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D,EAAQxD,KAAK,2DAGrCF,EAAAA,cAAA,SAAG,6GAC0G,IAC1G0D,EAAQjE,MAAQiE,EAAQjE,MAAQiE,EAAQxD,KAAK,yBAIlDF,EAAAA,cAACsO,EAAc,CAACC,WAAW,KAMvC,aC7MA,MAlBA,WACE,OACEvO,EAAAA,cAAA,OAAKC,UAAU,sCACbD,EAAAA,cAAA,OAAKC,UAAU,8BAA8BuQ,MAAO,CAAEC,MAAO,UAC3DzQ,EAAAA,cAAA,MAAIC,UAAU,eAAc,YAC5BD,EAAAA,cAAA,KAAGC,UAAU,yBAAwB,mCACrCD,EAAAA,cAAA,OAAKC,UAAU,oDACbD,EAAAA,cAAC6Q,EAAAA,GAAI,CAACC,GAAG,IAAI7Q,UAAU,mBAAkB,0BAOnD,ECgCA,MA1CA,SAAagB,GACX,OACEjB,EAAAA,cAAC+Q,EAAAA,GAAM,CAACC,SAAS,WACfhR,EAAAA,cAAA,OAAKC,UAAU,aACbD,EAAAA,cAACiR,EAAAA,GAAM,KACLjR,EAAAA,cAACkR,EAAAA,GAAK,CAACC,KAAK,YACVnR,EAAAA,cAACoR,EAAO,CAAC1N,QAASzC,EAAMyC,WAE1B1D,EAAAA,cAACkR,EAAAA,GAAK,CAACC,KAAK,aACVnR,EAAAA,cAACqR,EAAQ,OAEXrR,EAAAA,cAACkR,EAAAA,GAAK,CAACC,KAAK,KACVnR,EAAAA,cAACsR,EAAQ,CAAC5N,QAASzC,EAAMyC,QAAS5D,QAASmB,EAAMnB,QAASuN,gBAAiBpM,EAAMoM,qBAM7F,4gCCrBA,IAAMkE,EAA0BC,OAAOC,iBAAmB,CAAC,EAC3DD,OAAOC,gBAAeC,EAAAA,EAAA,GACjBH,GAAuB,IAC1B,oCAAqCI","sources":["webpack://typist6/./app/javascript/components/PurchaseVouchers/components/UserInfoForm/checkoutSchema.js","webpack://typist6/./app/javascript/components/PurchaseVouchers/components/UserInfoForm/UserInfoForm.jsx","webpack://typist6/./app/javascript/components/PurchaseVouchers/components/Checkout/Checkout.jsx","webpack://typist6/./app/javascript/components/PurchaseVouchers/components/Success/Success.jsx","webpack://typist6/./app/javascript/components/PurchaseVouchers/components/Canceled/Canceled.jsx","webpack://typist6/./app/javascript/components/PurchaseVouchers/PurchaseVouchers.jsx","webpack://typist6/./app/javascript/packs/application.js"],"sourcesContent":["import * as Yup from 'yup';\n\nconst checkoutSchema = Yup.object().shape({\n firstName: Yup.string()\n .ensure() // ensures value is an empty string\n .required('Please enter your first name.')\n .min(2, 'Please enter a valid first name (more than 1 character).')\n .test(\n 'uppercaseFirstLetter',\n 'Your name may be used on class grade sheets and professional certificates. Your first name must start with a capital letter.',\n (value, context) => {\n return value.length > 0 ? value[0] === value[0].toUpperCase() : true;\n }\n )\n .test(\n 'lowercaseSecondLetter',\n 'Your name may be used on class grade sheets and professional certificates. Please only capitalize the first letter of your name, and leave the rest of the letters in lower case.',\n (value, context) => {\n return value.length > 1 ? value[1] === value[1].toLowerCase() : true;\n }\n )\n .test('validName', 'Your first name must only contain letters.', (value, context) => {\n // Use a regular expression here if checking for more characters\n // or if safe listing characters, instead of blocklisting\n return !(value.includes('@') || value.includes(','));\n }),\n\n lastName: Yup.string()\n .ensure() // ensures value is an empty string\n .required('Please enter your last name.')\n .min(2, 'Please enter a valid last name (more than 1 character).')\n .test(\n 'uppercaseFirstLetter',\n 'Your name may be used on class grade sheets and professional certificates. Your last name must start with a capital letter.',\n (value, context) => {\n const isDutchName = value.trim().includes(' ');\n return value.length > 0 ? value[0] === value[0].toUpperCase() || isDutchName : true;\n }\n )\n .test(\n 'lowercaseSecondLetter',\n 'Your name may be used on class grade sheets and professional certificates. Please only capitalize the first letter of your name, and leave the rest of the letters in lower case.',\n (value, context) => {\n return value.length > 1 ? value[1] === value[1].toLowerCase() : true;\n }\n )\n .test('validName', 'Your first name must only contain letters.', (value, context) => {\n // Use a regular expression here if checking for more characters\n // or if safe listing characters, instead of blocklisting\n return !(value.includes('@') || value.includes(','));\n }),\n\n email: Yup.string()\n .ensure() // ensures value is an empty string\n .required('Please enter a valid email address')\n .email('Please enter a valid email address.'),\n\n confirmEmail: Yup.string()\n .ensure() // ensures value is an empty string\n .required('Please confirm your email address.')\n .oneOf([Yup.ref('email')], 'The email addresses you provided are not the same.'),\n});\n\nexport default checkoutSchema;\n","import React, { Component, useEffect, useState } from 'react';\nimport { Formik } from 'formik';\nimport classNames from 'classnames';\nimport checkoutSchema from './checkoutSchema.js';\nimport PropTypes from 'prop-types';\n\n// Checkout items component. Takes product object in the props\nfunction ShoppingCart({ product }) {\n // If currenct is 'usd', then don't display\n const currency = product.currency === 'usd' ? '' : product.currency.toUpperCase();\n return (\n
\n
1 x {product.name}
\n
\n ${product.price_before_tax.toFixed(2)} {currency} {product.tax.name ? `+ ${product.tax.name}` : ''}\n
\n
\n );\n}\n\nShoppingCart.propTypes = {\n product: PropTypes.shape({\n name: PropTypes.string, // eg. 'Typist Skill Assessment Voucher'\n price_before_tax: PropTypes.number, // Price in $ before tax. eg. 20.00 in $. Use this for displaying the price in checkout\n currency: PropTypes.string, // eg. 'cad' or 'usd'\n tax: PropTypes.shape({\n name: PropTypes.string, // eg. 'HST'\n rate: PropTypes.number, // eg. 0.13\n }),\n }),\n};\n\n// Instructions component\nfunction Instructions({ companyName, companyEmail }) {\n return (\n
\n

\n Purchasing a voucher enables you, but does not permit you, to complete a skill assessment for {companyName}. The voucher\n may only be used one time. Please ensure you have permission to complete an assessment with {companyName} prior to\n purchase.\n

\n

\n After completing your purchase, you will be provided with a voucher code. Please write this down or take a picture.\n Finally, follow the directions provided by {companyName} to begin your assessment or contact{' '}\n {companyEmail} for assistance.\n

\n
\n );\n}\n\nInstructions.propTypes = {\n companyName: PropTypes.string,\n companyEmail: PropTypes.string,\n};\n\n// Formik wrapped form for collecting user information before Stripe checkout\nclass UserInfoForm extends Component {\n constructor(props) {\n super(props);\n this.state = {\n // an array of objects in the form of [{message: '', error: true},]\n flashMessages: [],\n };\n this.onSubmit = this.onSubmit.bind(this);\n }\n\n // Function passed in to formik for handling submission\n onSubmit(values, { setSubmitting }) {\n const { firstName, lastName, email, dataSharingConfirmation, confirmEmail, termsOfUseConfirmation } = values;\n\n return fetch('/candidates/validate.json', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n candidate: {\n first_name: firstName,\n last_name: lastName,\n email: email,\n },\n }),\n })\n .then((res) => {\n if (!res.ok) return Promise.reject('Could not validate first name, last name, and email.');\n return res.json();\n })\n .then(({ is_candidate_valid } = {}) => {\n if (is_candidate_valid) {\n return this.props.submitCheckout({ firstName, lastName, email });\n }\n return Promise.reject();\n })\n .catch((err) => {\n // If there is an error submitting, form should be re-enabled for user to fix errors\n setSubmitting(false);\n this.setState({\n // TODO: Can directly display errors from server here, instead of a generic message\n flashMessages: [{ message: 'Error submitting form', error: true }],\n });\n });\n }\n\n render() {\n const initialValues = {\n firstName: '',\n lastName: '',\n email: '',\n confirmEmail: '',\n dataSharingConfirmation: false,\n termsOfUseConfirmation: false,\n };\n\n return (\n
\n

{this.props.company.name}

\n

Skill Assessment—Powered by Typist

\n
\n
\n \n \n
\n
\n \n {({ values, errors, touched, handleChange, handleBlur, handleSubmit, isSubmitting, isValid, isValidating }) => (\n
\n
\n \n \n
{touched.firstName && errors.firstName}
\n
\n
\n \n \n
{touched.lastName && errors.lastName}
\n
\n
\n \n \n
{touched.email && errors.email}
\n
\n
\n \n \n
{touched.confirmEmail && errors.confirmEmail}
\n
\n
\n
\n \n {/* TODO: Fill out the college name */}\n \n
\n
\n
\n
\n \n \n
\n
\n {this.state.flashMessages.map(({ message, error }, idx) => (\n
\n {message}\n
\n ))}\n
\n \n Continue to Checkout\n \n \n Loading...\n
\n
\n \n )}\n \n
\n
\n \n );\n }\n}\n\nUserInfoForm.propTypes = {\n submitCheckout: PropTypes.func.isRequired,\n // This form is disabled if stripe is not configured/loaded\n // TODO: rename this variable and/or add better comments\n disabled: PropTypes.bool.isRequired,\n company: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string,\n country: PropTypes.string,\n state: PropTypes.string,\n use_vouchers: PropTypes.bool,\n email: PropTypes.string,\n next_step_message: PropTypes.string,\n next_step_link: PropTypes.string,\n }),\n product: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string, // eg. 'Typist Skill Assessment Voucher'\n price_before_tax: PropTypes.number, // Price in $ before tax. eg. 20.00 in $. Use this for displaying the price in checkout\n currency: PropTypes.string, // eg. 'cad' or 'usd'\n tax: PropTypes.shape({\n name: PropTypes.string, // eg. 'HST'\n rate: PropTypes.number, // eg. 0.13\n }),\n }),\n};\n\nUserInfoForm.defaultProps = {\n disabled: true,\n};\n\nexport default UserInfoForm;\n","import React, { useEffect, useState } from 'react';\nimport { loadStripe } from '@stripe/stripe-js';\nimport PropTypes from 'prop-types';\nimport UserInfoForm from '../UserInfoForm/UserInfoForm';\n\n// Outer container and main component for the checkout page.\n// Fetches Stripe config data and defines the submit function for creating a stripe checkout session\nfunction Checkout(props) {\n // Store an instance of initialized Stripe in the component's state\n const [stripe, setStripe] = useState();\n\n // useEffect (unlike componentDidMount) doesn't block the browser from updating screen\n // The second parameter of an empty array is cruicial - it means effect will run only once\n // Note: this is also how it is done in Stripe react example\n useEffect(() => {\n async function configStripe() {\n try {\n setStripe(await loadStripe(props.stripePublicKey));\n } catch (e) {\n // This will catch any errors with loadStripe() function call\n // TODO: display something to user? Currently the form button\n // is disabled until stripe instance is available\n }\n }\n configStripe();\n }, []);\n\n const submitCheckout = async (metadata) => {\n // This function is only called if stripe has been defined\n // 1. Calls our backend to create a checkout session on stripe's servers\n // Comes back with the session object that is needed to run a redirect function call\n const response = await fetch('/api/stripe/payments/create_checkout_session.json', {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n checkout_session: {\n first_name: metadata.firstName,\n last_name: metadata.lastName,\n email: metadata.email,\n company_id: props.company.id,\n },\n // hard coding the product_id\n product_id: 5,\n }),\n });\n\n if (!response.ok) throw new Error('Could not create a Stripe checkout session.');\n\n const session = await response.json();\n\n // Redirect to checkout using checkout session id recieved from our backend\n let result;\n result = await stripe.redirectToCheckout({\n sessionId: session.id,\n });\n\n if (result.error) {\n // Error message is in `result.error.message` if there is network connectivity issues, etc\n throw new Error(result.error);\n }\n return result;\n };\n\n return (\n
\n \n
\n );\n}\n\nCheckout.propTypes = {\n company: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string,\n country: PropTypes.string,\n state: PropTypes.string,\n use_vouchers: PropTypes.bool,\n email: PropTypes.string,\n next_step_message: PropTypes.string,\n next_step_link: PropTypes.string,\n }),\n product: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string, // eg. 'Typist Skill Assessment Voucher'\n price_before_tax: PropTypes.number, // Price in $ before tax. eg. 20.00 in $. Use this for displaying the price in checkout\n currency: PropTypes.string, // eg. 'cad' or 'usd'\n tax: PropTypes.shape({\n name: PropTypes.string, // eg. 'HST'\n rate: PropTypes.number, // eg. 0.13\n }),\n }),\n stripePublicKey: PropTypes.string,\n};\n\nexport default Checkout;\n","import React, { useState, useEffect } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\n\n// Loading animation circle component\n// TODO: share this with other components\nfunction LoadingSpinner({ isVisible }) {\n return (\n
\n
\n Loading...\n
\n
\n );\n}\n\nLoadingSpinner.propTypes = {\n isVisible: PropTypes.bool,\n};\nLoadingSpinner.defaultProps = {\n isVisible: false,\n};\n\n// Voucher code display component\nfunction VoucherCodeDisplay({ voucherCode, companyName, error }) {\n return (\n
\n
\n {error ? (\n \n There was an issue displaying your voucher code. Please contact us at support@typistapp.ca.\n \n ) : voucherCode ? (\n {voucherCode}\n ) : (\n \n )}\n
\n
\n Please wait while your voucher code loads. A copy has also been sent to you and to {companyName} via email.\n
\n
\n );\n}\n\nVoucherCodeDisplay.propTypes = {\n voucherCode: PropTypes.string,\n companyName: PropTypes.string,\n error: PropTypes.bool,\n};\n\nVoucherCodeDisplay.defaultProps = {\n voucherCode: null,\n companyName: null,\n error: false,\n};\n\n// Success panel component\nfunction Success({ company }) {\n // Not setting a default value of {} for metadata because easier to check at rendering stage\n // Whether to render parts that depend on the fetched metadata object or not\n const [metadata, setMetadata] = useState();\n const [voucherCode, setVoucherCode] = useState();\n const [voucherCodeError, setVoucherCodeError] = useState(false);\n\n // 1. Get Session ID of current session\n const location = useLocation();\n // Extracts session id from the url\n const sessionId = location.search.replace('?session_id=', '');\n\n // 2. Fetch the full session object from our backend using session ID\n // The array passed in as second param are the dependencies that useEffect uses.\n // As sessionId will not change after initial call, the useEffect will run only once.\n // Also, according to recommended 'exhaustive-deps' ESLint rule, the function passed into useEffect cannot be an async function\n // and any function it does use should be defined inside useEffect (see react docs and the corresponding ESLint rule in `eslint-plugin-react-hooks`)\n useEffect(() => {\n // Variable for canceling the fetching retries if component unmounted\n let componentUnmounted = false;\n\n // Attempt multiple times to fetch a voucher code using payment_intent\n function fetchVoucherCode({ payment_intent, retries = 4, msBetweenRetries = 4000 } = {}) {\n // Recursive function wrapper around regular fetch, adding a retry on fail functionality\n // The first 2 params feed directly into fetch, the last one is a retry counter\n function fetchWithRetries(url, options, retryAttempt) {\n // Cancel early if component unmounted\n if (componentUnmounted) return Promise.reject(new Error('Component has been unmounted.'));\n\n if (retryAttempt > 0) {\n console.log(`Attempt #${retryAttempt} to get voucher code.`);\n return fetch(url, options)\n .then((res) => {\n // Make sure to check if response is ok. Fetch does not throw error if response is a code 4xx\n if (!res.ok) {\n return Promise.reject(new Error('Could not get voucher code - attempt failed.'));\n }\n return res.json();\n })\n .then((res) => {\n setVoucherCode(res.code);\n })\n .catch(() => {\n // If voucher code not yet available, try again\n // Recursively call the function, decreasing the retries param\n return new Promise((resolve) => setTimeout(resolve, msBetweenRetries)).then(() =>\n fetchWithRetries(url, options, retryAttempt - 1)\n );\n });\n } else {\n setVoucherCodeError(true);\n // If retries exceeded, stop trying and reject the promise\n return Promise.reject(new Error('Could not get voucher code - attempts exceeded.'));\n }\n }\n return fetchWithRetries(\n `/api/vouchers/${payment_intent}.json`,\n {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n },\n },\n retries\n );\n }\n\n // Fetches the checkout session object that Stripe created. Using checkout sesion object, fetches the voucher code using\n // the payment intent\n // the params passed in are retries, which is the number of times to retry fetching voucher code, and msBetweenRetries\n async function fetchSessionAndVoucherCode({ voucherCodeRetries, msBetweenVoucherCodeRetries } = {}) {\n return await fetch(`/api/stripe/payments/checkout_session.json?session_id=${sessionId}`)\n .then((res) => {\n if (!res.ok) throw new Error('Could not get checkout session.');\n return res.json();\n })\n .then((checkout_session = {}) => {\n // Set the metadata onto this component's state object\n // Committing only metadata to state because that's all we need from the session object\n setMetadata(checkout_session.metadata);\n return checkout_session;\n })\n // Add a delay on first request so the display of code on screen is not too jumpy\n .then((checkout_session) => {\n return new Promise((resolve) => setTimeout(() => resolve(checkout_session), 2500));\n })\n .then(({ payment_intent }) => {\n return fetchVoucherCode({ payment_intent, retries: voucherCodeRetries, msBetweenRetries: msBetweenVoucherCodeRetries });\n })\n .catch((err) => {\n // TODO: display something to the user or let the loading bar keep spinning\n });\n }\n // Run the async fetch session and subsequent fetch voucher code (with attempts)\n fetchSessionAndVoucherCode({ voucherCodeRetries: 4, msBetweenVoucherCodeRetries: 4000 });\n\n // Function returned from useEffect is the cleanup function when component gets unmounted\n return () => {\n // Activating this variable so that the retry fetching promise chain gets cancelled\n componentUnmounted = true;\n };\n }, [sessionId]);\n\n return (\n
\n
\n

Success

\n {\n // TODO: Move the truth block of statement below into it's own component (eg. SuccessContent)\n metadata ? (\n <>\n

\n Thank you{metadata.first_name && metadata.last_name ? `, ${metadata.first_name} ${metadata.last_name},` : ''} for\n purchasing a skill assessment voucher for use with {company.name}.\n

\n \n

\n \n Please print, write down, or take a picture of your voucher code above. You will need this at the time of your\n assessment.\n \n

\n

\n You have purchased a voucher that can be used to complete a skill assessment with {company.name}. Two emails have\n been sent to {metadata.email}:\n

\n
    \n
  1. A receipt confirming your purchase.
  2. \n
  3. Voucher code and further instructions from Typist, Inc.
  4. \n
\n

\n If you do not receive the emails above, your voucher code can be obtained by contacting{' '}\n {company.email ? company.email : company.name}.\n

\n\n

Next Steps

\n {company.next_step_message ? (\n

\n {company.next_step_link ? (\n \n {company.next_step_message}\n \n ) : (\n company.next_step_message\n )}\n

\n ) : (\n

\n Instructions on how to begin your assessment will be provided by {company.name}. Once provided with the\n assessment link by {company.name}, you will be required to enter the voucher code above.\n

\n )}\n

\n If you have any questions, please connect with the person who provided you the link to this page, or email{' '}\n {company.email ? company.email : company.name} with any questions.\n

\n \n ) : (\n \n )\n }\n
\n
\n );\n}\n\nSuccess.propTypes = {\n company: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string,\n country: PropTypes.string,\n state: PropTypes.string,\n use_vouchers: PropTypes.bool,\n email: PropTypes.string,\n next_step_message: PropTypes.string,\n next_step_link: PropTypes.string,\n }),\n};\n\nexport default Success;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\nimport PropTypes from 'prop-types';\n\nfunction Canceled() {\n return (\n
\n
\n

Canceled

\n

The purchase was not completed.

\n
\n \n Go Back to Try Again\n \n
\n
\n
\n );\n}\n\nCanceled.propTypes = {};\n\nexport default Canceled;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport Checkout from 'components/PurchaseVouchers/components/Checkout/Checkout.jsx';\nimport Success from 'components/PurchaseVouchers/components/Success/Success.jsx';\nimport Canceled from 'components/PurchaseVouchers/components/Canceled/Canceled.jsx';\nimport { HashRouter as Router, Switch, Route } from 'react-router-dom';\nimport PropTypes from 'prop-types';\n\nfunction App(props) {\n return (\n \n
\n \n \n \n \n \n \n \n \n \n \n \n
\n
\n );\n}\n\nApp.propTypes = {\n company: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string,\n country: PropTypes.string,\n state: PropTypes.string,\n use_vouchers: PropTypes.bool,\n email: PropTypes.string,\n }),\n stripePublicKey: PropTypes.string,\n product: PropTypes.shape({\n id: PropTypes.number,\n name: PropTypes.string, // eg. 'Typist Skill Assessment Voucher'\n price_before_tax: PropTypes.number, // Price in $ before tax. eg. 20.00 in $. Use this for displaying the price in checkout\n currency: PropTypes.string, // eg. 'cad' or 'usd'\n tax: PropTypes.shape({\n name: PropTypes.string, // eg. 'HST'\n rate: PropTypes.number, // eg. 0.13\n }),\n }),\n};\n\nexport default App;\n","import '../controllers';\n\nimport PurchaseVouchers from '~Root/app/javascript/components/PurchaseVouchers/PurchaseVouchers.jsx';\n\n// Attach all the react components that are to be used with the react-render stimulus controller to the global namespace\nconst existingReactComponents = window.reactComponents || {};\nwindow.reactComponents = {\n ...existingReactComponents,\n 'PurchaseVouchers/PurchaseVouchers': PurchaseVouchers,\n};\n\nimport '~Root/app/assets/stylesheets/application.scss';\n"],"names":["Yup","shape","firstName","ensure","required","min","test","value","context","length","toUpperCase","toLowerCase","includes","lastName","isDutchName","trim","email","confirmEmail","oneOf","ShoppingCart","_ref","product","currency","React","className","name","price_before_tax","toFixed","tax","concat","Instructions","_ref2","companyName","companyEmail","href","UserInfoForm","_Component","_inherits","_super","_createSuper","props","_this","_classCallCheck","call","state","flashMessages","onSubmit","bind","_assertThisInitialized","key","values","_ref3","_this2","setSubmitting","dataSharingConfirmation","termsOfUseConfirmation","fetch","method","headers","body","JSON","stringify","candidate","first_name","last_name","then","res","ok","json","Promise","reject","arguments","undefined","is_candidate_valid","submitCheckout","err","setState","message","error","_this3","this","company","Formik","initialValues","validationSchema","checkoutSchema","_ref5","errors","touched","handleChange","handleBlur","handleSubmit","isSubmitting","isValid","isValidating","htmlFor","type","classNames","id","onChange","onBlur","target","map","_ref6","idx","disabled","invisible","role","Component","defaultProps","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","arg","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","callInvokeWithMethodAndArg","Error","done","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","displayName","isGeneratorFunction","constructor","mark","setPrototypeOf","__proto__","awrap","async","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","delegateYield","asyncGeneratorStep","gen","_next","_throw","info","_asyncToGenerator","fn","self","args","apply","_slicedToArray","arr","Array","isArray","_arrayWithHoles","_iterableToArrayLimit","minLen","_arrayLikeToArray","toString","from","_unsupportedIterableToArray","_nonIterableRest","len","arr2","_useState2","useState","stripe","setStripe","useEffect","_configStripe","_callee","_context","t0","loadStripe","stripePublicKey","t1","t2","configStripe","_callee2","metadata","response","session","result","_context2","checkout_session","company_id","product_id","redirectToCheckout","sessionId","_x","assign","LoadingSpinner","isVisible","VoucherCodeDisplay","voucherCode","setMetadata","_useState4","setVoucherCode","_useState6","voucherCodeError","setVoucherCodeError","useLocation","search","replace","componentUnmounted","fetchVoucherCode","_ref4","payment_intent","_ref4$retries","retries","_ref4$msBetweenRetrie","msBetweenRetries","fetchWithRetries","url","options","retryAttempt","console","log","code","setTimeout","_fetchSessionAndVoucherCode","voucherCodeRetries","msBetweenVoucherCodeRetries","_args","fetchSessionAndVoucherCode","style","width","next_step_message","next_step_link","rel","Link","to","Router","hashType","Switch","Route","path","Success","Canceled","Checkout","existingReactComponents","window","reactComponents","_objectSpread","PurchaseVouchers"],"sourceRoot":""}