@hhgtech/hhg-components 1.28.45 → 1.28.47

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 (314) hide show
  1. package/build/animation-1e5b6297.js +81 -0
  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.js +1 -1
  6. package/build/{constants-eed0df85.js → constants-0b9aa2f4.js} +1 -1
  7. package/build/{constants-715f497a.js → constants-ded45618.js} +2 -2
  8. package/build/constants.js +1 -1
  9. package/build/{core-053d2b2b.js → core-d774c80a.js} +1 -1
  10. package/build/dataTransform-770a8af7.js +1 -0
  11. package/build/ecom.js +1 -1
  12. package/build/esm/animation-4d5baff8.js +81 -0
  13. package/build/esm/babyGrowth.js +38 -38
  14. package/build/esm/cache.js +1 -1
  15. package/build/esm/care.js +1 -1
  16. package/build/esm/components.js +1 -1
  17. package/build/esm/{constants-474a60fc.js → constants-7f54318a.js} +2 -2
  18. package/build/esm/{constants-995212e1.js → constants-d7c4fed6.js} +1 -1
  19. package/build/esm/constants.js +1 -1
  20. package/build/esm/{core-a9271475.js → core-539e7939.js} +1 -1
  21. package/build/esm/dataTransform-82022f0b.js +1 -0
  22. package/build/esm/ecom.js +1 -1
  23. package/build/esm/footer.js +1 -1
  24. package/build/esm/gAssets.js +1 -1
  25. package/build/esm/getDynamicHealthTool-4d3d11ac.js +1 -0
  26. package/build/esm/{getSocialList-2b54a130.js → getSocialList-1766c602.js} +1 -1
  27. package/build/esm/hooks.js +1 -1
  28. package/build/esm/i18n.js +1 -1
  29. package/build/esm/i18nV2.js +1 -1
  30. package/build/esm/index-0fd0a8fb.js +2748 -0
  31. package/build/esm/{index-4cc27c0a.js → index-156081e2.js} +9 -9
  32. package/build/esm/{index-2eaf28c4.js → index-1d068cf5.js} +1 -1
  33. package/build/esm/{index-ab03b9dd.js → index-1fce73b8.js} +1 -1
  34. package/build/esm/index-2f6fbc5e.js +375 -0
  35. package/build/esm/index-30ecb1e3.js +1 -0
  36. package/build/esm/index-5581ff57.js +1 -0
  37. package/build/esm/index-679dd359.js +1430 -0
  38. package/build/esm/{index-fdc4fb0f.js → index-72664e72.js} +1 -1
  39. package/build/esm/{index-a2dcf4e9.js → index-7b4c9ffd.js} +1 -1
  40. package/build/esm/index-8e3a85f0.js +50 -0
  41. package/build/esm/{index-1cfc85b4.js → index-924d8b45.js} +3 -3
  42. package/build/esm/index-98f238b2.js +1 -0
  43. package/build/esm/{index-7678ada1.js → index-9b020630.js} +1 -1
  44. package/build/esm/index-ac89ac70.js +137 -0
  45. package/build/esm/index-b51813fe.js +1 -0
  46. package/build/esm/index-bd5220da.js +1 -0
  47. package/build/esm/index-c51596b2.js +1 -0
  48. package/build/esm/index-cff19603.js +177 -0
  49. package/build/esm/index-d53f330a.js +1 -0
  50. package/build/esm/{index-cd710e7d.js → index-f09be292.js} +1 -1
  51. package/build/esm/index-f5ac3469.js +1 -0
  52. package/build/esm/{index-a454d80b.js → index-fcb7c05d.js} +1 -1
  53. package/build/esm/index.js +1 -1
  54. package/build/esm/{index.styled-4098b19f.js → index.styled-222b6ef8.js} +1 -1
  55. package/build/esm/index.styles-f450b969.js +839 -0
  56. package/build/esm/lead.js +1 -1
  57. package/build/esm/mantine.js +1 -1
  58. package/build/esm/misc.js +1 -1
  59. package/build/esm/navigation.js +1 -1
  60. package/build/esm/onboardingV2.js +34 -34
  61. package/build/esm/pwg.js +5 -5
  62. package/build/esm/{routing-d3019505.js → routing-fa27835c.js} +1 -1
  63. package/build/esm/subot.js +124 -124
  64. package/build/esm/together.js +1 -1
  65. package/build/esm/{types-56ff87b5.js → types-1779ff39.js} +10 -10
  66. package/build/esm/types-de0e0789.js +3004 -0
  67. package/build/esm/types.js +1 -1
  68. package/build/esm/useCategory-dc56ef34.js +1 -0
  69. package/build/esm/useHealthToolCache-09b61354.js +1 -0
  70. package/build/esm/{usePlacesAutocomplete-80551f6b.js → usePlacesAutocomplete-c2dd02dd.js} +1 -1
  71. package/build/esm/useTranslations-49e0430f.js +1 -0
  72. package/build/esm/utils-1550f4c2.js +1 -0
  73. package/build/esm/utils-ab3bd9a9.js +7 -0
  74. package/build/esm/{utils-9dae9f7b.js → utils-bc76e7d8.js} +2 -2
  75. package/build/esm/{utils-6577ea25.js → utils-ce8e4c84.js} +1 -1
  76. package/build/esm/vaccination.js +40 -40
  77. package/build/footer.js +1 -1
  78. package/build/gAssets.js +1 -1
  79. package/build/getDynamicHealthTool-91d3a539.js +1 -0
  80. package/build/{getSocialList-b951173d.js → getSocialList-95d4b1ab.js} +1 -1
  81. package/build/hooks.js +1 -1
  82. package/build/i18n.js +1 -1
  83. package/build/i18nV2.js +1 -1
  84. package/build/index-031eda4d.js +50 -0
  85. package/build/{index-f85e80c5.js → index-04bf4b9a.js} +1 -1
  86. package/build/index-087d7573.js +1 -0
  87. package/build/{index-f1338b36.js → index-0a35e29e.js} +1 -1
  88. package/build/{index-5f2adc06.js → index-0e2baf55.js} +1 -1
  89. package/build/index-1c74e473.js +2748 -0
  90. package/build/{index-6e685d2b.js → index-20b8b28c.js} +1 -1
  91. package/build/index-22f6821f.js +177 -0
  92. package/build/{index-d14172a4.js → index-3183ed6e.js} +1 -1
  93. package/build/index-3c0d0730.js +375 -0
  94. package/build/index-4198e282.js +1 -0
  95. package/build/index-5e65f738.js +137 -0
  96. package/build/{index-b23382c3.js → index-84f168eb.js} +1 -1
  97. package/build/{index-72cfe602.js → index-8b4d8b74.js} +4 -4
  98. package/build/{index-718b4bad.js → index-8d147028.js} +3 -3
  99. package/build/{index-fe775c96.js → index-9f2fce62.js} +1 -1
  100. package/build/{index-b3478b6c.js → index-a1e30b09.js} +1 -1
  101. package/build/index-abe7bb48.js +1430 -0
  102. package/build/index-afd5d772.js +1 -0
  103. package/build/index-c53c2cf6.js +1 -0
  104. package/build/index-ebed7399.js +1 -0
  105. package/build/{index-cdf087ee.js → index-f56af2a1.js} +1 -1
  106. package/build/index-f80db37d.js +1 -0
  107. package/build/index.js +1 -1
  108. package/build/{index.styled-2bb5f5a2.js → index.styled-250b6af4.js} +1 -1
  109. package/build/index.styles-f2358064.js +839 -0
  110. package/build/lead.js +1 -1
  111. package/build/mantine.js +1 -1
  112. package/build/misc.js +1 -1
  113. package/build/navigation.js +1 -1
  114. package/build/onboardingV2.js +34 -34
  115. package/build/pwg.js +2 -2
  116. package/build/{routing-9c9a4f25.js → routing-ed60b4e3.js} +1 -1
  117. package/build/subot.js +123 -123
  118. package/build/together.js +1 -1
  119. package/build/types-2602cb14.js +3004 -0
  120. package/build/{types-adecb2ce.js → types-662fa8fb.js} +10 -10
  121. package/build/types.js +1 -1
  122. package/build/useCategory-f58f3f7e.js +1 -0
  123. package/build/useHealthToolCache-d78d2251.js +1 -0
  124. package/build/{usePlacesAutocomplete-39be4478.js → usePlacesAutocomplete-11729974.js} +1 -1
  125. package/build/{useTranslations-1ddacded.js → useTranslations-eef7f548.js} +1 -1
  126. package/build/{utils-a5d09d21.js → utils-5af37bc5.js} +1 -1
  127. package/build/{utils-871f6c88.js → utils-74e9f3ab.js} +1 -1
  128. package/build/utils-adde2380.js +1 -0
  129. package/build/utils-ec00b8cb.js +1 -0
  130. package/build/vaccination.js +33 -33
  131. package/package.json +3 -2
  132. package/build/dataTransform-d5d1a86d.js +0 -1
  133. package/build/esm/dataTransform-f4d63a0a.js +0 -1
  134. package/build/esm/getDynamicHealthTool-9b662a1a.js +0 -1
  135. package/build/esm/index-303e2009.js +0 -1
  136. package/build/esm/index-3c4ac2ae.js +0 -1
  137. package/build/esm/index-4bc5ecbb.js +0 -1
  138. package/build/esm/index-55d2faa0.js +0 -1
  139. package/build/esm/index-608b4a88.js +0 -177
  140. package/build/esm/index-6f066011.js +0 -1
  141. package/build/esm/index-95a46cf3.js +0 -1
  142. package/build/esm/index-993a5f79.js +0 -1
  143. package/build/esm/index-baaa911b.js +0 -1
  144. package/build/esm/index-be8e7751.js +0 -1
  145. package/build/esm/index-cc519ac7.js +0 -3122
  146. package/build/esm/index-d17ea22d.js +0 -1
  147. package/build/esm/index-d343bc50.js +0 -1
  148. package/build/esm/index-ff10bc28.js +0 -1
  149. package/build/esm/index.styled-156505c7.js +0 -1430
  150. package/build/esm/index.styled-3e11e657.js +0 -3140
  151. package/build/esm/index.styled-be084b87.js +0 -50
  152. package/build/esm/index.styles-caebb95e.js +0 -846
  153. package/build/esm/screenSizeContext-8e3cd726.js +0 -81
  154. package/build/esm/types-f3a821e7.js +0 -1
  155. package/build/esm/useCategory-e47c3929.js +0 -1
  156. package/build/esm/useHealthToolCache-4a39e9dc.js +0 -1
  157. package/build/esm/useRafState-8fe79e7a.js +0 -1
  158. package/build/esm/useTranslations-2b415154.js +0 -1
  159. package/build/getDynamicHealthTool-ecfb21b0.js +0 -1
  160. package/build/index-0988dfe4.js +0 -1
  161. package/build/index-0f3e6076.js +0 -1
  162. package/build/index-10d9fdff.js +0 -177
  163. package/build/index-24113bb4.js +0 -1
  164. package/build/index-3489608d.js +0 -1
  165. package/build/index-4bfad06d.js +0 -1
  166. package/build/index-7b85f299.js +0 -1
  167. package/build/index-901812ad.js +0 -3122
  168. package/build/index-c22d32f6.js +0 -1
  169. package/build/index-d74ab92f.js +0 -1
  170. package/build/index-db0da298.js +0 -1
  171. package/build/index-f4356d3b.js +0 -1
  172. package/build/index.styled-39310ce9.js +0 -50
  173. package/build/index.styled-3a1748a5.js +0 -3140
  174. package/build/index.styled-75539e3d.js +0 -1430
  175. package/build/index.styles-d3c65e64.js +0 -846
  176. package/build/screenSizeContext-83eeed99.js +0 -81
  177. package/build/types-582a67ed.js +0 -1
  178. package/build/useCategory-957ea2a8.js +0 -1
  179. package/build/useHealthToolCache-260b51e2.js +0 -1
  180. package/build/useRafState-8a41d548.js +0 -1
  181. /package/build/{BMI_BOYS.percentile.monthly-3ccdbf2f.js → BMI_BOYS.percentile.monthly-b574351a.js} +0 -0
  182. /package/build/{BMI_BOYS.percentile.weekly-003704d5.js → BMI_BOYS.percentile.weekly-ad058945.js} +0 -0
  183. /package/build/{BMI_BOYS.percentile.yearly-51f6c930.js → BMI_BOYS.percentile.yearly-8ada8234.js} +0 -0
  184. /package/build/{BMI_BOYS.zscore.monthly-05504085.js → BMI_BOYS.zscore.monthly-f16e149c.js} +0 -0
  185. /package/build/{BMI_BOYS.zscore.weekly-2a93a8db.js → BMI_BOYS.zscore.weekly-776e513d.js} +0 -0
  186. /package/build/{BMI_BOYS.zscore.yearly-37291e62.js → BMI_BOYS.zscore.yearly-3d6a4a73.js} +0 -0
  187. /package/build/{BMI_GIRLS.percentile.monthly-97288e63.js → BMI_GIRLS.percentile.monthly-10009b9f.js} +0 -0
  188. /package/build/{BMI_GIRLS.percentile.weekly-c701d6ff.js → BMI_GIRLS.percentile.weekly-6557eb44.js} +0 -0
  189. /package/build/{BMI_GIRLS.percentile.yearly-edee3575.js → BMI_GIRLS.percentile.yearly-3f4acf36.js} +0 -0
  190. /package/build/{BMI_GIRLS.zscore.monthly-0ac77300.js → BMI_GIRLS.zscore.monthly-6a304df3.js} +0 -0
  191. /package/build/{BMI_GIRLS.zscore.weekly-f726c4f9.js → BMI_GIRLS.zscore.weekly-e0d6db84.js} +0 -0
  192. /package/build/{BMI_GIRLS.zscore.yearly-c1af9dbd.js → BMI_GIRLS.zscore.yearly-a6ec380e.js} +0 -0
  193. /package/build/{ChevronDown-e26b6333.js → ChevronDown-a8966000.js} +0 -0
  194. /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c1dbc6d4.js → HEAD CIRCUM_BOYS.percentile.monthly-71a87239.js} +0 -0
  195. /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-9c97d194.js → HEAD CIRCUM_BOYS.percentile.weekly-b862aacb.js} +0 -0
  196. /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-84f770fb.js → HEAD CIRCUM_BOYS.percentile.yearly-13eada26.js} +0 -0
  197. /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-8522b577.js → HEAD CIRCUM_BOYS.zscore.monthly-f9c4f89e.js} +0 -0
  198. /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-d05b4957.js → HEAD CIRCUM_BOYS.zscore.weekly-4e1a4178.js} +0 -0
  199. /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d1d2d682.js → HEAD CIRCUM_BOYS.zscore.yearly-554a8878.js} +0 -0
  200. /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-bc7f8e45.js → HEAD CIRCUM_GIRLS.percentile.monthly-2910870c.js} +0 -0
  201. /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-e24f18fa.js → HEAD CIRCUM_GIRLS.percentile.weekly-0f14fedf.js} +0 -0
  202. /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-65fe9b8f.js → HEAD CIRCUM_GIRLS.percentile.yearly-596b0da0.js} +0 -0
  203. /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-cc51585e.js → HEAD CIRCUM_GIRLS.zscore.monthly-69ae9a0c.js} +0 -0
  204. /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-0cdef99a.js → HEAD CIRCUM_GIRLS.zscore.weekly-114e70a3.js} +0 -0
  205. /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b4df0cb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-b6747ec7.js} +0 -0
  206. /package/build/{HEIGHT_BOYS.percentile.monthly-42701f3c.js → HEIGHT_BOYS.percentile.monthly-cb959489.js} +0 -0
  207. /package/build/{HEIGHT_BOYS.percentile.weekly-dde65fbd.js → HEIGHT_BOYS.percentile.weekly-7955c34e.js} +0 -0
  208. /package/build/{HEIGHT_BOYS.percentile.yearly-00d00cf7.js → HEIGHT_BOYS.percentile.yearly-b073f41f.js} +0 -0
  209. /package/build/{HEIGHT_BOYS.zscore.monthly-9b22b188.js → HEIGHT_BOYS.zscore.monthly-1ae80a89.js} +0 -0
  210. /package/build/{HEIGHT_BOYS.zscore.weekly-1e042b69.js → HEIGHT_BOYS.zscore.weekly-cd4bc068.js} +0 -0
  211. /package/build/{HEIGHT_BOYS.zscore.yearly-0c232fd2.js → HEIGHT_BOYS.zscore.yearly-7eb6af8e.js} +0 -0
  212. /package/build/{HEIGHT_GIRLS.percentile.monthly-1dc63069.js → HEIGHT_GIRLS.percentile.monthly-d2959962.js} +0 -0
  213. /package/build/{HEIGHT_GIRLS.percentile.weekly-4b58bd05.js → HEIGHT_GIRLS.percentile.weekly-99981d42.js} +0 -0
  214. /package/build/{HEIGHT_GIRLS.percentile.yearly-9fc93f07.js → HEIGHT_GIRLS.percentile.yearly-d1d13641.js} +0 -0
  215. /package/build/{HEIGHT_GIRLS.zscore.monthly-35400da4.js → HEIGHT_GIRLS.zscore.monthly-d9a63188.js} +0 -0
  216. /package/build/{HEIGHT_GIRLS.zscore.weekly-dd1f44e2.js → HEIGHT_GIRLS.zscore.weekly-d58b3339.js} +0 -0
  217. /package/build/{HEIGHT_GIRLS.zscore.yearly-a69b75ca.js → HEIGHT_GIRLS.zscore.yearly-ae58b0a3.js} +0 -0
  218. /package/build/{Subot-695ffc58.js → Subot-511ff255.js} +0 -0
  219. /package/build/{Visible-72e550ed.js → Visible-338d5d3b.js} +0 -0
  220. /package/build/{WEIGHT_BOYS.percentile.monthly-2dea455a.js → WEIGHT_BOYS.percentile.monthly-3687233c.js} +0 -0
  221. /package/build/{WEIGHT_BOYS.percentile.weekly-184f141e.js → WEIGHT_BOYS.percentile.weekly-c0915786.js} +0 -0
  222. /package/build/{WEIGHT_BOYS.percentile.yearly-c9e8aaf8.js → WEIGHT_BOYS.percentile.yearly-898b748c.js} +0 -0
  223. /package/build/{WEIGHT_BOYS.zscore.monthly-c9f03466.js → WEIGHT_BOYS.zscore.monthly-e47a72be.js} +0 -0
  224. /package/build/{WEIGHT_BOYS.zscore.weekly-413af608.js → WEIGHT_BOYS.zscore.weekly-23cc874f.js} +0 -0
  225. /package/build/{WEIGHT_BOYS.zscore.yearly-fd8ddd34.js → WEIGHT_BOYS.zscore.yearly-2c523e95.js} +0 -0
  226. /package/build/{WEIGHT_GIRLS.percentile.monthly-b78e414e.js → WEIGHT_GIRLS.percentile.monthly-232c03ec.js} +0 -0
  227. /package/build/{WEIGHT_GIRLS.percentile.weekly-6979e7ca.js → WEIGHT_GIRLS.percentile.weekly-363f6163.js} +0 -0
  228. /package/build/{WEIGHT_GIRLS.percentile.yearly-be5d12e7.js → WEIGHT_GIRLS.percentile.yearly-09c2db7a.js} +0 -0
  229. /package/build/{WEIGHT_GIRLS.zscore.monthly-28299624.js → WEIGHT_GIRLS.zscore.monthly-996f2f01.js} +0 -0
  230. /package/build/{WEIGHT_GIRLS.zscore.weekly-8584439e.js → WEIGHT_GIRLS.zscore.weekly-1c937534.js} +0 -0
  231. /package/build/{WEIGHT_GIRLS.zscore.yearly-2e04a2a2.js → WEIGHT_GIRLS.zscore.yearly-ab136277.js} +0 -0
  232. /package/build/{cookieHelper-2e8bb9fa.js → cookieHelper-91788da6.js} +0 -0
  233. /package/build/esm/{BMI_BOYS.percentile.monthly-486f83ee.js → BMI_BOYS.percentile.monthly-f3616831.js} +0 -0
  234. /package/build/esm/{BMI_BOYS.percentile.weekly-fd3c15c3.js → BMI_BOYS.percentile.weekly-e94f9b0c.js} +0 -0
  235. /package/build/esm/{BMI_BOYS.percentile.yearly-da6eb7ec.js → BMI_BOYS.percentile.yearly-8f7ac99b.js} +0 -0
  236. /package/build/esm/{BMI_BOYS.zscore.monthly-62d445f2.js → BMI_BOYS.zscore.monthly-54be7428.js} +0 -0
  237. /package/build/esm/{BMI_BOYS.zscore.weekly-f67c90eb.js → BMI_BOYS.zscore.weekly-6c12aa9f.js} +0 -0
  238. /package/build/esm/{BMI_BOYS.zscore.yearly-b1a41fe8.js → BMI_BOYS.zscore.yearly-1c23b3d9.js} +0 -0
  239. /package/build/esm/{BMI_GIRLS.percentile.monthly-66a216cc.js → BMI_GIRLS.percentile.monthly-8a502893.js} +0 -0
  240. /package/build/esm/{BMI_GIRLS.percentile.weekly-b46429d6.js → BMI_GIRLS.percentile.weekly-fa839bec.js} +0 -0
  241. /package/build/esm/{BMI_GIRLS.percentile.yearly-6a6af348.js → BMI_GIRLS.percentile.yearly-a4566ca8.js} +0 -0
  242. /package/build/esm/{BMI_GIRLS.zscore.monthly-41bb8c08.js → BMI_GIRLS.zscore.monthly-aab4d85c.js} +0 -0
  243. /package/build/esm/{BMI_GIRLS.zscore.weekly-04eb8b89.js → BMI_GIRLS.zscore.weekly-f8488af5.js} +0 -0
  244. /package/build/esm/{BMI_GIRLS.zscore.yearly-099feda2.js → BMI_GIRLS.zscore.yearly-a4d7a630.js} +0 -0
  245. /package/build/esm/{ChevronDown-c2b4123b.js → ChevronDown-7443ba17.js} +0 -0
  246. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-53d11c4f.js → HEAD CIRCUM_BOYS.percentile.monthly-dd491a3d.js} +0 -0
  247. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-19dae757.js → HEAD CIRCUM_BOYS.percentile.weekly-9a4cc487.js} +0 -0
  248. /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-e744f2ee.js → HEAD CIRCUM_BOYS.percentile.yearly-5ff7c492.js} +0 -0
  249. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-12b76190.js → HEAD CIRCUM_BOYS.zscore.monthly-921be2d2.js} +0 -0
  250. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a62a347c.js → HEAD CIRCUM_BOYS.zscore.weekly-f5d468d9.js} +0 -0
  251. /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-d1c96a90.js → HEAD CIRCUM_BOYS.zscore.yearly-5199b4a7.js} +0 -0
  252. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-52e91c35.js → HEAD CIRCUM_GIRLS.percentile.monthly-8679c7bc.js} +0 -0
  253. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-51fd4b94.js → HEAD CIRCUM_GIRLS.percentile.weekly-9e2dcb2b.js} +0 -0
  254. /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fb3c718e.js → HEAD CIRCUM_GIRLS.percentile.yearly-c6203100.js} +0 -0
  255. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-8d54ac23.js → HEAD CIRCUM_GIRLS.zscore.monthly-856a5b1e.js} +0 -0
  256. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-17722148.js → HEAD CIRCUM_GIRLS.zscore.weekly-0783f118.js} +0 -0
  257. /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-0849bdb2.js → HEAD CIRCUM_GIRLS.zscore.yearly-a84257a0.js} +0 -0
  258. /package/build/esm/{HEIGHT_BOYS.percentile.monthly-9219856c.js → HEIGHT_BOYS.percentile.monthly-788fb5b4.js} +0 -0
  259. /package/build/esm/{HEIGHT_BOYS.percentile.weekly-f257a74f.js → HEIGHT_BOYS.percentile.weekly-f5190462.js} +0 -0
  260. /package/build/esm/{HEIGHT_BOYS.percentile.yearly-3ed1a065.js → HEIGHT_BOYS.percentile.yearly-afe4fd67.js} +0 -0
  261. /package/build/esm/{HEIGHT_BOYS.zscore.monthly-a58e6f2e.js → HEIGHT_BOYS.zscore.monthly-bb98f05e.js} +0 -0
  262. /package/build/esm/{HEIGHT_BOYS.zscore.weekly-af59d81d.js → HEIGHT_BOYS.zscore.weekly-dfb95358.js} +0 -0
  263. /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d64544e6.js → HEIGHT_BOYS.zscore.yearly-055fefcb.js} +0 -0
  264. /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-58d712e2.js → HEIGHT_GIRLS.percentile.monthly-441d5eec.js} +0 -0
  265. /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-f5718378.js → HEIGHT_GIRLS.percentile.weekly-df673b20.js} +0 -0
  266. /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-306e09e7.js → HEIGHT_GIRLS.percentile.yearly-b8635e96.js} +0 -0
  267. /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-ad472813.js → HEIGHT_GIRLS.zscore.monthly-8350897b.js} +0 -0
  268. /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-e53d92d3.js → HEIGHT_GIRLS.zscore.weekly-820a7ef3.js} +0 -0
  269. /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3e6e23aa.js → HEIGHT_GIRLS.zscore.yearly-b2f2d906.js} +0 -0
  270. /package/build/esm/{Subot-dc774172.js → Subot-3d309d90.js} +0 -0
  271. /package/build/esm/{Visible-302a3e45.js → Visible-45ab1e13.js} +0 -0
  272. /package/build/esm/{WEIGHT_BOYS.percentile.monthly-49a7ae53.js → WEIGHT_BOYS.percentile.monthly-566b72c0.js} +0 -0
  273. /package/build/esm/{WEIGHT_BOYS.percentile.weekly-63420203.js → WEIGHT_BOYS.percentile.weekly-ae3bef15.js} +0 -0
  274. /package/build/esm/{WEIGHT_BOYS.percentile.yearly-26609ac2.js → WEIGHT_BOYS.percentile.yearly-fd72f182.js} +0 -0
  275. /package/build/esm/{WEIGHT_BOYS.zscore.monthly-cb16306f.js → WEIGHT_BOYS.zscore.monthly-4ebeca1a.js} +0 -0
  276. /package/build/esm/{WEIGHT_BOYS.zscore.weekly-291be10f.js → WEIGHT_BOYS.zscore.weekly-1edeedcc.js} +0 -0
  277. /package/build/esm/{WEIGHT_BOYS.zscore.yearly-6a25a7fa.js → WEIGHT_BOYS.zscore.yearly-b42da93c.js} +0 -0
  278. /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d11ea01c.js → WEIGHT_GIRLS.percentile.monthly-ab099390.js} +0 -0
  279. /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-93c36ba6.js → WEIGHT_GIRLS.percentile.weekly-e604f0e1.js} +0 -0
  280. /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-5fc6d885.js → WEIGHT_GIRLS.percentile.yearly-9575be98.js} +0 -0
  281. /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-0f6fd15b.js → WEIGHT_GIRLS.zscore.monthly-bddddbe3.js} +0 -0
  282. /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-ea9c19e1.js → WEIGHT_GIRLS.zscore.weekly-f255cbfc.js} +0 -0
  283. /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9665443f.js → WEIGHT_GIRLS.zscore.yearly-a99d0fd7.js} +0 -0
  284. /package/build/esm/{cookieHelper-d6490b00.js → cookieHelper-0acd4fc8.js} +0 -0
  285. /package/build/esm/{index-379f6571.js → index-550480ee.js} +0 -0
  286. /package/build/esm/{index-a59b0ec0.js → index-5dc45c1c.js} +0 -0
  287. /package/build/esm/{index-d5fe6c4e.js → index-a6ddd645.js} +0 -0
  288. /package/build/esm/{isProduction-7b1509aa.js → isProduction-135c9280.js} +0 -0
  289. /package/build/esm/{localizeNumberFormat-b4e337ed.js → localizeNumberFormat-883148fd.js} +0 -0
  290. /package/build/esm/{normalizeLink-7bed1319.js → normalizeLink-75e03b67.js} +0 -0
  291. /package/build/esm/{number-eb39d16c.js → number-73b198fe.js} +0 -0
  292. /package/build/esm/{paths-2e45cb1b.js → paths-61361575.js} +0 -0
  293. /package/build/esm/{theme-adbee273.js → theme-0d3c8845.js} +0 -0
  294. /package/build/esm/{translationsContext-4623d384.js → translationsContext-ee7ec6eb.js} +0 -0
  295. /package/build/esm/{tslib.es6-693de4fd.js → tslib.es6-c43c14a5.js} +0 -0
  296. /package/build/esm/{types-054bf1d5.js → types-745b966e.js} +0 -0
  297. /package/build/esm/{useIsInit-7d5bf403.js → useIsInit-d5727c47.js} +0 -0
  298. /package/build/esm/{useOutsideClick-5c82f669.js → useOutsideClick-e4f22be5.js} +0 -0
  299. /package/build/esm/{useScrollbarSize-cfeb4651.js → useScrollbarSize-0d367255.js} +0 -0
  300. /package/build/{index-346123fd.js → index-52b005ff.js} +0 -0
  301. /package/build/{index-53fb3b00.js → index-983a543a.js} +0 -0
  302. /package/build/{index-408e11c4.js → index-f2e5a43e.js} +0 -0
  303. /package/build/{isProduction-87f95c7d.js → isProduction-8a3929cb.js} +0 -0
  304. /package/build/{localizeNumberFormat-e7196b4e.js → localizeNumberFormat-d00e3203.js} +0 -0
  305. /package/build/{normalizeLink-245ad49c.js → normalizeLink-e4d8df7b.js} +0 -0
  306. /package/build/{number-5c9d6f63.js → number-9930fc27.js} +0 -0
  307. /package/build/{paths-3287ee93.js → paths-ed97730a.js} +0 -0
  308. /package/build/{theme-785c6f0c.js → theme-0bb94193.js} +0 -0
  309. /package/build/{translationsContext-efee8d50.js → translationsContext-e09b4f33.js} +0 -0
  310. /package/build/{tslib.es6-ef1f81bf.js → tslib.es6-293338f5.js} +0 -0
  311. /package/build/{types-0321e2cc.js → types-140f0c7d.js} +0 -0
  312. /package/build/{useIsInit-311b057a.js → useIsInit-f9337a25.js} +0 -0
  313. /package/build/{useOutsideClick-7ddf4eaa.js → useOutsideClick-ac461ca7.js} +0 -0
  314. /package/build/{useScrollbarSize-6947aaa0.js → useScrollbarSize-9413af1b.js} +0 -0
@@ -1,3122 +0,0 @@
1
- import e,{memo as t,useRef as a,useState as i,useEffect as o,useImperativeHandle as r,useMemo as n,forwardRef as l,createContext as s}from"react";import{I as d,T as c}from"./index-6f066011.js";import{u as p}from"./useTranslations-2b415154.js";import"lodash/debounce";import"./isProduction-7b1509aa.js";import"./index-a454d80b.js";import"./useCategory-e47c3929.js";import{createStyles as m,Stack as g,Group as h,getStylesRef as u,useMantineTheme as b,Flex as x,rem as f,Box as y}from"@mantine/core";import v from"dayjs";import{M as w}from"./screenSizeContext-8e3cd726.js";import k,{keyframes as E,css as $}from"styled-components";import{t as D}from"./theme-adbee273.js";import{G as C,L as z}from"./Subot-dc774172.js";import{C as B}from"./index-7678ada1.js";import{L as P}from"./index-fdc4fb0f.js";import{B as N}from"./index-ab03b9dd.js";import{H as j,T as S,Q as I,a6 as T,P as M,x as O}from"./index.styles-caebb95e.js";import{I as A}from"./index-cd710e7d.js";import{_}from"./tslib.es6-693de4fd.js";import{R as L,B as U}from"./index-1cfc85b4.js";import"@mantine/dates";import"./translationsContext-4623d384.js";import"string-format";import"@mantine/hooks";import{yupResolver as F}from"@hookform/resolvers/yup";import{useForm as H,Controller as R}from"react-hook-form";import{B as G,D as W}from"./index-608b4a88.js";import{L as V}from"./constants-474a60fc.js";import{D as q}from"./index.styled-3e11e657.js";import{format as Y,addDays as Z}from"date-fns";import"./utils-9dae9f7b.js";import{S as X}from"./index-95a46cf3.js";import{M as J}from"./index-a2dcf4e9.js";import"./index-a59b0ec0.js";import{D as K}from"./types-054bf1d5.js";import Q from"react-day-picker/DayPickerInput";var ee="tliWyii";const te=({className:t,theme:a,hideText:i})=>{const{t:o}=p();return e.createElement("div",{className:`${ee} ${t}`},e.createElement(d.Spinner,{isMarryBaby:"marryBaby"===a}),!i&&o("loading"))},ae=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),ie=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),oe=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:a,dataEventLabelForBookmark:i})=>e.createElement("svg",{"data-event-category":t,"data-event-action":a,"data-event-label":i,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var re=m(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const ne=k.a`
2
- display: flex;
3
- height: 125px;
4
-
5
- box-sizing: border-box;
6
- flex-direction: column;
7
- align-items: center;
8
- padding: 8px;
9
-
10
- border: 1px solid ${D.colors.neutral100};
11
- background-color: white;
12
- border-radius: ${D.borderRadius};
13
- box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
14
- cursor: pointer;
15
- text-decoration: none;
16
-
17
- & > .banner {
18
- width: 100%;
19
- height: 63px;
20
- text-align: center;
21
- }
22
-
23
- & > .content {
24
- display: -webkit-box;
25
- overflow: hidden;
26
- -webkit-box-orient: vertical;
27
- -webkit-line-clamp: 2;
28
- text-align: center;
29
- word-break: break-word;
30
- }
31
-
32
- * {
33
- pointer-events: none;
34
- }
35
- `,le=k.div`
36
- display: flex;
37
-
38
- &[data-type='vertical'] {
39
- flex-direction: column;
40
-
41
- div {
42
- margin-bottom: 20px;
43
- }
44
- }
45
-
46
- &[data-type='horizontal'] {
47
- flex-wrap: wrap;
48
-
49
- div {
50
- margin-right: 25px;
51
- }
52
-
53
- &[data-is-rectangle] {
54
- div {
55
- margin-right: 14px;
56
- }
57
- }
58
- }
59
- `,se={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},de=k.div`
60
- .pickerContainer {
61
- position: relative;
62
- padding-top: 0;
63
- & > div > svg {
64
- position: absolute;
65
- top: 36px;
66
- right: 16px;
67
- cursor: pointer;
68
- }
69
-
70
- & > :not(:first-child) {
71
- position: absolute;
72
- z-index: 2;
73
- width: 100%;
74
- }
75
- }
76
-
77
- &[data-is-static] .pickerOverlayWrapper {
78
- position: static;
79
- max-width: 250px;
80
- aspect-ratio: 1 / 1;
81
-
82
- > .pickerOverlay {
83
- padding: 1rem;
84
- }
85
- }
86
-
87
- .pickerOverlayWrapper {
88
- min-width: 320px;
89
- }
90
-
91
- &[data-align-right='true'] {
92
- .pickerOverlayWrapper {
93
- right: 0;
94
- }
95
- }
96
-
97
- .pickerOverlay {
98
- margin-top: 6px;
99
- background: white;
100
- border-radius: ${D.borderRadius};
101
- box-shadow: 0px 6px 12px rgba(67, 86, 100, 0.2);
102
- }
103
-
104
- .picker {
105
- width: 100%;
106
- }
107
-
108
- .react-datepicker-popper {
109
- .react-datepicker {
110
- display: flex;
111
- width: 340px;
112
- height: 305px;
113
- align-items: center;
114
- justify-content: center;
115
- border: none;
116
- box-shadow: (-1px 1px 2px rgba(67, 70, 74, 0.0001)),
117
- (-2px 2px 5px rgba(67, 86, 100, 0.123689));
118
- }
119
-
120
- .svg {
121
- cursor: pointer;
122
- stroke: ${D.colors.gray800};
123
- }
124
- .react-datepicker__day {
125
- width: 40px;
126
- }
127
-
128
- .react-datepicker__header {
129
- border-bottom: 0;
130
- background-color: white;
131
- }
132
-
133
- .react-datepicker__day--outside-month {
134
- color: #e9e9e9;
135
- }
136
-
137
- .react-datepicker__day {
138
- font-weight: ${D.sizes.fwBold};
139
- }
140
-
141
- .react-datepicker__day--selected,
142
- .react-datepicker__day--today,
143
- .react-datepicker__day--selected:hover,
144
- .react-datepicker__day--keyboard-selected {
145
- width: 32px;
146
- height: 30px;
147
- margin: 4px;
148
- margin-bottom: -2px;
149
- background: ${D.colors.primaryBase};
150
- border-radius: 50%;
151
- }
152
-
153
- .react-datepicker__day-name {
154
- width: 40px;
155
- }
156
-
157
- .react-datepicker__triangle {
158
- display: none;
159
- }
160
-
161
- .react-datepicker__header.react-datepicker__header--custom {
162
- svg {
163
- stroke: #262626;
164
- }
165
- select {
166
- background: ${D.colors.neutral100};
167
- text-align: center;
168
- &:not(:last-child) {
169
- padding: 8px 10px;
170
- margin-right: 15px;
171
- border-radius: ${D.borderRadius};
172
- }
173
- }
174
- }
175
- }
176
-
177
- /* DayPicker styles */
178
-
179
- .DayPicker {
180
- display: inline-block;
181
- font-size: 1rem;
182
- }
183
-
184
- .DayPicker-wrapper {
185
- position: relative;
186
-
187
- flex-direction: row;
188
- padding-bottom: 1em;
189
-
190
- -webkit-user-select: none;
191
-
192
- -moz-user-select: none;
193
-
194
- -ms-user-select: none;
195
-
196
- user-select: none;
197
- }
198
-
199
- .DayPicker-Months {
200
- display: flex;
201
- flex-wrap: wrap;
202
- justify-content: center;
203
- }
204
-
205
- .DayPicker-Month {
206
- display: table;
207
- margin: 0 16px;
208
- margin-top: 16px;
209
- border-collapse: collapse;
210
- border-spacing: 0;
211
-
212
- -webkit-user-select: none;
213
-
214
- -moz-user-select: none;
215
-
216
- -ms-user-select: none;
217
-
218
- user-select: none;
219
- }
220
-
221
- .DayPicker-NavBar {
222
- position: absolute;
223
- top: 16px;
224
- left: 0;
225
- display: flex;
226
- width: 100%;
227
- height: 0;
228
- align-items: center;
229
- justify-content: space-between;
230
- padding: 0 20px;
231
- }
232
-
233
- .DayPicker-NavButton {
234
- width: 24px;
235
- height: 24px;
236
- margin-bottom: -47px;
237
- background-position: center;
238
- background-repeat: no-repeat;
239
- background-size: 16px 16px;
240
- color: #8b9898;
241
- cursor: pointer;
242
- }
243
-
244
- .DayPicker-NavButton:hover {
245
- opacity: 0.8;
246
- }
247
-
248
- .DayPicker-NavButton--prev {
249
- //left: 2px;
250
- background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9L1 5L5 1' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
251
- }
252
-
253
- .DayPicker-NavButton--next {
254
- //right: 2px;
255
- background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L1 9' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
256
- }
257
-
258
- .DayPicker-NavButton--interactionDisabled {
259
- display: none;
260
- }
261
-
262
- .DayPicker-Caption {
263
- display: table-caption;
264
- width: 100%;
265
- height: 46px;
266
- padding: 0 32px;
267
- }
268
-
269
- .DayPicker-Caption select {
270
- font-size: 16px;
271
- font-weight: 600;
272
- line-height: 24px;
273
- text-align: left;
274
- }
275
-
276
- .DayPicker-Weekdays {
277
- display: table-header-group;
278
- margin-top: 1em;
279
- }
280
-
281
- .DayPicker-WeekdaysRow {
282
- display: table-row;
283
- }
284
-
285
- .DayPicker-Weekday {
286
- display: table-cell;
287
- padding: 0.5em;
288
- color: #8b9898;
289
- font-size: 0.875em;
290
- text-align: center;
291
- }
292
-
293
- .DayPicker-Weekday abbr[title] {
294
- border-bottom: none;
295
- text-decoration: none;
296
- }
297
-
298
- .DayPicker-Body {
299
- display: table-row-group;
300
- }
301
-
302
- .DayPicker-Week {
303
- display: table-row;
304
- }
305
-
306
- .DayPicker-Day {
307
- display: table-cell;
308
-
309
- width: 40px;
310
- height: 40px;
311
- border-radius: 50%;
312
- cursor: pointer;
313
- text-align: center;
314
- vertical-align: middle;
315
- }
316
-
317
- .DayPicker-WeekNumber {
318
- display: table-cell;
319
- min-width: 1em;
320
- padding: 0.5em;
321
- border-right: 1px solid #eaecec;
322
- color: #8b9898;
323
- cursor: pointer;
324
- font-size: 0.75em;
325
- text-align: right;
326
- vertical-align: middle;
327
- }
328
-
329
- .DayPicker--interactionDisabled .DayPicker-Day {
330
- cursor: default;
331
- }
332
-
333
- .DayPicker-Footer {
334
- padding-top: 0.5em;
335
- }
336
-
337
- .DayPicker-TodayButton {
338
- border: none;
339
- background-color: transparent;
340
- background-image: none;
341
- box-shadow: none;
342
- color: #4a90e2;
343
- cursor: pointer;
344
- font-size: 0.875em;
345
- }
346
-
347
- /* Default modifiers */
348
-
349
- .DayPicker-Day--today {
350
- color: #d0021b;
351
- font-weight: 700;
352
- }
353
-
354
- .DayPicker-Day--outside {
355
- color: #8b9898;
356
- cursor: default;
357
- }
358
-
359
- .DayPicker-Day--disabled {
360
- color: #dce0e0;
361
- cursor: default;
362
- /* background-color: #eff1f1; */
363
- }
364
-
365
- /* Example modifiers */
366
-
367
- .DayPicker-Day--sunday {
368
- background-color: #f7f8f8;
369
- }
370
-
371
- .DayPicker-Day--sunday:not(.DayPicker-Day--today) {
372
- color: #dce0e0;
373
- }
374
-
375
- .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
376
- .DayPicker-Day--outside
377
- ) {
378
- position: relative;
379
-
380
- background-color: ${D.colors.primaryBase};
381
- color: #f0f8ff;
382
- font-weight: ${D.sizes.fwBold};
383
- }
384
-
385
- .DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
386
- .DayPicker-Day--outside
387
- ):hover {
388
- background-color: #51a0fa;
389
- }
390
-
391
- .DayPicker:not(.DayPicker--interactionDisabled)
392
- .DayPicker-Day:not(.DayPicker-Day--disabled):not(
393
- .DayPicker-Day--selected
394
- ):not(.DayPicker-Day--outside):hover {
395
- background-color: #f0f8ff;
396
- }
397
-
398
- /* DayPickerInput */
399
-
400
- .DayPickerInput {
401
- display: inline-block;
402
- }
403
-
404
- .DayPickerInput-OverlayWrapper {
405
- position: relative;
406
- }
407
-
408
- .DayPickerInput-Overlay {
409
- position: absolute;
410
- z-index: 1;
411
- left: 0;
412
-
413
- background: white;
414
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
415
- }
416
- `,ce=k.form`
417
- display: flex;
418
- width: 100%;
419
-
420
- height: 46px;
421
- align-items: center;
422
- justify-content: space-between;
423
- & > :first-child {
424
- margin-right: 10px;
425
- }
426
-
427
- & * {
428
- height: 46px;
429
- padding: 10px 10px;
430
- background: ${D.colors.neutral100};
431
- border-radius: ${D.borderRadius};
432
- }
433
- `,pe=({alignRight:t=!0,placeholder:r,displayDateFormat:n,onChange:l,customInput:s,pickedDate:d,className:c,isStatic:p,disabledDays:m,modifiers:g,UnHideOnClickOutside:h,initialMonth:u,locale:b="en-PH"})=>{const x=a(!1),f=Y,[y,v]=i(u||new Date),w=a(null),k=a(null),E=se[b],$=e=>{h||w.current&&w.current.contains(e.target)||k.current&&k.current.hideDayPicker()},D=(new Date).getFullYear(),C=new Date(D-150,0),z=new Date(D+1,0),B=({date:t,onChange:a,monthLabels:i})=>{const o=[];for(let e=z.getFullYear();e>=C.getFullYear();e-=1)o.push(e);const r=function(e){const{year:t,month:i}=e.target.form;a(new Date(t.value,i.value))};return e.createElement("div",{className:"DayPicker-Caption"},e.createElement(ce,null,e.createElement("select",{name:"month",onChange:r,value:t.getMonth()},i.map(((t,a)=>e.createElement("option",{key:t,value:a},t)))),e.createElement("select",{name:"year",onChange:r,value:t.getFullYear()},o.map((t=>e.createElement("option",{key:t,value:t},t))))))};return o((()=>(document.addEventListener("mousedown",$,{passive:!0}),()=>{document.removeEventListener("mousedown",$,!1)})),[]),e.createElement(de,{className:c,"data-align-right":t,ref:w,"data-is-static":p||void 0},e.createElement(Q,{ref:k,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:s&&e.forwardRef(((t,a)=>e.createElement(s,Object.assign({},t)))),onDayPickerHide:()=>{x.current=!1},onDayPickerShow:()=>{x.current=!0},dayPickerProps:{month:y,className:"picker",selectedDays:d,canChangeMonth:!0,enableOutsideDaysClick:!p,firstDayOfWeek:1,captionElement:({date:t,localeUtils:a})=>{const i=null==a?void 0:a.getMonths();return e.createElement(B,{date:t,monthLabels:E||i,onChange:v})},disabledDays:m||void 0,modifiers:g},format:n||"yyyy-MM-dd",formatDate:(e,t)=>f(e,t),hideOnDayClick:!p,placeholder:r||"",onDayChange:e=>{var t;t=e,k.current&&!p&&k.current.hideDayPicker(),l&&l(t)},showOverlay:p}))},me=k.div`
434
- display: flex;
435
- align-items: center;
436
- --font-weight-lg: ${D.sizes.fwBold};
437
- --font-weight-md: ${D.sizes.fwRegular};
438
- --font-weight-sm: ${D.sizes.fwRegular};
439
-
440
- &[data-icon-position='left'] {
441
- & > *:first-child {
442
- margin-right: 8px;
443
- }
444
-
445
- & > *:last-child {
446
- width: calc(100% - 24px);
447
- }
448
- }
449
- &[data-icon-position='right'] {
450
- & > *:first-child {
451
- width: calc(100% - 24px);
452
- }
453
- & > *:last-child {
454
- margin-left: 8px;
455
- }
456
- }
457
-
458
- ${w.mbDown} {
459
- &[data-size='lg'] {
460
- font-size: 16px;
461
- line-height: 24px;
462
- font-weight: var(--font-weight-lg);
463
- }
464
- &[data-size='md'] {
465
- font-size: 14px;
466
- line-height: 22px;
467
- font-weight: var(--font-weight-md);
468
- }
469
- &[data-size='sm'] {
470
- font-size: 13px;
471
- line-height: 20px;
472
- font-weight: var(----font-weight-sm);
473
- }
474
- }
475
- `,ge=k.div`
476
- position: relative;
477
- width: 100%;
478
-
479
- & div[role='slider'] {
480
- -webkit-text-size-adjust: none;
481
- -webkit-user-select: none;
482
- &:focus {
483
- outline: none;
484
- }
485
- }
486
- `,he=k.div`
487
- position: absolute;
488
- top: 19px;
489
- width: 24px;
490
- height: 24px;
491
- color: ${D.colors.white};
492
- border: 2px solid ${D.colors.white};
493
- border-radius: 50%;
494
- transform: translateY(-50%) translateX(-50%);
495
- display: flex;
496
- align-items: center;
497
- justify-content: center;
498
- cursor: pointer;
499
-
500
- background-color: ${D.colors.white};
501
- color: ${D.colors.gray300};
502
- border: 1px solid ${D.colors.gray300};
503
-
504
- &[data-is-active='true'] {
505
- background-color: ${D.colors.primaryBase};
506
- color: ${D.colors.white};
507
- border: none;
508
- }
509
- `,ue=k.div`
510
- display: flex;
511
- width: 100%;
512
- height: 36px;
513
-
514
- &[data-track-type='detail'] {
515
- margin-top: 0;
516
- }
517
-
518
- &[data-track-type='detail'][data-step-passed='true'] > div {
519
- border: 1px solid ${D.colors.primaryBase};
520
- height: 0px;
521
- }
522
-
523
- &[data-track-type='detail'] > div {
524
- border: 1px solid ${D.colors.gray200};
525
- height: 0px;
526
- }
527
- `,be=k.div`
528
- width: 100%;
529
- height: 5px;
530
- align-self: center;
531
- border-radius: 4px;
532
- background-color: ${D.colors.gray200};
533
- `,xe=k.div`
534
- position: absolute;
535
- top: 32px;
536
- min-width: 100px;
537
- text-align: center;
538
- color: ${D.colors.gray500};
539
- font-size: ${D.sizes.fsCaption2};
540
- font-weight: ${D.sizes.fwBold};
541
-
542
- &[data-step-passed='true'] {
543
- color: ${D.colors.gray800};
544
- }
545
- `,fe=k.div`
546
- display: flex;
547
- align-items: center;
548
- `,ye=k.div`
549
- display: flex;
550
- align-items: center;
551
- font-size: ${D.sizes.fsCaption2};
552
- font-weight: ${D.sizes.fwBold};
553
- color: ${D.colors.gray500};
554
- cursor: pointer;
555
-
556
- & > svg {
557
- height: 10px;
558
- width: 10px;
559
- margin: 0 14px;
560
- }
561
-
562
- & > svg > path {
563
- stroke: ${D.colors.gray500};
564
- }
565
-
566
- &[data-selected='true'] {
567
- color: ${D.colors.primaryBase};
568
- }
569
- `,ve=k.div`
570
- position: absolute;
571
- left: 0;
572
- top: 19px;
573
- height: 24px;
574
- cursor: pointer;
575
-
576
- transform: translateY(-50%);
577
- display: flex;
578
- align-items: center;
579
-
580
- padding: 8px;
581
- background-color: ${D.colors.white};
582
- `,we=k.div`
583
- min-width: 24px;
584
- height: 24px;
585
- border: 2px solid ${D.colors.white};
586
- border-radius: 50%;
587
- margin-right: 8px;
588
- display: flex;
589
- align-items: center;
590
- justify-content: center;
591
- cursor: pointer;
592
-
593
- background-color: ${D.colors.white};
594
- color: ${D.colors.gray300};
595
- border: 1px solid ${D.colors.gray300};
596
-
597
- &[data-is-active='true'] {
598
- border: none;
599
- background-color: ${D.colors.primaryBase};
600
- color: ${D.colors.white};
601
- }
602
- `,ke=k.div`
603
- display: flex;
604
- align-items: center;
605
- justify-content: center;
606
-
607
- & > svg {
608
- height: 20px;
609
- width: 20px;
610
- margin-right: 8px;
611
-
612
- & > path {
613
- stroke: ${D.colors.gray500};
614
- }
615
- }
616
- `,Ee=k.div`
617
- color: ${D.colors.gray400};
618
- font-size: ${D.sizes.fsCaption2};
619
- font-weight: ${D.sizes.fwBold};
620
- margin-right: 8px;
621
- flex: 0 0 auto;
622
-
623
- &[data-step-passed='true'] {
624
- color: ${D.colors.gray800};
625
- }
626
- `,$e=k.div`
627
- position: absolute;
628
- top: 32px;
629
- font-weight: ${D.sizes.fwRegular};
630
- color: ${D.colors.gray400};
631
- padding-right: 16px;
632
- `,De=e.forwardRef((({id:t,value:a,options:o,className:n,isDisabled:l,size:s="small",direction:d="vertical",onChange:c,dataEventCategory:p,dataEventAction:m,dataEventLabel:u},b)=>{const[x,f]=i(a);r(b,(()=>({reset(){f(a)}})));const y="small"===s?"md":"lg",v="vertical"===d?g:h;return e.createElement(L.Group,{name:t,className:n,size:y,value:String(x),defaultValue:a,onChange:e=>{f(e),null==c||c(e)}},e.createElement(v,{spacing:"xl"},o.map((t=>e.createElement(L,{key:t.value,value:t.value,label:t.label,disabled:l,"data-event-category":p,"data-event-action":m,"data-event-label":u})))))})),Ce=k.div`
633
- --menu-width: 240px;
634
- --menu-spacing: 28px 16px;
635
- width: var(--menu-width);
636
- height: 100vh;
637
- padding: var(--menu-spacing);
638
- background-color: ${D.colors.neutral50};
639
- transition: ease-in-out 0.5s;
640
-
641
- &[data-is-collapsed] {
642
- --menu-width: 64px;
643
- --menu-spacing: 28px 8px;
644
- }
645
- `,ze=({isCollapsed:t,className:a,style:i,children:o})=>e.createElement(Ce,{style:i,className:a,"data-is-collapsed":t||void 0},o),Be=k.div`
646
- display: flex;
647
- align-items: baseline;
648
- justify-content: space-between;
649
-
650
- svg {
651
- transition: 0.4s ease-in-out;
652
- }
653
- `,Pe=k.div`
654
- cursor: pointer;
655
- &[data-is-collapsed] {
656
- transform: rotate(180deg);
657
- }
658
- `,Ne=({isCollapsed:t,defaultLogo:a,onBackClick:i,customIcon:o})=>e.createElement(Be,null,e.createElement(P,{type:t?"logomark":a||"hellocare",customSize:{width:t?"24px":"77px",height:"24px"}}),e.createElement(Pe,{"data-is-collapsed":t||void 0,onClick:i},o||e.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},e.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),e.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),je=k.figure`
659
- display: flex;
660
-
661
- > img,
662
- svg,
663
- picture {
664
- width: 40px;
665
- height: 40px;
666
- margin-right: 1rem;
667
- border-radius: 6px;
668
- object-fit: cover;
669
- }
670
-
671
- > figcaption {
672
- p + p {
673
- margin-top: 2px;
674
- }
675
- }
676
- `,Se=({name:t,description:a,image:i,isDescriptionHidden:o})=>e.createElement(je,null,i,!o&&e.createElement("figcaption",null,e.createElement(c,{size:"p4",weight:"bold"},t),e.createElement(c,{size:"p4"},a))),Ie=k.div`
677
- display: flex;
678
- align-items: center;
679
- margin-top: 24px;
680
- margin-bottom: 36px;
681
-
682
- figcaption {
683
- white-space: nowrap;
684
- }
685
-
686
- &[data-is-collapsed='true'] {
687
- img {
688
- max-width: 2rem;
689
- max-height: 2rem;
690
- }
691
- }
692
- `,Te=({isCollapsed:t,userName:a,role:i,avatar:o})=>e.createElement(Ie,{"data-is-collapsed":t||void 0},e.createElement(Se,{image:o,name:a,description:i,isDescriptionHidden:t})),Me=k.div`
693
- display: flex;
694
- align-items: center;
695
- padding: 9px 21px;
696
- margin-bottom: 4px;
697
- border-radius: 6px;
698
-
699
- &:not([data-is-link-active]) {
700
- cursor: pointer;
701
- }
702
-
703
- p {
704
- margin-left: 12px;
705
- }
706
-
707
- &[data-is-link-active] {
708
- background: ${D.colors.primaryBase};
709
- }
710
-
711
- &[data-is-link-collapsed] {
712
- justify-content: center;
713
- margin-right: -14px;
714
- margin-left: -14px;
715
- }
716
- `,Oe=({icon:t,isActive:a,children:i,isCollapsed:o,activeIcon:r,onLinkClick:n,textSize:l="base",textType:s="bold",textColorActive:d="#fff",textColor:p="#595959"})=>e.createElement(Me,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":o||void 0},a&&r?r:t,!o&&e.createElement(c,{size:l,weight:s,color:a?d:p},i)),Ae=k.div`
717
- position: relative;
718
- width: 100%;
719
- > .container {
720
- display: flex;
721
- width: 100%;
722
- -ms-overflow-style: none;
723
- overflow-x: auto;
724
- scrollbar-width: none;
725
-
726
- &::-webkit-scrollbar {
727
- display: none;
728
- }
729
-
730
- .section {
731
- display: flex;
732
- width: 100%;
733
- flex-direction: column;
734
- flex-shrink: 0;
735
- margin: auto;
736
-
737
- > .grid-layout {
738
- display: grid;
739
- width: 100%;
740
- grid-row-gap: 8px;
741
-
742
- > .item-grid {
743
- width: 100%;
744
-
745
- > * {
746
- margin: 0 auto;
747
- }
748
- }
749
- }
750
-
751
- .progress-bar {
752
- display: grid;
753
- height: 15px;
754
- margin-bottom: 10px;
755
-
756
- .items-progress {
757
- position: relative;
758
- display: flex;
759
- width: 100%;
760
- align-items: center;
761
- justify-content: center;
762
-
763
- .icon-status {
764
- position: absolute;
765
- display: flex;
766
- }
767
-
768
- .line {
769
- width: 50%;
770
- height: 2px;
771
- background-color: ${D.colors.gray600};
772
- }
773
- }
774
- }
775
- }
776
- }
777
-
778
- .bullet-nav {
779
- position: absolute;
780
- z-index: ${D.zIndexes.belowHeader};
781
- bottom: -30px;
782
- left: 50%;
783
- display: flex;
784
- transform: translate(-50%, -50%);
785
- }
786
-
787
- .bullet-nav__link {
788
- display: block;
789
- width: 8px;
790
- height: 8px;
791
- padding: 0;
792
- margin-right: 8px;
793
- backface-visibility: hidden;
794
- background-color: #e4e8ec;
795
- border-radius: 50%;
796
- cursor: pointer;
797
- transition: all 0.3s;
798
- &.active {
799
- &[data-scheme='hellosites'] {
800
- background-color: ${D.colors.primary600};
801
- }
802
- &[data-scheme='marrybaby'] {
803
- background-color: ${D.mbColors.pink};
804
- }
805
- }
806
- }
807
-
808
- .arrow-left {
809
- position: absolute;
810
- z-index: 10;
811
- top: 50%;
812
- left: -35px;
813
- transform: translateY(-50%);
814
- &[data-event-category] > * {
815
- pointer-events: none;
816
- }
817
- }
818
-
819
- .arrow-right {
820
- position: absolute;
821
- z-index: 10;
822
- top: 50%;
823
- right: -35px;
824
- transform: translateY(-50%);
825
- &[data-event-category] > * {
826
- pointer-events: none;
827
- }
828
- }
829
-
830
- .image-gallery-wrapper {
831
- display: flex;
832
- position: relative;
833
- margin-top: 16px;
834
- justify-content: center;
835
- gap: 16px;
836
- .image-block {
837
- display: block;
838
- width: 100%;
839
- border: 2px solid transparent;
840
- border-radius: 4px;
841
- }
842
- .image-block.active {
843
- border-color: ${D.colors.primaryBase};
844
- }
845
- img {
846
- height: 40px;
847
- width: auto;
848
- max-width: 100%;
849
- }
850
- }
851
- `,_e=k.div`
852
- border-radius: ${D.borderRadius};
853
- ${e=>e["data-is-in-card"]&&`\n padding: 12px; \n background-color: ${e["data-card-color"]};`}
854
- `,Le=k.div`
855
- width: 13px;
856
- height: 13px;
857
- margin-right: 10px;
858
- background-color: ${e=>e["data-color"]};
859
- border-radius: 50%;
860
- `,Ue=k.div`
861
- display: flex;
862
- align-items: center;
863
- color: ${D.colors.gray800};
864
- font-size: ${D.sizes.fsParagraph4};
865
- font-weight: ${D.sizes.fwRegular};
866
- `,Fe=k.div`
867
- display: flex;
868
- align-items: center;
869
- margin-top: 4px;
870
- color: ${D.colors.gray800};
871
- font-size: ${D.sizes.fsHeading2};
872
- font-weight: ${D.sizes.fwSemiBold};
873
-
874
- & > svg {
875
- width: 24px;
876
- height: 24px;
877
- margin-right: 12px;
878
- }
879
-
880
- &[data-size='small'] {
881
- margin-left: 23px;
882
- font-size: ${D.sizes.fsParagraph4};
883
- font-weight: ${D.sizes.fwBold};
884
- }
885
- `,He=k.table`
886
- width: 100%;
887
- position: relative;
888
- `,Re=({children:t,className:a,style:i,horizontalPadding:o,verticalPadding:r})=>e.createElement(He,{className:a,style:Object.assign({"--horizontal-spacing":o||"19px","--vertical-spacing":r||"26px"},i)},t),Ge=k.td`
889
- padding: var(--vertical-spacing) var(--horizontal-spacing);
890
- vertical-align: middle;
891
-
892
- &[data-text-align='left'] {
893
- text-align: left;
894
- }
895
- &[data-text-align='right'] {
896
- text-align: right;
897
- }
898
- &[data-text-align='center'] {
899
- text-align: center;
900
- }
901
- `,We=({children:t,className:a,style:i,textAlign:o,isTableHead:r})=>e.createElement(Ge,{className:a,style:i,"data-text-align":o||"left",as:r?"th":"td"},t),Ve=k.tr`
902
- border-bottom: 1px solid ${D.colors.gray100};
903
-
904
- &[data-is-active='true'] {
905
- background-color: ${D.colors.gray200};
906
- }
907
- `,qe=({children:t,className:a,style:i,isActive:o,onRowClicked:r,rowId:n})=>e.createElement(Ve,{className:a,"data-is-active":o,style:i,onClick:()=>{r&&r(n)}},t),Ye=k.thead`
908
- th {
909
- padding: var(--vertical-spacing) var(--horizontal-spacing);
910
- text-align: left;
911
-
912
- color: ${D.colors.gray500};
913
- font-weight: ${D.sizes.fwBold};
914
- }
915
- &[data-is-sticky] {
916
- th {
917
- position: sticky;
918
- top: 0;
919
- background: white;
920
- border-bottom: 2px solid ${D.colors.gray200};
921
- }
922
- }
923
- `,Ze=({isSticky:t,children:a,className:i,style:o})=>e.createElement(Ye,{className:i,"data-is-sticky":t||void 0,style:o},e.createElement(qe,null,a)),Xe=k.tbody`
924
- position: relative;
925
- &[data-is-striped] {
926
- > tr:nth-child(odd) {
927
- background-color: ${D.colors.neutral50};
928
- }
929
- }
930
- &[data-is-hoverable] {
931
- > tr:hover {
932
- background-color: ${D.colors.neutral100};
933
- }
934
- }
935
- `,Je=({children:t,className:a,style:i,isHoverable:o,isStriped:r})=>e.createElement(Xe,{className:a,style:i,"data-is-striped":r||void 0,"data-is-hoverable":o||void 0},t);var Ke=m((e=>{const t=u("itemLabel");return{root:{display:"inline-flex",maxWidth:"100%",borderBottom:`1px solid ${e.colors.neutral[1]}`,"-webkit-overflow-scrolling":"touch",overflowX:"auto",overflowY:"hidden","-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"},columnGap:e.spacing.lg},item:{display:"flex",alignItems:"center",paddingBottom:"4px","&:hover":{cursor:"pointer"},"&.active":{color:e.fn.primaryColor(),borderBottom:`3px solid ${e.fn.primaryColor()}`,bottom:"-1px",position:"relative",[`& .${t}`]:{}},"&[data-event-category] > *":{pointerEvents:"none"}},itemInner:{display:"flex",alignItems:"center"},label:{ref:t},icon:{marginRight:e.spacing.xs}}}));const Qe=k.div`
936
- padding: 1rem;
937
- background: ${D.colors.neutral100};
938
- .survey-inner-wrapper {
939
- padding: 1.25rem 1rem 1.5rem;
940
- background: ${D.colors.white};
941
- border-radius: ${D.borderRadius};
942
- .survey-header {
943
- border-bottom: 1px solid #dbdfe5;
944
- margin-bottom: 12px;
945
- .survey-header-text {
946
- color: ${D.colors.gray500};
947
- }
948
- }
949
-
950
- .survey-contact-submit {
951
- width: 100%;
952
- margin-bottom: 1.5rem;
953
- }
954
- .term-policy-container {
955
- width: 70%;
956
- min-width: 210px;
957
- max-width: 100%;
958
- margin: 0 auto 1.5rem;
959
- text-align: center;
960
- }
961
-
962
- .survey-progress-wrapper {
963
- width: calc(100% + 2rem);
964
- height: 4px;
965
- margin-bottom: 1rem;
966
- margin-left: -1rem;
967
- background: #e4e8ec;
968
- .survey-progress {
969
- width: 100%;
970
- height: 100%;
971
- background: #00b16a;
972
- transform: scaleX(0);
973
- transform-origin: left;
974
- transition: transform ease-in-out 0.3s;
975
- }
976
- }
977
-
978
- .survey-button-wrapper {
979
- display: flex;
980
- justify-content: flex-end;
981
- button {
982
- justify-content: center;
983
- &[data-has-icon='true'] {
984
- svg {
985
- width: 10px;
986
- height: 10px;
987
- margin-right: 10px;
988
- vertical-align: unset;
989
- }
990
- }
991
- &.survey-next-button {
992
- &[data-has-icon='true'] {
993
- svg {
994
- margin-right: 0;
995
- margin-left: 10px;
996
- }
997
- }
998
- }
999
- }
1000
- &[data-center='true'] {
1001
- justify-content: center;
1002
- button:only-child {
1003
- width: 200px;
1004
- max-width: 80%;
1005
- }
1006
- }
1007
- .survey-prev-button {
1008
- margin-right: 0.5rem;
1009
- }
1010
- }
1011
- }
1012
- `,et=k.div`
1013
- position: relative;
1014
- display: flex;
1015
- align-items: center;
1016
- cursor: pointer;
1017
-
1018
- input {
1019
- position: relative;
1020
- width: 20px;
1021
- height: 20px;
1022
- flex-shrink: 0;
1023
- border: solid 1px ${D.colors.gray500};
1024
- margin-right: 8px;
1025
- border-radius: 100%;
1026
- cursor: inherit;
1027
- transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
1028
-
1029
- &:hover,
1030
- &:active {
1031
- border-color: ${D.colors.primaryBase};
1032
- box-shadow: 0 0 2px 2px ${D.colors.primary600};
1033
- }
1034
-
1035
- &:checked {
1036
- display: flex;
1037
- align-items: center;
1038
- justify-content: center;
1039
- border-color: ${D.colors.primaryBase};
1040
- &:after {
1041
- position: absolute;
1042
- top: 50%;
1043
- left: 50%;
1044
- width: 14px;
1045
- height: 14px;
1046
- //left: 3px;
1047
- //position: absolute;
1048
- //top: 4px;
1049
- background-color: ${D.colors.primaryBase};
1050
- border-radius: 50%;
1051
- content: '';
1052
- transform: translate(-50%, -50%);
1053
- }
1054
- }
1055
- }
1056
-
1057
- label {
1058
- width: calc(100% - 24px);
1059
- cursor: inherit;
1060
- font-weight: ${D.sizes.fwRegular};
1061
- }
1062
-
1063
- &[data-disabled='true'] {
1064
- color: ${D.colors.gray300};
1065
- cursor: not-allowed;
1066
- input {
1067
- border-color: ${D.colors.gray300};
1068
-
1069
- &:hover {
1070
- border-color: ${D.colors.gray300};
1071
- box-shadow: none;
1072
- }
1073
- }
1074
- }
1075
-
1076
- padding: 16px 20px;
1077
- border: 0.5px solid transparent;
1078
- background: #fafafa;
1079
- border-radius: ${D.borderRadius};
1080
- &[data-checked='true'] {
1081
- border: 0.5px solid #2d87f3;
1082
- background: #f7f9fc;
1083
- }
1084
- input {
1085
- border: solid 2px #737373;
1086
- margin-right: 0;
1087
- background: white;
1088
- &[type='checkbox'] {
1089
- &:checked {
1090
- border: 0;
1091
- background: ${D.colors.primaryBase}
1092
- url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 21C16.5228 21 21 16.5228 21 11C21 5.47715 16.5228 1 11 1C5.47715 1 1 5.47715 1 11C1 16.5228 5.47715 21 11 21Z' fill='%232D87F3' stroke='%232D87F3' stroke-width='2'/%3E%3Cpath d='M15.5714 8L9.67857 14L7 11.2727' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
1093
- no-repeat center center;
1094
- &:after {
1095
- display: none;
1096
- }
1097
- }
1098
- }
1099
- }
1100
-
1101
- &[data-has-image='true'] {
1102
- position: relative;
1103
- display: block;
1104
- padding: 12px;
1105
- input {
1106
- position: absolute;
1107
- top: 20px;
1108
- right: 20px;
1109
- }
1110
- .choice-image-wrapper {
1111
- position: relative;
1112
- padding-top: 56.25%;
1113
- margin-bottom: 0.75rem;
1114
- img {
1115
- position: absolute;
1116
- top: 0;
1117
- left: 0;
1118
- width: 100%;
1119
- height: 100%;
1120
- border-radius: ${D.borderRadius};
1121
- object-fit: cover;
1122
- }
1123
- }
1124
- }
1125
- `,tt=k.div`
1126
- position: relative;
1127
- width: 100%;
1128
- padding-top: min(400px, 100%);
1129
- .survey-thankyou-wrapper-inner {
1130
- position: absolute;
1131
- top: 0;
1132
- left: 0;
1133
- display: flex;
1134
- width: 100%;
1135
- height: 100%;
1136
- flex-direction: column;
1137
- align-items: center;
1138
- justify-content: center;
1139
- .survey-thankyou-icon {
1140
- width: 36%;
1141
- max-height: 50%;
1142
- margin-bottom: 1.5rem;
1143
- }
1144
- .survey-thankyou-title {
1145
- margin-bottom: 1rem;
1146
- text-align: center;
1147
- }
1148
- .survey-thankyou-subtitle {
1149
- text-align: center;
1150
- > * {
1151
- text-align: center;
1152
- }
1153
- }
1154
- }
1155
- `,at=k.div`
1156
- .survey-question-text-wrapper {
1157
- margin-bottom: 24px;
1158
- .survey-question-title {
1159
- margin-bottom: 4px;
1160
- }
1161
- .survey-question-subtitle,
1162
- .survey-question-description {
1163
- color: ${D.colors.gray500};
1164
- }
1165
- }
1166
- .survey-question-image {
1167
- width: 100%;
1168
- margin-bottom: 12px;
1169
- border-radius: ${D.borderRadius};
1170
- }
1171
-
1172
- .survey-question-answer-wrapper {
1173
- margin-bottom: 1.5rem;
1174
- .survey-question-options-wrapper {
1175
- display: grid;
1176
- grid-gap: 0.5rem;
1177
- grid-template-columns: 1fr;
1178
- &[data-has-image='true'] {
1179
- grid-gap: 0.8rem;
1180
- grid-template-columns: 1fr 1fr;
1181
- }
1182
- .survey-question-option-item {
1183
- label {
1184
- color: #262626;
1185
- font-size: 16px;
1186
- font-style: normal;
1187
- font-weight: normal;
1188
- line-height: 24px;
1189
- }
1190
- }
1191
- }
1192
- .survey-contact-input {
1193
- margin-bottom: 1rem;
1194
- &:first-child {
1195
- margin-top: 1rem;
1196
- }
1197
- label {
1198
- font-weight: 700;
1199
- }
1200
- input {
1201
- margin-top: 6px;
1202
- }
1203
- }
1204
- }
1205
- `,it=({size:t="small",label:a,name:i,checked:o,value:r,className:n,isDisabled:l=!1,onChange:s,hasImage:d,inputType:c,image:p})=>e.createElement(et,{"data-disabled":l,className:n,"data-size":t,"data-checked":o,onClick:()=>{s(r)},"data-has-image":d},d&&e.createElement("div",{className:"choice-image-wrapper"},p&&e.createElement("img",{src:p,loading:"lazy"})),e.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${i}-${r}`},a),e.createElement("input",{type:c,checked:o,name:i,id:`${i}-${r}`,value:r,readOnly:!0})),ot=({question:t,description:a,onOptionsChange:r,onTextOptionsChange:n,style:l,className:s})=>{const{type:d,title:p,subtitle:m,image:g,textOptions:h,options:u,name:b,is_multi_select:x}=t,f=!!(null==u?void 0:u.some((e=>e.image))),[y,v]=i([]),[w,k]=i((()=>(null==h?void 0:h.slice())||[]));return o((()=>{r&&r(y.slice())}),[!!r,y]),o((()=>{n&&n(w)}),[!!n,w]),e.createElement(at,{className:s,style:l},e.createElement("div",{className:"survey-question-text-wrapper"},p&&e.createElement(j,{"data-nosubtitle":!m,className:"survey-question-title",tag:"h4"},p),m&&e.createElement(c,{className:"survey-question-subtitle",size:"p2"},m),a&&e.createElement(c,{className:"survey-question-description",size:"p2"},a)),g&&e.createElement("img",{src:g,className:"survey-question-image",loading:"lazy"}),e.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>{var a;return e.createElement(it,{inputType:"radio",label:t.label,name:b,key:`${b}-${t.value}`,checked:(null===(a=y[0])||void 0===a?void 0:a.value)===t.value,value:t.value,onChange:e=>{v([u.find((t=>t.value===e))])},className:"survey-question-option-item",image:t.image,hasImage:f})}))),"checkbox"===d&&e.createElement("div",{"data-has-image":f,className:"survey-question-options-wrapper"},u.map((t=>e.createElement(it,{inputType:"checkbox",label:t.label,name:b,key:`${b}-${t.value}`,checked:!!y.find((e=>e.value===t.value)),value:t.value,onChange:()=>{const e=y.findIndex((e=>e.value===t.value));v(e>=0?t=>(t.splice(e,1),t.slice()):x?e=>e.concat(t).slice():[t])},className:"survey-question-option-item survey-option-radio",image:t.image,hasImage:f})))),"textbox"===d&&w.map(((t,a)=>t.isTextArea?e.createElement(S,{key:a,placeholder:t.placeholder,height:"150px",value:t.value,onChange:e=>k((t=>(t[a].value=e,t.slice())))}):e.createElement(A,{key:a,value:t.value,name:t.name,size:"md",className:"survey-contact-input",label:t.label,placeholder:t.placeholder,onChange:e=>{k((t=>(t[a].value=e,t.slice())))},type:t.type})))))};var rt;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(rt||(rt={}));const nt=({className:t,headerText:o,style:r,question:n,termAndPolicyText:l,prevText:s,nextText:d,isContactForm:p,isDisableNext:m,isDisablePrev:g,onPrevClick:h,onNextClick:u,isSubmitButton:b,isButtonCenter:x,progress:f,descriptionText:y})=>{var v,w,k;const[E,$]=i([]),{is_multi_select:D,multi_select_option:C,from:z,to:B}=n,P=null==n?void 0:n.type,j="checkbox"===P&&(null===(v=n.options)||void 0===v?void 0:v.length)&&(!E||0===E.length||D&&C===rt.RANGE&&(E.length<z||E.length>B)||D&&C===rt.EXACT_NUMBER&&E.length!==z)||"radio"===P&&(null===(w=n.options)||void 0===w?void 0:w.length)&&(!E||0===E.length)||"textbox"===P&&(null===(k=n.textOptions)||void 0===k?void 0:k.length)&&(E.length<n.textOptions.length||E.some((e=>!e.value))),S="number"==typeof f?f>1?1:f<0?0:Number(f.toFixed(2)):-1,I=a(null),T=()=>"textbox"!==P||I.current.reportValidity();return e.createElement(Qe,{className:t,style:r},e.createElement("div",{className:"survey-inner-wrapper"},o&&e.createElement("div",{className:"survey-header"},e.createElement(c,{className:"survey-header-text",size:"c2"},o)),e.createElement("form",{ref:I,onSubmit:e=>e.preventDefault()},e.createElement(ot,{question:n,description:y,onOptionsChange:e=>{$(e)},onTextOptionsChange:e=>{$(e)}})),p&&d&&e.createElement(N,{className:"survey-contact-submit",size:"lg",isDisabled:m||j,onClick:()=>T()&&u&&u(E)},d),l&&e.createElement("div",{className:"term-policy-container"},l),"number"==typeof f&&e.createElement("div",{className:"survey-progress-wrapper"},e.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${S})`}})),(s||d)&&e.createElement("div",{"data-center":x,className:"survey-button-wrapper"},s&&e.createElement(N,{className:"survey-prev-button",size:"lg",color:g?"primary":"secondary",isDisabled:g,icon:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:g?"#fff":"#2D87F3"})),onClick:h},s),!p&&d&&e.createElement(N,{onClick:()=>T()&&u&&u(E),className:"survey-next-button",size:"lg",isDisabled:m||j},d," ",b?void 0:e.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},e.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},lt=200,st=k.div``,dt=k.div`
1206
- width: 100vw;
1207
- height: 100vh;
1208
- position: fixed;
1209
- bottom: 0;
1210
- right: 0;
1211
- background-color: ${D.colors.white};
1212
- opacity: 0.83;
1213
- transition: display ${lt}ms linear;
1214
-
1215
- [data-floatmenu-open='true'] & {
1216
- animation: showBackgroundPanel ${lt}ms linear 0s normal
1217
- forwards;
1218
- }
1219
-
1220
- [data-floatmenu-open='false'] & {
1221
- animation: hideBackgroundPanel ${lt}ms linear 0s normal
1222
- forwards;
1223
- }
1224
-
1225
- @keyframes showBackgroundPanel {
1226
- 0% {
1227
- opacity: 0;
1228
- width: 100vw;
1229
- height: 100vh;
1230
- }
1231
- 100% {
1232
- opacity: 0.83;
1233
- }
1234
- }
1235
-
1236
- @keyframes hideBackgroundPanel {
1237
- 0% {
1238
- width: 100vw;
1239
- height: 100vh;
1240
- }
1241
- 99% {
1242
- width: 100vw;
1243
- height: 100vh;
1244
- }
1245
- 100% {
1246
- opacity: 0;
1247
- width: 0;
1248
- height: 0;
1249
- }
1250
- }
1251
- `,ct=k.div`
1252
- position: fixed;
1253
- right: 16px;
1254
- bottom: 40px;
1255
- `,pt=k.div`
1256
- display: flex;
1257
- flex-direction: column;
1258
- gap: 16px;
1259
- transition: all ${lt}ms ease-in-out;
1260
- position: fixed;
1261
- bottom: 112px;
1262
- right: 16px;
1263
-
1264
- // scale
1265
- [data-animation-type='scale'] & {
1266
- transform-origin: 100% 100%;
1267
- }
1268
-
1269
- [data-animation-type='scale'][data-floatmenu-open='true'] & {
1270
- transform: scale(1);
1271
- }
1272
-
1273
- [data-animation-type='scale'][data-floatmenu-open='false'] & {
1274
- transform: scale(0);
1275
- bottom: 46px;
1276
- right: 36px;
1277
- }
1278
- `,mt=k.div`
1279
- border-radius: 50%;
1280
- width: 56px;
1281
- height: 56px;
1282
- position: relative;
1283
- cursor: pointer;
1284
- margin-left: auto;
1285
- transition: all 0.1s linear;
1286
- -webkit-tap-highlight-color: transparent;
1287
- [data-site-type='hb'] & {
1288
- background-color: ${D.colors.primaryBase};
1289
- &:hover {
1290
- background-color: ${D.colors.primaryHover};
1291
- }
1292
- }
1293
- [data-site-type='mb'] & {
1294
- background-color: #2d87f3;
1295
- &:hover {
1296
- background-color: #2c74df;
1297
- }
1298
- }
1299
-
1300
- &:before {
1301
- content: '';
1302
- width: 2px;
1303
- height: 20px;
1304
- background-color: ${D.colors.white};
1305
- border-radius: 2px;
1306
- position: absolute;
1307
- top: 50%;
1308
- left: 50%;
1309
- transform: translate(-50%, -50%);
1310
- }
1311
-
1312
- &:after {
1313
- content: '';
1314
- width: 20px;
1315
- height: 2px;
1316
- background-color: ${D.colors.white};
1317
- border-radius: 2px;
1318
- position: absolute;
1319
- top: 50%;
1320
- left: 50%;
1321
- transform: translate(-50%, -50%);
1322
- }
1323
-
1324
- [data-floatmenu-open='true'] &:before,
1325
- [data-floatmenu-open='true'] &:after {
1326
- animation: toX ${lt}ms linear 0s normal forwards;
1327
- }
1328
-
1329
- [data-floatmenu-open='false'] &:before,
1330
- [data-floatmenu-open='false'] &:after {
1331
- animation: toPlus ${lt}ms linear 0s normal forwards;
1332
- }
1333
-
1334
- @keyframes toX {
1335
- 0% {
1336
- transform: translate(-50%, -50%) rotateZ(0deg);
1337
- }
1338
- 49% {
1339
- transform: translate(-50%, -50%) rotateZ(0deg);
1340
- }
1341
- 50% {
1342
- width: 2px;
1343
- height: 2px;
1344
- transform: translate(-50%, -50%) rotateZ(45deg);
1345
- }
1346
- 100% {
1347
- transform: translate(-50%, -50%) rotateZ(45deg);
1348
- }
1349
- }
1350
-
1351
- @keyframes toPlus {
1352
- 0% {
1353
- transform: translate(-50%, -50%) rotateZ(45deg);
1354
- }
1355
- 49% {
1356
- transform: translate(-50%, -50%) rotateZ(45deg);
1357
- }
1358
- 50% {
1359
- width: 2px;
1360
- height: 2px;
1361
- transform: translate(-50%, -50%) rotateZ(0deg);
1362
- }
1363
- 100% {
1364
- transform: translate(-50%, -50%) rotateZ(0deg);
1365
- }
1366
- }
1367
- `,gt=k.div`
1368
- display: flex;
1369
- gap: 8px;
1370
- align-items: center;
1371
- justify-content: flex-end;
1372
-
1373
- width: fit-content;
1374
- margin-left: auto;
1375
-
1376
- [data-floatmenu-open='true'] {
1377
- cursor: pointer;
1378
- }
1379
- [data-floatmenu-open='false'] {
1380
- pointer-events: none;
1381
- }
1382
-
1383
- [data-animation-type='zoom'] &,
1384
- [data-animation-type='slide'] & {
1385
- position: absolute;
1386
- right: 0;
1387
- width: max-content;
1388
- }
1389
- // slide
1390
- [data-animation-type='slide'] & {
1391
- transition: all ${lt}ms ease-in;
1392
- }
1393
-
1394
- [data-animation-type='slide'][data-floatmenu-open='true'] & {
1395
- animation: showItem ${lt}ms;
1396
- }
1397
- [data-animation-type='slide'][data-floatmenu-open='false'] & {
1398
- bottom: -64px !important;
1399
- animation: hideItemOnZoom ${250}ms normal forwards;
1400
- }
1401
-
1402
- // zoom
1403
- [data-animation-type='zoom'][data-floatmenu-open='false'] & {
1404
- animation: hideItemOnZoom ${250}ms normal forwards;
1405
- }
1406
-
1407
- @keyframes showItem {
1408
- 0% {
1409
- opacity: 0;
1410
- }
1411
-
1412
- 100% {
1413
- opacity: 1;
1414
- }
1415
- }
1416
-
1417
- @keyframes hideItemOnZoom {
1418
- 0% {
1419
- transform: translateX(0);
1420
- opacity: 1;
1421
- }
1422
-
1423
- 99% {
1424
- transform: translateX(0);
1425
- opacity: 0.5;
1426
- }
1427
-
1428
- 100% {
1429
- transform: translateX(calc(100% + 16px));
1430
- opacity: 0;
1431
- }
1432
- }
1433
- `,ht=k.div`
1434
- font-size: 14px;
1435
-
1436
- // zoom
1437
- [data-animation-type='zoom'] & {
1438
- transition: transform ${lt}ms ease-in-out;
1439
- transform-origin: 100% 0;
1440
- }
1441
-
1442
- [data-animation-type='zoom'][data-floatmenu-open='true'] & {
1443
- transform: scale(1);
1444
- }
1445
-
1446
- [data-animation-type='zoom'][data-floatmenu-open='false'] & {
1447
- transform: scale(0);
1448
- }
1449
-
1450
- // slide
1451
- [data-animation-type='slide'] & {
1452
- transition: opacity ${lt}ms;
1453
- }
1454
- [data-animation-type='slide'][data-floatmenu-open='true'] & {
1455
- opacity: 1;
1456
- }
1457
- [data-animation-type='slide'][data-floatmenu-open='false'] & {
1458
- opacity: 0;
1459
- }
1460
- `,ut=k.div`
1461
- border-radius: 50%;
1462
- box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04),
1463
- 0px 0px 1px rgba(0, 0, 0, 0.04);
1464
- width: 48px;
1465
- height: 48px;
1466
- display: flex;
1467
- align-items: center;
1468
- justify-content: center;
1469
- background-color: ${D.colors.white};
1470
-
1471
- // zoom
1472
- [data-animation-type='zoom'] & {
1473
- transition: transform ${lt}ms ease-in-out;
1474
- }
1475
-
1476
- [data-animation-type='zoom'][data-floatmenu-open='true'] & {
1477
- transform: scale(1);
1478
- }
1479
-
1480
- [data-animation-type='zoom'][data-floatmenu-open='false'] & {
1481
- transform: scale(0);
1482
- }
1483
-
1484
- > img {
1485
- width: 24px;
1486
- height: 24px;
1487
- object-fit: contain;
1488
- }
1489
- `,bt=k.div`
1490
- padding: 16px;
1491
- width: 375px;
1492
- word-wrap: break-word;
1493
- word-break: break-word;
1494
- ${w.mbDown} {
1495
- width: 100%;
1496
- }
1497
- &[data-theme='helloSites'] {
1498
- background: ${D.colors.secondaryBase};
1499
- box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.1);
1500
- }
1501
- &[data-theme='marryBaby'] {
1502
- border: none;
1503
- background: ${D.mbColors.pink};
1504
- border-radius: 12px 12px 0 0;
1505
- }
1506
- &[data-is-open='false'] {
1507
- display: none;
1508
- }
1509
- &[data-default-position='true'] {
1510
- position: fixed;
1511
- z-index: 1000;
1512
- bottom: 0;
1513
- right: 0;
1514
- ${w.mbDown} {
1515
- left: 0;
1516
- right: unset;
1517
- }
1518
- }
1519
- `,xt=k.p`
1520
- position: relative;
1521
- padding-left: 24px;
1522
- color: ${D.colors.white};
1523
- font-size: 14px;
1524
- font-weight: 600;
1525
- line-height: 22px;
1526
- &[data-has-content='true'] {
1527
- ::before {
1528
- position: absolute;
1529
- top: 0;
1530
- bottom: 0;
1531
- left: 0;
1532
- width: 16px;
1533
- height: 16px;
1534
- margin: auto 0;
1535
- content: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00001 1.33331C4.32001 1.33331 1.33334 4.31998 1.33334 7.99998C1.33334 11.68 4.32001 14.6666 8.00001 14.6666C11.68 14.6666 14.6667 11.68 14.6667 7.99998C14.6667 4.31998 11.68 1.33331 8.00001 1.33331ZM8.00001 11.3333C7.63334 11.3333 7.33334 11.0333 7.33334 10.6666V7.99998C7.33334 7.63331 7.63334 7.33331 8.00001 7.33331C8.36668 7.33331 8.66668 7.63331 8.66668 7.99998V10.6666C8.66668 11.0333 8.36668 11.3333 8.00001 11.3333ZM7.33334 5.99998H8.66668V4.66665H7.33334V5.99998Z' fill='white'/%3e%3c/svg%3e");
1536
- }
1537
- }
1538
- `,ft=k.p`
1539
- margin-top: 2px;
1540
- color: ${D.colors.white};
1541
- font-size: 12px;
1542
- font-weight: 400;
1543
- line-height: 18px;
1544
- a {
1545
- color: ${D.colors.white};
1546
- text-decoration: none;
1547
- text-decoration-line: underline;
1548
- }
1549
- `,yt=k.div`
1550
- display: flex;
1551
- align-items: center;
1552
- margin-top: 8px;
1553
- gap: 16px;
1554
- `,vt=k.div`
1555
- padding: 7px 28px;
1556
- background: ${D.colors.white};
1557
- border-radius: ${D.borderRadius};
1558
- color: ${D.colors.secondaryBase};
1559
- cursor: pointer;
1560
- font-size: 12px;
1561
- font-weight: 600;
1562
- line-height: 18px;
1563
- `,wt=k.a`
1564
- color: ${D.colors.white};
1565
- font-size: 12px;
1566
- font-weight: 600;
1567
- line-height: 22px;
1568
- text-decoration: none;
1569
- text-decoration-line: underline;
1570
- `,kt=E`
1571
- from {
1572
- transform: translateY(100%);
1573
- visibility: visible;
1574
- }
1575
-
1576
- to {
1577
- transform: translateY(0);
1578
- }
1579
- `,Et=E`
1580
- from {
1581
- transform: translate(0, 0);
1582
- }
1583
-
1584
- to {
1585
- visibility: hidden;
1586
- transform: translate(0, 100%);
1587
- }
1588
- `,$t=k.div`
1589
- cursor: pointer;
1590
- display: flex;
1591
- flex-direction: column;
1592
- align-items: center;
1593
- justify-items: center;
1594
- gap: 4px;
1595
-
1596
- .mobile-navigation-label {
1597
- font-weight: 500;
1598
- font-size: 10px;
1599
- line-height: 16px;
1600
- color: ${D.colors.gray600};
1601
- overflow: hidden;
1602
- text-overflow: ellipsis;
1603
- white-space: nowrap;
1604
- width: 60px;
1605
- text-align: center;
1606
- ${w.mbDown} {
1607
- max-width: 60px;
1608
- }
1609
- }
1610
-
1611
- .mobile-navigation-icon {
1612
- position: relative;
1613
- height: 24px;
1614
- &[data-no-label='true'] {
1615
- border-radius: 50%;
1616
- display: flex;
1617
- flex-direction: column;
1618
- justify-content: center;
1619
- align-items: center;
1620
- padding: 0px;
1621
- gap: 16px;
1622
- width: 40px;
1623
- height: 40px;
1624
- }
1625
- }
1626
-
1627
- &[data-is-special='true'] {
1628
- display: flex;
1629
- flex-direction: row;
1630
- align-items: center;
1631
- padding: 4px 12px 4px 6px;
1632
- gap: 4px;
1633
-
1634
- min-width: 152px;
1635
- height: 32px;
1636
- /* Neutral/Neutral-50 */
1637
- background: ${D.colors.primary50};
1638
- border-radius: 20px;
1639
- flex-grow: 1;
1640
- .mobile-navigation-icon {
1641
- &[data-no-label='true'] {
1642
- width: 24px;
1643
- height: 24px;
1644
- }
1645
- }
1646
- .mobile-navigation-label {
1647
- max-width: max-content;
1648
- color: ${D.colors.primaryBase};
1649
- }
1650
- }
1651
-
1652
- &[data-is-active='true'] {
1653
- .mobile-navigation-label {
1654
- color: ${D.colors.primaryBase};
1655
- }
1656
- }
1657
-
1658
- &[data-is-disabled='true'] {
1659
- opacity: 0.2;
1660
- }
1661
- `,Dt=k.div`
1662
- z-index: 100;
1663
- position: fixed;
1664
- bottom: 0;
1665
- left: 0;
1666
- width: 100%;
1667
- height: 100%;
1668
- max-height: 56px;
1669
- min-height: 56px;
1670
- display: flex;
1671
- height: 100%;
1672
- align-items: center;
1673
- justify-content: space-evenly;
1674
- background-color: ${D.colors.white};
1675
- @supports (padding-bottom: env(safe-area-inset-bottom)) {
1676
- min-height: calc(56px + env(safe-area-inset-bottom));
1677
- max-height: calc(56px + env(safe-area-inset-bottom));
1678
- padding-bottom: env(safe-area-inset-bottom);
1679
- }
1680
- & > div {
1681
- flex: 1;
1682
- }
1683
- a {
1684
- text-decoration: none;
1685
- }
1686
- &[data-is-collapsed='true'] {
1687
- animation: ${Et} 500ms ease-in-out forwards;
1688
- }
1689
-
1690
- &[data-is-collapsed='false'] {
1691
- animation: ${kt} 500ms ease-in-out forwards;
1692
- }
1693
- &[data-template='health-tool'] {
1694
- height: 44px;
1695
- max-height: 44px;
1696
- min-height: 44px;
1697
- justify-content: space-between;
1698
- & > div {
1699
- flex: 0;
1700
- }
1701
- }
1702
- `,Ct=k.span`
1703
- position: absolute;
1704
- left: 100%;
1705
- transform: translate(-10px, calc(-50% + 3px));
1706
- background-color: ${D.colors.green800};
1707
- border-radius: 32px;
1708
- border: 2px solid ${D.colors.white};
1709
- padding: 1px 4px;
1710
- display: flex;
1711
- flex-direction: column;
1712
- justify-content: center;
1713
- align-items: center;
1714
- height: 20px;
1715
- aspect-ratio: 1;
1716
- &[data-no-label='true'] {
1717
- left: 0;
1718
- transform: translate(22px, -50%);
1719
- }
1720
- `;k.div`
1721
- position: absolute;
1722
- top: 0;
1723
- left: 0;
1724
- height: 3px;
1725
- background-color: ${D.colors.primaryBase};
1726
- transition: width 150ms linear;
1727
- `,k.div`
1728
- a {
1729
- text-decoration: none;
1730
- }
1731
- `;const zt=t=>{var{badgeAmount:a,disabled:i=!1,hasBadge:o=!1,icon:r,isActive:n=!1,isSpecial:l=!1,label:s}=t,d=_(t,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return e.createElement($t,Object.assign({"data-is-special":l,"data-is-active":n,"data-is-disabled":i},d),e.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(s)},o&&e.createElement(Ct,{"data-no-label":!Boolean(s)},e.createElement(c,{size:"s5",weight:"semiBold",color:l?D.colors.primaryBase:D.colors.white},a)),r),s&&e.createElement("span",{className:"mobile-navigation-label"},s))},Bt=t=>{var{children:a,isCollapsed:i=!1,template:o="homepage"}=t,r=_(t,["children","isCollapsed","template"]);return e.createElement(Dt,Object.assign({"data-is-collapsed":i,"data-template":o},r),a)};Bt.Icon=zt;const Pt="hhgcomp-toolbanner-wrapper",Nt=I(k.div`
1732
- position: relative;
1733
- width: 100%;
1734
- height: 100%;
1735
- background: ${e=>e.bgColor};
1736
- background-color: inherit;
1737
-
1738
- &[data-site='marryBaby'] {
1739
- background-color: ${e=>e["data-banner-color"]||"#5EC08F"};
1740
- background-image: none;
1741
- padding-bottom: 0;
1742
- &[data-is-embedded='true'] {
1743
- border-top-left-radius: 16px;
1744
- border-top-right-radius: 16px;
1745
- }
1746
- }
1747
- `,Pt),jt=k.div`
1748
- width: 100%;
1749
- ${w.mbDown} {
1750
- padding-bottom: 24px;
1751
- }
1752
-
1753
- a {
1754
- text-decoration: none;
1755
- color: inherit;
1756
- }
1757
-
1758
- &[data-site='marryBaby'] {
1759
- a {
1760
- text-decoration: underline;
1761
- }
1762
- ${w.mbDown} {
1763
- padding-bottom: 0;
1764
- }
1765
- }
1766
-
1767
- ${w.tdDown} {
1768
- height: auto;
1769
- .${Pt} {
1770
- .${"hhgcomp-toolbanner-inner"} {
1771
- display: flex;
1772
- align-items: center;
1773
- ${w.mbDown} {
1774
- justify-content: space-between;
1775
- }
1776
- .${"hhgcomp-toolbanner-iconcontainer"} {
1777
- position: relative;
1778
- right: -50px;
1779
- bottom: -20px;
1780
- width: 110px;
1781
- min-width: 0;
1782
- height: auto;
1783
- min-height: 0;
1784
- align-self: flex-end;
1785
- margin-bottom: -20px;
1786
- ${w.mbDown} {
1787
- right: unset;
1788
- }
1789
- }
1790
- }
1791
- }
1792
- }
1793
- `,St=k.div`
1794
- display: flex;
1795
- flex-direction: row;
1796
- align-items: center;
1797
- padding: 16px 24px;
1798
- gap: 16px;
1799
- width: 100%;
1800
- /* background-color: ; */
1801
- ${w.mbDown} {
1802
- padding: 16px 0;
1803
- }
1804
- `,It=k.div`
1805
- background: #ffffff;
1806
- border-radius: 16px;
1807
- width: 48px;
1808
- height: 48px;
1809
- position: relative;
1810
-
1811
- img {
1812
- position: absolute;
1813
- top: 50%;
1814
- left: 50%;
1815
- max-width: 24px;
1816
- max-height: 24px;
1817
- transform: translate(-50%, -50%);
1818
- }
1819
- `,Tt=k.div`
1820
- display: flex;
1821
- align-items: flex-start;
1822
- flex-direction: column;
1823
- justify-content: space-between;
1824
- gap: 0;
1825
- width: 100%;
1826
- `,Mt=k.div`
1827
- display: flex;
1828
- align-items: flex-start;
1829
- font-weight: 400;
1830
- font-size: 12px;
1831
- line-height: 18px;
1832
- letter-spacing: -0.2px;
1833
- color: #f3f3f3;
1834
-
1835
- > img {
1836
- margin-top: 2px;
1837
- margin-right: 4px;
1838
- }
1839
- &[data-is-mobile='false'] {
1840
- > img {
1841
- width: 16px;
1842
- height: 16px;
1843
- }
1844
- }
1845
- &[data-is-mobile='true'] {
1846
- > img {
1847
- width: 14px;
1848
- height: 14px;
1849
- }
1850
- }
1851
- `,Ot=({className:t,heading:a,color:i="blue",isMobile:o,bannerUrl:r,bannerUrlLarge:n,bannerColor:l,medicalReview:s={link:"#",reviewer:"",date:""},icon:d,style:m,siteType:g,isEmbeded:h})=>{var u,v;const{t:w}=p(),k=b(),E=o?r:n||r,$={pink:[8,6]},D=k.colors[i]||k.colors.blue,C=(null==s?void 0:s.reviewer)?e.createElement(c,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},e.createElement("div",{dangerouslySetInnerHTML:{__html:w("toolPage.toolReviewer",{expert_name:`<a href="${s.link}">${s.reviewer.trim()}</a>`,date:s.date})}})):null;return e.createElement(jt,{"data-is-mobile":o,style:m,"data-site":g},e.createElement(Nt,{className:t,"data-banner-url":E,"data-is-mobile":o,"data-site":g,"data-banner-color":l,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==D?void 0:D[(null===(u=$[i])||void 0===u?void 0:u[0])||7]} -4.07%, ${null==D?void 0:D[(null===(v=$[i])||void 0===v?void 0:v[1])||4]} 90.13%)}`},"marryBaby"===g&&h?e.createElement(St,null,e.createElement(It,null,d),e.createElement(Tt,null,e.createElement(j,{color:"white",tag:"h5",as:"h2"},a),s&&e.createElement(Mt,{"data-is-mobile":o},C))):e.createElement(x,{gap:f(24),align:"center",justify:"space-between",sx:{padding:`${f(13)} ${f(20)}`,gap:f(24)}},e.createElement(y,null,e.createElement(j,{tag:"h5",as:"h2",color:"#fff"},a),s&&e.createElement(c,{size:"n1",as:"div"},C)),e.createElement(x,{justify:"center",align:"center",sx:e=>{var t,a;return{width:f(64),height:f(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[i])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:f(48),maxHeight:f(48)},[e.fn.smallerThan("sm")]:{width:f(56),height:f(56),img:{maxWidth:f(40),maxHeight:f(40)}}}}},d))))},At=k(q)`
1852
- border-color: ${D.mbColors.lightGray};
1853
- background-color: ${D.colors.white};
1854
- border-radius: 16px;
1855
- transition: all 0.2s ease;
1856
- &:hover {
1857
- border-color: ${D.mbColors.pink};
1858
- box-shadow: none;
1859
- }
1860
-
1861
- & > ul {
1862
- z-index: ${T.menuSearchPopup};
1863
- max-height: 300px;
1864
- overflow-y: auto;
1865
- }
1866
-
1867
- ${e=>e.groupedWithLabel&&$`
1868
- & > div:first-child {
1869
- color: ${D.mbColors.midGray};
1870
- font-size: 12px;
1871
- }
1872
- `}
1873
-
1874
- &[data-dropdown-open='true'] {
1875
- border-color: ${D.mbColors.pink};
1876
- }
1877
- `;k(M)`
1878
- & input {
1879
- border-color: ${D.mbColors.lightGray};
1880
- background-color: ${D.colors.white};
1881
- border-radius: 16px;
1882
- transition: all 0.2s ease;
1883
- &:focus,
1884
- &:hover {
1885
- border-color: ${D.mbColors.pink};
1886
- box-shadow: none;
1887
- }
1888
- }
1889
-
1890
- & .displayIcon {
1891
- pointer-events: none;
1892
- }
1893
- `;const _t=k(A)`
1894
- & label {
1895
- position: absolute;
1896
- z-index: 1;
1897
- top: 16px;
1898
-
1899
- left: 16px;
1900
- color: ${D.mbColors.midGray};
1901
- pointer-events: none;
1902
- transition: all 0.2s ease;
1903
- white-space: nowrap;
1904
- overflow: hidden;
1905
- text-overflow: ellipsis;
1906
- max-width: 240px;
1907
-
1908
- &[data-size='label2'] {
1909
- font-size: 12px;
1910
- }
1911
-
1912
- ${w.tdDown} {
1913
- max-width: 220px;
1914
- }
1915
- }
1916
- & input {
1917
- ::placeholder {
1918
- color: ${D.mbColors.gray};
1919
- font-size: 14px;
1920
- }
1921
-
1922
- ::-webkit-input-placeholder {
1923
- /* Chrome/Opera/Safari */
1924
- color: ${D.mbColors.gray};
1925
- font-size: 14px;
1926
- }
1927
- ::-moz-placeholder {
1928
- /* Firefox 19+ */
1929
- color: ${D.mbColors.gray};
1930
- font-size: 14px;
1931
- }
1932
- :-ms-input-placeholder {
1933
- /* IE 10+ */
1934
- color: ${D.mbColors.gray};
1935
- font-size: 14px;
1936
- }
1937
- :-moz-placeholder {
1938
- /* Firefox 18- */
1939
- color: ${D.mbColors.gray};
1940
- font-size: 14px;
1941
- }
1942
- height: ${e=>"sm"===e.size?48:72}px;
1943
- padding-top: 27px;
1944
- border-color: ${D.mbColors.lightGray};
1945
- background-color: ${D.colors.white};
1946
- border-radius: 16px;
1947
- transition: all 0.2s ease;
1948
- padding-top: ${e=>e.value?"38px":"27px"};
1949
-
1950
- &:focus,
1951
- &:hover {
1952
- border-color: ${D.mbColors.pink};
1953
- box-shadow: none;
1954
- }
1955
- }
1956
-
1957
- &[data-has-action-icon] {
1958
- input {
1959
- padding-top: ${e=>e.value?"38px":"27px"};
1960
- padding-bottom: ${e=>e.value?"16px":"27px"};
1961
- }
1962
-
1963
- label {
1964
- position: absolute;
1965
- z-index: 1;
1966
- top: 16px;
1967
- padding-right: 46px;
1968
- }
1969
- }
1970
- `,Lt=k.div`
1971
- width: 100%;
1972
- `,Ut=k.div`
1973
- #due-date-dropdown {
1974
- z-index: 9;
1975
- width: 100%;
1976
- min-width: unset;
1977
- max-width: unset;
1978
-
1979
- ${w.mbDown} {
1980
- font-size: 14px;
1981
- }
1982
- ${w.tdUp} {
1983
- font-size: 16px;
1984
- &[data-is-side='true'] {
1985
- font-size: 14px;
1986
- }
1987
- }
1988
- color: ${D.colors.gray800};
1989
- > div {
1990
- white-space: nowrap;
1991
- overflow: hidden;
1992
- text-overflow: ellipsis;
1993
- }
1994
- }
1995
- display: flex;
1996
- width: 100%;
1997
- justify-content: space-between;
1998
- `,Ft=k(Lt)`
1999
- .due-date-input {
2000
- width: 100%;
2001
- min-width: unset;
2002
- max-width: unset;
2003
- color: ${D.colors.gray800};
2004
- }
2005
- .due-date-calculate-button {
2006
- margin-right: auto;
2007
- margin-left: auto;
2008
- }
2009
- input {
2010
- &[data-is-side='true'] {
2011
- ${w.tdUp} {
2012
- font-size: 14px;
2013
- }
2014
- }
2015
- ${w.mbDown} {
2016
- font-size: 14px;
2017
- }
2018
- ${w.tdUp} {
2019
- font-size: 16px;
2020
- }
2021
- }
2022
- `;k.div`
2023
- display: flex;
2024
- align-items: right;
2025
-
2026
- & > p {
2027
- display: inline-block;
2028
- border-bottom: solid 1px ${D.colors.primaryBase};
2029
- margin-bottom: 24px;
2030
- margin-left: auto;
2031
- color: ${D.colors.primaryBase};
2032
- cursor: pointer;
2033
- font-size: 11px;
2034
- line-height: 16px;
2035
- text-align: right;
2036
- }
2037
- `;var Ht;k(k.img`
2038
- img& {
2039
- width: 16px;
2040
- height: 16px;
2041
- }
2042
- `)`
2043
- margin-right: 4px;
2044
- `,function(e){e[e.lastPeriod=0]="lastPeriod",e[e.conception=1]="conception",e[e.IVF=2]="IVF"}(Ht||(Ht={}));const Rt="yyyy-MM-dd",Gt=(e,t)=>{const a=t-21+272,i=new Date(e);return i.setDate(i.getDate()+a),{startDate:e,dueDate:i,otherInfo:{method:Ht.lastPeriod+1,first_day:Y(e,Rt),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},Wt=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:Ht.conception+1,conception_date:Y(e,Rt),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},Vt=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:Ht.IVF+1,ivf_transfer_date:Y(e,Rt),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},qt=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,Yt=k.div`
2045
- &[data-is-side='true'] {
2046
- width: 100%;
2047
- margin-bottom: 0;
2048
- }
2049
- ${w.mbDown} {
2050
- width: 100%;
2051
- margin-bottom: 0;
2052
- }
2053
-
2054
- margin-bottom: 24px;
2055
-
2056
- & > :not(:last-child) {
2057
- margin-bottom: 8px;
2058
- }
2059
-
2060
- .gender-selector {
2061
- & > :not(:last-child) {
2062
- margin-right: 16px;
2063
- }
2064
-
2065
- & > div {
2066
- width: calc(50% - 8px);
2067
-
2068
- ${w.mbUp} {
2069
- max-width: 186px;
2070
- justify-self: left;
2071
- }
2072
- }
2073
- }
2074
- `,Zt=k.div`
2075
- margin-bottom: 20px;
2076
- width: 100%;
2077
-
2078
- & > :not(:last-child) {
2079
- margin-bottom: 8px;
2080
- }
2081
- .gender-selector {
2082
- & > div {
2083
- width: calc(50% - 8px);
2084
- }
2085
- }
2086
- `,Xt=k.div`
2087
- width: 100%;
2088
- display: flex;
2089
- justify-content: center;
2090
- ${w.mbUp} {
2091
- padding: 0 16px;
2092
- &[data-is-side='true'] {
2093
- margin-top: 24px;
2094
- }
2095
- }
2096
-
2097
- ${w.mbDown} {
2098
- margin-top: 24px;
2099
- &[data-site='marryBaby'] {
2100
- margin-top: 12px;
2101
- }
2102
- }
2103
- & > :not(:last-child) {
2104
- margin-bottom: 8px;
2105
- }
2106
-
2107
- button {
2108
- width: 100%;
2109
- margin: auto;
2110
- ${w.mbUp} {
2111
- max-width: 200px;
2112
- }
2113
- }
2114
- `,Jt=k.div`
2115
- width: 100%;
2116
- display: flex;
2117
- flex-wrap: wrap;
2118
- justify-content: space-between;
2119
- .input-section {
2120
- display: flex;
2121
- flex-direction: column;
2122
- }
2123
-
2124
- ${w.mbDown} {
2125
- flex-direction: column;
2126
- .input-section {
2127
- width: 100%;
2128
- }
2129
- }
2130
- `,Kt=k.div`
2131
- position: relative;
2132
- width: calc(50% - 8px);
2133
-
2134
- &[data-is-side='true'] {
2135
- .label {
2136
- margin-bottom: 9px;
2137
- }
2138
- }
2139
- ${w.mbDown} {
2140
- .label {
2141
- margin-bottom: 9px;
2142
- }
2143
- }
2144
- margin-bottom: 24px;
2145
- #weight-gain-dropdown {
2146
- z-index: 9;
2147
- width: 100%;
2148
- min-width: unset;
2149
- max-width: unset;
2150
- color: ${D.colors.gray800};
2151
- & > ul {
2152
- z-index: 1;
2153
- max-height: 300px;
2154
- overflow-y: scroll;
2155
- }
2156
- }
2157
- `,Qt=k.div`
2158
- margin-bottom: 24px;
2159
- width: 100%;
2160
-
2161
- ${w.mbUp} {
2162
- padding: 0 16px;
2163
- }
2164
- .card {
2165
- display: flex;
2166
- align-items: center;
2167
- justify-content: space-between;
2168
-
2169
- & > :not(:last-child) {
2170
- margin-bottom: 8px;
2171
- }
2172
-
2173
- .gender-selector {
2174
- row-gap: 12px;
2175
-
2176
- & > :not(:last-child) {
2177
- margin-right: 16px;
2178
- }
2179
-
2180
- & > div {
2181
- ${w.mbUp} {
2182
- width: calc(18% - 4px);
2183
- max-width: 186px;
2184
- justify-self: left;
2185
- }
2186
-
2187
- ${w.mbDown} {
2188
- width: calc(31% - 8px);
2189
- max-width: 109px;
2190
- justify-self: left;
2191
- }
2192
- }
2193
- }
2194
-
2195
- .gender-image {
2196
- width: 23px;
2197
- height: 36px;
2198
- object-fit: contain;
2199
- }
2200
- }
2201
- .note {
2202
- display: flex;
2203
- align-items: center;
2204
- padding-top: 8px;
2205
- padding-bottom: 16px;
2206
- }
2207
- `,ea="hhgcomp-embedtoolcard-content",ta=I(k.form`
2208
- margin: auto;
2209
- ${w.mbUp} {
2210
- width: 100%;
2211
- padding: 20px;
2212
- display: flex;
2213
- justify-content: space-between;
2214
- flex-wrap: wrap;
2215
- }
2216
- ${w.mbDown} {
2217
- padding: 16px;
2218
- }
2219
- .due-date-calculate-button {
2220
- width: 100%;
2221
- margin: 12px auto 0;
2222
- ${w.mbUp} {
2223
- max-width: 200px;
2224
- }
2225
- }
2226
- &[data-is-side='true'] {
2227
- ${w.mbUp} {
2228
- padding: 24px 40px 0px 40px;
2229
- }
2230
- }
2231
- .input-weight-form {
2232
- display: flex;
2233
- flex-wrap: wrap;
2234
- justify-content: space-between;
2235
- padding: 0 16px;
2236
- }
2237
- .input-form {
2238
- display: flex;
2239
-
2240
- ${w.mbUp} {
2241
- margin-bottom: 24px;
2242
- width: calc(50% - 8px);
2243
- }
2244
- &[data-is-side='true'] {
2245
- ${w.mbUp} {
2246
- margin-bottom: 8px;
2247
- width: 100%;
2248
- }
2249
- }
2250
- ${w.mbDown} {
2251
- margin-bottom: 8px;
2252
- }
2253
- .label-text {
2254
- overflow: hidden;
2255
- text-overflow: ellipsis;
2256
- -webkit-line-clamp: 2;
2257
- display: -webkit-box;
2258
- -webkit-box-orient: vertical;
2259
- }
2260
- }
2261
- .input-form-pwg {
2262
- display: flex;
2263
- width: calc(50% - 8px);
2264
-
2265
- ${w.mbUp} {
2266
- margin-bottom: 24px;
2267
- }
2268
- &[data-is-side='true'] {
2269
- ${w.mbUp} {
2270
- margin-bottom: 8px;
2271
- }
2272
- }
2273
- ${w.mbDown} {
2274
- margin-bottom: 8px;
2275
- width: 100%;
2276
- }
2277
- .label-text {
2278
- overflow: hidden;
2279
- text-overflow: ellipsis;
2280
- -webkit-line-clamp: 2;
2281
- display: -webkit-box;
2282
- -webkit-box-orient: vertical;
2283
- }
2284
- }
2285
- .day-slider {
2286
- width: 100%;
2287
- ${w.mbUp} {
2288
- width: calc(50% - 8px);
2289
- &[data-is-side='true'] {
2290
- width: 100%;
2291
- }
2292
- }
2293
- }
2294
- `,ea),aa=k.div`
2295
- padding: 0;
2296
- background-color: white;
2297
- border: 1px solid #e4e8ec;
2298
- border-radius: 4px;
2299
-
2300
- &[data-site='marryBaby'] {
2301
- background-color: ${D.mbColors.green};
2302
- border-radius: 16px;
2303
- }
2304
- .due-date-cal {
2305
- .${ea} {
2306
- ${w.mbUp} {
2307
- padding: 24px;
2308
- }
2309
- ${w.mbDown} {
2310
- padding: 16px;
2311
- }
2312
- }
2313
- display: table;
2314
- width: 100%;
2315
- .slider-due-date {
2316
- margin-bottom: 12px;
2317
- width: 100%;
2318
- margin-left: 0px;
2319
- margin-right: 0px;
2320
- .slider-outer-wrapper {
2321
- margin: 2rem -0.5rem 1rem;
2322
- }
2323
- &[data-theme='marryBaby'] {
2324
- padding: 1rem;
2325
- background: white;
2326
- border-radius: 1rem;
2327
- .slider-outer-wrapper {
2328
- gap: 12px;
2329
- display: flex;
2330
- align-items: center;
2331
- margin: 0.5rem;
2332
- }
2333
- }
2334
- }
2335
- .input-form {
2336
- display: flex;
2337
- ${w.mbUp} {
2338
- width: calc(50% - 8px);
2339
- margin-bottom: 24px;
2340
- }
2341
- &[data-is-side='true'] {
2342
- ${w.mbUp} {
2343
- margin-bottom: 12px;
2344
- width: 100%;
2345
- }
2346
- }
2347
- ${w.mbDown} {
2348
- margin-bottom: 8px;
2349
- }
2350
- }
2351
- }
2352
- .heart-rate-cal {
2353
- .slider-heart-rate {
2354
- margin-bottom: 12px;
2355
- width: 100%;
2356
- margin-left: 0px;
2357
- margin-right: 0px;
2358
- .slider-outer-wrapper {
2359
- margin: 2rem -0.5rem 1rem;
2360
- }
2361
- }
2362
- }
2363
- .ovulation-cal {
2364
- display: flex;
2365
- /* padding-top: 24px; */
2366
- justify-content: space-between;
2367
- flex-wrap: wrap;
2368
- .slider-ovulation {
2369
- margin-bottom: 12px;
2370
- /* width: 100%; */
2371
- margin-left: 0px;
2372
- margin-right: 0px;
2373
- .slider-outer-wrapper {
2374
- margin: 2rem -0.5rem 1rem;
2375
- }
2376
- &[data-theme='marryBaby'] {
2377
- padding: 1rem;
2378
- background: white;
2379
- border-radius: 1rem;
2380
- .slider-outer-wrapper {
2381
- gap: 12px;
2382
- display: flex;
2383
- align-items: center;
2384
- margin: 0.5rem;
2385
- }
2386
- }
2387
- }
2388
- .input-form {
2389
- display: flex;
2390
- ${w.mbUp} {
2391
- width: calc(50% - 8px);
2392
- margin-bottom: 24px;
2393
- &[data-is-side='true'] {
2394
- margin-bottom: 12px;
2395
- width: 100%;
2396
- }
2397
- }
2398
- ${w.mbDown} {
2399
- margin-bottom: 8px;
2400
- }
2401
- }
2402
- }
2403
- .pwg-view-mobile {
2404
- &[data-is-side='true'] {
2405
- display: flex;
2406
- flex-wrap: wrap;
2407
- justify-content: space-between;
2408
- }
2409
- ${w.mbDown} {
2410
- display: flex;
2411
- flex-wrap: wrap;
2412
- justify-content: space-between;
2413
- padding: 16px 0;
2414
- }
2415
- .hide-asking-mobile {
2416
- gap: 10px;
2417
- &[data-is-side='true'] {
2418
- ${w.mbUp} {
2419
- display: none;
2420
- }
2421
- }
2422
- ${w.mbDown} {
2423
- display: none;
2424
- }
2425
- }
2426
- .hide-asking-desk {
2427
- gap: 10px;
2428
- &[data-is-side='true'] {
2429
- ${w.mbUp} {
2430
- display: unset;
2431
- }
2432
- }
2433
- ${w.mbUp} {
2434
- display: none;
2435
- }
2436
- }
2437
- }
2438
- input[type='date']::after {
2439
- width: 16px;
2440
- height: 16px;
2441
- background-image: url('https://hellobacsi.com/svg/calendar.svg');
2442
- background-repeat: no-repeat;
2443
- background-size: contain;
2444
- content: '';
2445
- }
2446
- `,ia=k(De)`
2447
- &[data-direction='horizontal'] div[data-type='circle'] {
2448
- margin-right: 8px;
2449
- }
2450
- label {
2451
- font-size: 14px;
2452
- }
2453
- `,oa=k(U)`
2454
- margin: 0 auto 24px;
2455
- ${w.mbUp} {
2456
- max-width: 200px;
2457
- margin: 24px auto;
2458
- }
2459
- `,ra=k(M)`
2460
- &.bmi--input {
2461
- + .bmi--input {
2462
- margin-top: 24px;
2463
- }
2464
- .inputLabel {
2465
- display: inline-block;
2466
- margin-bottom: 5px;
2467
- color: #595959;
2468
- font-weight: bold;
2469
- font-size: 12px;
2470
- }
2471
- .errorLabel {
2472
- line-height: 1.3;
2473
- }
2474
- input[type='radio'] {
2475
- padding: 0;
2476
- }
2477
- .bmi--input-radio_gender {
2478
- width: 100%;
2479
- gap: 16px;
2480
- > div {
2481
- ${w.mbDown} {
2482
- width: calc(50% - 8px);
2483
- }
2484
- width: calc(33% - 8px);
2485
- }
2486
- & > div > div {
2487
- display: flex;
2488
- flex-direction: row;
2489
- justify-content: center;
2490
- align-content: center;
2491
- gap: 8px;
2492
- padding-block: 5px;
2493
- }
2494
- }
2495
- .bmi-side-embed {
2496
- > div {
2497
- ${w.mbUp} {
2498
- width: calc(50% - 8px);
2499
- }
2500
- }
2501
- }
2502
- .radio-group-item-heading {
2503
- margin-top: 0;
2504
- }
2505
- }
2506
-
2507
- ${w.mbDown} {
2508
- &.bmi--input {
2509
- .bmi--input-radio_gender {
2510
- > div {
2511
- .gender-image {
2512
- width: 40px;
2513
- height: 40px;
2514
- }
2515
- }
2516
- }
2517
- }
2518
- }
2519
- `,na=k.div`
2520
- width: 100%;
2521
- `,la=k.div`
2522
- margin-bottom: 1rem;
2523
- display: flex;
2524
- flex-direction: column;
2525
- gap: 16px;
2526
- input {
2527
- font-size: 12px;
2528
- ::placeholder {
2529
- color: #8c8c8c;
2530
- opacity: 1;
2531
- }
2532
- }
2533
- .input-label {
2534
- label {
2535
- display: inline-block;
2536
- margin-bottom: 9px;
2537
- color: #595959;
2538
- font-weight: bold;
2539
- font-size: 12px;
2540
- }
2541
- }
2542
- `,sa=k.div`
2543
- ${w.mbUp} {
2544
- display: flex;
2545
- width: 100%;
2546
- align-items: flex-start;
2547
- justify-content: space-between;
2548
- gap: 12px;
2549
- > div {
2550
- width: 100%;
2551
- }
2552
- &[data-is-side='true'] {
2553
- ${w.mbUp} {
2554
- display: flex;
2555
- flex-direction: column;
2556
- gap: 0px;
2557
- }
2558
- }
2559
- }
2560
- ${w.mbDown} {
2561
- display: flex;
2562
- flex-direction: column;
2563
- gap: 0px;
2564
- }
2565
- `,da=k.div`
2566
- padding-block: 40px;
2567
-
2568
- &[data-theme='marryBaby'] {
2569
- padding-block: 0;
2570
- padding-top: 12px;
2571
- }
2572
- `,ca=k.form`
2573
- display: flex;
2574
- flex-direction: column;
2575
- gap: 16px;
2576
- `,pa=k.div`
2577
- display: flex;
2578
- flex-direction: column;
2579
- gap: 6px;
2580
- margin-top: auto;
2581
-
2582
- .error-input input {
2583
- border: 1px solid ${D.colors.red700};
2584
- }
2585
- `,ma=k(V)`
2586
- display: inline-flex;
2587
- padding-bottom: 6px;
2588
- gap: 4px;
2589
- `,ga=k.div`
2590
- display: flex;
2591
- width: 100%;
2592
- align-items: center;
2593
- justify-content: space-between;
2594
- gap: 16px;
2595
- > div {
2596
- width: 100%;
2597
- }
2598
- `,ha=(e=0,t=0)=>{try{if(e&&t){const a=Number(t)/Math.pow(Number(e)/100,2);return Number(((e,t=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e))(a))}return 0}catch(e){}return 0},ua=k.div`
2599
- padding: 36px;
2600
- padding-top: 0;
2601
- background-color: white;
2602
- ${w.mbDown} {
2603
- padding: 16px;
2604
- padding-top: 0;
2605
- }
2606
- &[data-theme='marryBaby'] {
2607
- background-color: ${D.mbColors.green};
2608
- padding: 24px;
2609
- border-bottom-right-radius: 16px;
2610
- border-bottom-left-radius: 16px;
2611
- ${w.mbDown} {
2612
- padding: 16px;
2613
- }
2614
- }
2615
- `,ba=k((({onSubmit:t,onError:a,schema:i,siteType:r})=>{const{t:l}=p(),s="mb"===b().other.template,{control:m,setValue:g,watch:h,handleSubmit:u,formState:{isSubmitted:x}}=H({resolver:F(i),mode:"onSubmit",defaultValues:{name:"",gender:C.Boy,measurementDate:new Date}}),f=h("weight"),y=h("height"),w=h("head"),k=n((()=>x&&!f&&!y&&!w),[x,f,y,w]);o((()=>{const e=ha(y,f);g("bmi",String(e)||"0")}),[f,y]);const E=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(da,{"data-theme":r},e.createElement(ca,{onSubmit:u(t,a)},e.createElement(R,{control:m,name:"gender",render:({field:{onChange:t,value:a}})=>e.createElement(G,{onChange:t,value:a,siteType:r})}),"marryBaby"===r?e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md"},o,{value:a&&v(a).format(O)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(ga,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.height")} ${l("babyGrowth.cm")}`,name:"height",size:"md",value:String(a),CustomInput:e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.weight")} ${l("babyGrowth.kg")}`,name:"weight",size:"md",value:String(a),CustomInput:e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),e.createElement(ga,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.headCircumference")} ${l("babyGrowth.cm")}`,name:"head",size:"md",value:String(a),CustomInput:e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"head",size:"md",value:String(a),onChange:t,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(_t,{label:`${l("babyGrowth.input.bmi")} ${l("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(t),CustomInput:e.createElement(A,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0,style:{color:"#9495A0"}})}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(_t,{label:l("babyGrowth.input.measurementDate"),name:"date",size:"md",value:qt(a),CustomInput:e.createElement(pe,{placeholder:a&&v(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&v(a).format(O),onChange:t},o,{value:a&&v(a).format(O)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))):e.createElement(e.Fragment,null,e.createElement(R,{control:m,name:"birthday",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"birthday"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.birthday"))),e.createElement(pe,{onChange:t,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({onChange:t,className:(null==i?void 0:i.message)?"error-input":"",name:"birthday",size:"md",actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&v(a).format(O)}))}))}),e.createElement(ga,null,e.createElement(R,{control:m,name:"height",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"height"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.height")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.cm"))),e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"weight",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"weight"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.weight")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.kg"))),e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),e.createElement(ga,null,e.createElement(R,{control:m,name:"head",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"head"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.headCircumference")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.cm"))),e.createElement(A,{className:k||(null==i?void 0:i.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:t,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),e.createElement(R,{control:m,name:"bmi",render:({field:{value:t}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"bmi"},e.createElement(c,{size:"s4",weight:"semiBold"},l("babyGrowth.input.bmi")),e.createElement(c,{as:"span",size:"n1",color:D.colors.gray400},l("babyGrowth.kg.m2"))),e.createElement(A,{name:"bmi",size:"md",type:"number",value:String(t),isDisabled:!0}))})),e.createElement(R,{control:m,name:"measurementDate",render:({field:{onChange:t,value:a},fieldState:{error:i}})=>e.createElement(pa,null,e.createElement(ma,{size:"label1",htmlFor:"measurementDate"},e.createElement(c,{as:"label",size:"s4",weight:"semiBold"},l("babyGrowth.input.measurementDate"))),e.createElement(pe,{placeholder:a&&v(a).format(O),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:t,disabledDays:{after:new Date},customInput:o=>e.createElement(A,Object.assign({className:(null==i?void 0:i.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&v(a).format(O),onChange:t,actionIcon:e.createElement(d.Calendar,null)},o,{value:a&&v(a).format(O)}))}))}),e.createElement(U,{size:"lg",type:"submit",variant:s?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":E},l("babyGrowth.input.submit"))))))}))`
2616
- padding-block: 0;
2617
- `;k(Ot)`
2618
- padding-inline: 20px;
2619
-
2620
- img.embedded-icon {
2621
- width: 140px;
2622
- margin-left: 50%;
2623
- align-self: center;
2624
- }
2625
-
2626
- ${w.mbDown} {
2627
- padding-inline: 0;
2628
- img.embedded-icon {
2629
- width: 125px;
2630
- align-self: end;
2631
- margin-left: 0;
2632
- position: absolute;
2633
- transform: translateY(50%);
2634
- }
2635
- .embedded-review {
2636
- max-width: 200px;
2637
- }
2638
- }
2639
- `;var xa=m(((e,t)=>{const{isMarryBaby:a,isSide:i,direction:o}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===o?{flexDirection:"row"}:{flexDirection:"column"===o?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${B.getAssetPath("bgPattern/baby-poop.svg")})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}),{backgroundColor:a?e.colors.toneGreen.toString():e.colors[e.primaryColor][0],[e.fn.smallerThan("sm")]:Object.assign({},"auto"===o?{flexDirection:"column-reverse"}:{}),[e.fn.smallerThan("md")]:{borderRadius:a?"12px":"8px"},[e.fn.largerThan("md")]:{padding:"32px",gap:"20px"}}),inner:{display:"flex",gap:"16px",flexDirection:"column",flex:1},content:{display:"flex",flexDirection:"column",gap:"16px"},reviewText:{display:"flex",gap:"4px",a:{color:e.colors.gray[6],fontWeight:"bold","&:not(:hover)":{textDecoration:"none"}}},reviewTextIcon:{flexShrink:0,width:"16px",height:"16px",[e.fn.largerThan("sm")]:{marginTop:"2px"}},thumbnail:Object.assign(Object.assign({img:{objectFit:"contain",objectPosition:"bottom",width:"100%",height:"100%"}},"column"===o?{width:"80%",alignSelf:"center"}:"row"===o?{width:"40%"}:{}),{[e.fn.smallerThan("sm")]:Object.assign({},"auto"===o?{width:"80%",alignSelf:"center"}:{}),[e.fn.largerThan("sm")]:Object.assign({},"auto"===o?{width:"40%"}:{})}),action:{display:"flex",justifyContent:a?"center":"flex-start"},btn:{minWidth:a?"auto":"143px",width:i||a?"100%":"auto",[e.fn.smallerThan("md")]:{width:"100%"}},sponsorLogo:Object.assign(Object.assign({position:"absolute",top:0,height:40,objectFit:"contain",objectPosition:"top"},"column"===o?{left:"16px",height:40}:"row"===o?{height:50,right:"40px"}:{left:"16px",height:40}),{[e.fn.largerThan("sm")]:Object.assign({},"auto"===o?{height:50,right:"40px",left:"unset"}:{})})}}));const fa=k.div`
2640
- display: flex;
2641
- width: 100%;
2642
-
2643
- &[data-direction='vertical'] {
2644
- flex-direction: column;
2645
- }
2646
-
2647
- &[data-direction='horizontal'] {
2648
- flex-wrap: wrap;
2649
- }
2650
- `,ya=k.div`
2651
- display: flex;
2652
-
2653
- padding: 8px;
2654
-
2655
- border-radius: ${D.borderRadius};
2656
- cursor: pointer;
2657
-
2658
- & > div {
2659
- display: flex;
2660
- width: 100%;
2661
- height: 100%;
2662
- flex-direction: column;
2663
- align-items: center;
2664
- justify-content: flex-start;
2665
- }
2666
-
2667
- &[data-selected='true'] {
2668
- border: 1px solid #2d87f3;
2669
- background: white;
2670
-
2671
- .radio-group-item-heading {
2672
- color: #2d87f3;
2673
- }
2674
- }
2675
- &[data-selected='false'] {
2676
- border: 1px solid #f2f2f2;
2677
- box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
2678
- .radio-group-item-heading {
2679
- color: #262626;
2680
- }
2681
- }
2682
- &[data-disabled='true'] {
2683
- cursor: auto;
2684
- }
2685
-
2686
- .radio-group-item-heading {
2687
- margin-top: 8px;
2688
- text-align: center;
2689
- }
2690
-
2691
- .gender-image {
2692
- width: 23px;
2693
- height: 36px;
2694
- object-fit: contain;
2695
- }
2696
- `,va=k(U)`
2697
- margin: 0 auto 24px;
2698
- width: 100%;
2699
- ${w.mbUp} {
2700
- max-width: 200px;
2701
- }
2702
- `,wa=k.div``,ka=k.div`
2703
- display: flex;
2704
- flex-direction: column;
2705
- gap: 16px;
2706
- input {
2707
- font-size: 12px;
2708
- }
2709
- .gender-option {
2710
- gap: 16px;
2711
- > div {
2712
- width: calc(50% - 8px);
2713
- }
2714
- }
2715
- .input-label {
2716
- label {
2717
- display: inline-block;
2718
- margin-bottom: 9px;
2719
- color: #595959;
2720
- font-weight: bold;
2721
- font-size: 12px;
2722
- }
2723
- }
2724
- `,Ea=k.div`
2725
- ${w.mbUp} {
2726
- display: flex;
2727
- width: 100%;
2728
- align-items: flex-start;
2729
- justify-content: space-between;
2730
- gap: 16px;
2731
- margin-bottom: 24px;
2732
- > div {
2733
- width: 100%;
2734
- }
2735
- }
2736
-
2737
- ${w.mbDown} {
2738
- display: flex;
2739
- flex-direction: column;
2740
- gap: 16px;
2741
- margin-bottom: 8px;
2742
- }
2743
- &[data-is-side='true'] {
2744
- ${w.mbUp} {
2745
- display: flex;
2746
- flex-direction: column-reverse;
2747
- gap: 0px;
2748
- }
2749
- }
2750
- `,$a=k(U)`
2751
- margin: 0 auto 24px;
2752
- ${w.mbUp} {
2753
- max-width: 200px;
2754
- margin: 24px auto;
2755
- }
2756
- `,Da=k.div``,Ca=k.div`
2757
- margin-bottom: 1rem;
2758
- display: flex;
2759
- flex-direction: column;
2760
- gap: 16px;
2761
- input {
2762
- font-size: 12px;
2763
- ::placeholder {
2764
- color: #8c8c8c;
2765
- opacity: 1;
2766
- }
2767
- }
2768
- .gender-option {
2769
- gap: 16px;
2770
- > div {
2771
- width: calc(50% - 8px);
2772
- }
2773
- }
2774
- .input-label {
2775
- label {
2776
- display: inline-block;
2777
- margin-bottom: 9px;
2778
- color: #595959;
2779
- font-weight: bold;
2780
- font-size: 12px;
2781
- }
2782
- }
2783
- `,za=k.div`
2784
- ${w.mbUp} {
2785
- display: flex;
2786
- width: 100%;
2787
- align-items: flex-start;
2788
- justify-content: space-between;
2789
- gap: 12px;
2790
- > div {
2791
- width: 100%;
2792
- }
2793
- &[data-is-side='true'] {
2794
- ${w.mbUp} {
2795
- display: flex;
2796
- flex-direction: column;
2797
- gap: 0px;
2798
- }
2799
- }
2800
- }
2801
- ${w.mbDown} {
2802
- display: flex;
2803
- flex-direction: column;
2804
- gap: 0px;
2805
- }
2806
- `,Ba=({locale:t,onSubmit:a,isSide:o,siteType:r})=>{const{t:l}=p(),[s,m]=i(new Date),[g,h]=i(28),[u,b]=i(7),x={cycle:g,periodDateStart:s,periodLength:u},f=n((()=>"undefined"!=typeof window?window.location.href:""),[]);return e.createElement(e.Fragment,null,e.createElement(Ft,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(_t,{label:l("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:qt(s),CustomInput:e.createElement(pe,{onChange:e=>{m(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:Z(new Date,-45),after:new Date},customInput:t=>e.createElement(A,Object.assign({className:"due-date-input",name:"birthday",size:"md"},t,{value:s&&v(s).format(O)}))}),actionIcon:e.createElement(d.CalendarMB,{size:32})}):e.createElement(A,{label:e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("dueDatePage.lastPeriod.lastPeriodLabel")),value:qt(s),size:"md",name:"date",className:"due-date-input",CustomInput:e.createElement(pe,{customInput:t=>e.createElement("input",Object.assign({},t,{type:"date",className:"due-date-input",value:qt(s)})),locale:t,pickedDate:s,displayDateFormat:K,onChange:e=>{m(e)},disabledDays:{before:Z(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:D.mbColors.midGray},l("ovulationPage.cycleLength")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.cycleLength")+" ",e.createElement("span",{style:{minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:D.colors.gray600},g),e.createElement(X,{containerStyle:{flex:1},min:21,max:45,step:1,value:g,onChange:h,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===r?"marryBaby":"","data-is-side":o},"marryBaby"===r?e.createElement(J,{type:"bodytext-3",color:D.mbColors.midGray},l("ovulationPage.periodDuration")):e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959"},l("ovulationPage.periodDuration")+" ",e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},l("ovulationPage.dayUnit"))),e.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===r&&e.createElement(c,{size:"s3",weight:"semiBold",color:D.colors.gray600},u),e.createElement(X,{containerStyle:{flex:1},min:1,max:15,step:1,value:u,onChange:b,labelAlwaysOn:"marryBaby"!==r,withControl:"marryBaby"!==r,label:"marryBaby"!==r?void 0:null}))),e.createElement("div",{style:{width:"100%",display:"flex"}},e.createElement(U,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===r?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:f,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(x)),a&&a({startDate:s,cycle:g,periodLength:u})},role:"button"},l("dueDatePage.lastPeriod.calculate"))))};var Pa;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Pa||(Pa={}));const Na=({locale:t,onSubmitOvulation:a,isSide:o,siteType:r})=>{const{t:n}=p(),[l,s]=i(Pa.trackPeriod),d=[{label:n("ovulationPage.trackPeriod"),value:Pa.trackPeriod},{label:n("ovulationPage.conceive"),value:Pa.conceive},{label:n("ovulationPage.avoidPregnancy"),value:Pa.avoidPregnancy}];return e.createElement(Jt,null,e.createElement(Lt,{className:"input-form input-section","data-is-side":!0},"marryBaby"===r?e.createElement(At,{groupedWithLabel:n("dueDatePage.calculationMethod"),options:d,placeholder:n("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:d[l],onChange:e=>{s(e.value)}}):e.createElement(e.Fragment,null,e.createElement(c,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},n("ovulationPage.objectives")),e.createElement(Ut,{"data-is-side":o},e.createElement(q,{options:d,placeholder:n("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:d[l],onChange:e=>{s(e.value)}})))),e.createElement(Ba,{siteType:r,locale:t,onSubmit:({startDate:e,cycle:t,periodLength:i})=>{a&&a({method:l,periodDateStart:e,cycle:t,periodLength:i})},isSide:o}))},ja=k.div`
2807
- flex: 1;
2808
- `,Sa=k.div`
2809
- padding: 0 10px;
2810
- `,Ia=k.div`
2811
- display: flex;
2812
- height: 80px;
2813
- align-items: center;
2814
- .calendar-month {
2815
- font-size: 16px;
2816
- flex: 1;
2817
- text-align: center;
2818
- strong {
2819
- margin-left: 5px;
2820
- }
2821
- }
2822
- ${w.mbDown} {
2823
- height: 70px;
2824
- }
2825
- `,Ta=k.div`
2826
- display: grid;
2827
- grid-template-columns: repeat(7, 1fr);
2828
- row-gap: 2px;
2829
- `,Ma=k(Ta)`
2830
- margin-bottom: 8px;
2831
- `;k.div`
2832
- height: 40px;
2833
- width: 40px;
2834
- display: flex;
2835
- align-items: center;
2836
- justify-content: center;
2837
- `;const Oa=k.div`
2838
- font-size: 14px;
2839
- display: flex;
2840
- justify-content: center;
2841
- align-items: center;
2842
- color: 1px solid ${D.colors.gray800};
2843
- font-weight: 300;
2844
- `,Aa=k.div`
2845
- width: 18px;
2846
- position: relative;
2847
- &::before {
2848
- content: '';
2849
- position: absolute;
2850
- inset: 16px 0 0 0;
2851
- width: 1px;
2852
- left: 50%;
2853
- right: 50%;
2854
- background: ${D.colors.neutral100};
2855
- }
2856
- `,_a=k.div`
2857
- margin: 0 auto;
2858
- `,La=k.div`
2859
- position: relative;
2860
- `,Ua=Ta,Fa=k.div`
2861
- position: relative;
2862
- display: flex;
2863
- justify-content: center;
2864
- align-items: center;
2865
- height: 34px;
2866
- ${w.mbUp} {
2867
- height: 38px;
2868
- }
2869
- &[data-is-disabled='true'] {
2870
- opacity: 0.3;
2871
- }
2872
- &[data-in-range='true']:not([data-is-from='true'][data-is-to='true']) {
2873
- background-color: ${D.colors.gray100};
2874
- }
2875
- &:before {
2876
- position: absolute;
2877
- top: 0;
2878
- bottom: 0;
2879
- right: 0;
2880
- background-color: ${D.colors.gray100};
2881
- }
2882
- &[data-is-from='true'][data-in-range='true'][data-is-to='false'] {
2883
- background-color: transparent;
2884
- &:before {
2885
- content: '';
2886
- left: 50%;
2887
- right: 0;
2888
- }
2889
- }
2890
-
2891
- &[data-is-to='true'][data-in-range='true'][data-is-from='false'],
2892
- &:hover[data-in-range='true']:is([data-has-range='false'] &) {
2893
- background-color: transparent;
2894
- &:before {
2895
- content: '';
2896
- left: 0;
2897
- right: 50%;
2898
- }
2899
- }
2900
- `,Ha=k.div`
2901
- position: relative;
2902
- font-weight: 600;
2903
- ${w.mbDown} {
2904
- width: 32px;
2905
- height: 32px;
2906
- }
2907
- ${w.mbUp} {
2908
- width: 36px;
2909
- height: 36px;
2910
- }
2911
- display: flex;
2912
- justify-content: center;
2913
- align-items: center;
2914
- cursor: pointer;
2915
- [data-is-disabled='true'] & {
2916
- cursor: not-allowed;
2917
- }
2918
- line-height: 1;
2919
- color: 1px solid ${D.colors.gray800};
2920
- [data-is-selected='true'] &,
2921
- [data-is-today='true'] &,
2922
- [data-is-selected='false']:hover & {
2923
- border-radius: 32px;
2924
- }
2925
- [data-is-selected='true'] & {
2926
- background-color: ${D.colors.primaryBase};
2927
- color: white;
2928
- }
2929
- [data-is-selected='false']:hover & {
2930
- background-color: ${D.colors.primary50};
2931
- }
2932
- [data-is-today='true'][data-is-selected='false'] & {
2933
- background-color: transparent;
2934
- border-radius: 32px;
2935
- border: 1px solid ${D.colors.primaryBase};
2936
- }
2937
- `,Ra=k.div`
2938
- display: block;
2939
- position: relative;
2940
- width: 270px;
2941
- input {
2942
- pointer-events: none;
2943
- caret-color: transparent;
2944
- }
2945
- ${w.mbDown} {
2946
- width: 100%;
2947
- }
2948
- `,Ga=k.div`
2949
- display: flex;
2950
- position: absolute;
2951
- top: 46px;
2952
- left: 0;
2953
- width: 684px;
2954
- border: 1px solid ${D.colors.gray200};
2955
- filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))
2956
- drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04))
2957
- drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));
2958
- border-radius: ${D.borderRadius};
2959
- background-color: white;
2960
- z-index: 100;
2961
- padding-bottom: 16px;
2962
- align-items: stretch;
2963
- user-select: none;
2964
- ${w.mbDown} {
2965
- width: 100%;
2966
- }
2967
- `,Wa=k.div`
2968
- display: flex;
2969
- gap: 20px;
2970
- width: 100%;
2971
- align-items: center;
2972
- justify-content: center;
2973
- .icon-group {
2974
- display: flex;
2975
- align-items: center;
2976
- gap: 10px;
2977
- a,
2978
- svg {
2979
- width: 32px;
2980
- height: 32px;
2981
- }
2982
- .share {
2983
- width: 32px;
2984
- height: 32px;
2985
- padding: 8px;
2986
-
2987
- &:hover {
2988
- background-color: ${D.colors.neutral50};
2989
- }
2990
-
2991
- svg {
2992
- margin: 0;
2993
- width: 16px;
2994
- height: 16px;
2995
- }
2996
- }
2997
- }
2998
- `,Va=k(W)`
2999
- padding-bottom: 24px;
3000
- .share-container {
3001
- display: flex;
3002
- flex-direction: column;
3003
- gap: 24px;
3004
- }
3005
- .icon-group {
3006
- margin-top: 12px;
3007
- display: flex;
3008
- gap: 16px;
3009
- img {
3010
- border-radius: 8px;
3011
- }
3012
- }
3013
- .input-group {
3014
- margin-top: 8px;
3015
- display: flex;
3016
- gap: 8px;
3017
- button {
3018
- padding: 10px;
3019
- &:hover {
3020
- background-color: ${D.colors.neutral50};
3021
- }
3022
- }
3023
- svg {
3024
- margin: 0;
3025
- }
3026
- a,
3027
- svg:not(.copy) {
3028
- width: 32px;
3029
- height: 32px;
3030
- }
3031
- }
3032
- `,qa=k.div`
3033
- position: fixed;
3034
- z-index: 48;
3035
- bottom: 0;
3036
- left: 50%;
3037
- width: fit-content;
3038
- max-width: 100%;
3039
- background: none;
3040
- transform: translateX(-50%);
3041
- .close-sticky-button {
3042
- position: absolute;
3043
- display: flex;
3044
- width: 16px;
3045
- height: 16px;
3046
- align-items: center;
3047
- justify-content: center;
3048
- background: #bfbfbf;
3049
- border-radius: 50%;
3050
- color: white;
3051
-
3052
- cursor: pointer;
3053
- font-size: 12px;
3054
- line-height: 12px;
3055
- transform: translate(50%, -50%);
3056
- top: 0;
3057
- right: 0;
3058
- }
3059
- opacity: 0;
3060
- pointer-events: none;
3061
- &[data-visible='true'] {
3062
- opacity: 1;
3063
- pointer-events: auto;
3064
- }
3065
- `,Ya=k.div`
3066
- display: flex;
3067
- justify-content: center;
3068
- align-items: center;
3069
- flex-direction: column;
3070
- max-width: 100%;
3071
- width: fit-content;
3072
- height: fit-content;
3073
- margin-inline: auto;
3074
- /* margin: 1rem auto; */
3075
- &[data-no-wrapper='false'] {
3076
- border: 1px solid ${D.colors.neutral50};
3077
- background: ${D.colors.neutral50};
3078
- }
3079
- &[data-no-wrapper='true'] {
3080
- line-height: 0;
3081
- }
3082
- &[data-header-bottom='true'] {
3083
- flex-direction: column-reverse;
3084
- background: none;
3085
- border: none;
3086
- }
3087
- `,Za=k.div`
3088
- width: 100%;
3089
- padding: 0 5px 1.5px;
3090
- display: flex;
3091
- align-items: center;
3092
- justify-content: center;
3093
- gap: 5px;
3094
- text-transform: capitalize;
3095
- img {
3096
- height: 12px;
3097
- width: 12px;
3098
- max-width: 12px;
3099
- max-height: 12px;
3100
- }
3101
- &[data-header-bottom='true'] {
3102
- background: ${D.colors.neutral50};
3103
- }
3104
- span {
3105
- font-size: 10px;
3106
- line-height: 12px;
3107
- color: ${D.colors.gray400};
3108
- font-weight: 400;
3109
- }
3110
- `,Xa=k.div`
3111
- background-color: white;
3112
- background-image: url(${B.getAssetPath("close-blue.svg")});
3113
- background-repeat: no-repeat;
3114
- background-size: 10px;
3115
- background-position: center;
3116
- width: 12px;
3117
- height: 12px;
3118
- position: absolute;
3119
- top: 1px;
3120
- right: 1px;
3121
- cursor: pointer;
3122
- `,Ja={},Ka=e=>{if(Ja[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([Ja[e]]),delete Ja[e]}))}},Qa=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],ei=t(l((function({className:t,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,contentId:c,isHidden:m,hideIfHasSubot:g,isSticky:h,refreshInterval:u,customTargetings:b,style:x,adDefaultSize:f,noWrapper:v,showCloseBtn:w,onCloseAd:k,headerBottom:E,wrapperProps:$,locale:D,isMarryBaby:C},P){const N=u||(D===z.Vietnam&&s.some((e=>Qa.includes(e)))?30:void 0),{t:j}=p(),S=a(null),I=a(null),T=a(N);T.current=N;const[M,O]=i(!1),A=()=>{T.current&&(null!==I.current&&clearInterval(I.current),I.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){Ja[l]&&e.pubads().refresh([Ja[l]])}))}),1e3*T.current))};if(o((()=>()=>{Ka(l),I.current&&clearInterval(I.current)}),[]),o((()=>{A()}),[N]),o((()=>{m||(({contentId:e,adUnitPath:t,size:a,divId:i,pos:o,sizeMapping:r,hideIfHasSubot:n,customTargetings:l,onSuccess:s})=>{if(!i||!document.getElementById(i))return console.error("divId is required");Ka(i),window.googletag=window.googletag||{cmd:[]};const{googletag:d}=window;d.cmd.push((function(){const c=document.querySelector('meta[name="content_id"]'),p="string"==typeof e?e:null==c?void 0:c.content,m=d.defineSlot(t,a,i);if(m){try{l&&Object.keys(l).forEach((e=>{e&&(null==m||m.setTargeting(e,l[e]))}))}catch(e){console.error(e)}Ja[i]=m,m.setTargeting("Pos",o),m.addService(d.pubads()),p&&m.setTargeting("Content_ID",p),r&&m.defineSizeMapping(r),n&&document.getElementById("subot--container")&&m.setTargeting("chatbot",!0),d.display(i),null==s||s()}}))})({contentId:c,adUnitPath:r,size:n,divId:l,pos:s,sizeMapping:d,hideIfHasSubot:g,customTargetings:b,onSuccess:A})}),[m]),M)return null;const _=e.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},e.createElement("div",{ref:P,id:l}),w&&e.createElement(Xa,{onClick:()=>{null==k||k(),O(!0)}}));if(h)return _;const L=f?f[0]:n?Array.isArray(n[0])?n[0][0]:n[0]:void 0,U=f?f[1]:n?Array.isArray(n[0])?n[0][1]:n[1]:void 0;return e.createElement(y,Object.assign({},$,{className:t}),e.createElement(Ya,{ref:S,className:t,style:x,"data-no-wrapper":!!v,"data-header-bottom":!!E},v?_:e.createElement(e.Fragment,null,e.createElement(Za,{"data-header-bottom":!!E},e.createElement("img",{src:C?B.getAssetPath("adsIcon-mb.svg"):B.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),e.createElement("span",null,j("adBanner.title"))),e.createElement("div",{style:{minWidth:L||"100%",minHeight:U||"100%",position:"relative"}},_))))})),((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),ti=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:B.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var ai;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(ai||(ai={}));const ii={DUE_DATE:ai.DUE_DATE,BMI:ai.BMI,BMR:ai.BMR,OVULATION:ai.OVULATION,IFRAME:ai.IFRAME,PWG:ai.PWG,THR:ai.THR,BABY_VACCINE:ai.BABY_VACCINE,BABY_GROWTH:ai.BABY_GROWTH,BABY_POOP:ai.BABY_POOP},oi={[ii.DUE_DATE]:B.getAssetPath("health-tools/due-date-icon.svg")};var ri,ni,li,si;!function(e){e.Pregnant="pregnant",e.Parenting="parenting"}(ri||(ri={})),function(e){e.Option="option"}(ni||(ni={})),function(e){e.Button="button",e.Checkbox="checkbox"}(li||(li={})),function(e){e.ShowTool="showTool",e.ShowPremiumModal="showPremiumModal",e.ShowOptionBanner="showOptionBanner",e.Hide="hide"}(si||(si={}));const di={pregnancy:ri.Pregnant,parenting:ri.Parenting},ci={[ri.Pregnant]:"pregnant",[ri.Parenting]:"parent"},pi=s({});var mi=m((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:f(32),padding:`${f(6)} ${f(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const gi=s({}),hi=l((function(t,a){var{label:i}=t,o=_(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(h,{noWrap:!0},e.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),e.createElement(c,{size:"p3"},i)))})),ui=l((function(t,a){var{label:i}=t,o=_(t,["label"]);return e.createElement("div",Object.assign({ref:a},o),e.createElement(c,{size:"p3"},i))}));var bi="fVk18fq",xi="v8TCvUb",fi="mx7T4V3";const yi={myHealth:D.mbColors.toneYellow,myCommunity:D.mbColors.toneBlue,mySaved:D.mbColors.toneGreen},vi={helloSites:{myBooking:()=>B.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>B.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>B.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>B.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>B.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>B.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>B.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>B.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>B.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}},wi=({type:t,themeName:a,className:i,onClick:o=(()=>{})})=>{const{t:r}=p(),l=n((()=>{var e,i;return(null===(i=null===(e=vi[a])||void 0===e?void 0:e[t])||void 0===i?void 0:i.call(e))||""}),[t,a]),s=n((()=>"marryBaby"!==a?"transparent":yi[t]),[t,a]);return e.createElement("div",{onClick:function(){o(t)},className:`${bi} ${i}`},e.createElement("div",{className:fi,style:{backgroundColor:s,backgroundImage:`url("${l}")`}}),e.createElement("h3",{className:xi},r(`userProfile.nav.card.${t}`)))};export{ht as $,ei as A,ie as B,_e as C,pe as D,Ue as E,Le as F,Fe as G,Re as H,We as I,Ze as J,qe as K,te as L,Bt as M,Je as N,Ke as O,Qe as P,tt as Q,De as R,nt as S,Ot as T,oe as U,st as V,dt as W,ct as X,pt as Y,gt as Z,lt as _,Se as a,ri as a$,ut as a0,mt as a1,bt as a2,xt as a3,ft as a4,yt as a5,vt as a6,wt as a7,Ft as a8,_t as a9,va as aA,Da as aB,Ca as aC,za as aD,$a as aE,Zt as aF,Na as aG,Yt as aH,ia as aI,Kt as aJ,Xt as aK,Aa as aL,ja as aM,Ia as aN,Sa as aO,Ma as aP,Oa as aQ,La as aR,_a as aS,Ua as aT,Fa as aU,Ha as aV,Ra as aW,Ga as aX,Wa as aY,Va as aZ,qa as a_,qt as aa,Wt as ab,Rt as ac,Vt as ad,Gt as ae,Ht as af,Jt as ag,Lt as ah,At as ai,Ut as aj,aa as ak,ta as al,na as am,la as an,sa as ao,ra as ap,oa as aq,ua as ar,ba as as,xa as at,fa as au,ya as av,wa as aw,Ea as ax,ka as ay,Qt as az,zt as b,si as b0,li as b1,ii as b2,pi as b3,mi as b4,oi as b5,gi as b6,hi as b7,ui as b8,ti as b9,wi as ba,di as c,ci as d,ae as e,ne as f,le as g,me as h,ge as i,fe as j,ye as k,ue as l,be as m,he as n,xe as o,ve as p,ke as q,we as r,Ee as s,$e as t,re as u,ze as v,Ne as w,Te as x,Oe as y,Ae as z};