@hhgtech/hhg-components 1.24.17 → 1.24.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/README.md +0 -2
  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/atoms/icons/Trash.d.ts +4 -0
  6. package/build/components/atoms/icons/index.d.ts +2 -0
  7. package/build/components/mantine/datepicker/index.d.ts +1 -0
  8. package/build/components.js +1 -1
  9. package/build/constants.js +1 -1
  10. package/build/{core-f29d79c8.js → core-f52ebeaa.js} +1 -1
  11. package/build/{dataTransform-31bfac05.js → dataTransform-8acb1cae.js} +1 -1
  12. package/build/esm/babyGrowth.js +8 -8
  13. package/build/esm/cache.js +1 -1
  14. package/build/esm/care.js +1 -1
  15. package/build/esm/components.js +1 -1
  16. package/build/esm/constants.js +1 -1
  17. package/build/esm/{core-082cc271.js → core-55659962.js} +1 -1
  18. package/build/esm/{dataTransform-8b16e7d8.js → dataTransform-7c7cd603.js} +1 -1
  19. package/build/esm/footer.js +1 -1
  20. package/build/esm/gAssets.js +1 -1
  21. package/build/esm/{getDynamicHealthTool-da5d4781.js → getDynamicHealthTool-f24e91d5.js} +1 -1
  22. package/build/esm/{getSocialList-85a9db1b.js → getSocialList-b4b810ea.js} +1 -1
  23. package/build/esm/hooks.js +1 -1
  24. package/build/esm/i18n.js +1 -1
  25. package/build/esm/index-04aac021.js +1 -0
  26. package/build/esm/{index-97901e64.js → index-054ee498.js} +1 -1
  27. package/build/esm/index-1212f61e.js +1 -0
  28. package/build/esm/index-30dfa58f.js +1 -0
  29. package/build/esm/{index-05cc9a9f.js → index-3f781614.js} +1 -1
  30. package/build/esm/{index-58583289.js → index-44a439da.js} +1 -1
  31. package/build/esm/index-45ac44f1.js +67 -0
  32. package/build/esm/{index-4b8aceaf.js → index-693aacdc.js} +1 -1
  33. package/build/esm/{index-6babfc2c.js → index-7a57bc59.js} +2 -2
  34. package/build/esm/{index-5027ae54.js → index-8ac32fa0.js} +1 -1
  35. package/build/esm/{index-1aa85f8a.js → index-bed3247d.js} +1 -1
  36. package/build/esm/{index-099d824a.js → index-bff98440.js} +1 -1
  37. package/build/esm/index-d24056ce.js +177 -0
  38. package/build/esm/{index-3bb29895.js → index-db2e1d7b.js} +1 -1
  39. package/build/esm/{index-e91c29e7.js → index-dd6e5684.js} +1 -1
  40. package/build/esm/{index-e15843d9.js → index-e4836320.js} +1 -1
  41. package/build/esm/{index-428b788e.js → index-e5b9bc02.js} +1 -1
  42. package/build/esm/index-eb7126f6.js +1 -0
  43. package/build/esm/{index-2938e5b1.js → index-eb79e0cf.js} +1 -1
  44. package/build/esm/{index-16e108e3.js → index-f1e8b189.js} +1 -1
  45. package/build/esm/index-f5718bdd.js +1 -0
  46. package/build/esm/index.css +1 -1
  47. package/build/esm/index.js +1 -1
  48. package/build/esm/{index.styled-b766c971.js → index.styled-1c09bfcc.js} +1 -1
  49. package/build/esm/{index.styled-192be4e4.js → index.styled-53842855.js} +1 -1
  50. package/build/esm/{index.styled-f7e290f3.js → index.styled-70d2421e.js} +4 -4
  51. package/build/esm/{index.styled-dd470049.js → index.styled-75b0ceaa.js} +1 -1
  52. package/build/esm/{index.styled-6c45f86b.js → index.styled-77b271f5.js} +1 -1
  53. package/build/esm/{index.styled-dd14ac3c.js → index.styled-8f59035f.js} +1 -1
  54. package/build/esm/{index.styled-366c3ac0.js → index.styled-e6d05e31.js} +34 -30
  55. package/build/esm/lead.js +1 -1
  56. package/build/esm/mantine.js +1 -1
  57. package/build/esm/misc.js +1 -1
  58. package/build/esm/navigation.js +1 -1
  59. package/build/esm/onboarding.js +1 -1
  60. package/build/esm/pwg.js +5 -5
  61. package/build/esm/{routing-9c6b369c.js → routing-065ec7dc.js} +1 -1
  62. package/build/esm/{screenSizeContext-77ca87fe.js → screenSizeContext-88744824.js} +1 -1
  63. package/build/esm/together.js +1 -1
  64. package/build/esm/translationsProvider-ccaaba93.js +1 -0
  65. package/build/esm/{types-2c90d21f.js → types-8f9ba152.js} +135 -128
  66. package/build/esm/{types-0194e559.js → types-e1294419.js} +1 -1
  67. package/build/esm/types.js +1 -1
  68. package/build/esm/useHealthToolCache-a6576ccb.js +1 -0
  69. package/build/esm/useRafState-e6b465bb.js +1 -0
  70. package/build/esm/{useTranslations-8b5663e3.js → useTranslations-860db584.js} +1 -1
  71. package/build/footer.js +1 -1
  72. package/build/gAssets.js +1 -1
  73. package/build/getDynamicHealthTool-4e1a845a.js +1 -0
  74. package/build/{getSocialList-18924114.js → getSocialList-f3816706.js} +1 -1
  75. package/build/hooks.js +1 -1
  76. package/build/i18n.js +1 -1
  77. package/build/{index-51820fc1.js → index-05535f0e.js} +1 -1
  78. package/build/{index-3a56e7b9.js → index-0bd8af32.js} +5 -5
  79. package/build/{index-fb4334a2.js → index-25fc984e.js} +1 -1
  80. package/build/{index-7925d8bf.js → index-2814d9cc.js} +1 -1
  81. package/build/{index-efb11af8.js → index-35c8dfd4.js} +1 -1
  82. package/build/{index-32c1ae86.js → index-378e1adb.js} +1 -1
  83. package/build/{index-a3c03dd8.js → index-3d81f9cc.js} +1 -1
  84. package/build/{index-eeee0816.js → index-4fdb1fcf.js} +1 -1
  85. package/build/{index-f857761c.js → index-51753982.js} +1 -1
  86. package/build/{index-2117aabb.js → index-58100bad.js} +1 -1
  87. package/build/{index-d35ea3e8.js → index-59408b77.js} +1 -1
  88. package/build/{index-5e3c31b5.js → index-879dd367.js} +1 -1
  89. package/build/{index-461def0f.js → index-90e9e28b.js} +1 -1
  90. package/build/{index-91cec2c8.js → index-b29f0100.js} +1 -1
  91. package/build/{index-c71bc366.js → index-b3544b7d.js} +1 -1
  92. package/build/index-b4a2c2fe.js +1 -0
  93. package/build/{index-c7f29b06.js → index-cf883358.js} +1 -1
  94. package/build/{index-e994fc19.js → index-d0f252ba.js} +1 -1
  95. package/build/{index-d8b75c51.js → index-dfe405f8.js} +1 -1
  96. package/build/{index-b08a2927.js → index-e37557dd.js} +1 -1
  97. package/build/{index-a69452f9.js → index-ebf2f582.js} +1 -1
  98. package/build/index.css +1 -1
  99. package/build/index.js +1 -1
  100. package/build/{index.styled-325ef16e.js → index.styled-1a66009b.js} +1 -1
  101. package/build/{index.styled-e618f9ff.js → index.styled-5bb1a1f5.js} +1 -1
  102. package/build/{index.styled-42cbc5c9.js → index.styled-637e5ec7.js} +4 -4
  103. package/build/{index.styled-67e633e0.js → index.styled-a51da094.js} +1 -1
  104. package/build/{index.styled-7200b82d.js → index.styled-bd5b6a11.js} +35 -31
  105. package/build/{index.styled-3232dfbf.js → index.styled-bf998dad.js} +1 -1
  106. package/build/{index.styled-cccd4e4c.js → index.styled-f315a185.js} +1 -1
  107. package/build/lead.js +1 -1
  108. package/build/mantine.js +1 -1
  109. package/build/misc.js +1 -1
  110. package/build/navigation.js +1 -1
  111. package/build/onboarding.js +1 -1
  112. package/build/pwg.js +4 -4
  113. package/build/{routing-2176f47d.js → routing-7dbf8fef.js} +1 -1
  114. package/build/screenSizeContext-b1062be4.js +81 -0
  115. package/build/together/components/organisms/cardReply/index.styled.d.ts +1 -1
  116. package/build/together/components/organisms/index.d.ts +1 -1
  117. package/build/together/components/organisms/sourceList/index.d.ts +9 -0
  118. package/build/together/components/organisms/{cardReply/sourceList → sourceList}/index.styled.d.ts +2 -0
  119. package/build/together.js +1 -1
  120. package/build/translationsProvider-354e346a.js +1 -0
  121. package/build/{types-1628c9cb.js → types-56115ec7.js} +48 -41
  122. package/build/{types-521485b3.js → types-cd37f582.js} +1 -1
  123. package/build/types.js +1 -1
  124. package/build/useHealthToolCache-e7470f87.js +1 -0
  125. package/build/{useRafState-447739b4.js → useRafState-31591b58.js} +1 -1
  126. package/build/{useTranslations-1b4c80ac.js → useTranslations-2adbbe41.js} +1 -1
  127. package/package.json +1 -1
  128. package/build/esm/index-1ccae19d.js +0 -177
  129. package/build/esm/index-706ed55d.js +0 -1
  130. package/build/esm/index-82f4706e.js +0 -1
  131. package/build/esm/index-8a2fe10d.js +0 -1
  132. package/build/esm/index-98f2adc2.js +0 -1
  133. package/build/esm/index-9bc207a0.js +0 -1
  134. package/build/esm/index-bfe675ef.js +0 -67
  135. package/build/esm/translationsProvider-01f4c348.js +0 -1
  136. package/build/esm/useHealthToolCache-1b23e2a7.js +0 -1
  137. package/build/esm/useRafState-95c48a53.js +0 -1
  138. package/build/getDynamicHealthTool-804288e9.js +0 -1
  139. package/build/index-58505370.js +0 -1
  140. package/build/screenSizeContext-1c02e711.js +0 -81
  141. package/build/together/components/organisms/cardReply/sourceList/index.d.ts +0 -7
  142. package/build/translationsProvider-f22aeed7.js +0 -1
  143. package/build/useHealthToolCache-76caa72e.js +0 -1
  144. /package/build/{BMI_BOYS.percentile.monthly-a07339d4.js → BMI_BOYS.percentile.monthly-2ff92556.js} +0 -0
  145. /package/build/{BMI_BOYS.percentile.weekly-5480e746.js → BMI_BOYS.percentile.weekly-4bdaa6f2.js} +0 -0
  146. /package/build/{BMI_BOYS.percentile.yearly-a6d02273.js → BMI_BOYS.percentile.yearly-961c9f82.js} +0 -0
  147. /package/build/{BMI_BOYS.zscore.monthly-0a198d56.js → BMI_BOYS.zscore.monthly-bf59e9f5.js} +0 -0
  148. /package/build/{BMI_BOYS.zscore.weekly-397550f7.js → BMI_BOYS.zscore.weekly-7f264766.js} +0 -0
  149. /package/build/{BMI_BOYS.zscore.yearly-6840d2db.js → BMI_BOYS.zscore.yearly-31d3ec67.js} +0 -0
  150. /package/build/{BMI_GIRLS.percentile.monthly-10772529.js → BMI_GIRLS.percentile.monthly-d88b9683.js} +0 -0
  151. /package/build/{BMI_GIRLS.percentile.weekly-2c410912.js → BMI_GIRLS.percentile.weekly-60f02b5b.js} +0 -0
  152. /package/build/{BMI_GIRLS.percentile.yearly-c252ff76.js → BMI_GIRLS.percentile.yearly-7a944b49.js} +0 -0
  153. /package/build/{BMI_GIRLS.zscore.monthly-59a3c26f.js → BMI_GIRLS.zscore.monthly-532639fd.js} +0 -0
  154. /package/build/{BMI_GIRLS.zscore.weekly-e5a5b567.js → BMI_GIRLS.zscore.weekly-2c5d69e6.js} +0 -0
  155. /package/build/{BMI_GIRLS.zscore.yearly-7241d0fc.js → BMI_GIRLS.zscore.yearly-9d753f49.js} +0 -0
  156. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-e1b8ed74.js → HEAD CIRCUM_BOYS.percentile.monthly-b6ce559f.js} +0 -0
  157. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-61618a6a.js → HEAD CIRCUM_BOYS.percentile.weekly-ab7409cd.js} +0 -0
  158. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-977405fb.js → HEAD CIRCUM_BOYS.percentile.yearly-7a6703de.js} +0 -0
  159. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-0f1b8c7c.js → HEAD CIRCUM_BOYS.zscore.monthly-d702a50e.js} +0 -0
  160. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-81e4fb49.js → HEAD CIRCUM_BOYS.zscore.weekly-ca166fc4.js} +0 -0
  161. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-fcf4048d.js → HEAD CIRCUM_BOYS.zscore.yearly-58c4e982.js} +0 -0
  162. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-762f01ba.js → HEAD CIRCUM_GIRLS.percentile.monthly-15e0eca2.js} +0 -0
  163. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f912efbc.js → HEAD CIRCUM_GIRLS.percentile.weekly-54bd6dc4.js} +0 -0
  164. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-b44e6895.js → HEAD CIRCUM_GIRLS.percentile.yearly-d564c43d.js} +0 -0
  165. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-9b881e14.js → HEAD CIRCUM_GIRLS.zscore.monthly-6cf92cb3.js} +0 -0
  166. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-6d51062a.js → HEAD CIRCUM_GIRLS.zscore.weekly-87ced1d3.js} +0 -0
  167. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4f91d158.js → HEAD CIRCUM_GIRLS.zscore.yearly-0bc87993.js} +0 -0
  168. /package/build/{HEIGHT_BOYS.percentile.monthly-a0415c70.js → HEIGHT_BOYS.percentile.monthly-54a784db.js} +0 -0
  169. /package/build/{HEIGHT_BOYS.percentile.weekly-967bf9e7.js → HEIGHT_BOYS.percentile.weekly-ce47d1ad.js} +0 -0
  170. /package/build/{HEIGHT_BOYS.percentile.yearly-8693d4f2.js → HEIGHT_BOYS.percentile.yearly-6813c238.js} +0 -0
  171. /package/build/{HEIGHT_BOYS.zscore.monthly-9036ebc7.js → HEIGHT_BOYS.zscore.monthly-16af81ce.js} +0 -0
  172. /package/build/{HEIGHT_BOYS.zscore.weekly-9ec1fdb5.js → HEIGHT_BOYS.zscore.weekly-1476fa2c.js} +0 -0
  173. /package/build/{HEIGHT_BOYS.zscore.yearly-c65252d2.js → HEIGHT_BOYS.zscore.yearly-8e93eb69.js} +0 -0
  174. /package/build/{HEIGHT_GIRLS.percentile.monthly-fe610f89.js → HEIGHT_GIRLS.percentile.monthly-a6a27fa2.js} +0 -0
  175. /package/build/{HEIGHT_GIRLS.percentile.weekly-33753edf.js → HEIGHT_GIRLS.percentile.weekly-23d26ea5.js} +0 -0
  176. /package/build/{HEIGHT_GIRLS.percentile.yearly-4e51da80.js → HEIGHT_GIRLS.percentile.yearly-ecf66504.js} +0 -0
  177. /package/build/{HEIGHT_GIRLS.zscore.monthly-e49b7dfe.js → HEIGHT_GIRLS.zscore.monthly-9a2cd13b.js} +0 -0
  178. /package/build/{HEIGHT_GIRLS.zscore.weekly-f9e8ebcf.js → HEIGHT_GIRLS.zscore.weekly-53e5495f.js} +0 -0
  179. /package/build/{HEIGHT_GIRLS.zscore.yearly-14024d7d.js → HEIGHT_GIRLS.zscore.yearly-46db6361.js} +0 -0
  180. /package/build/{Locale-da0b0391.js → Locale-9a58ef93.js} +0 -0
  181. /package/build/{Vietnam-95669f39.js → Vietnam-e8b1dd8b.js} +0 -0
  182. /package/build/{Visible-c79bb90c.js → Visible-3a7847ca.js} +0 -0
  183. /package/build/{WEIGHT_BOYS.percentile.monthly-6cbd2f4c.js → WEIGHT_BOYS.percentile.monthly-845b9c24.js} +0 -0
  184. /package/build/{WEIGHT_BOYS.percentile.weekly-d4b435de.js → WEIGHT_BOYS.percentile.weekly-938e8254.js} +0 -0
  185. /package/build/{WEIGHT_BOYS.percentile.yearly-f62a1434.js → WEIGHT_BOYS.percentile.yearly-76a5f36c.js} +0 -0
  186. /package/build/{WEIGHT_BOYS.zscore.monthly-dd3a50aa.js → WEIGHT_BOYS.zscore.monthly-bd78f3f3.js} +0 -0
  187. /package/build/{WEIGHT_BOYS.zscore.weekly-7c1a1eb5.js → WEIGHT_BOYS.zscore.weekly-d2503217.js} +0 -0
  188. /package/build/{WEIGHT_BOYS.zscore.yearly-37bcfa2e.js → WEIGHT_BOYS.zscore.yearly-066d0ab4.js} +0 -0
  189. /package/build/{WEIGHT_GIRLS.percentile.monthly-6bb83c83.js → WEIGHT_GIRLS.percentile.monthly-4ab70bd3.js} +0 -0
  190. /package/build/{WEIGHT_GIRLS.percentile.weekly-78af3b3d.js → WEIGHT_GIRLS.percentile.weekly-d751466f.js} +0 -0
  191. /package/build/{WEIGHT_GIRLS.percentile.yearly-3e8b7058.js → WEIGHT_GIRLS.percentile.yearly-42ee7012.js} +0 -0
  192. /package/build/{WEIGHT_GIRLS.zscore.monthly-b2a50383.js → WEIGHT_GIRLS.zscore.monthly-ddf72f77.js} +0 -0
  193. /package/build/{WEIGHT_GIRLS.zscore.weekly-f8cec13d.js → WEIGHT_GIRLS.zscore.weekly-c2e0dc42.js} +0 -0
  194. /package/build/{WEIGHT_GIRLS.zscore.yearly-6fcb0e1d.js → WEIGHT_GIRLS.zscore.yearly-b590d7d4.js} +0 -0
  195. /package/build/{constants-161b8fba.js → constants-540014d8.js} +0 -0
  196. /package/build/{cookieHelper-4b51be77.js → cookieHelper-f3717d04.js} +0 -0
  197. /package/build/{dataTransform-f648c911.js → dataTransform-8d4b941a.js} +0 -0
  198. /package/build/esm/{BMI_BOYS.percentile.monthly-62ff4e11.js → BMI_BOYS.percentile.monthly-02c0174e.js} +0 -0
  199. /package/build/esm/{BMI_BOYS.percentile.weekly-a35b9e66.js → BMI_BOYS.percentile.weekly-fe988069.js} +0 -0
  200. /package/build/esm/{BMI_BOYS.percentile.yearly-0b45a896.js → BMI_BOYS.percentile.yearly-14f63c53.js} +0 -0
  201. /package/build/esm/{BMI_BOYS.zscore.monthly-a1d6c1a3.js → BMI_BOYS.zscore.monthly-aa3ff2b8.js} +0 -0
  202. /package/build/esm/{BMI_BOYS.zscore.weekly-42e27aaa.js → BMI_BOYS.zscore.weekly-269962d9.js} +0 -0
  203. /package/build/esm/{BMI_BOYS.zscore.yearly-a6b2e75b.js → BMI_BOYS.zscore.yearly-8318afa5.js} +0 -0
  204. /package/build/esm/{BMI_GIRLS.percentile.monthly-3e8dbc64.js → BMI_GIRLS.percentile.monthly-98db0e41.js} +0 -0
  205. /package/build/esm/{BMI_GIRLS.percentile.weekly-120af94e.js → BMI_GIRLS.percentile.weekly-7dbdd5e4.js} +0 -0
  206. /package/build/esm/{BMI_GIRLS.percentile.yearly-c3976cba.js → BMI_GIRLS.percentile.yearly-0023eb12.js} +0 -0
  207. /package/build/esm/{BMI_GIRLS.zscore.monthly-2422a7e6.js → BMI_GIRLS.zscore.monthly-5b6640cb.js} +0 -0
  208. /package/build/esm/{BMI_GIRLS.zscore.weekly-f99b0144.js → BMI_GIRLS.zscore.weekly-6e0ab037.js} +0 -0
  209. /package/build/esm/{BMI_GIRLS.zscore.yearly-427cf200.js → BMI_GIRLS.zscore.yearly-232db6da.js} +0 -0
  210. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-015cd4c1.js → HEAD CIRCUM_BOYS.percentile.monthly-96410a5e.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-21a9cde1.js → HEAD CIRCUM_BOYS.percentile.weekly-27d9ac78.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-692216eb.js → HEAD CIRCUM_BOYS.percentile.yearly-c1a53267.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-c4f460d9.js → HEAD CIRCUM_BOYS.zscore.monthly-7787fb4e.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-59e6fe87.js → HEAD CIRCUM_BOYS.zscore.weekly-5d08056c.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c9765d7e.js → HEAD CIRCUM_BOYS.zscore.yearly-75acbe34.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-aac14c7c.js → HEAD CIRCUM_GIRLS.percentile.monthly-1702b14d.js} +0 -0
  217. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-286a8070.js → HEAD CIRCUM_GIRLS.percentile.weekly-450eb76b.js} +0 -0
  218. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1a5a10c0.js → HEAD CIRCUM_GIRLS.percentile.yearly-386506ef.js} +0 -0
  219. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-5d60923e.js → HEAD CIRCUM_GIRLS.zscore.monthly-11f285ca.js} +0 -0
  220. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-93cf296a.js → HEAD CIRCUM_GIRLS.zscore.weekly-9d5065f8.js} +0 -0
  221. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-5daa1e70.js → HEAD CIRCUM_GIRLS.zscore.yearly-23d5bbeb.js} +0 -0
  222. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-6ba5747e.js → HEIGHT_BOYS.percentile.monthly-2b99262e.js} +0 -0
  223. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d4225693.js → HEIGHT_BOYS.percentile.weekly-d9f156be.js} +0 -0
  224. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-8a71ace4.js → HEIGHT_BOYS.percentile.yearly-094e8482.js} +0 -0
  225. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-5e34fced.js → HEIGHT_BOYS.zscore.monthly-27d449eb.js} +0 -0
  226. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-197cf58c.js → HEIGHT_BOYS.zscore.weekly-d3826e91.js} +0 -0
  227. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-77b0263d.js → HEIGHT_BOYS.zscore.yearly-11ae82a4.js} +0 -0
  228. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-47d71194.js → HEIGHT_GIRLS.percentile.monthly-42522b7a.js} +0 -0
  229. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-828ad802.js → HEIGHT_GIRLS.percentile.weekly-996a0b65.js} +0 -0
  230. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-feb3161e.js → HEIGHT_GIRLS.percentile.yearly-74e99347.js} +0 -0
  231. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-e2ff0fbc.js → HEIGHT_GIRLS.zscore.monthly-0305fe44.js} +0 -0
  232. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-80d9b341.js → HEIGHT_GIRLS.zscore.weekly-f269d20b.js} +0 -0
  233. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-539e6494.js → HEIGHT_GIRLS.zscore.yearly-c985ffc1.js} +0 -0
  234. /package/build/esm/{Locale-93613537.js → Locale-c8320005.js} +0 -0
  235. /package/build/esm/{Vietnam-b06a43f1.js → Vietnam-3b9acb67.js} +0 -0
  236. /package/build/esm/{Visible-66fd5bc0.js → Visible-5d9b1ecd.js} +0 -0
  237. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9c37f20b.js → WEIGHT_BOYS.percentile.monthly-2fcf89dd.js} +0 -0
  238. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a66b6da5.js → WEIGHT_BOYS.percentile.weekly-ec8ac244.js} +0 -0
  239. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-8d32f0a8.js → WEIGHT_BOYS.percentile.yearly-a543aa14.js} +0 -0
  240. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-930e501a.js → WEIGHT_BOYS.zscore.monthly-5fa13f3f.js} +0 -0
  241. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-8b1c32c9.js → WEIGHT_BOYS.zscore.weekly-1f075b0e.js} +0 -0
  242. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e5be870b.js → WEIGHT_BOYS.zscore.yearly-20bfba23.js} +0 -0
  243. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-4161630c.js → WEIGHT_GIRLS.percentile.monthly-231f6f63.js} +0 -0
  244. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-fcb2ee5a.js → WEIGHT_GIRLS.percentile.weekly-71540ce9.js} +0 -0
  245. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-67570069.js → WEIGHT_GIRLS.percentile.yearly-37ff25bb.js} +0 -0
  246. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-4dbe24ad.js → WEIGHT_GIRLS.zscore.monthly-7d7d8957.js} +0 -0
  247. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ffaff6f1.js → WEIGHT_GIRLS.zscore.weekly-f1e586cb.js} +0 -0
  248. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-be714456.js → WEIGHT_GIRLS.zscore.yearly-ca5d172b.js} +0 -0
  249. /package/build/esm/{constants-6a3a1cc1.js → constants-170605f8.js} +0 -0
  250. /package/build/esm/{cookieHelper-89b11977.js → cookieHelper-46eca077.js} +0 -0
  251. /package/build/esm/{dataTransform-19107d96.js → dataTransform-81026524.js} +0 -0
  252. /package/build/esm/{index-4b42e160.js → index-9f83d332.js} +0 -0
  253. /package/build/esm/{isProduction-ba4ad2c8.js → isProduction-35cc6094.js} +0 -0
  254. /package/build/esm/{localizeNumberFormat-8327253e.js → localizeNumberFormat-14832370.js} +0 -0
  255. /package/build/esm/{normalizeLink-e17e7869.js → normalizeLink-22f231d9.js} +0 -0
  256. /package/build/esm/{theme-85ed0c46.js → theme-35a76b33.js} +0 -0
  257. /package/build/esm/{translationsContext-993061c5.js → translationsContext-7730f46a.js} +0 -0
  258. /package/build/esm/{tslib.es6-15a36b3e.js → tslib.es6-cb3ea48c.js} +0 -0
  259. /package/build/esm/{useIsInit-ba9e0754.js → useIsInit-17c423cc.js} +0 -0
  260. /package/build/esm/{useOutsideClick-57bfed0f.js → useOutsideClick-b3adcf0b.js} +0 -0
  261. /package/build/esm/{useScrollbarSize-422789b0.js → useScrollbarSize-e8a276bb.js} +0 -0
  262. /package/build/esm/{useUniqueId-ecba19ff.js → useUniqueId-2654c98c.js} +0 -0
  263. /package/build/esm/{utils-2802793f.js → utils-1fa73d05.js} +0 -0
  264. /package/build/{index-4d276043.js → index-7c1cf961.js} +0 -0
  265. /package/build/{isProduction-a97ec848.js → isProduction-25e05d32.js} +0 -0
  266. /package/build/{localizeNumberFormat-94fd258d.js → localizeNumberFormat-3d2fd8b9.js} +0 -0
  267. /package/build/{normalizeLink-138b8f89.js → normalizeLink-293919db.js} +0 -0
  268. /package/build/{theme-63c3307a.js → theme-f8d912d5.js} +0 -0
  269. /package/build/together/components/organisms/{cardReply/sourceList → sourceList}/recommentCategories/index.d.ts +0 -0
  270. /package/build/together/components/organisms/{cardReply/sourceList → sourceList}/recommentCategories/index.styled.d.ts +0 -0
  271. /package/build/together/components/organisms/{cardReply → sourceList}/sourceItem/index.d.ts +0 -0
  272. /package/build/together/components/organisms/{cardReply → sourceList}/sourceItem/index.styled.d.ts +0 -0
  273. /package/build/{translationsContext-7165ce76.js → translationsContext-f782ff56.js} +0 -0
  274. /package/build/{tslib.es6-16f09d23.js → tslib.es6-7da5763e.js} +0 -0
  275. /package/build/{useIsInit-7f558c3c.js → useIsInit-cc0a07fc.js} +0 -0
  276. /package/build/{useOutsideClick-7c2e47a0.js → useOutsideClick-9fc45503.js} +0 -0
  277. /package/build/{useScrollbarSize-d60f3b28.js → useScrollbarSize-70be7d32.js} +0 -0
  278. /package/build/{useUniqueId-77f6b27b.js → useUniqueId-71515148.js} +0 -0
  279. /package/build/{utils-89871862.js → utils-2fe5fc5c.js} +0 -0
@@ -1 +1 @@
1
- export{A as Alert,e as ArticleCard,s as BMICardEmbed,w as BMRCardEmbed,t as BabyGrowthCardEmbed,u as BabyPoopEmbed,B as Badge,a as BorderHeading,f as Breadcrumbs,l as Carousel,g as CategoryCard,C as Checkbox,h as CheckboxGroup,q as CookieAcceptConfirm,y as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,p as FloatButtonGroup,G as Grid,I as IconText,L as Immunization,O as OvulationCardEmbed,x as PWGCardEmbed,P as Pagination,d as Progress,i as ProgressBar,R as RateStars,H as RecordsByAgeGroup,k as ScrollList,r as SeoHead,S as Shadow,z as ShareContainer,E as ShareDrawer,j as SideMenu,m as StatisticCard,o as SurveyThankyouCard,v as THRCardEmbed,n as Table,T as Tag,J as TimelineBanner,b as Toggle,U as UnderlinedLink,c as Uploader,V as VaccineCard,K as VaccineDetailPopup}from"./index-4b8aceaf.js";export{A as Avatar,F as Flag,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-05cc9a9f.js";export{B as Button}from"./index-1aa85f8a.js";export{A as AuthorBadge,B as BtnChoice,D as Divider,T as Tabs}from"./index-8a2fe10d.js";export{H as Heading,M as Menu,P as PureInput,T as TextArea,a as TextDivider}from"./index.styled-366c3ac0.js";export{I as Input}from"./index-e15843d9.js";export{L as Label}from"./index.styled-dd14ac3c.js";export{L as Logo}from"./index-5027ae54.js";export{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.styled-6c45f86b.js";export{T as Text}from"./index-3bb29895.js";export{C as Container}from"./index-6babfc2c.js";export{D as Drawer,I as Icon,M as Modal,R as RadioImageGroup}from"./index-1ccae19d.js";export{N as NewBabyProfileRadio}from"./index-9bc207a0.js";export{C as CustomReferenceDot}from"./index-4b42e160.js";export{P as Popup}from"./dataTransform-8b16e7d8.js";export{P as PillCarousel}from"./index-82f4706e.js";export{Footer}from"./footer.js";import"react";import"./utils-2802793f.js";import"./useUniqueId-ecba19ff.js";import"./gAssets.js";import"./index-16e108e3.js";import"./Locale-93613537.js";import"./isProduction-ba4ad2c8.js";import"./theme-85ed0c46.js";import"./tslib.es6-15a36b3e.js";import"lodash/throttle";import"keen-slider/react";import"dayjs";import"./screenSizeContext-77ca87fe.js";import"styled-components";import"./useTranslations-8b5663e3.js";import"./translationsContext-993061c5.js";import"string-format";import"date-fns";import"@mantine/core";import"./index.styled-b766c971.js";import"./index.styled-192be4e4.js";import"./cookieHelper-89b11977.js";import"slugify";import"./routing-9c6b369c.js";import"dayjs/plugin/relativeTime";import"./index-706ed55d.js";import"./index-58583289.js";import"@mantine/hooks";import"./index-099d824a.js";import"react-hook-form";import"./useHealthToolCache-1b23e2a7.js";import"./getDynamicHealthTool-da5d4781.js";import"./core-082cc271.js";import"./normalizeLink-e17e7869.js";import"./useOutsideClick-57bfed0f.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-85a9db1b.js";import"@mantine/dates";import"./constants-6a3a1cc1.js";import"./useIsInit-ba9e0754.js";import"lodash/debounce";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-422789b0.js";import"react-dom";import"./index.styled-f7e290f3.js";import"./index-97901e64.js";import"@mantine/carousel";
1
+ export{A as Alert,e as ArticleCard,s as BMICardEmbed,w as BMRCardEmbed,t as BabyGrowthCardEmbed,u as BabyPoopEmbed,B as Badge,a as BorderHeading,f as Breadcrumbs,l as Carousel,g as CategoryCard,C as Checkbox,h as CheckboxGroup,q as CookieAcceptConfirm,y as DateRangePicker,D as DueDateCardEmbed,F as FileDropdown,p as FloatButtonGroup,G as Grid,I as IconText,L as Immunization,O as OvulationCardEmbed,x as PWGCardEmbed,P as Pagination,d as Progress,i as ProgressBar,R as RateStars,H as RecordsByAgeGroup,k as ScrollList,r as SeoHead,S as Shadow,z as ShareContainer,E as ShareDrawer,j as SideMenu,m as StatisticCard,o as SurveyThankyouCard,v as THRCardEmbed,n as Table,T as Tag,J as TimelineBanner,b as Toggle,U as UnderlinedLink,c as Uploader,V as VaccineCard,K as VaccineDetailPopup}from"./index-693aacdc.js";export{A as Avatar,F as Flag,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-3f781614.js";export{B as Button}from"./index-bed3247d.js";export{A as AuthorBadge,B as BtnChoice,D as Divider,T as Tabs}from"./index-f5718bdd.js";export{H as Heading,M as Menu,P as PureInput,T as TextArea,a as TextDivider}from"./index.styled-e6d05e31.js";export{I as Input}from"./index-e4836320.js";export{L as Label}from"./index.styled-8f59035f.js";export{L as Logo}from"./index-8ac32fa0.js";export{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.styled-77b271f5.js";export{T as Text}from"./index-db2e1d7b.js";export{C as Container}from"./index-7a57bc59.js";export{D as Drawer,I as Icon,M as Modal,R as RadioImageGroup}from"./index-d24056ce.js";export{N as NewBabyProfileRadio}from"./index-04aac021.js";export{C as CustomReferenceDot}from"./index-9f83d332.js";export{P as Popup}from"./dataTransform-7c7cd603.js";export{P as PillCarousel}from"./index-eb7126f6.js";export{Footer}from"./footer.js";import"react";import"./utils-1fa73d05.js";import"./useUniqueId-2654c98c.js";import"./gAssets.js";import"./index-f1e8b189.js";import"./Locale-c8320005.js";import"./isProduction-35cc6094.js";import"./theme-35a76b33.js";import"./tslib.es6-cb3ea48c.js";import"lodash/throttle";import"keen-slider/react";import"dayjs";import"./screenSizeContext-88744824.js";import"styled-components";import"./useTranslations-860db584.js";import"./translationsContext-7730f46a.js";import"string-format";import"date-fns";import"@mantine/core";import"./index.styled-1c09bfcc.js";import"./index.styled-53842855.js";import"./cookieHelper-46eca077.js";import"slugify";import"./routing-065ec7dc.js";import"dayjs/plugin/relativeTime";import"./index-1212f61e.js";import"./index-44a439da.js";import"@mantine/hooks";import"./index-bff98440.js";import"react-hook-form";import"./useHealthToolCache-a6576ccb.js";import"./getDynamicHealthTool-f24e91d5.js";import"./core-55659962.js";import"./normalizeLink-22f231d9.js";import"./useOutsideClick-b3adcf0b.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-b4b810ea.js";import"@mantine/dates";import"./constants-170605f8.js";import"./useIsInit-17c423cc.js";import"lodash/debounce";import"@hookform/resolvers/yup";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-e8a276bb.js";import"react-dom";import"./index.styled-70d2421e.js";import"./index-054ee498.js";import"@mantine/carousel";
@@ -1 +1 @@
1
- import"./Locale-93613537.js";export{a as CARE_BOOKING_LOCALES,C as CARE_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,b as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,c as siteHost,s as siteOptions}from"./index-16e108e3.js";export{i as isProduction}from"./isProduction-ba4ad2c8.js";
1
+ import"./Locale-c8320005.js";export{a as CARE_BOOKING_LOCALES,C as CARE_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,b as USER_GEOLOCATION_COORDINATES_COOKIE,d as domainLocales,c as siteHost,s as siteOptions}from"./index-f1e8b189.js";export{i as isProduction}from"./isProduction-35cc6094.js";
@@ -1 +1 @@
1
- import{a as t}from"./tslib.es6-15a36b3e.js";import{i as e}from"./isProduction-ba4ad2c8.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-cb3ea48c.js";import{i as e}from"./isProduction-35cc6094.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 +1 @@
1
- import e from"react";import{as as i,at as o}from"./index.styled-192be4e4.js";const t=({type:t="lead",closeIcon:l,isOpen:n=!0,onClose:a,children:r,className:d="",enableAnimation:s=!0})=>e.createElement(e.Fragment,null,e.createElement(i,{"data-open":n,"data-type":t,"data-animation":s},e.createElement("div",{className:`${d||""} popup-content`},!!l&&e.createElement("div",{className:"close-button",onClick:a},l),r)),e.createElement(o,{"data-open":n,onClick:a})),l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},a=e=>{var i,o,t,a;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:r(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:r(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:r(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:r(null===(a=null==e?void 0:e.reviewed)||void 0===a?void 0:a.fact_check)}):null,category:u(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(u),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},r=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},s=e=>({postTitle:e.post_title,permalink:e.permalink}),u=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>u(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?s(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,_,g,y,w,h,b,k,I,C,S,T,x,A,B,P,D,q,N;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(S=e.mentioned)||void 0===S?void 0:S.type)||"",email:(null===(T=e.mentioned)||void 0===T?void 0:T.email)||"",partnerId:(null===(x=e.mentioned)||void 0===x?void 0:x.partner_id)?String(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:a,formatUserProfile:r,formatBMIResult:e=>{var i,o,t,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:d,formatReviewedCategory:s,formatCategory:u,formatCategoryApi:e=>e?{categoryInfo:u(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(a),subCategories:(e.data.sub_categories||[]).map(u)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});export{t as P,y as a,c as b,g as c,h as d,p as e,w as f,f as g,a as h,u as i};
1
+ import e from"react";import{as as i,at as o}from"./index.styled-53842855.js";const t=({type:t="lead",closeIcon:l,isOpen:n=!0,onClose:a,children:r,className:d="",enableAnimation:s=!0})=>e.createElement(e.Fragment,null,e.createElement(i,{"data-open":n,"data-type":t,"data-animation":s},e.createElement("div",{className:`${d||""} popup-content`},!!l&&e.createElement("div",{className:"close-button",onClick:a},l),r)),e.createElement(o,{"data-open":n,onClick:a})),l=e=>e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{},n=e=>e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{},a=e=>{var i,o,t,a;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:l(e.author),reviewer:e.reviewed_by&&l(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?Object.assign(Object.assign({},null==e?void 0:e.reviewed),{author:r(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:r(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:r(null===(t=null==e?void 0:e.reviewed)||void 0===t?void 0:t.expert),fact_check:r(null===(a=null==e?void 0:e.reviewed)||void 0===a?void 0:a.fact_check)}):null,category:u(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(u),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:n(e.expert),metaTag:e.meta_tag||null}:{}},r=e=>void 0!==e&&e?Object.assign(Object.assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:e.profile_url}):null,d=e=>e?{title:e.title,logo:e.logo,link:e.link}:{},s=e=>({postTitle:e.post_title,permalink:e.permalink}),u=e=>{var i,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?d(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(i=e.child_cates)||void 0===i?void 0:i.map((e=>u(e))))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?s(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((e=>m(e))):null}:{}},m=e=>({title:e.title,content:e.content}),v=e=>e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{},c=e=>e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{},p=e=>{var i,o,t,l;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(t=e.community)||void 0===t?void 0:t.slug,communityName:null===(l=e.community)||void 0===l?void 0:l.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},_=e=>e?{answer:null==e?void 0:e.answer.map(f),expert:null==e?void 0:e.expert}:{},g=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,g,y,f,w,h,b,k;return e?{id:e.id,topics:(null===(i=e.topics)||void 0===i?void 0:i.map((i=>{var o,t,l,n;return{id:i.id||0,name:i.name||"",slug:i.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+i.slug,communityId:String(null===(t=e.community)||void 0===t?void 0:t.id),communitySlug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",communityName:(null===(n=e.community)||void 0===n?void 0:n.name)||"",isHidden:Boolean(i.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(t=e.community)||void 0===t?void 0:t.name)||"",slug:(null===(l=e.community)||void 0===l?void 0:l.slug)||"",isActive:!0,isHidden:Boolean(null===(n=e.community)||void 0===n?void 0:n.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(r=e.user)||void 0===r?void 0:r.user_name)||"",email:(null===(d=e.user)||void 0===d?void 0:d.email)||"",name:(null===(s=e.user)||void 0===s?void 0:s.name)||"",avatar:(null===(u=e.user)||void 0===u?void 0:u.avatar)||"",role:(null===(m=e.user)||void 0===m?void 0:m.role)?null===(c=null===(v=e.user)||void 0===v?void 0:v.role)||void 0===c?void 0:c.toLowerCase():"",type:(null===(p=e.user)||void 0===p?void 0:p.type)||"",partnerId:(null===(g=e.user)||void 0===g?void 0:g.partner_id)?String(null===(y=e.user)||void 0===y?void 0:y.partner_id):"",title:(null===(f=e.user)||void 0===f?void 0:f.title)||"",doctorId:(null===(w=e.user)||void 0===w?void 0:w.doctor_id)?String(null===(h=e.user)||void 0===h?void 0:h.doctor_id):"",hospitalId:(null===(b=e.user)||void 0===b?void 0:b.hospital_id)?String(null===(k=e.user)||void 0===k?void 0:k.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:_(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},y=e=>e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{},f=e=>{var i,o,t,l,n,a,r,d,s,u,m,v,c,p,_,g,y,w,h,b,k,I,C,S,T,x,A,B,P,D,q,N;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(f):[],author:{id:(null===(i=e.user)||void 0===i?void 0:i.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(t=e.user)||void 0===t?void 0:t.name)||"",role:(null===(l=e.user)||void 0===l?void 0:l.role)?null===(a=null===(n=e.user)||void 0===n?void 0:n.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(r=e.user)||void 0===r?void 0:r.avatar)||"",type:(null===(d=e.user)||void 0===d?void 0:d.type)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",partnerId:(null===(u=e.user)||void 0===u?void 0:u.partner_id)?String(null===(m=e.user)||void 0===m?void 0:m.partner_id):"",title:(null===(v=e.user)||void 0===v?void 0:v.title)||"",doctorId:(null===(c=e.user)||void 0===c?void 0:c.doctor_id)?String(null===(p=e.user)||void 0===p?void 0:p.doctor_id):"",hospitalId:(null===(_=e.user)||void 0===_?void 0:_.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(y=e.mentioned)||void 0===y?void 0:y.id)||0,username:(null===(w=e.mentioned)||void 0===w?void 0:w.user_name)||"",name:(null===(h=e.mentioned)||void 0===h?void 0:h.name)||"",role:(null===(b=e.mentioned)||void 0===b?void 0:b.role)?null===(I=null===(k=e.mentioned)||void 0===k?void 0:k.role)||void 0===I?void 0:I.toLowerCase():"",avatar:(null===(C=e.mentioned)||void 0===C?void 0:C.avatar)||"",type:(null===(S=e.mentioned)||void 0===S?void 0:S.type)||"",email:(null===(T=e.mentioned)||void 0===T?void 0:T.email)||"",partnerId:(null===(x=e.mentioned)||void 0===x?void 0:x.partner_id)?String(null===(A=e.mentioned)||void 0===A?void 0:A.partner_id):"",doctorId:(null===(B=e.mentioned)||void 0===B?void 0:B.doctor_id)?String(null===(P=e.mentioned)||void 0===P?void 0:P.doctor_id):"",hospitalId:(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id)?String(null===(q=e.mentioned)||void 0===q?void 0:q.hospital_id):"",title:(null===(N=e.mentioned)||void 0===N?void 0:N.title)||""}:null,mentions:e.mentions||[],isSensitive:e.is_sensitive||0,userReadComment:e.user_read_comment,source:e.source||[],isVerify:e.is_verify||0,isOppose:e.is_oppose||0,userVerify:e.user_verify||{},categorySlug:e.categories||""}:{}},w=e=>void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?`/expert/${null==e?void 0:e.slug}`:`/author/${null==e?void 0:e.slug}`:(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":"";var h=Object.freeze({__proto__:null,formatAuthor:l,formatArticleExpert:n,formatArticle:a,formatUserProfile:r,formatBMIResult:e=>{var i,o,t,l,n,a,r,d,s;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(i=null==e?void 0:e.comparison)&&void 0!==i?i:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(t=null==e?void 0:e.risk)&&void 0!==t?t:""},{tab:"tools.suggestion",content:null!==(l=null==e?void 0:e.suggestion)&&void 0!==l?l:""}],chartData:(null===(n=null==e?void 0:e.chart_data)||void 0===n?void 0:n.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(r=null==e?void 0:e.illustrator)&&void 0!==r?r:"",faqs:null!==(d=null==e?void 0:e.faqs)&&void 0!==d?d:[],suggestedArticlesLink:null!==(s=null==e?void 0:e.suggested_articles_link)&&void 0!==s?s:""}:{}},formatSponsor:d,formatReviewedCategory:s,formatCategory:u,formatCategoryApi:e=>e?{categoryInfo:u(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(a),subCategories:(e.data.sub_categories||[]).map(u)}:{},formatFaqsCategory:m,formatHealthTool:v,formatHealthToolTypeCategory:e=>{var i,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(i=null==e?void 0:e.health_tools)||void 0===i?void 0:i.map((e=>v(e))))&&void 0!==o?o:[]}:{}},formatCommunity:c,formatTopic:p,formatExpertAnswer:_,formatPost:g,formatPostPagination:e=>e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{},formatNotification:e=>{var i,o,t;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(i=e.from_user)||void 0===i?void 0:i.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(t=e.from_user)||void 0===t?void 0:t.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:e=>e?e.map((e=>({id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}))):[],formatOvulationInfo:y,formatSuggestedArticle:e=>e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{},formatTopicHealthTool:e=>e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{},formatComment:f,formatReportedPostToPostDetail:e=>e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{},formatTopicSubot:e=>e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{},formatSiteWideBanner:(e,i)=>void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:i||"other"}:null,formatPWGContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatUserProfileUrl:w,formatTHRContent:e=>e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?r(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{},formatBabyGrowthContent:e=>{var i,o,t;return e&&e.information?{information:null!==(i=e.information.map((e=>({title:e.title,description:e.description}))))&&void 0!==i?i:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(t=e.reviewed_by)||void 0===t?void 0:t.name)||"",date:e.reviewed_date||"",link:w(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}});export{t as P,y as a,c as b,g as c,h as d,p as e,w as f,f as g,a as h,u as i};
@@ -1 +1 @@
1
- import e from"react";import{B as t}from"./index-1aa85f8a.js";import{C as a}from"./index-6babfc2c.js";import{T as l}from"./index-3bb29895.js";import{d as n}from"./index-16e108e3.js";import{t as o}from"./theme-85ed0c46.js";import{u as i}from"./useTranslations-8b5663e3.js";import{L as r}from"./index-5027ae54.js";import{M as c}from"./index-706ed55d.js";import"./tslib.es6-15a36b3e.js";import"./utils-2802793f.js";import"styled-components";import"./gAssets.js";import"./isProduction-ba4ad2c8.js";import"./Locale-93613537.js";import"./translationsContext-993061c5.js";import"string-format";import"./index.styled-b766c971.js";var s="Lj0qoTD",m="OO-qFWT";const d=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:m,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),v=({className:r,type:c="main",footerInfo:m,isMobile:v,locale:u})=>{var E,g,y,p,b,N,f,h,k,F,$,z,j,C,T,x,M,L,w,A,_,H,B,I,G,S,D,q;const{t:J}=i(),K=null==m?void 0:m.menu,O=(null===(g=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===g?void 0:g.filter(Boolean))||[];return e.createElement("footer",{className:`${s} ${r||""}`,style:"mini"===c?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":c},"main"===c?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===u})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(p=null==m?void 0:m.general)||void 0===p?void 0:p.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(f=null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.socials)||void 0===f?void 0:f.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(k=null===(h=K[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(F=K[1])||void 0===F?void 0:F.menu_title),null===(z=null===($=K[1])||void 0===$?void 0:$.items)||void 0===z?void 0:z.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(j=K[2])||void 0===j?void 0:j.menu_title),null===(T=null===(C=K[2])||void 0===C?void 0:C.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(x=null==m?void 0:m.branch)||void 0===x?void 0:x.title),e.createElement("div",{className:"flags"},null===(L=null===(M=null==m?void 0:m.branch)||void 0===M?void 0:M.branch)||void 0===L?void 0:L.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:v,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==m?void 0:m.general)||void 0===w?void 0:w.copyright)),"vi-VN"===u&&e.createElement(l,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[1])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==m?void 0:m.menu[1])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[u]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`,size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.menu_title),null===(G=null===(I=null==m?void 0:m.menu[2])||void 0===I?void 0:I.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==c&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(S=null==m?void 0:m.social)||void 0===S?void 0:S.title),e.createElement("div",{className:"icons"},null===(q=null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.socials)||void 0===q?void 0:q.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var u="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",b="_8eUT8Jr",N="cjDwoLi";const f=({logoType:t="marryBaby",footerMenu:l,background:n})=>{var i;if(!l)return null;const{general:s,menu:m,socials:d}=l;return e.createElement("footer",{className:u,style:{backgroundColor:n||"none"}},e.createElement("div",{className:N},e.createElement(a,null,e.createElement("div",{className:E},null==m?void 0:m.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:g,key:`mbf${l}`},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:y,key:`mbitem${l}`},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(r,{className:"logo",type:t}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),e.createElement("div",{className:"social-link"},null==d?void 0:d.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{loading:"lazy",src:t,alt:a}))))))),e.createElement("div",{className:b},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),e.createElement("div",{className:"verify"},null===(i=null==s?void 0:s.verified)||void 0===i?void 0:i.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a})))))))))},h=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(v,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(f,{footerMenu:n,background:i});export{h as Footer};
1
+ import e from"react";import{B as t}from"./index-bed3247d.js";import{C as a}from"./index-7a57bc59.js";import{T as l}from"./index-db2e1d7b.js";import{d as n}from"./index-f1e8b189.js";import{t as o}from"./theme-35a76b33.js";import{u as i}from"./useTranslations-860db584.js";import{L as r}from"./index-8ac32fa0.js";import{M as c}from"./index-1212f61e.js";import"./tslib.es6-cb3ea48c.js";import"./utils-1fa73d05.js";import"styled-components";import"./gAssets.js";import"./isProduction-35cc6094.js";import"./Locale-c8320005.js";import"./translationsContext-7730f46a.js";import"string-format";import"./index.styled-1c09bfcc.js";var s="Lj0qoTD",m="OO-qFWT";const d=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:m,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),v=({className:r,type:c="main",footerInfo:m,isMobile:v,locale:u})=>{var E,g,y,p,b,N,f,h,k,F,$,z,j,C,T,x,M,L,w,A,_,H,B,I,G,S,D,q;const{t:J}=i(),K=null==m?void 0:m.menu,O=(null===(g=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===g?void 0:g.filter(Boolean))||[];return e.createElement("footer",{className:`${s} ${r||""}`,style:"mini"===c?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":c},"main"===c?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===u})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(l,{size:"p1",type:"bold"},null===(p=null==m?void 0:m.general)||void 0===p?void 0:p.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(f=null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.socials)||void 0===f?void 0:f.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(k=null===(h=K[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(F=K[1])||void 0===F?void 0:F.menu_title),null===(z=null===($=K[1])||void 0===$?void 0:$.items)||void 0===z?void 0:z.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(j=K[2])||void 0===j?void 0:j.menu_title),null===(T=null===(C=K[2])||void 0===C?void 0:C.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(l,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(x=null==m?void 0:m.branch)||void 0===x?void 0:x.title),e.createElement("div",{className:"flags"},null===(L=null===(M=null==m?void 0:m.branch)||void 0===M?void 0:M.branch)||void 0===L?void 0:L.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(d,{url:t.flag,isMobile:v,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(l,{size:"xs",type:"regular",className:"copyright-content"},null===(w=null==m?void 0:m.general)||void 0===w?void 0:w.copyright)),"vi-VN"===u&&e.createElement(l,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[1])||void 0===A?void 0:A.menu_title),null===(H=null===(_=null==m?void 0:m.menu[1])||void 0===_?void 0:_.items)||void 0===H?void 0:H.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[u]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[u]}${t.url}`},e.createElement(l,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[u]}${t.url}`,size:"sm",type:"regular",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(l,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.menu_title),null===(G=null===(I=null==m?void 0:m.menu[2])||void 0===I?void 0:I.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(l,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==c&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(l,{size:"sm",type:"regular"},null===(S=null==m?void 0:m.social)||void 0===S?void 0:S.title),e.createElement("div",{className:"icons"},null===(q=null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.socials)||void 0===q?void 0:q.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var u="B6-KmWK",E="GS-7mbG",g="qc5bEb3",y="CQGVeuT",p="_6JMoel-",b="_8eUT8Jr",N="cjDwoLi";const f=({logoType:t="marryBaby",footerMenu:l,background:n})=>{var i;if(!l)return null;const{general:s,menu:m,socials:d}=l;return e.createElement("footer",{className:u,style:{backgroundColor:n||"none"}},e.createElement("div",{className:N},e.createElement(a,null,e.createElement("div",{className:E},null==m?void 0:m.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:g,key:`mbf${l}`},e.createElement(c,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:y,key:`mbitem${l}`},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:p},e.createElement(r,{className:"logo",type:t}),e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),e.createElement("div",{className:"social-link"},null==d?void 0:d.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{loading:"lazy",src:t,alt:a}))))))),e.createElement("div",{className:b},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(c,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),e.createElement("div",{className:"verify"},null===(i=null==s?void 0:s.verified)||void 0===i?void 0:i.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a})))))))))},h=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(v,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(f,{footerMenu:n,background:i});export{h as Footer};
@@ -1 +1 @@
1
- import{d as s}from"./index-16e108e3.js";import{i as e}from"./isProduction-ba4ad2c8.js";import"./Locale-93613537.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,s].join("/");return e||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:e}=window.location,o=e.split("."),i=s[Object.keys(s).find((t=>e.includes(s[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,o as GAssets};
1
+ import{d as s}from"./index-f1e8b189.js";import{i as e}from"./isProduction-35cc6094.js";import"./Locale-c8320005.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,s].join("/");return e||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:e}=window.location,o=e.split("."),i=s[Object.keys(s).find((t=>e.includes(s[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,o as GAssets};
@@ -1 +1 @@
1
- import{a as t}from"./tslib.es6-15a36b3e.js";import{g as i}from"./core-082cc271.js";import{n as o}from"./normalizeLink-e17e7869.js";import{c as l}from"./routing-9c6b369c.js";const e=(t,i)=>{var o,l;if(!t)return{};const e="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(o=t.link)||void 0===o?void 0:o.startsWith("http"))?t.link:`${e}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${e}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const s="tl-PH"===i?"lang=fil":"";let a=[];try{const d=yield r(o(`${l(i)}/wp-json/api/healthtools?ismenu=0${s?"&"+s:""}`)).then((t=>t.json()));a=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>e(t,i))))||[]}catch(t){}return a}catch(t){console.error(t)}})),r=o=>t(void 0,void 0,void 0,(function*(){return(yield i("all-health-tools",(()=>n(o||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{r as a,e as f,n as g};
1
+ import{a as t}from"./tslib.es6-cb3ea48c.js";import{g as i}from"./core-55659962.js";import{n as o}from"./normalizeLink-22f231d9.js";import{c as l}from"./routing-065ec7dc.js";const e=(t,i)=>{var o,l;if(!t)return{};const e="tl-PH"===i?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(o=t.link)||void 0===o?void 0:o.startsWith("http"))?t.link:`${e}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${e}/`,"/")),subtitle:t.subtitle,title:t.title}},n=i=>t(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const s="tl-PH"===i?"lang=fil":"";let a=[];try{const d=yield r(o(`${l(i)}/wp-json/api/healthtools?ismenu=0${s?"&"+s:""}`)).then((t=>t.json()));a=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>e(t,i))))||[]}catch(t){}return a}catch(t){console.error(t)}})),r=o=>t(void 0,void 0,void 0,(function*(){return(yield i("all-health-tools",(()=>n(o||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{r as a,e as f,n as g};
@@ -1 +1 @@
1
- import e from"react";import{L as t}from"./Locale-93613537.js";import{CommonGAssets as C}from"./gAssets.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${l}`,allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${l}`},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
1
+ import e from"react";import{L as t}from"./Locale-c8320005.js";import{CommonGAssets as C}from"./gAssets.js";const l=l=>[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${l}`,allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),e.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),e.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${l}`},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${l}`},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),e.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),e.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),e.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),e.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
@@ -1 +1 @@
1
- export{u as useTranslations}from"./useTranslations-8b5663e3.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-422789b0.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-95c48a53.js";export{u as useHealthToolsCache}from"./useHealthToolCache-1b23e2a7.js";export{u as useIsInit}from"./useIsInit-ba9e0754.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-57bfed0f.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-ecba19ff.js";import"react";import"./translationsContext-993061c5.js";import"string-format";import"lodash/debounce";import"./tslib.es6-15a36b3e.js";import"./cookieHelper-89b11977.js";import"./getDynamicHealthTool-da5d4781.js";import"./core-082cc271.js";import"./isProduction-ba4ad2c8.js";import"./normalizeLink-e17e7869.js";import"./routing-9c6b369c.js";import"./index-16e108e3.js";import"./Locale-93613537.js";
1
+ export{u as useTranslations}from"./useTranslations-860db584.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-e8a276bb.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-e6b465bb.js";export{u as useHealthToolsCache}from"./useHealthToolCache-a6576ccb.js";export{u as useIsInit}from"./useIsInit-17c423cc.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-b3adcf0b.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-2654c98c.js";import"react";import"./translationsContext-7730f46a.js";import"string-format";import"lodash/debounce";import"./tslib.es6-cb3ea48c.js";import"./cookieHelper-46eca077.js";import"./getDynamicHealthTool-f24e91d5.js";import"./core-55659962.js";import"./isProduction-35cc6094.js";import"./normalizeLink-22f231d9.js";import"./routing-065ec7dc.js";import"./index-f1e8b189.js";import"./Locale-c8320005.js";
package/build/esm/i18n.js CHANGED
@@ -1 +1 @@
1
- export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-01f4c348.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-993061c5.js";import"react";
1
+ export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-ccaaba93.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-7730f46a.js";import"react";
@@ -0,0 +1 @@
1
+ import e from"react";import{u as a}from"./useTranslations-860db584.js";import{t}from"./theme-35a76b33.js";import{I as r}from"./index-d24056ce.js";import{I as o}from"./index-e4836320.js";import{M as s}from"./index-1212f61e.js";import{T as i}from"./index-db2e1d7b.js";import{ai as m}from"./index.styled-e6d05e31.js";const c=({isActive:c,onChange:n,value:l="",onInputChange:d,siteType:p})=>{const{t:y}=a(),b="marryBaby"===p;return e.createElement(m,{onClick:()=>n("new"),"data-is-mb":b,"data-isActive":b&&c},"marryBaby"===p?e.createElement("div",{className:"title"},e.createElement(s,{type:"bodytext-1",color:t.colors.gray800},y("chooseBaby.new")),e.createElement("div",{className:c?"radio active":"radio"},c&&e.createElement(r.CheckActiveMB,{size:26}))):e.createElement("div",{className:"title"},e.createElement(i,{size:"p2",color:t.colors.gray800},y("chooseBaby.new")),e.createElement("div",{className:c?"radio active":"radio"})),e.createElement(o,{name:"name",value:l,size:"md",placeholder:y("chooseBaby.placeholder"),type:"text",onChange:d}))};export{c as N};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-15a36b3e.js";import l,{createContext as r,useContext as n,useRef as t,useState as i,useEffect as o}from"react";import{Carousel as c}from"@mantine/carousel";import{useResizeObserver as d}from"@mantine/hooks";const a=c.Slide,s=r({}),u=(e,l)=>e>=l?e-l:e,p=r=>{var{children:n,blurFromCenter:a,blurFromIndex:p,blurLength:h=3,maxBlurOpacity:m=.5,onSlideChange:x,selectSlideWhenClick:v}=r,g=e(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const[b,S]=d(),f=t(null),[y,C]=i(0),k=()=>{var e,l,r;const n=null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.selectedScrollSnap();C(n);const t=(null===(l=null==f?void 0:f.current)||void 0===l?void 0:l.slideNodes())||[],i=t.length,o=(null===(r=null==f?void 0:f.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,s=n+d,x=s===i?0:s>i?s-i:s,v=n-d,g=v<0?i+v:v>0?n-d:0,b=Array(2*d+1).fill("").map(((e,l)=>u(g+l,i)));t.map(((e,l)=>{if(l===n?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const n=m/h;for(let o=0;o<h;o++){if(l===u(g+o,i)||l===(t=i,(r=x-o)<0?t+r:r)){e.style.opacity=String((o+1)*n);break}e.style.opacity="1"}}else e.style.opacity="0";var r,t}))},w={getEmblaApi:e=>{f.current=e},onSlideChange:e=>{k(),null==x||x(e)}};return o((()=>{(null==f?void 0:f.current)&&k()}),[S]),l.createElement(s.Provider,{value:{slider:null==f?void 0:f.current,centerSlide:y,selectSlideWhenClick:v}},l.createElement(c,Object.assign({ref:b,slideSize:"auto",containScroll:"trimSnaps"},w,g,{loop:!0}),"function"==typeof n?n(y):n))};p.Slide=r=>{var{children:c,onClick:d}=r,u=e(r,["children","onClick"]);const{slider:p,selectSlideWhenClick:h}=n(s),m=t(),x=t(""),[v,g]=i(0);o((()=>{x.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==p?void 0:p.slideNodes())||[];g(e.findIndex((e=>e.dataset.key===x.current)))}),[p]);const b={ref:m,"data-key":x.current,"data-index":v,styles:()=>({control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}})};return l.createElement(a,Object.assign({},b,u),l.createElement("div",{onClick:()=>{h&&(null==p||p.scrollTo(v)),null==d||d(v)}},c))};export{p as C};
1
+ import{_ as e}from"./tslib.es6-cb3ea48c.js";import l,{createContext as r,useContext as n,useRef as t,useState as i,useEffect as o}from"react";import{Carousel as c}from"@mantine/carousel";import{useResizeObserver as d}from"@mantine/hooks";const a=c.Slide,s=r({}),u=(e,l)=>e>=l?e-l:e,p=r=>{var{children:n,blurFromCenter:a,blurFromIndex:p,blurLength:h=3,maxBlurOpacity:m=.5,onSlideChange:x,selectSlideWhenClick:v}=r,g=e(r,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const[b,S]=d(),f=t(null),[y,C]=i(0),k=()=>{var e,l,r;const n=null===(e=null==f?void 0:f.current)||void 0===e?void 0:e.selectedScrollSnap();C(n);const t=(null===(l=null==f?void 0:f.current)||void 0===l?void 0:l.slideNodes())||[],i=t.length,o=(null===(r=null==f?void 0:f.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,s=n+d,x=s===i?0:s>i?s-i:s,v=n-d,g=v<0?i+v:v>0?n-d:0,b=Array(2*d+1).fill("").map(((e,l)=>u(g+l,i)));t.map(((e,l)=>{if(l===n?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==b.indexOf(l)){const n=m/h;for(let o=0;o<h;o++){if(l===u(g+o,i)||l===(t=i,(r=x-o)<0?t+r:r)){e.style.opacity=String((o+1)*n);break}e.style.opacity="1"}}else e.style.opacity="0";var r,t}))},w={getEmblaApi:e=>{f.current=e},onSlideChange:e=>{k(),null==x||x(e)}};return o((()=>{(null==f?void 0:f.current)&&k()}),[S]),l.createElement(s.Provider,{value:{slider:null==f?void 0:f.current,centerSlide:y,selectSlideWhenClick:v}},l.createElement(c,Object.assign({ref:b,slideSize:"auto",containScroll:"trimSnaps"},w,g,{loop:!0}),"function"==typeof n?n(y):n))};p.Slide=r=>{var{children:c,onClick:d}=r,u=e(r,["children","onClick"]);const{slider:p,selectSlideWhenClick:h}=n(s),m=t(),x=t(""),[v,g]=i(0);o((()=>{x.current=String(Math.round(1e4*Math.random()))}),[]),o((()=>{const e=(null==p?void 0:p.slideNodes())||[];g(e.findIndex((e=>e.dataset.key===x.current)))}),[p]);const b={ref:m,"data-key":x.current,"data-index":v,styles:()=>({control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}})};return l.createElement(a,Object.assign({},b,u),l.createElement("div",{onClick:()=>{h&&(null==p||p.scrollTo(v)),null==d||d(v)}},c))};export{p as C};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-cb3ea48c.js";import t from"react";import{S as s,a}from"./index.styled-1c09bfcc.js";const r=a=>{var{type:r,color:c,style:l}=a,o=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},c&&{"--text-color":c}),l)},o))},c=s=>{var{type:r,color:c,style:l}=s,o=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},l),c&&{"--text-color":c})},o))};export{c as M,r as a};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-cb3ea48c.js";import t from"react";import{CommonGAssets as s}from"./gAssets.js";import{S as l}from"./index.styled-75b0ceaa.js";const r=r=>{var{title:a}=r,o=e(r,["title"]);return t.createElement(t.Fragment,null,t.createElement(l,Object.assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},o,{withCloseButton:!1,title:o.withCloseButton&&t.createElement(t.Fragment,null,a,t.createElement("img",{className:"mantine-Modal-close",src:s.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=o.onClose)||void 0===e?void 0:e.call(o)}}))})))};export{r as M};