@hhgtech/hhg-components 1.27.140 → 1.27.141

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 (264) hide show
  1. package/build/babyGrowth.js +2 -2
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components.js +1 -1
  5. package/build/constants-0552404f.js +1 -0
  6. package/build/constants.js +1 -1
  7. package/build/core-f5979ae5.js +1 -0
  8. package/build/ecom.js +1 -1
  9. package/build/esm/babyGrowth.js +5 -5
  10. package/build/esm/cache.js +1 -1
  11. package/build/esm/care.js +1 -1
  12. package/build/esm/components.js +1 -1
  13. package/build/esm/constants-e5ae5407.js +1 -0
  14. package/build/esm/constants.js +1 -1
  15. package/build/esm/{core-5e75215b.js → core-cee9e570.js} +1 -1
  16. package/build/esm/ecom.js +1 -1
  17. package/build/esm/footer.js +1 -1
  18. package/build/esm/gAssets.js +1 -1
  19. package/build/esm/getDynamicHealthTool-56aec349.js +1 -0
  20. package/build/esm/{getSocialList-0a07b3d2.js → getSocialList-d35412a3.js} +1 -1
  21. package/build/esm/hooks.js +1 -1
  22. package/build/esm/i18n.js +1 -1
  23. package/build/esm/i18nV2.js +1 -1
  24. package/build/esm/{index-2133dab2.js → index-0a62b4ef.js} +1 -1
  25. package/build/esm/{index-6c7f81b7.js → index-0a8541d9.js} +1 -1
  26. package/build/esm/{index-bf58941c.js → index-0c4e312e.js} +1 -1
  27. package/build/esm/{index-fcd1c301.js → index-0c6fa8e7.js} +1 -1
  28. package/build/esm/{index-a06f8a4d.js → index-0e32fc49.js} +1 -1
  29. package/build/esm/{index-9ecfed20.js → index-291de712.js} +1 -1
  30. package/build/esm/{index-c2773e4c.js → index-2fb1981e.js} +1 -1
  31. package/build/esm/{index-74b9c1ed.js → index-3797a8bc.js} +1 -1
  32. package/build/esm/{index-43e652af.js → index-5334e645.js} +1 -1
  33. package/build/esm/{index-cde97e48.js → index-5cbe246d.js} +1 -1
  34. package/build/esm/index-7221b32a.js +1 -0
  35. package/build/esm/{index-cadeabd1.js → index-74e3dae5.js} +1 -1
  36. package/build/esm/{index-aad1d932.js → index-761efd5c.js} +3 -3
  37. package/build/esm/{index-7572fe67.js → index-7e11449f.js} +90 -90
  38. package/build/esm/index-92a986af.js +1 -0
  39. package/build/esm/{index-acdd8b0d.js → index-c18492a5.js} +4 -4
  40. package/build/esm/index-d08c035e.js +1 -0
  41. package/build/esm/{index-6310c7d0.js → index-eb35da54.js} +1 -1
  42. package/build/esm/{index-f387314d.js → index-ecf77a9e.js} +1 -1
  43. package/build/esm/index-f5158a33.js +1 -0
  44. package/build/esm/index.js +1 -1
  45. package/build/esm/{index.styled-c7ca700c.js → index.styled-6ff83599.js} +1 -1
  46. package/build/esm/{index.styled-46a58278.js → index.styled-ddabbf37.js} +1 -1
  47. package/build/esm/{index.styles-61718981.js → index.styles-d8621e01.js} +1 -1
  48. package/build/esm/lead.js +1 -1
  49. package/build/esm/mantine.js +1 -1
  50. package/build/esm/misc.js +1 -1
  51. package/build/esm/navigation.js +1 -1
  52. package/build/esm/onboardingV2.js +9 -9
  53. package/build/esm/pwg.js +1 -1
  54. package/build/esm/{routing-6181e9ef.js → routing-650cf1d6.js} +1 -1
  55. package/build/esm/together.js +1 -1
  56. package/build/esm/{types-34734a72.js → types-88d7e403.js} +1 -1
  57. package/build/esm/{types-b185b831.js → types-911e7a0c.js} +1 -1
  58. package/build/esm/types.js +1 -1
  59. package/build/esm/{useCategory-93212f15.js → useCategory-24501397.js} +1 -1
  60. package/build/esm/useHealthToolCache-0b5f1f6c.js +1 -0
  61. package/build/esm/{useRafState-a4f229a9.js → useRafState-7eed675e.js} +1 -1
  62. package/build/esm/{useTranslations-23471fdf.js → useTranslations-cb168a77.js} +1 -1
  63. package/build/esm/{utils-7da4c359.js → utils-40ede702.js} +1 -1
  64. package/build/esm/{utils-5d35b7a7.js → utils-fa4edbb2.js} +1 -1
  65. package/build/esm/vaccination.js +1 -1
  66. package/build/footer.js +1 -1
  67. package/build/gAssets.js +1 -1
  68. package/build/getDynamicHealthTool-959ce923.js +1 -0
  69. package/build/{getSocialList-90319f78.js → getSocialList-717d5f9a.js} +1 -1
  70. package/build/hooks.js +1 -1
  71. package/build/i18n.js +1 -1
  72. package/build/i18nV2.js +1 -1
  73. package/build/{index-cab5cfe0.js → index-0aad5abc.js} +1 -1
  74. package/build/{index-4dbaa8c5.js → index-13cb6a62.js} +1 -1
  75. package/build/index-1ede9208.js +1 -0
  76. package/build/{index-711e914b.js → index-31ec31a3.js} +1 -1
  77. package/build/{index-27b07054.js → index-47fe1876.js} +1 -1
  78. package/build/index-507dabd0.js +1 -0
  79. package/build/{index-8248f220.js → index-5631e7d5.js} +1 -1
  80. package/build/{index-8f191ab5.js → index-57deaba7.js} +1 -1
  81. package/build/{index-9da1f149.js → index-89467741.js} +1 -1
  82. package/build/{index-2751b6e4.js → index-8ff860b3.js} +1 -1
  83. package/build/{index-bf6f367a.js → index-913aa1f1.js} +1 -1
  84. package/build/{index-bfeb60f1.js → index-957a7a65.js} +1 -1
  85. package/build/{index-2713568d.js → index-9ca83bb2.js} +1 -1
  86. package/build/{index-4801f84a.js → index-a4b31ae1.js} +1 -1
  87. package/build/{index-99623f6f.js → index-ac81c128.js} +1 -1
  88. package/build/{index-ea8ddfbf.js → index-b283a000.js} +1 -1
  89. package/build/{index-2ce4d9e9.js → index-c50f997b.js} +1 -1
  90. package/build/{index-42b2693a.js → index-c85592ea.js} +1 -1
  91. package/build/{index-07abacd7.js → index-d42b6b19.js} +112 -112
  92. package/build/{index-9b4cc2fb.js → index-e452328c.js} +1 -1
  93. package/build/index.js +1 -1
  94. package/build/{index.styled-b3d1d720.js → index.styled-1a4a5207.js} +1 -1
  95. package/build/{index.styled-49d158ca.js → index.styled-fe8ee7c2.js} +1 -1
  96. package/build/{index.styles-21556288.js → index.styles-ff6ef8ee.js} +1 -1
  97. package/build/lead.js +1 -1
  98. package/build/mantine.js +1 -1
  99. package/build/misc.js +1 -1
  100. package/build/navigation.js +1 -1
  101. package/build/onboardingV2.js +1 -1
  102. package/build/pwg.js +1 -1
  103. package/build/{routing-cd0df195.js → routing-ce4a15b8.js} +1 -1
  104. package/build/together.js +1 -1
  105. package/build/{types-cadcd04c.js → types-0d3c4315.js} +1 -1
  106. package/build/{types-2f93120e.js → types-21bed9fa.js} +1 -1
  107. package/build/types.js +1 -1
  108. package/build/{useCategory-0c45d710.js → useCategory-c911761b.js} +1 -1
  109. package/build/{useHealthToolCache-72f33762.js → useHealthToolCache-48c47fe0.js} +1 -1
  110. package/build/{useRafState-1fc4f91f.js → useRafState-74e791c8.js} +1 -1
  111. package/build/{useTranslations-189b037d.js → useTranslations-11a39670.js} +1 -1
  112. package/build/utils-a5ea3f0f.js +1 -0
  113. package/build/{utils-9f867b8a.js → utils-d3643bc7.js} +1 -1
  114. package/build/vaccination.js +1 -1
  115. package/package.json +1 -1
  116. package/build/core-585fb782.js +0 -1
  117. package/build/esm/getDynamicHealthTool-0fbe75dd.js +0 -1
  118. package/build/esm/index-035716c5.js +0 -1
  119. package/build/esm/index-4788a4bc.js +0 -1
  120. package/build/esm/index-69b7895d.js +0 -1
  121. package/build/esm/index-89d22baf.js +0 -1
  122. package/build/esm/useHealthToolCache-d899a544.js +0 -1
  123. package/build/getDynamicHealthTool-2c0dfa04.js +0 -1
  124. package/build/index-59ad8105.js +0 -1
  125. package/build/index-f698f600.js +0 -1
  126. package/build/utils-81b51543.js +0 -1
  127. /package/build/{BMI_BOYS.percentile.monthly-3bb4c420.js → BMI_BOYS.percentile.monthly-99267e76.js} +0 -0
  128. /package/build/{BMI_BOYS.percentile.weekly-eb17f8e7.js → BMI_BOYS.percentile.weekly-66362cc6.js} +0 -0
  129. /package/build/{BMI_BOYS.percentile.yearly-144ecf07.js → BMI_BOYS.percentile.yearly-3b3db970.js} +0 -0
  130. /package/build/{BMI_BOYS.zscore.monthly-1209762e.js → BMI_BOYS.zscore.monthly-e85458a8.js} +0 -0
  131. /package/build/{BMI_BOYS.zscore.weekly-e13b1bf2.js → BMI_BOYS.zscore.weekly-cce1b029.js} +0 -0
  132. /package/build/{BMI_BOYS.zscore.yearly-64c1e7cb.js → BMI_BOYS.zscore.yearly-e8f083c4.js} +0 -0
  133. /package/build/{BMI_GIRLS.percentile.monthly-965453a8.js → BMI_GIRLS.percentile.monthly-527d4d2c.js} +0 -0
  134. /package/build/{BMI_GIRLS.percentile.weekly-170a0053.js → BMI_GIRLS.percentile.weekly-fe7c2014.js} +0 -0
  135. /package/build/{BMI_GIRLS.percentile.yearly-98f70ec1.js → BMI_GIRLS.percentile.yearly-18f4f681.js} +0 -0
  136. /package/build/{BMI_GIRLS.zscore.monthly-8fa56630.js → BMI_GIRLS.zscore.monthly-e719b7d9.js} +0 -0
  137. /package/build/{BMI_GIRLS.zscore.weekly-7a30b716.js → BMI_GIRLS.zscore.weekly-659d1c52.js} +0 -0
  138. /package/build/{BMI_GIRLS.zscore.yearly-88b552ba.js → BMI_GIRLS.zscore.yearly-f20e6ca8.js} +0 -0
  139. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b27ac71c.js → HEAD CIRCUM_BOYS.percentile.monthly-4d053cc1.js} +0 -0
  140. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-8d023a2e.js → HEAD CIRCUM_BOYS.percentile.weekly-9472841e.js} +0 -0
  141. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a00edde1.js → HEAD CIRCUM_BOYS.percentile.yearly-27db760b.js} +0 -0
  142. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ea93ab91.js → HEAD CIRCUM_BOYS.zscore.monthly-87d76111.js} +0 -0
  143. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-23f9bcec.js → HEAD CIRCUM_BOYS.zscore.weekly-44eb9473.js} +0 -0
  144. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-b1ae5320.js → HEAD CIRCUM_BOYS.zscore.yearly-648ab6f3.js} +0 -0
  145. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-04c57ca8.js → HEAD CIRCUM_GIRLS.percentile.monthly-b375de81.js} +0 -0
  146. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0e0e7893.js → HEAD CIRCUM_GIRLS.percentile.weekly-094b041e.js} +0 -0
  147. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-8fb8514a.js → HEAD CIRCUM_GIRLS.percentile.yearly-b3f4f965.js} +0 -0
  148. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-8dac4640.js → HEAD CIRCUM_GIRLS.zscore.monthly-472bc635.js} +0 -0
  149. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-ca9e90c1.js → HEAD CIRCUM_GIRLS.zscore.weekly-6ffc19db.js} +0 -0
  150. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-e74092fe.js → HEAD CIRCUM_GIRLS.zscore.yearly-11ff8c9e.js} +0 -0
  151. /package/build/{HEIGHT_BOYS.percentile.monthly-77697f79.js → HEIGHT_BOYS.percentile.monthly-044397c2.js} +0 -0
  152. /package/build/{HEIGHT_BOYS.percentile.weekly-0751b30c.js → HEIGHT_BOYS.percentile.weekly-5dffc95a.js} +0 -0
  153. /package/build/{HEIGHT_BOYS.percentile.yearly-75384fd6.js → HEIGHT_BOYS.percentile.yearly-cc55891a.js} +0 -0
  154. /package/build/{HEIGHT_BOYS.zscore.monthly-436641d9.js → HEIGHT_BOYS.zscore.monthly-26b4db83.js} +0 -0
  155. /package/build/{HEIGHT_BOYS.zscore.weekly-796a0327.js → HEIGHT_BOYS.zscore.weekly-9b88d57d.js} +0 -0
  156. /package/build/{HEIGHT_BOYS.zscore.yearly-4b933167.js → HEIGHT_BOYS.zscore.yearly-3221ba95.js} +0 -0
  157. /package/build/{HEIGHT_GIRLS.percentile.monthly-b22fb992.js → HEIGHT_GIRLS.percentile.monthly-9257ca9a.js} +0 -0
  158. /package/build/{HEIGHT_GIRLS.percentile.weekly-93f45ce9.js → HEIGHT_GIRLS.percentile.weekly-0d9be1b9.js} +0 -0
  159. /package/build/{HEIGHT_GIRLS.percentile.yearly-4621af9b.js → HEIGHT_GIRLS.percentile.yearly-dec413b4.js} +0 -0
  160. /package/build/{HEIGHT_GIRLS.zscore.monthly-931478bc.js → HEIGHT_GIRLS.zscore.monthly-6c2b9772.js} +0 -0
  161. /package/build/{HEIGHT_GIRLS.zscore.weekly-aa541434.js → HEIGHT_GIRLS.zscore.weekly-fddc2feb.js} +0 -0
  162. /package/build/{HEIGHT_GIRLS.zscore.yearly-c34c8437.js → HEIGHT_GIRLS.zscore.yearly-03818c08.js} +0 -0
  163. /package/build/{Onboarding-943a6e80.js → Onboarding-41b2d862.js} +0 -0
  164. /package/build/{Visible-11bffe6f.js → Visible-f158c7bb.js} +0 -0
  165. /package/build/{WEIGHT_BOYS.percentile.monthly-5e274672.js → WEIGHT_BOYS.percentile.monthly-7b8922a6.js} +0 -0
  166. /package/build/{WEIGHT_BOYS.percentile.weekly-1b7a5ee7.js → WEIGHT_BOYS.percentile.weekly-2b747c4d.js} +0 -0
  167. /package/build/{WEIGHT_BOYS.percentile.yearly-cf9db0c7.js → WEIGHT_BOYS.percentile.yearly-a4b6e82f.js} +0 -0
  168. /package/build/{WEIGHT_BOYS.zscore.monthly-7c8ca597.js → WEIGHT_BOYS.zscore.monthly-3ac76da1.js} +0 -0
  169. /package/build/{WEIGHT_BOYS.zscore.weekly-efe25bee.js → WEIGHT_BOYS.zscore.weekly-33b66adc.js} +0 -0
  170. /package/build/{WEIGHT_BOYS.zscore.yearly-47b2dd28.js → WEIGHT_BOYS.zscore.yearly-07d0d6cb.js} +0 -0
  171. /package/build/{WEIGHT_GIRLS.percentile.monthly-f527434c.js → WEIGHT_GIRLS.percentile.monthly-6df66525.js} +0 -0
  172. /package/build/{WEIGHT_GIRLS.percentile.weekly-d6b67bc9.js → WEIGHT_GIRLS.percentile.weekly-8de906c5.js} +0 -0
  173. /package/build/{WEIGHT_GIRLS.percentile.yearly-3cfa8f99.js → WEIGHT_GIRLS.percentile.yearly-efe53780.js} +0 -0
  174. /package/build/{WEIGHT_GIRLS.zscore.monthly-02e54e09.js → WEIGHT_GIRLS.zscore.monthly-63d66219.js} +0 -0
  175. /package/build/{WEIGHT_GIRLS.zscore.weekly-995ff89e.js → WEIGHT_GIRLS.zscore.weekly-2be952ca.js} +0 -0
  176. /package/build/{WEIGHT_GIRLS.zscore.yearly-912375ce.js → WEIGHT_GIRLS.zscore.yearly-f34f4fed.js} +0 -0
  177. /package/build/{constants-15576d0b.js → constants-d6595693.js} +0 -0
  178. /package/build/{cookieHelper-7b7e1759.js → cookieHelper-dac29fff.js} +0 -0
  179. /package/build/{dataTransform-e27d3ead.js → dataTransform-c22b842b.js} +0 -0
  180. /package/build/esm/{BMI_BOYS.percentile.monthly-da6b339a.js → BMI_BOYS.percentile.monthly-e6b09189.js} +0 -0
  181. /package/build/esm/{BMI_BOYS.percentile.weekly-4eeae01c.js → BMI_BOYS.percentile.weekly-9ce35127.js} +0 -0
  182. /package/build/esm/{BMI_BOYS.percentile.yearly-ad463ca7.js → BMI_BOYS.percentile.yearly-132cc48f.js} +0 -0
  183. /package/build/esm/{BMI_BOYS.zscore.monthly-af7b4372.js → BMI_BOYS.zscore.monthly-cb10a432.js} +0 -0
  184. /package/build/esm/{BMI_BOYS.zscore.weekly-278a99e1.js → BMI_BOYS.zscore.weekly-edd73e7f.js} +0 -0
  185. /package/build/esm/{BMI_BOYS.zscore.yearly-a7da45b6.js → BMI_BOYS.zscore.yearly-f9554d03.js} +0 -0
  186. /package/build/esm/{BMI_GIRLS.percentile.monthly-9808f463.js → BMI_GIRLS.percentile.monthly-6d5b76c1.js} +0 -0
  187. /package/build/esm/{BMI_GIRLS.percentile.weekly-60348b5d.js → BMI_GIRLS.percentile.weekly-b6729656.js} +0 -0
  188. /package/build/esm/{BMI_GIRLS.percentile.yearly-55dbe349.js → BMI_GIRLS.percentile.yearly-d6cd8930.js} +0 -0
  189. /package/build/esm/{BMI_GIRLS.zscore.monthly-9270e474.js → BMI_GIRLS.zscore.monthly-7b09f5f5.js} +0 -0
  190. /package/build/esm/{BMI_GIRLS.zscore.weekly-1d19593f.js → BMI_GIRLS.zscore.weekly-f3cf3ecb.js} +0 -0
  191. /package/build/esm/{BMI_GIRLS.zscore.yearly-acc2b115.js → BMI_GIRLS.zscore.yearly-0a0b4add.js} +0 -0
  192. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6b673587.js → HEAD CIRCUM_BOYS.percentile.monthly-da0fb7a2.js} +0 -0
  193. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-33dbea07.js → HEAD CIRCUM_BOYS.percentile.weekly-b82bba2f.js} +0 -0
  194. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-13e7689f.js → HEAD CIRCUM_BOYS.percentile.yearly-9e1d2f46.js} +0 -0
  195. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-acdab329.js → HEAD CIRCUM_BOYS.zscore.monthly-11872b06.js} +0 -0
  196. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-885122d2.js → HEAD CIRCUM_BOYS.zscore.weekly-7a9b0bea.js} +0 -0
  197. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5169481b.js → HEAD CIRCUM_BOYS.zscore.yearly-f7f61ee1.js} +0 -0
  198. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-62e68908.js → HEAD CIRCUM_GIRLS.percentile.monthly-b787e608.js} +0 -0
  199. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-62543f2b.js → HEAD CIRCUM_GIRLS.percentile.weekly-513e8a6c.js} +0 -0
  200. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d5562362.js → HEAD CIRCUM_GIRLS.percentile.yearly-de4b760b.js} +0 -0
  201. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-18c717fe.js → HEAD CIRCUM_GIRLS.zscore.monthly-93664635.js} +0 -0
  202. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-c5799f2e.js → HEAD CIRCUM_GIRLS.zscore.weekly-7c6e7720.js} +0 -0
  203. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6df4f28b.js → HEAD CIRCUM_GIRLS.zscore.yearly-22449c12.js} +0 -0
  204. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-d18e9ef6.js → HEIGHT_BOYS.percentile.monthly-5315503b.js} +0 -0
  205. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d656fdea.js → HEIGHT_BOYS.percentile.weekly-05659ebc.js} +0 -0
  206. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-59bb9cd5.js → HEIGHT_BOYS.percentile.yearly-e80fc14f.js} +0 -0
  207. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a0ff360a.js → HEIGHT_BOYS.zscore.monthly-c908ed5d.js} +0 -0
  208. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-ccb3be04.js → HEIGHT_BOYS.zscore.weekly-59f58bef.js} +0 -0
  209. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-bc348822.js → HEIGHT_BOYS.zscore.yearly-dd66ca0b.js} +0 -0
  210. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-f9d3a484.js → HEIGHT_GIRLS.percentile.monthly-01a80ba7.js} +0 -0
  211. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e70b54f9.js → HEIGHT_GIRLS.percentile.weekly-0d1c3276.js} +0 -0
  212. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8fa7b95a.js → HEIGHT_GIRLS.percentile.yearly-398c35ca.js} +0 -0
  213. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-11c40858.js → HEIGHT_GIRLS.zscore.monthly-a0ae2974.js} +0 -0
  214. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e876857e.js → HEIGHT_GIRLS.zscore.weekly-04a3ebce.js} +0 -0
  215. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-fb4f3658.js → HEIGHT_GIRLS.zscore.yearly-07a25794.js} +0 -0
  216. /package/build/esm/{Onboarding-67251664.js → Onboarding-6bc6cea1.js} +0 -0
  217. /package/build/esm/{Visible-a02e282e.js → Visible-d3eeca29.js} +0 -0
  218. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-27f6689a.js → WEIGHT_BOYS.percentile.monthly-0ebe5525.js} +0 -0
  219. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c0711146.js → WEIGHT_BOYS.percentile.weekly-e351da23.js} +0 -0
  220. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-394de876.js → WEIGHT_BOYS.percentile.yearly-3ec5e429.js} +0 -0
  221. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-590edce7.js → WEIGHT_BOYS.zscore.monthly-5ae13c40.js} +0 -0
  222. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-48047c24.js → WEIGHT_BOYS.zscore.weekly-93639184.js} +0 -0
  223. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-7d517902.js → WEIGHT_BOYS.zscore.yearly-9c2748f8.js} +0 -0
  224. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e7077286.js → WEIGHT_GIRLS.percentile.monthly-7a724d59.js} +0 -0
  225. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-215fde2e.js → WEIGHT_GIRLS.percentile.weekly-e5ab62d8.js} +0 -0
  226. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-99d5c123.js → WEIGHT_GIRLS.percentile.yearly-3ac9df9d.js} +0 -0
  227. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-cbacc862.js → WEIGHT_GIRLS.zscore.monthly-6679eeff.js} +0 -0
  228. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-63c6cdee.js → WEIGHT_GIRLS.zscore.weekly-7c02f1d5.js} +0 -0
  229. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-73d7af2e.js → WEIGHT_GIRLS.zscore.yearly-2841e5c8.js} +0 -0
  230. /package/build/esm/{constants-f4a898f4.js → constants-e69c768b.js} +0 -0
  231. /package/build/esm/{cookieHelper-76cc66a6.js → cookieHelper-c7326f34.js} +0 -0
  232. /package/build/esm/{dataTransform-55d4be56.js → dataTransform-3fc2dcb4.js} +0 -0
  233. /package/build/esm/{index-d5aeeedc.js → index-30412503.js} +0 -0
  234. /package/build/esm/{index-8a62ad1d.js → index-8cb30ab8.js} +0 -0
  235. /package/build/esm/{index-54f182a9.js → index-939fb248.js} +0 -0
  236. /package/build/esm/{isProduction-bf0d9031.js → isProduction-3b0badff.js} +0 -0
  237. /package/build/esm/{localizeNumberFormat-22f4a7a2.js → localizeNumberFormat-64c10c13.js} +0 -0
  238. /package/build/esm/{normalizeLink-2df56f4c.js → normalizeLink-161b8470.js} +0 -0
  239. /package/build/esm/{number-36c021d7.js → number-c2980c0e.js} +0 -0
  240. /package/build/esm/{paths-54b63ac6.js → paths-ea27cece.js} +0 -0
  241. /package/build/esm/{screenSizeContext-772f4947.js → screenSizeContext-e1b7149a.js} +0 -0
  242. /package/build/esm/{theme-99fe7428.js → theme-b9447dbb.js} +0 -0
  243. /package/build/esm/{translationsContext-f3b81c7a.js → translationsContext-aa1bf17e.js} +0 -0
  244. /package/build/esm/{tslib.es6-dcd5d7f3.js → tslib.es6-cbcb09e8.js} +0 -0
  245. /package/build/esm/{types-03dc42c3.js → types-1cbb2a0b.js} +0 -0
  246. /package/build/esm/{useIsInit-ab138ad4.js → useIsInit-edd3f98f.js} +0 -0
  247. /package/build/esm/{useOutsideClick-f9246884.js → useOutsideClick-0bbe31a1.js} +0 -0
  248. /package/build/esm/{useScrollbarSize-b565bbd2.js → useScrollbarSize-3ad058ca.js} +0 -0
  249. /package/build/{index-b8498c92.js → index-2e1a5c60.js} +0 -0
  250. /package/build/{index-1086976e.js → index-326184be.js} +0 -0
  251. /package/build/{index-e6f6c132.js → index-54391f28.js} +0 -0
  252. /package/build/{isProduction-8527f398.js → isProduction-4a62bcc7.js} +0 -0
  253. /package/build/{localizeNumberFormat-d3262638.js → localizeNumberFormat-e768b141.js} +0 -0
  254. /package/build/{normalizeLink-3f237981.js → normalizeLink-c6fac27b.js} +0 -0
  255. /package/build/{number-5eb36dff.js → number-152805a2.js} +0 -0
  256. /package/build/{paths-258f7f69.js → paths-18818e0a.js} +0 -0
  257. /package/build/{screenSizeContext-d0020a2f.js → screenSizeContext-aec3ea1e.js} +0 -0
  258. /package/build/{theme-b85e7292.js → theme-d65e5456.js} +0 -0
  259. /package/build/{translationsContext-18622a7c.js → translationsContext-86e6a712.js} +0 -0
  260. /package/build/{tslib.es6-9b337244.js → tslib.es6-570a9ace.js} +0 -0
  261. /package/build/{types-b69a8acc.js → types-d4ba9548.js} +0 -0
  262. /package/build/{useIsInit-f704bf21.js → useIsInit-32c9bc30.js} +0 -0
  263. /package/build/{useOutsideClick-7c84e863.js → useOutsideClick-699ff386.js} +0 -0
  264. /package/build/{useScrollbarSize-a45e070c.js → useScrollbarSize-ad618342.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEffect as i,useMemo as n,useRef as l,memo as r,useContext as s,useCallback as d}from"react";import{g as c}from"./core-5e75215b.js";import{I as m,F as p,B as g,a as h}from"./index-9ecfed20.js";import u from"styled-components";import{T as v,U as y}from"./index-6310c7d0.js";import{CommonGAssets as b}from"./gAssets.js";import{d as f,C as x,b as w,T as E,E as C,L as k,S as $,U as P}from"./index-2133dab2.js";import{n as N,a as B}from"./normalizeLink-2df56f4c.js";import{g as _,a as M,b as A,c as T,d as L}from"./routing-6181e9ef.js";import{P as H,U as S,a as U,b as z}from"./index-a06f8a4d.js";import{L as D}from"./index-f387314d.js";import{u as j,b as R}from"./useTranslations-23471fdf.js";import O from"lodash/throttle";import{j as I,M as F}from"./screenSizeContext-772f4947.js";import{L as V}from"./Onboarding-67251664.js";import{t as G}from"./theme-99fe7428.js";import{K as W,y as Y,L as Z,P as q,H as K}from"./index.styles-61718981.js";import{g as Q}from"./cookieHelper-76cc66a6.js";import{Portal as J}from"@mantine/core";import{B as X}from"./index-c2773e4c.js";import"./index-bf58941c.js";import"./utils-5d35b7a7.js";import"@mantine/dates";import ee from"dayjs";import"./isProduction-bf0d9031.js";import"@mantine/hooks";import"./index.styled-c7ca700c.js";import"./index-8a62ad1d.js";import te from"lodash/debounce";import"./useCategory-93212f15.js";import{L as ae}from"./constants-f4a898f4.js";import oe from"string-format";import{I as ie}from"./index-89d22baf.js";import{u as ne}from"./useIsInit-ab138ad4.js";import le from"dayjs/plugin/relativeTime";import{C as re}from"./index-d5aeeedc.js";const se={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},de=({type:e="square",size:t,avatarImg:n,avatarUrl:l,firstLetter:r,backgroundColor:s,onClick:d,style:c,className:p,width:g,height:h,alt:u})=>{const v=t?se[t]:void 0,[y,b]=o(!1);i((()=>{if(l){const e=document.createElement("img");e.setAttribute("src",l),e.addEventListener("error",(()=>{b(!0)}))}}),[l,b]);const f=(!l&&!n||y)&&r;return a.createElement(W,{style:Object.assign(Object.assign({},c),{"--size":v?v+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":s}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:d,className:p,avatarUrl:l,"data-custom-size":!!t},n,l&&!y&&a.createElement(m,{src:l,alt:u||"avatar"}),f&&r)},ce=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],me=(e="")=>ce.some((t=>new URL(e).origin.endsWith(t))),pe=u.a`
1
+ import{a as e,_ as t}from"./tslib.es6-cbcb09e8.js";import a,{useState as o,useEffect as i,useMemo as n,useRef as l,memo as r,useContext as s,useCallback as d}from"react";import{g as c}from"./core-cee9e570.js";import{I as m,F as p,B as g,a as h}from"./index-291de712.js";import u from"styled-components";import{T as v,U as y}from"./index-eb35da54.js";import{CommonGAssets as b}from"./gAssets.js";import{d as f,C as x,b as w,T as E,E as C,L as k,S as $,U as P}from"./index-0a62b4ef.js";import{n as N,a as B}from"./normalizeLink-161b8470.js";import{g as _,a as M,b as A,c as T,d as L}from"./routing-650cf1d6.js";import{P as H,U as S,a as U,b as z}from"./index-0e32fc49.js";import{L as D}from"./index-ecf77a9e.js";import{u as j,b as R}from"./useTranslations-cb168a77.js";import O from"lodash/throttle";import{j as I,M as F}from"./screenSizeContext-e1b7149a.js";import{L as V}from"./Onboarding-6bc6cea1.js";import{t as G}from"./theme-b9447dbb.js";import{K as W,y as Y,L as Z,P as q,H as K}from"./index.styles-d8621e01.js";import{D as Q}from"./constants-e5ae5407.js";import{g as J}from"./cookieHelper-c7326f34.js";import{Portal as X}from"@mantine/core";import{B as ee}from"./index-2fb1981e.js";import"./index-0c4e312e.js";import"./utils-fa4edbb2.js";import"@mantine/dates";import te from"dayjs";import"./isProduction-3b0badff.js";import"@mantine/hooks";import"./index.styled-6ff83599.js";import"./index-8cb30ab8.js";import ae from"lodash/debounce";import"./useCategory-24501397.js";import{L as oe}from"./constants-e69c768b.js";import ie from"string-format";import{I as ne}from"./index-7221b32a.js";import{u as le}from"./useIsInit-edd3f98f.js";import re from"dayjs/plugin/relativeTime";import{C as se}from"./index-30412503.js";const de={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},ce=({type:e="square",size:t,avatarImg:n,avatarUrl:l,firstLetter:r,backgroundColor:s,onClick:d,style:c,className:p,width:g,height:h,alt:u})=>{const v=t?de[t]:void 0,[y,b]=o(!1);i((()=>{if(l){const e=document.createElement("img");e.setAttribute("src",l),e.addEventListener("error",(()=>{b(!0)}))}}),[l,b]);const f=(!l&&!n||y)&&r;return a.createElement(W,{style:Object.assign(Object.assign({},c),{"--size":v?v+"px":void 0,"--width-prop":g?g+"px":void 0,"--height-prop":h?h+"px":void 0,"--background-color":s}),"data-has-max":!(!g||!h),"data-avatar-type":e,onClick:d,className:p,avatarUrl:l,"data-custom-size":!!t},n,l&&!y&&a.createElement(m,{src:l,alt:u||"avatar"}),f&&r)},me=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],pe=(e="")=>me.some((t=>new URL(e).origin.endsWith(t))),ge=u.a`
2
2
  display: inline-flex;
3
3
  position: relative;
4
4
  flex-direction: row;
@@ -17,12 +17,12 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
17
17
  text-decoration: none;
18
18
 
19
19
  cursor: pointer;
20
- `,ge=u.div`
21
- position: relative;
22
- display: inline-block;
23
20
  `,he=u.div`
24
21
  position: relative;
22
+ display: inline-block;
25
23
  `,ue=u.div`
24
+ position: relative;
25
+ `,ve=u.div`
26
26
  position: absolute;
27
27
  z-index: 21;
28
28
  top: 100%;
@@ -50,7 +50,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
50
50
  filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
51
51
  }
52
52
  }
53
- `,ve=u.div`
53
+ `,ye=u.div`
54
54
  display: flex;
55
55
  height: 40px;
56
56
  align-items: center;
@@ -67,7 +67,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
67
67
  &[data-selected='false'] {
68
68
  background-color: ${e=>e.theme.colors.gray100};
69
69
  }
70
- `,ye=u.div`
70
+ `,be=u.div`
71
71
  position: fixed;
72
72
  z-index: 20;
73
73
  top: 0;
@@ -75,9 +75,9 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
75
75
  width: 100%;
76
76
  height: 100%;
77
77
  cursor: default;
78
- `,be=({options:e,label:t,labelRenderer:i,selected:n,onChange:l,showSelected:r=!0,style:s={},showIndicator:d=!0})=>{const[c,m]=o(!1);return a.createElement(a.Fragment,null,a.createElement(ge,null,a.createElement(he,{onClick:()=>m((e=>!e))},t||(null==i?void 0:i(c))||null,a.createElement(ue,{"data-is-open":c,style:s,"data-show-indicator":d},e.map(((e,t)=>a.createElement(ve,{key:t,"data-selected":r&&n===e.value,onClick:t=>{n!==e.value&&(l(e.value),m((e=>!e))),t.stopPropagation()}},a.createElement(v,{size:"p3"},e.label),r&&n===e.value&&a.createElement("img",{src:b.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),c&&a.createElement(ye,{onClick:()=>m(!1)}))},fe=({languageOptions:e,locale:t})=>{var o,i;const n=null==e?void 0:e.find((e=>e.locale===t));return(null==e?void 0:e.length)?a.createElement(be,{options:e,selected:n.value,label:a.createElement(xe,{locale:t,label:n.label||(null===(i=null===(o=t.split("-"))||void 0===o?void 0:o[0])||void 0===i?void 0:i.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},xe=({locale:e,label:t,href:o})=>{var i,n,l;return a.createElement(pe,{href:o},a.createElement(p,{country:null===(n=null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[1])||void 0===n?void 0:n.toUpperCase(),width:16,height:16,rounded:!0,language:null===(l=null==e?void 0:e.split("-"))||void 0===l?void 0:l[0]}),a.createElement("span",null,t))},we=u.div`
78
+ `,fe=({options:e,label:t,labelRenderer:i,selected:n,onChange:l,showSelected:r=!0,style:s={},showIndicator:d=!0})=>{const[c,m]=o(!1);return a.createElement(a.Fragment,null,a.createElement(he,null,a.createElement(ue,{onClick:()=>m((e=>!e))},t||(null==i?void 0:i(c))||null,a.createElement(ve,{"data-is-open":c,style:s,"data-show-indicator":d},e.map(((e,t)=>a.createElement(ye,{key:t,"data-selected":r&&n===e.value,onClick:t=>{n!==e.value&&(l(e.value),m((e=>!e))),t.stopPropagation()}},a.createElement(v,{size:"p3"},e.label),r&&n===e.value&&a.createElement("img",{src:b.getAssetPath("check.svg"),alt:"check",className:"check-icon",loading:"lazy"}))))))),c&&a.createElement(be,{onClick:()=>m(!1)}))},xe=({languageOptions:e,locale:t})=>{var o,i;const n=null==e?void 0:e.find((e=>e.locale===t));return(null==e?void 0:e.length)?a.createElement(fe,{options:e,selected:n.value,label:a.createElement(we,{locale:t,label:n.label||(null===(i=null===(o=t.split("-"))||void 0===o?void 0:o[0])||void 0===i?void 0:i.toUpperCase())}),onChange:e=>{"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},we=({locale:e,label:t,href:o})=>{var i,n,l;return a.createElement(ge,{href:o},a.createElement(p,{country:null===(n=null===(i=null==e?void 0:e.split("-"))||void 0===i?void 0:i[1])||void 0===n?void 0:n.toUpperCase(),width:16,height:16,rounded:!0,language:null===(l=null==e?void 0:e.split("-"))||void 0===l?void 0:l[0]}),a.createElement("span",null,t))},Ee=u.div`
79
79
  ${e=>`\n ${0!==e.lowerBound?`@media (max-width: ${e.lowerBound-1}px) { display: none; }`:""}\n ${0!==e.upperBound?`@media (min-width: ${e.upperBound}px) { display: none; }`:""}\n `}
80
- `,Ee=({forceDisplay:e,mediaQueryKey:t,children:o,className:i,style:l})=>{const[r,s]=n((()=>I(t)),[t]);return a.createElement(we,{lowerBound:e?0:r,upperBound:e?0:s,className:i,style:l},o)},Ce=e=>{const{allowBgScroll:t}=e||{},a=l();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},ke="hhgcomp-navprofilebutton-popup",$e=Y(u.div`
80
+ `,Ce=({forceDisplay:e,mediaQueryKey:t,children:o,className:i,style:l})=>{const[r,s]=n((()=>I(t)),[t]);return a.createElement(Ee,{lowerBound:e?0:r,upperBound:e?0:s,className:i,style:l},o)},ke=e=>{const{allowBgScroll:t}=e||{},a=l();return{containerRef:a,onContainerFocus:()=>{t||(document.documentElement.style.overflow="hidden")},onContainerBlur:()=>{t||(document.documentElement.style.overflow="")},onButtonMouseDown:e=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:()=>{a.current&&(document.activeElement===a.current||a.current.contains(document.activeElement))&&(a.current.blur(),document.activeElement.blur())}}},$e="hhgcomp-navprofilebutton-popup",Pe=Y(u.div`
81
81
  position: absolute;
82
82
  right: 0;
83
83
  background-color: ${e=>e.theme.colors.white};
@@ -208,7 +208,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
208
208
  border-radius: 50%;
209
209
  }
210
210
  }
211
- `,ke),Pe="hhgcomp-navprofilebutton-popupwrapper";Y(u.div`
211
+ `,$e),Ne="hhgcomp-navprofilebutton-popupwrapper";Y(u.div`
212
212
  position: fixed;
213
213
  z-index: 150;
214
214
  top: var(--header-bottom, 69px);
@@ -238,7 +238,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
238
238
  &[data-open='false'] {
239
239
  display: none;
240
240
  }
241
- `,Pe);const Ne=u.div`
241
+ `,Ne);const Be=u.div`
242
242
  width: 40px;
243
243
  height: 40px;
244
244
  cursor: pointer;
@@ -263,7 +263,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
263
263
  font-size: 20px;
264
264
  font-weight: bold;
265
265
  }
266
- `,Be=u.a`
266
+ `,_e=u.a`
267
267
  display: inline-flex;
268
268
  position: relative;
269
269
  width: 40px;
@@ -285,7 +285,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
285
285
  .user-avatar {
286
286
  display: none;
287
287
  }
288
- .${ke} {
288
+ .${$e} {
289
289
  z-index: 200;
290
290
  top: 120%;
291
291
  opacity: 1;
@@ -297,11 +297,11 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
297
297
  }
298
298
  }
299
299
  }
300
- .${Pe} {
300
+ .${Ne} {
301
301
  display: initial;
302
302
  }
303
303
  }
304
- `,_e=u.a`
304
+ `,Me=u.a`
305
305
  display: inline-flex;
306
306
  .login-btn[data-color='tertiary'][data-size='md'] {
307
307
  padding-left: 12px;
@@ -318,7 +318,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
318
318
  display: block;
319
319
  }
320
320
  }
321
- `,Me=({type:e="lead",closeIcon:t,isOpen:o=!0,onClose:i,children:n,enableAnimation:l=!0,targetAvatar:r,id:s,className:d})=>a.createElement($e,{"data-open":o,"data-type":e,"data-animation":l,"data-target":r,id:s,className:d},a.createElement("div",{className:"popup-content"},!!t&&a.createElement("div",{className:"close-button",onClick:i},t),n)),Ae={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"/shop/ho-so/quan-li-don-hang/"};var Te="uJQBNNg",Le="TfG3dM5",He="aMtjFNf",Se="cSz2RR-",Ue="GyFm00F";function ze({userInfo:e,onClickMyProfileButton:t,themeName:o="helloSites"}){const{t:i}=j(),l=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Te,onClick:()=>{t&&t()}},a.createElement(de,{className:Le,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:l,backgroundColor:"marryBaby"===o?G.mbColors.pink:G.colors.secondaryBase}),a.createElement("div",{className:He},a.createElement("div",{className:Se},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:Ue,style:{"--bg-hellosites":`url(${b.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${b.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},i("userProfile.nav.header.viewProfile"))))}var De="fVk18fq",je="v8TCvUb",Re="mx7T4V3";const Oe={myHealth:G.mbColors.toneYellow,myCommunity:G.mbColors.toneBlue,mySaved:G.mbColors.toneGreen},Ie={helloSites:{myBooking:()=>b.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>b.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>b.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>b.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>b.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>b.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>b.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>b.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>b.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},Fe=({type:e,themeName:t,className:o,onClick:i=(()=>{})})=>{const{t:l}=j(),r=n((()=>{var a,o;return(null===(o=null===(a=Ie[t])||void 0===a?void 0:a[e])||void 0===o?void 0:o.call(a))||""}),[e,t]),s=n((()=>"marryBaby"!==t?"transparent":Oe[e]),[e,t]);return a.createElement("div",{onClick:function(){i(e)},className:`${De} ${o}`},a.createElement("div",{className:Re,style:{backgroundColor:s,backgroundImage:`url("${r}")`}}),a.createElement("h3",{className:je},l(`userProfile.nav.card.${e}`)))};var Ve="gn6HmGG",Ge="FCx8FEM",We="zMiRxaE",Ye="lZ2Z9MQ",Ze="rwm-agG",qe="qMOscoq";const Ke=({themeName:e,locale:t,onClickItem:i})=>{const[l,r]=o(""),s=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:b.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:b.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:b.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:b.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function d(e){e.subMenu?r((t=>t?"":e.key)):i&&i(e)}return a.createElement("div",{className:Ve},s.map((e=>a.createElement(Qe,{key:e.key,item:e,openKey:l,onClickItem:d,locale:t}))))},Qe=({item:e,openKey:t,onClickItem:o,locale:i})=>{var n;const{t:l}=j();return(null===(n=e.disableLocale)||void 0===n?void 0:n.includes(i))?null:a.createElement("div",{className:`${Ge} nav-menu-item`,"data-is-open":t===e.key,key:e.key,"data-has-submenu":!!e.subMenu},a.createElement("div",{className:We,onClick:()=>o(e)},e.icon&&a.createElement("div",{className:Ye,style:{backgroundImage:`url("${e.icon}")`}}),l(e.key),e.subMenu&&a.createElement("div",{className:Ze,style:{"--after-bg":`url(${b.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&a.createElement("div",{className:qe},e.subMenu.map((e=>a.createElement(Qe,{key:e.key,item:e,openKey:t,onClickItem:o,locale:i})))))};var Je="-AZt1au",Xe="IvSIfCI",et="eahCJov",tt="XIyViFs",at="_4y-O0w3",ot="kO8iNgD",it="a1d4E10",nt="Tdguxxf",lt="-mOxsaU",rt="yPeDBNZ";const st={helloSites:{member:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},dt=({themeName:e,rank:t="member",numberOfPosts:o=0})=>{const{t:i}=j(),l=n((()=>{var a,o;return(null===(o=null===(a=st[e])||void 0===a?void 0:a[t])||void 0===o?void 0:o.call(a))||""}),[t,e]);return a.createElement("div",{className:at,"data-user-rank":t},a.createElement("div",{className:ot},a.createElement("div",{className:it},a.createElement("div",{className:nt,style:{backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:lt},i(`userProfile.userRank.${t}`)),o>0&&a.createElement("p",{className:rt},o," ",i("userProfile.nav.header.count.posts")))))},ct="profile/posts?website_url={websiteUrl}",mt=99,pt=300,gt=400,ht=210,ut=e=>{var t,a,o,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>ut(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(o=e.reviewed_by,{postTitle:o.post_title,permalink:o.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},vt=e=>{var t,a;if(!e)return{};const o=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),i=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),n=e.link?e.link.startsWith("http")||o?e.link:i?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:n,subtitle:e.subtitle,title:e.title}},yt=e=>{var t,a,o,i,n;return e&&(null==e?void 0:e.object_id)?{thumbnail:(null===(t=null==e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.slug)||"",subtitle:(null===(o=e.object_id)||void 0===o?void 0:o.name)||"",name:(null===(i=e.object_id)||void 0===i?void 0:i.name)||"",slug:(null===(n=e.object_id)||void 0===n?void 0:n.slug)||""}:{}},bt=e=>{var t,a,o,i;return e&&(null==e?void 0:e.object_id)?{id:e.id,name:(null===(t=e.object_id)||void 0===t?void 0:t.name)||"",logo:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.logo)||"",description:(null===(o=e.object_id)||void 0===o?void 0:o.description)||"",slug:(null===(i=e.object_id)||void 0===i?void 0:i.slug)||""}:{}},ft=({type:e,specialtySlug:t,locale:a})=>{var o,i;return`${null===(o=ae[a])||void 0===o?void 0:o.ALL}/${(null===(i=ae[a])||void 0===i?void 0:i[e])||"doctor"}/${null!=t?t:""}`},xt=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},wt=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},Et=({SSO_URL:e,UP_BASEPATH:t="user",themeName:l="helloSites",cardUrls:r=Ae,enableCare:s,enableTogether:d,enableEcom:c,enableMySaved:m,userInfo:p,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:u,onClickMyProfileButton:v,onClickMenuItem:y,onClickLogout:x,isUserProfileNavigatorMenuHidden:w=!1,isMyHealthEnabled:E=!1,locale:C})=>{const{t:k}=j(),[$,P]=o(h||0),_="marryBaby"===l;i((()=>{if(p&&void 0===h){const e=Q("hhg_user_token");e&&fetch(N(((e,t,a,o)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+oe(ct,Object.assign(Object.assign({},o),{websiteUrl:t?"https://marrybaby.vn":`https://${f[e]}`})))(C,_,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,o;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&P((null===(o=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===o?void 0:o.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[C,null!==p,h,g,_]);const M=n((()=>{let e;return e=_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?s:"myCommunity"===e?d:"myHealth"===e?E:"eCom"===e?c:"mySaved"!==e||m))}),[_,E]),A=n((()=>"marryBaby"===l?null:a.createElement(X,{color:"tertiary",icon:a.createElement("img",{src:b.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:x,className:tt},k("userProfile.nav.menu.logout"))),[l]),T=a=>{a.startsWith("http")||a.startsWith("/")?window.location.href=B(a):e&&(window.location.href=B(`${e}${t}/${a}`))},L=e=>{const t=r[e];u?u(t):T(t)};return p?a.createElement("div",{className:Je,"data-theme":l},a.createElement(ze,{userInfo:p,themeName:l,onClickMyProfileButton:()=>{v?v():T("profile")}}),a.createElement(dt,{themeName:l,rank:"member",numberOfPosts:$}),a.createElement("div",{className:Xe},M.map((e=>a.createElement(Fe,{className:et,key:e,themeName:l,type:e,onClick:L})))),!w&&a.createElement(a.Fragment,null,a.createElement(Ke,{themeName:l,locale:C,onClickItem:e=>{"logout"===e.link&&x?x():e.link&&!e.subMenu&&(y?y(e.link):T(e.link))}}),A)):null},Ct=({SSO_URL:e,UP_BASEPATH:t,isOpen:o,targetAvatar:i,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,closePopup:c,siteType:m="helloSites",dispatchLogout:p,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u=!1,togetherApiDomain:v,locale:y})=>{const b=a=>{a.startsWith("http")?window.location.href=B(a):a.startsWith("/")?window.location.href=B(`${window.location.origin}${a}`):g?g(`/${a}`):window.location.href=B(`${e}${t}/${a}`)},f=e=>{b(e),c()};return a.createElement(Me,{isOpen:o,type:"profile",enableAnimation:!0,targetAvatar:i,onClose:c},a.createElement(Et,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,onClickLogout:()=>{p&&(p(),c())},onClickMenuItem:f,onClickNavigationCard:f,onClickMyProfileButton:()=>{b("profile"),c()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u,togetherApiDomain:v,locale:y}))},kt=u.div`
321
+ `,Ae=({type:e="lead",closeIcon:t,isOpen:o=!0,onClose:i,children:n,enableAnimation:l=!0,targetAvatar:r,id:s,className:d})=>a.createElement(Pe,{"data-open":o,"data-type":e,"data-animation":l,"data-target":r,id:s,className:d},a.createElement("div",{className:"popup-content"},!!t&&a.createElement("div",{className:"close-button",onClick:i},t),n)),Te={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"/shop/ho-so/quan-li-don-hang/"};var Le="uJQBNNg",He="TfG3dM5",Se="aMtjFNf",Ue="cSz2RR-",ze="GyFm00F";function De({userInfo:e,onClickMyProfileButton:t,themeName:o="helloSites"}){const{t:i}=j(),l=n((()=>{const t=(null==e?void 0:e.name)||(null==e?void 0:e.username);return t&&t.length?t[0].toUpperCase():"A"}),[null==e?void 0:e.username,null==e?void 0:e.name]);return a.createElement("div",{className:Le,onClick:()=>{t&&t()}},a.createElement(ce,{className:He,type:"rounded",size:"xl",avatarUrl:null==e?void 0:e.avatar,firstLetter:l,backgroundColor:"marryBaby"===o?G.mbColors.pink:G.colors.secondaryBase}),a.createElement("div",{className:Se},a.createElement("div",{className:Ue},(null==e?void 0:e.name)||(null==e?void 0:e.username)),a.createElement("div",{className:ze,style:{"--bg-hellosites":`url(${b.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg")})`,"--bg-marrybaby":`url(${b.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg")})`}},i("userProfile.nav.header.viewProfile"))))}var je="fVk18fq",Re="v8TCvUb",Oe="mx7T4V3";const Ie={myHealth:G.mbColors.toneYellow,myCommunity:G.mbColors.toneBlue,mySaved:G.mbColors.toneGreen},Fe={helloSites:{myBooking:()=>b.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>b.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>b.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>b.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>b.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>b.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>b.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>b.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>b.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},Ve=({type:e,themeName:t,className:o,onClick:i=(()=>{})})=>{const{t:l}=j(),r=n((()=>{var a,o;return(null===(o=null===(a=Fe[t])||void 0===a?void 0:a[e])||void 0===o?void 0:o.call(a))||""}),[e,t]),s=n((()=>"marryBaby"!==t?"transparent":Ie[e]),[e,t]);return a.createElement("div",{onClick:function(){i(e)},className:`${je} ${o}`},a.createElement("div",{className:Oe,style:{backgroundColor:s,backgroundImage:`url("${r}")`}}),a.createElement("h3",{className:Re},l(`userProfile.nav.card.${e}`)))};var Ge="gn6HmGG",We="FCx8FEM",Ye="zMiRxaE",Ze="lZ2Z9MQ",qe="rwm-agG",Ke="qMOscoq";const Qe=({themeName:e,locale:t,onClickItem:i})=>{const[l,r]=o(""),s=n((()=>"marryBaby"===e?[{key:"userProfile.nav.menu.password",icon:b.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:b.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:b.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"common.profileNavigator.newsletterSubscription",link:"subscriptions",disableLocale:["id-ID","ms-MY","km-KH","en-PH","tl-PH","th-TH","my-MM","zh-TW","hi-IN"]},{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:b.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]),[e]);function d(e){e.subMenu?r((t=>t?"":e.key)):i&&i(e)}return a.createElement("div",{className:Ge},s.map((e=>a.createElement(Je,{key:e.key,item:e,openKey:l,onClickItem:d,locale:t}))))},Je=({item:e,openKey:t,onClickItem:o,locale:i})=>{var n;const{t:l}=j();return(null===(n=e.disableLocale)||void 0===n?void 0:n.includes(i))?null:a.createElement("div",{className:`${We} nav-menu-item`,"data-is-open":t===e.key,key:e.key,"data-has-submenu":!!e.subMenu},a.createElement("div",{className:Ye,onClick:()=>o(e)},e.icon&&a.createElement("div",{className:Ze,style:{backgroundImage:`url("${e.icon}")`}}),l(e.key),e.subMenu&&a.createElement("div",{className:qe,style:{"--after-bg":`url(${b.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg")})`}})),e.subMenu&&a.createElement("div",{className:Ke},e.subMenu.map((e=>a.createElement(Je,{key:e.key,item:e,openKey:t,onClickItem:o,locale:i})))))};var Xe="-AZt1au",et="IvSIfCI",tt="eahCJov",at="XIyViFs",ot="_4y-O0w3",it="kO8iNgD",nt="a1d4E10",lt="Tdguxxf",rt="-mOxsaU",st="yPeDBNZ";const dt={helloSites:{member:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg"),ambassador:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg"),doctor:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg"),expert:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg"),influencer:()=>b.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")},marryBaby:{member:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg"),ambassador:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg"),doctor:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg"),expert:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg"),influencer:()=>b.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}},ct=({themeName:e,rank:t="member",numberOfPosts:o=0})=>{const{t:i}=j(),l=n((()=>{var a,o;return(null===(o=null===(a=dt[e])||void 0===a?void 0:a[t])||void 0===o?void 0:o.call(a))||""}),[t,e]);return a.createElement("div",{className:ot,"data-user-rank":t},a.createElement("div",{className:it},a.createElement("div",{className:nt},a.createElement("div",{className:lt,style:{backgroundImage:`url("${l}")`}}),a.createElement("h3",{className:rt},i(`userProfile.userRank.${t}`)),o>0&&a.createElement("p",{className:st},o," ",i("userProfile.nav.header.count.posts")))))},mt="profile/posts?website_url={websiteUrl}",pt=99,gt=300,ht=400,ut=210,vt=e=>{var t,a,o,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?(i=e.sponsor,i?{title:i.title,logo:i.logo,link:i.link}:{}):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||e.name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.thumbnail||e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((e=>vt(e))))||[],thumnailColor:e.thumnail_color||["#FFEAF1","#E0E9FB","#FFF9EB","#F2FCF7","#F3F3F3"][5*Math.random()|0],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(a=e.cat_parent)||void 0===a?void 0:a.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(o=e.reviewed_by,{postTitle:o.post_title,permalink:o.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>(e=>({title:e.title,content:e.content}))(e))):null,customizedUrl:e.customized_url||null}:{}},yt=e=>{var t,a;if(!e)return{};const o=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),i=null===(a=e.link)||void 0===a?void 0:a.startsWith("/fil/"),n=e.link?e.link.startsWith("http")||o?e.link:i?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):`/health-tools${e.link.replace("/health-tools/","/")}`:void 0;return{icon:e.icon,link:n,subtitle:e.subtitle,title:e.title}},bt=e=>{var t,a,o,i,n;return e&&(null==e?void 0:e.object_id)?{thumbnail:(null===(t=null==e?void 0:e.object_id)||void 0===t?void 0:t.logo)||"",link:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.slug)||"",subtitle:(null===(o=e.object_id)||void 0===o?void 0:o.name)||"",name:(null===(i=e.object_id)||void 0===i?void 0:i.name)||"",slug:(null===(n=e.object_id)||void 0===n?void 0:n.slug)||""}:{}},ft=e=>{var t,a,o,i;return e&&(null==e?void 0:e.object_id)?{id:e.id,name:(null===(t=e.object_id)||void 0===t?void 0:t.name)||"",logo:(null===(a=null==e?void 0:e.object_id)||void 0===a?void 0:a.logo)||"",description:(null===(o=e.object_id)||void 0===o?void 0:o.description)||"",slug:(null===(i=e.object_id)||void 0===i?void 0:i.slug)||""}:{}},xt=({type:e,specialtySlug:t,locale:a})=>{var o,i;return`${null===(o=oe[a])||void 0===o?void 0:o.ALL}/${(null===(i=oe[a])||void 0===i?void 0:i[e])||"doctor"}/${null!=t?t:""}`},wt=e=>e?{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image)||"",imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}:{},Et=e=>{const t=new Date;if(null==e?void 0:e.startDate){const a=new Date(e.startDate);if(t.getTime()<a.getTime())return!1}if(null==e?void 0:e.endDate){const a=new Date(e.endDate);if(t.getTime()>a.getTime())return!1}return!0},Ct=({SSO_URL:e,UP_BASEPATH:t="user",themeName:l="helloSites",cardUrls:r=Te,enableCare:s,enableTogether:d,enableEcom:c,enableMySaved:m,userInfo:p,togetherApiDomain:g,userPostsNumber:h,onClickNavigationCard:u,onClickMyProfileButton:v,onClickMenuItem:y,onClickLogout:x,isUserProfileNavigatorMenuHidden:w=!1,isMyHealthEnabled:E=!1,locale:C})=>{const{t:k}=j(),[$,P]=o(h||0),_="marryBaby"===l;i((()=>{if(p&&void 0===h){const e=J("hhg_user_token");e&&fetch(N(((e,t,a,o)=>(a||"https://together.hellohealthgroup.com/")+"api/v1/"+ie(mt,Object.assign(Object.assign({},o),{websiteUrl:t?"https://marrybaby.vn":`https://${f[e]}`})))(C,_,g)),{headers:{Authorization:`Bearer ${e}`}}).then((e=>e.json())).then((e=>{var t,a,o;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&P((null===(o=null===(a=null==e?void 0:e.data)||void 0===a?void 0:a.pagination)||void 0===o?void 0:o.total_items)||0)})).catch((e=>console.error("Error fetching post number",e)))}}),[C,null!==p,h,g,_]);const M=n((()=>{let e;return e=_?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"],e.filter((e=>"myBooking"===e?s:"myCommunity"===e?d:"myHealth"===e?E:"eCom"===e?c:"mySaved"!==e||m))}),[_,E]),A=n((()=>"marryBaby"===l?null:a.createElement(ee,{color:"tertiary",icon:a.createElement("img",{src:b.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15,loading:"lazy"}),size:"md",onClick:x,className:at},k("userProfile.nav.menu.logout"))),[l]),T=a=>{a.startsWith("http")||a.startsWith("/")?window.location.href=B(a):e&&(window.location.href=B(`${e}${t}/${a}`))},L=e=>{const t=r[e];u?u(t):T(t)};return p?a.createElement("div",{className:Xe,"data-theme":l},a.createElement(De,{userInfo:p,themeName:l,onClickMyProfileButton:()=>{v?v():T("profile")}}),a.createElement(ct,{themeName:l,rank:"member",numberOfPosts:$}),a.createElement("div",{className:et},M.map((e=>a.createElement(Ve,{className:tt,key:e,themeName:l,type:e,onClick:L})))),!w&&a.createElement(a.Fragment,null,a.createElement(Qe,{themeName:l,locale:C,onClickItem:e=>{"logout"===e.link&&x?x():e.link&&!e.subMenu&&(y?y(e.link):T(e.link))}}),A)):null},kt=({SSO_URL:e,UP_BASEPATH:t,isOpen:o,targetAvatar:i,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,closePopup:c,siteType:m="helloSites",dispatchLogout:p,userProfileRouterPush:g,isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u=!1,togetherApiDomain:v,locale:y})=>{const b=a=>{if(a.startsWith("http"))window.location.href=B(a);else if(a.startsWith("/")){let e=window.location.origin;e.includes("id.")&&(e=Q),window.location.href=B(`${e}${a}`)}else g?g(`/${a}`):window.location.href=B(`${e}${t}/${a}`)},f=e=>{b(e),c()};return a.createElement(Ae,{isOpen:o,type:"profile",enableAnimation:!0,targetAvatar:i,onClose:c},a.createElement(Ct,{SSO_URL:e,UP_BASEPATH:t,themeName:m,userInfo:n,enableCare:l,enableTogether:r,enableEcom:s,enableMySaved:d,onClickLogout:()=>{p&&(p(),c())},onClickMenuItem:f,onClickNavigationCard:f,onClickMyProfileButton:()=>{b("profile"),c()},isUserProfileNavigatorMenuHidden:h,isMyHealthEnabled:u,togetherApiDomain:v,locale:y}))},$t=u.div`
322
322
  background-color: white;
323
323
  text-align: center;
324
324
  .cancle-img {
@@ -365,7 +365,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
365
365
  line-height: 24px;
366
366
  }
367
367
  }
368
- `,$t=u.div`
368
+ `,Pt=u.div`
369
369
  display: flex;
370
370
 
371
371
  ${F.mbDown} {
@@ -382,7 +382,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
382
382
  }
383
383
 
384
384
  ${e=>"marryBaby"===e.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""}
385
- `,Pt=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:o,siteType:n="helloSites"})=>{const{t:l}=j();return i((()=>{document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(J,null,a.createElement(H,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:b.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},a.createElement(kt,null,"helloSites"===n&&a.createElement("img",{src:b.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),a.createElement("h2",null,l("helloSites"===n?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,l("logout.popup.ask2")),a.createElement($t,{siteType:n},a.createElement(X,{className:"logout-button",color:"tertiary",size:"lg",onClick:o},l("logout.popup.button.logout")),a.createElement(X,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},Nt=({userInfo:t,siteType:n,onLoginClick:l,SSO_URL:r,currentUrl:s,isMinifyLogin:d,enableCare:c,enableTogether:m,enableEcom:p,isUserProfileNavigatorMenuHidden:u,UP_BASEPATH:f,isMyHealthEnabled:x,togetherApiDomain:w,onLogout:E,style:C,userProfileRouterPush:k,isLoading:$,locale:P,enableMySaved:B})=>{const{t:_}=j(),[M,A]=o(!1),T=(null==t?void 0:t.name)||(null==t?void 0:t.username),[L,H]=o(!1);i((()=>{H(!0)}),[]);const{containerRef:S,onContainerFocus:U,onContainerBlur:z,onButtonMouseDown:D,onClose:R}=Ce();return $?a.createElement(g,{size:"sm",color:"transparent",loading:$}):(null==t?void 0:t.id)?a.createElement(a.Fragment,null,a.createElement(Be,{ref:S,style:C,tabIndex:0,onBlur:z,onFocus:U},a.createElement("div",{onMouseDown:D},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(h,{size:40,className:"user-avatar",src:null==t?void 0:t.avatar,color:"marryBaby"===n?G.mbColors.pink:G.colors.secondaryBase,placeholderText:T&&T.length?T[0].toUpperCase():"A"})),a.createElement(Ct,{UP_BASEPATH:f,SSO_URL:r,dispatchLogout:()=>{R(),A(!0)},isOpen:!1,isMyHealthEnabled:x,enableCare:c,enableTogether:m,enableEcom:p,enableMySaved:B,closePopup:R,userInfo:t,siteType:n,isUserProfileNavigatorMenuHidden:u,togetherApiDomain:w,userProfileRouterPush:k,locale:P})),a.createElement(Pt,{openLogoutPopup:M,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),A(!1)},siteType:n,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){A(!1),document.body.classList.toggle("noscroll",!1),yield E()}))})):a.createElement(_e,{style:Object.assign({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":s,href:L?void 0:N(`${r}?returnUrl=${s}`),"data-site-type":n},d?a.createElement(Ne,{onClick:l},a.createElement("img",{src:b.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===n&&(P===V.Indonesia||P===V.PhilippinesTagalog||P===V.PhilippinesEnglish?a.createElement("img",{className:"mobile-only",src:b.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:l}):a.createElement(g,{className:"mobile-only",size:"sm",onClick:l,leftIcon:a.createElement(y,{useCurrentColor:!0,isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},_("navigation.loginJoin"))),"marryBaby"===n&&a.createElement("div",{className:"mobile-only",onClick:l,style:{paddingLeft:16}},a.createElement(v,{size:"p3",color:G.mbColors.pink},_("navigation.loginJoin"))),a.createElement(g,{className:"login-btn",size:"md",onClick:l,leftIcon:a.createElement(y,{useCurrentColor:!0,isSolid:!0,size:22})},_("navigation.loginJoin"))))};var Bt="spdlGfq",_t="vgS16jX";const Mt=({onCareHeaderClick:e,currentUrl:t,careUrlFe:o,btnName:i})=>e?a.createElement(X,{className:Bt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},i):a.createElement("a",{href:o,className:`${_t} care-button no-replace-click`},a.createElement(X,{className:Bt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},i));var At="y5VJdvw",Tt="oVhOSCy",Lt="pX8OXTM";const Ht=a.createContext({}),St=e=>{var{children:o}=e,l=t(e,["children"]);const[r,s]=a.useState((()=>l.currentUrl||`https://${"marryBaby"===l.siteType?Z[l.locale||"en-PH"]:f[l.locale||"en-PH"]}${"together"===l.projectType?"/community":"ecom"===l.projectType?"/ecom":"care"===l.projectType?"/care":""}/`));i((()=>{const e=()=>{s(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const d=(({locale:e,projectType:t,isMobile:a,siteType:o,enableBookingBtn:i})=>n((()=>{const n=!(!a&&"profile"===t),l="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,r="marryBaby"!==o&&"marryBaby"!==t&&x.includes(e),s=i&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&w.includes(e),d="marryBaby"===t||E.includes(e),c="marryBaby"!==o&&C.includes(e),m="marryBaby"!==o&&C.includes(e);let p=_(e,"marryBaby"===o);"undefined"!=typeof window&&(p.includes("//id.")&&(p=p.replace("id.","")),p.includes("//staging-id.")&&(p=p.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:n,enableSearchBar:l,enableNavCare:r,enableNavCareBooking:s,enableNavTogether:d,enableNavEcom:c,enableProfileEcom:m,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:`${p}/care`,TOGETHER_URL_FE:`${p}/community`,SSO_URL:M(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:T(e)}}}),[e,t,a]))({locale:l.locale,projectType:l.projectType,isMobile:l.isMobile,siteType:l.siteType,enableBookingBtn:l.enableBookingBtn});return a.createElement(Ht.Provider,{value:Object.assign(Object.assign({},l),{configs:Object.assign(Object.assign({},d),l.configs),currentUrl:l.currentUrl||r})},o)};function Ut({className:e}){return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function zt({siteType:e,type:t,enableSearch:o,className:i}){return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:o?b.getAssetPath("hamburgerMenuNewWithSearch.svg"):b.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:i,loading:"lazy"})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const Dt=u.div`
385
+ `,Nt=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:o,siteType:n="helloSites"})=>{const{t:l}=j();return i((()=>{document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(X,null,a.createElement(H,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:b.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},a.createElement($t,null,"helloSites"===n&&a.createElement("img",{src:b.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),a.createElement("h2",null,l("helloSites"===n?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,l("logout.popup.ask2")),a.createElement(Pt,{siteType:n},a.createElement(ee,{className:"logout-button",color:"tertiary",size:"lg",onClick:o},l("logout.popup.button.logout")),a.createElement(ee,{className:"cancel-button",color:"primary",size:"lg",onClick:t},l("logout.popup.button.cancel"))))))},Bt=({userInfo:t,siteType:n,onLoginClick:l,SSO_URL:r,currentUrl:s,isMinifyLogin:d,enableCare:c,enableTogether:m,enableEcom:p,isUserProfileNavigatorMenuHidden:u,UP_BASEPATH:f,isMyHealthEnabled:x,togetherApiDomain:w,onLogout:E,style:C,userProfileRouterPush:k,isLoading:$,locale:P,enableMySaved:B})=>{const{t:_}=j(),[M,A]=o(!1),T=(null==t?void 0:t.name)||(null==t?void 0:t.username),[L,H]=o(!1);i((()=>{H(!0)}),[]);const{containerRef:S,onContainerFocus:U,onContainerBlur:z,onButtonMouseDown:D,onClose:R}=ke();return $?a.createElement(g,{size:"sm",color:"transparent",loading:$}):(null==t?void 0:t.id)?a.createElement(a.Fragment,null,a.createElement(_e,{ref:S,style:C,tabIndex:0,onBlur:z,onFocus:U},a.createElement("div",{onMouseDown:D},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(h,{size:40,className:"user-avatar",src:null==t?void 0:t.avatar,color:"marryBaby"===n?G.mbColors.pink:G.colors.secondaryBase,placeholderText:T&&T.length?T[0].toUpperCase():"A"})),a.createElement(kt,{UP_BASEPATH:f,SSO_URL:r,dispatchLogout:()=>{R(),A(!0)},isOpen:!1,isMyHealthEnabled:x,enableCare:c,enableTogether:m,enableEcom:p,enableMySaved:B,closePopup:R,userInfo:t,siteType:n,isUserProfileNavigatorMenuHidden:u,togetherApiDomain:w,userProfileRouterPush:k,locale:P})),a.createElement(Nt,{openLogoutPopup:M,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),A(!1)},siteType:n,onLogoutHandler:()=>e(void 0,void 0,void 0,(function*(){A(!1),document.body.classList.toggle("noscroll",!1),yield E()}))})):a.createElement(Me,{style:Object.assign({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":s,href:L?void 0:N(`${r}?returnUrl=${s}`),"data-site-type":n},d?a.createElement(Be,{onClick:l},a.createElement("img",{src:b.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===n&&(P===V.Indonesia||P===V.PhilippinesTagalog||P===V.PhilippinesEnglish?a.createElement("img",{className:"mobile-only",src:b.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:l}):a.createElement(g,{className:"mobile-only",size:"sm",onClick:l,leftIcon:a.createElement(y,{useCurrentColor:!0,isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},_("navigation.loginJoin"))),"marryBaby"===n&&a.createElement("div",{className:"mobile-only",onClick:l,style:{paddingLeft:16}},a.createElement(v,{size:"p3",color:G.mbColors.pink},_("navigation.loginJoin"))),a.createElement(g,{className:"login-btn",size:"md",onClick:l,leftIcon:a.createElement(y,{useCurrentColor:!0,isSolid:!0,size:22})},_("navigation.loginJoin"))))};var _t="spdlGfq",Mt="vgS16jX";const At=({onCareHeaderClick:e,currentUrl:t,careUrlFe:o,btnName:i})=>e?a.createElement(ee,{className:_t,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},i):a.createElement("a",{href:o,className:`${Mt} care-button no-replace-click`},a.createElement(ee,{className:_t,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},i));var Tt="y5VJdvw",Lt="oVhOSCy",Ht="pX8OXTM";const St=a.createContext({}),Ut=e=>{var{children:o}=e,l=t(e,["children"]);const[r,s]=a.useState((()=>l.currentUrl||`https://${"marryBaby"===l.siteType?Z[l.locale||"en-PH"]:f[l.locale||"en-PH"]}${"together"===l.projectType?"/community":"ecom"===l.projectType?"/ecom":"care"===l.projectType?"/care":""}/`));i((()=>{const e=()=>{s(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const d=(({locale:e,projectType:t,isMobile:a,siteType:o,enableBookingBtn:i})=>n((()=>{const n=!(!a&&"profile"===t),l="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===o,r="marryBaby"!==o&&"marryBaby"!==t&&x.includes(e),s=i&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==o&&w.includes(e),d="marryBaby"===t||E.includes(e),c="marryBaby"!==o&&C.includes(e),m="marryBaby"!==o&&C.includes(e);let p=_(e,"marryBaby"===o);"undefined"!=typeof window&&(p.includes("//id.")&&(p=p.replace("id.","")),p.includes("//staging-id.")&&(p=p.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:n,enableSearchBar:l,enableNavCare:r,enableNavCareBooking:s,enableNavTogether:d,enableNavEcom:c,enableProfileEcom:m,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:`${p}/care`,TOGETHER_URL_FE:`${p}/community`,SSO_URL:M(e,"marryBaby"===o),TOGETHER_API:A(),DISCOVER_API:T(e)}}}),[e,t,a]))({locale:l.locale,projectType:l.projectType,isMobile:l.isMobile,siteType:l.siteType,enableBookingBtn:l.enableBookingBtn});return a.createElement(St.Provider,{value:Object.assign(Object.assign({},l),{configs:Object.assign(Object.assign({},d),l.configs),currentUrl:l.currentUrl||r})},o)};function zt({className:e}){return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function Dt({siteType:e,type:t,enableSearch:o,className:i}){return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:o?b.getAssetPath("hamburgerMenuNewWithSearch.svg"):b.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:t,className:i,loading:"lazy"})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const jt=u.div`
386
386
  position: fixed;
387
387
  z-index: 201;
388
388
  top: calc(100% + 1px); // border 1px
@@ -456,7 +456,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
456
456
  margin-right: 8px;
457
457
  }
458
458
  `,u.div`
459
- z-index: ${ht};
459
+ z-index: ${ut};
460
460
  align-items: center;
461
461
 
462
462
  border: 1px solid ${e=>e.theme.colors.neutral50};
@@ -646,7 +646,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
646
646
 
647
647
  background-color: ${e=>e.theme.mbColors.pink};
648
648
  border-radius: 2px;
649
- `;const jt=u.div`
649
+ `;const Rt=u.div`
650
650
  padding: 16px;
651
651
  padding-bottom: 12px;
652
652
  .fake-search-input {
@@ -664,7 +664,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
664
664
  border: none;
665
665
  }
666
666
  }
667
- `,Rt=u.div`
667
+ `,Ot=u.div`
668
668
  display: block;
669
669
  overflow-y: auto;
670
670
  flex: 1;
@@ -673,7 +673,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
673
673
  width: 0;
674
674
  display: none;
675
675
  }
676
- `,Ot=r((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),It=()=>{const{locale:e,configs:{statics:t},siteType:o}=s(Ht),i=R(),{t:n}=j();return a.createElement(q,{className:"fake-search-input",name:"search-input-menu-service"+i,size:"md",placeholder:"marryBaby"===o?n("navigation.search.input.placeholder"):n("home.search",{site:k[e||"en-PH"]?k[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${t.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(Ot,null))})},Ft=u.div`
676
+ `,It=r((()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.97183 10.8732C3.97183 7.0617 7.0617 3.97183 10.8732 3.97183C14.6848 3.97183 17.7746 7.0617 17.7746 10.8732C17.7746 14.6848 14.6848 17.7746 10.8732 17.7746C7.0617 17.7746 3.97183 14.6848 3.97183 10.8732ZM10.8732 2C5.97268 2 2 5.97268 2 10.8732C2 15.7738 5.97268 19.7465 10.8732 19.7465C12.9683 19.7465 14.8938 19.0204 16.4118 17.8061L20.3169 21.7112C20.702 22.0963 21.3262 22.0963 21.7112 21.7112C22.0963 21.3262 22.0963 20.702 21.7112 20.3169L17.8061 16.4118C19.0204 14.8938 19.7465 12.9683 19.7465 10.8732C19.7465 5.97268 15.7738 2 10.8732 2Z",fill:"#8C8C8C"})))),Ft=()=>{const{locale:e,configs:{statics:t},siteType:o}=s(St),i=R(),{t:n}=j();return a.createElement(q,{className:"fake-search-input",name:"search-input-menu-service"+i,size:"md",placeholder:"marryBaby"===o?n("navigation.search.input.placeholder"):n("home.search",{site:k[e||"en-PH"]?k[e||"en-PH"].SITE_NAME:""}),onChange:()=>{},onKeyDown:e=>"Enter"===e.key&&(window.location.href=`${t.HOME_PAGE_URL}/search/?s=${e.target.value}`),type:"search",onFocus:e=>{e.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(It,null))})},Vt=u.div`
677
677
  padding-right: 1rem;
678
678
  margin-top: 10px;
679
679
  background: #ffffff;
@@ -681,7 +681,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
681
681
  ${F.mbUp} {
682
682
  border-right: 1px solid #e4e8ec;
683
683
  }
684
- `,Vt=u.a`
684
+ `,Gt=u.a`
685
685
  padding: 10px 0;
686
686
  position: relative;
687
687
 
@@ -729,19 +729,19 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
729
729
  }
730
730
  }
731
731
  }
732
- `,Gt=u.div`
732
+ `,Wt=u.div`
733
733
  margin: 15px 0;
734
734
  ${F.mbDown} {
735
735
  display: none;
736
736
  }
737
- `,Wt=u.div`
737
+ `,Yt=u.div`
738
738
  display: flex;
739
739
  position: absolute;
740
740
  right: 0;
741
741
  ${F.mbUp} {
742
742
  display: none;
743
743
  }
744
- `,Yt=u.div`
744
+ `,Zt=u.div`
745
745
  display: flex;
746
746
  align-items: center;
747
747
  color: ${e=>e.theme.colors.primaryBase};
@@ -756,11 +756,11 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
756
756
  &[data-theme='marryBaby'] {
757
757
  color: ${e=>e.theme.mbColors.pink};
758
758
  }
759
- `,Zt=u.div`
759
+ `,qt=u.div`
760
760
  display: flex;
761
761
  align-items: center;
762
762
  margin-left: 10px;
763
- `,qt=u.a`
763
+ `,Kt=u.a`
764
764
  border: 1px solid ${e=>e.theme.colors.primaryBase};
765
765
  &[data-theme='marryBaby'] {
766
766
  border: 1px solid ${e=>e.theme.mbColors.pink};
@@ -779,7 +779,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
779
779
  ${F.mbDown} {
780
780
  display: none;
781
781
  }
782
- `;var Kt="wnUb-dV",Qt="cjbOxWe",Jt="gB4rp89";const Xt=({item:e,menu:t})=>{const{containerRef:o,onContainerFocus:i,onContainerBlur:n,onButtonMouseDown:l,onClose:r}=Ce({allowBgScroll:!0}),s=ne();return!e.popupType&&e.link?a.createElement(ea,{isNew:e.isNew},a.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Qt},"care"===e.id&&a.createElement("div",{className:Jt},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):a.createElement(ea,{isNew:e.isNew},a.createElement("div",{ref:o,className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:n,onFocus:i,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:l,className:Qt},"care"===e.id&&a.createElement("a",{className:Jt,href:N(e.link+"/")},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&a.createElement("div",{className:Kt},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:r}):null))},ea=({isNew:e,children:t})=>{const{t:o}=j();return e?a.createElement(ie,{color:"green",label:o("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):a.createElement(a.Fragment,null,t)},ta=({hrefViewMore:e,titleBtnViewMore:t,UrlFE:o,onClosePopup:i,menuItems:n,headingTitle:l})=>{const{siteType:r}=s(Ht);return a.createElement(Ft,null,a.createElement(Gt,null,a.createElement(K,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},l)),null==n?void 0:n.slice(0,6).map(((e,t)=>{const n=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${o}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return a.createElement(Vt,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":n,"data-is-heading-category":!1,href:n},!me(n)&&{target:"_blank"},{"data-theme":r,key:t,onClick:i}),a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),a.createElement(ea,{isNew:e.isNew},a.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),a.createElement(Wt,null,a.createElement("img",{src:b.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),t&&a.createElement(qt,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(Yt,{onClick:i,"data-theme":r,"data-is-heading-category":!1},t,a.createElement(Zt,null,a.createElement("img",{className:"svg",src:"marryBaby"===r?b.getAssetPath("chevronRightPink.svg"):b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))};u.div`
782
+ `;var Qt="wnUb-dV",Jt="cjbOxWe",Xt="gB4rp89";const ea=({item:e,menu:t})=>{const{containerRef:o,onContainerFocus:i,onContainerBlur:n,onButtonMouseDown:l,onClose:r}=ke({allowBgScroll:!0}),s=le();return!e.popupType&&e.link?a.createElement(ta,{isNew:e.isNew},a.createElement("a",{className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,className:Jt},"care"===e.id&&a.createElement("div",{className:Xt},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name))):a.createElement(ta,{isNew:e.isNew},a.createElement("div",{ref:o,className:`hhgcomp-navigation-itemnav-headeritem ${s?"":`menu-handler-${e.id}`} ${"care"===e.id?"force-focus":""}`,tabIndex:0,key:e.id,onBlur:n,onFocus:i,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e.link,onMouseDown:l,className:Jt},"care"===e.id&&a.createElement("a",{className:Xt,href:N(e.link+"/")},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M13.4751 21.5C11.8084 21.5 10.3918 20.9167 9.2251 19.75C8.05843 18.5833 7.4751 17.1667 7.4751 15.5V14.95C6.1251 14.7833 4.9961 14.1833 4.0881 13.15C3.17943 12.1167 2.7251 10.9 2.7251 9.5V4.65C2.7251 4.4 2.81243 4.18733 2.9871 4.012C3.16243 3.83733 3.3751 3.75 3.6251 3.75H5.7251V3.5C5.7251 3.28333 5.7961 3.104 5.9381 2.962C6.07943 2.82067 6.25843 2.75 6.4751 2.75C6.69176 2.75 6.8711 2.82067 7.0131 2.962C7.15443 3.104 7.2251 3.28333 7.2251 3.5V5.5C7.2251 5.71667 7.15443 5.89567 7.0131 6.037C6.8711 6.179 6.69176 6.25 6.4751 6.25C6.25843 6.25 6.07943 6.179 5.9381 6.037C5.7961 5.89567 5.7251 5.71667 5.7251 5.5V5.25H4.2251V9.5C4.2251 10.6 4.61676 11.5417 5.4001 12.325C6.18343 13.1083 7.1251 13.5 8.2251 13.5C9.3251 13.5 10.2668 13.1083 11.0501 12.325C11.8334 11.5417 12.2251 10.6 12.2251 9.5V5.25H10.7251V5.5C10.7251 5.71667 10.6544 5.89567 10.5131 6.037C10.3711 6.179 10.1918 6.25 9.9751 6.25C9.75843 6.25 9.57943 6.179 9.4381 6.037C9.2961 5.89567 9.2251 5.71667 9.2251 5.5V3.5C9.2251 3.28333 9.2961 3.104 9.4381 2.962C9.57943 2.82067 9.75843 2.75 9.9751 2.75C10.1918 2.75 10.3711 2.82067 10.5131 2.962C10.6544 3.104 10.7251 3.28333 10.7251 3.5V3.75H12.8251C13.0751 3.75 13.2878 3.83733 13.4631 4.012C13.6378 4.18733 13.7251 4.4 13.7251 4.65V9.5C13.7251 10.9 13.2711 12.1167 12.3631 13.15C11.4544 14.1833 10.3251 14.7833 8.9751 14.95V15.5C8.9751 16.75 9.41276 17.8127 10.2881 18.688C11.1628 19.5627 12.2251 20 13.4751 20C14.7251 20 15.7878 19.5627 16.6631 18.688C17.5378 17.8127 17.9751 16.75 17.9751 15.5V13.875C17.4584 13.7083 17.0294 13.404 16.6881 12.962C16.3461 12.5207 16.1751 12.0167 16.1751 11.45C16.1751 10.7333 16.4251 10.125 16.9251 9.625C17.4251 9.125 18.0251 8.875 18.7251 8.875C19.4418 8.875 20.0501 9.125 20.5501 9.625C21.0501 10.125 21.3001 10.7333 21.3001 11.45C21.3001 12.0167 21.1294 12.5207 20.7881 12.962C20.4461 13.404 20.0084 13.7083 19.4751 13.875V15.5C19.4751 17.1667 18.8918 18.5833 17.7251 19.75C16.5584 20.9167 15.1418 21.5 13.4751 21.5Z",fill:"#2D87F3",strokeWidth:0}))),e.name,e.popupType&&a.createElement("div",{className:Qt},a.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M11.5 7.5L9 10L6.5 7.5",stroke:"#202135",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})))),a.isValidElement(t)?a.cloneElement(t,{onClose:r}):null))},ta=({isNew:e,children:t})=>{const{t:o}=j();return e?a.createElement(ne,{color:"green",label:o("home.navigator.menuItem.new"),size:20,styles:{root:{paddingRight:10}}},t):a.createElement(a.Fragment,null,t)},aa=({hrefViewMore:e,titleBtnViewMore:t,UrlFE:o,onClosePopup:i,menuItems:n,headingTitle:l})=>{const{siteType:r}=s(St);return a.createElement(Vt,null,a.createElement(Wt,null,a.createElement(K,{tag:"marryBaby"===r?"h5":"h6",as:"p",fontWeight:"semibold"},l)),null==n?void 0:n.slice(0,6).map(((e,t)=>{const n=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:`${o}/${null==e?void 0:e.link.split("/").filter(Boolean).join("/")}/`:"/";return a.createElement(Gt,Object.assign({className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":n,"data-is-heading-category":!1,href:n},!pe(n)&&{target:"_blank"},{"data-theme":r,key:t,onClick:i}),a.createElement("div",{className:"icon"},a.createElement("img",{loading:"lazy",alt:e.name,src:e.thumbnail||"/images/avatar.jpg",style:{width:32,height:32,maxWidth:32,maxHeight:32,overflow:"hidden"}})),a.createElement(ta,{isNew:e.isNew},a.createElement("p",{style:{paddingRight:e.isNew?10:0}},e.name)),a.createElement(Yt,null,a.createElement("img",{src:b.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))})),t&&a.createElement(Kt,{"data-theme":r,style:{textDecoration:"none"},href:e,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":e},a.createElement(Zt,{onClick:i,"data-theme":r,"data-is-heading-category":!1},t,a.createElement(qt,null,a.createElement("img",{className:"svg",src:"marryBaby"===r?b.getAssetPath("chevronRightPink.svg"):b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"})))))};u.div`
783
783
  & > a:not(:last-child) > div {
784
784
  border-bottom: 1px solid
785
785
  ${e=>e.theme.colors.neutral100};
@@ -792,7 +792,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
792
792
  &[data-is-displayed='false'] {
793
793
  display: none;
794
794
  }
795
- `;const aa=u.div`
795
+ `;const oa=u.div`
796
796
  display: grid;
797
797
 
798
798
  grid-template-columns: repeat(3, 1fr);
@@ -801,7 +801,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
801
801
  ${F.tdDown} {
802
802
  grid-template-columns: repeat(1, 1fr);
803
803
  }
804
- `,oa=u.div`
804
+ `,ia=u.div`
805
805
  height: 152px; // 120 + 16 * 2
806
806
  position: absolute;
807
807
  top: 0;
@@ -832,12 +832,12 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
832
832
  ${F.mbDown} {
833
833
  width: 80px;
834
834
  }
835
- `,ia=u.div`
835
+ `,na=u.div`
836
836
  background-color: #ffffff;
837
837
  border-radius: 4px;
838
838
  width: 100%;
839
839
  height: 100%;
840
- `,na=u.div`
840
+ `,la=u.div`
841
841
  display: flex;
842
842
  margin-top: 1rem;
843
843
  align-items: center;
@@ -848,7 +848,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
848
848
  ${F.tdDown} {
849
849
  display: none;
850
850
  }
851
- `,la=u.p`
851
+ `,ra=u.p`
852
852
  font-size: 16px;
853
853
  font-weight: 600;
854
854
  line-height: 1.6;
@@ -856,7 +856,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
856
856
  ${F.tdDown} {
857
857
  padding: 0;
858
858
  }
859
- `,ra=u.p`
859
+ `,sa=u.p`
860
860
  font-size: 14px;
861
861
  line-height: 1.6;
862
862
  font-weight: 400;
@@ -872,7 +872,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
872
872
  height: unset;
873
873
  padding: 0;
874
874
  }
875
- `,sa="hhgcomp-navigation-menucareitem-contentwrapper",da=Y(u.div`
875
+ `,da="hhgcomp-navigation-menucareitem-contentwrapper",ca=Y(u.div`
876
876
  display: flex;
877
877
  flex-direction: column;
878
878
  gap: 8px;
@@ -881,7 +881,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
881
881
  ${F.tdDown} {
882
882
  gap: 4px;
883
883
  }
884
- `,sa),ca=u.a`
884
+ `,da),ma=u.a`
885
885
  text-decoration: none;
886
886
  border-radius: 4px;
887
887
  background: ${G.colors.white};
@@ -914,7 +914,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
914
914
  max-height: 110px;
915
915
  display: flex;
916
916
  flex-direction: row-reverse;
917
- > .${sa} {
917
+ > .${da} {
918
918
  flex: 1;
919
919
  }
920
920
  img {
@@ -943,7 +943,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
943
943
  position: absolute;
944
944
  display: inline-block;
945
945
  }
946
- `,ma=({item:e,index:t=0})=>{var o;const{t:i}=j(),{locale:n,configs:{statics:l}}=s(Ht);if(!e)return null;const r=`${l.CARE_URL_FE}/${null===(o=ae[n])||void 0===o?void 0:o.HOSPITAL}/${e.slug}-${e.id}`;return a.createElement(ca,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":r},a.createElement("img",{src:b.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(oa,null,a.createElement(ia,null,a.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),a.createElement(da,null,a.createElement(la,null,e.name),a.createElement(ra,null,e.description),a.createElement(na,null,i("home.seeMore"),a.createElement("img",{src:b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},pa=u.div`
946
+ `,pa=({item:e,index:t=0})=>{var o;const{t:i}=j(),{locale:n,configs:{statics:l}}=s(St);if(!e)return null;const r=`${l.CARE_URL_FE}/${null===(o=oe[n])||void 0===o?void 0:o.HOSPITAL}/${e.slug}-${e.id}`;return a.createElement(ma,{key:e.id,href:r,"data-event-category":"Hamburger Navigation","data-event-action":`Care Click ${t+1}`,"data-event-label":r},a.createElement("img",{src:b.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(ia,null,a.createElement(na,null,a.createElement("img",{loading:"lazy",alt:e.name,src:e.logo||"/images/avatar.jpg"}))),a.createElement(ca,null,a.createElement(ra,null,e.name),a.createElement(sa,null,e.description),a.createElement(la,null,i("home.seeMore"),a.createElement("img",{src:b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))))},ga=u.div`
947
947
  padding: 16px;
948
948
  border-radius: 8px;
949
949
  position: relative;
@@ -975,26 +975,26 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
975
975
  grid-gap: 10px;
976
976
  grid-template-columns: 1fr 3fr;
977
977
  }
978
- `,ga=u.div`
978
+ `,ha=u.div`
979
979
  font-weight: 400;
980
980
  font-size: 14px;
981
981
  line-height: 24px;
982
982
  color: ${e=>e.theme.colors.gray600};
983
983
  margin-bottom: 15px;
984
- `,ha=u.div`
984
+ `,ua=u.div`
985
985
  font-weight: 600;
986
986
  font-size: 16px;
987
987
  line-height: 26px;
988
988
  color: #000000;
989
989
  margin-bottom: 4px;
990
- `,ua=u.div`
990
+ `,va=u.div`
991
991
  background: #fff;
992
992
  padding: 5px;
993
993
  display: flex;
994
994
  align-items: center;
995
995
  justify-content: center;
996
996
  border-radius: 50px;
997
- `,va=u.div`
997
+ `,ya=u.div`
998
998
  display: flex;
999
999
  justify-content: center;
1000
1000
  align-items: center;
@@ -1003,7 +1003,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1003
1003
  justify-content: end;
1004
1004
  min-height: 100px;
1005
1005
  }
1006
- `,ya=({title:e,link:t,description:o,cta:i,icon:n})=>{const{siteType:l}=s(Ht);return a.createElement(pa,{"data-theme":l},a.createElement(va,null,a.createElement("img",{src:"marryBaby"===l?b.getAssetPath("navMBSpotlightBgNoData.svg"):b.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(ua,null,n&&a.createElement("img",{src:n,width:64,height:64,loading:"lazy"}))),a.createElement("div",null,e&&a.createElement(ha,null,e),o&&a.createElement(ga,null,o),i&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(X,{theme:l,className:"survey-contact-submit",size:"md"},i)))))},ba=u.div`
1006
+ `,ba=({title:e,link:t,description:o,cta:i,icon:n})=>{const{siteType:l}=s(St);return a.createElement(ga,{"data-theme":l},a.createElement(ya,null,a.createElement("img",{src:"marryBaby"===l?b.getAssetPath("navMBSpotlightBgNoData.svg"):b.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(va,null,n&&a.createElement("img",{src:n,width:64,height:64,loading:"lazy"}))),a.createElement("div",null,e&&a.createElement(ua,null,e),o&&a.createElement(ha,null,o),i&&a.createElement("div",null,a.createElement("a",{href:t},a.createElement(ee,{theme:l,className:"survey-contact-submit",size:"md"},i)))))},fa=u.div`
1007
1007
  margin-top: 10px;
1008
1008
  background: #ffffff;
1009
1009
  padding: 5px 15px;
@@ -1019,10 +1019,10 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1019
1019
  content: '';
1020
1020
  }
1021
1021
  }
1022
- `,fa=u.div`
1022
+ `,xa=u.div`
1023
1023
  margin: 15px 0;
1024
1024
  display: flex;
1025
- `,xa=u.a`
1025
+ `,wa=u.a`
1026
1026
  padding-left: 10px;
1027
1027
  display: flex;
1028
1028
  align-items: center;
@@ -1039,7 +1039,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1039
1039
  ${F.mbDown} {
1040
1040
  margin-left: auto;
1041
1041
  }
1042
- `,wa=({title:e,viewMore:t,children:o,link:i,dataEventAction:n=""})=>{const{siteType:l}=s(Ht);return a.createElement(ba,null,a.createElement(fa,null,a.createElement(K,{tag:"marryBaby"===l?"h5":"h6",as:"p",fontWeight:"semibold"},e),t&&a.createElement(xa,{"data-event-category":"Hamburger Navigation","data-event-action":n,"data-event-label":i,href:i,"data-theme":l},t,a.createElement("img",{src:"marryBaby"===l?b.getAssetPath("chevronRightPink.svg"):b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),o)},Ea=({spotlights:e=[],hrefViewMore:t})=>{const{t:o}=j(),{siteType:i}=s(Ht);return a.createElement(wa,{title:o("home.navigator.menu.spotlightHospitals")},0!==e.length?a.createElement(a.Fragment,null,a.createElement(aa,null,null==e?void 0:e.slice(0,3).map(((e,t)=>a.createElement(ma,{key:t,index:t,item:e})))),a.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},a.createElement("a",{href:t},a.createElement(X,{theme:i,className:"survey-contact-submit",size:"md"},o("home.navigator.menu.care.homeButton"))))):a.createElement(ya,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:t,cta:o("home.navigator.menu.care.homeButton"),icon:b.getAssetPath("community.svg")}))};u.div`
1042
+ `,Ea=({title:e,viewMore:t,children:o,link:i,dataEventAction:n=""})=>{const{siteType:l}=s(St);return a.createElement(fa,null,a.createElement(xa,null,a.createElement(K,{tag:"marryBaby"===l?"h5":"h6",as:"p",fontWeight:"semibold"},e),t&&a.createElement(wa,{"data-event-category":"Hamburger Navigation","data-event-action":n,"data-event-label":i,href:i,"data-theme":l},t,a.createElement("img",{src:"marryBaby"===l?b.getAssetPath("chevronRightPink.svg"):b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"},loading:"lazy"}))),o)},Ca=({spotlights:e=[],hrefViewMore:t})=>{const{t:o}=j(),{siteType:i}=s(St);return a.createElement(Ea,{title:o("home.navigator.menu.spotlightHospitals")},0!==e.length?a.createElement(a.Fragment,null,a.createElement(oa,null,null==e?void 0:e.slice(0,3).map(((e,t)=>a.createElement(pa,{key:t,index:t,item:e})))),a.createElement("div",{style:{position:"absolute",bottom:"6px",right:"1rem"}},a.createElement("a",{href:t},a.createElement(ee,{theme:i,className:"survey-contact-submit",size:"md"},o("home.navigator.menu.care.homeButton"))))):a.createElement(ba,{title:o("home.navigator.menu.care.noDatas.title"),description:o("home.navigator.menu.care.noDatas.description"),link:t,cta:o("home.navigator.menu.care.homeButton"),icon:b.getAssetPath("community.svg")}))};u.div`
1043
1043
  &[data-category-list-type='sub'] {
1044
1044
  padding-bottom: 72px;
1045
1045
  }
@@ -1052,7 +1052,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1052
1052
  width: 100%;
1053
1053
  margin-bottom: 8px;
1054
1054
  }
1055
- `;const Ca=u.div`
1055
+ `;const ka=u.div`
1056
1056
  display: grid;
1057
1057
 
1058
1058
  grid-template-columns: repeat(4, 1fr);
@@ -1061,7 +1061,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1061
1061
  gap: 12px;
1062
1062
  grid-template-columns: 1fr;
1063
1063
  }
1064
- `,ka=u.a`
1064
+ `,$a=u.a`
1065
1065
  width: 100%;
1066
1066
  display: flex;
1067
1067
  align-items: center;
@@ -1069,7 +1069,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1069
1069
  * {
1070
1070
  pointer-events: none;
1071
1071
  }
1072
- `,$a=u.div`
1072
+ `,Pa=u.div`
1073
1073
  border-radius: 5px;
1074
1074
  display: block;
1075
1075
  overflow: hidden;
@@ -1090,7 +1090,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1090
1090
  width: 72px;
1091
1091
  padding-top: 100px;
1092
1092
  }
1093
- `,Pa=u.p`
1093
+ `,Na=u.p`
1094
1094
  font-size: 16px;
1095
1095
  font-weight: 400;
1096
1096
  padding: 4px 15px;
@@ -1100,7 +1100,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1100
1100
  ${F.tdUp} {
1101
1101
  display: none;
1102
1102
  }
1103
- `,Na=({item:e,index:t=0})=>e?a.createElement(ka,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},a.createElement($a,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(Pa,null,e.title)):null,Ba=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:o}=j(),{configs:{statics:i}}=s(Ht);return a.createElement(wa,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:t,dataEventAction:"Spotlight See More Click"},0!==e.length?a.createElement(Ca,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(Na,{key:t,index:t,item:{id:e.id,link:i.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):a.createElement(ya,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:t,cta:o("home.navigator.menu.category.noDatas.cta"),icon:b.getAssetPath("Spotlight.svg")}))};u.div`
1103
+ `,Ba=({item:e,index:t=0})=>e?a.createElement($a,{key:e.id,href:e.link,"data-event-category":"Hamburger Navigation","data-event-action":`Spotlight Click ${t+1}`,"data-event-label":e.link},a.createElement(Pa,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.banner||"/images/notFound-min-small.jpg"})),a.createElement(Na,null,e.title)):null,_a=({spotlightsList:e=[],hrefViewMore:t})=>{const{t:o}=j(),{configs:{statics:i}}=s(St);return a.createElement(Ea,{title:o("home.navigator.menu.spotlights"),viewMore:o("home.navigator.menu.spotlights.seeAll"),link:t,dataEventAction:"Spotlight See More Click"},0!==e.length?a.createElement(ka,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(Ba,{key:t,index:t,item:{id:e.id,link:i.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})))):a.createElement(ba,{title:o("home.navigator.menu.category.noDatas.title"),description:o("home.navigator.menu.category.noDatas.description"),link:t,cta:o("home.navigator.menu.category.noDatas.cta"),icon:b.getAssetPath("Spotlight.svg")}))};u.div`
1104
1104
  & > :not(:last-child) {
1105
1105
  border-bottom: 1px solid
1106
1106
  ${e=>e.theme.colors.neutral100};
@@ -1123,7 +1123,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1123
1123
  width: 100%;
1124
1124
  margin-bottom: 8px;
1125
1125
  }
1126
- `;const _a=u.div`
1126
+ `;const Ma=u.div`
1127
1127
  display: grid;
1128
1128
  grid-template-columns: repeat(2, 1fr);
1129
1129
  grid-gap: 48px;
@@ -1134,15 +1134,15 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1134
1134
  ${F.mbDown} {
1135
1135
  grid-gap: 24px;
1136
1136
  }
1137
- `,Ma=u.div`
1137
+ `,Aa=u.div`
1138
1138
  padding: 5px;
1139
1139
  flex: 1;
1140
- `,Aa=u.img`
1140
+ `,Ta=u.img`
1141
1141
  width: 88px;
1142
1142
  height: 88px;
1143
1143
  border-radius: 4px;
1144
1144
  object-fit: cover;
1145
- `,Ta=u.div`
1145
+ `,La=u.div`
1146
1146
  font-size: 12px;
1147
1147
  font-weight: 600;
1148
1148
  color: ${e=>e.theme.colors.gray800};
@@ -1151,7 +1151,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1151
1151
  font-weight: 400;
1152
1152
  letter-spacing: -0.2px;
1153
1153
  }
1154
- `,La=u.div`
1154
+ `,Ha=u.div`
1155
1155
  text-decoration: none;
1156
1156
  font-size: 12px;
1157
1157
  font-weight: 400;
@@ -1160,15 +1160,15 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1160
1160
  font-weight: 400;
1161
1161
  letter-spacing: -0.2px;
1162
1162
  }
1163
- `,Ha=u.div`
1163
+ `,Sa=u.div`
1164
1164
  font-size: 12px;
1165
1165
  font-weight: 400;
1166
1166
  color: ${e=>e.theme.colors.gray600};
1167
- `,Sa=u.div`
1167
+ `,Ua=u.div`
1168
1168
  font-size: 12px;
1169
1169
  font-weight: 400;
1170
1170
  color: ${e=>e.theme.colors.gray600};
1171
- `,Ua=u.a`
1171
+ `,za=u.a`
1172
1172
  display: flex;
1173
1173
  gap: 10px;
1174
1174
  text-decoration: none;
@@ -1201,12 +1201,12 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1201
1201
  }
1202
1202
  }
1203
1203
  }
1204
- `,za=u.div`
1204
+ `,Da=u.div`
1205
1205
  display: flex;
1206
1206
  gap: 10px;
1207
1207
  vertical-align: middle;
1208
1208
  align-items: center;
1209
- `,Da=u.div`
1209
+ `,ja=u.div`
1210
1210
  margin-top: 8px;
1211
1211
  font-size: 16px;
1212
1212
  font-weight: 600;
@@ -1218,20 +1218,20 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1218
1218
  line-height: 24px;
1219
1219
  letter-spacing: -0.2px;
1220
1220
  }
1221
- `,ja=u.div`
1221
+ `,Ra=u.div`
1222
1222
  display: flex;
1223
1223
  flex-wrap: wrap;
1224
1224
  align-items: center;
1225
1225
  column-gap: 5px;
1226
- `,Ra=u.div`
1226
+ `,Oa=u.div`
1227
1227
  display: flex;
1228
1228
  gap: 4px;
1229
1229
  flex-direction: column;
1230
- `;ee.extend(le);const Oa=({post:e,index:t=0})=>{var o,i,n,l,r,d,c;const{siteType:m,configs:{statics:p}}=s(Ht);if(!e)return null;const g=[p.TOGETHER_URL_FE,null===(o=e.community)||void 0===o?void 0:o.slug].join("/"),h=[g,e.slug].join("/"),u=e.createdAt,v=u?isNaN(new Date(u).getTime())?null:new Date(u):null,y=v?ee(v).toNow(!0):u;return a.createElement(Ua,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement(Ma,null,a.createElement(za,null,a.createElement(S,{avatar:null===(i=e.author)||void 0===i?void 0:i.avatar,username:(null===(n=e.author)||void 0===n?void 0:n.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),a.createElement(Ra,null,a.createElement(Ta,{"data-theme":m},null===(r=e.author)||void 0===r?void 0:r.name),a.createElement(ja,null,a.createElement(La,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":g,onClick:e=>{e.preventDefault(),location.href=g},"data-theme":m},null===(d=e.community)||void 0===d?void 0:d.name),a.createElement(Sa,null,"•"),a.createElement(Ha,{"data-theme":m},y)))),a.createElement(Da,null,e.title)),!!(null===(c=e.photos)||void 0===c?void 0:c.length)&&a.createElement(Aa,{loading:"lazy",src:e.photos[0]}))},Ia=({spotlights:e=[]})=>{const{configs:{statics:t}}=s(Ht),{t:o}=j();return a.createElement(wa,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:B(t.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?a.createElement(_a,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(Oa,{index:t,post:e,key:e.id})))):a.createElement(ya,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:`${t.HOME_PAGE_URL}/community/`,cta:o("home.navigator.menu.together.noPosts.cta"),icon:b.getAssetPath("community.svg")}))};u.div`
1230
+ `;te.extend(re);const Ia=({post:e,index:t=0})=>{var o,i,n,l,r,d,c;const{siteType:m,configs:{statics:p}}=s(St);if(!e)return null;const g=[p.TOGETHER_URL_FE,null===(o=e.community)||void 0===o?void 0:o.slug].join("/"),h=[g,e.slug].join("/"),u=e.createdAt,v=u?isNaN(new Date(u).getTime())?null:new Date(u):null,y=v?te(v).toNow(!0):u;return a.createElement(za,{href:h,"data-event-category":"Hamburger Navigation","data-event-action":`Together Click ${t+1}`,"data-event-label":h},a.createElement(Aa,null,a.createElement(Da,null,a.createElement(S,{avatar:null===(i=e.author)||void 0===i?void 0:i.avatar,username:(null===(n=e.author)||void 0===n?void 0:n.name)||(null===(l=e.author)||void 0===l?void 0:l.username)}),a.createElement(Oa,null,a.createElement(La,{"data-theme":m},null===(r=e.author)||void 0===r?void 0:r.name),a.createElement(Ra,null,a.createElement(Ha,{"data-event-category":"Hamburger Navigation","data-event-action":`Topic Click ${t+1}`,"data-event-label":g,onClick:e=>{e.preventDefault(),location.href=g},"data-theme":m},null===(d=e.community)||void 0===d?void 0:d.name),a.createElement(Ua,null,"•"),a.createElement(Sa,{"data-theme":m},y)))),a.createElement(ja,null,e.title)),!!(null===(c=e.photos)||void 0===c?void 0:c.length)&&a.createElement(Ta,{loading:"lazy",src:e.photos[0]}))},Fa=({spotlights:e=[]})=>{const{configs:{statics:t}}=s(St),{t:o}=j();return a.createElement(Ea,{title:o("home.navigator.menu.trendingPosts"),viewMore:o("home.navigator.menu.trendingPosts.seeMore"),link:B(t.TOGETHER_URL_FE),dataEventAction:"Together See More Click"},0!==e.length?a.createElement(Ma,null,null==e?void 0:e.slice(0,4).map(((e,t)=>a.createElement(Ia,{index:t,post:e,key:e.id})))):a.createElement(ba,{title:o("home.navigator.menu.together.noPosts.title"),description:o("home.navigator.menu.together.noPosts.description"),link:`${t.HOME_PAGE_URL}/community/`,cta:o("home.navigator.menu.together.noPosts.cta"),icon:b.getAssetPath("community.svg")}))};u.div`
1231
1231
  &[data-is-display='false'] {
1232
1232
  display: none;
1233
1233
  }
1234
- `;const Fa=u.div`
1234
+ `;const Va=u.div`
1235
1235
  display: grid;
1236
1236
 
1237
1237
  grid-template-columns: repeat(3, 1fr);
@@ -1240,7 +1240,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1240
1240
  grid-template-columns: 1fr;
1241
1241
  gap: 12px;
1242
1242
  }
1243
- `,Va=u.a`
1243
+ `,Ga=u.a`
1244
1244
  text-decoration: none;
1245
1245
  border-radius: 4px;
1246
1246
  background: ${e=>e.theme.colors.primary50};
@@ -1271,7 +1271,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1271
1271
  display: flex;
1272
1272
  align-items: center;
1273
1273
  }
1274
- `,Ga=u.div`
1274
+ `,Wa=u.div`
1275
1275
  width: 64px;
1276
1276
  height: 64px;
1277
1277
  background: white;
@@ -1294,19 +1294,19 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1294
1294
  top: unset;
1295
1295
  right: unset;
1296
1296
  }
1297
- `,Wa=u.div`
1297
+ `,Ya=u.div`
1298
1298
  display: flex;
1299
1299
  align-items: center;
1300
1300
  color: ${e=>e.theme.colors.primaryBase};
1301
1301
  font-weight: 400;
1302
1302
  font-size: 14px;
1303
1303
  text-decoration: none;
1304
- `,Ya=u.p`
1304
+ `,Za=u.p`
1305
1305
  font-size: 16px;
1306
1306
  font-weight: 600;
1307
1307
  line-height: 1.4;
1308
1308
  color: ${e=>e.theme.colors.gray800};
1309
- `,Za=u.p`
1309
+ `,qa=u.p`
1310
1310
  font-size: 14px;
1311
1311
  line-height: 1.4;
1312
1312
  font-weight: 400;
@@ -1321,7 +1321,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1321
1321
  ${F.tdDown} {
1322
1322
  display: none;
1323
1323
  }
1324
- `,qa=u.div`
1324
+ `,Ka=u.div`
1325
1325
  display: flex;
1326
1326
  flex-direction: column;
1327
1327
  flex: 1;
@@ -1333,7 +1333,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1333
1333
  gap: 4px;
1334
1334
  flex: 1;
1335
1335
  }
1336
- `,Ka=({item:e,index:t=0})=>{const{t:o}=j(),{configs:{statics:i}}=s(Ht);if(!e)return null;const n=e.link?e.link.startsWith("http")?e.link:`${i.HOME_PAGE_URL}${e.link}`:void 0;return a.createElement(Va,{href:n,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":n},a.createElement("img",{src:b.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(qa,null,a.createElement(Ya,null,e.title),a.createElement(Za,null,e.subtitle),a.createElement(Wa,null,o("home.seeMore"),a.createElement("img",{src:b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),a.createElement(Ga,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Qa=u.a`
1336
+ `,Qa=({item:e,index:t=0})=>{const{t:o}=j(),{configs:{statics:i}}=s(St);if(!e)return null;const n=e.link?e.link.startsWith("http")?e.link:`${i.HOME_PAGE_URL}${e.link}`:void 0;return a.createElement(Ga,{href:n,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":n},a.createElement("img",{src:b.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(Ka,null,a.createElement(Za,null,e.title),a.createElement(qa,null,e.subtitle),a.createElement(Ya,null,o("home.seeMore"),a.createElement("img",{src:b.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"},loading:"lazy"}))),a.createElement(Wa,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})))},Ja=u.a`
1337
1337
  text-decoration: none;
1338
1338
  border-radius: 12px;
1339
1339
 
@@ -1413,7 +1413,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1413
1413
  display: none;
1414
1414
  }
1415
1415
  }
1416
- `,Ja=u.div`
1416
+ `,Xa=u.div`
1417
1417
  width: 48px;
1418
1418
  height: 48px;
1419
1419
  background: white;
@@ -1441,7 +1441,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1441
1441
  left: 32px;
1442
1442
  top: 28px;
1443
1443
  }
1444
- `,Xa=u.div`
1444
+ `,eo=u.div`
1445
1445
  display: flex;
1446
1446
  align-items: center;
1447
1447
  background: white;
@@ -1465,13 +1465,13 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1465
1465
  color: ${e=>e.theme.mbColors.pink};
1466
1466
  padding-left: 16px;
1467
1467
  }
1468
- `,eo=u.p`
1468
+ `,to=u.p`
1469
1469
  font-weight: 600;
1470
1470
  font-size: 14px;
1471
1471
  line-height: 24px;
1472
1472
  letter-spacing: -0.2px;
1473
1473
  color: ${e=>e.theme.colors.gray800};
1474
- `,to=u.p`
1474
+ `,ao=u.p`
1475
1475
  font-weight: 400;
1476
1476
  font-size: 12px;
1477
1477
  line-height: 18px;
@@ -1487,7 +1487,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1487
1487
  ${F.tdDown} {
1488
1488
  display: none;
1489
1489
  }
1490
- `,ao=u.div`
1490
+ `,oo=u.div`
1491
1491
  display: flex;
1492
1492
  flex: 1;
1493
1493
  z-index: 1;
@@ -1503,7 +1503,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1503
1503
  justify-content: flex-start;
1504
1504
  gap: 4px;
1505
1505
  }
1506
- `,oo=u.div`
1506
+ `,io=u.div`
1507
1507
  display: flex;
1508
1508
  flex-direction: column;
1509
1509
  flex: 1;
@@ -1516,7 +1516,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1516
1516
  flex: 1;
1517
1517
  padding-left: 16px;
1518
1518
  }
1519
- `,io=u.div`
1519
+ `,no=u.div`
1520
1520
  display: flex;
1521
1521
  flex-direction: row;
1522
1522
  flex: 1;
@@ -1531,7 +1531,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1531
1531
  justify-content: flex-start;
1532
1532
  align-items: flex-start;
1533
1533
  }
1534
- `,no=({item:e,index:t=0,color:o})=>{const{t:i}=j(),{configs:{statics:n}}=s(Ht);if(!e)return null;const l=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0,r=()=>a.createElement(Ja,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),d=()=>a.createElement(io,null,a.createElement(oo,null,a.createElement(eo,null,e.title),a.createElement(to,null,e.subtitle)),a.createElement(Xa,null,a.createElement("div",{className:"mobile-only"},i("home.seeMore")),a.createElement("img",{src:b.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return a.createElement(Qa,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":l,"data-color":o},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:b.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(ao,null,a.createElement("div",{className:"mobile-only"},r()),a.createElement("div",{className:"desktop-only"},d())),a.createElement("div",{className:"mobile-only"},d()),a.createElement("div",{className:"desktop-only"},r()))},lo=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{const{t:o}=j(),i=["pink","orange","green"],{siteType:n}=s(Ht);return a.createElement(wa,{title:o("home.navigator.menu.spotlightTools")},0!==t.length&&a.createElement(Fa,null,null==t?void 0:t.slice(0,3).map(((e,t)=>"marryBaby"===n?a.createElement(no,{key:t,index:t,item:e,color:i[t]}):a.createElement(Ka,{key:t,index:t,item:e})))),0===t.length&&a.createElement(ya,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:b.getAssetPath("community.svg")}))},ro=({closePopup:e,menuItems:t=[]})=>{var o,i;const{siteType:n,ssrMenuContent:{categories:l,healthTools:r,care:d,together:c},activeMenuService:m,configs:{statics:p,enableSearchBar:g},locale:h}=s(Ht),{t:u}=j();return a.createElement(Dt,{id:"categories-menu"},g?a.createElement(jt,{"data-theme":n,onClick:()=>{window.location.href=`${p.HOME_PAGE_URL}/search`}},a.createElement(It,null)):null,a.createElement(Rt,null,a.createElement(ta,{UrlFE:p.HOME_PAGE_URL,titleBtnViewMore:u("home.navigator.menuItem.allCategories"),menuItems:t,headingTitle:u("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===m&&a.createElement(Ba,{spotlightsList:(null==l?void 0:l.spotlights)||[],hrefViewMore:`${p.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===m&&a.createElement(lo,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${p.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(o=$[h])||void 0===o?void 0:o.HEALTH_TOOLS)||""}`}),"care"===m&&a.createElement(Ea,{spotlights:null==d?void 0:d.spotlights,hrefViewMore:`${p.CARE_URL_FE}/${null===(i=ae[h])||void 0===i?void 0:i.SPECIALTIES}`}),"together"===m&&a.createElement(Ia,{spotlights:null==c?void 0:c.spotlights})))},so=({type:e="home",menuItems:t})=>{const{siteType:o,configs:{enableSearchBar:i}}=s(Ht),{containerRef:n,onContainerFocus:l,onContainerBlur:r,onButtonMouseDown:d,onClose:c}=Ce();return a.createElement(Ee,{mediaQueryKey:"mbDown"},a.createElement("header",{className:At},a.createElement("div",{className:Tt,ref:n,role:"button",tabIndex:0,onBlur:r,onFocus:l},a.createElement("div",{className:Lt,onMouseDown:d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(Ut,{className:"mobile-close-icon"}),a.createElement(zt,{siteType:o,type:e,enableSearch:i,className:"mobile-hamburger-icon"})),a.createElement(ro,{menuItems:t,closePopup:c}))))},co=u.div`
1534
+ `,lo=({item:e,index:t=0,color:o})=>{const{t:i}=j(),{configs:{statics:n}}=s(St);if(!e)return null;const l=e.link?e.link.startsWith("http")?e.link:`${n.HOME_PAGE_URL}${e.link}`:void 0,r=()=>a.createElement(Xa,null,a.createElement("img",{loading:"lazy",alt:e.title,src:e.icon||"/images/avatar.jpg"})),d=()=>a.createElement(no,null,a.createElement(io,null,a.createElement(to,null,e.title),a.createElement(ao,null,e.subtitle)),a.createElement(eo,null,a.createElement("div",{className:"mobile-only"},i("home.seeMore")),a.createElement("img",{src:b.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"},loading:"lazy"})));return a.createElement(Ja,{href:l,"data-event-category":"Hamburger Navigation","data-event-action":`Engage Click ${t+1}`,"data-event-label":l,"data-color":o},a.createElement("svg",{className:"bg-svg",width:"74",height:"121",viewBox:"0 0 74 121",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M58.5713 53.428C40.6466 70.0213 12.9929 71.0875 -7.00506 84.9856C-24.9277 97.4005 -38.3893 120.472 -60.213 120.346C-73.3615 120.271 -84.9289 110.925 -91.9303 99.8138C-101.443 84.7327 -103.994 64.0482 -93.916 49.3276C-81.8133 31.6505 -56.6933 28.1101 -41.7246 12.7895C-35.4351 6.35117 -31.2212 -1.90115 -24.8564 -8.25051C-7.17639 -25.9054 34.9604 -29.7543 56.852 -16.9562C80.9056 -2.89888 77.046 36.3304 58.5713 53.428Z",strokeWidth:"0"})),a.createElement("img",{src:b.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(oo,null,a.createElement("div",{className:"mobile-only"},r()),a.createElement("div",{className:"desktop-only"},d())),a.createElement("div",{className:"mobile-only"},d()),a.createElement("div",{className:"desktop-only"},r()))},ro=({hrefViewMore:e,spotlightHealthTools:t=[]})=>{const{t:o}=j(),i=["pink","orange","green"],{siteType:n}=s(St);return a.createElement(Ea,{title:o("home.navigator.menu.spotlightTools")},0!==t.length&&a.createElement(Va,null,null==t?void 0:t.slice(0,3).map(((e,t)=>"marryBaby"===n?a.createElement(lo,{key:t,index:t,item:e,color:i[t]}):a.createElement(Qa,{key:t,index:t,item:e})))),0===t.length&&a.createElement(ba,{title:o("home.navigator.menu.healthTools.noDatas.title"),description:o("home.navigator.menu.healthTools.noDatas.description"),link:e,cta:o("home.navigator.menu.healthTools.noDatas.cta"),icon:b.getAssetPath("community.svg")}))},so=({closePopup:e,menuItems:t=[]})=>{var o,i;const{siteType:n,ssrMenuContent:{categories:l,healthTools:r,care:d,together:c},activeMenuService:m,configs:{statics:p,enableSearchBar:g},locale:h}=s(St),{t:u}=j();return a.createElement(jt,{id:"categories-menu"},g?a.createElement(Rt,{"data-theme":n,onClick:()=>{window.location.href=`${p.HOME_PAGE_URL}/search`}},a.createElement(Ft,null)):null,a.createElement(Ot,null,a.createElement(aa,{UrlFE:p.HOME_PAGE_URL,titleBtnViewMore:u("home.navigator.menuItem.allCategories"),menuItems:t,headingTitle:u("home.navigator.menuItem.healthCategories"),onClosePopup:e}),"categories"===m&&a.createElement(_a,{spotlightsList:(null==l?void 0:l.spotlights)||[],hrefViewMore:`${p.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}/spotlight/`}),"tools"===m&&a.createElement(ro,{spotlightHealthTools:null==r?void 0:r.spotlights,hrefViewMore:`${p.HOME_PAGE_URL}${"tl-PH"===h?"/fil":""}${(null===(o=$[h])||void 0===o?void 0:o.HEALTH_TOOLS)||""}`}),"care"===m&&a.createElement(Ca,{spotlights:null==d?void 0:d.spotlights,hrefViewMore:`${p.CARE_URL_FE}/${null===(i=oe[h])||void 0===i?void 0:i.SPECIALTIES}`}),"together"===m&&a.createElement(Fa,{spotlights:null==c?void 0:c.spotlights})))},co=({type:e="home",menuItems:t})=>{const{siteType:o,configs:{enableSearchBar:i}}=s(St),{containerRef:n,onContainerFocus:l,onContainerBlur:r,onButtonMouseDown:d,onClose:c}=ke();return a.createElement(Ce,{mediaQueryKey:"mbDown"},a.createElement("header",{className:Tt},a.createElement("div",{className:Lt,ref:n,role:"button",tabIndex:0,onBlur:r,onFocus:l},a.createElement("div",{className:Ht,onMouseDown:d,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(zt,{className:"mobile-close-icon"}),a.createElement(Dt,{siteType:o,type:e,enableSearch:i,className:"mobile-hamburger-icon"})),a.createElement(so,{menuItems:t,closePopup:c}))))},mo=u.div`
1535
1535
  z-index: 201;
1536
1536
  width: 100%;
1537
1537
  align-items: center;
@@ -1584,17 +1584,17 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1584
1584
  }
1585
1585
 
1586
1586
  &[data-header-type='home'] {
1587
- z-index: ${mt};
1587
+ z-index: ${pt};
1588
1588
  }
1589
1589
 
1590
1590
  &[data-header-type='popup'] {
1591
1591
  position: absolute;
1592
- z-index: ${pt};
1592
+ z-index: ${gt};
1593
1593
  }
1594
1594
 
1595
1595
  &[data-header-type='popup-sub-level'] {
1596
1596
  position: absolute;
1597
- z-index: ${gt};
1597
+ z-index: ${ht};
1598
1598
  }
1599
1599
 
1600
1600
  &[data-is-displayed='false'] {
@@ -1617,7 +1617,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1617
1617
  right: 16px;
1618
1618
  }
1619
1619
  }
1620
- `,mo=u.div`
1620
+ `,po=u.div`
1621
1621
  display: flex;
1622
1622
  height: 100%;
1623
1623
  align-items: center;
@@ -1644,7 +1644,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1644
1644
  max-width: 1064px;
1645
1645
  }
1646
1646
  }
1647
- `,po=u.div`
1647
+ `,go=u.div`
1648
1648
  display: flex;
1649
1649
  align-items: center;
1650
1650
  height: 100%;
@@ -1659,7 +1659,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1659
1659
  &[data-site-type='marryBaby'] {
1660
1660
  gap: 26px;
1661
1661
  }
1662
- `,go=u.div``,ho=u.div`
1662
+ `,ho=u.div``,uo=u.div`
1663
1663
  display: flex;
1664
1664
  align-items: center;
1665
1665
  height: 100%;
@@ -1692,7 +1692,7 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1692
1692
  padding-bottom: 10px;
1693
1693
  }
1694
1694
  }
1695
- `;const uo=u.div`
1695
+ `;const vo=u.div`
1696
1696
  margin-left: 16px;
1697
1697
  display: flex;
1698
1698
  gap: 12px;
@@ -1706,14 +1706,14 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1706
1706
  margin-left: 0;
1707
1707
  gap: 10px;
1708
1708
  }
1709
- `,vo=u.div`
1709
+ `,yo=u.div`
1710
1710
  display: flex;
1711
1711
  align-items: center;
1712
1712
  height: 100%;
1713
1713
  &[data-site-type='marryBaby'] {
1714
1714
  gap: 26px;
1715
1715
  }
1716
- `;var yo="q3nL5cp",bo="_2DNf80G",fo="Q-glX-n";const xo=({onClosePopup:e})=>a.createElement("div",{className:`${fo} close-btn`,onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),wo=({onClosePopup:e,isDisplay:t,children:o,isNavMenu:i,hideCloseBtn:n})=>a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!i},a.createElement(re,null,!n&&a.createElement("div",{className:bo},a.createElement(xo,{onClosePopup:e})),a.createElement(re,{className:yo},o))),Eo=({careSpecialties:e=[],isOpen:t,onClose:o,spotlights:i=[]})=>{var n;const{t:l}=j(),{locale:r,configs:{statics:d}}=s(Ht);return a.createElement(wo,{onClosePopup:o,isDisplay:t,isNavMenu:!0},a.createElement(ta,{headingTitle:l("home.navigator.menuItem.specialties"),hrefViewMore:`${d.CARE_URL_FE}/`,UrlFE:d.CARE_URL_FE,onClosePopup:o,titleBtnViewMore:l("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:ft({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),a.createElement(Ea,{spotlights:i,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=ae[r])||void 0===n?void 0:n.SPECIALTIES}/`}))},Co=({categories:e=[],spotlightsList:t=[],onClose:o,isOpen:i})=>{const{t:n}=j(),{locale:l,configs:{statics:r}}=s(Ht);return a.createElement(wo,{onClosePopup:o,isDisplay:i,isNavMenu:!0},a.createElement(ta,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:o,titleBtnViewMore:n("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:n("home.navigator.menuItem.healthCategories")}),a.createElement(Ba,{spotlightsList:t,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/spotlight/`}))},ko=({communities:e=[],onClose:t,isOpen:o,spotlights:i=[]})=>{const{t:n}=j(),{configs:{statics:l}}=s(Ht);return a.createElement(wo,{onClosePopup:t,isDisplay:o,isNavMenu:!0},a.createElement(ta,{hrefViewMore:B(l.TOGETHER_URL_FE),UrlFE:N(l.TOGETHER_URL_FE),onClosePopup:t,titleBtnViewMore:n("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:n("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(Ia,{spotlights:i}))},$o=({locale:e,onClose:t,isOpen:o,spotlightHealthTools:i=[],healthTools:n=[]})=>{var l;const{t:r}=j(),{configs:{statics:d}}=s(Ht),c=`${d.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(l=$[e])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`;return a.createElement(wo,{onClosePopup:t,isDisplay:o,isNavMenu:!0},a.createElement(ta,{hrefViewMore:c,UrlFE:d.HOME_PAGE_URL,onClosePopup:t,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:n.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${d.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),a.createElement(lo,{spotlightHealthTools:i,hrefViewMore:c}))},Po=({onTopBarAppears:e,type:t="home",languageMenu:n,menuItems:r})=>{var c;const{siteType:m,isMobile:p=!1,locale:g,sitewideBanner:h,sitewideBannerShown:u=!0,sponsorComponent:v,onBookingClick:y,currentUrl:f,onLoginClick:x,configs:{statics:w,enableNavCareBooking:E,enableSearchBar:C,enableNavCare:$,enableProfileMyHealth:_,enableProfileMySaved:M,enableNavTogether:A,enableProfileEcom:T,enableProfileNavigatorMenu:L},userState:{userInfo:H},onLogout:S,userProfileRouterPush:U,isUserLoading:z}=s(Ht),{t:R}=j(),{SSO_URL:I,HOME_PAGE_URL:F}=w,V=!!v,[G,W]=o(!1),Y=l(47),Z=l(null),q=l(!1),K="helloSites"===m?null===(c=k[g])||void 0===c?void 0:c.LOGO_TYPE:m,Q="undefined"!=typeof window,J=d(O((()=>{if("home"===t&&Q){if(!Z.current)return;const e=Z.current.getBoundingClientRect();e.top<=0&&window.scrollY>Y.current&&window.scrollY>e.height+20&&!q.current&&(q.current=!0,W(!0)),window.scrollY<Y.current&&q.current&&(q.current=!1,W(!1)),window.scrollY>=0&&(Y.current=window.scrollY)}}),200),[]);i((()=>{null==e||e(!G)}),[G]),i((()=>(window.addEventListener("scroll",J,{passive:!0}),()=>{window.removeEventListener("scroll",J)})),[]),i((()=>{p&&J()}),[p]);const X=u&&!!h;return a.createElement(co,{"data-site-type":m,"data-sponsored":V,"data-sitewide-banner-shown":X,"data-header-type":t,"data-collapsed":G,"data-with-search-input":"popup-sub-level"!==t,"data-is-displayed":!0,id:"site-header",ref:Z},h,a.createElement(mo,{"data-site-type":m},a.createElement(po,{"data-site-type":m},a.createElement(so,{menuItems:r,type:t}),a.createElement("a",{style:{flexShrink:0},href:F},a.createElement(go,null,a.createElement(D,{style:{display:"flex"},type:K,badge:"id-ID"===g&&a.createElement("img",{src:b.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===m?a.createElement(Bo,{menuItems:r}):C&&a.createElement(No,{siteType:m})),a.createElement(ho,{"data-site-type":m},"marryBaby"===m?C&&a.createElement(No,{siteType:m}):a.createElement(Bo,{menuItems:r}),a.createElement(uo,null,E&&a.createElement(Ee,{mediaQueryKey:"mbUp"},a.createElement(Mt,{careUrlFe:w.CARE_URL_FE,currentUrl:f,btnName:R("login.booking"),onCareHeaderClick:y})),n,a.createElement(Nt,{userInfo:H,siteType:m,onLoginClick:x||(()=>{const e=window.location.href;window.location.href=I?N(`${I}?returnUrl=${e}`):e}),SSO_URL:B(w.SSO_URL),currentUrl:f,onLogout:S,UP_BASEPATH:P,isMyHealthEnabled:_,enableCare:$,enableTogether:A,enableEcom:T,enableMySaved:M,togetherApiDomain:B(w.TOGETHER_API),isUserProfileNavigatorMenuHidden:!L,userProfileRouterPush:U,isLoading:z,locale:g})))),v?a.isValidElement(v)?a.cloneElement(v,{isCollapsed:G,locale:g,isMobile:p}):v:null)},No=({siteType:e})=>a.createElement(Ee,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(It,null)),Bo=({menuItems:e})=>{const{siteType:t,locale:o,ssrMenuContent:{categories:i,healthTools:n,care:l,together:r}}=s(Ht);return a.createElement(Ee,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(vo,{"data-site-type":t},null==e?void 0:e.map(((e,t)=>a.createElement(Xt,{key:t,item:e,menu:"categories"===e.popupType?a.createElement(Co,{categories:null==i?void 0:i.items,spotlightsList:null==i?void 0:i.spotlights}):"tools"===e.popupType?a.createElement($o,{locale:o,healthTools:null==n?void 0:n.items,spotlightHealthTools:null==n?void 0:n.spotlights}):"together"===e.popupType?a.createElement(ko,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?a.createElement(Eo,{careSpecialties:null==l?void 0:l.items,spotlights:null==l?void 0:l.spotlights}):null})))))},_o=u.div`
1716
+ `;var bo="q3nL5cp",fo="_2DNf80G",xo="Q-glX-n";const wo=({onClosePopup:e})=>a.createElement("div",{className:`${xo} close-btn`,onClick:e},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"}))),Eo=({onClosePopup:e,isDisplay:t,children:o,isNavMenu:i,hideCloseBtn:n})=>a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!t,"data-is-nav-menu":!!i},a.createElement(se,null,!n&&a.createElement("div",{className:fo},a.createElement(wo,{onClosePopup:e})),a.createElement(se,{className:bo},o))),Co=({careSpecialties:e=[],isOpen:t,onClose:o,spotlights:i=[]})=>{var n;const{t:l}=j(),{locale:r,configs:{statics:d}}=s(St);return a.createElement(Eo,{onClosePopup:o,isDisplay:t,isNavMenu:!0},a.createElement(aa,{headingTitle:l("home.navigator.menuItem.specialties"),hrefViewMore:`${d.CARE_URL_FE}/`,UrlFE:d.CARE_URL_FE,onClosePopup:o,titleBtnViewMore:l("home.navigator.menuItem.allSpecialties"),menuItems:(null==e?void 0:e.map((e=>e?{name:String(e.name)||"",link:xt({type:"DOCTOR",specialtySlug:e.slug,locale:r}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{})))||[]}),a.createElement(Ca,{spotlights:i,hrefViewMore:`${d.CARE_URL_FE}/${null===(n=oe[r])||void 0===n?void 0:n.SPECIALTIES}/`}))},ko=({categories:e=[],spotlightsList:t=[],onClose:o,isOpen:i})=>{const{t:n}=j(),{locale:l,configs:{statics:r}}=s(St);return a.createElement(Eo,{onClosePopup:o,isDisplay:i,isNavMenu:!0},a.createElement(aa,{hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/categories/`,UrlFE:r.HOME_PAGE_URL,onClosePopup:o,titleBtnViewMore:n("home.navigator.menuItem.allCategories"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.displayName||null,link:(null==e?void 0:e.customizedUrl)||(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{})))||[],headingTitle:n("home.navigator.menuItem.healthCategories")}),a.createElement(_a,{spotlightsList:t,hrefViewMore:`${r.HOME_PAGE_URL}${"tl-PH"===l?"/fil":""}/spotlight/`}))},$o=({communities:e=[],onClose:t,isOpen:o,spotlights:i=[]})=>{const{t:n}=j(),{configs:{statics:l}}=s(St);return a.createElement(Eo,{onClosePopup:t,isDisplay:o,isNavMenu:!0},a.createElement(aa,{hrefViewMore:B(l.TOGETHER_URL_FE),UrlFE:N(l.TOGETHER_URL_FE),onClosePopup:t,titleBtnViewMore:n("home.navigator.menuItem.allCommunities"),menuItems:(null==e?void 0:e.map((e=>e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{})))||[],headingTitle:n("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(Fa,{spotlights:i}))},Po=({locale:e,onClose:t,isOpen:o,spotlightHealthTools:i=[],healthTools:n=[]})=>{var l;const{t:r}=j(),{configs:{statics:d}}=s(St),c=`${d.HOME_PAGE_URL}${"tl-PH"===e?"/fil":""}${(null===(l=$[e])||void 0===l?void 0:l.HEALTH_TOOLS)||""}`;return a.createElement(Eo,{onClosePopup:t,isDisplay:o,isNavMenu:!0},a.createElement(aa,{hrefViewMore:c,UrlFE:d.HOME_PAGE_URL,onClosePopup:t,headingTitle:r("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:r("home.navigator.menuItem.allHealthTools"),menuItems:n.map((e=>({name:e.title,link:e.link?e.link.startsWith("http")?e.link:`${d.HOME_PAGE_URL}${e.link}`:void 0,thumbnail:e.icon})))}),a.createElement(ro,{spotlightHealthTools:i,hrefViewMore:c}))},No=({onTopBarAppears:e,type:t="home",languageMenu:n,menuItems:r})=>{var c;const{siteType:m,isMobile:p=!1,locale:g,sitewideBanner:h,sitewideBannerShown:u=!0,sponsorComponent:v,onBookingClick:y,currentUrl:f,onLoginClick:x,configs:{statics:w,enableNavCareBooking:E,enableSearchBar:C,enableNavCare:$,enableProfileMyHealth:_,enableProfileMySaved:M,enableNavTogether:A,enableProfileEcom:T,enableProfileNavigatorMenu:L},userState:{userInfo:H},onLogout:S,userProfileRouterPush:U,isUserLoading:z}=s(St),{t:R}=j(),{SSO_URL:I,HOME_PAGE_URL:F}=w,V=!!v,[G,W]=o(!1),Y=l(47),Z=l(null),q=l(!1),K="helloSites"===m?null===(c=k[g])||void 0===c?void 0:c.LOGO_TYPE:m,Q="undefined"!=typeof window,J=d(O((()=>{if("home"===t&&Q){if(!Z.current)return;const e=Z.current.getBoundingClientRect();e.top<=0&&window.scrollY>Y.current&&window.scrollY>e.height+20&&!q.current&&(q.current=!0,W(!0)),window.scrollY<Y.current&&q.current&&(q.current=!1,W(!1)),window.scrollY>=0&&(Y.current=window.scrollY)}}),200),[]);i((()=>{null==e||e(!G)}),[G]),i((()=>(window.addEventListener("scroll",J,{passive:!0}),()=>{window.removeEventListener("scroll",J)})),[]),i((()=>{p&&J()}),[p]);const X=u&&!!h;return a.createElement(mo,{"data-site-type":m,"data-sponsored":V,"data-sitewide-banner-shown":X,"data-header-type":t,"data-collapsed":G,"data-with-search-input":"popup-sub-level"!==t,"data-is-displayed":!0,id:"site-header",ref:Z},h,a.createElement(po,{"data-site-type":m},a.createElement(go,{"data-site-type":m},a.createElement(co,{menuItems:r,type:t}),a.createElement("a",{style:{flexShrink:0},href:F},a.createElement(ho,null,a.createElement(D,{style:{display:"flex"},type:K,badge:"id-ID"===g&&a.createElement("img",{src:b.getAssetPath("sehat-badge.png"),width:"56",height:"23",loading:"lazy"}),dateForSeasonal:new Date,locale:g,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===m?a.createElement(_o,{menuItems:r}):C&&a.createElement(Bo,{siteType:m})),a.createElement(uo,{"data-site-type":m},"marryBaby"===m?C&&a.createElement(Bo,{siteType:m}):a.createElement(_o,{menuItems:r}),a.createElement(vo,null,E&&a.createElement(Ce,{mediaQueryKey:"mbUp"},a.createElement(At,{careUrlFe:w.CARE_URL_FE,currentUrl:f,btnName:R("login.booking"),onCareHeaderClick:y})),n,a.createElement(Bt,{userInfo:H,siteType:m,onLoginClick:x||(()=>{const e=window.location.href;window.location.href=I?N(`${I}?returnUrl=${e}`):e}),SSO_URL:B(w.SSO_URL),currentUrl:f,onLogout:S,UP_BASEPATH:P,isMyHealthEnabled:_,enableCare:$,enableTogether:A,enableEcom:T,enableMySaved:M,togetherApiDomain:B(w.TOGETHER_API),isUserProfileNavigatorMenuHidden:!L,userProfileRouterPush:U,isLoading:z,locale:g})))),v?a.isValidElement(v)?a.cloneElement(v,{isCollapsed:G,locale:g,isMobile:p}):v:null)},Bo=({siteType:e})=>a.createElement(Ce,{mediaQueryKey:"mbUp",className:"marryBaby"===e?"marry-baby":""},a.createElement(Ft,null)),_o=({menuItems:e})=>{const{siteType:t,locale:o,ssrMenuContent:{categories:i,healthTools:n,care:l,together:r}}=s(St);return a.createElement(Ce,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(yo,{"data-site-type":t},null==e?void 0:e.map(((e,t)=>a.createElement(ea,{key:t,item:e,menu:"categories"===e.popupType?a.createElement(ko,{categories:null==i?void 0:i.items,spotlightsList:null==i?void 0:i.spotlights}):"tools"===e.popupType?a.createElement(Po,{locale:o,healthTools:null==n?void 0:n.items,spotlightHealthTools:null==n?void 0:n.spotlights}):"together"===e.popupType?a.createElement($o,{communities:null==r?void 0:r.items,spotlights:null==r?void 0:r.spotlights}):"care"===e.popupType?a.createElement(Co,{careSpecialties:null==l?void 0:l.items,spotlights:null==l?void 0:l.spotlights}):null})))))},Mo=u.div`
1717
1717
  --header-z-index: 305;
1718
1718
  top: 0;
1719
1719
  z-index: var(--header-z-index);
@@ -1750,4 +1750,4 @@ import{a as e,_ as t}from"./tslib.es6-dcd5d7f3.js";import a,{useState as o,useEf
1750
1750
  font-weight: 700;
1751
1751
  line-height: 22px;
1752
1752
  text-decoration: none;
1753
- `;const Mo=e=>{var t,r;const{isMobile:c,locale:m,onTopBarAppears:p,languageOptions:g,sponsorComponent:h,sitewideBanner:u,sitewideBannerShown:v,className:y}=e,f=(()=>{const{t:e}=j(),{siteType:t,locale:a,configs:{enableNavDiscover:o,enableNavHealthTools:i,enableNavCare:l,enableNavTogether:r,enableNavEcom:d,statics:c}}=s(Ht),m="marryBaby"===t;return n((()=>{var t;const n=[];return o&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:m?b.getAssetPath("categories-mb.svg"):b.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),i&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=$[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:m?b.getAssetPath("healthtools-mb.svg"):b.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:N(c.TOGETHER_URL_FE+"/"),thumbnail:m?b.getAssetPath("community-mb.svg"):b.getAssetPath("nav-icons/community.svg"),popupType:"together"}),d&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:N(c.HOME_PAGE_URL+"/shop"),thumbnail:b.getAssetPath("nav-icons/shop.svg"),popupType:null}),l&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:N("ms-MY"===a?c.HOME_PAGE_URL+"/care/current-location/hospital/":c.HOME_PAGE_URL+"/care"),thumbnail:b.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a||"ms-MY"===a?null:"care"}),n}),[a,l,r,d])})();(()=>{const{isFirstLogin:e,userState:t}=s(Ht),{userInfo:a}=t;i((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const x=v&&!!u,w=!!h,E=!!(null===(r=null===(t=null==h?void 0:h.props)||void 0===t?void 0:t.sponsoredBy)||void 0===r?void 0:r.length),{headerRef:C,defaultHeaderHeight:k,headerHeight:P,headerBottom:B}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:a,isMobile:r})=>{const s=l(null),[c,m]=o(0),[p,g]=o(64),h=d(te((()=>{var e,t,a,o;const i=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=s.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=i+200&&(m(i),g((null===(o=s.current)||void 0===o?void 0:o.getBoundingClientRect().bottom)||c))}),200),[]);i((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),i((()=>{h()}),[r,a,t,e,s.current]);const u=n((()=>{let o=r?64:69;return a&&(o+=64),t&&(o+=40,e&&(o+=57)),o}),[r,a,e,t]);return{defaultHeaderHeight:u,headerHeight:c||u,headerBottom:p,headerRef:s}})({isShowingSiteWideBanner:x,isSponsored:w,hasSponsoredBanners:E,isMobile:c});return a.createElement(_o,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":B+"px"},className:y},a.createElement("section",{ref:C},a.createElement(Po,{menuItems:f,type:"home",onTopBarAppears:p,languageMenu:a.createElement(fe,{languageOptions:g,locale:m})})))},Ao=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return a.createElement(St,Object.assign({},t),a.createElement(Mo,Object.assign({},t)))},To=t=>e(void 0,void 0,void 0,(function*(){var e,a,o,i,n,l,r,s,d,c,m,p,g,h,u,v,y,b,w,C,k,$,P;const B={},_="vi-VN_MB"===t;try{const M="tl-PH"===t?"lang=fil":"";try{const[m,p,g,h]=yield Promise.all([fetch(N(`${T(t)}/wp-json/api/categories${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${M?"&"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}/favorites${M?"?"+M:""}`)).then((e=>e.json()))]);B.categories={items:(null===(a=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,ut))||[],spotlights:(null===(l=null===(n=null===(i=null===(o=null==p?void 0:p.data)||void 0===o?void 0:o.articles)||void 0===i?void 0:i.map)||void 0===n?void 0:n.call(i,xt))||void 0===l?void 0:l.filter(wt))||[]},B.healthTools={items:(null===(s=null===(r=null==g?void 0:g.data)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,vt))||[],spotlights:(null===(c=null===(d=null==h?void 0:h.data)||void 0===d?void 0:d.map)||void 0===c?void 0:c.call(d,vt))||[]}}catch(e){}if(_||E.includes(t))try{const[e,a]=yield Promise.all([fetch(N(`${A()}/api/v1/community?website_url=https://${f[t]}`)).then((e=>e.json())),fetch(N(`${A()}/api/v1/options?website_url=https://${f[t]}&meta_key=popular_post`)).then((e=>e.json()))]);B.together={items:(null===(g=null===(p=null===(m=null==e?void 0:e.data)||void 0===m?void 0:m.communities)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,U))||[],spotlights:(null===(v=null===(u=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===u?void 0:u.map)||void 0===v?void 0:v.call(u,z))||[]}}catch(e){}if(x.includes(t))try{const[e,a]=yield Promise.all([fetch(N(L()+`/api/options/setting_menu?site=${f[t]}&type=0`)).then((e=>e.json())),fetch(N(L()+`/api/options/setting_menu?site=${f[t]}&type=1`)).then((e=>e.json()))]);B.care={items:(null===(C=null===(w=null===(b=null===(y=null==e?void 0:e._data)||void 0===y?void 0:y.setting_menu)||void 0===b?void 0:b.menu_specialty)||void 0===w?void 0:w.map)||void 0===C?void 0:C.call(w,yt))||[],spotlights:(null===(P=null===($=null===(k=null==a?void 0:a._data.setting_menu)||void 0===k?void 0:k.menu_hospital)||void 0===$?void 0:$.map)||void 0===P?void 0:P.call($,bt))||[]}}catch(e){}}catch(e){console.error(e)}return B})),Lo=t=>e(void 0,void 0,void 0,(function*(){return(yield c("nav-menu-content",(()=>To(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{de as A,fe as L,Ao as N,Ct as P,Et as U,Lo as a,ze as b,dt as c,Pt as d,Nt as e,To as g,me as i};
1753
+ `;const Ao=e=>{var t,r;const{isMobile:c,locale:m,onTopBarAppears:p,languageOptions:g,sponsorComponent:h,sitewideBanner:u,sitewideBannerShown:v,className:y}=e,f=(()=>{const{t:e}=j(),{siteType:t,locale:a,configs:{enableNavDiscover:o,enableNavHealthTools:i,enableNavCare:l,enableNavTogether:r,enableNavEcom:d,statics:c}}=s(St),m="marryBaby"===t;return n((()=>{var t;const n=[];return o&&n.push({name:e("home.navigator.menuItem.discover"),id:"categories",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}/categories`,niceName:"",thumbnail:m?b.getAssetPath("categories-mb.svg"):b.getAssetPath("nav-icons/discover.svg"),popupType:"categories"}),i&&n.push({name:e("home.navigator.menuItem.healthTools"),id:"tools",link:`${c.HOME_PAGE_URL}${"tl-PH"===a?"/fil":""}${(null===(t=$[a])||void 0===t?void 0:t.HEALTH_TOOLS)||""}`,thumbnail:m?b.getAssetPath("healthtools-mb.svg"):b.getAssetPath("nav-icons/health-tools.svg"),popupType:"tools"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:N(c.TOGETHER_URL_FE+"/"),thumbnail:m?b.getAssetPath("community-mb.svg"):b.getAssetPath("nav-icons/community.svg"),popupType:"together"}),d&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:N(c.HOME_PAGE_URL+"/shop"),thumbnail:b.getAssetPath("nav-icons/shop.svg"),popupType:null}),l&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:N("ms-MY"===a?c.HOME_PAGE_URL+"/care/current-location/hospital/":c.HOME_PAGE_URL+"/care"),thumbnail:b.getAssetPath("nav-icons/care.svg"),popupType:"zh-TW"===a||"ms-MY"===a?null:"care"}),n}),[a,l,r,d])})();(()=>{const{isFirstLogin:e,userState:t}=s(St),{userInfo:a}=t;i((()=>{(null==a?void 0:a.id)&&(e?(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,sign_up:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:(null==a?void 0:a.email)&&""!==(null==a?void 0:a.email)?window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,email:null==a?void 0:a.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})}:window.insider_object={user:Object.assign({uuid:null==a?void 0:a.id,log_in:!0},(null==a?void 0:a.name)?{name:null==a?void 0:a.name}:{})})}),[])})();const x=v&&!!u,w=!!h,E=!!(null===(r=null===(t=null==h?void 0:h.props)||void 0===t?void 0:t.sponsoredBy)||void 0===r?void 0:r.length),{headerRef:C,defaultHeaderHeight:k,headerHeight:P,headerBottom:B}=(({hasSponsoredBanners:e,isSponsored:t,isShowingSiteWideBanner:a,isMobile:r})=>{const s=l(null),[c,m]=o(0),[p,g]=o(64),h=d(ae((()=>{var e,t,a,o;const i=(null===(e=s.current)||void 0===e?void 0:e.clientHeight)||(null===(a=null===(t=s.current)||void 0===t?void 0:t.children[0])||void 0===a?void 0:a.clientHeight)||0;window.scrollY<=i+200&&(m(i),g((null===(o=s.current)||void 0===o?void 0:o.getBoundingClientRect().bottom)||c))}),200),[]);i((()=>(window.addEventListener("resize",h,{passive:!0}),window.addEventListener("scroll",h,{passive:!0}),h(),()=>{window.removeEventListener("resize",h),window.removeEventListener("scroll",h)})),[]),i((()=>{h()}),[r,a,t,e,s.current]);const u=n((()=>{let o=r?64:69;return a&&(o+=64),t&&(o+=40,e&&(o+=57)),o}),[r,a,e,t]);return{defaultHeaderHeight:u,headerHeight:c||u,headerBottom:p,headerRef:s}})({isShowingSiteWideBanner:x,isSponsored:w,hasSponsoredBanners:E,isMobile:c});return a.createElement(Mo,{id:"navigation-v2",style:{"--default-header-height":k+"px","--header-height":`calc(${P}px - var(--amp-site-wide-closed), 64px)`,"--header-bottom":B+"px"},className:y},a.createElement("section",{ref:C},a.createElement(No,{menuItems:f,type:"home",onTopBarAppears:p,languageMenu:a.createElement(xe,{languageOptions:g,locale:m})})))},To=e=>{const t=Object.assign({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},e);return a.createElement(Ut,Object.assign({},t),a.createElement(Ao,Object.assign({},t)))},Lo=t=>e(void 0,void 0,void 0,(function*(){var e,a,o,i,n,l,r,s,d,c,m,p,g,h,u,v,y,b,w,C,k,$,P;const B={},_="vi-VN_MB"===t;try{const M="tl-PH"===t?"lang=fil":"";try{const[m,p,g,h]=yield Promise.all([fetch(N(`${T(t)}/wp-json/api/categories${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/spotlights?per_page=10&order_by=start_date${M?"&"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}${M?"?"+M:""}`)).then((e=>e.json())),fetch(N(`${T(t)}/wp-json/api/${_?"health-tools":"healthtools"}/favorites${M?"?"+M:""}`)).then((e=>e.json()))]);B.categories={items:(null===(a=null===(e=null==m?void 0:m.data)||void 0===e?void 0:e.map)||void 0===a?void 0:a.call(e,vt))||[],spotlights:(null===(l=null===(n=null===(i=null===(o=null==p?void 0:p.data)||void 0===o?void 0:o.articles)||void 0===i?void 0:i.map)||void 0===n?void 0:n.call(i,wt))||void 0===l?void 0:l.filter(Et))||[]},B.healthTools={items:(null===(s=null===(r=null==g?void 0:g.data)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,yt))||[],spotlights:(null===(c=null===(d=null==h?void 0:h.data)||void 0===d?void 0:d.map)||void 0===c?void 0:c.call(d,yt))||[]}}catch(e){}if(_||E.includes(t))try{const[e,a]=yield Promise.all([fetch(N(`${A()}/api/v1/community?website_url=https://${f[t]}`)).then((e=>e.json())),fetch(N(`${A()}/api/v1/options?website_url=https://${f[t]}&meta_key=popular_post`)).then((e=>e.json()))]);B.together={items:(null===(g=null===(p=null===(m=null==e?void 0:e.data)||void 0===m?void 0:m.communities)||void 0===p?void 0:p.map)||void 0===g?void 0:g.call(p,U))||[],spotlights:(null===(v=null===(u=null===(h=null==a?void 0:a.data)||void 0===h?void 0:h.posts)||void 0===u?void 0:u.map)||void 0===v?void 0:v.call(u,z))||[]}}catch(e){}if(x.includes(t))try{const[e,a]=yield Promise.all([fetch(N(L()+`/api/options/setting_menu?site=${f[t]}&type=0`)).then((e=>e.json())),fetch(N(L()+`/api/options/setting_menu?site=${f[t]}&type=1`)).then((e=>e.json()))]);B.care={items:(null===(C=null===(w=null===(b=null===(y=null==e?void 0:e._data)||void 0===y?void 0:y.setting_menu)||void 0===b?void 0:b.menu_specialty)||void 0===w?void 0:w.map)||void 0===C?void 0:C.call(w,bt))||[],spotlights:(null===(P=null===($=null===(k=null==a?void 0:a._data.setting_menu)||void 0===k?void 0:k.menu_hospital)||void 0===$?void 0:$.map)||void 0===P?void 0:P.call($,ft))||[]}}catch(e){}}catch(e){console.error(e)}return B})),Ho=t=>e(void 0,void 0,void 0,(function*(){return(yield c("nav-menu-content",(()=>Lo(t||"en-PH")),(e=>{var t,a;return!!(null===(a=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===a?void 0:a.length)})))||{}}));export{ce as A,xe as L,To as N,kt as P,Ct as U,Ho as a,De as b,ct as c,Nt as d,Bt as e,Lo as g,pe as i};