@hhgtech/hhg-components 1.27.48 → 1.27.49

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 (271) hide show
  1. package/build/babyGrowth.js +8 -8
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components.js +1 -1
  5. package/build/constants.js +1 -1
  6. package/build/core-a7fd36f9.js +1 -0
  7. package/build/{dataTransform-e0cf28bf.js → dataTransform-a877a1d9.js} +1 -1
  8. package/build/ecom.js +1 -1
  9. package/build/esm/babyGrowth.js +9 -9
  10. package/build/esm/cache.js +1 -1
  11. package/build/esm/care.js +1 -1
  12. package/build/esm/components.js +1 -1
  13. package/build/esm/constants.js +1 -1
  14. package/build/esm/{core-47f7c420.js → core-99276049.js} +1 -1
  15. package/build/esm/{dataTransform-dda7a399.js → dataTransform-a834f3ac.js} +1 -1
  16. package/build/esm/ecom.js +1 -1
  17. package/build/esm/{fixedBottomAdBlock-3f878d87.js → fixedBottomAdBlock-9250750d.js} +1 -1
  18. package/build/esm/footer.js +1 -1
  19. package/build/esm/gAssets.js +1 -1
  20. package/build/esm/getDynamicHealthTool-70eef22c.js +1 -0
  21. package/build/esm/{getSocialList-68bb1fd4.js → getSocialList-18b2ad1c.js} +1 -1
  22. package/build/esm/hooks.js +1 -1
  23. package/build/esm/i18n.js +1 -1
  24. package/build/esm/i18nV2.js +1 -1
  25. package/build/esm/{index-b03ea021.js → index-014c2f5f.js} +1 -1
  26. package/build/esm/{index-110ada22.js → index-0d4f4953.js} +1 -1
  27. package/build/esm/{index-6c5b5a00.js → index-0f04c35c.js} +1 -1
  28. package/build/esm/{index-2c7368d1.js → index-2453ae11.js} +1 -1
  29. package/build/esm/{index-e8f3b14d.js → index-26d0a880.js} +1 -1
  30. package/build/esm/{index-1009626b.js → index-2ed096af.js} +1 -1
  31. package/build/esm/{index-fc9a05b4.js → index-2f3e37d2.js} +1 -1
  32. package/build/esm/{index-a9593d6c.js → index-3b4271a6.js} +1 -1
  33. package/build/esm/{index-52c46e0c.js → index-3c52d2ad.js} +1 -1
  34. package/build/esm/{index-b1b71a32.js → index-442a324a.js} +1 -1
  35. package/build/esm/{index-d95fe837.js → index-4b217c9d.js} +1 -1
  36. package/build/esm/index-4c1babea.js +1 -0
  37. package/build/esm/{index-1d4d1ee8.js → index-4f1fb1a1.js} +1 -1
  38. package/build/esm/{index-03a460e4.js → index-55e2d5dd.js} +22 -22
  39. package/build/esm/{index-63138cda.js → index-5ce92707.js} +1 -1
  40. package/build/esm/{index-6c1be30b.js → index-6ec3a16d.js} +1 -1
  41. package/build/esm/index-9f6d7528.js +1 -0
  42. package/build/esm/{index-9460a556.js → index-a215d4ba.js} +1 -1
  43. package/build/esm/index-a9ca3ffb.js +1 -0
  44. package/build/esm/{index-b3c583b2.js → index-b93a8283.js} +1 -1
  45. package/build/esm/{index-70dc7e49.js → index-ba6fc1ac.js} +1 -1
  46. package/build/esm/{index-9ebf8229.js → index-c2fae527.js} +1 -1
  47. package/build/esm/{index-fffcec85.js → index-d2877bef.js} +1 -1
  48. package/build/esm/{index-9f8f5edc.js → index-ee85df02.js} +1 -1
  49. package/build/esm/{index-a29b6b88.js → index-ff9e1845.js} +6 -6
  50. package/build/esm/index.js +1 -1
  51. package/build/esm/{index.styled-66cdf0c7.js → index.styled-0befdcac.js} +12 -12
  52. package/build/esm/{index.styled-df9f449c.js → index.styled-643691a4.js} +4 -4
  53. package/build/esm/{index.styled-7fa76403.js → index.styled-8ff3cc3f.js} +4 -4
  54. package/build/esm/lead.css +1 -1
  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/onboardingV2.js +1 -1
  61. package/build/esm/pwg.js +5 -5
  62. package/build/esm/{routing-78c03a1d.js → routing-f5c71fa7.js} +1 -1
  63. package/build/esm/{screenSizeContext-9e43df5d.js → screenSizeContext-d5b12b9b.js} +1 -1
  64. package/build/esm/together.js +1 -1
  65. package/build/esm/{types-f63de842.js → types-5e16215b.js} +1 -1
  66. package/build/esm/{types-47e5415e.js → types-f1473b2c.js} +1 -1
  67. package/build/esm/types.js +1 -1
  68. package/build/esm/useHealthToolCache-91a0d57c.js +1 -0
  69. package/build/esm/{useRafState-b27c7e9e.js → useRafState-59d488c9.js} +1 -1
  70. package/build/esm/{useTranslations-7ac83fce.js → useTranslations-a1fb671c.js} +1 -1
  71. package/build/esm/{utils-ce15bc17.js → utils-bae07eb1.js} +1 -1
  72. package/build/esm/vaccination.js +3 -3
  73. package/build/{fixedBottomAdBlock-cac08949.js → fixedBottomAdBlock-17ff5d4a.js} +1 -1
  74. package/build/footer.js +1 -1
  75. package/build/gAssets.js +1 -1
  76. package/build/getDynamicHealthTool-ecd3a3c0.js +1 -0
  77. package/build/{getSocialList-9a77785d.js → getSocialList-079fabb7.js} +1 -1
  78. package/build/hooks.js +1 -1
  79. package/build/i18n.js +1 -1
  80. package/build/i18nV2.js +1 -1
  81. package/build/{index-ed444075.js → index-184775de.js} +1 -1
  82. package/build/{index-6af856fe.js → index-1c8aefb3.js} +1 -1
  83. package/build/{index-7b13ca6e.js → index-1d9950b3.js} +15 -15
  84. package/build/{index-b909ded2.js → index-1f98d255.js} +1 -1
  85. package/build/{index-af9bc189.js → index-1fe06397.js} +1 -1
  86. package/build/{index-dc76a7a8.js → index-21143991.js} +1 -1
  87. package/build/{index-cc269cbc.js → index-34e82de0.js} +1 -1
  88. package/build/{index-783a16aa.js → index-37b428ec.js} +1 -1
  89. package/build/{index-80589a42.js → index-3875501e.js} +1 -1
  90. package/build/{index-ffbdda9c.js → index-38adf256.js} +1 -1
  91. package/build/{index-7614735f.js → index-3cc012f0.js} +1 -1
  92. package/build/{index-049b75fa.js → index-43b7fbe8.js} +1 -1
  93. package/build/{index-591a224d.js → index-623fa4ea.js} +1 -1
  94. package/build/{index-07c7a6fc.js → index-699b65b8.js} +1 -1
  95. package/build/{index-3912a553.js → index-6ad9c8e8.js} +1 -1
  96. package/build/index-6cabbdeb.js +1 -0
  97. package/build/{index-5884f1e0.js → index-7cfb5203.js} +1 -1
  98. package/build/{index-a41305f5.js → index-8b384985.js} +1 -1
  99. package/build/{index-6a767eef.js → index-a03d17b0.js} +1 -1
  100. package/build/index-aa30089d.js +53 -0
  101. package/build/{index-402e7eb9.js → index-bbfcfa8f.js} +1 -1
  102. package/build/{index-b72a1574.js → index-e4793410.js} +1 -1
  103. package/build/{index-36d209bc.js → index-f3a994c1.js} +1 -1
  104. package/build/{index-990554f9.js → index-f410acdf.js} +1 -1
  105. package/build/{index-e6b16821.js → index-f88fe1b4.js} +1 -1
  106. package/build/index.js +1 -1
  107. package/build/index.styled-3f63800d.js +50 -0
  108. package/build/{index.styled-fdccc24a.js → index.styled-afff5234.js} +1 -1
  109. package/build/{index.styled-fd9e52ff.js → index.styled-bd1f9e33.js} +1 -1
  110. package/build/lead.css +1 -1
  111. package/build/lead.js +1 -1
  112. package/build/mantine.js +1 -1
  113. package/build/misc.js +1 -1
  114. package/build/navigation.js +1 -1
  115. package/build/onboarding.js +1 -1
  116. package/build/onboardingV2.js +1 -1
  117. package/build/pwg.js +2 -2
  118. package/build/{routing-3f06e516.js → routing-e1e29c00.js} +1 -1
  119. package/build/{screenSizeContext-6a8cecd6.js → screenSizeContext-f1867352.js} +10 -10
  120. package/build/together.js +1 -1
  121. package/build/{types-59074c0e.js → types-2aab8974.js} +1 -1
  122. package/build/{types-bfb1c7b3.js → types-562cf2b3.js} +1 -1
  123. package/build/types.js +1 -1
  124. package/build/{useHealthToolCache-ca7b0a06.js → useHealthToolCache-30a74a66.js} +1 -1
  125. package/build/{useRafState-9fb4f292.js → useRafState-8abf6d4e.js} +1 -1
  126. package/build/{useTranslations-c79460a2.js → useTranslations-6a22edf2.js} +1 -1
  127. package/build/{utils-b07f4baa.js → utils-f232960e.js} +1 -1
  128. package/build/vaccination.js +1 -1
  129. package/package.json +1 -1
  130. package/build/core-e6713b92.js +0 -1
  131. package/build/esm/getDynamicHealthTool-9b601b18.js +0 -1
  132. package/build/esm/index-4159cb5a.js +0 -1
  133. package/build/esm/index-845a80b2.js +0 -1
  134. package/build/esm/index-9dc3bb1a.js +0 -1
  135. package/build/esm/useHealthToolCache-a1433e26.js +0 -1
  136. package/build/getDynamicHealthTool-85556443.js +0 -1
  137. package/build/index-384b5064.js +0 -1
  138. package/build/index-fa1e2250.js +0 -53
  139. package/build/index.styled-e4465bc8.js +0 -50
  140. /package/build/{BMI_BOYS.percentile.monthly-5699797e.js → BMI_BOYS.percentile.monthly-fb3273f4.js} +0 -0
  141. /package/build/{BMI_BOYS.percentile.weekly-1e38e9bd.js → BMI_BOYS.percentile.weekly-eec6d7b0.js} +0 -0
  142. /package/build/{BMI_BOYS.percentile.yearly-399751fb.js → BMI_BOYS.percentile.yearly-c9970b13.js} +0 -0
  143. /package/build/{BMI_BOYS.zscore.monthly-447089ca.js → BMI_BOYS.zscore.monthly-e851fc76.js} +0 -0
  144. /package/build/{BMI_BOYS.zscore.weekly-586f6771.js → BMI_BOYS.zscore.weekly-e96a6c50.js} +0 -0
  145. /package/build/{BMI_BOYS.zscore.yearly-8e3f3596.js → BMI_BOYS.zscore.yearly-0cefbda7.js} +0 -0
  146. /package/build/{BMI_GIRLS.percentile.monthly-8bbb5b7e.js → BMI_GIRLS.percentile.monthly-ce8ff3ac.js} +0 -0
  147. /package/build/{BMI_GIRLS.percentile.weekly-7a9b46ab.js → BMI_GIRLS.percentile.weekly-1780f787.js} +0 -0
  148. /package/build/{BMI_GIRLS.percentile.yearly-1e16cce9.js → BMI_GIRLS.percentile.yearly-2aaaa004.js} +0 -0
  149. /package/build/{BMI_GIRLS.zscore.monthly-5bd5976f.js → BMI_GIRLS.zscore.monthly-5bde5ada.js} +0 -0
  150. /package/build/{BMI_GIRLS.zscore.weekly-62d48b6f.js → BMI_GIRLS.zscore.weekly-5b88ad27.js} +0 -0
  151. /package/build/{BMI_GIRLS.zscore.yearly-5ffd4336.js → BMI_GIRLS.zscore.yearly-f96bd40f.js} +0 -0
  152. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-979f7a2b.js → HEAD CIRCUM_BOYS.percentile.monthly-ea7867a1.js} +0 -0
  153. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-0437668f.js → HEAD CIRCUM_BOYS.percentile.weekly-243e2624.js} +0 -0
  154. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-04e94be3.js → HEAD CIRCUM_BOYS.percentile.yearly-04ab3d2e.js} +0 -0
  155. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-b8b4cb68.js → HEAD CIRCUM_BOYS.zscore.monthly-f9569431.js} +0 -0
  156. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-407c5c36.js → HEAD CIRCUM_BOYS.zscore.weekly-6fbad18f.js} +0 -0
  157. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2e58c3d5.js → HEAD CIRCUM_BOYS.zscore.yearly-7b5a0a1b.js} +0 -0
  158. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ab29ff6b.js → HEAD CIRCUM_GIRLS.percentile.monthly-c6b65cef.js} +0 -0
  159. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-cf2e49b7.js → HEAD CIRCUM_GIRLS.percentile.weekly-d365ed17.js} +0 -0
  160. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-4117ddfe.js → HEAD CIRCUM_GIRLS.percentile.yearly-9a5924bc.js} +0 -0
  161. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-794b5301.js → HEAD CIRCUM_GIRLS.zscore.monthly-713e30c0.js} +0 -0
  162. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-c76e8681.js → HEAD CIRCUM_GIRLS.zscore.weekly-57c6c058.js} +0 -0
  163. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b3178eaf.js → HEAD CIRCUM_GIRLS.zscore.yearly-fbf310c7.js} +0 -0
  164. /package/build/{HEIGHT_BOYS.percentile.monthly-6689a07a.js → HEIGHT_BOYS.percentile.monthly-d05e8ecd.js} +0 -0
  165. /package/build/{HEIGHT_BOYS.percentile.weekly-887ebe1d.js → HEIGHT_BOYS.percentile.weekly-1ab011ab.js} +0 -0
  166. /package/build/{HEIGHT_BOYS.percentile.yearly-ddd5b45a.js → HEIGHT_BOYS.percentile.yearly-4dbe8de9.js} +0 -0
  167. /package/build/{HEIGHT_BOYS.zscore.monthly-4e5fd7db.js → HEIGHT_BOYS.zscore.monthly-81da8688.js} +0 -0
  168. /package/build/{HEIGHT_BOYS.zscore.weekly-d7adb8bf.js → HEIGHT_BOYS.zscore.weekly-53f31a08.js} +0 -0
  169. /package/build/{HEIGHT_BOYS.zscore.yearly-a93cb2d7.js → HEIGHT_BOYS.zscore.yearly-2b0f4ae4.js} +0 -0
  170. /package/build/{HEIGHT_GIRLS.percentile.monthly-751cd560.js → HEIGHT_GIRLS.percentile.monthly-b80e2daf.js} +0 -0
  171. /package/build/{HEIGHT_GIRLS.percentile.weekly-4c9c6327.js → HEIGHT_GIRLS.percentile.weekly-8beb0d72.js} +0 -0
  172. /package/build/{HEIGHT_GIRLS.percentile.yearly-147b6ed5.js → HEIGHT_GIRLS.percentile.yearly-8b548f8c.js} +0 -0
  173. /package/build/{HEIGHT_GIRLS.zscore.monthly-bdcd7f65.js → HEIGHT_GIRLS.zscore.monthly-1bf5f2d3.js} +0 -0
  174. /package/build/{HEIGHT_GIRLS.zscore.weekly-6ee7a683.js → HEIGHT_GIRLS.zscore.weekly-7f1dbef9.js} +0 -0
  175. /package/build/{HEIGHT_GIRLS.zscore.yearly-1e362c0a.js → HEIGHT_GIRLS.zscore.yearly-942d6ce9.js} +0 -0
  176. /package/build/{Onboarding-58b4b0c3.js → Onboarding-d50b4820.js} +0 -0
  177. /package/build/{Visible-79dc2a13.js → Visible-7f7afa7d.js} +0 -0
  178. /package/build/{WEIGHT_BOYS.percentile.monthly-08e555dd.js → WEIGHT_BOYS.percentile.monthly-7adbceef.js} +0 -0
  179. /package/build/{WEIGHT_BOYS.percentile.weekly-83e7ef51.js → WEIGHT_BOYS.percentile.weekly-5cf47103.js} +0 -0
  180. /package/build/{WEIGHT_BOYS.percentile.yearly-a379f8f3.js → WEIGHT_BOYS.percentile.yearly-4a305f92.js} +0 -0
  181. /package/build/{WEIGHT_BOYS.zscore.monthly-fc6a1faf.js → WEIGHT_BOYS.zscore.monthly-de1840f8.js} +0 -0
  182. /package/build/{WEIGHT_BOYS.zscore.weekly-324517e4.js → WEIGHT_BOYS.zscore.weekly-76ac04fc.js} +0 -0
  183. /package/build/{WEIGHT_BOYS.zscore.yearly-213b3479.js → WEIGHT_BOYS.zscore.yearly-3092d7ac.js} +0 -0
  184. /package/build/{WEIGHT_GIRLS.percentile.monthly-1c950622.js → WEIGHT_GIRLS.percentile.monthly-82603664.js} +0 -0
  185. /package/build/{WEIGHT_GIRLS.percentile.weekly-fe2edddd.js → WEIGHT_GIRLS.percentile.weekly-1d45d762.js} +0 -0
  186. /package/build/{WEIGHT_GIRLS.percentile.yearly-47164c35.js → WEIGHT_GIRLS.percentile.yearly-d837e548.js} +0 -0
  187. /package/build/{WEIGHT_GIRLS.zscore.monthly-008ff0b5.js → WEIGHT_GIRLS.zscore.monthly-89d35934.js} +0 -0
  188. /package/build/{WEIGHT_GIRLS.zscore.weekly-1cefaeb3.js → WEIGHT_GIRLS.zscore.weekly-a39f9dbb.js} +0 -0
  189. /package/build/{WEIGHT_GIRLS.zscore.yearly-059153aa.js → WEIGHT_GIRLS.zscore.yearly-88fb3764.js} +0 -0
  190. /package/build/{constants-2d9d2bb6.js → constants-c94f6203.js} +0 -0
  191. /package/build/{cookieHelper-8cae5da6.js → cookieHelper-31c01de1.js} +0 -0
  192. /package/build/{dataTransform-c8ffd359.js → dataTransform-f1b2a57d.js} +0 -0
  193. /package/build/esm/{BMI_BOYS.percentile.monthly-0e16a449.js → BMI_BOYS.percentile.monthly-100888ea.js} +0 -0
  194. /package/build/esm/{BMI_BOYS.percentile.weekly-a14d6d3d.js → BMI_BOYS.percentile.weekly-53e821ee.js} +0 -0
  195. /package/build/esm/{BMI_BOYS.percentile.yearly-eb1c2307.js → BMI_BOYS.percentile.yearly-2eed58a0.js} +0 -0
  196. /package/build/esm/{BMI_BOYS.zscore.monthly-4122bead.js → BMI_BOYS.zscore.monthly-1e83f819.js} +0 -0
  197. /package/build/esm/{BMI_BOYS.zscore.weekly-7a1e7197.js → BMI_BOYS.zscore.weekly-8da2b94e.js} +0 -0
  198. /package/build/esm/{BMI_BOYS.zscore.yearly-4c5b5081.js → BMI_BOYS.zscore.yearly-7687c8d5.js} +0 -0
  199. /package/build/esm/{BMI_GIRLS.percentile.monthly-5e49b689.js → BMI_GIRLS.percentile.monthly-b2069aa0.js} +0 -0
  200. /package/build/esm/{BMI_GIRLS.percentile.weekly-d294f277.js → BMI_GIRLS.percentile.weekly-c838c33a.js} +0 -0
  201. /package/build/esm/{BMI_GIRLS.percentile.yearly-4c26ec8a.js → BMI_GIRLS.percentile.yearly-8fdaa465.js} +0 -0
  202. /package/build/esm/{BMI_GIRLS.zscore.monthly-9316492b.js → BMI_GIRLS.zscore.monthly-410fa39a.js} +0 -0
  203. /package/build/esm/{BMI_GIRLS.zscore.weekly-9abec6fc.js → BMI_GIRLS.zscore.weekly-f620a1ea.js} +0 -0
  204. /package/build/esm/{BMI_GIRLS.zscore.yearly-19d117ee.js → BMI_GIRLS.zscore.yearly-f329780e.js} +0 -0
  205. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f54f37aa.js → HEAD CIRCUM_BOYS.percentile.monthly-850821fd.js} +0 -0
  206. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-fe03b79e.js → HEAD CIRCUM_BOYS.percentile.weekly-da1de31c.js} +0 -0
  207. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-5a5ca715.js → HEAD CIRCUM_BOYS.percentile.yearly-5bd9d1df.js} +0 -0
  208. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-630e3f8d.js → HEAD CIRCUM_BOYS.zscore.monthly-2f54f3d7.js} +0 -0
  209. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-c2250e37.js → HEAD CIRCUM_BOYS.zscore.weekly-9637ed77.js} +0 -0
  210. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8ab3d3ca.js → HEAD CIRCUM_BOYS.zscore.yearly-458e6fb8.js} +0 -0
  211. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a16578c5.js → HEAD CIRCUM_GIRLS.percentile.monthly-9a4ead7f.js} +0 -0
  212. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-e17ddb76.js → HEAD CIRCUM_GIRLS.percentile.weekly-48715d56.js} +0 -0
  213. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-bd725942.js → HEAD CIRCUM_GIRLS.percentile.yearly-3838316e.js} +0 -0
  214. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-a6d29399.js → HEAD CIRCUM_GIRLS.zscore.monthly-f3979415.js} +0 -0
  215. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-d8ddb224.js → HEAD CIRCUM_GIRLS.zscore.weekly-a767fbcd.js} +0 -0
  216. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-dcf6f13a.js → HEAD CIRCUM_GIRLS.zscore.yearly-341fb899.js} +0 -0
  217. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-93a3288a.js → HEIGHT_BOYS.percentile.monthly-7db7e695.js} +0 -0
  218. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-c7cffe41.js → HEIGHT_BOYS.percentile.weekly-ec8587c3.js} +0 -0
  219. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-307f7bff.js → HEIGHT_BOYS.percentile.yearly-4fa329c6.js} +0 -0
  220. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-248d3fbb.js → HEIGHT_BOYS.zscore.monthly-6cbed191.js} +0 -0
  221. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-832f7cb9.js → HEIGHT_BOYS.zscore.weekly-d0dd9409.js} +0 -0
  222. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d255f8ea.js → HEIGHT_BOYS.zscore.yearly-214d3ddc.js} +0 -0
  223. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1d4fee0c.js → HEIGHT_GIRLS.percentile.monthly-c61a21aa.js} +0 -0
  224. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-89c93bcd.js → HEIGHT_GIRLS.percentile.weekly-5c055fd8.js} +0 -0
  225. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-a8e346c4.js → HEIGHT_GIRLS.percentile.yearly-4d58c5db.js} +0 -0
  226. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a7c823d2.js → HEIGHT_GIRLS.zscore.monthly-fd53781b.js} +0 -0
  227. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-f1c76705.js → HEIGHT_GIRLS.zscore.weekly-f0042b7a.js} +0 -0
  228. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-244948a6.js → HEIGHT_GIRLS.zscore.yearly-f93db8d1.js} +0 -0
  229. /package/build/esm/{Onboarding-f41a6aa8.js → Onboarding-0487be90.js} +0 -0
  230. /package/build/esm/{Visible-6691ab80.js → Visible-0aefef79.js} +0 -0
  231. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-add7644e.js → WEIGHT_BOYS.percentile.monthly-04e0d9bf.js} +0 -0
  232. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e715d25d.js → WEIGHT_BOYS.percentile.weekly-541077f7.js} +0 -0
  233. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f91df8db.js → WEIGHT_BOYS.percentile.yearly-ae8577bc.js} +0 -0
  234. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-347db603.js → WEIGHT_BOYS.zscore.monthly-732e8e9c.js} +0 -0
  235. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-76c7f99d.js → WEIGHT_BOYS.zscore.weekly-e63fa031.js} +0 -0
  236. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-4e75cc05.js → WEIGHT_BOYS.zscore.yearly-77735625.js} +0 -0
  237. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-36160618.js → WEIGHT_GIRLS.percentile.monthly-82f0288e.js} +0 -0
  238. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-941ead4a.js → WEIGHT_GIRLS.percentile.weekly-4ab5d667.js} +0 -0
  239. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-db23dda1.js → WEIGHT_GIRLS.percentile.yearly-2f706790.js} +0 -0
  240. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-896c4857.js → WEIGHT_GIRLS.zscore.monthly-dc53a3e3.js} +0 -0
  241. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-9472bd58.js → WEIGHT_GIRLS.zscore.weekly-9863122b.js} +0 -0
  242. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-762b1b3f.js → WEIGHT_GIRLS.zscore.yearly-6288b837.js} +0 -0
  243. /package/build/esm/{constants-d42ed22c.js → constants-56595d64.js} +0 -0
  244. /package/build/esm/{cookieHelper-2f41f49e.js → cookieHelper-608da6d6.js} +0 -0
  245. /package/build/esm/{dataTransform-d800a95e.js → dataTransform-3b29ca3c.js} +0 -0
  246. /package/build/esm/{index-80c0723f.js → index-6d863e6c.js} +0 -0
  247. /package/build/esm/{isProduction-3ae5f7d6.js → isProduction-e60f0048.js} +0 -0
  248. /package/build/esm/{localizeNumberFormat-a3c7dcce.js → localizeNumberFormat-0850245d.js} +0 -0
  249. /package/build/esm/{normalizeLink-5a78ace2.js → normalizeLink-af670059.js} +0 -0
  250. /package/build/esm/{theme-1f624995.js → theme-006d41d3.js} +0 -0
  251. /package/build/esm/{translationsContext-73acbb04.js → translationsContext-68017899.js} +0 -0
  252. /package/build/esm/{tslib.es6-7750d437.js → tslib.es6-e5d6d91d.js} +0 -0
  253. /package/build/esm/{types-19f72882.js → types-25b62834.js} +0 -0
  254. /package/build/esm/{useIsInit-5282efe1.js → useIsInit-8d426c45.js} +0 -0
  255. /package/build/esm/{useOutsideClick-2f42e380.js → useOutsideClick-28887555.js} +0 -0
  256. /package/build/esm/{useScrollbarSize-3b08cdad.js → useScrollbarSize-c2556f62.js} +0 -0
  257. /package/build/esm/{useUniqueId-4a9b7112.js → useUniqueId-ec79a580.js} +0 -0
  258. /package/build/esm/{utils-7343188b.js → utils-19fedf53.js} +0 -0
  259. /package/build/{index-88d5b911.js → index-976023d6.js} +0 -0
  260. /package/build/{isProduction-60234ee3.js → isProduction-34d5eafd.js} +0 -0
  261. /package/build/{localizeNumberFormat-d97a08ea.js → localizeNumberFormat-e2f49697.js} +0 -0
  262. /package/build/{normalizeLink-4a08ec7b.js → normalizeLink-78e4abd7.js} +0 -0
  263. /package/build/{theme-72e8f883.js → theme-fc5a9bfa.js} +0 -0
  264. /package/build/{translationsContext-04ee4b24.js → translationsContext-24650727.js} +0 -0
  265. /package/build/{tslib.es6-ac2daece.js → tslib.es6-73516c55.js} +0 -0
  266. /package/build/{types-385091e6.js → types-de3d13a3.js} +0 -0
  267. /package/build/{useIsInit-7002a2b0.js → useIsInit-c79fedfa.js} +0 -0
  268. /package/build/{useOutsideClick-c24f07be.js → useOutsideClick-ee47e0ae.js} +0 -0
  269. /package/build/{useScrollbarSize-434919fe.js → useScrollbarSize-e9512641.js} +0 -0
  270. /package/build/{useUniqueId-b6b9e34f.js → useUniqueId-fcdf46bc.js} +0 -0
  271. /package/build/{utils-f9a0cb4a.js → utils-3e9c504f.js} +0 -0
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),n=require("@mantine/core"),a=require("@mantine/hooks"),l=require("./gAssets.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);const c=t=>{var{value:r,defaultValue:c,onChange:s,clearable:u}=t,i=e.__rest(t,["value","defaultValue","onChange","clearable"]);const[C,d]=a.useUncontrolled({value:r,defaultValue:c,onChange:s});return o.default.createElement(n.Autocomplete,Object.assign({rightSection:o.default.createElement(n.Image,{src:l.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>d(e),value:C},i,u&&(null==C?void 0:C.length)>0?{rightSection:o.default.createElement(n.ActionIcon,{onClick:()=>{d("")},sx:{cursor:"pointer"}},o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))},s=t=>{var{searchValue:r,onSearchChange:c}=t,s=e.__rest(t,["searchValue","onSearchChange"]);const[u,i]=a.useUncontrolled({defaultValue:"",value:r,onChange:c});return o.default.createElement(n.Select,Object.assign({rightSection:o.default.createElement(n.Image,{src:l.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onSearchChange:e=>i(e),searchValue:u},s,s.clearable&&(null==u?void 0:u.length)>0?{rightSection:o.default.createElement(n.ActionIcon,{onClick:()=>{i("")},sx:{cursor:"pointer"}},o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))};exports.Select=t=>{var{keepSearch:n=!1}=t,a=e.__rest(t,["keepSearch"]);return n?o.default.createElement(c,Object.assign({},a)):o.default.createElement(s,Object.assign({},a))};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),n=require("@mantine/core"),a=require("@mantine/hooks"),l=require("./gAssets.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);const c=t=>{var{value:r,defaultValue:c,onChange:s,clearable:u}=t,i=e.__rest(t,["value","defaultValue","onChange","clearable"]);const[C,d]=a.useUncontrolled({value:r,defaultValue:c,onChange:s});return o.default.createElement(n.Autocomplete,Object.assign({rightSection:o.default.createElement(n.Image,{src:l.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>d(e),value:C},i,u&&(null==C?void 0:C.length)>0?{rightSection:o.default.createElement(n.ActionIcon,{onClick:()=>{d("")},sx:{cursor:"pointer"}},o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))},s=t=>{var{searchValue:r,onSearchChange:c}=t,s=e.__rest(t,["searchValue","onSearchChange"]);const[u,i]=a.useUncontrolled({defaultValue:"",value:r,onChange:c});return o.default.createElement(n.Select,Object.assign({rightSection:o.default.createElement(n.Image,{src:l.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onSearchChange:e=>i(e),searchValue:u},s,s.clearable&&(null==u?void 0:u.length)>0?{rightSection:o.default.createElement(n.ActionIcon,{onClick:()=>{i("")},sx:{cursor:"pointer"}},o.default.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))};exports.Select=t=>{var{keepSearch:n=!1}=t,a=e.__rest(t,["keepSearch"]);return n?o.default.createElement(c,Object.assign({},a)):o.default.createElement(s,Object.assign({},a))};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("styled-components"),t=require("./theme-72e8f883.js"),r=require("./utils-f9a0cb4a.js"),o=require("./tslib.es6-ac2daece.js"),a=require("react"),l=require("@mantine/core"),i=require("./gAssets.js"),s=require("./index-402e7eb9.js"),n=require("./Onboarding-58b4b0c3.js"),c=require("./index-7614735f.js"),d=require("./index-cc269cbc.js");require("dayjs");var h=require("./screenSizeContext-6a8cecd6.js");require("./index-990554f9.js"),require("./isProduction-60234ee3.js");var p=require("./useUniqueId-b6b9e34f.js"),u=require("react-keyed-flatten-children");function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=g(e),C=g(a),f=g(u);const v=m.default.div`
1
+ "use strict";var e=require("styled-components"),t=require("./theme-fc5a9bfa.js"),r=require("./utils-3e9c504f.js"),o=require("./tslib.es6-73516c55.js"),a=require("react"),l=require("@mantine/core"),i=require("./gAssets.js"),s=require("./index-bbfcfa8f.js"),n=require("./Onboarding-d50b4820.js"),c=require("./index-3cc012f0.js"),d=require("./index-34e82de0.js");require("dayjs");var h=require("./screenSizeContext-f1867352.js");require("./index-f410acdf.js"),require("./isProduction-34d5eafd.js");var p=require("./useUniqueId-fcdf46bc.js"),u=require("react-keyed-flatten-children");function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=g(e),C=g(a),f=g(u);const v=m.default.div`
2
2
  background-color: var(--background-color, transparent);
3
3
  color: white;
4
4
  cursor: pointer;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-a41305f5.js"),r=require("./index-ffbdda9c.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),n=require("@mantine/hooks"),a=require("./index-8b384985.js"),r=require("./index-38adf256.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(t);exports.Slider=l=>{var{color:i,withControl:s,onChange:u,value:c,min:d,max:m,isStatic:h,containerClassName:f,containerStyle:g}=l,w=e.__rest(l,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[v,E]=t.useState(c||d||0),[p]=n.useDebouncedValue(v,r.DEBOUNCED_TIME);return t.useEffect((()=>{null==u||u(p)}),[p]),t.useEffect((()=>{E(c)}),[c]),o.default.createElement(r.StyledSliderWrapper,{className:f,style:g},s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>d&&e===d?e:e-1))}},o.default.createElement("svg",{width:"10",height:"10",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 3"},o.default.createElement("path",{d:"M1 1.004h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),o.default.createElement(r.StyledSlider,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:i,value:v,onChange:h?()=>null:E,min:d,max:m},w,{className:"hhg-mantine-slider "+(w.className||"")})),s&&o.default.createElement(a.Button,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>m&&e===m?e:e+1))}},o.default.createElement("svg",{width:"16",height:"20",fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},o.default.createElement("path",{d:"M8 4v8M4 8h8",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(require("react")),s="wIj6fkD";exports.Text=a=>{var{size:r="base",type:c="regular",className:n,style:d,children:o,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:u="p",wordWrap:y,isUppercase:b}=a,g=e.__rest(a,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=u;return t.default.createElement(E,Object.assign({"data-size":r,"data-type":c,style:Object.assign(Object.assign({},d),i?{"--custom-color":i}:void 0),className:`${s} ${n||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),o)};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=a(require("react")),s="wIj6fkD";exports.Text=a=>{var{size:r="base",type:c="regular",className:n,style:d,children:o,color:i,dataEventCategory:l,dataEventAction:p,dataEventLabel:v,as:u="p",wordWrap:y,isUppercase:b}=a,g=e.__rest(a,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]);const E=u;return t.default.createElement(E,Object.assign({"data-size":r,"data-type":c,style:Object.assign(Object.assign({},d),i?{"--custom-color":i}:void 0),className:`${s} ${n||""}`,"data-event-category":l,"data-event-action":p,"data-event-label":v,"data-word-wrap":y,"data-is-uppercase":b},g),o)};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),r=require("@mantine/core"),a=require("@mantine/dates"),i=require("./index-990554f9.js"),s=require("./Onboarding-58b4b0c3.js"),n=require("./gAssets.js"),l=require("./index-ffbdda9c.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(a.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||s.LOCALE.Vietnam],valueFormat:null===(o=i.ISO_FORMAT[process.env.UNIFY_LOCALE||s.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),r=require("@mantine/core"),i=require("@mantine/dates"),s=require("./index-f410acdf.js"),a=require("./Onboarding-d50b4820.js"),n=require("./gAssets.js"),l=require("./index-38adf256.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(t);exports.DatePicker=t=>{var o,{value:c,fullWidth:d=!0}=t,v=e.__rest(t,["value","fullWidth"]);return u.default.createElement(i.DatePickerInput,Object.assign({locale:l.MAPPED_LOCALE[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam],valueFormat:null===(o=s.ISO_FORMAT[process.env.UNIFY_LOCALE||a.LOCALE.Vietnam])||void 0===o?void 0:o.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:u.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath(v.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},v,{className:`input-control ${(null==v?void 0:v.className)||""}`}))};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./useTranslations-c79460a2.js"),a=require("./theme-72e8f883.js"),l=require("./index-af9bc189.js"),d=require("./index-36d209bc.js"),o=require("./index-591a224d.js"),r=require("./index-cc269cbc.js"),c=require("./useScrollbarSize-434919fe.js"),n=require("react-dom"),s=require("./index-6a767eef.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=i(e);const m="hhg-modals",h=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},y=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:d,children:o,className:r="",animationType:i="slideTop",isStaticBackdrop:f=!1,siteType:p})=>{const[b,v]=e.useState(!1),E=e.useRef(null),{width:g}=c.useScrollbarSize();if(!E.current&&b&&(E.current=document.createElement("div")),e.useEffect((()=>(v(!0),()=>{v(!1),h(),y()})),[]),e.useEffect((()=>{if(b){const e=(()=>{let e=document.getElementById(m);return e||(e=document.createElement("div"),e.setAttribute("id",m),document.body.append(e)),e})();return e.appendChild(E.current),()=>{e.removeChild(E.current)}}}),[b]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):h()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):y()}),[l,g]),!b)return null;const q=["hhg-modal__wrapper",r,i].filter((e=>e)).join(" ");return n.createPortal(u.default.createElement(s.StyledModalWrapper,{className:q,"data-open":l,"data-type":t},!f&&u.default.createElement(s.StyledModalMask,{"data-open":l,onClick:d,"data-type":t}),!f&&"video"===t&&!!a&&u.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),u.default.createElement(s.StyledModal,{className:"hhg-modal","data-open":l,"data-site-type":p},u.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&u.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),o))),E.current)},exports.NewBabyProfileRadio=({isActive:e,onChange:c,value:n="",onInputChange:s,siteType:i})=>{const{t:m}=t.useTranslations(),h="marryBaby"===i;return u.default.createElement(l.StyledNewBabyProfileRadio,{onClick:()=>c("new"),"data-is-mb":h,"data-isActive":h&&e},"marryBaby"===i?u.default.createElement("div",{className:"title"},u.default.createElement(o.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},m("chooseBaby.new")),u.default.createElement("div",{className:e?"radio active":"radio"},e&&u.default.createElement(l.Icon.CheckActiveMB,{size:26}))):u.default.createElement("div",{className:"title"},u.default.createElement(r.Text,{size:"p2",color:a.theme.colors.gray800},m("chooseBaby.new")),u.default.createElement("div",{className:e?"radio active":"radio"})),u.default.createElement(d.Input,{name:"name",value:n,size:"md",placeholder:m("chooseBaby.placeholder"),type:"text",onChange:s}))};
1
+ "use strict";var e=require("react"),t=require("./useTranslations-6a22edf2.js"),a=require("./theme-fc5a9bfa.js"),l=require("./index-1fe06397.js"),d=require("./index-f3a994c1.js"),o=require("./index-623fa4ea.js"),r=require("./index-34e82de0.js"),c=require("./useScrollbarSize-e9512641.js"),n=require("react-dom"),s=require("./index-a03d17b0.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=i(e);const m="hhg-modals",h=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},y=()=>{document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))};exports.Modal=({type:t="lead",closeIcon:a,isOpen:l=!0,onClose:d,children:o,className:r="",animationType:i="slideTop",isStaticBackdrop:f=!1,siteType:p})=>{const[b,v]=e.useState(!1),E=e.useRef(null),{width:g}=c.useScrollbarSize();if(!E.current&&b&&(E.current=document.createElement("div")),e.useEffect((()=>(v(!0),()=>{v(!1),h(),y()})),[]),e.useEffect((()=>{if(b){const e=(()=>{let e=document.getElementById(m);return e||(e=document.createElement("div"),e.setAttribute("id",m),document.body.append(e)),e})();return e.appendChild(E.current),()=>{e.removeChild(E.current)}}}),[b]),e.useEffect((()=>{l?document.body.classList.add("hhc-modal-show"):h()}),[l]),e.useEffect((()=>{l?(document.body.style.overflow="hidden",document.body.style.paddingRight=g+"px",document.body.classList.add("hhc-disabled-scroll")):y()}),[l,g]),!b)return null;const q=["hhg-modal__wrapper",r,i].filter((e=>e)).join(" ");return n.createPortal(u.default.createElement(s.StyledModalWrapper,{className:q,"data-open":l,"data-type":t},!f&&u.default.createElement(s.StyledModalMask,{"data-open":l,onClick:d,"data-type":t}),!f&&"video"===t&&!!a&&u.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),u.default.createElement(s.StyledModal,{className:"hhg-modal","data-open":l,"data-site-type":p},u.default.createElement("div",{className:"video"===t?"hhg-modal__video":"hhg-modal__content"},!!a&&"video"!==t&&u.default.createElement("div",{className:"hhg-modal__close",onClick:d},a),o))),E.current)},exports.NewBabyProfileRadio=({isActive:e,onChange:c,value:n="",onInputChange:s,siteType:i})=>{const{t:m}=t.useTranslations(),h="marryBaby"===i;return u.default.createElement(l.StyledNewBabyProfileRadio,{onClick:()=>c("new"),"data-is-mb":h,"data-isActive":h&&e},"marryBaby"===i?u.default.createElement("div",{className:"title"},u.default.createElement(o.MarryBabyText,{type:"bodytext-1",color:a.theme.colors.gray800},m("chooseBaby.new")),u.default.createElement("div",{className:e?"radio active":"radio"},e&&u.default.createElement(l.Icon.CheckActiveMB,{size:26}))):u.default.createElement("div",{className:"title"},u.default.createElement(r.Text,{size:"p2",color:a.theme.colors.gray800},m("chooseBaby.new")),u.default.createElement("div",{className:e?"radio active":"radio"})),u.default.createElement(d.Input,{name:"name",value:n,size:"md",placeholder:m("chooseBaby.placeholder"),type:"text",onChange:s}))};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),a=require("dayjs"),r=require("./Onboarding-58b4b0c3.js"),n=require("@mantine/core"),l=require("./utils-f9a0cb4a.js"),o=require("styled-components"),i=require("@mantine/carousel");require("./screenSizeContext-6a8cecd6.js");var s=require("./theme-72e8f883.js"),c=require("./index-990554f9.js");require("./isProduction-60234ee3.js");var d=require("./gAssets.js"),m=require("./index-af9bc189.js"),h=require("./index-402e7eb9.js"),u=require("@mantine/hooks");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}require("./index-7614735f.js"),require("./translationsContext-04ee4b24.js"),require("string-format");var g=f(t),v=p(t),E=f(a),b=f(o);const C={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"},x=t=>{var{variant:a,size:r,color:l,skipHover:o,className:i,dataEventCategory:s,dataEventAction:c,dataEventLabel:d,children:h}=t,u=e.__rest(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const f="error"===a,{classes:p,cx:v}=m.useStyles$1({variant:a,size:r,color:l,skipHover:o,isError:f,children:h});return g.default.createElement(n.Button,Object.assign({className:v(p.rootCustom,i),variant:C[a],"data-event-category":s,"data-event-action":c,"data-event-label":d},u),h)},z={[r.LOCALE.Vietnam]:"vi",[r.LOCALE.Cambodia]:"km",[r.LOCALE.India]:"hi",[r.LOCALE.Indonesia]:"id",[r.LOCALE.Malaysia]:"ms",[r.LOCALE.Thailand]:"th",[r.LOCALE.Taiwan]:"zh-tw",[r.LOCALE.PhilippinesTagalog]:"tl-ph",[r.LOCALE.PhilippinesEnglish]:"en",[r.LOCALE.Myanmar]:"my"},w={[r.LOCALE.Vietnam]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/vi.js"))})),[r.LOCALE.Cambodia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/km.js"))})),[r.LOCALE.India]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/hi.js"))})),[r.LOCALE.Indonesia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/id.js"))})),[r.LOCALE.Malaysia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/ms.js"))})),[r.LOCALE.Thailand]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/th.js"))})),[r.LOCALE.Taiwan]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/zh-tw.js"))})),[r.LOCALE.PhilippinesTagalog]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/tl-ph.js"))})),[r.LOCALE.PhilippinesEnglish]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/en.js"))})),[r.LOCALE.Myanmar]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/my.js"))}))},y=()=>"undefined"!=typeof window&&window.innerWidth<l.Breakpoints.BREAK_POINT_MOBILE,O=()=>"undefined"!=typeof window&&window.innerWidth>=l.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<l.Breakpoints.BREAK_POINT_PC,j=()=>{const[e,a]=t.useState(y()),[r,n]=t.useState(O());return t.useEffect((()=>{const e=()=>{a(y()),n(O())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:r}};class L extends t.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||g.default.createElement(g.default.Fragment,null):this.props.children}}const M=t=>{var{slidesToShow:a=1,children:r}=t,n=e.__rest(t,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?g.default.createElement(L,null,g.default.createElement(i.Carousel,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},n),r)):null};M.Slide=i.Carousel.Slide;const H=b.default(M)`
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),a=require("dayjs"),r=require("./Onboarding-d50b4820.js"),n=require("@mantine/core"),l=require("./utils-3e9c504f.js"),o=require("styled-components"),i=require("@mantine/carousel");require("./screenSizeContext-f1867352.js");var s=require("./theme-fc5a9bfa.js"),c=require("./index-f410acdf.js");require("./isProduction-34d5eafd.js");var d=require("./gAssets.js"),m=require("./index-1fe06397.js"),h=require("./index-bbfcfa8f.js"),u=require("@mantine/hooks");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}require("./index-3cc012f0.js"),require("./translationsContext-24650727.js"),require("string-format");var g=f(t),v=p(t),E=f(a),b=f(o);const C={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"},x=t=>{var{variant:a,size:r,color:l,skipHover:o,className:i,dataEventCategory:s,dataEventAction:c,dataEventLabel:d,children:h}=t,u=e.__rest(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const f="error"===a,{classes:p,cx:v}=m.useStyles$1({variant:a,size:r,color:l,skipHover:o,isError:f,children:h});return g.default.createElement(n.Button,Object.assign({className:v(p.rootCustom,i),variant:C[a],"data-event-category":s,"data-event-action":c,"data-event-label":d},u),h)},z={[r.LOCALE.Vietnam]:"vi",[r.LOCALE.Cambodia]:"km",[r.LOCALE.India]:"hi",[r.LOCALE.Indonesia]:"id",[r.LOCALE.Malaysia]:"ms",[r.LOCALE.Thailand]:"th",[r.LOCALE.Taiwan]:"zh-tw",[r.LOCALE.PhilippinesTagalog]:"tl-ph",[r.LOCALE.PhilippinesEnglish]:"en",[r.LOCALE.Myanmar]:"my"},w={[r.LOCALE.Vietnam]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/vi.js"))})),[r.LOCALE.Cambodia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/km.js"))})),[r.LOCALE.India]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/hi.js"))})),[r.LOCALE.Indonesia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/id.js"))})),[r.LOCALE.Malaysia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/ms.js"))})),[r.LOCALE.Thailand]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/th.js"))})),[r.LOCALE.Taiwan]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/zh-tw.js"))})),[r.LOCALE.PhilippinesTagalog]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/tl-ph.js"))})),[r.LOCALE.PhilippinesEnglish]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/en.js"))})),[r.LOCALE.Myanmar]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/my.js"))}))},y=()=>"undefined"!=typeof window&&window.innerWidth<l.Breakpoints.BREAK_POINT_MOBILE,O=()=>"undefined"!=typeof window&&window.innerWidth>=l.Breakpoints.BREAK_POINT_MOBILE&&window.innerWidth<l.Breakpoints.BREAK_POINT_PC,j=()=>{const[e,a]=t.useState(y()),[r,n]=t.useState(O());return t.useEffect((()=>{const e=()=>{a(y()),n(O())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:r}};class L extends t.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||g.default.createElement(g.default.Fragment,null):this.props.children}}const M=t=>{var{slidesToShow:a=1,children:r}=t,n=e.__rest(t,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?g.default.createElement(L,null,g.default.createElement(i.Carousel,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},n),r)):null};M.Slide=i.Carousel.Slide;const H=b.default(M)`
2
2
  cursor: grab;
3
3
  width: 100%;
4
4
  .mantine-Carousel-control {
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./utils-f9a0cb4a.js"),t=require("styled-components"),i=require("react");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(t),r=o(i);const s=a.default.div`
1
+ "use strict";var e=require("./utils-3e9c504f.js"),t=require("styled-components"),i=require("react");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=o(t),r=o(i);const s=a.default.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
 
@@ -1 +1 @@
1
- "use strict";var r=require("./Onboarding-58b4b0c3.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=t;
1
+ "use strict";var r=require("./Onboarding-d50b4820.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE},get OnboardingStep(){return r.OnboardingStep}});exports.index=t;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),r=require("./index-402e7eb9.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:n}=t,c=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),n)},c))},exports.MarryBabyText=t=>{var{type:a,color:l,style:n}=t,c=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},n),l&&{"--text-color":l})},c))};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),r=require("./index-bbfcfa8f.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:n}=t,c=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),n)},c))},exports.MarryBabyText=t=>{var{type:a,color:l,style:n}=t,c=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},n),l&&{"--text-color":l})},c))};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),a=require("./index-af9bc189.js"),t=require("./tslib.es6-ac2daece.js"),r=require("./useTranslations-c79460a2.js"),s=require("./index-ffbdda9c.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=d(e);const l={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var o="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:d,title:o,styles:i,className:u}=e,c=t.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=r.useTranslations(),y=d?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(d):"",{classes:v,cx:p}=a.useStyles(void 0,{name:"AuthorBadge",styles:i});return y&&l[y]?n.default.createElement("div",Object.assign({className:p(v.root,u),"data-label-type":y,"data-is-marrybaby":"marryBaby"===s},c),o||m(l[y])):null},exports.BtnChoice=({value:a,choices:t,onChange:r})=>{const[d,l]=e.useState(a);return e.useEffect((()=>{l(a)}),[a]),n.default.createElement("div",{className:o},t.map(((e,a)=>n.default.createElement(s.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===d?"primary":"tertiary",key:a,onClick:()=>{l(e.value),null==r||r(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:t,style:r})=>n.default.createElement(a.StyledDivider,{style:r,className:t,"data-diver-type":e,dividerType:e});
1
+ "use strict";var e=require("react"),a=require("./index-1fe06397.js"),t=require("./tslib.es6-73516c55.js"),r=require("./useTranslations-6a22edf2.js"),s=require("./index-38adf256.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=d(e);const l={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var o="Dudns9-";exports.AuthorBadge=e=>{var{siteType:s,role:d,title:o,styles:i,className:u}=e,c=t.__rest(e,["siteType","role","title","styles","className"]);const{t:m}=r.useTranslations(),y=d?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((a=>a===e)))(d):"",{classes:v,cx:p}=a.useStyles(void 0,{name:"AuthorBadge",styles:i});return y&&l[y]?n.default.createElement("div",Object.assign({className:p(v.root,u),"data-label-type":y,"data-is-marrybaby":"marryBaby"===s},c),o||m(l[y])):null},exports.BtnChoice=({value:a,choices:t,onChange:r})=>{const[d,l]=e.useState(a);return e.useEffect((()=>{l(a)}),[a]),n.default.createElement("div",{className:o},t.map(((e,a)=>n.default.createElement(s.Button,{dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel,size:"sm",variant:e.value===d?"primary":"tertiary",key:a,onClick:()=>{l(e.value),null==r||r(e.value)}},e.label||""))))},exports.Divider=({type:e="solid",className:t,style:r})=>n.default.createElement(a.StyledDivider,{style:r,className:t,"data-diver-type":e,dividerType:e});
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),l=require("./Onboarding-58b4b0c3.js"),a=require("./index.styled-e4465bc8.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[C,b]=t.useState("");return t.useEffect((()=>{b(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),l=require("./Onboarding-d50b4820.js"),a=require("./index.styled-3f63800d.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);const o=({isRight:e,currentUrl:t})=>r.default.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":t,className:"pointer-event-child-none"},r.default.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));exports.PillCarousel=n=>{var{data:i,isMobile:c,onSlideChange:d,pillProps:s,locale:u=l.LOCALE.Vietnam,blurFromIndex:v,blurLength:g}=n,h=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const m={withControls:!c,slideGap:16,blurFromCenter:!0,blurFromIndex:v||(c?2:4),blurLength:g||(c?1:3),onSlideChange:d},[C,f]=t.useState("");return t.useEffect((()=>{f(window.location.href)}),[]),r.default.createElement(a.StyledCarousel,Object.assign({},m,h,{selectSlideWhenClick:!0,previousControlIcon:r.default.createElement(o,{currentUrl:C}),nextControlIcon:r.default.createElement(o,{currentUrl:C,isRight:!0})}),(e=>i.map(((t,l)=>r.default.createElement(a.StyledSlide,Object.assign({key:l,onClick:d,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":C}},s),r.default.createElement("div",{className:"centerred-pill-wrapper"},r.default.createElement(a.StyledPill,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":C,locale:u,name:t.name,icon:t.icon,className:l===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),r=require("react"),t=require("@mantine/core");require("dayjs"),require("./screenSizeContext-f1867352.js"),require("styled-components");var s=require("./theme-fc5a9bfa.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./index-f410acdf.js"),require("./utils-3e9c504f.js"),require("./isProduction-34d5eafd.js"),require("./Onboarding-d50b4820.js"),require("./gAssets.js");var n=i(r);exports.Indicator=r=>{var{styles:i,color:o=s.theme.colors.red700}=r,a=e.__rest(r,["styles","color"]);return n.default.createElement(t.Indicator,Object.assign({inline:!0,position:"top-end",offset:4,styles:Object.assign({processing:{animationDirection:"alternate"}},i),color:o},a))};
@@ -1 +1 @@
1
- "use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index-af9bc189.js"),s=require("./index-402e7eb9.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:g,customSize:m,badge:i,locale:u,dateForSeasonal:c,isPro:d})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":g||void 0,"data-has-badge":!!i,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
1
+ "use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index-1fe06397.js"),s=require("./index-bbfcfa8f.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=l(e);exports.Logo=({type:l,className:r,style:n,isLightLogo:g,customSize:m,badge:i,locale:u,dateForSeasonal:c,isPro:d})=>{const f=e.useMemo((()=>{if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};const e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return o.default.createElement(t.StyledLogo,{className:r,style:n,"data-logo-is-light":g||void 0,"data-has-badge":!!i,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right xmas logo",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right new year logo",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?o.default.createElement(o.default.Fragment,null,o.default.createElement(s.ImageWrap,{alt:"left lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),o.default.createElement(s.ImageWrap,{alt:"right lunar new year logo",loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,o.default.createElement(t.LogoIcon,{type:l,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?o.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,i)};
@@ -1 +1 @@
1
- "use strict";var t=require("./tslib.es6-ac2daece.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:p,title:f,className:g,onClick:P,icon:k,iconPosition:v="left",children:E,isLoading:y=!1,loadingText:b,dataEventCategory:N,dataEventAction:w,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":N,"data-event-action":w,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),G=(k||y)&&e.default.createElement("span",{className:r},y?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${g||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!y&&!h&&P&&P(t)},title:f,"data-is-loading":y,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},y&&b||E),"right"===v&&G))};
1
+ "use strict";var t=require("./tslib.es6-73516c55.js");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var e=a(require("react")),d="P03rcnV",o="LsvykAk",c="S2kaD9B",i="fAwTdkg",l="ITgol3T",r="cD-HMFz",n="oAG2-aJ",s="Y9fGCaj";exports.Button=a=>{var{size:u,color:C="primary",theme:m="helloSites",isDisabled:h,isBlock:p,title:f,className:g,onClick:P,icon:k,iconPosition:v="left",children:E,isLoading:y=!1,loadingText:b,dataEventCategory:N,dataEventAction:w,dataEventLabel:L,dataProductChannel:B,dataProductSku:x,dataProductBrand:A,dataProductName:T,dataProductPrice:j,dataProductCategory:z,dataProductPosition:D,type:S}=a,F=t.__rest(a,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","iconPosition","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","type"]);const M={"data-event-category":N,"data-event-action":w,"data-event-label":L,"data-product-channel":B,"data-product-sku":x,"data-product-brand":A,"data-product-name":T,"data-product-price":j,"data-product-category":z,"data-product-position":D},q=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:s,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:n,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"}))),G=(k||y)&&e.default.createElement("span",{className:r},y?q:k," ");return e.default.createElement("button",Object.assign({},M,{className:`${l} ${g||""}`,"data-size":u,"data-color":C,"data-block":p,"data-has-icon":!!k||void 0,"data-theme":m,disabled:h,onClick:t=>{!y&&!h&&P&&P(t)},title:f,"data-is-loading":y,type:S},F),e.default.createElement("span",{className:i},"left"===v&&G,E&&e.default.createElement("span",{className:c},y&&b||E),"right"===v&&G))};
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-f9a0cb4a.js"),l=require("./index-af9bc189.js"),o=require("./index-cc269cbc.js"),r=require("styled-components"),i=require("./useTranslations-c79460a2.js"),n=require("./Onboarding-58b4b0c3.js"),d=require("./index-591a224d.js"),s=require("./theme-72e8f883.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(e),m=c(r);const p=({open:e=!1,onClickOutside:t})=>u.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),h=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:c,siteType:m})=>{const[p,h]=e.useState(t),f="marryBaby"===m;return u.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>u.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":c,key:a,onClick:()=>{var t;t=e.value,c||(h(t),n&&n(t))}},u.default.createElement("div",null,e.content,e.label&&u.default.createElement(u.default.Fragment,null,f?u.default.createElement(d.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?s.theme.mbColors.dark:s.theme.mbColors.midGray},e.label):u.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},f=m.default.div`
1
+ "use strict";var e=require("react"),t=require("@mantine/core"),a=require("./utils-3e9c504f.js"),l=require("./index-1fe06397.js"),o=require("./index-34e82de0.js"),r=require("styled-components"),i=require("./useTranslations-6a22edf2.js"),n=require("./Onboarding-d50b4820.js"),d=require("./index-623fa4ea.js"),s=require("./theme-fc5a9bfa.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=c(e),m=c(r);const p=({open:e=!1,onClickOutside:t})=>u.default.createElement(l.StyledBackdrop,{"data-open":e,onClick:t}),h=({value:t,options:a,className:r,direction:i="horizontal",onChange:n,isDisabled:c,siteType:m})=>{const[p,h]=e.useState(t),f="marryBaby"===m;return u.default.createElement(l.StyledRadioImageGroup,{className:r,"data-direction":i},a.map(((e,a)=>u.default.createElement(l.StyledRadioImageItem,{"data-selected":(t||p)===e.value,"data-is-mb":f,"data-disabled":c,key:a,onClick:()=>{var t;t=e.value,c||(h(t),n&&n(t))}},u.default.createElement("div",null,e.content,e.label&&u.default.createElement(u.default.Fragment,null,f?u.default.createElement(d.MarryBabyText,{type:"subtitle-2",color:(t||p)===e.value?s.theme.mbColors.dark:s.theme.mbColors.midGray},e.label):u.default.createElement(o.Text,{type:"bold",color:(t||p)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label)))))))},f=m.default.div`
2
2
  position: relative;
3
3
  z-index: 200;
4
4
  background-color: ${e=>e.theme.colors.white};
@@ -0,0 +1,53 @@
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),r=require("react"),t=require("@mantine/core"),i=require("./index-1fe06397.js");require("@mantine/hooks"),require("./gAssets.js"),require("@mantine/dates");var n=require("./index-f410acdf.js");require("./Onboarding-d50b4820.js");var o=require("./index-38adf256.js");require("dayjs"),require("./screenSizeContext-f1867352.js");var a=require("styled-components"),s=require("./theme-fc5a9bfa.js"),d=require("./utils-3e9c504f.js");require("./isProduction-34d5eafd.js"),require("./translationsContext-24650727.js"),require("string-format"),require("./index-f88fe1b4.js");var c=require("@mantine/form");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=m(r),u=m(a);const f=r.createContext({}),[p,g,x]=c.createFormContext(),h=u.default.div`
2
+ margin-top: 70px;
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ justify-content: center;
7
+ &.similac {
8
+ margin-top: 16px;
9
+ }
10
+ `,b=u.default(t.Container)`
11
+ &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ height: 100%;
16
+ width: 100%;
17
+ max-width: 520px;
18
+ }
19
+ .header {
20
+ margin-bottom: 32px;
21
+ text-align: center;
22
+ ${d.MediaQueries.mbDown} {
23
+ margin-bottom: 16px;
24
+ }
25
+ }
26
+
27
+ .input-control {
28
+ width: 100%;
29
+ }
30
+ .radio-group,
31
+ .input-control {
32
+ margin-bottom: 16px;
33
+ }
34
+ .form {
35
+ width: 100%;
36
+ }
37
+
38
+ /* .form-error {
39
+ margin-top: 32px;
40
+ font-size: 14px;
41
+ }
42
+
43
+ .field-error {
44
+ margin-top: 10px;
45
+ font-size: 14px;
46
+ } */
47
+
48
+ .form-button {
49
+ width: 100%;
50
+ }
51
+ `,q=u.default.img`
52
+ margin-bottom: 38px;
53
+ `;exports.FormProvider=p,exports.Onboarding=a=>{var d,{heading:c,description:m,children:u,className:p,imgSrc:g,hiddenLogo:x=!1}=a,j=e.__rest(a,["heading","description","children","className","imgSrc","hiddenLogo"]);const{isMarryBaby:v,siteType:y}=r.useContext(f);return l.default.createElement(b,Object.assign({},j,{className:`hhg-comp-onboarding-container ${p}`,size:"sm"}),!x&&l.default.createElement(i.LogoIcon,{type:v?y:(null===(d=n.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===d?void 0:d.LOGO_TYPE)||"hellobacsi"}),l.default.createElement(h,{className:x?"similac":""},g&&l.default.createElement(q,{src:g,loading:"lazy"}),(c||m)&&l.default.createElement("div",{className:"header"},c&&l.default.createElement(t.Title,{order:3},c),m&&l.default.createElement(o.Text,{size:"p3",mt:8,color:s.theme.colors.gray600},m)),u))},exports.OnboardingContext=f,exports.useForm=x,exports.useFormContext=g;
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),a=require("styled-components");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(t),n=i(a);const o=n.default.img`
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),a=require("styled-components");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(t),n=i(a);const o=n.default.img`
2
2
  &[data-has-placeholder='true'] {
3
3
  background-position: center;
4
4
  background-repeat: no-repeat;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./index-ffbdda9c.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);exports.Modal=t=>{var{title:n,styles:o}=t,i=e.__rest(t,["title","styles"]);const{classes:u}=a.useStyles(void 0,{name:"Modal",styles:o});return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,Object.assign({centered:!0,classNames:u},i,{withCloseButton:!1,title:i.withCloseButton&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},n),r.default.createElement(s.CloseButton,Object.assign({},i.closeButtonProps,{onClick:()=>{var e;return null===(e=i.onClose)||void 0===e?void 0:e.call(i)},sx:{":focus":{outline:0}}}),r.default.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),t=require("react"),s=require("@mantine/core"),l=require("./gAssets.js"),a=require("./index-38adf256.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(t);exports.Modal=t=>{var{title:n,styles:o}=t,i=e.__rest(t,["title","styles"]);const{classes:u}=a.useStyles(void 0,{name:"Modal",styles:o});return r.default.createElement(r.default.Fragment,null,r.default.createElement(s.Modal,Object.assign({centered:!0,classNames:u},i,{withCloseButton:!1,title:i.withCloseButton&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.Text,{size:"s2",weight:"semiBold",as:"span"},n),r.default.createElement(s.CloseButton,Object.assign({},i.closeButtonProps,{onClick:()=>{var e;return null===(e=i.onClose)||void 0===e?void 0:e.call(i)},sx:{":focus":{outline:0}}}),r.default.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-7614735f.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),a=require("react"),t=require("@mantine/core"),n=require("./index-3cc012f0.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=l(a);exports.Input=l=>{var{name:s,value:o,errorMessage:i,isNumerousKeyboard:c=!1,showErrorMessage:u=!0,actionIcon:d,displayIcon:m,onActionClick:p,label:y,className:b,onChange:v,isDisabled:C,CustomInput:f,size:g,style:h,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:M,enterKeyHint:A}=l,k=e.__rest(l,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const K=t.useMantineTheme(),L=a.useMemo((()=>M?{"data-event-category":M.dataEventCategory,"data-event-action":M.dataEventAction,"data-event-label":M.dataEventLabel}:{}),[M]);return r.default.createElement(n.StyledInput,{"data-size":g,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!m||void 0,"data-has-error":i&&i.length>0||void 0,color:K.fn.primaryColor(),shadowColor:K.colors[K.primaryColor][0],style:h},y&&r.default.createElement(n.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),r.default.createElement("div",{style:{position:"relative"}},f||r.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>v&&v(e.target.value),type:I,"aria-label":I,value:o,disabled:C,autoComplete:E,inputMode:c||"number"===I?"numeric":I,pattern:c?"[0-9]*":".*",className:N,enterKeyHint:A},L,k)),m&&r.default.createElement(n.StyledDisplayIcon,{className:"displayIcon"},m),d&&r.default.createElement(n.StyledActionIcon,{className:"actionIcon",onClick:p},d)),i&&i.length>0&&u&&r.default.createElement(n.StyledErrorLabel,{className:"errorLabel"},i))};
@@ -1 +1 @@
1
- "use strict";var e=require("date-fns/locale"),o=require("./Onboarding-58b4b0c3.js"),l=require("./isProduction-60234ee3.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
1
+ "use strict";var e=require("date-fns/locale"),o=require("./Onboarding-d50b4820.js"),l=require("./isProduction-34d5eafd.js");const i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",a={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},s={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},O="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],I=["vi-VN"],r=["vi-VN","id-ID","en-PH","tl-PH"],h=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var p;exports.QUERY_HEALTH_TOOL=void 0,(p=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",p.gender="gndr",p.age="ge",p.slug="slug",p.resultId="resultId",p.bmr="mr",p.height="gt",p.weight="wght",p.source="surc",p.type="tp",p.startDate="sd",p.additional="tnl",p.week="wk",p.twins="twn",p.weightBefore="wb",p.yourself="yrslf",p.intensity="sy",p.rate="rt",p.method="mthd",p.day="dy",p.pwg="pwg",p.cycle="le",p.period="prd",p.access_token="tkn",p.name="nm",p.id="id";const _={[o.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[o.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[o.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[o.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[o.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},A="hhg_user_token",m={[o.LOCALE.PhilippinesEnglish]:e.enUS,[o.LOCALE.Vietnam]:e.vi,[o.LOCALE.Cambodia]:e.km,[o.LOCALE.India]:e.hi,[o.LOCALE.Indonesia]:e.id,[o.LOCALE.Myanmar]:e.enUS,[o.LOCALE.Malaysia]:e.ms,[o.LOCALE.Thailand]:e.th,[o.LOCALE.Taiwan]:e.zhTW},L="https://cdn.hellohealthgroup.com/countries";var C=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:O,TOGETHER_LOCALES:c,ECOM_LOCALES:I,CARE_LOCALES:r,CARE_BOOKING_LOCALES:h,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:_,BEARER_TOKEN_COOKIE:A,DATE_FNS_LOCALE:m,CDN_ADDRESS:L,siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.BEARER_TOKEN_COOKIE=A,exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=r,exports.CDN_ADDRESS=L,exports.DATE_FNS_LOCALE=m,exports.ECOM_LOCALES=I,exports.FAVICONS=T,exports.ISO_FORMAT=_,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=O,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=C,exports.siteHost=i,exports.siteOptions=n;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-ac2daece.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,c=l.createContext({}),d=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,c=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(c/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>d(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===d(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((()=>{var e,l;return{control:Object.assign({},(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(c.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,d=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(c),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,d),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;
1
+ "use strict";var e=require("./tslib.es6-73516c55.js"),l=require("react"),t=require("@mantine/carousel"),n=require("@mantine/core"),r=require("@mantine/hooks");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(l);const o=t.Carousel.Slide,c=l.createContext({}),d=(e,l)=>e>=l?e-l:e,u=i=>{var{children:o,blurFromCenter:u,blurFromIndex:a,blurLength:v=3,maxBlurOpacity:f=.5,onSlideChange:h,selectSlideWhenClick:S}=i,m=e.__rest(i,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]);const{width:p}=r.useViewportSize(),[g]=r.useResizeObserver(),y=l.useRef(null),[C,b]=l.useState(0),k=()=>{var e,l,t,n,r;const i=(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes())||[];if((null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slideNodes().length)<=(null===(t=null==y?void 0:y.current)||void 0===t?void 0:t.slidesInView().length))return i.map((e=>{e.classList.remove("center-slide"),e.style.opacity="1"})),!1;const s=null===(n=null==y?void 0:y.current)||void 0===n?void 0:n.selectedScrollSnap();b(s);const o=i.length,c=(null===(r=null==y?void 0:y.current)||void 0===r?void 0:r.slidesInView()).length,h=Math.floor(c/2),S=u?a+v-1:h,m=s+S,p=m===o?0:m>o?m-o:m,g=s-S,C=g<0?o+g:g>0?s-S:0,k=[...new Set(Array(2*S+1).fill("").map(((e,l)=>d(C+l,o))))];i.map(((e,l)=>{if(l===s?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==k.indexOf(l)){const r=f/v;for(let i=0;i<v;i++){if(l===d(C+i,o)||l===(n=o,(t=p-i)<0?n+t:t)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}}else e.style.opacity="0";var t,n}))},x={getEmblaApi:e=>{y.current=e},onSlideChange:e=>{k(),null==h||h(e)}};l.useEffect((()=>{(null==y?void 0:y.current)&&k()}),[p]);const E=n.createStyles((()=>{var e,l;return{control:Object.assign({},(null===(e=null==y?void 0:y.current)||void 0===e?void 0:e.slideNodes().length)<=(null===(l=null==y?void 0:y.current)||void 0===l?void 0:l.slidesInView().length)&&{display:"none"})}})),{classes:O}=E();return s.default.createElement(c.Provider,{value:{slider:null==y?void 0:y.current,centerSlide:C,selectSlideWhenClick:S}},s.default.createElement(t.Carousel,Object.assign({classNames:{control:O.control},ref:g,slideSize:"auto",containScroll:"trimSnaps"},x,m,{loop:!0}),"function"==typeof o?o(C):o))};u.Slide=t=>{var{children:n,onClick:r,innerSlideProps:i}=t,d=e.__rest(t,["children","onClick","innerSlideProps"]);const{slider:u,selectSlideWhenClick:a}=l.useContext(c),v=l.useRef(),f=l.useRef(""),[h,S]=l.useState(0);l.useEffect((()=>{f.current=String(Math.round(1e4*Math.random()))}),[]),l.useEffect((()=>{const e=(null==u?void 0:u.slideNodes())||[];S(e.findIndex((e=>e.dataset.key===f.current)))}),[u]);const m={ref:v,"data-key":f.current,"data-index":h};return s.default.createElement(o,Object.assign({},m,d),s.default.createElement("div",Object.assign({style:{height:"100%"},onClick:()=>{a&&(null==u||u.scrollTo(h)),null==r||r(h)}},i),n))},exports.CentralCarousel=u;