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..e13caba2a --- /dev/null +++ b/build/lock.js @@ -0,0 +1,41641 @@ +/******/ (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.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__(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; + + 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) + })); + + 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 _dataFns2 = (0, _data_utils.dataFns)(["core", "ui"]), + getUI = _dataFns2.get, + setUI = _dataFns2.set; + + var _dataFns3 = (0, _data_utils.dataFns)(["core", "transient", "ui"]), + tgetUI = _dataFns3.get, + tsetUI = _dataFns3.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 _dataFns4 = (0, _data_utils.dataFns)(["core", "auth"]), + getAuthAttribute = _dataFns4.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 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"; + + 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; + } else { + domain = domainUrl; + } + + return (0, _urlJoin2.default)(domain, 'tenants', 'v1', tenant_name + '.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 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, _index.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, _index.hasFreeSubscription)(m) || false; + } + + function overrideOptions(m, opts) { + if (!opts) opts = {}; + + if (opts.allowedConnections) { + m = tset(m, "allowedConnections", _immutable2.default.fromJS(opts.allowedConnections)); + } + + 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. + */ + + 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(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 */ +[330, 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__(31); + 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.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<>>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){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=0&&possibleIndex=0&&indexmaxIndex?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;ii0){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){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=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<=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>>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>>=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>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;ii0&&size=0&&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>>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<=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&&idx0){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<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<=1<oldTailOffset?new VNode([],owner):oldTail;// Merge Tail into tree. + if(oldTail&&newTailOffset>oldTailOffset&&newOriginSHIFT;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=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>>newLevel&MASK;if(beginIndex!==newTailOffset>>>newLevel&MASK){break;}if(beginIndex){offsetShift+=(1<oldOrigin){newRoot=newRoot.removeBefore(owner,newLevel,newOrigin-offsetShift);}if(newRoot&&newTailOffsetmaxSize){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>>SHIFT<=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&&indexsliceSize){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||currentDepth0;}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=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||indexb?-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.7.2' + '/' + 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__(26); + var ReactFeatureFlags = __webpack_require__(104); + var ReactReconciler = __webpack_require__(33); + 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__(26); + + 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__(36); + + 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__(34); + 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 */ +[330, 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__(29); + + 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) { + m = (0, _username.setUsername)(m, (0, _email.emailLocalPart)(email), "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); + } + + 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, l.reset); + m = (0, _index.read)(_index.getEntity, "lock", id); + callback(m); + }, 1000); + } else { + (0, _index.swap)(_index.updateEntity, "lock", id, l.reset); + 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__(37))) + +/***/ }, +/* 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 */ +[329, 4, 3], +/* 27 */ +3, +/* 28 */ +/***/ 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; + } + +/***/ }, +/* 29 */ +/***/ 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; + } + +/***/ }, +/* 30 */ +/***/ 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; + +/***/ }, +/* 31 */ +/***/ 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; + +/***/ }, +/* 32 */ +/***/ 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; + +/***/ }, +/* 33 */ +/***/ 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; + +/***/ }, +/* 34 */ +/***/ 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__(36); + + 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; + +/***/ }, +/* 35 */ +4, +/* 36 */ +7, +/* 37 */ +/***/ 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; + }; + +/***/ }, +/* 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; + + 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 + }; + +/***/ }, +/* 40 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + module.exports = __webpack_require__(100); + +/***/ }, +/* 41 */ +/***/ 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; + +/***/ }, +/* 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 EventPluginHub = __webpack_require__(41); + 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; + +/***/ }, +/* 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 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; + +/***/ }, +/* 44 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.STRATEGIES = undefined; + exports.initSocial = initSocial; + exports.displayName = displayName; + 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, + 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 = get(m, "socialButtonStyle"); + return style ? style === "big" : l.connections(m, "social").count() <= notFoundLimit; + } + +/***/ }, +/* 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__(43); + 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 + }); + + 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.statusCode || error.error, + description: error.details ? error.details.error_description : error.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 (connection.get("strategy") === "google-oauth2" && 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 || null; + this._audience = options.audience || null; + } + + /** + * 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: 'openid', + 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) { + + console.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 !== 'https://' + this._domain + '/') { + return invalidJwt('The domain configured (https://' + this._domain + '/) does not match with the domain set in the token (' + prof.iss + ').'); + } + + var nonce = options.nonce || window.localStorage.getItem('com.auth0.auth.nonce'); + window.localStorage.removeItem('com.auth0.auth.nonce'); + + 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 || ''), + tenant: this._domain.split('.')[0] + }; + + 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 = { + tenant: this._domain.split('.')[0], + 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')) { + var nonce = nonceGenerator.randomString(16); + if (nonce) { + options.nonce = nonce; + window.localStorage.setItem('com.auth0.auth.nonce', nonce); + } + } + } + + 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: 'openid' }, 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._domain.split('.')[0] + }); + + 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 + * + * @example + * + * auth0.getConnections(function (err, conns) { + * if (err) return console.log(err.message); + * expect(conns.length).to.be.above(0); + * expect(conns[0].name).to.eql('Apprenda.com'); + * expect(conns[0].strategy).to.eql('adfs'); + * expect(conns[0].status).to.eql(false); + * expect(conns[0].domain).to.eql('Apprenda.com'); + * expect(conns[0].domain_aliases).to.eql(['Apprenda.com', 'foo.com', 'bar.com']); + * }); + * + * @method getConnections + * @param {Function} callback + */ + // XXX We may change the way this method works in the future to use client's s3 file. + + Auth0.prototype.getConnections = function (callback) { + 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__(30); + 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__(32); + 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__(35); + + var ReactNoopUpdateQueue = __webpack_require__(77); + + var canDefineProperty = __webpack_require__(127); + var emptyObject = __webpack_require__(78); + var invariant = __webpack_require__(27); + 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__(35); + + var ReactCurrentOwner = __webpack_require__(21); + + var invariant = __webpack_require__(27); + 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__(37))) + +/***/ }, +/* 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 _actions = __webpack_require__(24); + + var _index3 = __webpack_require__(11); + + 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, _index3.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, _index3.databaseLogInWithEmail)(m) ? "username" : "email"; + + var username = (0, _index2.getFieldValue)(m, usernameField); + var connection = (0, _enterprise.enterpriseActiveFlowConnection)(m); + + (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, _index3.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__(44); + + var _email = __webpack_require__(29); + + 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__(29); + + 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__(29); + + 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__(39); + + 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__(26); + + 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__(31); + 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__(33); + 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__(30); + var DOMProperty = __webpack_require__(31); + 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__(32); + var ReactInstrumentation = __webpack_require__(14); + var ReactMarkupChecksum = __webpack_require__(217); + var ReactReconciler = __webpack_require__(33); + 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__(32); + + 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__(35); + + var ReactElement = __webpack_require__(34); + + var invariant = __webpack_require__(27); + + /** + * 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__(35); + + var ReactCurrentOwner = __webpack_require__(21); + var REACT_ELEMENT_TYPE = __webpack_require__(125); + + var getIteratorFn = __webpack_require__(128); + var invariant = __webpack_require__(27); + 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__(44); + + 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__(44); + + 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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj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BMNTguMTg4LDUxLjM3NSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00OS45MzgsNy43NSBDNTguMDAxLDcuNzUgNjQuMDYzLDE0IDY0LjA2MywyMS43NSBDNj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BMMjEuODc1LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iYmFpZHUiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC4xMjUsMjQgQzAuMDYyLDI0LjQzOCAwLDI0Ljg3NSA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DIxOC4wOTg1OTIsMjM5LjY2NDQ4MiAyMjMuMTE3NzQ3LDIxMy4zMTM5MzIgTDIyMy4xMTc3NDcsMjEyLjA1OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMS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); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY2cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDY2IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZHJvcGJveDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJkcm9wYm94IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAuMjUsMzMuODEzIEwyMC4xMjUsNDUuNjI2IEwzMy4xMjUsMzUuNjI2IEw0Ni4xMjUsNDUuNjI2IEw2NS43NSwzMy44MTMgTDUzLjEyNSwyMi45MzggTDY1Ljc1LDEyLjM3NSBMNDYuNDM3LDAgTDMzLjEyNCwxMS4xMjUgTDIwLjEyNCwwIEwwLjI0OSwxMyBMMTMuOTM3LDIzLjM3NSBMMC4yNSwzMy44MTMgWiBNMTMuODc1LDQ5Ljg3NSBMMzIuOTM4LDYyLjYyNSBMMzIuOTM4LDM5Ljg3NSBMMzIuODc1LDM5LjgxMiBMMTkuODc1LDQ5Ljc1IEwxMy44NzUsNDYuMTg3IEwxMy44NzUsNDkuODc1IEwxMy44NzUsNDkuODc1IFogTTE0LjE4OCwyMy4yNSBMMzMuMTI2LDExLjY4NyBMNTEuOTM5LDIyLjU2MiBMMzMuMDAxLDM1LjA2MiBMMTQuMTg4LDIzLjI1IFogTTMyLjkzOCw2Mi42MjUgTDUyLjQzOCw0OS45MzcgTDUyLjQzOCw0NS44NzQgTDQ2LjA2Myw0OS43NDkgTDMzLjEyNSwzOS44MTEgTDMzLDM5Ljg3NCBMMzIuOTM4LDYyLjYyNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=dwolla] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDQwIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0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kzMSBDNi43NDksMTAuNjgxIDUuODExLDExLjM2OSA1LjMxMSwxMS45OTQgQzMuODExLDEzLjQ5NCAyLjg3MywxNS40MzIgMi42MjMsMTcuODA3IEMxLjkzNSwyMi42ODIgMy45MzYsMjcuOTk1IDguNjIzLDMzLjYyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8d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4wNjMgNjQuMTI2LDQuOTM4IDY1LjA2Myw2LjI1MSBDNjUuOTM4LDcuNjI2IDY2LjQzOCw5LjQzOSA2Ni40MzgsMTEuODE0IEw2Ni40MzgsMTcuNjI3IEw2OS4xODgsMjMuMzE1IEw2OS4xODgsMzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Cjxzdmcgd2lkdGg9IjQzcHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQzIDMyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4O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MC4yMjMsMjAuMjIgTDAuMjIzLDIwLjIyIEwwLjIyMywyMC4yMiBMMC4yMjMsMjAuMjE5IFoiIGlkPSJTaGFwZSI+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+Cjxzdmcgd2lkdGg9IjYwcHgiIGhlaWdodD0iNTlweCIgdmlld0JveD0iMCAwIDYwIDU5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRw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SwxMi42ODggMjUuNjI1LDE0LjUgMjUuNTYyLDE2Ljg3NSBDMjUuNTYyLDE5LjI1IDI3LjUsMjEuMTg4IDI5LjkzNywyMS4xODggQzMyLjUsMjEuMTg4IDM0LjQzNywxOS4zMTMgMzQuNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVt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zOS44MTMsMTkuMTIzIEMzNy4xODgsMTguNDM1IDM0LjU2MywxOC4wNiAzMi4wNjMsMTguMDYgQzI5LjU2MywxOC4wNiAyNywxOC40MzUgMjQuMzc1LDE5LjEyMyBDMjIuMzEyLDE3Ljc0OCAyMC41LDE2LjgxIDE4LjgxMiwxNi4zMSBDMTguMTg3LDE2LjA2IDE3LjYyNCwxNS45OTcgMTcuMTg3LDE1Ljk5NyBMMTUuOTM3LDE1Ljk5NyBDMTQuNzQ5LDE4LjkzNSAxNC42MjQsMjEuNjIyIDE1LjYyNCwyNC4xODUgQzEzLjQ5OSwyNi40MzUgMTIuNDM2LDI5LjE4NSAxMi40MzYsMzIuMzczIEMxMi40MzYsMzguNDk4IDE0LjM3NCw0Mi43NDggMTguMjQ5LDQ1LjEyMyBDMTkuNzQ5LDQ2LjA2MSAyMS42MjQsNDYuNzQ4IDIzLjgxMiw0Ny4xMjMgQzI0LjkzNyw0Ny4zNzMgMjUuOTM3LDQ3LjU2MSAyNi44MTIsNDcuNjIzIEMyNS4xMjQsNDguNzQ4IDI0LjI0OSw1MC42MjMgMjQuMjQ5LDUzLjE4NiBMMjQuMjQ5LDU4LjMxMSBDMTguNTYxLDU2LjMxMSAxMy45MzYsNTIuOTk4IDEwLjM3NCw0OC4zNzMgQzYuODExLDQzLjYyMyA0Ljk5OSwzOC4yNDggNC45OTksMzIuMjQ4IEw1LDMyLjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=google] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU3cHgiIGhlaWdodD0iNThweCIgdmlld0JveD0iMCAwIDU3IDU4IiB2ZXJza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jkuMDMyLDExLjU4NCBDMTkuNTk4LDExLjU4NCAxMS45MDQsMTkuNDIyIDExLjkwNCwyOS4wMjYgQzExLjkwNCwzOC42MyAxOS42LDQ2LjQ2OCAyOS4wMzIsNDYuNDY4IEMzOS45NDgsNDYuNDY4IDQzLjk2NiwzOC45MTYgNDQuNzA2LDM0LjQ0IEwyOS4wMDIsMzQuNDQgTDI5LjAwMiwzNC40MTIgTDI5LjAwNCwzNC40MTQgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcn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IDMyLjgxMywyMy44MTIgQzM3LjkzOCwyMy44MTIgNDIuMTI2LDI4IDQyLjEyNiwzMy4xMjUgQzQyLjEyNiwzOC4yNSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTV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LjUwMSwyNy43NTEgNjcuMDAxLDMyLjU2NCA2Ny4wMDEsMzguODc2IEw2Ny4wMDEsNjMuMzc2IEw1Mi43NTEsNjMuMzc2IEw1Mi43NTEsNDAuNTAxIEM1Mi43NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz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jgxMiwyNS4yNSA1OC44MTIsMzIuODEyIEw1OC44NzUsNDYuNSBMNjQuMTI1LDQ2LjUgTDY0LjEyNSwzMi42ODcgTDY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PC9kZWZzPgogICAgP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C4xMjYgNDQuMzc2LDQ1LjgxMyAzOC42MjYsNDUuODEzIEwyNi44NzYsNDUuODEzIEwyMi44NzYsNjQuNjg4IEw2LjM3Niw2NC42ODggTDYuMzc1LDY0LjY4OCBaIE0yMi44NzUsMjcuODc1IEwyNi4zNzUsMTIuMjUgTDM0LjM3NSwxMi4yNSBDMzUuNzUsMTIuMjUgMzYuOTM4LDEyLjYyNSAzNy45MzgsMTMuMzc1IEMzOC45MzgsMTQuMTI1IDM5LjYyNiwxNS4xMjUgMzkuOTM4LDE2LjM3NSBDMzkuMzEzLDE2LjI1IDM4LjkzOCwxNi4xODcgMzguODc1LDE2LjE4NyBMMzAuODc1LDE2LjE4NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHh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JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzYWxlc2ZvcmNlIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsMTUuODc1IEMwLDE2LjEyNSAwLjA2MywxNi41IDAuMTI1LDE3IEwxMC42MjUsNjEgQzEwLjg3NSw2Mi4wNjMgMTEuNDM4LDYyLjkzOCAxMi4zMTMsN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.auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU1cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDU1IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2hvcGlmeTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzaG9waWZ5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTIxLjEyNSwxLjY4OCBDMjQuMTI1LDAuMTg4IDI1LjgxMywwLjEyNSAyNy4zNzUsMS4zNzUgQzI4LDEuODc1IDI5LjE4OCwyLjQzOCAzMC4wNjMsMi41NjMgQzMxLjc1MSwyLjkzOCAzNC4yNTEsNS40MzggMzQuODEzLDcuMTg4IEMzNS4xMjYsOC4x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DczLjY5LDI4LjM3NSA3My42OSwyNS42MjUgQzczLjY5LDIyLjg3NSA3Mi43NTIsMjAuNSA3MS4wMDIsMTguNTYyIEM2OS4yNTIsMTYuNjI0IDY3LjEyNywxNS42MjQgNjQuNjI3LDE1LjYyNCBDNjMuNTAyLDE1LjYyNCA2Mi4zMTQsMTUuOTM3IDYxLjEyNywxNi40OTkgQzYwLjc1MiwxMS45MzYgNTkuMDY0LDguMTI0IDU2LjAwMiw1LjA2MSBDNTIuOTM5LDEuOTM2IDQ5LjMxNCwwLjQzNiA0NS4xODksMC40MzYgQzQ0LjgxNCwwLjQzNiA0NC4yNTEsMC40MzYgNDMuNjI2LDAuNTYxIEM0Mi45MzgsMC42MjQgNDIuMTg4LDAuNzQ5IDQxLjQzOCwwLjg3NCBDNDAuNjI1LDEuMDYyIDM5Ljg3NSwxLjMxMiAzOS4zMTMsMS42MjQgQzM4Ljc1LDEuOTk5IDM4LjUsMi4zNzQgMzguNSwyLjc0OSBDMzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYxIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy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ny41NjMgNDMuNSw0NS42MjUgQzQzLjMxMiw0NS41IDQ0LjY4OCw0Mi42ODcgNDYuNjI1LDM5LjMxMiBDNDksMzUuMTg3IDUxLjMxMywzMi42ODcgNTMuNTYzLDMxLjc0OSBMNTMuNTYzLDMxLjc1IFogTTYuOTM4LDQ0LjE4OCBMNi45MzgsNDQuMTg4IEMxMC4wMDEsNDMuMTI1IDEzLjg3Niw0My44NzUgMTguMDAxLDQ2LjUwMSBDMTkuODc2LDQ3LjU2NCAyMi4yNTEsNDguNTY0IDIzLjE4OSw0OC41NjQgQzI2LjM3Nyw0OC41NjQgMTguNzUxLDYxLjQzOSAxNC41NjQsNjMuMzE0IEM3LjUwMSw2Ni4yNTIgMC4wMDEsNjEuMjUxIDAuMDAxLDUzLjYyNiBDMC4wMDEsNTAuNTAxIDMuNjg5LDQ1LjM3NiA2LjkzOSw0NC4xODggTDYuOTM4LDQ0LjE4OCBaIE0zOS4zMTMsNTIgTDM5Ljg3Niw1MS42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iNTVweCIgdmlld0JveD0iMCAwIDY1IDU1IiB2ZXJzaW9uPSIxLjEiIHhtbG5z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gNDIuMTg2LDEzLjk5NyA0MS45MzYsMTMuODcyIEM0MS40OTgsMTMuNjg0IDQwLjk5OCwxMy42MjIgNDAuNTYxLDEzLjgwOSBDMzkuNTYxLDE0LjEyMiAzOC44MTEsMTUuMDU5IDM4LjEyMywxNS44MDkgQzM2LjQzNSwxNy41NTkgMzUuMDYsMTkuNTU5IDMzLjU2LDIxLjU1OSBDMzIuMTg1LDIzLjMwOSAzMC44MSwyNS4xMjIgMjkuMDYsMjYuNTU5IEMyOC40MzUsMjcuMDU5IDI3LjY4NSwyNy42ODQgMjYuODcyLDI3Ljc0NyBDMjYuMjQ3LDI3Ljc0NyAyNS42ODQsMjcuNjIyIDI1LjE4NCwyNy4zNzIgQzIzLjk5NiwyNi44NzIgMjMuMTIxLDI1Ljg3MiAyMi4zMDksMjQuOTk3IEMyMC44MDksMjMuMzcyIDE4LjkzNCwyMC42ODQgMTYuMzcxLDIxLjQ5NyBDMTQuNjIxLDIyLjEyMiAxMy4xODMsMjMuNjg1IDEyLjA1OCwyNS4xMjIgQzExLjM3LDI1Ljk5NyAxMC43NDUsMjYuOTM1IDEwLjE4MywyNy44NzIgQzkuNTU4LDI4LjgxIDguOTk1LDI5Ljc0NyA4LjM3LDMwLjY4NSBDNy4yNDUsMzIuNjIzIDYuMTIsMzQuNTYgNS4zNywzNi42ODUgQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=twitter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im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uMzc1IDE0LjUwMiw0Ny41IEMxNy4zMTUsNDkuNTYzIDIwLjQ0LDUwLjYyNSAyMy45NCw1MC42ODggQzE4LjA2NSw1NS4zMTMgMTEuMzc3LDU3LjYyNiAzLjgxNSw1Ny42MjYgQzIuNTY1LDU3LjYyNiAxLjI1Miw1Ny41NjMgMC4wMDIsNTcuNDM4IEwwLDU3LjQzOCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYW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uNjIsMi44MDUgQzMuMTIsMi44MDUgMi42MiwyLjg2OCAxLjk5NSwzLjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9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AgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2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SwzOC4xMjUgNjAuMTg3LDQzLjA2MiA1Ny41NjIsNDcuNjI1IEM1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ieWFob28iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGR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ODEzIEw4NC4zMTMsNDIuNzUgTDc3LjI1LDQyLjUgTDc3LDQ5LjU2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsMy41IEMwLjM3NSw0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iBNMzUuOTM4LDM1LjA2MyBDMzUuNjI1LDM1LjE4OCAzNS42MjUsMzUuNjI2IDM1LjgxMywzNS44MTMgQzM2LjEyNiwzNi40MzggMzYuNjI2LDM2Ljg3NiAzNy4xMjYsMzcuMzc2IEMzOS4wMDEsMzkuMTg5IDQxLjA2NCw0MC43NTEgNDMuMTI2LDQyLjMxNCBDNDUuMzc2LDQzLjkzOSA0Ny42ODksNDUuNTY0IDUwLjA2NCw0Ny4wNjQgQzUwLjc1Miw0Ny41NjQgNTEuNjg5LDQ3LjU2NCA1Mi41MDIsNDcuMjUyIEM1My42MjcsNDYuODc3IDU0LjUwMiw0NS43NTIgNTQuNTY1LDQ0LjUwMiBDNTQuNjI4LDQzLjM3NyA1NC4wMDIsNDIuMTI3IDUyLjk0LDQxLjYyNyBDNDkuMzE1LDM5Ljc1MiA0NS42MjcsMzcuOTM5IDQxLjgxNSwzNi40MzkgQzQwLjM3NywzNS44NzYgMzguODc3LDM1LjMxNCAzNy4zMTUsMzUuMDY0IEMzNi44MTUsMzUuMDAxIDM2LjM3NywzNC45MzkgMzUuOTQsMzUuMDY0IEwzNS45MzgsMzUuMDYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yandex] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI4cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDI4IDYwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRj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MjUxIEMzLjA2MSw3LjMxMyAxMC4yNDksMC42MjYgMTguODExLDAuNjI2IEwyNy40OTksMC42MjYgTDI3LjUsMC42MjUgWiBNMjIuNDM4LDMyLjU2MyBMMjIuNDM4LDUuNjg4IEwxOC41NjMsNS42ODggQzEzLjkzOCw1LjY4OCA5LjM3NSw5LjYyNiA5LjM3NSwxOS40MzggQzkuMzc1LDI4LjgxMyAxNC4yNSwzMi41NjMgMTkuMjUsMzIuNTYzIEwyMi40MzgsMzIuNTYzIEwyMi40MzgsMzIuNTYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUi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1LjUwMiA2NS41MDMsMjUuNzUyIEM2NS43NTMsMjUuODE1IDY2LjA2NiwyNS44NzcgNjYuMzc4LDI1Ljg3NyBDNjYuNzUzLDI1Ljg3NyA2Ny4xMjgsMjUuNzUyIDY3LjUwMywyNS41NjQgQzY4LjEyOCwyNS4yNTEgNjguNTY2LDI0Ljc1MSA2OC43NTMsMjQuMDY0IEM2OS4xMjgsMjMuMDY0IDY5LjMxNiwyMi4wMDEgNjkuMzE2LDIxLjAwMSBDNjkuMzE2LDIwLjMxMyA2OS4yNTMsMTkuNjI2IDY5LjEyOCwxOC44NzYgQzY4LjY5LDE3LjA2MyA2Ny44NzgsMTUuNTAxIDY2LjY5LDE0LjA2MyBDNjQuNjI3LDExLjgxMyA2Mi4xOSwxMC42ODggNTkuMzE1LDEwLjY4OCBDNTguNTY1LDEwLjY4OCA1Ny43NTIsMTAuNzUxIDU2Ljk0LDEwLjkzOCBDNTYuMTksMTEuMTI2IDU1LjYyNywxMS41MDEgNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzM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NzUsNjA4My43ODA1OCBDMTE4MS40Mzc1LDYwODQuOTAwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+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.7.2'; + 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__(39); + + 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__(160)('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, __webpack_require__) { + + /* 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__(161); + 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() { + // 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' && 'WebkitAppearance' in document.documentElement.style || + // is firebug? http://stackoverflow.com/a/398120/376773 + window.console && (console.firebug || console.exception && console.table) || + // is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31; + } + + /** + * 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() { + var args = arguments; + var useColors = this.useColors; + + args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff); + + if (!useColors) return args; + + var c = 'color: ' + this.color; + args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1)); + + // 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-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); + return args; + } + + /** + * 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() { + var r; + 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__(37))) + +/***/ }, +/* 161 */ +/***/ function(module, exports, __webpack_require__) { + + '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 = debug.debug = debug; + exports.coerce = coerce; + exports.disable = disable; + exports.enable = enable; + exports.enabled = enabled; + exports.humanize = __webpack_require__(162); + + /** + * 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, lowercased letter, i.e. "n". + */ + + exports.formatters = {}; + + /** + * Previously assigned color. + */ + + var prevColor = 0; + + /** + * Previous log timestamp. + */ + + var prevTime; + + /** + * Select a color. + * + * @return {Number} + * @api private + */ + + function selectColor() { + return exports.colors[prevColor++ % exports.colors.length]; + } + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + + function debug(namespace) { + + // define the `disabled` version + function disabled() {} + disabled.enabled = false; + + // define the `enabled` version + function enabled() { + + var self = enabled; + + // set `diff` timestamp + var curr = +new Date(); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + // add the `color` if not set + if (null == self.useColors) self.useColors = exports.useColors(); + if (null == self.color && self.useColors) self.color = selectColor(); + + 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 = ['%o'].concat(args); + } + + // apply any `formatters` transformations + var index = 0; + args[0] = args[0].replace(/%([a-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 + args = exports.formatArgs.apply(self, args); + + var logFn = enabled.log || exports.log || console.log.bind(console); + logFn.apply(self, args); + } + enabled.enabled = true; + + var fn = exports.enabled(namespace) ? enabled : disabled; + + fn.namespace = namespace; + + return fn; + } + + /** + * 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, '\\$&').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; + } + +/***/ }, +/* 162 */ +/***/ 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'; + } + +/***/ }, +/* 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.5.0" }; + +/***/ }, +/* 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__(178)('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 */ +/***/ 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; }; + + /** + * This is the web browser implementation of `debug()`. + * + * Expose `debug()` as the module. + */ + + exports = module.exports = __webpack_require__(179); + exports.log = log; + exports.formatArgs = formatArgs; + exports.save = save; + exports.load = load; + exports.useColors = useColors; + + /** + * Use chrome.storage.local if we are in an app + */ + + var storage; + + if (typeof chrome !== 'undefined' && typeof chrome.storage !== 'undefined') storage = chrome.storage.local;else storage = 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() { + // is webkit? http://stackoverflow.com/a/16459606/376773 + return 'WebkitAppearance' in document.documentElement.style || + // is firebug? http://stackoverflow.com/a/398120/376773 + window.console && (console.firebug || console.exception && console.table) || + // is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31; + } + + /** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + + exports.formatters.j = function (v) { + return JSON.stringify(v); + }; + + /** + * Colorize log arguments if enabled. + * + * @api public + */ + + function formatArgs() { + var args = arguments; + var useColors = this.useColors; + + args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff); + + if (!useColors) return args; + + var c = 'color: ' + this.color; + args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1)); + + // 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-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); + return args; + } + + /** + * 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) { + storage.removeItem('debug'); + } else { + storage.debug = namespaces; + } + } catch (e) {} + } + + /** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + + function load() { + var r; + try { + r = storage.debug; + } catch (e) {} + return r; + } + + /** + * 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) {} + } + +/***/ }, +/* 179 */ +/***/ function(module, exports, __webpack_require__) { + + '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 = debug; + exports.coerce = coerce; + exports.disable = disable; + exports.enable = enable; + exports.enabled = enabled; + exports.humanize = __webpack_require__(180); + + /** + * 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, lowercased letter, i.e. "n". + */ + + exports.formatters = {}; + + /** + * Previously assigned color. + */ + + var prevColor = 0; + + /** + * Previous log timestamp. + */ + + var prevTime; + + /** + * Select a color. + * + * @return {Number} + * @api private + */ + + function selectColor() { + return exports.colors[prevColor++ % exports.colors.length]; + } + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + + function debug(namespace) { + + // define the `disabled` version + function disabled() {} + disabled.enabled = false; + + // define the `enabled` version + function enabled() { + + var self = enabled; + + // set `diff` timestamp + var curr = +new Date(); + var ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + // add the `color` if not set + if (null == self.useColors) self.useColors = exports.useColors(); + if (null == self.color && self.useColors) self.color = selectColor(); + + var args = Array.prototype.slice.call(arguments); + + args[0] = exports.coerce(args[0]); + + if ('string' !== typeof args[0]) { + // anything else let's inspect with %o + args = ['%o'].concat(args); + } + + // apply any `formatters` transformations + var index = 0; + args[0] = args[0].replace(/%([a-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; + }); + + if ('function' === typeof exports.formatArgs) { + args = exports.formatArgs.apply(self, args); + } + var logFn = enabled.log || exports.log || console.log.bind(console); + logFn.apply(self, args); + } + enabled.enabled = true; + + var fn = exports.enabled(namespace) ? enabled : disabled; + + fn.namespace = namespace; + + return fn; + } + + /** + * 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; + } + +/***/ }, +/* 180 */ +/***/ function(module, exports) { + + 'use strict'; + + /** + * 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 + * @return {String|Number} + * @api public + */ + + module.exports = function (val, options) { + options = options || {}; + if ('string' == typeof val) return parse(val); + return options.long ? long(val) : short(val); + }; + + /** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + + function parse(str) { + 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; + } + } + + /** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + + function short(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 long(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'; + } + +/***/ }, +/* 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__(42); + 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__(41); + var EventPropagators = __webpack_require__(42); + 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__(30); + 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__(42); + 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__(26); + + 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__(31); + + 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__(33); + + 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__(37))) + +/***/ }, +/* 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__(32); + var ReactInstrumentation = __webpack_require__(14); + var ReactNodeTypes = __webpack_require__(108); + var ReactReconciler = __webpack_require__(33); + + 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__(30); + var DOMNamespaces = __webpack_require__(59); + var DOMProperty = __webpack_require__(31); + var DOMPropertyOperations = __webpack_require__(99); + var EventPluginHub = __webpack_require__(41); + 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__(30); + 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__(30); + 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__(41); + + 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__(26); + 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__(31); + var EventPluginHub = __webpack_require__(41); + 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__(32); + var ReactInstrumentation = __webpack_require__(14); + + var ReactCurrentOwner = __webpack_require__(21); + var ReactReconciler = __webpack_require__(33); + 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__(26); + 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__(26); + 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__(42); + 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__(42); + 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__(43); + 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__(43); + + /** + * @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__(43); + + 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__(43); + + 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__(32); + + 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__(37))) + +/***/ }, +/* 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 */ +[329, 35, 27], +/* 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__(36); + + 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__(34); + + 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__(35), + _assign = __webpack_require__(36); + + var ReactComponent = __webpack_require__(75); + var ReactElement = __webpack_require__(34); + var ReactPropTypeLocationNames = __webpack_require__(126); + var ReactNoopUpdateQueue = __webpack_require__(77); + + var emptyObject = __webpack_require__(78); + var invariant = __webpack_require__(27); + 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__(34); + + /** + * 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__(34); + 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__(36); + + 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__(36); + + 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__(37))) + +/***/ }, +/* 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__(27); + + /** + * 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__(29); + + 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__(28); + + 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__(28); + + 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__(28); + + var _index = __webpack_require__(2); + + var l = _interopRequireWildcard(_index); + + var _enterprise = __webpack_require__(23); + + var _index2 = __webpack_require__(44); + + 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.id = idu.incremental(); + _this.engine = engine; + var hookRunner = _this.runHook.bind(_this); + var emitEventFn = _this.emit.bind(_this); + + (0, _sync.go)(_this.id); + + (0, _actions.setupLock)(_this.id, clientID, domain, options, hookRunner, emitEventFn); + + 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__(28); + + var _index3 = __webpack_require__(44); + + 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__(28); + + 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__(29); + + 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__(28); + + 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__(28); + + 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__(29); + + 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." + }, + 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__(40); + + 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__(40); + + 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__(40); + + 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__(40); + + 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__(39); + + 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__(39); + + 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__(39); + + 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__(39); + + 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__(40); + + 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_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; + +/***/ }, +/* 330 */ +/***/ 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..aa086453a --- /dev/null +++ b/build/lock.min.js @@ -0,0 +1,26 @@ +/*! + * lock.min.js v10.7.2 + * + * Author: Auth0 <support@auth0.com> (http://auth0.com) + * Date: 12/1/2016, 3:39:03 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=It(t,at.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:at.default.fromJS(o.allowedConnections||[]),ui:L(t,o)}));return a=pt.initI18n(a)}function a(t){return t.get("id")}function u(t){return Dt(t,"clientID")}function s(t){return Dt(t,"domain")}function c(t){return Dt(t,"clientBaseUrl")}function l(t){return Dt(t,"tenantBaseUrl")}function p(t){return Dt(t,"useTenantInfo")}function d(t){return Dt(t,"languageBaseUrl")}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t=wt(t,"submitting",e),t=I(t),t=n&&!e?g(t,n):h(t)}function f(t){return Lt(t,"submitting",!1)}function g(t,e){return wt(t,"globalError",e)}function y(t){return Lt(t,"globalError","")}function h(t){return vt(t,"globalError")}function N(t,e){return wt(t,"globalSuccess",e)}function D(t){return Lt(t,"globalSuccess","")}function I(t){return vt(t,"globalSuccess")}function j(t){return Lt(t,"render",!1)}function m(t){return vt(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||gt;return new at.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,ut.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,Mt.default)(e.language||"").toLowerCase(),dict:"object"===nt(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":nt(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":nt(n))?n:{},o="object"===("undefined"==typeof o?"undefined":nt(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,Mt.default)(o.scope||"")&&S(t,"Usage of scope 'openid profile' is not recommended. See https://auth0.com/docs/scopes for more details."),at.default.fromJS({connectionScopes:n,params:o,redirect:r,redirectUrl:i,responseMode:a,responseType:u,sso:s})}function v(t,e){return at.default.fromJS(e).merge(Dt(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,ct.parseUrl)(n).hostname,r=".auth0.com",i="https://cdn.auth0.com";if((0,st.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 t.configurationBaseUrl;if(t.assetsUrl&&"string"==typeof t.assetsUrl)return t.assetsUrl;var e,n="https://"+e,o=(0,ct.parseUrl)(n).hostname,r=".auth0.com",i="https://cdn.auth0.com",a=o.split("."),u=a[0];return e=(0,st.endsWith)(o,r)?a.length>3?"https://cdn."+a[a.length-3]+r:i:n,(0,rt.default)(e,"tenants","v1",u+".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 wt(t,"render",!0)}function E(t,e){return wt(t,"loggedIn",e)}function k(t){return Lt(t,"loggedIn",!1)}function S(t,e){var n=it.Map.isMap(t)?!kt.disableWarnings(t):!t.disableWarnings;n&&console&&console.warn&&console.warn(e)}function x(t,e){var n=it.Map.isMap(t)?!kt.disableWarnings(t):!t.disableWarnings;n&&console&&console.error&&console.error(e)}function O(t){return Lt(t,"allowedConnections")||Dt(t,"allowedConnections")}function A(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 Lt(t,"connections",(0,it.Map)()).filter(function(t,e){return"unknown"!==e}).valueSeq().flatten(!0);var i=Lt(t,["connections",r],(0,it.List)());return n.length>0?i.filter(function(t){return~n.indexOf(t.get("strategy"))}):i}function _(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 A.apply(void 0,[t,e].concat(o)).get(0)}function U(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=A(t);return 1===n.count()&&(!e||n.getIn([0,"type"])===e)}function Y(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=A(t).count(),o=arguments.length,r=Array(o>2?o-2:0),i=2;i<o;i++)r[i-2]=arguments[i];var a=A.apply(void 0,[t,e].concat(r)).count();return n>0&&n===a}function Q(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 P.apply(void 0,[t,e].concat(o))>0}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 A.apply(void 0,[t,e].concat(o)).count()}function B(t,e){return A(t).find(function(t){return t.get("name")===e})}function R(t,e){return!!B(t,e)}function G(t){var e=O(t),n=0===e.count()?function(t){return 0}:function(t){return e.indexOf(t.get("name"))};return wt(t,"connections",(0,ht.clientConnections)(t).map(function(t){return t.filter(function(t){return n(t)>=0}).sort(function(t,e){return n(t)-n(e)})}))}function Z(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 Dt(t,"hookRunner").apply(void 0,[e,t].concat(o))}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];setTimeout(function(){var n=Dt(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 W(t,e,n){if(0===e.status)return pt.str(t,["error","login","lock.network"]);if("rule_error"===e.code)return e.description||pt.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"),pt.str(t,["error","login",r])||pt.str(t,["error","login","lock.fallback"])}function F(t,e){return e&&setTimeout(function(){return H(t,"unrecoverable_error",e)},17),mt(t,"stopped",!0)}function V(t){return Dt(t,"stopped")}function J(t){return Dt(t,"hashCleanup")}function X(t,e){H(t,"hash_parsed",e)}function q(t,e){H(t,"authenticated",e)}function K(t,e){H(t,"authorization_error",e)}function $(t,e){H(t,"unrecoverable_error",e)}function tt(t){return(0,ht.hasFreeSubscription)(t)||!1}function et(t,e){if(e||(e={}),e.allowedConnections&&(t=wt(t,"allowedConnections",at.default.fromJS(e.allowedConnections))),e.flashMessage){var n="success"===e.flashMessage.type?"globalSuccess":"globalError";t=wt(t,n,e.flashMessage.text)}return e.auth&&e.auth.params&&(t=wt(t,"authParams",at.default.fromJS(e.auth.params))),e.theme&&(e.theme.primaryColor&&(t=wt(t,["ui","primaryColor"],e.theme.primaryColor)),e.theme.logo&&(t=wt(t,["ui","logo"],e.theme.logo))),(e.language||e.languageDictionary)&&(e.language&&(t=wt(t,["ui","language"],e.language)),e.languageDictionary&&(t=wt(t,["ui","dict"],e.languageDictionary)),t=pt.initI18n(t)),"boolean"==typeof e.rememberLastLogin&&(t=wt(t,"rememberLastLogin",e.rememberLastLogin)),t}e.__esModule=!0,e.reset=e.auth=e.ui=void 0;var nt="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.warn=S,e.error=x,e.allowedConnections=O,e.connections=A,e.connection=_,e.hasOneConnection=U,e.hasOnlyConnections=Y,e.hasSomeConnections=Q,e.countConnections=P,e.findConnection=B,e.hasConnection=R,e.filterConnections=G,e.runHook=Z,e.emitEvent=H,e.loginErrorMessage=W,e.stop=F,e.hasStopped=V,e.hashCleanup=J,e.emitHashParsedEvent=X,e.emitAuthenticatedEvent=q,e.emitAuthorizationErrorEvent=K,e.emitUnrecoverableErrorEvent=$,e.showBadge=tt,e.overrideOptions=et;var ot=n(131),rt=r(ot),it=n(9),at=r(it),ut=n(145),st=n(91),ct=n(327),lt=n(13),pt=o(lt),dt=n(25),Mt=r(dt),ft=n(280),gt=o(ft),yt=n(17),ht=n(135),Nt=(0,yt.dataFns)(["core"]),Dt=Nt.get,It=Nt.init,jt=(Nt.remove,Nt.reset),mt=Nt.set,Lt=Nt.tget,wt=Nt.tset,vt=Nt.tremove,zt=(0,yt.dataFns)(["core","ui"]),bt=zt.get,Ct=(zt.set,(0,yt.dataFns)(["core","transient","ui"])),Tt=Ct.get,Et=(Ct.set,function(t,e){return Tt(t,e)||bt(t,e)}),kt=e.ui={containerID:function(t){return Et(t,"containerID")},appendContainer:function(t){return Et(t,"appendContainer")},autoclose:function(t){return Et(t,"autoclose")},autofocus:function(t){return Et(t,"autofocus")},avatar:function(t){return Et(t,"avatar")},avatarProvider:function(t){return Et(t,"avatarProvider")},closable:function(t){return Et(t,"closable")},dict:function(t){return Et(t,"dict")},disableWarnings:function(t){return Et(t,"disableWarnings")},labeledSubmitButton:function(t){return Et(t,"labeledSubmitButton")},language:function(t){return Et(t,"language")},logo:function(t){return Et(t,"logo")},mobile:function(t){return Et(t,"mobile")},popupOptions:function(t){return Et(t,"popupOptions")},primaryColor:function(t){return Et(t,"primaryColor")},authButtonsTheme:function(t){return Et(t,"authButtonsTheme")},rememberLastLogin:function(t){return Lt(t,"rememberLastLogin",Et(t,"rememberLastLogin"))}},St=(0,yt.dataFns)(["core","auth"]),xt=St.get;e.auth={connectionScopes:function(t){return xt(t,"connectionScopes")},params:function(t){return Lt(t,"authParams")||xt(t,"params")},redirect:function(t){return xt(t,"redirect")},redirectUrl:function(t){return xt(t,"redirectUrl")},responseType:function(t){return xt(t,"responseType")},sso:function(t){return xt(t,"sso")}};e.reset=jt},function(t,e,n){"use strict";function o(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(e.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}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},[330,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(31),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.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.7.2/"+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(26),f=n(104),g=n(33),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(26),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(36),r=n(264),i=n(75),a=n(269),u=n(265),s=n(266),c=n(34),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},[330,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){return e?(t=(0,E.setUsername)(t,(0,T.emailLocalPart)(e),"username",!1),t=_(t,"hrdEmail",e)):t=A(t,"hrdEmail"),_(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(29),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);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)}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,b.reset),o=(0,w.read)(w.getEntity,"lock",t),n(o)},1e3)):((0,w.swap)(w.updateEntity,"lock",t,b.reset),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(37))},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*$/,"")}},[329,4,3],3,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){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,}))$/)},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(36),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){"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){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){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(41),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){"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 D(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=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.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.initNS},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(43),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.statusCode||t.error,description:t.details?t.details.error_description:t.error_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}),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"),"google-oauth2"===e.get("strategy")&&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||null,void(this._audience=t.audience||null)):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:"openid",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(console.warn("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!=="https://"+this._domain+"/")return i("The domain configured (https://"+this._domain+"/) does not match with the domain set in the token ("+r.iss+").");var u=e.nonce||window.localStorage.getItem("com.auth0.auth.nonce");if(window.localStorage.removeItem("com.auth0.auth.nonce"),(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||""),tenant:this._domain.split(".")[0]};"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={tenant:this._domain.split(".")[0],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)){var n=N.randomString(16);n&&(t.nonce=n,window.localStorage.setItem("com.auth0.auth.nonce",n))}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:"openid"},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._domain.split(".")[0]});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 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(30),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(32)),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(35),a=n(77),u=(n(127),n(78));n(27),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(35),h=n(21),N=(n(27),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(37))},function(t,e,n){"use strict";function o(t,e){(0,s.swap)(s.updateEntity,"lock",t,c.toggleHRD,e)}function r(t){(0,s.swap)(s.updateEntity,"lock",t,function(t){return t=(0,c.toggleHRD)(t,!1),t=(0,l.hideInvalidFields)(t)})}function i(t){var e=(0,s.read)(s.getEntity,"lock",t),n=(0,l.getFieldValue)(e,(0,d.databaseLogInWithEmail)(e)?"email":"username"),o=(0,c.matchConnection)(e,n);return o&&!(0,c.isHRDActive)(e)?u(t,o):void a(t)}function a(t){var e=(0,s.read)(s.getEntity,"lock",t),n=(0,c.isHRDActive)(e)||!(0,d.databaseLogInWithEmail)(e)?"username":"email",o=(0,l.getFieldValue)(e,n),r=(0,c.enterpriseActiveFlowConnection)(e);(0,p.logIn)(t,["password",n],{connection:r?r.get("name"):null,username:o,password:(0,l.getFieldValue)(e,"password"),login_hint:o})}function u(t,e){var n=(0,s.read)(s.getEntity,"lock",t),o=(0,d.databaseLogInWithEmail)(n)?"email":"username";(0,p.logIn)(t,[o],{connection:e.get("name"),login_hint:(0,l.getFieldValue)(n,o)})}e.__esModule=!0,e.startHRD=o,e.cancelHRD=r,e.logIn=i;var s=n(12),c=n(23),l=n(8),p=n(24),d=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(44),v=n(29),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(29),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(29),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(39),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(26),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(31),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(33),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(30),g=n(31),y=n(20),h=n(47),N=(n(21),n(6)),D=n(201),I=n(203),j=n(104),m=n(32),L=(n(14),n(217)),w=n(33),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(32);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(35),i=n(34);n(27);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(35),s=(n(21),n(125)),c=n(128),l=(n(27),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(44),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(44),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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub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sNjEuNzUyIEM2Ni4zMTYsNjEuNzUyIDY2LjUwMyw2MS42MjcgNjYuNzUzLDYxLjUwMiBDNjguMTkxLDYwLjI1MiA2OS4zMTYsNTguNjI3IDcwLjEyOCw1Ni41NjQgQzcwLjk0MSw1NC41NjQgNzEuMzE2LDUyLjgxNCA3MS4zMTYsNTEuMzE0IEw3MS4zMTYsNTAuODc2IEM3MS4zMTYsNTAuMzc2IDcxLjI1Myw0OS45MzggNzEuMDY2LDQ5LjY4OCBDNzAuNjkxLDQ5LjI1IDY5LjU2Niw0OC45MzggNjcuNjI4LDQ4Ljc1IEM2Ny4yNTMsNDguNjg3IDY2LjgxNSw0OC42MjUgNjYuNDQsNDguNjg3IEM2NC44NzcsNDguNzUgNjMuMzE1LDQ4LjkzNyA2MS42OSw0OS4zNzUgQzYwLjY5LDQ5LjYyNSA1OS42OSw1MC4xMjUgNTguNjI3LDUwLjg3NSBDNTguNDM5LDUxIDU4LjMxNCw1MS4xODggNTguMTg5LDUxLjM3NSBMNTguMTg4LDUxLjM3NSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=aol] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDkxIDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4K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LjU2MywyNS45MzggODAuMzc1LDI4LjEyNiA4MC4zNzUsMzAuODEzIEM4MC4zNzUsMzMuNSA4Mi41NjMsMzUuNjg4IDg1LjI1LDM1LjY4OCBDODcuOTM3LDM1LjY4OCA5MC4xMjUsMzMuNSA5MC4xMjUsMzAuODEzIEw5MC4xMjUsMzAuODEzIFogTTc1LjkzOCwzNC44MTMgTDc1LjkzOCwwLjEyNSBMNjguMjUsMC4xMjUgTDY4LjI1LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBaIE0wLjY4OCwzNC44MTMgTDEwLjUwMSwzNC44MTMgTDEyLjEyNiwyOS44NzUgTDI0LjI1MSwyOS44NzUgTDI1Ljg3NiwzNC44MTMgTDM1LjYyNiwzNC44MTMgTDIxLjg3NiwwLjEyNSBMMTQuNjg4LDAuMTI1IEwwLjY4OCwzNC44MTMgWiBNMjEuODc1LDIyLjY4OCBMMTguMzEyLDExLjA2MyBMMTQuNjg3LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=baidu] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDU5IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZ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My42MjYgNTguMzE0LDMzLjE4OCBDNTguNDM5LDMyLjc1IDU4LjUwMiwzMi4yNSA1OC41NjQsMzEuNTYzIEM1OC42MjYsMzAuODc2IDU4LjYyNywzMC40MzggNTguNjI3LDMwLjEyNSBMNTguNjI3LDI3LjkzNyBDNTguNjI3LDI3LjM3NCA1OC41MDIsMjYuNjI0IDU4LjI1MiwyNS44MTIgQzU4LjAwMiwyNSA1Ny41NjQsMjQuMTg3IDU3LjA2NCwyMy4yNDkgQzU2LjUwMSwyMi4zMTEgNTUuNjg5LDIxLjU2MSA1NC42MjYsMjAuOTM2IEM1My41NjMsMjAuMzExIDUyLjI1MSwxOS45OTggNTAuODEzLDE5Ljk5OCBDNDYuMTg4LDE5Ljk5OCA0My44NzUsMjMuMTg2IDQzLjg3NSwyOS42MjMgTDQzLjg3NSwyOS42MjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=bitbucket] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI5NXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI5NSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy43LjIgKDI4Mjc2KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cDwvdGl0bGU+CiAgICA8ZGVzYz5DcmV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xNzM1MDY5LDIwOC4yOTQ3NzcgMzguNjYzOTM1MSwyMDcuMDM5OTkxIDM3LjQwOTE0OTMsMjA3LjAzOTk5MSBDMzQuODk5NTY2LDIwNy4wMzk5OTEgMzIuMzg5OTk0MywyMDguMjk0Nzc3IDMyLjM4OTk5NDMsMjEyLjA1OTE0NiBMMzIuMzg5OTk0MywyMTMuMzEzOTMyIEMzNy40MDkxNDkzLDIzOS42NjQ0ODIgNDEuMTczNTA2OSwyNTguNDg2MjkzIDQxLjE3MzUwNjksMjYwLjk5NTg2NCBDNDQuOTM3ODc2LDI3OS44MTc2ODcgODIuNTgxNTA5OCwyOTQuODc1MTQxIDEyNy43NTM4NzEsMjk0Ljg3NTE0MSBMMTI3Ljc1Mzg3MSwyOTQuODc1MTQxIEMxNzIuOTI2MjMyLDI5NC44NzUxNDEgMjEwLjU2OTg2NiwyNzkuODE3Njg3IDIxNC4zMzQyMzUsMjYwLjk5NTg2NCBDMjE0LjMzNDIzNSwyNTguNDg2MjkzIDIxOC4wOTg1OTIsMjM5LjY2NDQ4MiAyMjMuMTE3NzQ3LDIxMy4zMTM5MzIgTDIyMy4xMTc3NDcsMjEyLjA1OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsIiBjeD0iMTI4IiBjeT0iMTQxLjc5MTA4IiByPSIyMC4wNzY2MDUiPjwvY2lyY2xlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); background-size: 45%; } .auth0-lock-social-button[data-provider^=box] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iV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SwzNi4wNjMgNDUuMzEyLDM1LjE4OCBDNDQuMTg3LDM0LjM3NSA0My45OTksMzIuODc1IDQ0Ljc0OSwzMS44MTMgTDUxLjEyNCwyMy4yNSBMNDQuNzQ5LDE0Ljc1IEM0My45OTksMTMuNjg3IDQ0LjE4NiwxMi4xMjUgNDUuMzEyLDExLjMxMiBDNDYuMzc1LDEwLjQ5OSA0Ny44NzUsMTAuNzQ5IDQ4Ljc1LDExLjgxMiBMNTQuMjUsMTkuMTI1IEw1OS42ODgsMTEuODEyIEM2MC41NjMsMTAuNzQ5IDYyLjA2MywxMC40OTkgNjMuMTg4LDExLjMxMiBDNjQuMjUxLDEyLjEyNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY2cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDY2IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+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gICAgICA8L2c+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+ZHdvbGxhPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImR3b2xsYSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMDAwMDAwLCAwLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMSw1NSBDMSw1OC4zMTMgMiw2MC45MzggNC4wNjMsNjIuODc1IEM2LjEyNiw2NC43NSA4LjkzOCw2NS4yNSAxMi41N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Zz4KPC9zdmc+"); 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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xLDIzLjY4OCBDMSwyNS42MjYgMS4xODgsMjcuMTg4IDEuNjI1LDI4LjUwMSBDMiwyOS43NTEgMi44MTMsMzAuOTM5IDQsMzIuMDY0IEM1Lj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jaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Cjxzdmcgd2lkdGg9IjM2cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDM2IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5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NU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0zOC4zNzUsNDIgQzM4LjM3NSw0NC40MzggNDAuMzEzLDQ2LjMxMyA0Mi44MTMsNDYuMzEzIEM0NS4yNTEsNDYuMzEzIDQ3LjI1MS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1TU2hhcGVHcm91cCI+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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik04LjQzNzY5NDk5ZS0xNSwzMi4yNSBDOC40Mzc2OTQ5OWUtMTUsMzYuNTYzIDAuODc1LDQwLjc1IDIuNTYzLDQ0LjYyNSBDNS45MzgsNTIuNjI1IDExLjU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jU2MSAyNi44MTIsNDcuNjIzIEMyNS4xMjQsNDguNzQ4IDI0LjI0OSw1MC42MjMgMjQuMjQ5LDUzLjE4NiBMMjQuMjQ5LDU4LjMxMSBDMTguNTYxLDU2LjMxMSAxMy45MzYsNTIuOTk4IDEwLjM3NCw0OC4zNzMgQzYuODExLDQzLjYyMyA0Ljk5OSwzOC4yNDggNC45OTksMzIuMjQ4IEw1LDMyLjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldG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LjEyNSBaIE0yMC4yNSwzMy4xMjUgQzIwLjI1LDQwIDI1Ljg3NSw0NS42MjUgMzIuODEzLDQ1LjYyNSBDMzkuNjg4LDQ1LjYyNSA0NS4zMTMsNDAgNDUuMzEzLDMzLjEyNSBDNDUuMzEzLDI5LjM3NSA0My42ODgsMjYgNDEuMDYzLDIzLjY4NyBDNDAuMTI1LDIyLjg3NCAzOS4xMjUsMjIuMTg3IDM4LDIxLjY4NyBDMzYuMzc1LDIwLjkzNyAzNC42MjUsMjAuNTYyIDMyLjgxMiwyMC41NjIgQzMwLjkzNywyMC41NjIgMjkuMTg3LDIwLjkzNyAyNy42MjQsMjEuNjg3IEMyNi40OTksMjIuMTg3IDI1LjQzNiwyMi44NzUgMjQuNDk5LDIzLjY4NyBDMjEuODc0LDI2IDIwLjI0OSwyOS4zNzUgMjAuMjQ5LDMzLjEyNSBMMjAuMjUsMzMuMTI1IFogTTIzLjU2MywzMy4xMjUgQzIzLjU2MywyOCAyNy42ODgsMjMuODEyIDMyLjgxMywyMy44MTIgQzM3LjkzOCwyMy44MTIgNDIuMTI2LDI4IDQyLjEyNiwzMy4xMjUgQzQyLjEyNiwzOC4yNSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=linkedin] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY3cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY3IDY0IiB2ZXJzaW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NSwzNy41NjMgQzQ4LjMxNSwyOC4xODggNDguMjUyLDI3LjY4OCA0Ny43NTIsMjUuNjg4IEM0Ni44MTQsMjEuODc1IDQ0LjYyNywxOS40MzggNDEuMzE0LDE4LjUgQzQwLjI1MSwxOC4yNSAzNy41NjQsMTguMjUgMzYuNTAxLDE4LjUgQzM1LjQzOCwxOC44MTMgMzQuMjUxLDE5LjMxMyAzMy4zMTMsMTkuOTM4IEMzMi4zNzUsMjAuNjI2IDMwLjkzOCwyMi4xMjYgMzAuMzEzLDIzLjAwMSBMMjkuODc1LDIzLjY4OSBMMjkuNSwyMi44NzYgQzI4LjQzNywyMC42ODggMjYuNSwxOS4xMjYgMjQuMzEyLDE4LjU2MyBMMjQuMzEzLDE4LjU2MyBaIE02NC4xMjUsMzIuNjg4IEw2NC4xMjUsMTguODc1IEw2MS41LDE4LjgxMiBDNTkuNSwxOC44MTIgNTguOTM3LDE4LjgxMiA1OC44NzUsMTguOTM3IEM1OC44MTMsMTkuMDYyIDU4LjgxMiwyNS4yNSA1OC44MTIsMzIuODEyIEw1OC44NzUsNDYuNSBMNjQuMTI1LDQ2LjUgTDY0LjEyNSwzMi42ODcgTDY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjw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UwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6d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OC4yNDkgTDI0LjM3OCwyOS4zNzQgTDIwLjMxNSwzMS44MTIgQzE4LjA2NSwzMy4xODcgMTYuMDAyLDM0LjU2MiAxNS43NTIsMzQuODc1IEMxNS4zMTQsMzUuMzc1IDE1LjUwMiwzNiAxNi41NjUsMzcuNjI1IEMxOC4zMTUsNDAuNDM4IDE5LjYyOCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iMzVweCIgdmlld0JveD0iMCAwIDYxIDM1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cmVucmVuPC90aXRsZT4KICAgIDxkZXN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zY0LjE4OCwxNi44MTIgNTguODc2LDMuODc0IDQ3LjE4OCwxLjI0OSBMNDcuMTg4LDEuMjUgWiBNNDMuNjg4LDI0LjQzOCBDNDEuNjI1LDI3LjAwMSAzOS4yNSwyOS45MzggMzYuNzUsMzMuMDYzIEM0MS41LDM1LjE4OCA0Ni4xODgsMzUuMDYzIDUwLjc1LDMzLjA2MyBDNDguMjUsMzAuMDYzIDQ1Ljg3NSwyNy4xMjUgNDMuNjg3LDI0LjQzOCBMNDMuNjg4LDI0LjQzOCBaIE0yNC4xODgsMzMuMDYzIEMyMS42MjUsMjkuODc1IDE5LjMxMywyNy4wNjMgMTcuMjUsMjQuNSBDMTUuMDYyLDI3LjEyNSAxMi43NSwzMC4wNjMgMTAuMzEyLDMzLjA2MyBDMTUsMzUuMDYzIDE5LjY4NywzNS4xMjYgMjQuMTg3LDMzLjA2MyBMMjQuMTg4LDMzLjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=salesforce] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d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DYuMDYzLDEgQzQ0LjgxMywxLjI1IDQzLjMxMywxLjYyNSA0MS41LDIuMTg4IEMzOS42MjUsMi42ODggMzguNjg3LDIuOTM4IDM4LjU2MiwyLjkzOCBDNDIuNjg3LDMuNTYzIDQ2LjYyNSw0LjkzOCA1MC41LDYuOTM4IEw0Ni41NjIsMTcuODEzIEM0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+c2hv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xNCAyNS41NjIsNTEuMDAxIDI2LjI0OSw0NC42MjYgQzI2LjY4Nyw0MC43NTEgMjUuMTI0LDM3LjkzOCAyMC43NDksMzQuNzUxIEMxOC42MjQsMzMuMTg4IDE4LjEyNCwzMi41NjMgMTguMTI0LDMxLjM3NiBDMTguMTI0LDI5LjMxMyAxOS45MzcsMjguMzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICA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MzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0aGVjaXR5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTMuODEz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S42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOn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sMjMuNjg1IDEyLjA1OCwyNS4xMjIgQzExLjM3LDI1Ljk5NyAxMC43NDUsMjYuOTM1IDEwLjE4MywyNy44NzIgQzkuNTU4LDI4LjgxIDguOTk1LDI5Ljc0NyA4LjM3LDMwLjY4NSBDNy4yNDUsMzIuNjIzIDYuMTIsMzQuNTYgNS4zNywzNi42ODUgQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9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SAxOC41Niw4LjM2OSBDMTguNDM1LDguMTgxIDE4LjE4NSw3LjY4MSAxNy44NzIsNi45OTQgQzE3LjYyMiw2LjMwNiAxNy4zNzIsNS43NDQgMTcuMTg0LDUuMzY5IEMxNi45MzQsNC45OTQgMTYuNzQ2LDQuNTU2IDE2LjQzNCw0LjExOSBDMTYuMTIxLDMuNzQ0IDE1Ljg3MSwzLjQzMSAxNS41NTksMy4zMDYgQzE1LjA1OSwzLjA1NiAxNC4zNzEsMi44NjggMTMuNTU5LDIuODA2IEMxMy4xMjEsMi44MDYgMTIuNjIxLDIuODA2IDEyLjA1OSwyLjc0MyBDMTEuNDk2LDIuNzQzIDEwLjg3MSwyLjc0MyAxMC4xODQsMi44MDYgQzguODcxLDIuODY5IDguMDU5LDIuOTMxIDcuODA5LDIuOTMxIEM3LjM3MSwyLjkzMSA2LjY4NCwyLjkzMSA1Ljc0NiwyLjg2OCBDNS4xMjEsMi44MDUgNC42MjEsMi44MDUgNC4xODMsMi44MDUgTDMuNjIsMi44MDUgQzMuMTIsMi44MDUgMi42MiwyLjg2OCAxLjk5NSwzLjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=windowslive] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6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DAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5k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DE3LjA2NiwxNi4yNTEgQzEzLjg3OCwxNi41MDEgMTEuMjUzLDE2LjYyNiA5LjE5MSwxNi42MjYgTDcuMzE2LDE2LjYyNiBMNy4zMTMsMTYuNjI1IFogTTIzLjY4OCw2MS4xODggTDMyLjUwMSwzNS4zNzUgTDQxLjYyNiw2MC4yNSBMNDEuODE0LDYwLjYyNSBDMzguNjg5LDYxLjc1IDM1LjQzOSw2Mi4zMTMgMzIuMDAxLDYyLjMxMyBDMjkuMTI2LDYyLjMxMyAyNi4zMTMsNjEuOTM4IDIzLjY4OCw2MS4xODggTDIzLjY4OCw2MS4xODggWiBNNDYuODc1LDU4LjM3NSBMNTUuODc1LDMyLjI1IEM1Ny4zNzUsMjcuODc1IDU4LjEyNSwyNC4zNzUgNTguMTI1LDIxLjY4NyBDNTguMTI1LDIwLjU2MiA1OC4wNjIsMTkuNTYyIDU3LjkzNywxOC42ODcgQzYwLjMxMiwyMyA2MS41LDI3LjY4NyA2MS41LDMyLjgxMiBDNjEuNSwzOC4xMjUgNjAuMTg3LDQzLjA2MiA1Ny41NjIsNDcuNjI1IEM1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yahoo] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijg4cHgiIGhlaWdodD0iNTJweCIgdmlld0JveD0iMCAwIDg4IDUyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6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DcuNjkzIDIzLjI1LDQ3LjYzIDI4LjA2Miw0Ny42MyBMMjguMjUsNDcuNjMgQzI4LjM3NSw0Ny41NjcgMjguNSw0Ny41MDUgMjguNTYzLDQ3LjMxNyBDMjguNjg4LDQ3LjEyOSAyOC43NTEsNDYuODc5IDI4Ljc1MSw0Ni41NjcgTDI4Ljc1MSwzNC4yNTQgQzI4Ljc1MSwzMy42OTEgMjguNTAxLDMzLjE5MSAyOC4wNjMsMzIuNjI5IEw5LjY4OCwxMC42MjkgTDIuNTYzLDEwLjYyOSBMMS4zNzUsMTAuMDA0IEwxLjE4Nyw5Ljg3OSBMMC44NzQsOS41NjYgQzAuNjg2LDkuMzc4IDAuNTYxLDkuMTkxIDAuMzc0LDguODc4IEwwLDcuNjg4IFogTTc2LjE4OCwwLjY4OCBMNzguODEzLDM3LjI1MSBMODIuNjg4LDM3LjQzOSBMODguMDAxLDEuMTg5IEw3Ni4xODgsMC42ODggWiBNNzcsNDkuNTYzIEw4NC4wNjMsNDkuODEzIEw4NC4zMTMsNDIuNzUgTDc3LjI1LDQyLjUgTDc3LDQ5LjU2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=yammer] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYycHgiIGhlaWdodD0iNTNweCIgdmlld0JveD0iMCAwIDYyIDUzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib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zNy4zMTUsMzUuMDY0IEMzNi44MTUsMzUuMDAxIDM2LjM3NywzNC45MzkgMzUuOTQsMzUuMDY0IEwzNS45MzgsMzUuMDYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU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gNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSI2NHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTE1My4wMDAwMDAsIC02MDMzLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTYxLjEyNSw2MDk4IEMxMTU2LjYzNzk3LDYwOTggMTE1Myw2MDk0LjM2MTg2IDExNTMsNjA4OS44NzU2MyBMMTE1My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LjA2MjUsNjA2NS40OTk0OSBMMTE1Ny4wNjI1LDYwODkuODc1NjMgQzExNTcuMDYyNSw2MDkyLjExNjIxIDExNTguODgxNDgsNjA5My45MzUyOCAxMTYxLjEyNSw2MDkzLjkzNTI4IEwxMTk3LjY4NzUsNjA5My45MzUyOCBDMTE5OS45MzEwMiw2MDkzLjkzNTI4IDEyMDEuNzUsNjA5Mi4xMTYyMSAxMjAxLjc1LDYwODkuODc1NjMgTDEyMDEuNzUsNjA2NS40OTk0OSBMMTIwMS43NSw2MDY1LjQ5OTQ5IFogTTExNzcuMzc1LDYwODMuNzgwNTggTDExNzcuMzc1LDYwNzEuNTkyNTEgQzExNzcuMzc1LDYwNzAuNDcxMjEgMTE3OC4yODM5OCw2MDY5LjU2MTE3IDExNzkuNDA2MjUsNjA2OS41NjExNyBDMTE4MC41Mjg1Miw2MDY5LjU2MTE3IDExODEuNDM3NSw2MDcwLjQ3MTIxIDExODEuNDM3NSw2MDcxLjU5MjUxIEwxMTgxLjQzNzUsNjA4My43ODA1OCBDMTE4MS40Mzc1LDYwODQuOTAwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+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+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A8L2c+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.7.2",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(39),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(160)("jsonp");t.exports=r;var a=0},function(t,e,n){(function(o){"use strict";function r(){return"undefined"!=typeof document&&"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function i(){var t=arguments,n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),!n)return t;var o="color: "+this.color;t=[t[0],o,"color: inherit"].concat(Array.prototype.slice.call(t,1));var r=0,i=0;return t[0].replace(/%[a-z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),t.splice(i,0,o),t}function a(){return"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function u(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function s(){try{return e.storage.debug}catch(t){}if("undefined"!=typeof o&&"env"in o)return{NODE_ENV:"production"}.DEBUG}function c(){try{return window.localStorage}catch(t){}}var l="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(161),e.log=a,e.formatArgs=i,e.save=u,e.load=s,e.useColors=r,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:c(),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(s())}).call(e,n(37))},function(t,e,n){"use strict";function o(){return e.colors[l++%e.colors.length]}function r(t){function n(){}function r(){var t=r,n=+new Date,i=n-(c||n);t.diff=i,t.prev=c,t.curr=n,c=n,null==t.useColors&&(t.useColors=e.useColors()),null==t.color&&t.useColors&&(t.color=o());for(var a=new Array(arguments.length),u=0;u<a.length;u++)a[u]=arguments[u];a[0]=e.coerce(a[0]),"string"!=typeof a[0]&&(a=["%o"].concat(a));var s=0;a[0]=a[0].replace(/%([a-z%])/g,function(n,o){if("%%"===n)return n;s++;var r=e.formatters[o];if("function"==typeof r){var i=a[s];n=r.call(t,i),a.splice(s,1),s--}return n}),a=e.formatArgs.apply(t,a);var l=r.log||e.log||console.log.bind(console);l.apply(t,a)}n.enabled=!1,r.enabled=!0;var i=e.enabled(t)?r:n;return i.namespace=t,i}function i(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,"\\$&").replace(/\*/g,".*?"),"-"===t[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))}function a(){e.enable("")}function u(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 s(t){return t instanceof Error?t.stack||t.message:t}e=t.exports=r.debug=r,e.coerce=s,e.disable=a,e.enable=i,e.enabled=u,e.humanize=n(162),e.names=[],e.skips=[],e.formatters={};var c,l=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))}},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.5.0"}},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(178)("jsonp");t.exports=r;var a=0},function(t,e,n){"use strict";function o(){return"WebkitAppearance"in document.documentElement.style||window.console&&(console.firebug||console.exception&&console.table)||navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31}function r(){var t=arguments,n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),!n)return t;var o="color: "+this.color;t=[t[0],o,"color: inherit"].concat(Array.prototype.slice.call(t,1));var r=0,i=0;return t[0].replace(/%[a-z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(i=r))}),t.splice(i,0,o),t}function i(){return"object"===("undefined"==typeof console?"undefined":c(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(t){try{null==t?l.removeItem("debug"):l.debug=t}catch(t){}}function u(){var t;try{t=l.debug}catch(t){}return t}function s(){try{return window.localStorage}catch(t){}}var c="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(179),e.log=i,e.formatArgs=r,e.save=a,e.load=u,e.useColors=o;var l;l="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:s(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){return JSON.stringify(t)},e.enable(u())},function(t,e,n){"use strict";function o(){return e.colors[l++%e.colors.length]}function r(t){function n(){}function r(){var t=r,n=+new Date,i=n-(c||n);t.diff=i,t.prev=c,t.curr=n,c=n,null==t.useColors&&(t.useColors=e.useColors()),null==t.color&&t.useColors&&(t.color=o());var a=Array.prototype.slice.call(arguments);a[0]=e.coerce(a[0]),"string"!=typeof a[0]&&(a=["%o"].concat(a));var u=0;a[0]=a[0].replace(/%([a-z%])/g,function(n,o){if("%%"===n)return n;u++;var r=e.formatters[o];if("function"==typeof r){var i=a[u];n=r.call(t,i),a.splice(u,1),u--}return n}),"function"==typeof e.formatArgs&&(a=e.formatArgs.apply(t,a));var s=r.log||e.log||console.log.bind(console);s.apply(t,a)}n.enabled=!1,r.enabled=!0;var i=e.enabled(t)?r:n;return i.namespace=t,i}function i(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 a(){e.enable("")}function u(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 s(t){return t instanceof Error?t.stack||t.message:t}e=t.exports=r,e.coerce=s,e.disable=a,e.enable=i,e.enabled=u,e.humanize=n(180),e.names=[],e.skips=[],e.formatters={};var c,l=0},function(t,e){"use strict";function n(t){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*l;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;case"minutes":case"minute":case"mins":case"min":case"m":return n*u;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n}}}function o(t){return t>=c?Math.round(t/c)+"d":t>=s?Math.round(t/s)+"h":t>=u?Math.round(t/u)+"m":t>=a?Math.round(t/a)+"s":t+"ms"}function r(t){return i(t,c,"day")||i(t,s,"hour")||i(t,u,"minute")||i(t,a,"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=1e3,u=60*a,s=60*u,c=24*s,l=365.25*c;t.exports=function(t,e){return e=e||{},"string"==typeof t?n(t):e.long?r(t):o(t)}},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(42),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(41),D=n(42),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(30),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(42),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(26),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(31),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(33),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(37))},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(32),g=(n(14),n(108)),y=n(33),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(30),j=n(59),m=n(31),L=n(99),w=n(41),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(30),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(30),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(41),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(26),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(31),r=n(41),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(32),n(14),n(21),n(33)),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(26),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(26),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(42),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(42),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(43),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(43),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(43),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(43),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(32),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(37))},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},[329,35,27],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(36),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(34),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(35),f=n(36),g=n(75),y=n(34),h=(n(126),n(77)),N=n(78),D=(n(27),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(34),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(34),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(36),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(36),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(37))},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(27),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(29),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(28),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(28),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(28),h=n(2),N=o(h),D=n(23),I=n(44),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.id=I.incremental(),c.engine=u;var d=c.runHook.bind(c),M=c.emit.bind(c);return(0,L.go)(c.id),(0,f.setupLock)(c.id,n,o,r,d,M),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(28),I=n(44),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(28),m=n(133),L=r(m),w=n(2),v=o(w),z=n(8),b=(o(z),n(29),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(28),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(28),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(29),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."},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(40),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(40),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(40),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(40),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(39),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(39),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(39),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(39),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(40),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,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..0365b8266 --- /dev/null +++ b/build/lock.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///lock.min.js","webpack:///webpack/bootstrap 7e64824166b157982e00","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/core/signed_in_confirmation.jsx","webpack:///./src/field/email.js","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:///(webpack)/~/node-libs-browser/~/process/browser.js","webpack:///./src/connection/database/actions.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/connection/social/index.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/browser.js","webpack:///./~/auth0-js/~/jsonp/~/debug/debug.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:///./~/jsonp/~/debug/browser.js","webpack:///./~/jsonp/~/debug/debug.js","webpack:///./~/jsonp/~/debug/~/ms/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:///./~/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","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","tenant_name","_urlJoin2","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","flashMessage","text","reset","Symbol","iterator","constructor","_urlJoin","_i18n","_trim","_gravatar_provider","_data_utils","_dataFns","dataFns","remove","_dataFns2","getUI","_dataFns3","tgetUI","getUIAttribute","attribute","lock","_dataFns4","getAuthAttribute","invariant","condition","format","d","e","f","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","_username","setUsername","emailLocalPart","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","removeLock","updateLock","pinLoadingPane","unpinLoadingPane","validateAndSubmit","allFieldsValid","_index3","logIn","logInErrorHandler","_id","_fields","logInError","logInSuccess","localHandler","nextTick","errorMessage","loginType","_web_api","trim","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","setPrototypeOf","__proto__","renderSignedInConfirmation","props","closeHandler","_actions","SignedInConfirmation","_success_pane","_success_pane2","_React$Component","handleClose","_props","propTypes","func","isRequired","validateEmail","regExp","exec","setEmail","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","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","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","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","initSocial","processSocialOptions","socialButtonStyle","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","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","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","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","tenant","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","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","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","validateFormat","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","useColors","firebug","exception","table","formatArgs","humanize","diff","lastC","save","namespaces","storage","DEBUG","localstorage","local","enable","selectColor","prevColor","curr","prevTime","formatter","logFn","skips","disable","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","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","short","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","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","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","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","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__","__webpack_module_template_argument_1__","oneArgumentPooler","copyFieldsFrom","Klass","instancePool","a1","a2","threeArgumentPooler","a3","a4","fiveArgumentPooler","a5","standardReleaser","poolSize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,aACLkxH,EAAMC,aAAan3J,OAASk3J,EAAMU,UACpCV,EAAMC,aAAahpJ,KAAKy4B,IAIxBixH,EAAoB,GACpBC,EAAiBd,EAWjB7wH,EAAe,SAAU4xH,EAAiBC,GAG5C,GAAIC,GAAWF,CAOf,OANAE,GAASd,gBACTc,EAAS50H,UAAY20H,GAAUF,EAC1BG,EAASL,WACZK,EAASL,SAAWC,GAEtBI,EAAShyH,QAAU0xH,EACZM,GAGL3yH,GACFa,aAAcA,EACd6wH,kBAAmBA,EACnB99B,kBAAmBA,EACnBo+B,oBAAqBA,EACrBntH,mBAAoBA,EACpBstH,mBAAoBA,EAGtBz7J,GAAOD,QAAUupC,G3Tw+wCX,SAAStpC,EAAQD,EAASH,EAAqBk7J,G4TxlxCrD,YAEA,IAAIruH,GAAgB7sC,EAAQk7J,GASxBoB,EAAUzvH,CA4CdzsC,GAAOD,QAAUm8J","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.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__(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\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 }));\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 _dataFns2 = (0, _data_utils.dataFns)([\"core\", \"ui\"]),\n\t getUI = _dataFns2.get,\n\t setUI = _dataFns2.set;\n\t\n\tvar _dataFns3 = (0, _data_utils.dataFns)([\"core\", \"transient\", \"ui\"]),\n\t tgetUI = _dataFns3.get,\n\t tsetUI = _dataFns3.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 _dataFns4 = (0, _data_utils.dataFns)([\"core\", \"auth\"]),\n\t getAuthAttribute = _dataFns4.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 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\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 } else {\n\t domain = domainUrl;\n\t }\n\t\n\t return (0, _urlJoin2.default)(domain, 'tenants', 'v1', tenant_name + '.js');\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 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, _index.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, _index.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.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\tfunction 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(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[330, 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__(31);\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 return 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';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;};/**\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 */(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.\n\tvar DELETE='delete';// Constants describing the size of trie nodes.\n\tvar SHIFT=5;// Resulted in best performance after ______?\n\tvar SIZE=1<<SHIFT;var MASK=SIZE-1;// A consistent shared value representing \"not set\" which equals nothing other\n\t// than itself, and nothing that could be provided externally.\n\tvar NOT_SET={};// Boolean references, Rough equivalent of `bool &`.\n\tvar 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\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\tfunction OwnerID(){}// http://jsperf.com/copy-array-inline\n\tfunction 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:\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\tif(typeof index!=='number'){var uint32Index=index>>>0;// N >>> 0 is shorthand for ToUint32\n\tif(''+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)\n\tSeq.prototype.__iterate=function(fn,reverse){return seqIterate(this,fn,reverse,true);};// abstract __iteratorUncached(type, reverse)\n\tSeq.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\n\tfunction 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);}/**\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 */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\n\tb=b|0;// int\n\tvar c=a&0xffff;var d=b&0xffff;// Shift by 0 fixes the sign on the high part.\n\treturn c*d+((a>>>16)*d+c*(b>>>16)<<16>>>0)|0;// int\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\tfunction 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\n\tfunction hashString(string){// 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\tvar 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\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\tobj.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\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\tobj[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.\n\tvar isExtensible=Object.isExtensible;// True if Object.defineProperty works as expected. IE8 fails this test.\n\tvar 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\n\t// and avoid memory leaks from the IE cloneNode bug.\n\tfunction getIENodeHash(node){if(node&&node.nodeType>0){switch(node.nodeType){case 1:// Element\n\treturn node.uniqueID;case 9:// Document\n\treturn node.documentElement&&node.documentElement.uniqueID;}}}// If possible, use a WeakMap.\n\tvar 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\n\tfunction 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\n\tMap.prototype.get=function(k,notSetValue){return this._root?this._root.get(0,undefined,k,notSetValue):notSetValue;};// @pragma Modification\n\tMap.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\n\tMap.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\n\treturn OrderedMap(sortFactory(this,comparator));};Map.prototype.sortBy=function(mapper,comparator){// Late binding\n\treturn OrderedMap(sortFactory(this,comparator,mapper));};// @pragma Mutability\n\tMap.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\n\tfunction 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\n\t}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\n\t}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\n\tArrayMapNode.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\n\tfunction 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\n\tList.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\n\tList.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\n\tList.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\n\tList.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\n\tVNode.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)\n\t// http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n\tif(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.\n\tif(newOrigin>=newCapacity){return list.clear();}var newLevel=list._level;var newRoot=list._root;// New origin might need creating a higher root.\n\tvar 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.\n\twhile(newTailOffset>=1<<newLevel+SHIFT){newRoot=new VNode(newRoot&&newRoot.array.length?[newRoot]:[],owner);newLevel+=SHIFT;}// Locate or create the new tail.\n\tvar oldTail=list._tail;var newTail=newTailOffset<oldTailOffset?listNodeFor(list,newCapacity-1):newTailOffset>oldTailOffset?new VNode([],owner):oldTail;// Merge Tail into tree.\n\tif(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.\n\tif(newCapacity<oldCapacity){newTail=newTail&&newTail.removeAfter(owner,0,newCapacity);}// If the new origin is within the tail, then we do not need a root.\n\tif(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.\n\t}else if(newOrigin>oldOrigin||newTailOffset<oldTailOffset){offsetShift=0;// Identify the new top root node of the subtree of the old root.\n\twhile(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.\n\tif(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\n\tfunction 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\n\tOrderedMap.prototype.get=function(k,notSetValue){var index=this._map.get(k);return index!==undefined?this._list.get(index)[1]:notSetValue;};// @pragma Modification\n\tOrderedMap.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\n\tif(!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\n\t// in the parent iteration.\n\tif(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\n\t// in the parent iteration.\n\tif(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()\n\treversedSequence.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)\n\t// http://www.ecma-international.org/ecma-262/6.0/#sec-toint32\n\tif(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\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\tif(resolvedBegin!==resolvedBegin||resolvedEnd!==resolvedEnd){return sliceFactory(iterable.toSeq().cacheResult(),begin,end,useKeys);}// 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\tvar 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\n\t// unknown at this point unless the number of items to slice is 0\n\tsliceSeq.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.\n\tvar 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\n\t// they are not equal and b is in fact a nullish value.\n\treturn 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\n\t// __iterator which may be more generically useful in the future.\n\tzipSequence.__iterate=function(fn,reverse){/* 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 */// indexed:\n\tvar 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\n\tfunction 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\n\t// to our wrapped type.\n\tif(!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\n\tRecord.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\n\tRecord.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.\n\t}}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\n\tfunction 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\n\tSet.prototype.has=function(value){return this._map.has(value);};// @pragma Modification\n\tSet.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\n\tSet.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\n\treturn OrderedSet(sortFactory(this,comparator));};Set.prototype.sortBy=function(mapper,comparator){// Late binding\n\treturn 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\n\tfunction 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\n\tfunction 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\n\tStack.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\n\tStack.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);\n\treturn 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\n\tStack.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\n\tStack.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));}/**\n\t * Contributes additional methods to a constructor\n\t */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\n\ttoArray: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.\n\treturn 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.\n\treturn OrderedMap(this.toKeyedSeq());},toOrderedSet:function toOrderedSet(){// Use Late Binding here to solve the circular dependency.\n\treturn OrderedSet(isKeyed(this)?this.valueSeq():this);},toSet:function toSet(){// Use Late Binding here to solve the circular dependency.\n\treturn 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.\n\treturn Stack(isKeyed(this)?this.valueSeq():this);},toList:function toList(){// Use Late Binding here to solve the circular dependency.\n\treturn List(isKeyed(this)?this.valueSeq():this);},// ### Common JavaScript methods and properties\n\ttoString: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)\n\tconcat: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\n\tbutLast: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!\n\treturn 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:\n\t// for (var key of searchKeyPath) {\n\tvar 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\n\thashCode:function hashCode(){return this.__hash||(this.__hash=hashIterable(this));}// ### Internal\n\t// abstract __iterate(fn, reverse)\n\t// abstract __iterator(type, reverse)\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\tvar 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\n\tflip: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\n\ttoKeyedSeq:function toKeyedSeq(){return new ToKeyedSequence(this,false);},// ### ES6 Collection methods (ES6 Array and Map)\n\tfilter: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\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\tindex=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\n\tfindLastIndex: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)\n\tget:function get(value,notSetValue){return this.has(value)?value:notSetValue;},includes:function includes(value){return this.has(value);},// ### More sequential methods\n\tkeySeq:function keySeq(){return this.valueSeq();}});SetIterable.prototype.has=IterablePrototype.includes;SetIterable.prototype.contains=SetIterable.prototype.includes;// Mixin subclasses\n\tmixin(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\n\tfunction 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\n\t}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;});\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.7.2' + '/' + 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__(26);\n\tvar ReactFeatureFlags = __webpack_require__(104);\n\tvar ReactReconciler = __webpack_require__(33);\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__(26);\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__(36);\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__(34);\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[330, 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__(29);\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 m = (0, _username.setUsername)(m, (0, _email.emailLocalPart)(email), \"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\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, l.reset);\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, l.reset);\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__(37)))\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[329, 4, 3],\n/* 27 */\n3,\n/* 28 */\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/* 29 */\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/* 30 */\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/* 31 */\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/* 32 */\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/* 33 */\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/* 34 */\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__(36);\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/* 35 */\n4,\n/* 36 */\n7,\n/* 37 */\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/* 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\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/* 40 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(100);\n\n/***/ },\n/* 41 */\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/* 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 EventPluginHub = __webpack_require__(41);\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/* 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 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/* 44 */\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.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 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 = get(m, \"socialButtonStyle\");\n\t return style ? style === \"big\" : l.connections(m, \"social\").count() <= notFoundLimit;\n\t}\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__(43);\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 });\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.statusCode || error.error,\n\t description: error.details ? error.details.error_description : error.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 (connection.get(\"strategy\") === \"google-oauth2\" && 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 || null;\n\t this._audience = options.audience || null;\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: 'openid',\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 console.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 !== 'https://' + this._domain + '/') {\n\t return invalidJwt('The domain configured (https://' + this._domain + '/) does not match with the domain set in the token (' + prof.iss + ').');\n\t }\n\t\n\t var nonce = options.nonce || window.localStorage.getItem('com.auth0.auth.nonce');\n\t window.localStorage.removeItem('com.auth0.auth.nonce');\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 tenant: this._domain.split('.')[0]\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 tenant: this._domain.split('.')[0],\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 var nonce = nonceGenerator.randomString(16);\n\t if (nonce) {\n\t options.nonce = nonce;\n\t window.localStorage.setItem('com.auth0.auth.nonce', nonce);\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: 'openid' }, 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._domain.split('.')[0]\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 * @example\n\t *\n\t * auth0.getConnections(function (err, conns) {\n\t * if (err) return console.log(err.message);\n\t * expect(conns.length).to.be.above(0);\n\t * expect(conns[0].name).to.eql('Apprenda.com');\n\t * expect(conns[0].strategy).to.eql('adfs');\n\t * expect(conns[0].status).to.eql(false);\n\t * expect(conns[0].domain).to.eql('Apprenda.com');\n\t * expect(conns[0].domain_aliases).to.eql(['Apprenda.com', 'foo.com', 'bar.com']);\n\t * });\n\t *\n\t * @method getConnections\n\t * @param {Function} callback\n\t */\n\t// XXX We may change the way this method works in the future to use client's s3 file.\n\t\n\tAuth0.prototype.getConnections = function (callback) {\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__(30);\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__(32);\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__(35);\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__(27);\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__(35);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\t\n\tvar invariant = __webpack_require__(27);\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__(37)))\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 _actions = __webpack_require__(24);\n\t\n\tvar _index3 = __webpack_require__(11);\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, _index3.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, _index3.databaseLogInWithEmail)(m) ? \"username\" : \"email\";\n\t\n\t var username = (0, _index2.getFieldValue)(m, usernameField);\n\t var connection = (0, _enterprise.enterpriseActiveFlowConnection)(m);\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, _index3.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__(44);\n\t\n\tvar _email = __webpack_require__(29);\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__(29);\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__(29);\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__(39);\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__(26);\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__(31);\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__(33);\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__(30);\n\tvar DOMProperty = __webpack_require__(31);\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__(32);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar ReactMarkupChecksum = __webpack_require__(217);\n\tvar ReactReconciler = __webpack_require__(33);\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__(32);\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__(35);\n\t\n\tvar ReactElement = __webpack_require__(34);\n\t\n\tvar invariant = __webpack_require__(27);\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__(35);\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__(27);\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__(44);\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__(44);\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+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDcyIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudz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YgNDcuNDM4LDM3Ljg3NiBDNDguNTAxLDM4LjMxNCA0OS44MTMsMzguNTY0IDUxLjQzOCwzOC41NjQgTDUxLjgxMywzOC41NjQgQzUyLjYyNiwzOC41NjQgNTMuMzc2LDM4LjUwMSA1NC4wNjMsMzguMzE0IEM1NC43NTEsMzguMDY0IDU1LjMxMywzNy44MTQgNTUuNzUxLDM3LjQzOSBDNTYuMjUxLDM3LjA2NCA1Ni42MjYsMzYuNjI2IDU3LjAwMSwzNi4yNTEgQzU3LjM3NiwzNS44MTMgNTcuNjI2LDM1LjMxMyA1Ny44MTQsMzQuNzUxIEM1OC4wMDIsMzQuMTI2IDU4LjE4OSwzMy42MjYgNTguMzE0LDMzLjE4OCBDNTguNDM5LDMyLjc1IDU4LjUwMiwzMi4yNSA1OC41NjQsMzEuNTYzIEM1OC42MjYsMzAuODc2IDU4LjYyNywzMC40MzggNTguNjI3LDMwLjEyNSBMNTguNjI3LDI3LjkzNyBDNTguNjI3LDI3LjM3NCA1OC41MDIsMjYuNjI0IDU4LjI1MiwyNS44MTIgQzU4LjAwMiwyNSA1Ny41NjQsMjQuMTg3IDU3LjA2NCwyMy4yNDkgQzU2LjUwMSwyMi4zMTEgNTUuNjg5LDIxLjU2MSA1NC42MjYsMjAuOTM2IEM1My41NjMsMjAuMzExIDUyLjI1MSwxOS45OTggNTAuODEzLDE5Ljk5OCBDNDYuMTg4LDE5Ljk5OCA0My44NzUsMjMuMTg2IDQzLjg3NSwyOS42MjMgTDQzLjg3NSwyOS42MjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=bitbucket] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzd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uNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImJveCIgc2tldGNoOnR5cGU9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1IEwxMy44NzUsNDYuMTg3IEwxMy44NzUsNDkuODc1IEwxMy44NzUsNDkuODc1IFogTTE0LjE4OCwyMy4yNSBMMzMuMTI2LDExLjY4NyBMNTEuOTM5LDIyLjU2MiBMMzMuMDAxLDM1LjA2MiBMMTQuMTg4LDIzLjI1IFogTTMyLjkzOCw2Mi42MjUgTDUyLjQzOCw0OS45MzcgTDUyLjQzOCw0NS44NzQgTDQ2LjA2Myw0OS43NDkgTDMzLjEyNSwzOS44MTEgTDMzLDM5Ljg3NCBMMzIuOTM4LDYyLjYyNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+ZHdvbGxhPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ry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YyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3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MzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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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o8L3N2Zz4=\"); 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+Zml0Yml0PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogIC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uNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+PC9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S45NDgsNDYuNDY4IDQzLjk2NiwzOC45MTYgNDQuNzA2LDM0LjQ0IEwyOS4wMDIsMzQuNDQgTDI5LjAwMiwzNC40MTIgTDI5LjAwNCwzNC40MTQgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICAgICAgPGcgaWQ9Imluc3RhZ3JhbSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgdHJhbn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UgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ibGlua2VkaW4iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPS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NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZ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yLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNTAuMSAxNjcuOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTUwLjEgMTY3LjgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGc+DQoJPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSIzMSwxMzUuOCAzMC45LDEzNS44IDc1LjEsMTY3LjggMTE5LjIsMTM1LjggNzUuMSwxMDMuNyAJIi8+DQoJPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTMuNyw1MS45TDMuNyw1MS45Qy02LjYsODMuNiw1LjMsMTE3LjIsMzEsMTM1LjhsMCwwb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jY4OCBaIE0yMi44NzUsMjcuODc1IEwyNi4zNzUsMTIuMjUgTDM0LjM3NSwxMi4yNSBDMzUuNzUsMTIuMjUgMzYuOTM4LDEyLjYyNSAzNy45MzgsMTMuMzc1IEMzOC45MzgsMTQuMTI1IDM5LjYyNiwxNS4xMjUgMzkuOTM4LDE2LjM3NSBDMzkuMzEzLDE2LjI1IDM4LjkzOCwxNi4xODcgMzguODc1LDE2LjE4NyBMMzAuODc1LDE2LjE4NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOn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uMTI4LDE4Ljg3MyBDNDMuNjksMTguODczIDQxLjM3OCwxOS45MzYgMzkuMDAzLDIxLjE4NiBMMzQuNzUzLDIzLjQ5OSBMMzQuNzUzLDE5LjI0OSBDMzQuNzUzLDEzLjgxMSAzNC40NCwxMy4zMTEgMzEuMTI4LDEzLjQ5OSBMMjguNjI4LDEzLjYyNCBMMjguMzc4LDE4LjQ5OSBMMjguMTI4LDIzLjQzNyBMMjQuMzc4LDIxLjEyNCBDMTkuNTAzLDE4LjI0OSAxOC41MDMsMTguMTg2IDE2LjY5LDIwLjk5OSBDMTUuMDAyLDIzLjQ5OSAxNS4xOSwyMy45OTkgMTguNTAzLDI1Ljg3NCBDMTkuODE2LDI2LjU2MiAyMS42MjgsMjcuNjI0IDIyLjYyOCwyOC4yNDkgTDI0LjM3OCwyOS4zNzQgTDIwLjMxNSwzMS44MTIgQzE4LjA2NSwzMy4xODcgMTYuMDAyLDM0LjU2MiAxNS43NTIsMzQuODc1IEMxNS4zMTQsMzUuMzc1IDE1LjUwMiwzNiAxNi41NjUsMzcuNjI1IEMxOC4zMTUsNDAuNDM4IDE5LjYyOCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+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jg5IDU0LjA2NCw0Ni40MzkgQzU0LjA2NCw0OS45MzkgNTMuMDY0LDUzLjE4OSA1MS4wNjQsNTYuMTg5IEw2MC4zNzcsNTQuMDAxIEM2MS40NCw1My43NTEgNjIuMzE1LDUzLjE4OCA2My4wMDIsNTIuMzEzIEM2My42ODksNTEuNDM4IDY0LjAwMiw1MC40MzggNjQuMDAyLDQ5LjM3NSBDNjQuMDAyLDQ5LjEyNSA2My45MzksNDguNzUgNjMuODc3LDQ4LjI1IEw1My4zNzcsNC4yNSBDNTMuMTI3LDMuMTg3IDUyLjU2NCwyLjMxMiA1MS42ODksMS42MjUgQzUwLjgxNCwwLjkzOCA0OS44MTQsMC42MjUgNDguNzUxLDAuNjI1IEM0OC4xODgsMC42MjUgNDcuMjUxLDAuNzUgNDYuMDYzLDEgQzQ0LjgxMywxLjI1IDQzLjMxMywxLjYyNSA0MS41LDIuMTg4IEMzOS42MjUsMi42ODggMzguNjg3LDIuOTM4IDM4LjU2MiwyLjkzOCBDNDIuNjg3LDMuNTYzIDQ2LjYyNSw0LjkzOCA1MC41LDYuOTM4IEw0Ni41NjIsMTcuODEzIEM0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVV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zUsMjIuNTYzIEMyOC4xMjUsMjIuMzEzIDI2LjUsMjIgMjQuODEyLDIxLjkzOCBDMTcuMzEyLDIxLjUgMTEuOTM3LDI2LjAwMSAxMS44NzQsMzIuODEzIEMxMS44NzQsMzUuOTM4IDEyLjgxMiwzNy44NzYgMTUuNDk5LDM5Ljg3NiBDMjEuMzEyLDQ0LjUwMSAxNy42ODcsNDkuMDY0IDExLjQ5OSw0NS4wMDEgQzEwLjEyNCw0NC4xMjYgMTAuMTI0LDQ0LjE4OCA5LjI0OSw0Ny4wMDEgQzguNTYxLDQ5LjI1MSA4LjU2MSw0OS4yNTEgOS45OTksNTAuNTAxIEMxMC44MTIsNTEuMTg5IDEyLjYyNCw1Mi4wMDEgMTQuMTI0LDUyLjQzOSBDMjAuNDM3LDU0LjMxNCAyNS41NjIsNTEuMDAxIDI2LjI0OSw0NC42MjYgQzI2LjY4Nyw0MC43NTEgMjUuMTI0LDM3LjkzOCAyMC43NDksMzQuNzUxIEMxOC42MjQsMzMuMTg4IDE4LjEyNCwzMi41NjMgMTguMTI0LDMxLjM3NiBDMTguMTI0LDI5LjMxMyAxOS45MzcsMjguMzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=soundcloud] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU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sMTYuNjI0IDY3LjEyNywxNS42MjQgNjQuNjI3LDE1LjYyNCBDNjMuNTAyLDE1LjYyNCA2Mi4zMTQsMTUuOTM3IDYxLjEyNywxNi40OTkgQzYwLjc1MiwxMS45MzYgNTkuMDY0LDguMTI0IDU2LjAwMiw1LjA2MSBDNTIuOTM5LDEuOTM2IDQ5LjMxNCwwLjQzNiA0NS4xODksMC40MzYgQzQ0LjgxNCwwLjQzNiA0NC4yNTEsMC40MzYgNDMuNjI2LDAuNTYxIEM0Mi45MzgsMC42MjQgNDIuMTg4LDAuNzQ5IDQxLjQzOCwwLjg3NCBDNDAuNjI1LDEuMDYyIDM5Ljg3NSwxLjMxMiAzOS4zMTMsMS42MjQgQzM4Ljc1LDEuOTk5IDM4LjUsMi4zNzQgMzguNSwyLjc0OSBDMzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYxIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkg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DUxLjMxMywzMi42ODcgNTMuNTYzLDMxLjc0OSBMNTMuNTYzLDMxLjc1IFogTTYuOTM4LDQ0LjE4OCBMNi45MzgsNDQuMTg4IEMxMC4wMDEsNDMuMTI1IDEzLjg3Niw0My44NzUgMTguMDAxLDQ2LjUwMSBDMTkuODc2LDQ3LjU2NCAyMi4yNTEsNDguNTY0IDIzLjE4OSw0OC41NjQgQzI2LjM3Nyw0OC41NjQgMTguNzUxLDYxLjQzOSAxNC41NjQsNjMuMzE0IEM3LjUwMSw2Ni4yNTIgMC4wMDEsNjEuMjUxIDAuMDAxLDUzLjYyNiBDMC4wMDEsNTAuNTAxIDMuNjg5LDQ1LjM3NiA2LjkzOSw0NC4xODggTDYuOTM4LDQ0LjE4OCBaIE0zOS4zMTMsNTIgTDM5Ljg3Niw1MS42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iNTVweCIgdmlld0JveD0iMCAwIDY1IDU1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGx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jgwOSBDMzkuNTYxLDE0LjEyMiAzOC44MTEsMTUuMDU5IDM4LjEyMywxNS44MDkgQzM2LjQzNSwxNy41NTkgMzUuMDYsMTkuNTU5IDMzLjU2LDIxLjU1OSBDMzIuMTg1LDIzLjMwOSAzMC44MSwyNS4xMjIgMjkuMDYsMjYuNTU5IEMyOC40MzUsMjcuMDU5IDI3LjY4NSwyNy42ODQgMjYuODcyLDI3Ljc0NyBDMjYuMjQ3LDI3Ljc0NyAyNS42ODQsMjcuNjIyIDI1LjE4NCwyNy4zNzIgQzIzLjk5NiwyNi44NzIgMjMuMTIxLDI1Ljg3MiAyMi4zMDksMjQuOTk3IEMyMC44MDksMjMuMzcyIDE4LjkzNCwyMC42ODQgMTYuMzcxLDIxLjQ5NyBDMTQuNjIxLDIyLjEyMiAxMy4xODMsMjMuNjg1IDEyLjA1OCwyNS4xMjIgQzExLjM3LDI1Ljk5NyAxMC43NDUsMjYuOTM1IDEwLjE4MywyNy44NzIgQzkuNTU4LDI4LjgxIDguOTk1LDI5Ljc0NyA4LjM3LDMwLjY4NSBDNy4yNDUsMzIuNjIzIDYuMTIsMzQuNTYgNS4zNywzNi42ODUgQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=twitter] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDc5IDY1IiB2ZXJzaW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NSw1NS4zMTMgMTEuMzc3LDU3LjYyNiAzLjgxNSw1Ny42MjYgQzIuNTY1LDU3LjYyNiAxLjI1Miw1Ny41NjMgMC4wMDIsNTcuNDM4IEwwLDU3LjQzOCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0idmsiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRk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uNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Im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45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9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LjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ieWFob28iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCw3LjY4OCBMMCw3LjE4OCBDMC4wNjMsNi45Mz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hcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsMy41IEMwLjM3NSw0LjI1IDAuNSw0LjkzOCAwLjc1LDUuNjI1IEM1LjEyNSwxNi4zMTMgOS41NjMsMjcgM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gxMywzNS44MTMgQzM2LjEyNiwzNi40MzggMzYuNjI2LDM2Ljg3NiAzNy4xMjYsMzcuMzc2IEMzOS4wMDEsMzkuMTg5IDQxLjA2NCw0MC43NTEgNDMuMTI2LDQyLjMxNCBDNDUuMzc2LDQzLjkzOSA0Ny42ODksNDUuNTY0IDUwLjA2NCw0Ny4wNjQgQzUwLjc1Miw0Ny41NjQgNTEuNjg5LDQ3LjU2NCA1Mi41MDIsNDcuMjUyIEM1My42MjcsNDYuODc3IDU0LjUwMiw0NS43NTIgNTQuNTY1LDQ0LjUwMiBDNTQuNjI4LDQzLjM3NyA1NC4wMDIsNDIuMTI3IDUyLjk0LDQxLjYyNyBDNDkuMzE1LDM5Ljc1MiA0NS42MjcsMzcuOTM5IDQxLjgxNSwzNi40MzkgQzQwLjM3NywzNS44NzYgMzguODc3LDM1LjMxNCAzNy4zMTUsMzUuMDY0IEMzNi44MTUsMzUuMDAxIDM2LjM3NywzNC45MzkgMzUuOTQsMzUuMDY0IEwzNS45MzgsMzUuMDYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=yandex] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI4cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDI4IDYwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDw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MC42MjYgTDI3LjUsMC42MjUgWiBNMjIuNDM4LDMyLjU2MyBMMjIuNDM4LDUuNjg4IEwxOC41NjMsNS42ODggQzEzLjkzOCw1LjY4OCA5LjM3NSw5LjYyNiA5LjM3NSwxOS40MzggQzkuMzc1LDI4LjgxMyAxNC4yNSwzMi41NjMgMTkuMjUsMzIuNTYzIEwyMi40MzgsMzIuNTYzIEwyMi40MzgsMzIuNTYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub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zcgNjYuMzc4LDI1Ljg3NyBDNjYuNzUzLDI1Ljg3NyA2Ny4xMjgsMjUuNzUyIDY3LjUwMywyNS41NjQgQzY4LjEyOCwyNS4yNTEgNjguNTY2LDI0Ljc1MSA2OC43NTMsMjQuMDY0IEM2OS4xMjgsMjMuMDY0IDY5LjMxNiwyMi4wMDEgNjkuMzE2LDIxLjAwMSBDNjkuMzE2LDIwLjMxMyA2OS4yNTMsMTkuNjI2IDY5LjEyOCwxOC44NzYgQzY4LjY5LDE3LjA2MyA2Ny44NzgsMTUuNTAxIDY2LjY5LDE0LjA2MyBDNjQuNjI3LDExLjgxMyA2Mi4xOSwxMC42ODggNTkuMzE1LDEwLjY4OCBDNTguNTY1LDEwLjY4OCA1Ny43NTIsMTAuNzUxIDU2Ljk0LDEwLjkzOCBDNTYuMTksMTEuMTI2IDU1LjYyNywxMS41MDEgNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0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AwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+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; } ';\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.7.2';\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__(39);\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__(160)('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, __webpack_require__) {\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__(161);\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 // 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' && 'WebkitAppearance' in document.documentElement.style ||\n\t // is firebug? http://stackoverflow.com/a/398120/376773\n\t 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 navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31;\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() {\n\t var args = arguments;\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 args;\n\t\n\t var c = 'color: ' + this.color;\n\t args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));\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-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 return args;\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 var r;\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__(37)))\n\n/***/ },\n/* 161 */\n/***/ function(module, exports, __webpack_require__) {\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 = debug.debug = debug;\n\texports.coerce = coerce;\n\texports.disable = disable;\n\texports.enable = enable;\n\texports.enabled = enabled;\n\texports.humanize = __webpack_require__(162);\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, lowercased letter, i.e. \"n\".\n\t */\n\t\n\texports.formatters = {};\n\t\n\t/**\n\t * Previously assigned color.\n\t */\n\t\n\tvar prevColor = 0;\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 *\n\t * @return {Number}\n\t * @api private\n\t */\n\t\n\tfunction selectColor() {\n\t return exports.colors[prevColor++ % 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 debug(namespace) {\n\t\n\t // define the `disabled` version\n\t function disabled() {}\n\t disabled.enabled = false;\n\t\n\t // define the `enabled` version\n\t function enabled() {\n\t\n\t var self = enabled;\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 // add the `color` if not set\n\t if (null == self.useColors) self.useColors = exports.useColors();\n\t if (null == self.color && self.useColors) self.color = selectColor();\n\t\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 = ['%o'].concat(args);\n\t }\n\t\n\t // apply any `formatters` transformations\n\t var index = 0;\n\t args[0] = args[0].replace(/%([a-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\n\t args = exports.formatArgs.apply(self, args);\n\t\n\t var logFn = enabled.log || exports.log || console.log.bind(console);\n\t logFn.apply(self, args);\n\t }\n\t enabled.enabled = true;\n\t\n\t var fn = exports.enabled(namespace) ? enabled : disabled;\n\t\n\t fn.namespace = namespace;\n\t\n\t return fn;\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, '\\\\$&').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/* 162 */\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/* 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.5.0\" };\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__(178)('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 */\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/**\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__(179);\n\texports.log = log;\n\texports.formatArgs = formatArgs;\n\texports.save = save;\n\texports.load = load;\n\texports.useColors = useColors;\n\t\n\t/**\n\t * Use chrome.storage.local if we are in an app\n\t */\n\t\n\tvar storage;\n\t\n\tif (typeof chrome !== 'undefined' && typeof chrome.storage !== 'undefined') storage = chrome.storage.local;else storage = 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 // is webkit? http://stackoverflow.com/a/16459606/376773\n\t return 'WebkitAppearance' in document.documentElement.style ||\n\t // is firebug? http://stackoverflow.com/a/398120/376773\n\t 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 navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31;\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 return JSON.stringify(v);\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() {\n\t var args = arguments;\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 args;\n\t\n\t var c = 'color: ' + this.color;\n\t args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));\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-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 return args;\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 storage.removeItem('debug');\n\t } else {\n\t 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 var r;\n\t try {\n\t r = storage.debug;\n\t } catch (e) {}\n\t return r;\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\n/***/ },\n/* 179 */\n/***/ function(module, exports, __webpack_require__) {\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 = debug;\n\texports.coerce = coerce;\n\texports.disable = disable;\n\texports.enable = enable;\n\texports.enabled = enabled;\n\texports.humanize = __webpack_require__(180);\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, lowercased letter, i.e. \"n\".\n\t */\n\t\n\texports.formatters = {};\n\t\n\t/**\n\t * Previously assigned color.\n\t */\n\t\n\tvar prevColor = 0;\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 *\n\t * @return {Number}\n\t * @api private\n\t */\n\t\n\tfunction selectColor() {\n\t return exports.colors[prevColor++ % 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 debug(namespace) {\n\t\n\t // define the `disabled` version\n\t function disabled() {}\n\t disabled.enabled = false;\n\t\n\t // define the `enabled` version\n\t function enabled() {\n\t\n\t var self = enabled;\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 // add the `color` if not set\n\t if (null == self.useColors) self.useColors = exports.useColors();\n\t if (null == self.color && self.useColors) self.color = selectColor();\n\t\n\t var args = Array.prototype.slice.call(arguments);\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 = ['%o'].concat(args);\n\t }\n\t\n\t // apply any `formatters` transformations\n\t var index = 0;\n\t args[0] = args[0].replace(/%([a-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 if ('function' === typeof exports.formatArgs) {\n\t args = exports.formatArgs.apply(self, args);\n\t }\n\t var logFn = enabled.log || exports.log || console.log.bind(console);\n\t logFn.apply(self, args);\n\t }\n\t enabled.enabled = true;\n\t\n\t var fn = exports.enabled(namespace) ? enabled : disabled;\n\t\n\t fn.namespace = namespace;\n\t\n\t return fn;\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/* 180 */\n/***/ function(module, exports) {\n\n\t'use strict';\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 * @return {String|Number}\n\t * @api public\n\t */\n\t\n\tmodule.exports = function (val, options) {\n\t options = options || {};\n\t if ('string' == typeof val) return parse(val);\n\t return options.long ? long(val) : short(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 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) return;\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 }\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 short(ms) {\n\t if (ms >= d) return Math.round(ms / d) + 'd';\n\t if (ms >= h) return Math.round(ms / h) + 'h';\n\t if (ms >= m) return Math.round(ms / m) + 'm';\n\t if (ms >= s) return Math.round(ms / s) + 's';\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 long(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) return;\n\t if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;\n\t return Math.ceil(ms / n) + ' ' + name + 's';\n\t}\n\n/***/ },\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__(42);\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__(41);\n\tvar EventPropagators = __webpack_require__(42);\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__(30);\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__(42);\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__(26);\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__(31);\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__(33);\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__(37)))\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__(32);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\tvar ReactNodeTypes = __webpack_require__(108);\n\tvar ReactReconciler = __webpack_require__(33);\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__(30);\n\tvar DOMNamespaces = __webpack_require__(59);\n\tvar DOMProperty = __webpack_require__(31);\n\tvar DOMPropertyOperations = __webpack_require__(99);\n\tvar EventPluginHub = __webpack_require__(41);\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__(30);\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__(30);\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__(41);\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__(26);\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__(31);\n\tvar EventPluginHub = __webpack_require__(41);\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__(32);\n\tvar ReactInstrumentation = __webpack_require__(14);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(21);\n\tvar ReactReconciler = __webpack_require__(33);\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__(26);\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__(26);\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__(42);\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__(42);\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__(43);\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__(43);\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__(43);\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__(43);\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__(32);\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__(37)))\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[329, 35, 27],\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__(36);\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__(34);\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__(35),\n\t _assign = __webpack_require__(36);\n\t\n\tvar ReactComponent = __webpack_require__(75);\n\tvar ReactElement = __webpack_require__(34);\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__(27);\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__(34);\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__(34);\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__(36);\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__(36);\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__(37)))\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__(27);\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__(29);\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__(28);\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__(28);\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__(28);\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__(44);\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.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 (0, _actions.setupLock)(_this.id, clientID, domain, options, hookRunner, emitEventFn);\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__(28);\n\t\n\tvar _index3 = __webpack_require__(44);\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__(28);\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__(29);\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__(28);\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__(28);\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__(29);\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 },\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__(40);\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__(40);\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__(40);\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__(40);\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__(39);\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__(39);\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__(39);\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__(39);\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__(40);\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__, __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/* 330 */\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 7e64824166b157982e00","/*\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 { 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\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 }));\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 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\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 } else {\n domain = domainUrl;\n }\n\n return urljoin(domain, 'tenants', 'v1', `${tenant_name}.js`);\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 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.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\nfunction invariant(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(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 return 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 m = setUsername(m, emailLocalPart(email), \"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 } 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\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, l.reset);\n m = read(getEntity, \"lock\", id);\n callback(m);\n }, 1000);\n } else {\n swap(updateEntity, \"lock\", id, l.reset);\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 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","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","/**\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","// 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 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 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 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, 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\nfunction 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 = 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 { 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 });\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.statusCode || error.error),\n description: error.details ? error.details.error_description : (error.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 (connection.get(\"strategy\") === \"google-oauth2\" && 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 || null;\n this._audience = options.audience || null;\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: 'openid',\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 console.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 !== 'https://' + this._domain + '/') {\n return invalidJwt(\n 'The domain configured (https://' + this._domain + '/) does not match with the domain set in the token (' + prof.iss + ').');\n }\n\n var nonce = options.nonce || window.localStorage.getItem('com.auth0.auth.nonce');\n window.localStorage.removeItem('com.auth0.auth.nonce');\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 tenant: this._domain.split('.')[0]\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 tenant: this._domain.split('.')[0],\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 var nonce = nonceGenerator.randomString(16);\n if (nonce) {\n options.nonce = nonce;\n window.localStorage.setItem('com.auth0.auth.nonce', nonce);\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: 'openid' },\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._domain.split('.')[0]\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 * @example\n *\n * auth0.getConnections(function (err, conns) {\n * if (err) return console.log(err.message);\n * expect(conns.length).to.be.above(0);\n * expect(conns[0].name).to.eql('Apprenda.com');\n * expect(conns[0].strategy).to.eql('adfs');\n * expect(conns[0].status).to.eql(false);\n * expect(conns[0].domain).to.eql('Apprenda.com');\n * expect(conns[0].domain_aliases).to.eql(['Apprenda.com', 'foo.com', 'bar.com']);\n * });\n *\n * @method getConnections\n * @param {Function} callback\n */\n// XXX We may change the way this method works in the future to use client's s3 file.\n\nAuth0.prototype.getConnections = function (callback) {\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 { logIn as coreLogIn } from '../../core/actions';\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 username = getFieldValue(m, usernameField);\n const connection = enterpriseActiveFlowConnection(m); \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/**\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 // 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' && 'WebkitAppearance' in document.documentElement.style) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (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 (navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31);\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() {\n var args = arguments;\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 args;\n\n var c = 'color: ' + this.color;\n args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));\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-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 return args;\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 var r;\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/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 = debug.debug = debug;\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, lowercased letter, i.e. \"n\".\n */\n\nexports.formatters = {};\n\n/**\n * Previously assigned color.\n */\n\nvar prevColor = 0;\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n *\n * @return {Number}\n * @api private\n */\n\nfunction selectColor() {\n return exports.colors[prevColor++ % 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 debug(namespace) {\n\n // define the `disabled` version\n function disabled() {\n }\n disabled.enabled = false;\n\n // define the `enabled` version\n function enabled() {\n\n var self = enabled;\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 // add the `color` if not set\n if (null == self.useColors) self.useColors = exports.useColors();\n if (null == self.color && self.useColors) self.color = selectColor();\n\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 = ['%o'].concat(args);\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-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\n args = exports.formatArgs.apply(self, args);\n\n var logFn = enabled.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n enabled.enabled = true;\n\n var fn = exports.enabled(namespace) ? enabled : disabled;\n\n fn.namespace = namespace;\n\n return fn;\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, '\\\\$&').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/debug.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.5.0\" };\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","\n/**\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;\n\n/**\n * Use chrome.storage.local if we are in an app\n */\n\nvar storage;\n\nif (typeof chrome !== 'undefined' && typeof chrome.storage !== 'undefined')\n storage = chrome.storage.local;\nelse\n storage = 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 // is webkit? http://stackoverflow.com/a/16459606/376773\n return ('WebkitAppearance' in document.documentElement.style) ||\n // is firebug? http://stackoverflow.com/a/398120/376773\n (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 (navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31);\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 return JSON.stringify(v);\n};\n\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs() {\n var args = arguments;\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 args;\n\n var c = 'color: ' + this.color;\n args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));\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-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 return args;\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 storage.removeItem('debug');\n } else {\n 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 var r;\n try {\n r = storage.debug;\n } catch(e) {}\n return r;\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// ./~/jsonp/~/debug/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 = debug;\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, lowercased letter, i.e. \"n\".\n */\n\nexports.formatters = {};\n\n/**\n * Previously assigned color.\n */\n\nvar prevColor = 0;\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n *\n * @return {Number}\n * @api private\n */\n\nfunction selectColor() {\n return exports.colors[prevColor++ % 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 debug(namespace) {\n\n // define the `disabled` version\n function disabled() {\n }\n disabled.enabled = false;\n\n // define the `enabled` version\n function enabled() {\n\n var self = enabled;\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 // add the `color` if not set\n if (null == self.useColors) self.useColors = exports.useColors();\n if (null == self.color && self.useColors) self.color = selectColor();\n\n var args = Array.prototype.slice.call(arguments);\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 = ['%o'].concat(args);\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-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 if ('function' === typeof exports.formatArgs) {\n args = exports.formatArgs.apply(self, args);\n }\n var logFn = enabled.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n enabled.enabled = true;\n\n var fn = exports.enabled(namespace) ? enabled : disabled;\n\n fn.namespace = namespace;\n\n return fn;\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// ./~/jsonp/~/debug/debug.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 * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options){\n options = options || {};\n if ('string' == typeof val) return parse(val);\n return options.long\n ? long(val)\n : short(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 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) return;\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 }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction short(ms) {\n if (ms >= d) return Math.round(ms / d) + 'd';\n if (ms >= h) return Math.round(ms / h) + 'h';\n if (ms >= m) return Math.round(ms / m) + 'm';\n if (ms >= s) return Math.round(ms / s) + 's';\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 long(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) return;\n if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/jsonp/~/debug/~/ms/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.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 setupLock(this.id, clientID, domain, options, hookRunner, emitEventFn);\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 },\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 * 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