@hhgtech/hhg-components 1.27.76 → 1.27.78

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 (267) 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-29a98a5e.js +1 -0
  7. package/build/{dataTransform-aea67247.js → dataTransform-e059c212.js} +1 -1
  8. package/build/ecom.js +1 -1
  9. package/build/esm/babyGrowth.js +4 -4
  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-76118e0d.js → core-44c4d5a7.js} +1 -1
  15. package/build/esm/{dataTransform-5949df7b.js → dataTransform-3ad49c0d.js} +1 -1
  16. package/build/esm/ecom.js +1 -1
  17. package/build/esm/{fixedBottomAdBlock-535345f7.js → fixedBottomAdBlock-f9f4497f.js} +1 -1
  18. package/build/esm/footer.js +1 -1
  19. package/build/esm/gAssets.js +1 -1
  20. package/build/esm/{getDynamicHealthTool-7453ae72.js → getDynamicHealthTool-cd934ae0.js} +1 -1
  21. package/build/esm/{getSocialList-b775d5ed.js → getSocialList-26f09669.js} +1 -1
  22. package/build/esm/hooks.js +1 -1
  23. package/build/esm/i18n.js +1 -1
  24. package/build/esm/i18nV2.js +1 -1
  25. package/build/esm/{index-b55076d8.js → index-03981da2.js} +1 -1
  26. package/build/esm/{index-c65c9fd2.js → index-0a6fa4cc.js} +2 -2
  27. package/build/esm/index-0ec9b0bd.js +53 -0
  28. package/build/esm/{index-44a40183.js → index-251ac76a.js} +6 -6
  29. package/build/esm/{index-e435900a.js → index-27b659b0.js} +1 -1
  30. package/build/esm/{index-13099f72.js → index-31476649.js} +1 -1
  31. package/build/esm/{index-23a4f40f.js → index-380302d6.js} +1 -1
  32. package/build/esm/{index-800718e2.js → index-3d8a6f49.js} +1 -1
  33. package/build/esm/index-42f49dee.js +1 -0
  34. package/build/esm/{index-06614e02.js → index-6df4978c.js} +1 -1
  35. package/build/esm/{index-d737fa66.js → index-80186250.js} +1 -1
  36. package/build/esm/index-841e9b1a.js +1 -0
  37. package/build/esm/{index-a862ef93.js → index-91137710.js} +1 -1
  38. package/build/esm/{index-795ed49f.js → index-9b827592.js} +1 -1
  39. package/build/esm/index-a13d5bc0.js +1 -0
  40. package/build/esm/index-a1d0e05c.js +1 -0
  41. package/build/esm/{index-f8f8f457.js → index-cc4ee537.js} +1 -1
  42. package/build/esm/{index-5921f524.js → index-d3af565f.js} +1 -1
  43. package/build/esm/{index-84c551f6.js → index-de89c6d8.js} +1 -1
  44. package/build/esm/{index-60865ae8.js → index-e48fba27.js} +1 -1
  45. package/build/esm/{index-d7f14a20.js → index-f50ae417.js} +1 -1
  46. package/build/esm/index.js +1 -1
  47. package/build/esm/{index.styled-b17a2415.js → index.styled-4c6e37b0.js} +7 -7
  48. package/build/esm/index.styled-74e10a26.js +50 -0
  49. package/build/esm/{index.styled-d1af6a46.js → index.styled-82196312.js} +9 -9
  50. package/build/esm/lead.js +1 -1
  51. package/build/esm/mantine.js +1 -1
  52. package/build/esm/misc.js +1 -1
  53. package/build/esm/navigation.js +1 -1
  54. package/build/esm/onboarding.js +1 -1
  55. package/build/esm/onboardingV2.js +1 -1
  56. package/build/esm/pwg.js +3 -3
  57. package/build/esm/{routing-6572230c.js → routing-9bd1c0cf.js} +1 -1
  58. package/build/esm/together.js +1 -1
  59. package/build/esm/{types-bacf34e2.js → types-556bc635.js} +1 -1
  60. package/build/esm/{types-d3029d09.js → types-df76e189.js} +81 -81
  61. package/build/esm/types.js +1 -1
  62. package/build/esm/useHealthToolCache-3e5103d3.js +1 -0
  63. package/build/esm/{useRafState-b3978423.js → useRafState-0e79cc14.js} +1 -1
  64. package/build/esm/useTranslations-f02eb191.js +1 -0
  65. package/build/esm/{utils-46fa0b74.js → utils-1f49154b.js} +1 -1
  66. package/build/esm/{utils-a40e61f1.js → utils-6d17f712.js} +1 -1
  67. package/build/esm/vaccination.js +5 -5
  68. package/build/{fixedBottomAdBlock-c331bdd5.js → fixedBottomAdBlock-f36f2f92.js} +1 -1
  69. package/build/footer.js +1 -1
  70. package/build/gAssets.js +1 -1
  71. package/build/getDynamicHealthTool-c4503e1c.js +1 -0
  72. package/build/{getSocialList-5f09a55b.js → getSocialList-07361dc7.js} +1 -1
  73. package/build/hooks.js +1 -1
  74. package/build/i18n.js +1 -1
  75. package/build/i18nV2.js +1 -1
  76. package/build/{index-102d7ba2.js → index-006ae7f1.js} +1 -1
  77. package/build/{index-1ec819cc.js → index-019502eb.js} +1 -1
  78. package/build/{index-9dceabe9.js → index-0f97c479.js} +1 -1
  79. package/build/{index-39ba4a88.js → index-282a8655.js} +1 -1
  80. package/build/{index-2f52117b.js → index-3e4d102c.js} +1 -1
  81. package/build/{index-89c81645.js → index-51014c3f.js} +1 -1
  82. package/build/{index-ecfba34f.js → index-57c98658.js} +1 -1
  83. package/build/{index-15fda270.js → index-5ba227ab.js} +1 -1
  84. package/build/{index-928fc97a.js → index-61b89b4b.js} +1 -1
  85. package/build/{index-51bd49be.js → index-668730c7.js} +1 -1
  86. package/build/{index-e1d38a49.js → index-8571b215.js} +1 -1
  87. package/build/{index-facb1a06.js → index-88ccb9bc.js} +1 -1
  88. package/build/{index-8cc18ebd.js → index-8f068d3c.js} +1 -1
  89. package/build/{index-20061432.js → index-942e90f7.js} +1 -1
  90. package/build/{index-a3b57299.js → index-a4f745f5.js} +1 -1
  91. package/build/{index-7833d40c.js → index-bdf6da0e.js} +2 -2
  92. package/build/{index-e910920c.js → index-def58b2f.js} +1 -1
  93. package/build/{index-dcb44ef9.js → index-e09f33ba.js} +1 -1
  94. package/build/{index-811c4cec.js → index-ecdde5af.js} +1 -1
  95. package/build/index-fcdcdc6a.js +1 -0
  96. package/build/{index-d687191c.js → index-fd8698af.js} +1 -1
  97. package/build/index.js +1 -1
  98. package/build/{index.styled-ae410963.js → index.styled-049b5ca0.js} +1 -1
  99. package/build/{index.styled-59ecf213.js → index.styled-28001484.js} +1 -1
  100. package/build/index.styled-e9f80af4.js +50 -0
  101. package/build/lead.js +1 -1
  102. package/build/mantine.js +1 -1
  103. package/build/misc.js +1 -1
  104. package/build/navigation.js +1 -1
  105. package/build/onboarding.js +1 -1
  106. package/build/onboardingV2.js +1 -1
  107. package/build/pwg.js +1 -1
  108. package/build/{routing-041bddcd.js → routing-68d0b247.js} +1 -1
  109. package/build/together.js +1 -1
  110. package/build/{types-fcba9b22.js → types-c657ac6d.js} +3 -3
  111. package/build/{types-53067c13.js → types-df3f4e13.js} +1 -1
  112. package/build/types.js +1 -1
  113. package/build/useHealthToolCache-5c75347c.js +1 -0
  114. package/build/{useRafState-604e03c3.js → useRafState-f997f496.js} +1 -1
  115. package/build/{useTranslations-a55f1d22.js → useTranslations-95f1399d.js} +1 -1
  116. package/build/utils-67a028e4.js +1 -0
  117. package/build/{utils-fa92f01c.js → utils-d79de40e.js} +1 -1
  118. package/build/vaccination.js +1 -1
  119. package/package.json +1 -1
  120. package/build/core-c4716a73.js +0 -1
  121. package/build/esm/index-07cbc3e7.js +0 -1
  122. package/build/esm/index-33e52c6f.js +0 -53
  123. package/build/esm/index-8034d84f.js +0 -1
  124. package/build/esm/index-a7808541.js +0 -1
  125. package/build/esm/index-aa5a1fcf.js +0 -1
  126. package/build/esm/index.styled-014222dd.js +0 -50
  127. package/build/esm/useHealthToolCache-18375998.js +0 -1
  128. package/build/esm/useTranslations-39856f38.js +0 -1
  129. package/build/getDynamicHealthTool-2279cae3.js +0 -1
  130. package/build/index-76446297.js +0 -1
  131. package/build/index.styled-d150ad0d.js +0 -50
  132. package/build/useHealthToolCache-fe12ca57.js +0 -1
  133. package/build/utils-204fa3fa.js +0 -1
  134. /package/build/{BMI_BOYS.percentile.monthly-914f5734.js → BMI_BOYS.percentile.monthly-5874e445.js} +0 -0
  135. /package/build/{BMI_BOYS.percentile.weekly-5e8fefa4.js → BMI_BOYS.percentile.weekly-4f0c485b.js} +0 -0
  136. /package/build/{BMI_BOYS.percentile.yearly-989b236f.js → BMI_BOYS.percentile.yearly-f2c3c180.js} +0 -0
  137. /package/build/{BMI_BOYS.zscore.monthly-0c14438f.js → BMI_BOYS.zscore.monthly-2f798678.js} +0 -0
  138. /package/build/{BMI_BOYS.zscore.weekly-5d6b12c0.js → BMI_BOYS.zscore.weekly-89b5f292.js} +0 -0
  139. /package/build/{BMI_BOYS.zscore.yearly-6aa095b5.js → BMI_BOYS.zscore.yearly-31653ef9.js} +0 -0
  140. /package/build/{BMI_GIRLS.percentile.monthly-990ef8cf.js → BMI_GIRLS.percentile.monthly-8a149eac.js} +0 -0
  141. /package/build/{BMI_GIRLS.percentile.weekly-8c81480d.js → BMI_GIRLS.percentile.weekly-f76157cc.js} +0 -0
  142. /package/build/{BMI_GIRLS.percentile.yearly-1ca610c7.js → BMI_GIRLS.percentile.yearly-2169a0de.js} +0 -0
  143. /package/build/{BMI_GIRLS.zscore.monthly-894348f8.js → BMI_GIRLS.zscore.monthly-e91267e9.js} +0 -0
  144. /package/build/{BMI_GIRLS.zscore.weekly-4a67a8c1.js → BMI_GIRLS.zscore.weekly-190df407.js} +0 -0
  145. /package/build/{BMI_GIRLS.zscore.yearly-bc7eee27.js → BMI_GIRLS.zscore.yearly-c28aa15d.js} +0 -0
  146. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4b4cf9fd.js → HEAD CIRCUM_BOYS.percentile.monthly-0c88fa9a.js} +0 -0
  147. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5df546e3.js → HEAD CIRCUM_BOYS.percentile.weekly-11a67133.js} +0 -0
  148. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-5119e173.js → HEAD CIRCUM_BOYS.percentile.yearly-7079101e.js} +0 -0
  149. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5d6fce0c.js → HEAD CIRCUM_BOYS.zscore.monthly-6761b3ea.js} +0 -0
  150. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-618074ff.js → HEAD CIRCUM_BOYS.zscore.weekly-f1756225.js} +0 -0
  151. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-5c7cccc5.js → HEAD CIRCUM_BOYS.zscore.yearly-070044b4.js} +0 -0
  152. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d18170ba.js → HEAD CIRCUM_GIRLS.percentile.monthly-7ea24f4a.js} +0 -0
  153. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e0ee1816.js → HEAD CIRCUM_GIRLS.percentile.weekly-95a8468d.js} +0 -0
  154. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7899652d.js → HEAD CIRCUM_GIRLS.percentile.yearly-8674723d.js} +0 -0
  155. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d15eb1c6.js → HEAD CIRCUM_GIRLS.zscore.monthly-4cf4585d.js} +0 -0
  156. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-53c574ae.js → HEAD CIRCUM_GIRLS.zscore.weekly-72f407fd.js} +0 -0
  157. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-892c4776.js → HEAD CIRCUM_GIRLS.zscore.yearly-ae7c986a.js} +0 -0
  158. /package/build/{HEIGHT_BOYS.percentile.monthly-c1e1753a.js → HEIGHT_BOYS.percentile.monthly-e934252c.js} +0 -0
  159. /package/build/{HEIGHT_BOYS.percentile.weekly-5215cc1c.js → HEIGHT_BOYS.percentile.weekly-36b2b67f.js} +0 -0
  160. /package/build/{HEIGHT_BOYS.percentile.yearly-4815cd78.js → HEIGHT_BOYS.percentile.yearly-840c33e6.js} +0 -0
  161. /package/build/{HEIGHT_BOYS.zscore.monthly-0f4cf796.js → HEIGHT_BOYS.zscore.monthly-9b991e74.js} +0 -0
  162. /package/build/{HEIGHT_BOYS.zscore.weekly-fbbd7b2e.js → HEIGHT_BOYS.zscore.weekly-e0e323e8.js} +0 -0
  163. /package/build/{HEIGHT_BOYS.zscore.yearly-309e1081.js → HEIGHT_BOYS.zscore.yearly-ae9791b7.js} +0 -0
  164. /package/build/{HEIGHT_GIRLS.percentile.monthly-d738829e.js → HEIGHT_GIRLS.percentile.monthly-2038ea42.js} +0 -0
  165. /package/build/{HEIGHT_GIRLS.percentile.weekly-d131bd73.js → HEIGHT_GIRLS.percentile.weekly-1c17f5ab.js} +0 -0
  166. /package/build/{HEIGHT_GIRLS.percentile.yearly-958f5d84.js → HEIGHT_GIRLS.percentile.yearly-1381b2f9.js} +0 -0
  167. /package/build/{HEIGHT_GIRLS.zscore.monthly-d225e962.js → HEIGHT_GIRLS.zscore.monthly-1a3f7f80.js} +0 -0
  168. /package/build/{HEIGHT_GIRLS.zscore.weekly-9b2835fe.js → HEIGHT_GIRLS.zscore.weekly-a768d4ba.js} +0 -0
  169. /package/build/{HEIGHT_GIRLS.zscore.yearly-af6829a3.js → HEIGHT_GIRLS.zscore.yearly-fd0231dc.js} +0 -0
  170. /package/build/{Onboarding-db812105.js → Onboarding-0a35aa99.js} +0 -0
  171. /package/build/{Visible-df16febe.js → Visible-88f41d8d.js} +0 -0
  172. /package/build/{WEIGHT_BOYS.percentile.monthly-79fa2a56.js → WEIGHT_BOYS.percentile.monthly-360eead3.js} +0 -0
  173. /package/build/{WEIGHT_BOYS.percentile.weekly-12f5fbc2.js → WEIGHT_BOYS.percentile.weekly-929aee70.js} +0 -0
  174. /package/build/{WEIGHT_BOYS.percentile.yearly-29f763f4.js → WEIGHT_BOYS.percentile.yearly-c217998d.js} +0 -0
  175. /package/build/{WEIGHT_BOYS.zscore.monthly-1379e747.js → WEIGHT_BOYS.zscore.monthly-945a065b.js} +0 -0
  176. /package/build/{WEIGHT_BOYS.zscore.weekly-924d54f2.js → WEIGHT_BOYS.zscore.weekly-57939d8c.js} +0 -0
  177. /package/build/{WEIGHT_BOYS.zscore.yearly-db1da36f.js → WEIGHT_BOYS.zscore.yearly-c0242a0e.js} +0 -0
  178. /package/build/{WEIGHT_GIRLS.percentile.monthly-fc92c80b.js → WEIGHT_GIRLS.percentile.monthly-f422811d.js} +0 -0
  179. /package/build/{WEIGHT_GIRLS.percentile.weekly-0d291b88.js → WEIGHT_GIRLS.percentile.weekly-2283c0f2.js} +0 -0
  180. /package/build/{WEIGHT_GIRLS.percentile.yearly-a1d6b6b3.js → WEIGHT_GIRLS.percentile.yearly-d3e63ef9.js} +0 -0
  181. /package/build/{WEIGHT_GIRLS.zscore.monthly-0fd62c0b.js → WEIGHT_GIRLS.zscore.monthly-f7172a03.js} +0 -0
  182. /package/build/{WEIGHT_GIRLS.zscore.weekly-6d8fefc8.js → WEIGHT_GIRLS.zscore.weekly-9bd8c5b4.js} +0 -0
  183. /package/build/{WEIGHT_GIRLS.zscore.yearly-dc67d9d3.js → WEIGHT_GIRLS.zscore.yearly-8583c260.js} +0 -0
  184. /package/build/{constants-9c971977.js → constants-1040c4ad.js} +0 -0
  185. /package/build/{cookieHelper-20190c5b.js → cookieHelper-9efd7919.js} +0 -0
  186. /package/build/{dataTransform-e257595f.js → dataTransform-46bb19f8.js} +0 -0
  187. /package/build/esm/{BMI_BOYS.percentile.monthly-05b76dff.js → BMI_BOYS.percentile.monthly-547e557b.js} +0 -0
  188. /package/build/esm/{BMI_BOYS.percentile.weekly-a35c2f96.js → BMI_BOYS.percentile.weekly-56f1bf64.js} +0 -0
  189. /package/build/esm/{BMI_BOYS.percentile.yearly-89ca7379.js → BMI_BOYS.percentile.yearly-08153283.js} +0 -0
  190. /package/build/esm/{BMI_BOYS.zscore.monthly-adf73ac0.js → BMI_BOYS.zscore.monthly-e1743d39.js} +0 -0
  191. /package/build/esm/{BMI_BOYS.zscore.weekly-0d8caeba.js → BMI_BOYS.zscore.weekly-218e6d3b.js} +0 -0
  192. /package/build/esm/{BMI_BOYS.zscore.yearly-d7a4ca56.js → BMI_BOYS.zscore.yearly-607cc374.js} +0 -0
  193. /package/build/esm/{BMI_GIRLS.percentile.monthly-6c572d03.js → BMI_GIRLS.percentile.monthly-d83aa6f1.js} +0 -0
  194. /package/build/esm/{BMI_GIRLS.percentile.weekly-cdb4493f.js → BMI_GIRLS.percentile.weekly-303de5b0.js} +0 -0
  195. /package/build/esm/{BMI_GIRLS.percentile.yearly-b1c29108.js → BMI_GIRLS.percentile.yearly-c3487381.js} +0 -0
  196. /package/build/esm/{BMI_GIRLS.zscore.monthly-5f1ba1fa.js → BMI_GIRLS.zscore.monthly-239b7d45.js} +0 -0
  197. /package/build/esm/{BMI_GIRLS.zscore.weekly-c07176b3.js → BMI_GIRLS.zscore.weekly-5b0c5d24.js} +0 -0
  198. /package/build/esm/{BMI_GIRLS.zscore.yearly-b3fd78db.js → BMI_GIRLS.zscore.yearly-51737763.js} +0 -0
  199. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f893f68f.js → HEAD CIRCUM_BOYS.percentile.monthly-8ca3e98a.js} +0 -0
  200. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-165c6d6c.js → HEAD CIRCUM_BOYS.percentile.weekly-a09e6c9f.js} +0 -0
  201. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-efd09092.js → HEAD CIRCUM_BOYS.percentile.yearly-22456c92.js} +0 -0
  202. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c6e6d347.js → HEAD CIRCUM_BOYS.zscore.monthly-b831eed7.js} +0 -0
  203. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5a5b94e9.js → HEAD CIRCUM_BOYS.zscore.weekly-1746ab2c.js} +0 -0
  204. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4070a11a.js → HEAD CIRCUM_BOYS.zscore.yearly-4e918685.js} +0 -0
  205. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-3976c360.js → HEAD CIRCUM_GIRLS.percentile.monthly-fb34a270.js} +0 -0
  206. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-fe5bbf42.js → HEAD CIRCUM_GIRLS.percentile.weekly-bb427f3d.js} +0 -0
  207. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-600a3258.js → HEAD CIRCUM_GIRLS.percentile.yearly-ee0ef0c6.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4ae0aa15.js → HEAD CIRCUM_GIRLS.zscore.monthly-ad09e307.js} +0 -0
  209. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b0d245d.js → HEAD CIRCUM_GIRLS.zscore.weekly-5f3cea34.js} +0 -0
  210. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-15ab2edc.js → HEAD CIRCUM_GIRLS.zscore.yearly-aac07d55.js} +0 -0
  211. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1ee49949.js → HEIGHT_BOYS.percentile.monthly-bbd8ec94.js} +0 -0
  212. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-acdf9388.js → HEIGHT_BOYS.percentile.weekly-e7b984aa.js} +0 -0
  213. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c48251fd.js → HEIGHT_BOYS.percentile.yearly-06c1e60d.js} +0 -0
  214. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-fda405a2.js → HEIGHT_BOYS.zscore.monthly-068a8a27.js} +0 -0
  215. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-56249d82.js → HEIGHT_BOYS.zscore.weekly-eb7f3f06.js} +0 -0
  216. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-23aed1e8.js → HEIGHT_BOYS.zscore.yearly-4ec316ec.js} +0 -0
  217. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bab23b18.js → HEIGHT_GIRLS.percentile.monthly-950d0ea5.js} +0 -0
  218. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4fdff030.js → HEIGHT_GIRLS.percentile.weekly-78ad3c75.js} +0 -0
  219. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d292c9a5.js → HEIGHT_GIRLS.percentile.yearly-16cefac2.js} +0 -0
  220. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-e8097a34.js → HEIGHT_GIRLS.zscore.monthly-6fafd59a.js} +0 -0
  221. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cd4fbb2c.js → HEIGHT_GIRLS.zscore.weekly-bbe5c85d.js} +0 -0
  222. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-afcf5910.js → HEIGHT_GIRLS.zscore.yearly-5f2ff241.js} +0 -0
  223. /package/build/esm/{Onboarding-08cc7302.js → Onboarding-43862b7b.js} +0 -0
  224. /package/build/esm/{Visible-b641d492.js → Visible-ec398164.js} +0 -0
  225. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5c61e95a.js → WEIGHT_BOYS.percentile.monthly-aff75784.js} +0 -0
  226. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-441e7a55.js → WEIGHT_BOYS.percentile.weekly-32a8379a.js} +0 -0
  227. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c6868f77.js → WEIGHT_BOYS.percentile.yearly-784be088.js} +0 -0
  228. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8b870484.js → WEIGHT_BOYS.zscore.monthly-183b855b.js} +0 -0
  229. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-09d00591.js → WEIGHT_BOYS.zscore.weekly-240f85cb.js} +0 -0
  230. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f47402e3.js → WEIGHT_BOYS.zscore.yearly-5353a9d5.js} +0 -0
  231. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-ab4fcd09.js → WEIGHT_GIRLS.percentile.monthly-99f8e410.js} +0 -0
  232. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-b16c55af.js → WEIGHT_GIRLS.percentile.weekly-ae372739.js} +0 -0
  233. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-4d01d736.js → WEIGHT_GIRLS.percentile.yearly-2d485623.js} +0 -0
  234. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-dbfc67a3.js → WEIGHT_GIRLS.zscore.monthly-b187bcda.js} +0 -0
  235. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-741c4a70.js → WEIGHT_GIRLS.zscore.weekly-0547fa9c.js} +0 -0
  236. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8c7026ee.js → WEIGHT_GIRLS.zscore.yearly-29fc2ba0.js} +0 -0
  237. /package/build/esm/{constants-564f593e.js → constants-4164a332.js} +0 -0
  238. /package/build/esm/{cookieHelper-d0d1392b.js → cookieHelper-b5198ba7.js} +0 -0
  239. /package/build/esm/{dataTransform-6c281cd2.js → dataTransform-4798268a.js} +0 -0
  240. /package/build/esm/{index-c901af33.js → index-fdeb7f10.js} +0 -0
  241. /package/build/esm/{isProduction-28f89c19.js → isProduction-7fc869ed.js} +0 -0
  242. /package/build/esm/{localizeNumberFormat-1ca926e0.js → localizeNumberFormat-e9a22280.js} +0 -0
  243. /package/build/esm/{normalizeLink-f8b5d7d0.js → normalizeLink-a9e07d8c.js} +0 -0
  244. /package/build/esm/{paths-a641d10c.js → paths-392d2bdb.js} +0 -0
  245. /package/build/esm/{screenSizeContext-7f85dfc4.js → screenSizeContext-8144e3e5.js} +0 -0
  246. /package/build/esm/{theme-f74408a1.js → theme-a2a171b2.js} +0 -0
  247. /package/build/esm/{translationsContext-5483c365.js → translationsContext-2c7be8c0.js} +0 -0
  248. /package/build/esm/{tslib.es6-5020a074.js → tslib.es6-2e31dcb2.js} +0 -0
  249. /package/build/esm/{types-d1c76761.js → types-050ea401.js} +0 -0
  250. /package/build/esm/{useIsInit-5951cf15.js → useIsInit-89ffe85c.js} +0 -0
  251. /package/build/esm/{useOutsideClick-8e180ef3.js → useOutsideClick-07e69274.js} +0 -0
  252. /package/build/esm/{useScrollbarSize-f87e7c52.js → useScrollbarSize-aca76ea6.js} +0 -0
  253. /package/build/esm/{useUniqueId-e829fd66.js → useUniqueId-62cbb6d3.js} +0 -0
  254. /package/build/{index-f87aac98.js → index-615df44d.js} +0 -0
  255. /package/build/{isProduction-629fba62.js → isProduction-f892b978.js} +0 -0
  256. /package/build/{localizeNumberFormat-3bfc1c4b.js → localizeNumberFormat-9bccc072.js} +0 -0
  257. /package/build/{normalizeLink-d35cda22.js → normalizeLink-bd50251f.js} +0 -0
  258. /package/build/{paths-5760b908.js → paths-4281a119.js} +0 -0
  259. /package/build/{screenSizeContext-4958e54e.js → screenSizeContext-6f10e9b3.js} +0 -0
  260. /package/build/{theme-2f122010.js → theme-48d542a5.js} +0 -0
  261. /package/build/{translationsContext-6bc6d4eb.js → translationsContext-f2d68f9a.js} +0 -0
  262. /package/build/{tslib.es6-e717a934.js → tslib.es6-6b56e029.js} +0 -0
  263. /package/build/{types-a2e54951.js → types-feb2b3fe.js} +0 -0
  264. /package/build/{useIsInit-4e399e3e.js → useIsInit-46f59445.js} +0 -0
  265. /package/build/{useOutsideClick-28e8970d.js → useOutsideClick-76205435.js} +0 -0
  266. /package/build/{useScrollbarSize-36836d06.js → useScrollbarSize-13f27011.js} +0 -0
  267. /package/build/{useUniqueId-2694410c.js → useUniqueId-efa7ed8c.js} +0 -0
@@ -1,4 +1,4 @@
1
- import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as i}from"@mantine/core";import{t as n,M as l}from"./screenSizeContext-7f85dfc4.js";import{a2 as r,a3 as s,a4 as d,a5 as c,a6 as m,a7 as p,a0 as h}from"./utils-46fa0b74.js";import{T as u}from"./index-aa5a1fcf.js";import g from"styled-components";import{u as b}from"./useTranslations-39856f38.js";import{G as f}from"./Onboarding-08cc7302.js";import{I as x}from"./index-c65c9fd2.js";import{M as y,a as C}from"./index-a7808541.js";import{t as v}from"./theme-f74408a1.js";const w=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),E=({children:o,title:l,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:g=!0,className:b})=>{const f=t();a((()=>(n(m),()=>n(!1))),[m]);const x=()=>{f.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(i,null,e.createElement(s,{className:b,open:m},e.createElement(w,{open:m,onClickOutside:x}),e.createElement(d,{open:m,placement:p,ref:f,hasTitle:Boolean(l)},e.createElement("div",{className:"title"},l&&e.createElement(u,{size:"s2",type:"semiBold"},l),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:x},e.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),e.createElement(c,{onClick:e=>{g&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:x}):null)))))},$=({value:t,options:a,className:i,direction:n="horizontal",onChange:l,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":n},a.map(((a,o)=>e.createElement(p,{"data-selected":(t||d)===a.value,"data-is-mb":h,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),l&&l(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(y,{type:"subtitle-2",color:(t||d)===a.value?v.mbColors.dark:v.mbColors.midGray},a.label):e.createElement(u,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},k="hhgcomp-modal-modal",B=h(g.div`
1
+ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as i}from"@mantine/core";import{t as n,M as l}from"./screenSizeContext-8144e3e5.js";import{a2 as r,a3 as s,a4 as d,a5 as c,a6 as m,a7 as p,a0 as h}from"./utils-1f49154b.js";import{T as b}from"./index-a1d0e05c.js";import u from"styled-components";import{u as g}from"./useTranslations-f02eb191.js";import{G as x}from"./Onboarding-43862b7b.js";import{I as y}from"./index-0a6fa4cc.js";import{M as f,a as C}from"./index-42f49dee.js";import{t as v}from"./theme-a2a171b2.js";const w=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),E=({children:o,title:l,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:u=!0,className:g})=>{const x=t();a((()=>(n(m),()=>n(!1))),[m]);const y=()=>{x.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(i,null,e.createElement(s,{className:g,open:m},e.createElement(w,{open:m,onClickOutside:y}),e.createElement(d,{open:m,placement:p,ref:x,hasTitle:Boolean(l)},e.createElement("div",{className:"title"},l&&e.createElement(b,{size:"s2",type:"semiBold"},l),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:y},e.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),e.createElement(c,{onClick:e=>{u&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:y}):null)))))},$=({value:t,options:a,className:i,direction:n="horizontal",onChange:l,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":n},a.map(((a,o)=>e.createElement(p,{"data-selected":(t||d)===a.value,"data-is-mb":h,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),l&&l(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(f,{type:"subtitle-2",color:(t||d)===a.value?v.mbColors.dark:v.mbColors.midGray},a.label):e.createElement(b,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},k="hhgcomp-modal-modal",B=h(u.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -27,7 +27,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
27
27
  background-color: none;
28
28
  box-shadow: none;
29
29
  }
30
- `,k),j=g.div`
30
+ `,k),j=u.div`
31
31
  position: fixed;
32
32
  top: 0;
33
33
  left: 0;
@@ -130,7 +130,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
130
130
  }
131
131
  }
132
132
  }
133
- `,z=g.div`
133
+ `,z=u.div`
134
134
  position: fixed;
135
135
  top: 0;
136
136
  left: 0;
@@ -144,7 +144,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
144
144
  &[data-type='video'] {
145
145
  background-color: ${e=>e.theme.colors.secondaryDark};
146
146
  }
147
- `,T=g.div`
147
+ `,T=u.div`
148
148
  & > :not(:last-child) {
149
149
  margin-bottom: 8px;
150
150
  }
@@ -162,7 +162,7 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
162
162
  }
163
163
  }
164
164
  }
165
- `,G=g($)`
165
+ `,G=u($)`
166
166
  & > div > div {
167
167
  display: flex;
168
168
  flex-direction: row;
@@ -174,4 +174,4 @@ import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as
174
174
  .radio-group-item-heading {
175
175
  margin-top: 0;
176
176
  }
177
- `,L=({value:t,onChange:a,siteType:o})=>{const{t:i}=b(),n="marryBaby"==o;return e.createElement(T,{"data-is-marryBaby":n},n?e.createElement(C,{type:"h4",color:v.mbColors.dark},i("babyVaccineTool.selectGender")):e.createElement(u,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},i("babyVaccineTool.selectGender")),e.createElement(G,{siteType:o,options:[{value:f.Boy,label:i("gender.male"),content:n?e.createElement(x.BabyBoyMB,null):e.createElement(x.GenderChooseBoy,null)},{value:f.Girl,label:i("gender.female"),content:n?e.createElement(x.BabyGirlMB,null):e.createElement(x.GenderChooseGirl,null)}],value:t,onChange:a,className:"gender-selector"}))};export{L as B,E as D,$ as R,j as S,z as a,B as b};
177
+ `,L=({value:t,onChange:a,siteType:o})=>{const{t:i}=g(),n="marryBaby"==o;return e.createElement(T,{"data-is-marryBaby":n},n?e.createElement(C,{type:"h4",color:v.mbColors.dark},i("babyVaccineTool.selectGender")):e.createElement(b,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},i("babyVaccineTool.selectGender")),e.createElement(G,{siteType:o,options:[{value:x.Boy,label:i("gender.male"),content:n?e.createElement(y.BabyBoyMB,null):e.createElement(y.GenderChooseBoy,null)},{value:x.Girl,label:i("gender.female"),content:n?e.createElement(y.BabyGirlMB,null):e.createElement(y.GenderChooseGirl,null)}],value:t,onChange:a,className:"gender-selector"}))};export{L as B,E as D,$ as R,j as S,z as a,B as b};
@@ -1,4 +1,4 @@
1
- import{_ as e}from"./tslib.es6-5020a074.js";import t,{useState as n,forwardRef as l,createContext as i,useContext as r,useRef as o,useEffect as a}from"react";import s from"styled-components";import{Carousel as c}from"@mantine/carousel";import{createStyles as d}from"@mantine/core";import{useViewportSize as p,useResizeObserver as h}from"@mantine/hooks";const u=l=>{var{alt:i,backupSrc:r,src:o,placeholderSrc:a,style:s,ref:c}=l,d=e(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[p,h]=n(!1);return t.createElement(g,Object.assign({loading:"lazy",alt:i,onError:()=>!p&&h(!0),src:p?r||o:o||r,style:Object.assign(Object.assign({},a?{backgroundImage:`url(${a})`}:{}),s),"data-has-placeholder":!!a,ref:c},d))},g=s.img`
1
+ import{_ as e}from"./tslib.es6-2e31dcb2.js";import t,{useState as n,forwardRef as l,createContext as i,useContext as r,useRef as o,useEffect as a}from"react";import s from"styled-components";import{Carousel as c}from"@mantine/carousel";import{createStyles as d}from"@mantine/core";import{useViewportSize as p,useResizeObserver as h}from"@mantine/hooks";const u=l=>{var{alt:i,backupSrc:r,src:o,placeholderSrc:a,style:s,ref:c}=l,d=e(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[p,h]=n(!1);return t.createElement(g,Object.assign({loading:"lazy",alt:i,onError:()=>!p&&h(!0),src:p?r||o:o||r,style:Object.assign(Object.assign({},a?{backgroundImage:`url(${a})`}:{}),s),"data-has-placeholder":!!a,ref:c},d))},g=s.img`
2
2
  &[data-has-placeholder='true'] {
3
3
  background-position: center;
4
4
  background-repeat: no-repeat;
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-5020a074.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,a as r,b as l,c as i}from"./index-c65c9fd2.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:y=!0,actionIcon:b,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:I,size:f,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),x=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":f,className:h,"data-has-action-icon":!!b||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},I||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},x,j)),C&&a.createElement(r,{className:"displayIcon"},C),b&&a.createElement(l,{className:"actionIcon",onClick:v},b)),p&&p.length>0&&y&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
1
+ import{_ as e}from"./tslib.es6-2e31dcb2.js";import a,{useMemo as t}from"react";import{useMantineTheme as s}from"@mantine/core";import{S as o,L as n,a as r,b as l,c as i}from"./index-0a6fa4cc.js";const c=c=>{var{name:m,value:d,errorMessage:p,isNumerousKeyboard:u=!1,showErrorMessage:b=!0,actionIcon:y,displayIcon:C,onActionClick:v,label:g,className:h,onChange:E,isDisabled:N,CustomInput:I,size:f,style:k,autoComplete:A="off",type:K="text",inputClassName:M,trackingAttributes:z,enterKeyHint:L}=c,j=e(c,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const w=s(),x=t((()=>z?{"data-event-category":z.dataEventCategory,"data-event-action":z.dataEventAction,"data-event-label":z.dataEventLabel}:{}),[z]);return a.createElement(o,{"data-size":f,className:h,"data-has-action-icon":!!y||void 0,"data-has-display-icon":!!C||void 0,"data-has-error":p&&p.length>0||void 0,color:w.fn.primaryColor(),shadowColor:w.colors[w.primaryColor][0],style:k},g&&a.createElement(n,{size:"label2",htmlFor:m,className:"inputLabel"},g),a.createElement("div",{style:{position:"relative"}},I||a.createElement("input",Object.assign({id:m,name:m,onChange:e=>E&&E(e.target.value),type:K,"aria-label":K,value:d,disabled:N,autoComplete:A,inputMode:u||"number"===K?"numeric":K,pattern:u?"[0-9]*":".*",className:M,enterKeyHint:L},x,j)),C&&a.createElement(r,{className:"displayIcon"},C),y&&a.createElement(l,{className:"actionIcon",onClick:v},y)),p&&p.length>0&&b&&a.createElement(i,{className:"errorLabel"},p))};export{c as I};
@@ -1 +1 @@
1
- import e,{useState as t,useRef as o,useEffect as d}from"react";import{u as a}from"./useScrollbarSize-f87e7c52.js";import{createPortal as l}from"react-dom";import{S as c,a as n,b as r}from"./index-44a40183.js";const s="hhg-modals",m=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},i=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},h=({type:h="lead",closeIcon:u,isOpen:p=!0,onClose:y,children:g,className:b="",animationType:v="slideTop",isStaticBackdrop:f=!1,siteType:_})=>{const[E,w]=t(!1),C=o(null),{width:N}=a();if(!C.current&&E&&(C.current=document.createElement("div")),d((()=>(w(!0),()=>{w(!1),m(),i()})),[]),d((()=>{if(E){const e=(()=>{let e=document.getElementById(s);return e||(e=document.createElement("div"),e.setAttribute("id",s),document.body.append(e)),e})();return e.appendChild(C.current),()=>{e.removeChild(C.current)}}}),[E]),d((()=>{p?document.body.classList.add("hhc-modal-show"):m()}),[p]),d((()=>{p?(document.body.style.overflow="hidden",document.body.style.paddingRight=N+"px",document.body.classList.add("hhc-disabled-scroll")):i()}),[p,N]),!E)return null;const S=["hhg-modal__wrapper",b,v].filter((e=>e)).join(" ");return l(e.createElement(c,{className:S,"data-open":p,"data-type":h},!f&&e.createElement(n,{"data-open":p,onClick:y,"data-type":h}),!f&&"video"===h&&!!u&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),e.createElement(r,{className:"hhg-modal","data-open":p,"data-site-type":_},e.createElement("div",{className:"video"===h?"hhg-modal__video":"hhg-modal__content"},!!u&&"video"!==h&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),g))),C.current)};export{h as M};
1
+ import e,{useState as t,useRef as o,useEffect as a}from"react";import{u as d}from"./useScrollbarSize-aca76ea6.js";import{createPortal as l}from"react-dom";import{S as c,a as n,b as r}from"./index-251ac76a.js";const s="hhg-modals",m=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},i=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},h=({type:h="lead",closeIcon:u,isOpen:p=!0,onClose:y,children:g,className:b="",animationType:v="slideTop",isStaticBackdrop:_=!1,siteType:f})=>{const[E,w]=t(!1),C=o(null),{width:N}=d();if(!C.current&&E&&(C.current=document.createElement("div")),a((()=>(w(!0),()=>{w(!1),m(),i()})),[]),a((()=>{if(E){const e=(()=>{let e=document.getElementById(s);return e||(e=document.createElement("div"),e.setAttribute("id",s),document.body.append(e)),e})();return e.appendChild(C.current),()=>{e.removeChild(C.current)}}}),[E]),a((()=>{p?document.body.classList.add("hhc-modal-show"):m()}),[p]),a((()=>{p?(document.body.style.overflow="hidden",document.body.style.paddingRight=N+"px",document.body.classList.add("hhc-disabled-scroll")):i()}),[p,N]),!E)return null;const S=["hhg-modal__wrapper",b,v].filter((e=>e)).join(" ");return l(e.createElement(c,{className:S,"data-open":p,"data-type":h},!_&&e.createElement(n,{"data-open":p,onClick:y,"data-type":h}),!_&&"video"===h&&!!u&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),e.createElement(r,{className:"hhg-modal","data-open":p,"data-site-type":f},e.createElement("div",{className:"video"===h?"hhg-modal__video":"hhg-modal__content"},!!u&&"video"!==h&&e.createElement("div",{className:"hhg-modal__close",onClick:y},u),g))),C.current)};export{h as M};
@@ -1,4 +1,4 @@
1
- import e,{memo as t,useRef as i,useState as a,useEffect as n,useImperativeHandle as o,Fragment as r,useMemo as s,forwardRef as l}from"react";import{createStyles as d,useMantineTheme as c,getStylesRef as p,Box as h}from"@mantine/core";import m,{keyframes as u,css as g}from"styled-components";import{M as f}from"./screenSizeContext-7f85dfc4.js";import{L as b}from"./index-d7f14a20.js";import{T as x}from"./index-aa5a1fcf.js";import{B as y}from"./index-795ed49f.js";import{Z as v,H as w,T as k,_ as E,$ as C,a0 as S,a1 as $,P as D,E as _,B as T}from"./utils-46fa0b74.js";import{I}from"./index-13099f72.js";import{_ as z}from"./tslib.es6-5020a074.js";import N from"dayjs";import{t as P}from"./theme-f74408a1.js";import"./index-06614e02.js";import"./isProduction-28f89c19.js";import{G as A,L as B}from"./Onboarding-08cc7302.js";import{CommonGAssets as j}from"./gAssets.js";import"@mantine/dates";import"./translationsContext-5483c365.js";import"string-format";import"./index-e435900a.js";import"@mantine/hooks";import{yupResolver as O}from"@hookform/resolvers/yup";import{useForm as M,Controller as L}from"react-hook-form";import{C as F,L as U,I as R}from"./index-c65c9fd2.js";import{B as q,D as H}from"./index-44a40183.js";import{u as V}from"./useTranslations-39856f38.js";import{format as W,addDays as G}from"date-fns";import{M as Z}from"./index-a7808541.js";import{S as Y}from"./index-a862ef93.js";import"lodash/debounce";import{D as X}from"./types-d1c76761.js";import J from"react-day-picker/DayPickerInput";const K=({type:t,size:i="small",label:a,name:n,checked:o,value:r,className:s,isDisabled:l=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:h})=>{const m=!!p&&!!c&&!!h?{"data-event-category":c,"data-event-action":p,"data-event-label":h}:{};return e.createElement(v,{"data-disabled":l,className:s,"data-type":t,"data-size":i},e.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},m),e.createElement("input",Object.assign({type:"radio",checked:o,name:n,value:r,onChange:()=>d(r)},m)),a))},Q=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ee=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),te=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var ie=d(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ae=m.a`
1
+ import e,{memo as t,useRef as i,useState as a,useEffect as n,useImperativeHandle as o,Fragment as r,useMemo as s,forwardRef as l}from"react";import{createStyles as d,useMantineTheme as c,getStylesRef as p,Box as h}from"@mantine/core";import m,{keyframes as u,css as g}from"styled-components";import{M as f}from"./screenSizeContext-8144e3e5.js";import{L as b}from"./index-f50ae417.js";import{T as x}from"./index-a1d0e05c.js";import{B as y}from"./index-9b827592.js";import{Z as v,H as w,T as k,_ as E,$ as C,a0 as S,a1 as $,P as D,E as _,B as T}from"./utils-1f49154b.js";import{I}from"./index-31476649.js";import{_ as z}from"./tslib.es6-2e31dcb2.js";import N from"dayjs";import{t as P}from"./theme-a2a171b2.js";import"./index-6df4978c.js";import"./isProduction-7fc869ed.js";import{G as A,L as B}from"./Onboarding-43862b7b.js";import{CommonGAssets as j}from"./gAssets.js";import"@mantine/dates";import"./translationsContext-2c7be8c0.js";import"string-format";import"./index-27b659b0.js";import"@mantine/hooks";import{yupResolver as O}from"@hookform/resolvers/yup";import{useForm as M,Controller as L}from"react-hook-form";import{C as F,L as U,I as R}from"./index-0a6fa4cc.js";import{B as q,D as H}from"./index-251ac76a.js";import{u as V}from"./useTranslations-f02eb191.js";import{format as W,addDays as G}from"date-fns";import{M as Z}from"./index-42f49dee.js";import{S as Y}from"./index-91137710.js";import"lodash/debounce";import{D as X}from"./types-050ea401.js";import J from"react-day-picker/DayPickerInput";const K=({type:t,size:i="small",label:a,name:n,checked:o,value:r,className:s,isDisabled:l=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:h})=>{const m=!!p&&!!c&&!!h?{"data-event-category":c,"data-event-action":p,"data-event-label":h}:{};return e.createElement(v,{"data-disabled":l,className:s,"data-type":t,"data-size":i},e.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},m),e.createElement("input",Object.assign({type:"radio",checked:o,name:n,value:r,onChange:()=>d(r)},m)),a))},Q=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ee=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),te=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var ie=d(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ae=m.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4
 
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-2e31dcb2.js";import t from"react";import{S as s,a}from"./index-27b659b0.js";const r=a=>{var{type:r,color:o,style:l}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},o&&{"--text-color":o}),l)},c))},o=s=>{var{type:r,color:o,style:l}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},l),o&&{"--text-color":o})},c))};export{o as M,r as a};
@@ -1 +1 @@
1
- import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-08cc7302.js";import{i as c}from"./isProduction-28f89c19.js";const h={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.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"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"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"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"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH"],y=["vi-VN","id-ID"],N={"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 S;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
1
+ import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-43862b7b.js";import{i as c}from"./isProduction-7fc869ed.js";const h={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.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"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"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"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"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH","ms-MY"],y=["vi-VN","id-ID"],N={"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 S;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
@@ -1 +1 @@
1
- import{a as e,_ as t}from"./tslib.es6-5020a074.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as n,Input as o}from"@mantine/core";import{J as c,a8 as d}from"./utils-46fa0b74.js";import"@mantine/dates";import{a as l}from"./index-06614e02.js";import{L as p}from"./Onboarding-08cc7302.js";import"./gAssets.js";import"dayjs";import"./screenSizeContext-7f85dfc4.js";import"styled-components";import"./theme-f74408a1.js";import"./isProduction-28f89c19.js";import{u as m}from"./useTranslations-39856f38.js";import"./index-e435900a.js";import"@mantine/hooks";import"lodash/debounce";import{M as v}from"./utils-a40e61f1.js";const u={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},h=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},y=({provinces:t})=>{const[s,n]=a(h,u),{provinceByName:o,provinces:c,districts:d,wards:m,selectedProvince:y,selectedDistrict:b,selectedWard:g}=s,[j,E]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||p.Vietnam,`${l}/cities-data-${v[r]}.json`)).then((e=>e.json()));E(i);const{list:o}=i,c=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,o):o,d=Object.keys(c),m=Object.keys((null===(e=o[d[0]])||void 0===e?void 0:e.list)||{}),u=Object.keys((null===(a=null===(s=o[d[0]])||void 0===s?void 0:s[m[0]])||void 0===a?void 0:a.list)||{});n({type:"SET_DATA",payload:{provinceByName:c,provinces:d,districts:m,wards:u}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:c,districts:d,wards:m,selectedProvince:y,selectedDistrict:b,selectedWard:g,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=o[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:s}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=o[y])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});n({type:"SET_WARDS",payload:a}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}},b=e=>{var{error:a,provinces:l,placeholder:p}=e,v=t(e,["error","provinces","placeholder"]);const{t:u}=m(),{provinces:h,districts:b,wards:g,selectedProvince:j,selectedDistrict:E,selectedWard:C,handleProvinceChange:O,handleDistrictChange:T,handleWardChange:S}=y({provinces:l}),[f,D]=r("");return i((()=>{j&&E&&C&&f?v.onChange({selectedProvince:j,selectedDistrict:E,selectedWard:C,extraInfo:f}):v.onChange(null)}),[j,E,C,f]),s.createElement(c.Wrapper,Object.assign({withAsterisk:!0},v),s.createElement(n,null,s.createElement(d,{placeholder:(null==p?void 0:p.province)||u("onboarding.similac.input.city"),data:l?h:h.sort(),searchable:!0,onChange:O,value:j}),s.createElement(d,{placeholder:(null==p?void 0:p.district)||u("onboarding.similac.input.district"),data:b.sort(),searchable:!0,onChange:T,value:E,disabled:!j}),s.createElement(d,{placeholder:(null==p?void 0:p.ward)||u("onboarding.similac.input.ward"),searchable:!0,data:g.sort(),value:C,onChange:S,disabled:!j||!E}),s.createElement(c,{placeholder:(null==p?void 0:p.address)||u("onboarding.similac.input.no"),disabled:!j||!E||!C,value:f,onChange:D,style:{marginBottom:0}})),s.createElement(o.Error,{size:"md"},a))};export{b as A};
1
+ import{a as e,_ as t}from"./tslib.es6-2e31dcb2.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as n,Input as o}from"@mantine/core";import{J as c,a8 as d}from"./utils-1f49154b.js";import"@mantine/dates";import{a as l}from"./index-6df4978c.js";import{L as p}from"./Onboarding-43862b7b.js";import"./gAssets.js";import"dayjs";import"./screenSizeContext-8144e3e5.js";import"styled-components";import"./theme-a2a171b2.js";import"./isProduction-7fc869ed.js";import{u as m}from"./useTranslations-f02eb191.js";import"./index-27b659b0.js";import"@mantine/hooks";import"lodash/debounce";import{M as v}from"./utils-6d17f712.js";const b={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},u=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},h=({provinces:t})=>{const[s,n]=a(u,b),{provinceByName:o,provinces:c,districts:d,wards:m,selectedProvince:h,selectedDistrict:y,selectedWard:g}=s,[j,E]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||p.Vietnam,`${l}/cities-data-${v[r]}.json`)).then((e=>e.json()));E(i);const{list:o}=i,c=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,o):o,d=Object.keys(c),m=Object.keys((null===(e=o[d[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(a=null===(s=o[d[0]])||void 0===s?void 0:s[m[0]])||void 0===a?void 0:a.list)||{});n({type:"SET_DATA",payload:{provinceByName:c,provinces:d,districts:m,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:c,districts:d,wards:m,selectedProvince:h,selectedDistrict:y,selectedWard:g,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=o[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:s}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=o[h])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});n({type:"SET_WARDS",payload:a}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}},y=e=>{var{error:a,provinces:l,placeholder:p}=e,v=t(e,["error","provinces","placeholder"]);const{t:b}=m(),{provinces:u,districts:y,wards:g,selectedProvince:j,selectedDistrict:E,selectedWard:C,handleProvinceChange:O,handleDistrictChange:T,handleWardChange:S}=h({provinces:l}),[f,D]=r("");return i((()=>{j&&E&&C&&f?v.onChange({selectedProvince:j,selectedDistrict:E,selectedWard:C,extraInfo:f}):v.onChange(null)}),[j,E,C,f]),s.createElement(c.Wrapper,Object.assign({withAsterisk:!0},v),s.createElement(n,null,s.createElement(d,{placeholder:(null==p?void 0:p.province)||b("onboarding.similac.input.city"),data:l?u:u.sort(),searchable:!0,onChange:O,value:j}),s.createElement(d,{placeholder:(null==p?void 0:p.district)||b("onboarding.similac.input.district"),data:y.sort(),searchable:!0,onChange:T,value:E,disabled:!j}),s.createElement(d,{placeholder:(null==p?void 0:p.ward)||b("onboarding.similac.input.ward"),searchable:!0,data:g.sort(),value:C,onChange:S,disabled:!j||!E}),s.createElement(c,{placeholder:(null==p?void 0:p.address)||b("onboarding.similac.input.no"),disabled:!j||!E||!C,value:f,onChange:D,style:{marginBottom:0}})),s.createElement(o.Error,{size:"md"},a))};export{y as A};
@@ -0,0 +1 @@
1
+ import{_ as o}from"./tslib.es6-2e31dcb2.js";import t from"react";import{Indicator as e}from"@mantine/core";import"dayjs";import"./screenSizeContext-8144e3e5.js";import"styled-components";import{t as s}from"./theme-a2a171b2.js";import"./index-6df4978c.js";import"./isProduction-7fc869ed.js";import"./Onboarding-43862b7b.js";import"./gAssets.js";const r=r=>{var{styles:i,color:n=s.colors.red700}=r,m=o(r,["styles","color"]);return t.createElement(e,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:n},m))};export{r as I};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-5020a074.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as s}from"./index-795ed49f.js";import{aw as r,ax as i,ay as l}from"./utils-46fa0b74.js";const m=m=>{var{color:c,withControl:h,onChange:w,value:g,min:u,max:d,isStatic:p,containerClassName:k,containerStyle:v}=m,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[f,C]=o(g||u||0),[E]=a(f,r);return n((()=>{null==w||w(E)}),[E]),n((()=>{C(g)}),[g]),t.createElement(i,{className:k,style:v},h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{C((e=>u&&e===u?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:f,onChange:p?()=>null:C,min:u,max:d},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{C((e=>d&&e===d?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
1
+ import{_ as e}from"./tslib.es6-2e31dcb2.js";import t,{useState as o,useEffect as n}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{B as s}from"./index-9b827592.js";import{aw as r,ax as i,ay as l}from"./utils-1f49154b.js";const m=m=>{var{color:c,withControl:h,onChange:w,value:g,min:u,max:d,isStatic:p,containerClassName:k,containerStyle:v}=m,x=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[b,C]=o(g||u||0),[f]=a(b,r);return n((()=>{null==w||w(f)}),[f]),n((()=>{C(g)}),[g]),t.createElement(i,{className:k,style:v},h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{C((e=>u&&e===u?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:b,onChange:p?()=>null:C,min:u,max:d},x,{className:"hhg-mantine-slider "+(x.className||"")})),h&&t.createElement(s,{type:"button",size:"sm",color:"ghost",onClick:()=>{C((e=>d&&e===d?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
@@ -1 +1 @@
1
- import{_ as a}from"./tslib.es6-5020a074.js";import t from"react";var e="P03rcnV",o="LsvykAk",d="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:g,className:P,onClick:k,icon:v,iconPosition:E="left",children:y,isLoading:N=!1,loadingText:b,dataEventCategory:w,dataEventAction:f,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":w,"data-event-action":f,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:o},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||N)&&t.createElement("span",{className:r},N?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${P||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!N&&!h&&k&&k(a)},title:g,"data-is-loading":N,type:j},F),t.createElement("span",{className:c},"left"===E&&W,y&&t.createElement("span",{className:d},N&&b||y),"right"===E&&W))};export{l as B};
1
+ import{_ as a}from"./tslib.es6-2e31dcb2.js";import t from"react";var e="P03rcnV",d="LsvykAk",o="S2kaD9B",c="fAwTdkg",i="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";const l=l=>{var{size:C,color:m="primary",theme:u="helloSites",isDisabled:h,isBlock:p,title:g,className:P,onClick:k,icon:v,iconPosition:E="left",children:b,isLoading:y=!1,loadingText:N,dataEventCategory:w,dataEventAction:f,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:z,dataProductCategory:D,dataProductPosition:S,type:j}=l,F=a(l,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":w,"data-event-action":f,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":z,"data-product-category":D,"data-product-position":S},G=t.createElement("span",{className:d},t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),t.createElement("svg",{className:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},t.createElement("mask",{id:"path-1-inside-1",fill:"white"},t.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),t.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),W=(v||y)&&t.createElement("span",{className:r},y?G:v," ");return t.createElement("button",Object.assign({},M,{className:`${i} ${P||""}`,"data-size":C,"data-color":m,"data-block":p,"data-has-icon":!!v||void 0,"data-theme":u,disabled:h,onClick:a=>{!y&&!h&&k&&k(a)},title:g,"data-is-loading":y,type:j},F),t.createElement("span",{className:c},"left"===E&&W,b&&t.createElement("span",{className:o},y&&N||b),"right"===E&&W))};export{l as B};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-2e31dcb2.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as s}from"@mantine/dates";import{I as o}from"./index-6df4978c.js";import{L as i}from"./Onboarding-43862b7b.js";import{CommonGAssets as a}from"./gAssets.js";import{aB as n}from"./utils-1f49154b.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(s,Object.assign({locale:n[process.env.UNIFY_LOCALE||i.Vietnam],valueFormat:null===(m=o[process.env.UNIFY_LOCALE||i.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:a.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
@@ -0,0 +1 @@
1
+ import{_ as a}from"./tslib.es6-2e31dcb2.js";import e from"react";var t="wIj6fkD";const s=s=>{var{size:r="base",type:c="regular",className:o,style:n,children:d,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:b="p",wordWrap:m,isUppercase:y}=s,g=a(s,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=b;return e.createElement(E,Object.assign({"data-size":r,"data-type":c,style:Object.assign(Object.assign({},n),i?{"--custom-color":i}:void 0),className:`${t} ${o||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":m,"data-is-uppercase":y},g),d)};export{s as T};