@hhgtech/hhg-components 1.23.70 → 1.23.71

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 (279) hide show
  1. package/build/{Visible-5bc1b50b.js → Visible-e533d2c2.js} +1 -1
  2. package/build/babyGrowth.js +1 -1
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components.js +1 -1
  6. package/build/constants.js +1 -1
  7. package/build/{core-efecaf58.js → core-b1d4c46b.js} +1 -1
  8. package/build/dataTransform-c259864d.js +1 -0
  9. package/build/defaultClassWrapper-5746793b.js +1 -0
  10. package/build/ecom.js +1 -1
  11. package/build/esm/{Visible-f28a0eee.js → Visible-c31a0320.js} +1 -1
  12. package/build/esm/babyGrowth.js +1 -1
  13. package/build/esm/cache.js +1 -1
  14. package/build/esm/care.js +1 -1
  15. package/build/esm/components.js +1 -1
  16. package/build/esm/constants.js +1 -1
  17. package/build/esm/{core-b0a1c851.js → core-d7e2cd67.js} +1 -1
  18. package/build/esm/dataTransform-6b90ff10.js +1 -0
  19. package/build/esm/{defaultClassWrapper-b3252d64.js → defaultClassWrapper-c3ce16f7.js} +1 -1
  20. package/build/esm/ecom.js +1 -1
  21. package/build/esm/footer.js +1 -1
  22. package/build/esm/gAssets.js +1 -1
  23. package/build/esm/{getDynamicHealthTool-f1ab8772.js → getDynamicHealthTool-bea49b01.js} +1 -1
  24. package/build/esm/{getSocialList-efa0534e.js → getSocialList-1eb8774b.js} +1 -1
  25. package/build/esm/hooks.js +1 -1
  26. package/build/esm/i18n.js +1 -1
  27. package/build/esm/{index-9a8ea07a.js → index-0265db2c.js} +1 -1
  28. package/build/esm/{index-62b8eca0.js → index-07bee259.js} +1 -1
  29. package/build/esm/{index-e0ba9ff2.js → index-123469bb.js} +1 -1
  30. package/build/esm/{index-0ab09c28.js → index-2d5313e6.js} +1 -1
  31. package/build/esm/{index-3e709a05.js → index-2d816ee5.js} +1 -1
  32. package/build/esm/{index-c2d22670.js → index-39b775ed.js} +1 -1
  33. package/build/esm/index-56a68932.js +1 -0
  34. package/build/esm/{index-ef4b92c6.js → index-6678def4.js} +1 -1
  35. package/build/esm/{index-6667c357.js → index-6eb46303.js} +1 -1
  36. package/build/esm/{index-daa0a16a.js → index-7f7191e6.js} +1 -1
  37. package/build/esm/index-8c686901.js +1 -0
  38. package/build/esm/index-96183687.js +1 -0
  39. package/build/esm/{index-97dadfcb.js → index-96517b2a.js} +1 -1
  40. package/build/esm/{index-dd729229.js → index-adfda081.js} +1 -1
  41. package/build/esm/{index-8042ada4.js → index-bb065d5b.js} +1 -1
  42. package/build/esm/index-bbfb01cc.js +1 -0
  43. package/build/esm/{index-97e95a0e.js → index-c984d812.js} +1 -1
  44. package/build/esm/index-d0963418.js +1 -0
  45. package/build/esm/index-d1568f9c.js +1 -0
  46. package/build/esm/index-e8e952b7.js +1 -0
  47. package/build/esm/{index-56e05694.js → index-f9771849.js} +1 -1
  48. package/build/esm/index.js +1 -1
  49. package/build/esm/{index.styled-b51c965e.js → index.styled-0c50a02b.js} +1 -1
  50. package/build/esm/index.styled-3cd3f89e.js +1 -0
  51. package/build/esm/{index.styled-797bd393.js → index.styled-4533e1b3.js} +1 -1
  52. package/build/esm/{index.styled-5143dec4.js → index.styled-633b3669.js} +1 -1
  53. package/build/esm/{index.styled-927ec3a0.js → index.styled-bd72fc62.js} +1 -1
  54. package/build/esm/index.styled-d2f02832.js +1 -0
  55. package/build/esm/lead.css +1 -1
  56. package/build/esm/lead.js +1 -1
  57. package/build/esm/mantine.js +1 -1
  58. package/build/esm/misc.js +1 -1
  59. package/build/esm/navigation.js +1 -1
  60. package/build/esm/onboarding.js +1 -1
  61. package/build/esm/pwg.js +1 -1
  62. package/build/esm/routing-3b069017.js +1 -0
  63. package/build/esm/{screenSizeContext-4404592f.js → screenSizeContext-96e2a980.js} +1 -1
  64. package/build/esm/together.js +1 -1
  65. package/build/esm/{translationsProvider-cb07d5c7.js → translationsProvider-e983ed7f.js} +1 -1
  66. package/build/esm/types-6b7e99b0.js +1 -0
  67. package/build/esm/{types-cd87fedd.js → types-ab7cf338.js} +1 -1
  68. package/build/esm/types.js +1 -1
  69. package/build/esm/useFbDataLayer-9732e079.js +1 -0
  70. package/build/esm/{useHealthToolCache-29ad868d.js → useHealthToolCache-d86d57e6.js} +1 -1
  71. package/build/esm/{useTranslations-9a6a81b8.js → useTranslations-33ba98df.js} +1 -1
  72. package/build/footer.js +1 -1
  73. package/build/gAssets.js +1 -1
  74. package/build/{getDynamicHealthTool-1bdfc541.js → getDynamicHealthTool-52f6186f.js} +1 -1
  75. package/build/{getSocialList-0351bee8.js → getSocialList-09c26dcb.js} +1 -1
  76. package/build/hooks/usePlacesAutocomplete.d.ts +17 -0
  77. package/build/hooks.js +1 -1
  78. package/build/i18n.js +1 -1
  79. package/build/{index-5be5fa2b.js → index-0315181d.js} +1 -1
  80. package/build/index-1f804371.js +1 -0
  81. package/build/index-29cf754d.js +1 -0
  82. package/build/{index-92a85d6a.js → index-2d1306b7.js} +1 -1
  83. package/build/index-3774dec4.js +1 -0
  84. package/build/index-53b853d6.js +1 -0
  85. package/build/{index-1a232228.js → index-56b56a93.js} +1 -1
  86. package/build/{index-f131b32d.js → index-60dd5146.js} +1 -1
  87. package/build/{index-a749dc47.js → index-688a677e.js} +1 -1
  88. package/build/{index-1eb19abb.js → index-6d237123.js} +1 -1
  89. package/build/{index-ed922801.js → index-742dc056.js} +1 -1
  90. package/build/index-765e48da.js +1 -0
  91. package/build/{index-ba431739.js → index-7ccf4b32.js} +1 -1
  92. package/build/{index-f248eb1e.js → index-8e1c1d1f.js} +1 -1
  93. package/build/index-9e7651d4.js +1 -0
  94. package/build/index-a8fb7500.js +1 -0
  95. package/build/index-af3f2aef.js +1 -0
  96. package/build/{index-e2450e2f.js → index-d233623f.js} +1 -1
  97. package/build/index-d2edc034.js +1 -0
  98. package/build/{index-78d409d6.js → index-d2f455b7.js} +1 -1
  99. package/build/index-f40a7b9f.js +1 -0
  100. package/build/index.js +1 -1
  101. package/build/{index.styled-2f383f5b.js → index.styled-0b282595.js} +1 -1
  102. package/build/{index.styled-0a5cbf26.js → index.styled-50b4b2fd.js} +1 -1
  103. package/build/{index.styled-1826a975.js → index.styled-7aa710c8.js} +1 -1
  104. package/build/{index.styled-f73a69f6.js → index.styled-9428a365.js} +1 -1
  105. package/build/{index.styled-01b5b0f5.js → index.styled-bf7f8b04.js} +1 -1
  106. package/build/index.styled-dae8e2ec.js +1 -0
  107. package/build/lead/layouts/lightbox/fields/index.d.ts +9 -0
  108. package/build/lead/layouts/lightbox/fields/locationBlock.d.ts +5 -0
  109. package/build/lead/layouts/lightbox/fields/subtitleBlock.d.ts +5 -0
  110. package/build/lead/layouts/lightbox/fields/titleBlock.d.ts +5 -0
  111. package/build/lead/layouts/lightbox/formContext.d.ts +12 -0
  112. package/build/lead/layouts/{lightbox.d.ts → lightbox/index.d.ts} +5 -3
  113. package/build/lead/layouts/lightbox/otpBlock.d.ts +6 -0
  114. package/build/lead/newLeadPopup.d.ts +6 -4
  115. package/build/lead/services/index.d.ts +7 -0
  116. package/build/lead/utils/checkUsedEmailOrPhone.d.ts +11 -0
  117. package/build/lead.css +1 -1
  118. package/build/lead.js +1 -1
  119. package/build/mantine.js +1 -1
  120. package/build/misc.js +1 -1
  121. package/build/navigation.js +1 -1
  122. package/build/onboarding.js +1 -1
  123. package/build/pwg.js +1 -1
  124. package/build/{routing-a38c62c5.js → routing-ae5606fe.js} +1 -1
  125. package/build/{screenSizeContext-6396ebf8.js → screenSizeContext-3acec2c2.js} +1 -1
  126. package/build/together.js +1 -1
  127. package/build/{translationsProvider-26ae134e.js → translationsProvider-76dd26ea.js} +1 -1
  128. package/build/{types-2126e0b2.js → types-02a9e275.js} +1 -1
  129. package/build/types-58a201da.js +1 -0
  130. package/build/types.js +1 -1
  131. package/build/{useFbDataLayer-a8f0e7e4.js → useFbDataLayer-d2149db7.js} +1 -1
  132. package/build/useHealthToolCache-726ee67d.js +1 -0
  133. package/build/{useTranslations-500f6144.js → useTranslations-a81fd1bf.js} +1 -1
  134. package/package.json +2 -1
  135. package/build/defaultClassWrapper-16b85ee9.js +0 -1
  136. package/build/esm/index-2f307dca.js +0 -1
  137. package/build/esm/index-4b764dd3.js +0 -1
  138. package/build/esm/index-60151673.js +0 -1
  139. package/build/esm/index-ff85c851.js +0 -1
  140. package/build/esm/index.styled-3f3de4f4.js +0 -1
  141. package/build/esm/index.styled-6dd74408.js +0 -1
  142. package/build/esm/routing-0797aee7.js +0 -1
  143. package/build/esm/types-eacf4052.js +0 -1
  144. package/build/esm/useFbDataLayer-91991f18.js +0 -1
  145. package/build/index-296388f5.js +0 -1
  146. package/build/index-7c8291b0.js +0 -1
  147. package/build/index-7f2fabb8.js +0 -1
  148. package/build/index-88342058.js +0 -1
  149. package/build/index-a7f331a4.js +0 -1
  150. package/build/index-b2aa53ae.js +0 -1
  151. package/build/index-e646262f.js +0 -1
  152. package/build/index.styled-0a518d9e.js +0 -1
  153. package/build/lead/campaign.d.ts +0 -22
  154. package/build/lead/hooks/useLogicValidatePhoneAndEmail.d.ts +0 -8
  155. package/build/lead/oldLeadPopup.d.ts +0 -22
  156. package/build/types-420583be.js +0 -1
  157. package/build/useHealthToolCache-2afdbb97.js +0 -1
  158. /package/build/{BMI_BOYS.percentile.monthly-9e6b54a8.js → BMI_BOYS.percentile.monthly-ef48ddf4.js} +0 -0
  159. /package/build/{BMI_BOYS.percentile.weekly-e11d4cd1.js → BMI_BOYS.percentile.weekly-10f504d0.js} +0 -0
  160. /package/build/{BMI_BOYS.percentile.yearly-f6b39fbd.js → BMI_BOYS.percentile.yearly-17231b2d.js} +0 -0
  161. /package/build/{BMI_BOYS.zscore.monthly-1ce045a1.js → BMI_BOYS.zscore.monthly-23ea5ef0.js} +0 -0
  162. /package/build/{BMI_BOYS.zscore.weekly-ae605757.js → BMI_BOYS.zscore.weekly-2e49490d.js} +0 -0
  163. /package/build/{BMI_BOYS.zscore.yearly-50bd3788.js → BMI_BOYS.zscore.yearly-205631b0.js} +0 -0
  164. /package/build/{BMI_GIRLS.percentile.monthly-950e67f7.js → BMI_GIRLS.percentile.monthly-9fe863dc.js} +0 -0
  165. /package/build/{BMI_GIRLS.percentile.weekly-039fe03a.js → BMI_GIRLS.percentile.weekly-be0d0ffa.js} +0 -0
  166. /package/build/{BMI_GIRLS.percentile.yearly-55509986.js → BMI_GIRLS.percentile.yearly-9fef41d5.js} +0 -0
  167. /package/build/{BMI_GIRLS.zscore.monthly-7e10df95.js → BMI_GIRLS.zscore.monthly-6312fd0f.js} +0 -0
  168. /package/build/{BMI_GIRLS.zscore.weekly-6d6b3d5c.js → BMI_GIRLS.zscore.weekly-9cf1e438.js} +0 -0
  169. /package/build/{BMI_GIRLS.zscore.yearly-7ec52da6.js → BMI_GIRLS.zscore.yearly-06e620e9.js} +0 -0
  170. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-7efc3b56.js → HEAD CIRCUM_BOYS.percentile.monthly-7c08790d.js} +0 -0
  171. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-6fdce68f.js → HEAD CIRCUM_BOYS.percentile.weekly-f64a129b.js} +0 -0
  172. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-7dddfb97.js → HEAD CIRCUM_BOYS.percentile.yearly-7a41280b.js} +0 -0
  173. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-71afa4b2.js → HEAD CIRCUM_BOYS.zscore.monthly-e3638d27.js} +0 -0
  174. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-17a3b889.js → HEAD CIRCUM_BOYS.zscore.weekly-3c128aee.js} +0 -0
  175. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-645563c2.js → HEAD CIRCUM_BOYS.zscore.yearly-1f8a83f7.js} +0 -0
  176. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-db157097.js → HEAD CIRCUM_GIRLS.percentile.monthly-5e0c6dc3.js} +0 -0
  177. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-dafaf5c1.js → HEAD CIRCUM_GIRLS.percentile.weekly-507e70a7.js} +0 -0
  178. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-038c82a4.js → HEAD CIRCUM_GIRLS.percentile.yearly-646d3467.js} +0 -0
  179. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-692296a5.js → HEAD CIRCUM_GIRLS.zscore.monthly-81191d0e.js} +0 -0
  180. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-36961cc5.js → HEAD CIRCUM_GIRLS.zscore.weekly-1b5f61f0.js} +0 -0
  181. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-04b20925.js → HEAD CIRCUM_GIRLS.zscore.yearly-6f02dc11.js} +0 -0
  182. /package/build/{HEIGHT_BOYS.percentile.monthly-9977bd25.js → HEIGHT_BOYS.percentile.monthly-da24abbb.js} +0 -0
  183. /package/build/{HEIGHT_BOYS.percentile.weekly-4217f404.js → HEIGHT_BOYS.percentile.weekly-549f3399.js} +0 -0
  184. /package/build/{HEIGHT_BOYS.percentile.yearly-4fe02758.js → HEIGHT_BOYS.percentile.yearly-a2e98b7a.js} +0 -0
  185. /package/build/{HEIGHT_BOYS.zscore.monthly-3cb1f4e2.js → HEIGHT_BOYS.zscore.monthly-bb6d8645.js} +0 -0
  186. /package/build/{HEIGHT_BOYS.zscore.weekly-14057970.js → HEIGHT_BOYS.zscore.weekly-ce391c46.js} +0 -0
  187. /package/build/{HEIGHT_BOYS.zscore.yearly-ac5651e0.js → HEIGHT_BOYS.zscore.yearly-36fe07b4.js} +0 -0
  188. /package/build/{HEIGHT_GIRLS.percentile.monthly-adc29257.js → HEIGHT_GIRLS.percentile.monthly-90a04b64.js} +0 -0
  189. /package/build/{HEIGHT_GIRLS.percentile.weekly-b76ea902.js → HEIGHT_GIRLS.percentile.weekly-ad67c856.js} +0 -0
  190. /package/build/{HEIGHT_GIRLS.percentile.yearly-ca8d7b06.js → HEIGHT_GIRLS.percentile.yearly-62cb9075.js} +0 -0
  191. /package/build/{HEIGHT_GIRLS.zscore.monthly-6e420c75.js → HEIGHT_GIRLS.zscore.monthly-cac440f3.js} +0 -0
  192. /package/build/{HEIGHT_GIRLS.zscore.weekly-d191caaa.js → HEIGHT_GIRLS.zscore.weekly-559855f1.js} +0 -0
  193. /package/build/{HEIGHT_GIRLS.zscore.yearly-25d3ecc8.js → HEIGHT_GIRLS.zscore.yearly-fb877cd3.js} +0 -0
  194. /package/build/{Locale-8442e04f.js → Locale-0df798ce.js} +0 -0
  195. /package/build/{WEIGHT_BOYS.percentile.monthly-f479446a.js → WEIGHT_BOYS.percentile.monthly-ea055ab0.js} +0 -0
  196. /package/build/{WEIGHT_BOYS.percentile.weekly-038b0142.js → WEIGHT_BOYS.percentile.weekly-5e129876.js} +0 -0
  197. /package/build/{WEIGHT_BOYS.percentile.yearly-9a66ab82.js → WEIGHT_BOYS.percentile.yearly-cebd86f4.js} +0 -0
  198. /package/build/{WEIGHT_BOYS.zscore.monthly-6c2f9888.js → WEIGHT_BOYS.zscore.monthly-298fc987.js} +0 -0
  199. /package/build/{WEIGHT_BOYS.zscore.weekly-323495b7.js → WEIGHT_BOYS.zscore.weekly-ed39505c.js} +0 -0
  200. /package/build/{WEIGHT_BOYS.zscore.yearly-225ef431.js → WEIGHT_BOYS.zscore.yearly-68c66bc4.js} +0 -0
  201. /package/build/{WEIGHT_GIRLS.percentile.monthly-37eb2035.js → WEIGHT_GIRLS.percentile.monthly-3565e53f.js} +0 -0
  202. /package/build/{WEIGHT_GIRLS.percentile.weekly-abf0a3ee.js → WEIGHT_GIRLS.percentile.weekly-28d80ff0.js} +0 -0
  203. /package/build/{WEIGHT_GIRLS.percentile.yearly-47c7cb3d.js → WEIGHT_GIRLS.percentile.yearly-e4ba4e16.js} +0 -0
  204. /package/build/{WEIGHT_GIRLS.zscore.monthly-1d8da896.js → WEIGHT_GIRLS.zscore.monthly-e660ddb5.js} +0 -0
  205. /package/build/{WEIGHT_GIRLS.zscore.weekly-c74501a7.js → WEIGHT_GIRLS.zscore.weekly-bcf5aa25.js} +0 -0
  206. /package/build/{WEIGHT_GIRLS.zscore.yearly-7ba94d8f.js → WEIGHT_GIRLS.zscore.yearly-5dd4d8d9.js} +0 -0
  207. /package/build/{constants-3e23281c.js → constants-ae8fdb21.js} +0 -0
  208. /package/build/{cookieHelper-0ed7c0f4.js → cookieHelper-59d68259.js} +0 -0
  209. /package/build/{dataTransform-52593f62.js → dataTransform-5d90a72a.js} +0 -0
  210. /package/build/esm/{BMI_BOYS.percentile.monthly-04336cdb.js → BMI_BOYS.percentile.monthly-75420719.js} +0 -0
  211. /package/build/esm/{BMI_BOYS.percentile.weekly-7aa2206d.js → BMI_BOYS.percentile.weekly-792c4c98.js} +0 -0
  212. /package/build/esm/{BMI_BOYS.percentile.yearly-37e1bab8.js → BMI_BOYS.percentile.yearly-4b785ef2.js} +0 -0
  213. /package/build/esm/{BMI_BOYS.zscore.monthly-35ccd6e2.js → BMI_BOYS.zscore.monthly-c14329d0.js} +0 -0
  214. /package/build/esm/{BMI_BOYS.zscore.weekly-48eb7244.js → BMI_BOYS.zscore.weekly-ce5e4f11.js} +0 -0
  215. /package/build/esm/{BMI_BOYS.zscore.yearly-30128ebe.js → BMI_BOYS.zscore.yearly-18db2c9a.js} +0 -0
  216. /package/build/esm/{BMI_GIRLS.percentile.monthly-bd3fe421.js → BMI_GIRLS.percentile.monthly-d7d468d4.js} +0 -0
  217. /package/build/esm/{BMI_GIRLS.percentile.weekly-1de5b4da.js → BMI_GIRLS.percentile.weekly-2606b43f.js} +0 -0
  218. /package/build/esm/{BMI_GIRLS.percentile.yearly-aadadd00.js → BMI_GIRLS.percentile.yearly-cf4c1353.js} +0 -0
  219. /package/build/esm/{BMI_GIRLS.zscore.monthly-7f55a088.js → BMI_GIRLS.zscore.monthly-0b1bee1a.js} +0 -0
  220. /package/build/esm/{BMI_GIRLS.zscore.weekly-da68e9cf.js → BMI_GIRLS.zscore.weekly-06f8842d.js} +0 -0
  221. /package/build/esm/{BMI_GIRLS.zscore.yearly-40c9b24f.js → BMI_GIRLS.zscore.yearly-50c3d8cf.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-901fa72d.js → HEAD CIRCUM_BOYS.percentile.monthly-9f1234a9.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-e68def18.js → HEAD CIRCUM_BOYS.percentile.weekly-a9ec0acd.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-5f71148d.js → HEAD CIRCUM_BOYS.percentile.yearly-060db9e7.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-92a0ff77.js → HEAD CIRCUM_BOYS.zscore.monthly-21982edd.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-baece344.js → HEAD CIRCUM_BOYS.zscore.weekly-c5b999ca.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-730cfaec.js → HEAD CIRCUM_BOYS.zscore.yearly-cb930d15.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-ed9553c3.js → HEAD CIRCUM_GIRLS.percentile.monthly-4605f557.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-17d18791.js → HEAD CIRCUM_GIRLS.percentile.weekly-31fd4b27.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-88bdc972.js → HEAD CIRCUM_GIRLS.percentile.yearly-bdd2ab68.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-c82d2ff9.js → HEAD CIRCUM_GIRLS.zscore.monthly-8115b60f.js} +0 -0
  232. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-60738a3b.js → HEAD CIRCUM_GIRLS.zscore.weekly-a2aca42e.js} +0 -0
  233. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-35c770fa.js → HEAD CIRCUM_GIRLS.zscore.yearly-45d4f7e1.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0c09dac3.js → HEIGHT_BOYS.percentile.monthly-07cd0857.js} +0 -0
  235. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-63e3d0c5.js → HEIGHT_BOYS.percentile.weekly-f069f8db.js} +0 -0
  236. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-beab133e.js → HEIGHT_BOYS.percentile.yearly-2792e74a.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e9542002.js → HEIGHT_BOYS.zscore.monthly-1ed4f41a.js} +0 -0
  238. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-112599a4.js → HEIGHT_BOYS.zscore.weekly-3ba67c7b.js} +0 -0
  239. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-ef28f146.js → HEIGHT_BOYS.zscore.yearly-dab4ff0b.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-bf51e773.js → HEIGHT_GIRLS.percentile.monthly-845c52ec.js} +0 -0
  241. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-fb60db4b.js → HEIGHT_GIRLS.percentile.weekly-ca906646.js} +0 -0
  242. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3b3ce8f1.js → HEIGHT_GIRLS.percentile.yearly-4c7ab2b9.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a65dc5d2.js → HEIGHT_GIRLS.zscore.monthly-2817b695.js} +0 -0
  244. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0ee383ed.js → HEIGHT_GIRLS.zscore.weekly-10528fa8.js} +0 -0
  245. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-dac015fc.js → HEIGHT_GIRLS.zscore.yearly-0408ea58.js} +0 -0
  246. /package/build/esm/{Locale-26444728.js → Locale-376d4f0f.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-4f777510.js → WEIGHT_BOYS.percentile.monthly-eec03b69.js} +0 -0
  248. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-5fe558ca.js → WEIGHT_BOYS.percentile.weekly-ef73a6cd.js} +0 -0
  249. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-7adac828.js → WEIGHT_BOYS.percentile.yearly-230508a4.js} +0 -0
  250. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-edf1356e.js → WEIGHT_BOYS.zscore.monthly-1bf82536.js} +0 -0
  251. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-f4c47717.js → WEIGHT_BOYS.zscore.weekly-98775e1c.js} +0 -0
  252. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-db79849d.js → WEIGHT_BOYS.zscore.yearly-e37cb33a.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-77be573c.js → WEIGHT_GIRLS.percentile.monthly-659f6a78.js} +0 -0
  254. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-249cfb5f.js → WEIGHT_GIRLS.percentile.weekly-82d0de9e.js} +0 -0
  255. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-432d60a0.js → WEIGHT_GIRLS.percentile.yearly-41efa4b4.js} +0 -0
  256. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-7e3bf7aa.js → WEIGHT_GIRLS.zscore.monthly-b6b750c1.js} +0 -0
  257. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-333699e9.js → WEIGHT_GIRLS.zscore.weekly-b2e73774.js} +0 -0
  258. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-c0cd66c9.js → WEIGHT_GIRLS.zscore.yearly-8e7814e7.js} +0 -0
  259. /package/build/esm/{constants-9802916c.js → constants-70ffd93b.js} +0 -0
  260. /package/build/esm/{cookieHelper-b7383c13.js → cookieHelper-0e9a2243.js} +0 -0
  261. /package/build/esm/{dataTransform-8015f34d.js → dataTransform-181ca903.js} +0 -0
  262. /package/build/esm/{isProduction-591809e4.js → isProduction-ade94f20.js} +0 -0
  263. /package/build/esm/{localizeNumberFormat-2e9b678d.js → localizeNumberFormat-46bfa250.js} +0 -0
  264. /package/build/esm/{theme-4965c17b.js → theme-c8282bfd.js} +0 -0
  265. /package/build/esm/{translationsContext-45e7b7c0.js → translationsContext-5a9d7e80.js} +0 -0
  266. /package/build/esm/{tslib.es6-f57f7d0d.js → tslib.es6-358016f6.js} +0 -0
  267. /package/build/esm/{types-00639960.js → types-2372ce74.js} +0 -0
  268. /package/build/esm/{useOutsideClick-eb767e97.js → useOutsideClick-7608f2a9.js} +0 -0
  269. /package/build/esm/{useScrollbarSize-3f35b7a8.js → useScrollbarSize-1a0e4dbd.js} +0 -0
  270. /package/build/esm/{utils-84d591f6.js → utils-b9a87f59.js} +0 -0
  271. /package/build/{isProduction-cc1f637a.js → isProduction-b02d9a5a.js} +0 -0
  272. /package/build/{localizeNumberFormat-24cff7c9.js → localizeNumberFormat-35fa552c.js} +0 -0
  273. /package/build/{theme-cb9ab2c7.js → theme-66d53170.js} +0 -0
  274. /package/build/{translationsContext-0bfd2a34.js → translationsContext-5d9e1a39.js} +0 -0
  275. /package/build/{tslib.es6-35544b90.js → tslib.es6-a97ac8cf.js} +0 -0
  276. /package/build/{types-507634dd.js → types-ea31bbda.js} +0 -0
  277. /package/build/{useOutsideClick-f6c81846.js → useOutsideClick-fb40e641.js} +0 -0
  278. /package/build/{useScrollbarSize-201c7b81.js → useScrollbarSize-5a81eba1.js} +0 -0
  279. /package/build/{utils-252705e5.js → utils-fee2ee80.js} +0 -0
@@ -1 +0,0 @@
1
- import{_ as e,b as t,c as n,d as l}from"./tslib.es6-f57f7d0d.js";import a,{useState as i,useEffect as r,useRef as o,useMemo as c,useContext as s,useCallback as m}from"react";import{g as u}from"./core-b0a1c851.js";import{CommonGAssets as d}from"./gAssets.js";import{S as h,g,h as v,i as p,j as E,k as f,l as y,P as w,m as L,n as C,o as b,N as k,p as M,q as P,r as H,s as N,t as x,u as B,v as A,w as T,x as _,y as R,z as S,A as U,B as Z,C as V,E as F,F as I,I as O,J as D,K as j,L as G,M as z,O as W,Q as q,R as K,V as Y,W as Q,X as J,Y as X,Z as $,_ as ee,$ as te,a0 as ne,a1 as le,a2 as ae,a3 as ie,a4 as re,a5 as oe,a6 as ce,a7 as se,a8 as me,a9 as ue,aa as de,ab as he,ac as ge,ad as ve,ae as pe,af as Ee,ag as fe,ah as ye,ai as we,aj as Le,ak as Ce,al as be,am as ke,an as Me,ao as Pe,ap as He,aq as Ne,ar as xe,as as Be,at as Ae,au as Te,av as _e,aw as Re}from"./index.styled-3f3de4f4.js";import{T as Se}from"./index-c2d22670.js";import{d as Ue,L as Ze,S as Ve,U as Fe,C as Ie,T as Oe}from"./index-97dadfcb.js";import{d as De,b as je,c as Ge}from"./routing-0797aee7.js";import{L as ze}from"./index-62b8eca0.js";import{u as We}from"./useTranslations-9a6a81b8.js";import qe from"lodash/throttle";import{g as Ke}from"./utils-84d591f6.js";import{y as Ye,P as Qe,H as Je}from"./index.styled-b51c965e.js";import{B as Xe}from"./index-e0ba9ff2.js";import{t as $e}from"./theme-4965c17b.js";import{Portal as et}from"@mantine/core";import{g as tt}from"./cookieHelper-b7383c13.js";import"./index.styled-927ec3a0.js";import{C as nt}from"./index-6667c357.js";import"./index.styled-5143dec4.js";import"./index-8042ada4.js";import{L as lt}from"./constants-9802916c.js";import at from"string-format";import it from"lodash/debounce";var rt={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},ot=function(t){var n=t.type,l=void 0===n?"square":n,o=t.size,c=t.avatarImg,s=t.avatarUrl,m=t.firstLetter,u=t.backgroundColor,d=t.onClick,h=t.style,g=t.className,v=t.width,p=t.height,E=o?rt[o]:void 0,f=i(!1),y=f[0],w=f[1];r((function(){if(s){var e=document.createElement("img");e.setAttribute("src",s),e.addEventListener("error",(function(){w(!0)}))}}),[s,w]);var L=(!s&&!c||y)&&m;return a.createElement(Ye,{style:e(e({},h),{"--size":E?E+"px":void 0,"--width-prop":v?v+"px":void 0,"--height-prop":p?p+"px":void 0,"--background-color":u}),"data-has-max":!(!v||!p),"data-avatar-type":l,onClick:d,className:g,avatarUrl:s,"data-custom-size":!!o},c,s&&!y&&a.createElement("img",{src:s}),L&&m)},ct=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/cambodiaRound.png"),style:e({borderRadius:"50%"},t.style)},t))},st=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/cambodiaSquare.png")},t))},mt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("path",{d:"M7.49953 0.327881C5.47199 0.850891 3.69346 1.98591 2.37793 3.53444L7.49953 6.6655V0.327881Z",fill:"#3F51B5"}),a.createElement("path",{d:"M2.30273 16.3824C3.62476 17.9749 5.4353 19.1399 7.50034 19.6729V13.2053L2.30273 16.3824Z",fill:"#3F51B5"}),a.createElement("path",{d:"M0.328125 12.5C0.334625 12.526 0.341125 12.5515 0.348125 12.5775L0.474128 12.5H0.328125Z",fill:"white"}),a.createElement("path",{d:"M17.7871 3.73445C16.4571 2.08391 14.6131 0.872891 12.499 0.327881V6.96651L17.7871 3.73445Z",fill:"#3F51B5"}),a.createElement("path",{d:"M12.499 19.6722C14.6506 19.1172 16.5196 17.8707 17.8546 16.1752L12.499 12.9021V19.6722Z",fill:"#3F51B5"}),a.createElement("path",{d:"M0.376626 7.31055C0.359125 7.37305 0.344125 7.43705 0.328125 7.50005H0.686632L0.376626 7.31055Z",fill:"white"}),a.createElement("path",{d:"M19.8745 8.50006C19.827 8.18506 19.7655 7.87555 19.6895 7.57104L18.1699 8.50006H19.8745Z",fill:"white"}),a.createElement("path",{d:"M0.686034 7.50024H0.327527C0.243026 7.82775 0.175524 8.16076 0.124023 8.50026H2.32207L0.686034 7.50024Z",fill:"white"}),a.createElement("path",{d:"M19.7197 12.3148C19.7832 12.0473 19.8337 11.7752 19.8752 11.5002H18.3867L19.7197 12.3148Z",fill:"white"}),a.createElement("path",{d:"M2.10956 11.5002H0.124023C0.175024 11.8398 0.243026 12.1728 0.327527 12.5003H0.47403L2.10956 11.5002Z",fill:"white"}),a.createElement("path",{d:"M8.50002 7.27665V0.124512C8.16051 0.175513 7.82751 0.243514 7.5 0.328016V6.66564L8.50002 7.27665Z",fill:"white"}),a.createElement("path",{d:"M11.5 12.2913V19.8759C11.8395 19.8249 12.1725 19.7569 12.5 19.6724V12.9023L11.5 12.2913Z",fill:"white"}),a.createElement("path",{d:"M7.5 13.205V19.6721C7.82751 19.7566 8.16051 19.8241 8.50002 19.8756V12.594L7.5 13.205Z",fill:"white"}),a.createElement("path",{d:"M11.5925 7.34715L11.7345 7.43415L12.5 6.96614V0.328016C12.1725 0.243514 11.8395 0.176013 11.5 0.124512V7.49865L11.5925 7.34715Z",fill:"white"}),a.createElement("path",{d:"M2.32251 8.50002H7.01761L8.50014 7.594V7.277L7.50011 6.66548L2.37852 3.53442C1.95151 4.03743 1.572 4.58144 1.24949 5.16296L5.02507 7.5H2.29701L0.650482 6.47648C0.54748 6.74949 0.455478 7.02699 0.375977 7.3105L0.686483 7.5L2.32251 8.50002Z",fill:"white"}),a.createElement("path",{d:"M11.7344 7.43419L13.4784 8.50021H18.171L19.6905 7.57119C19.528 6.92118 19.303 6.29767 19.02 5.70516L16.139 7.50019H13.4109L18.317 4.45013C18.1515 4.20313 17.9735 3.96562 17.7875 3.73462L12.4999 6.96618L11.7344 7.43419Z",fill:"white"}),a.createElement("path",{d:"M5.02448 7.50013L1.2494 5.16309C1.0169 5.58259 0.821394 6.0231 0.650391 6.47661L2.29642 7.50013H5.02448Z",fill:"#E53935"}),a.createElement("path",{d:"M16.1392 7.50024L19.0207 5.70521C18.8132 5.2702 18.5837 4.84819 18.3177 4.45068L13.4111 7.50024H16.1392Z",fill:"#E53935"}),a.createElement("path",{d:"M11.5 11.5002V12.2913L12.5 12.9023L17.8556 16.1758C18.2416 15.6853 18.5836 15.1593 18.8736 14.6008L15.4856 12.5003H18.2136L19.4432 13.2673C19.5507 12.9563 19.6432 12.6393 19.7197 12.3153L18.3871 11.5002H11.5Z",fill:"white"}),a.createElement("path",{d:"M13.4785 8.50019L11.7345 7.43417L11.5925 7.34717L11.5 7.49867V8.50019H13.4785Z",fill:"white"}),a.createElement("path",{d:"M8.49934 12.5943V11.5002H2.10921L0.473182 12.5003L0.34668 12.5778C0.522683 13.2383 0.762688 13.8713 1.06319 14.4708L4.16375 12.5003H6.89181L1.80071 15.7168C1.95971 15.9448 2.12471 16.1688 2.30172 16.3823L7.49932 13.2053L8.49934 12.5943Z",fill:"white"}),a.createElement("path",{d:"M7.01758 8.50026H8.50011V7.59424L7.01758 8.50026Z",fill:"white"}),a.createElement("path",{d:"M15.4854 12.5L18.8729 14.6C19.0949 14.173 19.2834 13.727 19.4429 13.2665L18.2134 12.5H15.4854Z",fill:"#E53935"}),a.createElement("path",{d:"M4.16501 12.5L1.06445 14.4705C1.28196 14.9045 1.52596 15.3216 1.80197 15.7166L6.89307 12.5H4.16501Z",fill:"#E53935"}),a.createElement("path",{d:"M13.4785 8.5H11.5V11.5001H18.3871H19.8757C19.9497 11.0095 20.0002 10.511 20.0002 10C20.0002 9.48902 19.9497 8.99051 19.8757 8.5H18.1711H13.4785Z",fill:"#E53935"}),a.createElement("path",{d:"M8.50017 11.5001V8.5H7.01764H2.32255H0.124502C0.050501 8.99051 0 9.48902 0 10C0 10.511 0.050501 11.0095 0.124502 11.5001H2.11004H8.50017Z",fill:"#E53935"}),a.createElement("path",{d:"M11.5001 19.8759V12.2912V11.5002V8.50016V7.49865V0.124502C11.0095 0.050501 10.511 0 10 0C9.48902 0 8.99051 0.050501 8.5 0.124502V7.27664V7.59365V8.50016V11.5002V12.5942V19.8759C8.99051 19.9499 9.48902 20.0004 10 20.0004C10.511 20.0004 11.0095 19.9499 11.5001 19.8759Z",fill:"#E53935"})))},ut=function(t){return a.createElement("svg",e({viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"5",width:"24",height:"16"},a.createElement("path",{d:"M1.08301 7.41675C1.08301 6.31218 1.97844 5.41675 3.08301 5.41675H22.9163C24.0209 5.41675 24.9163 6.31218 24.9163 7.41675V18.5834C24.9163 19.688 24.0209 20.5834 22.9163 20.5834H3.08301C1.97844 20.5834 1.08301 19.688 1.08301 18.5834V7.41675Z",fill:"#3F51B5"})),a.createElement("path",{d:"M1.08301 5.41675H24.9163V20.5834H1.08301V5.41675Z",fill:"#3F51B5"}),a.createElement("path",{d:"M1.08301 7.70041L12.3551 14.5899L14.05 11.8165L3.57901 5.41675H1.08301V7.70041Z",fill:"white"}),a.createElement("path",{d:"M24.9165 5.41675H22.9616L12.4912 11.816L14.1855 14.5899L24.9165 8.03083V5.41675Z",fill:"white"}),a.createElement("path",{d:"M14.1855 10.9802L12.4912 13.7536L23.6658 20.5834H24.9165V17.5387L14.1855 10.9802Z",fill:"white"}),a.createElement("path",{d:"M1.08301 17.8702V20.5834H2.87592L14.05 13.7541L12.3556 10.9802L1.08301 17.8702Z",fill:"white"}),a.createElement("path",{d:"M1.08301 10.8333H24.9163V15.1666H1.08301V10.8333Z",fill:"white"}),a.createElement("path",{d:"M10.833 5.41675H15.1663V20.5834H10.833V5.41675Z",fill:"white"}),a.createElement("path",{d:"M9.32609 10.8334L1.08301 5.79537V7.06504L7.24826 10.8334H9.32609ZM24.0004 5.41675L15.1376 10.8334H17.2149L24.9163 6.12687V5.41675H24.0004ZM17.9191 15.1667L24.9163 19.4432V18.1735L19.9964 15.1667H17.9191ZM8.62192 15.1667L1.08301 19.7742V20.5834H1.83701L10.6992 15.1667H8.62192ZM1.08301 11.9167H24.9163V14.0834H1.08301V11.9167Z",fill:"#E53935"}),a.createElement("path",{d:"M11.917 5.41675H14.0837V20.5834H11.917V5.41675Z",fill:"#E53935"})))},dt=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/indiaRound.png"),style:e({borderRadius:"50%"},t.style)},t))},ht=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/indiaSquare.png")},t))},gt=function(n){var l=n.isTesting,i=t(n,["isTesting"]),r=o("id-flag-round-mask-"+(l?1:Math.random()));return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("mask",{id:r.current,style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("g",{mask:"url(#".concat(r.current,")")},a.createElement("rect",{width:"20",height:"10",fill:"#CE1126"}),a.createElement("rect",{y:"10",width:"20",height:"10",fill:"white"})))},vt=function(n){var l=n.isTesting,i=t(n,["isTesting"]),r=o("id-flag-clip-"+(l?1:Math.random()));return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),a.createElement("g",{clipPath:"url(#".concat(r.current,")")},a.createElement("rect",{y:"0.0166016",width:"24",height:"8",fill:"#CE1126"}),a.createElement("rect",{y:"8.0166",width:"24",height:"8",fill:"white"})),a.createElement("defs",null,a.createElement("clipPath",{id:r.current},a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"white"}))))},pt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{y:"1",width:"20",height:"20",fill:"#CC0001"}),a.createElement("rect",{y:"16.106",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"16",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"18",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"14.0652",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"12.0242",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"9.9834",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"7.94263",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"5.90186",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"3.86084",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"2",width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{width:"20",height:"1.02041",fill:"white"}),a.createElement("rect",{y:"-1",width:"10",height:"12",fill:"#010066"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11387 3.86084C2.92711 3.86084 1.96387 5.23232 1.96387 6.92206C1.96387 8.6118 2.92711 9.98329 4.11387 9.98329C4.54263 9.98329 4.94211 9.80406 5.27763 9.4957C5.08225 9.59203 4.87256 9.64471 4.65427 9.64471C3.60193 9.64471 2.74786 8.42866 2.74786 6.93032C2.74786 5.43198 3.60193 4.21594 4.65427 4.21594C4.88682 4.21594 5.10959 4.27527 5.31571 4.38397C4.97256 4.0538 4.5589 3.86084 4.11387 3.86084Z",fill:"#FFCC00"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.67935 8.51573L6.7737 7.8407L7.04147 9.22221L6.43573 8.06657L6.24676 9.47313L6.0609 8.06576L5.4526 9.2188L5.72343 7.83844L4.81629 8.50957L5.49017 7.42963L4.46387 7.48593L5.40732 6.9203L4.46512 6.35062L5.4913 6.41133L4.81981 5.3285L5.72546 6.00353L5.45769 4.62202L6.06343 5.77766L6.25241 4.37109L6.43827 5.77847L7.04656 4.62543L6.77574 6.00579L7.68287 5.33466L7.00899 6.4146L8.0353 6.3583L7.09184 6.92392L8.03404 7.49361L7.00786 7.43289L7.67935 8.51573Z",fill:"#FFCC00"})))},Et=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#CC0001"}),a.createElement("rect",{y:"12.2712",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"12.1904",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"13.7144",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"10.7161",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"9.16138",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"7.60645",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"6.05127",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"4.49658",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"2.94141",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{y:"1.52393",width:"24",height:"0.777454",fill:"white"}),a.createElement("rect",{width:"24",height:"0.777454",fill:"white"}),a.createElement("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H12V8.38095H0V2Z",fill:"#010066"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.93644 1.52393C3.51233 1.52393 2.35645 2.56887 2.35645 3.85629C2.35645 5.14371 3.51233 6.18865 4.93644 6.18865C5.45096 6.18865 5.93034 6.05209 6.33296 5.81716C6.09851 5.89054 5.84688 5.93068 5.58492 5.93068C4.32212 5.93068 3.29724 5.00417 3.29724 3.86258C3.29724 2.72099 4.32212 1.79448 5.58492 1.79448C5.86399 1.79448 6.13132 1.83968 6.37865 1.9225C5.96688 1.67094 5.47049 1.52393 4.93644 1.52393Z",fill:"#FFCC00"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.216 5.07041L8.12923 4.55611L8.45055 5.60869L7.72366 4.72819L7.49689 5.79987L7.27386 4.72758L6.5439 5.60609L6.86889 4.55439L5.78033 5.06572L6.58899 4.24291L5.35742 4.28581L6.48957 3.85485L5.35893 3.42081L6.59034 3.46707L5.78456 2.64205L6.87133 3.15636L6.55001 2.10378L7.2769 2.98427L7.50367 1.9126L7.7267 2.98488L8.45666 2.10638L8.13166 3.15808L9.22022 2.64674L8.41157 3.46955L9.64314 3.42666L8.51099 3.85761L9.64163 4.29165L8.41022 4.2454L9.216 5.07041Z",fill:"#FFCC00"}))},ft=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-1",width:"28",height:"11",fill:"#FECB00"}),a.createElement("rect",{x:"-4",y:"10",width:"28",height:"10",fill:"#EA2839"}),a.createElement("rect",{x:"-4",y:"6.7041",width:"28",height:"6.47773",fill:"#34B233"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.56543 10.3272L10.1796 5.15527L11.7938 10.3272H8.56543Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5292 11.2775L7.18336 14.5129L8.91745 9.37991L11.5292 11.2775Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.75181 11.8648L5.33182 8.73143L10.7494 8.79447L9.75181 11.8648Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.6105 8.78962L15.0281 8.72658L10.6081 11.86L9.6105 8.78962Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4424 9.37686L13.1765 14.5098L8.83064 11.2744L11.4424 9.37686Z",fill:"white"})))},yt=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#FECB00"}),a.createElement("rect",{y:"8.3811",width:"24",height:"7.61905",rx:"2",fill:"#EA2839"}),a.createElement("rect",{y:"5.86987",width:"24",height:"4.93542",fill:"#34B233"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.7705 8.63046L12.1541 4.68994L13.5377 8.63046H10.7705Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.3108 9.35502L9.58574 11.8201L11.0721 7.90925L13.3108 9.35502Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.7874 9.80216L7.99884 7.41482L12.6425 7.46285L11.7874 9.80216Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 7.4589L16.3104 7.41087L12.5218 9.79821L11.6667 7.4589Z",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2361 7.90629L14.7225 11.8171L10.9974 9.35207L13.2361 7.90629Z",fill:"white"}))},wt=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/philippineRound.png"),style:e({borderRadius:"50%"},t.style)},t))},Lt=function(t){return a.createElement("img",e({src:d.getAssetPath("flags/philippineSquare.png")},t))},Ct=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#D8D8D8"}),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"white"})),a.createElement("rect",{width:"30",height:"20",fill:"#ED1E24"}),a.createElement("rect",{width:"15",height:"10",fill:"#2B2F84"}),a.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),a.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),a.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),a.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),a.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),a.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),a.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),a.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),a.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),a.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),a.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),a.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),a.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))))},bt=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{width:"24",height:"16",rx:"2",fill:"#ED1E24"}),a.createElement("path",{d:"M0 2C0 0.89543 0.895431 0 2 0H15V10H0V2Z",fill:"#2B2F84"}),a.createElement("circle",{cx:"7.49791",cy:"4.99913",r:"1.869",fill:"white"}),a.createElement("path",{d:"M7.93582 2.89402L7.49722 1.25732L7.05762 2.89812C7.28902 2.84212 7.64062 2.82912 7.93582 2.89402Z",fill:"white"}),a.createElement("path",{d:"M6.82515 2.95674L5.62695 1.75854L6.06655 3.39934C6.23895 3.23514 6.53695 3.04814 6.82515 2.95674Z",fill:"white"}),a.createElement("path",{d:"M5.89364 3.56677L4.25684 3.12817L5.45794 4.32927C5.52514 4.10107 5.68964 3.79007 5.89364 3.56677Z",fill:"white"}),a.createElement("path",{d:"M5.39266 4.56055L3.75586 4.99915L5.39666 5.43885C5.34066 5.20745 5.32756 4.85585 5.39266 4.56055Z",fill:"white"}),a.createElement("path",{d:"M5.45504 5.67188L4.25684 6.87007L5.89764 6.43047C5.73344 6.25807 5.54634 5.96007 5.45504 5.67188Z",fill:"white"}),a.createElement("path",{d:"M6.06555 6.60278L5.62695 8.23958L6.82815 7.03838C6.59975 6.97128 6.28875 6.80678 6.06555 6.60278Z",fill:"white"}),a.createElement("path",{d:"M7.05859 7.1041L7.49719 8.7409L7.93679 7.1001C7.70549 7.1561 7.35399 7.1692 7.05859 7.1041Z",fill:"white"}),a.createElement("path",{d:"M8.16992 7.04148L9.36812 8.23968L8.92852 6.59888C8.75622 6.76308 8.45822 6.95018 8.16992 7.04148Z",fill:"white"}),a.createElement("path",{d:"M9.10156 6.43145L10.7384 6.87005L9.53726 5.66895C9.47006 5.89725 9.30556 6.20825 9.10156 6.43145Z",fill:"white"}),a.createElement("path",{d:"M9.60263 5.43763L11.2394 4.99903L9.59863 4.55933C9.65463 4.79073 9.66763 5.14223 9.60263 5.43763Z",fill:"white"}),a.createElement("path",{d:"M9.54026 4.32637L10.7385 3.12817L9.09766 3.56777C9.26196 3.74007 9.44896 4.03807 9.54026 4.32637Z",fill:"white"}),a.createElement("path",{d:"M8.92959 3.39534L9.36819 1.75854L8.16699 2.95964C8.39529 3.02674 8.70629 3.19124 8.92959 3.39534Z",fill:"white"}))},kt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#ED1C24"}),a.createElement("rect",{x:"-4",y:"3.31665",width:"28",height:"13.3333",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-4 6.65015H24V13.3168H-4V6.65015Z",fill:"#241D4F"})))},Mt=function(t){return a.createElement("svg",e({viewBox:"0 0 24 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("rect",{y:"0.983398",width:"24",height:"16",rx:"2",fill:"#ED1C24"}),a.createElement("rect",{y:"3.65039",width:"24",height:"10.6667",fill:"white"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 6.31689H24V11.6502H0V6.31689Z",fill:"#241D4F"}))},Pt=function(t){return a.createElement("svg",e({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:e({borderRadius:"50%"},t.style)},t),a.createElement("g",null,a.createElement("mask",{style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"20",height:"20"},a.createElement("circle",{cx:"10",cy:"10",r:"10",fill:"#C4C4C4"})),a.createElement("rect",{x:"-4",y:"-0.0166016",width:"28",height:"20",fill:"#DA251D"}),a.createElement("path",{d:"M11.7228 10.8677L14.2819 9.00839L11.1187 9.00839L10.1409 6L9.16316 9.00839L6 9.00839L8.5591 10.8677L7.58184 13.8766L10.1409 12.0168L12.7 13.8766L11.7228 10.8677Z",fill:"#FFEB3B"})))},Ht=function(t){return a.createElement("svg",e({viewBox:"0 0 24 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),a.createElement("g",null,a.createElement("clipPath",null,a.createElement("rect",{width:"24",height:"16",fill:"white"})),a.createElement("path",{d:"M2.01386e-10 2C0 0.895431 0.895431 -7.50368e-10 2 -1.67599e-09L22 -1.84359e-08C23.1046 -1.93615e-08 24 0.895431 24 2L24 14C24 15.1046 23.1046 16 22 16L2 16C0.89543 16 1.52092e-09 15.1046 1.4097e-09 14L2.01386e-10 2Z",fill:"#DA251D"}),a.createElement("path",{d:"M13.7823 8.92854L16.6663 6.8332L13.1016 6.8332L11.9997 3.44287L10.8978 6.8332L7.33301 6.8332L10.217 8.92854L9.11567 12.3195L11.9997 10.2235L14.8837 12.3195L13.7823 8.92854Z",fill:"#FFEB3B"})))},Nt="pfaLGRK",xt=function(e){var t,n,l=e.country,i=e.language,r=e.rounded,o=e.height,c=e.width,s=e.isTesting;switch(i){case"en":t=a.createElement(ut,null),n=a.createElement(mt,null);break;case"vi":t=a.createElement(Ht,null),n=a.createElement(Pt,null);break;case"id":t=a.createElement(vt,{isTesting:s}),n=a.createElement(gt,{isTesting:s});break;case"th":t=a.createElement(Mt,null),n=a.createElement(kt,null);break;case"km":t=a.createElement(st,null),n=a.createElement(ct,null);break;case"ms":t=a.createElement(Et,null),n=a.createElement(pt,null);break;case"my":t=a.createElement(yt,null),n=a.createElement(ft,null);break;case"tl":t=a.createElement(Lt,null),n=a.createElement(wt,null);break;case"hi":t=a.createElement(ht,null),n=a.createElement(dt,null);break;case"zh":t=a.createElement(bt,null),n=a.createElement(Ct,null)}if(!t&&!n)switch(l){case"VN":t=a.createElement(Ht,null),n=a.createElement(Pt,null);break;case"ID":t=a.createElement(vt,{isTesting:s}),n=a.createElement(gt,{isTesting:s});break;case"TH":t=a.createElement(Mt,null),n=a.createElement(kt,null);break;case"KH":t=a.createElement(st,null),n=a.createElement(ct,null);break;case"MY":t=a.createElement(Et,null),n=a.createElement(pt,null);break;case"MM":t=a.createElement(yt,null),n=a.createElement(ft,null);break;case"PH":t=a.createElement(Lt,null),n=a.createElement(wt,null);break;case"IN":t=a.createElement(ht,null),n=a.createElement(dt,null);break;case"TW":t=a.createElement(bt,null),n=a.createElement(Ct,null)}return a.createElement("div",{className:Nt,style:{"--width":c||20,"--height":o||20}},r?n:t)},Bt=function(e){var t=e.options,n=e.label,l=e.labelRenderer,r=e.selected,o=e.onChange,c=e.showSelected,s=void 0===c||c,m=e.style,u=void 0===m?{}:m,f=e.showIndicator,y=void 0===f||f,w=i(!1),L=w[0],C=w[1];return a.createElement(a.Fragment,null,a.createElement(h,null,a.createElement(g,{onClick:function(){return C((function(e){return!e}))}},n||(null==l?void 0:l(L))||null,a.createElement(v,{"data-is-open":L,style:u,"data-show-indicator":y},t.map((function(e,t){return a.createElement(p,{key:t,"data-selected":s&&r===e.value,onClick:function(t){r!==e.value&&(o(e.value),C((function(e){return!e}))),t.stopPropagation()}},a.createElement(Se,{size:"p3"},e.label),s&&r===e.value&&a.createElement("img",{src:d.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),L&&a.createElement(E,{onClick:function(){return C(!1)}}))},At=function(e){var t,n,l=e.languageOptions,i=e.locale,r=null==l?void 0:l.find((function(e){return e.locale===i}));return(null==l?void 0:l.length)?a.createElement(Bt,{options:l,selected:r.value,label:a.createElement(Tt,{locale:i,label:r.label||(null===(n=null===(t=i.split("-"))||void 0===t?void 0:t[0])||void 0===n?void 0:n.toUpperCase())}),onChange:function(e){"undefined"!=typeof window&&(window.location.href=e)},style:{width:100},showSelected:!0,showIndicator:!1}):null},Tt=function(e){var t,n,l,i=e.locale,r=e.label,o=e.href;return a.createElement(f,{href:o},a.createElement(xt,{country:null===(n=null===(t=null==i?void 0:i.split("-"))||void 0===t?void 0:t[1])||void 0===n?void 0:n.toUpperCase(),width:16,height:16,rounded:!0,language:null===(l=null==i?void 0:i.split("-"))||void 0===l?void 0:l[0]}),a.createElement("span",null,r))},_t=function(e){var t=e.forceDisplay,n=e.mediaQueryKey,l=e.children,i=e.className,r=e.style,o=c((function(){return Ke(n)}),[n]),s=o[0],m=o[1];return a.createElement(y,{lowerBound:t?0:s,upperBound:t?0:m,className:i,style:r},l)},Rt=function(e){var t=(e||{}).allowBgScroll,n=o();return{containerRef:n,onContainerFocus:function(){t||(document.documentElement.style.overflow="hidden")},onContainerBlur:function(){t||(document.documentElement.style.overflow="")},onButtonMouseDown:function(e){n.current&&(document.activeElement===n.current||n.current.contains(document.activeElement))&&(n.current.blur(),document.activeElement.blur(),e.preventDefault())},onClose:function(){n.current&&(document.activeElement===n.current||n.current.contains(document.activeElement))&&(n.current.blur(),document.activeElement.blur())}}},St=function(e){var t=e.openLogoutPopup,n=e.onCloseHandler,l=e.onLogoutHandler,i=e.siteType,o=void 0===i?"helloSites":i,c=We().t;return r((function(){document.body.classList.toggle("noscroll",t)}),[t]),a.createElement(et,null,a.createElement(w,{type:"confirm",isOpen:t,closeIcon:a.createElement("img",{src:d.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon"}),onClose:n},a.createElement(L,null,"helloSites"===o&&a.createElement("img",{src:d.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account"}),a.createElement("h2",null,c("helloSites"===o?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,c("logout.popup.ask2")),a.createElement(C,{siteType:o},a.createElement(Xe,{className:"logout-button",color:"tertiary",size:"lg",onClick:l},c("logout.popup.button.logout")),a.createElement(Xe,{className:"cancel-button",color:"primary",size:"lg",onClick:n},c("logout.popup.button.cancel"))))))},Ut=function(e){var t,n,l,a;return e?{termId:e.term_id||null,sponsor:e.sponsor?(a=e.sponsor,a?{title:a.title,logo:a.logo,link:a.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((function(e){return 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===(n=e.cat_parent)||void 0===n?void 0:n.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?(l=e.reviewed_by,{postTitle:l.post_title,permalink:l.permalink}):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return function(e){return{title:e.title,content:e.content}}(e)})):null}:{}},Zt=function(e){var t,n;if(!e)return{};var l=null===(t=e.link)||void 0===t?void 0:t.includes("/bot/"),a=null===(n=e.link)||void 0===n?void 0:n.startsWith("/fil/"),i=e.link?e.link.startsWith("http")||l?e.link:a?e.link.replace("/health-tools/","/").replace("/fil/","/fil/health-tools/"):"/health-tools".concat(e.link.replace("/health-tools/","/")):void 0;return{icon:e.icon,link:i,subtitle:e.subtitle,title:e.title}},Vt=function(e){return e?{thumbnail:e.thumbnail,link:null==e?void 0:e.slug,subtitle:e.name,name:e.name,slug:e.slug}:{}},Ft=function(e){return e?{id:e.id,name:e.name,logo:null==e?void 0:e.logo,description:e.about,slug:e.slug}:{}},It=function(e){var t,n,l=e.type,a=e.specialtySlug,i=e.locale;return"".concat(null===(t=lt[i])||void 0===t?void 0:t.ALL,"/").concat((null===(n=lt[i])||void 0===n?void 0:n[l])||"doctor","/").concat(null!=a?a:"")},Ot=function(e){return 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}:{}},Dt=function(e){var t=new Date;if(null==e?void 0:e.startDate){var n=new Date(e.startDate);if(t.getTime()<n.getTime())return!1}if(null==e?void 0:e.endDate){var l=new Date(e.endDate);if(t.getTime()>l.getTime())return!1}return!0},jt={myBooking:"booking",mySaved:"saved",myHealth:"health",myFamily:"family",myCommunity:"my-communities",eCom:"shop"},Gt={navHeader:"uJQBNNg",navAvatar:"TfG3dM5",navHeaderUserInfos:"aMtjFNf",navHeaderUserName:"cSz2RR-",navHeaderMyProfileButton:"GyFm00F"};function zt(e){var t=e.userInfo,n=e.onClickMyProfileButton,l=e.themeName,i=void 0===l?"helloSites":l,r=We().t,o=c((function(){var e=(null==t?void 0:t.name)||(null==t?void 0:t.username);return e&&e.length?e[0].toUpperCase():"A"}),[null==t?void 0:t.username,null==t?void 0:t.name]);return a.createElement("div",{className:Gt.navHeader,onClick:function(){n&&n()}},a.createElement(ot,{className:Gt.navAvatar,type:"rounded",size:"xl",avatarUrl:null==t?void 0:t.avatar,firstLetter:o,backgroundColor:"marryBaby"===i?$e.mbColors.pink:$e.colors.secondaryBase}),a.createElement("div",{className:Gt.navHeaderUserInfos},a.createElement("div",{className:Gt.navHeaderUserName},(null==t?void 0:t.name)||(null==t?void 0:t.username)),a.createElement("div",{className:Gt.navHeaderMyProfileButton,style:{"--bg-hellosites":"url(".concat(d.getAssetPath("userProfileNav/helloSites/icon-chevronRight.svg"),")"),"--bg-marrybaby":"url(".concat(d.getAssetPath("userProfileNav/marryBaby/icon-arrowRight.svg"),")")}},r("userProfile.nav.header.viewProfile"))))}var Wt="gn6HmGG",qt="FCx8FEM",Kt="zMiRxaE",Yt="lZ2Z9MQ",Qt="rwm-agG",Jt="qMOscoq",Xt=function(e){var t=e.themeName,n=e.locale,l=e.onClickItem,r=i(""),o=r[0],s=r[1],m=c((function(){return"marryBaby"===t?[{key:"userProfile.nav.menu.password",icon:d.getAssetPath("userProfileNav/marryBaby/icon-lock.svg"),link:"password"},{key:"userProfile.nav.menu.logout",icon:d.getAssetPath("userProfileNav/marryBaby/icon-logOut.svg"),link:"logout"}]:[{key:"userProfile.nav.menu.accountSettings",icon:d.getAssetPath("userProfileNav/helloSites/icon-settingsWheel.svg"),subMenu:[{key:"userProfile.nav.menu.password",link:"password"},{key:"userProfile.nav.menu.disableAccount",link:"disable-account",disableLocale:["hi-IN"]}]},{key:"userProfile.nav.menu.help",icon:d.getAssetPath("userProfileNav/helloSites/icon-helpCircle.svg"),link:"help"}]}),[t]);function u(e){e.subMenu?s((function(t){return t?"":e.key})):l&&l(e)}return a.createElement("div",{className:Wt},m.map((function(e){return a.createElement($t,{key:e.key,item:e,openKey:o,onClickItem:u,locale:n})})))},$t=function(e){var t,n=e.item,l=e.openKey,i=e.onClickItem,r=e.locale,o=We().t;return(null===(t=n.disableLocale)||void 0===t?void 0:t.includes(r))?null:a.createElement("div",{className:"".concat(qt," nav-menu-item"),"data-is-open":l===n.key,key:n.key,"data-has-submenu":!!n.subMenu},a.createElement("div",{className:Kt,onClick:function(){return i(n)}},n.icon&&a.createElement("div",{className:Yt,style:{backgroundImage:'url("'.concat(n.icon,'")')}}),o(n.key),n.subMenu&&a.createElement("div",{className:Qt,style:{"--after-bg":"url(".concat(d.getAssetPath("userProfileNav/helloSites/icon-chevronDown.svg"),")")}})),n.subMenu&&a.createElement("div",{className:Jt},n.subMenu.map((function(e){return a.createElement($t,{key:e.key,item:e,openKey:l,onClickItem:i,locale:r})}))))},en="-AZt1au",tn="IvSIfCI",nn="eahCJov",ln="XIyViFs",an="_4y-O0w3",rn="kO8iNgD",on="a1d4E10",cn="Tdguxxf",sn="-mOxsaU",mn="yPeDBNZ",un={helloSites:{member:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-member.svg")},ambassador:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-ambassador.svg")},doctor:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-doctor.svg")},expert:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-expert.svg")},influencer:function(){return d.getAssetPath("userProfileNav/helloSites/icon-rank-influencer.svg")}},marryBaby:{member:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-member.svg")},ambassador:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-ambassador.svg")},doctor:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-doctor.svg")},expert:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-expert.svg")},influencer:function(){return d.getAssetPath("userProfileNav/marryBaby/icon-rank-influencer.svg")}}},dn=function(e){var t=e.themeName,n=e.rank,l=void 0===n?"member":n,i=e.numberOfPosts,r=void 0===i?0:i,o=We().t,s=c((function(){var e,n;return(null===(n=null===(e=un[t])||void 0===e?void 0:e[l])||void 0===n?void 0:n.call(e))||""}),[l,t]);return a.createElement("div",{className:an,"data-user-rank":l},a.createElement("div",{className:rn},a.createElement("div",{className:on},a.createElement("div",{className:cn,style:{backgroundImage:'url("'.concat(s,'")')}}),a.createElement("h3",{className:sn},o("userProfile.userRank.".concat(l))),r>0&&a.createElement("p",{className:mn},r," ",o("userProfile.nav.header.count.posts")))))},hn=function(t){var n=t.SSO_URL,l=t.UP_BASEPATH,o=void 0===l?"user":l,s=t.themeName,m=void 0===s?"helloSites":s,u=t.cardUrls,h=void 0===u?jt:u,g=t.enableCare,v=t.enableTogether,p=t.enableEcom,E=t.userInfo,f=t.togetherApiDomain,y=t.userPostsNumber,w=t.onClickNavigationCard,L=t.onClickMyProfileButton,C=t.onClickMenuItem,M=t.onClickLogout,P=t.isUserProfileNavigatorMenuHidden,H=void 0!==P&&P,N=t.isMyHealthEnabled,x=void 0!==N&&N,B=t.locale,A=We().t,T=i(y||0),_=T[0],R=T[1],S="marryBaby"===m;r((function(){if(E&&void 0===y){var t=tt("hhg_user_token");t&&fetch(function(t,n,l,a){return(l||"https://together.hellohealthgroup.com/")+"api/v1/"+at(b.GET_USER_POSTS,e(e({},a),{websiteUrl:n?"https://marrybaby.vn":"https://".concat(Ue[t])}))}(B,S,f),{headers:{Authorization:"Bearer ".concat(t)}}).then((function(e){return e.json()})).then((function(e){var t,n,l;1===(null==e?void 0:e.status)&&(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.pagination)&&R((null===(l=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.pagination)||void 0===l?void 0:l.total_items)||0)})).catch((function(e){return console.error("Error fetching post number",e)}))}}),[B,null!==E,y,f,S]);var U=c((function(){return(S?["myHealth","myCommunity","mySaved"]:["myHealth","mySaved","myBooking","myCommunity","eCom"]).filter((function(e){return"myBooking"===e?g:"myCommunity"===e?v:"myHealth"===e?x:"eCom"!==e||p}))}),[S,x]),Z=c((function(){return"marryBaby"===m?null:a.createElement(Xe,{color:"tertiary",icon:a.createElement("img",{src:d.getAssetPath("userProfileNav/helloSites/icon-logOut.svg"),width:15,height:15}),size:"md",onClick:M,className:ln},A("userProfile.nav.menu.logout"))}),[m]),V=function(e){window.location.href="".concat(n).concat(o,"/").concat(e)},F=function(e){var t=h[e];w?w(t):V(t)};return E?a.createElement("div",{className:en,"data-theme":m},a.createElement(zt,{userInfo:E,themeName:m,onClickMyProfileButton:function(){L?L():V("profile")}}),a.createElement(dn,{themeName:m,rank:"member",numberOfPosts:_}),a.createElement("div",{className:tn},U.map((function(e){return a.createElement(k,{className:nn,key:e,themeName:m,type:e,onClick:F})}))),!H&&a.createElement(a.Fragment,null,a.createElement(Xt,{themeName:m,locale:B,onClickItem:function(e){"logout"===e.link&&M?M():e.link&&!e.subMenu&&(C?C(e.link):V(e.link))}}),Z)):null},gn=function(e){var t=e.type,n=void 0===t?"lead":t,l=e.closeIcon,i=e.isOpen,r=void 0===i||i,o=e.onClose,c=e.children,s=e.enableAnimation,m=void 0===s||s,u=e.targetAvatar,d=e.id,h=e.className;return a.createElement(M,{"data-open":r,"data-type":n,"data-animation":m,"data-target":u,id:d,className:h},a.createElement("div",{className:"popup-content"},!!l&&a.createElement("div",{className:"close-button",onClick:o},l),c))},vn=function(e){var t=e.SSO_URL,n=e.UP_BASEPATH,l=e.isOpen,i=e.targetAvatar,r=e.userInfo,o=e.enableCare,c=e.enableTogether,s=e.enableEcom,m=e.closePopup,u=e.siteType,d=void 0===u?"helloSites":u,h=e.dispatchLogout,g=e.userProfileRouterPush,v=e.isUserProfileNavigatorMenuHidden,p=e.isMyHealthEnabled,E=void 0!==p&&p,f=e.togetherApiDomain,y=e.locale,w=function(e){g?g("/".concat(e)):t&&(window.location.href="".concat(t).concat(n,"/").concat(e))},L=function(e){w(e),m()};return a.createElement(gn,{isOpen:l,type:"profile",enableAnimation:!0,targetAvatar:i,onClose:m},a.createElement(hn,{SSO_URL:t,UP_BASEPATH:n,themeName:d,userInfo:r,enableCare:o,enableTogether:c,enableEcom:s,onClickLogout:function(){h&&(h(),m())},onClickMenuItem:L,onClickNavigationCard:L,onClickMyProfileButton:function(){w("profile"),m()},isUserProfileNavigatorMenuHidden:v,isMyHealthEnabled:E,togetherApiDomain:f,locale:y}))},pn=function(t){var o=t.userInfo,c=t.siteType,s=t.onLoginClick,m=t.SSO_URL,u=t.currentUrl,h=t.isMinifyLogin,g=t.enableCare,v=t.enableTogether,p=t.enableEcom,E=t.isUserProfileNavigatorMenuHidden,f=t.UP_BASEPATH,y=t.isMyHealthEnabled,w=t.togetherApiDomain,L=t.onLogout,C=t.style,b=t.userProfileRouterPush,k=t.isLoading,M=t.locale,x=We().t,B=i(!1),A=B[0],T=B[1],_=(null==o?void 0:o.name)||(null==o?void 0:o.username),R=i(!1),S=R[0],U=R[1];r((function(){U(!0)}),[]);var Z=Rt(),V=Z.containerRef,F=Z.onContainerFocus,I=Z.onContainerBlur,O=Z.onButtonMouseDown,D=Z.onClose;return k?a.createElement(Xe,{size:"sm",color:"transparent",isLoading:!0}):(null==o?void 0:o.id)?a.createElement(a.Fragment,null,a.createElement(P,{ref:V,style:C,tabIndex:0,onBlur:I,onFocus:F},a.createElement("div",{onMouseDown:O},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(ot,{type:"rounded",size:"medium",className:"user-avatar",avatarUrl:null==o?void 0:o.avatar,firstLetter:_&&_.length?_[0].toUpperCase():"A",backgroundColor:"marryBaby"===c?$e.mbColors.pink:$e.colors.secondaryBase})),a.createElement(vn,{UP_BASEPATH:f,SSO_URL:m,dispatchLogout:function(){D(),T(!0)},isOpen:!1,isMyHealthEnabled:y,enableCare:g,enableTogether:v,enableEcom:p,closePopup:D,userInfo:o,siteType:c,isUserProfileNavigatorMenuHidden:E,togetherApiDomain:w,userProfileRouterPush:b,locale:M})),a.createElement(St,{openLogoutPopup:A,onCloseHandler:function(){document.body.classList.toggle("noscroll",!1),T(!1)},siteType:c,onLogoutHandler:function(){return n(void 0,void 0,void 0,(function(){return l(this,(function(e){switch(e.label){case 0:return T(!1),document.body.classList.toggle("noscroll",!1),[4,L()];case 1:return e.sent(),[2]}}))}))}})):a.createElement(H,{style:e({textDecoration:"none"},C),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":u,href:S?void 0:"".concat(m,"?returnUrl=").concat(u),"data-site-type":c},h?a.createElement(N,{onClick:s},a.createElement("img",{src:d.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===c&&a.createElement("img",{className:"mobile-only",src:d.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:s}),"marryBaby"===c&&a.createElement("div",{className:"mobile-only",onClick:s,style:{paddingLeft:16}},a.createElement(Se,{size:"p3",color:$e.mbColors.pink},x("navigation.loginJoin"))),a.createElement(Xe,{className:"login-btn",size:"md",color:"tertiary",onClick:s,icon:a.createElement("img",{src:d.getAssetPath("login.svg"),width:18,height:18}),theme:c},x("navigation.loginJoin"))))},En="-XmTq5-",fn="V-oxu20",yn=function(e){var t=e.item,n=e.menu,l=Rt({allowBgScroll:!0}),o=l.containerRef,c=l.onContainerFocus,s=l.onContainerBlur,m=l.onButtonMouseDown,u=l.onClose,d=function(){var e=i(!0),t=e[0],n=e[1];return r((function(){n(!1)}),[]),t}();return!t.popupType&&t.link?a.createElement("a",{className:"hhgcomp-navigation-itemnav-headeritem ".concat(d?"":"menu-handler-".concat(t.id)),tabIndex:0,href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link,className:fn},t.name)):a.createElement("div",{ref:o,className:"hhgcomp-navigation-itemnav-headeritem ".concat(d?"":"menu-handler-".concat(t.id)),tabIndex:0,key:t.id,onBlur:s,onFocus:c,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link},a.createElement("div",{"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t.link,onMouseDown:m,className:fn},t.name,t.popupType&&a.createElement("div",{className:En},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(n)?a.cloneElement(n,{onClose:u}):null)},wn=function(){var e=s(x),t=e.locale,n=e.configs.statics,l=e.siteType,i=We().t;return a.createElement(Qe,{className:"fake-search-input",name:"search-input-menu-service",size:"md",placeholder:"marryBaby"===l?i("navigation.search.input.placeholder"):i("home.search",{site:Ze[t||"en-PH"]?Ze[t||"en-PH"].SITE_NAME:""}),onChange:function(){},onKeyDown:function(e){return"Enter"===e.key&&(window.location.href="".concat(n.HOME_PAGE_URL,"/search/?s=").concat(e.target.value))},type:"search",onFocus:function(e){e.preventDefault()},displayIcon:a.createElement("a",{"data-event-category":"Search Button","data-event-action":"Click"},a.createElement(B,null))})},Ln="eJS8-if",Cn="EuQrB-3",bn="_0JtBh8L",kn=function(e){var t=e.onClosePopup;return a.createElement("div",{className:"".concat(bn," close-btn"),onClick:t},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"})))},Mn=function(e){var t=e.onClosePopup,n=e.isDisplay,l=e.children,i=e.isNavMenu,r=e.hideCloseBtn;return a.createElement("div",{className:"hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools","data-is-display":!!n,"data-is-nav-menu":!!i},a.createElement(nt,null,!r&&a.createElement("div",{className:Cn},a.createElement(kn,{onClosePopup:t})),a.createElement(nt,{className:Ln},l)))},Pn=function(e){var t=e.hrefViewMore,n=e.titleBtnViewMore,l=e.UrlFE,i=e.onClosePopup,r=e.menuItems,o=e.headingTitle,c=s(x).siteType;return a.createElement(A,null,a.createElement(T,null,a.createElement(Je,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},o)),null==r?void 0:r.slice(0,6).map((function(e,t){var n=(null==e?void 0:e.link)?(null==e?void 0:e.link.startsWith("http"))?null==e?void 0:e.link:"".concat(l,"/").concat(null==e?void 0:e.link.split("/").filter(Boolean).join("/"),"/"):"/";return a.createElement(_,{className:"iconMenu","data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":n,"data-is-heading-category":!1,href:n,"data-theme":c,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}})),a.createElement("p",null,e.name),a.createElement(R,null,a.createElement("img",{src:d.getAssetPath("chevronRight.svg"),style:{width:"16px",height:"16px"}})))})),n&&a.createElement(S,{"data-theme":c,style:{textDecoration:"none"},href:t,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":t},a.createElement(U,{onClick:i,"data-theme":c,"data-is-heading-category":!1},n,a.createElement(Z,null,a.createElement("img",{className:"svg",src:"marryBaby"===c?d.getAssetPath("chevronRightPink.svg"):d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}})))))},Hn=function(e){var t=e.title,n=e.link,l=e.description,i=e.cta,r=e.icon,o=s(x).siteType;return a.createElement(V,{"data-theme":o},a.createElement(F,null,a.createElement("img",{src:"marryBaby"===o?d.getAssetPath("navMBSpotlightBgNoData.svg"):d.getAssetPath("navSpotlightBgNoData.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(I,null,r&&a.createElement("img",{src:r,width:64,height:64}))),a.createElement("div",null,t&&a.createElement(O,null,t),l&&a.createElement(D,null,l),i&&a.createElement("div",null,a.createElement("a",{href:n},a.createElement(Xe,{theme:o,className:"survey-contact-submit",size:"md"},i)))))},Nn=function(e){var t=e.title,n=e.viewMore,l=e.children,i=e.link,r=e.dataEventAction,o=void 0===r?"":r,c=s(x).siteType;return a.createElement(j,null,a.createElement(G,null,a.createElement(Je,{tag:"marryBaby"===c?"h5":"h6",as:"h2",fontWeight:"semibold"},t),n&&a.createElement(z,{"data-event-category":"Hamburger Navigation","data-event-action":o,"data-event-label":i,href:i,"data-theme":c},n,a.createElement("img",{src:"marryBaby"===c?d.getAssetPath("chevronRightPink.svg"):d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px"}}))),l)},xn=function(e){var t,n=e.item,l=e.index,i=void 0===l?0:l,r=We().t,o=s(x),c=o.locale,m=o.configs.statics;if(!n)return null;var u="".concat(m.CARE_URL_FE,"/").concat(null===(t=lt[c])||void 0===t?void 0:t.HOSPITAL,"/").concat(n.slug,"-").concat(n.id);return a.createElement(W,{key:n.id,href:u,"data-event-category":"Hamburger Navigation","data-event-action":"Care Click ".concat(i+1),"data-event-label":u},a.createElement("img",{src:d.getAssetPath("navCareCardBg.svg"),alt:"",className:"bg-svg",loading:"lazy"}),a.createElement(q,null,a.createElement(K,null,a.createElement("img",{loading:"lazy",alt:n.name,src:n.logo||"/images/avatar.jpg"}))),a.createElement(Y,null,a.createElement(Q,null,n.name),a.createElement(J,null,n.description),a.createElement(X,null,r("home.seeMore"),a.createElement("img",{src:d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))))},Bn=function(e){var t=e.spotlights,n=void 0===t?[]:t,l=e.hrefViewMore,i=We().t;return a.createElement(Nn,{title:i("home.navigator.menu.spotlightHospitals")},0!==n.length?a.createElement($,null,null==n?void 0:n.slice(0,3).map((function(e,t){return a.createElement(xn,{key:t,index:t,item:e})}))):a.createElement(Hn,{title:i("home.navigator.menu.care.noDatas.title"),description:i("home.navigator.menu.care.noDatas.description"),link:l,cta:i("home.navigator.menu.care.noDatas.cta"),icon:d.getAssetPath("community.svg")}))},An=function(e){var t,n=e.careSpecialties,l=void 0===n?[]:n,i=e.isOpen,r=e.onClose,o=e.spotlights,c=void 0===o?[]:o,m=We().t,u=s(x),d=u.locale,h=u.configs.statics,g="".concat(h.CARE_URL_FE,"/").concat(null===(t=lt[d])||void 0===t?void 0:t.SPECIALTIES);return a.createElement(Mn,{onClosePopup:r,isDisplay:i,isNavMenu:!0},a.createElement(Pn,{headingTitle:m("home.navigator.menuItem.specialties"),hrefViewMore:g,UrlFE:h.CARE_URL_FE,onClosePopup:r,titleBtnViewMore:m("home.navigator.menuItem.allSpecialties"),menuItems:(null==l?void 0:l.map((function(e){return e?{name:String(e.name)||"",link:It({type:"DOCTOR",specialtySlug:e.slug,locale:d}),thumbnail:(null==e?void 0:e.thumbnail)||""}:{}})))||[]}),a.createElement(Bn,{spotlights:c,hrefViewMore:g}))},Tn=function(e){var t=e.item,n=e.index,l=void 0===n?0:n;return t?a.createElement(ee,{key:t.id,href:t.link,"data-event-category":"Hamburger Navigation","data-event-action":"Spotlight Click ".concat(l+1),"data-event-label":t.link},a.createElement(te,null,a.createElement("img",{loading:"lazy",alt:t.title,src:t.banner||"/images/notFound-min-small.jpg"})),a.createElement(ne,null,t.title)):null},_n=function(e){var t=e.spotlightsList,n=void 0===t?[]:t,l=e.hrefViewMore,i=We().t,r=s(x).configs.statics;return a.createElement(Nn,{title:i("home.navigator.menu.spotlights"),viewMore:i("home.navigator.menu.spotlights.seeAll"),link:l,dataEventAction:"Spotlight See More Click"},0!==n.length?a.createElement(le,null,null==n?void 0:n.slice(0,4).map((function(e,t){return a.createElement(Tn,{key:t,index:t,item:{id:e.id,link:r.HOME_PAGE_URL+e.permalink,title:e.name,banner:e.image}})}))):a.createElement(Hn,{title:i("home.navigator.menu.category.noDatas.title"),description:i("home.navigator.menu.category.noDatas.description"),link:l,cta:i("home.navigator.menu.category.noDatas.cta"),icon:d.getAssetPath("Spotlight.svg")}))},Rn=function(e){var t=e.categories,n=void 0===t?[]:t,l=e.spotlightsList,i=void 0===l?[]:l,r=e.onClose,o=e.isOpen,c=We().t,m=s(x),u=m.locale,d=m.configs.statics;return a.createElement(Mn,{onClosePopup:r,isDisplay:o,isNavMenu:!0},a.createElement(Pn,{hrefViewMore:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===u?"/fil":"","/categories/"),UrlFE:d.HOME_PAGE_URL,onClosePopup:r,titleBtnViewMore:c("home.navigator.menuItem.allCategories"),menuItems:(null==n?void 0:n.map((function(e){return e?{name:e.displayName||null,link:(null==e?void 0:e.permalink)||"/",thumbnail:e.iconUrl||null}:{}})))||[],headingTitle:c("home.navigator.menuItem.healthCategories")}),a.createElement(_n,{spotlightsList:i,hrefViewMore:"".concat(d.HOME_PAGE_URL).concat("tl-PH"===u?"/fil":"","/spotlight/")}))},Sn=function(e){var t=e.spotlights,n=void 0===t?[]:t,l=s(x).configs.statics,i=We().t;return a.createElement(Nn,{title:i("home.navigator.menu.trendingPosts"),viewMore:i("home.navigator.menu.trendingPosts.seeMore"),link:l.TOGETHER_URL_FE+"/",dataEventAction:"Together See More Click"},0!==n.length?a.createElement(ae,null,null==n?void 0:n.slice(0,4).map((function(e,t){return a.createElement(ie,{index:t,post:e,key:e.id})}))):a.createElement(Hn,{title:i("home.navigator.menu.together.noPosts.title"),description:i("home.navigator.menu.together.noPosts.description"),link:"".concat(l.HOME_PAGE_URL,"/community/"),cta:i("home.navigator.menu.together.noPosts.cta"),icon:d.getAssetPath("community.svg")}))},Un=function(e){var t=e.communities,n=void 0===t?[]:t,l=e.onClose,i=e.isOpen,r=e.spotlights,o=void 0===r?[]:r,c=We().t,m=s(x).configs.statics;return a.createElement(Mn,{onClosePopup:l,isDisplay:i,isNavMenu:!0},a.createElement(Pn,{hrefViewMore:m.TOGETHER_URL_FE+"/",UrlFE:m.TOGETHER_URL_FE,onClosePopup:l,titleBtnViewMore:c("home.navigator.menuItem.allCommunities"),menuItems:(null==n?void 0:n.map((function(e){return e?{name:e.name||"",link:e.slug||"/",thumbnail:e.thumbnail||""}:{}})))||[],headingTitle:c("home.navigator.menuItem.allCommunitiesheadingTitle")}),a.createElement(Sn,{spotlights:o}))},Zn=function(e){var t=e.item,n=e.index,l=void 0===n?0:n,i=We().t,r=s(x).configs.statics;if(!t)return null;var o=t.link?t.link.startsWith("http")?t.link:"".concat(r.HOME_PAGE_URL).concat(t.link):void 0;return a.createElement(re,{href:o,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(l+1),"data-event-label":o},a.createElement("img",{src:d.getAssetPath("navToolCardBg.svg"),alt:"",loading:"lazy",className:"bg-svg"}),a.createElement(oe,null,a.createElement(ce,null,t.title),a.createElement(se,null,t.subtitle),a.createElement(me,null,i("home.seeMore"),a.createElement("img",{src:d.getAssetPath("chevronRightActive.svg"),style:{width:"16px",height:"16px",marginTop:"3px",marginLeft:"5px"}}))),a.createElement(ue,null,a.createElement("img",{loading:"lazy",alt:t.title,src:t.icon||"/images/avatar.jpg"})))},Vn=function(e){var t=e.item,n=e.index,l=void 0===n?0:n,i=e.color,r=We().t,o=s(x).configs.statics;if(!t)return null;var c=t.link?t.link.startsWith("http")?t.link:"".concat(o.HOME_PAGE_URL).concat(t.link):void 0,m=function(){return a.createElement(ge,null,a.createElement("img",{loading:"lazy",alt:t.title,src:t.icon||"/images/avatar.jpg"}))},u=function(){return a.createElement(ve,null,a.createElement(pe,null,a.createElement(Ee,null,t.title),a.createElement(fe,null,t.subtitle)),a.createElement(ye,null,a.createElement("div",{className:"mobile-only"},r("home.seeMore")),a.createElement("img",{src:d.getAssetPath("arrowRightGray.svg"),style:{width:"12px",height:"12px",marginTop:"2px",marginLeft:"5px"}})))};return a.createElement(de,{href:c,"data-event-category":"Hamburger Navigation","data-event-action":"Engage Click ".concat(l+1),"data-event-label":c,"data-color":i},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:d.getAssetPath("navMBCardDotBg.svg"),className:"dot-svg",loading:"lazy",alt:""}),a.createElement(he,null,a.createElement("div",{className:"mobile-only"},m()),a.createElement("div",{className:"desktop-only"},u())),a.createElement("div",{className:"mobile-only"},u()),a.createElement("div",{className:"desktop-only"},m()))},Fn=function(e){var t=e.hrefViewMore,n=e.spotlightHealthTools,l=void 0===n?[]:n,i=We().t,r=["pink","orange","green"],o=s(x).siteType;return a.createElement(Nn,{title:i("home.navigator.menu.spotlightTools")},0!==l.length&&a.createElement(we,null,null==l?void 0:l.slice(0,3).map((function(e,t){return"marryBaby"===o?a.createElement(Vn,{key:t,index:t,item:e,color:r[t]}):a.createElement(Zn,{key:t,index:t,item:e})}))),0===l.length&&a.createElement(Hn,{title:i("home.navigator.menu.healthTools.noDatas.title"),description:i("home.navigator.menu.healthTools.noDatas.description"),link:t,cta:i("home.navigator.menu.healthTools.noDatas.cta"),icon:d.getAssetPath("community.svg")}))},In=function(e){var t,n=e.locale,l=e.onClose,i=e.isOpen,r=e.spotlightHealthTools,o=void 0===r?[]:r,c=e.healthTools,m=void 0===c?[]:c,u=We().t,d=s(x).configs.statics,h="".concat(d.HOME_PAGE_URL).concat("tl-PH"===n?"/fil":"").concat((null===(t=Ve[n])||void 0===t?void 0:t.HEALTH_TOOLS)||"");return a.createElement(Mn,{onClosePopup:l,isDisplay:i,isNavMenu:!0},a.createElement(Pn,{hrefViewMore:h,UrlFE:d.HOME_PAGE_URL,onClosePopup:l,headingTitle:u("home.navigator.menuItem.healthToolsList"),titleBtnViewMore:u("home.navigator.menuItem.allHealthTools"),menuItems:m.map((function(e){return{name:e.title,link:e.link?e.link.startsWith("http")?e.link:"".concat(d.HOME_PAGE_URL).concat(e.link):void 0,thumbnail:e.icon}}))}),a.createElement(Fn,{spotlightHealthTools:o,hrefViewMore:h}))},On="_6gGCHV-",Dn="YDzfyQU",jn=function(e){var t=e.onCareHeaderClick,n=e.currentUrl,l=e.careUrlFe,i=e.btnName;return t?a.createElement(Xe,{className:On,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:n,onClick:function(e){return t(e)}},i):a.createElement("a",{href:l,className:"".concat(Dn," care-button no-replace-click")},a.createElement(Xe,{className:On,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:n},i))};function Gn(e){var t=e.className;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:t},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function zn(e){var t=e.siteType,n=e.type,l=e.enableSearch,i=e.className;return"helloSites"===t?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:l?d.getAssetPath("hamburgerMenuNewWithSearch.svg"):d.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:n,className:i})):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"}))}var Wn=function(e){var t,n,l=e.closePopup,i=e.menuItems,r=void 0===i?[]:i,o=s(x),c=o.siteType,m=o.ssrMenuContent,u=m.categories,d=m.healthTools,h=m.care,g=m.together,v=o.activeMenuService,p=o.configs,E=p.statics,f=p.enableSearchBar,y=o.locale,w=We().t;return a.createElement(Le,{id:"categories-menu"},f?a.createElement(Ce,{"data-theme":c,onClick:function(){window.location.href="".concat(E.HOME_PAGE_URL,"/search")}},a.createElement(wn,null)):null,a.createElement(be,null,a.createElement(Pn,{UrlFE:E.HOME_PAGE_URL,titleBtnViewMore:w("home.navigator.menuItem.allCategories"),menuItems:r,headingTitle:w("home.navigator.menuItem.healthCategories"),onClosePopup:l}),"categories"===v&&a.createElement(_n,{spotlightsList:(null==u?void 0:u.spotlights)||[],hrefViewMore:"".concat(E.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"","/spotlight/")}),"tools"===v&&a.createElement(Fn,{spotlightHealthTools:null==d?void 0:d.spotlights,hrefViewMore:"".concat(E.HOME_PAGE_URL).concat("tl-PH"===y?"/fil":"").concat((null===(t=Ve[y])||void 0===t?void 0:t.HEALTH_TOOLS)||"")}),"care"===v&&a.createElement(Bn,{spotlights:null==h?void 0:h.spotlights,hrefViewMore:"".concat(E.CARE_URL_FE,"/").concat(null===(n=lt[y])||void 0===n?void 0:n.SPECIALTIES)}),"together"===v&&a.createElement(Sn,{spotlights:null==g?void 0:g.spotlights})))},qn="IQdn7tn",Kn="_1jX3mGY",Yn="arD755Y",Qn=function(e){var t=e.type,n=void 0===t?"home":t,l=e.menuItems,i=s(x),r=i.siteType,o=i.configs.enableSearchBar,c=Rt(),m=c.containerRef,u=c.onContainerFocus,d=c.onContainerBlur,h=c.onButtonMouseDown,g=c.onClose;return a.createElement(_t,{mediaQueryKey:"mbDown"},a.createElement("header",{className:qn},a.createElement("div",{className:Kn,ref:m,role:"button",tabIndex:0,onBlur:d,onFocus:u},a.createElement("div",{className:Yn,onMouseDown:h,"data-event-category":"Hamburger Navigation","data-event-action":"Click","data-event-label":"Hamburger Navigation URL"},a.createElement(Gn,{className:"mobile-close-icon"}),a.createElement(zn,{siteType:r,type:n,enableSearch:o,className:"mobile-hamburger-icon"})),a.createElement(Wn,{menuItems:l,closePopup:g}))))},Jn=function(e){var t,n=e.onTopBarAppears,l=e.type,c=void 0===l?"home":l,u=e.languageMenu,h=e.menuItems,g=e.setSitewideBannerClosed,v=e.sitewideBannerClosed,p=s(x),E=p.siteType,f=p.isMobile,y=void 0!==f&&f,w=p.locale,L=p.sitewideBanner,C=p.sitewideBannerShown,b=void 0===C||C,k=p.sponsorComponent,M=p.onBookingClick,P=p.currentUrl,H=p.onLoginClick,N=p.configs,B=N.statics,A=N.enableNavCareBooking,T=N.enableSearchBar,_=N.enableNavCare,R=N.enableProfileMyHealth,S=N.enableNavTogether,U=N.enableProfileEcom,Z=N.enableProfileNavigatorMenu,V=p.userState.userInfo,F=p.onLogout,I=p.userProfileRouterPush,O=p.isUserLoading,D=We().t,j=B.SSO_URL,G=B.HOME_PAGE_URL,z=!!k,W=i(!1),q=W[0],K=W[1],Y=o(47),Q=o(null),J=o(!1),X="helloSites"===E?null===(t=Ze[w])||void 0===t?void 0:t.LOGO_TYPE:E,$="undefined"!=typeof window,ee=m(qe((function(){if("home"===c&&$){if(!Q.current)return;var e=Q.current.getBoundingClientRect();e.top<=0&&window.scrollY>Y.current&&window.scrollY>e.height+20&&!J.current&&(J.current=!0,K(!0)),window.scrollY<Y.current&&J.current&&(J.current=!1,K(!1)),window.scrollY>=0&&(Y.current=window.scrollY)}}),200),[]);r((function(){null==n||n(!q)}),[q]),r((function(){return window.addEventListener("scroll",ee,{passive:!0}),function(){window.removeEventListener("scroll",ee)}}),[]),r((function(){y&&ee()}),[y]);var te=b&&!!L&&!v;return a.createElement(ke,{"data-site-type":E,"data-sponsored":z,"data-sitewide-banner-shown":te,"data-header-type":c,"data-collapsed":q,"data-with-search-input":"popup-sub-level"!==c,"data-is-displayed":!0,id:"site-header",ref:Q},L?a.isValidElement(L)?a.cloneElement(L,{isCollapsed:q,setBannerClosed:g,isMobile:y}):L:null,a.createElement(Me,{"data-site-type":E},a.createElement(Pe,{"data-site-type":E},a.createElement(Qn,{menuItems:h,type:c}),a.createElement("a",{href:G},a.createElement(He,null,a.createElement(ze,{style:{display:"flex"},type:X,badge:"id-ID"===w&&a.createElement("img",{src:d.getAssetPath("sehat-badge.png"),width:"56",height:"23"}),dateForSeasonal:new Date,locale:w,key:"undefined"!=typeof window?"client":"server"}))),"marryBaby"===E?a.createElement($n,{menuItems:h}):T&&a.createElement(Xn,{siteType:E})),a.createElement(Ne,{"data-site-type":E},"marryBaby"===E?T&&a.createElement(Xn,{siteType:E}):a.createElement($n,{menuItems:h}),a.createElement(xe,null,A&&a.createElement(_t,{mediaQueryKey:"mbUp"},a.createElement(jn,{careUrlFe:B.CARE_URL_FE,currentUrl:P,btnName:D("login.booking"),onCareHeaderClick:M})),u,a.createElement(pn,{userInfo:V,siteType:E,onLoginClick:H||function(){var e=window.location.href;window.location.href=j?"".concat(j,"?returnUrl=").concat(e):e},SSO_URL:B.SSO_URL+"/",currentUrl:P,onLogout:F,UP_BASEPATH:Fe,isMyHealthEnabled:R,enableCare:_,enableTogether:S,enableEcom:U,togetherApiDomain:B.TOGETHER_API+"/",isUserProfileNavigatorMenuHidden:!Z,userProfileRouterPush:I,isLoading:O,locale:w})))),k?a.isValidElement(k)?a.cloneElement(k,{isCollapsed:q,locale:w,isMobile:y}):k:null)},Xn=function(e){var t=e.siteType;return a.createElement(_t,{mediaQueryKey:"mbUp",className:"marryBaby"===t?"marry-baby":""},a.createElement(wn,null))},$n=function(e){var t=e.menuItems,n=s(x),l=n.siteType,i=n.locale,r=n.ssrMenuContent,o=r.categories,c=r.healthTools,m=r.care,u=r.together;return a.createElement(_t,{mediaQueryKey:"mbUp",style:{height:"100%"}},a.createElement(Be,{"data-site-type":l},null==t?void 0:t.map((function(e,t){return a.createElement(yn,{key:t,item:e,menu:"categories"===e.popupType?a.createElement(Rn,{categories:null==o?void 0:o.items,spotlightsList:null==o?void 0:o.spotlights}):"tools"===e.popupType?a.createElement(In,{locale:i,healthTools:null==c?void 0:c.items,spotlightHealthTools:null==c?void 0:c.spotlights}):"together"===e.popupType?a.createElement(Un,{communities:null==u?void 0:u.items,spotlights:null==u?void 0:u.spotlights}):"care"===e.popupType?a.createElement(An,{careSpecialties:null==m?void 0:m.items,spotlights:null==m?void 0:m.spotlights}):null})}))))},el=function(t){var n,l,u=t.isMobile,h=t.locale,g=t.onTopBarAppears,v=t.languageOptions,p=t.sponsorComponent,E=t.sitewideBanner,f=t.sitewideBannerShown,y=t.className,w=i(!1),L=w[0],C=w[1],b=function(){var e=We().t,t=s(x),n=t.siteType,l=t.locale,a=t.configs,i=a.enableNavCare,r=a.enableNavTogether,o=a.enableNavEcom,m=a.statics,u="marryBaby"===n,h=c((function(){var t,n=[{name:e("home.navigator.menuItem.discover"),id:"categories",link:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===l?"/fil":"","/categories"),niceName:"",thumbnail:u?d.getAssetPath("categories-mb.svg"):d.getAssetPath("discover.png"),popupType:"categories"},{name:e("home.navigator.menuItem.healthTools"),id:"tools",link:"".concat(m.HOME_PAGE_URL).concat("tl-PH"===l?"/fil":"").concat((null===(t=Ve[l])||void 0===t?void 0:t.HEALTH_TOOLS)||""),thumbnail:u?d.getAssetPath("healthtools-mb.svg"):d.getAssetPath("healthTools.png"),popupType:"tools"}];return i&&n.push({name:e("home.navigator.menuItem.helloCare"),id:"care",link:m.HOME_PAGE_URL+"/care",thumbnail:d.getAssetPath("helloCare-thumbnail.png"),popupType:"zh-TW"===l?null:"care"}),r&&n.push({name:e("home.navigator.menuItem.helloTogether"),id:"together",link:m.TOGETHER_URL_FE+"/",thumbnail:u?d.getAssetPath("community-mb.svg"):d.getAssetPath("together.png"),popupType:"together"}),o&&n.push({name:e("home.navigator.menuItem.helloEcom"),id:"ecom",link:m.HOME_PAGE_URL+"/ecom",thumbnail:d.getAssetPath("helloCare-thumbnail.png"),popupType:"shop"}),n}),[l,i,r,o]);return h}();!function(){var t=s(x),n=t.isFirstLogin,l=t.userState.userInfo;r((function(){(null==l?void 0:l.id)&&(n?(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:e({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:e({uuid:null==l?void 0:l.id,sign_up:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:(null==l?void 0:l.email)&&""!==(null==l?void 0:l.email)?window.insider_object={user:e({uuid:null==l?void 0:l.id,email:null==l?void 0:l.email,gdpr_optin:!0,email_optin:!0,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})}:window.insider_object={user:e({uuid:null==l?void 0:l.id,log_in:!0},(null==l?void 0:l.name)?{name:null==l?void 0:l.name}:{})})}),[])}();var k=function(e){var t=e.hasSponsoredBanners,n=e.isSiteWide,l=e.isSponsored,a=e.isShowingSiteWideBanner,s=e.isMobile,u=o(null),d=i(0),h=d[0],g=d[1],v=i(64),p=v[0],E=v[1],f=m(it((function(){var e,t,n,l,a=(null===(e=u.current)||void 0===e?void 0:e.clientHeight)||(null===(n=null===(t=u.current)||void 0===t?void 0:t.children[0])||void 0===n?void 0:n.clientHeight)||0;window.scrollY<=a+200&&(g(a),E((null===(l=u.current)||void 0===l?void 0:l.getBoundingClientRect().bottom)||h))}),200),[]);r((function(){return window.addEventListener("resize",f,{passive:!0}),window.addEventListener("scroll",f,{passive:!0}),f(),function(){window.removeEventListener("resize",f),window.removeEventListener("scroll",f)}}),[]),r((function(){f()}),[s,n,a,l,t,u.current]);var y=c((function(){var e=s?64:69;return a&&(e+=64),l&&(e+=40,t&&(e+=57)),e}),[s,a,t,l]);return{defaultHeaderHeight:y,headerHeight:h||y,headerBottom:p,headerRef:u}}({isSiteWide:!!E&&!L,isShowingSiteWideBanner:f&&!!E&&!L,isSponsored:!!p,hasSponsoredBanners:!!(null===(l=null===(n=null==p?void 0:p.props)||void 0===n?void 0:n.sponsoredBy)||void 0===l?void 0:l.length),isMobile:u}),M=k.headerRef,P=k.defaultHeaderHeight,H=k.headerHeight,N=k.headerBottom;return a.createElement(Te,{id:"navigation-v2",style:{"--default-header-height":P+"px","--header-height":"calc(".concat(H,"px - var(--amp-site-wide-closed), 64px)"),"--header-bottom":N+"px"},className:y},a.createElement("section",{ref:M},a.createElement(Jn,{menuItems:b,type:"home",onTopBarAppears:u?function(e){g&&g(e)}:void 0,languageMenu:a.createElement(At,{languageOptions:v,locale:h}),setSitewideBannerClosed:C,sitewideBannerClosed:L})))},tl=function(t){var n=e({siteType:"helloSites",projectType:"discover",locale:"vi-VN",activeMenuService:"categories",ssrMenuContent:{}},t);return a.createElement(Ae,e({},n),a.createElement(el,e({},n)))},nl=function(e){return n(void 0,void 0,void 0,(function(){var t,n,a,i,r,o,c,s,m,u,d,h,g,v,p,E,f,y,w,L,C,b,k,M,P,H,N,x,B,A,T,_,R,S,U,Z;return l(this,(function(l){switch(l.label){case 0:t={},n="vi-VN_MB"===e,l.label=1;case 1:l.trys.push([1,14,,15]),a="tl-PH"===e?"lang=fil":"",l.label=2;case 2:return l.trys.push([2,4,,5]),[4,Promise.all([fetch("".concat(Ge(e),"/wp-json/api/categories").concat(a?"?"+a:"")).then((function(e){return e.json()})),fetch("".concat(Ge(e),"/wp-json/api/spotlights?per_page=10").concat(a?"&"+a:"")).then((function(e){return e.json()})),fetch("".concat(Ge(e),"/wp-json/api/").concat(n?"health-tools":"healthtools").concat(a?"?"+a:"")).then((function(e){return e.json()})),fetch("".concat(Ge(e),"/wp-json/api/").concat(n?"health-tools":"healthtools","/favorites").concat(a?"?"+a:"")).then((function(e){return e.json()}))])];case 3:return i=l.sent(),r=i[0],o=i[1],c=i[2],s=i[3],t.categories={items:(null===(f=null===(E=null==r?void 0:r.data)||void 0===E?void 0:E.map)||void 0===f?void 0:f.call(E,Ut))||[],spotlights:(null===(C=null===(L=null===(w=null===(y=null==o?void 0:o.data)||void 0===y?void 0:y.articles)||void 0===w?void 0:w.map)||void 0===L?void 0:L.call(w,Ot))||void 0===C?void 0:C.filter(Dt))||[]},t.healthTools={items:(null===(k=null===(b=null==c?void 0:c.data)||void 0===b?void 0:b.map)||void 0===k?void 0:k.call(b,Zt))||[],spotlights:(null===(P=null===(M=null==s?void 0:s.data)||void 0===M?void 0:M.map)||void 0===P?void 0:P.call(M,Zt))||[]},[3,5];case 4:return l.sent(),[3,5];case 5:if(!n&&!Oe.includes(e))return[3,9];l.label=6;case 6:return l.trys.push([6,8,,9]),[4,Promise.all([fetch("".concat(je(),"/api/v1/community?website_url=https://").concat(Ue[e])).then((function(e){return e.json()})),fetch("".concat(je(),"/api/v1/options?website_url=https://").concat(Ue[e],"&meta_key=popular_post")).then((function(e){return e.json()}))])];case 7:return m=l.sent(),u=m[0],d=m[1],t.together={items:(null===(x=null===(N=null===(H=null==u?void 0:u.data)||void 0===H?void 0:H.communities)||void 0===N?void 0:N.map)||void 0===x?void 0:x.call(N,_e))||[],spotlights:(null===(T=null===(A=null===(B=null==d?void 0:d.data)||void 0===B?void 0:B.posts)||void 0===A?void 0:A.map)||void 0===T?void 0:T.call(A,Re))||[]},[3,9];case 8:return l.sent(),[3,9];case 9:if(!Ie.includes(e))return[3,13];l.label=10;case 10:return l.trys.push([10,12,,13]),[4,Promise.all([fetch(De()+"/api/specialties?_ishome=1&site=".concat(Ue[e])).then((function(e){return e.json()})),fetch(De()+"/api/search/?site=".concat(Ue[e],"&type=hospital&order_by=total_doctor")).then((function(e){return e.json()}))])];case 11:return h=l.sent(),g=h[0],v=h[1],t.care={items:(null===(S=null===(R=null===(_=null==g?void 0:g._data)||void 0===_?void 0:_.specialties)||void 0===R?void 0:R.map)||void 0===S?void 0:S.call(R,Vt))||[],spotlights:(null===(Z=null===(U=null==v?void 0:v._data.searches)||void 0===U?void 0:U.map)||void 0===Z?void 0:Z.call(U,Ft))||[]},[3,13];case 12:return l.sent(),[3,13];case 13:return[3,15];case 14:return p=l.sent(),console.error(p),[3,15];case 15:return[2,t]}}))}))},ll=function(e){return n(void 0,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,u("nav-menu-content",(function(){return nl(e||"en-PH")}),(function(e){var t,n;return!!(null===(n=null===(t=null==e?void 0:e.categories)||void 0===t?void 0:t.items)||void 0===n?void 0:n.length)}))];case 1:return[2,t.sent()||{}]}}))}))};export{ot as A,xt as F,At as L,tl as N,vn as P,hn as U,ll as a,zt as b,dn as c,St as d,pn as e,nl as g};
@@ -1 +0,0 @@
1
- import n,{useMemo as e,createContext as t,useState as i,useEffect as o,memo as a,useContext as r}from"react";import{e as l,_ as d,c as s,d as p,b as c}from"./tslib.es6-f57f7d0d.js";import{M as u}from"./utils-84d591f6.js";import m from"styled-components";import{t as g}from"./theme-4965c17b.js";import{g as h}from"./defaultClassWrapper-b3252d64.js";import{u as x}from"./useTranslations-9a6a81b8.js";import{CommonGAssets as f}from"./gAssets.js";import{C as b,a as v,T as y,d as w}from"./index-97dadfcb.js";import{g as _}from"./cookieHelper-b7383c13.js";import E from"slugify";import T from"string-format";import{g as k,a as A,b as I,c as O}from"./routing-0797aee7.js";import S from"dayjs";import L from"dayjs/plugin/relativeTime";var C,D,R,P,B,N,z,U,G,M,H,j=m.div(C||(C=l(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200}),u.mbDown,u.mbDown,u.mbUp),F=m.div(D||(D=l(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),Y=function(e){var t=e.type,i=void 0===t?"lead":t,o=e.closeIcon,a=e.isOpen,r=void 0===a||a,l=e.onClose,d=e.children,s=e.className,p=void 0===s?"":s,c=e.enableAnimation,u=void 0===c||c;return n.createElement(n.Fragment,null,n.createElement(j,{"data-open":r,"data-type":i,"data-animation":u},n.createElement("div",{className:"".concat(p||""," popup-content")},!!o&&n.createElement("div",{className:"close-button",onClick:l},o),d)),n.createElement(F,{"data-open":r,onClick:l}))},V="DD/MM/YYYY",K="/images/avatar.jpg",W="/images/default-image.jpg",q={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},X={"id-ID":{"kalkulator-bmi":q.BMI,"kebutuhan-kalori":q.BMR,"kalkulator-hari-perkiraan-lahir":q.DUE_DATE,"kalkulator-masa-subur-2":q.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":q.PWG,"kalkulator-detak-jantung-saat-olahraga":q.THR},"ms-MY":{"kalkulator-bmi":q.BMI,"kalkulator-bmr":q.BMR,"kalkulator-tarikh-bersalin":q.DUE_DATE,"kalkulator-kesuburan":q.OVULATION,"kalkulator-tambah-berat-badan-hamil":q.PWG,"target-heart-rate-calculator":q.THR},"vi-VN":{"cach-tinh-chi-so-bmi":q.BMI,"tinh-chi-so-bmr":q.BMR,"cong-cu-tinh-ngay-du-sinh":q.DUE_DATE,"tinh-ngay-rung-trung":q.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":q.PWG,"cong-cu-do-nhip-tim":q.THR},"zh-TW":{"bmi-calculator":q.BMI,"bmr-calculator":q.BMR,"due-date-calculator":q.DUE_DATE,"ovulation-calculator":q.OVULATION,"pregnancy-weight-gain-calculator":q.PWG,"target-heart-rate-calculator":q.THR},"en-PH":{"bmi-calculator":q.BMI,"bmr-calculator":q.BMR,"due-date-calculator":q.DUE_DATE,"ovulation-calculator":q.OVULATION,"pregnancy-weight-gain-calculator":q.PWG,"target-heart-rate-calculator":q.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":q.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":q.BMR,"เครื่องมือคำนวณกำหนดคลอด":q.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":q.OVULATION,"เครื่องคำนวณน้ำหนักตัว":q.PWG,"เครื่องวัดอัตราการเต้น":q.THR},"hi-IN":{"bmi-calculator-en":q.BMI,"bmi-calculator":q.BMI,"bmr-calculator":q.BMR,"delivery-date-calculator":q.DUE_DATE,"ovulation-calculator":q.OVULATION,"pregnancy-weight-gain-calculator":q.PWG,"target-heart-rate-calculator":q.THR},"km-KH":{"គណនា-bmi":q.BMI,"គណនា-bmr":q.BMR,"គណនាថ្ងៃសម្រាលកូន":q.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":q.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":q.PWG,"គណនារកចង្វាក់បេះដូងល្អ":q.THR},"my-MM":{"bmi-calculator":q.BMI,"bmr-calculator":q.BMR,"due-date-calendar":q.DUE_DATE,"ovulation-calculator":q.OVULATION,"pregnaancy-weight-calculator":q.PWG,"target-heartrate":q.THR,"pregnancy-weight-calculator":q.PWG,"target-heart-rate":q.THR}},Z="hhg_user_token",$="together_admin_token",J={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Q={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},nn=20,en={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},tn=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:V,DEFAULT_AVATAR_IMG:K,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:W,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:q,LOCALE_HEALTH_TOOLS:X,BEARER_TOKEN_COOKIE:Z,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:$,Z_INDEX:J,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:Q,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:en}),on=function(n){return n?{displayName:n.display_name||null,avatar:n.avatar||null,thumbnailAvatar:n.avatar_thumbnail||null,profileUrl:n.profile_url||null,description:n.description||null,metaTag:n.meta_tag||"",specialty:n.specialty||"",organisation:n.organisation||""}:{}},an=function(n){return n?{id:n.ID||null,name:n.name||null,specialty:n.specialty||null,avatar:n.avatar||null,permalink:n.permalink||null,thumbnailAvatar:n.avatar_thumbnail||null}:{}},rn=function(n){var e,t,i,o;return n?{id:n.ID,postName:n.post_name,sponsor:n.sponsor?dn(n.sponsor):null,isSponsored:n.is_sponsored||null,postTitle:n.post_title||"",postModified:n.post_modified||"",postDate:n.post_date||"",modifiedTime:n.modified_time||"",permalink:n.permalink||"",featureImage:n.image||null,featureImageMobile:n.image_medium||null,featureImageMobileXs:n.image_thumbnail||null,author:on(n.author),reviewer:n.reviewed_by&&on(n.reviewed_by)||null,articleReviewed:(null==n?void 0:n.reviewed)?d(d({},null==n?void 0:n.reviewed),{author:ln(null===(e=null==n?void 0:n.reviewed)||void 0===e?void 0:e.author),editor:ln(null===(t=null==n?void 0:n.reviewed)||void 0===t?void 0:t.editor),expert:ln(null===(i=null==n?void 0:n.reviewed)||void 0===i?void 0:i.expert),fact_check:ln(null===(o=null==n?void 0:n.reviewed)||void 0===o?void 0:o.fact_check)}):null,category:pn(n.category),postContent:n.post_content||null,sections:n.sections||null,categories:(n.categories||[]).map(pn),sources:n.sources||null,description:n.description||null,excerpt:n.excerpt||null,expert:an(n.expert),metaTag:n.meta_tag||null}:{}},ln=function(n){return void 0!==n&&n?d(d({},n),{profile_url:(null==n?void 0:n.slug)?["expert","medical"].includes((null==n?void 0:n.role)||"")?"/expert/".concat(null==n?void 0:n.slug):"/author/".concat(null==n?void 0:n.slug):n.profile_url}):null},dn=function(n){return n?{title:n.title,logo:n.logo,link:n.link}:{}},sn=function(n){return{postTitle:n.post_title,permalink:n.permalink}},pn=function(n){var e,t;return n?{termId:n.term_id||null,sponsor:n.sponsor?dn(n.sponsor):null,isSponsored:n.is_sponsored||null,categoryName:n.cat_name||null,name:n.name||null,iconUrl:n.icon||"",slugName:n.category_nicename||null,description:n.description||null,featureImage:n.image||null,displayName:n.name||null,parent:n.parent||null,permalink:n.permalink||null,slug:n.slug||null,childCates:(null===(e=n.child_cates)||void 0===e?void 0:e.map((function(n){return pn(n)})))||[],colorFeatureImage:n.color_feature_image||null,imageColor:n.image_color||null,textColor:n.text_color||null,catParent:(null===(t=n.cat_parent)||void 0===t?void 0:t.name)?{name:n.cat_parent.name,permalink:n.cat_parent.permalink}:{},metaTag:n.meta_tag||"",reviewedBy:n.reviewed_by?sn(n.reviewed_by):null,reviewedDate:n.reviewed_date||"",faqs:n.faqs?n.faqs.map((function(n){return cn(n)})):null}:{}},cn=function(n){return{title:n.title,content:n.content}},un=function(n){return n?{icon:n.icon,link:n.link.startsWith("http")?n.link:"/health-tools"+n.link,subtitle:n.subtitle,title:n.title}:{}},mn=function(n){return n?{topicCount:n.topics_count||0,postCount:n.posts_count||0,memberCount:n.members_count||0,thumbnail:n.thumbnail||"",coverImage:n.cover_image||"",mobileCoverImage:n.mobile_cover_image||"",name:n.name||"",description:n.description||"",slug:n.slug||"",id:n.id||0,joined:Boolean(n.joined),isActive:null===n.is_active||void 0===n.is_active||Boolean(n.is_active),mappedCategoryId:n.mapped_category_id||0,discoverCategory:n.discover_category?{categoryId:n.discover_category.category_id||0,name:n.discover_category.name||""}:null,isHidden:Boolean(n.is_hidden)}:{}},gn=function(n){var e,t,i,o;return n?{id:n.id||0,name:n.name||"",image:n.thumbnail||"",slug:n.slug||"",url:"/"+(null===(e=n.community)||void 0===e?void 0:e.slug)+"/"+(null==n?void 0:n.slug)||"",description:n.description||"",joined:n.joined||!1,postCount:n.count_posts||0,memberCount:n.count_members||0,communityId:String(null===(t=n.community)||void 0===t?void 0:t.id),communitySlug:null===(i=n.community)||void 0===i?void 0:i.slug,communityName:null===(o=n.community)||void 0===o?void 0:o.name,order:n.order||0,isActive:null===n.is_active||void 0===n.is_active||Boolean(n.is_active),mappedCategoryId:n.mapped_category_id||0,discoverCategory:n.discover_category?{categoryId:n.discover_category.category_id||0,name:n.discover_category.name||""}:null,isHidden:Boolean(n.is_hidden)}:{}},hn=function(n){return n?{answer:null==n?void 0:n.answer.map(bn),expert:null==n?void 0:n.expert}:{}},xn=function(n){var e,t,i,o,a,r,l,d,s,p,c,u,m,g,h,x,f,b,v,y,w;return n?{id:n.id,topics:(null===(e=n.topics)||void 0===e?void 0:e.map((function(e){var t,i,o,a;return{id:e.id||0,name:e.name||"",slug:e.slug||"",url:"/"+(null===(t=n.community)||void 0===t?void 0:t.slug)+"/"+e.slug,communityId:String(null===(i=n.community)||void 0===i?void 0:i.id),communitySlug:(null===(o=n.community)||void 0===o?void 0:o.slug)||"",communityName:(null===(a=n.community)||void 0===a?void 0:a.name)||"",isHidden:Boolean(e.is_hidden),isActive:!0}})))||[],community:{id:(null===(t=n.community)||void 0===t?void 0:t.id)||0,name:(null===(i=n.community)||void 0===i?void 0:i.name)||"",slug:(null===(o=n.community)||void 0===o?void 0:o.slug)||"",isActive:!0,isHidden:Boolean(null===(a=n.community)||void 0===a?void 0:a.is_hidden)},slug:n.slug||"",author:{id:(null===(r=n.user)||void 0===r?void 0:r.id)||0,username:(null===(l=n.user)||void 0===l?void 0:l.user_name)||"",email:(null===(d=n.user)||void 0===d?void 0:d.email)||"",name:(null===(s=n.user)||void 0===s?void 0:s.name)||"",avatar:(null===(p=n.user)||void 0===p?void 0:p.avatar)||"",role:(null===(c=n.user)||void 0===c?void 0:c.role)?null===(m=null===(u=n.user)||void 0===u?void 0:u.role)||void 0===m?void 0:m.toLowerCase():"",type:(null===(g=n.user)||void 0===g?void 0:g.type)||"",partnerId:(null===(h=n.user)||void 0===h?void 0:h.partner_id)?String(null===(x=n.user)||void 0===x?void 0:x.partner_id):"",title:(null===(f=n.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(b=n.user)||void 0===b?void 0:b.doctor_id)?String(null===(v=n.user)||void 0===v?void 0:v.doctor_id):"",hospitalId:(null===(y=n.user)||void 0===y?void 0:y.hospital_id)?String(null===(w=n.user)||void 0===w?void 0:w.hospital_id):""},previewUrl:{title:n.preview_title||"",url:n.preview_link||"",image:n.preview_image||"",description:n.preview_description||""},createdAt:n.created_at||"",scheduleDateTime:n.schedule_datetime||"",photos:n.images||[],description:n.description||"",commentsCount:n.comments_count||0,likesCount:n.likes_count||0,title:n.name||"",isPin:!!n.is_pin,pinDate:n.pin_date||"",liked:n.liked||!1,bookmarked:Boolean(n.bookmarked)||!1,mentions:n.mentions||[],commented:Boolean(n.commented)||!1,introUrl:n.intro_url||"",bannerImage:n.banner_image||"",isAnonymous:n.is_anonymous?1:0,expertAnswer:hn(null==n?void 0:n.expert_answer),createdTime:n.created_time||""}:{}},fn=function(n){return n?{disclaimer:n.disclaimer,featuredImage:n.featured_image,info:n.informations||[],reviewedBy:n.reviewed_by?{id:n.reviewed_by.ID,permalink:n.reviewed_by.permalink,name:n.reviewed_by.name,postTitle:n.reviewed_by.post_title}:null,reviewedDate:n.reviewed_date}:{}},bn=function(n){var e,t,i,o,a,r,l,d,s,p,c,u,m,g,h,x,f,b,v,y,w,_,E,T,k,A,I,O,S,L,C,D;return n?{content:n.content,countLikes:n.likes_count,countReplies:n.replies_count,createdAt:n.created_at,createdTime:n.created_time,id:String(n.id),images:n.image||[],link:n.link||null,replies:n.replies&&n.replies.length>0?n.replies.map(bn):[],author:{id:(null===(e=n.user)||void 0===e?void 0:e.id)||0,username:(null===(t=n.user)||void 0===t?void 0:t.user_name)||"",name:(null===(i=n.user)||void 0===i?void 0:i.name)||"",role:(null===(o=n.user)||void 0===o?void 0:o.role)?null===(r=null===(a=n.user)||void 0===a?void 0:a.role)||void 0===r?void 0:r.toLowerCase():"",avatar:(null===(l=n.user)||void 0===l?void 0:l.avatar)||"",type:(null===(d=n.user)||void 0===d?void 0:d.type)||"",email:(null===(s=n.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(p=n.user)||void 0===p?void 0:p.partner_id)?String(null===(c=n.user)||void 0===c?void 0:c.partner_id):"",title:(null===(u=n.user)||void 0===u?void 0:u.title)||"",doctorId:(null===(m=n.user)||void 0===m?void 0:m.doctor_id)?String(null===(g=n.user)||void 0===g?void 0:g.doctor_id):"",hospitalId:(null===(h=n.user)||void 0===h?void 0:h.hospital_id)?String(null===(x=n.user)||void 0===x?void 0:x.hospital_id):""},liked:!!n.liked,mentionedUser:n.mentioned?{id:(null===(f=n.mentioned)||void 0===f?void 0:f.id)||0,username:(null===(b=n.mentioned)||void 0===b?void 0:b.user_name)||"",name:(null===(v=n.mentioned)||void 0===v?void 0:v.name)||"",role:(null===(y=n.mentioned)||void 0===y?void 0:y.role)?null===(_=null===(w=n.mentioned)||void 0===w?void 0:w.role)||void 0===_?void 0:_.toLowerCase():"",avatar:(null===(E=n.mentioned)||void 0===E?void 0:E.avatar)||"",type:(null===(T=n.mentioned)||void 0===T?void 0:T.type)||"",email:(null===(k=n.mentioned)||void 0===k?void 0:k.email)||"",partnerId:(null===(A=n.mentioned)||void 0===A?void 0:A.partner_id)?String(null===(I=n.mentioned)||void 0===I?void 0:I.partner_id):"",doctorId:(null===(O=n.mentioned)||void 0===O?void 0:O.doctor_id)?String(null===(S=n.mentioned)||void 0===S?void 0:S.doctor_id):"",hospitalId:(null===(L=n.mentioned)||void 0===L?void 0:L.hospital_id)?String(null===(C=n.mentioned)||void 0===C?void 0:C.hospital_id):"",title:(null===(D=n.mentioned)||void 0===D?void 0:D.title)||""}:null,mentions:n.mentions||[]}:{}},vn=function(n){return void 0!==n&&n?(null==n?void 0:n.turn_off_profile)?"":(null==n?void 0:n.slug)?["expert","medical"].includes((null==n?void 0:n.role)||"")?"/expert/".concat(null==n?void 0:n.slug):"/author/".concat(null==n?void 0:n.slug):(null==n?void 0:n.profile_url)||(null==n?void 0:n.permalink)||"#":""},yn=Object.freeze({__proto__:null,formatAuthor:on,formatArticleExpert:an,formatArticle:rn,formatUserProfile:ln,formatBMIResult:function(n){var e,t,i,o,a,r,l,d,s;return n&&n.status?{status:null==n?void 0:n.status,comparison:null!==(e=null==n?void 0:n.comparison)&&void 0!==e?e:"",assessmentData:[{tab:"tools.condition",content:null!==(t=null==n?void 0:n.condition)&&void 0!==t?t:""},{tab:"tools.risks",content:null!==(i=null==n?void 0:n.risk)&&void 0!==i?i:""},{tab:"tools.suggestion",content:null!==(o=null==n?void 0:n.suggestion)&&void 0!==o?o:""}],chartData:(null===(a=null==n?void 0:n.chart_data)||void 0===a?void 0:a.length)>0?null==n?void 0:n.chart_data:[],disclaimer:null!==(r=null==n?void 0:n.disclaimer)&&void 0!==r?r:"",illustrator:null!==(l=null==n?void 0:n.illustrator)&&void 0!==l?l:"",faqs:null!==(d=null==n?void 0:n.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==n?void 0:n.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:dn,formatReviewedCategory:sn,formatCategory:pn,formatCategoryApi:function(n){return n?{categoryInfo:pn(n.data.category)||null,explainersPosts:(n.data.explainers_posts||[]).map(rn),subCategories:(n.data.sub_categories||[]).map(pn)}:{}},formatFaqsCategory:cn,formatHealthTool:un,formatHealthToolTypeCategory:function(n){var e,t;return n?{termId:(null==n?void 0:n.term_id)||0,name:(null==n?void 0:n.name)||"",healthTools:null!==(t=null===(e=null==n?void 0:n.health_tools)||void 0===e?void 0:e.map((function(n){return un(n)})))&&void 0!==t?t:[]}:{}},formatCommunity:mn,formatTopic:gn,formatExpertAnswer:hn,formatPost:xn,formatPostPagination:function(n){return n?{currentPage:n.current||0,lastPage:n.last||0,total:n.total_items||0}:{}},formatNotification:function(n){var e,t,i;return n?{time:n.created_at,content:n.content,postId:String(n.post_id),fromUser:{name:null===(e=n.from_user)||void 0===e?void 0:e.name,id:null===(t=n.from_user)||void 0===t?void 0:t.id,avatar:null===(i=n.from_user)||void 0===i?void 0:i.avatar},toUserId:String(n.to_user_id),postSlug:n.post_slug||"",communitySlug:n.community_slug||""}:{}},formatSpotlightsList:function(n){return n?n.map((function(n){return{id:n.ID,name:n.name,permalink:n.permalink,image:(null==n?void 0:n.small_banner)||(null==n?void 0:n.image),imageMedium:(null==n?void 0:n.image_medium)||null,imageThumbnail:(null==n?void 0:n.image_thumbnail)||null,startDate:null==n?void 0:n.start_date,endDate:null==n?void 0:n.end_date}})):[]},formatOvulationInfo:fn,formatSuggestedArticle:function(n){return n?{postId:n.post_id||null,categoryId:n.category_id||null,postUrl:n.post_url||null,postReviewed:n.post_reviewed||null,postPageviews:n.post_pageviews||null,postRank:n.post_rank||null,isPin:n.is_pin||null,frequency:n.frequency||null,topic:n.topic||null}:{}},formatTopicHealthTool:function(n){return n?{id:n.tool_id||null,topicFrequency:n.frequency||null,topicId:n.topic_id||null,topicName:n.topic_name||null,isPinned:!!n.is_pin||null,toolLink:n.tool_link||""}:{}},formatComment:bn,formatReportedPostToPostDetail:function(n){return n?{name:n.title,description:n.description,images:n.images,likes_count:n.count_likes,comments_count:n.count_comments,topics:[],slug:n.post_slug,id:n.post_id,is_pin:n.is_pin,pin_date:"",post_type:n.post_type,schedule_datetime:n.schedule_datetime,is_active:n.is_active,preview_title:n.preview_title||"",preview_image:n.preview_image||"",preview_description:n.preview_description||"",preview_link:n.preview_link||"",user:n.user,created_at:"",created_time:"",community:{id:n.community_id,name:n.community_name,slug:n.community_slug,description:""}}:{}},formatTopicSubot:function(n){return n?{chatBotId:n.subot_id,isPinned:n.is_pin,topicId:n.topic_id,topicFrequency:n.frequency}:{}},formatSiteWideBanner:function(n,e){return void 0!==n&&n?{content:(null==n?void 0:n.content)||"",icon:(null==n?void 0:n.icon)||"",type:e||"other"}:null},formatPWGContent:function(n){return n?{disclaimer:n.disclaimer,info:n.info||[],reviewedBy:n.reviewed_by?ln(n.reviewed_by):null,reviewedDate:n.reviewed_date,metaTag:n.meta_tag}:{}},formatUserProfileUrl:vn,formatTHRContent:function(n){return n?{disclaimer:n.disclaimer,info:n.info||[],reviewedBy:n.reviewed_by?ln(n.reviewed_by):null,reviewedDate:n.reviewed_date,metaTag:n.meta_tag}:{}},formatBabyGrowthContent:function(n){var e,t,i;return n&&n.information?{information:null!==(e=n.information.map((function(n){return{title:n.title,description:n.description}})))&&void 0!==e?e:[],reviewBy:{reviewer:(null===(t=n.reviewed_by)||void 0===t?void 0:t.display_name)||(null===(i=n.reviewed_by)||void 0===i?void 0:i.name)||"",date:n.reviewed_date||"",link:vn(null==n?void 0:n.reviewed_by)},metaTag:n.meta_tag||"",title:n.title||"",description:n.description||"",disclaimer:n.disclaimer||"",is_sponsored:n.is_sponsored||!1,sponsor:n.sponsor,featuredImage:n.featured_image||""}:{}}}),wn=m.a(R||(R=l(["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"],["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray600})),_n=m.div(P||(P=l(["\n position: relative;\n display: inline-block;\n"],["\n position: relative;\n display: inline-block;\n"]))),En=m.div(B||(B=l(["\n position: relative;\n"],["\n position: relative;\n"]))),Tn=m.div(N||(N=l(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),kn=m.div(z||(z=l(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),An=m.div(U||(U=l(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),In=m.div(G||(G=l(["\n ","\n"],["\n ","\n"])),(function(n){return"\n ".concat(0!==n.lowerBound?"@media (max-width: ".concat(n.lowerBound-1,"px) { display: none; }"):"","\n ").concat(0!==n.upperBound?"@media (min-width: ".concat(n.upperBound,"px) { display: none; }"):"","\n ")})),On=m.div(M||(M=l(["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"],["\n background-color: white;\n text-align: center;\n .cancle-img {\n margin-top: 24px;\n "," {\n width: 80px;\n height: 80px;\n }\n\n "," {\n width: 100px;\n height: 100px;\n }\n }\n\n h2 {\n margin-top: 32px;\n color: ",";\n font-style: normal;\n font-weight: bold;\n "," {\n font-size: 24px;\n line-height: 32px;\n }\n\n "," {\n font-size: 32px;\n line-height: 42px;\n }\n }\n\n p {\n margin-top: 8px;\n color: ",";\n font-style: normal;\n font-weight: normal;\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 24px;\n }\n }\n"])),u.mbDown,u.mbUp,(function(n){return n.theme.colors.gray800}),u.mbDown,u.mbUp,(function(n){return n.theme.colors.gray600}),u.mbDown,u.mbUp),Sn=m.div(H||(H=l(["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"],["\n display: flex;\n\n "," {\n margin-top: 24px;\n }\n\n "," {\n margin-top: 32px;\n }\n justify-content: space-around;\n button {\n flex: 1;\n margin: 4px;\n }\n\n ","\n"])),u.mbDown,u.mbUp,(function(n){return"marryBaby"===n.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 ":""})),Ln="hhgcomp-navprofilebutton-popup",Cn=h(m.div(Rn||(Rn=l(["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: absolute;\n right: 0;\n background-color: ",";\n\n &[data-animation='true'] {\n transition: all 0.5s ease-in-out;\n }\n\n &[data-open='true'] {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n display: none;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='welcome'] {\n position: fixed;\n "," {\n width: 100%;\n height: 424px;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n min-height: 445px;\n max-width: 407px;\n }\n }\n\n &[data-type='due-date'] {\n position: fixed;\n "," {\n width: 100%;\n height: 100%;\n overflow-y: scroll;\n bottom: 0;\n top: unset;\n }\n "," {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100vw;\n height: 55vw;\n max-height: 598px;\n max-width: 1080px;\n }\n }\n\n .popup-content {\n z-index: 111;\n height: 100%;\n "," {\n max-height: calc(100vh - var(--header-bottom, 64px));\n }\n overflow: auto;\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n }\n\n &[data-type='confirm'] {\n width: 380px;\n height: 252px;\n }\n\n &[data-type='profile'] {\n /* min-height: 415px; */\n "," {\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n "," {\n position: fixed;\n left: 0;\n width: 100%;\n border-top: 1px solid ",";\n }\n "," {\n width: 368px;\n }\n }\n\n .close-button {\n position: absolute;\n top: 0;\n right: 0;\n width: 32px;\n height: 32px;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(n){return n.theme.colors.white}),u.mbDown,u.mbUp,u.mbDown,u.mbUp,u.mbDown,u.mbUp,(function(n){return n.theme.colors.gray200}),u.mbDown,g.colors.neutral100,u.mbUp),Ln),Dn="hhgcomp-navprofilebutton-popupwrapper";h(m.div(Pn||(Pn=l(["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 150;\n top: var(--header-bottom, 69px);\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n\n "," {\n background-color: transparent;\n &[data-type='welcome'] {\n background: rgba(38, 38, 38, 0.3);\n }\n &[data-type='due-date'] {\n background: rgba(38, 38, 38, 0.3);\n }\n }\n\n "," {\n background: rgba(38, 38, 38, 0.3);\n }\n\n &[data-type='welcome'] {\n top: 0;\n }\n\n &[data-open='false'] {\n display: none;\n }\n"])),u.mbUp,u.mbDown),Dn);var Rn,Pn,Bn,Nn,zn,Un=m.div(Bn||(Bn=l(["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"],["\n width: 40px;\n height: 40px;\n cursor: pointer;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 40px;\n height: 40px;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 20px;\n font-weight: bold;\n }\n"])),(function(n){return n.theme.colors.secondaryBase})),Gn=m.a(Nn||(Nn=l(["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"],["\n display: inline-flex;\n position: relative;\n width: 40px;\n height: 40px;\n display: flex;\n align-items: center;\n justify-content: center;\n text-decoration: none;\n flex-shrink: 0;\n\n .user-close-icon {\n display: none;\n }\n &:focus-within {\n .user-close-icon {\n display: block;\n }\n .user-avatar {\n display: none;\n }\n ."," {\n z-index: 200;\n top: 120%;\n opacity: 1;\n visibility: visible;\n display: initial;\n &[data-type='profile'] {\n "," {\n top: 100%;\n }\n }\n }\n ."," {\n display: initial;\n }\n }\n"])),Ln,u.mbDown,Dn),Mn=m.a(zn||(zn=l(["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"],["\n display: inline-flex;\n .login-btn[data-color='tertiary'][data-size='md'] {\n padding-left: 12px;\n padding-right: 12px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .login-btn {\n padding-left: 10px;\n padding-right: 10px;\n display: none;\n "," {\n display: block;\n }\n }\n"])),u.mbUp,u.mbUp),Hn={COMMUNITIES:"community?website_url={websiteUrl}",MENU_TOPIC:"topic?community_id={communityId}&website_url={websiteUrl}",GET_USER_POSTS:"profile/posts?website_url={websiteUrl}"},jn=99,Fn=300,Yn=400,Vn=210,Kn="fVk18fq",Wn="v8TCvUb",qn="mx7T4V3",Xn={myHealth:g.mbColors.toneYellow,myCommunity:g.mbColors.toneBlue,mySaved:g.mbColors.toneGreen},Zn={helloSites:{myBooking:function(){return f.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg")},myCommunity:function(){return f.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg")},myFamily:function(){return f.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg")},myHealth:function(){return f.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg")},mySaved:function(){return f.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg")},eCom:function(){return f.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")}},marryBaby:{mySaved:function(){return f.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg")},myCommunity:function(){return f.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg")},myHealth:function(){return f.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}}},$n=function(t){var i=t.type,o=t.themeName,a=t.className,r=t.onClick,l=void 0===r?function(){}:r,d=x().t,s=e((function(){var n,e;return(null===(e=null===(n=Zn[o])||void 0===n?void 0:n[i])||void 0===e?void 0:e.call(n))||""}),[i,o]),p=e((function(){return"marryBaby"!==o?"transparent":Xn[i]}),[i,o]);return n.createElement("div",{onClick:function(){l(i)},className:"".concat(Kn," ").concat(a)},n.createElement("div",{className:qn,style:{backgroundColor:p,backgroundImage:'url("'.concat(s,'")')}}),n.createElement("h3",{className:Wn},d("userProfile.nav.card.".concat(i))))},Jn=function(n,e){if("string"!=typeof n)throw new TypeError("argument str must be a string");var t={},i=(e||{}).decode||te,o=0;for(;o<n.length;){var a=n.indexOf("=",o);if(-1===a)break;var r=n.indexOf(";",o);if(-1===r)r=n.length;else if(r<a){o=n.lastIndexOf(";",a-1)+1;continue}var l=n.slice(o,a).trim();if(void 0===t[l]){var d=n.slice(a+1,r).trim();34===d.charCodeAt(0)&&(d=d.slice(1,-1)),t[l]=oe(d,i)}o=r+1}return t},Qn=function(n,e,t){var i=t||{},o=i.encode||ie;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!ee.test(n))throw new TypeError("argument name is invalid");var a=o(e);if(a&&!ee.test(a))throw new TypeError("argument val is invalid");var r=n+"="+a;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");r+="; Max-Age="+Math.floor(l)}if(i.domain){if(!ee.test(i.domain))throw new TypeError("option domain is invalid");r+="; Domain="+i.domain}if(i.path){if(!ee.test(i.path))throw new TypeError("option path is invalid");r+="; Path="+i.path}if(i.expires){var d=i.expires;if(!function(n){return"[object Date]"===ne.call(n)||n instanceof Date}(d)||isNaN(d.valueOf()))throw new TypeError("option expires is invalid");r+="; Expires="+d.toUTCString()}i.httpOnly&&(r+="; HttpOnly");i.secure&&(r+="; Secure");if(i.priority){switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":r+="; Priority=Low";break;case"medium":r+="; Priority=Medium";break;case"high":r+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"strict":r+="; SameSite=Strict";break;case"none":r+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return r},ne=Object.prototype.toString,ee=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function te(n){return-1!==n.indexOf("%")?decodeURIComponent(n):n}function ie(n){return encodeURIComponent(n)}function oe(n,e){try{return e(n)}catch(e){return n}}var ae={parse:Jn,serialize:Qn},re={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},le={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},de={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},se={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},pe={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},ce=t({data:pe,action:{pushNotifications:function(n){return n},sanitizeFunction:function(n){return n}}}),ue=pe,me=function(e){var t=e.locale,a=void 0===t?"vi-VN":t,r=e.children,l=e.userInfo,d=e.router,s=e.env,p=void 0===s?{isMarryBaby:!1,togetherBasePath:"/community"}:s,c=e.sanitizeFunction,u=void 0===c?function(n){return n}:c,m=e.pushNotifications,g=void 0===m?function(){return!1}:m,h=i(),x=h[0],f=h[1];return ue={userInfo:l,locale:a,togetherUserId:x,router:d,env:p},o((function(){(null==l?void 0:l.id)&&Ae(ye(re.PROFILE,{_locale:a}),"GET").then((function(n){var e;f(null===(e=null==n?void 0:n.data)||void 0===e?void 0:e.id)}))}),[null==l?void 0:l.id]),n.createElement(ce.Provider,{value:{data:{userInfo:l,locale:a,togetherUserId:x,router:d,env:p},action:{pushNotifications:g,sanitizeFunction:u}}},r)},ge={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com"},he={"vi-VN":"marrybaby.vn"},xe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",fe=function(n){var e=ue.env.isMarryBaby;return"https://".concat(e?he[n]:ge[n])},be=function(n){var e=n.indexOf("?");return e>=0?n.slice(0,e+1)+n.slice(e+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):n},ve=function(n){var e=ue.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var t="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(t?e?"fe.":"discover.":e?"www.":"").concat(ge[n])},ye=function(n,e,t){var i="";t&&(i=Object.keys(t).map((function(n){return n+"="+t[n]})).join("&"));var o=((null==ue?void 0:ue.env)||{}).togetherBaseApiUrl,a=void 0===o?"":o,r=T(n,d(d({},(null==e?void 0:e._locale)?{website_url:fe(String(e._locale))}:{}),e));return r+="".concat(r.includes("?")?"&":"?").concat(i),a+"api/v1/"+be(r)},we=function(n,e){var t=((null==ue?void 0:ue.env)||{}).discoverBaseApiUrl;return(void 0===t?"":t)+"wp-json/api/"+be(T(n,d({},e)))},_e=function(n,e){var t=((null==ue?void 0:ue.env)||{}).careBaseApiUrl;return((void 0===t?"":t)||"https://service-health-care.hellohealthgroup.com/")+be(T(n,d({},e)))},Ee=function(n){return(null==n?void 0:n.data)&&(n.data instanceof FormData?n.body=n.data:"object"==typeof n.data&&(n.body=JSON.stringify(n.data)),delete n.data),n},Te=function(n,e,t,i){return void 0===i&&(i=!1),s(void 0,void 0,void 0,(function(){var o,a,r,l,s;return p(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,fetch(i?n:(c=n,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),d(d({method:e},Ee(t)),{headers:d({},null==t?void 0:t.headers)})).then((function(n){return n.json()}))];case 1:return(o=p.sent())?[2,o]:[3,3];case 2:return a=p.sent(),console.log(a),console.log({url:n,status:null===(r=null==a?void 0:a.response)||void 0===r?void 0:r.status,statusText:null===(l=null==a?void 0:a.response)||void 0===l?void 0:l.statusText}),[2,(null===(s=null==a?void 0:a.response)||void 0===s?void 0:s.data)||null];case 3:return[2,null]}var c}))}))},ke=function(n,e,t,i){return void 0===e&&(e="GET"),s(void 0,void 0,void 0,(function(){var o,a,r,l,s,c,u,m,g,h,x,f,b,v;return p(this,(function(p){switch(p.label){case 0:if(p.trys.push([0,7,,8]),o="string"==typeof n?n:n.url,a="string"==typeof n?n:n.backupUrl,r=ae.parse(i||""),l=r[Z],!(s=l||_(Z))||!s.length)return[3,5];p.label=1;case 1:return p.trys.push([1,3,,4]),[4,fetch(o,d(d({method:e},Ee(t)),{headers:d({Authorization:"Bearer "+s},null==t?void 0:t.headers)})).then((function(n){return n.json()}))];case 2:return c=p.sent(),(null===(g=null==c?void 0:c.messages)||void 0===g?void 0:g.find((function(n){return"Unauthenticated"===(null==n?void 0:n.toLowerCase())})))?[2,Te(a||o,e,t)]:c?[2,c]:[3,4];case 3:return u=p.sent(),console.log({status:null===(h=null==u?void 0:u.response)||void 0===h?void 0:h.status,statusText:null===(x=null==u?void 0:u.response)||void 0===x?void 0:x.statusText}),[2,Te(a||o,e,t)];case 4:return[3,6];case 5:return[2,Te(a||o,e,t)];case 6:return[3,8];case 7:return m=p.sent(),console.log({status:null===(f=null==m?void 0:m.response)||void 0===f?void 0:f.status,statusText:null===(b=null==m?void 0:m.response)||void 0===b?void 0:b.statusText}),[2,(null===(v=null==m?void 0:m.response)||void 0===v?void 0:v.data)||null];case 8:return[2,null]}}))}))},Ae=function(n,e,t,i){return s(void 0,void 0,void 0,(function(){var o,a,r,l;return p(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),o=ae.parse(i||""),a=o[Z],(r=a||_(Z))&&r.length?[4,fetch(n,d(d({method:e},Ee(t)),{headers:d({Authorization:"Bearer "+r},null==t?void 0:t.headers)})).then((function(n){return n.json()}))]:[3,2];case 1:if(l=s.sent())return[2,l];s.label=2;case 2:return[3,4];case 3:return s.sent(),[2,null];case 4:return[2,null]}}))}))},Ie=function(n,e,t,i){return s(void 0,void 0,void 0,(function(){var o,a,r,l;return p(this,(function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),o=ae.parse(i||""),a=o[$],(r=a||_($))&&r.length?[4,fetch(n,d(d({method:e},Ee(t)),{headers:d({Authorization:"Bearer "+r},null==t?void 0:t.headers)})).then((function(n){return n.json()}))]:[3,2];case 1:if(l=s.sent())return[2,l];s.label=2;case 2:return[3,4];case 3:return s.sent(),[2,null];case 4:return[2,null]}}))}))};function Oe(n,e,t){var i=new RegExp("([?&])"+e+"=.*?(&|$)","i"),o=-1!==n.indexOf("?")?"&":"?";return n.match(i)?n.replace(i,"$1"+e+"="+t+"$2"):n+o+e+"="+t}var Se,Le,Ce,De,Re,Pe,Be,Ne,ze,Ue,Ge,Me,He,je,Fe,Ye=function(n,e,t){void 0===t&&(t="/community");var i=n||("undefined"!=typeof window?window.location.href:"/"),o="undefined"!=typeof window?window.location.origin:"";return o||n&&(n.startsWith("http://")||n.startsWith("https://"))&&(o=n.split("/").slice(0,3).join("/")),function(n,e){var t=ue.env.publicSSO,i=n||window.location.href;return e&&Object.keys(e).map((function(n){Oe(i,n,e[n])})),Oe(i,"source","communities"),t?"".concat(t,"?returnUrl=").concat(encodeURIComponent(i.toString())):i}("".concat(o).concat(t,"/on-boarding?return=").concat(encodeURIComponent(i)),e)},Ve=function(n,e,t,i){return t&&e?"".concat(t,"-").concat(e):"".concat(E(n||"",{lower:!0,locale:i||xe}),"-").concat(e)},Ke=function(n){var e,t=n.name,i=n.id,o=n.locale;return"/care/".concat(null===(e=en[o||"vi-VN"])||void 0===e?void 0:e.DOCTOR,"/").concat(Ve(t,i))},We=function(n){var e,t=n.name,i=n.id,o=n.slug,a=n.locale;return"/care/".concat(null===(e=en[a||"vi-VN"])||void 0===e?void 0:e.HOSPITAL,"/").concat(Ve(t,i,o))},qe=n.createContext({}),Xe=function(t){var i=t.children,o=c(t,["children"]),a="undefined"!=typeof window?window.location.href:o.currentUrl||"https://".concat("marryBaby"===o.siteType?he[o.locale||"en-PH"]:w[o.locale||"en-PH"]).concat("together"===o.projectType?"/community":"ecom"===o.projectType?"/ecom":"care"===o.projectType?"/care":"","/"),r=function(n){var t=n.locale,i=n.projectType,o=n.isMobile,a=n.siteType;return e((function(){var n=!(!o&&"profile"===i),e="discover"===i||"marryBaby"===i||"profile"===i&&"marryBaby"===a,r="marryBaby"!==a&&"marryBaby"!==i&&b.includes(t),l="marryBaby"!==i&&"discover"===i&&"marryBaby"!==a&&v.includes(t),d="marryBaby"===i||y.includes(t),s="ecom"===i,p="ecom"===i,c=k(t,"marryBaby"===a),u=A(t,"marryBaby"===a);return{enableProfileNavigatorMenu:n,enableSearchBar:e,enableNavCare:r,enableNavCareBooking:l,enableNavTogether:d,enableNavEcom:s,enableProfileEcom:p,enableProfileMyHealth:!0,statics:{HOME_PAGE_URL:c,CARE_URL_FE:"".concat(c,"/care"),TOGETHER_URL_FE:"".concat(c,"/community"),SSO_URL:u,TOGETHER_API:I(),DISCOVER_API:O(t)}}}),[t,i,o])}({locale:o.locale,projectType:o.projectType,isMobile:o.isMobile,siteType:o.siteType});return n.createElement(qe.Provider,{value:d(d({},o),{configs:r,currentUrl:a})},i)},Ze=a((function(){return n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.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"}))})),$e=m.div(Se||(Se=l(["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n padding-right: 1rem;\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n "," {\n border-right: 1px solid #e4e8ec;\n }\n"])),u.mbUp),Je=m.a(Le||(Le=l(["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"],["\n padding: 10px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n text-decoration: none;\n color: ",";\n * {\n pointer-events: none;\n }\n p {\n font-size: 16px;\n font-weight: 400;\n padding: 0 0.4rem;\n }\n\n &[data-theme='marryBaby']:hover {\n p {\n color: ",";\n }\n .icon {\n background-color: ",";\n }\n }\n &[data-theme='helloSite']:hover {\n p {\n color: ",";\n }\n }\n a {\n }\n\n &[data-theme='marryBaby'] {\n .icon {\n display: flex;\n align-items: center;\n justify-content: center;\n max-width: 40px;\n width: 100%;\n height: 40px;\n border-radius: 50%;\n background-color: ",";\n img {\n border-radius: 50%;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.lightPink}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.mbColors.lightGray})),Qe=m.div(Ce||(Ce=l(["\n margin: 15px 0;\n "," {\n display: none;\n }\n"],["\n margin: 15px 0;\n "," {\n display: none;\n }\n"])),u.mbDown),nt=m.div(De||(De=l(["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"],["\n display: flex;\n position: absolute;\n right: 0;\n "," {\n display: none;\n }\n"])),u.mbUp),et=m.div(Re||(Re=l(["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n font-size: 14px;\n font-weight: 600;\n &[data-event-category] * {\n pointer-events: none;\n }\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),tt=m.div(Pe||(Pe=l(["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n margin-left: 10px;\n"]))),it=m.a(Be||(Be=l(["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"],["\n border: 1px solid ",";\n &[data-theme='marryBaby'] {\n border: 1px solid ",";\n\n svg path {\n stroke: ",";\n }\n }\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px;\n border-radius: 5px;\n margin-top: 20px;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),(function(n){return n.theme.mbColors.pink}),u.mbDown),ot=m.div(Ne||(Ne=l(["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"],["\n padding: 16px;\n border-radius: 8px;\n position: relative;\n z-index: 1;\n overflow: hidden;\n a {\n text-decoration: none;\n }\n\n .bg-svg {\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n z-index: -1;\n }\n "," {\n display: block;\n .bg-svg {\n right: -24px;\n left: unset;\n top: 0;\n transform: rotateY(180deg);\n }\n }\n\n "," {\n display: grid;\n grid-gap: 10px;\n grid-template-columns: 1fr 3fr;\n }\n"])),u.mbDown,u.mbUp),at=m.div(ze||(ze=l(["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"],["\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n color: ",";\n margin-bottom: 15px;\n"])),(function(n){return n.theme.colors.gray600})),rt=m.div(Ue||(Ue=l(["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"],["\n font-weight: 600;\n font-size: 16px;\n line-height: 26px;\n color: #000000;\n margin-bottom: 4px;\n"]))),lt=m.div(Ge||(Ge=l(["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"],["\n background: #fff;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n"]))),dt=m.div(Me||(Me=l(["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"],["\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n "," {\n justify-content: end;\n min-height: 100px;\n }\n"])),u.mbDown),st=m.div(He||(He=l(["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"],["\n margin-top: 10px;\n background: #ffffff;\n padding: 5px 15px;\n position: relative;\n "," {\n &:after {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 4px;\n background-color: ",";\n content: '';\n }\n }\n"])),u.mbDown,(function(n){return n.theme.colors.neutral100})),pt=m.div(je||(je=l(["\n margin: 15px 0;\n display: flex;\n"],["\n margin: 15px 0;\n display: flex;\n"]))),ct=m.a(Fe||(Fe=l(["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"],["\n padding-left: 10px;\n display: flex;\n align-items: center;\n text-decoration: none;\n font-weight: 400;\n font-size: 14px;\n color: ",";\n &[data-theme='marryBaby'] {\n color: ",";\n }\n img {\n padding-left: 5px;\n }\n "," {\n margin-left: auto;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.mbColors.pink}),u.mbDown);m.div(ut||(ut=l(["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > a:not(:last-child) > div {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}));var ut,mt,gt,ht,xt,ft,bt,vt,yt,wt=m.div(mt||(mt=l(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n\n "," {\n grid-template-columns: repeat(1, 1fr);\n }\n"])),u.tdDown),_t=m.div(gt||(gt=l(["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"],["\n height: 152px; // 120 + 16 * 2\n position: absolute;\n top: 0;\n left: 0;\n z-index: 3;\n overflow: hidden;\n border-radius: 4px;\n padding: 16px;\n width: 100%;\n\n .img-container {\n width: 100%;\n height: 100%;\n }\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: contain;\n }\n "," {\n margin-bottom: 0;\n padding: 0;\n height: 100%;\n position: unset;\n width: 150px;\n }\n "," {\n width: 80px;\n }\n"])),u.tdDown,u.mbDown),Et=m.div(ht||(ht=l(["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"],["\n background-color: #ffffff;\n border-radius: 4px;\n width: 100%;\n height: 100%;\n"]))),Tt=m.div(xt||(xt=l(["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"],["\n display: flex;\n margin-top: 1rem;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.primaryBase}),u.tdDown),kt=m.p(ft||(ft=l(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.6;\n color: ",";\n "," {\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray800}),u.tdDown),At=m.p(bt||(bt=l(["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"],["\n font-size: 14px;\n line-height: 1.6;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n height: unset;\n padding: 0;\n }\n"])),(function(n){return n.theme.colors.gray600}),u.tdDown),It="hhgcomp-navigation-menucareitem-contentwrapper",Ot=h(m.div(vt||(vt=l(["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"],["\n display: flex;\n flex-direction: column;\n gap: 8px;\n flex: 1;\n z-index: 1;\n "," {\n gap: 4px;\n }\n"])),u.tdDown),It),St=m.a(yt||(yt=l(["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: ",";\n position: relative;\n overflow: hidden;\n padding: 16px;\n display: flex;\n padding-top: 166px;\n * {\n pointer-events: none;\n }\n "," {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n gap: 30px;\n flex-direction: column;\n a {\n display: flex;\n width: 100%;\n }\n }\n "," {\n padding-top: 16px;\n a {\n display: none;\n }\n grid-template-columns: 2fr 1fr;\n gap: 10px;\n display: grid;\n max-height: 110px;\n display: flex;\n flex-direction: row-reverse;\n > ."," {\n flex: 1;\n }\n img {\n width: 150px;\n }\n }\n "," {\n box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n display: flex;\n flex-direction: row-reverse;\n img {\n width: 80px;\n height: 80px;\n }\n }\n "," {\n border: 1px solid ",";\n }\n .bg-svg {\n width: 100%;\n max-width: 245px;\n height: 100%;\n top: 0;\n right: -40px;\n position: absolute;\n display: inline-block;\n }\n"])),g.colors.white,u.tdUp,u.tdDown,It,u.mbDown,u.tdOnly,g.colors.neutral100);m.div(Lt||(Lt=l(["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"]))),m.div(Ct||(Ct=l(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Lt,Ct,Dt,Rt,Pt,Bt,Nt=m.div(Dt||(Dt=l(["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n "," {\n gap: 12px;\n grid-template-columns: 1fr;\n }\n"])),u.tdDown),zt=m.a(Rt||(Rt=l(["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"],["\n width: 100%;\n display: flex;\n align-items: center;\n text-decoration: none;\n * {\n pointer-events: none;\n }\n"]))),Ut=m.div(Pt||(Pt=l(["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"],["\n border-radius: 5px;\n display: block;\n overflow: hidden;\n padding-top: 140%;\n width: 100%;\n position: relative;\n height: 0;\n img {\n position: absolute;\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n top: 0;\n left: 0;\n }\n "," {\n width: 72px;\n padding-top: 100px;\n }\n"])),u.tdDown),Gt=m.p(Bt||(Bt=l(["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"],["\n font-size: 16px;\n font-weight: 400;\n padding: 4px 15px;\n line-height: 1.4;\n color: ",";\n flex: 1;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray800}),u.tdUp);m.div(Mt||(Mt=l(["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"],["\n & > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n & > div > :not(:last-child) {\n border-bottom: 1px solid ",";\n }\n\n &[data-category-list-type='sub'] {\n padding-bottom: 72px;\n }\n\n &[data-is-displayed='false'] {\n display: none;\n }\n"])),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.neutral100})),m.div(Ht||(Ht=l(["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"],["\n & > div {\n width: 100%;\n margin-bottom: 8px;\n }\n"])));var Mt,Ht,jt,Ft,Yt,Vt,Kt,Wt,qt,Xt,Zt,$t,Jt,Qt,ni,ei=m.div(jt||(jt=l(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"],["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 48px;\n "," {\n grid-template-columns: 1fr;\n grid-gap: 32px;\n }\n "," {\n grid-gap: 24px;\n }\n"])),u.tdDown,u.mbDown),ti=m.div(Ft||(Ft=l(["\n width: ","px;\n height: ","px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: ","px;\n height: ","px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(n){return n.size||40}),(function(n){return n.size||40}),(function(n){return n.theme.colors.secondaryBase}),(function(n){return n.theme.mbColors.pink})),ii=function(e){var t=e.className,a=e.isMarryBaby,l=e.style,s=e.avatar,p=e.username,u=e.size,m=c(e,["className","isMarryBaby","style","avatar","username","size"]),g=r(ce).data.env.isMarryBaby,h="boolean"==typeof a?a:g,x=i(!1),f=x[0],b=x[1];return o((function(){var n=new Image;n.onerror=function(){b(!0)},n.src=s}),[]),n.createElement(ti,d({"data-is-marrybaby":h,className:t,style:l,size:u},m),s&&!f?n.createElement("img",{loading:"lazy",src:s,className:"avatar",alt:"avatar",onError:function(){b(!0)}}):n.createElement("div",{className:"avatar avatar-default"},p&&(null==p?void 0:p.length)>0?p[0].toUpperCase():"A"))},oi=m.div(Yt||(Yt=l(["\n padding: 5px;\n flex: 1;\n"],["\n padding: 5px;\n flex: 1;\n"]))),ai=m.img(Vt||(Vt=l(["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"],["\n width: 88px;\n height: 88px;\n border-radius: 4px;\n object-fit: cover;\n"]))),ri=m.div(Kt||(Kt=l(["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n font-size: 12px;\n font-weight: 600;\n color: ",";\n text-decoration: none;\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),li=m.div(Wt||(Wt=l(["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"],["\n text-decoration: none;\n font-size: 12px;\n font-weight: 400;\n color: ",";\n &[data-theme='marryBaby'] {\n font-weight: 400;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.primaryBase})),di=m.div(qt||(qt=l(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),si=m.div(Xt||(Xt=l(["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"],["\n font-size: 12px;\n font-weight: 400;\n color: ",";\n"])),(function(n){return n.theme.colors.gray600})),pi=m.a(Zt||(Zt=l(["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"],["\n display: flex;\n gap: 10px;\n text-decoration: none;\n position: relative;\n &::after {\n content: '';\n display: block;\n width: 100%;\n height: 1px;\n border-top: 1px dashed ",";\n position: absolute;\n bottom: -24px;\n "," {\n bottom: -16px;\n }\n "," {\n bottom: -12px;\n }\n }\n &:last-child {\n &::after {\n display: none;\n }\n }\n "," {\n &:nth-last-child(2) {\n &::after {\n display: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.neutral100}),u.tdOnly,u.mbDown,u.tdUp),ci=m.div($t||($t=l(["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"],["\n display: flex;\n gap: 10px;\n vertical-align: middle;\n align-items: center;\n"]))),ui=m.div(Jt||(Jt=l(["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"],["\n margin-top: 8px;\n font-size: 16px;\n font-weight: 600;\n color: ",";\n &[data-theme='marryBaby'] {\n margin-top: 12px;\n font-weight: 400;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n }\n"])),(function(n){return n.theme.colors.gray800})),mi=m.div(Qt||(Qt=l(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"],["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 5px;\n"]))),gi=m.div(ni||(ni=l(["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"],["\n display: flex;\n gap: 4px;\n flex-direction: column;\n"])));S.extend(L);var hi=function(e){var t,i,o,a,l,d,s,p=e.post,c=e.index,u=void 0===c?0:c,m=r(qe),g=m.siteType,h=m.configs.statics;if(!p)return null;var x=[h.TOGETHER_URL_FE,null===(t=p.community)||void 0===t?void 0:t.slug].join("/"),f=[x,p.slug].join("/"),b=p.createdAt,v=b?isNaN(new Date(b).getTime())?null:new Date(b):null,y=v?S(v).toNow(!0):b;return n.createElement(pi,{href:f,"data-event-category":"Hamburger Navigation","data-event-action":"Together Click ".concat(u+1),"data-event-label":f},n.createElement(oi,null,n.createElement(ci,null,n.createElement(ii,{avatar:null===(i=p.author)||void 0===i?void 0:i.avatar,username:(null===(o=p.author)||void 0===o?void 0:o.name)||(null===(a=p.author)||void 0===a?void 0:a.username)}),n.createElement(gi,null,n.createElement(ri,{"data-theme":g},null===(l=p.author)||void 0===l?void 0:l.name),n.createElement(mi,null,n.createElement(li,{"data-event-category":"Hamburger Navigation","data-event-action":"Topic Click ".concat(u+1),"data-event-label":x,onClick:function(n){n.preventDefault(),location.href=x},"data-theme":g},null===(d=p.community)||void 0===d?void 0:d.name),n.createElement(si,null,"•"),n.createElement(di,{"data-theme":g},y)))),n.createElement(ui,null,p.title)),!!(null===(s=p.photos)||void 0===s?void 0:s.length)&&n.createElement(ai,{loading:"lazy",src:p.photos[0]}))};m.div(xi||(xi=l(["\n &[data-is-display='false'] {\n display: none;\n }\n"],["\n &[data-is-display='false'] {\n display: none;\n }\n"])));var xi,fi,bi,vi,yi,wi,_i,Ei,Ti,ki,Ai,Ii,Oi,Si,Li,Ci,Di=m.div(fi||(fi=l(["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"],["\n display: grid;\n\n grid-template-columns: repeat(3, 1fr);\n gap: 24px;\n "," {\n grid-template-columns: 1fr;\n gap: 12px;\n }\n"])),u.tdDown),Ri=m.a(bi||(bi=l(["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"],["\n text-decoration: none;\n border-radius: 4px;\n background: #e3f2ff;\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n width: 245px;\n top: 0;\n right: 0;\n height: 100%;\n position: absolute;\n "," {\n top: calc(51% - 68px);\n right: -8px;\n }\n }\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: center;\n }\n"])),u.tdDown,u.tdDown),Pi=m.div(vi||(vi=l(["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"],["\n width: 64px;\n height: 64px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 64px;\n height: 64px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n"])),u.tdDown),Bi=m.div(yi||(yi=l(["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"],["\n display: flex;\n align-items: center;\n color: ",";\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n"])),(function(n){return n.theme.colors.primaryBase})),Ni=m.p(wi||(wi=l(["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"],["\n font-size: 16px;\n font-weight: 600;\n line-height: 1.4;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),zi=m.p(_i||(_i=l(["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-size: 14px;\n line-height: 1.4;\n font-weight: 400;\n color: ",";\n height: 40px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),u.tdDown),Ui=m.div(Ei||(Ei=l(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n }\n"])),u.tdUp,u.tdDown),Gi=m.a(Ti||(Ti=l(["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"],["\n text-decoration: none;\n border-radius: 12px;\n\n position: relative;\n overflow: hidden;\n display: flex;\n * {\n pointer-events: none;\n }\n .bg-svg {\n top: 0;\n left: 0;\n position: absolute;\n }\n\n .dot-svg {\n width: 40px;\n height: 30px;\n top: 36px;\n left: 16px;\n position: absolute;\n stroke-width: 0;\n }\n\n &[data-color='pink'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='orange'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n &[data-color='green'] {\n background: ",";\n .bg-svg {\n fill: ",";\n }\n }\n\n padding: 180px 24px 16px;\n a {\n display: flex;\n width: 100%;\n }\n "," {\n padding-top: 16px;\n display: flex;\n align-items: flex-start;\n justify-content: flex-start;\n }\n "," {\n padding-top: 0;\n padding-left: 80px;\n height: 96px;\n align-items: flex-start;\n justify-content: center;\n flex-direction: column;\n .dot-svg {\n top: 22px;\n left: 16px;\n }\n }\n "," {\n min-height: 296px;\n }\n .mobile-only {\n "," {\n display: none;\n }\n }\n .desktop-only {\n "," {\n display: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.tonePink}),(function(n){return n.theme.mbColors.peach}),(function(n){return n.theme.mbColors.toneYellow}),(function(n){return n.theme.mbColors.orange}),(function(n){return n.theme.mbColors.toneGreen}),(function(n){return n.theme.mbColors.mint}),u.tdDown,u.mbDown,u.tdUp,u.tdUp,u.tdDown),Mi=m.div(ki||(ki=l(["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"],["\n width: 48px;\n height: 48px;\n background: white;\n position: absolute;\n right: 25px;\n top: 35px;\n z-index: 3;\n border-radius: 50%;\n img {\n position: absolute;\n width: 36px;\n height: 36px;\n top: 50%;\n left: 50%;\n display: block;\n transform: translate(-50%, -50%);\n }\n "," {\n position: relative;\n top: unset;\n right: unset;\n }\n "," {\n position: absolute;\n left: 32px;\n top: 28px;\n }\n"])),u.tdDown,u.mbDown),Hi=m.div(Ai||(Ai=l(["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"],["\n display: flex;\n align-items: center;\n background: white;\n font-weight: 400;\n font-size: 14px;\n text-decoration: none;\n border-radius: 50%;\n width: 20px;\n height: 20px;\n\n svg path {\n fill: ",";\n }\n\n "," {\n background: none;\n width: 100%;\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n color: ",";\n padding-left: 16px;\n }\n"])),(function(n){return n.theme.mbColors.gray}),u.tdDown,(function(n){return n.theme.mbColors.pink})),ji=m.p(Ii||(Ii=l(["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"],["\n font-weight: 600;\n font-size: 14px;\n line-height: 24px;\n letter-spacing: -0.2px;\n color: ",";\n"])),(function(n){return n.theme.colors.gray800})),Fi=m.p(Oi||(Oi=l(["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"],["\n font-weight: 400;\n font-size: 12px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ",";\n height: 54px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n margin-bottom: auto;\n "," {\n display: none;\n }\n"])),(function(n){return n.theme.colors.gray600}),u.tdDown),Yi=m.div(Si||(Si=l(["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"],["\n display: flex;\n flex: 1;\n z-index: 1;\n align-items: flex-end;\n justify-content: flex-end;\n "," {\n gap: 8px;\n flex-direction: row;\n }\n\n "," {\n align-items: flex-start;\n justify-content: flex-start;\n gap: 4px;\n }\n"])),u.tdUp,u.tdDown),Vi=m.div(Li||(Li=l(["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"],["\n display: flex;\n flex-direction: column;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n }\n "," {\n gap: 4px;\n flex: 1;\n padding-left: 16px;\n }\n"])),u.tdUp,u.tdDown),Ki=m.div(Ci||(Ci=l(["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"],["\n display: flex;\n flex-direction: row;\n flex: 1;\n z-index: 1;\n "," {\n gap: 8px;\n justify-content: flex-end;\n align-items: flex-end;\n }\n "," {\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n }\n"])),u.tdUp,u.tdDown),Wi=m.div(qi||(qi=l(["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"],["\n position: fixed;\n z-index: 201;\n top: calc(100% + 1px); // border 1px\n width: 100%;\n height: calc(100vh - var(--header-bottom));\n overflow-x: hidden;\n overflow-y: auto;\n background: white;\n display: flex;\n flex-direction: column;\n padding-bottom: 0;\n left: 0;\n .hhgcomp-navigation-popupwrapper-menuwrapper {\n position: unset;\n }\n"])));m.div(Xi||(Xi=l(["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"],["\n position: fixed;\n bottom: 0;\n left: 0;\n display: flex;\n width: 100%;\n height: 72px;\n align-items: flex-start;\n justify-content: center;\n\n background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);\n\n .button-image {\n stroke-color: blue;\n }\n\n &[data-site-type='marryBaby'] {\n padding: 0 16px;\n .category-button {\n width: 100%;\n height: 48px;\n }\n }\n"]))),m.div(Zi||(Zi=l(["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"],["\n display: flex;\n\n &[data-card-array-no-margin-style='true'] {\n margin: 8px 0;\n\n & > div {\n width: 0;\n flex: 1;\n margin: 0 -1px;\n }\n }\n\n &[data-card-array-no-margin-style='false'] {\n margin: 8px -4px;\n\n & > div {\n flex: 1;\n margin: 0 4px;\n }\n }\n"]))),m.div($i||($i=l(["\n margin-top: 64px;\n"],["\n margin-top: 64px;\n"]))),m.div(Ji||(Ji=l(["\n padding: 24px 0;\n"],["\n padding: 24px 0;\n"]))),m.div(Qi||(Qi=l(["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"],["\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n\n & > div:first-child {\n margin-right: 8px;\n }\n"]))),m.div(no||(no=l(["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"],["\n z-index: ",";\n align-items: center;\n\n border: 1px solid ",";\n background-color: ",";\n box-shadow: 0px 24px 32px rgba(0, 0, 0, 0.04),\n 0px 16px 24px rgba(0, 0, 0, 0.04), 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 1px rgba(0, 0, 0, 0.04);\n"])),Vn,(function(n){return n.theme.colors.neutral50}),(function(n){return n.theme.colors.white})),m.div(eo||(eo=l(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n padding: 48px 0;\n"]))),m.div(to||(to=l(["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"],["\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n justify-content: flex-start;\n &[data-disabled-divider='false'] {\n border-right: 1px solid #e4e8ec;\n }\n"]))),m.div(io||(io=l(["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"],["\n width: 20%;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n }\n\n & > a:hover {\n color: ",";\n }\n\n .iconMenu {\n display: flex;\n align-items: center;\n\n > .imageContainer {\n display: flex;\n width: 32px;\n min-width: 32px;\n align-items: center;\n margin-right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),m.div(oo||(oo=l(["\n display: none;\n"],["\n display: none;\n"]))),m.div(ao||(ao=l(["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"],["\n width: 33%;\n height: 48px;\n padding-right: 16px;\n margin-bottom: 12px;\n\n & > a {\n display: flex;\n align-items: center;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 22px;\n\n & > :first-child {\n margin-right: 16px;\n }\n }\n\n & > a > p:hover {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.primaryBase})),m.div(ro||(ro=l(["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"],["\n display: flex;\n align-items: center;\n\n padding-right: 16px;\n margin-bottom: 12px;\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: 24px;\n\n &[data-theme='marryBaby'] {\n color: ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fsParagraph4}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.mbColors.pink})),m.div(lo||(lo=l(["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"],["\n display: flex;\n align-items: center;\n\n margin-left: 10px;\n"]))),m.div(so||(so=l(["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"],["\n position: absolute;\n top: 16px;\n right: 0;\n display: flex;\n align-items: center;\n cursor: pointer;\n"]))),m.div(po||(po=l(["\n display: block;\n"],["\n display: block;\n"]))),m.div(co||(co=l(["\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"],["\n .categories__spotlight {\n display: grid;\n margin: 16px;\n margin-bottom: 32px;\n grid-gap: 8px;\n grid-template-columns: 1fr 1fr;\n\n a {\n text-decoration: none;\n }\n }\n\n .categoryCard {\n display: flex;\n width: 100%;\n flex-direction: column;\n align-items: center;\n padding: 16px;\n border-radius: 6px;\n color: ",";\n\n svg {\n margin-bottom: 4px;\n }\n\n &.active {\n background: ",";\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 2px 8px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);\n color: white;\n }\n\n &:not(.active) {\n box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04),\n 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);\n }\n }\n\n .amp__menu-header {\n display: grid;\n grid-template-columns: 1fr 1fr 1fr;\n\n svg {\n margin-left: 16px;\n }\n\n > div {\n align-self: center;\n\n &:nth-child(2) {\n justify-self: center;\n }\n }\n }\n\n .logo {\n margin: 22px 0;\n }\n\n .categories {\n margin: 0 16px;\n\n li {\n display: block;\n width: 100%;\n\n + li {\n border-top: 1px solid\n ",";\n }\n\n a {\n display: block;\n margin: 12px 0;\n color: ",";\n text-decoration: none;\n }\n }\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800})),m.div(uo||(uo=l(["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"],["\n width: 20%;\n height: 2px;\n\n background-color: ",";\n border-radius: 2px;\n"])),(function(n){return n.theme.mbColors.pink}));var qi,Xi,Zi,$i,Ji,Qi,no,eo,to,io,oo,ao,ro,lo,so,po,co,uo,mo,go,ho=m.div(mo||(mo=l(["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"],["\n padding: 16px;\n padding-bottom: 12px;\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n &[data-theme='marryBaby'] {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray})),xo=m.div(go||(go=l(["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"],["\n display: block;\n overflow-y: auto;\n flex: 1;\n padding-bottom: 16px;\n &::-webkit-scrollbar {\n width: 0;\n display: none;\n }\n"]))),fo=m.div(_o||(_o=l(["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"],["\n z-index: 201;\n width: 100%;\n align-items: center;\n\n background-color: ",";\n\n transition: height 0.3s, transform 0.3s;\n\n &[data-site-type='helloSites'] {\n border-bottom: 1px solid\n ",";\n }\n\n &[data-marry-baby-tone='pink'] {\n background-color: ",";\n }\n\n "," {\n &[data-sitewide-banner-shown='true'][data-collapsed='true'] {\n transform: translateY(-64px);\n }\n }\n "," {\n &[data-site-type='marryBaby'] {\n border-bottom: none;\n }\n\n &[data-fixed-bar='true'] {\n position: fixed;\n transform: translateY(0);\n }\n\n &[data-fixed-bar='false'] {\n position: absolute;\n }\n\n &[data-collapsed='true'] {\n transform: translateY(-100%);\n transition: transform 0.5s;\n }\n &[data-collapsed='false'] {\n transform: translateY(0);\n transition: transform 0.5s;\n }\n\n .top-bar-header {\n line-height: normal;\n }\n\n &[data-header-type='home'] {\n z-index: ",";\n }\n\n &[data-header-type='popup'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-header-type='popup-sub-level'] {\n position: absolute;\n z-index: ",";\n }\n\n &[data-is-displayed='false'] {\n //display: none;\n visibility: hidden;\n }\n }\n\n .marry-baby {\n input {\n background: ",";\n border-radius: 16px;\n border: none;\n }\n max-width: 172px;\n }\n &[data-site-type='marryBaby'] {\n .close-btn {\n top: 16px;\n right: 16px;\n }\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.mbColors.lightPink}),u.mbUp,u.mbDown,jn,Fn,Yn,(function(n){return n.theme.mbColors.lightGray})),bo=m.div(Eo||(Eo=l(["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"],["\n display: flex;\n height: 100%;\n align-items: center;\n\n justify-content: space-between;\n padding: 0 2rem;\n height: 69px;\n "," {\n padding: 0 1rem;\n }\n\n "," {\n position: relative;\n height: 64px;\n background: white;\n gap: 1rem;\n }\n\n &[data-site-type='marryBaby'] {\n width: 100%;\n margin: 0 auto;\n padding: 0 16px;\n "," {\n max-width: 1064px;\n }\n }\n"])),u.pcDown,u.mbDown,u.tdUp),vo=m.div(To||(To=l(["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n gap: 24px;\n "," {\n gap: 16px;\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),u.pcDown),yo=m.div(ko||(ko=l([""],[""]))),wo=m.div(Ao||(Ao=l(["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n flex-shrink: 0.6;\n .hhgcomp-navigation-itemnav-headeritem {\n gap: 2px;\n "," {\n padding: 0 12px;\n }\n "," {\n padding: 0 6px;\n }\n "," {\n display: none;\n }\n a {\n text-decoration: none;\n }\n }\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"])),u.pcUp,u.pcDown,u.mbDown);m.div(Io||(Io=l(["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"],["\n .fake-search-input {\n pointer-events: none;\n input {\n line-height: 20px;\n padding-top: 10px;\n padding-bottom: 10px;\n }\n }\n"])));var _o,Eo,To,ko,Ao,Io,Oo,So,Lo,Co,Do,Ro=m.div(Oo||(Oo=l(["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"],["\n margin-left: 16px;\n display: flex;\n gap: 12px;\n align-items: center;\n flex-shrink: 0;\n "," {\n margin-left: 8px;\n gap: 8px;\n }\n "," {\n margin-left: 12px;\n gap: 10px;\n }\n"])),u.pcDown,u.mbDown),Po=m.div(So||(So=l(["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"],["\n display: flex;\n align-items: center;\n height: 100%;\n &[data-site-type='marryBaby'] {\n gap: 26px;\n }\n"]))),Bo=m.div(Lo||(Lo=l(["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"],["\n --header-z-index: 305;\n top: 0;\n z-index: var(--header-z-index);\n\n "," {\n width: 100vw;\n max-width: 100%;\n }\n --amp-site-wide-closed: 2px;\n\n -webkit-transform: translateZ(0);\n position: sticky;\n\n &.nav-open {\n margin-top: 64px;\n }\n\n &:not(.nav-open) {\n --amp-site-wide-closed: 66px;\n }\n pointer-events: none;\n > section * {\n pointer-events: auto;\n }\n"])),u.mbDown);m.div(Co||(Co=l(["\n display: flex;\n align-items: center;\n gap: 8px;\n"],["\n display: flex;\n align-items: center;\n gap: 8px;\n"]))),m.a(Do||(Do=l(["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"],["\n &[data-is-active='true'] {\n color: unset;\n }\n font-size: 14px;\n font-weight: 700;\n line-height: 22px;\n text-decoration: none;\n"])));export{Ut as $,et as A,tt as B,ot as C,pe as D,dt as E,lt as F,ue as G,q as H,rt as I,at as J,st as K,pt as L,ct as M,$n as N,St as O,Y as P,_t as Q,Et as R,_n as S,ce as T,ii as U,Ot as V,kt as W,At as X,Tt as Y,wt as Z,zt as _,me as a,Gt as a0,Nt as a1,ei as a2,hi as a3,Ri as a4,Ui as a5,Ni as a6,zi as a7,Bi as a8,Pi as a9,W as aA,Te as aB,ye as aC,re as aD,ve as aE,_e as aF,le as aG,ge as aH,We as aI,Ke as aJ,we as aK,de as aL,se as aM,Ie as aN,Ae as aO,rn as aP,nn as aQ,gn as aR,K as aS,bn as aT,Q as aU,ke as aV,Gi as aa,Yi as ab,Mi as ac,Ki as ad,Vi as ae,ji as af,Fi as ag,Hi as ah,Di as ai,Wi as aj,ho as ak,xo as al,fo as am,bo as an,vo as ao,yo as ap,wo as aq,Ro as ar,Po as as,Xe as at,Bo as au,mn as av,xn as aw,J as ax,Z as ay,Ye as az,V as b,tn as c,yn as d,fn as e,vn as f,En as g,Tn as h,kn as i,An as j,wn as k,In as l,On as m,Sn as n,Hn as o,Cn as p,Gn as q,Mn as r,Un as s,qe as t,Ze as u,$e as v,Qe as w,Je as x,nt as y,it as z};