@hhgtech/hhg-components 1.25.40 → 1.25.42

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 (660) hide show
  1. package/build/__mocks__/pillData.d.ts +201 -0
  2. package/build/babyGrowth.js +37 -37
  3. package/build/cache.js +1 -1
  4. package/build/care/components/atoms/icons/index.d.ts +9 -9
  5. package/build/care/components/organisms/bookingSearchBar/index.d.ts +2 -2
  6. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
  7. package/build/care/components/organisms/bookingSearchBar/locationResults/index.d.ts +2 -2
  8. package/build/care/components/organisms/bookingSearchBar/locationResults/index.styled.d.ts +2 -2
  9. package/build/care/components/organisms/bookingSearchBar/locationResults/liSkeleton.d.ts +2 -2
  10. package/build/care/components/organisms/bookingSearchBar/mobileFakeInput/index.d.ts +2 -2
  11. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.d.ts +2 -2
  12. package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
  13. package/build/care/components/organisms/bookingSearchBar/resultSection/icons.d.ts +5 -5
  14. package/build/care/components/organisms/bookingSearchBar/resultSection/index.d.ts +2 -2
  15. package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
  16. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.d.ts +2 -2
  17. package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
  18. package/build/care/components/organisms/bookingSearchBar/searchInputs/index.d.ts +1 -1
  19. package/build/care/components/organisms/bookingSearchBar/searchInputs/index.styled.d.ts +1 -1
  20. package/build/care/components/organisms/bookingSearchBar/searchResults/index.d.ts +2 -2
  21. package/build/care/components/organisms/bookingSearchBar/searchSubmitIcon/index.d.ts +2 -2
  22. package/build/care.js +1 -1
  23. package/build/components/atoms/alert/index.d.ts +2 -2
  24. package/build/components/atoms/authorBadge/index.d.ts +2 -2
  25. package/build/components/atoms/avatar/index.d.ts +2 -2
  26. package/build/components/atoms/badge/index.d.ts +2 -2
  27. package/build/components/atoms/borderHeading/index.d.ts +1 -1
  28. package/build/components/atoms/btnChoice/index.d.ts +2 -2
  29. package/build/components/atoms/button/index.d.ts +1 -1
  30. package/build/components/atoms/checkbox/index.d.ts +2 -2
  31. package/build/components/atoms/container/index.d.ts +2 -1
  32. package/build/components/atoms/displayWrapper/index.d.ts +2 -2
  33. package/build/components/atoms/divider/index.d.ts +2 -2
  34. package/build/components/atoms/dropdownMB/index.styled.d.ts +1 -1
  35. package/build/components/atoms/fileDropdown/index.d.ts +2 -2
  36. package/build/components/atoms/flag/icons/cambodia.d.ts +3 -3
  37. package/build/components/atoms/flag/icons/english.d.ts +3 -3
  38. package/build/components/atoms/flag/icons/india.d.ts +3 -3
  39. package/build/components/atoms/flag/icons/indonesia.d.ts +3 -3
  40. package/build/components/atoms/flag/icons/malaysia.d.ts +3 -3
  41. package/build/components/atoms/flag/icons/myanmar.d.ts +3 -3
  42. package/build/components/atoms/flag/icons/philippines.d.ts +3 -3
  43. package/build/components/atoms/flag/icons/taiwan.d.ts +3 -3
  44. package/build/components/atoms/flag/icons/thailand.d.ts +3 -3
  45. package/build/components/atoms/flag/icons/vietnam.d.ts +3 -3
  46. package/build/components/atoms/flag/index.d.ts +2 -2
  47. package/build/components/atoms/grid/index.d.ts +2 -2
  48. package/build/components/atoms/heading/index.d.ts +2 -2
  49. package/build/components/atoms/imageWithHandler/index.d.ts +2 -2
  50. package/build/components/atoms/input/index.d.ts +1 -1
  51. package/build/components/atoms/inputMB/index.styled.d.ts +1 -1
  52. package/build/components/atoms/label/index.d.ts +2 -2
  53. package/build/components/atoms/logo/index.d.ts +2 -2
  54. package/build/components/atoms/logo/logoIcon.d.ts +1 -1
  55. package/build/components/atoms/marryBabyText/index.d.ts +2 -2
  56. package/build/components/atoms/newBabyProfileRadio/index.d.ts +2 -2
  57. package/build/components/atoms/pagination/index.d.ts +2 -2
  58. package/build/components/atoms/pill/index.d.ts +2 -2
  59. package/build/components/atoms/progress/index.d.ts +2 -2
  60. package/build/components/atoms/radio/index.d.ts +2 -2
  61. package/build/components/atoms/radioImageGroup/index.d.ts +2 -1
  62. package/build/components/atoms/rateStars/StarEmptyIcon.d.ts +1 -1
  63. package/build/components/atoms/rateStars/StarFullIcon.d.ts +1 -1
  64. package/build/components/atoms/rateStars/StarHalfIcon.d.ts +1 -1
  65. package/build/components/atoms/rateStars/index.d.ts +2 -2
  66. package/build/components/atoms/shadow/index.d.ts +2 -2
  67. package/build/components/atoms/tag/index.d.ts +2 -2
  68. package/build/components/atoms/text/index.d.ts +2 -2
  69. package/build/components/atoms/textDivider/index.d.ts +2 -1
  70. package/build/components/atoms/toggle/index.d.ts +2 -2
  71. package/build/components/atoms/underlinedLink/index.d.ts +2 -2
  72. package/build/components/atoms/uploader/index.d.ts +2 -2
  73. package/build/components/babyGrowth/babyGrowthChart/index.d.ts +2 -2
  74. package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.d.ts +1 -1
  75. package/build/components/babyGrowth/babyGrowthChooseProfileDrawer/index.styled.d.ts +1 -1
  76. package/build/components/babyGrowth/babyGrowthForm/index.d.ts +2 -2
  77. package/build/components/babyGrowth/babyGrowthForm/index.styled.d.ts +2 -2
  78. package/build/components/babyGrowth/babyGrowthGender/index.styled.d.ts +1 -1
  79. package/build/components/babyGrowth/babyGrowthLegend/index.d.ts +2 -2
  80. package/build/components/babyGrowth/babyGrowthSwitch/index.d.ts +2 -2
  81. package/build/components/babyGrowth/babyGrowthTooltip/index.d.ts +2 -2
  82. package/build/components/babyGrowth/childCard/index.d.ts +2 -2
  83. package/build/components/mantine/accordion/index.d.ts +1 -1
  84. package/build/components/mantine/anchor/index.d.ts +5 -8
  85. package/build/components/mantine/aspectRatio/index.d.ts +2 -2
  86. package/build/components/mantine/avatar/index.d.ts +2 -2
  87. package/build/components/mantine/badge/index.d.ts +2 -2
  88. package/build/components/mantine/button/index.d.ts +2 -2
  89. package/build/components/mantine/datepicker/range.d.ts +2 -2
  90. package/build/components/mantine/indicator/index.d.ts +2 -2
  91. package/build/components/mantine/input/file.d.ts +2 -2
  92. package/build/components/mantine/input/number.d.ts +2 -2
  93. package/build/components/mantine/loadingOverlay/index.d.ts +2 -2
  94. package/build/components/mantine/modal/index.d.ts +2 -2
  95. package/build/components/mantine/otp/index.d.ts +1 -1
  96. package/build/components/mantine/phone/index.d.ts +1 -1
  97. package/build/components/mantine/provider/index.d.ts +1 -1
  98. package/build/components/mantine/result/index.d.ts +1 -1
  99. package/build/components/mantine/select/index.d.ts +2 -2
  100. package/build/components/mantine/slider/index.d.ts +2 -2
  101. package/build/components/mantine/spoiler/index.d.ts +1 -1
  102. package/build/components/mantine/tabs/index.d.ts +1 -1
  103. package/build/components/mantine/text/index.d.ts +4 -4
  104. package/build/components/mantine/textArea/index.d.ts +2 -2
  105. package/build/components/mantine/theme/tabs.d.ts +1 -0
  106. package/build/components/molecules/__deprecated_breadcrumbs/index.d.ts +34 -0
  107. package/build/components/molecules/articleCard/cardAuthor.d.ts +1 -1
  108. package/build/components/molecules/articleCard/cardExpert.d.ts +1 -1
  109. package/build/components/molecules/articleCard/icons/affiliate.d.ts +1 -1
  110. package/build/components/molecules/articleCard/icons/bookmarked.d.ts +1 -1
  111. package/build/components/molecules/articleCard/icons/unbookmarked.d.ts +1 -1
  112. package/build/components/molecules/articleCard/index.d.ts +1 -1
  113. package/build/components/molecules/bmiForm/index.d.ts +2 -2
  114. package/build/components/molecules/bmiForm/index.styled.d.ts +1 -1
  115. package/build/components/molecules/bmrForm/index.d.ts +2 -2
  116. package/build/components/molecules/bmrForm/index.styled.d.ts +1 -1
  117. package/build/components/molecules/breadcrumbs/index.d.ts +7 -27
  118. package/build/components/molecules/breadcrumbs/index.styled.d.ts +1 -0
  119. package/build/components/molecules/breadcrumbs/item.d.ts +7 -0
  120. package/build/components/molecules/carousel/index.d.ts +2 -2
  121. package/build/components/molecules/categoryCard/index.d.ts +2 -2
  122. package/build/components/molecules/checkboxGroup/index.d.ts +2 -2
  123. package/build/components/molecules/cookieAcceptConfirm/index.d.ts +2 -2
  124. package/build/components/molecules/datePicker/index.d.ts +1 -1
  125. package/build/components/molecules/dateRangePicker/calendar/index.d.ts +2 -2
  126. package/build/components/molecules/dateRangePicker/index.d.ts +2 -2
  127. package/build/components/molecules/doctorInfo/index.d.ts +2 -2
  128. package/build/components/molecules/dropdown/index.d.ts +2 -2
  129. package/build/components/molecules/dropdownSearch/index.d.ts +2 -2
  130. package/build/components/molecules/dueDateCalculator/dueDateFormConception.d.ts +2 -2
  131. package/build/components/molecules/dueDateCalculator/dueDateFormIVF.d.ts +2 -2
  132. package/build/components/molecules/dueDateCalculator/dueDateFormLastPeriod.d.ts +2 -2
  133. package/build/components/molecules/dueDateCalculator/index.d.ts +2 -2
  134. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.d.ts +2 -2
  135. package/build/components/molecules/embeddedHeathToolCards/baby-growth/index.styled.d.ts +2 -2
  136. package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +2 -2
  137. package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -2
  138. package/build/components/molecules/embeddedHeathToolCards/bmr/bmr.d.ts +2 -2
  139. package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +2 -2
  140. package/build/components/molecules/embeddedHeathToolCards/ovulation/ovulation.d.ts +2 -2
  141. package/build/components/molecules/embeddedHeathToolCards/pwg/pwg.d.ts +2 -2
  142. package/build/components/molecules/embeddedHeathToolCards/target-heart-rate/index.d.ts +2 -2
  143. package/build/components/molecules/floatButtonGroup/index.d.ts +2 -2
  144. package/build/components/molecules/iconText/index.d.ts +2 -2
  145. package/build/components/molecules/index.d.ts +2 -1
  146. package/build/components/molecules/languageSwitcher/index.d.ts +3 -3
  147. package/build/components/molecules/languageSwitcher/tooltipSelection/index.d.ts +2 -2
  148. package/build/components/molecules/mobileBottomNavigation/MobileBottomNavigationIcon.d.ts +1 -1
  149. package/build/components/molecules/modal/index.d.ts +1 -1
  150. package/build/components/molecules/ovulationCalculator/index.d.ts +2 -2
  151. package/build/components/molecules/ovulationCalculator/ovulationForm.d.ts +2 -2
  152. package/build/components/molecules/pillCarousel/index.d.ts +2 -2
  153. package/build/components/molecules/pillCarousel/index.styled.d.ts +1 -1
  154. package/build/components/molecules/popup/index.d.ts +2 -2
  155. package/build/components/molecules/progressBar/index.d.ts +2 -2
  156. package/build/components/molecules/radioImageGroupForTool/index.d.ts +2 -2
  157. package/build/components/molecules/scrollList/index.d.ts +2 -2
  158. package/build/components/molecules/seoHead/index.d.ts +1 -1
  159. package/build/components/molecules/sidemenu/menuLink.d.ts +2 -2
  160. package/build/components/molecules/sidemenu/sideHeader.d.ts +2 -2
  161. package/build/components/molecules/sidemenu/sideMenu.d.ts +2 -2
  162. package/build/components/molecules/sidemenu/test.d.ts +2 -2
  163. package/build/components/molecules/sidemenu/userInfo.d.ts +2 -2
  164. package/build/components/molecules/starsRatingBox/index.d.ts +2 -2
  165. package/build/components/molecules/statisticCard/index.d.ts +2 -2
  166. package/build/components/molecules/surveyQuestionCard/surveyQuestionCard.d.ts +2 -2
  167. package/build/components/molecules/surveyQuestionCard/surveyQuestionContent.d.ts +2 -2
  168. package/build/components/molecules/surveyQuestionCard/surveyRadio.d.ts +2 -2
  169. package/build/components/molecules/surveyQuestionCard/surveyThankyouCard.d.ts +2 -2
  170. package/build/components/molecules/table/table.d.ts +2 -2
  171. package/build/components/molecules/table/tableBody.d.ts +2 -2
  172. package/build/components/molecules/table/tableCell.d.ts +2 -2
  173. package/build/components/molecules/table/tableHead.d.ts +2 -2
  174. package/build/components/molecules/table/tableRow.d.ts +2 -2
  175. package/build/components/molecules/tabs/index.d.ts +3 -3
  176. package/build/components/molecules/thrForm/index.d.ts +2 -2
  177. package/build/components/molecules/thrForm/index.styled.d.ts +1 -1
  178. package/build/components/molecules/toolBannerCard/index.d.ts +2 -2
  179. package/build/components/molecules/weightGainForm/index.d.ts +2 -2
  180. package/build/components/onboarding/dynamicForm/index.d.ts +2 -2
  181. package/build/components/onboarding/onboardingForm/index.d.ts +2 -2
  182. package/build/components/onboarding/onboardingForm/index.styled.d.ts +1 -1
  183. package/build/components/onboarding/onboardingModal/index.d.ts +2 -2
  184. package/build/components/onboarding/otpForm/index.d.ts +2 -2
  185. package/build/components/onboarding/otpForm/index.styled.d.ts +1 -1
  186. package/build/components/onboarding/personalInfoForm/index.d.ts +2 -2
  187. package/build/components/onboarding/updatePassword/index.d.ts +2 -2
  188. package/build/components/organisms/footer/discoverFooter/index.d.ts +2 -2
  189. package/build/components/organisms/footer/index.d.ts +2 -2
  190. package/build/components/organisms/footer/maryBabyFooter/index.d.ts +2 -2
  191. package/build/components/organisms/heroBannerHealthTool/healthToolBanner/index.d.ts +2 -2
  192. package/build/components/organisms/heroBannerHealthTool/index.d.ts +2 -1
  193. package/build/components/organisms/navigationLogoutPopup/index.d.ts +2 -2
  194. package/build/components/organisms/navigationProfileButton/index.d.ts +1 -1
  195. package/build/components/organisms/navigationProfileButton/popupWrapper.d.ts +2 -2
  196. package/build/components/organisms/navigationProfileButton/profilePopup.d.ts +2 -2
  197. package/build/components/organisms/navigationV2/components/atoms/ClosePopupIcon.d.ts +2 -2
  198. package/build/components/organisms/navigationV2/components/atoms/HamburgerIcon.d.ts +2 -2
  199. package/build/components/organisms/navigationV2/components/atoms/ItemNav/index.d.ts +2 -2
  200. package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/btnClosePopup.d.ts +2 -2
  201. package/build/components/organisms/navigationV2/components/atoms/PopupWrapper/index.d.ts +2 -2
  202. package/build/components/organisms/navigationV2/components/atoms/SearchIcon.d.ts +1 -1
  203. package/build/components/organisms/navigationV2/components/atoms/searchInput/index.d.ts +2 -2
  204. package/build/components/organisms/navigationV2/components/molecules/Categories/index.d.ts +2 -2
  205. package/build/components/organisms/navigationV2/components/molecules/Spotlights/index.d.ts +2 -2
  206. package/build/components/organisms/navigationV2/components/molecules/menuCareList/Item/index.d.ts +2 -2
  207. package/build/components/organisms/navigationV2/components/molecules/menuCareList/careSpotlights.d.ts +2 -2
  208. package/build/components/organisms/navigationV2/components/molecules/menuCareList/index.d.ts +2 -2
  209. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +2 -2
  210. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/categorySpotlights.d.ts +2 -2
  211. package/build/components/organisms/navigationV2/components/molecules/menuCategoriesList/index.d.ts +2 -2
  212. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/Item/index.d.ts +2 -2
  213. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/communitySpotlights.d.ts +2 -2
  214. package/build/components/organisms/navigationV2/components/molecules/menuCommunitiesList/index.d.ts +2 -2
  215. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/Item/index.d.ts +2 -2
  216. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/ItemMarryBaby/index.d.ts +2 -2
  217. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/index.d.ts +2 -2
  218. package/build/components/organisms/navigationV2/components/molecules/menuHealthToolsList/toolSpotlights.d.ts +2 -2
  219. package/build/components/organisms/navigationV2/components/molecules/menuServiceList/index.d.ts +2 -2
  220. package/build/components/organisms/navigationV2/components/molecules/navigationBar/bookingButton/index.d.ts +1 -1
  221. package/build/components/organisms/navigationV2/components/molecules/navigationBar/hamburgerMenu/index.d.ts +2 -2
  222. package/build/components/organisms/navigationV2/components/molecules/navigationBar/index.d.ts +2 -2
  223. package/build/components/organisms/navigationV2/components/molecules/spotlightNoData/index.d.ts +2 -2
  224. package/build/components/organisms/navigationV2/index.d.ts +1 -1
  225. package/build/components/organisms/navigationV2/navigationContext.d.ts +1 -1
  226. package/build/components/organisms/userProfileNavigation/index.d.ts +2 -2
  227. package/build/components/organisms/userProfileNavigation/navHeader/index.d.ts +2 -2
  228. package/build/components/organisms/userProfileNavigation/navMenu/index.d.ts +2 -2
  229. package/build/components/organisms/userProfileNavigation/navigationCard/index.d.ts +2 -2
  230. package/build/components/organisms/userProfileNavigation/userStats/index.d.ts +2 -2
  231. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chart.d.ts +1 -1
  232. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/chartLegend.d.ts +2 -2
  233. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedAxisTick.d.ts +2 -2
  234. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/components/customizedTooltipLabel.d.ts +2 -2
  235. package/build/components/pregnancyWeightGain/pregnancyWeightGainChart/index.d.ts +2 -2
  236. package/build/components/ui/cardArticle/element/index.d.ts +3 -3
  237. package/build/components/ui/cardArticle/index.d.ts +4 -4
  238. package/build/components/ui/cardAuthor/element/index.d.ts +8 -8
  239. package/build/components/ui/cardAuthor/index.d.ts +8 -8
  240. package/build/components/ui/loading/index.d.ts +2 -2
  241. package/build/components/ui/onboarding/index.d.ts +1 -1
  242. package/build/components/ui/thumbnail/index.d.ts +1 -1
  243. package/build/components/vaccination/shared/badge.d.ts +2 -2
  244. package/build/components/vaccination/shared/cardIcon.d.ts +2 -2
  245. package/build/components/vaccination/shared/dose.d.ts +2 -2
  246. package/build/components/vaccination/vaccinationFilter/index.d.ts +2 -2
  247. package/build/components/vaccination/vaccineCard/index.d.ts +3 -3
  248. package/build/components/vaccination/vaccineCard/modal.d.ts +2 -2
  249. package/build/components/vaccination/vaccineCard/status.d.ts +2 -2
  250. package/build/components/vaccination/vaccineCard/timeline.d.ts +2 -2
  251. package/build/components/vaccination/vaccineDetailPopup/confirmModal.d.ts +2 -2
  252. package/build/components/vaccination/vaccineDetailPopup/detail.d.ts +2 -2
  253. package/build/components/vaccination/vaccineDetailPopup/form.d.ts +2 -2
  254. package/build/components/vaccination/vaccineDetailPopup/icon.d.ts +2 -2
  255. package/build/components/vaccination/vaccineDetailPopup/index.d.ts +2 -2
  256. package/build/components/vaccination/vaccineImmunization/header.d.ts +2 -2
  257. package/build/components/vaccination/vaccineImmunization/index.d.ts +2 -2
  258. package/build/components/vaccination/vaccineImmunization/warning.d.ts +2 -2
  259. package/build/components/vaccination/vaccineRecordsByAgeGroup/index.d.ts +3 -4
  260. package/build/components/vaccination/vaccineRecordsByAgeGroup/records.d.ts +2 -2
  261. package/build/components/vaccination/vaccineRecordsByAgeGroup/scheduleTimeline.d.ts +2 -2
  262. package/build/components/vaccination/vaccineTimelineBanner/index.d.ts +2 -2
  263. package/build/components.js +1 -1
  264. package/build/constants.js +1 -1
  265. package/build/{core-6f134e7a.js → core-0ca3587c.js} +1 -1
  266. package/build/{dataTransform-24d3fdd4.js → dataTransform-0c7ac88e.js} +1 -1
  267. package/build/{dataTransform-6e9ff11f.js → dataTransform-ec478b26.js} +1 -1
  268. package/build/ecom/dataFormatter/lib/dataTypes.d.ts +1 -1
  269. package/build/ecom.js +1 -1
  270. package/build/esm/babyGrowth.js +33 -33
  271. package/build/esm/cache.js +1 -1
  272. package/build/esm/care.js +1 -1
  273. package/build/esm/components.js +1 -1
  274. package/build/esm/constants.js +1 -1
  275. package/build/esm/{core-5256a383.js → core-79d5845c.js} +1 -1
  276. package/build/esm/{dataTransform-982b9d55.js → dataTransform-7b91f922.js} +1 -1
  277. package/build/esm/{dataTransform-0ca0b129.js → dataTransform-f6f3c1c7.js} +1 -1
  278. package/build/esm/ecom.js +1 -1
  279. package/build/esm/footer.js +1 -1
  280. package/build/esm/gAssets.js +1 -1
  281. package/build/esm/getDynamicHealthTool-fbc9b9a3.js +1 -0
  282. package/build/esm/{getSocialList-42d5ef8a.js → getSocialList-eafa493d.js} +1 -1
  283. package/build/esm/hooks.js +1 -1
  284. package/build/esm/i18n.js +1 -1
  285. package/build/esm/index-0f11f09c.js +1 -0
  286. package/build/esm/{index-a1016f79.js → index-1c388316.js} +4 -4
  287. package/build/esm/index-20c75588.js +1 -0
  288. package/build/esm/{index-19201ad9.js → index-24f482cb.js} +1 -1
  289. package/build/esm/index-2cbc0c3f.js +1 -0
  290. package/build/esm/{index-6314712f.js → index-3218f985.js} +1 -1
  291. package/build/esm/index-37d26ed8.js +1 -0
  292. package/build/esm/{index-737c7092.js → index-5f4d7583.js} +1 -1
  293. package/build/esm/index-6abc97bd.js +1 -0
  294. package/build/esm/{index-fcadb1e5.js → index-6b79ca19.js} +2 -2
  295. package/build/esm/index-74a6a587.js +1 -0
  296. package/build/esm/{index-e8096240.js → index-78d1e5f0.js} +1 -1
  297. package/build/esm/{index.styled-a132cfd4.js → index-7bc42423.js} +12 -12
  298. package/build/esm/index-967931f8.js +1 -0
  299. package/build/esm/index-a5a8437a.js +1 -0
  300. package/build/esm/index-aa63aa94.js +1 -0
  301. package/build/esm/{index-285d7c1a.js → index-aef550e4.js} +1 -1
  302. package/build/esm/{index-0332e9fb.js → index-b25e070d.js} +1 -1
  303. package/build/esm/index-b3d0bfbe.js +1 -0
  304. package/build/esm/{index-385e6123.js → index-b7f6f393.js} +1 -1
  305. package/build/esm/{index-67951e55.js → index-b8aba04a.js} +1 -1
  306. package/build/esm/index-c1b40419.js +1 -0
  307. package/build/esm/{index-a91a8a82.js → index-c6afe51f.js} +1 -1
  308. package/build/esm/{index-e7b21581.js → index-dbb4881a.js} +1 -1
  309. package/build/esm/{index-30b608e8.js → index-f436d992.js} +1 -1
  310. package/build/esm/{index-d39d3c76.js → index-f4a4de1d.js} +1 -1
  311. package/build/esm/index.css +1 -1
  312. package/build/esm/index.js +1 -1
  313. package/build/esm/{index.styled-c00e45ec.js → index.styled-17c608d4.js} +1 -1
  314. package/build/esm/{index.styled-d7b00b13.js → index.styled-1a276833.js} +1031 -1032
  315. package/build/esm/{index.styled-bde6035b.js → index.styled-475ad2e4.js} +6 -6
  316. package/build/esm/index.styled-6eb6db84.js +1249 -0
  317. package/build/esm/index.styled-d20eb488.js +3995 -0
  318. package/build/esm/lead.js +1 -1
  319. package/build/esm/mantine.js +1 -1
  320. package/build/esm/misc.js +1 -1
  321. package/build/esm/navigation.js +1 -1
  322. package/build/esm/onboarding.js +1 -1
  323. package/build/esm/pwg.js +4 -4
  324. package/build/esm/{routing-76af9e69.js → routing-89c40e2d.js} +1 -1
  325. package/build/esm/{screenSizeContext-1ce850a1.js → screenSizeContext-2e8c4f16.js} +3 -3
  326. package/build/esm/together.js +1 -1
  327. package/build/esm/{translationsProvider-001a4f8b.js → translationsProvider-88fb9fb5.js} +1 -1
  328. package/build/esm/{types-b9f76f82.js → types-81990047.js} +104 -104
  329. package/build/esm/types-bb892161.js +3078 -0
  330. package/build/esm/types.js +1 -1
  331. package/build/esm/useHealthToolCache-c976303f.js +1 -0
  332. package/build/esm/{useRafState-3b377be0.js → useRafState-8e8c440f.js} +1 -1
  333. package/build/esm/{useScreenSize-207c6c59.js → useScreenSize-bbef37ac.js} +1 -1
  334. package/build/esm/{useTranslations-9944ea07.js → useTranslations-d8cfbc93.js} +1 -1
  335. package/build/esm/utils-672e9f85.js +166 -0
  336. package/build/esm/vaccination.js +4 -4
  337. package/build/footer.js +1 -1
  338. package/build/gAssets.js +1 -1
  339. package/build/{getDynamicHealthTool-4f86fb15.js → getDynamicHealthTool-182922db.js} +1 -1
  340. package/build/{getSocialList-5eb11d68.js → getSocialList-3ab7bb4e.js} +1 -1
  341. package/build/hooks.js +1 -1
  342. package/build/i18n/translationsProvider.d.ts +2 -2
  343. package/build/i18n.js +1 -1
  344. package/build/icons/Cambodia.d.ts +2 -1
  345. package/build/icons/CaretDown.d.ts +2 -1
  346. package/build/icons/CheckCircle.d.ts +2 -1
  347. package/build/icons/ChevronDown.d.ts +2 -1
  348. package/build/icons/ChevronLeft.d.ts +2 -1
  349. package/build/icons/ChevronRight.d.ts +2 -1
  350. package/build/icons/ChevronUp.d.ts +2 -1
  351. package/build/icons/Circle.d.ts +2 -1
  352. package/build/icons/Close.d.ts +2 -1
  353. package/build/icons/EmailCheck.d.ts +2 -1
  354. package/build/icons/EmailFail.d.ts +2 -1
  355. package/build/icons/Facebook.d.ts +2 -1
  356. package/build/icons/Google.d.ts +2 -1
  357. package/build/icons/InVisible.d.ts +2 -1
  358. package/build/icons/India.d.ts +2 -1
  359. package/build/icons/Indonesia.d.ts +2 -1
  360. package/build/icons/Malaysia.d.ts +2 -1
  361. package/build/icons/Myanmar.d.ts +2 -1
  362. package/build/icons/Phillipines.d.ts +2 -1
  363. package/build/icons/Spinning.d.ts +2 -1
  364. package/build/icons/Taiwan.d.ts +2 -1
  365. package/build/icons/Thailand.d.ts +2 -1
  366. package/build/icons/Vietnam.d.ts +2 -1
  367. package/build/icons/Visible.d.ts +2 -1
  368. package/build/icons/index.d.ts +4 -4
  369. package/build/{index-137894cf.js → index-13f5e80f.js} +1 -1
  370. package/build/index-19ca5380.js +1 -0
  371. package/build/index-246fb6b5.js +1 -0
  372. package/build/index-25fca616.js +1 -0
  373. package/build/index-3746c242.js +1 -0
  374. package/build/{index-f63a1760.js → index-3d433cce.js} +1 -1
  375. package/build/index-486a977a.js +1 -0
  376. package/build/index-590ac015.js +1 -0
  377. package/build/index-62772b63.js +1 -0
  378. package/build/index-7e476c45.js +1 -0
  379. package/build/{index-3fabbfe2.js → index-864331fa.js} +1 -1
  380. package/build/{index-e93b56af.js → index-8716aefd.js} +1 -1
  381. package/build/index-8ca92401.js +1 -0
  382. package/build/{index.styled-121d73f3.js → index-92ac398a.js} +12 -12
  383. package/build/{index-7840af7f.js → index-a428fdf0.js} +1 -1
  384. package/build/{index-8ef04a84.js → index-a97e86f3.js} +1 -1
  385. package/build/{index-9ceaf4a1.js → index-aa60f164.js} +1 -1
  386. package/build/{index-30cdfaa7.js → index-b6919199.js} +1 -1
  387. package/build/{index-c945bdda.js → index-b9f45e55.js} +1 -1
  388. package/build/{index-9ade2fa7.js → index-bbd80a79.js} +1 -1
  389. package/build/{index-19fbc39f.js → index-be800c5d.js} +1 -1
  390. package/build/{index-34a57dc0.js → index-c6baf477.js} +4 -4
  391. package/build/{index-c97f3216.js → index-d9c26fc8.js} +1 -1
  392. package/build/{index-3a907da6.js → index-da404c5e.js} +1 -1
  393. package/build/index-ddf1e0c1.js +1 -0
  394. package/build/{index-b9df7cc2.js → index-de6a4cba.js} +1 -1
  395. package/build/index.css +1 -1
  396. package/build/index.js +1 -1
  397. package/build/index.styled-2a83faa1.js +3995 -0
  398. package/build/{index.styled-31b84d11.js → index.styled-5cda8579.js} +653 -654
  399. package/build/{index.styled-906e0b96.js → index.styled-a1f5e0c2.js} +6 -6
  400. package/build/{index.styled-f785924a.js → index.styled-cdad5008.js} +1 -1
  401. package/build/index.styled-de0cfc3a.js +1249 -0
  402. package/build/lead/index.d.ts +2 -2
  403. package/build/lead/layouts/centerTab.d.ts +2 -2
  404. package/build/lead/layouts/closeButton.d.ts +2 -2
  405. package/build/lead/layouts/floating.d.ts +2 -2
  406. package/build/lead/layouts/lightbox/fields/index.d.ts +2 -2
  407. package/build/lead/layouts/lightbox/fields/locationBlock.d.ts +2 -2
  408. package/build/lead/layouts/lightbox/fields/subtitleBlock.d.ts +2 -2
  409. package/build/lead/layouts/lightbox/fields/titleBlock.d.ts +2 -2
  410. package/build/lead/layouts/lightbox/index.d.ts +2 -2
  411. package/build/lead/layouts/lightbox/otpBlock.d.ts +2 -2
  412. package/build/lead/layouts/sidebar.d.ts +2 -2
  413. package/build/lead/layouts/skin.d.ts +2 -2
  414. package/build/lead/layouts/tab.d.ts +2 -2
  415. package/build/lead/newLeadPopup.d.ts +2 -2
  416. package/build/lead/thankyou.d.ts +2 -2
  417. package/build/lead.js +1 -1
  418. package/build/mantine.js +1 -1
  419. package/build/misc/mockTheme.d.ts +1 -1
  420. package/build/misc/screenSizeContext.d.ts +1 -1
  421. package/build/misc.js +1 -1
  422. package/build/navigation.js +1 -1
  423. package/build/onboarding.js +1 -1
  424. package/build/pwg.js +4 -4
  425. package/build/{routing-77d2423b.js → routing-2b5d97b7.js} +1 -1
  426. package/build/{screenSizeContext-b15feb85.js → screenSizeContext-5ddeca2d.js} +1 -1
  427. package/build/test/testTranslationProvider.d.ts +2 -2
  428. package/build/together/components/atoms/cardLink/index.d.ts +2 -2
  429. package/build/together/components/atoms/cardReactions/element/index.d.ts +4 -4
  430. package/build/together/components/atoms/cardReactions/index.d.ts +5 -5
  431. package/build/together/components/atoms/labelSortPin/index.d.ts +2 -2
  432. package/build/together/components/atoms/labelSortPin/labelPin.d.ts +2 -2
  433. package/build/together/components/atoms/labelSortPin/labelSorting.d.ts +1 -1
  434. package/build/together/components/atoms/loading/index.d.ts +2 -2
  435. package/build/together/components/atoms/loading/loadingCard.d.ts +2 -2
  436. package/build/together/components/atoms/notificationBar/index.d.ts +1 -1
  437. package/build/together/components/atoms/sensitiveMask/index.d.ts +2 -2
  438. package/build/together/components/atoms/tagTopic/index.d.ts +2 -2
  439. package/build/together/components/atoms/userAvatar/index.d.ts +2 -2
  440. package/build/together/components/molecules/cardAuthor/index.d.ts +8 -8
  441. package/build/together/components/molecules/createNewPostContent/index.d.ts +2 -2
  442. package/build/together/components/molecules/createPostDescription/editor.d.ts +2 -2
  443. package/build/together/components/molecules/createPostDescription/index.d.ts +2 -2
  444. package/build/together/components/molecules/createPostTitle/index.d.ts +2 -2
  445. package/build/together/components/molecules/inputCommentBar/index.d.ts +2 -2
  446. package/build/together/components/molecules/inputCommentBar/mainInputTriggerContext.d.ts +1 -1
  447. package/build/together/components/molecules/popupDoctor/index.d.ts +2 -2
  448. package/build/together/components/molecules/popupExpert/index.d.ts +2 -2
  449. package/build/together/components/molecules/popupFrame/index.d.ts +2 -2
  450. package/build/together/components/molecules/popupFrame/popupShare.d.ts +2 -2
  451. package/build/together/components/molecules/popupHospital/index.d.ts +2 -2
  452. package/build/together/components/molecules/postContent/index.d.ts +2 -2
  453. package/build/together/components/molecules/postImagePreview/imagePreviewPopup.d.ts +2 -2
  454. package/build/together/components/molecules/postImagePreview/index.d.ts +2 -2
  455. package/build/together/components/molecules/postImagePreview/index.styled.d.ts +1 -1
  456. package/build/together/components/molecules/postImagePreview/postSingleImageViewPopup/index.d.ts +2 -2
  457. package/build/together/components/molecules/profileDetail/about/articleCard/index.d.ts +2 -2
  458. package/build/together/components/molecules/profileDetail/about/index.d.ts +2 -2
  459. package/build/together/components/molecules/profileDetail/answering/index.d.ts +2 -2
  460. package/build/together/components/molecules/profileDetail/answering/postCard/index.d.ts +2 -2
  461. package/build/together/components/molecules/profileDetail/care/index.d.ts +2 -2
  462. package/build/together/components/molecules/profileDetail/care/questionCard/index.d.ts +2 -2
  463. package/build/together/components/molecules/profileDetail/context.d.ts +1 -1
  464. package/build/together/components/molecules/profileDetail/emptyMessage/index.d.ts +2 -2
  465. package/build/together/components/molecules/profileDetail/index.d.ts +2 -2
  466. package/build/together/components/molecules/profileDetail/posts/index.d.ts +2 -2
  467. package/build/together/components/molecules/profileDetail/posts/postCard/index.d.ts +2 -2
  468. package/build/together/components/molecules/profileDetailModal/index.d.ts +2 -2
  469. package/build/together/components/molecules/shareBox/index.d.ts +2 -2
  470. package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +2 -2
  471. package/build/together/components/molecules/socialLinkPreview/index.d.ts +2 -2
  472. package/build/together/components/molecules/submitReportForm/index.d.ts +2 -2
  473. package/build/together/components/molecules/topicSelectList/index.d.ts +2 -2
  474. package/build/together/components/organisms/cardPost/cardPostPopover.d.ts +2 -2
  475. package/build/together/components/organisms/cardPost/index.d.ts +2 -2
  476. package/build/together/components/organisms/cardReply/cardReplyPopover.d.ts +2 -2
  477. package/build/together/components/organisms/cardReply/index.d.ts +2 -2
  478. package/build/together/components/organisms/cardReply/index.styled.d.ts +1 -1
  479. package/build/together/components/organisms/cardReply/verifiedTag/index.d.ts +2 -2
  480. package/build/together/components/organisms/popoverMenu/index.d.ts +2 -2
  481. package/build/together/components/organisms/popoverMenu/treePopoverMenu.d.ts +3 -3
  482. package/build/together/components/organisms/sourceList/index.d.ts +2 -2
  483. package/build/together/components/organisms/sourceList/recommentCategories/index.d.ts +2 -2
  484. package/build/together/components/organisms/sourceList/sourceItem/index.d.ts +2 -2
  485. package/build/together/hooks/useTogetherAuthRequiredAction.d.ts +1 -1
  486. package/build/together/togetherComponentGlobalContext.d.ts +1 -1
  487. package/build/together.js +1 -1
  488. package/build/{translationsProvider-30eded82.js → translationsProvider-71fd1c68.js} +1 -1
  489. package/build/types-5e96530d.js +3078 -0
  490. package/build/{types-baf33d25.js → types-8ba1d77c.js} +89 -89
  491. package/build/types.js +1 -1
  492. package/build/{useHealthToolCache-d3dcf17a.js → useHealthToolCache-e8f6d71a.js} +1 -1
  493. package/build/{useRafState-70652ea2.js → useRafState-a9461843.js} +1 -1
  494. package/build/{useScreenSize-57e7e942.js → useScreenSize-aa32347f.js} +1 -1
  495. package/build/{useTranslations-19d05a27.js → useTranslations-e1f00e49.js} +1 -1
  496. package/build/utils-1fd82192.js +166 -0
  497. package/build/vaccination.js +12 -12
  498. package/package.json +4 -4
  499. package/build/esm/getDynamicHealthTool-fac910f0.js +0 -1
  500. package/build/esm/index-0a675e15.js +0 -1
  501. package/build/esm/index-180eedfa.js +0 -1
  502. package/build/esm/index-1a6a4029.js +0 -1
  503. package/build/esm/index-39aec1ec.js +0 -1
  504. package/build/esm/index-47b2afe0.js +0 -1
  505. package/build/esm/index-7068cbae.js +0 -1
  506. package/build/esm/index-89c73e9d.js +0 -1
  507. package/build/esm/index-976a5a4f.js +0 -1
  508. package/build/esm/index-a2dc9aab.js +0 -1
  509. package/build/esm/index-be181892.js +0 -1
  510. package/build/esm/index-e5f9ec18.js +0 -1
  511. package/build/esm/index.styled-2a2c4eff.js +0 -3995
  512. package/build/esm/index.styled-588c967b.js +0 -166
  513. package/build/esm/index.styled-f5a3e9e0.js +0 -1249
  514. package/build/esm/types-42472308.js +0 -3078
  515. package/build/esm/useHealthToolCache-c717e64e.js +0 -1
  516. package/build/index-0ffe250c.js +0 -1
  517. package/build/index-1e8f491f.js +0 -1
  518. package/build/index-41d5f491.js +0 -1
  519. package/build/index-4503b8a0.js +0 -1
  520. package/build/index-45687b11.js +0 -1
  521. package/build/index-a518b68e.js +0 -1
  522. package/build/index-ca6e36bc.js +0 -1
  523. package/build/index-ec29d439.js +0 -1
  524. package/build/index-f0f5a3f8.js +0 -1
  525. package/build/index-fa1c7976.js +0 -1
  526. package/build/index.styled-420c6f71.js +0 -1249
  527. package/build/index.styled-7adc9e6f.js +0 -3995
  528. package/build/index.styled-a02c919b.js +0 -166
  529. package/build/types-4a1bec41.js +0 -3078
  530. /package/build/{BMI_BOYS.percentile.monthly-32be3a23.js → BMI_BOYS.percentile.monthly-cc21da4a.js} +0 -0
  531. /package/build/{BMI_BOYS.percentile.weekly-12220234.js → BMI_BOYS.percentile.weekly-cab9116d.js} +0 -0
  532. /package/build/{BMI_BOYS.percentile.yearly-076669a1.js → BMI_BOYS.percentile.yearly-325f2911.js} +0 -0
  533. /package/build/{BMI_BOYS.zscore.monthly-f2131a61.js → BMI_BOYS.zscore.monthly-4417c309.js} +0 -0
  534. /package/build/{BMI_BOYS.zscore.weekly-4e09aefa.js → BMI_BOYS.zscore.weekly-e084fa1b.js} +0 -0
  535. /package/build/{BMI_BOYS.zscore.yearly-3e7efc96.js → BMI_BOYS.zscore.yearly-4fb1a35a.js} +0 -0
  536. /package/build/{BMI_GIRLS.percentile.monthly-86d0eb7b.js → BMI_GIRLS.percentile.monthly-0b8b2a54.js} +0 -0
  537. /package/build/{BMI_GIRLS.percentile.weekly-ec26a1aa.js → BMI_GIRLS.percentile.weekly-7984d251.js} +0 -0
  538. /package/build/{BMI_GIRLS.percentile.yearly-80fc7bfb.js → BMI_GIRLS.percentile.yearly-f3290cd2.js} +0 -0
  539. /package/build/{BMI_GIRLS.zscore.monthly-ae43c72f.js → BMI_GIRLS.zscore.monthly-adca778f.js} +0 -0
  540. /package/build/{BMI_GIRLS.zscore.weekly-dbd1c3a1.js → BMI_GIRLS.zscore.weekly-70b2b83a.js} +0 -0
  541. /package/build/{BMI_GIRLS.zscore.yearly-cc65bc93.js → BMI_GIRLS.zscore.yearly-4d2a7fcf.js} +0 -0
  542. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-3714ec0c.js → HEAD CIRCUM_BOYS.percentile.monthly-0d1ea98f.js} +0 -0
  543. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-256072df.js → HEAD CIRCUM_BOYS.percentile.weekly-bdb2506b.js} +0 -0
  544. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f09d3820.js → HEAD CIRCUM_BOYS.percentile.yearly-f304cefe.js} +0 -0
  545. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-a842c62b.js → HEAD CIRCUM_BOYS.zscore.monthly-437e32fc.js} +0 -0
  546. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-88b28942.js → HEAD CIRCUM_BOYS.zscore.weekly-efdf410b.js} +0 -0
  547. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b715b464.js → HEAD CIRCUM_BOYS.zscore.yearly-392efdc4.js} +0 -0
  548. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-1d71da8b.js → HEAD CIRCUM_GIRLS.percentile.monthly-1d3baba4.js} +0 -0
  549. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a399fc8f.js → HEAD CIRCUM_GIRLS.percentile.weekly-4b33dc9c.js} +0 -0
  550. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-78b8a9c6.js → HEAD CIRCUM_GIRLS.percentile.yearly-8beeb43c.js} +0 -0
  551. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-93d8a70d.js → HEAD CIRCUM_GIRLS.zscore.monthly-0a5f55e0.js} +0 -0
  552. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-cb338d24.js → HEAD CIRCUM_GIRLS.zscore.weekly-3248887b.js} +0 -0
  553. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-c2464b09.js → HEAD CIRCUM_GIRLS.zscore.yearly-e0d2e330.js} +0 -0
  554. /package/build/{HEIGHT_BOYS.percentile.monthly-da89077a.js → HEIGHT_BOYS.percentile.monthly-de247faa.js} +0 -0
  555. /package/build/{HEIGHT_BOYS.percentile.weekly-e9fa02cb.js → HEIGHT_BOYS.percentile.weekly-79c47dc0.js} +0 -0
  556. /package/build/{HEIGHT_BOYS.percentile.yearly-9f613642.js → HEIGHT_BOYS.percentile.yearly-593b944a.js} +0 -0
  557. /package/build/{HEIGHT_BOYS.zscore.monthly-e850de92.js → HEIGHT_BOYS.zscore.monthly-364d2a46.js} +0 -0
  558. /package/build/{HEIGHT_BOYS.zscore.weekly-585ae860.js → HEIGHT_BOYS.zscore.weekly-903c43de.js} +0 -0
  559. /package/build/{HEIGHT_BOYS.zscore.yearly-1ac6e64c.js → HEIGHT_BOYS.zscore.yearly-16b97a66.js} +0 -0
  560. /package/build/{HEIGHT_GIRLS.percentile.monthly-fb3769ef.js → HEIGHT_GIRLS.percentile.monthly-a08a0033.js} +0 -0
  561. /package/build/{HEIGHT_GIRLS.percentile.weekly-fafda017.js → HEIGHT_GIRLS.percentile.weekly-41d24e9c.js} +0 -0
  562. /package/build/{HEIGHT_GIRLS.percentile.yearly-b5f753f6.js → HEIGHT_GIRLS.percentile.yearly-30e24eef.js} +0 -0
  563. /package/build/{HEIGHT_GIRLS.zscore.monthly-727008e0.js → HEIGHT_GIRLS.zscore.monthly-4973f37f.js} +0 -0
  564. /package/build/{HEIGHT_GIRLS.zscore.weekly-d838b0c3.js → HEIGHT_GIRLS.zscore.weekly-d849848c.js} +0 -0
  565. /package/build/{HEIGHT_GIRLS.zscore.yearly-313d15da.js → HEIGHT_GIRLS.zscore.yearly-fff74d92.js} +0 -0
  566. /package/build/{Onboarding-8d363051.js → Onboarding-d3651df7.js} +0 -0
  567. /package/build/{Visible-2fc8f4c2.js → Visible-e1a64d77.js} +0 -0
  568. /package/build/{WEIGHT_BOYS.percentile.monthly-e2c8b783.js → WEIGHT_BOYS.percentile.monthly-781fbdbb.js} +0 -0
  569. /package/build/{WEIGHT_BOYS.percentile.weekly-2b4637ae.js → WEIGHT_BOYS.percentile.weekly-ae0d78e7.js} +0 -0
  570. /package/build/{WEIGHT_BOYS.percentile.yearly-13dfee02.js → WEIGHT_BOYS.percentile.yearly-189b8ae5.js} +0 -0
  571. /package/build/{WEIGHT_BOYS.zscore.monthly-1d11b650.js → WEIGHT_BOYS.zscore.monthly-b878b977.js} +0 -0
  572. /package/build/{WEIGHT_BOYS.zscore.weekly-4b76f171.js → WEIGHT_BOYS.zscore.weekly-50f9961d.js} +0 -0
  573. /package/build/{WEIGHT_BOYS.zscore.yearly-c2d2f22c.js → WEIGHT_BOYS.zscore.yearly-8fd46d1e.js} +0 -0
  574. /package/build/{WEIGHT_GIRLS.percentile.monthly-aef93721.js → WEIGHT_GIRLS.percentile.monthly-0572cf3c.js} +0 -0
  575. /package/build/{WEIGHT_GIRLS.percentile.weekly-b122299b.js → WEIGHT_GIRLS.percentile.weekly-c95dda7c.js} +0 -0
  576. /package/build/{WEIGHT_GIRLS.percentile.yearly-310f26f4.js → WEIGHT_GIRLS.percentile.yearly-165e5f43.js} +0 -0
  577. /package/build/{WEIGHT_GIRLS.zscore.monthly-3d7198c4.js → WEIGHT_GIRLS.zscore.monthly-bd283f66.js} +0 -0
  578. /package/build/{WEIGHT_GIRLS.zscore.weekly-ea7bc719.js → WEIGHT_GIRLS.zscore.weekly-71a2c84b.js} +0 -0
  579. /package/build/{WEIGHT_GIRLS.zscore.yearly-03a69c54.js → WEIGHT_GIRLS.zscore.yearly-fffba4aa.js} +0 -0
  580. /package/build/components/molecules/{breadcrumbs → __deprecated_breadcrumbs}/index.test.d.ts +0 -0
  581. /package/build/{constants-606a0013.js → constants-5e247592.js} +0 -0
  582. /package/build/{cookieHelper-b2667594.js → cookieHelper-3f2b551f.js} +0 -0
  583. /package/build/esm/{BMI_BOYS.percentile.monthly-dcb0bd73.js → BMI_BOYS.percentile.monthly-c234eca0.js} +0 -0
  584. /package/build/esm/{BMI_BOYS.percentile.weekly-c95e6c4d.js → BMI_BOYS.percentile.weekly-b6563ebb.js} +0 -0
  585. /package/build/esm/{BMI_BOYS.percentile.yearly-bbd9662f.js → BMI_BOYS.percentile.yearly-df6db838.js} +0 -0
  586. /package/build/esm/{BMI_BOYS.zscore.monthly-ba1e2b29.js → BMI_BOYS.zscore.monthly-6fa25427.js} +0 -0
  587. /package/build/esm/{BMI_BOYS.zscore.weekly-80499522.js → BMI_BOYS.zscore.weekly-0d53caaa.js} +0 -0
  588. /package/build/esm/{BMI_BOYS.zscore.yearly-14b7b7e2.js → BMI_BOYS.zscore.yearly-2f8bfde1.js} +0 -0
  589. /package/build/esm/{BMI_GIRLS.percentile.monthly-c26c77fa.js → BMI_GIRLS.percentile.monthly-154334b1.js} +0 -0
  590. /package/build/esm/{BMI_GIRLS.percentile.weekly-2e76ec28.js → BMI_GIRLS.percentile.weekly-1d4c0738.js} +0 -0
  591. /package/build/esm/{BMI_GIRLS.percentile.yearly-5da0e3e1.js → BMI_GIRLS.percentile.yearly-98185289.js} +0 -0
  592. /package/build/esm/{BMI_GIRLS.zscore.monthly-a3087ca1.js → BMI_GIRLS.zscore.monthly-e010cea8.js} +0 -0
  593. /package/build/esm/{BMI_GIRLS.zscore.weekly-ce577050.js → BMI_GIRLS.zscore.weekly-3b51684b.js} +0 -0
  594. /package/build/esm/{BMI_GIRLS.zscore.yearly-9a23543b.js → BMI_GIRLS.zscore.yearly-51e90d5c.js} +0 -0
  595. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-7fd9c289.js → HEAD CIRCUM_BOYS.percentile.monthly-f36d0465.js} +0 -0
  596. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-7f9d66b1.js → HEAD CIRCUM_BOYS.percentile.weekly-e154dde9.js} +0 -0
  597. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7a8c5e08.js → HEAD CIRCUM_BOYS.percentile.yearly-0cb69834.js} +0 -0
  598. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-333371ba.js → HEAD CIRCUM_BOYS.zscore.monthly-a009cd46.js} +0 -0
  599. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5264d210.js → HEAD CIRCUM_BOYS.zscore.weekly-63f8d0e9.js} +0 -0
  600. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-71b3936f.js → HEAD CIRCUM_BOYS.zscore.yearly-e0ba4d3a.js} +0 -0
  601. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-942d386c.js → HEAD CIRCUM_GIRLS.percentile.monthly-26391058.js} +0 -0
  602. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7a149e14.js → HEAD CIRCUM_GIRLS.percentile.weekly-4cfd45fa.js} +0 -0
  603. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a28b4d2d.js → HEAD CIRCUM_GIRLS.percentile.yearly-272ddd57.js} +0 -0
  604. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-d5bc5ee3.js → HEAD CIRCUM_GIRLS.zscore.monthly-98192dd8.js} +0 -0
  605. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-693684eb.js → HEAD CIRCUM_GIRLS.zscore.weekly-6231b935.js} +0 -0
  606. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-35b00260.js → HEAD CIRCUM_GIRLS.zscore.yearly-70027478.js} +0 -0
  607. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f7ad9c3e.js → HEIGHT_BOYS.percentile.monthly-b03b60ce.js} +0 -0
  608. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8fcf287d.js → HEIGHT_BOYS.percentile.weekly-5a2a3a14.js} +0 -0
  609. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-1001f097.js → HEIGHT_BOYS.percentile.yearly-d227951f.js} +0 -0
  610. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6c3b613f.js → HEIGHT_BOYS.zscore.monthly-9ce55af5.js} +0 -0
  611. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ad61e4f8.js → HEIGHT_BOYS.zscore.weekly-471ddfcf.js} +0 -0
  612. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0cf9abb3.js → HEIGHT_BOYS.zscore.yearly-6c6e3341.js} +0 -0
  613. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-cf0aaa04.js → HEIGHT_GIRLS.percentile.monthly-9f957a28.js} +0 -0
  614. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-31a51ebd.js → HEIGHT_GIRLS.percentile.weekly-4c7ecf30.js} +0 -0
  615. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-aeaf37a3.js → HEIGHT_GIRLS.percentile.yearly-f53e6122.js} +0 -0
  616. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-f0f59a83.js → HEIGHT_GIRLS.zscore.monthly-28b34b76.js} +0 -0
  617. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-fe6a5bd3.js → HEIGHT_GIRLS.zscore.weekly-b7d8e36c.js} +0 -0
  618. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-ba6b64b0.js → HEIGHT_GIRLS.zscore.yearly-9a0c293f.js} +0 -0
  619. /package/build/esm/{Onboarding-db0aad29.js → Onboarding-e9addf1e.js} +0 -0
  620. /package/build/esm/{Visible-7732053a.js → Visible-59e486b9.js} +0 -0
  621. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4d5e7458.js → WEIGHT_BOYS.percentile.monthly-ad918c98.js} +0 -0
  622. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-18b6c7bb.js → WEIGHT_BOYS.percentile.weekly-d89f3a29.js} +0 -0
  623. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7f2ab972.js → WEIGHT_BOYS.percentile.yearly-5620d6e6.js} +0 -0
  624. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-70bd6d3e.js → WEIGHT_BOYS.zscore.monthly-7e616ce6.js} +0 -0
  625. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-edd20b79.js → WEIGHT_BOYS.zscore.weekly-fa6122d2.js} +0 -0
  626. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-834cb0b3.js → WEIGHT_BOYS.zscore.yearly-817f6406.js} +0 -0
  627. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0eaea462.js → WEIGHT_GIRLS.percentile.monthly-a6c1e952.js} +0 -0
  628. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c77d9505.js → WEIGHT_GIRLS.percentile.weekly-a77f6965.js} +0 -0
  629. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-cde76613.js → WEIGHT_GIRLS.percentile.yearly-bcdd918f.js} +0 -0
  630. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-e0a8c880.js → WEIGHT_GIRLS.zscore.monthly-78a30cdd.js} +0 -0
  631. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-e8d15835.js → WEIGHT_GIRLS.zscore.weekly-d11485dc.js} +0 -0
  632. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-82ed3c48.js → WEIGHT_GIRLS.zscore.yearly-54082e01.js} +0 -0
  633. /package/build/esm/{constants-21e8c9d5.js → constants-2ab6e604.js} +0 -0
  634. /package/build/esm/{cookieHelper-a2c54e85.js → cookieHelper-b97400df.js} +0 -0
  635. /package/build/esm/{index-7b166303.js → index-ece5ee58.js} +0 -0
  636. /package/build/esm/{isProduction-ea895154.js → isProduction-aba46914.js} +0 -0
  637. /package/build/esm/{localizeNumberFormat-6deef77b.js → localizeNumberFormat-25d6c939.js} +0 -0
  638. /package/build/esm/{normalizeLink-7b85244a.js → normalizeLink-022b3387.js} +0 -0
  639. /package/build/esm/{theme-dba1b74c.js → theme-767314d5.js} +0 -0
  640. /package/build/esm/{translationsContext-48c78d43.js → translationsContext-f1f9a65f.js} +0 -0
  641. /package/build/esm/{tslib.es6-7d4256e2.js → tslib.es6-f8281476.js} +0 -0
  642. /package/build/esm/{types-eb022593.js → types-4a76261a.js} +0 -0
  643. /package/build/esm/{useIsInit-b5ea5aaa.js → useIsInit-0c9746dc.js} +0 -0
  644. /package/build/esm/{useOutsideClick-717ef9fc.js → useOutsideClick-be2ddaeb.js} +0 -0
  645. /package/build/esm/{useScrollbarSize-fff02bb1.js → useScrollbarSize-eef07cc6.js} +0 -0
  646. /package/build/esm/{useUniqueId-3c9e5754.js → useUniqueId-445c4e5a.js} +0 -0
  647. /package/build/esm/{utils-1c546527.js → utils-528b09d1.js} +0 -0
  648. /package/build/{index-771c1b27.js → index-dfb6e4ea.js} +0 -0
  649. /package/build/{isProduction-bbff0073.js → isProduction-668ab2b8.js} +0 -0
  650. /package/build/{localizeNumberFormat-b8e4cfe3.js → localizeNumberFormat-c627070d.js} +0 -0
  651. /package/build/{normalizeLink-7b336aa7.js → normalizeLink-7c1751de.js} +0 -0
  652. /package/build/{theme-b65701ae.js → theme-21cb6933.js} +0 -0
  653. /package/build/{translationsContext-9196f7b1.js → translationsContext-6d1cbb1b.js} +0 -0
  654. /package/build/{tslib.es6-c18725ef.js → tslib.es6-b99f8b94.js} +0 -0
  655. /package/build/{types-3d0f9add.js → types-14fcaa8e.js} +0 -0
  656. /package/build/{useIsInit-ed80722c.js → useIsInit-77d1386e.js} +0 -0
  657. /package/build/{useOutsideClick-8a19f6ab.js → useOutsideClick-26af72dc.js} +0 -0
  658. /package/build/{useScrollbarSize-726d97ad.js → useScrollbarSize-4bdc3fc9.js} +0 -0
  659. /package/build/{useUniqueId-bde3b8b5.js → useUniqueId-abc7e881.js} +0 -0
  660. /package/build/{utils-80d2aa8d.js → utils-d0bf39f0.js} +0 -0
package/build/ecom.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme-b65701ae.js");require("./index-3fabbfe2.js");var o=require("./isProduction-bbff0073.js"),t=require("./types-3d0f9add.js");require("./Onboarding-8d363051.js");var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",u=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,c=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o.isProduction?`https://${d[s]}`:`https://discover.${d[s]}`,p=o.isProduction?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]}),CATEGORY:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop/san-pham/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:u,GOOGLE_CLIENT_ID:c,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return I},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},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/"},"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/"},"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/"},"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/"},"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/"},"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"},"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/"},"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/"},"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/"}},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"}]},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"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:s||"",children:r,backgroundColor:o.color||e.theme.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});exports.Types=t.types,exports.ApiTypes=l,exports.Constants=T,exports.DataFormatter=A,exports.DataTypes=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./theme-21cb6933.js");require("./index-864331fa.js");var o=require("./isProduction-668ab2b8.js"),t=require("./types-14fcaa8e.js");require("./Onboarding-d3651df7.js");var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",u=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,c=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o.isProduction?`https://${d[s]}`:`https://discover.${d[s]}`,p=o.isProduction?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]}),CATEGORY:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,t=[])=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":`https://hellobacsi.com/shop/san-pham/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:u,GOOGLE_CLIENT_ID:c,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return I},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},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/"},"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/"},"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/"},"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/"},"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/"},"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"},"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/"},"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/"},"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/"}},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"}]},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"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:s||"",children:r,backgroundColor:o.color||e.theme.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(c=null===(u=null==e?void 0:e.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(c=(u=e.sub_banners).map)||void 0===c?void 0:c.call(u,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,u,c,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(u=e.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=e.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});exports.Types=t.types,exports.ApiTypes=l,exports.Constants=T,exports.DataFormatter=A,exports.DataTypes=i;
@@ -1,4 +1,4 @@
1
- import{D as e}from"./index-fcadb1e5.js";export{B as BabyGrowthGender}from"./index-fcadb1e5.js";import t,{useMemo as r,useRef as l,useState as o,useEffect as a}from"react";import{L as i,G as n,B as s,a as c}from"./Onboarding-db0aad29.js";import{t as d}from"./theme-dba1b74c.js";import{T as m}from"./index-6314712f.js";import C from"styled-components";import{B as p}from"./index-0332e9fb.js";import{I as h}from"./index-a2dc9aab.js";import{M as y}from"./index-e8096240.js";import{h as g}from"./screenSizeContext-1ce850a1.js";import u from"dayjs";import{u as f}from"./useTranslations-9944ea07.js";import"lodash/debounce";import"./isProduction-ea895154.js";import"./index-30b608e8.js";import{a as b,l as E}from"./localizeNumberFormat-6deef77b.js";import{H as w}from"./index-a91a8a82.js";import{s as x}from"./utils-1c546527.js";import{M as v}from"./index.styled-f5a3e9e0.js";import"./gAssets.js";import"@mantine/core";import"./index.styled-a132cfd4.js";import"./index-385e6123.js";import{C as L}from"./index-7b166303.js";import"./index-a1016f79.js";import"./index-d39d3c76.js";import"@mantine/hooks";import{a as M}from"./useOutsideClick-717ef9fc.js";import{_ as k,a as H}from"./tslib.es6-7d4256e2.js";import{M as I,N as j}from"./index-1a6a4029.js";import{ResponsiveContainer as S,LineChart as G,CartesianGrid as R,Tooltip as z,XAxis as Z,YAxis as _,Line as V,ReferenceDot as N}from"recharts";import T from"lodash/chunk";import"./useUniqueId-3c9e5754.js";import"./index.styled-c00e45ec.js";import"lodash/throttle";import"./translationsContext-48c78d43.js";import"string-format";import"@mantine/dates";import"@mantine/carousel";import"./index-976a5a4f.js";import"./useScrollbarSize-fff02bb1.js";import"react-dom";const A=C.div`
1
+ import{D as e}from"./index-6b79ca19.js";export{B as BabyGrowthGender}from"./index-6b79ca19.js";import t,{useMemo as r,useRef as l,useState as o,useEffect as a}from"react";import{L as i,G as n,B as s,a as c}from"./Onboarding-e9addf1e.js";import{t as d}from"./theme-767314d5.js";import{T as m}from"./index-3218f985.js";import C from"styled-components";import{B as p}from"./index-b25e070d.js";import{I as h}from"./index-0f11f09c.js";import{M as y}from"./index-78d1e5f0.js";import{h as g}from"./screenSizeContext-2e8c4f16.js";import f from"dayjs";import{u}from"./useTranslations-d8cfbc93.js";import"lodash/debounce";import"./isProduction-aba46914.js";import"./index-f436d992.js";import{a as b,l as E}from"./localizeNumberFormat-25d6c939.js";import{H as w}from"./index-c6afe51f.js";import{s as x}from"./utils-528b09d1.js";import{M as v}from"./index.styled-6eb6db84.js";import"./gAssets.js";import"@mantine/core";import"./index-7bc42423.js";import"./index-b7f6f393.js";import{C as L}from"./index-ece5ee58.js";import"./index-1c388316.js";import"./index-f4a4de1d.js";import"@mantine/hooks";import{a as M}from"./useOutsideClick-be2ddaeb.js";import{_ as k,a as H}from"./tslib.es6-f8281476.js";import{M as I,N as j}from"./index-2cbc0c3f.js";import{ResponsiveContainer as S,LineChart as G,CartesianGrid as R,Tooltip as z,XAxis as Z,YAxis as _,Line as V,ReferenceDot as N}from"recharts";import T from"lodash/chunk";import"./useUniqueId-445c4e5a.js";import"./index.styled-17c608d4.js";import"lodash/throttle";import"./translationsContext-f1f9a65f.js";import"string-format";import"@mantine/dates";import"@mantine/carousel";import"./index-20c75588.js";import"./useScrollbarSize-eef07cc6.js";import"react-dom";const A=C.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  gap: 16px;
@@ -135,6 +135,33 @@ import{D as e}from"./index-fcadb1e5.js";export{B as BabyGrowthGender}from"./inde
135
135
  }
136
136
  }
137
137
  `,Q=({profile:e,onChange:r,isActive:l,siteType:o})=>{const a="marryBaby"===o;return t.createElement(J,{onClick:()=>r(String(e.id)),"data-is-mb":a,"data-isActive":a&&l},a?t.createElement(t.Fragment,null,t.createElement("div",{className:"baby"},t.createElement(y,{type:"bodytext-1",color:d.colors.gray800},e.name)),t.createElement("div",{className:l?"radio active":"radio"},l&&t.createElement(h.CheckActiveMB,{size:26}))):t.createElement(t.Fragment,null,t.createElement("div",{className:"baby"},"male"===e.gender?t.createElement(h.Boy,{size:24}):t.createElement(h.Girl,{size:24}),t.createElement(m,{size:"p2",color:d.colors.gray800},e.name)),t.createElement("div",{className:l?"radio active":"radio"})))},X=C.div`
138
+ cursor: pointer;
139
+ position: relative;
140
+ padding: 20px 2px;
141
+ border-bottom: 1px solid ${d.colors.gray100};
142
+ .time {
143
+ display: flex;
144
+ align-items: center;
145
+ gap: 8px;
146
+ margin-bottom: 16px;
147
+ }
148
+ .edit-button {
149
+ margin-left: auto;
150
+ justify-self: end;
151
+ }
152
+ .record {
153
+ display: grid;
154
+ grid-template-columns: repeat(3, 1fr);
155
+ grid-template-rows: 1fr;
156
+ grid-column-gap: 30px;
157
+ grid-row-gap: 0px;
158
+ }
159
+ .record-item {
160
+ display: flex;
161
+ align-items: center;
162
+ gap: 8px;
163
+ }
164
+ `,ee=C.div`
138
165
  /* Auto layout */
139
166
  position: relative;
140
167
  display: flex;
@@ -172,12 +199,12 @@ import{D as e}from"./index-fcadb1e5.js";export{B as BabyGrowthGender}from"./inde
172
199
  }
173
200
  }
174
201
  }
175
- `,ee=C.div`
202
+ `,te=C.div`
176
203
  position: absolute;
177
204
  top: 18px;
178
205
  right: 16px;
179
206
  cursor: pointer;
180
- `,te=C(v)`
207
+ `,re=C(v)`
181
208
  position: absolute;
182
209
  right: 0;
183
210
  z-index: 1;
@@ -193,34 +220,7 @@ import{D as e}from"./index-fcadb1e5.js";export{B as BabyGrowthGender}from"./inde
193
220
  }
194
221
  }
195
222
  }
196
- `,re=({name:e,onClose:r,onEdit:o,onSwitch:a,onAdd:i,onRemove:n,siteType:s})=>{const{t:c}=f(),C="marryBaby"===s,p=l();return M(p,r),t.createElement("div",{ref:p},C?t.createElement(te,{width:250,"data-site":s},t.createElement(v.Item,{onClick:o,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1512 4.29354C13.7553 3.68946 14.5746 3.3501 15.4289 3.3501C17.2078 3.3501 18.65 4.79223 18.65 6.5712C18.65 7.42549 18.3106 8.24479 17.7065 8.84886L16.9689 9.58652C16.9626 9.59307 16.9562 9.5995 16.9496 9.6058L13.7897 12.7657C12.0036 14.5518 9.76564 15.8189 7.31513 16.4315L6.55809 16.6208C5.84616 16.7988 5.20129 16.1539 5.37927 15.442L5.56853 14.6849C6.18116 12.2344 7.44827 9.99647 9.23437 8.21036L12.3943 5.0504C12.4006 5.04388 12.407 5.0375 12.4135 5.03127L13.1512 4.29354ZM12.2667 7.01649L10.1536 9.1296C8.53411 10.7491 7.3852 12.7783 6.82972 15.0002L6.77301 15.227L6.99983 15.1703C9.22177 14.6149 11.251 13.4659 12.8705 11.8464L14.9836 9.73334C14.3478 9.52953 13.7639 9.13743 13.3133 8.68678C12.8626 8.23613 12.4705 7.65226 12.2667 7.01649ZM16.1622 8.55469C15.5984 8.66895 14.8552 8.39025 14.2325 7.76754C13.6098 7.14483 13.3311 6.40165 13.4454 5.83784L14.0704 5.21278C14.4307 4.8525 14.9193 4.6501 15.4289 4.6501C16.4899 4.6501 17.35 5.5102 17.35 6.5712C17.35 7.08071 17.1476 7.56935 16.7873 7.92962L16.1622 8.55469Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.34998 20.0001C4.34998 19.6411 4.64099 19.3501 4.99998 19.3501H19C19.359 19.3501 19.65 19.6411 19.65 20.0001C19.65 20.3591 19.359 20.6501 19 20.6501H4.99998C4.64099 20.6501 4.34998 20.3591 4.34998 20.0001Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("childCard.menu.edit",{name:e}))),t.createElement(v.Item,{onClick:a,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5951 4.50716C12.8673 4.19494 13.3411 4.16249 13.6533 4.43468L19.4929 9.52559C19.7286 9.73108 19.812 10.0613 19.7023 10.3541C19.5926 10.6469 19.3127 10.8409 19 10.8409H5C4.58579 10.8409 4.25 10.5051 4.25 10.0909C4.25 9.67671 4.58579 9.34092 5 9.34092H16.9984L12.6676 5.56534C12.3554 5.29315 12.3229 4.81938 12.5951 4.50716Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4049 19.4928C11.1327 19.8051 10.6589 19.8375 10.3467 19.5653L4.50715 14.4744C4.27144 14.2689 4.18796 13.9387 4.29768 13.6459C4.40741 13.3531 4.68729 13.1591 5 13.1591L19 13.1591C19.4142 13.1591 19.75 13.4949 19.75 13.9091C19.75 14.3233 19.4142 14.6591 19 14.6591L7.00161 14.6591L11.3324 18.4347C11.6446 18.7069 11.6771 19.1806 11.4049 19.4928Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("childCard.menu.switch"))),t.createElement(v.Item,{onClick:i,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M11.8123 22.1251C8.24982 22.1251 5.15607 19.837 4.10577 16.4444C4.01202 16.1441 4.18048 15.8248 4.48077 15.731C4.78107 15.6373 5.1004 15.8057 5.19415 16.106C6.09357 19.0313 8.75665 20.981 11.8123 20.981C14.868 20.981 17.5311 19.0123 18.4305 16.106C18.5242 15.8057 18.8436 15.6373 19.1439 15.731C19.4442 15.8248 19.6126 16.1441 19.5189 16.4444C18.4686 19.837 15.3748 22.1251 11.8123 22.1251Z",fill:"#3E3F58"}),t.createElement("path",{d:"M4.3125 16.875C2.75684 16.875 1.5 15.6182 1.5 14.0625C1.5 12.5244 2.73779 11.2881 4.25684 11.25C4.96875 9.33691 6.41309 7.72559 8.26904 6.82471C8.55029 6.69434 8.88721 6.80566 9.01904 7.08691C9.14941 7.36816 9.03809 7.70654 8.75684 7.83691C7.05029 8.66309 5.73779 10.1997 5.19434 12C5.11816 12.2622 4.85596 12.4307 4.57471 12.394C4.46191 12.375 4.38721 12.375 4.3125 12.375C3.375 12.375 2.625 13.125 2.625 14.0625C2.625 15 3.375 15.75 4.3125 15.75C4.38721 15.75 4.46191 15.75 4.55566 15.731C4.85596 15.6943 5.15625 15.8994 5.19434 16.1997C5.23096 16.5 5.02441 16.8003 4.72559 16.8369C4.57471 16.856 4.44434 16.875 4.3125 16.875ZM19.3125 16.875C19.1807 16.875 19.0503 16.856 18.8994 16.8369C18.6006 16.8003 18.375 16.5 18.4307 16.1997C18.4688 15.8994 18.769 15.6753 19.0693 15.731C19.1631 15.75 19.2378 15.75 19.3125 15.75C20.25 15.75 21 15 21 14.0625C21 13.125 20.25 12.375 19.3125 12.375C19.2378 12.375 19.1631 12.375 19.0693 12.394C18.7881 12.4307 18.5244 12.2622 18.4497 12C17.5503 9.07471 14.8872 7.125 11.8315 7.125C10.856 7.125 9.39404 6.46875 9.39404 4.6875C9.39404 4.36816 9.63721 4.125 9.95654 4.125C10.2744 4.125 10.519 4.36816 10.519 4.6875C10.519 5.96191 11.6997 6 11.8315 6C15.2432 6 18.2256 8.10059 19.3872 11.25C20.9062 11.2881 22.144 12.5244 22.144 14.0625C22.125 15.6182 20.8682 16.875 19.3125 16.875Z",fill:"#3E3F58"}),t.createElement("circle",{cx:"11.8125",cy:"17.8125",r:"0.9375",fill:"#3E3F58"}),t.createElement("path",{d:"M16.0938 13.1694C15.897 13.0702 15.6596 13.1484 15.5592 13.343C15.5561 13.3488 15.2533 13.9219 14.7187 13.9219C14.1841 13.9219 13.8814 13.3488 13.8799 13.3453C13.781 13.148 13.5421 13.069 13.3452 13.1671C13.1483 13.2655 13.0689 13.5048 13.167 13.7017C13.188 13.7434 13.6876 14.7188 14.7187 14.7188C15.7499 14.7188 16.2495 13.7433 16.2705 13.7017C16.3685 13.5056 16.2892 13.2686 16.0938 13.1694Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1344 13.0892L16.1346 13.0893C16.3737 13.2108 16.4714 13.5014 16.351 13.7421L16.3509 13.7425C16.3382 13.7675 16.2027 14.0317 15.9361 14.2906C15.6691 14.55 15.2651 14.809 14.7188 14.809C14.1725 14.809 13.7685 14.55 13.5014 14.2906C13.2349 14.0317 13.0994 13.7675 13.0867 13.7424L13.0865 13.742L13.0865 13.742C12.9664 13.5009 13.0635 13.2075 13.305 13.0867L13.3051 13.0867C13.5463 12.9666 13.8392 13.0633 13.9604 13.3051L13.9625 13.3094L13.9625 13.3094C13.9628 13.31 13.9635 13.3112 13.9646 13.313C13.9776 13.3355 14.0457 13.4532 14.1633 13.5717C14.2976 13.707 14.4853 13.8321 14.7188 13.8321C14.9522 13.8321 15.1399 13.707 15.2744 13.5714C15.3411 13.5042 15.3925 13.4366 15.4274 13.3854C15.4448 13.3598 15.458 13.3386 15.4667 13.3238C15.4711 13.3164 15.4744 13.3106 15.4766 13.3068L15.4797 13.3011C15.6028 13.0634 15.8935 12.9678 16.1344 13.0892ZM13.8799 13.3455C13.8814 13.349 14.1841 13.9221 14.7188 13.9221C15.2517 13.9221 15.5543 13.3525 15.5592 13.3432L15.5592 13.3431C15.6597 13.1486 15.897 13.0704 16.0939 13.1696C16.2892 13.2688 16.3686 13.5058 16.2705 13.7019C16.2495 13.7435 15.7499 14.719 14.7188 14.719C13.6877 14.719 13.1881 13.7435 13.167 13.7019C13.069 13.505 13.1484 13.2657 13.3453 13.1672C13.5422 13.0692 13.7811 13.1482 13.8799 13.3455Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5094 13.0893L10.5091 13.0892C10.2682 12.9678 9.97759 13.0634 9.85442 13.3011L9.85131 13.3068C9.84916 13.3106 9.84588 13.3164 9.8415 13.3238C9.83273 13.3386 9.81958 13.3598 9.80218 13.3854C9.76727 13.4366 9.71585 13.5042 9.6492 13.5714C9.51469 13.707 9.327 13.8321 9.09355 13.8321C8.86008 13.8321 8.67238 13.707 8.53807 13.5717C8.47152 13.5047 8.42025 13.4372 8.38558 13.3864C8.35996 13.3488 8.34478 13.3223 8.33921 13.3126L8.33682 13.3085L8.33512 13.3051C8.21396 13.0633 7.92186 12.9667 7.68003 13.0866L7.67978 13.0867C7.43828 13.2075 7.34115 13.5009 7.46124 13.742L7.46147 13.7424C7.47414 13.7675 7.60963 14.0317 7.87619 14.2906C8.14326 14.55 8.54722 14.809 9.09355 14.809C9.63987 14.809 10.0438 14.55 10.3109 14.2906C10.5775 14.0317 10.713 13.7675 10.7256 13.7425L10.7258 13.7421C10.8462 13.5014 10.7484 13.2108 10.5094 13.0893ZM9.93396 13.3432L9.934 13.3431C10.0062 13.2033 10.1491 13.1235 10.297 13.1266C10.1492 13.1236 10.0064 13.2033 9.93422 13.3431L9.93419 13.3432C9.92921 13.3526 9.62669 13.9221 9.09377 13.9221C9.08851 13.9221 9.08327 13.9221 9.07806 13.922C9.0832 13.9221 9.08836 13.9221 9.09355 13.9221C9.62649 13.9221 9.92901 13.3525 9.93396 13.3432ZM9.06061 14.7186C8.0518 14.6982 7.56261 13.7431 7.5418 13.7019C7.44375 13.505 7.52313 13.2657 7.72002 13.1672C7.7803 13.1373 7.84434 13.1239 7.90705 13.1253C7.84441 13.1239 7.78045 13.1374 7.72024 13.1672C7.52335 13.2657 7.44397 13.505 7.54203 13.7019C7.56283 13.7431 8.05195 14.6981 9.06061 14.7186Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8 2.3999C19.9144 2.3999 20.0071 2.49262 20.0071 2.60698V3.99282H21.3929C21.5073 3.99282 21.6 4.08554 21.6 4.1999C21.6 4.31427 21.5073 4.40698 21.3929 4.40698H20.0071V5.79282C20.0071 5.90719 19.9144 5.9999 19.8 5.9999C19.6856 5.9999 19.5929 5.90719 19.5929 5.79282V4.40698H18.2071C18.0927 4.40698 18 4.31427 18 4.1999C18 4.08554 18.0927 3.99282 18.2071 3.99282H19.5929V2.60698C19.5929 2.49262 19.6856 2.3999 19.8 2.3999Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2929 2.60718C19.2929 2.32712 19.5199 2.1001 19.8 2.1001C20.08 2.1001 20.307 2.32712 20.307 2.60718V3.69302H21.3929C21.6729 3.69302 21.9 3.92005 21.9 4.2001C21.9 4.48015 21.6729 4.70718 21.3929 4.70718H20.307V5.79302C20.307 6.07307 20.08 6.3001 19.8 6.3001C19.5199 6.3001 19.2929 6.07307 19.2929 5.79302V4.70718H18.207C17.927 4.70718 17.7 4.48015 17.7 4.2001C17.7 3.92005 17.927 3.69302 18.207 3.69302H19.2929V2.60718Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("childCard.menu.add"))),t.createElement(v.Item,{onClick:n,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6094 2.61873C11.0508 2.44123 11.5233 2.3501 12 2.3501C12.4767 2.3501 12.9491 2.44123 13.3905 2.61873C13.832 2.79625 14.2343 3.05692 14.5741 3.38678C14.9139 3.71668 15.1845 4.10937 15.3695 4.54295C15.4685 4.77508 15.5419 5.01633 15.5887 5.2626H16.9895C18.4406 5.2626 19.65 6.40947 19.65 7.86442V8.01078C19.65 8.89985 19.1605 9.68128 18.4237 10.1037C18.884 10.8243 19.2029 11.64 19.3437 12.5139L19.3813 12.7472C19.5681 13.9067 19.4973 15.0915 19.1738 16.2218L19.0562 16.6329C18.3288 19.1745 16.1665 21.0699 13.5141 21.522C12.5123 21.6928 11.4876 21.6928 10.4858 21.522C7.83339 21.0699 5.67109 19.1745 4.94377 16.6329L4.82611 16.2218C4.50265 15.0915 4.43185 13.9067 4.61867 12.7472L4.65627 12.5139C4.79707 11.64 5.11599 10.8243 5.57625 10.1037C4.83944 9.68128 4.34998 8.89985 4.34998 8.01078V7.86442C4.34998 6.40947 5.55937 5.2626 7.01043 5.2626H8.41124C8.45805 5.01633 8.53144 4.77508 8.63048 4.54295C8.81547 4.10937 9.08608 3.71668 9.42589 3.38678C9.76565 3.05692 10.168 2.79625 10.6094 2.61873ZM9.74907 5.2626L14.2509 5.2626C14.2288 5.19175 14.2031 5.12183 14.1738 5.05312C14.0572 4.77998 13.8859 4.53053 13.6685 4.31952C13.4511 4.10848 13.192 3.94008 12.9055 3.82486C12.619 3.70963 12.3112 3.6501 12 3.6501C11.6887 3.6501 11.381 3.70963 11.0944 3.82486C10.8079 3.94008 10.5488 4.10848 10.3314 4.31952C10.1141 4.53053 9.94273 4.77998 9.8262 5.05311C9.79688 5.12183 9.77115 5.19175 9.74907 5.2626ZM7.01043 6.5626C6.2408 6.5626 5.64998 7.16345 5.64998 7.86442V8.01078C5.64998 8.53694 6.03782 9.01141 6.60612 9.11574C6.65027 9.12384 6.69443 9.13185 6.73861 9.13975C6.73934 9.13988 6.74007 9.14001 6.7408 9.14014C6.9188 9.17198 7.09704 9.20218 7.27549 9.23076C10.5824 9.76029 13.9603 9.73008 17.2592 9.14014C17.2597 9.14004 17.2603 9.13994 17.2608 9.13984C17.3052 9.13191 17.3495 9.12388 17.3938 9.11574C17.9621 9.01141 18.35 8.53694 18.35 8.01078V7.86442C18.35 7.16345 17.7591 6.5626 16.9895 6.5626H7.01043ZM6.89224 10.4854C6.40537 11.1346 6.07257 11.8962 5.93971 12.7207L5.90212 12.954C5.74569 13.9249 5.80489 14.917 6.07594 15.8642L6.19359 16.2753C6.77869 18.3198 8.5277 19.8695 10.7042 20.2405C11.5615 20.3866 12.4385 20.3866 13.2957 20.2405C15.4722 19.8695 17.2212 18.3198 17.8063 16.2753L17.924 15.8642C18.1951 14.917 18.2543 13.9249 18.0978 12.954L18.0602 12.7207C17.9274 11.8962 17.5946 11.1346 17.1077 10.4854C17.0485 10.4953 16.9893 10.5049 16.93 10.5144C13.6061 11.0467 10.2137 11.037 6.89224 10.4854ZM9.34998 16.5918V12.7084C9.34998 12.3495 9.64099 12.0584 9.99998 12.0584C10.359 12.0584 10.65 12.3495 10.65 12.7084V16.5918C10.65 16.9508 10.359 17.2418 9.99998 17.2418C9.64099 17.2418 9.34998 16.9508 9.34998 16.5918ZM14 12.0584C14.359 12.0584 14.65 12.3495 14.65 12.7084V16.5918C14.65 16.9508 14.359 17.2418 14 17.2418C13.641 17.2418 13.35 16.9508 13.35 16.5918V12.7084C13.35 12.3495 13.641 12.0584 14 12.0584Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.red},c("childCard.menu.remove",{name:e})))):t.createElement(te,{width:250},t.createElement(v.Item,{onClick:o,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M12.7812 1.83301C12.2987 1.83301 11.8162 2.01676 11.4479 2.38509L10.6667 3.16634L13.3333 5.83301L14.1146 5.05176C14.8506 4.31576 14.8506 3.12176 14.1146 2.38509C13.7463 2.01676 13.2638 1.83301 12.7812 1.83301ZM9.66667 4.16634L2 11.833V14.4997H4.66667L12.3333 6.83301L9.66667 4.16634Z",fill:"#595959"}))},t.createElement(m,{size:"p2",color:d.colors.gray800},c("childCard.menu.edit",{name:e}))),t.createElement(v.Item,{onClick:a,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M8 2.5C4.9478 2.5 2.4204 4.79359 2.05078 7.7513C2.03763 7.83928 2.04222 7.929 2.06428 8.01518C2.08634 8.10136 2.12542 8.18226 2.17922 8.2531C2.23303 8.32394 2.30046 8.3833 2.37756 8.42768C2.45465 8.47206 2.53985 8.50057 2.62813 8.51152C2.71642 8.52247 2.806 8.51564 2.8916 8.49143C2.9772 8.46723 3.05709 8.42614 3.12657 8.37059C3.19605 8.31503 3.2537 8.24613 3.29615 8.16795C3.33859 8.08978 3.36496 8.00389 3.3737 7.91536C3.66141 5.61307 5.61354 3.83333 8 3.83333C9.34288 3.83333 10.5434 4.39987 11.3919 5.30339L10.0977 6.59766C9.96766 6.72766 9.96766 6.93901 10.0977 7.06901C10.1623 7.13434 10.248 7.16667 10.3333 7.16667H13.3333C13.5101 7.16667 13.6797 7.09643 13.8047 6.9714C13.9298 6.84638 14 6.67681 14 6.5V3.5C14 3.41467 13.967 3.32966 13.9023 3.26432C13.7723 3.13432 13.561 3.13432 13.431 3.26432L12.3359 4.35938C11.2437 3.21415 9.7037 2.5 8 2.5ZM13.2943 8.49089C13.1292 8.48959 12.9695 8.54959 12.8461 8.65928C12.7227 8.76896 12.6444 8.92053 12.6263 9.08464C12.3386 11.3869 10.3865 13.1667 8 13.1667C6.65713 13.1667 5.45884 12.5994 4.60938 11.6953L5.90234 10.4023C6.03234 10.2723 6.03234 10.061 5.90234 9.93099C5.83768 9.86566 5.752 9.83333 5.66667 9.83333H2.66667C2.48986 9.83333 2.32029 9.90357 2.19526 10.0286C2.07024 10.1536 2 10.3232 2 10.5V13.5C2 13.5853 2.03299 13.6703 2.09766 13.7357C2.22766 13.8657 2.43901 13.8657 2.56901 13.7357L3.66536 12.6393C4.75711 13.7836 6.29696 14.5 8 14.5C11.0522 14.5 13.5796 12.2064 13.9492 9.2487C13.9622 9.1548 13.955 9.05922 13.928 8.96833C13.9011 8.87745 13.8552 8.79334 13.7932 8.72163C13.7312 8.64991 13.6546 8.59224 13.5686 8.55245C13.4826 8.51266 13.3891 8.49167 13.2943 8.49089Z",fill:"#595959"}))},t.createElement(m,{size:"p2",color:d.colors.gray800},c("childCard.menu.switch"))),t.createElement(v.Item,{onClick:i,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9564 8.56545C15.7745 7.46727 14.9673 6.57273 13.9127 6.26C13.5273 5.44545 12.9818 4.73273 12.32 4.14364C11.1709 3.11818 9.65818 2.5 8 2.5C6.34182 2.5 4.82909 3.11818 3.68 4.14364C3.01091 4.73273 2.46545 5.45273 2.08727 6.26C1.03273 6.57273 0.225455 7.46 0.0436364 8.56545C0.0145455 8.71818 0 8.87818 0 9.04545C0 9.21273 0.0145455 9.37273 0.0436364 9.52545C0.225455 10.6236 1.03273 11.5182 2.08727 11.8309C2.46545 12.6382 3.01091 13.3509 3.66545 13.9327C4.81455 14.9655 6.33455 15.5909 8 15.5909C9.66545 15.5909 11.1855 14.9655 12.3418 13.9327C12.9964 13.3509 13.5418 12.6309 13.92 11.8309C14.9673 11.5182 15.7745 10.6309 15.9564 9.52545C15.9855 9.37273 16 9.21273 16 9.04545C16 8.87818 15.9855 8.71818 15.9564 8.56545ZM6.18182 7.04545C5.67974 7.04545 5.27273 7.45247 5.27273 7.95455C5.27273 8.45662 5.67974 8.86364 6.18182 8.86364C6.6839 8.86364 7.09091 8.45662 7.09091 7.95455C7.09091 7.45247 6.6839 7.04545 6.18182 7.04545ZM9.81818 7.04545C9.3161 7.04545 8.90909 7.45247 8.90909 7.95455C8.90909 8.45662 9.3161 8.86364 9.81818 8.86364C10.3203 8.86364 10.7273 8.45662 10.7273 7.95455C10.7273 7.45247 10.3203 7.04545 9.81818 7.04545ZM5.01821 10.5H10.9818C11.1128 10.5 11.2073 10.6455 11.1491 10.7691C10.5455 11.9109 9.36002 12.6818 8.00002 12.6818C6.64002 12.6818 5.45457 11.9109 4.85093 10.7691C4.78548 10.6455 4.88002 10.5 5.01821 10.5ZM12.9538 10.4875C12.9991 10.4938 13.0435 10.5 13.0909 10.5C13.8909 10.5 14.5455 9.84545 14.5455 9.04545C14.5455 8.24545 13.8909 7.59091 13.0909 7.59091C13.0435 7.59091 12.9991 7.5971 12.9538 7.60343C12.9297 7.60679 12.9053 7.6102 12.88 7.61273C12.7345 7.12545 12.5236 6.67455 12.2545 6.26C11.3455 4.87091 9.78182 3.95455 8 3.95455C6.21818 3.95455 4.65455 4.87091 3.74545 6.26C3.47636 6.67455 3.26545 7.12545 3.12 7.61273C3.09473 7.6102 3.07033 7.60679 3.0462 7.60343C3.0009 7.5971 2.95654 7.59091 2.90909 7.59091C2.10909 7.59091 1.45455 8.24545 1.45455 9.04545C1.45455 9.84545 2.10909 10.5 2.90909 10.5C2.95654 10.5 3.0009 10.4938 3.0462 10.4875C3.07033 10.4841 3.09473 10.4807 3.12 10.4782C3.26545 10.9655 3.47636 11.4164 3.74545 11.8309C4.65455 13.22 6.21818 14.1364 8 14.1364C9.78182 14.1364 11.3455 13.22 12.2545 11.8309C12.5236 11.4164 12.7345 10.9655 12.88 10.4782C12.9053 10.4807 12.9297 10.4841 12.9538 10.4875Z",fill:"#595959"}),t.createElement("path",{d:"M2.5 2V1C2.5 0.725 2.275 0.5 2 0.5C1.725 0.5 1.5 0.725 1.5 1V2H0.5C0.225 2 0 2.225 0 2.5C0 2.775 0.225 3 0.5 3H1.5V4C1.5 4.275 1.725 4.5 2 4.5C2.275 4.5 2.5 4.275 2.5 4V3H3.5C3.775 3 4 2.775 4 2.5C4 2.225 3.775 2 3.5 2H2.5Z",fill:"#595959"}))},t.createElement(m,{size:"p2",color:d.colors.gray800},c("childCard.menu.add"))),t.createElement(v.Item,{onClick:n,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M6.66699 1.83301L6.00033 2.49967H3.33366C2.93366 2.49967 2.66699 2.76634 2.66699 3.16634C2.66699 3.56634 2.93366 3.83301 3.33366 3.83301H4.66699H11.3337H12.667C13.067 3.83301 13.3337 3.56634 13.3337 3.16634C13.3337 2.76634 13.067 2.49967 12.667 2.49967H10.0003L9.33366 1.83301H6.66699ZM3.33366 5.16634V13.833C3.33366 14.5663 3.93366 15.1663 4.66699 15.1663H11.3337C12.067 15.1663 12.667 14.5663 12.667 13.833V5.16634H3.33366ZM6.00033 6.49967C6.40033 6.49967 6.66699 6.76634 6.66699 7.16634V13.1663C6.66699 13.5663 6.40033 13.833 6.00033 13.833C5.60033 13.833 5.33366 13.5663 5.33366 13.1663V7.16634C5.33366 6.76634 5.60033 6.49967 6.00033 6.49967ZM10.0003 6.49967C10.4003 6.49967 10.667 6.76634 10.667 7.16634V13.1663C10.667 13.5663 10.4003 13.833 10.0003 13.833C9.60033 13.833 9.33366 13.5663 9.33366 13.1663V7.16634C9.33366 6.76634 9.60033 6.49967 10.0003 6.49967Z",fill:"#F44D2C"}))},t.createElement(m,{size:"p2",color:d.colors.red600},c("childCard.menu.remove",{name:e})))))},le=(e,t)=>{if(e)if(e.year<1){if(0===e.month)switch(e.week){case 0:case 1:return t("childCard.age.oneWeek");default:return t("childCard.age.week",{weeks:e.week})}if(1===e.month)return t("childCard.age.oneMonth");if(e.month>1)return t("childCard.age.months",{month:e.month})}else{if(1===e.year)return t("childCard.age.oneYear");if(0===e.month)return t("childCard.age.yearNoMonth",{year:e.year});if(e.month>0)return t("childCard.age.yearMonth",{year:e.year,month:e.month})}},oe=({name:e,gender:r,age:l,isLoggedIn:a=!1,showMenu:i=!1,onEdit:s,onSwitch:c,onAdd:C,onRemove:p,className:g,siteType:u})=>{const{t:b}=f(),[E,v]=o(!1),L="marryBaby"===u;return t.createElement(X,{className:g,"data-theme":u},L?t.createElement(t.Fragment,null,t.createElement("div",{"data-testid":"gender"},r===n.Boy?t.createElement(h.BabyBoyMB,{"data-testid":"boy",id:"boy",size:48}):t.createElement(h.BabyGirlMB,{"data-testid":"girl",id:"girl",size:48})),t.createElement("div",{className:"information"},t.createElement(y,{type:"subtitle-1",color:d.mbColors.dark},x(e)||b("childCard.noName")),t.createElement("div",{className:"detail"},t.createElement("div",null,r===n.Boy?t.createElement(h.GenderBoy,{size:14}):t.createElement(h.GenderGirl,{size:14}),t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},b(r===n.Girl?"childCard.girl":"childCard.boy"))),t.createElement("div",null,t.createElement(h.CalendarMB,{size:20}),l&&t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},le(l,b)))))):t.createElement(t.Fragment,null,t.createElement("div",{"data-testid":"gender"},r===n.Boy?t.createElement(h.Boy,{"data-testid":"boy",id:"boy"}):t.createElement(h.Girl,{"data-testid":"girl",id:"girl"})),t.createElement("div",{className:"information"},t.createElement(w,{tag:"h5",fontWeight:"bold",color:d.colors.gray800},x(e)||b("childCard.noName")),t.createElement("div",{className:"detail"},t.createElement("div",null,r===n.Boy?t.createElement(h.GenderBoy,null):t.createElement(h.GenderGirl,null),t.createElement(m,{size:"p3",color:d.colors.gray800,style:{textTransform:"capitalize"}},b(r===n.Girl?"childCard.girl":"childCard.boy"))),t.createElement("div",null,t.createElement(h.Calendar,{size:16}),l&&t.createElement(m,{size:"p3",color:d.colors.gray800},le(l,b)))))),i&&a&&t.createElement(ee,null,t.createElement(h.Kebab,{onClick:()=>v((e=>!e))}),E&&t.createElement(re,{siteType:u,name:e,onClose:()=>v(!1),onEdit:()=>{v(!1),s()},onSwitch:()=>{v(!1),c()},onAdd:()=>{v(!1),C()},onRemove:()=>{v(!1),p()}})))},ae=C.div`
197
- cursor: pointer;
198
- position: relative;
199
- padding: 20px 2px;
200
- border-bottom: 1px solid ${d.colors.gray100};
201
- .time {
202
- display: flex;
203
- align-items: center;
204
- gap: 8px;
205
- margin-bottom: 16px;
206
- }
207
- .edit-button {
208
- margin-left: auto;
209
- justify-self: end;
210
- }
211
- .record {
212
- display: grid;
213
- grid-template-columns: repeat(3, 1fr);
214
- grid-template-rows: 1fr;
215
- grid-column-gap: 30px;
216
- grid-row-gap: 0px;
217
- }
218
- .record-item {
219
- display: flex;
220
- align-items: center;
221
- gap: 8px;
222
- }
223
- `,ie=(e,t)=>e&&"NaN"!==e?e+" "+(t||""):"--",ne=({measurementDate:e=new Date,weight:r,height:l,head:o,onEdit:a,birthday:n,dateFormat:s="DD/MM/YYYY",locale:c=i.PhilippinesEnglish,siteType:C})=>{const{t:p}=f(),h="marryBaby"===C;return t.createElement(ae,{onClick:a},t.createElement("div",{className:"time"},h?t.createElement("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05257 0.762695C4.32181 0.762695 4.54007 0.980956 4.54007 1.2502V1.53122C4.60167 1.51424 4.66369 1.49824 4.72611 1.48326C6.2217 1.12422 7.77833 1.12422 9.27392 1.48326C9.33634 1.49824 9.39836 1.51424 9.45995 1.53122V1.2502C9.45995 0.980956 9.67821 0.762695 9.94745 0.762695C10.2167 0.762695 10.435 0.980956 10.435 1.2502V1.89841C12.0148 2.66392 13.1931 4.12969 13.6002 5.90621C13.9499 7.43197 13.9499 9.01971 13.6002 10.5455C13.0985 12.7345 11.426 14.4518 9.27392 14.9684C7.77833 15.3275 6.2217 15.3275 4.72611 14.9684C2.57399 14.4518 0.901521 12.7345 0.399789 10.5455C0.0500868 9.01971 0.0500868 7.43197 0.399789 5.90621C0.806964 4.12969 1.98518 2.66392 3.56507 1.89841V1.2502C3.56507 0.980956 3.78333 0.762695 4.05257 0.762695ZM3.56507 3.00938C2.88276 3.4302 2.31064 4.01866 1.90229 4.72184H12.0977C11.6894 4.01865 11.1173 3.4302 10.435 3.00938V3.1355C10.435 3.40474 10.2167 3.623 9.94745 3.623C9.67821 3.623 9.45995 3.40474 9.45995 3.1355V2.55069C9.32464 2.5049 9.18667 2.46501 9.04633 2.43132C7.70034 2.1082 6.29969 2.1082 4.9537 2.43132C4.81336 2.46501 4.67538 2.5049 4.54007 2.55069V3.1355C4.54007 3.40474 4.32181 3.623 4.05257 3.623C3.78333 3.623 3.56507 3.40474 3.56507 3.1355V3.00938ZM12.5322 5.69684H1.46788C1.42273 5.83649 1.38339 5.97898 1.35015 6.12403C1.0333 7.50643 1.0333 8.94525 1.35015 10.3277C1.77137 12.1654 3.17113 13.5924 4.9537 14.0204C6.29969 14.3435 7.70034 14.3435 9.04632 14.0204C10.8289 13.5924 12.2287 12.1654 12.6499 10.3276C12.9667 8.94525 12.9667 7.50643 12.6499 6.12403C12.6166 5.97898 12.5773 5.83649 12.5322 5.69684Z",fill:"#3E3F58"})):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M5.64421 0.666016C5.27621 0.666016 4.97754 0.964682 4.97754 1.33268V1.99935H4.31087C3.57754 1.99935 2.97754 2.59935 2.97754 3.33268V12.666C2.97754 13.3993 3.57754 13.9993 4.31087 13.9993H13.6442C14.3775 13.9993 14.9775 13.3993 14.9775 12.666V3.33268C14.9775 2.59935 14.3775 1.99935 13.6442 1.99935H12.9775V1.33268C12.9775 0.964682 12.6789 0.666016 12.3109 0.666016C11.9429 0.666016 11.6442 0.964682 11.6442 1.33268V1.99935H6.31087V1.33268C6.31087 0.964682 6.01221 0.666016 5.64421 0.666016ZM4.31087 5.33268H13.6442V11.9993C13.6442 12.3673 13.3455 12.666 12.9775 12.666H4.97754C4.60954 12.666 4.31087 12.3673 4.31087 11.9993V5.33268Z",fill:"#8C8C8C"})),t.createElement(m,{size:"p3",color:d.colors.gray600},`${u(e).format(s)} (${le(b(n,e),p)})`),h?t.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.15119 1.29354C8.75527 0.689463 9.57457 0.350098 10.4289 0.350098C12.2078 0.350098 13.65 1.79223 13.65 3.5712C13.65 4.42549 13.3106 5.24479 12.7065 5.84886L11.9689 6.58652C11.9626 6.59307 11.9562 6.5995 11.9496 6.6058L8.78969 9.76569C7.00359 11.5518 4.76564 12.8189 2.31513 13.4315L1.55809 13.6208C0.846159 13.7988 0.201291 13.1539 0.379274 12.442L0.568533 11.6849C1.18116 9.23441 2.44827 6.99647 4.23437 5.21036L7.39433 2.0504C7.40058 2.04388 7.40696 2.0375 7.41346 2.03127L8.15119 1.29354ZM7.26672 4.01649L5.15361 6.1296C3.53411 7.7491 2.3852 9.77829 1.82972 12.0002L1.77301 12.227L1.99983 12.1703C4.22177 11.6149 6.25096 10.4659 7.87045 8.84645L9.98356 6.73334C9.34779 6.52953 8.76392 6.13743 8.31328 5.68678C7.86263 5.23613 7.47052 4.65226 7.26672 4.01649ZM11.1622 5.55469C10.5984 5.66895 9.85522 5.39025 9.23251 4.76754C8.6098 4.14483 8.3311 3.40165 8.44536 2.83784L9.07043 2.21278C9.43071 1.8525 9.91935 1.6501 10.4289 1.6501C11.4899 1.6501 12.35 2.5102 12.35 3.5712C12.35 4.08071 12.1476 4.56935 11.7873 4.92962L11.1622 5.55469Z",fill:"#3E3F58"})):t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"edit-button"},t.createElement("path",{d:"M12.7721 1.33398C12.2911 1.33398 11.8102 1.51773 11.443 1.88607L10.6643 2.66732L13.3224 5.33398L14.1011 4.55273C14.8348 3.81673 14.8348 2.62273 14.1011 1.88607C13.734 1.51773 13.253 1.33398 12.7721 1.33398ZM9.66748 3.66732L2.02539 11.334V14.0007H4.68351L12.3256 6.33398L9.66748 3.66732Z",fill:"#8C8C8C"}))),t.createElement("div",{className:"record"},t.createElement("div",{className:"record-item"},h?t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},p("babyGrowth.weight")):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M8.44401 9.86602C8.44401 9.57146 8.68279 9.33268 8.97734 9.33268C9.2719 9.33268 9.51068 9.57146 9.51068 9.86602V11.466C9.51068 11.7606 9.2719 11.9993 8.97734 11.9993C8.68279 11.9993 8.44401 11.7606 8.44401 11.466V9.86602Z",fill:"#8C8C8C"}),t.createElement("path",{d:"M8.17595 3.05319C7.96767 3.26147 7.96767 3.59916 8.17595 3.80744L8.83592 4.46741C9.0442 4.67569 9.38189 4.67569 9.59017 4.46741C9.79844 4.25913 9.79844 3.92144 9.59017 3.71316L8.9302 3.05319C8.72192 2.84491 8.38423 2.84492 8.17595 3.05319Z",fill:"#8C8C8C"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2941 3.66435C12.1261 1.98071 10.7053 0.666016 8.97738 0.666016C7.2495 0.666016 5.82868 1.9807 5.66067 3.66434L3.67054 3.86336C2.92499 3.93791 2.38724 4.61197 2.48017 5.35545L3.498 13.4981C3.5814 14.1653 4.1486 14.666 4.82104 14.666H13.1336C13.806 14.666 14.3732 14.1653 14.4567 13.4981L15.4745 5.35545C15.5674 4.61197 15.0297 3.93791 14.2841 3.86336L12.2941 3.66435ZM12.1607 4.991C11.7386 6.34768 10.473 7.33268 8.97738 7.33268C7.48176 7.33268 6.2162 6.34767 5.79403 4.99099L3.80321 5.19007L4.82104 13.3327L13.1336 13.3327L14.1514 5.19007L12.1607 4.991ZM10.9774 3.99935C10.9774 5.10392 10.0819 5.99935 8.97738 5.99935C7.87281 5.99935 6.97738 5.10392 6.97738 3.99935C6.97738 2.89478 7.87281 1.99935 8.97738 1.99935C10.0819 1.99935 10.9774 2.89478 10.9774 3.99935Z",fill:"#8C8C8C"})),t.createElement(m,{size:"s3",color:d.colors.gray800,type:"semiBold"},ie(E(r),"kg"))),t.createElement("div",{className:"record-item"},h?t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},p("babyGrowth.height")):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{clipPath:"url(#clip0_855_82991)"},t.createElement("path",{d:"M12.6055 13.9993L12.6055 1.99935C12.6055 1.26602 12.0055 0.666016 11.2721 0.666016L5.9388 0.666015C5.20547 0.666015 4.60547 1.26602 4.60547 1.99935L4.60547 13.9993C4.60547 14.7327 5.20547 15.3327 5.9388 15.3327L11.2721 15.3327C12.0055 15.3327 12.6055 14.7327 12.6055 13.9993ZM5.9388 13.9993L5.9388 1.99935L11.2721 1.99935L11.2721 3.33268L8.60547 3.33268L8.60547 4.66602L11.2721 4.66602L11.2721 5.99935L8.60547 5.99935L8.60547 7.33268L11.2721 7.33268L11.2721 8.66602L8.60547 8.66601L8.60547 9.99935L11.2721 9.99935L11.2721 11.3327L8.60547 11.3327L8.60547 12.666L11.2721 12.666L11.2721 13.9993L5.9388 13.9993Z",fill:"#8C8C8C"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_855_82991"},t.createElement("rect",{width:"16",height:"16",fill:"white",transform:"translate(16.6055) rotate(90)"})))),t.createElement(m,{size:"s3",color:d.colors.gray800,type:"semiBold"},ie(E(l),"cm"))),t.createElement("div",{className:"record-item"},h?t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},p("babyGrowth.head")):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{clipPath:"url(#clip0_855_82994)"},t.createElement("path",{d:"M9.90072 7.83268C10.361 7.83268 10.734 7.45959 10.734 6.99935C10.734 6.53911 10.361 6.16602 9.90072 6.16602C9.44048 6.16602 9.06738 6.53911 9.06738 6.99935C9.06738 7.45959 9.44048 7.83268 9.90072 7.83268Z",fill:"#8C8C8C"}),t.createElement("path",{d:"M6.56771 7.83268C7.02795 7.83268 7.40104 7.45959 7.40104 6.99935C7.40104 6.53911 7.02795 6.16602 6.56771 6.16602C6.10747 6.16602 5.73438 6.53911 5.73438 6.99935C5.73438 7.45959 6.10747 7.83268 6.56771 7.83268Z",fill:"#8C8C8C"}),t.createElement("path",{d:"M15.528 7.56C15.3614 6.55333 14.6214 5.73333 13.6547 5.44667C13.3014 4.7 12.8014 4.04667 12.1947 3.50667C11.1414 2.56667 9.7547 2 8.2347 2C6.7147 2 5.32803 2.56667 4.2747 3.50667C3.66137 4.04667 3.16137 4.70667 2.8147 5.44667C1.84803 5.73333 1.10803 6.54667 0.941367 7.56C0.9147 7.7 0.901367 7.84667 0.901367 8C0.901367 8.15333 0.9147 8.3 0.941367 8.44C1.10803 9.44667 1.84803 10.2667 2.8147 10.5533C3.16137 11.2933 3.66137 11.9467 4.26137 12.48C5.3147 13.4267 6.70803 14 8.2347 14C9.76137 14 11.1547 13.4267 12.2147 12.48C12.8147 11.9467 13.3147 11.2867 13.6614 10.5533C14.6214 10.2667 15.3614 9.45333 15.528 8.44C15.5547 8.3 15.568 8.15333 15.568 8C15.568 7.84667 15.5547 7.7 15.528 7.56ZM12.9014 9.33333C12.8347 9.33333 12.7747 9.32 12.708 9.31333C12.5747 9.76 12.3814 10.1733 12.1347 10.5533C11.3014 11.8267 9.86803 12.6667 8.2347 12.6667C6.60137 12.6667 5.16803 11.8267 4.3347 10.5533C4.08803 10.1733 3.8947 9.76 3.76137 9.31333C3.6947 9.32 3.6347 9.33333 3.56803 9.33333C2.8347 9.33333 2.2347 8.73333 2.2347 8C2.2347 7.26667 2.8347 6.66667 3.56803 6.66667C3.6347 6.66667 3.6947 6.68 3.76137 6.68667C3.8947 6.24 4.08803 5.82667 4.3347 5.44667C5.16803 4.17333 6.60137 3.33333 8.2347 3.33333C9.86803 3.33333 11.3014 4.17333 12.1347 5.44667C12.3814 5.82667 12.5747 6.24 12.708 6.68667C12.7747 6.68 12.8347 6.66667 12.9014 6.66667C13.6347 6.66667 14.2347 7.26667 14.2347 8C14.2347 8.73333 13.6347 9.33333 12.9014 9.33333ZM8.2347 11.3333C9.5747 11.3333 10.728 10.5133 11.2347 9.33333H5.2347C5.74137 10.5133 6.8947 11.3333 8.2347 11.3333Z",fill:"#8C8C8C"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_855_82994"},t.createElement("rect",{width:"16",height:"16",fill:"white",transform:"translate(0.234375)"})))),t.createElement(m,{size:"s3",color:d.colors.gray800,type:"semiBold"},ie(E(o),"cm")))))},se=C(e)`
223
+ `,le=({name:e,onClose:r,onEdit:o,onSwitch:a,onAdd:i,onRemove:n,siteType:s})=>{const{t:c}=u(),C="marryBaby"===s,p=l();return M(p,r),t.createElement("div",{ref:p},C?t.createElement(re,{width:250,"data-site":s},t.createElement(v.Item,{onClick:o,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.1512 4.29354C13.7553 3.68946 14.5746 3.3501 15.4289 3.3501C17.2078 3.3501 18.65 4.79223 18.65 6.5712C18.65 7.42549 18.3106 8.24479 17.7065 8.84886L16.9689 9.58652C16.9626 9.59307 16.9562 9.5995 16.9496 9.6058L13.7897 12.7657C12.0036 14.5518 9.76564 15.8189 7.31513 16.4315L6.55809 16.6208C5.84616 16.7988 5.20129 16.1539 5.37927 15.442L5.56853 14.6849C6.18116 12.2344 7.44827 9.99647 9.23437 8.21036L12.3943 5.0504C12.4006 5.04388 12.407 5.0375 12.4135 5.03127L13.1512 4.29354ZM12.2667 7.01649L10.1536 9.1296C8.53411 10.7491 7.3852 12.7783 6.82972 15.0002L6.77301 15.227L6.99983 15.1703C9.22177 14.6149 11.251 13.4659 12.8705 11.8464L14.9836 9.73334C14.3478 9.52953 13.7639 9.13743 13.3133 8.68678C12.8626 8.23613 12.4705 7.65226 12.2667 7.01649ZM16.1622 8.55469C15.5984 8.66895 14.8552 8.39025 14.2325 7.76754C13.6098 7.14483 13.3311 6.40165 13.4454 5.83784L14.0704 5.21278C14.4307 4.8525 14.9193 4.6501 15.4289 4.6501C16.4899 4.6501 17.35 5.5102 17.35 6.5712C17.35 7.08071 17.1476 7.56935 16.7873 7.92962L16.1622 8.55469Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.34998 20.0001C4.34998 19.6411 4.64099 19.3501 4.99998 19.3501H19C19.359 19.3501 19.65 19.6411 19.65 20.0001C19.65 20.3591 19.359 20.6501 19 20.6501H4.99998C4.64099 20.6501 4.34998 20.3591 4.34998 20.0001Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("childCard.menu.edit",{name:e}))),t.createElement(v.Item,{onClick:a,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5951 4.50716C12.8673 4.19494 13.3411 4.16249 13.6533 4.43468L19.4929 9.52559C19.7286 9.73108 19.812 10.0613 19.7023 10.3541C19.5926 10.6469 19.3127 10.8409 19 10.8409H5C4.58579 10.8409 4.25 10.5051 4.25 10.0909C4.25 9.67671 4.58579 9.34092 5 9.34092H16.9984L12.6676 5.56534C12.3554 5.29315 12.3229 4.81938 12.5951 4.50716Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4049 19.4928C11.1327 19.8051 10.6589 19.8375 10.3467 19.5653L4.50715 14.4744C4.27144 14.2689 4.18796 13.9387 4.29768 13.6459C4.40741 13.3531 4.68729 13.1591 5 13.1591L19 13.1591C19.4142 13.1591 19.75 13.4949 19.75 13.9091C19.75 14.3233 19.4142 14.6591 19 14.6591L7.00161 14.6591L11.3324 18.4347C11.6446 18.7069 11.6771 19.1806 11.4049 19.4928Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("childCard.menu.switch"))),t.createElement(v.Item,{onClick:i,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M11.8123 22.1251C8.24982 22.1251 5.15607 19.837 4.10577 16.4444C4.01202 16.1441 4.18048 15.8248 4.48077 15.731C4.78107 15.6373 5.1004 15.8057 5.19415 16.106C6.09357 19.0313 8.75665 20.981 11.8123 20.981C14.868 20.981 17.5311 19.0123 18.4305 16.106C18.5242 15.8057 18.8436 15.6373 19.1439 15.731C19.4442 15.8248 19.6126 16.1441 19.5189 16.4444C18.4686 19.837 15.3748 22.1251 11.8123 22.1251Z",fill:"#3E3F58"}),t.createElement("path",{d:"M4.3125 16.875C2.75684 16.875 1.5 15.6182 1.5 14.0625C1.5 12.5244 2.73779 11.2881 4.25684 11.25C4.96875 9.33691 6.41309 7.72559 8.26904 6.82471C8.55029 6.69434 8.88721 6.80566 9.01904 7.08691C9.14941 7.36816 9.03809 7.70654 8.75684 7.83691C7.05029 8.66309 5.73779 10.1997 5.19434 12C5.11816 12.2622 4.85596 12.4307 4.57471 12.394C4.46191 12.375 4.38721 12.375 4.3125 12.375C3.375 12.375 2.625 13.125 2.625 14.0625C2.625 15 3.375 15.75 4.3125 15.75C4.38721 15.75 4.46191 15.75 4.55566 15.731C4.85596 15.6943 5.15625 15.8994 5.19434 16.1997C5.23096 16.5 5.02441 16.8003 4.72559 16.8369C4.57471 16.856 4.44434 16.875 4.3125 16.875ZM19.3125 16.875C19.1807 16.875 19.0503 16.856 18.8994 16.8369C18.6006 16.8003 18.375 16.5 18.4307 16.1997C18.4688 15.8994 18.769 15.6753 19.0693 15.731C19.1631 15.75 19.2378 15.75 19.3125 15.75C20.25 15.75 21 15 21 14.0625C21 13.125 20.25 12.375 19.3125 12.375C19.2378 12.375 19.1631 12.375 19.0693 12.394C18.7881 12.4307 18.5244 12.2622 18.4497 12C17.5503 9.07471 14.8872 7.125 11.8315 7.125C10.856 7.125 9.39404 6.46875 9.39404 4.6875C9.39404 4.36816 9.63721 4.125 9.95654 4.125C10.2744 4.125 10.519 4.36816 10.519 4.6875C10.519 5.96191 11.6997 6 11.8315 6C15.2432 6 18.2256 8.10059 19.3872 11.25C20.9062 11.2881 22.144 12.5244 22.144 14.0625C22.125 15.6182 20.8682 16.875 19.3125 16.875Z",fill:"#3E3F58"}),t.createElement("circle",{cx:"11.8125",cy:"17.8125",r:"0.9375",fill:"#3E3F58"}),t.createElement("path",{d:"M16.0938 13.1694C15.897 13.0702 15.6596 13.1484 15.5592 13.343C15.5561 13.3488 15.2533 13.9219 14.7187 13.9219C14.1841 13.9219 13.8814 13.3488 13.8799 13.3453C13.781 13.148 13.5421 13.069 13.3452 13.1671C13.1483 13.2655 13.0689 13.5048 13.167 13.7017C13.188 13.7434 13.6876 14.7188 14.7187 14.7188C15.7499 14.7188 16.2495 13.7433 16.2705 13.7017C16.3685 13.5056 16.2892 13.2686 16.0938 13.1694Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.1344 13.0892L16.1346 13.0893C16.3737 13.2108 16.4714 13.5014 16.351 13.7421L16.3509 13.7425C16.3382 13.7675 16.2027 14.0317 15.9361 14.2906C15.6691 14.55 15.2651 14.809 14.7188 14.809C14.1725 14.809 13.7685 14.55 13.5014 14.2906C13.2349 14.0317 13.0994 13.7675 13.0867 13.7424L13.0865 13.742L13.0865 13.742C12.9664 13.5009 13.0635 13.2075 13.305 13.0867L13.3051 13.0867C13.5463 12.9666 13.8392 13.0633 13.9604 13.3051L13.9625 13.3094L13.9625 13.3094C13.9628 13.31 13.9635 13.3112 13.9646 13.313C13.9776 13.3355 14.0457 13.4532 14.1633 13.5717C14.2976 13.707 14.4853 13.8321 14.7188 13.8321C14.9522 13.8321 15.1399 13.707 15.2744 13.5714C15.3411 13.5042 15.3925 13.4366 15.4274 13.3854C15.4448 13.3598 15.458 13.3386 15.4667 13.3238C15.4711 13.3164 15.4744 13.3106 15.4766 13.3068L15.4797 13.3011C15.6028 13.0634 15.8935 12.9678 16.1344 13.0892ZM13.8799 13.3455C13.8814 13.349 14.1841 13.9221 14.7188 13.9221C15.2517 13.9221 15.5543 13.3525 15.5592 13.3432L15.5592 13.3431C15.6597 13.1486 15.897 13.0704 16.0939 13.1696C16.2892 13.2688 16.3686 13.5058 16.2705 13.7019C16.2495 13.7435 15.7499 14.719 14.7188 14.719C13.6877 14.719 13.1881 13.7435 13.167 13.7019C13.069 13.505 13.1484 13.2657 13.3453 13.1672C13.5422 13.0692 13.7811 13.1482 13.8799 13.3455Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5094 13.0893L10.5091 13.0892C10.2682 12.9678 9.97759 13.0634 9.85442 13.3011L9.85131 13.3068C9.84916 13.3106 9.84588 13.3164 9.8415 13.3238C9.83273 13.3386 9.81958 13.3598 9.80218 13.3854C9.76727 13.4366 9.71585 13.5042 9.6492 13.5714C9.51469 13.707 9.327 13.8321 9.09355 13.8321C8.86008 13.8321 8.67238 13.707 8.53807 13.5717C8.47152 13.5047 8.42025 13.4372 8.38558 13.3864C8.35996 13.3488 8.34478 13.3223 8.33921 13.3126L8.33682 13.3085L8.33512 13.3051C8.21396 13.0633 7.92186 12.9667 7.68003 13.0866L7.67978 13.0867C7.43828 13.2075 7.34115 13.5009 7.46124 13.742L7.46147 13.7424C7.47414 13.7675 7.60963 14.0317 7.87619 14.2906C8.14326 14.55 8.54722 14.809 9.09355 14.809C9.63987 14.809 10.0438 14.55 10.3109 14.2906C10.5775 14.0317 10.713 13.7675 10.7256 13.7425L10.7258 13.7421C10.8462 13.5014 10.7484 13.2108 10.5094 13.0893ZM9.93396 13.3432L9.934 13.3431C10.0062 13.2033 10.1491 13.1235 10.297 13.1266C10.1492 13.1236 10.0064 13.2033 9.93422 13.3431L9.93419 13.3432C9.92921 13.3526 9.62669 13.9221 9.09377 13.9221C9.08851 13.9221 9.08327 13.9221 9.07806 13.922C9.0832 13.9221 9.08836 13.9221 9.09355 13.9221C9.62649 13.9221 9.92901 13.3525 9.93396 13.3432ZM9.06061 14.7186C8.0518 14.6982 7.56261 13.7431 7.5418 13.7019C7.44375 13.505 7.52313 13.2657 7.72002 13.1672C7.7803 13.1373 7.84434 13.1239 7.90705 13.1253C7.84441 13.1239 7.78045 13.1374 7.72024 13.1672C7.52335 13.2657 7.44397 13.505 7.54203 13.7019C7.56283 13.7431 8.05195 14.6981 9.06061 14.7186Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.8 2.3999C19.9144 2.3999 20.0071 2.49262 20.0071 2.60698V3.99282H21.3929C21.5073 3.99282 21.6 4.08554 21.6 4.1999C21.6 4.31427 21.5073 4.40698 21.3929 4.40698H20.0071V5.79282C20.0071 5.90719 19.9144 5.9999 19.8 5.9999C19.6856 5.9999 19.5929 5.90719 19.5929 5.79282V4.40698H18.2071C18.0927 4.40698 18 4.31427 18 4.1999C18 4.08554 18.0927 3.99282 18.2071 3.99282H19.5929V2.60698C19.5929 2.49262 19.6856 2.3999 19.8 2.3999Z",fill:"#3E3F58"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.2929 2.60718C19.2929 2.32712 19.5199 2.1001 19.8 2.1001C20.08 2.1001 20.307 2.32712 20.307 2.60718V3.69302H21.3929C21.6729 3.69302 21.9 3.92005 21.9 4.2001C21.9 4.48015 21.6729 4.70718 21.3929 4.70718H20.307V5.79302C20.307 6.07307 20.08 6.3001 19.8 6.3001C19.5199 6.3001 19.2929 6.07307 19.2929 5.79302V4.70718H18.207C17.927 4.70718 17.7 4.48015 17.7 4.2001C17.7 3.92005 17.927 3.69302 18.207 3.69302H19.2929V2.60718Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("childCard.menu.add"))),t.createElement(v.Item,{onClick:n,icon:t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.6094 2.61873C11.0508 2.44123 11.5233 2.3501 12 2.3501C12.4767 2.3501 12.9491 2.44123 13.3905 2.61873C13.832 2.79625 14.2343 3.05692 14.5741 3.38678C14.9139 3.71668 15.1845 4.10937 15.3695 4.54295C15.4685 4.77508 15.5419 5.01633 15.5887 5.2626H16.9895C18.4406 5.2626 19.65 6.40947 19.65 7.86442V8.01078C19.65 8.89985 19.1605 9.68128 18.4237 10.1037C18.884 10.8243 19.2029 11.64 19.3437 12.5139L19.3813 12.7472C19.5681 13.9067 19.4973 15.0915 19.1738 16.2218L19.0562 16.6329C18.3288 19.1745 16.1665 21.0699 13.5141 21.522C12.5123 21.6928 11.4876 21.6928 10.4858 21.522C7.83339 21.0699 5.67109 19.1745 4.94377 16.6329L4.82611 16.2218C4.50265 15.0915 4.43185 13.9067 4.61867 12.7472L4.65627 12.5139C4.79707 11.64 5.11599 10.8243 5.57625 10.1037C4.83944 9.68128 4.34998 8.89985 4.34998 8.01078V7.86442C4.34998 6.40947 5.55937 5.2626 7.01043 5.2626H8.41124C8.45805 5.01633 8.53144 4.77508 8.63048 4.54295C8.81547 4.10937 9.08608 3.71668 9.42589 3.38678C9.76565 3.05692 10.168 2.79625 10.6094 2.61873ZM9.74907 5.2626L14.2509 5.2626C14.2288 5.19175 14.2031 5.12183 14.1738 5.05312C14.0572 4.77998 13.8859 4.53053 13.6685 4.31952C13.4511 4.10848 13.192 3.94008 12.9055 3.82486C12.619 3.70963 12.3112 3.6501 12 3.6501C11.6887 3.6501 11.381 3.70963 11.0944 3.82486C10.8079 3.94008 10.5488 4.10848 10.3314 4.31952C10.1141 4.53053 9.94273 4.77998 9.8262 5.05311C9.79688 5.12183 9.77115 5.19175 9.74907 5.2626ZM7.01043 6.5626C6.2408 6.5626 5.64998 7.16345 5.64998 7.86442V8.01078C5.64998 8.53694 6.03782 9.01141 6.60612 9.11574C6.65027 9.12384 6.69443 9.13185 6.73861 9.13975C6.73934 9.13988 6.74007 9.14001 6.7408 9.14014C6.9188 9.17198 7.09704 9.20218 7.27549 9.23076C10.5824 9.76029 13.9603 9.73008 17.2592 9.14014C17.2597 9.14004 17.2603 9.13994 17.2608 9.13984C17.3052 9.13191 17.3495 9.12388 17.3938 9.11574C17.9621 9.01141 18.35 8.53694 18.35 8.01078V7.86442C18.35 7.16345 17.7591 6.5626 16.9895 6.5626H7.01043ZM6.89224 10.4854C6.40537 11.1346 6.07257 11.8962 5.93971 12.7207L5.90212 12.954C5.74569 13.9249 5.80489 14.917 6.07594 15.8642L6.19359 16.2753C6.77869 18.3198 8.5277 19.8695 10.7042 20.2405C11.5615 20.3866 12.4385 20.3866 13.2957 20.2405C15.4722 19.8695 17.2212 18.3198 17.8063 16.2753L17.924 15.8642C18.1951 14.917 18.2543 13.9249 18.0978 12.954L18.0602 12.7207C17.9274 11.8962 17.5946 11.1346 17.1077 10.4854C17.0485 10.4953 16.9893 10.5049 16.93 10.5144C13.6061 11.0467 10.2137 11.037 6.89224 10.4854ZM9.34998 16.5918V12.7084C9.34998 12.3495 9.64099 12.0584 9.99998 12.0584C10.359 12.0584 10.65 12.3495 10.65 12.7084V16.5918C10.65 16.9508 10.359 17.2418 9.99998 17.2418C9.64099 17.2418 9.34998 16.9508 9.34998 16.5918ZM14 12.0584C14.359 12.0584 14.65 12.3495 14.65 12.7084V16.5918C14.65 16.9508 14.359 17.2418 14 17.2418C13.641 17.2418 13.35 16.9508 13.35 16.5918V12.7084C13.35 12.3495 13.641 12.0584 14 12.0584Z",fill:"#3E3F58"}))},t.createElement(y,{type:"bodytext-2",color:d.mbColors.red},c("childCard.menu.remove",{name:e})))):t.createElement(re,{width:250},t.createElement(v.Item,{onClick:o,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M12.7812 1.83301C12.2987 1.83301 11.8162 2.01676 11.4479 2.38509L10.6667 3.16634L13.3333 5.83301L14.1146 5.05176C14.8506 4.31576 14.8506 3.12176 14.1146 2.38509C13.7463 2.01676 13.2638 1.83301 12.7812 1.83301ZM9.66667 4.16634L2 11.833V14.4997H4.66667L12.3333 6.83301L9.66667 4.16634Z",fill:"#595959"}))},t.createElement(m,{size:"p2",color:d.colors.gray800},c("childCard.menu.edit",{name:e}))),t.createElement(v.Item,{onClick:a,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M8 2.5C4.9478 2.5 2.4204 4.79359 2.05078 7.7513C2.03763 7.83928 2.04222 7.929 2.06428 8.01518C2.08634 8.10136 2.12542 8.18226 2.17922 8.2531C2.23303 8.32394 2.30046 8.3833 2.37756 8.42768C2.45465 8.47206 2.53985 8.50057 2.62813 8.51152C2.71642 8.52247 2.806 8.51564 2.8916 8.49143C2.9772 8.46723 3.05709 8.42614 3.12657 8.37059C3.19605 8.31503 3.2537 8.24613 3.29615 8.16795C3.33859 8.08978 3.36496 8.00389 3.3737 7.91536C3.66141 5.61307 5.61354 3.83333 8 3.83333C9.34288 3.83333 10.5434 4.39987 11.3919 5.30339L10.0977 6.59766C9.96766 6.72766 9.96766 6.93901 10.0977 7.06901C10.1623 7.13434 10.248 7.16667 10.3333 7.16667H13.3333C13.5101 7.16667 13.6797 7.09643 13.8047 6.9714C13.9298 6.84638 14 6.67681 14 6.5V3.5C14 3.41467 13.967 3.32966 13.9023 3.26432C13.7723 3.13432 13.561 3.13432 13.431 3.26432L12.3359 4.35938C11.2437 3.21415 9.7037 2.5 8 2.5ZM13.2943 8.49089C13.1292 8.48959 12.9695 8.54959 12.8461 8.65928C12.7227 8.76896 12.6444 8.92053 12.6263 9.08464C12.3386 11.3869 10.3865 13.1667 8 13.1667C6.65713 13.1667 5.45884 12.5994 4.60938 11.6953L5.90234 10.4023C6.03234 10.2723 6.03234 10.061 5.90234 9.93099C5.83768 9.86566 5.752 9.83333 5.66667 9.83333H2.66667C2.48986 9.83333 2.32029 9.90357 2.19526 10.0286C2.07024 10.1536 2 10.3232 2 10.5V13.5C2 13.5853 2.03299 13.6703 2.09766 13.7357C2.22766 13.8657 2.43901 13.8657 2.56901 13.7357L3.66536 12.6393C4.75711 13.7836 6.29696 14.5 8 14.5C11.0522 14.5 13.5796 12.2064 13.9492 9.2487C13.9622 9.1548 13.955 9.05922 13.928 8.96833C13.9011 8.87745 13.8552 8.79334 13.7932 8.72163C13.7312 8.64991 13.6546 8.59224 13.5686 8.55245C13.4826 8.51266 13.3891 8.49167 13.2943 8.49089Z",fill:"#595959"}))},t.createElement(m,{size:"p2",color:d.colors.gray800},c("childCard.menu.switch"))),t.createElement(v.Item,{onClick:i,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9564 8.56545C15.7745 7.46727 14.9673 6.57273 13.9127 6.26C13.5273 5.44545 12.9818 4.73273 12.32 4.14364C11.1709 3.11818 9.65818 2.5 8 2.5C6.34182 2.5 4.82909 3.11818 3.68 4.14364C3.01091 4.73273 2.46545 5.45273 2.08727 6.26C1.03273 6.57273 0.225455 7.46 0.0436364 8.56545C0.0145455 8.71818 0 8.87818 0 9.04545C0 9.21273 0.0145455 9.37273 0.0436364 9.52545C0.225455 10.6236 1.03273 11.5182 2.08727 11.8309C2.46545 12.6382 3.01091 13.3509 3.66545 13.9327C4.81455 14.9655 6.33455 15.5909 8 15.5909C9.66545 15.5909 11.1855 14.9655 12.3418 13.9327C12.9964 13.3509 13.5418 12.6309 13.92 11.8309C14.9673 11.5182 15.7745 10.6309 15.9564 9.52545C15.9855 9.37273 16 9.21273 16 9.04545C16 8.87818 15.9855 8.71818 15.9564 8.56545ZM6.18182 7.04545C5.67974 7.04545 5.27273 7.45247 5.27273 7.95455C5.27273 8.45662 5.67974 8.86364 6.18182 8.86364C6.6839 8.86364 7.09091 8.45662 7.09091 7.95455C7.09091 7.45247 6.6839 7.04545 6.18182 7.04545ZM9.81818 7.04545C9.3161 7.04545 8.90909 7.45247 8.90909 7.95455C8.90909 8.45662 9.3161 8.86364 9.81818 8.86364C10.3203 8.86364 10.7273 8.45662 10.7273 7.95455C10.7273 7.45247 10.3203 7.04545 9.81818 7.04545ZM5.01821 10.5H10.9818C11.1128 10.5 11.2073 10.6455 11.1491 10.7691C10.5455 11.9109 9.36002 12.6818 8.00002 12.6818C6.64002 12.6818 5.45457 11.9109 4.85093 10.7691C4.78548 10.6455 4.88002 10.5 5.01821 10.5ZM12.9538 10.4875C12.9991 10.4938 13.0435 10.5 13.0909 10.5C13.8909 10.5 14.5455 9.84545 14.5455 9.04545C14.5455 8.24545 13.8909 7.59091 13.0909 7.59091C13.0435 7.59091 12.9991 7.5971 12.9538 7.60343C12.9297 7.60679 12.9053 7.6102 12.88 7.61273C12.7345 7.12545 12.5236 6.67455 12.2545 6.26C11.3455 4.87091 9.78182 3.95455 8 3.95455C6.21818 3.95455 4.65455 4.87091 3.74545 6.26C3.47636 6.67455 3.26545 7.12545 3.12 7.61273C3.09473 7.6102 3.07033 7.60679 3.0462 7.60343C3.0009 7.5971 2.95654 7.59091 2.90909 7.59091C2.10909 7.59091 1.45455 8.24545 1.45455 9.04545C1.45455 9.84545 2.10909 10.5 2.90909 10.5C2.95654 10.5 3.0009 10.4938 3.0462 10.4875C3.07033 10.4841 3.09473 10.4807 3.12 10.4782C3.26545 10.9655 3.47636 11.4164 3.74545 11.8309C4.65455 13.22 6.21818 14.1364 8 14.1364C9.78182 14.1364 11.3455 13.22 12.2545 11.8309C12.5236 11.4164 12.7345 10.9655 12.88 10.4782C12.9053 10.4807 12.9297 10.4841 12.9538 10.4875Z",fill:"#595959"}),t.createElement("path",{d:"M2.5 2V1C2.5 0.725 2.275 0.5 2 0.5C1.725 0.5 1.5 0.725 1.5 1V2H0.5C0.225 2 0 2.225 0 2.5C0 2.775 0.225 3 0.5 3H1.5V4C1.5 4.275 1.725 4.5 2 4.5C2.275 4.5 2.5 4.275 2.5 4V3H3.5C3.775 3 4 2.775 4 2.5C4 2.225 3.775 2 3.5 2H2.5Z",fill:"#595959"}))},t.createElement(m,{size:"p2",color:d.colors.gray800},c("childCard.menu.add"))),t.createElement(v.Item,{onClick:n,icon:t.createElement("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M6.66699 1.83301L6.00033 2.49967H3.33366C2.93366 2.49967 2.66699 2.76634 2.66699 3.16634C2.66699 3.56634 2.93366 3.83301 3.33366 3.83301H4.66699H11.3337H12.667C13.067 3.83301 13.3337 3.56634 13.3337 3.16634C13.3337 2.76634 13.067 2.49967 12.667 2.49967H10.0003L9.33366 1.83301H6.66699ZM3.33366 5.16634V13.833C3.33366 14.5663 3.93366 15.1663 4.66699 15.1663H11.3337C12.067 15.1663 12.667 14.5663 12.667 13.833V5.16634H3.33366ZM6.00033 6.49967C6.40033 6.49967 6.66699 6.76634 6.66699 7.16634V13.1663C6.66699 13.5663 6.40033 13.833 6.00033 13.833C5.60033 13.833 5.33366 13.5663 5.33366 13.1663V7.16634C5.33366 6.76634 5.60033 6.49967 6.00033 6.49967ZM10.0003 6.49967C10.4003 6.49967 10.667 6.76634 10.667 7.16634V13.1663C10.667 13.5663 10.4003 13.833 10.0003 13.833C9.60033 13.833 9.33366 13.5663 9.33366 13.1663V7.16634C9.33366 6.76634 9.60033 6.49967 10.0003 6.49967Z",fill:"#F44D2C"}))},t.createElement(m,{size:"p2",color:d.colors.red600},c("childCard.menu.remove",{name:e})))))},oe=(e,t)=>{if(e)if(e.year<1){if(0===e.month)switch(e.week){case 0:case 1:return t("childCard.age.oneWeek");default:return t("childCard.age.week",{weeks:e.week})}if(1===e.month)return t("childCard.age.oneMonth");if(e.month>1)return t("childCard.age.months",{month:e.month})}else{if(1===e.year)return t("childCard.age.oneYear");if(0===e.month)return t("childCard.age.yearNoMonth",{year:e.year});if(e.month>0)return t("childCard.age.yearMonth",{year:e.year,month:e.month})}},ae=({name:e,gender:r,age:l,isLoggedIn:a=!1,showMenu:i=!1,onEdit:s,onSwitch:c,onAdd:C,onRemove:p,className:g,siteType:f})=>{const{t:b}=u(),[E,v]=o(!1),L="marryBaby"===f;return t.createElement(ee,{className:g,"data-theme":f},L?t.createElement(t.Fragment,null,t.createElement("div",{"data-testid":"gender"},r===n.Boy?t.createElement(h.BabyBoyMB,{"data-testid":"boy",id:"boy",size:48}):t.createElement(h.BabyGirlMB,{"data-testid":"girl",id:"girl",size:48})),t.createElement("div",{className:"information"},t.createElement(y,{type:"subtitle-1",color:d.mbColors.dark},x(e)||b("childCard.noName")),t.createElement("div",{className:"detail"},t.createElement("div",null,r===n.Boy?t.createElement(h.GenderBoy,{size:14}):t.createElement(h.GenderGirl,{size:14}),t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},b(r===n.Girl?"childCard.girl":"childCard.boy"))),t.createElement("div",null,t.createElement(h.CalendarMB,{size:20}),l&&t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},oe(l,b)))))):t.createElement(t.Fragment,null,t.createElement("div",{"data-testid":"gender"},r===n.Boy?t.createElement(h.Boy,{"data-testid":"boy",id:"boy"}):t.createElement(h.Girl,{"data-testid":"girl",id:"girl"})),t.createElement("div",{className:"information"},t.createElement(w,{tag:"h5",fontWeight:"bold",color:d.colors.gray800},x(e)||b("childCard.noName")),t.createElement("div",{className:"detail"},t.createElement("div",null,r===n.Boy?t.createElement(h.GenderBoy,null):t.createElement(h.GenderGirl,null),t.createElement(m,{size:"p3",color:d.colors.gray800,style:{textTransform:"capitalize"}},b(r===n.Girl?"childCard.girl":"childCard.boy"))),t.createElement("div",null,t.createElement(h.Calendar,{size:16}),l&&t.createElement(m,{size:"p3",color:d.colors.gray800},oe(l,b)))))),i&&a&&t.createElement(te,null,t.createElement(h.Kebab,{onClick:()=>v((e=>!e))}),E&&t.createElement(le,{siteType:f,name:e,onClose:()=>v(!1),onEdit:()=>{v(!1),s()},onSwitch:()=>{v(!1),c()},onAdd:()=>{v(!1),C()},onRemove:()=>{v(!1),p()}})))},ie=(e,t)=>e&&"NaN"!==e?e+" "+(t||""):"--",ne=({measurementDate:e=new Date,weight:r,height:l,head:o,onEdit:a,birthday:i,dateFormat:n="DD/MM/YYYY",siteType:s})=>{const{t:c}=u(),C="marryBaby"===s;return t.createElement(X,{onClick:a},t.createElement("div",{className:"time"},C?t.createElement("svg",{width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05257 0.762695C4.32181 0.762695 4.54007 0.980956 4.54007 1.2502V1.53122C4.60167 1.51424 4.66369 1.49824 4.72611 1.48326C6.2217 1.12422 7.77833 1.12422 9.27392 1.48326C9.33634 1.49824 9.39836 1.51424 9.45995 1.53122V1.2502C9.45995 0.980956 9.67821 0.762695 9.94745 0.762695C10.2167 0.762695 10.435 0.980956 10.435 1.2502V1.89841C12.0148 2.66392 13.1931 4.12969 13.6002 5.90621C13.9499 7.43197 13.9499 9.01971 13.6002 10.5455C13.0985 12.7345 11.426 14.4518 9.27392 14.9684C7.77833 15.3275 6.2217 15.3275 4.72611 14.9684C2.57399 14.4518 0.901521 12.7345 0.399789 10.5455C0.0500868 9.01971 0.0500868 7.43197 0.399789 5.90621C0.806964 4.12969 1.98518 2.66392 3.56507 1.89841V1.2502C3.56507 0.980956 3.78333 0.762695 4.05257 0.762695ZM3.56507 3.00938C2.88276 3.4302 2.31064 4.01866 1.90229 4.72184H12.0977C11.6894 4.01865 11.1173 3.4302 10.435 3.00938V3.1355C10.435 3.40474 10.2167 3.623 9.94745 3.623C9.67821 3.623 9.45995 3.40474 9.45995 3.1355V2.55069C9.32464 2.5049 9.18667 2.46501 9.04633 2.43132C7.70034 2.1082 6.29969 2.1082 4.9537 2.43132C4.81336 2.46501 4.67538 2.5049 4.54007 2.55069V3.1355C4.54007 3.40474 4.32181 3.623 4.05257 3.623C3.78333 3.623 3.56507 3.40474 3.56507 3.1355V3.00938ZM12.5322 5.69684H1.46788C1.42273 5.83649 1.38339 5.97898 1.35015 6.12403C1.0333 7.50643 1.0333 8.94525 1.35015 10.3277C1.77137 12.1654 3.17113 13.5924 4.9537 14.0204C6.29969 14.3435 7.70034 14.3435 9.04632 14.0204C10.8289 13.5924 12.2287 12.1654 12.6499 10.3276C12.9667 8.94525 12.9667 7.50643 12.6499 6.12403C12.6166 5.97898 12.5773 5.83649 12.5322 5.69684Z",fill:"#3E3F58"})):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M5.64421 0.666016C5.27621 0.666016 4.97754 0.964682 4.97754 1.33268V1.99935H4.31087C3.57754 1.99935 2.97754 2.59935 2.97754 3.33268V12.666C2.97754 13.3993 3.57754 13.9993 4.31087 13.9993H13.6442C14.3775 13.9993 14.9775 13.3993 14.9775 12.666V3.33268C14.9775 2.59935 14.3775 1.99935 13.6442 1.99935H12.9775V1.33268C12.9775 0.964682 12.6789 0.666016 12.3109 0.666016C11.9429 0.666016 11.6442 0.964682 11.6442 1.33268V1.99935H6.31087V1.33268C6.31087 0.964682 6.01221 0.666016 5.64421 0.666016ZM4.31087 5.33268H13.6442V11.9993C13.6442 12.3673 13.3455 12.666 12.9775 12.666H4.97754C4.60954 12.666 4.31087 12.3673 4.31087 11.9993V5.33268Z",fill:"#8C8C8C"})),t.createElement(m,{size:"p3",color:d.colors.gray600},`${f(e).format(n)} (${oe(b(i,e),c)})`),C?t.createElement("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.15119 1.29354C8.75527 0.689463 9.57457 0.350098 10.4289 0.350098C12.2078 0.350098 13.65 1.79223 13.65 3.5712C13.65 4.42549 13.3106 5.24479 12.7065 5.84886L11.9689 6.58652C11.9626 6.59307 11.9562 6.5995 11.9496 6.6058L8.78969 9.76569C7.00359 11.5518 4.76564 12.8189 2.31513 13.4315L1.55809 13.6208C0.846159 13.7988 0.201291 13.1539 0.379274 12.442L0.568533 11.6849C1.18116 9.23441 2.44827 6.99647 4.23437 5.21036L7.39433 2.0504C7.40058 2.04388 7.40696 2.0375 7.41346 2.03127L8.15119 1.29354ZM7.26672 4.01649L5.15361 6.1296C3.53411 7.7491 2.3852 9.77829 1.82972 12.0002L1.77301 12.227L1.99983 12.1703C4.22177 11.6149 6.25096 10.4659 7.87045 8.84645L9.98356 6.73334C9.34779 6.52953 8.76392 6.13743 8.31328 5.68678C7.86263 5.23613 7.47052 4.65226 7.26672 4.01649ZM11.1622 5.55469C10.5984 5.66895 9.85522 5.39025 9.23251 4.76754C8.6098 4.14483 8.3311 3.40165 8.44536 2.83784L9.07043 2.21278C9.43071 1.8525 9.91935 1.6501 10.4289 1.6501C11.4899 1.6501 12.35 2.5102 12.35 3.5712C12.35 4.08071 12.1476 4.56935 11.7873 4.92962L11.1622 5.55469Z",fill:"#3E3F58"})):t.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"edit-button"},t.createElement("path",{d:"M12.7721 1.33398C12.2911 1.33398 11.8102 1.51773 11.443 1.88607L10.6643 2.66732L13.3224 5.33398L14.1011 4.55273C14.8348 3.81673 14.8348 2.62273 14.1011 1.88607C13.734 1.51773 13.253 1.33398 12.7721 1.33398ZM9.66748 3.66732L2.02539 11.334V14.0007H4.68351L12.3256 6.33398L9.66748 3.66732Z",fill:"#8C8C8C"}))),t.createElement("div",{className:"record"},t.createElement("div",{className:"record-item"},C?t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("babyGrowth.weight")):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M8.44401 9.86602C8.44401 9.57146 8.68279 9.33268 8.97734 9.33268C9.2719 9.33268 9.51068 9.57146 9.51068 9.86602V11.466C9.51068 11.7606 9.2719 11.9993 8.97734 11.9993C8.68279 11.9993 8.44401 11.7606 8.44401 11.466V9.86602Z",fill:"#8C8C8C"}),t.createElement("path",{d:"M8.17595 3.05319C7.96767 3.26147 7.96767 3.59916 8.17595 3.80744L8.83592 4.46741C9.0442 4.67569 9.38189 4.67569 9.59017 4.46741C9.79844 4.25913 9.79844 3.92144 9.59017 3.71316L8.9302 3.05319C8.72192 2.84491 8.38423 2.84492 8.17595 3.05319Z",fill:"#8C8C8C"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2941 3.66435C12.1261 1.98071 10.7053 0.666016 8.97738 0.666016C7.2495 0.666016 5.82868 1.9807 5.66067 3.66434L3.67054 3.86336C2.92499 3.93791 2.38724 4.61197 2.48017 5.35545L3.498 13.4981C3.5814 14.1653 4.1486 14.666 4.82104 14.666H13.1336C13.806 14.666 14.3732 14.1653 14.4567 13.4981L15.4745 5.35545C15.5674 4.61197 15.0297 3.93791 14.2841 3.86336L12.2941 3.66435ZM12.1607 4.991C11.7386 6.34768 10.473 7.33268 8.97738 7.33268C7.48176 7.33268 6.2162 6.34767 5.79403 4.99099L3.80321 5.19007L4.82104 13.3327L13.1336 13.3327L14.1514 5.19007L12.1607 4.991ZM10.9774 3.99935C10.9774 5.10392 10.0819 5.99935 8.97738 5.99935C7.87281 5.99935 6.97738 5.10392 6.97738 3.99935C6.97738 2.89478 7.87281 1.99935 8.97738 1.99935C10.0819 1.99935 10.9774 2.89478 10.9774 3.99935Z",fill:"#8C8C8C"})),t.createElement(m,{size:"s3",color:d.colors.gray800,type:"semiBold"},ie(E(r),"kg"))),t.createElement("div",{className:"record-item"},C?t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("babyGrowth.height")):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{clipPath:"url(#clip0_855_82991)"},t.createElement("path",{d:"M12.6055 13.9993L12.6055 1.99935C12.6055 1.26602 12.0055 0.666016 11.2721 0.666016L5.9388 0.666015C5.20547 0.666015 4.60547 1.26602 4.60547 1.99935L4.60547 13.9993C4.60547 14.7327 5.20547 15.3327 5.9388 15.3327L11.2721 15.3327C12.0055 15.3327 12.6055 14.7327 12.6055 13.9993ZM5.9388 13.9993L5.9388 1.99935L11.2721 1.99935L11.2721 3.33268L8.60547 3.33268L8.60547 4.66602L11.2721 4.66602L11.2721 5.99935L8.60547 5.99935L8.60547 7.33268L11.2721 7.33268L11.2721 8.66602L8.60547 8.66601L8.60547 9.99935L11.2721 9.99935L11.2721 11.3327L8.60547 11.3327L8.60547 12.666L11.2721 12.666L11.2721 13.9993L5.9388 13.9993Z",fill:"#8C8C8C"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_855_82991"},t.createElement("rect",{width:"16",height:"16",fill:"white",transform:"translate(16.6055) rotate(90)"})))),t.createElement(m,{size:"s3",color:d.colors.gray800,type:"semiBold"},ie(E(l),"cm"))),t.createElement("div",{className:"record-item"},C?t.createElement(y,{type:"bodytext-2",color:d.mbColors.gray},c("babyGrowth.head")):t.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("g",{clipPath:"url(#clip0_855_82994)"},t.createElement("path",{d:"M9.90072 7.83268C10.361 7.83268 10.734 7.45959 10.734 6.99935C10.734 6.53911 10.361 6.16602 9.90072 6.16602C9.44048 6.16602 9.06738 6.53911 9.06738 6.99935C9.06738 7.45959 9.44048 7.83268 9.90072 7.83268Z",fill:"#8C8C8C"}),t.createElement("path",{d:"M6.56771 7.83268C7.02795 7.83268 7.40104 7.45959 7.40104 6.99935C7.40104 6.53911 7.02795 6.16602 6.56771 6.16602C6.10747 6.16602 5.73438 6.53911 5.73438 6.99935C5.73438 7.45959 6.10747 7.83268 6.56771 7.83268Z",fill:"#8C8C8C"}),t.createElement("path",{d:"M15.528 7.56C15.3614 6.55333 14.6214 5.73333 13.6547 5.44667C13.3014 4.7 12.8014 4.04667 12.1947 3.50667C11.1414 2.56667 9.7547 2 8.2347 2C6.7147 2 5.32803 2.56667 4.2747 3.50667C3.66137 4.04667 3.16137 4.70667 2.8147 5.44667C1.84803 5.73333 1.10803 6.54667 0.941367 7.56C0.9147 7.7 0.901367 7.84667 0.901367 8C0.901367 8.15333 0.9147 8.3 0.941367 8.44C1.10803 9.44667 1.84803 10.2667 2.8147 10.5533C3.16137 11.2933 3.66137 11.9467 4.26137 12.48C5.3147 13.4267 6.70803 14 8.2347 14C9.76137 14 11.1547 13.4267 12.2147 12.48C12.8147 11.9467 13.3147 11.2867 13.6614 10.5533C14.6214 10.2667 15.3614 9.45333 15.528 8.44C15.5547 8.3 15.568 8.15333 15.568 8C15.568 7.84667 15.5547 7.7 15.528 7.56ZM12.9014 9.33333C12.8347 9.33333 12.7747 9.32 12.708 9.31333C12.5747 9.76 12.3814 10.1733 12.1347 10.5533C11.3014 11.8267 9.86803 12.6667 8.2347 12.6667C6.60137 12.6667 5.16803 11.8267 4.3347 10.5533C4.08803 10.1733 3.8947 9.76 3.76137 9.31333C3.6947 9.32 3.6347 9.33333 3.56803 9.33333C2.8347 9.33333 2.2347 8.73333 2.2347 8C2.2347 7.26667 2.8347 6.66667 3.56803 6.66667C3.6347 6.66667 3.6947 6.68 3.76137 6.68667C3.8947 6.24 4.08803 5.82667 4.3347 5.44667C5.16803 4.17333 6.60137 3.33333 8.2347 3.33333C9.86803 3.33333 11.3014 4.17333 12.1347 5.44667C12.3814 5.82667 12.5747 6.24 12.708 6.68667C12.7747 6.68 12.8347 6.66667 12.9014 6.66667C13.6347 6.66667 14.2347 7.26667 14.2347 8C14.2347 8.73333 13.6347 9.33333 12.9014 9.33333ZM8.2347 11.3333C9.5747 11.3333 10.728 10.5133 11.2347 9.33333H5.2347C5.74137 10.5133 6.8947 11.3333 8.2347 11.3333Z",fill:"#8C8C8C"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_855_82994"},t.createElement("rect",{width:"16",height:"16",fill:"white",transform:"translate(0.234375)"})))),t.createElement(m,{size:"s3",color:d.colors.gray800,type:"semiBold"},ie(E(o),"cm")))))},se=C(e)`
224
224
  .add-profile-container {
225
225
  display: flex;
226
226
  flex-direction: column;
@@ -272,7 +272,7 @@ import{D as e}from"./index-fcadb1e5.js";export{B as BabyGrowthGender}from"./inde
272
272
  gap: 16px;
273
273
  margin-block: 16px;
274
274
  }
275
- `,de=e=>{var r,l,{babyProfiles:a,currentProfileId:i,onClose:n,onCreate:s,onAddMeasurement:c,onSwitchProfile:C,open:h,isMobile:g,isMyProfile:u=!1,buttonGroup:b,newBabyValue:E,onNewBabyValueChange:w,siteType:x}=e,v=k(e,["babyProfiles","currentProfileId","onClose","onCreate","onAddMeasurement","onSwitchProfile","open","isMobile","isMyProfile","buttonGroup","newBabyValue","onNewBabyValueChange","siteType"]);const L=e=>u?t.createElement(t.Fragment,null,t.createElement(p,{style:{width:"marryBaby"===x?"100%":"unset"},theme:x,onClick:()=>{null==s||s(),n()},size:"lg",color:"secondary",icon:t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.5 9.75H9.75V13.5C9.75 13.9125 9.4125 14.25 9 14.25C8.5875 14.25 8.25 13.9125 8.25 13.5V9.75H4.5C4.0875 9.75 3.75 9.4125 3.75 9C3.75 8.5875 4.0875 8.25 4.5 8.25H8.25V4.5C8.25 4.0875 8.5875 3.75 9 3.75C9.4125 3.75 9.75 4.0875 9.75 4.5V8.25H13.5C13.9125 8.25 14.25 8.5875 14.25 9C14.25 9.4125 13.9125 9.75 13.5 9.75Z",fill:"#2D87F3"}))},H("babyGrowth.drawer.createBaby")),t.createElement(p,{style:{width:"marryBaby"===x?"100%":"unset"},theme:x,size:"lg",color:"primary",onClick:()=>{null==e||e(),u?null==C||C(M):null==c||c(M),n()}},H(u?"babyGrowth.drawer.switchProfile":"babyGrowth.drawer.addMeasurement"))):t.createElement(p,{style:{width:"marryBaby"===x?"100%":"unset"},theme:x,size:"lg",color:"primary",onClick:()=>{null==c||c(M),null==e||e(),n()}},H("chooseBaby.button")),[M,B]=o(String(i)||String(null===(r=a[0])||void 0===r?void 0:r.id)),{t:H}=f();return g?t.createElement(se,Object.assign({title:"Baby profiles",onClose:n,open:h,placement:"bottom"},v),(({internalClose:e})=>{var r;return t.createElement("div",{className:"add-profile-container"},t.createElement("div",{className:"profile-container"},null===(r=a||[])||void 0===r?void 0:r.map((e=>t.createElement(Q,{siteType:x,key:e.id,profile:e,isActive:M===String(e.id),onChange:B}))),!u&&t.createElement(j,{siteType:x,value:E,onInputChange:w,isActive:"new"===M,onChange:B})),t.createElement("div",{className:"button-group"},b||L(e)))})):t.createElement(ce,{type:"confirm",isOpen:h,onClose:n,siteType:x},t.createElement("div",{className:"header"},t.createElement("div",{className:"title"},"marryBaby"===x?t.createElement(y,{type:"subtitle-1",color:d.mbColors.dark},H("chooseBaby.title")):t.createElement(m,{size:"s2",type:"semiBold"},H("chooseBaby.title")),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:n},t.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),t.createElement("div",{className:"profile-container"},null===(l=a||[])||void 0===l?void 0:l.map((e=>t.createElement(Q,{key:e.id,profile:e,isActive:M===String(e.id),onChange:B,siteType:x}))),!u&&t.createElement(j,{value:E,onInputChange:w,isActive:"new"===M,onChange:B,siteType:x})),t.createElement("div",{className:"button-group"},b||L()))},me={[n.Boy]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_BOYS.percentile.weekly-18b6c7bb.js"),[c.Monthly]:()=>import("./WEIGHT_BOYS.percentile.monthly-4d5e7458.js"),[c.Yearly]:()=>import("./WEIGHT_BOYS.percentile.yearly-7f2ab972.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_BOYS.percentile.weekly-8fcf287d.js"),[c.Monthly]:()=>import("./HEIGHT_BOYS.percentile.monthly-f7ad9c3e.js"),[c.Yearly]:()=>import("./HEIGHT_BOYS.percentile.yearly-1001f097.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_BOYS.percentile.weekly-7f9d66b1.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_BOYS.percentile.monthly-7fd9c289.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_BOYS.percentile.yearly-7a8c5e08.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_BOYS.percentile.weekly-c95e6c4d.js"),[c.Monthly]:()=>import("./BMI_BOYS.percentile.monthly-dcb0bd73.js"),[c.Yearly]:()=>import("./BMI_BOYS.percentile.yearly-bbd9662f.js")}},[n.Girl]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_GIRLS.percentile.weekly-c77d9505.js"),[c.Monthly]:()=>import("./WEIGHT_GIRLS.percentile.monthly-0eaea462.js"),[c.Yearly]:()=>import("./WEIGHT_GIRLS.percentile.yearly-cde76613.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_GIRLS.percentile.weekly-31a51ebd.js"),[c.Monthly]:()=>import("./HEIGHT_GIRLS.percentile.monthly-cf0aaa04.js"),[c.Yearly]:()=>import("./HEIGHT_GIRLS.percentile.yearly-aeaf37a3.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.weekly-7a149e14.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.monthly-942d386c.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.yearly-a28b4d2d.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_GIRLS.percentile.weekly-2e76ec28.js"),[c.Monthly]:()=>import("./BMI_GIRLS.percentile.monthly-c26c77fa.js"),[c.Yearly]:()=>import("./BMI_GIRLS.percentile.yearly-5da0e3e1.js")}}},Ce={[n.Boy]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_BOYS.zscore.weekly-edd20b79.js"),[c.Monthly]:()=>import("./WEIGHT_BOYS.zscore.monthly-70bd6d3e.js"),[c.Yearly]:()=>import("./WEIGHT_BOYS.zscore.yearly-834cb0b3.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_BOYS.zscore.weekly-ad61e4f8.js"),[c.Monthly]:()=>import("./HEIGHT_BOYS.zscore.monthly-6c3b613f.js"),[c.Yearly]:()=>import("./HEIGHT_BOYS.zscore.yearly-0cf9abb3.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_BOYS.zscore.weekly-5264d210.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_BOYS.zscore.monthly-333371ba.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_BOYS.zscore.yearly-71b3936f.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_BOYS.zscore.weekly-80499522.js"),[c.Monthly]:()=>import("./BMI_BOYS.zscore.monthly-ba1e2b29.js"),[c.Yearly]:()=>import("./BMI_BOYS.zscore.yearly-14b7b7e2.js")}},[n.Girl]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_GIRLS.zscore.weekly-e8d15835.js"),[c.Monthly]:()=>import("./WEIGHT_GIRLS.zscore.monthly-e0a8c880.js"),[c.Yearly]:()=>import("./WEIGHT_GIRLS.zscore.yearly-82ed3c48.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_GIRLS.zscore.weekly-fe6a5bd3.js"),[c.Monthly]:()=>import("./HEIGHT_GIRLS.zscore.monthly-f0f59a83.js"),[c.Yearly]:()=>import("./HEIGHT_GIRLS.zscore.yearly-ba6b64b0.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.weekly-693684eb.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.monthly-d5bc5ee3.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.yearly-35b00260.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_GIRLS.zscore.weekly-ce577050.js"),[c.Monthly]:()=>import("./BMI_GIRLS.zscore.monthly-a3087ca1.js"),[c.Yearly]:()=>import("./BMI_GIRLS.zscore.yearly-9a23543b.js")}}},pe=(e,t,r,l,o)=>{const a=e.slice(t-1,r);let[i,n]=[a[0][l],a[0][l]];return a.forEach((e=>{e[l]>n&&(n=e[l]),e[l]<i&&(i=e[l])})),[(0|i)-o,(0|n)+o]},he=(e,t,r,l)=>l===i.Indonesia?Ce[e][t][r]():me[e][t][r](),ye=(e,t)=>{const[r,l]=T(t,Math.ceil(t.length/2)),o=r.map((e=>e.name)),a=l.map((e=>e.name));return o.includes(e)?{data:r,status:"first-half"}:a.includes(e)?{data:l,status:"second-half"}:{data:t,status:"full"}},ge=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),ue=(e,t,r,l,o)=>[...e,{name:l,history:o,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),fe=(e,t=0)=>{const r=[];for(const l in e){e[l].forEach(((e,o)=>{r[o]?r[o][l]=e:r[o]={name:o+t,[l]:e}}))}return r},be=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),Ee=()=>{var e;const t=null===(e=document.getElementsByClassName("recharts-cartesian-grid-vertical"))||void 0===e?void 0:e[0];if(console.log(t),!t)return;const r=t.getElementsByTagName("line");for(let e=0;e<r.length;e++){if(e%2!=0){const l=r[e],o=r[e+1],a=l.getAttribute("x1"),i=l.getAttribute("y"),n=l.getAttribute("height"),s=l.getAttribute("x1"),c=o.getAttribute("x1");console.log({oddLine:l,nextLine:o});const m=document.createElementNS("http://www.w3.org/1999/xhtml","rect");m.setAttribute("stroke",d.colors.primary50),m.setAttribute("fill",d.colors.primary50),m.setAttribute("x",a),m.setAttribute("y",i),m.setAttribute("height",n),m.setAttribute("width",String(Number(c)-Number(s))),t.appendChild(l),t.appendChild(m)}else t.appendChild(r[e]);console.log(t)}},we=C.div`
275
+ `,de=e=>{var r,l,{babyProfiles:a,currentProfileId:i,onClose:n,onCreate:s,onAddMeasurement:c,onSwitchProfile:C,open:h,isMobile:g,isMyProfile:f=!1,buttonGroup:b,newBabyValue:E,onNewBabyValueChange:w,siteType:x}=e,v=k(e,["babyProfiles","currentProfileId","onClose","onCreate","onAddMeasurement","onSwitchProfile","open","isMobile","isMyProfile","buttonGroup","newBabyValue","onNewBabyValueChange","siteType"]);const L=e=>f?t.createElement(t.Fragment,null,t.createElement(p,{style:{width:"marryBaby"===x?"100%":"unset"},theme:x,onClick:()=>{null==s||s(),n()},size:"lg",color:"secondary",icon:t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.5 9.75H9.75V13.5C9.75 13.9125 9.4125 14.25 9 14.25C8.5875 14.25 8.25 13.9125 8.25 13.5V9.75H4.5C4.0875 9.75 3.75 9.4125 3.75 9C3.75 8.5875 4.0875 8.25 4.5 8.25H8.25V4.5C8.25 4.0875 8.5875 3.75 9 3.75C9.4125 3.75 9.75 4.0875 9.75 4.5V8.25H13.5C13.9125 8.25 14.25 8.5875 14.25 9C14.25 9.4125 13.9125 9.75 13.5 9.75Z",fill:"#2D87F3"}))},H("babyGrowth.drawer.createBaby")),t.createElement(p,{style:{width:"marryBaby"===x?"100%":"unset"},theme:x,size:"lg",color:"primary",onClick:()=>{null==e||e(),f?null==C||C(M):null==c||c(M),n()}},H(f?"babyGrowth.drawer.switchProfile":"babyGrowth.drawer.addMeasurement"))):t.createElement(p,{style:{width:"marryBaby"===x?"100%":"unset"},theme:x,size:"lg",color:"primary",onClick:()=>{null==c||c(M),null==e||e(),n()}},H("chooseBaby.button")),[M,B]=o(String(i)||String(null===(r=a[0])||void 0===r?void 0:r.id)),{t:H}=u();return g?t.createElement(se,Object.assign({title:"Baby profiles",onClose:n,open:h,placement:"bottom"},v),(({internalClose:e})=>{var r;return t.createElement("div",{className:"add-profile-container"},t.createElement("div",{className:"profile-container"},null===(r=a||[])||void 0===r?void 0:r.map((e=>t.createElement(Q,{siteType:x,key:e.id,profile:e,isActive:M===String(e.id),onChange:B}))),!f&&t.createElement(j,{siteType:x,value:E,onInputChange:w,isActive:"new"===M,onChange:B})),t.createElement("div",{className:"button-group"},b||L(e)))})):t.createElement(ce,{type:"confirm",isOpen:h,onClose:n,siteType:x},t.createElement("div",{className:"header"},t.createElement("div",{className:"title"},"marryBaby"===x?t.createElement(y,{type:"subtitle-1",color:d.mbColors.dark},H("chooseBaby.title")):t.createElement(m,{size:"s2",type:"semiBold"},H("chooseBaby.title")),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:n},t.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),t.createElement("div",{className:"profile-container"},null===(l=a||[])||void 0===l?void 0:l.map((e=>t.createElement(Q,{key:e.id,profile:e,isActive:M===String(e.id),onChange:B,siteType:x}))),!f&&t.createElement(j,{value:E,onInputChange:w,isActive:"new"===M,onChange:B,siteType:x})),t.createElement("div",{className:"button-group"},b||L()))},me={[n.Boy]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_BOYS.percentile.weekly-d89f3a29.js"),[c.Monthly]:()=>import("./WEIGHT_BOYS.percentile.monthly-ad918c98.js"),[c.Yearly]:()=>import("./WEIGHT_BOYS.percentile.yearly-5620d6e6.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_BOYS.percentile.weekly-5a2a3a14.js"),[c.Monthly]:()=>import("./HEIGHT_BOYS.percentile.monthly-b03b60ce.js"),[c.Yearly]:()=>import("./HEIGHT_BOYS.percentile.yearly-d227951f.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_BOYS.percentile.weekly-e154dde9.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_BOYS.percentile.monthly-f36d0465.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_BOYS.percentile.yearly-0cb69834.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_BOYS.percentile.weekly-b6563ebb.js"),[c.Monthly]:()=>import("./BMI_BOYS.percentile.monthly-c234eca0.js"),[c.Yearly]:()=>import("./BMI_BOYS.percentile.yearly-df6db838.js")}},[n.Girl]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_GIRLS.percentile.weekly-a77f6965.js"),[c.Monthly]:()=>import("./WEIGHT_GIRLS.percentile.monthly-a6c1e952.js"),[c.Yearly]:()=>import("./WEIGHT_GIRLS.percentile.yearly-bcdd918f.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_GIRLS.percentile.weekly-4c7ecf30.js"),[c.Monthly]:()=>import("./HEIGHT_GIRLS.percentile.monthly-9f957a28.js"),[c.Yearly]:()=>import("./HEIGHT_GIRLS.percentile.yearly-f53e6122.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.weekly-4cfd45fa.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.monthly-26391058.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.yearly-272ddd57.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_GIRLS.percentile.weekly-1d4c0738.js"),[c.Monthly]:()=>import("./BMI_GIRLS.percentile.monthly-154334b1.js"),[c.Yearly]:()=>import("./BMI_GIRLS.percentile.yearly-98185289.js")}}},Ce={[n.Boy]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_BOYS.zscore.weekly-fa6122d2.js"),[c.Monthly]:()=>import("./WEIGHT_BOYS.zscore.monthly-7e616ce6.js"),[c.Yearly]:()=>import("./WEIGHT_BOYS.zscore.yearly-817f6406.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_BOYS.zscore.weekly-471ddfcf.js"),[c.Monthly]:()=>import("./HEIGHT_BOYS.zscore.monthly-9ce55af5.js"),[c.Yearly]:()=>import("./HEIGHT_BOYS.zscore.yearly-6c6e3341.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_BOYS.zscore.weekly-63f8d0e9.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_BOYS.zscore.monthly-a009cd46.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_BOYS.zscore.yearly-e0ba4d3a.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_BOYS.zscore.weekly-0d53caaa.js"),[c.Monthly]:()=>import("./BMI_BOYS.zscore.monthly-6fa25427.js"),[c.Yearly]:()=>import("./BMI_BOYS.zscore.yearly-2f8bfde1.js")}},[n.Girl]:{[s.Weight]:{[c.Weekly]:()=>import("./WEIGHT_GIRLS.zscore.weekly-d11485dc.js"),[c.Monthly]:()=>import("./WEIGHT_GIRLS.zscore.monthly-78a30cdd.js"),[c.Yearly]:()=>import("./WEIGHT_GIRLS.zscore.yearly-54082e01.js")},[s.Height]:{[c.Weekly]:()=>import("./HEIGHT_GIRLS.zscore.weekly-b7d8e36c.js"),[c.Monthly]:()=>import("./HEIGHT_GIRLS.zscore.monthly-28b34b76.js"),[c.Yearly]:()=>import("./HEIGHT_GIRLS.zscore.yearly-9a0c293f.js")},[s.Head]:{[c.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.weekly-6231b935.js"),[c.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.monthly-98192dd8.js"),[c.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.yearly-70027478.js")},[s.BMI]:{[c.Weekly]:()=>import("./BMI_GIRLS.zscore.weekly-3b51684b.js"),[c.Monthly]:()=>import("./BMI_GIRLS.zscore.monthly-e010cea8.js"),[c.Yearly]:()=>import("./BMI_GIRLS.zscore.yearly-51e90d5c.js")}}},pe=(e,t,r,l,o)=>{const a=e.slice(t-1,r);let[i,n]=[a[0][l],a[0][l]];return a.forEach((e=>{e[l]>n&&(n=e[l]),e[l]<i&&(i=e[l])})),[(0|i)-o,(0|n)+o]},he=(e,t,r,l)=>l===i.Indonesia?Ce[e][t][r]():me[e][t][r](),ye=(e,t)=>{const[r,l]=T(t,Math.ceil(t.length/2)),o=r.map((e=>e.name)),a=l.map((e=>e.name));return o.includes(e)?{data:r,status:"first-half"}:a.includes(e)?{data:l,status:"second-half"}:{data:t,status:"full"}},ge=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),fe=(e,t,r,l,o)=>[...e,{name:l,history:o,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),ue=(e,t=0)=>{const r=[];for(const l in e){e[l].forEach(((e,o)=>{r[o]?r[o][l]=e:r[o]={name:o+t,[l]:e}}))}return r},be=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),Ee=()=>{var e;const t=null===(e=document.getElementsByClassName("recharts-cartesian-grid-vertical"))||void 0===e?void 0:e[0];if(console.log(t),!t)return;const r=t.getElementsByTagName("line");for(let e=0;e<r.length;e++){if(e%2!=0){const l=r[e],o=r[e+1],a=l.getAttribute("x1"),i=l.getAttribute("y"),n=l.getAttribute("height"),s=l.getAttribute("x1"),c=o.getAttribute("x1");console.log({oddLine:l,nextLine:o});const m=document.createElementNS("http://www.w3.org/1999/xhtml","rect");m.setAttribute("stroke",d.colors.primary50),m.setAttribute("fill",d.colors.primary50),m.setAttribute("x",a),m.setAttribute("y",i),m.setAttribute("height",n),m.setAttribute("width",String(Number(c)-Number(s))),t.appendChild(l),t.appendChild(m)}else t.appendChild(r[e]);console.log(t)}},we=C.div`
276
276
  position: relative;
277
277
  .custom-chart-label {
278
278
  display: flex;
@@ -281,4 +281,4 @@ import{D as e}from"./index-fcadb1e5.js";export{B as BabyGrowthGender}from"./inde
281
281
  align-items: center;
282
282
  margin-top: 8px;
283
283
  }
284
- `,xe=[{name:"-3SD",label:"-3",color:d.colors.red600},{name:"-2SD",label:"-2",color:d.colors.yellow600},{name:"0Median",label:"0",color:d.colors.green600},{name:"2SD",label:"2",color:d.colors.yellow600},{name:"3SD",label:"3",color:d.colors.red600},{name:"history",color:d.colors.primaryBase}],ve=[{name:"3rd",color:d.colors.red600},{name:"15th",color:d.colors.yellow600},{name:"50th",color:d.colors.green600},{name:"85th",color:d.colors.yellow600},{name:"97th",color:d.colors.red600},{name:"history",color:d.colors.primaryBase}],Le=e=>{const{x:r,y:l,last:o,index:a,name:i}=e;return o===a?t.createElement("text",{x:r,y:l,dx:16,fill:d.colors.gray500,fontSize:12,textAnchor:"middle"},i):null},Me=({gender:e,type:n,duration:C,xLabel:p,x:h,y:y,toolTipLabel:g=[],isDivide:u=!0,onIsPrevious:b,locale:E,riskLevel:w,withLine:x=!1,lineData:v=[]})=>{const[k,B]=o([]),I=l([]),{t:j}=f();a((()=>{H(void 0,void 0,void 0,(function*(){const t=(yield he(e,n,C,E)).default,r=C===c.Weekly?0:1,l=fe(t,r);if(Array.isArray(l)&&0===l.length)return void(null==b||b());let o={data:l.map(((e,t)=>Object.assign(Object.assign({},e),{name:t}))),status:"full"};try{o=u?ye(h||r,l):{data:l,status:"full"}}catch(e){}if(u)switch(o.status){case"first-half":I.current=be(o.data.length-1+r,r);break;case"second-half":I.current=be(t.length,o.data.length);break;default:I.current=be(l.length-1+r,r)}else I.current=be(l.length-1+r,r);B(o.data)}))}),[e,n,C,E,b]);const[T,A]=o(!1),W=r((()=>x&&Array.isArray(k)&&k.length>0?ge(k,v):ue(k,w,g,h,y)),[x,v,k]),Y=l(null);M(Y,(()=>A(!1)));return t.createElement(we,null,t.createElement("div",{className:"custom-chart-label"},t.createElement(m,{size:"n1",color:d.colors.gray500},(()=>{switch(n){case s.Weight:return j("babyGrowth.weight");case s.Height:return j("babyGrowth.height");case s.Head:return j("babyGrowth.headCircumference");case s.BMI:return"BMI";default:return""}})()),t.createElement(m,{size:"n1",color:d.colors.gray500},E===i.Indonesia?"Z-Score":j("babyGrowth.percentiles"))),Array.isArray(W)&&W.length>0&&t.createElement(S,{height:388,className:"chart"},t.createElement(G,{data:W,margin:{top:16,right:28,bottom:8,left:0}},t.createElement(R,{stroke:d.colors.neutral100}),t.createElement(z,{trigger:"click",content:e=>t.createElement(K,Object.assign({active:!x&&T&&void 0!==h&&void 0!==y,locale:E},e))}),t.createElement(Z,{type:"number",scale:"linear",ticks:I.current,dataKey:"name",tickLine:!1,tickMargin:12,tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:d.colors.gray800},domain:["dataMin","dataMax"],interval:"preserveStartEnd",tickCount:1,tickFormatter:e=>String(Math.round(100*(e+Number.EPSILON))/100),allowDecimals:!0}),t.createElement(_,{domain:[e=>Math.min(e,y||e),e=>Math.max(e,y||e)],tickLine:!1,tickMargin:7,width:45,tickCount:10,allowDecimals:!0,tickFormatter:e=>String(Math.round(100*(e+Number.EPSILON))/100),tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:d.colors.gray800}}),(E===i.Indonesia?xe:ve).map(((e,r)=>t.createElement(t.Fragment,null,"history"===e.name?t.createElement(V,{key:r,connectNulls:!0,type:"linear",dataKey:"history",stroke:e.color,strokeWidth:2,dot:{stroke:e.color,fill:e.color,strokeWidth:1,r:4,strokeDasharray:""},activeDot:!0,color:e.color}):t.createElement(V,{key:e.name,type:"linear",dataKey:e.name,stroke:e.color,dot:!1,activeDot:!1,connectNulls:!0,label:t.createElement(Le,{last:(null==W?void 0:W.length)?W.length-1:0,name:(null==e?void 0:e.label)||e.name}),tooltipType:"none"})))),void 0!==h&&void 0!==y&&t.createElement(N,{onClick:()=>A(!0),x:0===h?1:h,y:y,r:4,shape:t.createElement(L,{ref:Y,r:4}),fill:d.colors.primaryBase,stroke:d.colors.primaryBase}))),t.createElement("div",{className:"custom-chart-label"},t.createElement("i",null),t.createElement(m,{size:"n1",color:d.colors.gray500},p)))};export{Me as BabyGrowthChart,me as BabyGrowthChartPercentile,Ce as BabyGrowthChartZScore,de as BabyGrowthChooseProfileDrawer,Y as BabyGrowthLegend,Q as BabyGrowthProfileRadio,ne as BabyGrowthRecord,F as BabyGrowthSwitch,O as BabyGrowthSwitchChart,K as BabyGrowthTooltip,oe as ChildCard,ve as LABELS_PERCENTILE,xe as LABELS_Z_SCORE,ye as divideChartData,he as generateGrowthChart,be as generateXAxisTicks,pe as getAxisYDomain,Ee as paintAxis,ue as refineDataWithDot,ge as refineDataWithLine,fe as transformDataToChart};
284
+ `,xe=[{name:"-3SD",label:"-3",color:d.colors.red600},{name:"-2SD",label:"-2",color:d.colors.yellow600},{name:"0Median",label:"0",color:d.colors.green600},{name:"2SD",label:"2",color:d.colors.yellow600},{name:"3SD",label:"3",color:d.colors.red600},{name:"history",color:d.colors.primaryBase}],ve=[{name:"3rd",color:d.colors.red600},{name:"15th",color:d.colors.yellow600},{name:"50th",color:d.colors.green600},{name:"85th",color:d.colors.yellow600},{name:"97th",color:d.colors.red600},{name:"history",color:d.colors.primaryBase}],Le=e=>{const{x:r,y:l,last:o,index:a,name:i}=e;return o===a?t.createElement("text",{x:r,y:l,dx:16,fill:d.colors.gray500,fontSize:12,textAnchor:"middle"},i):null},Me=({gender:e,type:n,duration:C,xLabel:p,x:h,y:y,toolTipLabel:g=[],isDivide:f=!0,onIsPrevious:b,locale:E,riskLevel:w,withLine:x=!1,lineData:v=[]})=>{const[k,B]=o([]),I=l([]),{t:j}=u();a((()=>{H(void 0,void 0,void 0,(function*(){const t=(yield he(e,n,C,E)).default,r=C===c.Weekly?0:1,l=ue(t,r);if(Array.isArray(l)&&0===l.length)return void(null==b||b());let o={data:l.map(((e,t)=>Object.assign(Object.assign({},e),{name:t}))),status:"full"};try{o=f?ye(h||r,l):{data:l,status:"full"}}catch(e){}if(f)switch(o.status){case"first-half":I.current=be(o.data.length-1+r,r);break;case"second-half":I.current=be(t.length,o.data.length);break;default:I.current=be(l.length-1+r,r)}else I.current=be(l.length-1+r,r);B(o.data)}))}),[e,n,C,E,b]);const[T,A]=o(!1),W=r((()=>x&&Array.isArray(k)&&k.length>0?ge(k,v):fe(k,w,g,h,y)),[x,v,k]),Y=l(null);M(Y,(()=>A(!1)));return t.createElement(we,null,t.createElement("div",{className:"custom-chart-label"},t.createElement(m,{size:"n1",color:d.colors.gray500},(()=>{switch(n){case s.Weight:return j("babyGrowth.weight");case s.Height:return j("babyGrowth.height");case s.Head:return j("babyGrowth.headCircumference");case s.BMI:return"BMI";default:return""}})()),t.createElement(m,{size:"n1",color:d.colors.gray500},E===i.Indonesia?"Z-Score":j("babyGrowth.percentiles"))),Array.isArray(W)&&W.length>0&&t.createElement(S,{height:388,className:"chart"},t.createElement(G,{data:W,margin:{top:16,right:28,bottom:8,left:0}},t.createElement(R,{stroke:d.colors.neutral100}),t.createElement(z,{trigger:"click",content:e=>t.createElement(K,Object.assign({active:!x&&T&&void 0!==h&&void 0!==y,locale:E},e))}),t.createElement(Z,{type:"number",scale:"linear",ticks:I.current,dataKey:"name",tickLine:!1,tickMargin:12,tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:d.colors.gray800},domain:["dataMin","dataMax"],interval:"preserveStartEnd",tickCount:1,tickFormatter:e=>String(Math.round(100*(e+Number.EPSILON))/100),allowDecimals:!0}),t.createElement(_,{domain:[e=>Math.min(e,y||e),e=>Math.max(e,y||e)],tickLine:!1,tickMargin:7,width:45,tickCount:10,allowDecimals:!0,tickFormatter:e=>String(Math.round(100*(e+Number.EPSILON))/100),tick:{fontFamily:"Inter",fontWeight:400,fontSize:12,color:d.colors.gray800}}),(E===i.Indonesia?xe:ve).map(((e,r)=>t.createElement(t.Fragment,null,"history"===e.name?t.createElement(V,{key:r,connectNulls:!0,type:"linear",dataKey:"history",stroke:e.color,strokeWidth:2,dot:{stroke:e.color,fill:e.color,strokeWidth:1,r:4,strokeDasharray:""},activeDot:!0,color:e.color}):t.createElement(V,{key:e.name,type:"linear",dataKey:e.name,stroke:e.color,dot:!1,activeDot:!1,connectNulls:!0,label:t.createElement(Le,{last:(null==W?void 0:W.length)?W.length-1:0,name:(null==e?void 0:e.label)||e.name}),tooltipType:"none"})))),void 0!==h&&void 0!==y&&t.createElement(N,{onClick:()=>A(!0),x:0===h?1:h,y:y,r:4,shape:t.createElement(L,{ref:Y,r:4}),fill:d.colors.primaryBase,stroke:d.colors.primaryBase}))),t.createElement("div",{className:"custom-chart-label"},t.createElement("i",null),t.createElement(m,{size:"n1",color:d.colors.gray500},p)))};export{Me as BabyGrowthChart,me as BabyGrowthChartPercentile,Ce as BabyGrowthChartZScore,de as BabyGrowthChooseProfileDrawer,Y as BabyGrowthLegend,Q as BabyGrowthProfileRadio,ne as BabyGrowthRecord,F as BabyGrowthSwitch,O as BabyGrowthSwitchChart,K as BabyGrowthTooltip,ae as ChildCard,ve as LABELS_PERCENTILE,xe as LABELS_Z_SCORE,ye as divideChartData,he as generateGrowthChart,be as generateXAxisTicks,pe as getAxisYDomain,Ee as paintAxis,fe as refineDataWithDot,ge as refineDataWithLine,ue as transformDataToChart};
@@ -1 +1 @@
1
- export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-5256a383.js";import"./tslib.es6-7d4256e2.js";import"./isProduction-ea895154.js";
1
+ export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-79d5845c.js";import"./tslib.es6-f8281476.js";import"./isProduction-aba46914.js";
package/build/esm/care.js CHANGED
@@ -1 +1 @@
1
- export{B as BookingSearchBar,t as CareTypes}from"./types-b9f76f82.js";export{c as CareConstants}from"./constants-21e8c9d5.js";import"./tslib.es6-7d4256e2.js";import"react";import"./index-30b608e8.js";import"./Onboarding-db0aad29.js";import"./isProduction-ea895154.js";import"./cookieHelper-a2c54e85.js";import"./useTranslations-9944ea07.js";import"./translationsContext-48c78d43.js";import"string-format";import"lodash/debounce";import"./index-976a5a4f.js";import"@mantine/core";import"./index.styled-a132cfd4.js";import"./utils-1c546527.js";import"styled-components";import"./index-6314712f.js";import"./theme-dba1b74c.js";import"react-loading-skeleton";import"lodash/shuffle";import"./useOutsideClick-717ef9fc.js";
1
+ export{B as BookingSearchBar,t as CareTypes}from"./types-81990047.js";export{c as CareConstants}from"./constants-2ab6e604.js";import"./tslib.es6-f8281476.js";import"react";import"./index-f436d992.js";import"./Onboarding-e9addf1e.js";import"./isProduction-aba46914.js";import"./cookieHelper-b97400df.js";import"./useTranslations-d8cfbc93.js";import"./translationsContext-f1f9a65f.js";import"string-format";import"lodash/debounce";import"./index-20c75588.js";import"@mantine/core";import"./index-7bc42423.js";import"./utils-528b09d1.js";import"styled-components";import"./index-3218f985.js";import"./theme-767314d5.js";import"react-loading-skeleton";import"lodash/shuffle";import"./useOutsideClick-be2ddaeb.js";