@hhgtech/hhg-components 1.22.23-beta-1 → 1.22.24
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/{BMI_BOYS.percentile.monthly-7710bf7e.js → BMI_BOYS.percentile.monthly-e1af0e66.js} +0 -0
- package/build/{BMI_BOYS.percentile.weekly-65fc8f34.js → BMI_BOYS.percentile.weekly-75bff607.js} +0 -0
- package/build/{BMI_BOYS.percentile.yearly-a9092457.js → BMI_BOYS.percentile.yearly-a1a3d0ef.js} +0 -0
- package/build/{BMI_BOYS.zscore.monthly-790e83fa.js → BMI_BOYS.zscore.monthly-a175df2d.js} +0 -0
- package/build/{BMI_BOYS.zscore.weekly-0ae2dacf.js → BMI_BOYS.zscore.weekly-aba5d53b.js} +0 -0
- package/build/{BMI_BOYS.zscore.yearly-412208ab.js → BMI_BOYS.zscore.yearly-aafb7ce1.js} +0 -0
- package/build/{BMI_GIRLS.percentile.monthly-6958e16c.js → BMI_GIRLS.percentile.monthly-4c519db6.js} +0 -0
- package/build/{BMI_GIRLS.percentile.weekly-c699453c.js → BMI_GIRLS.percentile.weekly-aa3da5c1.js} +0 -0
- package/build/{BMI_GIRLS.percentile.yearly-5b4ad2bc.js → BMI_GIRLS.percentile.yearly-8561e48e.js} +0 -0
- package/build/{BMI_GIRLS.zscore.monthly-78fed4e1.js → BMI_GIRLS.zscore.monthly-849cbbe5.js} +0 -0
- package/build/{BMI_GIRLS.zscore.weekly-3fb4ca64.js → BMI_GIRLS.zscore.weekly-56e2c916.js} +0 -0
- package/build/{BMI_GIRLS.zscore.yearly-4da1e82a.js → BMI_GIRLS.zscore.yearly-eb9d49d1.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.monthly-52b83189.js → HEAD CIRCUM_BOYS.percentile.monthly-790479be.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.weekly-5599236f.js → HEAD CIRCUM_BOYS.percentile.weekly-923d3626.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.yearly-8a385338.js → HEAD CIRCUM_BOYS.percentile.yearly-b5aaa103.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.monthly-13e19166.js → HEAD CIRCUM_BOYS.zscore.monthly-bc73088f.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.weekly-b415d4da.js → HEAD CIRCUM_BOYS.zscore.weekly-f472daa8.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.yearly-4b6b15f9.js → HEAD CIRCUM_BOYS.zscore.yearly-d7a7b9df.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-23da0849.js → HEAD CIRCUM_GIRLS.percentile.monthly-24290dfb.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-99d8a91a.js → HEAD CIRCUM_GIRLS.percentile.weekly-0020f6e2.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-2ff9032a.js → HEAD CIRCUM_GIRLS.percentile.yearly-22dd615a.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-358a0f5d.js → HEAD CIRCUM_GIRLS.zscore.monthly-96a0f069.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e88948c8.js → HEAD CIRCUM_GIRLS.zscore.weekly-a0fa670d.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-98e35bfd.js → HEAD CIRCUM_GIRLS.zscore.yearly-02cf35f7.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.monthly-63fc22a5.js → HEIGHT_BOYS.percentile.monthly-e61c2896.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.weekly-0f72f842.js → HEIGHT_BOYS.percentile.weekly-71fb3532.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.yearly-3e3d2b8e.js → HEIGHT_BOYS.percentile.yearly-5156c057.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.monthly-3a09431b.js → HEIGHT_BOYS.zscore.monthly-910c2bd0.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.weekly-d5b43c51.js → HEIGHT_BOYS.zscore.weekly-70c18763.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.yearly-6c4c1303.js → HEIGHT_BOYS.zscore.yearly-bd97678c.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.monthly-8cd0c651.js → HEIGHT_GIRLS.percentile.monthly-a7bf2e5d.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.weekly-e6194b75.js → HEIGHT_GIRLS.percentile.weekly-b2628828.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.yearly-facd57c6.js → HEIGHT_GIRLS.percentile.yearly-e00c3ffd.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.monthly-6ed43edc.js → HEIGHT_GIRLS.zscore.monthly-3542327e.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.weekly-1aa0131d.js → HEIGHT_GIRLS.zscore.weekly-7ed52595.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.yearly-15380305.js → HEIGHT_GIRLS.zscore.yearly-4bbd497c.js} +0 -0
- package/build/{Locale-4f93f674.js → Locale-11b51016.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.monthly-e794b427.js → WEIGHT_BOYS.percentile.monthly-9966bfb1.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.weekly-5d953388.js → WEIGHT_BOYS.percentile.weekly-8b301e27.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.yearly-94f88ef3.js → WEIGHT_BOYS.percentile.yearly-c10eda77.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.monthly-dfcfde88.js → WEIGHT_BOYS.zscore.monthly-897fca0b.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.weekly-894e1ad4.js → WEIGHT_BOYS.zscore.weekly-0b1faf98.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.yearly-2ec54fe3.js → WEIGHT_BOYS.zscore.yearly-80018532.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.monthly-316c1f2d.js → WEIGHT_GIRLS.percentile.monthly-822f3f97.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.weekly-2f167112.js → WEIGHT_GIRLS.percentile.weekly-63c6a2a3.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.yearly-21a07c8b.js → WEIGHT_GIRLS.percentile.yearly-8f44f763.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.monthly-47b8924c.js → WEIGHT_GIRLS.zscore.monthly-86b583c7.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.weekly-d36f2673.js → WEIGHT_GIRLS.zscore.weekly-29d8f232.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.yearly-de8ab4da.js → WEIGHT_GIRLS.zscore.yearly-07eeb8b5.js} +0 -0
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care/components/organisms/bookingSearchBar/mobileTopbar/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSection/index.styled.d.ts +1 -1
- package/build/care/components/organisms/bookingSearchBar/resultSectionItem/index.styled.d.ts +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/heading/index.styled.d.ts +7 -0
- package/build/components/atoms/text/index.d.ts +2 -1
- package/build/components/atoms/text/index.styled.d.ts +1 -0
- package/build/components/mantine/spoiler/index.d.ts +2 -1
- package/build/components/molecules/articleCard/index.d.ts +2 -1
- package/build/components.js +1 -1
- package/build/{constants-e92c215c.js → constants-ca5ea110.js} +0 -0
- package/build/constants.js +1 -1
- package/build/{cookieHelper-4cd85be0.js → cookieHelper-3553173d.js} +0 -0
- package/build/core-27ea44f3.js +1 -0
- package/build/{dataTransform-77b837d9.js → dataTransform-a27830ef.js} +0 -0
- package/build/{defaultClassWrapper-d56b6c68.js → defaultClassWrapper-0eac7dff.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{BMI_BOYS.percentile.monthly-2e696a37.js → BMI_BOYS.percentile.monthly-f524741d.js} +0 -0
- package/build/esm/{BMI_BOYS.percentile.weekly-0d2daf7b.js → BMI_BOYS.percentile.weekly-3e59e311.js} +0 -0
- package/build/esm/{BMI_BOYS.percentile.yearly-89b57ae3.js → BMI_BOYS.percentile.yearly-6d8de73b.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.monthly-1e213bce.js → BMI_BOYS.zscore.monthly-a1e3c494.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.weekly-922a3ce2.js → BMI_BOYS.zscore.weekly-71fe0115.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.yearly-1157db99.js → BMI_BOYS.zscore.yearly-09f20a36.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.monthly-592c1276.js → BMI_GIRLS.percentile.monthly-001ea609.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.weekly-bccdf666.js → BMI_GIRLS.percentile.weekly-e48d680c.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.yearly-7ecfaa15.js → BMI_GIRLS.percentile.yearly-7df5fcbe.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.monthly-f9a4b73b.js → BMI_GIRLS.zscore.monthly-5802a837.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.weekly-aaf51a60.js → BMI_GIRLS.zscore.weekly-82f7aa14.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.yearly-2a578b81.js → BMI_GIRLS.zscore.yearly-347ac14e.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-f51515a6.js → HEAD CIRCUM_BOYS.percentile.monthly-dbb676b7.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-3aa2ff9d.js → HEAD CIRCUM_BOYS.percentile.weekly-92a20a1c.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-75667fc5.js → HEAD CIRCUM_BOYS.percentile.yearly-284ffe85.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-47c95c9f.js → HEAD CIRCUM_BOYS.zscore.monthly-0518141a.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-a24a7e23.js → HEAD CIRCUM_BOYS.zscore.weekly-58c98bc3.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-8d0d0fd8.js → HEAD CIRCUM_BOYS.zscore.yearly-0ab91f53.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-2ab00af9.js → HEAD CIRCUM_GIRLS.percentile.monthly-47ca419d.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-92cd9ba8.js → HEAD CIRCUM_GIRLS.percentile.weekly-0a80b339.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-14958f94.js → HEAD CIRCUM_GIRLS.percentile.yearly-2a9af33c.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-e539a6a6.js → HEAD CIRCUM_GIRLS.zscore.monthly-502454c8.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a2d4add5.js → HEAD CIRCUM_GIRLS.zscore.weekly-81f96658.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-6e376a37.js → HEAD CIRCUM_GIRLS.zscore.yearly-d96c5d22.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.monthly-57988671.js → HEIGHT_BOYS.percentile.monthly-46c82cfc.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.weekly-399a32ed.js → HEIGHT_BOYS.percentile.weekly-452b6591.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.yearly-7d2e4667.js → HEIGHT_BOYS.percentile.yearly-b69ee2b1.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.monthly-fd1a40f6.js → HEIGHT_BOYS.zscore.monthly-9fd9d0b9.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.weekly-9343538f.js → HEIGHT_BOYS.zscore.weekly-935edd5c.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.yearly-131d9a7b.js → HEIGHT_BOYS.zscore.yearly-1feaa056.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.monthly-b9e6d848.js → HEIGHT_GIRLS.percentile.monthly-2954319e.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.weekly-b343a46f.js → HEIGHT_GIRLS.percentile.weekly-575d53c8.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8bd9e77c.js → HEIGHT_GIRLS.percentile.yearly-37b9afa9.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.monthly-6d6e1870.js → HEIGHT_GIRLS.zscore.monthly-eb51992f.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.weekly-30e8b6e0.js → HEIGHT_GIRLS.zscore.weekly-7292924a.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9c9cfe58.js → HEIGHT_GIRLS.zscore.yearly-60c98917.js} +0 -0
- package/build/esm/{Locale-dd73dff4.js → Locale-69030fff.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.monthly-4dfe47c6.js → WEIGHT_BOYS.percentile.monthly-9e94fae6.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.weekly-4fcbd29d.js → WEIGHT_BOYS.percentile.weekly-a43c4530.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.yearly-c26fadba.js → WEIGHT_BOYS.percentile.yearly-23512fa8.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.monthly-c0a368ef.js → WEIGHT_BOYS.zscore.monthly-c1471d63.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.weekly-2377a180.js → WEIGHT_BOYS.zscore.weekly-7419ed62.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.yearly-a1121a0e.js → WEIGHT_BOYS.zscore.yearly-c9e3c050.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.monthly-885672cd.js → WEIGHT_GIRLS.percentile.monthly-e5e8908b.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.weekly-af4dc603.js → WEIGHT_GIRLS.percentile.weekly-3942d908.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.yearly-78930bb8.js → WEIGHT_GIRLS.percentile.yearly-18fa4dc9.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9ff056b3.js → WEIGHT_GIRLS.zscore.monthly-9d865314.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.weekly-90c4ebdc.js → WEIGHT_GIRLS.zscore.weekly-c824c3a7.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.yearly-72954fb2.js → WEIGHT_GIRLS.zscore.yearly-0409e36d.js} +0 -0
- package/build/esm/babyGrowth.js +1 -1
- 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-a60ad144.js → constants-a0a981fa.js} +0 -0
- package/build/esm/constants.js +1 -1
- package/build/esm/{cookieHelper-ef9db121.js → cookieHelper-8c12973e.js} +0 -0
- package/build/esm/{core-e0b59a71.js → core-8c1d445f.js} +1 -1
- package/build/esm/{dataTransform-9043eced.js → dataTransform-28541f72.js} +0 -0
- package/build/esm/defaultClassWrapper-27a74473.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-c0ce5be2.js → getDynamicHealthTool-8e66f8a7.js} +1 -1
- package/build/esm/{getSocialList-a1642f17.js → getSocialList-6e11d024.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-06b0427f.js +1 -0
- package/build/esm/{index-c177c117.js → index-20a09f62.js} +1 -1
- package/build/esm/{index-d9060f74.js → index-5066858f.js} +1 -1
- package/build/esm/{index-f29fd5fe.js → index-550f04ea.js} +1 -1
- package/build/esm/{index-5c10973f.js → index-62c22dbe.js} +1 -1
- package/build/esm/{index-ec220313.js → index-6b0eef49.js} +1 -1
- package/build/esm/{index-8099bdd7.js → index-71a7683a.js} +1 -1
- package/build/esm/{index-6c974cb4.js → index-77b3fdc2.js} +1 -1
- package/build/esm/{index-6e83230f.js → index-a0d0d5fa.js} +1 -1
- package/build/esm/index-a0e2043c.js +1 -0
- package/build/esm/{index-b509b48c.js → index-a1a50ff8.js} +1 -1
- package/build/esm/{index-6940d93a.js → index-a8d73207.js} +1 -1
- package/build/esm/index-aca74507.js +1 -0
- package/build/esm/{index-aeb16c55.js → index-bbc3936f.js} +1 -1
- package/build/esm/{index-a52c8eea.js → index-bfb83ce8.js} +1 -1
- package/build/esm/{index-d26e1a93.js → index-c2f532a6.js} +1 -1
- package/build/esm/{index-59e397d5.js → index-d20231b7.js} +1 -1
- package/build/esm/{index-34c8a226.js → index-d37a2be4.js} +1 -1
- package/build/esm/index-e675632b.js +1 -0
- package/build/esm/index-f6682634.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-3215d940.js → index.styled-ed780131.js} +1 -1
- package/build/esm/{isProduction-c64058ab.js → isProduction-6fc0946c.js} +0 -0
- package/build/esm/{lazyLoad-fd57057d.js → lazyLoad-59e8ff6d.js} +0 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/{localizeNumberFormat-d8803d28.js → localizeNumberFormat-ec8c08da.js} +0 -0
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-f5958830.js +1 -0
- package/build/esm/{screenSizeContext-dd6a9356.js → screenSizeContext-ff96a3d1.js} +1 -1
- package/build/esm/{theme-e755818a.js → theme-13d11d67.js} +0 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsContext-a9f4095d.js → translationsContext-e7808c8f.js} +0 -0
- package/build/esm/{translationsProvider-e99cddd1.js → translationsProvider-c27099c7.js} +1 -1
- package/build/esm/{tslib.es6-8d81858b.js → tslib.es6-2fa94e2c.js} +0 -0
- package/build/esm/types-6900037f.js +1 -0
- package/build/esm/{types-bd785123.js → types-f21fa40d.js} +1 -1
- package/build/esm/{types-8d2b9d20.js → types-f57c9932.js} +0 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-5de899c5.js → useFbDataLayer-f97c847d.js} +1 -1
- package/build/esm/useHealthToolCache-cfd4900b.js +1 -0
- package/build/esm/{useOutsideClick-bce0bebe.js → useOutsideClick-6004483a.js} +0 -0
- package/build/esm/{useScrollbarSize-142e9514.js → useScrollbarSize-99db33e1.js} +0 -0
- package/build/esm/{useTranslations-35f81159.js → useTranslations-b3eb31ef.js} +1 -1
- package/build/esm/{utils-a3eccc66.js → utils-40d4438f.js} +0 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-a53a4a27.js → getDynamicHealthTool-5794ef69.js} +1 -1
- package/build/{getSocialList-e1b4fd6d.js → getSocialList-7fd6363b.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-f1c3ae62.js → index-10ede9ab.js} +1 -1
- package/build/{index-fcaa2ed2.js → index-186b627d.js} +1 -1
- package/build/{index-459af007.js → index-2657dba3.js} +1 -1
- package/build/index-4338f5f7.js +1 -0
- package/build/{index-382f406a.js → index-4f2fe9a1.js} +1 -1
- package/build/{index-f7938c0f.js → index-57503957.js} +1 -1
- package/build/index-5830eec7.js +1 -0
- package/build/{index-927bf2de.js → index-6193a08c.js} +1 -1
- package/build/{index-fe4feb64.js → index-76dc603c.js} +1 -1
- package/build/{index-1d27876d.js → index-7d3b086d.js} +1 -1
- package/build/{index-d330177a.js → index-8ddc0bb9.js} +1 -1
- package/build/{index-9b1e47c1.js → index-9b944f11.js} +1 -1
- package/build/{index-8fe9ccb5.js → index-9f3366ff.js} +1 -1
- package/build/{index-c66bebf5.js → index-ad7a9909.js} +1 -1
- package/build/{index-2e849782.js → index-b63d6868.js} +1 -1
- package/build/index-bcf92e8b.js +1 -0
- package/build/{index-22cba26f.js → index-cbc786e1.js} +1 -1
- package/build/{index-a900aa3a.js → index-d632029d.js} +1 -1
- package/build/{index-5c80bfbd.js → index-f13a976e.js} +1 -1
- package/build/index-f50d4c63.js +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-b696d6e6.js → index.styled-5df734b4.js} +1 -1
- package/build/interfaces/constants/site.d.ts +1 -0
- package/build/{isProduction-5b39233d.js → isProduction-32e6a55a.js} +0 -0
- package/build/{lazyLoad-8803a3f4.js → lazyLoad-f5c59bb0.js} +0 -0
- package/build/lead.js +1 -1
- package/build/{localizeNumberFormat-41a877ee.js → localizeNumberFormat-155e5aec.js} +0 -0
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/pwg.js +1 -1
- package/build/routing-99cb7fb3.js +1 -0
- package/build/{screenSizeContext-311b9fbc.js → screenSizeContext-00584173.js} +1 -1
- package/build/{theme-ebb891e6.js → theme-b4bf0ca3.js} +0 -0
- package/build/together/components/atoms/cardReactions/index.styled.d.ts +1 -1
- package/build/together.js +1 -1
- package/build/{translationsContext-fcc59b03.js → translationsContext-9e231a88.js} +0 -0
- package/build/{translationsProvider-051d37ae.js → translationsProvider-e8f5d92d.js} +1 -1
- package/build/{tslib.es6-2f75f708.js → tslib.es6-e6f346c4.js} +0 -0
- package/build/{types-5b56db30.js → types-2b3bdf79.js} +0 -0
- package/build/{types-1947d2b5.js → types-3b6a052c.js} +1 -1
- package/build/types-78c6144e.js +1 -0
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-6688c912.js → useFbDataLayer-dbcf5c0c.js} +1 -1
- package/build/useHealthToolCache-99b7a2a8.js +1 -0
- package/build/{useOutsideClick-fe2c614a.js → useOutsideClick-528bfd6c.js} +0 -0
- package/build/{useScrollbarSize-37732e88.js → useScrollbarSize-586f6706.js} +0 -0
- package/build/useTranslations-00120db0.js +1 -0
- package/build/{utils-24e577aa.js → utils-43f2c752.js} +0 -0
- package/package.json +9 -27
- package/build/core-a36ae6c7.js +0 -1
- package/build/esm/defaultClassWrapper-a26097d6.js +0 -1
- package/build/esm/index-0741fd00.js +0 -1
- package/build/esm/index-354ad393.js +0 -1
- package/build/esm/index-98048bd8.js +0 -1
- package/build/esm/index-b827cd72.js +0 -1
- package/build/esm/index-d69d4d15.js +0 -1
- package/build/esm/index.css +0 -2
- package/build/esm/routing-7cabc4cc.js +0 -1
- package/build/esm/types-c1ddeda2.js +0 -1
- package/build/esm/useHealthToolCache-37d84b36.js +0 -1
- package/build/index-35147012.js +0 -1
- package/build/index-92fff9b0.js +0 -1
- package/build/index-9ff56c77.js +0 -1
- package/build/index-b6ae861d.js +0 -1
- package/build/index.css +0 -2
- package/build/routing-789f2197.js +0 -1
- package/build/types-0b60b5a1.js +0 -1
- package/build/useHealthToolCache-522535b8.js +0 -1
- package/build/useTranslations-1d0992cc.js +0 -1
|
File without changes
|
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-69030fff.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,e as n}from"./tslib.es6-
|
|
1
|
+
import{d as e,e as n}from"./tslib.es6-2fa94e2c.js";import{useEffect as t}from"react";import{g as r}from"./cookieHelper-8c12973e.js";function i(e){var n=(new TextEncoder).encode(e.trim().toLowerCase());return crypto.subtle.digest("SHA-256",n).then((function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}))}var a=function(a){t((function(){return(null==a?void 0:a.id)&&e(void 0,void 0,void 0,(function(){var e,t,o,c,l,u,s,f,d,p,m,h;return n(this,(function(n){switch(n.label){case 0:return[4,fetch("https://api.ipify.org").then((function(e){return e.text()}))];case 1:return(e=n.sent())?[3,3]:[4,fetch("https://icanhazip.com").then((function(e){return e.text()}))];case 2:e=n.sent(),n.label=3;case 3:return[4,Promise.all([a.email?i(a.email):null,a.phone?i(a.phone):null,a.birthday?a.birthday.split("-").join(""):null,a.gender?"m":"f",a.city_name?i(a.city_name).then((function(e){return e.replace(/\s/g,"")})):null,a.name?i(a.name):null])];case 4:return t=n.sent(),o=t[0],c=t[1],l=t[2],u=t[3],s=t[4],f=t[5],d={fbc:r("_fbc")||"",fbp:r("_fbp")||"",client_ip_address:(null==e?void 0:e.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},p={user_id:a.id,client_ip_address:(null==e?void 0:e.replace("\n",""))||"",client_user_agent:navigator.userAgent||""},f&&(p.fn=f),o&&(d.em=o,p.em=o),c&&(d.ph=c,p.ph=c),l&&(d.db=l,p.db=l),u&&(d.ge=u,p.ge=u),s&&(d.ct=s,p.ct=s),null===(h=null===(m=window.localStorage)||void 0===m?void 0:m.setItem)||void 0===h||h.call(m,"fbDataLayer_userInfo",JSON.stringify(p)),[2]}}))})),function(){}}),[a])};export{a as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as t,e as r}from"./tslib.es6-2fa94e2c.js";import{useState as n,useEffect as o,useCallback as e}from"react";import{a}from"./getDynamicHealthTool-8e66f8a7.js";var i=function(i){var l=n([]),s=l[0],u=l[1];o((function(){t(void 0,void 0,void 0,(function(){var t;return r(this,(function(r){switch(r.label){case 0:return[4,a(i)];case 1:return t=r.sent(),u(t),[2]}}))}))}),[a,i]);var c=e((function(t){var r;return(null===(r=s.find((function(r){return r.template===t})))||void 0===r?void 0:r.link)||""}),[s]);return{allTools:s,getHealthToolLink:c}};export{i as u};
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{useContext as o,useMemo as a}from"react";import{T as n,d as r}from"./translationsContext-
|
|
1
|
+
import{useContext as o,useMemo as a}from"react";import{T as n,d as r}from"./translationsContext-e7808c8f.js";import t from"string-format";function e(){var e=o(n)||{locale:"en-PH"},s=e.values,l=e.locale;return a((function(){return{t:function(o,a){return s?s[o]?a?t(s[o]||o,a):s[o]||o:(console.warn("[useTranslations] Missing translation for key ".concat(o," and locale ").concat(l)),a?t(r[o]||o,a):r[o]||o):(console.error("[useTranslations] t method called before translation values are loaded"),o)},locale:l}}),[s,l])}export{e as u};
|
|
File without changes
|
package/build/footer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("react"),e=require("./index-a900aa3a.js"),t=require("./index-459af007.js"),a=require("./index-b6ae861d.js"),l=require("./index-9ff56c77.js"),i=require("./theme-ebb891e6.js"),o=require("./useTranslations-1d0992cc.js"),r=require("./tslib.es6-2f75f708.js"),d=require("./utils-24e577aa.js"),c=require("styled-components"),s=require("./index-f1c3ae62.js"),m=require("./index-1d27876d.js");function u(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}require("./gAssets.js"),require("./isProduction-5b39233d.js"),require("./Locale-4f93f674.js"),require("./translationsContext-fcc59b03.js"),require("string-format");var p,f,g,x,h,v,b,y,w,E=u(n),k=u(c),N=k.default.footer(p||(p=r.__makeTemplateObject(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image-wrapper {\n flex-shrink: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 35%;\n justify-content: flex-end;\n "," {\n justify-content: flex-start;\n max-width: unset;\n }\n .copyright-image {\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image-wrapper {\n flex-shrink: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 35%;\n justify-content: flex-end;\n "," {\n justify-content: flex-start;\n max-width: unset;\n }\n .copyright-image {\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),d.MediaQueries.mbDown,d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbDown,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbUp,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),d.MediaQueries.mbDown,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),d.MediaQueries.mbUp),z=k.default.div(f||(f=r.__makeTemplateObject(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),j=function(n){var e=n.url,t=n.isMobile,a=n.dataEventCategory,l=n.dataEventAction,i=n.dataEventLabel,o=n.isAmp;return E.default.createElement(z,{"data-is-mobile":t},o?E.default.createElement("amp-img",{className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":i}):E.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":i}))},M=function(n){var r,d,c,s,m,u,p,f,g,x,h,v,b,y,w,k,z,M,T,F,_,C,Q,L,D,q,A,B,O,H,S=n.className,U=n.type,I=void 0===U?"main":U,G=n.footerInfo,P=n.isMobile,X=n.locale,V=n.isAmp,J=o.useTranslations().t,K=null==G?void 0:G.menu,R=(null===(d=null===(r=null==G?void 0:G.general)||void 0===r?void 0:r.verified)||void 0===d?void 0:d.filter(Boolean))||[];return E.default.createElement(N,{as:V&&"mini"===I?"div":"footer",className:S,style:"mini"===I?{backgroundColor:i.theme.colors.neutral50}:{},"next-page-hide":!0},E.default.createElement(t.Container,null,E.default.createElement("div",{className:"inner","data-type":I,"next-page-hide":""},"main"===I?E.default.createElement(E.default.Fragment,null,E.default.createElement("a",{href:"/"},V?(null===(s=null==G?void 0:G.general)||void 0===s?void 0:s.logo)?E.default.createElement("amp-img",{src:null===(m=null==G?void 0:G.general)||void 0===m?void 0:m.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:E.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(c=null==G?void 0:G.general)||void 0===c?void 0:c.logo,alt:"Logo","data-is-sehat":"id-ID"===X})),E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"newsletter"},E.default.createElement(a.Text,{size:"p1",type:"bold"},null===(u=null==G?void 0:G.general)||void 0===u?void 0:u.content),E.default.createElement(e.Button,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),E.default.createElement("div",{className:"social"},E.default.createElement(a.Text,{size:"sm",type:"regular"},null===(p=null==G?void 0:G.social)||void 0===p?void 0:p.title),E.default.createElement("div",{className:"icons"},null===(g=null===(f=null==G?void 0:G.social)||void 0===f?void 0:f.socials)||void 0===g?void 0:g.map((function(n,e){return E.default.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},V?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))),E.default.createElement("hr",{className:"hrMobile"}))),E.default.createElement("div",null,K&&E.default.createElement(E.default.Fragment,null,E.default.createElement("div",{className:"biglinks"},null===(h=null===(x=K[0])||void 0===x?void 0:x.items)||void 0===h?void 0:h.map((function(n,e){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(l.domainLocales[X]).concat(n.url),className:"bigLink",key:e,href:n.url},n.title)}))),E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(v=K[1])||void 0===v?void 0:v.menu_title),null===(y=null===(b=K[1])||void 0===b?void 0:b.items)||void 0===y?void 0:y.map((function(n,e){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(l.domainLocales[X]).concat(n.url),className:"link",href:n.url,key:e},E.default.createElement(a.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(l.domainLocales[X]).concat(n.url)},n.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=K[2])||void 0===w?void 0:w.menu_title),null===(z=null===(k=K[2])||void 0===k?void 0:k.items)||void 0===z?void 0:z.map((function(n,e){return n.url&&E.default.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url,className:"link",href:n.url,key:e},E.default.createElement(a.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))})))),!V&&E.default.createElement(E.default.Fragment,null,E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"otherSites"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==G?void 0:G.branch)||void 0===M?void 0:M.title),E.default.createElement("div",{className:"flags"},null===(F=null===(T=null==G?void 0:G.branch)||void 0===T?void 0:T.branch)||void 0===F?void 0:F.map((function(n,e){return E.default.createElement("a",{className:"link",href:n.url,key:e,"data-event-category":"Footer","data-event-action":n.name,"data-event-label":n.url},E.default.createElement(j,{url:n.flag,isMobile:P,dataEventCategory:"Footer",dataEventAction:n.name,dataEventLabel:n.url,isAmp:V}))}))))))),E.default.createElement("hr",null),E.default.createElement("div",{className:"copyright","data-is-amp":V||void 0},E.default.createElement("div",{className:"copyright-image-wrapper"},R.length?R.map((function(n,e){return E.default.createElement("a",{href:n.url,key:e,className:"copyright-image"},V?E.default.createElement("amp-img",{src:n.image,alt:"DMCA Icon",width:"100",height:"36"}):E.default.createElement("img",{loading:"lazy",src:n.image,alt:"DMCA Icon"}))})):null),E.default.createElement(a.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(_=null==G?void 0:G.general)||void 0===_?void 0:_.copyright)),"vi-VN"===X&&E.default.createElement(a.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")):E.default.createElement(E.default.Fragment,null,(null==G?void 0:G.menu)&&E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==G?void 0:G.menu[1])||void 0===C?void 0:C.menu_title),null===(L=null===(Q=null==G?void 0:G.menu[1])||void 0===Q?void 0:Q.items)||void 0===L?void 0:L.map((function(n){return E.default.createElement("a",{className:"link",href:n.url,key:n.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(l.domainLocales[X]).concat(n.url),"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(l.domainLocales[X]).concat(n.url)},E.default.createElement(a.Text,{dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(l.domainLocales[X]).concat(n.url),size:"sm",type:"regular",style:{color:i.theme.colors.gray800}},n.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(D=null==G?void 0:G.menu[2])||void 0===D?void 0:D.menu_title),null===(A=null===(q=null==G?void 0:G.menu[2])||void 0===q?void 0:q.items)||void 0===A?void 0:A.map((function(n,e){return E.default.createElement("a",{className:"link",href:n.url,key:e,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.url,"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url},E.default.createElement(a.Text,{size:"sm",type:"regular",style:{color:i.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))}))),!V&&"mini"!==I&&E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"newsletter"},E.default.createElement("div",{className:"social"},E.default.createElement(a.Text,{size:"sm",type:"regular"},null===(B=null==G?void 0:G.social)||void 0===B?void 0:B.title),E.default.createElement("div",{className:"icons"},null===(H=null===(O=null==G?void 0:G.social)||void 0===O?void 0:O.socials)||void 0===H?void 0:H.map((function(n,e){return E.default.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},V?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},T=k.default.footer(g||(g=r.__makeTemplateObject(["\n position: relative;\n overflow: hidden;\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n a {\n text-decoration: none;\n }\n a :hover {\n color: ",";\n }\n"],["\n position: relative;\n overflow: hidden;\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n a {\n text-decoration: none;\n }\n a :hover {\n color: ",";\n }\n"])),(function(n){return n.theme.mbColors.cobalt})),F=k.default.div(x||(x=r.__makeTemplateObject(["\n position: relative;\n padding: 80px 0 40px;\n margin: auto 68px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n border-bottom: 1px solid ",";\n\n "," {\n margin: auto 16px;\n flex-wrap: wrap;\n row-gap: 32px;\n column-gap: 16px;\n }\n\n "," {\n margin: auto 0;\n }\n"],["\n position: relative;\n padding: 80px 0 40px;\n margin: auto 68px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n border-bottom: 1px solid ",";\n\n "," {\n margin: auto 16px;\n flex-wrap: wrap;\n row-gap: 32px;\n column-gap: 16px;\n }\n\n "," {\n margin: auto 0;\n }\n"])),(function(n){return n.theme.colors.neutral200}),d.MediaQueries.tdDown,d.MediaQueries.mbDown),_=k.default.div(h||(h=r.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n\n "," {\n flex: 1 1 160px;\n }\n .title {\n padding-bottom: 4px;\n }\n"],["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n\n "," {\n flex: 1 1 160px;\n }\n .title {\n padding-bottom: 4px;\n }\n"])),d.MediaQueries.mbDown),C=k.default.div(v||(v=r.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n"],["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n"]))),Q=k.default.div(b||(b=r.__makeTemplateObject(["\n padding: 40px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n flex-direction: column;\n text-align: center;\n\n .content {\n max-width: 680px;\n width: 100%;\n }\n .social-link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 4px;\n\n img {\n width: 32px;\n height: 32px;\n }\n }\n\n "," {\n padding: 32px 0;\n }\n"],["\n padding: 40px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n flex-direction: column;\n text-align: center;\n\n .content {\n max-width: 680px;\n width: 100%;\n }\n .social-link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 4px;\n\n img {\n width: 32px;\n height: 32px;\n }\n }\n\n "," {\n padding: 32px 0;\n }\n"])),d.MediaQueries.mbDown),L=k.default.div(y||(y=r.__makeTemplateObject(["\n background-color: ",";\n padding: 16px 0;\n position: relative;\n\n img {\n width: 89px;\n height: 32px;\n }\n .content {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 174px;\n margin: auto 68px;\n\n "," {\n margin: auto 16px;\n }\n\n "," {\n flex-direction: column-reverse;\n gap: 16px;\n align-items: flex-start;\n margin: auto 0;\n }\n }\n\n .verify {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n"],["\n background-color: ",";\n padding: 16px 0;\n position: relative;\n\n img {\n width: 89px;\n height: 32px;\n }\n .content {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 174px;\n margin: auto 68px;\n\n "," {\n margin: auto 16px;\n }\n\n "," {\n flex-direction: column-reverse;\n gap: 16px;\n align-items: flex-start;\n margin: auto 0;\n }\n }\n\n .verify {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n"])),(function(n){return n.theme.mbColors.dark}),d.MediaQueries.tdDown,d.MediaQueries.mbDown),D=k.default.div(w||(w=r.__makeTemplateObject(["\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: ",";\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n\n "," {\n &:before {\n width: 100%;\n }\n }\n"],["\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: ",";\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n\n "," {\n &:before {\n width: 100%;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),d.MediaQueries.mbDown),q=function(n){var e,a=n.logoType,l=void 0===a?"marryBaby":a,o=n.footerMenu,r=n.background;if(!o)return null;var d=o.general,c=o.menu,u=o.socials;return E.default.createElement(T,{style:{backgroundColor:r||"none"}},E.default.createElement(D,null,E.default.createElement(t.Container,null,E.default.createElement(F,null,null==c?void 0:c.map((function(n,e){var t=n.menu_title,a=n.items;return E.default.createElement(_,{key:"mbf".concat(e)},E.default.createElement(m.MarryBabyText,{className:"title",type:"subtitle-1",color:i.theme.mbColors.pink},t),null==a?void 0:a.map((function(n,e){var t=n.title,a=n.url;return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(a),className:"link",href:a,key:"footer-links-".concat(e)},E.default.createElement(C,{key:"mbitem".concat(e)},E.default.createElement(m.MarryBabyText,{type:"bodytext-2",color:i.theme.mbColors.gray},t)))})))})))),E.default.createElement(t.Container,null,E.default.createElement(Q,null,E.default.createElement(s.Logo,{className:"logo",type:l}),E.default.createElement("div",{className:"content"},E.default.createElement(m.MarryBabyText,{type:"bodytext-2",color:i.theme.mbColors.gray},null==d?void 0:d.content)),E.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((function(n,e){var t=n.icon,a=n.name,l=n.url;return E.default.createElement("a",{key:"social".concat(e),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(a),"data-content-label":a,href:l},E.default.createElement("img",{loading:"lazy",src:t,alt:a}))}))))),E.default.createElement(L,null,E.default.createElement(t.Container,null,E.default.createElement("div",{className:"content"},E.default.createElement(m.MarryBabyText,{type:"bodytext-3",color:i.theme.colors.white},null==d?void 0:d.copyright),E.default.createElement("div",{className:"verify"},null===(e=null==d?void 0:d.verified)||void 0===e?void 0:e.map((function(n,e){var t=n.image,a=n.url;return E.default.createElement("img",{loading:"lazy",key:"imgMbFt".concat(e),src:t,alt:a})}))))))))};exports.Footer=function(n){var e=n.type,t=n.isMobile,a=void 0===t||t,l=n.locale,i=n.footerInfo,o=n.isAmp,r=n.siteType,d=n.background;return"helloSites"===r?E.default.createElement(M,{isAmp:o,isMobile:a,type:e,locale:l,footerInfo:i||{}}):E.default.createElement(q,{footerMenu:i,background:d})};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("react"),e=require("./index-d632029d.js"),t=require("./index-2657dba3.js"),a=require("./index-f50d4c63.js"),l=require("./index-5830eec7.js"),i=require("./theme-b4bf0ca3.js"),o=require("./useTranslations-00120db0.js"),r=require("./tslib.es6-e6f346c4.js"),d=require("./utils-43f2c752.js"),c=require("styled-components"),s=require("./index-10ede9ab.js"),m=require("./index-7d3b086d.js");function u(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}require("./gAssets.js"),require("./isProduction-32e6a55a.js"),require("./Locale-11b51016.js"),require("./translationsContext-9e231a88.js"),require("string-format");var p,f,g,x,h,v,b,y,w,E=u(n),k=u(c),N=k.default.footer(p||(p=r.__makeTemplateObject(["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image-wrapper {\n flex-shrink: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 35%;\n justify-content: flex-end;\n "," {\n justify-content: flex-start;\n max-width: unset;\n }\n .copyright-image {\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"],["\n background-color: #1b3250;\n\n .inner {\n padding: 64px 24px 98px 24px;\n "," {\n padding: 64px 0;\n }\n margin: 0 auto;\n //max-width: 1168px;\n\n &[data-type='mini'] {\n padding: 24px 0;\n }\n }\n\n .footer-logo {\n max-width: 132px;\n max-height: 32px;\n margin-bottom: 24px;\n &[data-is-sehat='true'] {\n max-width: 250px;\n }\n\n img {\n object-fit: contain;\n }\n }\n\n .social {\n margin-top: 24px;\n\n "," {\n margin-top: 32px;\n p {\n font-size: 13px;\n }\n }\n\n "," {\n p {\n font-size: 12px;\n }\n }\n\n p {\n color: ",";\n }\n }\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n\n .social-icon {\n width: 32px;\n height: 32px;\n }\n }\n\n .newsletter {\n > p {\n color: ",";\n\n font-size: 14px;\n line-height: 22px;\n\n "," {\n max-width: 380px;\n line-height: 28.5px;\n }\n }\n }\n\n hr {\n height: 1px;\n border: none;\n margin: 16px 0 16px 0;\n "," {\n margin-top: 0px;\n }\n background: ",";\n opacity: 0.1;\n outline: none;\n }\n\n .hrMobile {\n "," {\n display: none;\n }\n }\n\n .copyright {\n padding-top: 8px;\n\n "," {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: space-between;\n }\n\n .copyright-content {\n width: 90%;\n color: ",";\n font-size: 12px;\n }\n\n .copyright-image-wrapper {\n flex-shrink: 0;\n flex-wrap: wrap;\n display: flex;\n max-width: 35%;\n justify-content: flex-end;\n "," {\n justify-content: flex-start;\n max-width: unset;\n }\n .copyright-image {\n &:not(:last-child) {\n margin-right: 0.5rem;\n }\n align-self: flex-start;\n\n img {\n max-width: 100px;\n margin-bottom: 16px;\n }\n }\n }\n\n &[data-is-amp='true'] {\n img {\n margin-bottom: 0;\n }\n }\n }\n\n .copyright-certificate {\n color: ",";\n "," {\n font-size: 11px;\n }\n "," {\n font-size: 12px;\n }\n }\n\n .biglinks {\n margin-bottom: 12px;\n }\n\n .bigLink {\n display: block;\n color: ",";\n font-size: 14px;\n font-weight: ",";\n text-decoration: none;\n word-break: break-word;\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n\n "," {\n display: inline-block;\n width: 50%;\n font-size: 16px;\n }\n }\n\n .mHalf {\n display: inline-block;\n width: 50%;\n padding-right: 24px;\n margin-bottom: 24px;\n vertical-align: top;\n\n p {\n color: ",";\n\n "," {\n margin-bottom: 8px;\n font-size: 13px;\n line-height: 20px;\n }\n "," {\n margin-bottom: 12px;\n font-size: 14px;\n }\n }\n }\n\n .otherSites {\n p {\n margin-bottom: 12px;\n color: ",";\n font-size: 12px;\n "," {\n font-size: 13px;\n }\n "," {\n font-size: 13px;\n }\n }\n\n .flags {\n display: flex;\n margin-bottom: 8px;\n\n div {\n margin-right: 10px;\n }\n }\n }\n\n .link {\n display: block;\n text-decoration: none;\n\n p {\n color: ",";\n font-weight: ",";\n word-break: break-word;\n }\n\n &:not(:last-child) {\n margin-bottom: 12px;\n }\n }\n\n .columns {\n "," {\n display: flex;\n flex-direction: row;\n width: 100%;\n\n > div:nth-child(1) {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n flex-basis: 40%;\n }\n\n > div:nth-child(2) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n flex-basis: 60%;\n\n > div:nth-child(1) {\n flex-basis: 45%;\n }\n\n > div:not(:last-child) {\n flex-basis: 27.5%;\n }\n\n > div:last-child() {\n flex-basis: 0;\n }\n }\n }\n }\n\n .signupButton {\n display: none;\n border: none;\n margin-top: 16px;\n outline: none;\n text-transform: uppercase;\n }\n"])),d.MediaQueries.mbDown,d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbDown,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbUp,d.MediaQueries.mbUp,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),d.MediaQueries.mbDown,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.neutral500}),d.MediaQueries.mbDown,d.MediaQueries.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),d.MediaQueries.mbUp),z=k.default.div(f||(f=r.__makeTemplateObject(["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"],["\n width: 32px;\n height: 32px;\n margin-right: 10px;\n\n &[data-is-mobile='true'] {\n width: 24px;\n height: 24px;\n }\n\n .country-flag {\n width: 100%;\n height: 100%;\n }\n"]))),j=function(n){var e=n.url,t=n.isMobile,a=n.dataEventCategory,l=n.dataEventAction,i=n.dataEventLabel,o=n.isAmp;return E.default.createElement(z,{"data-is-mobile":t},o?E.default.createElement("amp-img",{className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":i}):E.default.createElement("img",{loading:"lazy",className:"country-flag",src:e,alt:"Country Flag","data-event-category":a,"data-event-action":l,"data-content-label":i}))},M=function(n){var r,d,c,s,m,u,p,f,g,x,h,v,b,y,w,k,z,M,T,F,_,C,Q,L,D,q,A,B,O,H,S=n.className,U=n.type,I=void 0===U?"main":U,G=n.footerInfo,P=n.isMobile,X=n.locale,V=n.isAmp,J=o.useTranslations().t,K=null==G?void 0:G.menu,R=(null===(d=null===(r=null==G?void 0:G.general)||void 0===r?void 0:r.verified)||void 0===d?void 0:d.filter(Boolean))||[];return E.default.createElement(N,{as:V&&"mini"===I?"div":"footer",className:S,style:"mini"===I?{backgroundColor:i.theme.colors.neutral50}:{},"next-page-hide":!0},E.default.createElement(t.Container,null,E.default.createElement("div",{className:"inner","data-type":I,"next-page-hide":""},"main"===I?E.default.createElement(E.default.Fragment,null,E.default.createElement("a",{href:"/"},V?(null===(s=null==G?void 0:G.general)||void 0===s?void 0:s.logo)?E.default.createElement("amp-img",{src:null===(m=null==G?void 0:G.general)||void 0===m?void 0:m.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:E.default.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(c=null==G?void 0:G.general)||void 0===c?void 0:c.logo,alt:"Logo","data-is-sehat":"id-ID"===X})),E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"newsletter"},E.default.createElement(a.Text,{size:"p1",type:"bold"},null===(u=null==G?void 0:G.general)||void 0===u?void 0:u.content),E.default.createElement(e.Button,{className:"signupButton",color:"primary",size:"lg"},J("footer.signUp")),E.default.createElement("div",{className:"social"},E.default.createElement(a.Text,{size:"sm",type:"regular"},null===(p=null==G?void 0:G.social)||void 0===p?void 0:p.title),E.default.createElement("div",{className:"icons"},null===(g=null===(f=null==G?void 0:G.social)||void 0===f?void 0:f.socials)||void 0===g?void 0:g.map((function(n,e){return E.default.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},V?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",className:"social-icon"}))}))),E.default.createElement("hr",{className:"hrMobile"}))),E.default.createElement("div",null,K&&E.default.createElement(E.default.Fragment,null,E.default.createElement("div",{className:"biglinks"},null===(h=null===(x=K[0])||void 0===x?void 0:x.items)||void 0===h?void 0:h.map((function(n,e){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(l.domainLocales[X]).concat(n.url),className:"bigLink",key:e,href:n.url},n.title)}))),E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(v=K[1])||void 0===v?void 0:v.menu_title),null===(y=null===(b=K[1])||void 0===b?void 0:b.items)||void 0===y?void 0:y.map((function(n,e){return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(l.domainLocales[X]).concat(n.url),className:"link",href:n.url,key:e},E.default.createElement(a.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(l.domainLocales[X]).concat(n.url)},n.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(w=K[2])||void 0===w?void 0:w.menu_title),null===(z=null===(k=K[2])||void 0===k?void 0:k.items)||void 0===z?void 0:z.map((function(n,e){return n.url&&E.default.createElement("a",{"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url,className:"link",href:n.url,key:e},E.default.createElement(a.Text,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))})))),!V&&E.default.createElement(E.default.Fragment,null,E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"otherSites"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(M=null==G?void 0:G.branch)||void 0===M?void 0:M.title),E.default.createElement("div",{className:"flags"},null===(F=null===(T=null==G?void 0:G.branch)||void 0===T?void 0:T.branch)||void 0===F?void 0:F.map((function(n,e){return E.default.createElement("a",{className:"link",href:n.url,key:e,"data-event-category":"Footer","data-event-action":n.name,"data-event-label":n.url},E.default.createElement(j,{url:n.flag,isMobile:P,dataEventCategory:"Footer",dataEventAction:n.name,dataEventLabel:n.url,isAmp:V}))}))))))),E.default.createElement("hr",null),E.default.createElement("div",{className:"copyright","data-is-amp":V||void 0},E.default.createElement("div",{className:"copyright-image-wrapper"},R.length?R.map((function(n,e){return E.default.createElement("a",{href:n.url,key:e,className:"copyright-image"},V?E.default.createElement("amp-img",{src:n.image,alt:"DMCA Icon",width:"100",height:"36"}):E.default.createElement("img",{loading:"lazy",src:n.image,alt:"DMCA Icon"}))})):null),E.default.createElement(a.Text,{size:"xs",type:"regular",className:"copyright-content"},null===(_=null==G?void 0:G.general)||void 0===_?void 0:_.copyright)),"vi-VN"===X&&E.default.createElement(a.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")):E.default.createElement(E.default.Fragment,null,(null==G?void 0:G.menu)&&E.default.createElement("div",{className:"columns"},E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(C=null==G?void 0:G.menu[1])||void 0===C?void 0:C.menu_title),null===(L=null===(Q=null==G?void 0:G.menu[1])||void 0===Q?void 0:Q.items)||void 0===L?void 0:L.map((function(n){return E.default.createElement("a",{className:"link",href:n.url,key:n.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":n.title,"data-content-id":"https://".concat(l.domainLocales[X]).concat(n.url),"data-event-category":"Footer","data-event-action":n.title,"data-event-label":"https://".concat(l.domainLocales[X]).concat(n.url)},E.default.createElement(a.Text,{dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:"https://".concat(l.domainLocales[X]).concat(n.url),size:"sm",type:"regular",style:{color:i.theme.colors.gray800}},n.title))}))),E.default.createElement("div",{className:"mHalf"},E.default.createElement(a.Text,{type:"regular",size:"sm",className:"linkTitle"},null===(D=null==G?void 0:G.menu[2])||void 0===D?void 0:D.menu_title),null===(A=null===(q=null==G?void 0:G.menu[2])||void 0===q?void 0:q.items)||void 0===A?void 0:A.map((function(n,e){return E.default.createElement("a",{className:"link",href:n.url,key:e,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":n.title,"data-content-id":n.url,"data-event-category":"Footer","data-event-action":n.title,"data-event-label":n.url},E.default.createElement(a.Text,{size:"sm",type:"regular",style:{color:i.theme.colors.gray800},dataEventCategory:"Footer",dataEventAction:n.title,dataEventLabel:n.url},n.title))}))),!V&&"mini"!==I&&E.default.createElement("hr",{className:"hrMobile"}),E.default.createElement("div",{className:"newsletter"},E.default.createElement("div",{className:"social"},E.default.createElement(a.Text,{size:"sm",type:"regular"},null===(B=null==G?void 0:G.social)||void 0===B?void 0:B.title),E.default.createElement("div",{className:"icons"},null===(H=null===(O=null==G?void 0:G.social)||void 0===O?void 0:O.socials)||void 0===H?void 0:H.map((function(n,e){return E.default.createElement("a",{key:e,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,href:n.url},V?E.default.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",width:"32",height:"32"}):E.default.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(n.name),"data-content-label":n.url,src:n.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},T=k.default.footer(g||(g=r.__makeTemplateObject(["\n position: relative;\n overflow: hidden;\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n a {\n text-decoration: none;\n }\n a :hover {\n color: ",";\n }\n"],["\n position: relative;\n overflow: hidden;\n\n .icons {\n margin-top: 12px;\n margin-bottom: 20px;\n > a:not(:last-child) {\n margin-right: 16px;\n }\n }\n\n a {\n text-decoration: none;\n }\n a :hover {\n color: ",";\n }\n"])),(function(n){return n.theme.mbColors.cobalt})),F=k.default.div(x||(x=r.__makeTemplateObject(["\n position: relative;\n padding: 80px 0 40px;\n margin: auto 68px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n border-bottom: 1px solid ",";\n\n "," {\n margin: auto 16px;\n flex-wrap: wrap;\n row-gap: 32px;\n column-gap: 16px;\n }\n\n "," {\n margin: auto 0;\n }\n"],["\n position: relative;\n padding: 80px 0 40px;\n margin: auto 68px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n border-bottom: 1px solid ",";\n\n "," {\n margin: auto 16px;\n flex-wrap: wrap;\n row-gap: 32px;\n column-gap: 16px;\n }\n\n "," {\n margin: auto 0;\n }\n"])),(function(n){return n.theme.colors.neutral200}),d.MediaQueries.tdDown,d.MediaQueries.mbDown),_=k.default.div(h||(h=r.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n\n "," {\n flex: 1 1 160px;\n }\n .title {\n padding-bottom: 4px;\n }\n"],["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n\n "," {\n flex: 1 1 160px;\n }\n .title {\n padding-bottom: 4px;\n }\n"])),d.MediaQueries.mbDown),C=k.default.div(v||(v=r.__makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n"],["\n display: flex;\n justify-content: space-between;\n gap: 12px;\n flex-direction: column;\n"]))),Q=k.default.div(b||(b=r.__makeTemplateObject(["\n padding: 40px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n flex-direction: column;\n text-align: center;\n\n .content {\n max-width: 680px;\n width: 100%;\n }\n .social-link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 4px;\n\n img {\n width: 32px;\n height: 32px;\n }\n }\n\n "," {\n padding: 32px 0;\n }\n"],["\n padding: 40px 0;\n position: relative;\n\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n flex-direction: column;\n text-align: center;\n\n .content {\n max-width: 680px;\n width: 100%;\n }\n .social-link {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 4px;\n\n img {\n width: 32px;\n height: 32px;\n }\n }\n\n "," {\n padding: 32px 0;\n }\n"])),d.MediaQueries.mbDown),L=k.default.div(y||(y=r.__makeTemplateObject(["\n background-color: ",";\n padding: 16px 0;\n position: relative;\n\n img {\n width: 89px;\n height: 32px;\n }\n .content {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 174px;\n margin: auto 68px;\n\n "," {\n margin: auto 16px;\n }\n\n "," {\n flex-direction: column-reverse;\n gap: 16px;\n align-items: flex-start;\n margin: auto 0;\n }\n }\n\n .verify {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n"],["\n background-color: ",";\n padding: 16px 0;\n position: relative;\n\n img {\n width: 89px;\n height: 32px;\n }\n .content {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 174px;\n margin: auto 68px;\n\n "," {\n margin: auto 16px;\n }\n\n "," {\n flex-direction: column-reverse;\n gap: 16px;\n align-items: flex-start;\n margin: auto 0;\n }\n }\n\n .verify {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n"])),(function(n){return n.theme.mbColors.dark}),d.MediaQueries.tdDown,d.MediaQueries.mbDown),D=k.default.div(w||(w=r.__makeTemplateObject(["\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: ",";\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n\n "," {\n &:before {\n width: 100%;\n }\n }\n"],["\n overflow: hidden;\n &:before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: 150%;\n height: 100%;\n background-color: ",";\n border-radius: 2150px 2150px 0 0 / 200px 200px 0 0;\n content: '';\n transform: translateX(-50%);\n }\n\n "," {\n &:before {\n width: 100%;\n }\n }\n"])),(function(n){return n.theme.mbColors.lightGray}),d.MediaQueries.mbDown),q=function(n){var e,a=n.logoType,l=void 0===a?"marryBaby":a,o=n.footerMenu,r=n.background;if(!o)return null;var d=o.general,c=o.menu,u=o.socials;return E.default.createElement(T,{style:{backgroundColor:r||"none"}},E.default.createElement(D,null,E.default.createElement(t.Container,null,E.default.createElement(F,null,null==c?void 0:c.map((function(n,e){var t=n.menu_title,a=n.items;return E.default.createElement(_,{key:"mbf".concat(e)},E.default.createElement(m.MarryBabyText,{className:"title",type:"subtitle-1",color:i.theme.mbColors.pink},t),null==a?void 0:a.map((function(n,e){var t=n.title,a=n.url;return E.default.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(a),className:"link",href:a,key:"footer-links-".concat(e)},E.default.createElement(C,{key:"mbitem".concat(e)},E.default.createElement(m.MarryBabyText,{type:"bodytext-2",color:i.theme.mbColors.gray},t)))})))})))),E.default.createElement(t.Container,null,E.default.createElement(Q,null,E.default.createElement(s.Logo,{className:"logo",type:l}),E.default.createElement("div",{className:"content"},E.default.createElement(m.MarryBabyText,{type:"bodytext-2",color:i.theme.mbColors.gray},null==d?void 0:d.content)),E.default.createElement("div",{className:"social-link"},null==u?void 0:u.map((function(n,e){var t=n.icon,a=n.name,l=n.url;return E.default.createElement("a",{key:"social".concat(e),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(a),"data-content-label":a,href:l},E.default.createElement("img",{loading:"lazy",src:t,alt:a}))}))))),E.default.createElement(L,null,E.default.createElement(t.Container,null,E.default.createElement("div",{className:"content"},E.default.createElement(m.MarryBabyText,{type:"bodytext-3",color:i.theme.colors.white},null==d?void 0:d.copyright),E.default.createElement("div",{className:"verify"},null===(e=null==d?void 0:d.verified)||void 0===e?void 0:e.map((function(n,e){var t=n.image,a=n.url;return E.default.createElement("img",{loading:"lazy",key:"imgMbFt".concat(e),src:t,alt:a})}))))))))};exports.Footer=function(n){var e=n.type,t=n.isMobile,a=void 0===t||t,l=n.locale,i=n.footerInfo,o=n.isAmp,r=n.siteType,d=n.background;return"helloSites"===r?E.default.createElement(M,{isAmp:o,isMobile:a,type:e,locale:l,footerInfo:i||{}}):E.default.createElement(q,{footerMenu:i,background:d})};
|
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-5830eec7.js"),t=require("./isProduction-32e6a55a.js");require("./Locale-11b51016.js");var o="hellosehat.com",s=function(){function e(){var e=this;this.baseDomain="",this.subPath="",this.getAssetPath=function(o,s,n){var i="https://hhg-common."+[s||e.getBaseDomain(),n||e.subPath,o].join("/");return t.isProduction||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}return e.prototype.getBaseDomain=function(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){var e=window.location.host.split("."),t=e.slice(e.length-2),s=t.join(".");return s.includes("localhost")||s.includes("hellohealthgroup")||t.every((function(e){return t=e,!isNaN(parseFloat(t))&&isFinite(t);var t}))?o:t.join(".")}return o},e}(),n=new s;n.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(n.baseDomain=e.domainLocales[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]),exports.CommonGAssets=n,exports.GAssets=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("./tslib.es6-
|
|
1
|
+
"use strict";var t=require("./tslib.es6-e6f346c4.js"),e=require("./core-27ea44f3.js"),n=require("./routing-99cb7fb3.js"),r=function(t,e){var n,r;if(!t)return{};var i="tl-PH"===e?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(n=t.link)||void 0===n?void 0:n.startsWith("http"))?t.link:"".concat(i,"/health-tools")+(null===(r=t.link)||void 0===r?void 0:r.replace("".concat(i,"/"),"/")),subtitle:t.subtitle,title:t.title}},i=function(e){return t.__awaiter(void 0,void 0,void 0,(function(){var i,o,a,l,u,s,c;return t.__generator(this,(function(t){switch(t.label){case 0:return t.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(i=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:i=t.sent(),t.label=3;case 3:o="tl-PH"===e?"lang=fil":"",a=[],t.label=4;case 4:return t.trys.push([4,6,,7]),[4,i("".concat(n.getDiscoverApiDomain(e),"/wp-json/api/healthtools?ismenu=0").concat(o?"&"+o:"")).then((function(t){return t.json()}))];case 5:return l=t.sent(),a=(null===(c=null===(s=null==l?void 0:l.data)||void 0===s?void 0:s.map)||void 0===c?void 0:c.call(s,(function(t){return r(t,e)})))||[],[3,7];case 6:return t.sent(),[3,7];case 7:return[2,a];case 8:return u=t.sent(),console.error(u),[3,9];case 9:return[2]}}))}))};exports.formatHealthTool=r,exports.getDynamicHealthTool=i,exports.getDynamicHealthToolWithCache=function(n){return t.__awaiter(void 0,void 0,void 0,(function(){return t.__generator(this,(function(t){switch(t.label){case 0:return[4,e.getDataWithCache("all-health-tools",(function(){return i(n||"en-PH")}),(function(t){return!!(null==t?void 0:t.length)}),6e4)];case 1:return[2,t.sent()||[]]}}))}))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./Locale-4f93f674.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=function(e){return[{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=".concat(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=".concat(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=".concat(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=".concat(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=".concat(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/?".concat(e),allowedLocales:[t.LOCALE.Taiwan]}]};
|
|
1
|
+
"use strict";var e=require("react"),t=require("./Locale-11b51016.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=function(e){return[{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=".concat(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=".concat(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=".concat(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=".concat(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=".concat(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/?".concat(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-00120db0.js"),r=require("./useScrollbarSize-586f6706.js"),s=require("./useFbDataLayer-dbcf5c0c.js"),a=require("./useHealthToolCache-99b7a2a8.js");require("react"),require("./translationsContext-9e231a88.js"),require("string-format"),require("lodash/debounce"),require("./tslib.es6-e6f346c4.js"),require("./cookieHelper-3553173d.js"),require("./getDynamicHealthTool-5794ef69.js"),require("./core-27ea44f3.js"),require("./isProduction-32e6a55a.js"),require("./routing-99cb7fb3.js"),require("./index-5830eec7.js"),require("./Locale-11b51016.js"),exports.useTranslations=e.useTranslations,exports.MEASURE_ELEMENT_CLASS=r.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=r.useScrollbarSize,exports.useFbDataLayer=s.useFbDataLayer,exports.useHealthToolsCache=a.useHealthToolsCache;
|
package/build/i18n.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./translationsProvider-e8f5d92d.js"),r=require("./translationsContext-9e231a88.js");require("./tslib.es6-e6f346c4.js"),require("react"),exports.TranslationsProvider=e.TranslationsProvider,exports.translationsMap=e.translationsMap,exports.TranslationsContext=r.TranslationsContext,exports.defaultTranslations=r.defaultTranslations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index-2657dba3.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(e);exports.Logo=function(s){var o=s.type,n=s.className,r=s.style,i=s.isLightLogo,m=s.customSize,g=s.badge,u=s.locale,c=s.dateForSeasonal,d=s.isPro,f=e.useMemo((function(){if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return l.default.createElement(t.StyledLogo,{className:n,style:r,"data-logo-is-light":i||void 0,"data-has-badge":!!g,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,l.default.createElement(t.LogoIcon,{type:o,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?l.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,g)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-e6f346c4.js"),t=require("react"),a=require("@mantine/core"),r=require("@mantine/hooks"),n=require("./Locale-11b51016.js"),s=require("./gAssets.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o,u=i(t),l=a.createEmotionCache({key:"mantine",prepend:!1}),c=((o={})[n.LOCALE.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},o[n.LOCALE.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},o[n.LOCALE.India]={dateFormat:"DD/MM/YYYY",separator:"."},o[n.LOCALE.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},o[n.LOCALE.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},o[n.LOCALE.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},o[n.LOCALE.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},o[n.LOCALE.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},o[n.LOCALE.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},o[n.LOCALE.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},o),m=s.CommonGAssets.getAssetPath("EyeVisible.svg"),d=s.CommonGAssets.getAssetPath("EyeHidden.svg"),Y=t.forwardRef((function(t,r){var n=t.size,s=void 0===n?"md":n,i=t.visibilityToggleIcon,o=t.styles,l=e.__rest(t,["size","visibilityToggleIcon","styles"]),c=i||function(e){var t=e.reveal,a=e.size;return t?u.default.createElement("img",{src:m,width:a}):u.default.createElement("img",{src:d,width:a})};return u.default.createElement(a.PasswordInput,e.__assign({ref:r,size:s,visibilityToggleIcon:c,styles:e.__assign({rightSection:{pointerEvents:"initial"}},o)},l))})),f=function(n){var s=n.value,i=n.onChange,o=e.__rest(n,["value","onChange"]),l=t.useState(s||""),c=l[0],m=l[1],d=r.useDebouncedValue(c,300)[0];return t.useEffect((function(){null==i||i(d)}),[d]),t.useEffect((function(){m(s)}),[s]),u.default.createElement(a.TextInput,e.__assign({size:"md",onChange:function(e){return m(e.currentTarget.value)},value:c},o))};f.File=function(t){return u.default.createElement(a.FileInput,e.__assign({size:"md"},t))},f.Password=Y,f.Number=function(n){var s=n.value,i=n.onChange,o=e.__rest(n,["value","onChange"]),l=t.useState(s||0),c=l[0],m=l[1],d=r.useDebouncedValue(c,300)[0];return t.useEffect((function(){null==i||i(d)}),[d]),t.useEffect((function(){m(s)}),[s]),u.default.createElement(a.NumberInput,e.__assign({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:m,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?"":e||""},removeTrailingZeros:!0,value:c},o))},exports.DEBOUNCED_TIME=300,exports.ISO_FORMAT=c,exports.Input=f,exports.emotionCache=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("./tslib.es6-
|
|
1
|
+
"use strict";var n=require("./tslib.es6-e6f346c4.js"),e=require("./utils-43f2c752.js"),t=require("styled-components"),o=require("react"),a=require("./gAssets.js"),s=require("./Locale-11b51016.js");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var l,r,h,g=i(t),p=i(o),m=g.default.div(l||(l=n.__makeTemplateObject(["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img,\n amp-image {\n margin-left: 0.25rem;\n }\n }\n }\n\n .amp-logo img {\n object-fit: contain;\n }\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"],["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img,\n amp-image {\n margin-left: 0.25rem;\n }\n }\n }\n\n .amp-logo img {\n object-fit: contain;\n }\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"])),e.MediaQueries.mbDown),d=g.default.img(r||(r=n.__makeTemplateObject(["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"],["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"]))),c=o.memo((function(n){var e=n.type,t=n.width,s=n.height,i=o.useMemo((function(){switch(e){case"hellobacsi":return{width:t||"107px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellobacsi.png")};case"hellodoktor":return{width:t||"127px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:t||"121px",height:s||"27px",src:a.CommonGAssets.getAssetPath("logo/hellosehat.png")};case"hellohealth":return{width:t||"123px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:t||"150px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:t||"99px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:t||"127px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:t||"101px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:t||"111px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:t||"89px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:t||"123px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:t||"105px",height:s||"24px",src:a.CommonGAssets.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:t||"60px",height:s||"57px",src:a.CommonGAssets.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:t||"145px",height:s||"28px",src:a.CommonGAssets.getAssetPath("logo/marrybaby.png")};default:return null}}),[e,t,s])||{},l=i.src,r=i.width,h=i.height;return p.default.createElement("img",{className:"main-logo-icon",src:l,style:{width:r,height:h}})})),x={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},u=[s.LOCALE.Vietnam,s.LOCALE.Taiwan,s.LOCALE.Indonesia,s.LOCALE.Malaysia],f=g.default.div(h||(h=n.__makeTemplateObject(["\n width: 100%;\n margin: 0 auto;\n "," {\n padding: 0 16px;\n }\n "," {\n max-width: 1170px;\n &[data-type='marryBaby'] {\n max-width: 1064px;\n }\n }\n"],["\n width: 100%;\n margin: 0 auto;\n "," {\n padding: 0 16px;\n }\n "," {\n max-width: 1170px;\n &[data-type='marryBaby'] {\n max-width: 1064px;\n }\n }\n"])),e.MediaQueries.mbDown,e.MediaQueries.tdUp);exports.Container=function(n){var e=n.children,t=n.className,o=n.style,a=n.type;return p.default.createElement(f,{className:t,style:o,"data-type":a},e)},exports.LogoIcon=c,exports.LunarNewYearLocale=u,exports.StyledLogo=m,exports.StyledProLogo=d,exports.isChristmas=function(n){var e=n.getDate();return 11===n.getMonth()&&e>=16&&e<=25},exports.isLunarNewYear=function(n){var e=n.getFullYear(),t=x[e];if(!t)return!1;var o=new Date(e,t[1],t[0]),a=new Date(o);a.setDate(o.getDate()-7);var s=new Date(o);return s.setDate(o.getDate()+5),a<=n&&n<=s},exports.isNewYear=function(n){var e=n.getDate(),t=n.getMonth();return 11===t&&e>=26||0===t&&e<=15};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var n=require("./tslib.es6-e6f346c4.js"),e=require("styled-components"),t=require("react"),a=require("./theme-b4bf0ca3.js"),i=require("./utils-43f2c752.js");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var o,d,s=r(e),h=r(t),c=s.default.div(o||(o=n.__makeTemplateObject(["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"],["\n background-color: var(--background-color, transparent);\n color: white;\n cursor: pointer;\n img {\n --width: var(--width-prop, 40px);\n --height: var(--height-prop, 40px);\n width: var(--width);\n height: var(--height);\n }\n &[data-has-max='true'] {\n img {\n max-width: var(--width);\n max-height: var(--height);\n }\n }\n\n &[data-avatar-type='square'] {\n img {\n --width: var(--width-prop, 72px);\n --height: var(--height-prop, 72px);\n border-radius: 6px;\n }\n }\n\n &[data-avatar-type='rounded'] {\n img {\n border-radius: 50%;\n }\n }\n\n &[data-is-amp='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: 20px;\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n\n &[data-custom-size='true'] {\n display: flex;\n overflow: hidden;\n overflow: hidden;\n width: var(--size);\n height: var(--size);\n align-items: center;\n justify-content: center;\n background-size: cover;\n font-size: calc(var(--size) / 2);\n font-weight: bold;\n &[data-avatar-type='square'] {\n border-radius: 6px;\n }\n &[data-avatar-type='rounded'] {\n border-radius: 50%;\n img {\n --width: 100%;\n --height: 100%;\n }\n }\n img {\n object-fit: cover;\n }\n }\n"]))),p=s.default.div(d||(d=n.__makeTemplateObject(["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"],["\n color: ",";\n ","\n ","\n\n /* Base headings sizes and properties */\n &[data-tag] {\n color: var(--custom-heading-color, #262626);\n }\n"])),(function(n){return n.theme.colors.gray800}),(function(n){return function(n){switch(n){case"h1":return"\n font-size: 26px;\n letter-spacing: -0.9px;\n line-height: 34px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 40px;\n line-height: 52px;\n letter-spacing: -1.2px;\n }\n ");case"h2":return"\n font-size: 24px;\n letter-spacing: -0.8px;\n line-height: 32px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 32px;\n line-height: 42px;\n letter-spacing: -1px;\n }\n ");case"h3":return"\n font-size: 20px;\n letter-spacing: -0.7px;\n line-height: 26px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 26px;\n line-height: 36px;\n letter-spacing: -0.8px;\n }\n ");case"h4":return"\n font-size: 18px;\n letter-spacing: -0.6px;\n line-height: 26px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 22px;\n line-height: 32px;\n letter-spacing: -0.6px;\n }\n ");case"h5":return"\n font-size: 16px;\n letter-spacing: -0.2px;\n line-height: 24px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 18px;\n line-height: 28px;\n letter-spacing: -0.2px;\n }\n ");case"h6":return"\n font-size: 14px;\n line-height: 22px;\n ".concat(i.MediaQueries.tdUp," {\n font-size: 16px;\n line-height: 24px;\n letter-spacing: 0;\n }\n ")}}(n.headingTag)}),(function(n){return function(n){switch(n){case"bold":return"\n font-weight: ".concat(a.theme.sizes.fwBold,";\n ");case"semibold":return"\n font-weight: ".concat(a.theme.sizes.fwSemiBold,";\n ");default:return"\n font-weight: ".concat(a.theme.sizes.fwBold,";\n ")}}(n.headingFontWeight)}));exports.Heading=function(e){var t,a=e.as,i=e.tag,r=e.className,o=e.children,d=e.title,s=e.color,c=e.style,g=e.fontWeight,l=e.dataEventCategory,u=e.dataEventAction,v=e.dataEventLabel,f=n.__rest(e,["as","tag","className","children","title","color","style","fontWeight","dataEventCategory","dataEventAction","dataEventLabel"]),x=a||i;return h.default.createElement(p,n.__assign({title:d,style:n.__assign(n.__assign({},s?(t={},t["--custom-heading-color"]=s,t):void 0),c),"data-tag":i,"data-font-weight":g||void 0,"data-event-category":l,"data-event-action":u,"data-event-label":v,as:x,className:r,headingFontWeight:g,headingTag:i},f),o)},exports.StyledAvatar=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("./tslib.es6-
|
|
1
|
+
"use strict";var n=require("./tslib.es6-e6f346c4.js"),e=require("styled-components"),t=require("react"),i=require("./index-6193a08c.js"),a=require("./utils-43f2c752.js");function o(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var r,l=o(e),s=o(t),d=l.default.div(r||(r=n.__makeTemplateObject(["\n --width: ",";\n --height: ",";\n\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n img,\n svg {\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n }\n\n img {\n object-fit: contain;\n }\n"],["\n --width: ",";\n --height: ",";\n\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n img,\n svg {\n width: calc(var(--width) * 1px);\n height: calc(var(--height) * 1px);\n }\n\n img {\n object-fit: contain;\n }\n"])),(function(n){return n.theme.width||20}),(function(n){return n.theme.height||20})),p=l.default.div(u||(u=n.__makeTemplateObject(["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n .focused & {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"],["\n position: relative;\n width: 100%;\n\n &[data-has-error] {\n input {\n border-color: ",";\n }\n }\n\n input {\n width: 100%;\n padding: 12px 16px;\n border: solid 1px ",";\n border-radius: 6px;\n\n &:active,\n &:focus,\n .focused & {\n border-color: ",";\n box-shadow: 0px 0px 2px 2px ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n\n &[data-has-action-icon] {\n input {\n padding: 12px 48px 12px 16px;\n }\n }\n &[data-has-display-icon] {\n input {\n padding: 12px 16px 12px 48px;\n }\n }\n\n &[data-has-action-icon][data-has-display-icon] {\n input {\n padding: 12px 48px;\n }\n }\n\n &[data-size='lg'] {\n input {\n font-size: 16px;\n font-weight: ",";\n "," {\n font-size: 22px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 26px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='md'] {\n input {\n font-weight: ",";\n "," {\n font-size: 14px;\n line-height: 1.2;\n }\n\n "," {\n font-size: 16px;\n line-height: 1.2;\n }\n }\n }\n &[data-size='sm'] {\n input {\n font-weight: ",";\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n\n "," {\n font-size: 13px;\n line-height: 1.5;\n }\n }\n }\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.sizes.fwRegular}),a.MediaQueries.mbDown,a.MediaQueries.mbUp,(function(n){return n.theme.sizes.fwRegular}),a.MediaQueries.mbDown,a.MediaQueries.mbUp,(function(n){return n.theme.sizes.fwRegular}),a.MediaQueries.mbDown,a.MediaQueries.mbUp);l.default.label(c||(c=n.__makeTemplateObject(["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"],["\n display: inline-block;\n margin-bottom: 4px;\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.gray600}),(function(n){return n.theme.sizes.fwBold}));var u,c,h,f,m,g=l.default.label(h||(h=n.__makeTemplateObject(["\n color: ",";\n font-weight: ",";\n"],["\n color: ",";\n font-weight: ",";\n"])),(function(n){return n.theme.colors.red700}),(function(n){return n.theme.sizes.fwRegular})),x=l.default.div(f||(f=n.__makeTemplateObject(["\n position: absolute;\n top: 50%;\n right: 16px;\n display: inline-flex;\n cursor: pointer;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n right: 16px;\n display: inline-flex;\n cursor: pointer;\n transform: translateY(-50%);\n"]))),b=l.default.div(m||(m=n.__makeTemplateObject(["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"],["\n position: absolute;\n top: 50%;\n left: 16px;\n display: inline-flex;\n cursor: default;\n transform: translateY(-50%);\n"]))),v=s.default.forwardRef((function(e,a){var o=e.name,r=e.errorMessage,l=e.autoComplete,d=void 0===l?"off":l,u=e.defaultValue,c=e.actionIcon,h=e.displayIcon,f=e.isDeleteAction,m=e.onActionClick,v=e.label,w=e.placeholder,y=e.className,z=e.onChange,_=e.onKeyPress,k=e.isDisabled,C=e.CustomInput,j=e.size,I=e.style,N=e.autoFocus,M=e.type,F=void 0===M?"text":M,K=e.isNumerousKeyboard,O=void 0!==K&&K,D=e.onFocus,E=e.enterKeyHint,Q=e.nativeOnChange,T=n.__rest(e,["name","errorMessage","autoComplete","defaultValue","actionIcon","displayIcon","isDeleteAction","onActionClick","label","placeholder","className","onChange","onKeyPress","isDisabled","CustomInput","size","style","autoFocus","type","isNumerousKeyboard","onFocus","enterKeyHint","nativeOnChange"]),q=t.useState(u),P=q[0],R=q[1];return s.default.createElement(p,{"data-size":j,className:y,"data-has-action-icon":!!c||void 0,"data-has-display-icon":!!h||void 0,"data-has-error":r&&r.length>0||void 0,style:I},v&&s.default.createElement(i.Label,{size:"label2",htmlFor:o,className:"inputLabel"},v),s.default.createElement("div",{style:{position:"relative"}},C||s.default.createElement("input",n.__assign({id:o,name:o,placeholder:w,onChange:null!=Q?Q:function(n){return e=n.target.value,R(e),void z(e);var e},onKeyPress:_,type:F,"aria-label":F,disabled:k,value:P,autoComplete:d,ref:a,autoFocus:N,inputMode:O||"number"===F?"numeric":F,pattern:O?"[0-9]*":".*",onFocus:D,enterKeyHint:E},T)),h&&s.default.createElement(b,{className:"displayIcon"},h),c&&s.default.createElement(x,{className:"actionIcon",onClick:function(){var n;f&&(R(""),null===(n=a.current)||void 0===n||n.focus()),m&&m()}},c)),r&&r.length>0&&s.default.createElement(g,{className:"errorLabel"},r))}));v.displayName="PureInput",exports.PureInput=v,exports.StyledFlag=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var r=require("./Locale-
|
|
1
|
+
"use strict";var r=require("./Locale-11b51016.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e,o=require("./Locale-11b51016.js"),l=require("./isProduction-32e6a55a.js"),i={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},n={HELLO_HEALTH_GROUP:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",site_id:10},HELLO_DOCTOR:{lng:o.LOCALE.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",site_id:5},HELLO_DOCTOR_FIL:{lng:o.LOCALE.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",site_id:5},HELLO_KRUPET:{lng:o.LOCALE.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",site_id:4},HELLO_SWASTHYA:{lng:o.LOCALE.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",site_id:9},HELLO_SEHAT:{lng:o.LOCALE.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",site_id:2},HELLO_SAYARWON:{lng:o.LOCALE.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",site_id:7},HELLO_DOKTOR:{lng:o.LOCALE.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",site_id:3},HELLO_KHUNMOR:{lng:o.LOCALE.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",site_id:6},HELLO_YISHI:{lng:o.LOCALE.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",site_id:8},HELLO_BACSI:{lng:o.LOCALE.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",site_id:1},MARRY_BABY:{lng:o.LOCALE.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",site_id:11}},t="userGeoLocationCoordinates",a={"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"},s={"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"}},E={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},c="user",O=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],h=["vi-VN","id-ID"],I={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};exports.QUERY_HEALTH_TOOL=void 0,(e=exports.QUERY_HEALTH_TOOL||(exports.QUERY_HEALTH_TOOL={})).bmi="mi",e.gender="gndr",e.age="ge",e.slug="slug",e.resultId="resultId",e.bmr="mr",e.height="gt",e.weight="wght",e.source="surc",e.type="tp",e.startDate="sd",e.additional="tnl",e.week="wk",e.twins="twn",e.weightBefore="wb",e.yourself="yrslf",e.intensity="sy",e.rate="rt",e.method="mthd",e.day="dy",e.pwg="pwg",e.cycle="le",e.period="prd",e.access_token="tkn",e.name="nm",e.id="id";var p=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:a,LOCALE_SPECS:s,STATIC_PAGES:E,UP_BASEPATH:c,TOGETHER_LOCALES:O,CARE_LOCALES:T,CARE_BOOKING_LOCALES:h,FAVICONS:I,get QUERY_HEALTH_TOOL(){return exports.QUERY_HEALTH_TOOL},siteHost:i,siteOptions:n,isProduction:l.isProduction});exports.CARE_BOOKING_LOCALES=h,exports.CARE_LOCALES=T,exports.FAVICONS=I,exports.LOCALE_SPECS=s,exports.STATIC_PAGES=E,exports.TOGETHER_LOCALES=O,exports.UP_BASEPATH=c,exports.USER_GEOLOCATION_COORDINATES_COOKIE=t,exports.domainLocales=a,exports.index=p,exports.siteHost=i,exports.siteOptions=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-e6f346c4.js"),t=require("react"),n=require("styled-components");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l,i=a(t),s=a(n).default.label(l||(l=e.__makeTemplateObject(["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"],["\n &[data-size='label1'] {\n font-size: 14px;\n line-height: 22px;\n }\n &[data-size='label2'] {\n font-size: 13px;\n line-height: 19px;\n }\n"])));exports.Label=function(e){var t=e.children,n=e.className,a=e.style,l=e.htmlFor,r=e.size;return i.default.createElement(s,{"data-size":r,className:n,style:a,htmlFor:l},t)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-e6f346c4.js"),t=require("react");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t),n=t.forwardRef((function(t,r){return a.default.createElement("circle",e.__assign({},t,{ref:r}),a.default.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));exports.CustomReferenceDot=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("./tslib.es6-
|
|
1
|
+
"use strict";var n=require("./tslib.es6-e6f346c4.js"),t=require("react"),e=require("styled-components");function i(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var a,p,o=i(t),l=i(e),h=l.default((function(t){var e=t.type,i=n.__rest(t,["type"]);return o.default.createElement(e,i)}))(a||(a=n.__makeTemplateObject(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),x=l.default.p(p||(p=n.__makeTemplateObject(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark}));exports.MarryBabyHeading=function(t){var e=t.type,i=t.color,a=t.style,p=n.__rest(t,["type","color","style"]);return o.default.createElement(h,n.__assign({type:e,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[e],style:n.__assign(n.__assign({},i&&{"--text-color":i}),a)},p))},exports.MarryBabyText=function(t){var e=t.type,i=t.color,a=t.style,p=n.__rest(t,["type","color","style"]);return o.default.createElement(x,n.__assign({"data-type":e,style:n.__assign(n.__assign({},a),i&&{"--text-color":i})},p))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-
|
|
1
|
+
"use strict";var e=require("./tslib.es6-e6f346c4.js"),n=require("react"),t=require("@mantine/carousel"),r=require("@mantine/hooks"),l=require("styled-components");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u,o=i(n),c=i(l).default(t.Carousel.Slide)(u||(u=e.__makeTemplateObject([""],[""]))),a=n.createContext({}),d=function(e,n){return e>=n?e-n:e},s=function(l){var i=l.children,u=l.blurFromCenter,c=l.blurFromIndex,s=l.blurLength,f=void 0===s?3:s,v=l.maxBlurOpacity,p=void 0===v?.5:v,h=l.onSlideChange,x=l.selectSlideWhenClick,m=e.__rest(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),S=r.useResizeObserver(),g=S[0],b=S[1],C=n.useRef(null),y=n.useState(0),k=y[0],_=y[1],E=function(){var e,n,t,r=null===(e=null==C?void 0:C.current)||void 0===e?void 0:e.selectedScrollSnap();_(r);var l=(null===(n=null==C?void 0:C.current)||void 0===n?void 0:n.slideNodes())||[],i=l.length,o=(null===(t=null==C?void 0:C.current)||void 0===t?void 0:t.slidesInView()).length,a=Math.floor(o/2),s=u?c+f-1:a,v=r+s,h=v===i?0:v>i?v-i:v,x=r-s,m=x<0?i+x:x>0?r-s:0,S=Array(2*s+1).fill("").map((function(e,n){return d(m+n,i)}));l.map((function(e,n){if(n===r?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var t=p/f,l=0;l<f;l++){if(n===d(m+l,i)||n===(o=i,(u=h-l)<0?o+u:u)){e.style.opacity=String((l+1)*t);break}e.style.opacity="1"}else e.style.opacity="0";var u,o}))},q={getEmblaApi:function(e){C.current=e},onSlideChange:function(e){E(),null==h||h(e)}};return n.useEffect((function(){(null==C?void 0:C.current)&&E()}),[b]),o.default.createElement(a.Provider,{value:{slider:null==C?void 0:C.current,centerSlide:k,selectSlideWhenClick:x}},o.default.createElement(t.Carousel,e.__assign({ref:g,slideSize:"auto",containScroll:"trimSnaps"},q,m,{loop:!0}),"function"==typeof i?i(k):i))};s.Slide=function(t){var r=t.children,l=t.onClick,i=e.__rest(t,["children","onClick"]),u=n.useContext(a),d=u.slider,s=u.selectSlideWhenClick,f=n.useRef(),v=n.useRef(""),p=n.useState(0),h=p[0],x=p[1];n.useEffect((function(){v.current=String(Math.round(1e4*Math.random()))}),[]),n.useEffect((function(){var e=(null==d?void 0:d.slideNodes())||[];x(e.findIndex((function(e){return e.dataset.key===v.current})))}),[d]);var m={ref:f,"data-key":v.current,"data-index":h,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return o.default.createElement(c,e.__assign({},m,i),o.default.createElement("div",{onClick:function(){s&&(null==d||d.scrollTo(h)),null==l||l(h)}},r))},exports.CentralCarousel=s;
|