@hhgtech/hhg-components 1.24.15 → 1.24.17
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.
- package/build/babyGrowth.js +7 -6
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/mantine/aspectRatio/index.d.ts +5 -0
- package/build/components/mantine/aspectRatio/index.styled.d.ts +1 -0
- package/build/components/mantine/button/index.d.ts +7 -0
- package/build/components/mantine/button/index.styled.d.ts +1 -0
- package/build/components/mantine/index.d.ts +4 -0
- package/build/components/mantine/provider/index.d.ts +2 -1
- package/build/components/mantine/theme/button.d.ts +9 -0
- package/build/components/mantine/theme/checkbox.d.ts +11 -0
- package/build/components/mantine/theme/index.d.ts +3 -0
- package/build/components/mantine/theme/input.d.ts +59 -0
- package/build/components/mantine/theme/radio.d.ts +15 -0
- package/build/components/mantine/theme/shared.d.ts +6 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-f29d79c8.js +1 -0
- package/build/{dataTransform-0f799858.js → dataTransform-31bfac05.js} +1 -1
- package/build/esm/babyGrowth.js +11 -10
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-0d8a2e39.js → core-082cc271.js} +1 -1
- package/build/esm/{dataTransform-77e871b9.js → dataTransform-8b16e7d8.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-e9e13244.js → getDynamicHealthTool-da5d4781.js} +1 -1
- package/build/esm/{getSocialList-af94cb6b.js → getSocialList-85a9db1b.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-db73949d.js → index-05cc9a9f.js} +1 -1
- package/build/esm/{index-48c539fd.js → index-099d824a.js} +1 -1
- package/build/esm/{index-7ff2c265.js → index-16e108e3.js} +1 -1
- package/build/esm/{index-20dcd592.js → index-1aa85f8a.js} +1 -1
- package/build/esm/{index-66e66770.js → index-1ccae19d.js} +3 -3
- package/build/esm/{index-d02c6810.js → index-2938e5b1.js} +1 -1
- package/build/esm/{index-fdc34c19.js → index-3bb29895.js} +1 -1
- package/build/esm/{index-c1e95f69.js → index-428b788e.js} +5 -5
- package/build/esm/index-4b8aceaf.js +1 -0
- package/build/esm/{index-89587ed7.js → index-5027ae54.js} +1 -1
- package/build/esm/index-58583289.js +1 -0
- package/build/esm/{index-506f01b8.js → index-6babfc2c.js} +2 -2
- package/build/esm/{index-fb2b9e3b.js → index-706ed55d.js} +1 -1
- package/build/esm/index-82f4706e.js +1 -0
- package/build/esm/{index-342c0ecf.js → index-8a2fe10d.js} +1 -1
- package/build/esm/{index-b3564157.js → index-97901e64.js} +1 -1
- package/build/esm/{index-262a861e.js → index-98f2adc2.js} +1 -1
- package/build/esm/index-9bc207a0.js +1 -0
- package/build/esm/index-bfe675ef.js +67 -0
- package/build/esm/{index-10b88e0b.js → index-e15843d9.js} +1 -1
- package/build/esm/index-e91c29e7.js +1 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-8ce0aa0f.js → index.styled-192be4e4.js} +8 -7
- package/build/esm/{index.styled-d622dfa9.js → index.styled-366c3ac0.js} +31 -26
- package/build/esm/{index.styled-fe2ce4c9.js → index.styled-6c45f86b.js} +64 -49
- package/build/esm/{index.styled-25c168b8.js → index.styled-b766c971.js} +1 -1
- package/build/esm/{index.styled-54488b79.js → index.styled-dd14ac3c.js} +7 -6
- package/build/esm/{index.styled-63426745.js → index.styled-dd470049.js} +1 -1
- package/build/esm/{index.styled-58fcca11.js → index.styled-f7e290f3.js} +2 -2
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-56813738.js → routing-9c6b369c.js} +1 -1
- package/build/esm/{screenSizeContext-e43e9c2a.js → screenSizeContext-77ca87fe.js} +3 -3
- package/build/esm/theme-85ed0c46.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-6418a892.js → translationsProvider-01f4c348.js} +1 -1
- package/build/esm/{types-79a35393.js → types-0194e559.js} +39 -39
- package/build/esm/{types-3122ac7c.js → types-2c90d21f.js} +119 -111
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-1b23e2a7.js +1 -0
- package/build/esm/{useRafState-880ba171.js → useRafState-95c48a53.js} +1 -1
- package/build/esm/useTranslations-8b5663e3.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-13bbf17f.js → getDynamicHealthTool-804288e9.js} +1 -1
- package/build/{getSocialList-c06f4d63.js → getSocialList-18924114.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-285fbb50.js → index-2117aabb.js} +1 -1
- package/build/index-32c1ae86.js +1 -0
- package/build/index-3a56e7b9.js +62 -0
- package/build/{index-091cdfca.js → index-461def0f.js} +1 -1
- package/build/{index-80555770.js → index-51820fc1.js} +1 -1
- package/build/{index-c1997301.js → index-58505370.js} +1 -1
- package/build/{index-63dbe731.js → index-5e3c31b5.js} +1 -1
- package/build/{index-7308784a.js → index-7925d8bf.js} +1 -1
- package/build/{index-98a0f21f.js → index-91cec2c8.js} +1 -1
- package/build/index-a3c03dd8.js +1 -0
- package/build/{index-3b3f55cf.js → index-a69452f9.js} +1 -1
- package/build/{index-6956ae7e.js → index-b08a2927.js} +1 -1
- package/build/{index-e855da51.js → index-c71bc366.js} +1 -1
- package/build/{index-83d92061.js → index-c7f29b06.js} +1 -1
- package/build/{index-eb933608.js → index-d35ea3e8.js} +1 -1
- package/build/{index-22b1960a.js → index-d8b75c51.js} +1 -1
- package/build/{index-4e0e41e1.js → index-e994fc19.js} +1 -1
- package/build/{index-e257a4f4.js → index-eeee0816.js} +4 -4
- package/build/{index-f4cc082e.js → index-efb11af8.js} +3 -3
- package/build/index-f857761c.js +1 -0
- package/build/{index-49f40221.js → index-fb4334a2.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-d8f5eb7a.js → index.styled-3232dfbf.js} +249 -234
- package/build/{index.styled-bd761b45.js → index.styled-325ef16e.js} +9 -8
- package/build/{index.styled-772e311f.js → index.styled-42cbc5c9.js} +1 -1
- package/build/{index.styled-8793ad04.js → index.styled-67e633e0.js} +8 -7
- package/build/{index.styled-970bebf7.js → index.styled-7200b82d.js} +31 -26
- package/build/{index.styled-0afdaa7f.js → index.styled-cccd4e4c.js} +1 -1
- package/build/{index.styled-5c108973.js → index.styled-e618f9ff.js} +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc/theme.d.ts +201 -0
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/pwg.js +4 -4
- package/build/{routing-1f2324a5.js → routing-2176f47d.js} +1 -1
- package/build/{screenSizeContext-764126ed.js → screenSizeContext-1c02e711.js} +10 -10
- package/build/theme-63c3307a.js +1 -0
- package/build/together.js +1 -1
- package/build/{translationsProvider-d4fe5544.js → translationsProvider-f22aeed7.js} +1 -1
- package/build/{types-f50d7424.js → types-1628c9cb.js} +118 -110
- package/build/{types-c7ede444.js → types-521485b3.js} +3 -3
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-474b59b8.js → useHealthToolCache-76caa72e.js} +1 -1
- package/build/{useRafState-0f280967.js → useRafState-447739b4.js} +1 -1
- package/build/{useTranslations-35d5aac3.js → useTranslations-1b4c80ac.js} +1 -1
- package/package.json +19 -14
- package/build/components/mantine/theme.d.ts +0 -3
- package/build/core-cc369f19.js +0 -1
- package/build/esm/index-06b28e40.js +0 -1
- package/build/esm/index-2bb19f1f.js +0 -67
- package/build/esm/index-2f041d8e.js +0 -1
- package/build/esm/index-60c786aa.js +0 -1
- package/build/esm/index-e7730d29.js +0 -1
- package/build/esm/index-eb226786.js +0 -1
- package/build/esm/theme-a2e182f1.js +0 -1
- package/build/esm/useHealthToolCache-8891748e.js +0 -1
- package/build/esm/useTranslations-5ba2ad56.js +0 -1
- package/build/index-0b974221.js +0 -62
- package/build/index-3ee6512d.js +0 -1
- package/build/index-9517f318.js +0 -1
- package/build/index-bee5738e.js +0 -1
- package/build/theme-b482772f.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-2a69d3bd.js → BMI_BOYS.percentile.monthly-a07339d4.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-cd79263e.js → BMI_BOYS.percentile.weekly-5480e746.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-eb256e28.js → BMI_BOYS.percentile.yearly-a6d02273.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-0ce0b6db.js → BMI_BOYS.zscore.monthly-0a198d56.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-c6c5153c.js → BMI_BOYS.zscore.weekly-397550f7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-8321f205.js → BMI_BOYS.zscore.yearly-6840d2db.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-d936dd58.js → BMI_GIRLS.percentile.monthly-10772529.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-d80ded02.js → BMI_GIRLS.percentile.weekly-2c410912.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-01fec794.js → BMI_GIRLS.percentile.yearly-c252ff76.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-890cacef.js → BMI_GIRLS.zscore.monthly-59a3c26f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-16b2062f.js → BMI_GIRLS.zscore.weekly-e5a5b567.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f4200223.js → BMI_GIRLS.zscore.yearly-7241d0fc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-44f1b1eb.js → HEAD CIRCUM_BOYS.percentile.monthly-e1b8ed74.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-52c84297.js → HEAD CIRCUM_BOYS.percentile.weekly-61618a6a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-d3fafb1e.js → HEAD CIRCUM_BOYS.percentile.yearly-977405fb.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e85fa62e.js → HEAD CIRCUM_BOYS.zscore.monthly-0f1b8c7c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-b2b4b226.js → HEAD CIRCUM_BOYS.zscore.weekly-81e4fb49.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bbdb3eed.js → HEAD CIRCUM_BOYS.zscore.yearly-fcf4048d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-0c2219fe.js → HEAD CIRCUM_GIRLS.percentile.monthly-762f01ba.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-3d4755e1.js → HEAD CIRCUM_GIRLS.percentile.weekly-f912efbc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-519f25c9.js → HEAD CIRCUM_GIRLS.percentile.yearly-b44e6895.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-480948a3.js → HEAD CIRCUM_GIRLS.zscore.monthly-9b881e14.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-6d804ab7.js → HEAD CIRCUM_GIRLS.zscore.weekly-6d51062a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-73ba011b.js → HEAD CIRCUM_GIRLS.zscore.yearly-4f91d158.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-09af2b33.js → HEIGHT_BOYS.percentile.monthly-a0415c70.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-2b167c5a.js → HEIGHT_BOYS.percentile.weekly-967bf9e7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-57e124db.js → HEIGHT_BOYS.percentile.yearly-8693d4f2.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-a704a242.js → HEIGHT_BOYS.zscore.monthly-9036ebc7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-173c8447.js → HEIGHT_BOYS.zscore.weekly-9ec1fdb5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-a703615c.js → HEIGHT_BOYS.zscore.yearly-c65252d2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d9571f79.js → HEIGHT_GIRLS.percentile.monthly-fe610f89.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-fcdb41f5.js → HEIGHT_GIRLS.percentile.weekly-33753edf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-924b4390.js → HEIGHT_GIRLS.percentile.yearly-4e51da80.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-f5164a55.js → HEIGHT_GIRLS.zscore.monthly-e49b7dfe.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-403e9db8.js → HEIGHT_GIRLS.zscore.weekly-f9e8ebcf.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-5fbbb5d4.js → HEIGHT_GIRLS.zscore.yearly-14024d7d.js} +0 -0
- /package/build/{Locale-176ac5d6.js → Locale-da0b0391.js} +0 -0
- /package/build/{Vietnam-d2c56585.js → Vietnam-95669f39.js} +0 -0
- /package/build/{Visible-c3f713b2.js → Visible-c79bb90c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-41a3fb6d.js → WEIGHT_BOYS.percentile.monthly-6cbd2f4c.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-554cbdf6.js → WEIGHT_BOYS.percentile.weekly-d4b435de.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-2fc39c77.js → WEIGHT_BOYS.percentile.yearly-f62a1434.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-bed67872.js → WEIGHT_BOYS.zscore.monthly-dd3a50aa.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-606e1641.js → WEIGHT_BOYS.zscore.weekly-7c1a1eb5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-68f78eed.js → WEIGHT_BOYS.zscore.yearly-37bcfa2e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-1d701564.js → WEIGHT_GIRLS.percentile.monthly-6bb83c83.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-62e8a65b.js → WEIGHT_GIRLS.percentile.weekly-78af3b3d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-2d40a1d9.js → WEIGHT_GIRLS.percentile.yearly-3e8b7058.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-990c5c53.js → WEIGHT_GIRLS.zscore.monthly-b2a50383.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-cb4bd9ed.js → WEIGHT_GIRLS.zscore.weekly-f8cec13d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a0a7363c.js → WEIGHT_GIRLS.zscore.yearly-6fcb0e1d.js} +0 -0
- /package/build/{constants-48cfdfc8.js → constants-161b8fba.js} +0 -0
- /package/build/{cookieHelper-adb2d7e2.js → cookieHelper-4b51be77.js} +0 -0
- /package/build/{dataTransform-b3d5eb10.js → dataTransform-f648c911.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-aa7de826.js → BMI_BOYS.percentile.monthly-62ff4e11.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-d7ef872b.js → BMI_BOYS.percentile.weekly-a35b9e66.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e6464f2b.js → BMI_BOYS.percentile.yearly-0b45a896.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-aec5f1cc.js → BMI_BOYS.zscore.monthly-a1d6c1a3.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-74aff17f.js → BMI_BOYS.zscore.weekly-42e27aaa.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-9e03140e.js → BMI_BOYS.zscore.yearly-a6b2e75b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-326d955f.js → BMI_GIRLS.percentile.monthly-3e8dbc64.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-13faa5c9.js → BMI_GIRLS.percentile.weekly-120af94e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-cac7fe58.js → BMI_GIRLS.percentile.yearly-c3976cba.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-f4d81018.js → BMI_GIRLS.zscore.monthly-2422a7e6.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-a64aae61.js → BMI_GIRLS.zscore.weekly-f99b0144.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-9c75b7b4.js → BMI_GIRLS.zscore.yearly-427cf200.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-4c14bf7e.js → HEAD CIRCUM_BOYS.percentile.monthly-015cd4c1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-a7045fbb.js → HEAD CIRCUM_BOYS.percentile.weekly-21a9cde1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-210de367.js → HEAD CIRCUM_BOYS.percentile.yearly-692216eb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ca253a33.js → HEAD CIRCUM_BOYS.zscore.monthly-c4f460d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-6bd03b16.js → HEAD CIRCUM_BOYS.zscore.weekly-59e6fe87.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-e9b88047.js → HEAD CIRCUM_BOYS.zscore.yearly-c9765d7e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-85d4cf6c.js → HEAD CIRCUM_GIRLS.percentile.monthly-aac14c7c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-5b2d9bca.js → HEAD CIRCUM_GIRLS.percentile.weekly-286a8070.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-4b49b2bd.js → HEAD CIRCUM_GIRLS.percentile.yearly-1a5a10c0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-10ff38c1.js → HEAD CIRCUM_GIRLS.zscore.monthly-5d60923e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-bcd79f2a.js → HEAD CIRCUM_GIRLS.zscore.weekly-93cf296a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-3914e6c9.js → HEAD CIRCUM_GIRLS.zscore.yearly-5daa1e70.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0198c22b.js → HEIGHT_BOYS.percentile.monthly-6ba5747e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-df494500.js → HEIGHT_BOYS.percentile.weekly-d4225693.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-62d93190.js → HEIGHT_BOYS.percentile.yearly-8a71ace4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-2f8c8ed7.js → HEIGHT_BOYS.zscore.monthly-5e34fced.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-5b354625.js → HEIGHT_BOYS.zscore.weekly-197cf58c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-b3552703.js → HEIGHT_BOYS.zscore.yearly-77b0263d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-3602a1c9.js → HEIGHT_GIRLS.percentile.monthly-47d71194.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-a37bb428.js → HEIGHT_GIRLS.percentile.weekly-828ad802.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-02379003.js → HEIGHT_GIRLS.percentile.yearly-feb3161e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-433ef0aa.js → HEIGHT_GIRLS.zscore.monthly-e2ff0fbc.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-5d3d109c.js → HEIGHT_GIRLS.zscore.weekly-80d9b341.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-693f14cd.js → HEIGHT_GIRLS.zscore.yearly-539e6494.js} +0 -0
- /package/build/esm/{Locale-f5e17d92.js → Locale-93613537.js} +0 -0
- /package/build/esm/{Vietnam-42e3c11a.js → Vietnam-b06a43f1.js} +0 -0
- /package/build/esm/{Visible-69127ae9.js → Visible-66fd5bc0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ba429447.js → WEIGHT_BOYS.percentile.monthly-9c37f20b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-846a09fe.js → WEIGHT_BOYS.percentile.weekly-a66b6da5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-2ed9f3cc.js → WEIGHT_BOYS.percentile.yearly-8d32f0a8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c278147e.js → WEIGHT_BOYS.zscore.monthly-930e501a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ac500c45.js → WEIGHT_BOYS.zscore.weekly-8b1c32c9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-cf3c641d.js → WEIGHT_BOYS.zscore.yearly-e5be870b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-7941cd1b.js → WEIGHT_GIRLS.percentile.monthly-4161630c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c4a1fb9f.js → WEIGHT_GIRLS.percentile.weekly-fcb2ee5a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-7a12188d.js → WEIGHT_GIRLS.percentile.yearly-67570069.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-4d0383d8.js → WEIGHT_GIRLS.zscore.monthly-4dbe24ad.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-1ca138fc.js → WEIGHT_GIRLS.zscore.weekly-ffaff6f1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-6430420d.js → WEIGHT_GIRLS.zscore.yearly-be714456.js} +0 -0
- /package/build/esm/{constants-84ad75ac.js → constants-6a3a1cc1.js} +0 -0
- /package/build/esm/{cookieHelper-9c086afe.js → cookieHelper-89b11977.js} +0 -0
- /package/build/esm/{dataTransform-c3bc8d8d.js → dataTransform-19107d96.js} +0 -0
- /package/build/esm/{index-3a18e8ec.js → index-4b42e160.js} +0 -0
- /package/build/esm/{isProduction-54c7c686.js → isProduction-ba4ad2c8.js} +0 -0
- /package/build/esm/{localizeNumberFormat-82c7b6c4.js → localizeNumberFormat-8327253e.js} +0 -0
- /package/build/esm/{normalizeLink-e3bd42de.js → normalizeLink-e17e7869.js} +0 -0
- /package/build/esm/{translationsContext-765e362a.js → translationsContext-993061c5.js} +0 -0
- /package/build/esm/{tslib.es6-1b8ca319.js → tslib.es6-15a36b3e.js} +0 -0
- /package/build/esm/{useIsInit-949645cf.js → useIsInit-ba9e0754.js} +0 -0
- /package/build/esm/{useOutsideClick-82caef82.js → useOutsideClick-57bfed0f.js} +0 -0
- /package/build/esm/{useScrollbarSize-2690623e.js → useScrollbarSize-422789b0.js} +0 -0
- /package/build/esm/{useUniqueId-1f2ab177.js → useUniqueId-ecba19ff.js} +0 -0
- /package/build/esm/{utils-c06834b5.js → utils-2802793f.js} +0 -0
- /package/build/{index-d0206b1f.js → index-4d276043.js} +0 -0
- /package/build/{isProduction-0222acca.js → isProduction-a97ec848.js} +0 -0
- /package/build/{localizeNumberFormat-8297e5bf.js → localizeNumberFormat-94fd258d.js} +0 -0
- /package/build/{normalizeLink-4a4813ea.js → normalizeLink-138b8f89.js} +0 -0
- /package/build/{translationsContext-4cb21074.js → translationsContext-7165ce76.js} +0 -0
- /package/build/{tslib.es6-74771844.js → tslib.es6-16f09d23.js} +0 -0
- /package/build/{useIsInit-7751448d.js → useIsInit-7f558c3c.js} +0 -0
- /package/build/{useOutsideClick-3e823142.js → useOutsideClick-7c2e47a0.js} +0 -0
- /package/build/{useScrollbarSize-d77dd8f0.js → useScrollbarSize-d60f3b28.js} +0 -0
- /package/build/{useUniqueId-ab70c03b.js → useUniqueId-77f6b27b.js} +0 -0
- /package/build/{utils-87d426ef.js → utils-89871862.js} +0 -0
package/build/esm/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE}from"./Locale-
|
|
1
|
+
export{a as BabyGrowthChartDuration,B as BabyGrowthChartType,b as BabyGrowthResultTab,G as Gender,L as LOCALE}from"./Locale-93613537.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./tslib.es6-15a36b3e.js";import{useState as t,useEffect as i,useCallback as a}from"react";import{a as e}from"./getDynamicHealthTool-da5d4781.js";const l=l=>{const[n,r]=t([]);i((()=>{o(void 0,void 0,void 0,(function*(){const o=yield e(l);r(o)}))}),[e,l]);const s=a((o=>{var t;return(null===(t=n.find((t=>t.template===o)))||void 0===t?void 0:t.link)||""}),[n]);return{allTools:n,getHealthToolLink:s}};export{l as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./tslib.es6-
|
|
1
|
+
import{a as e}from"./tslib.es6-15a36b3e.js";import{useRef as t,useEffect as n,useState as r,useCallback as i}from"react";import{g as o}from"./cookieHelper-89b11977.js";import{u as a}from"./useUniqueId-ecba19ff.js";function l(e){const t=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",t).then((e=>Array.from(new Uint8Array(e)).map((e=>e.toString(16).padStart(2,"0"))).join("")))}const c=r=>{const i=t("");n((()=>(e(void 0,void 0,void 0,(function*(){var e,t,n,a,c;if(!i.current){let e=yield fetch("https://api.ipify.org").then((e=>e.text()));e||(e=yield fetch("https://icanhazip.com").then((e=>e.text()))),i.current=e}if(null===(t=null===(e=window.localStorage)||void 0===e?void 0:e.setItem)||void 0===t||t.call(e,"fbClientIp",JSON.stringify({client_ip_address:(null===(n=i.current)||void 0===n?void 0:n.replace("\n",""))||"",client_user_agent:navigator.userAgent||""})),null==r?void 0:r.id){const[e,t,n,i,s,u]=yield Promise.all([r.email?l(r.email):null,r.phone?l(r.phone):null,r.birthday?l(r.birthday.split("-").join("")):null,r.gender?"m":"f",r.city_name?l(r.city_name).then((e=>e.replace(/\s/g,""))):null,r.name?l(r.name):null]);o("_fbc"),o("_fbp");const d={user_id:r.id};u&&(d.fn=u),e&&(d.em=e),t&&(d.ph=t),n&&(d.db=n),i&&(d.ge=i),s&&(d.ct=s),null===(c=null===(a=window.localStorage)||void 0===a?void 0:a.setItem)||void 0===c||c.call(a,"fbDataLayer_userInfo",JSON.stringify(d))}})),()=>{})),[r])},s=e=>{const n=t(),r=t(e);return a()||r.current===e||(n.current=r.current,r.current=e),n.current},u=e=>{const[o,a]=r(e),l=t(0),c=i((e=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame((()=>{a(e)}))}),[]);return n((()=>()=>cancelAnimationFrame(l.current))),[o,c]};export{s as a,u as b,c as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{useContext as o,useMemo as a}from"react";import{T as r,d as e}from"./translationsContext-993061c5.js";import t from"string-format";function n(){const{values:n,locale:s}=o(r)||{locale:"en-PH"};return a((()=>({t:(o,a)=>n?n[o]?a?t(n[o]||o,a):n[o]||o:(console.warn(`[useTranslations] Missing translation for key ${o} and locale ${s}`),a?t(e[o]||o,a):e[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o),locale:s})),[n,s])}export{n as u};
|
package/build/footer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-22b1960a.js"),a=require("./index-80555770.js"),l=require("./index-49f40221.js"),n=require("./index-285fbb50.js"),o=require("./theme-b482772f.js"),r=require("./useTranslations-35d5aac3.js"),i=require("./index-83d92061.js"),d=require("./index-9517f318.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-74771844.js"),require("./utils-87d426ef.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-0222acca.js"),require("./Locale-176ac5d6.js"),require("./translationsContext-4cb21074.js"),require("string-format"),require("./index.styled-0afdaa7f.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,p,b,N,h,k,x,T,F,$,z,q,C,L,j,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.title),s.default.createElement("div",{className:"icons"},null===(N=null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(j=null===(L=null==d?void 0:d.branch)||void 0===L?void 0:L.branch)||void 0===j?void 0:j.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",p="CQGVeuT",b="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:p,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:b},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("./index-d8b75c51.js"),a=require("./index-51820fc1.js"),l=require("./index-fb4334a2.js"),n=require("./index-2117aabb.js"),o=require("./theme-63c3307a.js"),r=require("./useTranslations-1b4c80ac.js"),i=require("./index-c7f29b06.js"),d=require("./index-a3c03dd8.js");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("./tslib.es6-16f09d23.js"),require("./utils-89871862.js"),require("styled-components"),require("./gAssets.js"),require("./isProduction-a97ec848.js"),require("./Locale-da0b0391.js"),require("./translationsContext-7165ce76.js"),require("string-format"),require("./index.styled-cccd4e4c.js");var s=c(e),u="Lj0qoTD",m="OO-qFWT";const v=({url:e,isMobile:t,dataEventCategory:a,dataEventAction:l,dataEventLabel:n})=>s.default.createElement("div",{className:m,"data-is-mobile":t},s.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":n})),f=({className:e,type:i="main",footerInfo:d,isMobile:c,locale:m})=>{var f,y,E,g,p,b,N,h,k,x,T,F,$,z,q,C,L,j,M,w,B,_,A,H,I,G,S,D;const{t:O}=r.useTranslations(),P=null==d?void 0:d.menu,J=(null===(y=null===(f=null==d?void 0:d.general)||void 0===f?void 0:f.verified)||void 0===y?void 0:y.filter(Boolean))||[];return s.default.createElement("footer",{className:`${u} ${e||""}`,style:"mini"===i?{backgroundColor:o.theme.colors.neutral50}:{}},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"inner","data-type":i},"main"===i?s.default.createElement(s.default.Fragment,null,s.default.createElement("a",{href:"/"},s.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(E=null==d?void 0:d.general)||void 0===E?void 0:E.logo,alt:"Logo","data-is-sehat":"id-ID"===m})),s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"newsletter"},s.default.createElement(l.Text,{size:"p1",type:"bold"},null===(g=null==d?void 0:d.general)||void 0===g?void 0:g.content),s.default.createElement(t.Button,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(p=null==d?void 0:d.social)||void 0===p?void 0:p.title),s.default.createElement("div",{className:"icons"},null===(N=null===(b=null==d?void 0:d.social)||void 0===b?void 0:b.socials)||void 0===N?void 0:N.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))))),s.default.createElement("hr",{className:"hrMobile"}))),s.default.createElement("div",null,P&&s.default.createElement(s.default.Fragment,null,s.default.createElement("div",{className:"biglinks"},null===(k=null===(h=P[0])||void 0===h?void 0:h.items)||void 0===k?void 0:k.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"bigLink",key:t,href:e.url},e.title)))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(x=P[1])||void 0===x?void 0:x.menu_title),null===(F=null===(T=P[1])||void 0===T?void 0:T.items)||void 0===F?void 0:F.map(((e,t)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===($=P[2])||void 0===$?void 0:$.menu_title),null===(q=null===(z=P[2])||void 0===z?void 0:z.items)||void 0===q?void 0:q.map(((e,t)=>e.url&&s.default.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},s.default.createElement(l.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title)))))),s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"otherSites"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==d?void 0:d.branch)||void 0===C?void 0:C.title),s.default.createElement("div",{className:"flags"},null===(j=null===(L=null==d?void 0:d.branch)||void 0===L?void 0:L.branch)||void 0===j?void 0:j.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},s.default.createElement(v,{url:e.flag,isMobile:c,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url})))))))),s.default.createElement("hr",null),s.default.createElement("div",{className:"copyright"},s.default.createElement("div",{className:"copyright-image-wrapper"},J.length?J.map(((e,t)=>s.default.createElement("a",{href:e.url,key:t,className:"copyright-image"},s.default.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"})))):null),s.default.createElement(l.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==d?void 0:d.general)||void 0===M?void 0:M.copyright)),"vi-VN"===m&&s.default.createElement(l.Text,{className:"copyright-certificate",size:"xs",type:"regular",color:"white"},"Giấy xác nhận cung cấp dịch vụ mạng xã hội trực tuyến số 529/GP-BTTTT, HN ngày 03/12/2019")):s.default.createElement(s.default.Fragment,null,(null==d?void 0:d.menu)&&s.default.createElement("div",{className:"columns"},s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=null==d?void 0:d.menu[1])||void 0===w?void 0:w.menu_title),null===(_=null===(B=null==d?void 0:d.menu[1])||void 0===B?void 0:B.items)||void 0===_?void 0:_.map((e=>s.default.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":`https://${n.domainLocales[m]}${e.url}`,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":`https://${n.domainLocales[m]}${e.url}`},s.default.createElement(l.Text,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:`https://${n.domainLocales[m]}${e.url}`,size:"sm",type:"regular",style:{color:o.theme.colors.gray800}},e.title))))),s.default.createElement("div",{className:"mHalf"},s.default.createElement(l.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(A=null==d?void 0:d.menu[2])||void 0===A?void 0:A.menu_title),null===(I=null===(H=null==d?void 0:d.menu[2])||void 0===H?void 0:H.items)||void 0===I?void 0:I.map(((e,t)=>s.default.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},s.default.createElement(l.Text,{size:"sm",type:"regular",style:{color:o.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))))),"mini"!==i&&s.default.createElement("hr",{className:"hrMobile"}),s.default.createElement("div",{className:"newsletter"},s.default.createElement("div",{className:"social"},s.default.createElement(l.Text,{size:"sm",type:"regular"},null===(G=null==d?void 0:d.social)||void 0===G?void 0:G.title),s.default.createElement("div",{className:"icons"},null===(D=null===(S=null==d?void 0:d.social)||void 0===S?void 0:S.socials)||void 0===D?void 0:D.map(((e,t)=>s.default.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,href:e.url},s.default.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${e.name}`,"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",E="GS-7mbG",g="qc5bEb3",p="CQGVeuT",b="_6JMoel-",N="_8eUT8Jr",h="cjDwoLi";const k=({logoType:e="marryBaby",footerMenu:t,background:l})=>{var n;if(!t)return null;const{general:r,menu:c,socials:u}=t;return s.default.createElement("footer",{className:y,style:{backgroundColor:l||"none"}},s.default.createElement("div",{className:h},s.default.createElement(a.Container,null,s.default.createElement("div",{className:E},null==c?void 0:c.map((({menu_title:e,items:t},a)=>s.default.createElement("div",{className:g,key:`mbf${a}`},s.default.createElement(d.MarryBabyText,{className:"title",type:"subtitle-1",color:o.theme.mbColors.pink},e),null==t?void 0:t.map((({title:e,url:t},a)=>s.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${t}`,className:"link",href:t,key:`footer-links-${a}`},s.default.createElement("div",{className:p,key:`mbitem${a}`},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},e)))))))))),s.default.createElement(a.Container,null,s.default.createElement("div",{className:b},s.default.createElement(i.Logo,{className:"logo",type:e}),s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-2",color:o.theme.mbColors.gray},null==r?void 0:r.content)),s.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((({icon:e,name:t,url:a},l)=>s.default.createElement("a",{key:`social${l}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${t}`,"data-content-label":t,href:a},s.default.createElement("img",{loading:"lazy",src:e,alt:t}))))))),s.default.createElement("div",{className:N},s.default.createElement(a.Container,null,s.default.createElement("div",{className:"content"},s.default.createElement(d.MarryBabyText,{type:"bodytext-3",color:o.theme.colors.white},null==r?void 0:r.copyright),s.default.createElement("div",{className:"verify"},null===(n=null==r?void 0:r.verified)||void 0===n?void 0:n.map((({image:e,url:t},a)=>s.default.createElement("img",{loading:"lazy",key:`imgMbFt${a}`,src:e,alt:t})))))))))};exports.Footer=({type:e,isMobile:t=!0,locale:a,footerInfo:l,siteType:n,background:o})=>"helloSites"===n?s.default.createElement(f,{isMobile:t,type:e,locale:a,footerInfo:l||{}}):s.default.createElement(k,{footerMenu:l,background:o});
|
package/build/gAssets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-2117aabb.js"),s=require("./isProduction-a97ec848.js");require("./Locale-da0b0391.js");const o="hellosehat.com";class t{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(e,o,t)=>{const i="https://hhg-common."+[o||this.getBaseDomain(),t||this.subPath,e].join("/");return s.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:s}=window.location,t=s.split("."),i=e.domainLocales[Object.keys(e.domainLocales).find((o=>s.includes(e.domainLocales[o])))];return t.includes("localhost")||t.includes("hellohealthgroup")||t.every((e=>{return s=e,!isNaN(parseFloat(s))&&isFinite(s);var s}))||!i?o:i}return o}}const i=new t;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=i,exports.GAssets=t;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-16f09d23.js"),e=require("./core-f29d79c8.js"),i=require("./normalizeLink-138b8f89.js"),o=require("./routing-2176f47d.js");const l=(t,e)=>{var i,o;if(!t)return{};const l="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${l}/health-tools`+(null===(o=t.link)||void 0===o?void 0:o.replace(`${l}/`,"/")),subtitle:t.subtitle,title:t.title}},n=e=>t.__awaiter(void 0,void 0,void 0,(function*(){var t,n;try{let r;r="undefined"!=typeof window?window.fetch:yield require("node-fetch");const a="tl-PH"===e?"lang=fil":"";let s=[];try{const d=yield r(i.normalizeLinkSlash(`${o.getDiscoverApiDomain(e)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));s=(null===(n=null===(t=null==d?void 0:d.data)||void 0===t?void 0:t.map)||void 0===n?void 0:n.call(t,(t=>l(t,e))))||[]}catch(t){}return s}catch(t){console.error(t)}}));exports.formatHealthTool=l,exports.getDynamicHealthTool=n,exports.getDynamicHealthToolWithCache=i=>t.__awaiter(void 0,void 0,void 0,(function*(){return(yield e.getDataWithCache("all-health-tools",(()=>n(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./Locale-176ac5d6.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
|
|
1
|
+
"use strict";var e=require("react"),t=require("./Locale-da0b0391.js"),l=require("./gAssets.js");function C(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=C(e);exports.getSocialList=e=>[{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("path",{d:"M27.5 0H5.5C2.73858 0 0.5 2.23858 0.5 5V27C0.5 29.7614 2.73858 32 5.5 32H27.5C30.2614 32 32.5 29.7614 32.5 27V5C32.5 2.23858 30.2614 0 27.5 0Z",fill:"#1778F2"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.814 32V19.499H24.069L24.5 15.19H20.814L20.82 13.034C20.82 11.911 20.92 11.309 22.443 11.309H24.477V7H21.222C17.312 7 15.937 9.09 15.937 12.604V15.191H13.5V19.499H15.937V32H20.814Z",fill:"white"})),name:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${e}`},{icon:a.default.createElement("img",{src:l.CommonGAssets.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:`https://sp.zalo.me/share?href=${e}`,allowedLocales:[t.LOCALE.Vietnam]},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.2304 13.2349L16.2708 13.8692L15.5964 13.7916C13.1417 13.4938 10.9972 12.484 9.17631 10.788L8.2861 9.94646L8.05683 10.5679C7.57124 11.9532 7.88149 13.4161 8.89305 14.4001C9.43257 14.9438 9.31116 15.0215 8.38052 14.6978C8.05683 14.5943 7.77357 14.5166 7.74658 14.5554C7.65216 14.646 7.97591 15.8241 8.23218 16.2902C8.58286 16.9376 9.29766 17.5719 10.08 17.9474L10.7409 18.2452L9.9586 18.2581C9.20324 18.2581 9.17631 18.271 9.25723 18.5429C9.52699 19.3844 10.5925 20.2777 11.7794 20.6661L12.6157 20.938L11.8873 21.3523C10.8083 21.9478 9.54049 22.2844 8.2726 22.3103C7.66566 22.3232 7.16663 22.375 7.16663 22.4139C7.16663 22.5433 8.81213 23.2684 9.76976 23.5531C12.6427 24.3947 16.055 24.0322 18.6177 22.5951C20.4385 21.5724 22.2593 19.5398 23.1091 17.5719C23.5677 16.5232 24.0263 14.6072 24.0263 13.688C24.0263 13.0925 24.0667 13.0148 24.822 12.3027C25.2671 11.8885 25.6853 11.4353 25.7662 11.3059C25.901 11.0598 25.8875 11.0598 25.1997 11.28C24.0532 11.6683 23.8913 11.6166 24.4579 11.034C24.876 10.6197 25.375 9.86879 25.375 9.64873C25.375 9.60987 25.1727 9.67458 24.9434 9.79112C24.7006 9.92061 24.1611 10.1148 23.7565 10.2313L23.0281 10.4514L22.3673 10.0241C22.0031 9.79112 21.4905 9.53219 21.2208 9.45452C20.5329 9.27327 19.4809 9.29918 18.8605 9.50628C17.1745 10.0889 16.1089 11.5907 16.2304 13.2349Z",fill:"white"})),name:"Twitter",href:`https://twitter.com/intent/tweet?url=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("g",{clipPath:"url(#clip0_687_88944)"},a.default.createElement("path",{d:"M29.5309 0H3.46909C1.82931 0 0.5 1.32931 0.5 2.96909V29.0309C0.5 30.6707 1.82931 32 3.46909 32H29.5309C31.1707 32 32.5 30.6707 32.5 29.0309V2.96909C32.5 1.32931 31.1707 0 29.5309 0Z",fill:"url(#paint0_linear_687_88944)"}),a.default.createElement("path",{d:"M23.5545 8.94548C21.8898 7.2642 19.6792 6.23313 17.3212 6.03825C14.9633 5.84336 12.6134 6.49749 10.6953 7.88265C8.77715 9.2678 7.41716 11.2928 6.86059 13.5924C6.30403 15.8919 6.58753 18.3147 7.65997 20.4237L6.60724 25.5346C6.59632 25.5854 6.59601 25.638 6.60633 25.689C6.61665 25.74 6.63739 25.7883 6.66724 25.8309C6.71097 25.8956 6.77338 25.9454 6.84616 25.9737C6.91893 26.0019 6.99859 26.0073 7.07451 25.9891L12.0836 24.8018C14.1866 25.8471 16.5923 26.1124 18.8725 25.5505C21.1528 24.9885 23.1597 23.6358 24.5362 21.7331C25.9128 19.8303 26.5696 17.5009 26.3898 15.1593C26.21 12.8177 25.2053 10.6158 23.5545 8.94548ZM21.9927 21.4109C20.8409 22.5595 19.3578 23.3176 17.7523 23.5786C16.1468 23.8395 14.4998 23.5901 13.0436 22.8655L12.3454 22.52L9.27451 23.2473L9.2836 23.2091L9.91997 20.1182L9.57815 19.4437C8.83408 17.9823 8.57159 16.323 8.82831 14.7034C9.08502 13.0837 9.84775 11.5869 11.0072 10.4273C12.4642 8.97083 14.4399 8.15263 16.5 8.15263C18.56 8.15263 20.5358 8.97083 21.9927 10.4273C22.0051 10.4415 22.0185 10.4549 22.0327 10.4673C23.4716 11.9275 24.2748 13.8974 24.2673 15.9474C24.2598 17.9974 23.4422 19.9613 21.9927 21.4109Z",fill:"white"}),a.default.createElement("path",{d:"M21.7199 19.1436C21.3436 19.7364 20.749 20.4618 20.0017 20.6418C18.6926 20.9582 16.6836 20.6527 14.1836 18.3218L14.1526 18.2946C11.9545 16.2564 11.3836 14.56 11.5217 13.2146C11.5981 12.4509 12.2345 11.76 12.7708 11.3091C12.8556 11.2367 12.9562 11.1852 13.0645 11.1586C13.1727 11.1321 13.2857 11.1312 13.3944 11.1561C13.503 11.181 13.6044 11.231 13.6903 11.3021C13.7761 11.3732 13.8442 11.4634 13.889 11.5655L14.6981 13.3836C14.7507 13.5015 14.7702 13.6315 14.7545 13.7596C14.7388 13.8878 14.6885 14.0092 14.609 14.1109L14.1999 14.6418C14.1121 14.7515 14.0592 14.8848 14.0478 15.0248C14.0365 15.1648 14.0673 15.305 14.1363 15.4273C14.3654 15.8291 14.9145 16.42 15.5236 16.9673C16.2072 17.5855 16.9654 18.1509 17.4454 18.3436C17.5738 18.3961 17.715 18.4089 17.8508 18.3804C17.9866 18.3519 18.1107 18.2834 18.2072 18.1836L18.6817 17.7055C18.7733 17.6152 18.8872 17.5508 19.0117 17.5188C19.1363 17.4869 19.2671 17.4886 19.3908 17.5236L21.3126 18.0691C21.4187 18.1016 21.5158 18.158 21.5967 18.2338C21.6776 18.3096 21.7401 18.4029 21.7794 18.5066C21.8187 18.6103 21.8338 18.7216 21.8235 18.832C21.8132 18.9424 21.7777 19.049 21.7199 19.1436Z",fill:"white"})),a.default.createElement("defs",null,a.default.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},a.default.createElement("stop",{stopColor:"#36F46C"}),a.default.createElement("stop",{offset:"1",stopColor:"#03D749"})),a.default.createElement("clipPath",{id:"clip0_687_88944"},a.default.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:`https://wa.me/?text=${e}`},{icon:a.default.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.default.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),a.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3571 9.07077C11.3349 7.97643 10.6126 7.14288 9.43969 7.14288C8.26679 7.14288 7.5 7.97643 7.5 9.07077C7.5 10.1425 8.24415 11 9.39516 11H9.4171C10.6126 11 11.3571 10.1425 11.3571 9.07077ZM11.3571 12.286H7.5V23.8574H11.3571V12.286ZM20.651 12.286C23.4224 12.286 25.5 13.9022 25.5 17.3748L25.4999 23.8571H21.2885V17.8086C21.2885 16.2894 20.6791 15.2526 19.1545 15.2526C17.991 15.2526 17.2979 15.9515 16.9935 16.6265C16.8822 16.8685 16.8548 17.2056 16.8548 17.5435V23.8574H12.6429C12.6429 23.8574 12.6984 13.6127 12.6429 12.5518H16.8548V14.1531C17.4138 13.3834 18.415 12.286 20.651 12.286Z",fill:"white"})),name:"LinkedIn",href:`https://www.linkedin.com/sharing/share-offsite/?url=${e}`},{icon:a.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},a.default.createElement("g",{id:"surface1"},a.default.createElement("path",{fill:"#00cf2e",d:"M 26.398438 32 L 5.601562 32 C 2.507812 32 0 29.492188 0 26.398438 L 0 5.601562 C 0 2.507812 2.507812 0 5.601562 0 L 26.398438 0 C 29.492188 0 32 2.507812 32 5.601562 L 32 26.398438 C 32 29.492188 29.492188 32 26.398438 32 Z M 26.398438 32 "}),a.default.createElement("path",{fill:"#fff",d:"M 28.199219 14.199219 C 28.199219 9.800781 23 5 16.199219 5 C 9.574219 5 4.199219 8.898438 4.199219 14.199219 C 4.199219 19.089844 8.390625 23.128906 14.285156 23.726562 C 14.648438 23.753906 14.980469 23.949219 15.179688 24.253906 C 15.320312 24.476562 15.398438 24.734375 15.398438 25 C 15.386719 25.542969 15.324219 26.082031 15.21875 26.613281 C 15.1875 26.761719 15.238281 26.914062 15.355469 27.011719 C 15.472656 27.109375 15.632812 27.128906 15.769531 27.070312 C 18.59375 25.820312 28.199219 20.679688 28.199219 14.199219 Z M 28.199219 14.199219 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 11.800781 16.398438 L 10 16.398438 L 10 12.199219 C 10 11.867188 9.730469 11.601562 9.398438 11.601562 C 9.070312 11.601562 8.800781 11.867188 8.800781 12.199219 L 8.800781 17 C 8.800781 17.332031 9.070312 17.601562 9.398438 17.601562 L 11.800781 17.601562 C 12.132812 17.601562 12.398438 17.332031 12.398438 17 C 12.398438 16.667969 12.132812 16.398438 11.800781 16.398438 Z M 11.800781 16.398438 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 13.398438 11.601562 C 13.070312 11.601562 12.800781 11.867188 12.800781 12.199219 L 12.800781 17 C 12.800781 17.332031 13.070312 17.601562 13.398438 17.601562 C 13.730469 17.601562 14 17.332031 14 17 L 14 12.199219 C 14 11.867188 13.730469 11.601562 13.398438 11.601562 Z M 13.398438 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 19 11.601562 C 18.667969 11.601562 18.398438 11.867188 18.398438 12.199219 L 18.398438 15.199219 L 15.898438 11.839844 C 15.746094 11.632812 15.476562 11.550781 15.230469 11.628906 C 14.984375 11.710938 14.820312 11.941406 14.820312 12.199219 L 14.820312 17 C 14.871094 17.285156 15.121094 17.492188 15.410156 17.492188 C 15.699219 17.492188 15.949219 17.285156 16 17 L 16 14 L 18.5 17.359375 C 18.617188 17.515625 18.804688 17.605469 19 17.601562 C 19.066406 17.601562 19.128906 17.589844 19.191406 17.570312 C 19.433594 17.488281 19.601562 17.257812 19.601562 17 L 19.601562 12.199219 C 19.601562 11.867188 19.332031 11.601562 19 11.601562 Z M 19 11.601562 "}),a.default.createElement("path",{fill:"#00cf2e",d:"M 23.398438 15.199219 C 23.730469 15.199219 24 14.929688 24 14.601562 C 24 14.269531 23.730469 14 23.398438 14 L 21.601562 14 L 21.601562 12.800781 L 23.398438 12.800781 C 23.730469 12.800781 24 12.53125 24 12.199219 C 24 11.867188 23.730469 11.601562 23.398438 11.601562 L 21 11.601562 C 20.667969 11.601562 20.398438 11.867188 20.398438 12.199219 L 20.398438 17 C 20.398438 17.332031 20.667969 17.601562 21 17.601562 L 23.398438 17.601562 C 23.730469 17.601562 24 17.332031 24 17 C 24 16.667969 23.730469 16.398438 23.398438 16.398438 L 21.601562 16.398438 L 21.601562 15.199219 Z M 23.398438 15.199219 "}))),name:"Line",href:`http://line.me/R/msg/text/?${e}`,allowedLocales:[t.LOCALE.Taiwan]}];
|
package/build/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./useTranslations-1b4c80ac.js"),s=require("./useScrollbarSize-d60f3b28.js"),r=require("./useRafState-447739b4.js"),i=require("./useHealthToolCache-76caa72e.js"),u=require("./useIsInit-7f558c3c.js"),t=require("./useOutsideClick-7c2e47a0.js"),a=require("./useUniqueId-77f6b27b.js");require("react"),require("./translationsContext-7165ce76.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-16f09d23.js"),require("./cookieHelper-4b51be77.js"),require("./getDynamicHealthTool-804288e9.js"),require("./core-f29d79c8.js"),require("./isProduction-a97ec848.js"),require("./normalizeLink-138b8f89.js"),require("./routing-2176f47d.js"),require("./index-2117aabb.js"),require("./Locale-da0b0391.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=s.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=s.useScrollbarSize,exports.useFbDataLayer=r.useFbDataLayer,exports.usePrevious=r.usePrevious,exports.useRafState=r.useRafState,exports.useHealthToolsCache=i.useHealthToolsCache,exports.useIsInit=u.useIsInit,exports.initSharedOutSideClickListener=t.initSharedOutSideClickListener,exports.useOutsideClick=t.useOutsideClick,exports.useSharedOutsideClick=t.useSharedOutsideClick,exports.useInitialMount=a.useInitialMount,exports.useUniqueId=a.useUniqueId;
|
package/build/i18n.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("./translationsProvider-f22aeed7.js"),t=require("./translationsContext-7165ce76.js");require("react"),exports.TranslationsProvider=r.TranslationsProvider,exports.translationsMap=r.translationsMap,exports.TranslationsContext=t.TranslationsContext,exports.defaultTranslations=t.defaultTranslations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./Locale-176ac5d6.js"),o=require("./isProduction-0222acca.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],O=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],I=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var r;exports.QUERY_HEALTH_TOOL=void 0,(r=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",r.gender="gndr",r.age="ge",r.slug="slug",r.resultId="resultId",r.bmr="mr",r.height="gt",r.weight="wght",r.source="surc",r.type="tp",r.startDate="sd",r.additional="tnl",r.week="wk",r.twins="twn",r.weightBefore="wb",r.yourself="yrslf",r.intensity="sy",r.rate="rt",r.method="mthd",r.day="dy",r.pwg="pwg",r.cycle="le",r.period="prd",r.access_token="tkn",r.name="nm",r.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:c,CARE_LOCALES:O,CARE_BOOKING_LOCALES:I,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=O,exports.FAVICONS=T,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=p,exports.siteHost=l,exports.siteOptions=i;
|
|
1
|
+
"use strict";var e=require("./Locale-da0b0391.js"),o=require("./isProduction-a97ec848.js");const l={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},i={HELLO_HEALTH_GROUP:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:e.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:e.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:e.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:e.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:e.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:e.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:e.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:e.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:e.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:e.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:e.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},n="userGeoLocationCoordinates",t={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},a={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},s={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},E="user",c=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],O=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],I=["vi-VN","id-ID"],T={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var r;exports.QUERY_HEALTH_TOOL=void 0,(r=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",r.gender="gndr",r.age="ge",r.slug="slug",r.resultId="resultId",r.bmr="mr",r.height="gt",r.weight="wght",r.source="surc",r.type="tp",r.startDate="sd",r.additional="tnl",r.week="wk",r.twins="twn",r.weightBefore="wb",r.yourself="yrslf",r.intensity="sy",r.rate="rt",r.method="mthd",r.day="dy",r.pwg="pwg",r.cycle="le",r.period="prd",r.access_token="tkn",r.name="nm",r.id="id";const h={[e.LOCALE.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[e.LOCALE.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[e.LOCALE.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[e.LOCALE.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[e.LOCALE.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}};var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:n,domainLocales:t,LOCALE_SPECS:a,STATIC_PAGES:s,UP_BASEPATH:E,TOGETHER_LOCALES:c,CARE_LOCALES:O,CARE_BOOKING_LOCALES:I,FAVICONS:T,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},ISO_FORMAT:h,siteHost:l,siteOptions:i,isProduction:o.isProduction});exports.CARE_BOOKING_LOCALES=I,exports.CARE_LOCALES=O,exports.FAVICONS=T,exports.ISO_FORMAT=h,exports.LOCALE_SPECS=a,exports.STATIC_PAGES=s,exports.TOGETHER_LOCALES=c,exports.UP_BASEPATH=E,exports.USER_GEOLOCATION_COORDINATES_COOKIE=n,exports.domainLocales=t,exports.index=p,exports.siteHost=l,exports.siteOptions=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),a=require("./useTranslations-1b4c80ac.js"),t=require("./theme-63c3307a.js"),r=require("./index-efb11af8.js"),i=require("./index-7925d8bf.js"),l=require("./index-a3c03dd8.js"),c=require("./index-fb4334a2.js"),n=require("./index.styled-7200b82d.js");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=d(e);exports.NewBabyProfileRadio=({isActive:e,onChange:d,value:o="",onInputChange:u,siteType:m})=>{const{t:y}=a.useTranslations(),f="marryBaby"===m;return s.default.createElement(n.StyledNewBabyProfileRadio,{onClick:()=>d("new"),"data-is-mb":f,"data-isActive":f&&e},"marryBaby"===m?s.default.createElement("div",{className:"title"},s.default.createElement(l.MarryBabyText,{type:"bodytext-1",color:t.theme.colors.gray800},y("chooseBaby.new")),s.default.createElement("div",{className:e?"radio active":"radio"},e&&s.default.createElement(r.Icon.CheckActiveMB,{size:26}))):s.default.createElement("div",{className:"title"},s.default.createElement(c.Text,{size:"p2",color:t.theme.colors.gray800},y("chooseBaby.new")),s.default.createElement("div",{className:e?"radio active":"radio"})),s.default.createElement(i.Input,{name:"name",value:o,size:"md",placeholder:y("chooseBaby.placeholder"),type:"text",onChange:u}))};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-16f09d23.js"),t=require("react"),r=require("./Vietnam-95669f39.js"),n=require("./index-2117aabb.js"),a=require("@mantine/core"),o=require("./gAssets.js"),i=require("@mantine/dates"),l=require("styled-components"),s=require("dayjs");require("./screenSizeContext-1c02e711.js");var c=require("./theme-63c3307a.js");require("./utils-89871862.js"),require("./isProduction-a97ec848.js");var u=require("./Locale-da0b0391.js"),d=require("@mantine/carousel"),f=require("./index-91cec2c8.js");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function p(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var h=m(t),g=m(l),C=m(s),y=f.createCommonjsModule((function(e){!function(){var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var a=arguments[n];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var i=r.apply(null,a);i&&e.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&e.push(l)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r}()}));const b=Object.values(n.siteOptions).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),v={PH:r.Phillipines,KH:r.Cambodia,ID:r.India,IN:r.Indonesia,MM:r.Myanmar,MY:r.Malaysia,TH:r.Thailand,TW:r.Taiwan,VN:r.Vietnam};var E={phoneInput:"i-9Ibox",error:"YDWHh9b"};const j=t.forwardRef(((n,a)=>{const{isError:o,defaultCountry:i,countries:l=b,countryCallingCodeEditable:s=!1,defaultValue:c,value:u,onChange:d,className:f}=n,m=e.__rest(n,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[g,C]=t.useState(c||u),[j,A]=t.useState(null);return t.useEffect((()=>{C(u)}),[u]),t.useEffect((()=>{e.__awaiter(void 0,void 0,void 0,(function*(){const e=yield Promise.resolve().then((function(){return p(require("react-phone-number-input"))}));A(e)}))}),[]),j?h.default.createElement(j.default,Object.assign({ref:a,value:g,onChange:e=>{C(e),null==d||d(e)},countries:l,defaultCountry:i,countryCallingCodeEditable:s,className:y(E.phoneInput,{isError:o,[E.error]:o},f),flagUrl:void 0,flagComponent:t=>{const{country:r,countryName:n,flagUrl:a}=t,o=e.__rest(t,["country","countryName","flagUrl"]),i=v[r],l=r?`(+${j.getCountryCallingCode(r)})`:"";return i?h.default.createElement(h.default.Fragment,null,h.default.createElement(i,Object.assign({title:n},o)),h.default.createElement("span",{className:y(E.callingCode,"PhoneInputCountryIconCallingCode")},l)):h.default.createElement(h.default.Fragment,null)},countrySelectProps:{arrowComponent:()=>h.default.createElement("div",{className:y(E.arrowSelect,"PhoneInputArrowContainer")},h.default.createElement(r.CaretDown,null))}},m)):null})),A=g.default(i.DatePicker)`
|
|
2
|
+
position: relative;
|
|
3
|
+
${e=>e.fullWidth&&l.css`
|
|
4
|
+
.mantine-DatePicker-dropdown {
|
|
5
|
+
min-width: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
`}
|
|
11
|
+
`,O=g.default(i.DateRangePicker)`
|
|
12
|
+
position: relative;
|
|
13
|
+
${e=>e.fullWidth&&l.css`
|
|
14
|
+
.mantine-DateRangePicker-dropdown {
|
|
15
|
+
min-width: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
`}
|
|
21
|
+
`,L=e=>h.default.createElement(A,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:h.default.createElement(a.Image,{src:o.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e));L.Range=e=>h.default.createElement(O,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:h.default.createElement(a.Image,{src:o.CommonGAssets.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e));const k=g.default(a.Textarea)`
|
|
22
|
+
.mantine-Textarea-input {
|
|
23
|
+
padding: 12px 16px;
|
|
24
|
+
background: #ffffff;
|
|
25
|
+
border: 1px solid ${c.theme.colors.gray200};
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
}
|
|
28
|
+
`,x=g.default(a.Accordion)`
|
|
29
|
+
.mantine-Accordion-control {
|
|
30
|
+
&:hover {
|
|
31
|
+
background-color: transparent;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.mantine-Accordion-item {
|
|
35
|
+
.mantine-Accordion-chevron {
|
|
36
|
+
> div {
|
|
37
|
+
background-repeat: no-repeat;
|
|
38
|
+
width: 16px;
|
|
39
|
+
height: 16px;
|
|
40
|
+
background-position: center;
|
|
41
|
+
background-image: url(${e=>e.closeChevron||o.CommonGAssets.getAssetPath("plus-icon.svg")});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
&[data-active='true'] {
|
|
45
|
+
.mantine-Accordion-chevron {
|
|
46
|
+
> div {
|
|
47
|
+
background-image: url(${e=>e.openChevron||o.CommonGAssets.getAssetPath("minus-icon.svg")});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.mantine-Accordion-panel {
|
|
53
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
54
|
+
}
|
|
55
|
+
.mantine-Accordion-content {
|
|
56
|
+
white-space: pre-wrap;
|
|
57
|
+
}
|
|
58
|
+
`,P=t=>{var{children:r}=t,n=e.__rest(t,["children"]);return h.default.createElement(x,Object.assign({chevron:h.default.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},n),r)};P.Control=a.Accordion.Control,P.Item=a.Accordion.Item,P.Panel=a.Accordion.Panel;const w=o.CommonGAssets.getAssetPath("avatar.jpg");class S extends t.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||h.default.createElement(h.default.Fragment,null):this.props.children}}const I=t=>{var{slidesToShow:r=1,children:n}=t,a=e.__rest(t,["slidesToShow","children"]);return(Array.isArray(n)?n.length:1)?h.default.createElement(S,null,h.default.createElement(d.Carousel,Object.assign({slideSize:String(Math.floor(1/r*100))+"%",containScroll:"trimSnaps"},a),n)):null};I.Slide=d.Carousel.Slide;const q=e=>h.default.createElement(a.Checkbox,Object.assign({},e));q.Group=a.Checkbox.Group;const D=g.default(a.Radio)`
|
|
59
|
+
.mantine-Radio-icon {
|
|
60
|
+
color: ${e=>e.color||c.theme.colors.primaryBase};
|
|
61
|
+
}
|
|
62
|
+
`,R=e=>h.default.createElement(D,Object.assign({size:"sm"},e));R.Group=a.Radio.Group;const _={[u.LOCALE.Vietnam]:"vi",[u.LOCALE.Cambodia]:"km",[u.LOCALE.India]:"hi",[u.LOCALE.Indonesia]:"id",[u.LOCALE.Malaysia]:"ms",[u.LOCALE.Thailand]:"th",[u.LOCALE.Taiwan]:"zh-tw",[u.LOCALE.PhilippinesTagalog]:"tl-ph",[u.LOCALE.PhilippinesEnglish]:"en",[u.LOCALE.Myanmar]:"my"},T={[u.LOCALE.Vietnam]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/vi.js"))})),[u.LOCALE.Cambodia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/km.js"))})),[u.LOCALE.India]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/hi.js"))})),[u.LOCALE.Indonesia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/id.js"))})),[u.LOCALE.Malaysia]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/ms.js"))})),[u.LOCALE.Thailand]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/th.js"))})),[u.LOCALE.Taiwan]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/zh-tw.js"))})),[u.LOCALE.PhilippinesTagalog]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/tl-ph.js"))})),[u.LOCALE.PhilippinesEnglish]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/en.js"))})),[u.LOCALE.Myanmar]:()=>Promise.resolve().then((function(){return p(require("dayjs/locale/my.js"))}))},N={"&:hover":{border:`1px solid ${c.theme.colors.primaryBase}`}},M={Radio:{styles:{radio:Object.assign(Object.assign({backgroundColor:"#ffffff"},N),{"&:checked":{backgroundColor:"#ffffff"}})}}};function z(e,t=6){const r=new Array(t).fill("");if(e){const t=e.toString().split("");r.map(((e,n)=>{t[n]&&(r[n]=t[n]||"")}))}return r}function G(e){return e.join("")}var V="_2iQs0sk",$="Ia6IojY";const H=t.forwardRef(((t,r)=>{const{maxLength:n=1,placeholder:a,className:o}=t,i=e.__rest(t,["maxLength","placeholder","className"]);return h.default.createElement("input",Object.assign({maxLength:n,className:y($,"otpInput",o),placeholder:a,type:"number"},i,{ref:r}))})),F=t.forwardRef(((e,r)=>{const{valueLength:n=6,type:o="number",value:i,defaultValue:l,onChange:s,onBlur:c}=e,u=t.useRef(new Array(n).fill(null)),[d,f]=t.useState(l||i),[m,p]=t.useState(-1),[g,C]=t.useState((()=>z(d,n))),b=t.useCallback((()=>{if(-1===m)return;const e=u.current[m];if(e){e.value="";const t=g;t[m]="",C(t),f((()=>G(t))),null==s||s(G(t))}}),[m,s,g]),v=t.useCallback((()=>{if(0===m)return;const e=u.current[m];e&&e.blur();const t=u.current[m-1];t&&t.focus()}),[m]),E=t.useCallback((()=>{if(m===n-1)return;const e=u.current[m];e&&e.blur();const t=u.current[m+1];t&&t.focus()}),[m,n]),j=t.useCallback((e=>{const t=e.target,r=t.value.toString().slice(0,1),n=u.current.findIndex((e=>e===t));if(-1!==n){const e=g;e[n]=r,C(e),f((()=>G(e))),null==s||s(G(e))}E()}),[E,s,g]),A=t.useCallback((e=>{const t=e.target,r=u.current.findIndex((e=>e===t));"number"===o?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==r&&p(r)}),[]),O=t.useCallback((e=>{const t=z(e.clipboardData.getData("text/plain"),n),r=G(t);C(t),f(r),null==s||s(r)}),[s,o,n]),L=t.useCallback((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),b(),v()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),b()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),v()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),E()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[b,E,v]);return t.useImperativeHandle(r,(()=>u.current[0]),[]),t.useEffect((()=>{C((()=>z(i,n))),f(i)}),[n,i]),h.default.createElement(a.Flex,{justify:"center",columnGap:8,className:y(V,"otpContainer")},g.map(((e,t)=>h.default.createElement(H,{ref:e=>{u.current[t]=e},key:""+t,value:e,type:o,onChange:j,onFocus:A,onKeyDown:L,onPaste:O,onBlur:c}))))}));exports.ANIMATION_DURATION="100ms",exports.Accordion=P,exports.Avatar=t=>{var{withIndicator:r=!1,indicatorConfig:n=null,size:o=56,children:i,styles:l}=t,s=e.__rest(t,["withIndicator","indicatorConfig","size","children","styles"]);const c=()=>h.default.createElement(a.Avatar,Object.assign({size:o,radius:"xl"},s,{imageProps:Object.assign({loading:"lazy"},s.imageProps)}),i||h.default.createElement("img",{loading:"lazy",src:w,width:o}));return r?h.default.createElement(a.Indicator,Object.assign({inline:!0,position:"bottom-end",offset:9},n,{styles:Object.assign({indicator:{backgroundColor:h.default.isValidElement(n.label)&&"transparent",zIndex:1}},l)}),c()):c()},exports.Carousel=I,exports.Checkbox=q,exports.DatePicker=L,exports.GlobalRadioStyle=M,exports.MAPPED_LOCALE=_,exports.OTP=F,exports.Phone=j,exports.Radio=R,exports.SHARED_HOVER=N,exports.StyledTextArea=k,exports.useMantineLocale=e=>{t.useEffect((()=>{var t;null===(t=T[e])||void 0===t||t.call(T),C.default.locale(_[e])}),[e])};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("./Locale-
|
|
1
|
+
"use strict";var r=require("./Locale-da0b0391.js"),t=Object.freeze({__proto__:null,get Gender(){return r.Gender},get BabyGrowthChartType(){return r.BabyGrowthChartType},get BabyGrowthChartDuration(){return r.BabyGrowthChartDuration},get BabyGrowthResultTab(){return r.BabyGrowthResultTab},get LOCALE(){return r.LOCALE}});exports.index=t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("./utils-
|
|
1
|
+
"use strict";var e=require("./utils-89871862.js"),t=require("styled-components"),o=require("react"),s=require("./gAssets.js"),a=require("./Locale-da0b0391.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=r(t),h=r(o);const n=l.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
align-items: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-16f09d23.js"),t=require("react"),l=require("./gAssets.js"),r=require("./index.styled-e618f9ff.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(t);exports.Modal=t=>{var{title:s}=t,n=e.__rest(t,["title"]);return a.default.createElement(a.default.Fragment,null,a.default.createElement(r.StyledModal,Object.assign({centered:!0,styles:{body:{padding:"40px"},inner:{borderRadius:"6px"}}},n,{withCloseButton:!1,title:n.withCloseButton&&a.default.createElement(a.default.Fragment,null,s,a.default.createElement("img",{className:"mantine-Modal-close",src:l.CommonGAssets.getAssetPath("CloseModal.svg"),onClick:()=>{var e;return null===(e=n.onClose)||void 0===e?void 0:e.call(n)}}))})))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./index.styled-
|
|
1
|
+
"use strict";var e=require("react"),t=require("./index.styled-7200b82d.js"),a=require("./tslib.es6-16f09d23.js"),r=require("./useTranslations-1b4c80ac.js"),n=require("./index-d8b75c51.js"),d=require("./index-fb4334a2.js"),l=require("./index.styled-3232dfbf.js"),s=require("./theme-63c3307a.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=o(e);var c="U9NRDG6";const u={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"};var y="Dudns9-";exports.AuthorBadge=e=>{var{siteType:t,role:n,title:d}=e,l=a.__rest(e,["siteType","role","title"]);const{t:s}=r.useTranslations(),o=n?(e=>["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((t=>t===e)))(n):"";return o&&u[o]?i.default.createElement("div",Object.assign({className:c,"data-label-type":o,"data-is-marrybaby":"marryBaby"===t},l),d||s(u[o])):null},exports.BtnChoice=({value:t,choices:a,onChange:r,isMarryBaby:d})=>{const[l,s]=e.useState(t);return e.useEffect((()=>{s(t)}),[t]),i.default.createElement("div",{className:y},a.map(((e,t)=>i.default.createElement(n.Button,{size:"sm",color:e.value===l?"primary":"tertiary",key:t,onClick:()=>{s(e.value),null==r||r(e.value)},theme:d?"marryBaby":"helloSites"},e.label||""))))},exports.Divider=({type:e="solid",className:a,style:r})=>i.default.createElement(t.StyledDivider,{style:r,className:a,"data-diver-type":e,dividerType:e}),exports.Tabs=({style:t,initialTab:a,tabContent:r,onChange:n,className:o,dataEventCategory:c,dataEventAction:u,dataEventLabel:y,id:m})=>{const[b,v]=e.useState(a||0);return e.useEffect((()=>{v(a)}),[a]),i.default.createElement(l.StyledTabs,{style:t,className:o,role:"tablist",id:m},r.map(((e,t)=>i.default.createElement(l.StyledTab,{"data-is-tab-active":b===t||void 0,"aria-selected":b===t,role:"tab",onClick:()=>{v(t),n&&n(t)},onKeyDown:e=>{"Enter"===e.key&&(v(t),n&&n(t))},key:t,"data-event-category":e.dataEventCategory||c,"data-event-action":e.dataEventAction||u,"data-event-label":e.dataEventLabel||y,tabIndex:0,"data-testid":e.dataTestid},i.default.createElement(l.StyledTabContent$1,null,e.icon&&i.default.createElement(l.StyledIcon,null,e.icon),i.default.createElement(d.Text,{size:e.textSize||"sm",type:e.textType||"bold",color:e.textColor||s.theme.colors.gray800,dataEventCategory:e.dataEventCategory,dataEventAction:e.dataEventAction,dataEventLabel:e.dataEventLabel},e.name))))))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-16f09d23.js"),t=require("react"),a=require("./index.styled-325ef16e.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=n(t);exports.Input=n=>{var{name:s,value:r,errorMessage:o,isNumerousKeyboard:i=!1,showErrorMessage:c=!0,actionIcon:u,displayIcon:d,onActionClick:m,label:y,className:p,onChange:b,isDisabled:v,CustomInput:f,size:g,style:C,autoComplete:E="off",type:I="text",inputClassName:N,trackingAttributes:h,enterKeyHint:A}=n,M=e.__rest(n,["name","value","errorMessage","isNumerousKeyboard","showErrorMessage","actionIcon","displayIcon","onActionClick","label","className","onChange","isDisabled","CustomInput","size","style","autoComplete","type","inputClassName","trackingAttributes","enterKeyHint"]);const k=t.useMemo((()=>h?{"data-event-category":h.dataEventCategory,"data-event-action":h.dataEventAction,"data-event-label":h.dataEventLabel}:{}),[h]);return l.default.createElement(a.StyledInput,{"data-size":g,className:p,"data-has-action-icon":!!u||void 0,"data-has-display-icon":!!d||void 0,"data-has-error":o&&o.length>0||void 0,style:C},y&&l.default.createElement(a.Label,{size:"label2",htmlFor:s,className:"inputLabel"},y),l.default.createElement("div",{style:{position:"relative"}},f||l.default.createElement("input",Object.assign({id:s,name:s,onChange:e=>b&&b(e.target.value),type:I,"aria-label":I,value:r,disabled:v,autoComplete:E,inputMode:i||"number"===I?"numeric":I,pattern:i?"[0-9]*":".*",className:N,enterKeyHint:A},k,M)),d&&l.default.createElement(a.StyledDisplayIcon,{className:"displayIcon"},d),u&&l.default.createElement(a.StyledActionIcon,{className:"actionIcon",onClick:m},u)),o&&o.length>0&&c&&l.default.createElement(a.StyledErrorLabel,{className:"errorLabel"},o))};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var e=require("@mantine/core"),t=require("styled-components"),n=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("@mantine/core"),t=require("styled-components"),n=require("./tslib.es6-16f09d23.js"),r=require("react"),o=require("@mantine/hooks"),a=require("./gAssets.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(t),i=s(r),u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};const d=e.createEmotionCache({key:"mantine",prepend:!1}),c=l.default(e.Slider)`
|
|
2
2
|
${e=>{const t=e.color||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
3
3
|
[data-theme='marryBaby'] & {
|
|
4
4
|
${e=>{const t=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./tslib.es6-16f09d23.js"),t=require("react"),r=require("./index.styled-cccd4e4c.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=a(t);exports.MarryBabyHeading=t=>{var{type:a,color:l,style:c}=t,n=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledHeading,Object.assign({type:a,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[a],style:Object.assign(Object.assign({},l&&{"--text-color":l}),c)},n))},exports.MarryBabyText=t=>{var{type:a,color:l,style:c}=t,n=e.__rest(t,["type","color","style"]);return s.default.createElement(r.StyledText,Object.assign({"data-type":a,style:Object.assign(Object.assign({},c),l&&{"--text-color":l})},n))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-16f09d23.js"),t=require("react"),r=require("@mantine/core"),s=require("./gAssets.js");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=n(t);exports.Select=t=>{var{keepSearch:n=!1}=t,o=e.__rest(t,["keepSearch"]);return n?a.default.createElement(r.Autocomplete,Object.assign({rightSection:a.default.createElement(r.Image,{src:s.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},o)):a.default.createElement(r.Select,Object.assign({rightSection:a.default.createElement(r.Image,{src:s.CommonGAssets.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300},o))};
|