From 9ecb5f9ffd8cef3cf6bb9f6ea3d0b5d683b64f2a Mon Sep 17 00:00:00 2001 From: Jenkins Date: Wed, 9 Nov 2016 04:28:24 +0000 Subject: [PATCH] v10.6.0 --- .gitignore | 3 +- build/ca.js | 1 + build/cs.js | 1 + build/da.js | 1 + build/de.js | 1 + build/en.js | 1 + build/es.js | 1 + build/fr.js | 1 + build/hu.js | 1 + build/it.js | 1 + build/lock.js | 41841 ++++++++++++++++++++++++++++++++++++++++ build/lock.min.js | 26 + build/lock.min.js.map | 1 + build/nb.js | 1 + build/nl.js | 1 + build/pl.js | 1 + build/pt-br.js | 1 + build/ru.js | 1 + build/sv.js | 1 + build/tr.js | 1 + build/vi.js | 1 + build/zh-tw.js | 1 + build/zh.js | 1 + 23 files changed, 41888 insertions(+), 2 deletions(-) create mode 100644 build/ca.js create mode 100644 build/cs.js create mode 100644 build/da.js create mode 100644 build/de.js create mode 100644 build/en.js create mode 100644 build/es.js create mode 100644 build/fr.js create mode 100644 build/hu.js create mode 100644 build/it.js create mode 100644 build/lock.js create mode 100644 build/lock.min.js create mode 100644 build/lock.min.js.map create mode 100644 build/nb.js create mode 100644 build/nl.js create mode 100644 build/pl.js create mode 100644 build/pt-br.js create mode 100644 build/ru.js create mode 100644 build/sv.js create mode 100644 build/tr.js create mode 100644 build/vi.js create mode 100644 build/zh-tw.js create mode 100644 build/zh.js 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/ca.js b/build/ca.js new file mode 100644 index 000000000..e622e4a49 --- /dev/null +++ b/build/ca.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("ca", {"error":{"forgotPassword":{"too_many_requests":"Has exhaurit el límit d'intents per restablir la teva contrassenya. Si us plau, intenta-ho d'aquí a uns minuts.","lock.fallback":"Hi ha hagut un error al restablir la teva contrassenya."},"login":{"blocked_user":"L'usuari està bloquejat.","invalid_user_password":"Credencials incorrectes.","lock.fallback":"Hi ha hagut un error a l'inciar la sessió.","lock.invalid_code":"Codi invàlid.","lock.invalid_email_password":"Email i contrassenya invàlids.","lock.invalid_username_password":"Usuari i contrassenya invàlids.","lock.network":"Hi ha hagut un error de xarxa. Si us plau, verifica la teva connexió.","lock.popup_closed":"S'ha tancat la finestra emergent.","lock.unauthorized":"Accés denegt. Si us plau, intenta-ho un altre cop.","password_change_required":"Cal que actualitzis la teva contrassenya perquè és la primera vegada que entres o perquè la contrassenya ha caducat.","password_leaked":"S'ha bloquejat l'intent d'accés ja que has emprat la mateixa contrassenya per a registrarte en una aplicació que ha tingut filtració de seguretat recent. T'acabem d'enviar un email amb instruccions.","too_many_attempts":"El teu compte ha estat bloquejat ja que hi ha hagut massa intents d'inici de sessió consecutius."},"passwordless":{"bad.email":"Email no vàlid","bad.phone_number":"Telèfon no vàlid","lock.fallback":"Hi ha hagut un error en el moment de fer la petició"},"signUp":{"invalid_password":"Contrassenya no vàlida.","lock.fallback":"Hi ha hagut un error durant el registre.","password_dictionary_error":"La constrassenya és massa comú.","password_no_user_info_error":"La constrassenya és similar a les dades de l'usuari.","password_strength_error":"La contrassenya és molt dèbil.","user_exists":"L'usuari ja existeix.","username_exists":"Aquest nom d'usuari ja existeix."}},"success":{"logIn":"Sesió iniciada amb èxit.","forgotPassword":"T'acabem d'enviar un email per a completar la recuperació de la teva contrassenya.","magicLink":"T'acabem d'enviar un email perquè puguis iniciar sessió a
to %s.","signUp":"Registre completat amb èxit."},"blankErrorHint":"Requerit","codeInputPlaceholder":"còdi","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"o","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"o","emailInputPlaceholder":"email@exemple.com","enterpriseLoginIntructions":"Inicia sessió amb les teves credencials corporatives.","enterpriseActiveLoginInstructions":"Entra les credencials corporatives de %s.","failedLabel":"Error!","forgotPasswordAction":"¿Has oblidat la teva contrassenya?","forgotPasswordInstructions":"Si us plau, entra el teu email. T'enviarem les instruccions per a restablir-la.","forgotPasswordSubmitLabel":"Enviar email","invalidErrorHint":"Invàlido","lastLoginInstructions":"L´ultima vegada vas iniciar sessió amb","loginAtLabel":"Iniciar a %s","loginLabel":"Iniciar sessió","loginSubmitLabel":"Iniciar sessió","loginWithLabel":"Iniciar ambb %s","notYourAccountAction":"¿No es el teu compte?","passwordInputPlaceholder":"la teva contrassenya","passwordStrength":{"containsAtLeast":"Conté almenys %d dels següents %d tipus de caràcters:","identicalChars":"No més de %d caràcters idèntics junts (ej., \"%s\" no està permès)","nonEmpty":"La contrassenya no pot estar buida","numbers":"Números (ex. 0-9)","lengthAtLeast":"Como a mínim de %d caràcters de longitud","lowerCase":"Lletres minúscules (a-z)","shouldContain":"Ha de contenir:","specialCharacters":"Caràcters especials (ex. !@#$%^&*)","upperCase":"Lletres majúscules (A-Z)"},"passwordlessEmailAlternativeInstructions":"Tambié pots el teu email
per a iniciar sessió o registrar-te","passwordlessEmailCodeInstructions":"Hem enviat un email amb con el codi a %s.","passwordlessEmailInstructions":"Entra el teu email per a iniciar sessió
o registrar-te","passwordlessSMSAlternativeInstructions":"Tambié pots introduïr el teu telèfon
per a iniciar sessió o registrar-te","passwordlessSMSCodeInstructions":"S'ha enviat un SMS amb el codi
a %s.","passwordlessSMSInstructions":"Introdueix el teu telèfon per a iniciar sessió
o registrar-te","phoneNumberInputPlaceholder":"número de telèfon","resendCodeAction":"¿No has rebut el codi?","resendLabel":"Reenviar","resendingLabel":"Reenviant...","retryLabel":"Reintentar","sentLabel":"Enviat!","signUpLabel":"Registrar-se","signUpSubmitLabel":"Registrar-se","signUpTerms":"","signUpWithLabel":"Registrar-se amb %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Inici de sessió únic activat","submitLabel":"Enviar","unrecoverableError":"Hi ha hagut error.
Si us plau, contacta amb suport tècnic.","usernameFormatErrorHint":"%d-%d lletres, números i \"_\"","usernameInputPlaceholder":"el teu usuari","usernameOrEmailInputPlaceholder":"usuari/email","title":"Auth0","welcome":"Benvingut/da %s!","windowsAuthInstructions":"Estàs connectat/da des de la teva xarxa o entorn corporatiu…","windowsAuthLabel":"Autenticació de Windows"}); \ No newline at end of file diff --git a/build/cs.js b/build/cs.js new file mode 100644 index 000000000..620537602 --- /dev/null +++ b/build/cs.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("cs", {"error":{"forgotPassword":{"too_many_requests":"Dosáhli jste limitu v počtu pokusů o změnu hesla. Prosím počkejte před dalším pokusem.","lock.fallback":"Je nám líto, něco se pokazilo při pokusu o změnu hesla."},"login":{"blocked_user":"Uživatel je blokován.","invalid_user_password":"Chybné heslo.","lock.fallback":"Je nám líto, něco se pokazilo při pokusu o přihlášení.","lock.invalid_code":"Chybný kód.","lock.invalid_email_password":"Chybný email nebo heslo.","lock.invalid_username_password":"Chybné uživatelské jméno nebo heslo.","lock.network":"Nepodařilo se spojit se serverem. Prosím zkontrolujte internetové připojení a zkuste to znovu.","lock.popup_closed":"Vyskakovací okno zavřeno. Zkuste to znovu.","lock.unauthorized":"Povolení nebylo uděleno. Zkuste to znovu.","lock.mfa_registration_required":"Je vyžadována vícefaktorová autentizace, ale vaše zařízení není registrováno. Prosím registrujte ho, než budete pokračovat.","lock.mfa_invalid_code":"Chybný kód. Posíme zkuste to znovu.","password_change_required":"Je třeba aktualizovat heslo, neboť jde o první přihlášení nebo platnost hesla vypršela.","password_leaked":"Toto uživatelské jméno bylo zablokováno, protože došlo k úniku hesla na jiné webové stránce. Poslali jsme vám instrukce k odblokování na email.","too_many_attempts":"Váš účet byl zablokován z důvodu příliš velkého počtu pokusů o přihlášení."},"passwordless":{"bad.email":"Email je neplatný","bad.phone_number":"Telefonní číslo je neplatné","lock.fallback":"Je nám líto, něco se pokazilo"},"signUp":{"invalid_password":"Heslo je neplatné.","lock.fallback":"Je nám líto, něco se pokazilo při pokusu o registraci.","password_dictionary_error":"Heslo je příliš obyčejné.","password_no_user_info_error":"Heslo vychází z uživatelského jména.","password_strength_error":"Heslo je příliš slabé.","user_exists":"Uživatel už existuje.","username_exists":"Uživatelské jméno už existuje."}},"success":{"logIn":"Děkujeme za přihlášení.","forgotPassword":"Právě jsme vám poslali email s instrukcemi ke změně hesla.","magicLink":"Poslali jsme vám link k přihlášení
k %s.","signUp":"Děkujeme za registraci."},"blankErrorHint":"Nemůže zůstat prázdné","codeInputPlaceholder":"váš kód","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"nebo","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"nebo","emailInputPlaceholder":"vas@prikad.cz","enterpriseLoginIntructions":"Přihlaste se svým firemním účtem.","enterpriseActiveLoginInstructions":"Prosím zadejte údaje ke svému firemnímu účtu %s.","failedLabel":"Chyba!","forgotPasswordAction":"Zapoměli jste heslo?","forgotPasswordInstructions":"Prosím zadejte svou emailovou adresu. Pošleme vám email, díky němuž budete moci změnit heslo.","forgotPasswordSubmitLabel":"Poslat email","invalidErrorHint":"Nesprávný","lastLoginInstructions":"Naposled jste se přihlásili s","loginAtLabel":"Přihlásit k %s","loginLabel":"Přihlášení","loginSubmitLabel":"Přihlásit","loginWithLabel":"Přihlásit s %s","notYourAccountAction":"Není to váš účet?","passwordInputPlaceholder":"vaše heslo","passwordStrength":{"containsAtLeast":"Musí obsahovat nejméně %d z následujících %d druhů znaků:","identicalChars":"Ne více než %d stejný znaků za sebou (např. \"%s\" není dovoleno)","nonEmpty":"Heslo nesmí být prázdné","numbers":"Čísla (např. 0-9)","lengthAtLeast":"Délka nejméně %d znaků","lowerCase":"Malá písmena (a-z)","shouldContain":"Mělo by obsahovat:","specialCharacters":"Zvláštní znaky (např. !@#$%^&*)","upperCase":"Velká písmena (A-Z)"},"passwordlessEmailAlternativeInstructions":"Případně zadejte svůj email pro přihlášení
nebo vytvoření účtu","passwordlessEmailCodeInstructions":"Email s kódem byl odeslán na %s.","passwordlessEmailInstructions":"Zadejte svůj email pro přihlášení
nebo vytvoření účtu","passwordlessSMSAlternativeInstructions":"Případně zadejte svůj telefon pro přihlášení
nebo vytvoření účtu","passwordlessSMSCodeInstructions":"SMS s kódem byla odeslána
na %s.","passwordlessSMSInstructions":"Zadejte svůj email pro přihlášení
nebo vytvoření účtu","phoneNumberInputPlaceholder":"vaše telefonní číslo","resendCodeAction":"Nedostali jste kód?","resendLabel":"Poslat znovu","resendingLabel":"Posíláme znovu...","retryLabel":"Znovu","sentLabel":"Posláno!","signUpLabel":"Přihlášení","signUpSubmitLabel":"Přihlásit se","signUpTerms":"","signUpWithLabel":"Přihlásit se s %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On aktivován","submitLabel":"Odeslat","unrecoverableError":"Něco se pokazilo.
Prosíme spojte se s technickou podporou.","usernameFormatErrorHint":"Použijte %d-%d písmen, číslic a \"_\"","usernameInputPlaceholder":"vaše uživatelské jméno","usernameOrEmailInputPlaceholder":"uživatelské jméno/email","title":"Auth0","welcome":"Vítejte %s!","windowsAuthInstructions":"Jste připojeni ze své firemní sítě…","windowsAuthLabel":"Windows Autentizace","mfaInputPlaceholder":"Kód","mfaLoginTitle":"Dvoufázové ověření","mfaLoginInstructions":"Prosím zadejte ověřovací kód vygenerovaný vaší mobilní aplikací.","mfaSubmitLabel":"Přihlásit","mfaCodeErrorHint":"Použijte %d čísel"}); \ No newline at end of file diff --git a/build/da.js b/build/da.js new file mode 100644 index 000000000..dd952ca65 --- /dev/null +++ b/build/da.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("da", {"error":{"forgotPassword":{"too_many_requests":"Du har nået grænsen for forsøg på at skifte kodeord. Vent venligst før du prøver igen.","lock.fallback":"Vi beklager, men der skete en i forespørgslen efter nyt kodeord."},"login":{"blocked_user":"Denne bruger er blokeret.","invalid_user_password":"Forkerte loginoplysninger.","lock.fallback":"Vi beklager, men der skete en fejl i forbindelse med login.","lock.invalid_code":"Forkert kode.","lock.invalid_email_password":"Forkert email eller password.","lock.invalid_username_password":"Forkert brugernavn eller password.","lock.network":"Vi kunne for få forbindelse til serveren. Kontroller venligst din forbindelse og prøv igen.","lock.popup_closed":"Popup-vinduet er lukket. Prøv venligst igen.","lock.unauthorized":"Tilladelse blev ikke tildelt. Prøv igen.","password_change_required":"Du skal opdatere din adgangskode, fordi det er første gang du logger på, eller fordi din adgangskode er udløbet.","password_leaked":"Dette login er blevet blokeret, fordi din adgangskode er blevet lækket på en anden hjemmeside. Vi har sendt dig en e-mail med instruktioner om, hvordan du fjerner blokeringen.","too_many_attempts":"Din konto er blevet blokeret efter gentagne mislykkede login-forsøg."},"passwordless":{"bad.email":"Denne email er ugyldig","bad.phone_number":"Dette telefonnummer er ugyldigt","lock.fallback":"Vi beklager, men der skete en fejl"},"signUp":{"invalid_password":"Kodeordet er ugyldigt","lock.fallback":"Vi beklager, men der skete en fejl, da du forsøgte at oprette dig.","password_dictionary_error":"Kodeordet er for almindeligt.","password_no_user_info_error":"Kodeordet indeholder information om din bruger.","password_strength_error":"Kodeordet er for svagt.","user_exists":"Denne bruger eksisterer allerede.","username_exists":"Dette brugernavn eksisterer allerede."}},"success":{"logIn":"Tak fordi du loggede ind.","forgotPassword":"Vi har sendt den en mail med instruktioner til at nulstille dit kodeord.","magicLink":"Vi har sendt dig et link, som du kan bruge til at logge ind
i %s.","signUp":"Tak fordi du oprettede en bruger."},"blankErrorHint":"Kan ikke være tom","codeInputPlaceholder":"din kode","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"eller","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"eller","emailInputPlaceholder":"dit@eksempel.dk","enterpriseLoginIntructions":"Log ind med dit login til din virksomhed.","enterpriseActiveLoginInstructions":"Indtast venligst dit login hos %s.","failedLabel":"Mislykkede!","forgotPasswordAction":"Har du glemt dit kodeord?","forgotPasswordInstructions":"Indtast venligst din email, så sender vi instruktioner til at nulstille dit kodeord.","forgotPasswordSubmitLabel":"Send email","invalidErrorHint":"Ugyldig","lastLoginInstructions":"Sidste gang loggede du ind med","loginAtLabel":"Log ind hos %s","loginLabel":"Log Ind","loginSubmitLabel":"Log Ind","loginWithLabel":"Log ind med %s","notYourAccountAction":"Er det ikke din konto?","passwordInputPlaceholder":"dit kodeord","passwordStrength":{"containsAtLeast":"Skal indeholde mindt %d af de følgende %d typer af karakterer:","identicalChars":"Ikke mere end %d identiske karakterer efter hinanden (f.eks., \"%s\" er ikke tilladt)","nonEmpty":"Ikke-tomt kodeord er påkrævet","numbers":"Numre (f.eks. 0-9)","lengthAtLeast":"Mindst %d karakterer langt","lowerCase":"Små bogstaver (a-z)","shouldContain":"Skal indeholde:","specialCharacters":"Specielle karakterer (f.eks. !@#$%^&*)","upperCase":"Store bogstaver (A-Z)"},"passwordlessEmailAlternativeInstructions":"Ellers, indtast din email for at logge ind
eller oprette en konto","passwordlessEmailCodeInstructions":"En email med koden er sendt til %s.","passwordlessEmailInstructions":"Indtast din email for at logge ind
eller oprette en konto","passwordlessSMSAlternativeInstructions":"Ellers, indtast dit telefonnummer for at logge ind
eller oprette en konto","passwordlessSMSCodeInstructions":"En SMS med kode er sendt
til %s.","passwordlessSMSInstructions":"Indtast dit telefonnummer for at logge ind
eller oprette en konto","phoneNumberInputPlaceholder":"dit telefonnummer","resendCodeAction":"Har du ikke modtaget koden?","resendLabel":"Send igen","resendingLabel":"Sender igen...","retryLabel":"Prøv igen","sentLabel":"Sendt!","signUpLabel":"Opret dig","signUpSubmitLabel":"Opret dig","signUpTerms":"","signUpWithLabel":"Opret dig med %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On aktiveret","submitLabel":"Send","unrecoverableError":"Der skete en fejl.
Kontakt venligst den tekniske support.","usernameFormatErrorHint":"Brug %d-%d bogstaver, numre og \"_\"","usernameInputPlaceholder":"dit brugernavn","usernameOrEmailInputPlaceholder":"brugernavn/email","title":"Auth0","welcome":"Velkommen %s!","windowsAuthInstructions":"Du er forbundet fra din virksomheds netværk…","windowsAuthLabel":"Windows Authentication"}); \ No newline at end of file diff --git a/build/de.js b/build/de.js new file mode 100644 index 000000000..ac9eb8492 --- /dev/null +++ b/build/de.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("de", {"error":{"forgotPassword":{"too_many_requests":"Sie haben das Limit für die Rücksetzung des Passworts erreicht. Bitte warten Sie, bevor Sie es erneut versuchen.","lock.fallback":"Beim Zurücksetzen des Passworts ist ein Fehler aufgetreten."},"login":{"blocked_user":"Der Benutzer wird blockiert.","invalid_user_password":"Falsche Anmeldeinformationen.","lock.fallback":"Beim Verarbeiten der Anmeldung ist ein Fehler aufgetreten.","lock.invalid_code":"Falscher Code.","lock.invalid_email_password":"Falsche E-Mail oder Passwort.","lock.invalid_username_password":"Falscher Benutzername oder Passwort.","lock.network":"Der Server antwortet nicht.
Bitte erneut versuchen.","lock.popup_closed":"Pop-up-Fenster geschlossen. Versuchen Sie es erneut.","lock.unauthorized":"Genehmigungen wurden nicht erteilt. Versuchen Sie es erneut.","password_change_required":"Sie müssen Ihr Passwort ändern, da Sie sich zum ersten Mal anmelden oder das Passwort abgelaufen ist.","password_leaked":"Sie müssen Ihr Passwort ändern, da Sie sich zum ersten Mal anmelden oder das Passwort abgelaufen ist.","too_many_attempts":"Ihr Konto wurde nach mehreren aufeinander folgenden Anmeldeversuche gesperrt."},"passwordless":{"bad.email":"Die E-Mail ist ungültig","bad.phone_number":"Die Telefonnummer ist ungültig","lock.fallback":"Es tut uns leid. Etwas ist schief gegangen."},"signUp":{"invalid_password":"Passwort ist ungültig.","lock.fallback":"Beim Verarbeiten der Registrierung ist ein Fehler aufgetreten.","password_dictionary_error":"Das Passwort ist zu allgemein.","password_no_user_info_error":"Passwort basiert auf Benutzerinformationen.","password_strength_error":"Passwort ist nicht sicher genug.","user_exists":"Der Nutzer existiert bereits.","username_exists":"Der Nutzername wird bereits verwendet."}},"success":{"logIn":"Danke für die Anmeldung.","forgotPassword":"Sie haben eine E-Mail erhalten, um Ihr Passwort zurückzusetzen.","magicLink":"Wir senden Ihnen einen Link zu anmelden
um %s.","signUp":"Danke für's Registrieren."},"blankErrorHint":"Kann nicht leer sein","codeInputPlaceholder":"dein Code","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"oder","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"oder","emailInputPlaceholder":"yours@example.com","enterpriseLoginIntructions":"Einloggen mit Ihrem Firmenanmeldeinformationen.","enterpriseActiveLoginInstructions":"Bitte geben Sie Ihre Unternehmensanmeldeinformationen bei %s.","failedLabel":"Gescheitert!","forgotPasswordAction":"Passwort vergessen?","forgotPasswordInstructions":"Geben Sie bitte Ihre Email-Adresse ein. Wir werden Ihnen eine E-Mail senden um Ihr Passwort zurücksetzen zu können.","forgotPasswordSubmitLabel":"E-Mail senden","invalidErrorHint":"Ungültig","lastLoginInstructions":"Letztes Mal waren Sie angemeldet mit","loginAtLabel":"Anmelden bei %s","loginLabel":"Anmelden","loginSubmitLabel":"Anmelden","loginWithLabel":"Anmelden mit %s","notYourAccountAction":"Falscher Account?","passwordInputPlaceholder":"Ihr Passwort","passwordStrength":{"containsAtLeast":"Enthält mindestens %d der folgenden %d Arten der Zeichen:","identicalChars":"Nicht mehr als %d identische Zeichen in Folge (z. B. \"%s\" ist nicht erlaubt)","nonEmpty":"Das Passwort darf nicht leer sein","numbers":"Zahlen (z. B. 0-9)","lengthAtLeast":"Muss mindestens %d Zeichen lang sein","lowerCase":"Kleinbuchstaben (a-z)","shouldContain":"Sollte enthalten:","specialCharacters":"Sonderzeichen (z. B. !@#$%^&*)","upperCase":"Großbuchstaben (A-Z)"},"passwordlessEmailAlternativeInstructions":"Andernfalls geben Sie Ihre E-Mail in
anmelden oder ein Konto erstellen","passwordlessEmailCodeInstructions":"Eine E-Mail mit dem Code wurde %s gesendet.","passwordlessEmailInstructions":"Geben Sie einfach Ihre E-Mail in
anmelden oder ein Konto erstellen","passwordlessSMSAlternativeInstructions":"Andernfalls geben Sie Ihre Telefon in
anmelden oder ein Konto erstellen","passwordlessSMSCodeInstructions":"Eine SMS mit dem Code wurde
%s gesendet.","passwordlessSMSInstructions":"Geben Sie Ihre Telefonnummer in
anmelden oder ein Konto erstellen","phoneNumberInputPlaceholder":"deine Telefonnummer","resendCodeAction":"Haben Sie nicht den Code bekommen?","resendLabel":"Erneut senden","resendingLabel":"Erneutes Senden...","retryLabel":"Wiederholen","sentLabel":"Senden","signUpLabel":"Registrieren","signUpSubmitLabel":"Registrieren","signUpTerms":"","signUpWithLabel":"Registrieren mit %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On aktiviert","submitLabel":"Einreichen","unrecoverableError":"Etwas ist schief gelaufen.
Bitte kontaktieren Sie den technischen Support.","usernameFormatErrorHint":"Verwenden Sie %d-%d Buchstaben, Zahlen und \"_\"","usernameInputPlaceholder":"dein Benutzername","usernameOrEmailInputPlaceholder":"Benutzername/E-Mail","title":"Auth0","welcome":"Willkommen %s!","windowsAuthInstructions":"Sie sind über Ihr Firmennetzwerk verbunden…","windowsAuthLabel":"Windows Authentication"}); \ No newline at end of file diff --git a/build/en.js b/build/en.js new file mode 100644 index 000000000..ca37ab373 --- /dev/null +++ b/build/en.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("en", {"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
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
or create an account","passwordlessEmailCodeInstructions":"An email with the code has been sent to %s.","passwordlessEmailInstructions":"Enter your email to sign in
or create an account","passwordlessSMSAlternativeInstructions":"Otherwise, enter your phone to sign in
or create an account","passwordlessSMSCodeInstructions":"An SMS with the code has been sent
to %s.","passwordlessSMSInstructions":"Enter your phone to sign in
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.
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"}); \ No newline at end of file diff --git a/build/es.js b/build/es.js new file mode 100644 index 000000000..9ca592a9c --- /dev/null +++ b/build/es.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("es", {"error":{"forgotPassword":{"too_many_requests":"Se ha alcanzado el límite de intentos para restablecer su contraseña. Por favor, aguarde unos minutos.","lock.fallback":"Ocurrió un error al restablecer su contraseña."},"login":{"blocked_user":"El usuario se encuentra bloqueado.","invalid_user_password":"Credenciales inválidas.","lock.fallback":"Ocurrió un error al inciar sesión.","lock.invalid_code":"Código inválido.","lock.invalid_email_password":"Correo y contraseña inválidos.","lock.invalid_username_password":"Usuario y contraseña inválidos.","lock.network":"Ocurrió un error de red. Por favor, verifique su conexión.","lock.popup_closed":"Se ha cerrado la ventana emergente.","lock.unauthorized":"Acceso denegado. Por favor, intente nuevamente.","password_change_required":"Debe actualizar su contraseña porque es la primera vez que ingresa o porque la contraseña está vencida.","password_leaked":"Este intento ha sido bloqueado ya que usted utilizó la misma contraseña para registrarse en otra aplicación que tuvo una filtración reciente. Hemos enviado un email con las instrucciones.","too_many_attempts":"Su cuenta ha sido bloqueada luego de múltiples intentos de inicio de sesión consecutivos.","lock.mfa_registration_required":"Por favor enrole su dispositivo antes de continuar con el segundo factor.","lock.mfa_invalid_code":"Código incorrecto. Por favor vuelva a intentarlo."},"passwordless":{"bad.email":"Correo inválido","bad.phone_number":"Teléfono inválido","lock.fallback":"Ocurrió un error durante el envío"},"signUp":{"invalid_password":"La contraseña es inválida.","lock.fallback":"Ocurrió un error durante el registro.","password_dictionary_error":"La constraseña es muy común.","password_no_user_info_error":"La constraseña es similar a los datos del usuario.","password_strength_error":"La contraseña es muy débil.","user_exists":"El usuario ya existe.","username_exists":"El nombre de usuario se encuentra en uso."}},"success":{"logIn":"Sesión iniciada con éxito.","forgotPassword":"Hemos enviado un correo para completar el restablecimiento de su contraseña.","magicLink":"Hemos enviado un correo para inciar sesión a
to %s.","signUp":"Registro completado exitosamente."},"blankErrorHint":"Requerido","codeInputPlaceholder":"código","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"o","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"o","emailInputPlaceholder":"correo@ejemplo.com","enterpriseLoginIntructions":"Inicie sesión con sus credenciales corporativas.","enterpriseActiveLoginInstructions":"Ingrese las credenciales corporativas de %s.","failedLabel":"Error!","forgotPasswordAction":"¿Olvidó su contraseña?","forgotPasswordInstructions":"Por favor ingrese su dirección de correo. Le enviaremos las instrucciones para restablecer su contrseña.","forgotPasswordSubmitLabel":"Enviar email","invalidErrorHint":"Inválido","lastLoginInstructions":"La última vez inició sesión con","loginAtLabel":"Iniciar en %s","loginLabel":"Iniciar sesión","loginSubmitLabel":"Iniciar sesión","loginWithLabel":"Iniciar con %s","notYourAccountAction":"¿No es su cuenta?","passwordInputPlaceholder":"su contraseña","passwordStrength":{"containsAtLeast":"Contener al menos %d de los siguientes %d tipos de caracteres:","identicalChars":"No más de %d caracteres idénticos juntos (ej., \"%s\" no está permitido)","nonEmpty":"Se requiere una contraseña no vacía","numbers":"Números (ej. 0-9)","lengthAtLeast":"Como mínimo de %d caracteres de longitud","lowerCase":"Letras minúsculas (a-z)","shouldContain":"Debe contener:","specialCharacters":"Caracteres especiales (ej. !@#$%^&*)","upperCase":"Letras mayúsculas (A-Z)"},"passwordlessEmailAlternativeInstructions":"También puede ingresar su email
para iniciar sesión o registrarse","passwordlessEmailCodeInstructions":"Se ha enviado un correo con el código a %s.","passwordlessEmailInstructions":"Ingrese su email para iniciar sesión
o registrarse","passwordlessSMSAlternativeInstructions":"También puede ingresar su teléfono
para iniciar sesión o registrarse","passwordlessSMSCodeInstructions":"Se ha enviado un SMS con el código
a %s.","passwordlessSMSInstructions":"Ingrese su teléfono para iniciar sesión
o registrarse","phoneNumberInputPlaceholder":"número de teléfono","resendCodeAction":"¿No recibió el código?","resendLabel":"Reenviar","resendingLabel":"Reenviando...","retryLabel":"Reintentar","sentLabel":"Enviado!","signUpLabel":"Registrarse","signUpSubmitLabel":"Registrarse","signUpTerms":"","signUpWithLabel":"Registrarse con %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Inicio de sesión único activado","submitLabel":"Enviar","unrecoverableError":"Ocurrió un error.
Por favor, contacte a soporte técnico.","usernameFormatErrorHint":"%d-%d letras, números y \"_\"","usernameInputPlaceholder":"su usuario","usernameOrEmailInputPlaceholder":"usuario/correo electrónico","title":"Auth0","welcome":"Bienvenido %s!","windowsAuthInstructions":"Usted se encuentra conectado desde su red corporativa…","windowsAuthLabel":"Autenticación de Windows","mfaInputPlaceholder":"Código","mfaLoginTitle":"Segundo Factor","mfaLoginInstructions":"Por favor ingrese el código de verificación generado por su aplicación móvil.","mfaSubmitLabel":"Enviar","mfaCodeErrorHint":"%d números"}); \ No newline at end of file diff --git a/build/fr.js b/build/fr.js new file mode 100644 index 000000000..783256b93 --- /dev/null +++ b/build/fr.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("fr", {"error":{"forgotPassword":{"too_many_requests":"Vous avez atteint la limite de tentatives de changement de mot de passe. Veuillez patienter avant de recommencer.","lock.fallback":"Nous sommes désolés, un problème est survenu lors de la demande de changement de mot de passe."},"login":{"blocked_user":"L’utilisateur est bloqué.","invalid_user_password":"Mauvais identifiants.","lock.fallback":"Nous sommes désolés, un problème est survenu lors de la tentative de connexion.","lock.invalid_code":"Mauvais code.","lock.invalid_email_password":"Mauvaise adresse de messagerie ou mot de passe.","lock.invalid_username_password":"Mauvais nom d’utilisateur ou mot de passe.","lock.network":"Nous ne pouvons pas joindre le serveur. Vérifiez votre connexion et réessayez.","lock.popup_closed":"La fenêtre popup a été fermée. Veuillez réessayer.","lock.unauthorized":"Les permissions n’ont pas été accordées. Veuillez réessayer.","password_change_required":"Vous devez mettre à jour votre mot de passe, soit parce qu’il s’agit de votre première connexion, soit parce que ce dernier a expiré.","password_leaked":"Cette connexion a été bloquée parce que votre mot de passe a été utilisé sur un autre site web. Nous vous avons envoyé un courriel avec des instructions pour la débloquer.","too_many_attempts":"Votre compte a été bloqué à la suite de trop nombreuses tentatives de connexion consécutives."},"passwordless":{"bad.email":"L’adresse de messagerie n’est pas valide","bad.phone_number":"Le numéro de téléphone n’est pas valide","lock.fallback":"Nous sommes désolés, un problème est survenu"},"signUp":{"invalid_password":"Le mot de passe n’est pas valide.","lock.fallback":"Nous sommes désolés, un problème est survenu lors de la tentative d’inscription.","password_dictionary_error":"Le mot de passe est trop commun.","password_no_user_info_error":"Le mot de passe est basé sur des informations utilisateur.","password_strength_error":"La force du mot de passe est trop faible.","user_exists":"Cet utilisateur existe déjà.","username_exists":"Ce nom d’utilisateur existe déjà."}},"success":{"logIn":"Merci de vous être connecté.","forgotPassword":"Nous venons de vous envoyer un courriel pour réinitialiser votre mot de passe.","magicLink":"Nous vous avons envoyé un lien pour vous connecter
à %s.","signUp":"Merci de vous être inscrit."},"blankErrorHint":"Ne peut être vide","codeInputPlaceholder":"votre code","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"ou","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"ou","emailInputPlaceholder":"votreadresse@exemple.com","enterpriseLoginIntructions":"Connectez-vous avec vos identifiants d’entreprise.","enterpriseActiveLoginInstructions":"Veuillez entrer les identifiants de connexion de votre entreprise %s.","failedLabel":"A échoué !","forgotPasswordAction":"Mot de passe oublié ?","forgotPasswordInstructions":"Veuillez entrer votre adresse de messagerie. Nous vous enverrons un courriel pour réinitialiser votre mot de passe.","forgotPasswordSubmitLabel":"Envoyer le courriel","invalidErrorHint":"Invalide","lastLoginInstructions":"Dernière connexion avec","loginAtLabel":"Connexion à %s","loginLabel":"Connexion","loginSubmitLabel":"Connexion","loginWithLabel":"Se connecter avec %s","notYourAccountAction":"Ceci n’est pas votre compte ?","passwordInputPlaceholder":"Votre mot de passe","passwordStrength":{"containsAtLeast":"Doit contenir au moins %d des %d types de caractères :","identicalChars":"Pas plus de %d caractères identiques dans une ligne (par ex., « %s » n’est pas autorisé)","nonEmpty":"Mot de passe non vide requis","numbers":"Chiffres (i.e. 0-9)","lengthAtLeast":"Au moins %d caractères","lowerCase":"Lettres minuscules (a-z)","shouldContain":"Doit contenir :","specialCharacters":"Caractères spéciaux (par ex. !@#$%^&*)","upperCase":"Lettres majuscules (A-Z)"},"passwordlessEmailAlternativeInstructions":"Sinon entrez votre adresse de messagerie pour vous connecter
ou créez un compte","passwordlessEmailCodeInstructions":"Un courriel avec le code a été envoyé à %s.","passwordlessEmailInstructions":"Entrez votre adresse de messagerie pour vous connecter
ou créez un compte","passwordlessSMSAlternativeInstructions":"Sinon entrez votre numéro de téléphone pour vous connecter
ou créez un compte","passwordlessSMSCodeInstructions":"Un SMS avec le code a été envoyé
à %s.","passwordlessSMSInstructions":"Entrez votre numéro de téléphone pour vous connecter
ou créez un compte","phoneNumberInputPlaceholder":"votre numéro de téléphone","resendCodeAction":"Vous n’avez pas reçu le code ?","resendLabel":"Envoyer une nouvelle fois","resendingLabel":"Nouvel envoi en cours…","retryLabel":"Réessayer","sentLabel":"Envoyé !","signUpLabel":"Inscription","signUpSubmitLabel":"Inscription","signUpTerms":"","signUpWithLabel":"S’inscrire avec %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Authentification unique activée","submitLabel":"Envoyer","unrecoverableError":"Un problème est survenu.
Veuillez contacter l’assistance technique.","usernameFormatErrorHint":"Utilisez entre %d-%d lettres, chiffres et « _ »","usernameInputPlaceholder":"votre nom d’utilisateur","usernameOrEmailInputPlaceholder":"nom d’utilisateur/adresse de messagerie","title":"Auth0","welcome":"Bienvenue %s !","windowsAuthInstructions":"Vous êtes connecté depuis votre réseau d’entreprise...","windowsAuthLabel":"Authentification Windows"}); \ No newline at end of file diff --git a/build/hu.js b/build/hu.js new file mode 100644 index 000000000..a59c99657 --- /dev/null +++ b/build/hu.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("hu", {"error":{"forgotPassword":{"too_many_requests":"Elérted a jelszóváltoztatási probálkozások engedélyezett számát. Kérlek, várj egy kicsit mielőtt újrapróbálnád!","lock.fallback":"Sajnáljuk, valami hiba történt a jelszóváltoztatás során."},"login":{"blocked_user":"A felhasználó nincsen engedélyezve.","invalid_user_password":"Hibás bejelentkezés.","lock.fallback":"Sajnáljuk, valami hiba történt a bejelentkezés során.","lock.invalid_code":"Hibás PIN.","lock.invalid_email_password":"Hibás e-mail vagy jelszó.","lock.invalid_username_password":"Hibás felhasználónév vagy jelszó.","lock.network":"A szerver nem elérhető. Kérlek, ellenőrizd az internetkapcsolatot, és próbáld újra.!","lock.popup_closed":"A felugró ablak be lett zárva. Próbáld újra!","lock.unauthorized":"Engedély megtagadva. Próbáld újra!","password_change_required":"A jelszavadat meg kell változtatnod, mert vagy most lépsz be először, vagy lejárt a jelszavad.","password_leaked":"Az azonosítót letiltottuk, mert a hozzá tartozó jelszó egy másik honlapon nyilvánosságra került. Küldtünk neked egy e-mailt az azonosító engedélyezésének menetéről.","too_many_attempts":"Több gyakori bejelentkezés után az azonosítódat letiltottuk."},"passwordless":{"bad.email":"Érvénytelen e-mailcím","bad.phone_number":"Érvénytelen telefonszám","lock.fallback":"Sajnáljuk, valami hiba történt"},"signUp":{"invalid_password":"Érvénytelen jelszó.","lock.fallback":"Sajnáljuk, a feliratkozás során valami hiba történt.","password_dictionary_error":"Túl gyakori jelszó.","password_no_user_info_error":"A jelszó a felhasználói adatokra támaszkodik.","password_strength_error":"Túl gyenge jelszó.","user_exists":"A felhasználó már létezik.","username_exists":"A felhasználónév már foglalt."}},"success":{"logIn":"Köszönjük a bejelentkezésed","forgotPassword":"Küldtünk neked egy e-mailt a jelszó visszaállításának menetéről.","magicLink":"Küldtünk neked egy bejelentkezési linket
a %s honlaphoz.","signUp":"Köszönjük, hogy feliratkoztál."},"blankErrorHint":"Nem lehet üres","codeInputPlaceholder":"PIN","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"vagy","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"vagy","emailInputPlaceholder":"emailcim@example.com","enterpriseLoginIntructions":"Bejelentkezés céges azonosítóval.","enterpriseActiveLoginInstructions":"Kérlek, add meg a céges azonosítódat a %s honlapon.","failedLabel":"Sikertelen!","forgotPasswordAction":"Nem emlékszel a jelszavadra?","forgotPasswordInstructions":"Kérlek, add meg az e-mailcímedet! Küldünk neked egy e-mailt a jelszó helyreállításának menetéről.","forgotPasswordSubmitLabel":"E-mail küldése","invalidErrorHint":"Érvénytelen","lastLoginInstructions":"Utolsó bejelentkezés","loginAtLabel":"Bejelentkezés ideje: %s","loginLabel":"Belépés","loginSubmitLabel":"Belépés","loginWithLabel":"Belépés %s-val","notYourAccountAction":"Nem a te fiókod?","passwordInputPlaceholder":"jelszavad","passwordStrength":{"containsAtLeast":"Legalább %d alkalommal tartalmazza a következő %d karaktert:","identicalChars":"Legfeljebb %d azonos karakter szerepelhet egy sorban (pl. \"%s\" nem engedélyezett)","nonEmpty":"A jelszó nem lehet üres","numbers":"Számok (0-9)","lengthAtLeast":"Legalább %d hosszú","lowerCase":"Kisbetűk (a-z)","shouldContain":"Tartalmazzon:","specialCharacters":"Különleges karakterek (e.g. !@#$%^&*)","upperCase":"Nagybetűk (A-Z)"},"passwordlessEmailAlternativeInstructions":"Vagy, bejelentkezéshez vagy feliratkozáshoz
add meg az e-mailcímed","passwordlessEmailCodeInstructions":"A PIN-t e-mailben elküldük a %s címre.","passwordlessEmailInstructions":"Bejelentkezéshez vagy feliratkozáshoz
add meg az e-mailcímed","passwordlessSMSAlternativeInstructions":"Vagy, bejelentkezéshez vagy feliratkozáshoz
add meg a telefonszámod","passwordlessSMSCodeInstructions":"A PIN-t SMS-ben elküldtük a %s számra.","passwordlessSMSInstructions":"Bejelentkezéshez vagy feliratkozáshoz
add meg a telefonszámod","phoneNumberInputPlaceholder":"telefonszámod","resendCodeAction":"Nem kaptad meg a PIN-t?","resendLabel":"Újraküldés","resendingLabel":"Újraküldés...","retryLabel":"Próbáld újra","sentLabel":"Elküldve!","signUpLabel":"Feliratkozás","signUpSubmitLabel":"Feliratkozás","signUpTerms":"","signUpWithLabel":"Feliratkozás %s-val","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Egyszeri bejelentkezés engedélyezve","submitLabel":"Mehet","unrecoverableError":"Valaim hiba történt.
Kérlek, lépj kapcsolatba a műszaki ügyfélszolgálattal.","usernameFormatErrorHint":"Használj %d-%d betűt, számot és \"_\"-t","usernameInputPlaceholder":"felhasználóneved","usernameOrEmailInputPlaceholder":"felhasználónév/e-mail","title":"Auth0","welcome":"Üdvözöllek %s!","windowsAuthInstructions":"A céged hálózatoddal kapcsolódsz…","windowsAuthLabel":"Windows bejelentkezés"}); \ No newline at end of file diff --git a/build/it.js b/build/it.js new file mode 100644 index 000000000..656539d41 --- /dev/null +++ b/build/it.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("it", {"error":{"forgotPassword":{"too_many_requests":"Lei è stato raggiunto il limite di tentativi di modifica della password . Si prega di attendere prima di riprovare.","lock.fallback":"Ci dispiace, qualcosa è andato storto quando si richiede la modifica della password."},"login":{"blocked_user":"L’utente è bloccato.","invalid_user_password":"Credenziali non corrette.","lock.fallback":"Ci dispiace, qualcosa è andato storto quando si tenta di accedere.","lock.invalid_code":"Codice errato.","lock.invalid_email_password":"email o password sbagliata.","lock.invalid_username_password":"Nome utente o password sbagliata.","lock.network":"Non siamo riusciti a raggiungere il server. Si prega di controllare la connessione e riprova.","lock.popup_closed":"Finestra popup chiusa. Riprova per favore.","lock.unauthorized":"Autorizzazioni non sono state concesse. Riprova per favore.","password_change_required":"È necessario aggiornare la password perché questa è la prima volta che si esegue il login, or perché la password è scaduta.","password_leaked":"Questo accesso è stato bloccato perché la password è trapelato in un altro sito . Ti abbiamo inviato una email con le istruzioni su come sbloccarla.","too_many_attempts":"Il suo account è stato bloccato dopo vari tentativi di accesso consecutivi."},"passwordless":{"bad.email":"L’email non è valido ","bad.phone_number":"Il numero di telefono non è valido","lock.fallback":"Ci dispiace, qualcosa è andato storto"},"signUp":{"invalid_password":"La password non è valida.","lock.fallback":"Ci dispiace, qualcosa è andato storto quando si tenta di iscriversi.","password_dictionary_error":"La password è troppo comune.","password_no_user_info_error":"La password si basa sulle informazioni dell'utente.","password_strength_error":"La password è troppo debole.","user_exists":"L’utente esiste già.","username_exists":"Il nome utente esiste già."}},"success":{"logIn":"Grazie per il login.","forgotPassword":"Abbiamo appena inviato un email per reimpostare la password.","magicLink":"La abbiamo inviato un link per il login
a %s.","signUp":"Grazie per esserti iscritto."},"blankErrorHint":"Non può essere vuoto","codeInputPlaceholder":"il Suo codice","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"o","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"or","emailInputPlaceholder":"email@example.com","enterpriseLoginIntructions":"Effettuare il login con le credenziali aziendali.","enterpriseActiveLoginInstructions":"Si prega di inserire le credenziali aziendali a %s.","failedLabel":"Fallito!","forgotPasswordAction":"Non ricordo la password?","forgotPasswordInstructions":"Si prega d’inserare il Suo indirizzo email. La invieremo una email per reimpostare la password.","forgotPasswordSubmitLabel":"Inviare email","invalidErrorHint":"Non valido","lastLoginInstructions":"L’ultima volta Lei ha effettuato l’accesso con","loginAtLabel":"Accedere a %s","loginLabel":"Accesso","loginSubmitLabel":"Accesso","loginWithLabel":"Accede con %s","notYourAccountAction":"Non è il suo account?","passwordInputPlaceholder":"La sua password","passwordStrength":{"containsAtLeast":"Essa deve contenere almeno %d dei seguenti %d tipi di caratteri:","identicalChars":"Non più di %d caratteri identici in una fila (e.g., \"%s\" non autorizzato)","nonEmpty":"La password non vuota richiesta","numbers":"Numeri (i.e. 0-9)","lengthAtLeast":"Almeno %d caratteri di lunghezza","lowerCase":"Lettere minuscole (a-z)","shouldContain":"Dovrebbe contenere:","specialCharacters":"Caratteri speciali (e.g. !@#$%^&*)","upperCase":"Caratteri maiuscoli (A-Z)"},"passwordlessEmailAlternativeInstructions":"Altrimenti, si prega d’inserare la Sua email per accedere
o creare un account","passwordlessEmailCodeInstructions":"Una email con il codice è stato inviato %s.","passwordlessEmailInstructions":"Si prega d’inserare la Sua email
o creare un account","passwordlessSMSAlternativeInstructions":"Altrimenti, si prega d’inserare il numero di telefono per accedere
o creare un account","passwordlessSMSCodeInstructions":"Un SMS con il codice è stato inviato
a %s.","passwordlessSMSInstructions":"Si prega d’inserare il numero di telefono
o creare un account","phoneNumberInputPlaceholder":"il Suo numero di telefono","resendCodeAction":"Non ha ottentuo il codice?","resendLabel":"Inviare di nuovo","resendingLabel":"Reinvio...","retryLabel":"Riprovare per favore","sentLabel":"Inviato!","signUpLabel":"Registrazione","signUpSubmitLabel":"Registrazione","signUpTerms":"","signUpWithLabel":"Registra con %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On abilitati","submitLabel":"Invio","unrecoverableError":"Qualcosa è andato storto.
Si prega di contattare il supporto tecnico.","usernameFormatErrorHint":"Si prega di utilizzare %d-%d lettere, numeri e \"_\"","usernameInputPlaceholder":"il Suo nome utente","usernameOrEmailInputPlaceholder":"il Suo nome utente or email","title":"Auth0","welcome":"Benvenuto %s!","windowsAuthInstructions":"Si è connessi dalla rete aziendale…","windowsAuthLabel":"Autenticazione Windows"}); \ No newline at end of file diff --git a/build/lock.js b/build/lock.js new file mode 100644 index 000000000..b709d6388 --- /dev/null +++ b/build/lock.js @@ -0,0 +1,41841 @@ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(); + else if(typeof define === 'function' && define.amd) + define("Auth0Lock", [], factory); + else if(typeof exports === 'object') + exports["Auth0Lock"] = factory(); + else + root["Auth0Lock"] = factory(); +})(this, function() { +return /******/ (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); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ function(module, exports, __webpack_require__) { + + /* WEBPACK VAR INJECTION */(function(global) {'use strict'; + + var _index = __webpack_require__(141); + + 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__(46); + +/***/ }, +/* 2 */ +/***/ 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; + +/***/ }, +/* 3 */ +/***/ 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.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.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 _immutable = __webpack_require__(9); + + var _immutable2 = _interopRequireDefault(_immutable); + + var _media_utils = __webpack_require__(146); + + var _string_utils = __webpack_require__(94); + + var _url_utils = __webpack_require__(314); + + var _i18n = __webpack_require__(14); + + var i18n = _interopRequireWildcard(_i18n); + + var _trim = __webpack_require__(26); + + var _trim2 = _interopRequireDefault(_trim); + + var _gravatar_provider = __webpack_require__(267); + + var gp = _interopRequireWildcard(_gravatar_provider); + + var _data_utils = __webpack_require__(19); + + var _index = __webpack_require__(136); + + 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 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 connections.apply(undefined, [m, type].concat(strategies)).count() > 0; + } + + 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 _len5 = arguments.length, args = Array(_len5 > 2 ? _len5 - 2 : 0), _key5 = 2; _key5 < _len5; _key5++) { + args[_key5 - 2] = arguments[_key5]; + } + + return get(m, "hookRunner").apply(undefined, [str, m].concat(args)); + } + + function emitEvent(m, str) { + for (var _len6 = arguments.length, args = Array(_len6 > 2 ? _len6 - 2 : 0), _key6 = 2; _key6 < _len6; _key6++) { + args[_key6 - 2] = arguments[_key6]; + } + + 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.dict = opts.dict || {}; + + m = tset(m, ["ui", "language"], opts.language); + m = tset(m, ["ui", "dict"], opts.dict); + + m = i18n.initI18n(m); + } + + if (typeof opts.rememberLastLogin === "boolean") { + m = tset(m, "rememberLastLogin", opts.rememberLastLogin); + } + + return m; + } + +/***/ }, +/* 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. + * + * @providesModule reactProdInvariant + * + */ + '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 */ +/***/ function(module, exports, __webpack_require__) { + + /** + * 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__(13); + + /** + * 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; + +/***/ }, +/* 6 */ +/***/ 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; + }; + +/***/ }, +/* 7 */ +/***/ 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. + * + * @providesModule ReactDOMComponentTree + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var DOMProperty = __webpack_require__(31); + var ReactDOMComponentFlags = __webpack_require__(106); + + var invariant = __webpack_require__(2); + + 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; + +/***/ }, +/* 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__(26); + + var _trim2 = _interopRequireDefault(_trim); + + var _option_selection_pane = __webpack_require__(294); + + var _option_selection_pane2 = _interopRequireDefault(_option_selection_pane); + + var _index = __webpack_require__(3); + + 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__(3); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(8); + + var _data_utils = __webpack_require__(19); + + var _sync = __webpack_require__(43); + + var _sync2 = _interopRequireDefault(_sync); + + var _trim = __webpack_require__(26); + + var _trim2 = _interopRequireDefault(_trim); + + var _tenant = __webpack_require__(84); + + 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) { + return databaseConnectionRequiresUsername(m) ? get(m, "usernameStyle", "any") : "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__(309); + + 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) { + + "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; + +/***/ }, +/* 14 */ +/***/ 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__(82); + + var _sync = __webpack_require__(43); + + var _sync2 = _interopRequireDefault(_sync); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _data_utils = __webpack_require__(19); + + var _en = __webpack_require__(296); + + var _en2 = _interopRequireDefault(_en); + + var _cdn_utils = __webpack_require__(93); + + 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.6.0' + '/' + 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 + }); + +/***/ }, +/* 15 */ +/***/ 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. + * + * @providesModule ReactInstrumentation + */ + + 'use strict'; + + var debugTool = null; + + if (false) { + var ReactDebugTool = require('./ReactDebugTool'); + debugTool = ReactDebugTool; + } + + module.exports = { debugTool: debugTool }; + +/***/ }, +/* 16 */ +/***/ 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. + * + * @providesModule ReactElement + */ + + '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__(6); + + var ReactCurrentOwner = __webpack_require__(24); + + var warning = __webpack_require__(5); + var canDefineProperty = __webpack_require__(119); + var hasOwnProperty = Object.prototype.hasOwnProperty; + + // 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; + + 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 = {}; + var shadowChildren = Array.isArray(props.children) ? props.children.slice(0) : props.children; + + // 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 + }); + Object.defineProperty(element, '_shadowChildren', { + configurable: false, + enumerable: false, + writable: false, + value: shadowChildren + }); + // 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._shadowChildren = shadowChildren; + 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]; + } + 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; + }; + + ReactElement.REACT_ELEMENT_TYPE = REACT_ELEMENT_TYPE; + + module.exports = ReactElement; + +/***/ }, +/* 17 */ +/***/ 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. + * + * @providesModule ReactUpdates + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(6); + + var CallbackQueue = __webpack_require__(101); + var PooledClass = __webpack_require__(23); + var ReactFeatureFlags = __webpack_require__(109); + var ReactReconciler = __webpack_require__(33); + var Transaction = __webpack_require__(40); + + var invariant = __webpack_require__(2); + + 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.Mixin, { + 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.Mixin.perform.call(this, this.reconcileTransaction.perform, this.reconcileTransaction, method, scope, a); + } + }); + + PooledClass.addPoolingTo(ReactUpdatesFlushTransaction); + + function batchedUpdates(callback, a, b, c, d, e) { + ensureInjected(); + 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.props === component._renderedComponent._currentElement) { + 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; + +/***/ }, +/* 18 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _i18n = __webpack_require__(14); + + 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; + +/***/ }, +/* 19 */ +/***/ 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); + } + }; + } + +/***/ }, +/* 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. + * + * @providesModule EventConstants + */ + + 'use strict'; + + var keyMirror = __webpack_require__(51); + + var PropagationPhases = keyMirror({ bubbled: null, captured: null }); + + /** + * Types of raw signals from the browser caught at the top level. + */ + var topLevelTypes = keyMirror({ + topAbort: null, + topAnimationEnd: null, + topAnimationIteration: null, + topAnimationStart: null, + topBlur: null, + topCanPlay: null, + topCanPlayThrough: null, + topChange: null, + topClick: null, + topCompositionEnd: null, + topCompositionStart: null, + topCompositionUpdate: null, + topContextMenu: null, + topCopy: null, + topCut: null, + topDoubleClick: null, + topDrag: null, + topDragEnd: null, + topDragEnter: null, + topDragExit: null, + topDragLeave: null, + topDragOver: null, + topDragStart: null, + topDrop: null, + topDurationChange: null, + topEmptied: null, + topEncrypted: null, + topEnded: null, + topError: null, + topFocus: null, + topInput: null, + topInvalid: null, + topKeyDown: null, + topKeyPress: null, + topKeyUp: null, + topLoad: null, + topLoadedData: null, + topLoadedMetadata: null, + topLoadStart: null, + topMouseDown: null, + topMouseMove: null, + topMouseOut: null, + topMouseOver: null, + topMouseUp: null, + topPaste: null, + topPause: null, + topPlay: null, + topPlaying: null, + topProgress: null, + topRateChange: null, + topReset: null, + topScroll: null, + topSeeked: null, + topSeeking: null, + topSelectionChange: null, + topStalled: null, + topSubmit: null, + topSuspend: null, + topTextInput: null, + topTimeUpdate: null, + topTouchCancel: null, + topTouchEnd: null, + topTouchMove: null, + topTouchStart: null, + topTransitionEnd: null, + topVolumeChange: null, + topWaiting: null, + topWheel: null + }); + + var EventConstants = { + topLevelTypes: topLevelTypes, + PropagationPhases: PropagationPhases + }; + + module.exports = EventConstants; + +/***/ }, +/* 21 */ +/***/ 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. + * + * @providesModule SyntheticEvent + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var PooledClass = __webpack_require__(23); + + var emptyFunction = __webpack_require__(13); + 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; + } + } + +/***/ }, +/* 22 */ +/***/ 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__(283); + + var _index2 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index2); + + var _preload_utils = __webpack_require__(147); + + var _container = __webpack_require__(143); + + 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__(42))) + +/***/ }, +/* 23 */ +/***/ 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. + * + * @providesModule PooledClass + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + /** + * 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) { + 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; + +/***/ }, +/* 24 */ +/***/ 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. + * + * @providesModule ReactCurrentOwner + */ + + '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; + +/***/ }, +/* 25 */ +/***/ 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. + * + */ + + /** + * Allows extraction of a minified key. Let's the build system minify keys + * without losing the ability to dynamically use key strings as values + * themselves. Pass in an object with a single key/val pair and it will return + * you the string key of that single record. Suppose you want to grab the + * value for a key 'className' inside of an object. Key/val minification may + * have aliased that key to be 'xa12'. keyOf({className: null}) will return + * 'xa12' in that case. Resolve keys you want to use once at startup time, then + * reuse those resolutions. + */ + + var keyOf = function keyOf(oneKeyObj) { + var key; + for (key in oneKeyObj) { + if (!oneKeyObj.hasOwnProperty(key)) { + continue; + } + return key; + } + return null; + }; + + module.exports = keyOf; + +/***/ }, +/* 26 */ +/***/ 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*$/, ''); + }; + +/***/ }, +/* 27 */ +/***/ 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__(3); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index2); + + var _data_utils = __webpack_require__(19); + + var _email = __webpack_require__(29); + + var _username = __webpack_require__(88); + + 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)); + } + +/***/ }, +/* 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__(90); + + var _success_pane2 = _interopRequireDefault(_success_pane); + + var _actions = __webpack_require__(22); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _i18n = __webpack_require__(14); + + 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__(26); + + var _trim2 = _interopRequireDefault(_trim); + + var _index = __webpack_require__(8); + + var _string_utils = __webpack_require__(94); + + 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. + * + * @providesModule DOMLazyTree + */ + + 'use strict'; + + var DOMNamespaces = __webpack_require__(59); + var setInnerHTML = __webpack_require__(50); + + var createMicrosoftUnsafeLocalFunction = __webpack_require__(73); + var setTextContent = __webpack_require__(129); + + 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. + * + * @providesModule DOMProperty + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + 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__. + * @type {Object} + */ + getPossibleStandardName: false ? {} : 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. + * + * @providesModule ReactInstanceMap + */ + + '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. + * + * @providesModule ReactReconciler + */ + + 'use strict'; + + var ReactRef = __webpack_require__(224); + var ReactInstrumentation = __webpack_require__(15); + + 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__) { + + '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__(22); + + var _index2 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index2); + + var _index3 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index3); + + var _index4 = __webpack_require__(11); + + var _i18n = __webpack_require__(14); + + 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); + } + +/***/ }, +/* 35 */ +/***/ 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 + }; + +/***/ }, +/* 36 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + module.exports = __webpack_require__(105); + +/***/ }, +/* 37 */ +/***/ 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. + * + * @providesModule EventPluginHub + */ + + '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__(67); + + var accumulateInto = __webpack_require__(118); + var forEachAccumulated = __webpack_require__(121); + var invariant = __webpack_require__(2); + + /** + * 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; + }; + + /** + * 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) { + var bankForRegistrationName = listenerBank[registrationName]; + 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; + +/***/ }, +/* 38 */ +/***/ 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. + * + * @providesModule EventPropagators + */ + + 'use strict'; + + var EventConstants = __webpack_require__(20); + var EventPluginHub = __webpack_require__(37); + var EventPluginUtils = __webpack_require__(61); + + var accumulateInto = __webpack_require__(118); + var forEachAccumulated = __webpack_require__(121); + var warning = __webpack_require__(5); + + var PropagationPhases = EventConstants.PropagationPhases; + 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, upwards, event) { + if (false) { + process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0; + } + var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured; + 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; + +/***/ }, +/* 39 */ +/***/ 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. + * + * @providesModule SyntheticUIEvent + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(21); + + var getEventTarget = __webpack_require__(76); + + /** + * @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; + +/***/ }, +/* 40 */ +/***/ 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. + * + * @providesModule Transaction + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + /** + * `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 Mixin = { + /** + * 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] = Transaction.OBSERVED_ERROR; + this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null; + } finally { + if (this.wrapperInitData[i] === Transaction.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 !== Transaction.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; + } + }; + + var Transaction = { + + Mixin: Mixin, + + /** + * Token to look for to determine if an error occurred. + */ + OBSERVED_ERROR: {} + + }; + + module.exports = Transaction; + +/***/ }, +/* 41 */ +/***/ 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; + +/***/ }, +/* 42 */ +/***/ 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; + }; + +/***/ }, +/* 43 */ +/***/ 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__(19); + + var _index = __webpack_require__(3); + + 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; }()))) + +/***/ }, +/* 44 */ +/***/ 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); + +/***/ }, +/* 45 */ +/***/ 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. + * + * @providesModule DisabledInputUtils + */ + + 'use strict'; + + var disableableMouseListenerNames = { + onClick: true, + onDoubleClick: true, + onMouseDown: true, + onMouseMove: true, + onMouseUp: true, + + onClickCapture: true, + onDoubleClickCapture: true, + onMouseDownCapture: true, + onMouseMoveCapture: true, + onMouseUpCapture: true + }; + + /** + * Implements a host component that does not receive mouse events + * when `disabled` is set. + */ + var DisabledInputUtils = { + getHostProps: function getHostProps(inst, props) { + if (!props.disabled) { + return props; + } + + // Copy the props, except the mouse listeners + var hostProps = {}; + for (var key in props) { + if (!disableableMouseListenerNames[key] && props.hasOwnProperty(key)) { + hostProps[key] = props[key]; + } + } + + return hostProps; + } + }; + + module.exports = DisabledInputUtils; + +/***/ }, +/* 46 */ +/***/ 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. + * + * @providesModule React + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var ReactChildren = __webpack_require__(103); + var ReactComponent = __webpack_require__(64); + var ReactPureComponent = __webpack_require__(222); + var ReactClass = __webpack_require__(104); + var ReactDOMFactories = __webpack_require__(205); + var ReactElement = __webpack_require__(16); + var ReactPropTypes = __webpack_require__(115); + var ReactVersion = __webpack_require__(116); + + var onlyChild = __webpack_require__(128); + var warning = __webpack_require__(5); + + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactBrowserEventEmitter + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var EventConstants = __webpack_require__(20); + var EventPluginRegistry = __webpack_require__(60); + var ReactEventEmitterMixin = __webpack_require__(216); + var ViewportMetrics = __webpack_require__(117); + + var getVendorPrefixedEventName = __webpack_require__(125); + var isEventSupported = __webpack_require__(77); + + /** + * 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]; + + var topLevelTypes = EventConstants.topLevelTypes; + for (var i = 0; i < dependencies.length; i++) { + var dependency = dependencies[i]; + if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) { + if (dependency === topLevelTypes.topWheel) { + if (isEventSupported('wheel')) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt); + } else if (isEventSupported('mousewheel')) { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.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(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt); + } + } else if (dependency === topLevelTypes.topScroll) { + + if (isEventSupported('scroll', true)) { + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt); + } else { + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topScroll, 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE); + } + } else if (dependency === topLevelTypes.topFocus || dependency === topLevelTypes.topBlur) { + + if (isEventSupported('focus', true)) { + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt); + ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.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(topLevelTypes.topFocus, 'focusin', mountAt); + ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt); + } + + // to make sure blur and focus event listeners are only attached once + isListening[topLevelTypes.topBlur] = true; + isListening[topLevelTypes.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. + * + * @providesModule SyntheticMouseEvent + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(39); + var ViewportMetrics = __webpack_require__(117); + + var getEventModifierState = __webpack_require__(75); + + /** + * @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) { + + /** + * 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. + * + * @providesModule escapeTextContentForBrowser + */ + + '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; + +/***/ }, +/* 50 */ +/***/ 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. + * + * @providesModule setInnerHTML + */ + + '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__(73); + + // 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; + +/***/ }, +/* 51 */ +/***/ 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 static-only + */ + + 'use strict'; + + var invariant = __webpack_require__(2); + + /** + * Constructs an enumeration with keys equal to their value. + * + * For example: + * + * var COLORS = keyMirror({blue: null, red: null}); + * var myColor = COLORS.blue; + * var isColorValid = !!COLORS[myColor]; + * + * The last line could not be performed if the values of the generated enum were + * not equal to their keys. + * + * Input: {key1: val1, key2: val2} + * Output: {key1: key1, key2: key2} + * + * @param {object} obj + * @return {object} + */ + var keyMirror = function keyMirror(obj) { + var ret = {}; + var key; + !(obj instanceof Object && !Array.isArray(obj)) ? false ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : void 0; + for (key in obj) { + if (!obj.hasOwnProperty(key)) { + continue; + } + ret[key] = key; + } + return ret; + }; + + module.exports = keyMirror; + +/***/ }, +/* 52 */ +/***/ 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__(3); + + var l = _interopRequireWildcard(_index); + + var _data_utils = __webpack_require__(19); + + 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; + } + +/***/ }, +/* 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.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__(142); + + var _index = __webpack_require__(12); + + var _actions = __webpack_require__(22); + + var _index2 = __webpack_require__(3); + + 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__(152); + var assert_required = __webpack_require__(151); + var is_array = __webpack_require__(154); + var index_of = __webpack_require__(153); + + var qs = __webpack_require__(163); + var xtend = __webpack_require__(169); + var trim = __webpack_require__(26); + 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__(95); + var LoginError = __webpack_require__(149); + var use_jsonp = __webpack_require__(156); + + var SilentAuthenticationHandler = __webpack_require__(150); + + /** + * 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; + } + + /** + * 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) { + 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 + ').'); + } + } + + 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 qs = [this._getMode(options), 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 (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); + } + + 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'); + } + + 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); + + 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); + } + + // 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__(44); + + /* 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. + * + * @providesModule DOMChildrenOperations + */ + + 'use strict'; + + var DOMLazyTree = __webpack_require__(30); + var Danger = __webpack_require__(191); + var ReactMultiChildUpdateTypes = __webpack_require__(113); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactInstrumentation = __webpack_require__(15); + + var createMicrosoftUnsafeLocalFunction = __webpack_require__(73); + var setInnerHTML = __webpack_require__(50); + var setTextContent = __webpack_require__(129); + + 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(ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID, 'replace text', stringText); + } + } + + var dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup; + if (false) { + dangerouslyReplaceNodeWithMarkup = function dangerouslyReplaceNodeWithMarkup(oldChild, markup, prevInstance) { + Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup); + if (prevInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onHostOperation(prevInstance._debugID, 'replace with', markup.toString()); + } else { + var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node); + if (nextInstance._debugID !== 0) { + ReactInstrumentation.debugTool.onHostOperation(nextInstance._debugID, 'mount', 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 ReactMultiChildUpdateTypes.INSERT_MARKUP: + insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode)); + if (false) { + ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'insert child', { toIndex: update.toIndex, content: update.content.toString() }); + } + break; + case ReactMultiChildUpdateTypes.MOVE_EXISTING: + moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode)); + if (false) { + ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'move child', { fromIndex: update.fromIndex, toIndex: update.toIndex }); + } + break; + case ReactMultiChildUpdateTypes.SET_MARKUP: + setInnerHTML(parentNode, update.content); + if (false) { + ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace children', update.content.toString()); + } + break; + case ReactMultiChildUpdateTypes.TEXT_CONTENT: + setTextContent(parentNode, update.content); + if (false) { + ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace text', update.content.toString()); + } + break; + case ReactMultiChildUpdateTypes.REMOVE_NODE: + removeChild(parentNode, update.fromNode); + if (false) { + ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'remove child', { 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. + * + * @providesModule DOMNamespaces + */ + + '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. + * + * @providesModule EventPluginRegistry + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + /** + * 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, + + /** + * 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; + } + for (var phase in dispatchConfig.phasedRegistrationNames) { + if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) { + continue; + } + var PluginModule = EventPluginRegistry.registrationNameModules[dispatchConfig.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. + * + * @providesModule EventPluginUtils + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var EventConstants = __webpack_require__(20); + var ReactErrorUtils = __webpack_require__(67); + + var invariant = __webpack_require__(2); + 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; + } + } + }; + + var topLevelTypes = EventConstants.topLevelTypes; + + function isEndish(topLevelType) { + return topLevelType === topLevelTypes.topMouseUp || topLevelType === topLevelTypes.topTouchEnd || topLevelType === topLevelTypes.topTouchCancel; + } + + function isMoveish(topLevelType) { + return topLevelType === topLevelTypes.topMouseMove || topLevelType === topLevelTypes.topTouchMove; + } + function isStartish(topLevelType) { + return topLevelType === topLevelTypes.topMouseDown || topLevelType === topLevelTypes.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. + * + * @providesModule KeyEscapeUtils + * + */ + + '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. + * + * @providesModule LinkedValueUtils + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactPropTypes = __webpack_require__(115); + var ReactPropTypeLocations = __webpack_require__(70); + var ReactPropTypesSecret = __webpack_require__(71); + + var invariant = __webpack_require__(2); + 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: ReactPropTypes.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, ReactPropTypeLocations.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 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in 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 ReactComponent + */ + + '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 ReactNoopUpdateQueue = __webpack_require__(68); + + var canDefineProperty = __webpack_require__(119); + var emptyObject = __webpack_require__(41); + var invariant = __webpack_require__(2); + var warning = __webpack_require__(5); + + /** + * 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; + +/***/ }, +/* 65 */ +/***/ 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. + * + * @providesModule ReactComponentEnvironment + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + 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; + +/***/ }, +/* 66 */ +/***/ 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. + * + * @providesModule ReactComponentTreeHook + */ + + '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__(24); + + var invariant = __webpack_require__(2); + var warning = __webpack_require__(5); + + 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 itemMap; + var rootIDSet; + + var itemByKey; + var rootByKey; + + if (canUseCollections) { + itemMap = new Map(); + rootIDSet = new Set(); + } else { + itemByKey = {}; + rootByKey = {}; + } + + var unmountedIDs = []; + + // Use non-numeric keys to prevent V8 performance issues: + // https://github.com/facebook/react/pull/7232 + function getKeyFromID(id) { + return '.' + id; + } + function getIDFromKey(key) { + return parseInt(key.substr(1), 10); + } + + function get(id) { + if (canUseCollections) { + return itemMap.get(id); + } else { + var key = getKeyFromID(id); + return itemByKey[key]; + } + } + + function remove(id) { + if (canUseCollections) { + itemMap['delete'](id); + } else { + var key = getKeyFromID(id); + delete itemByKey[key]; + } + } + + function create(id, element, parentID) { + var item = { + element: element, + parentID: parentID, + text: null, + childIDs: [], + isMounted: false, + updateCount: 0 + }; + + if (canUseCollections) { + itemMap.set(id, item); + } else { + var key = getKeyFromID(id); + itemByKey[key] = item; + } + } + + function addRoot(id) { + if (canUseCollections) { + rootIDSet.add(id); + } else { + var key = getKeyFromID(id); + rootByKey[key] = true; + } + } + + function removeRoot(id) { + if (canUseCollections) { + rootIDSet['delete'](id); + } else { + var key = getKeyFromID(id); + delete rootByKey[key]; + } + } + + function getRegisteredIDs() { + if (canUseCollections) { + return Array.from(itemMap.keys()); + } else { + return Object.keys(itemByKey).map(getIDFromKey); + } + } + + function getRootIDs() { + if (canUseCollections) { + return Array.from(rootIDSet.keys()); + } else { + return Object.keys(rootByKey).map(getIDFromKey); + } + } + + function purgeDeep(id) { + var item = get(id); + if (item) { + var childIDs = item.childIDs; + + remove(id); + childIDs.forEach(purgeDeep); + } + } + + function describeComponentFrame(name, source, ownerName) { + return '\n in ' + name + (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 = get(id); + item.childIDs = nextChildIDs; + + for (var i = 0; i < nextChildIDs.length; i++) { + var nextChildID = nextChildIDs[i]; + var nextChild = get(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) { + create(id, element, parentID); + }, + onBeforeUpdateComponent: function onBeforeUpdateComponent(id, element) { + var item = get(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 = get(id); + item.isMounted = true; + var isRoot = item.parentID === 0; + if (isRoot) { + addRoot(id); + } + }, + onUpdateComponent: function onUpdateComponent(id) { + var item = get(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 = get(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 = get(id); + return item ? item.isMounted : false; + }, + getCurrentStackAddendum: function getCurrentStackAddendum(topElement) { + var info = ''; + if (topElement) { + var type = topElement.type; + var name = typeof type === 'function' ? type.displayName || type.name : type; + var owner = topElement._owner; + info += describeComponentFrame(name || 'Unknown', 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 = get(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 = get(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 = get(id); + return item ? item.parentID : null; + }, + getSource: function getSource(id) { + var item = get(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 = get(id); + return item ? item.updateCount : 0; + }, + + getRegisteredIDs: getRegisteredIDs, + + getRootIDs: getRootIDs + }; + + module.exports = ReactComponentTreeHook; + +/***/ }, +/* 67 */ +/***/ 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. + * + * @providesModule ReactErrorUtils + */ + + '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, b) { + try { + return func(a, b); + } catch (x) { + if (caughtError === null) { + caughtError = x; + } + return undefined; + } + } + + 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, b) { + var boundFunc = func.bind(null, a, b); + var evtType = 'react-' + name; + fakeNode.addEventListener(evtType, boundFunc, false); + var evt = document.createEvent('Event'); + evt.initEvent(evtType, false, false); + fakeNode.dispatchEvent(evt); + fakeNode.removeEventListener(evtType, boundFunc, false); + }; + } + } + + module.exports = ReactErrorUtils; + +/***/ }, +/* 68 */ +/***/ 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. + * + * @providesModule ReactNoopUpdateQueue + */ + + 'use strict'; + + 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 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; + +/***/ }, +/* 69 */ +/***/ 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. + * + * @providesModule ReactPropTypeLocationNames + */ + + 'use strict'; + + var ReactPropTypeLocationNames = {}; + + if (false) { + ReactPropTypeLocationNames = { + prop: 'prop', + context: 'context', + childContext: 'child context' + }; + } + + module.exports = ReactPropTypeLocationNames; + +/***/ }, +/* 70 */ +/***/ 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. + * + * @providesModule ReactPropTypeLocations + */ + + 'use strict'; + + var keyMirror = __webpack_require__(51); + + var ReactPropTypeLocations = keyMirror({ + prop: null, + context: null, + childContext: null + }); + + module.exports = ReactPropTypeLocations; + +/***/ }, +/* 71 */ +/***/ 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. + * + * @providesModule ReactPropTypesSecret + */ + + 'use strict'; + + var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; + + module.exports = ReactPropTypesSecret; + +/***/ }, +/* 72 */ +/***/ 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. + * + * @providesModule ReactUpdateQueue + */ + + '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__(24); + var ReactInstanceMap = __webpack_require__(32); + var ReactInstrumentation = __webpack_require__(15); + var ReactUpdates = __webpack_require__(17); + + var invariant = __webpack_require__(2); + 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; + +/***/ }, +/* 73 */ +/***/ 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. + * + * @providesModule createMicrosoftUnsafeLocalFunction + */ + + /* 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; + +/***/ }, +/* 74 */ +/***/ 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. + * + * @providesModule getEventCharCode + */ + + '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; + +/***/ }, +/* 75 */ +/***/ 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. + * + * @providesModule getEventModifierState + */ + + '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; + +/***/ }, +/* 76 */ +/***/ 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. + * + * @providesModule getEventTarget + */ + + '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; + +/***/ }, +/* 77 */ +/***/ 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. + * + * @providesModule isEventSupported + */ + + '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; + +/***/ }, +/* 78 */ +/***/ 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. + * + * @providesModule shouldUpdateReactComponent + */ + + '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; + +/***/ }, +/* 79 */ +/***/ 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. + * + * @providesModule traverseAllChildren + */ + + '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__(24); + var ReactElement = __webpack_require__(16); + + var getIteratorFn = __webpack_require__(123); + var invariant = __webpack_require__(2); + var KeyEscapeUtils = __webpack_require__(62); + var warning = __webpack_require__(5); + + var SEPARATOR = '.'; + var SUBSEPARATOR = ':'; + + /** + * 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' || ReactElement.isValidElement(children)) { + 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; + +/***/ }, +/* 80 */ +/***/ 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. + * + * @providesModule validateDOMNesting + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var emptyFunction = __webpack_require__(13); + 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; + +/***/ }, +/* 81 */ +/***/ 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; + +/***/ }, +/* 82 */ +/***/ 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__(266); + + 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__(265); + + 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__(42))) + +/***/ }, +/* 83 */ +/***/ 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__(27); + + var _index2 = __webpack_require__(8); + + var _actions = __webpack_require__(22); + + 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) + }); + } + +/***/ }, +/* 84 */ +/***/ 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__(19); + + var _index = __webpack_require__(3); + + 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); + } + +/***/ }, +/* 85 */ +/***/ 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__(141); + + var _index2 = _interopRequireDefault(_index); + + var _login = __webpack_require__(287); + + var _login2 = _interopRequireDefault(_login); + + var _sign_up_screen = __webpack_require__(290); + + var _sign_up_screen2 = _interopRequireDefault(_sign_up_screen); + + var _mfa_login_screen = __webpack_require__(288); + + var _mfa_login_screen2 = _interopRequireDefault(_mfa_login_screen); + + var _reset_password = __webpack_require__(271); + + var _reset_password2 = _interopRequireDefault(_reset_password); + + var _index3 = __webpack_require__(138); + + var _index4 = __webpack_require__(11); + + var _enterprise = __webpack_require__(27); + + var _tenant = __webpack_require__(84); + + var _index5 = __webpack_require__(52); + + var _email = __webpack_require__(29); + + var _username = __webpack_require__(88); + + var _index6 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index6); + + var _kerberos_screen = __webpack_require__(277); + + var _kerberos_screen2 = _interopRequireDefault(_kerberos_screen); + + var _hrd_screen = __webpack_require__(276); + + var _hrd_screen2 = _interopRequireDefault(_hrd_screen); + + var _quick_auth_screen = __webpack_require__(278); + + var _quick_auth_screen2 = _interopRequireDefault(_quick_auth_screen); + + var _quick_auth = __webpack_require__(142); + + var _loading_screen = __webpack_require__(282); + + var _loading_screen2 = _interopRequireDefault(_loading_screen); + + var _error_screen = __webpack_require__(281); + + var _error_screen2 = _interopRequireDefault(_error_screen); + + var _last_login_screen = __webpack_require__(285); + + var _last_login_screen2 = _interopRequireDefault(_last_login_screen); + + var _sync = __webpack_require__(43); + + 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(); + +/***/ }, +/* 86 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_input = __webpack_require__(303); + + var _email_input2 = _interopRequireDefault(_email_input); + + var _index = __webpack_require__(8); + + var c = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + var _index3 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index3); + + var _email = __webpack_require__(29); + + var _avatar = __webpack_require__(133); + + 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 + }; + +/***/ }, +/* 87 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _password_input = __webpack_require__(91); + + var _password_input2 = _interopRequireDefault(_password_input); + + var _index = __webpack_require__(8); + + var c = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + var _index3 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index3); + + var _password = __webpack_require__(295); + + 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 + }; + +/***/ }, +/* 88 */ +/***/ 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__(26); + + 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; + } + +/***/ }, +/* 89 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _username_input = __webpack_require__(307); + + var _username_input2 = _interopRequireDefault(_username_input); + + var _index = __webpack_require__(8); + + var c = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(12); + + var _index3 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index3); + + var _username = __webpack_require__(88); + + var _avatar = __webpack_require__(133); + + 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" + }; + +/***/ }, +/* 90 */ +/***/ 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__(299); + + 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; + +/***/ }, +/* 91 */ +/***/ 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__(35); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + var _password_strength = __webpack_require__(305); + + 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; + +/***/ }, +/* 92 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _auth_button = __webpack_require__(144); + + 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; + + + 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 + }), + 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; + +/***/ }, +/* 93 */ +/***/ 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; }()))) + +/***/ }, +/* 94 */ +/***/ 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; + } + +/***/ }, +/* 95 */ +/***/ 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; + +/***/ }, +/* 96 */ +/***/ 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' + }; + +/***/ }, +/* 97 */ +/***/ 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)); + }; + +/***/ }, +/* 98 */ +/***/ 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; + +/***/ }, +/* 99 */ +/***/ 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; + +/***/ }, +/* 100 */ +/***/ 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. + * + * @providesModule CSSProperty + */ + + '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; + +/***/ }, +/* 101 */ +/***/ 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. + * + * @providesModule CallbackQueue + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(6); + + var PooledClass = __webpack_require__(23); + + var invariant = __webpack_require__(2); + + /** + * 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 + */ + function CallbackQueue() { + this._callbacks = null; + this._contexts = null; + } + + _assign(CallbackQueue.prototype, { + + /** + * 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 + */ + enqueue: function enqueue(callback, context) { + this._callbacks = this._callbacks || []; + this._contexts = this._contexts || []; + this._callbacks.push(callback); + 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 + */ + notifyAll: function notifyAll() { + var callbacks = this._callbacks; + var contexts = this._contexts; + if (callbacks) { + !(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]); + } + callbacks.length = 0; + contexts.length = 0; + } + }, + + checkpoint: function checkpoint() { + return this._callbacks ? this._callbacks.length : 0; + }, + + rollback: function rollback(len) { + if (this._callbacks) { + this._callbacks.length = len; + this._contexts.length = len; + } + }, + + /** + * Resets the internal queue. + * + * @internal + */ + reset: function reset() { + this._callbacks = null; + this._contexts = null; + }, + + /** + * `PooledClass` looks for this. + */ + destructor: function destructor() { + this.reset(); + } + + }); + + PooledClass.addPoolingTo(CallbackQueue); + + module.exports = CallbackQueue; + +/***/ }, +/* 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. + * + * @providesModule DOMPropertyOperations + */ + + 'use strict'; + + var DOMProperty = __webpack_require__(31); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactInstrumentation = __webpack_require__(15); + + var quoteAttributeValueForBrowser = __webpack_require__(249); + 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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', 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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', 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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', 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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name); + } + } + + }; + + module.exports = DOMPropertyOperations; + +/***/ }, +/* 103 */ +/***/ 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. + * + * @providesModule ReactChildren + */ + + 'use strict'; + + var PooledClass = __webpack_require__(23); + var ReactElement = __webpack_require__(16); + + var emptyFunction = __webpack_require__(13); + var traverseAllChildren = __webpack_require__(79); + + 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; + var 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; + var keyPrefix = bookKeeping.keyPrefix; + var func = bookKeeping.func; + var 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; + +/***/ }, +/* 104 */ +/***/ 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. + * + * @providesModule ReactClass + */ + + '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__(6); + + var ReactComponent = __webpack_require__(64); + var ReactElement = __webpack_require__(16); + var ReactPropTypeLocations = __webpack_require__(70); + var ReactPropTypeLocationNames = __webpack_require__(69); + var ReactNoopUpdateQueue = __webpack_require__(68); + + var emptyObject = __webpack_require__(41); + var invariant = __webpack_require__(2); + var keyMirror = __webpack_require__(51); + var keyOf = __webpack_require__(25); + var warning = __webpack_require__(5); + + var MIXINS_KEY = keyOf({ mixins: null }); + + /** + * Policies that describe methods in `ReactClassInterface`. + */ + var SpecPolicy = keyMirror({ + /** + * These methods may be defined only once by the class specification or mixin. + */ + DEFINE_ONCE: null, + /** + * These methods may be defined by both the class specification and mixins. + * Subsequent definitions will be chained. These methods must return void. + */ + DEFINE_MANY: null, + /** + * These methods are overriding the base class. + */ + OVERRIDE_BASE: null, + /** + * These methods are similar to DEFINE_MANY, except we assume they return + * objects. We try to merge the keys of the return values of all the mixed in + * functions. If there is a key conflict we throw. + */ + DEFINE_MANY_MERGED: null + }); + + 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: SpecPolicy.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: SpecPolicy.DEFINE_MANY, + + /** + * Definition of prop types for this component. + * + * @type {object} + * @optional + */ + propTypes: SpecPolicy.DEFINE_MANY, + + /** + * Definition of context types for this component. + * + * @type {object} + * @optional + */ + contextTypes: SpecPolicy.DEFINE_MANY, + + /** + * Definition of context types this component sets for its children. + * + * @type {object} + * @optional + */ + childContextTypes: SpecPolicy.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: SpecPolicy.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: SpecPolicy.DEFINE_MANY_MERGED, + + /** + * @return {object} + * @optional + */ + getChildContext: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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, ReactPropTypeLocations.childContext); + } + Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, _childContextTypes); + }, + contextTypes: function contextTypes(Constructor, _contextTypes) { + if (false) { + validateTypeDef(Constructor, _contextTypes, ReactPropTypeLocations.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, ReactPropTypeLocations.prop); + } + Constructor.propTypes = _assign({}, Constructor.propTypes, _propTypes); + }, + statics: function statics(Constructor, _statics) { + mixStaticSpecIntoComponent(Constructor, _statics); + }, + autobind: function autobind() {} }; + + // noop + 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 === 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 === SpecPolicy.DEFINE_MANY || specPolicy === 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 === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === 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 === SpecPolicy.DEFINE_MANY_MERGED) { + proto[name] = createMergedResultFunction(proto[name], property); + } else if (specPolicy === 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) { + var Constructor = function Constructor(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; + +/***/ }, +/* 105 */ +/***/ 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. + * + * @providesModule ReactDOM + */ + + /* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/ + + 'use strict'; + + var ReactDOMComponentTree = __webpack_require__(7); + var ReactDefaultInjection = __webpack_require__(215); + var ReactMount = __webpack_require__(112); + var ReactReconciler = __webpack_require__(33); + var ReactUpdates = __webpack_require__(17); + var ReactVersion = __webpack_require__(116); + + var findDOMNode = __webpack_require__(246); + var getHostComponentFromComposite = __webpack_require__(122); + var renderSubtreeIntoContainer = __webpack_require__(250); + 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. + /* eslint-enable camelcase */ + 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.split, 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'); + + ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook); + ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook); + } + + module.exports = ReactDOM; + +/***/ }, +/* 106 */ +/***/ 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. + * + * @providesModule ReactDOMComponentFlags + */ + + 'use strict'; + + var ReactDOMComponentFlags = { + hasCachedChildNodes: 1 << 0 + }; + + module.exports = ReactDOMComponentFlags; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMSelect + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var DisabledInputUtils = __webpack_require__(45); + var LinkedValueUtils = __webpack_require__(63); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactUpdates = __webpack_require__(17); + + 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({}, DisabledInputUtils.getHostProps(inst, 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; + +/***/ }, +/* 108 */ +/***/ 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. + * + * @providesModule ReactEmptyComponent + */ + + '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; + +/***/ }, +/* 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. + * + * @providesModule ReactFeatureFlags + * + */ + + '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; + +/***/ }, +/* 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. + * + * @providesModule ReactHostComponent + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(6); + + var invariant = __webpack_require__(2); + + 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; + +/***/ }, +/* 111 */ +/***/ 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. + * + * @providesModule ReactInputSelection + */ + + 'use strict'; + + var ReactDOMSelection = __webpack_require__(210); + + var containsNode = __webpack_require__(254); + var focusNode = __webpack_require__(131); + var getActiveElement = __webpack_require__(132); + + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactMount + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var DOMLazyTree = __webpack_require__(30); + var DOMProperty = __webpack_require__(31); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactCurrentOwner = __webpack_require__(24); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactDOMContainerInfo = __webpack_require__(203); + var ReactDOMFeatureFlags = __webpack_require__(206); + var ReactElement = __webpack_require__(16); + var ReactFeatureFlags = __webpack_require__(109); + var ReactInstanceMap = __webpack_require__(32); + var ReactInstrumentation = __webpack_require__(15); + var ReactMarkupChecksum = __webpack_require__(219); + var ReactReconciler = __webpack_require__(33); + var ReactUpdateQueue = __webpack_require__(72); + var ReactUpdates = __webpack_require__(17); + + var emptyObject = __webpack_require__(41); + var instantiateReactComponent = __webpack_require__(126); + var invariant = __webpack_require__(2); + var setInnerHTML = __webpack_require__(50); + var shouldUpdateReactComponent = __webpack_require__(78); + 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; + 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 () { + // this.props is actually a ReactElement + return this.props; + }; + + /** + * 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'); + !ReactElement.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 = ReactElement(TopLevelWrapper, null, null, null, null, null, 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; + 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(hostNode._debugID, 'mount', markup.toString()); + } + } + } + }; + + module.exports = ReactMount; + +/***/ }, +/* 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. + * + * @providesModule ReactMultiChildUpdateTypes + */ + + 'use strict'; + + var keyMirror = __webpack_require__(51); + + /** + * When a component's children are updated, a series of update configuration + * objects are created in order to batch and serialize the required changes. + * + * Enumerates all the possible types of update configurations. + * + * @internal + */ + var ReactMultiChildUpdateTypes = keyMirror({ + INSERT_MARKUP: null, + MOVE_EXISTING: null, + REMOVE_NODE: null, + SET_MARKUP: null, + TEXT_CONTENT: null + }); + + module.exports = ReactMultiChildUpdateTypes; + +/***/ }, +/* 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. + * + * @providesModule ReactNodeTypes + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactElement = __webpack_require__(16); + + var invariant = __webpack_require__(2); + + var ReactNodeTypes = { + HOST: 0, + COMPOSITE: 1, + EMPTY: 2, + + getType: function getType(node) { + if (node === null || node === false) { + return ReactNodeTypes.EMPTY; + } else if (ReactElement.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; + +/***/ }, +/* 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. + * + * @providesModule ReactPropTypes + */ + + '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__(16); + var ReactPropTypeLocationNames = __webpack_require__(69); + var ReactPropTypesSecret = __webpack_require__(71); + + var emptyFunction = __webpack_require__(13); + var getIteratorFn = __webpack_require__(123); + var warning = __webpack_require__(5); + + /** + * 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 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) { + return new PropTypeError('Required ' + locationName + ' `' + propFullName + '` was not specified in ' + ('`' + componentName + '`.')); + } + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactVersion + */ + + 'use strict'; + + module.exports = '15.3.2'; + +/***/ }, +/* 117 */ +/***/ 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. + * + * @providesModule ViewportMetrics + */ + + 'use strict'; + + var ViewportMetrics = { + + currentScrollLeft: 0, + + currentScrollTop: 0, + + refreshScrollValues: function refreshScrollValues(scrollPosition) { + ViewportMetrics.currentScrollLeft = scrollPosition.x; + ViewportMetrics.currentScrollTop = scrollPosition.y; + } + + }; + + module.exports = ViewportMetrics; + +/***/ }, +/* 118 */ +/***/ 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. + * + * @providesModule accumulateInto + * + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + /** + * 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; + +/***/ }, +/* 119 */ +/***/ 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. + * + * @providesModule canDefineProperty + */ + + 'use strict'; + + var canDefineProperty = false; + if (false) { + try { + Object.defineProperty({}, 'x', { get: function get() {} }); + canDefineProperty = true; + } catch (x) { + // IE will fail on defineProperty + } + } + + module.exports = canDefineProperty; + +/***/ }, +/* 120 */ +/***/ 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. + * + * @providesModule flattenChildren + * + */ + + '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__(79); + 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__(66); + } + + /** + * @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__(42))) + +/***/ }, +/* 121 */ +/***/ 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. + * + * @providesModule forEachAccumulated + * + */ + + '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; + +/***/ }, +/* 122 */ +/***/ 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. + * + * @providesModule getHostComponentFromComposite + */ + + 'use strict'; + + var ReactNodeTypes = __webpack_require__(114); + + 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; + +/***/ }, +/* 123 */ +/***/ 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. + * + * @providesModule getIteratorFn + * + */ + + '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; + +/***/ }, +/* 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. + * + * @providesModule getTextContentAccessor + */ + + '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; + +/***/ }, +/* 125 */ +/***/ 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. + * + * @providesModule getVendorPrefixedEventName + */ + + '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; + +/***/ }, +/* 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. + * + * @providesModule instantiateReactComponent + */ + + '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__(6); + + var ReactCompositeComponent = __webpack_require__(200); + var ReactEmptyComponent = __webpack_require__(108); + var ReactHostComponent = __webpack_require__(110); + + var invariant = __webpack_require__(2); + 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.Mixin, { + _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'; + } + + var nextDebugID = 1; + + /** + * 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 ? nextDebugID++ : 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; + +/***/ }, +/* 127 */ +/***/ 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. + * + * @providesModule isTextInputElement + * + */ + + '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; + +/***/ }, +/* 128 */ +/***/ 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. + * + * @providesModule onlyChild + */ + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactElement = __webpack_require__(16); + + var invariant = __webpack_require__(2); + + /** + * 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; + +/***/ }, +/* 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. + * + * @providesModule setTextContent + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + var escapeTextContentForBrowser = __webpack_require__(49); + var setInnerHTML = __webpack_require__(50); + + /** + * 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) { + setInnerHTML(node, escapeTextContentForBrowser(text)); + }; + } + } + + module.exports = setTextContent; + +/***/ }, +/* 130 */ +/***/ 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__(13); + + /** + * 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; + +/***/ }, +/* 131 */ +/***/ 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; + +/***/ }, +/* 132 */ +/***/ 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; + +/***/ }, +/* 133 */ +/***/ 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__(19); + + var _preload_utils = __webpack_require__(147); + + var preload = _interopRequireWildcard(_preload_utils); + + var _fn_utils = __webpack_require__(311); + + var f = _interopRequireWildcard(_fn_utils); + + var _index2 = __webpack_require__(3); + + 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; + }); + } + +/***/ }, +/* 134 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _actions = __webpack_require__(34); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(11); + + var _actions2 = __webpack_require__(22); + + 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); + +/***/ }, +/* 135 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _password_input = __webpack_require__(91); + + 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 + ) + ); + }; + +/***/ }, +/* 136 */ +/***/ 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__(19); + + var _index = __webpack_require__(52); + + var _enterprise = __webpack_require__(27); + + 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); + } + +/***/ }, +/* 137 */ +/***/ 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; + +/***/ }, +/* 138 */ +/***/ 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"], ""); + } + +/***/ }, +/* 139 */ +/***/ 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"]); + }); + } + +/***/ }, +/* 140 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _auth_button = __webpack_require__(144); + + var _auth_button2 = _interopRequireDefault(_auth_button); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _actions = __webpack_require__(54); + + var _index2 = __webpack_require__(52); + + 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 + }; + +/***/ }, +/* 141 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _auth0Js = __webpack_require__(56); + + var _auth0Js2 = _interopRequireDefault(_auth0Js); + + var _core = __webpack_require__(279); + + var _core2 = _interopRequireDefault(_core); + + var _classic = __webpack_require__(85); + + var _classic2 = _interopRequireDefault(_classic); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + + function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + + function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + var css = '/* normalize.css v3.0.2 | MIT License | git.io/normalize */ .auth0-lock html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } .auth0-lock body { margin: 0; } .auth0-lock article, .auth0-lock aside, .auth0-lock details, .auth0-lock figcaption, .auth0-lock figure, .auth0-lock footer, .auth0-lock header, .auth0-lock hgroup, .auth0-lock main, .auth0-lock menu, .auth0-lock nav, .auth0-lock section, .auth0-lock summary { display: block; } .auth0-lock audio, .auth0-lock canvas, .auth0-lock progress, .auth0-lock video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } .auth0-lock audio:not([controls]) { display: none; height: 0; } .auth0-lock [hidden], .auth0-lock template { display: none; } .auth0-lock a { background-color: transparent; } .auth0-lock a:active, .auth0-lock a:hover { outline: 0; } .auth0-lock abbr[title] { border-bottom: 1px dotted; } .auth0-lock b, .auth0-lock strong { font-weight: bold; } .auth0-lock dfn { font-style: italic; } .auth0-lock h1 { font-size: 2em; margin: 0.67em 0; } .auth0-lock mark { background: #ff0; color: #000; } .auth0-lock small { font-size: 80%; } .auth0-lock sub, .auth0-lock sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } .auth0-lock sup { top: -0.5em; } .auth0-lock sub { bottom: -0.25em; } .auth0-lock img { border: 0; } .auth0-lock svg:not(:root) { overflow: hidden; } .auth0-lock figure { margin: 1em 40px; } .auth0-lock hr { box-sizing: content-box; height: 0; } .auth0-lock pre { overflow: auto; } .auth0-lock code, .auth0-lock kbd, .auth0-lock pre, .auth0-lock samp { font-family: monospace, monospace; font-size: 1em; } .auth0-lock button, .auth0-lock input, .auth0-lock optgroup, .auth0-lock select, .auth0-lock textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } .auth0-lock button { overflow: visible; } .auth0-lock button, .auth0-lock select { text-transform: none; } .auth0-lock button, .auth0-lock html input[type="button"], .auth0-lock input[type="reset"], .auth0-lock input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } .auth0-lock button[disabled], .auth0-lock html input[disabled] { cursor: default; } .auth0-lock button::-moz-focus-inner, .auth0-lock input::-moz-focus-inner { border: 0; padding: 0; } .auth0-lock input { line-height: normal; } .auth0-lock input[type="checkbox"], .auth0-lock input[type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } .auth0-lock input[type="number"]::-webkit-inner-spin-button, .auth0-lock input[type="number"]::-webkit-outer-spin-button { height: auto; } .auth0-lock input[type="search"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; } .auth0-lock input[type="search"]::-webkit-search-cancel-button, .auth0-lock input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } .auth0-lock fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } .auth0-lock legend { border: 0; /* 1 */ padding: 0; /* 2 */ } .auth0-lock textarea { overflow: auto; } .auth0-lock optgroup { font-weight: bold; } .auth0-lock table { border-collapse: collapse; border-spacing: 0; } .auth0-lock td, .auth0-lock th { padding: 0; } .auth0-lock-social-button-icon { background-repeat: no-repeat; background-size: 50%; background-position: center center; } .auth0-lock-social-button[data-provider="amazon"] { background-color: #f90; } .auth0-lock-social-button[data-provider="aol"] { background-color: #ff0b00; } .auth0-lock-social-button[data-provider="baidu"] { background-color: #2529d8; } .auth0-lock-social-button[data-provider="bitbucket"] { background-color: #205081; } .auth0-lock-social-button[data-provider="dropbox"] { background-color: #007ee5; } .auth0-lock-social-button[data-provider="ebay"] { background-color: #0064d2; } .auth0-lock-social-button[data-provider="facebook"] { background-color: #3b5998; } .auth0-lock-social-button[data-provider^="google"] { background-color: #4285f4; } .auth0-lock-social-button[data-provider="instagram"] { background-color: #3f729b; } .auth0-lock-social-button[data-provider="linkedin"] { background-color: #0077b5; } .auth0-lock-social-button[data-provider="github"] { background-color: #333; } .auth0-lock-social-button[data-provider="oauth2"] { background-color: #eb5424; } .auth0-lock-social-button[data-provider="paypal"] { background-color: #009cde; } .auth0-lock-social-button[data-provider^="salesforce"] { background-color: #1798c1; } .auth0-lock-social-button[data-provider="shopify"] { background-color: #96bf48; } .auth0-lock-social-button[data-provider="soundcloud"] { background-color: #f80; } .auth0-lock-social-button[data-provider="renren"] { background-color: #0056b5; } .auth0-lock-social-button[data-provider="exact"] { background-color: #ed1c24; } .auth0-lock-social-button[data-provider="twitter"] { background-color: #55acee; } .auth0-lock-social-button[data-provider=""] { background-color: #c7eaff; } .auth0-lock-social-button[data-provider="yandex"] { background-color: #fc0; } .auth0-lock-social-button[data-provider^="thecity"] { background-color: #767571; } .auth0-lock-social-button[data-provider="planningcenter"] { background-color: #4e4e4e; } .auth0-lock-social-button[data-provider="thirtysevensignals"] { background-color: #6ac071; } .auth0-lock-social-button[data-provider="fitbit"] { background-color: #4cc2c4; } .auth0-lock-social-button[data-provider="wordpress"] { background-color: #21759b; } .auth0-lock-social-button[data-provider="yahoo"] { background-color: #410093; } .auth0-lock-social-button[data-provider="box"] { background-color: #267bb6; } .auth0-lock-social-button[data-provider="vkontakte"] { background-color: #45668e; } .auth0-lock-social-button[data-provider="dwolla"] { background-color: #f5891f; } .auth0-lock-social-button[data-provider="miicard"] { background-color: #3fb7ff; } .auth0-lock-social-button[data-provider="yammer"] { background-color: #0072c6; } .auth0-lock-social-button[data-provider="weibo"] { background-color: #dd4b39; } .auth0-lock-social-button[data-provider^="windows"], .auth0-lock-social-button[data-provider^="microsoft"] { background-color: #00a1f1; } .auth0-lock-social-button[data-provider^=amazon] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDcyIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW1hem9uPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImFtYXpvbiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xLjA2Myw1MC4zMTMgQzEsNTAuNDM4IDAuOTM4LDUwLjU2MyAwLjkzOCw1MC42ODggQzAuOTM4LDUwLjg3NiAxLjA2Myw1MS4xMjYgMS4zMTMsNTEuMzEzIEM2LjAwMSw1NS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MjUgNjYuNDQsNDguNjg3IEM2NC44NzcsNDguNzUgNjMuMzE1LDQ4LjkzNyA2MS42OSw0OS4zNzUgQzYwLjY5LDQ5LjYyNSA1OS42OSw1MC4xMjUgNTguNjI3LDUwLjg3NSBDNTguNDM5LDUxIDU4LjMxNCw1MS4xODggNTguMTg5LDUxLjM3NSBMNTguMTg4LDUxLjM3NSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+C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UgTDI0LjI1MSwyOS44NzUgTDI1Ljg3NiwzNC44MTMgTDM1LjYyNiwzNC44MTMgTDIxLjg3NiwwLjEyNSBMMTQuNjg4LDAuMTI1IEwwLjY4OCwzNC44MTMgWiBNMjEuODc1LDIyLjY4OCBMMTguMzEyLDExLjA2MyBMMTQuNjg3LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2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y43NTM4NzEsMjk0Ljg3NTE0MSBMMTI3Ljc1Mzg3MSwyOTQuODc1MTQxIEMxNzIuOTI2MjMyLDI5NC44NzUxNDEgMjEwLjU2OTg2NiwyNzkuODE3Njg3IDIxNC4zMzQyMzUsMjYwLjk5NTg2NCBDMjE0LjMzNDIzNSwyNTguNDg2MjkzIDIxOC4wOTg1OTIsMjM5LjY2NDQ4MiAyMjMuMTE3NzQ3LDIxMy4zMTM5MzIgTDIyMy4xMTc3NDcsMjEyLjA1OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+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+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDY1IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHR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yNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY2cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDY2IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZHJvcGJveDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJkcm9wYm94IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAuMj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NiBMMTQuMTg3LDYuOTMxIEMxMy42ODcsNy4xMTkgMTMuMDYyLDcuMzY5IDEyLjMxMiw3LjY4MSBDMTEuNTYyLDguMDU2IDExLjA2Miw4LjI0NCAxMC44NzQsOC4zMDYgQzEwLjQ5OSw4LjQ5NCA5LjU2MSw4Ljk5NCA3Ljk5OSw5LjkzMSBDNi43NDksMTAuNjgxIDUuODExLDExLjM2OSA1LjMxMSwxMS45OTQgQzMuODExLDEzLjQ5NCAyLjg3MywxNS40MzIgMi42MjMsMTcuODA3IEMxLjkzNSwyMi42ODIgMy45MzYsMjcuOTk1IDguNjIzLDMzLjYyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+Cjxzdmcgd2lkdGg9IjkwcHgiIGhlaWdodD0iMzlweCIgdmlld0JveD0iMCAwIDkwIDM5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOn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cuNjksMjQuNjg3IEM1Ny4yNTIsMjQuODc1IDU2LjgxNSwyNSA1Ni4yNTIsMjUgQzU0LjUwMiwyNSA1My42MjcsMjMuNjg3IDUzLjYyNywyMSBMNTMuNjI1LDIxIFogTTU3Ljg3NSwwLjM3NSBMNTkuNTYzLDMuNjg4IEM2Mi4zMTMsNC4wNjMgNjQuMTI2LDQuOTM4IDY1LjA2Myw2LjI1MSBDNjUuOTM4LDcuNjI2IDY2LjQzOCw5LjQzOSA2Ni40MzgsMTEuODE0IEw2Ni40MzgsMTcuNjI3IEw2OS4xODgsMjMuMzE1IEw2OS4xODgsMzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Cjxzdmcgd2lkdGg9IjQzcHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQzIDMyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Z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2LDE5LjI5NiA0MS43NjQsMjAuNjM2IEM0Mi4xMTEsMjQuMTUxIDQyLjExMSwyNy43MjUgNDIuMTQsMzEuMjY5IEMyOC4yMzUsMzEuMjM5IDE0LjM1OSwzMS4yMzkgMC40NTQsMzEuMjEgQzAuMzY3LDI3LjU0NyAwLjI4MSwyMy44ODMgMC4yMjMsMjAuMjIgTDAuMjIzLDIwLjIyIEwwLjIyMywyMC4yMiBMMC4yMjMsMjAuMjE5IFoiIGlkPSJTaGFwZSI+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+Cjxzdmcgd2lkdGg9IjYwcHgiIGhlaWdodD0iNTlweCIgdmlld0JveD0iMCAwIDYwIDU5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM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zEzIDIxLjU2Myw0NC4zNzUgMjEuNTYzLDQyIEMyMS41NjMsMzkuNjI1IDE5LjYyNSwzNy42MjUgMTcuMjUsMzcuNjI1IEMxNC42ODcsMzcuNjI1IDEyLjg3NSwzOS41IDEyLjg3NSw0MiBMMTIuODc1LDQyIFogTTMwLDEyLjYyNSBDMjcuNSwxMi42ODggMjUuNjI1LDE0LjUgMjUuNTYyLDE2Ljg3NSBDMjUuNTYyLDE5LjI1IDI3LjUsMjEuMTg4IDI5LjkzNywyMS4xODggQzMyLjUsMjEuMTg4IDM0LjQzNywxOS4zMTMgMzQuNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6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UzMiwyOC45OTggQzAuNTMyLDEzLjI2NiAxMy4zLDAuNDk4IDI5LjAzMiwwLjQ5OCBDMzYuNzI4LDAuNDk4IDQzLjE2OCwzLjMyIDQ4LjA5OCw3LjkzNiBMNDAuMDA0LDE1LjgwMiBDMzcuOTUyLDEzLjg2NCAzNC4zNiwxMS41ODQgMjkuMDMyLDExLjU4NCBDMTkuNTk4LDExLjU4NCAxMS45MDQsMTkuNDIyIDExLjkwNCwyOS4wMjYgQzExLjkwNCwzOC42MyAxOS42LDQ2LjQ2OCAyOS4wMzIsNDYuNDY4IEMzOS45NDgsNDYuNDY4IDQzLjk2NiwzOC45MTYgNDQuNzA2LDM0LjQ0IEwyOS4wMDIsMzQuNDQgTDI5LjAwMiwzNC40MTIgTDI5LjAwNCwzNC40MTQgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=instagram] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+aW5zdGFncmF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MyNi40OTksMjIuMTg3IDI1LjQzNiwyMi44NzUgMjQuNDk5LDIzLjY4NyBDMjEuODc0LDI2IDIwLjI0OSwyOS4zNzUgMjAuMjQ5LDMzLjEyNSBMMjAuMjUsMzMuMTI1IFogTTIzLjU2MywzMy4xMjUgQzIzLjU2MywyOCAyNy42ODgsMjMuODEyIDMyLjgxMywyMy44MTIgQzM3LjkzOCwyMy44MTIgNDIuMTI2LDI4IDQyLjEyNiwzMy4xMjUgQzQyLjEyNiwzOC4yNSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+Q3JlYXRlZCB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4OCBMMzcuNzUsMjYuODEzIEwzNy44MTMsMjYuODEzIEwzNy44MTMsMjYuNjg4IEM0MC44NzYsMjEuOTM4IDQ1LjE4OCwxOS41NjMgNTAuNjg4LDE5LjU2MyBDNTUuNTYzLDE5LjU2MyA1OS41MDEsMjEuMjUxIDYyLjUwMSwyNC41MDEgQzY1LjUwMSwyNy43NTEgNjcuMDAxLDMyLjU2NCA2Ny4wMDEsMzguODc2IEw2Ny4wMDEsNjMuMzc2IEw1Mi43NTEsNjMuMzc2IEw1Mi43NTEsNDAuNTAxIEM1Mi43NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=miicard] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iNjFweCIgdmlld0JveD0iMCAwIDkxIDYxIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZ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4xMjYgMjQuMzEyLDE4LjU2MyBMMjQuMzEzLDE4LjU2MyBaIE02NC4xMjUsMzIuNjg4IEw2NC4xMjUsMTguODc1IEw2MS41LDE4LjgxMiBDNTkuNSwxOC44MTIgNTguOTM3LDE4LjgxMiA1OC44NzUsMTguOTM3IEM1OC44MTMsMTkuMDYyIDU4LjgxMiwyNS4yNSA1OC44MTIsMzIuODEyIEw1OC44NzUsNDYuNSBMNjQuMTI1LDQ2LjUgTDY0LjEyNSwzMi42ODcgTDY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNTAuMSAxNjcuOCIgZW5hYmxlLWJhY2tncm91bm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QzYwLjc1MiwxOS44NzUgNjAuNTAyLDE2LjI1IDU5LjA2NCwxMy4xMjUgQzYyLjEyNywxNi42ODggNjMuMDAyLDIxLjM3NSA2MS44MTQsMjcuMTI1IEM2MC41NjQsMzIuOTM4IDU3LjgxNCwzNy41IDUzLjU2NCw0MC44MTMgQzQ5LjM3Niw0NC4xMjYgNDQuMzc2LDQ1LjgxMyAzOC42MjYsNDUuODEzIEwyNi44NzYsNDUuODEzIEwyMi44NzYsNjQuNjg4IEw2LjM3Niw2NC42ODggTDYuMzc1LDY0LjY4OCBaIE0yMi44NzUsMjcuODc1IEwyNi4zNzUsMTIuMjUgTDM0LjM3NSwxMi4yNSBDMzUuNzUsMTIuMjUgMzYuOTM4LDEyLjYyNSAzNy45MzgsMTMuMzc1IEMzOC45MzgsMTQuMTI1IDM5LjYyNiwxNS4xMjUgMzkuOTM4LDE2LjM3NSBDMzkuMzEzLDE2LjI1IDM4LjkzOCwxNi4xODcgMzguODc1LDE2LjE4NyBMMzAuODc1LDE2LjE4NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: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NDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iMzVweCIgdmlld0JveD0iMCAwIDYxIDM1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cmVucmVuPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InJlbnJlbiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMC4zNzUsMC40MzggQzIwLjY4OCw3Lj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BDMTUuMDYyLDI3LjEyNSAxMi43NSwzMC4wNjMgMTAuMzEyLDMzLjA2MyBDMTUsMzUuMDYzIDE5LjY4NywzNS4xMjYgMjQuMTg3LDMzLjA2MyBMMjQuMTg4LDMzLjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzYWxlc2ZvcmNlIiBza2V0Y2g6dHlwZT0iT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y41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU1cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDU1IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2hvcGlmeTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzaG9waWZ5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTIxLjEy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IuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzb3VuZGNsb3VkIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsMjYuMjUgQzAsMjkuMTI1ID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uMDAxIDM4LjgxNCwzNS4yNTEgQzM5LjAwMiwzNS41MDEgMzkuMjUyLDM1LjYyNiAzOS41MDIsMzUuNjI2IEw2NC42MjcsMzUuNjI2IEM2Ny4xMjcsMzUuNjI2IDY5LjI1MiwzNC42MjYgNzEuMDY1LDMyLjY4OCBDNzIuODE1LDMwLjc1IDczLjY5LDI4LjM3NSA3My42OSwyNS42MjUgQzczLjY5LDIyLjg3NSA3Mi43NTIsMjAuNSA3MS4wMDIsMTguNTYyIEM2OS4yNTIsMTYuNjI0IDY3LjEyNywxNS42MjQgNjQuNjI3LDE1LjYyNCBDNjMuNTAyLDE1LjYyNCA2Mi4zMTQsMTUuOTM3IDYxLjEyNywxNi40OTkgQzYwLjc1MiwxMS45MzYgNTkuMDY0LDguMTI0IDU2LjAwMiw1LjA2MSBDNTIuOTM5LDEuOTM2IDQ5LjMxNCwwLjQzNiA0NS4xODksMC40MzYgQzQ0LjgxNCwwLjQzNiA0NC4yNTEsMC40MzYgNDMuNjI2LDAuNTYxIEM0Mi45MzgsMC42MjQgNDIuMTg4LDAuNzQ5IDQxLjQzOCwwLjg3NCBDNDAuNjI1LDEuMDYyIDM5Ljg3NSwxLjMxMiAzOS4zMTMsMS42MjQgQzM4Ljc1LDEuOTk5IDM4LjUsMi4zNzQgMzguNSwyLjc0OSBDMzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgd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YzLDMxLjc1IEw1My41NjMsMzEuNzUgQzU5LjI1MSwyOS4zMTIgNjAuMzEzLDMwLjc1IDYwLjEyNiw0MS4xODggQzU5Ljg3Niw1Mi4zMTMgNjAuMDAxLDUxLjgxMyA1Ny44MTMsNTEuODEzIEM1Ni4zMTMsNTEuODEzIDQ2LjQzOCw0Ny41NjMgNDMuNSw0NS42MjUgQzQzLjMxMiw0NS41IDQ0LjY4OCw0Mi42ODcgNDYuNjI1LDM5LjMxMiBDNDksMzUuMTg3IDUxLjMxMywzMi42ODcgNTMuNTYzLDMxLjc0OSBMNTMuNTYzLDMxLjc1IFogTTYuOTM4LDQ0LjE4OCBMNi45MzgsNDQuMTg4IEMxMC4wMDEsNDMuMTI1IDEzLjg3Niw0My44NzUgMTguMDAxLDQ2LjUwMSBDMTkuODc2LDQ3LjU2NCAyMi4yNTEsNDguNTY0IDIzLjE4OSw0OC41NjQgQzI2LjM3Nyw0OC41NjQgMTguNzUxLDYxLjQzOSAxNC41NjQsNjMuMzE0IEM3LjUwMSw2Ni4yNTIgMC4wMDEsNjEuMjUxIDAuMDAxLDUzLjYyNiBDMC4wMDEsNTAuNTAxIDMuNjg5LDQ1LjM3NiA2LjkzOSw0NC4xODggTDYuOTM4LDQ0LjE4OCBaIE0zOS4zMTMsNTIgTDM5Ljg3Niw1MS42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url("data:image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cm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0d2l0dGVyIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsNTcuNDM4IEM3LjYyNSw2Mi4yNTEgMTUuODc1LDY0LjYyNiAyNC43NSw2NC42MjYgQzMwLjUsNjQuNjI2IDM1LjkzOCw2My43NTEgNDAuOTM4LDYxLjkzOCBDNDUuOT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YyNCAxMi4zNzcsMzguNDM3IDE2LjEyNywzOS4xODcgQzE0Ljc1MiwzOS41NjIgMTMuMzE0LDM5Ljc1IDExLjgxNCwzOS43NSBDMTAuNjg5LDM5Ljc1IDkuNjg5LDM5LjY4NyA4LjgxNCwzOS41IEM5Ljg3Nyw0Mi43NSAxMS43NTIsNDUuMzc1IDE0LjUwMiw0Ny41IEMxNy4zMTUsNDkuNTYzIDIwLjQ0LDUwLjYyNSAyMy45NCw1MC42ODggQzE4LjA2NSw1NS4zMTMgMTEuMzc3LDU3LjYyNiAzLjgxNSw1Ny42MjYgQzIuNTY1LDU3LjYyNiAxLjI1Miw1Ny41NjMgMC4wMDIsNTcuNDM4IEwwLDU3LjQzOCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Q3JlYXRlZCB3aXR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EwLjg3MSwyLjc0MyAxMC4xODQsMi44MDYgQzguODcxLDIuODY5IDguMDU5LDIuOTMxIDcuODA5LDIuOTMxIEM3LjM3MSwyLjkzMSA2LjY4NCwyLjkzMSA1Ljc0NiwyLjg2OCBDNS4xMjEsMi44MDUgNC42MjEsMi44MDUgNC4xODMsMi44MDUgTDMuNjIsMi44MDUgQzMuMTIsMi44MDUgMi42MiwyLjg2OCAxLjk5NSwzLjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0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aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywwLjA0NSBMNjMuMTMyLDAuMDQ1IEw2My4xMzIsMjguNzQ3IEwzNC40MywyOC43NDcgTDM0LjQzLDAuMDQ1IEwzNC40MywwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=wordpress] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaG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ODc1LDMyLjI1IEM1Ny4zNzUsMjcuODc1IDU4LjEyNSwyNC4zNzUgNTguMTI1LDIxLjY4NyBDNTguMTI1LDIwLjU2MiA1OC4wNjIsMTkuNTYyIDU3LjkzNywxOC42ODcgQzYwLjMxMiwyMyA2MS41LDI3LjY4NyA2MS41LDMyLjgxMiBDNjEuNSwzOC4xMjUgNjAuMTg3LDQzLjA2MiA1Ny41NjIsNDcuNjI1IEM1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5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LDkuMzc4IDAuNTYxLDkuMTkxIDAuMzc0LDguODc4IEwwLDcuNjg4IFogTTc2LjE4OCwwLjY4OCBMNzguODEzLDM3LjI1MSBMODIuNjg4LDM3LjQzOSBMODguMDAxLDEuMTg5IEw3Ni4xODgsMC42ODggWiBNNzcsNDkuNTYzIEw4NC4wNjMsNDkuODEzIEw4NC4zMTMsNDIuNzUgTDc3LjI1LDQyLjUgTDc3LDQ5LjU2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZX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uNjIzLDU5LjM3NiA3LjE4Niw1OS4zNzYgTDEuNzQ4LDU5LjM3NiBDMS4xMjMsNTkuMzc2IDAuNzQ4LDU4LjgxMyAxLjEyMyw1OC4xMjYgTDEyLjgxMSwzNi41MDEgQzYuNTYxLDMzLjY4OCAzLjA2MSwyOC4wMDEgMy4wNjEsMjAuMjUxIEMzLjA2MSw3LjMxMyAxMC4yNDksMC42MjYgMTguODExLDAuNjI2IEwyNy40OTksMC42MjYgTDI3LjUsMC42MjUgWiBNMjIuNDM4LDMyLjU2MyBMMjIuNDM4LDUuNjg4IEwxOC41NjMsNS42ODggQzEzLjkzOCw1LjY4OCA5LjM3NSw5LjYyNiA5LjM3NSwxOS40MzggQzkuMzc1LDI4LjgxMyAxNC4yNSwzMi41NjMgMTkuMjUsMzIuNTYzIEwyMi40MzgsMzIuNTYzIEwyMi40MzgsMzIuNTYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+Cjxzdmcgd2lkdGg9IjgwcHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDgwIDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY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gNjQuMDAzLDIxLjg3NyA2My44NzgsMjIuNDM5IEM2My43NTMsMjIuNzUyIDYzLjc1MywyMy4wMDIgNjMuNzUzLDIzLjMxNCBDNjMuNzUzLDIzLjY4OSA2My44MTYsMjQuMDY0IDY0LjAwMywyNC40MzkgQzY0LjMxNiwyNS4wNjQgNjQuODE2LDI1LjUwMiA2NS41MDMsMjUuNzUyIEM2NS43NTMsMjUuODE1IDY2LjA2NiwyNS44NzcgNjYuMzc4LDI1Ljg3NyBDNjYuNzUzLDI1Ljg3NyA2Ny4xMjgsMjUuNzUyIDY3LjUwMywyNS41NjQgQzY4LjEyOCwyNS4yNTEgNjguNTY2LDI0Ljc1MSA2OC43NTMsMjQuMDY0IEM2OS4xMjgsMjMuMDY0IDY5LjMxNiwyMi4wMDEgNjkuMzE2LDIxLjAwMSBDNjkuMzE2LDIwLjMxMyA2OS4yNTMsMTkuNjI2IDY5LjEyOCwxOC44NzYgQzY4LjY5LDE3LjA2MyA2Ny44NzgsMTUuNTAxIDY2LjY5LDE0LjA2MyBDNjQuNjI3LDExLjgxMyA2Mi4xOSwxMC42ODggNTkuMzE1LDEwLjY4OCBDNTguNTY1LDEwLjY4OCA1Ny43NTIsMTAuNzUxIDU2Ljk0LDEwLjkzOCBDNTYuMTksMTEuMTI2IDU1LjYyNywxMS41MDEgNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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,PD94bWwgdm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ExNzcuMzc1LDYwNzAuNDcxMjEgMTE3OC4yODM5OCw2MDY5LjU2MTE3IDExNzkuNDA2MjUsNjA2OS41NjExNyBDMTE4MC41Mjg1Miw2MDY5LjU2MTE3IDExODEuNDM3NSw2MDcwLjQ3MTIxIDExODEuNDM3NSw2MDcxLjU5MjUxIEwxMTgxLjQzNzUsNjA4My43ODA1OCBDMTE4MS40Mzc1LDYwODQuOTAwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz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Zz4gICAgPC9nPjwvc3ZnPg=="); } .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.6.0'; + 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? + +/***/ }, +/* 142 */ +/***/ function(module, exports, __webpack_require__) { + + "use strict"; + + exports.__esModule = true; + exports.skipQuickAuth = skipQuickAuth; + exports.hasSkippedQuickAuth = hasSkippedQuickAuth; + + var _data_utils = __webpack_require__(19); + + 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); + } + +/***/ }, +/* 143 */ +/***/ 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__(298); + + 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; }()))) + +/***/ }, +/* 144 */ +/***/ 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; + +/***/ }, +/* 145 */ +/***/ 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__(35); + + 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; + +/***/ }, +/* 146 */ +/***/ function(module, exports) { + + "use strict"; + + exports.__esModule = true; + exports.isSmallScreen = isSmallScreen; + function isSmallScreen() { + return window.matchMedia && !window.matchMedia("(min-width: 380px)").matches; + } + +/***/ }, +/* 147 */ +/***/ 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; + } + +/***/ }, +/* 148 */ +/***/ 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; + +/***/ }, +/* 149 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + /** + * Module dependencies. + */ + + var json_parse = __webpack_require__(95); + + /** + * 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 } + }); + } + +/***/ }, +/* 150 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var IframeHandler = __webpack_require__(148); + + 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; + +/***/ }, +/* 151 */ +/***/ 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.'); + } + } + +/***/ }, +/* 152 */ +/***/ 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); + } + +/***/ }, +/* 153 */ +/***/ 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; + }; + +/***/ }, +/* 154 */ +/***/ 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]'; + }; + +/***/ }, +/* 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__) { + + '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) { + 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) { + 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 { + r = exports.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) {} + } + +/***/ }, +/* 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 = 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, '\\$&').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__(96); + + module.exports = { + formats: formats, + parse: parse, + stringify: stringify + }; + +/***/ }, +/* 164 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + var utils = __webpack_require__(97); + + 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__(97); + var formats = __webpack_require__(96); + + 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__(315); + } 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.4.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__(82).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__(44); + + 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__(44); + + 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__(44); + + /* 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__(196); + +/***/ }, +/* 187 */ +/***/ 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. + * + * @providesModule AutoFocusUtils + */ + + 'use strict'; + + var ReactDOMComponentTree = __webpack_require__(7); + + var focusNode = __webpack_require__(131); + + var AutoFocusUtils = { + focusDOMComponent: function focusDOMComponent() { + focusNode(ReactDOMComponentTree.getNodeFromInstance(this)); + } + }; + + module.exports = AutoFocusUtils; + +/***/ }, +/* 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. + * + * @providesModule BeforeInputEventPlugin + */ + + '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 EventConstants = __webpack_require__(20); + var EventPropagators = __webpack_require__(38); + var ExecutionEnvironment = __webpack_require__(10); + var FallbackCompositionState = __webpack_require__(194); + var SyntheticCompositionEvent = __webpack_require__(235); + var SyntheticInputEvent = __webpack_require__(238); + + var keyOf = __webpack_require__(25); + + 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); + + var topLevelTypes = EventConstants.topLevelTypes; + + // Events and their corresponding property names. + var eventTypes = { + beforeInput: { + phasedRegistrationNames: { + bubbled: keyOf({ onBeforeInput: null }), + captured: keyOf({ onBeforeInputCapture: null }) + }, + dependencies: [topLevelTypes.topCompositionEnd, topLevelTypes.topKeyPress, topLevelTypes.topTextInput, topLevelTypes.topPaste] + }, + compositionEnd: { + phasedRegistrationNames: { + bubbled: keyOf({ onCompositionEnd: null }), + captured: keyOf({ onCompositionEndCapture: null }) + }, + dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionEnd, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown] + }, + compositionStart: { + phasedRegistrationNames: { + bubbled: keyOf({ onCompositionStart: null }), + captured: keyOf({ onCompositionStartCapture: null }) + }, + dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionStart, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown] + }, + compositionUpdate: { + phasedRegistrationNames: { + bubbled: keyOf({ onCompositionUpdate: null }), + captured: keyOf({ onCompositionUpdateCapture: null }) + }, + dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionUpdate, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.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 topLevelTypes.topCompositionStart: + return eventTypes.compositionStart; + case topLevelTypes.topCompositionEnd: + return eventTypes.compositionEnd; + case topLevelTypes.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 === topLevelTypes.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 topLevelTypes.topKeyUp: + // Command keys insert or clear IME input. + return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1; + case topLevelTypes.topKeyDown: + // Expect IME keyCode on each keydown. If we get any other + // code we must have exited earlier. + return nativeEvent.keyCode !== START_KEYCODE; + case topLevelTypes.topKeyPress: + case topLevelTypes.topMouseDown: + case topLevelTypes.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 topLevelTypes.topCompositionEnd: + return getDataFromCustomEvent(nativeEvent); + case topLevelTypes.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 topLevelTypes.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 === topLevelTypes.topCompositionEnd || !canUseCompositionEvent && isFallbackCompositionEnd(topLevelType, nativeEvent)) { + var chars = currentComposition.getData(); + FallbackCompositionState.release(currentComposition); + currentComposition = null; + return chars; + } + return null; + } + + switch (topLevelType) { + case topLevelTypes.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 topLevelTypes.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 topLevelTypes.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; + +/***/ }, +/* 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. + * + * @providesModule CSSPropertyOperations + */ + + 'use strict'; + + var CSSProperty = __webpack_require__(100); + var ExecutionEnvironment = __webpack_require__(10); + var ReactInstrumentation = __webpack_require__(15); + + var camelizeStyleName = __webpack_require__(253); + var dangerousStyleValue = __webpack_require__(245); + var hyphenateStyleName = __webpack_require__(260); + var memoizeStringOnly = __webpack_require__(263); + 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(component._debugID, 'update styles', 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; + +/***/ }, +/* 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. + * + * @providesModule ChangeEventPlugin + */ + + 'use strict'; + + var EventConstants = __webpack_require__(20); + var EventPluginHub = __webpack_require__(37); + var EventPropagators = __webpack_require__(38); + var ExecutionEnvironment = __webpack_require__(10); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactUpdates = __webpack_require__(17); + var SyntheticEvent = __webpack_require__(21); + + var getEventTarget = __webpack_require__(76); + var isEventSupported = __webpack_require__(77); + var isTextInputElement = __webpack_require__(127); + var keyOf = __webpack_require__(25); + + var topLevelTypes = EventConstants.topLevelTypes; + + var eventTypes = { + change: { + phasedRegistrationNames: { + bubbled: keyOf({ onChange: null }), + captured: keyOf({ onChangeCapture: null }) + }, + dependencies: [topLevelTypes.topBlur, topLevelTypes.topChange, topLevelTypes.topClick, topLevelTypes.topFocus, topLevelTypes.topInput, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.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 === topLevelTypes.topChange) { + return targetInst; + } + } + function handleEventsForChangeEventIE8(topLevelType, target, targetInst) { + if (topLevelType === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.topBlur) { + stopWatchingForValueChange(); + } + } + + // For IE8 and IE9. + function getTargetInstForInputEventIE(topLevelType, targetInst) { + if (topLevelType === topLevelTypes.topSelectionChange || topLevelType === topLevelTypes.topKeyUp || topLevelType === topLevelTypes.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 === topLevelTypes.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; + +/***/ }, +/* 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. + * + * @providesModule Danger + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var DOMLazyTree = __webpack_require__(30); + var ExecutionEnvironment = __webpack_require__(10); + + var createNodesFromMarkup = __webpack_require__(256); + var emptyFunction = __webpack_require__(13); + var invariant = __webpack_require__(2); + + 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; + +/***/ }, +/* 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. + * + * @providesModule DefaultEventPluginOrder + */ + + 'use strict'; + + var keyOf = __webpack_require__(25); + + /** + * 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 = [keyOf({ ResponderEventPlugin: null }), keyOf({ SimpleEventPlugin: null }), keyOf({ TapEventPlugin: null }), keyOf({ EnterLeaveEventPlugin: null }), keyOf({ ChangeEventPlugin: null }), keyOf({ SelectEventPlugin: null }), keyOf({ BeforeInputEventPlugin: null })]; + + module.exports = DefaultEventPluginOrder; + +/***/ }, +/* 193 */ +/***/ 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. + * + * @providesModule EnterLeaveEventPlugin + */ + + 'use strict'; + + var EventConstants = __webpack_require__(20); + var EventPropagators = __webpack_require__(38); + var ReactDOMComponentTree = __webpack_require__(7); + var SyntheticMouseEvent = __webpack_require__(48); + + var keyOf = __webpack_require__(25); + + var topLevelTypes = EventConstants.topLevelTypes; + + var eventTypes = { + mouseEnter: { + registrationName: keyOf({ onMouseEnter: null }), + dependencies: [topLevelTypes.topMouseOut, topLevelTypes.topMouseOver] + }, + mouseLeave: { + registrationName: keyOf({ onMouseLeave: null }), + dependencies: [topLevelTypes.topMouseOut, topLevelTypes.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 === topLevelTypes.topMouseOver && (nativeEvent.relatedTarget || nativeEvent.fromElement)) { + return null; + } + if (topLevelType !== topLevelTypes.topMouseOut && topLevelType !== topLevelTypes.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 === topLevelTypes.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; + +/***/ }, +/* 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. + * + * @providesModule FallbackCompositionState + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var PooledClass = __webpack_require__(23); + + var getTextContentAccessor = __webpack_require__(124); + + /** + * 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; + +/***/ }, +/* 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. + * + * @providesModule HTMLDOMPropertyConfig + */ + + '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; + +/***/ }, +/* 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. + * + * @providesModule ReactCSSTransitionGroup + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var React = __webpack_require__(46); + + var ReactTransitionGroup = __webpack_require__(229); + var ReactCSSTransitionGroupChild = __webpack_require__(197); + + 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 = React.createClass({ + displayName: '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') + }, + + getDefaultProps: function getDefaultProps() { + return { + transitionAppear: false, + transitionEnter: true, + transitionLeave: true + }; + }, + + _wrapChild: function _wrapChild(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); + }, + + render: function render() { + return React.createElement(ReactTransitionGroup, _assign({}, this.props, { childFactory: this._wrapChild })); + } + }); + + module.exports = ReactCSSTransitionGroup; + +/***/ }, +/* 197 */ +/***/ 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. + * + * @providesModule ReactCSSTransitionGroupChild + */ + + 'use strict'; + + var React = __webpack_require__(46); + var ReactDOM = __webpack_require__(105); + + var CSSCore = __webpack_require__(251); + var ReactTransitionEvents = __webpack_require__(228); + + var onlyChild = __webpack_require__(128); + + 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 = ReactDOM.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; + +/***/ }, +/* 198 */ +/***/ 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. + * + * @providesModule ReactChildReconciler + */ + + 'use strict'; + + var ReactReconciler = __webpack_require__(33); + + var instantiateReactComponent = __webpack_require__(126); + var KeyEscapeUtils = __webpack_require__(62); + var shouldUpdateReactComponent = __webpack_require__(78); + var traverseAllChildren = __webpack_require__(79); + 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__(66); + } + + function instantiateChild(childInstances, child, name, selfDebugID) { + // We found a component instance. + var keyUnique = childInstances[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 (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__(42))) + +/***/ }, +/* 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. + * + * @providesModule ReactComponentBrowserEnvironment + */ + + 'use strict'; + + var DOMChildrenOperations = __webpack_require__(58); + var ReactDOMIDOperations = __webpack_require__(207); + + /** + * 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; + +/***/ }, +/* 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. + * + * @providesModule ReactCompositeComponent + */ + + '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__(6); + + var ReactComponentEnvironment = __webpack_require__(65); + var ReactCurrentOwner = __webpack_require__(24); + var ReactElement = __webpack_require__(16); + var ReactErrorUtils = __webpack_require__(67); + var ReactInstanceMap = __webpack_require__(32); + var ReactInstrumentation = __webpack_require__(15); + var ReactNodeTypes = __webpack_require__(114); + var ReactPropTypeLocations = __webpack_require__(70); + var ReactReconciler = __webpack_require__(33); + + var checkReactTypeSpec = __webpack_require__(244); + var emptyObject = __webpack_require__(41); + var invariant = __webpack_require__(2); + var shallowEqual = __webpack_require__(81); + var shouldUpdateReactComponent = __webpack_require__(78); + 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 || ReactElement.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 ReactCompositeComponentMixin = { + + /** + * 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 || ReactElement.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, ReactPropTypeLocations.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, ReactPropTypeLocations.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) { + 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 renderedComponent; + + if (false) { + renderedComponent = measureLifeCyclePerf(function () { + return inst.render(); + }, this._debugID, 'render'); + } else { + renderedComponent = inst.render(); + } + + if (false) { + // We allow auto-mocks to proceed as if they're returning null. + if (renderedComponent === undefined && inst.render._isMockFunction) { + // This is probably bad practice. Consider warning here and + // deprecating this convenience. + renderedComponent = null; + } + } + + return renderedComponent; + }, + + /** + * @private + */ + _renderValidatedComponent: function _renderValidatedComponent() { + var renderedComponent; + if (("production") !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) { + ReactCurrentOwner.current = this; + try { + renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext(); + } finally { + ReactCurrentOwner.current = null; + } + } else { + renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext(); + } + !( + // TODO: An `isValidNode` function would probably be more appropriate + renderedComponent === null || renderedComponent === false || ReactElement.isValidElement(renderedComponent)) ? 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 renderedComponent; + }, + + /** + * 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 + + }; + + var ReactCompositeComponent = { + + Mixin: ReactCompositeComponentMixin + + }; + + module.exports = ReactCompositeComponent; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMButton + */ + + 'use strict'; + + var DisabledInputUtils = __webpack_require__(45); + + /** + * Implements a <button> host component that does not receive mouse events + * when `disabled` is set. + */ + var ReactDOMButton = { + getHostProps: DisabledInputUtils.getHostProps + }; + + module.exports = ReactDOMButton; + +/***/ }, +/* 202 */ +/***/ 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. + * + * @providesModule ReactDOMComponent + */ + + /* 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__(6); + + var AutoFocusUtils = __webpack_require__(187); + var CSSPropertyOperations = __webpack_require__(189); + var DOMLazyTree = __webpack_require__(30); + var DOMNamespaces = __webpack_require__(59); + var DOMProperty = __webpack_require__(31); + var DOMPropertyOperations = __webpack_require__(102); + var EventConstants = __webpack_require__(20); + var EventPluginHub = __webpack_require__(37); + var EventPluginRegistry = __webpack_require__(60); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactDOMButton = __webpack_require__(201); + var ReactDOMComponentFlags = __webpack_require__(106); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactDOMInput = __webpack_require__(208); + var ReactDOMOption = __webpack_require__(209); + var ReactDOMSelect = __webpack_require__(107); + var ReactDOMTextarea = __webpack_require__(212); + var ReactInstrumentation = __webpack_require__(15); + var ReactMultiChild = __webpack_require__(220); + var ReactServerRenderingTransaction = __webpack_require__(225); + + var emptyFunction = __webpack_require__(13); + var escapeTextContentForBrowser = __webpack_require__(49); + var invariant = __webpack_require__(2); + var isEventSupported = __webpack_require__(77); + var keyOf = __webpack_require__(25); + var shallowEqual = __webpack_require__(81); + var validateDOMNesting = __webpack_require__(80); + 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 = keyOf({ style: null }); + var HTML = keyOf({ __html: null }); + 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(EventConstants.topLevelTypes.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(EventConstants.topLevelTypes[event], mediaEvents[event], node)); + } + } + break; + case 'source': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node)]; + break; + case 'img': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load', node)]; + break; + case 'form': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topReset, 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topSubmit, 'submit', node)]; + break; + case 'input': + case 'select': + case 'textarea': + inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.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 + }; + + // NOTE: menuitem's close tag should be omitted, but that causes problems. + 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 'button': + props = ReactDOMButton.getHostProps(this, props, hostParent); + 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 'button': + lastProps = ReactDOMButton.getHostProps(this, lastProps); + nextProps = ReactDOMButton.getHostProps(this, nextProps); + break; + 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; + +/***/ }, +/* 203 */ +/***/ 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. + * + * @providesModule ReactDOMContainerInfo + */ + + 'use strict'; + + var validateDOMNesting = __webpack_require__(80); + + 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; + +/***/ }, +/* 204 */ +/***/ 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. + * + * @providesModule ReactDOMEmptyComponent + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var DOMLazyTree = __webpack_require__(30); + var ReactDOMComponentTree = __webpack_require__(7); + + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMFactories + */ + + 'use strict'; + + var ReactElement = __webpack_require__(16); + + /** + * 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; + +/***/ }, +/* 206 */ +/***/ 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. + * + * @providesModule ReactDOMFeatureFlags + */ + + 'use strict'; + + var ReactDOMFeatureFlags = { + useCreateElement: true + }; + + module.exports = ReactDOMFeatureFlags; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMIDOperations + */ + + 'use strict'; + + var DOMChildrenOperations = __webpack_require__(58); + var ReactDOMComponentTree = __webpack_require__(7); + + /** + * 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; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMInput + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(6); + + var DisabledInputUtils = __webpack_require__(45); + var DOMPropertyOperations = __webpack_require__(102); + var LinkedValueUtils = __webpack_require__(63); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactUpdates = __webpack_require__(17); + + var invariant = __webpack_require__(2); + 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 + }, DisabledInputUtils.getHostProps(inst, 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; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMOption + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var ReactChildren = __webpack_require__(103); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactDOMSelect = __webpack_require__(107); + + 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. + ReactChildren.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; + +/***/ }, +/* 210 */ +/***/ 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. + * + * @providesModule ReactDOMSelection + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + + var getNodeForCharacterOffset = __webpack_require__(248); + var getTextContentAccessor = __webpack_require__(124); + + /** + * 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; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMTextComponent + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(6); + + var DOMChildrenOperations = __webpack_require__(58); + var DOMLazyTree = __webpack_require__(30); + var ReactDOMComponentTree = __webpack_require__(7); + + var escapeTextContentForBrowser = __webpack_require__(49); + var invariant = __webpack_require__(2); + var validateDOMNesting = __webpack_require__(80); + + /** + * 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; + +/***/ }, +/* 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. + * + * @providesModule ReactDOMTextarea + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4), + _assign = __webpack_require__(6); + + var DisabledInputUtils = __webpack_require__(45); + var LinkedValueUtils = __webpack_require__(63); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactUpdates = __webpack_require__(17); + + var invariant = __webpack_require__(2); + 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({}, DisabledInputUtils.getHostProps(inst, 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; + +/***/ }, +/* 213 */ +/***/ 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. + * + * @providesModule ReactDOMTreeTraversal + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + /** + * 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], false, arg); + } + for (i = 0; i < path.length; i++) { + fn(path[i], true, 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], true, argFrom); + } + for (i = pathTo.length; i-- > 0;) { + fn(pathTo[i], false, argTo); + } + } + + module.exports = { + isAncestor: isAncestor, + getLowestCommonAncestor: getLowestCommonAncestor, + getParentInstance: getParentInstance, + traverseTwoPhase: traverseTwoPhase, + traverseEnterLeave: traverseEnterLeave + }; + +/***/ }, +/* 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. + * + * @providesModule ReactDefaultBatchingStrategy + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var ReactUpdates = __webpack_require__(17); + var Transaction = __webpack_require__(40); + + var emptyFunction = __webpack_require__(13); + + 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.Mixin, { + 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) { + callback(a, b, c, d, e); + } else { + transaction.perform(callback, null, a, b, c, d, e); + } + } + }; + + module.exports = ReactDefaultBatchingStrategy; + +/***/ }, +/* 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. + * + * @providesModule ReactDefaultInjection + */ + + 'use strict'; + + var BeforeInputEventPlugin = __webpack_require__(188); + var ChangeEventPlugin = __webpack_require__(190); + var DefaultEventPluginOrder = __webpack_require__(192); + var EnterLeaveEventPlugin = __webpack_require__(193); + var HTMLDOMPropertyConfig = __webpack_require__(195); + var ReactComponentBrowserEnvironment = __webpack_require__(199); + var ReactDOMComponent = __webpack_require__(202); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactDOMEmptyComponent = __webpack_require__(204); + var ReactDOMTreeTraversal = __webpack_require__(213); + var ReactDOMTextComponent = __webpack_require__(211); + var ReactDefaultBatchingStrategy = __webpack_require__(214); + var ReactEventListener = __webpack_require__(217); + var ReactInjection = __webpack_require__(218); + var ReactReconcileTransaction = __webpack_require__(223); + var SVGDOMPropertyConfig = __webpack_require__(230); + var SelectEventPlugin = __webpack_require__(231); + var SimpleEventPlugin = __webpack_require__(232); + + 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(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 + }; + +/***/ }, +/* 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. + * + * @providesModule ReactEventEmitterMixin + */ + + 'use strict'; + + var EventPluginHub = __webpack_require__(37); + + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactEventListener + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var EventListener = __webpack_require__(130); + var ExecutionEnvironment = __webpack_require__(10); + var PooledClass = __webpack_require__(23); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactUpdates = __webpack_require__(17); + + var getEventTarget = __webpack_require__(76); + var getUnboundedScrollPosition = __webpack_require__(258); + + /** + * 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} handle 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, handle) { + var element = handle; + 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} handle 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, handle) { + var element = handle; + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactInjection + */ + + 'use strict'; + + var DOMProperty = __webpack_require__(31); + var EventPluginHub = __webpack_require__(37); + var EventPluginUtils = __webpack_require__(61); + var ReactComponentEnvironment = __webpack_require__(65); + var ReactClass = __webpack_require__(104); + var ReactEmptyComponent = __webpack_require__(108); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactHostComponent = __webpack_require__(110); + var ReactUpdates = __webpack_require__(17); + + var ReactInjection = { + Component: ReactComponentEnvironment.injection, + Class: ReactClass.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; + +/***/ }, +/* 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. + * + * @providesModule ReactMarkupChecksum + */ + + 'use strict'; + + var adler32 = __webpack_require__(243); + + 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; + +/***/ }, +/* 220 */ +/***/ 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. + * + * @providesModule ReactMultiChild + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactComponentEnvironment = __webpack_require__(65); + var ReactInstanceMap = __webpack_require__(32); + var ReactInstrumentation = __webpack_require__(15); + var ReactMultiChildUpdateTypes = __webpack_require__(113); + + var ReactCurrentOwner = __webpack_require__(24); + var ReactReconciler = __webpack_require__(33); + var ReactChildReconciler = __webpack_require__(198); + + var emptyFunction = __webpack_require__(13); + var flattenChildren = __webpack_require__(120); + var invariant = __webpack_require__(2); + + /** + * 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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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; + +/***/ }, +/* 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. + * + * @providesModule ReactOwner + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var invariant = __webpack_require__(2); + + /** + * 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 = { + + /** + * @param {?object} object + * @return {boolean} True if `object` is a valid owner. + * @final + */ + isValidOwner: function isValidOwner(object) { + return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function'); + }, + + /** + * 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) { + !ReactOwner.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) { + !ReactOwner.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; + +/***/ }, +/* 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. + * + * @providesModule ReactPureComponent + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var ReactComponent = __webpack_require__(64); + var ReactNoopUpdateQueue = __webpack_require__(68); + + var emptyObject = __webpack_require__(41); + + /** + * 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; + +/***/ }, +/* 223 */ +/***/ 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. + * + * @providesModule ReactReconcileTransaction + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var CallbackQueue = __webpack_require__(101); + var PooledClass = __webpack_require__(23); + var ReactBrowserEventEmitter = __webpack_require__(47); + var ReactInputSelection = __webpack_require__(111); + var ReactInstrumentation = __webpack_require__(15); + var Transaction = __webpack_require__(40); + var ReactUpdateQueue = __webpack_require__(72); + + /** + * 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, Mixin); + + PooledClass.addPoolingTo(ReactReconcileTransaction); + + module.exports = ReactReconcileTransaction; + +/***/ }, +/* 224 */ +/***/ 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. + * + * @providesModule ReactRef + */ + + 'use strict'; + + var ReactOwner = __webpack_require__(221); + + 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 || element === false) { + 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 prevEmpty = prevElement === null || prevElement === false; + var nextEmpty = nextElement === null || nextElement === false; + + return ( + // This has a few false positives w/r/t empty components. + prevEmpty || nextEmpty || nextElement.ref !== prevElement.ref || + // If owner changes but we have an unchanged function ref, don't update refs + typeof nextElement.ref === 'string' && nextElement._owner !== prevElement._owner + ); + }; + + ReactRef.detachRefs = function (instance, element) { + if (element === null || element === false) { + return; + } + var ref = element.ref; + if (ref != null) { + detachRef(ref, instance, element._owner); + } + }; + + module.exports = ReactRef; + +/***/ }, +/* 225 */ +/***/ 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. + * + * @providesModule ReactServerRenderingTransaction + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var PooledClass = __webpack_require__(23); + var Transaction = __webpack_require__(40); + var ReactInstrumentation = __webpack_require__(15); + var ReactServerUpdateQueue = __webpack_require__(226); + + /** + * 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, Mixin); + + PooledClass.addPoolingTo(ReactServerRenderingTransaction); + + module.exports = ReactServerRenderingTransaction; + +/***/ }, +/* 226 */ +/***/ 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. + * + * @providesModule ReactServerUpdateQueue + * + */ + + 'use strict'; + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + var ReactUpdateQueue = __webpack_require__(72); + var Transaction = __webpack_require__(40); + 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 () { + /* :: transaction: Transaction; */ + + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactTransitionChildMapping + */ + + 'use strict'; + + var flattenChildren = __webpack_require__(120); + + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactTransitionEvents + */ + + 'use strict'; + + var ExecutionEnvironment = __webpack_require__(10); + + var getVendorPrefixedEventName = __webpack_require__(125); + + 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; + +/***/ }, +/* 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. + * + * @providesModule ReactTransitionGroup + */ + + 'use strict'; + + var _assign = __webpack_require__(6); + + var React = __webpack_require__(46); + var ReactInstanceMap = __webpack_require__(32); + var ReactTransitionChildMapping = __webpack_require__(227); + + var emptyFunction = __webpack_require__(13); + + /** + * 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 = React.createClass({ + displayName: 'ReactTransitionGroup', + + propTypes: { + component: React.PropTypes.any, + childFactory: React.PropTypes.func + }, + + getDefaultProps: function getDefaultProps() { + return { + component: 'span', + childFactory: emptyFunction.thatReturnsArgument + }; + }, + + getInitialState: function getInitialState() { + return { + // TODO: can we get useful debug information to show at this point? + children: ReactTransitionChildMapping.getChildMapping(this.props.children) + }; + }, + + componentWillMount: function componentWillMount() { + this.currentlyTransitioningKeys = {}; + this.keysToEnter = []; + this.keysToLeave = []; + }, + + componentDidMount: function componentDidMount() { + var initialChildMapping = this.state.children; + for (var key in initialChildMapping) { + if (initialChildMapping[key]) { + this.performAppear(key); + } + } + }, + + componentWillReceiveProps: function componentWillReceiveProps(nextProps) { + var nextChildMapping; + if (false) { + nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children, ReactInstanceMap.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. + }, + + componentDidUpdate: function componentDidUpdate() { + var keysToEnter = this.keysToEnter; + this.keysToEnter = []; + keysToEnter.forEach(this.performEnter); + + var keysToLeave = this.keysToLeave; + this.keysToLeave = []; + keysToLeave.forEach(this.performLeave); + }, + + performAppear: function performAppear(key) { + this.currentlyTransitioningKeys[key] = true; + + var component = this.refs[key]; + + if (component.componentWillAppear) { + component.componentWillAppear(this._handleDoneAppearing.bind(this, key)); + } else { + this._handleDoneAppearing(key); + } + }, + + _handleDoneAppearing: function _handleDoneAppearing(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, ReactInstanceMap.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); + } + }, + + performEnter: function performEnter(key) { + this.currentlyTransitioningKeys[key] = true; + + var component = this.refs[key]; + + if (component.componentWillEnter) { + component.componentWillEnter(this._handleDoneEntering.bind(this, key)); + } else { + this._handleDoneEntering(key); + } + }, + + _handleDoneEntering: function _handleDoneEntering(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, ReactInstanceMap.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); + } + }, + + performLeave: function performLeave(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); + } + }, + + _handleDoneLeaving: function _handleDoneLeaving(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, ReactInstanceMap.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 }; + }); + } + }, + + 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); + } + }); + + module.exports = ReactTransitionGroup; + +/***/ }, +/* 230 */ +/***/ 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. + * + * @providesModule SVGDOMPropertyConfig + */ + + '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; + +/***/ }, +/* 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. + * + * @providesModule SelectEventPlugin + */ + + 'use strict'; + + var EventConstants = __webpack_require__(20); + var EventPropagators = __webpack_require__(38); + var ExecutionEnvironment = __webpack_require__(10); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactInputSelection = __webpack_require__(111); + var SyntheticEvent = __webpack_require__(21); + + var getActiveElement = __webpack_require__(132); + var isTextInputElement = __webpack_require__(127); + var keyOf = __webpack_require__(25); + var shallowEqual = __webpack_require__(81); + + var topLevelTypes = EventConstants.topLevelTypes; + + var skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11; + + var eventTypes = { + select: { + phasedRegistrationNames: { + bubbled: keyOf({ onSelect: null }), + captured: keyOf({ onSelectCapture: null }) + }, + dependencies: [topLevelTypes.topBlur, topLevelTypes.topContextMenu, topLevelTypes.topFocus, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown, topLevelTypes.topMouseUp, topLevelTypes.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; + var ON_SELECT_KEY = keyOf({ onSelect: null }); + + /** + * 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 topLevelTypes.topFocus: + if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') { + activeElement = targetNode; + activeElementInst = targetInst; + lastSelection = null; + } + break; + case topLevelTypes.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 topLevelTypes.topMouseDown: + mouseDown = true; + break; + case topLevelTypes.topContextMenu: + case topLevelTypes.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 topLevelTypes.topSelectionChange: + if (skipSelectionChangeEvent) { + break; + } + // falls through + case topLevelTypes.topKeyDown: + case topLevelTypes.topKeyUp: + return constructSelectEvent(nativeEvent, nativeEventTarget); + } + + return null; + }, + + didPutListener: function didPutListener(inst, registrationName, listener) { + if (registrationName === ON_SELECT_KEY) { + hasListener = true; + } + } + }; + + module.exports = SelectEventPlugin; + +/***/ }, +/* 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. + * + * @providesModule SimpleEventPlugin + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var EventConstants = __webpack_require__(20); + var EventListener = __webpack_require__(130); + var EventPropagators = __webpack_require__(38); + var ReactDOMComponentTree = __webpack_require__(7); + var SyntheticAnimationEvent = __webpack_require__(233); + var SyntheticClipboardEvent = __webpack_require__(234); + var SyntheticEvent = __webpack_require__(21); + var SyntheticFocusEvent = __webpack_require__(237); + var SyntheticKeyboardEvent = __webpack_require__(239); + var SyntheticMouseEvent = __webpack_require__(48); + var SyntheticDragEvent = __webpack_require__(236); + var SyntheticTouchEvent = __webpack_require__(240); + var SyntheticTransitionEvent = __webpack_require__(241); + var SyntheticUIEvent = __webpack_require__(39); + var SyntheticWheelEvent = __webpack_require__(242); + + var emptyFunction = __webpack_require__(13); + var getEventCharCode = __webpack_require__(74); + var invariant = __webpack_require__(2); + var keyOf = __webpack_require__(25); + + var topLevelTypes = EventConstants.topLevelTypes; + + var eventTypes = { + abort: { + phasedRegistrationNames: { + bubbled: keyOf({ onAbort: true }), + captured: keyOf({ onAbortCapture: true }) + } + }, + animationEnd: { + phasedRegistrationNames: { + bubbled: keyOf({ onAnimationEnd: true }), + captured: keyOf({ onAnimationEndCapture: true }) + } + }, + animationIteration: { + phasedRegistrationNames: { + bubbled: keyOf({ onAnimationIteration: true }), + captured: keyOf({ onAnimationIterationCapture: true }) + } + }, + animationStart: { + phasedRegistrationNames: { + bubbled: keyOf({ onAnimationStart: true }), + captured: keyOf({ onAnimationStartCapture: true }) + } + }, + blur: { + phasedRegistrationNames: { + bubbled: keyOf({ onBlur: true }), + captured: keyOf({ onBlurCapture: true }) + } + }, + canPlay: { + phasedRegistrationNames: { + bubbled: keyOf({ onCanPlay: true }), + captured: keyOf({ onCanPlayCapture: true }) + } + }, + canPlayThrough: { + phasedRegistrationNames: { + bubbled: keyOf({ onCanPlayThrough: true }), + captured: keyOf({ onCanPlayThroughCapture: true }) + } + }, + click: { + phasedRegistrationNames: { + bubbled: keyOf({ onClick: true }), + captured: keyOf({ onClickCapture: true }) + } + }, + contextMenu: { + phasedRegistrationNames: { + bubbled: keyOf({ onContextMenu: true }), + captured: keyOf({ onContextMenuCapture: true }) + } + }, + copy: { + phasedRegistrationNames: { + bubbled: keyOf({ onCopy: true }), + captured: keyOf({ onCopyCapture: true }) + } + }, + cut: { + phasedRegistrationNames: { + bubbled: keyOf({ onCut: true }), + captured: keyOf({ onCutCapture: true }) + } + }, + doubleClick: { + phasedRegistrationNames: { + bubbled: keyOf({ onDoubleClick: true }), + captured: keyOf({ onDoubleClickCapture: true }) + } + }, + drag: { + phasedRegistrationNames: { + bubbled: keyOf({ onDrag: true }), + captured: keyOf({ onDragCapture: true }) + } + }, + dragEnd: { + phasedRegistrationNames: { + bubbled: keyOf({ onDragEnd: true }), + captured: keyOf({ onDragEndCapture: true }) + } + }, + dragEnter: { + phasedRegistrationNames: { + bubbled: keyOf({ onDragEnter: true }), + captured: keyOf({ onDragEnterCapture: true }) + } + }, + dragExit: { + phasedRegistrationNames: { + bubbled: keyOf({ onDragExit: true }), + captured: keyOf({ onDragExitCapture: true }) + } + }, + dragLeave: { + phasedRegistrationNames: { + bubbled: keyOf({ onDragLeave: true }), + captured: keyOf({ onDragLeaveCapture: true }) + } + }, + dragOver: { + phasedRegistrationNames: { + bubbled: keyOf({ onDragOver: true }), + captured: keyOf({ onDragOverCapture: true }) + } + }, + dragStart: { + phasedRegistrationNames: { + bubbled: keyOf({ onDragStart: true }), + captured: keyOf({ onDragStartCapture: true }) + } + }, + drop: { + phasedRegistrationNames: { + bubbled: keyOf({ onDrop: true }), + captured: keyOf({ onDropCapture: true }) + } + }, + durationChange: { + phasedRegistrationNames: { + bubbled: keyOf({ onDurationChange: true }), + captured: keyOf({ onDurationChangeCapture: true }) + } + }, + emptied: { + phasedRegistrationNames: { + bubbled: keyOf({ onEmptied: true }), + captured: keyOf({ onEmptiedCapture: true }) + } + }, + encrypted: { + phasedRegistrationNames: { + bubbled: keyOf({ onEncrypted: true }), + captured: keyOf({ onEncryptedCapture: true }) + } + }, + ended: { + phasedRegistrationNames: { + bubbled: keyOf({ onEnded: true }), + captured: keyOf({ onEndedCapture: true }) + } + }, + error: { + phasedRegistrationNames: { + bubbled: keyOf({ onError: true }), + captured: keyOf({ onErrorCapture: true }) + } + }, + focus: { + phasedRegistrationNames: { + bubbled: keyOf({ onFocus: true }), + captured: keyOf({ onFocusCapture: true }) + } + }, + input: { + phasedRegistrationNames: { + bubbled: keyOf({ onInput: true }), + captured: keyOf({ onInputCapture: true }) + } + }, + invalid: { + phasedRegistrationNames: { + bubbled: keyOf({ onInvalid: true }), + captured: keyOf({ onInvalidCapture: true }) + } + }, + keyDown: { + phasedRegistrationNames: { + bubbled: keyOf({ onKeyDown: true }), + captured: keyOf({ onKeyDownCapture: true }) + } + }, + keyPress: { + phasedRegistrationNames: { + bubbled: keyOf({ onKeyPress: true }), + captured: keyOf({ onKeyPressCapture: true }) + } + }, + keyUp: { + phasedRegistrationNames: { + bubbled: keyOf({ onKeyUp: true }), + captured: keyOf({ onKeyUpCapture: true }) + } + }, + load: { + phasedRegistrationNames: { + bubbled: keyOf({ onLoad: true }), + captured: keyOf({ onLoadCapture: true }) + } + }, + loadedData: { + phasedRegistrationNames: { + bubbled: keyOf({ onLoadedData: true }), + captured: keyOf({ onLoadedDataCapture: true }) + } + }, + loadedMetadata: { + phasedRegistrationNames: { + bubbled: keyOf({ onLoadedMetadata: true }), + captured: keyOf({ onLoadedMetadataCapture: true }) + } + }, + loadStart: { + phasedRegistrationNames: { + bubbled: keyOf({ onLoadStart: true }), + captured: keyOf({ onLoadStartCapture: true }) + } + }, + // Note: We do not allow listening to mouseOver events. Instead, use the + // onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`. + mouseDown: { + phasedRegistrationNames: { + bubbled: keyOf({ onMouseDown: true }), + captured: keyOf({ onMouseDownCapture: true }) + } + }, + mouseMove: { + phasedRegistrationNames: { + bubbled: keyOf({ onMouseMove: true }), + captured: keyOf({ onMouseMoveCapture: true }) + } + }, + mouseOut: { + phasedRegistrationNames: { + bubbled: keyOf({ onMouseOut: true }), + captured: keyOf({ onMouseOutCapture: true }) + } + }, + mouseOver: { + phasedRegistrationNames: { + bubbled: keyOf({ onMouseOver: true }), + captured: keyOf({ onMouseOverCapture: true }) + } + }, + mouseUp: { + phasedRegistrationNames: { + bubbled: keyOf({ onMouseUp: true }), + captured: keyOf({ onMouseUpCapture: true }) + } + }, + paste: { + phasedRegistrationNames: { + bubbled: keyOf({ onPaste: true }), + captured: keyOf({ onPasteCapture: true }) + } + }, + pause: { + phasedRegistrationNames: { + bubbled: keyOf({ onPause: true }), + captured: keyOf({ onPauseCapture: true }) + } + }, + play: { + phasedRegistrationNames: { + bubbled: keyOf({ onPlay: true }), + captured: keyOf({ onPlayCapture: true }) + } + }, + playing: { + phasedRegistrationNames: { + bubbled: keyOf({ onPlaying: true }), + captured: keyOf({ onPlayingCapture: true }) + } + }, + progress: { + phasedRegistrationNames: { + bubbled: keyOf({ onProgress: true }), + captured: keyOf({ onProgressCapture: true }) + } + }, + rateChange: { + phasedRegistrationNames: { + bubbled: keyOf({ onRateChange: true }), + captured: keyOf({ onRateChangeCapture: true }) + } + }, + reset: { + phasedRegistrationNames: { + bubbled: keyOf({ onReset: true }), + captured: keyOf({ onResetCapture: true }) + } + }, + scroll: { + phasedRegistrationNames: { + bubbled: keyOf({ onScroll: true }), + captured: keyOf({ onScrollCapture: true }) + } + }, + seeked: { + phasedRegistrationNames: { + bubbled: keyOf({ onSeeked: true }), + captured: keyOf({ onSeekedCapture: true }) + } + }, + seeking: { + phasedRegistrationNames: { + bubbled: keyOf({ onSeeking: true }), + captured: keyOf({ onSeekingCapture: true }) + } + }, + stalled: { + phasedRegistrationNames: { + bubbled: keyOf({ onStalled: true }), + captured: keyOf({ onStalledCapture: true }) + } + }, + submit: { + phasedRegistrationNames: { + bubbled: keyOf({ onSubmit: true }), + captured: keyOf({ onSubmitCapture: true }) + } + }, + suspend: { + phasedRegistrationNames: { + bubbled: keyOf({ onSuspend: true }), + captured: keyOf({ onSuspendCapture: true }) + } + }, + timeUpdate: { + phasedRegistrationNames: { + bubbled: keyOf({ onTimeUpdate: true }), + captured: keyOf({ onTimeUpdateCapture: true }) + } + }, + touchCancel: { + phasedRegistrationNames: { + bubbled: keyOf({ onTouchCancel: true }), + captured: keyOf({ onTouchCancelCapture: true }) + } + }, + touchEnd: { + phasedRegistrationNames: { + bubbled: keyOf({ onTouchEnd: true }), + captured: keyOf({ onTouchEndCapture: true }) + } + }, + touchMove: { + phasedRegistrationNames: { + bubbled: keyOf({ onTouchMove: true }), + captured: keyOf({ onTouchMoveCapture: true }) + } + }, + touchStart: { + phasedRegistrationNames: { + bubbled: keyOf({ onTouchStart: true }), + captured: keyOf({ onTouchStartCapture: true }) + } + }, + transitionEnd: { + phasedRegistrationNames: { + bubbled: keyOf({ onTransitionEnd: true }), + captured: keyOf({ onTransitionEndCapture: true }) + } + }, + volumeChange: { + phasedRegistrationNames: { + bubbled: keyOf({ onVolumeChange: true }), + captured: keyOf({ onVolumeChangeCapture: true }) + } + }, + waiting: { + phasedRegistrationNames: { + bubbled: keyOf({ onWaiting: true }), + captured: keyOf({ onWaitingCapture: true }) + } + }, + wheel: { + phasedRegistrationNames: { + bubbled: keyOf({ onWheel: true }), + captured: keyOf({ onWheelCapture: true }) + } + } + }; + + var topLevelEventsToDispatchConfig = { + topAbort: eventTypes.abort, + topAnimationEnd: eventTypes.animationEnd, + topAnimationIteration: eventTypes.animationIteration, + topAnimationStart: eventTypes.animationStart, + topBlur: eventTypes.blur, + topCanPlay: eventTypes.canPlay, + topCanPlayThrough: eventTypes.canPlayThrough, + topClick: eventTypes.click, + topContextMenu: eventTypes.contextMenu, + topCopy: eventTypes.copy, + topCut: eventTypes.cut, + topDoubleClick: eventTypes.doubleClick, + topDrag: eventTypes.drag, + topDragEnd: eventTypes.dragEnd, + topDragEnter: eventTypes.dragEnter, + topDragExit: eventTypes.dragExit, + topDragLeave: eventTypes.dragLeave, + topDragOver: eventTypes.dragOver, + topDragStart: eventTypes.dragStart, + topDrop: eventTypes.drop, + topDurationChange: eventTypes.durationChange, + topEmptied: eventTypes.emptied, + topEncrypted: eventTypes.encrypted, + topEnded: eventTypes.ended, + topError: eventTypes.error, + topFocus: eventTypes.focus, + topInput: eventTypes.input, + topInvalid: eventTypes.invalid, + topKeyDown: eventTypes.keyDown, + topKeyPress: eventTypes.keyPress, + topKeyUp: eventTypes.keyUp, + topLoad: eventTypes.load, + topLoadedData: eventTypes.loadedData, + topLoadedMetadata: eventTypes.loadedMetadata, + topLoadStart: eventTypes.loadStart, + topMouseDown: eventTypes.mouseDown, + topMouseMove: eventTypes.mouseMove, + topMouseOut: eventTypes.mouseOut, + topMouseOver: eventTypes.mouseOver, + topMouseUp: eventTypes.mouseUp, + topPaste: eventTypes.paste, + topPause: eventTypes.pause, + topPlay: eventTypes.play, + topPlaying: eventTypes.playing, + topProgress: eventTypes.progress, + topRateChange: eventTypes.rateChange, + topReset: eventTypes.reset, + topScroll: eventTypes.scroll, + topSeeked: eventTypes.seeked, + topSeeking: eventTypes.seeking, + topStalled: eventTypes.stalled, + topSubmit: eventTypes.submit, + topSuspend: eventTypes.suspend, + topTimeUpdate: eventTypes.timeUpdate, + topTouchCancel: eventTypes.touchCancel, + topTouchEnd: eventTypes.touchEnd, + topTouchMove: eventTypes.touchMove, + topTouchStart: eventTypes.touchStart, + topTransitionEnd: eventTypes.transitionEnd, + topVolumeChange: eventTypes.volumeChange, + topWaiting: eventTypes.waiting, + topWheel: eventTypes.wheel + }; + + for (var type in topLevelEventsToDispatchConfig) { + topLevelEventsToDispatchConfig[type].dependencies = [type]; + } + + var ON_CLICK_KEY = keyOf({ onClick: null }); + var onClickListeners = {}; + + function getDictionaryKey(inst) { + // Prevents V8 performance issue: + // https://github.com/facebook/react/pull/7232 + return '.' + inst._rootNodeID; + } + + var SimpleEventPlugin = { + + eventTypes: eventTypes, + + extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget) { + var dispatchConfig = topLevelEventsToDispatchConfig[topLevelType]; + if (!dispatchConfig) { + return null; + } + var EventConstructor; + switch (topLevelType) { + case topLevelTypes.topAbort: + case topLevelTypes.topCanPlay: + case topLevelTypes.topCanPlayThrough: + case topLevelTypes.topDurationChange: + case topLevelTypes.topEmptied: + case topLevelTypes.topEncrypted: + case topLevelTypes.topEnded: + case topLevelTypes.topError: + case topLevelTypes.topInput: + case topLevelTypes.topInvalid: + case topLevelTypes.topLoad: + case topLevelTypes.topLoadedData: + case topLevelTypes.topLoadedMetadata: + case topLevelTypes.topLoadStart: + case topLevelTypes.topPause: + case topLevelTypes.topPlay: + case topLevelTypes.topPlaying: + case topLevelTypes.topProgress: + case topLevelTypes.topRateChange: + case topLevelTypes.topReset: + case topLevelTypes.topSeeked: + case topLevelTypes.topSeeking: + case topLevelTypes.topStalled: + case topLevelTypes.topSubmit: + case topLevelTypes.topSuspend: + case topLevelTypes.topTimeUpdate: + case topLevelTypes.topVolumeChange: + case topLevelTypes.topWaiting: + // HTML Events + // @see http://www.w3.org/TR/html5/index.html#events-0 + EventConstructor = SyntheticEvent; + break; + case topLevelTypes.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 topLevelTypes.topKeyDown: + case topLevelTypes.topKeyUp: + EventConstructor = SyntheticKeyboardEvent; + break; + case topLevelTypes.topBlur: + case topLevelTypes.topFocus: + EventConstructor = SyntheticFocusEvent; + break; + case topLevelTypes.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 topLevelTypes.topContextMenu: + case topLevelTypes.topDoubleClick: + case topLevelTypes.topMouseDown: + case topLevelTypes.topMouseMove: + case topLevelTypes.topMouseOut: + case topLevelTypes.topMouseOver: + case topLevelTypes.topMouseUp: + EventConstructor = SyntheticMouseEvent; + break; + case topLevelTypes.topDrag: + case topLevelTypes.topDragEnd: + case topLevelTypes.topDragEnter: + case topLevelTypes.topDragExit: + case topLevelTypes.topDragLeave: + case topLevelTypes.topDragOver: + case topLevelTypes.topDragStart: + case topLevelTypes.topDrop: + EventConstructor = SyntheticDragEvent; + break; + case topLevelTypes.topTouchCancel: + case topLevelTypes.topTouchEnd: + case topLevelTypes.topTouchMove: + case topLevelTypes.topTouchStart: + EventConstructor = SyntheticTouchEvent; + break; + case topLevelTypes.topAnimationEnd: + case topLevelTypes.topAnimationIteration: + case topLevelTypes.topAnimationStart: + EventConstructor = SyntheticAnimationEvent; + break; + case topLevelTypes.topTransitionEnd: + EventConstructor = SyntheticTransitionEvent; + break; + case topLevelTypes.topScroll: + EventConstructor = SyntheticUIEvent; + break; + case topLevelTypes.topWheel: + EventConstructor = SyntheticWheelEvent; + break; + case topLevelTypes.topCopy: + case topLevelTypes.topCut: + case topLevelTypes.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. + if (registrationName === ON_CLICK_KEY) { + 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 === ON_CLICK_KEY) { + var key = getDictionaryKey(inst); + onClickListeners[key].remove(); + delete onClickListeners[key]; + } + } + + }; + + module.exports = SimpleEventPlugin; + +/***/ }, +/* 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. + * + * @providesModule SyntheticAnimationEvent + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(21); + + /** + * @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; + +/***/ }, +/* 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. + * + * @providesModule SyntheticClipboardEvent + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(21); + + /** + * @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; + +/***/ }, +/* 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. + * + * @providesModule SyntheticCompositionEvent + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(21); + + /** + * @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; + +/***/ }, +/* 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. + * + * @providesModule SyntheticDragEvent + */ + + '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; + +/***/ }, +/* 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. + * + * @providesModule SyntheticFocusEvent + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(39); + + /** + * @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; + +/***/ }, +/* 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. + * + * @providesModule SyntheticInputEvent + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(21); + + /** + * @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; + +/***/ }, +/* 239 */ +/***/ 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. + * + * @providesModule SyntheticKeyboardEvent + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(39); + + var getEventCharCode = __webpack_require__(74); + var getEventKey = __webpack_require__(247); + var getEventModifierState = __webpack_require__(75); + + /** + * @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; + +/***/ }, +/* 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. + * + * @providesModule SyntheticTouchEvent + */ + + 'use strict'; + + var SyntheticUIEvent = __webpack_require__(39); + + var getEventModifierState = __webpack_require__(75); + + /** + * @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; + +/***/ }, +/* 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. + * + * @providesModule SyntheticTransitionEvent + */ + + 'use strict'; + + var SyntheticEvent = __webpack_require__(21); + + /** + * @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; + +/***/ }, +/* 242 */ +/***/ 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. + * + * @providesModule SyntheticWheelEvent + */ + + '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; + +/***/ }, +/* 243 */ +/***/ 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. + * + * @providesModule adler32 + * + */ + + '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; + +/***/ }, +/* 244 */ +/***/ 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. + * + * @providesModule checkReactTypeSpec + */ + + '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 ReactPropTypeLocationNames = __webpack_require__(69); + var ReactPropTypesSecret = __webpack_require__(71); + + var invariant = __webpack_require__(2); + 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__(66); + } + + var loggedTypeFailures = {}; + + /** + * Assert that the values match with the type specs. + * Error messages are memorized and will only be shown once. + * + * @param {object} typeSpecs Map of name to a ReactPropType + * @param {object} values Runtime values that need to be type-checked + * @param {string} location e.g. "prop", "context", "child context" + * @param {string} componentName Name of the component for error messages. + * @param {?object} element The React element that is being type-checked + * @param {?number} debugID The React component instance that is being type-checked + * @private + */ + function checkReactTypeSpec(typeSpecs, values, location, componentName, element, debugID) { + for (var typeSpecName in typeSpecs) { + if (typeSpecs.hasOwnProperty(typeSpecName)) { + var error; + // Prop type validation may throw. In case they do, we don't want to + // fail the render phase where it didn't fail before. So we log it. + // After these have been cleaned up, we'll let them throw. + try { + // This is intentionally an invariant that gets caught. It's the same + // behavior as without this statement except with a better message. + !(typeof typeSpecs[typeSpecName] === 'function') ? false ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : _prodInvariant('84', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : void 0; + error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret); + } catch (ex) { + error = ex; + } + false ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName, typeof error === 'undefined' ? 'undefined' : _typeof(error)) : void 0; + 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 componentStackInfo = ''; + + if (false) { + if (!ReactComponentTreeHook) { + ReactComponentTreeHook = require('./ReactComponentTreeHook'); + } + if (debugID !== null) { + componentStackInfo = ReactComponentTreeHook.getStackAddendumByID(debugID); + } else if (element !== null) { + componentStackInfo = ReactComponentTreeHook.getCurrentStackAddendum(element); + } + } + + false ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0; + } + } + } + } + + module.exports = checkReactTypeSpec; + /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(42))) + +/***/ }, +/* 245 */ +/***/ 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. + * + * @providesModule dangerousStyleValue + */ + + 'use strict'; + + var CSSProperty = __webpack_require__(100); + 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; + +/***/ }, +/* 246 */ +/***/ 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. + * + * @providesModule findDOMNode + */ + + 'use strict'; + + var _prodInvariant = __webpack_require__(4); + + var ReactCurrentOwner = __webpack_require__(24); + var ReactDOMComponentTree = __webpack_require__(7); + var ReactInstanceMap = __webpack_require__(32); + + var getHostComponentFromComposite = __webpack_require__(122); + var invariant = __webpack_require__(2); + 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; + +/***/ }, +/* 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. + * + * @providesModule getEventKey + */ + + 'use strict'; + + var getEventCharCode = __webpack_require__(74); + + /** + * 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; + +/***/ }, +/* 248 */ +/***/ 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. + * + * @providesModule getNodeForCharacterOffset + */ + + '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; + +/***/ }, +/* 249 */ +/***/ 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. + * + * @providesModule quoteAttributeValueForBrowser + */ + + 'use strict'; + + var escapeTextContentForBrowser = __webpack_require__(49); + + /** + * 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; + +/***/ }, +/* 250 */ +/***/ 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. + * + * @providesModule renderSubtreeIntoContainer + */ + + 'use strict'; + + var ReactMount = __webpack_require__(112); + + module.exports = ReactMount.renderSubtreeIntoContainer; + +/***/ }, +/* 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. + * + * @typechecks + */ + + var invariant = __webpack_require__(2); + + /** + * 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; + +/***/ }, +/* 252 */ +/***/ 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; + +/***/ }, +/* 253 */ +/***/ 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__(252); + + 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; + +/***/ }, +/* 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. + * + * + */ + + var isTextNode = __webpack_require__(262); + + /*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; + +/***/ }, +/* 255 */ +/***/ 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__(2); + + /** + * 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; + +/***/ }, +/* 256 */ +/***/ 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__(255); + var getMarkupWrap = __webpack_require__(257); + var invariant = __webpack_require__(2); + + /** + * 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; + +/***/ }, +/* 257 */ +/***/ 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__(2); + + /** + * 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; + +/***/ }, +/* 258 */ +/***/ 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; + +/***/ }, +/* 259 */ +/***/ 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; + +/***/ }, +/* 260 */ +/***/ 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__(259); + + 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; + +/***/ }, +/* 261 */ +/***/ 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; + +/***/ }, +/* 262 */ +/***/ 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__(261); + + /** + * @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; + +/***/ }, +/* 263 */ +/***/ 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; + +/***/ }, +/* 264 */ +/***/ 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; + } + +/***/ }, +/* 265 */ +/***/ 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; + }; + } + +/***/ }, +/* 266 */ +/***/ 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'; + }; + +/***/ }, +/* 267 */ +/***/ 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__(26); + + var _trim2 = _interopRequireDefault(_trim); + + var _jsonp_utils = __webpack_require__(313); + + 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'); + } + +/***/ }, +/* 268 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_pane = __webpack_require__(86); + + var _email_pane2 = _interopRequireDefault(_email_pane); + + var _username_pane = __webpack_require__(89); + + var _username_pane2 = _interopRequireDefault(_username_pane); + + var _password_pane = __webpack_require__(87); + + var _password_pane2 = _interopRequireDefault(_password_pane); + + var _actions = __webpack_require__(34); + + var _index = __webpack_require__(11); + + var _index2 = __webpack_require__(3); + + 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"]) + }; + +/***/ }, +/* 269 */ +/***/ 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__(292); + + 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 + }; + +/***/ }, +/* 270 */ +/***/ 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__(90); + + var _success_pane2 = _interopRequireDefault(_success_pane); + + var _actions = __webpack_require__(22); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _i18n = __webpack_require__(14); + + 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; + } + +/***/ }, +/* 271 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _reset_password_pane = __webpack_require__(272); + + var _reset_password_pane2 = _interopRequireDefault(_reset_password_pane); + + var _index = __webpack_require__(11); + + var _actions = __webpack_require__(34); + + var _password_reset_confirmation = __webpack_require__(270); + + var _i18n = __webpack_require__(14); + + 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; + +/***/ }, +/* 272 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_pane = __webpack_require__(86); + + var _email_pane2 = _interopRequireDefault(_email_pane); + + var _index = __webpack_require__(3); + + 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; + +/***/ }, +/* 273 */ +/***/ 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; + +/***/ }, +/* 274 */ +/***/ 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__(90); + + var _success_pane2 = _interopRequireDefault(_success_pane); + + var _actions = __webpack_require__(22); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(11); + + var _i18n = __webpack_require__(14); + + 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; + } + +/***/ }, +/* 275 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _username_pane = __webpack_require__(89); + + var _username_pane2 = _interopRequireDefault(_username_pane); + + var _password_pane = __webpack_require__(87); + + var _password_pane2 = _interopRequireDefault(_password_pane); + + var _index = __webpack_require__(3); + + 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 + }; + +/***/ }, +/* 276 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _signed_in_confirmation = __webpack_require__(28); + + var _hrd_pane = __webpack_require__(275); + + var _hrd_pane2 = _interopRequireDefault(_hrd_pane); + + var _actions = __webpack_require__(83); + + var _enterprise = __webpack_require__(27); + + var _i18n = __webpack_require__(14); + + 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; + +/***/ }, +/* 277 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _quick_auth_pane = __webpack_require__(92); + + var _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane); + + var _actions = __webpack_require__(54); + + var _signed_in_confirmation = __webpack_require__(28); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _enterprise = __webpack_require__(27); + + 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; + +/***/ }, +/* 278 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _quick_auth_pane = __webpack_require__(92); + + var _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane); + + var _actions = __webpack_require__(54); + + var _signed_in_confirmation = __webpack_require__(28); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _enterprise = __webpack_require__(27); + + 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 + ); + + return _react2.default.createElement(_quick_auth_pane2.default, { + buttonLabel: i18n.str("loginAtLabel", (0, _enterprise.quickAuthConnection)(model).getIn(["domains", 0])), + buttonClickHandler: function buttonClickHandler(e) { + return (0, _actions.logIn)(l.id(model), (0, _enterprise.quickAuthConnection)(model)); + }, + header: header, + 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; + +/***/ }, +/* 279 */ +/***/ 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__(264); + + var _index = __webpack_require__(12); + + var _box = __webpack_require__(297); + + var _web_api = __webpack_require__(53); + + var _web_api2 = _interopRequireDefault(_web_api); + + var _actions = __webpack_require__(22); + + var _index2 = __webpack_require__(11); + + var _index3 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index3); + + var _index4 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index4); + + var _id_utils = __webpack_require__(312); + + var idu = _interopRequireWildcard(_id_utils); + + var _i18n = __webpack_require__(14); + + var i18n = _interopRequireWildcard(_i18n); + + var _sync = __webpack_require__(43); + + 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.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; + +/***/ }, +/* 280 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.fetchClientSettings = fetchClientSettings; + exports.syncClientSettingsSuccess = syncClientSettingsSuccess; + + var _cdn_utils = __webpack_require__(93); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(136); + + 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 fetchClientSettings(clientID, clientBaseUrl, cb) { + (0, _cdn_utils.load)({ + method: "setClient", + url: 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; + } + +/***/ }, +/* 281 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _index = __webpack_require__(3); + + 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 + }; + +/***/ }, +/* 282 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _actions = __webpack_require__(22); + + var _index = __webpack_require__(3); + + 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 + }; + +/***/ }, +/* 283 */ +/***/ 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__(280); + + var _settings2 = __webpack_require__(286); + + var _data = __webpack_require__(284); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _enterprise = __webpack_require__(27); + + var _sync = __webpack_require__(43); + + 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 + +/***/ }, +/* 284 */ +/***/ 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__(310); + + 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); + } + +/***/ }, +/* 285 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _quick_auth_pane = __webpack_require__(92); + + var _quick_auth_pane2 = _interopRequireDefault(_quick_auth_pane); + + var _actions = __webpack_require__(54); + + var _index = __webpack_require__(138); + + var _index2 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index2); + + var _signed_in_confirmation = __webpack_require__(28); + + var _index3 = __webpack_require__(52); + + 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; + +/***/ }, +/* 286 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.fetchTenantSettings = fetchTenantSettings; + exports.syncTenantSettingsSuccess = syncTenantSettingsSuccess; + + var _cdn_utils = __webpack_require__(93); + + var _index = __webpack_require__(3); + + var l = _interopRequireWildcard(_index); + + var _index2 = __webpack_require__(84); + + 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; + } + +/***/ }, +/* 287 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _social_buttons_pane = __webpack_require__(140); + + var _social_buttons_pane2 = _interopRequireDefault(_social_buttons_pane); + + var _login_pane = __webpack_require__(268); + + var _login_pane2 = _interopRequireDefault(_login_pane); + + var _pane_separator = __webpack_require__(137); + + var _pane_separator2 = _interopRequireDefault(_pane_separator); + + var _index = __webpack_require__(11); + + var _actions = __webpack_require__(34); + + var _signed_in_confirmation = __webpack_require__(28); + + var _login_sign_up_tabs = __webpack_require__(134); + + var _login_sign_up_tabs2 = _interopRequireDefault(_login_sign_up_tabs); + + var _index2 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index2); + + var _index3 = __webpack_require__(8); + + var c = _interopRequireWildcard(_index3); + + var _email = __webpack_require__(29); + + var _actions2 = __webpack_require__(83); + + var _enterprise = __webpack_require__(27); + + var _single_sign_on_notice = __webpack_require__(135); + + var _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice); + + var _classic = __webpack_require__(85); + + var _i18n = __webpack_require__(14); + + 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" ? "usernameOrEmailInputPlaceholder" : "usernameInputPlaceholder"; + + 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: (0, _index.databaseUsernameStyle)(model) + }); + + 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; + +/***/ }, +/* 288 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _mfa_pane = __webpack_require__(269); + + var _mfa_pane2 = _interopRequireDefault(_mfa_pane); + + var _i18n = __webpack_require__(14); + + var i18n = _interopRequireWildcard(_i18n); + + var _actions = __webpack_require__(34); + + 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; + +/***/ }, +/* 289 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _email_pane = __webpack_require__(86); + + var _email_pane2 = _interopRequireDefault(_email_pane); + + var _password_pane = __webpack_require__(87); + + var _password_pane2 = _interopRequireDefault(_password_pane); + + var _username_pane = __webpack_require__(89); + + var _username_pane2 = _interopRequireDefault(_username_pane); + + var _index = __webpack_require__(11); + + var _custom_input = __webpack_require__(291); + + 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; + +/***/ }, +/* 290 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _screen = __webpack_require__(18); + + var _screen2 = _interopRequireDefault(_screen); + + var _index = __webpack_require__(11); + + var _sign_up_terms = __webpack_require__(273); + + var _sign_up_terms2 = _interopRequireDefault(_sign_up_terms); + + var _actions = __webpack_require__(34); + + var _login_sign_up_tabs = __webpack_require__(134); + + var _login_sign_up_tabs2 = _interopRequireDefault(_login_sign_up_tabs); + + var _signed_in_confirmation = __webpack_require__(28); + + var _signed_up_confirmation = __webpack_require__(274); + + var _sign_up_pane = __webpack_require__(289); + + var _sign_up_pane2 = _interopRequireDefault(_sign_up_pane); + + var _social_buttons_pane = __webpack_require__(140); + + var _social_buttons_pane2 = _interopRequireDefault(_social_buttons_pane); + + var _index2 = __webpack_require__(8); + + var _index3 = __webpack_require__(3); + + var l = _interopRequireWildcard(_index3); + + var _pane_separator = __webpack_require__(137); + + var _pane_separator2 = _interopRequireDefault(_pane_separator); + + var _classic = __webpack_require__(85); + + var _single_sign_on_notice = __webpack_require__(135); + + var _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice); + + var _actions2 = __webpack_require__(83); + + var _i18n = __webpack_require__(14); + + 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; + +/***/ }, +/* 291 */ +/***/ 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__(139); + + var _index = __webpack_require__(8); + + var _text_input = __webpack_require__(145); + + var _text_input2 = _interopRequireDefault(_text_input); + + var _select_input = __webpack_require__(306); + + var _select_input2 = _interopRequireDefault(_select_input); + + var _index2 = __webpack_require__(3); + + 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; + +/***/ }, +/* 292 */ +/***/ 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__(304); + + 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__(3); + + var l = _interopRequireWildcard(_index3); + + var _mfa_code = __webpack_require__(293); + + 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 + }; + +/***/ }, +/* 293 */ +/***/ 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__(26); + + 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; + } + +/***/ }, +/* 294 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _list = __webpack_require__(308); + + var _list2 = _interopRequireDefault(_list); + + var _actions = __webpack_require__(139); + + 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")); + } + }); + }; + +/***/ }, +/* 295 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + exports.validatePassword = validatePassword; + exports.setPassword = setPassword; + + var _passwordSheriff = __webpack_require__(99); + + 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); + } + +/***/ }, +/* 296 */ +/***/ 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" + }; + +/***/ }, +/* 297 */ +/***/ 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__(36); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _CSSCore = __webpack_require__(98); + + var _CSSCore2 = _interopRequireDefault(_CSSCore); + + var _container = __webpack_require__(143); + + 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; }()))) + +/***/ }, +/* 298 */ +/***/ 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__(36); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _reactAddonsCssTransitionGroup = __webpack_require__(186); + + var _reactAddonsCssTransitionGroup2 = _interopRequireDefault(_reactAddonsCssTransitionGroup); + + var _multisize_slide = __webpack_require__(302); + + var _multisize_slide2 = _interopRequireDefault(_multisize_slide); + + var _global_message = __webpack_require__(300); + + var _global_message2 = _interopRequireDefault(_global_message); + + var _header = __webpack_require__(301); + + 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; }()))) + +/***/ }, +/* 299 */ +/***/ 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; + +/***/ }, +/* 300 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(36); + + 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 + }; + +/***/ }, +/* 301 */ +/***/ 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; }()))) + +/***/ }, +/* 302 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(36); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _CSSCore = __webpack_require__(98); + + 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); + +/***/ }, +/* 303 */ +/***/ 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__(35); + + 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: 'text', + 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; + +/***/ }, +/* 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 _input_wrap = __webpack_require__(35); + + var _input_wrap2 = _interopRequireDefault(_input_wrap); + + var _password_input = __webpack_require__(91); + + 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; + +/***/ }, +/* 305 */ +/***/ 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__(99); + + var _passwordSheriff2 = _interopRequireDefault(_passwordSheriff); + + var _util = __webpack_require__(82); + + 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 + }; + +/***/ }, +/* 306 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _input_wrap = __webpack_require__(35); + + 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; + +/***/ }, +/* 307 */ +/***/ 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__(35); + + 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; + +/***/ }, +/* 308 */ +/***/ function(module, exports, __webpack_require__) { + + 'use strict'; + + exports.__esModule = true; + + var _react = __webpack_require__(1); + + var _react2 = _interopRequireDefault(_react); + + var _reactDom = __webpack_require__(36); + + var _reactDom2 = _interopRequireDefault(_reactDom); + + var _button = __webpack_require__(55); + + var _text_input = __webpack_require__(145); + + var _text_input2 = _interopRequireDefault(_text_input); + + var _media_utils = __webpack_require__(146); + + var _string_utils = __webpack_require__(94); + + 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 + }; + +/***/ }, +/* 309 */ +/***/ 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); + } + +/***/ }, +/* 310 */ +/***/ 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; + +/***/ }, +/* 311 */ +/***/ 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); + }; + } + +/***/ }, +/* 312 */ +/***/ 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++; + } + +/***/ }, +/* 313 */ +/***/ 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(); + +/***/ }, +/* 314 */ +/***/ 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; }()))) + +/***/ }, +/* 315 */ +/***/ function(module, exports) { + + /* (ignored) */ + +/***/ } +/******/ ]) +}); +; \ No newline at end of file diff --git a/build/lock.min.js b/build/lock.min.js new file mode 100644 index 000000000..793193fd3 --- /dev/null +++ b/build/lock.min.js @@ -0,0 +1,26 @@ +/*! + * lock.min.js v10.6.0 + * + * Author: Auth0 <support@auth0.com> (http://auth0.com) + * Date: 11/9/2016, 4:27:41 AM + * License: MIT + * + */ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Auth0Lock",[],e):"object"==typeof exports?exports.Auth0Lock=e():t.Auth0Lock=e()}(this,function(){return 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,e,n){(function(t){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}var o=n(141),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(46)},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,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=yt(t,ot.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:ot.default.fromJS(o.allowedConnections||[]),ui:L(t,o)}));return a=st.initI18n(a)}function a(t){return t.get("id")}function u(t){return ht(t,"clientID")}function s(t){return ht(t,"domain")}function c(t){return ht(t,"clientBaseUrl")}function l(t){return ht(t,"tenantBaseUrl")}function p(t){return ht(t,"useTenantInfo")}function d(t){return ht(t,"languageBaseUrl")}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t=jt(t,"submitting",e),t=I(t),t=n&&!e?g(t,n):y(t)}function f(t){return It(t,"submitting",!1)}function g(t,e){return jt(t,"globalError",e)}function h(t){return It(t,"globalError","")}function y(t){return mt(t,"globalError")}function N(t,e){return jt(t,"globalSuccess",e)}function D(t){return It(t,"globalSuccess","")}function I(t){return mt(t,"globalSuccess")}function j(t){return It(t,"render",!1)}function m(t){return mt(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||dt;return new ot.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,rt.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,lt.default)(e.language||"").toLowerCase(),dict:"object"===et(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":et(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":et(n))?n:{},o="object"===("undefined"==typeof o?"undefined":et(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,lt.default)(o.scope||"")&&S(t,"Usage of scope 'openid profile' is not recommended. See https://auth0.com/docs/scopes for more details."),ot.default.fromJS({connectionScopes:n,params:o,redirect:r,redirectUrl:i,responseMode:a,responseType:u,sso:s})}function v(t,e){return ot.default.fromJS(e).merge(ht(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,at.parseUrl)(n).hostname,r=".auth0.com",i="https://cdn.auth0.com";if((0,it.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,at.parseUrl)(n).hostname,r=".auth0.com",i="https://cdn.auth0.com",a=o.split("."),u=a[0];return e=(0,it.endsWith)(o,r)?a.length>3?"https://cdn."+a[a.length-3]+r:i:n,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 jt(t,"render",!0)}function E(t,e){return jt(t,"loggedIn",e)}function k(t){return It(t,"loggedIn",!1)}function S(t,e){var n=nt.Map.isMap(t)?!Ct.disableWarnings(t):!t.disableWarnings;n&&console&&console.warn&&console.warn(e)}function x(t,e){var n=nt.Map.isMap(t)?!Ct.disableWarnings(t):!t.disableWarnings;n&&console&&console.error&&console.error(e)}function O(t){return It(t,"allowedConnections")||ht(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 It(t,"connections",(0,nt.Map)()).filter(function(t,e){return"unknown"!==e}).valueSeq().flatten(!0);var i=It(t,["connections",r],(0,nt.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 A.apply(void 0,[t,e].concat(o)).count()>0}function P(t,e){return A(t).find(function(t){return t.get("name")===e})}function B(t,e){return!!P(t,e)}function R(t){var e=O(t),n=0===e.count()?function(t){return 0}:function(t){return e.indexOf(t.get("name"))};return jt(t,"connections",(0,ft.clientConnections)(t).map(function(t){return t.filter(function(t){return n(t)>=0}).sort(function(t,e){return n(t)-n(e)})}))}function G(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 ht(t,"hookRunner").apply(void 0,[e,t].concat(o))}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];setTimeout(function(){var n=ht(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 H(t,e,n){if(0===e.status)return st.str(t,["error","login","lock.network"]);if("rule_error"===e.code)return e.description||st.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"),st.str(t,["error","login",r])||st.str(t,["error","login","lock.fallback"])}function W(t,e){return e&&setTimeout(function(){return Z(t,"unrecoverable_error",e)},17),Dt(t,"stopped",!0)}function F(t){return ht(t,"stopped")}function V(t){return ht(t,"hashCleanup")}function J(t,e){Z(t,"hash_parsed",e)}function X(t,e){Z(t,"authenticated",e)}function q(t,e){Z(t,"authorization_error",e)}function K(t,e){Z(t,"unrecoverable_error",e)}function $(t){return(0,ft.hasFreeSubscription)(t)||!1}function tt(t,e){if(e||(e={}),e.allowedConnections&&(t=jt(t,"allowedConnections",ot.default.fromJS(e.allowedConnections))),e.flashMessage){var n="success"===e.flashMessage.type?"globalSuccess":"globalError";t=jt(t,n,e.flashMessage.text)}return e.auth&&e.auth.params&&(t=jt(t,"authParams",ot.default.fromJS(e.auth.params))),e.theme&&(e.theme.primaryColor&&(t=jt(t,["ui","primaryColor"],e.theme.primaryColor)),e.theme.logo&&(t=jt(t,["ui","logo"],e.theme.logo))),e.language&&(e.dict=e.dict||{},t=jt(t,["ui","language"],e.language),t=jt(t,["ui","dict"],e.dict),t=st.initI18n(t)),"boolean"==typeof e.rememberLastLogin&&(t=jt(t,"rememberLastLogin",e.rememberLastLogin)),t}e.__esModule=!0,e.reset=e.auth=e.ui=void 0;var et="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=h,e.clearGlobalError=y,e.setGlobalSuccess=N,e.globalSuccess=D,e.clearGlobalSuccess=I,e.rendering=j,e.stopRendering=m,e.withAuthOptions=v,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.findConnection=P,e.hasConnection=B,e.filterConnections=R,e.runHook=G,e.emitEvent=Z,e.loginErrorMessage=H,e.stop=W,e.hasStopped=F,e.hashCleanup=V,e.emitHashParsedEvent=J,e.emitAuthenticatedEvent=X,e.emitAuthorizationErrorEvent=q,e.emitUnrecoverableErrorEvent=K,e.showBadge=$,e.overrideOptions=tt;var nt=n(9),ot=r(nt),rt=n(146),it=n(94),at=n(314),ut=n(14),st=o(ut),ct=n(26),lt=r(ct),pt=n(267),dt=o(pt),Mt=n(19),ft=n(136),gt=(0,Mt.dataFns)(["core"]),ht=gt.get,yt=gt.init,Nt=(gt.remove,gt.reset),Dt=gt.set,It=gt.tget,jt=gt.tset,mt=gt.tremove,Lt=(0,Mt.dataFns)(["core","ui"]),wt=Lt.get,vt=(Lt.set,(0,Mt.dataFns)(["core","transient","ui"])),zt=vt.get,bt=(vt.set,function(t,e){return zt(t,e)||wt(t,e)}),Ct=e.ui={containerID:function(t){return bt(t,"containerID")},appendContainer:function(t){return bt(t,"appendContainer")},autoclose:function(t){return bt(t,"autoclose")},autofocus:function(t){return bt(t,"autofocus")},avatar:function(t){return bt(t,"avatar")},avatarProvider:function(t){return bt(t,"avatarProvider")},closable:function(t){return bt(t,"closable")},dict:function(t){return bt(t,"dict")},disableWarnings:function(t){return bt(t,"disableWarnings")},labeledSubmitButton:function(t){return bt(t,"labeledSubmitButton")},language:function(t){return bt(t,"language")},logo:function(t){return bt(t,"logo")},mobile:function(t){return bt(t,"mobile")},popupOptions:function(t){return bt(t,"popupOptions")},primaryColor:function(t){return bt(t,"primaryColor")},authButtonsTheme:function(t){return bt(t,"authButtonsTheme")},rememberLastLogin:function(t){return It(t,"rememberLastLogin",bt(t,"rememberLastLogin"))}},Tt=(0,Mt.dataFns)(["core","auth"]),Et=Tt.get;e.auth={connectionScopes:function(t){return Et(t,"connectionScopes")},params:function(t){return It(t,"authParams")||Et(t,"params")},redirect:function(t){return Et(t,"redirect")},redirectUrl:function(t){return Et(t,"redirectUrl")},responseType:function(t){return Et(t,"responseType")},sso:function(t){return Et(t,"sso")}};e.reset=Nt},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},function(t,e,n){"use strict";var o=n(13),r=o;t.exports=r},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){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(106),M=(n(2),p.ID_ATTRIBUTE_NAME),f=d,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),h={getClosestInstanceFromNode:u,getInstanceFromNode:s,getNodeFromInstance:c,precacheChildNodes:a,precacheNode:r,uncacheNode:i};t.exports=h},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 h(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new E.Map({});return t.getIn(["field",e],n)}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return h(t,e).get("value",n)}function N(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return h(t,e).get("label",n)}function D(t){return t.getIn(["field","phoneNumber","value"],"")}function I(t){return y(t,"email")}function j(t){return y(t,"vcode")}function m(t){return y(t,"password")}function L(t){return y(t,"username")}function w(t){return y(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=h,e.getFieldValue=y,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(26),S=r(k),x=n(294),O=r(x),A=n(3),_=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(y)),t.size}function h(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 y(){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 ht(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function yt(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===yt}function bt(t,e,n,o,r){if(t.keyHash===o)return new yt(e,o,[t.entry,r]);var i,a=(0===n?t.keyHash:t.keyHash>>>n)&yn,u=(0===n?o:o>>>n)&yn,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(hn),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[i++]:void 0;return a[o]=r,new ht(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<hn?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>hn&&(c=hn),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>hn&&(l=hn),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=h(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&yn,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&yn],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 h=c,y=s;y>gn;y-=gn){var N=p>>>y&yn;h=h.array[N]=Vt(h.array[N],o)}h.array[p>>>gn&yn]=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&yn;if(D!==d>>>s&yn)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<hn?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>=hn&&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=h(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 he(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 ye(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,hn=1<<gn,yn=hn-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[h(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+h(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)&yn),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)&yn,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,h=l?f?c:c^s:c|s,y=l?f?Ut(d,p,f,g):Qt(d,p,g):Yt(d,p,f,g);return g?(this.bitmap=h,this.nodes=y,this):new gt(t,h,y)},ht.prototype.get=function(t,e,n,o){void 0===e&&(e=at(n));var r=(0===t?e:e>>>t)&yn,i=this.nodes[r];return i?i.get(t+gn,e,n,o):o},ht.prototype.update=function(t,e,n,o,r,i,a){void 0===n&&(n=at(o));var u=(0===e?n:n>>>e)&yn,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 ht(t,d,f)},yt.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},yt.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 yt(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=yt.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=ht.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=hn/4,Wn=hn/2,Fn=hn/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=h(this,t),t>=0&&t<this.size){t+=this._origin;var n=Jt(this,t);return n&&n.array[t&yn]}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&yn;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&yn;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=h(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,ye(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(y)},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,he(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=h(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=h(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,he(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=K(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,h=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:h,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:q(t,"initialScreen")}),o=n.initialScreen,r=n.screens;return t=tt(t,"initialScreen",o),t=tt(t,"screens",r)}function M(t){var e=f(t);return e&&R.findConnection(t,e)}function f(t){return q(t,"defaultConnectionName")}function g(t){return(0,J.defaultDirectory)(t)||M(t)||R.connection(t,"database")}function h(t){return(g(t)||(0,Q.Map)()).get("name")}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return q(t,"forgotPasswordLink",e)}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return q(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),tt(t,"screen",e)}function I(t){var e=$(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 $(t,"screens")||q(t,"screens",new Q.List)}function m(t){return $(t,"initialScreen")||q(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 w(t)?q(t,"usernameStyle","any"):"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"===q(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 q(t,"loginAfterSignUp")}function k(t){return(g(t)||(0,Q.Map)()).get("passwordPolicy","none")}function S(t){return q(t,"additionalSignUpFields",(0,Q.List)())}function x(t){return q(t,"mustAcceptTerms",!1)}function O(t){return!x(t)||$(t,"termsAccepted",!1)}function A(t){return tt(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=h,e.forgotPasswordLink=y,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(3),R=o(B),G=n(8),Z=n(19),H=n(43),W=r(H),F=n(26),V=r(F),J=n(84),X=(0,Z.dataFns)(["database"]),q=X.get,K=X.initNS,$=X.tget,tt=X.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 h=n(309),y=o(h),N=n(9),D=(0,y.default)(new N.Map({}))},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";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 y.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=h.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=h.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.6.0/"+e+".js",check:function(t){return t&&t===e},cb:function(t,e,o){n(t,o)}})}function p(t,e){T[t]=h.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),h=r(g),y=n(82),N=n(43),D=r(N),I=n(3),j=o(I),m=n(19),L=n(296),w=r(L),v=n(93),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(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(6),u=n(24),s=(n(5),n(119),Object.prototype.hasOwnProperty),c="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,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 h=Array(g),y=0;y<g;y++)h[y]=arguments[y+2];a.children=h}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,h=t._owner;if(null!=e){o(e)&&(M=e.ref,h=u.current),r(e)&&(d=""+e.key);var y;t.type&&t.type.defaultProps&&(y=t.type.defaultProps);for(i in e)s.call(e,i)&&!l.hasOwnProperty(i)&&(void 0===e[i]&&void 0!==y?c[i]=y[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,h,c)},p.isValidElement=function(t){return"object"===("undefined"==typeof t?"undefined":i(t))&&null!==t&&t.$$typeof===c},p.REACT_ELEMENT_TYPE=c,t.exports=p},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){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!==y.length?l("124",e,y.length):void 0,y.sort(a),N++;for(var n=0;n<e;n++){var o=y[n],r=o._pendingCallbacks;o._pendingCallbacks=null;var i;if(f.logTopLevelRenders){var u=o;o._currentElement.props===o._renderedComponent._currentElement&&(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?(y.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(6),d=n(101),M=n(23),f=n(109),g=n(33),h=n(40),y=(n(2),[]),N=0,D=d.getPooled(),I=!1,j=null,m={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),v()):y.length=0}},L={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},w=[m,L];p(r.prototype,h.Mixin,{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 h.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,t,e,n)}}),M.addPoolingTo(r);var v=function(){for(;y.length||I;){if(y.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(3),a=(o(i),n(14)),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";var o=n(51),r=o({bubbled:null,captured:null}),i=o({topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null}),a={topLevelTypes:i,PropagationPhases:r};t.exports=a},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(6),i=n(23),a=n(13),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,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 h(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):y(t,r)})})}function y(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=h,e.logInSuccess=y;var j=n(9),m=(i(j),n(53)),L=i(m),w=n(12),v=n(283),z=n(3),b=r(z),C=n(147),T=n(143),E=n(8)}).call(e,function(){return this}(),n(42))},function(t,e,n){"use strict";var o=n(4),r=(n(2),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),i=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)},a=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)},u=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)},s=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)},c=function(t){var e=this;t instanceof e?void 0:o("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},l=10,p=r,d=function(t,e){var n=t;return n.instancePool=[],n.getPooled=e||p,n.poolSize||(n.poolSize=l),n.release=c,n},M={addPoolingTo:d,oneArgumentPooler:r,twoArgumentPooler:i,threeArgumentPooler:a,fourArgumentPooler:u,fiveArgumentPooler:s};t.exports=M},function(t,e){"use strict";var n={current:null};t.exports=n},function(t,e){"use strict";var n=function(t){var e;for(e in t)if(t.hasOwnProperty(e))return e;return null};t.exports=n},function(t,e){"use strict";function n(t){return t.replace(/^\s*|\s*$/g,"")}e=t.exports=n,e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}},function(t,e,n){"use strict";function o(t){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)||h(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 h(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 y(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=y,e.corpNetworkConnection=N,e.isSingleHRDConnection=D,e.isHRDDomain=I,e.toggleHRD=j,e.isHRDActive=m;var L=n(9),w=r(L),v=n(3),z=o(v),b=n(8),C=(o(b),n(19)),T=n(29),E=n(88),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){"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(90),d=r(p),M=n(22),f=n(3),g=o(f),h=n(14),y=o(h),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,y.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(26),c=o(s),l=n(8),p=(n(94),/^(([^<>()[\]\\.,;:\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(h){var e=t.node,n=t.children;if(n.length)for(var o=0;o<n.length;o++)y(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){h?t.children.push(e):t.node.appendChild(e.node)}function a(t,e){h?t.html=e:p(t.node,e)}function u(t,e){h?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(50),d=n(73),M=n(129),f=1,g=11,h="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),y=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=y,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(2),{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(224),i=(n(15),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){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 h(t){return M(t)}function y(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=h,e.cancelMFALogin=y,e.toggleTermsAcceptance=N,e.showLoginMFAActivity=D;var I=n(9),j=(r(I),n(12)),m=n(53),L=r(m),w=n(22),v=n(3),z=o(v),b=n(8),C=o(b),T=n(11),E=n(14),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(105)},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(4),i=n(60),a=n(61),u=n(67),s=n(118),c=n(121),l=(n(2),{}),p=null,d=function(t,e){t&&(a.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},M=function(t){return d(t,!0)},f=function(t){return d(t,!1)},g=function(t){return"."+t._rootNodeID},h={injection:{injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n?r("94",e,"undefined"==typeof n?"undefined":o(n)):void 0;var a=g(t),u=l[e]||(l[e]={});u[a]=n;var s=i.registrationNameModules[e];s&&s.didPutListener&&s.didPutListener(t,e,n)},getListener:function(t,e){var n=l[e],o=g(t);return n&&n[o]},deleteListener:function(t,e){var n=i.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var o=l[e];if(o){var r=g(t);delete o[r]}},deleteAllListeners:function(t){var e=g(t);for(var n in l)if(l.hasOwnProperty(n)&&l[n][e]){var o=i.registrationNameModules[n];o&&o.willDeleteListener&&o.willDeleteListener(t,n),delete l[n][e]}},extractEvents:function(t,e,n,o){for(var r,a=i.plugins,u=0;u<a.length;u++){var c=a[u];if(c){var l=c.extractEvents(t,e,n,o);l&&(r=s(r,l))}}return r},enqueueEvents:function(t){t&&(p=s(p,t))},processEventQueue:function(t){var e=p;p=null,t?c(e,M):c(e,f),p?r("95"):void 0,u.rethrowCaughtError()},__purge:function(){l={}},__getListenerBank:function(){return l}};t.exports=h},function(t,e,n){"use strict";function o(t,e,n){var o=e.dispatchConfig.phasedRegistrationNames[n];return D(t,o)}function r(t,e,n){var r=e?N.bubbled:N.captured,i=o(t,n,r);i&&(n._dispatchListeners=h(n._dispatchListeners,i),n._dispatchInstances=h(n._dispatchInstances,t))}function i(t){t&&t.dispatchConfig.phasedRegistrationNames&&g.traverseTwoPhase(t._targetInst,r,t)}function a(t){if(t&&t.dispatchConfig.phasedRegistrationNames){var e=t._targetInst,n=e?g.getParentInstance(e):null;g.traverseTwoPhase(n,r,t)}}function u(t,e,n){if(n&&n.dispatchConfig.registrationName){var o=n.dispatchConfig.registrationName,r=D(t,o);r&&(n._dispatchListeners=h(n._dispatchListeners,r),n._dispatchInstances=h(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){g.traverseEnterLeave(n,o,u,t,e)}function d(t){y(t,s)}var M=n(20),f=n(37),g=n(61),h=n(118),y=n(121),N=(n(5),M.PropagationPhases),D=f.getListener,I={accumulateTwoPhaseDispatches:c,accumulateTwoPhaseDispatchesSkipTarget:l,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:p};t.exports=I},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(21),i=n(76),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";var o=n(4),r=(n(2),{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]=i.OBSERVED_ERROR,this.wrapperInitData[n]=o.initialize?o.initialize.call(this):null}finally{if(this.wrapperInitData[n]===i.OBSERVED_ERROR)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 r,a=e[n],u=this.wrapperInitData[n];try{r=!0,u!==i.OBSERVED_ERROR&&a.close&&a.close.call(this,u),r=!1}finally{if(r)try{this.closeAll(n+1)}catch(t){}}}this.wrapperInitData.length=0}}),i={Mixin:r,OBSERVED_ERROR:{}};t.exports=i},function(t,e,n){"use strict";var o={};t.exports=o},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):h=-1,f.length&&u())}function u(){if(!g){var t=r(a);g=!0;for(var e=f.length;e;){for(M=f,f=[];++h<e;)M&&M[h].run();h=-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,h=-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){(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(h(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(h(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(19),d=n(3),M=o(d),f=n(12),g=(0,p.dataFns)(["sync"]),h=g.get,y=g.set;e.default=function(t,e,n){if(void 0!==h(t,e))return t;var o=n.waitFn?"waiting":!n.conditionFn||n.conditionFn(t)?"pending":"no";return y(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 h(t,N(e))},I=function(t,e,n){return y(t,N(e),n)},j=function(t,e,n){return h(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(h(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,h=d.toString,y=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=h.call(e);if(a!==h.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]"===h.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 h.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]"===h.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&&y.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){"use strict";var n={onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0},o={getHostProps:function(t,e){if(!e.disabled)return e;var o={};for(var r in e)!n[r]&&e.hasOwnProperty(r)&&(o[r]=e[r]);return o}};t.exports=o},function(t,e,n){"use strict";var o=n(6),r=n(103),i=n(64),a=n(222),u=n(104),s=n(205),c=n(16),l=n(115),p=n(116),d=n(128),M=(n(5),c.createElement),f=c.createFactory,g=c.cloneElement,h=o,y={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:h};t.exports=y},function(t,e,n){"use strict";function o(t){return Object.prototype.hasOwnProperty.call(t,h)||(t[h]=f++,d[t[h]]={}),d[t[h]]}var r,i=n(6),a=n(20),u=n(60),s=n(216),c=n(117),l=n(125),p=n(77),d={},M=!1,f=0,g={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("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:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},h="_reactListenersID"+String(Math.random()).slice(2),y=i({},s,{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=u.registrationNameDependencies[t],s=a.topLevelTypes,c=0;c<i.length;c++){var l=i[c];r.hasOwnProperty(l)&&r[l]||(l===s.topWheel?p("wheel")?y.ReactEventListener.trapBubbledEvent(s.topWheel,"wheel",n):p("mousewheel")?y.ReactEventListener.trapBubbledEvent(s.topWheel,"mousewheel",n):y.ReactEventListener.trapBubbledEvent(s.topWheel,"DOMMouseScroll",n):l===s.topScroll?p("scroll",!0)?y.ReactEventListener.trapCapturedEvent(s.topScroll,"scroll",n):y.ReactEventListener.trapBubbledEvent(s.topScroll,"scroll",y.ReactEventListener.WINDOW_HANDLE):l===s.topFocus||l===s.topBlur?(p("focus",!0)?(y.ReactEventListener.trapCapturedEvent(s.topFocus,"focus",n),y.ReactEventListener.trapCapturedEvent(s.topBlur,"blur",n)):p("focusin")&&(y.ReactEventListener.trapBubbledEvent(s.topFocus,"focusin",n),y.ReactEventListener.trapBubbledEvent(s.topBlur,"focusout",n)),r[s.topBlur]=!0,r[s.topFocus]=!0):g.hasOwnProperty(l)&&y.ReactEventListener.trapBubbledEvent(l,g[l],n),r[l]=!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&&!M){var t=c.refreshScrollValues;y.ReactEventListener.monitorScrollValue(t),M=!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(39),i=n(117),a=n(75),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){"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(73),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},function(t,e,n){"use strict";var o=n(2),r=function(t){var e,n={};t instanceof Object&&!Array.isArray(t)?void 0:o(!1);for(e in t)t.hasOwnProperty(e)&&(n[e]=e);return n};t.exports=r},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"):h[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(3),f=o(M),g=n(19),h=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:"新浪微博"},y=(0,g.dataFns)(["social"]),N=y.get,D=y.initNS},function(t,e,n){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){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.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(142),u=n(12),s=n(22),c=n(3),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 b(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:C()&&!v("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,void(this._sendClientInfo=null==t.sendSDKClientInfo||t.sendSDKClientInfo)):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(152),g=n(151),h=n(154),y=n(153),N=n(163),D=n(169),I=n(26),j=n(166),m=n(167),L=n(159),w={param:"cbx",timeout:8e3,prefix:"__auth0jp"},v=n(155),z=n(95),b=n(149),C=n(156),T=n(150);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?L(a+"?"+N.stringify({id_token:e}),w,function(t,e){return t?s(0,t.toString()):200===e.status?n(null,e.user):s(e.status,e.err||e.error)}):j({url:v(o,r)?i:a,method:"post",type:"json",crossOrigin:!v(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 j({url:v(n,o)?r:i,method:"post",type:"json",crossOrigin:!v(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=D(t,{client_id:this._clientID,username:I(t.username||t.email||"")});return this._useJSONP?L(i+"?"+N.stringify(a),w,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 j({url:v(n,o)?r:i,method:"post",type:"text",data:a,crossOrigin:!v(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 z(f.decode(e))},s.prototype.parseHash=function(t){t=t||window.location.hash,t=t.replace(/^#?\/?/,"");var e=N.parse(t);if(e.hasOwnProperty("error")){var n={error:e.error,error_description:e.error_description};return e.state&&(n.state=e.state),n}if(!e.hasOwnProperty("access_token")&&!e.hasOwnProperty("id_token")&&!e.hasOwnProperty("refresh_token"))return null;var o;if(e.id_token){var r=function(t){var e={error:"invalid_token",error_description:t};return e};o=this.decodeJwt(e.id_token);var i=h(o.aud)?o.aud:[o.aud];if(y(i,this._clientID)===-1)return r("The clientID configured ("+this._clientID+") does not match with the clientID set in the token ("+i.join(", ")+").");if(o.iss&&o.iss!=="https://"+this._domain+"/")return r("The domain configured (https://"+this._domain+"/) does not match with the domain set in the token ("+o.iss+").")}return{accessToken:e.access_token,idToken:e.id_token,idTokenPayload:o,refreshToken:e.refresh_token,state:e.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 b(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:I(t.email||t.username||""),tenant:this._domain.split(".")[0]};"string"==typeof t.username&&(a.username=I(t.username));var s=D(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?L(f+"?"+N.stringify(s),w,function(t,e){return t?o(0,t):200==e.status?n():o(e.status,e.err||e.error)}):void j({url:v(p,d)?M:f,method:"post",type:"html",data:s,success:n,crossOrigin:!v(p,d),error:function(t){o(t.status,t.responseText)}})},s.prototype.changePassword=function(t,e){function n(t,n){var o=new b(t,n);if(e)return e(o)}var o={tenant:this._domain.split(".")[0],client_id:this._clientID,connection:t.connection,email:I(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?L(s+"?"+N.stringify(o),w,function(t,o){return t?n(0,t):200==o.status?e(null,o.message):n(o.status,o.err||o.error)}):void j({url:v(r,i)?a:s,method:"post",type:"html",data:o,crossOrigin:!v(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 N.stringify(n)},s.prototype._buildAuthorizationParameters=function(t,e){var n=D.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&&h(n.connection_scope)&&(n.connection_scope=n.connection_scope.join(",")),n},s.prototype._buildAuthorizeUrl=function(t){var e=[this._getMode(t),t,{client_id:this._clientID,redirect_uri:this._getCallbackURL(t)}],n=this._buildAuthorizeQueryString(e);return u("https:",this._domain,"/authorize?"+n)},s.prototype.login=s.prototype.signin=function(t,e){return i(t,"sso")||(t.sso=!0),"undefined"!=typeof t.passcode?this.loginWithPasscode(t,e):"undefined"!=typeof t.username||"undefined"!=typeof t.email?this.loginWithUsernamePassword(t,e):window.cordova||window.electron?this.loginPhonegap(t,e):t.popup&&this._getCallbackOnLocationHash(t)?this.loginWithPopup(t,e):void 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=D({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");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=D(s,t.popupOptions),l=m.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 b(t),null,null,null,null,null):o?o.access_token||o.id_token?e(null,n._prepareResult(o)):o.err?e(new b(o.err.status,o.err.details||o.err),null,null,null,null,null):o.error?e(new b(o.status,o.details||o),null,null,null,null,null):e(new b("Something went wrong"),null,null,null,null,null):e(new b("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=D({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&&h(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=D(o,t.popupOptions),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:I(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=m.open(a,function(t,o){return n._current_popup=null,t?e(new b(t),null,null,null,null,null):o?o.id_token?e(null,n._prepareResult(o)):o.err?e(new b(o.err.status,o.err.details||o.err),null,null,null,null,null):o.error?e(new b(o.status,o.details||o),null,null,null,null,null):e(new b("Something went wrong"),null,null,null,null,null):e(new b("Something went wrong"),null,null,null,null,null)});u.focus()},s.prototype.loginWithResourceOwner=function(t,e){var n=this,o=D(this._getMode(t),t,{client_id:this._clientID,username:I(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?L(c+"?"+N.stringify(o),w,function(t,o){if(t)return e(t);if("error"in o){var r=new b(o.status,o.error);return e(r)}e(null,n._prepareResult(o))}):void j({url:v(r,i)?s:c,method:"post",type:"json",data:o,headers:this._getClientInfoHeader(),crossOrigin:!v(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?L(c+"?"+N.stringify(o),w,function(t,o){if(t)return e(t);if("error"in o){var r=new b(o.status,o.error);return e(r)}e(null,n._prepareResult(o))}):void j({url:v(r,i)?s:c,method:"post",type:"json",data:o,headers:this._getClientInfoHeader(),crossOrigin:!v(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=D(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)),e&&e.length>1&&t.sso)return this.loginWithUsernamePasswordAndSSO(t,e);var i=D(this._getMode(t),t,{client_id:this._clientID,redirect_uri:this._getCallbackURL(t),username:I(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?L(p+"?"+N.stringify(i),w,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 b(i.status,i.error);return e(a)}r._renderAndSubmitWSFedForm(t,i.form)}):void j({url:v(s,c)?l:p,method:"post",type:"html",data:i,headers:this._getClientInfoHeader(),crossOrigin:!v(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=D(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()),L(i+"?"+N.stringify(a),w,function(t,n){return t?e(new Error("0: "+t.toString())):200===n.status?e(null,!0):e({status:n.status})})):j({url:v(n,o)?r:i,method:"post",headers:this._getClientInfoHeader(),crossOrigin:!v(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=D({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?L(s+"?"+N.stringify(n),w,function(t,n){if(t)return e(t);if("error"in n){var o=new b(n.status,n.error_description||n.error);return e(o)}e(null,n)}):void j({url:v(r,i)?a:s,method:"post",type:"json",data:n,crossOrigin:!v(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 b(n.status,n.responseText))}}})},s.prototype.silentAuthentication=function(t,e){var n=t.usePostMessage||!1;delete t.usePostMessage,t=D(t,{prompt:"none"});var o=new T(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+="?"+N.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=v(r,i),l={};return t&&(l={ldaps:1,client_id:this._clientID}),j({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 L("https://"+this._domain+"/public/api/"+this._clientID+"/connections",w,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()),L(i+"?"+N.stringify(a),w,function(t,n){return t?e(new Error("0: "+t.toString())):200===n.status?e(null,!0):e(n.err||n.error)})):j({url:v(n,o)?r:i,method:"post",type:"json",headers:this._getClientInfoHeader(),crossOrigin:!v(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)}j({url:v(e,n)?o:r,method:"get",type:"json",headers:this._getClientInfoHeader(),crossOrigin:!v(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(44),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):h(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(h(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&&h(o,document.createTextNode(n),r):n?(g(r,n),s(o,r,e)):s(o,t,e)}var l=n(30),p=n(191),d=n(113),M=(n(7),n(15),n(73)),f=n(50),g=n(129),h=M(function(t,e,n){t.insertBefore(e,n)}),y=p.dangerouslyReplaceNodeWithMarkup,N={dangerouslyReplaceNodeWithMarkup:y,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n<e.length;n++){var u=e[n];switch(u.type){case d.INSERT_MARKUP:r(t,u.content,o(t,u.afterNode));break;case d.MOVE_EXISTING:i(t,u.fromNode,o(t,u.afterNode));break;case d.SET_MARKUP:f(t,u.content);break;case d.TEXT_CONTENT:g(t,u.content);break;case d.REMOVE_NODE:a(t,u.fromNode)}}}};t.exports=N},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(2),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;for(var n in e.phasedRegistrationNames)if(e.phasedRegistrationNames.hasOwnProperty(n)){var o=c.registrationNameModules[e.phasedRegistrationNames[n]];if(o)return o}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 t===N.topMouseUp||t===N.topTouchEnd||t===N.topTouchCancel}function r(t){return t===N.topMouseMove||t===N.topTouchMove}function i(t){return t===N.topMouseDown||t===N.topTouchStart}function a(t,e,n,o){var r=t.type||"unknown-event";t.currentTarget=D.getNodeFromInstance(o),e?h.invokeGuardedCallbackWithCatch(r,n,t):h.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?D.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(20),h=n(67),y=(n(2),n(5),{injectComponentTree:function(t){d=t},injectTreeTraversal:function(t){M=t}}),N=g.topLevelTypes,D={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=D},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(115),c=n(70),l=n(71),p=(n(2),n(5),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(t,e,n){return!t[e]||p[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.func},M={},f={checkPropTypes:function(t,e,n){for(var o in d){if(d.hasOwnProperty(o))var r=d[o](e,o,t,c.prop,null,l);if(r instanceof Error&&!(r.message in M)){M[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=f},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(4),a=n(68),u=(n(119),n(41));n(2),n(5);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";var o=n(4),r=(n(2),!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){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){return"."+t}function i(t){return parseInt(t.substr(1),10)}function a(t){if(w)return y.get(t);var e=r(t);return D[e]}function u(t){if(w)y.delete(t);else{var e=r(t);delete D[e]}}function s(t,e,n){var o={element:e,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};if(w)y.set(t,o);else{var i=r(t);D[i]=o}}function c(t){if(w)N.add(t);else{var e=r(t);I[e]=!0}}function l(t){if(w)N.delete(t);else{var e=r(t);delete I[e]}}function p(){return w?Array.from(y.keys()):Object.keys(D).map(i)}function d(){return w?Array.from(N.keys()):Object.keys(I).map(i)}function M(t){var e=a(t);if(e){var n=e.childIDs;u(t),n.forEach(M)}}function f(t,e,n){return"\n in "+t+(e?" (at "+e.fileName.replace(/^.*[\\\/]/,"")+":"+e.lineNumber+")":n?" (created by "+n+")":"")}function g(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 h(t){var e,n=z.getDisplayName(t),o=z.getElement(t),r=z.getOwnerID(t);return r&&(e=z.getDisplayName(r)),f(n,o&&o._source,e)}var y,N,D,I,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(4),L=n(24),w=(n(2),n(5),"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));w?(y=new Map,N=new Set):(D={},I={});var v=[],z={onSetChildren:function(t,e){var n=a(t);n.childIDs=e;for(var o=0;o<e.length;o++){var r=e[o],i=a(r);i?void 0:m("140"),null==i.childIDs&&"object"===j(i.element)&&null!=i.element?m("141"):void 0,i.isMounted?void 0:m("71"),null==i.parentID&&(i.parentID=t),i.parentID!==t?m("142",r,i.parentID,t):void 0}},onBeforeMountComponent:function(t,e,n){s(t,e,n)},onBeforeUpdateComponent:function(t,e){var n=a(t);n&&n.isMounted&&(n.element=e)},onMountComponent:function(t){var e=a(t);e.isMounted=!0;var n=0===e.parentID;n&&c(t)},onUpdateComponent:function(t){var e=a(t);e&&e.isMounted&&e.updateCount++},onUnmountComponent:function(t){var e=a(t);if(e){e.isMounted=!1;var n=0===e.parentID;n&&l(t)}v.push(t)},purgeUnmountedComponents:function(){if(!z._preventPurging){for(var t=0;t<v.length;t++){var e=v[t];M(e)}v.length=0}},isMounted:function(t){var e=a(t);return!!e&&e.isMounted},getCurrentStackAddendum:function(t){var e="";if(t){var n=t.type,o="function"==typeof n?n.displayName||n.name:n,r=t._owner;e+=f(o||"Unknown",t._source,r&&r.getName())}var i=L.current,a=i&&i._debugID;return e+=z.getStackAddendumByID(a)},getStackAddendumByID:function(t){for(var e="";t;)e+=h(t),t=z.getParentID(t);return e},getChildIDs:function(t){var e=a(t);return e?e.childIDs:[]},getDisplayName:function(t){var e=z.getElement(t);return e?g(e):null},getElement:function(t){var e=a(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=a(t);return e?e.parentID:null},getSource:function(t){var e=a(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=a(t);return e?e.updateCount:0},getRegisteredIDs:p,getRootIDs:d};t.exports=z},function(t,e,n){"use strict";function o(t,e,n,o){try{return e(n,o)}catch(t){return void(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,e){}var r=(n(5),{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){"use strict";var o=n(51),r=o({prop:null,context:null,childContext:null});t.exports=r},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){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(24),n(32)),c=(n(15),n(17)),l=(n(2),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";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||s.isValidElement(t))return n(i,t,""===e?p+o(t,0):e),1;var f,g,h=0,y=""===e?p:e+d;if(Array.isArray(t))for(var N=0;N<t.length;N++)f=t[N],g=y+o(f,N),h+=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=y+o(f,m++),h+=r(f,g,n,i);else for(;!(I=j.next()).done;){var L=I.value;L&&(f=L[1],g=y+l.escape(L[0])+d+o(f,0),h+=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 h}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(24),n(16)),c=n(123),l=(n(2),n(62)),p=(n(5),"."),d=":";t.exports=i},function(t,e,n){"use strict";var o=(n(6),n(13)),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){(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 h=n.name?": "+n.name:"";return t.stylize("[Function"+h+"]","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 y="",N=!1,I=["{","}"];if(f(n)&&(N=!0,I=["[","]"]),z(n)){var j=n.name?": "+n.name:"";y=" [Function"+j+"]"}if(m(n)&&(y=" "+RegExp.prototype.toString.call(n)),w(n)&&(y=" "+Date.prototype.toUTCString.call(n)),v(n)&&(y=" "+l(n)),0===a.length&&(!N||0==n.length))return I[0]+y+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,y,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"):h(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=h(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 h(t){return null===t}function y(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+=h(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=h,e.isNullOrUndefined=y,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(266);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(265),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(42))},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(27),l=n(8),p=n(22),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),h=n(19),y=n(3),N=o(y),D=(0,h.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(141),d=(r(p),n(287)),M=r(d),f=n(290),g=r(f),h=n(288),y=r(h),N=n(271),D=r(N),I=n(138),j=n(11),m=n(27),L=n(84),w=n(52),v=n(29),z=n(88),b=n(3),C=o(b),T=n(277),E=r(T),k=n(276),S=r(k),x=n(278),O=r(x),A=n(142),_=n(282),U=r(_),Y=n(281),Q=r(Y),P=n(285),B=r(P),R=n(43),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:y.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(303),p=r(l),d=n(8),M=o(d),f=n(12),g=n(3),h=o(g),y=n(29),N=n(133),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;h.ui.avatar(t)&&M.email(t)&&(0,N.requestAvatar)(h.id(t),M.email(t))},e.prototype.handleChange=function(t){var e=this.props.lock;h.ui.avatar(e)&&(0,N.debouncedRequestAvatar)(h.id(e),t.target.value),(0,f.swap)(f.updateEntity,"lock",h.id(e),y.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(91),p=r(l),d=n(8),M=o(d),f=n(12),g=n(3),h=o(g),y=n(295),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",h.id(n),y.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:h.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(26),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(307),p=r(l),d=n(8),M=o(d),f=n(12),g=n(3),h=o(g),y=n(88),N=n(133),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;h.ui.avatar(t)&&M.username(t)&&(0,N.requestAvatar)(h.id(t),M.username(t))},e.prototype.handleChange=function(t){var e=this.props,n=e.lock,o=e.validateFormat,r=e.usernameStyle;h.ui.avatar(n)&&(0,N.debouncedRequestAvatar)(h.id(n),t.target.value),(0,f.swap)(f.updateEntity,"lock",h.id(n),y.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,y.getUsernameValidation)(n):{},u=function(t){return t?(0,y.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(299),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(35),d=o(p),M=n(305),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>',h=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,h=o&&p&&M?l.default.createElement(f.default,{messages:i,password:a,policy:o}):null;return l.default.createElement(d.default,{before:h,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);h.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=h},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(144),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=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}),c,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(){this._callbacks=null,this._contexts=null}var r=n(4),i=n(6),a=n(23);n(2);i(o.prototype,{enqueue:function(t,e){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(t),this._contexts.push(e)},notifyAll:function(){var t=this._callbacks,e=this._contexts;if(t){t.length!==e.length?r("24"):void 0,this._callbacks=null,this._contexts=null;for(var n=0;n<t.length;n++)t[n].call(e[n]);t.length=0,e.length=0}},checkpoint:function(){return this._callbacks?this._callbacks.length:0},rollback:function(t){this._callbacks&&(this._callbacks.length=t,this._contexts.length=t)},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),a.addPoolingTo(o),t.exports=o},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(7),n(15),n(249)),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";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);y(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,h.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);y(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 y(t,p,null)}function M(t){var e=[];return c(t,e,null,h.thatReturnsArgument),e}var f=n(23),g=n(16),h=n(13),y=n(79),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,e){var n=L.hasOwnProperty(e)?L[e]:null;v.hasOwnProperty(e)&&(n!==j.OVERRIDE_BASE?d("73",e):void 0),t&&(n!==j.DEFINE_MANY&&n!==j.DEFINE_MANY_MERGED?d("74",e):void 0)}function r(t,e){if(e){"function"==typeof e?d("75"):void 0,g.isValidElement(e)?d("76"):void 0;var n=t.prototype,r=n.__reactAutoBindPairs;e.hasOwnProperty(I)&&w.mixins(t,e.mixins);for(var i in e)if(e.hasOwnProperty(i)&&i!==I){var a=e[i],c=n.hasOwnProperty(i);if(o(c,i),w.hasOwnProperty(i))w[i](t,a);else{var l=L.hasOwnProperty(i),p="function"==typeof a,M=p&&!l&&!c&&e.autobind!==!1;if(M)r.push(i,a),n[i]=a;else if(c){var f=L[i];!l||f!==j.DEFINE_MANY_MERGED&&f!==j.DEFINE_MANY?d("77",f,i):void 0,f===j.DEFINE_MANY_MERGED?n[i]=u(n[i],a):f===j.DEFINE_MANY&&(n[i]=s(n[i],a))}else n[i]=a}}}else;}function i(t,e){if(e)for(var n in e){var o=e[n];if(e.hasOwnProperty(n)){var r=n in w;r?d("78",n):void 0;var i=n in t;i?d("79",n):void 0,t[n]=o}}}function a(t,e){t&&e&&"object"===("undefined"==typeof t?"undefined":p(t))&&"object"===("undefined"==typeof e?"undefined":p(e))?void 0:d("80");for(var n in e)e.hasOwnProperty(n)&&(void 0!==t[n]?d("81",n):void 0,t[n]=e[n]);return t}function u(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 a(r,n),a(r,o),r}}function s(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var n=e.bind(t);return n}function l(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var o=e[n],r=e[n+1];t[o]=c(t,r)}}var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d=n(4),M=n(6),f=n(64),g=n(16),h=(n(70),n(69),n(68)),y=n(41),N=(n(2),n(51)),D=n(25),I=(n(5),D({mixins:null})),j=N({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),m=[],L={mixins:j.DEFINE_MANY,statics:j.DEFINE_MANY,propTypes:j.DEFINE_MANY,contextTypes:j.DEFINE_MANY,childContextTypes:j.DEFINE_MANY,getDefaultProps:j.DEFINE_MANY_MERGED,getInitialState:j.DEFINE_MANY_MERGED,getChildContext:j.DEFINE_MANY_MERGED,render:j.DEFINE_ONCE,componentWillMount:j.DEFINE_MANY,componentDidMount:j.DEFINE_MANY,componentWillReceiveProps:j.DEFINE_MANY,shouldComponentUpdate:j.DEFINE_ONCE,componentWillUpdate:j.DEFINE_MANY,componentDidUpdate:j.DEFINE_MANY,componentWillUnmount:j.DEFINE_MANY,updateComponent:j.OVERRIDE_BASE},w={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)r(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=M({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=M({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=u(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=M({},t.propTypes,e)},statics:function(t,e){i(t,e)},autobind:function(){}},v={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},z=function(){};M(z.prototype,f.prototype,v);var b={createClass:function(t){var e=function t(e,n,o){this.__reactAutoBindPairs.length&&l(this),this.props=e,this.context=n,this.refs=y,this.updater=o||h,this.state=null;var r=this.getInitialState?this.getInitialState():null;"object"!==("undefined"==typeof r?"undefined":p(r))||Array.isArray(r)?d("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=r};e.prototype=new z,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],m.forEach(r.bind(null,e)),r(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:d("83");for(var n in L)e.prototype[n]||(e.prototype[n]=null);return e},injection:{injectMixin:function(t){m.push(t)}}};t.exports=b},function(t,e,n){"use strict";var o=n(7),r=n(215),i=n(112),a=n(33),u=n(17),s=n(116),c=n(246),l=n(122),p=n(250);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=s.getValue(t);null!=e&&r(this,Boolean(t.multiple),e)}}function r(t,e,n){var o,r,i=c.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=s.executeOnChange(e,t);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(o,this),n}var a=n(6),u=n(45),s=n(63),c=n(7),l=n(17),p=(n(5),!1),d={getHostProps:function(t,e){return a({},u.getHostProps(t,e),{onChange:t._wrapperState.onChange,value:void 0})},mountWrapper:function(t,e){var n=s.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||p||(p=!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=s.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=d},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(6),s=(n(2),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(210),i=n(254),a=n(131),u=n(132),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,u=a.type;i="React mount: "+("string"==typeof u?u:u.displayName||u.name),console.time(i)}var s=w.mountComponent(t,n,null,N(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&&D.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=y.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&&y.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),h=n(47),y=(n(24),n(7)),N=n(203),D=n(206),I=n(16),j=n(109),m=n(32),L=(n(15),n(219)),w=n(33),v=n(72),z=n(17),b=n(41),C=n(126),T=(n(2),n(50)),E=n(78),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};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"),I.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=I(Y,null,null,null,null,null,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;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 y=r(n),N=y&&!!i(y),D=c(n),j=N&&!l&&!D,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 y.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),y.precacheNode(n,e.firstChild)}};t.exports=Q},function(t,e,n){"use strict";var o=n(51),r=o({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});t.exports=r},function(t,e,n){"use strict";var o=n(4),r=n(16),i=(n(2),{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,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("Required "+c+" `"+u+"` was not specified in "+("`"+i+"`.")):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(!h(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 h(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(h);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(!h(n.value))return!1}else for(;!(n=o.next()).done;){var r=n.value;if(r&&!h(r[1]))return!1}return!0;default:return!1}}function y(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":y(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(16),L=n(69),w=n(71),v=n(13),z=n(123),b=(n(5),"<<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},function(t,e){"use strict";t.exports="15.3.2"},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(2);t.exports=o},function(t,e,n){"use strict";var o=!1;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(79));n(5);t.exports=r}).call(e,n(42))},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(114);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(){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(6),c=n(200),l=n(108),p=n(110),d=(n(2),n(5),function(t){this.construct(t)});s(d.prototype,c.Mixin,{_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";function o(t){return i.isValidElement(t)?void 0:r("143"),t}var r=n(4),i=n(16);n(2);t.exports=o},function(t,e,n){"use strict";var o=n(10),r=n(49),i=n(50),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){i(t,r(e))})),t.exports=a},function(t,e,n){"use strict";var o=n(13),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},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},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||y(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"===y(t,"src")?N(t,"syncStatus","error"):t})}e.__esModule=!0,e.debouncedRequestAvatar=void 0,e.requestAvatar=r;var s=n(12),c=n(19),l=n(147),p=o(l),d=n(311),M=o(d),f=n(3),g=o(f),h=(0,c.dataFns)(["avatar"]),y=h.tget,N=h.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(34),p=n(3),d=o(p),M=n(11),f=n(22),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(h,{label:n,current:i,clickHandler:this.handleLoginClick.bind(this)}),c.default.createElement(h,{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 h=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(91);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,h.List)());return o.find(u(n))||(0,h.Map)()}function a(t,e){return t.getIn(["client","strategies"],(0,h.List)()).find(u(e))||(0,h.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 y.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 h=n(9),y=o(h),N=n(19),D=n(52),I=n(27),j=(0,N.dataFns)(["client"]),m=j.initNS,L=j.get,w={username:{min:1,max:15}},v=y.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(144),p=r(l),d=n(3),M=o(d),f=n(54),g=n(52),h=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})}),h=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),h)},e}(c.default.Component);e.default=h,h.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},h.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(279),p=o(l),d=n(85),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+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0J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XBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik00OS45MzgsNy43NSBDNTguMDAxLDcuNzUgNjQuMDYzLDE0IDY0LjA2MywyMS43NSBDNjQuMDYzLDI5Ljg3NSA1Ny43NSwzNS42ODggNDkuOTM4LDM1LjY4O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hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iYmFpZHUiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC4xMjUsMjQgQzAuMDYyLDI0LjQzOCAwLDI0Ljg3NSAwLDI1LjMxMyBDMCwyNS45MzggMC4wNjMsMjYuNjI2IDAuMjUsMjc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y4zMTM5MzIgTDIyMy4xMTc3NDcsMjEyLjA1OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im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MC42ODggQzM4LjY4OCwzMC42ODggNDIuMDAxLDI3LjM3NSA0Mi4wMDEsMjMuMjUgQzQyLjAwMSwxOS4xODcgMzguNjg4LDE1LjgxMiAzNC41NjMsMTUuODEyIEMzMC40MzgsMTUuODEyIDI3LjEyNSwxOS4xODcgMjcuMTI1LDIzLjI1IEMyNy4xMjUsMjcuMzc1IDMwLjQzOCwzMC42ODggMzQuNTYzLDMwLjY4OCBMMzQuNTYzLDMwLjY4OCBaIE02My42ODgsMzEuNzUgTDYzLjY4OCwzMS44MTMgQzY0LjQzOCwzMi44NzYgNjQuMjUxLDM0LjM3NiA2My4xODgsMzUuMTg4IEM2Mi4wNjMsMzYuMDYzIDYwLjU2MywzNS44MTMgNTkuNjg4LDM0Ljc1IEw1NC4yNSwyNy40MzcgTDQ4Ljc1LDM0Ljc1IEM0Ny44NzUsMzUuODEzIDQ2LjM3NSwzNi4wNjMgNDUuMzEyLDM1LjE4OCBDNDQuMTg3LDM0LjM3NSA0My45OTksMzIuODc1IDQ0Ljc0OSwzMS44MTMgTDUxLjEyNCwyMy4yNSBMNDQuNzQ5LDE0Ljc1IEM0My45OTksMTMuNjg3IDQ0LjE4NiwxMi4xMjUgNDUuMzEyLDExLjMxMiBDNDYuMzc1LDEwLjQ5OSA0Ny44NzUsMTAuNzQ5IDQ4Ljc1LDExLjgxMiBMNTQuMjUsMTkuMTI1IEw1OS42ODgsMTEuODEyIEM2MC41NjMsMTAuNzQ5IDYyLjA2MywxMC40OTkgNjMuMTg4LDExLjMxMiBDNjQuMjUxLDEyLjEyNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url("data:image/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BNMTMuODc1LDQ5Ljg3NSBMMzIuOTM4LDYyLjYyNSBMMzIuOTM4LDM5Ljg3NSBMMzIuODc1LDM5LjgxMiBMMTkuODc1LDQ5Ljc1IEwxMy44NzUsNDYuMTg3IEwxMy44NzUsNDkuODc1IEwxMy44NzUsNDkuODc1IFogTTE0LjE4OCwyMy4yNSBMMzMuMTI2LDExLjY4NyBMNTEuOTM5LDIyLjU2MiBMMzMuMDAxLDM1LjA2MiBMMTQuMTg4LDIzLjI1IFogTTMyLjkzOCw2Mi42MjUgTDUyLjQzOCw0OS45MzcgTDUyLjQzOCw0NS44NzQgTDQ2LjA2Myw0OS43NDkgTDMzLjEyNSwzOS44MTEgTDMzLDM5Ljg3NCBMMzIuOTM4LDYyLjYyNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+ZHdvbGxhPC90aXRsZT4KICAgIDxk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QgQzMuODExLDEzLjQ5NCAyLjg3MywxNS40MzIgMi42MjMsMTcuODA3IEMxLjkzNSwyMi42ODIgMy45MzYsMjcuOTk1IDguNjIzLDMzLjYyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHd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LDcuNjI2IDY2LjQzOCw5LjQzOSA2Ni40MzgsMTEuODE0IEw2Ni40MzgsMTcuNjI3IEw2OS4xODgsMjMuMzE1IEw2OS4xODgsMzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Cjxzdmcgd2lkdGg9IjQzcHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQzIDMyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y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MMC4yMjMsMjAuMjE5IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); background-size: 30%; } .auth0-lock-social-button[data-provider^=facebook] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjM2cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDM2IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZmFjZWJvb2s8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0iZmFjZWJvb2siIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMC45MzgsMzUgTDEwLjc1MSwzNSBMMTAuNzUxLDY0LjYyNSBMMjMuMDY0LDY0LjYyNSBMMjMuMDY0LDM1IEwzNS4zNzcsMzUgTDM1LjM3NywyMi43NSBMMjMuMDY0LDIyLjc1IEwyMy4wNjQsMTYuNSBDMjMuMDY0LDE1LjQzNyAyMy4zMTQsMTQuNjI1IDIzLjgxNCwxMy44NzUgQzI0LjM3NywxMy4xODcgMjQuOTM5LDEyLjg3NSAyNS41NjQsMTIuODc1IEwzNS4zNzcsMTIuODc1IEwzNS4zNzcsMC42MjUgTDI1LjU2NCwwLjYyNSBDMjEuNDM5LDAuNjI1IDE4LjAwMSwyLjE4OCAxNS4xMjYsNS4zMTMgQzEyLjE4OCw4LjQzOCAxMC43NTEsMTIuMTg4IDEwLjc1MSwxNi42MjYgTDEwLjc1MSwyMi43NTEgTDAuOTM4LDIyLjc1MSBMMC45MzgsMzUuMDAxIEwwLjkzOCwzNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); background-size: 25%; } .auth0-lock-social-button[data-provider^=fitbit] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYwcHgiIGhlaWdodD0iNTlweCIgdmlld0JveD0iMCAwIDYwIDU5IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiA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NTYyLDE5LjI1IDI3LjUsMjEuMTg4IDI5LjkzNywyMS4xODggQzMyLjUsMjEuMTg4IDM0LjQzNywxOS4zMTMgMzQuNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Z2l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IyIDExLjkwNCwyOS4wMjYgQzExLjkwNCwzOC42MyAxOS42LDQ2LjQ2OCAyOS4wMzIsNDYuNDY4IEMzOS45NDgsNDYuNDY4IDQzLjk2NiwzOC45MTYgNDQuNzA2LDM0LjQ0IEwyOS4wMDIsMzQuNDQgTDI5LjAwMiwzNC40MTIgTDI5LjAwNCwzNC40MTQgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAg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DQyLjEyNiwzMy4xMjUgQzQyLjEyNiwzOC4yNSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ibGlua2VkaW4iIHNrZXRjaDp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IEw2Ny4wMDEsNjMuMzc2IEw1Mi43NTEsNjMuMzc2IEw1Mi43NTEsNDAuNTAxIEM1Mi43NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjw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QuMTI1LDQ2LjUgTDY0LjEyNSwzMi42ODcgTDY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2l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zYsNDUuODEzIEwyMi44NzYsNjQuNjg4IEw2LjM3Niw2NC42ODggTDYuMzc1LDY0LjY4OCBaIE0yMi44NzUsMjcuODc1IEwyNi4zNzUsMTIuMjUgTDM0LjM3NSwxMi4yNSBDMzUuNzUsMTIuMjUgMzYuOTM4LDEyLjYyNSAzNy45MzgsMTMuMzc1IEMzOC45MzgsMTQuMTI1IDM5LjYyNiwxNS4xMjUgMzkuOTM4LDE2LjM3NSBDMzkuMzEzLDE2LjI1IDM4LjkzOCwxNi4xODcgMzguODc1LDE2LjE4NyBMMzAuODc1LDE2LjE4NyBMMjguMTg3LDI3Ljg3NSBMMjIuODc0LDI3Ljg3NSBMMjIuODc1LDI3Ljg3NSBaIE0zMC44NzUsMjcuODEzIEwzMi43NSwxOS4zMTMgTDQwLjA2MywxOS4zMTMgQzQwLjA2MywxOS4zNzYgNDAuMDYzLDE5LjUwMSA0MCwxOS42ODggQzM5LjkzNywxOS44NzUgMzkuOTM3LDIwLjAwMSAzOS45MzcsMjAuMDYzIEMzOS40MzcsMjIuMTg4IDM4LjM3NCwyMy45MzggMzYuNTYyLDI1LjQzOCBDMzQuODEyLDI2LjkzOCAzMi44NzQsMjcuNzUxIDMwLjg3NCwyNy44MTMgTDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbn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ny4zNzgsMjMuMzExIEM0Ny41NjYsMjEuODExIDQ1LjM3OCwxOC44NzMgNDQuMTI4LDE4Ljg3MyBDNDMuNjksMTguODczIDQxLjM3OCwxOS45MzYgMzkuMDAzLDIxLjE4NiBMMzQuNzUzLDIzLjQ5OSBMMzQuNzUzLDE5LjI0OSBDMzQuNzUzLDEzLjgxMSAzNC40NCwxMy4zMTEgMzEuMTI4LDEzLjQ5OSBMMjguNjI4LDEzLjYyNCBMMjguMzc4LDE4LjQ5OSBMMjguMTI4LDIzLjQzNyBMMjQuMzc4LDIxLjEyNCBDMTkuNTAzLDE4LjI0OSAxOC41MDMsMTguMTg2IDE2LjY5LDIwLjk5OSBDMTUuMDAyLDIzLjQ5OSAxNS4xOSwyMy45OTkgMTguNTAzLDI1Ljg3NCBDMTkuODE2LDI2LjU2MiAyMS42MjgsMjcuNjI0IDIyLjYyOCwyOC4yNDkgTDI0LjM3OCwyOS4zNzQgTDIwLjMxNSwzMS44MTIgQzE4LjA2NSwzMy4xODcgMTYuMDAyLDM0LjU2MiAxNS43NTIsMzQuODc1IEMxNS4zMTQsMzUuMzc1IDE1LjUwMiwzNiAxNi41NjUsMzcuNjI1IEMxOC4zMTUsNDAuNDM4IDE5LjYyOCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0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ZnPg=="); } .auth0-lock-social-button[data-provider^=salesforce] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2FsZXNmb3JjZTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJzYWxlc2ZvcmNlIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAsMTUuODc1IEMwLDE2LjEyNSAwLjA2MywxNi41IDAuMTI1LDE3IEwxMC42MjUsNjEgQzEwLjg3NSw2Mi4wNjMgMTEuNDM4LDYyLjkzOCAxMi4zMTMsNjMuNjI1IEMxMy4xODgsNjQuMjUgMTQuMTg4LDY0LjYyNSAxNS4y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TY0LDM0Ljc1MSBDNTIuNTY0LDM3LjgxMyA1NC4wNjQsNDEuNjg5IDU0LjA2NCw0Ni40MzkgQzU0LjA2NCw0OS45MzkgNTMuMDY0LDUzLjE4OSA1MS4wNjQsNTYuMTg5IEw2MC4zNzcsNTQuMDAxIEM2MS40NCw1My43NTEgNjIuMzE1LDUzLjE4OCA2My4wMDIsNTIuMzEzIEM2My42ODksNTEuNDM4IDY0LjAwMiw1MC40MzggNjQuMDAyLDQ5LjM3NSBDNjQuMDAyLDQ5LjEyNSA2My45MzksNDguNzUgNjMuODc3LDQ4LjI1IEw1My4zNzcsNC4yNSBDNTMuMTI3LDMuMTg3IDUyLjU2NCwyLjMxMiA1MS42ODksMS42MjUgQzUwLjgxNCwwLjkzOCA0OS44MTQsMC42MjUgNDguNzUxLDAuNjI1IEM0OC4xODgsMC42MjUgNDcuMjUxLDAuNzUgNDYuMDYzLDEgQzQ0LjgxMywxLjI1IDQzLjMxMywxLjYyNSA0MS41LDIuMTg4IEMzOS42MjUsMi42ODggMzguNjg3LDIuOTM4IDM4LjU2MiwyLjkzOCBDNDIuNjg3LDMuNTYzIDQ2LjYyNSw0LjkzOCA1MC41LDYuOTM4IEw0Ni41NjIsMTcuODEzIEM0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg=="); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url("data:image/svg+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MyAyNC4xODgsNC40MzggTDI0LjE4OCw0LjQzOCBaIE0yOC4zNzUsMjIuNTYzIEMyOC4xMjUsMjIuMzEzIDI2LjUsMjIgMjQuODEyLDIxLjkzOCBDMTcuMzEyLDIxLjUgMTEuOTM3LDI2LjAwMSAxMS44NzQsMzIuODEzIEMxMS44NzQsMzUuOTM4IDEyLjgxMiwzNy44NzYgMTUuNDk5LDM5Ljg3NiBDMjEuMzEyLDQ0LjUwMSAxNy42ODcsNDkuMDY0IDExLjQ5OSw0NS4wMDEgQzEwLjEyNCw0NC4xMjYgMTAuMTI0LDQ0LjE4OCA5LjI0OSw0Ny4wMDEgQzguNTYxLDQ5LjI1MSA4LjU2MSw0OS4yNTEgOS45OTksNTAuNTAxIEMxMC44MTIsNTEuMTg5IDEyLjYyNCw1Mi4wMDEgMTQuMTI0LDUyLjQzOSBDMjAuNDM3LDU0LjMxNCAyNS41NjIsNTEuMDAxIDI2LjI0OSw0NC42MjYgQzI2LjY4Nyw0MC43NTEgMjUuMTI0LDM3LjkzOCAyMC43NDksMzQuNzUxIEMxOC42MjQsMzMuMTg4IDE4LjEyNCwzMi41NjMgMTguMTI0LDMxLjM3NiBDMTguMTI0LDI5LjMxMyAxOS45MzcsMjguMzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="); } .auth0-lock-social-button[data-provider^=soundcloud] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0i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Mi43NTIsMjAuNSA3MS4wMDIsMTguNTYyIEM2OS4yNTIsMTYuNjI0IDY3LjEyNywxNS42MjQgNjQuNjI3LDE1LjYyNCBDNjMuNTAyLDE1LjYyNCA2Mi4zMTQsMTUuOTM3IDYxLjEyNywxNi40OTkgQzYwLjc1MiwxMS45MzYgNTkuMDY0LDguMTI0IDU2LjAwMiw1LjA2MSBDNTIuOTM5LDEuOTM2IDQ5LjMxNCwwLjQzNiA0NS4xODksMC40MzYgQzQ0LjgxNCwwLjQzNiA0NC4yNTEsMC40MzYgNDMuNjI2LDAuNTYxIEM0Mi45MzgsMC42MjQgNDIuMTg4LDAuNzQ5IDQxLjQzOCwwLjg3NCBDNDAuNjI1LDEuMDYyIDM5Ljg3NSwxLjMxMiAzOS4zMTMsMS42MjQgQzM4Ljc1LDEuOTk5IDM4LjUsMi4zNzQgMzguNSwyLjc0OSBDMzguNSw1Ljg3NCAzOC40MzcsOS4xODcgMzguNDM3LDEyLjc0OSBMMzguNDM4LDEyLjc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDYxIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR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mi42ODcgNDYuNjI1LDM5LjMxMiBDNDksMzUuMTg3IDUxLjMxMywzMi42ODcgNTMuNTYzLDMxLjc0OSBMNTMuNTYzLDMxLjc1IFogTTYuOTM4LDQ0LjE4OCBMNi45MzgsNDQuMTg4IEMxMC4wMDEsNDMuMTI1IDEzLjg3Niw0My44NzUgMTguMDAxLDQ2LjUwMSBDMTkuODc2LDQ3LjU2NCAyMi4yNTEsNDguNTY0IDIzLjE4OSw0OC41NjQgQzI2LjM3Nyw0OC41NjQgMTguNzUxLDYxLjQzOSAxNC41NjQsNjMuMzE0IEM3LjUwMSw2Ni4yNTIgMC4wMDEsNjEuMjUxIDAuMDAxLDUzLjYyNiBDMC4wMDEsNTAuNTAxIDMuNjg5LDQ1LjM3NiA2LjkzOSw0NC4xODggTDYuOTM4LDQ0LjE4OCBaIE0zOS4zMTMsNTIgTDM5Ljg3Niw1MS42ODcgTDMyLjEyNiw2My4zMTIgTDU3LjU2NCw2My41NjIgTDU2LjUwMSw1OC40MzcgTDM5LjMxMyw1MiBaIE0yMC4xODgsNjIuODc1IEwxOS4zMTMsNjMuNDM4IEwyNi42MjYsNjMuNjI2IEwzNC41MDEsNTEuMTI2IEwyOC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iNTVweCIgdmlld0JveD0iMCAwIDY1IDU1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGx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Njg0IDQwLjk5OCwxMy42MjIgNDAuNTYxLDEzLjgwOSBDMzkuNTYxLDE0LjEyMiAzOC44MTEsMTUuMDU5IDM4LjEyMywxNS44MDkgQzM2LjQzNSwxNy41NTkgMzUuMDYsMTkuNTU5IDMzLjU2LDIxLjU1OSBDMzIuMTg1LDIzLjMwOSAzMC44MSwyNS4xMjIgMjkuMDYsMjYuNTU5IEMyOC40MzUsMjcuMDU5IDI3LjY4NSwyNy42ODQgMjYuODcyLDI3Ljc0NyBDMjYuMjQ3LDI3Ljc0NyAyNS42ODQsMjcuNjIyIDI1LjE4NCwyNy4zNzIgQzIzLjk5NiwyNi44NzIgMjMuMTIxLDI1Ljg3MiAyMi4zMDksMjQuOTk3IEMyMC44MDksMjMuMzcyIDE4LjkzNCwyMC42ODQgMTYuMzcxLDIxLjQ5NyBDMTQuNjIxLDIyLjEyMiAxMy4xODMsMjMuNjg1IDEyLjA1OCwyNS4xMjIgQzExLjM3LDI1Ljk5NyAxMC43NDUsMjYuOTM1IDEwLjE4MywyNy44NzIgQzkuNTU4LDI4LjgxIDguOTk1LDI5Ljc0NyA4LjM3LDMwLjY4NSBDNy4yNDUsMzIuNjIzIDYuMTIsMzQuNTYgNS4zNywzNi42ODUgQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=twitter] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijc5cHgiIGhlaWdodD0iNjVweCIg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LDUwLjYyNSAyMy45NCw1MC42ODggQzE4LjA2NSw1NS4zMTMgMTEuMzc3LDU3LjYyNiAzLjgxNSw1Ny42MjYgQzIuNTY1LDU3LjYyNiAxLjI1Miw1Ny41NjMgMC4wMDIsNTcuNDM4IEwwLDU3LjQzOCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0idmsiIHNrZXRjaDp0eXBlPSJNU0x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LjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N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gsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZ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1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0ieWFob28iIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCw3LjY4OCBMMCw3LjE4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U2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjUsMy41IEMwLjM3NSw0LjI1IDAuNSw0LjkzOCAwLjc1LDUuNjI1IEM1LjEyNSwxNi4zMT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MzUuNjI2IDM1LjgxMywzNS44MTMgQzM2LjEyNiwzNi40MzggMzYuNjI2LDM2Ljg3NiAzNy4xMjYsMzcuMzc2IEMzOS4wMDEsMzkuMTg5IDQxLjA2NCw0MC43NTEgNDMuMTI2LDQyLjMxNCBDNDUuMzc2LDQzLjkzOSA0Ny42ODksNDUuNTY0IDUwLjA2NCw0Ny4wNjQgQzUwLjc1Miw0Ny41NjQgNTEuNjg5LDQ3LjU2NCA1Mi41MDIsNDcuMjUyIEM1My42MjcsNDYuODc3IDU0LjUwMiw0NS43NTIgNTQuNTY1LDQ0LjUwMiBDNTQuNjI4LDQzLjM3NyA1NC4wMDIsNDIuMTI3IDUyLjk0LDQxLjYyNyBDNDkuMzE1LDM5Ljc1MiA0NS42MjcsMzcuOTM5IDQxLjgxNSwzNi40MzkgQzQwLjM3NywzNS44NzYgMzguODc3LDM1LjMxNCAzNy4zMTUsMzUuMDY0IEMzNi44MTUsMzUuMDAxIDM2LjM3NywzNC45MzkgMzUuOTQsMzUuMDY0IEwzNS45MzgsMzUuMDYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+"); } .auth0-lock-social-button[data-provider^=yandex] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI4cHgiIGhlaWdodD0iNjBweCIgdmlld0JveD0iMCAwIDI4IDYwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25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2IEwyNy40OTksMC42MjYgTDI3LjUsMC42MjUgWiBNMjIuNDM4LDMyLjU2MyBMMjIuNDM4LDUuNjg4IEwxOC41NjMsNS42ODggQzEzLjkzOCw1LjY4OCA5LjM3NSw5LjYyNiA5LjM3NSwxOS40MzggQzkuMzc1LDI4LjgxMyAxNC4yNSwzMi41NjMgMTkuMjUsMzIuNTYzIEwyMi40MzgsMzIuNTYzIEwyMi40MzgsMzIuNTYzIFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWx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NiwyNS44NzcgNjYuMzc4LDI1Ljg3NyBDNjYuNzUzLDI1Ljg3NyA2Ny4xMjgsMjUuNzUyIDY3LjUwMywyNS41NjQgQzY4LjEyOCwyNS4yNTEgNjguNTY2LDI0Ljc1MSA2OC43NTMsMjQuMDY0IEM2OS4xMjgsMjMuMDY0IDY5LjMxNiwyMi4wMDEgNjkuMzE2LDIxLjAwMSBDNjkuMzE2LDIwLjMxMyA2OS4yNTMsMTkuNjI2IDY5LjEyOCwxOC44NzYgQzY4LjY5LDE3LjA2MyA2Ny44NzgsMTUuNTAxIDY2LjY5LDE0LjA2MyBDNjQuNjI3LDExLjgxMyA2Mi4xOSwxMC42ODggNTkuMzE1LDEwLjY4OCBDNTguNTY1LDEwLjY4OCA1Ny43NTIsMTAuNzUxIDU2Ljk0LDEwLjkzOCBDNTYuMTksMTEuMTI2IDU1LjYyNywxMS41MDEgNTUuMjUyLDEyLjEyNiBDNTUuMDAyLDEyLjU2NCA1NC44NzcsMTMuMDAxIDU0Ljg3NywxMy40MzkgQzU0Ljg3NywxMy42ODkgNTQuOTQsMTMuODc3IDU0Ljk0LDE0LjA2NCBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My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41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-size: 38%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-text { box-sizing: border-box; display: block; overflow: hidden; width: 100%; padding-left: 54px; padding-right: 15px; line-height: 40px; text-align: left; text-transform: uppercase; text-overflow: ellipsis; font-size: 10px; font-weight: 600; letter-spacing: 0.7px; color: #fff; white-space: nowrap; transition: background 0.3s; -webkit-transition: background 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover .auth0-lock-social-button-text, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus .auth0-lock-social-button-text { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-terms { background: #eee; text-align: center; display: block; font-size: 12px; color: rgba(0,0,0,0.54); line-height: 22px; padding: 10px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-terms a { color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-submit { border: 0; padding: 14px; display: block; box-sizing: border-box; width: 100%; height: 70px; overflow: hidden; border-radius: 0 0 5px 5px; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; color: #fff; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; /*submit button animation*/ } .auth0-lock.auth0-lock .auth0-lock-submit span { display: inline-block; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit span svg { vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-submit span svg.icon-text { margin: -4px 0 0 5px; } .auth0-lock.auth0-lock .auth0-lock-submit .auth0-label-submit { height: 42px; line-height: 42px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-submit:hover:not([disabled]) span { -webkit-transform: scale(1.05); transform: scale(1.05); } } .auth0-lock.auth0-lock .auth0-lock-submit:focus { box-shadow: inset 0 0 100px 20px rgba(0,0,0,0.2); } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] { background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg circle, .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { stroke: rgba(255,255,255,0.6); -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { fill: rgba(255,255,255,0.6); } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter { opacity: 0; } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter.vslide-enter-active { opacity: 1; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-loading-container { position: relative; display: none; } .auth0-lock.auth0-lock .auth0-loading-container .auth0-loading { position: absolute; top: 4px; left: 44%; width: 30px; height: 30px; border-width: 2px; border-style: solid; border-color: rgba(0,0,0,0.4) rgba(0,0,0,0.4) rgba(0,0,0,0.2) rgba(0,0,0,0.2); opacity: 0.9; border-radius: 20px; -webkit-animation: rotate 1s linear infinite; animation: rotate 1s linear infinite; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit { background-color: #eee !important; -webkit-transition: background 0.5s ease; transition: background 0.5s ease; cursor: initial; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit span { -webkit-animation: fadeOutDownBig 1s both; animation: fadeOutDownBig 1s both; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-loading-container { -webkit-animation: fadeInDownBig 1s both; animation: fadeInDownBig 1s both; display: block; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-header-avatar { -webkit-animation: fadeOut 0.3s both; animation: fadeOut 0.3s both; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-terms, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-submit { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock .auth0-lock-select-country { background-color: #fff; position: absolute; padding: 0; font-size: 14px; color: #666; bottom: 0; top: 0; right: 0; left: 0; border-radius: 5px; overflow: hidden; z-index: 200; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-back-button { opacity: 1; visibility: visible; top: 19px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-search { background-color: #e3e5e9; padding: 10px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-wrap { margin: 0; border: none; margin-left: 40px; overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-icon { width: 16px; height: 16px; top: 12px; left: 9px; z-index: 1; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-search { border: none; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code { position: relative; height: calc(100% - 60px); overflow-y: scroll; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code ul { margin: 0; padding: 0; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { list-style: none; text-align: left; border-bottom: 1px solid #eee; cursor: pointer; color: #000; font-size: 14px; padding: 15px 20px; margin: 0; text-overflow: ellipsis; width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { padding: 10px 20px; } } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li.auth0-lock-list-code-highlighted { background-color: #2eb5ff; color: #fff; } .auth0-lock.auth0-lock .auth0-lock-confirmation { background-color: #fff; position: absolute; text-align: center; line-height: 2; font-size: 14px; color: #666; width: 100%; height: 100%; top: 0; left: 0; z-index: 200; border-radius: 5px; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-confirmation-content { width: 100%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); position: absolute; } .auth0-lock.auth0-lock .auth0-lock-confirmation p { padding: 0 14px; margin-bottom: 6px; } .auth0-lock.auth0-lock .auth0-lock-confirmation a { display: block; font-weight: 500; color: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg { width: 15px; height: 16px; margin-bottom: -4px; margin-left: 0px; display: inline-block; -webkit-transition: -webkit-transform 1s ease; transition: -webkit-transform 1s ease; transition: transform 1s ease; transition: transform 1s ease, -webkit-transform 1s ease; -webkit-transform: rotate(120deg); transform: rotate(120deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg path { fill: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a:hover svg { -webkit-transform: rotate(490deg); transform: rotate(490deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-label { color: #008000; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-failed-label { color: #f00; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10; stroke: #7ac142; fill: none; -webkit-animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark { width: 56px; height: 56px; border-radius: 50%; display: block; stroke-width: 2; stroke: #fff; stroke-miterlimit: 10; margin: 0 auto; box-shadow: inset 0px 0px 0px #7ac142; -webkit-animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__check { -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-back-button { opacity: 1; visibility: visible; } .auth0-lock.auth0-lock .auth0-lock-forgot-link { font-size: 12px; display: block; text-align: center; margin: 30px 0 0 0; color: #5c666f; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom { position: absolute; bottom: 15px; left: 15px; z-index: -1; text-align: center; padding: 6px 10px; border-radius: 3px; background: rgba(255,255,255,0.1); } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge { display: inline-block; color: rgba(255,255,255,0.7); font-size: 14px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge svg { vertical-align: middle; margin: 0 4px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge:hover svg g#LogoBadge { fill: #eb5424; fill-opacity: 1; } .auth0-lock.auth0-lock.auth0-lock-opened { opacity: 1; pointer-events: auto; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened { position: absolute; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { opacity: 0.9; -webkit-transition: opacity 0.3s ease-in 0s; transition: opacity 0.3s ease-in 0s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header { border-radius: 0; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-avatar { width: 70px; height: 70px; margin: 10px auto 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-firstname { margin-top: 72px; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); } @media (min-width: 481px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; box-shadow: 0 0 40px 4px #111118; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget-container { height: 100%; overflow-y: scroll; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-cred-pane { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-body-content { background: #fff; min-height: calc(100vh - 188px); display: table; width: 100%; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content { width: 100%; display: table-cell; vertical-align: middle; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content .auth0-lock-form p { font-size: 14px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-tabs-container { position: absolute; top: 0; left: 0; width: 100%; margin: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-terms { position: absolute; bottom: -42px; width: 100%; left: 0; box-sizing: border-box; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-sign-up-terms-agreement label input { top: 2px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-submit { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-badge-bottom { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-confirmation { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 256px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit .auth0-lock-body-content { min-height: calc(100vh - 118px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 186px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-terms .auth0-lock-body-content { margin-bottom: 42px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs .auth0-lock-body-content { min-height: calc(100vh - 228px); padding-top: 40px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-with-terms .auth0-lock-body-content { min-height: calc(100vh - 228px - 42px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 296px); } } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame { opacity: 1; pointer-events: auto; position: relative; width: auto; margin-left: auto; margin-right: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { opacity: 0.5; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; margin: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .global-error { position: absolute; display: none; } .auth0-lock .auth0-lock-form div.auth0-lock-pane-separator { padding-top: 15px; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content { opacity: 1; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content .auth0-lock-social-buttons-container { opacity: 0.3; } .auth0-lock.auth0-lock .auth0-lock-tabs-container { margin: -20px -20px 20px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-tabs { background: #fff; padding: 0; margin: 0; font-size: 13px; letter-spacing: 0.7px; box-shadow: 0 1px 0 0 rgba(92,102,111,0.2); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-line-pack: center; align-content: center; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; } .auth0-lock.auth0-lock .auth0-lock-tabs:after { content: ""; display: table; clear: both; } .auth0-lock.auth0-lock .auth0-lock-tabs li { width: 50%; display: block; list-style: none; float: left; padding: 0; margin: 0; text-align: center; cursor: pointer; } .auth0-lock.auth0-lock .auth0-lock-tabs li a { padding: 11px 10px; display: block; text-decoration: none; color: rgba(92,102,111,0.6); font-weight: 500; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current { box-shadow: 0 1px 0 0 #5c666f; cursor: default; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current a { color: #5c666f; } .auth0-lock-password-strength { width: 100%; bottom: 41px; display: block; text-align: left; padding-top: 0; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-transition: height 0.3s ease; transition: height 0.3s ease; } @media (min-width: 481px) { .auth0-lock-password-strength { position: absolute; background: #1f242e; box-shadow: 0 0 20px 0 rgba(0,0,0,0.5); -webkit-transition: none; transition: none; width: 100%; border-radius: 3px; z-index: 1000; } .auth0-lock-password-strength:after { top: 100%; left: 21px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-top-color: #1f242e; border-width: 9px; margin-left: -9px; } } .auth0-lock-password-strength.fadeOut { opacity: 0; -webkit-transition: 0.3s 0.3s ease; transition: 0.3s 0.3s ease; visibility: hidden; } .auth0-lock-password-strength.fadeIn ul { -webkit-animation: fadeIn 0.3s 0.1s both; animation: fadeIn 0.3s 0.1s both; } .auth0-lock-password-strength li, .auth0-lock-password-strength ul { margin: 0; padding: 0; list-style: none; color: #dd4b39; } .auth0-lock-password-strength > ul { padding: 15px; padding-top: 0; } @media (min-width: 481px) { .auth0-lock-password-strength > ul { padding-top: 12px; } } .auth0-lock-password-strength li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+RXJyb3I8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFzc3dvcmQtUG9saWN5IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJBcnRib2FyZC0xIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAwLjAwMDAwMCwgLTE0OC4wMDAwMDApIj4gICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTUwLjAwMDAwMCwgNzUuMDAwMDAwKSI+ICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNS4wMDAwMDAsIDM2LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkVycm9yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS4wMDAwMDAsIDM3LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgICAgIDxlbGxpcHNlIGlkPSJPdmFsLTkwIiBmaWxsPSIjQkU0NTI3IiBjeD0iNiIgY3k9IjYiIHJ4PSI2IiByeT0iNiI+PC9lbGxpcHNlPiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik05LDMuNjA0Mjg1NzEgTDguMzk1NzE0MjksMyBMNiw1LjM5NTcxNDI5IEwzLjYwNDI4NTcxLDMgTDMsMy42MDQyODU3MSBMNS4zOTU3MTQyOSw2IEwzLDguMzk1NzE0MjkgTDMuNjA0Mjg1NzEsOSBMNiw2LjYwNDI4NTcxIEw4LjM5NTcxNDI5LDkgTDksOC4zOTU3MTQyOSBMNi42MDQyODU3MSw2IEw5LDMuNjA0Mjg1NzEgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-position: left center; background-repeat: no-repeat; padding-left: 20px; } .auth0-lock-password-strength ul li ul { margin-left: 20px; } .auth0-lock-password-strength ul li ul li { color: #000; } @media (min-width: 481px) { .auth0-lock-password-strength ul li ul li { color: #fff; } } .auth0-lock-password-strength ul li ul li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+T3ZhbCAxPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iSXBob25lLTYtLS1OYXRpdmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00NC4wMDAwMDAsIC0yMTQuMDAwMDAwKSIgZmlsbD0iI0QwRDJEMyI+ICAgICAgICAgICAgPHBhdGggZD0iTTUwLjExNDk3MzMsMjI2IEM1My40Mjg2ODE4LDIyNiA1Ni4xMTQ5NzMzLDIyMy4zMTM3MDggNTYuMTE0OTczMywyMjAgQzU2LjExNDk3MzMsMjE2LjY4NjI5MiA1My40Mjg2ODE4LDIxNCA1MC4xMTQ5NzMzLDIxNCBDNDYuODAxMjY0OCwyMTQgNDQuMTE0OTczMywyMTYuNjg2MjkyIDQ0LjExNDk3MzMsMjIwIEM0NC4xMTQ5NzMzLDIyMy4zMTM3MDggNDYuODAxMjY0OCwyMjYgNTAuMTE0OTczMywyMjYgWiIgaWQ9Ik92YWwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+"); } .auth0-lock-password-strength li { line-height: 1.5; margin-top: 5px; font-size: 13px; -webkit-transition: color 0.3s ease-in; transition: color 0.3s ease-in; position: relative; } .auth0-lock-password-strength li.auth0-lock-checked { color: #7ed321; } .auth0-lock-password-strength li.auth0-lock-checked span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+R3JvdXAgNDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9IklwaG9uZS02LS0tTmF0aXZlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQuMDAwMDAwLCAtMjQwLjAwMDAwMCkiPiAgICAgICAgICAgIDxnIGlkPSJHcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NC4xMTQ5NzMsIDI0MC4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtOTAiIGZpbGw9IiM4MEQxMzUiIGN4PSI2IiBjeT0iNiIgcng9IjYiIHJ5PSI2Ij48L2VsbGlwc2U+ICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjU0MjM1MzYxLDcuNzMzNzgwNzYgTDIuNjQ1ODIxNDksNS44NjgwMDg5NSBMMiw2LjQ5ODg4MTQzIEw0LjU0MjM1MzYxLDkgTDEwLDMuNjMwODcyNDggTDkuMzU4NzI2NTUsMyBMNC41NDIzNTM2MSw3LjczMzc4MDc2IFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPiAgICAgICAgICAgIDwvZz4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg=="); } .auth0-lock-error-msg { color: #f00; font-size: 12px; margin-top: 5px; } @media (min-width: 481px) { .auth0-lock-error-msg { color: #000; background: #fff; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); margin: 0; border-radius: 3px; position: absolute; left: calc(100% + 7px); top: 1px; display: inline-table; } .auth0-lock-error-msg span { background: #fff; padding: 12px 15px; display: block; position: relative; border-radius: 3px; z-index: 1; } .auth0-lock-error-msg:after { content: ""; background: #fff; height: 6px; width: 6px; position: absolute; pointer-events: none; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); right: calc(100% - 3px); top: 50%; -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); } } .auth0-lock .auth0-loading-screen { min-height: 42px; } .auth0-lock .auth0-loading-screen .auth0-loading-container { display: block; } .auth0-lock .auth0-sso-notice-container { background: rgba(0,0,0,0.03); color: rgba(0,0,0,0.54); padding: 10px 0; margin: -20px -20px 20px; text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; } .auth0-lock .auth0-sso-notice-container .auth0-lock-icon { width: 12px; height: 14px; position: relative; top: 2px; right: 2px; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button.auth0-lock-social-big-button { margin-top: 0; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button[data-provider="auth0"] .auth0-lock-social-button-text { text-transform: none; font-size: 12px; font-weight: normal; } .auth0-lock .auth0-lock-sign-up-terms-agreement label input { margin-right: 5px; position: relative; } input[type="button"] { cursor: pointer; } ',g=function(t){ +function e(n,o,a){r(this,e);var s=i(this,t.call(this,n,o,a,M.default));return u(),s}return a(e,t),e}(p.default);e.default=g,g.version="10.6.0",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(19),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(298),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}(),h=t.navigator&&!!t.navigator.userAgent.match(/iPhone/i),y=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),y=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"),y&&(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"),h&&(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=y,y.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=y.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(35),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(95);t.exports=o,Object&&Object.create&&(o.prototype=Object.create(Error.prototype,{constructor:{value:o}}))},function(t,e,n){"use strict";var o=n(148),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,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){"use strict";function o(){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 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?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function u(){var t;try{t=e.storage.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(161),e.log=i,e.formatArgs=r,e.save=a,e.load=u,e.useColors=o,e.storage="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,"\\$&").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(96);t.exports={formats:i,parse:r,stringify:o}},function(t,e,n){"use strict";var o=n(97),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(97),i=n(96),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 h=Object.keys(M);g=c?h.sort(c):h}for(var y=0;y<g.length;++y){var N=g[y];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,h="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 y,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,y=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];y||(y=Object.keys(n)),f&&y.sort(f);for(var L=0;L<y.length;++L){var w=y[L];p&&null===n[w]||(I=I.concat(c(n[w],w,m,l,p,M,N,f,g,h,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__(315)}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,h&&(h=clearInterval(h)),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(y,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 h=setInterval(function(){g&&g.closed&&(a(),r&&(r("User closed the popup window"),r=null))},500),y=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,h=g&&g.prototype===t;a(l,function(e){h&&"constructor"===e||!r.call(t,e)||d.push(e)})}return d},t.exports=e}()},function(t,e){"use strict";t.exports={str:"7.4.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 h(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 y(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 y(D(t))}function j(t,e){return h(N(t),N(e))}function m(t,e){return y(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(82).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(44),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(44);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(44);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(196)},function(t,e,n){"use strict";var o=n(7),r=n(131),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 T.topCompositionStart:return E.compositionStart;case T.topCompositionEnd:return E.compositionEnd;case T.topCompositionUpdate:return E.compositionUpdate}}function a(t,e){return t===T.topKeyDown&&e.keyCode===m}function u(t,e){switch(t){case T.topKeyUp:return j.indexOf(e.keyCode)!==-1;case T.topKeyDown:return e.keyCode!==m;case T.topKeyPress:case T.topMouseDown:case T.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(L?r=i(t):S?u(t,n)&&(r=E.compositionEnd):a(t,n)&&(r=E.compositionStart),!r)return null;z&&(S||r!==E.compositionStart?r===E.compositionEnd&&S&&(c=S.getData()):S=y.getPooled(o));var l=N.getPooled(r,e,n,o);if(c)l.data=c;else{var p=s(n);null!==p&&(l.data=p)}return g.accumulateTwoPhaseDispatches(l),l}function l(t,e){switch(t){case T.topCompositionEnd:return s(e);case T.topKeyPress:var n=e.which;return n!==b?null:(k=!0,C);case T.topTextInput:var o=e.data;return o===C&&k?null:o;default:return null}}function p(t,e){if(S){if(t===T.topCompositionEnd||!L&&u(t,e)){var n=S.getData();return y.release(S),S=null,n}return null}switch(t){case T.topPaste:return null;case T.topKeyPress:return e.which&&!r(e)?String.fromCharCode(e.which):null;case T.topCompositionEnd:return z?null:e.data;default:return null}}function d(t,e,n,o){var r;if(r=v?l(t,n):p(t,n),!r)return null;var i=D.getPooled(E.beforeInput,e,n,o);return i.data=r,g.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(20),g=n(38),h=n(10),y=n(194),N=n(235),D=n(238),I=n(25),j=[9,13,27,32],m=229,L=h.canUseDOM&&"CompositionEvent"in window,w=null;h.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var v=h.canUseDOM&&"TextEvent"in window&&!w&&!o(),z=h.canUseDOM&&(!L||w&&w>8&&w<=11),b=32,C=String.fromCharCode(b),T=f.topLevelTypes,E={beforeInput:{phasedRegistrationNames:{bubbled:I({onBeforeInput:null}),captured:I({onBeforeInputCapture:null})},dependencies:[T.topCompositionEnd,T.topKeyPress,T.topTextInput,T.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:I({onCompositionEnd:null}),captured:I({onCompositionEndCapture:null})},dependencies:[T.topBlur,T.topCompositionEnd,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown] +},compositionStart:{phasedRegistrationNames:{bubbled:I({onCompositionStart:null}),captured:I({onCompositionStartCapture:null})},dependencies:[T.topBlur,T.topCompositionStart,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:I({onCompositionUpdate:null}),captured:I({onCompositionUpdateCapture:null})},dependencies:[T.topBlur,T.topCompositionUpdate,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]}},k=!1,S=null,x={eventTypes:E,extractEvents:function(t,e,n,o){return[c(t,e,n,o),d(t,e,n,o)]}};t.exports=x},function(t,e,n){"use strict";var o=n(100),r=n(10),i=(n(15),n(253),n(245)),a=n(260),u=n(263),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=w.getPooled(E.change,S,t,v(t));I.accumulateTwoPhaseDispatches(e),L.batchedUpdates(i,e)}function i(t){D.enqueueEvents(t),D.processEventQueue(!1)}function a(t,e){k=t,S=e,k.attachEvent("onchange",r)}function u(){k&&(k.detachEvent("onchange",r),k=null,S=null)}function s(t,e){if(t===T.topChange)return e}function c(t,e,n){t===T.topFocus?(u(),a(e,n)):t===T.topBlur&&u()}function l(t,e){k=t,S=e,x=t.value,O=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(k,"value",U),k.attachEvent?k.attachEvent("onpropertychange",d):k.addEventListener("propertychange",d,!1)}function p(){k&&(delete k.value,k.detachEvent?k.detachEvent("onpropertychange",d):k.removeEventListener("propertychange",d,!1),k=null,S=null,x=null,O=null)}function d(t){if("value"===t.propertyName){var e=t.srcElement.value;e!==x&&(x=e,r(t))}}function M(t,e){if(t===T.topInput)return e}function f(t,e,n){t===T.topFocus?(p(),l(e,n)):t===T.topBlur&&p()}function g(t,e){if((t===T.topSelectionChange||t===T.topKeyUp||t===T.topKeyDown)&&k&&k.value!==x)return x=k.value,S}function h(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function y(t,e){if(t===T.topClick)return e}var N=n(20),D=n(37),I=n(38),j=n(10),m=n(7),L=n(17),w=n(21),v=n(76),z=n(77),b=n(127),C=n(25),T=N.topLevelTypes,E={change:{phasedRegistrationNames:{bubbled:C({onChange:null}),captured:C({onChangeCapture:null})},dependencies:[T.topBlur,T.topChange,T.topClick,T.topFocus,T.topInput,T.topKeyDown,T.topKeyUp,T.topSelectionChange]}},k=null,S=null,x=null,O=null,A=!1;j.canUseDOM&&(A=z("change")&&(!document.documentMode||document.documentMode>8));var _=!1;j.canUseDOM&&(_=z("input")&&(!document.documentMode||document.documentMode>11));var U={get:function(){return O.get.call(this)},set:function(t){x=""+t,O.set.call(this,t)}},Y={eventTypes:E,extractEvents:function(t,e,n,r){var i,a,u=e?m.getNodeFromInstance(e):window;if(o(u)?A?i=s:a=c:b(u)?_?i=M:(i=g,a=f):h(u)&&(i=y),i){var l=i(t,e);if(l){var p=w.getPooled(E.change,l,n,r);return p.type="change",I.accumulateTwoPhaseDispatches(p),p}}a&&a(t,u,e)}};t.exports=Y},function(t,e,n){"use strict";var o=n(4),r=n(30),i=n(10),a=n(256),u=n(13),s=(n(2),{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,n){"use strict";var o=n(25),r=[o({ResponderEventPlugin:null}),o({SimpleEventPlugin:null}),o({TapEventPlugin:null}),o({EnterLeaveEventPlugin:null}),o({ChangeEventPlugin:null}),o({SelectEventPlugin:null}),o({BeforeInputEventPlugin:null})];t.exports=r},function(t,e,n){"use strict";var o=n(20),r=n(38),i=n(7),a=n(48),u=n(25),s=o.topLevelTypes,c={mouseEnter:{registrationName:u({onMouseEnter:null}),dependencies:[s.topMouseOut,s.topMouseOver]},mouseLeave:{registrationName:u({onMouseLeave:null}),dependencies:[s.topMouseOut,s.topMouseOver]}},l={eventTypes:c,extractEvents:function(t,e,n,o){if(t===s.topMouseOver&&(n.relatedTarget||n.fromElement))return null;if(t!==s.topMouseOut&&t!==s.topMouseOver)return null;var u;if(o.window===o)u=o;else{var l=o.ownerDocument;u=l?l.defaultView||l.parentWindow:window}var p,d;if(t===s.topMouseOut){p=e;var M=n.relatedTarget||n.toElement;d=M?i.getClosestInstanceFromNode(M):null}else p=null,d=e;if(p===d)return null;var f=null==p?u:i.getNodeFromInstance(p),g=null==d?u:i.getNodeFromInstance(d),h=a.getPooled(c.mouseLeave,p,n,o);h.type="mouseleave",h.target=f,h.relatedTarget=g;var y=a.getPooled(c.mouseEnter,d,n,o);return y.type="mouseenter",y.target=g,y.relatedTarget=f,r.accumulateEnterLeaveDispatches(h,y,p,d),[h,y]}};t.exports=l},function(t,e,n){"use strict";function o(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var r=n(6),i=n(23),a=n(124);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){"use strict";function o(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 r=n(6),i=n(46),a=n(229),u=n(197),s=i.createClass({displayName:"ReactCSSTransitionGroup",propTypes:{transitionName:u.propTypes.name,transitionAppear:i.PropTypes.bool,transitionEnter:i.PropTypes.bool,transitionLeave:i.PropTypes.bool,transitionAppearTimeout:o("Appear"),transitionEnterTimeout:o("Enter"),transitionLeaveTimeout:o("Leave")},getDefaultProps:function(){return{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0}},_wrapChild:function(t){return i.createElement(u,{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},t)},render:function(){return i.createElement(a,r({},this.props,{childFactory:this._wrapChild}))}});t.exports=s},function(t,e,n){"use strict";var o=n(46),r=n(105),i=n(251),a=n(228),u=n(128),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.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){(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(126),a=(n(62),n(78)),u=n(79),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 h=i(g,!0);e[d]=h;var y=r.mountComponent(h,u,s,c,l,p);n.push(y)}}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(42))},function(t,e,n){"use strict";var o=n(58),r=n(207),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(6),l=n(65),p=n(24),d=n(16),M=n(67),f=n(32),g=(n(15),n(114)),h=(n(70),n(33)),y=n(244),N=n(41),D=(n(2),n(81)),I=n(78),j=(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 m=1,L={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=m++,this._hostParent=e,this._hostContainerInfo=n;var l,p=this._currentElement.props,M=this._processContext(c),g=this._currentElement.type,h=t.getUpdateQueue(),y=i(g),D=this._constructComponent(y,p,M,h);y||null!=D&&null!=D.render?a(g)?this._compositeType=j.PureClass:this._compositeType=j.ImpureClass:(l=D,r(g,l),null===D||D===!1||d.isValidElement(D)?void 0:s("105",g.displayName||g.name||"Component"),D=new o(g),this._compositeType=j.StatelessFunctional);D.props=p,D.context=M,D.refs=N,D.updater=h,this._instance=D,f.set(D,this);var I=D.state;void 0===I&&(D.state=I=null),"object"!==("undefined"==typeof I?"undefined":u(I))||Array.isArray(I)?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(l,e,n,t,c):this.performInitialMount(l,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=h.mountComponent(s,o,e,n,this._processChildContext(r),a);return c},getHostNode:function(){return h.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&&(h.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 N;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){y(t,e,n,this.getName(),null,this._debugID)},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?h.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===j.PureClass&&(d=!D(c,l)||!D(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(I(o,r))h.receiveComponent(n,r,t,this._processChildContext(e));else{var a=h.getHostNode(n);h.unmountComponent(n,!1);var u=g.getType(r);this._renderedNodeType=u;var s=this._instantiateReactComponent(r,u!==g.EMPTY);this._renderedComponent=s;var c=h.mountComponent(s,t,this._hostParent,this._hostContainerInfo,this._processChildContext(e),i);this._replaceNodeWithMarkup(a,c,n)}},_replaceNodeWithMarkup:function(t,e,n){l.replaceNodeWithMarkup(t,e,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var t,e=this._instance;return t=e.render()},_renderValidatedComponent:function(){var t;if(this._compositeType!==j.StatelessFunctional){p.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{p.current=null}}else t=this._renderValidatedComponentWithoutOwnerOrContext();return null===t||t===!1||d.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===N?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===j.StatelessFunctional?null:t},_instantiateReactComponent:null},w={Mixin:L};t.exports=w},function(t,e,n){"use strict";var o=n(45),r={getHostProps:o.getHostProps};t.exports=r},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&&(K[t._tag]&&(null!=e.children||null!=e.dangerouslySetInnerHTML?h("137",t._tag,t._currentElement._owner?" Check the render method of "+t._currentElement._owner.getName()+".":""):void 0),null!=e.dangerouslySetInnerHTML&&(null!=e.children?h("60"):void 0,"object"===g(e.dangerouslySetInnerHTML)&&W in e.dangerouslySetInnerHTML?void 0:h("61")),null!=e.style&&"object"!==g(e.style)?h("62",o(t)):void 0)}function i(t,e,n,o){if(!(o instanceof _)){var r=t._hostContainerInfo,i=r._node&&r._node.nodeType===V,u=i?r._node:r._ownerDocument;R(e,u),o.getReactMountReady().enqueue(a,{inst:t,registrationName:e,listener:n})}}function a(){var t=this;v.putListener(t.inst,t.registrationName,t.listener)}function u(){var t=this;k.postMountWrapper(t)}function s(){var t=this;O.postMountWrapper(t)}function c(){var t=this;S.postMountWrapper(t)}function l(){var t=this;t._rootNodeID?void 0:h("63");var e=B(t);switch(e?void 0:h("64"),t._tag){case"iframe":case"object":t._wrapperState.listeners=[b.trapBubbledEvent(w.topLevelTypes.topLoad,"load",e)];break;case"video":case"audio":t._wrapperState.listeners=[];for(var n in J)J.hasOwnProperty(n)&&t._wrapperState.listeners.push(b.trapBubbledEvent(w.topLevelTypes[n],J[n],e));break;case"source":t._wrapperState.listeners=[b.trapBubbledEvent(w.topLevelTypes.topError,"error",e)];break;case"img":t._wrapperState.listeners=[b.trapBubbledEvent(w.topLevelTypes.topError,"error",e),b.trapBubbledEvent(w.topLevelTypes.topLoad,"load",e)];break;case"form":t._wrapperState.listeners=[b.trapBubbledEvent(w.topLevelTypes.topReset,"reset",e),b.trapBubbledEvent(w.topLevelTypes.topSubmit,"submit",e)];break;case"input":case"select":case"textarea":t._wrapperState.listeners=[b.trapBubbledEvent(w.topLevelTypes.topInvalid,"invalid",e)]}}function p(){x.postUpdateWrapper(this)}function d(t){et.call(tt,t)||($.test(t)?void 0:h("65",t),tt[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},h=n(4),y=n(6),N=n(187),D=n(189),I=n(30),j=n(59),m=n(31),L=n(102),w=n(20),v=n(37),z=n(60),b=n(47),C=n(201),T=n(106),E=n(7),k=n(208),S=n(209),x=n(107),O=n(212),A=(n(15),n(220)),_=n(225),U=(n(13),n(49)),Y=(n(2),n(77),n(25)),Q=(n(81),n(80),n(5),T),P=v.deleteListener,B=E.getNodeFromInstance,R=b.listenTo,G=z.registrationNameModules,Z={string:!0,number:!0},H=Y({style:null}),W=Y({__html:null}),F={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},V=11,J={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"},X={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},q={listing:!0,pre:!0,textarea:!0},K=y({menuitem:!0},X),$=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,tt={},et={}.hasOwnProperty,nt=1;f.displayName="ReactDOMComponent",f.Mixin={mountComponent:function(t,e,n,o){this._rootNodeID=nt++,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"button":i=C.getHostProps(this,i,e);break;case"input":k.mountWrapper(this,i,e),i=k.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"option":S.mountWrapper(this,i,e),i=S.getHostProps(this,i);break;case"select":x.mountWrapper(this,i,e),i=x.getHostProps(this,i),t.getReactMountReady().enqueue(l,this);break;case"textarea":O.mountWrapper(this,i,e),i=O.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"),h=this._currentElement.type;g.innerHTML="<"+h+"></"+h+">",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);E.precacheNode(this,M),this._flags|=Q.hasCachedChildNodes,this._hostParent||L.setAttributeForRoot(M),this._updateDOMProperties(null,i,t);var y=I(M);this._createInitialChildren(t,i,o,y),d=y}else{var D=this._createOpenTagMarkupAndPutListeners(t,i),m=this._createContentMarkup(t,i,o);d=!m&&X[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(G.hasOwnProperty(o))r&&i(this,o,r,t);else{o===H&&(r&&(r=this._previousStyleCopy=y({},e.style)),r=D.createMarkupForStyles(r,this));var a=null;null!=this._tag&&M(this._tag,e)?F.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=Z[g(e.children)]?e.children:null,a=null!=i?null:e.children;if(null!=i)o=U(i);else if(null!=a){var u=this.mountChildren(a,t,n);o=u.join("")}}return q[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=Z[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"button":i=C.getHostProps(this,i),a=C.getHostProps(this,a);break;case"input":i=k.getHostProps(this,i),a=k.getHostProps(this,a);break;case"option":i=S.getHostProps(this,i),a=S.getHostProps(this,a);break;case"select":i=x.getHostProps(this,i),a=x.getHostProps(this,a);break;case"textarea":i=O.getHostProps(this,i),a=O.getHostProps(this,a)}switch(r(this,a),this._updateDOMProperties(i,a,t),this._updateDOMChildren(i,a,t,o),this._tag){case"input":k.updateWrapper(this);break;case"textarea":O.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===H){var u=this._previousStyleCopy;for(r in u)u.hasOwnProperty(r)&&(a=a||{},a[r]="");this._previousStyleCopy=null}else G.hasOwnProperty(o)?t[o]&&P(this,o):M(this._tag,t)?F.hasOwnProperty(o)||L.deleteValueForAttribute(B(this),o):(m.properties[o]||m.isCustomAttribute(o))&&L.deleteValueForProperty(B(this),o);for(o in e){var s=e[o],c=o===H?this._previousStyleCopy:null!=t?t[o]:void 0;if(e.hasOwnProperty(o)&&s!==c&&(null!=s||null!=c))if(o===H)if(s?s=this._previousStyleCopy=y({},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(G.hasOwnProperty(o))s?i(this,o,s,n):c&&P(this,o);else if(M(this._tag,e))F.hasOwnProperty(o)||L.setValueForAttribute(B(this),o,s);else if(m.properties[o]||m.isCustomAttribute(o)){var l=B(this);null!=s?L.setValueForProperty(l,o,s):L.deleteValueForProperty(l,o)}}a&&D.setValueForStyles(B(this),a,this)},_updateDOMChildren:function(t,e,n,o){var r=Z[g(t.children)]?t.children:null,i=Z[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 B(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":h("66",this._tag)}this.unmountChildren(t),E.uncacheNode(this),v.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return B(this)}},y(f.prototype,f.Mixin,A.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(80),9);t.exports=o},function(t,e,n){"use strict";var o=n(6),r=n(30),i=n(7),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,n){"use strict";var o=n(16),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){"use strict";var n={useCreateElement:!0};t.exports=n},function(t,e,n){"use strict";var o=n(58),r=n(7),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&&d.updateWrapper(this)}function r(t){var e=this._currentElement.props,n=c.executeOnChange(e,t);p.asap(o,this);var r=e.name;if("radio"===e.type&&null!=r){for(var a=l.getNodeFromInstance(this),u=a;u.parentNode;)u=u.parentNode;for(var s=u.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),d=0;d<s.length;d++){var M=s[d];if(M!==a&&M.form===a.form){var f=l.getInstanceFromNode(M);f?void 0:i("90"),p.asap(o,f)}}}return n}var i=n(4),a=n(6),u=n(45),s=n(102),c=n(63),l=n(7),p=n(17),d=(n(2),n(5),{getHostProps:function(t,e){var n=c.getValue(e),o=c.getChecked(e),r=a({type:void 0,step:void 0,min:void 0,max:void 0},u.getHostProps(t,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&&s.setValueForProperty(l.getNodeFromInstance(t),"checked",n||!1);var o=l.getNodeFromInstance(t),r=c.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=l.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=d},function(t,e,n){"use strict";function o(t){var e="";return i.forEach(t,function(t){null!=t&&("string"==typeof t||"number"==typeof t?e+=t:s||(s=!0))}),e}var r=n(6),i=n(103),a=n(7),u=n(107),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(248),l=n(124),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(6),i=n(58),a=n(30),u=n(7),s=n(49),c=(n(2),n(80),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&&p.updateWrapper(this)}function r(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);return l.asap(o,this),n}var i=n(4),a=n(6),u=n(45),s=n(63),c=n(7),l=n(17),p=(n(2),n(5),{getHostProps:function(t,e){null!=e.dangerouslySetInnerHTML?i("91"):void 0;var n=a({},u.getHostProps(t,e),{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange});return n},mountWrapper:function(t,e){var n=s.getValue(e),o=n;if(null==n){var a=e.defaultValue,u=e.children;null!=u&&(null!=a?i("92"):void 0,Array.isArray(u)&&(u.length<=1?void 0:i("93"),u=u[0]),a=""+u),null==a&&(a=""),o=a}t._wrapperState={initialValue:""+o,listeners:null,onChange:r.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=c.getNodeFromInstance(t),o=s.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=c.getNodeFromInstance(t);e.value=e.textContent}});t.exports=p},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],!1,n);for(r=0;r<o.length;r++)e(o[r],!0,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],!0,r);for(c=s.length;c-- >0;)n(s[c],!1,i)}var s=n(4);n(2);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(6),i=n(17),a=n(40),u=n(13),s={initialize:u,close:function(){d.isBatchingUpdates=!1}},c={initialize:u,close:i.flushBatchedUpdates.bind(i)},l=[c,s];r(o.prototype,a.Mixin,{getTransactionWrappers:function(){return l}});var p=new o,d={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,o,r,i){var a=d.isBatchingUpdates;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(){m||(m=!0,y.EventEmitter.injectReactEventListener(h),y.EventPluginHub.injectEventPluginOrder(a),y.EventPluginUtils.injectComponentTree(p),y.EventPluginUtils.injectTreeTraversal(M),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:j,EnterLeaveEventPlugin:u,ChangeEventPlugin:i,SelectEventPlugin:I,BeforeInputEventPlugin:r}),y.HostComponent.injectGenericComponentClass(l),y.HostComponent.injectTextComponentClass(f),y.DOMProperty.injectDOMPropertyConfig(s),y.DOMProperty.injectDOMPropertyConfig(D),y.EmptyComponent.injectEmptyComponentFactory(function(t){return new d(t)}),y.Updates.injectReconcileTransaction(N),y.Updates.injectBatchingStrategy(g),y.Component.injectEnvironment(c))}var r=n(188),i=n(190),a=n(192),u=n(193),s=n(195),c=n(199),l=n(202),p=n(7),d=n(204),M=n(213),f=n(211),g=n(214),h=n(217),y=n(218),N=n(223),D=n(230),I=n(231),j=n(232),m=!1;t.exports={inject:o}},function(t,e,n){"use strict";function o(t){r.enqueueEvents(t),r.processEventQueue(!1)}var r=n(37),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(6),s=n(130),c=n(10),l=n(23),p=n(7),d=n(17),M=n(76),f=n(258);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){var o=n;return o?s.listen(o,e,g.dispatchEvent.bind(null,t)):null},trapCapturedEvent:function(t,e,n){var o=n;return o?s.capture(o,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(37),i=n(61),a=n(65),u=n(104),s=n(108),c=n(47),l=n(110),p=n(17),d={Component:a.injection,Class:u.injection,DOMProperty:o.injection,EmptyComponent:s.injection,EventPluginHub:r.injection,EventPluginUtils:i.injection,EventEmitter:c.injection,HostComponent:l.injection,Updates:p.injection};t.exports=d},function(t,e,n){"use strict";var o=n(243),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:d.INSERT_MARKUP,content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function r(t,e,n){return{type:d.MOVE_EXISTING,content:null,fromIndex:t._mountIndex,fromNode:M.getHostNode(t),toIndex:n,afterNode:e}}function i(t,e){return{type:d.REMOVE_NODE,content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:d.SET_MARKUP,content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t){return{type:d.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(65),d=(n(32),n(15),n(113)),M=(n(24),n(33)),f=n(198),g=(n(13),n(120)),h=(n(2),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return f.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,o,r,i){var a,u=0;return a=g(e,u),f.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=M.mountComponent(u,e,this,this._hostContainerInfo,n,s);u._mountIndex=i++,r.push(c)}return r},updateTextContent:function(t){var e=this._renderedChildren;f.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;f.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,d=0,f=0,g=null;for(u in a)if(a.hasOwnProperty(u)){var h=o&&o[u],y=a[u];h===y?(l=s(l,this.moveChild(h,g,p,d)),d=Math.max(h._mountIndex,d),h._mountIndex=p):(h&&(d=Math.max(h._mountIndex,d)),l=s(l,this._mountChildAtIndex(y,i[f],g,p,e,n)),f++),p++,g=M.getHostNode(y)}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;f.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=h},function(t,e,n){"use strict";var o=n(4),r=(n(2),{isValidOwner:function(t){return!(!t||"function"!=typeof t.attachRef||"function"!=typeof t.detachRef)},addComponentAsRefTo:function(t,e,n){r.isValidOwner(n)?void 0:o("119"),n.attachRef(e,t)},removeComponentAsRefFrom:function(t,e,n){r.isValidOwner(n)?void 0:o("120");var i=n.getPublicInstance();i&&i.refs[e]===t.getPublicInstance()&&n.detachRef(e)}});t.exports=r},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(6),a=n(64),u=n(68),s=n(41);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";function o(t){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=t}var r=n(6),i=n(101),a=n(23),u=n(47),s=n(111),c=(n(15),n(40)),l=n(72),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.Mixin,g),a.addPoolingTo(o),t.exports=o},function(t,e,n){"use strict";function o(t,e,n){"function"==typeof t?t(e.getPublicInstance()):i.addComponentAsRefTo(e,t,n)}function r(t,e,n){"function"==typeof t?t(null):i.removeComponentAsRefFrom(e,t,n)}var i=n(221),a={};a.attachRefs=function(t,e){if(null!==e&&e!==!1){var n=e.ref;null!=n&&o(n,t,e._owner)}},a.shouldUpdateRefs=function(t,e){var n=null===t||t===!1,o=null===e||e===!1;return n||o||e.ref!==t.ref||"string"==typeof e.ref&&e._owner!==t._owner},a.detachRefs=function(t,e){if(null!==e&&e!==!1){var n=e.ref;null!=n&&r(n,t,e._owner)}},t.exports=a},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(6),i=n(23),a=n(40),u=(n(15),n(226)),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.Mixin,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(72),a=(n(40),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,n){"use strict";var o=n(120),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(10),u=n(125),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";var o=n(6),r=n(46),i=(n(32),n(227)),a=n(13),u=r.createClass({displayName:"ReactTransitionGroup",propTypes:{component:r.PropTypes.any,childFactory:r.PropTypes.func},getDefaultProps:function(){return{component:"span",childFactory:a.thatReturnsArgument}},getInitialState:function(){return{children:i.getChildMapping(this.props.children)}},componentWillMount:function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},componentDidMount:function(){var t=this.state.children;for(var e in t)t[e]&&this.performAppear(e)},componentWillReceiveProps:function(t){var e;e=i.getChildMapping(t.children);var n=this.state.children;this.setState({children:i.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 a=e&&e.hasOwnProperty(o);!n[o]||a||this.currentlyTransitioningKeys[o]||this.keysToLeave.push(o)}},componentDidUpdate:function(){var t=this.keysToEnter;this.keysToEnter=[],t.forEach(this.performEnter);var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)},performAppear:function(t){this.currentlyTransitioningKeys[t]=!0;var e=this.refs[t];e.componentWillAppear?e.componentWillAppear(this._handleDoneAppearing.bind(this,t)):this._handleDoneAppearing(t)},_handleDoneAppearing:function(t){var e=this.refs[t];e.componentDidAppear&&e.componentDidAppear(),delete this.currentlyTransitioningKeys[t];var n;n=i.getChildMapping(this.props.children),n&&n.hasOwnProperty(t)||this.performLeave(t)},performEnter:function(t){this.currentlyTransitioningKeys[t]=!0;var e=this.refs[t];e.componentWillEnter?e.componentWillEnter(this._handleDoneEntering.bind(this,t)):this._handleDoneEntering(t)},_handleDoneEntering:function(t){var e=this.refs[t];e.componentDidEnter&&e.componentDidEnter(),delete this.currentlyTransitioningKeys[t];var n;n=i.getChildMapping(this.props.children),n&&n.hasOwnProperty(t)||this.performLeave(t)},performLeave:function(t){this.currentlyTransitioningKeys[t]=!0;var e=this.refs[t];e.componentWillLeave?e.componentWillLeave(this._handleDoneLeaving.bind(this,t)):this._handleDoneLeaving(t)},_handleDoneLeaving:function(t){var e=this.refs[t];e.componentDidLeave&&e.componentDidLeave(),delete this.currentlyTransitioningKeys[t];var n;n=i.getChildMapping(this.props.children),n&&n.hasOwnProperty(t)?this.performEnter(t):this.setState(function(e){var n=o({},e.children);return delete n[t],{children:n}})},render:function(){var t=[];for(var e in this.state.children){var n=this.state.children[e];n&&t.push(r.cloneElement(this.props.childFactory(n),{ref:e,key:e}))}var i=o({},this.props);return delete i.transitionLeave,delete i.transitionName,delete i.transitionAppear,delete i.transitionEnter,delete i.childFactory,delete i.transitionLeaveTimeout,delete i.transitionEnterTimeout,delete i.transitionAppearTimeout,delete i.component,r.createElement(this.props.component,i,t)}});t.exports=u},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&&c.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(j||null==N||N!==p())return null;var n=o(N);if(!I||!f(I,n)){I=n;var r=l.getPooled(y.select,D,t,e);return r.type="select",r.target=N,a.accumulateTwoPhaseDispatches(r),r}return null}var i=n(20),a=n(38),u=n(10),s=n(7),c=n(111),l=n(21),p=n(132),d=n(127),M=n(25),f=n(81),g=i.topLevelTypes,h=u.canUseDOM&&"documentMode"in document&&document.documentMode<=11,y={select:{phasedRegistrationNames:{bubbled:M({onSelect:null}),captured:M({onSelectCapture:null})},dependencies:[g.topBlur,g.topContextMenu,g.topFocus,g.topKeyDown,g.topKeyUp,g.topMouseDown,g.topMouseUp,g.topSelectionChange]}},N=null,D=null,I=null,j=!1,m=!1,L=M({onSelect:null}),w={eventTypes:y,extractEvents:function(t,e,n,o){if(!m)return null;var i=e?s.getNodeFromInstance(e):window;switch(t){case g.topFocus:(d(i)||"true"===i.contentEditable)&&(N=i,D=e,I=null);break;case g.topBlur:N=null,D=null,I=null;break;case g.topMouseDown:j=!0;break;case g.topContextMenu:case g.topMouseUp:return j=!1,r(n,o);case g.topSelectionChange:if(h)break;case g.topKeyDown:case g.topKeyUp:return r(n,o)}return null},didPutListener:function(t,e,n){e===L&&(m=!0)}};t.exports=w},function(t,e,n){"use strict";function o(t){return"."+t._rootNodeID}var r=n(4),i=n(20),a=n(130),u=n(38),s=n(7),c=n(233),l=n(234),p=n(21),d=n(237),M=n(239),f=n(48),g=n(236),h=n(240),y=n(241),N=n(39),D=n(242),I=n(13),j=n(74),m=(n(2),n(25)),L=i.topLevelTypes,w={abort:{phasedRegistrationNames:{bubbled:m({onAbort:!0}),captured:m({onAbortCapture:!0})}},animationEnd:{phasedRegistrationNames:{bubbled:m({onAnimationEnd:!0}),captured:m({onAnimationEndCapture:!0})}},animationIteration:{phasedRegistrationNames:{bubbled:m({onAnimationIteration:!0}),captured:m({onAnimationIterationCapture:!0})}},animationStart:{phasedRegistrationNames:{bubbled:m({onAnimationStart:!0}),captured:m({onAnimationStartCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:m({onBlur:!0}),captured:m({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:m({onCanPlay:!0}),captured:m({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:m({onCanPlayThrough:!0}),captured:m({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:m({onClick:!0}),captured:m({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:m({onContextMenu:!0}),captured:m({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{ +bubbled:m({onCopy:!0}),captured:m({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:m({onCut:!0}),captured:m({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:m({onDoubleClick:!0}),captured:m({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:m({onDrag:!0}),captured:m({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:m({onDragEnd:!0}),captured:m({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:m({onDragEnter:!0}),captured:m({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:m({onDragExit:!0}),captured:m({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:m({onDragLeave:!0}),captured:m({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:m({onDragOver:!0}),captured:m({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:m({onDragStart:!0}),captured:m({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:m({onDrop:!0}),captured:m({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:m({onDurationChange:!0}),captured:m({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:m({onEmptied:!0}),captured:m({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:m({onEncrypted:!0}),captured:m({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:m({onEnded:!0}),captured:m({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:m({onError:!0}),captured:m({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:m({onFocus:!0}),captured:m({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:m({onInput:!0}),captured:m({onInputCapture:!0})}},invalid:{phasedRegistrationNames:{bubbled:m({onInvalid:!0}),captured:m({onInvalidCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:m({onKeyDown:!0}),captured:m({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:m({onKeyPress:!0}),captured:m({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:m({onKeyUp:!0}),captured:m({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:m({onLoad:!0}),captured:m({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:m({onLoadedData:!0}),captured:m({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:m({onLoadedMetadata:!0}),captured:m({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:m({onLoadStart:!0}),captured:m({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:m({onMouseDown:!0}),captured:m({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:m({onMouseMove:!0}),captured:m({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:m({onMouseOut:!0}),captured:m({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:m({onMouseOver:!0}),captured:m({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:m({onMouseUp:!0}),captured:m({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:m({onPaste:!0}),captured:m({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:m({onPause:!0}),captured:m({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:m({onPlay:!0}),captured:m({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:m({onPlaying:!0}),captured:m({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:m({onProgress:!0}),captured:m({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:m({onRateChange:!0}),captured:m({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:m({onReset:!0}),captured:m({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:m({onScroll:!0}),captured:m({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:m({onSeeked:!0}),captured:m({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:m({onSeeking:!0}),captured:m({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:m({onStalled:!0}),captured:m({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:m({onSubmit:!0}),captured:m({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:m({onSuspend:!0}),captured:m({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:m({onTimeUpdate:!0}),captured:m({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:m({onTouchCancel:!0}),captured:m({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:m({onTouchEnd:!0}),captured:m({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:m({onTouchMove:!0}),captured:m({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:m({onTouchStart:!0}),captured:m({onTouchStartCapture:!0})}},transitionEnd:{phasedRegistrationNames:{bubbled:m({onTransitionEnd:!0}),captured:m({onTransitionEndCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:m({onVolumeChange:!0}),captured:m({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:m({onWaiting:!0}),captured:m({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:m({onWheel:!0}),captured:m({onWheelCapture:!0})}}},v={topAbort:w.abort,topAnimationEnd:w.animationEnd,topAnimationIteration:w.animationIteration,topAnimationStart:w.animationStart,topBlur:w.blur,topCanPlay:w.canPlay,topCanPlayThrough:w.canPlayThrough,topClick:w.click,topContextMenu:w.contextMenu,topCopy:w.copy,topCut:w.cut,topDoubleClick:w.doubleClick,topDrag:w.drag,topDragEnd:w.dragEnd,topDragEnter:w.dragEnter,topDragExit:w.dragExit,topDragLeave:w.dragLeave,topDragOver:w.dragOver,topDragStart:w.dragStart,topDrop:w.drop,topDurationChange:w.durationChange,topEmptied:w.emptied,topEncrypted:w.encrypted,topEnded:w.ended,topError:w.error,topFocus:w.focus,topInput:w.input,topInvalid:w.invalid,topKeyDown:w.keyDown,topKeyPress:w.keyPress,topKeyUp:w.keyUp,topLoad:w.load,topLoadedData:w.loadedData,topLoadedMetadata:w.loadedMetadata,topLoadStart:w.loadStart,topMouseDown:w.mouseDown,topMouseMove:w.mouseMove,topMouseOut:w.mouseOut,topMouseOver:w.mouseOver,topMouseUp:w.mouseUp,topPaste:w.paste,topPause:w.pause,topPlay:w.play,topPlaying:w.playing,topProgress:w.progress,topRateChange:w.rateChange,topReset:w.reset,topScroll:w.scroll,topSeeked:w.seeked,topSeeking:w.seeking,topStalled:w.stalled,topSubmit:w.submit,topSuspend:w.suspend,topTimeUpdate:w.timeUpdate,topTouchCancel:w.touchCancel,topTouchEnd:w.touchEnd,topTouchMove:w.touchMove,topTouchStart:w.touchStart,topTransitionEnd:w.transitionEnd,topVolumeChange:w.volumeChange,topWaiting:w.waiting,topWheel:w.wheel};for(var z in v)v[z].dependencies=[z];var b=m({onClick:null}),C={},T={eventTypes:w,extractEvents:function(t,e,n,o){var i=v[t];if(!i)return null;var a;switch(t){case L.topAbort:case L.topCanPlay:case L.topCanPlayThrough:case L.topDurationChange:case L.topEmptied:case L.topEncrypted:case L.topEnded:case L.topError:case L.topInput:case L.topInvalid:case L.topLoad:case L.topLoadedData:case L.topLoadedMetadata:case L.topLoadStart:case L.topPause:case L.topPlay:case L.topPlaying:case L.topProgress:case L.topRateChange:case L.topReset:case L.topSeeked:case L.topSeeking:case L.topStalled:case L.topSubmit:case L.topSuspend:case L.topTimeUpdate:case L.topVolumeChange:case L.topWaiting:a=p;break;case L.topKeyPress:if(0===j(n))return null;case L.topKeyDown:case L.topKeyUp:a=M;break;case L.topBlur:case L.topFocus:a=d;break;case L.topClick:if(2===n.button)return null;case L.topContextMenu:case L.topDoubleClick:case L.topMouseDown:case L.topMouseMove:case L.topMouseOut:case L.topMouseOver:case L.topMouseUp:a=f;break;case L.topDrag:case L.topDragEnd:case L.topDragEnter:case L.topDragExit:case L.topDragLeave:case L.topDragOver:case L.topDragStart:case L.topDrop:a=g;break;case L.topTouchCancel:case L.topTouchEnd:case L.topTouchMove:case L.topTouchStart:a=h;break;case L.topAnimationEnd:case L.topAnimationIteration:case L.topAnimationStart:a=c;break;case L.topTransitionEnd:a=y;break;case L.topScroll:a=N;break;case L.topWheel:a=D;break;case L.topCopy:case L.topCut:case L.topPaste:a=l}a?void 0:r("86",t);var s=a.getPooled(i,e,n,o);return u.accumulateTwoPhaseDispatches(s),s},didPutListener:function(t,e,n){if(e===b){var r=o(t),i=s.getNodeFromInstance(t);C[r]||(C[r]=a.listen(i,"click",I))}},willDeleteListener:function(t,e){if(e===b){var n=o(t);C[n].remove(),delete C[n]}}};t.exports=T},function(t,e,n){"use strict";function o(t,e,n,o){return r.call(this,t,e,n,o)}var r=n(21),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(21),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(21),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(39),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(21),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(39),i=n(74),a=n(247),u=n(75),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(39),i=n(75),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(21),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){(function(e){"use strict";function o(t,e,n,o,s,c){for(var l in t)if(t.hasOwnProperty(l)){var p;try{"function"!=typeof t[l]?r("84",o||"React class",i[n],l):void 0,p=t[l](e,l,o,n,null,a)}catch(t){p=t}if(p instanceof Error&&!(p.message in u)){u[p.message]=!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},n(4)),i=n(69),a=n(71),u=(n(2),n(5),{});t.exports=o}).call(e,n(42))},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(100),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(24),n(7)),a=n(32),u=n(122);n(2),n(5);t.exports=o},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(74),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},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(49);t.exports=o},function(t,e,n){"use strict";var o=n(112);t.exports=o.renderSubtreeIntoContainer},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(2),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},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(252),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(262);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(2);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(255),u=n(257),s=n(2),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(2),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(259),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(261);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},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(26),l=o(c),p=n(313),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(86),p=r(l),d=n(89),M=r(d),f=n(87),g=r(f),h=n(34),y=n(11),N=n(3),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,h.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,h=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,y.hasScreen)(i,"forgotPassword")?c.default.createElement("p",{className:"auth0-lock-alternative"},c.default.createElement("a",{className:"auth0-lock-alternative-link",href:(0,y.forgotPasswordLink)(i,"#"),onClick:(0,y.forgotPasswordLink)(i)?void 0:this.handleDontRememberPasswordClick.bind(this)},n)):null;return c.default.createElement("div",null,h,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(292),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(90),d=r(p),M=n(22),f=n(3),g=o(f),h=n(14),y=o(h),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,y.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(18),p=r(l),d=n(272),M=r(d),f=n(11),g=n(34),h=n(270),y=n(14),N=o(y),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,h.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(86),p=r(l),d=n(3),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,h.shouldAutoLogin)(t)?l.default.createElement(D,e):null}e.__esModule=!0,e.renderSignedUpConfirmation=s;var c=n(1),l=r(c),p=n(90),d=r(p),M=n(22),f=n(3),g=o(f),h=n(11),y=n(14),N=o(y),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(89),p=r(l),d=n(87),M=r(d),f=n(3),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(18),p=r(l),d=n(28),M=n(275),f=r(M),g=n(83),h=n(27),y=n(14),N=o(y),D=function(t){var e,n=t.i18n,o=t.model,r=(0,h.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,h.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(18),p=r(l),d=n(92),M=r(d),f=n(54),g=n(28),h=n(3),y=o(h),N=n(27),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)(y.id(n))},buttonLabel:e.str("windowsAuthLabel"),buttonClickHandler:function(t){return(0,f.logIn)(y.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(18),d=r(p),M=n(92),f=r(M),g=n(54),h=n(28),y=n(3),N=o(y),D=n(27),I=function(t){var e=t.i18n,n=t.model,o=e.html("enterpriseLoginIntructions")||null,r=o&&l.default.createElement("p",null,o);return l.default.createElement(f.default,{buttonLabel:e.str("loginAtLabel",(0,D.quickAuthConnection)(n).getIn(["domains",0])),buttonClickHandler:function(t){return(0,g.logIn)(N.id(n),(0,D.quickAuthConnection)(n))},header:r,strategy:s((0,D.quickAuthConnection)(n).get("strategy"))})},j=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,h.renderSignedInConfirmation)(t)},e.prototype.render=function(){return I},e}(d.default);e.default=j},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(264),l=n(12),p=n(297),d=n(53),M=r(d),f=n(22),g=n(11),h=n(3),y=o(h),N=n(8),D=(o(N),n(312)),I=o(D),j=n(14),m=o(j),L=n(43),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,[y.id(t)].concat(n))}:o},n=y.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(y.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:y.ui.autofocus(t),backHandler:e(r,"backHandler"),badgeLink:"https://auth0.com/?utm_source=lock&utm_campaign=badge&utm_medium=widget",closeHandler:y.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,[y.id(t)].concat(n))}:void 0,contentComponent:r.render(),contentProps:{i18n:a,model:t},disableSubmitButton:i,error:y.globalError(t),isMobile:y.ui.mobile(t),isModal:y.ui.appendContainer(t),isSubmitting:y.submitting(t),logo:y.ui.logo(t),primaryColor:y.ui.primaryColor(t),screenName:r.name,showBadge:y.showBadge(t)===!0,success:y.globalSuccess(t),submitButtonLabel:y.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)(y.ui.containerID(t),u),c.oldScreenName&&c.oldScreenName==r.name||("main.login"===r.name?y.emitEvent(t,"signin ready"):"main.signUp"===r.name&&y.emitEvent(t,"signup ready")),c.oldScreenName=r.name}else(0,p.remove)(y.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.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,e,n){(0,a.load)({method:"setClient",url:e+"/client/"+t+".js?t"+ +new Date,check:function(e){return e&&e.id===t},cb:n})}function i(t,e){return t=(0,c.initClient)(t,e),t=s.filterConnections(t),t=s.runHook(t,"didReceiveClientSettings")}e.__esModule=!0,e.fetchClientSettings=r,e.syncClientSettingsSuccess=i;var a=n(93),u=n(3),s=o(u),c=n(136)},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(18),p=r(l),d=n(3),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(18),p=r(l),d=n(22),M=n(3),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 h},e}(p.default);e.default=g;var h=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);h.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(280),c=n(286),l=n(284),p=n(3),d=o(p),M=n(27),f=n(43),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(310),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(18),d=r(p),M=n(92),f=r(M),g=n(54),h=n(138),y=n(3),N=o(y),D=n(28),I=n(52),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,h.lastUsedConnection)(n),(0,h.lastUsedUsername)(n))};return l.default.createElement(f.default,{alternativeLabel:e.str("notYourAccountAction"),alternativeClickHandler:function(){return(0,g.skipQuickAuth)(N.id(n))},buttonLabel:(0,h.lastUsedUsername)(n),buttonClickHandler:i,header:r,strategy:s((0,h.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(93),u=n(3),s=o(u),c=n(84)},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(18),d=r(p),M=n(140),f=r(M),g=n(268),h=r(g),y=n(137),N=r(y),D=n(11),I=n(34),j=n(28),m=n(134),L=r(m),w=n(3),v=o(w),z=n(8),b=(o(z),n(29),n(83)),C=n(27),T=n(135),E=r(T),k=n(85),S=n(14),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)?"usernameOrEmailInputPlaceholder":"usernameInputPlaceholder",M=(o||v.hasSomeConnections(n,"database")||v.hasSomeConnections(n,"enterprise"))&&l.default.createElement(h.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:(0,D.databaseUsernameStyle)(n)}),g=o&&l.default.createElement(E.default,null,e.str("ssoEnabled")),y=a&&M&&l.default.createElement(N.default,null);return l.default.createElement("div",null,g,i,a,y,M)},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(18),p=r(l),d=n(269),M=r(d),f=n(14),g=o(f),h=n(34),y=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,h.logIn)(t,!0)}},e.prototype.render=function(){return D},e.prototype.backHandler=function(t){return(0,y.hasScreen)(t,"login")?h.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(86),l=o(c),p=n(87),d=o(p),M=n(89),f=o(M),g=n(11),h=n(291),y=o(h),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),h=!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(y.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}),h,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(18),p=r(l),d=n(11),M=n(273),f=r(M),g=n(34),h=n(134),y=r(h),N=n(28),D=n(274),I=n(289),j=r(I),m=n(140),L=r(m),w=n(8),v=n(3),z=o(v),b=n(137),C=r(b),T=n(85),E=n(135),k=r(E),S=n(83),x=n(14),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(y.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(139),c=n(8),l=n(145),p=r(l),d=n(306),M=r(d),f=n(3),g=o(f),h=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=h},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(304),p=r(l),d=n(8),M=o(d),f=n(12),g=n(3),h=o(g),y=n(293),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",h.id(e),y.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,y.getMFACodeValidation)().length),isValid:!M.isFieldVisiblyInvalid(n,"mfa_code"),onChange:this.handleChange.bind(this),placeholder:o,disabled:h.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(26)),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(308),u=o(a),s=n(139);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(99),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(36),s=o(u),c=n(98),l=o(c),p=n(143),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(36),d=o(p),M=n(186),f=o(M),g=n(302),h=o(g),y=n(300),N=o(y),D=n(301),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,y=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(h.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)))),y&&l.default.createElement("small",{className:"auth0-lock-terms"},y)))))),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(36),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(36),l=o(c),p=n(98),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(35),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:"text",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(35),d=o(p),M=n(91),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(99),p=o(l),d=n(82),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(h,u({},t,{key:e}))})):null},e}(c.default.Component);g.propTypes={items:c.default.PropTypes.arrayOf(c.default.PropTypes.object)};var h=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);h.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(35),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(35),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(36),p=r(l),d=n(55),M=n(145),f=r(M),g=(n(146),n(94)),h=o(g),y=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 h.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:y(n,o)});break;case"ArrowUp":t.preventDefault(),this.setState({highlighted:y(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){}])}); +//# 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..b92c6a817 --- /dev/null +++ b/build/lock.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///lock.min.js","webpack:///webpack/bootstrap cd8bef8e85458695d4c5","webpack:///./src/browser.js","webpack:///./~/react/react.js","webpack:///./~/react/~/fbjs/lib/invariant.js","webpack:///./src/core/index.js","webpack:///./~/react/lib/reactProdInvariant.js","webpack:///./~/react/~/fbjs/lib/warning.js","webpack:///./~/react/~/object-assign/index.js","webpack:///./~/react/lib/ReactDOMComponentTree.js","webpack:///./src/field/index.js","webpack:///./~/immutable/dist/immutable.js","webpack:///./~/react/~/fbjs/lib/ExecutionEnvironment.js","webpack:///./src/connection/database/index.js","webpack:///./src/store/index.js","webpack:///./~/react/~/fbjs/lib/emptyFunction.js","webpack:///./src/i18n.js","webpack:///./~/react/lib/ReactInstrumentation.js","webpack:///./~/react/lib/ReactElement.js","webpack:///./~/react/lib/ReactUpdates.js","webpack:///./src/core/screen.js","webpack:///./src/utils/data_utils.js","webpack:///./~/react/lib/EventConstants.js","webpack:///./~/react/lib/SyntheticEvent.js","webpack:///./src/core/actions.js","webpack:///./~/react/lib/PooledClass.js","webpack:///./~/react/lib/ReactCurrentOwner.js","webpack:///./~/react/~/fbjs/lib/keyOf.js","webpack:///./~/trim/index.js","webpack:///./src/connection/enterprise.js","webpack:///./src/core/signed_in_confirmation.jsx","webpack:///./src/field/email.js","webpack:///./~/react/lib/DOMLazyTree.js","webpack:///./~/react/lib/DOMProperty.js","webpack:///./~/react/lib/ReactInstanceMap.js","webpack:///./~/react/lib/ReactReconciler.js","webpack:///./src/connection/database/actions.js","webpack:///./src/ui/input/input_wrap.jsx","webpack:///./~/react-dom/index.js","webpack:///./~/react/lib/EventPluginHub.js","webpack:///./~/react/lib/EventPropagators.js","webpack:///./~/react/lib/SyntheticUIEvent.js","webpack:///./~/react/lib/Transaction.js","webpack:///./~/react/~/fbjs/lib/emptyObject.js","webpack:///(webpack)/~/node-libs-browser/~/process/browser.js","webpack:///./src/sync.js","webpack:///./~/password-sheriff/~/underscore/underscore.js","webpack:///./~/react/lib/DisabledInputUtils.js","webpack:///./~/react/lib/React.js","webpack:///./~/react/lib/ReactBrowserEventEmitter.js","webpack:///./~/react/lib/SyntheticMouseEvent.js","webpack:///./~/react/lib/escapeTextContentForBrowser.js","webpack:///./~/react/lib/setInnerHTML.js","webpack:///./~/react/~/fbjs/lib/keyMirror.js","webpack:///./src/connection/social/index.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/lib/DOMChildrenOperations.js","webpack:///./~/react/lib/DOMNamespaces.js","webpack:///./~/react/lib/EventPluginRegistry.js","webpack:///./~/react/lib/EventPluginUtils.js","webpack:///./~/react/lib/KeyEscapeUtils.js","webpack:///./~/react/lib/LinkedValueUtils.js","webpack:///./~/react/lib/ReactComponent.js","webpack:///./~/react/lib/ReactComponentEnvironment.js","webpack:///./~/react/lib/ReactComponentTreeHook.js","webpack:///./~/react/lib/ReactErrorUtils.js","webpack:///./~/react/lib/ReactNoopUpdateQueue.js","webpack:///./~/react/lib/ReactPropTypeLocationNames.js","webpack:///./~/react/lib/ReactPropTypeLocations.js","webpack:///./~/react/lib/ReactPropTypesSecret.js","webpack:///./~/react/lib/ReactUpdateQueue.js","webpack:///./~/react/lib/createMicrosoftUnsafeLocalFunction.js","webpack:///./~/react/lib/getEventCharCode.js","webpack:///./~/react/lib/getEventModifierState.js","webpack:///./~/react/lib/getEventTarget.js","webpack:///./~/react/lib/isEventSupported.js","webpack:///./~/react/lib/shouldUpdateReactComponent.js","webpack:///./~/react/lib/traverseAllChildren.js","webpack:///./~/react/lib/validateDOMNesting.js","webpack:///./~/react/~/fbjs/lib/shallowEqual.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/lib/CSSProperty.js","webpack:///./~/react/lib/CallbackQueue.js","webpack:///./~/react/lib/DOMPropertyOperations.js","webpack:///./~/react/lib/ReactChildren.js","webpack:///./~/react/lib/ReactClass.js","webpack:///./~/react/lib/ReactDOM.js","webpack:///./~/react/lib/ReactDOMComponentFlags.js","webpack:///./~/react/lib/ReactDOMSelect.js","webpack:///./~/react/lib/ReactEmptyComponent.js","webpack:///./~/react/lib/ReactFeatureFlags.js","webpack:///./~/react/lib/ReactHostComponent.js","webpack:///./~/react/lib/ReactInputSelection.js","webpack:///./~/react/lib/ReactMount.js","webpack:///./~/react/lib/ReactMultiChildUpdateTypes.js","webpack:///./~/react/lib/ReactNodeTypes.js","webpack:///./~/react/lib/ReactPropTypes.js","webpack:///./~/react/lib/ReactVersion.js","webpack:///./~/react/lib/ViewportMetrics.js","webpack:///./~/react/lib/accumulateInto.js","webpack:///./~/react/lib/canDefineProperty.js","webpack:///./~/react/lib/flattenChildren.js","webpack:///./~/react/lib/forEachAccumulated.js","webpack:///./~/react/lib/getHostComponentFromComposite.js","webpack:///./~/react/lib/getIteratorFn.js","webpack:///./~/react/lib/getTextContentAccessor.js","webpack:///./~/react/lib/getVendorPrefixedEventName.js","webpack:///./~/react/lib/instantiateReactComponent.js","webpack:///./~/react/lib/isTextInputElement.js","webpack:///./~/react/lib/onlyChild.js","webpack:///./~/react/lib/setTextContent.js","webpack:///./~/react/~/fbjs/lib/EventListener.js","webpack:///./~/react/~/fbjs/lib/focusNode.js","webpack:///./~/react/~/fbjs/lib/getActiveElement.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/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/lib/AutoFocusUtils.js","webpack:///./~/react/lib/BeforeInputEventPlugin.js","webpack:///./~/react/lib/CSSPropertyOperations.js","webpack:///./~/react/lib/ChangeEventPlugin.js","webpack:///./~/react/lib/Danger.js","webpack:///./~/react/lib/DefaultEventPluginOrder.js","webpack:///./~/react/lib/EnterLeaveEventPlugin.js","webpack:///./~/react/lib/FallbackCompositionState.js","webpack:///./~/react/lib/HTMLDOMPropertyConfig.js","webpack:///./~/react/lib/ReactCSSTransitionGroup.js","webpack:///./~/react/lib/ReactCSSTransitionGroupChild.js","webpack:///./~/react/lib/ReactChildReconciler.js","webpack:///./~/react/lib/ReactComponentBrowserEnvironment.js","webpack:///./~/react/lib/ReactCompositeComponent.js","webpack:///./~/react/lib/ReactDOMButton.js","webpack:///./~/react/lib/ReactDOMComponent.js","webpack:///./~/react/lib/ReactDOMContainerInfo.js","webpack:///./~/react/lib/ReactDOMEmptyComponent.js","webpack:///./~/react/lib/ReactDOMFactories.js","webpack:///./~/react/lib/ReactDOMFeatureFlags.js","webpack:///./~/react/lib/ReactDOMIDOperations.js","webpack:///./~/react/lib/ReactDOMInput.js","webpack:///./~/react/lib/ReactDOMOption.js","webpack:///./~/react/lib/ReactDOMSelection.js","webpack:///./~/react/lib/ReactDOMTextComponent.js","webpack:///./~/react/lib/ReactDOMTextarea.js","webpack:///./~/react/lib/ReactDOMTreeTraversal.js","webpack:///./~/react/lib/ReactDefaultBatchingStrategy.js","webpack:///./~/react/lib/ReactDefaultInjection.js","webpack:///./~/react/lib/ReactEventEmitterMixin.js","webpack:///./~/react/lib/ReactEventListener.js","webpack:///./~/react/lib/ReactInjection.js","webpack:///./~/react/lib/ReactMarkupChecksum.js","webpack:///./~/react/lib/ReactMultiChild.js","webpack:///./~/react/lib/ReactOwner.js","webpack:///./~/react/lib/ReactPureComponent.js","webpack:///./~/react/lib/ReactReconcileTransaction.js","webpack:///./~/react/lib/ReactRef.js","webpack:///./~/react/lib/ReactServerRenderingTransaction.js","webpack:///./~/react/lib/ReactServerUpdateQueue.js","webpack:///./~/react/lib/ReactTransitionChildMapping.js","webpack:///./~/react/lib/ReactTransitionEvents.js","webpack:///./~/react/lib/ReactTransitionGroup.js","webpack:///./~/react/lib/SVGDOMPropertyConfig.js","webpack:///./~/react/lib/SelectEventPlugin.js","webpack:///./~/react/lib/SimpleEventPlugin.js","webpack:///./~/react/lib/SyntheticAnimationEvent.js","webpack:///./~/react/lib/SyntheticClipboardEvent.js","webpack:///./~/react/lib/SyntheticCompositionEvent.js","webpack:///./~/react/lib/SyntheticDragEvent.js","webpack:///./~/react/lib/SyntheticFocusEvent.js","webpack:///./~/react/lib/SyntheticInputEvent.js","webpack:///./~/react/lib/SyntheticKeyboardEvent.js","webpack:///./~/react/lib/SyntheticTouchEvent.js","webpack:///./~/react/lib/SyntheticTransitionEvent.js","webpack:///./~/react/lib/SyntheticWheelEvent.js","webpack:///./~/react/lib/adler32.js","webpack:///./~/react/lib/checkReactTypeSpec.js","webpack:///./~/react/lib/dangerousStyleValue.js","webpack:///./~/react/lib/findDOMNode.js","webpack:///./~/react/lib/getEventKey.js","webpack:///./~/react/lib/getNodeForCharacterOffset.js","webpack:///./~/react/lib/quoteAttributeValueForBrowser.js","webpack:///./~/react/lib/renderSubtreeIntoContainer.js","webpack:///./~/react/~/fbjs/lib/CSSCore.js","webpack:///./~/react/~/fbjs/lib/camelize.js","webpack:///./~/react/~/fbjs/lib/camelizeStyleName.js","webpack:///./~/react/~/fbjs/lib/containsNode.js","webpack:///./~/react/~/fbjs/lib/createArrayFromMixed.js","webpack:///./~/react/~/fbjs/lib/createNodesFromMarkup.js","webpack:///./~/react/~/fbjs/lib/getMarkupWrap.js","webpack:///./~/react/~/fbjs/lib/getUnboundedScrollPosition.js","webpack:///./~/react/~/fbjs/lib/hyphenate.js","webpack:///./~/react/~/fbjs/lib/hyphenateStyleName.js","webpack:///./~/react/~/fbjs/lib/isNode.js","webpack:///./~/react/~/fbjs/lib/isTextNode.js","webpack:///./~/react/~/fbjs/lib/memoizeStringOnly.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"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","global","_interopRequireDefault","obj","__esModule","default","_index","_index2","window","Auth0Lock","invariant","condition","format","a","b","d","e","f","error","undefined","Error","args","argIndex","replace","name","framesToPop","_interopRequireWildcard","newObj","key","Object","prototype","hasOwnProperty","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","arguments","length","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","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","concat","hasOneConnection","count","getIn","hasOnlyConnections","all","_len3","_key3","filtered","hasSomeConnections","_len4","_key4","findConnection","find","m1","hasConnection","filterConnections","allowed","order","_","clientConnections","map","cs","sort","c1","c2","runHook","_len5","_key5","apply","emitEvent","_len6","_key6","setTimeout","hadListener","Function","bind","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","_i18n","_trim","_gravatar_provider","_data_utils","_dataFns","dataFns","remove","_dataFns2","getUI","_dataFns3","tgetUI","getUIAttribute","attribute","lock","_dataFns4","getAuthAttribute","reactProdInvariant","argCount","message","argIdx","encodeURIComponent","emptyFunction","warning","toObject","val","TypeError","shouldUseNative","assign","test1","String","getOwnPropertyNames","test2","i","fromCharCode","order2","n","join","test3","forEach","letter","keys","propIsEnumerable","propertyIsEnumerable","target","source","from","symbols","to","s","getOwnPropertySymbols","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","nodeValue","_prodInvariant","getClosestInstanceFromNode","parents","push","parentNode","closest","pop","getInstanceFromNode","getNodeFromInstance","_hostParent","DOMProperty","ReactDOMComponentFlags","ID_ATTRIBUTE_NAME","Math","random","toString","slice","ReactDOMComponentTree","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__","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","fn","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","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","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","makeEmptyFunction","arg","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsNull","thatReturnsThis","thatReturnsArgument","_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","hasValidRef","config","hasValidKey","_assign","ReactCurrentOwner","REACT_ELEMENT_TYPE","RESERVED_PROPS","__self","__source","ReactElement","self","props","element","$$typeof","_owner","propName","childrenLength","childArray","defaultProps","current","createFactory","cloneAndReplaceKey","oldElement","newKey","newElement","_self","_source","cloneElement","isValidElement","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","getName","time","ReactReconciler","performUpdateIfNecessary","timeEnd","j","enqueue","getPublicInstance","enqueueUpdate","isBatchingUpdates","_updateBatchNumber","asap","asapCallbackQueue","asapEnqueued","PooledClass","Transaction","NESTED_UPDATES","initialize","close","flushBatchedUpdates","UPDATE_QUEUEING","notifyAll","TRANSACTION_WRAPPERS","Mixin","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","keyMirror","PropagationPhases","bubbled","captured","topLevelTypes","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","topInvalid","topKeyDown","topKeyPress","topKeyUp","topLoad","topLoadedData","topLoadedMetadata","topLoadStart","topMouseDown","topMouseMove","topMouseOut","topMouseOver","topMouseUp","topPaste","topPause","topPlay","topPlaying","topProgress","topRateChange","topReset","topScroll","topSeeked","topSeeking","topSelectionChange","topStalled","topSubmit","topSuspend","topTextInput","topTimeUpdate","topTouchCancel","topTouchEnd","topTouchMove","topTouchStart","topTransitionEnd","topVolumeChange","topWaiting","topWheel","EventConstants","SyntheticEvent","dispatchConfig","targetInst","nativeEvent","nativeEventTarget","_targetInst","Interface","normalize","defaultPrevented","isDefaultPrevented","isPropagationStopped","shouldBeReleasedProperties","Proxy","EventInterface","currentTarget","eventPhase","bubbles","cancelable","timeStamp","event","Date","now","isTrusted","preventDefault","stopPropagation","cancelBubble","persist","isPersistent","augmentClass","Class","Super","E","fourArgumentPooler","process","setupLock","_remote_data","syncRemoteData","_preload_utils","img","_container","_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","oneArgumentPooler","copyFieldsFrom","Klass","instancePool","twoArgumentPooler","a1","a2","threeArgumentPooler","a3","a4","fiveArgumentPooler","a5","standardReleaser","poolSize","DEFAULT_POOL_SIZE","DEFAULT_POOLER","CopyConstructor","pooler","NewKlass","oneKeyObj","trim","initEnterprise","processOptions","defaultEnterpriseConnection","defaultEnterpriseConnectionName","findADConnectionWithoutDomain","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","_possibleConstructorReturn","ReferenceError","_inherits","subClass","setPrototypeOf","__proto__","renderSignedInConfirmation","closeHandler","_actions","SignedInConfirmation","_success_pane","_success_pane2","_React$Component","handleClose","_props","Component","propTypes","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","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","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","upwards","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","transactionWrappers","wrapperInitData","_isInTransaction","isInTransaction","errorThrown","ret","initializeAll","closeAll","startIndex","wrapper","OBSERVED_ERROR","initData","emptyObject","defaultSetTimout","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","clearTimeout","cleanUpNextTick","draining","currentQueue","queueIndex","drainQueue","timeout","run","Item","noop","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","cwd","chdir","dir","umask","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","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","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","disableableMouseListenerNames","onClick","onDoubleClick","onMouseDown","onMouseMove","onMouseUp","onClickCapture","onDoubleClickCapture","onMouseDownCapture","onMouseMoveCapture","onMouseUpCapture","DisabledInputUtils","getHostProps","disabled","hostProps","ReactChildren","ReactComponent","ReactPureComponent","ReactClass","ReactDOMFactories","ReactPropTypes","ReactVersion","onlyChild","__spread","React","Children","only","PureComponent","createMixin","DOM","getListeningForDocument","mountAt","topListenersIDKey","reactTopListenersCounter","alreadyListeningTo","hasEventPageXY","ReactEventEmitterMixin","ViewportMetrics","getVendorPrefixedEventName","isEventSupported","isMonitoringScrollValue","topEventMapping","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","escapeHtml","matchHtmlRegExp","lastIndex","substring","escapeTextContentForBrowser","reusableSVGContainer","WHITESPACE_TEST","NONVISIBLE_TEST","innerHTML","svgNode","testElement","textNode","removeChild","deleteData","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","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","getSSOData","_clients$lockID","getUserCountry","skipQuickAuth","_quick_auth","loginHint","scopes","connection_scope","display","login_hint","BackButton","CloseButton","svgs","back","IconButton","_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","callbackOnLocationHashToResponseType","validResponseType","RESPONSE_TYPES","validResponseMode","Base64Url","is_array","index_of","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","getUserInfo","access_token","headers","Authorization","decodeJwt","validateUser","client_id","success","jwt","encoded","decode","parsed_qs","parse","prof","invalidJwt","audiences","aud","iss","accessToken","idToken","idTokenPayload","refreshToken","refresh_token","_this","redirect_uri","tenant","will_popup","_buildAuthorizeQueryString","blacklist","_buildAuthorizationParameters","_buildAuthorizeUrl","signin","passcode","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","ReactMultiChildUpdateTypes","dangerouslyReplaceNodeWithMarkup","DOMChildrenOperations","processUpdates","updates","INSERT_MARKUP","content","afterNode","MOVE_EXISTING","fromNode","SET_MARKUP","TEXT_CONTENT","REMOVE_NODE","mathml","recomputePluginOrdering","EventPluginOrder","pluginName","namesToPlugins","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","ReactPropTypeLocations","ReactPropTypesSecret","hasReadOnlyValue","checkbox","image","hidden","radio","componentName","readOnly","loggedTypeFailures","LinkedValueUtils","checkPropTypes","tagName","getValue","getChecked","executeOnChange","requestChange","refs","ReactNoopUpdateQueue","isReactComponent","setState","partialState","enqueueSetState","enqueueCallback","forceUpdate","enqueueForceUpdate","injected","ReactComponentEnvironment","replaceNodeWithMarkup","processChildrenUpdates","injectEnvironment","environment","isNative","funcToString","reIsNative","getKeyFromID","getIDFromKey","parseInt","substr","canUseCollections","itemMap","itemByKey","parentID","childIDs","isMounted","updateCount","addRoot","rootIDSet","rootByKey","removeRoot","getRegisteredIDs","getRootIDs","purgeDeep","describeComponentFrame","ownerName","fileName","lineNumber","getDisplayName","describeID","ReactComponentTreeHook","getElement","getOwnerID","unmountedIDs","onSetChildren","nextChildIDs","nextChildID","nextChild","onBeforeMountComponent","onBeforeUpdateComponent","onMountComponent","isRoot","onUpdateComponent","onUnmountComponent","purgeUnmountedComponents","_preventPurging","getCurrentStackAddendum","topElement","info","currentOwner","_debugID","getStackAddendumByID","getParentID","getChildIDs","getSource","getText","getUpdateCount","caughtError","warnNoop","publicInstance","callerName","enqueueReplaceState","completeState","ReactPropTypeLocationNames","childContext","formatUnexpectedArgument","getInternalInstanceReadyForUpdate","ReactUpdateQueue","validateCallback","enqueueCallbackInternal","_pendingForceUpdate","_pendingStateQueue","_pendingReplaceState","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","getComponentKey","traverseAllChildrenImpl","nameSoFar","traverseContext","SEPARATOR","child","nextName","subtreeCount","nextNamePrefix","SUBSEPARATOR","addendum","childrenString","traverseAllChildren","validateDOMNesting","shallowEqual","objA","objB","keysA","keysB","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","_enterprise","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","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","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","escapeUserProvidedKey","userProvidedKeyEscapeRegex","ForEachBookKeeping","forEachFunction","forEachContext","forEachSingleChild","bookKeeping","forEachChildren","forEachFunc","MapBookKeeping","mapResult","keyPrefix","mapFunction","mapContext","mapSingleChildIntoContext","childKey","mappedChild","mapIntoWithKeyPrefixInternal","escapedPrefix","mapChildren","forEachSingleChildDummy","countChildren","validateMethodOverride","isAlreadyDefined","specPolicy","ReactClassInterface","ReactClassMixin","SpecPolicy","OVERRIDE_BASE","DEFINE_MANY","DEFINE_MANY_MERGED","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","DEFINE_ONCE","injectedMixins","contextTypes","childContextTypes","getDefaultProps","getInitialState","getChildContext","componentWillMount","componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","componentWillUnmount","updateComponent","replaceState","ReactClassComponent","initialState","methodName","injectMixin","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","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","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","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","isNode","createShapeTypeChecker","shapeTypes","symbol","instanceOf","objectOf","shape","scrollPosition","flattenSingleChildIntoContext","selfDebugID","keyUnique","flattenChildren","_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","EventListener","listen","eventType","detachEvent","registerDefault","activeElement","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","foregroundColor","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","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","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","removeItem","localstorage","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","definition","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","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","onBeforeInput","onBeforeInputCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","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","onChangeCapture","doesChangeEventBubble","isInputEventSupported","ChangeEventPlugin","getTargetInstFunc","handleEventFunc","targetNode","createNodesFromMarkup","DefaultEventPluginOrder","ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","SelectEventPlugin","mouseEnter","onMouseEnter","mouseLeave","onMouseLeave","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","nonce","noValidate","optimum","pattern","playsInline","poster","radioGroup","referrerPolicy","rel","role","rows","rowSpan","sandbox","scoped","scrolling","seamless","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","createTransitionTimeoutPropValidator","transitionType","timeoutPropName","enabledPropName","ReactTransitionGroup","ReactCSSTransitionGroupChild","ReactCSSTransitionGroup","transitionAppear","transitionEnter","transitionLeave","transitionAppearTimeout","transitionEnterTimeout","transitionLeaveTimeout","_wrapChild","appear","appearTimeout","enterTimeout","leaveTimeout","childFactory","ReactTransitionEvents","TICK","active","enterActive","leaveActive","appearActive","animationType","finishCallback","userSpecifiedDelay","activeClassName","endListener","removeEndEventListener","queueClassAndNode","transitionTimeouts","addEndEventListener","classNameAndNodeQueue","flushClassNameAndNodeQueue","componentWillAppear","componentWillEnter","componentWillLeave","instantiateChild","childInstances","ReactChildReconciler","instantiateChildren","nestedChildNodes","updateChildren","prevChildren","nextChildren","mountImages","removedNodes","prevChild","nextChildInstance","nextChildMountImage","unmountChildren","renderedChildren","renderedChild","ReactDOMIDOperations","ReactComponentBrowserEnvironment","dangerouslyProcessChildrenUpdates","StatelessComponent","warnIfInvalidElement","shouldConstruct","isPureComponent","isPureReactComponent","checkReactTypeSpec","CompositeTypes","ImpureClass","PureClass","StatelessFunctional","nextMountID","ReactCompositeComponentMixin","_compositeType","_calledComponentWillUnmount","renderedElement","publicProps","publicContext","_processContext","updateQueue","getUpdateQueue","doConstruct","_constructComponent","unstable_handleError","performInitialMountWithErrorHandling","performInitialMount","_constructComponentWithoutOwner","_processPendingState","debugID","_renderValidatedComponent","_maskContext","maskedContext","contextName","currentContext","_checkContextTypes","typeSpecs","prevContext","prevParentElement","nextParentElement","prevUnmaskedContext","nextUnmaskedContext","willReceive","prevProps","nextProps","nextState","shouldUpdate","_performComponentUpdate","unmaskedContext","prevState","hasComponentDidUpdate","_updateRenderedComponent","prevComponentInstance","prevRenderedElement","nextRenderedElement","oldHostNode","nextMarkup","_replaceNodeWithMarkup","prevInstance","_renderValidatedComponentWithoutOwnerOrContext","renderedComponent","attachRef","publicComponentInstance","detachRef","ReactDOMButton","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","tag","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","_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","createDOMFactory","abbr","article","aside","audio","bdi","bdo","big","blockquote","canvas","caption","colgroup","datalist","dd","del","dfn","dialog","dl","dt","em","fieldset","figcaption","figure","footer","h1","h2","h3","h4","h5","h6","hgroup","ins","kbd","legend","li","main","mark","menu","meter","nav","noscript","ol","optgroup","picture","progress","rp","rt","ruby","samp","section","small","strong","sub","sup","tbody","td","tfoot","th","thead","tr","u","ul","var","video","circle","clipPath","defs","ellipse","g","linearGradient","mask","polygon","polyline","radialGradient","rect","tspan","forceUpdateIfMounted","rootNode","queryRoot","querySelectorAll","otherNode","otherInstance","defaultChecked","initialChecked","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","HostComponent","SVGDOMPropertyConfig","EmptyComponent","Updates","runEventQueueInBatch","findParent","TopLevelCallbackBookKeeping","ancestors","handleTopLevelImpl","ancestor","_handleTopLevel","scrollValueMonitor","getUnboundedScrollPosition","_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","ReactOwner","isValidOwner","addComponentAsRefTo","removeComponentAsRefFrom","ownerPublicInstance","ComponentDummy","reactMountReady","SELECTION_RESTORATION","EVENT_SUPPRESSION","currentlyEnabled","previouslyEnabled","ON_DOM_READY_QUEUEING","ReactServerUpdateQueue","noopCallbackQueue","ReactTransitionChildMapping","getChildMapping","mergeChildMappings","getValueForKey","nextKeysPending","pendingKeys","prevKey","childMapping","nextKey","pendingNextKey","detectEvents","animEnd","transEnd","endEvents","eventListener","endEvent","currentlyTransitioningKeys","keysToEnter","keysToLeave","initialChildMapping","performAppear","nextChildMapping","prevChildMapping","hasPrev","hasNext","performEnter","performLeave","_handleDoneAppearing","componentDidAppear","currentChildMapping","_handleDoneEntering","componentDidEnter","_handleDoneLeaving","componentDidLeave","newChildren","childrenToRender","NS","xlink","ATTRS","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeType","autoReverse","azimuth","baseFrequency","baseProfile","baselineShift","bbox","bias","by","calcMode","capHeight","clip","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","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","onSelect","onSelectCapture","hasListener","ON_SELECT_KEY","SyntheticAnimationEvent","SyntheticClipboardEvent","SyntheticFocusEvent","SyntheticKeyboardEvent","SyntheticDragEvent","SyntheticTouchEvent","SyntheticTransitionEvent","SyntheticWheelEvent","onAbort","onAbortCapture","animationEnd","onAnimationEnd","onAnimationEndCapture","animationIteration","onAnimationIteration","onAnimationIterationCapture","animationStart","onAnimationStart","onAnimationStartCapture","blur","onBlurCapture","canPlay","onCanPlay","onCanPlayCapture","canPlayThrough","onCanPlayThrough","onCanPlayThroughCapture","click","onContextMenu","onContextMenuCapture","copy","onCopy","onCopyCapture","cut","onCut","onCutCapture","doubleClick","drag","onDrag","onDragCapture","dragEnd","onDragEnd","onDragEndCapture","dragEnter","onDragEnter","onDragEnterCapture","dragExit","onDragExit","onDragExitCapture","dragLeave","onDragLeave","onDragLeaveCapture","dragOver","onDragOver","onDragOverCapture","dragStart","onDragStart","onDragStartCapture","onDrop","onDropCapture","durationChange","onDurationChange","onDurationChangeCapture","emptied","onEmptied","onEmptiedCapture","encrypted","onEncrypted","onEncryptedCapture","ended","onEnded","onEndedCapture","onError","onErrorCapture","onFocusCapture","onInput","onInputCapture","invalid","onInvalid","onInvalidCapture","keyDown","onKeyDown","onKeyDownCapture","keyPress","onKeyPress","onKeyPressCapture","keyUp","onKeyUp","onKeyUpCapture","onLoad","onLoadCapture","loadedData","onLoadedData","onLoadedDataCapture","loadedMetadata","onLoadedMetadata","onLoadedMetadataCapture","loadStart","onLoadStart","onLoadStartCapture","mouseMove","mouseOut","onMouseOut","onMouseOutCapture","mouseOver","onMouseOver","onMouseOverCapture","mouseUp","paste","onPaste","onPasteCapture","pause","onPause","onPauseCapture","play","onPlay","onPlayCapture","playing","onPlaying","onPlayingCapture","onProgress","onProgressCapture","rateChange","onRateChange","onRateChangeCapture","onReset","onResetCapture","scroll","onScroll","onScrollCapture","seeked","onSeeked","onSeekedCapture","seeking","onSeeking","onSeekingCapture","stalled","onStalled","onStalledCapture","onSubmitCapture","suspend","onSuspend","onSuspendCapture","timeUpdate","onTimeUpdate","onTimeUpdateCapture","touchCancel","onTouchCancel","onTouchCancelCapture","touchEnd","onTouchEnd","onTouchEndCapture","touchMove","onTouchMove","onTouchMoveCapture","touchStart","onTouchStart","onTouchStartCapture","transitionEnd","onTransitionEnd","onTransitionEndCapture","volumeChange","onVolumeChange","onVolumeChangeCapture","waiting","onWaiting","onWaitingCapture","wheel","onWheel","onWheelCapture","topLevelEventsToDispatchConfig","ON_CLICK_KEY","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","typeSpecName","isNonNumeric","componentOrElement","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","getLeafNode","getSiblingNode","nodeStart","nodeEnd","matchesSelector_SLOW","selector","matchesSelector","matchesImpl","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","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","svgElements","scrollable","pageXOffset","scrollLeft","pageYOffset","scrollTop","hyphenate","_uppercasePattern","Node","_events","_maxListeners","defaultMaxListeners","setMaxListeners","newListener","fired","listenerCount","evlistener","emitter","superCtor","super_","TempCtor","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","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","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","_ret","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","handleKeyDown","UsernameInput","su","cycle","FiltrableList","filteredItems","highlighted","defaultItem","scrollableNode","highlightedNode","relativeOffsetTop","offsetTop","scrollTopDelta","offsetHeight","preventHighlight","mouseMoveHandler","mouseLeaveHandler","_this5","atom","Atom","watches","_change","Cache","fetchFn","registerCallback","fetch","execCallbacks","_jsonp","_jsonp2","JSONPUtils","parser"],"mappings":";;;;;;;;CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,OAAA,eAAAH,GACA,gBAAAC,SACAA,QAAA,UAAAD,IAEAD,EAAA,UAAAC,KACCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAP,WACAS,GAAAF,EACAG,QAAA,EAUA,OANAL,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,QAAA,EAGAT,EAAAD,QAvBA,GAAAQ,KAqCA,OATAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAQ,EAAA,GAGAR,EAAA,KDgBM,SAASL,EAAQD,EAASM,IAEH,SAASS,GAAS,YAM9C,SAASC,GAAuBC,GAAO,MAAOA,IAAOA,EAAIC,WAAaD,GAAQE,QAASF,GErDxF,GAAAG,GAAAd,EAAA,KFmDKe,EAAUL,EAAuBI,EEhDH,mBAAxBL,GAAOO,OAAOpB,QAAwBa,EAAOO,OAAOpB,OAAOC,IACpEY,EAAOO,OAAOpB,OAAO,YAAa,WAAc,MAAAmB,GAAAF,UAEvCJ,EAAOO,SAChBP,EAAOO,OAAOC,UAAdF,EAAAF,WFkE4BR,KAAKX,EAAU,WAAa,MAAOI,WAI3D,SAASH,EAAQD,EAASM,GGtFhC,YAEAL,GAAOD,QAAUM,EAAQ,KH4FnB,S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GACvB,GAAMu+J,GAAS1iK,EAAO69B,SAASnnB,cAAc,IAE7C,OADAgsJ,GAAOl9F,KAAOrhE,EACPu+J,E5T21xCRzjK,EAAQkB,YAAa,EACrBlB,E4T/1xCe0I,a5Tq2xCc/H,KAAKX,EAAU,WAAa,MAAOI,WAI3D,SAASH,EAAQD","file":"lock.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"Auth0Lock\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Auth0Lock\"] = factory();\n\telse\n\t\troot[\"Auth0Lock\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"Auth0Lock\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Auth0Lock\"] = factory();\n\telse\n\t\troot[\"Auth0Lock\"] = factory();\n})(this, function() {\nreturn /******/ (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/******/ ([\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__(141);\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__(46);\n\n/***/ },\n/* 2 */\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/* 3 */\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.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.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 _immutable = __webpack_require__(9);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _media_utils = __webpack_require__(146);\n\t\n\tvar _string_utils = __webpack_require__(94);\n\t\n\tvar _url_utils = __webpack_require__(314);\n\t\n\tvar _i18n = __webpack_require__(14);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tvar _trim = __webpack_require__(26);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _gravatar_provider = __webpack_require__(267);\n\t\n\tvar gp = _interopRequireWildcard(_gravatar_provider);\n\t\n\tvar _data_utils = __webpack_require__(19);\n\t\n\tvar _index = __webpack_require__(136);\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 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 connections.apply(undefined, [m, type].concat(strategies)).count() > 0;\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 _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 get(m, \"hookRunner\").apply(undefined, [str, m].concat(args));\n\t}\n\t\n\tfunction emitEvent(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 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) {\n\t opts.dict = opts.dict || {};\n\t\n\t m = tset(m, [\"ui\", \"language\"], opts.language);\n\t m = tset(m, [\"ui\", \"dict\"], opts.dict);\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/* 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 * @providesModule reactProdInvariant\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/***/ function(module, exports, __webpack_require__) {\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__(13);\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/* 6 */\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/* 7 */\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 * @providesModule ReactDOMComponentTree\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__(106);\n\t\n\tvar invariant = __webpack_require__(2);\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/* 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__(26);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _option_selection_pane = __webpack_require__(294);\n\t\n\tvar _option_selection_pane2 = _interopRequireDefault(_option_selection_pane);\n\t\n\tvar _index = __webpack_require__(3);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(8);\n\t\n\tvar _data_utils = __webpack_require__(19);\n\t\n\tvar _sync = __webpack_require__(43);\n\t\n\tvar _sync2 = _interopRequireDefault(_sync);\n\t\n\tvar _trim = __webpack_require__(26);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _tenant = __webpack_require__(84);\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 return databaseConnectionRequiresUsername(m) ? get(m, \"usernameStyle\", \"any\") : \"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__(309);\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) {\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/* 14 */\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__(82);\n\t\n\tvar _sync = __webpack_require__(43);\n\t\n\tvar _sync2 = _interopRequireDefault(_sync);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _data_utils = __webpack_require__(19);\n\t\n\tvar _en = __webpack_require__(296);\n\t\n\tvar _en2 = _interopRequireDefault(_en);\n\t\n\tvar _cdn_utils = __webpack_require__(93);\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.6.0' + '/' + 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/* 15 */\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 * @providesModule ReactInstrumentation\n\t */\n\t\n\t'use strict';\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/* 16 */\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 * @providesModule ReactElement\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__(6);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(24);\n\t\n\tvar warning = __webpack_require__(5);\n\tvar canDefineProperty = __webpack_require__(119);\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\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\tvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\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 var shadowChildren = Array.isArray(props.children) ? props.children.slice(0) : props.children;\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 Object.defineProperty(element, '_shadowChildren', {\n\t configurable: false,\n\t enumerable: false,\n\t writable: false,\n\t value: shadowChildren\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._shadowChildren = shadowChildren;\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 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\tReactElement.REACT_ELEMENT_TYPE = REACT_ELEMENT_TYPE;\n\t\n\tmodule.exports = ReactElement;\n\n/***/ },\n/* 17 */\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 * @providesModule ReactUpdates\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(6);\n\t\n\tvar CallbackQueue = __webpack_require__(101);\n\tvar PooledClass = __webpack_require__(23);\n\tvar ReactFeatureFlags = __webpack_require__(109);\n\tvar ReactReconciler = __webpack_require__(33);\n\tvar Transaction = __webpack_require__(40);\n\t\n\tvar invariant = __webpack_require__(2);\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.Mixin, {\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.Mixin.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 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.props === component._renderedComponent._currentElement) {\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/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _i18n = __webpack_require__(14);\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/* 19 */\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/* 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 * @providesModule EventConstants\n\t */\n\t\n\t'use strict';\n\t\n\tvar keyMirror = __webpack_require__(51);\n\t\n\tvar PropagationPhases = keyMirror({ bubbled: null, captured: null });\n\t\n\t/**\n\t * Types of raw signals from the browser caught at the top level.\n\t */\n\tvar topLevelTypes = keyMirror({\n\t topAbort: null,\n\t topAnimationEnd: null,\n\t topAnimationIteration: null,\n\t topAnimationStart: null,\n\t topBlur: null,\n\t topCanPlay: null,\n\t topCanPlayThrough: null,\n\t topChange: null,\n\t topClick: null,\n\t topCompositionEnd: null,\n\t topCompositionStart: null,\n\t topCompositionUpdate: null,\n\t topContextMenu: null,\n\t topCopy: null,\n\t topCut: null,\n\t topDoubleClick: null,\n\t topDrag: null,\n\t topDragEnd: null,\n\t topDragEnter: null,\n\t topDragExit: null,\n\t topDragLeave: null,\n\t topDragOver: null,\n\t topDragStart: null,\n\t topDrop: null,\n\t topDurationChange: null,\n\t topEmptied: null,\n\t topEncrypted: null,\n\t topEnded: null,\n\t topError: null,\n\t topFocus: null,\n\t topInput: null,\n\t topInvalid: null,\n\t topKeyDown: null,\n\t topKeyPress: null,\n\t topKeyUp: null,\n\t topLoad: null,\n\t topLoadedData: null,\n\t topLoadedMetadata: null,\n\t topLoadStart: null,\n\t topMouseDown: null,\n\t topMouseMove: null,\n\t topMouseOut: null,\n\t topMouseOver: null,\n\t topMouseUp: null,\n\t topPaste: null,\n\t topPause: null,\n\t topPlay: null,\n\t topPlaying: null,\n\t topProgress: null,\n\t topRateChange: null,\n\t topReset: null,\n\t topScroll: null,\n\t topSeeked: null,\n\t topSeeking: null,\n\t topSelectionChange: null,\n\t topStalled: null,\n\t topSubmit: null,\n\t topSuspend: null,\n\t topTextInput: null,\n\t topTimeUpdate: null,\n\t topTouchCancel: null,\n\t topTouchEnd: null,\n\t topTouchMove: null,\n\t topTouchStart: null,\n\t topTransitionEnd: null,\n\t topVolumeChange: null,\n\t topWaiting: null,\n\t topWheel: null\n\t});\n\t\n\tvar EventConstants = {\n\t topLevelTypes: topLevelTypes,\n\t PropagationPhases: PropagationPhases\n\t};\n\t\n\tmodule.exports = EventConstants;\n\n/***/ },\n/* 21 */\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 * @providesModule SyntheticEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar PooledClass = __webpack_require__(23);\n\t\n\tvar emptyFunction = __webpack_require__(13);\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/* 22 */\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__(283);\n\t\n\tvar _index2 = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tvar _preload_utils = __webpack_require__(147);\n\t\n\tvar _container = __webpack_require__(143);\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__(42)))\n\n/***/ },\n/* 23 */\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 * @providesModule PooledClass\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(2);\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 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/* 24 */\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 * @providesModule ReactCurrentOwner\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/* 25 */\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\t * Allows extraction of a minified key. Let's the build system minify keys\n\t * without losing the ability to dynamically use key strings as values\n\t * themselves. Pass in an object with a single key/val pair and it will return\n\t * you the string key of that single record. Suppose you want to grab the\n\t * value for a key 'className' inside of an object. Key/val minification may\n\t * have aliased that key to be 'xa12'. keyOf({className: null}) will return\n\t * 'xa12' in that case. Resolve keys you want to use once at startup time, then\n\t * reuse those resolutions.\n\t */\n\t\n\tvar keyOf = function keyOf(oneKeyObj) {\n\t var key;\n\t for (key in oneKeyObj) {\n\t if (!oneKeyObj.hasOwnProperty(key)) {\n\t continue;\n\t }\n\t return key;\n\t }\n\t return null;\n\t};\n\t\n\tmodule.exports = keyOf;\n\n/***/ },\n/* 26 */\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/* 27 */\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__(3);\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__(19);\n\t\n\tvar _email = __webpack_require__(29);\n\t\n\tvar _username = __webpack_require__(88);\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/* 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__(90);\n\t\n\tvar _success_pane2 = _interopRequireDefault(_success_pane);\n\t\n\tvar _actions = __webpack_require__(22);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _i18n = __webpack_require__(14);\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__(26);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar _string_utils = __webpack_require__(94);\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 * @providesModule DOMLazyTree\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMNamespaces = __webpack_require__(59);\n\tvar setInnerHTML = __webpack_require__(50);\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(73);\n\tvar setTextContent = __webpack_require__(129);\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 * @providesModule DOMProperty\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(2);\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 * @type {Object}\n\t */\n\t getPossibleStandardName: false ? {} : 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 * @providesModule ReactInstanceMap\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 * @providesModule ReactReconciler\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactRef = __webpack_require__(224);\n\tvar ReactInstrumentation = __webpack_require__(15);\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'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__(22);\n\t\n\tvar _index2 = __webpack_require__(3);\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__(14);\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/* 35 */\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/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tmodule.exports = __webpack_require__(105);\n\n/***/ },\n/* 37 */\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 * @providesModule EventPluginHub\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__(67);\n\t\n\tvar accumulateInto = __webpack_require__(118);\n\tvar forEachAccumulated = __webpack_require__(121);\n\tvar invariant = __webpack_require__(2);\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\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 var bankForRegistrationName = listenerBank[registrationName];\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/* 38 */\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 * @providesModule EventPropagators\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventConstants = __webpack_require__(20);\n\tvar EventPluginHub = __webpack_require__(37);\n\tvar EventPluginUtils = __webpack_require__(61);\n\t\n\tvar accumulateInto = __webpack_require__(118);\n\tvar forEachAccumulated = __webpack_require__(121);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar PropagationPhases = EventConstants.PropagationPhases;\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, upwards, 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 phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;\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/* 39 */\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 * @providesModule SyntheticUIEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(21);\n\t\n\tvar getEventTarget = __webpack_require__(76);\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/* 40 */\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 * @providesModule Transaction\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(2);\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 Mixin = {\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] = Transaction.OBSERVED_ERROR;\n\t this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n\t } finally {\n\t if (this.wrapperInitData[i] === Transaction.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 !== Transaction.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\tvar Transaction = {\n\t\n\t Mixin: Mixin,\n\t\n\t /**\n\t * Token to look for to determine if an error occurred.\n\t */\n\t OBSERVED_ERROR: {}\n\t\n\t};\n\t\n\tmodule.exports = Transaction;\n\n/***/ },\n/* 41 */\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/* 42 */\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/* 43 */\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__(19);\n\t\n\tvar _index = __webpack_require__(3);\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/* 44 */\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/* 45 */\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 * @providesModule DisabledInputUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar disableableMouseListenerNames = {\n\t onClick: true,\n\t onDoubleClick: true,\n\t onMouseDown: true,\n\t onMouseMove: true,\n\t onMouseUp: true,\n\t\n\t onClickCapture: true,\n\t onDoubleClickCapture: true,\n\t onMouseDownCapture: true,\n\t onMouseMoveCapture: true,\n\t onMouseUpCapture: true\n\t};\n\t\n\t/**\n\t * Implements a host component that does not receive mouse events\n\t * when `disabled` is set.\n\t */\n\tvar DisabledInputUtils = {\n\t getHostProps: function getHostProps(inst, props) {\n\t if (!props.disabled) {\n\t return props;\n\t }\n\t\n\t // Copy the props, except the mouse listeners\n\t var hostProps = {};\n\t for (var key in props) {\n\t if (!disableableMouseListenerNames[key] && props.hasOwnProperty(key)) {\n\t hostProps[key] = props[key];\n\t }\n\t }\n\t\n\t return hostProps;\n\t }\n\t};\n\t\n\tmodule.exports = DisabledInputUtils;\n\n/***/ },\n/* 46 */\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 * @providesModule React\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar ReactChildren = __webpack_require__(103);\n\tvar ReactComponent = __webpack_require__(64);\n\tvar ReactPureComponent = __webpack_require__(222);\n\tvar ReactClass = __webpack_require__(104);\n\tvar ReactDOMFactories = __webpack_require__(205);\n\tvar ReactElement = __webpack_require__(16);\n\tvar ReactPropTypes = __webpack_require__(115);\n\tvar ReactVersion = __webpack_require__(116);\n\t\n\tvar onlyChild = __webpack_require__(128);\n\tvar warning = __webpack_require__(5);\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/* 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 * @providesModule ReactBrowserEventEmitter\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar EventConstants = __webpack_require__(20);\n\tvar EventPluginRegistry = __webpack_require__(60);\n\tvar ReactEventEmitterMixin = __webpack_require__(216);\n\tvar ViewportMetrics = __webpack_require__(117);\n\t\n\tvar getVendorPrefixedEventName = __webpack_require__(125);\n\tvar isEventSupported = __webpack_require__(77);\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 var topLevelTypes = EventConstants.topLevelTypes;\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 === topLevelTypes.topWheel) {\n\t if (isEventSupported('wheel')) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt);\n\t } else if (isEventSupported('mousewheel')) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.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(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt);\n\t }\n\t } else if (dependency === topLevelTypes.topScroll) {\n\t\n\t if (isEventSupported('scroll', true)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt);\n\t } else {\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topScroll, 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n\t }\n\t } else if (dependency === topLevelTypes.topFocus || dependency === topLevelTypes.topBlur) {\n\t\n\t if (isEventSupported('focus', true)) {\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt);\n\t ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.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(topLevelTypes.topFocus, 'focusin', mountAt);\n\t ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt);\n\t }\n\t\n\t // to make sure blur and focus event listeners are only attached once\n\t isListening[topLevelTypes.topBlur] = true;\n\t isListening[topLevelTypes.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 * @providesModule SyntheticMouseEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(39);\n\tvar ViewportMetrics = __webpack_require__(117);\n\t\n\tvar getEventModifierState = __webpack_require__(75);\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) {\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 * @providesModule escapeTextContentForBrowser\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/* 50 */\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 * @providesModule setInnerHTML\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__(73);\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/* 51 */\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 static-only\n\t */\n\t\n\t'use strict';\n\t\n\tvar invariant = __webpack_require__(2);\n\t\n\t/**\n\t * Constructs an enumeration with keys equal to their value.\n\t *\n\t * For example:\n\t *\n\t * var COLORS = keyMirror({blue: null, red: null});\n\t * var myColor = COLORS.blue;\n\t * var isColorValid = !!COLORS[myColor];\n\t *\n\t * The last line could not be performed if the values of the generated enum were\n\t * not equal to their keys.\n\t *\n\t * Input: {key1: val1, key2: val2}\n\t * Output: {key1: key1, key2: key2}\n\t *\n\t * @param {object} obj\n\t * @return {object}\n\t */\n\tvar keyMirror = function keyMirror(obj) {\n\t var ret = {};\n\t var key;\n\t !(obj instanceof Object && !Array.isArray(obj)) ? false ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : void 0;\n\t for (key in obj) {\n\t if (!obj.hasOwnProperty(key)) {\n\t continue;\n\t }\n\t ret[key] = key;\n\t }\n\t return ret;\n\t};\n\t\n\tmodule.exports = keyMirror;\n\n/***/ },\n/* 52 */\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _data_utils = __webpack_require__(19);\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/* 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.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__(142);\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _actions = __webpack_require__(22);\n\t\n\tvar _index2 = __webpack_require__(3);\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__(152);\n\tvar assert_required = __webpack_require__(151);\n\tvar is_array = __webpack_require__(154);\n\tvar index_of = __webpack_require__(153);\n\t\n\tvar qs = __webpack_require__(163);\n\tvar xtend = __webpack_require__(169);\n\tvar trim = __webpack_require__(26);\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__(95);\n\tvar LoginError = __webpack_require__(149);\n\tvar use_jsonp = __webpack_require__(156);\n\t\n\tvar SilentAuthenticationHandler = __webpack_require__(150);\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\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) {\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\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 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\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 (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 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 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 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 // 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__(44);\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 * @providesModule DOMChildrenOperations\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMLazyTree = __webpack_require__(30);\n\tvar Danger = __webpack_require__(191);\n\tvar ReactMultiChildUpdateTypes = __webpack_require__(113);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\t\n\tvar createMicrosoftUnsafeLocalFunction = __webpack_require__(73);\n\tvar setInnerHTML = __webpack_require__(50);\n\tvar setTextContent = __webpack_require__(129);\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(ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID, 'replace text', stringText);\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(prevInstance._debugID, 'replace with', markup.toString());\n\t } else {\n\t var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n\t if (nextInstance._debugID !== 0) {\n\t ReactInstrumentation.debugTool.onHostOperation(nextInstance._debugID, 'mount', markup.toString());\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 ReactMultiChildUpdateTypes.INSERT_MARKUP:\n\t insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'insert child', { toIndex: update.toIndex, content: update.content.toString() });\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.MOVE_EXISTING:\n\t moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'move child', { fromIndex: update.fromIndex, toIndex: update.toIndex });\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.SET_MARKUP:\n\t setInnerHTML(parentNode, update.content);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace children', update.content.toString());\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.TEXT_CONTENT:\n\t setTextContent(parentNode, update.content);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace text', update.content.toString());\n\t }\n\t break;\n\t case ReactMultiChildUpdateTypes.REMOVE_NODE:\n\t removeChild(parentNode, update.fromNode);\n\t if (false) {\n\t ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'remove child', { fromIndex: update.fromIndex });\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 * @providesModule DOMNamespaces\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 * @providesModule EventPluginRegistry\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(2);\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\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 for (var phase in dispatchConfig.phasedRegistrationNames) {\n\t if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) {\n\t continue;\n\t }\n\t var PluginModule = EventPluginRegistry.registrationNameModules[dispatchConfig.phasedRegistrationNames[phase]];\n\t if (PluginModule) {\n\t return PluginModule;\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 * @providesModule EventPluginUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar EventConstants = __webpack_require__(20);\n\tvar ReactErrorUtils = __webpack_require__(67);\n\t\n\tvar invariant = __webpack_require__(2);\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\tvar topLevelTypes = EventConstants.topLevelTypes;\n\t\n\tfunction isEndish(topLevelType) {\n\t return topLevelType === topLevelTypes.topMouseUp || topLevelType === topLevelTypes.topTouchEnd || topLevelType === topLevelTypes.topTouchCancel;\n\t}\n\t\n\tfunction isMoveish(topLevelType) {\n\t return topLevelType === topLevelTypes.topMouseMove || topLevelType === topLevelTypes.topTouchMove;\n\t}\n\tfunction isStartish(topLevelType) {\n\t return topLevelType === topLevelTypes.topMouseDown || topLevelType === topLevelTypes.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 * @providesModule KeyEscapeUtils\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 * @providesModule LinkedValueUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactPropTypes = __webpack_require__(115);\n\tvar ReactPropTypeLocations = __webpack_require__(70);\n\tvar ReactPropTypesSecret = __webpack_require__(71);\n\t\n\tvar invariant = __webpack_require__(2);\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: ReactPropTypes.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, ReactPropTypeLocations.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 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source 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 ReactComponent\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 ReactNoopUpdateQueue = __webpack_require__(68);\n\t\n\tvar canDefineProperty = __webpack_require__(119);\n\tvar emptyObject = __webpack_require__(41);\n\tvar invariant = __webpack_require__(2);\n\tvar warning = __webpack_require__(5);\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/* 65 */\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 * @providesModule ReactComponentEnvironment\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(2);\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/* 66 */\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 * @providesModule ReactComponentTreeHook\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__(24);\n\t\n\tvar invariant = __webpack_require__(2);\n\tvar warning = __webpack_require__(5);\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 itemMap;\n\tvar rootIDSet;\n\t\n\tvar itemByKey;\n\tvar rootByKey;\n\t\n\tif (canUseCollections) {\n\t itemMap = new Map();\n\t rootIDSet = new Set();\n\t} else {\n\t itemByKey = {};\n\t rootByKey = {};\n\t}\n\t\n\tvar unmountedIDs = [];\n\t\n\t// Use non-numeric keys to prevent V8 performance issues:\n\t// https://github.com/facebook/react/pull/7232\n\tfunction getKeyFromID(id) {\n\t return '.' + id;\n\t}\n\tfunction getIDFromKey(key) {\n\t return parseInt(key.substr(1), 10);\n\t}\n\t\n\tfunction get(id) {\n\t if (canUseCollections) {\n\t return itemMap.get(id);\n\t } else {\n\t var key = getKeyFromID(id);\n\t return itemByKey[key];\n\t }\n\t}\n\t\n\tfunction remove(id) {\n\t if (canUseCollections) {\n\t itemMap['delete'](id);\n\t } else {\n\t var key = getKeyFromID(id);\n\t delete itemByKey[key];\n\t }\n\t}\n\t\n\tfunction create(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\n\t if (canUseCollections) {\n\t itemMap.set(id, item);\n\t } else {\n\t var key = getKeyFromID(id);\n\t itemByKey[key] = item;\n\t }\n\t}\n\t\n\tfunction addRoot(id) {\n\t if (canUseCollections) {\n\t rootIDSet.add(id);\n\t } else {\n\t var key = getKeyFromID(id);\n\t rootByKey[key] = true;\n\t }\n\t}\n\t\n\tfunction removeRoot(id) {\n\t if (canUseCollections) {\n\t rootIDSet['delete'](id);\n\t } else {\n\t var key = getKeyFromID(id);\n\t delete rootByKey[key];\n\t }\n\t}\n\t\n\tfunction getRegisteredIDs() {\n\t if (canUseCollections) {\n\t return Array.from(itemMap.keys());\n\t } else {\n\t return Object.keys(itemByKey).map(getIDFromKey);\n\t }\n\t}\n\t\n\tfunction getRootIDs() {\n\t if (canUseCollections) {\n\t return Array.from(rootIDSet.keys());\n\t } else {\n\t return Object.keys(rootByKey).map(getIDFromKey);\n\t }\n\t}\n\t\n\tfunction purgeDeep(id) {\n\t var item = get(id);\n\t if (item) {\n\t var childIDs = item.childIDs;\n\t\n\t remove(id);\n\t childIDs.forEach(purgeDeep);\n\t }\n\t}\n\t\n\tfunction describeComponentFrame(name, source, ownerName) {\n\t return '\\n in ' + name + (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 = get(id);\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 = get(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 create(id, element, parentID);\n\t },\n\t onBeforeUpdateComponent: function onBeforeUpdateComponent(id, element) {\n\t var item = get(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 = get(id);\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 = get(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 = get(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 = get(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 type = topElement.type;\n\t var name = typeof type === 'function' ? type.displayName || type.name : type;\n\t var owner = topElement._owner;\n\t info += describeComponentFrame(name || 'Unknown', 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 = get(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 = get(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 = get(id);\n\t return item ? item.parentID : null;\n\t },\n\t getSource: function getSource(id) {\n\t var item = get(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 = get(id);\n\t return item ? item.updateCount : 0;\n\t },\n\t\n\t getRegisteredIDs: getRegisteredIDs,\n\t\n\t getRootIDs: getRootIDs\n\t};\n\t\n\tmodule.exports = ReactComponentTreeHook;\n\n/***/ },\n/* 67 */\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 * @providesModule ReactErrorUtils\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, b) {\n\t try {\n\t return func(a, b);\n\t } catch (x) {\n\t if (caughtError === null) {\n\t caughtError = x;\n\t }\n\t return undefined;\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, b) {\n\t var boundFunc = func.bind(null, a, b);\n\t var evtType = 'react-' + name;\n\t fakeNode.addEventListener(evtType, boundFunc, false);\n\t var evt = document.createEvent('Event');\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/* 68 */\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 * @providesModule ReactNoopUpdateQueue\n\t */\n\t\n\t'use strict';\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 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/* 69 */\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 * @providesModule ReactPropTypeLocationNames\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/* 70 */\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 * @providesModule ReactPropTypeLocations\n\t */\n\t\n\t'use strict';\n\t\n\tvar keyMirror = __webpack_require__(51);\n\t\n\tvar ReactPropTypeLocations = keyMirror({\n\t prop: null,\n\t context: null,\n\t childContext: null\n\t});\n\t\n\tmodule.exports = ReactPropTypeLocations;\n\n/***/ },\n/* 71 */\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 * @providesModule ReactPropTypesSecret\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/* 72 */\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 * @providesModule ReactUpdateQueue\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__(24);\n\tvar ReactInstanceMap = __webpack_require__(32);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\tvar ReactUpdates = __webpack_require__(17);\n\t\n\tvar invariant = __webpack_require__(2);\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/* 73 */\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 * @providesModule createMicrosoftUnsafeLocalFunction\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/* 74 */\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 * @providesModule getEventCharCode\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/* 75 */\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 * @providesModule getEventModifierState\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/* 76 */\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 * @providesModule getEventTarget\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/* 77 */\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 * @providesModule isEventSupported\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/* 78 */\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 * @providesModule shouldUpdateReactComponent\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/* 79 */\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 * @providesModule traverseAllChildren\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__(24);\n\tvar ReactElement = __webpack_require__(16);\n\t\n\tvar getIteratorFn = __webpack_require__(123);\n\tvar invariant = __webpack_require__(2);\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 * 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' || ReactElement.isValidElement(children)) {\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/* 80 */\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 * @providesModule validateDOMNesting\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar emptyFunction = __webpack_require__(13);\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/* 81 */\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/* 82 */\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__(266);\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__(265);\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__(42)))\n\n/***/ },\n/* 83 */\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__(27);\n\t\n\tvar _index2 = __webpack_require__(8);\n\t\n\tvar _actions = __webpack_require__(22);\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/* 84 */\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__(19);\n\t\n\tvar _index = __webpack_require__(3);\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/* 85 */\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__(141);\n\t\n\tvar _index2 = _interopRequireDefault(_index);\n\t\n\tvar _login = __webpack_require__(287);\n\t\n\tvar _login2 = _interopRequireDefault(_login);\n\t\n\tvar _sign_up_screen = __webpack_require__(290);\n\t\n\tvar _sign_up_screen2 = _interopRequireDefault(_sign_up_screen);\n\t\n\tvar _mfa_login_screen = __webpack_require__(288);\n\t\n\tvar _mfa_login_screen2 = _interopRequireDefault(_mfa_login_screen);\n\t\n\tvar _reset_password = __webpack_require__(271);\n\t\n\tvar _reset_password2 = _interopRequireDefault(_reset_password);\n\t\n\tvar _index3 = __webpack_require__(138);\n\t\n\tvar _index4 = __webpack_require__(11);\n\t\n\tvar _enterprise = __webpack_require__(27);\n\t\n\tvar _tenant = __webpack_require__(84);\n\t\n\tvar _index5 = __webpack_require__(52);\n\t\n\tvar _email = __webpack_require__(29);\n\t\n\tvar _username = __webpack_require__(88);\n\t\n\tvar _index6 = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index6);\n\t\n\tvar _kerberos_screen = __webpack_require__(277);\n\t\n\tvar _kerberos_screen2 = _interopRequireDefault(_kerberos_screen);\n\t\n\tvar _hrd_screen = __webpack_require__(276);\n\t\n\tvar _hrd_screen2 = _interopRequireDefault(_hrd_screen);\n\t\n\tvar _quick_auth_screen = __webpack_require__(278);\n\t\n\tvar _quick_auth_screen2 = _interopRequireDefault(_quick_auth_screen);\n\t\n\tvar _quick_auth = __webpack_require__(142);\n\t\n\tvar _loading_screen = __webpack_require__(282);\n\t\n\tvar _loading_screen2 = _interopRequireDefault(_loading_screen);\n\t\n\tvar _error_screen = __webpack_require__(281);\n\t\n\tvar _error_screen2 = _interopRequireDefault(_error_screen);\n\t\n\tvar _last_login_screen = __webpack_require__(285);\n\t\n\tvar _last_login_screen2 = _interopRequireDefault(_last_login_screen);\n\t\n\tvar _sync = __webpack_require__(43);\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/* 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 _email_input = __webpack_require__(303);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _email = __webpack_require__(29);\n\t\n\tvar _avatar = __webpack_require__(133);\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/* 87 */\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__(91);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _password = __webpack_require__(295);\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/* 88 */\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__(26);\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/* 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 _username_input = __webpack_require__(307);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _username = __webpack_require__(88);\n\t\n\tvar _avatar = __webpack_require__(133);\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/* 90 */\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__(299);\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/* 91 */\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__(35);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tvar _password_strength = __webpack_require__(305);\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/* 92 */\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__(144);\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\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 }),\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/* 93 */\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/* 94 */\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/* 95 */\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/* 96 */\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/* 97 */\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/* 98 */\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/* 99 */\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/* 100 */\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 * @providesModule CSSProperty\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/* 101 */\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 * @providesModule CallbackQueue\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(6);\n\t\n\tvar PooledClass = __webpack_require__(23);\n\t\n\tvar invariant = __webpack_require__(2);\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\tfunction CallbackQueue() {\n\t this._callbacks = null;\n\t this._contexts = null;\n\t}\n\t\n\t_assign(CallbackQueue.prototype, {\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 enqueue: function enqueue(callback, context) {\n\t this._callbacks = this._callbacks || [];\n\t this._contexts = this._contexts || [];\n\t this._callbacks.push(callback);\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 notifyAll: function notifyAll() {\n\t var callbacks = this._callbacks;\n\t var contexts = this._contexts;\n\t if (callbacks) {\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]);\n\t }\n\t callbacks.length = 0;\n\t contexts.length = 0;\n\t }\n\t },\n\t\n\t checkpoint: function checkpoint() {\n\t return this._callbacks ? this._callbacks.length : 0;\n\t },\n\t\n\t rollback: function rollback(len) {\n\t if (this._callbacks) {\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 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 destructor: function destructor() {\n\t this.reset();\n\t }\n\t\n\t});\n\t\n\tPooledClass.addPoolingTo(CallbackQueue);\n\t\n\tmodule.exports = CallbackQueue;\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 * @providesModule DOMPropertyOperations\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMProperty = __webpack_require__(31);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\t\n\tvar quoteAttributeValueForBrowser = __webpack_require__(249);\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\n\t }\n\t }\n\t\n\t};\n\t\n\tmodule.exports = DOMPropertyOperations;\n\n/***/ },\n/* 103 */\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 * @providesModule ReactChildren\n\t */\n\t\n\t'use strict';\n\t\n\tvar PooledClass = __webpack_require__(23);\n\tvar ReactElement = __webpack_require__(16);\n\t\n\tvar emptyFunction = __webpack_require__(13);\n\tvar traverseAllChildren = __webpack_require__(79);\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 var 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 var keyPrefix = bookKeeping.keyPrefix;\n\t var func = bookKeeping.func;\n\t var 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/* 104 */\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 * @providesModule ReactClass\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__(6);\n\t\n\tvar ReactComponent = __webpack_require__(64);\n\tvar ReactElement = __webpack_require__(16);\n\tvar ReactPropTypeLocations = __webpack_require__(70);\n\tvar ReactPropTypeLocationNames = __webpack_require__(69);\n\tvar ReactNoopUpdateQueue = __webpack_require__(68);\n\t\n\tvar emptyObject = __webpack_require__(41);\n\tvar invariant = __webpack_require__(2);\n\tvar keyMirror = __webpack_require__(51);\n\tvar keyOf = __webpack_require__(25);\n\tvar warning = __webpack_require__(5);\n\t\n\tvar MIXINS_KEY = keyOf({ mixins: null });\n\t\n\t/**\n\t * Policies that describe methods in `ReactClassInterface`.\n\t */\n\tvar SpecPolicy = keyMirror({\n\t /**\n\t * These methods may be defined only once by the class specification or mixin.\n\t */\n\t DEFINE_ONCE: null,\n\t /**\n\t * These methods may be defined by both the class specification and mixins.\n\t * Subsequent definitions will be chained. These methods must return void.\n\t */\n\t DEFINE_MANY: null,\n\t /**\n\t * These methods are overriding the base class.\n\t */\n\t OVERRIDE_BASE: null,\n\t /**\n\t * These methods are similar to DEFINE_MANY, except we assume they return\n\t * objects. We try to merge the keys of the return values of all the mixed in\n\t * functions. If there is a key conflict we throw.\n\t */\n\t DEFINE_MANY_MERGED: null\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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.DEFINE_MANY_MERGED,\n\t\n\t /**\n\t * @return {object}\n\t * @optional\n\t */\n\t getChildContext: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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, ReactPropTypeLocations.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, ReactPropTypeLocations.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, ReactPropTypeLocations.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\t// noop\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 === 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 === SpecPolicy.DEFINE_MANY || specPolicy === 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 === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === 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 === SpecPolicy.DEFINE_MANY_MERGED) {\n\t proto[name] = createMergedResultFunction(proto[name], property);\n\t } else if (specPolicy === 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 var Constructor = function Constructor(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/* 105 */\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 * @providesModule ReactDOM\n\t */\n\t\n\t/* globals __REACT_DEVTOOLS_GLOBAL_HOOK__*/\n\t\n\t'use strict';\n\t\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactDefaultInjection = __webpack_require__(215);\n\tvar ReactMount = __webpack_require__(112);\n\tvar ReactReconciler = __webpack_require__(33);\n\tvar ReactUpdates = __webpack_require__(17);\n\tvar ReactVersion = __webpack_require__(116);\n\t\n\tvar findDOMNode = __webpack_require__(246);\n\tvar getHostComponentFromComposite = __webpack_require__(122);\n\tvar renderSubtreeIntoContainer = __webpack_require__(250);\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\t/* eslint-enable camelcase */\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.split, 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\n\t ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook);\n\t ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook);\n\t}\n\t\n\tmodule.exports = ReactDOM;\n\n/***/ },\n/* 106 */\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 * @providesModule ReactDOMComponentFlags\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/* 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 * @providesModule ReactDOMSelect\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar DisabledInputUtils = __webpack_require__(45);\n\tvar LinkedValueUtils = __webpack_require__(63);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactUpdates = __webpack_require__(17);\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({}, DisabledInputUtils.getHostProps(inst, 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/* 108 */\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 * @providesModule ReactEmptyComponent\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/* 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 * @providesModule ReactFeatureFlags\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/* 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 * @providesModule ReactHostComponent\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(6);\n\t\n\tvar invariant = __webpack_require__(2);\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/* 111 */\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 * @providesModule ReactInputSelection\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMSelection = __webpack_require__(210);\n\t\n\tvar containsNode = __webpack_require__(254);\n\tvar focusNode = __webpack_require__(131);\n\tvar getActiveElement = __webpack_require__(132);\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/* 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 * @providesModule ReactMount\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 ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactCurrentOwner = __webpack_require__(24);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactDOMContainerInfo = __webpack_require__(203);\n\tvar ReactDOMFeatureFlags = __webpack_require__(206);\n\tvar ReactElement = __webpack_require__(16);\n\tvar ReactFeatureFlags = __webpack_require__(109);\n\tvar ReactInstanceMap = __webpack_require__(32);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\tvar ReactMarkupChecksum = __webpack_require__(219);\n\tvar ReactReconciler = __webpack_require__(33);\n\tvar ReactUpdateQueue = __webpack_require__(72);\n\tvar ReactUpdates = __webpack_require__(17);\n\t\n\tvar emptyObject = __webpack_require__(41);\n\tvar instantiateReactComponent = __webpack_require__(126);\n\tvar invariant = __webpack_require__(2);\n\tvar setInnerHTML = __webpack_require__(50);\n\tvar shouldUpdateReactComponent = __webpack_require__(78);\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;\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 // this.props is actually a ReactElement\n\t return this.props;\n\t};\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 !ReactElement.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 = ReactElement(TopLevelWrapper, null, null, null, null, null, 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;\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(hostNode._debugID, 'mount', markup.toString());\n\t }\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = ReactMount;\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 * @providesModule ReactMultiChildUpdateTypes\n\t */\n\t\n\t'use strict';\n\t\n\tvar keyMirror = __webpack_require__(51);\n\t\n\t/**\n\t * When a component's children are updated, a series of update configuration\n\t * objects are created in order to batch and serialize the required changes.\n\t *\n\t * Enumerates all the possible types of update configurations.\n\t *\n\t * @internal\n\t */\n\tvar ReactMultiChildUpdateTypes = keyMirror({\n\t INSERT_MARKUP: null,\n\t MOVE_EXISTING: null,\n\t REMOVE_NODE: null,\n\t SET_MARKUP: null,\n\t TEXT_CONTENT: null\n\t});\n\t\n\tmodule.exports = ReactMultiChildUpdateTypes;\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 * @providesModule ReactNodeTypes\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactElement = __webpack_require__(16);\n\t\n\tvar invariant = __webpack_require__(2);\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 (ReactElement.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/* 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 * @providesModule ReactPropTypes\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__(16);\n\tvar ReactPropTypeLocationNames = __webpack_require__(69);\n\tvar ReactPropTypesSecret = __webpack_require__(71);\n\t\n\tvar emptyFunction = __webpack_require__(13);\n\tvar getIteratorFn = __webpack_require__(123);\n\tvar warning = __webpack_require__(5);\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 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 return new PropTypeError('Required ' + locationName + ' `' + propFullName + '` was not specified in ' + ('`' + componentName + '`.'));\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/* 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 * @providesModule ReactVersion\n\t */\n\t\n\t'use strict';\n\t\n\tmodule.exports = '15.3.2';\n\n/***/ },\n/* 117 */\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 * @providesModule ViewportMetrics\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/* 118 */\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 * @providesModule accumulateInto\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__(2);\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/* 119 */\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 * @providesModule canDefineProperty\n\t */\n\t\n\t'use strict';\n\t\n\tvar canDefineProperty = false;\n\tif (false) {\n\t try {\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/* 120 */\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 * @providesModule flattenChildren\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__(79);\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__(66);\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__(42)))\n\n/***/ },\n/* 121 */\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 * @providesModule forEachAccumulated\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/* 122 */\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 * @providesModule getHostComponentFromComposite\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactNodeTypes = __webpack_require__(114);\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/* 123 */\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 * @providesModule getIteratorFn\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/* 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 * @providesModule getTextContentAccessor\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/* 125 */\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 * @providesModule getVendorPrefixedEventName\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/* 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 * @providesModule instantiateReactComponent\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__(6);\n\t\n\tvar ReactCompositeComponent = __webpack_require__(200);\n\tvar ReactEmptyComponent = __webpack_require__(108);\n\tvar ReactHostComponent = __webpack_require__(110);\n\t\n\tvar invariant = __webpack_require__(2);\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.Mixin, {\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\tvar nextDebugID = 1;\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 ? nextDebugID++ : 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/* 127 */\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 * @providesModule isTextInputElement\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/* 128 */\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 * @providesModule onlyChild\n\t */\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactElement = __webpack_require__(16);\n\t\n\tvar invariant = __webpack_require__(2);\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/* 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 * @providesModule setTextContent\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar escapeTextContentForBrowser = __webpack_require__(49);\n\tvar setInnerHTML = __webpack_require__(50);\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 setInnerHTML(node, escapeTextContentForBrowser(text));\n\t };\n\t }\n\t}\n\t\n\tmodule.exports = setTextContent;\n\n/***/ },\n/* 130 */\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__(13);\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/* 131 */\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/* 132 */\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/* 133 */\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__(19);\n\t\n\tvar _preload_utils = __webpack_require__(147);\n\t\n\tvar preload = _interopRequireWildcard(_preload_utils);\n\t\n\tvar _fn_utils = __webpack_require__(311);\n\t\n\tvar f = _interopRequireWildcard(_fn_utils);\n\t\n\tvar _index2 = __webpack_require__(3);\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/* 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 _actions = __webpack_require__(34);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(11);\n\t\n\tvar _actions2 = __webpack_require__(22);\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/* 135 */\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__(91);\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/* 136 */\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__(19);\n\t\n\tvar _index = __webpack_require__(52);\n\t\n\tvar _enterprise = __webpack_require__(27);\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/* 137 */\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/* 138 */\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/* 139 */\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/* 140 */\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__(144);\n\t\n\tvar _auth_button2 = _interopRequireDefault(_auth_button);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _actions = __webpack_require__(54);\n\t\n\tvar _index2 = __webpack_require__(52);\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/* 141 */\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__(279);\n\t\n\tvar _core2 = _interopRequireDefault(_core);\n\t\n\tvar _classic = __webpack_require__(85);\n\t\n\tvar _classic2 = _interopRequireDefault(_classic);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar css = '/* normalize.css v3.0.2 | MIT License | git.io/normalize */ .auth0-lock html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ } .auth0-lock body { margin: 0; } .auth0-lock article, .auth0-lock aside, .auth0-lock details, .auth0-lock figcaption, .auth0-lock figure, .auth0-lock footer, .auth0-lock header, .auth0-lock hgroup, .auth0-lock main, .auth0-lock menu, .auth0-lock nav, .auth0-lock section, .auth0-lock summary { display: block; } .auth0-lock audio, .auth0-lock canvas, .auth0-lock progress, .auth0-lock video { display: inline-block; /* 1 */ vertical-align: baseline; /* 2 */ } .auth0-lock audio:not([controls]) { display: none; height: 0; } .auth0-lock [hidden], .auth0-lock template { display: none; } .auth0-lock a { background-color: transparent; } .auth0-lock a:active, .auth0-lock a:hover { outline: 0; } .auth0-lock abbr[title] { border-bottom: 1px dotted; } .auth0-lock b, .auth0-lock strong { font-weight: bold; } .auth0-lock dfn { font-style: italic; } .auth0-lock h1 { font-size: 2em; margin: 0.67em 0; } .auth0-lock mark { background: #ff0; color: #000; } .auth0-lock small { font-size: 80%; } .auth0-lock sub, .auth0-lock sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } .auth0-lock sup { top: -0.5em; } .auth0-lock sub { bottom: -0.25em; } .auth0-lock img { border: 0; } .auth0-lock svg:not(:root) { overflow: hidden; } .auth0-lock figure { margin: 1em 40px; } .auth0-lock hr { box-sizing: content-box; height: 0; } .auth0-lock pre { overflow: auto; } .auth0-lock code, .auth0-lock kbd, .auth0-lock pre, .auth0-lock samp { font-family: monospace, monospace; font-size: 1em; } .auth0-lock button, .auth0-lock input, .auth0-lock optgroup, .auth0-lock select, .auth0-lock textarea { color: inherit; /* 1 */ font: inherit; /* 2 */ margin: 0; /* 3 */ } .auth0-lock button { overflow: visible; } .auth0-lock button, .auth0-lock select { text-transform: none; } .auth0-lock button, .auth0-lock html input[type=\"button\"], .auth0-lock input[type=\"reset\"], .auth0-lock input[type=\"submit\"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } .auth0-lock button[disabled], .auth0-lock html input[disabled] { cursor: default; } .auth0-lock button::-moz-focus-inner, .auth0-lock input::-moz-focus-inner { border: 0; padding: 0; } .auth0-lock input { line-height: normal; } .auth0-lock input[type=\"checkbox\"], .auth0-lock input[type=\"radio\"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } .auth0-lock input[type=\"number\"]::-webkit-inner-spin-button, .auth0-lock input[type=\"number\"]::-webkit-outer-spin-button { height: auto; } .auth0-lock input[type=\"search\"] { -webkit-appearance: textfield; /* 1 */ /* 2 */ box-sizing: content-box; } .auth0-lock input[type=\"search\"]::-webkit-search-cancel-button, .auth0-lock input[type=\"search\"]::-webkit-search-decoration { -webkit-appearance: none; } .auth0-lock fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } .auth0-lock legend { border: 0; /* 1 */ padding: 0; /* 2 */ } .auth0-lock textarea { overflow: auto; } .auth0-lock optgroup { font-weight: bold; } .auth0-lock table { border-collapse: collapse; border-spacing: 0; } .auth0-lock td, .auth0-lock th { padding: 0; } .auth0-lock-social-button-icon { background-repeat: no-repeat; background-size: 50%; background-position: center center; } .auth0-lock-social-button[data-provider=\"amazon\"] { background-color: #f90; } .auth0-lock-social-button[data-provider=\"aol\"] { background-color: #ff0b00; } .auth0-lock-social-button[data-provider=\"baidu\"] { background-color: #2529d8; } .auth0-lock-social-button[data-provider=\"bitbucket\"] { background-color: #205081; } .auth0-lock-social-button[data-provider=\"dropbox\"] { background-color: #007ee5; } .auth0-lock-social-button[data-provider=\"ebay\"] { background-color: #0064d2; } .auth0-lock-social-button[data-provider=\"facebook\"] { background-color: #3b5998; } .auth0-lock-social-button[data-provider^=\"google\"] { background-color: #4285f4; } .auth0-lock-social-button[data-provider=\"instagram\"] { background-color: #3f729b; } .auth0-lock-social-button[data-provider=\"linkedin\"] { background-color: #0077b5; } .auth0-lock-social-button[data-provider=\"github\"] { background-color: #333; } .auth0-lock-social-button[data-provider=\"oauth2\"] { background-color: #eb5424; } .auth0-lock-social-button[data-provider=\"paypal\"] { background-color: #009cde; } .auth0-lock-social-button[data-provider^=\"salesforce\"] { background-color: #1798c1; } .auth0-lock-social-button[data-provider=\"shopify\"] { background-color: #96bf48; } .auth0-lock-social-button[data-provider=\"soundcloud\"] { background-color: #f80; } .auth0-lock-social-button[data-provider=\"renren\"] { background-color: #0056b5; } .auth0-lock-social-button[data-provider=\"exact\"] { background-color: #ed1c24; } .auth0-lock-social-button[data-provider=\"twitter\"] { background-color: #55acee; } .auth0-lock-social-button[data-provider=\"\"] { background-color: #c7eaff; } .auth0-lock-social-button[data-provider=\"yandex\"] { background-color: #fc0; } .auth0-lock-social-button[data-provider^=\"thecity\"] { background-color: #767571; } .auth0-lock-social-button[data-provider=\"planningcenter\"] { background-color: #4e4e4e; } .auth0-lock-social-button[data-provider=\"thirtysevensignals\"] { background-color: #6ac071; } .auth0-lock-social-button[data-provider=\"fitbit\"] { background-color: #4cc2c4; } .auth0-lock-social-button[data-provider=\"wordpress\"] { background-color: #21759b; } .auth0-lock-social-button[data-provider=\"yahoo\"] { background-color: #410093; } .auth0-lock-social-button[data-provider=\"box\"] { background-color: #267bb6; } .auth0-lock-social-button[data-provider=\"vkontakte\"] { background-color: #45668e; } .auth0-lock-social-button[data-provider=\"dwolla\"] { background-color: #f5891f; } .auth0-lock-social-button[data-provider=\"miicard\"] { background-color: #3fb7ff; } .auth0-lock-social-button[data-provider=\"yammer\"] { background-color: #0072c6; } .auth0-lock-social-button[data-provider=\"weibo\"] { background-color: #dd4b39; } .auth0-lock-social-button[data-provider^=\"windows\"], .auth0-lock-social-button[data-provider^=\"microsoft\"] { background-color: #00a1f1; } .auth0-lock-social-button[data-provider^=amazon] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjcycHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDcyIDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+YW1hem9uPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9ImFtYXpvbiIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xLjA2Myw1MC4zMTMgQzE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NzEuMDY2LDQ5LjY4OCBDNzAuNjkxLDQ5LjI1IDY5LjU2Niw0OC45MzggNjcuNjI4LDQ4Ljc1IEM2Ny4yNTMsNDguNjg3IDY2LjgxNSw0OC42MjUgNjYuNDQsNDguNjg3IEM2NC44NzcsNDguNzUgNjMuMzE1LDQ4LjkzNyA2MS42OSw0OS4zNzUgQzYwLjY5LDQ5LjYyNSA1OS42OSw1MC4xMjUgNTguNjI3LDUwLjg3NSBDNTguNDM5LDUxIDU4LjMxNCw1MS4xODggNTguMTg5LDUxLjM3NSBMNTguMTg4LDUxLjM3NSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSI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4LjI1LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBMNzUuOTM4LDM0LjgxMyBaIE0wLjY4OCwzNC44MTMgTDEwLjUwMSwzNC44MTMgTDEyLjEyNiwyOS44NzUgTDI0LjI1MSwyOS44NzUgTDI1Ljg3NiwzNC44MTMgTDM1LjYyNiwzNC44MTMgTDIxLjg3NiwwLjEyNSBMMTQuNjg4LDAuMTI1IEwwLjY4OCwzNC44MTMgWiBNMjEuODc1LDIyLjY4OCBMMTguMzEyLDExLjA2MyBMMTQuNjg3LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBMMjEuODc1LDIyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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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uMTg3IDU3LjA2NCwyMy4yNDkgQzU2LjUwMSwyMi4zMTEgNTUuNjg5LDIxLjU2MSA1NC42MjYsMjAuOTM2IEM1My41NjMsMjAuMzExIDUyLjI1MSwxOS45OTggNTAuODEzLDE5Ljk5OCBDNDYuMTg4LDE5Ljk5OCA0My44NzUsMjMuMTg2IDQzLjg3NSwyOS42MjMgTDQzLjg3NSwyOS42MjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=bitbucket] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI5NXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI5NSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy43LjIgKDI4Mjc2KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5Hcm91cDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgI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ODIgNDEuMTczNTA2OSwyNTguNDg2MjkzIDQxLjE3MzUwNjksMjYwLjk5NTg2NCBDNDQuOTM3ODc2LDI3OS44MTc2ODcgODIuNTgxNTA5OCwyOTQuODc1MTQxIDEyNy43NTM4NzEsMjk0Ljg3NTE0MSBMMTI3Ljc1Mzg3MSwyOTQuODc1MTQxIEMxNzIuOTI2MjMyLDI5NC44NzUxNDEgMjEwLjU2OTg2NiwyNzkuODE3Njg3IDIxNC4zMzQyMzUsMjYwLjk5NTg2NCBDMjE0LjMzNDIzNSwyNTguNDg2MjkzIDIxOC4wOTg1OTIsMjM5LjY2NDQ4MiAyMjMuMTE3NzQ3LDIxMy4zMTM5MzIgTDIyMy4xMTc3NDcsMjEyLjA1OTE0NiBDMjI0LjM3MjUzMywyMDkuNTQ5NTYzIDIyMy4xMTc3NDcsMjA3LjAzOTk5MSAyMjAuNjA4MTc2LDIwNy4wMzk5OTEgTDIyMC42MDgxNzYsMjA3LjAzOTk5MSBMMjIwLjYwODE3NiwyMDcuMDM5OTkxIFoiIGlkPSJTaGFwZSI+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+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iMzZweCIgdmlld0JveD0iMCAwIDY1IDM2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG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Ljc1LDExLjgxMiBMNTQuMjUsMTkuMTI1IEw1OS42ODgsMTEuODEyIEM2MC41NjMsMTAuNzQ5IDYyLjA2MywxMC40OTkgNjMuMTg4LDExLjMxMiBDNjQuMjUxLDEyLjEyNSA2NC40MzgsMTMuNjg3IDYzLjY4OCwxNC43NSBMNTcuMzEzLDIzLjI1IEw2My42ODgsMzEuNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=dropbox] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY2cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDY2IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+ZHJvcGJveDwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJkcm9wYm94IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTAuMjUsMzMuODEzIEwyMC4xMjUsNDUuNjI2IEwzMy4xMjUsMzUuNjI2IEw0Ni4xMjUsNDUuNjI2IEw2NS43NSwzMy44MTMgTDUzLjEyNSwyMi45MzggTDY1Ljc1LDEyLjM3NSBMNDYuNDM3LDAgTDMzLjEyNCwxMS4xMjUgTDIwLjEyNCwwIEwwLjI0OSwxMyBMMTMuOTM3LDIzLjM3NSBMMC4yNSwzMy44MTMgWiBNMTMuODc1LDQ5Ljg3NSBMMzIuOTM4LDYyLjYyNSBMMzIuOTM4LDM5Ljg3NSBMMzIuODc1LDM5LjgxMiBMMTkuODc1LDQ5Ljc1IEwxMy44NzUsNDYuMTg3IEwxMy44NzUsNDkuODc1IEwxMy44NzUsNDkuODc1IFogTTE0LjE4OCwyMy4yNSBMMzMuMTI2LDExLjY4NyBMNTEuOTM5LDIyLjU2MiBMMzMuMDAxLDM1LjA2MiBMMTQuMTg4LDIzLjI1IFogTTMyLjkzOCw2Mi42MjUgTDUyLjQzOCw0OS45MzcgTDUyLjQzOCw0NS44NzQgTDQ2LjA2Myw0OS43NDkgTDMzLjEyNSwzOS44MTEgTDMzLDM5Ljg3NCBMMzIuOTM4LDYyLjYyNSBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=dwolla] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQwcHgiIGhlaWdodD0iNjVweCIgdmlld0Jve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42ODgsMS40OTMgQzI4LjUsMC43NDMgMjcuOTM4LDAuNjE4IDI3LjEyNSwxLjA1NSBDMjUuOTM3LDEuNzQzIDI0LjA2MiwyLjU1NSAyMS42MjUsMy42MTggTDE3LjE4Nyw1LjU1NiBMMTQuMTg3LDYuOTMxIEMxMy42ODcsNy4xMTkgMTMuMDYyLDcuMzY5IDEyLjMxMiw3LjY4MSBDMTEuNTYyLDguMDU2IDExLjA2Miw4LjI0NCAxMC44NzQsOC4zMDYgQzEwLjQ5OSw4LjQ5NCA5LjU2MSw4Ljk5NCA3Ljk5OSw5LjkzMSBDNi43NDksMTAuNjgxIDUuODExLDExLjM2OSA1LjMxMSwxMS45OTQgQzMuODExLDEzLjQ5NCAyLjg3MywxNS40MzIgMi42MjMsMTcuODA3IEMxLjkzNSwyMi42ODIgMy45MzYsMjcuOTk1IDguNjIzLDMzLjYyIEM4Ljk5OCwzNC4wNTggMTAuMjQ4LDM1LjU1OCAxMi40MzYsMzguMTIgQzEzLjg3NCwzOS43NDUgMTQuOTk5LDQxLjE4MyAxNS45MzYsNDIuNDk1IEMxNS41NjEsNDIuNjgzIDEyLjkzNiw0My44NyA4LjEyMyw0NS45MzMgQzcuMDYsNDYuMzcxIDUuODczLDQ2Ljk5NiA0LjYyMyw0Ny44MDggQzIuMTg1LDQ5LjM3MSAwLjk5OCw1MS43NDYgMC45OTgsNTQuOTk2IEwxLDU1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+Cjxzdmcgd2lkdGg9IjkwcHgiIGhlaWdodD0iMzlweCIgdmlld0JveD0iMCAwIDkwID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jEuNzQ5IDU5LjQ0MSwyMi4zMTIgNTkuMjUzLDIyLjYyNCBDNTkuMTI4LDIyLjk5OSA1OC45NCwyMy4zNzQgNTguNjksMjMuODEyIEM1OC40NCwyNC4xODcgNTguMDY1LDI0LjUgNTcuNjksMjQuNjg3IEM1Ny4yNTIsMjQuODc1IDU2LjgxNSwyNSA1Ni4yNTIsMjUgQzU0LjUwMiwyNSA1My42MjcsMjMuNjg3IDUzLjYyNywyMSBMNTMuNjI1LDIxIFogTTU3Ljg3NSwwLjM3NSBMNTkuNTYzLDMuNjg4IEM2Mi4zMTMsNC4wNjMgNjQuMTI2LDQuOTM4IDY1LjA2Myw2LjI1MSBDNjUuOTM4LDcuNjI2IDY2LjQzOCw5LjQzOSA2Ni40MzgsMTEuODE0IEw2Ni40MzgsMTcuNjI3IEw2OS4xODgsMjMuMzE1IEw2OS4xODgsMzUuNTAzIEw3OC4xODgsMzUuNTAzIEw3OC4xODgsMjMuMzE1IEw5MC4yNTEsMC4zNzcgTDgxLjEyNiwwLjM3NyBMNzQuMTI2LDE1LjE5IEw2Ny43NTEsMC4zNzcgTDU3Ljg3NiwwLjM3NyBMNTcuODc1LDAuMzc1IFogTTU5LjU2MywzLjY4OCBMNjYuNDM4LDE3LjYyNiBMNjYuNDM4LDExLjgxMyBDNjYuNDM4LDkuNDM4IDY1LjkzOCw3LjYyNSA2NS4wNjMsNi4yNSBDNjQuMTI1LDQuOTM3IDYyLjMxMyw0LjA2MiA1OS41NjMsMy42ODcgTDU5LjU2MywzLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5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LjA1LDEuMDA5IEwwLjA0OSwxLjAwOCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjIyMywyMC4yMTkgQzE0LjA0MSwyMC4yNDkgMjcuOTQ2LDE5LjI5NiA0MS43NjQsMjAuNjM2IEM0Mi4xMTEsMjQuMTUxIDQyLjExMSwyNy43MjUgNDIuMTQsMzEuMjY5IEMyOC4yMzUsMzEuMjM5IDE0LjM1OSwzMS4yMzkgMC40NTQsMzEuMjEgQzAuMzY3LDI3LjU0NyAwLjI4MSwyMy44ODMgMC4yMjMsMjAuMjIgTDAuMjIzLDIwLjIyIEwwLjIyMywyMC4yMiBMMC4yMjMsMjAuMjE5IFoiIGlkPSJTaGFwZSI+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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj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NSAzNC40MzcsNDQuMzEzIDM0LjQzNyw0MS45MzggTDM0LjQzOCw0MS45MzggWiBNMTIuODc1LDQyIEMxMi44NzUsNDQuNDM4IDE0Ljc1LDQ2LjMxMyAxNy4xODgsNDYuMzEzIEMxOS42MjYsNDYuMzEzIDIxLjU2Myw0NC4zNzUgMjEuNTYzLDQyIEMyMS41NjMsMzkuNjI1IDE5LjYyNSwzNy42MjUgMTcuMjUsMzcuNjI1IEMxNC42ODcsMzcuNjI1IDEyLjg3NSwzOS41IDEyLjg3NSw0MiBMMTIuODc1LDQyIFogTTMwLDEyLjYyNSBDMjcuNSwxMi42ODggMjUuNjI1LDE0LjUgMjUuNTYyLDE2Ljg3NSBDMjUuNTYyLDE5LjI1IDI3LjUsMjEuMTg4IDI5LjkzNywyMS4xODggQzMyLjUsMjEuMTg4IDM0LjQzNywxOS4zMTMgMzQuNDM3LDE2Ljg3NSBDMzQuMzc0LDE0LjUgMzIuNDM3LDEyLjYyNSAyOS45OTksMTIuNjI1IEwzMCwxMi42MjUgWiBNMTcuMjUsMjEuMTg4IEMxOS43NSwyMS4xODggMjEuNTYzLDE5LjM3NSAyMS41NjMsMTYuODc1IEMyMS41NjMsMTQuNDM3IDE5Ljc1LDEyLjY4NyAxNy4yNSwxMi42MjUgQzE0Ljc1LDEyLjYyNSAxMi42ODcsMTQuNjI1IDEyLjc1LDE2LjkzOCBDMTIuODEzLDE5LjMxMyAxNC44MTMsMjEuMTg4IDE3LjI1LDIxLjE4OCBMMTcuMjUsMjEuMTg4IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=github] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2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IuMjQ4IEw1LDMyLjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=google] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU3cHgiIGhlaWdodD0iNThweCIgdmlld0JveD0iMCAwIDU3IDU4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Z29vZ2xlPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9Imdvb2dsZSIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOS4wMDQsMzQuNDE0IEwyOS4wMDQsMjMuODEyIEw1NS42OCwyMy44MTIgQzU2LjA4LDI1LjYwOCA1Ni4zOTIsMjcuMjg4IDU2LjM5MiwyOS42NTQgQzU2LjM5Miw0NS45MjggNDUuNDc2LDU3LjQ5OCAyOS4wMzIsNTcuNDk4IEMxMy4zLDU3LjQ5OCAwLjUzMiw0NC43MyAwLjUzMiwyOC45OTggQzAuNTMyLDEzLjI2NiAxMy4zLDAuNDk4IDI5LjAzMiwwLjQ5OCBDMzYuNzI4LDAuNDk4IDQzLjE2OCwzLjMyIDQ4LjA5OCw3LjkzNiBMNDAuMDA0LDE1LjgwMiBDMzcuOTUyLDEzLjg2NCAzNC4zNiwxMS41ODQgMjkuMDMyLDExLjU4NCBDMTkuNTk4LDExLjU4NCAxMS45MDQsMTkuNDIyIDExLjkwNCwyOS4wMjYgQzExLjkwNCwzOC42MyAxOS42LDQ2LjQ2OCAyOS4wMzIsNDYuNDY4IEMzOS45NDgsNDYuNDY4IDQzLjk2NiwzOC45MTYgNDQuNzA2LDM0LjQ0IEwyOS4wMDIsMzQuNDQgTDI5LjAwMiwzNC40MTIgTDI5LjAwNCwzNC40MTQgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=instagram] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZG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DIyLjg3NCAzOS4xMjUsMjIuMTg3IDM4LDIxLjY4NyBDMzYuMzc1LDIwLjkzNyAzNC42MjUsMjAuNTYyIDMyLjgxMiwyMC41NjIgQzMwLjkzNywyMC41NjIgMjkuMTg3LDIwLjkzNyAyNy42MjQsMjEuNjg3IEMyNi40OTksMjIuMTg3IDI1LjQzNiwyMi44NzUgMjQuNDk5LDIzLjY4NyBDMjEuODc0LDI2IDIwLjI0OSwyOS4zNzUgMjAuMjQ5LDMzLjEyNSBMMjAuMjUsMzMuMTI1IFogTTIzLjU2MywzMy4xMjUgQzIzLjU2MywyOCAyNy42ODgsMjMuODEyIDMyLjgxMywyMy44MTIgQzM3LjkzOCwyMy44MTIgNDIuMTI2LDI4IDQyLjEyNiwzMy4xMjUgQzQyLjEyNiwzOC4yNSAzNy45MzgsNDIuMzc1IDMyLjgxMyw0Mi4zNzUgQzI3LjY4OCw0Mi4zNzUgMjMuNTYzLDM4LjI1IDIzLjU2MywzMy4xMjUgTDIzLjU2MywzMy4xMjUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=linkedin] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY3cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY3IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhL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IFogTTIzLjU2Myw2My4zNzUgQzIzLjY4OCw1MC41IDIzLjc1MSw0MC41IDIzLjc1MSwzMy4zNzUgQzIzLjc1MSwyNi4yNSAyMy42ODgsMjIgMjMuNTYzLDIwLjYyNSBMMzcuODEzLDIwLjYyNSBMMzcuODEzLDI2LjY4OCBMMzcuNzUsMjYuODEzIEwzNy44MTMsMjYuODEzIEwzNy44MTMsMjYuNjg4IEM0MC44NzYsMjEuOTM4IDQ1LjE4OCwxOS41NjMgNTAuNjg4LDE5LjU2MyBDNTUuNTYzLDE5LjU2MyA1OS41MDEsMjEuMjUxIDYyLjUwMSwyNC41MDEgQzY1LjUwMSwyNy43NTEgNjcuMDAxLDMyLjU2NCA2Ny4wMDEsMzguODc2IEw2Ny4wMDEsNjMuMzc2IEw1Mi43NTEsNjMuMzc2IEw1Mi43NTEsNDAuNTAxIEM1Mi43NTEsMzQuMDYzIDUwLjM3NiwzMC44NzYgNDUuNjI2LDMwLjg3NiBDNDMuNzUxLDMwLjg3NiA0Mi4yNTEsMzEuMzc2IDQxLjA2MywzMi4zNzYgQzM5LjgxMywzMy4zNzYgMzguOTM4LDM0LjU2NCAzOC4zMTMsMzYuMDY0IEMzOCwzNi44NzcgMzcuODEzLDM4LjAwMiAzNy44MTMsMzkuNTAyIEwzNy44MTMsNjMuMzc3IEwyMy41NjMsNjMuMzc3IEwyMy41NjMsNjMuMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=miicard] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjkxcHgiIGhlaWdodD0iNjFweCIgdmlld0JveD0iMCAwIDkxIDYxIiB2ZXJzaW9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MgMzQuMjUxLDE5LjMxMyAzMy4zMTMsMTkuOTM4IEMzMi4zNzUsMjAuNjI2IDMwLjkzOCwyMi4xMjYgMzAuMzEzLDIzLjAwMSBMMjkuODc1LDIzLjY4OSBMMjkuNSwyMi44NzYgQzI4LjQzNywyMC42ODggMjYuNSwxOS4xMjYgMjQuMzEyLDE4LjU2MyBMMjQuMzEzLDE4LjU2MyBaIE02NC4xMjUsMzIuNjg4IEw2NC4xMjUsMTguODc1IEw2MS41LDE4LjgxMiBDNTkuNSwxOC44MTIgNTguOTM3LDE4LjgxMiA1OC44NzUsMTguOTM3IEM1OC44MTMsMTkuMDYyIDU4LjgxMiwyNS4yNSA1OC44MTIsMzIuODEyIEw1OC44NzUsNDYuNSBMNjQuMTI1LDQ2LjUgTDY0LjEyNSwzMi42ODcgTDY0LjEyNSwzMi42ODggWiBNODAuMTI1LDMyLjY4OCBMODAuMTI1LDE4Ljg3NSBMNzcuNTYyLDE4LjgxMiBDNzUuNDk5LDE4LjgxMiA3NC45MzcsMTguODEyIDc0Ljg3NCwxOC45MzcgTDc0Ljg3NCw0Ni41IEw4MC4xMjQsNDYuNSBMODAuMTI0LDMyLjY4NyBMODAuMTI1LDMyLjY4OCBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=oauth2] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0d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TDMwLjg3NSwyNy44MTMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=planningcenter] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYzcHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDYzIDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cGxhbm5pbmdjZW50ZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz48L2RlZnM+CiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBza2V0Y2g6dHlwZT0iTVNQYWdlIj4KICAgICAgICA8ZyBpZD0icGxhbm5pbmdjZW50ZXIiIHNrZXRjaDp0eXBlPSJNU0xheWVyR3JvdXAiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8cGF0aCBkPSJNNC4zMTMsNjEuNSBMNi4zMTMsNjIuNDM4IEwzM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LjYyOCw0MC41IDI0LjEyOCwzNy42ODggQzI1Ljk0MSwzNi41NjMgMjcuNjkxLDM1LjY4OCAyNy45NDEsMzUuNjg4IEMyOC4xOTEsMzUuNjg4IDI4LjM3OSwzNy41NjMgMjguMzc5LDQwLjE4OCBDMjguMzc5LDQ0LjM3NiAyOC40NDIsNDQuNzUxIDI5LjM3OSw0NS4zNzYgTDI5LjM3NSw0NS4zNzUgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=\"); } .auth0-lock-social-button[data-provider^=renren] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYxcHgiIGhlaWdodD0iMzVweCIgdmlld0JveD0iMCAwIDYxIDM1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+cmVucmVuPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc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UuMDYzIDUwLjc1LDMzLjA2MyBDNDguMjUsMzAuMDYzIDQ1Ljg3NSwyNy4xMjUgNDMuNjg3LDI0LjQzOCBMNDMuNjg4LDI0LjQzOCBaIE0yNC4xODgsMzMuMDYzIEMyMS42MjUsMjkuODc1IDE5LjMxMywyNy4wNjMgMTcuMjUsMjQuNSBDMTUuMDYyLDI3LjEyNSAxMi43NSwzMC4wNjMgMTAuMzEyLDMzLjA2MyBDMTUsMzUuMDYzIDE5LjY4NywzNS4xMjYgMjQuMTg3LDMzLjA2MyBMMjQuMTg4LDMzLjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQY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sMTcuODEzIEM0NS40MzcsMTYuNjI1IDQzLjU2MiwxNS42MjUgNDAuOTM3LDE0Ljg3NSBDMzguMzc0LDE0LjEyNSAzNS45OTksMTMuNzUgMzMuOTM3LDEzLjc1IEMzMi4xODcsMTMuNzUgMzAuNTYyLDE0LjE4OCAyOS4wNjIsMTUuMDYzIEMyNy41NjIsMTUuOTM4IDI2LjgxMiwxNy4xODggMjYuODEyLDE4LjgxMyBMMjYuODEzLDE4LjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=shopify] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjU1cHgiIGhlaWdodD0iNjNweCIgdmlld0JveD0iMCAwIDU1IDYzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+c2hvcGlmeTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub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MyAxOS45MzcsMjguMzEzIDIyLjg3NCwyOC42MjYgQzI0LjEyNCwyOC43NTEgMjUuNDk5LDI5LjAwMSAyNS44NzQsMjkuMTg5IEMyNi40MzcsMjkuMzc3IDI2Ljg3NCwyOC43NTEgMjcuNzQ5LDI2LjE4OSBDMjguMzEyLDI0LjMxNCAyOC41NjIsMjIuNzUxIDI4LjM3NCwyMi41NjQgTDI4LjM3NSwyMi41NjMgWiIgaWQ9IlNoYXBlIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj48L3BhdGg+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU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c+\"); 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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0aGVjaXR5IiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPHBhdGggZD0iTTMuODEzLDMuNDM4IEwzLjgxMywzLjQzOCBDNy4wNjMsMC44MTMgNy4zNzYsMC44MTMgMjkuOTM4LDAuODEzIEM1MS4xODgsMC44MTMgNTMuMDYzLDAuOTM4IDU1LjYyNiwzLjAwMSBDNTkuMjUxLDUuODE0IDYwLjMxNCw5LjUwM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OC44NzYsNTAuNjg4IEwyMC4xODgsNjIuODc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=thirtysevensignals] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY1cHgiIGhlaWdodD0iNTVweCIgdmlld0JveD0iMCAwIDY1IDU1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+dGhpcnR5c2V2ZW5zaWduYWxzPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc2tldGNoOnR5cGU9Ik1TUGFnZSI+CiAgICAgICAgPGcgaWQ9InRoaXJ0eXNldmVuc2lnbmFscyIgc2tldGNoOnR5cGU9Ik1TTGF5ZXJHcm91cCIgZmlsbD0iI0ZGRkZGRiI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjU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TIsMzQuNTYgNS4zNywzNi42ODUgQzUuMTgyLDM3LjI0OCA1LjA1NywzNy44MSA0LjkzMiwzOC4zNzMgQzQuODY5LDM4LjYyMyA0LjgwNywzOC45MzYgNC43NDQsMzkuMjQ4IEw0Ljc1LDM5LjI1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+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+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ0d2l0dGVyIiBza2V0Y2g6dHl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TU2IDE2LjQzNCw0LjExOSBDMTYuMTIxLDMuNzQ0IDE1Ljg3MSwzLjQzMSAxNS41NTksMy4zMDYgQzE1LjA1OSwzLjA1NiAxNC4zNzEsMi44NjggMTMuNTU5LDIuODA2IEMxMy4xMjEsMi44MDYgMTIuNjIxLDIuODA2IDEyLjA1OSwyLjc0MyBDMTEuNDk2LDIuNzQzIDEwLjg3MSwyLjc0MyAxMC4xODQsMi44MDYgQzguODcxLDIuODY5IDguMDU5LDIuOTMxIDcuODA5LDIuOTMxIEM3LjM3MSwyLjkzMSA2LjY4NCwyLjkzMSA1Ljc0NiwyLjg2OCBDNS4xMjEsMi44MDUgNC42MjEsMi44MDUgNC4xODMsMi44MDUgTDMuNjIsMi44MDUgQzMuMTIsMi44MDUgMi42MiwyLjg2OCAxLjk5NSwzLjA1NSBDMS4zNywzLjI0MiAwLjg3LDMuNDkzIDAuNDMyLDMuODA1IEwwLjQzNywzLjgxMyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=windowslive] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU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zNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=\"); } .auth0-lock-social-button[data-provider^=windows] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDY0IDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+d2luZG93czwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHNrZXRjaDp0eXBlPSJNU1BhZ2UiPgogICAgICAgIDxnIGlkPSJ3aW5kb3dzIiBza2V0Y2g6dHlwZT0iTVNMYXllckdyb3VwIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwIiBza2V0Y2g6dHlwZT0iTVNTaGFwZUdyb3VwIj4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0wLjA0NSwwLjA0NSBMMjguNzQ3LDAuMDQ1IEwyOC43NDcsMjguNzQ3IEwwLjA0NSwyOC43NDcgTDAuMDQ1LDAuMDQ1IEwwLjA0NSwwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywwLjA0NSBMNjMuMTMyLDAuMDQ1IEw2My4xMzIsMjguNzQ3IEwzNC40MywyOC43NDcgTDM0LjQzLDAuMDQ1IEwzNC40MywwLjA0NSBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOC43NDgsMzUuMjU0IEwyOC43NDgsNjMuOTU2IEwwLjA0Niw2My45NTYgTDAuMDQ2LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBMMjguNzQ4LDM1LjI1NCBaIiBpZD0iU2hhcGUiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zNC40MywzNS4yNTQgTDYzLjEzMiwzNS4yNTQgTDYzLjEzMiw2My45NTYgTDM0LjQzLDYzLjk1NiBMMzQuNDMsMzUuMjU0IEwzNC40MywzNS4yNTQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=wordpress] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjY0cHgiIGhlaWdodD0iNjVweCIgdmlld0JveD0iMCAwIDY0IDY1IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDA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SwzNS4zNzUgTDQxLjYyNiw2MC4yNSBMNDEuODE0LDYwLjYyNSBDMzguNjg5LDYxLjc1IDM1LjQzOSw2Mi4zMTMgMzIuMDAxLDYyLjMxMyBDMjkuMTI2LDYyLjMxMyAyNi4zMTMsNjEuOTM4IDIzLjY4OCw2MS4xODggTDIzLjY4OCw2MS4xODggWiBNNDYuODc1LDU4LjM3NSBMNTUuODc1LDMyLjI1IEM1Ny4zNzUsMjcuODc1IDU4LjEyNSwyNC4zNzUgNTguMTI1LDIxLjY4NyBDNTguMTI1LDIwLjU2MiA1OC4wNjIsMTkuNTYyIDU3LjkzNywxOC42ODcgQzYwLjMxMiwyMyA2MS41LDI3LjY4NyA2MS41LDMyLjgxMiBDNjEuNSwzOC4xMjUgNjAuMTg3LDQzLjA2MiA1Ny41NjIsNDcuNjI1IEM1NC44NzQsNTIuMTg4IDUxLjMxMiw1NS43NSA0Ni44NzQsNTguMzc1IEw0Ni44NzUsNTguMzc1IFoiIGlkPSJTaGFwZSIgc2tldGNoOnR5cGU9Ik1TU2hhcGVHcm91cCI+PC9wYXRoPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+\"); } .auth0-lock-social-button[data-provider^=yahoo] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9Ijg4cHgiIGhlaWdodD0iNTJweCIgdmlld0JveD0iMCAwIDg4IDUyIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggM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43NTEsNDYuODc5IDI4Ljc1MSw0Ni41NjcgTDI4Ljc1MSwzNC4yNTQgQzI4Ljc1MSwzMy42OTEgMjguNTAxLDMzLjE5MSAyOC4wNjMsMzIuNjI5IEw5LjY4OCwxMC42MjkgTDIuNTYzLDEwLjYyOSBMMS4zNzUsMTAuMDA0IEwxLjE4Nyw5Ljg3OSBMMC44NzQsOS41NjYgQzAuNjg2LDkuMzc4IDAuNTYxLDkuMTkxIDAuMzc0LDguODc4IEwwLDcuNjg4IFogTTc2LjE4OCwwLjY4OCBMNzguODEzLDM3LjI1MSBMODIuNjg4LDM3LjQzOSBMODguMDAxLDEuMTg5IEw3Ni4xODgsMC42ODggWiBNNzcsNDkuNTYzIEw4NC4wNjMsNDkuODEzIEw4NC4zMTMsNDIuNzUgTDc3LjI1LDQyLjUgTDc3LDQ5LjU2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==\"); } .auth0-lock-social-button[data-provider^=yammer] .auth0-lock-social-button-icon { background-image: url(\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjYycHgiIGhlaWdodD0iNTNweCIgdmlld0JveD0iMCAwIDYyIDUzIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOnNrZXRjaD0iaHR0cDovL3d3dy5ib2hlbWlhbmNvZGluZy5jb20vc2tldGNoL25zIj4KICAgIDwhLS0gR2VuZXJhdG9yOiBTa2V0Y2ggMy40ICgxNTU4OCkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y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cGVHcm91cCI+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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjgwcHgiIGhlaWdodD0iNjRweCIgdmlld0JveD0iMCAwIDgwIDY0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy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CBMNTQuOTM4LDE0LjA2MyBaIiBpZD0iU2hhcGUiIHNrZXRjaDp0eXBlPSJNU1NoYXBlR3JvdXAiPjwvcGF0aD4KICAgICAgICA8L2c+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+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSI2NHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTE1My4wMDAwMDAsIC02MDMzLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTYxLjEyNSw2MDk4IEMxMTU2LjYzNzk3LDYwOTggMTE1Myw2MDk0LjM2MTg2IDExNTMsNjA4OS44NzU2MyBMMTE1Myw2MDY1LjQ5OTQ5IEMxMTUzLDYwNjEuMDEyMjUgMTE1Ni42Mzc5Nyw2MDU3LjM3MzEgMTE2MS4xMjUsNjA1Ny4zNzMxIEwxMTYxLjEyN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jEyNSw2MDkzLjkzNTI4IEwxMTk3LjY4NzUsNjA5My45MzUyOCBDMTE5OS45MzEwMiw2MDkzLjkzNTI4IDEyMDEuNzUsNjA5Mi4xMTYyMSAxMjAxLjc1LDYwODkuODc1NjMgTDEyMDEuNzUsNjA2NS40OTk0OSBMMTIwMS43NSw2MDY1LjQ5OTQ5IFogTTExNzcuMzc1LDYwODMuNzgwNTggTDExNzcuMzc1LDYwNzEuNTkyNTEgQzExNzcuMzc1LDYwNzAuNDcxMjEgMTE3OC4yODM5OCw2MDY5LjU2MTE3IDExNzkuNDA2MjUsNjA2OS41NjExNyBDMTE4MC41Mjg1Miw2MDY5LjU2MTE3IDExODEuNDM3NSw2MDcwLjQ3MTIxIDExODEuNDM3NSw2MDcxLjU5MjUxIEwxMTgxLjQzNzUsNjA4My43ODA1OCBDMTE4MS40Mzc1LDYwODQuOTAwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+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.6.0';\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/* 142 */\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__(19);\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/* 143 */\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__(298);\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/* 144 */\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/* 145 */\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__(35);\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/* 146 */\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/* 147 */\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/* 148 */\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/* 149 */\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__(95);\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/* 150 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar IframeHandler = __webpack_require__(148);\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/* 151 */\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/* 152 */\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/* 153 */\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/* 154 */\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/* 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'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 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 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 r = exports.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/* 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 = 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, '\\\\$&').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__(96);\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__(97);\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__(97);\n\tvar formats = __webpack_require__(96);\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__(315);\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.4.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__(82).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__(44);\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__(44);\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__(44);\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__(196);\n\n/***/ },\n/* 187 */\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 * @providesModule AutoFocusUtils\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\t\n\tvar focusNode = __webpack_require__(131);\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/* 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 * @providesModule BeforeInputEventPlugin\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 EventConstants = __webpack_require__(20);\n\tvar EventPropagators = __webpack_require__(38);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar FallbackCompositionState = __webpack_require__(194);\n\tvar SyntheticCompositionEvent = __webpack_require__(235);\n\tvar SyntheticInputEvent = __webpack_require__(238);\n\t\n\tvar keyOf = __webpack_require__(25);\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\tvar topLevelTypes = EventConstants.topLevelTypes;\n\t\n\t// Events and their corresponding property names.\n\tvar eventTypes = {\n\t beforeInput: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onBeforeInput: null }),\n\t captured: keyOf({ onBeforeInputCapture: null })\n\t },\n\t dependencies: [topLevelTypes.topCompositionEnd, topLevelTypes.topKeyPress, topLevelTypes.topTextInput, topLevelTypes.topPaste]\n\t },\n\t compositionEnd: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onCompositionEnd: null }),\n\t captured: keyOf({ onCompositionEndCapture: null })\n\t },\n\t dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionEnd, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]\n\t },\n\t compositionStart: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onCompositionStart: null }),\n\t captured: keyOf({ onCompositionStartCapture: null })\n\t },\n\t dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionStart, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]\n\t },\n\t compositionUpdate: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onCompositionUpdate: null }),\n\t captured: keyOf({ onCompositionUpdateCapture: null })\n\t },\n\t dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionUpdate, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.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 topLevelTypes.topCompositionStart:\n\t return eventTypes.compositionStart;\n\t case topLevelTypes.topCompositionEnd:\n\t return eventTypes.compositionEnd;\n\t case topLevelTypes.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 === topLevelTypes.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 topLevelTypes.topKeyUp:\n\t // Command keys insert or clear IME input.\n\t return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;\n\t case topLevelTypes.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 topLevelTypes.topKeyPress:\n\t case topLevelTypes.topMouseDown:\n\t case topLevelTypes.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 topLevelTypes.topCompositionEnd:\n\t return getDataFromCustomEvent(nativeEvent);\n\t case topLevelTypes.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 topLevelTypes.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 === topLevelTypes.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 topLevelTypes.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 topLevelTypes.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 topLevelTypes.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/* 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 * @providesModule CSSPropertyOperations\n\t */\n\t\n\t'use strict';\n\t\n\tvar CSSProperty = __webpack_require__(100);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\t\n\tvar camelizeStyleName = __webpack_require__(253);\n\tvar dangerousStyleValue = __webpack_require__(245);\n\tvar hyphenateStyleName = __webpack_require__(260);\n\tvar memoizeStringOnly = __webpack_require__(263);\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(component._debugID, 'update styles', styles);\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/* 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 * @providesModule ChangeEventPlugin\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventConstants = __webpack_require__(20);\n\tvar EventPluginHub = __webpack_require__(37);\n\tvar EventPropagators = __webpack_require__(38);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactUpdates = __webpack_require__(17);\n\tvar SyntheticEvent = __webpack_require__(21);\n\t\n\tvar getEventTarget = __webpack_require__(76);\n\tvar isEventSupported = __webpack_require__(77);\n\tvar isTextInputElement = __webpack_require__(127);\n\tvar keyOf = __webpack_require__(25);\n\t\n\tvar topLevelTypes = EventConstants.topLevelTypes;\n\t\n\tvar eventTypes = {\n\t change: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onChange: null }),\n\t captured: keyOf({ onChangeCapture: null })\n\t },\n\t dependencies: [topLevelTypes.topBlur, topLevelTypes.topChange, topLevelTypes.topClick, topLevelTypes.topFocus, topLevelTypes.topInput, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.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 === topLevelTypes.topChange) {\n\t return targetInst;\n\t }\n\t}\n\tfunction handleEventsForChangeEventIE8(topLevelType, target, targetInst) {\n\t if (topLevelType === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.topSelectionChange || topLevelType === topLevelTypes.topKeyUp || topLevelType === topLevelTypes.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 === topLevelTypes.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/* 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 * @providesModule Danger\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__(256);\n\tvar emptyFunction = __webpack_require__(13);\n\tvar invariant = __webpack_require__(2);\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/* 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 * @providesModule DefaultEventPluginOrder\n\t */\n\t\n\t'use strict';\n\t\n\tvar keyOf = __webpack_require__(25);\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\tvar DefaultEventPluginOrder = [keyOf({ ResponderEventPlugin: null }), keyOf({ SimpleEventPlugin: null }), keyOf({ TapEventPlugin: null }), keyOf({ EnterLeaveEventPlugin: null }), keyOf({ ChangeEventPlugin: null }), keyOf({ SelectEventPlugin: null }), keyOf({ BeforeInputEventPlugin: null })];\n\t\n\tmodule.exports = DefaultEventPluginOrder;\n\n/***/ },\n/* 193 */\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 * @providesModule EnterLeaveEventPlugin\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventConstants = __webpack_require__(20);\n\tvar EventPropagators = __webpack_require__(38);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar SyntheticMouseEvent = __webpack_require__(48);\n\t\n\tvar keyOf = __webpack_require__(25);\n\t\n\tvar topLevelTypes = EventConstants.topLevelTypes;\n\t\n\tvar eventTypes = {\n\t mouseEnter: {\n\t registrationName: keyOf({ onMouseEnter: null }),\n\t dependencies: [topLevelTypes.topMouseOut, topLevelTypes.topMouseOver]\n\t },\n\t mouseLeave: {\n\t registrationName: keyOf({ onMouseLeave: null }),\n\t dependencies: [topLevelTypes.topMouseOut, topLevelTypes.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 === topLevelTypes.topMouseOver && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n\t return null;\n\t }\n\t if (topLevelType !== topLevelTypes.topMouseOut && topLevelType !== topLevelTypes.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 === topLevelTypes.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/* 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 * @providesModule FallbackCompositionState\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar PooledClass = __webpack_require__(23);\n\t\n\tvar getTextContentAccessor = __webpack_require__(124);\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/* 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 * @providesModule HTMLDOMPropertyConfig\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/* 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 * @providesModule ReactCSSTransitionGroup\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar React = __webpack_require__(46);\n\t\n\tvar ReactTransitionGroup = __webpack_require__(229);\n\tvar ReactCSSTransitionGroupChild = __webpack_require__(197);\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\tvar ReactCSSTransitionGroup = React.createClass({\n\t displayName: 'ReactCSSTransitionGroup',\n\t\n\t 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\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t transitionAppear: false,\n\t transitionEnter: true,\n\t transitionLeave: true\n\t };\n\t },\n\t\n\t _wrapChild: function _wrapChild(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 },\n\t\n\t render: function render() {\n\t return React.createElement(ReactTransitionGroup, _assign({}, this.props, { childFactory: this._wrapChild }));\n\t }\n\t});\n\t\n\tmodule.exports = ReactCSSTransitionGroup;\n\n/***/ },\n/* 197 */\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 * @providesModule ReactCSSTransitionGroupChild\n\t */\n\t\n\t'use strict';\n\t\n\tvar React = __webpack_require__(46);\n\tvar ReactDOM = __webpack_require__(105);\n\t\n\tvar CSSCore = __webpack_require__(251);\n\tvar ReactTransitionEvents = __webpack_require__(228);\n\t\n\tvar onlyChild = __webpack_require__(128);\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 = ReactDOM.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/* 198 */\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 * @providesModule ReactChildReconciler\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactReconciler = __webpack_require__(33);\n\t\n\tvar instantiateReactComponent = __webpack_require__(126);\n\tvar KeyEscapeUtils = __webpack_require__(62);\n\tvar shouldUpdateReactComponent = __webpack_require__(78);\n\tvar traverseAllChildren = __webpack_require__(79);\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__(66);\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('./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__(42)))\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 * @providesModule ReactComponentBrowserEnvironment\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMChildrenOperations = __webpack_require__(58);\n\tvar ReactDOMIDOperations = __webpack_require__(207);\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/* 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 * @providesModule ReactCompositeComponent\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__(6);\n\t\n\tvar ReactComponentEnvironment = __webpack_require__(65);\n\tvar ReactCurrentOwner = __webpack_require__(24);\n\tvar ReactElement = __webpack_require__(16);\n\tvar ReactErrorUtils = __webpack_require__(67);\n\tvar ReactInstanceMap = __webpack_require__(32);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\tvar ReactNodeTypes = __webpack_require__(114);\n\tvar ReactPropTypeLocations = __webpack_require__(70);\n\tvar ReactReconciler = __webpack_require__(33);\n\t\n\tvar checkReactTypeSpec = __webpack_require__(244);\n\tvar emptyObject = __webpack_require__(41);\n\tvar invariant = __webpack_require__(2);\n\tvar shallowEqual = __webpack_require__(81);\n\tvar shouldUpdateReactComponent = __webpack_require__(78);\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 || ReactElement.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 ReactCompositeComponentMixin = {\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 || ReactElement.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, ReactPropTypeLocations.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, ReactPropTypeLocations.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 checkReactTypeSpec(typeSpecs, values, location, this.getName(), null, this._debugID);\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 renderedComponent;\n\t\n\t if (false) {\n\t renderedComponent = measureLifeCyclePerf(function () {\n\t return inst.render();\n\t }, this._debugID, 'render');\n\t } else {\n\t renderedComponent = 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 (renderedComponent === undefined && inst.render._isMockFunction) {\n\t // This is probably bad practice. Consider warning here and\n\t // deprecating this convenience.\n\t renderedComponent = null;\n\t }\n\t }\n\t\n\t return renderedComponent;\n\t },\n\t\n\t /**\n\t * @private\n\t */\n\t _renderValidatedComponent: function _renderValidatedComponent() {\n\t var renderedComponent;\n\t if ((\"production\") !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) {\n\t ReactCurrentOwner.current = this;\n\t try {\n\t renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext();\n\t } finally {\n\t ReactCurrentOwner.current = null;\n\t }\n\t } else {\n\t renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext();\n\t }\n\t !(\n\t // TODO: An `isValidNode` function would probably be more appropriate\n\t renderedComponent === null || renderedComponent === false || ReactElement.isValidElement(renderedComponent)) ? 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 renderedComponent;\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\tvar ReactCompositeComponent = {\n\t\n\t Mixin: ReactCompositeComponentMixin\n\t\n\t};\n\t\n\tmodule.exports = ReactCompositeComponent;\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 * @providesModule ReactDOMButton\n\t */\n\t\n\t'use strict';\n\t\n\tvar DisabledInputUtils = __webpack_require__(45);\n\t\n\t/**\n\t * Implements a <button> host component that does not receive mouse events\n\t * when `disabled` is set.\n\t */\n\tvar ReactDOMButton = {\n\t getHostProps: DisabledInputUtils.getHostProps\n\t};\n\t\n\tmodule.exports = ReactDOMButton;\n\n/***/ },\n/* 202 */\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 * @providesModule ReactDOMComponent\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__(6);\n\t\n\tvar AutoFocusUtils = __webpack_require__(187);\n\tvar CSSPropertyOperations = __webpack_require__(189);\n\tvar DOMLazyTree = __webpack_require__(30);\n\tvar DOMNamespaces = __webpack_require__(59);\n\tvar DOMProperty = __webpack_require__(31);\n\tvar DOMPropertyOperations = __webpack_require__(102);\n\tvar EventConstants = __webpack_require__(20);\n\tvar EventPluginHub = __webpack_require__(37);\n\tvar EventPluginRegistry = __webpack_require__(60);\n\tvar ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactDOMButton = __webpack_require__(201);\n\tvar ReactDOMComponentFlags = __webpack_require__(106);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactDOMInput = __webpack_require__(208);\n\tvar ReactDOMOption = __webpack_require__(209);\n\tvar ReactDOMSelect = __webpack_require__(107);\n\tvar ReactDOMTextarea = __webpack_require__(212);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\tvar ReactMultiChild = __webpack_require__(220);\n\tvar ReactServerRenderingTransaction = __webpack_require__(225);\n\t\n\tvar emptyFunction = __webpack_require__(13);\n\tvar escapeTextContentForBrowser = __webpack_require__(49);\n\tvar invariant = __webpack_require__(2);\n\tvar isEventSupported = __webpack_require__(77);\n\tvar keyOf = __webpack_require__(25);\n\tvar shallowEqual = __webpack_require__(81);\n\tvar validateDOMNesting = __webpack_require__(80);\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 = keyOf({ style: null });\n\tvar HTML = keyOf({ __html: null });\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(EventConstants.topLevelTypes.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(EventConstants.topLevelTypes[event], mediaEvents[event], node));\n\t }\n\t }\n\t break;\n\t case 'source':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node)];\n\t break;\n\t case 'img':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load', node)];\n\t break;\n\t case 'form':\n\t inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topReset, 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.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(EventConstants.topLevelTypes.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\t// NOTE: menuitem's close tag should be omitted, but that causes problems.\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 'button':\n\t props = ReactDOMButton.getHostProps(this, props, hostParent);\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 'button':\n\t lastProps = ReactDOMButton.getHostProps(this, lastProps);\n\t nextProps = ReactDOMButton.getHostProps(this, nextProps);\n\t break;\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/* 203 */\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 * @providesModule ReactDOMContainerInfo\n\t */\n\t\n\t'use strict';\n\t\n\tvar validateDOMNesting = __webpack_require__(80);\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/* 204 */\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 * @providesModule ReactDOMEmptyComponent\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar DOMLazyTree = __webpack_require__(30);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\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/* 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 * @providesModule ReactDOMFactories\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactElement = __webpack_require__(16);\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/* 206 */\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 * @providesModule ReactDOMFeatureFlags\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactDOMFeatureFlags = {\n\t useCreateElement: true\n\t};\n\t\n\tmodule.exports = ReactDOMFeatureFlags;\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 * @providesModule ReactDOMIDOperations\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMChildrenOperations = __webpack_require__(58);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\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/* 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 * @providesModule ReactDOMInput\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(6);\n\t\n\tvar DisabledInputUtils = __webpack_require__(45);\n\tvar DOMPropertyOperations = __webpack_require__(102);\n\tvar LinkedValueUtils = __webpack_require__(63);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactUpdates = __webpack_require__(17);\n\t\n\tvar invariant = __webpack_require__(2);\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 }, DisabledInputUtils.getHostProps(inst, 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/* 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 * @providesModule ReactDOMOption\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar ReactChildren = __webpack_require__(103);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactDOMSelect = __webpack_require__(107);\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 ReactChildren.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/* 210 */\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 * @providesModule ReactDOMSelection\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar getNodeForCharacterOffset = __webpack_require__(248);\n\tvar getTextContentAccessor = __webpack_require__(124);\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/* 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 * @providesModule ReactDOMTextComponent\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(6);\n\t\n\tvar DOMChildrenOperations = __webpack_require__(58);\n\tvar DOMLazyTree = __webpack_require__(30);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\t\n\tvar escapeTextContentForBrowser = __webpack_require__(49);\n\tvar invariant = __webpack_require__(2);\n\tvar validateDOMNesting = __webpack_require__(80);\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/* 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 * @providesModule ReactDOMTextarea\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4),\n\t _assign = __webpack_require__(6);\n\t\n\tvar DisabledInputUtils = __webpack_require__(45);\n\tvar LinkedValueUtils = __webpack_require__(63);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactUpdates = __webpack_require__(17);\n\t\n\tvar invariant = __webpack_require__(2);\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({}, DisabledInputUtils.getHostProps(inst, 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/* 213 */\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 * @providesModule ReactDOMTreeTraversal\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(2);\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], false, arg);\n\t }\n\t for (i = 0; i < path.length; i++) {\n\t fn(path[i], true, 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], true, argFrom);\n\t }\n\t for (i = pathTo.length; i-- > 0;) {\n\t fn(pathTo[i], false, 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/* 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 * @providesModule ReactDefaultBatchingStrategy\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar ReactUpdates = __webpack_require__(17);\n\tvar Transaction = __webpack_require__(40);\n\t\n\tvar emptyFunction = __webpack_require__(13);\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.Mixin, {\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 callback(a, b, c, d, e);\n\t } else {\n\t transaction.perform(callback, null, a, b, c, d, e);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = ReactDefaultBatchingStrategy;\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 * @providesModule ReactDefaultInjection\n\t */\n\t\n\t'use strict';\n\t\n\tvar BeforeInputEventPlugin = __webpack_require__(188);\n\tvar ChangeEventPlugin = __webpack_require__(190);\n\tvar DefaultEventPluginOrder = __webpack_require__(192);\n\tvar EnterLeaveEventPlugin = __webpack_require__(193);\n\tvar HTMLDOMPropertyConfig = __webpack_require__(195);\n\tvar ReactComponentBrowserEnvironment = __webpack_require__(199);\n\tvar ReactDOMComponent = __webpack_require__(202);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactDOMEmptyComponent = __webpack_require__(204);\n\tvar ReactDOMTreeTraversal = __webpack_require__(213);\n\tvar ReactDOMTextComponent = __webpack_require__(211);\n\tvar ReactDefaultBatchingStrategy = __webpack_require__(214);\n\tvar ReactEventListener = __webpack_require__(217);\n\tvar ReactInjection = __webpack_require__(218);\n\tvar ReactReconcileTransaction = __webpack_require__(223);\n\tvar SVGDOMPropertyConfig = __webpack_require__(230);\n\tvar SelectEventPlugin = __webpack_require__(231);\n\tvar SimpleEventPlugin = __webpack_require__(232);\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(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/* 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 * @providesModule ReactEventEmitterMixin\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventPluginHub = __webpack_require__(37);\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/* 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 * @providesModule ReactEventListener\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar EventListener = __webpack_require__(130);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar PooledClass = __webpack_require__(23);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactUpdates = __webpack_require__(17);\n\t\n\tvar getEventTarget = __webpack_require__(76);\n\tvar getUnboundedScrollPosition = __webpack_require__(258);\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} handle 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, handle) {\n\t var element = handle;\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} handle 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, handle) {\n\t var element = handle;\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/* 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 * @providesModule ReactInjection\n\t */\n\t\n\t'use strict';\n\t\n\tvar DOMProperty = __webpack_require__(31);\n\tvar EventPluginHub = __webpack_require__(37);\n\tvar EventPluginUtils = __webpack_require__(61);\n\tvar ReactComponentEnvironment = __webpack_require__(65);\n\tvar ReactClass = __webpack_require__(104);\n\tvar ReactEmptyComponent = __webpack_require__(108);\n\tvar ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactHostComponent = __webpack_require__(110);\n\tvar ReactUpdates = __webpack_require__(17);\n\t\n\tvar ReactInjection = {\n\t Component: ReactComponentEnvironment.injection,\n\t Class: ReactClass.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/* 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 * @providesModule ReactMarkupChecksum\n\t */\n\t\n\t'use strict';\n\t\n\tvar adler32 = __webpack_require__(243);\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/* 220 */\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 * @providesModule ReactMultiChild\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactComponentEnvironment = __webpack_require__(65);\n\tvar ReactInstanceMap = __webpack_require__(32);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\tvar ReactMultiChildUpdateTypes = __webpack_require__(113);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(24);\n\tvar ReactReconciler = __webpack_require__(33);\n\tvar ReactChildReconciler = __webpack_require__(198);\n\t\n\tvar emptyFunction = __webpack_require__(13);\n\tvar flattenChildren = __webpack_require__(120);\n\tvar invariant = __webpack_require__(2);\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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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/* 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 * @providesModule ReactOwner\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar invariant = __webpack_require__(2);\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 /**\n\t * @param {?object} object\n\t * @return {boolean} True if `object` is a valid owner.\n\t * @final\n\t */\n\t isValidOwner: function isValidOwner(object) {\n\t return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function');\n\t },\n\t\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 !ReactOwner.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 !ReactOwner.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/* 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 * @providesModule ReactPureComponent\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar ReactComponent = __webpack_require__(64);\n\tvar ReactNoopUpdateQueue = __webpack_require__(68);\n\t\n\tvar emptyObject = __webpack_require__(41);\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/* 223 */\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 * @providesModule ReactReconcileTransaction\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar CallbackQueue = __webpack_require__(101);\n\tvar PooledClass = __webpack_require__(23);\n\tvar ReactBrowserEventEmitter = __webpack_require__(47);\n\tvar ReactInputSelection = __webpack_require__(111);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\tvar Transaction = __webpack_require__(40);\n\tvar ReactUpdateQueue = __webpack_require__(72);\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, Mixin);\n\t\n\tPooledClass.addPoolingTo(ReactReconcileTransaction);\n\t\n\tmodule.exports = ReactReconcileTransaction;\n\n/***/ },\n/* 224 */\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 * @providesModule ReactRef\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactOwner = __webpack_require__(221);\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 || element === false) {\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 prevEmpty = prevElement === null || prevElement === false;\n\t var nextEmpty = nextElement === null || nextElement === false;\n\t\n\t return (\n\t // This has a few false positives w/r/t empty components.\n\t prevEmpty || nextEmpty || nextElement.ref !== prevElement.ref ||\n\t // If owner changes but we have an unchanged function ref, don't update refs\n\t typeof nextElement.ref === 'string' && nextElement._owner !== prevElement._owner\n\t );\n\t};\n\t\n\tReactRef.detachRefs = function (instance, element) {\n\t if (element === null || element === false) {\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/* 225 */\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 * @providesModule ReactServerRenderingTransaction\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar PooledClass = __webpack_require__(23);\n\tvar Transaction = __webpack_require__(40);\n\tvar ReactInstrumentation = __webpack_require__(15);\n\tvar ReactServerUpdateQueue = __webpack_require__(226);\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, Mixin);\n\t\n\tPooledClass.addPoolingTo(ReactServerRenderingTransaction);\n\t\n\tmodule.exports = ReactServerRenderingTransaction;\n\n/***/ },\n/* 226 */\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 * @providesModule ReactServerUpdateQueue\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__(72);\n\tvar Transaction = __webpack_require__(40);\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 /* :: transaction: Transaction; */\n\t\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/* 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 * @providesModule ReactTransitionChildMapping\n\t */\n\t\n\t'use strict';\n\t\n\tvar flattenChildren = __webpack_require__(120);\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/* 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 * @providesModule ReactTransitionEvents\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\t\n\tvar getVendorPrefixedEventName = __webpack_require__(125);\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/* 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 * @providesModule ReactTransitionGroup\n\t */\n\t\n\t'use strict';\n\t\n\tvar _assign = __webpack_require__(6);\n\t\n\tvar React = __webpack_require__(46);\n\tvar ReactInstanceMap = __webpack_require__(32);\n\tvar ReactTransitionChildMapping = __webpack_require__(227);\n\t\n\tvar emptyFunction = __webpack_require__(13);\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\tvar ReactTransitionGroup = React.createClass({\n\t displayName: 'ReactTransitionGroup',\n\t\n\t propTypes: {\n\t component: React.PropTypes.any,\n\t childFactory: React.PropTypes.func\n\t },\n\t\n\t getDefaultProps: function getDefaultProps() {\n\t return {\n\t component: 'span',\n\t childFactory: emptyFunction.thatReturnsArgument\n\t };\n\t },\n\t\n\t getInitialState: function getInitialState() {\n\t return {\n\t // TODO: can we get useful debug information to show at this point?\n\t children: ReactTransitionChildMapping.getChildMapping(this.props.children)\n\t };\n\t },\n\t\n\t componentWillMount: function componentWillMount() {\n\t this.currentlyTransitioningKeys = {};\n\t this.keysToEnter = [];\n\t this.keysToLeave = [];\n\t },\n\t\n\t 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 componentWillReceiveProps: function componentWillReceiveProps(nextProps) {\n\t var nextChildMapping;\n\t if (false) {\n\t nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children, ReactInstanceMap.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 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 performAppear: function performAppear(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 },\n\t\n\t _handleDoneAppearing: function _handleDoneAppearing(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, ReactInstanceMap.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 },\n\t\n\t performEnter: function performEnter(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 },\n\t\n\t _handleDoneEntering: function _handleDoneEntering(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, ReactInstanceMap.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 },\n\t\n\t performLeave: function performLeave(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 },\n\t\n\t _handleDoneLeaving: function _handleDoneLeaving(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, ReactInstanceMap.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 },\n\t\n\t 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\n\tmodule.exports = ReactTransitionGroup;\n\n/***/ },\n/* 230 */\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 * @providesModule SVGDOMPropertyConfig\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/* 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 * @providesModule SelectEventPlugin\n\t */\n\t\n\t'use strict';\n\t\n\tvar EventConstants = __webpack_require__(20);\n\tvar EventPropagators = __webpack_require__(38);\n\tvar ExecutionEnvironment = __webpack_require__(10);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactInputSelection = __webpack_require__(111);\n\tvar SyntheticEvent = __webpack_require__(21);\n\t\n\tvar getActiveElement = __webpack_require__(132);\n\tvar isTextInputElement = __webpack_require__(127);\n\tvar keyOf = __webpack_require__(25);\n\tvar shallowEqual = __webpack_require__(81);\n\t\n\tvar topLevelTypes = EventConstants.topLevelTypes;\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: keyOf({ onSelect: null }),\n\t captured: keyOf({ onSelectCapture: null })\n\t },\n\t dependencies: [topLevelTypes.topBlur, topLevelTypes.topContextMenu, topLevelTypes.topFocus, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown, topLevelTypes.topMouseUp, topLevelTypes.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\tvar ON_SELECT_KEY = keyOf({ onSelect: null });\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 topLevelTypes.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 topLevelTypes.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 topLevelTypes.topMouseDown:\n\t mouseDown = true;\n\t break;\n\t case topLevelTypes.topContextMenu:\n\t case topLevelTypes.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 topLevelTypes.topSelectionChange:\n\t if (skipSelectionChangeEvent) {\n\t break;\n\t }\n\t // falls through\n\t case topLevelTypes.topKeyDown:\n\t case topLevelTypes.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 === ON_SELECT_KEY) {\n\t hasListener = true;\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = SelectEventPlugin;\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 * @providesModule SimpleEventPlugin\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar EventConstants = __webpack_require__(20);\n\tvar EventListener = __webpack_require__(130);\n\tvar EventPropagators = __webpack_require__(38);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar SyntheticAnimationEvent = __webpack_require__(233);\n\tvar SyntheticClipboardEvent = __webpack_require__(234);\n\tvar SyntheticEvent = __webpack_require__(21);\n\tvar SyntheticFocusEvent = __webpack_require__(237);\n\tvar SyntheticKeyboardEvent = __webpack_require__(239);\n\tvar SyntheticMouseEvent = __webpack_require__(48);\n\tvar SyntheticDragEvent = __webpack_require__(236);\n\tvar SyntheticTouchEvent = __webpack_require__(240);\n\tvar SyntheticTransitionEvent = __webpack_require__(241);\n\tvar SyntheticUIEvent = __webpack_require__(39);\n\tvar SyntheticWheelEvent = __webpack_require__(242);\n\t\n\tvar emptyFunction = __webpack_require__(13);\n\tvar getEventCharCode = __webpack_require__(74);\n\tvar invariant = __webpack_require__(2);\n\tvar keyOf = __webpack_require__(25);\n\t\n\tvar topLevelTypes = EventConstants.topLevelTypes;\n\t\n\tvar eventTypes = {\n\t abort: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onAbort: true }),\n\t captured: keyOf({ onAbortCapture: true })\n\t }\n\t },\n\t animationEnd: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onAnimationEnd: true }),\n\t captured: keyOf({ onAnimationEndCapture: true })\n\t }\n\t },\n\t animationIteration: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onAnimationIteration: true }),\n\t captured: keyOf({ onAnimationIterationCapture: true })\n\t }\n\t },\n\t animationStart: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onAnimationStart: true }),\n\t captured: keyOf({ onAnimationStartCapture: true })\n\t }\n\t },\n\t blur: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onBlur: true }),\n\t captured: keyOf({ onBlurCapture: true })\n\t }\n\t },\n\t canPlay: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onCanPlay: true }),\n\t captured: keyOf({ onCanPlayCapture: true })\n\t }\n\t },\n\t canPlayThrough: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onCanPlayThrough: true }),\n\t captured: keyOf({ onCanPlayThroughCapture: true })\n\t }\n\t },\n\t click: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onClick: true }),\n\t captured: keyOf({ onClickCapture: true })\n\t }\n\t },\n\t contextMenu: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onContextMenu: true }),\n\t captured: keyOf({ onContextMenuCapture: true })\n\t }\n\t },\n\t copy: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onCopy: true }),\n\t captured: keyOf({ onCopyCapture: true })\n\t }\n\t },\n\t cut: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onCut: true }),\n\t captured: keyOf({ onCutCapture: true })\n\t }\n\t },\n\t doubleClick: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDoubleClick: true }),\n\t captured: keyOf({ onDoubleClickCapture: true })\n\t }\n\t },\n\t drag: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDrag: true }),\n\t captured: keyOf({ onDragCapture: true })\n\t }\n\t },\n\t dragEnd: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDragEnd: true }),\n\t captured: keyOf({ onDragEndCapture: true })\n\t }\n\t },\n\t dragEnter: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDragEnter: true }),\n\t captured: keyOf({ onDragEnterCapture: true })\n\t }\n\t },\n\t dragExit: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDragExit: true }),\n\t captured: keyOf({ onDragExitCapture: true })\n\t }\n\t },\n\t dragLeave: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDragLeave: true }),\n\t captured: keyOf({ onDragLeaveCapture: true })\n\t }\n\t },\n\t dragOver: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDragOver: true }),\n\t captured: keyOf({ onDragOverCapture: true })\n\t }\n\t },\n\t dragStart: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDragStart: true }),\n\t captured: keyOf({ onDragStartCapture: true })\n\t }\n\t },\n\t drop: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDrop: true }),\n\t captured: keyOf({ onDropCapture: true })\n\t }\n\t },\n\t durationChange: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onDurationChange: true }),\n\t captured: keyOf({ onDurationChangeCapture: true })\n\t }\n\t },\n\t emptied: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onEmptied: true }),\n\t captured: keyOf({ onEmptiedCapture: true })\n\t }\n\t },\n\t encrypted: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onEncrypted: true }),\n\t captured: keyOf({ onEncryptedCapture: true })\n\t }\n\t },\n\t ended: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onEnded: true }),\n\t captured: keyOf({ onEndedCapture: true })\n\t }\n\t },\n\t error: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onError: true }),\n\t captured: keyOf({ onErrorCapture: true })\n\t }\n\t },\n\t focus: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onFocus: true }),\n\t captured: keyOf({ onFocusCapture: true })\n\t }\n\t },\n\t input: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onInput: true }),\n\t captured: keyOf({ onInputCapture: true })\n\t }\n\t },\n\t invalid: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onInvalid: true }),\n\t captured: keyOf({ onInvalidCapture: true })\n\t }\n\t },\n\t keyDown: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onKeyDown: true }),\n\t captured: keyOf({ onKeyDownCapture: true })\n\t }\n\t },\n\t keyPress: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onKeyPress: true }),\n\t captured: keyOf({ onKeyPressCapture: true })\n\t }\n\t },\n\t keyUp: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onKeyUp: true }),\n\t captured: keyOf({ onKeyUpCapture: true })\n\t }\n\t },\n\t load: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onLoad: true }),\n\t captured: keyOf({ onLoadCapture: true })\n\t }\n\t },\n\t loadedData: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onLoadedData: true }),\n\t captured: keyOf({ onLoadedDataCapture: true })\n\t }\n\t },\n\t loadedMetadata: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onLoadedMetadata: true }),\n\t captured: keyOf({ onLoadedMetadataCapture: true })\n\t }\n\t },\n\t loadStart: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onLoadStart: true }),\n\t captured: keyOf({ onLoadStartCapture: true })\n\t }\n\t },\n\t // Note: We do not allow listening to mouseOver events. Instead, use the\n\t // onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`.\n\t mouseDown: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onMouseDown: true }),\n\t captured: keyOf({ onMouseDownCapture: true })\n\t }\n\t },\n\t mouseMove: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onMouseMove: true }),\n\t captured: keyOf({ onMouseMoveCapture: true })\n\t }\n\t },\n\t mouseOut: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onMouseOut: true }),\n\t captured: keyOf({ onMouseOutCapture: true })\n\t }\n\t },\n\t mouseOver: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onMouseOver: true }),\n\t captured: keyOf({ onMouseOverCapture: true })\n\t }\n\t },\n\t mouseUp: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onMouseUp: true }),\n\t captured: keyOf({ onMouseUpCapture: true })\n\t }\n\t },\n\t paste: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onPaste: true }),\n\t captured: keyOf({ onPasteCapture: true })\n\t }\n\t },\n\t pause: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onPause: true }),\n\t captured: keyOf({ onPauseCapture: true })\n\t }\n\t },\n\t play: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onPlay: true }),\n\t captured: keyOf({ onPlayCapture: true })\n\t }\n\t },\n\t playing: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onPlaying: true }),\n\t captured: keyOf({ onPlayingCapture: true })\n\t }\n\t },\n\t progress: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onProgress: true }),\n\t captured: keyOf({ onProgressCapture: true })\n\t }\n\t },\n\t rateChange: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onRateChange: true }),\n\t captured: keyOf({ onRateChangeCapture: true })\n\t }\n\t },\n\t reset: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onReset: true }),\n\t captured: keyOf({ onResetCapture: true })\n\t }\n\t },\n\t scroll: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onScroll: true }),\n\t captured: keyOf({ onScrollCapture: true })\n\t }\n\t },\n\t seeked: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onSeeked: true }),\n\t captured: keyOf({ onSeekedCapture: true })\n\t }\n\t },\n\t seeking: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onSeeking: true }),\n\t captured: keyOf({ onSeekingCapture: true })\n\t }\n\t },\n\t stalled: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onStalled: true }),\n\t captured: keyOf({ onStalledCapture: true })\n\t }\n\t },\n\t submit: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onSubmit: true }),\n\t captured: keyOf({ onSubmitCapture: true })\n\t }\n\t },\n\t suspend: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onSuspend: true }),\n\t captured: keyOf({ onSuspendCapture: true })\n\t }\n\t },\n\t timeUpdate: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onTimeUpdate: true }),\n\t captured: keyOf({ onTimeUpdateCapture: true })\n\t }\n\t },\n\t touchCancel: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onTouchCancel: true }),\n\t captured: keyOf({ onTouchCancelCapture: true })\n\t }\n\t },\n\t touchEnd: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onTouchEnd: true }),\n\t captured: keyOf({ onTouchEndCapture: true })\n\t }\n\t },\n\t touchMove: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onTouchMove: true }),\n\t captured: keyOf({ onTouchMoveCapture: true })\n\t }\n\t },\n\t touchStart: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onTouchStart: true }),\n\t captured: keyOf({ onTouchStartCapture: true })\n\t }\n\t },\n\t transitionEnd: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onTransitionEnd: true }),\n\t captured: keyOf({ onTransitionEndCapture: true })\n\t }\n\t },\n\t volumeChange: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onVolumeChange: true }),\n\t captured: keyOf({ onVolumeChangeCapture: true })\n\t }\n\t },\n\t waiting: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onWaiting: true }),\n\t captured: keyOf({ onWaitingCapture: true })\n\t }\n\t },\n\t wheel: {\n\t phasedRegistrationNames: {\n\t bubbled: keyOf({ onWheel: true }),\n\t captured: keyOf({ onWheelCapture: true })\n\t }\n\t }\n\t};\n\t\n\tvar topLevelEventsToDispatchConfig = {\n\t topAbort: eventTypes.abort,\n\t topAnimationEnd: eventTypes.animationEnd,\n\t topAnimationIteration: eventTypes.animationIteration,\n\t topAnimationStart: eventTypes.animationStart,\n\t topBlur: eventTypes.blur,\n\t topCanPlay: eventTypes.canPlay,\n\t topCanPlayThrough: eventTypes.canPlayThrough,\n\t topClick: eventTypes.click,\n\t topContextMenu: eventTypes.contextMenu,\n\t topCopy: eventTypes.copy,\n\t topCut: eventTypes.cut,\n\t topDoubleClick: eventTypes.doubleClick,\n\t topDrag: eventTypes.drag,\n\t topDragEnd: eventTypes.dragEnd,\n\t topDragEnter: eventTypes.dragEnter,\n\t topDragExit: eventTypes.dragExit,\n\t topDragLeave: eventTypes.dragLeave,\n\t topDragOver: eventTypes.dragOver,\n\t topDragStart: eventTypes.dragStart,\n\t topDrop: eventTypes.drop,\n\t topDurationChange: eventTypes.durationChange,\n\t topEmptied: eventTypes.emptied,\n\t topEncrypted: eventTypes.encrypted,\n\t topEnded: eventTypes.ended,\n\t topError: eventTypes.error,\n\t topFocus: eventTypes.focus,\n\t topInput: eventTypes.input,\n\t topInvalid: eventTypes.invalid,\n\t topKeyDown: eventTypes.keyDown,\n\t topKeyPress: eventTypes.keyPress,\n\t topKeyUp: eventTypes.keyUp,\n\t topLoad: eventTypes.load,\n\t topLoadedData: eventTypes.loadedData,\n\t topLoadedMetadata: eventTypes.loadedMetadata,\n\t topLoadStart: eventTypes.loadStart,\n\t topMouseDown: eventTypes.mouseDown,\n\t topMouseMove: eventTypes.mouseMove,\n\t topMouseOut: eventTypes.mouseOut,\n\t topMouseOver: eventTypes.mouseOver,\n\t topMouseUp: eventTypes.mouseUp,\n\t topPaste: eventTypes.paste,\n\t topPause: eventTypes.pause,\n\t topPlay: eventTypes.play,\n\t topPlaying: eventTypes.playing,\n\t topProgress: eventTypes.progress,\n\t topRateChange: eventTypes.rateChange,\n\t topReset: eventTypes.reset,\n\t topScroll: eventTypes.scroll,\n\t topSeeked: eventTypes.seeked,\n\t topSeeking: eventTypes.seeking,\n\t topStalled: eventTypes.stalled,\n\t topSubmit: eventTypes.submit,\n\t topSuspend: eventTypes.suspend,\n\t topTimeUpdate: eventTypes.timeUpdate,\n\t topTouchCancel: eventTypes.touchCancel,\n\t topTouchEnd: eventTypes.touchEnd,\n\t topTouchMove: eventTypes.touchMove,\n\t topTouchStart: eventTypes.touchStart,\n\t topTransitionEnd: eventTypes.transitionEnd,\n\t topVolumeChange: eventTypes.volumeChange,\n\t topWaiting: eventTypes.waiting,\n\t topWheel: eventTypes.wheel\n\t};\n\t\n\tfor (var type in topLevelEventsToDispatchConfig) {\n\t topLevelEventsToDispatchConfig[type].dependencies = [type];\n\t}\n\t\n\tvar ON_CLICK_KEY = keyOf({ onClick: null });\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\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 topLevelTypes.topAbort:\n\t case topLevelTypes.topCanPlay:\n\t case topLevelTypes.topCanPlayThrough:\n\t case topLevelTypes.topDurationChange:\n\t case topLevelTypes.topEmptied:\n\t case topLevelTypes.topEncrypted:\n\t case topLevelTypes.topEnded:\n\t case topLevelTypes.topError:\n\t case topLevelTypes.topInput:\n\t case topLevelTypes.topInvalid:\n\t case topLevelTypes.topLoad:\n\t case topLevelTypes.topLoadedData:\n\t case topLevelTypes.topLoadedMetadata:\n\t case topLevelTypes.topLoadStart:\n\t case topLevelTypes.topPause:\n\t case topLevelTypes.topPlay:\n\t case topLevelTypes.topPlaying:\n\t case topLevelTypes.topProgress:\n\t case topLevelTypes.topRateChange:\n\t case topLevelTypes.topReset:\n\t case topLevelTypes.topSeeked:\n\t case topLevelTypes.topSeeking:\n\t case topLevelTypes.topStalled:\n\t case topLevelTypes.topSubmit:\n\t case topLevelTypes.topSuspend:\n\t case topLevelTypes.topTimeUpdate:\n\t case topLevelTypes.topVolumeChange:\n\t case topLevelTypes.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 topLevelTypes.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 topLevelTypes.topKeyDown:\n\t case topLevelTypes.topKeyUp:\n\t EventConstructor = SyntheticKeyboardEvent;\n\t break;\n\t case topLevelTypes.topBlur:\n\t case topLevelTypes.topFocus:\n\t EventConstructor = SyntheticFocusEvent;\n\t break;\n\t case topLevelTypes.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 topLevelTypes.topContextMenu:\n\t case topLevelTypes.topDoubleClick:\n\t case topLevelTypes.topMouseDown:\n\t case topLevelTypes.topMouseMove:\n\t case topLevelTypes.topMouseOut:\n\t case topLevelTypes.topMouseOver:\n\t case topLevelTypes.topMouseUp:\n\t EventConstructor = SyntheticMouseEvent;\n\t break;\n\t case topLevelTypes.topDrag:\n\t case topLevelTypes.topDragEnd:\n\t case topLevelTypes.topDragEnter:\n\t case topLevelTypes.topDragExit:\n\t case topLevelTypes.topDragLeave:\n\t case topLevelTypes.topDragOver:\n\t case topLevelTypes.topDragStart:\n\t case topLevelTypes.topDrop:\n\t EventConstructor = SyntheticDragEvent;\n\t break;\n\t case topLevelTypes.topTouchCancel:\n\t case topLevelTypes.topTouchEnd:\n\t case topLevelTypes.topTouchMove:\n\t case topLevelTypes.topTouchStart:\n\t EventConstructor = SyntheticTouchEvent;\n\t break;\n\t case topLevelTypes.topAnimationEnd:\n\t case topLevelTypes.topAnimationIteration:\n\t case topLevelTypes.topAnimationStart:\n\t EventConstructor = SyntheticAnimationEvent;\n\t break;\n\t case topLevelTypes.topTransitionEnd:\n\t EventConstructor = SyntheticTransitionEvent;\n\t break;\n\t case topLevelTypes.topScroll:\n\t EventConstructor = SyntheticUIEvent;\n\t break;\n\t case topLevelTypes.topWheel:\n\t EventConstructor = SyntheticWheelEvent;\n\t break;\n\t case topLevelTypes.topCopy:\n\t case topLevelTypes.topCut:\n\t case topLevelTypes.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 if (registrationName === ON_CLICK_KEY) {\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 === ON_CLICK_KEY) {\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/* 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 * @providesModule SyntheticAnimationEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(21);\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/* 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 * @providesModule SyntheticClipboardEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(21);\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/* 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 * @providesModule SyntheticCompositionEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(21);\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/* 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 * @providesModule SyntheticDragEvent\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/* 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 * @providesModule SyntheticFocusEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(39);\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/* 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 * @providesModule SyntheticInputEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(21);\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/* 239 */\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 * @providesModule SyntheticKeyboardEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(39);\n\t\n\tvar getEventCharCode = __webpack_require__(74);\n\tvar getEventKey = __webpack_require__(247);\n\tvar getEventModifierState = __webpack_require__(75);\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/* 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 * @providesModule SyntheticTouchEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticUIEvent = __webpack_require__(39);\n\t\n\tvar getEventModifierState = __webpack_require__(75);\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/* 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 * @providesModule SyntheticTransitionEvent\n\t */\n\t\n\t'use strict';\n\t\n\tvar SyntheticEvent = __webpack_require__(21);\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/* 242 */\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 * @providesModule SyntheticWheelEvent\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/* 243 */\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 * @providesModule adler32\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/* 244 */\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 * @providesModule checkReactTypeSpec\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 ReactPropTypeLocationNames = __webpack_require__(69);\n\tvar ReactPropTypesSecret = __webpack_require__(71);\n\t\n\tvar invariant = __webpack_require__(2);\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__(66);\n\t}\n\t\n\tvar loggedTypeFailures = {};\n\t\n\t/**\n\t * Assert that the values match with the type specs.\n\t * Error messages are memorized and will only be shown once.\n\t *\n\t * @param {object} typeSpecs Map of name 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 * @param {string} componentName Name of the component for error messages.\n\t * @param {?object} element The React element that is being type-checked\n\t * @param {?number} debugID The React component instance that is being type-checked\n\t * @private\n\t */\n\tfunction checkReactTypeSpec(typeSpecs, values, location, componentName, element, debugID) {\n\t for (var typeSpecName in typeSpecs) {\n\t if (typeSpecs.hasOwnProperty(typeSpecName)) {\n\t var error;\n\t // Prop type validation may throw. In case they do, we don't want to\n\t // fail the render phase where it didn't fail before. So we log it.\n\t // After these have been cleaned up, we'll let them throw.\n\t try {\n\t // This is intentionally an invariant that gets caught. It's the same\n\t // behavior as without this statement except with a better message.\n\t !(typeof typeSpecs[typeSpecName] === 'function') ? false ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : _prodInvariant('84', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : void 0;\n\t error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n\t } catch (ex) {\n\t error = ex;\n\t }\n\t false ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName, typeof error === 'undefined' ? 'undefined' : _typeof(error)) : void 0;\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 componentStackInfo = '';\n\t\n\t if (false) {\n\t if (!ReactComponentTreeHook) {\n\t ReactComponentTreeHook = require('./ReactComponentTreeHook');\n\t }\n\t if (debugID !== null) {\n\t componentStackInfo = ReactComponentTreeHook.getStackAddendumByID(debugID);\n\t } else if (element !== null) {\n\t componentStackInfo = ReactComponentTreeHook.getCurrentStackAddendum(element);\n\t }\n\t }\n\t\n\t false ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0;\n\t }\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = checkReactTypeSpec;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(42)))\n\n/***/ },\n/* 245 */\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 * @providesModule dangerousStyleValue\n\t */\n\t\n\t'use strict';\n\t\n\tvar CSSProperty = __webpack_require__(100);\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/* 246 */\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 * @providesModule findDOMNode\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(4);\n\t\n\tvar ReactCurrentOwner = __webpack_require__(24);\n\tvar ReactDOMComponentTree = __webpack_require__(7);\n\tvar ReactInstanceMap = __webpack_require__(32);\n\t\n\tvar getHostComponentFromComposite = __webpack_require__(122);\n\tvar invariant = __webpack_require__(2);\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/* 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 * @providesModule getEventKey\n\t */\n\t\n\t'use strict';\n\t\n\tvar getEventCharCode = __webpack_require__(74);\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/* 248 */\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 * @providesModule getNodeForCharacterOffset\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/* 249 */\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 * @providesModule quoteAttributeValueForBrowser\n\t */\n\t\n\t'use strict';\n\t\n\tvar escapeTextContentForBrowser = __webpack_require__(49);\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/* 250 */\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* @providesModule renderSubtreeIntoContainer\n\t*/\n\t\n\t'use strict';\n\t\n\tvar ReactMount = __webpack_require__(112);\n\t\n\tmodule.exports = ReactMount.renderSubtreeIntoContainer;\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 * @typechecks\n\t */\n\t\n\tvar invariant = __webpack_require__(2);\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/* 252 */\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/* 253 */\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__(252);\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/* 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\n\tvar isTextNode = __webpack_require__(262);\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/* 255 */\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__(2);\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/* 256 */\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__(255);\n\tvar getMarkupWrap = __webpack_require__(257);\n\tvar invariant = __webpack_require__(2);\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/* 257 */\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__(2);\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/* 258 */\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/* 259 */\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/* 260 */\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__(259);\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/* 261 */\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/* 262 */\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__(261);\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/* 263 */\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/* 264 */\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/* 265 */\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/* 266 */\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/* 267 */\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__(26);\n\t\n\tvar _trim2 = _interopRequireDefault(_trim);\n\t\n\tvar _jsonp_utils = __webpack_require__(313);\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/* 268 */\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__(86);\n\t\n\tvar _email_pane2 = _interopRequireDefault(_email_pane);\n\t\n\tvar _username_pane = __webpack_require__(89);\n\t\n\tvar _username_pane2 = _interopRequireDefault(_username_pane);\n\t\n\tvar _password_pane = __webpack_require__(87);\n\t\n\tvar _password_pane2 = _interopRequireDefault(_password_pane);\n\t\n\tvar _actions = __webpack_require__(34);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _index2 = __webpack_require__(3);\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/* 269 */\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__(292);\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/* 270 */\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__(90);\n\t\n\tvar _success_pane2 = _interopRequireDefault(_success_pane);\n\t\n\tvar _actions = __webpack_require__(22);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _i18n = __webpack_require__(14);\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/* 271 */\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__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _reset_password_pane = __webpack_require__(272);\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__(34);\n\t\n\tvar _password_reset_confirmation = __webpack_require__(270);\n\t\n\tvar _i18n = __webpack_require__(14);\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/* 272 */\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__(86);\n\t\n\tvar _email_pane2 = _interopRequireDefault(_email_pane);\n\t\n\tvar _index = __webpack_require__(3);\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/* 273 */\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/* 274 */\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__(90);\n\t\n\tvar _success_pane2 = _interopRequireDefault(_success_pane);\n\t\n\tvar _actions = __webpack_require__(22);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(11);\n\t\n\tvar _i18n = __webpack_require__(14);\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/* 275 */\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__(89);\n\t\n\tvar _username_pane2 = _interopRequireDefault(_username_pane);\n\t\n\tvar _password_pane = __webpack_require__(87);\n\t\n\tvar _password_pane2 = _interopRequireDefault(_password_pane);\n\t\n\tvar _index = __webpack_require__(3);\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/* 276 */\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__(18);\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__(275);\n\t\n\tvar _hrd_pane2 = _interopRequireDefault(_hrd_pane);\n\t\n\tvar _actions = __webpack_require__(83);\n\t\n\tvar _enterprise = __webpack_require__(27);\n\t\n\tvar _i18n = __webpack_require__(14);\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/* 277 */\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__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _quick_auth_pane = __webpack_require__(92);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _enterprise = __webpack_require__(27);\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/* 278 */\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__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _quick_auth_pane = __webpack_require__(92);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _enterprise = __webpack_require__(27);\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 return _react2.default.createElement(_quick_auth_pane2.default, {\n\t buttonLabel: i18n.str(\"loginAtLabel\", (0, _enterprise.quickAuthConnection)(model).getIn([\"domains\", 0])),\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 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/* 279 */\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__(264);\n\t\n\tvar _index = __webpack_require__(12);\n\t\n\tvar _box = __webpack_require__(297);\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__(22);\n\t\n\tvar _index2 = __webpack_require__(11);\n\t\n\tvar _index3 = __webpack_require__(3);\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__(312);\n\t\n\tvar idu = _interopRequireWildcard(_id_utils);\n\t\n\tvar _i18n = __webpack_require__(14);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tvar _sync = __webpack_require__(43);\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.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/* 280 */\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 _cdn_utils = __webpack_require__(93);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(136);\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 fetchClientSettings(clientID, clientBaseUrl, cb) {\n\t (0, _cdn_utils.load)({\n\t method: \"setClient\",\n\t url: 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/* 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 _screen = __webpack_require__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _index = __webpack_require__(3);\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/* 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 _screen = __webpack_require__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _actions = __webpack_require__(22);\n\t\n\tvar _index = __webpack_require__(3);\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/* 283 */\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__(280);\n\t\n\tvar _settings2 = __webpack_require__(286);\n\t\n\tvar _data = __webpack_require__(284);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _enterprise = __webpack_require__(27);\n\t\n\tvar _sync = __webpack_require__(43);\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/* 284 */\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__(310);\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/* 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 _screen = __webpack_require__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _quick_auth_pane = __webpack_require__(92);\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__(138);\n\t\n\tvar _index2 = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index2);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(28);\n\t\n\tvar _index3 = __webpack_require__(52);\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/* 286 */\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__(93);\n\t\n\tvar _index = __webpack_require__(3);\n\t\n\tvar l = _interopRequireWildcard(_index);\n\t\n\tvar _index2 = __webpack_require__(84);\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/* 287 */\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__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _social_buttons_pane = __webpack_require__(140);\n\t\n\tvar _social_buttons_pane2 = _interopRequireDefault(_social_buttons_pane);\n\t\n\tvar _login_pane = __webpack_require__(268);\n\t\n\tvar _login_pane2 = _interopRequireDefault(_login_pane);\n\t\n\tvar _pane_separator = __webpack_require__(137);\n\t\n\tvar _pane_separator2 = _interopRequireDefault(_pane_separator);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _actions = __webpack_require__(34);\n\t\n\tvar _signed_in_confirmation = __webpack_require__(28);\n\t\n\tvar _login_sign_up_tabs = __webpack_require__(134);\n\t\n\tvar _login_sign_up_tabs2 = _interopRequireDefault(_login_sign_up_tabs);\n\t\n\tvar _index2 = __webpack_require__(3);\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__(83);\n\t\n\tvar _enterprise = __webpack_require__(27);\n\t\n\tvar _single_sign_on_notice = __webpack_require__(135);\n\t\n\tvar _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice);\n\t\n\tvar _classic = __webpack_require__(85);\n\t\n\tvar _i18n = __webpack_require__(14);\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\" ? \"usernameOrEmailInputPlaceholder\" : \"usernameInputPlaceholder\";\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: (0, _index.databaseUsernameStyle)(model)\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/* 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 _screen = __webpack_require__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _mfa_pane = __webpack_require__(269);\n\t\n\tvar _mfa_pane2 = _interopRequireDefault(_mfa_pane);\n\t\n\tvar _i18n = __webpack_require__(14);\n\t\n\tvar i18n = _interopRequireWildcard(_i18n);\n\t\n\tvar _actions = __webpack_require__(34);\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/* 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 _email_pane = __webpack_require__(86);\n\t\n\tvar _email_pane2 = _interopRequireDefault(_email_pane);\n\t\n\tvar _password_pane = __webpack_require__(87);\n\t\n\tvar _password_pane2 = _interopRequireDefault(_password_pane);\n\t\n\tvar _username_pane = __webpack_require__(89);\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__(291);\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/* 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__(18);\n\t\n\tvar _screen2 = _interopRequireDefault(_screen);\n\t\n\tvar _index = __webpack_require__(11);\n\t\n\tvar _sign_up_terms = __webpack_require__(273);\n\t\n\tvar _sign_up_terms2 = _interopRequireDefault(_sign_up_terms);\n\t\n\tvar _actions = __webpack_require__(34);\n\t\n\tvar _login_sign_up_tabs = __webpack_require__(134);\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__(274);\n\t\n\tvar _sign_up_pane = __webpack_require__(289);\n\t\n\tvar _sign_up_pane2 = _interopRequireDefault(_sign_up_pane);\n\t\n\tvar _social_buttons_pane = __webpack_require__(140);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _pane_separator = __webpack_require__(137);\n\t\n\tvar _pane_separator2 = _interopRequireDefault(_pane_separator);\n\t\n\tvar _classic = __webpack_require__(85);\n\t\n\tvar _single_sign_on_notice = __webpack_require__(135);\n\t\n\tvar _single_sign_on_notice2 = _interopRequireDefault(_single_sign_on_notice);\n\t\n\tvar _actions2 = __webpack_require__(83);\n\t\n\tvar _i18n = __webpack_require__(14);\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/* 291 */\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__(139);\n\t\n\tvar _index = __webpack_require__(8);\n\t\n\tvar _text_input = __webpack_require__(145);\n\t\n\tvar _text_input2 = _interopRequireDefault(_text_input);\n\t\n\tvar _select_input = __webpack_require__(306);\n\t\n\tvar _select_input2 = _interopRequireDefault(_select_input);\n\t\n\tvar _index2 = __webpack_require__(3);\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/* 292 */\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__(304);\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__(3);\n\t\n\tvar l = _interopRequireWildcard(_index3);\n\t\n\tvar _mfa_code = __webpack_require__(293);\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/* 293 */\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__(26);\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/* 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 _list = __webpack_require__(308);\n\t\n\tvar _list2 = _interopRequireDefault(_list);\n\t\n\tvar _actions = __webpack_require__(139);\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/* 295 */\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__(99);\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/* 296 */\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/* 297 */\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__(36);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _CSSCore = __webpack_require__(98);\n\t\n\tvar _CSSCore2 = _interopRequireDefault(_CSSCore);\n\t\n\tvar _container = __webpack_require__(143);\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/* 298 */\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__(36);\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__(302);\n\t\n\tvar _multisize_slide2 = _interopRequireDefault(_multisize_slide);\n\t\n\tvar _global_message = __webpack_require__(300);\n\t\n\tvar _global_message2 = _interopRequireDefault(_global_message);\n\t\n\tvar _header = __webpack_require__(301);\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/* 299 */\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/* 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 _reactDom = __webpack_require__(36);\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/* 301 */\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/* 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 _reactDom = __webpack_require__(36);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _CSSCore = __webpack_require__(98);\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/* 303 */\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__(35);\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: 'text',\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/* 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 _input_wrap = __webpack_require__(35);\n\t\n\tvar _input_wrap2 = _interopRequireDefault(_input_wrap);\n\t\n\tvar _password_input = __webpack_require__(91);\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/* 305 */\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__(99);\n\t\n\tvar _passwordSheriff2 = _interopRequireDefault(_passwordSheriff);\n\t\n\tvar _util = __webpack_require__(82);\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/* 306 */\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__(35);\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/* 307 */\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__(35);\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/* 308 */\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__(36);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _button = __webpack_require__(55);\n\t\n\tvar _text_input = __webpack_require__(145);\n\t\n\tvar _text_input2 = _interopRequireDefault(_text_input);\n\t\n\tvar _media_utils = __webpack_require__(146);\n\t\n\tvar _string_utils = __webpack_require__(94);\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/* 309 */\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/* 310 */\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/* 311 */\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/* 312 */\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/* 313 */\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/* 314 */\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/* 315 */\n/***/ function(module, exports) {\n\n\t/* (ignored) */\n\n/***/ }\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 cd8bef8e85458695d4c5","/*\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","/**\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/~/fbjs/lib/invariant.js","import 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\nfunction 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 `${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 connections(m, type, ...strategies).count() > 0;\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) {\n opts.dict = opts.dict || {};\n\n m = tset(m, [\"ui\", \"language\"], opts.language);\n m = tset(m, [\"ui\", \"dict\"], opts.dict);\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 * @providesModule reactProdInvariant\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/lib/reactProdInvariant.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","'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/~/object-assign/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 * @providesModule ReactDOMComponentTree\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/lib/ReactDOMComponentTree.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/~/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';\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 return databaseConnectionRequiresUsername(m)\n ? get(m, \"usernameStyle\", \"any\")\n : \"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","\"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/~/fbjs/lib/emptyFunction.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 * @providesModule ReactInstrumentation\n */\n\n'use strict';\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/lib/ReactInstrumentation.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 * @providesModule ReactElement\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\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.\nvar REACT_ELEMENT_TYPE = typeof Symbol === 'function' && Symbol['for'] && Symbol['for']('react.element') || 0xeac7;\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 var shadowChildren = Array.isArray(props.children) ? props.children.slice(0) : props.children;\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 Object.defineProperty(element, '_shadowChildren', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: shadowChildren\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._shadowChildren = shadowChildren;\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 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\nReactElement.REACT_ELEMENT_TYPE = REACT_ELEMENT_TYPE;\n\nmodule.exports = ReactElement;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactElement.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 * @providesModule ReactUpdates\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.Mixin, {\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.Mixin.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 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.props === component._renderedComponent._currentElement) {\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/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 * @providesModule EventConstants\n */\n\n'use strict';\n\nvar keyMirror = require('fbjs/lib/keyMirror');\n\nvar PropagationPhases = keyMirror({ bubbled: null, captured: null });\n\n/**\n * Types of raw signals from the browser caught at the top level.\n */\nvar topLevelTypes = keyMirror({\n topAbort: null,\n topAnimationEnd: null,\n topAnimationIteration: null,\n topAnimationStart: null,\n topBlur: null,\n topCanPlay: null,\n topCanPlayThrough: null,\n topChange: null,\n topClick: null,\n topCompositionEnd: null,\n topCompositionStart: null,\n topCompositionUpdate: null,\n topContextMenu: null,\n topCopy: null,\n topCut: null,\n topDoubleClick: null,\n topDrag: null,\n topDragEnd: null,\n topDragEnter: null,\n topDragExit: null,\n topDragLeave: null,\n topDragOver: null,\n topDragStart: null,\n topDrop: null,\n topDurationChange: null,\n topEmptied: null,\n topEncrypted: null,\n topEnded: null,\n topError: null,\n topFocus: null,\n topInput: null,\n topInvalid: null,\n topKeyDown: null,\n topKeyPress: null,\n topKeyUp: null,\n topLoad: null,\n topLoadedData: null,\n topLoadedMetadata: null,\n topLoadStart: null,\n topMouseDown: null,\n topMouseMove: null,\n topMouseOut: null,\n topMouseOver: null,\n topMouseUp: null,\n topPaste: null,\n topPause: null,\n topPlay: null,\n topPlaying: null,\n topProgress: null,\n topRateChange: null,\n topReset: null,\n topScroll: null,\n topSeeked: null,\n topSeeking: null,\n topSelectionChange: null,\n topStalled: null,\n topSubmit: null,\n topSuspend: null,\n topTextInput: null,\n topTimeUpdate: null,\n topTouchCancel: null,\n topTouchEnd: null,\n topTouchMove: null,\n topTouchStart: null,\n topTransitionEnd: null,\n topVolumeChange: null,\n topWaiting: null,\n topWheel: null\n});\n\nvar EventConstants = {\n topLevelTypes: topLevelTypes,\n PropagationPhases: PropagationPhases\n};\n\nmodule.exports = EventConstants;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/EventConstants.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 * @providesModule SyntheticEvent\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/lib/SyntheticEvent.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","/**\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 * @providesModule PooledClass\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 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 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory 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 ReactCurrentOwner\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 */\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","\"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/**\n * Allows extraction of a minified key. Let's the build system minify keys\n * without losing the ability to dynamically use key strings as values\n * themselves. Pass in an object with a single key/val pair and it will return\n * you the string key of that single record. Suppose you want to grab the\n * value for a key 'className' inside of an object. Key/val minification may\n * have aliased that key to be 'xa12'. keyOf({className: null}) will return\n * 'xa12' in that case. Resolve keys you want to use once at startup time, then\n * reuse those resolutions.\n */\nvar keyOf = function keyOf(oneKeyObj) {\n var key;\n for (key in oneKeyObj) {\n if (!oneKeyObj.hasOwnProperty(key)) {\n continue;\n }\n return key;\n }\n return null;\n};\n\nmodule.exports = keyOf;\n\n\n// WEBPACK FOOTER //\n// ./~/react/~/fbjs/lib/keyOf.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 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 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 * @providesModule DOMLazyTree\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/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 * @providesModule DOMProperty\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 * @type {Object}\n */\n getPossibleStandardName: process.env.NODE_ENV !== 'production' ? {} : 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/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 * @providesModule ReactInstanceMap\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/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 * @providesModule ReactReconciler\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/lib/ReactReconciler.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('react/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 * @providesModule EventPluginHub\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\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 var bankForRegistrationName = listenerBank[registrationName];\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/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 * @providesModule EventPropagators\n */\n\n'use strict';\n\nvar EventConstants = require('./EventConstants');\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 PropagationPhases = EventConstants.PropagationPhases;\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, upwards, 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 phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;\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/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 * @providesModule SyntheticUIEvent\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/lib/SyntheticUIEvent.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 * @providesModule Transaction\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\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 Mixin = {\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] = Transaction.OBSERVED_ERROR;\n this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n } finally {\n if (this.wrapperInitData[i] === Transaction.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 !== Transaction.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\nvar Transaction = {\n\n Mixin: Mixin,\n\n /**\n * Token to look for to determine if an error occurred.\n */\n OBSERVED_ERROR: {}\n\n};\n\nmodule.exports = Transaction;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/Transaction.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","// 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 { 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 * @providesModule DisabledInputUtils\n */\n\n'use strict';\n\nvar disableableMouseListenerNames = {\n onClick: true,\n onDoubleClick: true,\n onMouseDown: true,\n onMouseMove: true,\n onMouseUp: true,\n\n onClickCapture: true,\n onDoubleClickCapture: true,\n onMouseDownCapture: true,\n onMouseMoveCapture: true,\n onMouseUpCapture: true\n};\n\n/**\n * Implements a host component that does not receive mouse events\n * when `disabled` is set.\n */\nvar DisabledInputUtils = {\n getHostProps: function (inst, props) {\n if (!props.disabled) {\n return props;\n }\n\n // Copy the props, except the mouse listeners\n var hostProps = {};\n for (var key in props) {\n if (!disableableMouseListenerNames[key] && props.hasOwnProperty(key)) {\n hostProps[key] = props[key];\n }\n }\n\n return hostProps;\n }\n};\n\nmodule.exports = DisabledInputUtils;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/DisabledInputUtils.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 * @providesModule React\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 * @providesModule ReactBrowserEventEmitter\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar EventConstants = require('./EventConstants');\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 var topLevelTypes = EventConstants.topLevelTypes;\n for (var i = 0; i < dependencies.length; i++) {\n var dependency = dependencies[i];\n if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {\n if (dependency === topLevelTypes.topWheel) {\n if (isEventSupported('wheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt);\n } else if (isEventSupported('mousewheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.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(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt);\n }\n } else if (dependency === topLevelTypes.topScroll) {\n\n if (isEventSupported('scroll', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt);\n } else {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topScroll, 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n }\n } else if (dependency === topLevelTypes.topFocus || dependency === topLevelTypes.topBlur) {\n\n if (isEventSupported('focus', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.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(topLevelTypes.topFocus, 'focusin', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt);\n }\n\n // to make sure blur and focus event listeners are only attached once\n isListening[topLevelTypes.topBlur] = true;\n isListening[topLevelTypes.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/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 * @providesModule SyntheticMouseEvent\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/lib/SyntheticMouseEvent.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 * @providesModule escapeTextContentForBrowser\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/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 * @providesModule setInnerHTML\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/lib/setInnerHTML.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 static-only\n */\n\n'use strict';\n\nvar invariant = require('./invariant');\n\n/**\n * Constructs an enumeration with keys equal to their value.\n *\n * For example:\n *\n * var COLORS = keyMirror({blue: null, red: null});\n * var myColor = COLORS.blue;\n * var isColorValid = !!COLORS[myColor];\n *\n * The last line could not be performed if the values of the generated enum were\n * not equal to their keys.\n *\n * Input: {key1: val1, key2: val2}\n * Output: {key1: key1, key2: key2}\n *\n * @param {object} obj\n * @return {object}\n */\nvar keyMirror = function keyMirror(obj) {\n var ret = {};\n var key;\n !(obj instanceof Object && !Array.isArray(obj)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : void 0;\n for (key in obj) {\n if (!obj.hasOwnProperty(key)) {\n continue;\n }\n ret[key] = key;\n }\n return ret;\n};\n\nmodule.exports = keyMirror;\n\n\n// WEBPACK FOOTER //\n// ./~/react/~/fbjs/lib/keyMirror.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 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 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');\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\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) {\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\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 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\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 (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 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 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 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 // 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 * @providesModule DOMChildrenOperations\n */\n\n'use strict';\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar Danger = require('./Danger');\nvar ReactMultiChildUpdateTypes = require('./ReactMultiChildUpdateTypes');\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(ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID, 'replace text', stringText);\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(prevInstance._debugID, 'replace with', markup.toString());\n } else {\n var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n if (nextInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation(nextInstance._debugID, 'mount', markup.toString());\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 ReactMultiChildUpdateTypes.INSERT_MARKUP:\n insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'insert child', { toIndex: update.toIndex, content: update.content.toString() });\n }\n break;\n case ReactMultiChildUpdateTypes.MOVE_EXISTING:\n moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'move child', { fromIndex: update.fromIndex, toIndex: update.toIndex });\n }\n break;\n case ReactMultiChildUpdateTypes.SET_MARKUP:\n setInnerHTML(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace children', update.content.toString());\n }\n break;\n case ReactMultiChildUpdateTypes.TEXT_CONTENT:\n setTextContent(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace text', update.content.toString());\n }\n break;\n case ReactMultiChildUpdateTypes.REMOVE_NODE:\n removeChild(parentNode, update.fromNode);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'remove child', { fromIndex: update.fromIndex });\n }\n break;\n }\n }\n }\n\n};\n\nmodule.exports = DOMChildrenOperations;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule DOMNamespaces\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/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 * @providesModule EventPluginRegistry\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\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 for (var phase in dispatchConfig.phasedRegistrationNames) {\n if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) {\n continue;\n }\n var PluginModule = EventPluginRegistry.registrationNameModules[dispatchConfig.phasedRegistrationNames[phase]];\n if (PluginModule) {\n return PluginModule;\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/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 * @providesModule EventPluginUtils\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar EventConstants = require('./EventConstants');\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\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nfunction isEndish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseUp || topLevelType === topLevelTypes.topTouchEnd || topLevelType === topLevelTypes.topTouchCancel;\n}\n\nfunction isMoveish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseMove || topLevelType === topLevelTypes.topTouchMove;\n}\nfunction isStartish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseDown || topLevelType === topLevelTypes.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/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 * @providesModule KeyEscapeUtils\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/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 * @providesModule LinkedValueUtils\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactPropTypes = require('./ReactPropTypes');\nvar ReactPropTypeLocations = require('./ReactPropTypeLocations');\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: ReactPropTypes.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, ReactPropTypeLocations.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/lib/LinkedValueUtils.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 * @providesModule ReactComponent\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 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 * @providesModule ReactComponentEnvironment\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/lib/ReactComponentEnvironment.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 * @providesModule ReactComponentTreeHook\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 itemMap;\nvar rootIDSet;\n\nvar itemByKey;\nvar rootByKey;\n\nif (canUseCollections) {\n itemMap = new Map();\n rootIDSet = new Set();\n} else {\n itemByKey = {};\n rootByKey = {};\n}\n\nvar unmountedIDs = [];\n\n// Use non-numeric keys to prevent V8 performance issues:\n// https://github.com/facebook/react/pull/7232\nfunction getKeyFromID(id) {\n return '.' + id;\n}\nfunction getIDFromKey(key) {\n return parseInt(key.substr(1), 10);\n}\n\nfunction get(id) {\n if (canUseCollections) {\n return itemMap.get(id);\n } else {\n var key = getKeyFromID(id);\n return itemByKey[key];\n }\n}\n\nfunction remove(id) {\n if (canUseCollections) {\n itemMap['delete'](id);\n } else {\n var key = getKeyFromID(id);\n delete itemByKey[key];\n }\n}\n\nfunction create(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\n if (canUseCollections) {\n itemMap.set(id, item);\n } else {\n var key = getKeyFromID(id);\n itemByKey[key] = item;\n }\n}\n\nfunction addRoot(id) {\n if (canUseCollections) {\n rootIDSet.add(id);\n } else {\n var key = getKeyFromID(id);\n rootByKey[key] = true;\n }\n}\n\nfunction removeRoot(id) {\n if (canUseCollections) {\n rootIDSet['delete'](id);\n } else {\n var key = getKeyFromID(id);\n delete rootByKey[key];\n }\n}\n\nfunction getRegisteredIDs() {\n if (canUseCollections) {\n return Array.from(itemMap.keys());\n } else {\n return Object.keys(itemByKey).map(getIDFromKey);\n }\n}\n\nfunction getRootIDs() {\n if (canUseCollections) {\n return Array.from(rootIDSet.keys());\n } else {\n return Object.keys(rootByKey).map(getIDFromKey);\n }\n}\n\nfunction purgeDeep(id) {\n var item = get(id);\n if (item) {\n var childIDs = item.childIDs;\n\n remove(id);\n childIDs.forEach(purgeDeep);\n }\n}\n\nfunction describeComponentFrame(name, source, ownerName) {\n return '\\n in ' + name + (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 = get(id);\n item.childIDs = nextChildIDs;\n\n for (var i = 0; i < nextChildIDs.length; i++) {\n var nextChildID = nextChildIDs[i];\n var nextChild = get(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 create(id, element, parentID);\n },\n onBeforeUpdateComponent: function (id, element) {\n var item = get(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 = get(id);\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 = get(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 = get(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 = get(id);\n return item ? item.isMounted : false;\n },\n getCurrentStackAddendum: function (topElement) {\n var info = '';\n if (topElement) {\n var type = topElement.type;\n var name = typeof type === 'function' ? type.displayName || type.name : type;\n var owner = topElement._owner;\n info += describeComponentFrame(name || 'Unknown', 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 = get(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 = get(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 = get(id);\n return item ? item.parentID : null;\n },\n getSource: function (id) {\n var item = get(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 = get(id);\n return item ? item.updateCount : 0;\n },\n\n\n getRegisteredIDs: getRegisteredIDs,\n\n getRootIDs: getRootIDs\n};\n\nmodule.exports = ReactComponentTreeHook;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactComponentTreeHook.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 * @providesModule ReactErrorUtils\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, b) {\n try {\n return func(a, b);\n } catch (x) {\n if (caughtError === null) {\n caughtError = x;\n }\n return undefined;\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, b) {\n var boundFunc = func.bind(null, a, b);\n var evtType = 'react-' + name;\n fakeNode.addEventListener(evtType, boundFunc, false);\n var evt = document.createEvent('Event');\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/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 * @providesModule ReactNoopUpdateQueue\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 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory 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 ReactPropTypeLocationNames\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 * @providesModule ReactPropTypeLocations\n */\n\n'use strict';\n\nvar keyMirror = require('fbjs/lib/keyMirror');\n\nvar ReactPropTypeLocations = keyMirror({\n prop: null,\n context: null,\n childContext: null\n});\n\nmodule.exports = ReactPropTypeLocations;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactPropTypeLocations.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 * @providesModule ReactPropTypesSecret\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/lib/ReactPropTypesSecret.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 * @providesModule ReactUpdateQueue\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./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/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 * @providesModule createMicrosoftUnsafeLocalFunction\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/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 * @providesModule getEventCharCode\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/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 * @providesModule getEventModifierState\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/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 * @providesModule getEventTarget\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/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 * @providesModule isEventSupported\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/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 * @providesModule shouldUpdateReactComponent\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/lib/shouldUpdateReactComponent.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 * @providesModule traverseAllChildren\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar ReactElement = require('./ReactElement');\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 * 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' || ReactElement.isValidElement(children)) {\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","/**\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 * @providesModule validateDOMNesting\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/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/~/fbjs/lib/shallowEqual.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 } = 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 />\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 * @providesModule CSSProperty\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/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 * @providesModule CallbackQueue\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\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 */\nfunction CallbackQueue() {\n this._callbacks = null;\n this._contexts = null;\n}\n\n_assign(CallbackQueue.prototype, {\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 enqueue: function (callback, context) {\n this._callbacks = this._callbacks || [];\n this._contexts = this._contexts || [];\n this._callbacks.push(callback);\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 notifyAll: function () {\n var callbacks = this._callbacks;\n var contexts = this._contexts;\n if (callbacks) {\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]);\n }\n callbacks.length = 0;\n contexts.length = 0;\n }\n },\n\n checkpoint: function () {\n return this._callbacks ? this._callbacks.length : 0;\n },\n\n rollback: function (len) {\n if (this._callbacks) {\n this._callbacks.length = len;\n this._contexts.length = len;\n }\n },\n\n /**\n * Resets the internal queue.\n *\n * @internal\n */\n reset: function () {\n this._callbacks = null;\n this._contexts = null;\n },\n\n /**\n * `PooledClass` looks for this.\n */\n destructor: function () {\n this.reset();\n }\n\n});\n\nPooledClass.addPoolingTo(CallbackQueue);\n\nmodule.exports = CallbackQueue;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule DOMPropertyOperations\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\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(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\n }\n }\n\n};\n\nmodule.exports = DOMPropertyOperations;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactChildren\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 var 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 var keyPrefix = bookKeeping.keyPrefix;\n var func = bookKeeping.func;\n var 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 * @providesModule ReactClass\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 ReactPropTypeLocations = require('./ReactPropTypeLocations');\nvar ReactPropTypeLocationNames = require('./ReactPropTypeLocationNames');\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar keyMirror = require('fbjs/lib/keyMirror');\nvar keyOf = require('fbjs/lib/keyOf');\nvar warning = require('fbjs/lib/warning');\n\nvar MIXINS_KEY = keyOf({ mixins: null });\n\n/**\n * Policies that describe methods in `ReactClassInterface`.\n */\nvar SpecPolicy = keyMirror({\n /**\n * These methods may be defined only once by the class specification or mixin.\n */\n DEFINE_ONCE: null,\n /**\n * These methods may be defined by both the class specification and mixins.\n * Subsequent definitions will be chained. These methods must return void.\n */\n DEFINE_MANY: null,\n /**\n * These methods are overriding the base class.\n */\n OVERRIDE_BASE: null,\n /**\n * These methods are similar to DEFINE_MANY, except we assume they return\n * objects. We try to merge the keys of the return values of all the mixed in\n * functions. If there is a key conflict we throw.\n */\n DEFINE_MANY_MERGED: null\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: SpecPolicy.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: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: SpecPolicy.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: SpecPolicy.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: SpecPolicy.DEFINE_MANY_MERGED,\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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: SpecPolicy.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, ReactPropTypeLocations.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, ReactPropTypeLocations.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, ReactPropTypeLocations.prop);\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function (Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function () {} };\n\n// noop\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 === 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 === SpecPolicy.DEFINE_MANY || specPolicy === 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 === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === 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 === SpecPolicy.DEFINE_MANY_MERGED) {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === 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 var Constructor = 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 * @providesModule ReactDOM\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.\n/* eslint-enable camelcase */\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.split, 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\n ReactInstrumentation.debugTool.addHook(ReactDOMUnknownPropertyHook);\n ReactInstrumentation.debugTool.addHook(ReactDOMNullInputValuePropHook);\n}\n\nmodule.exports = ReactDOM;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactDOMComponentFlags\n */\n\n'use strict';\n\nvar ReactDOMComponentFlags = {\n hasCachedChildNodes: 1 << 0\n};\n\nmodule.exports = ReactDOMComponentFlags;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactDOMSelect\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar DisabledInputUtils = require('./DisabledInputUtils');\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({}, DisabledInputUtils.getHostProps(inst, 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/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 * @providesModule ReactEmptyComponent\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/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 * @providesModule ReactFeatureFlags\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/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 * @providesModule ReactHostComponent\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/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 * @providesModule ReactInputSelection\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/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 * @providesModule ReactMount\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar DOMProperty = require('./DOMProperty');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMContainerInfo = require('./ReactDOMContainerInfo');\nvar ReactDOMFeatureFlags = require('./ReactDOMFeatureFlags');\nvar ReactElement = require('./ReactElement');\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;\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 // this.props is actually a ReactElement\n return this.props;\n};\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 !ReactElement.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 = ReactElement(TopLevelWrapper, null, null, null, null, null, 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;\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(hostNode._debugID, 'mount', markup.toString());\n }\n }\n }\n};\n\nmodule.exports = ReactMount;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactMultiChildUpdateTypes\n */\n\n'use strict';\n\nvar keyMirror = require('fbjs/lib/keyMirror');\n\n/**\n * When a component's children are updated, a series of update configuration\n * objects are created in order to batch and serialize the required changes.\n *\n * Enumerates all the possible types of update configurations.\n *\n * @internal\n */\nvar ReactMultiChildUpdateTypes = keyMirror({\n INSERT_MARKUP: null,\n MOVE_EXISTING: null,\n REMOVE_NODE: null,\n SET_MARKUP: null,\n TEXT_CONTENT: null\n});\n\nmodule.exports = ReactMultiChildUpdateTypes;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactMultiChildUpdateTypes.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 * @providesModule ReactNodeTypes\n * \n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactElement = require('./ReactElement');\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 (ReactElement.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/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 * @providesModule ReactPropTypes\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 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 return new PropTypeError('Required ' + locationName + ' `' + propFullName + '` was not specified in ' + ('`' + componentName + '`.'));\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 * @providesModule ReactVersion\n */\n\n'use strict';\n\nmodule.exports = '15.3.2';\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ViewportMetrics\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/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 * @providesModule accumulateInto\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/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 * @providesModule canDefineProperty\n */\n\n'use strict';\n\nvar canDefineProperty = false;\nif (process.env.NODE_ENV !== 'production') {\n try {\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 * @providesModule flattenChildren\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","/**\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 * @providesModule forEachAccumulated\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/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 * @providesModule getHostComponentFromComposite\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/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 * @providesModule getIteratorFn\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 * @providesModule getTextContentAccessor\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/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 * @providesModule getVendorPrefixedEventName\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/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 * @providesModule instantiateReactComponent\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 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.Mixin, {\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\nvar nextDebugID = 1;\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 ? nextDebugID++ : 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/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 * @providesModule isTextInputElement\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/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 * @providesModule onlyChild\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 * @providesModule setTextContent\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 setInnerHTML(node, escapeTextContentForBrowser(text));\n };\n }\n}\n\nmodule.exports = setTextContent;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/setTextContent.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/~/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/~/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/~/fbjs/lib/getActiveElement.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","/**\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 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 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 r = exports.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// ./~/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 = 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, '\\\\$&').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.4.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 * @providesModule AutoFocusUtils\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/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 * @providesModule BeforeInputEventPlugin\n */\n\n'use strict';\n\nvar EventConstants = require('./EventConstants');\nvar EventPropagators = require('./EventPropagators');\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar FallbackCompositionState = require('./FallbackCompositionState');\nvar SyntheticCompositionEvent = require('./SyntheticCompositionEvent');\nvar SyntheticInputEvent = require('./SyntheticInputEvent');\n\nvar keyOf = require('fbjs/lib/keyOf');\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\nvar topLevelTypes = EventConstants.topLevelTypes;\n\n// Events and their corresponding property names.\nvar eventTypes = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onBeforeInput: null }),\n captured: keyOf({ onBeforeInputCapture: null })\n },\n dependencies: [topLevelTypes.topCompositionEnd, topLevelTypes.topKeyPress, topLevelTypes.topTextInput, topLevelTypes.topPaste]\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCompositionEnd: null }),\n captured: keyOf({ onCompositionEndCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionEnd, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCompositionStart: null }),\n captured: keyOf({ onCompositionStartCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionStart, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown]\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCompositionUpdate: null }),\n captured: keyOf({ onCompositionUpdateCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionUpdate, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.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 topLevelTypes.topCompositionStart:\n return eventTypes.compositionStart;\n case topLevelTypes.topCompositionEnd:\n return eventTypes.compositionEnd;\n case topLevelTypes.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 === topLevelTypes.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 topLevelTypes.topKeyUp:\n // Command keys insert or clear IME input.\n return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1;\n case topLevelTypes.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 topLevelTypes.topKeyPress:\n case topLevelTypes.topMouseDown:\n case topLevelTypes.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 topLevelTypes.topCompositionEnd:\n return getDataFromCustomEvent(nativeEvent);\n case topLevelTypes.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 topLevelTypes.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 === topLevelTypes.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 topLevelTypes.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 topLevelTypes.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 topLevelTypes.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/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 * @providesModule CSSPropertyOperations\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(component._debugID, 'update styles', styles);\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/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 * @providesModule ChangeEventPlugin\n */\n\n'use strict';\n\nvar EventConstants = require('./EventConstants');\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');\nvar keyOf = require('fbjs/lib/keyOf');\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n change: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onChange: null }),\n captured: keyOf({ onChangeCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topChange, topLevelTypes.topClick, topLevelTypes.topFocus, topLevelTypes.topInput, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.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 === topLevelTypes.topChange) {\n return targetInst;\n }\n}\nfunction handleEventsForChangeEventIE8(topLevelType, target, targetInst) {\n if (topLevelType === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.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 === topLevelTypes.topBlur) {\n stopWatchingForValueChange();\n }\n}\n\n// For IE8 and IE9.\nfunction getTargetInstForInputEventIE(topLevelType, targetInst) {\n if (topLevelType === topLevelTypes.topSelectionChange || topLevelType === topLevelTypes.topKeyUp || topLevelType === topLevelTypes.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 === topLevelTypes.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/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 * @providesModule Danger\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/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 * @providesModule DefaultEventPluginOrder\n */\n\n'use strict';\n\nvar keyOf = require('fbjs/lib/keyOf');\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 */\nvar DefaultEventPluginOrder = [keyOf({ ResponderEventPlugin: null }), keyOf({ SimpleEventPlugin: null }), keyOf({ TapEventPlugin: null }), keyOf({ EnterLeaveEventPlugin: null }), keyOf({ ChangeEventPlugin: null }), keyOf({ SelectEventPlugin: null }), keyOf({ BeforeInputEventPlugin: null })];\n\nmodule.exports = DefaultEventPluginOrder;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule EnterLeaveEventPlugin\n */\n\n'use strict';\n\nvar EventConstants = require('./EventConstants');\nvar EventPropagators = require('./EventPropagators');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar SyntheticMouseEvent = require('./SyntheticMouseEvent');\n\nvar keyOf = require('fbjs/lib/keyOf');\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n mouseEnter: {\n registrationName: keyOf({ onMouseEnter: null }),\n dependencies: [topLevelTypes.topMouseOut, topLevelTypes.topMouseOver]\n },\n mouseLeave: {\n registrationName: keyOf({ onMouseLeave: null }),\n dependencies: [topLevelTypes.topMouseOut, topLevelTypes.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 === topLevelTypes.topMouseOver && (nativeEvent.relatedTarget || nativeEvent.fromElement)) {\n return null;\n }\n if (topLevelType !== topLevelTypes.topMouseOut && topLevelType !== topLevelTypes.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 === topLevelTypes.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/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 * @providesModule FallbackCompositionState\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/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 * @providesModule HTMLDOMPropertyConfig\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/lib/HTMLDOMPropertyConfig.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 * @providesModule ReactCSSTransitionGroup\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\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 */\nvar ReactCSSTransitionGroup = React.createClass({\n displayName: 'ReactCSSTransitionGroup',\n\n 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 },\n\n getDefaultProps: function () {\n return {\n transitionAppear: false,\n transitionEnter: true,\n transitionLeave: true\n };\n },\n\n _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 },\n\n render: function () {\n return React.createElement(ReactTransitionGroup, _assign({}, this.props, { childFactory: this._wrapChild }));\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 * @providesModule ReactCSSTransitionGroupChild\n */\n\n'use strict';\n\nvar React = require('./React');\nvar ReactDOM = require('./ReactDOM');\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 = ReactDOM.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 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 * @providesModule ReactChildReconciler\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('./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('./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/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 * @providesModule ReactComponentBrowserEnvironment\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/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 * @providesModule ReactCompositeComponent\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar ReactComponentEnvironment = require('./ReactComponentEnvironment');\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar ReactElement = require('./ReactElement');\nvar ReactErrorUtils = require('./ReactErrorUtils');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactNodeTypes = require('./ReactNodeTypes');\nvar ReactPropTypeLocations = require('./ReactPropTypeLocations');\nvar ReactReconciler = require('./ReactReconciler');\n\nvar checkReactTypeSpec = require('./checkReactTypeSpec');\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 || ReactElement.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 ReactCompositeComponentMixin = {\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 || ReactElement.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, ReactPropTypeLocations.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, ReactPropTypeLocations.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 checkReactTypeSpec(typeSpecs, values, location, this.getName(), null, this._debugID);\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 renderedComponent;\n\n if (process.env.NODE_ENV !== 'production') {\n renderedComponent = measureLifeCyclePerf(function () {\n return inst.render();\n }, this._debugID, 'render');\n } else {\n renderedComponent = 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 (renderedComponent === undefined && inst.render._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n renderedComponent = null;\n }\n }\n\n return renderedComponent;\n },\n\n /**\n * @private\n */\n _renderValidatedComponent: function () {\n var renderedComponent;\n if (process.env.NODE_ENV !== 'production' || this._compositeType !== CompositeTypes.StatelessFunctional) {\n ReactCurrentOwner.current = this;\n try {\n renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext();\n } finally {\n ReactCurrentOwner.current = null;\n }\n } else {\n renderedComponent = this._renderValidatedComponentWithoutOwnerOrContext();\n }\n !(\n // TODO: An `isValidNode` function would probably be more appropriate\n renderedComponent === null || renderedComponent === false || ReactElement.isValidElement(renderedComponent)) ? 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 renderedComponent;\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\nvar ReactCompositeComponent = {\n\n Mixin: ReactCompositeComponentMixin\n\n};\n\nmodule.exports = ReactCompositeComponent;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactDOMButton\n */\n\n'use strict';\n\nvar DisabledInputUtils = require('./DisabledInputUtils');\n\n/**\n * Implements a <button> host component that does not receive mouse events\n * when `disabled` is set.\n */\nvar ReactDOMButton = {\n getHostProps: DisabledInputUtils.getHostProps\n};\n\nmodule.exports = ReactDOMButton;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/ReactDOMButton.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 * @providesModule ReactDOMComponent\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 EventConstants = require('./EventConstants');\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPluginRegistry = require('./EventPluginRegistry');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactDOMButton = require('./ReactDOMButton');\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 keyOf = require('fbjs/lib/keyOf');\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 = keyOf({ style: null });\nvar HTML = keyOf({ __html: null });\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(EventConstants.topLevelTypes.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(EventConstants.topLevelTypes[event], mediaEvents[event], node));\n }\n }\n break;\n case 'source':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node)];\n break;\n case 'img':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load', node)];\n break;\n case 'form':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topReset, 'reset', node), ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.topSubmit, 'submit', node)];\n break;\n case 'input':\n case 'select':\n case 'textarea':\n inst._wrapperState.listeners = [ReactBrowserEventEmitter.trapBubbledEvent(EventConstants.topLevelTypes.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\n// NOTE: menuitem's close tag should be omitted, but that causes problems.\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 'button':\n props = ReactDOMButton.getHostProps(this, props, hostParent);\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 'button':\n lastProps = ReactDOMButton.getHostProps(this, lastProps);\n nextProps = ReactDOMButton.getHostProps(this, nextProps);\n break;\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/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 * @providesModule ReactDOMContainerInfo\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/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 * @providesModule ReactDOMEmptyComponent\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/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 * @providesModule ReactDOMFactories\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 * @providesModule ReactDOMFeatureFlags\n */\n\n'use strict';\n\nvar ReactDOMFeatureFlags = {\n useCreateElement: true\n};\n\nmodule.exports = ReactDOMFeatureFlags;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactDOMIDOperations\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/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 * @providesModule ReactDOMInput\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar DisabledInputUtils = require('./DisabledInputUtils');\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 }, DisabledInputUtils.getHostProps(inst, 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/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 * @providesModule ReactDOMOption\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar ReactChildren = require('./ReactChildren');\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 ReactChildren.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/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 * @providesModule ReactDOMSelection\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/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 * @providesModule ReactDOMTextComponent\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/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 * @providesModule ReactDOMTextarea\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar DisabledInputUtils = require('./DisabledInputUtils');\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({}, DisabledInputUtils.getHostProps(inst, 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/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 * @providesModule ReactDOMTreeTraversal\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], false, arg);\n }\n for (i = 0; i < path.length; i++) {\n fn(path[i], true, 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], true, argFrom);\n }\n for (i = pathTo.length; i-- > 0;) {\n fn(pathTo[i], false, 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/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 * @providesModule ReactDefaultBatchingStrategy\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.Mixin, {\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 callback(a, b, c, d, e);\n } else {\n transaction.perform(callback, null, a, b, c, d, e);\n }\n }\n};\n\nmodule.exports = ReactDefaultBatchingStrategy;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactDefaultInjection\n */\n\n'use strict';\n\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(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/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 * @providesModule ReactEventEmitterMixin\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/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 * @providesModule ReactEventListener\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} handle 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, handle) {\n var element = handle;\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} handle 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, handle) {\n var element = handle;\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/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 * @providesModule ReactInjection\n */\n\n'use strict';\n\nvar DOMProperty = require('./DOMProperty');\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPluginUtils = require('./EventPluginUtils');\nvar ReactComponentEnvironment = require('./ReactComponentEnvironment');\nvar ReactClass = require('./ReactClass');\nvar ReactEmptyComponent = require('./ReactEmptyComponent');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactHostComponent = require('./ReactHostComponent');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar ReactInjection = {\n Component: ReactComponentEnvironment.injection,\n Class: ReactClass.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/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 * @providesModule ReactMarkupChecksum\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/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 * @providesModule ReactMultiChild\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactComponentEnvironment = require('./ReactComponentEnvironment');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactMultiChildUpdateTypes = require('./ReactMultiChildUpdateTypes');\n\nvar ReactCurrentOwner = require('./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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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: ReactMultiChildUpdateTypes.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/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 * @providesModule ReactOwner\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\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 /**\n * @param {?object} object\n * @return {boolean} True if `object` is a valid owner.\n * @final\n */\n isValidOwner: function (object) {\n return !!(object && typeof object.attachRef === 'function' && typeof object.detachRef === 'function');\n },\n\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 !ReactOwner.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 !ReactOwner.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/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 * @providesModule ReactPureComponent\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 * @providesModule ReactReconcileTransaction\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, Mixin);\n\nPooledClass.addPoolingTo(ReactReconcileTransaction);\n\nmodule.exports = ReactReconcileTransaction;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactRef\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 || element === false) {\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 prevEmpty = prevElement === null || prevElement === false;\n var nextEmpty = nextElement === null || nextElement === false;\n\n return (\n // This has a few false positives w/r/t empty components.\n prevEmpty || nextEmpty || nextElement.ref !== prevElement.ref ||\n // If owner changes but we have an unchanged function ref, don't update refs\n typeof nextElement.ref === 'string' && nextElement._owner !== prevElement._owner\n );\n};\n\nReactRef.detachRefs = function (instance, element) {\n if (element === null || element === false) {\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/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 * @providesModule ReactServerRenderingTransaction\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, Mixin);\n\nPooledClass.addPoolingTo(ReactServerRenderingTransaction);\n\nmodule.exports = ReactServerRenderingTransaction;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule ReactServerUpdateQueue\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');\nvar Transaction = require('./Transaction');\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 /* :: transaction: Transaction; */\n\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/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 * @providesModule ReactTransitionChildMapping\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 * @providesModule ReactTransitionEvents\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar getVendorPrefixedEventName = require('./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 * @providesModule ReactTransitionGroup\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar React = require('./React');\nvar ReactInstanceMap = require('./ReactInstanceMap');\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 */\nvar ReactTransitionGroup = React.createClass({\n displayName: 'ReactTransitionGroup',\n\n propTypes: {\n component: React.PropTypes.any,\n childFactory: React.PropTypes.func\n },\n\n getDefaultProps: function () {\n return {\n component: 'span',\n childFactory: emptyFunction.thatReturnsArgument\n };\n },\n\n getInitialState: function () {\n return {\n // TODO: can we get useful debug information to show at this point?\n children: ReactTransitionChildMapping.getChildMapping(this.props.children)\n };\n },\n\n componentWillMount: function () {\n this.currentlyTransitioningKeys = {};\n this.keysToEnter = [];\n this.keysToLeave = [];\n },\n\n componentDidMount: function () {\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 componentWillReceiveProps: function (nextProps) {\n var nextChildMapping;\n if (process.env.NODE_ENV !== 'production') {\n nextChildMapping = ReactTransitionChildMapping.getChildMapping(nextProps.children, ReactInstanceMap.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 componentDidUpdate: function () {\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 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 },\n\n _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, ReactInstanceMap.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 },\n\n 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 },\n\n _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, ReactInstanceMap.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 },\n\n 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 },\n\n _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, ReactInstanceMap.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 },\n\n render: function () {\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\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 * @providesModule SVGDOMPropertyConfig\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/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 * @providesModule SelectEventPlugin\n */\n\n'use strict';\n\nvar EventConstants = require('./EventConstants');\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 keyOf = require('fbjs/lib/keyOf');\nvar shallowEqual = require('fbjs/lib/shallowEqual');\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar skipSelectionChangeEvent = ExecutionEnvironment.canUseDOM && 'documentMode' in document && document.documentMode <= 11;\n\nvar eventTypes = {\n select: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSelect: null }),\n captured: keyOf({ onSelectCapture: null })\n },\n dependencies: [topLevelTypes.topBlur, topLevelTypes.topContextMenu, topLevelTypes.topFocus, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown, topLevelTypes.topMouseUp, topLevelTypes.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;\nvar ON_SELECT_KEY = keyOf({ onSelect: null });\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 topLevelTypes.topFocus:\n if (isTextInputElement(targetNode) || targetNode.contentEditable === 'true') {\n activeElement = targetNode;\n activeElementInst = targetInst;\n lastSelection = null;\n }\n break;\n case topLevelTypes.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 topLevelTypes.topMouseDown:\n mouseDown = true;\n break;\n case topLevelTypes.topContextMenu:\n case topLevelTypes.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 topLevelTypes.topSelectionChange:\n if (skipSelectionChangeEvent) {\n break;\n }\n // falls through\n case topLevelTypes.topKeyDown:\n case topLevelTypes.topKeyUp:\n return constructSelectEvent(nativeEvent, nativeEventTarget);\n }\n\n return null;\n },\n\n didPutListener: function (inst, registrationName, listener) {\n if (registrationName === ON_SELECT_KEY) {\n hasListener = true;\n }\n }\n};\n\nmodule.exports = SelectEventPlugin;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 * @providesModule SimpleEventPlugin\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar EventConstants = require('./EventConstants');\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');\nvar keyOf = require('fbjs/lib/keyOf');\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nvar eventTypes = {\n abort: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onAbort: true }),\n captured: keyOf({ onAbortCapture: true })\n }\n },\n animationEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onAnimationEnd: true }),\n captured: keyOf({ onAnimationEndCapture: true })\n }\n },\n animationIteration: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onAnimationIteration: true }),\n captured: keyOf({ onAnimationIterationCapture: true })\n }\n },\n animationStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onAnimationStart: true }),\n captured: keyOf({ onAnimationStartCapture: true })\n }\n },\n blur: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onBlur: true }),\n captured: keyOf({ onBlurCapture: true })\n }\n },\n canPlay: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCanPlay: true }),\n captured: keyOf({ onCanPlayCapture: true })\n }\n },\n canPlayThrough: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCanPlayThrough: true }),\n captured: keyOf({ onCanPlayThroughCapture: true })\n }\n },\n click: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onClick: true }),\n captured: keyOf({ onClickCapture: true })\n }\n },\n contextMenu: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onContextMenu: true }),\n captured: keyOf({ onContextMenuCapture: true })\n }\n },\n copy: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCopy: true }),\n captured: keyOf({ onCopyCapture: true })\n }\n },\n cut: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onCut: true }),\n captured: keyOf({ onCutCapture: true })\n }\n },\n doubleClick: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDoubleClick: true }),\n captured: keyOf({ onDoubleClickCapture: true })\n }\n },\n drag: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDrag: true }),\n captured: keyOf({ onDragCapture: true })\n }\n },\n dragEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragEnd: true }),\n captured: keyOf({ onDragEndCapture: true })\n }\n },\n dragEnter: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragEnter: true }),\n captured: keyOf({ onDragEnterCapture: true })\n }\n },\n dragExit: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragExit: true }),\n captured: keyOf({ onDragExitCapture: true })\n }\n },\n dragLeave: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragLeave: true }),\n captured: keyOf({ onDragLeaveCapture: true })\n }\n },\n dragOver: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragOver: true }),\n captured: keyOf({ onDragOverCapture: true })\n }\n },\n dragStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDragStart: true }),\n captured: keyOf({ onDragStartCapture: true })\n }\n },\n drop: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDrop: true }),\n captured: keyOf({ onDropCapture: true })\n }\n },\n durationChange: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onDurationChange: true }),\n captured: keyOf({ onDurationChangeCapture: true })\n }\n },\n emptied: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onEmptied: true }),\n captured: keyOf({ onEmptiedCapture: true })\n }\n },\n encrypted: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onEncrypted: true }),\n captured: keyOf({ onEncryptedCapture: true })\n }\n },\n ended: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onEnded: true }),\n captured: keyOf({ onEndedCapture: true })\n }\n },\n error: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onError: true }),\n captured: keyOf({ onErrorCapture: true })\n }\n },\n focus: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onFocus: true }),\n captured: keyOf({ onFocusCapture: true })\n }\n },\n input: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onInput: true }),\n captured: keyOf({ onInputCapture: true })\n }\n },\n invalid: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onInvalid: true }),\n captured: keyOf({ onInvalidCapture: true })\n }\n },\n keyDown: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onKeyDown: true }),\n captured: keyOf({ onKeyDownCapture: true })\n }\n },\n keyPress: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onKeyPress: true }),\n captured: keyOf({ onKeyPressCapture: true })\n }\n },\n keyUp: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onKeyUp: true }),\n captured: keyOf({ onKeyUpCapture: true })\n }\n },\n load: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoad: true }),\n captured: keyOf({ onLoadCapture: true })\n }\n },\n loadedData: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoadedData: true }),\n captured: keyOf({ onLoadedDataCapture: true })\n }\n },\n loadedMetadata: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoadedMetadata: true }),\n captured: keyOf({ onLoadedMetadataCapture: true })\n }\n },\n loadStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onLoadStart: true }),\n captured: keyOf({ onLoadStartCapture: true })\n }\n },\n // Note: We do not allow listening to mouseOver events. Instead, use the\n // onMouseEnter/onMouseLeave created by `EnterLeaveEventPlugin`.\n mouseDown: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseDown: true }),\n captured: keyOf({ onMouseDownCapture: true })\n }\n },\n mouseMove: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseMove: true }),\n captured: keyOf({ onMouseMoveCapture: true })\n }\n },\n mouseOut: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseOut: true }),\n captured: keyOf({ onMouseOutCapture: true })\n }\n },\n mouseOver: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseOver: true }),\n captured: keyOf({ onMouseOverCapture: true })\n }\n },\n mouseUp: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onMouseUp: true }),\n captured: keyOf({ onMouseUpCapture: true })\n }\n },\n paste: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPaste: true }),\n captured: keyOf({ onPasteCapture: true })\n }\n },\n pause: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPause: true }),\n captured: keyOf({ onPauseCapture: true })\n }\n },\n play: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPlay: true }),\n captured: keyOf({ onPlayCapture: true })\n }\n },\n playing: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onPlaying: true }),\n captured: keyOf({ onPlayingCapture: true })\n }\n },\n progress: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onProgress: true }),\n captured: keyOf({ onProgressCapture: true })\n }\n },\n rateChange: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onRateChange: true }),\n captured: keyOf({ onRateChangeCapture: true })\n }\n },\n reset: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onReset: true }),\n captured: keyOf({ onResetCapture: true })\n }\n },\n scroll: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onScroll: true }),\n captured: keyOf({ onScrollCapture: true })\n }\n },\n seeked: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSeeked: true }),\n captured: keyOf({ onSeekedCapture: true })\n }\n },\n seeking: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSeeking: true }),\n captured: keyOf({ onSeekingCapture: true })\n }\n },\n stalled: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onStalled: true }),\n captured: keyOf({ onStalledCapture: true })\n }\n },\n submit: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSubmit: true }),\n captured: keyOf({ onSubmitCapture: true })\n }\n },\n suspend: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onSuspend: true }),\n captured: keyOf({ onSuspendCapture: true })\n }\n },\n timeUpdate: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTimeUpdate: true }),\n captured: keyOf({ onTimeUpdateCapture: true })\n }\n },\n touchCancel: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchCancel: true }),\n captured: keyOf({ onTouchCancelCapture: true })\n }\n },\n touchEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchEnd: true }),\n captured: keyOf({ onTouchEndCapture: true })\n }\n },\n touchMove: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchMove: true }),\n captured: keyOf({ onTouchMoveCapture: true })\n }\n },\n touchStart: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTouchStart: true }),\n captured: keyOf({ onTouchStartCapture: true })\n }\n },\n transitionEnd: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onTransitionEnd: true }),\n captured: keyOf({ onTransitionEndCapture: true })\n }\n },\n volumeChange: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onVolumeChange: true }),\n captured: keyOf({ onVolumeChangeCapture: true })\n }\n },\n waiting: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onWaiting: true }),\n captured: keyOf({ onWaitingCapture: true })\n }\n },\n wheel: {\n phasedRegistrationNames: {\n bubbled: keyOf({ onWheel: true }),\n captured: keyOf({ onWheelCapture: true })\n }\n }\n};\n\nvar topLevelEventsToDispatchConfig = {\n topAbort: eventTypes.abort,\n topAnimationEnd: eventTypes.animationEnd,\n topAnimationIteration: eventTypes.animationIteration,\n topAnimationStart: eventTypes.animationStart,\n topBlur: eventTypes.blur,\n topCanPlay: eventTypes.canPlay,\n topCanPlayThrough: eventTypes.canPlayThrough,\n topClick: eventTypes.click,\n topContextMenu: eventTypes.contextMenu,\n topCopy: eventTypes.copy,\n topCut: eventTypes.cut,\n topDoubleClick: eventTypes.doubleClick,\n topDrag: eventTypes.drag,\n topDragEnd: eventTypes.dragEnd,\n topDragEnter: eventTypes.dragEnter,\n topDragExit: eventTypes.dragExit,\n topDragLeave: eventTypes.dragLeave,\n topDragOver: eventTypes.dragOver,\n topDragStart: eventTypes.dragStart,\n topDrop: eventTypes.drop,\n topDurationChange: eventTypes.durationChange,\n topEmptied: eventTypes.emptied,\n topEncrypted: eventTypes.encrypted,\n topEnded: eventTypes.ended,\n topError: eventTypes.error,\n topFocus: eventTypes.focus,\n topInput: eventTypes.input,\n topInvalid: eventTypes.invalid,\n topKeyDown: eventTypes.keyDown,\n topKeyPress: eventTypes.keyPress,\n topKeyUp: eventTypes.keyUp,\n topLoad: eventTypes.load,\n topLoadedData: eventTypes.loadedData,\n topLoadedMetadata: eventTypes.loadedMetadata,\n topLoadStart: eventTypes.loadStart,\n topMouseDown: eventTypes.mouseDown,\n topMouseMove: eventTypes.mouseMove,\n topMouseOut: eventTypes.mouseOut,\n topMouseOver: eventTypes.mouseOver,\n topMouseUp: eventTypes.mouseUp,\n topPaste: eventTypes.paste,\n topPause: eventTypes.pause,\n topPlay: eventTypes.play,\n topPlaying: eventTypes.playing,\n topProgress: eventTypes.progress,\n topRateChange: eventTypes.rateChange,\n topReset: eventTypes.reset,\n topScroll: eventTypes.scroll,\n topSeeked: eventTypes.seeked,\n topSeeking: eventTypes.seeking,\n topStalled: eventTypes.stalled,\n topSubmit: eventTypes.submit,\n topSuspend: eventTypes.suspend,\n topTimeUpdate: eventTypes.timeUpdate,\n topTouchCancel: eventTypes.touchCancel,\n topTouchEnd: eventTypes.touchEnd,\n topTouchMove: eventTypes.touchMove,\n topTouchStart: eventTypes.touchStart,\n topTransitionEnd: eventTypes.transitionEnd,\n topVolumeChange: eventTypes.volumeChange,\n topWaiting: eventTypes.waiting,\n topWheel: eventTypes.wheel\n};\n\nfor (var type in topLevelEventsToDispatchConfig) {\n topLevelEventsToDispatchConfig[type].dependencies = [type];\n}\n\nvar ON_CLICK_KEY = keyOf({ onClick: null });\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\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 topLevelTypes.topAbort:\n case topLevelTypes.topCanPlay:\n case topLevelTypes.topCanPlayThrough:\n case topLevelTypes.topDurationChange:\n case topLevelTypes.topEmptied:\n case topLevelTypes.topEncrypted:\n case topLevelTypes.topEnded:\n case topLevelTypes.topError:\n case topLevelTypes.topInput:\n case topLevelTypes.topInvalid:\n case topLevelTypes.topLoad:\n case topLevelTypes.topLoadedData:\n case topLevelTypes.topLoadedMetadata:\n case topLevelTypes.topLoadStart:\n case topLevelTypes.topPause:\n case topLevelTypes.topPlay:\n case topLevelTypes.topPlaying:\n case topLevelTypes.topProgress:\n case topLevelTypes.topRateChange:\n case topLevelTypes.topReset:\n case topLevelTypes.topSeeked:\n case topLevelTypes.topSeeking:\n case topLevelTypes.topStalled:\n case topLevelTypes.topSubmit:\n case topLevelTypes.topSuspend:\n case topLevelTypes.topTimeUpdate:\n case topLevelTypes.topVolumeChange:\n case topLevelTypes.topWaiting:\n // HTML Events\n // @see http://www.w3.org/TR/html5/index.html#events-0\n EventConstructor = SyntheticEvent;\n break;\n case topLevelTypes.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 topLevelTypes.topKeyDown:\n case topLevelTypes.topKeyUp:\n EventConstructor = SyntheticKeyboardEvent;\n break;\n case topLevelTypes.topBlur:\n case topLevelTypes.topFocus:\n EventConstructor = SyntheticFocusEvent;\n break;\n case topLevelTypes.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 topLevelTypes.topContextMenu:\n case topLevelTypes.topDoubleClick:\n case topLevelTypes.topMouseDown:\n case topLevelTypes.topMouseMove:\n case topLevelTypes.topMouseOut:\n case topLevelTypes.topMouseOver:\n case topLevelTypes.topMouseUp:\n EventConstructor = SyntheticMouseEvent;\n break;\n case topLevelTypes.topDrag:\n case topLevelTypes.topDragEnd:\n case topLevelTypes.topDragEnter:\n case topLevelTypes.topDragExit:\n case topLevelTypes.topDragLeave:\n case topLevelTypes.topDragOver:\n case topLevelTypes.topDragStart:\n case topLevelTypes.topDrop:\n EventConstructor = SyntheticDragEvent;\n break;\n case topLevelTypes.topTouchCancel:\n case topLevelTypes.topTouchEnd:\n case topLevelTypes.topTouchMove:\n case topLevelTypes.topTouchStart:\n EventConstructor = SyntheticTouchEvent;\n break;\n case topLevelTypes.topAnimationEnd:\n case topLevelTypes.topAnimationIteration:\n case topLevelTypes.topAnimationStart:\n EventConstructor = SyntheticAnimationEvent;\n break;\n case topLevelTypes.topTransitionEnd:\n EventConstructor = SyntheticTransitionEvent;\n break;\n case topLevelTypes.topScroll:\n EventConstructor = SyntheticUIEvent;\n break;\n case topLevelTypes.topWheel:\n EventConstructor = SyntheticWheelEvent;\n break;\n case topLevelTypes.topCopy:\n case topLevelTypes.topCut:\n case topLevelTypes.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 if (registrationName === ON_CLICK_KEY) {\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 === ON_CLICK_KEY) {\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/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 * @providesModule SyntheticAnimationEvent\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/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 * @providesModule SyntheticClipboardEvent\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/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 * @providesModule SyntheticCompositionEvent\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/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 * @providesModule SyntheticDragEvent\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/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 * @providesModule SyntheticFocusEvent\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/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 * @providesModule SyntheticInputEvent\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/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 * @providesModule SyntheticKeyboardEvent\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/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 * @providesModule SyntheticTouchEvent\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/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 * @providesModule SyntheticTransitionEvent\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/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 * @providesModule SyntheticWheelEvent\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/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 * @providesModule adler32\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/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 * @providesModule checkReactTypeSpec\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactPropTypeLocationNames = require('./ReactPropTypeLocationNames');\nvar ReactPropTypesSecret = require('./ReactPropTypesSecret');\n\nvar invariant = require('fbjs/lib/invariant');\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\nvar loggedTypeFailures = {};\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name 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 * @param {string} componentName Name of the component for error messages.\n * @param {?object} element The React element that is being type-checked\n * @param {?number} debugID The React component instance that is being type-checked\n * @private\n */\nfunction checkReactTypeSpec(typeSpecs, values, location, componentName, element, debugID) {\n for (var typeSpecName in typeSpecs) {\n if (typeSpecs.hasOwnProperty(typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n !(typeof typeSpecs[typeSpecName] === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : _prodInvariant('84', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName) : void 0;\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n process.env.NODE_ENV !== 'production' ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], typeSpecName, typeof error) : void 0;\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 componentStackInfo = '';\n\n if (process.env.NODE_ENV !== 'production') {\n if (!ReactComponentTreeHook) {\n ReactComponentTreeHook = require('./ReactComponentTreeHook');\n }\n if (debugID !== null) {\n componentStackInfo = ReactComponentTreeHook.getStackAddendumByID(debugID);\n } else if (element !== null) {\n componentStackInfo = ReactComponentTreeHook.getCurrentStackAddendum(element);\n }\n }\n\n process.env.NODE_ENV !== 'production' ? warning(false, 'Failed %s type: %s%s', location, error.message, componentStackInfo) : void 0;\n }\n }\n }\n}\n\nmodule.exports = checkReactTypeSpec;\n\n\n// WEBPACK FOOTER //\n// ./~/react/lib/checkReactTypeSpec.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 * @providesModule dangerousStyleValue\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/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 * @providesModule findDOMNode\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./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/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 * @providesModule getEventKey\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/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 * @providesModule getNodeForCharacterOffset\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/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 * @providesModule quoteAttributeValueForBrowser\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/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* @providesModule renderSubtreeIntoContainer\n*/\n\n'use strict';\n\nvar ReactMount = require('./ReactMount');\n\nmodule.exports = ReactMount.renderSubtreeIntoContainer;\n\n\n// WEBPACK FOOTER //\n// ./~/react/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 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","\"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/~/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/~/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/~/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/~/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/~/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/~/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/~/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/~/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/~/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/~/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/~/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/~/fbjs/lib/memoizeStringOnly.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';\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 return (\n <QuickAuthPane\n buttonLabel={i18n.str(\"loginAtLabel\", quickAuthConnection(model).getIn([\"domains\", 0]))}\n buttonClickHandler={e => logIn(l.id(model), quickAuthConnection(model))}\n header={header}\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 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 { 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: `${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 ? \"usernameOrEmailInputPlaceholder\"\n : \"usernameInputPlaceholder\";\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={databaseUsernameStyle(model)}\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=\"text\"\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"],"sourceRoot":""} \ No newline at end of file diff --git a/build/nb.js b/build/nb.js new file mode 100644 index 000000000..dc1ed9f09 --- /dev/null +++ b/build/nb.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("nb", {"error":{"forgotPassword":{"too_many_requests":"Du er midlertidig blokkert på grunn av for mange passord-endringsforsøk. Vent litt før du prøver igjen.","lock.fallback":"Beklager, noe gikk galt med forespørselen om passord endring."},"login":{"blocked_user":"Brukeren er blokkert.","invalid_user_password":"Feil legitimasjon.","lock.fallback":"Beklager, noe gikk galt med innloggingsforsøket.","lock.invalid_code":"Feil kode.","lock.invalid_email_password":"Feil epost eller passord.","lock.invalid_username_password":"Feil brukernavn eller passord.","lock.network":"Kunne ikke kontakte serveren. Sjekk nettforbindelsen din og prøv igjen.","lock.popup_closed":"Popup vinduet ble lukket. Prøv igjen.","lock.unauthorized":"Fikk ikke adgang. Prøv igjen.","password_change_required":"Du må endre passord fordi dette er første gang du logger inn eller fordi passordet har utløpt.","password_leaked":"Denne påloggingen er blokkert fordi passordet har blitt lekket på et annet nettsted. Vi har sendt deg en epost med instruksjoner for hvordan du opphever blokkeringen.","too_many_attempts":"Din konto er blokkert på grunn av for mange påloggingsforsøk."},"passwordless":{"bad.email":"Epost-adressen er ugyldig","bad.phone_number":"Telefonnummeret er ugyldig","lock.fallback":"Beklager, noe gikk galt"},"signUp":{"invalid_password":"Passordet er ugyldig.","lock.fallback":"Beklager, noe gikk galt under registreringen.","password_dictionary_error":"Passordet er for vanlig.","password_no_user_info_error":"Passordet er basert på bruker-informasjon.","password_strength_error":"Passordet er for svakt.","user_exists":"Brukeren finnes fra før.","username_exists":"Brukernavnet finnes fra før."}},"success":{"logIn":"Takk for at du logget inn.","forgotPassword":"Vi sendte nettop en epost for å nullstille passordet ditt.","magicLink":"Vi sendte en lenke for å logge inn<br>på %s.","signUp":"Takk for at du registrerte deg."},"blankErrorHint":"Kan ikke være tom","codeInputPlaceholder":"din kode","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"eller","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"eller","emailInputPlaceholder":"din.epost@example.com","enterpriseLoginIntructions":"Logg inn med bedrifts-legitimasjon.","enterpriseActiveLoginInstructions":"Fyll inn bedrifts-legitimasjon ved %s.","failedLabel":"Mislyktes!","forgotPasswordAction":"Husker du ikke passordet?","forgotPasswordInstructions":"Skriv inn epost-adressen din. Vi sender deg en epost for å nullstille passordet.","forgotPasswordSubmitLabel":"Send epost","invalidErrorHint":"Ugyldig","lastLoginInstructions":"Forrige gang logget du inn med","loginAtLabel":"Logg inn påLog in at %s","loginLabel":"Logg inn","loginSubmitLabel":"Logg inn","loginWithLabel":"Logg inn med %s","notYourAccountAction":"Ikke din konto?","passwordInputPlaceholder":"ditt passord","passwordStrength":{"containsAtLeast":"Inneholder minst %d av følgende %d type tegn:","identicalChars":"Ikke mer enn %d like tegn etterhverandre (dvs. \"%s\" er ikke tillatt)","nonEmpty":"Passordet kan ikke være tomt","numbers":"Tall (dvs. 0-9)","lengthAtLeast":"Minst %d tegn langt","lowerCase":"Små bokstaver (a-å)","shouldContain":"Bør inneholde:","specialCharacters":"Spesialtegn (dvs. !@#$%^&*)","upperCase":"Store bokstaver (A-Å)"},"passwordlessEmailAlternativeInstructions":"Alternativt, skriv inn din epost-adresse for å logge inn<br>eller opprette en konto","passwordlessEmailCodeInstructions":"En epost med koden har blitt sendt til %s.","passwordlessEmailInstructions":"Skriv inn din epost-adresse for å logge inn<br>eller opprette en konto","passwordlessSMSAlternativeInstructions":"Alternativt, skriv inn ditt telefonnummer for å logge inn<br>eller opprette en konto","passwordlessSMSCodeInstructions":"En SMS med koden har blitt sendt til %s.","passwordlessSMSInstructions":"Skriv inn ditt telefonnummer for å logge inn<br>eller opprette en konto","phoneNumberInputPlaceholder":"ditt telefonnummer","resendCodeAction":"Fikk du ikke koden?","resendLabel":"Send på nytt","resendingLabel":"Sender på nytt...","retryLabel":"Prøv igjen","sentLabel":"Sendt!","signUpLabel":"Registrer deg","signUpSubmitLabel":"Registrer","signUpTerms":"","signUpWithLabel":"Registrer deg med %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On aktivert","submitLabel":"Send","unrecoverableError":"Noe gikk galt.<br />Ta kontakt med teknisk support.","usernameFormatErrorHint":"Bruk %d-%d bokstaver, tall og \"_\"","usernameInputPlaceholder":"ditt brukernavn","usernameOrEmailInputPlaceholder":"brukernavn/epost","title":"Auth0","welcome":"Velkommen %s!","windowsAuthInstructions":"Du er tilkoblet via ditt bedrifts-nettverk…","windowsAuthLabel":"Windows-autentisering"}); \ No newline at end of file diff --git a/build/nl.js b/build/nl.js new file mode 100644 index 000000000..9974b02e9 --- /dev/null +++ b/build/nl.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("nl", {"error":{"forgotPassword":{"too_many_requests":"U heeft de limiet van wachtwoord aanpassings pogingen bereikt. Wacht even voor dat u het nog een keer probeert.","lock.fallback":"Onze excuses, er is iets fout gegaan bij de de aanvraag voor een wachtwoord aanpassing."},"login":{"blocked_user":"De gebruiker is geblokkeerd.","invalid_user_password":"Gebruiker of wachtwoord is niet correct.","lock.fallback":"Onze excuses, er is iets mis gegaan bij het aanmelden.","lock.invalid_code":"Verkeerde code.","lock.invalid_email_password":"Verkeerde e-mailadres of wachtwoord.","lock.invalid_username_password":"Verkeerde gebruikersnaam of wachtwoord.","lock.network":"Server is niet bereikbaar. Controleer uw netwerk verbinding en probeer het nog eens.","lock.popup_closed":"Popup venster gesloten. Probeer het nog een keer.","lock.unauthorized":"Autorisatie geweigerd. Probeer het nog een keer.","password_change_required":"U moet uw wachtwoord aanpassen omdat dit de eerste keer is dat u inlogt of omdat uw wachtwoord is verlopen.","password_leaked":"Deze login is geblokkeerd omdat uw wachtwoord is gelekt op een andere website. We hebben een e-mail verstuurd met instructies voor het deblokkeren.","too_many_attempts":"Uw account is geblokkeerd als gevolg van herhaalde pogingen om in te loggen."},"passwordless":{"bad.email":"Het e-mailadres is ongeldig","bad.phone_number":"Het telefoonnummer is ongeldig","lock.fallback":"Onze excuses, er is iets fout gegaan."},"signUp":{"invalid_password":"Wachtwoord is ongeldig.","lock.fallback":"Onze excuses, er is iets mis gegaan bij de poging om te registreren.","password_dictionary_error":"Wachtwoord is een te bekend woord.","password_no_user_info_error":"Wachtwoord is gebaseerd op gebruikers informatie.","password_strength_error":"Wachtwoord is niet sterk genoeg.","user_exists":"Gebruiker bestaat al.","username_exists":"Gebruikersnaam bestaat al."}},"success":{"logIn":"Dank u voor het inloggen.","forgotPassword":"Wij hebben een e-mail verstuurd voor het resetten van uw wachtwoord.","magicLink":"Wij hebben een link verstuurd, naar %s, om mee in te loggen.","signUp":"Bedankt voor uw aanmelding."},"blankErrorHint":"Mag niet leeg zijn","codeInputPlaceholder":"uw code","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"of","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"of","emailInputPlaceholder":"iets@example.com","enterpriseLoginIntructions":"Login met uw bedrijfs inloggegevens.","enterpriseActiveLoginInstructions":"Voer uw bedrijfs inloggegevens in op %s.","failedLabel":"Gefaald!","forgotPasswordAction":"Wachtwoord vergeten??","forgotPasswordInstructions":"Geef uw e-mailadres op. Wij sturen een e-mail voor het resetten van uw wachtwoord.","forgotPasswordSubmitLabel":"Verstuur e-mail","invalidErrorHint":"Ongeldig","lastLoginInstructions":"U bent laatst aangemeld met","loginAtLabel":"Inloggen op %s","loginLabel":"Inloggen","loginSubmitLabel":"Inloggen","loginWithLabel":"Inloggen met %s","notYourAccountAction":"Niet uw gebruikersaccount?","passwordInputPlaceholder":"uw wachtwoord","passwordStrength":{"containsAtLeast":"Bevat minsten %d van de volgende %d type karacters:","identicalChars":"Niet meer dan %d identieke letters op een rij (e.g., \"%s\" is niet toegestaan)","nonEmpty":"Wachtwoord mag niet leeg zijn","numbers":"Cijfers (i.e. 0-9)","lengthAtLeast":"Minstens %d letters lang","lowerCase":"kleine letters (a-z)","shouldContain":"Moet bevatten:","specialCharacters":"Speciale letters (e.g. !@#$%^&*)","upperCase":"Hoofdletters (A-Z)"},"passwordlessEmailAlternativeInstructions":"Anders, voer uw e-mailadres in om in te loggen<br/>of creëer een nieuwe gebruikersaccount","passwordlessEmailCodeInstructions":"Er is een e-mail met de code verstuurd naar %s.","passwordlessEmailInstructions":"Voer uw e-mailadres in om aan te melden <br/>of maak een nieuw account aan","passwordlessSMSAlternativeInstructions":"Anders, voer uw telefoonnummer in om in te loggen<br/>of creëer een nieuwe gebruikersaccount","passwordlessSMSCodeInstructions":"Er is een SMS met de code verstuurd <br/>naar %s.","passwordlessSMSInstructions":"Voer uw telefoonnummer in om in te loggen <br/>of creëer een nieuw gebruikersaccount","phoneNumberInputPlaceholder":"uw telefoonnummer","resendCodeAction":"Code niet ontvangen?","resendLabel":"Opnieuw verzenden","resendingLabel":"wordt verzonden...","retryLabel":"Opnieuw proberen","sentLabel":"Verzonden!","signUpLabel":"Aanmelden","signUpSubmitLabel":"Aanmelden","signUpTerms":"","signUpWithLabel":"Aanmelden met %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On geactiveerd","submitLabel":"Verzenden","unrecoverableError":"Er ging iets mis.<br/>Neem a.u.b. contact op met de technische support.","usernameFormatErrorHint":"Gebruik 1-15 letters, cijfers en \"_\"","usernameInputPlaceholder":"uw gebruikersnaam","usernameOrEmailInputPlaceholder":"gebruikersnaam/e-mailadres","title":"Auth0","welcome":"Welkom %s!","windowsAuthInstructions":"U bent verbonden vanaf uw bedrijfsnetwerk…","windowsAuthLabel":"Windows Authenticatie"}); \ No newline at end of file diff --git a/build/pl.js b/build/pl.js new file mode 100644 index 000000000..4300a8a1d --- /dev/null +++ b/build/pl.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("pl", {"error":{"forgotPassword":{"too_many_requests":"Przekroczyłeś limit prób zmiany hasła. Odczekaj chwilę, zanim spróbujesz ponownie.","lock.fallback":"Przykro nam, coś poszło nie tak podczas próby zmiany hasła."},"login":{"blocked_user":"Ten użytkownik jest zablokowany.","invalid_user_password":"Niepoprawne dane logowania.","lock.fallback":"Przykro nam, coś poszło nie tak podczas próby logowania.","lock.invalid_code":"Niepoprawny kod.","lock.invalid_email_password":"Niepoprawny email lub hasło.","lock.invalid_username_password":"Niepoprawna nazwa użytkownika lub hasło.","lock.network":"Kontakt z serwerem nie powiódł się. Sprawdź swoje połączenie i spróbuj ponownie.","lock.popup_closed":"Okno zamknięte. Spróbuj ponownie.","lock.unauthorized":"Autoryzacja nie została udzielona. Spróbuj ponownie.","password_change_required":"Musisz zmienić swoje hasło, ponieważ logujesz się po raz pierwszy lub Twoje hasło wygasło.","password_leaked":"Ta nazwa użytkownika została zablokowana, ponieważ Twoje hasło wyciekło w innym serwisie. Wysłaliśmy do Ciebie email z instrukcją odblokowania konta.","too_many_attempts":"Twoje konto zostało zablokowane po zbyt wielu nieudanych próbach logowania."},"passwordless":{"bad.email":"Adres email nie jest poprawny","bad.phone_number":"Numer telefonu nie jest poprawny","lock.fallback":"Przykro nam, coś poszło nie tak"},"signUp":{"invalid_password":"Hasło nie jest poprawne.","lock.fallback":"Przykro nam, coś poszło nie tak podczas próby rejestracji.","password_dictionary_error":"Hasło jest zbyt oczywiste.","password_no_user_info_error":"Hasło oparte jest na informacjach o użytkowniku.","password_strength_error":"Hasło jest zbyt słabe.","user_exists":"Użytkownik już istnieje.","username_exists":"Nazwa użytkownika już istnieje."}},"success":{"logIn":"Logowanie poprawne, dziękujemy.","forgotPassword":"Wysłaliśmy do Ciebie email z instrukcją, jak zresetować hasło.","magicLink":"Wysłaliśmy do Ciebie link umożliwiający zalogowanie<br />do %s.","signUp":"Rejestracja poprawna, dziękujemy."},"blankErrorHint":"Nie może być puste","codeInputPlaceholder":"Twój kod","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"albo","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"albo","emailInputPlaceholder":"twój@email.pl","enterpriseLoginIntructions":"Zaloguj się z użyciem danych firmowych.","enterpriseActiveLoginInstructions":"Wpisz swoje dane firmowe w %s.","failedLabel":"Nie udało się!","forgotPasswordAction":"Nie pamiętasz hasła?","forgotPasswordInstructions":"Wpisz swój adres email. Wyślemy Ci informację o tym, jak zresetować hasło.","forgotPasswordSubmitLabel":"Wyślij email","invalidErrorHint":"Niepoprawnie","lastLoginInstructions":"Ostatnie poprawne logowanie z:","loginAtLabel":"Logowanie z: %s","loginLabel":"Logowanie","loginSubmitLabel":"Zaloguj się","loginWithLabel":"Zaloguj się z %s","notYourAccountAction":"Nie Twoje konto?","passwordInputPlaceholder":"Twoje hasło","passwordStrength":{"containsAtLeast":"Zawiera przynajmniej %d następujących %d typów znaków:","identicalChars":"Nie więcej niż %d takich samych znaków pod rząd (np., \"%s\" nie jest dozwolone)","nonEmpty":"Hasło jest wymagane","numbers":"Cyfry (np. 0-9)","lengthAtLeast":"Przynajmniej %d znaków","lowerCase":"Litery małe (a-z)","shouldContain":"Powinno zawierać:","specialCharacters":"Znaki specjalne (np. !@#$%^&*)","upperCase":"Wielkie litery (A-Z)"},"passwordlessEmailAlternativeInstructions":"W innym przypadku wpisz adres email, by się zalogować<br/>lub stwórz konto","passwordlessEmailCodeInstructions":"Email z kodem został wysłany na adres %s.","passwordlessEmailInstructions":"Wpisz adres email, by się zalogować<br/>lub stwórz konto","passwordlessSMSAlternativeInstructions":"W innym przypadku wpisz numer telefonu, by się zalogować<br/>lub stwórz konto","passwordlessSMSCodeInstructions":"SMS z kodem został wysłany na numer<br/>%s.","passwordlessSMSInstructions":"Wpisz numer telefonu, by się zalogować<br/>lub stwórz konto","phoneNumberInputPlaceholder":"Twój numer telefonu","resendCodeAction":"Nie otrzymałeś/-aś kodu?","resendLabel":"Wyślij ponownie","resendingLabel":"Wysyłanie...","retryLabel":"Raz jeszcze","sentLabel":"Wysłany!","signUpLabel":"Rejestracja","signUpSubmitLabel":"Zarejestruj się","signUpTerms":"","signUpWithLabel":"Zarejestruj się za pomocą %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On włączony","submitLabel":"Wyślij","unrecoverableError":"Coś poszło nie tak.<br />Skontaktuj się z pomocą techniczną.","usernameFormatErrorHint":"Użyj %d-%d liter, cyfr i \"_\"","usernameInputPlaceholder":"Twoja nazwa użytkownika","usernameOrEmailInputPlaceholder":"nazwa użytkownika/email","title":"Auth0","welcome":"Witaj %s!","windowsAuthInstructions":"Jesteś połączony z sieci firmowej…","windowsAuthLabel":"Uwierzytelnianie Windows"}); \ No newline at end of file diff --git a/build/pt-br.js b/build/pt-br.js new file mode 100644 index 000000000..d3daeaf6b --- /dev/null +++ b/build/pt-br.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("pt-br", {"error":{"forgotPassword":{"too_many_requests":"Você atingiu o limite máximo de tentativas. Por favor aguarde antes de tentar novamente.","lock.fallback":"Sentimos muito, mas algo deu errado ao requisitar a mudança de senha."},"login":{"blocked_user":"O usuário está bloqueado.","invalid_user_password":"Credenciais inválidas.","lock.fallback":"Sentimos muito, mas algo deu errado ao tentar entrar.","lock.invalid_code":"Código inválido.","lock.invalid_email_password":"Email ou senha inválidos.","lock.invalid_username_password":"Usuário ou senha inválidos.","lock.network":"Não foi possível acessar o servidor. Por favor verifique sua conexão e tente novamente.","lock.popup_closed":"Popup fechada. Tente novamente.","lock.unauthorized":"Permissões não foram concedidas. Tente novamente.","password_change_required":"Você precisa atualizar sua senha porque é seu primeiro login, ou porque sua senha expirou.","password_leaked":"Esse login está bloqueado porque sua senha foi vazada em outro website. Nós lhe enviamos um email com instruções sobre como desbloqueá-lo.","too_many_attempts":"A sua conta foi bloqueada após várias tentativas de login consecutivas."},"passwordless":{"bad.email":"O email é inválido","bad.phone_number":"O número de telefone é inválido","lock.fallback":"Sentimos muito, algo deu errado"},"signUp":{"invalid_password":"A senha é inválida.","lock.fallback":"Sentimos muito, algo deu errado ao tentar se inscrever.","password_dictionary_error":"A senha é muito comum.","password_no_user_info_error":"A senha é baseado em informações do usuário.","password_strength_error":"A senha é muito fraca.","user_exists":"O usuário já existe.","username_exists":"O nome de usuário já existe."}},"success":{"logIn":"Obrigado por fazer login.","forgotPassword":"Acabamos de enviar um email para resetar sua senha.","magicLink":"Nós enviamos um link para fazer login<br />em %s.","signUp":"Obrigado por se inscrever."},"blankErrorHint":"Não pode ser em branco","codeInputPlaceholder":"seu código","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"ou","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"ou","emailInputPlaceholder":"seu@exemplo.com","enterpriseLoginIntructions":"Entre com suas credenciais corporativas.","enterpriseActiveLoginInstructions":"Por favor entre com suas credenciais corporativas em %s.","failedLabel":"Falha!","forgotPasswordAction":"Esqueceu sua senha?","forgotPasswordInstructions":"Por favor digite seu endereço de email. Enviarmos um email para resetar sua senha.","forgotPasswordSubmitLabel":"Enviar email","invalidErrorHint":"Inválido","lastLoginInstructions":"Na última vez você entrou com","loginAtLabel":"Login em %s","loginLabel":"Login","loginSubmitLabel":"Log in","loginWithLabel":"Login com %s","notYourAccountAction":"Não é sua conta?","passwordInputPlaceholder":"sua senha","passwordStrength":{"containsAtLeast":"Contenha no mínimo %d dos seguintes %d tipos de caracteres:","identicalChars":"Não mais de %d caracteres idênticos em sequência (ex: \"%s\" não é permitido)","nonEmpty":"Senha não pode ser em branco","numbers":"Números (0-9)","lengthAtLeast":"No mínimo %d caracteres","lowerCase":"Letras minúsculas (a-z)","shouldContain":"Deve conter:","specialCharacters":"Caracteres especiais (ex: !@#$%^&*)","upperCase":"Letras maiúsculas (A-Z)"},"passwordlessEmailAlternativeInstructions":"Senão, digite seu email para entrar<br/>ou criar uma conta","passwordlessEmailCodeInstructions":"Um email com o código foi enviado para %s.","passwordlessEmailInstructions":"Digite seu email para entrar<br/>ou criar uma conta","passwordlessSMSAlternativeInstructions":"Senão, digite seu telefone para entrar<br/>ou criar uma conta","passwordlessSMSCodeInstructions":"Um SMS com o código foi enviado<br/>para %s.","passwordlessSMSInstructions":"Digite seu telefone para entrar<br/>ou criar uma conta","phoneNumberInputPlaceholder":"seu número de telefone","resendCodeAction":"Não recebeu o código?","resendLabel":"Reenviar","resendingLabel":"Reenviando...","retryLabel":"Tentar novamente","sentLabel":"Enviado!","signUpLabel":"Inscrever","signUpSubmitLabel":"Inscrever","signUpTerms":"","signUpWithLabel":"Inscreva-se com %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On habilitado","submitLabel":"Enviar","unrecoverableError":"Algo deu errado.<br />Por favor entre em contato com o suporte.","usernameFormatErrorHint":"Use %d-%d letras, números e \"_\"","usernameInputPlaceholder":"seu nome de usuário","usernameOrEmailInputPlaceholder":"usuário/email","title":"Auth0","welcome":"Bem-vindo a %s!","windowsAuthInstructions":"Você está conectado da sua rede corporativa…","windowsAuthLabel":"Autenticação Windows"}); \ No newline at end of file diff --git a/build/ru.js b/build/ru.js new file mode 100644 index 000000000..49781d57b --- /dev/null +++ b/build/ru.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("ru", {"error":{"forgotPassword":{"too_many_requests":"Вы достигли предельного числа запросов на восстановление пароля. Пожалуйста, подождите перед повторной попыткой.","lock.fallback":"Произошла непредвиденная ошибка при запросе на восстановление пароля. Приносим свои извинения."},"login":{"blocked_user":"Пользователь заблокирован.","invalid_user_password":"Неверный пароль.","lock.fallback":"Произошла непредвиденная ошибка при попытке авторизации. Приносим свои извинения.","lock.invalid_code":"Неверный код.","lock.invalid_email_password":"Неверный адрес электронной почти или пароль.","lock.invalid_username_password":"Неверное имя пользователя или пароль.","lock.network":"Нет доступа к серверу. Пожалуйста, проверьте подключение и повторите попытку.","lock.popup_closed":"Всплывающее окно закрыто, попробуйте еще раз.","lock.unauthorized":"Недостаточно полномочий, попробуйте еще раз.","password_change_required":"Необходимо обновить пароль, посколько Вы совершаете вход в первый раз, или срок действия пароля истек.","password_leaked":"Эта учетная запись была заблокирована, поскольку произошла утечка Вашего пароля на другом веб-сайте. На Ваш электронный адрес отправлена инструкция по восстановлению учетной записи.","too_many_attempts":"Ваш аккаунт был заблокирован после нескольких последовательных попыток входа в систему."},"passwordless":{"bad.email":"Недействительный адрес электронной почты","bad.phone_number":"Недействительный номер телефона","lock.fallback":"Произошла непредвиденная ошибка. Приносим свои извинения"},"signUp":{"invalid_password":"Неверный пароль.","lock.fallback":"Произошла непредвиденная ошибка при попытке создания учетной записи. Приносим свои извинения.","password_dictionary_error":"Пароль слишком общий","password_no_user_info_error":"Пароль основывается на информации о пользователе.","password_strength_error":"Пароль слишком слабый.","user_exists":"Пользователь уже существует.","username_exists":"Имя пользователя уже существует."}},"success":{"logIn":"Спасибо, что вошли.","forgotPassword":"Мы отправили Вам сообщение для восстановления пароля.","magicLink":"Мы отправили Вам ссылку для входа<br />в %s.","signUp":"Спасибо, что зарегистрировались."},"blankErrorHint":"Поле не может быть пустым","codeInputPlaceholder":"Ваш код","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"или","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"или","emailInputPlaceholder":"yours@example.com","enterpriseLoginIntructions":"Используйте учетные данные Вашей корпоративной учетной записи для входа.","enterpriseActiveLoginInstructions":"Пожалуйста, введите Ваши корпоративные учетные данные по ссылке %s.","failedLabel":"Не удалось совершить действие!","forgotPasswordAction":"Не помните пароль?","forgotPasswordInstructions":"Пожалуйста, введите Ваш адрес электронной почты. Мы отправим Вам сообщение для восстановления пароля.","forgotPasswordSubmitLabel":"отправить по электронной почте","invalidErrorHint":"Недействительные данные","lastLoginInstructions":"В прошлый раз Вы вошли под","loginAtLabel":"Войдите по ссылке %s","loginLabel":"Вход","loginSubmitLabel":"авторизоваться","loginWithLabel":"Вход через %s","notYourAccountAction":"Не Ваша учетная запись?","passwordInputPlaceholder":"Ваш пароль","passwordStrength":{"containsAtLeast":"Содержать как минимум %d вида символов из следующих %d-х:","identicalChars":"Не более чем %d идентичных символа в ряд (например, \"%s\" не допускается)","nonEmpty":"Пароль не может быть пустым","numbers":"Цифры (0-9)","lengthAtLeast":"Как минимум %d символов","lowerCase":"Строчные буквы (a-z)","shouldContain":"Должен содержать:","specialCharacters":"Специальные символы (например !@#$%^&*)","upperCase":"Прописные буквы (A-Z)"},"passwordlessEmailAlternativeInstructions":"Либо введите адрес электронной почты, чтобы войти<br>или зарегистрироваться","passwordlessEmailCodeInstructions":"Сообщение с кодом отправлено на %s.","passwordlessEmailInstructions":"Введите адрес электронной почты, чтобы войти<br/>или зарегистрироваться","passwordlessSMSAlternativeInstructions":"Либо введите Ваш номер телефона, чтобы войти<br/>или зарегистрироваться","passwordlessSMSCodeInstructions":"СМС с кодом было отправлено<br/>на %s.","passwordlessSMSInstructions":"Введите Ваш номер телефона, чтобы войти<br/>или зарегистрироваться","phoneNumberInputPlaceholder":"Ваш номер телефона","resendCodeAction":"Не получили код?","resendLabel":"Отправить повторный запрос","resendingLabel":"Повторная отправка...","retryLabel":"Повторить попытку","sentLabel":"Отправлено!","signUpLabel":"Зарегистрироваться","signUpSubmitLabel":"Зарегистрироваться","signUpTerms":"","signUpWithLabel":"Зарегистрироваться через %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Единый вход включен","submitLabel":"Отправить","unrecoverableError":"Произошла непредвиденная ошибка.<br />Пожалуйста, обратитесь в службу технической поддержки.","usernameFormatErrorHint":"Используйте %d-%d букв, цифр и \"_\"","usernameInputPlaceholder":"Ваше имя пользователя","useranmeOrEmailInputPlaceholder":"электронной почты/пользователя","title":"Auth0","welcome":"Добро пожаловать, %s!","windowsAuthInstructions":"Вы подключены через корпоративную сеть…","windowsAuthLabel":"Аутентификация Windows"}); \ No newline at end of file diff --git a/build/sv.js b/build/sv.js new file mode 100644 index 000000000..c119a457a --- /dev/null +++ b/build/sv.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("sv", {"error":{"forgotPassword":{"too_many_requests":"Du har nått gränsen för maximalt antal försök att ändra ditt lösenord. Vänta och försök sedan igen.","lock.fallback":"Något gick fel när vi försökte ändra ditt lösenord."},"login":{"blocked_user":"Användaren är spärrad.","invalid_user_password":"Inloggningsuppgifterna är felaktiga.","lock.fallback":"Något gick fel vid inloggningsförsöket.","lock.invalid_code":"Fel kod.","lock.invalid_email_password":"Fel e-postadress eller lösenord.","lock.invalid_username_password":"Fel användarnamn eller lösenord.","lock.network":"Kunde inte kontakta servern. Kontrollera din uppkoppling och försök igen.","lock.popup_closed":"Popup-fönster stängt. Försök igen.","lock.unauthorized":"Åtkomst nekad. Försök igen.","password_change_required":"Du behöver ändra ditt lösenord då detta är första gången du loggar in eller för att ditt lösenord har gått ut.","password_leaked":"Din konto har blivit spärrat då ditt lösenord har lagts upp på en annan webbsida. Du har fått e-post med instruktioner om hur du låser upp ditt konto.","too_many_attempts":"Ditt konto har blivit spärrat efter flera felaktiga inloggningsförsök."},"passwordless":{"bad.email":"Din e-postadress är ogiltig.","bad.phone_number":"Ditt telefonnummer är ogiltigt.","lock.fallback":"Något gick fel."},"signUp":{"invalid_password":"Lösenordet är ogiltigt.","lock.fallback":"Något gick fel vid registreringen.","password_dictionary_error":"Lösenordet är för vanligt.","password_no_user_info_error":"Lösenordet baseras på personuppgifter.","password_strength_error":"Lösenordet är för svagt.","user_exists":"Användaren finns redan.","username_exists":"Användarnamnet finns redan."}},"success":{"logIn":"Tack för att du loggar in.","forgotPassword":"Vi har skickat dig ett e-postmeddelande där du kan återställa ditt lösenord.","magicLink":"Vi har skickat en länk för att logga in<br />på %s.","signUp":"Tack för att du registrerade dig."},"blankErrorHint":"Får inte lämnas tom","codeInputPlaceholder":"Din kod","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"eller","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"eller","emailInputPlaceholder":"dinepostadress@exempel.se","enterpriseLoginIntructions":"Logga in med dina företagsuppgifter.","enterpriseActiveLoginInstructions":"Ange dina företagsuppgifter för %s.","failedLabel":"Misslyckades!","forgotPasswordAction":"Glömt ditt lösenord?","forgotPasswordInstructions":"Ange din e-postadress. Vi skickar ett e-postmeddelande med instruktioner för att återställa ditt lösenord.","forgotPasswordSubmitLabel":"Skicka e-post","invalidErrorHint":"Ogiltig","lastLoginInstructions":"Senast loggade du in med","loginAtLabel":"Logga in på %s","loginLabel":"Logga in","loginSubmitLabel":"Logga in","loginWithLabel":"Logga in med %s","notYourAccountAction":"Inte ditt konto?","passwordInputPlaceholder":"ditt lösenord","passwordStrength":{"containsAtLeast":"Måste innehålla minst %d av följande %d sorters tecken:","identicalChars":"Inte fler än %d identiska tecken i rad (t.ex., \"%s\" är inte tillåtet)","nonEmpty":"Lösenord får inte vara tomma","numbers":"Siffror (t.ex. 0-9)","lengthAtLeast":"Minst %d tecken långt","lowerCase":"Gemener (a-z)","shouldContain":"Måste innehålla:","specialCharacters":"Specialtecken (t.ex. !@#$%^&*)","upperCase":"Versaler (A-Z)"},"passwordlessEmailAlternativeInstructions":"Annars, ange din e-postadress för att logga in<br>eller skapa ett konto","passwordlessEmailCodeInstructions":"Ett e-postmeddelande med koden har skickats till %s.","passwordlessEmailInstructions":"Ange din e-postadress för att logga in<br>eller skapa ett konto","passwordlessSMSAlternativeInstructions":"Annars, ange ditt telefonnummer för att logga in<br>eller skapa ett konto","passwordlessSMSCodeInstructions":"Ett SMS med koden har skickats<br>till %s.","passwordlessSMSInstructions":"Ange ditt telefonnummer för att logga in<br>eller skapa ett konto","phoneNumberInputPlaceholder":"ditt telefonnummer","resendCodeAction":"Fick du ingen kod?","resendLabel":"Skicka igen","resendingLabel":"Skickar igen...","retryLabel":"Försök igen","sentLabel":"Skickats!","signUpLabel":"Registrera dig","signUpSubmitLabel":"Registrera dig","signUpTerms":"","signUpWithLabel":"Registrera dig med %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Single Sign-On aktiverad","submitLabel":"Skicka","unrecoverableError":"Något gick fel.<br />Vänligen kontakta teknisk support.","usernameFormatErrorHint":"Använd %d-%d bokstäver, siffror och \"_\"","usernameInputPlaceholder":"ditt användarnamn","usernameOrEmailInputPlaceholder":"användarnamn/e-postadress","title":"Auth0","welcome":"Välkommen %s!","windowsAuthInstructions":"Du är uppkopplad från ditt företagsnätverk…","windowsAuthLabel":"Windows Authentication"}); \ No newline at end of file diff --git a/build/tr.js b/build/tr.js new file mode 100644 index 000000000..4887f6224 --- /dev/null +++ b/build/tr.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("tr", {"error":{"forgotPassword":{"too_many_requests":"Şifre değiştirme deneme sayısında limite ulaştınız. Tekrar denemeden önce lütfen bekleyin.","lock.fallback":"Özür dileriz, şifre değiştirme isteğiniz gerçekleştirilirken bir hata oluştu."},"login":{"blocked_user":"Kullanıcı engellendi.","invalid_user_password":"Kimlik bilgileri hatalı.","lock.fallback":"Özür dileriz, giriş yaparken bir hata oluştu.","lock.invalid_code":"Hatalı kod.","lock.invalid_email_password":"Yanlış e-posta yada şifre.","lock.invalid_username_password":"Yanlış kullanıcı adı yada şifre.","lock.network":"Sunucuya ulaşamadık. Lütfen bağlantınızı kontrol edin ve tekrar deneyin.","lock.popup_closed":"Popup penceresi kapandı. Tekrar deneyin.","lock.unauthorized":"Yetkiler alınamadı. Tekrar deneyin.","lock.mfa_registration_required":"Çok faktörlü kimlik doğrulama gerekmekte ancak cihazınız kayıtlı değil. Devam etmeden önce lütfen cihazınızı kaydettirin.","lock.mfa_invalid_code":"Hatalı kod. Lütfen tekrar deneyin.","password_change_required":"İlk defa giriş yaptığınız yada şifrenizin kullanım süresi dolduğu için şifrenizi güncellenmeniz gerekmektedir.","password_leaked":"Şifreniz başka bir websitesinde açığa çıktığı için bu giriş denemesi engelledi. Engeli kaldırmak için gereken adımları size email ile gönderdik.","too_many_attempts":"Çoklu giriş denemesi sonucunda hesabınız bloke oldu."},"passwordless":{"bad.email":"E-posta geçerli değil","bad.phone_number":"Telefon numarası geçerli değil","lock.fallback":"Özür dileriz, bir hata oluştu"},"signUp":{"invalid_password":"Şifre geçersiz.","lock.fallback":"Özür dileriz, kaydolurken bir hata oluştu.","password_dictionary_error":"Şifre çok genel.","password_no_user_info_error":"Şifre kullanıcı bilgilerini içeriyor.","password_strength_error":"Şifre çok zayıf.","user_exists":"Bu kullanıcı zaten var.","username_exists":"Bu kullanıcı adı zaten var."}},"success":{"logIn":"Giriş yaptığınız için teşekkürler.","forgotPassword":"Şifrenizi yenilemeniz için size az önce bir e-posta gönderdik.","magicLink":"Giriş yapmanız için size bir link gönderdik<br /> %s.","signUp":"Kaydolduğunuz için teşekkürler."},"blankErrorHint":"Boş kalamaz","codeInputPlaceholder":"kodunuz","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"yada","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"yada","emailInputPlaceholder":"sizin@ornek.com","enterpriseLoginIntructions":"Şirket kimliğiniz ile giriş yapın.","enterpriseActiveLoginInstructions":"Lütfen %s deki şirket kimliğinizi girin.","failedLabel":"Başarısız!","forgotPasswordAction":"Şifrenizi hatırlamıyor musunuz?","forgotPasswordInstructions":"Lütfen e-posta adresinizi girin. Şifrenizi yenilemek için size e-posta göndereceğiz.","forgotPasswordSubmitLabel":"Email gönder","invalidErrorHint":"Geçersiz","lastLoginInstructions":"En son giriş yaptığınız","loginAtLabel":"%s ile giriş yap","loginLabel":"Giriş yap","loginSubmitLabel":"Giriş yap","loginWithLabel":"%s ile giriş","notYourAccountAction":"Sizin hesabınız değil mi?","passwordInputPlaceholder":"şifreniz","passwordStrength":{"containsAtLeast":"En az %d farklı tip karakter kullanılmalıdır. Altta kullanılabilir %d farklı tip listelenmiştir.","identicalChars":"Tek satırda %d den fazla aynı karakter olamaz (ör., \"%s\" izin verilmez)","nonEmpty":"Boşluksuz şifre gerekli","numbers":"Sayılar (ör. 0-9)","lengthAtLeast":"En az %d karakter uzunluğunda","lowerCase":"Küçük harfler (a-z)","shouldContain":"İçermeli:","specialCharacters":"Özel karakterler (ör. !@#$%^&*)","upperCase":"Büyük harfler (A-Z)"},"passwordlessEmailAlternativeInstructions":"Aksi halde, giriş yapmak için e-posta adresinizi girin<br/>yada bir hesap oluşturun","passwordlessEmailCodeInstructions":"%s adresine kod içeren bir e-posta gönderildi.","passwordlessEmailInstructions":"Giriş yapmak için e-posta adresinizi girin<br/>yada bir hesap oluşturun","passwordlessSMSAlternativeInstructions":"Aksi halde, giriş yapmak için telefon numaranızı girin<br/>yada bir hesap oluşturun","passwordlessSMSCodeInstructions":"Kod içeren bir SMS gönderildi<br/>%s.","passwordlessSMSInstructions":"Giriş yapmak için telefon numaranızı girin<br/>yada bir hesap oluşturun","phoneNumberInputPlaceholder":"telefon numaranız","resendCodeAction":"Kod'u almadınız mı?","resendLabel":"Tekrar gönder","resendingLabel":"Tekrar gönderiliyor...","retryLabel":"Tekrarla","sentLabel":"Gönderildi!","signUpLabel":"Kaydol","signUpSubmitLabel":"Kaydol","signUpTerms":"","signUpWithLabel":"%s ile kaydol","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Tek oturum açma (SSO) etkinleştirildi","submitLabel":"Gönder","unrecoverableError":"Bir hata oluştu.<br />Lütfen teknik destek ile iletişime geçin.","usernameFormatErrorHint":"%d-%d harflerini, sayıları ve \"_\" kullanın","usernameInputPlaceholder":"kullanıcı adınız","usernameOrEmailInputPlaceholder":"kullanıcı adı/e-posta","title":"Auth0","welcome":"Hoşgeldin %s!","windowsAuthInstructions":"İş ağınızdan bağlandınız…","windowsAuthLabel":"Windows Kimlik Doğrulama","mfaInputPlaceholder":"Kod","mfaLoginTitle":"2 adımda doğrulama","mfaLoginInstructions":"Lütfen mobil uygulamanız ile üretilen doğrulama kodunu girin.","mfaSubmitLabel":"Giriş yap","mfaCodeErrorHint":"%d numaralarını kullanın"}); \ No newline at end of file diff --git a/build/vi.js b/build/vi.js new file mode 100644 index 000000000..aacc1d95c --- /dev/null +++ b/build/vi.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("vi", {"error":{"forgotPassword":{"too_many_requests":"Bạn đã sử dụng tối đa số lần đổi mật khẩu được cho phép. Vui lòng thử lại sau.","lock.fallback":"Đã có lỗi xảy ra trong lúc thay đổi mật khẩu, chúng tôi rất lấy làm tiếc."},"login":{"blocked_user":"Tài khoản đã bị khóa.","invalid_user_password":"Tài khoản không tồn tại.","lock.fallback":"Đã có lỗi xảy ra trong lúc đăng nhập, chung tôi rất lấy làm tiếc.","lock.invalid_code":"Sai mã số","lock.invalid_email_password":"Email / mật khẩu không chính xác.","lock.invalid_username_password":"Tài khoản / mật khẩu không chính xác.","lock.network":"Không thể kết nói đến server. Vui lòng kiểm lại đường truyền và thử lại.","lock.popup_closed":"Cửa sổ Popup đã đóng. Vui lòng thử lại.","lock.unauthorized":"Tài khoản không được cấp phép. Vui lòng thử lại.","lock.mfa_registration_required":"Xác thực đa yếu tố được yêu cầu nhưng thiết bị của bạn không có đăng ký. Vui lòng đăng ký và thử lại sau.","lock.mfa_invalid_code":"Sai mã số. Vui lòng thử lại.","password_change_required":"Bạn cần phải thay đổi mật khẩu vì đây là lần đầu bạn đăng nhập, hoặc mật khẩu của bạn đã hết hạn.","password_leaked":"Tài khoản của bạn đã bị khóa do mật khẩu của bạn đã bị rò rỉ ở 1 website khác. Chúng tôi đã gửi cho bạn 1 email hướng dẫn cách mở khóa tài khoản.","too_many_attempts":"Tài khoản của bạn đã bị khóa do liên tục đăng nhập thất bại nhiều lần."},"passwordless":{"bad.email":"Email không hợp lệ.","bad.phone_number":"Số điện thoại không hợp lệ.","lock.fallback":"Đã có lỗi xãy ra, chúng tôi rất lấy làm tiếc."},"signUp":{"invalid_password":"Mật khẩu không hợp lệ.","lock.fallback":"Đã có lỗi xảy ra trong lúc đăng ký, chúng tôi rất lấy làm tiếc.","password_dictionary_error":"Mật khẩu quá dễ đoán.","password_no_user_info_error":"Mật khẩu giống thông tin cá nhân.","password_strength_error":"Mật khẩu quá yếu.","user_exists":"Tài khoản đã có người sử dụng.","username_exists":"Tài khoản đã có người sử dụng."}},"success":{"logIn":"Đăng nhập thành công.","forgotPassword":"Chúng tôi vừa gửi cho bạn 1 email hướng dẫn cách phục hồi mật khẩu.","magicLink":"Chúng tôi vừa gửi cho bạn 1 đường link đăng nhập<br />tới %s.","signUp":"Đăng ký thành công."},"blankErrorHint":"Không được để trống","codeInputPlaceholder":"Mã số của bạn","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"hoặc","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"hoặc","emailInputPlaceholder":"email@domain.com","enterpriseLoginIntructions":"Đăng nhập với thông tin đăng nhập công ty của bạn","enterpriseActiveLoginInstructions":"Vui lòng điền thông tin đăng nhập công ty của bạn %s.","failedLabel":"Thất bại!","forgotPasswordAction":"Quên mật khẩu?","forgotPasswordInstructions":"Vui lòng điền email vào đây. Chúng tôi sẽ gửi thư hướng dẫn phục hồi mật khẩu cho bạn ngay lập tức.","forgotPasswordSubmitLabel":"Gửi email","invalidErrorHint":"Không hợp lệ","lastLoginInstructions":"Lần đăng nhập gần đây nhất của bạn","loginAtLabel":"Đăng nhập vào lúc %s","loginLabel":"Đăng nhập","loginSubmitLabel":"Đăng nhập","loginWithLabel":"Đăng nhập với %s","notYourAccountAction":"Không phải tài khoản của bạn?","passwordInputPlaceholder":"Mật khẩu","passwordStrength":{"containsAtLeast":"Phải có ít nhất %d các ký tự sau %d:","identicalChars":"Tối đa %d kí tự (e.g., không cho phép\"%s\")","nonEmpty":"Mật khẩu không được để trống","numbers":"Số (i.e. 0-9)","lengthAtLeast":"Phải có ít nhất %d kí tự","lowerCase":"Chữ không in hoa (a-z)","shouldContain":"Phải có:","specialCharacters":"Kí tự đặc biệt (e.g. !@#$%^&*)","upperCase":"Chữ in hoa (A-Z)"},"passwordlessEmailAlternativeInstructions":"Bằng không, nhập email của bạn để đăng nhập<br/>hoặc đăng ký.","passwordlessEmailCodeInstructions":"1 email có mã số đã được gửi tới email %s.","passwordlessEmailInstructions":"Nhập email của bạn để đăng nhập<br/>hoặc đăng ký","passwordlessSMSAlternativeInstructions":"Bằng không, nhập số điện thoại của bạn để đăng nhập<br/>hoặc đăng ký","passwordlessSMSCodeInstructions":"1 SMS có mã số đã được gửi <br/>tới %s.","passwordlessSMSInstructions":"Nhập số điện thoại của bạn để đăng nhập<br/>hoặc đăng ký","phoneNumberInputPlaceholder":"Số điện thoại","resendCodeAction":"Không nhận được mã số?","resendLabel":"Gửi lại","resendingLabel":"Đang gửi lại...","retryLabel":"Thử lại","sentLabel":"Đã gửi!","signUpLabel":"Đăng ký","signUpSubmitLabel":"Đăng ký","signUpTerms":"","signUpWithLabel":"Đăng ký với %s","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"Đăng nhập 1 lần đã được kích hoạt","submitLabel":"Gửi","unrecoverableError":"Có lỗi hệ thống xảy ra.<br />Vui lòng liên hệ bộ phận kỹ thuật để được giúp đỡ.","usernameFormatErrorHint":"Chỉ sử dụng %d-%d kí tự, số và \"_\"","usernameInputPlaceholder":"Tên tài khoản","usernameOrEmailInputPlaceholder":"Tên tài khoản/Email","title":"Auth0","welcome":"Xin chào, %s!","windowsAuthInstructions":"Đã đã được kết nối tự mạng của công ty…","windowsAuthLabel":"Xác thực Windows","mfaInputPlaceholder":"Mã số","mfaLoginTitle":"Xác thực 2 nhân tố","mfaLoginInstructions":"Vui lòng nhập mã số được tạo trên thiết bị di động của bạn.","mfaSubmitLabel":"Đăng nhập","mfaCodeErrorHint":"Chỉ sử dụng %d số"}); \ No newline at end of file diff --git a/build/zh-tw.js b/build/zh-tw.js new file mode 100644 index 000000000..4e65118b0 --- /dev/null +++ b/build/zh-tw.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("zh-tw", {"error":{"forgotPassword":{"too_many_requests":"嘗試登入次數太多,請稍後再試。","lock.fallback":"對不起,修改密碼時發生錯誤。"},"login":{"blocked_user":"帳號已被鎖定。","invalid_user_password":"密碼錯誤","lock.fallback":"對不起,登入時發生錯誤。","lock.invalid_code":"代碼錯誤。","lock.invalid_email_password":"電子郵件或密碼錯誤。","lock.invalid_username_password":"帳號或密碼錯誤。","lock.network":"無法連線到伺服器,請檢查網路連線後重試。","lock.popup_closed":"彈出視窗被關閉,請重試。","lock.unauthorized":"權限不足,請重試。","password_change_required":"因為是第一次登入或密碼已逾期,請更新密碼。","password_leaked":"由於您的密碼已在其他網站洩漏,帳號已被鎖定,請查看電子郵件解鎖。","too_many_attempts":"由於登入異常頻繁,您的帳號已被鎖定。"},"passwordless":{"bad.email":"電子信箱錯誤","bad.phone_number":"手機號碼錯誤。","lock.fallback":"對不起,發生錯誤。"},"signUp":{"invalid_password":"密碼錯誤","lock.fallback":"對不起,註冊時發生錯誤。","password_dictionary_error":"密碼過於常見。","password_no_user_info_error":"密碼中出現帳號訊息。","password_strength_error":"密碼太簡單。","user_exists":"該使用者已存在。","username_exists":"該帳號已存在。"}},"success":{"logIn":"登入成功","forgotPassword":"重設密碼的電子郵件已送出","magicLink":"已送出超連結以登入到<br /> %s ","signUp":"感謝您的註冊。"},"blankErrorHint":"不能是空白","codeInputPlaceholder":"您的代碼","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"或","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"或","emailInputPlaceholder":"yours@example.com","enterpriseLoginIntructions":"請用您的公司帳號登入。","enterpriseActiveLoginInstructions":"請輸入您在 %s 的公司帳號。","failedLabel":"失敗!","forgotPasswordAction":"忘記密碼?","forgotPasswordInstructions":"請輸入電子郵件信箱,我們將送出重設密碼的信件。","forgotPasswordSubmitLabel":"送出電子郵件","invalidErrorHint":"錯誤","lastLoginInstructions":"上次登入帳號為","loginAtLabel":"登入 %s","loginLabel":"登入","loginSubmitLabel":"登入","loginWithLabel":"用 %s 登入","notYourAccountAction":"這不是您的帳號?","passwordInputPlaceholder":"您的密碼","passwordStrength":{"containsAtLeast":"至少包含 %d 個以下 %d 種字元:","identicalChars":"不能多於 %d 個相同的字元在同一行(例如,不允許出現 \"%s\" )","nonEmpty":"密碼不能為空","numbers":"數字(如 0-9)","lengthAtLeast":"最少 %d 個字元","lowerCase":"小寫字母(a-z)","shouldContain":"應包含:","specialCharacters":"特殊字元(如 !@#$%^&*)","upperCase":"大寫字母(A-Z)"},"passwordlessEmailAlternativeInstructions":"您還可以使用電子郵件信箱登入<br>或是建立帳號","passwordlessEmailCodeInstructions":"代碼已透過電子郵件送到 %s 。","passwordlessEmailInstructions":"輸入電子郵件信箱登入<br>或是建立帳號。","passwordlessSMSAlternativeInstructions":"您還可以使用手機號碼登入<br>或是建立帳號。","passwordlessSMSCodeInstructions":"代碼已透過簡訊發送到<br> %s 。","passwordlessSMSInstructions":"輸入手機號碼登入<br>或是建立帳號","phoneNumberInputPlaceholder":"您的手機號碼","resendCodeAction":"沒有收到代碼?","resendLabel":"重新發送","resendingLabel":"重新發送中....","retryLabel":"重試","sentLabel":"發送!","signUpLabel":"註冊","signUpSubmitLabel":"註冊","signUpTerms":"","signUpWithLabel":"透過 %s 註冊","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"單一簽入已啟用","submitLabel":"送出","unrecoverableError":"發生錯誤。<br />請聯絡技術人員。","usernameFormatErrorHint":"請使用 %d-%d 個字母、數字或 \"_\" 的組合","usernameInputPlaceholder":"您的帳號","usernameOrEmailInputPlaceholder":"帳號 / 電子郵件信箱","title":"Auth0","welcome":"歡迎 %s !","windowsAuthInstructions":"您已連接到公司網路…","windowsAuthLabel":"Windows 認證"}); \ No newline at end of file diff --git a/build/zh.js b/build/zh.js new file mode 100644 index 000000000..561b5b617 --- /dev/null +++ b/build/zh.js @@ -0,0 +1 @@ +Auth0.registerLanguageDictionary("zh", {"error":{"forgotPassword":{"too_many_requests":"您尝试登录次数过多 请稍后再试。","lock.fallback":"对不起,请求修改密码时出现错误。"},"login":{"blocked_user":"该账号已被锁定。","invalid_user_password":"密码错误","lock.fallback":"对不起,请求登陆时出现错误。","lock.invalid_code":"代码错误。","lock.invalid_email_password":"邮箱或密码错误。","lock.invalid_username_password":"账号或密码错误。","lock.network":"无法连接到服务器,请检查网络连接后重试。","lock.popup_closed":"弹出窗口被关闭,请重试","lock.unauthorized":"权限不足,请重试。","password_change_required":"由于这是第一次登录或者您的密码已过期,请更新密码。","password_leaked":"由于您的密码在其他网站已泄露,该账户已被锁定,请查看邮件解除锁定。","too_many_attempts":"由于登录操作太频繁,您的帐号已被锁定。"},"passwordless":{"bad.email":"邮箱错误","bad.phone_number":"手机号码格式不正确。","lock.fallback":"对不起,出现错误。"},"signUp":{"invalid_password":"密码错误","lock.fallback":"对不起,请求注册时出现错误。","password_dictionary_error":"密码过于常见。","password_no_user_info_error":"密码中出现账号信息。","password_strength_error":"密码过于简单。","user_exists":"该账号已存在。","username_exists":"该用户名已存在。"}},"success":{"logIn":"登录成功","forgotPassword":"重置密码的邮件已发送","magicLink":"已向您发送链接<br />到 %s 登录","signUp":"感谢您的注册。"},"blankErrorHint":"不能为空","codeInputPlaceholder":"您的代码","databaseEnterpriseLoginInstructions":"","databaseEnterpriseAlternativeLoginInstructions":"或","databaseSignUpInstructions":"","databaseAlternativeSignUpInstructions":"或","emailInputPlaceholder":"yours@example.com","enterpriseLoginIntructions":"请用您的企业账号登录","enterpriseActiveLoginInstructions":"请输入您的企业账号 %s。","failedLabel":"失败!","forgotPasswordAction":"忘记您的密码?","forgotPasswordInstructions":"请输入您的邮箱,我们将为你发送重置密码的邮件。","forgotPasswordSubmitLabel":"发电子邮件","invalidErrorHint":"错误","lastLoginInstructions":"上次登陆的信息为","loginAtLabel":"登录到 %s","loginLabel":"登录","loginSubmitLabel":"登录","loginWithLabel":"用 %s 登录","notYourAccountAction":"不是您的账号?","passwordInputPlaceholder":"您的密码","passwordStrength":{"containsAtLeast":"至少包含%d个以下%d种字符:","identicalChars":"不能多于%d个相同的字符在同一行(例如,不允许出现 \"%s\" )","nonEmpty":"密码不能为空","numbers":"数字 (如 0-9)","lengthAtLeast":"最少长度为%d个字符","lowerCase":"小写字母(a-z)","shouldContain":"应包含:","specialCharacters":"特殊字符 (如 !@#$%^&*)","upperCase":"大写字母(A-Z)"},"passwordlessEmailAlternativeInstructions":"您还可以通过邮箱登录<br>或者创建账号","passwordlessEmailCodeInstructions":"代码已通过邮件发送到 %s。","passwordlessEmailInstructions":"输入邮箱登录<br>或者创建账号。","passwordlessSMSAlternativeInstructions":"您还可以通过手机号码登录<br>或者创建账号。","passwordlessSMSCodeInstructions":"代码已通过短信发送到<br> %s。","passwordlessSMSInstructions":"输入手机号码登录<br>或者创建账号","phoneNumberInputPlaceholder":"您的手机号码","resendCodeAction":"没有收到号码?","resendLabel":"重新发送","resendingLabel":"重新发送中...","retryLabel":"重试","sentLabel":"发送!","signUpLabel":"注册","signUpSubmitLabel":"注册","signUpTerms":"","signUpWithLabel":"通过 %s 注册","socialLoginInstructions":"","socialSignUpInstructions":"","ssoEnabled":"单点登录已激活","submitLabel":"提交","unrecoverableError":"出现错误。<br />请联系技术人员。","usernameFormatErrorHint":"请使用%d-%d个字母, 数字或 \"_\"的组合","usernameInputPlaceholder":"您的用户名","usernameOrEmailInputPlaceholder":"用户名/邮箱","title":"Auth0","welcome":"欢迎 %s!","windowsAuthInstructions":"您已连接到组织网络…","windowsAuthLabel":"Windows认证"}); \ No newline at end of file