janrain.capture.ui.handleCaptureResponse({"stat":"ok","result":{"status":"success","statusMessage":"success","transactionId":"loading","action":"load"}},function () { janrain.capture.ui.render({"userData": ["email", "displayName"], "computedFields": {"lastLogin": {"when": ["socialSignIn", "socialRegistration", "thinSocialRegistration", "traditionalRegistration", "traditionalSignin"], "schemaId": "lastLogin", "compute": "dateTime.now"}}, "name": "registration flow", "authProfileData": ["name", "verifiedEmail", "identifier"], "fields": {"emailAddressData": {"schemaId": "email", "justString": true, "type": "string", "element": "data"}, "profilePhotoCustom": {"schemaId": "photos", "returnImageTag": true, "value": "", "element": "data", "forcePublic": true, "type": "image", "imageType": "large"}, "oldpassword": {"schemaId": "password", "tip": "Your current password", "label": "Old Password", "value": "", "element": "input", "validation": {"minLength": 6, "required": true, "messages": {"minLength": "Must be at least 6 characters", "required": "Password is required."}}, "type": "password"}, "userInformationForm": {"action": "widget/traditional_signin.jsonp", "fields": ["traditionalSignIn_emailAddress", "traditionalSignIn_password"], "messages": {"errors": {"invalidPassword": "Incorrect username or password. Try again.", "invalidCredentials": "Incorrect username or password. Try again."}}, "element": "form"}, "publicProfileLink": {"elementHref": "#", "schemaId": "uuid", "value": "", "element": "capture", "addUUIDToLink": true, "elementText": "View public profile", "elementAttributes": {"data-capturescreen": "publicProfileModal"}, "type": "publicProfileLink"}, "public_birthdate": {"element": "capture", "schemaId": "birthday", "label": "Birthdate:", "type": "dateselect_public", "format": "{day}, {month} {d}, {yyyy}"}, "socialRegistration_lastName": {"validation": {"required": true, "messages": {"required": "Last name is required."}}, "type": "text", "schemaId": "familyName", "tip": "", "value": "", "element": "input", "engageData": "profile.name.familyName", "label": "Last name", "placeholder": "Last name"}, "forgotPassword_sendButton": {"type": "submit", "name": "capture_reset_password", "value": "Send", "element": "input"}, "registrationForm": {"action": "widget/traditional_register.jsonp", "fields": ["traditionalRegistration_firstName", "traditionalRegistration_lastName", "traditionalRegistration_emailAddress", "traditionalRegistration_password", "traditionalRegistration_passwordConfirm", "traditionalRegistration_displayName"], "element": "form", "next": {"then": {"render": {"screen": "registrationNewVerification"}, "sendMail": {"mail": "newVerification"}}, "type": "server", "if": {"to": null, "compare": "emailVerified", "withOperator": "=="}}}, "traditionalRegistration_emailAddress": {"validation": {"format": "email", "minLength": 3, "required": true, "messages": {"minLength": "Must be at least 3 characters.", "unique": "Email address is already being used.", "maxLength": "Cannot be more than 128 characters.", "required": "Email address is required.", "format": "Email address is not formatted correctly."}, "maxLength": 128, "unique": true}, "type": "email", "schemaId": "email", "tip": "Will not be shared without your permission", "element": "input", "engageData": "profile.email", "label": "Email Address", "placeholder": "Email Address"}, "public_name": {"schemaId": {"middlename": "middleName", "lastname": "familyName", "firstname": "givenName"}, "element": "capture", "type": "nameFull_public", "label": "Name:"}, "traditionalRegistration_firstName": {"type": "text", "schemaId": "givenName", "tip": "", "label": "First name", "value": "", "element": "input", "validation": {"required": true, "messages": {"required": "First name is required."}}, "placeholder": "First name"}, "photoManager": {"schemaId": "photos", "validation": {"validFileTypes": ["image/jpeg", "image/gif", "image/jpg", "image/png"], "messages": {"validFileTypes": "You may only upload a .jpg, .gif or .png"}}, "type": "photoManager", "customText": {"editProfilePhotoTitlePhotoManager": "Profile Photo", "uploadNewPhotoInstructionPhotoManager": "", "editPhotoLinkPhotoManager": "Edit photo", "chooseDifferentPhotoLinkPhotoManager": "Choose a different photo", "editProfileInstructionPhotoManager": "Select a region of the image to use for your photo", "uploadPhotoButtonTextPhotoManager": "Upload", "profilePhotoTitlePhotoManager": "Profile Photo", "editPhotoPreviewTitlePhotoManager": "", "chooseNewPhotoLinkPhotoManager": "Choose new photo", "removePhotoCancelButtonTextPhotoManager": "Cancel", "removePhotoButtonTextPhotoManager": "Remove", "removePhotoLinkPhotoManager": "Remove photo", "editPhotoButtonTextPhotoManager": "Save", "uploadNextStepInstructionPhotoManager": ""}, "element": "capture"}, "profileBlurb": {"rows": 5, "schemaId": "aboutMe", "value": "", "element": "textarea", "publicPrivateToggle": true, "label": "Profile Blurb", "placeholder": "type in anything you want here"}, "resendVerificationForm": {"action": "widget/verify_email.jsonp", "fields": ["traditionalSignIn_emailAddress"], "element": "form", "messages": {"errors": {"invalidCredentials": "We don't recognize that email address. Try again."}}, "next": {"then": {"error": {"message": "Your email is already verified. You may sign in.", "render": {"screen": "verifyEmail"}}}, "else": {"render": {"screen": "resendVerificationSuccess"}, "sendMail": {"mail": "resendVerification"}}, "type": "server", "if": {"to": null, "compare": "emailVerified", "withOperator": "!="}}}, "resetPasswordForm": {"checkIdentifier": true, "fields": ["traditionalSignIn_emailAddress"], "messages": {"errors": {"invalidIdentifier": "No account with that email address."}}, "element": "form", "action": "widget/recover_password.jsonp", "next": {"then": {"error": {"message": "that account is social signin only"}}, "else": {"render": {"screen": "resetPasswordRequestCodeSuccess"}, "sendMail": {"mail": "passwordRecover"}}, "type": "server", "if": {"to": null, "compare": "password", "withOperator": "=="}}}, "public_profileBlurb": {"schemaId": "aboutMe", "justString": true, "type": "string", "element": "data"}, "socialRegistrationForm": {"action": "widget/social_register.jsonp", "fields": ["socialRegistration_firstName", "socialRegistration_lastName", "socialRegistration_emailAddress", "socialRegistration_displayName"], "element": "form", "next": {"then": {"render": {"screen": "registrationNewVerification"}, "sendMail": {"mail": "newVerification"}}, "type": "server", "if": {"to": null, "compare": "emailVerified", "withOperator": "=="}}}, "traditionalSignIn_emailAddress": {"placeholder": "email address", "schemaId": "email", "label": "", "element": "input", "validation": {"required": true, "messages": {"required": "Email address is required.", "format": "Email address is not formatted correctly."}, "format": "email"}, "type": "email"}, "tradAuthenticateMergeForm": {"action": "widget/traditional_signin.jsonp", "fields": ["traditionalSignIn_emailAddress", "mergePassword"], "messages": {"errors": {"invalidPassword": "Incorrect username or password. Try again.", "invalidCredentials": "Incorrect username or password. Try again."}}, "element": "form"}, "traditionalSignIn_password": {"placeholder": "password", "schemaId": "password", "label": "", "element": "input", "validation": {"required": true, "messages": {"required": "Password is required."}}, "type": "password"}, "linkAccountContainer": {"element": "div"}, "traditionalRegistration_displayName": {"validation": {"unique": true, "messages": {"unique": "That display name is already taken.", "required": "Display name is required."}, "required": true}, "type": "text", "schemaId": "displayName", "tip": "A name to use on this site", "element": "input", "engageData": "profile.displayName", "label": "Display Name", "placeholder": "Display name"}, "mergeAccounts": {"schemaId": {"existing_provider_emailAddress": "profiles.profile.emails", "existing_photo": "photos", "existing_provider_displayName": "profiles.profile.displayName", "existing_emailAddress": "email", "existing_provider_photo": "profiles.profile.photos", "existing_provider": "profiles.identifier", "existing_displayName": "displayName", "existing_siteName": "profiles.domain", "existing_createdDate": "created"}, "element": "capture", "engageData": {"current_provider": "profile.providerName", "current_emailAddress": "profile.verifiedEmail", "current_displayName": "profile.displayName", "current_photo": "profile.photo"}, "traditionalMergeScreen": "traditionalAuthenticateMerge", "type": "mergeAccounts", "customText": {"connectRadio": "Connect this session with your existing account", "createButton": "Create", "createRadio": "Create a new account using {| current_provider |} sign-in", "connectButton": "Connect", "connectLegacyRadio": "Connect this session with your existing account <span class=\"capture_smallText\">You will need to sign in to your existing account to claim it", "moreInfoHover": "You're seeing this screen because on {| existing_createdDate |} you registered at {| existing_siteName |} with your <span class=\"capture_capitalize\">{| existing_provider |}</span> account ({| existing_displayName |})", "moreInfo": "More Info ?", "foundExistingAccount": "We found an existing account for <b>{| current_emailAddress |}</b>"}}, "welcomeName": {"type": "engageCookie", "cookieName": "welcome_info_name", "element": "data"}, "public_phoneNumber": {"schemaId": "primaryAddress.phone", "element": "data", "type": "string", "label": "Phone Number:"}, "newPasswordFormProfile": {"authFields": ["oldpassword"], "fields": ["newpassword", "newpasswordConfirm"], "messages": {"errors": {"invalidCredentials": "Current password is incorrect. Try again."}}, "element": "form", "action": "widget/profile.jsonp", "next": {"type": "server", "render": {"screen": "editProfile"}}}, "socialRegistration_displayName": {"validation": {"unique": true, "messages": {"unique": "That display name is already taken.", "required": "Display name is required."}, "required": true}, "type": "text", "schemaId": "displayName", "tip": "A name to use on this site", "element": "input", "engageData": "profile.displayName", "label": "Display Name", "placeholder": "Display name"}, "createAccountButton": {"type": "submit", "value": "Create Account", "element": "input"}, "public_displayName": {"forcePublic": true, "schemaId": "displayName", "justString": true, "type": "string", "element": "data"}, "newpasswordConfirm": {"schemaId": "password", "tip": "Re-type your password", "label": "Password Confirm", "element": "input", "validation": {"messages": {"match": "Passwords do not match."}, "match": "newpassword"}, "type": "password"}, "public_address": {"schemaId": {"city": "primaryAddress.city", "zippostalcode": "primaryAddress.zip", "streetaddress2": "primaryAddress.address2", "country": "primaryAddress.country", "stateprovince": "primaryAddress.stateAbbreviation", "streetaddress": "primaryAddress.address1"}, "element": "capture", "type": "addressFull_public", "label": "Address:"}, "public_emailAddress": {"schemaId": "email", "element": "data", "type": "string", "label": "Email"}, "newpassword": {"schemaId": "password", "tip": "Desired Password", "label": "New Password", "value": "", "element": "input", "validation": {"minLength": 6, "required": true, "messages": {"minLength": "Must be at least 6 characters", "required": "Password is required."}}, "type": "password"}, "traditionalRegistration_passwordConfirm": {"placeholder": "Password confirm", "schemaId": "password", "tip": "Re-type your password", "label": "Password Confirm", "element": "input", "validation": {"messages": {"match": "Passwords do not match."}, "match": "traditionalRegistration_password"}, "type": "password"}, "public_gender": {"schemaId": "gender", "element": "data", "type": "string", "label": "Gender:"}, "phone": {"type": "text", "schemaId": "primaryAddress.phone", "element": "input", "publicPrivateToggle": true, "label": "Phone", "placeholder": "phone"}, "mergePassword": {"placeholder": "password", "schemaId": "password", "label": "", "element": "input", "validation": {"required": true, "messages": {"required": "Password is required."}}, "type": "password"}, "addressDrop": {"type": "addressFull", "schemaId": {"city": "primaryAddress.city", "zippostalcode": "primaryAddress.zip", "streetaddress2": "primaryAddress.address2", "country": "primaryAddress.country", "stateprovince": "primaryAddress.stateAbbreviation", "streetaddress": "primaryAddress.address1"}, "value": {"country": "United States"}, "element": "capture", "publicPrivateToggle": true, "label": "Address", "placeholder": {"city": "city", "streetaddress": "street address", "streetaddress2": "address 2", "zippostalcode": "zip", "country": "United States"}, "customText": {"countryLabel": "country", "stateLabel": "state"}}, "saveButton": {"type": "submit", "value": "Save", "element": "input"}, "traditionalSignIn_createButton": {"elementContent": "<span class=\"janrain-icon-16 janrain-icon-plus\"></span> Create Account", "elementClasses": ["capture_secondary", "capture_btn_half"], "modify": {"attributes": {"next": "{\"dontSubmit\":true, \"screen\":\"traditionalRegistration\"}"}, "event": "click", "element": "capture_signIn_userInformationForm"}, "type": "submit", "element": "button"}, "socialRegistration_firstName": {"validation": {"required": true, "messages": {"required": "First name is required."}}, "type": "text", "schemaId": "givenName", "tip": "", "value": "", "element": "input", "engageData": "profile.name.givenName", "label": "First name", "placeholder": "First name"}, "traditionalRegistration_lastName": {"type": "text", "schemaId": "familyName", "tip": "", "label": "Last name", "value": "", "element": "input", "validation": {"required": true, "messages": {"required": "Last name is required."}}, "placeholder": "Last name"}, "displayName": {"validation": {"required": true, "messages": {"required": "Display name is required."}}, "type": "text", "schemaId": "displayName", "tip": "Required", "element": "input", "displayPublic": true, "disablePublicPrivate": true, "publicPrivateToggle": false, "label": "Display Name", "placeholder": "e.g., Bob Smith, bikeGuy"}, "name": {"type": "nameFull", "schemaId": {"middlename": "middleName", "lastname": "familyName", "firstname": "givenName"}, "element": "capture", "publicPrivateToggle": true, "label": "Name", "placeholder": {"middlename": "middle", "lastname": "last", "firstname": "first"}}, "traditionalRegistration_password": {"placeholder": "Password", "schemaId": "password", "tip": "Must be at least 6 characters", "label": "Password", "element": "input", "validation": {"minLength": 6, "required": true, "messages": {"minLength": "Must be at least 6 characters", "required": "Password is required."}}, "type": "password"}, "gender": {"schemaId": "gender", "element": "select", "displayPublic": true, "publicPrivateToggle": true, "label": "Gender", "options": [{"disabled": true, "text": "--", "value": ""}, {"text": "Not Specified", "value": "Not Specified"}, {"text": "Male", "value": "male"}, {"text": "Female", "value": "female"}]}, "socialRegistration_emailAddress": {"validation": {"format": "email", "minLength": 3, "required": true, "messages": {"minLength": "Must be at least 3 characters.", "unique": "That email address is already in use.", "maxLength": "Cannot be more than 128 characters.", "required": "Email address is required.", "format": "Email address is not formatted correctly."}, "maxLength": 128, "unique": true}, "type": "email", "schemaId": "email", "tip": "Will not be shared without your permission", "value": "", "element": "input", "engageData": "profile.email", "label": "Email Address", "placeholder": "Email Address"}, "linkedAccounts": {"schemaId": {"displayNames": "profiles.profile.displayName", "identifiers": "profiles.identifier"}, "messages": {"errors": {"linkError": "That account is already in use."}}, "element": "capture", "displayFormat": "{| provider |}", "displayFormatKnown": "{| displayName |}", "linkAccountContainer": "linkAccountContainer", "type": "linkAccounts", "customText": {"linkAnotherAccount": "Link account"}}, "birthdate": {"validation": {"isDate": true, "messages": {"isDate": "This is not a valid date", "minYears": "You're too young"}, "minYears": 16}, "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "schemaId": "birthday", "label": "Birthdate", "element": "capture", "publicPrivateToggle": true, "type": "dateselect", "customText": {"monthLabelDateSelect": "month", "yearLabelDateSelect": "year", "dayLabelDateSelect": "day"}}, "resendLink": {"displayCondition": {"to": null, "compare": "emailVerified", "withOperator": "=="}, "elementAttributes": {"data-capturecontrol": "resendVerificationEmail"}, "elementHref": "#", "elementText": "Resend confirmation email", "element": "anchor"}, "traditionalSignIn_signInButton": {"elementContent": "<span class=\"janrain-icon-16 janrain-icon-key\"></span> Sign In", "elementClasses": ["capture_secondary"], "type": "submit", "value": "Sign In", "element": "button"}, "newPasswordForm": {"action": "widget/profile.jsonp", "fields": ["newpassword", "newpasswordConfirm"], "element": "form", "next": {"type": "server", "render": {"screen": "resetPasswordSuccess"}}}, "forgotPasswordForm": {"checkIdentifier": true, "fields": ["traditionalSignIn_emailAddress"], "messages": {"errors": {"invalidIdentifier": "No account with that email address."}}, "element": "form", "action": "widget/recover_password.jsonp", "next": {"then": {"error": {"message": "that account is social signin only"}}, "else": {"render": {"screen": "forgotPasswordSuccess"}, "sendMail": {"mail": "passwordRecover"}}, "type": "server", "if": {"to": null, "compare": "password", "withOperator": "=="}}}, "editProfileForm": {"action": "widget/profile.jsonp", "fields": ["displayName", "profileBlurb", "name", "email", "phone", "addressDrop", "gender", "birthdate"], "element": "form", "next": {"then": {"render": {"screen": "editProfile"}, "sendMail": {"mail": "changeVerification"}}, "else": {"render": {"screen": "editProfile"}}, "type": "server", "if": {"becameUnverified": true}}}, "socialRegistration_signInButton": {"type": "submit", "value": "Sign In", "element": "input"}, "displayNameStorageData": {"type": "localStorage", "data": "displayName", "element": "data"}, "email": {"validation": {"required": true, "messages": {"required": "Email address is required.", "format": "Email address is not formatted correctly."}, "format": "email"}, "type": "email", "schemaId": "email", "tip": "{* resendLink *}", "element": "input", "displayPublic": true, "error": "A valid email address is required", "disablePublicPrivate": true, "publicPrivateToggle": true, "label": "Email", "placeholder": "email address"}}, "translations": {"en-US": {}}, "i18nStrings": {"invalidForgotPasswordCode": "That code is invalid.", "savedProfileMessage": "Your profile has been saved.", "linkError": "That account is already in use.", "modalConfirmText": "Are you sure you want to quit?", "confirmRemoveLinkedNoText": "Cancel", "invalidPassword": "Incorrect password. Try again.", "validatingText": "Validating", "confirmRemoveLinkedMessage": "Are you sure you want to remove this linked account?", "processing": "Processing", "unexpectedError": "An unexpected internal error has occurred; we are notified when this occurs.", "confirmRemoveLinkedTitle": "Remove Linked Account?", "invalidCredentials": "Incorrect username or password. Try again.", "invalidImageFormatError": "Not an image file.", "retrievingUserData": "Please wait while we retrieve your user data.", "modalCancelLinkText": "No, stay", "confirmRemoveLinkedYesText": "Yes", "modalConfirmLinkText": "Yes, quit", "humanReadableGenericErrorMessage": "Error displaying information", "invalidIdentifier": "No account with that email address.", "accessDenied": "Sorry. Access denied."}, "defaultScreen": "signIn", "screens": {"traditionalAuthenticateMerge": {"source": "client", "layout": "traditionalAuthenticateMerge", "modal": true, "type": "traditionalMergeAccounts"}, "signIn": {"source": "client", "layout": "signIn", "screenConditionals": {"then": {"render": {"screen": "returnSocial"}}, "else": {"then": {"render": {"screen": "returnTraditional"}}, "if": {"to": "traditionalSignin", "compare": "cookie:janrainLastAuthMethod", "withOperator": "==="}}, "if": {"to": "socialSignin", "compare": "cookie:janrainLastAuthMethod", "withOperator": "==="}}, "modal": true}, "returnSocial": {"source": "client", "layout": "returnSocial", "modal": true}, "changePassword": {"source": "client", "modalLoadOnLoad": true, "layout": "changePassword", "modal": true}, "publicProfile": {"dataType": "public", "source": "client", "hasUserData": true, "layout": "publicProfile", "modal": false}, "verifyEmail": {"layout": "verifyEmail", "dataType": "verifyEmail", "next": {"type": "server", "render": {"screen": "verifyEmailSuccess"}}, "source": "client", "modal": true, "modalLoadOnLoad": true}, "editProfile": {"source": "client", "hasUserData": true, "layout": "editProfile", "modal": false}, "traditionalRegistration": {"source": "client", "layout": "traditionalRegistration", "modal": true, "validateOnRender": true}, "returnTraditional": {"source": "client", "layout": "returnTraditional", "modal": true}, "resetPasswordRequestCode": {"layout": "resetPasswordRequestCode", "dataType": "changePasswordLink", "messages": {"errors": {"invalidForgotPasswordCode": "That code is invalid"}}, "next": {"type": "server", "render": {"screen": "resetPassword"}}, "source": "client", "modal": true, "modalLoadOnLoad": true}, "changePasswordSuccess": {"source": "client", "layout": "changePasswordSuccess", "modal": false}, "mergeAccounts": {"source": "client", "modalLoadOnLoad": true, "layout": "mergeAccounts", "modal": true, "type": "mergeAccounts"}, "resetPasswordSuccess": {"source": "client", "modalLoadOnLoad": true, "layout": "resetPasswordSuccess", "modal": true}, "loadTestThinSignIn": {"source": "client", "layout": "signin", "modal": true}, "resetPasswordRequestCodeSuccess": {"source": "client", "modalLoadOnLoad": true, "layout": "resetPasswordRequestCodeSuccess", "modal": true}, "forgotPassword": {"source": "client", "layout": "forgotPassword", "modal": true}, "registrationNewVerification": {"source": "client", "modalLoadOnLoad": true, "layout": "registrationNewVerification", "modal": true, "displayData": ["email"]}, "publicProfileModal": {"dataType": "public", "source": "client", "hasUserData": true, "layout": "publicProfileModal", "modal": true}, "resendVerificationSuccess": {"source": "client", "modalLoadOnLoad": true, "layout": "resendVerificationSuccess", "modal": true}, "socialRegistration": {"source": "client", "layout": "socialRegistration", "modal": true, "validateOnRender": true}, "forgotPasswordSuccess": {"source": "client", "layout": "forgotPasswordSuccess", "modal": true}, "verifyEmailSuccess": {"source": "client", "modalLoadOnLoad": true, "layout": "verifyEmailSuccess", "modal": true}, "resetPassword": {"source": "client", "modalLoadOnLoad": true, "layout": "resetPassword", "modal": true}}, "version": "20180503235615018525", "controls": {"resendVerificationEmail": {"then": {"sendMail": {"mail": "resendVerification"}}, "type": "server", "if": {"to": null, "compare": "emailVerified", "withOperator": "=="}}}, "schema_info": {"paths": {"identifier": "profiles.identifier", "photo_url_sub": "value", "name": "displayName", "created": "created", "email_verified": "emailVerified", "photo_plural": "photos", "public_display": "display", "public_profile_key": "displayName", "password": "password", "email": "email", "accounts_plural": "profiles", "account_emails": "profile.emails"}}, "engageMapping": {"profile": {"origin": "merged_poco", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "engageUpdate", "profileUpdate"], "plural": "profiles"}, "domain": {"origin": "profile.identifier", "process": "domainFromIdentifier", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}, "accessCredentials": {"origin": "accessCredentials", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "engageUpdate", "profileUpdate"], "plural": "profiles"}, "photos": {"origin": "merged_poco.photos", "process": "normalizeProfilePhoto", "when": ["thinSocialRegistration", "socialRegistration", "profileUpdate"]}, "followers": {"origin": "followers", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}, "following": {"origin": "following", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}, "identifier": {"origin": "profile.identifier", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}, "friends": {"origin": "friends", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}}}); });