@hhgtech/hhg-components 1.26.50 → 1.26.52

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 (277) 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/molecules/bmiForm/index.styled.d.ts +2 -2
  5. package/build/components/molecules/bmrForm/index.styled.d.ts +2 -2
  6. package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.d.ts +1 -1
  7. package/build/components/molecules/embeddedHeathToolCards/baby-poop/index.styles.d.ts +2 -0
  8. package/build/components/molecules/thrForm/index.styled.d.ts +2 -2
  9. package/build/components.js +1 -1
  10. package/build/constants.js +1 -1
  11. package/build/{core-639acb65.js → core-7509cee7.js} +1 -1
  12. package/build/{dataTransform-bcd7b51e.js → dataTransform-052fc30f.js} +1 -1
  13. package/build/ecom.js +1 -1
  14. package/build/esm/babyGrowth.js +6 -6
  15. package/build/esm/cache.js +1 -1
  16. package/build/esm/care.js +1 -1
  17. package/build/esm/components.js +1 -1
  18. package/build/esm/constants.js +1 -1
  19. package/build/esm/{core-37eed604.js → core-e363e0d7.js} +1 -1
  20. package/build/esm/{dataTransform-114351ad.js → dataTransform-bb7523a5.js} +1 -1
  21. package/build/esm/ecom.js +1 -1
  22. package/build/esm/footer.js +1 -1
  23. package/build/esm/gAssets.js +1 -1
  24. package/build/esm/getDynamicHealthTool-4a0e6604.js +1 -0
  25. package/build/esm/{getSocialList-6a9124ec.js → getSocialList-ecf488f0.js} +1 -1
  26. package/build/esm/hooks.js +1 -1
  27. package/build/esm/i18n.js +1 -1
  28. package/build/esm/{index-60a5e34c.js → index-12836a34.js} +1 -1
  29. package/build/esm/{index-742af5be.js → index-1576d2de.js} +1 -1
  30. package/build/esm/{index-6c51b86e.js → index-1d0c3835.js} +1 -1
  31. package/build/esm/{index-eaeee238.js → index-35cd70a5.js} +1 -1
  32. package/build/esm/{index-e984c03d.js → index-38639924.js} +1 -1
  33. package/build/esm/index-482d54f3.js +1 -0
  34. package/build/esm/index-56cd8a05.js +1 -0
  35. package/build/esm/{index-a36782dc.js → index-59c0a034.js} +1 -1
  36. package/build/esm/{index-bae69d05.js → index-6bb2a1fd.js} +1 -1
  37. package/build/esm/index-6f67c6c0.js +1 -0
  38. package/build/esm/{index-43549156.js → index-75e155d3.js} +1 -1
  39. package/build/esm/{index-0581c67c.js → index-7ce2b2a0.js} +1 -1
  40. package/build/esm/{index-5bf7c8d6.js → index-85134e64.js} +1 -1
  41. package/build/esm/{index-497d9f5a.js → index-907e0351.js} +1 -1
  42. package/build/esm/{index-0cb6efec.js → index-932d4d18.js} +1 -1
  43. package/build/esm/{index-69322083.js → index-a81cb6f3.js} +1 -1
  44. package/build/esm/index-aa897662.js +1 -0
  45. package/build/esm/{index-a160ab0b.js → index-e4ed4a4d.js} +1 -1
  46. package/build/esm/{index-5bcf5e56.js → index-eb0e5b6e.js} +1 -1
  47. package/build/esm/{index-734ad044.js → index-eb1a30d6.js} +1 -1
  48. package/build/esm/{index-0e167804.js → index-f04e7055.js} +1 -1
  49. package/build/esm/{index-338f999a.js → index-f7419a02.js} +1 -1
  50. package/build/esm/{index-4a5eb894.js → index-fa1d36ab.js} +6 -6
  51. package/build/esm/{index-3993c544.js → index-fd811e85.js} +1 -1
  52. package/build/esm/index.js +1 -1
  53. package/build/esm/{index.styled-a5d24bea.js → index.styled-40d0f4c3.js} +156 -156
  54. package/build/esm/{index.styled-95eee9a9.js → index.styled-47d7bedd.js} +1 -1
  55. package/build/esm/{index.styled-be2417db.js → index.styled-4a0f6ebe.js} +1 -1
  56. package/build/esm/{index.styled-35fdc194.js → index.styled-bf22f24c.js} +1 -1
  57. package/build/esm/{index.styled-9ff0f19e.js → index.styled-dc16cbc3.js} +1 -1
  58. package/build/esm/lead.js +1 -1
  59. package/build/esm/mantine.js +1 -1
  60. package/build/esm/misc.js +1 -1
  61. package/build/esm/navigation.js +1 -1
  62. package/build/esm/onboarding.js +1 -1
  63. package/build/esm/pwg.js +5 -5
  64. package/build/esm/{routing-a0880ec6.js → routing-114d001b.js} +1 -1
  65. package/build/esm/{screenSizeContext-248097b4.js → screenSizeContext-7c9a2f98.js} +4 -4
  66. package/build/esm/together.js +1 -1
  67. package/build/esm/translationsContext-f891d3d4.js +1 -0
  68. package/build/esm/translationsProvider-d7b3dea7.js +1 -0
  69. package/build/esm/{types-66276eb8.js → types-2d10a950.js} +20 -20
  70. package/build/esm/{types-c3f9a409.js → types-ddab813c.js} +1 -1
  71. package/build/esm/types.js +1 -1
  72. package/build/esm/{useHealthToolCache-89a1b727.js → useHealthToolCache-f89a92ce.js} +1 -1
  73. package/build/esm/{useRafState-4effa195.js → useRafState-4bfed545.js} +1 -1
  74. package/build/esm/{useTranslations-d99f7623.js → useTranslations-e795a197.js} +1 -1
  75. package/build/esm/{utils-e23a643c.js → utils-e5b02de6.js} +4 -4
  76. package/build/esm/vaccination.js +1 -1
  77. package/build/footer.js +1 -1
  78. package/build/gAssets.js +1 -1
  79. package/build/{getDynamicHealthTool-daed781d.js → getDynamicHealthTool-a0239156.js} +1 -1
  80. package/build/{getSocialList-e5f2406d.js → getSocialList-2d199edd.js} +1 -1
  81. package/build/hooks.js +1 -1
  82. package/build/i18n.js +1 -1
  83. package/build/index-014d05e6.js +1 -0
  84. package/build/{index-1268596e.js → index-06507b07.js} +1 -1
  85. package/build/{index-4e0cba15.js → index-0c37fc22.js} +1 -1
  86. package/build/{index-627cbabe.js → index-2519d9a4.js} +1 -1
  87. package/build/{index-9520d5f6.js → index-2c59c9d6.js} +1 -1
  88. package/build/{index-b44e09c4.js → index-30fdccee.js} +1 -1
  89. package/build/index-3aa72cc4.js +1 -0
  90. package/build/{index-9658cb4a.js → index-438c5ce2.js} +1 -1
  91. package/build/{index-57e9398a.js → index-4ed105af.js} +1 -1
  92. package/build/{index-aa0877a1.js → index-58bba357.js} +4 -4
  93. package/build/{index-ea92f8e2.js → index-58c937c4.js} +1 -1
  94. package/build/{index-43258d8d.js → index-75d906f0.js} +1 -1
  95. package/build/{index-a984fee3.js → index-af2313ef.js} +1 -1
  96. package/build/index-afe06b15.js +1 -0
  97. package/build/{index-3e288b7d.js → index-b8374598.js} +1 -1
  98. package/build/{index-f1cd46a6.js → index-bdb26abe.js} +1 -1
  99. package/build/{index-2eddc671.js → index-cd2e98ec.js} +1 -1
  100. package/build/{index-f4a8f3aa.js → index-d057e518.js} +1 -1
  101. package/build/index-d74fb38f.js +1 -0
  102. package/build/{index-0792fe96.js → index-d91562e1.js} +1 -1
  103. package/build/{index-e3be6f56.js → index-d94e21e0.js} +1 -1
  104. package/build/{index-47d82489.js → index-eacb4ad7.js} +1 -1
  105. package/build/{index-e7ed722b.js → index-f496f3a0.js} +1 -1
  106. package/build/{index-d785d4b2.js → index-f98a891a.js} +1 -1
  107. package/build/index.js +1 -1
  108. package/build/{index.styled-6d035211.js → index.styled-044c4af8.js} +1 -1
  109. package/build/{index.styled-d141fba1.js → index.styled-25574379.js} +2 -2
  110. package/build/{index.styled-b917b606.js → index.styled-4d8b969e.js} +1 -1
  111. package/build/{index.styled-7011d1d5.js → index.styled-8f1923b9.js} +1 -1
  112. package/build/{index.styled-4710e6dd.js → index.styled-af8cd8a0.js} +180 -180
  113. package/build/lead.js +1 -1
  114. package/build/mantine.js +1 -1
  115. package/build/misc.js +1 -1
  116. package/build/navigation.js +1 -1
  117. package/build/onboarding.js +1 -1
  118. package/build/pwg.js +1 -1
  119. package/build/{routing-31fdfdb5.js → routing-5740f6af.js} +1 -1
  120. package/build/{screenSizeContext-48a32d9b.js → screenSizeContext-e9eae95d.js} +1 -1
  121. package/build/together.js +1 -1
  122. package/build/translationsContext-7384db9e.js +1 -0
  123. package/build/translationsProvider-b03823da.js +1 -0
  124. package/build/{types-f0542fad.js → types-a4a6638b.js} +1 -1
  125. package/build/{types-1d461105.js → types-f621043d.js} +1 -1
  126. package/build/types.js +1 -1
  127. package/build/{useHealthToolCache-be231bcb.js → useHealthToolCache-53f866c5.js} +1 -1
  128. package/build/{useRafState-e9451f40.js → useRafState-5a0584aa.js} +1 -1
  129. package/build/{useTranslations-713d8728.js → useTranslations-9a76f69b.js} +1 -1
  130. package/build/{utils-36db5bc4.js → utils-5ca6c7de.js} +12 -12
  131. package/build/vaccination.js +1 -1
  132. package/package.json +1 -1
  133. package/build/esm/getDynamicHealthTool-19bb3b0c.js +0 -1
  134. package/build/esm/index-50159ee2.js +0 -1
  135. package/build/esm/index-7710d84f.js +0 -1
  136. package/build/esm/index-ca6954c7.js +0 -1
  137. package/build/esm/index-f2186389.js +0 -1
  138. package/build/esm/translationsContext-b1fb6a48.js +0 -1
  139. package/build/esm/translationsProvider-54458fd4.js +0 -1
  140. package/build/index-34430621.js +0 -1
  141. package/build/index-d1026893.js +0 -1
  142. package/build/index-d36b33ef.js +0 -1
  143. package/build/index-ed522578.js +0 -1
  144. package/build/translationsContext-cb6bc534.js +0 -1
  145. package/build/translationsProvider-3937fa16.js +0 -1
  146. /package/build/{BMI_BOYS.percentile.monthly-90476519.js → BMI_BOYS.percentile.monthly-3ccd7605.js} +0 -0
  147. /package/build/{BMI_BOYS.percentile.weekly-84d2a69f.js → BMI_BOYS.percentile.weekly-4a2eaac1.js} +0 -0
  148. /package/build/{BMI_BOYS.percentile.yearly-f499edae.js → BMI_BOYS.percentile.yearly-2a4a983e.js} +0 -0
  149. /package/build/{BMI_BOYS.zscore.monthly-1e1a5a36.js → BMI_BOYS.zscore.monthly-d8a57d6f.js} +0 -0
  150. /package/build/{BMI_BOYS.zscore.weekly-be7b5b39.js → BMI_BOYS.zscore.weekly-4cd99ab5.js} +0 -0
  151. /package/build/{BMI_BOYS.zscore.yearly-5bcb0d42.js → BMI_BOYS.zscore.yearly-ae5ce388.js} +0 -0
  152. /package/build/{BMI_GIRLS.percentile.monthly-37f3c8fb.js → BMI_GIRLS.percentile.monthly-f6981601.js} +0 -0
  153. /package/build/{BMI_GIRLS.percentile.weekly-ac522be8.js → BMI_GIRLS.percentile.weekly-1c472e6d.js} +0 -0
  154. /package/build/{BMI_GIRLS.percentile.yearly-2871a818.js → BMI_GIRLS.percentile.yearly-4127bbe4.js} +0 -0
  155. /package/build/{BMI_GIRLS.zscore.monthly-0f93fb57.js → BMI_GIRLS.zscore.monthly-c059e711.js} +0 -0
  156. /package/build/{BMI_GIRLS.zscore.weekly-f472646e.js → BMI_GIRLS.zscore.weekly-0b168a4e.js} +0 -0
  157. /package/build/{BMI_GIRLS.zscore.yearly-2d9b9e48.js → BMI_GIRLS.zscore.yearly-0ba01856.js} +0 -0
  158. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-2cb69a53.js → HEAD CIRCUM_BOYS.percentile.monthly-14904191.js} +0 -0
  159. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f1b79546.js → HEAD CIRCUM_BOYS.percentile.weekly-c623c565.js} +0 -0
  160. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-25e6ee49.js → HEAD CIRCUM_BOYS.percentile.yearly-9f41c492.js} +0 -0
  161. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-11c0a991.js → HEAD CIRCUM_BOYS.zscore.monthly-5210f81a.js} +0 -0
  162. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4be9a4e6.js → HEAD CIRCUM_BOYS.zscore.weekly-88dbfe9a.js} +0 -0
  163. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-e4765d60.js → HEAD CIRCUM_BOYS.zscore.yearly-d484dcc9.js} +0 -0
  164. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-21ff8d08.js → HEAD CIRCUM_GIRLS.percentile.monthly-c8f55334.js} +0 -0
  165. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-8f7a651a.js → HEAD CIRCUM_GIRLS.percentile.weekly-5cbc0b55.js} +0 -0
  166. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-1531e31d.js → HEAD CIRCUM_GIRLS.percentile.yearly-a62f3ae1.js} +0 -0
  167. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-52adb59a.js → HEAD CIRCUM_GIRLS.zscore.monthly-31349579.js} +0 -0
  168. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c095ed16.js → HEAD CIRCUM_GIRLS.zscore.weekly-22a745f4.js} +0 -0
  169. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-f694a9d4.js → HEAD CIRCUM_GIRLS.zscore.yearly-e0ecde19.js} +0 -0
  170. /package/build/{HEIGHT_BOYS.percentile.monthly-b2a8053c.js → HEIGHT_BOYS.percentile.monthly-630c2c1c.js} +0 -0
  171. /package/build/{HEIGHT_BOYS.percentile.weekly-d2b00ebf.js → HEIGHT_BOYS.percentile.weekly-1611b8c8.js} +0 -0
  172. /package/build/{HEIGHT_BOYS.percentile.yearly-95031d44.js → HEIGHT_BOYS.percentile.yearly-76d63cce.js} +0 -0
  173. /package/build/{HEIGHT_BOYS.zscore.monthly-9afa4f84.js → HEIGHT_BOYS.zscore.monthly-3886400c.js} +0 -0
  174. /package/build/{HEIGHT_BOYS.zscore.weekly-bee463f5.js → HEIGHT_BOYS.zscore.weekly-66383cac.js} +0 -0
  175. /package/build/{HEIGHT_BOYS.zscore.yearly-89eb12f3.js → HEIGHT_BOYS.zscore.yearly-05f67610.js} +0 -0
  176. /package/build/{HEIGHT_GIRLS.percentile.monthly-250615d5.js → HEIGHT_GIRLS.percentile.monthly-e9cc9148.js} +0 -0
  177. /package/build/{HEIGHT_GIRLS.percentile.weekly-84c9fd50.js → HEIGHT_GIRLS.percentile.weekly-0f4b2e45.js} +0 -0
  178. /package/build/{HEIGHT_GIRLS.percentile.yearly-780d120b.js → HEIGHT_GIRLS.percentile.yearly-0ab8ed07.js} +0 -0
  179. /package/build/{HEIGHT_GIRLS.zscore.monthly-586920c1.js → HEIGHT_GIRLS.zscore.monthly-fcf4ef86.js} +0 -0
  180. /package/build/{HEIGHT_GIRLS.zscore.weekly-518e97dc.js → HEIGHT_GIRLS.zscore.weekly-e6c213d5.js} +0 -0
  181. /package/build/{HEIGHT_GIRLS.zscore.yearly-f31c5298.js → HEIGHT_GIRLS.zscore.yearly-e134901f.js} +0 -0
  182. /package/build/{Onboarding-44bbfe67.js → Onboarding-822b335c.js} +0 -0
  183. /package/build/{Visible-4bdf574d.js → Visible-4a33f742.js} +0 -0
  184. /package/build/{WEIGHT_BOYS.percentile.monthly-5c051e09.js → WEIGHT_BOYS.percentile.monthly-1ed0f4ce.js} +0 -0
  185. /package/build/{WEIGHT_BOYS.percentile.weekly-ac194001.js → WEIGHT_BOYS.percentile.weekly-0fd06738.js} +0 -0
  186. /package/build/{WEIGHT_BOYS.percentile.yearly-f970a018.js → WEIGHT_BOYS.percentile.yearly-f92bfdef.js} +0 -0
  187. /package/build/{WEIGHT_BOYS.zscore.monthly-141dc0b8.js → WEIGHT_BOYS.zscore.monthly-b34df5f2.js} +0 -0
  188. /package/build/{WEIGHT_BOYS.zscore.weekly-3f833e14.js → WEIGHT_BOYS.zscore.weekly-b4183633.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.zscore.yearly-fc56a3a2.js → WEIGHT_BOYS.zscore.yearly-746d50e3.js} +0 -0
  190. /package/build/{WEIGHT_GIRLS.percentile.monthly-7b9b7b4f.js → WEIGHT_GIRLS.percentile.monthly-85528a2e.js} +0 -0
  191. /package/build/{WEIGHT_GIRLS.percentile.weekly-f56d91c0.js → WEIGHT_GIRLS.percentile.weekly-6481ffe3.js} +0 -0
  192. /package/build/{WEIGHT_GIRLS.percentile.yearly-b7d26c0f.js → WEIGHT_GIRLS.percentile.yearly-7bef5bcb.js} +0 -0
  193. /package/build/{WEIGHT_GIRLS.zscore.monthly-6d64ba8b.js → WEIGHT_GIRLS.zscore.monthly-fce24137.js} +0 -0
  194. /package/build/{WEIGHT_GIRLS.zscore.weekly-345dfc1f.js → WEIGHT_GIRLS.zscore.weekly-933c123f.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.zscore.yearly-1672bf13.js → WEIGHT_GIRLS.zscore.yearly-8c3b749f.js} +0 -0
  196. /package/build/{constants-0b0032f7.js → constants-fa33201d.js} +0 -0
  197. /package/build/{cookieHelper-f4347739.js → cookieHelper-8217a850.js} +0 -0
  198. /package/build/{dataTransform-e418c837.js → dataTransform-2b21b8d3.js} +0 -0
  199. /package/build/esm/{BMI_BOYS.percentile.monthly-a2f561f0.js → BMI_BOYS.percentile.monthly-221e2039.js} +0 -0
  200. /package/build/esm/{BMI_BOYS.percentile.weekly-bae55283.js → BMI_BOYS.percentile.weekly-0609009c.js} +0 -0
  201. /package/build/esm/{BMI_BOYS.percentile.yearly-e9ad63ca.js → BMI_BOYS.percentile.yearly-07de1de1.js} +0 -0
  202. /package/build/esm/{BMI_BOYS.zscore.monthly-1e45023c.js → BMI_BOYS.zscore.monthly-b10b7dd5.js} +0 -0
  203. /package/build/esm/{BMI_BOYS.zscore.weekly-879b39ee.js → BMI_BOYS.zscore.weekly-bc77101e.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.zscore.yearly-3d61be02.js → BMI_BOYS.zscore.yearly-e84b19bf.js} +0 -0
  205. /package/build/esm/{BMI_GIRLS.percentile.monthly-59253227.js → BMI_GIRLS.percentile.monthly-bc58faa7.js} +0 -0
  206. /package/build/esm/{BMI_GIRLS.percentile.weekly-d2d48c8e.js → BMI_GIRLS.percentile.weekly-19049933.js} +0 -0
  207. /package/build/esm/{BMI_GIRLS.percentile.yearly-cf9e18e3.js → BMI_GIRLS.percentile.yearly-aa02f27e.js} +0 -0
  208. /package/build/esm/{BMI_GIRLS.zscore.monthly-c1e2d506.js → BMI_GIRLS.zscore.monthly-392884d8.js} +0 -0
  209. /package/build/esm/{BMI_GIRLS.zscore.weekly-64f0306a.js → BMI_GIRLS.zscore.weekly-c1103d8e.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.zscore.yearly-90e3a5ef.js → BMI_GIRLS.zscore.yearly-72da66d0.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-582b32f2.js → HEAD CIRCUM_BOYS.percentile.monthly-71b694aa.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a5efa12d.js → HEAD CIRCUM_BOYS.percentile.weekly-88308396.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-70193e49.js → HEAD CIRCUM_BOYS.percentile.yearly-819ef588.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-46b49bca.js → HEAD CIRCUM_BOYS.zscore.monthly-0148af91.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9014b13c.js → HEAD CIRCUM_BOYS.zscore.weekly-9ef00768.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-461d0347.js → HEAD CIRCUM_BOYS.zscore.yearly-b857fc21.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-720c30a7.js → HEAD CIRCUM_GIRLS.percentile.monthly-4d6ac1ce.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-ca6b2839.js → HEAD CIRCUM_GIRLS.percentile.weekly-cc9436d6.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-10503e08.js → HEAD CIRCUM_GIRLS.percentile.yearly-90cc08d8.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-b08f8810.js → HEAD CIRCUM_GIRLS.zscore.monthly-c7bdd1df.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-07d91079.js → HEAD CIRCUM_GIRLS.zscore.weekly-7bf01211.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-de8dd841.js → HEAD CIRCUM_GIRLS.zscore.yearly-655f20d3.js} +0 -0
  223. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-bf4f01a7.js → HEIGHT_BOYS.percentile.monthly-a3da7e77.js} +0 -0
  224. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-24c0a692.js → HEIGHT_BOYS.percentile.weekly-81b4681a.js} +0 -0
  225. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-20760875.js → HEIGHT_BOYS.percentile.yearly-10eff637.js} +0 -0
  226. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6a042fd4.js → HEIGHT_BOYS.zscore.monthly-5b0dc625.js} +0 -0
  227. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-7ad04531.js → HEIGHT_BOYS.zscore.weekly-b0250574.js} +0 -0
  228. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-48c72e08.js → HEIGHT_BOYS.zscore.yearly-3ed5582c.js} +0 -0
  229. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-89d38e35.js → HEIGHT_GIRLS.percentile.monthly-7967798e.js} +0 -0
  230. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-301951e9.js → HEIGHT_GIRLS.percentile.weekly-248ea89e.js} +0 -0
  231. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-28f90eb8.js → HEIGHT_GIRLS.percentile.yearly-1096d456.js} +0 -0
  232. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-9686dc1d.js → HEIGHT_GIRLS.zscore.monthly-4d96c91d.js} +0 -0
  233. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ebf1872f.js → HEIGHT_GIRLS.zscore.weekly-1a54bd2b.js} +0 -0
  234. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-dad31e9b.js → HEIGHT_GIRLS.zscore.yearly-e67d6d25.js} +0 -0
  235. /package/build/esm/{Onboarding-d02d2429.js → Onboarding-fe443370.js} +0 -0
  236. /package/build/esm/{Visible-5f1d3327.js → Visible-1bf0ce59.js} +0 -0
  237. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-bd03e489.js → WEIGHT_BOYS.percentile.monthly-46a10c03.js} +0 -0
  238. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-592b4a69.js → WEIGHT_BOYS.percentile.weekly-6fa59484.js} +0 -0
  239. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-23f6457f.js → WEIGHT_BOYS.percentile.yearly-2e660f2c.js} +0 -0
  240. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cdc2138a.js → WEIGHT_BOYS.zscore.monthly-6e4f391f.js} +0 -0
  241. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-7a7e8ed4.js → WEIGHT_BOYS.zscore.weekly-debbea2e.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-359423e9.js → WEIGHT_BOYS.zscore.yearly-9cfee419.js} +0 -0
  243. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-2e75a94a.js → WEIGHT_GIRLS.percentile.monthly-aa4910c4.js} +0 -0
  244. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-bcc01e92.js → WEIGHT_GIRLS.percentile.weekly-96037f3b.js} +0 -0
  245. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-218b0448.js → WEIGHT_GIRLS.percentile.yearly-789367df.js} +0 -0
  246. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-8e26697d.js → WEIGHT_GIRLS.zscore.monthly-dae5c42b.js} +0 -0
  247. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-5b59d6f0.js → WEIGHT_GIRLS.zscore.weekly-533c2dbc.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d7d614fe.js → WEIGHT_GIRLS.zscore.yearly-9305a529.js} +0 -0
  249. /package/build/esm/{constants-948a102d.js → constants-3a28ca27.js} +0 -0
  250. /package/build/esm/{cookieHelper-71348695.js → cookieHelper-6b1c6e2b.js} +0 -0
  251. /package/build/esm/{dataTransform-7bceb1b0.js → dataTransform-6bd780ce.js} +0 -0
  252. /package/build/esm/{index-e6cd37f8.js → index-2c614c05.js} +0 -0
  253. /package/build/esm/{index-db98c14a.js → index-d97863e3.js} +0 -0
  254. /package/build/esm/{isProduction-41487741.js → isProduction-0319a977.js} +0 -0
  255. /package/build/esm/{localizeNumberFormat-d471f84c.js → localizeNumberFormat-0e078552.js} +0 -0
  256. /package/build/esm/{normalizeLink-8f8f4ff0.js → normalizeLink-a27a80bc.js} +0 -0
  257. /package/build/esm/{theme-ce8a5c83.js → theme-e66b6b6a.js} +0 -0
  258. /package/build/esm/{tslib.es6-b37ca7fe.js → tslib.es6-59d4d3d2.js} +0 -0
  259. /package/build/esm/{types-bc4f911a.js → types-3e4d9d87.js} +0 -0
  260. /package/build/esm/{useIsInit-972370c0.js → useIsInit-ea804b92.js} +0 -0
  261. /package/build/esm/{useOutsideClick-36db9dce.js → useOutsideClick-e112218b.js} +0 -0
  262. /package/build/esm/{useScrollbarSize-8a9479d8.js → useScrollbarSize-0aaa9b08.js} +0 -0
  263. /package/build/esm/{useUniqueId-11e7ee77.js → useUniqueId-e893306e.js} +0 -0
  264. /package/build/esm/{utils-935956f0.js → utils-bcca94e8.js} +0 -0
  265. /package/build/{index-9eb3ec25.js → index-501d8d17.js} +0 -0
  266. /package/build/{index-78719dbe.js → index-a8f2a3fc.js} +0 -0
  267. /package/build/{isProduction-6d3b3e6c.js → isProduction-84fde625.js} +0 -0
  268. /package/build/{localizeNumberFormat-3fb3a577.js → localizeNumberFormat-7ac8c7ab.js} +0 -0
  269. /package/build/{normalizeLink-f8e875e6.js → normalizeLink-2f79fb64.js} +0 -0
  270. /package/build/{theme-a791cb11.js → theme-5a5a3e10.js} +0 -0
  271. /package/build/{tslib.es6-d820cdad.js → tslib.es6-b28de9db.js} +0 -0
  272. /package/build/{types-c9342ed0.js → types-036095bd.js} +0 -0
  273. /package/build/{useIsInit-c5a1a540.js → useIsInit-9684de4d.js} +0 -0
  274. /package/build/{useOutsideClick-5b54b98c.js → useOutsideClick-bb1e6d2c.js} +0 -0
  275. /package/build/{useScrollbarSize-8f5a38d4.js → useScrollbarSize-fac5dcaf.js} +0 -0
  276. /package/build/{useUniqueId-9ce251f4.js → useUniqueId-676a9c6f.js} +0 -0
  277. /package/build/{utils-9147e638.js → utils-d9bed6d5.js} +0 -0
@@ -0,0 +1 @@
1
+ import e,{useState as t,useRef as a,useMemo as l,useEffect as n,Fragment as r,useCallback as o}from"react";import{T as i}from"./index-6f67c6c0.js";import{S as s,b as c,c as m,d,e as g,f as u,g as p,h,i as v,j as E,k as y,l as b,m as f,n as w,o as C,p as k,q as N,r as L,s as x,t as B,u as _,v as D,w as M,x as S,H as z,P as j}from"./index.styled-bf22f24c.js";import{f as A}from"./utils-bcca94e8.js";import{B as T}from"./index-35cd70a5.js";import{a as I}from"./useUniqueId-e893306e.js";import{CommonGAssets as P}from"./gAssets.js";import{t as F}from"./theme-e66b6b6a.js";import{A as $,U as O,B as H,e as W,f as G,g as R,h as V,i as U,j as Z,k as q,l as K,m as Y,n as X,o as Q,p as J,q as ee,r as te,s as ae,t as le,u as ne,v as re,w as oe,x as ie,y as se,z as ce,C as me,E as de,F as ge,G as ue,H as pe,I as he,J as ve,K as Ee,L as ye,N as be,O as fe,P as we,Q as Ce,V as ke,W as Ne,X as Le,Y as xe,Z as Be,_ as _e,$ as De,a0 as Me,a1 as Se,a2 as ze,a3 as je,a4 as Ae,a5 as Te,a6 as Ie,a7 as Pe,a8 as Fe,a9 as $e,aa as Oe,D as He,ab as We,ac as Ge,b as Re,ad as Ve,ae as Ue,af as Ze,ag as qe,ah as Ke,ai as Ye,aj as Xe,a as Qe,ak as Je,T as et,al as tt,am as at,an as lt,ao as nt,ap as rt,aq as ot,ar as it,as as st,at as ct,au as mt,av as dt,aw as gt,ax as ut,ay as pt,az as ht,aA as vt,aB as Et,aC as yt,aD as bt,aE as ft,aF as wt,aG as Ct,aH as kt,aI as Nt,aJ as Lt,aK as xt,aL as Bt,aM as _t,aN as Dt,aO as Mt,aP as St,aQ as zt,aR as jt,aS as At,aT as Tt,aU as It,aV as Pt,aW as Ft,aX as $t,aY as Ot,aZ as Ht,a_ as Wt,a$ as Gt}from"./index.styled-40d0f4c3.js";import{_ as Rt,a as Vt}from"./tslib.es6-59d4d3d2.js";import Ut from"lodash/throttle";import{useKeenSlider as Zt}from"keen-slider/react";import qt from"dayjs";import"./screenSizeContext-7c9a2f98.js";import"styled-components";import{d as Kt,L as Yt,F as Xt,Q as Qt}from"./index-a81cb6f3.js";import{i as Jt}from"./isProduction-0319a977.js";import"./Onboarding-fe443370.js";import{u as ea}from"./useTranslations-e795a197.js";import{format as ta,addDays as aa,isBefore as la,startOfMonth as na,addMonths as ra,subMonths as oa,getDaysInMonth as ia,isToday as sa,isSameDay as ca,isWithinInterval as ma,isAfter as da,isPast as ga}from"date-fns";import{I as ua}from"./index-907e0351.js";import{C as pa}from"./index-932d4d18.js";import{I as ha}from"./index-eb1a30d6.js";import{useMantineTheme as va}from"@mantine/core";import"./index.styled-dc16cbc3.js";import"./index-2c614c05.js";import"@mantine/dates";import{e as Ea,f as ya,u as ba}from"./index-59c0a034.js";import{B as fa}from"./index-f7419a02.js";import"./index-85134e64.js";import"@mantine/hooks";import{D as wa}from"./types-3e4d9d87.js";import{b as Ca,H as ka}from"./index.styled-47d7bedd.js";import{M as Na}from"./index-1d0c3835.js";import{S as La}from"./index-fd811e85.js";import{useForm as xa,Controller as Ba}from"react-hook-form";import{R as _a}from"./index-fa1d36ab.js";import{u as Da}from"./useHealthToolCache-f89a92ce.js";import{L as Ma}from"./index-f04e7055.js";import{f as Sa,a as za}from"./dataTransform-bb7523a5.js";import{a as ja}from"./useOutsideClick-e112218b.js";import Aa from"date-fns/locale/en-US";import Ta from"date-fns/locale/id";import Ia from"date-fns/locale/vi";import Pa from"date-fns/locale/zh-TW";import{g as Fa}from"./getSocialList-ecf488f0.js";var $a="CHw-fZZ",Oa="_03U6VRS",Ha="EO828Vv";const Wa=({style:t,onClose:a,text:l,type:n,contentIcon:r,closeIcon:o,className:s,description:c})=>e.createElement("div",{className:`${$a} ${s||""}`,style:t,"data-alert-type":n},e.createElement("div",{className:Oa},e.createElement("div",{className:"icon-title"},r,e.createElement(i,{type:"bold",size:"label1"},l)),e.createElement(i,{type:"regular",size:"p3"},c)),e.createElement("div",{className:Ha,onClick:a},o)),Ga=({amount:t,type:a,size:l="medium",color:n="primary",icon:r,className:o})=>e.createElement(s,{"data-notification-type":a,"data-notification-size":l,"data-notification-color":n,"data-has-icon":!!r||void 0,notificationType:a,notificationSize:l,notificationColor:n,hasIcon:!!r,className:o},e.createElement("div",null,t&&e.createElement("span",null,t)," ",r&&e.createElement("div",null,r))),Ra=({style:t,children:a,className:l,size:n="lg",type:r="bold",upperCase:o,as:i="h4",color:s})=>e.createElement(c,{style:Object.assign({color:s},t),className:l,"data-size":n,"data-type":r,"data-uppercase":o,as:i},a),Va=({className:l,value:n,options:r,onUploadSelected:o,id:i,placeholderIcon:s,placeholder:c,style:h})=>{const[v,E]=t(!1),y=()=>E(!v),b=a(r.map((t=>"upload"===t.type&&e.createElement("input",{id:"uploader-dropdown-input-"+i+"-"+t.value,key:"uploader-dropdown-input-"+i+"-"+t.value,accept:t.fileAcceptedType,multiple:t.multiple,type:"file",style:{display:"none"},onChange:e=>{console.log("change"),o(e.target.files)}})))),f=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12.17 14.83"},e.createElement("defs",null,e.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},e.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"})),e.createElement("style",null,".prefix__cls-3{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"File"),e.createElement("g",{clipPath:"url(#prefix__clip-path)"},e.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)"}),e.createElement("path",{className:"prefix__cls-3",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),w=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"download"),e.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)"})),C=e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.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 e.createElement(m,{className:l,"data-dropdown-open":!!v,id:i,"data-has-icons":!0,style:h,onBlur:()=>E(!1),tabIndex:0},e.createElement(d,{onClick:y},s||f," ",e.createElement("span",null,n&&n.value?n.label:c)),v&&e.createElement(g,{onClick:y,"data-has-icons":!0},r.map((t=>e.createElement(u,{key:`${i}-${t.value}`,"data-selected":n&&n.value===t.value||void 0,onClick:()=>{return"upload"===t.type?(a="#uploader-dropdown-input-"+i+"-"+t.value,void(null===(l=document.querySelector(a))||void 0===l||l.click())):void((e=t.url)&&window.open(e,"_blank"));var e,a,l}},e.createElement(p,null,t.icon||"download"===t.type?w:C),t.label)))),e.createElement(e.Fragment,null,b.current))},Ua=({className:t,columns:a,columnsDesktop:l,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,gap:o,children:i,justifyChildren:s,style:c,alignItems:m})=>e.createElement(h,{className:t,style:c,theme:{columns:a,columnsDesktop:l,gap:o,justifyChildren:s,gridTemplateColumns:n,gridTemplateColumnsDesktop:r,alignItems:m}},i),Za=({pagesAmount:a,activePage:l,handlePageChange:o,handleClick:i,href:s,queryPageName:c="page"})=>{const m=[...Array(a)].map(((e,t)=>t+1)),[d,g]=t(l<=4?m.slice(0,5):l>=m.length-3?m.slice(m.length-5,m.length):m.slice(l-2,l+1));return n((()=>{l<=4?g(m.slice(0,5)):l>=m.length-3?g(m.slice(m.length-5,m.length)):g(m.slice(l-2,l+1))}),[l]),e.createElement(r,null,l>4&&e.createElement(r,null,e.createElement(y,{onClick:()=>o(1)},s?e.createElement("a",{href:s,onClick:i},1):1),e.createElement(y,null,"...")),d.map((t=>e.createElement(y,{key:`pagination+${t}`,"data-page-active":t===l||void 0,onClick:()=>o(t)},s?e.createElement("a",{href:A(s,t,c),onClick:i},t):t))),l<m.length-3&&e.createElement(r,null,e.createElement(y,null,"..."),e.createElement(y,{onClick:()=>o(m.length)},s?e.createElement("a",{href:A(s,m.length,c),onClick:i},m.length):m.length)))},qa=({className:a,pagesAmount:r,currentPage:o,onChange:i,onClick:s,style:c,href:m,queryPageName:d="page"})=>{const g=[...Array(r)].map(((e,t)=>t+1)),[u,p]=t(o),h=l((()=>m&&m.endsWith("&page=")?m.replace("&page=",""):m),[m]),b=r-1,f=e=>{e<=r&&e>0&&(p(e),i(e))},w=e=>{s&&s(e)};return n((()=>{p(o)}),[o]),e.createElement(v,{className:a,style:c},e.createElement(E,{className:"prev-page",onClick:()=>f(u-1),"data-last-page":1===u||void 0},h?e.createElement("a",{href:A(h,u,d),onClick:w},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M5.5 9L1.5 5L5.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))),g.length>8?e.createElement(Za,{pagesAmount:r,activePage:u,handlePageChange:f,handleClick:w,href:h,queryPageName:d}):g.map((t=>e.createElement(y,{key:`pagination+${t}`,"data-page-active":t===u||void 0,onClick:()=>f(t)},h?e.createElement("a",{href:A(h,t,d),onClick:w},t):t))),e.createElement(E,{className:"next-page",onClick:()=>f(u+1),"data-last-page":u===b+1||void 0},h?e.createElement("a",{href:A(h,u,d),onClick:w},e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))):e.createElement("svg",{width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M1.5 9L5.5 5L1.5 1",stroke:"#2D87F3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))))},Ka=({size:t,children:a,style:l,className:n})=>e.createElement(b,{style:l,className:n,"data-shadow-size":t},a),Ya=({type:t,children:a,style:l,isInline:n,isSquared:r=!1,className:o,isLight:s,hasMorePadding:c,isLink:m,isSelected:d,textProps:g={size:"sm"}})=>{const u=g.color?{"--text-props-color":g.color}:{};return e.createElement(f,{"data-is-squared":r||void 0,"data-tag-type":t,"data-is-light":s||void 0,"data-has-more-padding":c||void 0,"data-is-inline":n||void 0,style:Object.assign(Object.assign({},l),u),className:o,"data-is-selected":d||void 0,"data-is-link":m||void 0,tagType:t,isInline:n,tagHasMorePadding:c,tagIsLight:s,tagIsSquared:r,tagIsALink:m},e.createElement(i,Object.assign({},g),a))},Xa=({className:t,id:a,onChange:l,checked:n,style:r,label:o})=>e.createElement(w,{className:t,style:r},e.createElement("input",{type:"checkbox",id:a,onChange:l,checked:n}),e.createElement("label",{htmlFor:a},e.createElement(C,null),o&&e.createElement(k,null,o))),Qa=({size:t,isDisabled:a,className:l,link:n,style:r})=>e.createElement(N,{className:l,"data-size":t,style:r,"data-disabled":a||void 0},n),Ja=({type:t,withIcon:a,onFileSelected:l,inputId:n,withElement:r,fileAcceptType:o,multiple:i,value:s,className:c})=>{const m=()=>{var e;null===(e=document.querySelector("#uploader-input-"+n))||void 0===e||e.click()};return e.createElement(L,{className:c},"badge"===t?e.createElement(x,{onClick:m,"data-is-attached-to-element":!!r},r,e.createElement(B,{"data-is-attached-to-element":!!r},a)):r?e.createElement("div",{onClick:m},r):e.createElement(T,{size:"md",color:"secondary",className:"default-button",icon:a,onClick:m},e.createElement(_,null,e.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 13.5 13.5"},e.createElement("defs",null,e.createElement("style",null,".prefix__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}")),e.createElement("title",null,"upload"),e.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")),e.createElement("input",{id:"uploader-input-"+n,accept:o,multiple:i,type:"file",style:{display:"none"},onChange:e=>{l(e.target.files)},value:s}))},el=({label:t,name:a,checked:l,className:n,isDisabled:r,onChange:o,value:i,isRectangle:s,inputDataTestId:c,siteType:m})=>e.createElement(D,{className:n,"data-disabled":r||void 0,"data-is-rectangle":s||void 0,"data-label-text":t,"data-theme":m},e.createElement("input",{type:"checkbox",checked:l,name:a,onChange:()=>o(i,!l),disabled:r,value:i,id:`${a}-${i}`,"data-label-text":t,"data-testid":c}),!s&&e.createElement("label",{htmlFor:`${a}-${i}`},t)),tl=t=>e.createElement("svg",Object.assign({},t,{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.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"})),al=t=>e.createElement("svg",Object.assign({},t,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.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"})),ll=t=>{const a=I();return e.createElement("svg",Object.assign({},t,{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}),e.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"}),e.createElement("mask",{id:a,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},e.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),e.createElement("g",{mask:`url(#${a})`},e.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"})))},nl=({gap:a=2,size:l=24,star:n,totalStars:r=5,onSelect:o,hideEmptyStars:i,style:s,className:c})=>{const m=Math.floor(n),d=n-m>=.5?1:0,[g,u]=t(null),p=g||m,h=g?0:d;return e.createElement(M,{"data-selectable":!!o,style:Object.assign({"--gap":a,"--star-size":l},s),className:c},Array.from({length:i?m+d:r}).map(((t,a)=>{const l=()=>!!o&&u(a+1),n=()=>!!o&&u(null);return a+1<=p?e.createElement(al,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:l,onMouseLeave:n}):a+1===p+h?e.createElement(ll,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:l,onMouseLeave:n}):e.createElement(tl,{key:a,onClick:()=>null==o?void 0:o(a+1),onMouseOver:l,onMouseLeave:n})})))},rl=({percent:t,style:a})=>e.createElement(S,{style:Object.assign({"--progress":t},a)});var ol="PiqKaXk",il="HgbW6-m",sl="_6lkfLYy",cl="j7c-onH";const ml=({avatarImg:t,authorName:a,authorLink:l,uploadTime:n,size:r})=>e.createElement("div",{className:cl},e.createElement("div",{className:"author"},e.createElement("div",{className:"avatar","data-size":r},t),e.createElement("div",{className:"poster","data-is-disabled-url":!l},e.createElement(i,{size:"lg"===r?"p3":"p4"},e.createElement("a",{href:l},e.createElement("span",{className:"name"},a),"•"," "),e.createElement("span",null,n))))),dl=({isMobile:t,avatarImg:a,name:l,link:n,size:r="lg",specialty:o})=>e.createElement("div",{className:cl},e.createElement("div",{className:"author"},e.createElement("div",{className:"expert-avatar","data-size":r},a),e.createElement("div",{className:"expert","data-is-disabled-url":!n},t?e.createElement("a",{href:n},"lg"===r?e.createElement(e.Fragment,null,e.createElement(z,{tag:"h6",className:"expert__name",color:F.colors.gray600},l),e.createElement(i,{color:F.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement(z,{tag:"h6",className:"expert__name",color:F.colors.gray600},l))):e.createElement("a",{href:n},"lg"===r?e.createElement(e.Fragment,null,e.createElement(z,{tag:"h6",className:"expert__name",color:F.colors.gray600},l),e.createElement(i,{color:F.colors.gray500,size:"p3",className:"specialty"},o)):e.createElement(e.Fragment,null,e.createElement("h6",{color:F.colors.gray600,className:`${ol} expert__name`},l),e.createElement(i,{color:F.colors.gray500,size:"p4",className:"specialty"},o)))))),gl=({articleLink:t,authorLink:a,authorName:l,avatarImg:n,banner:r,categoryLink:o,categoryName:s,className:c,dataEventActionForBanner:m,dataEventActionForBookmark:d,dataEventActionForCategory:g,dataEventActionForTitle:u,dataEventCategoryForBanner:p,dataEventCategoryForBookmark:h,dataEventCategoryForCategory:v,dataEventCategoryForTitle:E,dataEventLabelForBanner:y,dataEventLabelForBookmark:b,dataEventLabelForCategory:f,dataEventLabelForTitle:w,direction:C="horizontal",hasAffiliate:k,isBookmark:N=!1,isBookmarkDisplayed:L=!0,isMobile:x=!0,onBookmark:B,onClickCategoryName:_,section:D="normal",size:M="md",specialty:S,style:j,styleBanner:A,styleLabel:T,styleTitle:I,text:F,title:W,type:G="author",uploadTime:R,articleLinkTarget:V,isPremium:U})=>{const Z=e=>{e.stopPropagation(),null==B||B()},q="lg"===M&&"expert"===G?"h4":"lg"===M&&"home"===D?x?"h4":"h3":"lg"===M?"h4":"h5",K="lg"===M?"p3":"p4",Y=x||"home"!==D||"lg"!==M||"author"!==G?"c2":"c1";return e.createElement("article",{className:`${sl} ${c||""}`,"data-size":M,style:j,"data-direction":C,"data-is-expert":"expert"===G||void 0},e.createElement("div",{className:"banner",style:A},e.createElement("a",{className:il,"data-event-category":p,"data-event-action":m,"data-event-label":y,href:t||"#",target:V},r),U&&e.createElement("img",{loading:"lazy",className:"premium",src:P.getAssetPath("premium-crown.svg")}),k&&e.createElement($,null)),e.createElement("div",{className:"content"},e.createElement("div",{className:"inner-content"},e.createElement(i,{style:T,className:"label",size:Y,type:"caption"},e.createElement("a",{className:il,"data-event-category":v,"data-event-action":g,"data-event-label":f,href:o||"#",onClick:_},s),L&&e.createElement("a",{className:"bookmark",onClick:Z},N?e.createElement(H,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}):e.createElement(O,{dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}))),e.createElement(z,{tag:q,style:I,className:"title",as:"lg"===M?"h2":"h3"},e.createElement("a",{className:il,"data-event-category":E,"data-event-action":u,"data-event-label":w,href:t||"#",target:V},W)),F&&e.createElement("a",{href:t||"#",target:V},e.createElement(i,{size:K,className:"text"},F))),e.createElement("div",{className:"footer"},"author"===G?e.createElement(ml,{size:M,avatarImg:n,authorName:l,authorLink:a,uploadTime:R,handleClick:Z,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}):e.createElement(dl,{size:M,isMobile:x,avatarImg:n,specialty:S,name:l,link:a,handleClick:Z,isBookmarked:N,dataEventCategoryForBookmark:h,dataEventActionForBookmark:d,dataEventLabelForBookmark:b}))))},ul=({imgBanner:t,label:a,className:l,style:n,href:r="",dataEventCategory:o,dataEventAction:s,dataEventLabel:c})=>e.createElement(W,{"data-event-category":o,"data-event-action":s,"data-event-label":c,className:l,style:n,href:r,onClick:e=>{""===r&&e.preventDefault()}},e.createElement("div",{className:"banner"},t),e.createElement("div",{className:"content"},e.createElement(i,{className:"category_name",size:"sm",type:"bold"},a))),pl=({name:t,values:a=[],onChanges:l,options:n=[],className:r,type:o="vertical",isDisabled:i,isRectangle:s})=>{const c=(e,t)=>{const n=a.slice();if(t)n.push(e);else{const t=n.findIndex((t=>t===e));n.splice(t,1)}l&&l(n)};return e.createElement(G,{className:r,"data-type":o,"data-is-rectangle":s||void 0},n.map(((l,n)=>e.createElement(el,{label:l.label,name:t,key:`${n}-${l.value}`,checked:a.includes(l.value),value:l.value,isDisabled:i||l.disabled,onChange:!i&&c,isRectangle:s}))))},hl=({size:t,iconPosition:a,className:l,children:n,icon:r})=>e.createElement(R,{className:l,"data-size":t,"data-icon-position":a},"left"===a&&r,n,"right"===a&&r),vl=({type:a,numberOfStep:l,activeStep:r,labelPrefix:i,detailSteps:s,className:c,onChange:m})=>{const[d,g]=t(0),u=t=>{var{trackClassName:a}=t,l=Rt(t,["trackClassName"]);return e.createElement(q,Object.assign({},l,{className:a}),e.createElement(K,null))},p=e.createElement(V,{className:c+" progress-bar"},e.createElement(u,null),e.createElement((({trackLength:t,activeStep:a,labelPrefix:n="Step",onChange:r})=>e.createElement(e.Fragment,null,Array.from({length:l},((e,t)=>t)).map(((o,i)=>e.createElement(Y,{"data-is-active":i===a,"data-label":i,style:{left:i*t/(l-1)},onClick:()=>{r&&r(i)},key:i},i+1,e.createElement(X,{"data-step-passed":i<=a},n+" "+(i+1))))))),{trackLength:d,activeStep:r,labelPrefix:i,onChange:m})),h=e.createElement("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 5.5 9.5"},e.createElement("title",null,"chevron-right"),e.createElement("path",{d:"M.75 8.75l4-4-4-4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5})),v=e.createElement(U,null,s&&Array.from({length:s.length},((e,t)=>t)).map(((t,a)=>{var l;return e.createElement(Z,{key:a,"data-selected":a===r,onClick:()=>{m&&m(a)}},null===(l=s[a])||void 0===l?void 0:l.text," ",a<s.length-1&&h)}))),E=e.createElement(V,{className:c+" progress-bar"},e.createElement((({detailSteps:t,activeStep:a,onChange:l})=>e.createElement(e.Fragment,null,Array.from({length:t.length},((e,t)=>t)).map(((n,r)=>e.createElement(Q,{key:r,style:{left:100/t.length*r+"%",width:100/t.length+"%"},onClick:()=>{l&&l(r)}},t[r].icon?e.createElement(J,{onClick:()=>{l&&l(r)}},t[r].icon):e.createElement(ee,{"data-is-active":r===a,"data-label":n,onClick:()=>{l&&l(r)},key:r},r+1),e.createElement(te,{"data-step-passed":r<a+1},t[r].text,e.createElement(ae,null,t[r].description)),r<t.length-1&&e.createElement(u,{"data-step-passed":r<a,trackClassName:"progress-track","data-track-type":"detail"})))))),{activeStep:r,detailSteps:s,onChange:m})),y=o(Ut((()=>{const e=document.querySelector(".progress-bar");e&&g(e.offsetWidth)}),1e3),[]);return n((()=>{const e=document.querySelector(".progress-bar");return g(null==e?void 0:e.offsetWidth),window.addEventListener("resize",y,{passive:!0}),()=>{window.removeEventListener("resize",y)}}),[]),"step-track"===a&&p||"breadcrumb"===a&&v||"detail-track"===a&&E};var El=Object.freeze({__proto__:null,SideMenu:le,SideHeader:ne,UserInfo:re,MenuLink:oe});const yl=({status:t})=>"inActive"===t?e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})):"active"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"6",cy:"6",r:"4",fill:"#2D87F3"}),e.createElement("circle",{cx:"6",cy:"6",r:"5.5",stroke:"#2D87F3"})):"done"===t?e.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}),e.createElement("path",{d:"M8.76061 4.20029L4.80061 7.80029L3.00061 6.16392",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})):e.createElement("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("circle",{cx:"3",cy:"3",r:"3",fill:"#ADB3BC"})),bl=({row:l=2,column:r=3,isDotsShown:o=!0,isImageGalleryShown:i=!1,mode:s="infinity",type:c="separated",distanceOverlappedLeft:m={amount:0,unit:"pixel"},children:d,className:g,isProgressShown:u=!1,statusChildren:p,isArrowShown:h=!1,classNameLeftArrow:v,classNameRightArrow:E,dataEventCategory:y,dataEventAction:b,dataEventLabel:f,onChangePage:w,page:C,customPageWidth:k,scheme:N="hellosites",arrowType:L="Discover"})=>{const x="number"==typeof C,[B,_]=t(x?C:0),D=[];e.Children.map(d,((t,a)=>{a%(l*r)==0&&D.push([]),D[D.length-1].push(e.cloneElement(t))}));const M=a(),S=a(0),z=e=>{if(!M.current)return;const{clientWidth:t}=M.current,a=k||t,l="intertwined"===c?"percentage"===m.unit?e*a+m.amount/100*a*e:e*a+m.amount*a*e:e*a;M.current.scrollTo({top:0,left:l,behavior:"smooth"}),S.current=e,_(e),w&&w(e)};n((()=>{"number"==typeof C&&(e=>{if(!M.current)return;const{clientWidth:t}=M.current,a=k||t,l="intertwined"===c?"percentage"===m.unit?e*a+m.amount/100*a*e:e*a+m.amount*a*e:e*a;M.current.scrollTo({top:0,left:l,behavior:"smooth"}),S.current=e,_(e)})(C)}),[C]);const j=e=>{if(!M.current)return;const{clientWidth:t}=M.current,a=k||t;let l;l=0===B?0:B*a,"forward"===e&&(l===a*(D.length-1)?(_(D.length-1),l=a*(D.length-1),w&&w(D.length-1)):(_(B+1),l+=a,w&&w(B+1)),M.current.scrollTo({top:0,left:l,behavior:"smooth"})),"back"===e&&(0===l?(_(0),w&&w(0),l=0):(_(B-1),w&&w(B-1),l-=a),M.current.scrollTo({top:0,left:l,behavior:"smooth"}))},A=Ut((()=>{if("infinity"===s){if(!M.current)return;const{clientWidth:e,scrollLeft:t}=M.current,a=k||e,l=Math.floor(t/a);_(l),w&&w(l)}}),400);return n((()=>{if("snapped"===s){let e,t,a,l,n,r,o=!1;const i=M.current,s=(r,s)=>{o=!0,a=!1,l=!1,e=r-i.offsetLeft,t=s-i.offsetTop,n=i.scrollLeft},d=e=>{s(e.pageX,e.pageY)},g=e=>{s(e.touches[0].pageX,e.touches[0].pageY)},u=()=>{if(o=!1,a=!1,l=!1,!M.current)return;const{clientWidth:e}=M.current,t=k||e,n="ltr"===r?0!==S.current?S.current-1:S.current:"rtl"===r&&S.current<D.length-1?S.current+1:S.current,i="intertwined"===c?"percentage"===m.unit?n*t+m.amount/100*t*n:n*t+m.amount*t*n:n*t;M.current.scrollTo({top:0,left:i,behavior:"smooth"}),r="none",S.current!==n&&(S.current=n,_(n),w&&w(n))},p=(s,c)=>{if(!o)return;const m=s-i.offsetLeft,d=c-i.offsetTop,g=m-e,u=d-t;a||l||!(u>20||u<-20)||(a=!0),!a&&(g>20||g<-20)&&(l=!0,i.scrollLeft=n-g,g>0&&(r="ltr"),g<0&&(r="rtl"),0===g&&(r="none"))},h=e=>{l&&e.preventDefault(),p(e.pageX,e.pageY)},v=e=>{l&&e.preventDefault(),p(e.touches[0].pageX,e.touches[0].pageY)};return null==i||i.addEventListener("mousedown",d,{passive:!0}),null==i||i.addEventListener("touchstart",g,{passive:!0}),window.addEventListener("mouseup",u,{passive:!0}),window.addEventListener("touchend",u,{passive:!0}),null==i||i.addEventListener("mousemove",h,{passive:!0}),null==i||i.addEventListener("touchmove",v,{passive:!0}),()=>{null==i||i.removeEventListener("mousedown",d),null==i||i.removeEventListener("touchstart",g),window.removeEventListener("mouseup",u),window.removeEventListener("touchend",u),null==i||i.removeEventListener("mousemove",h),null==i||i.removeEventListener("touchmove",v)}}}),[]),e.createElement(ie,{className:g,"data-row":l,onScroll:A},h&&B>0&&e.createElement("div",{className:`${v} arrow-left`,onClick:()=>j("back"),"data-event-category":y,"data-event-action":b,"data-event-label":f},"Care"===L?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12599_34420)"},e.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"}),e.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"}),e.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"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12599_34420",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.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"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.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"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12599_34420"}),e.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"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.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"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12599_34420",result:"effect2_dropShadow_12599_34420"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12599_34420",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9997 11.1109L11.1108 15.9998L15.9997 20.8887",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M20.8886 15.999L11.1108 15.999",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),e.createElement("div",{ref:M,className:"container",style:{overflowX:"snapped"===s||h?"hidden":"scroll"}},D.map(((t,a)=>{let n=0;for(let e=0;e<a;e++)n+=D[e].length;return e.createElement("div",{key:a,className:"section",style:{marginLeft:"intertwined"===c&&0!==a?m.amount+""+("percentage"===m.unit?"%":"px"):"0px"}},1===l&&u&&e.createElement("div",{className:"progress-bar",style:{gridTemplateColumns:`repeat(${r}, 1fr)`}},t.map(((l,r)=>{const o=n+r,i=p.find((e=>e.index===o));return e.createElement("div",{className:"items-progress",key:r},0===r&&0===a?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}),e.createElement("div",{className:"icon-status"},e.createElement(yl,{status:null==i?void 0:i.status})),a===D.length-1&&r===t.length-1?e.createElement("div",{className:"line",style:{visibility:"hidden"}}):e.createElement("div",{className:"line"}))}))),e.createElement("div",{className:"grid-layout","data-index":a,style:{gridTemplateColumns:`repeat(${r}, 1fr)`,gridTemplateRows:`repeat(${l}, 1fr)`}},t.map(((t,a)=>e.createElement(e.Fragment,{key:a},e.createElement("div",{className:"item-grid",key:a},t))))))}))),h&&B<D.length-1&&e.createElement("div",{className:`${E} arrow-right`,onClick:()=>j("forward"),"data-event-category":y,"data-event-action":b,"data-event-label":f}," ","Care"===L?e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none"},e.createElement("g",{filter:"url(#filter0_dd_12597_34423)"},e.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"}),e.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"}),e.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"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_dd_12597_34423",x:"0.000244141",y:"0",width:"42",height:"42",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),e.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"}),e.createElement("feOffset",{dx:"-2",dy:"2"}),e.createElement("feGaussianBlur",{stdDeviation:"2.5"}),e.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"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_12597_34423"}),e.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"}),e.createElement("feOffset",{dx:"-1",dy:"1"}),e.createElement("feGaussianBlur",{stdDeviation:"1"}),e.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"}),e.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_12597_34423",result:"effect2_dropShadow_12597_34423"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_12597_34423",result:"shape"})))):e.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M15.9998 20.8891L20.8887 16.0002L15.9998 11.1113",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("path",{d:"M11.1109 16L20.8887 16",stroke:"hellosites"===N?"#2D87F3":"#e85388",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o&&e.createElement("ul",{className:"bullet-nav"},D.map(((t,a)=>e.createElement("li",{key:a,className:"bullet-nav__item "},e.createElement("p",{onClick:()=>z(a),className:`bullet-nav__link scroll ${B==a?"active":null}`,"data-scheme":N}))))),i&&e.createElement("div",{className:"image-gallery-wrapper","data-test":D.length},D.slice(0,3).map(((t,a)=>e.createElement("div",{className:`image-block ${B==a?"active":null}`,key:a,onClick:()=>z(a),"data-scheme":N},t)))))},fl=({isDisabled:t,isLeft:a,onClick:l,className:n,scheme:r="hellosites"})=>e.createElement(me,{onClick:l,"data-is-disabled":t,"data-is-left":a,className:n},e.createElement("svg",{width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a?e.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"===r?"#595959":"#E55C8A"}):e.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"===r?"#595959":"#E55C8A"}))),wl=({row:a,column:l,children:n,scheme:r="hellosites",classNameLeftArrow:o="",classNameRightArrow:i="",mode:s="snap",isDotsShown:c=!0,isArrowShown:m=!1,dataEventCategory:d,dataEventAction:g,dataEventLabel:u,onChangePage:p})=>{const[h,v]=e.useState(0),[E,y]=t(!1),[b,f]=Zt({defaultAnimation:{duration:1e3},initial:0,slideChanged(e){v(e.track.details.rel),p&&p(e.track.details.rel)},created(){y(!0)},drag:!0,mode:s,slides:{spacing:12}}),w=[],C=a*l;for(let e=0;e<n.length;e+=C){const t=n.slice(e,e+C);w.push(t)}return e.createElement(se,{row:a,column:l},e.createElement("div",{className:"navigation-wrapper"},e.createElement("div",{ref:b,className:"keen-slider slides-wrapper"},w.map(((t,a)=>e.createElement("div",{key:a,className:"keen-slider__slide page-items"},t.map(((t,a)=>e.createElement("div",{key:a},t))))))),E&&f.current&&m&&e.createElement(e.Fragment,null,e.createElement(fl,{isLeft:!0,onClick:e=>{var t;return e.stopPropagation()||(null===(t=f.current)||void 0===t?void 0:t.prev())},isDisabled:0===h,scheme:r,className:`left-arrow ${o}`,"data-event-category":d,"data-event-action":g,"data-event-label":u}),e.createElement(fl,{isLeft:!1,onClick:e=>{var t;return e.stopPropagation()||(null===(t=f.current)||void 0===t?void 0:t.next())},isDisabled:h===f.current.track.details.slides.length-1,scheme:r,className:`right-arrow ${i}`,"data-event-category":d,"data-event-action":g,"data-event-label":u}))),E&&f.current&&c&&e.createElement("div",{className:"dots"},[...Array(f.current.track.details.slides.length)].map(((t,a)=>e.createElement(ce,{key:a,onClick:()=>{var e;null===(e=f.current)||void 0===e||e.moveToIdx(a)},"data-is-active":h===a,"data-is-hellosites":"hellosites"===r})))))},Cl=({type:t,description:a,value:l,withIcon:n,isInACard:r,cardColor:o,className:i})=>e.createElement(de,{className:i,"data-size":t,"data-is-in-card":"big"===t&&r,"data-card-color":o},e.createElement(ge,null,"small"===t&&e.createElement(ue,{"data-color":o}),a),e.createElement(pe,{"data-size":t},"small"!==t&&n,l));var kl=Object.freeze({__proto__:null,Table:he,Cell:ve,Head:Ee,Row:ye,Body:be});const Nl=({thankyou:t,thankyouSubtitle:a,className:l,style:n})=>e.createElement(fe,{className:l,style:n},e.createElement("div",{className:"survey-inner-wrapper"},e.createElement(we,null,e.createElement("div",{className:"survey-thankyou-wrapper-inner"},e.createElement("svg",{viewBox:"0 0 122 122",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"survey-thankyou-icon"},e.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:F.colors.primary50}),e.createElement("ellipse",{cx:"61.5",cy:"110.36",rx:"48",ry:"3.36",fill:"#91CAFF"}),e.createElement("path",{d:"M82.9048 72.6663H101.5L87.597 40H35.403L21.5 72.6663H40.0952V91H83.0786L82.9048 72.6663Z",fill:"#2C74DF"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"})),t&&e.createElement(z,{className:"survey-thankyou-title",tag:"h3"},t),a&&e.createElement(i,{className:"survey-thankyou-subtitle",size:"p3"},a))))),Ll=({items:a,className:l,style:r,backgroundPanelStyle:o,isOpen:i,onOpen:s,onClose:c,disableBackdropClick:m,siteType:d="hb",animationType:g="zoom",zIndex:u=300})=>{const[p,h]=t(!!i);n((()=>{h(!!i)}),[i]);const v=()=>{h(!1),c&&c()};return e.createElement(Ce,{style:r,className:l,"data-floatmenu-open":p,"data-site-type":d,"data-animation-type":g},e.createElement(ke,{className:"float-button-group__panel",style:Object.assign({zIndex:u},o),onClick:m?void 0:v}),e.createElement(Ne,{className:"float-button-group___content",style:{zIndex:u}},e.createElement(Le,null,a.map(((t,l)=>e.createElement(xe,{className:`float-item-button-${l}`,style:Object.assign(Object.assign({},"zoom"===g&&{bottom:64*(a.length-1-l),transitionDelay:Be/a.length*(p?a.length-1-l:l)+"ms"}),"slide"===g&&{bottom:64*(a.length-1-l),transitionDelay:Be/a.length*(p?l:a.length-1-l)+"ms"}),key:l,onClick:()=>{t.onClick(),t.keepMenuOnClick||h(!1)}},e.createElement(_e,{style:Object.assign({},"zoom"===g&&{transitionDelay:Be/a.length*(p?a.length-1-l:l)+"ms"})},t.label),e.createElement(De,{className:"float-item-button__icon-wrapper",style:Object.assign({},("zoom"===g||"slide"===g)&&{transitionDelay:Be/a.length*(p?a.length-1-l:l)+"ms"})},t.icon))))),e.createElement(Me,{onClick:p?v:()=>{h(!0),s&&s()}})))},xl=({className:t,policiesUrl:a,onAcceptClick:l,translations:n={acceptButton:"Accept",policiesButton:"Our Policies"},title:r="",description:o="",theme:i="helloSites",isOpen:s=!0,useDefaultPosition:c=!0,trackingAttributes:m})=>e.createElement(Se,{className:t,"data-theme":i,"data-is-open":s,"data-default-position":c},e.createElement(ze,{"data-has-content":!!r},r),e.createElement(je,{dangerouslySetInnerHTML:{__html:o}}),e.createElement(Ae,null,e.createElement(Te,{role:"button",tabIndex:0,on:"tap:consent-element.accept",onClick:l,"data-event-category":null==m?void 0:m.dataEventCategory,"data-event-action":null==m?void 0:m.dataEventAction,"data-event-label":null==m?void 0:m.dataEventLabel},n.acceptButton),e.createElement(Ie,{href:a},n.policiesButton))),Bl=({SEOData:t={},locale:a="vi-VN",routerPathname:n,routerQuery:r,nextHead:o,siteType:i,seoCustom:s,userId:c,forcedCanonicalUrl:m})=>{var d,g,u,p,h,v,E,y,b,f,w,C;const{totalPages:k,currentPage:N,SEOTitle:L="",SEODescription:x="",SEOImage:B,seoType:_,SEOImageWidth:D,SEOImageHeight:M,customMetaData:S=[],isIndexable:z=!0,hasNoCanonical:j=!1}=t,A=z&&Jt?"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1":"noindex",{NEXT_PUBLIC_BASE_API_URL:T}=process.env;let I=t.canonicalUrl||n;Object.keys(r).forEach((e=>{const t=r[e];t&&Array.isArray(t)&&(I=I.replace(`[...${e}]`,t.join("/")))}));const P=a||"en-PH",F="helloSites"===i?Kt[P]:"www.marrybaby.vn",$=I.endsWith("/")?"":"/",O=l((()=>{var l,n,r,o,i,s,c;let m="";if(t.apiMetaData&&"string"==typeof t.apiMetaData){const d=null===(l=t.apiMetaData)||void 0===l?void 0:l.match(/<title.*?>(.*)<\/title>/),g=` - Page ${N} of ${k}`,u=N&&1!==N&&d?t.apiMetaData.replace(d[0],d[0].includes("-")?d[0].replace("-",g+" - "):`<title>${d[1].concat(g)}</title>`).replace(`<link rel="canonical" href="https://${F}${I}${$}" />`,`<link rel="canonical" href="https://${F}${I}${$}?page=${N}" />`):t.apiMetaData;if(m=Pe(u,{trim:!0}),!m.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 l=`https://${F}/images/${a}.png`;m=[...m,e.createElement("meta",{key:"og:image",property:"og:image",content:(null===(n=t.openGraph)||void 0===n?void 0:n.image)||B||l||""}),e.createElement("meta",{key:"og:image:secure_url",property:"og:image:secure_url",content:(null===(r=t.openGraph)||void 0===r?void 0:r.image)||B||l}),e.createElement("meta",{key:"og:image:width",property:"og:image:width",content:(null===(o=t.openGraph)||void 0===o?void 0:o.imageWidth)&&String(null===(i=t.openGraph)||void 0===i?void 0:i.imageWidth)||D&&String(D)||"1200"}),e.createElement("meta",{key:"og:image:height",property:"og:image:height",content:(null===(s=t.openGraph)||void 0===s?void 0:s.imageHeight)&&String(null===(c=t.openGraph)||void 0===c?void 0:c.imageHeight)||M&&String(M)||"630"})]}}return m}),[t.apiMetaData,t.openGraph,B,M,D,N,I,k,a,F]),H=`https://${F}/images/${a}.png`;return e.createElement(o,null,e.createElement("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),"marryBaby"===i&&e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Inter&family=Krub:wght@600&display=swap",rel:"stylesheet"}),"km-KH"===a?e.createElement("link",{href:"https://fonts.googleapis.com/css2?family=Battambang:wght@400;700&display=swap",rel:"stylesheet"}):"id-ID"===a||"ms-MY"===a?e.createElement(e.Fragment,null):e.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"}),e.createElement("link",{rel:"preconnect",href:T}),e.createElement("meta",{charSet:"UTF-8"}),e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"}),e.createElement("meta",{name:"google",content:"notranslate"}),e.createElement("meta",{name:"robots",content:A}),e.createElement("meta",{property:"fb:app_id",content:"653713035016537"}),S.map(((t,a)=>e.createElement("meta",Object.assign({key:a},t)))),e.createElement("meta",{name:"theme-color",content:"helloSites"===i?"#2c87f3":"#e85388"}),e.createElement("meta",{name:"page_type",content:"Home"}),e.createElement("meta",{name:"page_platform",content:"WEB"}),e.createElement("meta",{name:"page_language",content:P}),e.createElement("meta",{name:"ahrefs-site-verification",content:"46e7521a2b89a1013149c4685bbe02a1d36a4732fef98655142b829bc87cba4d"}),!O&&e.createElement(e.Fragment,null,"helloSites"===i?e.createElement("title",null,s?L:L+" - "+(null===(d=Yt[a])||void 0===d?void 0:d.SITE_NAME)):e.createElement("title",null,L),!j&&e.createElement("link",{rel:"canonical",href:`https://${F}${I}`}),e.createElement("meta",{name:"description",content:x||(null===(g=t.openGraph)||void 0===g?void 0:g.description)}),t.schemaData&&e.createElement("script",{type:"application/ld+json",className:"yoast-schema-graph",dangerouslySetInnerHTML:{__html:t.schemaData}}),e.createElement("meta",{property:"og:locale",content:a}),e.createElement("meta",{property:"og:type",content:_||"website"}),e.createElement("meta",{property:"og:title",content:(null===(u=t.openGraph)||void 0===u?void 0:u.title)||L}),e.createElement("meta",{property:"og:description",content:(null===(p=t.openGraph)||void 0===p?void 0:p.description)||x}),e.createElement("meta",{property:"og:url",content:`https://${F}${I}`}),e.createElement("meta",{property:"og:site_name",content:`https://${F}`}),e.createElement("meta",{property:"og:image",content:(null===(h=t.openGraph)||void 0===h?void 0:h.image)||B||H||""}),e.createElement("meta",{property:"og:image:secure_url",content:(null===(v=t.openGraph)||void 0===v?void 0:v.image)||B||H}),e.createElement("meta",{property:"og:image:width",content:(null===(E=t.openGraph)||void 0===E?void 0:E.imageWidth)&&String(null===(y=t.openGraph)||void 0===y?void 0:y.imageWidth)||D&&String(D)||"1200"}),e.createElement("meta",{property:"og:image:height",content:(null===(b=t.openGraph)||void 0===b?void 0:b.imageHeight)&&String(null===(f=t.openGraph)||void 0===f?void 0:f.imageHeight)||M&&String(M)||"630"}),e.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),e.createElement("meta",{name:"twitter:title",content:(null===(w=t.twitter)||void 0===w?void 0:w.title)||L}),e.createElement("meta",{name:"twitter:description",content:x}),e.createElement("meta",{name:"twitter:image",content:(null===(C=t.twitter)||void 0===C?void 0:C.image)||B})),("helloSites"===i?Xt[P]||[]:Xt.marryBaby).map(((t,a)=>"link"===t.type?e.createElement("link",{key:`favicon-${a}`,rel:t.rel,href:t.href,sizes:t.sizes}):"meta"===t.type?e.createElement("meta",{key:a,name:t.name,content:t.content}):null)),Array.isArray(O)&&m?O.filter((e=>"canonical"!==e.props.name&&"canonical"!==e.props.rel)):O,m&&e.createElement("link",{rel:"canonical",href:m}),!t.hasNoAmp&&"vi-VN"!==a&&e.createElement("link",{rel:"amphtml",href:`https://${F}${I}${$}?amp=1`}),c&&"undefined"!=typeof window?e.createElement("script",{dangerouslySetInnerHTML:{__html:`window.dataLayer = window.dataLayer || []; window.dataLayer.push({'userID': '${c}'});`}}):null)},_l=({locale:a,onClick:l,siteType:n,pageUrl:r})=>{const{t:o}=ea(),[s,c]=t(new Date);return e.createElement(e.Fragment,null,e.createElement(Fe,{className:"input-form","data-is-side":!0},"marryBaby"===n?e.createElement($e,{label:o("dueDatePage.conceptionDate"),name:"date",size:"md",value:Oe(s),CustomInput:e.createElement(He,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(ua,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&qt(s).format(Ca)}))}),actionIcon:e.createElement(ha.CalendarMB,{size:32})}):e.createElement(ua,{label:e.createElement(i,{size:"n1",type:"bold",color:F.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.conceptionDate")),value:Oe(s),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(He,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Oe(s)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:s,displayDateFormat:wa,onChange:e=>{c(e)},placeholder:"placeholder"})})),e.createElement(fa,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{l(We(s),`${Qt.type}=1&sd=${ta(s,Ge)}&${Qt.additional}= `)},role:"button"},o("dueDatePage.lastPeriod.calculate")))},Dl=({locale:a,onClick:l,siteType:n,pageUrl:r})=>{const{t:o}=ea(),[s,c]=t(new Date),[m,d]=t("3");return e.createElement(e.Fragment,null,e.createElement(Fe,{className:"input-form","data-is-side":!0},"marryBaby"===n?e.createElement($e,{label:o("dueDatePage.ivf.transferDate"),name:"date",size:"md",value:Oe(s),CustomInput:e.createElement(He,{onChange:e=>{c(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(ua,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&qt(s).format(Ca)}))}),actionIcon:e.createElement(ha.CalendarMB,{size:32})}):e.createElement(ua,{label:e.createElement(i,{size:"n1",type:"bold",color:F.colors.gray700,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.ivf.transferDate")),value:Oe(s),name:"date",size:"md",className:"due-date-input",CustomInput:e.createElement(He,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Oe(s)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:s,displayDateFormat:wa,onChange:e=>{c(e)},placeholder:"placeholder"})})),e.createElement("div",{style:{width:"100%"}},e.createElement(Re,{id:"radio-transfer-date",type:"circle",direction:"vertical",size:"small",group:"group1",value:m,onChange:e=>d(e),options:[{value:"3",label:o("dueDatePage.ivf.transferDateRadio",{number:3})},{value:"5",label:o("dueDatePage.ivf.transferDateRadio",{number:5})}]})),e.createElement(fa,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,onClick:()=>{l(Ve(s,Number(m)),`${Qt.type}=2&${Qt.startDate}=${ta(s,Ge)}&${Qt.additional}=${m}`)},role:"button"},o("dueDatePage.lastPeriod.calculate")))},Ml=({locale:a,onClick:l,siteType:n,pageUrl:r})=>{const{t:o}=ea(),[s,c]=t(28),[m,d]=t(new Date);return e.createElement(e.Fragment,null,e.createElement(Fe,{className:"input-form","data-is-side":!0},"marryBaby"===n?e.createElement($e,{label:o("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:Oe(m),CustomInput:e.createElement(He,{onChange:e=>{d(e)},placeholder:"dd/mm/yyyy",pickedDate:m,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:new Date((new Date).getTime()-24192e6)},customInput:t=>e.createElement(ua,Object.assign({name:"birthday",size:"md"},t,{value:m&&qt(m).format(Ca)}))}),actionIcon:e.createElement(ha.CalendarMB,{size:32})}):e.createElement(ua,{className:"input-section due-date-input",label:e.createElement(i,{size:"n1",type:"bold",color:F.colors.gray600,style:{marginBottom:"9px",flex:"1"}},o("dueDatePage.lastPeriod.lastPeriodLabel")),value:Oe(m),name:"date",size:"md",CustomInput:e.createElement(He,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Oe(m)})),disabledDays:{before:new Date((new Date).getTime()-24192e6)},locale:a,pickedDate:m,displayDateFormat:wa,onChange:e=>{d(e)},placeholder:"placeholder"})})),e.createElement("div",{className:"slider-due-date","data-theme":"marryBaby"===n?"marryBaby":""},"marryBaby"===n?e.createElement(Na,{type:"bodytext-3",color:F.mbColors.midGray},o("dueDatePage.lastPeriod.periodLengthLabel")):e.createElement(i,{size:"n1",type:"bold",color:F.colors.gray600,style:{marginBottom:"0.5rem"}},o("dueDatePage.lastPeriod.periodLengthLabel")),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&e.createElement(i,{size:"s3",type:"bold",color:F.colors.gray600},s),e.createElement(La,{containerStyle:{flex:1},min:20,max:40,step:1,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,onChange:c,value:s,label:"marryBaby"!==n?void 0:null}))),e.createElement(fa,{dataEventCategory:"Health Tool",dataEventAction:"Due Date",dataEventLabel:r,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",onClick:()=>l(Ue(m,s),`${Qt.type}=0&${Qt.startDate}=${ta(m,Ge)}&${Qt.additional}=${s}`),role:"button"},o("dueDatePage.lastPeriod.calculate")))},Sl=({onSubmitDueDate:a,locale:n,isSide:r,siteType:o})=>{const{t:s}=ea(),[c,m]=t(Ze.lastPeriod),d=[{value:Ze.lastPeriod,label:s("dueDatePage.lastPeriod")},{value:Ze.conception,label:s("dueDatePage.conceptionDate")},{value:Ze.IVF,label:s("dueDatePage.ivf")}],g=l((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(qe,null,e.createElement(Ke,{className:"input-form input-section","data-is-side":!0},"marryBaby"===o?e.createElement(Ye,{groupedWithLabel:s("dueDatePage.calculationMethod"),options:d,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[c],onChange:e=>{m(e.value)}}):e.createElement(e.Fragment,null,e.createElement(i,{size:"n1",type:"bold",color:F.colors.gray600,style:{marginBottom:"9px",flex:"1"}},s("dueDatePage.calculationMethod")),e.createElement(Xe,{"data-is-side":r},e.createElement(Qe,{options:d,placeholder:s("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"md",value:d[c],onChange:e=>{m(e.value)}})))),c===Ze.lastPeriod?e.createElement(Ml,{locale:n,onClick:a,isSide:r,siteType:o,pageUrl:g}):null,c===Ze.conception?e.createElement(_l,{locale:n,onClick:a,isSide:r,siteType:o,pageUrl:g}):null,c===Ze.IVF?e.createElement(Dl,{locale:n,onClick:a,isSide:r,siteType:o,pageUrl:g}):null)},zl=({isMobile:t,locale:a,onSubmitDueDate:l,dueDatePageInfo:n,expertUrl:r,isSide:o,siteType:s})=>{var c;const{t:m}=ea();return e.createElement(Je,{"data-is-side":o,"data-site":s},e.createElement(et,{isSide:o,bannerUrl:P.getAssetPath("embedToolBannerPink.svg"),siteType:s,bannerColor:"marryBaby"===s&&F.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==n?void 0:n.featured_image,style:"marryBaby"!==s?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:m("healthTools.dueDateCalculator"),medicalReview:(null===(c=null==n?void 0:n.reviewed_by)||void 0===c?void 0:c.display_name)?e.createElement(i,{size:"label2",color:F.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:t}),e.createElement(tt,{onSubmit:e=>e.preventDefault(),className:"due-date-cal","data-is-side":o},e.createElement(Sl,{siteType:s,locale:a,onSubmitDueDate:l,isSide:o})))};function jl({weight:e,height:t}){const a=t/100,l=e;return Math.round(l/(a*a)*10)/10}const Al=({value:a,onChange:r,onSubmit:o,disabled:s,bmiGenerated:c,bmiUnit:m,locale:d,isSide:g})=>{var u,p,h,v;const[E,y]=t(!1),{control:b,handleSubmit:f,setValue:w,watch:C}=xa(),k=C(),{t:N}=ea(),{gender:L=!1,age:x=!1,height:B=!1,weight:_=!1,objective:D=!0}=s||{},{getHealthToolLink:M}=Da(d),S=l((()=>M(ka.OVULATION)),[M]),z=l((()=>[{value:"male",label:N("gender.male"),content:e.createElement(ha.GenderChooseBoy,null)},{value:"female",label:N("gender.female"),content:e.createElement(ha.GenderChooseGirl,null)}]),[]),j=l((()=>[{value:"lose-weight",label:N("bmi.objective.loseWeight")},{value:"maintain-weight",label:N("bmi.objective.maintainWeight")},{value:"gain-weight",label:N("bmi.objective.gainWeight")}]),[]),A=()=>{y(!0)};return n((()=>{Object.keys(a||{}).forEach((e=>{w(e,null==a?void 0:a[e],{shouldTouch:!1,shouldDirty:!1,shouldValidate:!1})}))}),[a]),n((()=>{r&&r(k)}),[k]),e.createElement(at,null,e.createElement("form",{onSubmit:f((e=>Vt(void 0,void 0,void 0,(function*(){const t=m.heightConvert(e.height),a=m.weightConvert(e.weight),l={gender:e.gender,age:e.age,height:t,weight:a,bmi:jl({height:t,weight:a})};D||(l.objective=e.objective),A(),o&&o(l)}))),A)},!L&&e.createElement(lt,{"data-is-side":g},e.createElement(Ba,{name:"gender",control:b,defaultValue:"male",render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(nt,{size:"md",name:t,label:c.gender.label,CustomInput:e.createElement(_a,{options:z,value:a,onChange:e=>l(e),className:"bmi--input-radio_gender "+(g?"bmi-side-embed":"")}),errorMessage:E?null==n?void 0:n.message:"",className:"bmi--input bmi--input-gender"})})),e.createElement(rt,{"data-is-side":g},!x&&e.createElement(lt,null,e.createElement(Ba,{name:"age",control:b,rules:null===(u=c.age)||void 0===u?void 0:u.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(Ea.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray600},c.age.label),placeholder:N("healthtool.placeholder.age"),name:t,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!B&&e.createElement(lt,null,e.createElement(Ba,{name:"height",control:b,rules:null===(p=c.height)||void 0===p?void 0:p.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(Ea.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray600},c.height.label),placeholder:N("pwg.placeholder.height"),name:t,value:a,onChange:l,error:E?null==n?void 0:n.message:"",min:0})})),!_&&e.createElement(lt,null,e.createElement(Ba,{name:"weight",control:b,rules:null===(h=c.weight)||void 0===h?void 0:h.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(Ea.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray600},c.weight.label),placeholder:N("pwg.placeholder.weight"),name:t,value:a,onChange:l,error:E?null==n?void 0:n.message:"",precision:1,min:0})})),!D&&e.createElement(lt,null,e.createElement(Ba,{name:"objective",control:b,defaultValue:"lose-weight",rules:null===(v=c.objective)||void 0===v?void 0:v.rule,render:({field:{name:t,value:a,onChange:l},fieldState:{error:n}})=>e.createElement(nt,{size:"md",name:t,label:c.objective.label,CustomInput:e.createElement(Re,{id:"bmi-objective",className:"bmi-objective",type:"circle",direction:"vertical",size:"small",group:"group1",options:j,value:a,onChange:l}),errorMessage:E?null==n?void 0:n.message:"",className:"bmi--input bmi--input-objective"})}))),e.createElement("div",{style:{display:"flex"}},e.createElement(ot,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMI",dataEventLabel:`https://${Kt[d]}/${S}`},N("bmi.submit")))))},Tl=({isMobile:t,onSubmit:a,bmiContent:l,isSide:n,bmiGenerated:r,bmiUnit:o,bmiLink:s,locale:c})=>{var m,d,g;const{t:u}=ea();return e.createElement(Je,{"data-is-side":n},e.createElement(et,{isSide:n,bannerUrl:P.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:u("bmi.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?e.createElement(i,{size:"n1",color:F.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(d=null==l?void 0:l.reviewBy)||void 0===d?void 0:d.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),e.createElement("span",null)):void 0,isMobile:t}),e.createElement(pa,null,e.createElement(tt,{as:"div","data-is-side":n},s&&e.createElement(Al,{onSubmit:a,bmiGenerated:r,locale:c,bmiUnit:o,isSide:n}))))},Il=({isMobile:t,className:a,onSubmit:l,onError:n,schema:r,babyGrowthContent:o,siteType:s})=>{var c;const{t:m}=ea();return e.createElement(Je,{"babyGrowthContent-is-mobile":t,"data-site":s},e.createElement(et,{siteType:s,bannerUrl:P.getAssetPath("embedToolBannerBlue.svg"),bannerUrlLarge:P.getAssetPath("embedToolBannerBlue.svg"),bannerColor:"marryBaby"===s&&F.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{className:"embedded-icon",alt:"health-tool-icon",src:(null==o?void 0:o.featuredImage)||""}),heading:(null==o?void 0:o.title)||"",medicalReview:(null===(c=null==o?void 0:o.reviewBy)||void 0===c?void 0:c.reviewer)?e.createElement(i,{size:"label2",color:F.colors.white,className:"embedded-review",dangerouslySetInnerHTML:{__html:m("toolPage.toolReviewer",{expert_name:`<a style="color: white" href="${o.reviewBy.link||"#"}">${o.reviewBy.reviewer.trim()}</a>`,date:o.reviewBy.date})}}):void 0,isMobile:t}),e.createElement(it,{"data-theme":s},e.createElement(st,{siteType:s,schema:r,className:a,onSubmit:l,onError:n})))},Pl=({babyPoopPage:t,onClickFindOut:a,currentUrl:l,isSide:n})=>{const{t:r}=ea(),o="mb"===va().other.template,{classes:i}=ct({isMarryBaby:o,isSide:n},{name:"BabyPoopEmbed"}),{reviewedBy:s,reviewedDate:c}=t;return e.createElement("div",{className:i.root},e.createElement(z,{tag:"h3",as:"h2",color:!o&&"#284A75"},t.title),e.createElement("div",{className:i.inner},e.createElement("div",{className:i.thumbnail},e.createElement("img",{className:i.img,src:o?P.getAssetPath("baby-poop.svg"):null==t?void 0:t.featuredImage,alt:t.title})),e.createElement("div",{className:i.content,"data-is-side":n},e.createElement(ya,{size:"p3",className:"description"},t.description),!!s&&e.createElement("div",{className:i.reviewText},e.createElement("img",{src:P.getAssetPath("reviewerCheck.svg"),alt:"check",className:i.reviewTextIcon}),e.createElement(ya,{size:"p4",color:F.colors.gray600},r("categoryPage.info.reviewed")," ",e.createElement("a",{href:s.profile_url},s.display_name)," ",r("categoryPage.onDate",{date:c}))),e.createElement("div",{className:i.action},e.createElement(fa,{className:i.btn,size:o?"lg":"md",variant:o?"secondary":"primary",onClick:a,dataEventCategory:"Health Tool",dataEventAction:"Baby Stool Inquiry",dataEventLabel:l,style:{visibility:Boolean(a)?"visible":"hidden"}},r("babyPoop.findOut"))))))},Fl=({value:a,options:l,className:n,direction:r="horizontal",onChange:o,isDisabled:s})=>{const[c,m]=t(a);return e.createElement(mt,{className:n,"data-direction":r},l.map(((t,l)=>e.createElement(dt,{"data-selected":(a||c)===t.value,"data-disabled":s,key:`health-tool${l}`,onClick:()=>{var e;e=t.value,s||(m(e),o&&o(e))}},e.createElement("div",null,e.createElement("img",{src:(a||c)===t.value?t.imageActive:t.image,className:"gender-image",alt:""}),t.label&&e.createElement(i,{type:"bold",className:"radio-group-item-heading",size:"label1"},t.label))))))},$l=({info:a,className:l,style:r,onChange:o,errorMessage:s={},locale:c})=>{const{t:m}=ea(),[d,g]=t(new Date),[u,p]=t({age:!1,rate:!1});return n((()=>{p({age:!1,rate:!1})}),[s]),e.createElement(gt,{style:r,className:l},e.createElement(ua,{className:"input-section due-date-input",label:e.createElement(i,{size:"n1",type:"bold",color:F.colors.gray600,style:{marginBottom:"9px",flex:"1"}},m("targetHeartRate.ageInput")),value:Oe(d),name:"date",size:"md",CustomInput:e.createElement(He,{customInput:t=>e.createElement("input",Object.assign({type:"date",className:"due-date-input"},t,{value:Oe(d)})),disabledDays:{after:new Date(aa(new Date,0))},locale:c,pickedDate:d,displayDateFormat:"dd/MM/yyyy",onChange:e=>{(e=>{g(e),p((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:ta(new Date(e),Ge)});o&&o(t)})(e)},placeholder:"placeholder"}),errorMessage:u.age?"":s.age}))},Ol=({isSide:a,locale:r,thrContent:o,isMobile:s,info:c,inputErrorMessage:m,onFormChange:d,onSubmit:g})=>{var u,p,h;const{t:v}=ea(),{getHealthToolLink:E}=Da(r),y=l((()=>E(ka.THR)),[E]),[b,f]=t(!1),[w,C]=t("low_intensity"),[k,N]=t("male"),[L,x]=t(60),[B,_]=t({idAge:0,minAge:0,maxAge:18,rangeMale:40,rangeFemale:40}),D=[{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}],M=[{value:"low_intensity",label:v("targetHeartRate.lowIntensity.title"),image:P.getAssetPath("/low.svg"),imageActive:P.getAssetPath("/low-active.svg"),content:v("targetHeartRate.lowIntensity.note")},{value:"moderate_intensity",label:v("targetHeartRate.moderateIntensity.title"),image:P.getAssetPath("/moderate.svg"),imageActive:P.getAssetPath("/moderate-active.svg"),content:v("targetHeartRate.moderateIntensity.note")},{value:"aerobic_zone",label:v("targetHeartRate.aerobicZone.title"),image:P.getAssetPath("/aerobic.svg"),imageActive:P.getAssetPath("/aerobic-active.svg"),content:v("targetHeartRate.aerobicZone.note")},{value:"vigorous_intensity",label:v("targetHeartRate.vigorousIntensity.title"),image:P.getAssetPath("/vigorous.svg"),imageActive:P.getAssetPath("/vigorous-active.svg"),content:v("targetHeartRate.vigorousIntensity.note")},{value:"maximum_intensity",label:v("targetHeartRate.maximumIntensity.title"),image:P.getAssetPath("/maximum.svg"),imageActive:P.getAssetPath("/maximum-active.svg"),content:v("targetHeartRate.maximumIntensity.note")}],S=l((()=>[{value:"male",label:v("gender.male"),content:e.createElement(ha.GenderChooseBoy,null)},{value:"female",label:v("gender.female"),content:e.createElement(ha.GenderChooseGirl,null)}]),[]);return n((()=>{const e=((new Date).getTime()-new Date(null==c?void 0:c.age).getTime())/1e3;f(e>=567648e3);const t=D.find((t=>e>=365*t.minAge*24*60*60&&e<365*t.maxAge*24*60*60))||D[0];_(t),x(60)}),[null==c?void 0:c.age]),e.createElement(Je,{"data-is-side":a},e.createElement(et,{isSide:a,bannerUrl:P.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==o?void 0:o.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:v("targetHearRate.heading"),medicalReview:(null===(u=null==o?void 0:o.reviewedBy)||void 0===u?void 0:u.display_name)?e.createElement(i,{size:"n1",color:F.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:v("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${Sa(null==o?void 0:o.reviewedBy)}"\n >\n ${null===(p=null==o?void 0:o.reviewedBy)||void 0===p?void 0:p.display_name}\n </a>`,date:null==o?void 0:o.reviewedDate})}}),e.createElement("span",null)):void 0,isMobile:s}),e.createElement(pa,null,e.createElement(tt,{className:"heart-rate-cal",onSubmit:e=>e.preventDefault(),"data-is-side":a},e.createElement(ut,{"data-is-side":a},e.createElement(pt,null,e.createElement(ht,{size:"md",name:"gender",label:v("bmi.selectGender"),CustomInput:e.createElement(_a,{options:S,value:k,onChange:e=>{N(e),x(60)},className:"bmi--input-radio_gender"}),className:"bmi--input bmi--input-gender"}))),e.createElement(ut,null,e.createElement($l,{info:c,locale:r,errorMessage:m,onChange:d})),e.createElement("div",{className:"slider-heart-rate"},e.createElement(Ma,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:F.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},v("targetHeartRate.heartRateInput")),e.createElement("div",{className:"slider-outer-wrapper"},e.createElement(La,{containerStyle:{flex:1},min:"male"===k?B.rangeMale:B.rangeFemale,max:200,step:1,value:L,withControl:!0,onChange:x}))),b&&e.createElement(pt,null,e.createElement(vt,null,e.createElement(Ma,{size:"label2",style:{display:"inline-block",fontWeight:"bold",color:F.colors.gray600,marginBottom:"9px"},htmlFor:"gender-selector"},v("targetHeartRate.selectActive")),e.createElement("div",{className:"card"},e.createElement(Fl,{options:M.map((e=>({value:e.value,label:e.label,image:e.image,imageActive:e.imageActive}))),value:w,onChange:e=>{C(e)},className:"gender-selector"})),w&&e.createElement("div",{className:"note"},e.createElement("img",{style:{height:"16px",width:"16px"},src:P.getAssetPath("/infoIcon.svg"),alt:""}),e.createElement(i,{size:"n1",color:"#595959"},null===(h=M[M.findIndex((e=>e.value==w))||0])||void 0===h?void 0:h.content)),!w&&e.createElement("span",{style:{color:"#e64728"}},m.intensity)))),e.createElement("div",{style:{display:"flex"}},e.createElement(Et,{size:"lg",onClick:()=>{g(k,w,[L])},dataEventCategory:"Health Tool",dataEventAction:"THR",dataEventLabel:`https://${Kt[r]}/${y}`},v("bmi.submit")))))},Hl=({info:a,className:r,style:o,onChange:s,errorMessage:c={},locale:m,onClick:d,isSide:g})=>{const{t:u}=ea(),[p,h]=t({age:!1,height:!1,weight:!1}),{getHealthToolLink:v}=Da(m),E=l((()=>v(ka.OVULATION)),[v]),[y,b]=t("male"),f=l((()=>[{value:"male",label:u("gender.male"),content:e.createElement(ha.GenderChooseBoy,null)},{value:"female",label:u("gender.female"),content:e.createElement(ha.GenderChooseGirl,null)}]),[]),w=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},C=e=>{var t,l;l=e=>{h((e=>Object.assign(Object.assign({},e),{age:!0})));const t=Object.assign(Object.assign({},a),{age:e});s&&s(t)},""!==(t=e)&&(isNaN(t)||isNaN(parseFloat(t))||t.includes("."))||l(t)};return n((()=>{s&&s(Object.assign(Object.assign({},a),{objective:"lose-fat",activeLevel:"sedentary"}))}),[]),n((()=>{h({age:!1,height:!1,weight:!1})}),[c]),e.createElement(yt,{style:o,className:r},e.createElement(bt,{"data-is-side":g},e.createElement(ft,{size:"md",name:"gender",label:u("bmi.selectGender"),CustomInput:e.createElement(_a,{options:f,value:y,onChange:e=>b(e),className:"bmi--input-radio_gender "+(g?"bmi-side-embed":"")}),className:"bmi--input bmi--input-gender"})),e.createElement(wt,{"data-is-side":g},e.createElement(bt,null,e.createElement(Ea.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray600},u("bmi.ageInput")," ",e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray300,as:"span"},u("bmi.ageInput.desc"))),placeholder:u("healthtool.placeholder.age"),value:Number(a.age),onChange:e=>C(String(e)),error:p.age?"":c.age,min:0})),e.createElement(bt,null,e.createElement(Ea.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray600},u("bmi.heightInput")," ",e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray300,as:"span"},u("bmi.heightInput.desc"))),placeholder:u("pwg.placeholder.height"),value:Number(a.height),onChange:e=>{return t=String(e),void w(t,(e=>{h((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},a),{height:e});s&&s(t)}));var t},error:p.height?"":c.height,min:0})),e.createElement(bt,null,e.createElement(Ea.Number,{label:e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray600},u("bmi.weightInput")," ",e.createElement(i,{size:"label2",type:"bold",color:F.colors.gray300,as:"span"},u("bmi.weightInput.desc"))),placeholder:u("pwg.placeholder.weight"),value:Number(a.weight),onChange:e=>{return t=String(e),h((e=>Object.assign(Object.assign({},e),{weight:!0}))),void w(t,(e=>{const t=Object.assign(Object.assign({},a),{weight:e});s&&s(t)}));var t},error:p.weight?"":c.weight,min:0,precision:1}))),e.createElement("div",{style:{display:"flex"}},e.createElement(Ct,{size:"lg",fullWidth:!0,className:"bmi-btn bmi--btn-submit",dataEventCategory:"Health Tool",dataEventAction:"BMR",dataEventLabel:`https://${Kt[m]}/${E}`,onClick:()=>{d(y)}},u("bmi.submit"))))},Wl=({isSide:t,locale:a,bmrContent:l,isMobile:n,info:r,inputErrorMessage:o,onFormChange:s,onSubmit:c})=>{var m,d,g;const{t:u}=ea();return e.createElement(Je,{"data-is-side":t},e.createElement(et,{isSide:t,bannerUrl:P.getAssetPath("embedToolBannerBlue.svg"),icon:e.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}}),heading:u("bmr.heading"),medicalReview:(null===(m=null==l?void 0:l.reviewBy)||void 0===m?void 0:m.reviewer)?e.createElement(i,{size:"n1",color:F.colors.white},e.createElement("span",{dangerouslySetInnerHTML:{__html:u("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${(null===(d=null==l?void 0:l.reviewBy)||void 0===d?void 0:d.link)||"#"}"\n >\n ${l.reviewBy.reviewer}\n </a>`,date:null===(g=null==l?void 0:l.reviewBy)||void 0===g?void 0:g.date})}}),e.createElement("span",null)):void 0,isMobile:n}),e.createElement(pa,null,e.createElement(tt,{onSubmit:e=>e.preventDefault(),"data-is-side":t},e.createElement(kt,null,e.createElement(Hl,{info:r,locale:a,errorMessage:o,onChange:s,onClick:c,isSide:t})))))};var Gl="eM8ChWU",Rl="KAx1aqi",Vl="QcFfKPB",Ul="brbyNAY",Zl="W65hTnn";const ql=({src:t,title:a,backgroundSrc:l,className:n,reviewedSection:r,isSide:o})=>e.createElement("div",{className:`${Gl} ${n||""}`},e.createElement("div",{className:Rl,style:{backgroundImage:`url("${l}")`}},e.createElement("div",{className:Vl,"data-is-side":o},e.createElement("div",{className:Ul,"data-is-side":o},e.createElement(z,{tag:"h4",color:"white"},a),r),e.createElement("div",{className:Zl},e.createElement("img",{src:t||"",style:{objectFit:"contain"},alt:a})))));var Kl="zvE9IoJ",Yl="njDC-ia",Xl="ESkUhe9",Ql="wZLIQYa";const Jl=({backgroundDesktopSrc:t,backgroundMobileSrc:a,title:l,className:n,isSide:r,ovulationContent:o})=>{var s,c,m;const{t:d}=ea(),g=Sa(null==o?void 0:o.reviewed_by);return e.createElement("div",{className:`${Kl} ${n}`,"data-is-side":r},e.createElement("div",{className:Yl,style:{backgroundImage:`url('${a||t}')`}},e.createElement("div",{className:Ql},e.createElement(z,{tag:"h5",color:"white"},l),(null===(s=null==o?void 0:o.reviewed_by)||void 0===s?void 0:s.display_name)?e.createElement(i,{size:"n1",color:"white",style:{marginTop:"0.3rem"}},e.createElement("span",{dangerouslySetInnerHTML:{__html:d("articlePage.articleReviewerBy",{name:`<a\n style="color: white"\n href="${g}"\n >\n ${o.reviewed_by.display_name}\n </a>`})}}),e.createElement("span",null,d("tools.heading.on")),e.createElement("span",null,null==o?void 0:o.reviewed_date)):null),e.createElement("div",{className:Xl,"data-is-side":r},e.createElement("img",{src:(null==o?void 0:o.featured_image)||"",style:{width:"100%",objectFit:"contain",marginTop:"20px"},alt:l}))),e.createElement(ql,{className:"desktop-only",src:(null==o?void 0:o.featured_image)||"",backgroundSrc:t||a||"",title:l,reviewedSection:(null===(c=null==o?void 0:o.reviewed_by)||void 0===c?void 0:c.display_name)&&""!==(null===(m=null==o?void 0:o.reviewed_by)||void 0===m?void 0:m.display_name)&&e.createElement(i,{size:"n1",color:F.colors.white,style:{marginTop:12}},e.createElement("span",{dangerouslySetInnerHTML:{__html:d("toolPage.toolReviewer",{expert_name:`<a\n style="color: white"\n href="${g}"\n >\n ${o.reviewed_by.display_name}\n </a>`,date:null==o?void 0:o.reviewed_date})}}),e.createElement("span",null)),isSide:r}))},en=({onSubmitOvulation:t,locale:a,ovulationPageInfo:l,ovulationContent:n,expertUrl:r,isSide:o=!1,siteType:s,isMobile:c})=>{var m;const{t:d}=ea(),g=za(l||null);return e.createElement(Je,{"data-is-side":o,"data-site":s},"marryBaby"!==s?e.createElement(Jl,{backgroundDesktopSrc:P.getAssetPath("embedToolBannerPink.svg"),backgroundMobileSrc:P.getAssetPath("embedToolBannerPink.svg"),title:d("healthTools.ovulationCalculator"),reviewedBy:g.reviewedBy,reviewedDate:g.reviewedDate,ovulationContent:n,isSide:o}):e.createElement(et,{isSide:o,bannerUrl:P.getAssetPath("embedToolBannerPink.svg"),siteType:s,bannerColor:"marryBaby"===s&&F.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==l?void 0:l.featured_image,style:"marryBaby"!==s?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:d("healthTools.ovulationCalculator"),medicalReview:(null===(m=null==l?void 0:l.reviewed_by)||void 0===m?void 0:m.display_name)?e.createElement(i,{size:"label2",color:F.colors.white,dangerouslySetInnerHTML:{__html:d("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${r}">${l.reviewed_by.display_name}</a>`,date:l.reviewed_date})}}):void 0,isMobile:c}),e.createElement(tt,{onSubmit:e=>e.preventDefault(),className:"ovulation-cal","data-is-side":o},e.createElement(Nt,{siteType:s,locale:a,onSubmitOvulation:t,isSide:o})))},tn=({siteType:l,info:r,onChange:o,errorMessage:i={}})=>{const{t:s}=ea(),[c,m]=t({weightBefore:!1,height:!1,weight:!1}),[d,g]=t(0),u=a(null);n((()=>{var e;g(null===(e=u.current)||void 0===e?void 0:e.clientHeight)}));const p=(e,t)=>{""!==e&&(isNaN(e)||isNaN(parseFloat(e)))||t(e)},h=e=>{p(e,(e=>{m((e=>Object.assign(Object.assign({},e),{weightBefore:!0})));const t=Object.assign(Object.assign({},r),{weightBefore:e});o&&o(t)}))},v=e=>{p(e,(e=>{m((e=>Object.assign(Object.assign({},e),{height:!0})));const t=Object.assign(Object.assign({},r),{height:e});o&&o(t)}))},E=e=>{p(e,(e=>{m((e=>Object.assign(Object.assign({},e),{weight:!0})));const t=Object.assign(Object.assign({},r),{weight:e});o&&o(t)}))};return n((()=>{o&&o(Object.assign({},r))}),[]),n((()=>{m({weightBefore:!1,height:!1,weight:!1})}),[i]),"marryBaby"===l?e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg input-section"},e.createElement($e,{label:s("pregnancyWeightGain.heightInput"),name:"pwg-height",size:"md",value:null==r?void 0:r.height,CustomInput:e.createElement(ua,{className:(null==c?void 0:c.height)?"":"error-input",name:"pwg-height",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.height,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.height)?"":null==i?void 0:i.height,showErrorMessage:!1,onChange:v})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement($e,{label:s("pregnancyWeightGain.weightBeforeInput"),name:"pwg-weightBefore",size:"md",value:null==r?void 0:r.weightBefore,CustomInput:e.createElement(ua,{className:(null==c?void 0:c.weightBefore)?"":"error-input",name:"pwg-weightBefore",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weightBefore,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weightBefore)?"":null==i?void 0:i.height,showErrorMessage:!1,onChange:h})})),e.createElement("div",{className:"input-form-pwg input-section"},e.createElement($e,{label:s("pregnancyWeightGain.weightInput"),name:"pwg-weight",size:"md",value:null==r?void 0:r.weight,CustomInput:e.createElement(ua,{className:(null==c?void 0:c.weight)?"":"error-input",name:"pwg-weight",size:"md",placeholder:"Nhập thông tin",value:null==r?void 0:r.weight,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur(),errorMessage:(null==c?void 0:c.weight)?"":null==i?void 0:i.weight,showErrorMessage:!1,onChange:E})}))):e.createElement(e.Fragment,null,e.createElement("div",{className:"input-form-pwg"},e.createElement(j,{placeholder:s("pwg.placeholder.height"),className:"input-section",label:e.createElement("span",{style:{color:F.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},className:"label-text"},s("pregnancyWeightGain.heightInput")," ",e.createElement("span",{style:{color:`${F.colors.gray300}`}},s("bmi.heightInput.desc"))),errorMessage:c.height?"":null==i?void 0:i.height,size:"sm",isNumerousKeyboard:!0,name:"pwg-height",value:null==r?void 0:r.height,onChange:v})),e.createElement("div",{className:"input-form-pwg"},e.createElement(j,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:F.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px"},ref:u,className:"label-text"},s("pregnancyWeightGain.weightBeforeInput")," ",e.createElement("span",{style:{color:`${F.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weightBefore?"":null==i?void 0:i.weightBefore,size:"sm",isNumerousKeyboard:!0,name:"pwg-weightBefore",onChange:h,value:null==r?void 0:r.weightBefore})),e.createElement("div",{className:"input-form-pwg"},e.createElement(j,{placeholder:s("pwg.placeholder.weight"),className:"input-section",label:e.createElement("span",{style:{color:F.colors.gray600,fontWeight:"bold",marginBottom:"9px",fontSize:"12px",minHeight:d},className:"label-text"},s("pregnancyWeightGain.weightInput")," ",e.createElement("span",{style:{color:`${F.colors.gray300}`}},s("pregnancyWeightGain.weightInput.desc"))),errorMessage:c.weight?"":null==i?void 0:i.weight,size:"sm",isNumerousKeyboard:!0,name:"pwg-weight",value:null==r?void 0:r.weight,onChange:E})))},an=({locale:a,onClick:n,inputErrorMessage:r,pwgContent:o,onFormChange:s,info:c,isMobile:m,isSide:d=!1,siteType:g})=>{var u;const{t:p}=ea(),[h,v]=t("notwins"),[E,y]=t({label:"1",value:1}),b=l((()=>[...Array(40)].map(((e,t)=>({label:`${t+1}`,value:`${t+1}`})))),[]),{getHealthToolLink:f}=Da(a),w=l((()=>f(ka.PWG)),[f]),C=(null===(u=null==o?void 0:o.reviewedBy)||void 0===u?void 0:u.display_name)?e.createElement(i,{size:"n1",color:F.colors.white,dangerouslySetInnerHTML:{__html:p("toolPage.toolReviewer",{expert_name:`<a style="text-decoration: underline" href="${Sa(o.reviewedBy)}">${o.reviewedBy.display_name}</a>`,date:o.reviewedDate})}}):void 0;return e.createElement(Je,{"data-is-side":d,"data-site":g},e.createElement(et,{siteType:g,bannerUrl:P.getAssetPath("embedToolBannerPink.svg"),bannerColor:"marryBaby"===g&&F.mbColors.mint,isEmbeded:!0,icon:e.createElement("img",{alt:"health-tool-icon",src:null==o?void 0:o.featuredImage,style:"marryBaby"!==g?{objectFit:"contain",marginLeft:"auto",maxWidth:"100%"}:null}),heading:p("pregnancyWeightGain.heading"),medicalReview:C,isMobile:m,isSide:d}),e.createElement(pa,null,e.createElement(tt,{onSubmit:e=>e.preventDefault(),className:"pwg-view-mobile","data-is-side":d},"marryBaby"!==g&&e.createElement(Lt,{className:"hide-asking-mobile","data-is-side":d},e.createElement(Ma,{size:"label2",style:{display:"block",fontWeight:"bold",color:F.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},p("pregnancyWeightGain.havingTwins")),e.createElement(xt,{options:[{value:"twins",label:p("switchBtn.yes")},{value:"notwins",label:p("switchBtn.no")}],value:h,onChange:e=>v(e),className:"gender-selector",id:"twins-check",type:"circle",direction:"horizontal",size:"small",group:"group1"})),e.createElement(qe,null,e.createElement(Bt,{className:"input-section input-form-pwg","data-is-side":d},"marryBaby"===g?e.createElement(Ye,{groupedWithLabel:p("pregnancyWeightGain.weekInput"),options:b,placeholder:"28 days",id:"due-date-dropdown",size:"lg",value:E,onChange:e=>y({label:e.label,value:e.value})}):e.createElement(e.Fragment,null,e.createElement(Ma,{size:"label2",style:{display:"inline-block",marginBottom:"9px",color:F.colors.gray600,fontWeight:"bold",fontSize:"12px"},htmlFor:"gender-selector"},p("pregnancyWeightGain.weekInput")),e.createElement(Qe,{options:b,placeholder:String(E.label),id:"weight-gain-dropdown",size:"md",value:E,onChange:e=>y({label:e.label,value:e.value})}))),e.createElement(tn,{siteType:g,info:c,errorMessage:r,onChange:s})),"marryBaby"!==g&&e.createElement(Lt,{className:"hide-asking-desk","data-is-side":d},e.createElement(Ma,{size:"label2",style:{display:"block",fontWeight:"bold",color:F.colors.gray600,fontSize:"12px"},className:"label",htmlFor:"gender-selector"},p("pregnancyWeightGain.havingTwins")),e.createElement(xt,{options:[{value:"twins",label:p("switchBtn.yes")},{value:"notwins",label:p("switchBtn.no")}],value:h,onChange:e=>v(e),className:"gender-selector",id:"twins-check-mobile",type:"circle",direction:"horizontal",size:"small",group:"group1"})),"marryBaby"===g&&e.createElement(el,{name:"twins",label:p("pregnancyWeightGain.havingTwins"),checked:"twins"===h,siteType:"marryBaby",onChange:()=>{v("twins"===h?"notwins":"twins")},value:"twins"}),e.createElement(_t,{"data-is-side":d,"data-site":g},e.createElement(fa,{dataEventCategory:"Health Tool",dataEventAction:"Embedded Pregnancy Weight Gain",dataEventLabel:`https://${Kt["marryBaby"===g?"vi-VN_MB":a]}/${w}`,className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===g?"secondary":"primary",onClick:()=>n(h,E.value),role:"button"},p("dueDatePage.lastPeriod.calculate"))))))};const ln={"en-PH":Aa,"vi-VN":Ia,"zh-TW":Pa,"id-ID":Ta};function nn(a){const{value:n={from:null,to:null}}=a,[r,o]=t(null),{isMobile:i}=ba(),[s,c]=t((()=>n)),[m,d]=t((()=>{var e;return na(null!==(e=n.from)&&void 0!==e?e:new Date)})),g=l((()=>ra(m,1)),[m]);const u=Object.assign(Object.assign({},a),{goToNextMonth:function(){d((e=>ra(e,1)))},goToPreviousMonth:function(){d((e=>oa(e,1)))},range:s,setRange:c,hoverDay:r,setHoverDay:o});return e.createElement(e.Fragment,null,e.createElement(rn,Object.assign({},u,{date:m})),!i&&e.createElement(Dt,null),!i&&e.createElement(rn,Object.assign({},u,{date:g})))}function rn({date:t,range:a,setRange:r,onChange:o,goToPreviousMonth:i,goToNextMonth:s,minDate:c,maxDate:m,close:d=(()=>{}),autoClose:g=!1,hoverDay:u,setHoverDay:p}){const{locale:h}=ea(),v=l((()=>{var e;return null!==(e=ln[h])&&void 0!==e?e:ln["en-PH"]}),[h]),E=l((()=>ta(t,"MMMM",{locale:v})),[t,v]),y=l((()=>v?[1,2,3,4,5,6,0].map((e=>v.localize.day(e,{width:"narrow"}))):[]),[v]);function b(t,l){if(null===t)return e.createElement(Ft,{key:`idx-${l}`,"data-empty":"true"});const n=t.getDate(),o=sa(t),i=!!a.from&&ca(a.from,t),s=!!a.to&&ca(a.to,t),h=i||s;let v=!1;null!==u&&a.from&&la(a.from,u)&&!a.to?v=ma(t,{start:a.from,end:u}):a.from&&a.to&&(v=ma(t,{start:a.from,end:a.to}));let E=!1;return c&&m?E=!ma(t,{start:c,end:m}):c?E=la(t,c):m&&(E=da(t,m)),e.createElement(Ft,{key:n,"data-is-today":o,"data-is-past":!o&&ga(t),"data-is-selected":h,"data-is-disabled":E,"data-in-range":v,"data-is-from":i,"data-is-to":s,onMouseEnter:()=>{p(t)},onMouseLeave:()=>p(null),onClick:()=>{E||r((e=>(g&&a.from&&!a.to&&d(),function(e,t){return t.from||t.to?t.from&&t.to?{from:e,to:null}:t.from?la(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})}(t,e))))}},e.createElement($t,{onClick:()=>{}},e.createElement("p",null,n)))}return n((()=>{a.from&&a.to&&o(a)}),[a]),e.createElement(Mt,{className:"calendar-wrapper"},e.createElement(St,null,e.createElement(T,{onClick:i,size:"md",color:"ghost",icon:e.createElement("img",{src:P.getAssetPath("calendarArrowLeft.svg")})}),e.createElement("div",{className:"calendar-month"},E,e.createElement("strong",null,ta(t,"yyyy"))),e.createElement(T,{onClick:s,size:"md",color:"ghost",icon:e.createElement("img",{src:P.getAssetPath("calendarArrowRight.svg")})})),e.createElement(zt,null,e.createElement("div",null,e.createElement(jt,null,y.map(((t,a)=>e.createElement(At,{key:`${t}-${a}`},t))))),e.createElement("div",null,function(){const l=t.getFullYear(),n=t.getMonth(),r=ia(t),o=[];for(let e=1;e<=r;e++)o.push(new Date(l,n,e));const i=o[0]?o[0].getDay():0;if(1!==i){const e=0===i?6:i-1;for(let t=0;t<e;t++)o.unshift(null)}return e.createElement(Tt,{key:`month-${n}`,"data-month-index":n,"data-has-range":Boolean(a.from&&a.to)},e.createElement(It,null,e.createElement(Pt,null,o.map(b))))}())))}function on({inputSize:n="md",name:r="date-range-picker",value:o,minDate:i,maxDate:s,onChange:c,className:m,autoClose:d=!1}){o||(o={from:null,to:null});const[g,u]=t(!1);function p(){u(!1)}const h=a(null);function v(e){c&&c(e)}function E(e){return ta(e,"dd/MM/yyyy")}ja(h,(()=>{p()}));const y=l((()=>o.from&&o.to?ca(o.from,o.to)?E(o.from):`${E(o.from)} - ${E(o.to)}`:""),[o.from,o.to]);return e.createElement(Ot,{className:[m,g&&"focused"].filter(Boolean).join(" "),ref:h},e.createElement("label",{htmlFor:r},e.createElement(j,{size:n,value:y,name:r,actionIcon:e.createElement("img",{src:P.getAssetPath("calendar.svg")}),onFocus:()=>u(!0)})),g?e.createElement(Ht,{onMouseDown:e=>{e.stopPropagation()}},e.createElement(nn,{value:o,onChange:v,minDate:i,maxDate:s,close:p,autoClose:d})):null)}var sn="WUqzfRb",cn="MnVGtSY",mn="NclbhXQ";const dn=({LinkComponent:t,page:a,isLast:l,onChangePage:n})=>{const{label:r,value:o,isDropdown:i,dropdownItems:s,dataEventCategory:c,dataEventAction:m,dataEventLabel:d}=a;return i?e.createElement(Qe,{options:s,placeholder:"...",id:"",placeholderIcon:null,onChange:n,className:"collapsed-breadcrumb"}):e.createElement("div",{className:mn,title:"string"!=typeof r?o:r,"data-last":l},t&&e.createElement(t,{"data-event-category":c,"data-event-action":m,"data-event-label":d,href:o||"#"},r))},gn=({className:t,pages:a,size:n,LinkComponent:o="a",onChangePage:i,separator:s})=>{const c=l((()=>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 e.createElement("div",{"data-size":n,className:`${sn} ${t||""}`},c.map(((t,a)=>{const l=a+1===c.length;return e.createElement(r,{key:a},e.createElement(dn,{LinkComponent:o,page:t,isLast:l,onChangePage:i}),!l&&(t.separator||s||e.createElement("div",{className:cn,"data-size":n})))})))},un=()=>e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}),e.createElement("path",{d:"M6.5 8H10.5",stroke:"#595959",strokeLinecap:"round",strokeLinejoin:"round"})),pn=({url:t,onCopied:a,locale:n,siteType:r})=>{const{t:o}=ea(),s=Fa(t||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(n))),c=l((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(Wt,null,e.createElement(i,{size:"p3",color:F.colors.gray800},o("shareContainer.title")),e.createElement("div",{className:"icon-group"},s.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer","data-event-category":"Health Tool","data-event-action":`Social Share - ${t.name}`,"data-event-label":c},t.icon))),e.createElement(T,{theme:r,size:"sm",type:"button",color:"tertiary",className:"share",style:{},icon:e.createElement(un,null),onClick:()=>Vt(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(t),null==a||a()})),"data-event-category":"Health Tool","data-event-action":"Copy Link","data-event-label":c})))},hn=()=>e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"copy"},e.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"})),vn=t=>{var{open:a,title:l,onClose:r,onCopied:s,onShared:c,url:m,locale:d}=t,g=Rt(t,["open","title","onClose","onCopied","onShared","url","locale"]);const{t:u}=ea(),p=o((()=>Vt(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==s||s()}))),[m,s]),h=Fa(m||"").filter((e=>!e.allowedLocales||e.allowedLocales.includes(d)));return n((()=>{a&&navigator.share&&navigator.share({title:null!=l?l:"Read This Post",url:m}).then((()=>{null==c||c()})).catch((()=>{null==r||r()}))}),[m,l,c,a]),"undefined"!=typeof navigator&&navigator.share?null:e.createElement(Gt,Object.assign({title:u("share.title"),onClose:r,open:a,placement:"bottom"},g),e.createElement("div",{className:"share-container"},e.createElement("div",{className:"icon-container"},e.createElement(i,{type:"semiBold",size:"s3",color:F.colors.gray600},u("share.title")),e.createElement("div",{className:"icon-group"},h.map(((t,a)=>e.createElement("a",{key:a,href:t.href,target:"_blank",rel:"noreferrer"},t.icon))))),e.createElement("div",{className:"link-container"},e.createElement(i,{type:"semiBold",size:"s3",color:F.colors.gray600},u("share.copyLink")),e.createElement("div",{className:"input-group"},e.createElement(ua,{name:"link",size:"md",value:m,isDisabled:!0}),e.createElement(T,{size:"md",type:"button",color:"tertiary",icon:e.createElement(hn,null),onClick:p})))))};export{Wa as A,Ga as B,el as C,zl as D,vn as E,Va as F,Ua as G,hl as I,en as O,qa as P,nl as R,Ka as S,Ya as T,Qa as U,Ra as a,Xa as b,Ja as c,rl as d,gl as e,ul as f,pl as g,vl as h,El as i,bl as j,wl as k,Cl as l,kl as m,Nl as n,Ll as o,xl as p,Bl as q,Tl as r,Il as s,Pl as t,Ol as u,Wl as v,an as w,on as x,gn as y,pn as z};
@@ -1,4 +1,4 @@
1
- import{a as e,_ as t}from"./tslib.es6-b37ca7fe.js";import*as a from"react";import n,{useState as r,useEffect as l,Component as o,useCallback as i,forwardRef as s,useRef as c,useImperativeHandle as d}from"react";import m from"dayjs";import{L as h}from"./Onboarding-d02d2429.js";import{rem as p,createStyles as g,Text as f,AspectRatio as v,em as u,Box as b,Breadcrumbs as E,Textarea as z,Accordion as w,Indicator as x,Avatar as C,FileInput as y,createEmotionCache as j,NumberInput as H,PasswordInput as M,TextInput as k,Input as O,Checkbox as S,Slider as B,Radio as A,Flex as L,Tabs as I}from"@mantine/core";import{B as P,M as D}from"./utils-935956f0.js";import T from"styled-components";import{Carousel as $}from"@mantine/carousel";import"./screenSizeContext-248097b4.js";import{t as N}from"./theme-ce8a5c83.js";import{I as F,s as R}from"./index-69322083.js";import"./isProduction-41487741.js";import{CommonGAssets as W}from"./gAssets.js";import{useDebouncedValue as _}from"@mantine/hooks";const V={[h.Vietnam]:"vi",[h.Cambodia]:"km",[h.India]:"hi",[h.Indonesia]:"id",[h.Malaysia]:"ms",[h.Thailand]:"th",[h.Taiwan]:"zh-tw",[h.PhilippinesTagalog]:"tl-ph",[h.PhilippinesEnglish]:"en",[h.Myanmar]:"my"},G={[h.Vietnam]:()=>import("dayjs/locale/vi.js"),[h.Cambodia]:()=>import("dayjs/locale/km.js"),[h.India]:()=>import("dayjs/locale/hi.js"),[h.Indonesia]:()=>import("dayjs/locale/id.js"),[h.Malaysia]:()=>import("dayjs/locale/ms.js"),[h.Thailand]:()=>import("dayjs/locale/th.js"),[h.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[h.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[h.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[h.Myanmar]:()=>import("dayjs/locale/my.js")},K=t=>{const[a,n]=r(!1);return l((()=>{e(void 0,void 0,void 0,(function*(){var e;n(!1),yield null===(e=G[t])||void 0===e?void 0:e.call(G),m.locale(V[t]),n(!0)}))}),[t]),{isLoaded:a}},U=()=>"undefined"!=typeof window&&window.innerWidth<P.BREAK_POINT_MOBILE,Z=()=>"undefined"!=typeof window&&window.innerWidth>=P.BREAK_POINT_MOBILE&&window.innerWidth<P.BREAK_POINT_PC,Y=()=>{const[e,t]=r(U()),[a,n]=r(Z());return l((()=>{const e=()=>{t(U()),n(Z())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class X extends o{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||n.createElement(n.Fragment,null):this.props.children}}const q=e=>{var{slidesToShow:a=1,children:r}=e,l=t(e,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?n.createElement(X,null,n.createElement($,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),r)):null};q.Slide=$.Slide;const Q=T(q)`
1
+ import{a as e,_ as t}from"./tslib.es6-59d4d3d2.js";import*as a from"react";import n,{useState as r,useEffect as l,Component as o,useCallback as i,forwardRef as s,useRef as c,useImperativeHandle as d}from"react";import m from"dayjs";import{L as h}from"./Onboarding-fe443370.js";import{rem as p,createStyles as g,Text as f,AspectRatio as v,em as u,Box as b,Breadcrumbs as E,Textarea as z,Accordion as w,Indicator as x,Avatar as C,FileInput as y,createEmotionCache as j,NumberInput as H,PasswordInput as M,TextInput as k,Input as O,Checkbox as S,Slider as B,Radio as A,Flex as L,Tabs as I}from"@mantine/core";import{B as P,M as D}from"./utils-bcca94e8.js";import T from"styled-components";import{Carousel as $}from"@mantine/carousel";import"./screenSizeContext-7c9a2f98.js";import{t as N}from"./theme-e66b6b6a.js";import{I as F,s as R}from"./index-a81cb6f3.js";import"./isProduction-0319a977.js";import{CommonGAssets as W}from"./gAssets.js";import{useDebouncedValue as _}from"@mantine/hooks";const V={[h.Vietnam]:"vi",[h.Cambodia]:"km",[h.India]:"hi",[h.Indonesia]:"id",[h.Malaysia]:"ms",[h.Thailand]:"th",[h.Taiwan]:"zh-tw",[h.PhilippinesTagalog]:"tl-ph",[h.PhilippinesEnglish]:"en",[h.Myanmar]:"my"},G={[h.Vietnam]:()=>import("dayjs/locale/vi.js"),[h.Cambodia]:()=>import("dayjs/locale/km.js"),[h.India]:()=>import("dayjs/locale/hi.js"),[h.Indonesia]:()=>import("dayjs/locale/id.js"),[h.Malaysia]:()=>import("dayjs/locale/ms.js"),[h.Thailand]:()=>import("dayjs/locale/th.js"),[h.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[h.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[h.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[h.Myanmar]:()=>import("dayjs/locale/my.js")},K=t=>{const[a,n]=r(!1);return l((()=>{e(void 0,void 0,void 0,(function*(){var e;n(!1),yield null===(e=G[t])||void 0===e?void 0:e.call(G),m.locale(V[t]),n(!0)}))}),[t]),{isLoaded:a}},U=()=>"undefined"!=typeof window&&window.innerWidth<P.BREAK_POINT_MOBILE,Z=()=>"undefined"!=typeof window&&window.innerWidth>=P.BREAK_POINT_MOBILE&&window.innerWidth<P.BREAK_POINT_PC,Y=()=>{const[e,t]=r(U()),[a,n]=r(Z());return l((()=>{const e=()=>{t(U()),n(Z())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class X extends o{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||n.createElement(n.Fragment,null):this.props.children}}const q=e=>{var{slidesToShow:a=1,children:r}=e,l=t(e,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?n.createElement(X,null,n.createElement($,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},l),r)):null};q.Slide=$.Slide;const Q=T(q)`
2
2
  cursor: grab;
3
3
  width: 100%;
4
4
  .mantine-Carousel-control {
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-b37ca7fe.js";import t from"react";import{Modal as s}from"@mantine/core";import{CommonGAssets as a}from"./gAssets.js";import{k as l,f as o}from"./index-a36782dc.js";const r=r=>{var{title:n,styles:m}=r,i=e(r,["title","styles"]);const{classes:c}=l(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:c},i,{withCloseButton:!1,title:i.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(o,{size:"s2",weight:"semiBold",as:"span"},n),t.createElement("img",{className:"mantine-Modal-close",src:a.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=i.onClose)||void 0===e?void 0:e.call(i)}}))})))};export{r as M};
1
+ import{_ as e}from"./tslib.es6-59d4d3d2.js";import t from"react";import{Modal as s}from"@mantine/core";import{CommonGAssets as l}from"./gAssets.js";import{k as a,f as o}from"./index-59c0a034.js";const r=r=>{var{title:n,styles:m}=r,i=e(r,["title","styles"]);const{classes:c}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:c},i,{withCloseButton:!1,title:i.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(o,{size:"s2",weight:"semiBold",as:"span"},n),t.createElement("img",{className:"mantine-Modal-close",src:l.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=i.onClose)||void 0===e?void 0:e.call(i)}}))})))};export{r as M};
@@ -0,0 +1 @@
1
+ import{_ as a}from"./tslib.es6-59d4d3d2.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:o="regular",className:c,style:d,children:n,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:m="p",wordWrap:y,isUppercase:b}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=m;return e.createElement(E,Object.assign({"data-size":r,"data-type":o,style:Object.assign(Object.assign({},d),i?{"--custom-color":i}:void 0),className:`${t} ${c||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),n)};export{s as T};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-b37ca7fe.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-69322083.js";import{L as a}from"./Onboarding-d02d2429.js";import{CommonGAssets as i}from"./gAssets.js";import{m as n}from"./index-a36782dc.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||a.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||a.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:i.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
1
+ import{_ as e}from"./tslib.es6-59d4d3d2.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-a81cb6f3.js";import{L as a}from"./Onboarding-fe443370.js";import{CommonGAssets as i}from"./gAssets.js";import{m as n}from"./index-59c0a034.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||a.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||a.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:i.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
@@ -1 +1 @@
1
- import e,{useMemo as a}from"react";import{CommonGAssets as s}from"./gAssets.js";import{i as t,a as l,b as o,c as n,S as r,L as g,d as i}from"./index-0cb6efec.js";const m=({type:m,className:c,style:h,isLightLogo:d,customSize:u,badge:w,locale:N,dateForSeasonal:y,isPro:f})=>{const p=a((()=>{if(!y||isNaN(new Date(y).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(y),a=t(e),s=l.includes(N)&&o(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&n(e)}}),[N,new Date(y).getDate()]);return e.createElement(r,{className:c,style:h,"data-logo-is-light":d||void 0,"data-has-badge":!!w,"data-christmas":p.isChristmas,"data-new-year":p.isNewYear,"data-lunar-new-year":p.isLunarNewYear},p.isChristmas?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):p.isNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):p.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(g,{type:m,width:null==u?void 0:u.width,height:null==u?void 0:u.height}),f?e.createElement(i,{src:s.getAssetPath("logo/pro-suffix.svg")}):null,w)};export{m as L};
1
+ import e,{useMemo as a}from"react";import{CommonGAssets as s}from"./gAssets.js";import{i as t,a as l,b as o,c as n,S as r,L as g,d as i}from"./index-932d4d18.js";const m=({type:m,className:c,style:h,isLightLogo:d,customSize:u,badge:w,locale:N,dateForSeasonal:y,isPro:p})=>{const f=a((()=>{if(!y||isNaN(new Date(y).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(y),a=t(e),s=l.includes(N)&&o(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&n(e)}}),[N,new Date(y).getDate()]);return e.createElement(r,{className:c,style:h,"data-logo-is-light":d||void 0,"data-has-badge":!!w,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?e.createElement(e.Fragment,null,e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),e.createElement("img",{loading:"lazy",src:s.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,e.createElement(g,{type:m,width:null==u?void 0:u.width,height:null==u?void 0:u.height}),p?e.createElement(i,{src:s.getAssetPath("logo/pro-suffix.svg")}):null,w)};export{m as L};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-b37ca7fe.js";import l,{createContext as n,useContext as r,useRef as i,useState as t,useEffect as o}from"react";import{Carousel as s}from"@mantine/carousel";import{createStyles as d}from"@mantine/core";import{useViewportSize as c,useResizeObserver as a}from"@mantine/hooks";const u=s.Slide,v=n({}),m=(e,l)=>e>=l?e-l:e,h=n=>{var{children:r,blurFromCenter:u,blurFromIndex:h,blurLength:p=3,maxBlurOpacity:S=.5,onSlideChange:g,selectSlideWhenClick:f}=n,y=e(n,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:b}=c(),[C]=a(),k=i(null),[x,O]=t(0),I=()=>{var e,l,n,r,i;const t=(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(n=null==k?void 0:k.current)||void 0===n?void 0:n.slidesInView().length))return t.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const o=null===(r=null==k?void 0:k.current)||void 0===r?void 0:r.selectedScrollSnap();O(o);const s=t.length,d=(null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.slidesInView()).length,c=Math.floor(d/2),a=u?h+p-1:c,v=o+a,g=v===s?0:v>s?v-s:v,f=o-a,y=f<0?s+f:f>0?o-a:0,b=[...new Set(Array(2*a+1).fill("").map(((e,l)=>m(y+l,s))))];t.map(((e,l)=>{if(l===o?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const i=S/p;for(let t=0;t<p;t++){if(l===m(y+t,s)||l===(r=s,(n=g-t)<0?r+n:n)){e.style.opacity=String((t+1)*i);break}e.style.opacity="1"}}else e.style.opacity="0";var n,r}))},j={getEmblaApi:e=>{k.current=e},onSlideChange:e=>{I(),null==g||g(e)}};o((()=>{(null==k?void 0:k.current)&&I()}),[b]);const w=d((()=>{var e,l;return{control:Object.assign({},(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:E}=w();return l.createElement(v.Provider,{value:{slider:null==k?void 0:k.current,centerSlide:x,selectSlideWhenClick:f}},l.createElement(s,Object.assign({classNames:{control:E.control},ref:C,slideSize:"auto",containScroll:"trimSnaps"},j,y,{loop:!0}),"function"==typeof r?r(x):r))};h.Slide=n=>{var{children:s,onClick:d,innerSlideProps:c}=n,a=e(n,["children","onClick","innerSlideProps"]);const{slider:m,selectSlideWhenClick:h}=r(v),p=i(),S=i(""),[g,f]=t(0);o((()=>{S.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==m?void 0:m.slideNodes())||[];f(e.findIndex((e=>e.dataset.key===S.current)))}),[m]);const y={ref:p,"data-key":S.current,"data-index":g};return l.createElement(u,Object.assign({},y,a),l.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{h&&(null==m||m.scrollTo(g)),null==d||d(g)}},c),s))};export{h as C};
1
+ import{_ as e}from"./tslib.es6-59d4d3d2.js";import l,{createContext as n,useContext as r,useRef as i,useState as t,useEffect as o}from"react";import{Carousel as d}from"@mantine/carousel";import{createStyles as s}from"@mantine/core";import{useViewportSize as c,useResizeObserver as a}from"@mantine/hooks";const u=d.Slide,v=n({}),m=(e,l)=>e>=l?e-l:e,h=n=>{var{children:r,blurFromCenter:u,blurFromIndex:h,blurLength:p=3,maxBlurOpacity:S=.5,onSlideChange:g,selectSlideWhenClick:f}=n,y=e(n,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:b}=c(),[C]=a(),k=i(null),[x,O]=t(0),I=()=>{var e,l,n,r,i;const t=(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(n=null==k?void 0:k.current)||void 0===n?void 0:n.slidesInView().length))return t.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const o=null===(r=null==k?void 0:k.current)||void 0===r?void 0:r.selectedScrollSnap();O(o);const d=t.length,s=(null===(i=null==k?void 0:k.current)||void 0===i?void 0:i.slidesInView()).length,c=Math.floor(s/2),a=u?h+p-1:c,v=o+a,g=v===d?0:v>d?v-d:v,f=o-a,y=f<0?d+f:f>0?o-a:0,b=[...new Set(Array(2*a+1).fill("").map(((e,l)=>m(y+l,d))))];t.map(((e,l)=>{if(l===o?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const i=S/p;for(let t=0;t<p;t++){if(l===m(y+t,d)||l===(r=d,(n=g-t)<0?r+n:n)){e.style.opacity=String((t+1)*i);break}e.style.opacity="1"}}else e.style.opacity="0";var n,r}))},j={getEmblaApi:e=>{k.current=e},onSlideChange:e=>{I(),null==g||g(e)}};o((()=>{(null==k?void 0:k.current)&&I()}),[b]);const w=s((()=>{var e,l;return{control:Object.assign({},(null===(e=null==k?void 0:k.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==k?void 0:k.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:E}=w();return l.createElement(v.Provider,{value:{slider:null==k?void 0:k.current,centerSlide:x,selectSlideWhenClick:f}},l.createElement(d,Object.assign({classNames:{control:E.control},ref:C,slideSize:"auto",containScroll:"trimSnaps"},j,y,{loop:!0}),"function"==typeof r?r(x):r))};h.Slide=n=>{var{children:d,onClick:s,innerSlideProps:c}=n,a=e(n,["children","onClick","innerSlideProps"]);const{slider:m,selectSlideWhenClick:h}=r(v),p=i(),S=i(""),[g,f]=t(0);o((()=>{S.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==m?void 0:m.slideNodes())||[];f(e.findIndex((e=>e.dataset.key===S.current)))}),[m]);const y={ref:p,"data-key":S.current,"data-index":g};return l.createElement(u,Object.assign({},y,a),l.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{h&&(null==m||m.scrollTo(g)),null==s||s(g)}},c),d))};export{h as C};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-b37ca7fe.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,a as r,b as l,c as i}from"./index-0e167804.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:b=!0,actionIcon:y,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:I,size:f,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),x=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":f,className:h,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},I||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},x,j)),C&&a.createElement(r,{className:"displayIcon"},C),y&&a.createElement(l,{className:"actionIcon",onClick:v},y)),p&&p.length>0&&b&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
1
+ import{_ as e}from"./tslib.es6-59d4d3d2.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,a as r,b as l,c as i}from"./index-f04e7055.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:y=!0,actionIcon:b,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:I,size:f,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),x=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":f,className:h,"data-has-action-icon":!!b||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},I||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},x,j)),C&&a.createElement(r,{className:"displayIcon"},C),b&&a.createElement(l,{className:"actionIcon",onClick:v},b)),p&&p.length>0&&y&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
@@ -1,4 +1,4 @@
1
- import{M as t}from"./utils-935956f0.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as h}from"./gAssets.js";import{L as l}from"./Onboarding-d02d2429.js";const r=e.div`
1
+ import{M as t}from"./utils-bcca94e8.js";import e from"styled-components";import o,{memo as a,useMemo as s}from"react";import{CommonGAssets as h}from"./gAssets.js";import{L as l}from"./Onboarding-fe443370.js";const r=e.div`
2
2
  position: relative;
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -1 +1 @@
1
- import{L as o}from"./Onboarding-d02d2429.js";import{i as e}from"./isProduction-41487741.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:o.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",a={"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"},t={"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",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],h=["vi-VN","id-ID","en-PH","tl-PH"],T=["vi-VN","id-ID"],O={"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 r;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(r||(r={}));const p={[o.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},_="hhg_user_token";var m=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:a,LOCALE_SPECS:t,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:O,get QUERY_HEALTH_TOOL(){return r},ISO_FORMAT:p,BEARER_TOKEN_COOKIE:_,siteHost:l,siteOptions:i,isProduction:e});export{_ as B,h as C,I as E,O as F,p as I,t as L,r as Q,s as S,c as T,E as U,T as a,n as b,l as c,a as d,m as i,i as s};
1
+ import{L as o}from"./Onboarding-fe443370.js";import{i as e}from"./isProduction-0319a977.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:o.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",a={"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"},t={"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",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],h=["vi-VN","id-ID","en-PH","tl-PH"],T=["vi-VN","id-ID"],O={"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 r;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(r||(r={}));const p={[o.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},_="hhg_user_token";var m=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:a,LOCALE_SPECS:t,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:O,get QUERY_HEALTH_TOOL(){return r},ISO_FORMAT:p,BEARER_TOKEN_COOKIE:_,siteHost:l,siteOptions:i,isProduction:e});export{_ as B,h as C,I as E,O as F,p as I,t as L,r as Q,s as S,c as T,E as U,T as a,n as b,l as c,a as d,m as i,i as s};