@hhgtech/hhg-components 1.29.87 → 1.29.89

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 (459) hide show
  1. package/build/{LastPeriod-671d5143.js → LastPeriod-c8c46da3.js} +1 -1
  2. package/build/MobileBottomNavigationIcon-efacfc0c.js +193 -0
  3. package/build/{WhatsApp-07eb4e4a.js → WhatsApp-8a1d6d0c.js} +1 -1
  4. package/build/adapters.js +18 -16
  5. package/build/atoms.js +47 -45
  6. package/build/babyGrowth.js +82 -80
  7. package/build/cache.js +2 -2
  8. package/build/care.js +28 -25
  9. package/build/careBookingSearchBar.js +1594 -0
  10. package/build/careBookingSearchBarV2.js +1665 -0
  11. package/build/components.js +125 -115
  12. package/build/{constants-970e6cf6.js → constants-f5c5e2ae.js} +1 -1
  13. package/build/constants.js +3 -3
  14. package/build/constantsDomainLocales.js +1 -1
  15. package/build/constantsRiskScreener.js +2 -2
  16. package/build/constantsSite.js +2 -2
  17. package/build/{core-bcde5ba8.js → core-58a245c5.js} +1 -1
  18. package/build/{dataTransform-567bc0c2.js → dataTransform-9ec385e3.js} +1 -1
  19. package/build/ecom.js +4 -4
  20. package/build/editor-40386fe7.js +986 -0
  21. package/build/embeddedHeathToolCards_babyGrowth.js +22 -20
  22. package/build/embeddedHeathToolCards_babyPoop.js +18 -16
  23. package/build/embeddedHeathToolCards_babyVaccine.js +21 -19
  24. package/build/embeddedHeathToolCards_bmi_bmi.js +25 -23
  25. package/build/embeddedHeathToolCards_bmrBmr.js +25 -23
  26. package/build/embeddedHeathToolCards_dueDate_dueDate.js +21 -19
  27. package/build/embeddedHeathToolCards_ovulation_ovulation.js +21 -19
  28. package/build/embeddedHeathToolCards_pwg_pwg.js +26 -24
  29. package/build/embeddedHeathToolCards_targetHeartRate.js +27 -25
  30. package/build/esm/{LastPeriod-ebfcf053.js → LastPeriod-46d6c03f.js} +1 -1
  31. package/build/esm/MobileBottomNavigationIcon-ae6490d7.js +185 -0
  32. package/build/esm/{WhatsApp-c6c8eded.js → WhatsApp-ed8ce0f2.js} +1 -1
  33. package/build/esm/adapters.js +18 -16
  34. package/build/esm/atoms.js +44 -42
  35. package/build/esm/babyGrowth.js +82 -80
  36. package/build/esm/cache.js +2 -2
  37. package/build/esm/care.js +26 -23
  38. package/build/esm/careBookingSearchBar.js +1582 -0
  39. package/build/esm/careBookingSearchBarV2.js +1655 -0
  40. package/build/esm/components.js +93 -83
  41. package/build/esm/{constants-bdf5e358.js → constants-e9ebe043.js} +1 -1
  42. package/build/esm/constants.js +3 -3
  43. package/build/esm/constantsDomainLocales.js +1 -1
  44. package/build/esm/constantsRiskScreener.js +2 -2
  45. package/build/esm/constantsSite.js +2 -2
  46. package/build/esm/{core-b4f1131e.js → core-6d8629c2.js} +1 -1
  47. package/build/esm/{dataTransform-ad9d785b.js → dataTransform-2023858d.js} +2 -2
  48. package/build/esm/ecom.js +4 -4
  49. package/build/esm/editor-82c3d476.js +959 -0
  50. package/build/esm/embeddedHeathToolCards_babyGrowth.js +22 -20
  51. package/build/esm/embeddedHeathToolCards_babyPoop.js +18 -16
  52. package/build/esm/embeddedHeathToolCards_babyVaccine.js +21 -19
  53. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -23
  54. package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -23
  55. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +21 -19
  56. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +21 -19
  57. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -24
  58. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -25
  59. package/build/esm/{fixedBottomAdBlock-e5747eb3.js → fixedBottomAdBlock-2af1606f.js} +26 -662
  60. package/build/esm/footer.js +20 -18
  61. package/build/esm/gAssets.js +2 -2
  62. package/build/esm/healthToolsCardWrapper.js +17 -15
  63. package/build/esm/healthToolsForm.js +33 -31
  64. package/build/esm/hooks.js +15 -15
  65. package/build/esm/i18n.js +2 -2
  66. package/build/esm/i18nV2.js +2 -2
  67. package/build/esm/{index-9d2cc0b2.js → index-04ba5caa.js} +1 -1
  68. package/build/esm/{index-8f953b02.js → index-082a24ae.js} +12 -11
  69. package/build/esm/{index-46a2a5d7.js → index-1313a7ac.js} +12 -11
  70. package/build/esm/{index-1322446c.js → index-13783871.js} +2 -2
  71. package/build/esm/{index-3685677f.js → index-16a4f1c7.js} +16 -15
  72. package/build/esm/{index-cc650c45.js → index-19f27bd3.js} +2 -2
  73. package/build/esm/{index-7c6e33e0.js → index-1a2bc551.js} +2 -2
  74. package/build/esm/{index-029c478e.js → index-275c8526.js} +14 -13
  75. package/build/esm/{index-e7c62f10.js → index-277566f7.js} +1 -1
  76. package/build/esm/{index-240e2930.js → index-2ac50d8f.js} +15 -14
  77. package/build/esm/{index-0f6906bb.js → index-2c4a2d31.js} +1 -1
  78. package/build/esm/{index-69dd7596.js → index-32a968a1.js} +6 -6
  79. package/build/esm/{index-0025652b.js → index-346fd194.js} +21 -19
  80. package/build/esm/{index-d4941998.js → index-38b87b21.js} +12 -11
  81. package/build/esm/{index-27a9a555.js → index-46c22744.js} +6 -6
  82. package/build/esm/index-4cf37916.js +22 -0
  83. package/build/esm/{index-5407e81e.js → index-4d27d02e.js} +15 -14
  84. package/build/esm/{index-dbb0b265.js → index-52d04cc5.js} +7 -7
  85. package/build/esm/index-538ca8aa.js +860 -0
  86. package/build/esm/{index-691f32bb.js → index-57da0f13.js} +16 -88
  87. package/build/esm/{index-2449d246.js → index-5e17f985.js} +16 -15
  88. package/build/esm/{index-ffd3c918.js → index-605eed95.js} +35 -800
  89. package/build/esm/{index-b1022535.js → index-628c5e84.js} +2 -2
  90. package/build/esm/{index-0cc19c33.js → index-64b1cd5c.js} +1 -1
  91. package/build/esm/index-673fd5bd.js +1264 -0
  92. package/build/esm/{index-804dcc5a.js → index-70883b48.js} +17 -16
  93. package/build/esm/{index-32114d1a.js → index-71c8b83f.js} +3 -142
  94. package/build/esm/{index-1f077f71.js → index-72c269cf.js} +3 -3
  95. package/build/esm/index-7ad9db02.js +1030 -0
  96. package/build/esm/{index-394c352b.js → index-7ca4ec53.js} +15 -14
  97. package/build/esm/{index-f56ad865.js → index-7decdf27.js} +1 -1
  98. package/build/esm/index-7e95ba03.js +144 -0
  99. package/build/esm/{index-0dd98ba5.js → index-84b3ef3d.js} +3 -3
  100. package/build/esm/{index-4e0ef954.js → index-8b9c7b45.js} +3 -3
  101. package/build/esm/{index-b97f14ca.js → index-930b0a77.js} +16 -15
  102. package/build/esm/{index-79b8f3a0.js → index-93c8863d.js} +2 -2
  103. package/build/esm/{index-16ed17c9.js → index-949f771c.js} +6 -6
  104. package/build/esm/{index-22dbd9d2.js → index-99551970.js} +2 -2
  105. package/build/esm/{index-bf7b2785.js → index-9c268a93.js} +2 -2
  106. package/build/esm/{index-8801ddf9.js → index-9d7d3a53.js} +4 -4
  107. package/build/esm/{index-02019218.js → index-9e220aaa.js} +2 -2
  108. package/build/esm/{index-f4468b77.js → index-a424a33d.js} +3 -3
  109. package/build/esm/{index-b4866578.js → index-a54b6536.js} +14 -13
  110. package/build/esm/{index-53ca94ab.js → index-b09ced58.js} +1 -1
  111. package/build/esm/{index-b13c7add.js → index-b5ed732f.js} +5 -5
  112. package/build/esm/{index-68f3752c.js → index-b867d267.js} +1 -1
  113. package/build/esm/{index-d72f98d1.js → index-c4b04b5f.js} +1 -1
  114. package/build/esm/{index-7aa8728c.js → index-c5286b89.js} +12 -11
  115. package/build/esm/{index-151b9162.js → index-cbb45a5d.js} +2 -2
  116. package/build/esm/{index-2e4a2f44.js → index-d4dcfb68.js} +2 -2
  117. package/build/esm/{index-d7019532.js → index-dec46974.js} +20 -17
  118. package/build/esm/index-e19da15e.js +468 -0
  119. package/build/esm/{index-63825539.js → index-e1d35fec.js} +7 -6
  120. package/build/esm/{index-5eda6b48.js → index-e477c2a3.js} +23 -19
  121. package/build/esm/{index-d0d73bc9.js → index-ed292946.js} +2 -2
  122. package/build/esm/index-f3f06437.js +281 -0
  123. package/build/esm/index.js +118 -98
  124. package/build/esm/index.styles-25454e9c.js +62 -0
  125. package/build/esm/interfaces/types/Subot.d.ts +3 -3
  126. package/build/esm/{labelSorting-eaf1959d.js → labelSorting-27ecf45e.js} +4 -4
  127. package/build/esm/lead.js +22 -20
  128. package/build/esm/{logoIcon-cb9c1f10.js → logoIcon-ef6d9e4c.js} +2 -2
  129. package/build/esm/mantine.js +24 -22
  130. package/build/esm/misc.js +18 -18
  131. package/build/esm/miscGetDynamicHealthTool.js +7 -7
  132. package/build/esm/miscGetSocialList.js +12 -12
  133. package/build/esm/miscScreenSizeContext.js +1 -1
  134. package/build/esm/mobileBottomNavigation.js +19 -0
  135. package/build/esm/mobileBottomNavigationIcon.js +10 -0
  136. package/build/esm/molecules.js +71 -64
  137. package/build/esm/moleculesArticleCard.js +85 -0
  138. package/build/esm/moleculesArticleCardV2.js +171 -0
  139. package/build/esm/navigation.js +40 -35
  140. package/build/esm/navigationLogoutPopup.js +116 -0
  141. package/build/esm/navigationProfileButton.js +43 -0
  142. package/build/esm/{normalizeLink-c66d19ce.js → normalizeLink-d756e5e6.js} +1 -1
  143. package/build/esm/onboardingV2.js +27 -25
  144. package/build/esm/organisms.js +46 -41
  145. package/build/esm/post-86117110.js +267 -0
  146. package/build/esm/profileNavigation.js +441 -0
  147. package/build/esm/progressBar.js +250 -0
  148. package/build/esm/pwg.js +21 -19
  149. package/build/esm/{routing-f3629b7f.js → routing-b81b8f17.js} +1 -1
  150. package/build/esm/subot.js +29 -27
  151. package/build/esm/surveyOrPremiumBanner.js +30 -28
  152. package/build/esm/surveyQuestionCard.js +10 -10
  153. package/build/esm/{surveyThankyouCard-169d4956.js → surveyThankyouCard-1b30aa0b.js} +5 -5
  154. package/build/esm/together.js +53 -44
  155. package/build/esm/togetherApiUtils.js +4 -4
  156. package/build/esm/togetherAtoms.js +29 -26
  157. package/build/esm/togetherComponentGlobalContext.js +4 -4
  158. package/build/esm/togetherMolecules.js +56 -47
  159. package/build/esm/togetherMoleculesCardAuthor.js +41 -0
  160. package/build/esm/togetherMoleculesPostImagePreview.js +21 -0
  161. package/build/esm/togetherMoleculesProfileDetail.js +53 -0
  162. package/build/esm/togetherOrganisms.js +53 -44
  163. package/build/esm/togetherRichTextEditor.js +27 -0
  164. package/build/esm/togetherShareBox.js +305 -0
  165. package/build/esm/{treePopoverMenu-32a26245.js → treePopoverMenu-04ded0ef.js} +18 -17
  166. package/build/esm/types-3eb97d85.js +44 -0
  167. package/build/esm/types.js +2 -2
  168. package/build/esm/{useCategory-0995f0b4.js → useCategory-391ffab0.js} +5 -5
  169. package/build/esm/{useHealthToolCache-7387a56d.js → useHealthToolCache-931ab3ca.js} +1 -1
  170. package/build/esm/{useMantineLocale-7d4ef853.js → useMantineLocale-b29ca68b.js} +5 -5
  171. package/build/esm/{usePlacesAutocomplete-7f23b876.js → usePlacesAutocomplete-91226a4d.js} +1 -1
  172. package/build/esm/useTogetherAuthRequiredAction.js +4 -4
  173. package/build/esm/{useTranslations-12762455.js → useTranslations-b66d9f2b.js} +1 -1
  174. package/build/esm/utils-92e2bc22.js +206 -0
  175. package/build/esm/{utils-24afe0f1.js → utils-f4b925d7.js} +2 -2
  176. package/build/esm/{utils-aa5734af.js → utils-f873578b.js} +4 -4
  177. package/build/esm/vaccination.js +20 -18
  178. package/build/{fixedBottomAdBlock-4db856c1.js → fixedBottomAdBlock-605a8692.js} +49 -691
  179. package/build/footer.js +20 -18
  180. package/build/gAssets.js +2 -2
  181. package/build/healthToolsCardWrapper.js +17 -15
  182. package/build/healthToolsForm.js +33 -31
  183. package/build/hooks.js +15 -15
  184. package/build/i18n.js +1 -1
  185. package/build/i18nV2.js +1 -1
  186. package/build/{index-a91bff81.js → index-0afde39e.js} +2 -2
  187. package/build/{index-5d3563a4.js → index-0cb2de9d.js} +3 -3
  188. package/build/{index-922333dc.js → index-188e2316.js} +15 -14
  189. package/build/index-1b06e81f.js +151 -0
  190. package/build/{index-46a71da2.js → index-1cdccd4e.js} +2 -2
  191. package/build/index-27e50de1.js +478 -0
  192. package/build/{index-ad9d0b0a.js → index-32abfb15.js} +12 -11
  193. package/build/{index-82a0b931.js → index-36723718.js} +6 -6
  194. package/build/{index-ce1b7f76.js → index-36ba9947.js} +2 -2
  195. package/build/{index-c09c64b7.js → index-3c593ede.js} +6 -6
  196. package/build/{index-0450bf33.js → index-4bf6b5da.js} +24 -99
  197. package/build/{index-281daa83.js → index-4fd69136.js} +16 -15
  198. package/build/{index-4c15723a.js → index-526cee72.js} +6 -6
  199. package/build/{index-b64c981f.js → index-549b9e8c.js} +1 -1
  200. package/build/{index-5e984f33.js → index-5b52b076.js} +38 -34
  201. package/build/{index-776f2478.js → index-5dbd317c.js} +34 -33
  202. package/build/index-5dcd87b7.js +289 -0
  203. package/build/{index-169bae02.js → index-648aac83.js} +2 -2
  204. package/build/{index-34ca22f2.js → index-6b7b4292.js} +3 -3
  205. package/build/{index-743255db.js → index-6b95442c.js} +2 -2
  206. package/build/{index-a5526d77.js → index-6b9e8dda.js} +3 -3
  207. package/build/{index-e256aef8.js → index-767f9ac6.js} +2 -2
  208. package/build/{index-deec7e58.js → index-7ce45455.js} +16 -15
  209. package/build/{index-6223ea5f.js → index-81ff6094.js} +7 -7
  210. package/build/{index-0236dd90.js → index-86ecfc48.js} +3 -3
  211. package/build/{index-ddc36398.js → index-8a19ce1b.js} +96 -864
  212. package/build/{index-e3bbbf6e.js → index-8d9663db.js} +9 -8
  213. package/build/{index-ffc38f11.js → index-9151d357.js} +2 -2
  214. package/build/index-922020ed.js +1045 -0
  215. package/build/{index-ac40492f.js → index-a76596ef.js} +1 -1
  216. package/build/{index-0485f54b.js → index-a839c6ca.js} +3 -3
  217. package/build/{index-477ad803.js → index-a8705384.js} +1 -1
  218. package/build/{index-418220e9.js → index-aad249ab.js} +2 -2
  219. package/build/{index-d4801d2c.js → index-af48fea3.js} +5 -5
  220. package/build/{index-41b74c44.js → index-b04c5212.js} +16 -15
  221. package/build/{index-7072811b.js → index-b4fd3100.js} +1 -1
  222. package/build/{index-d903234f.js → index-be0a9d63.js} +17 -16
  223. package/build/{index-b502b7a7.js → index-be262a50.js} +2 -2
  224. package/build/index-becfec7a.js +1307 -0
  225. package/build/index-bf3796aa.js +870 -0
  226. package/build/{index-8a509409.js → index-cc4ce0c4.js} +1 -1
  227. package/build/{index-e6f93e28.js → index-cd0db938.js} +34 -31
  228. package/build/{index-e2ca51d6.js → index-d0610b0f.js} +14 -13
  229. package/build/{index-28f47f15.js → index-d393d57e.js} +1 -1
  230. package/build/{index-538200cd.js → index-d471ff2d.js} +1 -1
  231. package/build/{index-4e5179a2.js → index-d5d9ceb9.js} +15 -14
  232. package/build/{index-cd94cd77.js → index-de26b5d1.js} +12 -11
  233. package/build/{index-3efdbdaf.js → index-dec3abcf.js} +15 -14
  234. package/build/{index-b2757afe.js → index-e018af91.js} +31 -29
  235. package/build/index-e8dc7fdb.js +29 -0
  236. package/build/{index-a0ee5e9f.js → index-f30e56f1.js} +12 -11
  237. package/build/{index-b7e7f5d7.js → index-f6b32484.js} +12 -11
  238. package/build/{index-8e183dab.js → index-f91ed3be.js} +4 -4
  239. package/build/{index-38d090ba.js → index-faa2908c.js} +3 -143
  240. package/build/{index-212720b1.js → index-fbb369ff.js} +1 -1
  241. package/build/{index-3c06bcfd.js → index-fde11604.js} +2 -2
  242. package/build/index.js +182 -162
  243. package/build/index.styles-9031f6d6.js +65 -0
  244. package/build/interfaces/types/Subot.d.ts +3 -3
  245. package/build/{labelSorting-8542da52.js → labelSorting-11165c8e.js} +4 -4
  246. package/build/lead.js +22 -20
  247. package/build/{logoIcon-bd143b65.js → logoIcon-f3283bfd.js} +2 -2
  248. package/build/mantine.js +20 -18
  249. package/build/misc.js +18 -18
  250. package/build/miscGetDynamicHealthTool.js +7 -7
  251. package/build/miscGetSocialList.js +12 -12
  252. package/build/miscScreenSizeContext.js +1 -1
  253. package/build/mobileBottomNavigation.js +27 -0
  254. package/build/mobileBottomNavigationIcon.js +18 -0
  255. package/build/molecules.js +76 -69
  256. package/build/moleculesArticleCard.js +93 -0
  257. package/build/moleculesArticleCardV2.js +180 -0
  258. package/build/navigation.js +40 -35
  259. package/build/navigationLogoutPopup.js +125 -0
  260. package/build/navigationProfileButton.js +51 -0
  261. package/build/onboardingV2.js +29 -27
  262. package/build/organisms.js +49 -44
  263. package/build/post-0fec66f4.js +303 -0
  264. package/build/profileNavigation.js +450 -0
  265. package/build/progressBar.js +260 -0
  266. package/build/pwg.js +21 -19
  267. package/build/{routing-90dba95d.js → routing-7a9c8608.js} +1 -1
  268. package/build/subot.js +28 -26
  269. package/build/surveyOrPremiumBanner.js +30 -28
  270. package/build/surveyQuestionCard.js +10 -10
  271. package/build/{surveyThankyouCard-9aad36f8.js → surveyThankyouCard-db73c893.js} +5 -5
  272. package/build/together.js +77 -68
  273. package/build/togetherApiUtils.js +4 -4
  274. package/build/togetherAtoms.js +29 -26
  275. package/build/togetherComponentGlobalContext.js +4 -4
  276. package/build/togetherMolecules.js +79 -70
  277. package/build/togetherMoleculesCardAuthor.js +49 -0
  278. package/build/togetherMoleculesPostImagePreview.js +29 -0
  279. package/build/togetherMoleculesProfileDetail.js +70 -0
  280. package/build/togetherOrganisms.js +53 -44
  281. package/build/togetherRichTextEditor.js +36 -0
  282. package/build/togetherShareBox.js +314 -0
  283. package/build/{treePopoverMenu-3f7e6767.js → treePopoverMenu-61ebd05c.js} +18 -17
  284. package/build/types-57052089.js +52 -0
  285. package/build/types.js +2 -2
  286. package/build/{useCategory-a808e6a6.js → useCategory-d9f73b82.js} +5 -5
  287. package/build/{useHealthToolCache-42222cc2.js → useHealthToolCache-4b5bfb11.js} +1 -1
  288. package/build/{useMantineLocale-8df90961.js → useMantineLocale-cc272195.js} +5 -5
  289. package/build/{usePlacesAutocomplete-4e21e680.js → usePlacesAutocomplete-a0156f14.js} +1 -1
  290. package/build/useTogetherAuthRequiredAction.js +4 -4
  291. package/build/{useTranslations-6363932f.js → useTranslations-8a9fa84d.js} +1 -1
  292. package/build/{utils-87deb74b.js → utils-251b2841.js} +3 -3
  293. package/build/{utils-4058dee5.js → utils-c29214c6.js} +2 -2
  294. package/build/utils-f47b2d2d.js +229 -0
  295. package/build/vaccination.js +24 -22
  296. package/package.json +1 -1
  297. package/build/esm/index-43aaedbb.js +0 -5060
  298. package/build/esm/types-996bf08e.js +0 -3433
  299. package/build/index-05199dd8.js +0 -5123
  300. package/build/types-89c90eb3.js +0 -3447
  301. /package/build/{BMI_BOYS.percentile.monthly-00dc2939.js → BMI_BOYS.percentile.monthly-5f29289b.js} +0 -0
  302. /package/build/{BMI_BOYS.percentile.weekly-eebf395b.js → BMI_BOYS.percentile.weekly-53584232.js} +0 -0
  303. /package/build/{BMI_BOYS.percentile.yearly-fa98b4c9.js → BMI_BOYS.percentile.yearly-84aaf8fb.js} +0 -0
  304. /package/build/{BMI_BOYS.zscore.monthly-cc66463f.js → BMI_BOYS.zscore.monthly-76d7fd0e.js} +0 -0
  305. /package/build/{BMI_BOYS.zscore.weekly-e1c85879.js → BMI_BOYS.zscore.weekly-ed3d66f2.js} +0 -0
  306. /package/build/{BMI_BOYS.zscore.yearly-88d58724.js → BMI_BOYS.zscore.yearly-7e74f0e8.js} +0 -0
  307. /package/build/{BMI_GIRLS.percentile.monthly-82aff448.js → BMI_GIRLS.percentile.monthly-6973d8b0.js} +0 -0
  308. /package/build/{BMI_GIRLS.percentile.weekly-c5767e28.js → BMI_GIRLS.percentile.weekly-a873a4e6.js} +0 -0
  309. /package/build/{BMI_GIRLS.percentile.yearly-e45d9106.js → BMI_GIRLS.percentile.yearly-e86761bb.js} +0 -0
  310. /package/build/{BMI_GIRLS.zscore.monthly-120aa581.js → BMI_GIRLS.zscore.monthly-9a12fa84.js} +0 -0
  311. /package/build/{BMI_GIRLS.zscore.weekly-2f64347e.js → BMI_GIRLS.zscore.weekly-5936ed5b.js} +0 -0
  312. /package/build/{BMI_GIRLS.zscore.yearly-ed842624.js → BMI_GIRLS.zscore.yearly-d40d8356.js} +0 -0
  313. /package/build/{ChevronDown-89002c32.js → ChevronDown-a6775d48.js} +0 -0
  314. /package/build/{Close-5e8e15ce.js → Close-9fa735bc.js} +0 -0
  315. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-b1965149.js → HEAD CIRCUM_BOYS.percentile.monthly-873a839f.js} +0 -0
  316. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7c8df376.js → HEAD CIRCUM_BOYS.percentile.weekly-bbe3965d.js} +0 -0
  317. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-ebafd6df.js → HEAD CIRCUM_BOYS.percentile.yearly-645dfc78.js} +0 -0
  318. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b5a0cdd1.js → HEAD CIRCUM_BOYS.zscore.monthly-9fe137bf.js} +0 -0
  319. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4c32261f.js → HEAD CIRCUM_BOYS.zscore.weekly-2ccb15fb.js} +0 -0
  320. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-7642a6b6.js → HEAD CIRCUM_BOYS.zscore.yearly-48aed724.js} +0 -0
  321. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-37a5b7b2.js → HEAD CIRCUM_GIRLS.percentile.monthly-d99d6d30.js} +0 -0
  322. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-909278a6.js → HEAD CIRCUM_GIRLS.percentile.weekly-8a49b504.js} +0 -0
  323. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-bd7732f5.js → HEAD CIRCUM_GIRLS.percentile.yearly-d747b0cd.js} +0 -0
  324. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-5a1dc106.js → HEAD CIRCUM_GIRLS.zscore.monthly-8ef18721.js} +0 -0
  325. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-19531ac2.js → HEAD CIRCUM_GIRLS.zscore.weekly-853cca20.js} +0 -0
  326. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3e9b57e2.js → HEAD CIRCUM_GIRLS.zscore.yearly-4d5b2175.js} +0 -0
  327. /package/build/{HEIGHT_BOYS.percentile.monthly-75d3928f.js → HEIGHT_BOYS.percentile.monthly-070590b8.js} +0 -0
  328. /package/build/{HEIGHT_BOYS.percentile.weekly-49d0eac1.js → HEIGHT_BOYS.percentile.weekly-56741428.js} +0 -0
  329. /package/build/{HEIGHT_BOYS.percentile.yearly-ca043db8.js → HEIGHT_BOYS.percentile.yearly-9c81f767.js} +0 -0
  330. /package/build/{HEIGHT_BOYS.zscore.monthly-0ef5a0b0.js → HEIGHT_BOYS.zscore.monthly-729982c3.js} +0 -0
  331. /package/build/{HEIGHT_BOYS.zscore.weekly-897641f9.js → HEIGHT_BOYS.zscore.weekly-ddb206fb.js} +0 -0
  332. /package/build/{HEIGHT_BOYS.zscore.yearly-2f57ee05.js → HEIGHT_BOYS.zscore.yearly-5fc7ea6a.js} +0 -0
  333. /package/build/{HEIGHT_GIRLS.percentile.monthly-35a2bd2b.js → HEIGHT_GIRLS.percentile.monthly-8cbc8d18.js} +0 -0
  334. /package/build/{HEIGHT_GIRLS.percentile.weekly-6682008a.js → HEIGHT_GIRLS.percentile.weekly-7145e94f.js} +0 -0
  335. /package/build/{HEIGHT_GIRLS.percentile.yearly-1490cd28.js → HEIGHT_GIRLS.percentile.yearly-ab0e4f4e.js} +0 -0
  336. /package/build/{HEIGHT_GIRLS.zscore.monthly-ab0ba051.js → HEIGHT_GIRLS.zscore.monthly-b851b1d7.js} +0 -0
  337. /package/build/{HEIGHT_GIRLS.zscore.weekly-8cd489df.js → HEIGHT_GIRLS.zscore.weekly-98aef3cf.js} +0 -0
  338. /package/build/{HEIGHT_GIRLS.zscore.yearly-547aa680.js → HEIGHT_GIRLS.zscore.yearly-65d990f7.js} +0 -0
  339. /package/build/{Locale-126bf6bd.js → Locale-07aceee9.js} +0 -0
  340. /package/build/{Visible-7090d851.js → Visible-ddeaf4cc.js} +0 -0
  341. /package/build/{WEIGHT_BOYS.percentile.monthly-2c6444a6.js → WEIGHT_BOYS.percentile.monthly-0ce96694.js} +0 -0
  342. /package/build/{WEIGHT_BOYS.percentile.weekly-d43234b7.js → WEIGHT_BOYS.percentile.weekly-b5397f20.js} +0 -0
  343. /package/build/{WEIGHT_BOYS.percentile.yearly-361c6438.js → WEIGHT_BOYS.percentile.yearly-80cccd42.js} +0 -0
  344. /package/build/{WEIGHT_BOYS.zscore.monthly-1a56d8b2.js → WEIGHT_BOYS.zscore.monthly-12907f1f.js} +0 -0
  345. /package/build/{WEIGHT_BOYS.zscore.weekly-b1548cdf.js → WEIGHT_BOYS.zscore.weekly-a1af17eb.js} +0 -0
  346. /package/build/{WEIGHT_BOYS.zscore.yearly-17b0334c.js → WEIGHT_BOYS.zscore.yearly-2649ff58.js} +0 -0
  347. /package/build/{WEIGHT_GIRLS.percentile.monthly-64e137c6.js → WEIGHT_GIRLS.percentile.monthly-222d7201.js} +0 -0
  348. /package/build/{WEIGHT_GIRLS.percentile.weekly-98c2fb5d.js → WEIGHT_GIRLS.percentile.weekly-2997b740.js} +0 -0
  349. /package/build/{WEIGHT_GIRLS.percentile.yearly-533341f7.js → WEIGHT_GIRLS.percentile.yearly-3dc5928a.js} +0 -0
  350. /package/build/{WEIGHT_GIRLS.zscore.monthly-d17a0d64.js → WEIGHT_GIRLS.zscore.monthly-742b7617.js} +0 -0
  351. /package/build/{WEIGHT_GIRLS.zscore.weekly-36a412aa.js → WEIGHT_GIRLS.zscore.weekly-5ee1ca40.js} +0 -0
  352. /package/build/{WEIGHT_GIRLS.zscore.yearly-68f9f66b.js → WEIGHT_GIRLS.zscore.yearly-d6ca7d60.js} +0 -0
  353. /package/build/{animation-fce92928.js → animation-a1ed71d8.js} +0 -0
  354. /package/build/{cart-d32faa71.js → cart-7bc1b943.js} +0 -0
  355. /package/build/{constants-83e17a08.js → constants-4cad9f4d.js} +0 -0
  356. /package/build/{constants-ef1d9e50.js → constants-81b95117.js} +0 -0
  357. /package/build/{constants-6b5e2780.js → constants-c3b9c9a9.js} +0 -0
  358. /package/build/{dataTransform-64f3ba4c.js → dataTransform-867c472c.js} +0 -0
  359. /package/build/{doctor-2a2b78b0.js → doctor-dca6d1b2.js} +0 -0
  360. /package/build/esm/{BMI_BOYS.percentile.monthly-71f6615e.js → BMI_BOYS.percentile.monthly-2388d98f.js} +0 -0
  361. /package/build/esm/{BMI_BOYS.percentile.weekly-8729108b.js → BMI_BOYS.percentile.weekly-8ebe6955.js} +0 -0
  362. /package/build/esm/{BMI_BOYS.percentile.yearly-fe8dc27c.js → BMI_BOYS.percentile.yearly-3a97e95b.js} +0 -0
  363. /package/build/esm/{BMI_BOYS.zscore.monthly-aa14f52a.js → BMI_BOYS.zscore.monthly-f7572dcd.js} +0 -0
  364. /package/build/esm/{BMI_BOYS.zscore.weekly-6857bca0.js → BMI_BOYS.zscore.weekly-d6281906.js} +0 -0
  365. /package/build/esm/{BMI_BOYS.zscore.yearly-05894e8d.js → BMI_BOYS.zscore.yearly-fbebaaca.js} +0 -0
  366. /package/build/esm/{BMI_GIRLS.percentile.monthly-99639eee.js → BMI_GIRLS.percentile.monthly-a75c8880.js} +0 -0
  367. /package/build/esm/{BMI_GIRLS.percentile.weekly-241a8c86.js → BMI_GIRLS.percentile.weekly-652bc9af.js} +0 -0
  368. /package/build/esm/{BMI_GIRLS.percentile.yearly-a7d673ad.js → BMI_GIRLS.percentile.yearly-8bcb5a6e.js} +0 -0
  369. /package/build/esm/{BMI_GIRLS.zscore.monthly-ac552c64.js → BMI_GIRLS.zscore.monthly-ecbe2982.js} +0 -0
  370. /package/build/esm/{BMI_GIRLS.zscore.weekly-d3bd5cf8.js → BMI_GIRLS.zscore.weekly-3abed735.js} +0 -0
  371. /package/build/esm/{BMI_GIRLS.zscore.yearly-68c40e02.js → BMI_GIRLS.zscore.yearly-d88a34a0.js} +0 -0
  372. /package/build/esm/{ChevronDown-1c6ac70a.js → ChevronDown-dfd91883.js} +0 -0
  373. /package/build/esm/{Close-9dbbc4f5.js → Close-b8fc27b1.js} +0 -0
  374. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-e844f279.js → HEAD CIRCUM_BOYS.percentile.monthly-ff980a90.js} +0 -0
  375. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c0ea6fc4.js → HEAD CIRCUM_BOYS.percentile.weekly-eb86eac9.js} +0 -0
  376. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-58273474.js → HEAD CIRCUM_BOYS.percentile.yearly-27ed6504.js} +0 -0
  377. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-867569e0.js → HEAD CIRCUM_BOYS.zscore.monthly-0d345597.js} +0 -0
  378. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-1c2e6c46.js → HEAD CIRCUM_BOYS.zscore.weekly-c182ab46.js} +0 -0
  379. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-4d2f300f.js → HEAD CIRCUM_BOYS.zscore.yearly-d45dbce1.js} +0 -0
  380. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-5d75244f.js → HEAD CIRCUM_GIRLS.percentile.monthly-61919e45.js} +0 -0
  381. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-73bd9176.js → HEAD CIRCUM_GIRLS.percentile.weekly-51fa8f98.js} +0 -0
  382. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d1a55615.js → HEAD CIRCUM_GIRLS.percentile.yearly-c1fa6006.js} +0 -0
  383. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4d365a9f.js → HEAD CIRCUM_GIRLS.zscore.monthly-4dfc55d8.js} +0 -0
  384. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-41370dfb.js → HEAD CIRCUM_GIRLS.zscore.weekly-b21b5bf1.js} +0 -0
  385. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-06ac6807.js → HEAD CIRCUM_GIRLS.zscore.yearly-c42836fa.js} +0 -0
  386. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3b18440a.js → HEIGHT_BOYS.percentile.monthly-24ff8afa.js} +0 -0
  387. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-01a65af3.js → HEIGHT_BOYS.percentile.weekly-2be7b66e.js} +0 -0
  388. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-c8203619.js → HEIGHT_BOYS.percentile.yearly-ac02aa2d.js} +0 -0
  389. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a3319613.js → HEIGHT_BOYS.zscore.monthly-b43667dc.js} +0 -0
  390. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-981efa8b.js → HEIGHT_BOYS.zscore.weekly-abcfcf3a.js} +0 -0
  391. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a98e3bc6.js → HEIGHT_BOYS.zscore.yearly-71598c16.js} +0 -0
  392. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-6959773b.js → HEIGHT_GIRLS.percentile.monthly-7f9d679c.js} +0 -0
  393. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-128bb11e.js → HEIGHT_GIRLS.percentile.weekly-6ce1d4e7.js} +0 -0
  394. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-29a94e1c.js → HEIGHT_GIRLS.percentile.yearly-c398fd6b.js} +0 -0
  395. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-dd466c09.js → HEIGHT_GIRLS.zscore.monthly-8d33bc28.js} +0 -0
  396. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b602fae7.js → HEIGHT_GIRLS.zscore.weekly-eb44c302.js} +0 -0
  397. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-358063df.js → HEIGHT_GIRLS.zscore.yearly-10b4d1fe.js} +0 -0
  398. /package/build/esm/{Locale-f781df87.js → Locale-b86a7a92.js} +0 -0
  399. /package/build/esm/{Visible-46717d08.js → Visible-69da852f.js} +0 -0
  400. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-00996ab0.js → WEIGHT_BOYS.percentile.monthly-fd349fe7.js} +0 -0
  401. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c3c6f755.js → WEIGHT_BOYS.percentile.weekly-d5e52d60.js} +0 -0
  402. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c4571ef6.js → WEIGHT_BOYS.percentile.yearly-929119b3.js} +0 -0
  403. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-b5eaafd1.js → WEIGHT_BOYS.zscore.monthly-3f0f08cd.js} +0 -0
  404. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b058aef3.js → WEIGHT_BOYS.zscore.weekly-b9fd3298.js} +0 -0
  405. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4557bb07.js → WEIGHT_BOYS.zscore.yearly-9945948d.js} +0 -0
  406. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-094c8315.js → WEIGHT_GIRLS.percentile.monthly-1e83ae51.js} +0 -0
  407. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-59bd62f7.js → WEIGHT_GIRLS.percentile.weekly-c3531852.js} +0 -0
  408. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7064def2.js → WEIGHT_GIRLS.percentile.yearly-3c0040b0.js} +0 -0
  409. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-3e264c0b.js → WEIGHT_GIRLS.zscore.monthly-3baeda15.js} +0 -0
  410. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-8402d0e1.js → WEIGHT_GIRLS.zscore.weekly-2d8e6618.js} +0 -0
  411. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-58908f5c.js → WEIGHT_GIRLS.zscore.yearly-826f5bdd.js} +0 -0
  412. /package/build/esm/{animation-12f6a99a.js → animation-7207941a.js} +0 -0
  413. /package/build/esm/{cart-5cbf8fde.js → cart-4f482601.js} +0 -0
  414. /package/build/esm/{constants-c65d5e73.js → constants-0497b893.js} +0 -0
  415. /package/build/esm/{constants-7447b364.js → constants-af02be2a.js} +0 -0
  416. /package/build/esm/{constants-28f21bf7.js → constants-f7943ab2.js} +0 -0
  417. /package/build/esm/{dataTransform-4564c01a.js → dataTransform-610e61bf.js} +0 -0
  418. /package/build/esm/{doctor-a6dcb5b0.js → doctor-63e09ada.js} +0 -0
  419. /package/build/esm/{index-d1c6a5eb.js → index-20192854.js} +0 -0
  420. /package/build/esm/{index-3dfef0e2.js → index-20199246.js} +0 -0
  421. /package/build/esm/{index-7149c324.js → index-5364f2db.js} +0 -0
  422. /package/build/esm/{index-9d1a8bc8.js → index-56d0ac47.js} +0 -0
  423. /package/build/esm/{index-e2a19de9.js → index-9f076f64.js} +0 -0
  424. /package/build/esm/{index-31ca33d1.js → index-a2506e52.js} +0 -0
  425. /package/build/esm/{index-b503d8ca.js → index-c130afdc.js} +0 -0
  426. /package/build/esm/{index-5bd25778.js → index-c9467e39.js} +0 -0
  427. /package/build/esm/{localizeNumberFormat-fe248dc9.js → localizeNumberFormat-3bf28240.js} +0 -0
  428. /package/build/esm/{number-59fe2c76.js → number-d26abebe.js} +0 -0
  429. /package/build/esm/{other-8082eeb8.js → other-08d0b30e.js} +0 -0
  430. /package/build/esm/{paths-a31c249e.js → paths-ce59b252.js} +0 -0
  431. /package/build/esm/{translationsContext-f05845a3.js → translationsContext-8afb0ce3.js} +0 -0
  432. /package/build/esm/{tslib.es6-2813a841.js → tslib.es6-e0840efa.js} +0 -0
  433. /package/build/esm/{types-e1b0b130.js → types-41242882.js} +0 -0
  434. /package/build/esm/{useIsInit-6417c32d.js → useIsInit-f59c6bd2.js} +0 -0
  435. /package/build/esm/{useOutsideClick-cabe5b52.js → useOutsideClick-12815e56.js} +0 -0
  436. /package/build/esm/{useScrollbarSize-93f9665c.js → useScrollbarSize-431cf33c.js} +0 -0
  437. /package/build/esm/{useUniqueId-0c237f04.js → useUniqueId-8f710187.js} +0 -0
  438. /package/build/esm/{utils-5ac430a2.js → utils-8a1f05c9.js} +0 -0
  439. /package/build/{index-9a3d05f1.js → index-017f99b2.js} +0 -0
  440. /package/build/{index-ddd1ae54.js → index-1a6a94cd.js} +0 -0
  441. /package/build/{index-126368b4.js → index-668f591b.js} +0 -0
  442. /package/build/{index-eae45243.js → index-70abc2ac.js} +0 -0
  443. /package/build/{index-1fab78b5.js → index-c6b0831a.js} +0 -0
  444. /package/build/{index-d0ba8956.js → index-ce2d2850.js} +0 -0
  445. /package/build/{index-31ba7c80.js → index-e3e72aed.js} +0 -0
  446. /package/build/{index-b895e598.js → index-f70c0edf.js} +0 -0
  447. /package/build/{localizeNumberFormat-52a8a959.js → localizeNumberFormat-30e7f015.js} +0 -0
  448. /package/build/{normalizeLink-8a458cb4.js → normalizeLink-c1b2b407.js} +0 -0
  449. /package/build/{number-8f639a87.js → number-20d56f69.js} +0 -0
  450. /package/build/{other-fcf0cbba.js → other-eedaf6ca.js} +0 -0
  451. /package/build/{paths-822d5ab1.js → paths-4c182009.js} +0 -0
  452. /package/build/{translationsContext-1fe0412c.js → translationsContext-cd046df4.js} +0 -0
  453. /package/build/{tslib.es6-d6f7eba3.js → tslib.es6-f3c387c0.js} +0 -0
  454. /package/build/{types-7b239cb4.js → types-2614ec58.js} +0 -0
  455. /package/build/{useIsInit-3c23a980.js → useIsInit-e56642e4.js} +0 -0
  456. /package/build/{useOutsideClick-dcf05d21.js → useOutsideClick-f18dfe3f.js} +0 -0
  457. /package/build/{useScrollbarSize-e144fad0.js → useScrollbarSize-4aaa4dd1.js} +0 -0
  458. /package/build/{useUniqueId-47d33d64.js → useUniqueId-621ec272.js} +0 -0
  459. /package/build/{utils-03c7b063.js → utils-ae9740c0.js} +0 -0
@@ -1,51 +1,48 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('./tslib.es6-d6f7eba3.js');
3
+ var tslib_es6 = require('./tslib.es6-f3c387c0.js');
4
4
  var React = require('react');
5
- var index$9 = require('./index-34ca22f2.js');
6
- var index$3 = require('./index-169bae02.js');
7
- var normalizeLink = require('./normalizeLink-8a458cb4.js');
8
- var routing = require('./routing-90dba95d.js');
9
- var dataTransform = require('./dataTransform-567bc0c2.js');
10
- var index$c = require('./index-4c15723a.js');
11
- var useTranslations = require('./useTranslations-6363932f.js');
5
+ var index$7 = require('./index-6b7b4292.js');
6
+ var index$2 = require('./index-648aac83.js');
7
+ var normalizeLink = require('./normalizeLink-c1b2b407.js');
8
+ var routing = require('./routing-7a9c8608.js');
9
+ var dataTransform = require('./dataTransform-9ec385e3.js');
10
+ var index$b = require('./index-526cee72.js');
11
+ var useTranslations = require('./useTranslations-8a9fa84d.js');
12
12
  var throttle = require('lodash/throttle');
13
13
  var core = require('@mantine/core');
14
- var index$2 = require('./index-0450bf33.js');
14
+ var index$4 = require('./index-4bf6b5da.js');
15
15
  require('@mantine/dates');
16
- require('./index-538200cd.js');
17
- var index$1 = require('./index-ddd1ae54.js');
18
- require('./useMantineLocale-8df90961.js');
19
- var index = require('./index-743255db.js');
20
- var index$6 = require('./index-b64c981f.js');
21
- require('./translationsContext-1fe0412c.js');
16
+ require('./index-d471ff2d.js');
17
+ var index$3 = require('./index-1a6a94cd.js');
18
+ require('./useMantineLocale-cc272195.js');
19
+ var index = require('./index-6b95442c.js');
20
+ var index$a = require('./index-549b9e8c.js');
21
+ require('./index.styles-9031f6d6.js');
22
+ require('./translationsContext-cd046df4.js');
22
23
  var formatString = require('string-format');
23
24
  require('@mantine/hooks');
24
- var utils = require('./utils-03c7b063.js');
25
- require('./other-fcf0cbba.js');
26
- var constants = require('./constants-970e6cf6.js');
25
+ var utils = require('./utils-ae9740c0.js');
26
+ require('./other-eedaf6ca.js');
27
+ var constants = require('./constants-f5c5e2ae.js');
27
28
  var styled = require('@emotion/styled');
28
- var core$1 = require('@hhgtech/icons/core');
29
+ var navigationProfileButton = require('./index-5dcd87b7.js');
30
+ var index$1 = require('./index-aad249ab.js');
31
+ var togetherComponentGlobalContext = require('./utils-251b2841.js');
32
+ var constantsDomainLocales = require('./constantsDomainLocales.js');
33
+ var constants$1 = require('./constants-c3b9c9a9.js');
29
34
  var miscTheme = require('./miscTheme.js');
35
+ var index$6 = require('./index-9151d357.js');
36
+ var index$5 = require('./index-cc4ce0c4.js');
37
+ var useIsInit = require('./useIsInit-e56642e4.js');
30
38
  var miscDefaultClassWrapper = require('./miscDefaultClassWrapper.js');
31
- var ChevronDown = require('./ChevronDown-89002c32.js');
32
- var react = require('@emotion/react');
33
- var index$5 = require('./index-418220e9.js');
34
- var index$4 = require('./index-477ad803.js');
35
- var Locale = require('./Locale-126bf6bd.js');
36
- var togetherComponentGlobalContext = require('./utils-87deb74b.js');
37
- var constantsDomainLocales = require('./constantsDomainLocales.js');
38
- var constants$1 = require('./constants-6b5e2780.js');
39
- var index$8 = require('./index-ffc38f11.js');
40
- var index$7 = require('./index-8a509409.js');
41
- var useIsInit = require('./useIsInit-3c23a980.js');
42
39
  var dayjs = require('dayjs');
43
40
  var relativeTime = require('dayjs/plugin/relativeTime');
44
- var index$a = require('./index-b502b7a7.js');
41
+ var index$8 = require('./index-be262a50.js');
45
42
  var other = require('@hhgtech/icons/other');
46
- var index$b = require('./index-1fab78b5.js');
43
+ var index$9 = require('./index-c6b0831a.js');
47
44
  var debounce = require('lodash/debounce');
48
- var core$2 = require('./core-bcde5ba8.js');
45
+ var core$1 = require('./core-58a245c5.js');
49
46
 
50
47
  function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
51
48
 
@@ -121,776 +118,14 @@ const DisplayWrapper = ({ forceDisplay, mediaQueryKey, children, className, styl
121
118
  return (React__default["default"].createElement(StyledDisplayWrapper, { lowerBound: forceDisplay ? 0 : lowerBoundValue, upperBound: forceDisplay ? 0 : upperBoundValue, className: className, style: style }, children));
122
119
  };
123
120
 
124
- const useCSSFocusPopupHelper = (configs) => {
125
- const { allowBgScroll } = configs || {};
126
- const ref = React.useRef();
127
- return {
128
- containerRef: ref,
129
- onContainerFocus: () => {
130
- if (!allowBgScroll)
131
- document.documentElement.style.overflow = 'hidden';
132
- },
133
- onContainerBlur: () => {
134
- if (!allowBgScroll)
135
- document.documentElement.style.overflow = '';
136
- },
137
- onButtonMouseDown: (e) => {
138
- // this close popup when click, run after REact init
139
- if (ref.current &&
140
- (document.activeElement === ref.current ||
141
- ref.current.contains(document.activeElement))) {
142
- ref.current.blur();
143
- document.activeElement.blur();
144
- e.preventDefault();
145
- }
146
- },
147
- onClose: () => {
148
- if (ref.current &&
149
- (document.activeElement === ref.current ||
150
- ref.current.contains(document.activeElement))) {
151
- ref.current.blur();
152
- document.activeElement.blur();
153
- }
154
- },
155
- };
156
- };
157
-
158
- const StyledPopup$1 = miscDefaultClassWrapper.setDefaultClass(styled__default["default"].div `
159
- position: absolute;
160
- right: 0;
161
- transition: all 0.5s ease-in-out;
162
- overflow-y: auto;
163
-
164
- &[data-open='true'] {
165
- z-index: 200;
166
- top: 120%;
167
- opacity: 1;
168
- visibility: visible;
169
- }
170
-
171
- &[data-open='false'] {
172
- display: none;
173
- }
174
-
175
- .popup-content {
176
- z-index: 111;
177
- height: 100%;
178
- border: 1px solid #0000001a;
179
- border-radius: 16px;
180
- border-top-left-radius: 0;
181
- border-top-right-radius: 0;
182
- }
183
-
184
- /* min-height: 415px; */
185
- ${utils.MediaQueries.mbUp} {
186
- width: 320px;
187
- }
188
- ${utils.MediaQueries.mbDown} {
189
- position: fixed;
190
- left: 0;
191
- width: 100%;
192
- padding-bottom: 70px;
193
- }
194
- `, 'hhgcomp-navprofilebutton-popup');
195
- const StyledPopupWrapper = miscDefaultClassWrapper.setDefaultClass(styled__default["default"].div `
196
- position: fixed;
197
- z-index: 150;
198
- top: var(--header-bottom, 56px);
199
- left: 0;
200
- width: 100%;
201
- height: 100%;
202
- align-items: center;
203
-
204
- ${utils.MediaQueries.mbUp} {
205
- background-color: transparent;
206
- &[data-type='welcome'] {
207
- background: rgba(38, 38, 38, 0.3);
208
- }
209
- &[data-type='due-date'] {
210
- background: rgba(38, 38, 38, 0.3);
211
- }
212
- }
213
-
214
- ${utils.MediaQueries.mbDown} {
215
- background: rgba(38, 38, 38, 0.3);
216
- }
217
-
218
- &[data-type='welcome'] {
219
- top: 0;
220
- }
221
-
222
- &[data-open='false'] {
223
- display: none;
224
- }
225
- `, 'hhgcomp-navprofilebutton-popupwrapper');
226
- const StyledAvatar = styled__default["default"].div `
227
- width: 36px;
228
- height: 36px;
229
- cursor: pointer;
230
-
231
- img {
232
- border-radius: 50%;
233
- }
234
-
235
- .avatar {
236
- width: 36px;
237
- height: 36px;
238
- object-fit: cover;
239
- }
240
-
241
- .avatar-default {
242
- display: flex;
243
- align-items: center;
244
- justify-content: center;
245
- background-color: ${miscTheme.theme.colors.secondaryBase};
246
- border-radius: 50%;
247
- color: white;
248
- font-size: 20px;
249
- font-weight: bold;
250
- }
251
- `;
252
- const StyledImageWrapper$1 = styled__default["default"].div `
253
- display: inline-flex;
254
- position: relative;
255
- width: 36px;
256
- height: 36px;
257
- display: flex;
258
- align-items: center;
259
- justify-content: center;
260
- text-decoration: none;
261
- flex-shrink: 0;
262
- cursor: pointer;
263
-
264
- .user-close-icon {
265
- display: none;
266
- }
267
- &:focus-within {
268
- .user-close-icon {
269
- display: block;
270
- }
271
- .user-avatar {
272
- display: none;
273
- }
274
- ${StyledPopup$1.classSelector} {
275
- z-index: 200;
276
- top: 120%;
277
- opacity: 1;
278
- visibility: visible;
279
- display: initial;
280
- ${utils.MediaQueries.mbDown} {
281
- top: 100%;
282
- }
283
- }
284
- ${StyledPopupWrapper.classSelector} {
285
- display: initial;
286
- }
287
- }
288
- `;
289
- const StyledLoggedOutAnchor = styled__default["default"].a `
290
- display: inline-flex;
291
- .login-btn[data-color='tertiary'][data-size='md'] {
292
- padding-left: 12px;
293
- padding-right: 12px;
294
- }
295
- .mobile-only {
296
- ${utils.MediaQueries.mbUp} {
297
- display: none;
298
- }
299
- }
300
- .login-btn {
301
- display: none;
302
- ${utils.MediaQueries.mbUp} {
303
- display: block;
304
- }
305
- }
306
- `;
307
-
308
- const NavBookingIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
309
- React__default["default"].createElement("path", { d: "M2.5 6.5a3.2 3.2 0 0 1 3.2-3.2h7.9a3.2 3.2 0 0 1 3.19 3.2v4.72a3.2 3.2 0 0 1-3.2 3.2H5.7a3.2 3.2 0 0 1-3.19-3.2V6.49Z", fill: "#E3F2FF" }),
310
- React__default["default"].createElement("path", { d: "M2.5 5.68A2.38 2.38 0 0 1 4.88 3.3h9.52a2.38 2.38 0 0 1 2.39 2.38z", fill: "#2D87F3" }),
311
- React__default["default"].createElement("path", { d: "M13.6 2.5h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65M5.27 4.86h.03c.36 0 .65-.3.65-.65V3.15a.65.65 0 0 0-.65-.65h-.03c-.36 0-.65.3-.65.65V4.2c0 .36.3.65.65.65Z", fill: "#2743AD" }),
312
- React__default["default"].createElement("path", { d: "M5.56 8.17h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.7 0h-.5a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m2.87 0h-.49a.4.4 0 0 0-.4.4v.59c0 .22.18.4.4.4h.49a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.41m-8.3 2.52h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4m2.7 0h-.5a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4m2.7 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Zm2.87 0h-.49a.4.4 0 0 0-.4.4v.58c0 .23.18.4.4.4h.5a.4.4 0 0 0 .4-.4v-.58a.4.4 0 0 0-.4-.4Z", fill: "#2D87F3" }),
313
- React__default["default"].createElement("path", { d: "M16 16.8a3.17 3.17 0 1 0 0-6.36 3.17 3.17 0 0 0 0 6.35Z", fill: "#FE921D" }),
314
- React__default["default"].createElement("path", { d: "M15.78 13.62v-1.36a.21.21 0 0 1 .42 0v1.26l.48.4a.21.21 0 0 1-.01.33.21.21 0 0 1-.26-.01l-.55-.46-.02-.01a.2.2 0 0 1-.06-.15", fill: "#fff" })));
315
-
316
- const NavCommunityIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
317
- React__default["default"].createElement("path", { d: "M7.06 4.97h-2.3a3.12 3.12 0 0 0-3.1 3.1v.43a3.12 3.12 0 0 0 3.1 3.1h1.39s1.47 1.11 1.5.97c.03-.22-.23-.99-.23-.99a3.13 3.13 0 0 0 2.72-3.09v-.41a3.12 3.12 0 0 0-3.08-3.11m-2.7 3.55a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46m1.35.4a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .65Zm1.57-.05", fill: "#2D87F3" }),
318
- React__default["default"].createElement("path", { d: "M12.88 9.52a3.53 3.53 0 0 0-1.35 6.8s-.23 1.03-.2 1.25c.03.14 1.55-.99 1.55-.99a3.53 3.53 0 0 0 0-7.06m-1.33 4.24a.48.48 0 1 1 0-.97.48.48 0 0 1 0 .97m1.58.04a.33.33 0 1 1 0-.66.33.33 0 0 1 0 .66m1.34-.39a.23.23 0 1 1 0-.46.23.23 0 0 1 0 .46", fill: "#FFB521" }),
319
- React__default["default"].createElement("path", { d: "M16.45 1.67h-3.87a1.88 1.88 0 0 0-1.88 2.06l.22 2.29a1.88 1.88 0 0 0 1.73 1.7s-.17.94-.14 1.16c.02.14 1.66-1.13 1.66-1.13l1.92-.03a1.88 1.88 0 0 0 1.86-1.59l.36-2.29a1.88 1.88 0 0 0-1.86-2.17M13.1 5.23a.48.48 0 1 1 .34-.14c-.1.1-.22.14-.34.14m1.57.05a.33.33 0 1 1 .23-.1.33.33 0 0 1-.23.1m1.34-.4a.23.23 0 1 1 .1-.01.2.2 0 0 1-.1.02Z", fill: "#91CAFF" })));
320
-
321
- const NavDotIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
322
- React__default["default"].createElement("rect", { x: "8.333", y: "8.333", width: "3.333", height: "3.333", rx: "1.667", fill: "#2D87F3" })));
323
-
324
- const NavEshopIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
325
- React__default["default"].createElement("path", { d: "m3.18 7.06 1.6 1.6 4.33-4.69a.72.72 0 0 0-.03-.99l-.22-.22a.72.72 0 0 0-.99-.02zm13.64 0-1.6 1.6-4.33-4.69a.72.72 0 0 1 .02-.99l.23-.22a.72.72 0 0 1 .99-.02z", fill: "#2743AD" }),
326
- React__default["default"].createElement("path", { d: "M15.04 16.7H4.9a.78.78 0 0 1-.77-.7l-.7-6.67h13.09l-.7 6.67a.78.78 0 0 1-.78.7", fill: "#2D87F3" }),
327
- React__default["default"].createElement("path", { d: "M6.23 15.7a.23.23 0 0 1-.23-.22l-.3-4.46a.23.23 0 1 1 .47-.04l.3 4.47a.23.23 0 0 1-.22.25zm2.39 0a.23.23 0 0 1-.23-.23L8.3 11a.23.23 0 1 1 .47 0l.07 4.46a.23.23 0 0 1-.22.24h-.01Zm5.15 0h-.02a.23.23 0 0 1-.2-.16.2.2 0 0 1-.02-.09l.3-4.47a.24.24 0 0 1 .25-.22.23.23 0 0 1 .22.26l-.3 4.46a.23.23 0 0 1-.23.22m-2.39 0a.23.23 0 0 1-.23-.23l.07-4.47a.24.24 0 0 1 .24-.23.23.23 0 0 1 .23.23l-.08 4.47a.23.23 0 0 1-.23.23", fill: "#2743AD" }),
328
- React__default["default"].createElement("path", { d: "M16.04 18.12a2.01 2.01 0 1 0 0-4.03 2.01 2.01 0 0 0 0 4.03", fill: "#FE921D" }),
329
- React__default["default"].createElement("path", { d: "M16.97 15.87h-.7v-.7a.23.23 0 0 0-.46 0v.7h-.7a.23.23 0 1 0 0 .47h.7v.69a.23.23 0 1 0 .47 0v-.7h.69a.23.23 0 1 0 0-.46", fill: "#fff" }),
330
- React__default["default"].createElement("path", { d: "M16.58 9.48H3.42a.8.8 0 0 1-.78-.7l-.13-1.1a.8.8 0 0 1 .78-.88h13.42a.8.8 0 0 1 .78.88l-.13 1.1a.8.8 0 0 1-.78.7", fill: "#BCDEFF" })));
331
-
332
- const NavHelpIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
333
- React__default["default"].createElement("path", { d: "M10 1.667c-4.595 0-8.333 3.738-8.333 8.333 0 4.595 3.738 8.333 8.333 8.333 4.595 0 8.333-3.738 8.333-8.333 0-4.595-3.738-8.333-8.333-8.333Zm0 13.194a.695.695 0 1 1 0-1.39.695.695 0 0 1 0 1.39Zm1.1-4.415a.698.698 0 0 0-.405.631v.312a.694.694 0 1 1-1.39 0v-.312c0-.81.477-1.553 1.213-1.893.707-.326 1.218-1.19 1.218-1.615 0-.956-.778-1.736-1.736-1.736s-1.736.78-1.736 1.736a.694.694 0 1 1-1.389 0A3.129 3.129 0 0 1 10 4.444a3.129 3.129 0 0 1 3.125 3.125c0 .939-.814 2.318-2.026 2.877Z", fill: "#FF6F4D" })));
334
-
335
- const NavLogOutIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
336
- React__default["default"].createElement("path", { d: "M11.116 1.72 5.488.85a1.898 1.898 0 0 0-2.155 1.856v14.588a1.898 1.898 0 0 0 2.158 1.855l5.625-.869a1.865 1.865 0 0 0 1.592-1.855V3.575a1.87 1.87 0 0 0-1.592-1.855", fill: "#2D87F3" }),
337
- React__default["default"].createElement("path", { d: "M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471", fill: "#FF6F4D" }),
338
- React__default["default"].createElement("path", { d: "M17.642 9.584a.6.6 0 0 1-.232.472l-1.964 1.518a.446.446 0 0 1-.719-.353v-.51l-2.118-.01a.225.225 0 0 1-.223-.225v-1.8a.225.225 0 0 1 .224-.225l2.12.002-.004-.506a.446.446 0 0 1 .719-.354l1.965 1.52a.6.6 0 0 1 .232.471m-7.603-.908v1.802c0 .124.1.225.224.225h1.257c.124 0 .225-.1.225-.225V8.676c0-.124-.1-.224-.225-.224h-1.257c-.124 0-.224.1-.224.224m-.673 1.809a.224.224 0 0 1-.225.225h-.407a.61.61 0 0 1-.609-.61V9.069a.61.61 0 0 1 .61-.61h.406a.224.224 0 0 1 .225.225z", fill: "#FF6F4D" })));
339
-
340
- const NavMyHealthIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
341
- React__default["default"].createElement("path", { d: "M6.114 3.333a4.64 4.64 0 0 1 3.565 1.708.412.412 0 0 0 .642 0 4.64 4.64 0 0 1 3.565-1.708c2.646 0 4.447 2.302 4.447 5.142 0 1.698-.904 4.446-2.675 6.102-2.522 2.358-4.665 2.965-5.392 3.11a1.3 1.3 0 0 1-.53 0c-.728-.146-2.871-.752-5.393-3.11-1.772-1.656-2.676-4.404-2.676-6.102 0-2.84 1.801-5.142 4.447-5.142", fill: "#FF6F4D" }),
342
- React__default["default"].createElement("path", { d: "M13.298 11.226v-.829a1.205 1.205 0 0 0-1.202-1.204h-.208a.26.26 0 0 1-.261-.259v-.208a1.205 1.205 0 0 0-1.201-1.204h-.832A1.205 1.205 0 0 0 8.39 8.726v.205a.26.26 0 0 1-.259.261h-.207a1.2 1.2 0 0 0-1.202 1.202v.834a1.204 1.204 0 0 0 1.202 1.201h.207a.26.26 0 0 1 .259.262v.205A1.205 1.205 0 0 0 9.594 14.1h.832a1.204 1.204 0 0 0 1.201-1.204v-.208a.26.26 0 0 1 .261-.258h.208a1.205 1.205 0 0 0 1.202-1.204", fill: "#fff" })));
343
-
344
- const NavSaveIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
345
- React__default["default"].createElement("path", { d: "M4.767 17.236a1.36 1.36 0 0 0 1.256.188l4.097-1.397a.37.37 0 0 1 .28 0l4.097 1.397q.22.071.45.075c.29.002.573-.09.807-.263a1.43 1.43 0 0 0 .6-1.171V3.935A1.417 1.417 0 0 0 14.946 2.5H5.573a1.416 1.416 0 0 0-1.406 1.434v12.13a1.43 1.43 0 0 0 .6 1.172", fill: "#00CB8A" })));
346
-
347
- const NavSettingsIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
348
- React__default["default"].createElement("path", { d: "M17.339 8.075a2.177 2.177 0 0 1-1.717-2.944 1.02 1.02 0 0 0-.305-1.15 8.2 8.2 0 0 0-2.445-1.417 1.03 1.03 0 0 0-1.16.323 2.173 2.173 0 0 1-3.423 0 1.03 1.03 0 0 0-1.161-.323A8.2 8.2 0 0 0 4.85 3.842a1.03 1.03 0 0 0-.322 1.183 2.167 2.167 0 0 1-1.806 2.978 1.03 1.03 0 0 0-.9.828 8 8 0 0 0-.05 2.861 1.03 1.03 0 0 0 .906.861 2.166 2.166 0 0 1 1.767 3.061 1.01 1.01 0 0 0 .283 1.211A8.2 8.2 0 0 0 7.15 18.22q.17.059.35.061a1.02 1.02 0 0 0 .833-.433 2.15 2.15 0 0 1 1.778-.934 2.18 2.18 0 0 1 1.745.878 1.02 1.02 0 0 0 1.2.339 8.3 8.3 0 0 0 2.222-1.328 1.03 1.03 0 0 0 .3-1.172 2.167 2.167 0 0 1 1.739-2.995 1.03 1.03 0 0 0 .872-.844 8 8 0 0 0 .144-1.405q0-.749-.138-1.484a1.02 1.02 0 0 0-.856-.828m-4.561 2.312a2.778 2.778 0 1 1-5.556 0 2.778 2.778 0 0 1 5.556 0", fill: "#2D87F3" })));
349
-
350
- const NavUserIcon = (props) => (React__default["default"].createElement("svg", Object.assign({ width: "20", height: "20", viewBox: "0 0 20 20", fill: "none" }, props),
351
- React__default["default"].createElement("path", { d: "M10 19.167A9.167 9.167 0 1 0 10 .833a9.167 9.167 0 0 0 0 18.334", fill: "#BCDEFF" }),
352
- React__default["default"].createElement("path", { d: "M17.356 15.463a9.188 9.188 0 0 0-14.716-.005 9.155 9.155 0 0 0 14.716.005", fill: "#2D87F3" }),
353
- React__default["default"].createElement("path", { d: "M10 10.591a3.548 3.548 0 1 0 0-7.096 3.548 3.548 0 0 0 0 7.096", fill: "#2D87F3" })));
354
-
355
- const StyledNavMenu = styled__default["default"].div `
356
- padding: 16px;
357
- border-radius: 16px;
358
- background-color: white;
359
- hr {
360
- border-color: ${miscTheme.theme.colors.neutral100};
361
- border-bottom-width: 0px;
362
- border-style: solid;
363
- }
364
- .profile-nav-item-group {
365
- background-color: white;
366
- border-radius: 8px;
367
- }
368
- `;
369
- const StyledNavMenuItem = styled__default["default"].div `
370
- display: block;
371
- border: 1px solid transparent;
372
- transition: all 300ms linear;
373
- cursor: pointer;
374
- position: relative;
375
-
376
- ${(props) => props.hasSubmenu &&
377
- react.css `
378
- cursor: pointer;
379
- `}
380
-
381
- &[data-is-open='true'] {
382
- & + div {
383
- margin-top: 8px;
384
- }
385
- }
386
-
387
- border-left-width: 0;
388
- border-right-width: 0;
389
- &[data-is-open='true'] {
390
- & + div {
391
- margin-top: 0;
392
- }
393
- .nav-menu-item:last-child {
394
- border-bottom-color: ${miscTheme.theme.colors.neutral100};
395
- }
396
- }
397
- .nav-menu-item {
398
- background-color: ${miscTheme.theme.colors.neutral50};
399
- }
400
-
401
- .nav-menu-item {
402
- padding-left: 38px;
403
- }
404
- `;
405
- const StyledNavMenuItemContent = styled__default["default"].div `
406
- display: flex;
407
- align-items: center;
408
- height: 48px;
409
- border: 1px solid transparent;
410
- transition: all 300ms;
411
- border-radius: 8px;
412
-
413
- &:hover {
414
- background-color: ${miscTheme.theme.colors.neutral150};
415
- }
416
- &[data-active='true'] {
417
- background-color: ${miscTheme.theme.colors.blue50};
418
- }
419
- `;
420
- const StyledNavMenuItemDropdown = styled__default["default"].div `
421
- margin-left: auto;
422
-
423
- svg {
424
- fill: ${miscTheme.theme.colors.gray600};
425
- transition: transform 300ms;
426
- }
427
-
428
- &[data-is-open='true'] svg {
429
- transform: rotate(180deg);
430
- }
431
- `;
432
- const StyledNavFooterSubMenu = styled__default["default"].div `
433
- overflow: hidden;
434
- max-height: 0;
435
- transition: max-height 0.3s ease-out;
436
-
437
- [data-is-open='true'] & {
438
- max-height: 500px;
439
- transition-timing-function: ease-in;
440
- }
441
- `;
442
-
443
- const rankIconUrlMap = {
444
- helloSites: {
445
- member: () => index$1.CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-member.svg'),
446
- ambassador: () => index$1.CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-ambassador.svg'),
447
- doctor: () => index$1.CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-doctor.svg'),
448
- expert: () => index$1.CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-expert.svg'),
449
- influencer: () => index$1.CommonGAssets.getAssetPath('userProfileNav/helloSites/icon-rank-influencer.svg'),
450
- },
451
- marryBaby: {
452
- member: () => index$1.CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-member.svg'),
453
- ambassador: () => index$1.CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-ambassador.svg'),
454
- doctor: () => index$1.CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-doctor.svg'),
455
- expert: () => index$1.CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-expert.svg'),
456
- influencer: () => index$1.CommonGAssets.getAssetPath('userProfileNav/marryBaby/icon-rank-influencer.svg'),
457
- },
458
- };
459
- const Rank = ({ rank, siteType = 'helloSites', }) => {
460
- const iconUrl = React.useMemo(() => {
461
- var _a, _b;
462
- return ((_b = (_a = rankIconUrlMap[siteType]) === null || _a === void 0 ? void 0 : _a[rank]) === null || _b === void 0 ? void 0 : _b.call(_a)) || '';
463
- }, [rank, siteType]);
464
- const { t } = useTranslations.useTranslations();
465
- return (React__default["default"].createElement("div", { style: {
466
- display: 'inline-flex',
467
- height: 'fit-content',
468
- alignItems: 'center',
469
- padding: '5px 12px',
470
- gap: '4px',
471
- borderRadius: 16,
472
- border: `1px solid ${siteType === 'helloSites' ? miscTheme.theme.colors.blue100 : miscTheme.theme.colors.mb100}`,
473
- } },
474
- React__default["default"].createElement("img", { src: iconUrl, alt: rank, style: {
475
- height: 16,
476
- width: 16,
477
- } }),
478
- React__default["default"].createElement(index.Text, { size: "s5", color: "gray.8", weight: "semiBold" }, t(`userProfile.userRank.${rank}`))));
479
- };
480
-
481
- const UserInfoSection = ({ siteType = 'helloSites', userInfo, }) => {
482
- return (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? (React__default["default"].createElement(React__default["default"].Fragment, null,
483
- React__default["default"].createElement("div", { style: {
484
- display: 'flex',
485
- width: '100%',
486
- justifyContent: 'space-between',
487
- } },
488
- React__default["default"].createElement(index$2.Avatar, { src: userInfo.avatar, alt: userInfo.name, size: 48, style: { marginBottom: 8 } }),
489
- React__default["default"].createElement(Rank, { rank: "member", siteType: siteType })),
490
- React__default["default"].createElement(index.Text, { size: "s3", weight: "semiBold", color: "gray.8", style: { marginBottom: 4 } }, userInfo.name),
491
- React__default["default"].createElement(index.Text, { size: "n1", weight: "regular", color: siteType === 'helloSites' ? 'hb.6' : 'mb.6' },
492
- "@",
493
- userInfo.username),
494
- React__default["default"].createElement("hr", null))) : null;
495
- };
496
-
497
- const ProfileNavigation = ({ className, activeItem: forceActiveItem, navMenuItems: navMenuItemsProp, style, onLogout, siteType = 'helloSites', userInfo, }) => {
498
- const { locale } = useTranslations.useTranslations();
499
- const [localActiveItem, setLocalActiveItem] = React.useState();
500
- const activeItem = typeof forceActiveItem === 'string' ? forceActiveItem : localActiveItem;
501
- const SSO_URL = normalizeLink.normalizeLinkSlash(routing.getCurrentSsoUrl(locale, siteType === 'marryBaby') + '/');
502
- const BASE_URL = normalizeLink.normalizeLinkSlash(routing.getCurrentBaseUrl(locale, siteType === 'marryBaby') + '/');
503
- const navMenuItems = navMenuItemsProp || [
504
- [
505
- {
506
- key: 'userProfile.nav.header.viewProfile',
507
- icon: React__default["default"].createElement(NavUserIcon, { width: "24", height: "24" }),
508
- value: 'profile',
509
- tracking: {
510
- action: 'Profile Click',
511
- },
512
- link: `${SSO_URL}user/profile/`,
513
- },
514
- {
515
- key: 'userProfile.nav.card.myHealth',
516
- icon: React__default["default"].createElement(NavMyHealthIcon, { width: "24", height: "24" }),
517
- value: 'myHealth',
518
- tracking: {
519
- action: 'My Health Click',
520
- },
521
- link: `${SSO_URL}user/health/`,
522
- },
523
- {
524
- key: 'userProfile.nav.card.mySaved',
525
- icon: React__default["default"].createElement(NavSaveIcon, { width: "24", height: "24" }),
526
- iconColor: 'green_300',
527
- value: 'saved',
528
- tracking: {
529
- action: 'Bookmarks Click',
530
- },
531
- link: `${SSO_URL}user/saved/`,
532
- },
533
- {
534
- key: 'userProfile.nav.card.myBooking',
535
- icon: React__default["default"].createElement(NavBookingIcon, { width: "24", height: "24" }),
536
- value: 'booking',
537
- disabled: !index$3.CARE_LOCALES.includes(locale),
538
- tracking: {
539
- action: 'Manage Booking Click',
540
- },
541
- link: `${SSO_URL}user/booking/`,
542
- },
543
- {
544
- key: 'userProfile.nav.card.myCommunity',
545
- icon: React__default["default"].createElement(NavCommunityIcon, { width: "24", height: "24" }),
546
- value: 'myCommunities',
547
- disabled: !index$3.TOGETHER_LOCALES.includes(locale),
548
- tracking: {
549
- action: 'Community Click',
550
- },
551
- link: `${SSO_URL}user/my-communities/`,
552
- },
553
- ],
554
- ...(index$3.ECOM_LOCALES.includes(locale)
555
- ? [
556
- [
557
- {
558
- key: 'userProfile.nav.card.eCom',
559
- icon: React__default["default"].createElement(NavEshopIcon, { width: "24", height: "24" }),
560
- value: 'eCom',
561
- disabled: !index$3.ECOM_LOCALES.includes(locale),
562
- subMenu: [
563
- {
564
- key: 'userProfile.nav.card.ecom.manageOrders',
565
- value: 'eCom-manageOrders',
566
- icon: React__default["default"].createElement(NavDotIcon, { width: "24", height: "24" }),
567
- link: `${BASE_URL}shop/ho-so/quan-li-don-hang/`,
568
- tracking: {
569
- action: 'Order Management Click',
570
- },
571
- },
572
- {
573
- key: 'userProfile.nav.card.ecom.DeliveryAddress',
574
- value: 'eCom-manageAddress',
575
- icon: React__default["default"].createElement(NavDotIcon, { width: "24", height: "24" }),
576
- link: `${BASE_URL}shop/ho-so/dia-chi-giao-hang/`,
577
- tracking: {
578
- action: 'Address Management Click',
579
- },
580
- },
581
- {
582
- key: 'userProfile.nav.card.ecom.voucher',
583
- value: 'eCom-voucher',
584
- icon: React__default["default"].createElement(NavDotIcon, { width: "24", height: "24" }),
585
- link: `${BASE_URL}shop/ho-so/khuyen-mai/`,
586
- tracking: {
587
- action: 'Voucher Click',
588
- },
589
- },
590
- // {
591
- // key: 'nav.card.memberCard',
592
- // value: 'eCom-memberCard',
593
- // icon: <NavDotIcon width="24"
594
- // height="24"/>,
595
- // link: routingHandler
596
- // .getLocalisedUrl('', 'PROFILE_MEMBER_CARD')
597
- // .toString(),
598
- // tracking: {
599
- // action: 'Member Card Click',
600
- // },
601
- // },
602
- ],
603
- },
604
- ],
605
- ]
606
- : []),
607
- [
608
- {
609
- key: 'userProfile.nav.menu.accountSettings',
610
- icon: React__default["default"].createElement(NavSettingsIcon, { width: "24", height: "24" }),
611
- subMenu: [
612
- // {
613
- // key: 'common.profileNavigator.newsletterSubscription',
614
- // value: 'subscription',
615
- // icon: <NavDotIcon width="24" height="24" />,
616
- // tracking: { action: 'Subscription Click' },
617
- // link: `${SSO_URL}user/subscriptions/`,
618
- // disabled: locale !== 'vi-VN',
619
- // },
620
- {
621
- key: 'userProfile.nav.menu.password',
622
- value: 'password',
623
- icon: React__default["default"].createElement(NavDotIcon, { width: "24", height: "24" }),
624
- tracking: { action: 'Set Password Click' },
625
- link: `${SSO_URL}user/password/`,
626
- },
627
- {
628
- key: 'userProfile.nav.menu.disableAccount',
629
- value: 'disable-account',
630
- icon: React__default["default"].createElement(NavDotIcon, { width: "24", height: "24" }),
631
- tracking: { action: 'Disable Account Click' },
632
- link: `${SSO_URL}user/disable-account/`,
633
- },
634
- ],
635
- },
636
- ],
637
- [
638
- {
639
- key: 'userProfile.nav.menu.help',
640
- icon: React__default["default"].createElement(NavHelpIcon, { width: "24", height: "24" }),
641
- value: 'help',
642
- link: `${SSO_URL}user/help`,
643
- tracking: {
644
- action: 'Support Click',
645
- },
646
- },
647
- {
648
- key: 'userProfile.nav.menu.logout',
649
- icon: React__default["default"].createElement(NavLogOutIcon, { width: "24", height: "24" }),
650
- value: 'logout',
651
- tracking: {
652
- action: 'Sign Out Click',
653
- },
654
- },
655
- ],
656
- ];
657
- return (React__default["default"].createElement(StyledNavMenu, { className: className, style: style },
658
- React__default["default"].createElement(UserInfoSection, { userInfo: userInfo, siteType: siteType }),
659
- navMenuItems.map((items, index) => (React__default["default"].createElement(React.Fragment, { key: index },
660
- React__default["default"].createElement("div", { className: "profile-nav-item-group", key: index }, items.map((item) => (React__default["default"].createElement(NavMenuItem, { key: item.key, item: item, activeKey: activeItem || '', onLogout: onLogout, onClick: () => setLocalActiveItem((k) => k === item.key ? undefined : item.key), siteType: siteType })))),
661
- index !== navMenuItems.length - 1 && React__default["default"].createElement("hr", null))))));
662
- };
663
- const NavMenuItem = ({ item, activeKey, forceOpen, onLogout, onClick, siteType = 'helloSites', }) => {
664
- var _a, _b;
665
- const [localOpen, setLocalOpen] = React.useState(false);
666
- const currentUrl = React.useMemo(() => {
667
- if (typeof window !== 'undefined') {
668
- return window.location.href;
669
- }
670
- else
671
- return '';
672
- }, []);
673
- if (item.disabled) {
674
- return null;
675
- }
676
- const { t } = useTranslations.useTranslations();
677
- const hasChildActive = (_a = item.subMenu) === null || _a === void 0 ? void 0 : _a.some((subItem) => subItem.key === activeKey);
678
- const isActive = activeKey === item.key;
679
- React.useEffect(() => {
680
- if (hasChildActive || isActive) {
681
- setLocalOpen(true);
682
- }
683
- }, [hasChildActive, isActive]);
684
- const isOpen = typeof forceOpen === 'boolean' ? forceOpen : localOpen;
685
- return (React__default["default"].createElement(StyledNavMenuItem, { as: !item.subMenu ? 'a' : undefined, "data-is-open": isOpen, key: item.key, hasSubmenu: !!item.subMenu, onClick: () => {
686
- onClick === null || onClick === void 0 ? void 0 : onClick();
687
- if (item.subMenu && !forceOpen) {
688
- setLocalOpen((k) => !k);
689
- }
690
- else {
691
- if (item.value === 'logout') {
692
- onLogout === null || onLogout === void 0 ? void 0 : onLogout();
693
- }
694
- else if (item.link) {
695
- window.location.href = item.link;
696
- }
697
- }
698
- }, "data-event-category": "Ecommerce", "data-event-action": ((_b = item === null || item === void 0 ? void 0 : item.tracking) === null || _b === void 0 ? void 0 : _b.action) || '', "data-event-label": currentUrl },
699
- React__default["default"].createElement(StyledNavMenuItemContent, { "data-active": isActive },
700
- item.icon,
701
- React__default["default"].createElement(index.Text, { size: "p3", style: {
702
- marginLeft: item.icon ? 24 : 48,
703
- transition: `color 300ms`,
704
- }, color: isActive ? (siteType === 'helloSites' ? 'hb.6' : 'mb.6') : 'gray.8' }, t(item.key)),
705
- item.subMenu && (React__default["default"].createElement(StyledNavMenuItemDropdown, { "data-is-open": isOpen },
706
- React__default["default"].createElement(ChevronDown.ChevronDown, { width: 14 })))),
707
- item.subMenu && (React__default["default"].createElement(StyledNavFooterSubMenu, null, item.subMenu.map((subItem) => (React__default["default"].createElement(NavMenuItem, { key: subItem.key, item: subItem, activeKey: activeKey, onLogout: onLogout, siteType: siteType })))))));
708
- };
709
-
710
- const ProfilePopup = ({ isOpen, userInfo, closePopup, siteType = 'helloSites', dispatchLogout, }) => {
711
- const handleClickLogout = () => {
712
- if (dispatchLogout) {
713
- dispatchLogout();
714
- closePopup();
715
- }
716
- };
717
- return (React__default["default"].createElement(StyledPopup$1, { "data-open": isOpen },
718
- React__default["default"].createElement("div", { className: "popup-content" },
719
- React__default["default"].createElement(ProfileNavigation, { siteType: siteType, onLogout: handleClickLogout, userInfo: userInfo }))));
720
- };
721
-
722
- const StyledPopup = styled__default["default"].div `
723
- background-color: white;
724
- text-align: center;
725
- .cancle-img {
726
- margin-top: 24px;
727
- ${utils.MediaQueries.mbDown} {
728
- width: 80px;
729
- height: 80px;
730
- }
731
-
732
- ${utils.MediaQueries.mbUp} {
733
- width: 100px;
734
- height: 100px;
735
- }
736
- }
737
-
738
- h2 {
739
- margin-top: 32px;
740
- color: ${miscTheme.theme.colors.gray800};
741
- font-style: normal;
742
- font-weight: bold;
743
- ${utils.MediaQueries.mbDown} {
744
- font-size: 24px;
745
- line-height: 32px;
746
- }
747
-
748
- ${utils.MediaQueries.mbUp} {
749
- font-size: 32px;
750
- line-height: 42px;
751
- }
752
- }
753
-
754
- p {
755
- margin-top: 8px;
756
- color: ${miscTheme.theme.colors.gray600};
757
- font-style: normal;
758
- font-weight: normal;
759
- ${utils.MediaQueries.mbDown} {
760
- font-size: 16px;
761
- line-height: 24px;
762
- }
763
-
764
- ${utils.MediaQueries.mbUp} {
765
- font-size: 16px;
766
- line-height: 24px;
767
- }
768
- }
769
- `;
770
- const StyledButtonGroup = styled__default["default"].div `
771
- display: flex;
772
-
773
- ${utils.MediaQueries.mbDown} {
774
- margin-top: 24px;
775
- }
776
-
777
- ${utils.MediaQueries.mbUp} {
778
- margin-top: 32px;
779
- }
780
- justify-content: space-around;
781
- button {
782
- flex: 1;
783
- margin: 4px;
784
- }
785
-
786
- ${(props) => props.siteType === 'marryBaby'
787
- ? `
788
- .cancel-button {
789
- background-color: #E55C8A;
790
- }
791
- .cancel-button:hover {
792
- background-color: #E55C8A !important;
793
- }
794
- .logout-button {
795
- border-color: #E55C8A;
796
- color: #E55C8A;
797
- }
798
- `
799
- : ''}
800
- `;
801
-
802
- const NavigationLogoutPopup = ({ openLogoutPopup, onCloseHandler, onLogoutHandler, siteType = 'helloSites', }) => {
803
- const { t } = useTranslations.useTranslations();
804
- React.useEffect(() => {
805
- document.body.classList.toggle('noscroll', openLogoutPopup);
806
- }, [openLogoutPopup]);
807
- return (React__default["default"].createElement(core.Portal, null,
808
- React__default["default"].createElement(index$4.Popup, { type: "confirm", isOpen: openLogoutPopup, closeIcon: React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('closeLight.svg'), style: { width: 24, height: 24 }, alt: "close-icon", loading: "lazy" }), onClose: onCloseHandler },
809
- React__default["default"].createElement(StyledPopup, null,
810
- siteType === 'helloSites' && (React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('arrowDoor.svg'), className: "cancle-img", alt: "close-account", loading: "lazy" })),
811
- React__default["default"].createElement("h2", null, t(siteType === 'helloSites'
812
- ? 'logout.popup.ask1'
813
- : 'logout.popup.ask.mb')),
814
- React__default["default"].createElement("p", null, t('logout.popup.ask2')),
815
- React__default["default"].createElement(StyledButtonGroup, { siteType: siteType },
816
- React__default["default"].createElement(index$5.Button, { className: "logout-button", color: "tertiary", size: "lg", onClick: onLogoutHandler }, t('logout.popup.button.logout')),
817
- React__default["default"].createElement(index$5.Button, { className: "cancel-button", color: "primary", size: "lg", onClick: onCloseHandler }, t('logout.popup.button.cancel')))))));
818
- };
819
-
820
- const NavigationProfileButton = ({ userInfo, siteType, onLoginClick, SSO_URL, currentUrl, isMinifyLogin, onLogout, style, isLoading, locale, }) => {
821
- const { t } = useTranslations.useTranslations();
822
- const [isLogoutConfirmOpen, setIsLogoutConfirmOpen] = React.useState(false);
823
- const name = (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || (userInfo === null || userInfo === void 0 ? void 0 : userInfo.username);
824
- const [init, setInit] = React.useState(false);
825
- React.useEffect(() => {
826
- setInit(true);
827
- }, []);
828
- const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
829
- if (isLoading)
830
- return React__default["default"].createElement(index$6.Button, { size: "sm", color: "transparent", loading: true });
831
- return (userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) ? (React__default["default"].createElement(React__default["default"].Fragment, null,
832
- React__default["default"].createElement(StyledImageWrapper$1, { ref: containerRef, style: style, tabIndex: 0, onBlur: onContainerBlur, onFocus: () => {
833
- var _a;
834
- onContainerFocus();
835
- const popup = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('#desktop-sticky-header .hhgcomp-navprofilebutton-popup');
836
- if (popup) {
837
- const bound = popup.getBoundingClientRect();
838
- const top = bound.top;
839
- const maxHeight = `calc(100vh - ${top}px)`;
840
- popup.setAttribute('style', `max-height: ${maxHeight};`);
841
- }
842
- } },
843
- React__default["default"].createElement("div", { onMouseDown: onButtonMouseDown },
844
- React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: "user-close-icon" },
845
- React__default["default"].createElement("path", { d: "M18 6L6 18M18 18L6 6", stroke: "#3E3F58", strokeWidth: "1.3", strokeLinecap: "round" })),
846
- React__default["default"].createElement(index$2.Avatar, { size: 36, className: "user-avatar", src: userInfo === null || userInfo === void 0 ? void 0 : userInfo.avatar, color: siteType === 'marryBaby'
847
- ? miscTheme.theme.mbColors.pink
848
- : miscTheme.theme.colors.secondaryBase, placeholderText: name && name.length ? name[0].toUpperCase() : 'A' })),
849
- React__default["default"].createElement(ProfilePopup, { dispatchLogout: () => {
850
- onClose();
851
- setIsLogoutConfirmOpen(true);
852
- }, isOpen: false, closePopup: onClose, siteType: siteType, userInfo: userInfo })),
853
- React__default["default"].createElement(NavigationLogoutPopup, { openLogoutPopup: isLogoutConfirmOpen, onCloseHandler: () => {
854
- document.body.classList.toggle('noscroll', false);
855
- setIsLogoutConfirmOpen(false);
856
- }, siteType: siteType, onLogoutHandler: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
857
- setIsLogoutConfirmOpen(false);
858
- document.body.classList.toggle('noscroll', false);
859
- yield onLogout();
860
- }) }))) : (React__default["default"].createElement(StyledLoggedOutAnchor, { style: Object.assign({ textDecoration: 'none' }, style), "data-event-category": "Sign Up", "data-event-action": "Button Click", "data-event-label": currentUrl, href: !init
861
- ? normalizeLink.normalizeLinkSlash(`${SSO_URL}?returnUrl=${currentUrl}`)
862
- : undefined, "data-site-type": siteType, onClick: onLoginClick }, isMinifyLogin ? (React__default["default"].createElement(StyledAvatar, null,
863
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('lock.png'), className: "avatar", loading: "lazy", alt: "avatar" }))) : (
864
- // LOGIC:
865
- // - DEsktop: always show button
866
- // - Mobile: show button only for helloSites, show text for MarryBaby
867
- React__default["default"].createElement(React__default["default"].Fragment, null,
868
- siteType === 'helloSites' &&
869
- (locale === Locale.LOCALE.Indonesia ||
870
- locale === Locale.LOCALE.PhilippinesTagalog ||
871
- locale === Locale.LOCALE.PhilippinesEnglish ? (React__default["default"].createElement("img", { className: "mobile-only", src: index$1.CommonGAssets.getAssetPath('login.svg'), style: {
872
- cursor: 'pointer',
873
- height: 24,
874
- width: 24,
875
- } })) : (React__default["default"].createElement(index$6.Button, { className: "mobile-only", size: "sm", leftIcon: React__default["default"].createElement(core$1.User, { color: "currentColor", isSolid: true, size: 22 }), sx: {
876
- paddingLeft: '8px',
877
- paddingRight: '12px',
878
- } }, t('navigation.loginJoin')))),
879
- siteType === 'marryBaby' && (React__default["default"].createElement("div", { className: "mobile-only", style: {
880
- paddingLeft: 16,
881
- } },
882
- React__default["default"].createElement(index.Text, { size: "p3", color: miscTheme.theme.mbColors.pink }, t('navigation.loginJoin')))),
883
- siteType === 'marryBaby' ? (React__default["default"].createElement(index$6.Button, { className: "login-btn", size: "md", leftIcon: React__default["default"].createElement(core$1.User, { color: "currentColor", isSolid: true, size: 22 }) }, t('navigation.loginJoin'))) : (React__default["default"].createElement(index$6.Button, { className: "login-btn", size: "md", leftIcon: React__default["default"].createElement(core$1.User, { color: "#595959", isSolid: true, size: 22 }), variant: "ghost", color: "#262626" }, t('navigation.loginJoin')))))));
884
- };
885
-
886
121
  var styles$3 = {"bookingButton":"spdlGfq","bookingButtonAnchor":"vgS16jX"};
887
122
 
888
123
  const BookingButton = ({ onCareHeaderClick, currentUrl, careUrlFe, btnName, }) => {
889
- return onCareHeaderClick ? (React__default["default"].createElement(index$5.Button, { className: styles$3.bookingButton, size: "md", color: "primary", dataEventCategory: "Care", dataEventAction: "Navigation Bar Click", dataEventLabel: currentUrl, onClick: (e) => onCareHeaderClick(e), style: {
124
+ return onCareHeaderClick ? (React__default["default"].createElement(index$1.Button, { className: styles$3.bookingButton, size: "md", color: "primary", dataEventCategory: "Care", dataEventAction: "Navigation Bar Click", dataEventLabel: currentUrl, onClick: (e) => onCareHeaderClick(e), style: {
890
125
  paddingLeft: 10,
891
126
  paddingRight: 10,
892
127
  } }, btnName)) : (React__default["default"].createElement("a", { href: careUrlFe, className: `${styles$3.bookingButtonAnchor} care-button no-replace-click` },
893
- React__default["default"].createElement(index$5.Button, { className: styles$3.bookingButton, size: "md", color: "primary", dataEventCategory: "Care", dataEventAction: "Navigation Bar Click", dataEventLabel: currentUrl }, btnName)));
128
+ React__default["default"].createElement(index$1.Button, { className: styles$3.bookingButton, size: "md", color: "primary", dataEventCategory: "Care", dataEventAction: "Navigation Bar Click", dataEventLabel: currentUrl }, btnName)));
894
129
  };
895
130
 
896
131
  var styles$2 = {"menuContainer":"y5VJdvw","menuIcon":"oVhOSCy","menuIconWrapper":"pX8OXTM"};
@@ -902,18 +137,18 @@ const useNavConfig = ({ locale, projectType, siteType, enableBookingBtn, }) => {
902
137
  (projectType === 'profile' && siteType === 'marryBaby');
903
138
  const enableNavCare = siteType !== 'marryBaby' &&
904
139
  projectType !== 'marryBaby' &&
905
- index$3.CARE_LOCALES.includes(locale);
140
+ index$2.CARE_LOCALES.includes(locale);
906
141
  const enableNavCareBooking = enableBookingBtn &&
907
142
  projectType !== 'marryBaby' &&
908
143
  projectType === 'discover' &&
909
144
  siteType !== 'marryBaby' &&
910
- index$3.CARE_BOOKING_LOCALES.includes(locale);
911
- const enableNavTogether = projectType === 'marryBaby' || index$3.TOGETHER_LOCALES.includes(locale);
145
+ index$2.CARE_BOOKING_LOCALES.includes(locale);
146
+ const enableNavTogether = projectType === 'marryBaby' || index$2.TOGETHER_LOCALES.includes(locale);
912
147
  const enableNavDiscover = true;
913
148
  const enableNavHealthTools = true;
914
149
  const enableProfileMySaved = true;
915
- const enableNavEcom = siteType !== 'marryBaby' && index$3.ECOM_LOCALES.includes(locale);
916
- const enableProfileEcom = siteType !== 'marryBaby' && index$3.ECOM_LOCALES.includes(locale);
150
+ const enableNavEcom = siteType !== 'marryBaby' && index$2.ECOM_LOCALES.includes(locale);
151
+ const enableProfileEcom = siteType !== 'marryBaby' && index$2.ECOM_LOCALES.includes(locale);
917
152
  const enableProfileMyHealth = true;
918
153
  const baseUrl = routing.getCurrentBaseUrl(locale, siteType === 'marryBaby');
919
154
  let fixBaseUrl = baseUrl;
@@ -995,8 +230,8 @@ function HamburgerIcon({ siteType, enableSearch, className }) {
995
230
  if (siteType === 'helloSites') {
996
231
  return (React__default["default"].createElement("div", null,
997
232
  React__default["default"].createElement("img", { "data-list-type": "Header", "data-content-type": "Navigation", "data-content-topic": "Hamburger", src: enableSearch
998
- ? index$1.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
999
- : index$1.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: { width: '24px', height: '24px' }, alt: "home", className: className, loading: "lazy" })));
233
+ ? index$3.CommonGAssets.getAssetPath('hamburgerMenuNewWithSearch.svg')
234
+ : index$3.CommonGAssets.getAssetPath('hamburgerMenuNew.svg'), style: { width: '24px', height: '24px' }, alt: "home", className: className, loading: "lazy" })));
1000
235
  }
1001
236
  /** Marry Baby */
1002
237
  return (React__default["default"].createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: className },
@@ -1068,11 +303,11 @@ const StyledWrapper = styled__default["default"].div `
1068
303
  const SearchInput = ({ id }) => {
1069
304
  const { locale, configs: { statics }, siteType, } = React.useContext(NavigationContext);
1070
305
  const { t } = useTranslations.useTranslations();
1071
- return (React__default["default"].createElement(index$2.Input, { className: "fake-search-input", name: 'search-input-menu-service' + id, size: "md", placeholder: siteType === 'marryBaby'
306
+ return (React__default["default"].createElement(index$4.Input, { className: "fake-search-input", name: 'search-input-menu-service' + id, size: "md", placeholder: siteType === 'marryBaby'
1072
307
  ? t('navigation.search.input.placeholder')
1073
308
  : t('home.search', {
1074
- site: index$3.LOCALE_SPECS[locale || 'en-PH']
1075
- ? index$3.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME
309
+ site: index$2.LOCALE_SPECS[locale || 'en-PH']
310
+ ? index$2.LOCALE_SPECS[locale || 'en-PH'].SITE_NAME
1076
311
  : '',
1077
312
  }), onChange: () => undefined, onKeyDown: (e) => e.key === 'Enter' &&
1078
313
  (window.location.href = `${statics.HOME_PAGE_URL}/search/?s=${e.target.value}`), type: "search", onFocus: (e) => {
@@ -1214,7 +449,7 @@ const StyledViewMore$1 = styled__default["default"].a `
1214
449
  var styles$1 = {"menuIconWrapper":"wnUb-dV","menuButton":"cjbOxWe","itemNavButton":"-sx0jrx","scale":"EDlp5Zf"};
1215
450
 
1216
451
  const ItemMenu = ({ item, menu }) => {
1217
- const { containerRef, onButtonMouseDown, onClose } = useCSSFocusPopupHelper({
452
+ const { containerRef, onButtonMouseDown, onClose } = navigationProfileButton.useCSSFocusPopupHelper({
1218
453
  allowBgScroll: true,
1219
454
  });
1220
455
  const isInit = useIsInit.useIsInit();
@@ -1239,7 +474,7 @@ const ItemMenu = ({ item, menu }) => {
1239
474
  const NewWrapper = ({ isNew, children, }) => {
1240
475
  const { t } = useTranslations.useTranslations();
1241
476
  if (isNew) {
1242
- return (React__default["default"].createElement(index$7.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
477
+ return (React__default["default"].createElement(index$5.Indicator, { color: "green", label: t('home.navigator.menuItem.new'), size: 20, styles: {
1243
478
  root: {
1244
479
  paddingRight: 10,
1245
480
  },
@@ -1254,16 +489,16 @@ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuI
1254
489
  const theme = core.useMantineTheme();
1255
490
  return (React__default["default"].createElement(StyledItemGridLeft, null,
1256
491
  React__default["default"].createElement(StyledHeading$1, null,
1257
- React__default["default"].createElement(index$8.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
1258
- menuItems.slice(0, 6).map((item, index$2) => {
492
+ React__default["default"].createElement(index$6.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, headingTitle)), menuItems === null || menuItems === void 0 ? void 0 :
493
+ menuItems.slice(0, 6).map((item, index$1) => {
1259
494
  const href = (item === null || item === void 0 ? void 0 : item.link)
1260
495
  ? (item === null || item === void 0 ? void 0 : item.link.startsWith('http'))
1261
496
  ? item === null || item === void 0 ? void 0 : item.link
1262
497
  : `${UrlFE}/${item === null || item === void 0 ? void 0 : item.link.split('/').filter(Boolean).join('/')}/`
1263
498
  : '/';
1264
- return (React__default["default"].createElement(StyledItem$6, Object.assign({ className: "iconMenu", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!index$9.isInternalLink(href) && {
499
+ return (React__default["default"].createElement(StyledItem$6, Object.assign({ className: "iconMenu", "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": href, "data-is-heading-category": false, "data-active": item.id && item.id === activeItem, "data-is-mobile-tool": item.isMobileAppTool, href: href }, (!index$7.isInternalLink(href) && {
1265
500
  target: '_blank',
1266
- }), { "data-theme": siteType, key: index$2, onClick: onClosePopup }),
501
+ }), { "data-theme": siteType, key: index$1, onClick: onClosePopup }),
1267
502
  React__default["default"].createElement("div", { className: "icon" },
1268
503
  React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.thumbnail || '/images/avatar.jpg', style: {
1269
504
  width: 32,
@@ -1282,15 +517,15 @@ const Categories = ({ hrefViewMore, titleBtnViewMore, UrlFE, onClosePopup, menuI
1282
517
  item.isMobileAppTool && (React__default["default"].createElement(StyledIconNav, null,
1283
518
  React__default["default"].createElement(Phone, { className: "phone-icon", size: 16 }))),
1284
519
  React__default["default"].createElement(StyledIconNav, { className: "arrow-icon" },
1285
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
520
+ React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('chevronRight.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" }))));
1286
521
  }),
1287
522
  titleBtnViewMore && (React__default["default"].createElement(StyledViewMore$1, { "data-theme": siteType, style: { textDecoration: 'none' }, href: hrefViewMore, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": hrefViewMore },
1288
523
  React__default["default"].createElement(StyledItemAll, { onClick: onClosePopup, "data-theme": siteType, "data-is-heading-category": false },
1289
524
  titleBtnViewMore,
1290
525
  React__default["default"].createElement(StyledImageWrapper, null,
1291
526
  React__default["default"].createElement("img", { className: "svg", src: siteType === 'marryBaby'
1292
- ? index$1.CommonGAssets.getAssetPath('chevronRightPink.svg')
1293
- : index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
527
+ ? index$3.CommonGAssets.getAssetPath('chevronRightPink.svg')
528
+ : index$3.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))))));
1294
529
  };
1295
530
 
1296
531
  const StyledContainerItems$4 = styled__default["default"].div `
@@ -1462,7 +697,7 @@ const Item$4 = ({ item, index = 0 }) => {
1462
697
  return null;
1463
698
  const href = `${statics.CARE_URL_FE}/${(_a = constants$1.LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.HOSPITAL}/${item.slug}-${item.id}`;
1464
699
  return (React__default["default"].createElement(StyledItem$5, { key: item.id, href: href, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index + 1}`, "data-event-label": href },
1465
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
700
+ React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('navCareCardBg.svg'), alt: "", className: "bg-svg", loading: "lazy" }),
1466
701
  React__default["default"].createElement(StyledImageCard$3, null,
1467
702
  React__default["default"].createElement(StyledImageCardInner, null,
1468
703
  React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.logo || '/images/avatar.jpg' }))),
@@ -1471,7 +706,7 @@ const Item$4 = ({ item, index = 0 }) => {
1471
706
  React__default["default"].createElement(StyledDes$2, null, item.description),
1472
707
  React__default["default"].createElement(StyledBtnView$2, null,
1473
708
  t('home.seeMore'),
1474
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
709
+ React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
1475
710
  width: '16px',
1476
711
  height: '16px',
1477
712
  marginTop: '3px',
@@ -1550,15 +785,15 @@ const SpotlightNoData = ({ title, link, description, cta, icon }) => {
1550
785
  return (React__default["default"].createElement(StyledContainerNoPosts, { "data-theme": siteType },
1551
786
  React__default["default"].createElement(StyledLeft, null,
1552
787
  React__default["default"].createElement("img", { src: siteType === 'marryBaby'
1553
- ? index$1.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
1554
- : index$1.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
788
+ ? index$3.CommonGAssets.getAssetPath('navMBSpotlightBgNoData.svg')
789
+ : index$3.CommonGAssets.getAssetPath('navSpotlightBgNoData.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
1555
790
  React__default["default"].createElement(StyledContentLeft, null, icon && React__default["default"].createElement("img", { src: icon, width: 64, height: 64, loading: "lazy" }))),
1556
791
  React__default["default"].createElement("div", null,
1557
792
  title && React__default["default"].createElement(StyledTitle$4, null, title),
1558
793
  description && React__default["default"].createElement(StyledDescription, null, description),
1559
794
  cta && (React__default["default"].createElement("div", null,
1560
795
  React__default["default"].createElement("a", { href: link },
1561
- React__default["default"].createElement(index$5.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
796
+ React__default["default"].createElement(index$1.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, cta)))))));
1562
797
  };
1563
798
 
1564
799
  const StyledItemGridRight = styled__default["default"].div `
@@ -1605,12 +840,12 @@ const Spotlights = ({ title, viewMore, children, link, dataEventAction = '', })
1605
840
  const { siteType } = React.useContext(NavigationContext);
1606
841
  return (React__default["default"].createElement(StyledItemGridRight, null,
1607
842
  React__default["default"].createElement(StyledHeading, null,
1608
- React__default["default"].createElement(index$8.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
843
+ React__default["default"].createElement(index$6.Heading, { tag: siteType === 'marryBaby' ? 'h5' : 'h6', as: "p", fontWeight: "semibold" }, title),
1609
844
  viewMore && (React__default["default"].createElement(StyledViewMore, { "data-event-category": "Hamburger Navigation", "data-event-action": dataEventAction, "data-event-label": link, href: link, "data-theme": siteType },
1610
845
  viewMore,
1611
846
  React__default["default"].createElement("img", { src: siteType === 'marryBaby'
1612
- ? index$1.CommonGAssets.getAssetPath('chevronRightPink.svg')
1613
- : index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
847
+ ? index$3.CommonGAssets.getAssetPath('chevronRightPink.svg')
848
+ : index$3.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: { width: '16px', height: '16px' }, loading: "lazy" })))),
1614
849
  children));
1615
850
  };
1616
851
 
@@ -1625,7 +860,7 @@ const CareSpotlights = ({ spotlights = [], hrefViewMore }) => {
1625
860
  right: '1rem',
1626
861
  } },
1627
862
  React__default["default"].createElement("a", { href: hrefViewMore },
1628
- React__default["default"].createElement(index$5.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.care.noDatas.title'), description: t('home.navigator.menu.care.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.care.homeButton'), icon: index$1.CommonGAssets.getAssetPath('community.svg') }))));
863
+ React__default["default"].createElement(index$1.Button, { theme: siteType, className: "survey-contact-submit", size: "md" }, t('home.navigator.menu.care.homeButton')))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.care.noDatas.title'), description: t('home.navigator.menu.care.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.care.homeButton'), icon: index$3.CommonGAssets.getAssetPath('community.svg') }))));
1629
864
  };
1630
865
 
1631
866
  const StyledContainerItems$3 = styled__default["default"].div `
@@ -1699,7 +934,7 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
1699
934
  link: statics.HOME_PAGE_URL + spotlight.permalink,
1700
935
  title: spotlight.name,
1701
936
  banner: spotlight.image,
1702
- } }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$1.CommonGAssets.getAssetPath('Spotlight.svg') }))));
937
+ } }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.category.noDatas.title'), description: t('home.navigator.menu.category.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.category.noDatas.cta'), icon: index$3.CommonGAssets.getAssetPath('Spotlight.svg') }))));
1703
938
  };
1704
939
 
1705
940
  const StyledContainerItems$2 = styled__default["default"].div `
@@ -1837,7 +1072,7 @@ const Item$2 = ({ post, index = 0 }) => {
1837
1072
  return (React__default["default"].createElement(StyledItem$3, { href: postUrl, "data-event-category": "Hamburger Navigation", "data-event-action": `Together Click ${index + 1}`, "data-event-label": postUrl },
1838
1073
  React__default["default"].createElement(StyledContent$1, null,
1839
1074
  React__default["default"].createElement(StyledInfoUser, null,
1840
- React__default["default"].createElement(index$a.UserAvatar, { avatar: (_b = post.author) === null || _b === void 0 ? void 0 : _b.avatar, username: ((_c = post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post.author) === null || _d === void 0 ? void 0 : _d.username) }),
1075
+ React__default["default"].createElement(index$8.UserAvatar, { avatar: (_b = post.author) === null || _b === void 0 ? void 0 : _b.avatar, username: ((_c = post.author) === null || _c === void 0 ? void 0 : _c.name) || ((_d = post.author) === null || _d === void 0 ? void 0 : _d.username) }),
1841
1076
  React__default["default"].createElement(StyledWrapInfo, null,
1842
1077
  React__default["default"].createElement(StyledName, { "data-theme": siteType }, (_e = post.author) === null || _e === void 0 ? void 0 : _e.name),
1843
1078
  React__default["default"].createElement(StyledInfo, null,
@@ -1854,7 +1089,7 @@ const Item$2 = ({ post, index = 0 }) => {
1854
1089
  const CommunitySpotlights = ({ spotlights = [] }) => {
1855
1090
  const { configs: { statics }, } = React.useContext(NavigationContext);
1856
1091
  const { t } = useTranslations.useTranslations();
1857
- return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$2, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: index$1.CommonGAssets.getAssetPath('community.svg') }))));
1092
+ return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.trendingPosts'), viewMore: t('home.navigator.menu.trendingPosts.seeMore'), link: normalizeLink.normalizeLink(statics.TOGETHER_URL_FE), dataEventAction: "Together See More Click" }, spotlights.length !== 0 ? (React__default["default"].createElement(StyledContainerItems$2, null, spotlights === null || spotlights === void 0 ? void 0 : spotlights.slice(0, 4).map((p, index) => (React__default["default"].createElement(Item$2, { index: index, post: p, key: p.id }))))) : (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.together.noPosts.title'), description: t('home.navigator.menu.together.noPosts.description'), link: `${statics.HOME_PAGE_URL}/community/`, cta: t('home.navigator.menu.together.noPosts.cta'), icon: index$3.CommonGAssets.getAssetPath('community.svg') }))));
1858
1093
  };
1859
1094
 
1860
1095
  const StyledContainerItems$1 = styled__default["default"].div `
@@ -1874,10 +1109,10 @@ const StyledItem$2 = styled__default["default"].a `
1874
1109
  align-items: center;
1875
1110
  `;
1876
1111
 
1877
- const Item$1 = ({ item, index: index$2 = 0 }) => {
1112
+ const Item$1 = ({ item, index: index$1 = 0 }) => {
1878
1113
  if (!item)
1879
1114
  return null;
1880
- return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$2 + 1}`, "data-event-label": item.url },
1115
+ return (React__default["default"].createElement(StyledItem$2, { href: item.url, "data-event-category": "Hamburger Navigation", "data-event-action": `Care Click ${index$1 + 1}`, "data-event-label": item.url },
1881
1116
  React__default["default"].createElement("img", { loading: "lazy", alt: item.name, src: item.featuredImage || '/images/avatar.jpg', style: {
1882
1117
  width: '40px',
1883
1118
  height: '40px',
@@ -1885,7 +1120,7 @@ const Item$1 = ({ item, index: index$2 = 0 }) => {
1885
1120
  React__default["default"].createElement(index.Text, { size: "p2", weight: "regular", style: {
1886
1121
  marginLeft: 16,
1887
1122
  } }, item.name),
1888
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
1123
+ React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('chevronRightActive.svg'), style: {
1889
1124
  width: '20px',
1890
1125
  height: '20px',
1891
1126
  marginLeft: 'auto',
@@ -2050,7 +1285,7 @@ const Item = ({ item, index = 0 }) => {
2050
1285
  : undefined;
2051
1286
  return (React__default["default"].createElement(StyledItem$1, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link },
2052
1287
  item.isMobileAppTool && React__default["default"].createElement(Phone, { size: 20, className: "phone-badge" }),
2053
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
1288
+ React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('navToolCardBg.svg'), alt: "", loading: "lazy", className: "bg-svg" }),
2054
1289
  React__default["default"].createElement(StyledContentWrapper$1, null,
2055
1290
  React__default["default"].createElement(StyledTitle$1, null, item.title),
2056
1291
  React__default["default"].createElement(StyledDes$1, null, item.subtitle),
@@ -2288,7 +1523,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
2288
1523
  React__default["default"].createElement(StyledDes, null, item.subtitle)),
2289
1524
  React__default["default"].createElement(StyledBtnView, null,
2290
1525
  React__default["default"].createElement("div", { className: "mobile-only" }, t('home.seeMore')),
2291
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
1526
+ React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('arrowRightGray.svg'), style: {
2292
1527
  width: '12px',
2293
1528
  height: '12px',
2294
1529
  marginTop: '2px',
@@ -2297,7 +1532,7 @@ const ItemMarryBaby = ({ item, index = 0, color }) => {
2297
1532
  return (React__default["default"].createElement(StyledItem, { href: link, "data-event-category": "Hamburger Navigation", "data-event-action": `Engage Click ${index + 1}`, "data-event-label": link, "data-color": color },
2298
1533
  React__default["default"].createElement("svg", { className: "bg-svg", width: "74", height: "121", viewBox: "0 0 74 121", fill: "none" },
2299
1534
  React__default["default"].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" })),
2300
- React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
1535
+ React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('navMBCardDotBg.svg'), className: "dot-svg", loading: "lazy", alt: "" }),
2301
1536
  React__default["default"].createElement(StyledContentWrapper, null,
2302
1537
  React__default["default"].createElement("div", { className: "mobile-only" }, renderIcon()),
2303
1538
  React__default["default"].createElement("div", { className: "desktop-only" }, renderName())),
@@ -2311,7 +1546,7 @@ const ToolSpotlights = ({ hrefViewMore, spotlightHealthTools = [] }) => {
2311
1546
  const { siteType } = React.useContext(NavigationContext);
2312
1547
  return (React__default["default"].createElement(Spotlights, { title: t('home.navigator.menu.spotlightTools') },
2313
1548
  spotlightHealthTools.length !== 0 && (React__default["default"].createElement(StyledContainerItems, null, spotlightHealthTools === null || spotlightHealthTools === void 0 ? void 0 : spotlightHealthTools.slice(0, 3).map((item, index) => siteType === 'marryBaby' ? (React__default["default"].createElement(ItemMarryBaby, { key: index, index: index, item: item, color: marryBabyCardColor[index] })) : (React__default["default"].createElement(Item, { key: index, index: index, item: item }))))),
2314
- spotlightHealthTools.length === 0 && (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: index$1.CommonGAssets.getAssetPath('community.svg') }))));
1549
+ spotlightHealthTools.length === 0 && (React__default["default"].createElement(SpotlightNoData, { title: t('home.navigator.menu.healthTools.noDatas.title'), description: t('home.navigator.menu.healthTools.noDatas.description'), link: hrefViewMore, cta: t('home.navigator.menu.healthTools.noDatas.cta'), icon: index$3.CommonGAssets.getAssetPath('community.svg') }))));
2315
1550
  };
2316
1551
 
2317
1552
  const MenuServiceList = ({ closePopup, menuItems = [] }) => {
@@ -2326,7 +1561,7 @@ const MenuServiceList = ({ closePopup, menuItems = [] }) => {
2326
1561
  React__default["default"].createElement(StyledWrapper, null,
2327
1562
  React__default["default"].createElement(Categories, { UrlFE: statics.HOME_PAGE_URL, titleBtnViewMore: t('home.navigator.menuItem.allCategories'), menuItems: menuItems, headingTitle: t('home.navigator.menuItem.healthCategories'), onClosePopup: closePopup, activeItem: activeMenuService }),
2328
1563
  activeMenuService === 'categories' && (React__default["default"].createElement(CategorySpotlights, { spotlightsList: (categories === null || categories === void 0 ? void 0 : categories.spotlights) || [], hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/spotlight/` })),
2329
- activeMenuService === 'tools' && (React__default["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
1564
+ activeMenuService === 'tools' && (React__default["default"].createElement(ToolSpotlights, { spotlightHealthTools: healthTools === null || healthTools === void 0 ? void 0 : healthTools.spotlights, hrefViewMore: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$2.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}` })),
2330
1565
  activeMenuService === 'care' && (React__default["default"].createElement(CareSpotlights, { spotlights: care === null || care === void 0 ? void 0 : care.spotlights, hrefViewMore: `${statics.CARE_URL_FE}/${(_b = constants$1.LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b.SPECIALTIES}` })),
2331
1566
  activeMenuService === 'together' && (React__default["default"].createElement(CommunitySpotlights, { spotlights: together === null || together === void 0 ? void 0 : together.spotlights })),
2332
1567
  activeMenuService === 'ecom' && (React__default["default"].createElement(EcomSpotlights, { helpfulUrls: ecom === null || ecom === void 0 ? void 0 : ecom.helpfulUrls })))));
@@ -2334,7 +1569,7 @@ const MenuServiceList = ({ closePopup, menuItems = [] }) => {
2334
1569
 
2335
1570
  const HamburgerMenu = ({ menuItems }) => {
2336
1571
  const { siteType, configs: { enableSearchBar }, } = React.useContext(NavigationContext);
2337
- const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = useCSSFocusPopupHelper();
1572
+ const { containerRef, onContainerFocus, onContainerBlur, onButtonMouseDown, onClose, } = navigationProfileButton.useCSSFocusPopupHelper();
2338
1573
  return (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbDown" },
2339
1574
  React__default["default"].createElement("header", { className: styles$2.menuContainer },
2340
1575
  React__default["default"].createElement("div", { className: styles$2.menuIcon, ref: containerRef, role: "button", tabIndex: 0, onBlur: onContainerBlur, onFocus: onContainerFocus },
@@ -2774,10 +2009,10 @@ const BtnClosePopup = ({ onClosePopup }) => {
2774
2009
 
2775
2010
  const PopupWrapper = ({ onClosePopup, isDisplay, children, isNavMenu, hideCloseBtn, }) => {
2776
2011
  return (React__default["default"].createElement("div", { className: "hhgcomp-navigation-popupwrapper-menuwrapper top-menu-health-tools", "data-is-display": !!isDisplay, "data-is-nav-menu": !!isNavMenu },
2777
- React__default["default"].createElement(index$b.Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
2012
+ React__default["default"].createElement(index$9.Container, { className: "hhgcomp-navigation-popupwrapper-menuwrapper-child" },
2778
2013
  !hideCloseBtn && (React__default["default"].createElement("div", { className: styles.container },
2779
2014
  React__default["default"].createElement(BtnClosePopup, { onClosePopup: onClosePopup }))),
2780
- React__default["default"].createElement(index$b.Container, { className: styles.gridContainer }, children))));
2015
+ React__default["default"].createElement(index$9.Container, { className: styles.gridContainer }, children))));
2781
2016
  };
2782
2017
 
2783
2018
  const MenuCareList = ({ careSpecialties = [], isOpen, onClose, spotlights = [], }) => {
@@ -2837,7 +2072,7 @@ const MenuHealthToolsList = ({ locale, onClose, isOpen, spotlightHealthTools = [
2837
2072
  var _a;
2838
2073
  const { t } = useTranslations.useTranslations();
2839
2074
  const { configs: { statics }, } = React.useContext(NavigationContext);
2840
- const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
2075
+ const hrefViewMore = `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$2.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`;
2841
2076
  return (React__default["default"].createElement(PopupWrapper, { onClosePopup: onClose, isDisplay: isOpen, isNavMenu: true },
2842
2077
  React__default["default"].createElement(Categories, { hrefViewMore: hrefViewMore, UrlFE: statics.HOME_PAGE_URL, onClosePopup: onClose, headingTitle: t('home.navigator.menuItem.healthToolsList'), titleBtnViewMore: t('home.navigator.menuItem.allHealthTools'), menuItems: healthTools.map((t) => ({
2843
2078
  name: t.title,
@@ -2856,7 +2091,7 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
2856
2091
  const [Lottie, setLottie] = React.useState();
2857
2092
  const [iconJson, setIconJson] = React.useState();
2858
2093
  const { locale, ssrMenuContent: { categories, healthTools, care, together }, } = React.useContext(NavigationContext);
2859
- const { containerRef, onButtonMouseDown, onClose } = useCSSFocusPopupHelper({
2094
+ const { containerRef, onButtonMouseDown, onClose } = navigationProfileButton.useCSSFocusPopupHelper({
2860
2095
  allowBgScroll: true,
2861
2096
  });
2862
2097
  React.useEffect(() => {
@@ -2867,13 +2102,13 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
2867
2102
  });
2868
2103
  }
2869
2104
  if (item.id === 'care') {
2870
- Promise.resolve().then(function () { return require('./doctor-2a2b78b0.js'); }).then((data) => {
2105
+ Promise.resolve().then(function () { return require('./doctor-dca6d1b2.js'); }).then((data) => {
2871
2106
  if (data === null || data === void 0 ? void 0 : data.default)
2872
2107
  setIconJson(() => data.default);
2873
2108
  });
2874
2109
  }
2875
2110
  else if (item.id === 'ecom') {
2876
- Promise.resolve().then(function () { return require('./cart-d32faa71.js'); }).then((data) => {
2111
+ Promise.resolve().then(function () { return require('./cart-7bc1b943.js'); }).then((data) => {
2877
2112
  if (data === null || data === void 0 ? void 0 : data.default)
2878
2113
  setIconJson(() => data.default);
2879
2114
  });
@@ -2893,7 +2128,7 @@ const ItemNavButton = ({ item, color = 'blue' }) => {
2893
2128
  background: '#E3F2FF',
2894
2129
  };
2895
2130
  return (React__default["default"].createElement(Tag, { tabIndex: 0, href: item.link, "data-event-category": "Hamburger Navigation", "data-event-action": "Click", "data-event-label": item.link, className: styles$1.itemNavButton, ref: containerRef },
2896
- React__default["default"].createElement(index$6.Button, { variant: "light", leftIcon: Lottie && iconJson ? (linkOnly ? (React__default["default"].createElement(Lottie, { animationData: iconJson, loop: true, autoplay: true, style: {
2131
+ React__default["default"].createElement(index$a.Button, { variant: "light", leftIcon: Lottie && iconJson ? (linkOnly ? (React__default["default"].createElement(Lottie, { animationData: iconJson, loop: true, autoplay: true, style: {
2897
2132
  width: 28,
2898
2133
  height: 28,
2899
2134
  } })) : (React__default["default"].createElement("a", { href: normalizeLink.normalizeLinkSlash(item.link + '/') },
@@ -2947,7 +2182,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
2947
2182
  : currentLocation;
2948
2183
  };
2949
2184
  const logoType = siteType === 'helloSites'
2950
- ? (_a = index$3.LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE
2185
+ ? (_a = index$2.LOCALE_SPECS[locale]) === null || _a === void 0 ? void 0 : _a.LOGO_TYPE
2951
2186
  : siteType;
2952
2187
  const isBrowser = typeof window !== 'undefined';
2953
2188
  const scrolling = React.useCallback(throttle__default["default"](() => {
@@ -2997,9 +2232,9 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
2997
2232
  flexShrink: 0,
2998
2233
  }, href: HOME_PAGE_URL },
2999
2234
  React__default["default"].createElement("div", null,
3000
- React__default["default"].createElement(index$c.Logo, { style: {
2235
+ React__default["default"].createElement(index$b.Logo, { style: {
3001
2236
  display: 'flex',
3002
- }, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$1.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
2237
+ }, type: logoType, badge: locale === 'id-ID' && (React__default["default"].createElement("img", { src: index$3.CommonGAssets.getAssetPath('sehat-badge.png'), width: "56", height: "23", loading: "lazy" })), dateForSeasonal: new Date(), locale: locale, key: typeof window !== 'undefined' ? 'client' : 'server' })))),
3003
2238
  !isMobile && (React__default["default"].createElement(React__default["default"].Fragment, null, siteType === 'marryBaby' ? (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems })) : (enableSearchBar && React__default["default"].createElement(NavigtionSearch, { siteType: siteType }))))),
3004
2239
  React__default["default"].createElement(StyledRightGroup, { "data-site-type": siteType },
3005
2240
  !isMobile && (React__default["default"].createElement(React__default["default"].Fragment, null, siteType === 'marryBaby' ? (enableSearchBar && React__default["default"].createElement(NavigtionSearch, { siteType: siteType })) : (React__default["default"].createElement(NavigationMenu, { menuItems: menuItems.filter((m) => m.id !== 'ecom' && m.id !== 'care') })))),
@@ -3010,7 +2245,7 @@ const NavigationBar = ({ onTopBarAppears, languageMenu, menuItems, logoComponent
3010
2245
  enableNavCareBooking && (React__default["default"].createElement(DisplayWrapper, { mediaQueryKey: "mbUp" },
3011
2246
  React__default["default"].createElement(BookingButton, { careUrlFe: statics.CARE_URL_FE, currentUrl: currentUrl, btnName: t('login.booking'), onCareHeaderClick: onBookingClick }))))),
3012
2247
  languageMenu,
3013
- React__default["default"].createElement(NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin, SSO_URL: normalizeLink.normalizeLink(statics.SSO_URL), currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale }),
2248
+ React__default["default"].createElement(navigationProfileButton.NavigationProfileButton, { userInfo: userInfo, siteType: siteType, onLoginClick: onLoginClick || goToLogin, SSO_URL: normalizeLink.normalizeLink(statics.SSO_URL), currentUrl: currentUrl, onLogout: onLogout, isLoading: isUserLoading, locale: locale }),
3014
2249
  cartNumber !== undefined && (React__default["default"].createElement(React__default["default"].Fragment, null,
3015
2250
  !isMobile && (React__default["default"].createElement("hr", { style: {
3016
2251
  height: 20,
@@ -3148,18 +2383,18 @@ const useNavServices = () => {
3148
2383
  link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}/categories`,
3149
2384
  niceName: '',
3150
2385
  thumbnail: isMarryBaby
3151
- ? index$1.CommonGAssets.getAssetPath('categories-mb.svg')
3152
- : index$1.CommonGAssets.getAssetPath('nav-icons/discover.svg'),
2386
+ ? index$3.CommonGAssets.getAssetPath('categories-mb.svg')
2387
+ : index$3.CommonGAssets.getAssetPath('nav-icons/discover.svg'),
3153
2388
  popupType: 'categories',
3154
2389
  });
3155
2390
  enableNavHealthTools &&
3156
2391
  _services.push({
3157
2392
  name: t('home.navigator.menuItem.healthTools'),
3158
2393
  id: 'tools',
3159
- link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$3.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
2394
+ link: `${statics.HOME_PAGE_URL}${locale === 'tl-PH' ? '/fil' : ''}${((_a = index$2.STATIC_PAGES[locale]) === null || _a === void 0 ? void 0 : _a.HEALTH_TOOLS) || ''}`,
3160
2395
  thumbnail: isMarryBaby
3161
- ? index$1.CommonGAssets.getAssetPath('healthtools-mb.svg')
3162
- : index$1.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
2396
+ ? index$3.CommonGAssets.getAssetPath('healthtools-mb.svg')
2397
+ : index$3.CommonGAssets.getAssetPath('nav-icons/health-tools.svg'),
3163
2398
  popupType: 'tools',
3164
2399
  });
3165
2400
  enableNavTogether &&
@@ -3168,8 +2403,8 @@ const useNavServices = () => {
3168
2403
  id: 'together',
3169
2404
  link: normalizeLink.normalizeLinkSlash(statics.TOGETHER_URL_FE + '/'),
3170
2405
  thumbnail: isMarryBaby
3171
- ? index$1.CommonGAssets.getAssetPath('community-mb.svg')
3172
- : index$1.CommonGAssets.getAssetPath('nav-icons/community.svg'),
2406
+ ? index$3.CommonGAssets.getAssetPath('community-mb.svg')
2407
+ : index$3.CommonGAssets.getAssetPath('nav-icons/community.svg'),
3173
2408
  popupType: 'together',
3174
2409
  });
3175
2410
  enableNavEcom &&
@@ -3177,7 +2412,7 @@ const useNavServices = () => {
3177
2412
  name: t('home.navigator.menuItem.helloEcom'),
3178
2413
  id: 'ecom',
3179
2414
  link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/shop'),
3180
- thumbnail: index$1.CommonGAssets.getAssetPath('nav-icons/shop.svg'),
2415
+ thumbnail: index$3.CommonGAssets.getAssetPath('nav-icons/shop.svg'),
3181
2416
  popupType: null,
3182
2417
  });
3183
2418
  enableNavCare &&
@@ -3185,7 +2420,7 @@ const useNavServices = () => {
3185
2420
  name: t('home.navigator.menuItem.helloCare'),
3186
2421
  id: 'care',
3187
2422
  link: normalizeLink.normalizeLinkSlash(statics.HOME_PAGE_URL + '/care'),
3188
- thumbnail: index$1.CommonGAssets.getAssetPath('nav-icons/care.svg'),
2423
+ thumbnail: index$3.CommonGAssets.getAssetPath('nav-icons/care.svg'),
3189
2424
  popupType: locale === 'id-ID' ? 'care' : null,
3190
2425
  });
3191
2426
  return _services;
@@ -3240,7 +2475,7 @@ const _NavigationV2 = (props) => {
3240
2475
  '--header-bottom': headerBottom + 'px',
3241
2476
  }, className: className },
3242
2477
  React__default["default"].createElement("section", { ref: headerRef },
3243
- React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, languageMenu: React__default["default"].createElement(index$9.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
2478
+ React__default["default"].createElement(NavigationBar, { menuItems: services, onTopBarAppears: onTopBarAppears, logoComponent: logoComponent, subHead: subHead, languageMenu: React__default["default"].createElement(index$7.LanguageSwitcher, { languageOptions: languageOptions, locale: locale }) }))));
3244
2479
  };
3245
2480
  const NavigationV2 = (props) => {
3246
2481
  const propsWithDefaultValues = Object.assign({ siteType: 'helloSites', projectType: 'discover', locale: 'vi-VN', activeMenuService: 'categories', ssrMenuContent: {} }, props);
@@ -3270,7 +2505,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
3270
2505
  };
3271
2506
  }
3272
2507
  catch (_z) { }
3273
- if (isMarryBaby || index$3.TOGETHER_LOCALES.includes(locale)) {
2508
+ if (isMarryBaby || index$2.TOGETHER_LOCALES.includes(locale)) {
3274
2509
  try {
3275
2510
  const [communities, spotlightPosts] = yield Promise.all([
3276
2511
  fetch(normalizeLink.normalizeLinkSlash(`${routing.getTogetherApiDomain()}/api/v1/community?website_url=https://${constantsDomainLocales.domainLocales[locale]}`)).then((res) => res.json()),
@@ -3283,7 +2518,7 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
3283
2518
  }
3284
2519
  catch (_0) { }
3285
2520
  }
3286
- if (index$3.CARE_LOCALES.includes(locale)) {
2521
+ if (index$2.CARE_LOCALES.includes(locale)) {
3287
2522
  try {
3288
2523
  const [specialties, hospitals] = yield Promise.all([
3289
2524
  fetch(normalizeLink.normalizeLinkSlash(routing.getCareApiDomain() +
@@ -3305,13 +2540,10 @@ const getNavMenuContent = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0
3305
2540
  return res;
3306
2541
  });
3307
2542
  const getNavMenuContentWithCache = (locale) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
3308
- return (yield core$2.getDataWithCache('nav-menu-content', () => getNavMenuContent(locale || 'en-PH'), (data) => { var _a, _b; return !!((_b = (_a = data === null || data === void 0 ? void 0 : data.categories) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.length); })) || {};
2543
+ return (yield core$1.getDataWithCache('nav-menu-content', () => getNavMenuContent(locale || 'en-PH'), (data) => { var _a, _b; return !!((_b = (_a = data === null || data === void 0 ? void 0 : data.categories) === null || _a === void 0 ? void 0 : _a.items) === null || _b === void 0 ? void 0 : _b.length); })) || {};
3309
2544
  });
3310
2545
 
3311
- exports.NavigationLogoutPopup = NavigationLogoutPopup;
3312
- exports.NavigationProfileButton = NavigationProfileButton;
3313
2546
  exports.NavigationV2 = NavigationV2;
3314
- exports.ProfileNavigation = ProfileNavigation;
3315
2547
  exports.getNavMenuContent = getNavMenuContent;
3316
2548
  exports.getNavMenuContentWithCache = getNavMenuContentWithCache;
3317
2549
  exports.getTogetherUserPostsApiPath = getTogetherUserPostsApiPath;