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ClBC,KAAK,OACLC,MAAO,SAACtC,GAAI,OAAMhI,EAAAA,cAACqH,EAAqB,CAACI,KAAM,CAAEO,KAAAA,IAAiB,GAGrE,C,ozCC7LA,IAAMpH,EAAqBZ,EAAAA,YAA2B,SAAAL,EAA4C4K,GAAc,IAAA1K,EAAAF,EAAvDG,UAAAA,OAAS,IAAAD,EAAG,GAAEA,EAAEgB,EAAWlB,EAAXkB,YAAaS,EAAQ3B,EAAR2B,SACxCyD,EAAAC,EAArBhF,EAAAA,UAAe,GAAM,GAAtCwK,EAAIzF,EAAA,GAAE0F,EAAO1F,EAAA,GACdlD,EAAM7B,EAAAA,OAA6B,MAkBzC,OAhBAA,EAAAA,WAAgB,WACf,GAAI6B,EAAIC,QAAS,CAChB,IAAM4I,EAAuB,IAAIC,sBAAqB,SAAC1I,GAClDA,EAAQ,GAAG2I,gBACdH,GAAQ,EAEV,GAAG,CACFI,WAAY,OACZC,UAAW,MAIZ,OADAJ,EAAqB3H,QAAQlB,EAAIC,SAC1B,kBAAM4I,EAAqBK,YAAY,CAC/C,CACD,GAAG,CAAClJ,EAAIC,UAED9B,EAAAA,cAAA,OAAKF,UAAWA,EAAW+B,IAAKA,GACrC2I,EAAOxK,EAAAA,cAACwE,EAAAA,EAAMvB,EAAA,GAAKpC,EAAW,CAAEgB,IAAK0I,IACpCjJ,GACU,KAEd,IAEA,K","sources":["webpack://BeautyBecomes/./ClientApp/components/Pages/Home/DoctorSlider.tsx","webpack://BeautyBecomes/./common/react/components/UI/ResizeObserverContainer/ResizeObserverContainer.tsx","webpack://BeautyBecomes/./ClientApp/components/UI/BottomAreas/BottomAreas.tsx","webpack://BeautyBecomes/./ClientApp/components/UI/ReviewCounters/ReviewCounters.tsx","webpack://BeautyBecomes/./ClientApp/components/Pages/Home/Honors.tsx","webpack://BeautyBecomes/./ClientApp/components/Pages/Home/HomeReviews.tsx","webpack://BeautyBecomes/./ClientApp/components/Pages/Home/Home.tsx","webpack://BeautyBecomes/./ClientApp/components/UI/SliderWithObserver/SliderWithObserver.tsx"],"sourcesContent":["import React from 'react';\r\n\r\nimport DoctorCard from '@app/components/Pages/Home/DoctorCard';\r\nimport { Doctor } from '@app/objects/Doctor';\r\nimport SliderWithObserver from '@app/components/UI/SliderWithObserver/SliderWithObserver';\r\n\r\ninterface Props {\r\n\tdoctors: Array;\r\n\tclassName?: string;\r\n}\r\n\r\nconst DoctorSlider: React.FC = ({ doctors, className = 'home-page-gifts__item' }) => {\r\n\tconst giftsSlickSettings = React.useMemo(() => {\r\n\t\treturn {\r\n\t\t\tslidesToShow: doctors.length > 3 ? 3 : doctors.length,\r\n\t\t\tautoplaySpeed: 4000,\r\n\t\t\tlazyLoad: true,\r\n\t\t\tautoplay: true,\r\n\t\t\tclassName: 'home-page-gifts',\r\n\t\t\tarrows: true,\r\n\t\t\tdots: false,\r\n\t\t\tresponsive: [\r\n\t\t\t\t{\r\n\t\t\t\t\tbreakpoint: 768,\r\n\t\t\t\t\tsettings: {\r\n\t\t\t\t\t\tslidesToShow: doctors.length > 2 ? 2 : doctors.length,\r\n\t\t\t\t\t\trows: 1,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tbreakpoint: 600,\r\n\t\t\t\t\tsettings: {\r\n\t\t\t\t\t\tslidesToShow: 1,\r\n\t\t\t\t\t},\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t};\r\n\t}, [doctors.length]);\r\n\r\n\treturn \r\n\t\t{\r\n\t\t\tdoctors.map((item) =>\r\n\t\t\t\t
\r\n\t\t\t\t\t\r\n\t\t\t\t
)\r\n\t\t}\r\n\t;\r\n};\r\n\r\nexport default DoctorSlider;\r\n","import React from 'react';\r\n\r\ninterface OnResizeParams {\r\n\twidth: number;\r\n\theight: number;\r\n\telement: Element | undefined | null;\r\n\tref: React.RefObject;\r\n}\r\n\r\ninterface Props extends React.DetailedHTMLProps, HTMLDivElement> {\r\n\tonResize: (params: OnResizeParams) => void;\r\n\tgetContainer?: (element: HTMLElement) => Element | undefined | null;\r\n}\r\n\r\nconst ResizeObserverContainer: React.FC = (props) => {\r\n\tconst {\r\n\t\tonResize,\r\n\t\tchildren,\r\n\t\tgetContainer = (element) => element,\r\n\t\t...other\r\n\t} = props;\r\n\tconst ref = React.useRef(null);\r\n\r\n\tReact.useEffect(() => {\r\n\t\tif (ref.current) {\r\n\t\t\tconst element = getContainer(ref.current);\r\n\t\t\tconst resizeObserver = new ResizeObserver((entries) => {\r\n\t\t\t\ttypeof window !== 'undefined' && window.requestAnimationFrame(() => {\r\n\t\t\t\t\tentries.forEach((entry) => {\r\n\t\t\t\t\t\tif (entry.contentBoxSize) {\r\n\t\t\t\t\t\t\tconst contentBoxSize = Array.isArray(entry.contentBoxSize) ? entry.contentBoxSize[0] : entry.contentBoxSize;\r\n\r\n\t\t\t\t\t\t\tconst width = (contentBoxSize?.inlineSize || entry.contentRect?.width);\r\n\t\t\t\t\t\t\tconst height = entry.contentRect?.height;\r\n\t\t\t\t\t\t\tif (ref.current) {\r\n\t\t\t\t\t\t\t\tconst element = getContainer(ref.current);\r\n\t\t\t\t\t\t\t\tonResize({\r\n\t\t\t\t\t\t\t\t\twidth,\r\n\t\t\t\t\t\t\t\t\theight,\r\n\t\t\t\t\t\t\t\t\telement,\r\n\t\t\t\t\t\t\t\t\tref,\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t});\r\n\r\n\t\t\tif (element) {\r\n\t\t\t\tresizeObserver.observe(element);\r\n\t\t\t}\r\n\r\n\t\t\treturn () => {\r\n\t\t\t\tref.current && element && resizeObserver.unobserve(element);\r\n\t\t\t};\r\n\t\t}\r\n\t}, [onResize]);\r\n\r\n\treturn
\r\n\t\t{children}\r\n\t
;\r\n};\r\n\r\nexport default ResizeObserverContainer;\r\n","import * as React from 'react';\r\nimport { useTranslation } from 'react-i18next';\r\n\r\nimport { Location } from '@app/objects/Location';\r\n\r\ninterface Props {\r\n\tareas: Array;\r\n\tclassName?: string;\r\n}\r\n\r\nexport const BottomAreas: React.FC = ({ areas, className }) => {\r\n\tconst { i18n, t } = useTranslation();\r\n\r\n\treturn
\r\n\t\t
\r\n\t\t\t

{t('site.Service Areas')}

\r\n\t\t\t
    \r\n\t\t\t\t{areas.map((item, index) =>
  • \r\n\t\t\t\t\t{i18n.language === 'es' ? item.nameEs : item.nameEn}\r\n\t\t\t\t
  • )}\r\n\t\t\t
\r\n\t\t
\r\n\t
;\r\n};\r\n","import * as React from 'react';\r\n\r\nimport ImageLazy from '@common/react/components/UI/ImageLazy/ImageLazy';\r\n\r\nimport { ReviewCounters } from '@app/objects/ReviewCounters';\r\n\r\nexport const ReviewCountersComponent: React.FC<{counters: ReviewCounters}> = ({ counters }) => {\r\n\treturn
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\tRating:\r\n\t\t\t\t\t{counters.averageGoogle.toFixed(1)}\r\n\t\t\t\t\r\n\t\t\t\t{' '}\r\n\t\t\t\t|\r\n\t\t\t\t\r\n\t\t\t\t\tReviews:\r\n\t\t\t\t\t{counters.google}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\tRating:\r\n\t\t\t\t\t{counters.averageFacebook.toFixed(1)}\r\n\t\t\t\t\r\n\t\t\t\t{' '}\r\n\t\t\t\t|\r\n\t\t\t\t\r\n\t\t\t\t\tReviews:\r\n\t\t\t\t\t{counters.facebook}\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\tRating: 4.8\r\n\t\t\t\t{' '}\r\n\t\t\t\t|\r\n\t\t\t\tReviews: 122\r\n\t\t\t
\r\n\t\t
\r\n\t
;\r\n};\r\n","import React from 'react';\r\nimport Slider from 'react-slick-adaptive-height-fixed';\r\n\r\nimport ImageLazy from '@common/react/components/UI/ImageLazy/ImageLazy';\r\n\r\nimport LinkWithLang from '@app/components/UI/LinkWithLang/LinkWithLang';\r\nimport { Honor } from '@app/objects/Honor';\r\n\r\nconst giftsSlickSettings = {\r\n\tslidesToShow: 5,\r\n\tclassName: 'home-page-gifts',\r\n\tarrows: true,\r\n\tdots: false,\r\n\tresponsive: [\r\n\t\t{\r\n\t\t\tbreakpoint: 1200,\r\n\t\t\tsettings: {\r\n\t\t\t\tslidesToShow: 4,\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tbreakpoint: 992,\r\n\t\t\tsettings: {\r\n\t\t\t\tslidesToShow: 3,\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tbreakpoint: 768,\r\n\t\t\tsettings: {\r\n\t\t\t\tslidesToShow: 2,\r\n\t\t\t},\r\n\t\t},\r\n\t\t{\r\n\t\t\tbreakpoint: 500,\r\n\t\t\tsettings: {\r\n\t\t\t\tslidesToShow: 1,\r\n\t\t\t},\r\n\t\t},\r\n\t],\r\n};\r\n\r\nconst Honors: React.FC<{ honors: Array }> = ({ honors }) => {\r\n\treturn honors.length > 0 ?
\r\n\t\t\r\n\t\t\t{\r\n\t\t\t\thonors.map((item, index) =>\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{item.link ? \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t : \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t
)\r\n\t\t\t}\r\n\t\t
\r\n\t
: null;\r\n};\r\n\r\nexport default Honors;\r\n","import React from 'react';\r\n\r\nimport { dateFormat } from '@common/typescript/Utils';\r\n\r\nimport Rate from '@app/components/UI/Rate/Rate';\r\nimport SliderWithObserver from '@app/components/UI/SliderWithObserver/SliderWithObserver';\r\nimport { Review } from '@app/objects/Review';\r\n\r\ninterface Props {\r\n\treviews: Array;\r\n}\r\n\r\nconst HomeReviews: React.FC = ({ reviews }) => {\r\n\tconst [currentSlide, setCurrentSlide] = React.useState(0);\r\n\tconst slider = React.createRef();\r\n\tconst goNext = () => {\r\n\t\tif (slider.current) slider.current.slickNext();\r\n\t};\r\n\r\n\tconst goPrev = () => {\r\n\t\tif (slider.current) slider.current.slickPrev();\r\n\t};\r\n\r\n\tconst slickSettings = React.useMemo(() => ({\r\n\t\tcenterMode: true,\r\n\t\tslidesToShow: 1,\r\n\t\tclassName: 'home-page-testimonials-slider mobile-hidden',\r\n\t\tcenterPadding: '300px',\r\n\t\tarrows: false,\r\n\t\tdots: false,\r\n\t\tbeforeChange: (current, next) => setCurrentSlide(next === -1 ? 0 : next),\r\n\t\tresponsive: [\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 1400,\r\n\t\t\t\tsettings: {\r\n\t\t\t\t\tcenterPadding: '230px',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 1200,\r\n\t\t\t\tsettings: {\r\n\t\t\t\t\tcenterPadding: '150px',\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 1100,\r\n\t\t\t\tsettings: {\r\n\t\t\t\t\tcenterMode: false,\r\n\t\t\t\t\tadaptiveHeight: true,\r\n\t\t\t\t},\r\n\t\t\t},\r\n\t\t],\r\n\t}), []);\r\n\r\n\treturn \r\n\t\t{reviews.map((item) => {\r\n\t\t\treturn
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t{reviews.map((item, index) =>\r\n\t\t\t\t\t\t\t\t currentSlide !== index && slider.current?.slickGoTo(index)}\r\n\t\t\t\t\t\t\t\t\tclassName={currentSlide === index ? 'active' : ''}\r\n\t\t\t\t\t\t\t\t\tkey={item.id}\r\n\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t{index >= 9 ? '' : '0'}\r\n\t\t\t\t\t\t\t\t\t{index + 1}\r\n\t\t\t\t\t\t\t\t)}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t{item.textEn}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t-\r\n\t\t\t\t\t\t\t\t{' '}\r\n\t\t\t\t\t\t\t\t{item.author}\r\n\t\t\t\t\t\t\t\t{item.time > 0 && ` - ${dateFormat(item.time, { year: 'numeric', month: 'long', day: 'numeric' })}`}\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
;\r\n\t\t})}\r\n\t
;\r\n};\r\n\r\nexport default HomeReviews;\r\n","import * as React from 'react';\r\nimport { shallowEqual, useSelector } from 'react-redux';\r\nimport { Trans, useTranslation } from 'react-i18next';\r\n\r\nimport 'slick-carousel/slick/slick.css';\r\n\r\nimport { PageItemState } from '@common/react/store/PageItem';\r\nimport { Lang } from '@common/typescript/objects/Lang';\r\nimport ResizeObserverContainer from '@common/react/components/UI/ResizeObserverContainer/ResizeObserverContainer';\r\n\r\nimport { BottomAreas } from '@app/components/UI/BottomAreas/BottomAreas';\r\nimport { ReviewCountersComponent } from '@app/components/UI/ReviewCounters/ReviewCounters';\r\nimport { capitalizeFirstLetter } from '@app/components/Utils';\r\nimport { ApplicationState } from '@app/store';\r\nimport OfficeInfoBlockList from '@app/components/Pages/Home/OfficeInfoBlock';\r\nimport '@app/scss/pages/home.scss';\r\nimport LinkWithLang from '@app/components/UI/LinkWithLang/LinkWithLang';\r\nimport { HomePage } from '@app/objects/Pages/HomePage';\r\nimport ServerPageProvider from '@app/components/UI/SeverPageProviderWithLang/ServerpageProviderWithLang';\r\nimport DoctorSlider from '@app/components/Pages/Home/DoctorSlider';\r\nimport ContactUsForm from '@app/components/Forms/ContactUs/ContactUsForm';\r\nimport '@app/scss/components/slick-theme.scss';\r\nimport Reviews from '@app/components/UI/Reviews/Reviews';\r\nimport Honors from '@app/components/Pages/Home/Honors';\r\nimport HomeReviews from '@app/components/Pages/Home/HomeReviews';\r\nimport { Honor } from '@app/objects/Honor';\r\n\r\ninterface HomeInnerProps {\r\n\thome: PageItemState;\r\n}\r\n\r\ninterface Service {\r\n\ttitle: string;\r\n\timage: string;\r\n\timageWebp: string;\r\n\tlink?: string;\r\n}\r\n\r\ntype Props = HomeInnerProps;\r\n\r\nconst DesktopContent: React.FC<{ honors: Array, body: string | undefined }> = ({ honors, body }) => {\r\n\tconst [isMobile, setIsMobile] = React.useState(true);\r\n\r\n\treturn {\r\n\t\t\tsetIsMobile(window.innerWidth <= 768);\r\n\t\t}}\r\n\t>\r\n\t\t{isMobile ? null : <>\r\n\t\t\t{body ?
\r\n\t\t\t\t
\r\n\t\t\t
: null}\r\n\t\t\t\r\n\t\t}\r\n\t;\r\n};\r\n\r\nconst HomeInner: React.FC = ({\r\n\thome,\r\n}) => {\r\n\tconst { t, i18n } = useTranslation();\r\n\tconst offices = useSelector((state: ApplicationState) => state.offices.items, shallowEqual);\r\n\r\n\tconst {\r\n\t\tcounters = {\r\n\t\t\tbby: 0,\r\n\t\t\tyelp: 0,\r\n\t\t\tgoogle: 0,\r\n\t\t\tfacebook: 0,\r\n\t\t\taverageBby: 0,\r\n\t\t\taverageYelp: 0,\r\n\t\t\taverageGoogle: 0,\r\n\t\t\taverageFacebook: 0,\r\n\t\t},\r\n\t\treviews = [],\r\n\t\tdoctors = [],\r\n\t\tlocations = [],\r\n\t\thonors = [],\r\n\t\tmenuHome = [],\r\n\t} = home.page ? home.page.item : {};\r\n\r\n\tconst langString: 'En' | 'Es' = capitalizeFirstLetter(i18n.language);\r\n\tconst body = home.page?.langs.find((item: any) => item?.lang === langString)?.body;\r\n\r\n\tconst services = React.useMemo(() => {\r\n\t\tconst services: Array> = [\r\n\t\t\t{\r\n\t\t\t\timage: '/amp-assets/images/1.webp',\r\n\t\t\t\timageWebp: '/amp-assets/images/1_m.webp',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\timage: '/amp-assets/images/3.webp',\r\n\t\t\t\timageWebp: '/amp-assets/images/3_m.webp',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\timage: '/amp-assets/images/2.webp',\r\n\t\t\t\timageWebp: '/amp-assets/images/2_m.webp',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\timage: '/amp-assets/images/4.webp',\r\n\t\t\t\timageWebp: '/amp-assets/images/4_m.webp',\r\n\t\t\t},\r\n\t\t];\r\n\r\n\t\tmenuHome.forEach((menu, index) => {\r\n\t\t\tif (index >= services.length) return;\r\n\r\n\t\t\tservices[index].title = (Lang[langString] === Lang.Es) ? menu.shortNameEs : menu.shortNameEn;\r\n\t\t\tservices[index].link = `/${menu.fullPath}`;\r\n\t\t});\r\n\r\n\t\treturn services;\r\n\t}, [menuHome]);\r\n\r\n\treturn
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\"Beauty\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t

\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t{body ?
\r\n\t\t\t\t\t
\r\n\t\t\t\t
: null\r\n\t\t\t\t}\r\n\t\t\t\t
\r\n\t\t\t\t\t{services.map((item, index) =>\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\"\"\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t{item.title}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
)}\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t
\r\n\t\t\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t

{t('site.Our Team')}

\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t\t\t

{t('site.Schedule an Appointment Now')}

\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t\t
\r\n\t\t\t

{t('site.Reviews')}

\r\n\t\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t\r\n\t\t
\r\n\t\t
\r\n\t\t\t

{t('site.Reviews from our clients')}

\r\n\t\t
\r\n\t\t\r\n\t\t
\r\n\t\t\t

{t('site.Contacts')}

\r\n\t\t
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t\t\r\n\t
;\r\n};\r\n\r\nconst HomeInnerWithPageInfo = HomeInner;\r\n\r\nconst Home: React.FC = () => {\r\n\treturn (\r\n\t\t ()}\r\n\t\t/>\r\n\t);\r\n};\r\n\r\nexport default Home;\r\n","import React from 'react';\r\n\r\nimport Slider from 'react-slick-adaptive-height-fixed';\r\n\r\nconst SliderWithObserver = React.forwardRef(({ className = '', sliderProps, children }, sliderRef) => {\r\n\tconst [show, setShow] = React.useState(false);\r\n\tconst ref = React.useRef(null);\r\n\r\n\tReact.useEffect(() => {\r\n\t\tif (ref.current) {\r\n\t\t\tconst intersectionObserver = new IntersectionObserver((entries) => {\r\n\t\t\t\tif (entries[0].isIntersecting) {\r\n\t\t\t\t\tsetShow(true);\r\n\t\t\t\t}\r\n\t\t\t}, {\r\n\t\t\t\trootMargin: '50px',\r\n\t\t\t\tthreshold: 0.01,\r\n\t\t\t});\r\n\r\n\t\t\tintersectionObserver.observe(ref.current);\r\n\t\t\treturn () => intersectionObserver.disconnect();\r\n\t\t}\r\n\t}, [ref.current]);\r\n\r\n\treturn
\r\n\t\t{show ? \r\n\t\t\t{children}\r\n\t\t : null}\r\n\t
;\r\n});\r\n\r\nexport default SliderWithObserver;\r\n"],"names":["_ref","doctors","_ref$className","className","giftsSlickSettings","React","slidesToShow","length","autoplaySpeed","lazyLoad","autoplay","arrows","dots","responsive","breakpoint","settings","rows","SliderWithObserver","sliderProps","_objectSpread","map","item","key","id","DoctorCard","props","onResize","children","_props$getContainer","getContainer","element","other","_objectWithoutProperties","_excluded","ref","current","resizeObserver","ResizeObserver","entries","window","requestAnimationFrame","forEach","entry","contentBoxSize","_entry$contentRect","_entry$contentRect2","Array","isArray","width","inlineSize","contentRect","height","observe","unobserve","_extends","BottomAreas","areas","_useTranslation","useTranslation","i18n","t","concat","index","language","nameEs","nameEn","ReviewCountersComponent","counters","ImageLazy","src","alt","averageGoogle","toFixed","google","averageFacebook","facebook","honors","Slider","link","LinkWithLang","titleEn","to","avatar","reviews","_React$useState2","_slicedToArray","currentSlide","setCurrentSlide","slider","goNext","slickNext","goPrev","slickPrev","slickSettings","centerMode","centerPadding","beforeChange","next","adaptiveHeight","style","onClick","_slider$current","slickGoTo","Rate","value","rate","textEn","author","time","dateFormat","year","month","day","DesktopContent","body","isMobile","setIsMobile","ResizeObserverContainer","innerWidth","dangerouslySetInnerHTML","__html","Honors","HomeInnerWithPageInfo","_ref2","_home$page","_home$page$langs$find","home","offices","useSelector","state","items","shallowEqual","_ref3","page","_ref3$counters","bby","yelp","averageBby","averageYelp","_ref3$reviews","_ref3$doctors","_ref3$locations","locations","_ref3$honors","_ref3$menuHome","menuHome","langString","capitalizeFirstLetter","langs","find","lang","services","image","imageWebp","menu","title","Lang","shortNameEs","shortNameEn","fullPath","Trans","i18nKey","media","srcSet","DoctorSlider","ContactUsForm","Reviews","HomeReviews","OfficeInfoBlockList","ServerPageProvider","path","inner","sliderRef","show","setShow","intersectionObserver","IntersectionObserver","isIntersecting","rootMargin","threshold","disconnect"],"sourceRoot":""}