@hhgtech/hhg-components 1.21.0-beta-9 → 1.21.0-beta-11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (531) hide show
  1. package/build/Locale-11b51016.js +1 -0
  2. package/build/Stethoscope-d829ee20.js +1 -0
  3. package/build/animation-b53aef6e.js +1 -0
  4. package/build/assets/svg/index.d.ts +1 -7
  5. package/build/babyGrowth.js +1 -1
  6. package/build/care.js +1 -1
  7. package/build/components/atoms/alert.js +1 -0
  8. package/build/components/atoms/avatar.js +1 -0
  9. package/build/components/atoms/babyGrowthChart/chartConfig.d.ts +5 -2
  10. package/build/components/atoms/babyGrowthChart.js +1 -0
  11. package/build/components/atoms/babyGrowthGender.js +1 -0
  12. package/build/components/atoms/babyGrowthLegend.js +1 -0
  13. package/build/components/atoms/babyGrowthProfileRadio.js +1 -0
  14. package/build/components/atoms/babyGrowthRecord/index.d.ts +4 -0
  15. package/build/components/atoms/babyGrowthRecord.js +1 -0
  16. package/build/components/atoms/babyGrowthSwitch.js +1 -0
  17. package/build/components/atoms/babyGrowthTooltip.js +1 -0
  18. package/build/components/atoms/backdrop.js +1 -0
  19. package/build/components/atoms/badge.js +1 -0
  20. package/build/components/atoms/borderHeading.js +1 -0
  21. package/build/components/atoms/button/index.d.ts +1 -1
  22. package/build/components/atoms/button.js +1 -0
  23. package/build/components/atoms/checkbox.js +1 -0
  24. package/build/components/atoms/container.js +1 -0
  25. package/build/components/atoms/displayWrapper.js +1 -0
  26. package/build/components/atoms/divider.js +1 -0
  27. package/build/components/atoms/drawer/index.styled.d.ts +3 -1
  28. package/build/components/atoms/drawer.js +1 -0
  29. package/build/components/atoms/fileDropdown.js +1 -0
  30. package/build/components/atoms/flag.js +1 -0
  31. package/build/components/atoms/grid.js +1 -0
  32. package/build/components/atoms/heading.js +1 -0
  33. package/build/components/atoms/icons/FullScreen.d.ts +4 -0
  34. package/build/components/atoms/icons/index.d.ts +2 -0
  35. package/build/components/atoms/icons.js +1 -0
  36. package/build/components/atoms/index.d.ts +2 -0
  37. package/build/components/atoms/input.js +1 -0
  38. package/build/components/atoms/label.js +1 -0
  39. package/build/components/atoms/logo.js +1 -0
  40. package/build/components/atoms/marryBabyText.js +1 -0
  41. package/build/components/atoms/menu.js +1 -0
  42. package/build/components/atoms/newBabyProfileRadio/index.d.ts +9 -0
  43. package/build/components/atoms/newBabyProfileRadio/index.styled.d.ts +1 -0
  44. package/build/components/atoms/newBabyProfileRadio.js +1 -0
  45. package/build/components/atoms/pagination.js +1 -0
  46. package/build/components/atoms/progress.js +1 -0
  47. package/build/components/atoms/pureInput.js +1 -0
  48. package/build/components/atoms/radio.js +1 -0
  49. package/build/components/atoms/radioImageGroup.js +1 -0
  50. package/build/components/atoms/rateStars.js +1 -0
  51. package/build/components/atoms/shadow.js +1 -0
  52. package/build/components/atoms/slider.js +1 -0
  53. package/build/components/atoms/tag.js +1 -0
  54. package/build/components/atoms/text.js +1 -0
  55. package/build/components/atoms/textArea.js +1 -0
  56. package/build/components/atoms/textDivider.js +1 -0
  57. package/build/components/atoms/toggle.js +1 -0
  58. package/build/components/atoms/underlinedLink.js +1 -0
  59. package/build/components/atoms/uploader.js +1 -0
  60. package/build/components/atoms.js +1 -0
  61. package/build/components/mantine/index.d.ts +2 -0
  62. package/build/components/mantine/select/index.d.ts +4 -0
  63. package/build/components/mantine/select/index.styled.d.ts +2 -0
  64. package/build/components/mantine/select.js +1 -0
  65. package/build/components/molecules/ampNextPage.js +1 -0
  66. package/build/components/molecules/articleCard.js +1 -0
  67. package/build/components/molecules/babyGrowthChooseProfileDrawer/index.d.ts +9 -5
  68. package/build/components/molecules/babyGrowthChooseProfileDrawer/index.styled.d.ts +1 -1
  69. package/build/components/molecules/babyGrowthChooseProfileDrawer.js +1 -0
  70. package/build/components/molecules/breadcrumbs.js +1 -0
  71. package/build/components/molecules/carousel.js +1 -0
  72. package/build/components/molecules/categoryCard.js +1 -0
  73. package/build/components/molecules/checkboxGroup.js +1 -0
  74. package/build/components/molecules/childCard/index.d.ts +5 -0
  75. package/build/components/molecules/childCard.js +1 -0
  76. package/build/components/molecules/cookieAcceptConfirm.js +1 -0
  77. package/build/components/molecules/datePicker.js +1 -0
  78. package/build/components/molecules/dateRangePicker.js +1 -0
  79. package/build/components/molecules/doctorInfo.js +1 -0
  80. package/build/components/molecules/dropdown.js +1 -0
  81. package/build/components/molecules/dropdownSearch/index.styled.d.ts +1 -1
  82. package/build/components/molecules/dropdownSearch.js +1 -0
  83. package/build/components/molecules/floatButtonGroup.js +1 -0
  84. package/build/components/molecules/iconText.js +1 -0
  85. package/build/components/molecules/languageSwitcher.js +1 -0
  86. package/build/components/molecules/mobileBottomNavigation.js +1 -0
  87. package/build/components/molecules/modal/index.d.ts +3 -2
  88. package/build/components/molecules/modal.js +1 -0
  89. package/build/components/molecules/popup.js +1 -0
  90. package/build/components/molecules/progressBar.js +1 -0
  91. package/build/components/molecules/radioGroup.js +1 -0
  92. package/build/components/molecules/scrollList.js +1 -0
  93. package/build/components/molecules/seoHead.js +1 -0
  94. package/build/components/molecules/shareContainer/index.d.ts +2 -0
  95. package/build/components/molecules/shareContainer.js +1 -0
  96. package/build/components/molecules/shareDrawer.js +1 -0
  97. package/build/components/molecules/sidemenu.js +1 -0
  98. package/build/components/molecules/starsRatingBox.js +1 -0
  99. package/build/components/molecules/statisticCard.js +1 -0
  100. package/build/components/molecules/surveyQuestionCard.js +1 -0
  101. package/build/components/molecules/table.js +1 -0
  102. package/build/components/molecules/tabs.js +1 -0
  103. package/build/components/molecules.js +1 -0
  104. package/build/components/organisms/footer.js +1 -0
  105. package/build/components/organisms/index.d.ts +0 -6
  106. package/build/components/organisms/navigationBookingButton.js +1 -0
  107. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/CustomFooter.d.ts +1 -1
  108. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/ampSideBar/index.d.ts +0 -0
  109. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/ampSideBar/index.styled.d.ts +0 -0
  110. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/constants.d.ts +0 -0
  111. package/build/components/organisms/navigationLayout_deprecated/exportLegacy.d.ts +6 -0
  112. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/footer/index.d.ts +0 -0
  113. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/footer/index.styled.d.ts +0 -0
  114. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/index.d.ts +0 -0
  115. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/index.styled.d.ts +0 -0
  116. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/languageWrapper.d.ts +0 -0
  117. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/languages/default.d.ts +0 -0
  118. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/layout.d.ts +0 -0
  119. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/marryBabyText/index.d.ts +0 -0
  120. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/marryBabyText/index.styled.d.ts +0 -0
  121. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/maryBabyFooter/index.d.ts +0 -0
  122. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/maryBabyFooter/index.styled.d.ts +0 -0
  123. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCareList/categorySkeleton.d.ts +0 -0
  124. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCareList/index.d.ts +0 -0
  125. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCareList/index.styled.d.ts +0 -0
  126. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/categorySkeleton.d.ts +0 -0
  127. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/helloSites.d.ts +0 -0
  128. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/index.d.ts +0 -0
  129. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/index.styled.d.ts +0 -0
  130. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/marryBaby.d.ts +0 -0
  131. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/marryBaby.styled.d.ts +0 -0
  132. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/spotlightsList/index.d.ts +0 -0
  133. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/spotlightsList/index.styled.d.ts +0 -0
  134. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCategoriesList/spotlightsList/spotlightSkeleton.d.ts +0 -0
  135. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/categorySkeleton.d.ts +0 -0
  136. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/helloSites.d.ts +0 -0
  137. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/index.d.ts +0 -0
  138. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/index.styled.d.ts +0 -0
  139. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/marryBaby.d.ts +0 -0
  140. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuCommunitiesList/marryBaby.styled.d.ts +0 -0
  141. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/categorySkeleton.d.ts +0 -0
  142. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/helloSites.d.ts +0 -0
  143. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/index.d.ts +0 -0
  144. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/index.styled.d.ts +0 -0
  145. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/marryBaby.d.ts +0 -0
  146. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuHealthToolsList/marrybaby.styled.d.ts +0 -0
  147. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuSectionCard/cardSkeleton.d.ts +0 -0
  148. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuSectionCard/index.d.ts +0 -0
  149. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuSectionCard/index.styled.d.ts +0 -0
  150. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/categoriesSubList.d.ts +0 -0
  151. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/communitySubList.d.ts +0 -0
  152. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/index.d.ts +0 -0
  153. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/index.styled.d.ts +0 -0
  154. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/menuServiceList/marryBabyMobileMenuSection.d.ts +0 -0
  155. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/ArrowLeftPopupIcon.d.ts +0 -0
  156. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/ClosePopupIcon.d.ts +0 -0
  157. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/HamburgerIcon.d.ts +0 -0
  158. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/NavigationBar.types.d.ts +1 -1
  159. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/NavigationBarMobile.d.ts +0 -0
  160. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/SearchIcon.d.ts +0 -0
  161. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/index.d.ts +0 -0
  162. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationBar/index.styled.d.ts +0 -0
  163. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationLogoutPopup/index.d.ts +0 -0
  164. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/navigationLogoutPopup/index.styled.d.ts +0 -0
  165. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/profilePopup/index.d.ts +0 -0
  166. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/profilePopupWrapper/index.d.ts +0 -0
  167. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/profilePopupWrapper/index.styled.d.ts +0 -0
  168. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/siteWide/index.d.ts +0 -0
  169. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/siteWide/index.styled.d.ts +0 -0
  170. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/sponsoredBy/index.d.ts +0 -0
  171. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/sponsoredBy/index.styled.d.ts +0 -0
  172. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/tooltipSelection/index.d.ts +0 -0
  173. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/tooltipSelection/index.styled.d.ts +0 -0
  174. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/types.d.ts +0 -0
  175. package/build/components/organisms/{navigationLayout → navigationLayout_deprecated}/utils.d.ts +0 -0
  176. package/build/components/organisms/navigationLayout_deprecated.js +1 -0
  177. package/build/components/organisms/navigationLogoutPopup.js +1 -0
  178. package/build/components/organisms/navigationProfileButton/index.d.ts +3 -2
  179. package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +3 -2
  180. package/build/components/organisms/navigationProfileButton.js +1 -0
  181. package/build/components/organisms/navigationV2/components/molecules/Categories/index.styled.d.ts +1 -1
  182. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.styled.d.ts +1 -0
  183. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.styled.d.ts +1 -0
  184. package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.styled.d.ts +1 -0
  185. package/build/components/organisms/navigationV2/index.d.ts +0 -5
  186. package/build/components/organisms/navigationV2.js +1 -0
  187. package/build/components/organisms/userProfileNavigation/index.d.ts +3 -3
  188. package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +1 -1
  189. package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +1 -1
  190. package/build/components/organisms/userProfileNavigation/types.d.ts +1 -1
  191. package/build/components/organisms/userProfileNavigation.js +1 -0
  192. package/build/components/organisms.js +1 -0
  193. package/build/components.js +1 -1
  194. package/build/{theme-fe7c279c.js → constants-5675963f.js} +1 -1
  195. package/build/constants-ca5ea110.js +1 -0
  196. package/build/constants.js +1 -0
  197. package/build/core.js +1 -1
  198. package/build/{core.d.ts → core_deprecated.d.ts} +0 -0
  199. package/build/ecom.js +1 -1
  200. package/build/{ecom → ecom_temp_excluded}/dataFormatter/index.d.ts +0 -0
  201. package/build/{ecom → ecom_temp_excluded}/dataFormatter/lib/apiTypes.d.ts +0 -0
  202. package/build/{ecom → ecom_temp_excluded}/dataFormatter/lib/dataTypes.d.ts +0 -0
  203. package/build/{ecom → ecom_temp_excluded}/dataFormatter/lib/utils.d.ts +0 -0
  204. package/build/{ecom → ecom_temp_excluded}/index.d.ts +0 -0
  205. package/build/{ecom → ecom_temp_excluded}/interfaces/constants.d.ts +0 -0
  206. package/build/{ecom → ecom_temp_excluded}/interfaces/types.d.ts +0 -0
  207. package/build/en-PH-365f6e52.js +1 -0
  208. package/build/esm/Locale-69030fff.js +1 -0
  209. package/build/esm/Stethoscope-43935dbb.js +1 -0
  210. package/build/esm/animation-e703e19e.js +1 -0
  211. package/build/esm/babyGrowth.js +1 -1
  212. package/build/esm/cache.js +1 -1
  213. package/build/esm/care.js +1 -1
  214. package/build/esm/components/atoms/alert.js +1 -0
  215. package/build/esm/components/atoms/avatar.js +1 -0
  216. package/build/esm/components/atoms/babyGrowthChart.js +1 -0
  217. package/build/esm/components/atoms/babyGrowthGender.js +1 -0
  218. package/build/esm/components/atoms/babyGrowthLegend.js +1 -0
  219. package/build/esm/components/atoms/babyGrowthProfileRadio.js +1 -0
  220. package/build/esm/components/atoms/babyGrowthRecord.js +1 -0
  221. package/build/esm/components/atoms/babyGrowthSwitch.js +1 -0
  222. package/build/esm/components/atoms/babyGrowthTooltip.js +1 -0
  223. package/build/esm/components/atoms/backdrop.js +1 -0
  224. package/build/esm/components/atoms/badge.js +1 -0
  225. package/build/esm/components/atoms/borderHeading.js +1 -0
  226. package/build/esm/components/atoms/button.js +1 -0
  227. package/build/esm/components/atoms/checkbox.js +1 -0
  228. package/build/esm/components/atoms/container.js +1 -0
  229. package/build/esm/components/atoms/displayWrapper.js +1 -0
  230. package/build/esm/components/atoms/divider.js +1 -0
  231. package/build/esm/components/atoms/drawer.js +1 -0
  232. package/build/esm/components/atoms/fileDropdown.js +1 -0
  233. package/build/esm/components/atoms/flag.js +1 -0
  234. package/build/esm/components/atoms/grid.js +1 -0
  235. package/build/esm/components/atoms/heading.js +1 -0
  236. package/build/esm/components/atoms/icons.js +1 -0
  237. package/build/esm/components/atoms/input.js +1 -0
  238. package/build/esm/components/atoms/label.js +1 -0
  239. package/build/esm/components/atoms/logo.js +1 -0
  240. package/build/esm/components/atoms/marryBabyText.js +1 -0
  241. package/build/esm/components/atoms/menu.js +1 -0
  242. package/build/esm/components/atoms/newBabyProfileRadio.js +1 -0
  243. package/build/esm/components/atoms/pagination.js +1 -0
  244. package/build/esm/components/atoms/progress.js +1 -0
  245. package/build/esm/components/atoms/pureInput.js +1 -0
  246. package/build/esm/components/atoms/radio.js +1 -0
  247. package/build/esm/components/atoms/radioImageGroup.js +1 -0
  248. package/build/esm/components/atoms/rateStars.js +1 -0
  249. package/build/esm/components/atoms/shadow.js +1 -0
  250. package/build/esm/components/atoms/slider.js +1 -0
  251. package/build/esm/components/atoms/tag.js +1 -0
  252. package/build/esm/components/atoms/text.js +1 -0
  253. package/build/esm/components/atoms/textArea.js +1 -0
  254. package/build/esm/components/atoms/textDivider.js +1 -0
  255. package/build/esm/components/atoms/toggle.js +1 -0
  256. package/build/esm/components/atoms/underlinedLink.js +1 -0
  257. package/build/esm/components/atoms/uploader.js +1 -0
  258. package/build/esm/components/atoms.js +1 -0
  259. package/build/esm/components/mantine/select.js +1 -0
  260. package/build/esm/components/molecules/ampNextPage.js +1 -0
  261. package/build/esm/components/molecules/articleCard.js +1 -0
  262. package/build/esm/components/molecules/babyGrowthChooseProfileDrawer.js +1 -0
  263. package/build/esm/components/molecules/breadcrumbs.js +1 -0
  264. package/build/esm/components/molecules/carousel.js +1 -0
  265. package/build/esm/components/molecules/categoryCard.js +1 -0
  266. package/build/esm/components/molecules/checkboxGroup.js +1 -0
  267. package/build/esm/components/molecules/childCard.js +1 -0
  268. package/build/esm/components/molecules/cookieAcceptConfirm.js +1 -0
  269. package/build/esm/components/molecules/datePicker.js +1 -0
  270. package/build/esm/components/molecules/dateRangePicker.js +1 -0
  271. package/build/esm/components/molecules/doctorInfo.js +1 -0
  272. package/build/esm/components/molecules/dropdown.js +1 -0
  273. package/build/esm/components/molecules/dropdownSearch.js +1 -0
  274. package/build/esm/components/molecules/floatButtonGroup.js +1 -0
  275. package/build/esm/components/molecules/iconText.js +1 -0
  276. package/build/esm/components/molecules/languageSwitcher.js +1 -0
  277. package/build/esm/components/molecules/mobileBottomNavigation.js +1 -0
  278. package/build/esm/components/molecules/modal.js +1 -0
  279. package/build/esm/components/molecules/popup.js +1 -0
  280. package/build/esm/components/molecules/progressBar.js +1 -0
  281. package/build/esm/components/molecules/radioGroup.js +1 -0
  282. package/build/esm/components/molecules/scrollList.js +1 -0
  283. package/build/esm/components/molecules/seoHead.js +1 -0
  284. package/build/esm/components/molecules/shareContainer.js +1 -0
  285. package/build/esm/components/molecules/shareDrawer.js +1 -0
  286. package/build/esm/components/molecules/sidemenu.js +1 -0
  287. package/build/esm/components/molecules/starsRatingBox.js +1 -0
  288. package/build/esm/components/molecules/statisticCard.js +1 -0
  289. package/build/esm/components/molecules/surveyQuestionCard.js +1 -0
  290. package/build/esm/components/molecules/table.js +1 -0
  291. package/build/esm/components/molecules/tabs.js +1 -0
  292. package/build/esm/components/molecules.js +1 -0
  293. package/build/esm/components/organisms/footer.js +1 -0
  294. package/build/esm/components/organisms/navigationBookingButton.js +1 -0
  295. package/build/esm/components/organisms/navigationLayout_deprecated.js +1 -0
  296. package/build/esm/components/organisms/navigationLogoutPopup.js +1 -0
  297. package/build/esm/components/organisms/navigationProfileButton.js +1 -0
  298. package/build/esm/components/organisms/navigationV2.js +1 -0
  299. package/build/esm/components/organisms/userProfileNavigation.js +1 -0
  300. package/build/esm/components/organisms.js +1 -0
  301. package/build/esm/components.js +1 -1
  302. package/build/esm/{theme-82709ce4.js → constants-3be6f6a9.js} +1 -1
  303. package/build/esm/constants-a0a981fa.js +1 -0
  304. package/build/esm/constants.js +1 -0
  305. package/build/esm/core-fd895ef9.js +1 -0
  306. package/build/esm/core.js +1 -1
  307. package/build/esm/ecom.js +1 -1
  308. package/build/esm/en-PH-15a5d362.js +1 -0
  309. package/build/esm/getDynamicHealthTool-346a5692.js +1 -0
  310. package/build/esm/getSocialList-ff22842b.js +1 -0
  311. package/build/esm/hooks.js +1 -0
  312. package/build/esm/i18n.js +1 -1
  313. package/build/esm/imgHHG.js +1 -0
  314. package/build/esm/index-01a46dcb.js +1 -0
  315. package/build/esm/index-5231f7b6.js +1 -0
  316. package/build/esm/index-5990a15d.js +1 -0
  317. package/build/esm/index-62c22dbe.js +1 -0
  318. package/build/esm/index-6a77c6f4.js +1 -0
  319. package/build/esm/index-9e6be097.js +1 -0
  320. package/build/esm/index-b1f8b4ff.js +1 -0
  321. package/build/esm/index-cb8a92f0.js +1 -0
  322. package/build/esm/index-e7b4b60b.js +1 -0
  323. package/build/esm/index-ec22c621.js +1 -0
  324. package/build/esm/index-edf514dd.js +1 -0
  325. package/build/esm/index.js +1 -1
  326. package/build/esm/index.styled-070ed8ad.js +1 -0
  327. package/build/esm/index.styled-14385ba4.js +1 -0
  328. package/build/esm/index.styled-1479f73a.js +1 -0
  329. package/build/esm/index.styled-1735bb7f.js +1 -0
  330. package/build/esm/index.styled-18eeca5a.js +1 -0
  331. package/build/esm/index.styled-21bf0a76.js +1 -0
  332. package/build/esm/index.styled-3247d7d7.js +1 -0
  333. package/build/esm/index.styled-33916835.js +1 -0
  334. package/build/esm/index.styled-35802967.js +1 -0
  335. package/build/esm/index.styled-3a7f1be6.js +1 -0
  336. package/build/esm/index.styled-3a97799e.js +1 -0
  337. package/build/esm/index.styled-41fcfc4d.js +1 -0
  338. package/build/esm/index.styled-4516ef5a.js +1 -0
  339. package/build/esm/index.styled-5c128da3.js +1 -0
  340. package/build/esm/index.styled-5cc30198.js +1 -0
  341. package/build/esm/index.styled-719c9640.js +1 -0
  342. package/build/esm/index.styled-74cafd8f.js +1 -0
  343. package/build/esm/index.styled-76f02a1e.js +1 -0
  344. package/build/esm/index.styled-7b4d2a6a.js +1 -0
  345. package/build/esm/index.styled-7eda6b11.js +1 -0
  346. package/build/esm/index.styled-8a2fdae1.js +1 -0
  347. package/build/esm/index.styled-8c13a042.js +1 -0
  348. package/build/esm/index.styled-8f74f167.js +1 -0
  349. package/build/esm/index.styled-9e89a217.js +1 -0
  350. package/build/esm/index.styled-a6be0beb.js +1 -0
  351. package/build/esm/index.styled-b1c59945.js +1 -0
  352. package/build/esm/index.styled-b47d1432.js +1 -0
  353. package/build/esm/index.styled-b8c131bf.js +1 -0
  354. package/build/esm/index.styled-b9ee0859.js +1 -0
  355. package/build/esm/index.styled-bc1e34ec.js +1 -0
  356. package/build/esm/index.styled-bcfdf661.js +1 -0
  357. package/build/esm/index.styled-c0b0df7e.js +1 -0
  358. package/build/esm/index.styled-c1df498b.js +1 -0
  359. package/build/esm/index.styled-c2186de7.js +1 -0
  360. package/build/esm/index.styled-c3dcdb30.js +1 -0
  361. package/build/esm/index.styled-c7311908.js +1 -0
  362. package/build/esm/index.styled-c9c43e63.js +1 -0
  363. package/build/esm/index.styled-db5aa049.js +1 -0
  364. package/build/esm/index.styled-e4f1d848.js +1 -0
  365. package/build/esm/index.styled-ee90d157.js +1 -0
  366. package/build/esm/index.styled-f3b75621.js +1 -0
  367. package/build/esm/index.styled-f41c3ca8.js +1 -0
  368. package/build/esm/index.styled-f9636b35.js +1 -0
  369. package/build/esm/lazyLoad-59e8ff6d.js +1 -0
  370. package/build/esm/localizeNumberFormat-77c129ef.js +1 -0
  371. package/build/esm/lock-e8f828ec.js +1 -0
  372. package/build/esm/mantine.js +1 -0
  373. package/build/esm/menuLink-cb440241.js +1 -0
  374. package/build/esm/misc.js +1 -0
  375. package/build/esm/navigation.js +1 -1
  376. package/build/esm/navigationLayout_deprecated.js +1 -0
  377. package/build/esm/routing-31d4caa0.js +1 -0
  378. package/build/esm/surveyQuestionCard-a9220787.js +1 -0
  379. package/build/esm/surveyThankyouCard-6c29909f.js +1 -0
  380. package/build/esm/tableBody-a16e38b4.js +1 -0
  381. package/build/esm/theme-a50a1aa5.js +1 -0
  382. package/build/esm/together-200b1b78.js +1 -0
  383. package/build/esm/together.js +1 -1
  384. package/build/esm/togetherComponentGlobalContext-656ef1d0.js +1 -0
  385. package/build/esm/translationsContext-d658f58d.js +1 -0
  386. package/build/esm/translationsProvider-5d2f9e25.js +1 -0
  387. package/build/esm/{tslib.es6-6ae0d506.js → tslib.es6-260fa47f.js} +1 -1
  388. package/build/esm/types-1b968cc0.js +1 -0
  389. package/build/esm/types-3aa5aa3a.js +1 -0
  390. package/build/esm/types.js +1 -0
  391. package/build/esm/useHealthToolCache-3583a3fc.js +1 -0
  392. package/build/esm/useScreenSize-fc434740.js +1 -0
  393. package/build/esm/useTranslations-32d4da23.js +1 -0
  394. package/build/esm/utils-432904d8.js +1 -0
  395. package/build/esm/zalo-7f0726ae.js +1 -0
  396. package/build/getDynamicHealthTool-87cf062a.js +1 -0
  397. package/build/getSocialList-2a3b759f.js +1 -0
  398. package/build/hooks/useHealthToolCache.d.ts +1 -1
  399. package/build/hooks.js +1 -0
  400. package/build/i18n.js +1 -1
  401. package/build/imgHHG.js +1 -0
  402. package/build/index-1dcd4d14.js +1 -0
  403. package/build/index-3a039505.js +1 -0
  404. package/build/index-45b1d207.js +1 -0
  405. package/build/index-57503957.js +1 -0
  406. package/build/index-77217283.js +1 -0
  407. package/build/index-afeb5842.js +1 -0
  408. package/build/index-b08daeef.js +1 -0
  409. package/build/index-b2bfa272.js +1 -0
  410. package/build/index-cbfaf5d2.js +1 -0
  411. package/build/index-e14b4b59.js +1 -0
  412. package/build/index-f157b9d5.js +1 -0
  413. package/build/index.d.ts +0 -1
  414. package/build/index.js +1 -1
  415. package/build/index.styled-008ef19d.js +1 -0
  416. package/build/index.styled-066b3539.js +1 -0
  417. package/build/index.styled-0e458732.js +1 -0
  418. package/build/index.styled-12564c85.js +1 -0
  419. package/build/index.styled-153551ce.js +1 -0
  420. package/build/index.styled-1b85e0c8.js +1 -0
  421. package/build/index.styled-1d015c53.js +1 -0
  422. package/build/index.styled-3c5397f9.js +1 -0
  423. package/build/index.styled-3ee5723a.js +1 -0
  424. package/build/index.styled-4c7d3d62.js +1 -0
  425. package/build/index.styled-5f87a409.js +1 -0
  426. package/build/index.styled-61d64e64.js +1 -0
  427. package/build/index.styled-623fef75.js +1 -0
  428. package/build/index.styled-695c7b97.js +1 -0
  429. package/build/index.styled-69d9ccc8.js +1 -0
  430. package/build/index.styled-71dccfe1.js +1 -0
  431. package/build/index.styled-746e44a4.js +1 -0
  432. package/build/index.styled-749e4611.js +1 -0
  433. package/build/index.styled-78176bcd.js +1 -0
  434. package/build/index.styled-78875f21.js +1 -0
  435. package/build/index.styled-7a935330.js +1 -0
  436. package/build/index.styled-7be82491.js +1 -0
  437. package/build/index.styled-7d510632.js +1 -0
  438. package/build/index.styled-7e46b5b8.js +1 -0
  439. package/build/index.styled-80d36b16.js +1 -0
  440. package/build/index.styled-97d71ef5.js +1 -0
  441. package/build/index.styled-a757296d.js +1 -0
  442. package/build/index.styled-a8c022ac.js +1 -0
  443. package/build/index.styled-ad582518.js +1 -0
  444. package/build/index.styled-b1cca2d9.js +1 -0
  445. package/build/index.styled-b5ed3e2a.js +1 -0
  446. package/build/index.styled-c0a48e50.js +1 -0
  447. package/build/index.styled-c138a33c.js +1 -0
  448. package/build/index.styled-cb37a32a.js +1 -0
  449. package/build/index.styled-d814136c.js +1 -0
  450. package/build/index.styled-dc219b10.js +1 -0
  451. package/build/index.styled-df85fa38.js +1 -0
  452. package/build/index.styled-e0103298.js +1 -0
  453. package/build/index.styled-ec8b738a.js +1 -0
  454. package/build/index.styled-f4dc1d65.js +1 -0
  455. package/build/index.styled-f502a042.js +1 -0
  456. package/build/index.styled-fb8fdc21.js +1 -0
  457. package/build/index.styled-fbf8794a.js +1 -0
  458. package/build/interfaces/constants.d.ts +12 -0
  459. package/build/lazyLoad-f5c59bb0.js +1 -0
  460. package/build/localizeNumberFormat-d34a738e.js +1 -0
  461. package/build/lock-f96868e8.js +1 -0
  462. package/build/mantine.js +1 -0
  463. package/build/menuLink-8bd7d73e.js +1 -0
  464. package/build/misc/index.d.ts +2 -0
  465. package/build/misc/localizeNumberFormat.d.ts +2 -0
  466. package/build/misc/theme.d.ts +1 -0
  467. package/build/misc.js +1 -0
  468. package/build/modules/imgHHG/index.d.ts +22 -0
  469. package/build/navigation.js +1 -1
  470. package/build/navigationLayout_deprecated.js +1 -0
  471. package/build/routing-7d9b5fab.js +1 -0
  472. package/build/surveyQuestionCard-dc8ee056.js +1 -0
  473. package/build/surveyThankyouCard-2a90aec4.js +1 -0
  474. package/build/tableBody-5653fcab.js +1 -0
  475. package/build/theme-696d81a9.js +1 -0
  476. package/build/together/api/utils.d.ts +1 -1
  477. package/build/together/components/molecules/popupFrame/index.d.ts +3 -2
  478. package/build/together/components/molecules/popupFrame/index.styled.d.ts +5 -1
  479. package/build/together-643762e2.js +1 -0
  480. package/build/together.js +1 -1
  481. package/build/togetherComponentGlobalContext-6197b982.js +1 -0
  482. package/build/translationsContext-2d7ea471.js +1 -0
  483. package/build/translationsProvider-06140ba2.js +1 -0
  484. package/build/types-b9a2a66a.js +1 -0
  485. package/build/types-cace91f1.js +1 -0
  486. package/build/types.js +1 -0
  487. package/build/useHealthToolCache-f0e420ac.js +1 -0
  488. package/build/useScreenSize-1a87cd03.js +1 -0
  489. package/build/useTranslations-8eec642f.js +1 -0
  490. package/build/utils-1cac3068.js +1 -0
  491. package/build/zalo-e7b9d144.js +1 -0
  492. package/package.json +63 -5
  493. package/build/ageGenerate-94d2448b.js +0 -1
  494. package/build/constants-ea7b35a2.js +0 -1
  495. package/build/esm/ageGenerate-e149ca5f.js +0 -1
  496. package/build/esm/constants-dc22740c.js +0 -1
  497. package/build/esm/core-286f158c.js +0 -1
  498. package/build/esm/index-38ea4462.js +0 -1
  499. package/build/esm/index-613a8df5.js +0 -1
  500. package/build/esm/index-73638a82.js +0 -1
  501. package/build/esm/index-9ee79492.js +0 -1
  502. package/build/esm/index-ad2b001d.js +0 -1
  503. package/build/esm/index-ebb97544.js +0 -1
  504. package/build/esm/index-f92f5049.js +0 -1
  505. package/build/esm/index.styled-df180c76.js +0 -1
  506. package/build/esm/index.styled-ecba7a5d.js +0 -1
  507. package/build/esm/lazyLoad-d80d3fd1.js +0 -1
  508. package/build/esm/routing-f63546d5.js +0 -1
  509. package/build/esm/translationsContext-65bea19b.js +0 -1
  510. package/build/esm/translationsProvider-c3eb69ec.js +0 -1
  511. package/build/esm/types-1a8aa042.js +0 -1
  512. package/build/esm/types-4dc78fab.js +0 -1
  513. package/build/esm/types-ec2bbf0d.js +0 -1
  514. package/build/esm/useTranslations-e61cf3ed.js +0 -1
  515. package/build/index-143c02dc.js +0 -1
  516. package/build/index-3474408b.js +0 -1
  517. package/build/index-389edd10.js +0 -1
  518. package/build/index-7f1cb726.js +0 -1
  519. package/build/index-94e56980.js +0 -1
  520. package/build/index-b71b4420.js +0 -1
  521. package/build/index-e6f9ac7f.js +0 -1
  522. package/build/index.styled-a613a33c.js +0 -1
  523. package/build/index.styled-af1f423b.js +0 -1
  524. package/build/lazyLoad-0454885d.js +0 -1
  525. package/build/routing-9fbc897b.js +0 -1
  526. package/build/translationsContext-e97f3b58.js +0 -1
  527. package/build/translationsProvider-8ab0200d.js +0 -1
  528. package/build/types-39b008c8.js +0 -1
  529. package/build/types-dc5c360a.js +0 -1
  530. package/build/types-fc6dac4f.js +0 -1
  531. package/build/useTranslations-9e64b19e.js +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-f7929e76.js"),t=require("react"),n=require("./constants-ca5ea110.js"),a=require("./constants-5675963f.js"),i=require("./cookieHelper-612b90fa.js"),o=require("./useTranslations-8eec642f.js"),r=require("lodash/debounce"),l=require("./components/atoms/text.js");require("./index.styled-a757296d.js"),require("./index.styled-3c5397f9.js"),require("./index.styled-746e44a4.js"),require("./index.styled-69d9ccc8.js"),require("./index.styled-0e458732.js"),require("./index.styled-b1cca2d9.js"),require("./index.styled-153551ce.js"),require("./index.styled-fbf8794a.js"),require("./index.styled-c138a33c.js"),require("./index.styled-cb37a32a.js");var s=require("./components/atoms/input.js");require("./components/atoms/label.js"),require("./components/atoms/logo.js");var c=require("./utils-1cac3068.js");require("./index.styled-f502a042.js"),require("./components/atoms/pureInput.js"),require("./index.styled-61d64e64.js"),require("./index.styled-ec8b738a.js"),require("react-range"),require("./index.styled-4c7d3d62.js"),require("./index.styled-1d015c53.js"),require("./index.styled-7be82491.js"),require("./index.styled-f4dc1d65.js"),require("./index.styled-066b3539.js"),require("./components/atoms/textArea.js"),require("./components/atoms/container.js"),require("./index.styled-b5ed3e2a.js"),require("./components/atoms/textDivider.js"),require("./index.styled-12564c85.js"),require("./Stethoscope-d829ee20.js"),require("./index.styled-749e4611.js"),require("react-dom"),require("./index.styled-1b85e0c8.js"),require("./index.styled-c0a48e50.js"),require("./components/atoms/menu.js"),require("./index.styled-78176bcd.js"),require("./translationsContext-2d7ea471.js");var u=require("string-format");require("date-fns"),require("./animation-b53aef6e.js"),require("./lazyLoad-f5c59bb0.js");var d=require("styled-components");require("./Locale-11b51016.js"),require("./index.styled-71dccfe1.js");var p=require("./theme-696d81a9.js"),h=require("react-loading-skeleton"),f=require("react-id-generator"),g=require("lodash/shuffle"),m=require("./useOutsideClick-528bfd6c.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index.styled-97d71ef5.js");var v=C(t),x=C(r),y=C(u),b=C(d),_=C(h),w=C(g);var E,k,L,S,T,O,I,j,M,R,A,N,P=b.default.div(E||(E=e.__makeTemplateObject([""],[""]))),F=b.default.div(k||(k=e.__makeTemplateObject(["\n --searchbar-z-index: 305;\n &[data-is-modal='true'] {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n height: var(--mobile-care-searchbar-height, 100%);\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n background-color: white;\n z-index: var(--searchbar-z-index);\n }\n"],["\n --searchbar-z-index: 305;\n &[data-is-modal='true'] {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n height: var(--mobile-care-searchbar-height, 100%);\n overflow-y: auto;\n -webkit-overflow-scrolling: touch;\n background-color: white;\n z-index: var(--searchbar-z-index);\n }\n"]))),z=b.default.section(L||(L=e.__makeTemplateObject([""],[""]))),q=b.default.input(S||(S=e.__makeTemplateObject(["\n position: fixed;\n left: -100%;\n top: -100%;\n"],["\n position: fixed;\n left: -100%;\n top: -100%;\n"]))),D=b.default(s.Input)(T||(T=e.__makeTemplateObject(["\n #booking-search-bar & {\n input {\n font-size: 16px;\n }\n }\n"],["\n #booking-search-bar & {\n input {\n font-size: 16px;\n }\n }\n"]))),B=d.createGlobalStyle(O||(O=e.__makeTemplateObject(["\n .care-popup-open {\n overflow: hidden;\n position: fixed;\n &::before {\n content: '';\n inset: 0;\n position: absolute;\n background-color: white;\n min-height: 100vh;\n min-width: 100vw;\n z-index: 2;\n }\n }\n"],["\n .care-popup-open {\n overflow: hidden;\n position: fixed;\n &::before {\n content: '';\n inset: 0;\n position: absolute;\n background-color: white;\n min-height: 100vh;\n min-width: 100vw;\n z-index: 2;\n }\n }\n"]))),H=function(e){var t=e.className,n=e.color;return v.default.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.default.createElement("path",{d:"M18 6L6 18",stroke:n||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),v.default.createElement("path",{d:"M6 6L18 18",stroke:n||"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))},V=function(e){var t=e.className,n=e.color;return v.default.createElement("svg",{width:"14",height:"20",viewBox:"0 0 14 20",className:t},v.default.createElement("path",{d:"M7 0C3.134 0 0 3.134 0 7C0 10.966 4.404 16.82 6.226 19.071C6.626 19.565 7.374 19.565 7.774 19.071C9.596 16.82 14 10.966 14 7C14 3.134 10.866 0 7 0ZM7 9.5C5.619 9.5 4.5 8.381 4.5 7C4.5 5.619 5.619 4.5 7 4.5C8.381 4.5 9.5 5.619 9.5 7C9.5 8.381 8.381 9.5 7 9.5Z",fill:n||"currentColor"}))},K=function(e){var t=e.className,n=e.color;return v.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:t},v.default.createElement("path",{d:"M9.99967 6.66658C8.15801 6.66658 6.66634 8.15825 6.66634 9.99992C6.66634 11.8416 8.15801 13.3333 9.99967 13.3333C11.8413 13.3333 13.333 11.8416 13.333 9.99992C13.333 8.15825 11.8413 6.66658 9.99967 6.66658ZM17.4497 9.16658C17.0663 5.69158 14.308 2.93325 10.833 2.54992V1.66659C10.833 1.20825 10.458 0.833252 9.99967 0.833252C9.54134 0.833252 9.16634 1.20825 9.16634 1.66659V2.54992C5.69134 2.93325 2.93301 5.69158 2.54967 9.16658H1.66634C1.20801 9.16658 0.833008 9.54158 0.833008 9.99992C0.833008 10.4583 1.20801 10.8333 1.66634 10.8333H2.54967C2.93301 14.3083 5.69134 17.0666 9.16634 17.4499V18.3333C9.16634 18.7916 9.54134 19.1666 9.99967 19.1666C10.458 19.1666 10.833 18.7916 10.833 18.3333V17.4499C14.308 17.0666 17.0663 14.3083 17.4497 10.8333H18.333C18.7913 10.8333 19.1663 10.4583 19.1663 9.99992C19.1663 9.54158 18.7913 9.16658 18.333 9.16658H17.4497ZM9.99967 15.8333C6.77467 15.8333 4.16634 13.2249 4.16634 9.99992C4.16634 6.77492 6.77467 4.16658 9.99967 4.16658C13.2247 4.16658 15.833 6.77492 15.833 9.99992C15.833 13.2249 13.2247 15.8333 9.99967 15.8333Z",fill:n||"currentColor"}))},Z=function(e){var t=e.className,n=e.color;return v.default.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.default.createElement("path",{d:"M11 18C14.866 18 18 14.866 18 11C18 7.13401 14.866 4 11 4C7.13401 4 4 7.13401 4 11C4 14.866 7.13401 18 11 18Z",stroke:n||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),v.default.createElement("path",{d:"M20 20L16 16",stroke:n||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},G=function(e){var t=e.width,n=e.height;return v.default.createElement("svg",{width:t||30,height:n||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.default.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}))},U=b.default.li(I||(I=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n\n > :first-child {\n flex: 1;\n }\n\n > :nth-child(2) {\n flex: 6;\n }\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n gap: 12px;\n padding: 8px 16px;\n\n > :first-child {\n flex: 1;\n }\n\n > :nth-child(2) {\n flex: 6;\n }\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n"])),p.theme.colors.neutral100),Q=b.default.div(j||(j=e.__makeTemplateObject(["\n display: flex;\n position: absolute;\n top: 48px;\n min-width: 100%;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n background-color: white;\n z-index: 30;\n\n "," {\n position: relative;\n top: 0;\n box-shadow: initial;\n }\n"],["\n display: flex;\n position: absolute;\n top: 48px;\n min-width: 100%;\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n border-radius: 6px;\n background-color: white;\n z-index: 30;\n\n "," {\n position: relative;\n top: 0;\n box-shadow: initial;\n }\n"])),c.MediaQueries.mbDown),W=b.default.ul(M||(M=e.__makeTemplateObject(["\n width: 100%;\n max-height: 600px;\n overflow-y: auto;\n"],["\n width: 100%;\n max-height: 600px;\n overflow-y: auto;\n"]))),Y=b.default(V)(R||(R=e.__makeTemplateObject(["\n width: 12px;\n height: 18px;\n"],["\n width: 12px;\n height: 18px;\n"]))),J=b.default.li(A||(A=e.__makeTemplateObject(["\n position: relative;\n cursor: pointer;\n padding: 12px 18px;\n display: flex;\n align-items: center;\n gap: 14px;\n overflow: hidden;\n\n ","\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n\n &:not([data-is-denied='true']):hover {\n background-color: ",";\n }\n\n &:last-child:hover {\n border-bottom-right-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n\n &:first-child:hover {\n border-top-right-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-is-denied='true'] {\n cursor: not-allowed;\n }\n"],["\n position: relative;\n cursor: pointer;\n padding: 12px 18px;\n display: flex;\n align-items: center;\n gap: 14px;\n overflow: hidden;\n\n ","\n\n & + li::before {\n content: '';\n position: absolute;\n left: 18px;\n right: 18px;\n top: 0;\n height: 1px;\n background-color: ",";\n }\n\n &:not([data-is-denied='true']):hover {\n background-color: ",";\n }\n\n &:last-child:hover {\n border-bottom-right-radius: 6px;\n border-bottom-left-radius: 6px;\n }\n\n &:first-child:hover {\n border-top-right-radius: 6px;\n border-top-left-radius: 6px;\n }\n\n &[data-is-denied='true'] {\n cursor: not-allowed;\n }\n"])),(function(e){return e.isSelected&&"\n &::after {\n content: ".concat("url(\"data:image/svg+xml,%3Csvg width='19' height='14' viewBox='0 0 19 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.9803 0.990669C16.7205 0.99841 16.4739 1.10699 16.2928 1.2934L5.99984 11.5864L2.70687 8.2934C2.61473 8.19743 2.50436 8.12081 2.38223 8.06802C2.2601 8.01524 2.12867 7.98735 1.99563 7.986C1.86259 7.98464 1.73061 8.00985 1.60743 8.06014C1.48426 8.11043 1.37235 8.18479 1.27827 8.27887C1.1842 8.37295 1.10983 8.48485 1.05954 8.60803C1.00926 8.73121 0.98405 8.86318 0.985403 8.99622C0.986757 9.12926 1.01464 9.26069 1.06743 9.38282C1.12021 9.50495 1.19684 9.61532 1.29281 9.70747L5.29281 13.7075C5.48035 13.8949 5.73467 14.0002 5.99984 14.0002C6.26501 14.0002 6.51933 13.8949 6.70687 13.7075L17.7069 2.70747C17.8514 2.567 17.9501 2.38616 17.99 2.18864C18.03 1.99112 18.0093 1.78614 17.9308 1.60055C17.8523 1.41497 17.7195 1.25744 17.5499 1.14861C17.3803 1.03978 17.1817 0.984729 16.9803 0.990669Z' fill='%232685F1'/%3E%3C/svg%3E%0A\")",";\n top: 50%;\n right: 18px;\n position: absolute;\n transform: translateY(-50%);\n }\n ")}),p.theme.colors.neutral100,p.theme.colors.neutral50),X=b.default((function(t){var n=t.count,a=t.className,i=f.useId(n);return v.default.createElement(v.default.Fragment,null,e.__spreadArray([],Array(n),!0).map((function(e,t){return v.default.createElement(U,{className:a,key:i[t]},v.default.createElement(_.default,{count:1,height:32}),v.default.createElement(_.default,{count:1,height:24}))})))}))(N||(N=e.__makeTemplateObject(["\n &:first-child {\n padding-top: 18px;\n }\n"],["\n &:first-child {\n padding-top: 18px;\n }\n"]))),$=function(e){var t=e.cities,n=e.isLoading,a=e.onLocationClick,i=e.onCurrentLocationClick,r=e.geoLocationPermission,s=void 0===r?"unset":r,c=e.isLocationLoading,u=e.selectedLocation,d=o.useTranslations().t,h="denied"===s,f=function(){return v.default.createElement(J,{role:"button",tabIndex:0,onClick:function(e){h||(e.nativeEvent.stopImmediatePropagation(),c||i())},"data-is-denied":h},h?v.default.createElement(l.Text,{color:"var(--gray600)",size:"md"},"x"):c?v.default.createElement(_.default,{height:20,width:20}):v.default.createElement(K,{color:p.theme.colors.primaryBase}),v.default.createElement("div",null,h?v.default.createElement(l.Text,{color:"var(--gray600)",size:"sm",style:{lineHeight:1.5}},d("booking.searchBar.grantLocation")):c?v.default.createElement(_.default,{height:20,style:{width:"calc(100% - 16px)"}}):v.default.createElement(l.Text,{size:"md"},d("booking.searchBar.useCurrentLocation"))))};return v.default.createElement(Q,{"data-testid":"location-search-results"},v.default.createElement(W,null,n?v.default.createElement(X,{count:5}):!t||t.length<1?v.default.createElement(v.default.Fragment,null,f(),v.default.createElement(J,{"data-is-denied":"true"},v.default.createElement(l.Text,{size:"sm",color:"#ccc"},d("booking.searchBar.noResults")))):v.default.createElement(v.default.Fragment,null,f(),t.map((function(e){return v.default.createElement(J,{key:e.id,onClick:function(t){t.nativeEvent.stopImmediatePropagation(),a&&a(e)},role:"button",tabIndex:0,"aria-label":"Select ".concat(e.name," as location"),isSelected:(null==u?void 0:u.id)===e.id},v.default.createElement(Y,{color:p.theme.colors.neutral400}),v.default.createElement(l.Text,{size:"md"},e.name))})))))},ee="TYPE_CHARACTER",te="REMOVE_CHARACTER",ne="REMOVE_ALL",ae="REMOVE_LAST_VISIBLE_NODE",ie="PAUSE_FOR",oe="CHANGE_DELETE_SPEED",re="CHANGE_DELAY",le="PASTE_STRING",se=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},ce="TEXT_NODE",ue=function(){function t(t){var n=this;this.state={lastFrameTime:null,pauseUntil:null,eventQueue:[],eventLoop:null,eventLoopPaused:!1,reverseCalledEvents:[],calledEvents:[],visibleNodes:[],initialOptions:null},this.options={strings:null,delay:"natural",pauseFor:1500,deleteSpeed:"natural",loop:!1,autoStart:!1,stringSplitter:null,onCreateTextNode:null,onRemoveNode:null},this.start=function(){return n.state.eventLoopPaused=!1,n.runEventLoop(),n},this.pause=function(){return n.state.eventLoopPaused=!0,n},this.stop=function(){return n.state.eventLoop&&(window.cancelAnimationFrame(n.state.eventLoop),n.state.eventLoop=null),n},this.pauseFor=function(e){return n.addEventToQueue(ie,{ms:e}),n},this.typeOutAllStrings=function(){return"string"==typeof n.options.strings?(n.typeString(n.options.strings).pauseFor(n.options.pauseFor),n):(n.options.strings.forEach((function(e){n.typeString(e).pauseFor(n.options.pauseFor).deleteAll(n.options.deleteSpeed)})),n)},this.typeString=function(e,t){if(void 0===t&&(t=null),e){var a=(n.options||{}).stringSplitter,i="function"==typeof a?a(e):e.split("");n.typeCharacters(i,t)}return n},this.pasteString=function(e,t){return void 0===t&&(t=null),e&&n.addEventToQueue(le,{character:e,node:t}),n},this.deleteAll=function(e){return void 0===e&&(e="natural"),n.addEventToQueue(ne,{speed:e}),n},this.changeDeleteSpeed=function(e){if(!e)throw new Error("Must provide new delete speed");return n.addEventToQueue(oe,{speed:e}),n},this.changeDelay=function(e){if(!e)throw new Error("Must provide new delay");return n.addEventToQueue(re,{delay:e}),n},this.deleteChars=function(e){if(!e)throw new Error("Must provide amount of characters to delete");for(var t=0;t<e;t++)n.addEventToQueue(te);return n},this.typeCharacters=function(e,t){if(void 0===t&&(t=null),!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((function(e){n.addEventToQueue(ee,{character:e,node:t})})),n},this.removeCharacters=function(e){if(!e||!Array.isArray(e))throw new Error("Characters must be an array");return e.forEach((function(){n.addEventToQueue(te)})),n},this.addEventToQueue=function(e,t,a){return void 0===a&&(a=!1),n.addEventToStateProperty(e,t,a,"eventQueue")},this.addReverseCalledEvent=function(e,t,a){return void 0===a&&(a=!1),n.options.loop?n.addEventToStateProperty(e,t,a,"reverseCalledEvents"):n},this.addEventToStateProperty=function(t,a,i,o){void 0===i&&(i=!1);var r={eventName:t,eventArgs:a||{}};return n.state[o]=i?e.__spreadArray([r],n.state[o],!0):e.__spreadArray(e.__spreadArray([],n.state[o],!0),[r],!1),n},this.runEventLoop=function(){n.state.lastFrameTime||(n.state.lastFrameTime=Date.now());var t=Date.now(),a=t-n.state.lastFrameTime;if(!n.state.eventQueue.length){if(!n.options.loop)return;n.state.eventQueue=e.__spreadArray([],n.state.calledEvents,!0),n.state.calledEvents=[],n.options=e.__assign({},n.state.initialOptions)}if(n.state.eventLoop=window.requestAnimationFrame(n.runEventLoop),!n.state.eventLoopPaused){if(n.state.pauseUntil){if(t<n.state.pauseUntil)return;n.state.pauseUntil=null}var i=e.__spreadArray([],n.state.eventQueue,!0),o=i.shift();if(!(a<=(o.eventName===ae||o.eventName===te?"natural"===n.options.deleteSpeed?se(40,80):n.options.deleteSpeed:"natural"===n.options.delay?se(120,160):n.options.delay))){var r=o.eventName,l=o.eventArgs;switch(r){case le:case ee:var s=l.character,c=document.createTextNode(s),u=c;n.options.onCreateTextNode&&"function"==typeof n.options.onCreateTextNode&&(u=n.options.onCreateTextNode(s,c)),n.state.visibleNodes=e.__spreadArray(e.__spreadArray([],n.state.visibleNodes,!0),[{type:ce,character:s,node:u}],!1);break;case te:i.unshift({eventName:ae,eventArgs:{removingCharacterNode:!0}});break;case ie:var d=o.eventArgs.ms;n.state.pauseUntil=Date.now()+parseInt(d);break;case ne:var p=n.state.visibleNodes,h=l.speed,f=[];h&&f.push({eventName:oe,eventArgs:{speed:h,temp:!0}});for(var g=0,m=p.length;g<m;g++)f.push({eventName:ae,eventArgs:{removingCharacterNode:!1}});h&&f.push({eventName:oe,eventArgs:{speed:n.options.deleteSpeed,temp:!0}}),i.unshift.apply(i,f);break;case ae:if(n.state.visibleNodes.length){var C=n.state.visibleNodes.pop(),v=C.node;s=C.character;n.options.onRemoveNode&&"function"==typeof n.options.onRemoveNode&&n.options.onRemoveNode({node:v,character:s}),v&&v.parentNode.removeChild(v)}break;case oe:n.options.deleteSpeed=o.eventArgs.speed;break;case re:n.options.delay=o.eventArgs.delay}n.options.loop&&(o.eventName===ae||o.eventArgs&&o.eventArgs.temp||(n.state.calledEvents=e.__spreadArray(e.__spreadArray([],n.state.calledEvents,!0),[o],!1))),n.state.eventQueue=i,n.state.lastFrameTime=t}}},t&&(this.options=e.__assign(e.__assign({},this.options),t)),this.state.initialOptions=e.__assign({},this.options),this.init()}return t.prototype.init=function(){this.addEventToQueue(ne,null,!0),!0===this.options.autoStart&&this.options.strings&&this.typeOutAllStrings().start()},t}();function de(e){var n=e.inputRef,a=e.wrapperRef,i=e.disabled,r=o.useTranslations(),l=r.t,s=r.locale,c=t.useMemo((function(){if(i)return[];var e=["booking.searchBar.placeholder.hospital","booking.searchBar.placeholder.doctor"];return"zh-TW"!==s&&e.push("booking.searchBar.placeholder.specialty","booking.searchBar.placeholder.service"),w.default(e).map((function(e){return l(e)}))}),[l,s]);function u(e){var t=p();return t&&(t.placeholder=t.placeholder+e),null}function d(){var e=p();e&&(e.placeholder=e.placeholder.slice(0,-1))}function p(){return n&&n.current?n.current:a&&a.current&&a.current.querySelector("input")||null}t.useEffect((function(){if(!i){var e=p();e&&(e.placeholder="",new ue({strings:c,autoStart:!0,loop:!0,delay:32,deleteSpeed:32,pauseFor:1500,onCreateTextNode:u,onRemoveNode:d}))}}),[n,a])}var pe,he=b.default.div(pe||(pe=e.__makeTemplateObject(["\n user-select: none;\n input {\n pointer-events: none;\n background-color: white;\n }\n"],["\n user-select: none;\n input {\n pointer-events: none;\n background-color: white;\n }\n"])));function fe(n){var a=n.focused,i=n.value,r=void 0===i?"":i,l=n.onClick,s=n.trackingAttributes,c=n.inputSearchPlaceholder,u=o.useTranslations().t,d=t.useRef(null);de({wrapperRef:d,disabled:!!c});var h=t.useMemo((function(){return s?{"data-event-category":s.dataEventCategory,"data-event-action":s.dataEventAction,"data-event-label":s.dataEventLabel}:{}}),[s]);return v.default.createElement(he,e.__assign({onClick:function(){return l&&l()},ref:d},h),v.default.createElement(D,{inputClassName:"location"===a?"focused":void 0,name:"booking-search-placeholder",displayIcon:v.default.createElement(Z,{color:p.theme.colors.gray400}),placeholder:u("booking.searchBar.searchInput.placeholder"),value:r,size:"md"}))}var ge,me,Ce,ve,xe,ye,be=b.default.header(ge||(ge=e.__makeTemplateObject(["\n display: flex;\n height: 64px;\n align-items: center;\n justify-content: space-between;\n margin: 0 auto;\n position: sticky;\n z-index: 99;\n background-color: white;\n top: 0;\n left: 0;\n"],["\n display: flex;\n height: 64px;\n align-items: center;\n justify-content: space-between;\n margin: 0 auto;\n position: sticky;\n z-index: 99;\n background-color: white;\n top: 0;\n left: 0;\n"]))),_e=b.default.div(me||(me=e.__makeTemplateObject(["\n display: inline-flex;\n flex: 1;\n justify-content: flex-end;\n cursor: pointer;\n text-decoration: underline;\n"],["\n display: inline-flex;\n flex: 1;\n justify-content: flex-end;\n cursor: pointer;\n text-decoration: underline;\n"]))),we=b.default.div(Ce||(Ce=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-left: 16px;\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n margin-left: 16px;\n cursor: pointer;\n"]))),Ee=b.default.div(ve||(ve=e.__makeTemplateObject(["\n width: 100%;\n margin-left: 24px;\n"],["\n width: 100%;\n margin-left: 24px;\n"]))),ke=b.default(l.Text)(xe||(xe=e.__makeTemplateObject(["\n color: ",";\n text-align: start;\n"],["\n color: ",";\n text-align: start;\n"])),p.theme.colors.secondaryDark),Le=function(e){var t=e.className,n=e.onLeftClick,a=e.headingText,i=e.onRightClick,o=e.iconLeft,r=e.textRight;return v.default.createElement(be,{className:t},v.default.createElement(we,{onClick:n},o||v.default.createElement(H,{color:p.theme.colors.gray800})),v.default.createElement(Ee,null,v.default.createElement(ke,{size:"md",type:"bold"},a)),v.default.createElement(_e,{onClick:i},r&&v.default.createElement("p",null,r)))},Se={"en-PH":3,"tl-PH":2,"id-ID":3,"vi-VN":2,"zh-TW":0},Te={isMobile:!1,isDebug:!1,navigateTo:null,geoLocationPermission:"unset",geoLocationCoordinates:null,focused:"none",searchLocationKeywords:"",searchKeywords:"",selectedLocation:null,defaultCity:null,initialCities:[],cities:[],searchResults:[],initialSearchResults:[],isLoadingCities:!1,isLoadingSearchResults:!1,isMobileModalOpened:!1,initialSelectedCity:null,autoCompleteDisabled:!1,inputSearchPlaceholder:"",locale:"vi-VN"};function Oe(t){var n=t.selectedLocation,a=t.searchLocationKeywords;return n&&a!==n.name?e.__assign(e.__assign({},t),{searchLocationKeywords:n.name}):t}function Ie(t,a){var i;switch(t.isDebug&&console.log("bookingSearchBar",{action:a,state:t}),a.type){case ye.NavigateTo:return e.__assign(e.__assign({},t),{navigateTo:a.payload,focused:"none",isMobileModalOpened:!1});case ye.ClickOutsideInputLocation:return t.isMobile||"location"!==t.focused?t:Oe(e.__assign(e.__assign({},t),{focused:"none"}));case ye.ClickOutsideInputSearch:return t.isMobile||"search"!==t.focused?t:e.__assign(e.__assign({},t),{focused:"none"});case ye.FocusInputLocation:var o=e.__assign(e.__assign({},t),{focused:"location"});return(null===(i=t.selectedLocation)||void 0===i?void 0:i.id)===n.ID_OPTION_CURRENT_LOCATION&&(o.searchLocationKeywords=""),o;case ye.FocusInputSearch:var r=e.__assign(e.__assign({},t),{focused:"search"});return t.isMobile?Oe(r):r;case ye.ChangeInputLocation:return e.__assign(e.__assign({},t),{searchLocationKeywords:a.payload});case ye.ChangeInputSearch:var l=a.payload;return e.__assign(e.__assign({},t),{searchKeywords:l,isLoadingSearchResults:l.trim().length>Se[t.locale]});case ye.SelectCurrentLocation:return e.__assign(e.__assign({},t),{focused:"none",selectedLocation:a.payload,searchLocationKeywords:a.payload.name});case ye.ClearInputLocation:return e.__assign(e.__assign({},t),{focused:"location",cities:t.initialCities,searchLocationKeywords:""});case ye.ClearInputSearch:return e.__assign(e.__assign({},t),{focused:"search",searchKeywords:""});case ye.SelectLocation:return e.__assign(e.__assign({},t),{focused:"none",selectedLocation:a.payload,searchLocationKeywords:a.payload.name});case ye.SelectSearchResult:return e.__assign(e.__assign({},t),{searchKeywords:a.payload.name,isMobileModalOpened:!1,focused:"none",navigateTo:a.payload.url});case ye.FetchCitiesStart:return e.__assign(e.__assign({},t),{isLoadingCities:!0});case ye.FetchCitiesFinish:return e.__assign(e.__assign({},t),{isLoadingCities:!1});case ye.FetchSearchResultsStart:return e.__assign(e.__assign({},t),{isLoadingSearchResults:!0});case ye.FetchSearchResultsFinish:return e.__assign(e.__assign({},t),{isLoadingSearchResults:!1});case ye.FetchSearchResultsComplete:var s=e.__assign(e.__assign({},t),{searchResults:a.payload});return 0===t.initialSearchResults.length&&(s.initialSearchResults=a.payload),s;case ye.FetchCitiesByGeoIpComplete:var c=a.payload.cities,u=a.payload.default;(c=c.filter((function(e){return e.id!==u.id}))).unshift(u),t.initialSelectedCity&&!c.find((function(e){return e.id===t.initialSelectedCity.id}))&&c.unshift(t.initialSelectedCity);var d=e.__assign(e.__assign({},t),{defaultCity:u,initialCities:c,cities:c});return"denied"!==t.geoLocationPermission||t.initialSelectedCity||(d.selectedLocation=u,d.searchLocationKeywords=u.name),d;case ye.FetchCitiesByKeywordComplete:return e.__assign(e.__assign({},t),{cities:a.payload});case ye.DisplayInitialCities:return e.__assign(e.__assign({},t),{cities:t.initialCities});case ye.DisplayInitialSearchResults:return e.__assign(e.__assign({},t),{searchResults:t.initialSearchResults,isLoadingSearchResults:!1});case ye.GrantGeoLocationPermission:return e.__assign(e.__assign({},t),{geoLocationPermission:"granted",geoLocationCoordinates:a.payload});case ye.DenyGeoLocationPermission:return e.__assign(e.__assign({},t),{geoLocationPermission:"denied",geoLocationCoordinates:null});case ye.OpenMobileModal:return e.__assign(e.__assign({},t),{isMobileModalOpened:!0});case ye.CloseMobileModal:return e.__assign(e.__assign({},t),{isMobileModalOpened:!1});case ye.UpdateInitialSearchValue:return e.__assign(e.__assign({},t),{searchKeywords:a.payload});case ye.SetInputSearchPlaceholder:return e.__assign(e.__assign({},t),{inputSearchPlaceholder:a.payload});default:return t}}!function(e){e.NavigateTo="navigate to url",e.ClickOutsideInputLocation="click outside input location",e.ClickOutsideInputSearch="click outside input search",e.SelectCurrentLocation="select current location",e.FocusInputLocation="focus input location",e.FocusInputSearch="focus input search",e.ChangeInputLocation="change input location",e.ChangeInputSearch="change input search",e.ClearInputLocation="clear input location",e.ClearInputSearch="clear input search",e.SelectLocation="select location",e.FetchCitiesStart="fetch cities start",e.FetchCitiesFinish="fetch cities finish",e.FetchSearchResultsStart="fetch search results start",e.FetchSearchResultsComplete="fetch search results complete",e.FetchSearchResultsFinish="fetch search results finish",e.FetchCitiesByGeoIpComplete="fetch cities by geo IP finish",e.FetchCitiesByKeywordComplete="fetch cities by keyword finish",e.DisplayInitialCities="display initial cities",e.DisplayInitialSearchResults="display initial search results",e.GrantGeoLocationPermission="grant geolocation permission",e.DenyGeoLocationPermission="deny geolocation permission",e.OpenMobileModal="open mobile modal",e.CloseMobileModal="close mobile modal",e.UpdateInitialSearchValue="update initial search value",e.SelectSearchResult="select search result",e.SetInputSearchPlaceholder="set input search placeholder"}(ye||(ye={}));var je,Me,Re,Ae,Ne,Pe,Fe,ze=function(){return v.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},v.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72624 14.8099 11.1704 14.2653 12.3089 13.3546L15.2377 16.2834C15.5265 16.5722 15.9947 16.5722 16.2834 16.2834C16.5722 15.9947 16.5722 15.5265 16.2834 15.2377L13.3546 12.3089C14.2653 11.1704 14.8099 9.72624 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"white"}))},qe=b.default.button(je||(je=e.__makeTemplateObject(["\n min-height: 100%;\n border-radius: 6px;\n background-color: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 11px;\n cursor: pointer;\n flex: 0.3;\n\n "," {\n --margin: 16px;\n min-height: 44px;\n margin: var(--margin);\n width: calc(100% - var(--margin) * 2);\n position: absolute;\n bottom: 0;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 1px solid black;\n }\n"],["\n min-height: 100%;\n border-radius: 6px;\n background-color: ",";\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 11px;\n cursor: pointer;\n flex: 0.3;\n\n "," {\n --margin: 16px;\n min-height: 44px;\n margin: var(--margin);\n width: calc(100% - var(--margin) * 2);\n position: absolute;\n bottom: 0;\n }\n\n &:hover {\n background-color: ",";\n }\n\n &:active {\n background-color: ",";\n }\n\n &:focus-visible {\n outline: 1px solid black;\n }\n"])),(function(e){return e.theme.colors.primaryBase}),c.MediaQueries.mbDown,(function(e){return e.theme.colors.primaryHover}),(function(e){return e.theme.colors.primaryActive})),De=b.default(l.Text)(Me||(Me=e.__makeTemplateObject(["\n font-weight: ",";\n"],["\n font-weight: ",";\n"])),(function(e){return e.theme.sizes.fwSemiBold})),Be=function(e){var t=e.onClick,n=(0,o.useTranslations().t)("booking.searchBar.searchButton");return v.default.createElement(qe,{onClick:t,title:n},v.default.createElement(ze,null),v.default.createElement(De,{size:"s3",color:"white"},n))},He=b.default.div(Re||(Re=e.__makeTemplateObject(["\n display: flex;\n gap: 16px;\n "," {\n flex-direction: column;\n padding: 14px;\n background-color: ",";\n\n input {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n }\n\n input {\n background-color: white;\n }\n"],["\n display: flex;\n gap: 16px;\n "," {\n flex-direction: column;\n padding: 14px;\n background-color: ",";\n\n input {\n filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.06))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n }\n }\n\n input {\n background-color: white;\n }\n"])),c.MediaQueries.mbDown,p.theme.colors.blue50),Ve=b.default.div(Ae||(Ae=e.__makeTemplateObject(["\n position: relative;\n"],["\n position: relative;\n"]))),Ke=b.default(Ve)(Ne||(Ne=e.__makeTemplateObject(["\n flex: 1;\n"],["\n flex: 1;\n"]))),Ze=b.default(Ve)(Pe||(Pe=e.__makeTemplateObject(["\n flex: 2;\n"],["\n flex: 2;\n"]))),Ge=b.default((function(e){var t=e.className,n=e.color;return v.default.createElement("svg",{className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.default.createElement("rect",{x:"4",y:"4",width:"16",height:"16",rx:"8",fill:"white"}),v.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289Z",fill:n||"currentColor"}))}))(Fe||(Fe=e.__makeTemplateObject(["\n display: none;\n &.shown {\n display: block;\n }\n"],["\n display: none;\n &.shown {\n display: block;\n }\n"])));function Ue(e){var a=e.isMobile,i=e.state,r=e.dispatch,l=e.debouncedFetchCitiesByKeyword,s=e.debouncedFetchSearchResults,c=e.focusLocationInput,u=e.focusSearchInput,d=e.renderLocationResults,h=e.renderSearchResults,f=e.locationTrackingAttributes,g=e.trackingAttributes,C=e.onSearch,x=e.initalSearchValue,y=t.useRef(null),b=t.useRef(null),_=i.focused,w=i.searchLocationKeywords,E=i.geoLocationPermission,k=i.selectedLocation,L=i.searchKeywords,S=i.inputSearchPlaceholder,T=o.useTranslations().t;de({wrapperRef:b,disabled:!!S}),m.useOutsideClick(y,(function(){r({type:ye.ClickOutsideInputLocation})})),m.useOutsideClick(b,(function(){r({type:ye.ClickOutsideInputSearch})}));var O=t.useMemo((function(){return"granted"===E&&(null==k?void 0:k.id)===n.ID_OPTION_CURRENT_LOCATION?p.theme.colors.primaryBase:p.theme.colors.gray400}),[E,k]),I=t.useCallback((function(e){r({type:ye.ChangeInputSearch,payload:e}),"function"!=typeof C&&(e.trim().length>Se[i.locale]||x?s(e.trim(),i):(s.cancel(),r({type:ye.DisplayInitialSearchResults})))}),[r,i]),j=t.useCallback((function(e){r({type:ye.ChangeInputLocation,payload:e}),e.trim().length>Se[i.locale]?l(e.trim()):(l.cancel(),r({type:ye.DisplayInitialCities}))}),[l,r]);return v.default.createElement(He,null,v.default.createElement(Ke,{ref:y},v.default.createElement(D,{inputClassName:"location"===_?"focused":void 0,placeholder:T("booking.searchBar.locationPlaceholder"),autoComplete:"off",name:"search-location",displayIcon:v.default.createElement(V,{className:"location-pin-icon",color:O}),actionIcon:v.default.createElement(Ge,{color:p.theme.colors.gray300,className:""!==w?"shown":""}),onActionClick:function(){r({type:ye.ClearInputLocation}),l.cancel(),c()},value:w,onChange:j,onFocus:function(){return r({type:ye.FocusInputLocation})},size:"md",trackingAttributes:f}),!a&&d()),v.default.createElement(Ze,{ref:b},v.default.createElement(D,{placeholder:S||T("booking.searchBar.searchInput.placeholder"),autoComplete:"off",name:"search-results",actionIcon:v.default.createElement(Ge,{color:p.theme.colors.gray300,className:""!==L?"shown":""}),onActionClick:function(){r({type:ye.ClearInputSearch}),s.cancel(),s("",i),u()},value:L,onChange:I,onFocus:function(){return r({type:ye.FocusInputSearch})},inputClassName:"search"===_?"focused":void 0,size:"md",trackingAttributes:g,onKeyPress:function(e){i.autoCompleteDisabled&&"Enter"===e.key&&C&&C({cityId:i.selectedLocation.id,keyword:L})},enterKeyHint:i.autoCompleteDisabled?"search":void 0}),!a&&h()),i.autoCompleteDisabled&&!i.isMobile&&v.default.createElement(Be,{onClick:function(){C({cityId:i.selectedLocation.id,keyword:L})}}))}var Qe,We,Ye,Je,Xe,$e,et,tt,nt,at,it,ot,rt,lt,st=b.default.li(Qe||(Qe=e.__makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: var(--rowGap);\n cursor: pointer;\n"],["\n display: flex;\n align-items: center;\n gap: var(--rowGap);\n cursor: pointer;\n"]))),ct=b.default.div(We||(We=e.__makeTemplateObject(["\n --wrapper-size: var(--graphicSize);\n border-radius: calc(var(--wrapper-size) / 2);\n background-color: var(--neutral50);\n width: var(--wrapper-size);\n height: var(--wrapper-size);\n aspect-ratio: 1/1;\n overflow: hidden;\n\n ","\n\n img {\n width: var(--graphicSize);\n height: var(--graphicSize);\n ","\n }\n\n &:focus-visible {\n outline: 1px solid ",";\n }\n"],["\n --wrapper-size: var(--graphicSize);\n border-radius: calc(var(--wrapper-size) / 2);\n background-color: var(--neutral50);\n width: var(--wrapper-size);\n height: var(--wrapper-size);\n aspect-ratio: 1/1;\n overflow: hidden;\n\n ","\n\n img {\n width: var(--graphicSize);\n height: var(--graphicSize);\n ","\n }\n\n &:focus-visible {\n outline: 1px solid ",";\n }\n"])),(function(e){var t=e.type;return t&&"doctors"===t&&"\n border-radius: calc(var(--graphicSize) / 2);\n "}),(function(e){var t=e.type;return t&&"doctors"===t?"\n\n object-fit: cover; \n ":"\n object-fit: contain;\n "}),p.theme.colors.gray600),ut=b.default(l.Text)(Ye||(Ye=e.__makeTemplateObject(["\n line-height: 22px;\n letter-spacing: -0.2px;\n\n "," {\n &[data-size='p3'] {\n font-size: 14px;\n }\n }\n"],["\n line-height: 22px;\n letter-spacing: -0.2px;\n\n "," {\n &[data-size='p3'] {\n font-size: 14px;\n }\n }\n"])),c.MediaQueries.tdUp),dt=b.default.figure(Je||(Je=e.__makeTemplateObject(["\n max-width: var(--graphicSize);\n min-width: var(--graphicSize);\n"],["\n max-width: var(--graphicSize);\n min-width: var(--graphicSize);\n"]))),pt=b.default.svg(Xe||(Xe=e.__makeTemplateObject(["\n margin: 0 auto;\n display: block;\n"],["\n margin: 0 auto;\n display: block;\n"]))),ht=b.default.div($e||($e=e.__makeTemplateObject(["\n display: grid;\n place-items: center;\n"],["\n display: grid;\n place-items: center;\n"]))),ft={doctors:function(e){var t=e.width,n=e.height;return v.default.createElement("svg",{width:t||32,height:n||32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.default.createElement("g",{clipPath:"url(#clip0_14712_400114)"},v.default.createElement("rect",{width:"32",height:"32",rx:"16",fill:"#E4E8EC"}),v.default.createElement("path",{d:"M22.065 9.58305C22.1108 9.80952 22.1431 10.0396 22.1614 10.2722C22.3769 13.0522 22.5858 16.1276 22.5727 17.618C22.5306 20.5688 19.708 21.1325 19.4564 21.1769L19.4495 21.5357L19.5228 23.9014C20.8688 23.9341 22.203 24.1759 23.4772 24.6196C24.5264 24.9739 25.4827 25.5591 26.2757 26.332C27.0688 27.105 27.6783 28.0461 28.0594 29.0858L31.9886 39.2068C31.91 39.3048 30.6939 39.6356 29.4888 39.944C30.1695 42.3315 30.4582 44.8142 30.3432 47.2953C30.2991 48.2666 30.1816 49.264 29.7245 50.1211C29.4508 50.6342 29.0319 51.0912 28.5296 51.3753C28.5099 51.4347 28.4864 51.4928 28.4593 51.5495C28.4293 51.6146 28.3908 51.6756 28.3448 51.7307C28.3293 51.7772 28.3232 51.8406 28.3162 51.9135C28.3004 52.0779 28.2799 52.2909 28.1362 52.4685C28.001 52.6373 27.8519 52.7945 27.6905 52.9386C27.6905 52.9386 27.092 52.9667 26.4133 52.9845L26.458 58.4088H5.7492L6.30965 52.9523L5.66093 53.1637C5.07664 53.3528 4.45628 53.4028 3.84925 53.3099C3.24222 53.2169 2.66526 52.9835 2.1643 52.6283C1.61489 52.2388 1.17445 51.715 0.884966 51.1068C0.595484 50.4987 0.46662 49.8266 0.510669 49.1545L0.644528 47.1369L1.41503 38.3366L1.81323 38.4135L-0.914307 37.8437L-0.402886 36.5663C-0.407359 36.5645 -0.411803 36.5627 -0.416214 36.5608C-0.410804 36.56 -0.40538 36.5594 -0.399946 36.5589L2.05995 30.4146C3.00034 28.0825 4.7421 26.1624 6.97187 24.9999C8.56171 24.176 10.3028 23.6861 12.0882 23.5597L11.788 16.5865C11.1882 16.6507 10.0095 16.5266 9.96087 14.954C9.91229 13.3824 11.0457 13.3171 11.6507 13.3961L11.6445 13.2523C11.5785 12.8433 11.5088 12.439 11.4577 12.2132C11.3782 11.8628 11.2611 11.4953 11.1419 11.1207C10.8794 10.2967 10.6061 9.43855 10.697 8.65293C10.697 8.65293 10.6909 8.00438 11.4565 7.24044C11.3707 6.86644 11.3686 6.47786 11.4507 6.10258C11.5366 5.70965 11.7125 5.34199 11.9645 5.02848C12.2165 4.71497 12.5377 4.46414 12.9029 4.29569C13.2682 4.12725 13.6675 4.04577 14.0696 4.05766C14.2277 4.06393 14.3849 4.08493 14.5418 4.10589C14.7932 4.13945 15.0439 4.17294 15.2971 4.14581C15.7708 4.09409 16.177 3.83884 16.5862 3.58167C16.8357 3.42492 17.0863 3.26745 17.354 3.15494C17.9119 2.93744 18.5266 2.91281 19.1002 3.08497C19.6738 3.25713 20.1733 3.61619 20.5192 4.105C20.5943 4.21716 20.6621 4.33678 20.7298 4.45631C20.9035 4.76299 21.077 5.06915 21.373 5.24769C21.5927 5.38236 21.8482 5.42658 22.1057 5.47114C22.2633 5.49842 22.4216 5.52582 22.5728 5.57417C23.0267 5.71015 23.3999 6.0411 23.6319 6.45436C23.6327 6.40753 23.6317 6.36062 23.629 6.31374C23.6502 6.3657 23.6623 6.42092 23.6649 6.47698C23.6661 6.49165 23.667 6.50632 23.6677 6.521C23.8246 6.82609 23.9058 7.17114 23.8885 7.51347C23.8544 7.93447 23.7053 8.33801 23.4574 8.68001C23.2096 9.02201 22.8725 9.28933 22.483 9.45278C22.3469 9.50712 22.2071 9.55061 22.065 9.58305Z",fill:"white"})),v.default.createElement("defs",null,v.default.createElement("clipPath",{id:"clip0_14712_400114"},v.default.createElement("rect",{width:"32",height:"32",rx:"16",fill:"white"}))))},services:function(e){var t=e.width,n=e.height;return v.default.createElement("svg",{width:t||30,height:n||30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v.default.createElement("circle",{cx:"15",cy:"15",r:"15",fill:"#F7F9FC"}),v.default.createElement("path",{d:"M14.9998 6.66663C12.2752 6.66663 9.85335 7.97848 8.33317 9.99996H10.5988C11.8 8.94527 13.3625 8.33329 14.9998 8.33329C16.6372 8.33329 18.1997 8.94527 19.4009 9.99996H21.6665C20.1463 7.97848 17.7244 6.66663 14.9998 6.66663ZM7.7863 10.8333C7.07666 13.0403 6.6665 15.5989 6.6665 18.3333C6.6665 20.0846 6.82601 21.7675 7.13525 23.3333H22.8644C23.1737 21.7675 23.3332 20.0846 23.3332 18.3333C23.3332 15.5989 22.923 13.0403 22.2134 10.8333H7.7863ZM14.9998 13.3333C17.3013 13.3333 19.1665 15.1985 19.1665 17.5C19.1665 19.8014 17.3013 21.6666 14.9998 21.6666C12.6984 21.6666 10.8332 19.8014 10.8332 17.5C10.8332 15.1985 12.6984 13.3333 14.9998 13.3333ZM14.1665 15V16.6666H12.4998V18.3333H14.1665V20H15.8332V18.3333H17.4998V16.6666H15.8332V15H14.1665Z",fill:"#BFC5CC"}))}},gt=function(e){var n=e.type,a=e.item,i=e.imageUrl,o=e.onClickItem,r=t.useMemo((function(){var e=ft[n]||G;return v.default.createElement(e,{width:32,height:"services"===n?32:24})}),[n]);return v.default.createElement(st,{onClick:function(){return o&&o(a)},onKeyDown:function(e){"Enter"!==e.key&&"Space"!==e.key||o&&o(a)},tabIndex:0,role:"button"},v.default.createElement(dt,null,"hospitals"===n?v.default.createElement(pt,{width:"12",height:"16",viewBox:"0 0 12 16"},v.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.75 5.94873C0.75 3.04623 3.0975 0.69873 6 0.69873C8.9025 0.69873 11.25 3.04623 11.25 5.94873C11.25 9.07623 7.935 13.3887 6.5775 15.0312C6.2775 15.3912 5.73 15.3912 5.43 15.0312C4.065 13.3887 0.75 9.07623 0.75 5.94873ZM4.125 5.94873C4.125 6.98373 4.965 7.82373 6 7.82373C7.035 7.82373 7.875 6.98373 7.875 5.94873C7.875 4.91373 7.035 4.07373 6 4.07373C4.965 4.07373 4.125 4.91373 4.125 5.94873Z",fill:"#9AA2AC"})):v.default.createElement(ct,{type:n},i?v.default.createElement("img",{src:i,width:32,height:"services"===n?32:24}):r)),v.default.createElement(ut,{color:p.theme.colors.gray800,size:"p3"},a.name))},mt=function(){return v.default.createElement("svg",{width:"14",height:"18",viewBox:"0 0 14 18"},v.default.createElement("path",{d:"M7.00004 0.666992C5.29757 0.666992 3.64067 0.813476 2.52087 1.03158C1.73311 1.18457 1.16671 1.86816 1.16671 2.6722V4.83366C1.16671 5.29264 1.54106 5.66699 2.00004 5.66699H12C12.459 5.66699 12.8334 5.29264 12.8334 4.83366V2.69824C12.8334 1.89421 12.267 1.21061 11.4792 1.05762C10.3562 0.839518 8.69275 0.666992 7.00004 0.666992ZM6.16671 1.50033H7.83337V2.33366H8.66671V4.00033H7.83337V4.83366H6.16671V4.00033H5.33337V2.33366H6.16671V1.50033ZM1.42712 6.50033C1.3197 6.89421 1.24158 7.32389 1.19275 7.77637C1.14718 8.18001 1.05603 9.25423 1.06254 9.36491C0.603556 9.72624 0.333374 10.2861 0.333374 10.9014C0.333374 11.8356 0.977906 12.6364 1.84379 12.8285C2.74548 15.0192 4.55212 17.3337 7.00004 17.3337C9.44796 17.3337 11.2546 14.9964 12.1563 12.8024C13.0222 12.6136 13.6667 11.8356 13.6667 10.9014C13.6667 10.2861 13.3965 9.72624 12.9375 9.36491C12.9441 9.25423 12.8562 8.16048 12.8073 7.75033C12.7552 7.30436 12.6804 6.89095 12.573 6.50033H5.35942C6.52804 8.20606 9.27543 7.18717 11.0365 7.62012C11.5736 8.79199 11.1667 10.4326 11.1667 10.4326L11.8177 10.641C11.9121 10.6702 12 10.7549 12 10.9014C12 11.0576 11.8861 11.1943 11.6875 11.1878L11.0105 11.0837L10.7761 11.7347C9.96554 14.0492 8.4128 15.667 7.00004 15.667C5.58728 15.667 4.03455 14.0492 3.224 11.7347L2.96358 11.0837L2.26046 11.1878C2.11723 11.1878 2.00004 11.0576 2.00004 10.9014C2.00004 10.7549 2.08793 10.6702 2.18233 10.641L2.83337 10.4326C2.73246 10.5531 2.4102 8.7041 2.83337 8.03678C3.59184 7.5127 4.2266 7.87728 5.12504 6.50033H1.42712ZM5.17712 9.05241C4.57166 9.05241 4.08337 9.55371 4.08337 10.1722C4.08337 10.7907 4.57166 11.292 5.17712 11.292C5.78259 11.292 6.27087 10.7907 6.27087 10.1722C6.27087 9.55371 5.78259 9.05241 5.17712 9.05241ZM8.82296 9.05241C8.21749 9.05241 7.72921 9.55371 7.72921 10.1722C7.72921 10.7907 8.21749 11.292 8.82296 11.292C9.42843 11.292 9.91671 10.7907 9.91671 10.1722C9.91671 9.55371 9.42843 9.05241 8.82296 9.05241Z",fill:"#9AA2AC"}))},Ct=function(){return v.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18"},v.default.createElement("path",{d:"M8.99996 0.666992C6.27535 0.666992 3.85348 1.97884 2.33329 4.00033H4.59892C5.80009 2.94564 7.36259 2.33366 8.99996 2.33366C10.6373 2.33366 12.1998 2.94564 13.401 4.00033H15.6666C14.1464 1.97884 11.7246 0.666992 8.99996 0.666992ZM1.78642 4.83366C1.07678 7.04069 0.666626 9.59928 0.666626 12.3337C0.666626 14.085 0.826131 15.7679 1.13538 17.3337H16.8645C17.1738 15.7679 17.3333 14.085 17.3333 12.3337C17.3333 9.59928 16.9231 7.04069 16.2135 4.83366H1.78642ZM8.99996 7.33366C11.3014 7.33366 13.1666 9.19889 13.1666 11.5003C13.1666 13.8018 11.3014 15.667 8.99996 15.667C6.69853 15.667 4.83329 13.8018 4.83329 11.5003C4.83329 9.19889 6.69853 7.33366 8.99996 7.33366ZM8.16663 9.00033V10.667H6.49996V12.3337H8.16663V14.0003H9.83329V12.3337H11.5V10.667H9.83329V9.00033H8.16663Z",fill:"#9AA2AC"}))},vt=function(){return v.default.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17"},v.default.createElement("path",{d:"M8 0.666992L0.5 5.63533V14.8337C0.5 15.7545 1.24583 16.5003 2.16667 16.5003H13.8333C14.7542 16.5003 15.5 15.7545 15.5 14.8337V5.63533L8 0.666992ZM11.3333 10.667H8.83333V13.167H7.16667V10.667H4.66667V9.00033H7.16667V6.50033H8.83333V9.00033H11.3333V10.667Z",fill:"#9AA2AC"}))},xt=function(){return v.default.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16"},v.default.createElement("path",{d:"M3.83333 0.5C2.94928 0.5 2.10143 0.851189 1.47631 1.47631C0.851189 2.10143 0.5 2.94928 0.5 3.83333C0.5 4.71739 0.851189 5.56523 1.47631 6.19036C2.10143 6.81548 2.94928 7.16667 3.83333 7.16667C4.71739 7.16667 5.56523 6.81548 6.19036 6.19036C6.81548 5.56523 7.16667 4.71739 7.16667 3.83333C7.16667 2.94928 6.81548 2.10143 6.19036 1.47631C5.56523 0.851189 4.71739 0.5 3.83333 0.5V0.5ZM10.5 0.5C9.57917 0.5 8.83333 1.24583 8.83333 2.16667V5.5C8.83333 6.42083 9.57917 7.16667 10.5 7.16667H13.8333C14.7542 7.16667 15.5 6.42083 15.5 5.5V2.16667C15.5 1.24583 14.7542 0.5 13.8333 0.5H10.5ZM3.83333 8.83333C2.94928 8.83333 2.10143 9.18452 1.47631 9.80964C0.851189 10.4348 0.5 11.2826 0.5 12.1667C0.5 13.0507 0.851189 13.8986 1.47631 14.5237C2.10143 15.1488 2.94928 15.5 3.83333 15.5C4.71739 15.5 5.56523 15.1488 6.19036 14.5237C6.81548 13.8986 7.16667 13.0507 7.16667 12.1667C7.16667 11.2826 6.81548 10.4348 6.19036 9.80964C5.56523 9.18452 4.71739 8.83333 3.83333 8.83333V8.83333ZM12.1667 8.83333C11.2826 8.83333 10.4348 9.18452 9.80964 9.80964C9.18452 10.4348 8.83333 11.2826 8.83333 12.1667C8.83333 13.0507 9.18452 13.8986 9.80964 14.5237C10.4348 15.1488 11.2826 15.5 12.1667 15.5C13.0507 15.5 13.8986 15.1488 14.5237 14.5237C15.1488 13.8986 15.5 13.0507 15.5 12.1667C15.5 11.2826 15.1488 10.4348 14.5237 9.80964C13.8986 9.18452 13.0507 8.83333 12.1667 8.83333V8.83333Z",fill:"#9AA2AC"}))},yt=b.default.header(et||(et=e.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n padding: 12px 24px;\n background-color: ",";\n box-shadow: inset 0px 1px 0px #e4e8ec;\n"],["\n display: flex;\n justify-content: space-between;\n padding: 12px 24px;\n background-color: ",";\n box-shadow: inset 0px 1px 0px #e4e8ec;\n"])),p.theme.colors.neutral50),bt=b.default.div(tt||(tt=e.__makeTemplateObject(["\n display: grid;\n flex: 2;\n align-items: center;\n gap: 16px;\n grid-template-columns: 16px 1fr;\n"],["\n display: grid;\n flex: 2;\n align-items: center;\n gap: 16px;\n grid-template-columns: 16px 1fr;\n"]))),_t=b.default.p(nt||(nt=e.__makeTemplateObject(["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n letter-spacing: -0.2px;\n line-height: 22px;\n"],["\n color: ",";\n font-size: 14px;\n font-weight: ",";\n letter-spacing: -0.2px;\n line-height: 22px;\n"])),p.theme.colors.neutral800,p.theme.sizes.fwSemiBold),wt=b.default.button(at||(at=e.__makeTemplateObject(["\n flex: 1;\n cursor: pointer;\n text-align: end;\n"],["\n flex: 1;\n cursor: pointer;\n text-align: end;\n"]))),Et=b.default.section(it||(it=e.__makeTemplateObject(["\n padding: 12px 16px;\n --rowGap: 16px;\n --graphicSize: 32px;\n\n "," {\n --rowGap: 8px;\n }\n"],["\n padding: 12px 16px;\n --rowGap: 16px;\n --graphicSize: 32px;\n\n "," {\n --rowGap: 8px;\n }\n"])),c.MediaQueries.tdUp),kt=b.default.ul(ot||(ot=e.__makeTemplateObject(["\n --gap: 16px;\n "," {\n --gap: 8px;\n }\n\n display: grid;\n overflow: hidden;\n gap: var(--gap);\n transition: max-height 0.8s ease-out;\n\n ","\n\n ","\n\n@media (prefers-reduced-motion) {\n transition: none;\n }\n\n "," {\n grid-template-columns: 1fr 1fr;\n } ;\n"],["\n --gap: 16px;\n "," {\n --gap: 8px;\n }\n\n display: grid;\n overflow: hidden;\n gap: var(--gap);\n transition: max-height 0.8s ease-out;\n\n ","\n\n ","\n\n@media (prefers-reduced-motion) {\n transition: none;\n }\n\n "," {\n grid-template-columns: 1fr 1fr;\n } ;\n"])),c.MediaQueries.tdUp,(function(e){return e.isMore&&"\n height: auto;\n max-height: 0;\n margin-top: var(--gap);\n "}),(function(e){return e.isShown&&"\n max-height: 600px;\n "}),c.MediaQueries.tdUp),Lt=b.default(l.Text)(rt||(rt=e.__makeTemplateObject(["\n margin-top: 12px;\n margin-bottom: 8px;\n cursor: pointer;\n text-align: start;\n text-transform: capitalize;\n"],["\n margin-top: 12px;\n margin-bottom: 8px;\n cursor: pointer;\n text-align: start;\n text-transform: capitalize;\n"]))),St=function(e){var a=e.type,i=e.data,r=e.state,s=e.dispatch,c=e.itemsToShow,u=e.itemsToShowDesktop,d=e.isMobile,h=e.isLoading,f=e.keyword,g=t.useState(!1),m=g[0],C=g[1],x=o.useTranslations(),y=x.t,b=x.locale,w=r.selectedLocation,E=r.searchKeywords,k=t.useMemo((function(){return n.LOCALIZED_SLUGS[b]}),[b]),L=t.useMemo((function(){return{doctors:{name:y("booking.searchPopup.doctors"),icon:v.default.createElement(mt,null),slug:k.DOCTOR},services:{name:y("booking.searchPopup.services"),icon:v.default.createElement(Ct,null),slug:k.SERVICE},hospitals:{name:y("booking.searchPopup.hospitals"),icon:v.default.createElement(vt,null),slug:k.HOSPITAL},specialties:{name:y("booking.searchPopup.specialties"),icon:v.default.createElement(xt,null),slug:k.SPECIALTIES}}}),[a,k]),S=t.useMemo((function(){return L[a].slug}),[L]),T=d?c:u;function O(e){var t="";switch(a){case"specialties":t="/".concat(w.slug,"/").concat(L.doctors.slug,"/").concat(e.slug);break;case"services":t="/".concat(w.slug,"/").concat(S,"/").concat(e.slug);break;case"doctors":case"hospitals":t="/".concat(S,"/").concat(e.slug,"-").concat(e.id)}t&&s({type:ye.SelectSearchResult,payload:{name:e.name,url:t}})}function I(e){return v.default.createElement(gt,{key:e.id,item:e,type:a,imageUrl:e.logo||e.avatar||e.thumbnail,onClickItem:O})}return v.default.createElement("section",null,v.default.createElement(yt,null,v.default.createElement(bt,null,L[a].icon,v.default.createElement(_t,null,L[a].name)),f.trim().length<=Se[b]&&v.default.createElement(wt,{onClick:function(){var e="";switch(a){case"specialties":e="/".concat(S);break;case"services":case"doctors":case"hospitals":e="/".concat(w.slug,"/").concat(S)}e&&s({type:ye.NavigateTo,payload:e})}},v.default.createElement(l.Text,{size:"p3",color:p.theme.colors.primaryBase},y("booking.searchPopup.seeAll")))),(h||i&&i.length>0)&&v.default.createElement(Et,null,v.default.createElement(kt,null,h&&Array(2).fill(void 0).map((function(e,t){return v.default.createElement(st,{key:a+"loading"+t},v.default.createElement(dt,null,v.default.createElement(ht,null,v.default.createElement(_.default,{height:14,width:"hospitals"===a?12:32,style:{maxWidth:"var(--graphicSize)",minHeight:"var(--graphicSize)"}}))),v.default.createElement(_.default,{width:120,height:24}))})),!h&&i&&i.length>0&&i.slice(0,T).map(I)),v.default.createElement(kt,{isShown:m,isMore:!0},i.slice(T,-1).map(I)),"specialties"===a&&T<i.length&&!h&&v.default.createElement("button",{onClick:function(){return C(!m)}},v.default.createElement(Lt,{size:"p3",color:p.theme.colors.primaryBase},y(m?"booking.searchPopup.seeLessSpecialties":"booking.searchPopup.seeMoreSpecialties"))),"specialties"!==a&&T<i.length&&!h&&f.trim().length>Se[b]&&v.default.createElement("button",{onClick:function(){var e=L[a].slug,t="/".concat(w.slug,"/").concat(e,"?q=").concat(E);s({type:ye.NavigateTo,payload:t})}},v.default.createElement(Lt,{size:"p3",color:p.theme.colors.primaryBase},y("booking.searchPopup.searchIn.".concat(a),{name:f})))),!h&&0===(null==i?void 0:i.length)&&v.default.createElement(Et,null,v.default.createElement(l.Text,{size:"sm",color:p.theme.colors.gray400},y("booking.searchBar.noResults"))))},Tt=b.default.section(lt||(lt=e.__makeTemplateObject(["\n background-color: white;\n border-radius: 4px;\n position: absolute;\n width: 100%;\n z-index: 30;\n\n "," {\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"],["\n background-color: white;\n border-radius: 4px;\n position: absolute;\n width: 100%;\n z-index: 30;\n\n "," {\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n"])),c.MediaQueries.tdUp),Ot=function(e){var t=e.data,n=e.state,a=e.dispatch,i=e.isMobile,o=e.isLoading,r=e.keyword;return v.default.createElement(Tt,null,t&&t.map((function(e){return v.default.createElement(St,{type:e.type,state:n,dispatch:a,itemsToShow:2,itemsToShowDesktop:4,key:e.type,data:e.results,isMobile:i,isLoading:o,keyword:r})})))},It="api/lists/cities?keyword={keyword}&country_id={countryId}&site={domain}&_nopaging={noPaging}",jt="api/v2/search/?site={domain}&type={searchType}&keyword={keyword}&city_id={city}&latitude={lat}&longitude={lng}",Mt="api/geobyip?site={domain}&latitude={lat}&longitude={lng}",Rt=function(t,n,i){return y.default(t,e.__assign(e.__assign({},n),{domain:a.domainLocales[i||"en-PH"]}))};var At;!function(e){e[e.SPECIALTY=1]="SPECIALTY",e[e.DOCTOR=2]="DOCTOR",e[e.CLINIC=3]="CLINIC",e[e.SERVICE=4]="SERVICE"}(At||(At={}));var Nt=Object.freeze({__proto__:null,get RedirectType(){return At}});exports.BookingSearchBar=function(r){var l=r.isMobile,s=r.careApiDomain,c=r.geoLocationPermission,u=r.geoLocationCoordinates,d=r.initialSelectedCity,p=r.initialSearchValue,h=void 0===p?"":p,f=r.careFrontDomain,g=void 0===f?"/care":f,m=r.isDebug,C=void 0!==m&&m,y=r.askForGeolocationPermission,b=void 0!==y&&y,_=r.gaTrackingSearchBar,w=r.gaTrackingLocationSearch,E=r.autoCompleteDisabled,k=void 0!==E&&E,L=r.inputSearchPlaceholder,S=void 0===L?"":L,T=r.routerPush,O=r.onGeoLocationPermissionChange,I=r.onSearch,j=r.onChangeLocation,M=o.useTranslations(),R=M.t,A=M.locale,N=t.useRef(null),D=t.useRef(null),H=t.useState(void 0),V=H[0],K=H[1],Z=function(){var e=t.useState((function(){if("undefined"==typeof window)return"unset";if(i.getCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE))return"granted";var e=!location.protocol.includes("https")&&"localhost"!==location.hostname;return!navigator.geolocation||e?"denied":"unset"})),n=e[0],o=e[1],r=t.useState((function(){if("undefined"==typeof window)return null;var e=i.getCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE);if(e)try{return JSON.parse(e)}catch(e){console.log(e)}return null})),l=r[0],s=r[1],c=t.useCallback((function(){navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){var t={lat:"".concat(Math.round(1e7*e.coords.latitude)/1e7),lng:"".concat(Math.round(1e7*e.coords.longitude)/1e7)};i.setCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE,JSON.stringify(t),0,15),s(t),o("granted")}),(function(){i.deleteCookie(a.USER_GEOLOCATION_COORDINATES_COOKIE),o("denied")}))}),[]);return t.useMemo((function(){return{geoLocationPermission:n,geoLocationCoordinates:l,requestGeoLocation:c}}),[n,l])}(),G=Z.geoLocationPermission,U=Z.geoLocationCoordinates,Q=Z.requestGeoLocation,W=t.useReducer(Ie,Te,(function(t){return e.__assign(e.__assign({},t),{isDebug:C,isMobile:l,geoLocationPermission:c||G||"unset",geoLocationCoordinates:u||U||null,searchKeywords:h,initialSelectedCity:d||null,selectedLocation:d||t.selectedLocation||null,searchLocationKeywords:(null==d?void 0:d.name)||t.searchLocationKeywords,autoCompleteDisabled:k,inputSearchPlaceholder:S,locale:A})})),Y=W[0],J=W[1],X=Y.navigateTo,ee=Y.focused,te=Y.isLoadingCities,ne=Y.cities,ae=Y.searchKeywords,ie=Y.geoLocationPermission,oe=Y.selectedLocation,re=Y.initialSelectedCity,le=Y.defaultCity,se=Y.searchResults,ce=Y.isLoadingSearchResults,ue=Y.isMobileModalOpened,de=Y.inputSearchPlaceholder,pe=function(a){var i=a.dispatch,o=a.careApiDomain,r=a.locale,l=void 0===r?"vi-VN":r,s=t.useCallback((function(e,t){void 0===t&&(t={});var n="".concat(o).concat(e);return i({type:ye.FetchCitiesStart}),fetch(Rt(n,t,l),{method:"GET"}).then((function(e){return e.json()})).then((function(e){return 1===e._status&&e._data?null==e?void 0:e._data:(console.log("error loading cities",e),Promise.reject(e))})).finally((function(){return i({type:ye.FetchCitiesFinish})}))}),[l]),c=t.useCallback((function(t){var n=t.coordinates,a={};n&&(a={lat:n.lat,lng:n.lng});var o=[s(Mt,a)];return"zh-TW"===l&&o.push(s(It,{noPaging:1})),Promise.all(o).then((function(t){var n=t[0],a=t[1],o=e.__assign({},n);if(a){var r=o.cities.map((function(e){return e.id}));o.cities=o.cities.concat(a.cities.filter((function(e){return!r.includes(e.id)})))}i({type:ye.FetchCitiesByGeoIpComplete,payload:o})})).catch((function(e){return console.error("error loading cities by location",e)}))}),[l,o,i]);return{fetchCitiesByLocation:c,fetchCitiesByKeyword:t.useCallback((function(e){return s(It,{keyword:e}).then((function(e){i({type:ye.FetchCitiesByKeywordComplete,payload:e.cities})})).catch((function(e){return console.error("error loading cities by keyword",e)}))}),[l,o,i]),fetchSearchResults:t.useCallback((function(e,t){var a="".concat(o).concat(jt);i({type:ye.FetchSearchResultsStart});var r=t.defaultCity,s=t.selectedLocation,c=t.geoLocationCoordinates,u="";if(s&&r){s.id===n.ID_OPTION_CURRENT_LOCATION?c||(u=r.id):u=s.id;var d=(null==c?void 0:c.lat)||"",p=(null==c?void 0:c.lng)||"";return fetch(Rt(a,{domain:o,searchType:"global",keyword:e.trim().length>Se[l]?e.trim():"",city:u===n.ID_OPTION_CURRENT_LOCATION?"":u,lat:d,lng:p},l),{method:"GET",headers:{accept:"version=2.0.0.0"}}).then((function(e){return e.json()})).then((function(e){return 1===e._status&&e._data?null==e?void 0:e._data:Promise.reject(e)})).then((function(e){return i({type:ye.FetchSearchResultsComplete,payload:e})})).catch((function(e){console.log("error loading search results",{url:a,error:e})})).finally((function(){return i({type:ye.FetchSearchResultsFinish})}))}i({type:ye.FetchSearchResultsFinish})}),[l,o,i])}}({dispatch:J,locale:A,careApiDomain:s}),he=pe.fetchCitiesByLocation,ge=pe.fetchCitiesByKeyword,me=pe.fetchSearchResults,Ce=t.useMemo((function(){var e;return{id:n.ID_OPTION_CURRENT_LOCATION,name:R("booking.searchBar.currentLocation"),slug:null===(e=n.LOCALIZED_SLUGS[A])||void 0===e?void 0:e.CURRENT}}),[R,A]),ve=t.useMemo((function(){return x.default(ge,400)}),[ge]),xe=t.useMemo((function(){return x.default(me,400)}),[me]);t.useEffect((function(){""!==h&&h!==Y.searchKeywords&&J({type:ye.UpdateInitialSearchValue,payload:h})}),[h]),t.useEffect((function(){b&&(null==oe?void 0:oe.id)===n.ID_OPTION_CURRENT_LOCATION&&"unset"===ie&&Q()}),[b,oe,ie]),t.useEffect((function(){c||ie===G||("granted"===G&&U?J({type:ye.GrantGeoLocationPermission,payload:U}):"denied"===G&&J({type:ye.DenyGeoLocationPermission}))}),[ie,G,U,c]),t.useEffect((function(){X&&(T?T(X):window.location.href="".concat(g).concat(X))}),[X]);var be=t.useCallback((function(){J({type:ye.SelectCurrentLocation,payload:Ce})}),[R,J]);t.useEffect((function(){"denied"===ie||re||be(),O&&O(ie,Y.geoLocationCoordinates),l&&"granted"===ie&&oe&&J({type:ye.FocusInputSearch}),he({coordinates:Y.geoLocationCoordinates})}),[ie]),t.useEffect((function(){oe&&le&&me(Y.searchKeywords,Y)}),[oe,le]),t.useEffect((function(){S!==de&&J({type:ye.SetInputSearchPlaceholder,payload:S})}),[S,de]),t.useEffect((function(){ue?document.body.classList.add("care-popup-open"):document.body.classList.remove("care-popup-open")}),[ue]);var _e=t.useCallback((function(e){J({type:ye.SelectLocation,payload:e}),ke(),j&&j(e)}),[R,J]);function we(){l&&"granted"!==Y.geoLocationPermission?Q():(be(),ke())}function Ee(){var e;N.current&&(null===(e=N.current.querySelector('input[name="search-location"]'))||void 0===e||e.focus())}function ke(){var e;N.current&&(null===(e=N.current.querySelector('input[name="search-results"]'))||void 0===e||e.focus())}function Oe(){J({type:ye.CloseMobileModal})}function je(){return"location"!==ee?null:v.default.createElement($,{isLoading:te,cities:ne,onLocationClick:_e,onCurrentLocationClick:we,isLocationLoading:te,geoLocationPermission:ie,selectedLocation:oe})}function Me(){return"search"!==ee?null:Y.autoCompleteDisabled?l?v.default.createElement(Be,{onClick:function(){I({cityId:Y.selectedLocation.id,keyword:ae}),Oe()}}):null:v.default.createElement(Ot,{data:se,state:Y,dispatch:J,isMobile:!1,keyword:ae,isLoading:ce})}function Re(){return v.default.createElement(Ue,{isMobile:l,state:Y,dispatch:J,debouncedFetchCitiesByKeyword:ve,debouncedFetchSearchResults:xe,focusLocationInput:Ee,focusSearchInput:ke,renderLocationResults:je,renderSearchResults:Me,trackingAttributes:_,locationTrackingAttributes:w,onSearch:I,initalSearchValue:h})}return t.useEffect((function(){if(window.visualViewport){var e=function(e){var t=e.target;K(null==t?void 0:t.height)};return window.visualViewport.addEventListener("resize",e),function(){window.visualViewport.removeEventListener("resize",e)}}}),[K]),l?v.default.createElement(v.default.Fragment,null,v.default.createElement(B,null),v.default.createElement(q,{ref:D}),v.default.createElement(F,{id:"booking-search-bar",ref:N,"data-is-modal":l&&ue,style:{"--mobile-care-searchbar-height":ue&&V?"".concat(V,"px"):"100%"}},ue?v.default.createElement(v.default.Fragment,null,v.default.createElement(z,null,v.default.createElement(Le,{headingText:R("booking.searchBar.searchButton"),onLeftClick:Oe}),Re()),je(),Me()):v.default.createElement(fe,{onClick:function(){var t;return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return D.current&&D.current.focus(),J({type:ye.OpenMobileModal}),[4,Promise.resolve()];case 1:return e.sent(),N.current&&(null===(t=N.current.querySelector('input[name="search-location"]'))||void 0===t||t.focus()),[2]}}))}))},focused:ee,value:ae,trackingAttributes:_,inputSearchPlaceholder:S}))):v.default.createElement(P,{id:"booking-search-bar",ref:N},Re())},exports.types=Nt;
package/build/types.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./Locale-11b51016.js");Object.defineProperty(exports,"BabyGrowthChartDuration",{enumerable:!0,get:function(){return e.BabyGrowthChartDuration}}),Object.defineProperty(exports,"BabyGrowthChartType",{enumerable:!0,get:function(){return e.BabyGrowthChartType}}),Object.defineProperty(exports,"BabyGrowthResultTab",{enumerable:!0,get:function(){return e.BabyGrowthResultTab}}),Object.defineProperty(exports,"Gender",{enumerable:!0,get:function(){return e.Gender}}),Object.defineProperty(exports,"LOCALE",{enumerable:!0,get:function(){return e.LOCALE}});
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-f7929e76.js"),t=require("react"),n=require("./cookieHelper-612b90fa.js"),r=require("./getDynamicHealthTool-87cf062a.js");function i(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}exports.useFbDataLayer=function(r){t.useEffect((function(){var t=null;return(null==r?void 0:r.id)&&e.__awaiter(void 0,void 0,void 0,(function(){var o,a,u,c,l,s,f,d,h,v,_,m;return e.__generator(this,(function(p){switch(p.label){case 0:return[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(o=p.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:o=p.sent(),p.label=3;case 3:return[4,Promise.all([r.email?i(r.email):null,r.phone?i(r.phone):null,r.birthday?i(r.birthday.split("-").join("")):null,i(r.gender?"m":"f"),r.city_name?i(r.city_name).then((function(e){return e.replace(/\s/g,"")})):null,r.name?i(r.name):null])];case 4:return a=p.sent(),u=a[0],c=a[1],l=a[2],s=a[3],f=a[4],d=a[5],h={fbc:n.getCookie("_fbc")||"",fbp:n.getCookie("_fbp")||"",client_ip_address:(null==o?void 0:o.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},v={user_id:r.id},d&&(v.fn=d),u&&(h.em=u,v.em=u),c&&(h.ph=c,v.ph=c),l&&(h.db=l,v.db=l),s&&(h.ge=s,v.ge=s),f&&(h.ct=f,v.ct=f),null===(m=null===(_=window.localStorage)||void 0===_?void 0:_.setItem)||void 0===m||m.call(_,"fbDataLayer_userInfo",JSON.stringify(v)),function n(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return window.fbq?window.fbq("trackCustom","FB Conversion",{action_source:"website",event_source_url:window.location.href,user_data:[h]}):t=setTimeout(n,1e3),[2]}))}))}(),[2]}}))})),function(){t&&clearTimeout(t)}}),[r])},exports.useHealthToolsCache=function(n){var i=t.useState([]),o=i[0],a=i[1];t.useEffect((function(){e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,r.getDynamicHealthToolWithCache(n)];case 1:return t=e.sent(),a(t),[2]}}))}))}),[r.getDynamicHealthToolWithCache,n]);var u=t.useCallback((function(e){var t;return(null===(t=o.find((function(t){return t.template===e})))||void 0===t?void 0:t.link)||""}),[o]);return{allTools:o,getHealthToolLink:u}};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),n=function(){return"undefined"!=typeof window&&window.innerWidth<768},i=function(){return"undefined"!=typeof window&&window.innerWidth>=768&&window.innerWidth<1112};exports.useScreenSize=function(){var t=e.useState(n()),r=t[0],o=t[1],u=e.useState(i()),d=u[0],w=u[1];return e.useEffect((function(){var e=function(){o(n()),w(i())};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),{isMobile:r,isLargeMobile:d}};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),t=require("./en-PH-365f6e52.js"),n=require("./translationsContext-2d7ea471.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(require("string-format"));exports.useTranslations=function(){var a=e.useContext(n.TranslationsContext)||{locale:"en-PH"},o=a.values,s=a.locale;return e.useMemo((function(){return{t:function(e,n){return o?o[e]?n?r.default(o[e]||e,n):o[e]||e:(console.warn("[useTranslations] Missing translation for key ".concat(e," and locale ").concat(s)),n?r.default(t.defaultTranslations[e]||e,n):t.defaultTranslations[e]||e):(console.error("[useTranslations] t method called before translation values are loaded"),e)},locale:s}}),[o,s])};
@@ -0,0 +1 @@
1
+ "use strict";var e=function(e){var t=Object.keys(e);return t.length?"?"+t.map((function(t){return"".concat(t,"=").concat(e[t])})).join("&"):""},t={BREAK_POINT_SMALL_MOBILE:481,BREAK_POINT_MOBILE:768,BREAK_POINT_TABLET:1024,BREAK_POINT_PC:1200},n={smbDown:"@media (max-width: ".concat(t.BREAK_POINT_SMALL_MOBILE-1,"px)"),smbUp:"@media (min-width: ".concat(t.BREAK_POINT_SMALL_MOBILE,"px)"),mbDown:"@media (max-width: ".concat(t.BREAK_POINT_MOBILE-1,"px)"),mbOnly:"@media (min-width: ".concat(t.BREAK_POINT_SMALL_MOBILE,"px) and (max-width: ").concat(t.BREAK_POINT_MOBILE-1,"px)"),mbUp:"@media (min-width: ".concat(t.BREAK_POINT_MOBILE,"px)"),tdDown:"@media (max-width: ".concat(t.BREAK_POINT_TABLET-1,"px)"),tdOnly:"@media (min-width: ".concat(t.BREAK_POINT_MOBILE,"px) and (max-width: ").concat(t.BREAK_POINT_TABLET-1,"px)"),tdUp:"@media (min-width: ".concat(t.BREAK_POINT_TABLET,"px)"),pcUp:"@media (min-width: ".concat(t.BREAK_POINT_PC,"px)"),pcOnly:"@media (min-width: ".concat(t.BREAK_POINT_TABLET,"px) and (max-width: ").concat(t.BREAK_POINT_PC-1,"px)"),pcDown:"@media (max-width: ".concat(t.BREAK_POINT_PC-1,"px)")};exports.Breakpoints=t,exports.MediaQueries=n,exports.formatUrlWithPageParam=function(t,n,a){void 0===n&&(n=1),void 0===a&&(a="page");var r=t.split("?"),c=r[0],o=r[1],_=new URLSearchParams(o||""),i={};return _.forEach((function(e,t){e&&(i[t]=e)})),Number(n)>1?i[a]=String(n):delete i[a],c+e(i)},exports.getBoundariesFromMediaQueryKey=function(e){switch(e){case"smbDown":return[0,t.BREAK_POINT_SMALL_MOBILE-1];case"smbUp":return[t.BREAK_POINT_SMALL_MOBILE,0];case"mbDown":return[0,t.BREAK_POINT_MOBILE-1];case"mbOnly":return[t.BREAK_POINT_SMALL_MOBILE,t.BREAK_POINT_MOBILE-1];case"mbUp":return[t.BREAK_POINT_MOBILE,0];case"tdDown":return[0,t.BREAK_POINT_TABLET-1];case"tdOnly":return[t.BREAK_POINT_MOBILE,t.BREAK_POINT_TABLET-1];case"tdUp":return[t.BREAK_POINT_TABLET,0];case"pcUp":return[t.BREAK_POINT_PC,0];case"pcOnly":return[t.BREAK_POINT_TABLET,t.BREAK_POINT_PC-1];case"pcDown":return[0,t.BREAK_POINT_PC-1]}},exports.getPopupWrapperDom=function(){var e="hhg-comp-popup-wrapper";if(!document.querySelector("#"+e)){var t=document.createElement("div");t.id=e,document.body.appendChild(t)}return document.querySelector("#"+e)},exports.makeParams=e,exports.startCase=function(e){return e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}))},exports.toggleNoScroll=function(e){"undefined"!=typeof window&&(document.documentElement.style.overflow=e?"hidden":"")};
@@ -0,0 +1 @@
1
+ "use strict";require("react");exports.img="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M27 0H5C2.23858 0 0 2.23858 0 5V27C0 29.7614 2.23858 32 5 32H27C29.7614 32 32 29.7614 32 27V5C32 2.23858 29.7614 0 27 0Z' fill='%231778F2'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M20.314 32V19.499H23.569L24 15.19H20.314L20.32 13.034C20.32 11.911 20.42 11.309 21.943 11.309H23.977V7H20.722C16.812 7 15.437 9.09 15.437 12.604V15.191H13V19.499H15.437V32H20.314Z' fill='white'/%3e%3c/svg%3e",exports.img$1="data:image/svg+xml,%3csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='32' height='32' rx='6' fill='%23D42428'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M7 12C7 10.8954 7.89543 10 9 10H9.68946H10H22H22.31H23C24.1046 10 25 10.8954 25 12V12.5633V20C25 21.1046 24.1046 22 23 22H22.3098H22H10H9.68946H9C7.89543 22 7 21.1046 7 20V19.4367V12.5633V12ZM14.1994 12.4438V18.8997L19.34 15.6719L14.1994 12.4438Z' fill='white'/%3e%3c/svg%3e",exports.img$2="data:image/svg+xml,%3csvg width='32' height='32' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint0_radial)'/%3e%3cpath d='M24.9 31.983L7.13 32c-3.909.004-7.11-3.191-7.114-7.1L0 7.13C-.004 3.222 3.191.021 7.1.017L24.87 0c3.909-.004 7.11 3.191 7.114 7.1L32 24.87c.004 3.91-3.191 7.11-7.1 7.114z' fill='url(%23prefix__paint1_radial)'/%3e%3cpath d='M16 22.22A6.226 6.226 0 019.781 16c0-3.43 2.79-6.219 6.22-6.219a6.226 6.226 0 016.218 6.22c0 3.428-2.79 6.218-6.219 6.218zm0-10.662A4.447 4.447 0 0011.558 16 4.447 4.447 0 0016 20.442 4.447 4.447 0 0020.442 16 4.447 4.447 0 0016 11.558zM22.664 10.67a1.333 1.333 0 100-2.666 1.333 1.333 0 000 2.665z' fill='white'/%3e%3cpath d='M21.33 27.55H10.67a6.226 6.226 0 01-6.22-6.22V10.67c0-3.43 2.79-6.22 6.22-6.22h10.66a6.226 6.226 0 016.22 6.22v10.66c0 3.43-2.791 6.22-6.22 6.22zM10.67 6.226a4.447 4.447 0 00-4.443 4.442V21.33a4.447 4.447 0 004.442 4.442H21.33a4.447 4.447 0 004.442-4.442V10.67a4.447 4.447 0 00-4.442-4.443H10.67z' fill='white'/%3e%3cdefs%3e%3cradialGradient id='prefix__paint0_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(11.896 32.023) scale(39.8892)'%3e%3cstop stop-color='%23FD5'/%3e%3cstop offset='.328' stop-color='%23FF543F'/%3e%3cstop offset='.348' stop-color='%23FC5245'/%3e%3cstop offset='.504' stop-color='%23E64771'/%3e%3cstop offset='.643' stop-color='%23D53E91'/%3e%3cstop offset='.761' stop-color='%23CC39A4'/%3e%3cstop offset='.841' stop-color='%23C837AB'/%3e%3c/radialGradient%3e%3cradialGradient id='prefix__paint1_radial' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='matrix(26.4865 0 0 17.6479 5.15 -.4)'%3e%3cstop stop-color='%234168C9'/%3e%3cstop offset='.999' stop-color='%234168C9' stop-opacity='0'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e",exports.img$3="data:image/png;base64,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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hhgtech/hhg-components",
3
- "version": "1.21.0-beta-9",
3
+ "version": "1.21.0-beta-11",
4
4
  "main": "build/index.js",
5
5
  "module": "build/esm/index.js",
6
6
  "files": [
@@ -25,7 +25,7 @@
25
25
  "lint:fix": "eslint --fix '*/**/*.{ts,tsx}' --ignore-pattern '/build/'",
26
26
  "watch": "npx watch -u -d --wait=5 --interval=5 \"npm run build\" src/",
27
27
  "watch-copy": "npx watch -u -d --wait=5 --interval=5 \"npm run build-copy\" src/",
28
- "build-copy": "npm run build && cp -R ./build $PROJECT_PATH/node_modules/@hhgtech/hhg-components && echo 'Ready to test on local'",
28
+ "build-copy": "npm run build && rm -rf $PROJECT_PATH/.next $PROJECT_PATH/node_modules/.cache $PROJECT_PATH/node_modules/@hhgtech/hhg-components/build && cp -R ./build $PROJECT_PATH/node_modules/@hhgtech/hhg-components && cp package.json $PROJECT_PATH/node_modules/@hhgtech/hhg-components/package.json && echo 'Ready to test on local'",
29
29
  "type-check": "tsc",
30
30
  "get-translation": "node getTranslationFromFile.js",
31
31
  "generate:component": "plop component",
@@ -65,14 +65,20 @@
65
65
  },
66
66
  "license": "UNLICENSED",
67
67
  "peerDependencies": {
68
+ "@emotion/react": "^11.10.5",
69
+ "@mantine/core": "^5.8.0",
70
+ "@mantine/dates": "^5.8.0",
71
+ "@mantine/form": "^5.8.0",
72
+ "@mantine/hooks": "^5.8.0",
68
73
  "date-fns": ">=2.16.1",
74
+ "dayjs": "^1.11.6",
69
75
  "lodash": ">=4.17.20",
70
- "react": "^17.0.1",
71
76
  "react-day-picker": "^7.4.10",
72
77
  "react-dom": "^17.0.1",
73
78
  "react-id-generator": ">=3.0.1",
74
79
  "react-loading-skeleton": "^3.1.0",
75
80
  "react-range": ">=1.8.3",
81
+ "react": "^17.0.1",
76
82
  "smoothscroll-polyfill": ">=0.4.4",
77
83
  "styled-components": ">=5.3.0"
78
84
  },
@@ -150,7 +156,13 @@
150
156
  "xlsx": "^0.18.5"
151
157
  },
152
158
  "dependencies": {
159
+ "@emotion/react": "^11.10.5",
160
+ "@mantine/core": "^5.8.0",
161
+ "@mantine/dates": "^5.8.0",
162
+ "@mantine/form": "^5.8.0",
163
+ "@mantine/hooks": "^5.8.0",
153
164
  "browser-image-compression": "^2.0.0",
165
+ "dayjs": "^1.11.6",
154
166
  "innertext": "^1.0.3",
155
167
  "keen-slider": "^6.7.0",
156
168
  "react-contenteditable": "^3.3.6",
@@ -169,15 +181,61 @@
169
181
  "navigation": [
170
182
  "build/components/organisms/navigationV2/index.d.ts"
171
183
  ],
184
+ "imgHHG": [
185
+ "build/modules/imgHHG/index.d.ts"
186
+ ],
187
+ "navigationLayout_deprecated": [
188
+ "build/components/organisms/navigationLayout_deprecated/exportLegacy.d.ts"
189
+ ],
190
+ "constants": [
191
+ "build/interfaces/constants.d.ts"
192
+ ],
193
+ "types": [
194
+ "build/interfaces/types/index.d.ts"
195
+ ],
172
196
  "babyGrowth": [
173
197
  "build/components/babyGrowth.d.ts"
174
198
  ],
199
+ "mantine": [
200
+ "build/components/mantine/index.d.ts"
201
+ ],
202
+ "mantine/*": [
203
+ "build/components/mantine/*.d.ts",
204
+ "build/components/mantine/*/index.d.ts"
205
+ ],
206
+ "components/atoms": [
207
+ "build/components/atoms/index.d.ts"
208
+ ],
209
+ "components/atoms/*": [
210
+ "build/components/atoms/*.d.ts",
211
+ "build/components/atoms/*/index.d.ts"
212
+ ],
213
+ "components/organisms": [
214
+ "build/components/organisms/index.d.ts"
215
+ ],
216
+ "components/organisms/*": [
217
+ "build/components/organisms/*.d.ts",
218
+ "build/components/organisms/*/index.d.ts"
219
+ ],
220
+ "components/molecules": [
221
+ "build/components/molecules/index.d.ts"
222
+ ],
223
+ "components/molecules/*": [
224
+ "build/components/molecules/*.d.ts",
225
+ "build/components/molecules/*/index.d.ts"
226
+ ],
227
+ "core": [
228
+ "build/core_deprecated.d.ts"
229
+ ],
230
+ "ecom": [
231
+ "build/ecom_temp_excluded/index.d.ts"
232
+ ],
175
233
  "build/*": [
176
- "build/*",
234
+ "build/*.d.ts",
177
235
  "build/*/index.d.ts"
178
236
  ],
179
237
  "*": [
180
- "build/*",
238
+ "build/*.d.ts",
181
239
  "build/*/index.d.ts"
182
240
  ]
183
241
  }
@@ -1 +0,0 @@
1
- "use strict";var e=require("./lazyLoad-0454885d.js"),t=require("./tslib.es6-f7929e76.js"),n=require("react"),r=require("./cookieHelper-612b90fa.js"),i=require("./core-8fcc56eb.js"),o=require("./routing-9fbc897b.js"),a=require("date-fns"),u=Object.freeze({__proto__:null,get Gender(){return e.Gender},get BabyGrowthChartType(){return e.BabyGrowthChartType},get BabyGrowthChartDuration(){return e.BabyGrowthChartDuration},get BabyGrowthResultTab(){return e.BabyGrowthResultTab},get LOCALE(){return e.LOCALE}});function l(e){var t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}var s=function(e,t){var n,r;if(!e)return{};var i="tl-PH"===t?"/fil":"";return{id:e.id,isSubot:e.is_subot,template:e.template,icon:e.icon,link:(null===(n=e.link)||void 0===n?void 0:n.startsWith("http"))?e.link:"".concat(i,"/health-tools")+(null===(r=e.link)||void 0===r?void 0:r.replace("".concat(i,"/"),"/")),subtitle:e.subtitle,title:e.title}},c=function(e){return t.__awaiter(void 0,void 0,void 0,(function(){var n,r,i,a,u,l,c;return t.__generator(this,(function(t){switch(t.label){case 0:return t.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(n=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:n=t.sent(),t.label=3;case 3:r="tl-PH"===e?"lang=fil":"",i=[],t.label=4;case 4:return t.trys.push([4,6,,7]),[4,n("".concat(o.getDiscoverApiDomain(e),"/wp-json/api/healthtools?ismenu=0").concat(r?"&"+r:"")).then((function(e){return e.json()}))];case 5:return a=t.sent(),i=(null===(c=null===(l=null==a?void 0:a.data)||void 0===l?void 0:l.map)||void 0===c?void 0:c.call(l,(function(t){return s(t,e)})))||[],[3,7];case 6:return t.sent(),[3,7];case 7:return[2,i];case 8:return u=t.sent(),console.error(u),[3,9];case 9:return[2]}}))}))},d=function(e){return t.__awaiter(void 0,void 0,void 0,(function(){return t.__generator(this,(function(t){switch(t.label){case 0:return[4,i.getDataWithCache("all-health-tools",(function(){return c(e||"en-PH")}))];case 1:return[2,t.sent()||[]]}}))}))};exports.ageGenerate=function(e,t){void 0===t&&(t=new Date);var n=a.differenceInWeeks(t,e,{roundingMethod:"ceil"}),r=a.differenceInMonths(t,e);return{year:Math.floor(r/12),month:r%12,week:n}},exports.formatHealthTool=s,exports.getDynamicHealthTool=c,exports.getDynamicHealthToolWithCache=d,exports.index=u,exports.useFbDataLayer=function(e){n.useEffect((function(){var n=null;return(null==e?void 0:e.id)&&t.__awaiter(void 0,void 0,void 0,(function(){var i,o,a,u,s,c,d,f,h,v,_,p;return t.__generator(this,(function(b){switch(b.label){case 0:return[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(i=b.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:i=b.sent(),b.label=3;case 3:return[4,Promise.all([e.email?l(e.email):null,e.phone?l(e.phone):null,e.birthday?l(e.birthday.split("-").join("")):null,l(e.gender?"m":"f"),e.city_name?l(e.city_name).then((function(e){return e.replace(/\s/g,"")})):null,e.name?l(e.name):null])];case 4:return o=b.sent(),a=o[0],u=o[1],s=o[2],c=o[3],d=o[4],f=o[5],h={fbc:r.getCookie("_fbc")||"",fbp:r.getCookie("_fbp")||"",client_ip_address:(null==i?void 0:i.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},v={user_id:e.id},f&&(v.fn=f),a&&(h.em=a,v.em=a),u&&(h.ph=u,v.ph=u),s&&(h.db=s,v.db=s),c&&(h.ge=c,v.ge=c),d&&(h.ct=d,v.ct=d),null===(p=null===(_=window.localStorage)||void 0===_?void 0:_.setItem)||void 0===p||p.call(_,"fbDataLayer_userInfo",JSON.stringify(v)),window.dataLayer=window.dataLayer||[],window.dataLayer.push(t.__assign(t.__assign({},h),{event:"FB Conversion"})),function e(){return t.__awaiter(this,void 0,void 0,(function(){return t.__generator(this,(function(t){return window.fbq?window.fbq("trackCustom","FB Conversion",{action_source:"website",event_source_url:window.location.href,user_data:[h]}):n=setTimeout(e,2e3),[2]}))}))}(),[2]}}))})),function(){n&&clearTimeout(n)}}),[e])},exports.useHealthToolsCache=function(){var e=n.useState([]),r=e[0],i=e[1];n.useEffect((function(){t.__awaiter(void 0,void 0,void 0,(function(){var e;return t.__generator(this,(function(t){switch(t.label){case 0:return[4,d()];case 1:return e=t.sent(),i(e),[2]}}))}))}),[d]);var o=n.useCallback((function(e){var t;return(null===(t=r.find((function(t){return t.template===e})))||void 0===t?void 0:t.link)||""}),[r]);return{allTools:r,getHealthToolLink:o}};
@@ -1 +0,0 @@
1
- "use strict";var e={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},o=Object.freeze({__proto__:null,basePath:"/care",LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},LOCALIZED_SLUGS:e,ID_OPTION_CURRENT_LOCATION:-1});exports.CARE_PATHS={SPECIALTIES:"api/specialties?_ishome=1&site={domain}"},exports.DISCOVER_PATHS={SPOTLIGHTS:"spotlights?per_page={perPage}&order_by={orderBy}",HEALTH_TOOLS:"healthtools",HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",CATEGORIES:"categories?type=all",FOOTER:"footer"},exports.FAVICONS={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},exports.ID_OPTION_CURRENT_LOCATION=-1,exports.LOCALE_SPECS={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},exports.LOCALIZED_SLUGS=e,exports.MARRY_BABY_DEFAULT_FOOTER={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},exports.MARRY_BABY_PATH={FOOTER:"menu/footer",HEALTH_TOOLS:"health-tools"},exports.SSO_PATHS={SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help"},exports.STATIC_PAGES={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},exports.TOGETHER_PATHS={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},exports.Z_INDEX={adBlock:48,headerContainerHome:99,headerContainerPopup:300,headerContainerPopupSUbLevel:400,menuCategoryPopupWrapper:200,menuCategoryPopupContainer:210,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:300,homeSearchComponent:200},exports.constants=o,exports.domainLocales={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"};
@@ -1 +0,0 @@
1
- import{G as t,B as e,a as n,b as r,L as o}from"./lazyLoad-d80d3fd1.js";import{_ as i,a,b as u}from"./tslib.es6-6ae0d506.js";import{useEffect as s,useState as l,useCallback as c}from"react";import{g as d}from"./cookieHelper-0e8521c3.js";import{g as f}from"./core-286f158c.js";import{c as h}from"./routing-f63546d5.js";import{differenceInWeeks as v,differenceInMonths as p}from"date-fns";var m=Object.freeze({__proto__:null,get Gender(){return t},get BabyGrowthChartType(){return e},get BabyGrowthChartDuration(){return n},get BabyGrowthResultTab(){return r},get LOCALE(){return o}});function b(t){var e=(new TextEncoder).encode(t.trim().toLowerCase());return crypto.subtle.digest("SHA-256",e).then((function(t){return Array.from(new Uint8Array(t)).map((function(t){return t.toString(16).padStart(2,"0")})).join("")}))}var w=function(t){s((function(){var e=null;return(null==t?void 0:t.id)&&i(void 0,void 0,void 0,(function(){var n,r,o,s,l,c,f,h,v,p,m,w;return a(this,(function(g){switch(g.label){case 0:return[4,fetch("https://api.ipify.org").then((function(t){return t.text()}))];case 1:return(n=g.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(t){return t.text()}))];case 2:n=g.sent(),g.label=3;case 3:return[4,Promise.all([t.email?b(t.email):null,t.phone?b(t.phone):null,t.birthday?b(t.birthday.split("-").join("")):null,b(t.gender?"m":"f"),t.city_name?b(t.city_name).then((function(t){return t.replace(/\s/g,"")})):null,t.name?b(t.name):null])];case 4:return r=g.sent(),o=r[0],s=r[1],l=r[2],c=r[3],f=r[4],h=r[5],v={fbc:d("_fbc")||"",fbp:d("_fbp")||"",client_ip_address:(null==n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},p={user_id:t.id},h&&(p.fn=h),o&&(v.em=o,p.em=o),s&&(v.ph=s,p.ph=s),l&&(v.db=l,p.db=l),c&&(v.ge=c,p.ge=c),f&&(v.ct=f,p.ct=f),null===(w=null===(m=window.localStorage)||void 0===m?void 0:m.setItem)||void 0===w||w.call(m,"fbDataLayer_userInfo",JSON.stringify(p)),window.dataLayer=window.dataLayer||[],window.dataLayer.push(u(u({},v),{event:"FB Conversion"})),function t(){return i(this,void 0,void 0,(function(){return a(this,(function(n){return window.fbq?window.fbq("trackCustom","FB Conversion",{action_source:"website",event_source_url:window.location.href,user_data:[v]}):e=setTimeout(t,2e3),[2]}))}))}(),[2]}}))})),function(){e&&clearTimeout(e)}}),[t])},g=function(t,e){var n,r;if(!t)return{};var o="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(n=t.link)||void 0===n?void 0:n.startsWith("http"))?t.link:"".concat(o,"/health-tools")+(null===(r=t.link)||void 0===r?void 0:r.replace("".concat(o,"/"),"/")),subtitle:t.subtitle,title:t.title}},y=function(t){return i(void 0,void 0,void 0,(function(){var e,n,r,o,i,u,s;return a(this,(function(a){switch(a.label){case 0:return a.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(e=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:e=a.sent(),a.label=3;case 3:n="tl-PH"===t?"lang=fil":"",r=[],a.label=4;case 4:return a.trys.push([4,6,,7]),[4,e("".concat(h(t),"/wp-json/api/healthtools?ismenu=0").concat(n?"&"+n:"")).then((function(t){return t.json()}))];case 5:return o=a.sent(),r=(null===(s=null===(u=null==o?void 0:o.data)||void 0===u?void 0:u.map)||void 0===s?void 0:s.call(u,(function(e){return g(e,t)})))||[],[3,7];case 6:return a.sent(),[3,7];case 7:return[2,r];case 8:return i=a.sent(),console.error(i),[3,9];case 9:return[2]}}))}))},_=function(t){return i(void 0,void 0,void 0,(function(){return a(this,(function(e){switch(e.label){case 0:return[4,f("all-health-tools",(function(){return y(t||"en-PH")}))];case 1:return[2,e.sent()||[]]}}))}))},j=function(){var t=l([]),e=t[0],n=t[1];s((function(){i(void 0,void 0,void 0,(function(){var t;return a(this,(function(e){switch(e.label){case 0:return[4,_()];case 1:return t=e.sent(),n(t),[2]}}))}))}),[_]);var r=c((function(t){var n;return(null===(n=e.find((function(e){return e.template===t})))||void 0===n?void 0:n.link)||""}),[e]);return{allTools:e,getHealthToolLink:r}},L=function(t,e){void 0===e&&(e=new Date);var n=v(e,t,{roundingMethod:"ceil"}),r=p(e,t);return{year:Math.floor(r/12),month:r%12,week:n}};export{j as a,L as b,_ as c,g as f,y as g,m as i,w as u};
@@ -1 +0,0 @@
1
- var e={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph"},o={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},i={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},l={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]},a={SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help"},n={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},t={SPOTLIGHTS:"spotlights?per_page={perPage}&order_by={orderBy}",HEALTH_TOOLS:"healthtools",HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",CATEGORIES:"categories?type=all",FOOTER:"footer"},s={SPECIALTIES:"api/specialties?_ishome=1&site={domain}"},c={FOOTER:"menu/footer",HEALTH_TOOLS:"health-tools"},E={adBlock:48,headerContainerHome:99,headerContainerPopup:300,headerContainerPopupSUbLevel:400,menuCategoryPopupWrapper:200,menuCategoryPopupContainer:210,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:300,homeSearchComponent:200},I={SOCIAL_LINKS:{facebookLink:"https://www.facebook.com/marry.baby.vn",instagramLink:"https://www.instagram.com/marrybaby.vn",zaloLink:"http://zalo.me/806483414530291942",youtubeLink:"https://www.youtube.com/user/marrybabyvn"}},T={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"tl-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"zh-TW":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},O=-1,p=Object.freeze({__proto__:null,basePath:"/care",LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},LOCALIZED_SLUGS:T,ID_OPTION_CURRENT_LOCATION:-1});export{s as C,t as D,l as F,O as I,o as L,I as M,a as S,n as T,E as Z,T as a,i as b,p as c,e as d,c as e};
@@ -1 +0,0 @@
1
- import{_ as t,a as e}from"./tslib.es6-6ae0d506.js";var a={},n=function(t){if("undefined"!=typeof window){var e=void 0;try{e=JSON.parse(localStorage.getItem("hhg-cache-"+t)||"{}")}catch(t){}return e||{}}return a[t]},r=function(t,e){try{"undefined"!=typeof window?localStorage.setItem("hhg-cache-"+t,JSON.stringify({data:e,time:Date.now()})):a[t]={data:e,time:Date.now()}}catch(t){}},i=function(a,i,o,c){return void 0===c&&(c=9e5),t(void 0,void 0,void 0,(function(){var t,s;return e(this,(function(e){switch(e.label){case 0:return(t=n(a))&&t.data&&t.time&&Date.now()-t.time<c?[2,t.data]:[3,1];case 1:return i?[4,i()]:[3,3];case 2:return s=e.sent(),o&&!o(s)||r(a,s),[2,s];case 3:return[2,null]}}))}))};export{n as a,i as g,r as s};
@@ -1 +0,0 @@
1
- import{d as e,b as a}from"./tslib.es6-6ae0d506.js";import t,{useMemo as n}from"react";import{W as s,L as i,X as o,Y as l,Z as r}from"./index.styled-df180c76.js";var c=function(c){var m=c.name,d=c.value,u=c.errorMessage,p=c.isNumerousKeyboard,v=void 0!==p&&p,y=c.actionIcon,b=c.displayIcon,C=c.onActionClick,g=c.label,N=c.className,E=c.onChange,f=c.isDisabled,h=c.CustomInput,I=c.size,k=c.style,A=c.autoComplete,K=void 0===A?"off":A,z=c.type,L=void 0===z?"text":z,x=c.inputClassName,H=c.trackingAttributes,M=c.enterKeyHint,j=e(c,["name","value","errorMessage","isNumerousKeyboard","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]),D=n((function(){return H?{"data-event-category":H.dataEventCategory,"data-event-action":H.dataEventAction,"data-event-label":H.dataEventLabel}:{}}),[H]);return t.createElement(s,{"data-size":I,className:N,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!b||void 0,"data-has-error":u&&u.length>0||void 0,style:k},g&&t.createElement(i,{size:"label2",htmlFor:m,className:"inputLabel"},g),t.createElement("div",{style:{position:"relative"}},h||t.createElement("input",a({id:m,name:m,onChange:function(e){return E&&E(e.target.value)},type:L,"aria-label":L,value:d,disabled:f,autoComplete:K,inputMode:v||"number"===L?"numeric":L,pattern:v?"[0-9]*":".*",className:x,enterKeyHint:M},D,j)),b&&t.createElement(o,{className:"displayIcon"},b),y&&t.createElement(l,{className:"actionIcon",onClick:C},y)),u&&u.length>0&&t.createElement(r,{className:"errorLabel"},u))};export{c as I};
@@ -1 +0,0 @@
1
- import{_ as e,$ as a,a0 as t,a1 as l,a2 as n,a3 as c,a4 as i,a5 as o,a6 as r,a7 as d,a8 as s,a9 as m,aa as h,ab as v,ac as u,ad as f,ae as p,af as z,ag as g,T as w}from"./index.styled-df180c76.js";import{d as E,b as M}from"./tslib.es6-6ae0d506.js";import y,{useRef as C,useState as b,useEffect as H}from"react";import{u as x}from"./useScrollbarSize-99db33e1.js";import{createPortal as F}from"react-dom";import{S as A,a as V,b as B}from"./index.styled-ecba7a5d.js";var _={Ask:e,BarChart:a,Booking:t,Bookmark:l,Boy:function(e){var a=e.size,t=void 0===a?40:a,l=E(e,["size"]);return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"none",viewBox:"0 0 40 40"},l),y.createElement("circle",{cx:"20",cy:"20",r:"20",fill:"#2D87F3"}),y.createElement("path",{fill:"#fff",d:"M20.002 30.973c-2.616 0-4.945-.607-6.734-1.755-1.82-1.166-3.058-2.884-3.604-4.992-.045 0-.09.003-.136.003-.758 0-1.486-.3-2.023-.834a2.843 2.843 0 010-4.029 2.868 2.868 0 012.194-.83c.577-2.321 1.83-4.42 3.567-5.952C15.16 10.918 17.552 10 20.002 10s4.84.918 6.733 2.587c1.737 1.53 2.99 3.628 3.567 5.952a2.868 2.868 0 012.194.83 2.843 2.843 0 010 4.028 2.868 2.868 0 01-2.16.831c-.546 2.106-1.782 3.826-3.602 4.992-1.79 1.146-4.118 1.753-6.732 1.753z"}),y.createElement("path",{fill:"#2D87F3",d:"M17.95 13.19h-.014a.525.525 0 00-.524.509c0 .015-.059 1.466-2.006 1.927a.525.525 0 00-.389.63.523.523 0 00.633.386c2.18-.516 2.793-2.134 2.812-2.917a.519.519 0 00-.313-.491.527.527 0 00-.2-.044zM20.591 12.874a.524.524 0 00-.326.663c.004.014.455 1.396-1.212 2.5a.521.521 0 00.19.936.526.526 0 00.39-.066c1.866-1.236 1.878-2.966 1.625-3.708a.521.521 0 00-.464-.352.529.529 0 00-.203.027zM23.292 13.4a.525.525 0 00-.735.749c.008.007.787.783.35 2.119a.523.523 0 00.898.508.523.523 0 00.098-.183c.641-1.946-.56-3.142-.611-3.192zM15.977 21.818a1.365 1.365 0 000-1.936 1.38 1.38 0 00-1.945 0 1.365 1.365 0 000 1.936 1.38 1.38 0 001.945 0zM25.445 22.172a1.368 1.368 0 10-.682-2.652 1.369 1.369 0 10.682 2.652zM22.837 22.755a.532.532 0 00-.66.338c-.005.012-.414 1.222-2.124 1.222-1.71 0-2.12-1.21-2.124-1.222a.523.523 0 00-.998.316c.026.08.656 1.947 3.123 1.947s3.097-1.867 3.122-1.947a.52.52 0 00-.339-.654z"}))},Calendar:function(e){var a=e.size,t=void 0===a?20:a,l=e.color,n=void 0===l?"#595959":l,c=E(e,["size","color"]);return y.createElement("svg",M({width:t,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},c),y.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8337 2.50065H16.667C17.5837 2.50065 18.3337 3.25065 18.3337 4.16732V17.5006C18.3337 18.4173 17.5837 19.1673 16.667 19.1673H3.33366C2.41699 19.1673 1.66699 18.4173 1.66699 17.5006V4.16732C1.66699 3.25065 2.41699 2.50065 3.33366 2.50065H4.16699V1.66732C4.16699 1.20898 4.54199 0.833984 5.00033 0.833984C5.45866 0.833984 5.83366 1.20898 5.83366 1.66732V2.50065H14.167V1.66732C14.167 1.20898 14.542 0.833984 15.0003 0.833984C15.4587 0.833984 15.8337 1.20898 15.8337 1.66732V2.50065ZM4.16699 17.5007H15.8337C16.292 17.5007 16.667 17.1257 16.667 16.6673V6.66732H3.33366V16.6673C3.33366 17.1257 3.70866 17.5007 4.16699 17.5007Z",fill:n}))},Community:n,EditSpecial:c,Family:i,Font:o,GenderBoy:function(e){var a=e.size,t=void 0===a?16:a,l=E(e,["size"]);return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"none",viewBox:"0 0 16 16"},l),y.createElement("g",{fill:"#595959",clipPath:"url(#clip0_408_8625)"},y.createElement("path",{d:"M15.325 1.199a.602.602 0 00-.038-.151v-.005h-.001a.618.618 0 00-.107-.168.623.623 0 00-.117-.105l-.004-.002a.6.6 0 00-.175-.078.609.609 0 00-.161-.024h-4.278a.611.611 0 000 1.223h2.802L9.6 5.535a5.469 5.469 0 00-3.433-1.203 5.506 5.506 0 00-5.5 5.5c0 3.033 2.468 5.5 5.5 5.5 3.033 0 5.5-2.467 5.5-5.5 0-1.262-.425-2.46-1.203-3.433l3.648-3.647v2.802a.611.611 0 001.222 0V1.277c0-.012-.003-.025-.004-.037a.617.617 0 00-.004-.041zM6.166 14.11A4.282 4.282 0 011.89 9.833a4.282 4.282 0 017.303-3.028 4.282 4.282 0 01-3.026 7.305z"}),y.createElement("path",{fillRule:"evenodd",d:"M15.287 1.048a.602.602 0 01.042.192l.002.016a.156.156 0 01.002.021v4.278a.611.611 0 01-1.222 0V2.753L10.463 6.4a5.469 5.469 0 011.203 3.433c0 3.033-2.467 5.5-5.5 5.5a5.506 5.506 0 01-5.5-5.5c0-3.033 2.468-5.5 5.5-5.5 1.263 0 2.46.425 3.433 1.203l3.647-3.647h-2.802a.611.611 0 010-1.223h4.278a.609.609 0 01.197.036.6.6 0 01.14.067h.003a.623.623 0 01.14.135h.001a.618.618 0 01.083.138v.003l.001.003zm.064-.02c.021.053.033.107.04.162m-.04-.162a.695.695 0 00-.096-.165l-.001-.002c-.008-.009-.016-.02-.026-.03A.69.69 0 0015.1.715m-.2-.089A.675.675 0 0014.722.6h-4.278a.678.678 0 000 1.355h2.641L9.594 5.447a5.535 5.535 0 00-3.428-1.18A5.573 5.573 0 00.6 9.832 5.573 5.573 0 006.166 15.4a5.573 5.573 0 005.567-5.567c0-1.257-.417-2.45-1.18-3.427l3.491-3.492v2.641a.678.678 0 001.356 0V1.277a.202.202 0 00-.003-.027v-.004l-.001-.01a.743.743 0 00-.005-.046M1.955 9.833a4.216 4.216 0 004.211 4.211 4.216 4.216 0 002.979-7.191 4.216 4.216 0 00-7.19 2.98zm7.237-3.028a4.282 4.282 0 00-7.304 3.028 4.282 4.282 0 004.278 4.278 4.282 4.282 0 003.026-7.306z",clipRule:"evenodd"})),y.createElement("defs",null,y.createElement("clipPath",{id:"clip0_408_8625"},y.createElement("path",{fill:"#fff",d:"M0 0H16V16H0z"}))))},GenderChooseBoy:function(e){var a=C("svg-".concat(Math.random()));return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",fill:"none",viewBox:"0 0 21 20"},e),y.createElement("g",{clipPath:"url(#".concat(a.current,")")},y.createElement("path",{fill:"#45A4FF",d:"M11.203 7.633l1.914 1.914 6.397-6.397L17.6 1.235l-6.397 6.398z"}),y.createElement("path",{fill:"#45A4FF",d:"M8.083 5.334a7.333 7.333 0 100 14.667 7.333 7.333 0 000-14.667zm0 11.96a4.626 4.626 0 110-9.253 4.626 4.626 0 010 9.252z"}),y.createElement("path",{fill:"#2D87F3",d:"M7.508 8.077a4.626 4.626 0 100 9.181 4.627 4.627 0 010-9.181zM8.083 5.334a7.43 7.43 0 00-.575.022 7.334 7.334 0 010 14.622 7.333 7.333 0 10.575-14.644zM19.88 2.785v-.78L18.744.872h-.78l-2.707 2.707h1.55c.2 0 .364.163.364.365v1.55l2.707-2.708z"}),y.createElement("path",{fill:"#45A4FF",d:"M18.043 0h-4.585a.365.365 0 00-.364.365v1.978c0 .201.163.364.364.364h4.22c.201 0 .365.163.365.365v4.22c0 .2.163.364.364.364h1.978a.365.365 0 00.365-.364V.365A.365.365 0 0020.385 0h-2.342z"})),y.createElement("defs",null,y.createElement("clipPath",{id:a.current},y.createElement("path",{fill:"#fff",d:"M0 0H20V20H0z",transform:"translate(.75)"}))))},GenderChooseGirl:function(e){return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",fill:"none",viewBox:"0 0 21 20"},e),y.createElement("path",{fill:"#FE9DC2",d:"M13.748 15.546h-1.503a.321.321 0 01-.321-.322v-3.7H9.577v3.7a.321.321 0 01-.322.322H7.753a.321.321 0 00-.321.321v1.704c0 .178.144.322.321.322h1.502c.178 0 .322.144.322.321v1.465c0 .178.144.321.321.321h1.704a.321.321 0 00.322-.321v-1.465c0-.177.144-.321.321-.321h1.503a.321.321 0 00.321-.322v-1.704a.322.322 0 00-.321-.321z"}),y.createElement("path",{fill:"#FC488D",d:"M9.576 11.523v2.151a7.466 7.466 0 002.347 0v-2.15H9.576z"}),y.createElement("path",{fill:"#FE9DC2",d:"M10.75 0a6.357 6.357 0 100 12.715A6.357 6.357 0 0010.75 0zm0 10.368a4.01 4.01 0 110-8.021 4.01 4.01 0 010 8.021z"}),y.createElement("path",{fill:"#FC488D",d:"M10.157 2.391a4.01 4.01 0 100 7.934 4.011 4.011 0 010-7.934zM10.75 0c-.2 0-.398.01-.593.028a6.358 6.358 0 010 12.66A6.357 6.357 0 1010.75 0z"}))},GenderGirl:function(e){var a=e.size,t=void 0===a?16:a,l=E(e,["size"]);return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"none",viewBox:"0 0 16 16"},l),y.createElement("path",{fill:"#595959",d:"M11.445 8.979a4.875 4.875 0 000-6.888 4.879 4.879 0 00-6.89 0 4.875 4.875 0 000 6.888 4.849 4.849 0 002.872 1.39V12H6.28a.573.573 0 100 1.147h1.147v1.614a.573.573 0 001.146 0v-1.614H9.72a.573.573 0 100-1.146H8.573v-1.63a4.849 4.849 0 002.872-1.391zm-6.08-.81a3.728 3.728 0 010-5.268 3.73 3.73 0 015.27 0 3.728 3.728 0 010 5.267 3.73 3.73 0 01-5.27 0z"}),y.createElement("path",{fill:"#595959",fillRule:"evenodd",d:"M5.366 8.168a3.73 3.73 0 005.268 0 3.728 3.728 0 000-5.267 3.73 3.73 0 00-5.268 0 3.728 3.728 0 000 5.267zm6.15-6.148a4.975 4.975 0 010 7.03 4.948 4.948 0 01-2.843 1.407V11.9H9.72a.673.673 0 110 1.346H8.673v1.514a.673.673 0 01-1.346 0v-1.514H6.28a.673.673 0 110-1.346h1.046v-1.443A4.948 4.948 0 014.484 9.05a4.975 4.975 0 010-7.029 4.979 4.979 0 017.032 0zm-4.09 8.35a4.849 4.849 0 01-2.871-1.391 4.875 4.875 0 010-6.888 4.879 4.879 0 016.89 0 4.875 4.875 0 010 6.888 4.849 4.849 0 01-2.872 1.39V12H9.72a.573.573 0 110 1.147H8.573v1.614a.573.573 0 01-1.146 0v-1.614H6.28a.573.573 0 110-1.146h1.147v-1.63zm-1.99-7.398a3.628 3.628 0 000 5.126 3.63 3.63 0 005.128 0 3.628 3.628 0 000-5.126 3.63 3.63 0 00-5.128 0z",clipRule:"evenodd"}))},Girl:function(e){var a=e.size,t=void 0===a?40:a,l=E(e,["size"]);return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"none",viewBox:"0 0 24 24"},l),y.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#FC5D9A"}),y.createElement("path",{fill:"#fff",d:"M18.283 11.759c-.034 0-.068 0-.102.003-.346-1.394-1.099-2.652-2.14-3.57a6.132 6.132 0 00-3.726-1.544v-.532a2.062 2.062 0 001.617-.634 1.178 1.178 0 000-1.638 1.13 1.13 0 00-1.626 0c-.116.119-.218.25-.305.392a2.212 2.212 0 00-.308-.393 1.13 1.13 0 00-1.625 0 1.179 1.179 0 000 1.638 2.06 2.06 0 001.5.639c.041 0 .08 0 .117-.004v.533a6.143 6.143 0 00-3.726 1.543c-1.042.918-1.793 2.177-2.14 3.572a1.72 1.72 0 00-1.317.498 1.706 1.706 0 000 2.417c.323.32.76.5 1.215.5.027 0 .054 0 .081-.002a4.968 4.968 0 002.162 2.996c1.073.69 2.47 1.053 4.04 1.053 1.57 0 2.967-.364 4.04-1.053a4.987 4.987 0 002.162-2.998 1.72 1.72 0 001.295-.499 1.705 1.705 0 000-2.417c-.322-.32-.759-.5-1.214-.5zm-5.527-7.477a.5.5 0 01.724 0 .55.55 0 010 .763 1.446 1.446 0 01-1.165.446 1.834 1.834 0 01-.004-.077v-.09c.01-.392.168-.764.445-1.042zm-2.238.762a.55.55 0 010-.763.501.501 0 01.724 0c.276.278.435.65.444 1.042v.09c0 .027-.002.053-.004.078a1.45 1.45 0 01-1.164-.447z"}),y.createElement("path",{fill:"#FC5D9A",d:"M9.586 13.68a.819.819 0 000-1.161.828.828 0 00-1.167 0 .819.819 0 000 1.162c.323.32.845.32 1.167 0zM15.267 13.894a.821.821 0 10-.41-1.592.821.821 0 10.41 1.592zM13.704 14.242a.32.32 0 00-.282.045.314.314 0 00-.114.159c-.002.007-.248.733-1.274.733-1.027 0-1.272-.726-1.275-.733a.314.314 0 10-.598.19c.016.046.394 1.168 1.873 1.168s1.858-1.12 1.873-1.168a.313.313 0 00-.203-.394zM12.402 7.713a.315.315 0 00-.53.24.313.313 0 00.1.218c.253.248.466.533.632.845.316.61.298 1.118-.056 1.551-.403.493-.865.449-1.104.378-.33-.096-.598-.351-.625-.595-.03-.263.058-.585.318-.71.165-.077.337-.039.486.11a.315.315 0 00.538-.22.313.313 0 00-.092-.222c-.336-.337-.797-.426-1.204-.232-.473.226-.737.752-.671 1.343.055.494.495.957 1.072 1.128.151.045.308.067.465.068.491 0 .958-.228 1.305-.652.514-.63.558-1.402.127-2.234a4.11 4.11 0 00-.761-1.016z"}))},Heart:r,Home:d,Kebab:function(e){var a=e.size,t=void 0===a?20:a,l=E(e,["size"]);return y.createElement("svg",M({xmlns:"http://www.w3.org/2000/svg",width:t,height:t,fill:"none",viewBox:"0 0 20 20"},l),y.createElement("path",{fill:"#000",fillOpacity:"0.54",fillRule:"evenodd",d:"M10 6.667c.916 0 1.666-.75 1.666-1.666 0-.917-.75-1.667-1.666-1.667-.917 0-1.667.75-1.667 1.667 0 .916.75 1.666 1.667 1.666zm0 1.667c-.917 0-1.667.75-1.667 1.667 0 .916.75 1.666 1.667 1.666.916 0 1.666-.75 1.666-1.666 0-.917-.75-1.667-1.666-1.667zm-1.667 6.667c0-.917.75-1.667 1.667-1.667.916 0 1.666.75 1.666 1.667 0 .916-.75 1.666-1.666 1.666-.917 0-1.667-.75-1.667-1.666z",clipRule:"evenodd"}))},Like:s,MyCommunity:m,PlusSpecial:h,Recalculate:v,Scale:u,Share:f,Stethoscope:p},k=function(e){var a=e.value,t=e.options,l=e.className,n=e.direction,c=void 0===n?"horizontal":n,i=e.onChange,o=e.isDisabled,r=b(a),d=r[0],s=r[1];return y.createElement(z,{className:l,"data-direction":c},t.map((function(e,t){return y.createElement(g,{"data-selected":(a||d)===e.value,"data-disabled":o,key:t,onClick:function(){var a;a=e.value,o||(s(a),i&&i(a))}},y.createElement("div",null,e.content,e.label&&y.createElement(w,{type:"bold",color:(a||d)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))})))},R=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},D=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},S=function(e){var a=e.type,t=void 0===a?"lead":a,l=e.closeIcon,n=e.isOpen,c=void 0===n||n,i=e.onClose,o=e.children,r=e.className,d=void 0===r?"":r,s=e.animationType,m=void 0===s?"slideTop":s,h=e.isStaticBackdrop,v=void 0!==h&&h,u=b(!1),f=u[0],p=u[1],z=C(null),g=x().width;if(!z.current&&f&&(z.current=document.createElement("div")),H((function(){return p(!0),function(){p(!1),R(),D()}}),[]),H((function(){if(f){var e=((a=document.getElementById("hhg-modals"))||((a=document.createElement("div")).setAttribute("id","hhg-modals"),document.body.append(a)),a);return e.appendChild(z.current),function(){e.removeChild(z.current)}}var a}),[f]),H((function(){c?document.body.classList.add("hhc-modal-show"):R()}),[c]),H((function(){c?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):D()}),[c,g]),!f)return null;var w=["hhg-modal__wrapper",d,m].filter((function(e){return e})).join(" ");return F(y.createElement(A,{className:w,"data-open":c,"data-type":t},!v&&y.createElement(V,{"data-open":c,onClick:i,"data-type":t}),!v&&"video"===t&&!!l&&y.createElement("div",{className:"hhg-modal__close",onClick:i},l),y.createElement(B,{className:"hhg-modal","data-open":c},y.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!l&&"video"!==t&&y.createElement("div",{className:"hhg-modal__close",onClick:i},l),o))),z.current)};export{_ as I,S as M,k as R};