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mB,CAACR,OAAQI,IAC3B,gBAAC,KAAa,KACZ,gBAACzB,GAAG,SAIVc,SAASC,eAAe,Q","sources":["webpack://adonis-example-web/./src/config/index.ts","webpack://adonis-example-web/./src/components/shared/ContentLayout/ContentLayout.tsx","webpack://adonis-example-web/./src/components/shared/TitleAndDescription/TitleAndDescription.tsx","webpack://adonis-example-web/./src/components/GetStarted/getStarted.displayData.ts","webpack://adonis-example-web/./src/components/GetStarted/GetStarted.tsx","webpack://adonis-example-web/./src/constants/featureFlags.ts","webpack://adonis-example-web/./src/services/errors/SubmitAnswers.error.ts","webpack://adonis-example-web/./src/services/util/httpErrorHandler.ts","webpack://adonis-example-web/./src/services/answers/attachments.ts","webpack://adonis-example-web/./src/services/errors/CreateAnswers.error.ts","webpack://adonis-example-web/./src/services/util/httpStatusCodeCheck.ts","webpack://adonis-example-web/./src/services/answers/createAnswers.ts","webpack://adonis-example-web/./src/services/errors/ReplaceAnswers.error.ts","webpack://adonis-example-web/./src/services/answers/replaceAnswer.ts","webpack://adonis-example-web/./src/services/answers/submitAnswer.ts","webpack://adonis-example-web/./src/services/errors/GetQuestions.error.ts","webpack://adonis-example-web/./src/services/questions/getQuestions.ts","webpack://adonis-example-web/./src/components/App/app.actionType.enum.ts","webpack://adonis-example-web/./src/components/App/app.actionCreators.ts","webpack://adonis-example-web/./src/components/App/AppContext.tsx","webpack://adonis-example-web/./src/components/QuestionnaireRenderErrorHandler/QuestionnaireRenderErrorHandler.tsx","webpack://adonis-example-web/./src/components/ReferralNetworkApplication/ReferralNetworkApplication.tsx","webpack://adonis-example-web/./src/components/RequiredInfo/RequiredInfoCard/RequiredInfoCard.tsx","webpack://adonis-example-web/./src/components/RequiredInfo/InfoCards/InfoCards.tsx","webpack://adonis-example-web/./src/assets/index.ts","webpack://adonis-example-web/./src/components/RequiredInfo/requiredInfo.displayData.ts","webpack://adonis-example-web/./src/components/RequiredInfo/RequiredInfo.tsx","webpack://adonis-example-web/./src/components/Success/Success.tsx","webpack://adonis-example-web/./src/components/Router/Router.tsx","webpack://adonis-example-web/./src/components/App/app.reducer.ts","webpack://adonis-example-web/./src/components/App/App.tsx","webpack://adonis-example-web/./src/index.tsx"],"sourcesContent":["import { TagManagerArgs } from '@legalshield/frontend-analytics';\n\nenum LSEnvironment {\n Dev = 'dev',\n Uat = 'uat',\n Production = 'production',\n ProductionTest = 'productionTest',\n}\n\nconst getEnvFromHostname = (): LSEnvironment => {\n const host = window.location.hostname;\n\n if (/.*test\\..*/.test(host)) {\n return LSEnvironment.ProductionTest;\n }\n if (host.includes('dev-') || host.includes('localhost')) {\n return LSEnvironment.Dev;\n }\n if (host.includes('uat-')) {\n return LSEnvironment.Uat;\n }\n return LSEnvironment.Production;\n};\n\nexport const getGtmVars = (): TagManagerArgs => {\n return {\n dev: {\n auth: '8ORNwoYVVPtSAsoW7UGgKw',\n gtmId: 'GTM-NQ3J2B7',\n preview: 'env-17',\n },\n local: {\n auth: '8ORNwoYVVPtSAsoW7UGgKw',\n gtmId: 'GTM-NQ3J2B7',\n preview: 'env-17',\n },\n uat: {\n auth: '5B6USoiYGGAjfirnUbMYCw',\n gtmId: 'GTM-NQ3J2B7',\n preview: 'env-21',\n },\n prod: {\n auth: 'g_gdq8mpXSg8PHfXMX3lQ',\n gtmId: 'GTM-NQ3J2B7',\n preview: 'env-1',\n },\n };\n};\n\nconst getEnvironmentSecondLevelDomain = (isProviderUrl = true): string => {\n const host = window.location.hostname;\n const domain = isProviderUrl ? 'legalshieldproviders' : 'legalshield';\n\n if (host.includes('dev-')) {\n return `dev-${domain}.com`;\n }\n\n if (host.includes('uat-')) {\n return `uat-${domain}.com`;\n }\n\n return `${domain}.com`;\n};\n\nconst appendTest = (): string => {\n const host = window.location.hostname;\n const subdomain = host.split('.')[0];\n return subdomain.includes('test') ? 'test' : '';\n};\n\nexport default {\n LSEnvironment,\n getEnvFromHostname,\n getGtmVars,\n branchesServiceUrl: `https://branches.api.${getEnvironmentSecondLevelDomain()}`,\n featuresUrl: `http://features.${getEnvironmentSecondLevelDomain(false)}`,\n fileStorageServiceUrl: `https://imagestore.api.${getEnvironmentSecondLevelDomain()}`,\n firmsServiceUrl: `https://firms.api.${getEnvironmentSecondLevelDomain()}`,\n identitiesServiceUrl: `https://identities.api.${getEnvironmentSecondLevelDomain()}`,\n imageStoreUrl: `https://imagestore.api.${getEnvironmentSecondLevelDomain()}`,\n intakesUrl: `https://intakes${appendTest()}.${getEnvironmentSecondLevelDomain()}`,\n lawyersUrl: `https://lawyers${appendTest()}.${getEnvironmentSecondLevelDomain()}`,\n membersUrl: `https://members${appendTest()}.${getEnvironmentSecondLevelDomain()}`,\n organizationUrl: `https://organization${appendTest()}.${getEnvironmentSecondLevelDomain()}`,\n profilesServiceUrl: `https://profiles.api.${getEnvironmentSecondLevelDomain()}`,\n providersServiceUrl: `https://providers.api.${getEnvironmentSecondLevelDomain()}`,\n queriesServiceUrl: `https://queries.api.${getEnvironmentSecondLevelDomain()}`,\n questionsServiceUrl: `https://questions.api.${getEnvironmentSecondLevelDomain()}`,\n reportsUrl: `https://reports${appendTest()}.${getEnvironmentSecondLevelDomain()}`,\n resolutionsUrl: `https://resolutions${appendTest()}.${getEnvironmentSecondLevelDomain()}`,\n userSettingsKey: 'products-intakes-web',\n userSettingsServiceUrl: `https://user-settings.api.${getEnvironmentSecondLevelDomain()}`,\n};\n","import React, { FC, ReactNode } from 'react';\nimport { Container, Grid, GridCol, GridRow, useViewportSize } from '@legalshield/adonis-ux-framework';\n\ninterface ContentLayoutProps {\n children: ReactNode;\n width?: string;\n}\nconst ContentLayout: FC = ({ children, width }) => {\n const viewportSize = useViewportSize();\n const isSmallScreen = viewportSize.width < 640;\n\n const styles = {\n width: `${isSmallScreen ? '90%' : width ? width : '60%'}`,\n margin: 'auto',\n maxWidth: '1680px',\n };\n\n return (\n \n \n \n \n <>{children}\n \n \n \n \n );\n};\n\nexport default ContentLayout;\n","import React, { FC } from 'react';\nimport { Container, Heading, Text } from '@legalshield/adonis-ux-framework';\nimport { HeadingAs } from '@legalshield/adonis-ux-framework';\n\ninterface TitleAndDescriptionProps {\n title: string;\n as: HeadingAs;\n description?: string;\n isSubtitle?: boolean;\n}\nconst TitleAndDescription: FC = ({ title, as, description, isSubtitle = false }) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport default TitleAndDescription;\n","interface IGetStartedDisplayData {\n howItWorks: {\n title: string;\n description?: string;\n info: { id: number; text: string }[];\n };\n qualifications: {\n title: string;\n description: string;\n info: { id: number; subtitle: string; description: string }[];\n };\n}\n\nconst getStartedDisplayData: IGetStartedDisplayData = {\n howItWorks: {\n title: 'How it works',\n info: [\n {\n id: 1,\n text: 'LegalShield provides unlimited consultations and particular services to its subscription based members. Often this solves the immediate need but in many cases members will need further assistance.',\n },\n {\n id: 2,\n text: 'Members who are referred are directed to contact their assigned referral lawyer and together the two can decide to enter an attorney client relationship.',\n },\n {\n id: 3,\n text: 'For certain instances, the lawyer is paid by the firm who referred them. In other matters, the member engages the referral lawyer on a fee for service basis with the referral lawyer providing a 25% discount of their standard hourly rate.',\n },\n ],\n },\n qualifications: {\n title: 'Qualifications',\n description:\n 'Before we get started, here are the qualifications required to join the LegalShield Lawyer Referral Network.',\n info: [\n {\n id: 4,\n subtitle: '2 years of experience',\n description: 'Must be in good standing with the bar or other regulatory body.',\n },\n {\n id: 5,\n subtitle: 'Equal justice for all',\n description: 'Must be dedicated to meet the needs of your clients. ',\n },\n {\n id: 6,\n subtitle: 'Insurance coverage',\n description: 'Must show proof of malpractice coverage of at least $100,000.',\n },\n ],\n },\n};\n\nexport default getStartedDisplayData;\n","import React, { FC } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { Button, Container, Divider, Text } from '@legalshield/adonis-ux-framework';\n\nimport ContentLayout from '../shared/ContentLayout/ContentLayout';\nimport TitleAndDescription from '../shared/TitleAndDescription/TitleAndDescription';\nimport getStartedDisplayData from './getStarted.displayData';\n\nconst GetStarted: FC = () => {\n const { howItWorks, qualifications } = getStartedDisplayData;\n const history = useHistory();\n\n return (\n \n \n
    \n {howItWorks.info.map((item) => (\n
  • \n \n
  • \n ))}\n
\n \n \n \n {qualifications.info.map((item) => (\n \n \n \n ))}\n \n \n history.push('/required_info')}\n />\n \n
\n );\n};\n\nexport default GetStarted;\n","import { z } from 'zod';\n\nimport config from '../config';\n\nconst flagSchema = z.object({\n SL2414: z.boolean(), // Add CAN compatibility\n});\n\ntype FeatureFlags = z.infer;\nexport const flags: Record = {\n [config.LSEnvironment.Dev]: {\n SL2414: true,\n },\n [config.LSEnvironment.Uat]: {\n SL2414: true,\n },\n [config.LSEnvironment.ProductionTest]: {\n SL2414: false,\n },\n [config.LSEnvironment.Production]: {\n SL2414: false,\n },\n};\n","import { LSError } from '../util/LSError.interface';\n\nexport class SubmitAnswersError extends Error implements LSError {\n message: string;\n title: string;\n\n constructor() {\n super();\n this.title = 'Submit Answers Error';\n this.message = 'There was an error submitting your answers, please contact support if the error persists';\n }\n}\n","import { AxiosResponse } from 'axios';\nimport createHttpError, { BadRequest, HttpError, NotFound } from 'http-errors';\n\nexport const httpErrorHandler = (response: AxiosResponse | Response): HttpError => {\n let error: HttpError = createHttpError(response.status, 'An unexpected error has occurred');\n\n switch (response.status) {\n case 404:\n error = new NotFound('Something is not found');\n break;\n case 400:\n error = new BadRequest();\n break;\n }\n\n return error;\n};\n","import { S3UploadResponse } from '@legalshield/frontend-commons/src/sdk/imagestore';\nimport { FileWithPreview } from '@legalshield/products-questionnaire-lib';\n\nimport config from '../../config';\nimport { SubmitAnswersError } from '../errors/SubmitAnswers.error';\nimport { httpErrorHandler } from '../util/httpErrorHandler';\n\nconst bucketToEnv = [\n {\n env: 'dev',\n prefix: 'dev-',\n bucket: 'providers-documents-sandbox',\n imageServiceLocation: 'https://imagestore.api.dev-legalshieldproviders.com',\n },\n {\n env: 'uat',\n prefix: 'uat-',\n bucket: 'providers-documents-uat',\n imageServiceLocation: 'https://imagestore.api.uat-legalshieldproviders.com',\n },\n {\n env: 'prod',\n prefix: '',\n bucket: 'providers-documents-production',\n imageServiceLocation: 'https://imagestore.api.legalshieldproviders.com',\n },\n];\n\nconst imageStoreServiceUrl = config.imageStoreUrl;\nconst bucketNameForEnv = bucketToEnv.find((entry) => imageStoreServiceUrl === entry.imageServiceLocation)?.bucket;\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const findAttachments = (tasks: Record): FileWithPreview[] => {\n return tasks.task14.attachments as FileWithPreview[];\n};\n\nexport const uploadAttachments = async (dir: string, files?: File[]): Promise => {\n const formData = new FormData();\n files?.forEach((file) => {\n if (file) {\n if (file instanceof File) {\n formData.append('files', file, file.name);\n } else {\n formData.append('files', file);\n }\n }\n });\n\n const params = [\n ['app', 'providers'],\n ['dir', dir],\n ['locale', 'en-us'],\n ['isPublic', bucketNameForEnv ? 'false' : 'true'],\n ];\n\n if (bucketNameForEnv) {\n params.push(['bucketName', bucketNameForEnv]);\n }\n\n const searchParams = new URLSearchParams(params);\n const relativePath = `/v1/container/files?${searchParams.toString()}`;\n const url = imageStoreServiceUrl ? new URL(relativePath, imageStoreServiceUrl).toString() : relativePath;\n const resp = await fetch(url, {\n body: formData,\n credentials: 'include',\n method: 'POST',\n });\n\n if (!resp.ok) {\n httpErrorHandler(resp);\n throw new SubmitAnswersError();\n }\n\n return resp.json();\n};\n","import { LSError } from '../util/LSError.interface';\n\nexport class CreateAnswersError extends Error implements LSError {\n message: string;\n title: string;\n\n constructor() {\n super();\n this.title = 'Create Answers Error';\n this.message = 'There was an error verifying your answers, please contact support if the error persists';\n }\n}\n","const httpStatusCodeCheck = (status: number): boolean => status >= 200 && status < 400;\n\nexport default httpStatusCodeCheck;\n","import { Answers } from '@legalshield/frontend-commons';\nimport { Answer } from '@legalshield/frontend-commons/dist/sdk/answers';\n\nimport { CreateAnswersError } from '../errors/CreateAnswers.error';\nimport { httpErrorHandler } from '../util/httpErrorHandler';\nimport httpStatusCodeCheck from '../util/httpStatusCodeCheck';\n\nconst userId = 'b6a1053b-fc01-4acc-9689-768609f4f2d9';\n\nconst answersApi = new Answers.Api();\nconst createAnswers = async (answer: Answer): Promise => {\n try {\n const { data } = await answersApi.v1.publicAnswersCreateAnswer(userId, answer, {\n withCredentials: true,\n validateStatus: httpStatusCodeCheck,\n });\n return data as Answer;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (e: any) {\n httpErrorHandler(e.response);\n throw new CreateAnswersError();\n }\n};\n\nexport default createAnswers;\n","import { LSError } from '../util/LSError.interface';\n\nexport class ReplaceAnswersError extends Error implements LSError {\n message: string;\n title: string;\n\n constructor() {\n super();\n this.title = 'Replace Answers Error';\n this.message = 'There was an error Replacing your answers, please contact support if the error persists';\n }\n}","import { Answer } from '@legalshield/frontend-commons/dist/sdk/answers';\nimport { Answers } from '@legalshield/frontend-commons';\nimport { httpErrorHandler } from '../util/httpErrorHandler';\nimport httpStatusCodeCheck from '../util/httpStatusCodeCheck';\nimport { ReplaceAnswersError } from '../errors/ReplaceAnswers.error';\n\nconst userId = 'b6a1053b-fc01-4acc-9689-768609f4f2d9';\n\nconst answersApi = new Answers.Api();\n\nconst replaceAnswer = async (version: number, answerId: string, answer: Answer): Promise => {\n try {\n const { data } = await answersApi.v1.publicAnswersReplaceAnswer(userId, answerId, answer, {\n withCredentials: true,\n validateStatus: httpStatusCodeCheck,\n headers: {\n 'If-Match': version,\n },\n });\n return data as Answer;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (e: any) {\n httpErrorHandler(e.response);\n throw new ReplaceAnswersError();\n }\n};\n\nexport default replaceAnswer;\n","import { Answers } from '@legalshield/frontend-commons';\nimport { Answer } from '@legalshield/frontend-commons/dist/sdk/answers';\n\nimport { SubmitAnswersError } from '../errors/SubmitAnswers.error';\nimport { httpErrorHandler } from '../util/httpErrorHandler';\nimport httpStatusCodeCheck from '../util/httpStatusCodeCheck';\n\nconst answersApi = new Answers.Api();\n\nconst submitAnswer = async (version: number | undefined, id: string): Promise => {\n try {\n const { data } = await answersApi.v1.publicAnswersSubmitAnswer('b6a1053b-fc01-4acc-9689-768609f4f2d9', id, {\n withCredentials: true,\n validateStatus: httpStatusCodeCheck,\n headers: {\n 'If-Match': version ?? 0,\n },\n });\n return data as Answer;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (e: any) {\n httpErrorHandler(e.response);\n throw new SubmitAnswersError();\n }\n};\n\nexport default submitAnswer;\n","import { LSError } from '../util/LSError.interface';\n\nexport class GetQuestionsError extends Error implements LSError {\n message: string;\n title: string;\n\n constructor() {\n super();\n this.title = 'Get Questions Error';\n this.message = 'There was an error retrieving the questionnaire, please contact support if the error persists';\n }\n}\n","import { Questions } from '@legalshield/frontend-commons';\n\nimport { GetQuestionsError } from '../errors/GetQuestions.error';\nimport httpStatusCodeCheck from '../util/httpStatusCodeCheck';\n\nconst questionsApi = new Questions.Api();\n\nconst getQuestions = async (questionnaireId: string) => {\n try {\n const { data: questions } = await questionsApi.v1.publicProductsQuestionsGetSpecificPublicQuestionnaire(\n questionnaireId,\n {\n validateStatus: httpStatusCodeCheck,\n },\n );\n return questions;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (e: any) {\n throw new GetQuestionsError();\n }\n};\n\nexport default getQuestions;\n","enum AppActionType {\n SET_LOADING = 'SET_LOADING',\n SHOW_MESSAGE = 'SHOW_MESSAGE',\n CLEAR_MESSAGE = 'CLEAR_MESSAGE',\n}\n\nexport default AppActionType;\n","import AppActionType from './app.actionType.enum';\nimport { AppReducerAction } from './app.interfaces';\n\nconst { SET_LOADING, SHOW_MESSAGE, CLEAR_MESSAGE } = AppActionType;\n\nexport const setLoading = (isLoading: boolean): AppReducerAction => ({\n type: SET_LOADING,\n payload: { loading: isLoading },\n});\n\nexport const showMessage = (title: string, message: string, success = false, error = false): AppReducerAction => ({\n type: SHOW_MESSAGE,\n payload: { title, body: message, success, error },\n});\n\nexport const clearMessage = (): AppReducerAction => ({\n type: CLEAR_MESSAGE,\n});\n","import React, { createContext } from 'react';\n\nimport { AppReducerAction, AppState } from './app.interfaces';\n\ninterface IAppContext {\n state: AppState | null;\n appDispatch: React.Dispatch;\n}\n\nconst AppContext = createContext({\n state: null,\n appDispatch: () => null,\n});\n\nexport default AppContext;\n","import React from 'react';\nimport { Container, Heading, Icon, Text } from '@legalshield/adonis-ux-framework';\n\nconst QuestionnaireRenderErrorHandler = () => (\n \n \n \n \n \n \n \n \n \n);\n\nexport default QuestionnaireRenderErrorHandler;\n","import React, { FC, useContext, useEffect, useState } from 'react';\nimport { ErrorBoundary } from 'react-error-boundary';\nimport { useHistory } from 'react-router-dom';\nimport { Container, Heading } from '@legalshield/adonis-ux-framework';\nimport { Questions } from '@legalshield/frontend-commons';\nimport { Answer, AnswerTask } from '@legalshield/frontend-commons/dist/sdk/answers';\nimport { S3UploadResponse } from '@legalshield/frontend-commons/src/sdk/imagestore';\nimport { FileWithPreview, QuestionnaireRenderer } from '@legalshield/products-questionnaire-lib';\nimport { QuestionnaireRenderer as QuestionnaireRenderer_NEW } from '@legalshield/products-questionnaire-lib_NEW';\n\nimport config from '../../config';\nimport { flags } from '../../constants/featureFlags';\nimport { findAttachments, uploadAttachments } from '../../services/answers/attachments';\nimport createAnswers from '../../services/answers/createAnswers';\nimport replaceAnswer from '../../services/answers/replaceAnswer';\nimport submitAnswer from '../../services/answers/submitAnswer';\nimport getQuestions from '../../services/questions/getQuestions';\nimport { setLoading, showMessage } from '../App/app.actionCreators';\nimport AppContext from '../App/AppContext';\nimport QuestionnaireRenderErrorHandler from '../QuestionnaireRenderErrorHandler/QuestionnaireRenderErrorHandler';\nimport ContentLayout from '../shared/ContentLayout/ContentLayout';\nimport { Attachment } from './QuestionnaireResponse.interfaces';\nconst SL2414 = flags[config.getEnvFromHostname()].SL2414;\n\nconst QUESTIONNAIRE_ID = SL2414 ? 'referral-network-application-v1.1' : 'referral-network-application-v1.0';\nconst NAVIGATION_WARNING = \"Are you sure you'd like to leave? You will lose the information you've entered so far.\";\n\nconst ReferralNetworkApplication: FC = () => {\n const { appDispatch } = useContext(AppContext);\n const [blockNavigation, setBlockNavigation] = useState(true);\n const [questions, setQuestions] = useState(null);\n const history = useHistory();\n\n useEffect(() => {\n appDispatch(setLoading(true));\n getQuestions(QUESTIONNAIRE_ID)\n .then((resp) => {\n setQuestions(resp);\n appDispatch(setLoading(false));\n })\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n .catch((e: any) => {\n appDispatch(setLoading(false));\n appDispatch(showMessage(e.title, e.message, false, true));\n });\n }, []);\n\n useEffect(() => {\n const unblock = history.block(() => {\n if (blockNavigation) {\n return NAVIGATION_WARNING;\n }\n });\n\n return () => {\n unblock();\n };\n }, [blockNavigation, history]);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const handleSubmit = async (tasks: Record) => {\n setBlockNavigation(false);\n try {\n appDispatch(setLoading(true));\n\n const answer: Answer = await createAnswers({\n questionnaireName: QUESTIONNAIRE_ID,\n taskCount: 17,\n tasks: tasks,\n });\n const version = answer.version as number;\n const id = answer.id as string;\n\n const attachments: File[] = findAttachments(tasks).map((attachment: FileWithPreview) => {\n return new File([attachment], attachment.filename);\n });\n\n const uploadResponses: S3UploadResponse[] = await uploadAttachments(id, attachments);\n\n tasks.task14.attachments.forEach((attachment: Attachment) => {\n const uploadResponse = uploadResponses.find(\n (response: S3UploadResponse) => response.file_name_original === attachment.filename,\n );\n if (uploadResponse) {\n attachment.url = uploadResponse.file_url;\n attachment.preview = uploadResponse.file_url;\n }\n });\n\n const replacedAnswer: Answer = await replaceAnswer(version, id, {\n questionnaireName: QUESTIONNAIRE_ID,\n taskCount: 17,\n tasks: tasks as unknown as Record,\n });\n\n await submitAnswer(replacedAnswer.version, id);\n history.push('/success');\n appDispatch(setLoading(false));\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n } catch (e: any) {\n appDispatch(setLoading(false));\n appDispatch(showMessage(e.title, e.message, false, true));\n }\n };\n\n return (\n <>\n {!questions ? (\n <>\n ) : (\n \n \n \n \n {SL2414 ? (\n }>\n \n \n ) : (\n \n )}\n \n )}\n \n );\n};\n\nexport default ReferralNetworkApplication;\n","import React, { FC } from 'react';\nimport { Container, Heading, Image, Text } from '@legalshield/adonis-ux-framework';\n\nimport { CardDisplayData } from '../requiredInfo.displayData';\n\nconst RequiredInfoCard: FC = ({ icon, title, description }) => {\n return (\n \n \n \n \n
\n \n \n \n \n
\n \n );\n};\n\nexport default RequiredInfoCard;\n","import React, { FC } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { Button, Container, useViewportSize } from '@legalshield/adonis-ux-framework';\n\nimport { CardDisplayData } from '../requiredInfo.displayData';\nimport RequiredInfoCard from '../RequiredInfoCard/RequiredInfoCard';\n\ninterface InfoCardsProps {\n cardDisplayData: CardDisplayData[];\n}\nconst InfoCards: FC = ({ cardDisplayData }) => {\n const history = useHistory();\n const viewportSize = useViewportSize();\n const isSmallScreen = viewportSize.width < 640;\n\n return (\n <>\n \n {cardDisplayData.map((item) => (\n \n ))}\n \n \n history.push('/')}\n classNames={['mr-5']}\n />\n history.push('/questionnaire')}\n />\n \n \n );\n};\n\nexport default InfoCards;\n","import AdmissionDate from './AdmissionDate.svg';\nimport AreasofLaw from './AreasofLaw.svg';\nimport BarLicense from './BarLicense.svg';\nimport ProofofInsurance from './ProofofInsurance.svg';\nimport Rates from './Rates.svg';\nimport Success from './Success.svg';\nimport TaxID from './TaxID.svg';\n\nconst assets = {\n admissionDater: AdmissionDate,\n areasOfLaw: AreasofLaw,\n barLicense: BarLicense,\n proofOfInsurance: ProofofInsurance,\n rates: Rates,\n taxId: TaxID,\n success: Success,\n};\n\nexport default assets;\n","import assets from '../../assets';\n\nexport interface CardDisplayData {\n icon: string;\n title: string;\n description: string;\n}\n\nexport const requiredInfoDisplayData: CardDisplayData[] = [\n {\n icon: assets.barLicense,\n title: 'Bar license number',\n description: 'State bar license number',\n },\n {\n icon: assets.proofOfInsurance,\n title: 'Proof of insurance',\n description: 'Malpractice coverage documents',\n },\n {\n icon: assets.areasOfLaw,\n title: 'Areas of law',\n description: 'Comprehensive list of services',\n },\n {\n icon: assets.admissionDater,\n title: 'Admission date',\n description: 'Practice law begin date',\n },\n {\n icon: assets.taxId,\n title: 'Tax ID',\n description: 'Taxpayer identification number',\n },\n {\n icon: assets.rates,\n title: 'Rates',\n description: 'Standard, fixed, and rate exceptions',\n },\n];\n","import React, { FC } from 'react';\nimport { Divider } from '@legalshield/adonis-ux-framework';\n\nimport ContentLayout from '../shared/ContentLayout/ContentLayout';\nimport TitleAndDescription from '../shared/TitleAndDescription/TitleAndDescription';\nimport InfoCards from './InfoCards/InfoCards';\nimport { requiredInfoDisplayData } from './requiredInfo.displayData';\n\nconst TITLE = \"What you'll need\";\nconst DESCRIPTION = 'In order to complete this application, you will need the following:';\n\nconst RequiredInfo: FC = () => {\n return (\n \n \n \n \n \n );\n};\n\nexport default RequiredInfo;\n","import React, { FC } from 'react';\nimport { Container, Image, useViewportSize } from '@legalshield/adonis-ux-framework';\n\nimport assets from '../../assets';\nimport ContentLayout from '../shared/ContentLayout/ContentLayout';\nimport TitleAndDescription from '../shared/TitleAndDescription/TitleAndDescription';\n\nconst TITLE = 'Thank you for your application!';\nconst DESCRIPTION =\n 'Your application is under review. An email will be sent to you within 5 business days regarding the status of your application.';\n\nconst Success: FC = () => {\n const viewportSize = useViewportSize();\n const isSmallScreen = viewportSize.width < 640,\n isMediumScreen = viewportSize.width < 1024;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Success;\n","import React, { FC } from 'react';\nimport { Route, Switch } from 'react-router-dom';\n\nimport GetStarted from '../GetStarted/GetStarted';\nimport ReferralNetworkApplication from '../ReferralNetworkApplication/ReferralNetworkApplication';\nimport RequiredInfo from '../RequiredInfo/RequiredInfo';\nimport Success from '../Success/Success';\n\nconst Router: FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Router;\n","import AppActionType from './app.actionType.enum';\nimport { AppReducerAction, AppState } from './app.interfaces';\n\nexport const appInitialState: AppState = {\n loading: false,\n message: null,\n};\n\nconst AppReducer = (state: AppState, action: AppReducerAction): AppState => {\n const { SET_LOADING, SHOW_MESSAGE, CLEAR_MESSAGE } = AppActionType;\n\n switch (action.type) {\n case SET_LOADING:\n return { ...state, loading: action.payload.loading };\n case SHOW_MESSAGE:\n return {\n ...state,\n message: {\n createdAt: new Date().toISOString(),\n title: action.payload.title,\n body: action.payload.body,\n success: action.payload.success,\n error: action.payload.error,\n },\n };\n case CLEAR_MESSAGE:\n return { ...state, message: null };\n default:\n return state;\n }\n};\n\nexport default AppReducer;\n","import React, { FC, useReducer } from 'react';\nimport { Alert, Footer, Layout, Spinner } from '@legalshield/adonis-ux-framework';\n\nimport '../../../node_modules/@legalshield/products-questionnaire-lib/dist/esm/index.css';\n\nimport Router from '../Router/Router';\nimport { clearMessage } from './app.actionCreators';\nimport AppReducer, { appInitialState } from './app.reducer';\nimport AppContext from './AppContext';\n\nexport const App: FC = () => {\n const [state, dispatch] = useReducer(AppReducer, appInitialState),\n { loading, message } = state;\n\n const handleDismiss = (): void => {\n dispatch(clearMessage());\n };\n\n const content = (\n \n {message ? (\n \n ) : (\n <>\n )}\n \n
\n
\n );\n\n return (\n \n {loading && }\n {content}\n \n );\n};\n","import React from 'react';\nimport { hydrate, render } from 'react-dom';\nimport { QueryClient, QueryClientProvider } from 'react-query';\nimport { BrowserRouter } from 'react-router-dom';\nimport { AnalyticServiceVendor, AnalyticsOptions, ThemisAnalytics } from '@legalshield/frontend-analytics';\n\nimport { App } from './components/App/App';\nimport envConfig from './config';\n\nconst root = document.getElementById('root');\nlet renderMethod;\nif (root && root.innerHTML !== '') {\n renderMethod = hydrate;\n} else {\n renderMethod = render;\n}\nconst analyticsConfig: AnalyticsOptions = {\n client: AnalyticServiceVendor.GoogleTagManager,\n config: {\n gtmService: envConfig.getGtmVars(),\n },\n};\nconst queryClient = new QueryClient();\nconst themisAnalytics = new ThemisAnalytics(analyticsConfig);\nexport default themisAnalytics;\n\nthemisAnalytics.initialize();\nrenderMethod(\n \n \n \n \n \n \n ,\n document.getElementById('root'),\n);\n"],"names":["LSEnvironment","children","width","styles","useViewportSize","margin","maxWidth","variant","classNames","style","title","as","description","isSubtitle","text","howItWorks","info","id","qualifications","subtitle","getStartedDisplayData","history","useHistory","paddingLeft","map","item","key","className","flexbox","flexWrap","rowGap","columnGap","flexBasis","justifyContent","label","long","widthLong","iconRight","onClick","push","getEnvironmentSecondLevelDomain","isProviderUrl","host","window","location","hostname","domain","includes","appendTest","split","getEnvFromHostname","test","ProductionTest","Dev","Uat","Production","getGtmVars","dev","auth","gtmId","preview","local","uat","prod","branchesServiceUrl","featuresUrl","fileStorageServiceUrl","firmsServiceUrl","identitiesServiceUrl","imageStoreUrl","intakesUrl","lawyersUrl","membersUrl","organizationUrl","profilesServiceUrl","providersServiceUrl","queriesServiceUrl","questionsServiceUrl","reportsUrl","resolutionsUrl","userSettingsKey","userSettingsServiceUrl","z","SL2414","flags","config","SubmitAnswersError","Error","constructor","super","this","message","httpErrorHandler","response","error","createHttpError","status","NotFound","BadRequest","imageStoreServiceUrl","bucketNameForEnv","env","prefix","bucket","imageServiceLocation","find","entry","CreateAnswersError","answersApi","Answers","ReplaceAnswersError","GetQuestionsError","questionsApi","Questions","AppActionType","SET_LOADING","SHOW_MESSAGE","CLEAR_MESSAGE","setLoading","isLoading","type","payload","loading","showMessage","success","body","createContext","state","appDispatch","color","name","QUESTIONNAIRE_ID","useContext","AppContext","blockNavigation","setBlockNavigation","useState","questions","setQuestions","useEffect","async","data","v1","publicProductsQuestionsGetSpecificPublicQuestionnaire","questionnaireId","validateStatus","httpStatusCodeCheck","e","getQuestions","then","resp","catch","unblock","block","handleSubmit","answer","publicAnswersCreateAnswer","withCredentials","createAnswers","questionnaireName","taskCount","tasks","version","attachments","task14","findAttachments","attachment","File","filename","uploadResponses","dir","files","formData","FormData","forEach","file","append","params","relativePath","URLSearchParams","toString","url","URL","fetch","credentials","method","ok","json","uploadAttachments","uploadResponse","file_name_original","file_url","replacedAnswer","answerId","publicAnswersReplaceAnswer","headers","replaceAnswer","publicAnswersSubmitAnswer","submitAnswer","fallback","schema","onSubmit","icon","alignItems","background","borderRadius","src","cardDisplayData","isSmallScreen","flexDirection","stretch","iconLeft","admissionDater","areasOfLaw","barLicense","proofOfInsurance","rates","taxId","requiredInfoDisplayData","assets","viewportSize","isMediumScreen","path","appInitialState","action","createdAt","Date","toISOString","App","dispatch","useReducer","AppReducer","content","severity","onDismiss","align","htmlContent","footerHtml","value","spinnerSize","blocking","root","document","getElementById","renderMethod","innerHTML","hydrate","render","analyticsConfig","client","AnalyticServiceVendor","gtmService","envConfig","queryClient","QueryClient","ThemisAnalytics","initialize","QueryClientProvider"],"sourceRoot":""}