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AAMmC,WAA7C,cAUvBqB,KAAKxD,MAAM2C,WACW,KAAvBa,KAAKxD,MAAM0C,SACe,SAA1Bc,KAAKxD,MAAMC,YACoB,SAA/BuD,KAAKxD,MAAME,iBACoB,SAA/BsD,KAAKxD,MAAMgD,gBAkBe,SAA1BQ,KAAKxD,MAAMC,YACoB,SAA/BuD,KAAKxD,MAAMgD,iBACoB,SAA/BQ,KAAKxD,MAAME,gBAEXwH,EAAiB,+BAAKJ,UAAU,eAC5B,6BAAGA,UAAU,qBAAqB9D,KAAKxD,MAAMiD,oBAAsBO,KAAKxD,MAAMiD,oBAAsB,0EAGpE,UAA/BO,KAAKxD,MAAME,kBAChBwH,EACI,+BAAKJ,UAAU,eACX,6BAAGA,UAAU,qBAAb,2CACA,6BAAGtB,KAAK,kBAAkBsB,UAAU,OAApC,WA7BRI,EACI,gCAAM9C,GAAG,kBAAkBgD,OAAO,IAAIC,OAAO,OAAOC,SAAUtE,KAAKH,iBAAkB0E,IAAI,IACrF,+BAAKT,UAAU,+CAEX,+BAAKA,UAAU,uBACV/E,EACD,iCAAOyF,QAAQ,aAAf,kCACA,iCAAOV,UAAU,eAAeJ,KAAK,OAAQkB,UAAU,IAAIxD,GAAG,YAAYN,KAAK,YAAY4D,UAAQ,EAACjB,MAChGzD,KAAKxD,MAAMG,UAAWgI,SAAU3E,KAAKL,gBAE7C,+BAAKmE,UAAU,iDACX,kCAAQA,UAAU,MAAMoB,SAAUlF,KAAKxD,MAAMmC,WAA7C,WAwBhB,mCACKuF,EACAF,O,EAvlBX1H,CAAgD6I,EAAAA,Y","sources":["webpack://Vollrath.Kentico.Web/./js/shared/react/components/forms/vu-event-registration.jsx"],"sourcesContent":["import React, { Component } from 'react';\r\nimport { postVUEventRegistrationForm, postVUEventCodeForm } from '../../../apis/forms';\r\nimport { getPlacesToBuyByState } from '../../../apis/dealers';\r\nimport toast from '../../../components/toast';\r\nimport { yesNo, usStates, canadaProvinces } from '../../../helpers/shared-form-data.json';\r\nimport { addParamsToUrl } from '../../../utils/';\r\nimport kebabCase from 'lodash/kebabCase';\r\nimport LoaderSection from '../loader-section.jsx';\r\n\r\nclass VollrathUniversityEventRegistrationForm extends Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n registered: this.props.registered,\r\n isAuthenticated: this.props.isAuthenticated,\r\n eventCode: this.props.eventCode,\r\n firstName: this.props.contact.FirstName,\r\n lastName: this.props.contact.LastName,\r\n email: this.props.userEmail,\r\n company: 'Select your dealer',\r\n customCompany: '',\r\n jobFunction: 'Purchasing/Buyer',\r\n jobTitle: this.props.contact.Title,\r\n dealer: this.props.dealer,\r\n cellPhoneNumber: this.props.contact.PhoneNumber,\r\n address: this.props.contact.Street,\r\n city: this.props.contact.City,\r\n state: this.props.contact.State,\r\n zipcode: this.props.contact.ZipCode,\r\n country: 'United States of America',\r\n title: this.props.title,\r\n over21: '',\r\n medicalIssues: '',\r\n dietaryRestrictions: '',\r\n badgeName: '',\r\n badgeNameConfirm: '',\r\n emergencyContactName: '',\r\n emergencyContactPhone: '',\r\n isSending: true,\r\n countries: [],\r\n states: [],\r\n provinces: [],\r\n errors: [],\r\n jobFunctions: [],\r\n submit: false,\r\n eventId: '',\r\n validCode: false,\r\n eventFull: false,\r\n redirectPath: '',\r\n dealers: [],\r\n redirected: false,\r\n deadlineReached: this.props.deadlineReached,\r\n deadlineReachedText: this.props.deadlineReachedText,\r\n disclaimer: false\r\n };\r\n\r\n this.handleChange = this.handleChange.bind(this);\r\n this.handleFormSubmit = this.handleFormSubmit.bind(this);\r\n }\r\n\r\n componentDidMount() {\r\n console.log('Deadline reached: ' + this.state.deadlineReached)\r\n this.getSelectBoxData();\r\n this.getCountryAndStates();\r\n\r\n if (this.state.eventCode) {\r\n this.submitEventCode();\r\n }\r\n\r\n if (document.referrer.includes(\"account\")) {\r\n toast.success(\"Thank you for logging in\");\r\n }\r\n\r\n this.setState({\r\n isSending: false\r\n });\r\n }\r\n\r\n getCountryAndStates() {\r\n\r\n const states = usStates;\r\n const provinces = canadaProvinces;\r\n\r\n const currentStates = this.state.country === \"United States of America\" ?\r\n states : provinces;\r\n\r\n const userState = usStates.filter(s =>\r\n s.name === this.state.state);\r\n\r\n let newState = 'AL';\r\n\r\n if (userState[0]) {\r\n newState = userState[0].abbreviation;\r\n }\r\n\r\n this.setState({\r\n states: currentStates,\r\n state: newState\r\n });\r\n }\r\n\r\n getSelectBoxData() {\r\n const countries = [\"United States of America\", \"Canada\"];\r\n const functions = [\r\n 'Purchasing/Buyer', 'Decision Maker/Influencer', 'Research and Development', 'Sales',\r\n 'Marketing/Merchandising', 'Repair Services', 'Customer Service'\r\n ];\r\n \r\n\r\n this.setState({\r\n countries: countries,\r\n jobFunctions: functions\r\n });\r\n }\r\n\r\n handleFormSubmit(e) {\r\n e.preventDefault();\r\n\r\n if (!this.state.isSending) {\r\n this.setState({\r\n isSending: true,\r\n errors: [],\r\n submit: true\r\n });\r\n\r\n e.target.id === \"event-code-form\" ?\r\n this.submitEventCode() :\r\n this.submitRegistrationForm();\r\n }\r\n }\r\n\r\n getDealers() {\r\n getPlacesToBuyByState({\r\n state: this.state.state,\r\n nodeId: 20773\r\n\r\n })\r\n .then(data => {\r\n var dealers = data;\r\n if (dealers) {\r\n this.setState({\r\n dealers: dealers\r\n });\r\n\r\n }\r\n else {\r\n this.setState({\r\n company: 'Could not find'\r\n });\r\n }\r\n\r\n })\r\n\r\n .catch(error => {\r\n console.log(error);\r\n });\r\n }\r\n\r\n submitEventCode() {\r\n postVUEventCodeForm({\r\n eventCode: this.state.eventCode\r\n })\r\n .then(json => {\r\n console.log(json);\r\n this.setState({\r\n isSending: false\r\n });\r\n\r\n if (json.success) {\r\n this.setState({\r\n eventId: json.successInfo.eventGUID,\r\n validCode: json.successInfo.validCode,\r\n eventFull: json.successInfo.eventFull,\r\n redirectPath: json.successInfo.redirectPath\r\n });\r\n if (json.successInfo.redirectPath && window.location.pathname !== json.successInfo.redirectPath) {\r\n window.location = addParamsToUrl(json.successInfo.redirectPath, { eventcode: this.state.eventCode });\r\n this.setState({ redirected: true });\r\n }\r\n else {\r\n history.pushState(null, document.title, addParamsToUrl(window.location.pathname, { eventcode: this.state.eventCode }));\r\n }\r\n }\r\n else {\r\n this.setState({\r\n errors: json.errors,\r\n submit: false\r\n });\r\n\r\n }\r\n })\r\n .catch(error => {\r\n this.setState({\r\n isSending: false,\r\n submit: false\r\n });\r\n console.log(error);\r\n toast.error('There was an issue sending your request. Please try again soon.');\r\n });\r\n }\r\n\r\n submitRegistrationForm() {\r\n if (this.state.badgeName !== this.state.badgeNameConfirm) {\r\n this.setState({\r\n isSending: false\r\n });\r\n toast.error('Please make sure badge names match.');\r\n return false;\r\n }\r\n\r\n if (!this.state.disclaimer) {\r\n this.setState({\r\n isSending: false\r\n });\r\n toast.error('Please accept the disclaimer');\r\n return false;\r\n }\r\n\r\n if (this.state.customCompany !== '') {\r\n this.state.company = this.state.customCompany;\r\n }\r\n\r\n const currentUrl = window.location.href;\r\n\r\n postVUEventRegistrationForm({\r\n eventGuid: this.state.eventId,\r\n eventUrl: currentUrl,\r\n eventTitle: this.state.title,\r\n eventCode: this.state.eventCode,\r\n firstName: this.state.firstName,\r\n lastName: this.state.lastName,\r\n email: this.state.email,\r\n company: this.state.company,\r\n jobFunction: this.state.jobFunction,\r\n jobTitle: this.state.jobTitle,\r\n dealer: this.state.dealer,\r\n cellPhoneNumber: this.state.cellPhoneNumber,\r\n address: this.state.address,\r\n city: this.state.city,\r\n state: this.state.state,\r\n zipcode: this.state.zipcode,\r\n country: this.state.country,\r\n over21: this.state.over21,\r\n medicalIssue: this.state.medicalIssues,\r\n dietaryRestrictions: this.state.dietaryRestrictions,\r\n badgeName: this.state.badgeName,\r\n badgeNameConfirm: this.state.badgeNameConfirm,\r\n emergencyContactName: this.state.emergencyContactName,\r\n emergencyContactPhone: this.state.emergencyContactPhone,\r\n pageName: this.props.pageName,\r\n disclaimer: this.state.disclaimer\r\n })\r\n .then(json => {\r\n console.log(json);\r\n this.setState({\r\n isSending: false\r\n });\r\n\r\n if (json.success) {\r\n\r\n if (this.props.redirectTo) {\r\n this.setState({ submit: true });\r\n toast.success('Your request has been submitted!');\r\n window.location = window.location.href;\r\n }\r\n else {\r\n this.setState({\r\n eventCode: '',\r\n firstName: '',\r\n lastName: '',\r\n email: '',\r\n company: 'Select your dealer',\r\n jobFunction: 'Purchasing/Buyer',\r\n jobTitle: '',\r\n dealer: 'Not Needed',\r\n cellPhoneNumber: '',\r\n address: '',\r\n city: '',\r\n state: '',\r\n zipcode: '',\r\n country: 'United States of America',\r\n over21: '',\r\n medicalIssues: '',\r\n dietaryRestrictions: '',\r\n badgeName: '',\r\n badgeNameConfirm: '',\r\n emergencyContactName: '',\r\n emergencyContactPhone: '',\r\n submit: false,\r\n disclaimer: false\r\n });\r\n }\r\n }\r\n else {\r\n this.setState({\r\n errors: json.errors,\r\n submit: false\r\n });\r\n const newErrors =\r\n json.errors.map((error, index) =>\r\n `${error} `\r\n );\r\n toast.error(newErrors.toString().replace(',', ' '));\r\n }\r\n })\r\n .catch(error => {\r\n this.setState({\r\n isSending: false,\r\n submit: false\r\n });\r\n console.log(error);\r\n toast.error('There was an issue sending your request. Please try again soon.');\r\n });\r\n }\r\n\r\n phoneNumberAutoFormat(phoneNumber){\r\n const number = phoneNumber.trim().replace(/[^0-9]/g, \"\");\r\n\r\n if (number.length < 4) return number;\r\n if (number.length < 7) return number.replace(/(\\d{3})(\\d{1})/, \"$1-$2\");\r\n if (number.length < 11) return number.replace(/(\\d{3})(\\d{3})(\\d{1})/, \"$1-$2-$3\");\r\n return number.replace(/(\\d{3})(\\d{4})(\\d{4})/, \"$1-$2-$3\");\r\n };\r\n\r\n handleChange(e) {\r\n const target = e.target;\r\n const value = target.type === 'checkbox' ? target.checked : target.value;\r\n const name = target.name;\r\n\r\n if (target.type === 'tel') {\r\n this.setState({\r\n [name]: this.phoneNumberAutoFormat(value),\r\n errors: []\r\n });\r\n } else {\r\n this.setState({\r\n [name]: value,\r\n errors: []\r\n },\r\n () => {\r\n if (name === \"country\") {\r\n this.getCountryAndStates();\r\n }\r\n\r\n if (name === \"state\") {\r\n this.getDealers();\r\n }\r\n });\r\n }\r\n\r\n \r\n }\r\n\r\n _renderDisclaimer() {\r\n let disclaimer =\r\n <p className=\"disclaimer-text\"> The Vollrath Company reserves the right to use any photograph/video taken at any event sponsored by The Vollrath Company, without the expressed written permission of those included within the photograph/video. The Vollrath Company may use the photograph/video in publications or other media material produced, used or contracted by The Vollrath Company including but not limited to: brochures, invitations, books, newspapers, magazines, television, websites, etc.\r\n <br />\r\n <br/>\r\n To ensure the privacy of individuals and children, images will not be identified using full names or personal identifying information without written approval from the photographed subject, parent or legal guardian.\r\n <br />\r\n <br />\r\n A person attending an event who does not wish to have their image recorded for distribution should make their wishes known to the photographer, and/or the event organizers, and/or contact The Vollrath Company at 1-800-624-2051 of his/her intentions and include a photograph. The Vollrath Company will use the photo for identification purposes and will hold it in confidence.\r\n <br />\r\n <br />\r\n By participating in a The Vollrath Company event or by failing to notify The Vollrath Company your desire to not have your photograph used by The Vollrath Company, you are agreeing to release, defend, hold harmless and indemnify The Vollrath Company from any and all claims involving the use of your picture or likeness.\r\n <br />\r\n <br />\r\n Any person or organization not affiliated with The Vollrath Company may not use, copy, alter or modify The Vollrath Company photographs, graphics, videography or other, similar reproductions or recordings without the advance written permission of an authorized designee from The Vollrath Company.\r\n </p>;\r\n \r\n return (\r\n disclaimer\r\n );\r\n }\r\n\r\n\r\n\r\n render() {\r\n let errors, validated, registrationForm;\r\n if (this.state.errors && this.state.errors.length) {\r\n errors = <ul className=\"error-list\">\r\n {this.state.errors.map((error) => (\r\n <li>{error}</li>\r\n ))}\r\n </ul>;\r\n }\r\n\r\n if (this.state.isSending) {\r\n registrationForm = <LoaderSection show={true} />;\r\n }\r\n\r\n validated = this.state.badgeName !== '' && this.state.badgeNameConfirm !== '' && this.state.badgeName !== this.state.badgeNameConfirm ?\r\n 'form-field-validated' : '';\r\n\r\n let validateMsg = this.state.badgeName !== '' && this.state.badgeNameConfirm !== '' && this.state.badgeName !== this.state.badgeNameConfirm ?\r\n <span>Please match this field with the badge name field</span> : <div></div>\r\n\r\n registrationForm = this.state.validCode &&\r\n !this.state.eventFull &&\r\n this.state.isAuthenticated !== \"False\" &&\r\n this.state.registered !== \"True\" &&\r\n this.state.deadlineReached !== \"True\" &&\r\n !this.state.redirected\r\n ? <div>\r\n <div>\r\n <p id=\"form-registration-heading\" className=\"intro-blk-subtitle\">Please fill out the form below to register for this event.</p>\r\n </div>\r\n <form id=\"event-registration-form\" action=\"#\" method=\"post\" onSubmit={this.handleFormSubmit} ref=\"\">\r\n <div id=\"top-of-form\" className=\"row\">\r\n <div className=\"section-header form-step col-md-12\">\r\n <h2 className=\"section-title\">Step 1 of 2:</h2>\r\n </div>\r\n <div className=\"section-header col-md-12\">\r\n <h3 className=\"section-title\">Personal Information</h3>\r\n </div>\r\n <div className=\"col-md-12\">\r\n {errors}\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"firstName\">First Name *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"firstName\" name=\"firstName\" placeholder=\"John\" required value={\r\n this.state.firstName} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"lastName\">Last Name *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"lastName\" name=\"lastName\" placeholder=\"Doe\" required value={\r\n this.state.lastName} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"cellPhoneNumber\">Cell Phone Number *</label>\r\n <input className=\"form-control\" type=\"tel\" minLength=\"10\" maxLength=\"12\" id=\"cellPhoneNumber\" name=\"cellPhoneNumber\" placeholder=\"123-123-1234\" required value={\r\n this.state.cellPhoneNumber} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"country\">Country *</label>\r\n <select className=\"form-control\" id=\"country\" name=\"country\" value={this.state.country\r\n } onChange={this.handleChange}>\r\n\r\n {this.state.countries.map((country) => (\r\n <option value={country}>{country}</option>\r\n ))}\r\n </select>\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"address\">Address</label>\r\n <input className=\"form-control\" type=\"text\" id=\"address\" name=\"address\" placeholder=\"444 East Main Street\" value={\r\n this.state.address} onChange={this.handleChange} />\r\n </div>\r\n\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"city\">City *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"city\" name=\"city\" required value={\r\n this.state.city} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"state\">State or Province *</label>\r\n <select className=\"form-control\" id=\"state\" name=\"state\" value={this.state.state\r\n } onChange={this.handleChange}>\r\n {this.state.states.map((state) => (\r\n <option value={state.abbreviation}>{state.name}</option>\r\n ))}\r\n </select>\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"zipcode\">Postal Code *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"zipcode\" name=\"zipcode\" placeholder=\"12345\" required=\"\" value={\r\n this.state.zipcode} onChange={this.handleChange} />\r\n </div>\r\n\r\n <div className=\"section-header col-md-12\">\r\n <h3 className=\"section-title\">Company Information</h3>\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"jobFunction\">Job Function *</label>\r\n <select className=\"form-control\" id=\"jobFunction\" name=\"jobFunction\" required value={this\r\n .state.jobFunction} onChange={this.handleChange}>\r\n {this.state.jobFunctions.map((item) => (\r\n <option value={item}>{item}</option>\r\n ))}\r\n </select>\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"jobTitle\">Job Title *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"jobTitle\" name=\"jobTitle\" placeholder=\"Chef\" required value={\r\n this.state.jobTitle} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"section-header col-md-12\">\r\n <h3 className=\"section-title\">Event Information</h3>\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <span className=\"label\">Are you 21 or older? *</span>\r\n <ul className=\"radio-list\">\r\n {yesNo.map((item) => (\r\n <li>\r\n <input className=\"custom-radio\" id={`over21${kebabCase(item)}`\r\n } name=\"over21\" type=\"radio\" required value={item} onChange={this.handleChange\r\n } />\r\n <label htmlFor={`over21${kebabCase(item)}`}>{item}</label>\r\n </li>\r\n ))}\r\n </ul>\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"medicalIssues\">Any medical conditions we should be aware of? *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"medicalIssues\" name=\"medicalIssues\" required value={\r\n this.state.medicalIssues} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"dietaryRestrictions\">Any special dietary needs we should know about? *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"dietaryRestrictions\" name=\"dietaryRestrictions\" required value={\r\n this.state.dietaryRestrictions} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"badgeName\">Name as you would like it to appear on your badge *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"badgeName\" name=\"badgeName\" required value={\r\n this.state.badgeName} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label className={validated\r\n } htmlFor=\"badgeNameConfirm\">Confirm your name for your badge *</label>\r\n <input className={`form-control ${validated}`\r\n } type=\"text\" id=\"badgeNameConfirm\" name=\"badgeNameConfirm\" required value={this.state.badgeNameConfirm} onChange={\r\n this.handleChange} />\r\n {validateMsg}\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"emergencyContactName\">Name of emergency contact *</label>\r\n <input className=\"form-control\" type=\"text\" id=\"emergencyContactName\" name=\"emergencyContactName\" required value={\r\n this.state.emergencyContactName} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-group col-lg-4 col-md-6\">\r\n <label htmlFor=\"emergencyContactPhone\">Emergency Contact Phone Number *</label>\r\n <input className=\"form-control\" type=\"tel\" minLength=\"10\" maxLength=\"12\" id=\"emergencyContactPhone\" name=\"emergencyContactPhone\" placeholder=\"123-123-1234\" value={\r\n this.state.emergencyContactPhone} onChange={this.handleChange} />\r\n </div>\r\n\r\n <div className=\"col-md-12\">\r\n <details className=\"panel-accordion\">\r\n <summary className=\"panel-accordion-title no-pad\">Vollrath Photo and Video Disclaimer</summary>\r\n <div>\r\n {this._renderDisclaimer()}\r\n </div>\r\n </details>\r\n\r\n <div className=\"form-group form-group-flex\">\r\n <div className=\"form-actions\">\r\n <input className=\"custom-checkbox square\" value={this.state.disclaimer} onChange={\r\n this.handleChange} name=\"disclaimer\" type=\"checkbox\" id=\"disclaimer\" />\r\n <label htmlFor=\"disclaimer\">I agree with the disclaimer *</label>\r\n </div>\r\n </div>\r\n\r\n\r\n <div className=\"btn-container\">\r\n <div className=\"form-actions margin-right-40\">\r\n <button className=\"btn\" disabled={this.state.isSending}>Send</button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n </div>\r\n : <div></div>;\r\n\r\n let eventCodeInput;\r\n if (!this.state.validCode &&\r\n this.state.eventId === '' &&\r\n this.state.registered !== \"True\" &&\r\n this.state.isAuthenticated === \"True\" && \r\n this.state.deadlineReached !== \"True\") {\r\n eventCodeInput = \r\n <form id=\"event-code-form\" action=\"#\" method=\"post\" onSubmit={this.handleFormSubmit} ref=\"\">\r\n <div className=\"row justify-content-center event-code-input\">\r\n\r\n <div className=\"form-group col-md-4\">\r\n {errors}\r\n <label htmlFor=\"eventCode\">Enter your registration code *</label>\r\n <input className=\"form-control\" type=\"text\" minLength=\"9\" id=\"eventCode\" name=\"eventCode\" required value={\r\n this.state.eventCode} onChange={this.handleChange} />\r\n </div>\r\n <div className=\"form-actions col-md-12 justify-content-center\">\r\n <button className=\"btn\" disabled={this.state.isSending}>Send</button>\r\n </div>\r\n </div>\r\n </form>;\r\n }\r\n else if (\r\n this.state.registered !== \"True\" &&\r\n this.state.deadlineReached === \"True\" &&\r\n this.state.isAuthenticated === \"True\")\r\n {\r\n eventCodeInput = <div className=\"cta-callout\">\r\n <p className=\"cta-callout-title\">{this.state.deadlineReachedText ? this.state.deadlineReachedText : 'This Live VU event signup deadline has passed or has reached capacity'}</p>\r\n </div>;\r\n }\r\n else if (this.state.isAuthenticated === \"False\") {\r\n eventCodeInput =\r\n <div className=\"cta-callout\">\r\n <p className=\"cta-callout-title\">Please login to register for your event</p>\r\n <a href=\"/account/signin\" className=\"btn\">Login</a>\r\n </div>;\r\n }\r\n\r\n\r\n return (\r\n <div>\r\n {eventCodeInput}\r\n {registrationForm}\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nexport default VollrathUniversityEventRegistrationForm;"],"names":["VollrathUniversityEventRegistrationForm","props","state","registered","isAuthenticated","eventCode","firstName","contact","FirstName","lastName","LastName","email","userEmail","company","customCompany","jobFunction","jobTitle","Title","dealer","cellPhoneNumber","PhoneNumber","address","Street","city","City","State","zipcode","ZipCode","country","title","over21","medicalIssues","dietaryRestrictions","badgeName","badgeNameConfirm","emergencyContactName","emergencyContactPhone","isSending","countries","states","provinces","errors","jobFunctions","submit","eventId","validCode","eventFull","redirectPath","dealers","redirected","deadlineReached","deadlineReachedText","disclaimer","handleChange","bind","handleFormSubmit","console","log","this","getSelectBoxData","getCountryAndStates","submitEventCode","document","referrer","includes","toast","setState","usStates","canadaProvinces","currentStates","userState","s","name","newState","abbreviation","e","preventDefault","target","id","submitRegistrationForm","getPlacesToBuyByState","nodeId","then","data","error","postVUEventCodeForm","json","success","successInfo","eventGUID","window","location","pathname","addParamsToUrl","eventcode","history","pushState","currentUrl","href","postVUEventRegistrationForm","eventGuid","eventUrl","eventTitle","medicalIssue","pageName","redirectTo","newErrors","map","index","toString","replace","phoneNumber","number","trim","length","value","type","checked","phoneNumberAutoFormat","getDealers","className","validated","registrationForm","show","eventCodeInput","validateMsg","action","method","onSubmit","ref","htmlFor","placeholder","required","onChange","minLength","maxLength","item","yesNo","kebabCase","_renderDisclaimer","disabled","Component"],"sourceRoot":""}