@hhgtech/hhg-components 1.28.65 → 1.28.66

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 (464) hide show
  1. package/build/adapters.js +1 -1
  2. package/build/babyGrowth.js +24 -24
  3. package/build/cache.js +1 -1
  4. package/build/care.js +1 -1
  5. package/build/components/atoms/icons/index.d.ts +0 -58
  6. package/build/components.js +1 -1
  7. package/build/{constants-2a4ad19a.js → constants-73159c2a.js} +1 -1
  8. package/build/{constants-2af7a634.js → constants-adcdb14b.js} +1 -1
  9. package/build/constants.js +1 -1
  10. package/build/core-0c94646a.js +1 -0
  11. package/build/{dataTransform-2ab3c90d.js → dataTransform-520b281d.js} +1 -1
  12. package/build/ecom.js +1 -1
  13. package/build/esm/adapters.js +1 -1
  14. package/build/esm/babyGrowth.js +24 -24
  15. package/build/esm/cache.js +1 -1
  16. package/build/esm/care.js +1 -1
  17. package/build/esm/components/atoms/icons/index.d.ts +0 -58
  18. package/build/esm/components.js +1 -1
  19. package/build/esm/{constants-36c1648d.js → constants-c485e78c.js} +1 -1
  20. package/build/esm/{constants-ed8abdff.js → constants-f7550085.js} +1 -1
  21. package/build/esm/constants.js +1 -1
  22. package/build/esm/{core-cdfc811a.js → core-fa9dcda7.js} +1 -1
  23. package/build/esm/{dataTransform-10fecdbe.js → dataTransform-4a370c34.js} +1 -1
  24. package/build/esm/ecom.js +1 -1
  25. package/build/esm/footer.js +1 -1
  26. package/build/esm/gAssets.js +1 -1
  27. package/build/esm/{getDynamicHealthTool-94a90aa0.js → getDynamicHealthTool-d719a5ff.js} +1 -1
  28. package/build/esm/{getSocialList-558fc075.js → getSocialList-2b7314ba.js} +1 -1
  29. package/build/esm/hooks.js +1 -1
  30. package/build/esm/i18n.js +1 -1
  31. package/build/esm/i18nV2.js +1 -1
  32. package/build/esm/index-0623901b.js +1 -0
  33. package/build/esm/{index-18ff3f75.js → index-270da577.js} +1 -1
  34. package/build/esm/{index-05214244.js → index-2e127fc2.js} +1 -1
  35. package/build/esm/{index-16d9b234.js → index-471c74a1.js} +1 -1
  36. package/build/esm/index-49e26211.js +1 -0
  37. package/build/esm/{index-01efa9be.js → index-4bffd1b5.js} +1 -1
  38. package/build/esm/{index-c6fcc250.js → index-4e3c22fe.js} +1 -1
  39. package/build/esm/{index-f03e0f09.js → index-54804d8b.js} +2 -2
  40. package/build/esm/index-54daafa4.js +1 -0
  41. package/build/esm/index-5f03fe2e.js +1 -0
  42. package/build/esm/{index-661f66bf.js → index-607bb5ca.js} +4 -4
  43. package/build/esm/index-621aa030.js +1 -0
  44. package/build/esm/index-683d3b18.js +1 -0
  45. package/build/esm/index-6b3801b8.js +1 -0
  46. package/build/esm/index-72fa8ae2.js +1 -0
  47. package/build/esm/{index-89127303.js → index-79eb2a8e.js} +1 -1
  48. package/build/esm/{index-5ef00905.js → index-8248c054.js} +133 -133
  49. package/build/esm/index-9a54e690.js +177 -0
  50. package/build/esm/{index-5f52d2b1.js → index-a9e5948f.js} +1 -1
  51. package/build/esm/{index-557e3a42.js → index-ae226d85.js} +1 -1
  52. package/build/esm/{index-8c1e2ce6.js → index-bfbcb02a.js} +15 -15
  53. package/build/esm/index-c115846d.js +1 -0
  54. package/build/esm/{index-7e4d8533.js → index-c4d4d720.js} +1 -1
  55. package/build/esm/{index-c2e4449d.js → index-d43e9c3f.js} +1 -1
  56. package/build/esm/{index-0d9821e3.js → index-d8d0e766.js} +2 -2
  57. package/build/esm/index.js +1 -1
  58. package/build/esm/{index.styled-c2100f19.js → index.styled-1ab6b28c.js} +3 -3
  59. package/build/esm/{index.styles-d3334c25.js → index.styles-45b79ae0.js} +1 -1
  60. package/build/esm/lead.js +1 -1
  61. package/build/esm/mantine.js +1 -1
  62. package/build/esm/misc.js +1 -1
  63. package/build/esm/navigation.js +1 -1
  64. package/build/esm/onboardingV2.js +9 -9
  65. package/build/esm/pwg.js +5 -5
  66. package/build/esm/{routing-a6c8f9f9.js → routing-d44c0bee.js} +1 -1
  67. package/build/esm/subot.js +4 -4
  68. package/build/esm/together.js +1 -1
  69. package/build/esm/{types-202e947a.js → types-79663a70.js} +34 -34
  70. package/build/esm/types-f4d45c9a.js +3004 -0
  71. package/build/esm/types.js +1 -1
  72. package/build/esm/{useCategory-3045fde3.js → useCategory-c1d9450b.js} +1 -1
  73. package/build/esm/useHealthToolCache-6f6bc4f6.js +1 -0
  74. package/build/esm/usePlacesAutocomplete-c8e14185.js +1 -0
  75. package/build/esm/useTranslations-f52266ac.js +1 -0
  76. package/build/esm/utils-5b231140.js +8 -0
  77. package/build/esm/{utils-508d45bb.js → utils-910a1880.js} +1 -1
  78. package/build/esm/{utils-c6a7729e.js → utils-ea81fe2e.js} +1 -1
  79. package/build/esm/vaccination.js +7 -7
  80. package/build/footer.js +1 -1
  81. package/build/gAssets.js +1 -1
  82. package/build/getDynamicHealthTool-28030b7d.js +1 -0
  83. package/build/{getSocialList-50dc70b7.js → getSocialList-f6615600.js} +1 -1
  84. package/build/hooks.js +1 -1
  85. package/build/i18n.js +1 -1
  86. package/build/i18nV2.js +1 -1
  87. package/build/{index-76d08581.js → index-03923bf8.js} +1 -1
  88. package/build/{index-6bff2cc3.js → index-07500814.js} +1 -1
  89. package/build/index-089494c6.js +1 -0
  90. package/build/index-271878ae.js +1 -0
  91. package/build/index-2f6a2013.js +1 -0
  92. package/build/index-35481c2b.js +113 -0
  93. package/build/index-414cb0d4.js +1 -0
  94. package/build/index-50eaf6d5.js +1 -0
  95. package/build/index-6afedf85.js +177 -0
  96. package/build/{index-9770314e.js → index-9d328bb2.js} +1 -1
  97. package/build/{index-856f5069.js → index-a0798d6d.js} +1 -1
  98. package/build/index-a24ff91a.js +2748 -0
  99. package/build/index-c270a6cf.js +1 -0
  100. package/build/{index-0553b781.js → index-c38aea5c.js} +1 -1
  101. package/build/{index-e1263b2f.js → index-c7719f32.js} +2 -2
  102. package/build/{index-1305e723.js → index-cc402a20.js} +2 -2
  103. package/build/{index-a35a2780.js → index-cf3c064b.js} +1 -1
  104. package/build/index-d7e76136.js +1 -0
  105. package/build/{index-166c60e5.js → index-d95cd8b6.js} +1 -1
  106. package/build/index-db16e483.js +1 -0
  107. package/build/{index-7ad5f191.js → index-e4cac56c.js} +1 -1
  108. package/build/{index-d5e1c0b8.js → index-e6924b72.js} +1 -1
  109. package/build/index-eb7e5151.js +1 -0
  110. package/build/{index-499c23d5.js → index-ee0c20cd.js} +1 -1
  111. package/build/{index-7b33ac50.js → index-f9fa9cfa.js} +1 -1
  112. package/build/index.js +1 -1
  113. package/build/{index.styled-b45c0dd2.js → index.styled-380fc362.js} +1 -1
  114. package/build/{index.styles-ce777fa6.js → index.styles-4370ce45.js} +4 -4
  115. package/build/lead.js +1 -1
  116. package/build/mantine.js +1 -1
  117. package/build/misc.js +1 -1
  118. package/build/navigation.js +1 -1
  119. package/build/onboardingV2.js +5 -5
  120. package/build/pwg.js +4 -4
  121. package/build/{routing-d3de5002.js → routing-007ff8fd.js} +1 -1
  122. package/build/subot.js +4 -4
  123. package/build/together.js +1 -1
  124. package/build/{types-61b2a9ef.js → types-a6ca3219.js} +2 -2
  125. package/build/{types-d8cdfbc7.js → types-c3cf972c.js} +202 -202
  126. package/build/types.js +1 -1
  127. package/build/{useCategory-7bd8370b.js → useCategory-12ae6179.js} +1 -1
  128. package/build/{useHealthToolCache-79d56870.js → useHealthToolCache-ad01ebff.js} +1 -1
  129. package/build/{usePlacesAutocomplete-c4bd074d.js → usePlacesAutocomplete-946a0693.js} +1 -1
  130. package/build/{useTranslations-e2b22984.js → useTranslations-4e03f99b.js} +1 -1
  131. package/build/utils-bc080a5d.js +8 -0
  132. package/build/utils-df5d9a04.js +1 -0
  133. package/build/{utils-c3b0bf92.js → utils-fdd87a4a.js} +2 -2
  134. package/build/vaccination.js +5 -5
  135. package/package.json +4 -2
  136. package/build/Plus-1389822c.js +0 -1
  137. package/build/WhatsApp-b1f3496a.js +0 -1
  138. package/build/components/atoms/icons/ACharacter.d.ts +0 -4
  139. package/build/components/atoms/icons/Activities.d.ts +0 -4
  140. package/build/components/atoms/icons/ArrowDown.d.ts +0 -4
  141. package/build/components/atoms/icons/ArrowLeft.d.ts +0 -4
  142. package/build/components/atoms/icons/ArrowRight.d.ts +0 -4
  143. package/build/components/atoms/icons/Article.d.ts +0 -4
  144. package/build/components/atoms/icons/Ask.d.ts +0 -4
  145. package/build/components/atoms/icons/BabyBoyMB.d.ts +0 -4
  146. package/build/components/atoms/icons/BabyGirlMB.d.ts +0 -4
  147. package/build/components/atoms/icons/BarChart.d.ts +0 -4
  148. package/build/components/atoms/icons/Booking.d.ts +0 -4
  149. package/build/components/atoms/icons/Bookmark.d.ts +0 -4
  150. package/build/components/atoms/icons/Boy.d.ts +0 -4
  151. package/build/components/atoms/icons/Business.d.ts +0 -4
  152. package/build/components/atoms/icons/Calendar.d.ts +0 -4
  153. package/build/components/atoms/icons/CalendarMB.d.ts +0 -4
  154. package/build/components/atoms/icons/CameraCircle.d.ts +0 -4
  155. package/build/components/atoms/icons/Chat.d.ts +0 -4
  156. package/build/components/atoms/icons/Check.d.ts +0 -4
  157. package/build/components/atoms/icons/CheckActiveMB.d.ts +0 -4
  158. package/build/components/atoms/icons/CircleBorder.d.ts +0 -4
  159. package/build/components/atoms/icons/Clickable.d.ts +0 -4
  160. package/build/components/atoms/icons/ClinicPin.d.ts +0 -4
  161. package/build/components/atoms/icons/Close.d.ts +0 -4
  162. package/build/components/atoms/icons/Comment.d.ts +0 -4
  163. package/build/components/atoms/icons/Community.d.ts +0 -4
  164. package/build/components/atoms/icons/CrossLogo.d.ts +0 -4
  165. package/build/components/atoms/icons/Current.d.ts +0 -4
  166. package/build/components/atoms/icons/EditSpecial.d.ts +0 -4
  167. package/build/components/atoms/icons/Endorse.d.ts +0 -4
  168. package/build/components/atoms/icons/Envelop.d.ts +0 -4
  169. package/build/components/atoms/icons/Family.d.ts +0 -4
  170. package/build/components/atoms/icons/Font.d.ts +0 -4
  171. package/build/components/atoms/icons/FullScreen.d.ts +0 -4
  172. package/build/components/atoms/icons/GenderBoy.d.ts +0 -4
  173. package/build/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
  174. package/build/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
  175. package/build/components/atoms/icons/GenderGirl.d.ts +0 -4
  176. package/build/components/atoms/icons/Girl.d.ts +0 -4
  177. package/build/components/atoms/icons/GroupPeople.d.ts +0 -4
  178. package/build/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
  179. package/build/components/atoms/icons/Heart.d.ts +0 -4
  180. package/build/components/atoms/icons/Home.d.ts +0 -4
  181. package/build/components/atoms/icons/Hospital.d.ts +0 -4
  182. package/build/components/atoms/icons/Info.d.ts +0 -4
  183. package/build/components/atoms/icons/Kebab.d.ts +0 -4
  184. package/build/components/atoms/icons/Like.d.ts +0 -4
  185. package/build/components/atoms/icons/Link.d.ts +0 -4
  186. package/build/components/atoms/icons/Minus.d.ts +0 -4
  187. package/build/components/atoms/icons/Missed.d.ts +0 -4
  188. package/build/components/atoms/icons/MyCommunity.d.ts +0 -4
  189. package/build/components/atoms/icons/MyHealth.d.ts +0 -4
  190. package/build/components/atoms/icons/Oppose.d.ts +0 -4
  191. package/build/components/atoms/icons/Parents.d.ts +0 -4
  192. package/build/components/atoms/icons/Plus.d.ts +0 -4
  193. package/build/components/atoms/icons/PlusSpecial.d.ts +0 -4
  194. package/build/components/atoms/icons/Post.d.ts +0 -4
  195. package/build/components/atoms/icons/Recalculate.d.ts +0 -4
  196. package/build/components/atoms/icons/Reply.d.ts +0 -4
  197. package/build/components/atoms/icons/Scale.d.ts +0 -4
  198. package/build/components/atoms/icons/Screener.d.ts +0 -4
  199. package/build/components/atoms/icons/Search.d.ts +0 -4
  200. package/build/components/atoms/icons/ShieldCheck.d.ts +0 -4
  201. package/build/components/atoms/icons/Smile.d.ts +0 -4
  202. package/build/components/atoms/icons/Sparkle.d.ts +0 -4
  203. package/build/components/atoms/icons/Star.d.ts +0 -4
  204. package/build/components/atoms/icons/Stethoscope.d.ts +0 -4
  205. package/build/components/atoms/icons/StethoscopeActive.d.ts +0 -4
  206. package/build/components/atoms/icons/ToggleOff.d.ts +0 -4
  207. package/build/components/atoms/icons/ToggleOn.d.ts +0 -4
  208. package/build/components/atoms/icons/Trash.d.ts +0 -4
  209. package/build/components/atoms/icons/Upcoming.d.ts +0 -4
  210. package/build/components/atoms/icons/User.d.ts +0 -4
  211. package/build/components/atoms/icons/UserCheck.d.ts +0 -4
  212. package/build/components/atoms/icons/Vaccinated.d.ts +0 -4
  213. package/build/components/atoms/icons/Video.d.ts +0 -4
  214. package/build/components/atoms/icons/VideoCall.d.ts +0 -4
  215. package/build/components/atoms/icons/Woman.d.ts +0 -4
  216. package/build/core-a23c80d2.js +0 -1
  217. package/build/esm/Plus-61592057.js +0 -1
  218. package/build/esm/WhatsApp-5a6ef99f.js +0 -1
  219. package/build/esm/components/atoms/icons/ACharacter.d.ts +0 -4
  220. package/build/esm/components/atoms/icons/Activities.d.ts +0 -4
  221. package/build/esm/components/atoms/icons/ArrowDown.d.ts +0 -4
  222. package/build/esm/components/atoms/icons/ArrowLeft.d.ts +0 -4
  223. package/build/esm/components/atoms/icons/ArrowRight.d.ts +0 -4
  224. package/build/esm/components/atoms/icons/Article.d.ts +0 -4
  225. package/build/esm/components/atoms/icons/Ask.d.ts +0 -4
  226. package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +0 -4
  227. package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +0 -4
  228. package/build/esm/components/atoms/icons/BarChart.d.ts +0 -4
  229. package/build/esm/components/atoms/icons/Booking.d.ts +0 -4
  230. package/build/esm/components/atoms/icons/Bookmark.d.ts +0 -4
  231. package/build/esm/components/atoms/icons/Boy.d.ts +0 -4
  232. package/build/esm/components/atoms/icons/Business.d.ts +0 -4
  233. package/build/esm/components/atoms/icons/Calendar.d.ts +0 -4
  234. package/build/esm/components/atoms/icons/CalendarMB.d.ts +0 -4
  235. package/build/esm/components/atoms/icons/CameraCircle.d.ts +0 -4
  236. package/build/esm/components/atoms/icons/Chat.d.ts +0 -4
  237. package/build/esm/components/atoms/icons/Check.d.ts +0 -4
  238. package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +0 -4
  239. package/build/esm/components/atoms/icons/CircleBorder.d.ts +0 -4
  240. package/build/esm/components/atoms/icons/Clickable.d.ts +0 -4
  241. package/build/esm/components/atoms/icons/ClinicPin.d.ts +0 -4
  242. package/build/esm/components/atoms/icons/Close.d.ts +0 -4
  243. package/build/esm/components/atoms/icons/Comment.d.ts +0 -4
  244. package/build/esm/components/atoms/icons/Community.d.ts +0 -4
  245. package/build/esm/components/atoms/icons/CrossLogo.d.ts +0 -4
  246. package/build/esm/components/atoms/icons/Current.d.ts +0 -4
  247. package/build/esm/components/atoms/icons/EditSpecial.d.ts +0 -4
  248. package/build/esm/components/atoms/icons/Endorse.d.ts +0 -4
  249. package/build/esm/components/atoms/icons/Envelop.d.ts +0 -4
  250. package/build/esm/components/atoms/icons/Family.d.ts +0 -4
  251. package/build/esm/components/atoms/icons/Font.d.ts +0 -4
  252. package/build/esm/components/atoms/icons/FullScreen.d.ts +0 -4
  253. package/build/esm/components/atoms/icons/GenderBoy.d.ts +0 -4
  254. package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +0 -4
  255. package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +0 -4
  256. package/build/esm/components/atoms/icons/GenderGirl.d.ts +0 -4
  257. package/build/esm/components/atoms/icons/Girl.d.ts +0 -4
  258. package/build/esm/components/atoms/icons/GroupPeople.d.ts +0 -4
  259. package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +0 -4
  260. package/build/esm/components/atoms/icons/Heart.d.ts +0 -4
  261. package/build/esm/components/atoms/icons/Home.d.ts +0 -4
  262. package/build/esm/components/atoms/icons/Hospital.d.ts +0 -4
  263. package/build/esm/components/atoms/icons/Info.d.ts +0 -4
  264. package/build/esm/components/atoms/icons/Kebab.d.ts +0 -4
  265. package/build/esm/components/atoms/icons/Like.d.ts +0 -4
  266. package/build/esm/components/atoms/icons/Link.d.ts +0 -4
  267. package/build/esm/components/atoms/icons/Minus.d.ts +0 -4
  268. package/build/esm/components/atoms/icons/Missed.d.ts +0 -4
  269. package/build/esm/components/atoms/icons/MyCommunity.d.ts +0 -4
  270. package/build/esm/components/atoms/icons/MyHealth.d.ts +0 -4
  271. package/build/esm/components/atoms/icons/Oppose.d.ts +0 -4
  272. package/build/esm/components/atoms/icons/Parents.d.ts +0 -4
  273. package/build/esm/components/atoms/icons/Plus.d.ts +0 -4
  274. package/build/esm/components/atoms/icons/PlusSpecial.d.ts +0 -4
  275. package/build/esm/components/atoms/icons/Post.d.ts +0 -4
  276. package/build/esm/components/atoms/icons/Recalculate.d.ts +0 -4
  277. package/build/esm/components/atoms/icons/Reply.d.ts +0 -4
  278. package/build/esm/components/atoms/icons/Scale.d.ts +0 -4
  279. package/build/esm/components/atoms/icons/Screener.d.ts +0 -4
  280. package/build/esm/components/atoms/icons/Search.d.ts +0 -4
  281. package/build/esm/components/atoms/icons/ShieldCheck.d.ts +0 -4
  282. package/build/esm/components/atoms/icons/Smile.d.ts +0 -4
  283. package/build/esm/components/atoms/icons/Sparkle.d.ts +0 -4
  284. package/build/esm/components/atoms/icons/Star.d.ts +0 -4
  285. package/build/esm/components/atoms/icons/Stethoscope.d.ts +0 -4
  286. package/build/esm/components/atoms/icons/StethoscopeActive.d.ts +0 -4
  287. package/build/esm/components/atoms/icons/ToggleOff.d.ts +0 -4
  288. package/build/esm/components/atoms/icons/ToggleOn.d.ts +0 -4
  289. package/build/esm/components/atoms/icons/Trash.d.ts +0 -4
  290. package/build/esm/components/atoms/icons/Upcoming.d.ts +0 -4
  291. package/build/esm/components/atoms/icons/User.d.ts +0 -4
  292. package/build/esm/components/atoms/icons/UserCheck.d.ts +0 -4
  293. package/build/esm/components/atoms/icons/Vaccinated.d.ts +0 -4
  294. package/build/esm/components/atoms/icons/Video.d.ts +0 -4
  295. package/build/esm/components/atoms/icons/VideoCall.d.ts +0 -4
  296. package/build/esm/components/atoms/icons/Woman.d.ts +0 -4
  297. package/build/esm/index-04f183b8.js +0 -1
  298. package/build/esm/index-07905741.js +0 -1
  299. package/build/esm/index-1f2316ca.js +0 -1
  300. package/build/esm/index-200ec6b1.js +0 -1
  301. package/build/esm/index-418f072b.js +0 -1
  302. package/build/esm/index-8f4b4a7f.js +0 -1
  303. package/build/esm/index-a9cbaabd.js +0 -1
  304. package/build/esm/index-ebd9ace0.js +0 -1
  305. package/build/esm/index-ed71bf72.js +0 -177
  306. package/build/esm/types-d7d54442.js +0 -3004
  307. package/build/esm/useHealthToolCache-73b62210.js +0 -1
  308. package/build/esm/usePlacesAutocomplete-ff204ea8.js +0 -1
  309. package/build/esm/useTranslations-cce18e33.js +0 -1
  310. package/build/esm/utils-e3640c23.js +0 -7
  311. package/build/getDynamicHealthTool-ba27b7ff.js +0 -1
  312. package/build/index-01eb2479.js +0 -177
  313. package/build/index-0242b079.js +0 -1
  314. package/build/index-04da6493.js +0 -1
  315. package/build/index-0a9fa2c4.js +0 -2748
  316. package/build/index-0cecb118.js +0 -1
  317. package/build/index-1c7247cc.js +0 -113
  318. package/build/index-25e39319.js +0 -1
  319. package/build/index-b21da1ea.js +0 -1
  320. package/build/index-d85d7a99.js +0 -1
  321. package/build/index-e05e160d.js +0 -1
  322. package/build/index-f4c55cce.js +0 -1
  323. package/build/utils-5ea654b8.js +0 -1
  324. package/build/utils-7a63c632.js +0 -1
  325. /package/build/{BMI_BOYS.percentile.monthly-5cd79b25.js → BMI_BOYS.percentile.monthly-f5d52266.js} +0 -0
  326. /package/build/{BMI_BOYS.percentile.weekly-fc72eb47.js → BMI_BOYS.percentile.weekly-4e5ff498.js} +0 -0
  327. /package/build/{BMI_BOYS.percentile.yearly-9f13a908.js → BMI_BOYS.percentile.yearly-a4a42526.js} +0 -0
  328. /package/build/{BMI_BOYS.zscore.monthly-f306d58d.js → BMI_BOYS.zscore.monthly-6eb042ef.js} +0 -0
  329. /package/build/{BMI_BOYS.zscore.weekly-9d80c0e2.js → BMI_BOYS.zscore.weekly-d9d4d664.js} +0 -0
  330. /package/build/{BMI_BOYS.zscore.yearly-9ade76a5.js → BMI_BOYS.zscore.yearly-16bffd53.js} +0 -0
  331. /package/build/{BMI_GIRLS.percentile.monthly-0318da9f.js → BMI_GIRLS.percentile.monthly-03d6fdb2.js} +0 -0
  332. /package/build/{BMI_GIRLS.percentile.weekly-1f566aaa.js → BMI_GIRLS.percentile.weekly-b81e451a.js} +0 -0
  333. /package/build/{BMI_GIRLS.percentile.yearly-215b3cba.js → BMI_GIRLS.percentile.yearly-3e4b5b2f.js} +0 -0
  334. /package/build/{BMI_GIRLS.zscore.monthly-bae848b2.js → BMI_GIRLS.zscore.monthly-de1ef04a.js} +0 -0
  335. /package/build/{BMI_GIRLS.zscore.weekly-2371a64f.js → BMI_GIRLS.zscore.weekly-b8d7663a.js} +0 -0
  336. /package/build/{BMI_GIRLS.zscore.yearly-9ecfbccb.js → BMI_GIRLS.zscore.yearly-8fe7d962.js} +0 -0
  337. /package/build/{ChevronDown-9a823643.js → ChevronDown-5d76a601.js} +0 -0
  338. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-0d2ab2e7.js → HEAD CIRCUM_BOYS.percentile.monthly-20055033.js} +0 -0
  339. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-27bac0cb.js → HEAD CIRCUM_BOYS.percentile.weekly-825df536.js} +0 -0
  340. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b175db79.js → HEAD CIRCUM_BOYS.percentile.yearly-ab924280.js} +0 -0
  341. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-f5c6bdd6.js → HEAD CIRCUM_BOYS.zscore.monthly-368e894a.js} +0 -0
  342. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-bfdc4392.js → HEAD CIRCUM_BOYS.zscore.weekly-3f51952e.js} +0 -0
  343. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-14f0889d.js → HEAD CIRCUM_BOYS.zscore.yearly-1e5ed0ea.js} +0 -0
  344. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-903e7189.js → HEAD CIRCUM_GIRLS.percentile.monthly-ede5fd6e.js} +0 -0
  345. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-748869a7.js → HEAD CIRCUM_GIRLS.percentile.weekly-4f21a04e.js} +0 -0
  346. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2a680f48.js → HEAD CIRCUM_GIRLS.percentile.yearly-311df700.js} +0 -0
  347. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e054510e.js → HEAD CIRCUM_GIRLS.zscore.monthly-88f2c092.js} +0 -0
  348. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-eb025087.js → HEAD CIRCUM_GIRLS.zscore.weekly-75ef678e.js} +0 -0
  349. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-011649a2.js → HEAD CIRCUM_GIRLS.zscore.yearly-ef9cdae8.js} +0 -0
  350. /package/build/{HEIGHT_BOYS.percentile.monthly-7e9898ff.js → HEIGHT_BOYS.percentile.monthly-94de3e54.js} +0 -0
  351. /package/build/{HEIGHT_BOYS.percentile.weekly-a7df6826.js → HEIGHT_BOYS.percentile.weekly-3da49b12.js} +0 -0
  352. /package/build/{HEIGHT_BOYS.percentile.yearly-7f716f35.js → HEIGHT_BOYS.percentile.yearly-c1f7c8c1.js} +0 -0
  353. /package/build/{HEIGHT_BOYS.zscore.monthly-a180ab2d.js → HEIGHT_BOYS.zscore.monthly-ba4df5ec.js} +0 -0
  354. /package/build/{HEIGHT_BOYS.zscore.weekly-92934eaa.js → HEIGHT_BOYS.zscore.weekly-6aac30e3.js} +0 -0
  355. /package/build/{HEIGHT_BOYS.zscore.yearly-bd2cf58f.js → HEIGHT_BOYS.zscore.yearly-a283810a.js} +0 -0
  356. /package/build/{HEIGHT_GIRLS.percentile.monthly-a90a6654.js → HEIGHT_GIRLS.percentile.monthly-a05de6f6.js} +0 -0
  357. /package/build/{HEIGHT_GIRLS.percentile.weekly-b89741cd.js → HEIGHT_GIRLS.percentile.weekly-1740cf2c.js} +0 -0
  358. /package/build/{HEIGHT_GIRLS.percentile.yearly-03631447.js → HEIGHT_GIRLS.percentile.yearly-a6aad1a4.js} +0 -0
  359. /package/build/{HEIGHT_GIRLS.zscore.monthly-aac24454.js → HEIGHT_GIRLS.zscore.monthly-da886a56.js} +0 -0
  360. /package/build/{HEIGHT_GIRLS.zscore.weekly-2869cc02.js → HEIGHT_GIRLS.zscore.weekly-d45a3743.js} +0 -0
  361. /package/build/{HEIGHT_GIRLS.zscore.yearly-fc370322.js → HEIGHT_GIRLS.zscore.yearly-cf182dca.js} +0 -0
  362. /package/build/{Subot-6f44f7d1.js → Subot-8019ae74.js} +0 -0
  363. /package/build/{Visible-e3703df9.js → Visible-fc9f8e9b.js} +0 -0
  364. /package/build/{WEIGHT_BOYS.percentile.monthly-975193d0.js → WEIGHT_BOYS.percentile.monthly-8d340884.js} +0 -0
  365. /package/build/{WEIGHT_BOYS.percentile.weekly-b5c38df2.js → WEIGHT_BOYS.percentile.weekly-b5157088.js} +0 -0
  366. /package/build/{WEIGHT_BOYS.percentile.yearly-240ed2c9.js → WEIGHT_BOYS.percentile.yearly-d75c8564.js} +0 -0
  367. /package/build/{WEIGHT_BOYS.zscore.monthly-fa43b6c3.js → WEIGHT_BOYS.zscore.monthly-44d99546.js} +0 -0
  368. /package/build/{WEIGHT_BOYS.zscore.weekly-046b9f1b.js → WEIGHT_BOYS.zscore.weekly-eeef05e6.js} +0 -0
  369. /package/build/{WEIGHT_BOYS.zscore.yearly-ae9412de.js → WEIGHT_BOYS.zscore.yearly-a12476c6.js} +0 -0
  370. /package/build/{WEIGHT_GIRLS.percentile.monthly-6d56fb24.js → WEIGHT_GIRLS.percentile.monthly-c03408ff.js} +0 -0
  371. /package/build/{WEIGHT_GIRLS.percentile.weekly-f9e08e94.js → WEIGHT_GIRLS.percentile.weekly-f8e9d926.js} +0 -0
  372. /package/build/{WEIGHT_GIRLS.percentile.yearly-980c7b20.js → WEIGHT_GIRLS.percentile.yearly-2fb4c7ab.js} +0 -0
  373. /package/build/{WEIGHT_GIRLS.zscore.monthly-f27b0da0.js → WEIGHT_GIRLS.zscore.monthly-88d40522.js} +0 -0
  374. /package/build/{WEIGHT_GIRLS.zscore.weekly-666d490e.js → WEIGHT_GIRLS.zscore.weekly-a2f48b32.js} +0 -0
  375. /package/build/{WEIGHT_GIRLS.zscore.yearly-5f28002e.js → WEIGHT_GIRLS.zscore.yearly-0135b0de.js} +0 -0
  376. /package/build/{animation-e73dc040.js → animation-81c0f70c.js} +0 -0
  377. /package/build/{cookieHelper-3b9ceb4e.js → cookieHelper-389add07.js} +0 -0
  378. /package/build/esm/{BMI_BOYS.percentile.monthly-5245a76e.js → BMI_BOYS.percentile.monthly-3dbd882d.js} +0 -0
  379. /package/build/esm/{BMI_BOYS.percentile.weekly-69f6d409.js → BMI_BOYS.percentile.weekly-b1b3f90d.js} +0 -0
  380. /package/build/esm/{BMI_BOYS.percentile.yearly-6b7c67a5.js → BMI_BOYS.percentile.yearly-b186ff3d.js} +0 -0
  381. /package/build/esm/{BMI_BOYS.zscore.monthly-54f7384d.js → BMI_BOYS.zscore.monthly-74d38c87.js} +0 -0
  382. /package/build/esm/{BMI_BOYS.zscore.weekly-208ea2d6.js → BMI_BOYS.zscore.weekly-3d0f5588.js} +0 -0
  383. /package/build/esm/{BMI_BOYS.zscore.yearly-95fb8846.js → BMI_BOYS.zscore.yearly-cb02ffc1.js} +0 -0
  384. /package/build/esm/{BMI_GIRLS.percentile.monthly-ffd9ffc6.js → BMI_GIRLS.percentile.monthly-21213d72.js} +0 -0
  385. /package/build/esm/{BMI_GIRLS.percentile.weekly-ca8fcfee.js → BMI_GIRLS.percentile.weekly-30b3de6b.js} +0 -0
  386. /package/build/esm/{BMI_GIRLS.percentile.yearly-b30eb957.js → BMI_GIRLS.percentile.yearly-bbabbb97.js} +0 -0
  387. /package/build/esm/{BMI_GIRLS.zscore.monthly-4fd0f8f1.js → BMI_GIRLS.zscore.monthly-63bd165e.js} +0 -0
  388. /package/build/esm/{BMI_GIRLS.zscore.weekly-d6b98de6.js → BMI_GIRLS.zscore.weekly-32eb7455.js} +0 -0
  389. /package/build/esm/{BMI_GIRLS.zscore.yearly-fbb5ee44.js → BMI_GIRLS.zscore.yearly-22035988.js} +0 -0
  390. /package/build/esm/{ChevronDown-8452962e.js → ChevronDown-b3e14cab.js} +0 -0
  391. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-09c89acf.js → HEAD CIRCUM_BOYS.percentile.monthly-82915a92.js} +0 -0
  392. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a15b9bbb.js → HEAD CIRCUM_BOYS.percentile.weekly-8933c88f.js} +0 -0
  393. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-c6feccdc.js → HEAD CIRCUM_BOYS.percentile.yearly-70d70ffa.js} +0 -0
  394. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-591fe4e6.js → HEAD CIRCUM_BOYS.zscore.monthly-b42182f3.js} +0 -0
  395. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6e915af3.js → HEAD CIRCUM_BOYS.zscore.weekly-abec50c3.js} +0 -0
  396. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-59e4bfc4.js → HEAD CIRCUM_BOYS.zscore.yearly-960cd165.js} +0 -0
  397. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-303fa4d4.js → HEAD CIRCUM_GIRLS.percentile.monthly-e3f57938.js} +0 -0
  398. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-740b13f4.js → HEAD CIRCUM_GIRLS.percentile.weekly-33dcdf4b.js} +0 -0
  399. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d0589d47.js → HEAD CIRCUM_GIRLS.percentile.yearly-d1cf4d69.js} +0 -0
  400. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-5d8fda84.js → HEAD CIRCUM_GIRLS.zscore.monthly-a9ddedd8.js} +0 -0
  401. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a8c3171f.js → HEAD CIRCUM_GIRLS.zscore.weekly-b221165a.js} +0 -0
  402. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-95746ad3.js → HEAD CIRCUM_GIRLS.zscore.yearly-acb343d1.js} +0 -0
  403. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-63abb64c.js → HEIGHT_BOYS.percentile.monthly-2a2b4d0c.js} +0 -0
  404. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e084fc63.js → HEIGHT_BOYS.percentile.weekly-c739976e.js} +0 -0
  405. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-fe73951b.js → HEIGHT_BOYS.percentile.yearly-bbe6396a.js} +0 -0
  406. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-cd438afc.js → HEIGHT_BOYS.zscore.monthly-93c83525.js} +0 -0
  407. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-654e6872.js → HEIGHT_BOYS.zscore.weekly-41242bcb.js} +0 -0
  408. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f93b88e1.js → HEIGHT_BOYS.zscore.yearly-c8ae60f0.js} +0 -0
  409. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-a7fceb4a.js → HEIGHT_GIRLS.percentile.monthly-01477419.js} +0 -0
  410. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0ffd736b.js → HEIGHT_GIRLS.percentile.weekly-06829d1a.js} +0 -0
  411. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-bc5ba895.js → HEIGHT_GIRLS.percentile.yearly-285e8645.js} +0 -0
  412. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a527f6b5.js → HEIGHT_GIRLS.zscore.monthly-97e9949a.js} +0 -0
  413. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0432321b.js → HEIGHT_GIRLS.zscore.weekly-f926b58f.js} +0 -0
  414. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-580f5550.js → HEIGHT_GIRLS.zscore.yearly-2f4c0c46.js} +0 -0
  415. /package/build/esm/{Subot-ade21804.js → Subot-e1cfb4c5.js} +0 -0
  416. /package/build/esm/{Visible-39f22e26.js → Visible-2f502aff.js} +0 -0
  417. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-f146d4b0.js → WEIGHT_BOYS.percentile.monthly-134dc641.js} +0 -0
  418. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-b90291b2.js → WEIGHT_BOYS.percentile.weekly-ae3baaf5.js} +0 -0
  419. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-1c5bc721.js → WEIGHT_BOYS.percentile.yearly-cf1fc859.js} +0 -0
  420. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-e7f77bb7.js → WEIGHT_BOYS.zscore.monthly-2572c13f.js} +0 -0
  421. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-a964f7fe.js → WEIGHT_BOYS.zscore.weekly-41c94e9f.js} +0 -0
  422. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0cd3170e.js → WEIGHT_BOYS.zscore.yearly-a38be9b5.js} +0 -0
  423. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-963226db.js → WEIGHT_GIRLS.percentile.monthly-8dcb07b8.js} +0 -0
  424. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-137218b5.js → WEIGHT_GIRLS.percentile.weekly-54a9f9e4.js} +0 -0
  425. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-ec29d8fe.js → WEIGHT_GIRLS.percentile.yearly-7e6ecdf4.js} +0 -0
  426. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-14843702.js → WEIGHT_GIRLS.zscore.monthly-6d380cff.js} +0 -0
  427. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-43d4a42b.js → WEIGHT_GIRLS.zscore.weekly-720f17a5.js} +0 -0
  428. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-878837ef.js → WEIGHT_GIRLS.zscore.yearly-3200b824.js} +0 -0
  429. /package/build/esm/{animation-1d694586.js → animation-1fa24dc4.js} +0 -0
  430. /package/build/esm/{cookieHelper-3fe8fdf3.js → cookieHelper-697a5fb0.js} +0 -0
  431. /package/build/esm/{index-9a776a7f.js → index-5ced6fc6.js} +0 -0
  432. /package/build/esm/{index-761ce6cc.js → index-9329b5d1.js} +0 -0
  433. /package/build/esm/{index-8cf56535.js → index-ef431a3d.js} +0 -0
  434. /package/build/esm/{isProduction-8ae381c3.js → isProduction-6c4494a3.js} +0 -0
  435. /package/build/esm/{localizeNumberFormat-5846bb60.js → localizeNumberFormat-a0f401c2.js} +0 -0
  436. /package/build/esm/{normalizeLink-cfd22388.js → normalizeLink-a05c8c97.js} +0 -0
  437. /package/build/esm/{number-c9fbe4ab.js → number-bcbdca0e.js} +0 -0
  438. /package/build/esm/{paths-dfd6bdd2.js → paths-e61cca75.js} +0 -0
  439. /package/build/esm/{theme-2f0d6367.js → theme-0b94804f.js} +0 -0
  440. /package/build/esm/{translationsContext-d3dc4282.js → translationsContext-39a2587e.js} +0 -0
  441. /package/build/esm/{tslib.es6-4a7efa3e.js → tslib.es6-18638601.js} +0 -0
  442. /package/build/esm/{types-0d3813ec.js → types-95753c0a.js} +0 -0
  443. /package/build/esm/{useIsInit-8d70a700.js → useIsInit-cbde65e9.js} +0 -0
  444. /package/build/esm/{useOutsideClick-7826d461.js → useOutsideClick-6cf33dc1.js} +0 -0
  445. /package/build/esm/{useScrollbarSize-7519cdcf.js → useScrollbarSize-bf0dddc5.js} +0 -0
  446. /package/build/esm/{useUniqueId-463b8d94.js → useUniqueId-fdce4fd7.js} +0 -0
  447. /package/build/esm/{utils-597f4846.js → utils-f8794d89.js} +0 -0
  448. /package/build/{index-56b73a7a.js → index-43f12c63.js} +0 -0
  449. /package/build/{index-c2ff8b54.js → index-551b8544.js} +0 -0
  450. /package/build/{index-4da2b598.js → index-554c7c61.js} +0 -0
  451. /package/build/{isProduction-822a7286.js → isProduction-134a2c14.js} +0 -0
  452. /package/build/{localizeNumberFormat-f54c1770.js → localizeNumberFormat-3358f3a5.js} +0 -0
  453. /package/build/{normalizeLink-f9713014.js → normalizeLink-6b03d324.js} +0 -0
  454. /package/build/{number-3835f480.js → number-c2465df9.js} +0 -0
  455. /package/build/{paths-0bb9c960.js → paths-108c065c.js} +0 -0
  456. /package/build/{theme-b5bd9d5b.js → theme-c0e7e797.js} +0 -0
  457. /package/build/{translationsContext-4202bcac.js → translationsContext-069b26e2.js} +0 -0
  458. /package/build/{tslib.es6-94d9fc9f.js → tslib.es6-b6cbaaa9.js} +0 -0
  459. /package/build/{types-baa14b03.js → types-8591c08c.js} +0 -0
  460. /package/build/{useIsInit-8be51b79.js → useIsInit-8af5b266.js} +0 -0
  461. /package/build/{useOutsideClick-b08de0a8.js → useOutsideClick-d374050c.js} +0 -0
  462. /package/build/{useScrollbarSize-f6774988.js → useScrollbarSize-bb6c1ea5.js} +0 -0
  463. /package/build/{useUniqueId-ff7774a5.js → useUniqueId-3b48403e.js} +0 -0
  464. /package/build/{utils-82e9e1c2.js → utils-aaf29483.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{_ as e,a as t}from"./tslib.es6-4a7efa3e.js";import a,{useState as n,useMemo as i,useRef as o,Fragment as l,useEffect as r,memo as s,useContext as c,useCallback as d}from"react";import{F as m,b as p,B as g}from"./index-8c1e2ce6.js";import h,{css as u}from"styled-components";import{t as v}from"./theme-2f0d6367.js";import{T as f}from"./Plus-61592057.js";import{C as b}from"./index-01efa9be.js";import{C as y,T as x,E,b as w,d as k,L as C,S as $}from"./index-05214244.js";import{n as B,a as P}from"./normalizeLink-cfd22388.js";import{a as _,g as M,b as N,c as T,d as D}from"./routing-a6c8f9f9.js";import{P as L,U as j,c as A,a as z}from"./index-557e3a42.js";import{L as H}from"./index-7e4d8533.js";import{u as S}from"./useTranslations-cce18e33.js";import U from"lodash/throttle";import{createStyles as F,rem as O,Box as R,Indicator as I,Portal as V}from"@mantine/core";import"@mantine/dates";import{L as Z}from"./Subot-ade21804.js";import"./translationsContext-d3dc4282.js";import G from"string-format";import"@mantine/hooks";import{g as W,M as Y}from"./utils-597f4846.js";import{L as q}from"./constants-36c1648d.js";import{I as K}from"./index-04f183b8.js";import{U as Q}from"./WhatsApp-5a6ef99f.js";import{g as J,P as X}from"./index.styles-d3334c25.js";import{C as ee}from"./ChevronDown-8452962e.js";import{B as te}from"./index-18ff3f75.js";import{w as ae}from"./utils-e3640c23.js";import{a as ne}from"./constants-ed8abdff.js";import{H as ie}from"./index-a9cbaabd.js";import{I as oe}from"./index-200ec6b1.js";import{u as le}from"./useIsInit-8d70a700.js";import"./utils-508d45bb.js";import"./index.styled-c2100f19.js";import"./index-761ce6cc.js";import re from"dayjs";import se from"dayjs/plugin/relativeTime";import{C as ce}from"./index-9a776a7f.js";import de from"lodash/debounce";import{g as me}from"./core-cdfc811a.js";const pe=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],ge=(e="")=>pe.some((t=>new URL(e).origin.endsWith(t))),he=h.a`
1
+ import{_ as e,a as t}from"./tslib.es6-18638601.js";import a,{useState as n,useMemo as i,useRef as o,Fragment as l,useEffect as r,memo as s,useContext as c,useCallback as d}from"react";import{F as m,a as p,B as g}from"./index-bfbcb02a.js";import h,{css as u}from"styled-components";import{t as v}from"./theme-0b94804f.js";import{T as f}from"./index-6b3801b8.js";import{C as b}from"./index-4bffd1b5.js";import{C as y,T as x,E,b as w,d as k,L as C,S as $}from"./index-2e127fc2.js";import{n as B,a as P}from"./normalizeLink-a05c8c97.js";import{a as _,g as M,b as N,c as T,d as D}from"./routing-d44c0bee.js";import{P as L,U as j,c as A,a as z}from"./index-ae226d85.js";import{L as H}from"./index-c4d4d720.js";import{u as S}from"./useTranslations-f52266ac.js";import U from"lodash/throttle";import{createStyles as F,rem as O,Box as R,Indicator as I,Portal as V}from"@mantine/core";import"@mantine/dates";import{L as Z}from"./Subot-e1cfb4c5.js";import"./translationsContext-39a2587e.js";import G from"string-format";import"@mantine/hooks";import{g as W,M as Y}from"./utils-f8794d89.js";import{L as q}from"./constants-c485e78c.js";import{I as K}from"./index-0623901b.js";import{User as Q}from"@hhgtech/icons/core";import{g as J,P as X}from"./index.styles-45b79ae0.js";import{C as ee}from"./ChevronDown-b3e14cab.js";import{B as te}from"./index-270da577.js";import{x as ae}from"./utils-5b231140.js";import{a as ne}from"./constants-f7550085.js";import{H as ie}from"./index-54daafa4.js";import{I as oe}from"./index-49e26211.js";import{u as le}from"./useIsInit-cbde65e9.js";import"./utils-910a1880.js";import"./index.styled-1ab6b28c.js";import"./index-9329b5d1.js";import re from"dayjs";import se from"dayjs/plugin/relativeTime";import{C as ce}from"./index-5ced6fc6.js";import de from"lodash/debounce";import{g as me}from"./core-fa9dcda7.js";const pe=["hellobacsi.com","hellosehat.com","hellodoktor.com","hellokrupet.com","hellodoctor.com.ph","hellokhunmor.com","hellosayarwon.com","helloyishi.com.tw","helloswasthya.com","marrybaby.vn","hellohealth.questionpro.com","hellobacsivn.page.link"],ge=(e="")=>pe.some((t=>new URL(e).origin.endsWith(t))),he=h.a`
2
2
  display: inline-flex;
3
3
  position: relative;
4
4
  flex-direction: row;
@@ -369,7 +369,7 @@ import{_ as e,a as t}from"./tslib.es6-4a7efa3e.js";import a,{useState as n,useMe
369
369
  }
370
370
 
371
371
  ${e=>"marryBaby"===e.siteType?"\n .cancel-button {\n background-color: #E55C8A;\n }\n .cancel-button:hover {\n background-color: #E55C8A !important;\n }\n .logout-button {\n border-color: #E55C8A;\n color: #E55C8A;\n }\n ":""}
372
- `,it=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:n,siteType:i="helloSites"})=>{const{t:o}=S();return r((()=>{document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(V,null,a.createElement(L,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:b.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},a.createElement(at,null,"helloSites"===i&&a.createElement("img",{src:b.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),a.createElement("h2",null,o("helloSites"===i?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,o("logout.popup.ask2")),a.createElement(nt,{siteType:i},a.createElement(te,{className:"logout-button",color:"tertiary",size:"lg",onClick:n},o("logout.popup.button.logout")),a.createElement(te,{className:"cancel-button",color:"primary",size:"lg",onClick:t},o("logout.popup.button.cancel"))))))},ot=({userInfo:e,siteType:i,onLoginClick:o,SSO_URL:l,currentUrl:s,isMinifyLogin:c,onLogout:d,style:m,isLoading:h,locale:u})=>{const{t:y}=S(),[x,E]=n(!1),w=(null==e?void 0:e.name)||(null==e?void 0:e.username),[k,C]=n(!1);r((()=>{C(!0)}),[]);const{containerRef:$,onContainerFocus:P,onContainerBlur:_,onButtonMouseDown:M,onClose:N}=_e();return h?a.createElement(g,{size:"sm",color:"transparent",loading:!0}):(null==e?void 0:e.id)?a.createElement(a.Fragment,null,a.createElement(Le,{ref:$,style:m,tabIndex:0,onBlur:_,onFocus:()=>{var e;P();const t=null===(e=$.current)||void 0===e?void 0:e.querySelector("#desktop-sticky-header .hhgcomp-navprofilebutton-popup");if(t){const e=`calc(100vh - ${t.getBoundingClientRect().top}px)`;t.setAttribute("style",`max-height: ${e};`)}}},a.createElement("div",{onMouseDown:M},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(p,{size:40,className:"user-avatar",src:null==e?void 0:e.avatar,color:"marryBaby"===i?v.mbColors.pink:v.colors.secondaryBase,placeholderText:w&&w.length?w[0].toUpperCase():"A"})),a.createElement(tt,{dispatchLogout:()=>{N(),E(!0)},isOpen:!1,closePopup:N,siteType:i,userInfo:e})),a.createElement(it,{openLogoutPopup:x,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),E(!1)},siteType:i,onLogoutHandler:()=>t(void 0,void 0,void 0,(function*(){E(!1),document.body.classList.toggle("noscroll",!1),yield d()}))})):a.createElement(je,{style:Object.assign({textDecoration:"none"},m),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":s,href:k?void 0:B(`${l}?returnUrl=${s}`),"data-site-type":i},c?a.createElement(De,{onClick:o},a.createElement("img",{src:b.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===i&&(u===Z.Indonesia||u===Z.PhilippinesTagalog||u===Z.PhilippinesEnglish?a.createElement("img",{className:"mobile-only",src:b.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:o}):a.createElement(g,{className:"mobile-only",size:"sm",onClick:o,leftIcon:a.createElement(Q,{useCurrentColor:!0,isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},y("navigation.loginJoin"))),"marryBaby"===i&&a.createElement("div",{className:"mobile-only",onClick:o,style:{paddingLeft:16}},a.createElement(f,{size:"p3",color:v.mbColors.pink},y("navigation.loginJoin"))),a.createElement(g,{className:"login-btn",size:"md",onClick:o,leftIcon:a.createElement(Q,{useCurrentColor:!0,isSolid:!0,size:22})},y("navigation.loginJoin"))))};var lt="spdlGfq",rt="vgS16jX";const st=({onCareHeaderClick:e,currentUrl:t,careUrlFe:n,btnName:i})=>e?a.createElement(te,{className:lt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},i):a.createElement("a",{href:n,className:`${rt} care-button no-replace-click`},a.createElement(te,{className:lt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},i));var ct="y5VJdvw",dt="oVhOSCy",mt="pX8OXTM";const pt=a.createContext({}),gt=t=>{var{children:n}=t,o=e(t,["children"]);const[l,s]=a.useState((()=>o.currentUrl||`https://${"marryBaby"===o.siteType?ae[o.locale||"en-PH"]:k[o.locale||"en-PH"]}${"together"===o.projectType?"/community":"ecom"===o.projectType?"/ecom":"care"===o.projectType?"/care":""}/`));r((()=>{const e=()=>{s(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const c=(({locale:e,projectType:t,isMobile:a,siteType:n,enableBookingBtn:o})=>i((()=>{const i=!(!a&&"profile"===t),l="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===n,r="marryBaby"!==n&&"marryBaby"!==t&&y.includes(e),s=o&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==n&&w.includes(e),c="marryBaby"===t||x.includes(e),d="marryBaby"!==n&&E.includes(e),m="marryBaby"!==n&&E.includes(e);let p=M(e,"marryBaby"===n);"undefined"!=typeof window&&(p.includes("//id.")&&(p=p.replace("id.","")),p.includes("//staging-id.")&&(p=p.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:i,enableSearchBar:l,enableNavCare:r,enableNavCareBooking:s,enableNavTogether:c,enableNavEcom:d,enableProfileEcom:m,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:`${p}/care`,TOGETHER_URL_FE:`${p}/community`,SSO_URL:_(e,"marryBaby"===n),TOGETHER_API:N(),DISCOVER_API:T(e)}}}),[e,t,a]))({locale:o.locale,projectType:o.projectType,isMobile:o.isMobile,siteType:o.siteType,enableBookingBtn:o.enableBookingBtn});return a.createElement(pt.Provider,{value:Object.assign(Object.assign({},o),{configs:Object.assign(Object.assign({},c),o.configs),currentUrl:o.currentUrl||l})},n)};function ht({className:e}){return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function ut({siteType:e,enableSearch:t,className:n}){return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:t?b.getAssetPath("hamburgerMenuNewWithSearch.svg"):b.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:"home",className:n,loading:"lazy"})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:n},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const vt=h.div`
372
+ `,it=({openLogoutPopup:e,onCloseHandler:t,onLogoutHandler:n,siteType:i="helloSites"})=>{const{t:o}=S();return r((()=>{document.body.classList.toggle("noscroll",e)}),[e]),a.createElement(V,null,a.createElement(L,{type:"confirm",isOpen:e,closeIcon:a.createElement("img",{src:b.getAssetPath("closeLight.svg"),style:{width:24,height:24},alt:"close-icon",loading:"lazy"}),onClose:t},a.createElement(at,null,"helloSites"===i&&a.createElement("img",{src:b.getAssetPath("arrowDoor.svg"),className:"cancle-img",alt:"close-account",loading:"lazy"}),a.createElement("h2",null,o("helloSites"===i?"logout.popup.ask1":"logout.popup.ask.mb")),a.createElement("p",null,o("logout.popup.ask2")),a.createElement(nt,{siteType:i},a.createElement(te,{className:"logout-button",color:"tertiary",size:"lg",onClick:n},o("logout.popup.button.logout")),a.createElement(te,{className:"cancel-button",color:"primary",size:"lg",onClick:t},o("logout.popup.button.cancel"))))))},ot=({userInfo:e,siteType:i,onLoginClick:o,SSO_URL:l,currentUrl:s,isMinifyLogin:c,onLogout:d,style:m,isLoading:h,locale:u})=>{const{t:y}=S(),[x,E]=n(!1),w=(null==e?void 0:e.name)||(null==e?void 0:e.username),[k,C]=n(!1);r((()=>{C(!0)}),[]);const{containerRef:$,onContainerFocus:P,onContainerBlur:_,onButtonMouseDown:M,onClose:N}=_e();return h?a.createElement(g,{size:"sm",color:"transparent",loading:!0}):(null==e?void 0:e.id)?a.createElement(a.Fragment,null,a.createElement(Le,{ref:$,style:m,tabIndex:0,onBlur:_,onFocus:()=>{var e;P();const t=null===(e=$.current)||void 0===e?void 0:e.querySelector("#desktop-sticky-header .hhgcomp-navprofilebutton-popup");if(t){const e=`calc(100vh - ${t.getBoundingClientRect().top}px)`;t.setAttribute("style",`max-height: ${e};`)}}},a.createElement("div",{onMouseDown:M},a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:"user-close-icon"},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})),a.createElement(p,{size:40,className:"user-avatar",src:null==e?void 0:e.avatar,color:"marryBaby"===i?v.mbColors.pink:v.colors.secondaryBase,placeholderText:w&&w.length?w[0].toUpperCase():"A"})),a.createElement(tt,{dispatchLogout:()=>{N(),E(!0)},isOpen:!1,closePopup:N,siteType:i,userInfo:e})),a.createElement(it,{openLogoutPopup:x,onCloseHandler:()=>{document.body.classList.toggle("noscroll",!1),E(!1)},siteType:i,onLogoutHandler:()=>t(void 0,void 0,void 0,(function*(){E(!1),document.body.classList.toggle("noscroll",!1),yield d()}))})):a.createElement(je,{style:Object.assign({textDecoration:"none"},m),"data-event-category":"Sign Up","data-event-action":"Button Click","data-event-label":s,href:k?void 0:B(`${l}?returnUrl=${s}`),"data-site-type":i},c?a.createElement(De,{onClick:o},a.createElement("img",{src:b.getAssetPath("lock.png"),className:"avatar",loading:"lazy",alt:"avatar"})):a.createElement(a.Fragment,null,"helloSites"===i&&(u===Z.Indonesia||u===Z.PhilippinesTagalog||u===Z.PhilippinesEnglish?a.createElement("img",{className:"mobile-only",src:b.getAssetPath("login.svg"),style:{cursor:"pointer",height:24,width:24},onClick:o}):a.createElement(g,{className:"mobile-only",size:"sm",onClick:o,leftIcon:a.createElement(Q,{color:"currentColor",isSolid:!0,size:22}),sx:{paddingLeft:"8px",paddingRight:"12px"}},y("navigation.loginJoin"))),"marryBaby"===i&&a.createElement("div",{className:"mobile-only",onClick:o,style:{paddingLeft:16}},a.createElement(f,{size:"p3",color:v.mbColors.pink},y("navigation.loginJoin"))),a.createElement(g,{className:"login-btn",size:"md",onClick:o,leftIcon:a.createElement(Q,{color:"currentColor",isSolid:!0,size:22})},y("navigation.loginJoin"))))};var lt="spdlGfq",rt="vgS16jX";const st=({onCareHeaderClick:e,currentUrl:t,careUrlFe:n,btnName:i})=>e?a.createElement(te,{className:lt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t,onClick:t=>e(t),style:{paddingLeft:10,paddingRight:10}},i):a.createElement("a",{href:n,className:`${rt} care-button no-replace-click`},a.createElement(te,{className:lt,size:"md",color:"primary",dataEventCategory:"Care",dataEventAction:"Navigation Bar Click",dataEventLabel:t},i));var ct="y5VJdvw",dt="oVhOSCy",mt="pX8OXTM";const pt=a.createContext({}),gt=t=>{var{children:n}=t,o=e(t,["children"]);const[l,s]=a.useState((()=>o.currentUrl||`https://${"marryBaby"===o.siteType?ae[o.locale||"en-PH"]:k[o.locale||"en-PH"]}${"together"===o.projectType?"/community":"ecom"===o.projectType?"/ecom":"care"===o.projectType?"/care":""}/`));r((()=>{const e=()=>{s(window.location.href)};return window.addEventListener("popstate",e),e(),()=>{window.removeEventListener("popstate",e)}}),[]);const c=(({locale:e,projectType:t,isMobile:a,siteType:n,enableBookingBtn:o})=>i((()=>{const i=!(!a&&"profile"===t),l="discover"===t||"marryBaby"===t||"profile"===t&&"marryBaby"===n,r="marryBaby"!==n&&"marryBaby"!==t&&y.includes(e),s=o&&"marryBaby"!==t&&"discover"===t&&"marryBaby"!==n&&w.includes(e),c="marryBaby"===t||x.includes(e),d="marryBaby"!==n&&E.includes(e),m="marryBaby"!==n&&E.includes(e);let p=M(e,"marryBaby"===n);"undefined"!=typeof window&&(p.includes("//id.")&&(p=p.replace("id.","")),p.includes("//staging-id.")&&(p=p.replace("staging-id.","discover.")));return{enableProfileNavigatorMenu:i,enableSearchBar:l,enableNavCare:r,enableNavCareBooking:s,enableNavTogether:c,enableNavEcom:d,enableProfileEcom:m,enableProfileMyHealth:!0,enableNavDiscover:!0,enableNavHealthTools:!0,enableProfileMySaved:!0,statics:{HOME_PAGE_URL:p,CARE_URL_FE:`${p}/care`,TOGETHER_URL_FE:`${p}/community`,SSO_URL:_(e,"marryBaby"===n),TOGETHER_API:N(),DISCOVER_API:T(e)}}}),[e,t,a]))({locale:o.locale,projectType:o.projectType,isMobile:o.isMobile,siteType:o.siteType,enableBookingBtn:o.enableBookingBtn});return a.createElement(pt.Provider,{value:Object.assign(Object.assign({},o),{configs:Object.assign(Object.assign({},c),o.configs),currentUrl:o.currentUrl||l})},n)};function ht({className:e}){return a.createElement("div",null,a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:e},a.createElement("path",{d:"M18 6L6 18M18 18L6 6",stroke:"#3E3F58",strokeWidth:"1.3",strokeLinecap:"round"})))}function ut({siteType:e,enableSearch:t,className:n}){return"helloSites"===e?a.createElement("div",null,a.createElement("img",{"data-list-type":"Header","data-content-type":"Navigation","data-content-topic":"Hamburger",src:t?b.getAssetPath("hamburgerMenuNewWithSearch.svg"):b.getAssetPath("hamburgerMenuNew.svg"),style:{width:"24px",height:"24px"},alt:"home",className:n,loading:"lazy"})):a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:n},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.34961 15C3.34961 14.641 3.64062 14.35 3.99961 14.35L13.9996 14.35C14.3586 14.35 14.6496 14.641 14.6496 15C14.6496 15.359 14.3586 15.65 13.9996 15.65L3.99961 15.65C3.64062 15.65 3.34961 15.359 3.34961 15ZM3.34961 8.99999C3.34961 8.64101 3.64062 8.34999 3.99961 8.34999L19.9992 8.34999C20.3582 8.34999 20.6492 8.64101 20.6492 8.99999C20.6492 9.35898 20.3582 9.64999 19.9992 9.64999L3.99961 9.64999C3.64062 9.64999 3.34961 9.35898 3.34961 8.99999Z",fill:"#3E3F58"}))}const vt=h.div`
373
373
  position: fixed;
374
374
  z-index: 201;
375
375
  top: calc(100% + 1px);
@@ -0,0 +1 @@
1
+ import{_ as t}from"./tslib.es6-18638601.js";import a from"react";import{useMantineTheme as e}from"@mantine/core";import{T as o}from"./index-6b3801b8.js";const r=r=>{var{as:n,tag:s,color:i,fontWeight:c,dataEventCategory:d,dataEventAction:l,dataEventLabel:m}=r,g=t(r,["as","tag","color","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const v=n||s,b=e();return a.createElement(o,Object.assign({as:v,color:i||b.colors.gray[8],"data-event-category":d,"data-event-action":l,"data-event-label":m,weight:"semibold"===c?"semiBold":"bold",size:s},g))};export{r as H};
@@ -0,0 +1 @@
1
+ import e from"react";import{B as t}from"./index-270da577.js";import{C as a}from"./index-5ced6fc6.js";import l from"dayjs";import{d as n}from"./index-2e127fc2.js";import{t as o}from"./theme-0b94804f.js";import"./index-bfbcb02a.js";import{Flex as i,Stack as r,Box as c}from"@mantine/core";import"@mantine/dates";import"./Subot-e1cfb4c5.js";import"./index-4bffd1b5.js";import{T as m}from"./index-6b3801b8.js";import{u as s}from"./useTranslations-f52266ac.js";import"@mantine/hooks";import"./utils-f8794d89.js";import{L as d}from"./index-c4d4d720.js";import{M as v}from"./index-79eb2a8e.js";import"./translationsContext-39a2587e.js";import"string-format";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),p=({className:i,type:r="main",footerInfo:c,isMobile:d,locale:v})=>{var E,p,y,f,b,N,h,k,F,$,z,T,x,M,C,L,_,j,S,w,H,I,A,B,G,D,q,U;const{t:J}=s(),K=null==c?void 0:c.menu,O=(null===(p=null===(E=null==c?void 0:c.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${i||""}`,style:"mini"===r?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":r},"main"===r?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==c?void 0:c.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(m,{size:"p1",weight:"bold"},null===(f=null==c?void 0:c.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(b=null==c?void 0:c.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(h=null===(N=null==c?void 0:c.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,K&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(F=null===(k=K[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===($=K[1])||void 0===$?void 0:$.menu_title),null===(T=null===(z=K[1])||void 0===z?void 0:z.items)||void 0===T?void 0:T.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(x=K[2])||void 0===x?void 0:x.menu_title),null===(C=null===(M=K[2])||void 0===M?void 0:M.items)||void 0===C?void 0:C.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(m,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(L=null==c?void 0:c.branch)||void 0===L?void 0:L.title),e.createElement("div",{className:"flags"},null===(j=null===(_=null==c?void 0:c.branch)||void 0===_?void 0:_.branch)||void 0===j?void 0:j.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(g,{url:t.flag,isMobile:d,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},O.length?O.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(m,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(S=null==c?void 0:c.general)||void 0===S?void 0:S.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==c?void 0:c.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(w=null==c?void 0:c.menu[1])||void 0===w?void 0:w.menu_title),null===(I=null===(H=null==c?void 0:c.menu[1])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(m,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(m,{size:"sm",className:"linkTitle"},null===(A=null==c?void 0:c.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==c?void 0:c.menu[2])||void 0===B?void 0:B.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(m,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==r&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(m,{size:"sm"},null===(D=null==c?void 0:c.social)||void 0===D?void 0:D.title),e.createElement("div",{className:"icons"},null===(U=null===(q=null==c?void 0:c.social)||void 0===q?void 0:q.socials)||void 0===U?void 0:U.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",f="GS-7mbG",b="qc5bEb3",N="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const $=({logoType:t="marryBaby",footerMenu:n,background:s})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:s||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:b,key:`mbf${l}`},e.createElement(v,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:N,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(i,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(r,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(c,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(m,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(m,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},z=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement($,{footerMenu:n,background:i});export{z as F};
@@ -1,4 +1,4 @@
1
- import{_ as e}from"./tslib.es6-4a7efa3e.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Subot-ade21804.js";import{C as r}from"./index-01efa9be.js";import{t as i}from"./theme-2f0d6367.js";import c from"styled-components";import{I as s,g as d}from"./index-8c1e2ce6.js";import{T as p}from"./index-418f072b.js";const m=c.div`
1
+ import{_ as e}from"./tslib.es6-18638601.js";import t,{useMemo as n,useState as a,useEffect as o}from"react";import{L as l}from"./Subot-e1cfb4c5.js";import{C as r}from"./index-4bffd1b5.js";import{t as i}from"./theme-0b94804f.js";import c from"styled-components";import{I as s,f as d}from"./index-bfbcb02a.js";import{T as p}from"./index-c115846d.js";const m=c.div`
2
2
  display: inline-flex;
3
3
  overflow: hidden;
4
4
  width: ${e=>e.size}px;
@@ -36,9 +36,9 @@ import{_ as e}from"./tslib.es6-4a7efa3e.js";import t,{useMemo as n,useState as a
36
36
  & > * {
37
37
  pointer-events: none;
38
38
  }
39
- `,h=[l.Myanmar,l.Taiwan],v=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:v,dataEventAction:b,dataEventLabel:u,onSelect:x}=a,k=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const f=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":v,"data-event-action":b,"data-event-label":u},k),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),f?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},h.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},h.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
39
+ `,b=[l.Myanmar,l.Taiwan],h=c((a=>{var{icon:o,name:l,className:c,locale:d="en-PH",dataEventCategory:h,dataEventAction:v,dataEventLabel:u,onSelect:x}=a,f=e(a,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const k=n((()=>null==c?void 0:c.includes("selected-week-pill")),[c]);return t.createElement(g,Object.assign({onClick:x,className:c?"week-pill".concat(" non-pointer-event-child ",c):"week-pill non-pointer-event-child","data-event-category":h,"data-event-action":v,"data-event-label":u},f),t.createElement(m,{size:64,iconSize:40,backgroundColor:i.colors.white},t.createElement(s,{src:o||r.getAssetPath("week_default.png"),alt:`week ${l}`})),k?t.createElement(p,Object.assign({type:"semiBold",size:"n1",color:i.colors.gray800},b.includes(d)&&{style:{fontSize:"10px"}}),l):t.createElement(p,Object.assign({size:"n1",color:i.colors.gray600},b.includes(d)&&{style:{fontSize:"10px"}}),l))}))`
40
40
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
41
- `,b=c(d.Slide)`
41
+ `,v=c(d.Slide)`
42
42
  cursor: pointer;
43
43
  > div * {
44
44
  pointer-events: none;
@@ -47,4 +47,4 @@ import{_ as e}from"./tslib.es6-4a7efa3e.js";import t,{useMemo as n,useState as a
47
47
  .centerred-pill-wrapper {
48
48
  padding: 16px 0;
49
49
  }
50
- `,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const h={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,f]=a("");return o((()=>{f(window.location.href)}),[]),t.createElement(u,Object.assign({},h,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(k,{currentUrl:x}),nextControlIcon:t.createElement(k,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(b,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(v,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},k=({isRight:e,currentUrl:n})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":n,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{x as P};
50
+ `,x=n=>{var{data:r,isMobile:i,onSlideChange:c,pillProps:s,locale:d=l.Vietnam,blurFromIndex:p,blurLength:m}=n,g=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]);const b={withControls:!i,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(i?2:4),blurLength:m||(i?1:3),onSlideChange:c},[x,k]=a("");return o((()=>{k(window.location.href)}),[]),t.createElement(u,Object.assign({},b,g,{selectSlideWhenClick:!0,previousControlIcon:t.createElement(f,{currentUrl:x}),nextControlIcon:t.createElement(f,{currentUrl:x,isRight:!0})}),(e=>r.map(((n,a)=>t.createElement(v,Object.assign({key:a,onClick:c,"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x,innerSlideProps:{"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Click","data-event-label":x}},s),t.createElement("div",{className:"centerred-pill-wrapper"},t.createElement(h,{"data-event-category":"Health Tool","data-event-action":"Fetal Week Click","data-event-label":x,locale:d,name:n.name,icon:n.icon,className:a===e?"selected-week-pill pointer-event-child-none":"pointer-event-child-none"})))))))},f=({isRight:e,currentUrl:n})=>t.createElement("svg",{viewBox:"0 0 15 15",fill:"none",width:"16",height:"16",style:e?{transform:"rotate(-90deg)"}:{transform:"rotate(90deg)"},"data-event-category":"Health Tool","data-event-action":"Pregnancy Week Arrow Click","data-event-label":n,className:"pointer-event-child-none"},t.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}));export{x as P};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-18638601.js";import t,{useState as n,useEffect as o}from"react";import{useDebouncedValue as a}from"@mantine/hooks";import{D as s,g as i,B as r,h as l}from"./index-bfbcb02a.js";const m=m=>{var{color:c,withControl:h,onChange:u,value:d,min:g,max:k,isStatic:p,containerClassName:v,containerStyle:b}=m,C=e(m,["color","withControl","onChange","value","min","max","isStatic","containerClassName","containerStyle"]);const[x,E]=n(d||g||0),[f]=a(x,s);return o((()=>{null==u||u(f)}),[f]),o((()=>{E(d)}),[d]),t.createElement(i,{className:v,style:b},h&&t.createElement(r,{type:"button",size:"sm",color:"ghost",onClick:()=>{E((e=>g&&e===g?e:e-1))}},t.createElement("svg",{width:"10",height:"10",fill:"none",viewBox:"0 0 12 3"},t.createElement("path",{d:"M1 1.004h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))),t.createElement(l,Object.assign({thumbSize:21,labelAlwaysOn:!0,radius:"xl",color:c,value:x,onChange:p?()=>null:E,min:g,max:k},C,{className:"hhg-mantine-slider "+(C.className||"")})),h&&t.createElement(r,{type:"button",size:"sm",variant:"ghost",onClick:()=>{E((e=>k&&e===k?e:e+1))}},t.createElement("svg",{width:"16",height:"20",fill:"none",viewBox:"0 0 16 16"},t.createElement("path",{d:"M8 4v8M4 8h8",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))};export{m as S};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-18638601.js";import t from"react";import{Modal as s,CloseButton as l}from"@mantine/core";import{C as o}from"./index-4bffd1b5.js";import{i as a}from"./index-bfbcb02a.js";import{T as n}from"./index-6b3801b8.js";const r=r=>{var{title:i,styles:m}=r,c=e(r,["title","styles"]);const{classes:d}=a(void 0,{name:"Modal",styles:m});return t.createElement(t.Fragment,null,t.createElement(s,Object.assign({centered:!0,classNames:d},c,{withCloseButton:!1,title:c.withCloseButton&&t.createElement(t.Fragment,null,t.createElement(n,{size:"s2",weight:"semiBold",as:"span"},i),t.createElement(l,Object.assign({},c.closeButtonProps,{onClick:()=>{var e;return null===(e=c.onClose)||void 0===e?void 0:e.call(c)},sx:{":focus":{outline:0}}}),t.createElement("img",{loading:"lazy",className:"mantine-Modal-close",src:o.getAssetPath("CloseModal.svg"),style:{width:"16px"}})))})))};export{r as M};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./tslib.es6-18638601.js";import l from"react";import{rem as o,createStyles as t,Text as i}from"@mantine/core";var s;!function(e){e[e.regular=400]="regular",e[e.semiBold=600]="semiBold",e[e.bold=700]="bold"}(s||(s={}));const a={fontSize:{base:[o(16),o(16)],lg:[o(18),o(16)],md:[o(18),o(16)],sm:[o(16),o(14)],xs:[o(14),o(12)],s1:[o(22),o(18)],s2:[o(18),o(16)],s3:[o(16),o(14)],s4:[o(14),o(12)],s5:[o(12),o(12)],p1:[o(18),o(16)],p2:[o(16),o(16)],p3:[o(16),o(14)],p4:[o(14),o(12)],p5:[o(12),o(12)],c1:[o(16),o(14)],c2:[o(14),o(12)],n1:[o(12),o(12)],label1:[o(14),o(14)],label2:[o(12),o(12)],h1:[o(40),o(26)],h2:[o(32),o(24)],h3:[o(26),o(20)],h4:[o(22),o(18)],h5:[o(18),o(16)],h6:[o(16),o(14)]},lineHeight:{base:[o(24),o(24)],lg:[o(32),o(28)],md:[o(32),o(28)],sm:[o(24),o(22)],xs:[o(24),o(18)],s1:[o(32),o(26)],s2:[o(28),o(24)],s3:[o(24),o(24)],s4:[o(22),o(18)],s5:[o(18),o(18)],p1:[o(28),o(28)],p2:[o(24),o(24)],p3:[o(24),o(22)],p4:[o(22),o(18)],c1:[o(24),o(22)],c2:[o(22),o(18)],n1:[o(18),o(18)],label1:[o(22),o(22)],label2:[o(18),o(18)],h1:[o(52),o(34)],h2:[o(42),o(32)],h3:[o(36),o(26)],h4:[o(32),o(26)],h5:[o(28),o(24)],h6:[o(24),o(22)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2],h1:[-1.2,-.9],h2:[-1,-.8],h3:[-.8,-.7],h4:[-.6,-.6],h5:[-.2,-.2],h6:[0,-.2]},fontWeightBySize:{s1:s.semiBold,s2:s.semiBold,s3:s.semiBold,s4:s.semiBold,h1:s.bold,h2:s.bold,h3:s.bold,h4:s.bold,h5:s.bold,h6:s.bold},fontWeight:s},n=Object.assign({},a);var d=t(((e,l)=>{var o,t,i,a,d,r,v,c,h,g;const p=Object.assign({},n),m=null===(o=p.fontSize[null==l?void 0:l.size])||void 0===o?void 0:o[0],b=null===(t=p.lineHeight[null==l?void 0:l.size])||void 0===t?void 0:t[0],u=null!==(d=null===(a=null===(i=p.letterSpacing)||void 0===i?void 0:i[null==l?void 0:l.size])||void 0===a?void 0:a[0])&&void 0!==d?d:0,z=null===(r=p.fontSize[null==l?void 0:l.size])||void 0===r?void 0:r[1],f=null===(v=p.lineHeight[null==l?void 0:l.size])||void 0===v?void 0:v[1],y=null!==(g=null===(h=null===(c=p.letterSpacing)||void 0===c?void 0:c[null==l?void 0:l.size])||void 0===h?void 0:h[1])&&void 0!==g?g:0;return{root:Object.assign(Object.assign({},(null==l?void 0:l.size)&&{fontWeight:"label"===(null==l?void 0:l.as)?s.semiBold:p.fontWeightBySize[null==l?void 0:l.size]||p.fontWeight[l.weight],fontSize:`${m}`,lineHeight:`${b}`,letterSpacing:u,[e.fn.smallerThan("sm")]:{fontSize:`${z}`,lineHeight:`${f}`,letterSpacing:y}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const r=o=>{var t,{size:s,color:a,weight:n="regular",as:r="p",styles:v,className:c,dataEventCategory:h,dataEventAction:g,dataEventLabel:p}=o,m=e(o,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:b,classes:u,cx:z}=d({size:s,weight:"caption"===n?"bold":n,as:r},{name:"Text",styles:v});return l.createElement(i,Object.assign({className:z(u.root,c),color:a||("label"===r?b.colors.gray[6]:"mb"===(null===(t=null==b?void 0:b.other)||void 0===t?void 0:t.template)?b.colors.delftGray[7]:b.colors.gray[7]),component:r,"data-event-category":h,"data-event-action":g,"data-event-label":p,classNames:{root:Object.assign(Object.assign({},m.wordWrap?{"word-wrap":m.wordWrap}:void 0),m.isUppercase||"caption"===n?{"text-transform":"uppercase"}:void 0)}},m))};export{n as O,r as T};
@@ -0,0 +1 @@
1
+ import{a as e,_ as t}from"./tslib.es6-18638601.js";import s,{useReducer as a,useState as r,useEffect as i}from"react";import{Stack as n,Input as c}from"@mantine/core";import{c as o,S as d}from"./index-bfbcb02a.js";import"@mantine/dates";import{c as l}from"./index-2e127fc2.js";import{L as p}from"./Subot-e1cfb4c5.js";import"./index-4bffd1b5.js";import"./index-6b3801b8.js";import"./theme-0b94804f.js";import{u as v}from"./useTranslations-f52266ac.js";import"@mantine/hooks";import"./utils-f8794d89.js";import{M as m}from"./utils-ea81fe2e.js";const b={provinceByName:{},provinces:[],districts:[],wards:[],selectedProvince:"",selectedDistrict:"",selectedWard:""},u=(e,t)=>{switch(t.type){case"SET_DATA":return Object.assign(Object.assign({},e),t.payload);case"SET_DISTRICTS":return Object.assign(Object.assign({},e),{districts:t.payload});case"SET_WARDS":return Object.assign(Object.assign({},e),{wards:t.payload});case"SELECT_PROVINCE":return Object.assign(Object.assign({},e),{selectedProvince:t.payload,selectedDistrict:"",selectedWard:""});case"SELECT_DISTRICT":return Object.assign(Object.assign({},e),{selectedDistrict:t.payload,selectedWard:""});case"SELECT_WARD":return Object.assign(Object.assign({},e),{selectedWard:t.payload});default:return e}},h=({provinces:t})=>{const[s,n]=a(u,b),{provinceByName:c,provinces:o,districts:d,wards:v,selectedProvince:h,selectedDistrict:y,selectedWard:E}=s,[g,j]=r();i((()=>{e(void 0,void 0,void 0,(function*(){var e,s,a,r;try{const i=yield fetch((r=process.env.UNIFY_LOCALE||p.Vietnam,`${l}/cities-data-${m[r]}.json`)).then((e=>e.json()));j(i);const{list:c}=i,o=t?((e,t)=>{const s={};for(const[,e]of Object.entries(t)){const{id:t}=e;t&&(s[t]=e)}const a={};return e.map((e=>{a[e.name]=s[e.id]})),a})(t,c):c,d=Object.keys(o),v=Object.keys((null===(e=c[d[0]])||void 0===e?void 0:e.list)||{}),b=Object.keys((null===(a=null===(s=c[d[0]])||void 0===s?void 0:s[v[0]])||void 0===a?void 0:a.list)||{});n({type:"SET_DATA",payload:{provinceByName:o,provinces:d,districts:v,wards:b}})}catch(e){console.error("Error fetching address data:",e)}}))}),[process.env.UNIFY_LOCALE]);return{provinces:o,districts:d,wards:v,selectedProvince:h,selectedDistrict:y,selectedWard:E,handleProvinceChange:e=>{var t;const s=Object.keys((null===(t=c[e])||void 0===t?void 0:t.list)||{});n({type:"SET_DISTRICTS",payload:s}),n({type:"SET_WARDS",payload:[]}),n({type:"SELECT_PROVINCE",payload:e})},handleDistrictChange:e=>{var t,s;const a=Object.keys((null===(s=null===(t=c[h])||void 0===t?void 0:t.list[e])||void 0===s?void 0:s.list)||{});n({type:"SET_WARDS",payload:a}),n({type:"SELECT_DISTRICT",payload:e})},handleWardChange:e=>{n({type:"SELECT_WARD",payload:e})}}},y=e=>{var{error:a,provinces:l,placeholder:p}=e,m=t(e,["error","provinces","placeholder"]);const{t:b}=v(),{provinces:u,districts:y,wards:E,selectedProvince:g,selectedDistrict:j,selectedWard:C,handleProvinceChange:f,handleDistrictChange:S,handleWardChange:T}=h({provinces:l}),[O,D]=r("");return i((()=>{g&&j&&C&&O?m.onChange({selectedProvince:g,selectedDistrict:j,selectedWard:C,extraInfo:O}):m.onChange(null)}),[g,j,C,O]),s.createElement(o.Wrapper,Object.assign({withAsterisk:!0},m),s.createElement(n,null,s.createElement(d,{placeholder:(null==p?void 0:p.province)||b("onboarding.similac.input.city"),data:l?u:u.sort(),searchable:!0,onChange:f,value:g}),s.createElement(d,{placeholder:(null==p?void 0:p.district)||b("onboarding.similac.input.district"),data:y.sort(),searchable:!0,onChange:S,value:j,disabled:!g}),s.createElement(d,{placeholder:(null==p?void 0:p.ward)||b("onboarding.similac.input.ward"),searchable:!0,data:E.sort(),value:C,onChange:T,disabled:!g||!j}),s.createElement(o,{placeholder:(null==p?void 0:p.address)||b("onboarding.similac.input.no"),disabled:!g||!j||!C,value:O,onChange:D,style:{marginBottom:0}})),s.createElement(c.Error,{size:"md"},a))};export{y as A};
@@ -1 +1 @@
1
- import{_ as e}from"./tslib.es6-4a7efa3e.js";import t from"react";import{S as s,a}from"./index.styled-c2100f19.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};
1
+ import{_ as e}from"./tslib.es6-18638601.js";import t from"react";import{S as s,a}from"./index.styled-1ab6b28c.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};