@hhgtech/hhg-components 1.26.32 → 1.26.33

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 (294) hide show
  1. package/build/babyGrowth.js +8 -8
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/authorBadge/index.styles.d.ts +4 -2
  5. package/build/components/atoms/customReferenceDot/index.d.ts +1 -1
  6. package/build/components/mantine/anchor/index.styles.d.ts +4 -2
  7. package/build/components/mantine/button/index.styles.d.ts +4 -2
  8. package/build/components/mantine/datepicker/index.d.ts +4 -8
  9. package/build/components/mantine/index.d.ts +1 -1
  10. package/build/components/mantine/input/number.d.ts +2 -2
  11. package/build/components/mantine/otp/index.d.ts +2 -2
  12. package/build/components/mantine/phone/index.d.ts +1 -1
  13. package/build/components/mantine/tabs/index.styles.d.ts +4 -2
  14. package/build/components/mantine/text/index.styles.d.ts +4 -2
  15. package/build/components/mantine/theme/input.d.ts +4 -3
  16. package/build/components/mantine/theme/other.d.ts +2 -2
  17. package/build/components/mantine/theme/text.d.ts +38 -38
  18. package/build/components/molecules/tabs/index.styles.d.ts +8 -2
  19. package/build/components.js +1 -1
  20. package/build/constants.js +1 -1
  21. package/build/core-c0b69698.js +1 -0
  22. package/build/{dataTransform-28101413.js → dataTransform-45a42280.js} +1 -1
  23. package/build/ecom.js +1 -1
  24. package/build/esm/babyGrowth.js +4 -4
  25. package/build/esm/cache.js +1 -1
  26. package/build/esm/care.js +1 -1
  27. package/build/esm/components.js +1 -1
  28. package/build/esm/constants.js +1 -1
  29. package/build/esm/{core-8caadfc5.js → core-36039903.js} +1 -1
  30. package/build/esm/{dataTransform-274126e8.js → dataTransform-492b1615.js} +1 -1
  31. package/build/esm/ecom.js +1 -1
  32. package/build/esm/footer.js +1 -1
  33. package/build/esm/gAssets.js +1 -1
  34. package/build/esm/getDynamicHealthTool-63a2fb56.js +1 -0
  35. package/build/esm/{getSocialList-466fa13f.js → getSocialList-97942b66.js} +1 -1
  36. package/build/esm/hooks.js +1 -1
  37. package/build/esm/i18n.js +1 -1
  38. package/build/esm/index-07aaec5f.js +1 -0
  39. package/build/esm/index-1588fe76.js +1 -0
  40. package/build/esm/{index-aa91b2e8.js → index-172741a6.js} +1 -1
  41. package/build/esm/{index-5faf1733.js → index-1f0ef5c4.js} +6 -6
  42. package/build/esm/{index-f279f9cc.js → index-37f64d26.js} +1 -1
  43. package/build/esm/{index-7b7ecc63.js → index-463c8a6a.js} +1 -1
  44. package/build/esm/index-54828c49.js +134 -0
  45. package/build/esm/{index-c1c4ea8a.js → index-5d627170.js} +1 -1
  46. package/build/esm/{index-e00f38c9.js → index-6ff98a9b.js} +1 -1
  47. package/build/esm/{index-e1c04a61.js → index-7551acd8.js} +1 -1
  48. package/build/esm/index-7882c5e8.js +1 -0
  49. package/build/esm/index-79ff11e4.js +1 -0
  50. package/build/esm/{index-49d42994.js → index-7a105aed.js} +1 -1
  51. package/build/esm/{index-6e4970c6.js → index-80992eee.js} +1 -1
  52. package/build/esm/index-8e7638e8.js +1 -0
  53. package/build/esm/index-980656ec.js +1 -0
  54. package/build/esm/index-99a8188a.js +1 -0
  55. package/build/esm/{index-587a7c6c.js → index-bf90d920.js} +1 -1
  56. package/build/esm/{index-2dcd7658.js → index-c0d63bb7.js} +1 -1
  57. package/build/esm/{index-12de6c42.js → index-d0836c5d.js} +1 -1
  58. package/build/esm/{index-f9a3ccf7.js → index-d40a41d9.js} +1 -1
  59. package/build/esm/{index-a7593bb9.js → index-ed191d11.js} +1 -1
  60. package/build/esm/{index-c8894e53.js → index-f87423d3.js} +1 -1
  61. package/build/esm/index.js +1 -1
  62. package/build/esm/{index.styled-7d3abcab.js → index.styled-182341f0.js} +1 -1
  63. package/build/esm/{index.styled-30b4b2d2.js → index.styled-9286b472.js} +6 -6
  64. package/build/esm/{index.styled-c8b3bbda.js → index.styled-a72c95d3.js} +1 -1
  65. package/build/esm/{index.styled-e1458854.js → index.styled-cc0b11a9.js} +173 -173
  66. package/build/esm/{index.styled-1b7062fa.js → index.styled-fb4bd56c.js} +1 -1
  67. package/build/esm/lead.js +1 -1
  68. package/build/esm/mantine.js +1 -1
  69. package/build/esm/misc.js +1 -1
  70. package/build/esm/navigation.js +1 -1
  71. package/build/esm/onboarding.js +1 -1
  72. package/build/esm/pwg.js +3 -3
  73. package/build/esm/{routing-5659c7c1.js → routing-5f87ca87.js} +1 -1
  74. package/build/esm/{screenSizeContext-ef383a81.js → screenSizeContext-915ce4d7.js} +4 -4
  75. package/build/esm/together.js +1 -1
  76. package/build/esm/{translationsProvider-c6ae6aba.js → translationsProvider-ae9c60be.js} +1 -1
  77. package/build/esm/{types-b47cfb90.js → types-188735b6.js} +80 -79
  78. package/build/esm/{types-a8957b61.js → types-6ae6fc95.js} +1 -1
  79. package/build/esm/types.js +1 -1
  80. package/build/esm/{useHealthToolCache-33638761.js → useHealthToolCache-378db048.js} +1 -1
  81. package/build/esm/{useRafState-8ad5ff5d.js → useRafState-3205c0a7.js} +1 -1
  82. package/build/esm/useTranslations-db7753a9.js +1 -0
  83. package/build/esm/{utils-737d26dc.js → utils-ac163c9d.js} +16 -16
  84. package/build/esm/vaccination.js +12 -12
  85. package/build/footer.js +1 -1
  86. package/build/gAssets.js +1 -1
  87. package/build/{getDynamicHealthTool-f5800966.js → getDynamicHealthTool-4f280da6.js} +1 -1
  88. package/build/{getSocialList-a32f7622.js → getSocialList-64b6c344.js} +1 -1
  89. package/build/hooks.js +1 -1
  90. package/build/i18n.js +1 -1
  91. package/build/{index-023543bd.js → index-02f0f3ac.js} +1 -1
  92. package/build/{index-8515331b.js → index-0428f4bf.js} +1 -1
  93. package/build/{index-b24d30a4.js → index-088753e3.js} +1 -1
  94. package/build/{index-76781aaa.js → index-1d93e0e4.js} +1 -1
  95. package/build/index-2748d056.js +1 -0
  96. package/build/{index-2479abce.js → index-2dda6780.js} +1 -1
  97. package/build/index-3fee5021.js +1 -0
  98. package/build/{index-41ec0350.js → index-4b68bb3e.js} +1 -1
  99. package/build/{index-34d6ee2c.js → index-6b006c83.js} +1 -1
  100. package/build/{index-28df8c27.js → index-6bae89dd.js} +1 -1
  101. package/build/index-6e70c92e.js +134 -0
  102. package/build/{index-a2bee1ad.js → index-715349df.js} +1 -1
  103. package/build/{index-a2796700.js → index-7e746481.js} +1 -1
  104. package/build/{index-20ec378a.js → index-8c5be012.js} +1 -1
  105. package/build/{index-a1f24ac5.js → index-96a00f94.js} +1 -1
  106. package/build/{index-db12a261.js → index-981d01e9.js} +1 -1
  107. package/build/{index-6783d880.js → index-9cde197f.js} +1 -1
  108. package/build/{index-ff37193f.js → index-bd9496c8.js} +1 -1
  109. package/build/index-c5cb72eb.js +1 -0
  110. package/build/index-cf5dccf4.js +1 -0
  111. package/build/{index-d3826236.js → index-d5215014.js} +1 -1
  112. package/build/index-d9a055cc.js +1 -0
  113. package/build/{index-bcc60c35.js → index-ea890cad.js} +1 -1
  114. package/build/index.js +1 -1
  115. package/build/{index.styled-6e88c577.js → index.styled-1686f3ec.js} +1 -1
  116. package/build/{index.styled-6da69873.js → index.styled-2a07bd69.js} +1 -1
  117. package/build/{index.styled-06bff8be.js → index.styled-47084159.js} +2 -2
  118. package/build/index.styled-8714d660.js +50 -0
  119. package/build/{index.styled-360b806d.js → index.styled-f570440f.js} +1 -1
  120. package/build/lead.js +1 -1
  121. package/build/mantine.js +1 -1
  122. package/build/misc.js +1 -1
  123. package/build/navigation.js +1 -1
  124. package/build/onboarding.js +1 -1
  125. package/build/pwg.js +4 -4
  126. package/build/{routing-11b59429.js → routing-ee136005.js} +1 -1
  127. package/build/{screenSizeContext-2a70b050.js → screenSizeContext-261f0bb9.js} +10 -10
  128. package/build/together/components/atoms/tagTopic/index.d.ts +6 -2
  129. package/build/together/components/molecules/cardAuthor/index.styles.d.ts +5 -2
  130. package/build/together/components/molecules/postContent/index.styles.d.ts +4 -2
  131. package/build/together.js +1 -1
  132. package/build/{translationsProvider-f706d7ce.js → translationsProvider-3a2ca346.js} +1 -1
  133. package/build/{types-181bd739.js → types-2bbca958.js} +37 -37
  134. package/build/{types-1c02a2e5.js → types-92957160.js} +10 -9
  135. package/build/types.js +1 -1
  136. package/build/{useHealthToolCache-e8385f9f.js → useHealthToolCache-e94ad5da.js} +1 -1
  137. package/build/{useRafState-2246427c.js → useRafState-96bde881.js} +1 -1
  138. package/build/{useTranslations-b15251a8.js → useTranslations-dc927554.js} +1 -1
  139. package/build/utils-6af0418d.js +166 -0
  140. package/build/vaccination.js +49 -49
  141. package/package.json +10 -15
  142. package/build/components/mantine/datepicker/index.styled.d.ts +0 -3
  143. package/build/components/mantine/datepicker/range.d.ts +0 -5
  144. package/build/core-e1d079c2.js +0 -1
  145. package/build/esm/getDynamicHealthTool-90551b77.js +0 -1
  146. package/build/esm/index-7c08fc24.js +0 -151
  147. package/build/esm/index-96906ea3.js +0 -1
  148. package/build/esm/index-9e21a856.js +0 -1
  149. package/build/esm/index-ad7df466.js +0 -1
  150. package/build/esm/index-d67f0f84.js +0 -1
  151. package/build/esm/index-dfa681bc.js +0 -1
  152. package/build/esm/index-e0b5236e.js +0 -1
  153. package/build/esm/useTranslations-09fd59a7.js +0 -1
  154. package/build/index-05a92235.js +0 -1
  155. package/build/index-18e5870d.js +0 -1
  156. package/build/index-5140044f.js +0 -1
  157. package/build/index-922aa090.js +0 -1
  158. package/build/index-dfb7b798.js +0 -151
  159. package/build/index.styled-722fa7a1.js +0 -50
  160. package/build/utils-0eff6749.js +0 -166
  161. /package/build/{BMI_BOYS.percentile.monthly-1d7af41b.js → BMI_BOYS.percentile.monthly-0f5ef9aa.js} +0 -0
  162. /package/build/{BMI_BOYS.percentile.weekly-b069d62a.js → BMI_BOYS.percentile.weekly-9761a6d4.js} +0 -0
  163. /package/build/{BMI_BOYS.percentile.yearly-8ff4bb62.js → BMI_BOYS.percentile.yearly-73cbccbb.js} +0 -0
  164. /package/build/{BMI_BOYS.zscore.monthly-78a9cc6f.js → BMI_BOYS.zscore.monthly-e7b37853.js} +0 -0
  165. /package/build/{BMI_BOYS.zscore.weekly-1d2397cb.js → BMI_BOYS.zscore.weekly-5ea393fb.js} +0 -0
  166. /package/build/{BMI_BOYS.zscore.yearly-70f2ff71.js → BMI_BOYS.zscore.yearly-71cda886.js} +0 -0
  167. /package/build/{BMI_GIRLS.percentile.monthly-5c551722.js → BMI_GIRLS.percentile.monthly-d6f8b390.js} +0 -0
  168. /package/build/{BMI_GIRLS.percentile.weekly-777ee642.js → BMI_GIRLS.percentile.weekly-d849cd56.js} +0 -0
  169. /package/build/{BMI_GIRLS.percentile.yearly-1932ad70.js → BMI_GIRLS.percentile.yearly-9bc8976b.js} +0 -0
  170. /package/build/{BMI_GIRLS.zscore.monthly-0ae0242b.js → BMI_GIRLS.zscore.monthly-f1d0f996.js} +0 -0
  171. /package/build/{BMI_GIRLS.zscore.weekly-1b3d59ee.js → BMI_GIRLS.zscore.weekly-78c8a8a3.js} +0 -0
  172. /package/build/{BMI_GIRLS.zscore.yearly-acfef8b9.js → BMI_GIRLS.zscore.yearly-5221a4dd.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-dc8dd3a0.js → HEAD CIRCUM_BOYS.percentile.monthly-fd9ba562.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-757ffdef.js → HEAD CIRCUM_BOYS.percentile.weekly-6312293d.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-dc3039e6.js → HEAD CIRCUM_BOYS.percentile.yearly-ee6caf7e.js} +0 -0
  176. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f9b9537a.js → HEAD CIRCUM_BOYS.zscore.monthly-9c4d605e.js} +0 -0
  177. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8e0b9e55.js → HEAD CIRCUM_BOYS.zscore.weekly-27c2940d.js} +0 -0
  178. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-5ebba785.js → HEAD CIRCUM_BOYS.zscore.yearly-c97d03ea.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-7b3a69d4.js → HEAD CIRCUM_GIRLS.percentile.monthly-7ee16035.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-6468172c.js → HEAD CIRCUM_GIRLS.percentile.weekly-877d2f30.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8b529237.js → HEAD CIRCUM_GIRLS.percentile.yearly-3107390b.js} +0 -0
  182. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-7e4b2c79.js → HEAD CIRCUM_GIRLS.zscore.monthly-3ebe2ea4.js} +0 -0
  183. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c93c76b4.js → HEAD CIRCUM_GIRLS.zscore.weekly-543aebe0.js} +0 -0
  184. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-09ac4a34.js → HEAD CIRCUM_GIRLS.zscore.yearly-9fdf2d5d.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.percentile.monthly-f4df1d4f.js → HEIGHT_BOYS.percentile.monthly-767a7e00.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.percentile.weekly-98c3c7ae.js → HEIGHT_BOYS.percentile.weekly-b57c84b0.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.percentile.yearly-0af9a6c7.js → HEIGHT_BOYS.percentile.yearly-fed6a6f2.js} +0 -0
  188. /package/build/{HEIGHT_BOYS.zscore.monthly-74469225.js → HEIGHT_BOYS.zscore.monthly-bb5ac9c5.js} +0 -0
  189. /package/build/{HEIGHT_BOYS.zscore.weekly-5aedeb27.js → HEIGHT_BOYS.zscore.weekly-affbd9f4.js} +0 -0
  190. /package/build/{HEIGHT_BOYS.zscore.yearly-a4d18a96.js → HEIGHT_BOYS.zscore.yearly-496a73de.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.percentile.monthly-f1271059.js → HEIGHT_GIRLS.percentile.monthly-092f04e9.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.percentile.weekly-8edfbaee.js → HEIGHT_GIRLS.percentile.weekly-9aaa0742.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.percentile.yearly-1e0afe8c.js → HEIGHT_GIRLS.percentile.yearly-cc3d27eb.js} +0 -0
  194. /package/build/{HEIGHT_GIRLS.zscore.monthly-6f2fc7a4.js → HEIGHT_GIRLS.zscore.monthly-e1ae8925.js} +0 -0
  195. /package/build/{HEIGHT_GIRLS.zscore.weekly-53b292b4.js → HEIGHT_GIRLS.zscore.weekly-0240f3dd.js} +0 -0
  196. /package/build/{HEIGHT_GIRLS.zscore.yearly-9e3857fe.js → HEIGHT_GIRLS.zscore.yearly-ad28c5d5.js} +0 -0
  197. /package/build/{Onboarding-5e427213.js → Onboarding-4b12061d.js} +0 -0
  198. /package/build/{Visible-a814efb4.js → Visible-45d1c217.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.percentile.monthly-2fdd897c.js → WEIGHT_BOYS.percentile.monthly-baa5c2cd.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.percentile.weekly-3a3c029a.js → WEIGHT_BOYS.percentile.weekly-46225b1a.js} +0 -0
  201. /package/build/{WEIGHT_BOYS.percentile.yearly-ab37985a.js → WEIGHT_BOYS.percentile.yearly-4209883e.js} +0 -0
  202. /package/build/{WEIGHT_BOYS.zscore.monthly-57efda55.js → WEIGHT_BOYS.zscore.monthly-2d706f47.js} +0 -0
  203. /package/build/{WEIGHT_BOYS.zscore.weekly-94193753.js → WEIGHT_BOYS.zscore.weekly-64f7d8a1.js} +0 -0
  204. /package/build/{WEIGHT_BOYS.zscore.yearly-87105032.js → WEIGHT_BOYS.zscore.yearly-14e689a5.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.percentile.monthly-1fa364b8.js → WEIGHT_GIRLS.percentile.monthly-20b237a6.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.percentile.weekly-6ae3377b.js → WEIGHT_GIRLS.percentile.weekly-6b1cd1ec.js} +0 -0
  207. /package/build/{WEIGHT_GIRLS.percentile.yearly-c593b312.js → WEIGHT_GIRLS.percentile.yearly-fee7bc90.js} +0 -0
  208. /package/build/{WEIGHT_GIRLS.zscore.monthly-fecd4f64.js → WEIGHT_GIRLS.zscore.monthly-abea8b12.js} +0 -0
  209. /package/build/{WEIGHT_GIRLS.zscore.weekly-1643fd19.js → WEIGHT_GIRLS.zscore.weekly-d8341436.js} +0 -0
  210. /package/build/{WEIGHT_GIRLS.zscore.yearly-5da211cc.js → WEIGHT_GIRLS.zscore.yearly-3225c619.js} +0 -0
  211. /package/build/{constants-668cc2e5.js → constants-204573f7.js} +0 -0
  212. /package/build/{cookieHelper-4f45dbb8.js → cookieHelper-40c140ec.js} +0 -0
  213. /package/build/{dataTransform-a7507c47.js → dataTransform-73a8f010.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.percentile.monthly-3e304387.js → BMI_BOYS.percentile.monthly-bc8cfcf1.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.percentile.weekly-dba58733.js → BMI_BOYS.percentile.weekly-b1355cd5.js} +0 -0
  216. /package/build/esm/{BMI_BOYS.percentile.yearly-7d2a5262.js → BMI_BOYS.percentile.yearly-55e49ab3.js} +0 -0
  217. /package/build/esm/{BMI_BOYS.zscore.monthly-cf9a9acf.js → BMI_BOYS.zscore.monthly-0dd2a047.js} +0 -0
  218. /package/build/esm/{BMI_BOYS.zscore.weekly-27bc7023.js → BMI_BOYS.zscore.weekly-7408f24d.js} +0 -0
  219. /package/build/esm/{BMI_BOYS.zscore.yearly-8a1848c9.js → BMI_BOYS.zscore.yearly-a89c8dcf.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.percentile.monthly-3ae14efa.js → BMI_GIRLS.percentile.monthly-7cd057b7.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.percentile.weekly-23889eb5.js → BMI_GIRLS.percentile.weekly-6a6819c0.js} +0 -0
  222. /package/build/esm/{BMI_GIRLS.percentile.yearly-7d6220a0.js → BMI_GIRLS.percentile.yearly-ed13cbe1.js} +0 -0
  223. /package/build/esm/{BMI_GIRLS.zscore.monthly-4b4186ab.js → BMI_GIRLS.zscore.monthly-a6877f33.js} +0 -0
  224. /package/build/esm/{BMI_GIRLS.zscore.weekly-4f0e900e.js → BMI_GIRLS.zscore.weekly-9cc68106.js} +0 -0
  225. /package/build/esm/{BMI_GIRLS.zscore.yearly-7a6a3589.js → BMI_GIRLS.zscore.yearly-2778494b.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b706ec38.js → HEAD CIRCUM_BOYS.percentile.monthly-ddb3c44f.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-94c67b1b.js → HEAD CIRCUM_BOYS.percentile.weekly-2cb05894.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-61b346e7.js → HEAD CIRCUM_BOYS.percentile.yearly-52f5cd6d.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-395c7855.js → HEAD CIRCUM_BOYS.zscore.monthly-1e135d6b.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-26104ed6.js → HEAD CIRCUM_BOYS.zscore.weekly-7243d7cf.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5a12ea42.js → HEAD CIRCUM_BOYS.zscore.yearly-32bff7f4.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-8ecca100.js → HEAD CIRCUM_GIRLS.percentile.monthly-3abea8fe.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-63eb4486.js → HEAD CIRCUM_GIRLS.percentile.weekly-51ec55c4.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-c0036f0f.js → HEAD CIRCUM_GIRLS.percentile.yearly-d4049cf4.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-361f637a.js → HEAD CIRCUM_GIRLS.zscore.monthly-83df763c.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c6d6a792.js → HEAD CIRCUM_GIRLS.zscore.weekly-f378af5e.js} +0 -0
  237. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-12fd93f6.js → HEAD CIRCUM_GIRLS.zscore.yearly-9695a0c4.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-2bede227.js → HEIGHT_BOYS.percentile.monthly-3db200ce.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-050f52eb.js → HEIGHT_BOYS.percentile.weekly-657a4cb4.js} +0 -0
  240. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3b87b132.js → HEIGHT_BOYS.percentile.yearly-96fbbd89.js} +0 -0
  241. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-40bef220.js → HEIGHT_BOYS.zscore.monthly-0b19b579.js} +0 -0
  242. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-9aa468e7.js → HEIGHT_BOYS.zscore.weekly-b78a0cb0.js} +0 -0
  243. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-794b66c2.js → HEIGHT_BOYS.zscore.yearly-1a0f30cf.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-ea31290f.js → HEIGHT_GIRLS.percentile.monthly-722fe71a.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-2aac8847.js → HEIGHT_GIRLS.percentile.weekly-36196971.js} +0 -0
  246. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8e278f70.js → HEIGHT_GIRLS.percentile.yearly-21780bda.js} +0 -0
  247. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-42417d68.js → HEIGHT_GIRLS.zscore.monthly-f5b78e1a.js} +0 -0
  248. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-76528e2a.js → HEIGHT_GIRLS.zscore.weekly-a1fce42e.js} +0 -0
  249. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8262a23a.js → HEIGHT_GIRLS.zscore.yearly-d90af048.js} +0 -0
  250. /package/build/esm/{Onboarding-4f0cddc4.js → Onboarding-29c9ec81.js} +0 -0
  251. /package/build/esm/{Visible-cfbdbafa.js → Visible-f96d2972.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-496c2978.js → WEIGHT_BOYS.percentile.monthly-29421d68.js} +0 -0
  253. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a45d8435.js → WEIGHT_BOYS.percentile.weekly-fa065815.js} +0 -0
  254. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-fcc0e1d7.js → WEIGHT_BOYS.percentile.yearly-9542b25c.js} +0 -0
  255. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-3c064878.js → WEIGHT_BOYS.zscore.monthly-a919e12e.js} +0 -0
  256. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-6b1ac607.js → WEIGHT_BOYS.zscore.weekly-9ea1a4f7.js} +0 -0
  257. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-24ec3606.js → WEIGHT_BOYS.zscore.yearly-b1b21aba.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-9a5d79de.js → WEIGHT_GIRLS.percentile.monthly-8d25ada4.js} +0 -0
  259. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-0c8157ed.js → WEIGHT_GIRLS.percentile.weekly-f29e1cbd.js} +0 -0
  260. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-b04ad579.js → WEIGHT_GIRLS.percentile.yearly-4c7e02bd.js} +0 -0
  261. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3982ade2.js → WEIGHT_GIRLS.zscore.monthly-223912d6.js} +0 -0
  262. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a93fe176.js → WEIGHT_GIRLS.zscore.weekly-2640d80a.js} +0 -0
  263. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ad2557ae.js → WEIGHT_GIRLS.zscore.yearly-df138f07.js} +0 -0
  264. /package/build/esm/{constants-62f03257.js → constants-0c7a1e2e.js} +0 -0
  265. /package/build/esm/{cookieHelper-d915d8aa.js → cookieHelper-ec4a07e9.js} +0 -0
  266. /package/build/esm/{dataTransform-bec9ab4f.js → dataTransform-bcd13972.js} +0 -0
  267. /package/build/esm/{index-065a85d6.js → index-40115424.js} +0 -0
  268. /package/build/esm/{index-5e9f341a.js → index-55144485.js} +0 -0
  269. /package/build/esm/{isProduction-4ca4ba88.js → isProduction-8a0ede96.js} +0 -0
  270. /package/build/esm/{localizeNumberFormat-1d89a8f3.js → localizeNumberFormat-56e5a975.js} +0 -0
  271. /package/build/esm/{normalizeLink-5db3e984.js → normalizeLink-3998683e.js} +0 -0
  272. /package/build/esm/{theme-5660ea9e.js → theme-586316d4.js} +0 -0
  273. /package/build/esm/{translationsContext-ea31a482.js → translationsContext-71b6c9a1.js} +0 -0
  274. /package/build/esm/{tslib.es6-5ea1161d.js → tslib.es6-e3fb522c.js} +0 -0
  275. /package/build/esm/{types-db61e319.js → types-70f208a7.js} +0 -0
  276. /package/build/esm/{useIsInit-a958fa22.js → useIsInit-93c87c3b.js} +0 -0
  277. /package/build/esm/{useOutsideClick-904bbdea.js → useOutsideClick-ed0a765f.js} +0 -0
  278. /package/build/esm/{useScrollbarSize-e44804a5.js → useScrollbarSize-30873342.js} +0 -0
  279. /package/build/esm/{useUniqueId-77ec7ac6.js → useUniqueId-a697252f.js} +0 -0
  280. /package/build/esm/{utils-53d109b3.js → utils-c40c0593.js} +0 -0
  281. /package/build/{index-cd53c242.js → index-0e429d8d.js} +0 -0
  282. /package/build/{index-026bb445.js → index-a28bd16c.js} +0 -0
  283. /package/build/{isProduction-5377bba0.js → isProduction-1ee068f3.js} +0 -0
  284. /package/build/{localizeNumberFormat-6d3a030b.js → localizeNumberFormat-10e0efe2.js} +0 -0
  285. /package/build/{normalizeLink-f0f43c19.js → normalizeLink-422bb443.js} +0 -0
  286. /package/build/{theme-3d7b7e57.js → theme-c5dd36f0.js} +0 -0
  287. /package/build/{translationsContext-3005d851.js → translationsContext-e6df8550.js} +0 -0
  288. /package/build/{tslib.es6-ff6d8bab.js → tslib.es6-b26213cd.js} +0 -0
  289. /package/build/{types-4a2937e6.js → types-a2d6b173.js} +0 -0
  290. /package/build/{useIsInit-771c7f0e.js → useIsInit-077ca225.js} +0 -0
  291. /package/build/{useOutsideClick-0e005c18.js → useOutsideClick-27573885.js} +0 -0
  292. /package/build/{useScrollbarSize-e9659238.js → useScrollbarSize-c622781a.js} +0 -0
  293. /package/build/{useUniqueId-3c96cf52.js → useUniqueId-69f9e8aa.js} +0 -0
  294. /package/build/{utils-a25ea61c.js → utils-4c38375b.js} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),t=require("./index-2dda6780.js"),a=require("./index.styled-1686f3ec.js"),l=require("./utils-4c38375b.js"),n=require("./index-ea890cad.js"),r=require("./useUniqueId-69f9e8aa.js"),o=require("./gAssets.js"),i=require("./theme-c5dd36f0.js"),s=require("./index.styled-47084159.js"),d=require("./tslib.es6-b26213cd.js"),c=require("lodash/throttle"),u=require("keen-slider/react"),m=require("dayjs");require("./screenSizeContext-261f0bb9.js"),require("styled-components");var f=require("./index-d5215014.js"),g=require("./isProduction-1ee068f3.js"),p=require("./Onboarding-4b12061d.js"),h=require("./useTranslations-dc927554.js"),v=require("date-fns"),y=require("./index-088753e3.js"),E=require("./index-0428f4bf.js"),b=require("./index-6bae89dd.js"),C=require("@mantine/core");require("./index.styled-f570440f.js"),require("./index-0e429d8d.js"),require("@mantine/dates");var w=require("./index-6e70c92e.js");require("./index-1d93e0e4.js"),require("@mantine/hooks");var k=require("./types-a2d6b173.js"),S=require("./index.styled-2a07bd69.js"),x=require("./index-9cde197f.js"),L=require("./index-8c5be012.js"),T=require("react-hook-form"),N=require("./index-02f0f3ac.js"),D=require("./useHealthToolCache-e94ad5da.js"),B=require("./index-bd9496c8.js"),_=require("./dataTransform-45a42280.js"),M=require("./useOutsideClick-27573885.js"),A=require("date-fns/locale/en-US"),I=require("date-fns/locale/id"),P=require("date-fns/locale/vi"),F=require("date-fns/locale/zh-TW"),z=require("./getSocialList-64b6c344.js");function O(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var j=O(e),H=O(c),$=O(m),G=O(A),W=O(I),R=O(P),U=O(F),V="CHw-fZZ",q="_03U6VRS",Z="EO828Vv";const Y=({pagesAmount:t,activePage:n,handlePageChange:r,handleClick:o,href:i,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),j.default.createElement(e.Fragment,null,n>4&&j.default.createElement(e.Fragment,null,j.default.createElement(a.StyledPaginationBlock,{onClick:()=>r(1)},i?j.default.createElement("a",{href:i,onClick:o},1):1),j.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>j.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>r(e)},i?j.default.createElement("a",{href:l.formatUrlWithPageParam(i,e,s),onClick:o},e):e))),n<d.length-3&&j.default.createElement(e.Fragment,null,j.default.createElement(a.StyledPaginationBlock,null,"..."),j.default.createElement(a.StyledPaginationBlock,{onClick:()=>r(d.length)},i?j.default.createElement("a",{href:l.formatUrlWithPageParam(i,d.length,s),onClick:o},d.length):d.length)))},Q=({label:e,name:t,checked:l,className:n,isDisabled:r,onChange:o,value:i,isRectangle:s,inputDataTestId:d,siteType:c})=>j.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":r||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},j.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>o(i,!l),disabled:r,value:i,id:`${t}-${i}`,"data-label-text":e,"data-testid":d}),!s&&j.default.createElement("label",{htmlFor:`${t}-${i}`},e)),K=e=>j.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),j.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),X=e=>j.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),j.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),J=e=>{const t=r.useUniqueId();return j.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),j.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),j.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},j.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),j.default.createElement("g",{mask:`url(#${t})`},j.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))};var ee="PiqKaXk",te="HgbW6-m",ae="_6lkfLYy",le="j7c-onH";const ne=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:r})=>j.default.createElement("div",{className:le},j.default.createElement("div",{className:"author"},j.default.createElement("div",{className:"avatar","data-size":r},e),j.default.createElement("div",{className:"poster","data-is-disabled-url":!l},j.default.createElement(t.Text,{size:"lg"===r?"p3":"p4"},j.default.createElement("a",{href:l},j.default.createElement("span",{className:"name"},a),"•"," "),j.default.createElement("span",null,n))))),re=({isMobile:e,avatarImg:l,name:n,link:r,size:o="lg",specialty:s})=>j.default.createElement("div",{className:le},j.default.createElement("div",{className:"author"},j.default.createElement("div",{className:"expert-avatar","data-size":o},l),j.default.createElement("div",{className:"expert","data-is-disabled-url":!r},e?j.default.createElement("a",{href:r},"lg"===o?j.default.createElement(j.default.Fragment,null,j.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:i.theme.colors.gray600},n),j.default.createElement(t.Text,{color:i.theme.colors.gray500,size:"p3",className:"specialty"},s)):j.default.createElement(j.default.Fragment,null,j.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:i.theme.colors.gray600},n))):j.default.createElement("a",{href:r},"lg"===o?j.default.createElement(j.default.Fragment,null,j.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:i.theme.colors.gray600},n),j.default.createElement(t.Text,{color:i.theme.colors.gray500,size:"p3",className:"specialty"},s)):j.default.createElement(j.default.Fragment,null,j.default.createElement("h6",{color:i.theme.colors.gray600,className:`${ee} expert__name`},n),j.default.createElement(t.Text,{color:i.theme.colors.gray500,size:"p4",className:"specialty"},s))))));var oe=Object.freeze({__proto__:null,SideMenu:s.SideMenu,SideHeader:s.SideHeader,UserInfo:s.UserInfo,MenuLink:s.MenuLink});const ie=({status:e})=>"inActive"===e?j.default.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===e?j.default.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),j.default.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===e?j.default.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M6 12C9.31371 12 12 9.31371 12 6C12 2.68629 9.31371 0 6 0C2.68629 0 0 2.68629 0 6C0 9.31371 2.68629 12 6 12Z",fill:"#00B16A"}),j.default.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):j.default.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})),se=({isDisabled:e,isLeft:t,onClick:a,className:l,scheme:n="hellosites"})=>j.default.createElement(s.StyledArrow,{onClick:a,"data-is-disabled":e,"data-is-left":t,className:l},j.default.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t?j.default.createElement("path",{d:"M2.92902 6.00015L6.75002 2.17915C7.16402 1.76515 7.16402 1.09315 6.75002 0.679152C6.33602 0.265152 5.66402 0.265152 5.25002 0.679152L0.636023 5.29315C0.245023 5.68415 0.245023 6.31715 0.636023 6.70715L5.25002 11.3212C5.66402 11.7352 6.33602 11.7352 6.75002 11.3212C7.16402 10.9072 7.16402 10.2352 6.75002 9.82115L2.92902 6.00015Z",fill:"hellosites"===n?"#595959":"#E55C8A"}):j.default.createElement("path",{d:"M5.07095 6.00015L1.24995 2.17915C0.835953 1.76515 0.835953 1.09315 1.24995 0.679152C1.66395 0.265152 2.33595 0.265152 2.74995 0.679152L7.36395 5.29315C7.75495 5.68415 7.75495 6.31715 7.36395 6.70715L2.74995 11.3212C2.33595 11.7352 1.66395 11.7352 1.24995 11.3212C0.835953 10.9072 0.835953 10.2352 1.24995 9.82115L5.07095 6.00015Z",fill:"hellosites"===n?"#595959":"#E55C8A"})));var de=Object.freeze({__proto__:null,Table:s.Table,Cell:s.Cell,Head:s.Head,Row:s.Row,Body:s.Body});const ce=({locale:a,onClick:l,siteType:r,pageUrl:o})=>{const{t:d}=h.useTranslations(),[c,u]=e.useState(new Date);return j.default.createElement(j.default.Fragment,null,j.default.createElement(s.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===r?j.default.createElement(s.StyledTextField,{label:d("dueDatePage.conceptionDate"),name:"date",size:"md",value:s.DateToInputValue(c),CustomInput:j.default.createElement(s.DatePicker,{onChange:e=>{u(e)},placeholder:"dd/mm/yyyy",pickedDate:c,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>j.default.createElement(y.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:c&&$.default(c).format(S.DUE_DATE_FORMAT)}))}),actionIcon:j.default.createElement(b.Icon.CalendarMB,{size:32})}):j.default.createElement(y.Input,{label:j.default.createElement(t.Text,{size:"n1",type:"bold",color:i.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},d("dueDatePage.conceptionDate")),value:s.DateToInputValue(c),name:"date",size:"md",className:"due-date-input",CustomInput:j.default.createElement(s.DatePicker,{customInput:e=>j.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:s.DateToInputValue(c)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:c,displayDateFormat:k.DATE_FORMAT,onChange:e=>{u(e)},placeholder:"placeholder"})})),j.default.createElement(n.Button,{className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,onClick:()=>{l(s.getDueDateConception(c),`${f.QUERY_HEALTH_TOOL.type}=1&sd=${v.format(c,s.API_DATE_FORMAT)}&${f.QUERY_HEALTH_TOOL.additional}= `)},role:"button"},d("dueDatePage.lastPeriod.calculate")))},ue=({locale:a,onClick:l,siteType:r,pageUrl:o})=>{const{t:d}=h.useTranslations(),[c,u]=e.useState(new Date),[m,g]=e.useState("3");return j.default.createElement(j.default.Fragment,null,j.default.createElement(s.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===r?j.default.createElement(s.StyledTextField,{label:d("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:s.DateToInputValue(c),CustomInput:j.default.createElement(s.DatePicker,{onChange:e=>{u(e)},placeholder:"dd/mm/yyyy",pickedDate:c,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>j.default.createElement(y.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:c&&$.default(c).format(S.DUE_DATE_FORMAT)}))}),actionIcon:j.default.createElement(b.Icon.CalendarMB,{size:32})}):j.default.createElement(y.Input,{label:j.default.createElement(t.Text,{size:"n1",type:"bold",color:i.theme.colors.gray700,style:{marginBottom:"9px",flex:"1"}},d("dueDatePage.ivf.transferDate")),value:s.DateToInputValue(c),name:"date",size:"md",className:"due-date-input",CustomInput:j.default.createElement(s.DatePicker,{customInput:e=>j.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:s.DateToInputValue(c)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:c,displayDateFormat:k.DATE_FORMAT,onChange:e=>{u(e)},placeholder:"placeholder"})})),j.default.createElement("div",{style:{width:"100%"}},j.default.createElement(s.RadioGroup,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:m,onChange:e=>g(e),options:[{value:"3",label:d("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:d("dueDatePage.ivf.transferDateRadio",{number:5})}]})),j.default.createElement(n.Button,{className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,onClick:()=>{l(s.getDueDateIVF(c,Number(m)),`${f.QUERY_HEALTH_TOOL.type}=2&${f.QUERY_HEALTH_TOOL.startDate}=${v.format(c,s.API_DATE_FORMAT)}&${f.QUERY_HEALTH_TOOL.additional}=${m}`)},role:"button"},d("dueDatePage.lastPeriod.calculate")))},me=({locale:a,onClick:l,siteType:r,pageUrl:o})=>{const{t:d}=h.useTranslations(),[c,u]=e.useState(28),[m,g]=e.useState(new Date);return j.default.createElement(j.default.Fragment,null,j.default.createElement(s.StyledLastPeriodFormContainer,{className:"input-form","data-is-side":!0},"marryBaby"===r?j.default.createElement(s.StyledTextField,{label:d("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:s.DateToInputValue(m),CustomInput:j.default.createElement(s.DatePicker,{onChange:e=>{g(e)},placeholder:"dd/mm/yyyy",pickedDate:m,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:e=>j.default.createElement(y.Input,Object.assign({name:"birthday",size:"md"},e,{value:m&&$.default(m).format(S.DUE_DATE_FORMAT)}))}),actionIcon:j.default.createElement(b.Icon.CalendarMB,{size:32})}):j.default.createElement(y.Input,{className:"input-section due-date-input",label:j.default.createElement(t.Text,{size:"n1",type:"bold",color:i.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},d("dueDatePage.lastPeriod.lastPeriodLabel")),value:s.DateToInputValue(m),name:"date",size:"md",CustomInput:j.default.createElement(s.DatePicker,{customInput:e=>j.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:s.DateToInputValue(m)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:m,displayDateFormat:k.DATE_FORMAT,onChange:e=>{g(e)},placeholder:"placeholder"})})),j.default.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===r?"marryBaby":""},"marryBaby"===r?j.default.createElement(x.MarryBabyText,{type:"bodytext-3",color:i.theme.mbColors.midGray},d("dueDatePage.lastPeriod.periodLengthLabel")):j.default.createElement(t.Text,{size:"n1",type:"bold",color:i.theme.colors.gray600,style:{marginBottom:"0.5rem"}},d("dueDatePage.lastPeriod.periodLengthLabel")),j.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&j.default.createElement(t.Text,{size:"s3",type:"bold",color:i.theme.colors.gray600},c),j.default.createElement(L.Slider,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,onChange:u,value:c,label:"marryBaby"!==r?void 0:null}))),j.default.createElement(n.Button,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:o,className:"due-date-calculate-button",size:"lg",color:"marryBaby"===r?"secondary":"primary",theme:r,onClick:()=>l(s.getDueDateLastPeriod(m,c),`${f.QUERY_HEALTH_TOOL.type}=0&${f.QUERY_HEALTH_TOOL.startDate}=${v.format(m,s.API_DATE_FORMAT)}&${f.QUERY_HEALTH_TOOL.additional}=${c}`),role:"button"},d("dueDatePage.lastPeriod.calculate")))},fe=({onSubmitDueDate:a,locale:l,isSide:n,siteType:r})=>{const{t:o}=h.useTranslations(),[d,c]=e.useState(s.DueDateCalculatorType.lastPeriod),u=[{value:s.DueDateCalculatorType.lastPeriod,label:o("dueDatePage.lastPeriod")},{value:s.DueDateCalculatorType.conception,label:o("dueDatePage.conceptionDate")},{value:s.DueDateCalculatorType.IVF,label:o("dueDatePage.ivf")}],m=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return j.default.createElement(s.StyledInputWrapper,null,j.default.createElement(s.StyledMethodContainer,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?j.default.createElement(s.StyledDropDown,{groupedWithLabel:o("dueDatePage.calculationMethod"),options:u,placeholder:o("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:u[d],onChange:e=>{c(e.value)}}):j.default.createElement(j.default.Fragment,null,j.default.createElement(t.Text,{size:"n1",type:"bold",color:i.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.calculationMethod")),j.default.createElement(s.StyledMethodSwitcherContainer,{"data-is-side":n},j.default.createElement(s.Dropdown,{options:u,placeholder:o("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:u[d],onChange:e=>{c(e.value)}})))),d===s.DueDateCalculatorType.lastPeriod?j.default.createElement(me,{locale:l,onClick:a,isSide:n,siteType:r,pageUrl:m}):null,d===s.DueDateCalculatorType.conception?j.default.createElement(ce,{locale:l,onClick:a,isSide:n,siteType:r,pageUrl:m}):null,d===s.DueDateCalculatorType.IVF?j.default.createElement(ue,{locale:l,onClick:a,isSide:n,siteType:r,pageUrl:m}):null)};function ge({weight:e,height:t}){const a=t/100,l=e;return Math.round(l/(a*a)*10)/10}const pe=({value:a,onChange:l,onSubmit:n,disabled:r,bmiGenerated:o,bmiUnit:c,locale:u,isSide:m})=>{var g,p,v,y;const[E,C]=e.useState(!1),{control:k,handleSubmit:x,setValue:L,watch:B}=T.useForm(),_=B(),{t:M}=h.useTranslations(),{gender:A=!1,age:I=!1,height:P=!1,weight:F=!1,objective:z=!0}=r||{},{getHealthToolLink:O}=D.useHealthToolsCache(u),H=e.useMemo((()=>O(S.HEALTH_TOOL_TYPE.OVULATION)),[O]),$=e.useMemo((()=>[{value:"male",label:M("gender.male"),content:j.default.createElement(b.Icon.GenderChooseBoy,null)},{value:"female",label:M("gender.female"),content:j.default.createElement(b.Icon.GenderChooseGirl,null)}]),[]),G=e.useMemo((()=>[{value:"lose-weight",label:M("bmi.objective.loseWeight")},{value:"maintain-weight",label:M("bmi.objective.maintainWeight")},{value:"gain-weight",label:M("bmi.objective.gainWeight")}]),[]),W=()=>{C(!0)};return e.useEffect((()=>{Object.keys(a||{}).forEach((e=>{L(e,null==a?void 0:a[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[a]),e.useEffect((()=>{l&&l(_)}),[_]),j.default.createElement(s.StyledContainer$1,null,j.default.createElement("form",{onSubmit:x((e=>d.__awaiter(void 0,void 0,void 0,(function*(){const t=c.heightConvert(e.height),a=c.weightConvert(e.weight),l={gender:e.gender,age:e.age,height:t,weight:a,bmi:ge({height:t,weight:a})};z||(l.objective=e.objective),W(),n&&n(l)}))),W)},!A&&j.default.createElement(s.FormControl,{"data-is-side":m},j.default.createElement(T.Controller,{name:"gender",control:k,defaultValue:"male",render:({field:{name:e,value:t,onChange:a},fieldState:{error:l}})=>j.default.createElement(s.StyledInput,{size:"md",name:e,label:o.gender.label,CustomInput:j.default.createElement(N.RadioImageGroup,{options:$,value:t,onChange:e=>a(e),className:"bmi--input-radio_gender "+(m?"bmi-side-embed":"")}),errorMessage:E?null==l?void 0:l.message:"",className:"bmi--input bmi--input-gender"})})),j.default.createElement(s.StyledRow,{"data-is-side":m},!I&&j.default.createElement(s.FormControl,null,j.default.createElement(T.Controller,{name:"age",control:k,rules:null===(g=o.age)||void 0===g?void 0:g.rule,render:({field:{name:e,value:a,onChange:l},fieldState:{error:n}})=>j.default.createElement(w.Input.Number,{label:j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray600},o.age.label),placeholder:M("healthtool.placeholder.age"),name:e,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!P&&j.default.createElement(s.FormControl,null,j.default.createElement(T.Controller,{name:"height",control:k,rules:null===(p=o.height)||void 0===p?void 0:p.rule,render:({field:{name:e,value:a,onChange:l},fieldState:{error:n}})=>j.default.createElement(w.Input.Number,{label:j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray600},o.height.label),placeholder:M("pwg.placeholder.height"),name:e,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!F&&j.default.createElement(s.FormControl,null,j.default.createElement(T.Controller,{name:"weight",control:k,rules:null===(v=o.weight)||void 0===v?void 0:v.rule,render:({field:{name:e,value:a,onChange:l},fieldState:{error:n}})=>j.default.createElement(w.Input.Number,{label:j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray600},o.weight.label),placeholder:M("pwg.placeholder.weight"),name:e,value:a,onChange:l,error:E?null==n?void 0:n.message:"",precision:1,min:0})})),!z&&j.default.createElement(s.FormControl,null,j.default.createElement(T.Controller,{name:"objective",control:k,defaultValue:"lose-weight",rules:null===(y=o.objective)||void 0===y?void 0:y.rule,render:({field:{name:e,value:t,onChange:a},fieldState:{error:l}})=>j.default.createElement(s.StyledInput,{size:"md",name:e,label:o.objective.label,CustomInput:j.default.createElement(s.RadioGroup,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:G,value:t,onChange:a}),errorMessage:E?null==l?void 0:l.message:"",className:"bmi--input bmi--input-objective"})}))),j.default.createElement("div",{style:{display:"flex"}},j.default.createElement(s.StyledButton,{size:"lg",isBlock:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:`https://${f.domainLocales[u]}/${H}`},M("bmi.submit")))))},he=({value:a,options:l,className:n,direction:r="horizontal",onChange:o,isDisabled:i})=>{const[d,c]=e.useState(a);return j.default.createElement(s.StyledRadioImageGroup,{className:n,"data-direction":r},l.map(((e,l)=>j.default.createElement(s.StyledRadioImageItem,{"data-selected":(a||d)===e.value,"data-disabled":i,key:`health-tool${l}`,onClick:()=>{var t;t=e.value,i||(c(t),o&&o(t))}},j.default.createElement("div",null,j.default.createElement("img",{src:(a||d)===e.value?e.imageActive:e.image,className:"gender-image",alt:""}),e.label&&j.default.createElement(t.Text,{type:"bold",className:"radio-group-item-heading",size:"label1"},e.label))))))},ve=({info:a,className:l,style:n,onChange:r,errorMessage:o={},locale:d})=>{const{t:c}=h.useTranslations(),[u,m]=e.useState(new Date),[f,g]=e.useState({age:!1,rate:!1});return e.useEffect((()=>{g({age:!1,rate:!1})}),[o]),j.default.createElement(s.StyledContainer$2,{style:n,className:l},j.default.createElement(y.Input,{className:"input-section due-date-input",label:j.default.createElement(t.Text,{size:"n1",type:"bold",color:i.theme.colors.gray600,style:{marginBottom:"9px",flex:"1"}},c("targetHeartRate.ageInput")),value:s.DateToInputValue(u),name:"date",size:"md",CustomInput:j.default.createElement(s.DatePicker,{customInput:e=>j.default.createElement("input",Object.assign({type:"date",className:"due-date-input"},e,{value:s.DateToInputValue(u)})),disabledDays:{after:new Date(v.addDays(new Date,0))},locale:d,pickedDate:u,displayDateFormat:"dd/MM/yyyy",onChange:e=>{(e=>{m(e),g((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:v.format(new Date(e),s.API_DATE_FORMAT)});r&&r(t)})(e)},placeholder:"placeholder"}),errorMessage:f.age?"":o.age}))},ye=({info:a,className:l,style:n,onChange:r,errorMessage:o={},locale:d,onClick:c,isSide:u})=>{const{t:m}=h.useTranslations(),[g,p]=e.useState({age:!1,height:!1,weight:!1}),{getHealthToolLink:v}=D.useHealthToolsCache(d),y=e.useMemo((()=>v(S.HEALTH_TOOL_TYPE.OVULATION)),[v]),[E,C]=e.useState("male"),k=e.useMemo((()=>[{value:"male",label:m("gender.male"),content:j.default.createElement(b.Icon.GenderChooseBoy,null)},{value:"female",label:m("gender.female"),content:j.default.createElement(b.Icon.GenderChooseGirl,null)}]),[]),x=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},L=e=>{var t,l;l=e=>{p((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:e});r&&r(t)},""!==(t=e)&&(isNaN(t)||isNaN(parseFloat(t))||t.includes("."))||l(t)};return e.useEffect((()=>{r&&r(Object.assign(Object.assign({},a),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),e.useEffect((()=>{p({age:!1,height:!1,weight:!1})}),[o]),j.default.createElement(s.StyledContainer$3,{style:n,className:l},j.default.createElement(s.FormControl$2,{"data-is-side":u},j.default.createElement(s.StyledInput$2,{size:"md",name:"gender",label:m("bmi.selectGender"),CustomInput:j.default.createElement(N.RadioImageGroup,{options:k,value:E,onChange:e=>C(e),className:"bmi--input-radio_gender "+(u?"bmi-side-embed":"")}),className:"bmi--input bmi--input-gender"})),j.default.createElement(s.StyledRow$2,{"data-is-side":u},j.default.createElement(s.FormControl$2,null,j.default.createElement(w.Input.Number,{label:j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray600},m("bmi.ageInput")," ",j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray300,as:"span"},m("bmi.ageInput.desc"))),placeholder:m("healthtool.placeholder.age"),value:Number(a.age),onChange:e=>L(String(e)),error:g.age?"":o.age,min:0})),j.default.createElement(s.FormControl$2,null,j.default.createElement(w.Input.Number,{label:j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray600},m("bmi.heightInput")," ",j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray300,as:"span"},m("bmi.heightInput.desc"))),placeholder:m("pwg.placeholder.height"),value:Number(a.height),onChange:e=>{return t=String(e),void x(t,(e=>{p((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},a),{height:e});r&&r(t)}));var t},error:g.height?"":o.height,min:0})),j.default.createElement(s.FormControl$2,null,j.default.createElement(w.Input.Number,{label:j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray600},m("bmi.weightInput")," ",j.default.createElement(t.Text,{size:"label2",type:"bold",color:i.theme.colors.gray300,as:"span"},m("bmi.weightInput.desc"))),placeholder:m("pwg.placeholder.weight"),value:Number(a.weight),onChange:e=>{return t=String(e),p((e=>Object.assign(Object.assign({},e),{weight:!0}))),void x(t,(e=>{const t=Object.assign(Object.assign({},a),{weight:e});r&&r(t)}));var t},error:g.weight?"":o.weight,min:0,precision:1}))),j.default.createElement("div",{style:{display:"flex"}},j.default.createElement(s.StyledButton$2,{size:"lg",isBlock:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:`https://${f.domainLocales[d]}/${y}`,onClick:()=>{c(E)}},m("bmi.submit"))))};var Ee="eM8ChWU",be="KAx1aqi",Ce="QcFfKPB",we="brbyNAY",ke="W65hTnn";const Se=({src:e,title:t,backgroundSrc:l,className:n,reviewedSection:r,isSide:o})=>j.default.createElement("div",{className:`${Ee} ${n||""}`},j.default.createElement("div",{className:be,style:{backgroundImage:`url("${l}")`}},j.default.createElement("div",{className:Ce,"data-is-side":o},j.default.createElement("div",{className:we,"data-is-side":o},j.default.createElement(a.Heading,{tag:"h4",color:"white"},t),r),j.default.createElement("div",{className:ke},j.default.createElement("img",{src:e||"",style:{objectFit:"contain"},alt:t})))));var xe="zvE9IoJ",Le="njDC-ia",Te="ESkUhe9",Ne="wZLIQYa";const De=({backgroundDesktopSrc:e,backgroundMobileSrc:l,title:n,className:r,isSide:o,ovulationContent:s})=>{var d,c,u;const{t:m}=h.useTranslations(),f=_.formatUserProfileUrl(null==s?void 0:s.reviewed_by);return j.default.createElement("div",{className:`${xe} ${r}`,"data-is-side":o},j.default.createElement("div",{className:Le,style:{backgroundImage:`url('${l||e}')`}},j.default.createElement("div",{className:Ne},j.default.createElement(a.Heading,{tag:"h5",color:"white"},n),(null===(d=null==s?void 0:s.reviewed_by)||void 0===d?void 0:d.display_name)?j.default.createElement(t.Text,{size:"n1",color:"white",style:{marginTop:"0.3rem"}},j.default.createElement("span",{dangerouslySetInnerHTML:{__html:m("articlePage.articleReviewerBy",{name:`<a\n style="color: white"\n href="${f}"\n >\n ${s.reviewed_by.display_name}\n </a>`})}}),j.default.createElement("span",null,m("tools.heading.on")),j.default.createElement("span",null,null==s?void 0:s.reviewed_date)):null),j.default.createElement("div",{className:Te,"data-is-side":o},j.default.createElement("img",{src:(null==s?void 0:s.featured_image)||"",style:{width:"100%",objectFit:"contain",marginTop:"20px"},alt:n}))),j.default.createElement(Se,{className:"desktop-only",src:(null==s?void 0:s.featured_image)||"",backgroundSrc:e||l||"",title:n,reviewedSection:(null===(c=null==s?void 0:s.reviewed_by)||void 0===c?void 0:c.display_name)&&""!==(null===(u=null==s?void 0:s.reviewed_by)||void 0===u?void 0:u.display_name)&&j.default.createElement(t.Text,{size:"n1",color:i.theme.colors.white,style:{marginTop:12}},j.default.createElement("span",{dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${f}"\n >\n ${s.reviewed_by.display_name}\n </a>`,date:null==s?void 0:s.reviewed_date})}}),j.default.createElement("span",null)),isSide:o}))},Be=({siteType:t,info:l,onChange:n,errorMessage:r={}})=>{const{t:o}=h.useTranslations(),[d,c]=e.useState({weightBefore:!1,height:!1,weight:!1}),[u,m]=e.useState(0),f=e.useRef(null);e.useEffect((()=>{var e;m(null===(e=f.current)||void 0===e?void 0:e.clientHeight)}));const g=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},p=e=>{g(e,(e=>{c((e=>Object.assign(Object.assign({},e),{weightBefore:!0})));const t=Object.assign(Object.assign({},l),{weightBefore:e});n&&n(t)}))},v=e=>{g(e,(e=>{c((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},l),{height:e});n&&n(t)}))},E=e=>{g(e,(e=>{c((e=>Object.assign(Object.assign({},e),{weight:!0})));const t=Object.assign(Object.assign({},l),{weight:e});n&&n(t)}))};return e.useEffect((()=>{n&&n(Object.assign({},l))}),[]),e.useEffect((()=>{c({weightBefore:!1,height:!1,weight:!1})}),[r]),"marryBaby"===t?j.default.createElement(j.default.Fragment,null,j.default.createElement("div",{className:"input-form-pwg input-section"},j.default.createElement(s.StyledTextField,{label:o("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==l?void 0:l.height,CustomInput:j.default.createElement(y.Input,{className:(null==d?void 0:d.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.height,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==d?void 0:d.height)?"":null==r?void 0:r.height,showErrorMessage:!1,onChange:v})})),j.default.createElement("div",{className:"input-form-pwg input-section"},j.default.createElement(s.StyledTextField,{label:o("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==l?void 0:l.weightBefore,CustomInput:j.default.createElement(y.Input,{className:(null==d?void 0:d.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.weightBefore,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==d?void 0:d.weightBefore)?"":null==r?void 0:r.height,showErrorMessage:!1,onChange:p})})),j.default.createElement("div",{className:"input-form-pwg input-section"},j.default.createElement(s.StyledTextField,{label:o("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==l?void 0:l.weight,CustomInput:j.default.createElement(y.Input,{className:(null==d?void 0:d.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==l?void 0:l.weight,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==d?void 0:d.weight)?"":null==r?void 0:r.weight,showErrorMessage:!1,onChange:E})}))):j.default.createElement(j.default.Fragment,null,j.default.createElement("div",{className:"input-form-pwg"},j.default.createElement(a.PureInput,{placeholder:o("pwg.placeholder.height"),className:"input-section",label:j.default.createElement("span",{style:{color:i.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},className:"label-text"},o("pregnancyWeightGain.heightInput")," ",j.default.createElement("span",{style:{color:`${i.theme.colors.gray300}`}},o("bmi.heightInput.desc"))),errorMessage:d.height?"":null==r?void 0:r.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==l?void 0:l.height,onChange:v})),j.default.createElement("div",{className:"input-form-pwg"},j.default.createElement(a.PureInput,{placeholder:o("pwg.placeholder.weight"),className:"input-section",label:j.default.createElement("span",{style:{color:i.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},ref:f,className:"label-text"},o("pregnancyWeightGain.weightBeforeInput")," ",j.default.createElement("span",{style:{color:`${i.theme.colors.gray300}`}},o("pregnancyWeightGain.weightInput.desc"))),errorMessage:d.weightBefore?"":null==r?void 0:r.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:p,value:null==l?void 0:l.weightBefore})),j.default.createElement("div",{className:"input-form-pwg"},j.default.createElement(a.PureInput,{placeholder:o("pwg.placeholder.weight"),className:"input-section",label:j.default.createElement("span",{style:{color:i.theme.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px",minHeight:u},className:"label-text"},o("pregnancyWeightGain.weightInput")," ",j.default.createElement("span",{style:{color:`${i.theme.colors.gray300}`}},o("pregnancyWeightGain.weightInput.desc"))),errorMessage:d.weight?"":null==r?void 0:r.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==l?void 0:l.weight,onChange:E})))};const _e={"en-PH":G.default,"vi-VN":R.default,"zh-TW":U.default,"id-ID":W.default};function Me(t){const{value:a={from:null,to:null}}=t,[l,n]=e.useState(null),{isMobile:r}=w.useScreenSize(),[o,i]=e.useState((()=>a)),[d,c]=e.useState((()=>{var e;return v.startOfMonth(null!==(e=a.from)&&void 0!==e?e:new Date)})),u=e.useMemo((()=>v.addMonths(d,1)),[d]);const m=Object.assign(Object.assign({},t),{goToNextMonth:function(){c((e=>v.addMonths(e,1)))},goToPreviousMonth:function(){c((e=>v.subMonths(e,1)))},range:o,setRange:i,hoverDay:l,setHoverDay:n});return j.default.createElement(j.default.Fragment,null,j.default.createElement(Ae,Object.assign({},m,{date:d})),!r&&j.default.createElement(s.StyledCalendarMonthSeparator,null),!r&&j.default.createElement(Ae,Object.assign({},m,{date:u})))}function Ae({date:t,range:a,setRange:l,onChange:r,goToPreviousMonth:i,goToNextMonth:d,minDate:c,maxDate:u,close:m=(()=>{}),autoClose:f=!1,hoverDay:g,setHoverDay:p}){const{locale:y}=h.useTranslations(),E=e.useMemo((()=>{var e;return null!==(e=_e[y])&&void 0!==e?e:_e["en-PH"]}),[y]),b=e.useMemo((()=>v.format(t,"MMMM",{locale:E})),[t,E]),C=e.useMemo((()=>E?[1,2,3,4,5,6,0].map((e=>E.localize.day(e,{width:"narrow"}))):[]),[E]);function w(e,t){if(null===e)return j.default.createElement(s.StyledCalendarDayNumberWrapper,{key:`idx-${t}`,"data-empty":"true"});const n=e.getDate(),r=v.isToday(e),o=!!a.from&&v.isSameDay(a.from,e),i=!!a.to&&v.isSameDay(a.to,e),d=o||i;let h=!1;null!==g&&a.from&&v.isBefore(a.from,g)&&!a.to?h=v.isWithinInterval(e,{start:a.from,end:g}):a.from&&a.to&&(h=v.isWithinInterval(e,{start:a.from,end:a.to}));let y=!1;return c&&u?y=!v.isWithinInterval(e,{start:c,end:u}):c?y=v.isBefore(e,c):u&&(y=v.isAfter(e,u)),j.default.createElement(s.StyledCalendarDayNumberWrapper,{key:n,"data-is-today":r,"data-is-past":!r&&v.isPast(e),"data-is-selected":d,"data-is-disabled":y,"data-in-range":h,"data-is-from":o,"data-is-to":i,onMouseEnter:()=>{p(e)},onMouseLeave:()=>p(null),onClick:()=>{y||l((t=>(f&&a.from&&!a.to&&m(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?v.isBefore(e,t.from)?Object.assign(Object.assign({},t),{from:e}):Object.assign(Object.assign({},t),{to:e}):t:Object.assign(Object.assign({},t),{from:e})}(e,t))))}},j.default.createElement(s.StyledCalendarDayNumber,{onClick:()=>{}},j.default.createElement("p",null,n)))}return e.useEffect((()=>{a.from&&a.to&&r(a)}),[a]),j.default.createElement(s.StyledCalendarWrapper,{className:"calendar-wrapper"},j.default.createElement(s.StyledCalendarHead,null,j.default.createElement(n.Button,{onClick:i,size:"md",color:"ghost",icon:j.default.createElement("img",{src:o.CommonGAssets.getAssetPath("calendarArrowLeft.svg")})}),j.default.createElement("div",{className:"calendar-month"},b,j.default.createElement("strong",null,v.format(t,"yyyy"))),j.default.createElement(n.Button,{onClick:d,size:"md",color:"ghost",icon:j.default.createElement("img",{src:o.CommonGAssets.getAssetPath("calendarArrowRight.svg")})})),j.default.createElement(s.StyledCalendarCellsWrapper,null,j.default.createElement("div",null,j.default.createElement(s.StyledCalendarDaysOfWeek,null,C.map(((e,t)=>j.default.createElement(s.StyledCalendarDayLabel,{key:`${e}-${t}`},e))))),j.default.createElement("div",null,function(){const e=t.getFullYear(),l=t.getMonth(),n=v.getDaysInMonth(t),r=[];for(let t=1;t<=n;t++)r.push(new Date(e,l,t));const o=r[0]?r[0].getDay():0;if(1!==o){const e=0===o?6:o-1;for(let t=0;t<e;t++)r.unshift(null)}return j.default.createElement(s.StyledCalendarMonthWrapper,{key:`month-${l}`,"data-month-index":l,"data-has-range":Boolean(a.from&&a.to)},j.default.createElement(s.StyledCalendarDaysWrapper,null,j.default.createElement(s.StyledCalendarDateGrid,null,r.map(w))))}())))}var Ie="WUqzfRb",Pe="MnVGtSY",Fe="NclbhXQ";const ze=({LinkComponent:e,page:t,isLast:a,onChangePage:l})=>{const{label:n,value:r,isDropdown:o,dropdownItems:i,dataEventCategory:d,dataEventAction:c,dataEventLabel:u}=t;return o?j.default.createElement(s.Dropdown,{options:i,placeholder:"...",id:"",placeholderIcon:null,onChange:l,className:"collapsed-breadcrumb"}):j.default.createElement("div",{className:Fe,title:"string"!=typeof n?r:n,"data-last":a},e&&j.default.createElement(e,{"data-event-category":d,"data-event-action":c,"data-event-label":u,href:r||"#"},n))},Oe=()=>j.default.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M6.86364 10.6666H5.22727C4.86912 10.6666 4.51448 10.5977 4.18359 10.4637C3.8527 10.3296 3.55205 10.1332 3.2988 9.8856C2.78734 9.3855 2.5 8.70722 2.5 7.99998C2.5 7.29274 2.78734 6.61446 3.2988 6.11436C3.81026 5.61426 4.50396 5.33331 5.22727 5.33331H6.86364M9.78374 5.33331H11.7727C12.1309 5.33331 12.4855 5.40229 12.8164 5.5363C13.1473 5.67031 13.4479 5.86674 13.7012 6.11436C13.9545 6.36198 14.1553 6.65596 14.2924 6.97949C14.4295 7.30303 14.5 7.64979 14.5 7.99998C14.5 8.35017 14.4295 8.69693 14.2924 9.02047C14.1553 9.344 13.9545 9.63798 13.7012 9.8856C13.4479 10.1332 13.1473 10.3296 12.8164 10.4637C12.4855 10.5977 12.1309 10.6666 11.7727 10.6666H9.78374",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),je=()=>j.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},j.default.createElement("path",{d:"M4 2.5C3.17125 2.5 2.5 3.17125 2.5 4V13.75C2.5 14.164 2.836 14.5 3.25 14.5C3.664 14.5 4 14.164 4 13.75V4H13.75C14.164 4 14.5 3.664 14.5 3.25C14.5 2.836 14.164 2.5 13.75 2.5H4ZM7 5.5C6.17125 5.5 5.5 6.17125 5.5 7V16C5.5 16.8287 6.17125 17.5 7 17.5H16C16.8287 17.5 17.5 16.8287 17.5 16V7C17.5 6.17125 16.8287 5.5 16 5.5H7ZM7 7H16V16H7V7Z",fill:"#595959"}));exports.Alert=({style:e,onClose:a,text:l,type:n,contentIcon:r,closeIcon:o,className:i,description:s})=>j.default.createElement("div",{className:`${V} ${i||""}`,style:e,"data-alert-type":n},j.default.createElement("div",{className:q},j.default.createElement("div",{className:"icon-title"},r,j.default.createElement(t.Text,{type:"bold",size:"label1"},l)),j.default.createElement(t.Text,{type:"regular",size:"p3"},s)),j.default.createElement("div",{className:Z,onClick:a},o)),exports.ArticleCard=({articleLink:e,authorLink:l,authorName:n,avatarImg:r,banner:i,categoryLink:d,categoryName:c,className:u,dataEventActionForBanner:m,dataEventActionForBookmark:f,dataEventActionForCategory:g,dataEventActionForTitle:p,dataEventCategoryForBanner:h,dataEventCategoryForBookmark:v,dataEventCategoryForCategory:y,dataEventCategoryForTitle:E,dataEventLabelForBanner:b,dataEventLabelForBookmark:C,dataEventLabelForCategory:w,dataEventLabelForTitle:k,direction:S="horizontal",hasAffiliate:x,isBookmark:L=!1,isBookmarkDisplayed:T=!0,isMobile:N=!0,onBookmark:D,onClickCategoryName:B,section:_="normal",size:M="md",specialty:A,style:I,styleBanner:P,styleLabel:F,styleTitle:z,text:O,title:H,type:$="author",uploadTime:G,articleLinkTarget:W,isPremium:R})=>{const U=e=>{e.stopPropagation(),null==D||D()},V="lg"===M&&"expert"===$?"h4":"lg"===M&&"home"===_?N?"h4":"h3":"lg"===M?"h4":"h5",q="lg"===M?"p3":"p4",Z=N||"home"!==_||"lg"!==M||"author"!==$?"c2":"c1";return j.default.createElement("article",{className:`${ae} ${u||""}`,"data-size":M,style:I,"data-direction":S,"data-is-expert":"expert"===$||void 0},j.default.createElement("div",{className:"banner",style:P},j.default.createElement("a",{className:te,"data-event-category":h,"data-event-action":m,"data-event-label":b,href:e||"#",target:W},i),R&&j.default.createElement("img",{loading:"lazy",className:"premium",src:o.CommonGAssets.getAssetPath("premium-crown.svg")}),x&&j.default.createElement(s.AffiliateIcon,null)),j.default.createElement("div",{className:"content"},j.default.createElement("div",{className:"inner-content"},j.default.createElement(t.Text,{style:F,className:"label",size:Z,type:"caption"},j.default.createElement("a",{className:te,"data-event-category":y,"data-event-action":g,"data-event-label":w,href:d||"#",onClick:B},c),T&&j.default.createElement("a",{className:"bookmark",onClick:U},L?j.default.createElement(s.BookmarkedIcon,{dataEventCategoryForBookmark:v,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}):j.default.createElement(s.UnbookmarkedIcon,{dataEventCategoryForBookmark:v,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}))),j.default.createElement(a.Heading,{tag:V,style:z,className:"title",as:"lg"===M?"h2":"h3"},j.default.createElement("a",{className:te,"data-event-category":E,"data-event-action":p,"data-event-label":k,href:e||"#",target:W},H)),O&&j.default.createElement("a",{href:e||"#",target:W},j.default.createElement(t.Text,{size:q,className:"text"},O))),j.default.createElement("div",{className:"footer"},"author"===$?j.default.createElement(ne,{size:M,avatarImg:r,authorName:n,authorLink:l,uploadTime:G,handleClick:U,isBookmarked:L,dataEventCategoryForBookmark:v,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}):j.default.createElement(re,{size:M,isMobile:N,avatarImg:r,specialty:A,name:n,link:l,handleClick:U,isBookmarked:L,dataEventCategoryForBookmark:v,dataEventActionForBookmark:f,dataEventLabelForBookmark:C}))))},exports.BMICardEmbed=({isMobile:e,onSubmit:a,bmiContent:l,isSide:n,bmiGenerated:r,bmiUnit:d,bmiLink:c,locale:u})=>{var m,f,g;const{t:p}=h.useTranslations();return j.default.createElement(s.StyledContainer,{"data-is-side":n},j.default.createElement(s.ToolsBannerCard,{isSide:n,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),icon:j.default.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:p("bmi.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?j.default.createElement(t.Text,{size:"n1",color:i.theme.colors.white},j.default.createElement("span",{dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(f=null==l?void 0:l.reviewBy)||void 0===f?void 0:f.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),j.default.createElement("span",null)):void 0,isMobile:e}),j.default.createElement(E.Container,null,j.default.createElement(s.StyledContent,{as:"div","data-is-side":n},c&&j.default.createElement(pe,{onSubmit:a,bmiGenerated:r,locale:u,bmiUnit:d,isSide:n}))))},exports.BMRCardEmbed=({isSide:e,locale:a,bmrContent:l,isMobile:n,info:r,inputErrorMessage:d,onFormChange:c,onSubmit:u})=>{var m,f,g;const{t:p}=h.useTranslations();return j.default.createElement(s.StyledContainer,{"data-is-side":e},j.default.createElement(s.ToolsBannerCard,{isSide:e,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),icon:j.default.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:p("bmr.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?j.default.createElement(t.Text,{size:"n1",color:i.theme.colors.white},j.default.createElement("span",{dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(f=null==l?void 0:l.reviewBy)||void 0===f?void 0:f.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),j.default.createElement("span",null)):void 0,isMobile:n}),j.default.createElement(E.Container,null,j.default.createElement(s.StyledContent,{onSubmit:e=>e.preventDefault(),"data-is-side":e},j.default.createElement(s.StyledInputForm,null,j.default.createElement(ye,{info:r,locale:a,errorMessage:d,onChange:c,onClick:u,isSide:e})))))},exports.BabyGrowthCardEmbed=({isMobile:e,className:a,onSubmit:l,onError:n,schema:r,babyGrowthContent:d,siteType:c})=>{var u;const{t:m}=h.useTranslations();return j.default.createElement(s.StyledContainer,{"babyGrowthContent-is-mobile":e,"data-site":c},j.default.createElement(s.ToolsBannerCard,{siteType:c,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===c&&i.theme.mbColors.mint,isEmbeded:!0,icon:j.default.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==d?void 0:d.featuredImage)||"",style:{maxWidth:"100%"}}),heading:(null==d?void 0:d.title)||"",medicalReview:(null===(u=null==d?void 0:d.reviewBy)||void 0===u?void 0:u.reviewer)?j.default.createElement(t.Text,{size:"label2",color:i.theme.colors.white,className:"embedded-review",dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:`<a style="color: white" href="${d.reviewBy.link||"#"}">${d.reviewBy.reviewer.trim()}</a>`,date:d.reviewBy.date})}}):void 0,isMobile:e}),j.default.createElement(s.StyledBabyGrowthWrapper,{"data-theme":c},j.default.createElement(s.StyleForm,{siteType:c,schema:r,className:a,onSubmit:l,onError:n})))},exports.BabyPoopEmbed=({babyPoopPage:e,onClickFindOut:l,locale:r,isMobile:d,currentUrl:c,isSide:u})=>{const{t:m}=h.useTranslations(),{reviewedBy:f,reviewedDate:g}=e;return j.default.createElement(s.StyledBabyPoopHeader,null,j.default.createElement(C.Container,{className:"px-16",style:{height:"100%",display:""+(d?"flex":""),flexDirection:"column"}},d&&j.default.createElement(s.StyledBabyPoopHeaderContentImage,{src:o.CommonGAssets.getAssetPath("babyDiaper.png"),alt:e.title}),j.default.createElement(s.StyledBabyPoopHeaderContent,{"data-is-side":u},j.default.createElement(s.StyledBabyPoopHeaderContentText,{"data-is-side":u},j.default.createElement(a.Heading,{tag:"h2",color:"#284A75"},e.title),j.default.createElement(t.Text,{size:"p3",className:"description"},e.description),!!f&&j.default.createElement(s.StyledBabyPoopHeaderReview,{className:"reviewer"},j.default.createElement("img",{src:o.CommonGAssets.getAssetPath("reviewerCheck.svg"),alt:"check",className:"check-icon"}),j.default.createElement(t.Text,{size:"p4",color:i.theme.colors.gray600},m("categoryPage.info.reviewed")," ",j.default.createElement("a",{href:f.profileUrl},f.displayName)," ",m("categoryPage.onDate",{date:g}))),j.default.createElement(n.Button,{color:"primary",size:"md",className:"mt-16 find-out-button",onClick:l,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:c,style:{visibility:Boolean(l)?"visible":"hidden"}},m("babyPoop.findOut"))),!d&&j.default.createElement(s.StyledBabyPoopHeaderContentImage,{src:o.CommonGAssets.getAssetPath("babyDiaper.png"),alt:e.title,"data-is-vietnam":r===p.LOCALE.Vietnam,className:"banner-img"}))))},exports.Badge=({amount:e,type:t,size:l="medium",color:n="primary",icon:r,className:o})=>j.default.createElement(a.StyledBadge,{"data-notification-type":t,"data-notification-size":l,"data-notification-color":n,"data-has-icon":!!r||void 0,notificationType:t,notificationSize:l,notificationColor:n,hasIcon:!!r,className:o},j.default.createElement("div",null,e&&j.default.createElement("span",null,e)," ",r&&j.default.createElement("div",null,r))),exports.BorderHeading=({style:e,children:t,className:l,size:n="lg",type:r="bold",upperCase:o,as:i="h4",color:s})=>j.default.createElement(a.StyledBorderHeading,{style:Object.assign({color:s},e),className:l,"data-size":n,"data-type":r,"data-uppercase":o,as:i},t),exports.Breadcrumbs=({className:t,pages:a,size:l,LinkComponent:n="a",onChangePage:r,separator:o})=>{const i=e.useMemo((()=>a.map(((e,t)=>a.length>4?t>1&&t<a.length-2?null:1===t?Object.assign(Object.assign({},e),{isDropdown:1===t,dropdownItems:a.slice(1,a.length-2)}):e:e)).filter(Boolean)),[a]);return j.default.createElement("div",{"data-size":l,className:`${Ie} ${t||""}`},i.map(((t,a)=>{const s=a+1===i.length;return j.default.createElement(e.Fragment,{key:a},j.default.createElement(ze,{LinkComponent:n,page:t,isLast:s,onChangePage:r}),!s&&(t.separator||o||j.default.createElement("div",{className:Pe,"data-size":l})))})))},exports.Carousel=({row:t,column:a,children:l,scheme:n="hellosites",classNameLeftArrow:r="",classNameRightArrow:o="",mode:i="snap",isDotsShown:d=!0,isArrowShown:c=!1,dataEventCategory:m,dataEventAction:f,dataEventLabel:g,onChangePage:p})=>{const[h,v]=j.default.useState(0),[y,E]=e.useState(!1),[b,C]=u.useKeenSlider({defaultAnimation:{duration:1e3},initial:0,slideChanged(e){v(e.track.details.rel),p&&p(e.track.details.rel)},created(){E(!0)},drag:!0,mode:i,slides:{spacing:12}}),w=[],k=t*a;for(let e=0;e<l.length;e+=k){const t=l.slice(e,e+k);w.push(t)}return j.default.createElement(s.StyledCarousel,{row:t,column:a},j.default.createElement("div",{className:"navigation-wrapper"},j.default.createElement("div",{ref:b,className:"keen-slider slides-wrapper"},w.map(((e,t)=>j.default.createElement("div",{key:t,className:"keen-slider__slide page-items"},e.map(((e,t)=>j.default.createElement("div",{key:t},e))))))),y&&C.current&&c&&j.default.createElement(j.default.Fragment,null,j.default.createElement(se,{isLeft:!0,onClick:e=>{var t;return e.stopPropagation()||(null===(t=C.current)||void 0===t?void 0:t.prev())},isDisabled:0===h,scheme:n,className:`left-arrow ${r}`,"data-event-category":m,"data-event-action":f,"data-event-label":g}),j.default.createElement(se,{isLeft:!1,onClick:e=>{var t;return e.stopPropagation()||(null===(t=C.current)||void 0===t?void 0:t.next())},isDisabled:h===C.current.track.details.slides.length-1,scheme:n,className:`right-arrow ${o}`,"data-event-category":m,"data-event-action":f,"data-event-label":g}))),y&&C.current&&d&&j.default.createElement("div",{className:"dots"},[...Array(C.current.track.details.slides.length)].map(((e,t)=>j.default.createElement(s.StyledDot,{key:t,onClick:()=>{var e;null===(e=C.current)||void 0===e||e.moveToIdx(t)},"data-is-active":h===t,"data-is-hellosites":"hellosites"===n})))))},exports.CategoryCard=({imgBanner:e,label:a,className:l,style:n,href:r="",dataEventCategory:o,dataEventAction:i,dataEventLabel:d})=>j.default.createElement(s.StyledCategoryCard,{"data-event-category":o,"data-event-action":i,"data-event-label":d,className:l,style:n,href:r,onClick:e=>{""===r&&e.preventDefault()}},j.default.createElement("div",{className:"banner"},e),j.default.createElement("div",{className:"content"},j.default.createElement(t.Text,{className:"category_name",size:"sm",type:"bold"},a))),exports.Checkbox=Q,exports.CheckboxGroup=({name:e,values:t=[],onChanges:a,options:l=[],className:n,type:r="vertical",isDisabled:o,isRectangle:i})=>{const d=(e,l)=>{const n=t.slice();if(l)n.push(e);else{const t=n.findIndex((t=>t===e));n.splice(t,1)}a&&a(n)};return j.default.createElement(s.StyledCheckboxGroup,{className:n,"data-type":r,"data-is-rectangle":i||void 0},l.map(((a,l)=>j.default.createElement(Q,{label:a.label,name:e,key:`${l}-${a.value}`,checked:t.includes(a.value),value:a.value,isDisabled:o||a.disabled,onChange:!o&&d,isRectangle:i}))))},exports.CookieAcceptConfirm=({className:e,policiesUrl:t,onAcceptClick:a,translations:l={acceptButton:"Accept",policiesButton:"Our Policies"},title:n="",description:r="",theme:o="helloSites",isOpen:i=!0,useDefaultPosition:d=!0,trackingAttributes:c})=>j.default.createElement(s.StyledAcceptCardContainer,{className:e,"data-theme":o,"data-is-open":i,"data-default-position":d},j.default.createElement(s.StyledTitleSection,{"data-has-content":!!n},n),j.default.createElement(s.StyledDescription,{dangerouslySetInnerHTML:{__html:r}}),j.default.createElement(s.StyledButtonGroup,null,j.default.createElement(s.StyledAcceptButton,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:a,"data-event-category":null==c?void 0:c.dataEventCategory,"data-event-action":null==c?void 0:c.dataEventAction,"data-event-label":null==c?void 0:c.dataEventLabel},l.acceptButton),j.default.createElement(s.StyledPoliciesButton,{href:t},l.policiesButton))),exports.DateRangePicker=function({inputSize:t="md",name:l="date-range-picker",value:n,minDate:r,maxDate:i,onChange:d,className:c,autoClose:u=!1}){n||(n={from:null,to:null});const[m,f]=e.useState(!1);function g(){f(!1)}const p=e.useRef(null);function h(e){d&&d(e)}function y(e){return v.format(e,"dd/MM/yyyy")}M.useOutsideClick(p,(()=>{g()}));const E=e.useMemo((()=>n.from&&n.to?v.isSameDay(n.from,n.to)?y(n.from):`${y(n.from)} - ${y(n.to)}`:""),[n.from,n.to]);return j.default.createElement(s.StyledWrapper,{className:[c,m&&"focused"].filter(Boolean).join(" "),ref:p},j.default.createElement("label",{htmlFor:l},j.default.createElement(a.PureInput,{size:t,value:E,name:l,actionIcon:j.default.createElement("img",{src:o.CommonGAssets.getAssetPath("calendar.svg")}),onFocus:()=>f(!0)})),m?j.default.createElement(s.StyledCalendarWrapper$1,{onMouseDown:e=>{e.stopPropagation()}},j.default.createElement(Me,{value:n,onChange:h,minDate:r,maxDate:i,close:g,autoClose:u})):null)},exports.DueDateCardEmbed=({isMobile:e,locale:a,onSubmitDueDate:l,dueDatePageInfo:n,expertUrl:r,isSide:d,siteType:c})=>{var u;const{t:m}=h.useTranslations();return j.default.createElement(s.StyledContainer,{"data-is-side":d,"data-site":c},j.default.createElement(s.ToolsBannerCard,{isSide:d,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),siteType:c,bannerColor:"marryBaby"===c&&i.theme.mbColors.mint,isEmbeded:!0,icon:j.default.createElement("img",{alt:"health-tool-icon",src:null==n?void 0:n.featured_image,style:"marryBaby"!==c?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:m("healthTools.dueDateCalculator"),medicalReview:(null===(u=null==n?void 0:n.reviewed_by)||void 0===u?void 0:u.display_name)?j.default.createElement(t.Text,{size:"label2",color:i.theme.colors.white,dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${r}">${null==n?void 0:n.reviewed_by.display_name}</a>`,date:null==n?void 0:n.reviewed_date})}}):void 0,isMobile:e}),j.default.createElement(s.StyledContent,{onSubmit:e=>e.preventDefault(),className:"due-date-cal","data-is-side":d},j.default.createElement(fe,{siteType:c,locale:a,onSubmitDueDate:l,isSide:d})))},exports.FileDropdown=({className:t,value:l,options:n,onUploadSelected:r,id:o,placeholderIcon:i,placeholder:s,style:d})=>{const[c,u]=e.useState(!1),m=()=>u(!c),f=e.useRef(n.map((e=>"upload"===e.type&&j.default.createElement("input",{id:"uploader-dropdown-input-"+o+"-"+e.value,key:"uploader-dropdown-input-"+o+"-"+e.value,accept:e.fileAcceptedType,multiple:e.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),r(e.target.files)}})))),g=j.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},j.default.createElement("defs",null,j.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},j.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),j.default.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),j.default.createElement("title",null,"File"),j.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},j.default.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),j.default.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),p=j.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},j.default.createElement("defs",null,j.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),j.default.createElement("title",null,"download"),j.default.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),h=j.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},j.default.createElement("defs",null,j.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),j.default.createElement("title",null,"upload"),j.default.createElement("path",{className:"prefix__cls-1",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"}));return j.default.createElement(a.StyledDropdown,{className:t,"data-dropdown-open":!!c,id:o,"data-has-icons":!0,style:d,onBlur:()=>u(!1),tabIndex:0},j.default.createElement(a.StyledDropdownName,{onClick:m},i||g," ",j.default.createElement("span",null,l&&l.value?l.label:s)),c&&j.default.createElement(a.StyledDropdownList,{onClick:m,"data-has-icons":!0},n.map((e=>j.default.createElement(a.StyledDropdownOption,{key:`${o}-${e.value}`,"data-selected":l&&l.value===e.value||void 0,onClick:()=>{return"upload"===e.type?(a="#uploader-dropdown-input-"+o+"-"+e.value,void(null===(l=document.querySelector(a))||void 0===l||l.click())):void((t=e.url)&&window.open(t,"_blank"));var t,a,l}},j.default.createElement(a.StyledIcon,null,e.icon||"download"===e.type?p:h),e.label)))),j.default.createElement(j.default.Fragment,null,f.current))},exports.FloatButtonGroup=({items:t,className:a,style:l,backgroundPanelStyle:n,isOpen:r,onOpen:o,onClose:i,disableBackdropClick:d,siteType:c="hb",animationType:u="zoom",zIndex:m=300})=>{const[f,g]=e.useState(!!r);e.useEffect((()=>{g(!!r)}),[r]);const p=()=>{g(!1),i&&i()};return j.default.createElement(s.StyledFloatButtonGroup,{style:l,className:a,"data-floatmenu-open":f,"data-site-type":c,"data-animation-type":u},j.default.createElement(s.StyledFloatButtonGroupBackgroundPanel,{className:"float-button-group__panel",style:Object.assign({zIndex:m},n),onClick:d?void 0:p}),j.default.createElement(s.StyledFloatButtonGroupContent,{className:"float-button-group___content",style:{zIndex:m}},j.default.createElement(s.StyledFloatButtonGroupItemsWrapper,null,t.map(((e,a)=>j.default.createElement(s.StyledFloatButtonGroupButton,{className:`float-item-button-${a}`,style:Object.assign(Object.assign({},"zoom"===u&&{bottom:64*(t.length-1-a),transitionDelay:s.TRANSITION_TIMING/t.length*(f?t.length-1-a:a)+"ms"}),"slide"===u&&{bottom:64*(t.length-1-a),transitionDelay:s.TRANSITION_TIMING/t.length*(f?a:t.length-1-a)+"ms"}),key:a,onClick:()=>{e.onClick(),e.keepMenuOnClick||g(!1)}},j.default.createElement(s.StyledFloatButtonGroupButtonLabel,{style:Object.assign({},"zoom"===u&&{transitionDelay:s.TRANSITION_TIMING/t.length*(f?t.length-1-a:a)+"ms"})},e.label),j.default.createElement(s.StyledFloatButtonGroupButtonIcon,{className:"float-item-button__icon-wrapper",style:Object.assign({},("zoom"===u||"slide"===u)&&{transitionDelay:s.TRANSITION_TIMING/t.length*(f?t.length-1-a:a)+"ms"})},e.icon))))),j.default.createElement(s.StyledFloatButtonGroupToggleIcon,{onClick:f?p:()=>{g(!0),o&&o()}})))},exports.Grid=({className:e,columns:t,columnsDesktop:l,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,gap:o,children:i,justifyChildren:s,style:d,alignItems:c})=>j.default.createElement(a.StyledGrid,{className:e,style:d,theme:{columns:t,columnsDesktop:l,gap:o,justifyChildren:s,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,alignItems:c}},i),exports.IconText=({size:e,iconPosition:t,className:a,children:l,icon:n})=>j.default.createElement(s.StyledIconText,{className:a,"data-size":e,"data-icon-position":t},"left"===t&&n,l,"right"===t&&n),exports.OvulationCardEmbed=({onSubmitOvulation:e,locale:a,ovulationPageInfo:l,ovulationContent:n,expertUrl:r,isSide:d=!1,siteType:c,isMobile:u})=>{var m;const{t:f}=h.useTranslations(),g=_.formatOvulationInfo(l||null);return j.default.createElement(s.StyledContainer,{"data-is-side":d,"data-site":c},"marryBaby"!==c?j.default.createElement(De,{backgroundDesktopSrc:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),backgroundMobileSrc:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),title:f("healthTools.ovulationCalculator"),reviewedBy:g.reviewedBy,reviewedDate:g.reviewedDate,ovulationContent:n,isSide:d}):j.default.createElement(s.ToolsBannerCard,{isSide:d,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),siteType:c,bannerColor:"marryBaby"===c&&i.theme.mbColors.mint,isEmbeded:!0,icon:j.default.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:"marryBaby"!==c?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:f("healthTools.ovulationCalculator"),medicalReview:(null===(m=null==l?void 0:l.reviewed_by)||void 0===m?void 0:m.display_name)?j.default.createElement(t.Text,{size:"label2",color:i.theme.colors.white,dangerouslySetInnerHTML:{__html:f("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${r}">${l.reviewed_by.display_name}</a>`,date:l.reviewed_date})}}):void 0,isMobile:u}),j.default.createElement(s.StyledContent,{onSubmit:e=>e.preventDefault(),className:"ovulation-cal","data-is-side":d},j.default.createElement(s.OvulationCalculator,{siteType:c,locale:a,onSubmitOvulation:e,isSide:d})))},exports.PWGCardEmbed=({locale:a,onClick:l,inputErrorMessage:r,pwgContent:d,onFormChange:c,info:u,isMobile:m,isSide:g=!1,siteType:p})=>{var v;const{t:y}=h.useTranslations(),[b,C]=e.useState("notwins"),[w,k]=e.useState({label:"1",value:1}),x=e.useMemo((()=>[...Array(40)].map(((e,t)=>({label:`${t+1}`,value:`${t+1}`})))),[]),{getHealthToolLink:L}=D.useHealthToolsCache(a),T=e.useMemo((()=>L(S.HEALTH_TOOL_TYPE.PWG)),[L]),N=(null===(v=null==d?void 0:d.reviewedBy)||void 0===v?void 0:v.display_name)?j.default.createElement(t.Text,{size:"n1",color:i.theme.colors.white,dangerouslySetInnerHTML:{__html:y("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${_.formatUserProfileUrl(d.reviewedBy)}">${d.reviewedBy.display_name}</a>`,date:d.reviewedDate})}}):void 0;return j.default.createElement(s.StyledContainer,{"data-is-side":g,"data-site":p},j.default.createElement(s.ToolsBannerCard,{siteType:p,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerPink.svg"),bannerColor:"marryBaby"===p&&i.theme.mbColors.mint,isEmbeded:!0,icon:j.default.createElement("img",{alt:"health-tool-icon",src:null==d?void 0:d.featuredImage,style:"marryBaby"!==p?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:y("pregnancyWeightGain.heading"),medicalReview:N,isMobile:m,isSide:g}),j.default.createElement(E.Container,null,j.default.createElement(s.StyledContent,{onSubmit:e=>e.preventDefault(),className:"pwg-view-mobile","data-is-side":g},"marryBaby"!==p&&j.default.createElement(s.StyledTwins,{className:"hide-asking-mobile","data-is-side":g},j.default.createElement(B.Label,{size:"label2",style:{display:"block",fontWeight:"bold",color:i.theme.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},y("pregnancyWeightGain.havingTwins")),j.default.createElement(s.StyledRadioGroup,{options:[{value:"twins",label:y("switchBtn.yes")},{value:"notwins",label:y("switchBtn.no")}],value:b,onChange:e=>C(e),className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),j.default.createElement(s.StyledInputWrapper,null,j.default.createElement(s.StyledFormInput,{className:"input-section input-form-pwg","data-is-side":g},"marryBaby"===p?j.default.createElement(s.StyledDropDown,{groupedWithLabel:y("pregnancyWeightGain.weekInput"),options:x,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:w,onChange:e=>k({label:e.label,value:e.value})}):j.default.createElement(j.default.Fragment,null,j.default.createElement(B.Label,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:i.theme.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},y("pregnancyWeightGain.weekInput")),j.default.createElement(s.Dropdown,{options:x,placeholder:String(w.label),id:"weight-gain-dropdown",size:"md",value:w,onChange:e=>k({label:e.label,value:e.value})}))),j.default.createElement(Be,{siteType:p,info:u,errorMessage:r,onChange:c})),"marryBaby"!==p&&j.default.createElement(s.StyledTwins,{className:"hide-asking-desk","data-is-side":g},j.default.createElement(B.Label,{size:"label2",style:{display:"block",fontWeight:"bold",color:i.theme.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},y("pregnancyWeightGain.havingTwins")),j.default.createElement(s.StyledRadioGroup,{options:[{value:"twins",label:y("switchBtn.yes")},{value:"notwins",label:y("switchBtn.no")}],value:b,onChange:e=>C(e),className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===p&&j.default.createElement(Q,{name:"twins",label:y("pregnancyWeightGain.havingTwins"),checked:"twins"===b,siteType:"marryBaby",onChange:()=>{C("twins"===b?"notwins":"twins")},value:"twins"}),j.default.createElement(s.StyledSubmitButton,{"data-is-side":g,"data-site":p},j.default.createElement(n.Button,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${f.domainLocales["marryBaby"===p?"vi-VN_MB":a]}/${T}`,className:"due-date-calculate-button",size:"lg",color:"marryBaby"===p?"secondary":"primary",onClick:()=>l(b,w.value),role:"button",theme:p},y("dueDatePage.lastPeriod.calculate"))))))},exports.Pagination=({className:t,pagesAmount:n,currentPage:r,onChange:o,onClick:i,style:s,href:d,queryPageName:c="page"})=>{const u=[...Array(n)].map(((e,t)=>t+1)),[m,f]=e.useState(r),g=e.useMemo((()=>d&&d.endsWith("&page=")?d.replace("&page=",""):d),[d]),p=n-1,h=e=>{e<=n&&e>0&&(f(e),o(e))},v=e=>{i&&i(e)};return e.useEffect((()=>{f(r)}),[r]),j.default.createElement(a.StyledPagination,{className:t,style:s},j.default.createElement(a.StyledPageBlock,{className:"prev-page",onClick:()=>h(m-1),"data-last-page":1===m||void 0},g?j.default.createElement("a",{href:l.formatUrlWithPageParam(g,m,c),onClick:v},j.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):j.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),u.length>8?j.default.createElement(Y,{pagesAmount:n,activePage:m,handlePageChange:h,handleClick:v,href:g,queryPageName:c}):u.map((e=>j.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===m||void 0,onClick:()=>h(e)},g?j.default.createElement("a",{href:l.formatUrlWithPageParam(g,e,c),onClick:v},e):e))),j.default.createElement(a.StyledPageBlock,{className:"next-page",onClick:()=>h(m+1),"data-last-page":m===p+1||void 0},g?j.default.createElement("a",{href:l.formatUrlWithPageParam(g,m,c),onClick:v},j.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):j.default.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},exports.Progress=({percent:e,style:t})=>j.default.createElement(a.StyledProgress,{style:Object.assign({"--progress":e},t)}),exports.ProgressBar=({type:t,numberOfStep:a,activeStep:l,labelPrefix:n,detailSteps:r,className:o,onChange:i})=>{const[c,u]=e.useState(0),m=e=>{var{trackClassName:t}=e,a=d.__rest(e,["trackClassName"]);return j.default.createElement(s.StyledTrackContainer,Object.assign({},a,{className:t}),j.default.createElement(s.StyledTrack,null))},f=j.default.createElement(s.StyledSlider,{className:o+" progress-bar"},j.default.createElement(m,null),j.default.createElement((({trackLength:e,activeStep:t,labelPrefix:l="Step",onChange:n})=>j.default.createElement(j.default.Fragment,null,Array.from({length:a},((e,t)=>t)).map(((r,o)=>j.default.createElement(s.StyledStep,{"data-is-active":o===t,"data-label":o,style:{left:o*e/(a-1)},onClick:()=>{n&&n(o)},key:o},o+1,j.default.createElement(s.StyledStepLabel,{"data-step-passed":o<=t},l+" "+(o+1))))))),{trackLength:c,activeStep:l,labelPrefix:n,onChange:i})),g=j.default.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},j.default.createElement("title",null,"chevron-right"),j.default.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),p=j.default.createElement(s.StyledBreadcrumbContainer,null,r&&Array.from({length:r.length},((e,t)=>t)).map(((e,t)=>{var a;return j.default.createElement(s.StyledBreadcrumbWrapper,{key:t,"data-selected":t===l,onClick:()=>{i&&i(t)}},null===(a=r[t])||void 0===a?void 0:a.text," ",t<r.length-1&&g)}))),h=j.default.createElement(s.StyledSlider,{className:o+" progress-bar"},j.default.createElement((({detailSteps:e,activeStep:t,onChange:a})=>j.default.createElement(j.default.Fragment,null,Array.from({length:e.length},((e,t)=>t)).map(((l,n)=>j.default.createElement(s.StyledDetailStep,{key:n,style:{left:100/e.length*n+"%",width:100/e.length+"%"},onClick:()=>{a&&a(n)}},e[n].icon?j.default.createElement(s.StyledDetailStepIndicatorExternal,{onClick:()=>{a&&a(n)}},e[n].icon):j.default.createElement(s.StyledDetailStepIndicator,{"data-is-active":n===t,"data-label":l,onClick:()=>{a&&a(n)},key:n},n+1),j.default.createElement(s.StyledDetailStepLabel,{"data-step-passed":n<t+1},e[n].text,j.default.createElement(s.StyledDetailStepDescription,null,e[n].description)),n<e.length-1&&j.default.createElement(m,{"data-step-passed":n<t,trackClassName:"progress-track","data-track-type":"detail"})))))),{activeStep:l,detailSteps:r,onChange:i})),v=e.useCallback(H.default((()=>{const e=document.querySelector(".progress-bar");e&&u(e.offsetWidth)}),1e3),[]);return e.useEffect((()=>{const e=document.querySelector(".progress-bar");return u(null==e?void 0:e.offsetWidth),window.addEventListener("resize",v,{passive:!0}),()=>{window.removeEventListener("resize",v)}}),[]),"step-track"===t&&f||"breadcrumb"===t&&p||"detail-track"===t&&h},exports.RateStars=({gap:t=2,size:l=24,star:n,totalStars:r=5,onSelect:o,hideEmptyStars:i,style:s,className:d})=>{const c=Math.floor(n),u=n-c>=.5?1:0,[m,f]=e.useState(null),g=m||c,p=m?0:u;return j.default.createElement(a.StyledRateStars,{"data-selectable":!!o,style:Object.assign({"--gap":t,"--star-size":l},s),className:d},Array.from({length:i?c+u:r}).map(((e,t)=>{const a=()=>!!o&&f(t+1),l=()=>!!o&&f(null);return t+1<=g?j.default.createElement(X,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l}):t+1===g+p?j.default.createElement(J,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l}):j.default.createElement(K,{key:t,onClick:()=>null==o?void 0:o(t+1),onMouseOver:a,onMouseLeave:l})})))},exports.ScrollList=({row:t=2,column:a=3,isDotsShown:l=!0,isImageGalleryShown:n=!1,mode:r="infinity",type:o="separated",distanceOverlappedLeft:i={amount:0,unit:"pixel"},children:d,className:c,isProgressShown:u=!1,statusChildren:m,isArrowShown:f=!1,classNameLeftArrow:g,classNameRightArrow:p,dataEventCategory:h,dataEventAction:v,dataEventLabel:y,onChangePage:E,page:b,customPageWidth:C,scheme:w="hellosites",arrowType:k="Discover"})=>{const S="number"==typeof b,[x,L]=e.useState(S?b:0),T=[];j.default.Children.map(d,((e,l)=>{l%(t*a)==0&&T.push([]),T[T.length-1].push(j.default.cloneElement(e))}));const N=e.useRef(),D=e.useRef(0),B=e=>{if(!N.current)return;const{clientWidth:t}=N.current,a=C||t,l="intertwined"===o?"percentage"===i.unit?e*a+i.amount/100*a*e:e*a+i.amount*a*e:e*a;N.current.scrollTo({top:0,left:l,behavior:"smooth"}),D.current=e,L(e),E&&E(e)};e.useEffect((()=>{"number"==typeof b&&(e=>{if(!N.current)return;const{clientWidth:t}=N.current,a=C||t,l="intertwined"===o?"percentage"===i.unit?e*a+i.amount/100*a*e:e*a+i.amount*a*e:e*a;N.current.scrollTo({top:0,left:l,behavior:"smooth"}),D.current=e,L(e)})(b)}),[b]);const _=e=>{if(!N.current)return;const{clientWidth:t}=N.current,a=C||t;let l;l=0===x?0:x*a,"forward"===e&&(l===a*(T.length-1)?(L(T.length-1),l=a*(T.length-1),E&&E(T.length-1)):(L(x+1),l+=a,E&&E(x+1)),N.current.scrollTo({top:0,left:l,behavior:"smooth"})),"back"===e&&(0===l?(L(0),E&&E(0),l=0):(L(x-1),E&&E(x-1),l-=a),N.current.scrollTo({top:0,left:l,behavior:"smooth"}))},M=H.default((()=>{if("infinity"===r){if(!N.current)return;const{clientWidth:e,scrollLeft:t}=N.current,a=C||e,l=Math.floor(t/a);L(l),E&&E(l)}}),400);return e.useEffect((()=>{if("snapped"===r){let e,t,a,l,n,r,s=!1;const d=N.current,c=(r,o)=>{s=!0,a=!1,l=!1,e=r-d.offsetLeft,t=o-d.offsetTop,n=d.scrollLeft},u=e=>{c(e.pageX,e.pageY)},m=e=>{c(e.touches[0].pageX,e.touches[0].pageY)},f=()=>{if(s=!1,a=!1,l=!1,!N.current)return;const{clientWidth:e}=N.current,t=C||e,n="ltr"===r?0!==D.current?D.current-1:D.current:"rtl"===r&&D.current<T.length-1?D.current+1:D.current,d="intertwined"===o?"percentage"===i.unit?n*t+i.amount/100*t*n:n*t+i.amount*t*n:n*t;N.current.scrollTo({top:0,left:d,behavior:"smooth"}),r="none",D.current!==n&&(D.current=n,L(n),E&&E(n))},g=(o,i)=>{if(!s)return;const c=o-d.offsetLeft,u=i-d.offsetTop,m=c-e,f=u-t;a||l||!(f>20||f<-20)||(a=!0),!a&&(m>20||m<-20)&&(l=!0,d.scrollLeft=n-m,m>0&&(r="ltr"),m<0&&(r="rtl"),0===m&&(r="none"))},p=e=>{l&&e.preventDefault(),g(e.pageX,e.pageY)},h=e=>{l&&e.preventDefault(),g(e.touches[0].pageX,e.touches[0].pageY)};return null==d||d.addEventListener("mousedown",u,{passive:!0}),null==d||d.addEventListener("touchstart",m,{passive:!0}),window.addEventListener("mouseup",f,{passive:!0}),window.addEventListener("touchend",f,{passive:!0}),null==d||d.addEventListener("mousemove",p,{passive:!0}),null==d||d.addEventListener("touchmove",h,{passive:!0}),()=>{null==d||d.removeEventListener("mousedown",u),null==d||d.removeEventListener("touchstart",m),window.removeEventListener("mouseup",f),window.removeEventListener("touchend",f),null==d||d.removeEventListener("mousemove",p),null==d||d.removeEventListener("touchmove",h)}}}),[]),j.default.createElement(s.StyledScrollList,{className:c,"data-row":t,onScroll:M},f&&x>0&&j.default.createElement("div",{className:`${g} arrow-left`,onClick:()=>_("back"),"data-event-category":h,"data-event-action":v,"data-event-label":y},"Care"===k?j.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},j.default.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},j.default.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3V3C31.8368 3 39.0002 10.1634 39.0002 19V19C39.0002 27.8366 31.8368 35 23.0002 35V35C14.1637 35 7.00024 27.8366 7.00024 19V19Z",fill:"white"}),j.default.createElement("path",{d:"M20.9293 19L24.7503 15.179C25.1643 14.765 25.1643 14.093 24.7503 13.679C24.3363 13.265 23.6643 13.265 23.2503 13.679L18.6363 18.293C18.2453 18.684 18.2453 19.317 18.6363 19.707L23.2503 24.321C23.6643 24.735 24.3363 24.735 24.7503 24.321C25.1643 23.907 25.1643 23.235 24.7503 22.821L20.9293 19Z",fill:"#595959"}),j.default.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),j.default.createElement("defs",null,j.default.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},j.default.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),j.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),j.default.createElement("feOffset",{dx:"-2",dy:"2"}),j.default.createElement("feGaussianBlur",{stdDeviation:"2.5"}),j.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),j.default.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),j.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),j.default.createElement("feOffset",{dx:"-1",dy:"1"}),j.default.createElement("feGaussianBlur",{stdDeviation:"1"}),j.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),j.default.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),j.default.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):j.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),j.default.createElement("div",{ref:N,className:"container",style:{overflowX:"snapped"===r||f?"hidden":"scroll"}},T.map(((e,l)=>{let n=0;for(let e=0;e<l;e++)n+=T[e].length;return j.default.createElement("div",{key:l,className:"section",style:{marginLeft:"intertwined"===o&&0!==l?i.amount+""+("percentage"===i.unit?"%":"px"):"0px"}},1===t&&u&&j.default.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:`repeat(${a}, 1fr)`}},e.map(((t,a)=>{const r=n+a,o=m.find((e=>e.index===r));return j.default.createElement("div",{className:"items-progress",key:a},0===a&&0===l?j.default.createElement("div",{className:"line",style:{visibility:"hidden"}}):j.default.createElement("div",{className:"line"}),j.default.createElement("div",{className:"icon-status"},j.default.createElement(ie,{status:null==o?void 0:o.status})),l===T.length-1&&a===e.length-1?j.default.createElement("div",{className:"line",style:{visibility:"hidden"}}):j.default.createElement("div",{className:"line"}))}))),j.default.createElement("div",{className:"grid-layout","data-index":l,style:{gridTemplateColumns:`repeat(${a}, 1fr)`,gridTemplateRows:`repeat(${t}, 1fr)`}},e.map(((e,t)=>j.default.createElement(j.default.Fragment,{key:t},j.default.createElement("div",{className:"item-grid",key:t},e))))))}))),f&&x<T.length-1&&j.default.createElement("div",{className:`${p} arrow-right`,onClick:()=>_("forward"),"data-event-category":h,"data-event-action":v,"data-event-label":y}," ","Care"===k?j.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},j.default.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},j.default.createElement("path",{d:"M7.00024 19C7.00024 10.1634 14.1637 3 23.0002 3C31.8368 3 39.0002 10.1634 39.0002 19C39.0002 27.8366 31.8368 35 23.0002 35C14.1637 35 7.00024 27.8366 7.00024 19Z",fill:"white"}),j.default.createElement("path",{d:"M24.0712 19L20.2502 15.179C19.8362 14.765 19.8362 14.093 20.2502 13.679C20.6642 13.265 21.3362 13.265 21.7502 13.679L26.3642 18.293C26.7552 18.684 26.7552 19.317 26.3642 19.707L21.7502 24.321C21.3362 24.735 20.6642 24.735 20.2502 24.321C19.8362 23.907 19.8362 23.235 20.2502 22.821L24.0712 19Z",fill:"#595959"}),j.default.createElement("path",{d:"M23.0002 34C14.716 34 8.00024 27.2843 8.00024 19H6.00024C6.00024 28.3888 13.6114 36 23.0002 36V34ZM38.0002 19C38.0002 27.2843 31.2845 34 23.0002 34V36C32.3891 36 40.0002 28.3888 40.0002 19H38.0002ZM23.0002 4C31.2845 4 38.0002 10.7157 38.0002 19H40.0002C40.0002 9.61116 32.3891 2 23.0002 2V4ZM23.0002 2C13.6114 2 6.00024 9.61116 6.00024 19H8.00024C8.00024 10.7157 14.716 4 23.0002 4V2Z",fill:"#DBDFE5"})),j.default.createElement("defs",null,j.default.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},j.default.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),j.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),j.default.createElement("feOffset",{dx:"-2",dy:"2"}),j.default.createElement("feGaussianBlur",{stdDeviation:"2.5"}),j.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.263201 0 0 0 0 0.335725 0 0 0 0 0.393257 0 0 0 0.123689 0"}),j.default.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),j.default.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),j.default.createElement("feOffset",{dx:"-1",dy:"1"}),j.default.createElement("feGaussianBlur",{stdDeviation:"1"}),j.default.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.264489 0 0 0 0 0.275745 0 0 0 0 0.28861 0 0 0 0.01 0"}),j.default.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),j.default.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):j.default.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j.default.createElement("path",{d:"M15.9996 28.2218C22.7497 28.2218 28.2218 22.7497 28.2218 15.9996C28.2218 9.24942 22.7497 3.77734 15.9996 3.77734C9.24942 3.77734 3.77734 9.24942 3.77734 15.9996C3.77734 22.7497 9.24942 28.2218 15.9996 28.2218Z",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===w?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),l&&j.default.createElement("ul",{className:"bullet-nav"},T.map(((e,t)=>j.default.createElement("li",{key:t,className:"bullet-nav__item "},j.default.createElement("p",{onClick:()=>B(t),className:`bullet-nav__link scroll ${x==t?"active":null}`,"data-scheme":w}))))),n&&j.default.createElement("div",{className:"image-gallery-wrapper","data-test":T.length},T.slice(0,3).map(((e,t)=>j.default.createElement("div",{className:`image-block ${x==t?"active":null}`,key:t,onClick:()=>B(t),"data-scheme":w},e)))))},exports.SeoHead=({SEOData:t={},locale:a="vi-VN",routerPathname:l,routerQuery:n,nextHead:r,siteType:o,seoCustom:i,userId:d,forcedCanonicalUrl:c})=>{var u,m,p,h,v,y,E,b,C,w,k,S;const{totalPages:x,currentPage:L,SEOTitle:T="",SEODescription:N="",SEOImage:D,seoType:B,SEOImageWidth:_,SEOImageHeight:M,customMetaData:A=[],isIndexable:I=!0,hasNoCanonical:P=!1}=t,F=I&&g.isProduction?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",{NEXT_PUBLIC_BASE_API_URL:z}=process.env;let O=t.canonicalUrl||l;Object.keys(n).forEach((e=>{const t=n[e];t&&Array.isArray(t)&&(O=O.replace(`[...${e}]`,t.join("/")))}));const H=a||"en-PH",$="helloSites"===o?f.domainLocales[H]:"www.marrybaby.vn",G=O.endsWith("/")?"":"/",W=e.useMemo((()=>{var e,l,n,r,o,i,d;let c="";if(t.apiMetaData&&"string"==typeof t.apiMetaData){const u=null===(e=t.apiMetaData)||void 0===e?void 0:e.match(/<title.*?>(.*)<\/title>/),m=` - Page ${L} of ${x}`,f=L&&1!==L&&u?t.apiMetaData.replace(u[0],u[0].includes("-")?u[0].replace("-",m+" - "):`<title>${u[1].concat(m)}</title>`).replace(`<link rel="canonical" href="https://${$}${O}${G}" />`,`<link rel="canonical" href="https://${$}${O}${G}?page=${L}" />`):t.apiMetaData;if(c=s.htmlReactParser(f,{trim:!0}),!c.find((e=>{var t,a;return"og:image"===(null===(t=e.props)||void 0===t?void 0:t.property)||"og:image:secure_url"===(null===(a=e.props)||void 0===a?void 0:a.property)}))){const e=`https://${$}/images/${a}.png`;c=[...c,j.default.createElement("meta",{key:"og:image",property:"og:image",content:(null===(l=t.openGraph)||void 0===l?void 0:l.image)||D||e||""}),j.default.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(n=t.openGraph)||void 0===n?void 0:n.image)||D||e}),j.default.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(r=t.openGraph)||void 0===r?void 0:r.imageWidth)&&String(null===(o=t.openGraph)||void 0===o?void 0:o.imageWidth)||_&&String(_)||"1200"}),j.default.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(i=t.openGraph)||void 0===i?void 0:i.imageHeight)&&String(null===(d=t.openGraph)||void 0===d?void 0:d.imageHeight)||M&&String(M)||"630"})]}}return c}),[t.apiMetaData,t.openGraph,D,M,_,L,O,x,a,$]),R=`https://${$}/images/${a}.png`;return j.default.createElement(r,null,j.default.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===o&&j.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===a?j.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===a||"ms-MY"===a?j.default.createElement(j.default.Fragment,null):j.default.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap",rel:"preload",as:"style"}),j.default.createElement("link",{rel:"preconnect",href:z}),j.default.createElement("meta",{charSet:"UTF-8"}),j.default.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),j.default.createElement("meta",{name:"google",content:"notranslate"}),j.default.createElement("meta",{name:"robots",content:F}),j.default.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),A.map(((e,t)=>j.default.createElement("meta",Object.assign({key:t},e)))),j.default.createElement("meta",{name:"theme-color",content:"helloSites"===o?"#2c87f3":"#e85388"}),j.default.createElement("meta",{name:"page_type",content:"Home"}),j.default.createElement("meta",{name:"page_platform",content:"WEB"}),j.default.createElement("meta",{name:"page_language",content:H}),j.default.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!W&&j.default.createElement(j.default.Fragment,null,"helloSites"===o?j.default.createElement("title",null,i?T:T+" - "+(null===(u=f.LOCALE_SPECS[a])||void 0===u?void 0:u.SITE_NAME)):j.default.createElement("title",null,T),!P&&j.default.createElement("link",{rel:"canonical",href:`https://${$}${O}`}),j.default.createElement("meta",{name:"description",content:N||(null===(m=t.openGraph)||void 0===m?void 0:m.description)}),t.schemaData&&j.default.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:t.schemaData}}),j.default.createElement("meta",{property:"og:locale",content:a}),j.default.createElement("meta",{property:"og:type",content:B||"website"}),j.default.createElement("meta",{property:"og:title",content:(null===(p=t.openGraph)||void 0===p?void 0:p.title)||T}),j.default.createElement("meta",{property:"og:description",content:(null===(h=t.openGraph)||void 0===h?void 0:h.description)||N}),j.default.createElement("meta",{property:"og:url",content:`https://${$}${O}`}),j.default.createElement("meta",{property:"og:site_name",content:`https://${$}`}),j.default.createElement("meta",{property:"og:image",content:(null===(v=t.openGraph)||void 0===v?void 0:v.image)||D||R||""}),j.default.createElement("meta",{property:"og:image:secure_url",content:(null===(y=t.openGraph)||void 0===y?void 0:y.image)||D||R}),j.default.createElement("meta",{property:"og:image:width",content:(null===(E=t.openGraph)||void 0===E?void 0:E.imageWidth)&&String(null===(b=t.openGraph)||void 0===b?void 0:b.imageWidth)||_&&String(_)||"1200"}),j.default.createElement("meta",{property:"og:image:height",content:(null===(C=t.openGraph)||void 0===C?void 0:C.imageHeight)&&String(null===(w=t.openGraph)||void 0===w?void 0:w.imageHeight)||M&&String(M)||"630"}),j.default.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),j.default.createElement("meta",{name:"twitter:title",content:(null===(k=t.twitter)||void 0===k?void 0:k.title)||T}),j.default.createElement("meta",{name:"twitter:description",content:N}),j.default.createElement("meta",{name:"twitter:image",content:(null===(S=t.twitter)||void 0===S?void 0:S.image)||D})),("helloSites"===o?f.FAVICONS[H]||[]:f.FAVICONS.marryBaby).map(((e,t)=>"link"===e.type?j.default.createElement("link",{key:`favicon-${t}`,rel:e.rel,href:e.href,sizes:e.sizes}):"meta"===e.type?j.default.createElement("meta",{key:t,name:e.name,content:e.content}):null)),Array.isArray(W)&&c?W.filter((e=>"canonical"!==e.props.name&&"canonical"!==e.props.rel)):W,c&&j.default.createElement("link",{rel:"canonical",href:c}),!t.hasNoAmp&&"vi-VN"!==a&&j.default.createElement("link",{rel:"amphtml",href:`https://${$}${O}${G}?amp=1`}),d&&"undefined"!=typeof window?j.default.createElement("script",{dangerouslySetInnerHTML:{__html:`window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '${d}'});`}}):null)},exports.Shadow=({size:e,children:t,style:l,className:n})=>j.default.createElement(a.StyledShadow,{style:l,className:n,"data-shadow-size":e},t),exports.ShareContainer=({url:a,onCopied:l,locale:r,siteType:o})=>{const{t:c}=h.useTranslations(),u=z.getSocialList(a||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(r))),m=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return j.default.createElement(s.StyledShareContainer,null,j.default.createElement(t.Text,{size:"p3",color:i.theme.colors.gray800},c("shareContainer.title")),j.default.createElement("div",{className:"icon-group"},u.map(((e,t)=>j.default.createElement("a",{key:t,href:e.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":`Social Share - ${e.name}`,"data-event-label":m},e.icon))),j.default.createElement(n.Button,{theme:o,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:j.default.createElement(Oe,null),onClick:()=>d.__awaiter(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(a),null==l||l()})),"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":m})))},exports.ShareDrawer=a=>{var{open:l,title:r,onClose:o,onCopied:c,onShared:u,url:m,locale:f}=a,g=d.__rest(a,["open","title","onClose","onCopied","onShared","url","locale"]);const{t:p}=h.useTranslations(),v=e.useCallback((()=>d.__awaiter(void 0,void 0,void 0,(function*(){var e;yield null===(e=null===navigator||void 0===navigator?void 0:navigator.clipboard)||void 0===e?void 0:e.writeText(m),null==c||c()}))),[m,c]),E=z.getSocialList(m||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(f)));return e.useEffect((()=>{l&&navigator.share&&navigator.share({title:null!=r?r:"Read This Post",url:m}).then((()=>{null==u||u()})).catch((()=>{null==o||o()}))}),[m,r,u,l]),"undefined"!=typeof navigator&&navigator.share?null:j.default.createElement(s.StyledShareDrawer,Object.assign({title:p("share.title"),onClose:o,open:l,placement:"bottom"},g),j.default.createElement("div",{className:"share-container"},j.default.createElement("div",{className:"icon-container"},j.default.createElement(t.Text,{type:"semiBold",size:"s3",color:i.theme.colors.gray600},p("share.title")),j.default.createElement("div",{className:"icon-group"},E.map(((e,t)=>j.default.createElement("a",{key:t,href:e.href,target:"_blank",rel:"noreferrer"},e.icon))))),j.default.createElement("div",{className:"link-container"},j.default.createElement(t.Text,{type:"semiBold",size:"s3",color:i.theme.colors.gray600},p("share.copyLink")),j.default.createElement("div",{className:"input-group"},j.default.createElement(y.Input,{name:"link",size:"md",value:m,isDisabled:!0}),j.default.createElement(n.Button,{size:"md",type:"button",color:"tertiary",icon:j.default.createElement(je,null),onClick:v})))))},exports.StatisticCard=({type:e,description:t,value:a,withIcon:l,isInACard:n,cardColor:r,className:o})=>j.default.createElement(s.StyledStatisticContainer,{className:o,"data-size":e,"data-is-in-card":"big"===e&&n,"data-card-color":r},j.default.createElement(s.StyledDescriptionWrapper,null,"small"===e&&j.default.createElement(s.StyledDot$1,{"data-color":r}),t),j.default.createElement(s.StyledStatisticNumberWrapper,{"data-size":e},"small"!==e&&l,a)),exports.SurveyThankyouCard=({thankyou:e,thankyouSubtitle:l,className:n,style:r})=>j.default.createElement(s.StyledSurveyQuestionCard,{className:n,style:r},j.default.createElement("div",{className:"survey-inner-wrapper"},j.default.createElement(s.StyledSurveyThankyouCard,null,j.default.createElement("div",{className:"survey-thankyou-wrapper-inner"},j.default.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},j.default.createElement("path",{d:"M61.5 122C94.6371 122 121.5 95.1371 121.5 62C121.5 28.8629 94.6371 2 61.5 2C28.3629 2 1.5 28.8629 1.5 62C1.5 95.1371 28.3629 122 61.5 122Z",fill:i.theme.colors.primary50}),j.default.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),j.default.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),j.default.createElement("path",{d:"M74.4004 15.0005H39.863C36.9017 15.0005 34.5 17.4022 34.5 20.3635V72.5769C34.5 75.5383 36.9017 77.9399 39.863 77.9399H83.1357C86.097 77.9399 88.4987 75.5383 88.4987 72.5769V29.0988L88.4987 21.0005C88.4987 17.6868 85.8124 15.0005 82.4987 15.0005H74.4004Z",fill:"white"}),j.default.createElement("path",{d:"M88.8529 80.1077H34.1469C31.8699 80.1077 30.06 78.3036 30.06 76.0338V65.3837C30.06 63.1139 31.8699 61.3098 34.1469 61.3098H88.8529C91.1299 61.3098 92.9398 63.1139 92.9398 65.3837V76.0338C92.9398 78.3036 91.1299 80.1077 88.8529 80.1077Z",fill:"#E4E8EC"}),j.default.createElement("path",{d:"M90.838 85.4512H32.1618C29.8849 85.4512 28.075 83.6471 28.075 81.3774V70.7272C28.075 68.4575 29.8849 66.6533 32.1618 66.6533H90.7796C93.0566 66.6533 94.8665 68.4575 94.8665 70.7272V81.3774C94.9249 83.6471 93.0566 85.4512 90.838 85.4512Z",fill:"white"}),j.default.createElement("path",{d:"M103.748 75.4919V105.755C103.748 107.675 102.172 109.247 100.245 109.247H23.0031C21.0764 109.247 19.5 107.675 19.5 105.755V75.4919C19.5 73.5713 21.0764 72 23.0031 72H42.3866C44.3133 72 45.8897 73.5713 45.8897 75.4919V80.8461C45.8897 81.1952 46.1232 81.428 46.4735 81.428H76.7749C77.1253 81.428 77.3588 81.1952 77.3588 80.8461V75.4919C77.3588 73.5713 78.9352 72 80.8618 72H100.245C102.172 72 103.748 73.5713 103.748 75.4919Z",fill:"#45A4FF"}),j.default.createElement("path",{d:"M51.9541 91.3767V94.4612C51.9541 96.0907 53.2386 97.3711 54.8733 97.3711H67.7179C69.3526 97.3711 70.6371 96.0907 70.6371 94.4612V91.3767",stroke:"#2C74DF",strokeWidth:"3",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M120.5 38.0251C118.5 37.7793 117.25 39.3768 118.125 41.22L118.375 41.9573C119.125 43.8006 118 45.398 116 45.1523L115.25 45.0294C113.25 44.7836 112 46.3811 112.875 48.2244L113.25 48.9616C114 50.8049 112.875 52.4025 110.875 52.1567L110.125 52.0337C108.625 51.9109 107.5 52.7712 107.5 54",stroke:"#FE921D",strokeWidth:"1.9096",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M1.53299 62C1.2644 63.413 2.6745 64.337 4.35323 63.8478L5.02472 63.6304C6.70346 63.087 8.11356 64.0109 7.84496 65.4783L7.7107 66.0217C7.4421 67.4348 8.8522 68.3587 10.5309 67.8696L11.2024 67.6522C12.8812 67.1087 14.2913 68.0326 14.0227 69.5L13.8884 70.0435C13.687 71.1304 14.4256 71.8913 15.5 72",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M118 92C119.381 92 120.5 90.8807 120.5 89.5C120.5 88.1193 119.381 87 118 87C116.619 87 115.5 88.1193 115.5 89.5C115.5 90.8807 116.619 92 118 92Z",stroke:"#00B16A",strokeWidth:"2.8751",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M82.0001 3.18747L83.1875 7.53467L87.5347 6.34727L86.3473 2.00007L82.0001 3.18747Z",stroke:"#00B16A",strokeWidth:"2.1628",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M17.0001 28C18.1046 28 19 27.1045 19 25.9999C19 24.8954 18.1046 24 17.0001 24C15.8955 24 15 24.8954 15 25.9999C15 27.1045 15.8955 28 17.0001 28Z",stroke:"#FE921D",strokeWidth:"2.3278",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),j.default.createElement("path",{d:"M61.5 26.6667C54.136 26.6667 48.1667 32.6361 48.1667 40.0001C48.1667 47.3641 54.136 53.3334 61.5 53.3334C68.864 53.3334 74.8334 47.3641 74.8334 40.0001C74.8334 32.6361 68.864 26.6667 61.5 26.6667ZM69.1094 36.9427L59.776 46.2761C59.516 46.5361 59.1747 46.6667 58.8334 46.6667C58.492 46.6667 58.1507 46.5361 57.8907 46.2761L53.8907 42.2761C53.3694 41.7547 53.3694 40.9121 53.8907 40.3907C54.412 39.8694 55.2547 39.8694 55.776 40.3907L58.8334 43.4481L67.224 35.0574C67.7454 34.5361 68.588 34.5361 69.1094 35.0574C69.6307 35.5787 69.6307 36.4214 69.1094 36.9427Z",fill:"#00CB8A"})),e&&j.default.createElement(a.Heading,{className:"survey-thankyou-title",tag:"h3"},e),l&&j.default.createElement(t.Text,{className:"survey-thankyou-subtitle",size:"p3"},l))))),exports.THRCardEmbed=({isSide:a,locale:l,thrContent:n,isMobile:r,info:d,inputErrorMessage:c,onFormChange:u,onSubmit:m})=>{var g,p,v;const{t:y}=h.useTranslations(),{getHealthToolLink:C}=D.useHealthToolsCache(l),w=e.useMemo((()=>C(S.HEALTH_TOOL_TYPE.THR)),[C]),[k,x]=e.useState(!1),[T,M]=e.useState("low_intensity"),[A,I]=e.useState("male"),[P,F]=e.useState(60),[z,O]=e.useState({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),H=[{idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40},{idAge:1,minAge:18,maxAge:25,rangeMale:49,rangeFemale:54},{idAge:2,minAge:25,maxAge:35,rangeMale:49,rangeFemale:54},{idAge:3,minAge:35,maxAge:45,rangeMale:50,rangeFemale:54},{idAge:4,minAge:45,maxAge:55,rangeMale:50,rangeFemale:54},{idAge:5,minAge:55,maxAge:65,rangeMale:51,rangeFemale:54},{idAge:6,minAge:65,maxAge:120,rangeMale:50,rangeFemale:54}],$=[{value:"low_intensity",label:y("targetHeartRate.lowIntensity.title"),image:o.CommonGAssets.getAssetPath("/low.svg"),imageActive:o.CommonGAssets.getAssetPath("/low-active.svg"),content:y("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:y("targetHeartRate.moderateIntensity.title"),image:o.CommonGAssets.getAssetPath("/moderate.svg"),imageActive:o.CommonGAssets.getAssetPath("/moderate-active.svg"),content:y("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:y("targetHeartRate.aerobicZone.title"),image:o.CommonGAssets.getAssetPath("/aerobic.svg"),imageActive:o.CommonGAssets.getAssetPath("/aerobic-active.svg"),content:y("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:y("targetHeartRate.vigorousIntensity.title"),image:o.CommonGAssets.getAssetPath("/vigorous.svg"),imageActive:o.CommonGAssets.getAssetPath("/vigorous-active.svg"),content:y("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:y("targetHeartRate.maximumIntensity.title"),image:o.CommonGAssets.getAssetPath("/maximum.svg"),imageActive:o.CommonGAssets.getAssetPath("/maximum-active.svg"),content:y("targetHeartRate.maximumIntensity.note")}],G=e.useMemo((()=>[{value:"male",label:y("gender.male"),content:j.default.createElement(b.Icon.GenderChooseBoy,null)},{value:"female",label:y("gender.female"),content:j.default.createElement(b.Icon.GenderChooseGirl,null)}]),[]);return e.useEffect((()=>{const e=((new Date).getTime()-new Date(null==d?void 0:d.age).getTime())/1e3;x(e>=567648e3);const t=H.find((t=>e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60))||H[0];O(t),F(60)}),[null==d?void 0:d.age]),j.default.createElement(s.StyledContainer,{"data-is-side":a},j.default.createElement(s.ToolsBannerCard,{isSide:a,bannerUrl:o.CommonGAssets.getAssetPath("embedToolBannerBlue.svg"),icon:j.default.createElement("img",{alt:"health-tool-icon",src:null==n?void 0:n.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:y("targetHearRate.heading"),medicalReview:(null===(g=null==n?void 0:n.reviewedBy)||void 0===g?void 0:g.display_name)?j.default.createElement(t.Text,{size:"n1",color:i.theme.colors.white},j.default.createElement("span",{dangerouslySetInnerHTML:{__html:y("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${_.formatUserProfileUrl(null==n?void 0:n.reviewedBy)}"\n >\n ${null===(p=null==n?void 0:n.reviewedBy)||void 0===p?void 0:p.display_name}\n </a>`,date:null==n?void 0:n.reviewedDate})}}),j.default.createElement("span",null)):void 0,isMobile:r}),j.default.createElement(E.Container,null,j.default.createElement(s.StyledContent,{className:"heart-rate-cal",onSubmit:e=>e.preventDefault(),"data-is-side":a},j.default.createElement(s.StyledRow$1,{"data-is-side":a},j.default.createElement(s.FormControl$1,null,j.default.createElement(s.StyledInput$1,{size:"md",name:"gender",label:y("bmi.selectGender"),CustomInput:j.default.createElement(N.RadioImageGroup,{options:G,value:A,onChange:e=>{I(e),F(60)},className:"bmi--input-radio_gender"}),className:"bmi--input bmi--input-gender"}))),j.default.createElement(s.StyledRow$1,null,j.default.createElement(ve,{info:d,locale:l,errorMessage:c,onChange:u})),j.default.createElement("div",{className:"slider-heart-rate"},j.default.createElement(B.Label,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:i.theme.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},y("targetHeartRate.heartRateInput")),j.default.createElement("div",{className:"slider-outer-wrapper"},j.default.createElement(L.Slider,{containerStyle:{flex:1},min:"male"===A?z.rangeMale:z.rangeFemale,max:200,step:1,value:P,withControl:!0,onChange:F}))),k&&j.default.createElement(s.FormControl$1,null,j.default.createElement(s.StyledActive,null,j.default.createElement(B.Label,{size:"label2",style:{display:"inline-block",fontWeight:"bold",color:i.theme.colors.gray600,marginBottom:"9px"},htmlFor:"gender-selector"},y("targetHeartRate.selectActive")),j.default.createElement("div",{className:"card"},j.default.createElement(he,{options:$.map((e=>({value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}))),value:T,onChange:e=>{M(e)},className:"gender-selector"})),T&&j.default.createElement("div",{className:"note"},j.default.createElement("img",{style:{height:"16px",width:"16px"},src:o.CommonGAssets.getAssetPath("/infoIcon.svg"),alt:""}),j.default.createElement(t.Text,{size:"n1",color:"#595959"},null===(v=$[$.findIndex((e=>e.value==T))||0])||void 0===v?void 0:v.content)),!T&&j.default.createElement("span",{style:{color:"#e64728"}},c.intensity)))),j.default.createElement("div",{style:{display:"flex"}},j.default.createElement(s.StyledButton$1,{size:"lg",onClick:()=>{m(A,T,[P])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${f.domainLocales[l]}/${w}`},y("bmi.submit")))))},exports.Tag=({type:e,children:l,style:n,isInline:r,isSquared:o=!1,className:i,isLight:s,hasMorePadding:d,isLink:c,isSelected:u,textProps:m={size:"sm"}})=>{const f=m.color?{"--text-props-color":m.color}:{};return j.default.createElement(a.StyledTag,{"data-is-squared":o||void 0,"data-tag-type":e,"data-is-light":s||void 0,"data-has-more-padding":d||void 0,"data-is-inline":r||void 0,style:Object.assign(Object.assign({},n),f),className:i,"data-is-selected":u||void 0,"data-is-link":c||void 0,tagType:e,isInline:r,tagHasMorePadding:d,tagIsLight:s,tagIsSquared:o,tagIsALink:c},j.default.createElement(t.Text,Object.assign({},m),l))},exports.Toggle=({className:e,id:t,onChange:l,checked:n,style:r,label:o})=>j.default.createElement(a.StyledToggle,{className:e,style:r},j.default.createElement("input",{type:"checkbox",id:t,onChange:l,checked:n}),j.default.createElement("label",{htmlFor:t},j.default.createElement(a.StyledToggleIcon,null),o&&j.default.createElement(a.StyledToggleLabel,null,o))),exports.UnderlinedLink=({size:e,isDisabled:t,className:l,link:n,style:r})=>j.default.createElement(a.StyledUnderlinedLink,{className:l,"data-size":e,style:r,"data-disabled":t||void 0},n),exports.Uploader=({type:e,withIcon:t,onFileSelected:l,inputId:r,withElement:o,fileAcceptType:i,multiple:s,value:d,className:c})=>{const u=()=>{var e;null===(e=document.querySelector("#uploader-input-"+r))||void 0===e||e.click()};return j.default.createElement(a.StyledUploader,{className:c},"badge"===e?j.default.createElement(a.StyledElementContainer,{onClick:u,"data-is-attached-to-element":!!o},o,j.default.createElement(a.StyledIconWrapper,{"data-is-attached-to-element":!!o},t)):o?j.default.createElement("div",{onClick:u},o):j.default.createElement(n.Button,{size:"md",color:"secondary",className:"default-button",icon:t,onClick:u},j.default.createElement(a.StyledDefaultButtonContent,null,j.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},j.default.createElement("defs",null,j.default.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),j.default.createElement("title",null,"upload"),j.default.createElement("path",{className:"prefix__cls-1",d:"M14 10v2.67A1.33 1.33 0 0112.67 14H3.33A1.33 1.33 0 012 12.67V10M11.33 5.33L8 2 4.67 5.33M8 2v8",transform:"translate(-1.25 -1.25)"})),"Upload Image")),j.default.createElement("input",{id:"uploader-input-"+r,accept:i,multiple:s,type:"file",style:{display:"none"},onChange:e=>{l(e.target.files)},value:d}))},exports.index=oe,exports.index$1=de;
@@ -1 +1 @@
1
- "use strict";var e=require("./Onboarding-5e427213.js"),o=require("./isProduction-5377bba0.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN","id-ID","en-PH","tl-PH"],I=["vi-VN","id-ID"],r={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var T;exports.QUERY_HEALTH_TOOL=void 0,(T=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",T.gender="gndr",T.age="ge",T.slug="slug",T.resultId="resultId",T.bmr="mr",T.height="gt",T.weight="wght",T.source="surc",T.type="tp",T.startDate="sd",T.additional="tnl",T.week="wk",T.twins="twn",T.weightBefore="wb",T.yourself="yrslf",T.intensity="sy",T.rate="rt",T.method="mthd",T.day="dy",T.pwg="pwg",T.cycle="le",T.period="prd",T.access_token="tkn",T.name="nm",T.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,CARE_LOCALES:c,CARE_BOOKING_LOCALES:I,FAVICONS:r,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=c,exports.FAVICONS=r,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=p,exports.siteHost=l,exports.siteOptions=i;
1
+ "use strict";var e=require("./Onboarding-4b12061d.js"),o=require("./isProduction-1ee068f3.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN","id-ID","en-PH","tl-PH"],I=["vi-VN","id-ID"],r={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var T;exports.QUERY_HEALTH_TOOL=void 0,(T=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",T.gender="gndr",T.age="ge",T.slug="slug",T.resultId="resultId",T.bmr="mr",T.height="gt",T.weight="wght",T.source="surc",T.type="tp",T.startDate="sd",T.additional="tnl",T.week="wk",T.twins="twn",T.weightBefore="wb",T.yourself="yrslf",T.intensity="sy",T.rate="rt",T.method="mthd",T.day="dy",T.pwg="pwg",T.cycle="le",T.period="prd",T.access_token="tkn",T.name="nm",T.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,CARE_LOCALES:c,CARE_BOOKING_LOCALES:I,FAVICONS:r,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=c,exports.FAVICONS=r,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=p,exports.siteHost=l,exports.siteOptions=i;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),t=require("./index.styled-1686f3ec.js"),a=require("./tslib.es6-b26213cd.js"),r=require("./useTranslations-dc927554.js"),s=require("@mantine/core");require("./gAssets.js"),require("@mantine/dates"),require("./index-d5215014.js"),require("./Onboarding-4b12061d.js");var n=require("./index-6e70c92e.js"),i=require("./index-2748d056.js");require("dayjs"),require("./screenSizeContext-261f0bb9.js"),require("styled-components"),require("./theme-c5dd36f0.js"),require("./utils-4c38375b.js"),require("./isProduction-1ee068f3.js"),require("./translationsContext-e6df8550.js"),require("string-format"),require("./index-1d93e0e4.js"),require("@mantine/hooks");var l=require("./index.styled-47084159.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=d(e);const c={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var u="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:n,title:i,styles:l,className:d}=e,u=a.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=r.useTranslations(),v=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:y,cx:f}=t.useStyles(void 0,{name:"AuthorBadge",styles:l});return v&&c[v]?o.default.createElement("div",Object.assign({className:f(y.root,d),"data-label-type":v,"data-is-marrybaby":"marryBaby"===s},u),i||m(c[v])):null},exports.BtnChoice=({value:t,choices:a,onChange:r})=>{const[s,n]=e.useState(t);return e.useEffect((()=>{n(t)}),[t]),o.default.createElement("div",{className:u},a.map(((e,t)=>o.default.createElement(i.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===s?"primary":"tertiary",key:t,onClick:()=>{n(e.value),null==r||r(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:a,style:r})=>o.default.createElement(t.StyledDivider,{style:r,className:a,"data-diver-type":e,dividerType:e}),exports.ImageWithHandler=t=>{var{fallbackSrc:r}=t,n=a.__rest(t,["fallbackSrc"]);const{other:i}=s.useMantineTheme(),l=e.useRef(null),d=r||i.defaultImage,c=n.src||d||"",u=e.useRef(!1);e.useEffect((()=>{c!==d&&l.current&&(l.current.src=c)}),[]),e.useEffect((()=>{u.current=!1}),[c]);return o.default.createElement("img",Object.assign({ref:l},n,{src:c,onError:e=>{var t;u.current||(e.currentTarget.src=d||"",u.current=!0),null===(t=n.onError)||void 0===t||t.call(n,e)}}))},exports.Tabs=({style:t,initialTab:a,tabContent:r,onChange:s,className:i,dataEventCategory:d,dataEventAction:c,dataEventLabel:u,id:m,styles:v})=>{const{classes:y,cx:f,theme:b}=l.useStyles(void 0,{name:"Tabs",styles:v}),[E,g]=e.useState(a||0);return e.useEffect((()=>{g(a)}),[a]),o.default.createElement("ul",{style:t,className:f(y.root,i),role:"tablist",id:m},r.map(((e,t)=>o.default.createElement("li",{className:`${y.item} ${E===t?"active":""}`,"aria-selected":E===t,role:"tab",onClick:()=>{g(t),s&&s(t)},onKeyDown:e=>{"Enter"===e.key&&(g(t),s&&s(t))},key:t,"data-event-category":e.dataEventCategory||d,"data-event-action":e.dataEventAction||c,"data-event-label":e.dataEventLabel||u,tabIndex:0,"data-testid":e.dataTestid},o.default.createElement("div",{className:y.itemInner},e.icon&&o.default.createElement("div",{className:y.icon},e.icon),o.default.createElement(n.Text,{className:y.label,size:e.textSize||"sm",weight:e.textType||"bold",color:E===t?b.fn.primaryColor():e.textColor||b.colors.gray[4],dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name))))))};
@@ -1 +1 @@
1
- "use strict";var t=require("./tslib.es6-ff6d8bab.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:f,title:p,className:g,onClick:P,icon:k,iconPosition:v="left",children:E,isLoading:b=!1,loadingText:y,dataEventCategory:N,dataEventAction:w,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":N,"data-event-action":w,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),G=(k||b)&&e.default.createElement("span",{className:r},b?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${g||""}`,"data-size":u,"data-color":C,"data-block":f,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!b&&!h&&P&&P(t)},title:p,"data-is-loading":b,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},b&&y||E),"right"===v&&G))};
1
+ "use strict";var t=require("./tslib.es6-b26213cd.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:p,title:f,className:g,onClick:P,icon:k,iconPosition:v="left",children:E,isLoading:b=!1,loadingText:y,dataEventCategory:N,dataEventAction:w,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":N,"data-event-action":w,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),G=(k||b)&&e.default.createElement("span",{className:r},b?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${g||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!b&&!h&&P&&P(t)},title:f,"data-is-loading":b,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},b&&y||E),"right"===v&&G))};