janrain.capture.ui.handleCaptureResponse({"stat":"ok","result":{"status":"success","statusMessage":"success","transactionId":"loading","action":"load"}},function () { janrain.capture.ui.render({"computedFields": {"lastLogin": {"when": ["socialSignIn", "socialRegistration", "thinSocialRegistration", "traditionalRegistration", "traditionalSignin"], "schemaId": "lastLogin", "compute": "dateTime.now"}}, "name": "registration flow", "authProfileData": ["name", "verifiedEmail", "identifier"], "userData": ["email", "displayName"], "fields": {"socialRegistration_displayName": {"validation": {"required": true, "messages": {"required": "Display name is required."}}, "type": "text", "schemaId": "displayName", "tip": "A name to use on this site", "element": "input", "engageData": "profile.displayName", "label": "Display Name", "placeholder": "Your Name"}, "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"}, "edit_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": {"yearLabelDateSelect": "Year", "monthLabelDateSelect": "Month", "dayLabelDateSelect": "Day"}}, "userInformationForm": {"hideOnSubmit": true, "fields": ["traditionalSignIn_emailAddress", "traditionalSignIn_password"], "messages": {"errors": {"invalidPassword": "Username and password don't match. Try again.", "invalidCredentials": "Username and password don't match. Try again.", "missingPassword": "No password."}}, "element": "form", "checkPassword": true, "action": "widget/traditional_signin.jsonp"}, "traditionalPasswordChange": {"passwordChangeForm": "newPasswordForm", "type": "traditionalPasswordChange", "element": "capture"}, "traditionalRegistration_ageVerification": {"validation": {"required": true, "messages": {"required": "You must verify your age."}}, "type": "checkbox", "label": "I am 18 years of age or older", "value": "unchecked", "element": "input"}, "publicProfileLink": {"type": "publicProfileLink", "schemaId": "uuid", "elementHref": "public-profile.html", "value": "", "element": "capture"}, "edit_profileBlurb": {"rows": 5, "schemaId": "aboutMe", "value": "", "publicPrivateToggle": true, "element": "textarea", "label": "Profile Blurb", "placeholder": "type in anything you want here"}, "public_birthdate": {"format": "{day}, {month} {d}, {yyyy}", "schemaId": "birthday", "value": {"dateselect_month": 5, "dateselect_day": 1, "dateselect_year": 1976}, "element": "capture", "label": "Birthdate:", "type": "dateselect_public"}, "edit_linkedAccounts": {"schemaId": {"displayNames": "profiles.profile.displayName", "identifiers": "profiles.identifier"}, "messages": {"errors": {"linkError": "That account is already in use."}}, "element": "capture", "displayFormat": "{| provider |}", "linkAccountContainer": "linkAccountContainer", "type": "linkAccounts", "displayFormatKnown": "{| displayName |} - {| provider |}"}, "edit_displayName": {"validation": {"required": true, "messages": {"required": "Display name is required."}}, "type": "text", "schemaId": "displayName", "tip": "Required", "label": "Display Name", "element": "input", "publicPrivateToggle": true, "placeholder": "e.g., Bob Smith, bikeGuy"}, "public_profilePhotoCustom": {"schemaId": "photos", "returnImageTag": true, "value": "", "element": "data", "forcePublic": true, "type": "image", "imageType": "large"}, "resetPasswordRequestForm": {"checkIdentifier": true, "hideOnSubmit": 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"}}, "if": {"to": null, "compare": "password", "withOperator": "=="}, "type": "server", "else": {"render": {"screen": "resetPasswordRequestCodeSuccess"}, "sendMail": {"mail": "passwordRecover"}}}}, "traditionalRegistration_emailAddress": {"validation": {"format": "email", "minLength": 3, "required": true, "messages": {"minLength": "Must be at least 3 characters.", "maxLength": "Must be less than 128 characters.", "unique": "Email address is already being used.", "required": "Email address is required.", "format": "Email address is not formatted correctly."}, "maxLength": 128, "unique": true}, "type": "email", "schemaId": "email", "displaySavedValue": true, "tip": "Required. This is your username for the site.", "value": "traditionalSignIn_emailAddress", "label": "Email Address", "engageData": "profile.email", "element": "input", "placeholder": "Email Address"}, "resendVerificationForm": {"hideOnSubmit": false, "fields": ["traditionalSignIn_emailAddress"], "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"}}}, "if": {"to": null, "compare": "emailVerified", "withOperator": "!="}, "type": "server", "else": {"render": {"screen": "resendVerificationSuccess"}, "sendMail": {"mail": "resendVerification"}}}, "action": "widget/recover_password.jsonp", "element": "form"}, "edit_phone": {"placeholder": "phone", "schemaId": "primaryAddress.phone", "publicPrivateToggle": true, "element": "input", "label": "Phone", "type": "text"}, "photoManager": {"schemaId": "photos", "type": "photoManager", "element": "capture"}, "public_name": {"schemaId": {"middlename": "middleName", "lastname": "familyName", "firstname": "givenName"}, "label": "Name:", "type": "nameFull_public", "element": "capture"}, "resetPasswordForm": {"action": "widget/profile.jsonp", "fields": ["newpassword", "newpasswordConfirm"], "next": {"type": "server", "render": {"screen": "resetPasswordSuccess"}}, "element": "form"}, "public_profileBlurb": {"schemaId": "aboutMe", "justString": true, "type": "string", "element": "data"}, "traditionalSignIn_createButton": {"modify": {"attributes": {"next": "{\"dontSubmit\":true, \"storeValues\":true, \"screen\":\"traditionalRegistration\"}"}, "event": "click", "element": "capture_signIn_userInformationForm"}, "value": "Create Account", "element": "button", "elementContent": "<span class=\"janrain-icon-16 janrain-icon-plus\"></span> Create Account", "elementClasses": ["capture_secondary", "capture_btn_half"], "type": "submit"}, "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"}, "edit_gender": {"schemaId": "gender", "publicPrivateToggle": true, "displayPublic": true, "element": "select", "label": "Gender", "options": [{"disabled": true, "text": "--", "value": ""}, {"text": "Not Specified", "value": "Not Specified"}, {"text": "Male", "value": "male"}, {"text": "Female", "value": "female"}]}, "traditionalSignIn_password": {"type": "password", "schemaId": "password", "tip": "<a href=\"#\" data-capturescreen=\"forgotPassword\">Forgot your password?</a>", "label": "", "element": "input", "validation": {"required": true, "messages": {"required": "Password is required."}}, "placeholder": "password"}, "linkAccountContainer": {"element": "div"}, "public_gender": {"schemaId": "gender", "label": "Gender:", "type": "string", "element": "data"}, "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"}, "traditionalMergeScreen": "traditionalAuthenticateMerge", "type": "mergeAccounts", "engageData": {"current_provider": "profile.providerName", "current_emailAddress": "profile.verifiedEmail", "current_displayName": "profile.displayName", "current_photo": "profile.photo"}, "element": "capture"}, "welcomeName": {"type": "engageCookie", "cookieName": "welcome_info_name", "element": "data"}, "public_phoneNumber": {"schemaId": "primaryAddress.phone", "label": "Phone Number:", "type": "string", "element": "data"}, "createAccountButton": {"type": "submit", "value": "Create Account", "element": "input"}, "public_displayName": {"forcePublic": true, "schemaId": "displayName", "justString": true, "type": "string", "element": "data"}, "traditionalRegistration_captcha": {"validation": {"messages": {"captcha": "Captcha failed. Try again"}}, "type": "captcha", "element": "capture"}, "newpasswordConfirm": {"schemaId": "password", "tip": "Re-type your password", "label": "Password Confirm", "element": "input", "validation": {"messages": {"match": "Passwords do not match."}, "match": "newpassword"}, "type": "password"}, "edit_name": {"placeholder": {"middlename": "middle", "lastname": "last", "firstname": "first"}, "schemaId": {"middlename": "middleName", "lastname": "familyName", "firstname": "givenName"}, "publicPrivateToggle": true, "element": "capture", "label": "Name", "type": "nameFull"}, "public_address": {"schemaId": {"city": "primaryAddress.city", "zippostalcode": "primaryAddress.zip", "streetaddress2": "primaryAddress.address2", "country": "primaryAddress.country", "stateprovince": "primaryAddress.stateAbbreviation", "streetaddress": "primaryAddress.address1"}, "label": "Address:", "type": "addressFull_public", "element": "capture"}, "tradAuthenticateMergeForm": {"action": "widget/traditional_signin.jsonp", "fields": ["traditionalSignIn_emailAddress", "mergePassword"], "hideOnSubmit": true, "messages": {"errors": {"invalidPassword": "That username and password combination doesn't match our records. Try again."}}, "element": "form"}, "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": {"type": "password", "schemaId": "password", "tip": "Re-type your password", "label": "Password Confirm", "element": "input", "validation": {"messages": {"match": "Passwords do not match."}, "match": "traditionalRegistration_password"}, "placeholder": "Password Confirm"}, "public_location": {"schemaId": "currentLocation", "label": "Location:", "type": "string", "element": "data"}, "mergePassword": {"placeholder": "password", "schemaId": "password", "label": "", "element": "input", "validation": {"required": true, "messages": {"required": "Password is required."}}, "type": "password"}, "edit_location": {"placeholder": "location", "schemaId": "currentLocation", "publicPrivateToggle": true, "element": "input", "label": "Location", "type": "text"}, "addressDrop": {"placeholder": {"city": "city", "streetaddress": "street address", "streetaddress2": "address 2", "zippostalcode": "zip", "country": "United States"}, "schemaId": {"city": "primaryAddress.city", "zippostalcode": "primaryAddress.zip", "streetaddress2": "primaryAddress.address2", "country": "primaryAddress.country", "stateprovince": "primaryAddress.stateAbbreviation", "streetaddress": "primaryAddress.address1"}, "value": {"country": "United States"}, "publicPrivateToggle": true, "element": "capture", "label": "Address", "type": "addressFull"}, "registrationForm": {"action": "widget/traditional_register.jsonp", "fields": ["traditionalRegistration_emailAddress", "traditionalRegistration_password", "traditionalRegistration_passwordConfirm", "traditionalRegistration_displayName", "traditionalRegistration_captcha", "traditionalRegistration_ageVerification"], "next": {"then": {"sendMail": {"mail": "newVerification"}}, "type": "server", "if": {"to": null, "compare": "emailVerified", "withOperator": "=="}}, "hideOnSubmit": false, "element": "form"}, "saveButton": {"type": "submit", "value": "Save", "element": "input"}, "edit_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 *}", "label": "Email", "displayPublic": true, "error": "A valid email address is required", "disablePublicPrivate": true, "publicPrivateToggle": true, "element": "input", "placeholder": "email address"}, "socialRegistrationForm": {"action": "widget/social_register.jsonp", "fields": ["socialRegistration_emailAddress", "socialRegistration_displayName", "socialRegistration_ageVerification"], "next": {"then": {"sendMail": {"mail": "newVerification"}}, "if": {"to": null, "compare": "emailVerified", "withOperator": "=="}, "type": "server", "else": {}}, "hideOnSubmit": true, "element": "form"}, "traditionalRegistration_password": {"validation": {"minLength": 6, "required": true, "messages": {"minLength": "Must be at least 6 characters", "required": "Password is required."}}, "type": "password", "schemaId": "password", "tip": "Must be at least 6 characters", "value": "traditionalSignIn_password", "element": "input", "displaySavedValue": true, "label": "Password", "placeholder": "Password"}, "socialRegistration_ageVerification": {"validation": {"required": true, "messages": {"required": "You must verify your age."}}, "type": "checkbox", "label": "I am 18 years of age or older", "value": "unchecked", "element": "input"}, "socialRegistration_emailAddress": {"validation": {"minLength": 3, "maxLength": 128, "required": true, "messages": {"minLength": "Must be at least 3 characters.", "maxLength": "Must be less than 128 characters.", "required": "Email address is required.", "format": "Email address is not formatted correctly."}, "format": "email"}, "type": "email", "schemaId": "email", "tip": "Will not be shared without your permission", "value": "", "label": "Email Address", "engageData": "profile.email", "element": "input", "placeholder": "Email Address"}, "forgotPassword_sendButton": {"type": "submit", "name": "capture_reset_password", "value": "Send", "element": "input"}, "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", "capture_btn_half"], "type": "submit", "value": "Sign In", "element": "button"}, "public_emailAddress": {"schemaId": "emailName", "label": "Email", "type": "string", "element": "data"}, "forgotPasswordForm": {"checkIdentifier": true, "hideOnSubmit": 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"}}, "if": {"to": null, "compare": "password", "withOperator": "=="}, "type": "server", "else": {"render": {"screen": "forgotPasswordSuccess"}, "sendMail": {"mail": "passwordRecover"}}}}, "newPasswordForm": {"action": "widget/profile.jsonp", "fields": ["newpassword", "newpasswordConfirm"], "authFields": ["oldpassword"], "next": {"type": "server", "render": {"screen": "editProfile"}}, "element": "form"}, "traditionalRegistration_displayName": {"validation": {"required": true, "messages": {"required": "Display name is required."}}, "type": "text", "schemaId": "displayName", "tip": "A name to use on this site", "element": "input", "engageData": "profile.displayName", "label": "Display Name", "placeholder": "Your Name"}, "editProfileForm": {"action": "widget/profile.jsonp", "fields": ["edit_displayName", "edit_gender", "edit_location", "edit_profileBlurb", "edit_name", "edit_email", "edit_phone", "addressDrop", "edit_birthdate"], "next": {"then": {"sendMail": {"mail": "changeVerification"}}, "if": {"becameUnverified": true}, "type": "server", "else": {"render": {"screen": "editProfile"}}}, "element": "form"}, "socialRegistration_signInButton": {"type": "submit", "value": "Sign In", "element": "input"}}, "translations": {"en-US": {}}, "defaultScreen": "signIn", "screens": {"traditionalAuthenticateMerge": {"source": "client", "layout": "traditionalAuthenticateMerge", "modal": true, "type": "traditionalMergeAccounts"}, "signIn": {"source": "client", "layout": "signIn", "screenConditionals": {"then": {"render": {"screen": "returnSocial"}}, "if": {"to": "socialSignin", "compare": "cookie:janrainLastAuthMethod", "withOperator": "==="}, "else": {"then": {"render": {"screen": "returnTraditional"}}, "if": {"to": "traditionalSignin", "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}, "addLinkedAccount": {"source": "client", "layout": "addLinkedAccount", "modal": false}, "forgotPassword": {"source": "client", "layout": "forgotPassword", "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": "20160425203935611445", "controls": {"resendVerificationEmail": {"then": {"sendMail": {"mail": "resendVerification"}}, "type": "server", "if": {"to": null, "compare": "emailVerified", "withOperator": "=="}}}, "schema_info": {"paths": {"password": "password", "photo_url_sub": "value", "account_emails": "profile.emails", "created": "created", "email_verified": "emailVerified", "photo_plural": "photos", "public_display": "display", "public_profile_key": "displayName", "account_verified_email": "profiles.verifiedEmail", "identifier": "profiles.identifier", "email": "email", "accounts_plural": "profiles", "name": "displayName"}}, "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"]}, "followers": {"origin": "followers", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}, "following": {"origin": "following", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}, "verifiedEmail": {"origin": "profile.verifiedEmail", "when": ["thinSocialRegistration", "socialRegistration", "addSignin"], "plural": "profiles"}, "identifier": {"origin": "profile.identifier", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}, "friends": {"origin": "friends", "when": ["thinSocialRegistration", "socialRegistration", "addSignin", "profileUpdate"], "plural": "profiles"}}}); });