@hhgtech/hhg-components 1.28.12 → 1.28.13

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 (257) 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-feb11e95.js → constants-87844a04.js} +1 -1
  6. package/build/{constants-bab6e4c4.js → constants-ac7b324c.js} +1 -1
  7. package/build/constants.js +1 -1
  8. package/build/{core-ef72668b.js → core-d0ac3081.js} +1 -1
  9. package/build/ecom.js +1 -1
  10. package/build/esm/babyGrowth.js +2 -2
  11. package/build/esm/cache.js +1 -1
  12. package/build/esm/care.js +1 -1
  13. package/build/esm/components.js +1 -1
  14. package/build/esm/{constants-e596ba80.js → constants-51ed637e.js} +1 -1
  15. package/build/esm/{constants-1aafa7de.js → constants-652884dc.js} +1 -1
  16. package/build/esm/constants.js +1 -1
  17. package/build/esm/{core-00b11c0b.js → core-1f02fa3f.js} +1 -1
  18. package/build/esm/ecom.js +1 -1
  19. package/build/esm/footer.js +1 -1
  20. package/build/esm/gAssets.js +1 -1
  21. package/build/esm/{getDynamicHealthTool-75742f77.js → getDynamicHealthTool-60a7a241.js} +1 -1
  22. package/build/esm/{getSocialList-fac89e8e.js → getSocialList-db17f887.js} +1 -1
  23. package/build/esm/hooks.js +1 -1
  24. package/build/esm/i18n.js +1 -1
  25. package/build/esm/i18nV2.js +1 -1
  26. package/build/esm/{index-fa19f6e1.js → index-0637cee6.js} +1 -1
  27. package/build/esm/{index-1798a9c1.js → index-119c41f4.js} +1 -1
  28. package/build/esm/{index-8bf4f853.js → index-15680032.js} +5 -5
  29. package/build/esm/{index-ea006f86.js → index-173d55ad.js} +1 -1
  30. package/build/esm/{index-46e1f0f3.js → index-2705764b.js} +1 -1
  31. package/build/esm/{index-2c766cbb.js → index-356cb691.js} +1 -1
  32. package/build/esm/{index-6007986d.js → index-4a15e888.js} +1 -1
  33. package/build/esm/{index-3b929091.js → index-6930eed6.js} +1 -1
  34. package/build/esm/{index-2b34b8fe.js → index-73c486ff.js} +2 -2
  35. package/build/esm/{index-41103177.js → index-78672f29.js} +1 -1
  36. package/build/esm/index-83b86fb9.js +1 -0
  37. package/build/esm/{index-3aa27dca.js → index-8a6bd3c6.js} +1 -1
  38. package/build/esm/{index-d15670fe.js → index-8f706fe7.js} +2 -2
  39. package/build/esm/index-943ca1cf.js +1 -0
  40. package/build/esm/{index-87d5623a.js → index-cdbe6c4c.js} +1 -1
  41. package/build/esm/{index-eafe5be3.js → index-d109577b.js} +1 -1
  42. package/build/esm/{index-8cb6203d.js → index-d88622d3.js} +3 -3
  43. package/build/esm/{index-41e9b83d.js → index-f1545b5e.js} +1 -1
  44. package/build/esm/index-f6ea512b.js +1 -0
  45. package/build/esm/index.js +1 -1
  46. package/build/esm/{index.styled-729a99c8.js → index.styled-b5668217.js} +1 -1
  47. package/build/esm/{index.styled-53804dba.js → index.styled-e52d30c1.js} +1 -1
  48. package/build/esm/{index.styles-f82a0a4a.js → index.styles-ff1f0cb2.js} +1 -1
  49. package/build/esm/lead.js +1 -1
  50. package/build/esm/mantine.js +1 -1
  51. package/build/esm/misc.js +1 -1
  52. package/build/esm/navigation.js +1 -1
  53. package/build/esm/onboardingV2.js +1 -1
  54. package/build/esm/pwg.js +2 -2
  55. package/build/esm/{routing-4dcd0e9a.js → routing-7e4b79ca.js} +1 -1
  56. package/build/esm/together.js +1 -1
  57. package/build/esm/{types-f3353bf8.js → types-7d91609d.js} +1 -1
  58. package/build/esm/{types-13034ac4.js → types-941a4fce.js} +1 -1
  59. package/build/esm/types.js +1 -1
  60. package/build/esm/{useCategory-311c6010.js → useCategory-d2c9557c.js} +1 -1
  61. package/build/esm/useHealthToolCache-a5011f0b.js +1 -0
  62. package/build/esm/{useRafState-7cdcb3af.js → useRafState-7a846534.js} +1 -1
  63. package/build/esm/{useTranslations-6762dcc2.js → useTranslations-c5b785c2.js} +1 -1
  64. package/build/esm/{utils-048c6e93.js → utils-042aabdd.js} +1 -1
  65. package/build/esm/{utils-7a362e5b.js → utils-b1470773.js} +1 -1
  66. package/build/esm/vaccination.js +1 -1
  67. package/build/footer.js +1 -1
  68. package/build/gAssets.js +1 -1
  69. package/build/{getDynamicHealthTool-8750199e.js → getDynamicHealthTool-f7ed2409.js} +1 -1
  70. package/build/{getSocialList-d4d8304e.js → getSocialList-0cc97bdf.js} +1 -1
  71. package/build/hooks.js +1 -1
  72. package/build/i18n.js +1 -1
  73. package/build/i18nV2.js +1 -1
  74. package/build/{index-16ddc3f0.js → index-002e0e05.js} +1 -1
  75. package/build/{index-de023383.js → index-15fc9646.js} +1 -1
  76. package/build/{index-4fbd5f75.js → index-1917b114.js} +1 -1
  77. package/build/{index-052d758f.js → index-290bea02.js} +1 -1
  78. package/build/{index-c87ad4c6.js → index-4e2010f1.js} +1 -1
  79. package/build/{index-4652e32d.js → index-5164e4de.js} +2 -2
  80. package/build/{index-6e3b9e84.js → index-54b444c0.js} +1 -1
  81. package/build/index-5e043a70.js +1 -0
  82. package/build/{index-61cb36af.js → index-7f01cbc0.js} +1 -1
  83. package/build/index-8027a0a6.js +1 -0
  84. package/build/{index-a7f4fdb7.js → index-88063689.js} +1 -1
  85. package/build/{index-669aeaed.js → index-8dec03ce.js} +1 -1
  86. package/build/{index-176eaed2.js → index-99bff8c2.js} +3 -3
  87. package/build/{index-961097c0.js → index-a1282af2.js} +1 -1
  88. package/build/{index-7b2789ce.js → index-ac45b3ca.js} +1 -1
  89. package/build/{index-e5067b42.js → index-b2d46829.js} +1 -1
  90. package/build/{index-07fa22da.js → index-be7328b1.js} +1 -1
  91. package/build/{index-fc9732b2.js → index-d8b4344c.js} +18 -18
  92. package/build/{index-f2603286.js → index-eb981c1a.js} +1 -1
  93. package/build/index.js +1 -1
  94. package/build/{index.styled-10bc6533.js → index.styled-33d6653c.js} +1 -1
  95. package/build/{index.styled-9dcc1d38.js → index.styled-a535a0cf.js} +1 -1
  96. package/build/{index.styles-f73dac16.js → index.styles-4a40e685.js} +1 -1
  97. package/build/lead.js +1 -1
  98. package/build/mantine.js +1 -1
  99. package/build/misc.js +1 -1
  100. package/build/navigation.js +1 -1
  101. package/build/onboardingV2.js +1 -1
  102. package/build/pwg.js +2 -2
  103. package/build/{routing-aee6cd59.js → routing-a3152618.js} +1 -1
  104. package/build/together.js +1 -1
  105. package/build/{types-d275c36e.js → types-26e7dae0.js} +1 -1
  106. package/build/{types-c2e1f792.js → types-b224bfa9.js} +1 -1
  107. package/build/types.js +1 -1
  108. package/build/{useCategory-9694cab7.js → useCategory-5270d6b5.js} +1 -1
  109. package/build/{useHealthToolCache-b909cfa5.js → useHealthToolCache-04b17115.js} +1 -1
  110. package/build/{useRafState-3c390f00.js → useRafState-806e4e4a.js} +1 -1
  111. package/build/{useTranslations-759f6078.js → useTranslations-787d5e03.js} +1 -1
  112. package/build/{utils-ff5568f0.js → utils-3a823fcb.js} +2 -2
  113. package/build/{utils-7d3982bb.js → utils-f1fc229e.js} +1 -1
  114. package/build/vaccination.js +1 -1
  115. package/package.json +1 -1
  116. package/build/esm/index-18fd852b.js +0 -1
  117. package/build/esm/index-319fe0f3.js +0 -1
  118. package/build/esm/index-e5e9d9b3.js +0 -1
  119. package/build/esm/useHealthToolCache-2a7c0331.js +0 -1
  120. package/build/index-688faf5c.js +0 -1
  121. package/build/index-d0f459df.js +0 -1
  122. /package/build/{BMI_BOYS.percentile.monthly-ec48a93c.js → BMI_BOYS.percentile.monthly-0a78fcba.js} +0 -0
  123. /package/build/{BMI_BOYS.percentile.weekly-9ca2e87c.js → BMI_BOYS.percentile.weekly-4a79d9d9.js} +0 -0
  124. /package/build/{BMI_BOYS.percentile.yearly-34e54cd6.js → BMI_BOYS.percentile.yearly-dbc43776.js} +0 -0
  125. /package/build/{BMI_BOYS.zscore.monthly-4a329007.js → BMI_BOYS.zscore.monthly-a478ce5a.js} +0 -0
  126. /package/build/{BMI_BOYS.zscore.weekly-2c11d031.js → BMI_BOYS.zscore.weekly-50acdfbc.js} +0 -0
  127. /package/build/{BMI_BOYS.zscore.yearly-9e295c8d.js → BMI_BOYS.zscore.yearly-849bd03c.js} +0 -0
  128. /package/build/{BMI_GIRLS.percentile.monthly-1e4bc7ad.js → BMI_GIRLS.percentile.monthly-94f7ae56.js} +0 -0
  129. /package/build/{BMI_GIRLS.percentile.weekly-9cbfd745.js → BMI_GIRLS.percentile.weekly-88adef48.js} +0 -0
  130. /package/build/{BMI_GIRLS.percentile.yearly-76dec6fe.js → BMI_GIRLS.percentile.yearly-3254a12c.js} +0 -0
  131. /package/build/{BMI_GIRLS.zscore.monthly-207d8c0e.js → BMI_GIRLS.zscore.monthly-70933c11.js} +0 -0
  132. /package/build/{BMI_GIRLS.zscore.weekly-28c76d3f.js → BMI_GIRLS.zscore.weekly-de904e6c.js} +0 -0
  133. /package/build/{BMI_GIRLS.zscore.yearly-eab5da73.js → BMI_GIRLS.zscore.yearly-3a86e344.js} +0 -0
  134. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-05ed074e.js → HEAD CIRCUM_BOYS.percentile.monthly-b4369817.js} +0 -0
  135. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-fcb6df77.js → HEAD CIRCUM_BOYS.percentile.weekly-890a4e6c.js} +0 -0
  136. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b500347a.js → HEAD CIRCUM_BOYS.percentile.yearly-e184a8c0.js} +0 -0
  137. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-4989a972.js → HEAD CIRCUM_BOYS.zscore.monthly-8a21e7c4.js} +0 -0
  138. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-aa56e67a.js → HEAD CIRCUM_BOYS.zscore.weekly-e7659a88.js} +0 -0
  139. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b06f24be.js → HEAD CIRCUM_BOYS.zscore.yearly-7eb1b8a8.js} +0 -0
  140. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-19dd4a3e.js → HEAD CIRCUM_GIRLS.percentile.monthly-bdacc82e.js} +0 -0
  141. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c88bee62.js → HEAD CIRCUM_GIRLS.percentile.weekly-4ed5396c.js} +0 -0
  142. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c6485476.js → HEAD CIRCUM_GIRLS.percentile.yearly-e8dbdba9.js} +0 -0
  143. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-755b2162.js → HEAD CIRCUM_GIRLS.zscore.monthly-892ea368.js} +0 -0
  144. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a7a4860e.js → HEAD CIRCUM_GIRLS.zscore.weekly-ee19f46a.js} +0 -0
  145. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-64d9f715.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e9be0bf.js} +0 -0
  146. /package/build/{HEIGHT_BOYS.percentile.monthly-baaad0db.js → HEIGHT_BOYS.percentile.monthly-9e5712cf.js} +0 -0
  147. /package/build/{HEIGHT_BOYS.percentile.weekly-daf7b024.js → HEIGHT_BOYS.percentile.weekly-6bca911d.js} +0 -0
  148. /package/build/{HEIGHT_BOYS.percentile.yearly-6703e56a.js → HEIGHT_BOYS.percentile.yearly-0d51a725.js} +0 -0
  149. /package/build/{HEIGHT_BOYS.zscore.monthly-f2ccb35b.js → HEIGHT_BOYS.zscore.monthly-9f4bc81f.js} +0 -0
  150. /package/build/{HEIGHT_BOYS.zscore.weekly-21ecddc6.js → HEIGHT_BOYS.zscore.weekly-c1ff2736.js} +0 -0
  151. /package/build/{HEIGHT_BOYS.zscore.yearly-c35068ae.js → HEIGHT_BOYS.zscore.yearly-64fbc7b5.js} +0 -0
  152. /package/build/{HEIGHT_GIRLS.percentile.monthly-f5931ddc.js → HEIGHT_GIRLS.percentile.monthly-4b8724d3.js} +0 -0
  153. /package/build/{HEIGHT_GIRLS.percentile.weekly-026fdfbb.js → HEIGHT_GIRLS.percentile.weekly-78b9e775.js} +0 -0
  154. /package/build/{HEIGHT_GIRLS.percentile.yearly-69d0410b.js → HEIGHT_GIRLS.percentile.yearly-22aba8da.js} +0 -0
  155. /package/build/{HEIGHT_GIRLS.zscore.monthly-7c668d70.js → HEIGHT_GIRLS.zscore.monthly-403ccbf3.js} +0 -0
  156. /package/build/{HEIGHT_GIRLS.zscore.weekly-00fd1038.js → HEIGHT_GIRLS.zscore.weekly-8e95ced7.js} +0 -0
  157. /package/build/{HEIGHT_GIRLS.zscore.yearly-7fc716e8.js → HEIGHT_GIRLS.zscore.yearly-a7a6a169.js} +0 -0
  158. /package/build/{Onboarding-4c3f6890.js → Onboarding-48739c1f.js} +0 -0
  159. /package/build/{Visible-3f23bb65.js → Visible-be5bc36c.js} +0 -0
  160. /package/build/{WEIGHT_BOYS.percentile.monthly-e60ddb94.js → WEIGHT_BOYS.percentile.monthly-3f727fc8.js} +0 -0
  161. /package/build/{WEIGHT_BOYS.percentile.weekly-5fb2336e.js → WEIGHT_BOYS.percentile.weekly-b616fcf1.js} +0 -0
  162. /package/build/{WEIGHT_BOYS.percentile.yearly-d6f09fca.js → WEIGHT_BOYS.percentile.yearly-ad8ce1c9.js} +0 -0
  163. /package/build/{WEIGHT_BOYS.zscore.monthly-487922e5.js → WEIGHT_BOYS.zscore.monthly-eb422b8d.js} +0 -0
  164. /package/build/{WEIGHT_BOYS.zscore.weekly-c5c47187.js → WEIGHT_BOYS.zscore.weekly-9f3aeea7.js} +0 -0
  165. /package/build/{WEIGHT_BOYS.zscore.yearly-3a057ef6.js → WEIGHT_BOYS.zscore.yearly-0d67f576.js} +0 -0
  166. /package/build/{WEIGHT_GIRLS.percentile.monthly-52e2e5e6.js → WEIGHT_GIRLS.percentile.monthly-5fa745b4.js} +0 -0
  167. /package/build/{WEIGHT_GIRLS.percentile.weekly-ef068ffe.js → WEIGHT_GIRLS.percentile.weekly-42594871.js} +0 -0
  168. /package/build/{WEIGHT_GIRLS.percentile.yearly-c04c9dc5.js → WEIGHT_GIRLS.percentile.yearly-8ad0c80a.js} +0 -0
  169. /package/build/{WEIGHT_GIRLS.zscore.monthly-e52ab836.js → WEIGHT_GIRLS.zscore.monthly-81de4699.js} +0 -0
  170. /package/build/{WEIGHT_GIRLS.zscore.weekly-02878d5d.js → WEIGHT_GIRLS.zscore.weekly-f025743e.js} +0 -0
  171. /package/build/{WEIGHT_GIRLS.zscore.yearly-5ebcb7db.js → WEIGHT_GIRLS.zscore.yearly-33b29188.js} +0 -0
  172. /package/build/{cookieHelper-40f0dd24.js → cookieHelper-600a5796.js} +0 -0
  173. /package/build/{dataTransform-2c4363fa.js → dataTransform-0a6bf3e6.js} +0 -0
  174. /package/build/esm/{BMI_BOYS.percentile.monthly-b18341c8.js → BMI_BOYS.percentile.monthly-d0f21e02.js} +0 -0
  175. /package/build/esm/{BMI_BOYS.percentile.weekly-3519ae1f.js → BMI_BOYS.percentile.weekly-1472e9a4.js} +0 -0
  176. /package/build/esm/{BMI_BOYS.percentile.yearly-3c8d4e1e.js → BMI_BOYS.percentile.yearly-6596ce6d.js} +0 -0
  177. /package/build/esm/{BMI_BOYS.zscore.monthly-8157c8d8.js → BMI_BOYS.zscore.monthly-d57199bf.js} +0 -0
  178. /package/build/esm/{BMI_BOYS.zscore.weekly-ad6a8edb.js → BMI_BOYS.zscore.weekly-d1115c53.js} +0 -0
  179. /package/build/esm/{BMI_BOYS.zscore.yearly-95e547ac.js → BMI_BOYS.zscore.yearly-3ff3fde8.js} +0 -0
  180. /package/build/esm/{BMI_GIRLS.percentile.monthly-cf10a192.js → BMI_GIRLS.percentile.monthly-84b072ae.js} +0 -0
  181. /package/build/esm/{BMI_GIRLS.percentile.weekly-beff5943.js → BMI_GIRLS.percentile.weekly-2503fa80.js} +0 -0
  182. /package/build/esm/{BMI_GIRLS.percentile.yearly-edb45f7f.js → BMI_GIRLS.percentile.yearly-b7440889.js} +0 -0
  183. /package/build/esm/{BMI_GIRLS.zscore.monthly-a1136159.js → BMI_GIRLS.zscore.monthly-2e7f477b.js} +0 -0
  184. /package/build/esm/{BMI_GIRLS.zscore.weekly-ef11cafc.js → BMI_GIRLS.zscore.weekly-5b916186.js} +0 -0
  185. /package/build/esm/{BMI_GIRLS.zscore.yearly-ca3cbf0a.js → BMI_GIRLS.zscore.yearly-6565beba.js} +0 -0
  186. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f497582f.js → HEAD CIRCUM_BOYS.percentile.monthly-2565c31a.js} +0 -0
  187. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-f065e532.js → HEAD CIRCUM_BOYS.percentile.weekly-dbdd50d4.js} +0 -0
  188. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-3f394bd3.js → HEAD CIRCUM_BOYS.percentile.yearly-0542fe16.js} +0 -0
  189. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ba4c0650.js → HEAD CIRCUM_BOYS.zscore.monthly-e242b3bb.js} +0 -0
  190. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f31e7f35.js → HEAD CIRCUM_BOYS.zscore.weekly-03853d35.js} +0 -0
  191. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8dc4cd2d.js → HEAD CIRCUM_BOYS.zscore.yearly-e421aac2.js} +0 -0
  192. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-6fdaa336.js → HEAD CIRCUM_GIRLS.percentile.monthly-3ef7c79c.js} +0 -0
  193. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-75bd4176.js → HEAD CIRCUM_GIRLS.percentile.weekly-5f278110.js} +0 -0
  194. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-22a80cbe.js → HEAD CIRCUM_GIRLS.percentile.yearly-1fad226a.js} +0 -0
  195. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-524a075d.js → HEAD CIRCUM_GIRLS.zscore.monthly-e7a28695.js} +0 -0
  196. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2351d996.js → HEAD CIRCUM_GIRLS.zscore.weekly-eaf76d2f.js} +0 -0
  197. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-3d4a2b24.js → HEAD CIRCUM_GIRLS.zscore.yearly-998b774f.js} +0 -0
  198. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f95bfd4f.js → HEIGHT_BOYS.percentile.monthly-c0c32190.js} +0 -0
  199. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-89e71020.js → HEIGHT_BOYS.percentile.weekly-69ec680d.js} +0 -0
  200. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-a06136c8.js → HEIGHT_BOYS.percentile.yearly-c662b438.js} +0 -0
  201. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-f7e3d2d5.js → HEIGHT_BOYS.zscore.monthly-5aaf33e7.js} +0 -0
  202. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-2d3ac128.js → HEIGHT_BOYS.zscore.weekly-e3b77573.js} +0 -0
  203. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d15c42cf.js → HEIGHT_BOYS.zscore.yearly-f2c44640.js} +0 -0
  204. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1bed5c12.js → HEIGHT_GIRLS.percentile.monthly-8a79a946.js} +0 -0
  205. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7beebe16.js → HEIGHT_GIRLS.percentile.weekly-f1e1d3a2.js} +0 -0
  206. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-a6c3e72e.js → HEIGHT_GIRLS.percentile.yearly-7215d2c6.js} +0 -0
  207. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-46b7062a.js → HEIGHT_GIRLS.zscore.monthly-10f3fa0b.js} +0 -0
  208. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cb911ab3.js → HEIGHT_GIRLS.zscore.weekly-2a15403c.js} +0 -0
  209. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-925e8d4d.js → HEIGHT_GIRLS.zscore.yearly-db10e5af.js} +0 -0
  210. /package/build/esm/{Onboarding-50b42c3f.js → Onboarding-272cd967.js} +0 -0
  211. /package/build/esm/{Visible-d64f1e09.js → Visible-b4ad4384.js} +0 -0
  212. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4301a4ed.js → WEIGHT_BOYS.percentile.monthly-067b8675.js} +0 -0
  213. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-184b1935.js → WEIGHT_BOYS.percentile.weekly-75cf07c4.js} +0 -0
  214. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-100eb9f7.js → WEIGHT_BOYS.percentile.yearly-be8fdba8.js} +0 -0
  215. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2b65e0c3.js → WEIGHT_BOYS.zscore.monthly-0148bb1d.js} +0 -0
  216. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b1f53056.js → WEIGHT_BOYS.zscore.weekly-30380687.js} +0 -0
  217. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-82636533.js → WEIGHT_BOYS.zscore.yearly-7e87a3f7.js} +0 -0
  218. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-b45e7c4d.js → WEIGHT_GIRLS.percentile.monthly-d3fb1e52.js} +0 -0
  219. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-69447827.js → WEIGHT_GIRLS.percentile.weekly-f56210cd.js} +0 -0
  220. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5155477f.js → WEIGHT_GIRLS.percentile.yearly-d0dc190c.js} +0 -0
  221. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9099f160.js → WEIGHT_GIRLS.zscore.monthly-9a35231f.js} +0 -0
  222. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-0840514f.js → WEIGHT_GIRLS.zscore.weekly-832c735b.js} +0 -0
  223. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9181d374.js → WEIGHT_GIRLS.zscore.yearly-07374dc5.js} +0 -0
  224. /package/build/esm/{cookieHelper-cb7e7a27.js → cookieHelper-164be52d.js} +0 -0
  225. /package/build/esm/{dataTransform-c8857d85.js → dataTransform-2a6ed39e.js} +0 -0
  226. /package/build/esm/{index-f08aca67.js → index-8983fc14.js} +0 -0
  227. /package/build/esm/{index-f6800fc0.js → index-c0619327.js} +0 -0
  228. /package/build/esm/{index-8a06f994.js → index-e87f2fe4.js} +0 -0
  229. /package/build/esm/{isProduction-a9b81671.js → isProduction-eea76777.js} +0 -0
  230. /package/build/esm/{localizeNumberFormat-9b0ca951.js → localizeNumberFormat-ad0a92dd.js} +0 -0
  231. /package/build/esm/{normalizeLink-d08d0737.js → normalizeLink-79d50705.js} +0 -0
  232. /package/build/esm/{number-ceeb05bb.js → number-86553751.js} +0 -0
  233. /package/build/esm/{paths-8cf4a7cd.js → paths-51710b33.js} +0 -0
  234. /package/build/esm/{screenSizeContext-e06a26d8.js → screenSizeContext-f37fe312.js} +0 -0
  235. /package/build/esm/{theme-f4babdda.js → theme-d92be740.js} +0 -0
  236. /package/build/esm/{translationsContext-5501d02e.js → translationsContext-522117bb.js} +0 -0
  237. /package/build/esm/{tslib.es6-1333d52e.js → tslib.es6-8b2c89d4.js} +0 -0
  238. /package/build/esm/{types-7b603704.js → types-457814df.js} +0 -0
  239. /package/build/esm/{useIsInit-df7fb18d.js → useIsInit-571964b2.js} +0 -0
  240. /package/build/esm/{useOutsideClick-66a79507.js → useOutsideClick-0ade7837.js} +0 -0
  241. /package/build/esm/{useScrollbarSize-709842ff.js → useScrollbarSize-0b028825.js} +0 -0
  242. /package/build/{index-8a2a457a.js → index-81280a31.js} +0 -0
  243. /package/build/{index-7432dd42.js → index-c62c9e94.js} +0 -0
  244. /package/build/{index-cad6554c.js → index-fa77075e.js} +0 -0
  245. /package/build/{isProduction-e530c1c3.js → isProduction-f442c956.js} +0 -0
  246. /package/build/{localizeNumberFormat-10bb3fd3.js → localizeNumberFormat-2059a198.js} +0 -0
  247. /package/build/{normalizeLink-64033f85.js → normalizeLink-42bbc5f4.js} +0 -0
  248. /package/build/{number-57430c37.js → number-fdd928b5.js} +0 -0
  249. /package/build/{paths-b1247592.js → paths-6e57680b.js} +0 -0
  250. /package/build/{screenSizeContext-07a7c85e.js → screenSizeContext-868a3c7a.js} +0 -0
  251. /package/build/{theme-3c0e6784.js → theme-aafce547.js} +0 -0
  252. /package/build/{translationsContext-b790c2f0.js → translationsContext-317bc783.js} +0 -0
  253. /package/build/{tslib.es6-025f1228.js → tslib.es6-3737b9d7.js} +0 -0
  254. /package/build/{types-55f68711.js → types-0885e4af.js} +0 -0
  255. /package/build/{useIsInit-fb37181b.js → useIsInit-98d1130f.js} +0 -0
  256. /package/build/{useOutsideClick-f8bce527.js → useOutsideClick-239f0bc2.js} +0 -0
  257. /package/build/{useScrollbarSize-0e62245b.js → useScrollbarSize-ffb8ebb0.js} +0 -0
package/build/footer.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-a7f4fdb7.js"),a=require("./index-cad6554c.js"),l=require("dayjs"),n=require("./index-6e3b9e84.js"),o=require("./theme-3c0e6784.js");require("./index-de023383.js");var i=require("@mantine/core");require("@mantine/dates"),require("./Onboarding-4c3f6890.js"),require("./gAssets.js");var r=require("./index-61cb36af.js");require("./screenSizeContext-07a7c85e.js"),require("styled-components"),require("./isProduction-e530c1c3.js");var d=require("./useTranslations-759f6078.js");require("@mantine/hooks");var c=require("./index-052d758f.js"),s=require("./index-07fa22da.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./translationsContext-b790c2f0.js"),require("string-format"),require("./tslib.es6-025f1228.js"),require("date-fns/locale"),require("@mantine/carousel"),require("classnames"),require("lodash/throttle"),require("./utils-ff5568f0.js"),require("./index.styled-9dcc1d38.js");var m=u(e),v=u(l),f="Lj0qoTD",E="OO-qFWT";const g=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>m.default.createElement("div",{className:E,"data-is-mobile":t},m.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),y=({className:e,type:l="main",footerInfo:i,isMobile:c,locale:s})=>{var u,E,y,p,b,N,h,x,k,T,F,q,z,$,L,j,M,C,_,S,w,H,I,A,B,G,D,O;const{t:U}=d.useTranslations(),J=null==i?void 0:i.menu,K=(null===(E=null===(u=null==i?void 0:i.general)||void 0===u?void 0:u.verified)||void 0===E?void 0:E.filter(Boolean))||[];return m.default.createElement("footer",{className:`${f} ${e||""}`,style:"mini"===l?{backgroundColor:o.theme.colors.neutral50}:{}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"inner","data-type":l},"main"===l?m.default.createElement(m.default.Fragment,null,m.default.createElement("a",{href:"/"},m.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==i?void 0:i.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"newsletter"},m.default.createElement(r.Text,{size:"p1",weight:"bold"},null===(p=null==i?void 0:i.general)||void 0===p?void 0:p.content),m.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},U("footer.signUp")),m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(b=null==i?void 0:i.social)||void 0===b?void 0:b.title),m.default.createElement("div",{className:"icons"},null===(h=null===(N=null==i?void 0:i.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),m.default.createElement("hr",{className:"hrMobile"}))),m.default.createElement("div",null,J&&m.default.createElement(m.default.Fragment,null,m.default.createElement("div",{className:"biglinks"},null===(k=null===(x=J[0])||void 0===x?void 0:x.items)||void 0===k?void 0:k.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(T=J[1])||void 0===T?void 0:T.menu_title),null===(q=null===(F=J[1])||void 0===F?void 0:F.items)||void 0===q?void 0:q.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(z=J[2])||void 0===z?void 0:z.menu_title),null===(L=null===($=J[2])||void 0===$?void 0:$.items)||void 0===L?void 0:L.map(((e,t)=>e.url&&m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"otherSites"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(j=null==i?void 0:i.branch)||void 0===j?void 0:j.title),m.default.createElement("div",{className:"flags"},null===(C=null===(M=null==i?void 0:i.branch)||void 0===M?void 0:M.branch)||void 0===C?void 0:C.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},m.default.createElement(g,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),m.default.createElement("hr",null),m.default.createElement("div",{className:"copyright"},m.default.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((e,t)=>m.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},m.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),m.default.createElement(r.Text,{size:"xs",className:"copyright-content",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null===(_=null==i?void 0:i.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})))):m.default.createElement(m.default.Fragment,null,(null==i?void 0:i.menu)&&m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(S=null==i?void 0:i.menu[1])||void 0===S?void 0:S.menu_title),null===(H=null===(w=null==i?void 0:i.menu[1])||void 0===w?void 0:w.items)||void 0===H?void 0:H.map((e=>m.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`},m.default.createElement(r.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`,size:"sm",style:{color:o.theme.colors.gray800}},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(I=null==i?void 0:i.menu[2])||void 0===I?void 0:I.menu_title),null===(B=null===(A=null==i?void 0:i.menu[2])||void 0===A?void 0:A.items)||void 0===B?void 0:B.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},m.default.createElement(r.Text,{size:"sm",color:o.theme.colors.gray800,dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==l&&m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"newsletter"},m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(G=null==i?void 0:i.social)||void 0===G?void 0:G.title),m.default.createElement("div",{className:"icons"},null===(O=null===(D=null==i?void 0:i.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var p="B6-KmWK",b="GS-7mbG",N="qc5bEb3",h="CQGVeuT",x="_8eUT8Jr",k="_6JMoel-",T="pFG7UH3";const F=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:d,menu:u,socials:f}=t;return m.default.createElement("footer",{className:p,style:{backgroundColor:l||"none"}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:b},null==u?void 0:u.map((({menu_title:e,items:t},a)=>m.default.createElement("div",{className:N,key:`mbf${a}`},m.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},m.default.createElement("div",{className:h,key:`mbitem${a}`},m.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),m.default.createElement(a.Container,null,m.default.createElement("div",{className:k},m.default.createElement(i.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},m.default.createElement(i.Stack,{spacing:"24px",className:"info-item"},m.default.createElement(c.Logo,{className:"logo",type:e}),m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.content}})),m.default.createElement("div",{className:T},null==f?void 0:f.map((({icon:e,name:t,url:a},l)=>m.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},m.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),m.default.createElement(i.Box,{className:"info-item",sx:{paddingTop:"7px"}},m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.information}})))))),m.default.createElement("div",{className:x},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"content"},m.default.createElement(r.Text,{size:"p5",color:"#fff",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})),m.default.createElement("div",{className:"verify"},null===(n=null==d?void 0:d.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>m.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?m.default.createElement(y,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):m.default.createElement(F,{footerMenu:l,background:o});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-88063689.js"),a=require("./index-fa77075e.js"),l=require("dayjs"),n=require("./index-54b444c0.js"),o=require("./theme-aafce547.js");require("./index-15fc9646.js");var i=require("@mantine/core");require("@mantine/dates"),require("./Onboarding-48739c1f.js"),require("./gAssets.js");var r=require("./index-7f01cbc0.js");require("./screenSizeContext-868a3c7a.js"),require("styled-components"),require("./isProduction-f442c956.js");var d=require("./useTranslations-787d5e03.js");require("@mantine/hooks");var c=require("./index-290bea02.js"),s=require("./index-be7328b1.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./translationsContext-317bc783.js"),require("string-format"),require("./tslib.es6-3737b9d7.js"),require("date-fns/locale"),require("@mantine/carousel"),require("classnames"),require("lodash/throttle"),require("./utils-3a823fcb.js"),require("./index.styled-a535a0cf.js");var m=u(e),v=u(l),f="Lj0qoTD",E="OO-qFWT";const g=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>m.default.createElement("div",{className:E,"data-is-mobile":t},m.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),y=({className:e,type:l="main",footerInfo:i,isMobile:c,locale:s})=>{var u,E,y,b,p,N,h,x,k,T,F,q,z,$,L,j,M,C,_,S,w,H,I,A,B,G,D,O;const{t:U}=d.useTranslations(),J=null==i?void 0:i.menu,K=(null===(E=null===(u=null==i?void 0:i.general)||void 0===u?void 0:u.verified)||void 0===E?void 0:E.filter(Boolean))||[];return m.default.createElement("footer",{className:`${f} ${e||""}`,style:"mini"===l?{backgroundColor:o.theme.colors.neutral50}:{}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"inner","data-type":l},"main"===l?m.default.createElement(m.default.Fragment,null,m.default.createElement("a",{href:"/"},m.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==i?void 0:i.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===s})),m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"newsletter"},m.default.createElement(r.Text,{size:"p1",weight:"bold"},null===(b=null==i?void 0:i.general)||void 0===b?void 0:b.content),m.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},U("footer.signUp")),m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(p=null==i?void 0:i.social)||void 0===p?void 0:p.title),m.default.createElement("div",{className:"icons"},null===(h=null===(N=null==i?void 0:i.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),m.default.createElement("hr",{className:"hrMobile"}))),m.default.createElement("div",null,J&&m.default.createElement(m.default.Fragment,null,m.default.createElement("div",{className:"biglinks"},null===(k=null===(x=J[0])||void 0===x?void 0:x.items)||void 0===k?void 0:k.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(T=J[1])||void 0===T?void 0:T.menu_title),null===(q=null===(F=J[1])||void 0===F?void 0:F.items)||void 0===q?void 0:q.map(((e,t)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(z=J[2])||void 0===z?void 0:z.menu_title),null===(L=null===($=J[2])||void 0===$?void 0:$.items)||void 0===L?void 0:L.map(((e,t)=>e.url&&m.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},m.default.createElement(r.Text,{size:"sm",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"otherSites"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(j=null==i?void 0:i.branch)||void 0===j?void 0:j.title),m.default.createElement("div",{className:"flags"},null===(C=null===(M=null==i?void 0:i.branch)||void 0===M?void 0:M.branch)||void 0===C?void 0:C.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},m.default.createElement(g,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),m.default.createElement("hr",null),m.default.createElement("div",{className:"copyright"},m.default.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((e,t)=>m.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},m.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),m.default.createElement(r.Text,{size:"xs",className:"copyright-content",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null===(_=null==i?void 0:i.general)||void 0===_?void 0:_.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})))):m.default.createElement(m.default.Fragment,null,(null==i?void 0:i.menu)&&m.default.createElement("div",{className:"columns"},m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(S=null==i?void 0:i.menu[1])||void 0===S?void 0:S.menu_title),null===(H=null===(w=null==i?void 0:i.menu[1])||void 0===w?void 0:w.items)||void 0===H?void 0:H.map((e=>m.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[s]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[s]}${e.url}`},m.default.createElement(r.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[s]}${e.url}`,size:"sm",style:{color:o.theme.colors.gray800}},e.title))))),m.default.createElement("div",{className:"mHalf"},m.default.createElement(r.Text,{size:"sm",className:"linkTitle"},null===(I=null==i?void 0:i.menu[2])||void 0===I?void 0:I.menu_title),null===(B=null===(A=null==i?void 0:i.menu[2])||void 0===A?void 0:A.items)||void 0===B?void 0:B.map(((e,t)=>m.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},m.default.createElement(r.Text,{size:"sm",color:o.theme.colors.gray800,dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==l&&m.default.createElement("hr",{className:"hrMobile"}),m.default.createElement("div",{className:"newsletter"},m.default.createElement("div",{className:"social"},m.default.createElement(r.Text,{size:"sm"},null===(G=null==i?void 0:i.social)||void 0===G?void 0:G.title),m.default.createElement("div",{className:"icons"},null===(O=null===(D=null==i?void 0:i.social)||void 0===D?void 0:D.socials)||void 0===O?void 0:O.map(((e,t)=>m.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},m.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var b="B6-KmWK",p="GS-7mbG",N="qc5bEb3",h="CQGVeuT",x="_8eUT8Jr",k="_6JMoel-",T="pFG7UH3";const F=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:d,menu:u,socials:f}=t;return m.default.createElement("footer",{className:b,style:{backgroundColor:l||"none"}},m.default.createElement(a.Container,null,m.default.createElement("div",{className:p},null==u?void 0:u.map((({menu_title:e,items:t},a)=>m.default.createElement("div",{className:N,key:`mbf${a}`},m.default.createElement(s.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>m.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},m.default.createElement("div",{className:h,key:`mbitem${a}`},m.default.createElement(s.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),m.default.createElement(a.Container,null,m.default.createElement("div",{className:k},m.default.createElement(i.Flex,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},m.default.createElement(i.Stack,{spacing:"24px",className:"info-item"},m.default.createElement(c.Logo,{className:"logo",type:e}),m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.content}})),m.default.createElement("div",{className:T},null==f?void 0:f.map((({icon:e,name:t,url:a},l)=>m.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},m.default.createElement("img",{className:"social-logo",loading:"lazy",src:e,alt:t})))))),m.default.createElement(i.Box,{className:"info-item",sx:{paddingTop:"7px"}},m.default.createElement(r.Text,{size:"p4",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.information}})))))),m.default.createElement("div",{className:x},m.default.createElement(a.Container,null,m.default.createElement("div",{className:"content"},m.default.createElement(r.Text,{size:"p5",color:"#fff",as:"div"},m.default.createElement("div",{dangerouslySetInnerHTML:{__html:null==d?void 0:d.copyright.replace(/{currentYear}/gi,v.default().get("year").toString())}})),m.default.createElement("div",{className:"verify"},null===(n=null==d?void 0:d.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>m.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t}))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?m.default.createElement(y,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):m.default.createElement(F,{footerMenu:l,background:o});
package/build/gAssets.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-6e3b9e84.js"),s=require("./isProduction-e530c1c3.js");require("date-fns/locale"),require("./Onboarding-4c3f6890.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-54b444c0.js"),s=require("./isProduction-f442c956.js");require("date-fns/locale"),require("./Onboarding-48739c1f.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
@@ -1 +1 @@
1
- "use strict";var t=require("./tslib.es6-025f1228.js"),i=require("./core-ef72668b.js"),e=require("./normalizeLink-64033f85.js"),l=require("./routing-aee6cd59.js");const o=(t,i)=>{var e,l;if(!t)return{};const o="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:`${o}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${o}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{const a="tl-PH"===i?"lang=fil":"";let r=[];try{const s=yield fetch(e.normalizeLinkSlash(`${l.getDiscoverApiDomain(i)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));r=(null===(n=null===(t=null==s?void 0:s.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>o(t,i))))||[]}catch(t){}return r}catch(t){console.error(t)}}));exports.formatHealthTool=o,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=e=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield i.getDataWithCache("all-health-tools",(()=>n(e||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
1
+ "use strict";var t=require("./tslib.es6-3737b9d7.js"),i=require("./core-d0ac3081.js"),e=require("./normalizeLink-42bbc5f4.js"),l=require("./routing-a3152618.js");const o=(t,i)=>{var e,l;if(!t)return{};const o="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.startsWith("http"))?t.link:`${o}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${o}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{const a="tl-PH"===i?"lang=fil":"";let r=[];try{const s=yield fetch(e.normalizeLinkSlash(`${l.getDiscoverApiDomain(i)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));r=(null===(n=null===(t=null==s?void 0:s.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>o(t,i))))||[]}catch(t){}return r}catch(t){console.error(t)}}));exports.formatHealthTool=o,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=e=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield i.getDataWithCache("all-health-tools",(()=>n(e||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./Onboarding-4c3f6890.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
1
+ "use strict";var e=require("react"),t=require("./Onboarding-48739c1f.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
package/build/hooks.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-759f6078.js"),s=require("./useScrollbarSize-0e62245b.js"),r=require("./useRafState-3c390f00.js"),i=require("./useHealthToolCache-b909cfa5.js"),u=require("./useIsInit-fb37181b.js"),t=require("./useOutsideClick-f8bce527.js"),o=require("./useCategory-9694cab7.js");require("react"),require("./translationsContext-b790c2f0.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-025f1228.js"),require("./cookieHelper-40f0dd24.js"),require("./getDynamicHealthTool-8750199e.js"),require("./core-ef72668b.js"),require("./isProduction-e530c1c3.js"),require("./normalizeLink-64033f85.js"),require("./routing-aee6cd59.js"),require("./index-6e3b9e84.js"),require("date-fns/locale"),require("./Onboarding-4c3f6890.js"),exports.useInitialMount=e.useInitialMount,exports.useTranslations=e.useTranslations,exports.useUniqueId=e.useUniqueId,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.MAPPED_CATEGORY_SLUGS=o.MAPPED_CATEGORY_SLUGS,exports.PREGNANCY_SLUG=o.PREGNANCY_SLUG,exports.useCategory=o.useCategory;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-787d5e03.js"),s=require("./useScrollbarSize-ffb8ebb0.js"),r=require("./useRafState-806e4e4a.js"),i=require("./useHealthToolCache-04b17115.js"),u=require("./useIsInit-98d1130f.js"),t=require("./useOutsideClick-239f0bc2.js"),o=require("./useCategory-5270d6b5.js");require("react"),require("./translationsContext-317bc783.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-3737b9d7.js"),require("./cookieHelper-600a5796.js"),require("./getDynamicHealthTool-f7ed2409.js"),require("./core-d0ac3081.js"),require("./isProduction-f442c956.js"),require("./normalizeLink-42bbc5f4.js"),require("./routing-a3152618.js"),require("./index-54b444c0.js"),require("date-fns/locale"),require("./Onboarding-48739c1f.js"),exports.useInitialMount=e.useInitialMount,exports.useTranslations=e.useTranslations,exports.useUniqueId=e.useUniqueId,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.MAPPED_CATEGORY_SLUGS=o.MAPPED_CATEGORY_SLUGS,exports.PREGNANCY_SLUG=o.PREGNANCY_SLUG,exports.useCategory=o.useCategory;
package/build/i18n.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-b790c2f0.js"),s=require("react"),t=require("./i18n-values/en-PH.js"),r=require("./i18n-values/hi-IN.js"),a=require("./i18n-values/id-ID.js"),n=require("./i18n-values/km-KH.js"),u=require("./i18n-values/ms-MY.js"),i=require("./i18n-values/my-MM.js"),l=require("./i18n-values/th-TH.js"),o=require("./i18n-values/tl-PH.js"),d=require("./i18n-values/vi-VN.js"),v=require("./i18n-values/vi-VN_MB.js"),f=require("./i18n-values/zh-TW.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var j=c(s);const q={"en-PH":t.default,"vi-VN":d.default,"hi-IN":r.default,"id-ID":a.default,"ms-MY":u.default,"my-MM":i.default,"km-KH":n.default,"zh-TW":f.default,"th-TH":l.default,"tl-PH":o.default,"vi-VN_MB":v.default};exports.TranslationsContext=e.TranslationsContext,exports.TranslationsProvider=({locale:t="en-PH",overrides:r,overrideCurrentLocale:a,children:n,shouldLoadTranslation:u=!0,loader:i=null,onTranslationsLoaded:l})=>{const o=r&&r[t]||a,[d,v]=s.useState((()=>Object.assign(Object.assign({},o),u?q[t]:{})));s.useEffect((()=>{v(Object.assign(Object.assign({},o),u?q[t]:{}))}),[u,t]);const f=s.useMemo((()=>d?{locale:t,values:d}:null),[t,d]);return s.useEffect((()=>{l&&Object.keys(d).length&&l(d)}),[d]),j.default.createElement(e.TranslationsContext.Provider,{value:f},f?n:i)},exports.translationsMap=q;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-317bc783.js"),s=require("react"),t=require("./i18n-values/en-PH.js"),r=require("./i18n-values/hi-IN.js"),a=require("./i18n-values/id-ID.js"),n=require("./i18n-values/km-KH.js"),u=require("./i18n-values/ms-MY.js"),i=require("./i18n-values/my-MM.js"),l=require("./i18n-values/th-TH.js"),o=require("./i18n-values/tl-PH.js"),d=require("./i18n-values/vi-VN.js"),v=require("./i18n-values/vi-VN_MB.js"),c=require("./i18n-values/zh-TW.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var j=f(s);const q={"en-PH":t.default,"vi-VN":d.default,"hi-IN":r.default,"id-ID":a.default,"ms-MY":u.default,"my-MM":i.default,"km-KH":n.default,"zh-TW":c.default,"th-TH":l.default,"tl-PH":o.default,"vi-VN_MB":v.default};exports.TranslationsContext=e.TranslationsContext,exports.TranslationsProvider=({locale:t="en-PH",overrides:r,overrideCurrentLocale:a,children:n,shouldLoadTranslation:u=!0,loader:i=null,onTranslationsLoaded:l})=>{const o=r&&r[t]||a,[d,v]=s.useState((()=>Object.assign(Object.assign({},o),u?q[t]:{})));s.useEffect((()=>{v(Object.assign(Object.assign({},o),u?q[t]:{}))}),[u,t]);const c=s.useMemo((()=>d?{locale:t,values:d}:null),[t,d]);return s.useEffect((()=>{l&&Object.keys(d).length&&l(d)}),[d]),j.default.createElement(e.TranslationsContext.Provider,{value:c},c?n:i)},exports.translationsMap=q;
package/build/i18nV2.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-b790c2f0.js"),t=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t);exports.TranslationsContext=e.TranslationsContext,exports.TranslationsProvider=({locale:r="en-PH",values:a,children:o})=>{const l=t.useMemo((()=>a?{locale:r,values:a}:null),[r,a]);return n.default.createElement(e.TranslationsContext.Provider,{value:l},o)};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsContext-317bc783.js"),t=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=r(t);exports.TranslationsContext=e.TranslationsContext,exports.TranslationsProvider=({locale:r="en-PH",values:a,children:o})=>{const l=t.useMemo((()=>a?{locale:r,values:a}:null),[r,a]);return n.default.createElement(e.TranslationsContext.Provider,{value:l},o)};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-025f1228.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),s=require("./index-6e3b9e84.js"),a=require("./Onboarding-4c3f6890.js"),n=require("./gAssets.js"),l=require("./index-de023383.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=s.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.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:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
1
+ "use strict";var e=require("./tslib.es6-3737b9d7.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),s=require("./index-54b444c0.js"),a=require("./Onboarding-48739c1f.js"),n=require("./gAssets.js"),l=require("./index-15fc9646.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=s.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.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:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./tslib.es6-025f1228.js"),t=require("react"),l=require("@mantine/core"),a=require("@mantine/hooks"),r=require("./theme-3c0e6784.js"),n=require("./gAssets.js"),i=require("dayjs"),o=require("./Onboarding-4c3f6890.js"),s=require("./screenSizeContext-07a7c85e.js"),c=require("styled-components"),d=require("@mantine/carousel"),u=require("./index-61cb36af.js"),f=require("./index-6e3b9e84.js");require("./isProduction-e530c1c3.js");var h=require("classnames"),m=require("./useTranslations-759f6078.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(l){if("default"!==l){var a=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,a.get?a:{enumerable:!0,get:function(){return e[l]}})}})),t.default=e,Object.freeze(t)}var E=p(t),C=g(t),b=p(i),v=p(c),L=p(h);const y=l=>{var{alt:a,backupSrc:r,src:n,placeholderSrc:i,style:o,ref:s}=l,c=e.__rest(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[d,u]=t.useState(!1);return E.default.createElement(w,Object.assign({loading:"lazy",alt:a,onError:()=>!d&&u(!0),src:d?r||n:n||r,style:Object.assign(Object.assign({},i?{backgroundImage:`url(${i})`}:{}),o),"data-has-placeholder":!!i,ref:s},c))},w=v.default.img`
1
+ "use strict";var e=require("./tslib.es6-3737b9d7.js"),t=require("react"),l=require("@mantine/core"),a=require("@mantine/hooks"),r=require("./theme-aafce547.js"),n=require("./gAssets.js"),i=require("dayjs"),o=require("./Onboarding-48739c1f.js"),s=require("./screenSizeContext-868a3c7a.js"),c=require("styled-components"),d=require("@mantine/carousel"),u=require("./index-7f01cbc0.js"),f=require("./index-54b444c0.js");require("./isProduction-f442c956.js");var h=require("classnames"),m=require("./useTranslations-787d5e03.js");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(l){if("default"!==l){var a=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(t,l,a.get?a:{enumerable:!0,get:function(){return e[l]}})}})),t.default=e,Object.freeze(t)}var E=p(t),C=g(t),b=p(i),v=p(c),L=p(h);const y=l=>{var{alt:a,backupSrc:r,src:n,placeholderSrc:i,style:o,ref:s}=l,c=e.__rest(l,["alt","backupSrc","src","placeholderSrc","style","ref"]);const[d,u]=t.useState(!1);return E.default.createElement(w,Object.assign({loading:"lazy",alt:a,onError:()=>!d&&u(!0),src:d?r||n:n||r,style:Object.assign(Object.assign({},i?{backgroundImage:`url(${i})`}:{}),o),"data-has-placeholder":!!i,ref:s},c))},w=v.default.img`
2
2
  &[data-has-placeholder='true'] {
3
3
  background-position: center;
4
4
  background-repeat: no-repeat;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-025f1228.js"),a=require("react"),t=require("@mantine/core"),n=require("./constants-bab6e4c4.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
1
+ "use strict";var e=require("./tslib.es6-3737b9d7.js"),a=require("react"),t=require("@mantine/core"),n=require("./constants-ac7b324c.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:g,size:f,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":f,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},g||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./utils-ff5568f0.js"),s=require("./index-de023383.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:m,customSize:g,badge:i,locale:d,dateForSeasonal:c,isPro:u})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(d)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e),isRamadan:t.isRamadan(e)}}),[d,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":m||void 0,"data-has-badge":!!i,"data-seasonal":f.isRamadan?"ramadan":f.isChristmas?"christmas":f.isLunarNewYear?"lunar-new-year":f.isNewYear?"new-year":void 0,"data-type":l},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):f.isRamadan&&"hellosehat"===l?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):f.isRamadan&&"hellodoktor"===l?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==g?void 0:g.width,height:null==g?void 0:g.height}),u?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
1
+ "use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./utils-3a823fcb.js"),s=require("./index-15fc9646.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:m,customSize:g,badge:i,locale:d,dateForSeasonal:c,isPro:u})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1,isRamadan:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(d)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e),isRamadan:t.isRamadan(e)}}),[d,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":m||void 0,"data-has-badge":!!i,"data-seasonal":f.isRamadan?"ramadan":f.isChristmas?"christmas":f.isLunarNewYear?"lunar-new-year":f.isNewYear?"new-year":void 0,"data-type":l},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):f.isRamadan&&"hellosehat"===l?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-sehat-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-sehat-right.png"),className:"common-logo-seasonal-right"})):f.isRamadan&&"hellodoktor"===l?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-doktor-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right ramadan logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/ramadan-doktor-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==g?void 0:g.width,height:null==g?void 0:g.height}),u?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("./index-61cb36af.js"),a=require("./index.styles-f73dac16.js"),l=require("./screenSizeContext-07a7c85e.js"),n=require("./index-de023383.js"),i=require("./index-d0f459df.js"),r=require("./useTranslations-759f6078.js");require("lodash/debounce");var o=require("./isProduction-e530c1c3.js"),s=require("./index-6e3b9e84.js");require("./useCategory-9694cab7.js");var d=require("./gAssets.js"),c=require("./theme-3c0e6784.js"),u=require("./tslib.es6-025f1228.js"),m=require("@mantine/core"),p=require("innertext");require("@mantine/dates");var g=require("./Onboarding-4c3f6890.js"),h=require("dayjs"),f=require("styled-components");require("./translationsContext-b790c2f0.js"),require("string-format");var b=require("@mantine/hooks"),v=require("./index-fc9732b2.js"),y=require("lodash/throttle"),x=require("./index-052d758f.js"),E=require("./index-a7f4fdb7.js"),w=require("./index-4fbd5f75.js"),C=require("html-react-parser"),k=require("date-fns");require("./utils-ff5568f0.js"),require("./index.styled-9dcc1d38.js"),require("./index-8a2a457a.js");var B=require("./constants-bab6e4c4.js"),T=require("./types-55f68711.js"),D=require("./index-e5067b42.js"),S=require("./index-07fa22da.js"),N=require("./index.styled-10bc6533.js"),M=require("./index-cad6554c.js"),A=require("react-hook-form"),$=require("./useHealthToolCache-b909cfa5.js"),z=require("@hookform/resolvers/yup"),P=require("./index-4652e32d.js"),L=require("./index-961097c0.js"),I=require("react-day-picker/DayPickerInput"),_=require("./useOutsideClick-f8bce527.js"),O=require("date-fns/locale/en-US"),j=require("date-fns/locale/id"),F=require("date-fns/locale/vi"),R=require("date-fns/locale/zh-TW"),H=require("./getSocialList-d4d8304e.js"),G=require("uuid"),U=require("./routing-aee6cd59.js"),W=require("@mantine/form"),V=require("./index-669aeaed.js"),Q=require("js-cookie"),q=require("lodash/flatten");require("react-contenteditable"),require("react-dom");var Z=require("lodash/uniqBy");function Y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var K=Y(e),X=Y(p),J=Y(h),ee=Y(f),te=Y(y),ae=Y(C),le=Y(I),ne=Y(O),ie=Y(j),re=Y(F),oe=Y(R),se=Y(Q),de=Y(q),ce=Y(Z),ue="CHw-fZZ",me="_03U6VRS",pe="EO828Vv";const ge=()=>K.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),he=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},K.default.createElement("defs",null,K.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},K.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),K.default.createElement("title",null,"File"),K.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),fe=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"download"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),be=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"upload"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),ve=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:r,href:o,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),K.default.createElement(e.Fragment,null,n>4&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},o?K.default.createElement("a",{href:o,onClick:r},1):1),K.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>K.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,e,s),onClick:r},e):e))),n<d.length-3&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,null,"..."),K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,d.length,s),onClick:r},d.length):d.length)))},ye=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:r,value:o,isRectangle:s,inputDataTestId:d,siteType:c})=>K.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},K.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>r(o,!l),disabled:i,value:o,id:`${t}-${o}`,"data-label-text":e,"data-testid":d}),!s&&K.default.createElement("label",{htmlFor:`${t}-${o}`},e)),xe=e=>K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),Ee=e=>K.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),we=e=>{const t=r.useUniqueId();return K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),K.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),K.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},K.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),K.default.createElement("g",{mask:`url(#${t})`},K.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ce=l=>{var{label:n,availableValue:i,styles:o,isBaby:s,genderValue:c={male:"male",female:"female"}}=l,p=u.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=r.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:o}),[b,v]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:c.male,label:g(s?"gender.boy":"gender.male"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:c.female,label:g(s?"gender.girl":"gender.female"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{v(i)}),[i]),K.default.createElement(m.Box,{ref:y,className:h.root},K.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:K.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(s?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),K.default.createElement(m.Flex,{className:f(h.wrapper)},x.map((e=>K.default.createElement(m.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},b&&e.value!==b&&{disabled:!0},{label:K.default.createElement(m.Flex,{gap:m.rem(8),align:"center",justify:"center",sx:{zIndex:0}},K.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),K.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var ke="tliWyii";var Be="PiqKaXk",Te="HgbW6-m",De="_6lkfLYy",Se="j7c-onH";const Ne=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"avatar","data-size":i},e),K.default.createElement("div",{className:"poster","data-is-disabled-url":!l},K.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},K.default.createElement("a",{href:l},K.default.createElement("span",{className:"name"},a),"•"," "),K.default.createElement("span",null,n))))),Me=({isMobile:e,avatarImg:l,name:n,link:i,size:r="lg",specialty:o})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"expert-avatar","data-size":r},l),K.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n))):K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement("h6",{color:c.theme.colors.gray600,className:`${Be} expert__name`},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p4",className:"specialty"},o)))))),Ae=e.memo((()=>K.default.createElement("div",{className:"shoppable"},K.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},K.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),K.default.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"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},K.default.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"})))),ze=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},K.default.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"})))),Pe=e=>{var a,l,i,{article:r,author:o,authorAvatar:s,badge:d="",hideDescription:c=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,b=u.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=n.useScreenSize();return console.log({article:r}),K.default.createElement(m.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},b),K.default.createElement(m.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},K.default.createElement("img",{src:(v?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&K.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},X.default(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:d,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},o," • ",h))))};var Le=m.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ie=648/440,_e=1.5,Oe=a=>{var l,i,r,{article:o,author:s,authorAvatar:d,badge:c="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:b,tracking:v,classNames:y,styles:x,unstyled:E,className:w}=a,C=u.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=Le({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),D=e.useMemo((()=>g?_e:Ie),[g]);return K.default.createElement(m.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),K.default.createElement(m.Card.Section,{className:T(B.image,"pointer")},K.default.createElement(n.AspectRatio,Object.assign({ratio:D},p),K.default.createElement("img",{src:(k?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!g&&K.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},X.default(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{className:B.author,gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:d,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",b))))},je=ee.default.a`
1
+ "use strict";var e=require("react"),t=require("./index-7f01cbc0.js"),a=require("./index.styles-4a40e685.js"),l=require("./screenSizeContext-868a3c7a.js"),n=require("./index-15fc9646.js"),i=require("./index-8027a0a6.js"),r=require("./useTranslations-787d5e03.js");require("lodash/debounce");var o=require("./isProduction-f442c956.js"),s=require("./index-54b444c0.js");require("./useCategory-5270d6b5.js");var d=require("./gAssets.js"),c=require("./theme-aafce547.js"),u=require("./tslib.es6-3737b9d7.js"),m=require("@mantine/core"),p=require("innertext");require("@mantine/dates");var g=require("./Onboarding-48739c1f.js"),h=require("dayjs"),f=require("styled-components");require("./translationsContext-317bc783.js"),require("string-format");var b=require("@mantine/hooks"),v=require("./index-d8b4344c.js"),y=require("lodash/throttle"),x=require("./index-290bea02.js"),E=require("./index-88063689.js"),w=require("./index-1917b114.js"),C=require("html-react-parser"),k=require("date-fns");require("./utils-3a823fcb.js"),require("./index.styled-a535a0cf.js"),require("./index-81280a31.js");var B=require("./constants-ac7b324c.js"),T=require("./types-0885e4af.js"),D=require("./index-b2d46829.js"),S=require("./index-be7328b1.js"),N=require("./index.styled-33d6653c.js"),M=require("./index-fa77075e.js"),A=require("react-hook-form"),$=require("./useHealthToolCache-04b17115.js"),z=require("@hookform/resolvers/yup"),P=require("./index-5164e4de.js"),L=require("./index-a1282af2.js"),I=require("react-day-picker/DayPickerInput"),_=require("./useOutsideClick-239f0bc2.js"),O=require("date-fns/locale/en-US"),j=require("date-fns/locale/id"),F=require("date-fns/locale/vi"),R=require("date-fns/locale/zh-TW"),H=require("./getSocialList-0cc97bdf.js"),G=require("uuid"),U=require("./routing-a3152618.js"),W=require("@mantine/form"),V=require("./index-8dec03ce.js"),Q=require("js-cookie"),q=require("lodash/flatten");require("react-contenteditable"),require("react-dom");var Z=require("lodash/uniqBy");function Y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var K=Y(e),X=Y(p),J=Y(h),ee=Y(f),te=Y(y),ae=Y(C),le=Y(I),ne=Y(O),ie=Y(j),re=Y(F),oe=Y(R),se=Y(Q),de=Y(q),ce=Y(Z),ue="CHw-fZZ",me="_03U6VRS",pe="EO828Vv";const ge=()=>K.default.createElement("style",null,".file-dropdown-path{fill:none;stroke:#595959;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"),he=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 12.17 14.83"},K.default.createElement("defs",null,K.default.createElement("clipPath",{id:"prefix__clip-path",transform:"translate(-1.92 -1.54)"},K.default.createElement("path",{fill:"none",d:"M0 .96h16v16H0z"}))),K.default.createElement("title",null,"File"),K.default.createElement("g",{clipPath:"url(#prefix__clip-path)"},K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29H4a1.33 1.33 0 00-1.33 1.33v10.67A1.33 1.33 0 004 15.62h8a1.33 1.33 0 001.33-1.33V7z",transform:"translate(-1.92 -1.54)"}),K.default.createElement("path",{className:"file-dropdown-path",d:"M8.67 2.29V7h4.66",transform:"translate(-1.92 -1.54)"}))),fe=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"download"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M4.67 7.62L8 11l3.33-3.34M8 11V3",transform:"translate(-1.25 -2.21)"})),be=()=>K.default.createElement("svg",{id:"prefix__Layer_1","data-name":"Layer 1",viewBox:"0 0 13.5 13.5"},K.default.createElement("title",null,"upload"),K.default.createElement("path",{className:"file-dropdown-path",d:"M14 11v2.66A1.33 1.33 0 0112.67 15H3.33A1.33 1.33 0 012 13.62V11M11.33 6.29L8 3 4.67 6.29M8 3v8",transform:"translate(-1.25 -2.21)"})),ve=({pagesAmount:t,activePage:n,handlePageChange:i,handleClick:r,href:o,queryPageName:s="page"})=>{const d=[...Array(t)].map(((e,t)=>t+1)),[c,u]=e.useState(n<=4?d.slice(0,5):n>=d.length-3?d.slice(d.length-5,d.length):d.slice(n-2,n+1));return e.useEffect((()=>{n<=4?u(d.slice(0,5)):n>=d.length-3?u(d.slice(d.length-5,d.length)):u(d.slice(n-2,n+1))}),[n]),K.default.createElement(e.Fragment,null,n>4&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(1)},o?K.default.createElement("a",{href:o,onClick:r},1):1),K.default.createElement(a.StyledPaginationBlock,null,"...")),c.map((e=>K.default.createElement(a.StyledPaginationBlock,{key:`pagination+${e}`,"data-page-active":e===n||void 0,onClick:()=>i(e)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,e,s),onClick:r},e):e))),n<d.length-3&&K.default.createElement(e.Fragment,null,K.default.createElement(a.StyledPaginationBlock,null,"..."),K.default.createElement(a.StyledPaginationBlock,{onClick:()=>i(d.length)},o?K.default.createElement("a",{href:l.formatUrlWithPageParam(o,d.length,s),onClick:r},d.length):d.length)))},ye=({label:e,name:t,checked:l,className:n,isDisabled:i,onChange:r,value:o,isRectangle:s,inputDataTestId:d,siteType:c})=>K.default.createElement(a.StyledCheckbox,{className:n,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":e,"data-theme":c},K.default.createElement("input",{type:"checkbox",checked:l,name:t,onChange:()=>r(o,!l),disabled:i,value:o,id:`${t}-${o}`,"data-label-text":e,"data-testid":d}),!s&&K.default.createElement("label",{htmlFor:`${t}-${o}`},e)),xe=e=>K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#D2D6DC"})),Ee=e=>K.default.createElement("svg",Object.assign({},e,{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"}),K.default.createElement("path",{d:"M16.0002 23.0266L22.8935 27.1866C23.4002 27.4933 24.0268 27.04 23.8935 26.4666L22.0668 18.6266L28.1468 13.36C28.5868 12.9733 28.3602 12.24 27.7602 12.1866L19.7468 11.5066L16.6135 4.11996C16.3868 3.57329 15.6135 3.57329 15.3868 4.11996L12.2535 11.5066L4.24016 12.1866C3.65349 12.24 3.41349 12.9733 3.86682 13.36L9.94682 18.6266L8.12016 26.4666C7.98682 27.04 8.61349 27.4933 9.12016 27.1866L16.0002 23.0266Z",fill:"#FFC326"})),we=e=>{const t=r.useUniqueId();return K.default.createElement("svg",Object.assign({},e,{viewBox:"0 0 24 24",fill:"none"}),K.default.createElement("path",{d:"M12.0001 17.2697L17.1701 20.3897C17.5501 20.6197 18.0201 20.2797 17.9201 19.8497L16.5501 13.9697L21.1101 10.0197C21.4401 9.72973 21.2701 9.17973 20.8201 9.13973L14.8101 8.62973L12.4601 3.08973C12.2901 2.67973 11.7101 2.67973 11.5401 3.08973L9.19006 8.62973L3.18006 9.13973C2.74006 9.17973 2.56006 9.72973 2.90006 10.0197L7.46006 13.9697L6.09006 19.8497C5.99006 20.2797 6.46006 20.6197 6.84006 20.3897L12.0001 17.2697Z",fill:"#E4E8EC"}),K.default.createElement("mask",{id:t,maskUnits:"userSpaceOnUse",x:"2",y:"0",width:"10",height:"24"},K.default.createElement("rect",{x:"2",width:"10",height:"24",fill:"#C4C4C4"})),K.default.createElement("g",{mask:`url(#${t})`},K.default.createElement("path",{d:"M11.9998 17.2697L17.1698 20.3897C17.5498 20.6197 18.0198 20.2797 17.9198 19.8497L16.5498 13.9697L21.1098 10.0197C21.4398 9.72973 21.2698 9.17973 20.8198 9.13973L14.8098 8.62973L12.4598 3.08973C12.2898 2.67973 11.7098 2.67973 11.5398 3.08973L9.18981 8.62973L3.17981 9.13973C2.73981 9.17973 2.55981 9.72973 2.89981 10.0197L7.45981 13.9697L6.08981 19.8497C5.98981 20.2797 6.45981 20.6197 6.83981 20.3897L11.9998 17.2697Z",fill:"#FFC326"})))},Ce=l=>{var{label:n,availableValue:i,styles:o,isBaby:s,genderValue:c={male:"male",female:"female"}}=l,p=u.__rest(l,["label","availableValue","styles","isBaby","genderValue"]);const{t:g}=r.useTranslations(),{classes:h,cx:f}=a.useStyles(void 0,{name:"GenderOptionControl",styles:o}),[b,v]=e.useState(),y=e.useRef(null),x=e.useMemo((()=>[{value:c.male,label:g(s?"gender.boy":"gender.male"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/boy-icon.svg":"health-tools/male-icon.svg")},{value:c.female,label:g(s?"gender.girl":"gender.female"),icon:d.CommonGAssets.getAssetPath(s?"health-tools/girl-icon.svg":"health-tools/female-icon.svg")}]),[]);return e.useEffect((()=>{v(i)}),[i]),K.default.createElement(m.Box,{ref:y,className:h.root},K.default.createElement(m.Radio.Group,Object.assign({className:"radio-group",label:K.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},n||g(s?"tools.selectBabyGender":"tools.selectGender")),size:"lg"},p,{classNames:{error:h.groupErr}}),K.default.createElement(m.Flex,{className:f(h.wrapper)},x.map((e=>K.default.createElement(m.Radio,Object.assign({className:"gender-item",classNames:{root:h.itemRoot,labelWrapper:h.itemLabelWrapper,label:h.itemLabel,inner:h.itemInner},key:e.value,value:e.value},b&&e.value!==b&&{disabled:!0},{label:K.default.createElement(m.Flex,{gap:m.rem(8),align:"center",justify:"center",sx:{zIndex:0}},K.default.createElement("img",{src:e.icon,className:"gender-image",alt:"female",loading:"lazy"}),K.default.createElement(t.Text,{size:"p3"},e.label))})))))))};var ke="tliWyii";var Be="PiqKaXk",Te="HgbW6-m",De="_6lkfLYy",Se="j7c-onH";const Ne=({avatarImg:e,authorName:a,authorLink:l,uploadTime:n,size:i})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"avatar","data-size":i},e),K.default.createElement("div",{className:"poster","data-is-disabled-url":!l},K.default.createElement(t.Text,{size:"lg"===i?"p3":"p4"},K.default.createElement("a",{href:l},K.default.createElement("span",{className:"name"},a),"•"," "),K.default.createElement("span",null,n))))),Me=({isMobile:e,avatarImg:l,name:n,link:i,size:r="lg",specialty:o})=>K.default.createElement("div",{className:Se},K.default.createElement("div",{className:"author"},K.default.createElement("div",{className:"expert-avatar","data-size":r},l),K.default.createElement("div",{className:"expert","data-is-disabled-url":!i},e?K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n))):K.default.createElement("a",{href:i},"lg"===r?K.default.createElement(K.default.Fragment,null,K.default.createElement(a.Heading,{tag:"h6",className:"expert__name",color:c.theme.colors.gray600},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p3",className:"specialty"},o)):K.default.createElement(K.default.Fragment,null,K.default.createElement("h6",{color:c.theme.colors.gray600,className:`${Be} expert__name`},n),K.default.createElement(t.Text,{color:c.theme.colors.gray500,size:"p4",className:"specialty"},o)))))),Ae=e.memo((()=>K.default.createElement("div",{className:"shoppable"},K.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},K.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),K.default.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"}))))),$e=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},K.default.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"})))),ze=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>K.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},K.default.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"})))),Pe=e=>{var a,l,i,{article:r,author:o,authorAvatar:s,badge:d="",hideDescription:c=!1,isBookmarked:p=!1,onBookmark:g,time:h,tracking:f}=e,b=u.__rest(e,["article","author","authorAvatar","badge","hideDescription","isBookmarked","onBookmark","time","tracking"]);const{isMobile:v}=n.useScreenSize();return console.log({article:r}),K.default.createElement(m.Card,Object.assign({padding:0,radius:0,sx:{display:"flex",flexDirection:"row",gap:24}},b),K.default.createElement(m.Card.Section,{w:"100%",h:"100%",miw:264,m:0,className:"pointer"},K.default.createElement("img",{src:(v?r.featureImageMobile:r.featureImage)||r.featureImage,alt:r.postName,style:{width:"100%"},loading:"lazy"})),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{href:(null===(a=null==r?void 0:r.primaryCategory)||void 0===a?void 0:a.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(l=null==r?void 0:r.primaryCategory)||void 0===l?void 0:l.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:g},p?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==f?void 0:f.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{size:c?"s2":"s1",mb:8,weight:"semiBold",className:"pointer"},r.postTitle||r.postName||""),!c&&K.default.createElement(t.Text,{size:"p2",mb:16,lineClamp:3,className:"pointer"},X.default(r.excerpt||r.description||(null===(i=r.postContent)||void 0===i?void 0:i.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:s,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:d,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},o," • ",h))))};var Le=m.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const Ie=648/440,_e=1.5,Oe=a=>{var l,i,r,{article:o,author:s,authorAvatar:d,badge:c="",bannerImageWrapProps:p,hideDescription:g=!1,isBookmarked:h=!1,onBookmark:f,time:b,tracking:v,classNames:y,styles:x,unstyled:E,className:w}=a,C=u.__rest(a,["article","author","authorAvatar","badge","bannerImageWrapProps","hideDescription","isBookmarked","onBookmark","time","tracking","classNames","styles","unstyled","className"]);const{isMobile:k}=n.useScreenSize(),{classes:B,cx:T}=Le({},{name:"ArticleCard",classNames:y,styles:x,unstyled:E}),D=e.useMemo((()=>g?_e:Ie),[g]);return K.default.createElement(m.Card,Object.assign({className:T(B.root,w),padding:"lg",radius:0},C),K.default.createElement(m.Card.Section,{className:T(B.image,"pointer")},K.default.createElement(n.AspectRatio,Object.assign({ratio:D},p),K.default.createElement("img",{src:(k?o.featureImageMobile:o.featureImage)||o.featureImage,alt:o.postName,style:{objectFit:"cover"}}))),K.default.createElement(m.Card.Section,null,K.default.createElement(m.Group,{position:"apart",mt:16,mb:4},K.default.createElement(n.Anchor,{className:B.category,href:(null===(l=null==o?void 0:o.primaryCategory)||void 0===l?void 0:l.permalink)||"#"},K.default.createElement(t.Text,{size:"p4",color:"blue.6"},null===(i=null==o?void 0:o.primaryCategory)||void 0===i?void 0:i.displayName)),K.default.createElement(m.Box,{sx:{cursor:"pointer"},role:"button",onClick:f},h?K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7Z",fill:"#595959"})):K.default.createElement("svg",Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},null==v?void 0:v.bookmark),K.default.createElement("path",{d:"M7 17.95L12 15.8L17 17.95V5.3C17 5.23333 16.9667 5.16667 16.9 5.1C16.8333 5.03333 16.7667 5 16.7 5H7.3C7.23333 5 7.16667 5.03333 7.1 5.1C7.03333 5.16667 7 5.23333 7 5.3V17.95ZM6.775 19.7C6.475 19.8333 6.18733 19.8123 5.912 19.637C5.63733 19.4623 5.5 19.2083 5.5 18.875V5.3C5.5 4.8 5.675 4.375 6.025 4.025C6.375 3.675 6.8 3.5 7.3 3.5H16.7C17.2 3.5 17.625 3.675 17.975 4.025C18.325 4.375 18.5 4.8 18.5 5.3V18.875C18.5 19.2083 18.3623 19.4623 18.087 19.637C17.8123 19.8123 17.525 19.8333 17.225 19.7L12 17.45L6.775 19.7ZM7 5H17H12H7Z",fill:"#595959"})))),K.default.createElement(t.Text,{className:T(B.title,"pointer"),size:g?"s2":"s1",mb:8,weight:"semiBold"},o.postTitle||o.postName||""),!g&&K.default.createElement(t.Text,{className:T(B.description,"pointer"),size:"p2",mb:16,lineClamp:3},X.default(o.excerpt||o.description||(null===(r=o.postContent)||void 0===r?void 0:r.split("\r\n")[0])||"")),K.default.createElement(m.Flex,{className:B.author,gap:12,align:"center"},K.default.createElement(n.Avatar,{size:32,src:d,withIndicator:!0,indicatorConfig:{offset:5,size:18,label:K.default.createElement("img",{loading:"lazy",src:c,alt:""})}},"A"),K.default.createElement(t.Text,{size:"n1",c:"gray.6"},s," • ",b))))},je=ee.default.a`
2
2
  display: flex;
3
3
  height: 125px;
4
4
 
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./screenSizeContext-07a7c85e.js"),l=require("./index.styles-f73dac16.js"),o=require("./index-61cb36af.js"),d=require("./useScrollbarSize-0e62245b.js"),r=require("react-dom"),n=require("styled-components"),i=require("./useTranslations-759f6078.js"),s=require("./Onboarding-4c3f6890.js"),c=require("./index-07fa22da.js"),u=require("./theme-3c0e6784.js"),m=require("./index-d0f459df.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=h(e),f=h(n);const g=({open:e=!1,onClickOutside:t})=>p.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),y=({value:t,options:a,className:o,direction:d="horizontal",onChange:r,isDisabled:n,siteType:i})=>{const[s,h]=e.useState(t),f="marryBaby"===i;return p.default.createElement(l.StyledRadioImageGroup,{className:o,"data-direction":d},a.map(((e,a)=>p.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||s)===e.value,"data-is-mb":f,"data-disabled":n,key:a,onClick:()=>{var t;t=e.value,n||(h(t),r&&r(t))}},p.default.createElement("div",null,e.content,e.label&&p.default.createElement(p.default.Fragment,null,f?p.default.createElement(c.MarryBabyText,{type:"subtitle-2",color:(t||s)===e.value?u.theme.mbColors.dark:u.theme.mbColors.midGray},e.label):p.default.createElement(m.Text,{type:"bold",color:(t||s)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},b=f.default.div`
1
+ "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./screenSizeContext-868a3c7a.js"),l=require("./index.styles-4a40e685.js"),o=require("./index-7f01cbc0.js"),r=require("./useScrollbarSize-ffb8ebb0.js"),d=require("react-dom"),n=require("styled-components"),i=require("./useTranslations-787d5e03.js"),s=require("./Onboarding-48739c1f.js"),c=require("./index-be7328b1.js"),u=require("./theme-aafce547.js"),m=require("./index-8027a0a6.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=h(e),f=h(n);const g=({open:e=!1,onClickOutside:t})=>p.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),y=({value:t,options:a,className:o,direction:r="horizontal",onChange:d,isDisabled:n,siteType:i})=>{const[s,h]=e.useState(t),f="marryBaby"===i;return p.default.createElement(l.StyledRadioImageGroup,{className:o,"data-direction":r},a.map(((e,a)=>p.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||s)===e.value,"data-is-mb":f,"data-disabled":n,key:a,onClick:()=>{var t;t=e.value,n||(h(t),d&&d(t))}},p.default.createElement("div",null,e.content,e.label&&p.default.createElement(p.default.Fragment,null,f?p.default.createElement(c.MarryBabyText,{type:"subtitle-2",color:(t||s)===e.value?u.theme.mbColors.dark:u.theme.mbColors.midGray},e.label):p.default.createElement(m.Text,{type:"bold",color:(t||s)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},b=f.default.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -174,4 +174,4 @@
174
174
  .radio-group-item-heading {
175
175
  margin-top: 0;
176
176
  }
177
- `;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:l}=i.useTranslations(),d="marryBaby"==a;return p.default.createElement(S,{"data-is-marryBaby":d},d?p.default.createElement(c.MarryBabyHeading,{type:"h4",color:u.theme.mbColors.dark},l("tools.selectBabyGender")):p.default.createElement(o.Text,{size:"label2",weight:"bold",style:{marginBottom:"0.5rem"}},l("tools.selectBabyGender")),p.default.createElement(_,{siteType:a,options:[{value:s.Gender.Boy,label:l("gender.male"),content:d?p.default.createElement(o.Icon.BabyBoyMB,null):p.default.createElement(o.Icon.GenderChooseBoy,null)},{value:s.Gender.Girl,label:l("gender.female"),content:d?p.default.createElement(o.Icon.BabyGirlMB,null):p.default.createElement(o.Icon.GenderChooseGirl,null)}],value:e,onChange:t,className:"gender-selector"}))},exports.Drawer=({children:d,title:r,onClose:n,open:i=!1,placement:s="left",destroyOnClose:c=!1,isPropagationEvent:u=!0,className:m})=>{const h=e.useRef();e.useEffect((()=>(a.toggleNoScroll(i),()=>a.toggleNoScroll(!1))),[i]);const f=()=>{h.current.classList.add("slideOut"),setTimeout((()=>{n()}),800)};return!i&&c?null:p.default.createElement(t.Portal,null,p.default.createElement(l.StyledDrawer,{className:m,open:i},p.default.createElement(g,{open:i,onClickOutside:f}),p.default.createElement(l.StyledDrawerPanel,{open:i,placement:s,ref:h,hasTitle:Boolean(r)},p.default.createElement("div",{className:"title"},r&&p.default.createElement(o.Text,{size:"s2",weight:"semiBold"},r),p.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:f},p.default.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"}))),p.default.createElement(l.StyledDrawerContent,{onClick:e=>{u&&e.stopPropagation()}},d&&(p.default.isValidElement(d)?d:"function"==typeof d?d({internalClose:f}):null)))))},exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:o,children:n,className:i="",animationType:s="slideTop",isStaticBackdrop:c=!1,siteType:u})=>{const[m,h]=e.useState(!1),f=e.useRef(null),{width:g}=d.useScrollbarSize();if(!f.current&&m&&(f.current=document.createElement("div")),e.useEffect((()=>(h(!0),()=>{h(!1),B(),k()})),[]),e.useEffect((()=>{if(m){const e=(()=>{let e=document.getElementById(w);return e||(e=document.createElement("div"),e.setAttribute("id",w),document.body.append(e)),e})();return e.appendChild(f.current),()=>{e.removeChild(f.current)}}}),[m]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):B()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):k()}),[l,g]),!m)return null;const y=["hhg-modal__wrapper",i,s].filter((e=>e)).join(" ");return r.createPortal(p.default.createElement(C,{className:y,"data-open":l,"data-type":t},!c&&p.default.createElement(E,{"data-open":l,onClick:o,"data-type":t}),!c&&"video"===t&&!!a&&p.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),p.default.createElement(v,{className:"hhg-modal","data-open":l,"data-site-type":u},p.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&p.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),n))),f.current)},exports.RadioImageGroup=y;
177
+ `;exports.BabyGrowthGender=({value:e,onChange:t,siteType:a})=>{const{t:l}=i.useTranslations(),r="marryBaby"==a;return p.default.createElement(S,{"data-is-marryBaby":r},r?p.default.createElement(c.MarryBabyHeading,{type:"h4",color:u.theme.mbColors.dark},l("tools.selectBabyGender")):p.default.createElement(o.Text,{size:"label2",weight:"bold",style:{marginBottom:"0.5rem"}},l("tools.selectBabyGender")),p.default.createElement(_,{siteType:a,options:[{value:s.Gender.Boy,label:l("gender.male"),content:r?p.default.createElement(o.Icon.BabyBoyMB,null):p.default.createElement(o.Icon.GenderChooseBoy,null)},{value:s.Gender.Girl,label:l("gender.female"),content:r?p.default.createElement(o.Icon.BabyGirlMB,null):p.default.createElement(o.Icon.GenderChooseGirl,null)}],value:e,onChange:t,className:"gender-selector"}))},exports.Drawer=({children:r,title:d,onClose:n,open:i=!1,placement:s="left",destroyOnClose:c=!1,isPropagationEvent:u=!0,className:m})=>{const h=e.useRef();e.useEffect((()=>(a.toggleNoScroll(i),()=>a.toggleNoScroll(!1))),[i]);const f=()=>{h.current.classList.add("slideOut"),setTimeout((()=>{n()}),800)};return!i&&c?null:p.default.createElement(t.Portal,null,p.default.createElement(l.StyledDrawer,{className:m,open:i},p.default.createElement(g,{open:i,onClickOutside:f}),p.default.createElement(l.StyledDrawerPanel,{open:i,placement:s,ref:h,hasTitle:Boolean(d)},p.default.createElement("div",{className:"title"},d&&p.default.createElement(o.Text,{size:"s2",weight:"semiBold"},d),p.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"close-button",onClick:f},p.default.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"}))),p.default.createElement(l.StyledDrawerContent,{onClick:e=>{u&&e.stopPropagation()}},r&&(p.default.isValidElement(r)?r:"function"==typeof r?r({internalClose:f}):null)))))},exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:o,children:n,className:i="",animationType:s="slideTop",isStaticBackdrop:c=!1,siteType:u})=>{const[m,h]=e.useState(!1),f=e.useRef(null),{width:g}=r.useScrollbarSize();if(!f.current&&m&&(f.current=document.createElement("div")),e.useEffect((()=>(h(!0),()=>{h(!1),B(),k()})),[]),e.useEffect((()=>{if(m){const e=(()=>{let e=document.getElementById(w);return e||(e=document.createElement("div"),e.setAttribute("id",w),document.body.append(e)),e})();return e.appendChild(f.current),()=>{e.removeChild(f.current)}}}),[m]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):B()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):k()}),[l,g]),!m)return null;const y=["hhg-modal__wrapper",i,s].filter((e=>e)).join(" ");return d.createPortal(p.default.createElement(C,{className:y,"data-open":l,"data-type":t},!c&&p.default.createElement(E,{"data-open":l,onClick:o,"data-type":t}),!c&&"video"===t&&!!a&&p.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),p.default.createElement(v,{className:"hhg-modal","data-open":l,"data-site-type":u},p.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&p.default.createElement("div",{className:"hhg-modal__close",onClick:o},a),n))),f.current)},exports.RadioImageGroup=y;
@@ -1 +1 @@
1
- "use strict";var e=require("date-fns/locale"),o=require("./Onboarding-4c3f6890.js"),l=require("./isProduction-e530c1c3.js");const i={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"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const t={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="userGeoLocationCoordinates",s={"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"},E={"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"}},O={"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"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],r=["vi-VN"],h=["vi-VN","id-ID"],T=["vi-VN","id-ID"],p={"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 _;exports.QUERY_HEALTH_TOOL=void 0,(_=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",_.gender="gndr",_.age="ge",_.slug="slug",_.resultId="resultId",_.bmr="mr",_.height="gt",_.weight="wght",_.source="surc",_.type="tp",_.startDate="sd",_.additional="tnl",_.week="wk",_.twins="twn",_.weightBefore="wb",_.yourself="yrslf",_.intensity="sy",_.rate="rt",_.method="mthd",_.day="dy",_.pwg="pwg",_.cycle="le",_.period="prd",_.access_token="tkn",_.name="nm",_.id="id";const A={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},m="hhg_user_token",C={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var S=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,ECOM_LOCALES:r,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:p,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:A,BEARER_TOKEN_COOKIE:m,DATE_FNS_LOCALE:C,CDN_ADDRESS:L,GA_TOKEN_COOKIE:"_ga",siteHost:i,siteOptions:n,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:t,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=m,exports.CARE_BOOKING_LOCALES=T,exports.CARE_LOCALES=h,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=C,exports.ECOM_LOCALES=r,exports.FAVICONS=p,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=A,exports.LOCALE_SPECS=E,exports.RISK_SCREENER_SLUG=t,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=S,exports.siteHost=i,exports.siteOptions=n;
1
+ "use strict";var e=require("date-fns/locale"),o=require("./Onboarding-48739c1f.js"),l=require("./isProduction-f442c956.js");const i={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"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}};exports.RISK_SCREENER_NAME=void 0,(exports.RISK_SCREENER_NAME||(exports.RISK_SCREENER_NAME={})).HPV="hpv";const t={[o.LOCALE.Vietnam]:{[exports.RISK_SCREENER_NAME.HPV]:"hpv-vaccine"},[o.LOCALE.Indonesia]:{[exports.RISK_SCREENER_NAME.HPV]:"deteksi-dini-hpv"}},a="userGeoLocationCoordinates",s={"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"},E={"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"}},O={"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"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],r=["vi-VN"],h=["vi-VN","id-ID"],T=["vi-VN","id-ID"],p={"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 _;exports.QUERY_HEALTH_TOOL=void 0,(_=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",_.gender="gndr",_.age="ge",_.slug="slug",_.resultId="resultId",_.bmr="mr",_.height="gt",_.weight="wght",_.source="surc",_.type="tp",_.startDate="sd",_.additional="tnl",_.week="wk",_.twins="twn",_.weightBefore="wb",_.yourself="yrslf",_.intensity="sy",_.rate="rt",_.method="mthd",_.day="dy",_.pwg="pwg",_.cycle="le",_.period="prd",_.access_token="tkn",_.name="nm",_.id="id";const A={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},m="hhg_user_token",C={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var S=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,ECOM_LOCALES:r,CARE_LOCALES:h,CARE_BOOKING_LOCALES:T,FAVICONS:p,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:A,BEARER_TOKEN_COOKIE:m,DATE_FNS_LOCALE:C,CDN_ADDRESS:L,GA_TOKEN_COOKIE:"_ga",siteHost:i,siteOptions:n,get RISK_SCREENER_NAME(){return exports.RISK_SCREENER_NAME},RISK_SCREENER_SLUG:t,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=m,exports.CARE_BOOKING_LOCALES=T,exports.CARE_LOCALES=h,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=C,exports.ECOM_LOCALES=r,exports.FAVICONS=p,exports.GA_TOKEN_COOKIE="_ga",exports.ISO_FORMAT=A,exports.LOCALE_SPECS=E,exports.RISK_SCREENER_SLUG=t,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=S,exports.siteHost=i,exports.siteOptions=n;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-3737b9d7.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-868a3c7a.js"),require("styled-components");var s=require("./theme-aafce547.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-54b444c0.js"),require("./isProduction-f442c956.js"),require("./Onboarding-48739c1f.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};