@hhgtech/hhg-components 1.27.65-beta-3 → 1.27.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 (454) hide show
  1. package/build/babyGrowth.js +24 -24
  2. package/build/cache.js +1 -1
  3. package/build/care.js +1 -1
  4. package/build/components/atoms/icons/ACharacter.d.ts +4 -0
  5. package/build/components/atoms/icons/Activities.d.ts +4 -0
  6. package/build/components/atoms/icons/ArrowDown.d.ts +4 -0
  7. package/build/components/atoms/icons/ArrowLeft.d.ts +4 -0
  8. package/build/components/atoms/icons/ArrowRight.d.ts +4 -0
  9. package/build/components/atoms/icons/Article.d.ts +4 -0
  10. package/build/components/atoms/icons/Ask.d.ts +4 -0
  11. package/build/components/atoms/icons/BabyBoyMB.d.ts +4 -0
  12. package/build/components/atoms/icons/BabyGirlMB.d.ts +4 -0
  13. package/build/components/atoms/icons/BarChart.d.ts +4 -0
  14. package/build/components/atoms/icons/Booking.d.ts +4 -0
  15. package/build/components/atoms/icons/Bookmark.d.ts +4 -0
  16. package/build/components/atoms/icons/Boy.d.ts +4 -0
  17. package/build/components/atoms/icons/Business.d.ts +4 -0
  18. package/build/components/atoms/icons/Calendar.d.ts +4 -0
  19. package/build/components/atoms/icons/CalendarMB.d.ts +4 -0
  20. package/build/components/atoms/icons/CameraCircle.d.ts +4 -0
  21. package/build/components/atoms/icons/Chat.d.ts +4 -0
  22. package/build/components/atoms/icons/Check.d.ts +4 -0
  23. package/build/components/atoms/icons/CheckActiveMB.d.ts +4 -0
  24. package/build/components/atoms/icons/CircleBorder.d.ts +4 -0
  25. package/build/components/atoms/icons/Clickable.d.ts +4 -0
  26. package/build/components/atoms/icons/ClinicPin.d.ts +4 -0
  27. package/build/components/atoms/icons/Close.d.ts +4 -0
  28. package/build/components/atoms/icons/Comment.d.ts +4 -0
  29. package/build/components/atoms/icons/Community.d.ts +4 -0
  30. package/build/components/atoms/icons/CrossLogo.d.ts +4 -0
  31. package/build/components/atoms/icons/Current.d.ts +4 -0
  32. package/build/components/atoms/icons/EditSpecial.d.ts +4 -0
  33. package/build/components/atoms/icons/Endorse.d.ts +4 -0
  34. package/build/components/atoms/icons/Envelop.d.ts +4 -0
  35. package/build/components/atoms/icons/Family.d.ts +4 -0
  36. package/build/components/atoms/icons/Font.d.ts +4 -0
  37. package/build/components/atoms/icons/FullScreen.d.ts +4 -0
  38. package/build/components/atoms/icons/GenderBoy.d.ts +4 -0
  39. package/build/components/atoms/icons/GenderChooseBoy.d.ts +4 -0
  40. package/build/components/atoms/icons/GenderChooseGirl.d.ts +4 -0
  41. package/build/components/atoms/icons/GenderGirl.d.ts +4 -0
  42. package/build/components/atoms/icons/Girl.d.ts +4 -0
  43. package/build/components/atoms/icons/GroupPeople.d.ts +4 -0
  44. package/build/components/atoms/icons/GroupPeopleSolid.d.ts +4 -0
  45. package/build/components/atoms/icons/Heart.d.ts +4 -0
  46. package/build/components/atoms/icons/Home.d.ts +4 -0
  47. package/build/components/atoms/icons/Hospital.d.ts +4 -0
  48. package/build/components/atoms/icons/Info.d.ts +4 -0
  49. package/build/components/atoms/icons/Kebab.d.ts +4 -0
  50. package/build/components/atoms/icons/Like.d.ts +4 -0
  51. package/build/components/atoms/icons/Link.d.ts +4 -0
  52. package/build/components/atoms/icons/Minus.d.ts +4 -0
  53. package/build/components/atoms/icons/Missed.d.ts +4 -0
  54. package/build/components/atoms/icons/MyCommunity.d.ts +4 -0
  55. package/build/components/atoms/icons/MyHealth.d.ts +4 -0
  56. package/build/components/atoms/icons/Oppose.d.ts +4 -0
  57. package/build/components/atoms/icons/Parents.d.ts +4 -0
  58. package/build/components/atoms/icons/Plus.d.ts +4 -0
  59. package/build/components/atoms/icons/PlusSpecial.d.ts +4 -0
  60. package/build/components/atoms/icons/Post.d.ts +4 -0
  61. package/build/components/atoms/icons/Recalculate.d.ts +4 -0
  62. package/build/components/atoms/icons/Reply.d.ts +4 -0
  63. package/build/components/atoms/icons/Scale.d.ts +4 -0
  64. package/build/components/atoms/icons/Screener.d.ts +4 -0
  65. package/build/components/atoms/icons/Share.d.ts +4 -0
  66. package/build/components/atoms/icons/ShieldCheck.d.ts +4 -0
  67. package/build/components/atoms/icons/Smile.d.ts +4 -0
  68. package/build/components/atoms/icons/Sparkle.d.ts +4 -0
  69. package/build/components/atoms/icons/Star.d.ts +4 -0
  70. package/build/components/atoms/icons/Stethoscope.d.ts +4 -0
  71. package/build/components/atoms/icons/StethoscopeActive.d.ts +4 -0
  72. package/build/components/atoms/icons/ToggleOff.d.ts +4 -0
  73. package/build/components/atoms/icons/ToggleOn.d.ts +4 -0
  74. package/build/components/atoms/icons/Trash.d.ts +4 -0
  75. package/build/components/atoms/icons/Upcoming.d.ts +4 -0
  76. package/build/components/atoms/icons/User.d.ts +4 -0
  77. package/build/components/atoms/icons/UserCheck.d.ts +4 -0
  78. package/build/components/atoms/icons/Vaccinated.d.ts +4 -0
  79. package/build/components/atoms/icons/Video.d.ts +4 -0
  80. package/build/components/atoms/icons/VideoCall.d.ts +4 -0
  81. package/build/components/atoms/icons/Woman.d.ts +4 -0
  82. package/build/components/atoms/icons/index.d.ts +70 -0
  83. package/build/components/atoms/index.d.ts +2 -0
  84. package/build/components.js +1 -1
  85. package/build/constants.js +1 -1
  86. package/build/{core-5ce65629.js → core-61ff975f.js} +1 -1
  87. package/build/{dataTransform-e16523e1.js → dataTransform-ddf3ebc8.js} +1 -1
  88. package/build/ecom.js +1 -1
  89. package/build/esm/babyGrowth.js +24 -24
  90. package/build/esm/cache.js +1 -1
  91. package/build/esm/care.js +1 -1
  92. package/build/esm/components/atoms/icons/ACharacter.d.ts +4 -0
  93. package/build/esm/components/atoms/icons/Activities.d.ts +4 -0
  94. package/build/esm/components/atoms/icons/ArrowDown.d.ts +4 -0
  95. package/build/esm/components/atoms/icons/ArrowLeft.d.ts +4 -0
  96. package/build/esm/components/atoms/icons/ArrowRight.d.ts +4 -0
  97. package/build/esm/components/atoms/icons/Article.d.ts +4 -0
  98. package/build/esm/components/atoms/icons/Ask.d.ts +4 -0
  99. package/build/esm/components/atoms/icons/BabyBoyMB.d.ts +4 -0
  100. package/build/esm/components/atoms/icons/BabyGirlMB.d.ts +4 -0
  101. package/build/esm/components/atoms/icons/BarChart.d.ts +4 -0
  102. package/build/esm/components/atoms/icons/Booking.d.ts +4 -0
  103. package/build/esm/components/atoms/icons/Bookmark.d.ts +4 -0
  104. package/build/esm/components/atoms/icons/Boy.d.ts +4 -0
  105. package/build/esm/components/atoms/icons/Business.d.ts +4 -0
  106. package/build/esm/components/atoms/icons/Calendar.d.ts +4 -0
  107. package/build/esm/components/atoms/icons/CalendarMB.d.ts +4 -0
  108. package/build/esm/components/atoms/icons/CameraCircle.d.ts +4 -0
  109. package/build/esm/components/atoms/icons/Chat.d.ts +4 -0
  110. package/build/esm/components/atoms/icons/Check.d.ts +4 -0
  111. package/build/esm/components/atoms/icons/CheckActiveMB.d.ts +4 -0
  112. package/build/esm/components/atoms/icons/CircleBorder.d.ts +4 -0
  113. package/build/esm/components/atoms/icons/Clickable.d.ts +4 -0
  114. package/build/esm/components/atoms/icons/ClinicPin.d.ts +4 -0
  115. package/build/esm/components/atoms/icons/Close.d.ts +4 -0
  116. package/build/esm/components/atoms/icons/Comment.d.ts +4 -0
  117. package/build/esm/components/atoms/icons/Community.d.ts +4 -0
  118. package/build/esm/components/atoms/icons/CrossLogo.d.ts +4 -0
  119. package/build/esm/components/atoms/icons/Current.d.ts +4 -0
  120. package/build/esm/components/atoms/icons/EditSpecial.d.ts +4 -0
  121. package/build/esm/components/atoms/icons/Endorse.d.ts +4 -0
  122. package/build/esm/components/atoms/icons/Envelop.d.ts +4 -0
  123. package/build/esm/components/atoms/icons/Family.d.ts +4 -0
  124. package/build/esm/components/atoms/icons/Font.d.ts +4 -0
  125. package/build/esm/components/atoms/icons/FullScreen.d.ts +4 -0
  126. package/build/esm/components/atoms/icons/GenderBoy.d.ts +4 -0
  127. package/build/esm/components/atoms/icons/GenderChooseBoy.d.ts +4 -0
  128. package/build/esm/components/atoms/icons/GenderChooseGirl.d.ts +4 -0
  129. package/build/esm/components/atoms/icons/GenderGirl.d.ts +4 -0
  130. package/build/esm/components/atoms/icons/Girl.d.ts +4 -0
  131. package/build/esm/components/atoms/icons/GroupPeople.d.ts +4 -0
  132. package/build/esm/components/atoms/icons/GroupPeopleSolid.d.ts +4 -0
  133. package/build/esm/components/atoms/icons/Heart.d.ts +4 -0
  134. package/build/esm/components/atoms/icons/Home.d.ts +4 -0
  135. package/build/esm/components/atoms/icons/Hospital.d.ts +4 -0
  136. package/build/esm/components/atoms/icons/Info.d.ts +4 -0
  137. package/build/esm/components/atoms/icons/Kebab.d.ts +4 -0
  138. package/build/esm/components/atoms/icons/Like.d.ts +4 -0
  139. package/build/esm/components/atoms/icons/Link.d.ts +4 -0
  140. package/build/esm/components/atoms/icons/Minus.d.ts +4 -0
  141. package/build/esm/components/atoms/icons/Missed.d.ts +4 -0
  142. package/build/esm/components/atoms/icons/MyCommunity.d.ts +4 -0
  143. package/build/esm/components/atoms/icons/MyHealth.d.ts +4 -0
  144. package/build/esm/components/atoms/icons/Oppose.d.ts +4 -0
  145. package/build/esm/components/atoms/icons/Parents.d.ts +4 -0
  146. package/build/esm/components/atoms/icons/Plus.d.ts +4 -0
  147. package/build/esm/components/atoms/icons/PlusSpecial.d.ts +4 -0
  148. package/build/esm/components/atoms/icons/Post.d.ts +4 -0
  149. package/build/esm/components/atoms/icons/Recalculate.d.ts +4 -0
  150. package/build/esm/components/atoms/icons/Reply.d.ts +4 -0
  151. package/build/esm/components/atoms/icons/Scale.d.ts +4 -0
  152. package/build/esm/components/atoms/icons/Screener.d.ts +4 -0
  153. package/build/esm/components/atoms/icons/Share.d.ts +4 -0
  154. package/build/esm/components/atoms/icons/ShieldCheck.d.ts +4 -0
  155. package/build/esm/components/atoms/icons/Smile.d.ts +4 -0
  156. package/build/esm/components/atoms/icons/Sparkle.d.ts +4 -0
  157. package/build/esm/components/atoms/icons/Star.d.ts +4 -0
  158. package/build/esm/components/atoms/icons/Stethoscope.d.ts +4 -0
  159. package/build/esm/components/atoms/icons/StethoscopeActive.d.ts +4 -0
  160. package/build/esm/components/atoms/icons/ToggleOff.d.ts +4 -0
  161. package/build/esm/components/atoms/icons/ToggleOn.d.ts +4 -0
  162. package/build/esm/components/atoms/icons/Trash.d.ts +4 -0
  163. package/build/esm/components/atoms/icons/Upcoming.d.ts +4 -0
  164. package/build/esm/components/atoms/icons/User.d.ts +4 -0
  165. package/build/esm/components/atoms/icons/UserCheck.d.ts +4 -0
  166. package/build/esm/components/atoms/icons/Vaccinated.d.ts +4 -0
  167. package/build/esm/components/atoms/icons/Video.d.ts +4 -0
  168. package/build/esm/components/atoms/icons/VideoCall.d.ts +4 -0
  169. package/build/esm/components/atoms/icons/Woman.d.ts +4 -0
  170. package/build/esm/components/atoms/icons/index.d.ts +70 -0
  171. package/build/esm/components/atoms/index.d.ts +2 -0
  172. package/build/esm/components.js +1 -1
  173. package/build/esm/constants.js +1 -1
  174. package/build/esm/{core-2bf230b5.js → core-6414f2d4.js} +1 -1
  175. package/build/esm/{dataTransform-423ae038.js → dataTransform-b94e3aee.js} +1 -1
  176. package/build/esm/ecom.js +1 -1
  177. package/build/esm/fixedBottomAdBlock-c8836ec0.js +1 -0
  178. package/build/esm/footer.js +1 -1
  179. package/build/esm/gAssets.js +1 -1
  180. package/build/esm/getDynamicHealthTool-eb782b15.js +1 -0
  181. package/build/esm/{getSocialList-4860f09e.js → getSocialList-aaa752e2.js} +1 -1
  182. package/build/esm/hooks.js +1 -1
  183. package/build/esm/i18n.js +1 -1
  184. package/build/esm/i18nV2.js +1 -1
  185. package/build/esm/index-10f7d6ce.js +1 -0
  186. package/build/esm/{index-c5c8213f.js → index-12ee8075.js} +1 -1
  187. package/build/esm/{index-b80f64a8.js → index-1a6b9bf8.js} +1 -1
  188. package/build/esm/index-21f5399a.js +1 -0
  189. package/build/esm/{index-760aa324.js → index-2c730cb7.js} +3 -3
  190. package/build/esm/{index-28a5b47c.js → index-2cbb91fc.js} +1 -1
  191. package/build/esm/index-39b81b05.js +1 -0
  192. package/build/esm/{index-3cc7d705.js → index-41008b29.js} +1 -1
  193. package/build/esm/{index-9120d289.js → index-4b0ef54c.js} +1 -1
  194. package/build/esm/{index-e517c440.js → index-5c434bb6.js} +1 -1
  195. package/build/esm/index-60fda043.js +177 -0
  196. package/build/esm/{index-19deafce.js → index-7ebc51af.js} +1 -1
  197. package/build/esm/{index-ce3e5f06.js → index-82bbc66f.js} +1 -1
  198. package/build/esm/index-8748dfa9.js +1 -0
  199. package/build/esm/{index-77b4f905.js → index-88ef51c5.js} +1 -1
  200. package/build/esm/index-8f25b568.js +1 -0
  201. package/build/esm/{index-1fc926a0.js → index-aaa21fe3.js} +165 -165
  202. package/build/esm/index-b3d4a581.js +1 -0
  203. package/build/esm/{index-4ac86528.js → index-b6759d80.js} +1 -1
  204. package/build/esm/index-b875869c.js +1 -0
  205. package/build/esm/index-c8dba4f5.js +75 -0
  206. package/build/esm/index-edc1afa4.js +1 -0
  207. package/build/esm/index.js +1 -1
  208. package/build/esm/{index.styled-7f2fdbbe.js → index.styled-5476f29d.js} +12 -12
  209. package/build/esm/{index.styled-b8f7b97f.js → index.styled-643c5432.js} +4 -4
  210. package/build/esm/{index.styled-796c6900.js → index.styled-836fd476.js} +5 -5
  211. package/build/esm/lead.js +1 -1
  212. package/build/esm/mantine.js +1 -1
  213. package/build/esm/misc.js +1 -1
  214. package/build/esm/navigation.js +1 -1
  215. package/build/esm/onboarding.js +1 -1
  216. package/build/esm/onboardingV2.js +30 -30
  217. package/build/esm/pwg.js +3 -3
  218. package/build/esm/{routing-a68746eb.js → routing-c0afa7e9.js} +1 -1
  219. package/build/esm/{screenSizeContext-0e73fe6a.js → screenSizeContext-52dca1c1.js} +3 -3
  220. package/build/esm/together.js +1 -1
  221. package/build/esm/{types-b8a29775.js → types-03bad73d.js} +38 -38
  222. package/build/esm/types-d1d93d38.js +3078 -0
  223. package/build/esm/types.js +1 -1
  224. package/build/esm/useHealthToolCache-368193af.js +1 -0
  225. package/build/esm/{useRafState-cdf70831.js → useRafState-e75f8c2a.js} +1 -1
  226. package/build/esm/{useTranslations-dd2d6fb8.js → useTranslations-9b20e6ae.js} +1 -1
  227. package/build/esm/{utils-789a4f6c.js → utils-0f0f8a65.js} +1 -1
  228. package/build/esm/utils-eb99e074.js +1210 -0
  229. package/build/esm/vaccination.js +49 -49
  230. package/build/fixedBottomAdBlock-50e0c6e7.js +1 -0
  231. package/build/footer.js +1 -1
  232. package/build/gAssets.js +1 -1
  233. package/build/getDynamicHealthTool-77b2fdff.js +1 -0
  234. package/build/{getSocialList-863abe54.js → getSocialList-5fa8b388.js} +1 -1
  235. package/build/hooks.js +1 -1
  236. package/build/i18n.js +1 -1
  237. package/build/i18nV2.js +1 -1
  238. package/build/{index-562c8ad1.js → index-0ae8b4f6.js} +1 -1
  239. package/build/index-0b053912.js +1 -0
  240. package/build/{index-30ab0fde.js → index-231d6002.js} +1 -1
  241. package/build/{index-ecedf4f7.js → index-2886a3c8.js} +1 -1
  242. package/build/index-289ad9e0.js +177 -0
  243. package/build/{index-c23e9fd7.js → index-34a133c5.js} +1 -1
  244. package/build/{index-ed85d480.js → index-47b639f5.js} +1 -1
  245. package/build/{index-36a05bd4.js → index-58e95296.js} +1 -1
  246. package/build/index-59ab2395.js +1 -0
  247. package/build/index-5d8d0022.js +75 -0
  248. package/build/index-60a89e08.js +1 -0
  249. package/build/index-62c2b63c.js +1 -0
  250. package/build/{index-da2681fa.js → index-9eb1bb15.js} +1 -1
  251. package/build/{index-7808dad3.js → index-a1ad5e20.js} +1 -1
  252. package/build/{index-0e65afc0.js → index-a735af4e.js} +1 -1
  253. package/build/index-c5304592.js +1 -0
  254. package/build/{index-b0ad3f82.js → index-c9e2c09e.js} +180 -180
  255. package/build/index-f1180250.js +1 -0
  256. package/build/index-f171ee7b.js +1 -0
  257. package/build/{index-3b0a3555.js → index-f749b350.js} +1 -1
  258. package/build/{index-6d3aee69.js → index-fd0070ac.js} +1 -1
  259. package/build/index-feb4a679.js +53 -0
  260. package/build/index.js +1 -1
  261. package/build/{index.styled-3cee115f.js → index.styled-09de705b.js} +1 -1
  262. package/build/{index.styled-1b91a778.js → index.styled-4ffcafdf.js} +5 -5
  263. package/build/{index.styled-1570bf34.js → index.styled-7d26043a.js} +2 -2
  264. package/build/lead.js +1 -1
  265. package/build/mantine.js +1 -1
  266. package/build/misc.js +1 -1
  267. package/build/navigation.js +1 -1
  268. package/build/onboarding.js +1 -1
  269. package/build/onboardingV2.js +16 -16
  270. package/build/pwg.js +3 -3
  271. package/build/{routing-d567e7eb.js → routing-cd5fa39d.js} +1 -1
  272. package/build/{screenSizeContext-66054b97.js → screenSizeContext-8258e20d.js} +2 -2
  273. package/build/together.js +1 -1
  274. package/build/{types-1858eaba.js → types-154fa467.js} +129 -129
  275. package/build/{types-b3eed263.js → types-8ae7ea23.js} +8 -8
  276. package/build/types.js +1 -1
  277. package/build/useHealthToolCache-1f1233f0.js +1 -0
  278. package/build/{useRafState-830ff97f.js → useRafState-3eb56e94.js} +1 -1
  279. package/build/{useTranslations-f01d6d19.js → useTranslations-746faee6.js} +1 -1
  280. package/build/utils-704e1fb0.js +1210 -0
  281. package/build/{utils-b5f7dcb0.js → utils-9e7d76ce.js} +1 -1
  282. package/build/vaccination.js +12 -12
  283. package/package.json +1 -2
  284. package/build/esm/fixedBottomAdBlock-31657e55.js +0 -1
  285. package/build/esm/getDynamicHealthTool-735f4be6.js +0 -1
  286. package/build/esm/index-02bb2167.js +0 -1
  287. package/build/esm/index-19b2cf50.js +0 -1
  288. package/build/esm/index-1a108d73.js +0 -1
  289. package/build/esm/index-1a40b806.js +0 -1
  290. package/build/esm/index-649ed0c4.js +0 -93
  291. package/build/esm/index-706ee5c7.js +0 -1
  292. package/build/esm/index-8c81bc2c.js +0 -1
  293. package/build/esm/index-92f01b16.js +0 -112
  294. package/build/esm/index-afb61a90.js +0 -1
  295. package/build/esm/index-c9bfaa9d.js +0 -1
  296. package/build/esm/index-d7f49a6c.js +0 -177
  297. package/build/esm/index-e2c575d5.js +0 -7
  298. package/build/esm/index-f39317db.js +0 -1
  299. package/build/esm/index.styled-16a5c8fa.js +0 -69
  300. package/build/esm/types-042e256f.js +0 -3078
  301. package/build/esm/useHealthToolCache-123cc775.js +0 -1
  302. package/build/esm/utils-31938c22.js +0 -1007
  303. package/build/fixedBottomAdBlock-e7d58699.js +0 -1
  304. package/build/getDynamicHealthTool-a0a206df.js +0 -1
  305. package/build/index-16542215.js +0 -1
  306. package/build/index-2e5e0efb.js +0 -1
  307. package/build/index-34e3309d.js +0 -7
  308. package/build/index-3dab170a.js +0 -1
  309. package/build/index-3f5c4a6f.js +0 -112
  310. package/build/index-419b4607.js +0 -177
  311. package/build/index-58534eec.js +0 -93
  312. package/build/index-95b80f83.js +0 -53
  313. package/build/index-96fbe3cc.js +0 -1
  314. package/build/index-aa631015.js +0 -1
  315. package/build/index-ba4d81d3.js +0 -1
  316. package/build/index-c729d160.js +0 -1
  317. package/build/index-ddaa73dc.js +0 -1
  318. package/build/index.styled-0471acf6.js +0 -69
  319. package/build/useHealthToolCache-efd84da9.js +0 -1
  320. package/build/utils-b960f07f.js +0 -1007
  321. /package/build/{BMI_BOYS.percentile.monthly-abbfdaab.js → BMI_BOYS.percentile.monthly-4c35f4eb.js} +0 -0
  322. /package/build/{BMI_BOYS.percentile.weekly-84949084.js → BMI_BOYS.percentile.weekly-c12d9d12.js} +0 -0
  323. /package/build/{BMI_BOYS.percentile.yearly-74022a28.js → BMI_BOYS.percentile.yearly-cf06cdf8.js} +0 -0
  324. /package/build/{BMI_BOYS.zscore.monthly-8fd36add.js → BMI_BOYS.zscore.monthly-04bd7d21.js} +0 -0
  325. /package/build/{BMI_BOYS.zscore.weekly-084d423f.js → BMI_BOYS.zscore.weekly-608dde70.js} +0 -0
  326. /package/build/{BMI_BOYS.zscore.yearly-d0baa6d2.js → BMI_BOYS.zscore.yearly-2969016b.js} +0 -0
  327. /package/build/{BMI_GIRLS.percentile.monthly-740420a2.js → BMI_GIRLS.percentile.monthly-fdaa4bf9.js} +0 -0
  328. /package/build/{BMI_GIRLS.percentile.weekly-5f75e211.js → BMI_GIRLS.percentile.weekly-e4ad8a59.js} +0 -0
  329. /package/build/{BMI_GIRLS.percentile.yearly-c8a22f7e.js → BMI_GIRLS.percentile.yearly-5f23729f.js} +0 -0
  330. /package/build/{BMI_GIRLS.zscore.monthly-4d5bcaaf.js → BMI_GIRLS.zscore.monthly-e16dcf49.js} +0 -0
  331. /package/build/{BMI_GIRLS.zscore.weekly-ccb2f5c0.js → BMI_GIRLS.zscore.weekly-3e6c6f8e.js} +0 -0
  332. /package/build/{BMI_GIRLS.zscore.yearly-27cdab27.js → BMI_GIRLS.zscore.yearly-51be2760.js} +0 -0
  333. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4034f002.js → HEAD CIRCUM_BOYS.percentile.monthly-acf9d75e.js} +0 -0
  334. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-777c7478.js → HEAD CIRCUM_BOYS.percentile.weekly-a42e30d2.js} +0 -0
  335. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a062b097.js → HEAD CIRCUM_BOYS.percentile.yearly-c2aee72d.js} +0 -0
  336. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-2d3b6757.js → HEAD CIRCUM_BOYS.zscore.monthly-63598e8f.js} +0 -0
  337. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8b0749bc.js → HEAD CIRCUM_BOYS.zscore.weekly-dfe67b38.js} +0 -0
  338. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a9b5079b.js → HEAD CIRCUM_BOYS.zscore.yearly-4c7d7ffb.js} +0 -0
  339. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-ad49090d.js → HEAD CIRCUM_GIRLS.percentile.monthly-16ac5b57.js} +0 -0
  340. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-bbac7cef.js → HEAD CIRCUM_GIRLS.percentile.weekly-ab0c019d.js} +0 -0
  341. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-710d3184.js → HEAD CIRCUM_GIRLS.percentile.yearly-84cd4579.js} +0 -0
  342. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-1138116a.js → HEAD CIRCUM_GIRLS.zscore.monthly-eb9b2c58.js} +0 -0
  343. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-ae8666c1.js → HEAD CIRCUM_GIRLS.zscore.weekly-4d8a6629.js} +0 -0
  344. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-267e1493.js → HEAD CIRCUM_GIRLS.zscore.yearly-f6743e6e.js} +0 -0
  345. /package/build/{HEIGHT_BOYS.percentile.monthly-cac04ce5.js → HEIGHT_BOYS.percentile.monthly-8b7bad51.js} +0 -0
  346. /package/build/{HEIGHT_BOYS.percentile.weekly-dfcd3eb2.js → HEIGHT_BOYS.percentile.weekly-82ac3290.js} +0 -0
  347. /package/build/{HEIGHT_BOYS.percentile.yearly-979562ed.js → HEIGHT_BOYS.percentile.yearly-fe701a84.js} +0 -0
  348. /package/build/{HEIGHT_BOYS.zscore.monthly-50b79a4e.js → HEIGHT_BOYS.zscore.monthly-72e83ddd.js} +0 -0
  349. /package/build/{HEIGHT_BOYS.zscore.weekly-452da947.js → HEIGHT_BOYS.zscore.weekly-25a55791.js} +0 -0
  350. /package/build/{HEIGHT_BOYS.zscore.yearly-efcf576b.js → HEIGHT_BOYS.zscore.yearly-bb883f51.js} +0 -0
  351. /package/build/{HEIGHT_GIRLS.percentile.monthly-a6de7173.js → HEIGHT_GIRLS.percentile.monthly-df517287.js} +0 -0
  352. /package/build/{HEIGHT_GIRLS.percentile.weekly-828cb0df.js → HEIGHT_GIRLS.percentile.weekly-55e683ec.js} +0 -0
  353. /package/build/{HEIGHT_GIRLS.percentile.yearly-5ee491e9.js → HEIGHT_GIRLS.percentile.yearly-57ba0874.js} +0 -0
  354. /package/build/{HEIGHT_GIRLS.zscore.monthly-35b70f33.js → HEIGHT_GIRLS.zscore.monthly-fa20b926.js} +0 -0
  355. /package/build/{HEIGHT_GIRLS.zscore.weekly-774ccccd.js → HEIGHT_GIRLS.zscore.weekly-238d51fa.js} +0 -0
  356. /package/build/{HEIGHT_GIRLS.zscore.yearly-e79dcb48.js → HEIGHT_GIRLS.zscore.yearly-9be439dd.js} +0 -0
  357. /package/build/{Onboarding-a92f0a9f.js → Onboarding-0f34a59b.js} +0 -0
  358. /package/build/{Visible-c38ffbd3.js → Visible-32c2f741.js} +0 -0
  359. /package/build/{WEIGHT_BOYS.percentile.monthly-bee5b2ee.js → WEIGHT_BOYS.percentile.monthly-5f9f0033.js} +0 -0
  360. /package/build/{WEIGHT_BOYS.percentile.weekly-d7f28444.js → WEIGHT_BOYS.percentile.weekly-a650f4c6.js} +0 -0
  361. /package/build/{WEIGHT_BOYS.percentile.yearly-f3efe23c.js → WEIGHT_BOYS.percentile.yearly-8b3e932f.js} +0 -0
  362. /package/build/{WEIGHT_BOYS.zscore.monthly-e3928159.js → WEIGHT_BOYS.zscore.monthly-f6ea5ef0.js} +0 -0
  363. /package/build/{WEIGHT_BOYS.zscore.weekly-07fe32d1.js → WEIGHT_BOYS.zscore.weekly-8501d281.js} +0 -0
  364. /package/build/{WEIGHT_BOYS.zscore.yearly-796e15a2.js → WEIGHT_BOYS.zscore.yearly-37b4c92b.js} +0 -0
  365. /package/build/{WEIGHT_GIRLS.percentile.monthly-bf1c1990.js → WEIGHT_GIRLS.percentile.monthly-075dab69.js} +0 -0
  366. /package/build/{WEIGHT_GIRLS.percentile.weekly-d3ef27d1.js → WEIGHT_GIRLS.percentile.weekly-e2edf197.js} +0 -0
  367. /package/build/{WEIGHT_GIRLS.percentile.yearly-09d13254.js → WEIGHT_GIRLS.percentile.yearly-5217896a.js} +0 -0
  368. /package/build/{WEIGHT_GIRLS.zscore.monthly-1e18f8bd.js → WEIGHT_GIRLS.zscore.monthly-72bda1a4.js} +0 -0
  369. /package/build/{WEIGHT_GIRLS.zscore.weekly-a5ff30bd.js → WEIGHT_GIRLS.zscore.weekly-8abdcf60.js} +0 -0
  370. /package/build/{WEIGHT_GIRLS.zscore.yearly-094a6ba9.js → WEIGHT_GIRLS.zscore.yearly-54847b59.js} +0 -0
  371. /package/build/{constants-e0827804.js → constants-c0a78122.js} +0 -0
  372. /package/build/{cookieHelper-564d815d.js → cookieHelper-451f5230.js} +0 -0
  373. /package/build/{dataTransform-b9c46868.js → dataTransform-8666ad3c.js} +0 -0
  374. /package/build/esm/{BMI_BOYS.percentile.monthly-e66f0011.js → BMI_BOYS.percentile.monthly-550cee76.js} +0 -0
  375. /package/build/esm/{BMI_BOYS.percentile.weekly-eb32e7ed.js → BMI_BOYS.percentile.weekly-d6f5c063.js} +0 -0
  376. /package/build/esm/{BMI_BOYS.percentile.yearly-0e575fc0.js → BMI_BOYS.percentile.yearly-87456966.js} +0 -0
  377. /package/build/esm/{BMI_BOYS.zscore.monthly-bf3c2449.js → BMI_BOYS.zscore.monthly-7146bd0a.js} +0 -0
  378. /package/build/esm/{BMI_BOYS.zscore.weekly-53fca4c2.js → BMI_BOYS.zscore.weekly-5b7548d1.js} +0 -0
  379. /package/build/esm/{BMI_BOYS.zscore.yearly-42ef22b2.js → BMI_BOYS.zscore.yearly-1ffe9026.js} +0 -0
  380. /package/build/esm/{BMI_GIRLS.percentile.monthly-b3a242fa.js → BMI_GIRLS.percentile.monthly-49da28cd.js} +0 -0
  381. /package/build/esm/{BMI_GIRLS.percentile.weekly-f1bce6cc.js → BMI_GIRLS.percentile.weekly-c02de120.js} +0 -0
  382. /package/build/esm/{BMI_GIRLS.percentile.yearly-72d1371e.js → BMI_GIRLS.percentile.yearly-0e1baf92.js} +0 -0
  383. /package/build/esm/{BMI_GIRLS.zscore.monthly-fb466f3e.js → BMI_GIRLS.zscore.monthly-c012aefb.js} +0 -0
  384. /package/build/esm/{BMI_GIRLS.zscore.weekly-2d57cb76.js → BMI_GIRLS.zscore.weekly-0716bd51.js} +0 -0
  385. /package/build/esm/{BMI_GIRLS.zscore.yearly-b0c0e245.js → BMI_GIRLS.zscore.yearly-cf8d49ca.js} +0 -0
  386. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-061e4509.js → HEAD CIRCUM_BOYS.percentile.monthly-722a4b99.js} +0 -0
  387. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-4d8c2acb.js → HEAD CIRCUM_BOYS.percentile.weekly-ace1e64d.js} +0 -0
  388. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e12a63e6.js → HEAD CIRCUM_BOYS.percentile.yearly-47135bc8.js} +0 -0
  389. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-56658903.js → HEAD CIRCUM_BOYS.zscore.monthly-c9576e3c.js} +0 -0
  390. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-56936847.js → HEAD CIRCUM_BOYS.zscore.weekly-bc2d5d58.js} +0 -0
  391. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-d3dd8226.js → HEAD CIRCUM_BOYS.zscore.yearly-0e9ebd52.js} +0 -0
  392. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-676def55.js → HEAD CIRCUM_GIRLS.percentile.monthly-e29eb3dc.js} +0 -0
  393. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-d11060b6.js → HEAD CIRCUM_GIRLS.percentile.weekly-9cb6fa29.js} +0 -0
  394. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-dbb625d6.js → HEAD CIRCUM_GIRLS.percentile.yearly-80ed885e.js} +0 -0
  395. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-78ee7bac.js → HEAD CIRCUM_GIRLS.zscore.monthly-b407513d.js} +0 -0
  396. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-58dbf003.js → HEAD CIRCUM_GIRLS.zscore.weekly-78b7f298.js} +0 -0
  397. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-bb0d452a.js → HEAD CIRCUM_GIRLS.zscore.yearly-b131b462.js} +0 -0
  398. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-82fc6c87.js → HEIGHT_BOYS.percentile.monthly-d8691421.js} +0 -0
  399. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f663dd4b.js → HEIGHT_BOYS.percentile.weekly-9390b6a1.js} +0 -0
  400. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-419d7763.js → HEIGHT_BOYS.percentile.yearly-bd54f37f.js} +0 -0
  401. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9cd70434.js → HEIGHT_BOYS.zscore.monthly-a1fab353.js} +0 -0
  402. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b3c11bd3.js → HEIGHT_BOYS.zscore.weekly-669ed954.js} +0 -0
  403. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b51883d4.js → HEIGHT_BOYS.zscore.yearly-82f6f43a.js} +0 -0
  404. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-7c35c241.js → HEIGHT_GIRLS.percentile.monthly-814be810.js} +0 -0
  405. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8bbcfb96.js → HEIGHT_GIRLS.percentile.weekly-010dcf1e.js} +0 -0
  406. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-1be73281.js → HEIGHT_GIRLS.percentile.yearly-a79ecbcb.js} +0 -0
  407. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a8c0815e.js → HEIGHT_GIRLS.zscore.monthly-2df9bfd5.js} +0 -0
  408. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-41b137ea.js → HEIGHT_GIRLS.zscore.weekly-d211829c.js} +0 -0
  409. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-288c2f21.js → HEIGHT_GIRLS.zscore.yearly-d0f75e06.js} +0 -0
  410. /package/build/esm/{Onboarding-b3b756e4.js → Onboarding-fc405333.js} +0 -0
  411. /package/build/esm/{Visible-cdc46608.js → Visible-700c1343.js} +0 -0
  412. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-070eaef4.js → WEIGHT_BOYS.percentile.monthly-38da672d.js} +0 -0
  413. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-36be5b3f.js → WEIGHT_BOYS.percentile.weekly-83fc61c3.js} +0 -0
  414. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-51d55b9c.js → WEIGHT_BOYS.percentile.yearly-bed6a695.js} +0 -0
  415. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cc8dac99.js → WEIGHT_BOYS.zscore.monthly-dbe1e04c.js} +0 -0
  416. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-0c80f235.js → WEIGHT_BOYS.zscore.weekly-49ac02b5.js} +0 -0
  417. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ac09bf54.js → WEIGHT_BOYS.zscore.yearly-af774602.js} +0 -0
  418. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-f4a1201f.js → WEIGHT_GIRLS.percentile.monthly-f6988f20.js} +0 -0
  419. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-a9e86a68.js → WEIGHT_GIRLS.percentile.weekly-13e5c5dd.js} +0 -0
  420. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-091f50fc.js → WEIGHT_GIRLS.percentile.yearly-30a1ebe5.js} +0 -0
  421. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b067ad8c.js → WEIGHT_GIRLS.zscore.monthly-8db73a09.js} +0 -0
  422. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-e97c6eee.js → WEIGHT_GIRLS.zscore.weekly-06652b73.js} +0 -0
  423. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-b77d59e5.js → WEIGHT_GIRLS.zscore.yearly-182a9ba3.js} +0 -0
  424. /package/build/esm/{constants-0203584c.js → constants-89b1f447.js} +0 -0
  425. /package/build/esm/{cookieHelper-82e4804a.js → cookieHelper-3ec4004b.js} +0 -0
  426. /package/build/esm/{dataTransform-fb4c53af.js → dataTransform-021b735a.js} +0 -0
  427. /package/build/esm/{index-f59e660a.js → index-92515314.js} +0 -0
  428. /package/build/esm/{isProduction-67bfce41.js → isProduction-79229787.js} +0 -0
  429. /package/build/esm/{localizeNumberFormat-a9bcec42.js → localizeNumberFormat-4d37e13d.js} +0 -0
  430. /package/build/esm/{normalizeLink-61b50be3.js → normalizeLink-8a470c57.js} +0 -0
  431. /package/build/esm/{paths-ba5b5704.js → paths-f8a8d6c1.js} +0 -0
  432. /package/build/esm/{theme-e5a2af78.js → theme-1d50c2fc.js} +0 -0
  433. /package/build/esm/{translationsContext-9a516d2f.js → translationsContext-a146651a.js} +0 -0
  434. /package/build/esm/{tslib.es6-7499f805.js → tslib.es6-be1fe7ec.js} +0 -0
  435. /package/build/esm/{types-078bf4cd.js → types-4eea9a33.js} +0 -0
  436. /package/build/esm/{useIsInit-a5d5caa1.js → useIsInit-18622e0d.js} +0 -0
  437. /package/build/esm/{useOutsideClick-52af6041.js → useOutsideClick-17b0079f.js} +0 -0
  438. /package/build/esm/{useScrollbarSize-da6e2734.js → useScrollbarSize-7d793bc9.js} +0 -0
  439. /package/build/esm/{useUniqueId-e0f15e89.js → useUniqueId-a5db6a3e.js} +0 -0
  440. /package/build/esm/{utils-807e9e64.js → utils-753c99ba.js} +0 -0
  441. /package/build/{index-c8397211.js → index-80878b58.js} +0 -0
  442. /package/build/{isProduction-04773e4e.js → isProduction-44e4f060.js} +0 -0
  443. /package/build/{localizeNumberFormat-df337a1d.js → localizeNumberFormat-24e296d5.js} +0 -0
  444. /package/build/{normalizeLink-b6d77c51.js → normalizeLink-30d6e282.js} +0 -0
  445. /package/build/{paths-ba9530da.js → paths-37d2d655.js} +0 -0
  446. /package/build/{theme-5ea8f407.js → theme-b743018a.js} +0 -0
  447. /package/build/{translationsContext-827aea0c.js → translationsContext-9aec3be3.js} +0 -0
  448. /package/build/{tslib.es6-3654fe6b.js → tslib.es6-c966cb40.js} +0 -0
  449. /package/build/{types-2760530d.js → types-43c7d97f.js} +0 -0
  450. /package/build/{useIsInit-ae52e47a.js → useIsInit-b331bf20.js} +0 -0
  451. /package/build/{useOutsideClick-6cf39f6f.js → useOutsideClick-a0e68608.js} +0 -0
  452. /package/build/{useScrollbarSize-3cd60cdb.js → useScrollbarSize-256c3bae.js} +0 -0
  453. /package/build/{useUniqueId-7e1687ce.js → useUniqueId-9fe03f21.js} +0 -0
  454. /package/build/{utils-4229ba9b.js → utils-2b06a129.js} +0 -0
@@ -1,1007 +0,0 @@
1
- import e,{css as t}from"styled-components";import{t as o}from"./theme-e5a2af78.js";import{M as r}from"./utils-807e9e64.js";import{_ as a,a as i}from"./tslib.es6-7499f805.js";import n,{useState as s,forwardRef as l,createContext as d,useEffect as c,Fragment as p}from"react";import{createStyles as u}from"@mantine/core";import{L as h}from"./index-b80f64a8.js";import{C as m}from"./index-649ed0c4.js";import{T as g}from"./index-afb61a90.js";import{s as b,e as _,b as x,f as E,c as v,g as f,a as w,d as y}from"./screenSizeContext-0e73fe6a.js";import T from"react-keyed-flatten-children";import{g as O}from"./cookieHelper-82e4804a.js";import A from"slugify";import"./index-28a5b47c.js";import I from"string-format";import{i as L}from"./isProduction-67bfce41.js";const S=e.div`
2
- background-color: var(--background-color, transparent);
3
- color: white;
4
- cursor: pointer;
5
- img {
6
- --width: var(--width-prop, 40px);
7
- --height: var(--height-prop, 40px);
8
- width: var(--width);
9
- height: var(--height);
10
- }
11
- &[data-has-max='true'] {
12
- img {
13
- max-width: var(--width);
14
- max-height: var(--height);
15
- }
16
- }
17
-
18
- &[data-avatar-type='square'] {
19
- img {
20
- --width: var(--width-prop, 72px);
21
- --height: var(--height-prop, 72px);
22
- border-radius: ${e=>e.theme.borderRadius};
23
- }
24
- }
25
-
26
- &[data-avatar-type='rounded'] {
27
- img {
28
- border-radius: 50%;
29
- }
30
- }
31
-
32
- &[data-custom-size='true'] {
33
- display: flex;
34
- overflow: hidden;
35
- overflow: hidden;
36
- width: var(--size);
37
- height: var(--size);
38
- align-items: center;
39
- justify-content: center;
40
- background-size: cover;
41
- font-size: calc(var(--size) / 2);
42
- font-weight: bold;
43
- &[data-avatar-type='square'] {
44
- border-radius: ${e=>e.theme.borderRadius};
45
- }
46
- &[data-avatar-type='rounded'] {
47
- border-radius: 50%;
48
- img {
49
- --width: 100%;
50
- --height: 100%;
51
- }
52
- }
53
- img {
54
- object-fit: cover;
55
- }
56
- }
57
- `,$=e.div`
58
- position: relative;
59
-
60
- > div {
61
- width: max-content;
62
- position: relative;
63
- }
64
-
65
- span {
66
- font-weight: ${e=>e.theme.sizes.fwBold};
67
- display: flex;
68
- justify-content: center;
69
- align-items: center;
70
-
71
- ${e=>((e,t,r,a)=>{let i="";if("numeric"===e)switch(t){case"medium":i="\n height: 16px;\n font-size: 11px;\n padding: 1px 6px;\n ";case"large":i="\n height: 24px;\n font-size: 13px;\n padding: 1px 10px;\n "}let n,s="";r&&(s="\n position: absolute;\n top: 0;\n left: 75%;\n "),r&&(n=`\n left: 70%;\n\n ${"large"===t?"\n top: -7px;\n ":"medium"===t?"\n top: -2px;\n width: 16px;\n height: 16px;\n ":""}\n `);let l="";switch(a){case"primary":l=`\n background: ${o.colors.primary50};\n color: ${o.colors.primary600}; \n `;break;case"error":l=`\n background: ${o.colors.error};\n color: white;\n `}switch(e){case"dot":return`\n ${s}\n width: 8px;\n height: 8px;\n font-size: 0px;\n border-radius: 50%;\n ${l}\n `;case"numeric":return`\n ${s}\n width: max-content;\n border-radius: 32px;\n ${i}\n ${n}\n ${l}\n `}})(e.notificationType,e.notificationSize,e.hasIcon,e.notificationColor)}
72
- }
73
-
74
- ${e=>e.hasIcon&&"\n svg {\n width: 40px;\n height: 40px;\n }\n "}
75
- `,k=e.h4`
76
- position: relative;
77
- line-height: 18px;
78
-
79
- &:after {
80
- position: absolute;
81
- top: 1px;
82
- left: 0;
83
- width: 4px;
84
- height: 18px;
85
- background-color: ${e=>e.theme.colors.primaryBase};
86
- content: '';
87
- }
88
-
89
- &[data-size='lg'] {
90
- font-size: 18px;
91
- padding-left: 12px;
92
- }
93
-
94
- &[data-size='sm'] {
95
- font-size: 14px;
96
- padding-left: 8px;
97
-
98
- &::after {
99
- width: 2px;
100
- height: 15px;
101
- }
102
- }
103
-
104
- &[data-type='bold'] {
105
- font-weight: ${e=>e.theme.sizes.fwBold};
106
- }
107
- &[data-type='semiBold'] {
108
- font-weight: ${e=>e.theme.sizes.fwSemiBold};
109
- }
110
-
111
- &[data-uppercase] {
112
- text-transform: uppercase;
113
- }
114
-
115
- ${r.mbDown} {
116
- &[data-size='lg'] {
117
- font-size: 16px;
118
- }
119
- }
120
- `,R=e.hr`
121
- border-width: 1px;
122
- border-color: ${e=>e.theme.colors.neutral200};
123
- border-style: ${e=>e.dividerType};
124
- `,C=e.div`
125
- position: relative;
126
- box-sizing: border-box;
127
- border: 1px solid ${e=>e.theme.colors.gray200};
128
- background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;
129
- background-position: right 16px center;
130
- border-radius: ${e=>e.theme.borderRadius};
131
-
132
- &[data-has-icons='true'] {
133
- border: none;
134
- background: ${e=>e.theme.colors.gray100};
135
-
136
- img,
137
- svg {
138
- display: inline-block;
139
- max-width: 16px;
140
- margin-right: 6px;
141
- }
142
-
143
- span {
144
- vertical-align: middle;
145
- display: inline-block;
146
- }
147
-
148
- &:hover {
149
- box-shadow: none;
150
- }
151
- > div {
152
- position: relative;
153
- width: 100%;
154
- display: flex;
155
- align-items: center;
156
- box-sizing: border-box;
157
- }
158
- > div::after {
159
- content: '';
160
- right: 12px;
161
- top: 50%;
162
- background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
163
- width: 10px;
164
- height: 8px;
165
- position: absolute;
166
- background-repeat: no-repeat;
167
- transform: translateY(-50%);
168
- }
169
- }
170
-
171
- &:hover {
172
- box-shadow: 0 0 2px 2px
173
- ${e=>e.theme.colors.primary200};
174
- }
175
- `,P=e.div`
176
- padding: 12px 18px 12px 16px;
177
- cursor: pointer;
178
- &[data-dropdown-open] {
179
- padding: 11px 15px 11px 15px;
180
- border: 1px solid ${e=>e.theme.colors.primaryBase};
181
- border-radius: ${e=>e.theme.borderRadius};
182
- box-shadow: 0 0 2px 2px
183
- ${e=>e.theme.colors.primary200};
184
- }
185
-
186
- & > svg {
187
- height: 16px;
188
- width: 16px;
189
- }
190
- `,N=e.ul`
191
- position: absolute;
192
- top: 100%;
193
- right: 0;
194
- left: 0;
195
- display: block;
196
- margin-top: 4px;
197
- background: ${e=>e.theme.colors.white};
198
- border-radius: ${e=>e.theme.borderRadius};
199
- box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
200
- -2px 2px 5px rgba(67, 86, 100, 0.123689);
201
- cursor: pointer;
202
-
203
- &[data-has-icons='true'] {
204
- background: white;
205
- box-shadow: none;
206
- border: 1px solid ${e=>e.theme.colors.gray200};
207
- filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
208
- }
209
- `,D=e.li`
210
- margin: 8px;
211
- padding: 12px 18px 12px 16px;
212
- border-radius: ${e=>e.theme.borderRadius};
213
- display: flex;
214
- &:hover,
215
- :active {
216
- background: ${e=>e.theme.colors.gray100};
217
- }
218
- `,G=e.div`
219
- display: flex;
220
- align-items: center;
221
- margin-right: 8px;
222
-
223
- & > svg {
224
- height: 16px;
225
- width: 16px;
226
- }
227
- `,M=e.div`
228
- --columns-count: ${e=>e.theme.columns};
229
- --columns-count-desktop: ${e=>e.theme.columnsDesktop};
230
-
231
- --grid-template-columns: ${e=>e.theme.gridTemplateColumns};
232
- --grid-template-columns-desktop: ${e=>e.theme.gridTemplateColumnsDesktop};
233
-
234
- --columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));
235
- --columns-desktop: var(--grid-template-columns-desktop, repeat(var(--columns-count-desktop), 1fr));
236
-
237
- --justify-children: ${e=>e.theme.justifyChildren};
238
- --grid-gap: ${e=>e.theme.gap};
239
- --align-items: ${e=>e.theme.alignItems};
240
-
241
- display: grid;
242
- grid-template-columns: var(--columns);
243
- grid-gap: var(--grid-gap);
244
- align-items: var(--align-items);
245
-
246
- ${r.tdUp} {
247
- grid-template-columns: var(--columns-desktop);
248
- }
249
-
250
- > * {
251
- justify-self: var(--justify-children);
252
- }
253
- `;var B="xzO2I0N";const U=u((()=>({root:{}}))),z=e=>{var t,{as:o,tag:r,className:i,children:s,title:l,color:d,style:c,fontWeight:p,dataEventCategory:u,dataEventAction:h,dataEventLabel:m}=e,g=a(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]);const b=o||r,{theme:_}=U(void 0,{name:"Heading"});return n.createElement(b,Object.assign({title:l,style:Object.assign({"--custom-heading-color":d||("mb"===(null===(t=null==_?void 0:_.other)||void 0===t?void 0:t.template)?_.colors.gray[9]:_.colors.gray[8])},c),"data-tag":r,"data-font-weight":p||void 0,"data-event-category":u,"data-event-action":h,"data-event-label":m,className:`${B} ${i||""}`},g),s)},H=e.div`
254
- display: flex;
255
- align-items: center;
256
- justify-content: space-between;
257
- user-select: none;
258
- li {
259
- transition: all 0.3s ease;
260
- }
261
- [data-page-active] {
262
- background: ${e=>e.theme.colors.primaryBase};
263
- color: ${e=>e.theme.colors.white};
264
-
265
- > a {
266
- color: ${e=>e.theme.colors.white};
267
- }
268
- }
269
- `,j=e.div`
270
- display: flex;
271
- width: 32px;
272
- height: 32px;
273
- box-sizing: border-box;
274
- align-items: center;
275
- justify-content: center;
276
- border: 1px solid ${e=>e.theme.colors.gray200};
277
- margin: 0 2px;
278
- border-radius: 4px;
279
- color: ${e=>e.theme.colors.gray800};
280
- cursor: pointer;
281
- font-size: 14px;
282
- font-weight: ${e=>e.theme.sizes.fwBold};
283
-
284
- &[data-last-page] {
285
- border: none;
286
- background-color: ${e=>e.theme.colors.gray100};
287
- cursor: not-allowed;
288
- pointer-events: none;
289
-
290
- svg {
291
- path {
292
- stroke: ${e=>e.theme.colors.gray300};
293
- }
294
- }
295
- }
296
- `,F=e.li`
297
- display: flex;
298
- width: 32px;
299
- height: 32px;
300
- align-items: center;
301
- justify-content: center;
302
- margin: 0 2px;
303
- border-radius: 4px;
304
- color: ${e=>e.theme.colors.gray800};
305
- cursor: pointer;
306
- font-size: 14px;
307
- font-weight: ${e=>e.theme.sizes.fwBold};
308
-
309
- > a {
310
- color: ${e=>e.theme.colors.gray800};
311
- text-decoration: unset;
312
- display: block;
313
- width: 100%;
314
- height: 100%;
315
- line-height: 32px;
316
- text-align: center;
317
- }
318
- `,K=e.div`
319
- position: relative;
320
- width: 100%;
321
-
322
- &[data-has-error] {
323
- input {
324
- border-color: ${e=>e.theme.colors.red700};
325
- }
326
- }
327
-
328
- input {
329
- width: 100%;
330
- padding: 12px 16px;
331
- border: solid 1px ${e=>e.theme.colors.gray200};
332
- border-radius: ${e=>e.theme.borderRadius};
333
-
334
- &:active,
335
- &:focus,
336
- .focused & {
337
- border-color: ${e=>e.theme.colors.primaryBase};
338
- box-shadow: 0px 0px 2px 2px
339
- ${e=>e.theme.colors.primary200};
340
- }
341
-
342
- &:disabled {
343
- background-color: ${e=>e.theme.colors.gray100};
344
- cursor: not-allowed;
345
- }
346
- }
347
-
348
- &[data-has-action-icon] {
349
- input {
350
- padding: 12px 48px 12px 16px;
351
- }
352
- }
353
- &[data-has-display-icon] {
354
- input {
355
- padding: 12px 16px 12px 48px;
356
- }
357
- }
358
-
359
- &[data-has-action-icon][data-has-display-icon] {
360
- input {
361
- padding: 12px 48px;
362
- }
363
- }
364
-
365
- &[data-size='lg'] {
366
- input {
367
- font-size: 16px;
368
- font-weight: ${e=>e.theme.sizes.fwRegular};
369
- ${r.mbDown} {
370
- font-size: 22px;
371
- line-height: 1.2;
372
- }
373
-
374
- ${r.mbUp} {
375
- font-size: 26px;
376
- line-height: 1.2;
377
- }
378
- }
379
- }
380
- &[data-size='md'] {
381
- input {
382
- font-weight: ${e=>e.theme.sizes.fwRegular};
383
- ${r.mbDown} {
384
- font-size: 14px;
385
- line-height: 1.2;
386
- }
387
-
388
- ${r.mbUp} {
389
- font-size: 16px;
390
- line-height: 1.2;
391
- }
392
- }
393
- }
394
- &[data-size='sm'] {
395
- input {
396
- font-weight: ${e=>e.theme.sizes.fwRegular};
397
- ${r.mbDown} {
398
- font-size: 13px;
399
- line-height: 1.5;
400
- }
401
-
402
- ${r.mbUp} {
403
- font-size: 13px;
404
- line-height: 1.5;
405
- }
406
- }
407
- }
408
- `;e.label`
409
- display: inline-block;
410
- margin-bottom: 4px;
411
- color: ${e=>e.theme.colors.gray600};
412
- font-weight: ${e=>e.theme.sizes.fwBold};
413
- `;const V=e.label`
414
- color: ${e=>e.theme.colors.red700};
415
- font-weight: ${e=>e.theme.sizes.fwRegular};
416
- `,Y=e.div`
417
- position: absolute;
418
- top: 50%;
419
- right: 16px;
420
- display: inline-flex;
421
- cursor: pointer;
422
- transform: translateY(-50%);
423
- `,W=e.div`
424
- position: absolute;
425
- top: 50%;
426
- left: 16px;
427
- display: inline-flex;
428
- cursor: default;
429
- transform: translateY(-50%);
430
- `,X=n.forwardRef(((e,t)=>{var{name:o,errorMessage:r,autoComplete:i="off",defaultValue:l,actionIcon:d,displayIcon:c,isDeleteAction:p,onActionClick:u,label:m,placeholder:g,className:b,onChange:_,onKeyPress:x,isDisabled:E,CustomInput:v,size:f,style:w,autoFocus:y,type:T="text",isNumerousKeyboard:O=!1,onFocus:A,enterKeyHint:I,nativeOnChange:L}=e,S=a(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]);const[$,k]=s(l);return n.createElement(K,{"data-size":f,className:b,"data-has-action-icon":!!d||void 0,"data-has-display-icon":!!c||void 0,"data-has-error":r&&r.length>0||void 0,style:w},m&&n.createElement(h,{size:"label2",htmlFor:o,className:"inputLabel"},m),n.createElement("div",{style:{position:"relative"}},v||n.createElement("input",Object.assign({id:o,name:o,placeholder:g,onChange:null!=L?L:e=>{return t=e.target.value,k(t),void _(t);var t},onKeyPress:x,type:T,"aria-label":T,disabled:E,value:$,autoComplete:i,ref:t,autoFocus:y,inputMode:O||"number"===T?"numeric":T,pattern:O?"[0-9]*":".*",onFocus:A,enterKeyHint:I},S)),c&&n.createElement(W,{className:"displayIcon"},c),d&&n.createElement(Y,{className:"actionIcon",onClick:()=>{var e;p&&(k(""),null===(e=t.current)||void 0===e||e.focus()),u&&u()}},d)),r&&r.length>0&&n.createElement(V,{className:"errorLabel"},r))}));X.displayName="PureInput";const q=e.div`
431
- &[data-type='circle'] {
432
- position: relative;
433
- display: flex;
434
- align-items: center;
435
- cursor: pointer;
436
-
437
- input {
438
- position: relative;
439
- width: 20px;
440
- height: 20px;
441
- flex-shrink: 0;
442
- border: solid 1px ${e=>e.theme.colors.gray500};
443
- margin-right: 8px;
444
- border-radius: 100%;
445
- cursor: inherit;
446
- transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
447
-
448
- &:hover,
449
- &:active {
450
- border-color: ${e=>e.theme.colors.primaryBase};
451
- box-shadow: 0 0 2px 2px
452
- ${e=>e.theme.colors.primary600};
453
- }
454
-
455
- &:checked {
456
- display: flex;
457
- align-items: center;
458
- justify-content: center;
459
- border-color: ${e=>e.theme.colors.primaryBase};
460
- &:after {
461
- position: absolute;
462
- top: 50%;
463
- left: 50%;
464
- width: 14px;
465
- height: 14px;
466
- //left: 3px;
467
- //position: absolute;
468
- //top: 4px;
469
- background-color: ${e=>e.theme.colors.primaryBase};
470
- border-radius: 50%;
471
- content: '';
472
- transform: translate(-50%, -50%);
473
- }
474
- }
475
- }
476
-
477
- label {
478
- width: calc(100% - 24px);
479
- cursor: inherit;
480
- font-weight: ${e=>e.theme.sizes.fwRegular};
481
- }
482
-
483
- &[data-disabled='true'] {
484
- color: ${e=>e.theme.colors.gray300};
485
- cursor: not-allowed;
486
- input {
487
- border-color: ${e=>e.theme.colors.gray300};
488
-
489
- &:hover {
490
- border-color: ${e=>e.theme.colors.gray300};
491
- box-shadow: none;
492
- }
493
- }
494
- }
495
- }
496
-
497
- &[data-type='rectangle'] {
498
- input {
499
- display: none;
500
-
501
- &:checked ~ label {
502
- border-color: ${e=>e.theme.colors.primary600};
503
- background-color: ${e=>e.theme.colors.primary600};
504
- color: ${e=>e.theme.colors.white};
505
- font-weight: ${e=>e.theme.sizes.fwBold};
506
- }
507
- }
508
-
509
- label {
510
- display: inline-block;
511
- width: auto;
512
- box-sizing: border-box;
513
- flex-shrink: 0;
514
- border: solid 1px ${e=>e.theme.colors.gray300};
515
- border-radius: ${e=>e.theme.borderRadius};
516
- color: ${e=>e.theme.colors.gray800};
517
- cursor: pointer;
518
- font-weight: ${e=>e.theme.sizes.fwRegular};
519
- text-align: center;
520
-
521
- &:hover,
522
- &:active {
523
- border-color: ${e=>e.theme.colors.primary600};
524
- }
525
- }
526
-
527
- &[data-disabled='true'] {
528
- input {
529
- cursor: not-allowed;
530
- }
531
-
532
- label {
533
- color: ${e=>e.theme.colors.gray300};
534
- cursor: not-allowed;
535
-
536
- &:hover {
537
- border-color: ${e=>e.theme.colors.gray300};
538
- }
539
- }
540
- }
541
-
542
- &[data-size='small'] {
543
- label {
544
- height: 32px;
545
- padding: 6px 12px;
546
- font-size: 13px;
547
- }
548
- }
549
-
550
- &[data-size='large'] {
551
- label {
552
- height: 48px;
553
- padding: 13px 16px;
554
- font-size: 14px;
555
- }
556
- }
557
- }
558
- `,J=e.div`
559
- --padding-horizontal: 8px;
560
- --pading-vertical: 2px;
561
- display: flex;
562
- align-items: center;
563
- justify-content: center;
564
- padding: var(--pading-vertical) var(--padding-horizontal);
565
- border-radius: 24px;
566
-
567
- ${e=>"sponsored"===e.tagType&&`\n --offset-size: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: content-box;\n position: relative;\n box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);\n border-radius: 0 4px 18px 0;\n height: 24px;\n width: 90px;\n border-left: var(--offset-size) solid ${o.colors.accentLight};\n padding: 0;\n margin-left: calc(var(--offset-size) * -1);\n\n p {\n font-weight: ${o.sizes.fwBold};\n color: var(\n --text-props-color,\n ${o.colors.secondaryDark}\n );\n font-size: 11px;\n margin-left: calc(var(--offset-size) * -1);\n }\n\n &::after {\n width: calc(var(--offset-size) * 2);\n height: var(--offset-size);\n background: ${o.colors.accentMain};\n position: absolute;\n left: calc(var(--offset-size) * -1);\n bottom: calc(var(--offset-size) * -1);\n clip-path: polygon(0 1%, 100% 0%, 100% 100%);\n content: '';\n }\n `}
568
-
569
- ${e=>e.isInline&&"\n display: inline-block;\n "}
570
-
571
- ${e=>e.tagHasMorePadding&&"\n &[data-has-more-padding] {\n padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);\n }\n "}
572
-
573
- p {
574
- ${e=>e.tagIsLight?"\n color: var(--text-props-color, #000);\n ":`\n color: var(--text-props-color, ${o.colors.white});\n `}
575
- }
576
-
577
- ${e=>((e,t)=>{switch(e){case"yellow":return`\n background: ${t?o.colors.yellow50:o.colors.yellow600};\n p {\n color: var(\n --text-props-color,\n ${o.colors.gray800}\n );\n }\n `;case"standard":return`\n background: ${o.colors.white};\n border: 1px solid ${o.colors.gray200};\n \n p {\n color: var(\n --text-props-color,\n ${o.colors.gray800}\n );\n }\n \n &:hover {\n background: ${o.colors.gray100};\n }\n `;case"red":return`\n background: ${t?o.colors.red50:o.colors.red500};\n `;case"green":return`\n background: ${t?o.colors.green50:o.colors.green500};\n `;case"blue":return`\n background: ${t?o.colors.primary50:o.colors.primaryBase};\n `;case"teal":return`\n background: ${t?o.colors.teal100:o.colors.teal600};\n `;case"pink":return`\n background: ${t?o.colors.pink200:o.colors.pink800};\n `;case"violet":return`\n background: ${t?o.colors.violet100:o.colors.violet500};\n `;case"grey":return`\n background: ${t?o.colors.gray100:o.colors.gray600};\n `}})(e.tagType,e.tagIsLight)}
578
-
579
- ${e=>e.tagIsSquared&&"sponsored"!==e.tagType&&"\n border-radius: 4px;\n "}
580
-
581
- ${e=>e.tagIsALink&&"\n cursor: pointer;\n "}
582
-
583
- &[data-is-selected],
584
- &:active {
585
- background: ${e=>e.theme.colors.primary50};
586
- }
587
- `,Q=(e,t)=>l(((o,r)=>{var{className:i}=o,s=a(o,["className"]);return n.createElement(e,Object.assign({ref:r,className:`${t} ${i||""}`},s))})),Z="24px",ee="hhgcomp-toggle-icon",te=Q(e.span`
588
- position: relative;
589
- display: block;
590
- width: 40px;
591
- height: ${Z};
592
- background: #c3cbd4;
593
- border-radius: 100px;
594
- cursor: pointer;
595
-
596
- &:after {
597
- position: absolute;
598
- top: 2px;
599
- left: 2px;
600
- width: 20px;
601
- height: 20px;
602
- background: #fff;
603
- border-radius: 90px;
604
- content: '';
605
- transition: 0.3s;
606
- }
607
- `,ee),oe=e.span`
608
- padding-left: 15px;
609
- `,re=e.div`
610
- height: ${Z};
611
-
612
- input[type='checkbox'] {
613
- width: 0;
614
- height: 0;
615
- visibility: hidden;
616
- }
617
-
618
- label {
619
- cursor: pointer;
620
- display: inline-flex;
621
- color: ${e=>e.theme.colors.gray600};
622
- }
623
-
624
- input:checked + label .${ee} {
625
- background: ${e=>e.theme.colors.primaryBase};
626
- &:after {
627
- left: calc(100% - 2px);
628
- transform: translateX(-100%);
629
- }
630
- }
631
- `,ae=e.div`
632
- textarea {
633
- width: 100%;
634
- height: var(--textarea-height, 116px);
635
- padding: 1rem;
636
- border: 1px solid ${e=>e.theme.colors.gray200};
637
- border-radius: 6px;
638
- color: ${e=>e.theme.colors.gray800};
639
- font-size: 14px;
640
- resize: none;
641
-
642
- &:focus {
643
- box-shadow: 0px 0px 2px 2px #91caff;
644
- }
645
-
646
- &::placeholder {
647
- color: ${e=>e.theme.colors.gray500};
648
- }
649
-
650
- &:disabled {
651
- background-color: ${e=>e.theme.colors.neutral50};
652
- cursor: not-allowed;
653
- }
654
- }
655
- `,ie=n.forwardRef((({height:e,placeholder:t,labelText:o,labelColor:r,id:a,name:i,onChange:s,value:l,className:d,onKeyPress:c,disabled:p=!1},u)=>n.createElement(ae,{className:d,style:{"--textarea-height":e||"116px"}},o&&n.createElement(h,{size:"label2",style:{color:r||"#595959"},htmlFor:a},o),n.createElement("textarea",{name:i,ref:u,placeholder:t,id:a,onChange:e=>s&&s(e.target.value),onKeyPress:e=>c&&c(e),value:l,disabled:p})))),ne=e.div`
656
- display: flex;
657
- cursor: pointer;
658
-
659
- &[data-theme='marryBaby'] {
660
- input {
661
- width: 20px;
662
- height: 20px;
663
- border: 1.3px solid ${e=>e.theme.mbColors.midGray};
664
- border-radius: 9px;
665
-
666
- cursor: inherit;
667
- transition: border-color 0.4s, box-shadow 0.4s;
668
-
669
- &:hover,
670
- &:active {
671
- border-color: ${e=>e.theme.mbColors.cobalt};
672
- box-shadow: 0 0 2px 2px
673
- ${e=>e.theme.mbColors.cobalt};
674
- }
675
-
676
- &:focus-visible {
677
- border: 2px solid ${e=>e.theme.mbColors.cobalt};
678
- }
679
-
680
- &:checked {
681
- border: 0;
682
- background: ${e=>e.theme.mbColors.cobalt}
683
- url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
684
- no-repeat center center;
685
- }
686
- }
687
-
688
- label {
689
- max-width: 15rem;
690
- margin-left: 8px;
691
- width: calc(100% - 24px);
692
- cursor: inherit;
693
- font-weight: 600;
694
- font-size: 12px;
695
- line-height: 20px;
696
- letter-spacing: -0.2px;
697
- color: ${e=>e.theme.mbColors.gray};
698
- }
699
- }
700
- input {
701
- width: 20px;
702
- height: 20px;
703
- border: solid 1px ${e=>e.theme.colors.gray500};
704
- border-radius: 2px;
705
-
706
- cursor: inherit;
707
- transition: border-color 0.4s, box-shadow 0.4s;
708
-
709
- &:hover,
710
- &:active {
711
- border-color: ${e=>e.theme.colors.primaryBase};
712
- box-shadow: 0 0 2px 2px
713
- ${e=>e.theme.colors.primary200};
714
- }
715
-
716
- &:focus-visible {
717
- border: 2px solid
718
- ${e=>e.theme.colors.primaryActive};
719
- }
720
-
721
- &:checked {
722
- border: 0;
723
- background: ${e=>e.theme.colors.primaryBase}
724
- url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
725
- no-repeat center center;
726
- }
727
- }
728
-
729
- label {
730
- max-width: 15rem;
731
- margin-left: 8px;
732
- font-weight: ${e=>e.theme.sizes.fwRegular};
733
- width: calc(100% - 24px);
734
- cursor: inherit;
735
-
736
- ${r.mbDown} {
737
- font-size: 14px;
738
- line-height: 24px;
739
- }
740
-
741
- ${r.mbUp} {
742
- font-size: 16px;
743
- line-height: 22px;
744
- }
745
- }
746
-
747
- &[data-is-rectangle] > input {
748
- position: relative;
749
- width: unset;
750
- height: unset;
751
- padding: 5px 12px;
752
- border: 1px solid ${e=>e.theme.colors.neutral100};
753
- border-radius: 32px;
754
-
755
- &::after {
756
- color: ${e=>e.theme.colors.gray800};
757
- content: attr(data-label-text);
758
- font-size: 13px;
759
- }
760
- &:checked {
761
- border-color: ${e=>e.theme.colors.primary50};
762
- &::after {
763
- color: ${e=>e.theme.colors.primaryBase};
764
- }
765
- }
766
- &:checked {
767
- background: ${e=>e.theme.colors.primary50};
768
- }
769
- }
770
-
771
- &[data-disabled] {
772
- color: ${e=>e.theme.colors.gray300};
773
- cursor: not-allowed;
774
- input {
775
- border-color: ${e=>e.theme.colors.gray300};
776
- &:hover {
777
- border-color: ${e=>e.theme.colors.gray300};
778
- box-shadow: none;
779
- }
780
- }
781
- }
782
- `,se=e.div`
783
- background-color: var(--neutral50);
784
- padding: 12px 0;
785
- box-shadow: inset 0px 1px 0px #e4e8ec;
786
-
787
- > * {
788
- display: grid;
789
- grid-template-columns: 32px 1fr;
790
- align-content: center;
791
-
792
- p {
793
- font-weight: 600;
794
- }
795
- }
796
-
797
- .icon-wrapper {
798
- display: flex;
799
- align-items: center;
800
- }
801
- `,le=({children:e,icon:t,className:o,style:r})=>n.createElement(se,{style:r,className:o},n.createElement(m,null,n.createElement("div",{className:"icon-wrapper"},t),n.createElement(g,{size:"c1",color:"var(--neutral800)"},e))),de=e.div`
802
- display: inline-flex;
803
-
804
- gap: calc(var(--gap) * 1px);
805
- > svg {
806
- width: calc(var(--star-size) * 1px);
807
- height: calc(var(--star-size) * 1px);
808
- }
809
-
810
- &[data-selectable='true'] {
811
- > svg {
812
- cursor: pointer;
813
- }
814
- }
815
- `,ce="600ms",pe=e.div`
816
- position: fixed;
817
- inset: 0;
818
- z-index: ${o.zIndexes.drawer};
819
- pointer-events: ${e=>e.open?"auto":"none"};
820
- `,ue=e.div`
821
- position: fixed;
822
- z-index: 300;
823
- background: #ffffff;
824
- visibility: ${e=>e.open?"visible":"hidden"};
825
- max-height: calc(100vh - 100px);
826
- display: flex;
827
- flex-direction: column;
828
- .title {
829
- display: flex;
830
- align-items: center;
831
- justify-content: space-between;
832
- padding: 16px;
833
- ${e=>e.hasTitle?t`
834
- border-bottom: 1px solid ${o.colors.neutral100};
835
- `:null}
836
- }
837
-
838
- .close-button {
839
- margin-left: auto;
840
- }
841
-
842
- ${e=>((e,o)=>{switch(e){case"top":return t`
843
- top: 0;
844
- width: 100%;
845
- border-radius: 0px 0px 6px 6px;
846
- ${o?t`
847
- animation: ${w} ${ce} ease-in-out forwards;
848
- `:null}
849
-
850
- &.slideOut {
851
- animation: ${y} ${ce} ease-in-out forwards;
852
- }
853
- `;case"right":return t`
854
- right: 0;
855
- height: 100%;
856
- min-width: 300px;
857
- border-radius: 6px 0px 0px 6px;
858
-
859
- ${o?t`
860
- animation: ${v} ${ce} ease-in-out forwards;
861
- `:null}
862
-
863
- &.slideOut {
864
- animation: ${f} ${ce} ease-in-out forwards;
865
- }
866
- `;case"bottom":return t`
867
- bottom: 0;
868
- width: 100%;
869
- border-radius: 6px 6px 0px 0px;
870
- ${o?t`
871
- animation: ${b} ${ce} ease-in-out forwards;
872
- `:null}
873
-
874
- &.slideOut {
875
- animation: ${_} ${ce} ease-in-out forwards;
876
- }
877
- `;case"left":return t`
878
- left: 0;
879
- height: 100%;
880
- min-width: 300px;
881
- border-radius: 0px 6px 6px 0px;
882
-
883
- ${o?t`
884
- animation: ${x} ${ce} ease-in-out forwards;
885
- `:null}
886
-
887
- &.slideOut {
888
- animation: ${E} ${ce} ease-in-out forwards;
889
- }
890
- `;default:return t`
891
- left: 0;
892
- height: 100%;
893
- min-width: 300px;
894
- border-radius: 0px 6px 6px 0px;
895
-
896
- ${o?t`
897
- animation: ${b} ${ce} ease-in-out forwards;
898
- `:null}
899
-
900
- &.slideOut {
901
- animation: ${_} ${ce} ease-in-out forwards;
902
- }
903
- `}})(e.placement,e.open)}
904
- `,he=e.div`
905
- min-height: 200px;
906
- padding: 16px;
907
- overflow-y: auto;
908
- `,me=e.div`
909
- position: fixed;
910
- inset: 0;
911
- display: flex;
912
- align-items: center;
913
- justify-content: center;
914
- width: 100%;
915
- height: 100%;
916
- overflow-x: hidden;
917
- overflow-y: auto;
918
- outline: 0;
919
- background-color: rgba(38, 38, 38, 0.3);
920
- z-index: 1;
921
- &[data-open='false'] {
922
- visibility: hidden;
923
- pointer-events: none;
924
- }
925
- &[data-open='true'] {
926
- visibility: visible;
927
- pointer-events: auto;
928
- }
929
- `,ge=e.div`
930
- display: flex;
931
- width: 100%;
932
-
933
- &[data-direction='vertical'] {
934
- flex-direction: column;
935
- }
936
-
937
- &[data-direction='horizontal'] {
938
- flex-wrap: wrap;
939
- }
940
- `,be=e.div`
941
- display: flex;
942
-
943
- padding: 8px;
944
-
945
- border-radius: ${e=>e.theme.borderRadius};
946
- cursor: pointer;
947
-
948
- & > div {
949
- display: flex;
950
- width: 100%;
951
- height: 100%;
952
- flex-direction: column;
953
- align-items: center;
954
- justify-content: flex-start;
955
- }
956
-
957
- &[data-is-mb='false'] {
958
- &[data-selected='true'] {
959
- border: 1px solid #2d87f3;
960
- background: white;
961
- }
962
- &[data-selected='false'] {
963
- border: 1px solid #f2f2f2;
964
- box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
965
- }
966
- }
967
-
968
- &[data-is-mb='true'] {
969
- border-radius: 16px;
970
- background: white;
971
- padding: 16px auto;
972
-
973
- &[data-selected='true'] {
974
- border: 1px solid ${e=>e.theme.mbColors.mint};
975
- box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
976
- }
977
- &[data-selected='false'] {
978
- border: none;
979
- }
980
- }
981
-
982
- &[data-disabled='true'] {
983
- cursor: auto;
984
- }
985
-
986
- .radio-group-item-heading {
987
- margin-top: 8px;
988
- //height: 48px;
989
- text-align: center;
990
- }
991
-
992
- .gender-image {
993
- width: 70px;
994
- height: 70px;
995
- &[data-is-mobile='true'] {
996
- width: 40px;
997
- height: 40px;
998
- }
999
- }
1000
- `;var _e=u((e=>({root:{display:"inline-block",flexShrink:0,padding:"2px 0.5rem",marginLeft:"4px",borderRadius:e.radius.xs,fontSize:"12px",fontWeight:400,lineHeight:"18px",'&[data-label-type="admin"]':{background:e.primaryColor[0],color:e.primaryColor[9]},'&[data-label-type="local admin"]':{background:e.primaryColor[8]},'&[data-label-type="ambassador"]':{background:e.colors.green[4]},'&[data-label-type="expert"]':{background:e.colors.yellow[6]},'&[data-label-type="moderator"]':{background:e.colors.red[0],color:e.colors.red[8]},'&[data-label-type="sponsor"]':{background:e.colors.teal[4]},'&[data-label-type="guide"]':{background:e.colors.teal[4]},'&[data-label-type="influencer"]':{background:e.colors.teal[4]}}})));const xe=d({currentStep:0,setCurrentStep:()=>!1,setMaxStep:()=>!1,nextStep:()=>!1,prevStep:()=>!1}),Ee=({children:e,onStepChange:t})=>{const[o,r]=s(0),[a,i]=s(0),l=n.Children.count(e);c((()=>{i(l-1)}),[l]),c((()=>{null==t||t(o)}),[o]);return n.createElement(xe.Provider,{value:{currentStep:o,setCurrentStep:r,setMaxStep:i,nextStep:()=>o+1<=a&&r(o+1),prevStep:()=>o-1>=0&&r(o-1)}},T(e).map(((e,t)=>{const r=t===o;return n.createElement(p,{key:t},n.isValidElement(e)?e.props.alwaysRender||r?n.cloneElement(e,{isActive:t===o,stepIndex:t}):null:r?e:null)})))};
1001
- /*!
1002
- * cookie
1003
- * Copyright(c) 2012-2014 Roman Shtylman
1004
- * Copyright(c) 2015 Douglas Christopher Wilson
1005
- * MIT Licensed
1006
- */
1007
- var ve=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},r=(t||{}).decode||Te,a=0;for(;a<e.length;){var i=e.indexOf("=",a);if(-1===i)break;var n=e.indexOf(";",a);if(-1===n)n=e.length;else if(n<i){a=e.lastIndexOf(";",i-1)+1;continue}var s=e.slice(a,i).trim();if(void 0===o[s]){var l=e.slice(i+1,n).trim();34===l.charCodeAt(0)&&(l=l.slice(1,-1)),o[s]=Ae(l,r)}a=n+1}return o},fe=function(e,t,o){var r=o||{},a=r.encode||Oe;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!ye.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!ye.test(i))throw new TypeError("argument val is invalid");var n=e+"="+i;if(null!=r.maxAge){var s=r.maxAge-0;if(isNaN(s)||!isFinite(s))throw new TypeError("option maxAge is invalid");n+="; Max-Age="+Math.floor(s)}if(r.domain){if(!ye.test(r.domain))throw new TypeError("option domain is invalid");n+="; Domain="+r.domain}if(r.path){if(!ye.test(r.path))throw new TypeError("option path is invalid");n+="; Path="+r.path}if(r.expires){var l=r.expires;if(!function(e){return"[object Date]"===we.call(e)||e instanceof Date}(l)||isNaN(l.valueOf()))throw new TypeError("option expires is invalid");n+="; Expires="+l.toUTCString()}r.httpOnly&&(n+="; HttpOnly");r.secure&&(n+="; Secure");if(r.priority){switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":n+="; Priority=Low";break;case"medium":n+="; Priority=Medium";break;case"high":n+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return n},we=Object.prototype.toString,ye=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function Te(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function Oe(e){return encodeURIComponent(e)}function Ae(e,t){try{return t(e)}catch(t){return e}}var Ie={parse:ve,serialize:fe};const Le={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}"}},Se={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},$e={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}"},ke={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},Re={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},Ce=d({data:Re,action:{pushNotifications:e=>e,sanitizeFunction:e=>e}});let Pe=Re;const Ne=({locale:e="vi-VN",children:t,userInfo:o,router:r,env:a={isMarryBaby:!1,togetherBasePath:"/community"},sanitizeFunction:i=(e=>e),pushNotifications:l=(()=>!1)})=>{const[d,p]=s();return Pe={userInfo:o,locale:e,togetherUserId:d,router:r,env:a},c((()=>{(null==o?void 0:o.id)&&st(et(Le.PROFILE,{_locale:e}),"GET").then((e=>{var t;p(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==o?void 0:o.id]),n.createElement(Ce.Provider,{value:{data:{userInfo:o,locale:e,togetherUserId:d,router:r,env:a},action:{pushNotifications:l,sanitizeFunction:i}}},t)},De="DD/MM/YYYY",Ge="/images/avatar.jpg",Me="/images/default-image.jpg",Be={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR",BGC:"BGC"},Ue={"id-ID":{"kalkulator-bmi":Be.BMI,"kebutuhan-kalori":Be.BMR,"kalkulator-hari-perkiraan-lahir":Be.DUE_DATE,"kalkulator-masa-subur-2":Be.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":Be.PWG,"kalkulator-detak-jantung-saat-olahraga":Be.THR},"ms-MY":{"kalkulator-bmi":Be.BMI,"kalkulator-bmr":Be.BMR,"kalkulator-tarikh-bersalin":Be.DUE_DATE,"kalkulator-kesuburan":Be.OVULATION,"kalkulator-tambah-berat-badan-hamil":Be.PWG,"target-heart-rate-calculator":Be.THR},"vi-VN":{"cach-tinh-chi-so-bmi":Be.BMI,"tinh-chi-so-bmr":Be.BMR,"cong-cu-tinh-ngay-du-sinh":Be.DUE_DATE,"tinh-ngay-rung-trung":Be.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":Be.PWG,"cong-cu-do-nhip-tim":Be.THR},"zh-TW":{"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"due-date-calculator":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnancy-weight-gain-calculator":Be.PWG,"target-heart-rate-calculator":Be.THR},"en-PH":{"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"due-date-calculator":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnancy-weight-gain-calculator":Be.PWG,"target-heart-rate-calculator":Be.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":Be.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":Be.BMR,"เครื่องมือคำนวณกำหนดคลอด":Be.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":Be.OVULATION,"เครื่องคำนวณน้ำหนักตัว":Be.PWG,"เครื่องวัดอัตราการเต้น":Be.THR},"hi-IN":{"bmi-calculator-en":Be.BMI,"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"delivery-date-calculator":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnancy-weight-gain-calculator":Be.PWG,"target-heart-rate-calculator":Be.THR},"km-KH":{"គណនា-bmi":Be.BMI,"គណនា-bmr":Be.BMR,"គណនាថ្ងៃសម្រាលកូន":Be.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":Be.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":Be.PWG,"គណនារកចង្វាក់បេះដូងល្អ":Be.THR},"my-MM":{"bmi-calculator":Be.BMI,"bmr-calculator":Be.BMR,"due-date-calendar":Be.DUE_DATE,"ovulation-calculator":Be.OVULATION,"pregnaancy-weight-calculator":Be.PWG,"target-heartrate":Be.THR,"pregnancy-weight-calculator":Be.PWG,"target-heart-rate":Be.THR}},ze="hhg_user_token",He="together_admin_token",je={adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},Fe={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"}},Ke=20,Ve={"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"}};var Ye=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:De,DEFAULT_AVATAR_IMG:Ge,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:Me,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:Be,LOCALE_HEALTH_TOOLS:Ue,BEARER_TOKEN_COOKIE:ze,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:He,Z_INDEX:je,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:Fe,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:Ve});const We={"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"},Xe={"vi-VN":"marrybaby.vn"},qe=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",Je=e=>{const{env:{isMarryBaby:t}}=Pe;return`https://${t?Xe[e]:We[e]}`},Qe=e=>{const t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},Ze=e=>{const{env:{isMarryBaby:t}}=Pe;if("undefined"!=typeof window)return window.location.origin;const o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":`https://${o?t?"fe.":"discover.":t?"www.":""}${We[e]}`},et=(e,t,o)=>{let r="";o&&(r=Object.keys(o).map((e=>e+"="+o[e])).join("&"));const{togetherBaseApiUrl:a=""}=(null==Pe?void 0:Pe.env)||{};let i=I(e,Object.assign(Object.assign({},(null==t?void 0:t._locale)?{website_url:Je(String(t._locale))}:{}),t));return i+=`${i.includes("?")?"&":"?"}${r}`,a+"api/v1/"+Qe(i)},tt=(e,t,o)=>{const{discoverBaseApiUrl:r="",discoverBaseProdApiUrl:a=""}=(null==Pe?void 0:Pe.env)||{};return(!L&&o?a:r)+"wp-json/api/"+Qe(I(e,Object.assign({},t)))},ot=(e,t,o)=>{const{marryBabyApiUrl:r="",marryBabyProdApiUrl:a=""}=(null==Pe?void 0:Pe.env)||{};return(o&&!L?a:r)+"wp-json/api/"+Qe(I(e,Object.assign({},t)))},rt=(e,t)=>{const{careBaseApiUrl:o=""}=(null==Pe?void 0:Pe.env)||{};return(o||"https://service-health-care.hellohealthgroup.com/")+Qe(I(e,Object.assign({},t)))},at=e=>((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),it=(e,t,o,r=!1)=>i(void 0,void 0,void 0,(function*(){var a,i,n,s;try{const a=yield fetch(r?e:(s=e,encodeURI(s).replace(/%5B/g,"[").replace(/%5D/g,"]")),Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({},null==o?void 0:o.headers)})).then((e=>e.json()));if(a)return a}catch(t){return console.log(t),console.log({url:e,status:null===(a=null==t?void 0:t.response)||void 0===a?void 0:a.status,statusText:null===(i=null==t?void 0:t.response)||void 0===i?void 0:i.statusText}),(null===(n=null==t?void 0:t.response)||void 0===n?void 0:n.data)||null}return null})),nt=(e,t="GET",o,r)=>i(void 0,void 0,void 0,(function*(){var a,i,n,s,l,d;try{const s="string"==typeof e?e:e.url,l="string"==typeof e?e:e.backupUrl,d=Ie.parse(r||""),c=d[ze]||O(ze);if(!c||!c.length)return it(l||s,t,o);try{const e=yield fetch(s,Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({Authorization:"Bearer "+c},null==o?void 0:o.headers)})).then((e=>e.json()));if(null===(a=null==e?void 0:e.messages)||void 0===a?void 0:a.find((e=>"Unauthenticated"===(null==e?void 0:e.toLowerCase()))))return it(l||s,t,o);if(e)return e}catch(e){return console.log({status:null===(i=null==e?void 0:e.response)||void 0===i?void 0:i.status,statusText:null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.statusText}),it(l||s,t,o)}}catch(e){return console.log({status:null===(s=null==e?void 0:e.response)||void 0===s?void 0:s.status,statusText:null===(l=null==e?void 0:e.response)||void 0===l?void 0:l.statusText}),(null===(d=null==e?void 0:e.response)||void 0===d?void 0:d.data)||null}return null})),st=(e,t,o,r)=>i(void 0,void 0,void 0,(function*(){try{const a=Ie.parse(r||""),i=a[ze]||O(ze);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null})),lt=(e,t,o,r)=>i(void 0,void 0,void 0,(function*(){try{const a=Ie.parse(r||""),i=a[He]||O(He);if(i&&i.length){const r=yield fetch(e,Object.assign(Object.assign({method:t},at(o)),{headers:Object.assign({Authorization:"Bearer "+i},null==o?void 0:o.headers)})).then((e=>e.json()));if(r)return r}}catch(e){return null}return null}));function dt(e,t,o){const r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),a=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+o+"$2"):e+a+t+"="+o}const ct=(e,t,o="/community")=>{const r=e||("undefined"!=typeof window?window.location.href:"/");let a="undefined"!=typeof window?window.location.origin:"";a||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(a=e.split("/").slice(0,3).join("/"));return((e,t)=>{const{publicSSO:o}=Pe.env,r=e||window.location.href;return t&&Object.keys(t).map((e=>{dt(r,e,t[e])})),dt(r,"source","communities"),o?`${o}?returnUrl=${encodeURIComponent(r.toString())}`:r})(`${a}${o}/on-boarding?return=${encodeURIComponent(r)}`,t)},pt=(e,t,o,r)=>o&&t?`${o}-${t}`:`${A(e||"",{lower:!0,locale:r||qe})}-${t}`,ut=({name:e,id:t,locale:o})=>{var r;return`/care/${null===(r=Ve[o||"vi-VN"])||void 0===r?void 0:r.DOCTOR}/${pt(e,t)}`},ht=({name:e,id:t,slug:o,locale:r})=>{var a;return`/care/${null===(a=Ve[r||"vi-VN"])||void 0===a?void 0:a.HOSPITAL}/${pt(e,t,o)}`};export{ut as $,_e as A,it as B,rt as C,Re as D,q as E,Q as F,Pe as G,z as H,me as I,pe as J,ue as K,he as L,ge as M,be as N,ze as O,X as P,ct as Q,et as R,Ee as S,ie as T,Le as U,Me as V,Ze as W,Se as X,We as Y,je as Z,ht as _,le as a,tt as a0,$e as a1,ke as a2,lt as a3,st as a4,Ke as a5,Ge as a6,Fe as a7,ot as a8,nt as a9,Xe as aa,xe as b,Ye as c,Ce as d,Ne as e,$ as f,k as g,C as h,P as i,N as j,D as k,G as l,M as m,H as n,j as o,F as p,J as q,re as r,te as s,oe as t,ne as u,de as v,De as w,Be as x,S as y,R as z};