@hhgtech/hhg-components 1.26.44 → 1.26.45

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 (270) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components.js +1 -1
  5. package/build/constants.js +1 -1
  6. package/build/core-8965bdd1.js +1 -0
  7. package/build/{dataTransform-e7897aab.js → dataTransform-05ddd7cd.js} +1 -1
  8. package/build/ecom.js +1 -1
  9. package/build/esm/babyGrowth.js +2 -2
  10. package/build/esm/cache.js +1 -1
  11. package/build/esm/care.js +1 -1
  12. package/build/esm/components.js +1 -1
  13. package/build/esm/constants.js +1 -1
  14. package/build/esm/{core-6651b901.js → core-2f97963b.js} +1 -1
  15. package/build/esm/{dataTransform-872ce002.js → dataTransform-bff94e40.js} +1 -1
  16. package/build/esm/ecom.js +1 -1
  17. package/build/esm/footer.js +1 -1
  18. package/build/esm/gAssets.js +1 -1
  19. package/build/esm/{getDynamicHealthTool-7939fd01.js → getDynamicHealthTool-c5f2ce8e.js} +1 -1
  20. package/build/esm/{getSocialList-c10c30c9.js → getSocialList-98e398fd.js} +1 -1
  21. package/build/esm/hooks.js +1 -1
  22. package/build/esm/i18n.js +1 -1
  23. package/build/esm/{index-16ec8222.js → index-0193722e.js} +1 -1
  24. package/build/esm/{index-d8d9ca96.js → index-110f03f8.js} +1 -1
  25. package/build/esm/{index-e4448d0e.js → index-1db6b10e.js} +1 -1
  26. package/build/esm/{index-e4582886.js → index-291b4f7f.js} +1 -1
  27. package/build/esm/{index-342159a5.js → index-3d68e62b.js} +1 -1
  28. package/build/esm/{index-60d97413.js → index-49c18638.js} +1 -1
  29. package/build/esm/index-5b98f81a.js +1 -0
  30. package/build/esm/{index-d42b241d.js → index-5c3a0731.js} +1 -1
  31. package/build/esm/{index-eadd22a2.js → index-7649bf5e.js} +1 -1
  32. package/build/esm/{index-f05b34f5.js → index-78ce9b91.js} +1 -1
  33. package/build/esm/{index-b5485e18.js → index-834ac323.js} +1 -1
  34. package/build/esm/{index-f8533b01.js → index-9352f0f5.js} +6 -6
  35. package/build/esm/{index-ebbcf67e.js → index-a9e5465e.js} +1 -1
  36. package/build/esm/index-bcac1312.js +1 -0
  37. package/build/esm/{index-cd9f66ec.js → index-c18e32b7.js} +1 -1
  38. package/build/esm/index-c71bb2bc.js +1 -0
  39. package/build/esm/{index-1f844271.js → index-c8bceedf.js} +1 -1
  40. package/build/esm/{index-d135613b.js → index-ccac8b4b.js} +1 -1
  41. package/build/esm/{index-b44c41db.js → index-d00b2e6c.js} +1 -1
  42. package/build/esm/{index-d89be197.js → index-da4d3bfd.js} +1 -1
  43. package/build/esm/{index-996c598e.js → index-dc349549.js} +1 -1
  44. package/build/esm/{index-523dcf7f.js → index-dd39ed3b.js} +1 -1
  45. package/build/esm/{index-117b1938.js → index-e8a65426.js} +1 -1
  46. package/build/esm/{index-2b976927.js → index-f4045a17.js} +1 -1
  47. package/build/esm/index.css +1 -1
  48. package/build/esm/index.js +1 -1
  49. package/build/esm/{index.styled-c2813e74.js → index.styled-159b3cc3.js} +2 -2
  50. package/build/esm/{index.styled-e61e75ba.js → index.styled-4838c976.js} +1 -1
  51. package/build/esm/{index.styled-64d7719d.js → index.styled-62b41ea7.js} +1 -1
  52. package/build/esm/{index.styled-7e68c60b.js → index.styled-c71df452.js} +550 -547
  53. package/build/esm/{index.styled-308a3185.js → index.styled-e8724bf3.js} +1 -1
  54. package/build/esm/lead.js +1 -1
  55. package/build/esm/mantine.js +1 -1
  56. package/build/esm/misc.js +1 -1
  57. package/build/esm/navigation.js +1 -1
  58. package/build/esm/onboarding.js +1 -1
  59. package/build/esm/pwg.js +5 -5
  60. package/build/esm/{routing-d4d636c0.js → routing-b4d49590.js} +1 -1
  61. package/build/esm/{screenSizeContext-1d21d1cd.js → screenSizeContext-68c11278.js} +4 -4
  62. package/build/esm/together.js +1 -1
  63. package/build/esm/{translationsProvider-6a2295af.js → translationsProvider-1350dca9.js} +1 -1
  64. package/build/esm/{types-6b60870c.js → types-3b084388.js} +1 -1
  65. package/build/esm/{types-018451d4.js → types-ad10a136.js} +20 -20
  66. package/build/esm/types.js +1 -1
  67. package/build/esm/{useHealthToolCache-aa7017ed.js → useHealthToolCache-54873d1f.js} +1 -1
  68. package/build/esm/{useRafState-f49d2935.js → useRafState-33430ae3.js} +1 -1
  69. package/build/esm/{useTranslations-6e57354e.js → useTranslations-fb0c6abd.js} +1 -1
  70. package/build/esm/{utils-463e18c3.js → utils-39b25303.js} +4 -4
  71. package/build/esm/vaccination.js +1 -1
  72. package/build/footer.js +1 -1
  73. package/build/gAssets.js +1 -1
  74. package/build/{getDynamicHealthTool-d3757df9.js → getDynamicHealthTool-82344d00.js} +1 -1
  75. package/build/{getSocialList-f9d8c23b.js → getSocialList-f12f894e.js} +1 -1
  76. package/build/hooks.js +1 -1
  77. package/build/i18n.js +1 -1
  78. package/build/{index-dd9661e3.js → index-0d22bc7f.js} +1 -1
  79. package/build/{index-974364ca.js → index-1d34b72c.js} +1 -1
  80. package/build/{index-7a8cec23.js → index-3046bf95.js} +1 -1
  81. package/build/{index-683bca93.js → index-39de09e8.js} +1 -1
  82. package/build/{index-86504a02.js → index-46f6cf5d.js} +1 -1
  83. package/build/{index-169f6535.js → index-5505c87b.js} +1 -1
  84. package/build/{index-339edf4e.js → index-5a4fcc25.js} +1 -1
  85. package/build/{index-91f9ca4f.js → index-7b5aaa1b.js} +1 -1
  86. package/build/index-7dbb8c2a.js +1 -0
  87. package/build/{index-03ff493f.js → index-7edb8f7e.js} +1 -1
  88. package/build/index-a976b27c.js +1 -0
  89. package/build/{index-5fc3b8ac.js → index-ab162cd4.js} +1 -1
  90. package/build/{index-4f192710.js → index-afe4bf93.js} +1 -1
  91. package/build/{index-2ba6054f.js → index-d51831fb.js} +1 -1
  92. package/build/{index-e717ab9a.js → index-e43b7316.js} +1 -1
  93. package/build/{index-ea26fe56.js → index-e44e5a5e.js} +1 -1
  94. package/build/{index-48ba2fe4.js → index-e48c412e.js} +1 -1
  95. package/build/{index-c40cf91d.js → index-ea062489.js} +1 -1
  96. package/build/{index-9dbcc2a8.js → index-ec9c75dc.js} +1 -1
  97. package/build/{index-d123b620.js → index-ed19efad.js} +1 -1
  98. package/build/index-f2786e28.js +1 -0
  99. package/build/{index-8822fbf1.js → index-f3bd42a6.js} +1 -1
  100. package/build/index-f964554a.js +1 -0
  101. package/build/{index-8918cb27.js → index-fc05c83c.js} +1 -1
  102. package/build/index.css +1 -1
  103. package/build/index.js +1 -1
  104. package/build/{index.styled-cdb3d412.js → index.styled-56217e84.js} +1 -1
  105. package/build/{index.styled-810bc63e.js → index.styled-5e9c4c2c.js} +1 -1
  106. package/build/{index.styled-ce645681.js → index.styled-96ff8dec.js} +549 -546
  107. package/build/{index.styled-9a0a07eb.js → index.styled-a581ac44.js} +1 -1
  108. package/build/{index.styled-d9615d1a.js → index.styled-da71c42e.js} +6 -6
  109. package/build/lead.js +1 -1
  110. package/build/mantine.js +1 -1
  111. package/build/misc.js +1 -1
  112. package/build/navigation.js +1 -1
  113. package/build/onboarding.js +1 -1
  114. package/build/pwg.js +1 -1
  115. package/build/{routing-1439066c.js → routing-ef849c8a.js} +1 -1
  116. package/build/{screenSizeContext-69befcd5.js → screenSizeContext-c88a1107.js} +3 -3
  117. package/build/together.js +1 -1
  118. package/build/{translationsProvider-d54bbaad.js → translationsProvider-83dd2871.js} +1 -1
  119. package/build/{types-52d94a6d.js → types-0fb4690f.js} +1 -1
  120. package/build/{types-55be5f9f.js → types-54b0a08f.js} +1 -1
  121. package/build/types.js +1 -1
  122. package/build/useHealthToolCache-0cea0549.js +1 -0
  123. package/build/{useRafState-160acd5b.js → useRafState-7f85b31d.js} +1 -1
  124. package/build/{useTranslations-09aab6f2.js → useTranslations-745514b8.js} +1 -1
  125. package/build/{utils-b919add1.js → utils-fdb7c529.js} +1 -1
  126. package/build/vaccination.js +1 -1
  127. package/package.json +1 -1
  128. package/build/core-fa740542.js +0 -1
  129. package/build/esm/index-382e46be.js +0 -1
  130. package/build/esm/index-3db96455.js +0 -1
  131. package/build/esm/index-aeb3a322.js +0 -1
  132. package/build/index-42937b26.js +0 -1
  133. package/build/index-548797f0.js +0 -1
  134. package/build/index-a5631184.js +0 -1
  135. package/build/index-fc025628.js +0 -1
  136. package/build/useHealthToolCache-14fdab26.js +0 -1
  137. /package/build/{BMI_BOYS.percentile.monthly-c48c06c0.js → BMI_BOYS.percentile.monthly-d5383ac3.js} +0 -0
  138. /package/build/{BMI_BOYS.percentile.weekly-06dc17e2.js → BMI_BOYS.percentile.weekly-09e31b3d.js} +0 -0
  139. /package/build/{BMI_BOYS.percentile.yearly-bb384f84.js → BMI_BOYS.percentile.yearly-dfdb9035.js} +0 -0
  140. /package/build/{BMI_BOYS.zscore.monthly-f3eeb3be.js → BMI_BOYS.zscore.monthly-c49ca626.js} +0 -0
  141. /package/build/{BMI_BOYS.zscore.weekly-50719100.js → BMI_BOYS.zscore.weekly-cd95bb13.js} +0 -0
  142. /package/build/{BMI_BOYS.zscore.yearly-3725f33a.js → BMI_BOYS.zscore.yearly-4611a767.js} +0 -0
  143. /package/build/{BMI_GIRLS.percentile.monthly-e0706498.js → BMI_GIRLS.percentile.monthly-7d1a4f2c.js} +0 -0
  144. /package/build/{BMI_GIRLS.percentile.weekly-8d1333bf.js → BMI_GIRLS.percentile.weekly-7e94cc6b.js} +0 -0
  145. /package/build/{BMI_GIRLS.percentile.yearly-09d71c37.js → BMI_GIRLS.percentile.yearly-a7b48427.js} +0 -0
  146. /package/build/{BMI_GIRLS.zscore.monthly-1c1b69bc.js → BMI_GIRLS.zscore.monthly-4a549977.js} +0 -0
  147. /package/build/{BMI_GIRLS.zscore.weekly-47a58e8b.js → BMI_GIRLS.zscore.weekly-fde72d45.js} +0 -0
  148. /package/build/{BMI_GIRLS.zscore.yearly-ed85b6dc.js → BMI_GIRLS.zscore.yearly-ddf2a462.js} +0 -0
  149. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c26c4361.js → HEAD CIRCUM_BOYS.percentile.monthly-4486c996.js} +0 -0
  150. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-01477499.js → HEAD CIRCUM_BOYS.percentile.weekly-4c64887c.js} +0 -0
  151. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-900fa742.js → HEAD CIRCUM_BOYS.percentile.yearly-1324a572.js} +0 -0
  152. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-c7302630.js → HEAD CIRCUM_BOYS.zscore.monthly-8a94c59d.js} +0 -0
  153. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-c8f7d538.js → HEAD CIRCUM_BOYS.zscore.weekly-777c3a09.js} +0 -0
  154. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-082bc52f.js → HEAD CIRCUM_BOYS.zscore.yearly-8ab8aae1.js} +0 -0
  155. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-61aa08c9.js → HEAD CIRCUM_GIRLS.percentile.monthly-c27dfd37.js} +0 -0
  156. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d45d16c9.js → HEAD CIRCUM_GIRLS.percentile.weekly-d7a8b190.js} +0 -0
  157. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4849916e.js → HEAD CIRCUM_GIRLS.percentile.yearly-4d707c7e.js} +0 -0
  158. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-64cd9537.js → HEAD CIRCUM_GIRLS.zscore.monthly-f231639c.js} +0 -0
  159. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-07ce6eb1.js → HEAD CIRCUM_GIRLS.zscore.weekly-0cd6870a.js} +0 -0
  160. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-45db5eaa.js → HEAD CIRCUM_GIRLS.zscore.yearly-8746e855.js} +0 -0
  161. /package/build/{HEIGHT_BOYS.percentile.monthly-785fb275.js → HEIGHT_BOYS.percentile.monthly-4dd1810f.js} +0 -0
  162. /package/build/{HEIGHT_BOYS.percentile.weekly-80107068.js → HEIGHT_BOYS.percentile.weekly-4a375e72.js} +0 -0
  163. /package/build/{HEIGHT_BOYS.percentile.yearly-a666d10b.js → HEIGHT_BOYS.percentile.yearly-1b204aba.js} +0 -0
  164. /package/build/{HEIGHT_BOYS.zscore.monthly-4e15ea8f.js → HEIGHT_BOYS.zscore.monthly-f48213fd.js} +0 -0
  165. /package/build/{HEIGHT_BOYS.zscore.weekly-6c473ad7.js → HEIGHT_BOYS.zscore.weekly-3dc6c261.js} +0 -0
  166. /package/build/{HEIGHT_BOYS.zscore.yearly-c3455de4.js → HEIGHT_BOYS.zscore.yearly-22cdbd93.js} +0 -0
  167. /package/build/{HEIGHT_GIRLS.percentile.monthly-26f6df22.js → HEIGHT_GIRLS.percentile.monthly-6e50526a.js} +0 -0
  168. /package/build/{HEIGHT_GIRLS.percentile.weekly-7486e661.js → HEIGHT_GIRLS.percentile.weekly-5663e37f.js} +0 -0
  169. /package/build/{HEIGHT_GIRLS.percentile.yearly-ba113469.js → HEIGHT_GIRLS.percentile.yearly-2c2f93d7.js} +0 -0
  170. /package/build/{HEIGHT_GIRLS.zscore.monthly-386b5315.js → HEIGHT_GIRLS.zscore.monthly-673b9d7a.js} +0 -0
  171. /package/build/{HEIGHT_GIRLS.zscore.weekly-16e450ba.js → HEIGHT_GIRLS.zscore.weekly-f7d66d0d.js} +0 -0
  172. /package/build/{HEIGHT_GIRLS.zscore.yearly-6dd7f2f1.js → HEIGHT_GIRLS.zscore.yearly-40d97951.js} +0 -0
  173. /package/build/{Onboarding-8e53aa5b.js → Onboarding-d04183a6.js} +0 -0
  174. /package/build/{Visible-7b0a276f.js → Visible-e16c4bce.js} +0 -0
  175. /package/build/{WEIGHT_BOYS.percentile.monthly-3f8c872b.js → WEIGHT_BOYS.percentile.monthly-0bbb1a79.js} +0 -0
  176. /package/build/{WEIGHT_BOYS.percentile.weekly-2335ba32.js → WEIGHT_BOYS.percentile.weekly-b9ef6247.js} +0 -0
  177. /package/build/{WEIGHT_BOYS.percentile.yearly-ef8513c3.js → WEIGHT_BOYS.percentile.yearly-8a38258e.js} +0 -0
  178. /package/build/{WEIGHT_BOYS.zscore.monthly-4fe88f46.js → WEIGHT_BOYS.zscore.monthly-635eba86.js} +0 -0
  179. /package/build/{WEIGHT_BOYS.zscore.weekly-acf98935.js → WEIGHT_BOYS.zscore.weekly-9c356cf8.js} +0 -0
  180. /package/build/{WEIGHT_BOYS.zscore.yearly-c8b8f5df.js → WEIGHT_BOYS.zscore.yearly-3b29a016.js} +0 -0
  181. /package/build/{WEIGHT_GIRLS.percentile.monthly-1ddecad7.js → WEIGHT_GIRLS.percentile.monthly-95c4bd7c.js} +0 -0
  182. /package/build/{WEIGHT_GIRLS.percentile.weekly-421d903d.js → WEIGHT_GIRLS.percentile.weekly-6a9ec464.js} +0 -0
  183. /package/build/{WEIGHT_GIRLS.percentile.yearly-c8621039.js → WEIGHT_GIRLS.percentile.yearly-cd0bd57b.js} +0 -0
  184. /package/build/{WEIGHT_GIRLS.zscore.monthly-4eaffefb.js → WEIGHT_GIRLS.zscore.monthly-5cd9b312.js} +0 -0
  185. /package/build/{WEIGHT_GIRLS.zscore.weekly-8d9d4cb3.js → WEIGHT_GIRLS.zscore.weekly-f7f9f2c7.js} +0 -0
  186. /package/build/{WEIGHT_GIRLS.zscore.yearly-8a017dcc.js → WEIGHT_GIRLS.zscore.yearly-e1864512.js} +0 -0
  187. /package/build/{constants-983bcdcb.js → constants-f50ae05a.js} +0 -0
  188. /package/build/{cookieHelper-a4a37a7f.js → cookieHelper-6fe7351d.js} +0 -0
  189. /package/build/{dataTransform-7385a879.js → dataTransform-35b4ec19.js} +0 -0
  190. /package/build/esm/{BMI_BOYS.percentile.monthly-c8a18582.js → BMI_BOYS.percentile.monthly-20bf693d.js} +0 -0
  191. /package/build/esm/{BMI_BOYS.percentile.weekly-6801a39f.js → BMI_BOYS.percentile.weekly-a483dcf4.js} +0 -0
  192. /package/build/esm/{BMI_BOYS.percentile.yearly-b86e4e7c.js → BMI_BOYS.percentile.yearly-efdc5949.js} +0 -0
  193. /package/build/esm/{BMI_BOYS.zscore.monthly-80e2c044.js → BMI_BOYS.zscore.monthly-d4de95b9.js} +0 -0
  194. /package/build/esm/{BMI_BOYS.zscore.weekly-308cfc22.js → BMI_BOYS.zscore.weekly-285e6dd1.js} +0 -0
  195. /package/build/esm/{BMI_BOYS.zscore.yearly-a962d248.js → BMI_BOYS.zscore.yearly-259235bd.js} +0 -0
  196. /package/build/esm/{BMI_GIRLS.percentile.monthly-84008849.js → BMI_GIRLS.percentile.monthly-9326c3f5.js} +0 -0
  197. /package/build/esm/{BMI_GIRLS.percentile.weekly-6043dc4a.js → BMI_GIRLS.percentile.weekly-333355c0.js} +0 -0
  198. /package/build/esm/{BMI_GIRLS.percentile.yearly-0c6e6993.js → BMI_GIRLS.percentile.yearly-013010f1.js} +0 -0
  199. /package/build/esm/{BMI_GIRLS.zscore.monthly-1e6cec1d.js → BMI_GIRLS.zscore.monthly-bc76865b.js} +0 -0
  200. /package/build/esm/{BMI_GIRLS.zscore.weekly-f701953d.js → BMI_GIRLS.zscore.weekly-d5fb85ff.js} +0 -0
  201. /package/build/esm/{BMI_GIRLS.zscore.yearly-b1b960f8.js → BMI_GIRLS.zscore.yearly-7b458364.js} +0 -0
  202. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-fdf18812.js → HEAD CIRCUM_BOYS.percentile.monthly-7bae8cff.js} +0 -0
  203. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-1f327bbb.js → HEAD CIRCUM_BOYS.percentile.weekly-28a660a3.js} +0 -0
  204. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3da7cf99.js → HEAD CIRCUM_BOYS.percentile.yearly-b50f1021.js} +0 -0
  205. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0f07602d.js → HEAD CIRCUM_BOYS.zscore.monthly-06137e33.js} +0 -0
  206. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5d6f4285.js → HEAD CIRCUM_BOYS.zscore.weekly-68ebee8c.js} +0 -0
  207. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-a403565a.js → HEAD CIRCUM_BOYS.zscore.yearly-33f5e9ac.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ab58aabc.js → HEAD CIRCUM_GIRLS.percentile.monthly-71f2d826.js} +0 -0
  209. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-26b6d490.js → HEAD CIRCUM_GIRLS.percentile.weekly-b2f4544f.js} +0 -0
  210. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-630d183f.js → HEAD CIRCUM_GIRLS.percentile.yearly-370500bd.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-41cb40e6.js → HEAD CIRCUM_GIRLS.zscore.monthly-21890934.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-eb8d1a0b.js → HEAD CIRCUM_GIRLS.zscore.weekly-f51713ea.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9601abee.js → HEAD CIRCUM_GIRLS.zscore.yearly-8d0b8e7a.js} +0 -0
  214. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5003392b.js → HEIGHT_BOYS.percentile.monthly-1b94e668.js} +0 -0
  215. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-80304f1e.js → HEIGHT_BOYS.percentile.weekly-232b6a48.js} +0 -0
  216. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-8d834e11.js → HEIGHT_BOYS.percentile.yearly-ccd088be.js} +0 -0
  217. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-af33b114.js → HEIGHT_BOYS.zscore.monthly-ae38e257.js} +0 -0
  218. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-2b62a9f2.js → HEIGHT_BOYS.zscore.weekly-86950405.js} +0 -0
  219. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-852d6014.js → HEIGHT_BOYS.zscore.yearly-81bcb862.js} +0 -0
  220. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-720e6c09.js → HEIGHT_GIRLS.percentile.monthly-284f8825.js} +0 -0
  221. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7ec9b898.js → HEIGHT_GIRLS.percentile.weekly-95401dbe.js} +0 -0
  222. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8136cadd.js → HEIGHT_GIRLS.percentile.yearly-5e6dec75.js} +0 -0
  223. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-625ea6a2.js → HEIGHT_GIRLS.zscore.monthly-9dee07f1.js} +0 -0
  224. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-ac61052d.js → HEIGHT_GIRLS.zscore.weekly-b9fd57a7.js} +0 -0
  225. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8da96f6c.js → HEIGHT_GIRLS.zscore.yearly-93829db3.js} +0 -0
  226. /package/build/esm/{Onboarding-13f86a9f.js → Onboarding-9b851115.js} +0 -0
  227. /package/build/esm/{Visible-926df7c7.js → Visible-2302414c.js} +0 -0
  228. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-86019355.js → WEIGHT_BOYS.percentile.monthly-2b320428.js} +0 -0
  229. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7c972e09.js → WEIGHT_BOYS.percentile.weekly-c63b671f.js} +0 -0
  230. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ff7f4b54.js → WEIGHT_BOYS.percentile.yearly-6c7a46a5.js} +0 -0
  231. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-88630f7d.js → WEIGHT_BOYS.zscore.monthly-e1d74058.js} +0 -0
  232. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a4dc5567.js → WEIGHT_BOYS.zscore.weekly-4a9965ff.js} +0 -0
  233. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e26e4037.js → WEIGHT_BOYS.zscore.yearly-fde4cfce.js} +0 -0
  234. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-6c1736d9.js → WEIGHT_GIRLS.percentile.monthly-22c1f4a9.js} +0 -0
  235. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-5aad062e.js → WEIGHT_GIRLS.percentile.weekly-775627c2.js} +0 -0
  236. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-0cb98f53.js → WEIGHT_GIRLS.percentile.yearly-85b67168.js} +0 -0
  237. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-5d8f1f8c.js → WEIGHT_GIRLS.zscore.monthly-230ce0a8.js} +0 -0
  238. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1633b1f1.js → WEIGHT_GIRLS.zscore.weekly-8e0d475f.js} +0 -0
  239. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-014468c3.js → WEIGHT_GIRLS.zscore.yearly-0215b348.js} +0 -0
  240. /package/build/esm/{constants-8950ac78.js → constants-2a316b57.js} +0 -0
  241. /package/build/esm/{cookieHelper-72979570.js → cookieHelper-77ce16ea.js} +0 -0
  242. /package/build/esm/{dataTransform-58614be4.js → dataTransform-022395a7.js} +0 -0
  243. /package/build/esm/{index-9469d70f.js → index-8f53abd3.js} +0 -0
  244. /package/build/esm/{index-02b5e1c8.js → index-9405b202.js} +0 -0
  245. /package/build/esm/{isProduction-0faacc86.js → isProduction-2563640c.js} +0 -0
  246. /package/build/esm/{localizeNumberFormat-344ce3d3.js → localizeNumberFormat-651b6ce6.js} +0 -0
  247. /package/build/esm/{normalizeLink-1b1088cc.js → normalizeLink-fe15953a.js} +0 -0
  248. /package/build/esm/{theme-d23e90af.js → theme-af9eb214.js} +0 -0
  249. /package/build/esm/{translationsContext-479f090b.js → translationsContext-b31a5ddf.js} +0 -0
  250. /package/build/esm/{tslib.es6-6c8967e6.js → tslib.es6-42268328.js} +0 -0
  251. /package/build/esm/{types-35ccb303.js → types-29d8269a.js} +0 -0
  252. /package/build/esm/{useIsInit-43fbd5e5.js → useIsInit-d45dfe9b.js} +0 -0
  253. /package/build/esm/{useOutsideClick-cc7139cb.js → useOutsideClick-4bf6b5dc.js} +0 -0
  254. /package/build/esm/{useScrollbarSize-70e85fca.js → useScrollbarSize-d5bd37b6.js} +0 -0
  255. /package/build/esm/{useUniqueId-362366da.js → useUniqueId-3f8c0091.js} +0 -0
  256. /package/build/esm/{utils-ba33cc9e.js → utils-7480dfae.js} +0 -0
  257. /package/build/{index-e724ae26.js → index-11dd2e74.js} +0 -0
  258. /package/build/{index-75de0be5.js → index-ccdbfbf0.js} +0 -0
  259. /package/build/{isProduction-7edfdddb.js → isProduction-2c6d17cf.js} +0 -0
  260. /package/build/{localizeNumberFormat-48a4297a.js → localizeNumberFormat-266858b2.js} +0 -0
  261. /package/build/{normalizeLink-8f724b34.js → normalizeLink-c9329847.js} +0 -0
  262. /package/build/{theme-9b405d7c.js → theme-0e4c967e.js} +0 -0
  263. /package/build/{translationsContext-d8e6734d.js → translationsContext-0496f203.js} +0 -0
  264. /package/build/{tslib.es6-782e7656.js → tslib.es6-ba8d762a.js} +0 -0
  265. /package/build/{types-516c08ca.js → types-ab20890e.js} +0 -0
  266. /package/build/{useIsInit-de42e861.js → useIsInit-18781cc7.js} +0 -0
  267. /package/build/{useOutsideClick-74d7eae8.js → useOutsideClick-6cf1c9b4.js} +0 -0
  268. /package/build/{useScrollbarSize-0ea4e9aa.js → useScrollbarSize-ecc8ec63.js} +0 -0
  269. /package/build/{useUniqueId-6768a1a6.js → useUniqueId-8f4a6b95.js} +0 -0
  270. /package/build/{utils-fcf02fa3.js → utils-f23f3aa8.js} +0 -0
@@ -1 +1 @@
1
- export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-13f86a9f.js";
1
+ export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-9b851115.js";
@@ -1 +1 @@
1
- import{a as o}from"./tslib.es6-6c8967e6.js";import{useState as t,useEffect as i,useCallback as e}from"react";import{a as l}from"./getDynamicHealthTool-7939fd01.js";const n=n=>{const[r,a]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield l(n);a(o)}))}),[l,n]);const s=e((o=>{var t;return(null===(t=r.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[r]);return{allTools:r,getHealthToolLink:s}};export{n as u};
1
+ import{a as o}from"./tslib.es6-42268328.js";import{useState as t,useEffect as i,useCallback as e}from"react";import{a as l}from"./getDynamicHealthTool-c5f2ce8e.js";const n=n=>{const[r,a]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield l(n);a(o)}))}),[l,n]);const s=e((o=>{var t;return(null===(t=r.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[r]);return{allTools:r,getHealthToolLink:s}};export{n as u};
@@ -1 +1 @@
1
- import{a as e}from"./tslib.es6-6c8967e6.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-72979570.js";import{u as a}from"./useUniqueId-362366da.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
1
+ import{a as e}from"./tslib.es6-42268328.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-77ce16ea.js";import{u as a}from"./useUniqueId-3f8c0091.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
@@ -1 +1 @@
1
- import{useContext as o,useMemo as a}from"react";import{T as r,d as e}from"./translationsContext-479f090b.js";import t from"string-format";function n(){const{values:n,locale:s}=o(r)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(e[o]||o,a):e[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
1
+ import{useContext as o,useMemo as a}from"react";import{T as r,d as e}from"./translationsContext-b31a5ddf.js";import t from"string-format";function n(){const{values:n,locale:s}=o(r)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(e[o]||o,a):e[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
@@ -1,4 +1,4 @@
1
- import"dayjs";import"./screenSizeContext-1d21d1cd.js";import e,{createContext as t,useContext as n}from"react";import r from"styled-components";import{t as o}from"./theme-d23e90af.js";import{L as a}from"./index-b5485e18.js";import{M as i}from"./utils-ba33cc9e.js";import"./isProduction-0faacc86.js";import{L as s}from"./Onboarding-13f86a9f.js";import"./gAssets.js";import{_ as p,a as l}from"./tslib.es6-6c8967e6.js";import{createFormContext as m,yupResolver as d}from"@mantine/form";import"./index.styled-308a3185.js";import{B as c}from"./index-1f844271.js";import{Container as g,Title as u,Input as b}from"@mantine/core";import"./index-117b1938.js";import{L as h}from"./index-e4448d0e.js";import"./index.styled-64d7719d.js";import{u as f}from"./useTranslations-6e57354e.js";import"./index-9469d70f.js";import"@mantine/dates";import{f as x,n as w,e as E,R as y,O as P}from"./index-f05b34f5.js";import"./index-523dcf7f.js";import"@mantine/hooks";import"lodash/debounce";import{D as j}from"./index-e4582886.js";import{V as v}from"./Visible-926df7c7.js";import*as M from"yup";import"./translationsContext-479f090b.js";import"string-format";const I=t({}),[O,N,T]=m(),k=r.div`
1
+ import"dayjs";import"./screenSizeContext-68c11278.js";import e,{createContext as t,useContext as n}from"react";import r from"styled-components";import{t as o}from"./theme-af9eb214.js";import{L as a}from"./index-834ac323.js";import{M as i}from"./utils-7480dfae.js";import"./isProduction-2563640c.js";import{L as s}from"./Onboarding-9b851115.js";import"./gAssets.js";import{_ as p,a as l}from"./tslib.es6-42268328.js";import{createFormContext as m,yupResolver as d}from"@mantine/form";import"./index.styled-e8724bf3.js";import{B as c}from"./index-c8bceedf.js";import{Container as g,Title as u,Input as b}from"@mantine/core";import"./index-e8a65426.js";import{L as h}from"./index-1db6b10e.js";import"./index.styled-62b41ea7.js";import{u as x}from"./useTranslations-fb0c6abd.js";import"./index-8f53abd3.js";import"@mantine/dates";import{f,n as w,e as E,R as y,O as P}from"./index-78ce9b91.js";import"./index-dd39ed3b.js";import"@mantine/hooks";import"lodash/debounce";import{D as j}from"./index-291b4f7f.js";import{V as v}from"./Visible-2302414c.js";import*as M from"yup";import"./translationsContext-b31a5ddf.js";import"string-format";const I=t({}),[O,N,T]=m(),k=r.div`
2
2
  margin-top: 70px;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -47,7 +47,7 @@ import"dayjs";import"./screenSizeContext-1d21d1cd.js";import e,{createContext as
47
47
  }
48
48
  `,C=r.img`
49
49
  margin-bottom: 38px;
50
- `,B=t=>{var r,{heading:i,description:s,children:l,className:m,imgSrc:d}=t,c=p(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:g,siteType:b}=n(I);return e.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${m}`,size:"sm"}),e.createElement(h,{type:g?b:(null===(r=a[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),e.createElement(k,null,d&&e.createElement(C,{src:d,loading:"lazy"}),e.createElement("div",{className:"header"},e.createElement(u,{order:3},i),e.createElement(x,{size:"p3",mt:8,color:o.colors.gray600},s)),l))},D=r.div`
50
+ `,B=t=>{var r,{heading:i,description:s,children:l,className:m,imgSrc:d}=t,c=p(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:g,siteType:b}=n(I);return e.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${m}`,size:"sm"}),e.createElement(h,{type:g?b:(null===(r=a[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),e.createElement(k,null,d&&e.createElement(C,{src:d,loading:"lazy"}),e.createElement("div",{className:"header"},e.createElement(u,{order:3},i),e.createElement(f,{size:"p3",mt:8,color:o.colors.gray600},s)),l))},D=r.div`
51
51
  position: fixed;
52
52
  inset: 0;
53
53
  z-index: 1000;
@@ -113,7 +113,7 @@ import"dayjs";import"./screenSizeContext-1d21d1cd.js";import e,{createContext as
113
113
  border-radius: 0 4px 4px 0;
114
114
  }
115
115
  }
116
- `,A={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},F=({inputOrder:t=["phone"]})=>{const{t:n}=f(),r=N(),o=e.createElement("div",{className:"phone-input"},e.createElement(w,Object.assign({defaultCountry:A[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),e.createElement(b.Error,null,r.errors.phone)),a=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),s=e.createElement(j,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),p=e.createElement(y.Group,Object.assign({className:"radio-group",label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("bmi.selectGender"))},r.getInputProps("gender")),e.createElement(y,{value:"0",label:n("onboarding.formEmail.genderMale")}),e.createElement(y,{value:"1",label:n("onboarding.formEmail.genderFemale")})),l=e.createElement("div",{className:"otp-input"},e.createElement(P,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),e.createElement(b.Error,null,r.errors.otp)),m=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("password"))),d=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("confirmPassword"))),c=t.map((e=>{switch(e){case"phone":return o;case"full_name":return a;case"email":return i;case"dob":return s;case"gender":return p;case"otp":return l;case"password":return m;case"confirm_password":return d;default:return null}}));return e.createElement(Y,null,c)},U=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),_=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),G=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),K=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),W=r(B)`
116
+ `,A={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},F=({inputOrder:t=["phone"]})=>{const{t:n}=x(),r=N(),o=e.createElement("div",{className:"phone-input"},e.createElement(w,Object.assign({defaultCountry:A[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),e.createElement(b.Error,null,r.errors.phone)),a=e.createElement(E,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=e.createElement(E,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),s=e.createElement(j,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),p=e.createElement(y.Group,Object.assign({className:"radio-group",label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("bmi.selectGender"))},r.getInputProps("gender")),e.createElement(y,{value:"0",label:n("onboarding.formEmail.genderMale")}),e.createElement(y,{value:"1",label:n("onboarding.formEmail.genderFemale")})),l=e.createElement("div",{className:"otp-input"},e.createElement(P,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),e.createElement(b.Error,null,r.errors.otp)),m=e.createElement(E.Password,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("password"))),d=e.createElement(E.Password,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("confirmPassword"))),c=t.map((e=>{switch(e){case"phone":return o;case"full_name":return a;case"email":return i;case"dob":return s;case"gender":return p;case"otp":return l;case"password":return m;case"confirm_password":return d;default:return null}}));return e.createElement(Y,null,c)},U=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),_=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),G=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),K=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),W=r(B)`
117
117
  .phone-input {
118
118
  width: 100%;
119
119
  margin-bottom: 32px;
@@ -130,7 +130,7 @@ import"dayjs";import"./screenSizeContext-1d21d1cd.js";import e,{createContext as
130
130
  border-radius: 0 4px 4px 0;
131
131
  }
132
132
  }
133
- `,R={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM",[s.India]:"IN"},Z=({onClose:t,onSubmit:n,canSkip:r=!0,customFormTexts:o})=>{const{t:a}=f(),i=T({initialValues:{phone:""},validate:d(U(a))});return e.createElement(W,{heading:(null==o?void 0:o.heading)||a("onboarding.updatePhone.heading"),description:(null==o?void 0:o.description)||a("onboarding.updatePhone.description")},e.createElement(O,{form:i},e.createElement("form",{onSubmit:i.onSubmit((e=>l(void 0,void 0,void 0,(function*(){n(e.phone)}))),(e=>{console.log(e)}))},e.createElement(F,{inputOrder:["phone"]}),e.createElement(c,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),r&&e.createElement(c,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},a("onboarding.button.skip")))))},J=r(B)`
133
+ `,R={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM",[s.India]:"IN"},Z=({onClose:t,onSubmit:n,canSkip:r=!0,customFormTexts:o})=>{const{t:a}=x(),i=T({initialValues:{phone:""},validate:d(U(a))});return e.createElement(W,{heading:(null==o?void 0:o.heading)||a("onboarding.updatePhone.heading"),description:(null==o?void 0:o.description)||a("onboarding.updatePhone.description")},e.createElement(O,{form:i},e.createElement("form",{onSubmit:i.onSubmit((e=>l(void 0,void 0,void 0,(function*(){n(e.phone)}))),(e=>{console.log(e)}))},e.createElement(F,{inputOrder:["phone"]}),e.createElement(c,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),r&&e.createElement(c,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},a("onboarding.button.skip")))))},J=r(B)`
134
134
  .otp-input {
135
135
  margin-bottom: 36px;
136
136
  ${i.mbDown} {
@@ -1,4 +1,4 @@
1
- import{_ as a,a as e}from"./tslib.es6-6c8967e6.js";import i,{useMemo as n,useState as r,useEffect as o,Fragment as l}from"react";import{Stack as t,Flex as s,Badge as u,Grid as c,Box as d,Input as m,Container as k,AspectRatio as g,Tabs as h,ScrollArea as p,Divider as v,SimpleGrid as b}from"@mantine/core";import"./gAssets.js";import"@mantine/dates";import"./index-b5485e18.js";import{G as y}from"./Onboarding-13f86a9f.js";import{f as z,t as f,l as S,u as M}from"./index-f05b34f5.js";import{B as j}from"./index-aeb3a322.js";import B from"dayjs";import"./screenSizeContext-1d21d1cd.js";import A from"styled-components";import{t as P}from"./theme-d23e90af.js";import{M as C}from"./utils-ba33cc9e.js";import"./isProduction-0faacc86.js";import{u as K}from"./useTranslations-6e57354e.js";import"./index-523dcf7f.js";import{useDisclosure as w}from"@mantine/hooks";import"lodash/debounce";import{S as T}from"./index-02b5e1c8.js";import"./translationsContext-479f090b.js";import"string-format";import{H as L}from"./index.styled-308a3185.js";import"./index-117b1938.js";import"./index-e4448d0e.js";import{I as N}from"./index-60d97413.js";import"./index.styled-64d7719d.js";import"./index-9469d70f.js";import{M as x}from"./index-eadd22a2.js";import{useForm as H}from"@mantine/form";import D from"dayjs/plugin/customParseFormat";import{D as R}from"./index-e4582886.js";import"@mantine/carousel";import"lodash/throttle";import"./index-ebbcf67e.js";import"./useUniqueId-362366da.js";const G=A.div`
1
+ import{_ as a,a as e}from"./tslib.es6-42268328.js";import i,{useMemo as n,useState as r,useEffect as o,Fragment as l}from"react";import{Stack as t,Flex as s,Badge as u,Grid as c,Box as d,Input as m,Container as k,AspectRatio as g,Tabs as h,ScrollArea as p,Divider as v,SimpleGrid as b}from"@mantine/core";import"./gAssets.js";import"@mantine/dates";import"./index-834ac323.js";import{G as y}from"./Onboarding-9b851115.js";import{f as z,t as f,l as S,u as M}from"./index-78ce9b91.js";import{B as j}from"./index-5b98f81a.js";import B from"dayjs";import"./screenSizeContext-68c11278.js";import A from"styled-components";import{t as P}from"./theme-af9eb214.js";import{M as C}from"./utils-7480dfae.js";import"./isProduction-2563640c.js";import{u as K}from"./useTranslations-fb0c6abd.js";import"./index-dd39ed3b.js";import{useDisclosure as w}from"@mantine/hooks";import"lodash/debounce";import{S as T}from"./index-9405b202.js";import"./translationsContext-b31a5ddf.js";import"string-format";import{H as L}from"./index.styled-e8724bf3.js";import"./index-e8a65426.js";import"./index-1db6b10e.js";import{I as N}from"./index-49c18638.js";import"./index.styled-62b41ea7.js";import"./index-8f53abd3.js";import{M as x}from"./index-7649bf5e.js";import{useForm as H}from"@mantine/form";import D from"dayjs/plugin/customParseFormat";import{D as R}from"./index-291b4f7f.js";import"@mantine/carousel";import"lodash/throttle";import"./index-a9e5465e.js";import"./useUniqueId-3f8c0091.js";const G=A.div`
2
2
  position: relative;
3
3
  padding: 16px;
4
4
  min-height: 110px;
package/build/footer.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-169f6535.js"),a=require("./index-4f192710.js"),l=require("./index-8822fbf1.js"),n=require("./index-dd9661e3.js"),o=require("./theme-9b405d7c.js"),r=require("./useTranslations-09aab6f2.js"),i=require("./index-91f9ca4f.js"),d=require("./index-42937b26.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-782e7656.js"),require("./utils-fcf02fa3.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-7edfdddb.js"),require("./Onboarding-8e53aa5b.js"),require("./translationsContext-d8e6734d.js"),require("string-format"),require("./index.styled-9a0a07eb.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,b,p,N,h,k,x,T,F,$,z,q,C,j,L,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),s.default.createElement("div",{className:"icons"},null===(N=null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(L=null===(j=null==d?void 0:d.branch)||void 0===j?void 0:j.branch)||void 0===L?void 0:L.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",b="CQGVeuT",p="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:b,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:p},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-5505c87b.js"),a=require("./index-afe4bf93.js"),l=require("./index-f3bd42a6.js"),n=require("./index-0d22bc7f.js"),o=require("./theme-0e4c967e.js"),r=require("./useTranslations-745514b8.js"),i=require("./index-7b5aaa1b.js"),d=require("./index-f2786e28.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-ba8d762a.js"),require("./utils-f23f3aa8.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-2c6d17cf.js"),require("./Onboarding-d04183a6.js"),require("./translationsContext-0496f203.js"),require("string-format"),require("./index.styled-a581ac44.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,b,p,N,h,k,x,T,F,$,z,q,C,j,L,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),s.default.createElement("div",{className:"icons"},null===(N=null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(L=null===(j=null==d?void 0:d.branch)||void 0===j?void 0:j.branch)||void 0===L?void 0:L.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",b="CQGVeuT",p="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:b,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:p},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
package/build/gAssets.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-dd9661e3.js"),s=require("./isProduction-7edfdddb.js");require("./Onboarding-8e53aa5b.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-0d22bc7f.js"),s=require("./isProduction-2c6d17cf.js");require("./Onboarding-d04183a6.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
@@ -1 +1 @@
1
- "use strict";var t=require("./tslib.es6-782e7656.js"),e=require("./core-fa740542.js"),i=require("./normalizeLink-8f724b34.js"),o=require("./routing-1439066c.js");const l=(t,e)=>{var i,o;if(!t)return{};const l="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${l}/health-tools`+(null===(o=t.link)||void 0===o?void 0:o.replace(`${l}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const a="tl-PH"===e?"lang=fil":"";let s=[];try{const d=yield r(i.normalizeLinkSlash(`${o.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>l(t,e))))||[]}catch(t){}return s}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
1
+ "use strict";var t=require("./tslib.es6-ba8d762a.js"),e=require("./core-8965bdd1.js"),i=require("./normalizeLink-c9329847.js"),o=require("./routing-ef849c8a.js");const l=(t,e)=>{var i,o;if(!t)return{};const l="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${l}/health-tools`+(null===(o=t.link)||void 0===o?void 0:o.replace(`${l}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{let a;a="undefined"!=typeof window?window.fetch:yield require("node-fetch");const r="tl-PH"===e?"lang=fil":"";let s=[];try{const d=yield a(i.normalizeLinkSlash(`${o.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${r?"&"+r:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>l(t,e))))||[]}catch(t){}return s}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./Onboarding-8e53aa5b.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
1
+ "use strict";var e=require("react"),t=require("./Onboarding-d04183a6.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
package/build/hooks.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-09aab6f2.js"),s=require("./useScrollbarSize-0ea4e9aa.js"),r=require("./useRafState-160acd5b.js"),i=require("./useHealthToolCache-14fdab26.js"),u=require("./useIsInit-de42e861.js"),t=require("./useOutsideClick-74d7eae8.js"),a=require("./useUniqueId-6768a1a6.js");require("react"),require("./translationsContext-d8e6734d.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-782e7656.js"),require("./cookieHelper-a4a37a7f.js"),require("./getDynamicHealthTool-d3757df9.js"),require("./core-fa740542.js"),require("./isProduction-7edfdddb.js"),require("./normalizeLink-8f724b34.js"),require("./routing-1439066c.js"),require("./index-dd9661e3.js"),require("./Onboarding-8e53aa5b.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-745514b8.js"),s=require("./useScrollbarSize-ecc8ec63.js"),r=require("./useRafState-7f85b31d.js"),i=require("./useHealthToolCache-0cea0549.js"),u=require("./useIsInit-18781cc7.js"),t=require("./useOutsideClick-6cf1c9b4.js"),a=require("./useUniqueId-8f4a6b95.js");require("react"),require("./translationsContext-0496f203.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-ba8d762a.js"),require("./cookieHelper-6fe7351d.js"),require("./getDynamicHealthTool-82344d00.js"),require("./core-8965bdd1.js"),require("./isProduction-2c6d17cf.js"),require("./normalizeLink-c9329847.js"),require("./routing-ef849c8a.js"),require("./index-0d22bc7f.js"),require("./Onboarding-d04183a6.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
package/build/i18n.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-d54bbaad.js"),t=require("./translationsContext-d8e6734d.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-83dd2871.js"),t=require("./translationsContext-0496f203.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
@@ -1 +1 @@
1
- "use strict";var e=require("./Onboarding-8e53aa5b.js"),o=require("./isProduction-7edfdddb.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN"],I=["vi-VN","id-ID","en-PH","tl-PH"],r=["vi-VN","id-ID"],T={"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 h;exports.QUERY_HEALTH_TOOL=void 0,(h=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",h.gender="gndr",h.age="ge",h.slug="slug",h.resultId="resultId",h.bmr="mr",h.height="gt",h.weight="wght",h.source="surc",h.type="tp",h.startDate="sd",h.additional="tnl",h.week="wk",h.twins="twn",h.weightBefore="wb",h.yourself="yrslf",h.intensity="sy",h.rate="rt",h.method="mthd",h.day="dy",h.pwg="pwg",h.cycle="le",h.period="prd",h.access_token="tkn",h.name="nm",h.id="id";const p={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},_="hhg_user_token";var A=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,ECOM_LOCALES:c,CARE_LOCALES:I,CARE_BOOKING_LOCALES:r,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,BEARER_TOKEN_COOKIE:_,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.BEARER_TOKEN_COOKIE=_,exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=I,exports.ECOM_LOCALES=c,exports.FAVICONS=T,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=A,exports.siteHost=l,exports.siteOptions=i;
1
+ "use strict";var e=require("./Onboarding-d04183a6.js"),o=require("./isProduction-2c6d17cf.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN"],I=["vi-VN","id-ID","en-PH","tl-PH"],r=["vi-VN","id-ID"],T={"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 h;exports.QUERY_HEALTH_TOOL=void 0,(h=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",h.gender="gndr",h.age="ge",h.slug="slug",h.resultId="resultId",h.bmr="mr",h.height="gt",h.weight="wght",h.source="surc",h.type="tp",h.startDate="sd",h.additional="tnl",h.week="wk",h.twins="twn",h.weightBefore="wb",h.yourself="yrslf",h.intensity="sy",h.rate="rt",h.method="mthd",h.day="dy",h.pwg="pwg",h.cycle="le",h.period="prd",h.access_token="tkn",h.name="nm",h.id="id";const p={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},_="hhg_user_token";var A=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,ECOM_LOCALES:c,CARE_LOCALES:I,CARE_BOOKING_LOCALES:r,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,BEARER_TOKEN_COOKIE:_,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.BEARER_TOKEN_COOKIE=_,exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=I,exports.ECOM_LOCALES=c,exports.FAVICONS=T,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=A,exports.siteHost=l,exports.siteOptions=i;
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-fcf02fa3.js"),l=require("./index.styled-810bc63e.js"),o=require("./index-8822fbf1.js"),r=require("styled-components"),i=require("./useTranslations-09aab6f2.js"),n=require("./Onboarding-8e53aa5b.js"),d=require("./index-86504a02.js"),s=require("./index-42937b26.js"),c=require("./theme-9b405d7c.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),p=u(r);const h=({open:e=!1,onClickOutside:t})=>m.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),f=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:d,siteType:u})=>{const[p,h]=e.useState(t),f="marryBaby"===u;return m.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>m.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),n&&n(t))}},m.default.createElement("div",null,e.content,e.label&&m.default.createElement(m.default.Fragment,null,f?m.default.createElement(s.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?c.theme.mbColors.dark:c.theme.mbColors.midGray},e.label):m.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},g=p.default.div`
1
+ "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-f23f3aa8.js"),l=require("./index.styled-5e9c4c2c.js"),o=require("./index-f3bd42a6.js"),r=require("styled-components"),i=require("./useTranslations-745514b8.js"),n=require("./Onboarding-d04183a6.js"),d=require("./index-46f6cf5d.js"),s=require("./index-f2786e28.js"),c=require("./theme-0e4c967e.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(e),p=u(r);const h=({open:e=!1,onClickOutside:t})=>m.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),f=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:d,siteType:u})=>{const[p,h]=e.useState(t),f="marryBaby"===u;return m.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>m.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":d,key:a,onClick:()=>{var t;t=e.value,d||(h(t),n&&n(t))}},m.default.createElement("div",null,e.content,e.label&&m.default.createElement(m.default.Fragment,null,f?m.default.createElement(s.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?c.theme.mbColors.dark:c.theme.mbColors.midGray},e.label):m.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},g=p.default.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./index.styled-810bc63e.js"),a=require("./tslib.es6-782e7656.js"),r=require("./useTranslations-09aab6f2.js"),s=require("@mantine/core");require("./gAssets.js"),require("@mantine/dates"),require("./index-dd9661e3.js"),require("./Onboarding-8e53aa5b.js");var n=require("./index-c40cf91d.js"),i=require("./index-5fc3b8ac.js");require("dayjs"),require("./screenSizeContext-69befcd5.js"),require("styled-components"),require("./theme-9b405d7c.js"),require("./utils-fcf02fa3.js"),require("./isProduction-7edfdddb.js"),require("./translationsContext-d8e6734d.js"),require("string-format"),require("./index-9dbcc2a8.js"),require("@mantine/hooks");var l=require("./index.styled-cdb3d412.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=d(e);const c={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var u="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:n,title:i,styles:l,className:d}=e,u=a.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=r.useTranslations(),v=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:y,cx:f}=t.useStyles(void 0,{name:"AuthorBadge",styles:l});return v&&c[v]?o.default.createElement("div",Object.assign({className:f(y.root,d),"data-label-type":v,"data-is-marrybaby":"marryBaby"===s},u),i||m(c[v])):null},exports.BtnChoice=({value:t,choices:a,onChange:r})=>{const[s,n]=e.useState(t);return e.useEffect((()=>{n(t)}),[t]),o.default.createElement("div",{className:u},a.map(((e,t)=>o.default.createElement(i.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===s?"primary":"tertiary",key:t,onClick:()=>{n(e.value),null==r||r(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:a,style:r})=>o.default.createElement(t.StyledDivider,{style:r,className:a,"data-diver-type":e,dividerType:e}),exports.ImageWithHandler=t=>{var{fallbackSrc:r}=t,n=a.__rest(t,["fallbackSrc"]);const{other:i}=s.useMantineTheme(),l=e.useRef(null),d=r||i.defaultImage,c=n.src||d||"",u=e.useRef(!1);e.useEffect((()=>{c!==d&&l.current&&(l.current.src=c)}),[]),e.useEffect((()=>{u.current=!1}),[c]);return o.default.createElement("img",Object.assign({ref:l},n,{src:c,onError:e=>{var t;u.current||(e.currentTarget.src=d||"",u.current=!0),null===(t=n.onError)||void 0===t||t.call(n,e)}}))},exports.Tabs=({style:t,initialTab:a,tabContent:r,onChange:s,className:i,dataEventCategory:d,dataEventAction:c,dataEventLabel:u,id:m,styles:v})=>{const{classes:y,cx:f,theme:b}=l.useStyles(void 0,{name:"Tabs",styles:v}),[E,g]=e.useState(a||0);return e.useEffect((()=>{g(a)}),[a]),o.default.createElement("ul",{style:t,className:f(y.root,i),role:"tablist",id:m},r.map(((e,t)=>o.default.createElement("li",{className:`${y.item} ${E===t?"active":""}`,"aria-selected":E===t,role:"tab",onClick:()=>{g(t),s&&s(t)},onKeyDown:e=>{"Enter"===e.key&&(g(t),s&&s(t))},key:t,"data-event-category":e.dataEventCategory||d,"data-event-action":e.dataEventAction||c,"data-event-label":e.dataEventLabel||u,tabIndex:0,"data-testid":e.dataTestid},o.default.createElement("div",{className:y.itemInner},e.icon&&o.default.createElement("div",{className:y.icon},e.icon),o.default.createElement(n.Text,{className:y.label,size:e.textSize||"sm",weight:e.textType||"bold",color:E===t?b.fn.primaryColor():e.textColor||b.colors.gray[4],dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name))))))};
1
+ "use strict";var e=require("react"),t=require("./index.styled-5e9c4c2c.js"),a=require("./tslib.es6-ba8d762a.js"),r=require("./useTranslations-745514b8.js"),s=require("@mantine/core");require("./gAssets.js"),require("@mantine/dates"),require("./index-0d22bc7f.js"),require("./Onboarding-d04183a6.js");var n=require("./index-ea062489.js"),i=require("./index-ab162cd4.js");require("dayjs"),require("./screenSizeContext-c88a1107.js"),require("styled-components"),require("./theme-0e4c967e.js"),require("./utils-f23f3aa8.js"),require("./isProduction-2c6d17cf.js"),require("./translationsContext-0496f203.js"),require("string-format"),require("./index-ec9c75dc.js"),require("@mantine/hooks");var l=require("./index.styled-56217e84.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=o(e);const c={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var u="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:n,title:i,styles:l,className:o}=e,u=a.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=r.useTranslations(),v=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"",{classes:y,cx:f}=t.useStyles(void 0,{name:"AuthorBadge",styles:l});return v&&c[v]?d.default.createElement("div",Object.assign({className:f(y.root,o),"data-label-type":v,"data-is-marrybaby":"marryBaby"===s},u),i||m(c[v])):null},exports.BtnChoice=({value:t,choices:a,onChange:r})=>{const[s,n]=e.useState(t);return e.useEffect((()=>{n(t)}),[t]),d.default.createElement("div",{className:u},a.map(((e,t)=>d.default.createElement(i.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===s?"primary":"tertiary",key:t,onClick:()=>{n(e.value),null==r||r(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:a,style:r})=>d.default.createElement(t.StyledDivider,{style:r,className:a,"data-diver-type":e,dividerType:e}),exports.ImageWithHandler=t=>{var{fallbackSrc:r}=t,n=a.__rest(t,["fallbackSrc"]);const{other:i}=s.useMantineTheme(),l=e.useRef(null),o=r||i.defaultImage,c=n.src||o||"",u=e.useRef(!1);e.useEffect((()=>{c!==o&&l.current&&(l.current.src=c)}),[]),e.useEffect((()=>{u.current=!1}),[c]);return d.default.createElement("img",Object.assign({ref:l},n,{src:c,onError:e=>{var t;u.current||(e.currentTarget.src=o||"",u.current=!0),null===(t=n.onError)||void 0===t||t.call(n,e)}}))},exports.Tabs=({style:t,initialTab:a,tabContent:r,onChange:s,className:i,dataEventCategory:o,dataEventAction:c,dataEventLabel:u,id:m,styles:v})=>{const{classes:y,cx:f,theme:b}=l.useStyles(void 0,{name:"Tabs",styles:v}),[E,g]=e.useState(a||0);return e.useEffect((()=>{g(a)}),[a]),d.default.createElement("ul",{style:t,className:f(y.root,i),role:"tablist",id:m},r.map(((e,t)=>d.default.createElement("li",{className:`${y.item} ${E===t?"active":""}`,"aria-selected":E===t,role:"tab",onClick:()=>{g(t),s&&s(t)},onKeyDown:e=>{"Enter"===e.key&&(g(t),s&&s(t))},key:t,"data-event-category":e.dataEventCategory||o,"data-event-action":e.dataEventAction||c,"data-event-label":e.dataEventLabel||u,tabIndex:0,"data-testid":e.dataTestid},d.default.createElement("div",{className:y.itemInner},e.icon&&d.default.createElement("div",{className:y.icon},e.icon),d.default.createElement(n.Text,{className:y.label,size:e.textSize||"sm",weight:e.textType||"bold",color:E===t?b.fn.primaryColor():e.textColor||b.colors.gray[4],dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name))))))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-782e7656.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-03ff493f.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:f,CustomInput:C,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},C||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:f,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
1
+ "use strict";var e=require("./tslib.es6-ba8d762a.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-7edb8f7e.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};