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A,KAKhB,C,+DCLD,IA7BkD,SAAChC,GAAU,MACdA,EAAtCvE,UAAAA,OADoD,MACxC,gBADwC,EACvBqH,EAAS9C,EAAT8C,KAC/BC,GAAWC,EAAAA,EAAAA,eAoBjB,OAAO,uBACNC,QApBmB,SAACC,GACpB,IAAMC,EAA4B,MAArBD,EAAEE,OAAOC,QAAkBH,EAAEE,OAASF,EAAEE,OAAOE,QAAQ,KAEpE,IAAIH,aAAA,EAAAA,EAAMI,OAAyB,YAAjBJ,aAAA,EAAAA,EAAMC,QAAqB,CAC5CF,EAAEM,iBACF,IAAMC,EAAM,IAAIC,IAAIP,EAAKI,MACzB,GAAIE,EAAIE,OAAShK,SAASgK,KACzBZ,EAAS,CACR3F,SAAUqG,EAAIrG,SACdwG,OAAQH,EAAIG,aAEP,CACN,IAAMC,EAAI1E,SAAS2E,cAAc,KACjCD,EAAEN,KAAOJ,EACTU,EAAEE,OACF,CACD,CACD,EAIAtI,UAAWA,EACXuI,wBAAyB,CAAEC,OAAQnB,IAEpC,C,6CCnCW5F,E,kKAAAA,GAAAA,EAAAA,EAAAA,QAAAA,GAAAA,UAAAA,EAAAA,EAAAA,OAAAA,GAAAA,SAAAA,EAAAA,EAAAA,IAAAA,GAAAA,K,EAAAA,IAAAA,EAAAA,CAAAA,IAMY,OACtBA,EAAOgH,QAAU,WADK,IAEtBhH,EAAOiH,OAAS,UAFM,IAGtBjH,EAAOkH,IAAM,OAGQ,OACrBlH,EAAOgH,QAAU,iBADI,IAErBhH,EAAOiH,OAAS,mBAFK,IAGrBjH,EAAOkH,IAAM,W,oBCffC,EAAOC,QAAU,q8Q","sources":["webpack://northern-tuna-portal/./ClientApp/components/Forms/InquiryForm.tsx","webpack://northern-tuna-portal/./ClientApp/components/Pages/Specialties/SpecialtyTag.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/DatePickerLoader.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/DoctorCard/DoctorAvatar.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/ScheduleAppointmentModal/LoginForm.tsx","webpack://northern-tuna-portal/./common/react/components/UI/ExternalHtml/ExternalHtml.tsx","webpack://northern-tuna-portal/./NorthernTunaCommon/react/objects/Device.ts","webpack://northern-tuna-portal/./ClientApp/images/no-image-available.jpg"],"sourcesContent":["import React from 'react';\nimport { createPortal } from 'react-dom';\nimport { Link, useLocation } from 'react-router-dom';\n\nimport Input from 'antd/lib/input';\nimport Select from 'antd/lib/select';\nimport Message from 'antd/lib/message';\n\nimport * as Yup from 'yup';\n\nimport loadable from '@loadable/component';\n\nimport { loadableDelay } from '@common/react/loadable/loadableSettings';\nimport { useApplicationContext } from '@common/react/components/Core/Application/Application';\nimport { FormikPhoneControl } from '@common/react/components/Forms/FormikPhoneControl/FormikPhoneControl';\nimport {\n\temailValidator,\n\tnotNullValidator,\n\tphoneRequiredValidator,\n\tsimpleStringValidator,\n} from '@common/react/utils/validationHelpers';\nimport FormikField from '@common/react/components/Forms/FormikField/FormikField';\nimport { ItemProvider } from '@common/react/components/Core/ItemProvider/ItemProvider';\nimport { ItemEditor } from '@common/react/components/Core/ItemEditor/ItemEditor';\nimport { useMobileView } from '@common/react/hooks/useMobileView';\n\nimport { Gender, GenderNames } from '@commonTuna/react/objects/Enums';\nimport { Device } from '@commonTuna/react/objects/Device';\n\nimport { LocationPortal } from '@app/objects/CompanyPortal';\nimport { getLocationName } from '@app/utils/Utils';\nimport { Doctor } from '@app/objects/Doctor';\nimport DatePickerLoader from '@app/components/UI/DatePickerLoader';\nimport { User } from '@app/objects/User';\n\nimport '@app/scss/components/inquiryForm.scss';\n\nconst DatePickerReact: any = loadable(\n\t() =>\n\t\tloadableDelay(\n\t\t\timport(/* webpackChunkName: \"CustomDatePickerReact\" */ '@common/react/components/UI/DatePickerReact/AdaptiveDatepicker') as any,\n\t\t),\n\t{\n\t\tfallback: ,\n\t},\n);\n\ninterface InquiryFormValues {\n\tid: number;\n\tfirstName: string;\n\tlastName: string;\n\tphone: string;\n\temail: string;\n\ttext: string;\n\tgender: Gender | null;\n\tlocationId: number | null;\n\tdoctorId: number;\n}\n\ninterface InquiryFormProps {\n\tdoctor?: Doctor;\n\tdoctorId?: number;\n\tlocationId?: number;\n\tdoctors?: Array;\n\tlocations: Array;\n\tselectedLocationId?: number;\n}\n\nconst getValidationSchema = (locationRequired: boolean) => Yup.object().shape({\n\tlocationId: locationRequired ? notNullValidator : Yup.mixed().notRequired(),\n\tfirstName: simpleStringValidator,\n\tlastName: simpleStringValidator,\n\tphone: phoneRequiredValidator,\n\temail: emailValidator,\n\tdoctorId: notNullValidator,\n});\n\nconst year = new Date().getFullYear();\n\nconst years = Array.from({ length: 83 }).map((_, i) => year - 100 + i);\n\nconst doctorsByLocationId = (doctors: Array | undefined, locationId?: null | number) => {\n\treturn doctors?.filter((doctor) => !locationId || locationId < 0 || doctor.locations?.some((location) => location.locationId === locationId));\n};\n\nconst InquiryForm: React.FC = ({\n\tdoctor,\n\tdoctors,\n\tlocationId,\n\tdoctorId,\n\tlocations,\n\tselectedLocationId,\n}) => {\n\tconst { getUser } = useApplicationContext();\n\tconst user = getUser();\n\tconst solveDoctors = (!doctor || !locationId) && locations.length > 1;\n\tconst initDoctorId = React.useMemo(() => {\n\t\tconst initDoctors = doctorsByLocationId(doctors, locationId);\n\t\treturn solveDoctors && !(doctorId && initDoctors?.some((item) => item.id === doctorId)) ? initDoctors?.[0].id : doctorId;\n\t}, []);\n\n\tconst [success, setSuccess] = React.useState(false);\n\tconst timer = React.useRef(null);\n\tconst [data, setData] = React.useState();\n\n\tconst { minDate, maxDate } = React.useMemo(() => {\n\t\tconst currentDate = new Date();\n\t\treturn {\n\t\t\tminDate: new Date(currentDate.getFullYear() - 100, currentDate.getMonth(), currentDate.getDate(), 0, 0, 0, 0),\n\t\t\tmaxDate: new Date(currentDate.getFullYear() - 18, currentDate.getMonth(), currentDate.getDate(), 0, 0, 0, 0),\n\t\t};\n\t}, []);\n\n\tconst isMobile = useMobileView();\n\tconst location = useLocation();\n\n\tconst showDateOfBirth = locations?.[0]?.company?.showDateOfBirth;\n\tReact.useEffect(() => {\n\t\treturn () => {\n\t\t\tif (timer.current) {\n\t\t\t\tclearTimeout(timer.current);\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst locationRequired = !!locations?.length;\n\n\tconst validationSchema = getValidationSchema(locationRequired);\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\tkey={user?.id}\n\t\t\t\tid={-1}\n\t\t\t\ttype=\"sendInquiry\"\n\t\t\t\tonSaveRequestError={() => Message.error('Something went wrong!')}\n\t\t\t\tclearForSubmit={(values) => ({\n\t\t\t\t\t...values,\n\t\t\t\t\tname: `${values.firstName} ${values.lastName}`,\n\t\t\t\t})}\n\t\t\t\tvalidationSchema={validationSchema}\n\t\t\t>\n\t\t\t\t\n\t\t\t\t\twithButtons\n\t\t\t\t\tbeforeSubmit={(values, actions, submit) => {\n\t\t\t\t\t\tsetData(values as any);\n\t\t\t\t\t\tsubmit()\n\t\t\t\t\t\t\t.then(() => {\n\t\t\t\t\t\t\t\tactions.resetForm();\n\t\t\t\t\t\t\t\tsetSuccess(true);\n\t\t\t\t\t\t\t\ttimer.current = setTimeout(() => {\n\t\t\t\t\t\t\t\t\tsetSuccess(false);\n\t\t\t\t\t\t\t\t\ttimer.current = null;\n\t\t\t\t\t\t\t\t}, user ? 5000 : 30000);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t}}\n\t\t\t\t\tsuccessMessage=\"\"\n\t\t\t\t\tformikProps={{\n\t\t\t\t\t\tenableReinitialize: true,\n\t\t\t\t\t}}\n\t\t\t\t\tsaveText=\"Submit\"\n\t\t\t\t\tgetInitialValues={() => ({\n\t\t\t\t\t\tfirstName: user?.firstName || '',\n\t\t\t\t\t\tlastName: user?.lastName || '',\n\t\t\t\t\t\tphone: user?.phoneNumber || '',\n\t\t\t\t\t\temail: user?.email || '',\n\t\t\t\t\t\ttext: '',\n\t\t\t\t\t\tgender: user?.gender ?? Gender.Female,\n\t\t\t\t\t\tlocationId: locationId || selectedLocationId || (locations?.length ? locations[0].id : null),\n\t\t\t\t\t\tdoctorId: initDoctorId,\n\t\t\t\t\t\tdevice: isMobile ? Device.Mobile : Device.Desktop,\n\t\t\t\t\t\tpath: location.pathname,\n\t\t\t\t\t\tbirthDate: user?.birthDate,\n\t\t\t\t\t})}\n\t\t\t\t\tedit={(formikBag) => <>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t <>\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tform.setFieldValue(field.name, +value);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tvalue={GenderNames[field.value]}\n\t\t\t\t\t\t\t\t\t>\n\n\t\t\t\t\t\t\t\t\t\t{Object.keys(GenderNames).filter((key) => +key !== Gender.None).map((key) =>\n\t\t\t\t\t\t\t\t\t\t\t{GenderNames[key]})}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t{showDateOfBirth\n\t\t\t\t\t\t\t\t&& (\n\t\t\t\t\t\t\t\t\t\t form.setFieldValue(field.name, date)}\n\t\t\t\t\t\t\t\t\t\t\tdatePickerProps={{\n\t\t\t\t\t\t\t\t\t\t\t\tshowMonthDropdown: true,\n\t\t\t\t\t\t\t\t\t\t\t\tshowYearDropdown: true,\n\t\t\t\t\t\t\t\t\t\t\t\tdropdownMode: 'select',\n\t\t\t\t\t\t\t\t\t\t\t\tmaxDate,\n\t\t\t\t\t\t\t\t\t\t\t\tminDate,\n\t\t\t\t\t\t\t\t\t\t\t\tpopperClassName: 'custom-date-picker-container',\n\t\t\t\t\t\t\t\t\t\t\t\tpopperContainer: typeof window !== 'undefined'\n\t\t\t\t\t\t\t\t\t\t\t\t\t? ({ children }) => createPortal(children, document.body) : undefined,\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\tutc\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t/>}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t{doctor ?
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{doctor?.nameEn}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
: null}\n\t\t\t\t\t\t{locations ?
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tLocation\n\t\t\t\t\t\t\t\t\t{locationRequired ? '*' : ''}\n\t\t\t\t\t\t\t\t as any}\n\t\t\t\t\t\t\t\tfieldName=\"locationId\"\n\t\t\t\t\t\t\t\tcontainerClassName=\"form-group col-sm-12\"\n\t\t\t\t\t\t\t\trender={({ field, form }) =>\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tform.setFieldValue(field.name, value);\n\t\t\t\t\t\t\t\t\t\t\tconst solvedDoctors = solveDoctors ? doctorsByLocationId(doctors, value) : doctors;\n\t\t\t\t\t\t\t\t\t\t\tif (!(solvedDoctors?.some((item) => item.id === formikBag.values.doctorId))) {\n\t\t\t\t\t\t\t\t\t\t\t\tform.setFieldValue('doctorId', solvedDoctors?.[0]?.id ?? null);\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tvalue={field.value}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{locations?.map((location) => \n\t\t\t\t\t\t\t\t\t\t\t{getLocationName(location)}\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
: null}\n\t\t\t\t\t\t{doctors ?
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t form.setFieldValue(field.name, value)}\n\t\t\t\t\t\t\t\t\t\tvalue={field.value}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{(solveDoctors ? doctorsByLocationId(doctors, formikBag.values.locationId) : doctors)\n\t\t\t\t\t\t\t\t\t\t\t?.map((doctor) => \n\t\t\t\t\t\t\t\t\t\t\t\t{doctor.nameEn}\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
: null}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t/>\n\t\t\t\n\t\t\t{success ?
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\t\tsuccess\n\t\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{/* Your request has been sent successfully. */}\n\t\t\t\t\t{user ? <>\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tThank you! Clinic front desk will contact you as soon as possible.\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tFind More Providers\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t: <>\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tComplete quick registration to get even more features.\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tRegistration\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{/*\n\t\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\tWhy I need Registration?\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t*/}\n\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
: null}\n\t\t
\n\t);\n};\n\nexport default InquiryForm;\n","import * as React from 'react';\nimport { NavLink } from 'react-router-dom';\n\nimport Tag from 'antd/lib/tag';\n\nimport { Specialty } from '@commonTuna/react/objects/Specialty';\n\ninterface Props {\n\tspecialty: Specialty;\n\ttagClassName?: string;\n}\n\nconst SpecialtyTag: React.FC = (props) => {\n\tconst specialty = props.specialty;\n\n\treturn (<>\n\t\t{specialty.path\n\t\t\t? \n\t\t\t\t\n\t\t\t\t\t{specialty.name}\n\t\t\t\t\n\t\t\t\n\t\t\t: \n\t\t\t\t{specialty.name}\n\t\t\t\n\t\t}\n\t);\n};\n\nexport default SpecialtyTag;\n","import React from 'react';\n\nconst DatePickerLoader = React.forwardRef((props, ref) => {\n\treturn
\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t\t\n\t
;\n});\n\nexport default DatePickerLoader;\n","import * as React from 'react';\nimport ContentLoader from 'react-content-loader';\nimport { NavLink } from 'react-router-dom';\n\nimport ImageWithSkeleton from '@commonTuna/react/components/UI/ImageWithSkeleton/ImageWithSkeleton';\n\nimport dummyAvatar from '@images/no-image-available.jpg';\n\ninterface Props {\n\tsrc: string;\n\talt: string;\n\tpath?: string;\n\twithLink?: boolean;\n\thideWhenLoading?: boolean;\n}\n\nconst DoctorAvatar: React.FC = ({\n\tpath, src, alt, withLink = true, hideWhenLoading = true,\n}) => {\n\tconst [loading, setLoading] = React.useState(true);\n\tconst [hide, setHide] = React.useState(hideWhenLoading);\n\n\tReact.useEffect(() => {\n\t\tif (hideWhenLoading) {\n\t\t\tsetHide(false);\n\t\t}\n\t}, []);\n\n\tconst inner = (<>\n\t\t setLoading(false)}\n\t\t\tonError={() => setLoading(false)}\n\t\t\talt={alt}\n\t\t/>\n\t\t{loading ? \n\t\t\t\n\t\t : null}\n\t);\n\n\treturn withLink ? \n\t\t{inner}\n\t : inner;\n};\n\nexport default DoctorAvatar;\n","import * as React from 'react';\nimport { Link } from 'react-router-dom';\n\nimport Modal from 'antd/lib/modal';\n\nimport LoginPage from '@common/react/components/Pages/Login/Login';\n\nimport '@app/scss/pages/login.scss';\n\ninterface Props {\n\tvisible: boolean;\n\thandleClose: () => void;\n\tafterLogin: () => void;\n}\n\nconst LoginForm: React.FC = ({ visible, handleClose, afterLogin }) => {\n\treturn (\n\t\t document.querySelector('.app-container') || document.body}\n\t\t>\n\t\t\t
\n\t\t\t\t <>}\n\t\t\t\t\twithFieldTitle\n\t\t\t\t\tbuttons={Register}\n\t\t\t\t\tafterLogin={afterLogin}\n\t\t\t\t/>\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default LoginForm;\n","import React from 'react';\nimport { useNavigate } from 'react-router-dom';\n\ninterface ExternalHtmlProps {\n\thtml: string;\n\tclassName?: string;\n}\n\nconst ExternalHtml: React.FC = (props) => {\n\tconst { className = 'external-html', html } = props;\n\tconst navigate = useNavigate();\n\tconst handleClick = (e) => {\n\t\tconst link = e.target.tagName === 'A' ? e.target : e.target.closest('a');\n\n\t\tif (link?.href && link?.target !== '_blank') {\n\t\t\te.preventDefault();\n\t\t\tconst url = new URL(link.href);\n\t\t\tif (url.host === location.host) {\n\t\t\t\tnavigate({\n\t\t\t\t\tpathname: url.pathname,\n\t\t\t\t\tsearch: url.search,\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tconst a = document.createElement('a');\n\t\t\t\ta.href = link;\n\t\t\t\ta.click();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn ;\n};\n\nexport default ExternalHtml;\n","export enum Device {\n\tDesktop = 0,\n\tMobile = 1,\n\tAmp = 2\n}\n\nexport const DeviceTitle = {\n\t[Device.Desktop]: 'Desktop',\n\t[Device.Mobile]: 'Mobile',\n\t[Device.Amp]: 'AMP',\n};\n\nexport const DeviceIcon = {\n\t[Device.Desktop]: 'fa-television',\n\t[Device.Mobile]: 'fa-mobile fa-lg',\n\t[Device.Amp]: 'fa-flash',\n};\n","module.exports = \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QC2RXhpZgAASUkqAAgAAAACADEBAgAHAAAAJgAAAGmHBAABAAAALgAAAAAAAABQaWNhc2EAAAQAAJAHAAQAAAAwMjIwCZAHACwAAABkAAAAAaADAAEAAAABAAAABaAEAAEAAACQAAAAAAAAAAoqCAEQARgAIAAoADAAOABAAEgBUABYAGABaAFwAHgBgAEBiAEBkAEBqAEBAgABAAIABAAAAFI5OAACAAcABAAAADAxMDAAAAAA/9sAhAAICAgICQgJCgoJDQ4MDg0TERAQERMcFBYUFhQcKxsfGxsfGysmLiUjJS4mRDUvLzVETkI+Qk5fVVVfd3F3nJzRAQgICAgJCAkKCgkNDgwODRMREBARExwUFhQWFBwrGx8bGx8bKyYuJSMlLiZENS8vNUROQj5CTl9VVV93cXecnNH/wgARCAEsASwDASIAAhEBAxEB/8QAHAABAAEFAQEAAAAAAAAAAAAAAAECAwQFBgcI/9oACAEBAAAAAPfgIpiVYAAAACzj0E3MqoAAAAMfXUwmZubKsAAAAaLHiImVeZtwAAADD52mkJqq6e8AAAA03P0IFUz02zAAAAaTlaYCpV1u3AAAAYHnkBKqfQs0AAAA860ymYmZ2vpAAAAA1/lmNEJm56huAAAAA1XmGoTcuei9aAAAABRxnF3snP3l3Y7Rh4lGxru3wAAFvS6KlVVVLIuaVp+2mLuagpRVk5oCjmcKNmmZUxZ0eso6O9hZW3rqmpMzrulAark7G76KSEU2sXC1egjbdRn3ZmUGq34DmOWw+u6ORr9Vq8rW0Yk3czssHHw7Nf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giuQDmxonkORoI5VqB4HkyFZUSwA450PJjvpldiAcqyoU77kQk0zHU+81pGQFEcmfNSPxUVlvQkGrqPm1CpRxjbOrhtyxmp9QZqI4+TCgeIqM8UHsqIfqCl5lFDo5BXVXVXVQodFDoodH/UH//EABQRAQAAAAAAAAAAAAAAAAAAAID/2gAIAQIBAT8ANP8A/8QAFBEBAAAAAAAAAAAAAAAAAAAAgP/aAAgBAwEBPwA0/wD/2Q==\""],"names":["DatePickerReact","loadable","loadableDelay","fallback","placeholder","getValidationSchema","locationRequired","Yup","shape","locationId","notNullValidator","notRequired","firstName","simpleStringValidator","lastName","phone","phoneRequiredValidator","email","emailValidator","doctorId","year","Date","getFullYear","years","Array","from","length","map","_","i","doctorsByLocationId","doctors","filter","doctor","locations","some","location","InquiryForm","selectedLocationId","user","getUser","useApplicationContext","solveDoctors","initDoctorId","React","initDoctors","item","id","success","setSuccess","timer","data","setData","currentDate","minDate","getMonth","getDate","maxDate","isMobile","useMobileView","useLocation","showDateOfBirth","company","current","clearTimeout","validationSchema","className","key","type","onSaveRequestError","Message","clearForSubmit","values","name","withButtons","beforeSubmit","actions","submit","then","resetForm","setTimeout","successMessage","formikProps","enableReinitialize","saveText","getInitialValues","phoneNumber","text","gender","Gender","device","Device","path","pathname","birthDate","edit","formikBag","title","fieldName","inputProps","maxLength","containerClassName","render","fieldProps","field","form","defaultValue","onChange","value","setFieldValue","GenderNames","Object","keys","yearsSelectOptions","date","datePickerProps","showMonthDropdown","showYearDropdown","dropdownMode","popperClassName","popperContainer","window","children","createPortal","document","body","undefined","utc","nameEn","solvedDoctors","getLocationName","style","height","resize","Link","to","state","props","specialty","NavLink","color","tagClassName","DatePickerLoader","ref","pointerEvents","src","alt","withLink","hideWhenLoading","loading","setLoading","hide","setHide","inner","skeleton","dummyAvatar","onLoad","onError","width","viewBox","backgroundColor","foregroundColor","uniqueKey","x","y","rx","ry","visible","handleClose","afterLogin","centered","open","onCancel","footer","destroyOnClose","maskClosable","getContainer","querySelector","request","withoutServerPage","afterBaseRedirectUser","withFieldTitle","buttons","html","navigate","useNavigate","onClick","e","link","target","tagName","closest","href","preventDefault","url","URL","host","search","a","createElement","click","dangerouslySetInnerHTML","__html","Desktop","Mobile","Amp","module","exports"],"sourceRoot":""}