@hhgtech/hhg-components 1.26.4 → 1.26.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/build/babyGrowth.js +8 -8
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/mantine/breadcrumbs/index.d.ts +3 -2
  5. package/build/components/mantine/breadcrumbs/index.styled.d.ts +1 -1
  6. package/build/components/vaccination/shared/dose.d.ts +3 -1
  7. package/build/components/vaccination/vaccineCard/index.d.ts +1 -0
  8. package/build/components/vaccination/vaccineCard/modal.d.ts +1 -1
  9. package/build/components.js +1 -1
  10. package/build/constants.js +1 -1
  11. package/build/{core-9be346e4.js → core-b801c0e0.js} +1 -1
  12. package/build/{dataTransform-dbac12f1.js → dataTransform-73cc9e0c.js} +1 -1
  13. package/build/ecom.js +1 -1
  14. package/build/esm/babyGrowth.js +4 -4
  15. package/build/esm/cache.js +1 -1
  16. package/build/esm/care.js +1 -1
  17. package/build/esm/components.js +1 -1
  18. package/build/esm/constants.js +1 -1
  19. package/build/esm/{core-0a1f6877.js → core-798be4f6.js} +1 -1
  20. package/build/esm/{dataTransform-143e7001.js → dataTransform-953e2cc5.js} +1 -1
  21. package/build/esm/ecom.js +1 -1
  22. package/build/esm/footer.js +1 -1
  23. package/build/esm/gAssets.js +1 -1
  24. package/build/esm/getDynamicHealthTool-782a6b86.js +1 -0
  25. package/build/esm/{getSocialList-2d8250db.js → getSocialList-91419c5a.js} +1 -1
  26. package/build/esm/hooks.js +1 -1
  27. package/build/esm/i18n.js +1 -1
  28. package/build/esm/{index-55030e92.js → index-07fab1ff.js} +6 -6
  29. package/build/esm/{index-606890d4.js → index-0ea5bbee.js} +1 -1
  30. package/build/esm/{index-df831729.js → index-12ecbea3.js} +1 -1
  31. package/build/esm/index-424f22e2.js +1 -0
  32. package/build/esm/index-519b823a.js +1 -0
  33. package/build/esm/{index-591818b5.js → index-594023d8.js} +1 -1
  34. package/build/esm/{index-780d2943.js → index-6e9310f1.js} +1 -1
  35. package/build/esm/{index-c3abed8f.js → index-747b37a8.js} +1 -1
  36. package/build/esm/{index-9260e0f3.js → index-7849b903.js} +1 -1
  37. package/build/esm/{index-8475e477.js → index-7e158c85.js} +1 -1
  38. package/build/esm/{index-9c54b441.js → index-85198c59.js} +1 -1
  39. package/build/esm/index-89001765.js +1 -0
  40. package/build/esm/{index-7ee78952.js → index-892c27c6.js} +1 -1
  41. package/build/esm/{index-d65d2b97.js → index-8ced79e8.js} +1 -1
  42. package/build/esm/{index-bd08d6c6.js → index-97bf3010.js} +1 -1
  43. package/build/esm/{index-1bdeadcd.js → index-bd2797b8.js} +1 -1
  44. package/build/esm/{index-9848d867.js → index-c33620f8.js} +1 -1
  45. package/build/esm/{index-e2032775.js → index-dbbe0ffe.js} +1 -1
  46. package/build/esm/{index-972c4671.js → index-e103d0c3.js} +51 -15
  47. package/build/esm/{index-bc9e5a39.js → index-e6e94177.js} +1 -1
  48. package/build/esm/{index-a0414cf8.js → index-eaf69648.js} +1 -1
  49. package/build/esm/{index-d3ff4e2e.js → index-faba16aa.js} +1 -1
  50. package/build/esm/{index-53bc3a0e.js → index-ff2d4b4f.js} +1 -1
  51. package/build/esm/index.js +1 -1
  52. package/build/esm/{index.styled-883ecbd8.js → index.styled-20b1a3f8.js} +1 -1
  53. package/build/esm/{index.styled-3eaa2af8.js → index.styled-50f385d8.js} +1 -1
  54. package/build/esm/{index.styled-6411d60b.js → index.styled-baecd36f.js} +1 -1
  55. package/build/esm/{index.styled-0969b940.js → index.styled-eabb1352.js} +1 -1
  56. package/build/esm/{index.styled-6edc9494.js → index.styled-f7214e45.js} +5 -5
  57. package/build/esm/lead.js +1 -1
  58. package/build/esm/mantine.js +1 -1
  59. package/build/esm/misc.js +1 -1
  60. package/build/esm/navigation.js +1 -1
  61. package/build/esm/onboarding.js +1 -1
  62. package/build/esm/pwg.js +3 -3
  63. package/build/esm/{routing-69514246.js → routing-8f8aaa91.js} +1 -1
  64. package/build/esm/{screenSizeContext-b15d0883.js → screenSizeContext-3a1b2559.js} +3 -3
  65. package/build/esm/together.js +1 -1
  66. package/build/esm/{translationsProvider-4609a558.js → translationsProvider-59f717e6.js} +1 -1
  67. package/build/esm/{types-cc9ed722.js → types-764fd16e.js} +1 -1
  68. package/build/esm/{types-380e16b8.js → types-d90e8240.js} +1 -1
  69. package/build/esm/types.js +1 -1
  70. package/build/esm/useHealthToolCache-af701511.js +1 -0
  71. package/build/esm/{useRafState-3e3963cc.js → useRafState-55638b6d.js} +1 -1
  72. package/build/esm/useTranslations-79165b67.js +1 -0
  73. package/build/esm/{utils-90fae562.js → utils-af3fb8da.js} +4 -4
  74. package/build/esm/vaccination.js +55 -43
  75. package/build/footer.js +1 -1
  76. package/build/gAssets.js +1 -1
  77. package/build/{getDynamicHealthTool-f132954d.js → getDynamicHealthTool-f13494d9.js} +1 -1
  78. package/build/{getSocialList-90374f3f.js → getSocialList-6d533d2f.js} +1 -1
  79. package/build/hooks.js +1 -1
  80. package/build/i18n.js +1 -1
  81. package/build/{index-10147a1b.js → index-16941fe6.js} +1 -1
  82. package/build/{index-087cf21b.js → index-1a7a371c.js} +1 -1
  83. package/build/{index-0c735bbd.js → index-241c623b.js} +1 -1
  84. package/build/{index-5ecccd86.js → index-303f41a0.js} +1 -1
  85. package/build/{index-22b27551.js → index-30e5663f.js} +1 -1
  86. package/build/{index-5d7416d9.js → index-3d398174.js} +1 -1
  87. package/build/{index-1058db59.js → index-3dae17aa.js} +11 -11
  88. package/build/{index-a5d027ee.js → index-3f29d2b3.js} +44 -8
  89. package/build/{index-208a25f1.js → index-46f08847.js} +1 -1
  90. package/build/index-6b945c87.js +1 -0
  91. package/build/{index-b9ee391a.js → index-7d786c35.js} +1 -1
  92. package/build/{index-67e124f6.js → index-8dfeedd7.js} +1 -1
  93. package/build/{index-f9458fe5.js → index-b8c72d3e.js} +1 -1
  94. package/build/{index-ed7c2740.js → index-be8786c4.js} +1 -1
  95. package/build/index-bf9dcbab.js +1 -0
  96. package/build/{index-b3fe30aa.js → index-c7efbc99.js} +1 -1
  97. package/build/index-d0d02047.js +1 -0
  98. package/build/{index-f2490a6d.js → index-d5ff86da.js} +1 -1
  99. package/build/{index-930f36a5.js → index-d853f394.js} +1 -1
  100. package/build/index-df1eb70a.js +1 -0
  101. package/build/{index-b922bcbb.js → index-e0ecd631.js} +1 -1
  102. package/build/{index-d7ce00bd.js → index-ea54e1a4.js} +1 -1
  103. package/build/index-f680fe99.js +1 -0
  104. package/build/index.js +1 -1
  105. package/build/{index.styled-1b89fcb1.js → index.styled-0429a5c0.js} +1 -1
  106. package/build/{index.styled-a841eebe.js → index.styled-20bb8bd1.js} +1 -1
  107. package/build/{index.styled-f8ec29a3.js → index.styled-2a84125d.js} +1 -1
  108. package/build/{index.styled-b316507f.js → index.styled-6ead4e50.js} +1 -1
  109. package/build/index.styled-ab82b49d.js +50 -0
  110. package/build/lead.js +1 -1
  111. package/build/mantine.js +1 -1
  112. package/build/misc/noop.d.ts +1 -0
  113. package/build/misc.js +1 -1
  114. package/build/navigation.js +1 -1
  115. package/build/onboarding.js +1 -1
  116. package/build/pwg.js +2 -2
  117. package/build/{routing-026adc18.js → routing-5bea99dc.js} +1 -1
  118. package/build/{screenSizeContext-78de4b8a.js → screenSizeContext-d3834bcb.js} +1 -1
  119. package/build/together.js +1 -1
  120. package/build/{translationsProvider-c6edfeb5.js → translationsProvider-78da90c4.js} +1 -1
  121. package/build/{types-abc0f22f.js → types-20574420.js} +1 -1
  122. package/build/{types-3cf4f67f.js → types-d86390bc.js} +1 -1
  123. package/build/types.js +1 -1
  124. package/build/useHealthToolCache-82c6834a.js +1 -0
  125. package/build/{useRafState-d3974369.js → useRafState-c124b544.js} +1 -1
  126. package/build/useTranslations-b1b32b97.js +1 -0
  127. package/build/{utils-2ab9d71f.js → utils-d67c07cf.js} +1 -1
  128. package/build/vaccination.js +26 -14
  129. package/package.json +1 -1
  130. package/build/esm/getDynamicHealthTool-0800288e.js +0 -1
  131. package/build/esm/index-20daa6ec.js +0 -1
  132. package/build/esm/index-a82909fa.js +0 -1
  133. package/build/esm/index-b8da25f1.js +0 -1
  134. package/build/esm/useHealthToolCache-6502fad8.js +0 -1
  135. package/build/esm/useScreenSize-1ab9403d.js +0 -1
  136. package/build/esm/useTranslations-aa76f400.js +0 -1
  137. package/build/index-0174f42a.js +0 -1
  138. package/build/index-0eab51d1.js +0 -1
  139. package/build/index-11b17567.js +0 -1
  140. package/build/index-f85e1b7b.js +0 -1
  141. package/build/index-fb88d9d1.js +0 -1
  142. package/build/index.styled-16819094.js +0 -50
  143. package/build/useHealthToolCache-3a7daa3c.js +0 -1
  144. package/build/useScreenSize-89f21234.js +0 -1
  145. package/build/useTranslations-8e54d501.js +0 -1
  146. /package/build/{BMI_BOYS.percentile.monthly-2a1af316.js → BMI_BOYS.percentile.monthly-df6981c9.js} +0 -0
  147. /package/build/{BMI_BOYS.percentile.weekly-e17840d2.js → BMI_BOYS.percentile.weekly-5d1f6ba0.js} +0 -0
  148. /package/build/{BMI_BOYS.percentile.yearly-d199c794.js → BMI_BOYS.percentile.yearly-3cd375ba.js} +0 -0
  149. /package/build/{BMI_BOYS.zscore.monthly-f18619db.js → BMI_BOYS.zscore.monthly-505cce78.js} +0 -0
  150. /package/build/{BMI_BOYS.zscore.weekly-12116cd3.js → BMI_BOYS.zscore.weekly-f5404ffa.js} +0 -0
  151. /package/build/{BMI_BOYS.zscore.yearly-55d58cce.js → BMI_BOYS.zscore.yearly-905585a0.js} +0 -0
  152. /package/build/{BMI_GIRLS.percentile.monthly-1ba19d68.js → BMI_GIRLS.percentile.monthly-da4dd326.js} +0 -0
  153. /package/build/{BMI_GIRLS.percentile.weekly-4d3a1e1b.js → BMI_GIRLS.percentile.weekly-22d917c8.js} +0 -0
  154. /package/build/{BMI_GIRLS.percentile.yearly-c0a9027d.js → BMI_GIRLS.percentile.yearly-e02aee9e.js} +0 -0
  155. /package/build/{BMI_GIRLS.zscore.monthly-1304f5c1.js → BMI_GIRLS.zscore.monthly-36adb077.js} +0 -0
  156. /package/build/{BMI_GIRLS.zscore.weekly-d30e3b65.js → BMI_GIRLS.zscore.weekly-5fd2c05f.js} +0 -0
  157. /package/build/{BMI_GIRLS.zscore.yearly-14a2e799.js → BMI_GIRLS.zscore.yearly-d0416fae.js} +0 -0
  158. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-ac36c9f6.js → HEAD CIRCUM_BOYS.percentile.monthly-e6fa703e.js} +0 -0
  159. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4fa29877.js → HEAD CIRCUM_BOYS.percentile.weekly-a35b3bb7.js} +0 -0
  160. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-7b195261.js → HEAD CIRCUM_BOYS.percentile.yearly-0f70e45e.js} +0 -0
  161. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-97d96dfd.js → HEAD CIRCUM_BOYS.zscore.monthly-94252254.js} +0 -0
  162. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-1c72ed38.js → HEAD CIRCUM_BOYS.zscore.weekly-61cd76a8.js} +0 -0
  163. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-804a6f2d.js → HEAD CIRCUM_BOYS.zscore.yearly-4e22fa5a.js} +0 -0
  164. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-252270ec.js → HEAD CIRCUM_GIRLS.percentile.monthly-2f16e72d.js} +0 -0
  165. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9cc81b02.js → HEAD CIRCUM_GIRLS.percentile.weekly-476b18f8.js} +0 -0
  166. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-c8985a30.js → HEAD CIRCUM_GIRLS.percentile.yearly-c434df87.js} +0 -0
  167. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-96b2f6b7.js → HEAD CIRCUM_GIRLS.zscore.monthly-172c0b3b.js} +0 -0
  168. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-538b2a8c.js → HEAD CIRCUM_GIRLS.zscore.weekly-13d02a30.js} +0 -0
  169. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-52873887.js → HEAD CIRCUM_GIRLS.zscore.yearly-39c890ec.js} +0 -0
  170. /package/build/{HEIGHT_BOYS.percentile.monthly-e3ec2a9c.js → HEIGHT_BOYS.percentile.monthly-d42038eb.js} +0 -0
  171. /package/build/{HEIGHT_BOYS.percentile.weekly-e3c59d5c.js → HEIGHT_BOYS.percentile.weekly-60d7da77.js} +0 -0
  172. /package/build/{HEIGHT_BOYS.percentile.yearly-9c4c576d.js → HEIGHT_BOYS.percentile.yearly-2b4addff.js} +0 -0
  173. /package/build/{HEIGHT_BOYS.zscore.monthly-8d722f14.js → HEIGHT_BOYS.zscore.monthly-3855cb8b.js} +0 -0
  174. /package/build/{HEIGHT_BOYS.zscore.weekly-13b1b874.js → HEIGHT_BOYS.zscore.weekly-b57b5087.js} +0 -0
  175. /package/build/{HEIGHT_BOYS.zscore.yearly-f0f60bd5.js → HEIGHT_BOYS.zscore.yearly-c2f2715a.js} +0 -0
  176. /package/build/{HEIGHT_GIRLS.percentile.monthly-bcb4521e.js → HEIGHT_GIRLS.percentile.monthly-a730b958.js} +0 -0
  177. /package/build/{HEIGHT_GIRLS.percentile.weekly-d90ab311.js → HEIGHT_GIRLS.percentile.weekly-31440f97.js} +0 -0
  178. /package/build/{HEIGHT_GIRLS.percentile.yearly-a0fcfd0a.js → HEIGHT_GIRLS.percentile.yearly-76194be9.js} +0 -0
  179. /package/build/{HEIGHT_GIRLS.zscore.monthly-ff5f3825.js → HEIGHT_GIRLS.zscore.monthly-f2e3bbbc.js} +0 -0
  180. /package/build/{HEIGHT_GIRLS.zscore.weekly-cf1b9f81.js → HEIGHT_GIRLS.zscore.weekly-b5eb1c89.js} +0 -0
  181. /package/build/{HEIGHT_GIRLS.zscore.yearly-8435e3dc.js → HEIGHT_GIRLS.zscore.yearly-f66d8485.js} +0 -0
  182. /package/build/{Onboarding-0f601f68.js → Onboarding-7f3ab717.js} +0 -0
  183. /package/build/{Visible-d058e32a.js → Visible-7b165bd2.js} +0 -0
  184. /package/build/{WEIGHT_BOYS.percentile.monthly-3b538896.js → WEIGHT_BOYS.percentile.monthly-172a2a9c.js} +0 -0
  185. /package/build/{WEIGHT_BOYS.percentile.weekly-7e0579d6.js → WEIGHT_BOYS.percentile.weekly-1d203624.js} +0 -0
  186. /package/build/{WEIGHT_BOYS.percentile.yearly-2bf38332.js → WEIGHT_BOYS.percentile.yearly-5ae649e8.js} +0 -0
  187. /package/build/{WEIGHT_BOYS.zscore.monthly-5429f9b9.js → WEIGHT_BOYS.zscore.monthly-91205a15.js} +0 -0
  188. /package/build/{WEIGHT_BOYS.zscore.weekly-96b37cc9.js → WEIGHT_BOYS.zscore.weekly-9ed4b6ed.js} +0 -0
  189. /package/build/{WEIGHT_BOYS.zscore.yearly-b5c16bb7.js → WEIGHT_BOYS.zscore.yearly-7ff1c4d8.js} +0 -0
  190. /package/build/{WEIGHT_GIRLS.percentile.monthly-a2c684b9.js → WEIGHT_GIRLS.percentile.monthly-1a2ba32e.js} +0 -0
  191. /package/build/{WEIGHT_GIRLS.percentile.weekly-33cd21d7.js → WEIGHT_GIRLS.percentile.weekly-70d87ef8.js} +0 -0
  192. /package/build/{WEIGHT_GIRLS.percentile.yearly-ff6dbd95.js → WEIGHT_GIRLS.percentile.yearly-8ab60c73.js} +0 -0
  193. /package/build/{WEIGHT_GIRLS.zscore.monthly-b9fb7303.js → WEIGHT_GIRLS.zscore.monthly-56ca032e.js} +0 -0
  194. /package/build/{WEIGHT_GIRLS.zscore.weekly-c45ad97e.js → WEIGHT_GIRLS.zscore.weekly-a5d498ba.js} +0 -0
  195. /package/build/{WEIGHT_GIRLS.zscore.yearly-1367dd93.js → WEIGHT_GIRLS.zscore.yearly-355cb1e6.js} +0 -0
  196. /package/build/{constants-b92a918a.js → constants-f760abc6.js} +0 -0
  197. /package/build/{cookieHelper-05635f8f.js → cookieHelper-9a7d0947.js} +0 -0
  198. /package/build/{dataTransform-42e46fac.js → dataTransform-560a6078.js} +0 -0
  199. /package/build/esm/{BMI_BOYS.percentile.monthly-b3221675.js → BMI_BOYS.percentile.monthly-0ac22149.js} +0 -0
  200. /package/build/esm/{BMI_BOYS.percentile.weekly-329d0db7.js → BMI_BOYS.percentile.weekly-74d1554e.js} +0 -0
  201. /package/build/esm/{BMI_BOYS.percentile.yearly-e08d0956.js → BMI_BOYS.percentile.yearly-884ebb7b.js} +0 -0
  202. /package/build/esm/{BMI_BOYS.zscore.monthly-9dde2c17.js → BMI_BOYS.zscore.monthly-4aef639f.js} +0 -0
  203. /package/build/esm/{BMI_BOYS.zscore.weekly-220a8eed.js → BMI_BOYS.zscore.weekly-1ea48e6f.js} +0 -0
  204. /package/build/esm/{BMI_BOYS.zscore.yearly-f623f755.js → BMI_BOYS.zscore.yearly-8b3a8785.js} +0 -0
  205. /package/build/esm/{BMI_GIRLS.percentile.monthly-a5264f7f.js → BMI_GIRLS.percentile.monthly-736d874c.js} +0 -0
  206. /package/build/esm/{BMI_GIRLS.percentile.weekly-3c1c48a9.js → BMI_GIRLS.percentile.weekly-468f811c.js} +0 -0
  207. /package/build/esm/{BMI_GIRLS.percentile.yearly-2e27dbae.js → BMI_GIRLS.percentile.yearly-a366947e.js} +0 -0
  208. /package/build/esm/{BMI_GIRLS.zscore.monthly-1b201a5d.js → BMI_GIRLS.zscore.monthly-f599a8ea.js} +0 -0
  209. /package/build/esm/{BMI_GIRLS.zscore.weekly-1db20644.js → BMI_GIRLS.zscore.weekly-a8b8e2ed.js} +0 -0
  210. /package/build/esm/{BMI_GIRLS.zscore.yearly-4fe9d3fb.js → BMI_GIRLS.zscore.yearly-aca675e4.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6d0d9911.js → HEAD CIRCUM_BOYS.percentile.monthly-d194bd06.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a8ba0f28.js → HEAD CIRCUM_BOYS.percentile.weekly-5aa9a1bc.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-dddbfcff.js → HEAD CIRCUM_BOYS.percentile.yearly-fbf038bc.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-5ec338ca.js → HEAD CIRCUM_BOYS.zscore.monthly-fe6c4745.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-7d91e269.js → HEAD CIRCUM_BOYS.zscore.weekly-7ff4d733.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-3a094328.js → HEAD CIRCUM_BOYS.zscore.yearly-4b55f84a.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c26ef03c.js → HEAD CIRCUM_GIRLS.percentile.monthly-66a78b39.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-99566160.js → HEAD CIRCUM_GIRLS.percentile.weekly-ac6c90c2.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-6c639fd3.js → HEAD CIRCUM_GIRLS.percentile.yearly-9fed2c3b.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-fa62a1ed.js → HEAD CIRCUM_GIRLS.zscore.monthly-16a8395e.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-2b933944.js → HEAD CIRCUM_GIRLS.zscore.weekly-c16e1086.js} +0 -0
  222. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b7f627dd.js → HEAD CIRCUM_GIRLS.zscore.yearly-3665da9d.js} +0 -0
  223. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-62e964c4.js → HEIGHT_BOYS.percentile.monthly-21999a2c.js} +0 -0
  224. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-52ace35a.js → HEIGHT_BOYS.percentile.weekly-ddc8b83d.js} +0 -0
  225. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-92b2c398.js → HEIGHT_BOYS.percentile.yearly-d98e0d7f.js} +0 -0
  226. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-bcdfc2b9.js → HEIGHT_BOYS.zscore.monthly-1515f4f0.js} +0 -0
  227. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-951ad348.js → HEIGHT_BOYS.zscore.weekly-8a535eaf.js} +0 -0
  228. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c9017e4f.js → HEIGHT_BOYS.zscore.yearly-aaa67793.js} +0 -0
  229. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-38031c2e.js → HEIGHT_GIRLS.percentile.monthly-13bce171.js} +0 -0
  230. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-70423a7c.js → HEIGHT_GIRLS.percentile.weekly-e4fb0959.js} +0 -0
  231. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-19a99257.js → HEIGHT_GIRLS.percentile.yearly-51d29e6e.js} +0 -0
  232. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-05079efb.js → HEIGHT_GIRLS.zscore.monthly-6f505bd9.js} +0 -0
  233. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-74a9cf5a.js → HEIGHT_GIRLS.zscore.weekly-756f8926.js} +0 -0
  234. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-d14d12fc.js → HEIGHT_GIRLS.zscore.yearly-dc6130fd.js} +0 -0
  235. /package/build/esm/{Onboarding-fa568150.js → Onboarding-f4c1aa60.js} +0 -0
  236. /package/build/esm/{Visible-62db6050.js → Visible-c6c768f6.js} +0 -0
  237. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b2f0ba4b.js → WEIGHT_BOYS.percentile.monthly-1972bfbe.js} +0 -0
  238. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-09398a84.js → WEIGHT_BOYS.percentile.weekly-0274ac87.js} +0 -0
  239. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-01a2db9b.js → WEIGHT_BOYS.percentile.yearly-a49a9d7e.js} +0 -0
  240. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-9eaf61c3.js → WEIGHT_BOYS.zscore.monthly-ef1e0f43.js} +0 -0
  241. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a17d0d04.js → WEIGHT_BOYS.zscore.weekly-f9a9606b.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4bce00a5.js → WEIGHT_BOYS.zscore.yearly-d00c890d.js} +0 -0
  243. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-58d20464.js → WEIGHT_GIRLS.percentile.monthly-933a72c5.js} +0 -0
  244. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-f32cb4b4.js → WEIGHT_GIRLS.percentile.weekly-a8408f23.js} +0 -0
  245. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9a658e27.js → WEIGHT_GIRLS.percentile.yearly-3741b308.js} +0 -0
  246. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-c7061494.js → WEIGHT_GIRLS.zscore.monthly-2651206a.js} +0 -0
  247. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4b32dba4.js → WEIGHT_GIRLS.zscore.weekly-f76a7faf.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ee303c45.js → WEIGHT_GIRLS.zscore.yearly-f8250d5a.js} +0 -0
  249. /package/build/esm/{constants-a293cad0.js → constants-bf627178.js} +0 -0
  250. /package/build/esm/{cookieHelper-4945f21b.js → cookieHelper-6165de72.js} +0 -0
  251. /package/build/esm/{dataTransform-ba9ed302.js → dataTransform-83785bc6.js} +0 -0
  252. /package/build/esm/{index-8aedf42e.js → index-09777d65.js} +0 -0
  253. /package/build/esm/{index-a4428527.js → index-9e823f1a.js} +0 -0
  254. /package/build/esm/{isProduction-f9c45435.js → isProduction-a8af5f4b.js} +0 -0
  255. /package/build/esm/{localizeNumberFormat-b402e742.js → localizeNumberFormat-f0cb50a6.js} +0 -0
  256. /package/build/esm/{normalizeLink-bee22283.js → normalizeLink-b6af2ad2.js} +0 -0
  257. /package/build/esm/{theme-5ffd7cff.js → theme-8920da94.js} +0 -0
  258. /package/build/esm/{translationsContext-1dac06a8.js → translationsContext-c9230e81.js} +0 -0
  259. /package/build/esm/{tslib.es6-dd9464b6.js → tslib.es6-e9b79e37.js} +0 -0
  260. /package/build/esm/{types-c64bfa11.js → types-a78231d3.js} +0 -0
  261. /package/build/esm/{useIsInit-81039d19.js → useIsInit-ecf088ce.js} +0 -0
  262. /package/build/esm/{useOutsideClick-25f0e1b4.js → useOutsideClick-8b744864.js} +0 -0
  263. /package/build/esm/{useScrollbarSize-9680a9ec.js → useScrollbarSize-f386dfa6.js} +0 -0
  264. /package/build/esm/{useUniqueId-94d9130c.js → useUniqueId-0eaf13a3.js} +0 -0
  265. /package/build/esm/{utils-c8d8e1a8.js → utils-7a1e4b37.js} +0 -0
  266. /package/build/{index-782d8805.js → index-603167af.js} +0 -0
  267. /package/build/{index-659514c8.js → index-d94ac734.js} +0 -0
  268. /package/build/{isProduction-5353c011.js → isProduction-d03fef63.js} +0 -0
  269. /package/build/{localizeNumberFormat-d3a36ea4.js → localizeNumberFormat-490fd291.js} +0 -0
  270. /package/build/{normalizeLink-baf05e80.js → normalizeLink-2248629f.js} +0 -0
  271. /package/build/{theme-44ea4c11.js → theme-98d093bc.js} +0 -0
  272. /package/build/{translationsContext-6a297022.js → translationsContext-845b78f3.js} +0 -0
  273. /package/build/{tslib.es6-f49437f6.js → tslib.es6-4dcd2ea7.js} +0 -0
  274. /package/build/{types-d320ec2a.js → types-035b4576.js} +0 -0
  275. /package/build/{useIsInit-6bbd3697.js → useIsInit-20e4f8f5.js} +0 -0
  276. /package/build/{useOutsideClick-5e789c80.js → useOutsideClick-c91749a1.js} +0 -0
  277. /package/build/{useScrollbarSize-1f9d1a8b.js → useScrollbarSize-d78eb72c.js} +0 -0
  278. /package/build/{useUniqueId-2ccbcdf7.js → useUniqueId-3138bdca.js} +0 -0
  279. /package/build/{utils-03936f87.js → utils-0d7116aa.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{a as e,_ as t}from"./tslib.es6-dd9464b6.js";import*as a from"react";import o,{createContext as n,useContext as i,useState as l,useRef as r,useEffect as s,useMemo as c,useCallback as d}from"react";import{useMantineTheme as m,createStyles as p,Flex as u,Checkbox as g,Portal as h,Anchor as v,Accordion as f,Popover as b}from"@mantine/core";import{B as w}from"./index-8475e477.js";import{T as x}from"./index-1bdeadcd.js";import{a as y}from"./index.styled-0969b940.js";import{u as E}from"./useTranslations-aa76f400.js";import C from"innertext";import{t as k}from"./theme-5ffd7cff.js";import{N,a9 as A,a4 as L,D as T,_ as I,C as S,ab as P}from"./index.styled-3eaa2af8.js";import{CommonGAssets as z}from"./gAssets.js";import{T as M,au as j,av as F,aw as B,ax as O,ay as V,az as R,aA as D,U,aB as W,aC as Z,aD as H,aE as q,aF as _,aG as G,aH as Q,aI as X,aJ as K,aK as $,aL as Y,aM as J,aN as ee,aO as te,aP as ae}from"./index.styled-6411d60b.js";import{A as oe,B as ne,T as ie,D as le}from"./index-20daa6ec.js";import{e as re,c as se,P as ce,g as de,b as me,h as pe,i as ue}from"./dataTransform-143e7001.js";import{I as ge}from"./index-9260e0f3.js";import he from"lodash/debounce";import ve from"react-contenteditable";import{I as fe,C as be,a as we}from"./index-9848d867.js";import{A as xe}from"./index-972c4671.js";import ye from"dayjs";import"./screenSizeContext-b15d0883.js";import Ee,{keyframes as Ce,css as ke}from"styled-components";import{d as Ne}from"./index-7ee78952.js";import{M as Ae,t as Le,c as Te,a as Ie}from"./utils-c8d8e1a8.js";import"./isProduction-f9c45435.js";import"./Onboarding-fa568150.js";import{B as Se}from"./index-a82909fa.js";import"./index-53bc3a0e.js";import"@mantine/hooks";import{H as Pe}from"./index-e2032775.js";import{d as ze,g as Me}from"./cookieHelper-4945f21b.js";import*as je from"react-dom";import"./index-df831729.js";import"./index-606890d4.js";import"./index.styled-883ecbd8.js";import"./index-a4428527.js";import"date-fns";import"react-day-picker/DayPickerInput";import"./index-55030e92.js";import"lodash/throttle";import"keen-slider/react";import"./types-c64bfa11.js";import"react-hook-form";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./index.styled-6edc9494.js";import"string-format";import Fe from"dayjs/plugin/relativeTime";import{M as Be}from"./index-a0414cf8.js";import{a as Oe}from"./useUniqueId-94d9130c.js";import"./translationsContext-1dac06a8.js";import{g as Ve}from"./routing-69514246.js";const Re=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),De=n({}),Ue=({children:e,defaultParams:t})=>o.createElement(De.Provider,{value:{defaultParams:t}},e),We=e=>{const{data:{userInfo:t,env:{togetherBasePath:a}}}=i(M),{defaultParams:o}=i(De)||{},n=null==t?void 0:t.id,l=t&&"number"==typeof t.communities_interacted&&0===t.communities_interacted;return{authActionWrapper:(t,i)=>{const r=Object.assign(Object.assign(Object.assign({},o),e),i);if(!n||l){n||ze(j),(null==r?void 0:r._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(r._joinCommunityIds).filter(Boolean))))),null==r||delete r._joinCommunityIds),(null==r?void 0:r._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(r._joinTopicIds).filter(Boolean))))),null==r||delete r._joinTopicIds);const e=(null==r?void 0:r._location)||window.location.href;return null==r||delete r._location,window.location.href=F(e,r,a),null}return t&&t()},params:Object.assign(Object.assign({},o),e)}},Ze=Ee.div`
1
+ import{a as e,_ as t}from"./tslib.es6-e9b79e37.js";import*as a from"react";import o,{createContext as n,useContext as i,useState as l,useRef as r,useEffect as s,useMemo as c,useCallback as d}from"react";import{useMantineTheme as m,createStyles as p,Flex as u,Checkbox as g,Portal as h,Anchor as v,Accordion as f,Popover as b}from"@mantine/core";import{B as w}from"./index-7e158c85.js";import{T as x}from"./index-bd2797b8.js";import{a as y}from"./index.styled-eabb1352.js";import{u as E}from"./useTranslations-79165b67.js";import C from"innertext";import{t as k}from"./theme-8920da94.js";import{N,a9 as A,a4 as L,D as T,_ as I,C as S,ab as P}from"./index.styled-50f385d8.js";import{CommonGAssets as z}from"./gAssets.js";import{T as M,au as j,av as F,aw as B,ax as O,ay as V,az as R,aA as D,U,aB as W,aC as Z,aD as H,aE as q,aF as _,aG as G,aH as Q,aI as X,aJ as K,aK as $,aL as Y,aM as J,aN as ee,aO as te,aP as ae}from"./index.styled-baecd36f.js";import{A as oe,B as ne,T as ie,D as le}from"./index-424f22e2.js";import{e as re,c as se,P as ce,g as de,b as me,h as pe,i as ue}from"./dataTransform-953e2cc5.js";import{I as ge}from"./index-7849b903.js";import he from"lodash/debounce";import ve from"react-contenteditable";import{I as fe,C as be,a as we}from"./index-c33620f8.js";import{A as xe}from"./index-e103d0c3.js";import ye from"dayjs";import"./screenSizeContext-3a1b2559.js";import Ee,{keyframes as Ce,css as ke}from"styled-components";import{d as Ne}from"./index-892c27c6.js";import{M as Ae,t as Le,c as Te,a as Ie}from"./utils-7a1e4b37.js";import"./isProduction-a8af5f4b.js";import"./Onboarding-f4c1aa60.js";import{B as Se}from"./index-89001765.js";import"./index-ff2d4b4f.js";import"@mantine/hooks";import{H as Pe}from"./index-dbbe0ffe.js";import{d as ze,g as Me}from"./cookieHelper-6165de72.js";import*as je from"react-dom";import"./index-12ecbea3.js";import"./index-0ea5bbee.js";import"./index.styled-20b1a3f8.js";import"./index-9e823f1a.js";import"date-fns";import"react-day-picker/DayPickerInput";import"./index-07fab1ff.js";import"lodash/throttle";import"keen-slider/react";import"./types-a78231d3.js";import"react-hook-form";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./index.styled-f7214e45.js";import"string-format";import Fe from"dayjs/plugin/relativeTime";import{M as Be}from"./index-eaf69648.js";import{a as Oe}from"./useUniqueId-0eaf13a3.js";import"./translationsContext-c9230e81.js";import{g as Ve}from"./routing-8f8aaa91.js";const Re=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"})),De=n({}),Ue=({children:e,defaultParams:t})=>o.createElement(De.Provider,{value:{defaultParams:t}},e),We=e=>{const{data:{userInfo:t,env:{togetherBasePath:a}}}=i(M),{defaultParams:o}=i(De)||{},n=null==t?void 0:t.id,l=t&&"number"==typeof t.communities_interacted&&0===t.communities_interacted;return{authActionWrapper:(t,i)=>{const r=Object.assign(Object.assign(Object.assign({},o),e),i);if(!n||l){n||ze(j),(null==r?void 0:r._joinCommunityIds)&&(localStorage.setItem("to_join_community_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_community_ids")||"[]")||[]).concat(r._joinCommunityIds).filter(Boolean))))),null==r||delete r._joinCommunityIds),(null==r?void 0:r._joinTopicIds)&&(localStorage.setItem("to_join_topic_ids",JSON.stringify(Array.from(new Set((JSON.parse(localStorage.getItem("to_join_topic_ids")||"[]")||[]).concat(r._joinTopicIds).filter(Boolean))))),null==r||delete r._joinTopicIds);const e=(null==r?void 0:r._location)||window.location.href;return null==r||delete r._location,window.location.href=F(e,r,a),null}return t&&t()},params:Object.assign(Object.assign({},o),e)}},Ze=Ee.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{a as e}from"./tslib.es6-dd9464b6.js";import t,{useState as i,useCallback as o,useMemo as a,useEffect as n,useRef as s,useReducer as r}from"react";import{I as c,L as l}from"./constants-a293cad0.js";import{b as d,d as h}from"./index-7ee78952.js";import{g as u,s as p,d as g}from"./cookieHelper-4945f21b.js";import{u as m}from"./useTranslations-aa76f400.js";import C from"lodash/debounce";import{I as f}from"./index-9260e0f3.js";import y,{createGlobalStyle as b}from"styled-components";import{T as v}from"./index-1bdeadcd.js";import{t as w}from"./theme-5ffd7cff.js";import E from"react-loading-skeleton";import{M as L}from"./utils-c8d8e1a8.js";import x from"lodash/shuffle";import{a as S}from"./useOutsideClick-25f0e1b4.js";import k from"string-format";const O=y.div``,j=y.div`
1
+ import{a as e}from"./tslib.es6-e9b79e37.js";import t,{useState as i,useCallback as o,useMemo as a,useEffect as n,useRef as s,useReducer as r}from"react";import{I as c,L as l}from"./constants-bf627178.js";import{b as d,d as h}from"./index-892c27c6.js";import{g as u,s as p,d as g}from"./cookieHelper-6165de72.js";import{u as m}from"./useTranslations-79165b67.js";import C from"lodash/debounce";import{I as f}from"./index-7849b903.js";import y,{createGlobalStyle as b}from"styled-components";import{T as v}from"./index-bd2797b8.js";import{t as w}from"./theme-8920da94.js";import E from"react-loading-skeleton";import{M as L}from"./utils-7a1e4b37.js";import x from"lodash/shuffle";import{a as S}from"./useOutsideClick-8b744864.js";import k from"string-format";const O=y.div``,j=y.div`
2
2
  --searchbar-z-index: 305;
3
3
  &[data-is-modal='true'] {
4
4
  position: fixed;
@@ -1 +1 @@
1
- export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-fa568150.js";
1
+ export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE,O as OnboardingStep}from"./Onboarding-f4c1aa60.js";
@@ -0,0 +1 @@
1
+ import{a as o}from"./tslib.es6-e9b79e37.js";import{useState as t,useEffect as i,useCallback as e}from"react";import{a}from"./getDynamicHealthTool-782a6b86.js";const l=l=>{const[n,r]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield a(l);r(o)}))}),[a,l]);const s=e((o=>{var t;return(null===(t=n.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:s}};export{l as u};
@@ -1 +1 @@
1
- import{a as e}from"./tslib.es6-dd9464b6.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-4945f21b.js";import{u as a}from"./useUniqueId-94d9130c.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
1
+ import{a as e}from"./tslib.es6-e9b79e37.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-6165de72.js";import{u as a}from"./useUniqueId-0eaf13a3.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
@@ -0,0 +1 @@
1
+ import{useContext as o,useMemo as a}from"react";import{T as e,d as r}from"./translationsContext-c9230e81.js";import t from"string-format";function n(){const{values:n,locale:s}=o(e)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(r[o]||o,a):r[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
@@ -1,4 +1,4 @@
1
- import"dayjs";import"./screenSizeContext-b15d0883.js";import e,{createContext as t,useContext as r}from"react";import n from"styled-components";import{t as o}from"./theme-5ffd7cff.js";import{L as a}from"./index-7ee78952.js";import{M as i}from"./utils-c8d8e1a8.js";import"./isProduction-f9c45435.js";import{L as s}from"./Onboarding-fa568150.js";import"./gAssets.js";import{_ as l,a as p}from"./tslib.es6-dd9464b6.js";import{createFormContext as m,yupResolver as d}from"@mantine/form";import"./index.styled-3eaa2af8.js";import{B as c}from"./index-8475e477.js";import{Container as g,Title as u,Input as b}from"@mantine/core";import"./index-df831729.js";import{c as h}from"./index-606890d4.js";import"./index.styled-883ecbd8.js";import{u as x}from"./useTranslations-aa76f400.js";import"./index-a4428527.js";import{f,m as w,e as E,l as y,R as P,O as j}from"./index-972c4671.js";import"./index-53bc3a0e.js";import"@mantine/hooks";import"lodash/debounce";import{V as v}from"./Visible-62db6050.js";import*as M from"yup";import"./translationsContext-1dac06a8.js";import"string-format";const I=t({}),[O,N,T]=m(),k=n.div`
1
+ import"dayjs";import"./screenSizeContext-3a1b2559.js";import e,{createContext as t,useContext as r}from"react";import n from"styled-components";import{t as o}from"./theme-8920da94.js";import{L as a}from"./index-892c27c6.js";import{M as i}from"./utils-7a1e4b37.js";import"./isProduction-a8af5f4b.js";import{L as s}from"./Onboarding-f4c1aa60.js";import"./gAssets.js";import{_ as p,a as l}from"./tslib.es6-e9b79e37.js";import{createFormContext as m,yupResolver as d}from"@mantine/form";import"./index.styled-50f385d8.js";import{B as c}from"./index-7e158c85.js";import{Container as g,Title as u,Input as b}from"@mantine/core";import"./index-12ecbea3.js";import{c as h}from"./index-0ea5bbee.js";import"./index.styled-20b1a3f8.js";import{u as f}from"./useTranslations-79165b67.js";import"./index-9e823f1a.js";import{f as x,n as w,e as E,m as y,R as P,O as j}from"./index-e103d0c3.js";import"./index-ff2d4b4f.js";import"@mantine/hooks";import"lodash/debounce";import{V as v}from"./Visible-c6c768f6.js";import*as M from"yup";import"./translationsContext-c9230e81.js";import"string-format";const I=t({}),[O,N,T]=m(),k=n.div`
2
2
  margin-top: 70px;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -47,7 +47,7 @@ import"dayjs";import"./screenSizeContext-b15d0883.js";import e,{createContext as
47
47
  }
48
48
  `,C=n.img`
49
49
  margin-bottom: 38px;
50
- `,B=t=>{var n,{heading:i,description:s,children:p,className:m,imgSrc:d}=t,c=l(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:g,siteType:b}=r(I);return e.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${m}`,size:"sm"}),e.createElement(h,{type:g?b:(null===(n=a[process.env.UNIFY_LOCALE])||void 0===n?void 0:n.LOGO_TYPE)||"hellobacsi"}),e.createElement(k,null,d&&e.createElement(C,{src:d,loading:"lazy"}),e.createElement("div",{className:"header"},e.createElement(u,{order:3},i),e.createElement(f,{size:"p3",mt:8,color:o.colors.gray600},s)),p))},S=n.div`
50
+ `,B=t=>{var n,{heading:i,description:s,children:l,className:m,imgSrc:d}=t,c=p(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:g,siteType:b}=r(I);return e.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${m}`,size:"sm"}),e.createElement(h,{type:g?b:(null===(n=a[process.env.UNIFY_LOCALE])||void 0===n?void 0:n.LOGO_TYPE)||"hellobacsi"}),e.createElement(k,null,d&&e.createElement(C,{src:d,loading:"lazy"}),e.createElement("div",{className:"header"},e.createElement(u,{order:3},i),e.createElement(x,{size:"p3",mt:8,color:o.colors.gray600},s)),l))},S=n.div`
51
51
  position: fixed;
52
52
  inset: 0;
53
53
  z-index: 1000;
@@ -113,7 +113,7 @@ import"dayjs";import"./screenSizeContext-b15d0883.js";import e,{createContext as
113
113
  border-radius: 0 4px 4px 0;
114
114
  }
115
115
  }
116
- `,L={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},F=({inputOrder:t=["phone"]})=>{const{t:r}=x(),n=N(),o=e.createElement("div",{className:"phone-input"},e.createElement(w,Object.assign({defaultCountry:L[process.env.UNIFY_LOCALE]||"VN"},n.getInputProps("phone"))),e.createElement(b.Error,null,n.errors.phone)),a=e.createElement(E,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourName")),withAsterisk:!0},n.getInputProps("name"))),i=e.createElement(E,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourEmail")),withAsterisk:!0},n.getInputProps("email"))),s=e.createElement(y,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},n.getInputProps("dob"))),l=e.createElement(P.Group,Object.assign({className:"radio-group",label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},r("bmi.selectGender"))},n.getInputProps("gender")),e.createElement(P,{value:"0",label:r("onboarding.formEmail.genderMale")}),e.createElement(P,{value:"1",label:r("onboarding.formEmail.genderFemale")})),p=e.createElement("div",{className:"otp-input"},e.createElement(j,Object.assign({enterKeyHint:void 0,nonce:void 0},n.getInputProps("otp"))),e.createElement(b.Error,null,n.errors.otp)),m=e.createElement(E.Password,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:e.createElement(v,null)},n.getInputProps("password"))),d=e.createElement(E.Password,Object.assign({label:e.createElement(f,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:e.createElement(v,null)},n.getInputProps("confirmPassword"))),c=t.map((e=>{switch(e){case"phone":return o;case"full_name":return a;case"email":return i;case"dob":return s;case"gender":return l;case"otp":return p;case"password":return m;case"confirm_password":return d;default:return null}}));return e.createElement(A,null,c)},U=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),_=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),G=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),K=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),W=n(B)`
116
+ `,L={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},F=({inputOrder:t=["phone"]})=>{const{t:r}=f(),n=N(),o=e.createElement("div",{className:"phone-input"},e.createElement(w,Object.assign({defaultCountry:L[process.env.UNIFY_LOCALE]||"VN"},n.getInputProps("phone"))),e.createElement(b.Error,null,n.errors.phone)),a=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourName")),withAsterisk:!0},n.getInputProps("name"))),i=e.createElement(E,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourEmail")),withAsterisk:!0},n.getInputProps("email"))),s=e.createElement(y,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},n.getInputProps("dob"))),p=e.createElement(P.Group,Object.assign({className:"radio-group",label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},r("bmi.selectGender"))},n.getInputProps("gender")),e.createElement(P,{value:"0",label:r("onboarding.formEmail.genderMale")}),e.createElement(P,{value:"1",label:r("onboarding.formEmail.genderFemale")})),l=e.createElement("div",{className:"otp-input"},e.createElement(j,Object.assign({enterKeyHint:void 0,nonce:void 0},n.getInputProps("otp"))),e.createElement(b.Error,null,n.errors.otp)),m=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:e.createElement(v,null)},n.getInputProps("password"))),d=e.createElement(E.Password,Object.assign({label:e.createElement(x,{size:"s4",weight:"semiBold",as:"span"},r("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:e.createElement(v,null)},n.getInputProps("confirmPassword"))),c=t.map((e=>{switch(e){case"phone":return o;case"full_name":return a;case"email":return i;case"dob":return s;case"gender":return p;case"otp":return l;case"password":return m;case"confirm_password":return d;default:return null}}));return e.createElement(A,null,c)},U=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),_=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),G=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),K=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),W=n(B)`
117
117
  .phone-input {
118
118
  width: 100%;
119
119
  margin-bottom: 32px;
@@ -130,7 +130,7 @@ import"dayjs";import"./screenSizeContext-b15d0883.js";import e,{createContext as
130
130
  border-radius: 0 4px 4px 0;
131
131
  }
132
132
  }
133
- `,R={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},Z=({onClose:t,onSubmit:r,canSkip:n=!0,customFormTexts:o})=>{const{t:a}=x(),i=T({initialValues:{phone:""},validate:d(U(a))});return e.createElement(W,{heading:(null==o?void 0:o.heading)||a("onboarding.updatePhone.heading"),description:(null==o?void 0:o.description)||a("onboarding.updatePhone.description")},e.createElement(O,{form:i},e.createElement("form",{onSubmit:i.onSubmit((e=>p(void 0,void 0,void 0,(function*(){r(e.phone)}))),(e=>{console.log(e)}))},e.createElement(F,{inputOrder:["phone"]}),e.createElement(c,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),n&&e.createElement(c,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},a("onboarding.button.skip")))))},J=n(B)`
133
+ `,R={[s.Vietnam]:"VN",[s.Cambodia]:"KH",[s.Indonesia]:"ID",[s.Malaysia]:"MY",[s.PhilippinesEnglish]:"PH",[s.PhilippinesTagalog]:"PH",[s.Taiwan]:"TW",[s.Thailand]:"TH",[s.Myanmar]:"MM"},Z=({onClose:t,onSubmit:r,canSkip:n=!0,customFormTexts:o})=>{const{t:a}=f(),i=T({initialValues:{phone:""},validate:d(U(a))});return e.createElement(W,{heading:(null==o?void 0:o.heading)||a("onboarding.updatePhone.heading"),description:(null==o?void 0:o.description)||a("onboarding.updatePhone.description")},e.createElement(O,{form:i},e.createElement("form",{onSubmit:i.onSubmit((e=>l(void 0,void 0,void 0,(function*(){r(e.phone)}))),(e=>{console.log(e)}))},e.createElement(F,{inputOrder:["phone"]}),e.createElement(c,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},a("onboarding.button.continue")),n&&e.createElement(c,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},a("onboarding.button.skip")))))},J=n(B)`
134
134
  .otp-input {
135
135
  margin-bottom: 36px;
136
136
  ${i.mbDown} {