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UAAWuC,EAAMnB,cACpDC,EAAUI,OAGX,gBAAC,IAAD,CAAKD,MAAM,OAAON,IAAKG,EAAUF,GAAInB,UAAWuC,EAAMnB,cACtDC,EAAUI,MAId,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/Specialties/SpecialtyTag.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';\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"],"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","props"],"sourceRoot":""}