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GAAG,aACNtB,EAAAA,cAACyF,EAAQ,CACPvC,UAA2B,SAAhBS,EAAMjB,MACjB7C,eAAgB8D,EAAM9D,iBAExBG,EAAAA,cAAA,OAAKsB,GAAG,OAAOD,UAAU,WACvBrB,EAAAA,cAAC2E,EAAU,MACX3E,EAAAA,cAAC+E,EAAY,MACb/E,EAAAA,cAACoF,EAAe,MAChBpF,EAAAA,cAACuF,EAAc,MACfvF,EAAAA,cAACwF,EAAc,OAEjBxF,EAAAA,cAAA,OAAKqB,UAAU,iBAAiBC,GAAG,UACjCtB,EAAAA,cAAC0F,EAAAA,GAAS,CAACC,WAAS,M,eCrC5BC,SAASC,iBAAiB,oBAAoB,KAC5C,MAAMC,EAAYF,SAASG,eAAe,WACpCC,GAAOC,EAAAA,EAAAA,GAAWH,IAClB,gBAAEI,EAAe,sBAAEC,EAAqB,MAAEC,EAAK,YAAEC,IACrDC,EAAAA,EAAAA,GAASR,GAEXE,EAAKO,OACHvG,EAAAA,cAACwG,EAAAA,GAAa,CAACJ,MAAOA,GACpBpG,EAAAA,cAACyG,EAAAA,GAAmBC,OAAAC,OAAA,GACdT,EAAe,CACnBC,sBAAuBA,IAEvBnG,EAAAA,cAAC4G,EAAYP,KAGlB,G","sources":["webpack://rsvpbridge/./app/javascript/pages/Welcome/LoginForm.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/Login.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/Masthead.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/WelcomeNavItem.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/WelcomeNavItemScrollTop.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/WelcomeNav.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/IntroSection.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/Feature.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/FeaturesSection.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/PricingChart.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/PricingSection.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/ContactSection.jsx","webpack://rsvpbridge/./app/javascript/pages/Welcome/index.jsx","webpack://rsvpbridge/./app/javascript/packs/welcome.jsx"],"sourcesContent":["// import packages\nimport React from 'react'\nimport PropTypes from 'prop-types'\n\n// import apis\nimport { login, csrf } from 'api/rsvp_api'\n\n// import redux, selectors, actions\n\n// import contexts\n\n// import hooks\nimport { useToggle } from 'hooks/useToggle'\n\n// import utilities\n\n// import common elements\nimport {\n FormGroup,\n FormControl,\n Button,\n InputGroup,\n Checkbox,\n} from 'react-bootstrap'\nimport { Icon } from 'components/elements/Icons'\n\n// import components\n\n// import styles\n\n// local constants\nconst emptyCredentials = { username: '', password: '' }\n\n// --------------------\n\nconst LoginForm = ({ close, passedUsername }) => {\n const [credentials, setCredentials] = React.useState({\n username: passedUsername || '',\n password: '',\n })\n const clearEntries = () => setCredentials({ ...emptyCredentials })\n\n const [passwordVisible, togglePasswordVisible] = useToggle(false)\n const [rememberMe, toggleRememberMe] = useToggle(true)\n\n const [error, setError] = React.useState(null)\n const [success, setSuccess] = React.useState(false)\n const handleChange = e => {\n const { name, value } = e.target\n if (error) {\n setError(null)\n }\n setCredentials({ ...credentials, [name]: value })\n }\n\n const disabledButton =\n credentials.username == '' ||\n credentials.password == '' ||\n credentials.username.includes('@')\n\n const submitLogin = () => {\n if (\n credentials.username.includes('admin') ||\n credentials.username.includes('rsvpbridge')\n ) {\n window.location.href = '/terms-and-conditions'\n }\n login({ ...credentials, remember_me: rememberMe }, setError, setSuccess)\n }\n\n const isTestingOAuth = window.location.search.includes('acbl_oauth')\n\n // const acbl_login_path = `${process.env.ACBL_AUTHORIZE_URL}&client_id=${process.env.ACBL_CLIENT_ID}&redirect_uri=${process.env.ACBL_CALLBACK_URL}`\n const acbl_login_path = '/users/auth/acbl'\n return (\n
\n RSVP Bridge brings your bridge club online. Whether your club\n plays online or face-to-face, RSVP Bridge provides tools for\n club management, communications, reservations, and game play.\n
\n{children}
\n\n RSVP Bridge is oriented around clubs. There are{' '}\n \n no fees paid directly from players to RSVP Bridge.\n \n
\n\n \n Send up to 5,000 messages each month at no additional charge.\n \n
\n\n Monthly minimum: $15 + R-Bucks usage fees\n
\n\n \n * Or 10% of R-Bucks collected from players, whichever is greater\n \n
\n ** Plus 5% of R-Bucks collected from players\n
\n \n Read more on our Pricing page.\n \n
\n\n RSVP Bridge is a club-based system. Only your club\n members will have access to your games.\n
\n\n You set your game fee, which can be collected from\n players via our R-Bucks credit system. If your game fee is greater than\n the fee charged by RSVP Bridge, the remainder is available for payout to\n the club.\n
\n\n If your game fee is less than the amount charged by RSVP Bridge, the\n club will be charged the difference.\n
\n\n Contact us at{' '}\n hello@rsvpbridge.com{' '}\n for a free demo for your club.\n
\n\n \n If your club is already using RSVP Bridge and you need\n assistance, please contact your club directly.\n \n
\n