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K7G,UAAU,gBACd,gBAAC,KAAD,CACCqH,cAAc,OACdP,aAAcA,GAEbjE,EAAS5B,KAAI,SAACqG,GAAD,OACb,gBAAC,KAAD,CACCpG,IAAKoG,EAAQnG,IAEb,uBAAKnB,UAAU,2BACd,gBAAC,IAAD,CAAagB,KAAMsG,EAASxH,SAAUA,EAAUyH,UAAQ,KAL7C,MAWjB,C","sources":["webpack://northern-tuna-portal/./ClientApp/components/Pages/Clinics/ClinicCard.tsx","webpack://northern-tuna-portal/./ClientApp/components/Pages/Clinics/Clinics.tsx","webpack://northern-tuna-portal/./ClientApp/components/Pages/Region/Region.tsx","webpack://northern-tuna-portal/./ClientApp/components/Pages/Region/RegionTag.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/DoctorCard/DoctorCardHome.tsx","webpack://northern-tuna-portal/./ClientApp/components/UI/SpecialsCarousel/SpecialsCarousel.tsx"],"sourcesContent":["import React from 'react';\nimport { Link, NavLink } from 'react-router-dom';\n\nimport Tag from 'antd/lib/tag';\n\nimport ImageWithSkeleton from '@commonTuna/react/components/UI/ImageWithSkeleton/ImageWithSkeleton';\nimport { numberWithComma } from '@commonTuna/react/utils/NumberWithComma/NumberWithComma';\n\nimport { getLocationName } from '@app/utils/Utils';\nimport SpecialtyTag from '@app/components/Pages/Specialties/SpecialtyTag';\nimport { getClinicAvatar } from '@app/components/Pages/Clinics/Clinics';\nimport { Location } from '@app/objects/Location';\nimport Stars from '@app/components/UI/Stars/Stars';\n\ninterface ClinicCardProps {\n\tlocation: Location;\n}\n\nconst ClinicCard: React.FC = ({ location }) => {\n\tif (!location.nameEn || location.nameEn === ' ') {\n\t\treturn null;\n\t}\n\n\treturn
\n\t\t{location.path\n\t\t\t? \n\t\t\t\t\n\t\t\t\n\t\t\t:
\n\t\t\t\t\n\t\t\t
\n\t\t}\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{numberWithComma(location.averageReviewRate)}\n\t\t\t\t\t{' '}\n\t\t\t\t\t(\n\t\t\t\t\t{location.totalReviewCount}\n\t\t\t\t\t)\n\t\t\t\t
\n\t\t\t\t{location.portalPathEn\n\t\t\t\t\t? \n\t\t\t\t\t\t

\n\t\t\t\t\t\t\t{getLocationName(location, false, false, true)}\n\t\t\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t:

\n\t\t\t\t\t\t{getLocationName(location, false, false, true)}\n\t\t\t\t\t

\n\t\t\t\t}\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{numberWithComma(location.averageReviewRate)}\n\t\t\t\t\t{' '}\n\t\t\t\t\t(\n\t\t\t\t\t{location.totalReviewCount}\n\t\t\t\t\t)\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t{location.specialties?.length > 0 && location.specialties.filter((item) => item)\n\t\t\t\t\t.map((item) => )}\n\t\t\t\t
\n\t\t\t\t{location.procedures?.length > 0 && location.procedures?.filter((item) => item)\n\t\t\t\t\t.map((item) =>\n\t\t\t\t\t\t(\n\t\t\t\t\t\t\t{item.path\n\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\t\t{item.name}\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\t\t{item.name}\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
\n\t\t\t{location.portalShortDescription\n\t\t\t\t&& \n\t\t\t}\n\t\t
\n\t
;\n};\n\nexport default ClinicCard;\n","import * as React from 'react';\n\nimport { BreadCrumbs } from '@common/react/components/UI/BreadCrumbs/BreadCrumbs';\nimport ServerPageProvider from '@common/react/components/Core/ServerPageProvider/ServerPageProvider';\n\nimport { Location } from '@app/objects/Location';\nimport ClinicCard from '@app/components/Pages/Clinics/ClinicCard';\n\nimport noImage from '@images/no-image.jpg';\n\nimport '@app/scss/pages/clinicsPage.scss';\n\nexport const getClinicAvatar = (location: Location, addRemote: boolean = true): string => {\n\tif (location.portalOriginalAvatar) {\n\t\treturn addRemote ? `/remote/${location.portalOriginalAvatar}` : location.portalOriginalAvatar;\n\t}\n\tif (location.portalAvatar) {\n\t\treturn addRemote ? `/remote/${location.portalAvatar}` : location.portalAvatar;\n\t}\n\treturn noImage;\n};\n\nconst Clinics: React.FC = () => {\n\treturn \n\t\t\t
\n\t\t\t\t\n\t\t\t\t{serverPage.items && serverPage.items.list.map((location: Location) => )}\n\t\t\t
\n\t\t}\n\t/>;\n};\n\nexport default Clinics;\n","import * as React from 'react';\n\nimport Alert from 'antd/lib/alert';\nimport { NavLink, useLocation } from 'react-router-dom';\n\nimport ServerPageProvider from '@common/react/components/Core/ServerPageProvider/ServerPageProvider';\nimport { BreadCrumbs } from '@common/react/components/UI/BreadCrumbs/BreadCrumbs';\nimport ExternalHtml from '@common/react/components/UI/ExternalHtml/ExternalHtml';\nimport { useApplicationContext } from '@common/react/components/Core/Application/Application';\nimport { useMobileView } from '@common/react/hooks/useMobileView';\nimport { ItemsProvider, SortingDirection } from '@common/react/components/Core/ItemsProvider/ItemsProvider';\n\nimport { LogoLoaderPage } from '@commonTuna/react/components/UI/LogoLoader/LogoLoader';\n\nimport { Region } from '@app/objects/Region';\nimport InquiryForm from '@app/components/Forms/InquiryForm';\nimport { User } from '@app/objects/User';\nimport LoginForm from '@app/components/UI/ScheduleAppointmentModal/LoginForm';\nimport DoctorCard from '@app/components/UI/DoctorCard/DoctorCardHome';\nimport { Special } from '@app/objects/Special';\nimport SpecialsCarousel from '@app/components/UI/SpecialsCarousel/SpecialsCarousel';\nimport RegionTag from '@app/components/Pages/Region/RegionTag';\nimport ClinicCard from '@app/components/Pages/Clinics/ClinicCard';\n\nimport '@app/scss/pages/home.scss';\nimport '@app/scss/pages/doctor.scss';\nimport '@app/scss/pages/clinicsPage.scss';\nimport '@app/scss/pages/region.scss';\n\nconst navMenu = [\n\t{\n\t\ttitle: 'About',\n\t\tcheck: (item) => !!item?.description,\n\t\tid: 'about',\n\t},\n\t{\n\t\ttitle: 'Book Online',\n\t\tcheck: (item, isMobile) => isMobile,\n\t\tid: 'bookOnline',\n\t\tclassName: 'show-mobile show-mobile__inline-block',\n\t},\n\t{\n\t\ttitle: 'Clinics',\n\t\tcheck: (item) => item?.locations?.length > 0,\n\t\tid: 'locations',\n\t},\n\t{\n\t\ttitle: 'Providers',\n\t\tcheck: (item) => item?.doctors?.length > 0,\n\t\tid: 'doctors',\n\t},\n\t{\n\t\ttitle: 'Specials',\n\t\tcheck: (item) => item?.specials?.length > 0,\n\t\tid: 'specials',\n\t\tclassName: '',\n\t},\n];\n\nconst RegionInner: React.FC<{region: Region}> = ({ region }) => {\n\tconst { getUser } = useApplicationContext();\n\tconst user = getUser();\n\tconst location = useLocation();\n\n\tconst [isOpen, setIsOpen] = React.useState(false);\n\tconst [loginVisible, setLoginVisible] = React.useState(false);\n\tconst toggle = () => setIsOpen(!isOpen);\n\tconst locationsForInquiry = region.locations as any || [];\n\tconst isMobile = useMobileView(768);\n\tconst specials = region.specials?.map((item) => ({\n\t\t...item,\n\t\tlocation: item.location || region.locations.find((location) => location.id === item.locationId),\n\t}));\n\n\tconst inquiry = (
\n\t\t
\n\t\t\t\n\t\t\t\t\tLeave inquiry and clinic front desk will contact you soon for help.\n\t\t\t\t\t{!user ? <>\n\t\t\t\t\t\t
\n\t\t\t\t\t\tAlready have account? -\n\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t setLoginVisible(true)}>Login\n\t\t\t\t\t\t{' '}\n\t\t\t\t\t\tfor fast fill form.\n\t\t\t\t\t : null}\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\ttype=\"info\"\n\t\t\t/>\n\t\t
\n\t\t\n\t
);\n\n\treturn <>\n\t\t setLoginVisible(false)} afterLogin={() => setLoginVisible(false)} />\n\t\t
\n\t\t\t
\n\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\t\ttitle: region.name,\n\t\t\t\t\t\t\t\t\tpath: `/locations/${region.path}`,\n\t\t\t\t\t\t\t\t})),\n\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\ttitle={region?.name}\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

{region?.name}

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{region.children.map((region) => )}\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
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{region?.description &&
\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAbout\n\t\t\t\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t\t\t\t{region?.name}\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t{region?.description\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\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\t
\n\t\t\t\t\t\t\t\t

Book Online

\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{inquiry}\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{region.locations?.length > 0 ?

Clinics

: null}\n\t\t\t\t\t\t\t{locationsForInquiry?.length ?
\n\t\t\t\t\t\t\t\t{locationsForInquiry.map((item) => )}\n\t\t\t\t\t\t\t
: null}\n\t\t\t\t\t\t\t{region.doctors && region.doctors.length > 0 &&
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

Providers

\n\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\t\t{region.doctors.map((doctor) => )}\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\t\ttype=\"special\"\n\t\t\t\t\t\t\t\tloadRequest=\"specialsList\"\n\t\t\t\t\t\t\t\titems={specials}\n\t\t\t\t\t\t\t\tfilters={{\n\t\t\t\t\t\t\t\t\tregionId: region.id,\n\t\t\t\t\t\t\t\t\tcolumn: [\n\t\t\t\t\t\t\t\t\t\t{ caption: 'name', direction: SortingDirection.Ascending },\n\t\t\t\t\t\t\t\t\t\t{ caption: 'price', direction: SortingDirection.Default }],\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tskipInitLoad={!!specials}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{({ state: { items } }) => <>\n\t\t\t\t\t\t\t\t\t{items.length > 0 ?
\n\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\t\tView All\n\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
: null}\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\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\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{inquiry}\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
\n\t;\n};\n\nconst RegionPage: React.FC = () => {\n\treturn (\n\t\t}\n\t\t\tinner={(page) => (\n\t\t\t\t\n\t\t\t)}\n\t\t/>\n\t);\n};\n\nexport default RegionPage;\n","import * as React from 'react';\nimport { NavLink } from 'react-router-dom';\n\nimport Tag from 'antd/lib/tag';\n\nimport { Region } from '@commonTuna/react/objects/Region';\n\ninterface Props {\n\tlocation: Region;\n\ttagClassName?: string;\n\tstyle?: any;\n}\n\nconst RegionTag: React.FC = (props) => {\n\tconst location = props.location;\n\n\treturn (<>\n\t\t{location.path\n\t\t\t? \n\t\t\t\t\n\t\t\t\t\t{location.name}\n\t\t\t\t\n\t\t\t\n\t\t\t: \n\t\t\t\t{location.name}\n\t\t\t\n\t\t}\n\t);\n};\n\nexport default RegionTag;\n","import React from 'react';\nimport { Link } from 'react-router-dom';\n\nimport Card from 'antd/lib/card';\n\nimport { Doctor } from '@app/objects/Doctor';\nimport DoctorAvatar from '@app/components/UI/DoctorCard/DoctorAvatar';\nimport Stars from '@app/components/UI/Stars/Stars';\n\ninterface Props {\n\tdoctor: Doctor;\n}\n\nconst DoctorCardHome: React.FC = ({ doctor }) => {\n\tconst {\n\t\tnameEn,\n\t\tavatar,\n\t\tportalPathEn,\n\t\taverageReviewRate,\n\t\tportalShortText,\n\t\ttotalReviewCount,\n\t} = doctor;\n\n\tconst title = React.useMemo(() => <>\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

{portalPathEn ? {nameEn} : nameEn}

\n\t\t\t\t
\n\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\n\t\t\t\t\t\t(\n\t\t\t\t\t\t{totalReviewCount || 0}\n\t\t\t\t\t\t)\n\t\t\t\t\t
\n\t\t\t\t\t{portalShortText\n\t\t\t\t\t\t?
{portalShortText}
: null\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t, [nameEn, portalShortText, portalPathEn, averageReviewRate]);\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\t}\n\t\t\t\t\ttitle={title}\n\t\t\t\t/>\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default DoctorCardHome;\n","import React from 'react';\n\nimport 'swiper/css';\n\nimport { Swiper, SwiperSlide } from 'swiper/react';\n\nimport ResizeObserverContainer from '@common/react/components/UI/ResizeObserverContainer/ResizeObserverContainer';\n\nimport SpecialCard from '@app/components/Pages/Specials/SpecialCard';\nimport { Special } from '@app/objects/Special';\nimport { LocationPortal } from '@app/objects/CompanyPortal';\n\nimport '@app/scss/components/special.scss';\nimport '@app/scss/components/specialsCarousel.scss';\n\ninterface Props {\n\tspecials: Array;\n\tlocation?: LocationPortal;\n\tcount?: number;\n\ttitleAsH2?: boolean;\n\twithGradient?: boolean;\n}\n\nconst itemWidth = 300;\n\nconst SpecialsCarousel: React.FC = ({\n\tspecials,\n\tlocation = undefined,\n\tcount = 5,\n\ttitleAsH2,\n\twithGradient,\n}) => {\n\tconst text = 'Popular Specials';\n\tconst [spaceBetween, setSpaceBetween] = React.useState(30);\n\n\treturn {\n\t\t\tif (window.innerWidth > 640) {\n\t\t\t\tconst count = Math.floor((width - 12) / itemWidth);\n\t\t\t\tsetSpaceBetween(count > 1 && count <= specials.length ? (width - count * itemWidth) / (count - 1) : 30);\n\t\t\t} else {\n\t\t\t\tsetSpaceBetween(30);\n\t\t\t}\n\t\t}}\n\t\tclassName=\"specials-carousel\"\n\t>\n\t\t{withGradient ?
\n\t\t\t

{text}

\n\t\t
: titleAsH2 ?

{text}

:

{text}

}\n\t\t
\n\t\t\t\n\t\t\t\t{specials.map((special) =>\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
\n\t\t\t\t\t)}\n\t\t\t\n\t\t
\n\t;\n};\n\nexport default SpecialsCarousel;\n"],"names":["location","nameEn","className","path","Link","to","src","getClinicAvatar","alt","value","averageReviewRate","numberWithComma","totalReviewCount","portalPathEn","getLocationName","specialties","length","filter","item","map","key","id","tagClassName","specialty","procedures","NavLink","color","name","portalShortDescription","dangerouslySetInnerHTML","__html","addRemote","portalOriginalAvatar","portalAvatar","noImage","defaultTitle","inner","serverPage","title","items","list","navMenu","check","description","isMobile","locations","doctors","specials","RegionInner","region","user","getUser","useApplicationContext","useLocation","React","isOpen","setIsOpen","loginVisible","setLoginVisible","locationsForInquiry","useMobileView","find","locationId","inquiry","message","onClick","type","doctorId","undefined","visible","handleClose","afterLogin","links","parents","style","marginBottom","flexDirection","flexWrap","gap","alignItems","margin","display","marginLeft","width","children","href","pathname","html","paddingLeft","paddingRight","doctor","loadRequest","filters","regionId","column","caption","direction","SortingDirection","skipInitLoad","state","search","count","titleAsH2","reloadByPathChange","loader","page","props","avatar","portalShortText","hideWhenLoading","withGradient","text","spaceBetween","setSpaceBetween","onResize","window","innerWidth","Math","floor","slidesPerView","special","lazyLoad"],"sourceRoot":""}