@hhgtech/hhg-components 1.29.6 → 1.29.9

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 (295) hide show
  1. package/build/adapters.js +15 -15
  2. package/build/babyGrowth.js +78 -78
  3. package/build/cache.js +3 -3
  4. package/build/care.js +17 -17
  5. package/build/components/organisms/footer/discoverFooter/index.d.ts +2 -3
  6. package/build/components/organisms/footer/discoverFooter/index.styled.d.ts +9 -0
  7. package/build/components/organisms/footer/index.d.ts +2 -2
  8. package/build/components.js +57 -57
  9. package/build/{constants-d1227d6a.js → constants-44fb7ca9.js} +2 -2
  10. package/build/{constants-eb2a3aa0.js → constants-bb7e43a5.js} +2 -2
  11. package/build/constants.js +3 -3
  12. package/build/{core-128940eb.js → core-143c8409.js} +2 -2
  13. package/build/{dataTransform-3c6573bc.js → dataTransform-2517339d.js} +1 -1
  14. package/build/ecom.js +6 -6
  15. package/build/esm/adapters.js +15 -15
  16. package/build/esm/babyGrowth.js +79 -79
  17. package/build/esm/cache.js +3 -3
  18. package/build/esm/care.js +17 -17
  19. package/build/esm/components/organisms/footer/discoverFooter/index.d.ts +2 -3
  20. package/build/esm/components/organisms/footer/discoverFooter/index.styled.d.ts +9 -0
  21. package/build/esm/components/organisms/footer/index.d.ts +2 -2
  22. package/build/esm/components.js +57 -57
  23. package/build/esm/{constants-68244280.js → constants-5caa61b6.js} +2 -2
  24. package/build/esm/{constants-a6f34087.js → constants-ee0d95b9.js} +2 -2
  25. package/build/esm/constants.js +3 -3
  26. package/build/esm/{core-16116c57.js → core-d4852494.js} +2 -2
  27. package/build/esm/{dataTransform-0d65140f.js → dataTransform-9dc311a2.js} +1 -1
  28. package/build/esm/ecom.js +6 -6
  29. package/build/esm/footer.js +20 -22
  30. package/build/esm/gAssets.js +4 -4
  31. package/build/esm/{getDynamicHealthTool-eaa26baf.js → getDynamicHealthTool-f48eaa17.js} +4 -4
  32. package/build/esm/{getSocialList-6c919102.js → getSocialList-853a0dc4.js} +2 -2
  33. package/build/esm/hooks.js +17 -17
  34. package/build/esm/i18n.js +2 -2
  35. package/build/esm/i18nV2.js +2 -2
  36. package/build/esm/{index-2d142c13.js → index-03e393ec.js} +2 -2
  37. package/build/esm/index-0e3bfedb.js +326 -0
  38. package/build/esm/{index-68da5cb6.js → index-13bfcd23.js} +4 -4
  39. package/build/esm/{index-95135d78.js → index-13f99aac.js} +2 -2
  40. package/build/esm/{index-fdc2c445.js → index-23366a7b.js} +2 -2
  41. package/build/esm/{index-be92ecd0.js → index-2e099e77.js} +2 -2
  42. package/build/esm/{index-b5e4a99e.js → index-391627ab.js} +4 -4
  43. package/build/esm/{index-89235c34.js → index-3d135340.js} +2 -2
  44. package/build/esm/{index-63a536b4.js → index-50b9a43b.js} +6 -6
  45. package/build/esm/{index-0074b23f.js → index-5ce77702.js} +4 -4
  46. package/build/esm/{index-51b2cbeb.js → index-65addbae.js} +3 -3
  47. package/build/esm/{index-0476c1ec.js → index-78884588.js} +4 -4
  48. package/build/esm/{index-a701ba63.js → index-7c3ea1b2.js} +2 -2
  49. package/build/esm/{index-6cd55309.js → index-877ec33d.js} +10 -10
  50. package/build/esm/{index-268212c4.js → index-8c0d7038.js} +10 -10
  51. package/build/esm/{index-8a170656.js → index-8e3642ff.js} +3 -3
  52. package/build/esm/{index-da5fc871.js → index-978caa02.js} +2 -2
  53. package/build/esm/{index-40713901.js → index-9b1289d9.js} +31 -31
  54. package/build/esm/{index-38d007d4.js → index-aa7ab965.js} +5 -5
  55. package/build/esm/{index-c3744236.js → index-b77a89c4.js} +11 -11
  56. package/build/esm/{index-e7533376.js → index-cba4bb47.js} +1 -1
  57. package/build/esm/{index-c5e02916.js → index-d4553733.js} +9 -9
  58. package/build/esm/{index-56504b82.js → index-d59fee69.js} +42 -52
  59. package/build/esm/{index-79c01960.js → index-d6c7f630.js} +9 -9
  60. package/build/esm/{index-550816d6.js → index-e5dd4809.js} +2 -2
  61. package/build/esm/index.css +1 -1
  62. package/build/esm/index.js +64 -64
  63. package/build/esm/{index.styled-b564d380.js → index.styled-756e781e.js} +2 -2
  64. package/build/esm/{index.styles-f6cf111a.js → index.styles-3ba54456.js} +6 -6
  65. package/build/esm/lead.js +27 -27
  66. package/build/esm/mantine.js +21 -21
  67. package/build/esm/misc.js +18 -18
  68. package/build/esm/navigation.js +34 -34
  69. package/build/esm/onboardingV2.js +30 -30
  70. package/build/esm/pwg.js +19 -19
  71. package/build/esm/{routing-424b1e54.js → routing-36c6c314.js} +2 -2
  72. package/build/esm/subot.js +21 -21
  73. package/build/esm/together.js +34 -34
  74. package/build/esm/{types-615ef123.js → types-cd81b52f.js} +30 -30
  75. package/build/esm/{types-6c57efb7.js → types-f72ab8c0.js} +13 -13
  76. package/build/esm/types.js +1 -1
  77. package/build/esm/{useCategory-b7125e1c.js → useCategory-0c047c27.js} +5 -5
  78. package/build/esm/{useHealthToolCache-1d41eea8.js → useHealthToolCache-be6fa83a.js} +2 -2
  79. package/build/esm/{useMantineLocale-6b09a1b7.js → useMantineLocale-aaada120.js} +3 -3
  80. package/build/esm/{usePlacesAutocomplete-b638d8a6.js → usePlacesAutocomplete-5860156a.js} +1 -1
  81. package/build/esm/{useTranslations-e9f765b2.js → useTranslations-26baeaed.js} +1 -1
  82. package/build/esm/{utils-02876d56.js → utils-117628d9.js} +5 -5
  83. package/build/esm/{utils-b9786da5.js → utils-bb18bf09.js} +4 -4
  84. package/build/esm/{utils-df53912e.js → utils-f76a293a.js} +1 -1
  85. package/build/esm/vaccination.js +25 -25
  86. package/build/footer.js +20 -22
  87. package/build/gAssets.js +4 -4
  88. package/build/{getDynamicHealthTool-a6ada1d0.js → getDynamicHealthTool-bc41deed.js} +4 -4
  89. package/build/{getSocialList-dc24e32b.js → getSocialList-66a0a77c.js} +2 -2
  90. package/build/hooks.js +17 -17
  91. package/build/i18n.js +1 -1
  92. package/build/i18nV2.js +1 -1
  93. package/build/{index-9a35ef11.js → index-0173a30e.js} +4 -4
  94. package/build/{index-dc4f4e0d.js → index-15d80557.js} +1 -1
  95. package/build/index-19b1d3dc.js +334 -0
  96. package/build/{index-fed9cac0.js → index-207dd515.js} +2 -2
  97. package/build/{index-e9e9cb9f.js → index-4078d782.js} +2 -2
  98. package/build/{index-1ee1cdbb.js → index-43c20f19.js} +31 -31
  99. package/build/{index-9c0e12f9.js → index-52e3c51d.js} +10 -10
  100. package/build/{index-7c5f85de.js → index-54484e45.js} +9 -9
  101. package/build/{index-464225c9.js → index-595bba32.js} +5 -5
  102. package/build/{index-14717011.js → index-59e73f77.js} +4 -4
  103. package/build/{index-a1819d74.js → index-5ee25c1d.js} +3 -3
  104. package/build/{index-f9764d98.js → index-5f465882.js} +2 -2
  105. package/build/{index-5fa8745b.js → index-676c19a7.js} +4 -4
  106. package/build/{index-781f9249.js → index-78047070.js} +6 -6
  107. package/build/{index-f57f529a.js → index-790f3508.js} +2 -2
  108. package/build/{index-93ea4a8e.js → index-808a0902.js} +4 -4
  109. package/build/{index-bea58ff0.js → index-86a75dba.js} +3 -3
  110. package/build/{index-45883a9f.js → index-9541f23e.js} +11 -11
  111. package/build/{index-94818c77.js → index-9decaead.js} +42 -52
  112. package/build/{index-1a467805.js → index-bb1fd630.js} +9 -9
  113. package/build/{index-d8dc23e0.js → index-ca5b9a99.js} +10 -10
  114. package/build/{index-14da17c8.js → index-d88efa38.js} +2 -2
  115. package/build/{index-cefefd15.js → index-d931d40b.js} +2 -2
  116. package/build/{index-30df3c74.js → index-d9335c3a.js} +2 -2
  117. package/build/{index-2a215463.js → index-f2268f27.js} +2 -2
  118. package/build/index.css +1 -1
  119. package/build/index.js +64 -64
  120. package/build/{index.styled-f80f0fa5.js → index.styled-ecd28189.js} +2 -2
  121. package/build/{index.styles-87c79539.js → index.styles-6685a462.js} +6 -6
  122. package/build/lead.js +27 -27
  123. package/build/mantine.js +18 -18
  124. package/build/misc.js +18 -18
  125. package/build/navigation.js +34 -34
  126. package/build/onboardingV2.js +29 -29
  127. package/build/pwg.js +19 -19
  128. package/build/{routing-72c1e0b2.js → routing-ab59c6ea.js} +2 -2
  129. package/build/subot.js +21 -21
  130. package/build/together.js +34 -34
  131. package/build/{types-3beede0e.js → types-3e09bac2.js} +30 -30
  132. package/build/{types-eaa816cf.js → types-dff34684.js} +13 -13
  133. package/build/types.js +1 -1
  134. package/build/{useCategory-3db22c45.js → useCategory-cfc34d51.js} +5 -5
  135. package/build/{useHealthToolCache-a9ef2d90.js → useHealthToolCache-69ce4cdb.js} +2 -2
  136. package/build/{useMantineLocale-347bd1c6.js → useMantineLocale-bf28af5f.js} +3 -3
  137. package/build/{usePlacesAutocomplete-ef6af94d.js → usePlacesAutocomplete-6babe361.js} +1 -1
  138. package/build/{useTranslations-6c96bbdb.js → useTranslations-dcc04d95.js} +1 -1
  139. package/build/{utils-eaa0efef.js → utils-5dbf5919.js} +1 -1
  140. package/build/{utils-9e74d434.js → utils-81046295.js} +4 -4
  141. package/build/{utils-a20bf2a0.js → utils-9dfc743f.js} +5 -5
  142. package/build/vaccination.js +25 -25
  143. package/package.json +1 -1
  144. package/build/components/molecules/articleCard/icons/bookmarked.d.ts +0 -6
  145. package/build/components/molecules/articleCard/icons/unbookmarked.d.ts +0 -6
  146. package/build/esm/components/molecules/articleCard/icons/bookmarked.d.ts +0 -6
  147. package/build/esm/components/molecules/articleCard/icons/unbookmarked.d.ts +0 -6
  148. package/build/esm/index-40a0dd3a.js +0 -153
  149. package/build/index-4e8abec7.js +0 -160
  150. /package/build/{BMI_BOYS.percentile.monthly-8c3552ca.js → BMI_BOYS.percentile.monthly-4bc0e9e2.js} +0 -0
  151. /package/build/{BMI_BOYS.percentile.weekly-b484830b.js → BMI_BOYS.percentile.weekly-927e8e5c.js} +0 -0
  152. /package/build/{BMI_BOYS.percentile.yearly-f97bab82.js → BMI_BOYS.percentile.yearly-b9f4cf18.js} +0 -0
  153. /package/build/{BMI_BOYS.zscore.monthly-0642e51b.js → BMI_BOYS.zscore.monthly-7ad93772.js} +0 -0
  154. /package/build/{BMI_BOYS.zscore.weekly-e547e718.js → BMI_BOYS.zscore.weekly-8ab15622.js} +0 -0
  155. /package/build/{BMI_BOYS.zscore.yearly-51c34c99.js → BMI_BOYS.zscore.yearly-fff72068.js} +0 -0
  156. /package/build/{BMI_GIRLS.percentile.monthly-0a986a24.js → BMI_GIRLS.percentile.monthly-c95ec4af.js} +0 -0
  157. /package/build/{BMI_GIRLS.percentile.weekly-35c80330.js → BMI_GIRLS.percentile.weekly-50163e56.js} +0 -0
  158. /package/build/{BMI_GIRLS.percentile.yearly-8c1302bc.js → BMI_GIRLS.percentile.yearly-ce440d4b.js} +0 -0
  159. /package/build/{BMI_GIRLS.zscore.monthly-7d324b40.js → BMI_GIRLS.zscore.monthly-1680c281.js} +0 -0
  160. /package/build/{BMI_GIRLS.zscore.weekly-e24bf530.js → BMI_GIRLS.zscore.weekly-ead53a4f.js} +0 -0
  161. /package/build/{BMI_GIRLS.zscore.yearly-916d20a8.js → BMI_GIRLS.zscore.yearly-83809885.js} +0 -0
  162. /package/build/{ChevronDown-914e79eb.js → ChevronDown-fb014583.js} +0 -0
  163. /package/build/{Close-638ff6a6.js → Close-bc1feda8.js} +0 -0
  164. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-384d7ca5.js → HEAD CIRCUM_BOYS.percentile.monthly-a85432c7.js} +0 -0
  165. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-f9e13a0f.js → HEAD CIRCUM_BOYS.percentile.weekly-1b4c11b3.js} +0 -0
  166. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-e1eeb6d7.js → HEAD CIRCUM_BOYS.percentile.yearly-c9b722b3.js} +0 -0
  167. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-3ed2f5b2.js → HEAD CIRCUM_BOYS.zscore.monthly-5db54ca2.js} +0 -0
  168. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-368808fb.js → HEAD CIRCUM_BOYS.zscore.weekly-47c956ea.js} +0 -0
  169. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0f2a38aa.js → HEAD CIRCUM_BOYS.zscore.yearly-74e6a495.js} +0 -0
  170. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-53591f59.js → HEAD CIRCUM_GIRLS.percentile.monthly-8b1f868b.js} +0 -0
  171. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0556d4b3.js → HEAD CIRCUM_GIRLS.percentile.weekly-b975a89a.js} +0 -0
  172. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-de459f9d.js → HEAD CIRCUM_GIRLS.percentile.yearly-82c11fcb.js} +0 -0
  173. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-892d9982.js → HEAD CIRCUM_GIRLS.zscore.monthly-5fab1c6e.js} +0 -0
  174. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7be2c10a.js → HEAD CIRCUM_GIRLS.zscore.weekly-b25b0fe8.js} +0 -0
  175. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3b6123d1.js → HEAD CIRCUM_GIRLS.zscore.yearly-646ec60b.js} +0 -0
  176. /package/build/{HEIGHT_BOYS.percentile.monthly-361aa59b.js → HEIGHT_BOYS.percentile.monthly-3da385ea.js} +0 -0
  177. /package/build/{HEIGHT_BOYS.percentile.weekly-e7d73501.js → HEIGHT_BOYS.percentile.weekly-11ceee55.js} +0 -0
  178. /package/build/{HEIGHT_BOYS.percentile.yearly-b1c7b694.js → HEIGHT_BOYS.percentile.yearly-a389acba.js} +0 -0
  179. /package/build/{HEIGHT_BOYS.zscore.monthly-fb74e97f.js → HEIGHT_BOYS.zscore.monthly-a0480213.js} +0 -0
  180. /package/build/{HEIGHT_BOYS.zscore.weekly-2b227974.js → HEIGHT_BOYS.zscore.weekly-2124dce8.js} +0 -0
  181. /package/build/{HEIGHT_BOYS.zscore.yearly-7cf12fe7.js → HEIGHT_BOYS.zscore.yearly-e5d94a00.js} +0 -0
  182. /package/build/{HEIGHT_GIRLS.percentile.monthly-98497bc7.js → HEIGHT_GIRLS.percentile.monthly-75d2c528.js} +0 -0
  183. /package/build/{HEIGHT_GIRLS.percentile.weekly-2f5be228.js → HEIGHT_GIRLS.percentile.weekly-189d1d6c.js} +0 -0
  184. /package/build/{HEIGHT_GIRLS.percentile.yearly-ded1a24b.js → HEIGHT_GIRLS.percentile.yearly-74082245.js} +0 -0
  185. /package/build/{HEIGHT_GIRLS.zscore.monthly-0ec45503.js → HEIGHT_GIRLS.zscore.monthly-0c8a108f.js} +0 -0
  186. /package/build/{HEIGHT_GIRLS.zscore.weekly-ff2fd93a.js → HEIGHT_GIRLS.zscore.weekly-93fdf7b4.js} +0 -0
  187. /package/build/{HEIGHT_GIRLS.zscore.yearly-79972d50.js → HEIGHT_GIRLS.zscore.yearly-af83ad4c.js} +0 -0
  188. /package/build/{Subot-d47ccb2d.js → Subot-93c0e389.js} +0 -0
  189. /package/build/{Visible-d2f06250.js → Visible-e02dbf4e.js} +0 -0
  190. /package/build/{WEIGHT_BOYS.percentile.monthly-de7043e5.js → WEIGHT_BOYS.percentile.monthly-97d04693.js} +0 -0
  191. /package/build/{WEIGHT_BOYS.percentile.weekly-e57e2bba.js → WEIGHT_BOYS.percentile.weekly-7c37f722.js} +0 -0
  192. /package/build/{WEIGHT_BOYS.percentile.yearly-37ebe201.js → WEIGHT_BOYS.percentile.yearly-8b95d619.js} +0 -0
  193. /package/build/{WEIGHT_BOYS.zscore.monthly-53e333fd.js → WEIGHT_BOYS.zscore.monthly-8f794d5e.js} +0 -0
  194. /package/build/{WEIGHT_BOYS.zscore.weekly-5102c037.js → WEIGHT_BOYS.zscore.weekly-be483d09.js} +0 -0
  195. /package/build/{WEIGHT_BOYS.zscore.yearly-e434e6df.js → WEIGHT_BOYS.zscore.yearly-bb6ee6e5.js} +0 -0
  196. /package/build/{WEIGHT_GIRLS.percentile.monthly-3e129add.js → WEIGHT_GIRLS.percentile.monthly-ba4f3224.js} +0 -0
  197. /package/build/{WEIGHT_GIRLS.percentile.weekly-928d7a33.js → WEIGHT_GIRLS.percentile.weekly-9a9b2d84.js} +0 -0
  198. /package/build/{WEIGHT_GIRLS.percentile.yearly-26e3e0b4.js → WEIGHT_GIRLS.percentile.yearly-5a6f3183.js} +0 -0
  199. /package/build/{WEIGHT_GIRLS.zscore.monthly-ff6cf9d1.js → WEIGHT_GIRLS.zscore.monthly-b8098f8a.js} +0 -0
  200. /package/build/{WEIGHT_GIRLS.zscore.weekly-cb2d902b.js → WEIGHT_GIRLS.zscore.weekly-b412b97f.js} +0 -0
  201. /package/build/{WEIGHT_GIRLS.zscore.yearly-9bec5a87.js → WEIGHT_GIRLS.zscore.yearly-25cf98f3.js} +0 -0
  202. /package/build/{animation-18d19c12.js → animation-bcd03907.js} +0 -0
  203. /package/build/{cart-a207d919.js → cart-da469456.js} +0 -0
  204. /package/build/{cookieHelper-1a68f988.js → cookieHelper-a0a0737f.js} +0 -0
  205. /package/build/{doctor-c2401092.js → doctor-21411928.js} +0 -0
  206. /package/build/esm/{BMI_BOYS.percentile.monthly-314a52ea.js → BMI_BOYS.percentile.monthly-ca17adef.js} +0 -0
  207. /package/build/esm/{BMI_BOYS.percentile.weekly-21dd67f0.js → BMI_BOYS.percentile.weekly-3942f164.js} +0 -0
  208. /package/build/esm/{BMI_BOYS.percentile.yearly-2e543e62.js → BMI_BOYS.percentile.yearly-3824fd92.js} +0 -0
  209. /package/build/esm/{BMI_BOYS.zscore.monthly-7600c302.js → BMI_BOYS.zscore.monthly-6741955a.js} +0 -0
  210. /package/build/esm/{BMI_BOYS.zscore.weekly-26de08fe.js → BMI_BOYS.zscore.weekly-d270ec2d.js} +0 -0
  211. /package/build/esm/{BMI_BOYS.zscore.yearly-0e89aad5.js → BMI_BOYS.zscore.yearly-fd6a7035.js} +0 -0
  212. /package/build/esm/{BMI_GIRLS.percentile.monthly-c58a4804.js → BMI_GIRLS.percentile.monthly-d4d05ea6.js} +0 -0
  213. /package/build/esm/{BMI_GIRLS.percentile.weekly-e3180bc1.js → BMI_GIRLS.percentile.weekly-3db15121.js} +0 -0
  214. /package/build/esm/{BMI_GIRLS.percentile.yearly-34470ddd.js → BMI_GIRLS.percentile.yearly-c5d444ba.js} +0 -0
  215. /package/build/esm/{BMI_GIRLS.zscore.monthly-7fe56a31.js → BMI_GIRLS.zscore.monthly-37bcda40.js} +0 -0
  216. /package/build/esm/{BMI_GIRLS.zscore.weekly-0f2478b5.js → BMI_GIRLS.zscore.weekly-e6810e51.js} +0 -0
  217. /package/build/esm/{BMI_GIRLS.zscore.yearly-b8178be0.js → BMI_GIRLS.zscore.yearly-64137663.js} +0 -0
  218. /package/build/esm/{ChevronDown-932ac980.js → ChevronDown-da695a41.js} +0 -0
  219. /package/build/esm/{Close-0e1b4cc7.js → Close-50cf2f52.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-cb2ef856.js → HEAD CIRCUM_BOYS.percentile.monthly-9472fca3.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c3ef642d.js → HEAD CIRCUM_BOYS.percentile.weekly-89a500e8.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-7d8f3a72.js → HEAD CIRCUM_BOYS.percentile.yearly-615b3b38.js} +0 -0
  223. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ec1f1097.js → HEAD CIRCUM_BOYS.zscore.monthly-58b90a62.js} +0 -0
  224. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-aafe8c55.js → HEAD CIRCUM_BOYS.zscore.weekly-3f7ee31b.js} +0 -0
  225. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9bbaf0fc.js → HEAD CIRCUM_BOYS.zscore.yearly-92f6e101.js} +0 -0
  226. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-01c91c11.js → HEAD CIRCUM_GIRLS.percentile.monthly-ea06f32c.js} +0 -0
  227. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0df2fc0e.js → HEAD CIRCUM_GIRLS.percentile.weekly-8743c21b.js} +0 -0
  228. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-88b2d424.js → HEAD CIRCUM_GIRLS.percentile.yearly-95e6add1.js} +0 -0
  229. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-ab73da81.js → HEAD CIRCUM_GIRLS.zscore.monthly-f1ca9316.js} +0 -0
  230. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-36c74974.js → HEAD CIRCUM_GIRLS.zscore.weekly-be2bec2e.js} +0 -0
  231. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bdb909d8.js → HEAD CIRCUM_GIRLS.zscore.yearly-8f6cb0e0.js} +0 -0
  232. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f8db40a3.js → HEIGHT_BOYS.percentile.monthly-b51dc336.js} +0 -0
  233. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c4b7278a.js → HEIGHT_BOYS.percentile.weekly-6db51688.js} +0 -0
  234. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-ba3ca044.js → HEIGHT_BOYS.percentile.yearly-39b616bb.js} +0 -0
  235. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-6b665442.js → HEIGHT_BOYS.zscore.monthly-39d6db3d.js} +0 -0
  236. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-d10009ae.js → HEIGHT_BOYS.zscore.weekly-0bbff2fa.js} +0 -0
  237. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b7e315c8.js → HEIGHT_BOYS.zscore.yearly-d368deaa.js} +0 -0
  238. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-4447fa16.js → HEIGHT_GIRLS.percentile.monthly-76c5e631.js} +0 -0
  239. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-e402d778.js → HEIGHT_GIRLS.percentile.weekly-f15981e2.js} +0 -0
  240. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4e9de062.js → HEIGHT_GIRLS.percentile.yearly-0c69f22b.js} +0 -0
  241. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-798038e4.js → HEIGHT_GIRLS.zscore.monthly-fe10969f.js} +0 -0
  242. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-cf8a116b.js → HEIGHT_GIRLS.zscore.weekly-03449820.js} +0 -0
  243. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-abd3d3f2.js → HEIGHT_GIRLS.zscore.yearly-8b9fcd6c.js} +0 -0
  244. /package/build/esm/{Subot-da7e1e94.js → Subot-07dd4adb.js} +0 -0
  245. /package/build/esm/{Visible-50f2e7a8.js → Visible-0c2a8f52.js} +0 -0
  246. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-660feece.js → WEIGHT_BOYS.percentile.monthly-837b4c4b.js} +0 -0
  247. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-fd2d3e41.js → WEIGHT_BOYS.percentile.weekly-3004ecb2.js} +0 -0
  248. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-1df5f057.js → WEIGHT_BOYS.percentile.yearly-abad0d63.js} +0 -0
  249. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-4c4db080.js → WEIGHT_BOYS.zscore.monthly-fb829958.js} +0 -0
  250. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5ccbf2eb.js → WEIGHT_BOYS.zscore.weekly-4baf379a.js} +0 -0
  251. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c576dd7d.js → WEIGHT_BOYS.zscore.yearly-f3cdd55e.js} +0 -0
  252. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d50561a4.js → WEIGHT_GIRLS.percentile.monthly-2600bbbc.js} +0 -0
  253. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c2cc474b.js → WEIGHT_GIRLS.percentile.weekly-cf07487a.js} +0 -0
  254. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-50ed35d9.js → WEIGHT_GIRLS.percentile.yearly-89d59662.js} +0 -0
  255. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-21cdad33.js → WEIGHT_GIRLS.zscore.monthly-a6593fa2.js} +0 -0
  256. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-33d967e1.js → WEIGHT_GIRLS.zscore.weekly-05156e07.js} +0 -0
  257. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e45f30c1.js → WEIGHT_GIRLS.zscore.yearly-4c75adef.js} +0 -0
  258. /package/build/esm/{animation-3230873f.js → animation-1872f0d4.js} +0 -0
  259. /package/build/esm/{cart-e53ba6b0.js → cart-b1a831fd.js} +0 -0
  260. /package/build/esm/{cookieHelper-a6b631c1.js → cookieHelper-7c2ee446.js} +0 -0
  261. /package/build/esm/{doctor-b0aba948.js → doctor-d2e484e3.js} +0 -0
  262. /package/build/esm/{index-1725650a.js → index-35f93f75.js} +0 -0
  263. /package/build/esm/{index-b1aa9005.js → index-b054f053.js} +0 -0
  264. /package/build/esm/{index-f92d0e90.js → index-b68ed1ff.js} +0 -0
  265. /package/build/esm/{isProduction-6222484d.js → isProduction-d8ec1834.js} +0 -0
  266. /package/build/esm/{localizeNumberFormat-cd44f48d.js → localizeNumberFormat-9f9fd89b.js} +0 -0
  267. /package/build/esm/{normalizeLink-e440f854.js → normalizeLink-efd5a6d4.js} +0 -0
  268. /package/build/esm/{number-c73f01ef.js → number-0812a61a.js} +0 -0
  269. /package/build/esm/{paths-191b9bcb.js → paths-f79992e8.js} +0 -0
  270. /package/build/esm/{theme-f323adc1.js → theme-5e398375.js} +0 -0
  271. /package/build/esm/{translationsContext-6655e7cb.js → translationsContext-fabe2d6c.js} +0 -0
  272. /package/build/esm/{tslib.es6-8e00a7cc.js → tslib.es6-95aa6c45.js} +0 -0
  273. /package/build/esm/{types-837231a7.js → types-78d7cd6d.js} +0 -0
  274. /package/build/esm/{useIsInit-03baf933.js → useIsInit-7d05e6ef.js} +0 -0
  275. /package/build/esm/{useOutsideClick-706a93fb.js → useOutsideClick-afd0589f.js} +0 -0
  276. /package/build/esm/{useScrollbarSize-1d291e0d.js → useScrollbarSize-6395d56e.js} +0 -0
  277. /package/build/esm/{useUniqueId-1ef16020.js → useUniqueId-66e94cfe.js} +0 -0
  278. /package/build/esm/{utils-39560ed4.js → utils-0dc18a07.js} +0 -0
  279. /package/build/{index-85fc30c5.js → index-66eb3185.js} +0 -0
  280. /package/build/{index-c59bfbbb.js → index-c544fc7e.js} +0 -0
  281. /package/build/{index-d321f7a8.js → index-cb78c060.js} +0 -0
  282. /package/build/{isProduction-96133eef.js → isProduction-aabf4af3.js} +0 -0
  283. /package/build/{localizeNumberFormat-1a4a253f.js → localizeNumberFormat-b448f0fa.js} +0 -0
  284. /package/build/{normalizeLink-78c2b7df.js → normalizeLink-2f09aa46.js} +0 -0
  285. /package/build/{number-49bfc87b.js → number-2dbb158f.js} +0 -0
  286. /package/build/{paths-e064be1f.js → paths-b5da59ab.js} +0 -0
  287. /package/build/{theme-f685e3ad.js → theme-be6da382.js} +0 -0
  288. /package/build/{translationsContext-69ba65a6.js → translationsContext-411bcdc8.js} +0 -0
  289. /package/build/{tslib.es6-7527fc8a.js → tslib.es6-cb222661.js} +0 -0
  290. /package/build/{types-f28303ae.js → types-caec3da6.js} +0 -0
  291. /package/build/{useIsInit-65eea6b2.js → useIsInit-7a01ef3c.js} +0 -0
  292. /package/build/{useOutsideClick-e867ff30.js → useOutsideClick-1f1e5c25.js} +0 -0
  293. /package/build/{useScrollbarSize-7e1cc0f6.js → useScrollbarSize-3f5e7072.js} +0 -0
  294. /package/build/{useUniqueId-383481d1.js → useUniqueId-b86f2ff3.js} +0 -0
  295. /package/build/{utils-333f3048.js → utils-faa48afe.js} +0 -0
@@ -1,153 +0,0 @@
1
- import React__default from 'react';
2
- import { B as Button } from './index-550816d6.js';
3
- import { C as Container } from './index-1725650a.js';
4
- import dayjs from 'dayjs';
5
- import { d as domainLocales } from './index-a701ba63.js';
6
- import { t as theme } from './theme-f323adc1.js';
7
- import './index-79c01960.js';
8
- import { Flex, Stack, Box } from '@mantine/core';
9
- import '@mantine/dates';
10
- import './Subot-da7e1e94.js';
11
- import './index-95135d78.js';
12
- import './useMantineLocale-6b09a1b7.js';
13
- import { T as Text } from './index-68da5cb6.js';
14
- import { u as useTranslations } from './useTranslations-e9f765b2.js';
15
- import '@mantine/hooks';
16
- import './utils-39560ed4.js';
17
- import { L as Logo } from './index-0476c1ec.js';
18
- import { M as MarryBabyText } from './index-da5fc871.js';
19
- import './translationsContext-6655e7cb.js';
20
- import 'string-format';
21
-
22
- var styles$1 = {"footer":"Lj0qoTD","flag":"OO-qFWT"};
23
-
24
- const Flag = ({ url, dataEventCategory, dataEventAction, dataEventLabel, }) => {
25
- return (React__default.createElement("div", { className: styles$1.flag },
26
- React__default.createElement("img", { loading: "lazy", className: "country-flag", src: url, alt: "Country Flag", "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-content-label": dataEventLabel })));
27
- };
28
- const DiscoverFooter = ({ className, type = 'main', footerInfo, locale, }) => {
29
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
30
- const { t } = useTranslations();
31
- const footerMenu = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu;
32
- const verifiedIcons = ((_b = (_a = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _a === void 0 ? void 0 : _a.verified) === null || _b === void 0 ? void 0 : _b.filter(Boolean)) || [];
33
- const FooterComp = 'footer';
34
- return (React__default.createElement(FooterComp, { className: `${styles$1.footer } ${className || ''}`, style: type === 'mini'
35
- ? {
36
- backgroundColor: theme.colors.neutral50,
37
- }
38
- : {} },
39
- React__default.createElement(Container, null,
40
- React__default.createElement("div", { className: "inner", "data-type": type }, type === 'main' ? (React__default.createElement(React__default.Fragment, null,
41
- React__default.createElement("a", { href: "/" },
42
- React__default.createElement("img", { loading: "lazy", className: "footer-logo", src: (_c = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _c === void 0 ? void 0 : _c.logo, alt: "Logo", "data-is-sehat": locale === 'id-ID' })),
43
- React__default.createElement("div", { className: "columns" },
44
- React__default.createElement("div", { className: "newsletter" },
45
- React__default.createElement(Text, { size: "p1", weight: "bold" }, (_d = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _d === void 0 ? void 0 : _d.content),
46
- React__default.createElement(Button, { className: "signupButton", color: "primary", size: "lg" }, t('footer.signUp')),
47
- React__default.createElement("div", { className: "social" },
48
- React__default.createElement(Text, { size: "sm" }, (_e = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _e === void 0 ? void 0 : _e.title),
49
- React__default.createElement("div", { className: "icons" }, (_g = (_f = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _f === void 0 ? void 0 : _f.socials) === null || _g === void 0 ? void 0 : _g.map((social, idx) => (React__default.createElement("a", { key: idx, "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, href: social.url },
50
- React__default.createElement("img", { loading: "lazy", "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, src: social.icon, alt: "Logo Social", className: "social-icon" }))))),
51
- React__default.createElement("hr", { className: "hrMobile" }))),
52
- React__default.createElement("div", null,
53
- footerMenu && (React__default.createElement(React__default.Fragment, null,
54
- React__default.createElement("div", { className: "biglinks" }, (_j = (_h = footerMenu[0]) === null || _h === void 0 ? void 0 : _h.items) === null || _j === void 0 ? void 0 : _j.map((bigLink, idx) => (React__default.createElement("a", { "data-event-category": "Footer", "data-event-action": bigLink.title, "data-event-label": `https://${domainLocales[locale]}${bigLink.url}`, className: "bigLink", key: idx, href: bigLink.url }, bigLink.title)))),
55
- React__default.createElement("hr", { className: "hrMobile" }),
56
- React__default.createElement("div", { className: "mHalf" },
57
- React__default.createElement(Text, { size: "sm", className: "linkTitle" }, (_k = footerMenu[1]) === null || _k === void 0 ? void 0 : _k.menu_title), (_m = (_l = footerMenu[1]) === null || _l === void 0 ? void 0 : _l.items) === null || _m === void 0 ? void 0 :
58
- _m.map((informationLink, idx) => (React__default.createElement("a", { "data-event-category": "Footer", "data-event-action": informationLink.title, "data-event-label": `https://${domainLocales[locale]}${informationLink.url}`, className: "link", href: informationLink.url, key: idx },
59
- React__default.createElement(Text, { size: "sm", dataEventCategory: "Footer", dataEventAction: informationLink.title, dataEventLabel: `https://${domainLocales[locale]}${informationLink.url}` }, informationLink.title))))),
60
- React__default.createElement("div", { className: "mHalf" },
61
- React__default.createElement(Text, { size: "sm", className: "linkTitle" }, (_o = footerMenu[2]) === null || _o === void 0 ? void 0 : _o.menu_title), (_q = (_p = footerMenu[2]) === null || _p === void 0 ? void 0 : _p.items) === null || _q === void 0 ? void 0 :
62
- _q.map((hellohealthlink, idx) => hellohealthlink.url && (React__default.createElement("a", { "data-event-category": "Footer", "data-event-action": hellohealthlink.title, "data-event-label": hellohealthlink.url, className: "link", href: hellohealthlink.url, key: idx },
63
- React__default.createElement(Text, { size: "sm", dataEventCategory: "Footer", dataEventAction: hellohealthlink.title, dataEventLabel: hellohealthlink.url }, hellohealthlink.title))))))),
64
- React__default.createElement("hr", { className: "hrMobile" }),
65
- React__default.createElement("div", { className: "otherSites" },
66
- React__default.createElement(Text, { size: "sm", className: "linkTitle" }, (_r = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.branch) === null || _r === void 0 ? void 0 : _r.title),
67
- React__default.createElement("div", { className: "flags" }, (_t = (_s = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.branch) === null || _s === void 0 ? void 0 : _s.branch) === null || _t === void 0 ? void 0 : _t.map((flagLink, idx) => (React__default.createElement("a", { className: "link", href: flagLink.url, key: idx, "data-event-category": "Footer", "data-event-action": flagLink.name, "data-event-label": flagLink.url },
68
- React__default.createElement(Flag, { url: flagLink.flag, dataEventCategory: "Footer", dataEventAction: flagLink.name, dataEventLabel: flagLink.url })))))))),
69
- React__default.createElement("hr", null),
70
- React__default.createElement("div", { className: "copyright" },
71
- React__default.createElement("div", { className: "copyright-image-wrapper" }, verifiedIcons.length
72
- ? verifiedIcons.map((verify, index) => (React__default.createElement("a", { href: verify.url, key: index, className: "copyright-image" },
73
- React__default.createElement("img", { loading: "lazy", src: verify.image, alt: "DMCA Icon" }))))
74
- : null),
75
- React__default.createElement(Text, { size: "xs", className: "copyright-content", as: "div" },
76
- React__default.createElement("div", { dangerouslySetInnerHTML: {
77
- __html: (_u = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _u === void 0 ? void 0 : _u.copyright.replace(/{currentYear}/gi, dayjs().get('year').toString()),
78
- } }))))) : (React__default.createElement(React__default.Fragment, null, (footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu) && (React__default.createElement("div", { className: "columns" },
79
- React__default.createElement("div", { className: "mHalf" },
80
- React__default.createElement(Text, { size: "sm", className: "linkTitle" }, (_v = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[1]) === null || _v === void 0 ? void 0 : _v.menu_title), (_x = (_w = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[1]) === null || _w === void 0 ? void 0 : _w.items) === null || _x === void 0 ? void 0 :
81
- _x.map((informationLink) => (React__default.createElement("a", { className: "link", href: informationLink.url, key: informationLink.title, "data-list-type": "Footer", "data-content-type": "Navigate", "data-content-topic": "Information", "data-content-title": informationLink.title, "data-content-id": `https://${domainLocales[locale]}${informationLink.url}`, "data-event-category": "Footer", "data-event-action": informationLink.title, "data-event-label": `https://${domainLocales[locale]}${informationLink.url}` },
82
- React__default.createElement(Text, { dataEventCategory: "Footer", dataEventAction: informationLink.title, dataEventLabel: `https://${domainLocales[locale]}${informationLink.url}`, size: "sm", style: {
83
- color: theme.colors.gray800,
84
- } }, informationLink.title))))),
85
- React__default.createElement("div", { className: "mHalf" },
86
- React__default.createElement(Text, { size: "sm", className: "linkTitle" }, (_y = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[2]) === null || _y === void 0 ? void 0 : _y.menu_title), (_0 = (_z = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[2]) === null || _z === void 0 ? void 0 : _z.items) === null || _0 === void 0 ? void 0 :
87
- _0.map((hellohealthlink, idx) => (React__default.createElement("a", { className: "link", href: hellohealthlink.url, key: idx, "data-list-type": "Footer", "data-content-type": "Navigate", "data-content-topic": "Hello Health", "data-content-title": hellohealthlink.title, "data-content-id": hellohealthlink.url, "data-event-category": "Footer", "data-event-action": hellohealthlink.title, "data-event-label": hellohealthlink.url },
88
- React__default.createElement(Text, { size: "sm", color: theme.colors.gray800, dataEventCategory: "Footer", dataEventAction: hellohealthlink.title, dataEventLabel: hellohealthlink.url }, hellohealthlink.title))))),
89
- type !== 'mini' && React__default.createElement("hr", { className: "hrMobile" }),
90
- React__default.createElement("div", { className: "newsletter" },
91
- React__default.createElement("div", { className: "social" },
92
- React__default.createElement(Text, { size: "sm" }, (_1 = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _1 === void 0 ? void 0 : _1.title),
93
- React__default.createElement("div", { className: "icons" }, (_3 = (_2 = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _2 === void 0 ? void 0 : _2.socials) === null || _3 === void 0 ? void 0 : _3.map((social, idx) => (React__default.createElement("a", { key: idx, "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, href: social.url },
94
- React__default.createElement("img", { "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, src: social.icon, alt: "Logo Social", loading: "lazy", className: "social-icon" })))))))))))))));
95
- };
96
-
97
- var styles = {"footerContainer":"B6-KmWK","menuContainer":"GS-7mbG","wrapMenuItem":"qc5bEb3","wrapItems":"CQGVeuT","wrapCopyRight":"_8eUT8Jr","wrapInfo":"_6JMoel-","socialLink":"pFG7UH3"};
98
-
99
- const MarryBabyFooter = ({ logoType = 'marryBaby', footerMenu, background, }) => {
100
- var _a;
101
- if (!footerMenu)
102
- return null;
103
- const { general, menu, socials } = footerMenu;
104
- return (React__default.createElement("footer", { className: styles.footerContainer , style: {
105
- backgroundColor: background ? background : 'none',
106
- } },
107
- React__default.createElement(Container, null,
108
- React__default.createElement("div", { className: styles.menuContainer }, menu === null || menu === void 0 ? void 0 : menu.map(({ menu_title, items }, idx) => (React__default.createElement("div", { className: styles.wrapMenuItem, key: `mbf${idx}` },
109
- React__default.createElement(MarryBabyText, { className: "title", type: "subtitle-1", color: theme.mbColors.pink }, menu_title), items === null || items === void 0 ? void 0 :
110
- items.map(({ title, url }, id) => (React__default.createElement("a", { "data-event-category": "Footer", "data-event-action": "Click", "data-event-label": `${url}`, className: "link", href: url, key: `footer-links-${id}` },
111
- React__default.createElement("div", { className: styles.wrapItems, key: `mbitem${id}` },
112
- React__default.createElement(MarryBabyText, { type: "bodytext-2", color: theme.mbColors.gray }, title)))))))))),
113
- React__default.createElement(Container, null,
114
- React__default.createElement("div", { className: styles.wrapInfo },
115
- React__default.createElement(Flex, { gap: '24px', sx: (theme) => ({
116
- [theme.fn.largerThan('sm')]: {
117
- '.info-item': {
118
- flexGrow: 1,
119
- width: '50%',
120
- },
121
- },
122
- [theme.fn.smallerThan('sm')]: {
123
- flexDirection: 'column',
124
- },
125
- }) },
126
- React__default.createElement(Stack, { spacing: '24px', className: "info-item" },
127
- React__default.createElement(Logo, { className: "logo", type: logoType }),
128
- React__default.createElement(Text, { size: "p4", as: "div" },
129
- React__default.createElement("div", { dangerouslySetInnerHTML: {
130
- __html: general === null || general === void 0 ? void 0 : general.content,
131
- } })),
132
- React__default.createElement("div", { className: styles.socialLink }, socials === null || socials === void 0 ? void 0 : socials.map(({ icon, name, url }, id) => (React__default.createElement("a", { key: `social${id}`, target: "_blank", rel: "noreferrer", "data-event-category": "Footer", "data-event-action": `Follow us - ${name}`, "data-content-label": name, href: url },
133
- React__default.createElement("img", { className: "social-logo", loading: "lazy", src: icon, alt: name })))))),
134
- React__default.createElement(Box, { className: "info-item", sx: { paddingTop: '7px' } },
135
- React__default.createElement(Text, { size: "p4", as: "div" },
136
- React__default.createElement("div", { dangerouslySetInnerHTML: {
137
- __html: general === null || general === void 0 ? void 0 : general.information,
138
- } })))))),
139
- React__default.createElement("div", { className: styles.wrapCopyRight },
140
- React__default.createElement(Container, null,
141
- React__default.createElement("div", { className: "content" },
142
- React__default.createElement(Text, { size: "p5", color: "#fff", as: "div" },
143
- React__default.createElement("div", { dangerouslySetInnerHTML: {
144
- __html: general === null || general === void 0 ? void 0 : general.copyright.replace(/{currentYear}/gi, dayjs().get('year').toString()),
145
- } })),
146
- React__default.createElement("div", { className: "verify" }, (_a = general === null || general === void 0 ? void 0 : general.verified) === null || _a === void 0 ? void 0 : _a.map(({ image, url }, idx) => (React__default.createElement("img", { loading: "lazy", key: `imgMbFt${idx}`, src: image, alt: url })))))))));
147
- };
148
-
149
- const Footer = ({ type, locale, footerInfo, siteType, background }) => {
150
- return siteType === 'helloSites' ? (React__default.createElement(DiscoverFooter, { type: type, locale: locale, footerInfo: (footerInfo || {}) })) : (React__default.createElement(MarryBabyFooter, { footerMenu: footerInfo, background: background }));
151
- };
152
-
153
- export { Footer as F };
@@ -1,160 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var index$2 = require('./index-2a215463.js');
5
- var index = require('./index-d321f7a8.js');
6
- var dayjs = require('dayjs');
7
- var index$3 = require('./index-fed9cac0.js');
8
- var theme = require('./theme-f685e3ad.js');
9
- require('./index-1a467805.js');
10
- var core = require('@mantine/core');
11
- require('@mantine/dates');
12
- require('./Subot-d47ccb2d.js');
13
- require('./index-e9e9cb9f.js');
14
- require('./useMantineLocale-347bd1c6.js');
15
- var index$1 = require('./index-5fa8745b.js');
16
- var useTranslations = require('./useTranslations-6c96bbdb.js');
17
- require('@mantine/hooks');
18
- require('./utils-333f3048.js');
19
- var index$5 = require('./index-93ea4a8e.js');
20
- var index$4 = require('./index-30df3c74.js');
21
- require('./translationsContext-69ba65a6.js');
22
- require('string-format');
23
-
24
- function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
25
-
26
- var React__default = /*#__PURE__*/_interopDefault(React);
27
- var dayjs__default = /*#__PURE__*/_interopDefault(dayjs);
28
-
29
- var styles$1 = {"footer":"Lj0qoTD","flag":"OO-qFWT"};
30
-
31
- const Flag = ({ url, dataEventCategory, dataEventAction, dataEventLabel, }) => {
32
- return (React__default["default"].createElement("div", { className: styles$1.flag },
33
- React__default["default"].createElement("img", { loading: "lazy", className: "country-flag", src: url, alt: "Country Flag", "data-event-category": dataEventCategory, "data-event-action": dataEventAction, "data-content-label": dataEventLabel })));
34
- };
35
- const DiscoverFooter = ({ className, type = 'main', footerInfo, locale, }) => {
36
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
37
- const { t } = useTranslations.useTranslations();
38
- const footerMenu = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu;
39
- const verifiedIcons = ((_b = (_a = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _a === void 0 ? void 0 : _a.verified) === null || _b === void 0 ? void 0 : _b.filter(Boolean)) || [];
40
- const FooterComp = 'footer';
41
- return (React__default["default"].createElement(FooterComp, { className: `${styles$1.footer } ${className || ''}`, style: type === 'mini'
42
- ? {
43
- backgroundColor: theme.theme.colors.neutral50,
44
- }
45
- : {} },
46
- React__default["default"].createElement(index.Container, null,
47
- React__default["default"].createElement("div", { className: "inner", "data-type": type }, type === 'main' ? (React__default["default"].createElement(React__default["default"].Fragment, null,
48
- React__default["default"].createElement("a", { href: "/" },
49
- React__default["default"].createElement("img", { loading: "lazy", className: "footer-logo", src: (_c = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _c === void 0 ? void 0 : _c.logo, alt: "Logo", "data-is-sehat": locale === 'id-ID' })),
50
- React__default["default"].createElement("div", { className: "columns" },
51
- React__default["default"].createElement("div", { className: "newsletter" },
52
- React__default["default"].createElement(index$1.Text, { size: "p1", weight: "bold" }, (_d = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _d === void 0 ? void 0 : _d.content),
53
- React__default["default"].createElement(index$2.Button, { className: "signupButton", color: "primary", size: "lg" }, t('footer.signUp')),
54
- React__default["default"].createElement("div", { className: "social" },
55
- React__default["default"].createElement(index$1.Text, { size: "sm" }, (_e = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _e === void 0 ? void 0 : _e.title),
56
- React__default["default"].createElement("div", { className: "icons" }, (_g = (_f = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _f === void 0 ? void 0 : _f.socials) === null || _g === void 0 ? void 0 : _g.map((social, idx) => (React__default["default"].createElement("a", { key: idx, "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, href: social.url },
57
- React__default["default"].createElement("img", { loading: "lazy", "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, src: social.icon, alt: "Logo Social", className: "social-icon" }))))),
58
- React__default["default"].createElement("hr", { className: "hrMobile" }))),
59
- React__default["default"].createElement("div", null,
60
- footerMenu && (React__default["default"].createElement(React__default["default"].Fragment, null,
61
- React__default["default"].createElement("div", { className: "biglinks" }, (_j = (_h = footerMenu[0]) === null || _h === void 0 ? void 0 : _h.items) === null || _j === void 0 ? void 0 : _j.map((bigLink, idx) => (React__default["default"].createElement("a", { "data-event-category": "Footer", "data-event-action": bigLink.title, "data-event-label": `https://${index$3.domainLocales[locale]}${bigLink.url}`, className: "bigLink", key: idx, href: bigLink.url }, bigLink.title)))),
62
- React__default["default"].createElement("hr", { className: "hrMobile" }),
63
- React__default["default"].createElement("div", { className: "mHalf" },
64
- React__default["default"].createElement(index$1.Text, { size: "sm", className: "linkTitle" }, (_k = footerMenu[1]) === null || _k === void 0 ? void 0 : _k.menu_title), (_m = (_l = footerMenu[1]) === null || _l === void 0 ? void 0 : _l.items) === null || _m === void 0 ? void 0 :
65
- _m.map((informationLink, idx) => (React__default["default"].createElement("a", { "data-event-category": "Footer", "data-event-action": informationLink.title, "data-event-label": `https://${index$3.domainLocales[locale]}${informationLink.url}`, className: "link", href: informationLink.url, key: idx },
66
- React__default["default"].createElement(index$1.Text, { size: "sm", dataEventCategory: "Footer", dataEventAction: informationLink.title, dataEventLabel: `https://${index$3.domainLocales[locale]}${informationLink.url}` }, informationLink.title))))),
67
- React__default["default"].createElement("div", { className: "mHalf" },
68
- React__default["default"].createElement(index$1.Text, { size: "sm", className: "linkTitle" }, (_o = footerMenu[2]) === null || _o === void 0 ? void 0 : _o.menu_title), (_q = (_p = footerMenu[2]) === null || _p === void 0 ? void 0 : _p.items) === null || _q === void 0 ? void 0 :
69
- _q.map((hellohealthlink, idx) => hellohealthlink.url && (React__default["default"].createElement("a", { "data-event-category": "Footer", "data-event-action": hellohealthlink.title, "data-event-label": hellohealthlink.url, className: "link", href: hellohealthlink.url, key: idx },
70
- React__default["default"].createElement(index$1.Text, { size: "sm", dataEventCategory: "Footer", dataEventAction: hellohealthlink.title, dataEventLabel: hellohealthlink.url }, hellohealthlink.title))))))),
71
- React__default["default"].createElement("hr", { className: "hrMobile" }),
72
- React__default["default"].createElement("div", { className: "otherSites" },
73
- React__default["default"].createElement(index$1.Text, { size: "sm", className: "linkTitle" }, (_r = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.branch) === null || _r === void 0 ? void 0 : _r.title),
74
- React__default["default"].createElement("div", { className: "flags" }, (_t = (_s = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.branch) === null || _s === void 0 ? void 0 : _s.branch) === null || _t === void 0 ? void 0 : _t.map((flagLink, idx) => (React__default["default"].createElement("a", { className: "link", href: flagLink.url, key: idx, "data-event-category": "Footer", "data-event-action": flagLink.name, "data-event-label": flagLink.url },
75
- React__default["default"].createElement(Flag, { url: flagLink.flag, dataEventCategory: "Footer", dataEventAction: flagLink.name, dataEventLabel: flagLink.url })))))))),
76
- React__default["default"].createElement("hr", null),
77
- React__default["default"].createElement("div", { className: "copyright" },
78
- React__default["default"].createElement("div", { className: "copyright-image-wrapper" }, verifiedIcons.length
79
- ? verifiedIcons.map((verify, index) => (React__default["default"].createElement("a", { href: verify.url, key: index, className: "copyright-image" },
80
- React__default["default"].createElement("img", { loading: "lazy", src: verify.image, alt: "DMCA Icon" }))))
81
- : null),
82
- React__default["default"].createElement(index$1.Text, { size: "xs", className: "copyright-content", as: "div" },
83
- React__default["default"].createElement("div", { dangerouslySetInnerHTML: {
84
- __html: (_u = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.general) === null || _u === void 0 ? void 0 : _u.copyright.replace(/{currentYear}/gi, dayjs__default["default"]().get('year').toString()),
85
- } }))))) : (React__default["default"].createElement(React__default["default"].Fragment, null, (footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu) && (React__default["default"].createElement("div", { className: "columns" },
86
- React__default["default"].createElement("div", { className: "mHalf" },
87
- React__default["default"].createElement(index$1.Text, { size: "sm", className: "linkTitle" }, (_v = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[1]) === null || _v === void 0 ? void 0 : _v.menu_title), (_x = (_w = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[1]) === null || _w === void 0 ? void 0 : _w.items) === null || _x === void 0 ? void 0 :
88
- _x.map((informationLink) => (React__default["default"].createElement("a", { className: "link", href: informationLink.url, key: informationLink.title, "data-list-type": "Footer", "data-content-type": "Navigate", "data-content-topic": "Information", "data-content-title": informationLink.title, "data-content-id": `https://${index$3.domainLocales[locale]}${informationLink.url}`, "data-event-category": "Footer", "data-event-action": informationLink.title, "data-event-label": `https://${index$3.domainLocales[locale]}${informationLink.url}` },
89
- React__default["default"].createElement(index$1.Text, { dataEventCategory: "Footer", dataEventAction: informationLink.title, dataEventLabel: `https://${index$3.domainLocales[locale]}${informationLink.url}`, size: "sm", style: {
90
- color: theme.theme.colors.gray800,
91
- } }, informationLink.title))))),
92
- React__default["default"].createElement("div", { className: "mHalf" },
93
- React__default["default"].createElement(index$1.Text, { size: "sm", className: "linkTitle" }, (_y = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[2]) === null || _y === void 0 ? void 0 : _y.menu_title), (_0 = (_z = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.menu[2]) === null || _z === void 0 ? void 0 : _z.items) === null || _0 === void 0 ? void 0 :
94
- _0.map((hellohealthlink, idx) => (React__default["default"].createElement("a", { className: "link", href: hellohealthlink.url, key: idx, "data-list-type": "Footer", "data-content-type": "Navigate", "data-content-topic": "Hello Health", "data-content-title": hellohealthlink.title, "data-content-id": hellohealthlink.url, "data-event-category": "Footer", "data-event-action": hellohealthlink.title, "data-event-label": hellohealthlink.url },
95
- React__default["default"].createElement(index$1.Text, { size: "sm", color: theme.theme.colors.gray800, dataEventCategory: "Footer", dataEventAction: hellohealthlink.title, dataEventLabel: hellohealthlink.url }, hellohealthlink.title))))),
96
- type !== 'mini' && React__default["default"].createElement("hr", { className: "hrMobile" }),
97
- React__default["default"].createElement("div", { className: "newsletter" },
98
- React__default["default"].createElement("div", { className: "social" },
99
- React__default["default"].createElement(index$1.Text, { size: "sm" }, (_1 = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _1 === void 0 ? void 0 : _1.title),
100
- React__default["default"].createElement("div", { className: "icons" }, (_3 = (_2 = footerInfo === null || footerInfo === void 0 ? void 0 : footerInfo.social) === null || _2 === void 0 ? void 0 : _2.socials) === null || _3 === void 0 ? void 0 : _3.map((social, idx) => (React__default["default"].createElement("a", { key: idx, "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, href: social.url },
101
- React__default["default"].createElement("img", { "data-event-category": "Footer", "data-event-action": `Follow us - ${social.name}`, "data-content-label": social.url, src: social.icon, alt: "Logo Social", loading: "lazy", className: "social-icon" })))))))))))))));
102
- };
103
-
104
- var styles = {"footerContainer":"B6-KmWK","menuContainer":"GS-7mbG","wrapMenuItem":"qc5bEb3","wrapItems":"CQGVeuT","wrapCopyRight":"_8eUT8Jr","wrapInfo":"_6JMoel-","socialLink":"pFG7UH3"};
105
-
106
- const MarryBabyFooter = ({ logoType = 'marryBaby', footerMenu, background, }) => {
107
- var _a;
108
- if (!footerMenu)
109
- return null;
110
- const { general, menu, socials } = footerMenu;
111
- return (React__default["default"].createElement("footer", { className: styles.footerContainer , style: {
112
- backgroundColor: background ? background : 'none',
113
- } },
114
- React__default["default"].createElement(index.Container, null,
115
- React__default["default"].createElement("div", { className: styles.menuContainer }, menu === null || menu === void 0 ? void 0 : menu.map(({ menu_title, items }, idx) => (React__default["default"].createElement("div", { className: styles.wrapMenuItem, key: `mbf${idx}` },
116
- React__default["default"].createElement(index$4.MarryBabyText, { className: "title", type: "subtitle-1", color: theme.theme.mbColors.pink }, menu_title), items === null || items === void 0 ? void 0 :
117
- items.map(({ title, url }, id) => (React__default["default"].createElement("a", { "data-event-category": "Footer", "data-event-action": "Click", "data-event-label": `${url}`, className: "link", href: url, key: `footer-links-${id}` },
118
- React__default["default"].createElement("div", { className: styles.wrapItems, key: `mbitem${id}` },
119
- React__default["default"].createElement(index$4.MarryBabyText, { type: "bodytext-2", color: theme.theme.mbColors.gray }, title)))))))))),
120
- React__default["default"].createElement(index.Container, null,
121
- React__default["default"].createElement("div", { className: styles.wrapInfo },
122
- React__default["default"].createElement(core.Flex, { gap: '24px', sx: (theme) => ({
123
- [theme.fn.largerThan('sm')]: {
124
- '.info-item': {
125
- flexGrow: 1,
126
- width: '50%',
127
- },
128
- },
129
- [theme.fn.smallerThan('sm')]: {
130
- flexDirection: 'column',
131
- },
132
- }) },
133
- React__default["default"].createElement(core.Stack, { spacing: '24px', className: "info-item" },
134
- React__default["default"].createElement(index$5.Logo, { className: "logo", type: logoType }),
135
- React__default["default"].createElement(index$1.Text, { size: "p4", as: "div" },
136
- React__default["default"].createElement("div", { dangerouslySetInnerHTML: {
137
- __html: general === null || general === void 0 ? void 0 : general.content,
138
- } })),
139
- React__default["default"].createElement("div", { className: styles.socialLink }, socials === null || socials === void 0 ? void 0 : socials.map(({ icon, name, url }, id) => (React__default["default"].createElement("a", { key: `social${id}`, target: "_blank", rel: "noreferrer", "data-event-category": "Footer", "data-event-action": `Follow us - ${name}`, "data-content-label": name, href: url },
140
- React__default["default"].createElement("img", { className: "social-logo", loading: "lazy", src: icon, alt: name })))))),
141
- React__default["default"].createElement(core.Box, { className: "info-item", sx: { paddingTop: '7px' } },
142
- React__default["default"].createElement(index$1.Text, { size: "p4", as: "div" },
143
- React__default["default"].createElement("div", { dangerouslySetInnerHTML: {
144
- __html: general === null || general === void 0 ? void 0 : general.information,
145
- } })))))),
146
- React__default["default"].createElement("div", { className: styles.wrapCopyRight },
147
- React__default["default"].createElement(index.Container, null,
148
- React__default["default"].createElement("div", { className: "content" },
149
- React__default["default"].createElement(index$1.Text, { size: "p5", color: "#fff", as: "div" },
150
- React__default["default"].createElement("div", { dangerouslySetInnerHTML: {
151
- __html: general === null || general === void 0 ? void 0 : general.copyright.replace(/{currentYear}/gi, dayjs__default["default"]().get('year').toString()),
152
- } })),
153
- React__default["default"].createElement("div", { className: "verify" }, (_a = general === null || general === void 0 ? void 0 : general.verified) === null || _a === void 0 ? void 0 : _a.map(({ image, url }, idx) => (React__default["default"].createElement("img", { loading: "lazy", key: `imgMbFt${idx}`, src: image, alt: url })))))))));
154
- };
155
-
156
- const Footer = ({ type, locale, footerInfo, siteType, background }) => {
157
- return siteType === 'helloSites' ? (React__default["default"].createElement(DiscoverFooter, { type: type, locale: locale, footerInfo: (footerInfo || {}) })) : (React__default["default"].createElement(MarryBabyFooter, { footerMenu: footerInfo, background: background }));
158
- };
159
-
160
- exports.Footer = Footer;
File without changes
File without changes
File without changes