@hhgtech/hhg-components 1.26.41 → 1.26.43-beta-1

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 (290) hide show
  1. package/build/babyGrowth.js +10 -10
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/mantine/indicator/index.d.ts +1 -1
  5. package/build/components/navigationV2/components/molecules/Categories/index.d.ts +1 -1
  6. package/build/components/navigationV2/types.d.ts +1 -0
  7. package/build/components.js +1 -1
  8. package/build/constants.js +1 -1
  9. package/build/{core-96e7bbec.js → core-4119c147.js} +1 -1
  10. package/build/{dataTransform-e6c36953.js → dataTransform-52ff67c2.js} +1 -1
  11. package/build/dataTransform-8d35cd1a.js +1 -0
  12. package/build/ecom.js +1 -1
  13. package/build/esm/babyGrowth.js +6 -6
  14. package/build/esm/cache.js +1 -1
  15. package/build/esm/care.js +1 -1
  16. package/build/esm/components.js +1 -1
  17. package/build/esm/constants.js +1 -1
  18. package/build/esm/{core-6cd3f02d.js → core-282121bd.js} +1 -1
  19. package/build/esm/dataTransform-b5928245.js +1 -0
  20. package/build/esm/{dataTransform-3e12d1c1.js → dataTransform-c3f0992d.js} +1 -1
  21. package/build/esm/ecom.js +1 -1
  22. package/build/esm/footer.js +1 -1
  23. package/build/esm/gAssets.js +1 -1
  24. package/build/esm/getDynamicHealthTool-9501de80.js +1 -0
  25. package/build/esm/{getSocialList-e76a4aff.js → getSocialList-8d8e221b.js} +1 -1
  26. package/build/esm/hooks.js +1 -1
  27. package/build/esm/i18n.js +1 -1
  28. package/build/esm/{index-aca9605a.js → index-19c1b78a.js} +1 -1
  29. package/build/esm/index-25614b04.js +134 -0
  30. package/build/esm/index-3dac3da6.js +1 -0
  31. package/build/esm/{index-1b088717.js → index-4268a81f.js} +1 -1
  32. package/build/esm/index-50361ca5.js +1 -0
  33. package/build/esm/index-576b89dc.js +1 -0
  34. package/build/esm/{index-877e8de0.js → index-59feec55.js} +1 -1
  35. package/build/esm/{index-c6d407eb.js → index-6552b705.js} +1 -1
  36. package/build/esm/index-70ae0a46.js +1 -0
  37. package/build/esm/{index-66c72add.js → index-73da2561.js} +1 -1
  38. package/build/esm/index-76d11ed0.js +1 -0
  39. package/build/esm/index-799f7e89.js +1 -0
  40. package/build/esm/index-7cb9317f.js +1 -0
  41. package/build/esm/{index-1cdc3d59.js → index-7d55af26.js} +1 -1
  42. package/build/esm/index-87507235.js +1 -0
  43. package/build/esm/{index-2db2a052.js → index-8a78586f.js} +2 -2
  44. package/build/esm/index-8a9fe240.js +1 -0
  45. package/build/esm/{index-73e2d0e1.js → index-c1cd71f4.js} +1 -1
  46. package/build/esm/{index-78180ded.js → index-cbe9f3a1.js} +1 -1
  47. package/build/esm/{index-02f955e5.js → index-de1cf354.js} +1 -1
  48. package/build/esm/{index-319972d7.js → index-dff6d903.js} +1 -1
  49. package/build/esm/{index-d0706f4e.js → index-e6b51b0f.js} +1 -1
  50. package/build/esm/index-f4581546.js +1 -0
  51. package/build/esm/{index-1cdf8e44.js → index-fa376378.js} +1 -1
  52. package/build/esm/index.js +1 -1
  53. package/build/esm/{index.styled-cff357a7.js → index.styled-0990e135.js} +6 -6
  54. package/build/esm/{index.styled-e56b4295.js → index.styled-0c591da6.js} +1 -1
  55. package/build/esm/{index.styled-fc0fb1c0.js → index.styled-428fab8c.js} +13 -13
  56. package/build/esm/{index.styled-48ee02cd.js → index.styled-c57c2561.js} +90 -90
  57. package/build/esm/{index.styled-5a9f0781.js → index.styled-f5fee10a.js} +1 -1
  58. package/build/esm/lead.js +1 -1
  59. package/build/esm/mantine.js +1 -1
  60. package/build/esm/misc.js +1 -1
  61. package/build/esm/navigation.js +1 -1
  62. package/build/esm/onboarding.js +1 -1
  63. package/build/esm/pwg.js +2 -2
  64. package/build/esm/{routing-3cc397a3.js → routing-7cbf724b.js} +1 -1
  65. package/build/esm/screenSizeContext-edd62e64.js +81 -0
  66. package/build/esm/together.js +1 -1
  67. package/build/esm/{translationsContext-7c576897.js → translationsContext-fa8fa939.js} +1 -1
  68. package/build/esm/translationsProvider-805f1e3f.js +1 -0
  69. package/build/esm/{types-fcc4475c.js → types-69c154b9.js} +2 -2
  70. package/build/esm/{types-f241a96f.js → types-fff5d7bd.js} +1 -1
  71. package/build/esm/types.js +1 -1
  72. package/build/esm/{useHealthToolCache-d33fcb36.js → useHealthToolCache-e3783b2e.js} +1 -1
  73. package/build/esm/{useRafState-1de5cbf7.js → useRafState-91055417.js} +1 -1
  74. package/build/esm/{useTranslations-3ad29f67.js → useTranslations-e6975aca.js} +1 -1
  75. package/build/esm/{utils-147d042b.js → utils-3f6e3115.js} +10 -10
  76. package/build/esm/vaccination.js +1 -1
  77. package/build/footer.js +1 -1
  78. package/build/gAssets.js +1 -1
  79. package/build/{getDynamicHealthTool-6826d846.js → getDynamicHealthTool-0c565c7a.js} +1 -1
  80. package/build/{getSocialList-1ddc9456.js → getSocialList-460a0029.js} +1 -1
  81. package/build/hooks.js +1 -1
  82. package/build/i18n.js +1 -1
  83. package/build/{index-e2b44f12.js → index-0d3dee9d.js} +1 -1
  84. package/build/index-0f661229.js +1 -0
  85. package/build/{index-e4d46569.js → index-1449b199.js} +1 -1
  86. package/build/{index-10433c37.js → index-1f4513e9.js} +1 -1
  87. package/build/{index-e31cdf05.js → index-2c81620f.js} +1 -1
  88. package/build/{index-57c7ece7.js → index-31d97b25.js} +1 -1
  89. package/build/index-38fb83ef.js +1 -0
  90. package/build/index-39fd23b3.js +134 -0
  91. package/build/index-472d1345.js +1 -0
  92. package/build/{index-ef68332f.js → index-50b136be.js} +1 -1
  93. package/build/{index-79ea228f.js → index-55b786a7.js} +1 -1
  94. package/build/{index-d9f6a1f8.js → index-5a800d2b.js} +3 -3
  95. package/build/{index-ba0145ae.js → index-61c385e2.js} +1 -1
  96. package/build/index-6849ae87.js +1 -0
  97. package/build/{index-312c4bcf.js → index-77d2a982.js} +1 -1
  98. package/build/{index-49a88e3f.js → index-8b36f6b1.js} +1 -1
  99. package/build/{index-e0aefcbf.js → index-94e8ee12.js} +1 -1
  100. package/build/{index-f368e2c1.js → index-9ec82884.js} +1 -1
  101. package/build/{index-fa1fc401.js → index-a5347f3e.js} +1 -1
  102. package/build/index-b55bd422.js +1 -0
  103. package/build/{index-c3bcaa61.js → index-d9b1c255.js} +1 -1
  104. package/build/index-ee03baeb.js +1 -0
  105. package/build/{index-809a3522.js → index-fe120488.js} +1 -1
  106. package/build/{index-a3e61607.js → index-ff19f366.js} +1 -1
  107. package/build/index.js +1 -1
  108. package/build/{index.styled-1779f33a.js → index.styled-60fe7c4a.js} +1 -1
  109. package/build/{index.styled-06a42d2b.js → index.styled-65ff1d0d.js} +2 -2
  110. package/build/{index.styled-3c6d9cbc.js → index.styled-a95ff10f.js} +1 -1
  111. package/build/{index.styled-6f933d08.js → index.styled-becd2f54.js} +13 -13
  112. package/build/index.styled-f55bb4d6.js +50 -0
  113. package/build/interfaces/constants/index.d.ts +1 -0
  114. package/build/lead.js +1 -1
  115. package/build/mantine.js +1 -1
  116. package/build/misc/index.d.ts +0 -1
  117. package/build/misc.js +1 -1
  118. package/build/navigation.js +1 -1
  119. package/build/onboarding.js +1 -1
  120. package/build/pwg.js +2 -2
  121. package/build/{routing-32262cab.js → routing-c445b412.js} +1 -1
  122. package/build/screenSizeContext-ceb5cbb9.js +81 -0
  123. package/build/together.js +1 -1
  124. package/build/{translationsContext-00d3654d.js → translationsContext-82addc0e.js} +1 -1
  125. package/build/translationsProvider-ec4fadcf.js +1 -0
  126. package/build/{types-bf710e8c.js → types-1312376f.js} +20 -20
  127. package/build/{types-6e043783.js → types-a2db7f1f.js} +1 -1
  128. package/build/types.js +1 -1
  129. package/build/useHealthToolCache-fd22b0e4.js +1 -0
  130. package/build/{useRafState-ee0d325f.js → useRafState-c5510500.js} +1 -1
  131. package/build/useTranslations-e8955cf3.js +1 -0
  132. package/build/{utils-bee2bd58.js → utils-9390e88b.js} +3 -3
  133. package/build/vaccination.js +1 -1
  134. package/package.json +1 -1
  135. package/build/esm/getDynamicHealthTool-1dda0eb3.js +0 -1
  136. package/build/esm/index-08ded9ed.js +0 -135
  137. package/build/esm/index-0a1f05c9.js +0 -1
  138. package/build/esm/index-116ea0b9.js +0 -1
  139. package/build/esm/index-247850ca.js +0 -1
  140. package/build/esm/index-31476519.js +0 -1
  141. package/build/esm/index-4cffdd97.js +0 -1
  142. package/build/esm/index-5fabaa32.js +0 -1
  143. package/build/esm/index-830d5b24.js +0 -1
  144. package/build/esm/index-9f60cc0b.js +0 -1
  145. package/build/esm/index-9ff0ec13.js +0 -1
  146. package/build/esm/index-d1b82b6f.js +0 -1
  147. package/build/esm/instance-885b8d2c.js +0 -87
  148. package/build/esm/translationsProvider-dfc8b1e6.js +0 -1
  149. package/build/index-0a554fca.js +0 -1
  150. package/build/index-23e7f15a.js +0 -1
  151. package/build/index-285514c0.js +0 -135
  152. package/build/index-338743df.js +0 -1
  153. package/build/index-4bbb8bb6.js +0 -1
  154. package/build/index-c12d3bba.js +0 -1
  155. package/build/index-fbbd48fe.js +0 -1
  156. package/build/index.styled-ff457d4e.js +0 -50
  157. package/build/instance-3600fcf0.js +0 -87
  158. package/build/translationsProvider-15d23b6b.js +0 -1
  159. package/build/useHealthToolCache-d76c4dee.js +0 -1
  160. package/build/useTranslations-b8b77179.js +0 -1
  161. /package/build/{BMI_BOYS.percentile.monthly-a3bf7f42.js → BMI_BOYS.percentile.monthly-d6898979.js} +0 -0
  162. /package/build/{BMI_BOYS.percentile.weekly-55cf70c2.js → BMI_BOYS.percentile.weekly-2d8b40eb.js} +0 -0
  163. /package/build/{BMI_BOYS.percentile.yearly-87111456.js → BMI_BOYS.percentile.yearly-683b69a1.js} +0 -0
  164. /package/build/{BMI_BOYS.zscore.monthly-21132c6a.js → BMI_BOYS.zscore.monthly-8a82be23.js} +0 -0
  165. /package/build/{BMI_BOYS.zscore.weekly-2f521161.js → BMI_BOYS.zscore.weekly-08eb9384.js} +0 -0
  166. /package/build/{BMI_BOYS.zscore.yearly-c2e58fb9.js → BMI_BOYS.zscore.yearly-068bb072.js} +0 -0
  167. /package/build/{BMI_GIRLS.percentile.monthly-61442953.js → BMI_GIRLS.percentile.monthly-1501a3c7.js} +0 -0
  168. /package/build/{BMI_GIRLS.percentile.weekly-12ae7db3.js → BMI_GIRLS.percentile.weekly-786cab2a.js} +0 -0
  169. /package/build/{BMI_GIRLS.percentile.yearly-138ec7ba.js → BMI_GIRLS.percentile.yearly-3262e79d.js} +0 -0
  170. /package/build/{BMI_GIRLS.zscore.monthly-198af1d0.js → BMI_GIRLS.zscore.monthly-346852a8.js} +0 -0
  171. /package/build/{BMI_GIRLS.zscore.weekly-a18249c8.js → BMI_GIRLS.zscore.weekly-a2638944.js} +0 -0
  172. /package/build/{BMI_GIRLS.zscore.yearly-f2b12191.js → BMI_GIRLS.zscore.yearly-fee448dc.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-ac34e5a3.js → HEAD CIRCUM_BOYS.percentile.monthly-e314f60d.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-05e0f091.js → HEAD CIRCUM_BOYS.percentile.weekly-cc4b888b.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-fd2cc5a2.js → HEAD CIRCUM_BOYS.percentile.yearly-0a7943ac.js} +0 -0
  176. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-dd782b4d.js → HEAD CIRCUM_BOYS.zscore.monthly-123be6cd.js} +0 -0
  177. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-7696c545.js → HEAD CIRCUM_BOYS.zscore.weekly-0bc75f60.js} +0 -0
  178. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9c5bf6aa.js → HEAD CIRCUM_BOYS.zscore.yearly-fcae1c9f.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-28212393.js → HEAD CIRCUM_GIRLS.percentile.monthly-bda63eaf.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-df394596.js → HEAD CIRCUM_GIRLS.percentile.weekly-30d02266.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-3f6767be.js → HEAD CIRCUM_GIRLS.percentile.yearly-8faecad3.js} +0 -0
  182. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6b127eb1.js → HEAD CIRCUM_GIRLS.zscore.monthly-67f49b02.js} +0 -0
  183. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-21dbe3d1.js → HEAD CIRCUM_GIRLS.zscore.weekly-44b2244a.js} +0 -0
  184. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-8a214cc5.js → HEAD CIRCUM_GIRLS.zscore.yearly-33f4ba10.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.percentile.monthly-5089074b.js → HEIGHT_BOYS.percentile.monthly-495c636e.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.percentile.weekly-63b7eab4.js → HEIGHT_BOYS.percentile.weekly-1900b147.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.percentile.yearly-f19047df.js → HEIGHT_BOYS.percentile.yearly-13cdf147.js} +0 -0
  188. /package/build/{HEIGHT_BOYS.zscore.monthly-03fbc16f.js → HEIGHT_BOYS.zscore.monthly-298d7c21.js} +0 -0
  189. /package/build/{HEIGHT_BOYS.zscore.weekly-4d6abf7f.js → HEIGHT_BOYS.zscore.weekly-4d23a804.js} +0 -0
  190. /package/build/{HEIGHT_BOYS.zscore.yearly-ebf1ca18.js → HEIGHT_BOYS.zscore.yearly-2289144d.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.percentile.monthly-cf3e4f5b.js → HEIGHT_GIRLS.percentile.monthly-b13df0f0.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.percentile.weekly-c9461cf3.js → HEIGHT_GIRLS.percentile.weekly-9aac0514.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.percentile.yearly-1f33c34f.js → HEIGHT_GIRLS.percentile.yearly-e49349c2.js} +0 -0
  194. /package/build/{HEIGHT_GIRLS.zscore.monthly-15cdbe3f.js → HEIGHT_GIRLS.zscore.monthly-a333d47d.js} +0 -0
  195. /package/build/{HEIGHT_GIRLS.zscore.weekly-dcd4a8a5.js → HEIGHT_GIRLS.zscore.weekly-d51bd051.js} +0 -0
  196. /package/build/{HEIGHT_GIRLS.zscore.yearly-b12f529d.js → HEIGHT_GIRLS.zscore.yearly-d445ec6f.js} +0 -0
  197. /package/build/{Onboarding-ae900f25.js → Onboarding-5e2a5f9d.js} +0 -0
  198. /package/build/{Visible-e080a0ae.js → Visible-3a36f35b.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.percentile.monthly-0e0d3fe7.js → WEIGHT_BOYS.percentile.monthly-d01e2708.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.percentile.weekly-c2872cf5.js → WEIGHT_BOYS.percentile.weekly-2db7cd8e.js} +0 -0
  201. /package/build/{WEIGHT_BOYS.percentile.yearly-8a25f657.js → WEIGHT_BOYS.percentile.yearly-48fda2c1.js} +0 -0
  202. /package/build/{WEIGHT_BOYS.zscore.monthly-36e2cd09.js → WEIGHT_BOYS.zscore.monthly-68ce4506.js} +0 -0
  203. /package/build/{WEIGHT_BOYS.zscore.weekly-2df1520b.js → WEIGHT_BOYS.zscore.weekly-3282570f.js} +0 -0
  204. /package/build/{WEIGHT_BOYS.zscore.yearly-8f305462.js → WEIGHT_BOYS.zscore.yearly-0daf707e.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.percentile.monthly-e57d215b.js → WEIGHT_GIRLS.percentile.monthly-1a5e91c9.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.percentile.weekly-473c1406.js → WEIGHT_GIRLS.percentile.weekly-14dcaad3.js} +0 -0
  207. /package/build/{WEIGHT_GIRLS.percentile.yearly-40b24e05.js → WEIGHT_GIRLS.percentile.yearly-aa29bcb9.js} +0 -0
  208. /package/build/{WEIGHT_GIRLS.zscore.monthly-cb092b0a.js → WEIGHT_GIRLS.zscore.monthly-fc4a6e8f.js} +0 -0
  209. /package/build/{WEIGHT_GIRLS.zscore.weekly-52b616b0.js → WEIGHT_GIRLS.zscore.weekly-97e4c9f9.js} +0 -0
  210. /package/build/{WEIGHT_GIRLS.zscore.yearly-fb28804a.js → WEIGHT_GIRLS.zscore.yearly-27d29247.js} +0 -0
  211. /package/build/{constants-23e9c484.js → constants-f1f800bc.js} +0 -0
  212. /package/build/{cookieHelper-682c3451.js → cookieHelper-0f174722.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.percentile.monthly-3b654734.js → BMI_BOYS.percentile.monthly-28f6a7c0.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.percentile.weekly-4158785f.js → BMI_BOYS.percentile.weekly-5e737491.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.percentile.yearly-200e1873.js → BMI_BOYS.percentile.yearly-28e0594d.js} +0 -0
  216. /package/build/esm/{BMI_BOYS.zscore.monthly-2c5bdb78.js → BMI_BOYS.zscore.monthly-a08359a9.js} +0 -0
  217. /package/build/esm/{BMI_BOYS.zscore.weekly-2c2e67a3.js → BMI_BOYS.zscore.weekly-a79a5cc7.js} +0 -0
  218. /package/build/esm/{BMI_BOYS.zscore.yearly-0f3b3c7d.js → BMI_BOYS.zscore.yearly-773da1c7.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.percentile.monthly-0c6a3ef4.js → BMI_GIRLS.percentile.monthly-a8e09184.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.percentile.weekly-875816e9.js → BMI_GIRLS.percentile.weekly-8a57f88c.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.percentile.yearly-1349be39.js → BMI_GIRLS.percentile.yearly-39bf140b.js} +0 -0
  222. /package/build/esm/{BMI_GIRLS.zscore.monthly-c9ba6b21.js → BMI_GIRLS.zscore.monthly-2ce1ad64.js} +0 -0
  223. /package/build/esm/{BMI_GIRLS.zscore.weekly-f36249b0.js → BMI_GIRLS.zscore.weekly-8756dfc2.js} +0 -0
  224. /package/build/esm/{BMI_GIRLS.zscore.yearly-ee496d76.js → BMI_GIRLS.zscore.yearly-a8a6f8fa.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c52c729b.js → HEAD CIRCUM_BOYS.percentile.monthly-7993ae3e.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-dc3bf2d4.js → HEAD CIRCUM_BOYS.percentile.weekly-615b8336.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a2651b99.js → HEAD CIRCUM_BOYS.percentile.yearly-2fcb70b5.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-f1b8e308.js → HEAD CIRCUM_BOYS.zscore.monthly-4b213ab7.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c38a4636.js → HEAD CIRCUM_BOYS.zscore.weekly-d392d895.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-638bd7c6.js → HEAD CIRCUM_BOYS.zscore.yearly-dbb1dcad.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-866acbd2.js → HEAD CIRCUM_GIRLS.percentile.monthly-21707329.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-183e2a95.js → HEAD CIRCUM_GIRLS.percentile.weekly-990e25a1.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-cd51d22b.js → HEAD CIRCUM_GIRLS.percentile.yearly-563d800c.js} +0 -0
  234. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-decf558d.js → HEAD CIRCUM_GIRLS.zscore.monthly-b5193656.js} +0 -0
  235. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6042225c.js → HEAD CIRCUM_GIRLS.zscore.weekly-9a9ed36f.js} +0 -0
  236. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-9e38e352.js → HEAD CIRCUM_GIRLS.zscore.yearly-cda5c3d9.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f495e587.js → HEIGHT_BOYS.percentile.monthly-28e95e18.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-ff6de9b5.js → HEIGHT_BOYS.percentile.weekly-d507f42e.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-28944e9f.js → HEIGHT_BOYS.percentile.yearly-911d61e5.js} +0 -0
  240. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-3989e6b5.js → HEIGHT_BOYS.zscore.monthly-9a2188cb.js} +0 -0
  241. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4e0f04df.js → HEIGHT_BOYS.zscore.weekly-874ed6ce.js} +0 -0
  242. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f2282ddd.js → HEIGHT_BOYS.zscore.yearly-da4aa5c6.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-2efec022.js → HEIGHT_GIRLS.percentile.monthly-e92f8420.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d7cbe90a.js → HEIGHT_GIRLS.percentile.weekly-ae377823.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-5e40a0cf.js → HEIGHT_GIRLS.percentile.yearly-0cccc7f7.js} +0 -0
  246. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-f73eea19.js → HEIGHT_GIRLS.zscore.monthly-452c8ad5.js} +0 -0
  247. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-d71c6e8c.js → HEIGHT_GIRLS.zscore.weekly-6c02d41c.js} +0 -0
  248. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b5d7b69e.js → HEIGHT_GIRLS.zscore.yearly-66534825.js} +0 -0
  249. /package/build/esm/{Onboarding-085d9719.js → Onboarding-74ee841d.js} +0 -0
  250. /package/build/esm/{Visible-ccb659e5.js → Visible-ce10187f.js} +0 -0
  251. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5b55bbd3.js → WEIGHT_BOYS.percentile.monthly-f1e11e42.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d2e616d8.js → WEIGHT_BOYS.percentile.weekly-0fe03e69.js} +0 -0
  253. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b45d8892.js → WEIGHT_BOYS.percentile.yearly-0fd11f8b.js} +0 -0
  254. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-108cab40.js → WEIGHT_BOYS.zscore.monthly-c0881904.js} +0 -0
  255. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-32005ecd.js → WEIGHT_BOYS.zscore.weekly-b3fee2c0.js} +0 -0
  256. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-facae8cd.js → WEIGHT_BOYS.zscore.yearly-99b381a4.js} +0 -0
  257. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-6ce5f223.js → WEIGHT_GIRLS.percentile.monthly-021131aa.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-72e432aa.js → WEIGHT_GIRLS.percentile.weekly-7b49c949.js} +0 -0
  259. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-a94f799e.js → WEIGHT_GIRLS.percentile.yearly-782864de.js} +0 -0
  260. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-257926ae.js → WEIGHT_GIRLS.zscore.monthly-61077e1c.js} +0 -0
  261. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-a533e5ff.js → WEIGHT_GIRLS.zscore.weekly-5fa37b00.js} +0 -0
  262. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-4f6e7b97.js → WEIGHT_GIRLS.zscore.yearly-c93a29b4.js} +0 -0
  263. /package/build/esm/{constants-f3643007.js → constants-64189e91.js} +0 -0
  264. /package/build/esm/{cookieHelper-430ca136.js → cookieHelper-e08d8cce.js} +0 -0
  265. /package/build/esm/{index-baf83755.js → index-a4672143.js} +0 -0
  266. /package/build/esm/{index-d8367ea0.js → index-ec010dec.js} +0 -0
  267. /package/build/esm/{isProduction-29278aa2.js → isProduction-6734c5ba.js} +0 -0
  268. /package/build/esm/{localizeNumberFormat-f28a335f.js → localizeNumberFormat-3ca825ca.js} +0 -0
  269. /package/build/esm/{normalizeLink-2932629d.js → normalizeLink-b0aaa00e.js} +0 -0
  270. /package/build/esm/{theme-b7db920f.js → theme-ab242008.js} +0 -0
  271. /package/build/esm/{tslib.es6-bff98161.js → tslib.es6-91a9fe0a.js} +0 -0
  272. /package/build/esm/{types-afd1f75c.js → types-15b244ab.js} +0 -0
  273. /package/build/esm/{useIsInit-7b9d340b.js → useIsInit-81a4bc80.js} +0 -0
  274. /package/build/esm/{useOutsideClick-08ea060e.js → useOutsideClick-282d75e5.js} +0 -0
  275. /package/build/esm/{useScrollbarSize-6f84971c.js → useScrollbarSize-a8df8cc3.js} +0 -0
  276. /package/build/esm/{useUniqueId-e8b6b5d9.js → useUniqueId-d3090751.js} +0 -0
  277. /package/build/esm/{utils-edcca0f5.js → utils-6a9361da.js} +0 -0
  278. /package/build/{index-2b3b4b55.js → index-2addcd8c.js} +0 -0
  279. /package/build/{index-365d1cc0.js → index-d0ad1064.js} +0 -0
  280. /package/build/{isProduction-cd6ee1ed.js → isProduction-3e4af256.js} +0 -0
  281. /package/build/{localizeNumberFormat-9e97cf4a.js → localizeNumberFormat-08e7a701.js} +0 -0
  282. /package/build/{normalizeLink-1a0350c5.js → normalizeLink-45e100a4.js} +0 -0
  283. /package/build/{theme-1b038cf8.js → theme-6f7e3e49.js} +0 -0
  284. /package/build/{tslib.es6-06de5032.js → tslib.es6-4f66ce5c.js} +0 -0
  285. /package/build/{types-a8d679da.js → types-b5dcfa43.js} +0 -0
  286. /package/build/{useIsInit-78d3b42d.js → useIsInit-34530254.js} +0 -0
  287. /package/build/{useOutsideClick-0d6aa027.js → useOutsideClick-b49ffa60.js} +0 -0
  288. /package/build/{useScrollbarSize-025355f9.js → useScrollbarSize-78fda19a.js} +0 -0
  289. /package/build/{useUniqueId-55a88b40.js → useUniqueId-bee8683d.js} +0 -0
  290. /package/build/{utils-10ae5de1.js → utils-d5a6e9cd.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{a as e,_ as t}from"./tslib.es6-bff98161.js";import*as a from"react";import o,{createContext as n,useContext as i,useState as l,useRef as r,useEffect as s,useMemo as c,useCallback as d}from"react";import{useMantineTheme as m,createStyles as p,Flex as u,Checkbox as g,Portal as h,Anchor as v,Accordion as f,Popover as b}from"@mantine/core";import{a as y}from"./index.styled-fc0fb1c0.js";import{u as w}from"./useTranslations-3ad29f67.js";import x from"innertext";import{t as E}from"./theme-b7db920f.js";import{H as C,O as k,aa as N,a5 as A,D as L,af as T,$ as P,C as I,ac as S}from"./index.styled-e56b4295.js";import{CommonGAssets as M}from"./gAssets.js";import"@mantine/dates";import{d as z}from"./index-1b088717.js";import"./Onboarding-085d9719.js";import{f as j,A as F}from"./index-08ded9ed.js";import{B}from"./index-4cffdd97.js";import O from"dayjs";import"./instance-885b8d2c.js";import R,{keyframes as V,css as D}from"styled-components";import{M as U,t as W,c as Z,a as H}from"./utils-edcca0f5.js";import"./isProduction-29278aa2.js";import"./index-66c72add.js";import"@mantine/hooks";import{T as q,au as _,av as G,aw as Q,ax as X,ay as K,az as $,aA as Y,U as J,aB as ee,aC as te,aD as ae,aE as oe,aF as ne,aG as ie,aH as le,aI as re,aJ as se,aK as ce,aL as de,aM as me,aN as pe,aO as ue,aP as ge}from"./index.styled-48ee02cd.js";import{I as he,A as ve,B as fe,T as be,D as ye}from"./index-d1b82b6f.js";import{e as we,c as xe,P as Ee,g as Ce,b as ke,h as Ne,i as Ae}from"./dataTransform-3e12d1c1.js";import{T as Le}from"./index-02f955e5.js";import{I as Te}from"./index-c6d407eb.js";import Pe from"lodash/debounce";import Ie from"react-contenteditable";import{I as Se,C as Me,a as ze}from"./index-d0706f4e.js";import{B as je}from"./index-319972d7.js";import{d as Fe,g as Be}from"./cookieHelper-430ca136.js";import*as Oe from"react-dom";import"./index-73e2d0e1.js";import"./index-78180ded.js";import"./index.styled-5a9f0781.js";import"./index-baf83755.js";import"date-fns";import"react-day-picker/DayPickerInput";import"./index-2db2a052.js";import"lodash/throttle";import"keen-slider/react";import"./types-afd1f75c.js";import"react-hook-form";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./index.styled-cff357a7.js";import"string-format";import Re from"dayjs/plugin/relativeTime";import{M as Ve}from"./index-0a1f05c9.js";import{a as De}from"./useUniqueId-e8b6b5d9.js";import"./translationsContext-7c576897.js";import{g as Ue}from"./routing-3cc397a3.js";const We=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),Ze=n({}),He=({children:e,defaultParams:t})=>o.createElement(Ze.Provider,{value:{defaultParams:t}},e),qe=e=>{const{data:{userInfo:t,env:{togetherBasePath:a}}}=i(q),{defaultParams:o}=i(Ze)||{},n=null==t?void 0:t.id,l=t&&"number"==typeof t.communities_interacted&&0===t.communities_interacted;return{authActionWrapper:(t,i)=>{const r=Object.assign(Object.assign(Object.assign({},o),e),i);if(!n||l){n||Fe(_),(null==r?void 0:r._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(r._joinCommunityIds).filter(Boolean))))),null==r||delete r._joinCommunityIds),(null==r?void 0:r._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(r._joinTopicIds).filter(Boolean))))),null==r||delete r._joinTopicIds);const e=(null==r?void 0:r._location)||window.location.href;return null==r||delete r._location,window.location.href=G(e,r,a),null}return t&&t()},params:Object.assign(Object.assign({},o),e)}},_e=R.div`
1
+ import{a as e,_ as t}from"./tslib.es6-91a9fe0a.js";import*as a from"react";import o,{createContext as n,useContext as i,useState as l,useRef as r,useEffect as s,useMemo as c,useCallback as d}from"react";import{useMantineTheme as m,createStyles as p,Flex as u,Checkbox as g,Portal as h,Anchor as v,Accordion as f,Popover as b}from"@mantine/core";import{a as y}from"./index.styled-428fab8c.js";import{u as w}from"./useTranslations-e6975aca.js";import x from"innertext";import{t as E}from"./theme-ab242008.js";import{H as C,O as k,aa as N,a5 as A,D as L,af as T,$ as P,C as I,ac as S}from"./index.styled-0c591da6.js";import{CommonGAssets as M}from"./gAssets.js";import"@mantine/dates";import{d as z}from"./index-4268a81f.js";import"./Onboarding-74ee841d.js";import{f as j,A as F}from"./index-25614b04.js";import{B}from"./index-7cb9317f.js";import O from"dayjs";import"./screenSizeContext-edd62e64.js";import R,{keyframes as V,css as D}from"styled-components";import{M as U,t as W,c as Z,a as H}from"./utils-6a9361da.js";import"./isProduction-6734c5ba.js";import"./index-73da2561.js";import"@mantine/hooks";import{T as q,au as _,av as G,aw as Q,ax as X,ay as K,az as $,aA as Y,U as J,aB as ee,aC as te,aD as ae,aE as oe,aF as ne,aG as ie,aH as le,aI as re,aJ as se,aK as ce,aL as de,aM as me,aN as pe,aO as ue,aP as ge}from"./index.styled-c57c2561.js";import{I as he,A as ve,B as fe,T as be,D as ye}from"./index-576b89dc.js";import{e as we,c as xe,P as Ee,g as Ce,b as ke,h as Ne,i as Ae}from"./dataTransform-c3f0992d.js";import{T as Le}from"./index-de1cf354.js";import{I as Te}from"./index-6552b705.js";import Pe from"lodash/debounce";import Ie from"react-contenteditable";import{I as Se,C as Me,a as ze}from"./index-e6b51b0f.js";import{B as je}from"./index-dff6d903.js";import{d as Fe,g as Be}from"./cookieHelper-e08d8cce.js";import*as Oe from"react-dom";import"./index-c1cd71f4.js";import"./index-cbe9f3a1.js";import"./index.styled-f5fee10a.js";import"./index-a4672143.js";import"date-fns";import"react-day-picker/DayPickerInput";import"./index-8a78586f.js";import"lodash/throttle";import"keen-slider/react";import"./types-15b244ab.js";import"react-hook-form";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./index.styled-0990e135.js";import"string-format";import Re from"dayjs/plugin/relativeTime";import{M as Ve}from"./index-8a9fe240.js";import{a as De}from"./useUniqueId-d3090751.js";import"./translationsContext-fa8fa939.js";import{g as Ue}from"./routing-7cbf724b.js";const We=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),Ze=n({}),He=({children:e,defaultParams:t})=>o.createElement(Ze.Provider,{value:{defaultParams:t}},e),qe=e=>{const{data:{userInfo:t,env:{togetherBasePath:a}}}=i(q),{defaultParams:o}=i(Ze)||{},n=null==t?void 0:t.id,l=t&&"number"==typeof t.communities_interacted&&0===t.communities_interacted;return{authActionWrapper:(t,i)=>{const r=Object.assign(Object.assign(Object.assign({},o),e),i);if(!n||l){n||Fe(_),(null==r?void 0:r._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(r._joinCommunityIds).filter(Boolean))))),null==r||delete r._joinCommunityIds),(null==r?void 0:r._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(r._joinTopicIds).filter(Boolean))))),null==r||delete r._joinTopicIds);const e=(null==r?void 0:r._location)||window.location.href;return null==r||delete r._location,window.location.href=G(e,r,a),null}return t&&t()},params:Object.assign(Object.assign({},o),e)}},_e=R.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -2877,7 +2877,7 @@ import{a as e,_ as t}from"./tslib.es6-bff98161.js";import*as a from"react";impor
2877
2877
  &:first-child {
2878
2878
  border-top: 0;
2879
2879
  }
2880
- `,mi=R.div``,pi=({postTitle:e,articleReviewed:t,modifiedTime:a,href:n})=>{const{t:i}=w(),l=(()=>{const{expert:e,editor:a,is_author:o}=t;if(e){const t={name:e.display_name,role:"expert",avatar:e.avatar};return o?Object.assign({title:i("articleAuthor.title.written-by")},t):"expert"===e.role?Object.assign({title:i("articleAuthor.title.expert")},t):Object.assign({title:i("articleAuthor.title.medical")},t)}if(a)return{title:i("articleAuthor.title.fact-check"),name:a.display_name,avatar:a.avatar}})();return o.createElement(di,{href:n,title:e,target:"_blank"},o.createElement(Le,{size:"s3",as:"h5",type:"bold"},e),o.createElement(mi,null,o.createElement(sa,{avatar:null==l?void 0:l.avatar,avatarProps:{size:32},name:null==l?void 0:l.name,role:null==l?void 0:l.role,hideBackground:!0},o.createElement(sa.SubTextRow,null,o.createElement(sa.SubText,null,null==l?void 0:l.title," ",o.createElement("span",{style:{color:E.colors.gray800}},null==l?void 0:l.name)),o.createElement(sa.SubDivider,null),o.createElement(sa.SubText,null,a)))))};var ui="F4mmgSy",gi="A7QrQ7A";const hi=a=>{var{listUrl:n,categorySlug:i,editMode:r,onListChange:c,isMarryBaby:d}=a,m=t(a,["listUrl","categorySlug","editMode","onListChange","isMarryBaby"]);const{t:p}=w(),[u,g]=l(n||[]),[h,v]=l([]),[b,y]=l([]),[x,k]=l(!1);s((()=>{e(void 0,void 0,void 0,(function*(){k(!0);const e=u.map((e=>{const t=new URL(e),a=String(t.pathname).split("/").filter((e=>""!=e));return{isMarrySite:-1!==t.origin.search("marrybaby.vn"),path:a[a.length-1],href:e}})),t=[...e.map((e=>Q(e.isMarrySite?ue(le.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0):ie(le.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0),"GET")))],a=yield Promise.all(t);v(a.map(((t,a)=>{var o,n;return(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.post)&&Object.assign(Object.assign({},Ne(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.post)),{href:e[a].href})})).filter(Boolean)),k(!1)}))}),[]),s((()=>{0===(null==h?void 0:h.length)&&i&&e(void 0,void 0,void 0,(function*(){var e;const t=yield Q(d?ue(le.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:i},!0):ie(le.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:i},!0),"GET");(null==t?void 0:t.data)&&y([Ae(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.category)])}))}),[h]);return s((()=>{null==c||c(u)}),[u]),o.createElement("div",Object.assign({},m),!r&&o.createElement(Jn,null,o.createElement("img",{className:"icon",src:M.getAssetPath("warning.svg"),alt:"warning",style:{marginBottom:"3px",width:"18px"}}),o.createElement(Le,{size:"s3",as:"span",dangerouslySetInnerHTML:{__html:p("cardReply.disclaimer")}})),x?o.createElement(Qe,null):h.length>0||r?o.createElement(Yn,null,o.createElement(f,{defaultValue:"accordion",styles:{control:{padding:"16px",border:`1px solid ${E.colors.neutral100}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${E.colors.neutral100}`,borderTop:0,borderBottom:0},item:{marginBottom:"16px"}},chevron:o.createElement("div",{className:gi},o.createElement(vn,{color:E.colors.gray600,size:20}))},o.createElement(f.Item,{value:"accordion"},o.createElement(f.Control,null,o.createElement("div",{className:ui},o.createElement(C,{as:"h4",tag:"h6"},p("cardReply.source")))),o.createElement(f.Panel,null,o.createElement(ti,null,(h||[]).map(((e,t)=>o.createElement(ei,{key:String(t)},"object"==typeof e?o.createElement(pi,Object.assign({},e)):o.createElement(ai,null,o.createElement(Te,{style:{width:"100%"},name:"source-list",value:e||"",size:"sm",onChange:e=>{g((a=>{const o=[...a];return o[t]=e,o})),v((a=>{const o=[...a];return o[t]=e,o}))}})),r&&o.createElement(je,{size:"md",color:"transparent",icon:o.createElement(Se.Trash,null),onClick:()=>(e=>{g((t=>{const a=[...t];return a.splice(e,1),a})),v((t=>{const a=[...t];return a.splice(e,1),a}))})(t)})))),r&&o.createElement(je,{className:"add-link",color:"transparent",size:"md",icon:o.createElement(Se.Plus,{color:E.colors.primaryBase,size:18}),onClick:()=>{g((e=>[...e,""])),v((e=>[...e,""]))}},"Add source")))))):o.createElement(ci,{categories:b}))},vi=R.div`
2880
+ `,mi=R.div``,pi=({postTitle:e,articleReviewed:t,modifiedTime:a,href:n})=>{const{t:i}=w(),l=(()=>{const{expert:e,editor:a,is_author:o}=t;if(e){const t={name:e.display_name,role:"expert",avatar:e.avatar};return o?Object.assign({title:i("articleAuthor.title.written-by")},t):"expert"===e.role?Object.assign({title:i("articleAuthor.title.expert")},t):Object.assign({title:i("articleAuthor.title.medical")},t)}if(a)return{title:i("articleAuthor.title.fact-check"),name:a.display_name,avatar:a.avatar}})();return o.createElement(di,{href:n,title:e,target:"_blank"},o.createElement(Le,{size:"s3",as:"h5",type:"bold"},e),o.createElement(mi,null,o.createElement(sa,{avatar:null==l?void 0:l.avatar,avatarProps:{size:32},name:null==l?void 0:l.name,role:null==l?void 0:l.role,hideBackground:!0},o.createElement(sa.SubTextRow,null,o.createElement(sa.SubText,null,null==l?void 0:l.title," ",o.createElement("span",{style:{color:E.colors.gray800}},null==l?void 0:l.name)),o.createElement(sa.SubDivider,null),o.createElement(sa.SubText,null,a)))))};var ui="F4mmgSy",gi="A7QrQ7A";const hi=a=>{var{listUrl:n,categorySlug:i,editMode:r,onListChange:c,isMarryBaby:d}=a,m=t(a,["listUrl","categorySlug","editMode","onListChange","isMarryBaby"]);const{t:p}=w(),[u,g]=l(n||[]),[h,v]=l([]),[b,y]=l([]),[x,k]=l(!1);s((()=>{e(void 0,void 0,void 0,(function*(){k(!0);const e=u.map((e=>{const t=new URL(e),a=String(t.pathname).split("/").filter((e=>""!=e));return{isMarrySite:-1!==t.origin.search("marrybaby.vn"),path:a[a.length-1],href:e}})),t=[...e.map((e=>Q(e.isMarrySite?ue(le.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0):ie(le.GET_PREVIEW_ARTICLE,{fullSlug:e.path},!0),"GET")))],a=yield Promise.all(t);v(a.map(((t,a)=>{var o,n;return(null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.post)&&Object.assign(Object.assign({},Ne(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.post)),{href:e[a].href})})).filter(Boolean)),k(!1)}))}),[]),s((()=>{0===(null==h?void 0:h.length)&&i&&e(void 0,void 0,void 0,(function*(){var e;const t=yield Q(d?ue(le.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:i},!0):ie(le.GET_CATEGORY_OR_ARTICLE_DETAIL,{fullSlug:i},!0),"GET");(null==t?void 0:t.data)&&y([Ae(null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.category)])}))}),[h]);return s((()=>{null==c||c(u)}),[u]),o.createElement("div",Object.assign({},m),!r&&o.createElement(Jn,null,o.createElement("img",{className:"icon",src:M.getAssetPath("warning.svg"),alt:"warning",style:{marginBottom:"3px",width:"18px"}}),o.createElement(Le,{size:"s3",as:"span",dangerouslySetInnerHTML:{__html:p("cardReply.disclaimer")}})),x?o.createElement(Qe,null):h.length>0||r?o.createElement(Yn,null,o.createElement(f,{defaultValue:"accordion",styles:{control:{border:`1px solid ${E.colors.neutral100}`,borderTopLeftRadius:"8px",borderTopRightRadius:"8px",'&[aria-expanded="false"]':{borderBottom:0}},chevron:{width:"32px",height:"32px"},content:{padding:0,border:`1px solid ${E.colors.neutral100}`,borderTop:0,borderBottom:0},item:{marginBottom:"16px"}},chevron:o.createElement("div",{className:gi},o.createElement(vn,{color:E.colors.gray600,size:20}))},o.createElement(f.Item,{value:"accordion"},o.createElement(f.Control,null,o.createElement("div",{className:ui},o.createElement(C,{as:"h4",tag:"h6"},p("cardReply.source")))),o.createElement(f.Panel,null,o.createElement(ti,null,(h||[]).map(((e,t)=>o.createElement(ei,{key:String(t)},"object"==typeof e?o.createElement(pi,Object.assign({},e)):o.createElement(ai,null,o.createElement(Te,{style:{width:"100%"},name:"source-list",value:e||"",size:"sm",onChange:e=>{g((a=>{const o=[...a];return o[t]=e,o})),v((a=>{const o=[...a];return o[t]=e,o}))}})),r&&o.createElement(je,{size:"md",color:"transparent",icon:o.createElement(Se.Trash,null),onClick:()=>(e=>{g((t=>{const a=[...t];return a.splice(e,1),a})),v((t=>{const a=[...t];return a.splice(e,1),a}))})(t)})))),r&&o.createElement(je,{className:"add-link",color:"transparent",size:"md",icon:o.createElement(Se.Plus,{color:E.colors.primaryBase,size:18}),onClick:()=>{g((e=>[...e,""])),v((e=>[...e,""]))}},"Add source")))))):o.createElement(ci,{categories:b}))},vi=R.div`
2881
2881
  position: relative;
2882
2882
  margin-bottom: 0;
2883
2883
  background: white;
@@ -1,4 +1,4 @@
1
- import{a as e}from"./tslib.es6-bff98161.js";import t,{useState as i,useCallback as o,useMemo as a,useEffect as n,useRef as s,useReducer as r}from"react";import{I as c,L as l}from"./constants-f3643007.js";import{b as d,d as h}from"./index-1b088717.js";import{g as u,s as p,d as g}from"./cookieHelper-430ca136.js";import{u as m}from"./useTranslations-3ad29f67.js";import C from"lodash/debounce";import{I as f}from"./index-c6d407eb.js";import y,{createGlobalStyle as b}from"styled-components";import{T as v}from"./index-02f955e5.js";import{t as w}from"./theme-b7db920f.js";import E from"react-loading-skeleton";import{M as L}from"./utils-edcca0f5.js";import x from"lodash/shuffle";import{a as S}from"./useOutsideClick-08ea060e.js";import k from"string-format";const O=y.div``,j=y.div`
1
+ import{a as e}from"./tslib.es6-91a9fe0a.js";import t,{useState as i,useCallback as o,useMemo as a,useEffect as n,useRef as s,useReducer as r}from"react";import{I as c,L as l}from"./constants-64189e91.js";import{b as d,d as h}from"./index-4268a81f.js";import{g as u,s as p,d as g}from"./cookieHelper-e08d8cce.js";import{u as m}from"./useTranslations-e6975aca.js";import C from"lodash/debounce";import{I as f}from"./index-6552b705.js";import y,{createGlobalStyle as b}from"styled-components";import{T as v}from"./index-de1cf354.js";import{t as w}from"./theme-ab242008.js";import E from"react-loading-skeleton";import{M as L}from"./utils-6a9361da.js";import x from"lodash/shuffle";import{a as S}from"./useOutsideClick-282d75e5.js";import k from"string-format";const O=y.div``,j=y.div`
2
2
  --searchbar-z-index: 305;
3
3
  &[data-is-modal='true'] {
4
4
  position: fixed;
@@ -1 +1 @@
1
- export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-085d9719.js";
1
+ export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-74ee841d.js";
@@ -1 +1 @@
1
- import{a as o}from"./tslib.es6-bff98161.js";import{useState as t,useEffect as i,useCallback as a}from"react";import{a as e}from"./getDynamicHealthTool-1dda0eb3.js";const l=l=>{const[n,r]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield e(l);r(o)}))}),[e,l]);const s=a((o=>{var t;return(null===(t=n.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:s}};export{l as u};
1
+ import{a as o}from"./tslib.es6-91a9fe0a.js";import{useState as t,useEffect as i,useCallback as a}from"react";import{a as e}from"./getDynamicHealthTool-9501de80.js";const l=l=>{const[n,r]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield e(l);r(o)}))}),[e,l]);const s=a((o=>{var t;return(null===(t=n.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:s}};export{l as u};
@@ -1 +1 @@
1
- import{a as e}from"./tslib.es6-bff98161.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-430ca136.js";import{u as a}from"./useUniqueId-e8b6b5d9.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
1
+ import{a as e}from"./tslib.es6-91a9fe0a.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-e08d8cce.js";import{u as a}from"./useUniqueId-d3090751.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
@@ -1 +1 @@
1
- import{useContext as o,useMemo as a}from"react";import{T as r,d as e}from"./translationsContext-7c576897.js";import t from"string-format";function n(){const{values:n,locale:s}=o(r)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(e[o]||o,a):e[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
1
+ import{useContext as o,useMemo as a}from"react";import{T as r,d as e}from"./translationsContext-fa8fa939.js";import t from"string-format";function n(){const{values:n,locale:s}=o(r)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(e[o]||o,a):e[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
@@ -1,4 +1,4 @@
1
- import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useContext as n}from"react";import r from"styled-components";import{t as o}from"./theme-b7db920f.js";import{L as a}from"./index-1b088717.js";import{M as i}from"./utils-edcca0f5.js";import"./isProduction-29278aa2.js";import{L as s}from"./Onboarding-085d9719.js";import"./gAssets.js";import{_ as p,a as d}from"./tslib.es6-bff98161.js";import{createFormContext as l,yupResolver as m}from"@mantine/form";import"./index.styled-e56b4295.js";import{B as c}from"./index-319972d7.js";import{Container as g,Title as u,Input as b}from"@mantine/core";import"./index-73e2d0e1.js";import{L as h}from"./index-78180ded.js";import"./index.styled-5a9f0781.js";import{u as x}from"./useTranslations-3ad29f67.js";import"./index-baf83755.js";import"@mantine/dates";import{f,l as w,e as E,R as y,O as P}from"./index-08ded9ed.js";import"./index-66c72add.js";import"@mantine/hooks";import"lodash/debounce";import{D as j}from"./index-5fabaa32.js";import{V as v}from"./Visible-ccb659e5.js";import*as M from"yup";import"./translationsContext-7c576897.js";import"string-format";const I=t({}),[O,N,T]=l(),k=r.div`
1
+ import"dayjs";import"./screenSizeContext-edd62e64.js";import e,{createContext as t,useContext as n}from"react";import r from"styled-components";import{t as a}from"./theme-ab242008.js";import{L as o}from"./index-4268a81f.js";import{M as i}from"./utils-6a9361da.js";import"./isProduction-6734c5ba.js";import{L as s}from"./Onboarding-74ee841d.js";import"./gAssets.js";import{_ as p,a as l}from"./tslib.es6-91a9fe0a.js";import{createFormContext as m,yupResolver as d}from"@mantine/form";import"./index.styled-0c591da6.js";import{B as c}from"./index-dff6d903.js";import{Container as g,Title as u,Input as b}from"@mantine/core";import"./index-c1cd71f4.js";import{L as h}from"./index-cbe9f3a1.js";import"./index.styled-f5fee10a.js";import{u as f}from"./useTranslations-e6975aca.js";import"./index-a4672143.js";import"@mantine/dates";import{f as x,n as w,e as E,R as y,O as P}from"./index-25614b04.js";import"./index-73da2561.js";import"@mantine/hooks";import"lodash/debounce";import{D as j}from"./index-50361ca5.js";import{V as v}from"./Visible-ce10187f.js";import*as M from"yup";import"./translationsContext-fa8fa939.js";import"string-format";const I=t({}),[O,N,T]=m(),k=r.div`
2
2
  margin-top: 70px;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -47,20 +47,20 @@ import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useCon
47
47
  }
48
48
  `,C=r.img`
49
49
  margin-bottom: 38px;
50
- `,B=t=>{var r,{heading:i,description:s,children:d,className:l,imgSrc:m}=t,c=p(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:g,siteType:b}=n(I);return e.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${l}`,size:"sm"}),e.createElement(h,{type:g?b:(null===(r=a[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),e.createElement(k,null,m&&e.createElement(C,{src:m,loading:"lazy"}),e.createElement("div",{className:"header"},e.createElement(u,{order:3},i),e.createElement(f,{size:"p3",mt:8,color:o.colors.gray600},s)),d))},D=r.div`
50
+ `,B=t=>{var r,{heading:i,description:s,children:l,className:m,imgSrc:d}=t,c=p(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:g,siteType:b}=n(I);return e.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${m}`,size:"sm"}),e.createElement(h,{type:g?b:(null===(r=o[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),e.createElement(k,null,d&&e.createElement(C,{src:d,loading:"lazy"}),e.createElement("div",{className:"header"},e.createElement(u,{order:3},i),e.createElement(x,{size:"p3",mt:8,color:a.colors.gray600},s)),l))},D=r.div`
51
51
  position: fixed;
52
52
  inset: 0;
53
53
  z-index: 1000;
54
54
  background: white;
55
55
  overflow-y: auto;
56
- `,$=r.div`
56
+ `,S=r.div`
57
57
  height: 100%;
58
58
  ${i.lgPcUp} {
59
59
  display: table;
60
60
  width: 100%;
61
61
  height: calc(100% - 25px);
62
62
  }
63
- `,q=r.div`
63
+ `,$=r.div`
64
64
  padding: 48px 24px 24px;
65
65
 
66
66
  ${i.lgPcUp} {
@@ -70,7 +70,7 @@ import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useCon
70
70
  width: calc(100% - 640px);
71
71
  }
72
72
  }
73
- `,S=r.div`
73
+ `,q=r.div`
74
74
  width: 640px;
75
75
  padding: 16px 16px 0 16px;
76
76
  display: none;
@@ -80,7 +80,7 @@ import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useCon
80
80
  display: table-cell;
81
81
  }
82
82
  `,H=r.div`
83
- background-color: ${o.colors.primary50};
83
+ background-color: ${a.colors.primary50};
84
84
  border-radius: 12px;
85
85
  height: 100%;
86
86
  display: flex;
@@ -88,7 +88,7 @@ import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useCon
88
88
  justify-content: space-between;
89
89
 
90
90
  &[data-is-marry-baby='true'] {
91
- background-color: ${o.mbColors.tonePink};
91
+ background-color: ${a.mbColors.tonePink};
92
92
  }
93
93
  `,L=r.div`
94
94
  margin-top: 40px;
@@ -113,7 +113,7 @@ import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useCon
113
113
  border-radius: 0 4px 4px 0;
114
114
  }
115
115
  }
116
- `,A={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},F=({inputOrder:t=["phone"]})=>{const{t:n}=x(),r=N(),o=e.createElement("div",{className:"phone-input"},e.createElement(w,Object.assign({defaultCountry:A[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),e.createElement(b.Error,null,r.errors.phone)),a=e.createElement(E,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=e.createElement(E,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),s=e.createElement(j,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),p=e.createElement(y.Group,Object.assign({className:"radio-group",label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("bmi.selectGender"))},r.getInputProps("gender")),e.createElement(y,{value:"0",label:n("onboarding.formEmail.genderMale")}),e.createElement(y,{value:"1",label:n("onboarding.formEmail.genderFemale")})),d=e.createElement("div",{className:"otp-input"},e.createElement(P,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),e.createElement(b.Error,null,r.errors.otp)),l=e.createElement(E.Password,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("password"))),m=e.createElement(E.Password,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("confirmPassword"))),c=t.map((e=>{switch(e){case"phone":return o;case"full_name":return a;case"email":return i;case"dob":return s;case"gender":return p;case"otp":return d;case"password":return l;case"confirm_password":return m;default:return null}}));return e.createElement(Y,null,c)},U=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),_=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),G=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),K=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),W=r(B)`
116
+ `,A={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},F=({inputOrder:t=["phone"]})=>{const{t:n}=f(),r=N(),a=e.createElement("div",{className:"phone-input"},e.createElement(w,Object.assign({defaultCountry:A[process.env.UNIFY_LOCALE]||"VN"},r.getInputProps("phone"))),e.createElement(b.Error,null,r.errors.phone)),o=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourName")),withAsterisk:!0},r.getInputProps("name"))),i=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourEmail")),withAsterisk:!0},r.getInputProps("email"))),s=e.createElement(j,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},r.getInputProps("dob"))),p=e.createElement(y.Group,Object.assign({className:"radio-group",label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("bmi.selectGender"))},r.getInputProps("gender")),e.createElement(y,{value:"0",label:n("onboarding.formEmail.genderMale")}),e.createElement(y,{value:"1",label:n("onboarding.formEmail.genderFemale")})),l=e.createElement("div",{className:"otp-input"},e.createElement(P,Object.assign({enterKeyHint:void 0,nonce:void 0},r.getInputProps("otp"))),e.createElement(b.Error,null,r.errors.otp)),m=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("password"))),d=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},n("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:e.createElement(v,null)},r.getInputProps("confirmPassword"))),c=t.map((e=>{switch(e){case"phone":return a;case"full_name":return o;case"email":return i;case"dob":return s;case"gender":return p;case"otp":return l;case"password":return m;case"confirm_password":return d;default:return null}}));return e.createElement(Y,null,c)},U=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),_=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),G=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),K=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),W=r(B)`
117
117
  .phone-input {
118
118
  width: 100%;
119
119
  margin-bottom: 32px;
@@ -130,7 +130,7 @@ import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useCon
130
130
  border-radius: 0 4px 4px 0;
131
131
  }
132
132
  }
133
- `,R={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM",[s.India]:"IN"},Z=({onClose:t,onSubmit:n,canSkip:r=!0,customFormTexts:o})=>{const{t:a}=x(),i=T({initialValues:{phone:""},validate:m(U(a))});return e.createElement(W,{heading:(null==o?void 0:o.heading)||a("onboarding.updatePhone.heading"),description:(null==o?void 0:o.description)||a("onboarding.updatePhone.description")},e.createElement(O,{form:i},e.createElement("form",{onSubmit:i.onSubmit((e=>d(void 0,void 0,void 0,(function*(){n(e.phone)}))),(e=>{console.log(e)}))},e.createElement(F,{inputOrder:["phone"]}),e.createElement(c,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),r&&e.createElement(c,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},a("onboarding.button.skip")))))},J=r(B)`
133
+ `,R={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM",[s.India]:"IN"},Z=({onClose:t,onSubmit:n,canSkip:r=!0,customFormTexts:a})=>{const{t:o}=f(),i=T({initialValues:{phone:""},validate:d(U(o))});return e.createElement(W,{heading:(null==a?void 0:a.heading)||o("onboarding.updatePhone.heading"),description:(null==a?void 0:a.description)||o("onboarding.updatePhone.description")},e.createElement(O,{form:i},e.createElement("form",{onSubmit:i.onSubmit((e=>l(void 0,void 0,void 0,(function*(){n(e.phone)}))),(e=>{console.log(e)}))},e.createElement(F,{inputOrder:["phone"]}),e.createElement(c,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},o("onboarding.button.continue")),r&&e.createElement(c,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},o("onboarding.button.skip")))))},J=r(B)`
134
134
  .otp-input {
135
135
  margin-bottom: 36px;
136
136
  ${i.mbDown} {
@@ -163,4 +163,4 @@ import"dayjs";import"./instance-885b8d2c.js";import e,{createContext as t,useCon
163
163
  margin-bottom: 3px;
164
164
  margin-left: 3px;
165
165
  }
166
- `;s.Vietnam,s.Cambodia,s.Indonesia,s.Malaysia,s.PhilippinesEnglish,s.PhilippinesTagalog,s.Taiwan,s.Thailand,s.Myanmar;const Q=(e="")=>{const t=e.indexOf("@"),n=e.substring(0,t),r=n.length>3?3:n.length;return e.replace(e.substring(r,t),e.slice(r,t).replace(/./g,"x"))};export{F as D,O as F,R as M,I as O,J as S,G as a,B as b,K as c,D as d,$ as e,q as f,Z as g,Q as h,S as i,H as j,L as k,V as l,_ as o,T as u};
166
+ `;s.Vietnam,s.Cambodia,s.Indonesia,s.Malaysia,s.PhilippinesEnglish,s.PhilippinesTagalog,s.Taiwan,s.Thailand,s.Myanmar;const Q=(e="")=>{const t=e.indexOf("@"),n=e.substring(0,t),r=n.length>3?3:n.length;return e.replace(e.substring(r,t),e.slice(r,t).replace(/./g,"x"))};export{F as D,O as F,R as M,I as O,J as S,G as a,B as b,K as c,D as d,S as e,$ as f,Z as g,Q as h,q as i,H as j,L as k,V as l,_ as o,T as u};
@@ -1,4 +1,4 @@
1
- import{_ as a,a as e}from"./tslib.es6-bff98161.js";import i,{useMemo as n,useState as r,useEffect as o,Fragment as l}from"react";import{Stack as t,Flex as s,Badge as u,Grid as c,Box as d,Input as m,Container as k,AspectRatio as g,Tabs as h,ScrollArea as p,Divider as v,SimpleGrid as b}from"@mantine/core";import"./gAssets.js";import"@mantine/dates";import"./index-1b088717.js";import{G as y}from"./Onboarding-085d9719.js";import{f as z,t as f,j as S,u as M}from"./index-08ded9ed.js";import{B as j}from"./index-4cffdd97.js";import B from"dayjs";import"./instance-885b8d2c.js";import A from"styled-components";import{t as P}from"./theme-b7db920f.js";import{M as C}from"./utils-edcca0f5.js";import"./isProduction-29278aa2.js";import{u as K}from"./useTranslations-3ad29f67.js";import"./index-66c72add.js";import{useDisclosure as w}from"@mantine/hooks";import"lodash/debounce";import{S as T}from"./index-d8367ea0.js";import"./translationsContext-7c576897.js";import"string-format";import{H as L}from"./index.styled-e56b4295.js";import"./index-73e2d0e1.js";import"./index-78180ded.js";import{I as N}from"./index-d0706f4e.js";import"./index.styled-5a9f0781.js";import"./index-baf83755.js";import{M as x}from"./index-0a1f05c9.js";import{useForm as H}from"@mantine/form";import D from"dayjs/plugin/customParseFormat";import{D as R}from"./index-5fabaa32.js";import"@mantine/carousel";import"lodash/throttle";import"util";import"stream";import"path";import"http";import"https";import"url";import"fs";import"assert";import"tty";import"os";import"zlib";import"events";import"js-cookie";import"./index-02f955e5.js";import"./useUniqueId-e8b6b5d9.js";const G=A.div`
1
+ import{_ as a,a as e}from"./tslib.es6-91a9fe0a.js";import i,{useMemo as n,useState as r,useEffect as o,Fragment as l}from"react";import{Stack as t,Flex as s,Badge as u,Grid as c,Box as d,Input as m,Container as k,AspectRatio as g,Tabs as h,ScrollArea as p,Divider as v,SimpleGrid as b}from"@mantine/core";import"./gAssets.js";import"@mantine/dates";import"./index-4268a81f.js";import{G as y}from"./Onboarding-74ee841d.js";import{f as z,t as f,l as S,u as M}from"./index-25614b04.js";import{B as j}from"./index-7cb9317f.js";import B from"dayjs";import"./screenSizeContext-edd62e64.js";import A from"styled-components";import{t as P}from"./theme-ab242008.js";import{M as C}from"./utils-6a9361da.js";import"./isProduction-6734c5ba.js";import{u as K}from"./useTranslations-e6975aca.js";import"./index-73da2561.js";import{useDisclosure as w}from"@mantine/hooks";import"lodash/debounce";import{S as T}from"./index-ec010dec.js";import"./translationsContext-fa8fa939.js";import"string-format";import{H as L}from"./index.styled-0c591da6.js";import"./index-c1cd71f4.js";import"./index-cbe9f3a1.js";import{I as N}from"./index-e6b51b0f.js";import"./index.styled-f5fee10a.js";import"./index-a4672143.js";import{M as x}from"./index-8a9fe240.js";import{useForm as H}from"@mantine/form";import D from"dayjs/plugin/customParseFormat";import{D as R}from"./index-50361ca5.js";import"@mantine/carousel";import"lodash/throttle";import"./index-de1cf354.js";import"./useUniqueId-d3090751.js";const G=A.div`
2
2
  position: relative;
3
3
  padding: 16px;
4
4
  min-height: 110px;
package/build/footer.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-ef68332f.js"),a=require("./index-a3e61607.js"),l=require("./index-ba0145ae.js"),n=require("./index-10433c37.js"),o=require("./theme-1b038cf8.js"),r=require("./useTranslations-b8b77179.js"),i=require("./index-312c4bcf.js"),d=require("./index-e0aefcbf.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-06de5032.js"),require("./utils-10ae5de1.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-cd6ee1ed.js"),require("./Onboarding-ae900f25.js"),require("./translationsContext-00d3654d.js"),require("string-format"),require("./index.styled-3c6d9cbc.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,b,p,N,h,k,x,T,F,$,z,q,C,j,L,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.title),s.default.createElement("div",{className:"icons"},null===(N=null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(L=null===(j=null==d?void 0:d.branch)||void 0===j?void 0:j.branch)||void 0===L?void 0:L.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",b="CQGVeuT",p="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:b,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:p},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-50b136be.js"),a=require("./index-ff19f366.js"),l=require("./index-61c385e2.js"),n=require("./index-1f4513e9.js"),o=require("./theme-6f7e3e49.js"),r=require("./useTranslations-e8955cf3.js"),i=require("./index-77d2a982.js"),d=require("./index-94e8ee12.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-4f66ce5c.js"),require("./utils-d5a6e9cd.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-3e4af256.js"),require("./Onboarding-5e2a5f9d.js"),require("./translationsContext-82addc0e.js"),require("string-format"),require("./index.styled-a95ff10f.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,p,b,N,h,k,x,T,F,$,z,q,C,j,L,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.title),s.default.createElement("div",{className:"icons"},null===(N=null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(L=null===(j=null==d?void 0:d.branch)||void 0===j?void 0:j.branch)||void 0===L?void 0:L.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",p="CQGVeuT",b="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:p,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:b},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
package/build/gAssets.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-10433c37.js"),s=require("./isProduction-cd6ee1ed.js");require("./Onboarding-ae900f25.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-1f4513e9.js"),s=require("./isProduction-3e4af256.js");require("./Onboarding-5e2a5f9d.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-06de5032.js"),e=require("./core-96e7bbec.js"),i=require("./normalizeLink-1a0350c5.js"),o=require("./routing-32262cab.js");const l=(t,e)=>{var i,o;if(!t)return{};const l="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${l}/health-tools`+(null===(o=t.link)||void 0===o?void 0:o.replace(`${l}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const a="tl-PH"===e?"lang=fil":"";let s=[];try{const d=yield r(i.normalizeLinkSlash(`${o.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>l(t,e))))||[]}catch(t){}return s}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
1
+ "use strict";var t=require("./tslib.es6-4f66ce5c.js"),e=require("./core-4119c147.js"),i=require("./normalizeLink-45e100a4.js"),o=require("./routing-c445b412.js");const l=(t,e)=>{var i,o;if(!t)return{};const l="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${l}/health-tools`+(null===(o=t.link)||void 0===o?void 0:o.replace(`${l}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const a="tl-PH"===e?"lang=fil":"";let s=[];try{const c=yield r(i.normalizeLinkSlash(`${o.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==c?void 0:c.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>l(t,e))))||[]}catch(t){}return s}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./Onboarding-ae900f25.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
1
+ "use strict";var e=require("react"),t=require("./Onboarding-5e2a5f9d.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
package/build/hooks.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-b8b77179.js"),s=require("./useScrollbarSize-025355f9.js"),r=require("./useRafState-ee0d325f.js"),i=require("./useHealthToolCache-d76c4dee.js"),u=require("./useIsInit-78d3b42d.js"),t=require("./useOutsideClick-0d6aa027.js"),a=require("./useUniqueId-55a88b40.js");require("react"),require("./translationsContext-00d3654d.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-06de5032.js"),require("./cookieHelper-682c3451.js"),require("./getDynamicHealthTool-6826d846.js"),require("./core-96e7bbec.js"),require("./isProduction-cd6ee1ed.js"),require("./normalizeLink-1a0350c5.js"),require("./routing-32262cab.js"),require("./index-10433c37.js"),require("./Onboarding-ae900f25.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-e8955cf3.js"),s=require("./useScrollbarSize-78fda19a.js"),r=require("./useRafState-c5510500.js"),i=require("./useHealthToolCache-fd22b0e4.js"),u=require("./useIsInit-34530254.js"),t=require("./useOutsideClick-b49ffa60.js"),a=require("./useUniqueId-bee8683d.js");require("react"),require("./translationsContext-82addc0e.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-4f66ce5c.js"),require("./cookieHelper-0f174722.js"),require("./getDynamicHealthTool-0c565c7a.js"),require("./core-4119c147.js"),require("./isProduction-3e4af256.js"),require("./normalizeLink-45e100a4.js"),require("./routing-c445b412.js"),require("./index-1f4513e9.js"),require("./Onboarding-5e2a5f9d.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
package/build/i18n.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-15d23b6b.js"),t=require("./translationsContext-00d3654d.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-ec4fadcf.js"),t=require("./translationsContext-82addc0e.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-06de5032.js"),t=require("react"),l=require("./Onboarding-ae900f25.js"),a=require("./index.styled-ff457d4e.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:d,onSlideChange:c,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,f=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const h={withControls:!d,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(d?2:4),blurLength:g||(d?1:3),onSlideChange:c},[m,C]=t.useState("");return t.useEffect((()=>{C(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},h,f,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:m}),nextControlIcon:r.default.createElement(o,{currentUrl:m,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":m,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
1
+ "use strict";var e=require("./tslib.es6-4f66ce5c.js"),t=require("react"),l=require("./Onboarding-5e2a5f9d.js"),a=require("./index.styled-f55bb4d6.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,f=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const h={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[m,C]=t.useState("");return t.useEffect((()=>{C(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},h,f,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:m}),nextControlIcon:r.default.createElement(o,{currentUrl:m,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":m}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":m,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-4f66ce5c.js"),t=require("react"),l=require("./gAssets.js"),a=require("./index-39fd23b3.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=r(t);exports.Modal=t=>{var{title:r}=t,n=e.__rest(t,["title"]);return s.default.createElement(s.default.Fragment,null,s.default.createElement(a.StyledModal,Object.assign({centered:!0,styles:e=>({body:{padding:"16px",[e.fn.largerThan("md")]:{padding:"32px"}},inner:{borderRadius:"6px"}})},n,{withCloseButton:!1,title:n.withCloseButton&&s.default.createElement(s.default.Fragment,null,s.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},r),s.default.createElement("img",{className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=n.onClose)||void 0===e?void 0:e.call(n)}}))})))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-06de5032.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,d=l.createContext({}),c=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,d=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(d/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>c(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===c(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((()=>{var e,l;return{control:Object.assign({},(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(d.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,c=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(d),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,c),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;
1
+ "use strict";var e=require("./tslib.es6-4f66ce5c.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,c=l.createContext({}),d=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,c=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(c/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>d(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===d(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((()=>{var e,l;return{control:Object.assign({},(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(c.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,d=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(c),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,d),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;
@@ -1 +1 @@
1
- "use strict";var e=require("./Onboarding-ae900f25.js"),o=require("./isProduction-cd6ee1ed.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN","id-ID","en-PH","tl-PH"],I=["vi-VN","id-ID"],r={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var T;exports.QUERY_HEALTH_TOOL=void 0,(T=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",T.gender="gndr",T.age="ge",T.slug="slug",T.resultId="resultId",T.bmr="mr",T.height="gt",T.weight="wght",T.source="surc",T.type="tp",T.startDate="sd",T.additional="tnl",T.week="wk",T.twins="twn",T.weightBefore="wb",T.yourself="yrslf",T.intensity="sy",T.rate="rt",T.method="mthd",T.day="dy",T.pwg="pwg",T.cycle="le",T.period="prd",T.access_token="tkn",T.name="nm",T.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},p="hhg_user_token";var _=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,CARE_LOCALES:c,CARE_BOOKING_LOCALES:I,FAVICONS:r,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,BEARER_TOKEN_COOKIE:p,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.BEARER_TOKEN_COOKIE=p,exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=c,exports.FAVICONS=r,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=_,exports.siteHost=l,exports.siteOptions=i;
1
+ "use strict";var e=require("./Onboarding-5e2a5f9d.js"),o=require("./isProduction-3e4af256.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],c=["vi-VN"],I=["vi-VN","id-ID","en-PH","tl-PH"],r=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var h;exports.QUERY_HEALTH_TOOL=void 0,(h=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",h.gender="gndr",h.age="ge",h.slug="slug",h.resultId="resultId",h.bmr="mr",h.height="gt",h.weight="wght",h.source="surc",h.type="tp",h.startDate="sd",h.additional="tnl",h.week="wk",h.twins="twn",h.weightBefore="wb",h.yourself="yrslf",h.intensity="sy",h.rate="rt",h.method="mthd",h.day="dy",h.pwg="pwg",h.cycle="le",h.period="prd",h.access_token="tkn",h.name="nm",h.id="id";const p={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},_="hhg_user_token";var A=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:O,ECOM_LOCALES:c,CARE_LOCALES:I,CARE_BOOKING_LOCALES:r,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,BEARER_TOKEN_COOKIE:_,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.BEARER_TOKEN_COOKIE=_,exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=I,exports.ECOM_LOCALES=c,exports.FAVICONS=T,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=A,exports.siteHost=l,exports.siteOptions=i;
@@ -1 +1 @@
1
- "use strict";var r=require("./Onboarding-ae900f25.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=t;
1
+ "use strict";var r=require("./Onboarding-5e2a5f9d.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=t;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-06de5032.js"),t=require("react"),n=require("@mantine/hooks"),r=require("./index-ef68332f.js"),a=require("./index-285514c0.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,a.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(a.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(r.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(a.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(r.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
1
+ "use strict";var e=require("./tslib.es6-4f66ce5c.js"),t=require("react"),n=require("@mantine/hooks"),r=require("./index-50b136be.js"),a=require("./index-39fd23b3.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,a.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(a.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(r.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(a.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(r.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};