@hhgtech/hhg-components 1.29.82 → 1.29.84

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 (422) hide show
  1. package/build/LastPeriod-1f403d10.js +29 -0
  2. package/build/Locale-9e8a2452.js +15 -0
  3. package/build/{WhatsApp-46f4f408.js → WhatsApp-959e02b9.js} +1 -1
  4. package/build/adapters.js +22 -17
  5. package/build/atoms.js +51 -45
  6. package/build/babyGrowth.js +169 -162
  7. package/build/cache.js +3 -3
  8. package/build/care.js +22 -17
  9. package/build/components.js +136 -109
  10. package/build/{constants-223c01fc.js → constants-23f15065.js} +4 -4
  11. package/build/constants-78b4275f.js +18 -0
  12. package/build/constants.js +17 -13
  13. package/build/constantsDomainLocales.js +34 -0
  14. package/build/{isProduction-20cd663d.js → constantsIsProduction.js} +2 -0
  15. package/build/constantsRiskScreener.js +21 -0
  16. package/build/constantsSite.js +134 -0
  17. package/build/{core-9d69a722.js → core-215586ea.js} +4 -4
  18. package/build/{dataTransform-e39297c1.js → dataTransform-9de4c42b.js} +1 -106
  19. package/build/dataTransform-cec9484d.js +13 -0
  20. package/build/ecom.js +10 -6
  21. package/build/embeddedHeathToolCards_babyGrowth.js +64 -0
  22. package/build/embeddedHeathToolCards_babyPoop.js +57 -0
  23. package/build/embeddedHeathToolCards_babyVaccine.js +64 -0
  24. package/build/embeddedHeathToolCards_bmi_bmi.js +70 -0
  25. package/build/embeddedHeathToolCards_bmrBmr.js +70 -0
  26. package/build/embeddedHeathToolCards_dueDate_dueDate.js +65 -0
  27. package/build/embeddedHeathToolCards_helpers.js +11 -0
  28. package/build/embeddedHeathToolCards_ovulation_ovulation.js +64 -0
  29. package/build/embeddedHeathToolCards_pwg_pwg.js +70 -0
  30. package/build/embeddedHeathToolCards_targetHeartRate.js +73 -0
  31. package/build/esm/LastPeriod-6a476391.js +23 -0
  32. package/build/esm/Locale-50ec684c.js +15 -0
  33. package/build/esm/{WhatsApp-c599b715.js → WhatsApp-5357afb0.js} +1 -1
  34. package/build/esm/adapters.js +22 -17
  35. package/build/esm/atoms.js +51 -45
  36. package/build/esm/babyGrowth.js +87 -81
  37. package/build/esm/cache.js +3 -3
  38. package/build/esm/care.js +22 -17
  39. package/build/esm/components.js +104 -77
  40. package/build/esm/constants-7154766a.js +16 -0
  41. package/build/esm/{constants-bb470362.js → constants-efabd249.js} +2 -2
  42. package/build/esm/constants.js +7 -3
  43. package/build/esm/constantsDomainLocales.js +29 -0
  44. package/build/esm/{isProduction-1937d355.js → constantsIsProduction.js} +1 -1
  45. package/build/esm/constantsRiskScreener.js +17 -0
  46. package/build/esm/constantsSite.js +129 -0
  47. package/build/esm/{core-80bfe8b7.js → core-e76c2318.js} +2 -2
  48. package/build/esm/dataTransform-1ac3c823.js +11 -0
  49. package/build/esm/{dataTransform-623716c3.js → dataTransform-8dd2163d.js} +2 -101
  50. package/build/esm/ecom.js +9 -5
  51. package/build/esm/embeddedHeathToolCards_babyGrowth.js +56 -0
  52. package/build/esm/embeddedHeathToolCards_babyPoop.js +49 -0
  53. package/build/esm/embeddedHeathToolCards_babyVaccine.js +56 -0
  54. package/build/esm/embeddedHeathToolCards_bmi_bmi.js +62 -0
  55. package/build/esm/embeddedHeathToolCards_bmrBmr.js +62 -0
  56. package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +57 -0
  57. package/build/esm/embeddedHeathToolCards_helpers.js +7 -0
  58. package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +56 -0
  59. package/build/esm/embeddedHeathToolCards_pwg_pwg.js +62 -0
  60. package/build/esm/embeddedHeathToolCards_targetHeartRate.js +65 -0
  61. package/build/esm/{fixedBottomAdBlock-60a5d48f.js → fixedBottomAdBlock-95355cb0.js} +35 -410
  62. package/build/esm/footer.js +23 -18
  63. package/build/esm/gAssets.js +4 -5
  64. package/build/esm/healthToolsCardWrapper.js +33 -0
  65. package/build/esm/healthToolsForm.js +39 -25
  66. package/build/esm/hooks.js +21 -17
  67. package/build/esm/i18n.js +2 -2
  68. package/build/esm/i18nV2.js +2 -2
  69. package/build/esm/{index-bcedec73.js → index-08e0e4a7.js} +15 -13
  70. package/build/esm/{index-0ca9b175.js → index-0a17b3c4.js} +2 -2
  71. package/build/esm/{index-02d3f05b.js → index-0bac9140.js} +23 -19
  72. package/build/esm/{index-2dc7803d.js → index-0d547073.js} +6 -5
  73. package/build/esm/{index-d6a5f5cf.js → index-1090bed4.js} +17 -260
  74. package/build/esm/index-114fe334.js +60 -0
  75. package/build/esm/{index-e0b0d6a2.js → index-1246c476.js} +7 -7
  76. package/build/esm/{index-9f99909b.js → index-19fa8adc.js} +3 -3
  77. package/build/esm/{index-7c384ae6.js → index-1baef0ed.js} +6 -5
  78. package/build/esm/{index-7a1ea734.js → index-3b3b048f.js} +3 -3
  79. package/build/esm/{index-6210f454.js → index-3dcece1c.js} +9 -168
  80. package/build/esm/index-3df7ce17.js +140 -0
  81. package/build/esm/{index-1c9b481b.js → index-455fad93.js} +2 -2
  82. package/build/esm/{index-0cd3523c.js → index-4662c50d.js} +35 -31
  83. package/build/esm/index-492f7199.js +370 -0
  84. package/build/esm/{index-acf8b60e.js → index-4dcb460d.js} +2 -2
  85. package/build/esm/{index-9471fca1.js → index-562833a7.js} +2 -2
  86. package/build/esm/{index-0ee66974.js → index-583f25e2.js} +2 -2
  87. package/build/esm/index-5caf9237.js +91 -0
  88. package/build/esm/{index-21256394.js → index-6153901b.js} +1 -1
  89. package/build/esm/index-6b58602f.js +259 -0
  90. package/build/esm/{index-046778af.js → index-6d782bf2.js} +2 -2
  91. package/build/esm/{index-8eb04f36.js → index-7d0b67e7.js} +11 -11
  92. package/build/esm/{index-10ab6596.js → index-7d620769.js} +8 -7
  93. package/build/esm/{index-07f3f47e.js → index-8035d37c.js} +2 -2
  94. package/build/esm/{index-c013ba1b.js → index-805ffb74.js} +5 -4
  95. package/build/esm/{index-9b3a8b6d.js → index-83cc8492.js} +12 -10
  96. package/build/esm/{index-5723381f.js → index-88ff7c55.js} +2 -2
  97. package/build/esm/{index-c2584051.js → index-8c14a956.js} +4 -4
  98. package/build/esm/{index-f22f6e6e.js → index-95b6e3cc.js} +9 -8
  99. package/build/esm/{index-189d7601.js → index-99a12287.js} +3 -15
  100. package/build/esm/{index-8fcf671c.js → index-a5cb4b11.js} +8 -8
  101. package/build/esm/{index-cfedca38.js → index-a98a28a2.js} +2 -2
  102. package/build/esm/{index-13d8dd4b.js → index-a99b900d.js} +7 -6
  103. package/build/esm/{index-ea63e0d2.js → index-ac4b3bc6.js} +4 -4
  104. package/build/esm/{index-0b745f46.js → index-ae4c20ce.js} +20 -18
  105. package/build/esm/{index-fa67d66e.js → index-aeb1293f.js} +21 -19
  106. package/build/esm/index-af808663.js +249 -0
  107. package/build/esm/{constants-fa475b0f.js → index-b4dc58c1.js} +6 -21
  108. package/build/esm/{index-f660abb7.js → index-b50d36ad.js} +3 -3
  109. package/build/esm/{index-c430773c.js → index-b8c2e125.js} +29 -25
  110. package/build/esm/{index-219e3a35.js → index-c1abf550.js} +11 -11
  111. package/build/esm/{index-01b5d2e9.js → index-c526c065.js} +4 -4
  112. package/build/esm/{index-1d3c6ce7.js → index-c7b7301d.js} +1 -1
  113. package/build/esm/{index-29908d2c.js → index-ca9538ec.js} +1 -1
  114. package/build/esm/{index-049e0270.js → index-d0b52e26.js} +3 -3
  115. package/build/esm/{index-cdc50618.js → index-d502b20b.js} +1 -1
  116. package/build/esm/index-d6cfeea2.js +147 -0
  117. package/build/esm/index-e91300f9.js +101 -0
  118. package/build/esm/{index-f4b938f2.js → index-eb03fb5b.js} +1 -1
  119. package/build/esm/{index-9b9c1499.js → index-f34b4053.js} +2 -2
  120. package/build/esm/{index-01405723.js → index-f417df8c.js} +13 -12
  121. package/build/esm/index-f4d8dd94.js +233 -0
  122. package/build/esm/index-fd485fb3.js +174 -0
  123. package/build/esm/index.js +118 -90
  124. package/build/esm/interfaces/constants/domainLocales.d.ts +25 -0
  125. package/build/esm/interfaces/constants/index.d.ts +1 -25
  126. package/build/esm/{labelSorting-7351409a.js → labelSorting-b2983be2.js} +4 -4
  127. package/build/esm/lead.js +26 -21
  128. package/build/esm/{logoIcon-3a581efb.js → logoIcon-608cfa3e.js} +2 -2
  129. package/build/esm/mantine.js +28 -23
  130. package/build/esm/misc.js +27 -21
  131. package/build/esm/{cookieHelper-6c3b4790.js → miscCookieHelper.js} +1 -1
  132. package/build/esm/{defaultClassWrapper-00903c00.js → miscDefaultClassWrapper.js} +1 -1
  133. package/build/esm/{getDynamicHealthTool-82855adc.js → miscGetDynamicHealthTool.js} +13 -5
  134. package/build/esm/{getSocialList-7d2cf48d.js → miscGetSocialList.js} +20 -10
  135. package/build/esm/{dataTransform-55f67eed.js → miscScreenSizeContext.js} +2 -12
  136. package/build/esm/{theme-7dadf4a1.js → miscTheme.js} +1 -1
  137. package/build/esm/molecules.js +84 -57
  138. package/build/esm/navigation.js +44 -37
  139. package/build/esm/onboardingV2.js +30 -25
  140. package/build/esm/organisms.js +48 -41
  141. package/build/esm/other-af591390.js +102 -0
  142. package/build/esm/pwg.js +25 -20
  143. package/build/esm/{routing-9e330438.js → routing-0e27d82c.js} +3 -2
  144. package/build/esm/subot.js +35 -29
  145. package/build/esm/surveyOrPremiumBanner.js +34 -28
  146. package/build/esm/surveyQuestionCard.js +11 -10
  147. package/build/esm/{surveyThankyouCard-ec204631.js → surveyThankyouCard-71a1b36a.js} +6 -6
  148. package/build/esm/together/togetherComponentGlobalContext.d.ts +1 -2
  149. package/build/esm/together.js +50 -43
  150. package/build/esm/togetherApiPaths.js +165 -0
  151. package/build/esm/togetherApiUtils.js +10 -0
  152. package/build/esm/togetherAtoms.js +34 -28
  153. package/build/esm/togetherComponentGlobalContext.js +7 -9
  154. package/build/esm/togetherMolecules.js +41 -34
  155. package/build/esm/togetherOrganisms.js +45 -38
  156. package/build/esm/{treePopoverMenu-cb214db6.js → treePopoverMenu-f68aed40.js} +18 -16
  157. package/build/esm/{types-ffcf5fb4.js → types-e0541daf.js} +14 -13
  158. package/build/esm/types.js +2 -1
  159. package/build/esm/{useCategory-553bee0b.js → useCategory-5f3d6d81.js} +6 -5
  160. package/build/esm/{useHealthToolCache-6ce1724e.js → useHealthToolCache-73e49d74.js} +2 -2
  161. package/build/esm/{useMantineLocale-453f8013.js → useMantineLocale-845c1956.js} +5 -3
  162. package/build/esm/{usePlacesAutocomplete-8925d4fb.js → usePlacesAutocomplete-e1da3570.js} +1 -1
  163. package/build/esm/useTogetherAuthRequiredAction.js +7 -9
  164. package/build/esm/{useTranslations-b970f667.js → useTranslations-32ff6c72.js} +1 -1
  165. package/build/esm/{utils-3b29eb79.js → utils-71ccce82.js} +16 -163
  166. package/build/{utils-15a9772e.js → esm/utils-94f8d19f.js} +1 -114
  167. package/build/esm/{utils-6d45bdd1.js → utils-feb0c914.js} +2 -1
  168. package/build/esm/vaccination.js +23 -18
  169. package/build/{fixedBottomAdBlock-0129a006.js → fixedBottomAdBlock-d9fa09d7.js} +155 -540
  170. package/build/footer.js +23 -18
  171. package/build/gAssets.js +4 -5
  172. package/build/healthToolsCardWrapper.js +41 -0
  173. package/build/healthToolsForm.js +45 -31
  174. package/build/hooks.js +21 -17
  175. package/build/i18n.js +1 -1
  176. package/build/i18nV2.js +1 -1
  177. package/build/{index-b66ae554.js → index-0ae8b4ca.js} +18 -17
  178. package/build/{index-4bc690c9.js → index-17d80455.js} +9 -9
  179. package/build/{index-e3bbd009.js → index-1f94d57c.js} +33 -197
  180. package/build/index-249e3f6f.js +146 -0
  181. package/build/index-2f6d4fee.js +153 -0
  182. package/build/index-31c0bdad.js +256 -0
  183. package/build/{index-3eb666e6.js → index-353ce6f8.js} +1 -1
  184. package/build/{index-6aeb5ff5.js → index-35ac1158.js} +59 -59
  185. package/build/{index-a8680a58.js → index-37001a3b.js} +6 -6
  186. package/build/{index-9e8877c0.js → index-3ae597e3.js} +2 -2
  187. package/build/{index-1f3fc2e3.js → index-3ae93a30.js} +3 -15
  188. package/build/{index-765ed75d.js → index-3f9484b9.js} +6 -6
  189. package/build/{index-1fdf2f01.js → index-4184d8d6.js} +4 -4
  190. package/build/index-487a1272.js +66 -0
  191. package/build/{index-10760994.js → index-4ac79663.js} +9 -9
  192. package/build/{index-53e14542.js → index-4b035057.js} +4 -4
  193. package/build/{index-1e1d8eb1.js → index-565f76e4.js} +26 -24
  194. package/build/{index-16ed0d98.js → index-567f7d66.js} +12 -11
  195. package/build/{index-2fd9063e.js → index-592139a8.js} +4 -4
  196. package/build/{index-7953fb8e.js → index-672f0358.js} +12 -12
  197. package/build/{index-71843eb4.js → index-6c5d8ad9.js} +5 -5
  198. package/build/index-6c91ec06.js +108 -0
  199. package/build/{index-4cdcdbbe.js → index-71618efb.js} +13 -12
  200. package/build/{index-ec34e358.js → index-743f391a.js} +14 -14
  201. package/build/{index-fd3e1d16.js → index-7565806b.js} +3 -3
  202. package/build/{index-54aeefca.js → index-7efe7581.js} +2 -2
  203. package/build/{index-f222ee45.js → index-83259c86.js} +2 -2
  204. package/build/{index-dff7ee1b.js → index-848c257f.js} +41 -39
  205. package/build/{index-7ecc69af.js → index-89785eb5.js} +19 -18
  206. package/build/index-8bc74421.js +97 -0
  207. package/build/index-8e6acb31.js +320 -0
  208. package/build/{index-a9bbb5aa.js → index-9112bf2c.js} +11 -11
  209. package/build/{index-dd074159.js → index-98680432.js} +1 -1
  210. package/build/{index-ca616373.js → index-992f2a88.js} +2 -2
  211. package/build/{index-33432b02.js → index-9a0317f3.js} +33 -33
  212. package/build/{index-405faafa.js → index-a3320ed8.js} +2 -2
  213. package/build/{index-206afefb.js → index-a75603b7.js} +6 -5
  214. package/build/{index-4b7d4b5b.js → index-b1885310.js} +9 -9
  215. package/build/{index-077bf48f.js → index-b9fb9f3a.js} +52 -50
  216. package/build/index-baf2d414.js +267 -0
  217. package/build/{index-a6a9855f.js → index-c22aa4ef.js} +11 -11
  218. package/build/index-c2578f13.js +377 -0
  219. package/build/index-c2fec0fb.js +239 -0
  220. package/build/{constants-f182fc32.js → index-d1fb44a6.js} +8 -24
  221. package/build/{index-466a2c32.js → index-d5ba18da.js} +48 -46
  222. package/build/{index-0b727664.js → index-d97f9371.js} +8 -7
  223. package/build/{index-a9bdf889.js → index-d99df528.js} +25 -24
  224. package/build/{index-64d8db08.js → index-e0d59d3e.js} +5 -5
  225. package/build/{index-130e0f35.js → index-e4bfc43c.js} +68 -64
  226. package/build/index-e8d0d01b.js +180 -0
  227. package/build/{index-d9919cd2.js → index-ebfbb401.js} +119 -115
  228. package/build/{index-2afbeb3d.js → index-f0cd2973.js} +137 -133
  229. package/build/{index-4357a324.js → index-f31f282c.js} +11 -11
  230. package/build/{index-a2664204.js → index-fdfaa206.js} +7 -7
  231. package/build/index.js +195 -167
  232. package/build/interfaces/constants/domainLocales.d.ts +25 -0
  233. package/build/interfaces/constants/index.d.ts +1 -25
  234. package/build/{labelSorting-f86081b7.js → labelSorting-bafa4da1.js} +4 -4
  235. package/build/lead.js +43 -38
  236. package/build/{logoIcon-21a16853.js → logoIcon-2eaa3600.js} +2 -2
  237. package/build/mantine.js +28 -23
  238. package/build/misc.js +39 -33
  239. package/build/{cookieHelper-86ae022e.js → miscCookieHelper.js} +2 -0
  240. package/build/{defaultClassWrapper-b7719693.js → miscDefaultClassWrapper.js} +2 -0
  241. package/build/{getDynamicHealthTool-f08b5fab.js → miscGetDynamicHealthTool.js} +14 -4
  242. package/build/{getSocialList-8cc32f7c.js → miscGetSocialList.js} +50 -38
  243. package/build/{dataTransform-ded2692d.js → miscScreenSizeContext.js} +3 -12
  244. package/build/{theme-be20929b.js → miscTheme.js} +2 -0
  245. package/build/molecules.js +106 -79
  246. package/build/navigation.js +44 -37
  247. package/build/onboardingV2.js +40 -35
  248. package/build/organisms.js +48 -41
  249. package/build/other-b4596d33.js +104 -0
  250. package/build/pwg.js +60 -55
  251. package/build/{routing-d6c9099a.js → routing-c7527743.js} +10 -9
  252. package/build/subot.js +104 -98
  253. package/build/surveyOrPremiumBanner.js +34 -28
  254. package/build/surveyQuestionCard.js +11 -10
  255. package/build/{surveyThankyouCard-5b23b8f6.js → surveyThankyouCard-cef7f501.js} +25 -25
  256. package/build/together/togetherComponentGlobalContext.d.ts +1 -2
  257. package/build/together.js +50 -43
  258. package/build/togetherApiPaths.js +173 -0
  259. package/build/togetherApiUtils.js +40 -0
  260. package/build/togetherAtoms.js +34 -28
  261. package/build/togetherComponentGlobalContext.js +7 -9
  262. package/build/togetherMolecules.js +41 -34
  263. package/build/togetherOrganisms.js +45 -38
  264. package/build/{treePopoverMenu-c0cb395f.js → treePopoverMenu-e1a2f3f8.js} +28 -26
  265. package/build/{types-8d9c5f21.js → types-b3edd885.js} +88 -87
  266. package/build/types.js +6 -5
  267. package/build/{useCategory-b695fd3a.js → useCategory-9e02b690.js} +18 -17
  268. package/build/{useHealthToolCache-048807ea.js → useHealthToolCache-35767818.js} +4 -4
  269. package/build/{useMantineLocale-0d63dfea.js → useMantineLocale-30235874.js} +26 -24
  270. package/build/{usePlacesAutocomplete-9520e525.js → usePlacesAutocomplete-2bb9e98f.js} +1 -1
  271. package/build/useTogetherAuthRequiredAction.js +8 -10
  272. package/build/{useTranslations-685f989b.js → useTranslations-ec613f5a.js} +1 -1
  273. package/build/{utils-169c6a7d.js → utils-62afd8c7.js} +26 -172
  274. package/build/{utils-1a00c0f8.js → utils-63994a00.js} +11 -10
  275. package/build/{esm/utils-d7bbdb52.js → utils-7effa670.js} +11 -101
  276. package/build/vaccination.js +72 -67
  277. package/package.json +1 -1
  278. package/build/esm/index-ac2a8f95.js +0 -1114
  279. package/build/index-00a78d81.js +0 -565
  280. package/build/index-60f6d762.js +0 -1127
  281. /package/build/{BMI_BOYS.percentile.monthly-1aa95e30.js → BMI_BOYS.percentile.monthly-6ed2e599.js} +0 -0
  282. /package/build/{BMI_BOYS.percentile.weekly-61d78e1c.js → BMI_BOYS.percentile.weekly-2674d8fd.js} +0 -0
  283. /package/build/{BMI_BOYS.percentile.yearly-f80e040e.js → BMI_BOYS.percentile.yearly-51aa456a.js} +0 -0
  284. /package/build/{BMI_BOYS.zscore.monthly-a6c7c8ff.js → BMI_BOYS.zscore.monthly-33333b5d.js} +0 -0
  285. /package/build/{BMI_BOYS.zscore.weekly-742f7028.js → BMI_BOYS.zscore.weekly-9fd4527e.js} +0 -0
  286. /package/build/{BMI_BOYS.zscore.yearly-c19cccd5.js → BMI_BOYS.zscore.yearly-9f0a2b65.js} +0 -0
  287. /package/build/{BMI_GIRLS.percentile.monthly-089d3981.js → BMI_GIRLS.percentile.monthly-ff8c7b3d.js} +0 -0
  288. /package/build/{BMI_GIRLS.percentile.weekly-0cc52cda.js → BMI_GIRLS.percentile.weekly-6cf39279.js} +0 -0
  289. /package/build/{BMI_GIRLS.percentile.yearly-10bc603f.js → BMI_GIRLS.percentile.yearly-260242f0.js} +0 -0
  290. /package/build/{BMI_GIRLS.zscore.monthly-c3fe57f3.js → BMI_GIRLS.zscore.monthly-2f687534.js} +0 -0
  291. /package/build/{BMI_GIRLS.zscore.weekly-b83a54db.js → BMI_GIRLS.zscore.weekly-777dcea3.js} +0 -0
  292. /package/build/{BMI_GIRLS.zscore.yearly-5f13cda2.js → BMI_GIRLS.zscore.yearly-c7da1557.js} +0 -0
  293. /package/build/{ChevronDown-2fd86d66.js → ChevronDown-1ef49349.js} +0 -0
  294. /package/build/{Close-711196b0.js → Close-c5cedb3c.js} +0 -0
  295. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-03b8d7fb.js → HEAD CIRCUM_BOYS.percentile.monthly-9adb51e9.js} +0 -0
  296. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9ebd3eb6.js → HEAD CIRCUM_BOYS.percentile.weekly-2471683f.js} +0 -0
  297. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8e97b738.js → HEAD CIRCUM_BOYS.percentile.yearly-f3319cb0.js} +0 -0
  298. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e7892261.js → HEAD CIRCUM_BOYS.zscore.monthly-7e3fc029.js} +0 -0
  299. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-47c5af84.js → HEAD CIRCUM_BOYS.zscore.weekly-b7aa2b50.js} +0 -0
  300. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9a1bc325.js → HEAD CIRCUM_BOYS.zscore.yearly-c61c6c1d.js} +0 -0
  301. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-d84491d7.js → HEAD CIRCUM_GIRLS.percentile.monthly-b4cc5c65.js} +0 -0
  302. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-a6f38c3e.js → HEAD CIRCUM_GIRLS.percentile.weekly-ad990791.js} +0 -0
  303. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-5771d277.js → HEAD CIRCUM_GIRLS.percentile.yearly-65fcb09f.js} +0 -0
  304. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e3633bcc.js → HEAD CIRCUM_GIRLS.zscore.monthly-2402176a.js} +0 -0
  305. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-23b0ab1a.js → HEAD CIRCUM_GIRLS.zscore.weekly-0e327b7e.js} +0 -0
  306. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-20f29cf1.js → HEAD CIRCUM_GIRLS.zscore.yearly-8fbe89c7.js} +0 -0
  307. /package/build/{HEIGHT_BOYS.percentile.monthly-57cc12ee.js → HEIGHT_BOYS.percentile.monthly-85d25944.js} +0 -0
  308. /package/build/{HEIGHT_BOYS.percentile.weekly-c788506a.js → HEIGHT_BOYS.percentile.weekly-02e026c7.js} +0 -0
  309. /package/build/{HEIGHT_BOYS.percentile.yearly-ac56c1f2.js → HEIGHT_BOYS.percentile.yearly-76c02fee.js} +0 -0
  310. /package/build/{HEIGHT_BOYS.zscore.monthly-1bb78253.js → HEIGHT_BOYS.zscore.monthly-68dd676e.js} +0 -0
  311. /package/build/{HEIGHT_BOYS.zscore.weekly-22737c43.js → HEIGHT_BOYS.zscore.weekly-ad16132c.js} +0 -0
  312. /package/build/{HEIGHT_BOYS.zscore.yearly-90f6cd0a.js → HEIGHT_BOYS.zscore.yearly-f6b8dba4.js} +0 -0
  313. /package/build/{HEIGHT_GIRLS.percentile.monthly-019f80d2.js → HEIGHT_GIRLS.percentile.monthly-24a8139c.js} +0 -0
  314. /package/build/{HEIGHT_GIRLS.percentile.weekly-ceed9817.js → HEIGHT_GIRLS.percentile.weekly-1d08cc73.js} +0 -0
  315. /package/build/{HEIGHT_GIRLS.percentile.yearly-3e5192ac.js → HEIGHT_GIRLS.percentile.yearly-05197713.js} +0 -0
  316. /package/build/{HEIGHT_GIRLS.zscore.monthly-f8fca0b6.js → HEIGHT_GIRLS.zscore.monthly-4aaa565f.js} +0 -0
  317. /package/build/{HEIGHT_GIRLS.zscore.weekly-827b17e8.js → HEIGHT_GIRLS.zscore.weekly-454b8b19.js} +0 -0
  318. /package/build/{HEIGHT_GIRLS.zscore.yearly-3cdb483d.js → HEIGHT_GIRLS.zscore.yearly-5762f338.js} +0 -0
  319. /package/build/{Visible-515a4eec.js → Visible-bec3b78f.js} +0 -0
  320. /package/build/{WEIGHT_BOYS.percentile.monthly-2ecbd498.js → WEIGHT_BOYS.percentile.monthly-34729a7f.js} +0 -0
  321. /package/build/{WEIGHT_BOYS.percentile.weekly-75c9c25c.js → WEIGHT_BOYS.percentile.weekly-b82f3896.js} +0 -0
  322. /package/build/{WEIGHT_BOYS.percentile.yearly-03e7cea6.js → WEIGHT_BOYS.percentile.yearly-fe16bfbf.js} +0 -0
  323. /package/build/{WEIGHT_BOYS.zscore.monthly-2ff9fb56.js → WEIGHT_BOYS.zscore.monthly-de612999.js} +0 -0
  324. /package/build/{WEIGHT_BOYS.zscore.weekly-e9f7fe2d.js → WEIGHT_BOYS.zscore.weekly-8e520e4a.js} +0 -0
  325. /package/build/{WEIGHT_BOYS.zscore.yearly-4a96f34f.js → WEIGHT_BOYS.zscore.yearly-7f87d4e0.js} +0 -0
  326. /package/build/{WEIGHT_GIRLS.percentile.monthly-5bf09e30.js → WEIGHT_GIRLS.percentile.monthly-d9389ae2.js} +0 -0
  327. /package/build/{WEIGHT_GIRLS.percentile.weekly-f737ae23.js → WEIGHT_GIRLS.percentile.weekly-0a4e65a0.js} +0 -0
  328. /package/build/{WEIGHT_GIRLS.percentile.yearly-56ebc8eb.js → WEIGHT_GIRLS.percentile.yearly-5039690e.js} +0 -0
  329. /package/build/{WEIGHT_GIRLS.zscore.monthly-4697d3b5.js → WEIGHT_GIRLS.zscore.monthly-267424de.js} +0 -0
  330. /package/build/{WEIGHT_GIRLS.zscore.weekly-3633820e.js → WEIGHT_GIRLS.zscore.weekly-b82eb126.js} +0 -0
  331. /package/build/{WEIGHT_GIRLS.zscore.yearly-a9a04790.js → WEIGHT_GIRLS.zscore.yearly-743b24fd.js} +0 -0
  332. /package/build/{animation-85d012ee.js → animation-0a5aba6d.js} +0 -0
  333. /package/build/{cart-8877bd63.js → cart-a5619079.js} +0 -0
  334. /package/build/{constants-8743b014.js → constants-5fd6a807.js} +0 -0
  335. /package/build/{constants-a78fa8b3.js → constants-bea20f60.js} +0 -0
  336. /package/build/{doctor-2c14fed1.js → doctor-7b7ee55b.js} +0 -0
  337. /package/build/esm/{BMI_BOYS.percentile.monthly-42ff2c64.js → BMI_BOYS.percentile.monthly-bd9229f1.js} +0 -0
  338. /package/build/esm/{BMI_BOYS.percentile.weekly-b4a6c521.js → BMI_BOYS.percentile.weekly-b5555772.js} +0 -0
  339. /package/build/esm/{BMI_BOYS.percentile.yearly-d3bc1a77.js → BMI_BOYS.percentile.yearly-40c77400.js} +0 -0
  340. /package/build/esm/{BMI_BOYS.zscore.monthly-c4506dfa.js → BMI_BOYS.zscore.monthly-97b686fe.js} +0 -0
  341. /package/build/esm/{BMI_BOYS.zscore.weekly-ddf3b3f9.js → BMI_BOYS.zscore.weekly-3bfff161.js} +0 -0
  342. /package/build/esm/{BMI_BOYS.zscore.yearly-e0e3139e.js → BMI_BOYS.zscore.yearly-52ee4b24.js} +0 -0
  343. /package/build/esm/{BMI_GIRLS.percentile.monthly-96686bcc.js → BMI_GIRLS.percentile.monthly-05f18f9d.js} +0 -0
  344. /package/build/esm/{BMI_GIRLS.percentile.weekly-c3106a65.js → BMI_GIRLS.percentile.weekly-4a737e44.js} +0 -0
  345. /package/build/esm/{BMI_GIRLS.percentile.yearly-b38c1f1f.js → BMI_GIRLS.percentile.yearly-19ee728c.js} +0 -0
  346. /package/build/esm/{BMI_GIRLS.zscore.monthly-f8a7836f.js → BMI_GIRLS.zscore.monthly-45463588.js} +0 -0
  347. /package/build/esm/{BMI_GIRLS.zscore.weekly-4c1fc771.js → BMI_GIRLS.zscore.weekly-a3d0afc1.js} +0 -0
  348. /package/build/esm/{BMI_GIRLS.zscore.yearly-dce5e66a.js → BMI_GIRLS.zscore.yearly-0e0db5a8.js} +0 -0
  349. /package/build/esm/{ChevronDown-31ea3e19.js → ChevronDown-50f453d2.js} +0 -0
  350. /package/build/esm/{Close-40d598bc.js → Close-80cf7f50.js} +0 -0
  351. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-34e3fa1c.js → HEAD CIRCUM_BOYS.percentile.monthly-9bf41293.js} +0 -0
  352. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d3f3568f.js → HEAD CIRCUM_BOYS.percentile.weekly-ca467513.js} +0 -0
  353. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-dfae3ad2.js → HEAD CIRCUM_BOYS.percentile.yearly-e4d4e872.js} +0 -0
  354. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-95840c2f.js → HEAD CIRCUM_BOYS.zscore.monthly-0ededd66.js} +0 -0
  355. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8b198c1c.js → HEAD CIRCUM_BOYS.zscore.weekly-c1535f8c.js} +0 -0
  356. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-b7d639ad.js → HEAD CIRCUM_BOYS.zscore.yearly-5e3aa734.js} +0 -0
  357. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-47caa070.js → HEAD CIRCUM_GIRLS.percentile.monthly-42c62bef.js} +0 -0
  358. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-bae46665.js → HEAD CIRCUM_GIRLS.percentile.weekly-6c77535b.js} +0 -0
  359. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-81989cdd.js → HEAD CIRCUM_GIRLS.percentile.yearly-80a34830.js} +0 -0
  360. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-f2f7d985.js → HEAD CIRCUM_GIRLS.zscore.monthly-f2e8d1fd.js} +0 -0
  361. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e287ddb7.js → HEAD CIRCUM_GIRLS.zscore.weekly-4f43a2f9.js} +0 -0
  362. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-8790b62a.js → HEAD CIRCUM_GIRLS.zscore.yearly-4b1cad4f.js} +0 -0
  363. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-5d2b6466.js → HEIGHT_BOYS.percentile.monthly-ce0656e6.js} +0 -0
  364. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a38ad13e.js → HEIGHT_BOYS.percentile.weekly-87e1937f.js} +0 -0
  365. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e4841712.js → HEIGHT_BOYS.percentile.yearly-cb63aa0d.js} +0 -0
  366. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d8e722f8.js → HEIGHT_BOYS.zscore.monthly-4b8fad7d.js} +0 -0
  367. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a92ea3ca.js → HEIGHT_BOYS.zscore.weekly-833bc599.js} +0 -0
  368. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3af1adce.js → HEIGHT_BOYS.zscore.yearly-0b9b3217.js} +0 -0
  369. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c5203801.js → HEIGHT_GIRLS.percentile.monthly-c0444ca0.js} +0 -0
  370. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-4c25d07f.js → HEIGHT_GIRLS.percentile.weekly-0b46d795.js} +0 -0
  371. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f91e2e27.js → HEIGHT_GIRLS.percentile.yearly-7cecbdb5.js} +0 -0
  372. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-b2a60aca.js → HEIGHT_GIRLS.zscore.monthly-9e1aa7b8.js} +0 -0
  373. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0a98c520.js → HEIGHT_GIRLS.zscore.weekly-5120bb53.js} +0 -0
  374. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-8070d58f.js → HEIGHT_GIRLS.zscore.yearly-ae917e06.js} +0 -0
  375. /package/build/esm/{Visible-e3e4fb6f.js → Visible-14a649ea.js} +0 -0
  376. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-b262b97d.js → WEIGHT_BOYS.percentile.monthly-9cf37850.js} +0 -0
  377. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-7e817f9f.js → WEIGHT_BOYS.percentile.weekly-d0ad8b3d.js} +0 -0
  378. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b7f1786a.js → WEIGHT_BOYS.percentile.yearly-f16cc022.js} +0 -0
  379. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-014af835.js → WEIGHT_BOYS.zscore.monthly-8ec95d81.js} +0 -0
  380. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-4577f724.js → WEIGHT_BOYS.zscore.weekly-2f2d400c.js} +0 -0
  381. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-08fd3f13.js → WEIGHT_BOYS.zscore.yearly-11a2d414.js} +0 -0
  382. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a6e1aa0d.js → WEIGHT_GIRLS.percentile.monthly-2bd9a1ad.js} +0 -0
  383. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-4c0b6f94.js → WEIGHT_GIRLS.percentile.weekly-3b4e05fe.js} +0 -0
  384. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-bf689a3a.js → WEIGHT_GIRLS.percentile.yearly-4b66fe9f.js} +0 -0
  385. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f82fc3c8.js → WEIGHT_GIRLS.zscore.monthly-e8f771f4.js} +0 -0
  386. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-854ce987.js → WEIGHT_GIRLS.zscore.weekly-6e9fc8ba.js} +0 -0
  387. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2a3b869a.js → WEIGHT_GIRLS.zscore.yearly-cc5dc258.js} +0 -0
  388. /package/build/esm/{animation-85d9a0ed.js → animation-9382bfae.js} +0 -0
  389. /package/build/esm/{cart-1ac23ce7.js → cart-aa8756c6.js} +0 -0
  390. /package/build/esm/{constants-a5827634.js → constants-1dda168b.js} +0 -0
  391. /package/build/esm/{constants-f6b2e49d.js → constants-1efbbe50.js} +0 -0
  392. /package/build/esm/{doctor-e0c2476d.js → doctor-10572f59.js} +0 -0
  393. /package/build/esm/{index-8684181f.js → index-48eb9b2f.js} +0 -0
  394. /package/build/esm/{index-21bca818.js → index-6022a6ab.js} +0 -0
  395. /package/build/esm/{index-ad1c7c38.js → index-88732e57.js} +0 -0
  396. /package/build/esm/{index-266a32ff.js → index-9d3d97b0.js} +0 -0
  397. /package/build/esm/{localizeNumberFormat-1f000110.js → localizeNumberFormat-48342557.js} +0 -0
  398. /package/build/esm/{normalizeLink-7a93ebb9.js → normalizeLink-3bdaa9c9.js} +0 -0
  399. /package/build/esm/{number-1d1ba14a.js → number-14e36fe8.js} +0 -0
  400. /package/build/esm/{paths-b83be1a0.js → paths-e2dcafe3.js} +0 -0
  401. /package/build/esm/{translationsContext-42a1fa63.js → translationsContext-7876e8f8.js} +0 -0
  402. /package/build/esm/{tslib.es6-06ba3978.js → tslib.es6-9430520e.js} +0 -0
  403. /package/build/esm/{types-721e7a66.js → types-fde0b904.js} +0 -0
  404. /package/build/esm/{useIsInit-f4dec279.js → useIsInit-2f5401d6.js} +0 -0
  405. /package/build/esm/{useOutsideClick-210c1134.js → useOutsideClick-9111d12b.js} +0 -0
  406. /package/build/esm/{useScrollbarSize-909ae7ec.js → useScrollbarSize-7525fa88.js} +0 -0
  407. /package/build/esm/{useUniqueId-5885911d.js → useUniqueId-8320b4d7.js} +0 -0
  408. /package/build/{index-82c85f9d.js → index-3bac4c49.js} +0 -0
  409. /package/build/{index-bc9e8eae.js → index-9176f616.js} +0 -0
  410. /package/build/{index-6fdcd09d.js → index-c61d67cf.js} +0 -0
  411. /package/build/{index-2de1eb4a.js → index-ce737a83.js} +0 -0
  412. /package/build/{localizeNumberFormat-7ff6bd3a.js → localizeNumberFormat-4948bf30.js} +0 -0
  413. /package/build/{normalizeLink-d307f624.js → normalizeLink-bc411d55.js} +0 -0
  414. /package/build/{number-dddf656c.js → number-dee2b42a.js} +0 -0
  415. /package/build/{paths-7da79c64.js → paths-353c484a.js} +0 -0
  416. /package/build/{translationsContext-00fdb62e.js → translationsContext-22b4034f.js} +0 -0
  417. /package/build/{tslib.es6-bd3f8718.js → tslib.es6-a7663f7d.js} +0 -0
  418. /package/build/{types-b25ffde0.js → types-435407da.js} +0 -0
  419. /package/build/{useIsInit-e06b96f5.js → useIsInit-f72899d0.js} +0 -0
  420. /package/build/{useOutsideClick-d95a32b6.js → useOutsideClick-34fa23d9.js} +0 -0
  421. /package/build/{useScrollbarSize-1499b1c3.js → useScrollbarSize-f077e15f.js} +0 -0
  422. /package/build/{useUniqueId-1af8848e.js → useUniqueId-b5967fd3.js} +0 -0
@@ -0,0 +1,129 @@
1
+ import './index-99a12287.js';
2
+ import { L as LOCALE } from './Locale-50ec684c.js';
3
+
4
+ const siteHost = {
5
+ HELLO_HEALTH_GROUP: 'hellohealthgroup.com',
6
+ HELLO_DOCTOR: 'hellodoctor.com.ph',
7
+ HELLO_DOCTOR_FIL: 'hellodoctor.com.ph/fil',
8
+ HELLO_KRUPET: 'hellokrupet.com',
9
+ HELLO_SWASTHYA: 'helloswasthya.com',
10
+ HELLO_SEHAT: 'hellosehat.com',
11
+ HELLO_SAYARWON: 'hellosayarwon.com',
12
+ HELLO_DOKTOR: 'hellodoktor.com',
13
+ HELLO_KHUNMOR: 'hellokhunmor.com',
14
+ HELLO_YISHI: 'helloyishi.com.tw',
15
+ HELLO_BACSI: 'hellobacsi.com',
16
+ MARRY_BABY: 'www.marrybaby.vn',
17
+ };
18
+ const siteOptions = {
19
+ HELLO_HEALTH_GROUP: {
20
+ lng: LOCALE.PhilippinesEnglish,
21
+ ns: 'translation',
22
+ name: 'Hello Health Group',
23
+ theme: 'hellosite',
24
+ dayjs: 'en',
25
+ phoneCountry: 'PH',
26
+ siteId: 10,
27
+ },
28
+ HELLO_DOCTOR: {
29
+ lng: LOCALE.PhilippinesEnglish,
30
+ ns: 'translation',
31
+ name: 'Hello Doctor',
32
+ theme: 'hellosite',
33
+ dayjs: 'en',
34
+ phoneCountry: 'PH',
35
+ siteId: 5,
36
+ },
37
+ HELLO_DOCTOR_FIL: {
38
+ lng: LOCALE.PhilippinesTagalog,
39
+ ns: 'translation',
40
+ name: 'Hello Doctor',
41
+ theme: 'hellosite',
42
+ dayjs: 'tl-ph',
43
+ phoneCountry: 'PH',
44
+ siteId: 5,
45
+ },
46
+ HELLO_KRUPET: {
47
+ lng: LOCALE.Cambodia,
48
+ ns: 'translation',
49
+ name: 'Hello Krupet',
50
+ theme: 'hellosite',
51
+ dayjs: 'km',
52
+ phoneCountry: 'KH',
53
+ siteId: 4,
54
+ },
55
+ HELLO_SWASTHYA: {
56
+ lng: LOCALE.India,
57
+ ns: 'translation',
58
+ name: 'Hello Swasthya',
59
+ theme: 'hellosite',
60
+ dayjs: 'hi',
61
+ phoneCountry: 'IN',
62
+ siteId: 9,
63
+ },
64
+ HELLO_SEHAT: {
65
+ lng: LOCALE.Indonesia,
66
+ ns: 'translation',
67
+ name: 'Hello Sehat',
68
+ theme: 'hellosite',
69
+ dayjs: 'id',
70
+ phoneCountry: 'ID',
71
+ siteId: 2,
72
+ },
73
+ HELLO_SAYARWON: {
74
+ lng: LOCALE.Myanmar,
75
+ ns: 'translation',
76
+ name: 'Hello Sayarwon',
77
+ theme: 'hellosite',
78
+ dayjs: 'my',
79
+ phoneCountry: 'MM',
80
+ siteId: 7,
81
+ },
82
+ HELLO_DOKTOR: {
83
+ lng: LOCALE.Malaysia,
84
+ ns: 'translation',
85
+ name: 'Hello Doktor',
86
+ theme: 'hellosite',
87
+ dayjs: 'ms-my',
88
+ phoneCountry: 'MY',
89
+ siteId: 3,
90
+ },
91
+ HELLO_KHUNMOR: {
92
+ lng: LOCALE.Thailand,
93
+ ns: 'translation',
94
+ name: 'Hello Khunmor',
95
+ theme: 'hellosite',
96
+ dayjs: 'th',
97
+ phoneCountry: 'TH',
98
+ siteId: 6,
99
+ },
100
+ HELLO_YISHI: {
101
+ lng: LOCALE.Taiwan,
102
+ ns: 'translation',
103
+ name: 'Hello Yishi',
104
+ theme: 'hellosite',
105
+ dayjs: 'zh-tw',
106
+ phoneCountry: 'TW',
107
+ siteId: 8,
108
+ },
109
+ HELLO_BACSI: {
110
+ lng: LOCALE.Vietnam,
111
+ ns: 'translation',
112
+ name: 'Hello Bacsi',
113
+ theme: 'hellosite',
114
+ dayjs: 'vi',
115
+ phoneCountry: 'VN',
116
+ siteId: 1,
117
+ },
118
+ MARRY_BABY: {
119
+ lng: LOCALE.Vietnam,
120
+ ns: 'marrybaby',
121
+ name: 'Marry Baby',
122
+ theme: 'marrybaby',
123
+ dayjs: 'vi',
124
+ phoneCountry: 'VN',
125
+ siteId: 11,
126
+ },
127
+ };
128
+
129
+ export { siteHost, siteOptions };
@@ -1,5 +1,5 @@
1
- import { a as __awaiter } from './tslib.es6-06ba3978.js';
2
- import { i as isProduction } from './isProduction-1937d355.js';
1
+ import { a as __awaiter } from './tslib.es6-9430520e.js';
2
+ import { isProduction } from './constantsIsProduction.js';
3
3
 
4
4
  const ServerCache = {};
5
5
  const getCachedItem = (key) => {
@@ -0,0 +1,11 @@
1
+ const formatPill = (data) => {
2
+ if (!data)
3
+ return {};
4
+ return {
5
+ id: data.id,
6
+ name: data.name || '',
7
+ icon: data.fruit_icon || '',
8
+ };
9
+ };
10
+
11
+ export { formatPill as f };
@@ -1,103 +1,4 @@
1
- import React__default from 'react';
2
- import styled from '@emotion/styled';
3
- import { M as MediaQueries } from './utils-d7bbdb52.js';
4
- import { t as theme } from './theme-7dadf4a1.js';
5
- import { _ as __rest } from './tslib.es6-06ba3978.js';
6
-
7
- const StyledPopup = styled.div `
8
- position: fixed;
9
- left: 50%;
10
-
11
- padding: 0 16px 32px;
12
- background-color: ${theme.colors.white};
13
- border-radius: ${theme.borderRadius};
14
- box-shadow: 0px 4px 8px ${theme.colors.gray200};
15
- transform: translate(-50%, -50%);
16
- transition: all 0.5s ease-in-out;
17
- visibility: hidden;
18
-
19
- &[data-open='true'] {
20
- z-index: 400;
21
- top: 50%;
22
- opacity: 1;
23
- visibility: visible;
24
- }
25
-
26
- &[data-open='false'] {
27
- top: -50%;
28
- }
29
-
30
- &[data-type='lead'] {
31
- width: 332px;
32
- height: 460px;
33
-
34
- div {
35
- top: -15px;
36
- right: -15px;
37
- }
38
- }
39
-
40
- &[data-type='form'] {
41
- width: 496px;
42
- height: 548px;
43
- ${MediaQueries.mbDown} {
44
- width: 340px;
45
- }
46
- }
47
-
48
- &[data-type='confirm'] {
49
- ${MediaQueries.mbDown} {
50
- width: calc(100% - 32px);
51
- }
52
- ${MediaQueries.mbUp} {
53
- width: 100%;
54
- max-width: 407px;
55
- }
56
- }
57
-
58
- .popup-content {
59
- position: relative;
60
- z-index: 111;
61
- height: 100%;
62
- padding: 16px;
63
- }
64
-
65
- .close-button {
66
- position: absolute;
67
- top: 16px;
68
- right: 0;
69
- cursor: pointer;
70
-
71
- img {
72
- width: 100%;
73
- height: 100%;
74
- border-radius: 50%;
75
- }
76
- }
77
- `;
78
- const StyledPopupWrapper = styled.div `
79
- position: fixed;
80
- z-index: 110;
81
- top: 0;
82
- left: 0;
83
- width: 100%;
84
- height: 100%;
85
- align-items: center;
86
- background: rgba(38, 38, 38, 0.3);
87
-
88
- &[data-open='false'] {
89
- display: none;
90
- }
91
- `;
92
-
93
- const Popup = ({ type = 'lead', closeIcon, isOpen = true, onClose, children, className = '', enableAnimation = true, }) => {
94
- return (React__default.createElement(React__default.Fragment, null,
95
- React__default.createElement(StyledPopup, { "data-open": isOpen, "data-type": type, "data-animation": enableAnimation },
96
- React__default.createElement("div", { className: `${className || ''} popup-content` },
97
- !!closeIcon && (React__default.createElement("div", { className: "close-button", onClick: onClose }, closeIcon)),
98
- children)),
99
- React__default.createElement(StyledPopupWrapper, { "data-open": isOpen, onClick: onClose })));
100
- };
1
+ import { _ as __rest } from './tslib.es6-9430520e.js';
101
2
 
102
3
  const formatAuthor = (author) => {
103
4
  if (!author)
@@ -786,4 +687,4 @@ var dataTransform = /*#__PURE__*/Object.freeze({
786
687
  formatBabyGrowthContent: formatBabyGrowthContent
787
688
  });
788
689
 
789
- export { Popup as P, formatCommunity as a, formatPost as b, formatComment as c, dataTransform as d, formatArticle as e, formatUserProfileUrl as f, formatTopic as g, formatCategory as h };
690
+ export { formatCommunity as a, formatPost as b, formatComment as c, dataTransform as d, formatArticle as e, formatUserProfileUrl as f, formatTopic as g, formatCategory as h };
package/build/esm/ecom.js CHANGED
@@ -1,9 +1,13 @@
1
- import { t as theme } from './theme-7dadf4a1.js';
2
- export { c as Constants } from './constants-bb470362.js';
3
- import './index-6210f454.js';
1
+ import { theme } from './miscTheme.js';
2
+ export { c as Constants } from './constants-efabd249.js';
3
+ import './index-3dcece1c.js';
4
4
  import 'date-fns/locale';
5
- import './index-189d7601.js';
6
- import './isProduction-1937d355.js';
5
+ import './index-99a12287.js';
6
+ import './Locale-50ec684c.js';
7
+ import './constantsIsProduction.js';
8
+ import './constantsSite.js';
9
+ import './constantsDomainLocales.js';
10
+ import './constantsRiskScreener.js';
7
11
 
8
12
  // ===== CART END =====
9
13
 
@@ -0,0 +1,56 @@
1
+ import { _ as __rest } from './tslib.es6-9430520e.js';
2
+ import React__default from 'react';
3
+ import { B as BabyGrowthForm } from './index-1090bed4.js';
4
+ import { C as CommonGAssets } from './index-562833a7.js';
5
+ import { H as HealthToolCardWrapper } from './index-6b58602f.js';
6
+ import '@mantine/core';
7
+ import '@mantine/form';
8
+ import './index-83cc8492.js';
9
+ import '@hhgtech/icons/other';
10
+ import '@mantine/hooks';
11
+ import './utils-94f8d19f.js';
12
+ import '@emotion/styled';
13
+ import '@mantine/carousel';
14
+ import './index-88ff7c55.js';
15
+ import './other-af591390.js';
16
+ import './index-99a12287.js';
17
+ import './Locale-50ec684c.js';
18
+ import './miscTheme.js';
19
+ import './useMantineLocale-845c1956.js';
20
+ import 'dayjs';
21
+ import './index-3dcece1c.js';
22
+ import 'date-fns/locale';
23
+ import './constantsIsProduction.js';
24
+ import './constantsSite.js';
25
+ import './constantsDomainLocales.js';
26
+ import './constantsRiskScreener.js';
27
+ import './index-c7b7301d.js';
28
+ import 'classnames';
29
+ import './useUniqueId-8320b4d7.js';
30
+ import '@hhgtech/icons/core';
31
+ import './index-1baef0ed.js';
32
+ import '@mantine/dates';
33
+ import './useTranslations-32ff6c72.js';
34
+ import './translationsContext-7876e8f8.js';
35
+ import 'string-format';
36
+ import './constants-7154766a.js';
37
+ import './index-b4dc58c1.js';
38
+ import 'react-keyed-flatten-children';
39
+ import './index-7d0b67e7.js';
40
+ import './miscDefaultClassWrapper.js';
41
+
42
+ const BabyGrowthCardEmbed = (_a) => {
43
+ var _b, _c, _d;
44
+ var { babyGrowthContent, formProps } = _a, props = __rest(_a, ["babyGrowthContent", "formProps"]);
45
+ return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
46
+ React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { className: "embedded-icon", alt: "health-tool-icon", src: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.featuredImage) ||
47
+ CommonGAssets.getAssetPath('health-tools/toolsIconBabyGrowth.svg'), loading: "lazy" }), heading: (babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.title) || '', medicalReview: {
48
+ link: (_b = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
49
+ reviewer: (_c = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer.trim(),
50
+ date: (_d = babyGrowthContent === null || babyGrowthContent === void 0 ? void 0 : babyGrowthContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
51
+ } }),
52
+ React__default.createElement(HealthToolCardWrapper.Body, null,
53
+ React__default.createElement(BabyGrowthForm, Object.assign({}, formProps)))));
54
+ };
55
+
56
+ export { BabyGrowthCardEmbed };
@@ -0,0 +1,49 @@
1
+ import { _ as __rest } from './tslib.es6-9430520e.js';
2
+ import React__default from 'react';
3
+ import { H as HealthToolCardWrapper } from './index-6b58602f.js';
4
+ import { B as BabyPoopForm } from './index-114fe334.js';
5
+ import '@mantine/core';
6
+ import './index-83cc8492.js';
7
+ import '@hhgtech/icons/other';
8
+ import '@mantine/hooks';
9
+ import './index-562833a7.js';
10
+ import './constantsDomainLocales.js';
11
+ import './Locale-50ec684c.js';
12
+ import './constantsIsProduction.js';
13
+ import './utils-94f8d19f.js';
14
+ import '@emotion/styled';
15
+ import '@mantine/carousel';
16
+ import './index-88ff7c55.js';
17
+ import './other-af591390.js';
18
+ import './index-99a12287.js';
19
+ import './miscTheme.js';
20
+ import './useMantineLocale-845c1956.js';
21
+ import 'dayjs';
22
+ import './index-3dcece1c.js';
23
+ import 'date-fns/locale';
24
+ import './constantsSite.js';
25
+ import './constantsRiskScreener.js';
26
+ import './index-c7b7301d.js';
27
+ import 'classnames';
28
+ import './useUniqueId-8320b4d7.js';
29
+ import '@hhgtech/icons/core';
30
+ import '@mantine/dates';
31
+ import './useTranslations-32ff6c72.js';
32
+ import './translationsContext-7876e8f8.js';
33
+ import 'string-format';
34
+ import './miscDefaultClassWrapper.js';
35
+
36
+ const BabyPoopEmbed = (_a) => {
37
+ var { babyPoopPage, formProps } = _a, props = __rest(_a, ["babyPoopPage", "formProps"]);
38
+ const { reviewedBy, reviewedDate } = babyPoopPage || {};
39
+ return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
40
+ React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: babyPoopPage === null || babyPoopPage === void 0 ? void 0 : babyPoopPage.featuredImage, loading: "lazy" }), heading: babyPoopPage.title, medicalReview: {
41
+ link: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.profileUrl,
42
+ reviewer: reviewedBy === null || reviewedBy === void 0 ? void 0 : reviewedBy.displayName,
43
+ date: reviewedDate,
44
+ } }),
45
+ React__default.createElement(HealthToolCardWrapper.Body, null,
46
+ React__default.createElement(BabyPoopForm, Object.assign({ babyPoopPage: babyPoopPage }, formProps)))));
47
+ };
48
+
49
+ export { BabyPoopEmbed };
@@ -0,0 +1,56 @@
1
+ import { _ as __rest } from './tslib.es6-9430520e.js';
2
+ import React__default from 'react';
3
+ import { u as useTranslations } from './useTranslations-32ff6c72.js';
4
+ import { C as CommonGAssets } from './index-562833a7.js';
5
+ import { H as HealthToolCardWrapper } from './index-6b58602f.js';
6
+ import { B as BabyVaccineForm } from './index-5caf9237.js';
7
+ import './translationsContext-7876e8f8.js';
8
+ import 'string-format';
9
+ import './constantsDomainLocales.js';
10
+ import './Locale-50ec684c.js';
11
+ import './constantsIsProduction.js';
12
+ import '@mantine/core';
13
+ import './index-83cc8492.js';
14
+ import '@hhgtech/icons/other';
15
+ import '@mantine/hooks';
16
+ import './utils-94f8d19f.js';
17
+ import '@emotion/styled';
18
+ import '@mantine/carousel';
19
+ import './index-88ff7c55.js';
20
+ import './other-af591390.js';
21
+ import './index-99a12287.js';
22
+ import './miscTheme.js';
23
+ import './useMantineLocale-845c1956.js';
24
+ import 'dayjs';
25
+ import './index-3dcece1c.js';
26
+ import 'date-fns/locale';
27
+ import './constantsSite.js';
28
+ import './constantsRiskScreener.js';
29
+ import './index-c7b7301d.js';
30
+ import 'classnames';
31
+ import './useUniqueId-8320b4d7.js';
32
+ import '@hhgtech/icons/core';
33
+ import '@mantine/dates';
34
+ import './miscDefaultClassWrapper.js';
35
+ import '@mantine/form';
36
+ import './index-1baef0ed.js';
37
+ import './index-b4dc58c1.js';
38
+ import 'react-keyed-flatten-children';
39
+ import './index-7d0b67e7.js';
40
+
41
+ const BabyVaccineCardEmbed = (_a) => {
42
+ var _b, _c, _d;
43
+ var { babyVaccineContent, formProps } = _a, props = __rest(_a, ["babyVaccineContent", "formProps"]);
44
+ const { t } = useTranslations();
45
+ return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
46
+ React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.featuredImage) ||
47
+ CommonGAssets.getAssetPath('health-tools/baby-vaccine-icon.svg'), loading: "lazy" }), heading: t('babyVaccineTool.heading'), medicalReview: {
48
+ link: ((_b = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link) || '',
49
+ reviewer: ((_c = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer) || '',
50
+ date: ((_d = babyVaccineContent === null || babyVaccineContent === void 0 ? void 0 : babyVaccineContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date) || '',
51
+ } }),
52
+ React__default.createElement(HealthToolCardWrapper.Body, null,
53
+ React__default.createElement(BabyVaccineForm, Object.assign({}, formProps)))));
54
+ };
55
+
56
+ export { BabyVaccineCardEmbed };
@@ -0,0 +1,62 @@
1
+ import { _ as __rest } from './tslib.es6-9430520e.js';
2
+ import React__default from 'react';
3
+ import { u as useTranslations } from './useTranslations-32ff6c72.js';
4
+ import { C as CommonGAssets } from './index-562833a7.js';
5
+ import { H as HealthToolCardWrapper } from './index-6b58602f.js';
6
+ import { B as BmiForm } from './index-d6cfeea2.js';
7
+ import './translationsContext-7876e8f8.js';
8
+ import 'string-format';
9
+ import './constantsDomainLocales.js';
10
+ import './Locale-50ec684c.js';
11
+ import './constantsIsProduction.js';
12
+ import '@mantine/core';
13
+ import './index-83cc8492.js';
14
+ import '@hhgtech/icons/other';
15
+ import '@mantine/hooks';
16
+ import './utils-94f8d19f.js';
17
+ import '@emotion/styled';
18
+ import '@mantine/carousel';
19
+ import './index-88ff7c55.js';
20
+ import './other-af591390.js';
21
+ import './index-99a12287.js';
22
+ import './miscTheme.js';
23
+ import './useMantineLocale-845c1956.js';
24
+ import 'dayjs';
25
+ import './index-3dcece1c.js';
26
+ import 'date-fns/locale';
27
+ import './constantsSite.js';
28
+ import './constantsRiskScreener.js';
29
+ import './index-c7b7301d.js';
30
+ import 'classnames';
31
+ import './useUniqueId-8320b4d7.js';
32
+ import '@hhgtech/icons/core';
33
+ import '@mantine/dates';
34
+ import './miscDefaultClassWrapper.js';
35
+ import 'react-hook-form';
36
+ import './useHealthToolCache-73e49d74.js';
37
+ import './miscGetDynamicHealthTool.js';
38
+ import './normalizeLink-3bdaa9c9.js';
39
+ import './routing-0e27d82c.js';
40
+ import './core-e76c2318.js';
41
+ import './constants-1dda168b.js';
42
+ import './index-7d0b67e7.js';
43
+ import './index-b4dc58c1.js';
44
+ import 'react-keyed-flatten-children';
45
+ import './embeddedHeathToolCards_helpers.js';
46
+
47
+ const BMICardEmbed = (_a) => {
48
+ var _b, _c, _d;
49
+ var { bmiContent, bmiGenerated, bmiUnit, formProps } = _a, props = __rest(_a, ["bmiContent", "bmiGenerated", "bmiUnit", "formProps"]);
50
+ const { t } = useTranslations();
51
+ return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
52
+ React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.featured_image) ||
53
+ CommonGAssets.getAssetPath('health-tools/bmi.svg'), loading: "lazy" }), heading: t('bmi.heading'), medicalReview: {
54
+ link: (_b = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
55
+ reviewer: (_c = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer,
56
+ date: (_d = bmiContent === null || bmiContent === void 0 ? void 0 : bmiContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
57
+ } }),
58
+ React__default.createElement(HealthToolCardWrapper.Body, null,
59
+ React__default.createElement(BmiForm, Object.assign({ bmiGenerated: bmiGenerated, bmiUnit: bmiUnit }, formProps)))));
60
+ };
61
+
62
+ export { BMICardEmbed };
@@ -0,0 +1,62 @@
1
+ import { _ as __rest } from './tslib.es6-9430520e.js';
2
+ import React__default from 'react';
3
+ import { u as useTranslations } from './useTranslations-32ff6c72.js';
4
+ import { C as CommonGAssets } from './index-562833a7.js';
5
+ import { H as HealthToolCardWrapper } from './index-6b58602f.js';
6
+ import { B as BmiForm } from './index-d6cfeea2.js';
7
+ import './translationsContext-7876e8f8.js';
8
+ import 'string-format';
9
+ import './constantsDomainLocales.js';
10
+ import './Locale-50ec684c.js';
11
+ import './constantsIsProduction.js';
12
+ import '@mantine/core';
13
+ import './index-83cc8492.js';
14
+ import '@hhgtech/icons/other';
15
+ import '@mantine/hooks';
16
+ import './utils-94f8d19f.js';
17
+ import '@emotion/styled';
18
+ import '@mantine/carousel';
19
+ import './index-88ff7c55.js';
20
+ import './other-af591390.js';
21
+ import './index-99a12287.js';
22
+ import './miscTheme.js';
23
+ import './useMantineLocale-845c1956.js';
24
+ import 'dayjs';
25
+ import './index-3dcece1c.js';
26
+ import 'date-fns/locale';
27
+ import './constantsSite.js';
28
+ import './constantsRiskScreener.js';
29
+ import './index-c7b7301d.js';
30
+ import 'classnames';
31
+ import './useUniqueId-8320b4d7.js';
32
+ import '@hhgtech/icons/core';
33
+ import '@mantine/dates';
34
+ import './miscDefaultClassWrapper.js';
35
+ import 'react-hook-form';
36
+ import './useHealthToolCache-73e49d74.js';
37
+ import './miscGetDynamicHealthTool.js';
38
+ import './normalizeLink-3bdaa9c9.js';
39
+ import './routing-0e27d82c.js';
40
+ import './core-e76c2318.js';
41
+ import './constants-1dda168b.js';
42
+ import './index-7d0b67e7.js';
43
+ import './index-b4dc58c1.js';
44
+ import 'react-keyed-flatten-children';
45
+ import './embeddedHeathToolCards_helpers.js';
46
+
47
+ const BMRCardEmbed = (_a) => {
48
+ var _b, _c, _d;
49
+ var { bmrContent, bmiGenerated, bmiUnit, formProps } = _a, props = __rest(_a, ["bmrContent", "bmiGenerated", "bmiUnit", "formProps"]);
50
+ const { t } = useTranslations();
51
+ return (React__default.createElement(HealthToolCardWrapper, Object.assign({}, props),
52
+ React__default.createElement(HealthToolCardWrapper.Banner, { icon: React__default.createElement("img", { alt: "health-tool-icon", src: (bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.featured_image) ||
53
+ CommonGAssets.getAssetPath('health-tools/bmr.svg'), loading: "lazy" }), heading: t('bmr.heading'), medicalReview: {
54
+ link: (_b = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _b === void 0 ? void 0 : _b.link,
55
+ reviewer: (_c = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _c === void 0 ? void 0 : _c.reviewer,
56
+ date: (_d = bmrContent === null || bmrContent === void 0 ? void 0 : bmrContent.reviewBy) === null || _d === void 0 ? void 0 : _d.date,
57
+ } }),
58
+ React__default.createElement(HealthToolCardWrapper.Body, null,
59
+ React__default.createElement(BmiForm, Object.assign({ bmiGenerated: bmiGenerated, bmiUnit: bmiUnit }, formProps, { submitProps: Object.assign(Object.assign({}, formProps === null || formProps === void 0 ? void 0 : formProps.submitProps), { dataEventAction: 'BMR' }) })))));
60
+ };
61
+
62
+ export { BMRCardEmbed };
@@ -0,0 +1,57 @@
1
+ import { _ as __rest } from './tslib.es6-9430520e.js';
2
+ import React__default from 'react';
3
+ import { u as useTranslations } from './useTranslations-32ff6c72.js';
4
+ import { C as CommonGAssets } from './index-562833a7.js';
5
+ import { H as HealthToolCardWrapper } from './index-6b58602f.js';
6
+ import { D as DueDateForm } from './index-492f7199.js';
7
+ import './translationsContext-7876e8f8.js';
8
+ import 'string-format';
9
+ import './constantsDomainLocales.js';
10
+ import './Locale-50ec684c.js';
11
+ import './constantsIsProduction.js';
12
+ import '@mantine/core';
13
+ import './index-83cc8492.js';
14
+ import '@hhgtech/icons/other';
15
+ import '@mantine/hooks';
16
+ import './utils-94f8d19f.js';
17
+ import '@emotion/styled';
18
+ import '@mantine/carousel';
19
+ import './index-88ff7c55.js';
20
+ import './other-af591390.js';
21
+ import './index-99a12287.js';
22
+ import './miscTheme.js';
23
+ import './useMantineLocale-845c1956.js';
24
+ import 'dayjs';
25
+ import './index-3dcece1c.js';
26
+ import 'date-fns/locale';
27
+ import './constantsSite.js';
28
+ import './constantsRiskScreener.js';
29
+ import './index-c7b7301d.js';
30
+ import 'classnames';
31
+ import './useUniqueId-8320b4d7.js';
32
+ import '@hhgtech/icons/core';
33
+ import '@mantine/dates';
34
+ import './miscDefaultClassWrapper.js';
35
+ import './LastPeriod-6a476391.js';
36
+ import 'date-fns';
37
+ import '@mantine/form';
38
+ import './index-1baef0ed.js';
39
+ import './index-b4dc58c1.js';
40
+ import 'react-keyed-flatten-children';
41
+
42
+ const DueDateCardEmbed = (_a) => {
43
+ var _b;
44
+ var { dueDatePageInfo, expertUrl, formProps } = _a, props = __rest(_a, ["dueDatePageInfo", "expertUrl", "formProps"]);
45
+ const { t } = useTranslations();
46
+ return (React__default.createElement(HealthToolCardWrapper, Object.assign({ isPregTool: true }, props),
47
+ React__default.createElement(HealthToolCardWrapper.Banner, { color: "pink", icon: React__default.createElement("img", { alt: "health-tool-icon", src: (dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.featured_image) ||
48
+ CommonGAssets.getAssetPath('health-tools/due-date-icon.svg'), loading: "lazy" }), heading: t('healthTools.dueDateCalculator'), medicalReview: {
49
+ link: expertUrl,
50
+ reviewer: (_b = dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.reviewed_by) === null || _b === void 0 ? void 0 : _b.display_name,
51
+ date: dueDatePageInfo === null || dueDatePageInfo === void 0 ? void 0 : dueDatePageInfo.reviewed_date,
52
+ } }),
53
+ React__default.createElement(HealthToolCardWrapper.Body, null,
54
+ React__default.createElement(DueDateForm, Object.assign({}, formProps)))));
55
+ };
56
+
57
+ export { DueDateCardEmbed };
@@ -0,0 +1,7 @@
1
+ function getBmi({ weight: weightProps, height: heightProps, }) {
2
+ const height = heightProps / 100;
3
+ const weight = weightProps;
4
+ return Math.round((weight / (height * height)) * 10) / 10;
5
+ }
6
+
7
+ export { getBmi };