@hhgtech/hhg-components 1.27.98 → 1.27.99

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 (366) hide show
  1. package/build/_topic-b21cc467.js +6897 -0
  2. package/build/babyGrowth.js +2 -2
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components/molecules/index.d.ts +2 -0
  6. package/build/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +10 -0
  7. package/build/components/molecules/premiumNewsletterBanner/context.d.ts +19 -0
  8. package/build/components/molecules/premiumNewsletterBanner/index.d.ts +10 -0
  9. package/build/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +3 -0
  10. package/build/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +10 -0
  11. package/build/components/molecules/premiumNewsletterModal/context.d.ts +36 -0
  12. package/build/components/molecules/premiumNewsletterModal/index.d.ts +17 -0
  13. package/build/components/molecules/premiumNewsletterModal/layout.d.ts +9 -0
  14. package/build/components/molecules/premiumNewsletterModal/mainForm.d.ts +2 -0
  15. package/build/components/molecules/premiumNewsletterModal/moreTopics.d.ts +2 -0
  16. package/build/components/molecules/premiumNewsletterModal/result.d.ts +2 -0
  17. package/build/components/molecules/premiumTopicSelect/_normalTopic.d.ts +10 -0
  18. package/build/components/molecules/premiumTopicSelect/_suggestedTopic.d.ts +3 -0
  19. package/build/components/molecules/premiumTopicSelect/_topic.d.ts +3 -0
  20. package/build/components/molecules/premiumTopicSelect/_topicSlide.d.ts +10 -0
  21. package/build/components/molecules/premiumTopicSelect/historySection.d.ts +8 -0
  22. package/build/components/molecules/premiumTopicSelect/index.d.ts +13 -0
  23. package/build/components/molecules/premiumTopicSelect/recentlyViewedSection.d.ts +13 -0
  24. package/build/components/molecules/premiumTopicSelect/topicSection.d.ts +27 -0
  25. package/build/components/molecules/premiumTopicSelect/trendingCarousel.d.ts +15 -0
  26. package/build/components/molecules/sideBannerModal/index.d.ts +23 -0
  27. package/build/components.js +1 -1
  28. package/build/constants.js +1 -1
  29. package/build/{core-7fb000f5.js → core-992821b1.js} +1 -1
  30. package/build/ecom.js +1 -1
  31. package/build/esm/_topic-616fda4c.js +6897 -0
  32. package/build/esm/babyGrowth.js +2 -2
  33. package/build/esm/cache.js +1 -1
  34. package/build/esm/care.js +1 -1
  35. package/build/esm/components/molecules/index.d.ts +2 -0
  36. package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +10 -0
  37. package/build/esm/components/molecules/premiumNewsletterBanner/context.d.ts +19 -0
  38. package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +10 -0
  39. package/build/esm/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +3 -0
  40. package/build/esm/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +10 -0
  41. package/build/esm/components/molecules/premiumNewsletterModal/context.d.ts +36 -0
  42. package/build/esm/components/molecules/premiumNewsletterModal/index.d.ts +17 -0
  43. package/build/esm/components/molecules/premiumNewsletterModal/layout.d.ts +9 -0
  44. package/build/esm/components/molecules/premiumNewsletterModal/mainForm.d.ts +2 -0
  45. package/build/esm/components/molecules/premiumNewsletterModal/moreTopics.d.ts +2 -0
  46. package/build/esm/components/molecules/premiumNewsletterModal/result.d.ts +2 -0
  47. package/build/esm/components/molecules/premiumTopicSelect/_normalTopic.d.ts +10 -0
  48. package/build/esm/components/molecules/premiumTopicSelect/_suggestedTopic.d.ts +3 -0
  49. package/build/esm/components/molecules/premiumTopicSelect/_topic.d.ts +3 -0
  50. package/build/esm/components/molecules/premiumTopicSelect/_topicSlide.d.ts +10 -0
  51. package/build/esm/components/molecules/premiumTopicSelect/historySection.d.ts +8 -0
  52. package/build/esm/components/molecules/premiumTopicSelect/index.d.ts +13 -0
  53. package/build/esm/components/molecules/premiumTopicSelect/recentlyViewedSection.d.ts +13 -0
  54. package/build/esm/components/molecules/premiumTopicSelect/topicSection.d.ts +27 -0
  55. package/build/esm/components/molecules/premiumTopicSelect/trendingCarousel.d.ts +15 -0
  56. package/build/esm/components/molecules/sideBannerModal/index.d.ts +23 -0
  57. package/build/esm/components.js +1 -1
  58. package/build/esm/constants.js +1 -1
  59. package/build/esm/{core-187952aa.js → core-85cc6a99.js} +1 -1
  60. package/build/esm/ecom.js +1 -1
  61. package/build/esm/footer.js +1 -1
  62. package/build/esm/gAssets.js +1 -1
  63. package/build/esm/getDynamicHealthTool-21089974.js +1 -0
  64. package/build/esm/{getSocialList-05e5f819.js → getSocialList-b3d002ba.js} +1 -1
  65. package/build/esm/hooks/index.d.ts +1 -0
  66. package/build/esm/hooks/useCategory.d.ts +14 -0
  67. package/build/esm/hooks.js +1 -1
  68. package/build/esm/i18n/translationKeys.d.ts +1 -1
  69. package/build/esm/i18n-values/en-PH.js +1 -1
  70. package/build/esm/i18n-values/hi-IN.js +1 -1
  71. package/build/esm/i18n-values/id-ID.js +1 -1
  72. package/build/esm/i18n-values/km-KH.js +1 -1
  73. package/build/esm/i18n-values/ms-MY.js +1 -1
  74. package/build/esm/i18n-values/my-MM.js +1 -1
  75. package/build/esm/i18n-values/th-TH.js +1 -1
  76. package/build/esm/i18n-values/tl-PH.js +1 -1
  77. package/build/esm/i18n-values/vi-VN.js +1 -1
  78. package/build/esm/i18n-values/vi-VN_MB.js +1 -1
  79. package/build/esm/i18n-values/zh-TW.js +1 -1
  80. package/build/esm/i18n.js +1 -1
  81. package/build/esm/i18nV2.js +1 -1
  82. package/build/esm/{index-c9cc7be1.js → index-15d7660d.js} +1 -1
  83. package/build/esm/{index-f339366f.js → index-2c0ef308.js} +1 -1
  84. package/build/esm/{index-cbaed28e.js → index-4c061256.js} +1 -1
  85. package/build/esm/{index-35490a0a.js → index-4d69e3a6.js} +2 -2
  86. package/build/esm/{index-30c165ba.js → index-4db4b3b2.js} +2 -2
  87. package/build/esm/{index-0556b3df.js → index-5968a9b1.js} +1 -1
  88. package/build/esm/index-634bfb22.js +1 -0
  89. package/build/esm/{index-71da6f92.js → index-656071c0.js} +1 -1
  90. package/build/esm/index-6f45922a.js +1 -0
  91. package/build/esm/index-6fc847b9.js +1 -0
  92. package/build/esm/{index-2344d3ad.js → index-7433ba52.js} +1 -1
  93. package/build/esm/index-8299b7e3.js +1 -0
  94. package/build/esm/index-890f07f7.js +1 -0
  95. package/build/esm/index-94b1edc9.js +1 -0
  96. package/build/esm/{index-3ed43f67.js → index-c0d7abdb.js} +1 -1
  97. package/build/esm/{index-3b17ef20.js → index-d3a5ab49.js} +1 -1
  98. package/build/esm/{index-210a893e.js → index-da6144c5.js} +1 -1
  99. package/build/esm/{index-39cce1ad.js → index-dae69259.js} +1 -1
  100. package/build/esm/{index-bfb5a151.js → index-de57ecd9.js} +1 -1
  101. package/build/esm/{index-c3121b12.js → index-fb88d784.js} +4 -4
  102. package/build/esm/index-fe39531b.js +1 -0
  103. package/build/esm/index.css +1 -1
  104. package/build/esm/index.js +1 -1
  105. package/build/esm/{index.styled-6f51ff04.js → index.styled-76288999.js} +238 -238
  106. package/build/esm/{index.styled-5ef76fb6.js → index.styled-894b40c7.js} +6 -6
  107. package/build/esm/{index.styled-59da24b1.js → index.styled-a2b780e4.js} +1 -1
  108. package/build/esm/{index.styles-6a17b45b.js → index.styles-82f67895.js} +13 -13
  109. package/build/esm/interfaces/constants/index.d.ts +1 -0
  110. package/build/esm/interfaces/healthTools.d.ts +27 -0
  111. package/build/esm/lead.js +1 -1
  112. package/build/esm/mantine.js +1 -1
  113. package/build/esm/misc.js +1 -1
  114. package/build/esm/navigation.js +1 -1
  115. package/build/esm/onboarding.js +1 -1
  116. package/build/esm/onboardingV2.js +6 -6
  117. package/build/esm/premiumNewsletter/api/paths.d.ts +9 -0
  118. package/build/esm/premiumNewsletter/interfaces/constants.d.ts +2 -0
  119. package/build/esm/premiumNewsletter/interfaces/types.d.ts +30 -0
  120. package/build/esm/pwg.js +3 -3
  121. package/build/esm/{routing-3f588609.js → routing-210e19d0.js} +1 -1
  122. package/build/esm/sso/api/paths.d.ts +3 -0
  123. package/build/esm/together/api/paths.d.ts +4 -0
  124. package/build/esm/together/api/utils.d.ts +6 -0
  125. package/build/esm/together/togetherComponentGlobalContext.d.ts +2 -0
  126. package/build/esm/together.js +1 -1
  127. package/build/esm/types-0e6afe78.js +1 -0
  128. package/build/esm/{types-18f79c15.js → types-25c3154a.js} +1 -1
  129. package/build/esm/types.js +1 -1
  130. package/build/esm/useCategory-a175adb8.js +1 -0
  131. package/build/esm/{useHealthToolCache-954db9f5.js → useHealthToolCache-d4fccf30.js} +1 -1
  132. package/build/esm/{useRafState-cff05e58.js → useRafState-85f8c6df.js} +1 -1
  133. package/build/esm/{useTranslations-9882b03a.js → useTranslations-7b0b4bfb.js} +1 -1
  134. package/build/esm/{utils-dc56aa2f.js → utils-f23fae06.js} +1 -1
  135. package/build/esm/vaccination.js +5 -5
  136. package/build/footer.js +1 -1
  137. package/build/gAssets.js +1 -1
  138. package/build/{getDynamicHealthTool-782fd9d5.js → getDynamicHealthTool-80f4de9f.js} +1 -1
  139. package/build/{getSocialList-54e928ea.js → getSocialList-71e1d219.js} +1 -1
  140. package/build/hooks/index.d.ts +1 -0
  141. package/build/hooks/useCategory.d.ts +14 -0
  142. package/build/hooks.js +1 -1
  143. package/build/i18n/translationKeys.d.ts +1 -1
  144. package/build/i18n-values/en-PH.js +1 -1
  145. package/build/i18n-values/hi-IN.js +1 -1
  146. package/build/i18n-values/id-ID.js +1 -1
  147. package/build/i18n-values/km-KH.js +1 -1
  148. package/build/i18n-values/ms-MY.js +1 -1
  149. package/build/i18n-values/my-MM.js +1 -1
  150. package/build/i18n-values/th-TH.js +1 -1
  151. package/build/i18n-values/tl-PH.js +1 -1
  152. package/build/i18n-values/vi-VN.js +1 -1
  153. package/build/i18n-values/vi-VN_MB.js +1 -1
  154. package/build/i18n-values/zh-TW.js +1 -1
  155. package/build/i18n.js +1 -1
  156. package/build/i18nV2.js +1 -1
  157. package/build/{index-de5b72ee.js → index-0ce8e0b9.js} +1 -1
  158. package/build/{index-6319021b.js → index-0dade44f.js} +1 -1
  159. package/build/{index-fd895747.js → index-2a1223e3.js} +1 -1
  160. package/build/index-2ac25800.js +1 -0
  161. package/build/{index-31779e81.js → index-3614a1ab.js} +2 -2
  162. package/build/index-4b503825.js +1 -0
  163. package/build/index-4bdc08c4.js +1 -0
  164. package/build/{index-af436848.js → index-634e6cf3.js} +1 -1
  165. package/build/{index-145299d0.js → index-66174ebd.js} +1 -1
  166. package/build/index-66a9881f.js +1 -0
  167. package/build/{index-93b92b6f.js → index-68568f2e.js} +1 -1
  168. package/build/{index-93bcb3e5.js → index-791704b6.js} +1 -1
  169. package/build/{index-ec1b532a.js → index-8d1b7346.js} +1 -1
  170. package/build/{index-0479d15b.js → index-9401241f.js} +1 -1
  171. package/build/{index-246df4a6.js → index-9ea69966.js} +2 -2
  172. package/build/{index-63b49748.js → index-b3de5132.js} +1 -1
  173. package/build/{index-911ffc15.js → index-b8f6c5c9.js} +1 -1
  174. package/build/{index-3e50bee9.js → index-d1457a44.js} +1 -1
  175. package/build/{index-0d269680.js → index-db04774b.js} +1 -1
  176. package/build/{index-34ed10b7.js → index-def3eb4f.js} +1 -1
  177. package/build/index-fe18ea3b.js +1 -0
  178. package/build/index.css +1 -1
  179. package/build/index.js +1 -1
  180. package/build/{index.styled-0309afe3.js → index.styled-402ee1f1.js} +238 -238
  181. package/build/{index.styled-fb8f60da.js → index.styled-c401faed.js} +1 -1
  182. package/build/{index.styled-4a0688a2.js → index.styled-c659adf9.js} +5 -5
  183. package/build/{index.styles-a552ab61.js → index.styles-115763fd.js} +22 -22
  184. package/build/interfaces/constants/index.d.ts +1 -0
  185. package/build/interfaces/healthTools.d.ts +27 -0
  186. package/build/lead.js +1 -1
  187. package/build/mantine.js +1 -1
  188. package/build/misc.js +1 -1
  189. package/build/navigation.js +1 -1
  190. package/build/onboarding.js +1 -1
  191. package/build/onboardingV2.js +1 -1
  192. package/build/premiumNewsletter/api/paths.d.ts +9 -0
  193. package/build/premiumNewsletter/interfaces/constants.d.ts +2 -0
  194. package/build/premiumNewsletter/interfaces/types.d.ts +30 -0
  195. package/build/pwg.js +1 -1
  196. package/build/{routing-499baa6c.js → routing-e973d1a5.js} +1 -1
  197. package/build/sso/api/paths.d.ts +3 -0
  198. package/build/together/api/paths.d.ts +4 -0
  199. package/build/together/api/utils.d.ts +6 -0
  200. package/build/together/togetherComponentGlobalContext.d.ts +2 -0
  201. package/build/together.js +1 -1
  202. package/build/{types-dd38e3cb.js → types-25b9dcb3.js} +1 -1
  203. package/build/types-64ce4439.js +1 -0
  204. package/build/types.js +1 -1
  205. package/build/useCategory-5f321f01.js +1 -0
  206. package/build/{useHealthToolCache-f00d0cc8.js → useHealthToolCache-774a87a2.js} +1 -1
  207. package/build/{useRafState-f6f6f8d3.js → useRafState-a286772a.js} +1 -1
  208. package/build/{useTranslations-c236ab74.js → useTranslations-3f02a526.js} +1 -1
  209. package/build/{utils-a550efa1.js → utils-b83c9a04.js} +1 -1
  210. package/build/vaccination.js +1 -1
  211. package/package.json +1 -1
  212. package/build/dataTransform-24bedead.js +0 -1
  213. package/build/esm/dataTransform-e8d64748.js +0 -1
  214. package/build/esm/fixedBottomAdBlock-83b64030.js +0 -1
  215. package/build/esm/getDynamicHealthTool-4b3518ba.js +0 -1
  216. package/build/esm/index-07225642.js +0 -1
  217. package/build/esm/index-12373cc2.js +0 -1
  218. package/build/esm/index-3411ef1e.js +0 -3820
  219. package/build/esm/index-4c9963db.js +0 -1
  220. package/build/esm/index-590e02cc.js +0 -1
  221. package/build/esm/index-d38342fe.js +0 -1
  222. package/build/esm/index-ff1cf893.js +0 -1
  223. package/build/esm/types-0ec3c0cc.js +0 -3078
  224. package/build/fixedBottomAdBlock-9a91ff71.js +0 -1
  225. package/build/index-0847f1e2.js +0 -1
  226. package/build/index-23aaf78a.js +0 -1
  227. package/build/index-3be097bd.js +0 -1
  228. package/build/index-49507d09.js +0 -3820
  229. package/build/index-5a831a3a.js +0 -1
  230. package/build/types-6e6d01ea.js +0 -3078
  231. /package/build/{BMI_BOYS.percentile.monthly-b29b7d25.js → BMI_BOYS.percentile.monthly-c1dbab88.js} +0 -0
  232. /package/build/{BMI_BOYS.percentile.weekly-305e75a2.js → BMI_BOYS.percentile.weekly-539f4089.js} +0 -0
  233. /package/build/{BMI_BOYS.percentile.yearly-81e652c5.js → BMI_BOYS.percentile.yearly-3d737312.js} +0 -0
  234. /package/build/{BMI_BOYS.zscore.monthly-eda3bbad.js → BMI_BOYS.zscore.monthly-8d104361.js} +0 -0
  235. /package/build/{BMI_BOYS.zscore.weekly-76c0a736.js → BMI_BOYS.zscore.weekly-7fed0e1e.js} +0 -0
  236. /package/build/{BMI_BOYS.zscore.yearly-b38a7013.js → BMI_BOYS.zscore.yearly-ada0c66a.js} +0 -0
  237. /package/build/{BMI_GIRLS.percentile.monthly-524fac60.js → BMI_GIRLS.percentile.monthly-72df6a2c.js} +0 -0
  238. /package/build/{BMI_GIRLS.percentile.weekly-b4937b23.js → BMI_GIRLS.percentile.weekly-b717b845.js} +0 -0
  239. /package/build/{BMI_GIRLS.percentile.yearly-2931b160.js → BMI_GIRLS.percentile.yearly-e2319817.js} +0 -0
  240. /package/build/{BMI_GIRLS.zscore.monthly-08095452.js → BMI_GIRLS.zscore.monthly-7b0a8452.js} +0 -0
  241. /package/build/{BMI_GIRLS.zscore.weekly-6add00a5.js → BMI_GIRLS.zscore.weekly-10fa981a.js} +0 -0
  242. /package/build/{BMI_GIRLS.zscore.yearly-4ffbc1ea.js → BMI_GIRLS.zscore.yearly-86482964.js} +0 -0
  243. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-94f9d4e1.js → HEAD CIRCUM_BOYS.percentile.monthly-c87d51e6.js} +0 -0
  244. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-55fa6aaf.js → HEAD CIRCUM_BOYS.percentile.weekly-cc1d1a22.js} +0 -0
  245. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1afc66c7.js → HEAD CIRCUM_BOYS.percentile.yearly-76cc4d8a.js} +0 -0
  246. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-dec5b6fb.js → HEAD CIRCUM_BOYS.zscore.monthly-18a9a090.js} +0 -0
  247. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0e94e407.js → HEAD CIRCUM_BOYS.zscore.weekly-312a883d.js} +0 -0
  248. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-809379e9.js → HEAD CIRCUM_BOYS.zscore.yearly-c918f331.js} +0 -0
  249. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-5f97e918.js → HEAD CIRCUM_GIRLS.percentile.monthly-0a9191d1.js} +0 -0
  250. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c003a12e.js → HEAD CIRCUM_GIRLS.percentile.weekly-18442675.js} +0 -0
  251. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6925a91b.js → HEAD CIRCUM_GIRLS.percentile.yearly-691ccbf9.js} +0 -0
  252. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e828c97e.js → HEAD CIRCUM_GIRLS.zscore.monthly-c96d67dc.js} +0 -0
  253. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-df2219b7.js → HEAD CIRCUM_GIRLS.zscore.weekly-eed0f3ee.js} +0 -0
  254. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d9f871f0.js → HEAD CIRCUM_GIRLS.zscore.yearly-2e6de873.js} +0 -0
  255. /package/build/{HEIGHT_BOYS.percentile.monthly-5b221fa5.js → HEIGHT_BOYS.percentile.monthly-b8a74983.js} +0 -0
  256. /package/build/{HEIGHT_BOYS.percentile.weekly-ec2f3579.js → HEIGHT_BOYS.percentile.weekly-944fbdd3.js} +0 -0
  257. /package/build/{HEIGHT_BOYS.percentile.yearly-1c73bf05.js → HEIGHT_BOYS.percentile.yearly-c4541aa4.js} +0 -0
  258. /package/build/{HEIGHT_BOYS.zscore.monthly-d4ea6134.js → HEIGHT_BOYS.zscore.monthly-fa19c71b.js} +0 -0
  259. /package/build/{HEIGHT_BOYS.zscore.weekly-928a3714.js → HEIGHT_BOYS.zscore.weekly-0a460484.js} +0 -0
  260. /package/build/{HEIGHT_BOYS.zscore.yearly-07b624f0.js → HEIGHT_BOYS.zscore.yearly-16dbb592.js} +0 -0
  261. /package/build/{HEIGHT_GIRLS.percentile.monthly-82357f73.js → HEIGHT_GIRLS.percentile.monthly-c3a6a864.js} +0 -0
  262. /package/build/{HEIGHT_GIRLS.percentile.weekly-145738ed.js → HEIGHT_GIRLS.percentile.weekly-05a915e9.js} +0 -0
  263. /package/build/{HEIGHT_GIRLS.percentile.yearly-26912a21.js → HEIGHT_GIRLS.percentile.yearly-9942185e.js} +0 -0
  264. /package/build/{HEIGHT_GIRLS.zscore.monthly-0ae26540.js → HEIGHT_GIRLS.zscore.monthly-011e55d1.js} +0 -0
  265. /package/build/{HEIGHT_GIRLS.zscore.weekly-ce673a65.js → HEIGHT_GIRLS.zscore.weekly-ae0032a1.js} +0 -0
  266. /package/build/{HEIGHT_GIRLS.zscore.yearly-41fd5ca1.js → HEIGHT_GIRLS.zscore.yearly-9515029f.js} +0 -0
  267. /package/build/{Onboarding-ba71adc3.js → Onboarding-cfad3b99.js} +0 -0
  268. /package/build/{Visible-354ba861.js → Visible-99c68f0f.js} +0 -0
  269. /package/build/{WEIGHT_BOYS.percentile.monthly-505120ee.js → WEIGHT_BOYS.percentile.monthly-2e0886ff.js} +0 -0
  270. /package/build/{WEIGHT_BOYS.percentile.weekly-3565b0fe.js → WEIGHT_BOYS.percentile.weekly-eaa5a8dd.js} +0 -0
  271. /package/build/{WEIGHT_BOYS.percentile.yearly-35450c1a.js → WEIGHT_BOYS.percentile.yearly-c9594485.js} +0 -0
  272. /package/build/{WEIGHT_BOYS.zscore.monthly-6c3a51bd.js → WEIGHT_BOYS.zscore.monthly-e0379a2e.js} +0 -0
  273. /package/build/{WEIGHT_BOYS.zscore.weekly-627d184d.js → WEIGHT_BOYS.zscore.weekly-f74730d3.js} +0 -0
  274. /package/build/{WEIGHT_BOYS.zscore.yearly-86ea502b.js → WEIGHT_BOYS.zscore.yearly-a0b2bc51.js} +0 -0
  275. /package/build/{WEIGHT_GIRLS.percentile.monthly-9e45cb97.js → WEIGHT_GIRLS.percentile.monthly-f24efff6.js} +0 -0
  276. /package/build/{WEIGHT_GIRLS.percentile.weekly-70f01638.js → WEIGHT_GIRLS.percentile.weekly-3ad4f689.js} +0 -0
  277. /package/build/{WEIGHT_GIRLS.percentile.yearly-ea6d829c.js → WEIGHT_GIRLS.percentile.yearly-7cf6c50e.js} +0 -0
  278. /package/build/{WEIGHT_GIRLS.zscore.monthly-895f6903.js → WEIGHT_GIRLS.zscore.monthly-e3cb6ae2.js} +0 -0
  279. /package/build/{WEIGHT_GIRLS.zscore.weekly-4314562e.js → WEIGHT_GIRLS.zscore.weekly-a1fc7740.js} +0 -0
  280. /package/build/{WEIGHT_GIRLS.zscore.yearly-cedaf71a.js → WEIGHT_GIRLS.zscore.yearly-e83afc07.js} +0 -0
  281. /package/build/{constants-1506b462.js → constants-9c242146.js} +0 -0
  282. /package/build/{cookieHelper-203db1c2.js → cookieHelper-6203f88a.js} +0 -0
  283. /package/build/{dataTransform-d21c13a7.js → dataTransform-f2bc6834.js} +0 -0
  284. /package/build/esm/{BMI_BOYS.percentile.monthly-f6ec5d22.js → BMI_BOYS.percentile.monthly-0d5ad19b.js} +0 -0
  285. /package/build/esm/{BMI_BOYS.percentile.weekly-6ab2141c.js → BMI_BOYS.percentile.weekly-13c1ca9b.js} +0 -0
  286. /package/build/esm/{BMI_BOYS.percentile.yearly-4ea5c0ef.js → BMI_BOYS.percentile.yearly-12ac07ce.js} +0 -0
  287. /package/build/esm/{BMI_BOYS.zscore.monthly-11d4d7a0.js → BMI_BOYS.zscore.monthly-e4c1507f.js} +0 -0
  288. /package/build/esm/{BMI_BOYS.zscore.weekly-74a9b9dd.js → BMI_BOYS.zscore.weekly-f4f793ea.js} +0 -0
  289. /package/build/esm/{BMI_BOYS.zscore.yearly-7f895cc8.js → BMI_BOYS.zscore.yearly-8119ce03.js} +0 -0
  290. /package/build/esm/{BMI_GIRLS.percentile.monthly-6ac9c53a.js → BMI_GIRLS.percentile.monthly-acca1a4a.js} +0 -0
  291. /package/build/esm/{BMI_GIRLS.percentile.weekly-4578e686.js → BMI_GIRLS.percentile.weekly-5ef50131.js} +0 -0
  292. /package/build/esm/{BMI_GIRLS.percentile.yearly-c02b901c.js → BMI_GIRLS.percentile.yearly-1443032d.js} +0 -0
  293. /package/build/esm/{BMI_GIRLS.zscore.monthly-33620eb8.js → BMI_GIRLS.zscore.monthly-1bf65223.js} +0 -0
  294. /package/build/esm/{BMI_GIRLS.zscore.weekly-7de9ce2e.js → BMI_GIRLS.zscore.weekly-801084c2.js} +0 -0
  295. /package/build/esm/{BMI_GIRLS.zscore.yearly-189ebddf.js → BMI_GIRLS.zscore.yearly-9115acc9.js} +0 -0
  296. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c9939d53.js → HEAD CIRCUM_BOYS.percentile.monthly-1bf37859.js} +0 -0
  297. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c01450ec.js → HEAD CIRCUM_BOYS.percentile.weekly-e7738c0f.js} +0 -0
  298. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-63e161ca.js → HEAD CIRCUM_BOYS.percentile.yearly-a3fc108f.js} +0 -0
  299. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ef0f25f1.js → HEAD CIRCUM_BOYS.zscore.monthly-e6407117.js} +0 -0
  300. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-e9967927.js → HEAD CIRCUM_BOYS.zscore.weekly-feee7729.js} +0 -0
  301. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1c9f2bd1.js → HEAD CIRCUM_BOYS.zscore.yearly-d6a14c6b.js} +0 -0
  302. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-5a0d2846.js → HEAD CIRCUM_GIRLS.percentile.monthly-7730cf69.js} +0 -0
  303. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0e08eee3.js → HEAD CIRCUM_GIRLS.percentile.weekly-818f5e5c.js} +0 -0
  304. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8c2c00f0.js → HEAD CIRCUM_GIRLS.percentile.yearly-e2fdd121.js} +0 -0
  305. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-29ef0b07.js → HEAD CIRCUM_GIRLS.zscore.monthly-646e4faf.js} +0 -0
  306. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-248696b8.js → HEAD CIRCUM_GIRLS.zscore.weekly-56af23ba.js} +0 -0
  307. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b91b431f.js → HEAD CIRCUM_GIRLS.zscore.yearly-078974f7.js} +0 -0
  308. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1b553b9e.js → HEIGHT_BOYS.percentile.monthly-bee990fa.js} +0 -0
  309. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8b209bc6.js → HEIGHT_BOYS.percentile.weekly-aac39bfa.js} +0 -0
  310. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-cfa159e3.js → HEIGHT_BOYS.percentile.yearly-32b4134f.js} +0 -0
  311. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-8c083cd1.js → HEIGHT_BOYS.zscore.monthly-5778778e.js} +0 -0
  312. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4652d599.js → HEIGHT_BOYS.zscore.weekly-83a94045.js} +0 -0
  313. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4afbfbe2.js → HEIGHT_BOYS.zscore.yearly-de0adda9.js} +0 -0
  314. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1934b785.js → HEIGHT_GIRLS.percentile.monthly-5837e957.js} +0 -0
  315. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-eb1c046d.js → HEIGHT_GIRLS.percentile.weekly-1b5acb53.js} +0 -0
  316. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-49116442.js → HEIGHT_GIRLS.percentile.yearly-6e9c04aa.js} +0 -0
  317. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-530eaaea.js → HEIGHT_GIRLS.zscore.monthly-a67d2e19.js} +0 -0
  318. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-6d36ad4b.js → HEIGHT_GIRLS.zscore.weekly-4e941b69.js} +0 -0
  319. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9f6bf4c5.js → HEIGHT_GIRLS.zscore.yearly-99bedd54.js} +0 -0
  320. /package/build/esm/{Onboarding-281862b8.js → Onboarding-c0cfac18.js} +0 -0
  321. /package/build/esm/{Visible-79002b2e.js → Visible-c2e42d8a.js} +0 -0
  322. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ce064184.js → WEIGHT_BOYS.percentile.monthly-6037d7a8.js} +0 -0
  323. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e313ef04.js → WEIGHT_BOYS.percentile.weekly-c15e5fe8.js} +0 -0
  324. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f72c9207.js → WEIGHT_BOYS.percentile.yearly-28119750.js} +0 -0
  325. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-73375ec8.js → WEIGHT_BOYS.zscore.monthly-70f9cb8e.js} +0 -0
  326. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-3f1c9e1a.js → WEIGHT_BOYS.zscore.weekly-b51300d2.js} +0 -0
  327. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-baa65e16.js → WEIGHT_BOYS.zscore.yearly-94939ebc.js} +0 -0
  328. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-51f563ac.js → WEIGHT_GIRLS.percentile.monthly-03bc9790.js} +0 -0
  329. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-18abae85.js → WEIGHT_GIRLS.percentile.weekly-0edda13d.js} +0 -0
  330. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8d9957c8.js → WEIGHT_GIRLS.percentile.yearly-135c174a.js} +0 -0
  331. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b4eab87f.js → WEIGHT_GIRLS.zscore.monthly-6e2701b0.js} +0 -0
  332. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-50dbc44f.js → WEIGHT_GIRLS.zscore.weekly-b32a18db.js} +0 -0
  333. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d21a7799.js → WEIGHT_GIRLS.zscore.yearly-c8f8b146.js} +0 -0
  334. /package/build/esm/{constants-015643bc.js → constants-92019619.js} +0 -0
  335. /package/build/esm/{cookieHelper-329ff362.js → cookieHelper-4e12ad4b.js} +0 -0
  336. /package/build/esm/{dataTransform-cc7e9e82.js → dataTransform-e5408977.js} +0 -0
  337. /package/build/esm/{index-73927836.js → index-7a0ab473.js} +0 -0
  338. /package/build/esm/{isProduction-cd379466.js → isProduction-b2d88eb1.js} +0 -0
  339. /package/build/esm/{localizeNumberFormat-2f80cedc.js → localizeNumberFormat-ea835d1b.js} +0 -0
  340. /package/build/esm/{normalizeLink-6e8953be.js → normalizeLink-3bc92ac0.js} +0 -0
  341. /package/build/esm/{number-6cd7cd8e.js → number-9f092e4b.js} +0 -0
  342. /package/build/esm/{paths-54287a83.js → paths-24013383.js} +0 -0
  343. /package/build/esm/{screenSizeContext-b0b4af70.js → screenSizeContext-4855603d.js} +0 -0
  344. /package/build/esm/{theme-054cfe5e.js → theme-05390e1a.js} +0 -0
  345. /package/build/esm/{translationsContext-b47c4665.js → translationsContext-9d561788.js} +0 -0
  346. /package/build/esm/{tslib.es6-d74bc98c.js → tslib.es6-a59ac7f2.js} +0 -0
  347. /package/build/esm/{types-cb822d75.js → types-f88531b2.js} +0 -0
  348. /package/build/esm/{useIsInit-eac04318.js → useIsInit-5ace6ff2.js} +0 -0
  349. /package/build/esm/{useOutsideClick-e85b99fd.js → useOutsideClick-b2f40fe8.js} +0 -0
  350. /package/build/esm/{useScrollbarSize-76c280fd.js → useScrollbarSize-c8dc6432.js} +0 -0
  351. /package/build/esm/{useUniqueId-2fd9d44b.js → useUniqueId-6cb9ddef.js} +0 -0
  352. /package/build/{index-d7610fbd.js → index-6b40de15.js} +0 -0
  353. /package/build/{isProduction-0b37ac3b.js → isProduction-b32e7dc2.js} +0 -0
  354. /package/build/{localizeNumberFormat-5afc54fc.js → localizeNumberFormat-7bc188f6.js} +0 -0
  355. /package/build/{normalizeLink-102f5871.js → normalizeLink-5e6d567b.js} +0 -0
  356. /package/build/{number-799bbd0f.js → number-311438cc.js} +0 -0
  357. /package/build/{paths-a8f7657b.js → paths-8700fdcd.js} +0 -0
  358. /package/build/{screenSizeContext-6a5a4c05.js → screenSizeContext-19c4826a.js} +0 -0
  359. /package/build/{theme-e648ff92.js → theme-30b54bf9.js} +0 -0
  360. /package/build/{translationsContext-6717baca.js → translationsContext-1ff6fee5.js} +0 -0
  361. /package/build/{tslib.es6-705eff5c.js → tslib.es6-b6b32e47.js} +0 -0
  362. /package/build/{types-e93fdd24.js → types-af3ec16f.js} +0 -0
  363. /package/build/{useIsInit-e2c5804b.js → useIsInit-3403ada4.js} +0 -0
  364. /package/build/{useOutsideClick-05b182eb.js → useOutsideClick-6917a729.js} +0 -0
  365. /package/build/{useScrollbarSize-06f015e4.js → useScrollbarSize-45efedb6.js} +0 -0
  366. /package/build/{useUniqueId-c0ab995a.js → useUniqueId-b9c05ea1.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{D as e}from"./index-210a893e.js";export{B as BabyGrowthGender}from"./index-210a893e.js";import t,{useMemo as r,useRef as l,useState as o,useEffect as a}from"react";import{L as i,G as n,B as c,a as s}from"./Onboarding-281862b8.js";import{t as d}from"./theme-054cfe5e.js";import{T as m}from"./index-3b17ef20.js";import C from"styled-components";import{B as p}from"./index-39cce1ad.js";import{I as h}from"./index-30c165ba.js";import{M as y}from"./index-12373cc2.js";import{h as g,n as u}from"./screenSizeContext-b0b4af70.js";import b from"dayjs";import{u as f}from"./useTranslations-9882b03a.js";import"lodash/debounce";import"./isProduction-cd379466.js";import"./index-0556b3df.js";import{a as E,l as x}from"./localizeNumberFormat-2f80cedc.js";import{H as w}from"./index.styles-6a17b45b.js";import{_ as v,a as L}from"./tslib.es6-d74bc98c.js";import{C as M}from"./index-c3121b12.js";import"./gAssets.js";import"@mantine/core";import"@mantine/dates";import"@mantine/hooks";import{a as k}from"./useOutsideClick-e85b99fd.js";import{M as H}from"./index-c9cc7be1.js";import{I}from"./index-bfb5a151.js";import{ResponsiveContainer as j,LineChart as S,CartesianGrid as G,Tooltip as R,XAxis as z,YAxis as Z,Line as _,ReferenceDot as N}from"recharts";import V from"lodash/chunk";import"./useUniqueId-2fd9d44b.js";import"lodash/throttle";import"./translationsContext-b47c4665.js";import"string-format";import"date-fns/locale";import"react-keyed-flatten-children";import"@mantine/carousel";import"./cookieHelper-329ff362.js";import"slugify";import"./useScrollbarSize-76c280fd.js";import"react-dom";const T=C.div`
1
+ import{D as e}from"./index-da6144c5.js";export{B as BabyGrowthGender}from"./index-da6144c5.js";import t,{useMemo as r,useRef as l,useState as o,useEffect as a}from"react";import{L as i,G as n,B as c,a as s}from"./Onboarding-c0cfac18.js";import{t as d}from"./theme-05390e1a.js";import{T as m}from"./index-d3a5ab49.js";import C from"styled-components";import{B as p}from"./index-dae69259.js";import{I as h}from"./index-4db4b3b2.js";import{M as y}from"./index-634bfb22.js";import{h as g,n as u}from"./screenSizeContext-4855603d.js";import b from"dayjs";import{u as f}from"./useTranslations-7b0b4bfb.js";import"lodash/debounce";import"./isProduction-b2d88eb1.js";import"./index-5968a9b1.js";import"./useCategory-a175adb8.js";import{a as E,l as x}from"./localizeNumberFormat-ea835d1b.js";import{H as w}from"./index.styles-82f67895.js";import{_ as v,a as L}from"./tslib.es6-a59ac7f2.js";import{C as M}from"./index-fb88d784.js";import"./gAssets.js";import"@mantine/core";import"@mantine/dates";import"@mantine/hooks";import{a as k}from"./useOutsideClick-b2f40fe8.js";import{M as H}from"./index-15d7660d.js";import{I}from"./index-de57ecd9.js";import{ResponsiveContainer as j,LineChart as S,CartesianGrid as G,Tooltip as R,XAxis as z,YAxis as Z,Line as _,ReferenceDot as N}from"recharts";import V from"lodash/chunk";import"./useUniqueId-6cb9ddef.js";import"lodash/throttle";import"./translationsContext-9d561788.js";import"string-format";import"date-fns/locale";import"react-keyed-flatten-children";import"@mantine/carousel";import"./cookieHelper-4e12ad4b.js";import"slugify";import"./useScrollbarSize-c8dc6432.js";import"react-dom";const T=C.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  gap: 16px;
@@ -381,7 +381,7 @@ import{D as e}from"./index-210a893e.js";export{B as BabyGrowthGender}from"./inde
381
381
  }
382
382
  }
383
383
  }
384
- `,he=({isActive:e,onChange:r,value:l="",onInputChange:o,siteType:a})=>{const{t:i}=f(),n="marryBaby"===a;return t.createElement(pe,{onClick:()=>r("new"),"data-is-mb":n,"data-isActive":n&&e},"marryBaby"===a?t.createElement("div",{className:"title"},t.createElement(y,{type:"bodytext-1",color:d.colors.gray800},i("chooseBaby.new")),t.createElement("div",{className:e?"radio active":"radio"},e&&t.createElement(h.CheckActiveMB,{size:26}))):t.createElement("div",{className:"title"},t.createElement(m,{size:"p2",color:d.colors.gray800},i("chooseBaby.new")),t.createElement("div",{className:e?"radio active":"radio"})),t.createElement(I,{name:"name",value:l,size:"md",placeholder:i("chooseBaby.placeholder"),type:"text",onChange:o}))},ye=e=>{var r,l,{babyProfiles:a,currentProfileId:i,onClose:n,onCreate:c,onAddMeasurement:s,onSwitchProfile:C,open:h,isMobile:g,isMyProfile:u=!1,buttonGroup:b,newBabyValue:E,onNewBabyValueChange:x,siteType:w,buttonText:L,headerText:M}=e,k=v(e,["babyProfiles","currentProfileId","onClose","onCreate","onAddMeasurement","onSwitchProfile","open","isMobile","isMyProfile","buttonGroup","newBabyValue","onNewBabyValueChange","siteType","buttonText","headerText"]);const B=e=>u?t.createElement(t.Fragment,null,t.createElement(p,{theme:w,onClick:()=>{null==c||c(),n()},size:"lg",color:"secondary",icon:t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.5 9.75H9.75V13.5C9.75 13.9125 9.4125 14.25 9 14.25C8.5875 14.25 8.25 13.9125 8.25 13.5V9.75H4.5C4.0875 9.75 3.75 9.4125 3.75 9C3.75 8.5875 4.0875 8.25 4.5 8.25H8.25V4.5C8.25 4.0875 8.5875 3.75 9 3.75C9.4125 3.75 9.75 4.0875 9.75 4.5V8.25H13.5C13.9125 8.25 14.25 8.5875 14.25 9C14.25 9.4125 13.9125 9.75 13.5 9.75Z",fill:"#2D87F3"}))},j("babyGrowth.drawer.createBaby")),t.createElement(p,{theme:w,size:"lg",color:"primary",onClick:()=>{null==e||e(),u?null==C||C(H):null==s||s(H),n()}},j(u?"babyGrowth.drawer.switchProfile":"babyGrowth.drawer.addMeasurement"))):t.createElement(p,{theme:w,size:"lg",color:"primary",onClick:()=>{null==s||s(H),null==e||e(),n()}},L||j("chooseBaby.button")),[H,I]=o(String(i)||String(null===(r=a[0])||void 0===r?void 0:r.id)),{t:j}=f();return g?t.createElement(de,Object.assign({title:M||"Baby profiles",onClose:n,open:h,placement:"bottom"},k),(({internalClose:e})=>{var r;return t.createElement("div",{className:"add-profile-container"},t.createElement("div",{className:"profile-container"},null===(r=a||[])||void 0===r?void 0:r.map((e=>t.createElement(J,{siteType:w,key:e.id,profile:e,isActive:H===String(e.id),onChange:I}))),!u&&t.createElement(he,{siteType:w,value:E,onInputChange:x,isActive:"new"===H,onChange:I})),t.createElement("div",{className:"button-group"},b||B(e)))})):t.createElement(me,{type:"confirm",isOpen:h,onClose:n,siteType:w},t.createElement("div",{className:"header"},t.createElement("div",{className:"title"},"marryBaby"===w?t.createElement(y,{type:"subtitle-1",color:d.mbColors.dark},j("chooseBaby.title")):t.createElement(m,{size:"s2",type:"semiBold"},M||j("chooseBaby.title")),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:n},t.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),t.createElement("div",{className:"profile-container"},null===(l=a||[])||void 0===l?void 0:l.map((e=>t.createElement(J,{key:e.id,profile:e,isActive:H===String(e.id),onChange:I,siteType:w}))),!u&&t.createElement(he,{value:E,onInputChange:x,isActive:"new"===H,onChange:I,siteType:w})),t.createElement("div",{className:"button-group"},b||B()))},ge={[n.Boy]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_BOYS.percentile.weekly-e313ef04.js"),[s.Monthly]:()=>import("./WEIGHT_BOYS.percentile.monthly-ce064184.js"),[s.Yearly]:()=>import("./WEIGHT_BOYS.percentile.yearly-f72c9207.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_BOYS.percentile.weekly-8b209bc6.js"),[s.Monthly]:()=>import("./HEIGHT_BOYS.percentile.monthly-1b553b9e.js"),[s.Yearly]:()=>import("./HEIGHT_BOYS.percentile.yearly-cfa159e3.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_BOYS.percentile.weekly-c01450ec.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_BOYS.percentile.monthly-c9939d53.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_BOYS.percentile.yearly-63e161ca.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_BOYS.percentile.weekly-6ab2141c.js"),[s.Monthly]:()=>import("./BMI_BOYS.percentile.monthly-f6ec5d22.js"),[s.Yearly]:()=>import("./BMI_BOYS.percentile.yearly-4ea5c0ef.js")}},[n.Girl]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_GIRLS.percentile.weekly-18abae85.js"),[s.Monthly]:()=>import("./WEIGHT_GIRLS.percentile.monthly-51f563ac.js"),[s.Yearly]:()=>import("./WEIGHT_GIRLS.percentile.yearly-8d9957c8.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_GIRLS.percentile.weekly-eb1c046d.js"),[s.Monthly]:()=>import("./HEIGHT_GIRLS.percentile.monthly-1934b785.js"),[s.Yearly]:()=>import("./HEIGHT_GIRLS.percentile.yearly-49116442.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.weekly-0e08eee3.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.monthly-5a0d2846.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.yearly-8c2c00f0.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_GIRLS.percentile.weekly-4578e686.js"),[s.Monthly]:()=>import("./BMI_GIRLS.percentile.monthly-6ac9c53a.js"),[s.Yearly]:()=>import("./BMI_GIRLS.percentile.yearly-c02b901c.js")}}},ue={[n.Boy]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_BOYS.zscore.weekly-3f1c9e1a.js"),[s.Monthly]:()=>import("./WEIGHT_BOYS.zscore.monthly-73375ec8.js"),[s.Yearly]:()=>import("./WEIGHT_BOYS.zscore.yearly-baa65e16.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_BOYS.zscore.weekly-4652d599.js"),[s.Monthly]:()=>import("./HEIGHT_BOYS.zscore.monthly-8c083cd1.js"),[s.Yearly]:()=>import("./HEIGHT_BOYS.zscore.yearly-4afbfbe2.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_BOYS.zscore.weekly-e9967927.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_BOYS.zscore.monthly-ef0f25f1.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_BOYS.zscore.yearly-1c9f2bd1.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_BOYS.zscore.weekly-74a9b9dd.js"),[s.Monthly]:()=>import("./BMI_BOYS.zscore.monthly-11d4d7a0.js"),[s.Yearly]:()=>import("./BMI_BOYS.zscore.yearly-7f895cc8.js")}},[n.Girl]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_GIRLS.zscore.weekly-50dbc44f.js"),[s.Monthly]:()=>import("./WEIGHT_GIRLS.zscore.monthly-b4eab87f.js"),[s.Yearly]:()=>import("./WEIGHT_GIRLS.zscore.yearly-d21a7799.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_GIRLS.zscore.weekly-6d36ad4b.js"),[s.Monthly]:()=>import("./HEIGHT_GIRLS.zscore.monthly-530eaaea.js"),[s.Yearly]:()=>import("./HEIGHT_GIRLS.zscore.yearly-9f6bf4c5.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.weekly-248696b8.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.monthly-29ef0b07.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.yearly-b91b431f.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_GIRLS.zscore.weekly-7de9ce2e.js"),[s.Monthly]:()=>import("./BMI_GIRLS.zscore.monthly-33620eb8.js"),[s.Yearly]:()=>import("./BMI_GIRLS.zscore.yearly-189ebddf.js")}}},be=(e,t,r,l,o)=>{const a=e.slice(t-1,r);let[i,n]=[a[0][l],a[0][l]];return a.forEach((e=>{e[l]>n&&(n=e[l]),e[l]<i&&(i=e[l])})),[(0|i)-o,(0|n)+o]},fe=(e,t,r,l)=>l===i.Indonesia?ue[e][t][r]():ge[e][t][r](),Ee=(e,t)=>{const[r,l]=V(t,Math.ceil(t.length/2)),o=r.map((e=>e.name)),a=l.map((e=>e.name));return o.includes(e)?{data:r,status:"first-half"}:a.includes(e)?{data:l,status:"second-half"}:{data:t,status:"full"}},xe=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),we=(e,t,r,l,o)=>[...e,{name:l,history:o,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),ve=(e,t=0)=>{const r=[];for(const l in e){e[l].forEach(((e,o)=>{r[o]?r[o][l]=e:r[o]={name:o+t,[l]:e}}))}return r},Le=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),Me=()=>{var e;const t=null===(e=document.getElementsByClassName("recharts-cartesian-grid-vertical"))||void 0===e?void 0:e[0];if(console.log(t),!t)return;const r=t.getElementsByTagName("line");for(let e=0;e<r.length;e++){if(e%2!=0){const l=r[e],o=r[e+1],a=l.getAttribute("x1"),i=l.getAttribute("y"),n=l.getAttribute("height"),c=l.getAttribute("x1"),s=o.getAttribute("x1");console.log({oddLine:l,nextLine:o});const m=document.createElementNS("http://www.w3.org/1999/xhtml","rect");m.setAttribute("stroke",d.colors.primary50),m.setAttribute("fill",d.colors.primary50),m.setAttribute("x",a),m.setAttribute("y",i),m.setAttribute("height",n),m.setAttribute("width",String(Number(s)-Number(c))),t.appendChild(l),t.appendChild(m)}else t.appendChild(r[e]);console.log(t)}},ke=C.div`
384
+ `,he=({isActive:e,onChange:r,value:l="",onInputChange:o,siteType:a})=>{const{t:i}=f(),n="marryBaby"===a;return t.createElement(pe,{onClick:()=>r("new"),"data-is-mb":n,"data-isActive":n&&e},"marryBaby"===a?t.createElement("div",{className:"title"},t.createElement(y,{type:"bodytext-1",color:d.colors.gray800},i("chooseBaby.new")),t.createElement("div",{className:e?"radio active":"radio"},e&&t.createElement(h.CheckActiveMB,{size:26}))):t.createElement("div",{className:"title"},t.createElement(m,{size:"p2",color:d.colors.gray800},i("chooseBaby.new")),t.createElement("div",{className:e?"radio active":"radio"})),t.createElement(I,{name:"name",value:l,size:"md",placeholder:i("chooseBaby.placeholder"),type:"text",onChange:o}))},ye=e=>{var r,l,{babyProfiles:a,currentProfileId:i,onClose:n,onCreate:c,onAddMeasurement:s,onSwitchProfile:C,open:h,isMobile:g,isMyProfile:u=!1,buttonGroup:b,newBabyValue:E,onNewBabyValueChange:x,siteType:w,buttonText:L,headerText:M}=e,k=v(e,["babyProfiles","currentProfileId","onClose","onCreate","onAddMeasurement","onSwitchProfile","open","isMobile","isMyProfile","buttonGroup","newBabyValue","onNewBabyValueChange","siteType","buttonText","headerText"]);const B=e=>u?t.createElement(t.Fragment,null,t.createElement(p,{theme:w,onClick:()=>{null==c||c(),n()},size:"lg",color:"secondary",icon:t.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M13.5 9.75H9.75V13.5C9.75 13.9125 9.4125 14.25 9 14.25C8.5875 14.25 8.25 13.9125 8.25 13.5V9.75H4.5C4.0875 9.75 3.75 9.4125 3.75 9C3.75 8.5875 4.0875 8.25 4.5 8.25H8.25V4.5C8.25 4.0875 8.5875 3.75 9 3.75C9.4125 3.75 9.75 4.0875 9.75 4.5V8.25H13.5C13.9125 8.25 14.25 8.5875 14.25 9C14.25 9.4125 13.9125 9.75 13.5 9.75Z",fill:"#2D87F3"}))},j("babyGrowth.drawer.createBaby")),t.createElement(p,{theme:w,size:"lg",color:"primary",onClick:()=>{null==e||e(),u?null==C||C(H):null==s||s(H),n()}},j(u?"babyGrowth.drawer.switchProfile":"babyGrowth.drawer.addMeasurement"))):t.createElement(p,{theme:w,size:"lg",color:"primary",onClick:()=>{null==s||s(H),null==e||e(),n()}},L||j("chooseBaby.button")),[H,I]=o(String(i)||String(null===(r=a[0])||void 0===r?void 0:r.id)),{t:j}=f();return g?t.createElement(de,Object.assign({title:M||"Baby profiles",onClose:n,open:h,placement:"bottom"},k),(({internalClose:e})=>{var r;return t.createElement("div",{className:"add-profile-container"},t.createElement("div",{className:"profile-container"},null===(r=a||[])||void 0===r?void 0:r.map((e=>t.createElement(J,{siteType:w,key:e.id,profile:e,isActive:H===String(e.id),onChange:I}))),!u&&t.createElement(he,{siteType:w,value:E,onInputChange:x,isActive:"new"===H,onChange:I})),t.createElement("div",{className:"button-group"},b||B(e)))})):t.createElement(me,{type:"confirm",isOpen:h,onClose:n,siteType:w},t.createElement("div",{className:"header"},t.createElement("div",{className:"title"},"marryBaby"===w?t.createElement(y,{type:"subtitle-1",color:d.mbColors.dark},j("chooseBaby.title")):t.createElement(m,{size:"s2",type:"semiBold"},M||j("chooseBaby.title")),t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:n},t.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"})))),t.createElement("div",{className:"profile-container"},null===(l=a||[])||void 0===l?void 0:l.map((e=>t.createElement(J,{key:e.id,profile:e,isActive:H===String(e.id),onChange:I,siteType:w}))),!u&&t.createElement(he,{value:E,onInputChange:x,isActive:"new"===H,onChange:I,siteType:w})),t.createElement("div",{className:"button-group"},b||B()))},ge={[n.Boy]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_BOYS.percentile.weekly-c15e5fe8.js"),[s.Monthly]:()=>import("./WEIGHT_BOYS.percentile.monthly-6037d7a8.js"),[s.Yearly]:()=>import("./WEIGHT_BOYS.percentile.yearly-28119750.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_BOYS.percentile.weekly-aac39bfa.js"),[s.Monthly]:()=>import("./HEIGHT_BOYS.percentile.monthly-bee990fa.js"),[s.Yearly]:()=>import("./HEIGHT_BOYS.percentile.yearly-32b4134f.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_BOYS.percentile.weekly-e7738c0f.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_BOYS.percentile.monthly-1bf37859.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_BOYS.percentile.yearly-a3fc108f.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_BOYS.percentile.weekly-13c1ca9b.js"),[s.Monthly]:()=>import("./BMI_BOYS.percentile.monthly-0d5ad19b.js"),[s.Yearly]:()=>import("./BMI_BOYS.percentile.yearly-12ac07ce.js")}},[n.Girl]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_GIRLS.percentile.weekly-0edda13d.js"),[s.Monthly]:()=>import("./WEIGHT_GIRLS.percentile.monthly-03bc9790.js"),[s.Yearly]:()=>import("./WEIGHT_GIRLS.percentile.yearly-135c174a.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_GIRLS.percentile.weekly-1b5acb53.js"),[s.Monthly]:()=>import("./HEIGHT_GIRLS.percentile.monthly-5837e957.js"),[s.Yearly]:()=>import("./HEIGHT_GIRLS.percentile.yearly-6e9c04aa.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.weekly-818f5e5c.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.monthly-7730cf69.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.percentile.yearly-e2fdd121.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_GIRLS.percentile.weekly-5ef50131.js"),[s.Monthly]:()=>import("./BMI_GIRLS.percentile.monthly-acca1a4a.js"),[s.Yearly]:()=>import("./BMI_GIRLS.percentile.yearly-1443032d.js")}}},ue={[n.Boy]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_BOYS.zscore.weekly-b51300d2.js"),[s.Monthly]:()=>import("./WEIGHT_BOYS.zscore.monthly-70f9cb8e.js"),[s.Yearly]:()=>import("./WEIGHT_BOYS.zscore.yearly-94939ebc.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_BOYS.zscore.weekly-83a94045.js"),[s.Monthly]:()=>import("./HEIGHT_BOYS.zscore.monthly-5778778e.js"),[s.Yearly]:()=>import("./HEIGHT_BOYS.zscore.yearly-de0adda9.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_BOYS.zscore.weekly-feee7729.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_BOYS.zscore.monthly-e6407117.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_BOYS.zscore.yearly-d6a14c6b.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_BOYS.zscore.weekly-f4f793ea.js"),[s.Monthly]:()=>import("./BMI_BOYS.zscore.monthly-e4c1507f.js"),[s.Yearly]:()=>import("./BMI_BOYS.zscore.yearly-8119ce03.js")}},[n.Girl]:{[c.Weight]:{[s.Weekly]:()=>import("./WEIGHT_GIRLS.zscore.weekly-b32a18db.js"),[s.Monthly]:()=>import("./WEIGHT_GIRLS.zscore.monthly-6e2701b0.js"),[s.Yearly]:()=>import("./WEIGHT_GIRLS.zscore.yearly-c8f8b146.js")},[c.Height]:{[s.Weekly]:()=>import("./HEIGHT_GIRLS.zscore.weekly-4e941b69.js"),[s.Monthly]:()=>import("./HEIGHT_GIRLS.zscore.monthly-a67d2e19.js"),[s.Yearly]:()=>import("./HEIGHT_GIRLS.zscore.yearly-99bedd54.js")},[c.Head]:{[s.Weekly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.weekly-56af23ba.js"),[s.Monthly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.monthly-646e4faf.js"),[s.Yearly]:()=>import("./HEAD CIRCUM_GIRLS.zscore.yearly-078974f7.js")},[c.BMI]:{[s.Weekly]:()=>import("./BMI_GIRLS.zscore.weekly-801084c2.js"),[s.Monthly]:()=>import("./BMI_GIRLS.zscore.monthly-1bf65223.js"),[s.Yearly]:()=>import("./BMI_GIRLS.zscore.yearly-9115acc9.js")}}},be=(e,t,r,l,o)=>{const a=e.slice(t-1,r);let[i,n]=[a[0][l],a[0][l]];return a.forEach((e=>{e[l]>n&&(n=e[l]),e[l]<i&&(i=e[l])})),[(0|i)-o,(0|n)+o]},fe=(e,t,r,l)=>l===i.Indonesia?ue[e][t][r]():ge[e][t][r](),Ee=(e,t)=>{const[r,l]=V(t,Math.ceil(t.length/2)),o=r.map((e=>e.name)),a=l.map((e=>e.name));return o.includes(e)?{data:r,status:"first-half"}:a.includes(e)?{data:l,status:"second-half"}:{data:t,status:"full"}},xe=(e,t)=>[...e,...t.map((e=>({name:e.name,history:e.history,risk:e.risk,toolTipLabel:e.toolTipLabel})))].sort(((e,t)=>e.name-t.name)),we=(e,t,r,l,o)=>[...e,{name:l,history:o,risk:t,toolTipLabel:r}].sort(((e,t)=>e.name-t.name)),ve=(e,t=0)=>{const r=[];for(const l in e){e[l].forEach(((e,o)=>{r[o]?r[o][l]=e:r[o]={name:o+t,[l]:e}}))}return r},Le=(e,t=0)=>Array.from({length:e-t+1},((e,r)=>r+t)),Me=()=>{var e;const t=null===(e=document.getElementsByClassName("recharts-cartesian-grid-vertical"))||void 0===e?void 0:e[0];if(console.log(t),!t)return;const r=t.getElementsByTagName("line");for(let e=0;e<r.length;e++){if(e%2!=0){const l=r[e],o=r[e+1],a=l.getAttribute("x1"),i=l.getAttribute("y"),n=l.getAttribute("height"),c=l.getAttribute("x1"),s=o.getAttribute("x1");console.log({oddLine:l,nextLine:o});const m=document.createElementNS("http://www.w3.org/1999/xhtml","rect");m.setAttribute("stroke",d.colors.primary50),m.setAttribute("fill",d.colors.primary50),m.setAttribute("x",a),m.setAttribute("y",i),m.setAttribute("height",n),m.setAttribute("width",String(Number(s)-Number(c))),t.appendChild(l),t.appendChild(m)}else t.appendChild(r[e]);console.log(t)}},ke=C.div`
385
385
  position: relative;
386
386
  .custom-chart-label {
387
387
  display: flex;
@@ -1 +1 @@
1
- export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-187952aa.js";import"./tslib.es6-d74bc98c.js";import"./isProduction-cd379466.js";
1
+ export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-85cc6a99.js";import"./tslib.es6-a59ac7f2.js";import"./isProduction-b2d88eb1.js";
package/build/esm/care.js CHANGED
@@ -1 +1 @@
1
- export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes}from"./types-18f79c15.js";export{c as CareConstants}from"./constants-015643bc.js";import"./tslib.es6-d74bc98c.js";import"react";import"./useTranslations-9882b03a.js";import"./translationsContext-b47c4665.js";import"string-format";import"lodash/debounce";import"./index-bfb5a151.js";import"@mantine/core";import"./index-30c165ba.js";import"./screenSizeContext-b0b4af70.js";import"styled-components";import"lodash/throttle";import"./theme-054cfe5e.js";import"dayjs";import"./index-0556b3df.js";import"date-fns/locale";import"./Onboarding-281862b8.js";import"./isProduction-cd379466.js";import"./gAssets.js";import"./useUniqueId-2fd9d44b.js";import"./index-3b17ef20.js";import"react-loading-skeleton";import"lodash/shuffle";import"./useOutsideClick-e85b99fd.js";import"./paths-54287a83.js";import"./cookieHelper-329ff362.js";
1
+ export{B as BookingSearchBar,a as BookingSearchBarV2,t as CareTypes}from"./types-25c3154a.js";export{c as CareConstants}from"./constants-92019619.js";import"./tslib.es6-a59ac7f2.js";import"react";import"./useTranslations-7b0b4bfb.js";import"./translationsContext-9d561788.js";import"string-format";import"lodash/debounce";import"./index-de57ecd9.js";import"@mantine/core";import"./index-4db4b3b2.js";import"./screenSizeContext-4855603d.js";import"styled-components";import"lodash/throttle";import"./theme-05390e1a.js";import"dayjs";import"./index-5968a9b1.js";import"date-fns/locale";import"./Onboarding-c0cfac18.js";import"./isProduction-b2d88eb1.js";import"./gAssets.js";import"./useUniqueId-6cb9ddef.js";import"./index-d3a5ab49.js";import"react-loading-skeleton";import"lodash/shuffle";import"./useOutsideClick-b2f40fe8.js";import"./paths-24013383.js";import"./cookieHelper-4e12ad4b.js";
@@ -58,3 +58,5 @@ export { FixedBottomAdBlock } from './adBlock/fixedBottomAdBlock';
58
58
  export type { Props as FixedBottomAdBlockProps } from './adBlock/fixedBottomAdBlock';
59
59
  export { AddressInput } from './addressInput';
60
60
  export type { AddressInputProps } from './addressInput';
61
+ export { PremiumNewsletterBanner } from './premiumNewsletterBanner';
62
+ export type { Props as PremiumNewsletterBannerProps } from './premiumNewsletterBanner';
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ heading: string;
4
+ description: string;
5
+ banner: string;
6
+ onYes: () => void;
7
+ onNo: () => void;
8
+ };
9
+ declare const BannerWithOptions: ({ heading, description, banner, onYes, onNo, }: Props) => React.JSX.Element;
10
+ export { BannerWithOptions };
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ import { AcquisitionInfo } from '../premiumNewsletterModal/context';
3
+ export type BannerState = 'hide' | 'showTool';
4
+ export type PremiumNewsletterBannerContextType = {
5
+ type: string;
6
+ acquisitionInfo: AcquisitionInfo;
7
+ categoryIds?: Array<string | number>;
8
+ isMobile?: boolean;
9
+ isLoggedIn?: boolean;
10
+ currentUrl?: string;
11
+ subcribeHealthStatus?: {
12
+ pregnant: number;
13
+ pregnant_article: number;
14
+ } | null;
15
+ pregnantArticleId?: number;
16
+ state?: BannerState;
17
+ onChange?: (state?: BannerState) => void;
18
+ };
19
+ export declare const PremiumNewsletterBannerContext: import("react").Context<PremiumNewsletterBannerContextType>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { ContainerProps } from '@mantine/core';
3
+ import { PremiumNewsletterBannerContextType } from './context';
4
+ export type Props = {
5
+ isMarketing?: boolean;
6
+ isABTestingType?: boolean;
7
+ isPremiumBanner?: boolean;
8
+ setShouldAcquisitionModalOpen?: () => void;
9
+ } & Omit<PremiumNewsletterBannerContextType, 'acquisitionInfo' | 'isLoggedIn'> & ContainerProps;
10
+ export declare const PremiumNewsletterBanner: ({ type, pregnantArticleId, categoryIds, isMarketing, isABTestingType, isPremiumBanner, currentUrl, isMobile, subcribeHealthStatus, setShouldAcquisitionModalOpen, state, onChange, ...rest }: Props) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const TestingBanner: () => React.JSX.Element;
3
+ export { TestingBanner };
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ type Props = {
3
+ heading: string;
4
+ description: string;
5
+ thumbnail: string;
6
+ btnLabel: string;
7
+ btnLink: string;
8
+ };
9
+ declare const ToolBanner: ({ heading, description, thumbnail, btnLabel, btnLink, }: Props) => React.JSX.Element;
10
+ export { ToolBanner };
@@ -0,0 +1,36 @@
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { NewsletterTopic, PreferContent } from "../../../premiumNewsletter/interfaces/types";
3
+ import { UserInfo } from "../../../together";
4
+ export type AcquisitionInfo = {
5
+ userInfo: UserInfo;
6
+ healthTopics: Array<NewsletterTopic>;
7
+ preferredTopics: Array<PreferContent>;
8
+ };
9
+ export type HealthToolPNValue = {
10
+ name: string;
11
+ fitnessTopics: string[];
12
+ };
13
+ export type PremiumNewsletterModalContextType = {
14
+ currentUrl: string;
15
+ isMobile: boolean;
16
+ isLoggedIn: boolean;
17
+ opened: boolean;
18
+ close: () => void;
19
+ nextStep: () => void;
20
+ prevStep: () => void;
21
+ lastStep: () => void;
22
+ selectCategory: NewsletterTopic[];
23
+ setSelectCategory: Dispatch<SetStateAction<NewsletterTopic[]>>;
24
+ categoryLibs: NewsletterTopic[];
25
+ setCategoryLibs: Dispatch<SetStateAction<NewsletterTopic[]>>;
26
+ pnSuggestCategory: NewsletterTopic[];
27
+ formValues: HealthToolPNValue;
28
+ setFormValues: Dispatch<SetStateAction<HealthToolPNValue>>;
29
+ maxSelectCategory: number;
30
+ submitLoading: boolean;
31
+ finishLabelOnResult?: string;
32
+ disclaimerText?: string;
33
+ onSubmit: (v?: string) => void;
34
+ onRegisterSuccess: () => void;
35
+ };
36
+ export declare const PremiumNewsletterModalContext: import("react").Context<PremiumNewsletterModalContextType>;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { NewsletterTopic } from "../../../premiumNewsletter/interfaces/types";
3
+ import { AcquisitionInfo } from './context';
4
+ type PremiumNewsletterModalProps = {
5
+ isMobile: boolean;
6
+ isLoggedIn: boolean;
7
+ currentUrl: string;
8
+ acquisitionInfo: AcquisitionInfo;
9
+ pnSuggestCategory: NewsletterTopic[];
10
+ finishLabelOnResult?: string;
11
+ disclaimerText?: string;
12
+ opened: boolean;
13
+ close: () => void;
14
+ onRegisterSuccess: () => void;
15
+ };
16
+ export declare const PremiumNewsletterModal: ({ isMobile, isLoggedIn, pnSuggestCategory, acquisitionInfo, currentUrl, opened, close, finishLabelOnResult, onRegisterSuccess, disclaimerText, }: PremiumNewsletterModalProps) => React.JSX.Element;
17
+ export {};
@@ -0,0 +1,9 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { ScrollAreaProps } from '@mantine/core';
3
+ type LayoutProps = {
4
+ heading: string;
5
+ children: ReactNode;
6
+ stickyActions?: ReactNode;
7
+ } & ScrollAreaProps;
8
+ export declare const Layout: ({ heading, children, stickyActions, ...scrollAreaProps }: LayoutProps) => React.JSX.Element;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const MainForm: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const MoreTopics: () => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Result: () => React.JSX.Element;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { DataTrackingTypeHTMLElement } from "../../../interfaces/types";
3
+ type _NormalTopicProps = {
4
+ value: string;
5
+ name: string;
6
+ isBlock?: boolean;
7
+ isMobile?: boolean;
8
+ } & DataTrackingTypeHTMLElement;
9
+ export declare const _NormalTopic: ({ value, name, isMobile, ...rest }: _NormalTopicProps) => React.JSX.Element;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { SelectItem } from '@mantine/core';
3
+ export declare const _SuggestedTopic: React.ForwardRefExoticComponent<Omit<SelectItem, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { SelectItem } from '@mantine/core';
3
+ export declare const _Topic: React.ForwardRefExoticComponent<Omit<SelectItem, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { BoxProps } from '@mantine/core';
3
+ import { NewsletterTopic } from "../../../premiumNewsletter/interfaces/types";
4
+ type _TopicSlideProps = {
5
+ topic: NewsletterTopic;
6
+ active?: boolean;
7
+ onClick(topic: NewsletterTopic, status?: boolean): void;
8
+ } & Omit<BoxProps, 'onClick'>;
9
+ export declare const _TopicSlide: ({ topic, active, onClick, ...rest }: _TopicSlideProps) => React.JSX.Element;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { NewsletterTopic } from "../../../premiumNewsletter/interfaces/types";
3
+ type HistorySectionProps = {
4
+ history: Array<NewsletterTopic>;
5
+ onDelete?(id: NewsletterTopic): void;
6
+ };
7
+ export declare const HistorySection: ({ history, onDelete }: HistorySectionProps) => React.JSX.Element;
8
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { BoxProps } from '@mantine/core';
3
+ import { TextProps } from "../../mantine";
4
+ import { NewsletterTopic } from "../../../premiumNewsletter/interfaces/types";
5
+ type PremiumTopicSelectProps = {
6
+ isLoggedIn: boolean;
7
+ maxSelect?: number;
8
+ values?: string[];
9
+ labelProps?: TextProps;
10
+ onChange: (v: NewsletterTopic[]) => void;
11
+ } & BoxProps;
12
+ export declare const PremiumTopicSelect: ({ isLoggedIn, maxSelect, values: _values, labelProps, onChange, ...rest }: PremiumTopicSelectProps) => React.JSX.Element;
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { TextProps } from "../../mantine";
3
+ import { NewsletterTopic } from "../../../premiumNewsletter/interfaces/types";
4
+ type RecentlyViewedSectionProps = {
5
+ topics: NewsletterTopic[];
6
+ selectedTopics: NewsletterTopic[];
7
+ onTopicChange(topic: NewsletterTopic[]): void;
8
+ isBlock?: boolean;
9
+ labelProps?: TextProps;
10
+ maxSelect?: number;
11
+ };
12
+ export declare const RecentlyViewedSection: ({ topics, onTopicChange, isBlock, selectedTopics, labelProps, maxSelect, }: RecentlyViewedSectionProps) => React.JSX.Element;
13
+ export {};
@@ -0,0 +1,27 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { ChipGroupProps } from '@mantine/core';
3
+ import { TextProps } from "../../mantine";
4
+ import { DataTrackingTypeHTMLElement } from "../../../interfaces/types";
5
+ import { NewsletterTopic } from "../../../premiumNewsletter/interfaces/types";
6
+ type CustomTopic = {
7
+ component: ReactNode;
8
+ };
9
+ type TopicGroup = {
10
+ label?: string;
11
+ topics: (CustomTopic | NewsletterTopic)[];
12
+ tracking?: DataTrackingTypeHTMLElement;
13
+ };
14
+ type TopicSectionProps = {
15
+ topicsGroup: TopicGroup[];
16
+ onTopicChange?: (topic: NewsletterTopic[]) => void;
17
+ label?: string;
18
+ isBlock?: boolean;
19
+ selectedTopics: NewsletterTopic[];
20
+ inputProps?: ChipGroupProps;
21
+ maxSelect?: number;
22
+ labelProps?: TextProps;
23
+ hasScroll?: boolean;
24
+ readonly?: boolean;
25
+ };
26
+ export declare const TopicSection: ({ topicsGroup, onTopicChange, isBlock, selectedTopics, inputProps, labelProps, maxSelect, hasScroll, readonly, }: TopicSectionProps) => React.JSX.Element;
27
+ export {};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { TextProps } from "../../mantine";
3
+ import { NewsletterTopic } from "../../../premiumNewsletter/interfaces/types";
4
+ import { PushNotificationPayloadType } from "../../../together";
5
+ type TrendingCarouselProps = {
6
+ topics: NewsletterTopic[];
7
+ selectedTopics: NewsletterTopic[];
8
+ onTopicChange(topic: NewsletterTopic[]): void;
9
+ isBlock?: boolean;
10
+ labelProps?: TextProps;
11
+ maxSelect?: number;
12
+ pushNotifications?: (payload: PushNotificationPayloadType) => void;
13
+ };
14
+ export declare const TrendingCarousel: ({ topics, selectedTopics, onTopicChange, isBlock, labelProps, pushNotifications, maxSelect, }: TrendingCarouselProps) => React.JSX.Element;
15
+ export {};
@@ -0,0 +1,23 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { ButtonProps, ModalProps } from "../../mantine";
3
+ export type Props = {
4
+ isMobile: boolean;
5
+ children: ReactNode;
6
+ desktopBanner?: string;
7
+ modalRatio: {
8
+ width: number;
9
+ height: number;
10
+ };
11
+ mobileBanner?: string;
12
+ mobileBannerRatio?: {
13
+ width: number;
14
+ height: number;
15
+ };
16
+ desktopBannerRatio?: {
17
+ width: number;
18
+ height: number;
19
+ };
20
+ closeProps?: ButtonProps;
21
+ };
22
+ declare const SideBannerModal: ({ isMobile, children, desktopBanner, mobileBanner, modalRatio, mobileBannerRatio, desktopBannerRatio, closeProps, ...modalProps }: Props & ModalProps) => React.JSX.Element;
23
+ export default SideBannerModal;
@@ -1 +1 @@
1
- export{A as Alert,d as ArticleCard,e as ArticleCardV2,q as BMICardEmbed,u as BMRCardEmbed,r as BabyGrowthCardEmbed,s as BabyPoopEmbed,B as Badge,a as BorderHeading,x as Breadcrumbs,f as CategoryCard,C as Checkbox,g as CheckboxGroup,o as CookieAcceptConfirm,w as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,E as FixedBottomAdBlock,n as FloatButtonGroup,c as GenderOptionControl,G as Grid,I as IconText,O as OvulationCardEmbed,v as PWGCardEmbed,P as Pagination,h as ProgressBar,R as RateStars,S as ScrollList,p as SeoHead,y as ShareContainer,z as ShareDrawer,i as SideMenu,j as StatisticCard,m as SurveyThankyouCard,t as THRCardEmbed,k as Table,l as Tabs,T as Tag,b as Toggle}from"./fixedBottomAdBlock-83b64030.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-d38342fe.js";export{B as Button}from"./index-39cce1ad.js";export{A as AuthorBadge,a as BookingBtn,B as BtnChoice,D as Divider}from"./index-07225642.js";export{F as Flag,H as Heading,L as LogoIcon,P as PureInput,S as StepRenderer,b as StepRendererContext,T as TextArea,a as TextDivider}from"./index.styles-6a17b45b.js";export{I as Input}from"./index-bfb5a151.js";export{C as Container,I as Icon,L as Label}from"./index-30c165ba.js";export{L as Logo}from"./index-4c9963db.js";export{A as AdBlock,D as DatePicker,c as DoctorInfo,a as Dropdown,M as MobileBottomNavigation,d as MobileBottomNavigationIcon,R as Radio,b as RadioGroup,S as SurveyQuestionCard,T as ToolsBannerCard}from"./index-3411ef1e.js";export{T as Text}from"./index-3b17ef20.js";export{D as Drawer,R as RadioImageGroup}from"./index-210a893e.js";export{C as CustomReferenceDot,I as ImageWrap}from"./index-c3121b12.js";export{P as Popup}from"./dataTransform-e8d64748.js";export{M as Modal}from"./index-c9cc7be1.js";export{P as PillCarousel}from"./index-cbaed28e.js";export{A as AddressInput}from"./index-ff1cf893.js";export{Footer}from"./footer.js";import"react";import"./screenSizeContext-b0b4af70.js";import"styled-components";import"lodash/throttle";import"./useUniqueId-2fd9d44b.js";import"./gAssets.js";import"./index-0556b3df.js";import"date-fns/locale";import"./Onboarding-281862b8.js";import"./isProduction-cd379466.js";import"./theme-054cfe5e.js";import"./tslib.es6-d74bc98c.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-b47c4665.js";import"string-format";import"@mantine/hooks";import"./useTranslations-9882b03a.js";import"date-fns";import"lodash/debounce";import"./types-cb822d75.js";import"./index-12373cc2.js";import"./index-71da6f92.js";import"react-hook-form";import"./useHealthToolCache-954db9f5.js";import"./getDynamicHealthTool-4b3518ba.js";import"./core-187952aa.js";import"./normalizeLink-6e8953be.js";import"./routing-3f588609.js";import"./useOutsideClick-e85b99fd.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-05e5f819.js";import"uuid";import"./index.styled-6f51ff04.js";import"dayjs/plugin/relativeTime";import"./cookieHelper-329ff362.js";import"./constants-015643bc.js";import"./index-590e02cc.js";import"./useIsInit-eac04318.js";import"./paths-54287a83.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"slugify";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-76c280fd.js";import"react-dom";import"./index.styled-5ef76fb6.js";import"./utils-dc56aa2f.js";
1
+ export{A as Alert,d as ArticleCard,e as ArticleCardV2,q as BMICardEmbed,u as BMRCardEmbed,r as BabyGrowthCardEmbed,s as BabyPoopEmbed,B as Badge,a as BorderHeading,x as Breadcrumbs,f as CategoryCard,C as Checkbox,g as CheckboxGroup,o as CookieAcceptConfirm,w as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,E as FixedBottomAdBlock,n as FloatButtonGroup,c as GenderOptionControl,G as Grid,I as IconText,O as OvulationCardEmbed,v as PWGCardEmbed,P as Pagination,H as PremiumNewsletterBanner,h as ProgressBar,R as RateStars,S as ScrollList,p as SeoHead,y as ShareContainer,z as ShareDrawer,i as SideMenu,j as StatisticCard,m as SurveyThankyouCard,t as THRCardEmbed,k as Table,l as Tabs,T as Tag,b as Toggle}from"./index-8299b7e3.js";export{A as Avatar,L as LanguageSwitcher,d as NavigationLogoutPopup,e as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,U as UserProfileNavigation,b as UserProfileNavigationHeader,c as UserProfileNavigationStats,g as getNavMenuContent,a as getNavMenuContentWithCache}from"./index-6f45922a.js";export{B as Button}from"./index-dae69259.js";export{B as BtnChoice,D as Divider}from"./index-fe39531b.js";export{F as Flag,H as Heading,L as LogoIcon,P as PureInput,S as StepRenderer,b as StepRendererContext,T as TextArea,a as TextDivider}from"./index.styles-82f67895.js";export{I as Input}from"./index-de57ecd9.js";export{C as Container,I as Icon,L as Label}from"./index-4db4b3b2.js";export{L as Logo}from"./index-890f07f7.js";export{e as AdBlock,A as AuthorBadge,B as BookingBtn,D as DatePicker,c as DoctorInfo,a as Dropdown,M as MobileBottomNavigation,d as MobileBottomNavigationIcon,R as Radio,b as RadioGroup,S as SurveyQuestionCard,T as ToolsBannerCard}from"./_topic-616fda4c.js";export{T as Text}from"./index-d3a5ab49.js";export{D as Drawer,R as RadioImageGroup}from"./index-da6144c5.js";export{C as CustomReferenceDot,I as ImageWrap}from"./index-fb88d784.js";export{P as Popup}from"./index.styled-76288999.js";export{M as Modal}from"./index-15d7660d.js";export{P as PillCarousel}from"./index-4c061256.js";export{A as AddressInput}from"./index-6fc847b9.js";export{Footer}from"./footer.js";import"react";import"./screenSizeContext-4855603d.js";import"styled-components";import"lodash/throttle";import"./useUniqueId-6cb9ddef.js";import"./gAssets.js";import"./index-5968a9b1.js";import"date-fns/locale";import"./Onboarding-c0cfac18.js";import"./isProduction-b2d88eb1.js";import"./theme-05390e1a.js";import"./tslib.es6-a59ac7f2.js";import"@mantine/core";import"innertext";import"@mantine/dates";import"dayjs";import"./translationsContext-9d561788.js";import"string-format";import"@mantine/hooks";import"./useTranslations-7b0b4bfb.js";import"date-fns";import"lodash/debounce";import"./useCategory-a175adb8.js";import"./types-f88531b2.js";import"./index-634bfb22.js";import"./index-656071c0.js";import"react-hook-form";import"./useHealthToolCache-d4fccf30.js";import"./getDynamicHealthTool-21089974.js";import"./core-85cc6a99.js";import"./normalizeLink-3bc92ac0.js";import"./routing-210e19d0.js";import"./useOutsideClick-b2f40fe8.js";import"date-fns/locale/en-US";import"date-fns/locale/id";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"./getSocialList-b3d002ba.js";import"uuid";import"react-contenteditable";import"react-dom";import"react-day-picker/DayPickerInput";import"./index.styled-894b40c7.js";import"./utils-f23fae06.js";import"./index-7433ba52.js";import"js-cookie";import"@mantine/form";import"lodash/flatten";import"lodash/uniqBy";import"./cookieHelper-4e12ad4b.js";import"./constants-92019619.js";import"./index-94b1edc9.js";import"./useIsInit-5ace6ff2.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"slugify";import"@hookform/resolvers/yup";import"./number-9f092e4b.js";import"dayjs/plugin/relativeTime";import"./paths-24013383.js";import"./useScrollbarSize-c8dc6432.js";
@@ -1 +1 @@
1
- import"date-fns/locale";import"./Onboarding-281862b8.js";export{B as BEARER_TOKEN_COOKIE,b as CARE_BOOKING_LOCALES,C as CARE_LOCALES,a as CDN_ADDRESS,D as DATE_FNS_LOCALE,E as ECOM_LOCALES,F as FAVICONS,I as ISO_FORMAT,L as LOCALE_SPECS,Q as QUERY_HEALTH_TOOL,S as STATIC_PAGES,T as TOGETHER_LOCALES,U as UP_BASEPATH,c as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,e as siteHost,s as siteOptions}from"./index-0556b3df.js";export{i as isProduction}from"./isProduction-cd379466.js";
1
+ import"date-fns/locale";import"./Onboarding-c0cfac18.js";export{B as BEARER_TOKEN_COOKIE,a as CARE_BOOKING_LOCALES,C as CARE_LOCALES,b as CDN_ADDRESS,D as DATE_FNS_LOCALE,E as ECOM_LOCALES,F as FAVICONS,G as GA_TOKEN_COOKIE,I as ISO_FORMAT,L as LOCALE_SPECS,Q as QUERY_HEALTH_TOOL,S as STATIC_PAGES,T as TOGETHER_LOCALES,U as UP_BASEPATH,c as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,e as siteHost,s as siteOptions}from"./index-5968a9b1.js";export{i as isProduction}from"./isProduction-b2d88eb1.js";
@@ -1 +1 @@
1
- import{a as t}from"./tslib.es6-d74bc98c.js";import{i as e}from"./isProduction-cd379466.js";const a={},i=t=>{if("undefined"!=typeof window){let a;try{a=JSON.parse(localStorage.getItem((e?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return a[t]},o=(t,i)=>{try{"undefined"!=typeof window?localStorage.setItem((e?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:i,time:Date.now()})):a[t]={data:i,time:Date.now()}}catch(t){}},n=(e,a,n,r=9e5)=>t(void 0,void 0,void 0,(function*(){const t=i(e);if(t&&t.data&&t.time&&Date.now()-t.time<r)return t.data;if(a){const t=yield a();return n&&!n(t)||o(e,t),t}return null}));export{i as a,n as g,o as s};
1
+ import{a as t}from"./tslib.es6-a59ac7f2.js";import{i as e}from"./isProduction-b2d88eb1.js";const a={},i=t=>{if("undefined"!=typeof window){let a;try{a=JSON.parse(localStorage.getItem((e?"":"staging_")+"hhg-cache-"+t)||"{}")}catch(t){}return a||{}}return a[t]},o=(t,i)=>{try{"undefined"!=typeof window?localStorage.setItem((e?"":"staging_")+"hhg-cache-"+t,JSON.stringify({data:i,time:Date.now()})):a[t]={data:i,time:Date.now()}}catch(t){}},n=(e,a,n,r=9e5)=>t(void 0,void 0,void 0,(function*(){const t=i(e);if(t&&t.data&&t.time&&Date.now()-t.time<r)return t.data;if(a){const t=yield a();return n&&!n(t)||o(e,t),t}return null}));export{i as a,n as g,o as s};