@hhgtech/hhg-components 1.23.79 → 1.23.81-beta-1

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 (297) hide show
  1. package/build/BabyGrowth-26f210bd.js +1 -0
  2. package/build/Locale-51509292.js +1 -0
  3. package/build/Vietnam-97d56fa8.js +1 -0
  4. package/build/{Visible-a2df0ad1.js → Visible-eeceb5ba.js} +1 -1
  5. package/build/animation-efbfdf7e.js +1 -0
  6. package/build/babyGrowth.js +1 -1
  7. package/build/cache.js +1 -1
  8. package/build/care.js +1 -1
  9. package/build/components/atoms/authorBadge/index.d.ts +3 -3
  10. package/build/components.js +1 -1
  11. package/build/constants.js +1 -1
  12. package/build/{core-5a87388b.js → core-b46f1b47.js} +1 -1
  13. package/build/dataTransform-8a447186.js +1 -0
  14. package/build/{defaultClassWrapper-a472b8a7.js → defaultClassWrapper-a6bb62db.js} +1 -1
  15. package/build/ecom.js +1 -1
  16. package/build/esm/BabyGrowth-136d3717.js +1 -0
  17. package/build/esm/Locale-ae8993d5.js +1 -0
  18. package/build/esm/Vietnam-be99b27f.js +1 -0
  19. package/build/esm/{Visible-2e46accc.js → Visible-b1b2fcd4.js} +1 -1
  20. package/build/esm/animation-e77d0dee.js +1 -0
  21. package/build/esm/babyGrowth.js +1 -1
  22. package/build/esm/cache.js +1 -1
  23. package/build/esm/care.js +1 -1
  24. package/build/esm/components.js +1 -1
  25. package/build/esm/constants.js +1 -1
  26. package/build/esm/{core-c017882c.js → core-e3d52c91.js} +1 -1
  27. package/build/esm/dataTransform-5a39bf37.js +1 -0
  28. package/build/esm/defaultClassWrapper-67f33202.js +1 -0
  29. package/build/esm/ecom.js +1 -1
  30. package/build/esm/footer.js +1 -1
  31. package/build/esm/gAssets.js +1 -1
  32. package/build/esm/getDynamicHealthTool-a6db9398.js +1 -0
  33. package/build/esm/{getSocialList-7ef543d5.js → getSocialList-cd7ea871.js} +1 -1
  34. package/build/esm/hooks.js +1 -1
  35. package/build/esm/i18n.js +1 -1
  36. package/build/esm/index-0559b638.js +1 -0
  37. package/build/esm/index-068821fc.js +1 -0
  38. package/build/esm/{index-20fcb271.js → index-0b0d9bc0.js} +1 -1
  39. package/build/esm/index-261db2a9.js +1 -0
  40. package/build/esm/index-344ef39b.js +1 -0
  41. package/build/esm/index-38a224a5.js +1 -0
  42. package/build/esm/{index-e296a5d5.js → index-4d8c6099.js} +1 -1
  43. package/build/esm/{index-ef05140e.js → index-623e23db.js} +1 -1
  44. package/build/esm/index-704d8584.js +1 -0
  45. package/build/esm/{index-178afa3f.js → index-75c13b36.js} +1 -1
  46. package/build/esm/{index-a3a7825f.js → index-80a7384c.js} +1 -1
  47. package/build/esm/{index-db22f190.js → index-96c22dca.js} +1 -1
  48. package/build/esm/index-9b49ae49.js +1 -0
  49. package/build/esm/index-a95eb5d1.js +1 -0
  50. package/build/esm/index-add484cd.js +1 -0
  51. package/build/esm/index-c5acd351.js +1 -0
  52. package/build/esm/index-c6060bd3.js +1 -0
  53. package/build/esm/{index-5c7346da.js → index-d10692e8.js} +1 -1
  54. package/build/esm/{index-7ec7eee0.js → index-e593aa3a.js} +1 -1
  55. package/build/esm/index-ea96cb13.js +1 -0
  56. package/build/esm/{index-e05e7214.js → index-ec4f0fbf.js} +1 -1
  57. package/build/esm/index-fa85da0e.js +7 -0
  58. package/build/esm/index.css +1 -1
  59. package/build/esm/index.js +1 -1
  60. package/build/esm/{index.styled-42bf1f2e.js → index.styled-1e888cef.js} +1 -1
  61. package/build/esm/{index.styled-371fe27d.js → index.styled-277a6375.js} +1 -1
  62. package/build/esm/index.styled-92d42721.js +1 -0
  63. package/build/esm/lead.js +1 -1
  64. package/build/esm/mantine.js +1 -1
  65. package/build/esm/misc.js +1 -1
  66. package/build/esm/navigation.js +1 -1
  67. package/build/esm/onboarding.js +1 -1
  68. package/build/esm/pwg.js +1 -1
  69. package/build/esm/routing-c9220ff4.js +1 -0
  70. package/build/esm/together.js +1 -1
  71. package/build/esm/{translationsProvider-e09fec8e.js → translationsProvider-b4abf22b.js} +1 -1
  72. package/build/esm/{tslib.es6-ed899230.js → tslib.es6-2dcedc0f.js} +1 -1
  73. package/build/esm/types-5bd404ad.js +1 -0
  74. package/build/esm/types-edc99027.js +1 -0
  75. package/build/esm/types.js +1 -1
  76. package/build/esm/{useFbDataLayer-7a57020e.js → useFbDataLayer-faf0afa6.js} +1 -1
  77. package/build/esm/useHealthToolCache-91b42db5.js +1 -0
  78. package/build/esm/{useTranslations-45d1bc00.js → useTranslations-c02cb81b.js} +1 -1
  79. package/build/footer.js +1 -1
  80. package/build/gAssets.js +1 -1
  81. package/build/{getDynamicHealthTool-23b3ddfa.js → getDynamicHealthTool-9e981d48.js} +1 -1
  82. package/build/{getSocialList-3a9bdc38.js → getSocialList-0c1de9db.js} +1 -1
  83. package/build/hooks.js +1 -1
  84. package/build/i18n.js +1 -1
  85. package/build/index-11168566.js +1 -0
  86. package/build/{index-8114a7c9.js → index-191f4c98.js} +1 -1
  87. package/build/{index-1b41694c.js → index-28ce8643.js} +1 -1
  88. package/build/{index-baf40c85.js → index-306bbef1.js} +1 -1
  89. package/build/index-3194d64b.js +1 -0
  90. package/build/{index-466e5de5.js → index-4af9e20b.js} +1 -1
  91. package/build/{index-adf22e37.js → index-640efce0.js} +1 -1
  92. package/build/index-72238bed.js +1 -0
  93. package/build/index-7f2b16b7.js +7 -0
  94. package/build/index-860b0413.js +1 -0
  95. package/build/{index-04ad01a7.js → index-8ea0577a.js} +1 -1
  96. package/build/index-94984012.js +1 -0
  97. package/build/index-99161ff9.js +1 -0
  98. package/build/index-9ac8f09f.js +1 -0
  99. package/build/{index-9d0f0c5e.js → index-b1794c6a.js} +1 -1
  100. package/build/{index-dee43883.js → index-b2999070.js} +1 -1
  101. package/build/{index-a5c4d237.js → index-b36d9066.js} +1 -1
  102. package/build/index-b59d3266.js +1 -0
  103. package/build/{index-47c5c8a3.js → index-b91c53a3.js} +1 -1
  104. package/build/index-c07ec7a9.js +1 -0
  105. package/build/{index-93e963ec.js → index-e7bf319a.js} +1 -1
  106. package/build/index-ea9c15bb.js +1 -0
  107. package/build/index.css +1 -1
  108. package/build/index.js +1 -1
  109. package/build/{index.styled-d85047f3.js → index.styled-10e505f8.js} +1 -1
  110. package/build/index.styled-992d5897.js +1 -0
  111. package/build/{index.styled-1e6bee5c.js → index.styled-d1881370.js} +1 -1
  112. package/build/lead.js +1 -1
  113. package/build/mantine.js +1 -1
  114. package/build/misc.js +1 -1
  115. package/build/navigation.js +1 -1
  116. package/build/onboarding.js +1 -1
  117. package/build/pwg.js +1 -1
  118. package/build/routing-2792580d.js +1 -0
  119. package/build/together/components/molecules/index.d.ts +1 -0
  120. package/build/together/components/molecules/profileDetail/care/questionCard/index.d.ts +1 -1
  121. package/build/together/components/molecules/skipQuestionOfExpertBtn/index.d.ts +14 -0
  122. package/build/together/components/organisms/cardPost/index.d.ts +3 -1
  123. package/build/together/components/organisms/cardReply/index.d.ts +3 -1
  124. package/build/together.js +1 -1
  125. package/build/{translationsProvider-f923e1f3.js → translationsProvider-f4f1687f.js} +1 -1
  126. package/build/{types-a17ac92c.js → types-1bc89c42.js} +1 -1
  127. package/build/types-918e732b.js +1 -0
  128. package/build/types.js +1 -1
  129. package/build/{useFbDataLayer-8c8691c0.js → useFbDataLayer-864a3171.js} +1 -1
  130. package/build/useHealthToolCache-bf29b735.js +1 -0
  131. package/build/useTranslations-ab09572c.js +1 -0
  132. package/package.json +3 -2
  133. package/build/Locale-5f8729a9.js +0 -1
  134. package/build/dataTransform-9fc7f790.js +0 -1
  135. package/build/dataTransform-e9cbd0dc.js +0 -1
  136. package/build/esm/Locale-4d62d97c.js +0 -1
  137. package/build/esm/dataTransform-65452469.js +0 -1
  138. package/build/esm/dataTransform-de8c37b7.js +0 -1
  139. package/build/esm/defaultClassWrapper-50817775.js +0 -1
  140. package/build/esm/getDynamicHealthTool-f9db173b.js +0 -1
  141. package/build/esm/index-07e01adb.js +0 -1
  142. package/build/esm/index-0fc5a0de.js +0 -1
  143. package/build/esm/index-2a31d5f4.js +0 -1
  144. package/build/esm/index-54002d31.js +0 -1
  145. package/build/esm/index-5c1e6193.js +0 -1
  146. package/build/esm/index-709a0788.js +0 -1
  147. package/build/esm/index-79d25311.js +0 -1
  148. package/build/esm/index-9f3bd009.js +0 -1
  149. package/build/esm/index-c2186349.js +0 -1
  150. package/build/esm/index-d0bd076c.js +0 -1
  151. package/build/esm/index-eb643295.js +0 -1
  152. package/build/esm/index-ff38d588.js +0 -1
  153. package/build/esm/index.styled-66d18f9b.js +0 -1
  154. package/build/esm/index.styled-9860924c.js +0 -1
  155. package/build/esm/index.styled-c26dde1c.js +0 -1
  156. package/build/esm/index.styled-df4ba5bb.js +0 -1
  157. package/build/esm/routing-28046f1e.js +0 -1
  158. package/build/esm/screenSizeContext-8d231873.js +0 -1
  159. package/build/esm/types-046d894b.js +0 -1
  160. package/build/esm/types-7aa4a4fc.js +0 -1
  161. package/build/esm/useHealthToolCache-96408ab2.js +0 -1
  162. package/build/index-2013328f.js +0 -1
  163. package/build/index-4ef2a251.js +0 -1
  164. package/build/index-5253a467.js +0 -1
  165. package/build/index-62bce5b9.js +0 -1
  166. package/build/index-74a41a0f.js +0 -1
  167. package/build/index-84e073ae.js +0 -1
  168. package/build/index-b32c80fd.js +0 -1
  169. package/build/index-c7aebefd.js +0 -1
  170. package/build/index-d8eeff50.js +0 -1
  171. package/build/index-f44fd688.js +0 -1
  172. package/build/index.styled-016b6891.js +0 -1
  173. package/build/index.styled-0b8edda1.js +0 -1
  174. package/build/index.styled-15724256.js +0 -1
  175. package/build/index.styled-dbc46032.js +0 -1
  176. package/build/routing-4a8e7732.js +0 -1
  177. package/build/screenSizeContext-b1fde597.js +0 -1
  178. package/build/types-5a2ed413.js +0 -1
  179. package/build/useHealthToolCache-78214209.js +0 -1
  180. package/build/useTranslations-f4967efa.js +0 -1
  181. /package/build/{BMI_BOYS.percentile.monthly-d03867a7.js → BMI_BOYS.percentile.monthly-d7e28b29.js} +0 -0
  182. /package/build/{BMI_BOYS.percentile.weekly-bea74929.js → BMI_BOYS.percentile.weekly-3f545527.js} +0 -0
  183. /package/build/{BMI_BOYS.percentile.yearly-d7668605.js → BMI_BOYS.percentile.yearly-ef90d86f.js} +0 -0
  184. /package/build/{BMI_BOYS.zscore.monthly-c001e8b4.js → BMI_BOYS.zscore.monthly-42234515.js} +0 -0
  185. /package/build/{BMI_BOYS.zscore.weekly-3c4d1229.js → BMI_BOYS.zscore.weekly-fb82ea75.js} +0 -0
  186. /package/build/{BMI_BOYS.zscore.yearly-b11de130.js → BMI_BOYS.zscore.yearly-53db05a5.js} +0 -0
  187. /package/build/{BMI_GIRLS.percentile.monthly-aa010fbf.js → BMI_GIRLS.percentile.monthly-1b8284b7.js} +0 -0
  188. /package/build/{BMI_GIRLS.percentile.weekly-1538f129.js → BMI_GIRLS.percentile.weekly-95b2caac.js} +0 -0
  189. /package/build/{BMI_GIRLS.percentile.yearly-dc43f3f6.js → BMI_GIRLS.percentile.yearly-551edca9.js} +0 -0
  190. /package/build/{BMI_GIRLS.zscore.monthly-0cf1d311.js → BMI_GIRLS.zscore.monthly-b0a5ccfb.js} +0 -0
  191. /package/build/{BMI_GIRLS.zscore.weekly-488d0bf9.js → BMI_GIRLS.zscore.weekly-66907b5d.js} +0 -0
  192. /package/build/{BMI_GIRLS.zscore.yearly-73a3bac0.js → BMI_GIRLS.zscore.yearly-731bf131.js} +0 -0
  193. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-1876da8c.js → HEAD CIRCUM_BOYS.percentile.monthly-2bee4e48.js} +0 -0
  194. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-fc9cc54d.js → HEAD CIRCUM_BOYS.percentile.weekly-529d31c6.js} +0 -0
  195. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-2d112c46.js → HEAD CIRCUM_BOYS.percentile.yearly-55ca58ae.js} +0 -0
  196. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-2f52d036.js → HEAD CIRCUM_BOYS.zscore.monthly-765aab5b.js} +0 -0
  197. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5fadf1f7.js → HEAD CIRCUM_BOYS.zscore.weekly-2cd09363.js} +0 -0
  198. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-30fc4827.js → HEAD CIRCUM_BOYS.zscore.yearly-1e2e0fec.js} +0 -0
  199. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-cdc47150.js → HEAD CIRCUM_GIRLS.percentile.monthly-ed638240.js} +0 -0
  200. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-9496d77e.js → HEAD CIRCUM_GIRLS.percentile.weekly-a5758801.js} +0 -0
  201. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-a595b2cf.js → HEAD CIRCUM_GIRLS.percentile.yearly-77c6beae.js} +0 -0
  202. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-2141e55e.js → HEAD CIRCUM_GIRLS.zscore.monthly-a829e36d.js} +0 -0
  203. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-61db9880.js → HEAD CIRCUM_GIRLS.zscore.weekly-c83ea1b0.js} +0 -0
  204. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-c257163f.js → HEAD CIRCUM_GIRLS.zscore.yearly-a1fb9436.js} +0 -0
  205. /package/build/{HEIGHT_BOYS.percentile.monthly-01b6beb6.js → HEIGHT_BOYS.percentile.monthly-7d0170f9.js} +0 -0
  206. /package/build/{HEIGHT_BOYS.percentile.weekly-ccbe375f.js → HEIGHT_BOYS.percentile.weekly-008ea66c.js} +0 -0
  207. /package/build/{HEIGHT_BOYS.percentile.yearly-0135fd44.js → HEIGHT_BOYS.percentile.yearly-fe786dc9.js} +0 -0
  208. /package/build/{HEIGHT_BOYS.zscore.monthly-4537cf47.js → HEIGHT_BOYS.zscore.monthly-4cb98b4c.js} +0 -0
  209. /package/build/{HEIGHT_BOYS.zscore.weekly-52c45a2d.js → HEIGHT_BOYS.zscore.weekly-ed5bfe54.js} +0 -0
  210. /package/build/{HEIGHT_BOYS.zscore.yearly-1884544c.js → HEIGHT_BOYS.zscore.yearly-69dd7174.js} +0 -0
  211. /package/build/{HEIGHT_GIRLS.percentile.monthly-b7b5641e.js → HEIGHT_GIRLS.percentile.monthly-2149a459.js} +0 -0
  212. /package/build/{HEIGHT_GIRLS.percentile.weekly-92c8666e.js → HEIGHT_GIRLS.percentile.weekly-3304e333.js} +0 -0
  213. /package/build/{HEIGHT_GIRLS.percentile.yearly-a0ab6202.js → HEIGHT_GIRLS.percentile.yearly-efdac16c.js} +0 -0
  214. /package/build/{HEIGHT_GIRLS.zscore.monthly-67d0bd66.js → HEIGHT_GIRLS.zscore.monthly-d9bcfc79.js} +0 -0
  215. /package/build/{HEIGHT_GIRLS.zscore.weekly-80c975ad.js → HEIGHT_GIRLS.zscore.weekly-0f79bbe9.js} +0 -0
  216. /package/build/{HEIGHT_GIRLS.zscore.yearly-d769524a.js → HEIGHT_GIRLS.zscore.yearly-6481f374.js} +0 -0
  217. /package/build/{WEIGHT_BOYS.percentile.monthly-47839486.js → WEIGHT_BOYS.percentile.monthly-707a0058.js} +0 -0
  218. /package/build/{WEIGHT_BOYS.percentile.weekly-d79965b3.js → WEIGHT_BOYS.percentile.weekly-937dc980.js} +0 -0
  219. /package/build/{WEIGHT_BOYS.percentile.yearly-0e870030.js → WEIGHT_BOYS.percentile.yearly-258c8d16.js} +0 -0
  220. /package/build/{WEIGHT_BOYS.zscore.monthly-c5bef0ce.js → WEIGHT_BOYS.zscore.monthly-b46d4966.js} +0 -0
  221. /package/build/{WEIGHT_BOYS.zscore.weekly-a5b8c7f4.js → WEIGHT_BOYS.zscore.weekly-5d210371.js} +0 -0
  222. /package/build/{WEIGHT_BOYS.zscore.yearly-e058a289.js → WEIGHT_BOYS.zscore.yearly-7aef0989.js} +0 -0
  223. /package/build/{WEIGHT_GIRLS.percentile.monthly-38b8a56d.js → WEIGHT_GIRLS.percentile.monthly-fc6eea35.js} +0 -0
  224. /package/build/{WEIGHT_GIRLS.percentile.weekly-0eae7104.js → WEIGHT_GIRLS.percentile.weekly-dfed4a7f.js} +0 -0
  225. /package/build/{WEIGHT_GIRLS.percentile.yearly-a2c36c34.js → WEIGHT_GIRLS.percentile.yearly-b3fb9086.js} +0 -0
  226. /package/build/{WEIGHT_GIRLS.zscore.monthly-179b79ce.js → WEIGHT_GIRLS.zscore.monthly-7c3e28f4.js} +0 -0
  227. /package/build/{WEIGHT_GIRLS.zscore.weekly-5d9d3ff5.js → WEIGHT_GIRLS.zscore.weekly-1208dd1d.js} +0 -0
  228. /package/build/{WEIGHT_GIRLS.zscore.yearly-4ca40472.js → WEIGHT_GIRLS.zscore.yearly-050daf59.js} +0 -0
  229. /package/build/{constants-9386b494.js → constants-b537088a.js} +0 -0
  230. /package/build/{cookieHelper-d39362b6.js → cookieHelper-d75e24e7.js} +0 -0
  231. /package/build/esm/{BMI_BOYS.percentile.monthly-45f400fa.js → BMI_BOYS.percentile.monthly-0415989b.js} +0 -0
  232. /package/build/esm/{BMI_BOYS.percentile.weekly-0c5fdc15.js → BMI_BOYS.percentile.weekly-144cd109.js} +0 -0
  233. /package/build/esm/{BMI_BOYS.percentile.yearly-2e5c618b.js → BMI_BOYS.percentile.yearly-a830b189.js} +0 -0
  234. /package/build/esm/{BMI_BOYS.zscore.monthly-236d217c.js → BMI_BOYS.zscore.monthly-9fcd541d.js} +0 -0
  235. /package/build/esm/{BMI_BOYS.zscore.weekly-f21c8695.js → BMI_BOYS.zscore.weekly-2b05a0ba.js} +0 -0
  236. /package/build/esm/{BMI_BOYS.zscore.yearly-0b5f4183.js → BMI_BOYS.zscore.yearly-39b3ac79.js} +0 -0
  237. /package/build/esm/{BMI_GIRLS.percentile.monthly-14bfdb6c.js → BMI_GIRLS.percentile.monthly-bc04d18a.js} +0 -0
  238. /package/build/esm/{BMI_GIRLS.percentile.weekly-8ef27597.js → BMI_GIRLS.percentile.weekly-ca51177a.js} +0 -0
  239. /package/build/esm/{BMI_GIRLS.percentile.yearly-d2f11d40.js → BMI_GIRLS.percentile.yearly-5f997a8a.js} +0 -0
  240. /package/build/esm/{BMI_GIRLS.zscore.monthly-70b099bd.js → BMI_GIRLS.zscore.monthly-83045ce0.js} +0 -0
  241. /package/build/esm/{BMI_GIRLS.zscore.weekly-924f20f0.js → BMI_GIRLS.zscore.weekly-c1d606c5.js} +0 -0
  242. /package/build/esm/{BMI_GIRLS.zscore.yearly-33c3938b.js → BMI_GIRLS.zscore.yearly-8571ff30.js} +0 -0
  243. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-cd98d230.js → HEAD CIRCUM_BOYS.percentile.monthly-754f185e.js} +0 -0
  244. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-2d5b1289.js → HEAD CIRCUM_BOYS.percentile.weekly-7774188b.js} +0 -0
  245. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-5a996653.js → HEAD CIRCUM_BOYS.percentile.yearly-f3073fb3.js} +0 -0
  246. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-40559ff4.js → HEAD CIRCUM_BOYS.zscore.monthly-8a5bbc3d.js} +0 -0
  247. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-edecbd47.js → HEAD CIRCUM_BOYS.zscore.weekly-0b4498a5.js} +0 -0
  248. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-9ad1e165.js → HEAD CIRCUM_BOYS.zscore.yearly-5a30ddb1.js} +0 -0
  249. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-221130c1.js → HEAD CIRCUM_GIRLS.percentile.monthly-dbbfa986.js} +0 -0
  250. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-b8c1fdd5.js → HEAD CIRCUM_GIRLS.percentile.weekly-36734681.js} +0 -0
  251. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-1bd1d6ba.js → HEAD CIRCUM_GIRLS.percentile.yearly-b84b1213.js} +0 -0
  252. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9b549d35.js → HEAD CIRCUM_GIRLS.zscore.monthly-ed32433f.js} +0 -0
  253. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-334bc6b7.js → HEAD CIRCUM_GIRLS.zscore.weekly-61ff64bf.js} +0 -0
  254. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c80a7f60.js → HEAD CIRCUM_GIRLS.zscore.yearly-0b991c46.js} +0 -0
  255. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-bbfbe409.js → HEIGHT_BOYS.percentile.monthly-f6bde4cf.js} +0 -0
  256. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-5e680b3d.js → HEIGHT_BOYS.percentile.weekly-41cd91a5.js} +0 -0
  257. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-f86652d3.js → HEIGHT_BOYS.percentile.yearly-58925ecf.js} +0 -0
  258. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c6c3e48b.js → HEIGHT_BOYS.zscore.monthly-7a8ab4e2.js} +0 -0
  259. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-01e1718f.js → HEIGHT_BOYS.zscore.weekly-9abe3d51.js} +0 -0
  260. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-0596224d.js → HEIGHT_BOYS.zscore.yearly-770f114d.js} +0 -0
  261. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-957c796d.js → HEIGHT_GIRLS.percentile.monthly-d87d2855.js} +0 -0
  262. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7ccfd3fc.js → HEIGHT_GIRLS.percentile.weekly-2fd51f3d.js} +0 -0
  263. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-dd48c040.js → HEIGHT_GIRLS.percentile.yearly-4ba9fa38.js} +0 -0
  264. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-fc2b4d08.js → HEIGHT_GIRLS.zscore.monthly-1a16bbde.js} +0 -0
  265. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-20ae7191.js → HEIGHT_GIRLS.zscore.weekly-96fe6f1b.js} +0 -0
  266. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-f75604a4.js → HEIGHT_GIRLS.zscore.yearly-7774fa41.js} +0 -0
  267. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-8598904c.js → WEIGHT_BOYS.percentile.monthly-f3414d9a.js} +0 -0
  268. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d7f03ad5.js → WEIGHT_BOYS.percentile.weekly-1c07c765.js} +0 -0
  269. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b64243df.js → WEIGHT_BOYS.percentile.yearly-a9a10dab.js} +0 -0
  270. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d3a83b17.js → WEIGHT_BOYS.zscore.monthly-3dcddd45.js} +0 -0
  271. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-023f1cae.js → WEIGHT_BOYS.zscore.weekly-b17719a1.js} +0 -0
  272. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f134bedd.js → WEIGHT_BOYS.zscore.yearly-24685a5a.js} +0 -0
  273. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-b88eabbc.js → WEIGHT_GIRLS.percentile.monthly-5dcce6b6.js} +0 -0
  274. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-6a10a9c6.js → WEIGHT_GIRLS.percentile.weekly-3acc84da.js} +0 -0
  275. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-113abefe.js → WEIGHT_GIRLS.percentile.yearly-88dc1212.js} +0 -0
  276. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0f734635.js → WEIGHT_GIRLS.zscore.monthly-d465d2c7.js} +0 -0
  277. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1250e98a.js → WEIGHT_GIRLS.zscore.weekly-5c06b222.js} +0 -0
  278. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-ee8f2b6b.js → WEIGHT_GIRLS.zscore.yearly-17acdbd7.js} +0 -0
  279. /package/build/esm/{constants-713dd5b9.js → constants-88371f17.js} +0 -0
  280. /package/build/esm/{cookieHelper-cabf7113.js → cookieHelper-019cd653.js} +0 -0
  281. /package/build/esm/{isProduction-2930036a.js → isProduction-40c1727d.js} +0 -0
  282. /package/build/esm/{localizeNumberFormat-630e46c5.js → localizeNumberFormat-6a8d4799.js} +0 -0
  283. /package/build/esm/{theme-6fb6c9e7.js → theme-d0509a28.js} +0 -0
  284. /package/build/esm/{translationsContext-ced756f3.js → translationsContext-e01b1033.js} +0 -0
  285. /package/build/esm/{types-e48301e1.js → types-e9333aa0.js} +0 -0
  286. /package/build/esm/{useOutsideClick-dce72f86.js → useOutsideClick-5bd62aa9.js} +0 -0
  287. /package/build/esm/{useScrollbarSize-11662d63.js → useScrollbarSize-5b87c8f1.js} +0 -0
  288. /package/build/esm/{utils-44e23f79.js → utils-d40f1241.js} +0 -0
  289. /package/build/{isProduction-5f812990.js → isProduction-b8f09047.js} +0 -0
  290. /package/build/{localizeNumberFormat-bd82d437.js → localizeNumberFormat-ebd96390.js} +0 -0
  291. /package/build/{theme-41b4a20e.js → theme-3c8770d4.js} +0 -0
  292. /package/build/{translationsContext-817fdbe0.js → translationsContext-a6bd51d6.js} +0 -0
  293. /package/build/{tslib.es6-290fd150.js → tslib.es6-7409fcb1.js} +0 -0
  294. /package/build/{types-ea72b994.js → types-96a7e89e.js} +0 -0
  295. /package/build/{useOutsideClick-de97c23d.js → useOutsideClick-1687172c.js} +0 -0
  296. /package/build/{useScrollbarSize-3278d2c8.js → useScrollbarSize-c55c02ef.js} +0 -0
  297. /package/build/{utils-0e75984e.js → utils-feec2d6a.js} +0 -0
@@ -1 +1 @@
1
- "use strict";var e,o,l=require("./Locale-5f8729a9.js"),i=require("./isProduction-5f812990.js"),t={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:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10,site_id:10},HELLO_DOCTOR:{lng:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5,site_id:5},HELLO_DOCTOR_FIL:{lng:l.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5,site_id:5},HELLO_KRUPET:{lng:l.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4,site_id:4},HELLO_SWASTHYA:{lng:l.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9,site_id:9},HELLO_SEHAT:{lng:l.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2,site_id:2},HELLO_SAYARWON:{lng:l.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7,site_id:7},HELLO_DOKTOR:{lng:l.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3,site_id:3},HELLO_KHUNMOR:{lng:l.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6,site_id:6},HELLO_YISHI:{lng:l.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8,site_id:8},HELLO_BACSI:{lng:l.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1,site_id:1},MARRY_BABY:{lng:l.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11,site_id:11}},a="userGeoLocationCoordinates",s={"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"},E={"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"}},O={"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"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],r=["vi-VN","id-ID"],h={"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"}]};exports.QUERY_HEALTH_TOOL=void 0,(o=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id";var p=((e={})[l.LOCALE.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.India]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},e[l.LOCALE.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},e),_=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,CARE_LOCALES:T,CARE_BOOKING_LOCALES:r,FAVICONS:h,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,siteHost:t,siteOptions:n,isProduction:i.isProduction});exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=T,exports.FAVICONS=h,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=E,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=_,exports.siteHost=t,exports.siteOptions=n;
1
+ "use strict";var e,o,l=require("./Locale-51509292.js"),i=require("./isProduction-b8f09047.js"),t={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:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10,site_id:10},HELLO_DOCTOR:{lng:l.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5,site_id:5},HELLO_DOCTOR_FIL:{lng:l.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5,site_id:5},HELLO_KRUPET:{lng:l.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4,site_id:4},HELLO_SWASTHYA:{lng:l.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9,site_id:9},HELLO_SEHAT:{lng:l.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2,site_id:2},HELLO_SAYARWON:{lng:l.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7,site_id:7},HELLO_DOKTOR:{lng:l.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3,site_id:3},HELLO_KHUNMOR:{lng:l.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6,site_id:6},HELLO_YISHI:{lng:l.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8,site_id:8},HELLO_BACSI:{lng:l.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1,site_id:1},MARRY_BABY:{lng:l.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11,site_id:11}},a="userGeoLocationCoordinates",s={"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"},E={"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"}},O={"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"}},c="user",I=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],r=["vi-VN","id-ID"],h={"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"}]};exports.QUERY_HEALTH_TOOL=void 0,(o=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id";var p=((e={})[l.LOCALE.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.India]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},e[l.LOCALE.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},e[l.LOCALE.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},e[l.LOCALE.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},e[l.LOCALE.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},e),_=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:a,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:O,UP_BASEPATH:c,TOGETHER_LOCALES:I,CARE_LOCALES:T,CARE_BOOKING_LOCALES:r,FAVICONS:h,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:p,siteHost:t,siteOptions:n,isProduction:i.isProduction});exports.CARE_BOOKING_LOCALES=r,exports.CARE_LOCALES=T,exports.FAVICONS=h,exports.ISO_FORMAT=p,exports.LOCALE_SPECS=E,exports.STATIC_PAGES=O,exports.TOGETHER_LOCALES=I,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=a,exports.domainLocales=s,exports.index=_,exports.siteHost=t,exports.siteOptions=n;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),t=require("./tslib.es6-7409fcb1.js"),i=require("./utils-feec2d6a.js"),o=require("styled-components"),n=require("./cookieHelper-d75e24e7.js"),r=require("slugify"),a=require("string-format");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s,u,d=l(e),c=l(o),_=l(r),p=l(a),m=c.default.div(s||(s=t.__makeTemplateObject(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 400;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),i.MediaQueries.mbDown,i.MediaQueries.mbDown,i.MediaQueries.mbUp),v=c.default.div(u||(u=t.__makeTemplateObject(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),g="DD/MM/YYYY",E="/images/avatar.jpg",h="/images/default-image.jpg",T={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},f={"id-ID":{"kalkulator-bmi":T.BMI,"kebutuhan-kalori":T.BMR,"kalkulator-hari-perkiraan-lahir":T.DUE_DATE,"kalkulator-masa-subur-2":T.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":T.PWG,"kalkulator-detak-jantung-saat-olahraga":T.THR},"ms-MY":{"kalkulator-bmi":T.BMI,"kalkulator-bmr":T.BMR,"kalkulator-tarikh-bersalin":T.DUE_DATE,"kalkulator-kesuburan":T.OVULATION,"kalkulator-tambah-berat-badan-hamil":T.PWG,"target-heart-rate-calculator":T.THR},"vi-VN":{"cach-tinh-chi-so-bmi":T.BMI,"tinh-chi-so-bmr":T.BMR,"cong-cu-tinh-ngay-du-sinh":T.DUE_DATE,"tinh-ngay-rung-trung":T.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":T.PWG,"cong-cu-do-nhip-tim":T.THR},"zh-TW":{"bmi-calculator":T.BMI,"bmr-calculator":T.BMR,"due-date-calculator":T.DUE_DATE,"ovulation-calculator":T.OVULATION,"pregnancy-weight-gain-calculator":T.PWG,"target-heart-rate-calculator":T.THR},"en-PH":{"bmi-calculator":T.BMI,"bmr-calculator":T.BMR,"due-date-calculator":T.DUE_DATE,"ovulation-calculator":T.OVULATION,"pregnancy-weight-gain-calculator":T.PWG,"target-heart-rate-calculator":T.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":T.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":T.BMR,"เครื่องมือคำนวณกำหนดคลอด":T.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":T.OVULATION,"เครื่องคำนวณน้ำหนักตัว":T.PWG,"เครื่องวัดอัตราการเต้น":T.THR},"hi-IN":{"bmi-calculator-en":T.BMI,"bmi-calculator":T.BMI,"bmr-calculator":T.BMR,"delivery-date-calculator":T.DUE_DATE,"ovulation-calculator":T.OVULATION,"pregnancy-weight-gain-calculator":T.PWG,"target-heart-rate-calculator":T.THR},"km-KH":{"គណនា-bmi":T.BMI,"គណនា-bmr":T.BMR,"គណនាថ្ងៃសម្រាលកូន":T.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":T.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":T.PWG,"គណនារកចង្វាក់បេះដូងល្អ":T.THR},"my-MM":{"bmi-calculator":T.BMI,"bmr-calculator":T.BMR,"due-date-calendar":T.DUE_DATE,"ovulation-calculator":T.OVULATION,"pregnaancy-weight-calculator":T.PWG,"target-heartrate":T.THR,"pregnancy-weight-calculator":T.PWG,"target-heart-rate":T.THR}},b="hhg_user_token",A="together_admin_token",y={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},w={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},O={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},I=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:g,DEFAULT_AVATAR_IMG:E,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:h,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:T,LOCALE_HEALTH_TOOLS:f,BEARER_TOKEN_COOKIE:b,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:A,Z_INDEX:y,BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:w,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:O}),L=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||"",specialty:e.specialty||"",organisation:e.organisation||""}:{}},S=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},R=function(e){var i,o,n,r;return e?{id:e.ID,postName:e.post_name,sponsor:e.sponsor?D(e.sponsor):null,isSponsored:e.is_sponsored||null,postTitle:e.post_title||"",postModified:e.post_modified||"",postDate:e.post_date||"",modifiedTime:e.modified_time||"",permalink:e.permalink||"",featureImage:e.image||null,featureImageMobile:e.image_medium||null,featureImageMobileXs:e.image_thumbnail||null,author:L(e.author),reviewer:e.reviewed_by&&L(e.reviewed_by)||null,articleReviewed:(null==e?void 0:e.reviewed)?t.__assign(t.__assign({},null==e?void 0:e.reviewed),{author:x(null===(i=null==e?void 0:e.reviewed)||void 0===i?void 0:i.author),editor:x(null===(o=null==e?void 0:e.reviewed)||void 0===o?void 0:o.editor),expert:x(null===(n=null==e?void 0:e.reviewed)||void 0===n?void 0:n.expert),fact_check:x(null===(r=null==e?void 0:e.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:k(e.category),postContent:e.post_content||null,sections:e.sections||null,categories:(e.categories||[]).map(k),sources:e.sources||null,description:e.description||null,excerpt:e.excerpt||null,expert:S(e.expert),metaTag:e.meta_tag||null}:{}},x=function(e){return void 0!==e&&e?t.__assign(t.__assign({},e),{profile_url:(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):e.profile_url}):null},D=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},P=function(e){return{postTitle:e.post_title,permalink:e.permalink}},k=function(e){var t,i;return e?{termId:e.term_id||null,sponsor:e.sponsor?D(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return k(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(i=e.cat_parent)||void 0===i?void 0:i.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?P(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return C(e)})):null}:{}},C=function(e){return{title:e.title,content:e.content}},G=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},N=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},U=function(e){var t,i,o,n;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:null===(o=e.community)||void 0===o?void 0:o.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},M=function(e){return e?{answer:null==e?void 0:e.answer.map(F),expert:null==e?void 0:e.expert}:{}},B=function(e){var t,i,o,n,r,a,l,s,u,d,c,_,p,m,v,g,E,h,T,f,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var i,o,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(i=e.community)||void 0===i?void 0:i.slug)+"/"+t.slug,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(i=e.community)||void 0===i?void 0:i.id)||0,name:(null===(o=e.community)||void 0===o?void 0:o.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(_=e.user)||void 0===_?void 0:_.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(m=e.user)||void 0===m?void 0:m.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(E=e.user)||void 0===E?void 0:E.title)||"",doctorId:(null===(h=e.user)||void 0===h?void 0:h.doctor_id)?String(null===(T=e.user)||void 0===T?void 0:T.doctor_id):"",hospitalId:(null===(f=e.user)||void 0===f?void 0:f.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0,isAskDoctor:e.is_question?1:0,expertAnswer:M(null==e?void 0:e.expert_answer),createdTime:e.created_time||""}:{}},H=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.informations||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},F=function(e){var t,i,o,n,r,a,l,s,u,d,c,_,p,m,v,g,E,h,T,f,b,A,y,w,O,I,L,S,R,x,D,P;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(F):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(i=e.user)||void 0===i?void 0:i.user_name)||"",name:(null===(o=e.user)||void 0===o?void 0:o.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(_=e.user)||void 0===_?void 0:_.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(m=e.user)||void 0===m?void 0:m.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(E=e.mentioned)||void 0===E?void 0:E.id)||0,username:(null===(h=e.mentioned)||void 0===h?void 0:h.user_name)||"",name:(null===(T=e.mentioned)||void 0===T?void 0:T.name)||"",role:(null===(f=e.mentioned)||void 0===f?void 0:f.role)?null===(A=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===A?void 0:A.toLowerCase():"",avatar:(null===(y=e.mentioned)||void 0===y?void 0:y.avatar)||"",type:(null===(w=e.mentioned)||void 0===w?void 0:w.type)||"",email:(null===(O=e.mentioned)||void 0===O?void 0:O.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(R=e.mentioned)||void 0===R?void 0:R.doctor_id):"",hospitalId:(null===(x=e.mentioned)||void 0===x?void 0:x.hospital_id)?String(null===(D=e.mentioned)||void 0===D?void 0:D.hospital_id):"",title:(null===(P=e.mentioned)||void 0===P?void 0:P.title)||""}:null,mentions:e.mentions||[]}:{}},K=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},V=Object.freeze({__proto__:null,formatAuthor:L,formatArticleExpert:S,formatArticle:R,formatUserProfile:x,formatBMIResult:function(e){var t,i,o,n,r,a,l,s,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(i=null==e?void 0:e.condition)&&void 0!==i?i:""},{tab:"tools.risks",content:null!==(o=null==e?void 0:e.risk)&&void 0!==o?o:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:D,formatReviewedCategory:P,formatCategory:k,formatCategoryApi:function(e){return e?{categoryInfo:k(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(R),subCategories:(e.data.sub_categories||[]).map(k)}:{}},formatFaqsCategory:C,formatHealthTool:G,formatHealthToolTypeCategory:function(e){var t,i;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(i=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return G(e)})))&&void 0!==i?i:[]}:{}},formatCommunity:N,formatTopic:U,formatExpertAnswer:M,formatPost:B,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,i,o;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(i=e.from_user)||void 0===i?void 0:i.id,avatar:null===(o=e.from_user)||void 0===o?void 0:o.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:H,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:F,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?x(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:K,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?x(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,i,o;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(i=e.reviewed_by)||void 0===i?void 0:i.display_name)||(null===(o=e.reviewed_by)||void 0===o?void 0:o.name)||"",date:e.reviewed_date||"",link:K(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}}),Y=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var i={},o=(t||{}).decode||q,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===i[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),i[l]=Q(s,o)}n=a+1}return i},j=function(e,t,i){var o=i||{},n=o.encode||X;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!z.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!z.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(o.domain){if(!z.test(o.domain))throw new TypeError("option domain is invalid");a+="; Domain="+o.domain}if(o.path){if(!z.test(o.path))throw new TypeError("option path is invalid");a+="; Path="+o.path}if(o.expires){var s=o.expires;if(!function(e){return"[object Date]"===W.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}o.httpOnly&&(a+="; HttpOnly");o.secure&&(a+="; Secure");if(o.priority){switch("string"==typeof o.priority?o.priority.toLowerCase():o.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(o.sameSite){switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},W=Object.prototype.toString,z=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function q(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function X(e){return encodeURIComponent(e)}function Q(e,t){try{return t(e)}catch(t){return e}}var $={parse:Y,serialize:j},Z={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",USER:{DETAIL:"profile/user/detail?website_url={website_url}&user_id={id}",COUNT_TABS:"profile/user/counting?website_url={website_url}&user_id={id}&total_post={post}&total_comment={comment}&total_community={community}&total_reply={reply}&total_question={question}",LIST_POST:"profile/user/posts?website_url={website_url}&user_id={id}&is_anonymous={isAnonymous}&paging=none",LIST_QUESTION_NEED_REPLY:"questions/no-reply?website_url={website_url}",LIST_QUESTION:"question/{id}?website_url={website_url}&is_reply={isReply}&is_question={isQuestion}&is_ignore={isIgnore}&group_by={groupBy}",SKIP_QUESTION:"questions/ignore?website_url={website_url}&question_id={id}",LIST_ANSWERS:"replied/{id}?website_url={website_url}&paging=1&items_per_page={pageSize}"}},J={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},ee=e.createContext({data:J,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}});exports.GlobalData=J;var te={"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"},ie={"vi-VN":"marrybaby.vn"},oe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",ne=function(e){var t=exports.GlobalData.env.isMarryBaby;return"https://".concat(t?ie[e]:te[e])},re=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},ae=function(e,i,o){var n="";o&&(n=Object.keys(o).map((function(e){return e+"="+o[e]})).join("&"));var r=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=p.default(e,t.__assign(t.__assign({},(null==i?void 0:i._locale)?{website_url:ne(String(i._locale))}:{}),i));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+re(l)},le=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},se=function(e,i,o,n){return void 0===n&&(n=!1),t.__awaiter(void 0,void 0,void 0,(function(){var r,a,l,s,u;return t.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),[4,fetch(n?e:(c=e,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),t.__assign(t.__assign({method:i},le(o)),{headers:t.__assign({},null==o?void 0:o.headers)})).then((function(e){return e.json()}))];case 1:return(r=d.sent())?[2,r]:[3,3];case 2:return a=d.sent(),console.log(a),console.log({url:e,status:null===(l=null==a?void 0:a.response)||void 0===l?void 0:l.status,statusText:null===(s=null==a?void 0:a.response)||void 0===s?void 0:s.statusText}),[2,(null===(u=null==a?void 0:a.response)||void 0===u?void 0:u.data)||null];case 3:return[2,null]}var c}))}))},ue=function(e,i,o,r){return t.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u;return t.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,3,,4]),a=$.parse(r||""),l=a[b],(s=l||n.getCookie(b))&&s.length?[4,fetch(e,t.__assign(t.__assign({method:i},le(o)),{headers:t.__assign({Authorization:"Bearer "+s},null==o?void 0:o.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=d.sent())return[2,u];d.label=2;case 2:return[3,4];case 3:return d.sent(),[2,null];case 4:return[2,null]}}))}))};function de(e,t,i){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+i+"$2"):e+n+t+"="+i}var ce,_e=function(e,t,i,o){return i&&t?"".concat(i,"-").concat(t):"".concat(_.default(e||"",{lower:!0,locale:o||oe}),"-").concat(t)},pe=c.default.div(ce||(ce=t.__makeTemplateObject(["\n width: ","px;\n height: ","px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: ","px;\n height: ","px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.size||40}),(function(e){return e.size||40}),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink}));exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.BEARER_TOKEN_COOKIE=b,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=E,exports.DEFAULT_IMG=h,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=g,exports.DefaultComponentGlobalContextData=J,exports.HEALTH_TOOL_TYPE=T,exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=Z,exports.Popup=function(e){var t=e.type,i=void 0===t?"lead":t,o=e.closeIcon,n=e.isOpen,r=void 0===n||n,a=e.onClose,l=e.children,s=e.className,u=void 0===s?"":s,c=e.enableAnimation,_=void 0===c||c;return d.default.createElement(d.default.Fragment,null,d.default.createElement(m,{"data-open":r,"data-type":i,"data-animation":_},d.default.createElement("div",{className:"".concat(u||""," popup-content")},!!o&&d.default.createElement("div",{className:"close-button",onClick:a},o),l)),d.default.createElement(v,{"data-open":r,onClick:a}))},exports.REPORT_REASON_MAP=w,exports.TogetherComponentGlobalContext=ee,exports.TogetherComponentGlobalContextProvider=function(t){var i=t.locale,o=void 0===i?"vi-VN":i,n=t.children,r=t.userInfo,a=t.router,l=t.env,s=void 0===l?{isMarryBaby:!1,togetherBasePath:"/community"}:l,u=t.sanitizeFunction,c=void 0===u?function(e){return e}:u,_=t.pushNotifications,p=void 0===_?function(){return!1}:_,m=e.useState(),v=m[0],g=m[1];return exports.GlobalData={userInfo:r,locale:o,togetherUserId:v,router:a,env:s},e.useEffect((function(){(null==r?void 0:r.id)&&ue(ae(Z.PROFILE,{_locale:o}),"GET").then((function(e){var t;g(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==r?void 0:r.id]),d.default.createElement(ee.Provider,{value:{data:{userInfo:r,locale:o,togetherUserId:v,router:a,env:s},action:{pushNotifications:p,sanitizeFunction:c}}},n)},exports.UserAvatar=function(i){var o=i.className,n=i.isMarryBaby,r=i.style,a=i.avatar,l=i.username,s=i.size,u=t.__rest(i,["className","isMarryBaby","style","avatar","username","size"]),c=e.useContext(ee).data.env.isMarryBaby,_="boolean"==typeof n?n:c,p=e.useState(!1),m=p[0],v=p[1];return e.useEffect((function(){var e=new Image;e.onerror=function(){v(!0)},e.src=a}),[]),d.default.createElement(pe,t.__assign({"data-is-marrybaby":_,className:o,style:r,size:s},u),a&&!m?d.default.createElement("img",{loading:"lazy",src:a,className:"avatar",alt:"avatar",onError:function(){v(!0)}}):d.default.createElement("div",{className:"avatar avatar-default"},l&&(null==l?void 0:l.length)>0?l[0].toUpperCase():"A"))},exports.Z_INDEX=y,exports.callApi=se,exports.callApiWithAdminAuth=function(e,i,o,r){return t.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u;return t.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,3,,4]),a=$.parse(r||""),l=a[A],(s=l||n.getCookie(A))&&s.length?[4,fetch(e,t.__assign(t.__assign({method:i},le(o)),{headers:t.__assign({Authorization:"Bearer "+s},null==o?void 0:o.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=d.sent())return[2,u];d.label=2;case 2:return[3,4];case 3:return d.sent(),[2,null];case 4:return[2,null]}}))}))},exports.callApiWithAuth=ue,exports.callApiWithOptionalAuth=function(e,i,o,r){return void 0===i&&(i="GET"),t.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u,d,c,_,p,m,v,g,E,h,T;return t.__generator(this,(function(f){switch(f.label){case 0:if(f.trys.push([0,7,,8]),a="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,s=$.parse(r||""),u=s[b],!(d=u||n.getCookie(b))||!d.length)return[3,5];f.label=1;case 1:return f.trys.push([1,3,,4]),[4,fetch(a,t.__assign(t.__assign({method:i},le(o)),{headers:t.__assign({Authorization:"Bearer "+d},null==o?void 0:o.headers)})).then((function(e){return e.json()}))];case 2:return c=f.sent(),(null===(m=null==c?void 0:c.messages)||void 0===m?void 0:m.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,se(l||a,i,o)]:c?[2,c]:[3,4];case 3:return _=f.sent(),console.log({status:null===(v=null==_?void 0:_.response)||void 0===v?void 0:v.status,statusText:null===(g=null==_?void 0:_.response)||void 0===g?void 0:g.statusText}),[2,se(l||a,i,o)];case 4:return[3,6];case 5:return[2,se(l||a,i,o)];case 6:return[3,8];case 7:return p=f.sent(),console.log({status:null===(E=null==p?void 0:p.response)||void 0===E?void 0:E.status,statusText:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.statusText}),[2,(null===(T=null==p?void 0:p.response)||void 0===T?void 0:T.data)||null];case 8:return[2,null]}}))}))},exports.constants=I,exports.dataTransform=V,exports.domainLocales=te,exports.domainLocalesMarryBaby=ie,exports.formatArticle=R,exports.formatComment=F,exports.formatCommunity=N,exports.formatOvulationInfo=H,exports.formatPost=B,exports.formatTopic=U,exports.formatUserProfileUrl=K,exports.getApiPath=ae,exports.getCareDoctorUrl=function(e){var t,i=e.name,o=e.id,n=e.locale;return"/care/".concat(null===(t=O[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(_e(i,o))},exports.getCareHospitalUrl=function(e){var t,i=e.name,o=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=O[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(_e(i,o,n))},exports.getCarePath=function(e,i){var o=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).careBaseApiUrl;return((void 0===o?"":o)||"https://service-health-care.hellohealthgroup.com/")+re(p.default(e,t.__assign({},i)))},exports.getCurrentBaseUrl=function(e){var t=exports.GlobalData.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var i="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(i?t?"fe.":"discover.":t?"www.":"").concat(te[e])},exports.getDiscoverApiPath=function(e,i){var o=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).discoverBaseApiUrl;return(void 0===o?"":o)+"wp-json/api/"+re(p.default(e,t.__assign({},i)))},exports.getUrlToSignUp=function(e,t,i){void 0===i&&(i="/community");var o=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var i=exports.GlobalData.env.publicSSO,o=e||window.location.href;return t&&Object.keys(t).map((function(e){de(o,e,t[e])})),de(o,"source","communities"),i?"".concat(i,"?returnUrl=").concat(encodeURIComponent(o.toString())):o}("".concat(n).concat(i,"/on-boarding?return=").concat(encodeURIComponent(o)),t)};
@@ -0,0 +1 @@
1
+ "use strict";var e=require("react"),n=require("@mantine/core"),t=require("./utils-feec2d6a.js"),a=require("./index.styled-992d5897.js"),o=require("./index-306bbef1.js"),i=require("./useTranslations-ab09572c.js"),l=require("./theme-3c8770d4.js"),r=require("./index-9ac8f09f.js"),d=require("./index-640efce0.js"),c=require("./index-28ce8643.js"),s=require("./useScrollbarSize-c55c02ef.js"),u=require("react-dom"),m=require("./tslib.es6-7409fcb1.js"),h=require("./defaultClassWrapper-a6bb62db.js"),p=require("styled-components"),f=require("./BabyGrowth-26f210bd.js");function g(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var y,b,x,v,w,C=g(e),E=g(p),_=function(e){var n=e.open,t=void 0!==n&&n,o=e.onClickOutside;return C.default.createElement(a.StyledBackdrop,{"data-open":t,onClick:o})},k=function(n){var t=n.value,i=n.options,r=n.className,d=n.direction,s=void 0===d?"horizontal":d,u=n.onChange,m=n.isDisabled,h=n.siteType,p=e.useState(t),f=p[0],g=p[1],y="marryBaby"===h;return C.default.createElement(a.StyledRadioImageGroup,{className:r,"data-direction":s},i.map((function(e,n){return C.default.createElement(a.StyledRadioImageItem,{"data-selected":(t||f)===e.value,"data-is-mb":y,"data-disabled":m,key:n,onClick:function(){var n;n=e.value,m||(g(n),u&&u(n))}},C.default.createElement("div",null,e.content,e.label&&C.default.createElement(C.default.Fragment,null,y?C.default.createElement(c.MarryBabyText,{type:"subtitle-2",color:(t||f)===e.value?l.theme.mbColors.dark:l.theme.mbColors.midGray},e.label):C.default.createElement(o.Text,{type:"bold",color:(t||f)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label))))})))},B=E.default.div(y||(y=m.__makeTemplateObject(["\n position: relative;\n z-index: 200;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &[data-site-type='marryBaby'] {\n border-radius: 16px;\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n\n padding: 24px;\n }\n }\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n .hhg-modal__video {\n position: relative;\n z-index: 111;\n height: 100%;\n background-color: none;\n box-shadow: none;\n }\n"],["\n position: relative;\n z-index: 200;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &[data-site-type='marryBaby'] {\n border-radius: 16px;\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n\n padding: 24px;\n }\n }\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n .hhg-modal__video {\n position: relative;\n z-index: 111;\n height: 100%;\n background-color: none;\n box-shadow: none;\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200})),j="hhgcomp-modal-modal",T=h.getDefaultClassWrapper(B,j),N=E.default.div(b||(b=m.__makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n z-index: 201;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n visibility: hidden;\n background-color: rgba(38, 38, 38, 0.3);\n\n .hhg-modal__close {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n &[data-type='video'] {\n z-index: 1001;\n }\n &[data-open='true'] {\n visibility: visible;\n }\n\n &.slideTop {\n ."," {\n transform: translate(0, -100vh);\n transition: all 0.5s ease;\n }\n\n &[data-open='true'] {\n ."," {\n transform: translate(0);\n }\n }\n }\n\n &.scaleUp {\n ."," {\n transform: scale(0.9);\n }\n\n &[data-open='true'] {\n ."," {\n transition: all 0.3s ease-out;\n transform: scale(1);\n }\n }\n }\n\n &[data-type='tail'] {\n justify-content: flex-end;\n ."," {\n width: 420px;\n height: 100%;\n border-radius: 0;\n overflow: hidden auto;\n }\n }\n &[data-type='form'] {\n ."," {\n width: 496px;\n height: 548px;\n max-height: 100%;\n overflow-y: auto;\n "," {\n width: 340px;\n }\n }\n }\n &[data-type='video'] {\n ."," {\n height: 100%;\n max-height: 539px;\n "," {\n height: 192px;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n max-height: 192px;\n }\n }\n }\n &[data-type='confirm'] {\n ."," {\n width: 100%;\n max-width: 407px;\n "," {\n width: calc(100% - 32px);\n max-width: calc(100% - 32px);\n }\n }\n }\n"],["\n position: fixed;\n top: 0;\n left: 0;\n z-index: 201;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n visibility: hidden;\n background-color: rgba(38, 38, 38, 0.3);\n\n .hhg-modal__close {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n &[data-type='video'] {\n z-index: 1001;\n }\n &[data-open='true'] {\n visibility: visible;\n }\n\n &.slideTop {\n ."," {\n transform: translate(0, -100vh);\n transition: all 0.5s ease;\n }\n\n &[data-open='true'] {\n ."," {\n transform: translate(0);\n }\n }\n }\n\n &.scaleUp {\n ."," {\n transform: scale(0.9);\n }\n\n &[data-open='true'] {\n ."," {\n transition: all 0.3s ease-out;\n transform: scale(1);\n }\n }\n }\n\n &[data-type='tail'] {\n justify-content: flex-end;\n ."," {\n width: 420px;\n height: 100%;\n border-radius: 0;\n overflow: hidden auto;\n }\n }\n &[data-type='form'] {\n ."," {\n width: 496px;\n height: 548px;\n max-height: 100%;\n overflow-y: auto;\n "," {\n width: 340px;\n }\n }\n }\n &[data-type='video'] {\n ."," {\n height: 100%;\n max-height: 539px;\n "," {\n height: 192px;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n max-height: 192px;\n }\n }\n }\n &[data-type='confirm'] {\n ."," {\n width: 100%;\n max-width: 407px;\n "," {\n width: calc(100% - 32px);\n max-width: calc(100% - 32px);\n }\n }\n }\n"])),j,j,j,j,j,j,t.MediaQueries.mbDown,j,t.MediaQueries.mbDown,j,t.MediaQueries.mbDown),z=E.default.div(x||(x=m.__makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n align-items: center;\n\n &[data-open='false'] {\n display: none;\n }\n &[data-type='video'] {\n background-color: ",";\n }\n"],["\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n align-items: center;\n\n &[data-open='false'] {\n display: none;\n }\n &[data-type='video'] {\n background-color: ",";\n }\n"])),(function(e){return e.theme.colors.secondaryDark})),q="hhg-modals",S=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},G=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},I=E.default.div(v||(v=m.__makeTemplateObject(["\n & > :not(:last-child) {\n margin-bottom: 8px;\n }\n\n .gender-selector {\n & > :not(:last-child) {\n margin-right: 16px;\n }\n\n & > div {\n width: calc(50% - 8px);\n\n "," {\n justify-self: left;\n }\n }\n }\n"],["\n & > :not(:last-child) {\n margin-bottom: 8px;\n }\n\n .gender-selector {\n & > :not(:last-child) {\n margin-right: 16px;\n }\n\n & > div {\n width: calc(50% - 8px);\n\n "," {\n justify-self: left;\n }\n }\n }\n"])),t.MediaQueries.mbUp),L=E.default(k)(w||(w=m.__makeTemplateObject(["\n & > div > div {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-content: center;\n gap: 8px;\n padding-block: 5px;\n }\n .radio-group-item-heading {\n margin-top: 0;\n }\n"],["\n & > div > div {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-content: center;\n gap: 8px;\n padding-block: 5px;\n }\n .radio-group-item-heading {\n margin-top: 0;\n }\n"])));exports.BabyGrowthGender=function(e){var n=e.value,t=e.onChange,a=e.siteType,d=i.useTranslations().t,s="marryBaby"==a;return C.default.createElement(I,{"data-is-marryBaby":s},s?C.default.createElement(c.MarryBabyHeading,{type:"h4",color:l.theme.mbColors.dark},d("babyVaccineTool.selectGender")):C.default.createElement(o.Text,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},d("babyVaccineTool.selectGender")),C.default.createElement(L,{siteType:a,options:[{value:f.Gender.Boy,label:d("gender.male"),content:s?C.default.createElement(r.Icon.BabyBoyMB,null):C.default.createElement(r.Icon.GenderChooseBoy,null)},{value:f.Gender.Girl,label:d("gender.female"),content:s?C.default.createElement(r.Icon.BabyGirlMB,null):C.default.createElement(r.Icon.GenderChooseGirl,null)}],value:n,onChange:t,className:"gender-selector"}))},exports.Drawer=function(i){var l=i.children,r=i.title,d=i.onClose,c=i.open,s=void 0!==c&&c,u=i.placement,m=void 0===u?"left":u,h=i.destroyOnClose,p=void 0!==h&&h,f=i.className,g=e.useRef();e.useEffect((function(){return t.toggleNoScroll(s),function(){return t.toggleNoScroll(!1)}}),[s]);var y=function(){g.current.classList.add("slideOut"),setTimeout((function(){d()}),800)};return!s&&p?null:C.default.createElement(n.Portal,null,C.default.createElement(a.StyledDrawer,{className:f,open:s},C.default.createElement(_,{open:s,onClickOutside:y}),C.default.createElement(a.StyledDrawerPanel,{open:s,placement:m,ref:g,hasTitle:Boolean(r)},C.default.createElement("div",{className:"title"},r&&C.default.createElement(o.Text,{size:"s2",type:"semiBold"},r),C.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:y},C.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),C.default.createElement(a.StyledDrawerContent,{onClick:function(e){return e.stopPropagation()}},l&&(C.default.isValidElement(l)?l:"function"==typeof l?l({internalClose:y}):null)))))},exports.Modal=function(n){var t=n.type,a=void 0===t?"lead":t,o=n.closeIcon,i=n.isOpen,l=void 0===i||i,r=n.onClose,d=n.children,c=n.className,m=void 0===c?"":c,h=n.animationType,p=void 0===h?"slideTop":h,f=n.isStaticBackdrop,g=void 0!==f&&f,y=n.siteType;n.style;var b=e.useState(!1),x=b[0],v=b[1],w=e.useRef(null),E=s.useScrollbarSize().width;if(!w.current&&x&&(w.current=document.createElement("div")),e.useEffect((function(){return v(!0),function(){v(!1),S(),G()}}),[]),e.useEffect((function(){if(x){var e=((n=document.getElementById(q))||((n=document.createElement("div")).setAttribute("id",q),document.body.append(n)),n);return e.appendChild(w.current),function(){e.removeChild(w.current)}}var n}),[x]),e.useEffect((function(){l?document.body.classList.add("hhc-modal-show"):S()}),[l]),e.useEffect((function(){l?(document.body.style.overflow="hidden",document.body.style.paddingRight=E+"px",document.body.classList.add("hhc-disabled-scroll")):G()}),[l,E]),!x)return null;var _=["hhg-modal__wrapper",m,p].filter((function(e){return e})).join(" ");return u.createPortal(C.default.createElement(N,{className:_,"data-open":l,"data-type":a},!g&&C.default.createElement(z,{"data-open":l,onClick:r,"data-type":a}),!g&&"video"===a&&!!o&&C.default.createElement("div",{className:"hhg-modal__close",onClick:r},o),C.default.createElement(T,{className:"hhg-modal","data-open":l,"data-site-type":y},C.default.createElement("div",{className:"video"===a?"hhg-modal__video":"hhg-modal__content"},!!o&&"video"!==a&&C.default.createElement("div",{className:"hhg-modal__close",onClick:r},o),d))),w.current)},exports.NewBabyProfileRadio=function(e){var n=e.isActive,t=e.onChange,s=e.value,u=void 0===s?"":s,m=e.onInputChange,h=e.siteType,p=i.useTranslations().t,f="marryBaby"===h;return C.default.createElement(a.StyledNewBabyProfileRadio,{onClick:function(){return t("new")},"data-is-mb":f,"data-isActive":f&&n},"marryBaby"===h?C.default.createElement("div",{className:"title"},C.default.createElement(c.MarryBabyText,{type:"bodytext-1",color:l.theme.colors.gray800},p("chooseBaby.new")),C.default.createElement("div",{className:n?"radio active":"radio"},n&&C.default.createElement(r.Icon.CheckActiveMB,{size:26}))):C.default.createElement("div",{className:"title"},C.default.createElement(o.Text,{size:"p2",color:l.theme.colors.gray800},p("chooseBaby.new")),C.default.createElement("div",{className:n?"radio active":"radio"})),C.default.createElement(d.Input,{name:"name",value:u,size:"md",placeholder:p("chooseBaby.placeholder"),type:"text",onChange:m}))},exports.RadioImageGroup=k;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./index.styled-992d5897.js"),C=require("./tslib.es6-7409fcb1.js"),t=require("react"),l=require("./theme-3c8770d4.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(t),n=function(e){var t=e.size,a=void 0===t?20:t,n=e.color,r=void 0===n?"#595959":n,d=e.activeColor,c=void 0===d?l.theme.colors.primaryBase:d,o=e.isActive,f=void 0!==o&&o,s=C.__rest(e,["size","color","activeColor","isActive"]);return i.default.createElement("svg",C.__assign({width:a,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s),i.default.createElement("path",{d:"M19.9803 5.99067C19.7205 5.99841 19.4739 6.10699 19.2928 6.2934L8.99984 16.5864L5.70687 13.2934C5.61473 13.1974 5.50436 13.1208 5.38223 13.068C5.2601 13.0152 5.12867 12.9874 4.99563 12.986C4.86259 12.9846 4.73061 13.0099 4.60743 13.0601C4.48426 13.1104 4.37235 13.1848 4.27827 13.2789C4.1842 13.3729 4.10983 13.4849 4.05954 13.608C4.00926 13.7312 3.98405 13.8632 3.9854 13.9962C3.98676 14.1293 4.01464 14.2607 4.06743 14.3828C4.12021 14.505 4.19684 14.6153 4.29281 14.7075L8.29281 18.7075C8.48035 18.8949 8.73467 19.0002 8.99984 19.0002C9.26501 19.0002 9.51933 18.8949 9.70687 18.7075L20.7069 7.70747C20.8514 7.567 20.9501 7.38616 20.99 7.18864C21.03 6.99112 21.0093 6.78614 20.9308 6.60055C20.8523 6.41497 20.7195 6.25744 20.5499 6.14861C20.3803 6.03978 20.1817 5.98473 19.9803 5.99067Z",fill:f?c:r}))},r=function(e){var t=e.size,a=void 0===t?20:t,n=e.color,r=void 0===n?"#595959":n,d=e.activeColor;return void 0===d&&l.theme.colors.primaryBase,e.isActive,C.__rest(e,["size","color","activeColor","isActive"]),i.default.createElement("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.default.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:r}))},d={Ask:e.Ask,BarChart:e.BarChart,Booking:e.Booking,Bookmark:e.Bookmark,Boy:function(e){var t=e.size,l=void 0===t?40:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 40 40"},a),i.default.createElement("circle",{cx:"20",cy:"20",r:"20",fill:"#2D87F3"}),i.default.createElement("path",{fill:"#fff",d:"M20.002 30.973c-2.616 0-4.945-.607-6.734-1.755-1.82-1.166-3.058-2.884-3.604-4.992-.045 0-.09.003-.136.003-.758 0-1.486-.3-2.023-.834a2.843 2.843 0 010-4.029 2.868 2.868 0 012.194-.83c.577-2.321 1.83-4.42 3.567-5.952C15.16 10.918 17.552 10 20.002 10s4.84.918 6.733 2.587c1.737 1.53 2.99 3.628 3.567 5.952a2.868 2.868 0 012.194.83 2.843 2.843 0 010 4.028 2.868 2.868 0 01-2.16.831c-.546 2.106-1.782 3.826-3.602 4.992-1.79 1.146-4.118 1.753-6.732 1.753z"}),i.default.createElement("path",{fill:"#2D87F3",d:"M17.95 13.19h-.014a.525.525 0 00-.524.509c0 .015-.059 1.466-2.006 1.927a.525.525 0 00-.389.63.523.523 0 00.633.386c2.18-.516 2.793-2.134 2.812-2.917a.519.519 0 00-.313-.491.527.527 0 00-.2-.044zM20.591 12.874a.524.524 0 00-.326.663c.004.014.455 1.396-1.212 2.5a.521.521 0 00.19.936.526.526 0 00.39-.066c1.866-1.236 1.878-2.966 1.625-3.708a.521.521 0 00-.464-.352.529.529 0 00-.203.027zM23.292 13.4a.525.525 0 00-.735.749c.008.007.787.783.35 2.119a.523.523 0 00.898.508.523.523 0 00.098-.183c.641-1.946-.56-3.142-.611-3.192zM15.977 21.818a1.365 1.365 0 000-1.936 1.38 1.38 0 00-1.945 0 1.365 1.365 0 000 1.936 1.38 1.38 0 001.945 0zM25.445 22.172a1.368 1.368 0 10-.682-2.652 1.369 1.369 0 10.682 2.652zM22.837 22.755a.532.532 0 00-.66.338c-.005.012-.414 1.222-2.124 1.222-1.71 0-2.12-1.21-2.124-1.222a.523.523 0 00-.998.316c.026.08.656 1.947 3.123 1.947s3.097-1.867 3.122-1.947a.52.52 0 00-.339-.654z"}))},Close:r,Check:n,Calendar:function(e){var t=e.size,l=void 0===t?20:t,a=e.color,n=void 0===a?"#595959":a,r=C.__rest(e,["size","color"]);return i.default.createElement("svg",C.__assign({width:l,height:l,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.8337 2.50065H16.667C17.5837 2.50065 18.3337 3.25065 18.3337 4.16732V17.5006C18.3337 18.4173 17.5837 19.1673 16.667 19.1673H3.33366C2.41699 19.1673 1.66699 18.4173 1.66699 17.5006V4.16732C1.66699 3.25065 2.41699 2.50065 3.33366 2.50065H4.16699V1.66732C4.16699 1.20898 4.54199 0.833984 5.00033 0.833984C5.45866 0.833984 5.83366 1.20898 5.83366 1.66732V2.50065H14.167V1.66732C14.167 1.20898 14.542 0.833984 15.0003 0.833984C15.4587 0.833984 15.8337 1.20898 15.8337 1.66732V2.50065ZM4.16699 17.5007H15.8337C16.292 17.5007 16.667 17.1257 16.667 16.6673V6.66732H3.33366V16.6673C3.33366 17.1257 3.70866 17.5007 4.16699 17.5007Z",fill:n}))},Community:e.Community,Comment:e.Comment,EditSpecial:e.EditSpecial,Family:e.Family,Font:e.Font,GenderBoy:function(e){var t=e.size,l=void 0===t?16:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 16 16"},a),i.default.createElement("g",{fill:"#595959",clipPath:"url(#clip0_408_8625)"},i.default.createElement("path",{d:"M15.325 1.199a.602.602 0 00-.038-.151v-.005h-.001a.618.618 0 00-.107-.168.623.623 0 00-.117-.105l-.004-.002a.6.6 0 00-.175-.078.609.609 0 00-.161-.024h-4.278a.611.611 0 000 1.223h2.802L9.6 5.535a5.469 5.469 0 00-3.433-1.203 5.506 5.506 0 00-5.5 5.5c0 3.033 2.468 5.5 5.5 5.5 3.033 0 5.5-2.467 5.5-5.5 0-1.262-.425-2.46-1.203-3.433l3.648-3.647v2.802a.611.611 0 001.222 0V1.277c0-.012-.003-.025-.004-.037a.617.617 0 00-.004-.041zM6.166 14.11A4.282 4.282 0 011.89 9.833a4.282 4.282 0 017.303-3.028 4.282 4.282 0 01-3.026 7.305z"}),i.default.createElement("path",{fillRule:"evenodd",d:"M15.287 1.048a.602.602 0 01.042.192l.002.016a.156.156 0 01.002.021v4.278a.611.611 0 01-1.222 0V2.753L10.463 6.4a5.469 5.469 0 011.203 3.433c0 3.033-2.467 5.5-5.5 5.5a5.506 5.506 0 01-5.5-5.5c0-3.033 2.468-5.5 5.5-5.5 1.263 0 2.46.425 3.433 1.203l3.647-3.647h-2.802a.611.611 0 010-1.223h4.278a.609.609 0 01.197.036.6.6 0 01.14.067h.003a.623.623 0 01.14.135h.001a.618.618 0 01.083.138v.003l.001.003zm.064-.02c.021.053.033.107.04.162m-.04-.162a.695.695 0 00-.096-.165l-.001-.002c-.008-.009-.016-.02-.026-.03A.69.69 0 0015.1.715m-.2-.089A.675.675 0 0014.722.6h-4.278a.678.678 0 000 1.355h2.641L9.594 5.447a5.535 5.535 0 00-3.428-1.18A5.573 5.573 0 00.6 9.832 5.573 5.573 0 006.166 15.4a5.573 5.573 0 005.567-5.567c0-1.257-.417-2.45-1.18-3.427l3.491-3.492v2.641a.678.678 0 001.356 0V1.277a.202.202 0 00-.003-.027v-.004l-.001-.01a.743.743 0 00-.005-.046M1.955 9.833a4.216 4.216 0 004.211 4.211 4.216 4.216 0 002.979-7.191 4.216 4.216 0 00-7.19 2.98zm7.237-3.028a4.282 4.282 0 00-7.304 3.028 4.282 4.282 0 004.278 4.278 4.282 4.282 0 003.026-7.306z",clipRule:"evenodd"})),i.default.createElement("defs",null,i.default.createElement("clipPath",{id:"clip0_408_8625"},i.default.createElement("path",{fill:"#fff",d:"M0 0H16V16H0z"}))))},GenderChooseBoy:function(e){var l=t.useRef("svg-".concat(Math.random()));return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",fill:"none",viewBox:"0 0 21 20"},e),i.default.createElement("g",{clipPath:"url(#".concat(l.current,")")},i.default.createElement("path",{fill:"#45A4FF",d:"M11.203 7.633l1.914 1.914 6.397-6.397L17.6 1.235l-6.397 6.398z"}),i.default.createElement("path",{fill:"#45A4FF",d:"M8.083 5.334a7.333 7.333 0 100 14.667 7.333 7.333 0 000-14.667zm0 11.96a4.626 4.626 0 110-9.253 4.626 4.626 0 010 9.252z"}),i.default.createElement("path",{fill:"#2D87F3",d:"M7.508 8.077a4.626 4.626 0 100 9.181 4.627 4.627 0 010-9.181zM8.083 5.334a7.43 7.43 0 00-.575.022 7.334 7.334 0 010 14.622 7.333 7.333 0 10.575-14.644zM19.88 2.785v-.78L18.744.872h-.78l-2.707 2.707h1.55c.2 0 .364.163.364.365v1.55l2.707-2.708z"}),i.default.createElement("path",{fill:"#45A4FF",d:"M18.043 0h-4.585a.365.365 0 00-.364.365v1.978c0 .201.163.364.364.364h4.22c.201 0 .365.163.365.365v4.22c0 .2.163.364.364.364h1.978a.365.365 0 00.365-.364V.365A.365.365 0 0020.385 0h-2.342z"})),i.default.createElement("defs",null,i.default.createElement("clipPath",{id:l.current},i.default.createElement("path",{fill:"#fff",d:"M0 0H20V20H0z",transform:"translate(.75)"}))))},GenderChooseGirl:function(e){return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:"21",height:"20",fill:"none",viewBox:"0 0 21 20"},e),i.default.createElement("path",{fill:"#FE9DC2",d:"M13.748 15.546h-1.503a.321.321 0 01-.321-.322v-3.7H9.577v3.7a.321.321 0 01-.322.322H7.753a.321.321 0 00-.321.321v1.704c0 .178.144.322.321.322h1.502c.178 0 .322.144.322.321v1.465c0 .178.144.321.321.321h1.704a.321.321 0 00.322-.321v-1.465c0-.177.144-.321.321-.321h1.503a.321.321 0 00.321-.322v-1.704a.322.322 0 00-.321-.321z"}),i.default.createElement("path",{fill:"#FC488D",d:"M9.576 11.523v2.151a7.466 7.466 0 002.347 0v-2.15H9.576z"}),i.default.createElement("path",{fill:"#FE9DC2",d:"M10.75 0a6.357 6.357 0 100 12.715A6.357 6.357 0 0010.75 0zm0 10.368a4.01 4.01 0 110-8.021 4.01 4.01 0 010 8.021z"}),i.default.createElement("path",{fill:"#FC488D",d:"M10.157 2.391a4.01 4.01 0 100 7.934 4.011 4.011 0 010-7.934zM10.75 0c-.2 0-.398.01-.593.028a6.358 6.358 0 010 12.66A6.357 6.357 0 1010.75 0z"}))},GenderGirl:function(e){var t=e.size,l=void 0===t?16:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 16 16"},a),i.default.createElement("path",{fill:"#595959",d:"M11.445 8.979a4.875 4.875 0 000-6.888 4.879 4.879 0 00-6.89 0 4.875 4.875 0 000 6.888 4.849 4.849 0 002.872 1.39V12H6.28a.573.573 0 100 1.147h1.147v1.614a.573.573 0 001.146 0v-1.614H9.72a.573.573 0 100-1.146H8.573v-1.63a4.849 4.849 0 002.872-1.391zm-6.08-.81a3.728 3.728 0 010-5.268 3.73 3.73 0 015.27 0 3.728 3.728 0 010 5.267 3.73 3.73 0 01-5.27 0z"}),i.default.createElement("path",{fill:"#595959",fillRule:"evenodd",d:"M5.366 8.168a3.73 3.73 0 005.268 0 3.728 3.728 0 000-5.267 3.73 3.73 0 00-5.268 0 3.728 3.728 0 000 5.267zm6.15-6.148a4.975 4.975 0 010 7.03 4.948 4.948 0 01-2.843 1.407V11.9H9.72a.673.673 0 110 1.346H8.673v1.514a.673.673 0 01-1.346 0v-1.514H6.28a.673.673 0 110-1.346h1.046v-1.443A4.948 4.948 0 014.484 9.05a4.975 4.975 0 010-7.029 4.979 4.979 0 017.032 0zm-4.09 8.35a4.849 4.849 0 01-2.871-1.391 4.875 4.875 0 010-6.888 4.879 4.879 0 016.89 0 4.875 4.875 0 010 6.888 4.849 4.849 0 01-2.872 1.39V12H9.72a.573.573 0 110 1.147H8.573v1.614a.573.573 0 01-1.146 0v-1.614H6.28a.573.573 0 110-1.146h1.147v-1.63zm-1.99-7.398a3.628 3.628 0 000 5.126 3.63 3.63 0 005.128 0 3.628 3.628 0 000-5.126 3.63 3.63 0 00-5.128 0z",clipRule:"evenodd"}))},Girl:function(e){var t=e.size,l=void 0===t?40:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},a),i.default.createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#FC5D9A"}),i.default.createElement("path",{fill:"#fff",d:"M18.283 11.759c-.034 0-.068 0-.102.003-.346-1.394-1.099-2.652-2.14-3.57a6.132 6.132 0 00-3.726-1.544v-.532a2.062 2.062 0 001.617-.634 1.178 1.178 0 000-1.638 1.13 1.13 0 00-1.626 0c-.116.119-.218.25-.305.392a2.212 2.212 0 00-.308-.393 1.13 1.13 0 00-1.625 0 1.179 1.179 0 000 1.638 2.06 2.06 0 001.5.639c.041 0 .08 0 .117-.004v.533a6.143 6.143 0 00-3.726 1.543c-1.042.918-1.793 2.177-2.14 3.572a1.72 1.72 0 00-1.317.498 1.706 1.706 0 000 2.417c.323.32.76.5 1.215.5.027 0 .054 0 .081-.002a4.968 4.968 0 002.162 2.996c1.073.69 2.47 1.053 4.04 1.053 1.57 0 2.967-.364 4.04-1.053a4.987 4.987 0 002.162-2.998 1.72 1.72 0 001.295-.499 1.705 1.705 0 000-2.417c-.322-.32-.759-.5-1.214-.5zm-5.527-7.477a.5.5 0 01.724 0 .55.55 0 010 .763 1.446 1.446 0 01-1.165.446 1.834 1.834 0 01-.004-.077v-.09c.01-.392.168-.764.445-1.042zm-2.238.762a.55.55 0 010-.763.501.501 0 01.724 0c.276.278.435.65.444 1.042v.09c0 .027-.002.053-.004.078a1.45 1.45 0 01-1.164-.447z"}),i.default.createElement("path",{fill:"#FC5D9A",d:"M9.586 13.68a.819.819 0 000-1.161.828.828 0 00-1.167 0 .819.819 0 000 1.162c.323.32.845.32 1.167 0zM15.267 13.894a.821.821 0 10-.41-1.592.821.821 0 10.41 1.592zM13.704 14.242a.32.32 0 00-.282.045.314.314 0 00-.114.159c-.002.007-.248.733-1.274.733-1.027 0-1.272-.726-1.275-.733a.314.314 0 10-.598.19c.016.046.394 1.168 1.873 1.168s1.858-1.12 1.873-1.168a.313.313 0 00-.203-.394zM12.402 7.713a.315.315 0 00-.53.24.313.313 0 00.1.218c.253.248.466.533.632.845.316.61.298 1.118-.056 1.551-.403.493-.865.449-1.104.378-.33-.096-.598-.351-.625-.595-.03-.263.058-.585.318-.71.165-.077.337-.039.486.11a.315.315 0 00.538-.22.313.313 0 00-.092-.222c-.336-.337-.797-.426-1.204-.232-.473.226-.737.752-.671 1.343.055.494.495.957 1.072 1.128.151.045.308.067.465.068.491 0 .958-.228 1.305-.652.514-.63.558-1.402.127-2.234a4.11 4.11 0 00-.761-1.016z"}))},Heart:e.Heart,Home:e.Home,Kebab:function(e){var t=e.size,l=void 0===t?20:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 20 20"},a),i.default.createElement("path",{fill:"#000",fillOpacity:"0.54",fillRule:"evenodd",d:"M10 6.667c.916 0 1.666-.75 1.666-1.666 0-.917-.75-1.667-1.666-1.667-.917 0-1.667.75-1.667 1.667 0 .916.75 1.666 1.667 1.666zm0 1.667c-.917 0-1.667.75-1.667 1.667 0 .916.75 1.666 1.667 1.666.916 0 1.666-.75 1.666-1.666 0-.917-.75-1.667-1.666-1.667zm-1.667 6.667c0-.917.75-1.667 1.667-1.667.916 0 1.666.75 1.666 1.667 0 .916-.75 1.666-1.666 1.666-.917 0-1.667-.75-1.667-1.666z",clipRule:"evenodd"}))},Like:e.Like,MyCommunity:e.MyCommunity,MyHealth:e.MyHealth,PlusSpecial:e.PlusSpecial,Recalculate:e.Recalculate,Scale:e.Scale,Share:e.Share,Stethoscope:e.Stethoscope,FullScreen:e.FullScreen,GroupPeople:e.GroupPeople,GroupPeopleSolid:e.GroupPeopleSolid,Activities:e.Activities,Reply:e.Reply,UserCheck:function(e){var t=e.size,a=void 0===t?20:t,n=e.color,r=void 0===n?"#595959":n,d=e.activeColor,c=void 0===d?l.theme.colors.primaryBase:d,o=e.isActive,f=void 0!==o&&o,s=C.__rest(e,["size","color","activeColor","isActive"]);return i.default.createElement("svg",C.__assign({width:a,height:a,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.6051 6.37411C13.7666 6.52476 13.7755 6.77787 13.6249 6.93945L12.2303 8.43508C11.8189 8.87628 11.1238 8.88884 10.6968 8.46279L10.3831 8.14984C10.2267 7.99381 10.2264 7.74054 10.3825 7.58415C10.5385 7.42776 10.7917 7.42746 10.9481 7.58349L11.2618 7.89644C11.3686 8.00296 11.5424 7.99982 11.6452 7.88952L13.0397 6.39388C13.1904 6.23231 13.4435 6.22345 13.6051 6.37411Z",fill:f?c:r}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.81379 3.06667C5.68447 3.06667 4.79403 3.94584 4.79403 5C4.79403 6.05417 5.68447 6.93334 6.81379 6.93334C7.9431 6.93334 8.83354 6.05417 8.83354 5C8.83354 3.94584 7.9431 3.06667 6.81379 3.06667ZM3.99403 5C3.99403 3.47684 5.27031 2.26667 6.81379 2.26667C8.35726 2.26667 9.63354 3.47684 9.63354 5C9.63354 6.52317 8.35726 7.73334 6.81379 7.73334C5.27031 7.73334 3.99403 6.52317 3.99403 5ZM8.40096 9.71521C7.34947 9.54185 6.27808 9.54185 5.22659 9.71521L5.10346 9.73551C3.93891 9.9275 3.06563 10.9706 3.06563 12.2142C3.06563 12.6237 3.38372 12.9333 3.74896 12.9333H9.87859C10.2438 12.9333 10.5619 12.6237 10.5619 12.2142C10.5619 10.9706 9.68864 9.9275 8.52409 9.73551L8.40096 9.71521ZM5.09645 8.92586C6.23411 8.7383 7.39343 8.7383 8.5311 8.92586L8.65423 8.94616C10.2236 9.20489 11.3619 10.5979 11.3619 12.2142C11.3619 13.0408 10.71 13.7333 9.87859 13.7333H3.74896C2.91758 13.7333 2.26562 13.0408 2.26562 12.2142C2.26562 10.5979 3.40399 9.20489 4.97332 8.94616L5.09645 8.92586Z",fill:f?c:r}))},BabyBoyMB:function(e){var t=e.size,l=void 0===t?40:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({width:l,height:l,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),i.default.createElement("circle",{cx:"20.5",cy:"20",r:"20",fill:"#E0E9FB"}),i.default.createElement("path",{d:"M26.9205 21.285H26.7693C26.1495 18.3521 23.534 16.1449 20.4197 16.1449C17.3054 16.1449 14.6899 18.3521 14.0701 21.285H13.9189C12.8304 21.285 11.9536 22.1619 11.9536 23.2504C11.9536 24.3389 12.8304 25.2157 13.9189 25.2157H14.448C15.4458 27.5288 17.7438 29.1464 20.4197 29.1464C23.0956 29.1464 25.3936 27.5288 26.3913 25.2157H26.9205C28.009 25.2157 28.8858 24.3389 28.8858 23.2504C28.8858 22.1619 28.009 21.285 26.9205 21.285ZM20.4197 10.8535C19.8984 10.8535 19.3986 11.0606 19.03 11.4292C18.6614 11.7977 18.4543 12.2976 18.4543 12.8189C18.4543 13.3401 18.6614 13.84 19.03 14.2086C19.3986 14.5772 19.8984 14.7842 20.4197 14.7842C20.9409 14.7842 21.4408 14.5772 21.8094 14.2086C22.178 13.84 22.385 13.3401 22.385 12.8189C22.385 12.2976 22.178 11.7977 21.8094 11.4292C21.4408 11.0606 20.9409 10.8535 20.4197 10.8535Z",fill:"white"}),i.default.createElement("path",{d:"M20.4197 15.2377C19.0893 15.2377 18.0008 14.1492 18.0008 12.8188C18.0008 11.4884 19.0893 10.3999 20.4197 10.3999C21.7501 10.3999 22.8386 11.4884 22.8386 12.8188C22.8386 14.1492 21.7501 15.2377 20.4197 15.2377ZM20.4197 11.307C19.5882 11.307 18.9079 11.9873 18.9079 12.8188C18.9079 13.6503 19.5882 14.3306 20.4197 14.3306C21.2512 14.3306 21.9315 13.6503 21.9315 12.8188C21.9315 11.9873 21.2512 11.307 20.4197 11.307Z",fill:"#202135"}),i.default.createElement("path",{d:"M14.0701 18.6392C14.0701 15.1771 16.882 13.877 20.3441 13.877C23.8061 13.877 26.6181 15.1771 26.6181 18.6392",fill:"#FFF9EB"}),i.default.createElement("path",{d:"M25.7109 19.0928C25.4539 19.0928 25.2574 18.8963 25.2574 18.6392C25.2574 17.2786 24.6829 16.3413 23.4886 15.797C23.2618 15.6912 23.156 15.4191 23.2618 15.1923C23.3676 14.9655 23.6398 14.8597 23.8665 14.9655C25.3783 15.661 26.1645 16.9309 26.1645 18.6392C26.1645 18.8963 25.968 19.0928 25.7109 19.0928Z",fill:"#E55C8A"}),i.default.createElement("path",{d:"M17.396 22.6455C17.2357 22.6455 17.0818 22.7092 16.9684 22.8226C16.855 22.936 16.7913 23.0898 16.7913 23.2502C16.7913 23.4106 16.855 23.5644 16.9684 23.6778C17.0818 23.7912 17.2357 23.855 17.396 23.855C17.5564 23.855 17.7102 23.7912 17.8236 23.6778C17.9371 23.5644 18.0008 23.4106 18.0008 23.2502C18.0008 23.0898 17.9371 22.936 17.8236 22.8226C17.7102 22.7092 17.5564 22.6455 17.396 22.6455ZM23.4433 22.6455C23.2829 22.6455 23.1291 22.7092 23.0157 22.8226C22.9023 22.936 22.8386 23.0898 22.8386 23.2502C22.8386 23.4106 22.9023 23.5644 23.0157 23.6778C23.1291 23.7912 23.2829 23.855 23.4433 23.855C23.6037 23.855 23.7575 23.7912 23.8709 23.6778C23.9843 23.5644 24.048 23.4106 24.048 23.2502C24.048 23.0898 23.9843 22.936 23.8709 22.8226C23.7575 22.7092 23.6037 22.6455 23.4433 22.6455Z",fill:"#202135"}),i.default.createElement("path",{d:"M26.1645 18.2612H14.826C13.9945 18.2612 13.3141 18.9415 13.3141 19.773C13.3141 20.6045 13.9945 21.2849 14.826 21.2849H26.1645C26.996 21.2849 27.6764 20.6045 27.6764 19.773C27.6764 18.9415 26.996 18.2612 26.1645 18.2612Z",fill:"#E55C8A"}),i.default.createElement("path",{d:"M27.7217 20.9675C27.9787 20.6349 28.1299 20.2267 28.1299 19.7732C28.1299 19.0022 27.6915 18.337 27.0414 18.0195C26.7542 15.0866 24.3504 13.4236 20.3441 13.4236C16.2622 13.4236 13.8282 15.1622 13.6317 18.216C13.163 18.5789 12.8606 19.1382 12.8606 19.7732C12.8606 20.8617 13.7375 21.7385 14.826 21.7385H26.9205C27.752 21.7385 28.4323 22.4189 28.4323 23.2504C28.4323 24.0819 27.752 24.7622 26.9205 24.7622H26.3913C26.2099 24.7622 26.0436 24.868 25.968 25.0343C25.0156 27.2567 22.8386 28.6929 20.4197 28.6929C17.9857 28.6929 15.8087 27.2567 14.8562 25.0192C14.7655 24.8075 14.5236 24.6866 14.2969 24.7622H13.9189C13.0874 24.7622 12.4071 24.0819 12.4071 23.2504C12.4071 22.9026 12.5129 22.5852 12.7397 22.313C12.8909 22.1165 12.8606 21.8293 12.6641 21.6781C12.4676 21.5269 12.1803 21.5571 12.0291 21.7537C11.6814 22.177 11.5 22.7061 11.5 23.2504C11.5 24.5807 12.5885 25.6693 13.9189 25.6693H14.1608C15.3249 28.073 17.7438 29.6 20.4197 29.6C23.0956 29.6 25.5296 28.073 26.6786 25.6693H26.9205C28.2509 25.6693 29.3394 24.5807 29.3394 23.2504C29.3394 22.1921 28.6591 21.3001 27.7217 20.9675ZM20.3441 14.3307C22.3397 14.3307 25.5901 14.7993 26.1041 17.8078H14.826C14.7504 17.8078 14.6597 17.8078 14.5841 17.823C15.083 14.8144 18.3334 14.3307 20.3441 14.3307ZM14.826 20.8315C14.2364 20.8315 13.7677 20.3628 13.7677 19.7732C13.7677 19.1836 14.2364 18.7149 14.826 18.7149H26.1646C26.7542 18.7149 27.2228 19.1836 27.2228 19.7732C27.2228 20.3628 26.7542 20.8315 26.1646 20.8315H14.826Z",fill:"#202135"}),i.default.createElement("path",{d:"M20.4197 27.1812C20.1627 27.1812 19.9661 26.9846 19.9661 26.7276C19.9661 26.4706 20.1627 26.2741 20.4197 26.2741C20.722 26.2741 20.9942 26.1683 21.1907 25.9566C21.3721 25.7752 21.6594 25.7752 21.8257 25.9415C22.0071 26.1229 22.0071 26.4102 21.8408 26.5765C21.4628 26.9695 20.9639 27.1812 20.4197 27.1812Z",fill:"#202135"}))},BabyGirlMB:function(e){var t=e.size,l=void 0===t?40:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({width:l,height:l,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),i.default.createElement("circle",{cx:"20.5",cy:"20",r:"20",fill:"#FFEAF1"}),i.default.createElement("path",{d:"M20.2253 10.8569C19.7 10.8569 19.1961 11.0656 18.8246 11.4371C18.4531 11.8086 18.2444 12.3125 18.2444 12.8379C18.2444 13.3633 18.4531 13.8671 18.8246 14.2386C19.1961 14.6101 19.7 14.8188 20.2253 14.8188C20.7507 14.8188 21.2546 14.6101 21.6261 14.2386C21.9976 13.8671 22.2063 13.3633 22.2063 12.8379C22.2063 12.3125 21.9976 11.8086 21.6261 11.4371C21.2546 11.0656 20.7507 10.8569 20.2253 10.8569Z",fill:"#4BA5D1"}),i.default.createElement("path",{d:"M20.2254 15.2761C18.8845 15.2761 17.7874 14.179 17.7874 12.838C17.7874 11.497 18.8845 10.3999 20.2254 10.3999C21.5664 10.3999 22.6635 11.497 22.6635 12.838C22.6635 14.179 21.5664 15.2761 20.2254 15.2761ZM20.2254 11.3142C19.3874 11.3142 18.7016 11.9999 18.7016 12.838C18.7016 13.6761 19.3874 14.3618 20.2254 14.3618C21.0635 14.3618 21.7493 13.6761 21.7493 12.838C21.7493 11.9999 21.0635 11.3142 20.2254 11.3142Z",fill:"#202135"}),i.default.createElement("path",{d:"M26.2903 21.219H26.8541C28.2255 21.219 29.1398 22.6361 28.576 23.9009C28.3779 24.3428 28.3474 24.8304 28.4998 25.2876L28.957 26.659C29.3684 27.878 28.4541 29.1428 27.1589 29.1428H22.176L26.2903 21.219ZM14.1303 21.219H13.5665C12.1951 21.219 11.2808 22.6361 11.8446 23.9009C12.0427 24.3428 12.0732 24.8304 11.9208 25.2876L11.4636 26.659C11.0522 27.878 11.9665 29.1428 13.2617 29.1428H18.2446",fill:"#9495A0"}),i.default.createElement("path",{d:"M26.7779 21.219H26.6255C26.0007 18.2628 23.3645 16.0381 20.2255 16.0381C17.0864 16.0381 14.4502 18.2628 13.8255 21.219H13.6731C12.5759 21.219 11.6921 22.1028 11.6921 23.2C11.6921 24.2971 12.5759 25.1809 13.6731 25.1809H14.2064C15.2121 27.5124 17.5283 29.1428 20.2255 29.1428C22.9226 29.1428 25.2388 27.5124 26.2445 25.1809H26.7779C27.875 25.1809 28.7588 24.2971 28.7588 23.2C28.7588 22.1028 27.875 21.219 26.7779 21.219Z",fill:"white"}),i.default.createElement("path",{d:"M14.13 22.5904C14.13 22.118 14.1909 21.6609 14.2823 21.219H13.5661C12.1947 21.219 11.2804 22.6361 11.8442 23.9009C12.0423 24.3428 12.0728 24.8304 11.9204 25.2876C11.9204 25.2876 15.1357 26.0799 14.709 25.1961C14.3433 24.3885 14.13 23.5199 14.13 22.5904Z",fill:"#9495A0"}),i.default.createElement("path",{d:"M20.2254 27.162C19.6921 27.162 19.1892 26.9486 18.8082 26.5677C18.6254 26.3848 18.6406 26.0953 18.8082 25.9277C18.9911 25.7448 19.2806 25.7601 19.4482 25.9277C19.6463 26.141 19.9206 26.2477 20.2102 26.2477C20.5149 26.2477 20.7892 26.141 20.9873 25.9277C21.1702 25.7448 21.4597 25.7448 21.6273 25.9124C21.8102 26.0953 21.8102 26.3848 21.6425 26.5524C21.2768 26.9486 20.774 27.162 20.2254 27.162Z",fill:"#202135"}),i.default.createElement("path",{d:"M16.111 24.4189C15.9493 24.4189 15.7943 24.4832 15.68 24.5975C15.5657 24.7118 15.5015 24.8668 15.5015 25.0285C15.5015 25.1901 15.5657 25.3452 15.68 25.4595C15.7943 25.5738 15.9493 25.638 16.111 25.638C16.2726 25.638 16.4277 25.5738 16.542 25.4595C16.6563 25.3452 16.7205 25.1901 16.7205 25.0285C16.7205 24.8668 16.6563 24.7118 16.542 24.5975C16.4277 24.4832 16.2726 24.4189 16.111 24.4189ZM24.3396 24.4189C24.1779 24.4189 24.0229 24.4832 23.9086 24.5975C23.7943 24.7118 23.73 24.8668 23.73 25.0285C23.73 25.1901 23.7943 25.3452 23.9086 25.4595C24.0229 25.5738 24.1779 25.638 24.3396 25.638C24.5012 25.638 24.6563 25.5738 24.7706 25.4595C24.8849 25.3452 24.9491 25.1901 24.9491 25.0285C24.9491 24.8668 24.8849 24.7118 24.7706 24.5975C24.6563 24.4832 24.5012 24.4189 24.3396 24.4189Z",fill:"#E55C8A"}),i.default.createElement("path",{d:"M13.8254 18.5522C13.8254 15.0627 16.6597 13.7522 20.1492 13.7522C23.6388 13.7522 26.4731 15.0627 26.4731 18.5522",fill:"white"}),i.default.createElement("path",{d:"M25.5587 19.0094C25.2997 19.0094 25.1016 18.8113 25.1016 18.5523C25.1016 17.1808 24.5225 16.2361 23.3187 15.6875C23.0901 15.5808 22.9835 15.3066 23.0901 15.078C23.1968 14.8494 23.4711 14.7428 23.6997 14.8494C25.2235 15.5504 26.0159 16.8304 26.0159 18.5523C26.0159 18.8113 25.8178 19.0094 25.5587 19.0094Z",fill:"#B8E4FF"}),i.default.createElement("path",{d:"M17.1776 22.5903C17.016 22.5903 16.8609 22.6545 16.7466 22.7689C16.6323 22.8832 16.5681 23.0382 16.5681 23.1999C16.5681 23.3615 16.6323 23.5165 16.7466 23.6309C16.8609 23.7452 17.016 23.8094 17.1776 23.8094C17.3393 23.8094 17.4943 23.7452 17.6086 23.6309C17.7229 23.5165 17.7872 23.3615 17.7872 23.1999C17.7872 23.0382 17.7229 22.8832 17.6086 22.7689C17.4943 22.6545 17.3393 22.5903 17.1776 22.5903ZM23.2729 22.5903C23.1112 22.5903 22.9562 22.6545 22.8419 22.7689C22.7276 22.8832 22.6634 23.0382 22.6634 23.1999C22.6634 23.3615 22.7276 23.5165 22.8419 23.6309C22.9562 23.7452 23.1112 23.8094 23.2729 23.8094C23.4345 23.8094 23.5896 23.7452 23.7039 23.6309C23.8182 23.5165 23.8824 23.3615 23.8824 23.1999C23.8824 23.0382 23.8182 22.8832 23.7039 22.7689C23.5896 22.6545 23.4345 22.5903 23.2729 22.5903Z",fill:"#202135"}),i.default.createElement("path",{d:"M26.0159 18.1714H14.5873C13.7492 18.1714 13.0635 18.8571 13.0635 19.6952C13.0635 20.5333 13.7492 21.219 14.5873 21.219H26.0159C26.854 21.219 27.5397 20.5333 27.5397 19.6952C27.5397 18.8571 26.854 18.1714 26.0159 18.1714Z",fill:"#E55C8A"}),i.default.createElement("path",{d:"M29.3683 26.4456L28.9264 25.1352C28.8197 24.8152 28.8654 24.4799 29.0026 24.1752C29.1549 23.8247 29.2311 23.4133 29.2007 23.0018C29.1245 22.0266 28.454 21.2495 27.5702 20.9295C27.8292 20.5942 27.9969 20.1675 27.9969 19.7104C27.9969 18.9333 27.5549 18.2628 26.8997 17.9428C26.6102 14.9714 24.1873 13.2952 20.1492 13.2952C16.0349 13.2952 13.5816 15.0475 13.3835 18.1256C12.9111 18.4914 12.6064 19.0552 12.6064 19.6952C12.6064 20.7923 13.4902 21.6761 14.5873 21.6761H26.7169C27.5245 21.6761 28.2407 22.2856 28.2864 23.0933C28.3473 23.9771 27.6464 24.7237 26.7626 24.7237H26.2292C26.0464 24.7237 25.8788 24.8304 25.8178 24.998C24.8578 27.238 22.6635 28.6856 20.2254 28.6856C17.7873 28.6856 15.5778 27.238 14.6178 24.9828C14.5416 24.7999 14.374 24.678 14.1759 24.6933C13.8407 24.7237 13.6578 25.0437 13.7797 25.3333C14.3892 26.7809 15.4559 27.939 16.7664 28.6856H13.3073C12.8349 28.6856 12.3778 28.4723 12.1035 28.0914C11.8292 27.7104 11.753 27.238 11.9054 26.7961L12.393 25.3485C12.5759 24.7999 12.5149 24.2209 12.2711 23.6875C12.0121 23.1085 12.1645 22.4228 12.6521 22.0114C12.8349 21.859 12.9111 21.5695 12.7588 21.3714C12.6064 21.158 12.3016 21.1123 12.0883 21.2799C11.2502 21.9656 10.9759 23.1237 11.433 24.099C11.5854 24.419 11.5854 24.7847 11.4788 25.1199L11.0369 26.4304C10.7778 27.1923 10.8845 28.0304 11.3721 28.6704C11.814 29.2647 12.4997 29.5999 13.2464 29.5999H20.1949H20.2254H27.174C27.9207 29.5999 28.5911 29.2647 29.0483 28.6704C29.5207 28.0456 29.6273 27.1923 29.3683 26.4456ZM20.1492 14.2095C22.1607 14.2095 25.4369 14.6971 25.9397 17.7142H14.5873C14.5111 17.7142 14.4197 17.7142 14.3435 17.7295C14.8464 14.6971 18.1226 14.2095 20.1492 14.2095ZM14.5873 20.7618C13.993 20.7618 13.5207 20.2895 13.5207 19.6952C13.5207 19.1009 13.993 18.6285 14.5873 18.6285H26.0159C26.6102 18.6285 27.0826 19.1009 27.0826 19.6952C27.0826 20.2895 26.6102 20.7618 26.0159 20.7618H14.5873ZM28.3321 28.0914C28.0578 28.4723 27.6311 28.6856 27.174 28.6856H23.6845C24.9035 27.9999 25.9092 26.9485 26.534 25.638H26.7778C27.2349 25.638 27.6616 25.5009 28.0273 25.2875C28.0426 25.3333 28.0578 25.379 28.073 25.4247L28.5302 26.7961C28.6826 27.238 28.6064 27.7104 28.3321 28.0914Z",fill:"#202135"}))},ArrowLeft:e.ArrowLeft,ArrowRight:e.ArrowRight,CalendarMB:function(e){var t=e.size,l=void 0===t?18:t;e.color;var a=C.__rest(e,["size","color"]);return i.default.createElement("svg",C.__assign({width:l,height:l,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.05251 1.7627C6.32175 1.7627 6.54001 1.98096 6.54001 2.2502V2.53122C6.60161 2.51424 6.66362 2.49824 6.72604 2.48326C8.22164 2.12422 9.77827 2.12422 11.2739 2.48326C11.3363 2.49824 11.3983 2.51424 11.4599 2.53122V2.2502C11.4599 1.98096 11.6782 1.7627 11.9474 1.7627C12.2166 1.7627 12.4349 1.98096 12.4349 2.2502V2.89841C14.0148 3.66392 15.193 5.12969 15.6002 6.90621C15.9499 8.43197 15.9499 10.0197 15.6002 11.5455C15.0984 13.7345 13.426 15.4518 11.2739 15.9684C9.77827 16.3275 8.22164 16.3275 6.72605 15.9684C4.57393 15.4518 2.90146 13.7345 2.39973 11.5455C2.05003 10.0197 2.05003 8.43197 2.39973 6.90621C2.8069 5.12969 3.98512 3.66392 5.56501 2.89841V2.2502C5.56501 1.98096 5.78327 1.7627 6.05251 1.7627ZM5.56501 4.00938C4.8827 4.4302 4.31058 5.01866 3.90223 5.72184H14.0977C13.6893 5.01865 13.1172 4.4302 12.4349 4.00938V4.1355C12.4349 4.40474 12.2166 4.623 11.9474 4.623C11.6782 4.623 11.4599 4.40474 11.4599 4.1355V3.55069C11.3246 3.5049 11.1866 3.46501 11.0463 3.43132C9.70028 3.1082 8.29963 3.1082 6.95364 3.43132C6.81329 3.46501 6.67532 3.5049 6.54001 3.55069V4.1355C6.54001 4.40474 6.32175 4.623 6.05251 4.623C5.78327 4.623 5.56501 4.40474 5.56501 4.1355V4.00938ZM14.5321 6.69684H3.46781C3.42267 6.83649 3.38333 6.97898 3.35008 7.12403C3.03324 8.50643 3.03324 9.94525 3.35008 11.3277C3.77131 13.1654 5.17107 14.5924 6.95364 15.0204C8.29963 15.3435 9.70028 15.3435 11.0463 15.0204C12.8288 14.5924 14.2286 13.1654 14.6498 11.3276C14.9667 9.94525 14.9667 8.50643 14.6498 7.12403C14.6166 6.97898 14.5772 6.83649 14.5321 6.69684Z",fill:"#3E3F58"}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.48543 8.60225C6.7051 8.82192 6.7051 9.17808 6.48543 9.39775L6.39775 9.48543C6.17808 9.7051 5.82192 9.7051 5.60225 9.48543C5.38258 9.26576 5.38258 8.9096 5.60225 8.68993L5.68994 8.60225C5.90961 8.38258 6.26576 8.38258 6.48543 8.60225Z",fill:"#3E3F58"}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.48543 10.8523C6.7051 11.0719 6.7051 11.4281 6.48543 11.6477L6.39775 11.7354C6.17808 11.9551 5.82192 11.9551 5.60225 11.7354C5.38258 11.5158 5.38258 11.1596 5.60225 10.9399L5.68994 10.8523C5.90961 10.6326 6.26576 10.6326 6.48543 10.8523Z",fill:"#3E3F58"}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.48543 8.60225C9.7051 8.82192 9.7051 9.17808 9.48543 9.39775L9.39775 9.48543C9.17808 9.7051 8.82192 9.7051 8.60225 9.48543C8.38258 9.26576 8.38258 8.9096 8.60225 8.68993L8.68994 8.60225C8.90961 8.38258 9.26576 8.38258 9.48543 8.60225Z",fill:"#3E3F58"}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.48543 10.8523C9.7051 11.0719 9.7051 11.4281 9.48543 11.6477L9.39775 11.7354C9.17808 11.9551 8.82192 11.9551 8.60225 11.7354C8.38258 11.5158 8.38258 11.1596 8.60225 10.9399L8.68994 10.8523C8.90961 10.6326 9.26576 10.6326 9.48543 10.8523Z",fill:"#3E3F58"}),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.4854 8.60225C12.7051 8.82192 12.7051 9.17808 12.4854 9.39775L12.3977 9.48543C12.1781 9.7051 11.8219 9.7051 11.6023 9.48543C11.3826 9.26576 11.3826 8.9096 11.6023 8.68993L11.6899 8.60225C11.9096 8.38258 12.2658 8.38258 12.4854 8.60225Z",fill:"#3E3F58"}))},CheckActiveMB:e.CheckActiveMB,Vaccinated:function(e){var t=e.size,l=void 0===t?24:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},a),i.default.createElement("path",{d:"M7.0252 18.8503L4.4002 18.3003C4.18353 18.2503 4.00853 18.1296 3.8752 17.9383C3.74186 17.7463 3.69186 17.542 3.7252 17.3253L3.9752 14.6253L2.2002 12.6003C2.03353 12.4336 1.9502 12.2336 1.9502 12.0003C1.9502 11.767 2.03353 11.567 2.2002 11.4003L3.9752 9.3753L3.7252 6.6753C3.69186 6.45864 3.74186 6.2543 3.8752 6.0623C4.00853 5.87097 4.18353 5.7503 4.4002 5.7003L7.0252 5.1503L8.4002 2.8253C8.53353 2.6253 8.7042 2.49197 8.9122 2.4253C9.12086 2.35864 9.3252 2.36697 9.5252 2.4503L12.0002 3.5003L14.4752 2.4503C14.6752 2.36697 14.8795 2.35864 15.0882 2.4253C15.2962 2.49197 15.4669 2.6253 15.6002 2.8253L16.9752 5.1503L19.6002 5.7003C19.8169 5.7503 19.9919 5.87097 20.1252 6.0623C20.2585 6.2543 20.3085 6.45864 20.2752 6.6753L20.0252 9.3753L21.8002 11.4003C21.9669 11.567 22.0502 11.767 22.0502 12.0003C22.0502 12.2336 21.9669 12.4336 21.8002 12.6003L20.0252 14.6253L20.2752 17.3253C20.3085 17.542 20.2585 17.7463 20.1252 17.9383C19.9919 18.1296 19.8169 18.2503 19.6002 18.3003L16.9752 18.8503L15.6002 21.1753C15.4669 21.3753 15.2962 21.5086 15.0882 21.5753C14.8795 21.642 14.6752 21.6336 14.4752 21.5503L12.0002 20.5003L9.5252 21.5503C9.3252 21.6336 9.12086 21.642 8.9122 21.5753C8.7042 21.5086 8.53353 21.3753 8.4002 21.1753L7.0252 18.8503ZM10.3252 14.5753C10.4919 14.742 10.7002 14.8253 10.9502 14.8253C11.2002 14.8253 11.4085 14.742 11.5752 14.5753L15.7252 10.4253C15.8752 10.2753 15.9502 10.096 15.9502 9.8873C15.9502 9.6793 15.8752 9.5003 15.7252 9.3503C15.5752 9.2003 15.4002 9.1253 15.2002 9.1253C15.0002 9.1253 14.8169 9.2003 14.6502 9.3503L10.9502 13.0753L9.3252 11.4503C9.1752 11.317 8.99586 11.2543 8.7872 11.2623C8.5792 11.271 8.40853 11.342 8.2752 11.4753C8.1252 11.6253 8.0502 11.8003 8.0502 12.0003C8.0502 12.2003 8.1252 12.3753 8.2752 12.5253L10.3252 14.5753Z",fill:"#00B16A"}))},Missed:function(e){var t=e.size,l=void 0===t?24:t,a=e.color,n=void 0===a?"#FE921D":a,r=C.__rest(e,["size","color"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},r),i.default.createElement("path",{d:"M12 13.075C12.2167 13.075 12.396 13.004 12.538 12.862C12.6793 12.7207 12.75 12.5417 12.75 12.325V7.8C12.75 7.6 12.6793 7.429 12.538 7.287C12.396 7.14567 12.2167 7.075 12 7.075C11.7833 7.075 11.6043 7.14567 11.463 7.287C11.321 7.429 11.25 7.60833 11.25 7.825V12.35C11.25 12.55 11.321 12.7207 11.463 12.862C11.6043 13.004 11.7833 13.075 12 13.075V13.075ZM12 16.725C12.2333 16.725 12.425 16.65 12.575 16.5C12.725 16.35 12.8 16.1583 12.8 15.925C12.8 15.6917 12.725 15.5 12.575 15.35C12.425 15.2 12.2333 15.125 12 15.125C11.7667 15.125 11.575 15.2 11.425 15.35C11.275 15.5 11.2 15.6917 11.2 15.925C11.2 16.1583 11.275 16.35 11.425 16.5C11.575 16.65 11.7667 16.725 12 16.725ZM12 21.5C10.6833 21.5 9.446 21.25 8.288 20.75C7.12933 20.25 6.125 19.575 5.275 18.725C4.425 17.875 3.75 16.8707 3.25 15.712C2.75 14.554 2.5 13.3167 2.5 12C2.5 10.6833 2.75 9.44567 3.25 8.287C3.75 7.129 4.425 6.125 5.275 5.275C6.125 4.425 7.12933 3.75 8.288 3.25C9.446 2.75 10.6833 2.5 12 2.5C13.3167 2.5 14.5543 2.75 15.713 3.25C16.871 3.75 17.875 4.425 18.725 5.275C19.575 6.125 20.25 7.129 20.75 8.287C21.25 9.44567 21.5 10.6833 21.5 12C21.5 13.3167 21.25 14.554 20.75 15.712C20.25 16.8707 19.575 17.875 18.725 18.725C17.875 19.575 16.871 20.25 15.713 20.75C14.5543 21.25 13.3167 21.5 12 21.5Z",fill:n}))},Upcoming:function(e){var t=e.size,l=void 0===t?24:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},a),i.default.createElement("path",{d:"M13.9004 21.3002C13.6504 21.3668 13.4337 21.3212 13.2504 21.1632C13.0671 21.0045 12.9754 20.7835 12.9754 20.5002C12.9754 20.3502 13.0337 20.2125 13.1504 20.0872C13.2671 19.9625 13.3921 19.8835 13.5254 19.8502C14.0587 19.7502 14.5671 19.6045 15.0504 19.4132C15.5337 19.2212 15.9921 18.9668 16.4254 18.6502C16.5754 18.5668 16.7297 18.5295 16.8884 18.5382C17.0464 18.5462 17.1754 18.6002 17.2754 18.7002C17.4754 18.9002 17.5671 19.1252 17.5504 19.3752C17.5337 19.6252 17.4171 19.8168 17.2004 19.9502C16.6837 20.2835 16.1504 20.5585 15.6004 20.7752C15.0504 20.9918 14.4837 21.1668 13.9004 21.3002ZM18.7254 17.2752C18.6087 17.1585 18.5421 17.0212 18.5254 16.8632C18.5087 16.7045 18.5504 16.5585 18.6504 16.4252C18.9504 15.9918 19.2004 15.5335 19.4004 15.0502C19.6004 14.5668 19.7504 14.0585 19.8504 13.5252C19.8837 13.3752 19.9631 13.2458 20.0884 13.1372C20.2131 13.0292 20.3504 12.9752 20.5004 12.9752C20.7837 12.9752 21.0004 13.0752 21.1504 13.2752C21.3004 13.4752 21.3504 13.7002 21.3004 13.9502C21.1671 14.5335 20.9881 15.0958 20.7634 15.6372C20.5381 16.1792 20.2671 16.7002 19.9504 17.2002C19.8171 17.4002 19.6297 17.5128 19.3884 17.5382C19.1464 17.5628 18.9254 17.4752 18.7254 17.2752ZM20.5004 10.9752C20.3504 10.9752 20.2131 10.9252 20.0884 10.8252C19.9631 10.7252 19.8837 10.6002 19.8504 10.4502C19.7504 9.91685 19.6004 9.40851 19.4004 8.92518C19.2004 8.44185 18.9504 7.97518 18.6504 7.52518C18.5671 7.39185 18.5337 7.24185 18.5504 7.07518C18.5671 6.90851 18.6254 6.77518 18.7254 6.67518C18.9087 6.47518 19.1254 6.38751 19.3754 6.41218C19.6254 6.43751 19.8254 6.55851 19.9754 6.77518C20.2921 7.27518 20.5587 7.80018 20.7754 8.35018C20.9921 8.90018 21.1671 9.45851 21.3004 10.0252C21.3671 10.2752 21.3214 10.4962 21.1634 10.6882C21.0047 10.8795 20.7837 10.9752 20.5004 10.9752ZM10.0504 21.3002C7.88372 20.8335 6.08806 19.7375 4.66339 18.0122C3.23806 16.2875 2.52539 14.2752 2.52539 11.9752C2.52539 9.69185 3.23806 7.68351 4.66339 5.95018C6.08806 4.21685 7.89206 3.12518 10.0754 2.67518C10.3254 2.62518 10.5421 2.67918 10.7254 2.83718C10.9087 2.99585 11.0004 3.20851 11.0004 3.47518C11.0004 3.62518 10.9464 3.75851 10.8384 3.87518C10.7297 3.99185 10.6087 4.07518 10.4754 4.12518C8.60872 4.50851 7.06706 5.42918 5.85039 6.88718C4.63372 8.34585 4.02539 10.0418 4.02539 11.9752C4.02539 13.9252 4.62972 15.6292 5.83839 17.0872C7.04639 18.5458 8.58372 19.4668 10.4504 19.8502C10.5837 19.8835 10.7044 19.9625 10.8124 20.0872C10.9211 20.2125 10.9754 20.3502 10.9754 20.5002C10.9754 20.7835 10.8837 21.0002 10.7004 21.1502C10.5171 21.3002 10.3004 21.3502 10.0504 21.3002ZM16.4754 5.35018C16.0254 5.05018 15.5587 4.80018 15.0754 4.60018C14.5921 4.40018 14.0837 4.24185 13.5504 4.12518C13.4171 4.07518 13.2921 3.99185 13.1754 3.87518C13.0587 3.75851 13.0004 3.61685 13.0004 3.45018C13.0004 3.18351 13.0921 2.97085 13.2754 2.81218C13.4587 2.65418 13.6754 2.60851 13.9254 2.67518C14.5087 2.80851 15.0754 2.98351 15.6254 3.20018C16.1754 3.41685 16.7004 3.68351 17.2004 4.00018C17.4337 4.15018 17.5627 4.35018 17.5874 4.60018C17.6127 4.85018 17.5254 5.07518 17.3254 5.27518C17.2087 5.37518 17.0714 5.43351 16.9134 5.45018C16.7547 5.46685 16.6087 5.43351 16.4754 5.35018Z",fill:"#ADB3BC"}))},Current:function(e){var t=e.size,l=void 0===t?24:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},a),i.default.createElement("path",{d:"M12 14.5C12.7 14.5 13.2917 14.2583 13.775 13.775C14.2583 13.2917 14.5 12.7 14.5 12C14.5 11.3 14.2583 10.7083 13.775 10.225C13.2917 9.74167 12.7 9.5 12 9.5C11.3 9.5 10.7083 9.74167 10.225 10.225C9.74167 10.7083 9.5 11.3 9.5 12C9.5 12.7 9.74167 13.2917 10.225 13.775C10.7083 14.2583 11.3 14.5 12 14.5ZM12 21.5C10.6833 21.5 9.446 21.25 8.288 20.75C7.12933 20.25 6.125 19.575 5.275 18.725C4.425 17.875 3.75 16.8707 3.25 15.712C2.75 14.554 2.5 13.3167 2.5 12C2.5 10.6833 2.75 9.44567 3.25 8.287C3.75 7.129 4.425 6.125 5.275 5.275C6.125 4.425 7.12933 3.75 8.288 3.25C9.446 2.75 10.6833 2.5 12 2.5C13.3167 2.5 14.5543 2.75 15.713 3.25C16.871 3.75 17.875 4.425 18.725 5.275C19.575 6.125 20.25 7.129 20.75 8.287C21.25 9.44567 21.5 10.6833 21.5 12C21.5 13.3167 21.25 14.554 20.75 15.712C20.25 16.8707 19.575 17.875 18.725 18.725C17.875 19.575 16.871 20.25 15.713 20.75C14.5543 21.25 13.3167 21.5 12 21.5Z",fill:"#2D87F3"}))},ToggleOff:function(e){var t=e.size,l=void 0===t?24:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},a),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 7H17C19.76 7 22 9.24 22 12C22 14.76 19.76 17 17 17H7C4.24 17 2 14.76 2 12C2 9.24 4.24 7 7 7ZM4 12C4 13.66 5.34 15 7 15C8.66 15 10 13.66 10 12C10 10.34 8.66 9 7 9C5.34 9 4 10.34 4 12Z",fill:"#595959"}))},ToggleOn:function(e){var t=e.size,l=void 0===t?24:t,a=C.__rest(e,["size"]);return i.default.createElement("svg",C.__assign({xmlns:"http://www.w3.org/2000/svg",width:l,height:l,fill:"none",viewBox:"0 0 24 24"},a),i.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 7H17C19.76 7 22 9.24 22 12C22 14.76 19.76 17 17 17H7C4.24 17 2 14.76 2 12C2 9.24 4.24 7 7 7ZM14 12C14 13.66 15.34 15 17 15C18.66 15 20 13.66 20 12C20 10.34 18.66 9 17 9C15.34 9 14 10.34 14 12Z",fill:"#00B16A"}))}};exports.Check=n,exports.Close=r,exports.Icon=d;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-290fd150.js"),t=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t),n=t.forwardRef((function(t,r){return a.default.createElement("circle",e.__assign({},t,{ref:r}),a.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));exports.CustomReferenceDot=n;
1
+ "use strict";var e=require("./tslib.es6-7409fcb1.js"),t=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t),n=t.forwardRef((function(t,r){return a.default.createElement("circle",e.__assign({},t,{ref:r}),a.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));exports.CustomReferenceDot=n;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-290fd150.js"),n=require("react"),t=require("@mantine/hooks"),r=require("./index.styled-15724256.js"),o=require("./index-93e963ec.js");require("./gAssets.js"),require("./index.styled-d85047f3.js");var a=require("./index-8114a7c9.js"),i=require("./utils-0e75984e.js"),l=require("./theme-41b4a20e.js"),s=require("@mantine/core");require("./index.styled-1e6bee5c.js");var d=require("./useTranslations-f4967efa.js");require("./index-9d0f0c5e.js"),require("lodash/debounce"),require("./isProduction-5f812990.js");var u=require("./index-04ad01a7.js");require("dayjs"),require("./screenSizeContext-b1fde597.js");var c=require("styled-components"),p=require("./Locale-5f8729a9.js");require("./translationsContext-817fdbe0.js"),require("string-format");var m=require("@mantine/form"),g=require("./index-f44fd688.js"),f=require("yup"),b=require("lodash/throttle"),h=require("./index-baf40c85.js"),x=require("./index-a5c4d237.js");require("./index-47c5c8a3.js");var E=require("date-fns"),y=require("./Visible-a2df0ad1.js");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function _(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})),n.default=e,Object.freeze(n)}var w,P,O,C,k,S,L,T,j=v(n),I=v(c),M=_(f),q=v(b),B=I.default.div(w||(w=e.__makeTemplateObject([""],[""]))),A=I.default(h.Text)(P||(P=e.__makeTemplateObject(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),N=I.default.div(O||(O=e.__makeTemplateObject(["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"],["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]))),z=I.default(s.Container)(C||(C=e.__makeTemplateObject(["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"],["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"])),i.MediaQueries.mbDown),F=I.default.img(k||(k=e.__makeTemplateObject(["\n margin-bottom: 38px;\n"],["\n margin-bottom: 38px;\n"]))),R=function(t){var o,i=t.heading,s=t.description,d=t.children,c=t.className,p=t.imgSrc,m=e.__rest(t,["heading","description","children","className","imgSrc"]),g=n.useContext(ve),f=g.isMarryBaby,b=g.siteType;return j.default.createElement(z,e.__assign({},m,{className:"hhg-comp-onboarding-container ".concat(c),size:"sm"}),j.default.createElement(a.LogoIcon,{type:f?b:(null===(o=u.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===o?void 0:o.LOGO_TYPE)||"hellobacsi"}),j.default.createElement(N,null,p&&j.default.createElement(F,{src:p,loading:"lazy"}),j.default.createElement(B,{className:"header"},j.default.createElement(r.Heading,{tag:"h3"},i),j.default.createElement(A,{size:"p3",color:l.theme.colors.gray600},s)),d))},D=function(e){return M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")})},V=function(e){return M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")})},H=function(e){return M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))})},U=function(e){return M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")})},Q=I.default(R)(S||(S=e.__makeTemplateObject(["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"],["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"])),i.MediaQueries.mbDown),W=((L={})[p.LOCALE.Vietnam]="VN",L[p.LOCALE.Cambodia]="KH",L[p.LOCALE.Indonesia]="ID",L[p.LOCALE.Malaysia]="MY",L[p.LOCALE.PhilippinesEnglish]="PH",L[p.LOCALE.PhilippinesTagalog]="PH",L[p.LOCALE.Taiwan]="TW",L[p.LOCALE.Thailand]="TH",L[p.LOCALE.Myanmar]="MM",L),Y=function(n){var t=n.onClose,r=n.onSubmit,a=n.canSkip,i=void 0===a||a,l=n.customFormTexts,u=d.useTranslations().t,c=m.useForm({initialValues:{phone:""},validate:m.yupResolver(D(u))});return j.default.createElement(Q,{heading:(null==l?void 0:l.heading)||u("onboarding.updatePhone.heading"),description:(null==l?void 0:l.description)||u("onboarding.updatePhone.description")},j.default.createElement("form",{onSubmit:c.onSubmit((function(n){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){return r(n.phone),[2]}))}))}),(function(e){console.log(e)}))},j.default.createElement("div",{className:"phone-input"},j.default.createElement(g.Phone,e.__assign({defaultCountry:W[process.env.UNIFY_LOCALE]||"VN"},c.getInputProps("phone"))),j.default.createElement(s.Input.Error,null,c.errors.phone)),j.default.createElement(o.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},u("onboarding.button.continue")),i&&j.default.createElement(o.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},u("onboarding.button.skip"))))};(T={})[p.LOCALE.Vietnam]="VN",T[p.LOCALE.Cambodia]="KH",T[p.LOCALE.Indonesia]="ID",T[p.LOCALE.Malaysia]="MY",T[p.LOCALE.PhilippinesEnglish]="PH",T[p.LOCALE.PhilippinesTagalog]="PH",T[p.LOCALE.Taiwan]="TW",T[p.LOCALE.Thailand]="TH",T[p.LOCALE.Myanmar]="MM";var K,Z,G,J,X,$,ee,ne,te,re,oe,ae,ie=function(e){void 0===e&&(e="");var n=e.indexOf("@"),t=e.substring(0,n),r=t.length>3?3:t.length;return e.replace(e.substring(r,n),e.slice(r,n).replace(/./g,"x"))},le=I.default(R)(K||(K=e.__makeTemplateObject(["\n .otp-input {\n margin-bottom: 36px;\n "," {\n margin-bottom: 20px;\n }\n .otpContainer {\n margin-bottom: 16px;\n }\n }\n .resend {\n display: flex;\n gap: 6px;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n a {\n text-decoration: underline;\n cursor: pointer;\n }\n }\n .phone-description {\n margin-left: 2px;\n margin-top: 2px;\n }\n .otp-description-edit-icon {\n cursor: pointer;\n vertical-align: bottom;\n /* height: 100%; */\n margin-bottom: 3px;\n margin-left: 3px;\n }\n"],["\n .otp-input {\n margin-bottom: 36px;\n "," {\n margin-bottom: 20px;\n }\n .otpContainer {\n margin-bottom: 16px;\n }\n }\n .resend {\n display: flex;\n gap: 6px;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n a {\n text-decoration: underline;\n cursor: pointer;\n }\n }\n .phone-description {\n margin-left: 2px;\n margin-top: 2px;\n }\n .otp-description-edit-icon {\n cursor: pointer;\n vertical-align: bottom;\n /* height: 100%; */\n margin-bottom: 3px;\n margin-left: 3px;\n }\n"])),i.MediaQueries.mbDown,i.MediaQueries.mbDown),se=function(r){var a=r.onSubmit,i=r.phone,u=r.email,c=r.onResendCode,p=r.otpError,f=r.onClose,b=r.loading,x=r.onBack,E=r.canSkip,y=r.outOfEdit,v=n.useContext(ve),_=v.siteType,w=v.isMarryBaby,P=n.useState(30),O=P[0],C=P[1],k=t.useInterval((function(){return C((function(e){return e-1}))}),1e3),S=t.useCounter(0,{min:0,max:3}),L=S[0],T=S[1],I=n.useRef(!0),M=d.useTranslations().t;n.useEffect((function(){return k.start(),k.stop}),[]),n.useEffect((function(){0===O&&(k.stop(),I.current=!1)}),[O]);var B=m.useForm({initialValues:{otp:""},validate:m.yupResolver(V(M))});n.useEffect((function(){p&&B.setFieldError("otp",p)}),[p]);var A=n.useMemo((function(){return q.default((function(){I.current||(T.increment(),C(30),null==c||c(i||u),k.start(),I.current=!0)}),1e3,{trailing:!1})}),[i,u,c,k]);return j.default.createElement(le,{heading:M("onboarding.otpForm.heading"),description:j.default.createElement(j.default.Fragment,null,j.default.createElement("span",{dangerouslySetInnerHTML:{__html:i?M("onboarding.otpForm.description",{phone:'<b style="color:'.concat(l.theme.colors.gray800,'">').concat(i.slice(0,-3).replace(/./g,"x").concat(i.slice(-3)),"</b>")}):M("onboarding.otpForm.descriptionEmail",{email:'<b style="color:'.concat(l.theme.colors.gray800,'">').concat(ie(u),"</b>")})}}),!y&&j.default.createElement("svg",{onClick:function(){null==x||x()},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"otp-description-edit-icon"},j.default.createElement("path",{d:"M12.7812 1.33337C12.2987 1.33337 11.8162 1.51712 11.4479 1.88546L10.6667 2.66671L13.3333 5.33337L14.1146 4.55212C14.8506 3.81612 14.8506 2.62212 14.1146 1.88546C13.7463 1.51712 13.2638 1.33337 12.7812 1.33337ZM9.66667 3.66671L2 11.3334V14H4.66667L12.3333 6.33337L9.66667 3.66671Z",fill:"#ADB3BC"})))},j.default.createElement("form",{onSubmit:B.onSubmit((function(n){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){return T.increment(),a(n.otp),[2]}))}))}),(function(e){console.log(e)}))},j.default.createElement("div",{className:"otp-input"},j.default.createElement(g.OTP,e.__assign({enterKeyHint:void 0,nonce:void 0},B.getInputProps("otp"))),j.default.createElement(s.Input.Error,null,B.errors.otp)),j.default.createElement("div",{className:"resend"},j.default.createElement(h.Text,{size:"p4",color:l.theme.colors.gray400},M("onboarding.otpForm.notReceiveOTP")),j.default.createElement(h.Text,{as:"a",size:"p4",color:w?l.theme.mbColors.pink:l.theme.colors.primaryBase,onClick:A},M("onboarding.otpForm.resendCode",{seconds:O}))),j.default.createElement(o.Button,{theme:_,color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:b,disabled:b,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},M("onboarding.button.continue")),E&&L>=3&&j.default.createElement(o.Button,{theme:_,color:"ghost",isBlock:!0,size:"lg",onClick:f,type:"button"},M("onboarding.button.skip"))))},de=function(t){var r=t.onClose,a=t.onSubmit,i=t.canSkip,l=t.loading,u=t.errorMessage,c=t.initialData,p=d.useTranslations().t,f=n.useContext(ve).siteType,b=m.useForm({validate:m.yupResolver(H(p))});return n.useEffect((function(){b.setValues(e.__assign(e.__assign({gender:"0"},c),(null==c?void 0:c.birthday)&&{birthday:new Date(c.birthday)}))}),[c]),n.useEffect((function(){u&&b.setFieldError("email",u)}),[u]),j.default.createElement(R,{heading:p("onboarding.formEmail.heading"),description:p("onboarding.formEmail.description")},j.default.createElement("form",{className:"form",onSubmit:b.onSubmit((function(n){a(e.__assign(e.__assign({},n),{birthday:n.birthday&&E.format(n.birthday,"yyyy-MM-dd")}))}),(function(e){console.log({fieldErrors:e})}))},j.default.createElement(s.Input.Wrapper,{label:p("onboarding.formEmail.yourName"),className:"input-control",withAsterisk:!0},j.default.createElement(s.Input,e.__assign({},b.getInputProps("name"))),j.default.createElement(s.Input.Error,{className:"field-error"},b.errors.name)),j.default.createElement(s.Input.Wrapper,{label:p("onboarding.formEmail.yourEmail"),className:"input-control",withAsterisk:!0},j.default.createElement(s.Input,e.__assign({},b.getInputProps("email"))),j.default.createElement(s.Input.Error,{className:"field-error"},b.errors.email)),j.default.createElement(g.DatePicker,e.__assign({className:"input-control",label:p("onboarding.formEmail.yourBirthday")},b.getInputProps("birthday"))),j.default.createElement(g.Radio.Group,{value:b.values.gender,onChange:function(e){return b.setFieldValue("gender",e)},className:"radio-group"},j.default.createElement(g.Radio,{value:"0",label:p("onboarding.formEmail.genderMale")}),j.default.createElement(g.Radio,{value:"1",label:p("onboarding.formEmail.genderFemale")})),j.default.createElement(o.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit",theme:f,isLoading:l,disabled:l},p("onboarding.button.continue")),i&&j.default.createElement(o.Button,{theme:f,color:"ghost",isBlock:!0,size:"lg",onClick:r},p("onboarding.button.skip"))))},ue=function(n){var t=n.onClose,r=n.onSubmit,a=n.canSkip,i=n.errorMessage,l=n.loading,u=d.useTranslations().t,c=m.useForm({initialValues:{password:"",confirmPassword:""},validate:m.yupResolver(U(u))});return j.default.createElement(R,{heading:u("onboarding.updatePassword.heading"),description:u("onboarding.updatePassword.description")},j.default.createElement("form",{className:"form",onSubmit:c.onSubmit((function(e){return r((null==e?void 0:e.password)||"")}),(function(e){console.log({fieldErrors:e})}))},j.default.createElement(x.PasswordInput,e.__assign({label:u("onboarding.updatePassword.password"),withAsterisk:!0,rightSection:j.default.createElement(y.Visible,null)},c.getInputProps("password"))),j.default.createElement(x.PasswordInput,e.__assign({label:u("onboarding.updatePassword.confirmPassword"),withAsterisk:!0,rightSection:j.default.createElement(y.Visible,null)},c.getInputProps("confirmPassword"))),j.default.createElement(o.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:l,disabled:l},u("onboarding.button.continue")),a&&j.default.createElement(o.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:t},u("onboarding.button.skip")),i&&j.default.createElement(s.Input.Error,{className:"form-error"},i)))},ce=I.default.div(Z||(Z=e.__makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n background: white;\n overflow-y: auto;\n"],["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n background: white;\n overflow-y: auto;\n"]))),pe=I.default.div(G||(G=e.__makeTemplateObject(["\n height: 100%;\n "," {\n display: table;\n width: 100%;\n height: calc(100% - 25px);\n }\n"],["\n height: 100%;\n "," {\n display: table;\n width: 100%;\n height: calc(100% - 25px);\n }\n"])),i.MediaQueries.lgPcUp),me=I.default.div(J||(J=e.__makeTemplateObject(["\n padding: 48px 24px 24px;\n\n "," {\n display: table-cell;\n\n &[data-has-banner='true'] {\n width: calc(100% - 640px);\n }\n }\n"],["\n padding: 48px 24px 24px;\n\n "," {\n display: table-cell;\n\n &[data-has-banner='true'] {\n width: calc(100% - 640px);\n }\n }\n"])),i.MediaQueries.lgPcUp),ge=I.default.div(X||(X=e.__makeTemplateObject(["\n width: 640px;\n padding: 16px 16px 0 16px;\n display: none;\n\n "," {\n width: 640px;\n display: table-cell;\n }\n"],["\n width: 640px;\n padding: 16px 16px 0 16px;\n display: none;\n\n "," {\n width: 640px;\n display: table-cell;\n }\n"])),i.MediaQueries.lgPcUp),fe=I.default.div($||($=e.__makeTemplateObject(["\n background-color: ",";\n border-radius: 12px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n &[data-is-marry-baby='true'] {\n background-color: ",";\n }\n"],["\n background-color: ",";\n border-radius: 12px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n &[data-is-marry-baby='true'] {\n background-color: ",";\n }\n"])),l.theme.colors.blue50,l.theme.mbColors.tonePink),be=I.default.div(ee||(ee=e.__makeTemplateObject(["\n margin-top: 40px;\n padding: 24px 40px;\n"],["\n margin-top: 40px;\n padding: 24px 40px;\n"]))),he=I.default(r.Heading)(ne||(ne=e.__makeTemplateObject(["\n margin-bottom: 24px;\n text-align: center;\n"],["\n margin-bottom: 24px;\n text-align: center;\n"]))),xe=I.default(h.Text)(te||(te=e.__makeTemplateObject([""],[""]))),Ee=I.default.img(re||(re=e.__makeTemplateObject(["\n width: 100%;\n display: block;\n"],["\n width: 100%;\n display: block;\n"]))),ye=I.default.div(oe||(oe=e.__makeTemplateObject([""],[""])));exports.OnboardingStep=void 0,(ae=exports.OnboardingStep||(exports.OnboardingStep={}))[ae.Phone=0]="Phone",ae[ae.OTP=1]="OTP",ae[ae.OTPEmail=2]="OTPEmail",ae[ae.PersonalInfo=3]="PersonalInfo",ae[ae.UpdatePassword=4]="UpdatePassword",ae[ae.Result=5]="Result";var ve=n.createContext({});exports.MAPPED_LOCALE=W,exports.OnboardingForm=Y,exports.OnboardingModal=function(r){var a=r.onClose,i=r.canSkip,s=r.flow,u=void 0===s?[exports.OnboardingStep.Phone,exports.OnboardingStep.OTP]:s,c=r.step,p=r.onPhoneSubmit,m=r.onOtpSubmit,g=r.onPersonalInfoSubmit,f=r.onCreatePassByEmail,b=r.onResendCode,h=r.otpError,x=r.personalInfoError,E=r.createPassError,y=r.emailLoading,v=r.createPassLoading,_=r.otpLoading,w=r.customFormTexts,P=r.initialData,O=r.banner,C=r.resultScreenProps,k=r.siteType,S=e.__rest(r,["onClose","canSkip","flow","step","onPhoneSubmit","onOtpSubmit","onPersonalInfoSubmit","onCreatePassByEmail","onResendCode","otpError","personalInfoError","createPassError","emailLoading","createPassLoading","otpLoading","customFormTexts","initialData","banner","resultScreenProps","siteType"]),L=d.useTranslations().t,T=n.useState(c||u[0]),I=T[0],M=T[1],q=n.useState(""),B=q[0],A=q[1],N=n.useState(""),z=N[0],F=N[1],D=t.useCounter(0,{min:0,max:2}),V=D[0],H=D[1],U=n.useCallback((function(){var e=u.indexOf(I)+1;e<=u.length-1&&M(u[e])}),[I]),Q=n.useCallback((function(){var e=u.indexOf(I)-1;e>=0&&M(u[e])}),[I]),W=function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,m(n)];case 1:return!e.sent()&&U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},K=function(){V>=2||(H.increment(),Q())},Z="marryBaby"===k;return console.log({isMarryBaby:Z}),j.default.createElement(ve.Provider,{value:{siteType:k,isMarryBaby:Z}},j.default.createElement(ce,e.__assign({},S),u.length>0?j.default.createElement(pe,null,j.default.createElement(me,{"data-has-banner":"object"==typeof O},I===exports.OnboardingStep.Phone&&j.default.createElement(Y,{onClose:a,canSkip:i,onSubmit:function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),A(n),[4,null==p?void 0:p(n)];case 1:return e.sent(),U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},customFormTexts:w.onboarding}),I===exports.OnboardingStep.OTP&&j.default.createElement(se,{onClose:a,onSubmit:W,phone:B,onResendCode:b,otpError:h,loading:_,canSkip:i,onBack:K,outOfEdit:V>=2}),I===exports.OnboardingStep.OTPEmail&&j.default.createElement(se,{onClose:a,onSubmit:W,onResendCode:b,otpError:h,loading:_,canSkip:i,onBack:K,outOfEdit:V>=2,email:z}),I===exports.OnboardingStep.PersonalInfo&&j.default.createElement(de,{initialData:null==P?void 0:P[exports.OnboardingStep.PersonalInfo],onClose:a,canSkip:i,onSubmit:function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),F((null==n?void 0:n.email)||""),[4,null==g?void 0:g(n)];case 1:return!e.sent()&&U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},errorMessage:x,loading:y}),I===exports.OnboardingStep.UpdatePassword&&j.default.createElement(ue,{onClose:a,canSkip:i,onSubmit:function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,null==f?void 0:f(n)];case 1:return e.sent(),!E&&U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},errorMessage:E,loading:v}),I===exports.OnboardingStep.Result&&j.default.createElement(R,e.__assign({},C),j.default.createElement(o.Button,{theme:k,size:"lg",onClick:a,className:"form-button"},L("onboarding.button.continue")))),"object"==typeof O&&j.default.createElement(ge,null,j.default.createElement(fe,{"data-is-marry-baby":Z},j.default.createElement(be,null,(null==O?void 0:O.heading)&&j.default.createElement(he,{tag:"h1"},null==O?void 0:O.heading),(null==O?void 0:O.description)&&j.default.createElement(xe,{size:"p1",color:l.theme.colors.gray800},L("onboarding.welcomeScreen.content"))),(null==O?void 0:O.imgSrc)&&j.default.createElement(ye,null,j.default.createElement(Ee,{src:null==O?void 0:O.imgSrc,loading:"lazy"}))))):"Incorrect flow"))},exports.OtpForm=se;
1
+ "use strict";var e=require("./tslib.es6-7409fcb1.js"),n=require("react"),t=require("@mantine/hooks"),r=require("./index.styled-992d5897.js"),o=require("./index-e7bf319a.js");require("./index.styled-10e505f8.js");var a=require("./index-191f4c98.js"),i=require("./utils-feec2d6a.js"),l=require("./theme-3c8770d4.js"),s=require("@mantine/core");require("./index.styled-d1881370.js");var d=require("./useTranslations-ab09572c.js");require("./index-b1794c6a.js"),require("./translationsContext-a6bd51d6.js"),require("string-format");var u=require("./index-8ea0577a.js"),c=require("@mantine/form"),p=require("./index-7f2b16b7.js"),m=require("yup"),g=require("styled-components"),f=require("./Locale-51509292.js"),b=require("lodash/throttle"),h=require("./index-306bbef1.js"),x=require("date-fns"),E=require("./index-b36d9066.js"),y=require("./Visible-eeceb5ba.js");function v(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function _(e){if(e&&e.__esModule)return e;var n=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}})),n.default=e,Object.freeze(n)}var w,P,O,C,k,L,S,T,j=v(n),I=_(m),M=v(g),q=v(b),B=M.default.div(w||(w=e.__makeTemplateObject([""],[""]))),N=M.default(h.Text)(P||(P=e.__makeTemplateObject(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),A=M.default.div(O||(O=e.__makeTemplateObject(["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"],["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]))),z=M.default(s.Container)(C||(C=e.__makeTemplateObject(["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"],["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"])),i.MediaQueries.mbDown),F=M.default.img(k||(k=e.__makeTemplateObject(["\n margin-bottom: 38px;\n"],["\n margin-bottom: 38px;\n"]))),R=function(t){var o,i=t.heading,s=t.description,d=t.children,c=t.className,p=t.imgSrc,m=e.__rest(t,["heading","description","children","className","imgSrc"]),g=n.useContext(ve),f=g.isMarryBaby,b=g.siteType;return j.default.createElement(z,e.__assign({},m,{className:"hhg-comp-onboarding-container ".concat(c),size:"sm"}),j.default.createElement(a.LogoIcon,{type:f?b:(null===(o=u.LOCALE_SPECS[process.env.UNIFY_LOCALE])||void 0===o?void 0:o.LOGO_TYPE)||"hellobacsi"}),j.default.createElement(A,null,p&&j.default.createElement(F,{src:p,loading:"lazy"}),j.default.createElement(B,{className:"header"},j.default.createElement(r.Heading,{tag:"h3"},i),j.default.createElement(N,{size:"p3",color:l.theme.colors.gray600},s)),d))},D=function(e){return I.object().shape({phone:I.string().required(e("onboarding.updatePhone.error")).default("")})},V=function(e){return I.object().shape({otp:I.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")})},H=function(e){return I.object().shape({email:I.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:I.string().required(e("onboarding.errorMessage.requiredName"))})},U=function(e){return I.object().shape({password:I.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:I.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([I.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")})},Q=M.default(R)(L||(L=e.__makeTemplateObject(["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"],["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"])),i.MediaQueries.mbDown),W=((S={})[f.LOCALE.Vietnam]="VN",S[f.LOCALE.Cambodia]="KH",S[f.LOCALE.Indonesia]="ID",S[f.LOCALE.Malaysia]="MY",S[f.LOCALE.PhilippinesEnglish]="PH",S[f.LOCALE.PhilippinesTagalog]="PH",S[f.LOCALE.Taiwan]="TW",S[f.LOCALE.Thailand]="TH",S[f.LOCALE.Myanmar]="MM",S),Y=function(n){var t=n.onClose,r=n.onSubmit,a=n.canSkip,i=void 0===a||a,l=n.customFormTexts,u=d.useTranslations().t,m=c.useForm({initialValues:{phone:""},validate:c.yupResolver(D(u))});return j.default.createElement(Q,{heading:(null==l?void 0:l.heading)||u("onboarding.updatePhone.heading"),description:(null==l?void 0:l.description)||u("onboarding.updatePhone.description")},j.default.createElement("form",{onSubmit:m.onSubmit((function(n){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){return r(n.phone),[2]}))}))}),(function(e){console.log(e)}))},j.default.createElement("div",{className:"phone-input"},j.default.createElement(p.Phone,e.__assign({defaultCountry:W[process.env.UNIFY_LOCALE]||"VN"},m.getInputProps("phone"))),j.default.createElement(s.Input.Error,null,m.errors.phone)),j.default.createElement(o.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},u("onboarding.button.continue")),i&&j.default.createElement(o.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:t,type:"button"},u("onboarding.button.skip"))))};(T={})[f.LOCALE.Vietnam]="VN",T[f.LOCALE.Cambodia]="KH",T[f.LOCALE.Indonesia]="ID",T[f.LOCALE.Malaysia]="MY",T[f.LOCALE.PhilippinesEnglish]="PH",T[f.LOCALE.PhilippinesTagalog]="PH",T[f.LOCALE.Taiwan]="TW",T[f.LOCALE.Thailand]="TH",T[f.LOCALE.Myanmar]="MM";var K,Z,G,J,X,$,ee,ne,te,re,oe,ae,ie=function(e){void 0===e&&(e="");var n=e.indexOf("@"),t=e.substring(0,n),r=t.length>3?3:t.length;return e.replace(e.substring(r,n),e.slice(r,n).replace(/./g,"x"))},le=M.default(R)(K||(K=e.__makeTemplateObject(["\n .otp-input {\n margin-bottom: 36px;\n "," {\n margin-bottom: 20px;\n }\n .otpContainer {\n margin-bottom: 16px;\n }\n }\n .resend {\n display: flex;\n gap: 6px;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n a {\n text-decoration: underline;\n cursor: pointer;\n }\n }\n .phone-description {\n margin-left: 2px;\n margin-top: 2px;\n }\n .otp-description-edit-icon {\n cursor: pointer;\n vertical-align: bottom;\n /* height: 100%; */\n margin-bottom: 3px;\n margin-left: 3px;\n }\n"],["\n .otp-input {\n margin-bottom: 36px;\n "," {\n margin-bottom: 20px;\n }\n .otpContainer {\n margin-bottom: 16px;\n }\n }\n .resend {\n display: flex;\n gap: 6px;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n a {\n text-decoration: underline;\n cursor: pointer;\n }\n }\n .phone-description {\n margin-left: 2px;\n margin-top: 2px;\n }\n .otp-description-edit-icon {\n cursor: pointer;\n vertical-align: bottom;\n /* height: 100%; */\n margin-bottom: 3px;\n margin-left: 3px;\n }\n"])),i.MediaQueries.mbDown,i.MediaQueries.mbDown),se=function(r){var a=r.onSubmit,i=r.phone,u=r.email,m=r.onResendCode,g=r.otpError,f=r.onClose,b=r.loading,x=r.onBack,E=r.canSkip,y=r.outOfEdit,v=n.useContext(ve),_=v.siteType,w=v.isMarryBaby,P=n.useState(30),O=P[0],C=P[1],k=t.useInterval((function(){return C((function(e){return e-1}))}),1e3),L=t.useCounter(0,{min:0,max:3}),S=L[0],T=L[1],I=n.useRef(!0),M=d.useTranslations().t;n.useEffect((function(){return k.start(),k.stop}),[]),n.useEffect((function(){0===O&&(k.stop(),I.current=!1)}),[O]);var B=c.useForm({initialValues:{otp:""},validate:c.yupResolver(V(M))});n.useEffect((function(){g&&B.setFieldError("otp",g)}),[g]);var N=n.useMemo((function(){return q.default((function(){I.current||(T.increment(),C(30),null==m||m(i||u),k.start(),I.current=!0)}),1e3,{trailing:!1})}),[i,u,m,k]);return j.default.createElement(le,{heading:M("onboarding.otpForm.heading"),description:j.default.createElement(j.default.Fragment,null,j.default.createElement("span",{dangerouslySetInnerHTML:{__html:i?M("onboarding.otpForm.description",{phone:'<b style="color:'.concat(l.theme.colors.gray800,'">').concat(i.slice(0,-3).replace(/./g,"x").concat(i.slice(-3)),"</b>")}):M("onboarding.otpForm.descriptionEmail",{email:'<b style="color:'.concat(l.theme.colors.gray800,'">').concat(ie(u),"</b>")})}}),!y&&j.default.createElement("svg",{onClick:function(){null==x||x()},width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"otp-description-edit-icon"},j.default.createElement("path",{d:"M12.7812 1.33337C12.2987 1.33337 11.8162 1.51712 11.4479 1.88546L10.6667 2.66671L13.3333 5.33337L14.1146 4.55212C14.8506 3.81612 14.8506 2.62212 14.1146 1.88546C13.7463 1.51712 13.2638 1.33337 12.7812 1.33337ZM9.66667 3.66671L2 11.3334V14H4.66667L12.3333 6.33337L9.66667 3.66671Z",fill:"#ADB3BC"})))},j.default.createElement("form",{onSubmit:B.onSubmit((function(n){return e.__awaiter(void 0,void 0,void 0,(function(){return e.__generator(this,(function(e){return T.increment(),a(n.otp),[2]}))}))}),(function(e){console.log(e)}))},j.default.createElement("div",{className:"otp-input"},j.default.createElement(p.OTP,e.__assign({enterKeyHint:void 0,nonce:void 0},B.getInputProps("otp"))),j.default.createElement(s.Input.Error,null,B.errors.otp)),j.default.createElement("div",{className:"resend"},j.default.createElement(h.Text,{size:"p4",color:l.theme.colors.gray400},M("onboarding.otpForm.notReceiveOTP")),j.default.createElement(h.Text,{as:"a",size:"p4",color:w?l.theme.mbColors.pink:l.theme.colors.primaryBase,onClick:N},M("onboarding.otpForm.resendCode",{seconds:O}))),j.default.createElement(o.Button,{theme:_,color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:b,disabled:b,"data-event-category":"Sign Up","data-event-action":"Confirm Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},M("onboarding.button.continue")),E&&S>=3&&j.default.createElement(o.Button,{theme:_,color:"ghost",isBlock:!0,size:"lg",onClick:f,type:"button"},M("onboarding.button.skip"))))},de=function(t){var r=t.onClose,a=t.onSubmit,i=t.canSkip,l=t.loading,u=t.errorMessage,m=t.initialData,g=d.useTranslations().t,f=n.useContext(ve).siteType,b=c.useForm({validate:c.yupResolver(H(g))});return n.useEffect((function(){b.setValues(e.__assign(e.__assign({gender:"0"},m),(null==m?void 0:m.birthday)&&{birthday:new Date(m.birthday)}))}),[m]),n.useEffect((function(){u&&b.setFieldError("email",u)}),[u]),j.default.createElement(R,{heading:g("onboarding.formEmail.heading"),description:g("onboarding.formEmail.description")},j.default.createElement("form",{className:"form",onSubmit:b.onSubmit((function(n){a(e.__assign(e.__assign({},n),{birthday:n.birthday&&x.format(n.birthday,"yyyy-MM-dd")}))}),(function(e){console.log({fieldErrors:e})}))},j.default.createElement(s.Input.Wrapper,{label:g("onboarding.formEmail.yourName"),className:"input-control",withAsterisk:!0},j.default.createElement(s.Input,e.__assign({},b.getInputProps("name"))),j.default.createElement(s.Input.Error,{className:"field-error"},b.errors.name)),j.default.createElement(s.Input.Wrapper,{label:g("onboarding.formEmail.yourEmail"),className:"input-control",withAsterisk:!0},j.default.createElement(s.Input,e.__assign({},b.getInputProps("email"))),j.default.createElement(s.Input.Error,{className:"field-error"},b.errors.email)),j.default.createElement(p.DatePicker,e.__assign({className:"input-control",label:g("onboarding.formEmail.yourBirthday")},b.getInputProps("birthday"))),j.default.createElement(p.Radio.Group,{value:b.values.gender,onChange:function(e){return b.setFieldValue("gender",e)},className:"radio-group"},j.default.createElement(p.Radio,{value:"0",label:g("onboarding.formEmail.genderMale")}),j.default.createElement(p.Radio,{value:"1",label:g("onboarding.formEmail.genderFemale")})),j.default.createElement(o.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit",theme:f,isLoading:l,disabled:l},g("onboarding.button.continue")),i&&j.default.createElement(o.Button,{theme:f,color:"ghost",isBlock:!0,size:"lg",onClick:r},g("onboarding.button.skip"))))},ue=function(n){var t=n.onClose,r=n.onSubmit,a=n.canSkip,i=n.errorMessage,l=n.loading,u=d.useTranslations().t,p=c.useForm({initialValues:{password:"",confirmPassword:""},validate:c.yupResolver(U(u))});return j.default.createElement(R,{heading:u("onboarding.updatePassword.heading"),description:u("onboarding.updatePassword.description")},j.default.createElement("form",{className:"form",onSubmit:p.onSubmit((function(e){return r((null==e?void 0:e.password)||"")}),(function(e){console.log({fieldErrors:e})}))},j.default.createElement(E.PasswordInput,e.__assign({label:u("onboarding.updatePassword.password"),withAsterisk:!0,rightSection:j.default.createElement(y.Visible,null)},p.getInputProps("password"))),j.default.createElement(E.PasswordInput,e.__assign({label:u("onboarding.updatePassword.confirmPassword"),withAsterisk:!0,rightSection:j.default.createElement(y.Visible,null)},p.getInputProps("confirmPassword"))),j.default.createElement(o.Button,{color:"primary",isBlock:!0,size:"lg",type:"submit",isLoading:l,disabled:l},u("onboarding.button.continue")),a&&j.default.createElement(o.Button,{color:"ghost",isBlock:!0,size:"lg",onClick:t},u("onboarding.button.skip")),i&&j.default.createElement(s.Input.Error,{className:"form-error"},i)))},ce=M.default.div(Z||(Z=e.__makeTemplateObject(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n background: white;\n overflow-y: auto;\n"],["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n background: white;\n overflow-y: auto;\n"]))),pe=M.default.div(G||(G=e.__makeTemplateObject(["\n height: 100%;\n "," {\n display: table;\n width: 100%;\n height: calc(100% - 25px);\n }\n"],["\n height: 100%;\n "," {\n display: table;\n width: 100%;\n height: calc(100% - 25px);\n }\n"])),i.MediaQueries.lgPcUp),me=M.default.div(J||(J=e.__makeTemplateObject(["\n padding: 48px 24px 24px;\n\n "," {\n display: table-cell;\n\n &[data-has-banner='true'] {\n width: calc(100% - 640px);\n }\n }\n"],["\n padding: 48px 24px 24px;\n\n "," {\n display: table-cell;\n\n &[data-has-banner='true'] {\n width: calc(100% - 640px);\n }\n }\n"])),i.MediaQueries.lgPcUp),ge=M.default.div(X||(X=e.__makeTemplateObject(["\n width: 640px;\n padding: 16px 16px 0 16px;\n display: none;\n\n "," {\n width: 640px;\n display: table-cell;\n }\n"],["\n width: 640px;\n padding: 16px 16px 0 16px;\n display: none;\n\n "," {\n width: 640px;\n display: table-cell;\n }\n"])),i.MediaQueries.lgPcUp),fe=M.default.div($||($=e.__makeTemplateObject(["\n background-color: ",";\n border-radius: 12px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n &[data-is-marry-baby='true'] {\n background-color: ",";\n }\n"],["\n background-color: ",";\n border-radius: 12px;\n height: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n &[data-is-marry-baby='true'] {\n background-color: ",";\n }\n"])),l.theme.colors.blue50,l.theme.mbColors.tonePink),be=M.default.div(ee||(ee=e.__makeTemplateObject(["\n margin-top: 40px;\n padding: 24px 40px;\n"],["\n margin-top: 40px;\n padding: 24px 40px;\n"]))),he=M.default(r.Heading)(ne||(ne=e.__makeTemplateObject(["\n margin-bottom: 24px;\n text-align: center;\n"],["\n margin-bottom: 24px;\n text-align: center;\n"]))),xe=M.default(h.Text)(te||(te=e.__makeTemplateObject([""],[""]))),Ee=M.default.img(re||(re=e.__makeTemplateObject(["\n width: 100%;\n display: block;\n"],["\n width: 100%;\n display: block;\n"]))),ye=M.default.div(oe||(oe=e.__makeTemplateObject([""],[""])));exports.OnboardingStep=void 0,(ae=exports.OnboardingStep||(exports.OnboardingStep={}))[ae.Phone=0]="Phone",ae[ae.OTP=1]="OTP",ae[ae.OTPEmail=2]="OTPEmail",ae[ae.PersonalInfo=3]="PersonalInfo",ae[ae.UpdatePassword=4]="UpdatePassword",ae[ae.Result=5]="Result";var ve=n.createContext({});exports.MAPPED_LOCALE=W,exports.OnboardingForm=Y,exports.OnboardingModal=function(r){var a=r.onClose,i=r.canSkip,s=r.flow,u=void 0===s?[exports.OnboardingStep.Phone,exports.OnboardingStep.OTP]:s,c=r.step,p=r.onPhoneSubmit,m=r.onOtpSubmit,g=r.onPersonalInfoSubmit,f=r.onCreatePassByEmail,b=r.onResendCode,h=r.otpError,x=r.personalInfoError,E=r.createPassError,y=r.emailLoading,v=r.createPassLoading,_=r.otpLoading,w=r.customFormTexts,P=r.initialData,O=r.banner,C=r.resultScreenProps,k=r.siteType,L=e.__rest(r,["onClose","canSkip","flow","step","onPhoneSubmit","onOtpSubmit","onPersonalInfoSubmit","onCreatePassByEmail","onResendCode","otpError","personalInfoError","createPassError","emailLoading","createPassLoading","otpLoading","customFormTexts","initialData","banner","resultScreenProps","siteType"]),S=d.useTranslations().t,T=n.useState(c||u[0]),I=T[0],M=T[1],q=n.useState(""),B=q[0],N=q[1],A=n.useState(""),z=A[0],F=A[1],D=t.useCounter(0,{min:0,max:2}),V=D[0],H=D[1],U=n.useCallback((function(){var e=u.indexOf(I)+1;e<=u.length-1&&M(u[e])}),[I]),Q=n.useCallback((function(){var e=u.indexOf(I)-1;e>=0&&M(u[e])}),[I]),W=function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,m(n)];case 1:return!e.sent()&&U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},K=function(){V>=2||(H.increment(),Q())},Z="marryBaby"===k;return console.log({isMarryBaby:Z}),j.default.createElement(ve.Provider,{value:{siteType:k,isMarryBaby:Z}},j.default.createElement(ce,e.__assign({},L),u.length>0?j.default.createElement(pe,null,j.default.createElement(me,{"data-has-banner":"object"==typeof O},I===exports.OnboardingStep.Phone&&j.default.createElement(Y,{onClose:a,canSkip:i,onSubmit:function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),N(n),[4,null==p?void 0:p(n)];case 1:return e.sent(),U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},customFormTexts:w.onboarding}),I===exports.OnboardingStep.OTP&&j.default.createElement(se,{onClose:a,onSubmit:W,phone:B,onResendCode:b,otpError:h,loading:_,canSkip:i,onBack:K,outOfEdit:V>=2}),I===exports.OnboardingStep.OTPEmail&&j.default.createElement(se,{onClose:a,onSubmit:W,onResendCode:b,otpError:h,loading:_,canSkip:i,onBack:K,outOfEdit:V>=2,email:z}),I===exports.OnboardingStep.PersonalInfo&&j.default.createElement(de,{initialData:null==P?void 0:P[exports.OnboardingStep.PersonalInfo],onClose:a,canSkip:i,onSubmit:function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),F((null==n?void 0:n.email)||""),[4,null==g?void 0:g(n)];case 1:return!e.sent()&&U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},errorMessage:x,loading:y}),I===exports.OnboardingStep.UpdatePassword&&j.default.createElement(ue,{onClose:a,canSkip:i,onSubmit:function(n){return e.__awaiter(void 0,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,null==f?void 0:f(n)];case 1:return e.sent(),!E&&U(),[3,3];case 2:return t=e.sent(),console.error(t),[3,3];case 3:return[2]}}))}))},errorMessage:E,loading:v}),I===exports.OnboardingStep.Result&&j.default.createElement(R,e.__assign({},C),j.default.createElement(o.Button,{theme:k,size:"lg",onClick:a,className:"form-button"},S("onboarding.button.continue")))),"object"==typeof O&&j.default.createElement(ge,null,j.default.createElement(fe,{"data-is-marry-baby":Z},j.default.createElement(be,null,(null==O?void 0:O.heading)&&j.default.createElement(he,{tag:"h1"},null==O?void 0:O.heading),(null==O?void 0:O.description)&&j.default.createElement(xe,{size:"p1",color:l.theme.colors.gray800},S("onboarding.welcomeScreen.content"))),(null==O?void 0:O.imgSrc)&&j.default.createElement(ye,null,j.default.createElement(Ee,{src:null==O?void 0:O.imgSrc,loading:"lazy"}))))):"Incorrect flow"))},exports.OtpForm=se;
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-290fd150.js"),t=require("react"),n=require("@mantine/core"),r=require("@mantine/hooks"),o=require("./gAssets.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var i=n.createEmotionCache({key:"mantine",prepend:!1}),l=function(o){var a=o.value,u=o.onChange,i=e.__rest(o,["value","onChange"]),l=t.useState(a),c=l[0],f=l[1],d=r.useDebouncedValue(c,300)[0];return t.useEffect((function(){null==u||u(d)}),[d]),t.useEffect((function(){f(a)}),[a]),s.default.createElement(n.NumberInput,e.__assign({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:f,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?e:e||""},removeTrailingZeros:!0,value:c},i))},c=o.CommonGAssets.getAssetPath("EyeVisible.svg"),f=o.CommonGAssets.getAssetPath("EyeHidden.svg"),d=t.forwardRef((function(t,r){var o=t.size,a=void 0===o?"md":o,u=t.visibilityToggleIcon,i=e.__rest(t,["size","visibilityToggleIcon"]),l=u||function(e){var t=e.reveal,n=e.size;return t?s.default.createElement("img",{src:c,width:n}):s.default.createElement("img",{src:f,width:n})};return s.default.createElement(n.PasswordInput,e.__assign({ref:r,size:a,visibilityToggleIcon:l},i,{className:"input-control ".concat((null==i?void 0:i.className)||"")}))})),m=t.forwardRef((function(o,a){var u=o.value,i=o.onChange,l=o.onChangeRaw,c=e.__rest(o,["value","onChange","onChangeRaw"]),f=t.useState(u||""),d=f[0],m=f[1],p=r.useDebouncedValue(d,300)[0];return t.useEffect((function(){null==i||i(p)}),[p]),t.useEffect((function(){m(u)}),[u]),s.default.createElement(n.TextInput,e.__assign({ref:a,size:"md",onChange:function(e){null==l||l(e),m(e.currentTarget.value)},value:d},c,{className:"input-control ".concat((null==c?void 0:c.className)||"")}))}));m.File=function(t){return s.default.createElement(n.FileInput,e.__assign({size:"md"},t))},m.Password=d,m.Number=l,m.Wrapper=n.Input.Wrapper,exports.DEBOUNCED_TIME=300,exports.Input=m,exports.NumberInput=l,exports.PasswordInput=d,exports.commonjsGlobal=u,exports.createCommonjsModule=function(e){var t={exports:{}};return e(t,t.exports),t.exports},exports.emotionCache=i;
1
+ "use strict";var e=require("./tslib.es6-7409fcb1.js"),t=require("react"),n=require("@mantine/core"),r=require("@mantine/hooks"),o=require("./gAssets.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var i=n.createEmotionCache({key:"mantine",prepend:!1}),l=function(o){var a=o.value,u=o.onChange,i=e.__rest(o,["value","onChange"]),l=t.useState(a),c=l[0],f=l[1],d=r.useDebouncedValue(c,300)[0];return t.useEffect((function(){null==u||u(d)}),[d]),t.useEffect((function(){f(a)}),[a]),s.default.createElement(n.NumberInput,e.__assign({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:f,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?e:e||""},removeTrailingZeros:!0,value:c},i))},c=o.CommonGAssets.getAssetPath("EyeVisible.svg"),f=o.CommonGAssets.getAssetPath("EyeHidden.svg"),d=t.forwardRef((function(t,r){var o=t.size,a=void 0===o?"md":o,u=t.visibilityToggleIcon,i=e.__rest(t,["size","visibilityToggleIcon"]),l=u||function(e){var t=e.reveal,n=e.size;return t?s.default.createElement("img",{src:c,width:n}):s.default.createElement("img",{src:f,width:n})};return s.default.createElement(n.PasswordInput,e.__assign({ref:r,size:a,visibilityToggleIcon:l},i,{className:"input-control ".concat((null==i?void 0:i.className)||"")}))})),m=t.forwardRef((function(o,a){var u=o.value,i=o.onChange,l=o.onChangeRaw,c=e.__rest(o,["value","onChange","onChangeRaw"]),f=t.useState(u||""),d=f[0],m=f[1],p=r.useDebouncedValue(d,300)[0];return t.useEffect((function(){null==i||i(p)}),[p]),t.useEffect((function(){m(u)}),[u]),s.default.createElement(n.TextInput,e.__assign({ref:a,size:"md",onChange:function(e){null==l||l(e),m(e.currentTarget.value)},value:d},c,{className:"input-control ".concat((null==c?void 0:c.className)||"")}))}));m.File=function(t){return s.default.createElement(n.FileInput,e.__assign({size:"md"},t))},m.Password=d,m.Number=l,m.Wrapper=n.Input.Wrapper,exports.DEBOUNCED_TIME=300,exports.Input=m,exports.NumberInput=l,exports.PasswordInput=d,exports.commonjsGlobal=u,exports.createCommonjsModule=function(e){var t={exports:{}};return e(t,t.exports),t.exports},exports.emotionCache=i;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-7409fcb1.js"),t=require("react"),r=require("@mantine/core"),n=require("./gAssets.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=s(t),a=function(t){return o.default.createElement(r.Checkbox,e.__assign({},t))};a.Group=r.Checkbox.Group,exports.Checkbox=a,exports.Select=function(t){var s=t.keepSearch,a=void 0!==s&&s,c=e.__rest(t,["keepSearch"]);return a?o.default.createElement(r.Autocomplete,e.__assign({rightSection:o.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},c)):o.default.createElement(r.Select,e.__assign({rightSection:o.default.createElement(r.Image,{src:n.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},c))};
@@ -1 +1 @@
1
- "use strict";var e=require("./tslib.es6-290fd150.js"),n=require("react"),r=require("@mantine/carousel"),t=require("@mantine/hooks");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=l(n),u=r.Carousel.Slide,o=n.createContext({}),c=function(e,n){return e>=n?e-n:e},a=function(l){var u=l.children,a=l.blurFromCenter,d=l.blurFromIndex,s=l.blurLength,f=void 0===s?3:s,v=l.maxBlurOpacity,h=void 0===v?.5:v,p=l.onSlideChange,x=l.selectSlideWhenClick,S=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),g=t.useResizeObserver(),m=g[0],C=g[1],b=n.useRef(null),y=n.useState(0),k=y[0],E=y[1],_=function(){var e,n,r,t=null===(e=null==b?void 0:b.current)||void 0===e?void 0:e.selectedScrollSnap();E(t);var l=(null===(n=null==b?void 0:b.current)||void 0===n?void 0:n.slideNodes())||[],i=l.length,u=(null===(r=null==b?void 0:b.current)||void 0===r?void 0:r.slidesInView()).length,o=Math.floor(u/2),s=a?d+f-1:o,v=t+s,p=v===i?0:v>i?v-i:v,x=t-s,S=x<0?i+x:x>0?t-s:0,g=Array(2*s+1).fill("").map((function(e,n){return c(S+n,i)}));l.map((function(e,n){if(n===t?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==g.indexOf(n))for(var r=h/f,l=0;l<f;l++){if(n===c(S+l,i)||n===(o=i,(u=p-l)<0?o+u:u)){e.style.opacity=String((l+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var u,o}))},w={getEmblaApi:function(e){b.current=e},onSlideChange:function(e){_(),null==p||p(e)}};return n.useEffect((function(){(null==b?void 0:b.current)&&_()}),[C]),i.default.createElement(o.Provider,{value:{slider:null==b?void 0:b.current,centerSlide:k,selectSlideWhenClick:x}},i.default.createElement(r.Carousel,e.__assign({ref:m,slideSize:"auto",containScroll:"trimSnaps"},w,S,{loop:!0}),"function"==typeof u?u(k):u))};a.Slide=function(r){var t=r.children,l=r.onClick,c=e.__rest(r,["children","onClick"]),a=n.useContext(o),d=a.slider,s=a.selectSlideWhenClick,f=n.useRef(),v=n.useRef(""),h=n.useState(0),p=h[0],x=h[1];n.useEffect((function(){v.current=String(Math.round(1e4*Math.random()))}),[]),n.useEffect((function(){var e=(null==d?void 0:d.slideNodes())||[];x(e.findIndex((function(e){return e.dataset.key===v.current})))}),[d]);var S={ref:f,"data-key":v.current,"data-index":p,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return i.default.createElement(u,e.__assign({},S,c),i.default.createElement("div",{onClick:function(){s&&(null==d||d.scrollTo(p)),null==l||l(p)}},t))},exports.CentralCarousel=a;
1
+ "use strict";var e=require("./tslib.es6-7409fcb1.js"),n=require("react"),r=require("@mantine/carousel"),t=require("@mantine/hooks");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=l(n),u=r.Carousel.Slide,o=n.createContext({}),c=function(e,n){return e>=n?e-n:e},a=function(l){var u=l.children,a=l.blurFromCenter,d=l.blurFromIndex,s=l.blurLength,f=void 0===s?3:s,v=l.maxBlurOpacity,h=void 0===v?.5:v,p=l.onSlideChange,x=l.selectSlideWhenClick,S=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),g=t.useResizeObserver(),b=g[0],m=g[1],C=n.useRef(null),y=n.useState(0),k=y[0],E=y[1],_=function(){var e,n,r,t=null===(e=null==C?void 0:C.current)||void 0===e?void 0:e.selectedScrollSnap();E(t);var l=(null===(n=null==C?void 0:C.current)||void 0===n?void 0:n.slideNodes())||[],i=l.length,u=(null===(r=null==C?void 0:C.current)||void 0===r?void 0:r.slidesInView()).length,o=Math.floor(u/2),s=a?d+f-1:o,v=t+s,p=v===i?0:v>i?v-i:v,x=t-s,S=x<0?i+x:x>0?t-s:0,g=Array(2*s+1).fill("").map((function(e,n){return c(S+n,i)}));l.map((function(e,n){if(n===t?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==g.indexOf(n))for(var r=h/f,l=0;l<f;l++){if(n===c(S+l,i)||n===(o=i,(u=p-l)<0?o+u:u)){e.style.opacity=String((l+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var u,o}))},w={getEmblaApi:function(e){C.current=e},onSlideChange:function(e){_(),null==p||p(e)}};return n.useEffect((function(){(null==C?void 0:C.current)&&_()}),[m]),i.default.createElement(o.Provider,{value:{slider:null==C?void 0:C.current,centerSlide:k,selectSlideWhenClick:x}},i.default.createElement(r.Carousel,e.__assign({ref:b,slideSize:"auto",containScroll:"trimSnaps"},w,S,{loop:!0}),"function"==typeof u?u(k):u))};a.Slide=function(r){var t=r.children,l=r.onClick,c=e.__rest(r,["children","onClick"]),a=n.useContext(o),d=a.slider,s=a.selectSlideWhenClick,f=n.useRef(),v=n.useRef(""),h=n.useState(0),p=h[0],x=h[1];n.useEffect((function(){v.current=String(Math.round(1e4*Math.random()))}),[]),n.useEffect((function(){var e=(null==d?void 0:d.slideNodes())||[];x(e.findIndex((function(e){return e.dataset.key===v.current})))}),[d]);var S={ref:f,"data-key":v.current,"data-index":p,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return i.default.createElement(u,e.__assign({},S,c),i.default.createElement("div",{onClick:function(){s&&(null==d||d.scrollTo(p)),null==l||l(p)}},t))},exports.CentralCarousel=a;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("./tslib.es6-7409fcb1.js"),n=require("react"),r=require("./gAssets.js"),t=require("./theme-3c8770d4.js"),i=require("./index-306bbef1.js"),l=require("styled-components"),o=require("./Locale-51509292.js"),a=require("./index-b91c53a3.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s,d,u,p,m,x=c(n),b=c(l),g=b.default.div(s||(s=e.__makeTemplateObject(["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"],["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.backgroundColor||t.theme.colors.white}),(function(e){return e.borderRadius||"50%"}),(function(e){return e.iconSize}),(function(e){return e.iconSize})),f=b.default.div(d||(d=e.__makeTemplateObject(["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"],["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.pink100})),h=[o.LOCALE.Myanmar,o.LOCALE.Taiwan],k=b.default((function(l){var o=l.icon,a=l.name,c=l.className,s=l.locale,d=void 0===s?"en-PH":s,u=l.onSelect,p=e.__rest(l,["icon","name","className","locale","onSelect"]),m=n.useMemo((function(){return null==c?void 0:c.includes("selected-week-pill")}),[c]);return x.default.createElement(f,e.__assign({onClick:u,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child"},p),x.default.createElement(g,{size:64,iconSize:40,backgroundColor:t.theme.colors.white},x.default.createElement("img",{src:o||r.CommonGAssets.getAssetPath("week_default.png"),alt:""})),m?x.default.createElement(i.Text,e.__assign({type:"semiBold",size:"n1",color:t.theme.colors.gray800},h.includes(d)&&{style:{fontSize:"10px"}}),a):x.default.createElement(i.Text,e.__assign({size:"n1",color:t.theme.colors.gray600},h.includes(d)&&{style:{fontSize:"10px"}}),a))}))(u||(u=e.__makeTemplateObject(["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"],["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"]))),_=b.default(a.CentralCarousel.Slide)(p||(p=e.__makeTemplateObject([""],[""]))),w=b.default(a.CentralCarousel)(m||(m=e.__makeTemplateObject(["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"],["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"])));exports.PillCarousel=function(n){var r=n.data,t=n.isMobile,i=n.onSlideChange,l=n.pillProps,a=n.locale,c=void 0===a?o.LOCALE.Vietnam:a,s=n.blurFromIndex,d=n.blurLength,u=e.__rest(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),p={withControls:!t,slideGap:16,blurFromCenter:!0,blurFromIndex:s||(t?2:4),blurLength:d||(t?1:3),onSlideChange:i};return x.default.createElement(w,e.__assign({},p,u),(function(n){return r.map((function(r,t){return x.default.createElement(_,e.__assign({key:t,onClick:i},l),x.default.createElement("div",{className:"centerred-pill-wrapper"},x.default.createElement(k,{locale:c,name:r.name,icon:r.icon,className:t===n?"selected-week-pill":""})))}))}))};