@hhgtech/hhg-components 1.29.447 → 1.29.449

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 (541) hide show
  1. package/build/{InputDate-4913f9bb.js → InputDate-24409137.js} +5 -5
  2. package/build/{LastPeriod-bf3d3436.js → LastPeriod-e2255d94.js} +1 -1
  3. package/build/{MobileBottomNavigationIcon-fd311112.js → MobileBottomNavigationIcon-e9b8b1f3.js} +3 -3
  4. package/build/{Spinner-2c21fde8.js → Spinner-0e5580dd.js} +1 -1
  5. package/build/{WhatsApp-18a9382f.js → WhatsApp-4f269b5e.js} +1 -1
  6. package/build/adapters.js +20 -20
  7. package/build/atoms.js +50 -50
  8. package/build/babyGrowth.js +85 -85
  9. package/build/cache.js +2 -2
  10. package/build/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
  11. package/build/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
  12. package/build/care.js +18 -18
  13. package/build/careBookingSearchBar.js +14 -14
  14. package/build/careBookingSearchBarV2.js +46 -48
  15. package/build/components/mantine/errorLabel/index.d.ts +5 -2
  16. package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
  17. package/build/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
  18. package/build/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
  19. package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
  20. package/build/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
  21. package/build/components/navigationV2/types.d.ts +10 -0
  22. package/build/components/navigationV2/utils.d.ts +14 -0
  23. package/build/components.js +103 -103
  24. package/build/{constants-8bca9138.js → constants-8581388f.js} +1 -1
  25. package/build/constants.js +3 -3
  26. package/build/constantsDomainLocales.js +1 -1
  27. package/build/constantsRiskScreener.js +2 -2
  28. package/build/constantsSite.js +2 -2
  29. package/build/{core-9308c14e.js → core-e07f90f3.js} +1 -1
  30. package/build/{dataTransform-f2d07361.js → dataTransform-7bc232fa.js} +1 -1
  31. package/build/ecom.js +5 -5
  32. package/build/{editor-1594d420.js → editor-8723b9e8.js} +11 -11
  33. package/build/embeddedHeathToolCards_babyGrowth.js +24 -24
  34. package/build/embeddedHeathToolCards_babyPoop.js +20 -20
  35. package/build/embeddedHeathToolCards_babyVaccine.js +23 -23
  36. package/build/embeddedHeathToolCards_bmi_bmi.js +26 -26
  37. package/build/embeddedHeathToolCards_bmrBmr.js +26 -26
  38. package/build/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
  39. package/build/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
  40. package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
  41. package/build/embeddedHeathToolCards_targetHeartRate.js +28 -28
  42. package/build/esm/{InputDate-90c0cff5.js → InputDate-3dce627d.js} +5 -5
  43. package/build/esm/{LastPeriod-be9eb032.js → LastPeriod-9b827a5a.js} +1 -1
  44. package/build/esm/{MobileBottomNavigationIcon-f2ddb853.js → MobileBottomNavigationIcon-9c95fe33.js} +3 -3
  45. package/build/esm/{Spinner-9fe584c3.js → Spinner-1f9ec7ca.js} +1 -1
  46. package/build/esm/{WhatsApp-e6cbb3d7.js → WhatsApp-e9a34aaf.js} +1 -1
  47. package/build/esm/adapters.js +20 -20
  48. package/build/esm/atoms.js +50 -50
  49. package/build/esm/babyGrowth.js +85 -85
  50. package/build/esm/cache.js +2 -2
  51. package/build/esm/care/components/organisms/bookingSearchBarV2/index.d.ts +2 -1
  52. package/build/esm/care/components/organisms/bookingSearchBarV2/tabSearch/index.d.ts +2 -1
  53. package/build/esm/care.js +18 -18
  54. package/build/esm/careBookingSearchBar.js +14 -14
  55. package/build/esm/careBookingSearchBarV2.js +46 -48
  56. package/build/esm/components/mantine/errorLabel/index.d.ts +5 -2
  57. package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +4 -0
  58. package/build/esm/components/molecules/healthTools/form/bmiForm/context.d.ts +1 -0
  59. package/build/esm/components/molecules/healthTools/form/bmiForm/index.d.ts +1 -1
  60. package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.d.ts +5 -0
  61. package/build/esm/components/navigationV2/components/molecules/menuCategoriesList/Item/index.styled.d.ts +7 -0
  62. package/build/esm/components/navigationV2/types.d.ts +10 -0
  63. package/build/esm/components/navigationV2/utils.d.ts +14 -0
  64. package/build/esm/components.js +103 -103
  65. package/build/esm/{constants-68442954.js → constants-e543d8f5.js} +1 -1
  66. package/build/esm/constants.js +3 -3
  67. package/build/esm/constantsDomainLocales.js +1 -1
  68. package/build/esm/constantsRiskScreener.js +2 -2
  69. package/build/esm/constantsSite.js +2 -2
  70. package/build/esm/{core-44616e6a.js → core-1390b046.js} +1 -1
  71. package/build/esm/{dataTransform-d43fdd1a.js → dataTransform-d6a21d32.js} +1 -1
  72. package/build/esm/ecom.js +5 -5
  73. package/build/esm/{editor-30aa3ad6.js → editor-f7b17ca5.js} +11 -11
  74. package/build/esm/embeddedHeathToolCards_babyGrowth.js +24 -24
  75. package/build/esm/embeddedHeathToolCards_babyPoop.js +20 -20
  76. package/build/esm/embeddedHeathToolCards_babyVaccine.js +23 -23
  77. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +26 -26
  78. package/build/esm/embeddedHeathToolCards_bmrBmr.js +26 -26
  79. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +23 -23
  80. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +23 -23
  81. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
  82. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +28 -28
  83. package/build/esm/footer.js +22 -22
  84. package/build/esm/gAssets.js +2 -2
  85. package/build/esm/{healthTools-8d31ba4c.js → healthTools-09f57b33.js} +1 -1
  86. package/build/esm/healthToolsCardWrapper.js +19 -19
  87. package/build/esm/healthToolsForm.js +34 -34
  88. package/build/esm/hooks.js +13 -13
  89. package/build/esm/i18n/translationKeys.d.ts +1 -1
  90. package/build/esm/i18n-values/en-PH.js +7 -0
  91. package/build/esm/i18n-values/hi-IN.js +7 -0
  92. package/build/esm/i18n-values/id-ID.js +7 -0
  93. package/build/esm/i18n-values/km-KH.js +7 -0
  94. package/build/esm/i18n-values/ms-MY.js +7 -0
  95. package/build/esm/i18n-values/my-MM.js +7 -0
  96. package/build/esm/i18n-values/th-TH.js +7 -0
  97. package/build/esm/i18n-values/tl-PH.js +7 -0
  98. package/build/esm/i18n-values/vi-VN.js +7 -0
  99. package/build/esm/i18n-values/vi-VN_MB.js +7 -0
  100. package/build/esm/i18n-values/zh-SG.js +7 -0
  101. package/build/esm/i18n-values/zh-TW.js +10 -3
  102. package/build/esm/i18n.js +2 -2
  103. package/build/esm/i18nV2.js +2 -2
  104. package/build/esm/{index-9d2a8f4d.js → index-009dcc31.js} +7 -7
  105. package/build/esm/{index-52825707.js → index-018f3348.js} +1 -1
  106. package/build/esm/{index-26bf6bd3.js → index-0b0e7693.js} +3 -3
  107. package/build/esm/{index-d50d23fa.js → index-0e5b5786.js} +2 -2
  108. package/build/esm/{index-54914b2a.js → index-124b650e.js} +2 -2
  109. package/build/esm/{index-206b9bef.js → index-15e1b8ca.js} +3 -3
  110. package/build/esm/{index-7428f659.js → index-25335bbd.js} +16 -16
  111. package/build/esm/{index-4ef48768.js → index-2703cdf4.js} +26 -26
  112. package/build/esm/{index-4dec57f9.js → index-28158e78.js} +32 -32
  113. package/build/esm/{index-50141363.js → index-285f8f9a.js} +1 -1
  114. package/build/esm/{index-0a769c42.js → index-2e3c6ea1.js} +13 -13
  115. package/build/esm/{index-2bfb2578.js → index-3266848c.js} +6 -6
  116. package/build/esm/{index-75316c1e.js → index-33d4c954.js} +13 -13
  117. package/build/esm/index-3762a1d3.js +211 -0
  118. package/build/esm/{index-c01214fe.js → index-37ac608c.js} +2 -2
  119. package/build/esm/{index-2076022b.js → index-3b5bfbce.js} +3 -3
  120. package/build/esm/{index-6c8bb941.js → index-4b7e8ade.js} +17 -17
  121. package/build/esm/{index-d7959b93.js → index-5946fb56.js} +17 -17
  122. package/build/esm/{index-8e283493.js → index-5b7f225a.js} +22 -22
  123. package/build/esm/{index-01c420c3.js → index-6124af09.js} +2 -2
  124. package/build/esm/{index-5232f650.js → index-624177aa.js} +20 -20
  125. package/build/esm/{index-85894b46.js → index-67e90cbd.js} +13 -12
  126. package/build/esm/{index-48b4a8da.js → index-68cf0d3d.js} +2 -2
  127. package/build/esm/{index-59da60a7.js → index-698e287d.js} +1 -1
  128. package/build/esm/{index-f65d577c.js → index-6b5ef864.js} +2 -2
  129. package/build/esm/{index-9e6e8335.js → index-6db8f518.js} +5 -5
  130. package/build/esm/{index-980f99fd.js → index-7a78750d.js} +15 -15
  131. package/build/esm/{index-7954bc16.js → index-84aa6aaf.js} +339 -226
  132. package/build/esm/{index-b79fc8a1.js → index-86df1763.js} +2 -2
  133. package/build/esm/{index-b5a3b1e3.js → index-87e47ad9.js} +1 -1
  134. package/build/esm/{index-d1ad341c.js → index-87fb137e.js} +14 -14
  135. package/build/esm/{index-13586e44.js → index-894fa786.js} +3 -3
  136. package/build/esm/{index-58908973.js → index-8a39a4ff.js} +9 -9
  137. package/build/esm/{index-a106b9cb.js → index-953523ca.js} +3 -3
  138. package/build/esm/{index-6d667650.js → index-956c3104.js} +11 -11
  139. package/build/esm/{index-623e7f2c.js → index-986954db.js} +2 -2
  140. package/build/esm/{index-89ad9053.js → index-a0b390bd.js} +5 -4
  141. package/build/esm/{index-47d3c758.js → index-a33ece8d.js} +3 -3
  142. package/build/esm/{index-b0854ce5.js → index-a36af882.js} +2 -2
  143. package/build/esm/{index-6757dd1d.js → index-a47d2b5e.js} +4 -4
  144. package/build/esm/{index-62cad5ea.js → index-a565ea21.js} +32 -32
  145. package/build/esm/{index-bdd4f96f.js → index-a8154f36.js} +13 -13
  146. package/build/esm/{index-8d52f569.js → index-a9726b34.js} +21 -21
  147. package/build/esm/{index-ef25e2e6.js → index-aae384e2.js} +2 -2
  148. package/build/esm/{index-e2a6f850.js → index-aae6890c.js} +6 -6
  149. package/build/esm/{index-c2e955e0.js → index-b1df4dc0.js} +6 -6
  150. package/build/esm/{index-b967a2f5.js → index-bba98932.js} +1 -1
  151. package/build/esm/{index-c802034c.js → index-c08b664e.js} +11 -30
  152. package/build/esm/{index-e539fbcb.js → index-c15b3e52.js} +16 -16
  153. package/build/esm/{index-ea6fdd20.js → index-c2ac6223.js} +3 -3
  154. package/build/esm/{index-689e35a5.js → index-c8cc925a.js} +13 -13
  155. package/build/esm/{index-bf012932.js → index-d6c03074.js} +6 -6
  156. package/build/esm/{index-0765c99d.js → index-d7f21a0a.js} +2 -2
  157. package/build/esm/{index-f91f9374.js → index-df69c3f3.js} +3 -3
  158. package/build/esm/{index-73f4d56a.js → index-e02ef7d6.js} +2 -2
  159. package/build/esm/{index-6e32904f.js → index-e0815043.js} +25 -25
  160. package/build/esm/{index-176c6145.js → index-e43d9883.js} +2 -2
  161. package/build/esm/{index-7aeb3d7d.js → index-e4cce86c.js} +1 -1
  162. package/build/esm/{index-cc8ccf46.js → index-e82146dd.js} +2 -2
  163. package/build/esm/{index-4f2ea78b.js → index-ec035017.js} +7 -7
  164. package/build/esm/{index-09db0e94.js → index-ee569944.js} +13 -13
  165. package/build/esm/{index-c81867e9.js → index-ee8214b0.js} +17 -17
  166. package/build/esm/{index-2dda251a.js → index-f1405f15.js} +2 -2
  167. package/build/esm/{index-efe47c94.js → index-f1997e45.js} +15 -15
  168. package/build/esm/{index-472541a7.js → index-f251b18a.js} +15 -15
  169. package/build/esm/{index-d830bd64.js → index-f2d03a1d.js} +8 -8
  170. package/build/esm/{index-99a46d0d.js → index-f59741be.js} +5 -5
  171. package/build/esm/{index-0e69e754.js → index-f609df6c.js} +1 -1
  172. package/build/esm/{index-5f94e77c.js → index-f6aeb770.js} +2 -2
  173. package/build/esm/{index-3b3f2f77.js → index-fc222ea2.js} +14 -13
  174. package/build/esm/{index-5efeab14.js → index-fe18b552.js} +2 -2
  175. package/build/esm/index.js +124 -124
  176. package/build/esm/{labelSorting-72c7e85c.js → labelSorting-5dd8f41f.js} +4 -4
  177. package/build/esm/lead.js +36 -36
  178. package/build/esm/{logoIcon-8eb95814.js → logoIcon-e4cf9191.js} +2 -2
  179. package/build/esm/mantine.js +26 -26
  180. package/build/esm/misc.js +19 -19
  181. package/build/esm/miscGetDynamicHealthTool.js +4 -4
  182. package/build/esm/miscGetSocialList.js +8 -8
  183. package/build/esm/miscScreenSizeContext.js +1 -1
  184. package/build/esm/mobileBottomNavigation.js +5 -5
  185. package/build/esm/mobileBottomNavigationIcon.js +5 -5
  186. package/build/esm/molecules.js +77 -77
  187. package/build/esm/moleculesArticleCard.js +6 -6
  188. package/build/esm/moleculesArticleCardV2.js +17 -17
  189. package/build/esm/navigation.js +47 -47
  190. package/build/esm/navigationLogoutPopup.js +11 -11
  191. package/build/esm/navigationProfileButton.js +27 -27
  192. package/build/esm/onboardingV2.js +30 -30
  193. package/build/esm/organisms.js +57 -57
  194. package/build/esm/{post-012251c0.js → post-3b265413.js} +2 -2
  195. package/build/esm/profileNavigation.js +20 -20
  196. package/build/esm/progressBar.js +1 -1
  197. package/build/esm/pwg.js +23 -23
  198. package/build/esm/ssoV2.js +31 -31
  199. package/build/esm/{store-de1bfc44.js → store-7a9c182a.js} +3 -3
  200. package/build/esm/subot.js +37 -37
  201. package/build/esm/surveyOrPremiumBanner.js +34 -34
  202. package/build/esm/surveyQuestionCard.js +11 -11
  203. package/build/esm/{surveyThankyouCard-7fa6731d.js → surveyThankyouCard-f6ebc827.js} +5 -5
  204. package/build/esm/together.js +57 -57
  205. package/build/esm/togetherApiUtils.js +4 -4
  206. package/build/esm/togetherAtoms.js +31 -31
  207. package/build/esm/togetherComponentGlobalContext.js +4 -4
  208. package/build/esm/togetherMolecules.js +52 -52
  209. package/build/esm/togetherMoleculesCardAuthor.js +29 -29
  210. package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
  211. package/build/esm/togetherMoleculesProfileDetail.js +40 -40
  212. package/build/esm/togetherOrganisms.js +51 -51
  213. package/build/esm/togetherRichTextEditor.js +18 -18
  214. package/build/esm/togetherShareBox.js +10 -10
  215. package/build/esm/{translationsProvider-d462a8ab.js → translationsProvider-a890102d.js} +1 -1
  216. package/build/esm/{treePopoverMenu-6cabe5c3.js → treePopoverMenu-4d200663.js} +19 -19
  217. package/build/esm/types.js +2 -2
  218. package/build/esm/{useHealthToolCache-b6025b32.js → useHealthToolCache-44a0df67.js} +1 -1
  219. package/build/esm/{usePhoneValidator-448d2161.js → usePhoneValidator-38931ada.js} +5 -5
  220. package/build/esm/{usePlacesAutocomplete-4bb4e161.js → usePlacesAutocomplete-6d3d8323.js} +1 -1
  221. package/build/esm/useTogetherAuthRequiredAction.js +10 -10
  222. package/build/esm/{utils-9480c800.js → utils-18bba61b.js} +5 -5
  223. package/build/esm/{utils-50327fb1.js → utils-201b7d47.js} +2 -2
  224. package/build/esm/{utils-b5b80f58.js → utils-67b40f2e.js} +2 -2
  225. package/build/esm/{utils-766da2de.js → utils-cb10f0c9.js} +3 -3
  226. package/build/esm/{utils-80afcb99.js → utils-dd2a3cf7.js} +1 -1
  227. package/build/esm/vaccination.js +22 -22
  228. package/build/footer.js +22 -22
  229. package/build/gAssets.js +2 -2
  230. package/build/{healthTools-3d8bcbfb.js → healthTools-ff9f4490.js} +1 -1
  231. package/build/healthToolsCardWrapper.js +19 -19
  232. package/build/healthToolsForm.js +34 -34
  233. package/build/hooks.js +13 -13
  234. package/build/i18n/translationKeys.d.ts +1 -1
  235. package/build/i18n-values/en-PH.js +7 -0
  236. package/build/i18n-values/hi-IN.js +7 -0
  237. package/build/i18n-values/id-ID.js +7 -0
  238. package/build/i18n-values/km-KH.js +7 -0
  239. package/build/i18n-values/ms-MY.js +7 -0
  240. package/build/i18n-values/my-MM.js +7 -0
  241. package/build/i18n-values/th-TH.js +7 -0
  242. package/build/i18n-values/tl-PH.js +7 -0
  243. package/build/i18n-values/vi-VN.js +7 -0
  244. package/build/i18n-values/vi-VN_MB.js +7 -0
  245. package/build/i18n-values/zh-SG.js +7 -0
  246. package/build/i18n-values/zh-TW.js +10 -3
  247. package/build/i18n.js +2 -2
  248. package/build/i18nV2.js +1 -1
  249. package/build/{index-b4c1f59f.js → index-01efec09.js} +2 -2
  250. package/build/{index-f63bff2e.js → index-07e631b9.js} +2 -2
  251. package/build/{index-a79cb92d.js → index-08939d41.js} +2 -2
  252. package/build/{index-d6d389d5.js → index-0c3c27d7.js} +2 -2
  253. package/build/{index-632f6242.js → index-0dcd8280.js} +13 -13
  254. package/build/{index-6199d4c9.js → index-11f819fa.js} +15 -15
  255. package/build/{index-aaaea7c1.js → index-18acca73.js} +8 -8
  256. package/build/{index-55f9c668.js → index-19af0163.js} +3 -3
  257. package/build/{index-ce54f2cc.js → index-1aecbc1a.js} +32 -32
  258. package/build/{index-2a28b6d9.js → index-1b934b44.js} +13 -13
  259. package/build/{index-de070f76.js → index-1c8547ba.js} +2 -2
  260. package/build/{index-e5dbd40e.js → index-21dfe2bd.js} +2 -2
  261. package/build/{index-65b55bb1.js → index-237f01cf.js} +3 -3
  262. package/build/{index-fcc313b5.js → index-248d08ea.js} +4 -4
  263. package/build/{index-f34a04cd.js → index-26748f64.js} +7 -7
  264. package/build/{index-e1f2cfda.js → index-2934225d.js} +14 -14
  265. package/build/{index-a20d76a9.js → index-2b578109.js} +17 -17
  266. package/build/{index-12319903.js → index-2d74352f.js} +2 -2
  267. package/build/{index-a85ac47f.js → index-2f23d479.js} +1 -1
  268. package/build/{index-8341a85f.js → index-39206395.js} +3 -3
  269. package/build/{index-42f7dc62.js → index-3d77a291.js} +14 -13
  270. package/build/{index-f28e34d9.js → index-413bc08c.js} +5 -5
  271. package/build/{index-9d1e4d5a.js → index-42c8be1c.js} +32 -32
  272. package/build/{index-ddb9f70e.js → index-4467327d.js} +15 -15
  273. package/build/{index-dc205198.js → index-511d3d6a.js} +3 -3
  274. package/build/{index-ae031fa6.js → index-51a99dac.js} +20 -20
  275. package/build/{index-d22d99f1.js → index-5322f269.js} +5 -4
  276. package/build/{index-f4721ca5.js → index-5423ff4c.js} +2 -2
  277. package/build/{index-6a961c75.js → index-557bf598.js} +5 -5
  278. package/build/{index-4870a37e.js → index-58d5c117.js} +3 -3
  279. package/build/{index-0db0741a.js → index-5f778a4d.js} +3 -3
  280. package/build/{index-d78a97ab.js → index-5f937ee5.js} +25 -25
  281. package/build/{index-265a4e19.js → index-601f980c.js} +1 -1
  282. package/build/{index-53717590.js → index-60efda96.js} +1 -1
  283. package/build/{index-09854086.js → index-683bbe3d.js} +342 -229
  284. package/build/{index-56eb0cbb.js → index-6e1934a1.js} +2 -2
  285. package/build/{index-9c679fe3.js → index-6ff83c58.js} +17 -17
  286. package/build/{index-230f438f.js → index-7481f662.js} +12 -11
  287. package/build/{index-88d01c13.js → index-7d50aa10.js} +26 -26
  288. package/build/{index-6782d333.js → index-7fed156e.js} +13 -13
  289. package/build/{index-31a6d507.js → index-8b68f0a5.js} +6 -6
  290. package/build/{index-39350a42.js → index-8b77ee34.js} +1 -1
  291. package/build/{index-59de52c5.js → index-95d9672a.js} +11 -11
  292. package/build/{index-19db08d3.js → index-a598ae10.js} +9 -9
  293. package/build/{index-d74c3072.js → index-b1020b33.js} +2 -2
  294. package/build/{index-2c04aff5.js → index-b115e4ec.js} +2 -2
  295. package/build/{index-bf412e77.js → index-b1449c55.js} +17 -17
  296. package/build/{index-1dcdb312.js → index-b638dbe7.js} +6 -6
  297. package/build/{index-ef1b650e.js → index-b6e47e2b.js} +2 -2
  298. package/build/{index-e0f647d1.js → index-ba9ca44c.js} +16 -16
  299. package/build/index-bbe5cb13.js +217 -0
  300. package/build/{index-07f21795.js → index-c19368b2.js} +11 -30
  301. package/build/{index-505b1d6d.js → index-caaf6cac.js} +2 -2
  302. package/build/{index-cbea48d4.js → index-ccdca7bf.js} +6 -6
  303. package/build/{index-38b56ca0.js → index-ce0a7efa.js} +3 -3
  304. package/build/{index-d17e8880.js → index-d1263a2e.js} +2 -2
  305. package/build/{index-931e5c64.js → index-d2e88e2c.js} +16 -16
  306. package/build/{index-ef2aecbb.js → index-d3ff96d5.js} +22 -22
  307. package/build/{index-de177d58.js → index-d9dc3d04.js} +3 -3
  308. package/build/{index-d28a3eaa.js → index-dcf1d862.js} +2 -2
  309. package/build/{index-915e37e3.js → index-dd871125.js} +2 -2
  310. package/build/{index-8e8d2c4e.js → index-df2c3b53.js} +21 -21
  311. package/build/{index-b9744f83.js → index-e033f570.js} +6 -6
  312. package/build/{index-30599a41.js → index-e4be8339.js} +13 -13
  313. package/build/{index-7f3b90c3.js → index-eb299593.js} +1 -1
  314. package/build/{index-c88a15b0.js → index-eb87cec3.js} +7 -7
  315. package/build/{index-881089df.js → index-f335bea0.js} +15 -15
  316. package/build/{index-f245fc9d.js → index-f8305dc1.js} +2 -2
  317. package/build/{index-df85eb4f.js → index-f8f65dcd.js} +13 -13
  318. package/build/{index-da2c5878.js → index-fc88ab02.js} +1 -1
  319. package/build/{index-f8ac1bf2.js → index-fd836996.js} +1 -1
  320. package/build/index.js +124 -124
  321. package/build/{labelSorting-9ffbfef0.js → labelSorting-74bbe89d.js} +4 -4
  322. package/build/lead.js +36 -36
  323. package/build/{logoIcon-77792f69.js → logoIcon-d5a594e3.js} +2 -2
  324. package/build/mantine.js +24 -24
  325. package/build/misc.js +19 -19
  326. package/build/miscGetDynamicHealthTool.js +4 -4
  327. package/build/miscGetSocialList.js +8 -8
  328. package/build/miscScreenSizeContext.js +1 -1
  329. package/build/mobileBottomNavigation.js +5 -5
  330. package/build/mobileBottomNavigationIcon.js +5 -5
  331. package/build/molecules.js +77 -77
  332. package/build/moleculesArticleCard.js +6 -6
  333. package/build/moleculesArticleCardV2.js +17 -17
  334. package/build/navigation.js +47 -47
  335. package/build/navigationLogoutPopup.js +11 -11
  336. package/build/navigationProfileButton.js +27 -27
  337. package/build/onboardingV2.js +29 -29
  338. package/build/organisms.js +57 -57
  339. package/build/{post-f8bebecf.js → post-7d7fd183.js} +2 -2
  340. package/build/profileNavigation.js +20 -20
  341. package/build/progressBar.js +1 -1
  342. package/build/pwg.js +23 -23
  343. package/build/ssoV2.js +29 -29
  344. package/build/{store-0ef81ac8.js → store-fed68173.js} +3 -3
  345. package/build/subot.js +36 -36
  346. package/build/surveyOrPremiumBanner.js +34 -34
  347. package/build/surveyQuestionCard.js +11 -11
  348. package/build/{surveyThankyouCard-043fcdfe.js → surveyThankyouCard-7f3e3111.js} +5 -5
  349. package/build/together.js +57 -57
  350. package/build/togetherApiUtils.js +4 -4
  351. package/build/togetherAtoms.js +31 -31
  352. package/build/togetherComponentGlobalContext.js +4 -4
  353. package/build/togetherMolecules.js +52 -52
  354. package/build/togetherMoleculesCardAuthor.js +29 -29
  355. package/build/togetherMoleculesPostImagePreview.js +11 -11
  356. package/build/togetherMoleculesProfileDetail.js +40 -40
  357. package/build/togetherOrganisms.js +51 -51
  358. package/build/togetherRichTextEditor.js +18 -18
  359. package/build/togetherShareBox.js +10 -10
  360. package/build/{translationsProvider-56b09602.js → translationsProvider-f3b53e26.js} +1 -1
  361. package/build/{treePopoverMenu-f2a3f062.js → treePopoverMenu-4e52e5d8.js} +19 -19
  362. package/build/types.js +2 -2
  363. package/build/{useHealthToolCache-e2349f7c.js → useHealthToolCache-dcb0cf9f.js} +1 -1
  364. package/build/{usePhoneValidator-9fde44ba.js → usePhoneValidator-62193dfa.js} +5 -5
  365. package/build/{usePlacesAutocomplete-58b6d3b2.js → usePlacesAutocomplete-1932fd69.js} +1 -1
  366. package/build/useTogetherAuthRequiredAction.js +10 -10
  367. package/build/{utils-a6d1698a.js → utils-0360114a.js} +2 -2
  368. package/build/{utils-8834e04e.js → utils-0a198ca7.js} +2 -2
  369. package/build/{utils-e739a670.js → utils-4845e537.js} +5 -5
  370. package/build/{utils-9137d090.js → utils-623e143c.js} +3 -3
  371. package/build/{utils-b8c2d5f2.js → utils-82aae0e1.js} +1 -1
  372. package/build/vaccination.js +22 -22
  373. package/package.json +1 -1
  374. package/build/esm/index-b1e6d0d1.js +0 -149
  375. package/build/index-b1eee79c.js +0 -155
  376. /package/build/{BMI_BOYS.percentile.monthly-ce3809ba.js → BMI_BOYS.percentile.monthly-64388526.js} +0 -0
  377. /package/build/{BMI_BOYS.percentile.weekly-78d35760.js → BMI_BOYS.percentile.weekly-96bacc97.js} +0 -0
  378. /package/build/{BMI_BOYS.percentile.yearly-5a647f21.js → BMI_BOYS.percentile.yearly-b0fd01fb.js} +0 -0
  379. /package/build/{BMI_BOYS.zscore.monthly-51c41d06.js → BMI_BOYS.zscore.monthly-ecaf1aa2.js} +0 -0
  380. /package/build/{BMI_BOYS.zscore.weekly-a027c001.js → BMI_BOYS.zscore.weekly-681d477b.js} +0 -0
  381. /package/build/{BMI_BOYS.zscore.yearly-b0dc31fe.js → BMI_BOYS.zscore.yearly-76372869.js} +0 -0
  382. /package/build/{BMI_GIRLS.percentile.monthly-5cc2bce0.js → BMI_GIRLS.percentile.monthly-ee0f41a5.js} +0 -0
  383. /package/build/{BMI_GIRLS.percentile.weekly-c9de3fbd.js → BMI_GIRLS.percentile.weekly-7807e203.js} +0 -0
  384. /package/build/{BMI_GIRLS.percentile.yearly-c9fcfd04.js → BMI_GIRLS.percentile.yearly-8596300e.js} +0 -0
  385. /package/build/{BMI_GIRLS.zscore.monthly-ab34391f.js → BMI_GIRLS.zscore.monthly-91e7c8d2.js} +0 -0
  386. /package/build/{BMI_GIRLS.zscore.weekly-65cf6a62.js → BMI_GIRLS.zscore.weekly-f4dc112e.js} +0 -0
  387. /package/build/{BMI_GIRLS.zscore.yearly-d9119e98.js → BMI_GIRLS.zscore.yearly-c23a1d91.js} +0 -0
  388. /package/build/{ChevronDown-e4525f19.js → ChevronDown-f9ff6d5c.js} +0 -0
  389. /package/build/{Close-0e7526fe.js → Close-f856c59c.js} +0 -0
  390. /package/build/{Google-58e9167c.js → Google-1d7f64f7.js} +0 -0
  391. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-9205451a.js → HEAD CIRCUM_BOYS.percentile.monthly-be62af9f.js} +0 -0
  392. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-51dcf96d.js → HEAD CIRCUM_BOYS.percentile.weekly-dbbc97fb.js} +0 -0
  393. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-63177395.js → HEAD CIRCUM_BOYS.percentile.yearly-cc4fa2e6.js} +0 -0
  394. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ba10a62c.js → HEAD CIRCUM_BOYS.zscore.monthly-9e4e757e.js} +0 -0
  395. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-4bb526b9.js → HEAD CIRCUM_BOYS.zscore.weekly-b2ba14ce.js} +0 -0
  396. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d7a4ab21.js → HEAD CIRCUM_BOYS.zscore.yearly-2768ff78.js} +0 -0
  397. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b5f612d0.js → HEAD CIRCUM_GIRLS.percentile.monthly-c11b60ac.js} +0 -0
  398. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-4b36a997.js → HEAD CIRCUM_GIRLS.percentile.weekly-f76429ab.js} +0 -0
  399. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5a550f83.js → HEAD CIRCUM_GIRLS.percentile.yearly-e4626ea2.js} +0 -0
  400. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-f64f370d.js → HEAD CIRCUM_GIRLS.zscore.monthly-65bb1b0e.js} +0 -0
  401. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-51a8ba5e.js → HEAD CIRCUM_GIRLS.zscore.weekly-7f1486ff.js} +0 -0
  402. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d9c182b3.js → HEAD CIRCUM_GIRLS.zscore.yearly-06c06c59.js} +0 -0
  403. /package/build/{HEIGHT_BOYS.percentile.monthly-f68e5eab.js → HEIGHT_BOYS.percentile.monthly-99681dff.js} +0 -0
  404. /package/build/{HEIGHT_BOYS.percentile.weekly-914462c2.js → HEIGHT_BOYS.percentile.weekly-01909f15.js} +0 -0
  405. /package/build/{HEIGHT_BOYS.percentile.yearly-281e01c1.js → HEIGHT_BOYS.percentile.yearly-f505fda1.js} +0 -0
  406. /package/build/{HEIGHT_BOYS.zscore.monthly-41b1f57a.js → HEIGHT_BOYS.zscore.monthly-4a21b52f.js} +0 -0
  407. /package/build/{HEIGHT_BOYS.zscore.weekly-bce2de25.js → HEIGHT_BOYS.zscore.weekly-aa449621.js} +0 -0
  408. /package/build/{HEIGHT_BOYS.zscore.yearly-72c4b64c.js → HEIGHT_BOYS.zscore.yearly-66899d25.js} +0 -0
  409. /package/build/{HEIGHT_GIRLS.percentile.monthly-af10bb78.js → HEIGHT_GIRLS.percentile.monthly-905eb36d.js} +0 -0
  410. /package/build/{HEIGHT_GIRLS.percentile.weekly-557ba737.js → HEIGHT_GIRLS.percentile.weekly-193b05a7.js} +0 -0
  411. /package/build/{HEIGHT_GIRLS.percentile.yearly-5d7be953.js → HEIGHT_GIRLS.percentile.yearly-87775fd0.js} +0 -0
  412. /package/build/{HEIGHT_GIRLS.zscore.monthly-ad6cf645.js → HEIGHT_GIRLS.zscore.monthly-0960283f.js} +0 -0
  413. /package/build/{HEIGHT_GIRLS.zscore.weekly-e05a8a39.js → HEIGHT_GIRLS.zscore.weekly-ac97c2fb.js} +0 -0
  414. /package/build/{HEIGHT_GIRLS.zscore.yearly-89763cff.js → HEIGHT_GIRLS.zscore.yearly-9d75bb52.js} +0 -0
  415. /package/build/{Locale-b35b0a4c.js → Locale-21703205.js} +0 -0
  416. /package/build/{Visible-4bc73de5.js → Visible-5b63e125.js} +0 -0
  417. /package/build/{WEIGHT_BOYS.percentile.monthly-d588f52b.js → WEIGHT_BOYS.percentile.monthly-950f0d5b.js} +0 -0
  418. /package/build/{WEIGHT_BOYS.percentile.weekly-134a22e1.js → WEIGHT_BOYS.percentile.weekly-2e31c573.js} +0 -0
  419. /package/build/{WEIGHT_BOYS.percentile.yearly-046bc901.js → WEIGHT_BOYS.percentile.yearly-48eda7db.js} +0 -0
  420. /package/build/{WEIGHT_BOYS.zscore.monthly-6343c788.js → WEIGHT_BOYS.zscore.monthly-0a05428f.js} +0 -0
  421. /package/build/{WEIGHT_BOYS.zscore.weekly-95513544.js → WEIGHT_BOYS.zscore.weekly-2e1aed26.js} +0 -0
  422. /package/build/{WEIGHT_BOYS.zscore.yearly-59a6e517.js → WEIGHT_BOYS.zscore.yearly-73d94e19.js} +0 -0
  423. /package/build/{WEIGHT_GIRLS.percentile.monthly-5ae1dff3.js → WEIGHT_GIRLS.percentile.monthly-0a95041e.js} +0 -0
  424. /package/build/{WEIGHT_GIRLS.percentile.weekly-27df29a9.js → WEIGHT_GIRLS.percentile.weekly-a2641830.js} +0 -0
  425. /package/build/{WEIGHT_GIRLS.percentile.yearly-3eb0a95c.js → WEIGHT_GIRLS.percentile.yearly-3f61f94c.js} +0 -0
  426. /package/build/{WEIGHT_GIRLS.zscore.monthly-7658abd8.js → WEIGHT_GIRLS.zscore.monthly-4d3a6476.js} +0 -0
  427. /package/build/{WEIGHT_GIRLS.zscore.weekly-6cc2557f.js → WEIGHT_GIRLS.zscore.weekly-79691be3.js} +0 -0
  428. /package/build/{WEIGHT_GIRLS.zscore.yearly-87b18cd1.js → WEIGHT_GIRLS.zscore.yearly-0c9558ae.js} +0 -0
  429. /package/build/{ageGenerate-cf978c22.js → ageGenerate-737fc72e.js} +0 -0
  430. /package/build/{animation-6cf72a84.js → animation-9db10b7b.js} +0 -0
  431. /package/build/{constants-86f7b021.js → constants-ab886302.js} +0 -0
  432. /package/build/{constants-c6f7152d.js → constants-ac33e489.js} +0 -0
  433. /package/build/{constants-e8cf502b.js → constants-ffa1b205.js} +0 -0
  434. /package/build/{dataTransform-ee6c1539.js → dataTransform-2cfd6d97.js} +0 -0
  435. /package/build/esm/{BMI_BOYS.percentile.monthly-40441275.js → BMI_BOYS.percentile.monthly-c0a4f90f.js} +0 -0
  436. /package/build/esm/{BMI_BOYS.percentile.weekly-a6ec9c11.js → BMI_BOYS.percentile.weekly-1590c749.js} +0 -0
  437. /package/build/esm/{BMI_BOYS.percentile.yearly-8972669c.js → BMI_BOYS.percentile.yearly-db5a9c57.js} +0 -0
  438. /package/build/esm/{BMI_BOYS.zscore.monthly-8963a5f4.js → BMI_BOYS.zscore.monthly-6f93b444.js} +0 -0
  439. /package/build/esm/{BMI_BOYS.zscore.weekly-ca568aae.js → BMI_BOYS.zscore.weekly-60d9a41e.js} +0 -0
  440. /package/build/esm/{BMI_BOYS.zscore.yearly-a12439e1.js → BMI_BOYS.zscore.yearly-cd231f12.js} +0 -0
  441. /package/build/esm/{BMI_GIRLS.percentile.monthly-d5483c9e.js → BMI_GIRLS.percentile.monthly-4481cde1.js} +0 -0
  442. /package/build/esm/{BMI_GIRLS.percentile.weekly-a376069b.js → BMI_GIRLS.percentile.weekly-07e54b08.js} +0 -0
  443. /package/build/esm/{BMI_GIRLS.percentile.yearly-2eb8acbc.js → BMI_GIRLS.percentile.yearly-2fa03a42.js} +0 -0
  444. /package/build/esm/{BMI_GIRLS.zscore.monthly-e367c711.js → BMI_GIRLS.zscore.monthly-9e78ab4b.js} +0 -0
  445. /package/build/esm/{BMI_GIRLS.zscore.weekly-e1ca0aa3.js → BMI_GIRLS.zscore.weekly-352e21bc.js} +0 -0
  446. /package/build/esm/{BMI_GIRLS.zscore.yearly-c2901b95.js → BMI_GIRLS.zscore.yearly-1cec0c3b.js} +0 -0
  447. /package/build/esm/{ChevronDown-068736f0.js → ChevronDown-b1831bd1.js} +0 -0
  448. /package/build/esm/{Close-7bb48333.js → Close-cb4246c4.js} +0 -0
  449. /package/build/esm/{Google-3c433d7f.js → Google-10028921.js} +0 -0
  450. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-002461b0.js → HEAD CIRCUM_BOYS.percentile.monthly-70bc07b0.js} +0 -0
  451. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3834e91d.js → HEAD CIRCUM_BOYS.percentile.weekly-b93ae0b4.js} +0 -0
  452. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-25a59ddf.js → HEAD CIRCUM_BOYS.percentile.yearly-bc0e3122.js} +0 -0
  453. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-be3dc7b3.js → HEAD CIRCUM_BOYS.zscore.monthly-c0ad34be.js} +0 -0
  454. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3df397e8.js → HEAD CIRCUM_BOYS.zscore.weekly-7634a871.js} +0 -0
  455. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-31f6f30f.js → HEAD CIRCUM_BOYS.zscore.yearly-fa621025.js} +0 -0
  456. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-71b3efb8.js → HEAD CIRCUM_GIRLS.percentile.monthly-868e5d09.js} +0 -0
  457. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-72fb84d7.js → HEAD CIRCUM_GIRLS.percentile.weekly-afbf7067.js} +0 -0
  458. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-f2b9a2ca.js → HEAD CIRCUM_GIRLS.percentile.yearly-91105b66.js} +0 -0
  459. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8d9a727c.js → HEAD CIRCUM_GIRLS.zscore.monthly-27f61e56.js} +0 -0
  460. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-6b3b77c4.js → HEAD CIRCUM_GIRLS.zscore.weekly-93baf78f.js} +0 -0
  461. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0cb2b413.js → HEAD CIRCUM_GIRLS.zscore.yearly-3c5c3fd6.js} +0 -0
  462. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-67cf78bf.js → HEIGHT_BOYS.percentile.monthly-639e3991.js} +0 -0
  463. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a50f523e.js → HEIGHT_BOYS.percentile.weekly-6af13743.js} +0 -0
  464. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-2124968e.js → HEIGHT_BOYS.percentile.yearly-c007fd98.js} +0 -0
  465. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-8aa6c4b6.js → HEIGHT_BOYS.zscore.monthly-44c01034.js} +0 -0
  466. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a17466d7.js → HEIGHT_BOYS.zscore.weekly-6a3a14c7.js} +0 -0
  467. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-12daea7f.js → HEIGHT_BOYS.zscore.yearly-5c86365e.js} +0 -0
  468. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-fb440fea.js → HEIGHT_GIRLS.percentile.monthly-748adb7c.js} +0 -0
  469. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a93a99a9.js → HEIGHT_GIRLS.percentile.weekly-8f02bf9b.js} +0 -0
  470. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-09dc9fd9.js → HEIGHT_GIRLS.percentile.yearly-8a2f5362.js} +0 -0
  471. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-09605dba.js → HEIGHT_GIRLS.zscore.monthly-b23ea2fe.js} +0 -0
  472. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-58598b18.js → HEIGHT_GIRLS.zscore.weekly-7e2b4e64.js} +0 -0
  473. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-b7b3d01e.js → HEIGHT_GIRLS.zscore.yearly-a89eac60.js} +0 -0
  474. /package/build/esm/{Locale-4ae68452.js → Locale-e2c9e644.js} +0 -0
  475. /package/build/esm/{Visible-1b567464.js → Visible-40c9c6dd.js} +0 -0
  476. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-97f22c05.js → WEIGHT_BOYS.percentile.monthly-3836d813.js} +0 -0
  477. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e342ec15.js → WEIGHT_BOYS.percentile.weekly-8d6050c4.js} +0 -0
  478. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a032d854.js → WEIGHT_BOYS.percentile.yearly-049a5138.js} +0 -0
  479. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-65dd93ff.js → WEIGHT_BOYS.zscore.monthly-7aa69615.js} +0 -0
  480. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-d52cfec8.js → WEIGHT_BOYS.zscore.weekly-97805eea.js} +0 -0
  481. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-81f5e0da.js → WEIGHT_BOYS.zscore.yearly-630f5428.js} +0 -0
  482. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-50d8b9e9.js → WEIGHT_GIRLS.percentile.monthly-0cae423f.js} +0 -0
  483. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-176c3358.js → WEIGHT_GIRLS.percentile.weekly-99da2768.js} +0 -0
  484. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7885114a.js → WEIGHT_GIRLS.percentile.yearly-6b5eb2cc.js} +0 -0
  485. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f9314af0.js → WEIGHT_GIRLS.zscore.monthly-3dc3505a.js} +0 -0
  486. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-3331ca0f.js → WEIGHT_GIRLS.zscore.weekly-0e88e512.js} +0 -0
  487. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-239ffb74.js → WEIGHT_GIRLS.zscore.yearly-68062da6.js} +0 -0
  488. /package/build/esm/{ageGenerate-dab5fce5.js → ageGenerate-ebee5783.js} +0 -0
  489. /package/build/esm/{animation-86d8094f.js → animation-abc95ed4.js} +0 -0
  490. /package/build/esm/{constants-27521278.js → constants-100a4c50.js} +0 -0
  491. /package/build/esm/{constants-ebbd4a69.js → constants-a10fbc8a.js} +0 -0
  492. /package/build/esm/{constants-e72098ce.js → constants-fedfafa8.js} +0 -0
  493. /package/build/esm/{dataTransform-496d68bd.js → dataTransform-00b299fa.js} +0 -0
  494. /package/build/esm/{index-7e25eace.js → index-0002ea87.js} +0 -0
  495. /package/build/esm/{index-f8e98880.js → index-1da1785d.js} +0 -0
  496. /package/build/esm/{index-e97a55a1.js → index-37918dfe.js} +0 -0
  497. /package/build/esm/{index-f59d4d8a.js → index-62988070.js} +0 -0
  498. /package/build/esm/{index-21c0f6e6.js → index-71231940.js} +0 -0
  499. /package/build/esm/{index-3e2f300a.js → index-796c8998.js} +0 -0
  500. /package/build/esm/{index-94baa100.js → index-87653e07.js} +0 -0
  501. /package/build/esm/{index-4cd8b0f6.js → index-a85de6a1.js} +0 -0
  502. /package/build/esm/{index.styles-590ff17d.js → index.styles-883d7842.js} +0 -0
  503. /package/build/esm/{localizeNumberFormat-267bdf98.js → localizeNumberFormat-f933aa1f.js} +0 -0
  504. /package/build/esm/{normalizeLink-fdde228f.js → normalizeLink-7e079f73.js} +0 -0
  505. /package/build/esm/{number-3ea886ef.js → number-5ca1ce5f.js} +0 -0
  506. /package/build/esm/{paths-012e6e0e.js → paths-00557f58.js} +0 -0
  507. /package/build/esm/{shared-c74f5553.js → shared-7aa9f950.js} +0 -0
  508. /package/build/esm/{text-6f2656a6.js → text-c1c3ae38.js} +0 -0
  509. /package/build/esm/{translationsContext-59e5652c.js → translationsContext-140a78c1.js} +0 -0
  510. /package/build/esm/{tslib.es6-5a49ecfc.js → tslib.es6-200f1963.js} +0 -0
  511. /package/build/esm/{types-4964ad63.js → types-3696c637.js} +0 -0
  512. /package/build/esm/{types-e92eb45b.js → types-cfafd24b.js} +0 -0
  513. /package/build/esm/{useIsInit-b90ecc6e.js → useIsInit-acef2071.js} +0 -0
  514. /package/build/esm/{useOutsideClick-375c11e9.js → useOutsideClick-dcb9783e.js} +0 -0
  515. /package/build/esm/{useScrollbarSize-7e9ecaa8.js → useScrollbarSize-34eaf45c.js} +0 -0
  516. /package/build/esm/{useUniqueId-e98a7e5c.js → useUniqueId-44fbd151.js} +0 -0
  517. /package/build/esm/{utils-05e3b4d6.js → utils-3b8f9ca0.js} +0 -0
  518. /package/build/{index-fd0f8117.js → index-541ae612.js} +0 -0
  519. /package/build/{index-8b9b85a9.js → index-5cce06e2.js} +0 -0
  520. /package/build/{index-ba94aaa4.js → index-77cb5950.js} +0 -0
  521. /package/build/{index-bf57499f.js → index-8ea9637e.js} +0 -0
  522. /package/build/{index-8c027c97.js → index-c0f2e2d5.js} +0 -0
  523. /package/build/{index-adb5909a.js → index-d672d3a2.js} +0 -0
  524. /package/build/{index-4a27456a.js → index-d7818ca5.js} +0 -0
  525. /package/build/{index-7baedd26.js → index-f0c96b69.js} +0 -0
  526. /package/build/{index.styles-c7f5e0dc.js → index.styles-61ce234f.js} +0 -0
  527. /package/build/{localizeNumberFormat-77ecfc43.js → localizeNumberFormat-1a60edc3.js} +0 -0
  528. /package/build/{normalizeLink-2cee64ac.js → normalizeLink-86036e79.js} +0 -0
  529. /package/build/{number-b0514703.js → number-baec6f49.js} +0 -0
  530. /package/build/{paths-fbc086ac.js → paths-b50fa9ef.js} +0 -0
  531. /package/build/{shared-d3336c48.js → shared-8aee16d5.js} +0 -0
  532. /package/build/{text-e637affa.js → text-92a095cb.js} +0 -0
  533. /package/build/{translationsContext-69b4e29c.js → translationsContext-614f1792.js} +0 -0
  534. /package/build/{tslib.es6-9b06c729.js → tslib.es6-acd80713.js} +0 -0
  535. /package/build/{types-959011e5.js → types-627b716a.js} +0 -0
  536. /package/build/{types-c86d703c.js → types-90f075cd.js} +0 -0
  537. /package/build/{useIsInit-5355be57.js → useIsInit-a4f3ec74.js} +0 -0
  538. /package/build/{useOutsideClick-382457e5.js → useOutsideClick-51e2620d.js} +0 -0
  539. /package/build/{useScrollbarSize-89b7608c.js → useScrollbarSize-559ff17c.js} +0 -0
  540. /package/build/{useUniqueId-349868ac.js → useUniqueId-df3c6150.js} +0 -0
  541. /package/build/{utils-3ea8ef9f.js → utils-7bc80898.js} +0 -0
@@ -1,48 +1,48 @@
1
- import { _ as __rest, a as __awaiter } from './tslib.es6-5a49ecfc.js';
1
+ import { _ as __rest, a as __awaiter } from './tslib.es6-200f1963.js';
2
2
  import React__default, { useContext, useState, useCallback, useEffect, useMemo, useRef } from 'react';
3
- import { V as VideoType } from './index-52825707.js';
4
- import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-c802034c.js';
5
- import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, T as TOGETHER_LOCALES, c as CARE_LOCALES } from './index-73f4d56a.js';
6
- import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-fdde228f.js';
7
- import { a as formatCommunity, b as formatPost } from './dataTransform-d43fdd1a.js';
3
+ import { V as VideoType } from './index-018f3348.js';
4
+ import { i as isInternalLink, V as VideoItem, L as LanguageSwitcher } from './index-c08b664e.js';
5
+ import { L as LOCALE_SPECS, S as STATIC_PAGES, a as ZINDEX_HEADER, T as TOGETHER_LOCALES, c as CARE_LOCALES } from './index-e02ef7d6.js';
6
+ import { e as normalizeLink, n as normalizeLinkSlash, g as getCurrentBaseUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain, d as getCareApiDomain } from './normalizeLink-7e079f73.js';
7
+ import { a as formatCommunity, b as formatPost } from './dataTransform-d6a21d32.js';
8
8
  import { Close, Logo } from '@hhgtech/icons/core';
9
- import './translationsContext-59e5652c.js';
9
+ import './translationsContext-140a78c1.js';
10
10
  import styled from '@emotion/styled';
11
- import { I as Input } from './index-85894b46.js';
11
+ import { I as Input } from './index-67e90cbd.js';
12
12
  import { theme } from './miscTheme.js';
13
- import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-6d667650.js';
13
+ import { a as NavigationContext, u as useCSSFocusPopupHelper, N as NavigationProfileButton, b as NavigationProvider } from './index-956c3104.js';
14
14
  import { ArrowRight, ChatAi } from '@hhgtech/icons/other';
15
15
  import { createStyles, Box, Indicator, useMantineTheme, clsx } from '@mantine/core';
16
- import { L as Logo$1 } from './index-c2e955e0.js';
16
+ import { L as Logo$1 } from './index-b1df4dc0.js';
17
17
  import throttle from 'lodash/throttle';
18
18
  import '@mantine/dates';
19
- import { C as CommonGAssets } from './index-f59d4d8a.js';
20
- import './index-d830bd64.js';
21
- import { T as Text } from './index-f65d577c.js';
22
- import { B as Button } from './index-206b9bef.js';
23
- import './index.styles-590ff17d.js';
19
+ import { C as CommonGAssets } from './index-62988070.js';
20
+ import './index-f2d03a1d.js';
21
+ import { T as Text } from './index-6b5ef864.js';
22
+ import { B as Button } from './index-15e1b8ca.js';
23
+ import './index.styles-883d7842.js';
24
24
  import '@mantine/hooks';
25
- import './text-6f2656a6.js';
26
- import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-05e3b4d6.js';
27
- import './index-13586e44.js';
28
- import { L as LOCALISED_SLUGS } from './constants-68442954.js';
29
- import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-de1bfc44.js';
30
- import { L as LOCALIZED_SLUGS } from './constants-ebbd4a69.js';
31
- import { u as useTranslations } from './index-59da60a7.js';
32
- import { H as Heading } from './index-623e7f2c.js';
33
- import { I as Indicator$1 } from './index-b967a2f5.js';
34
- import { u as useIsInit } from './useIsInit-b90ecc6e.js';
25
+ import './text-c1c3ae38.js';
26
+ import { g as getBoundariesFromMediaQueryKey, M as MediaQueries } from './utils-3b8f9ca0.js';
27
+ import './index-894fa786.js';
28
+ import { L as LOCALISED_SLUGS } from './constants-e543d8f5.js';
29
+ import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-7a9c182a.js';
30
+ import { L as LOCALIZED_SLUGS } from './constants-a10fbc8a.js';
31
+ import { u as useTranslations } from './index-698e287d.js';
32
+ import { H as Heading } from './index-986954db.js';
33
+ import { I as Indicator$1 } from './index-bba98932.js';
34
+ import { u as useIsInit } from './useIsInit-acef2071.js';
35
35
  import { setDefaultClass } from './miscDefaultClassWrapper.js';
36
- import { B as Button$1 } from './index-b79fc8a1.js';
37
- import dayjs from 'dayjs';
38
- import relativeTime from 'dayjs/plugin/relativeTime';
39
- import { U as UserAvatar } from './index-0765c99d.js';
36
+ import { B as Button$1 } from './index-86df1763.js';
40
37
  import formatString from 'string-format';
41
38
  import { domainLocales } from './constantsDomainLocales.js';
42
- import { C as Container } from './index-e97a55a1.js';
39
+ import dayjs from 'dayjs';
40
+ import relativeTime from 'dayjs/plugin/relativeTime';
41
+ import { U as UserAvatar } from './index-d7f21a0a.js';
42
+ import { C as Container } from './index-37918dfe.js';
43
43
  import debounce from 'lodash/debounce';
44
- import { L as LOCALE } from './Locale-4ae68452.js';
45
- import { g as getDataWithCache } from './core-44616e6a.js';
44
+ import { L as LOCALE } from './Locale-e2c9e644.js';
45
+ import { g as getDataWithCache } from './core-1390b046.js';
46
46
 
47
47
  const StyleInput = styled(Input) `
48
48
  .mantine-Input-input {
@@ -822,11 +822,252 @@ const StyledContainerItems$4 = styled.div `
822
822
  }
823
823
  `;
824
824
 
825
+ const TOGETHER_PATHS = {
826
+ COMMUNITIES: 'community?website_url={websiteUrl}',
827
+ MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
828
+ GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
829
+ };
830
+ const Z_INDEX = {
831
+ adBlock: 48,
832
+ headerContainerHome: 99,
833
+ headerContainerPopup: 300,
834
+ headerContainerPopupSUbLevel: 400,
835
+ menuCategoryPopupWrapper: 200,
836
+ menuCategoryPopupContainer: 210,
837
+ menuSearchInputPopup: 5,
838
+ menuSearchInputDisplayIcon: 6,
839
+ menuSearchPopup: 300,
840
+ homeSearchComponent: 200,
841
+ };
842
+
843
+ const formatSponsor = (sponsor) => {
844
+ if (!sponsor)
845
+ return {};
846
+ return {
847
+ title: sponsor.title,
848
+ logo: sponsor.logo,
849
+ link: sponsor.link,
850
+ };
851
+ };
852
+ const formatReviewedCategory = (data) => {
853
+ return {
854
+ postTitle: data.post_title,
855
+ permalink: data.permalink,
856
+ };
857
+ };
858
+ const formatFaqsCategory = (data) => {
859
+ return {
860
+ title: data.title,
861
+ content: data.content,
862
+ };
863
+ };
864
+ const formatCategory = (category) => {
865
+ var _a, _b;
866
+ if (!category)
867
+ return {};
868
+ return {
869
+ termId: category.term_id || null,
870
+ sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
871
+ isSponsored: category.is_sponsored || null,
872
+ categoryName: category.cat_name || category.name || null,
873
+ name: category.name || null,
874
+ iconUrl: category.icon || '',
875
+ slugName: category.category_nicename || null,
876
+ description: category.description || null,
877
+ featureImage: category.thumbnail || category.image || null,
878
+ displayName: category.name || null,
879
+ parent: category.parent || null,
880
+ permalink: category.permalink || null,
881
+ slug: category.slug || null,
882
+ childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
883
+ return formatCategory(childCate);
884
+ })) || [],
885
+ thumnailColor: category.thumnail_color ||
886
+ ['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
887
+ colorFeatureImage: category.color_feature_image || null,
888
+ imageColor: category.image_color || null,
889
+ textColor: category.text_color || null,
890
+ catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
891
+ ? {
892
+ name: category.cat_parent.name,
893
+ permalink: category.cat_parent.permalink,
894
+ }
895
+ : {},
896
+ metaTag: category.meta_tag || '',
897
+ reviewedBy: category.reviewed_by
898
+ ? formatReviewedCategory(category.reviewed_by)
899
+ : null,
900
+ reviewedDate: category.reviewed_date || '',
901
+ faqs: category.faqs
902
+ ? category.faqs.map((faq) => formatFaqsCategory(faq))
903
+ : null,
904
+ customizedUrl: category.customized_url || null,
905
+ };
906
+ };
907
+ const formatHealthTool = (healthTool) => {
908
+ var _a, _b;
909
+ if (!healthTool)
910
+ return {};
911
+ const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
912
+ const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
913
+ const link = healthTool.link
914
+ ? healthTool.link.startsWith('http')
915
+ ? healthTool.link
916
+ : isBot
917
+ ? healthTool.link
918
+ : hasFilPrefix
919
+ ? healthTool.link
920
+ .replace('/health-tools/', '/')
921
+ .replace('/fil/', '/fil/health-tools/')
922
+ : `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
923
+ : undefined;
924
+ return {
925
+ icon: healthTool.icon,
926
+ link,
927
+ subtitle: healthTool.subtitle,
928
+ title: healthTool.title,
929
+ isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
930
+ };
931
+ };
932
+ const formatSpecialties = (specialties) => {
933
+ var _a, _b, _c, _d, _e;
934
+ if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
935
+ return {};
936
+ return {
937
+ thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
938
+ link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
939
+ subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
940
+ name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
941
+ slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
942
+ };
943
+ };
944
+ const formatHospital = (hospital) => {
945
+ var _a, _b, _c, _d, _e;
946
+ if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
947
+ return {};
948
+ return {
949
+ id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
950
+ name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
951
+ logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
952
+ description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
953
+ slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
954
+ };
955
+ };
956
+ const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
957
+ const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
958
+ return (apiUrl +
959
+ 'api/v1/' +
960
+ formatString(TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
961
+ ? 'https://marrybaby.vn'
962
+ : `https://${domainLocales[locale]}` })));
963
+ };
964
+ const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
965
+ var _a, _b;
966
+ return `${(_a = LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
967
+ };
968
+ const formatSpotlightsList = (spotlight) => {
969
+ if (!spotlight)
970
+ return {};
971
+ return {
972
+ id: spotlight.ID,
973
+ name: spotlight.name,
974
+ permalink: spotlight.permalink,
975
+ image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
976
+ imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
977
+ imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
978
+ startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
979
+ endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
980
+ buttonDisplay: spotlight.button_display || null,
981
+ };
982
+ };
983
+ const checkAvailableSpotlight = (spotlight) => {
984
+ const today = new Date();
985
+ if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
986
+ const startDate = new Date(spotlight.startDate);
987
+ if (today.getTime() < startDate.getTime())
988
+ return false;
989
+ }
990
+ if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
991
+ const endDate = new Date(spotlight.endDate);
992
+ if (today.getTime() > endDate.getTime())
993
+ return false;
994
+ }
995
+ return true;
996
+ };
997
+ const formatVideoItem = (data) => {
998
+ if (typeof data === 'undefined' || !data)
999
+ return null;
1000
+ return {
1001
+ id: data.ID || '',
1002
+ videoId: data.video_id || '',
1003
+ url: data.video_url || '',
1004
+ title: data.video_title || '',
1005
+ type: data.type || VideoType.VIDEO,
1006
+ totalView: data.total_view || 0,
1007
+ description: data.description || '',
1008
+ createTime: data.create_time || '',
1009
+ duration: data.duration || 0,
1010
+ image: data.image || '',
1011
+ imageMedium: data.image_medium || '',
1012
+ imageThumbnail: data.image_thumbnail || '',
1013
+ active: false,
1014
+ articleLink: data.article_link || '',
1015
+ };
1016
+ };
1017
+ function hexToRgb(hex, returnObj = false) {
1018
+ let alpha = false, h = hex.slice(hex.startsWith('#') ? 1 : 0);
1019
+ if (h.length === 3)
1020
+ h = [...h].map((x) => x + x).join('');
1021
+ else if (h.length === 8)
1022
+ alpha = true;
1023
+ h = parseInt(h, 16);
1024
+ const obj = {
1025
+ r: h >>> (alpha ? 24 : 16),
1026
+ g: (h & (alpha ? 0x00ff0000 : 0x00ff00)) >>> (alpha ? 16 : 8),
1027
+ b: (h & (alpha ? 0x0000ff00 : 0x0000ff)) >>> (alpha ? 8 : 0),
1028
+ };
1029
+ return returnObj
1030
+ ? obj
1031
+ : 'rgb' +
1032
+ (alpha ? 'a' : '') +
1033
+ '(' +
1034
+ obj.r +
1035
+ ', ' +
1036
+ obj.g +
1037
+ ', ' +
1038
+ obj.b +
1039
+ (alpha ? `, ${h & 0x000000ff}` : '') +
1040
+ ')';
1041
+ }
1042
+ function rgbToHsb(r, g, b) {
1043
+ r /= 255;
1044
+ g /= 255;
1045
+ b /= 255;
1046
+ const v = Math.max(r, g, b), n = v - Math.min(r, g, b);
1047
+ const h = n === 0
1048
+ ? 0
1049
+ : n && v === r
1050
+ ? (g - b) / n
1051
+ : v === g
1052
+ ? 2 + (b - r) / n
1053
+ : 4 + (r - g) / n;
1054
+ return [60 * (h < 0 ? h + 6 : h), v && (n / v) * 100, v * 100];
1055
+ }
1056
+ function hsbToRgb(h, s, b) {
1057
+ s /= 100;
1058
+ b /= 100;
1059
+ const k = (n) => (n + h / 60) % 6;
1060
+ const f = (n) => b * (1 - s * Math.max(0, Math.min(k(n), 4 - k(n), 1)));
1061
+ return [255 * f(5), 255 * f(3), 255 * f(1)];
1062
+ }
1063
+
825
1064
  const StyledItem$4 = styled.a `
1065
+ position: relative;
826
1066
  width: 100%;
827
1067
  display: flex;
828
1068
  align-items: center;
829
1069
  text-decoration: none;
1070
+
830
1071
  * {
831
1072
  pointer-events: none;
832
1073
  }
@@ -853,6 +1094,57 @@ const StyledImageCard$2 = styled.div `
853
1094
  padding-top: 100px;
854
1095
  }
855
1096
  `;
1097
+ const StyledButton = styled.a `
1098
+ ${MediaQueries.tdDown} {
1099
+ position: relative;
1100
+ bottom: 0;
1101
+ left: 16px;
1102
+ right: 0;
1103
+ padding: 4px 8px;
1104
+ width: 90px;
1105
+ height: 24px;
1106
+ font-size: 11px;
1107
+ line-height: 16px;
1108
+ }
1109
+
1110
+ position: absolute;
1111
+ bottom: 8px;
1112
+ left: 8px;
1113
+ right: 8px;
1114
+ height: 32px;
1115
+ padding: 6px 12px;
1116
+
1117
+ background: ${(props) => props.bgColor};
1118
+ border-radius: 10px;
1119
+ border: none;
1120
+ transition: all 0.2s ease-in-out;
1121
+
1122
+ color: ${(props) => props.textColor};
1123
+ font-family: 'Inter';
1124
+ font-weight: 500;
1125
+ font-size: 14px;
1126
+ line-height: 20px;
1127
+ text-align: center;
1128
+ white-space: nowrap;
1129
+ overflow: hidden;
1130
+ text-overflow: ellipsis;
1131
+
1132
+ &:hover {
1133
+ background: ${(props) => {
1134
+ const bgColor = props.bgColor.toLowerCase();
1135
+ if (bgColor === '#ffffff' || bgColor === 'white' || bgColor === '#fff') {
1136
+ return '#f0f0f0';
1137
+ }
1138
+ if (typeof bgColor === 'string') {
1139
+ const rgb = hexToRgb(bgColor, true);
1140
+ const hsb = rgbToHsb(rgb.r, rgb.g, rgb.b);
1141
+ const newPattern1 = hsbToRgb(hsb[0], hsb[1] + 16, hsb[2] - 16);
1142
+ return `rgb(${newPattern1[0]},${newPattern1[1]},${newPattern1[2]})`;
1143
+ }
1144
+ return '';
1145
+ }};
1146
+ }
1147
+ `;
856
1148
  const StyledTitle$3 = styled.p `
857
1149
  font-size: 16px;
858
1150
  font-weight: 400;
@@ -868,10 +1160,22 @@ const StyledTitle$3 = styled.p `
868
1160
  const Item$3 = ({ item, index = 0 }) => {
869
1161
  if (!item)
870
1162
  return null;
871
- return (React__default.createElement(StyledItem$4, { key: item.id, href: item.link, "data-event-category": "Hamburger Navigation", "data-event-action": `Spotlight Click ${index + 1}`, "data-event-label": item.link },
1163
+ const linkProps = {
1164
+ href: item.link,
1165
+ 'data-event-category': 'Hamburger Navigation',
1166
+ 'data-event-action': `Spotlight Click ${index + 1}`,
1167
+ 'data-event-label': item.link,
1168
+ };
1169
+ return (React__default.createElement(StyledItem$4, Object.assign({ key: item.id, as: item.buttonDisplay ? 'div' : 'a' }, linkProps),
872
1170
  React__default.createElement(StyledImageCard$2, null,
873
1171
  React__default.createElement("img", { loading: "lazy", alt: item.title, src: item.banner || '/images/notFound-min-small.jpg' })),
874
- React__default.createElement(StyledTitle$3, null, item.title)));
1172
+ React__default.createElement("div", { style: {
1173
+ display: 'flex',
1174
+ flexDirection: 'column',
1175
+ gap: 8,
1176
+ } },
1177
+ React__default.createElement(StyledTitle$3, null, item.title),
1178
+ !!item.buttonDisplay && (React__default.createElement(StyledButton, Object.assign({ bgColor: item.buttonDisplay.button_background_color, textColor: item.buttonDisplay.button_text_color }, linkProps), item.buttonDisplay.button_label)))));
875
1179
  };
876
1180
 
877
1181
  const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
@@ -882,6 +1186,7 @@ const CategorySpotlights = ({ spotlightsList = [], hrefViewMore }) => {
882
1186
  link: statics.HOME_PAGE_URL + spotlight.permalink,
883
1187
  title: spotlight.name,
884
1188
  banner: spotlight.image,
1189
+ buttonDisplay: spotlight.buttonDisplay,
885
1190
  } }))))) : (React__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: CommonGAssets.getAssetPath('Spotlight.svg') }))));
886
1191
  };
887
1192
 
@@ -1543,24 +1848,6 @@ const HamburgerMenu = ({ menuItems, isHomepage, projectType }) => {
1543
1848
  React__default.createElement(MenuServiceList, { menuItems: menuItems, isHomepage: isHomepage, projectType: projectType, closePopup: onClose })))));
1544
1849
  };
1545
1850
 
1546
- const TOGETHER_PATHS = {
1547
- COMMUNITIES: 'community?website_url={websiteUrl}',
1548
- MENU_TOPIC: 'topic?community_id={communityId}&website_url={websiteUrl}',
1549
- GET_USER_POSTS: 'profile/posts?website_url={websiteUrl}',
1550
- };
1551
- const Z_INDEX = {
1552
- adBlock: 48,
1553
- headerContainerHome: 99,
1554
- headerContainerPopup: 300,
1555
- headerContainerPopupSUbLevel: 400,
1556
- menuCategoryPopupWrapper: 200,
1557
- menuCategoryPopupContainer: 210,
1558
- menuSearchInputPopup: 5,
1559
- menuSearchInputDisplayIcon: 6,
1560
- menuSearchPopup: 300,
1561
- homeSearchComponent: 200,
1562
- };
1563
-
1564
1851
  const StyledHeaderWrapper = styled.div `
1565
1852
  z-index: 201;
1566
1853
  width: 100%;
@@ -1771,180 +2058,6 @@ const StyleButtonAiChat = styled(Button) `
1771
2058
  }
1772
2059
  `;
1773
2060
 
1774
- const formatSponsor = (sponsor) => {
1775
- if (!sponsor)
1776
- return {};
1777
- return {
1778
- title: sponsor.title,
1779
- logo: sponsor.logo,
1780
- link: sponsor.link,
1781
- };
1782
- };
1783
- const formatReviewedCategory = (data) => {
1784
- return {
1785
- postTitle: data.post_title,
1786
- permalink: data.permalink,
1787
- };
1788
- };
1789
- const formatFaqsCategory = (data) => {
1790
- return {
1791
- title: data.title,
1792
- content: data.content,
1793
- };
1794
- };
1795
- const formatCategory = (category) => {
1796
- var _a, _b;
1797
- if (!category)
1798
- return {};
1799
- return {
1800
- termId: category.term_id || null,
1801
- sponsor: category.sponsor ? formatSponsor(category.sponsor) : null,
1802
- isSponsored: category.is_sponsored || null,
1803
- categoryName: category.cat_name || category.name || null,
1804
- name: category.name || null,
1805
- iconUrl: category.icon || '',
1806
- slugName: category.category_nicename || null,
1807
- description: category.description || null,
1808
- featureImage: category.thumbnail || category.image || null,
1809
- displayName: category.name || null,
1810
- parent: category.parent || null,
1811
- permalink: category.permalink || null,
1812
- slug: category.slug || null,
1813
- childCates: ((_a = category.child_cates) === null || _a === void 0 ? void 0 : _a.map((childCate) => {
1814
- return formatCategory(childCate);
1815
- })) || [],
1816
- thumnailColor: category.thumnail_color ||
1817
- ['#FFEAF1', '#E0E9FB', '#FFF9EB', '#F2FCF7', '#F3F3F3'][(Math.random() * 5) | 0],
1818
- colorFeatureImage: category.color_feature_image || null,
1819
- imageColor: category.image_color || null,
1820
- textColor: category.text_color || null,
1821
- catParent: ((_b = category.cat_parent) === null || _b === void 0 ? void 0 : _b.name)
1822
- ? {
1823
- name: category.cat_parent.name,
1824
- permalink: category.cat_parent.permalink,
1825
- }
1826
- : {},
1827
- metaTag: category.meta_tag || '',
1828
- reviewedBy: category.reviewed_by
1829
- ? formatReviewedCategory(category.reviewed_by)
1830
- : null,
1831
- reviewedDate: category.reviewed_date || '',
1832
- faqs: category.faqs
1833
- ? category.faqs.map((faq) => formatFaqsCategory(faq))
1834
- : null,
1835
- customizedUrl: category.customized_url || null,
1836
- };
1837
- };
1838
- const formatHealthTool = (healthTool) => {
1839
- var _a, _b;
1840
- if (!healthTool)
1841
- return {};
1842
- const isBot = (_a = healthTool.link) === null || _a === void 0 ? void 0 : _a.includes('/bot/');
1843
- const hasFilPrefix = (_b = healthTool.link) === null || _b === void 0 ? void 0 : _b.startsWith('/fil/');
1844
- const link = healthTool.link
1845
- ? healthTool.link.startsWith('http')
1846
- ? healthTool.link
1847
- : isBot
1848
- ? healthTool.link
1849
- : hasFilPrefix
1850
- ? healthTool.link
1851
- .replace('/health-tools/', '/')
1852
- .replace('/fil/', '/fil/health-tools/')
1853
- : `/health-tools${healthTool.link.replace('/health-tools/', '/')}`
1854
- : undefined;
1855
- return {
1856
- icon: healthTool.icon,
1857
- link,
1858
- subtitle: healthTool.subtitle,
1859
- title: healthTool.title,
1860
- isMobileAppTool: !!(healthTool === null || healthTool === void 0 ? void 0 : healthTool.is_mobile_app_tool),
1861
- };
1862
- };
1863
- const formatSpecialties = (specialties) => {
1864
- var _a, _b, _c, _d, _e;
1865
- if (!specialties || !(specialties === null || specialties === void 0 ? void 0 : specialties.object_id))
1866
- return {};
1867
- return {
1868
- thumbnail: ((_a = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _a === void 0 ? void 0 : _a.logo) || '',
1869
- link: ((_b = specialties === null || specialties === void 0 ? void 0 : specialties.object_id) === null || _b === void 0 ? void 0 : _b.slug) || '',
1870
- subtitle: ((_c = specialties.object_id) === null || _c === void 0 ? void 0 : _c.name) || '',
1871
- name: ((_d = specialties.object_id) === null || _d === void 0 ? void 0 : _d.name) || '',
1872
- slug: ((_e = specialties.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
1873
- };
1874
- };
1875
- const formatHospital = (hospital) => {
1876
- var _a, _b, _c, _d, _e;
1877
- if (!hospital || !(hospital === null || hospital === void 0 ? void 0 : hospital.object_id))
1878
- return {};
1879
- return {
1880
- id: (_a = hospital.object_id) === null || _a === void 0 ? void 0 : _a.id,
1881
- name: ((_b = hospital.object_id) === null || _b === void 0 ? void 0 : _b.name) || '',
1882
- logo: ((_c = hospital === null || hospital === void 0 ? void 0 : hospital.object_id) === null || _c === void 0 ? void 0 : _c.logo) || '',
1883
- description: ((_d = hospital.object_id) === null || _d === void 0 ? void 0 : _d.description) || '',
1884
- slug: ((_e = hospital.object_id) === null || _e === void 0 ? void 0 : _e.slug) || '',
1885
- };
1886
- };
1887
- const getTogetherUserPostsApiPath = (locale, isMarryBaby, apiDomain, params) => {
1888
- const apiUrl = apiDomain || `https://together.hellohealthgroup.com/`;
1889
- return (apiUrl +
1890
- 'api/v1/' +
1891
- formatString(TOGETHER_PATHS.GET_USER_POSTS, Object.assign(Object.assign({}, params), { websiteUrl: isMarryBaby
1892
- ? 'https://marrybaby.vn'
1893
- : `https://${domainLocales[locale]}` })));
1894
- };
1895
- const getCareSearchUrl = ({ type, specialtySlug, locale, }) => {
1896
- var _a, _b;
1897
- return `${(_a = LOCALIZED_SLUGS[locale]) === null || _a === void 0 ? void 0 : _a.ALL}/${((_b = LOCALIZED_SLUGS[locale]) === null || _b === void 0 ? void 0 : _b[type]) || 'doctor'}/${specialtySlug !== null && specialtySlug !== void 0 ? specialtySlug : ''}`;
1898
- };
1899
- const formatSpotlightsList = (spotlight) => {
1900
- if (!spotlight)
1901
- return {};
1902
- return {
1903
- id: spotlight.ID,
1904
- name: spotlight.name,
1905
- permalink: spotlight.permalink,
1906
- image: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.small_banner) || (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image) || '',
1907
- imageMedium: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_medium) || null,
1908
- imageThumbnail: (spotlight === null || spotlight === void 0 ? void 0 : spotlight.image_thumbnail) || null,
1909
- startDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.start_date,
1910
- endDate: spotlight === null || spotlight === void 0 ? void 0 : spotlight.end_date,
1911
- };
1912
- };
1913
- const checkAvailableSpotlight = (spotlight) => {
1914
- const today = new Date();
1915
- if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.startDate) {
1916
- const startDate = new Date(spotlight.startDate);
1917
- if (today.getTime() < startDate.getTime())
1918
- return false;
1919
- }
1920
- if (spotlight === null || spotlight === void 0 ? void 0 : spotlight.endDate) {
1921
- const endDate = new Date(spotlight.endDate);
1922
- if (today.getTime() > endDate.getTime())
1923
- return false;
1924
- }
1925
- return true;
1926
- };
1927
- const formatVideoItem = (data) => {
1928
- if (typeof data === 'undefined' || !data)
1929
- return null;
1930
- return {
1931
- id: data.ID || '',
1932
- videoId: data.video_id || '',
1933
- url: data.video_url || '',
1934
- title: data.video_title || '',
1935
- type: data.type || VideoType.VIDEO,
1936
- totalView: data.total_view || 0,
1937
- description: data.description || '',
1938
- createTime: data.create_time || '',
1939
- duration: data.duration || 0,
1940
- image: data.image || '',
1941
- imageMedium: data.image_medium || '',
1942
- imageThumbnail: data.image_thumbnail || '',
1943
- active: false,
1944
- articleLink: data.article_link || '',
1945
- };
1946
- };
1947
-
1948
2061
  var styles = {"gridContainer":"q3nL5cp","container":"_2DNf80G","closeWrapper":"Q-glX-n"};
1949
2062
 
1950
2063
  const BtnClosePopup = ({ onClosePopup }) => {
@@ -1,6 +1,6 @@
1
- import { _ as __rest } from './tslib.es6-5a49ecfc.js';
1
+ import { _ as __rest } from './tslib.es6-200f1963.js';
2
2
  import React__default from 'react';
3
- import { B as Button$1 } from './index-206b9bef.js';
3
+ import { B as Button$1 } from './index-15e1b8ca.js';
4
4
 
5
5
  /**
6
6
  * @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
@@ -1,4 +1,4 @@
1
- import { _ as __rest } from './tslib.es6-5a49ecfc.js';
1
+ import { _ as __rest } from './tslib.es6-200f1963.js';
2
2
  import React__default from 'react';
3
3
  import styled from '@emotion/styled';
4
4
  import { theme } from './miscTheme.js';