@hhgtech/hhg-components 1.29.80 → 1.29.81

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 (344) hide show
  1. package/build/{index-1250dd06.js → WhatsApp-82018096.js} +24 -276
  2. package/build/adapters.js +17 -16
  3. package/build/atoms.js +100 -0
  4. package/build/babyGrowth.js +162 -164
  5. package/build/cache.js +3 -3
  6. package/build/care.js +17 -17
  7. package/build/components.js +181 -165
  8. package/build/{constants-ca71f9e5.js → constants-3a475a22.js} +2 -2
  9. package/build/constants-513a9a41.js +318 -0
  10. package/build/{constants-4e7c419e.js → constants-936f45e9.js} +0 -136
  11. package/build/constants-dd16fb4d.js +425 -0
  12. package/build/constants.js +3 -3
  13. package/build/{core-bb2587e7.js → core-9e44ee99.js} +2 -2
  14. package/build/{index-5d9ad07e.js → dataTransform-6b4d7a4e.js} +3 -52
  15. package/build/{dataTransform-469b75eb.js → dataTransform-c1701cbd.js} +1 -1
  16. package/build/defaultClassWrapper-e87ca8ef.js +21 -0
  17. package/build/ecom.js +5 -5
  18. package/build/esm/WhatsApp-7d3732e2.js +46 -0
  19. package/build/esm/adapters.js +17 -16
  20. package/build/esm/atoms.js +57 -0
  21. package/build/esm/babyGrowth.js +87 -89
  22. package/build/esm/cache.js +3 -3
  23. package/build/esm/care.js +17 -17
  24. package/build/esm/components.js +91 -75
  25. package/build/esm/constants-6bdb97a8.js +417 -0
  26. package/build/esm/constants-71d9f33b.js +307 -0
  27. package/build/esm/{constants-7661ce64.js → constants-ebf80e5f.js} +2 -2
  28. package/build/esm/{constants-508ba335.js → constants-f77fc231.js} +1 -127
  29. package/build/esm/constants.js +3 -3
  30. package/build/esm/{core-5a22b83e.js → core-c72e0ff5.js} +2 -2
  31. package/build/esm/{index-9b54376f.js → dataTransform-3e8e25ba.js} +5 -53
  32. package/build/esm/{dataTransform-f5db5afb.js → dataTransform-6c032113.js} +1 -1
  33. package/build/esm/defaultClassWrapper-31caf23b.js +15 -0
  34. package/build/esm/ecom.js +5 -5
  35. package/build/esm/fixedBottomAdBlock-13ed4a34.js +3474 -0
  36. package/build/esm/footer.js +18 -18
  37. package/build/esm/gAssets.js +4 -4
  38. package/build/esm/{getDynamicHealthTool-09fda8b3.js → getDynamicHealthTool-7681e43a.js} +4 -4
  39. package/build/esm/{getSocialList-96301dbb.js → getSocialList-e8142513.js} +5 -6
  40. package/build/esm/healthToolsForm.js +40 -0
  41. package/build/esm/healthToolsForms.d.ts +7 -0
  42. package/build/esm/hooks.js +17 -17
  43. package/build/esm/i18n.js +2 -2
  44. package/build/esm/i18nV2.js +2 -2
  45. package/build/esm/index-16514f4d.js +156 -0
  46. package/build/esm/{index-3c7f109c.js → index-1da2ca0b.js} +2 -2
  47. package/build/esm/{utils-ff5d88a2.js → index-1ecbcf21.js} +71 -105
  48. package/build/esm/{index-92eedeb0.js → index-21eac858.js} +12 -201
  49. package/build/esm/{index-c4699d44.js → index-2774583d.js} +35 -176
  50. package/build/esm/index-29d04985.js +14 -0
  51. package/build/esm/index-2b9213cf.js +195 -0
  52. package/build/esm/index-3078acec.js +275 -0
  53. package/build/esm/index-376bee14.js +847 -0
  54. package/build/esm/index-38f50764.js +557 -0
  55. package/build/esm/index-42ad7763.js +95 -0
  56. package/build/esm/{index-53a86337.js → index-598ab51b.js} +5 -5
  57. package/build/esm/{index-df29c4e0.js → index-69248434.js} +33 -5
  58. package/build/esm/index-6ac73f00.js +1114 -0
  59. package/build/esm/index-703205e3.js +54 -0
  60. package/build/esm/{index-82861dba.js → index-73301602.js} +2 -2
  61. package/build/esm/index-76d20d3f.js +100 -0
  62. package/build/esm/{index-e68d4285.js → index-780a08de.js} +2 -2
  63. package/build/esm/{index-80f4d7df.js → index-78255d6c.js} +2 -2
  64. package/build/esm/{index-da2b8f22.js → index-7cbe2a10.js} +12 -11
  65. package/build/esm/{index-2d47a346.js → index-7e756cb8.js} +11 -10
  66. package/build/esm/{index.styled-9e147e72.js → index-87a2ea8c.js} +21 -3
  67. package/build/esm/index-88ad2ca3.js +1681 -0
  68. package/build/esm/index-8952ceac.js +202 -0
  69. package/build/esm/index-996f7caf.js +148 -0
  70. package/build/esm/{index-ef855343.js → index-9f1899f2.js} +4 -4
  71. package/build/esm/{index-32e2b169.js → index-b1bb27aa.js} +81 -9
  72. package/build/esm/{index-c807ef87.js → index-bef3c9bd.js} +3 -3
  73. package/build/esm/{index-bcd13f1d.js → index-c1af3a8e.js} +13 -12
  74. package/build/esm/{index-4dcdce19.js → index-c200bff6.js} +2 -2
  75. package/build/esm/{index-5773eb18.js → index-cb4afb33.js} +6 -6
  76. package/build/esm/{index-679d5383.js → index-cdac57da.js} +1 -1
  77. package/build/esm/{index-474e0ae5.js → index-cf6beac8.js} +2 -13
  78. package/build/esm/{index-77dddeb9.js → index-d218b94e.js} +2 -2
  79. package/build/esm/index-d6201fa4.js +42 -0
  80. package/build/esm/index-e104ad21.js +335 -0
  81. package/build/esm/index-e26514ee.js +262 -0
  82. package/build/esm/index-f27edf45.js +130 -0
  83. package/build/esm/index.js +89 -73
  84. package/build/esm/lead.js +23 -33
  85. package/build/esm/logoIcon-d93bc56e.js +104 -0
  86. package/build/esm/mantine.js +22 -20
  87. package/build/esm/misc.js +21 -21
  88. package/build/esm/molecules.js +88 -0
  89. package/build/esm/navigation.js +37 -37
  90. package/build/esm/onboardingV2.js +26 -35
  91. package/build/esm/organisms.js +57 -0
  92. package/build/esm/pwg.js +19 -19
  93. package/build/esm/{routing-7bc3e320.js → routing-bebdc8b7.js} +2 -2
  94. package/build/esm/subot.js +31 -27
  95. package/build/esm/surveyOrPremiumBanner.js +45 -0
  96. package/build/esm/surveyQuestionCard.js +13 -0
  97. package/build/esm/surveyThankyouCard-bf6080eb.js +446 -0
  98. package/build/esm/together.js +35 -37
  99. package/build/esm/{types-957334f2.js → types-2580132c.js} +28 -30
  100. package/build/esm/{types-ee1be1e3.js → types-be952df2.js} +13 -13
  101. package/build/esm/types.js +1 -1
  102. package/build/esm/{useCategory-7e020652.js → useCategory-8f109eb7.js} +5 -5
  103. package/build/esm/{useHealthToolCache-c70e4fd5.js → useHealthToolCache-d97dfa00.js} +2 -2
  104. package/build/esm/{useMantineLocale-1373e175.js → useMantineLocale-4fb67342.js} +3 -3
  105. package/build/esm/{usePlacesAutocomplete-4bfe976e.js → usePlacesAutocomplete-fe2e4cbe.js} +1 -1
  106. package/build/esm/{useTranslations-adad3b06.js → useTranslations-fbf6a6ab.js} +1 -1
  107. package/build/esm/{utils-b14c10f9.js → utils-cef111b6.js} +1 -1
  108. package/build/esm/{utils-dee27bfd.js → utils-d5a0b58f.js} +8 -356
  109. package/build/esm/vaccination.js +18 -29
  110. package/build/fixedBottomAdBlock-0d4379d1.js +3521 -0
  111. package/build/footer.js +18 -18
  112. package/build/gAssets.js +4 -4
  113. package/build/{getDynamicHealthTool-357666f7.js → getDynamicHealthTool-2a92e1a5.js} +4 -4
  114. package/build/{getSocialList-c1404aff.js → getSocialList-97e7bcc1.js} +8 -9
  115. package/build/healthToolsForm.js +54 -0
  116. package/build/healthToolsForms.d.ts +7 -0
  117. package/build/hooks.js +17 -17
  118. package/build/i18n.js +1 -1
  119. package/build/i18nV2.js +1 -1
  120. package/build/index-058b3c0f.js +1127 -0
  121. package/build/{index-94fd9ea6.js → index-05f106c2.js} +32 -222
  122. package/build/index-06fa8444.js +102 -0
  123. package/build/{index-858f60e0.js → index-1efa7d84.js} +2 -2
  124. package/build/index-247a9eb2.js +1693 -0
  125. package/build/{index-94a2b0f9.js → index-264eeddd.js} +2 -2
  126. package/build/index-3d0d22b3.js +565 -0
  127. package/build/index-3dcb9bc6.js +61 -0
  128. package/build/{index-91027d35.js → index-4af08ec2.js} +2 -2
  129. package/build/index-6acb08c0.js +343 -0
  130. package/build/{index-bf6e5e4e.js → index-6bc3f8c3.js} +5 -5
  131. package/build/{index-b0414701.js → index-6c27b627.js} +56 -199
  132. package/build/index-73cde644.js +156 -0
  133. package/build/{index-5029b5d8.js → index-77a2b9ee.js} +1 -1
  134. package/build/{index-d710511f.js → index-7c1dc717.js} +12 -11
  135. package/build/index-7da7b531.js +107 -0
  136. package/build/{index-f0a532c7.js → index-838b0f95.js} +6 -6
  137. package/build/index-a7de42d1.js +202 -0
  138. package/build/{index-3a03bb34.js → index-a86ea1b6.js} +2 -2
  139. package/build/index-aa818139.js +49 -0
  140. package/build/{index-61ef343d.js → index-b773bc3d.js} +4 -4
  141. package/build/index-bef2bc73.js +136 -0
  142. package/build/{utils-263a60f7.js → index-c225ef22.js} +76 -120
  143. package/build/{index-8c826f3e.js → index-c2900d8c.js} +2 -2
  144. package/build/index-cb0544e5.js +866 -0
  145. package/build/{index-e60c98f8.js → index-d34cd464.js} +2 -2
  146. package/build/{index-82a3ba38.js → index-d5b4089d.js} +85 -12
  147. package/build/index-dba2e361.js +20 -0
  148. package/build/{index-917c975c.js → index-dcbd8bf3.js} +37 -9
  149. package/build/index-dd1392e3.js +167 -0
  150. package/build/{index-ed587907.js → index-def9867a.js} +11 -10
  151. package/build/index-e0bf03ac.js +277 -0
  152. package/build/index-ee964d3c.js +209 -0
  153. package/build/index-f10efb61.js +270 -0
  154. package/build/{index-040620f6.js → index-f1f4fbb9.js} +13 -12
  155. package/build/{index-c67602d7.js → index-f28c47ce.js} +1 -13
  156. package/build/{index-2b32b21e.js → index-f6575703.js} +2 -2
  157. package/build/{index.styled-8aca5145.js → index-fe7345fa.js} +22 -4
  158. package/build/index.js +202 -186
  159. package/build/lead.js +29 -39
  160. package/build/logoIcon-ee9a5501.js +110 -0
  161. package/build/mantine.js +24 -23
  162. package/build/misc.js +21 -21
  163. package/build/molecules.js +149 -0
  164. package/build/navigation.js +37 -37
  165. package/build/onboardingV2.js +45 -54
  166. package/build/organisms.js +74 -0
  167. package/build/pwg.js +19 -19
  168. package/build/{routing-bc8197d8.js → routing-f6d54205.js} +2 -2
  169. package/build/subot.js +43 -39
  170. package/build/surveyOrPremiumBanner.js +53 -0
  171. package/build/surveyQuestionCard.js +22 -0
  172. package/build/surveyThankyouCard-ead6b355.js +454 -0
  173. package/build/together.js +37 -39
  174. package/build/{types-6996fb20.js → types-4ba4268f.js} +13 -13
  175. package/build/{types-c8956642.js → types-6c5643a2.js} +60 -62
  176. package/build/types.js +1 -1
  177. package/build/{useCategory-7d1f8a7d.js → useCategory-e2c91f59.js} +5 -5
  178. package/build/{useHealthToolCache-b7dea4aa.js → useHealthToolCache-2a53367b.js} +2 -2
  179. package/build/{useMantineLocale-b243f628.js → useMantineLocale-a4f0c61d.js} +3 -3
  180. package/build/{usePlacesAutocomplete-08b86d2d.js → usePlacesAutocomplete-c76d0caf.js} +1 -1
  181. package/build/{useTranslations-d5456a98.js → useTranslations-200168a3.js} +1 -1
  182. package/build/{utils-9f62698f.js → utils-95d9832e.js} +16 -375
  183. package/build/{utils-d421a448.js → utils-af695515.js} +1 -1
  184. package/build/vaccination.js +58 -69
  185. package/package.json +1 -1
  186. package/build/Instagram-91ba1e26.js +0 -32
  187. package/build/esm/Instagram-319a8e34.js +0 -26
  188. package/build/esm/index-13bf84f4.js +0 -298
  189. package/build/esm/index-1a3f36c3.js +0 -1086
  190. package/build/esm/index-800b956a.js +0 -7245
  191. package/build/esm/index-aebf96f3.js +0 -33
  192. package/build/esm/index-d48b5db6.js +0 -71
  193. package/build/esm/index-d5b66388.js +0 -23
  194. package/build/esm/index.styles-0ef0135c.js +0 -1322
  195. package/build/index-0523771b.js +0 -7324
  196. package/build/index-20ebc0bd.js +0 -30
  197. package/build/index-dbf560f2.js +0 -1100
  198. package/build/index-efcbac97.js +0 -39
  199. package/build/index-f5103542.js +0 -77
  200. package/build/index.styles-2bdfde5f.js +0 -1361
  201. /package/build/{BMI_BOYS.percentile.monthly-c38ce03a.js → BMI_BOYS.percentile.monthly-71fb1c9f.js} +0 -0
  202. /package/build/{BMI_BOYS.percentile.weekly-1eccee42.js → BMI_BOYS.percentile.weekly-b2b344a7.js} +0 -0
  203. /package/build/{BMI_BOYS.percentile.yearly-0e7d5cb6.js → BMI_BOYS.percentile.yearly-031ddade.js} +0 -0
  204. /package/build/{BMI_BOYS.zscore.monthly-f72f392f.js → BMI_BOYS.zscore.monthly-bb1f9962.js} +0 -0
  205. /package/build/{BMI_BOYS.zscore.weekly-94fd04e6.js → BMI_BOYS.zscore.weekly-d6198d53.js} +0 -0
  206. /package/build/{BMI_BOYS.zscore.yearly-90d5e091.js → BMI_BOYS.zscore.yearly-48255337.js} +0 -0
  207. /package/build/{BMI_GIRLS.percentile.monthly-de3a9a14.js → BMI_GIRLS.percentile.monthly-e3e284ee.js} +0 -0
  208. /package/build/{BMI_GIRLS.percentile.weekly-1e1ce2b7.js → BMI_GIRLS.percentile.weekly-9f2d3977.js} +0 -0
  209. /package/build/{BMI_GIRLS.percentile.yearly-70a44f31.js → BMI_GIRLS.percentile.yearly-c79f34ce.js} +0 -0
  210. /package/build/{BMI_GIRLS.zscore.monthly-be4399a5.js → BMI_GIRLS.zscore.monthly-11092df0.js} +0 -0
  211. /package/build/{BMI_GIRLS.zscore.weekly-6121376b.js → BMI_GIRLS.zscore.weekly-5c375d2b.js} +0 -0
  212. /package/build/{BMI_GIRLS.zscore.yearly-822e7686.js → BMI_GIRLS.zscore.yearly-adbba8e3.js} +0 -0
  213. /package/build/{ChevronDown-f9d31306.js → ChevronDown-f7e25d61.js} +0 -0
  214. /package/build/{Close-27e0dcf1.js → Close-36b0da99.js} +0 -0
  215. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-5e094c3e.js → HEAD CIRCUM_BOYS.percentile.monthly-163b99ad.js} +0 -0
  216. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-24f827d8.js → HEAD CIRCUM_BOYS.percentile.weekly-c9882014.js} +0 -0
  217. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d7478410.js → HEAD CIRCUM_BOYS.percentile.yearly-9d2bc91e.js} +0 -0
  218. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-1123cad6.js → HEAD CIRCUM_BOYS.zscore.monthly-1d2a215c.js} +0 -0
  219. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-a5b55615.js → HEAD CIRCUM_BOYS.zscore.weekly-1f139c91.js} +0 -0
  220. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0d818764.js → HEAD CIRCUM_BOYS.zscore.yearly-ba15501b.js} +0 -0
  221. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-dddf5ad9.js → HEAD CIRCUM_GIRLS.percentile.monthly-a546201a.js} +0 -0
  222. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a80d6989.js → HEAD CIRCUM_GIRLS.percentile.weekly-66cd5a7e.js} +0 -0
  223. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-01850b67.js → HEAD CIRCUM_GIRLS.percentile.yearly-9db3c653.js} +0 -0
  224. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-82890053.js → HEAD CIRCUM_GIRLS.zscore.monthly-0405e2cb.js} +0 -0
  225. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-069f8c8f.js → HEAD CIRCUM_GIRLS.zscore.weekly-b2cc3ad2.js} +0 -0
  226. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-ae5ef237.js → HEAD CIRCUM_GIRLS.zscore.yearly-3115f993.js} +0 -0
  227. /package/build/{HEIGHT_BOYS.percentile.monthly-d0da1664.js → HEIGHT_BOYS.percentile.monthly-35138a98.js} +0 -0
  228. /package/build/{HEIGHT_BOYS.percentile.weekly-55446b8a.js → HEIGHT_BOYS.percentile.weekly-0216c35b.js} +0 -0
  229. /package/build/{HEIGHT_BOYS.percentile.yearly-f2f5b19f.js → HEIGHT_BOYS.percentile.yearly-f698e45d.js} +0 -0
  230. /package/build/{HEIGHT_BOYS.zscore.monthly-e6ed98ef.js → HEIGHT_BOYS.zscore.monthly-01195728.js} +0 -0
  231. /package/build/{HEIGHT_BOYS.zscore.weekly-d0d37479.js → HEIGHT_BOYS.zscore.weekly-993e9cf2.js} +0 -0
  232. /package/build/{HEIGHT_BOYS.zscore.yearly-4023b808.js → HEIGHT_BOYS.zscore.yearly-fee3ed69.js} +0 -0
  233. /package/build/{HEIGHT_GIRLS.percentile.monthly-6d9aeadc.js → HEIGHT_GIRLS.percentile.monthly-27b2474a.js} +0 -0
  234. /package/build/{HEIGHT_GIRLS.percentile.weekly-2087c9b4.js → HEIGHT_GIRLS.percentile.weekly-77bff236.js} +0 -0
  235. /package/build/{HEIGHT_GIRLS.percentile.yearly-f98d8b05.js → HEIGHT_GIRLS.percentile.yearly-6200a720.js} +0 -0
  236. /package/build/{HEIGHT_GIRLS.zscore.monthly-99d299e3.js → HEIGHT_GIRLS.zscore.monthly-94978e64.js} +0 -0
  237. /package/build/{HEIGHT_GIRLS.zscore.weekly-c46ed349.js → HEIGHT_GIRLS.zscore.weekly-7951beb1.js} +0 -0
  238. /package/build/{HEIGHT_GIRLS.zscore.yearly-fddefca4.js → HEIGHT_GIRLS.zscore.yearly-c2eca714.js} +0 -0
  239. /package/build/{Visible-01dfaec9.js → Visible-eee51ba6.js} +0 -0
  240. /package/build/{WEIGHT_BOYS.percentile.monthly-cead8ece.js → WEIGHT_BOYS.percentile.monthly-6a6f901b.js} +0 -0
  241. /package/build/{WEIGHT_BOYS.percentile.weekly-a97fa31a.js → WEIGHT_BOYS.percentile.weekly-737fb867.js} +0 -0
  242. /package/build/{WEIGHT_BOYS.percentile.yearly-c2c41945.js → WEIGHT_BOYS.percentile.yearly-7772b5e5.js} +0 -0
  243. /package/build/{WEIGHT_BOYS.zscore.monthly-d8de7dc2.js → WEIGHT_BOYS.zscore.monthly-8db2e7d6.js} +0 -0
  244. /package/build/{WEIGHT_BOYS.zscore.weekly-41a6f6bf.js → WEIGHT_BOYS.zscore.weekly-ddd37c1a.js} +0 -0
  245. /package/build/{WEIGHT_BOYS.zscore.yearly-5762fa8a.js → WEIGHT_BOYS.zscore.yearly-332a8f7b.js} +0 -0
  246. /package/build/{WEIGHT_GIRLS.percentile.monthly-526fb18a.js → WEIGHT_GIRLS.percentile.monthly-3edad688.js} +0 -0
  247. /package/build/{WEIGHT_GIRLS.percentile.weekly-6c63ed2b.js → WEIGHT_GIRLS.percentile.weekly-f113a82a.js} +0 -0
  248. /package/build/{WEIGHT_GIRLS.percentile.yearly-0ecdbd3a.js → WEIGHT_GIRLS.percentile.yearly-95afbeaf.js} +0 -0
  249. /package/build/{WEIGHT_GIRLS.zscore.monthly-0c353536.js → WEIGHT_GIRLS.zscore.monthly-d27c4bd4.js} +0 -0
  250. /package/build/{WEIGHT_GIRLS.zscore.weekly-97898ff6.js → WEIGHT_GIRLS.zscore.weekly-2b113519.js} +0 -0
  251. /package/build/{WEIGHT_GIRLS.zscore.yearly-cbebe807.js → WEIGHT_GIRLS.zscore.yearly-c82b04db.js} +0 -0
  252. /package/build/{animation-8605b5bb.js → animation-e1375a3b.js} +0 -0
  253. /package/build/{cart-ab5762b8.js → cart-67147d06.js} +0 -0
  254. /package/build/{cookieHelper-b2132ffc.js → cookieHelper-17491ce8.js} +0 -0
  255. /package/build/{doctor-f121fd79.js → doctor-17b525f8.js} +0 -0
  256. /package/build/esm/{BMI_BOYS.percentile.monthly-e507536d.js → BMI_BOYS.percentile.monthly-7c9d4923.js} +0 -0
  257. /package/build/esm/{BMI_BOYS.percentile.weekly-3cbf7392.js → BMI_BOYS.percentile.weekly-c410294a.js} +0 -0
  258. /package/build/esm/{BMI_BOYS.percentile.yearly-c7d54bc3.js → BMI_BOYS.percentile.yearly-695a4fe2.js} +0 -0
  259. /package/build/esm/{BMI_BOYS.zscore.monthly-4d09aca0.js → BMI_BOYS.zscore.monthly-9fb9f281.js} +0 -0
  260. /package/build/esm/{BMI_BOYS.zscore.weekly-319b78c5.js → BMI_BOYS.zscore.weekly-d2109e4b.js} +0 -0
  261. /package/build/esm/{BMI_BOYS.zscore.yearly-764732c5.js → BMI_BOYS.zscore.yearly-bfa5361b.js} +0 -0
  262. /package/build/esm/{BMI_GIRLS.percentile.monthly-5a8e4069.js → BMI_GIRLS.percentile.monthly-f5f60596.js} +0 -0
  263. /package/build/esm/{BMI_GIRLS.percentile.weekly-a2fe6df1.js → BMI_GIRLS.percentile.weekly-26e4e864.js} +0 -0
  264. /package/build/esm/{BMI_GIRLS.percentile.yearly-810fe911.js → BMI_GIRLS.percentile.yearly-5a2b297d.js} +0 -0
  265. /package/build/esm/{BMI_GIRLS.zscore.monthly-afab03b0.js → BMI_GIRLS.zscore.monthly-4e80bed5.js} +0 -0
  266. /package/build/esm/{BMI_GIRLS.zscore.weekly-8f4e7198.js → BMI_GIRLS.zscore.weekly-03b79f0b.js} +0 -0
  267. /package/build/esm/{BMI_GIRLS.zscore.yearly-7f043621.js → BMI_GIRLS.zscore.yearly-822ed949.js} +0 -0
  268. /package/build/esm/{ChevronDown-d24fd24b.js → ChevronDown-74267eb8.js} +0 -0
  269. /package/build/esm/{Close-6243d246.js → Close-372aa467.js} +0 -0
  270. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-91c12176.js → HEAD CIRCUM_BOYS.percentile.monthly-21b04c4c.js} +0 -0
  271. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-40e77c68.js → HEAD CIRCUM_BOYS.percentile.weekly-049a9d97.js} +0 -0
  272. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-1a284ec4.js → HEAD CIRCUM_BOYS.percentile.yearly-a4bbbaba.js} +0 -0
  273. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-16f716a6.js → HEAD CIRCUM_BOYS.zscore.monthly-7cb348c6.js} +0 -0
  274. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-07d20112.js → HEAD CIRCUM_BOYS.zscore.weekly-678a1a52.js} +0 -0
  275. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1201a10a.js → HEAD CIRCUM_BOYS.zscore.yearly-db81b17e.js} +0 -0
  276. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a6348baf.js → HEAD CIRCUM_GIRLS.percentile.monthly-cee33cd5.js} +0 -0
  277. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-af26363f.js → HEAD CIRCUM_GIRLS.percentile.weekly-2cec19c3.js} +0 -0
  278. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e7637928.js → HEAD CIRCUM_GIRLS.percentile.yearly-5949e664.js} +0 -0
  279. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9be0e0ca.js → HEAD CIRCUM_GIRLS.zscore.monthly-7c2bffab.js} +0 -0
  280. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3ffe9dcd.js → HEAD CIRCUM_GIRLS.zscore.weekly-356dd00a.js} +0 -0
  281. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d7226db1.js → HEAD CIRCUM_GIRLS.zscore.yearly-e7b62215.js} +0 -0
  282. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-c2e21892.js → HEIGHT_BOYS.percentile.monthly-359c4335.js} +0 -0
  283. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-22018f1e.js → HEIGHT_BOYS.percentile.weekly-a4d4acd3.js} +0 -0
  284. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-391cd377.js → HEIGHT_BOYS.percentile.yearly-ec9a7f9b.js} +0 -0
  285. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e11f50f4.js → HEIGHT_BOYS.zscore.monthly-12331258.js} +0 -0
  286. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-8e2c8306.js → HEIGHT_BOYS.zscore.weekly-172054d3.js} +0 -0
  287. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-78e974bb.js → HEIGHT_BOYS.zscore.yearly-bb47a3be.js} +0 -0
  288. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0a49ff89.js → HEIGHT_GIRLS.percentile.monthly-c93c0b34.js} +0 -0
  289. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-5e158a8e.js → HEIGHT_GIRLS.percentile.weekly-f1f83097.js} +0 -0
  290. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f5544ab2.js → HEIGHT_GIRLS.percentile.yearly-ccee4e55.js} +0 -0
  291. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-92f67ec2.js → HEIGHT_GIRLS.zscore.monthly-caf5410c.js} +0 -0
  292. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f5d11f32.js → HEIGHT_GIRLS.zscore.weekly-b1e28b0e.js} +0 -0
  293. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4fe6aad9.js → HEIGHT_GIRLS.zscore.yearly-c3af35d3.js} +0 -0
  294. /package/build/esm/{Visible-7f408f98.js → Visible-3f9d7dca.js} +0 -0
  295. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b09ae73a.js → WEIGHT_BOYS.percentile.monthly-8a4647df.js} +0 -0
  296. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-733a24a9.js → WEIGHT_BOYS.percentile.weekly-a2a6adf1.js} +0 -0
  297. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-2bfcfc93.js → WEIGHT_BOYS.percentile.yearly-073df8b7.js} +0 -0
  298. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c0d3a746.js → WEIGHT_BOYS.zscore.monthly-bb9e73d2.js} +0 -0
  299. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-b41ff498.js → WEIGHT_BOYS.zscore.weekly-ef32ce7a.js} +0 -0
  300. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-15bb7570.js → WEIGHT_BOYS.zscore.yearly-6cc77688.js} +0 -0
  301. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-5b79dea8.js → WEIGHT_GIRLS.percentile.monthly-a4b518bc.js} +0 -0
  302. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-33052637.js → WEIGHT_GIRLS.percentile.weekly-dcedaebb.js} +0 -0
  303. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-64382b53.js → WEIGHT_GIRLS.percentile.yearly-9e66577e.js} +0 -0
  304. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-63f19584.js → WEIGHT_GIRLS.zscore.monthly-c07cb81f.js} +0 -0
  305. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-938ebce2.js → WEIGHT_GIRLS.zscore.weekly-9c5c3e8e.js} +0 -0
  306. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-016e1cfc.js → WEIGHT_GIRLS.zscore.yearly-e99ce511.js} +0 -0
  307. /package/build/esm/{animation-bf170ee9.js → animation-0b2299dc.js} +0 -0
  308. /package/build/esm/{cart-5bdb4fa5.js → cart-f961dadc.js} +0 -0
  309. /package/build/esm/{cookieHelper-ff6c13b4.js → cookieHelper-73ce3871.js} +0 -0
  310. /package/build/esm/{doctor-f4cadffb.js → doctor-8a07ca44.js} +0 -0
  311. /package/build/esm/{index-6c0f560b.js → index-782fed08.js} +0 -0
  312. /package/build/esm/{index-528e64f4.js → index-b65a8764.js} +0 -0
  313. /package/build/esm/{index-b87433a0.js → index-c3264b34.js} +0 -0
  314. /package/build/esm/{index-eeedf0f0.js → index-e3787b20.js} +0 -0
  315. /package/build/esm/{isProduction-2838b9ae.js → isProduction-5684a28c.js} +0 -0
  316. /package/build/esm/{localizeNumberFormat-9303c122.js → localizeNumberFormat-42ae8d89.js} +0 -0
  317. /package/build/esm/{normalizeLink-38ab69f4.js → normalizeLink-d6f57223.js} +0 -0
  318. /package/build/esm/{number-fcae69c7.js → number-13f075cf.js} +0 -0
  319. /package/build/esm/{paths-d1c61fa8.js → paths-49a813e7.js} +0 -0
  320. /package/build/esm/{theme-0af1cc3d.js → theme-f18c2351.js} +0 -0
  321. /package/build/esm/{translationsContext-036458b7.js → translationsContext-f3d1a7bd.js} +0 -0
  322. /package/build/esm/{tslib.es6-2673b49d.js → tslib.es6-761239c7.js} +0 -0
  323. /package/build/esm/{useIsInit-2c5ff93d.js → useIsInit-ee864235.js} +0 -0
  324. /package/build/esm/{useOutsideClick-7023de23.js → useOutsideClick-7451aa57.js} +0 -0
  325. /package/build/esm/{useScrollbarSize-dfdab229.js → useScrollbarSize-84bb5b47.js} +0 -0
  326. /package/build/esm/{useUniqueId-d4b0bdd3.js → useUniqueId-c23213b6.js} +0 -0
  327. /package/build/esm/{utils-511a24f4.js → utils-f8761b9d.js} +0 -0
  328. /package/build/{index-c524c362.js → index-97ebd7e1.js} +0 -0
  329. /package/build/{index-bced434a.js → index-ba3797bb.js} +0 -0
  330. /package/build/{index-5c400e5e.js → index-bba97c2e.js} +0 -0
  331. /package/build/{index-18ddaa1b.js → index-df5cd44b.js} +0 -0
  332. /package/build/{isProduction-2e55aee3.js → isProduction-aa963bf9.js} +0 -0
  333. /package/build/{localizeNumberFormat-2befc6e4.js → localizeNumberFormat-90d4f9d5.js} +0 -0
  334. /package/build/{normalizeLink-0fd36e61.js → normalizeLink-451ae6d8.js} +0 -0
  335. /package/build/{number-92da0262.js → number-c2338382.js} +0 -0
  336. /package/build/{paths-350514c4.js → paths-e0bbfce7.js} +0 -0
  337. /package/build/{theme-f410baf6.js → theme-e4f7f487.js} +0 -0
  338. /package/build/{translationsContext-11cafcfc.js → translationsContext-39528d2f.js} +0 -0
  339. /package/build/{tslib.es6-4bc45883.js → tslib.es6-7e140b89.js} +0 -0
  340. /package/build/{useIsInit-0f6d1879.js → useIsInit-38cec0c4.js} +0 -0
  341. /package/build/{useOutsideClick-e067cc79.js → useOutsideClick-e579e1ac.js} +0 -0
  342. /package/build/{useScrollbarSize-ed50b4a6.js → useScrollbarSize-5a8be010.js} +0 -0
  343. /package/build/{useUniqueId-4ce69bff.js → useUniqueId-8929fe5f.js} +0 -0
  344. /package/build/{utils-4849d92a.js → utils-524bda7c.js} +0 -0
@@ -0,0 +1,202 @@
1
+ import React__default, { useRef, useEffect } from 'react';
2
+ import { Portal } from '@mantine/core';
3
+ import { t as toggleNoScroll } from './utils-f8761b9d.js';
4
+ import { css } from '@emotion/react';
5
+ import styled from '@emotion/styled';
6
+ import { t as theme } from './theme-f18c2351.js';
7
+ import { s as slideInUp, e as slideOutDown, b as slideInLeft, f as slideOutLeft, c as slideInRight, g as slideOutRight, a as slideInDown, d as slideOutUp } from './animation-0b2299dc.js';
8
+ import { T as Text } from './index-c200bff6.js';
9
+
10
+ const DURATION = '600ms';
11
+ const generateStyleBasedOnPlacement = (placement, open) => {
12
+ switch (placement) {
13
+ case 'top':
14
+ return css `
15
+ top: 0;
16
+ width: 100%;
17
+ border-radius: 0px 0px 6px 6px;
18
+ ${open
19
+ ? css `
20
+ animation: ${slideInDown} ${DURATION} ease-in-out forwards;
21
+ `
22
+ : null}
23
+
24
+ &.slideOut {
25
+ animation: ${slideOutUp} ${DURATION} ease-in-out forwards;
26
+ }
27
+ `;
28
+ case 'right':
29
+ return css `
30
+ right: 0;
31
+ height: 100%;
32
+ min-width: 300px;
33
+ border-radius: 6px 0px 0px 6px;
34
+
35
+ ${open
36
+ ? css `
37
+ animation: ${slideInRight} ${DURATION} ease-in-out forwards;
38
+ `
39
+ : null}
40
+
41
+ &.slideOut {
42
+ animation: ${slideOutRight} ${DURATION} ease-in-out forwards;
43
+ }
44
+ `;
45
+ case 'bottom':
46
+ return css `
47
+ bottom: 0;
48
+ width: 100%;
49
+ border-radius: 6px 6px 0px 0px;
50
+ ${open
51
+ ? css `
52
+ animation: ${slideInUp} ${DURATION} ease-in-out forwards;
53
+ `
54
+ : null}
55
+
56
+ &.slideOut {
57
+ animation: ${slideOutDown} ${DURATION} ease-in-out forwards;
58
+ }
59
+ `;
60
+ case 'left':
61
+ return css `
62
+ left: 0;
63
+ height: 100%;
64
+ min-width: 300px;
65
+ border-radius: 0px 6px 6px 0px;
66
+
67
+ ${open
68
+ ? css `
69
+ animation: ${slideInLeft} ${DURATION} ease-in-out forwards;
70
+ `
71
+ : null}
72
+
73
+ &.slideOut {
74
+ animation: ${slideOutLeft} ${DURATION} ease-in-out forwards;
75
+ }
76
+ `;
77
+ default:
78
+ return css `
79
+ left: 0;
80
+ height: 100%;
81
+ min-width: 300px;
82
+ border-radius: 0px 6px 6px 0px;
83
+
84
+ ${open
85
+ ? css `
86
+ animation: ${slideInUp} ${DURATION} ease-in-out forwards;
87
+ `
88
+ : null}
89
+
90
+ &.slideOut {
91
+ animation: ${slideOutDown} ${DURATION} ease-in-out forwards;
92
+ }
93
+ `;
94
+ }
95
+ };
96
+
97
+ const StyledDrawer = styled.div `
98
+ position: fixed;
99
+ inset: 0;
100
+ z-index: ${theme.zIndexes.drawer};
101
+ pointer-events: ${(props) => (props.open ? 'auto' : 'none')};
102
+ `;
103
+ const StyledDrawerPanel = styled.div `
104
+ position: fixed;
105
+ z-index: 300;
106
+ background: #ffffff;
107
+ visibility: ${(props) => (props.open ? 'visible' : 'hidden')};
108
+ max-height: calc(100vh - 100px);
109
+ display: flex;
110
+ flex-direction: column;
111
+ .title {
112
+ display: flex;
113
+ align-items: center;
114
+ justify-content: space-between;
115
+ padding: 16px;
116
+ ${(props) => props.hasTitle
117
+ ? css `
118
+ border-bottom: 1px solid ${theme.colors.neutral100};
119
+ `
120
+ : null}
121
+ }
122
+
123
+ .close-button {
124
+ margin-left: auto;
125
+ }
126
+
127
+ ${(props) => generateStyleBasedOnPlacement(props.placement, props.open)}
128
+ `;
129
+ const StyledDrawerContent = styled.div `
130
+ min-height: 200px;
131
+ padding: 16px;
132
+ overflow-y: auto;
133
+ `;
134
+
135
+ const StyledBackdrop = styled.div `
136
+ position: fixed;
137
+ inset: 0;
138
+ display: flex;
139
+ align-items: center;
140
+ justify-content: center;
141
+ width: 100%;
142
+ height: 100%;
143
+ overflow-x: hidden;
144
+ overflow-y: auto;
145
+ outline: 0;
146
+ background-color: rgba(38, 38, 38, 0.3);
147
+ z-index: 1;
148
+ &[data-open='false'] {
149
+ visibility: hidden;
150
+ pointer-events: none;
151
+ }
152
+ &[data-open='true'] {
153
+ visibility: visible;
154
+ pointer-events: auto;
155
+ }
156
+ `;
157
+
158
+ const Backdrop = ({ open = false, onClickOutside, }) => {
159
+ return (React__default.createElement(StyledBackdrop, { "data-open": open, onClick: onClickOutside }));
160
+ };
161
+
162
+ /**
163
+ * @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
164
+ */
165
+ const Drawer = ({ children, title, onClose, open = false, placement = 'left', destroyOnClose = false, isPropagationEvent = true, className, }) => {
166
+ const ref = useRef();
167
+ useEffect(() => {
168
+ toggleNoScroll(open);
169
+ return () => toggleNoScroll(false);
170
+ }, [open]);
171
+ const onCloseDrawer = () => {
172
+ ref.current.classList.add('slideOut');
173
+ setTimeout(() => {
174
+ onClose();
175
+ }, 800);
176
+ };
177
+ if (!open && destroyOnClose) {
178
+ return null;
179
+ }
180
+ return (React__default.createElement(Portal, null,
181
+ React__default.createElement(StyledDrawer, { className: className, open: open },
182
+ React__default.createElement(Backdrop, { open: open, onClickOutside: onCloseDrawer }),
183
+ React__default.createElement(StyledDrawerPanel, { open: open, placement: placement, ref: ref, hasTitle: Boolean(title) },
184
+ React__default.createElement("div", { className: "title" },
185
+ title && (React__default.createElement(Text, { size: "s2", weight: "semiBold" }, title)),
186
+ React__default.createElement("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", className: "close-button", onClick: onCloseDrawer },
187
+ React__default.createElement("path", { d: "M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z", fill: "#595959" }))),
188
+ React__default.createElement(StyledDrawerContent, { onClick: (e) => {
189
+ if (isPropagationEvent) {
190
+ e.stopPropagation();
191
+ }
192
+ } }, children &&
193
+ (React__default.isValidElement(children)
194
+ ? children
195
+ : typeof children === 'function'
196
+ ? children({
197
+ internalClose: onCloseDrawer,
198
+ })
199
+ : null))))));
200
+ };
201
+
202
+ export { Drawer as D };
@@ -0,0 +1,148 @@
1
+ import React__default, { useState } from 'react';
2
+ import { F as Flag } from './index-21eac858.js';
3
+ import styled from '@emotion/styled';
4
+ import { t as theme } from './theme-f18c2351.js';
5
+ import { T as Text } from './index-c200bff6.js';
6
+ import { C as CommonGAssets } from './index-78255d6c.js';
7
+
8
+ const ALLOW_DOMAIN_URL = [
9
+ 'hellobacsi.com',
10
+ 'hellosehat.com',
11
+ 'hellodoktor.com',
12
+ 'hellokrupet.com',
13
+ 'hellodoctor.com.ph',
14
+ 'hellokhunmor.com',
15
+ 'hellosayarwon.com',
16
+ 'helloyishi.com.tw',
17
+ 'helloswasthya.com',
18
+ 'marrybaby.vn',
19
+ 'hellohealth.questionpro.com',
20
+ 'hellobacsivn.page.link',
21
+ ];
22
+ const isInternalLink = (url = '') => {
23
+ return ALLOW_DOMAIN_URL.some((o) => new URL(url).origin.endsWith(o));
24
+ };
25
+
26
+ const StyledLanguageChangeLink = styled.a `
27
+ display: inline-flex;
28
+ position: relative;
29
+ flex-direction: row;
30
+ align-items: center;
31
+ padding: 7px 11px;
32
+ gap: 2px;
33
+
34
+ background: ${theme.colors.white};
35
+ border: 1px solid ${theme.colors.neutral100};
36
+ border-radius: 20px;
37
+
38
+ color: ${theme.colors.gray600};
39
+ font-weight: 600;
40
+ font-size: 12px;
41
+ line-height: 18px;
42
+ text-decoration: none;
43
+
44
+ cursor: pointer;
45
+ `;
46
+
47
+ const StyledSelectionContainer = styled.div `
48
+ position: relative;
49
+ display: inline-block;
50
+ `;
51
+ const StyledSelectionLabel = styled.div `
52
+ position: relative;
53
+ `;
54
+ const StyleSelectionPopup = styled.div `
55
+ position: absolute;
56
+ z-index: 21;
57
+ top: 100%;
58
+ right: 0;
59
+ width: 327px;
60
+ padding: 8px;
61
+ background: white;
62
+ border-radius: 4px;
63
+ filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));
64
+
65
+ &[data-is-open='false'] {
66
+ display: none;
67
+ }
68
+ &[data-show-indicator='true'] {
69
+ &:before {
70
+ position: absolute;
71
+ right: 11px;
72
+ bottom: 100%;
73
+ width: 0;
74
+ height: 0;
75
+ border: 0.5rem solid transparent;
76
+ border-top: none;
77
+ border-bottom-color: #fff;
78
+ content: '';
79
+ filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
80
+ }
81
+ }
82
+ `;
83
+ const StyledOption = styled.div `
84
+ display: flex;
85
+ height: 40px;
86
+ align-items: center;
87
+ justify-content: space-between;
88
+
89
+ padding: 0 16px;
90
+ border-radius: ${theme.borderRadius};
91
+ cursor: pointer;
92
+
93
+ .check-icon {
94
+ width: 16px;
95
+ height: 16px;
96
+ }
97
+ &[data-selected='false'] {
98
+ background-color: ${theme.colors.gray100};
99
+ }
100
+ `;
101
+ const StyledPopupBackground = styled.div `
102
+ position: fixed;
103
+ z-index: 20;
104
+ top: 0;
105
+ left: 0;
106
+ width: 100%;
107
+ height: 100%;
108
+ cursor: default;
109
+ `;
110
+
111
+ const TooltipSelection = ({ options, label, labelRenderer, selected, onChange, showSelected = true, style = {}, showIndicator = true, }) => {
112
+ const [isOpen, setIsOpen] = useState(false);
113
+ return (React__default.createElement(React__default.Fragment, null,
114
+ React__default.createElement(StyledSelectionContainer, null,
115
+ React__default.createElement(StyledSelectionLabel, { onClick: () => setIsOpen((value) => !value) },
116
+ label || (labelRenderer === null || labelRenderer === void 0 ? void 0 : labelRenderer(isOpen)) || null,
117
+ React__default.createElement(StyleSelectionPopup, { "data-is-open": isOpen, style: style, "data-show-indicator": showIndicator }, options.map((option, index) => (React__default.createElement(StyledOption, { key: index, "data-selected": showSelected && selected === option.value, onClick: (e) => {
118
+ if (selected !== option.value) {
119
+ onChange(option.value);
120
+ setIsOpen((value) => !value);
121
+ }
122
+ e.stopPropagation();
123
+ } },
124
+ React__default.createElement(Text, { size: "p3" }, option.label),
125
+ showSelected && selected === option.value && (React__default.createElement("img", { src: CommonGAssets.getAssetPath('check.svg'), alt: "check", className: "check-icon", loading: "lazy" })))))))),
126
+ isOpen && (React__default.createElement(StyledPopupBackground, { onClick: () => setIsOpen(false) }))));
127
+ };
128
+
129
+ const LanguageSwitcher = ({ languageOptions, locale }) => {
130
+ var _a, _b;
131
+ const selectedLanguage = languageOptions === null || languageOptions === void 0 ? void 0 : languageOptions.find((option) => option.locale === locale);
132
+ if (!(languageOptions === null || languageOptions === void 0 ? void 0 : languageOptions.length)) {
133
+ return null;
134
+ }
135
+ return (React__default.createElement(TooltipSelection, { options: languageOptions, selected: selectedLanguage.value, label: React__default.createElement(LanguageLabel, { locale: locale, label: selectedLanguage.label || ((_b = (_a = locale.split('-')) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.toUpperCase()) }), onChange: (href) => {
136
+ if (typeof window !== 'undefined') {
137
+ window.location.href = href;
138
+ }
139
+ }, style: { width: 100 }, showSelected: true, showIndicator: false }));
140
+ };
141
+ const LanguageLabel = ({ locale, label, href, }) => {
142
+ var _a, _b, _c;
143
+ return (React__default.createElement(StyledLanguageChangeLink, { href: href },
144
+ React__default.createElement(Flag, { country: (_b = (_a = locale === null || locale === void 0 ? void 0 : locale.split('-')) === null || _a === void 0 ? void 0 : _a[1]) === null || _b === void 0 ? void 0 : _b.toUpperCase(), width: 16, height: 16, rounded: true, language: (_c = locale === null || locale === void 0 ? void 0 : locale.split('-')) === null || _c === void 0 ? void 0 : _c[0] }),
145
+ React__default.createElement("span", null, label)));
146
+ };
147
+
148
+ export { LanguageSwitcher as L, isInternalLink as i };
@@ -1,9 +1,9 @@
1
- import { c as cookie } from './index-13bf84f4.js';
2
- import { B as BEARER_TOKEN_COOKIE, d as domainLocales } from './index-c807ef87.js';
3
- import { N as NodeIntentType } from './index-eeedf0f0.js';
1
+ import { c as cookie } from './index-3078acec.js';
2
+ import { B as BEARER_TOKEN_COOKIE, d as domainLocales } from './index-bef3c9bd.js';
3
+ import { N as NodeIntentType } from './index-e3787b20.js';
4
4
  import Cookies from 'js-cookie';
5
5
  import { v4 } from 'uuid';
6
- import { i as isProduction } from './isProduction-2838b9ae.js';
6
+ import { i as isProduction } from './isProduction-5684a28c.js';
7
7
 
8
8
  const queryKeysJson = [
9
9
  'form_submit_meta',
@@ -1,13 +1,21 @@
1
1
  import React__default, { useState, useEffect, useMemo, useCallback } from 'react';
2
- import { t as StyledDivider, u as useStyles, v as StyledContainer } from './index.styles-0ef0135c.js';
3
- import { _ as __rest, a as __awaiter } from './tslib.es6-2673b49d.js';
4
- import { u as useTranslations } from './useTranslations-adad3b06.js';
5
- import { B as Button } from './index-92eedeb0.js';
6
- import { P as PATHS } from './paths-d1c61fa8.js';
7
- import { a as LOCALIZED_SLUGS } from './constants-508ba335.js';
8
- import { d as domainLocales } from './index-c807ef87.js';
9
- import { h as callApi, i as getCarePath } from './utils-dee27bfd.js';
10
- import { i as isProduction } from './isProduction-2838b9ae.js';
2
+ import styled from '@emotion/styled';
3
+ import { t as theme } from './theme-f18c2351.js';
4
+ import { _ as __rest, a as __awaiter } from './tslib.es6-761239c7.js';
5
+ import { u as useTranslations } from './useTranslations-fbf6a6ab.js';
6
+ import { createStyles } from '@mantine/core';
7
+ import { B as Button } from './index-2b9213cf.js';
8
+ import { P as PATHS } from './paths-49a813e7.js';
9
+ import { L as LOCALIZED_SLUGS } from './constants-f77fc231.js';
10
+ import { d as domainLocales } from './index-bef3c9bd.js';
11
+ import { c as callApi, g as getCarePath } from './utils-d5a0b58f.js';
12
+ import { i as isProduction } from './isProduction-5684a28c.js';
13
+
14
+ const StyledDivider = styled.hr `
15
+ border-width: 1px;
16
+ border-color: ${theme.colors.neutral200};
17
+ border-style: ${(props) => props.dividerType};
18
+ `;
11
19
 
12
20
  /**
13
21
  * @deprecated Consider to use mantine
@@ -16,6 +24,61 @@ const Divider = ({ type = 'solid', className, style }) => {
16
24
  return (React__default.createElement(StyledDivider, { style: style, className: className, "data-diver-type": type, dividerType: type }));
17
25
  };
18
26
 
27
+ var useStyles = createStyles((theme) => {
28
+ return {
29
+ root: {
30
+ display: 'inline-block',
31
+ // height: 1rem,
32
+ flexShrink: 0,
33
+ padding: '2px 0.5rem',
34
+ marginLeft: '4px',
35
+ borderRadius: theme.radius.xs,
36
+ // color: white,
37
+ fontSize: '12px',
38
+ fontWeight: 400,
39
+ lineHeight: '18px',
40
+ '&[data-label-type="admin"]': {
41
+ background: theme.primaryColor[0],
42
+ color: theme.primaryColor[9],
43
+ // &[data-is-marrybaby='true'] {
44
+ // background: #{map-get($mbColors, 'tonePink')};
45
+ // color: #{map-get($mbColors, 'cRed')};
46
+ // }
47
+ },
48
+ '&[data-label-type="local admin"]': {
49
+ background: theme.primaryColor[8],
50
+ },
51
+ '&[data-label-type="ambassador"]': {
52
+ background: theme.colors.green[4],
53
+ },
54
+ '&[data-label-type="expert"]': {
55
+ background: theme.colors.yellow[6],
56
+ // &[data-is-marrybaby='true'] {
57
+ // background: #{map-get($mbColors, 'cOrange')};
58
+ // color: #{map-get($colors, 'cWhite')};
59
+ // }
60
+ },
61
+ '&[data-label-type="moderator"]': {
62
+ background: theme.colors.red[0],
63
+ color: theme.colors.red[8],
64
+ // &[data-is-marrybaby='true'] {
65
+ // background: #{map-get($mbColors, 'toneBlue')};
66
+ // color: #{map-get($mbColors, 'cobalt')};
67
+ // }
68
+ },
69
+ '&[data-label-type="sponsor"]': {
70
+ background: theme.colors.teal[4],
71
+ },
72
+ '&[data-label-type="guide"]': {
73
+ background: theme.colors.teal[4],
74
+ },
75
+ '&[data-label-type="influencer"]': {
76
+ background: theme.colors.teal[4],
77
+ },
78
+ },
79
+ };
80
+ });
81
+
19
82
  const AuthorLabelTextMapping = {
20
83
  admin: 'cardAuthor.admin',
21
84
  moderator: 'cardAuthor.moderator',
@@ -50,6 +113,15 @@ const AuthorBadge = (_a) => {
50
113
  className: cx(classes.root, className), "data-label-type": matchedRole, "data-is-marrybaby": siteType === 'marryBaby' }, rest), title || t(AuthorLabelTextMapping[matchedRole]))) : null;
51
114
  };
52
115
 
116
+ const StyledContainer = styled.div `
117
+ display: flex;
118
+ align-items: center;
119
+ gap: 8px;
120
+ button[data-color='tertiary'] {
121
+ background: white;
122
+ }
123
+ `;
124
+
53
125
  const BtnChoice = ({ value: valueInit, choices, onChange }) => {
54
126
  const [value, setValue] = useState(valueInit);
55
127
  useEffect(() => {
@@ -1,6 +1,6 @@
1
1
  import { enUS, vi, km, hi, id, ms, th, zhTW } from 'date-fns/locale';
2
- import { L as LOCALE } from './index-eeedf0f0.js';
3
- import { i as isProduction } from './isProduction-2838b9ae.js';
2
+ import { L as LOCALE } from './index-e3787b20.js';
3
+ import { i as isProduction } from './isProduction-5684a28c.js';
4
4
 
5
5
  const siteHost = {
6
6
  HELLO_HEALTH_GROUP: 'hellohealthgroup.com',
@@ -902,4 +902,4 @@ var index = /*#__PURE__*/Object.freeze({
902
902
  isProduction: isProduction
903
903
  });
904
904
 
905
- export { API_DATE_FORMAT as A, BEARER_TOKEN_COOKIE as B, CARE_LOCALES as C, DATE_FNS_LOCALE as D, ECOM_LOCALES as E, FAVICONS as F, GA_TOKEN_COOKIE as G, ISO_FORMAT as I, LOCALE_SPECS as L, MAP_DOMAIN_BY_LOCALE as M, QUERY_HEALTH_TOOL as Q, RISK_SCREENER_NAME as R, STATIC_PAGES as S, TOGETHER_LOCALES as T, USER_GEOLOCATION_COORDINATES_COOKIE as U, RISK_SCREENER_SLUG as a, CARE_BOOKING_LOCALES as b, CDN_ADDRESS as c, domainLocales as d, basePath as e, SSO_URL as f, UP_BASEPATH as g, DATE_FNS_DATE_FORMAT as h, index as i, siteHost as j, siteOptions as s };
905
+ export { API_DATE_FORMAT as A, BEARER_TOKEN_COOKIE as B, CDN_ADDRESS as C, DATE_FNS_LOCALE as D, ECOM_LOCALES as E, FAVICONS as F, GA_TOKEN_COOKIE as G, ISO_FORMAT as I, LOCALE_SPECS as L, MAP_DOMAIN_BY_LOCALE as M, QUERY_HEALTH_TOOL as Q, RISK_SCREENER_NAME as R, STATIC_PAGES as S, TOGETHER_LOCALES as T, USER_GEOLOCATION_COORDINATES_COOKIE as U, RISK_SCREENER_SLUG as a, CARE_LOCALES as b, CARE_BOOKING_LOCALES as c, domainLocales as d, basePath as e, SSO_URL as f, UP_BASEPATH as g, DATE_FNS_DATE_FORMAT as h, index as i, siteHost as j, siteOptions as s };
@@ -1,22 +1,23 @@
1
1
  import React__default from 'react';
2
- import { C as Container } from './index-6c0f560b.js';
2
+ import { C as Container } from './index-782fed08.js';
3
3
  import dayjs from 'dayjs';
4
- import { d as domainLocales } from './index-c807ef87.js';
5
- import { u as useScreenSize } from './index-92eedeb0.js';
4
+ import { d as domainLocales } from './index-bef3c9bd.js';
5
+ import { u as useScreenSize } from './index-21eac858.js';
6
6
  import { Flex, Stack, Box } from '@mantine/core';
7
7
  import '@mantine/dates';
8
- import './index-eeedf0f0.js';
9
- import './index-80f4d7df.js';
10
- import './useMantineLocale-1373e175.js';
11
- import { T as Text } from './index-4dcdce19.js';
12
- import { t as theme } from './theme-0af1cc3d.js';
13
- import './translationsContext-036458b7.js';
8
+ import './index-e3787b20.js';
9
+ import './index-78255d6c.js';
10
+ import './useMantineLocale-4fb67342.js';
11
+ import { T as Text } from './index-c200bff6.js';
12
+ import './index-2b9213cf.js';
13
+ import { t as theme } from './theme-f18c2351.js';
14
+ import './translationsContext-f3d1a7bd.js';
14
15
  import 'string-format';
15
16
  import '@mantine/hooks';
16
- import { M as MediaQueries } from './utils-511a24f4.js';
17
+ import { M as MediaQueries } from './utils-f8761b9d.js';
17
18
  import styled from '@emotion/styled';
18
- import { L as Logo } from './index-d48b5db6.js';
19
- import { M as MarryBabyText } from './index-d5b66388.js';
19
+ import { L as Logo } from './index-1ecbcf21.js';
20
+ import { M as MarryBabyText } from './index-87a2ea8c.js';
20
21
 
21
22
  const StyledFooter$1 = styled.footer `
22
23
  background-color: #1b3250;
@@ -1,7 +1,7 @@
1
- import { _ as __rest } from './tslib.es6-2673b49d.js';
1
+ import { _ as __rest } from './tslib.es6-761239c7.js';
2
2
  import React__default from 'react';
3
3
  import { createStyles, Text as Text$1 } from '@mantine/core';
4
- import { O as OTHER_THEME_CONFIG, F as FontWeight } from './utils-511a24f4.js';
4
+ import { O as OTHER_THEME_CONFIG, F as FontWeight } from './utils-f8761b9d.js';
5
5
 
6
6
  var useStyles = createStyles((theme, _params) => {
7
7
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
@@ -1,11 +1,11 @@
1
- import { _ as __rest } from './tslib.es6-2673b49d.js';
1
+ import { _ as __rest } from './tslib.es6-761239c7.js';
2
2
  import React__default, { useMemo, useState, useEffect } from 'react';
3
- import { L as LOCALE } from './index-eeedf0f0.js';
3
+ import { L as LOCALE } from './index-e3787b20.js';
4
4
  import styled from '@emotion/styled';
5
- import { C as CommonGAssets } from './index-80f4d7df.js';
6
- import { t as theme } from './theme-0af1cc3d.js';
7
- import { I as ImageWrap, f as CentralCarousel } from './index-92eedeb0.js';
8
- import { T as Text } from './index-2d47a346.js';
5
+ import { C as CommonGAssets } from './index-78255d6c.js';
6
+ import { t as theme } from './theme-f18c2351.js';
7
+ import { I as ImageWrap, d as CentralCarousel } from './index-21eac858.js';
8
+ import { T as Text } from './index-7e756cb8.js';
9
9
 
10
10
  const StyledIconContainer = styled.div `
11
11
  display: inline-flex;
@@ -1,7 +1,7 @@
1
1
  import React__default from 'react';
2
2
  import { useMantineTheme } from '@mantine/core';
3
3
  import styled from '@emotion/styled';
4
- import { t as theme } from './theme-0af1cc3d.js';
4
+ import { t as theme } from './theme-f18c2351.js';
5
5
 
6
6
  const StyledDropdown = styled.div `
7
7
  --dropdown-padding: 12px 18px 12px 16px;
@@ -1,19 +1,8 @@
1
1
  import React__default, { useRef, useState, useEffect } from 'react';
2
- import { I as Icon } from './index-df29c4e0.js';
3
- import { u as useTranslations } from './useTranslations-adad3b06.js';
4
2
  import { format } from 'date-fns';
5
3
  import DayPickerInput from 'react-day-picker/DayPickerInput';
6
4
  import styled from '@emotion/styled';
7
- import { t as theme } from './theme-0af1cc3d.js';
8
-
9
- var styles = {"loading":"tliWyii"};
10
-
11
- const Loading = ({ className, theme, hideText }) => {
12
- const { t } = useTranslations();
13
- return (React__default.createElement("div", { className: `${styles.loading} ${className}` },
14
- React__default.createElement(Icon.Spinner, { isMarryBaby: theme === 'marryBaby' }),
15
- !hideText && t('loading')));
16
- };
5
+ import { t as theme } from './theme-f18c2351.js';
17
6
 
18
7
  const MONTHS_TRANSLATION = {
19
8
  'vi-VN': [
@@ -612,4 +601,4 @@ const DatePicker = ({ alignRight = true, placeholder, displayDateFormat, onChang
612
601
  }, format: displayDateFormat || defaultDateFormatString, formatDate: formatPickerDate, hideOnDayClick: isStatic ? false : true, placeholder: placeholder || '', onDayChange: handleDayChanged, showOverlay: isStatic })));
613
602
  };
614
603
 
615
- export { DatePicker as D, Loading as L };
604
+ export { DatePicker as D };
@@ -1,7 +1,7 @@
1
- import { _ as __rest } from './tslib.es6-2673b49d.js';
1
+ import { _ as __rest } from './tslib.es6-761239c7.js';
2
2
  import React__default from 'react';
3
3
  import { Modal as Modal$1 } from '@mantine/core';
4
- import { g as useStyles } from './index-92eedeb0.js';
4
+ import { g as useStyles } from './index-21eac858.js';
5
5
 
6
6
  const Modal = (_a) => {
7
7
  var { styles, classNames, transitionProps } = _a, rest = __rest(_a, ["styles", "classNames", "transitionProps"]);
@@ -0,0 +1,42 @@
1
+ import React__default from 'react';
2
+ import styled from '@emotion/styled';
3
+ import { L as Label } from './index-16514f4d.js';
4
+ import { t as theme } from './theme-f18c2351.js';
5
+
6
+ const StyledTextArea = styled.div `
7
+ textarea {
8
+ width: 100%;
9
+ height: var(--textarea-height, 116px);
10
+ padding: 1rem;
11
+ border: 1px solid ${theme.colors.gray200};
12
+ border-radius: 6px;
13
+ color: ${theme.colors.gray800};
14
+ font-size: 14px;
15
+ resize: none;
16
+
17
+ &:focus {
18
+ box-shadow: 0px 0px 2px 2px #91caff;
19
+ }
20
+
21
+ &::placeholder {
22
+ color: ${theme.colors.gray500};
23
+ }
24
+
25
+ &:disabled {
26
+ background-color: ${theme.colors.neutral50};
27
+ cursor: not-allowed;
28
+ }
29
+ }
30
+ `;
31
+ /**
32
+ * @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
33
+ */
34
+ const TextArea = React__default.forwardRef(({ height, placeholder, labelText, labelColor, id, name, onChange, value, className, onKeyPress, disabled = false, }, ref) => {
35
+ return (React__default.createElement(StyledTextArea, { className: className, style: { ['--textarea-height']: height || '116px' } },
36
+ labelText && (React__default.createElement(Label, { size: "label2", style: { color: labelColor || '#595959' }, htmlFor: id }, labelText)),
37
+ React__default.createElement("textarea", { name: name, ref: ref, placeholder: placeholder, id: id, onChange: (e) => onChange && onChange(e.target.value),
38
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
39
+ onKeyPress: (e) => onKeyPress && onKeyPress(e), value: value, disabled: disabled })));
40
+ });
41
+
42
+ export { TextArea as T };