@hhgtech/hhg-components 1.22.26 → 1.22.28
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-e1af0e66.js → BMI_BOYS.percentile.monthly-1ad1666c.js} +0 -0
- package/build/{BMI_BOYS.percentile.weekly-75bff607.js → BMI_BOYS.percentile.weekly-87103966.js} +0 -0
- package/build/{BMI_BOYS.percentile.yearly-a1a3d0ef.js → BMI_BOYS.percentile.yearly-37b67c96.js} +0 -0
- package/build/{BMI_BOYS.zscore.monthly-a175df2d.js → BMI_BOYS.zscore.monthly-f1d840db.js} +0 -0
- package/build/{BMI_BOYS.zscore.weekly-aba5d53b.js → BMI_BOYS.zscore.weekly-b50aedd3.js} +0 -0
- package/build/{BMI_BOYS.zscore.yearly-aafb7ce1.js → BMI_BOYS.zscore.yearly-274f1e3e.js} +0 -0
- package/build/{BMI_GIRLS.percentile.monthly-4c519db6.js → BMI_GIRLS.percentile.monthly-6f30dd37.js} +0 -0
- package/build/{BMI_GIRLS.percentile.weekly-aa3da5c1.js → BMI_GIRLS.percentile.weekly-e575c948.js} +0 -0
- package/build/{BMI_GIRLS.percentile.yearly-8561e48e.js → BMI_GIRLS.percentile.yearly-167b2fa9.js} +0 -0
- package/build/{BMI_GIRLS.zscore.monthly-849cbbe5.js → BMI_GIRLS.zscore.monthly-a1fcbc6d.js} +0 -0
- package/build/{BMI_GIRLS.zscore.weekly-56e2c916.js → BMI_GIRLS.zscore.weekly-3214a7ba.js} +0 -0
- package/build/{BMI_GIRLS.zscore.yearly-eb9d49d1.js → BMI_GIRLS.zscore.yearly-21188b2d.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.monthly-790479be.js → HEAD CIRCUM_BOYS.percentile.monthly-f578ad99.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.weekly-923d3626.js → HEAD CIRCUM_BOYS.percentile.weekly-0a11085d.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b5aaa103.js → HEAD CIRCUM_BOYS.percentile.yearly-236ac50e.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.monthly-bc73088f.js → HEAD CIRCUM_BOYS.zscore.monthly-f637a5d5.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f472daa8.js → HEAD CIRCUM_BOYS.zscore.weekly-f97928b0.js} +0 -0
- package/build/{HEAD CIRCUM_BOYS.zscore.yearly-d7a7b9df.js → HEAD CIRCUM_BOYS.zscore.yearly-8ace6ff5.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-24290dfb.js → HEAD CIRCUM_GIRLS.percentile.monthly-77aac3a7.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0020f6e2.js → HEAD CIRCUM_GIRLS.percentile.weekly-f3659921.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-22dd615a.js → HEAD CIRCUM_GIRLS.percentile.yearly-d8f5ab6b.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-96a0f069.js → HEAD CIRCUM_GIRLS.zscore.monthly-3aeab786.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a0fa670d.js → HEAD CIRCUM_GIRLS.zscore.weekly-ecc8659c.js} +0 -0
- package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-02cf35f7.js → HEAD CIRCUM_GIRLS.zscore.yearly-4500f318.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.monthly-e61c2896.js → HEIGHT_BOYS.percentile.monthly-634c92b7.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.weekly-71fb3532.js → HEIGHT_BOYS.percentile.weekly-326b8a6c.js} +0 -0
- package/build/{HEIGHT_BOYS.percentile.yearly-5156c057.js → HEIGHT_BOYS.percentile.yearly-67bcf8d4.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.monthly-910c2bd0.js → HEIGHT_BOYS.zscore.monthly-75ddebd0.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.weekly-70c18763.js → HEIGHT_BOYS.zscore.weekly-5405469d.js} +0 -0
- package/build/{HEIGHT_BOYS.zscore.yearly-bd97678c.js → HEIGHT_BOYS.zscore.yearly-8b2f6f3f.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.monthly-a7bf2e5d.js → HEIGHT_GIRLS.percentile.monthly-5b3aac94.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.weekly-b2628828.js → HEIGHT_GIRLS.percentile.weekly-1a88ee9c.js} +0 -0
- package/build/{HEIGHT_GIRLS.percentile.yearly-e00c3ffd.js → HEIGHT_GIRLS.percentile.yearly-33d011e3.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.monthly-3542327e.js → HEIGHT_GIRLS.zscore.monthly-4cd6fe77.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.weekly-7ed52595.js → HEIGHT_GIRLS.zscore.weekly-0072a73a.js} +0 -0
- package/build/{HEIGHT_GIRLS.zscore.yearly-4bbd497c.js → HEIGHT_GIRLS.zscore.yearly-ee1372f8.js} +0 -0
- package/build/{Locale-11b51016.js → Locale-a817e0b3.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.monthly-9966bfb1.js → WEIGHT_BOYS.percentile.monthly-02f12da2.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.weekly-8b301e27.js → WEIGHT_BOYS.percentile.weekly-093b6285.js} +0 -0
- package/build/{WEIGHT_BOYS.percentile.yearly-c10eda77.js → WEIGHT_BOYS.percentile.yearly-4611aebe.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.monthly-897fca0b.js → WEIGHT_BOYS.zscore.monthly-e8e0cbbd.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.weekly-0b1faf98.js → WEIGHT_BOYS.zscore.weekly-58f4d069.js} +0 -0
- package/build/{WEIGHT_BOYS.zscore.yearly-80018532.js → WEIGHT_BOYS.zscore.yearly-32c78cd8.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.monthly-822f3f97.js → WEIGHT_GIRLS.percentile.monthly-c5dae03a.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.weekly-63c6a2a3.js → WEIGHT_GIRLS.percentile.weekly-e6a664ad.js} +0 -0
- package/build/{WEIGHT_GIRLS.percentile.yearly-8f44f763.js → WEIGHT_GIRLS.percentile.yearly-ba4e3120.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.monthly-86b583c7.js → WEIGHT_GIRLS.zscore.monthly-fa683dd4.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.weekly-29d8f232.js → WEIGHT_GIRLS.zscore.weekly-a9d44aff.js} +0 -0
- package/build/{WEIGHT_GIRLS.zscore.yearly-07eeb8b5.js → WEIGHT_GIRLS.zscore.yearly-6a6fef2b.js} +0 -0
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/molecules/articleCard/cardAuthor.d.ts +17 -0
- package/build/components/molecules/articleCard/cardExpert.d.ts +16 -0
- package/build/components/molecules/articleCard/icons/affiliate.d.ts +2 -0
- package/build/components/molecules/articleCard/icons/bookmarked.d.ts +6 -0
- package/build/components/molecules/articleCard/icons/unbookmarked.d.ts +6 -0
- package/build/components.js +1 -1
- package/build/{constants-ca5ea110.js → constants-b4dc5a05.js} +0 -0
- package/build/constants.js +1 -1
- package/build/{cookieHelper-3553173d.js → cookieHelper-54048238.js} +0 -0
- package/build/core-e6a29d83.js +1 -0
- package/build/{dataTransform-a27830ef.js → dataTransform-0d8a1f88.js} +0 -0
- package/build/{defaultClassWrapper-0eac7dff.js → defaultClassWrapper-a222d084.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{BMI_BOYS.percentile.monthly-f524741d.js → BMI_BOYS.percentile.monthly-9613fc5c.js} +0 -0
- package/build/esm/{BMI_BOYS.percentile.weekly-3e59e311.js → BMI_BOYS.percentile.weekly-0f2a9be9.js} +0 -0
- package/build/esm/{BMI_BOYS.percentile.yearly-6d8de73b.js → BMI_BOYS.percentile.yearly-a0f66dad.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.monthly-a1e3c494.js → BMI_BOYS.zscore.monthly-45590518.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.weekly-71fe0115.js → BMI_BOYS.zscore.weekly-4b7bf951.js} +0 -0
- package/build/esm/{BMI_BOYS.zscore.yearly-09f20a36.js → BMI_BOYS.zscore.yearly-e3305dc1.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.monthly-001ea609.js → BMI_GIRLS.percentile.monthly-5832380f.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.weekly-e48d680c.js → BMI_GIRLS.percentile.weekly-2cc558b4.js} +0 -0
- package/build/esm/{BMI_GIRLS.percentile.yearly-7df5fcbe.js → BMI_GIRLS.percentile.yearly-39ab9a50.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.monthly-5802a837.js → BMI_GIRLS.zscore.monthly-7aa5e382.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.weekly-82f7aa14.js → BMI_GIRLS.zscore.weekly-4ea758d9.js} +0 -0
- package/build/esm/{BMI_GIRLS.zscore.yearly-347ac14e.js → BMI_GIRLS.zscore.yearly-95662df7.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-dbb676b7.js → HEAD CIRCUM_BOYS.percentile.monthly-87bd0acc.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-92a20a1c.js → HEAD CIRCUM_BOYS.percentile.weekly-7f6e6778.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-284ffe85.js → HEAD CIRCUM_BOYS.percentile.yearly-3fe405d7.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-0518141a.js → HEAD CIRCUM_BOYS.zscore.monthly-7591e909.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-58c98bc3.js → HEAD CIRCUM_BOYS.zscore.weekly-6d099b56.js} +0 -0
- package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0ab91f53.js → HEAD CIRCUM_BOYS.zscore.yearly-016dd217.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-47ca419d.js → HEAD CIRCUM_GIRLS.percentile.monthly-e7991ddc.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0a80b339.js → HEAD CIRCUM_GIRLS.percentile.weekly-46b0f9dd.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-2a9af33c.js → HEAD CIRCUM_GIRLS.percentile.yearly-b760ffde.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-502454c8.js → HEAD CIRCUM_GIRLS.zscore.monthly-3b6345ef.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-81f96658.js → HEAD CIRCUM_GIRLS.zscore.weekly-0f0a3f73.js} +0 -0
- package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d96c5d22.js → HEAD CIRCUM_GIRLS.zscore.yearly-21dfba78.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.monthly-46c82cfc.js → HEIGHT_BOYS.percentile.monthly-f638ffed.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.weekly-452b6591.js → HEIGHT_BOYS.percentile.weekly-43a0c3b0.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.percentile.yearly-b69ee2b1.js → HEIGHT_BOYS.percentile.yearly-1921695e.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.monthly-9fd9d0b9.js → HEIGHT_BOYS.zscore.monthly-318a412c.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.weekly-935edd5c.js → HEIGHT_BOYS.zscore.weekly-197c21de.js} +0 -0
- package/build/esm/{HEIGHT_BOYS.zscore.yearly-1feaa056.js → HEIGHT_BOYS.zscore.yearly-38e92801.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.monthly-2954319e.js → HEIGHT_GIRLS.percentile.monthly-13ce64a2.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.weekly-575d53c8.js → HEIGHT_GIRLS.percentile.weekly-dfcc1da5.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.percentile.yearly-37b9afa9.js → HEIGHT_GIRLS.percentile.yearly-5781220e.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.monthly-eb51992f.js → HEIGHT_GIRLS.zscore.monthly-21cd4f77.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.weekly-7292924a.js → HEIGHT_GIRLS.zscore.weekly-16b9d785.js} +0 -0
- package/build/esm/{HEIGHT_GIRLS.zscore.yearly-60c98917.js → HEIGHT_GIRLS.zscore.yearly-e1fa1181.js} +0 -0
- package/build/esm/{Locale-69030fff.js → Locale-597e8a2f.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.monthly-9e94fae6.js → WEIGHT_BOYS.percentile.monthly-3ded879f.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.weekly-a43c4530.js → WEIGHT_BOYS.percentile.weekly-67dc9cf9.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.percentile.yearly-23512fa8.js → WEIGHT_BOYS.percentile.yearly-17c9b304.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.monthly-c1471d63.js → WEIGHT_BOYS.zscore.monthly-aad5e2a9.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.weekly-7419ed62.js → WEIGHT_BOYS.zscore.weekly-dd4fdda8.js} +0 -0
- package/build/esm/{WEIGHT_BOYS.zscore.yearly-c9e3c050.js → WEIGHT_BOYS.zscore.yearly-2e331ddf.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e5e8908b.js → WEIGHT_GIRLS.percentile.monthly-229f4a35.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.weekly-3942d908.js → WEIGHT_GIRLS.percentile.weekly-064496ed.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.percentile.yearly-18fa4dc9.js → WEIGHT_GIRLS.percentile.yearly-397329b9.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9d865314.js → WEIGHT_GIRLS.zscore.monthly-09a6fc32.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c824c3a7.js → WEIGHT_GIRLS.zscore.weekly-fe79a902.js} +0 -0
- package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0409e36d.js → WEIGHT_GIRLS.zscore.yearly-71ad793d.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-a0a981fa.js → constants-8bd53831.js} +0 -0
- package/build/esm/constants.js +1 -1
- package/build/esm/{cookieHelper-8c12973e.js → cookieHelper-8dd17c53.js} +0 -0
- package/build/esm/{core-8c1d445f.js → core-6e924d14.js} +1 -1
- package/build/esm/{dataTransform-28541f72.js → dataTransform-a2d43770.js} +0 -0
- package/build/esm/defaultClassWrapper-7a9672a6.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-8e66f8a7.js → getDynamicHealthTool-b1a08883.js} +1 -1
- package/build/esm/{getSocialList-6e11d024.js → getSocialList-4fc97f2d.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-a0d0d5fa.js → index-0459d803.js} +1 -1
- package/build/esm/{index-d20231b7.js → index-06186051.js} +1 -1
- package/build/esm/{index-a1a50ff8.js → index-22818d55.js} +1 -1
- package/build/esm/{index-06b0427f.js → index-2dce20f0.js} +1 -1
- package/build/esm/index-43dc3915.js +1 -0
- package/build/esm/{index-aca74507.js → index-49f531ae.js} +1 -1
- package/build/esm/{index-71a7683a.js → index-4ba866f2.js} +1 -1
- package/build/esm/{index-bfb83ce8.js → index-613cf5d4.js} +1 -1
- package/build/esm/{index-a0e2043c.js → index-61536465.js} +1 -1
- package/build/esm/{index-20a09f62.js → index-749708a4.js} +1 -1
- package/build/esm/{index-f0ca1d99.js → index-7d79b5b8.js} +1 -1
- package/build/esm/{index-5066858f.js → index-81277185.js} +1 -1
- package/build/esm/index-bba2d823.js +1 -0
- package/build/esm/{index-bbc3936f.js → index-be749962.js} +1 -1
- package/build/esm/{index-a8d73207.js → index-c1f96447.js} +1 -1
- package/build/esm/{index-550400d7.js → index-d84bb549.js} +1 -1
- package/build/esm/{index-c2f532a6.js → index-d9eeae90.js} +1 -1
- package/build/esm/{index-e675632b.js → index-e1487bae.js} +1 -1
- package/build/esm/{index-550f04ea.js → index-ef0c076e.js} +1 -1
- package/build/esm/{index-564f6899.js → index-f62ee0af.js} +1 -1
- package/build/esm/index.css +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-ed780131.js → index.styled-7a561061.js} +1 -1
- package/build/esm/{isProduction-6fc0946c.js → isProduction-0f7c16f9.js} +0 -0
- package/build/esm/{lazyLoad-59e8ff6d.js → lazyLoad-97f7dbd4.js} +0 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/{localizeNumberFormat-ec8c08da.js → localizeNumberFormat-33e5e811.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-405df031.js +1 -0
- package/build/esm/{screenSizeContext-ff96a3d1.js → screenSizeContext-a0192e3a.js} +1 -1
- package/build/esm/{theme-13d11d67.js → theme-4a36a09c.js} +0 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsContext-7cd9a0bc.js → translationsContext-c5cf6a09.js} +0 -0
- package/build/esm/{translationsProvider-d61ac730.js → translationsProvider-2857dc12.js} +1 -1
- package/build/esm/{tslib.es6-2fa94e2c.js → tslib.es6-c7fb770c.js} +0 -0
- package/build/esm/types-3685524a.js +1 -0
- package/build/esm/types-8a7ea39d.js +1 -0
- package/build/esm/{types-f57c9932.js → types-c068aafa.js} +0 -0
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-f97c847d.js → useFbDataLayer-bb248530.js} +1 -1
- package/build/esm/useHealthToolCache-bd293ae2.js +1 -0
- package/build/esm/{useOutsideClick-6004483a.js → useOutsideClick-d2703f2e.js} +0 -0
- package/build/esm/{useScrollbarSize-99db33e1.js → useScrollbarSize-988623e5.js} +0 -0
- package/build/esm/{useTranslations-05d40ae4.js → useTranslations-e769d6fe.js} +1 -1
- package/build/esm/{utils-40d4438f.js → utils-a4496303.js} +0 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-5794ef69.js → getDynamicHealthTool-95168d7e.js} +1 -1
- package/build/{getSocialList-7fd6363b.js → getSocialList-a18576d6.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-5830eec7.js → index-01fbb796.js} +1 -1
- package/build/{index-f50d4c63.js → index-169ac707.js} +1 -1
- package/build/{index-d632029d.js → index-1a21b05f.js} +1 -1
- package/build/{index-9b944f11.js → index-4a7640b0.js} +1 -1
- package/build/{index-57503957.js → index-62bd569d.js} +1 -1
- package/build/{index-9f3366ff.js → index-8a9914ab.js} +1 -1
- package/build/{index-7d3b086d.js → index-91465581.js} +1 -1
- package/build/{index-6193a08c.js → index-950ef85a.js} +1 -1
- package/build/{index-8ddc0bb9.js → index-9c65be48.js} +1 -1
- package/build/{index-4f2fe9a1.js → index-a6aa1a98.js} +1 -1
- package/build/{index-2657dba3.js → index-b5605049.js} +1 -1
- package/build/{index-4338f5f7.js → index-bd12fd05.js} +1 -1
- package/build/{index-186b627d.js → index-ca047d53.js} +1 -1
- package/build/{index-b63d6868.js → index-cbf63898.js} +1 -1
- package/build/{index-10ede9ab.js → index-cc56ecff.js} +1 -1
- package/build/{index-1d1cfd31.js → index-db6b3891.js} +1 -1
- package/build/{index-ba9a9356.js → index-dc5e33b5.js} +1 -1
- package/build/index-dd9da438.js +1 -0
- package/build/{index-5748940b.js → index-eb5e4bd6.js} +1 -1
- package/build/{index-76dc603c.js → index-f6abdc3f.js} +1 -1
- package/build/index.css +1 -0
- package/build/index.js +1 -1
- package/build/{index.styled-5df734b4.js → index.styled-622d0725.js} +1 -1
- package/build/{isProduction-32e6a55a.js → isProduction-69fc41c0.js} +0 -0
- package/build/{lazyLoad-f5c59bb0.js → lazyLoad-76f23903.js} +0 -0
- package/build/lead/index.d.ts +1 -0
- package/build/lead.js +1 -1
- package/build/{localizeNumberFormat-155e5aec.js → localizeNumberFormat-e4a3a145.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-9b0aa164.js +1 -0
- package/build/{screenSizeContext-00584173.js → screenSizeContext-5d49a18f.js} +1 -1
- package/build/{theme-b4bf0ca3.js → theme-ee07bb4b.js} +0 -0
- package/build/theme.scss +217 -0
- package/build/together.js +1 -1
- package/build/{translationsContext-14a025ec.js → translationsContext-8d6c61df.js} +0 -0
- package/build/{translationsProvider-4bcaa73e.js → translationsProvider-4fe7a551.js} +1 -1
- package/build/{tslib.es6-e6f346c4.js → tslib.es6-0065074f.js} +0 -0
- package/build/types-14f6f884.js +1 -0
- package/build/{types-2b3bdf79.js → types-1895ef72.js} +0 -0
- package/build/types-562dd4fc.js +1 -0
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-dbcf5c0c.js → useFbDataLayer-900607af.js} +1 -1
- package/build/{useHealthToolCache-99b7a2a8.js → useHealthToolCache-38f50452.js} +1 -1
- package/build/{useOutsideClick-528bfd6c.js → useOutsideClick-c0e4fa4d.js} +0 -0
- package/build/{useScrollbarSize-586f6706.js → useScrollbarSize-f805c30e.js} +0 -0
- package/build/useTranslations-231429a4.js +1 -0
- package/build/{utils-43f2c752.js → utils-950aead5.js} +0 -0
- package/package.json +30 -9
- package/build/core-27ea44f3.js +0 -1
- package/build/esm/defaultClassWrapper-27a74473.js +0 -1
- package/build/esm/index-62c22dbe.js +0 -1
- package/build/esm/index-dee53c51.js +0 -1
- package/build/esm/routing-f5958830.js +0 -1
- package/build/esm/types-86e8c0dc.js +0 -1
- package/build/esm/types-9445055d.js +0 -1
- package/build/esm/useHealthToolCache-cfd4900b.js +0 -1
- package/build/index-5405f4a4.js +0 -1
- package/build/lead/style.d.ts +0 -2
- package/build/routing-99cb7fb3.js +0 -1
- package/build/types-20ce190d.js +0 -1
- package/build/types-961e8898.js +0 -1
- package/build/useTranslations-ef4df454.js +0 -1
package/build/esm/ecom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as o}from"./tslib.es6-2fa94e2c.js";import{t as e}from"./theme-13d11d67.js";import"./index-e675632b.js";import{i}from"./isProduction-6fc0946c.js";export{t as EcomTypes}from"./types-f57c9932.js";import"./Locale-69030fff.js";var l,n=Object.freeze({__proto__:null}),a=Object.freeze({__proto__:null}),r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,s="undefined"==typeof window,u=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",c=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",d=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,m=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",p={"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"},_=r?"http://localhost:3001":i?"https://".concat(p[u]):"https://discover.".concat(p[u]),h=i?"https://wp.".concat(p[u],"/"):"https://staging.".concat(p[u],"/"),E=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(p[u],"/"),v="".concat(_,"/community"),I=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(o){o[o.FEMALE=0]="FEMALE",o[o.MALE=1]="MALE",o[o.ANY=2]="ANY"}(l||(l={}));var T={"vi-VN":{HOME:function(){return JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]})},CATEGORY:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(o)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(o),numberOfItems:e,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop/san-pham/".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(o)}}]},{"@type":"BrandDetail",url:o,numberOfItems:e,itemListElement:null!=t?t:{}}]})}}},g=Object.freeze({__proto__:null,isDevelopment:r,IS_SSR:s,locale:u,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:c,GOOGLE_ADMIN_LOCATION_KEY:d,GOOGLE_CLIENT_ID:m,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:p,DISCOVER_URL_FE:_,DISCOVER_URL_BE:h,TOGETHER_URL_BE:E,TOGETHER_URL_FE:v,SSO_URL:I,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return l},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"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/"},"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/"},"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/"},"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/"},"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/"},"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"},"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/"},"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/"},"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/"}},FAVICONS:{"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"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:T});function O(o){return null!=o}var A={formatAutoCompleteAddress:function(o){return o&&o.place_id?{placeId:o.place_id,description:o.description||""}:null},formatPrice:function(o,e){var t="string"==typeof o?parseInt(o):o;return new Intl.NumberFormat(e||"vi-VN").format(t)},formatHotSearchKeyword:function(o){return{text:(null==o?void 0:o.name)||""}},formatHelpfulUrl:function(o){return{name:(null==o?void 0:o.name)||"",featuredImage:(null==o?void 0:o.featured_image)||"",url:(null==o?void 0:o.url)||""}},formatCategory:function(o,t,i){var l,n,a,r=i?i+"/"+o.slug:o.slug,s=(null===(n=null===(l=null==o?void 0:o.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(e){return A.formatCategory(e,o.id,r)})))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:r||"",children:s,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(a=o.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(e=null==o?void 0:o.branch)||void 0===e?void 0:e.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{flag:o.flag||"",name:o.name||"",url:o.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==o?void 0:o.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return{image:o.image||"",url:o.url||""}})))||[],A=(null===(s=null===(r=null==o?void 0:o.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(o){var e,t;return{menu_title:o.menu_title,items:null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{title:o.title,url:o.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==o?void 0:o.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(o){return{icon:o.icon||"",name:o.name||"",url:o.url||""}})))||[];return{branch:{title:(null===(m=null==o?void 0:o.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==o?void 0:o.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==o?void 0:o.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==o?void 0:o.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==o?void 0:o.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(o){var e,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(e=null==o?void 0:o.hot_search_keywords)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==o?void 0:o.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==o?void 0:o.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return A.formatCategory(o)})))||[],footer:A.formatFooterInfo(null==o?void 0:o.footer),storeId:(null==o?void 0:o.store_id)||0,customerId:(null==o?void 0:o.customer_id)||0,cartItemsQty:"number"==typeof(null==o?void 0:o.cart_items_qty)?o.cart_items_qty:null}},formatPriceInfo:function(o){return o?{final:o.final||0,regular:o.regular||0,discountPercent:o.discount_percent||0}:null},formatProduct:function(o){var e,t,i,l;if(!o)return null;var n={final:0,regular:0,discountPercent:0};return{id:o.id||0,price:o.price&&A.formatPriceInfo(o.price)||n,thumbnail:o.thumbnail||"",name:o.name||"",averageRating:Number((o.average_rating||0).toFixed(2)),reviewsCount:o.reviews_count||0,tag:o.tag||null,sku:o.sku||"",slug:o.slug||"",images:o.images||[],tags:o.tags||[],unit:o.unit||"",brand:o.brand?{name:o.brand.name||"",image:o.brand.image||"",slug:o.brand.slug||"",productsCount:o.brand.products_count||0}:null,description:o.description||"",productPromotions:(null===(t=null===(e=o.product_promotions)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatProductPromotion).filter(O))||[],categories:(null===(l=null===(i=o.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(o){return A.formatCategory(o)})).filter(O))||[],isInStock:(null==o?void 0:o.is_in_stock)||!1}},formatBanner:function(o){return o?{name:o.name||"",url:o.url||"",featuredImage:o.featured_image||"",alt:o.image_alt}:null},formatBlogPost:function(o){var e,t;return o?{title:o.title||"",image:o.image||"",link:o.link||"",postData:o.post_data?{reviewed:o.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(o.post_data.reviewed.is_author)}:null,categories:o.post_data.categories?null===(t=(e=o.post_data.categories).map)||void 0===t?void 0:t.call(e,(function(o){return{termId:o.term_id||0,name:o.name||"",permalink:o.permalink||"",textColor:o.text_color||""}})):[],postDate:o.post_data.post_date||"",postModified:o.post_data.post_modified||"",modifiedTime:o.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(o){return o?{id:o.ID||0,userId:o.user_id||0,formerRole:o.former_role||"",role:o.role||"",slug:o.slug||"",displayName:o.display_name||"",description:o.description||"",profileUrl:o.profile_url||"",avatar:o.avatar||"",avatarThumbnail:o.avatar_thumbnail||"",turnOffProfile:Boolean(o.turn_off_profile)}:null},formatBrand:function(o){var e,t,i,l;return o?{id:o.id||0,image:o.image||"",position:o.position||"",isPopular:o.is_popular||!1,summary:o.summary||"",name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatHomePage:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g;return o?{brands:o.brands?null===(t=(e=o.brands).map)||void 0===t?void 0:t.call(e,A.formatBrand).filter(O):[],hotDeals:o.hot_deals?null===(l=(i=o.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O):[],newProducts:o.new_products?null===(a=(n=o.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(O):[],slideBanners:o.slide_banners?null===(s=(r=o.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(O):[],subBanners:o.sub_banners?null===(c=(u=o.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(O):[],footerBanners:o.footer_banners?null===(m=(d=o.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(O):[],blogPosts:o.blog_posts?null===(_=(p=o.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(O):[],popularCategories:o.popular_categories?null===(E=(h=o.popular_categories).map)||void 0===E?void 0:E.call(h,(function(o){return A.formatCategory(o)})).filter(O):[],suggestProducts:o.suggest_products?null===(I=(v=o.suggest_products).map)||void 0===I?void 0:I.call(v,(function(o){return A.formatCategory(o)})).filter(O):[],promotions:o.promotions?null===(g=(T=o.promotions).map)||void 0===g?void 0:g.call(T,(function(o){return A.formatPromotion(o)})).filter(O):[]}:null},formatCategoryPage:function(o){var e,t,i,l;return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatBrandPage:function(o){return o?A.formatBrand(o):null},formatPagination:function(o){return o?{current:o.current||0,first:o.first||0,itemsPerPage:o.items_per_page||0,last:o.last||0,next:o.next||0,prev:o.prev||0,totalItems:o.total_items||0}:null},formatProductDetailPage:function(e){var t,i,l,n,a,r,s,u;return e?o(o({},A.formatProduct(e)),{relatedProducts:(null===(i=null===(t=e.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(O))||[],bestsellerProducts:(null===(n=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(O))||[],viewedProducts:(null===(r=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(O))||[],promotions:(null===(u=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(O))||[]}):null},formatProductReview:function(o){var e,t;return o?{reviewId:o.review_id||"",createdAt:o.created_at||"",title:o.title||"",detail:o.detail||"",nickname:o.nick_name||"",avatar:o.avatar||"",ratingVotes:(null===(t=null===(e=o.rating_votes)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{ratingCode:o.rating_code||"",value:Number(o.value)||0,percent:Number(o.percent)||0}})))||[],images:o.images||[]}:null},formatProductPromotion:function(o){return o?{id:o.id||0,name:o.name||"",thumbnail:o.thumbnail||"",expirationDate:o.expiration_date||""}:null},formatPromotion:function(o){return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",thumbnail:o.thumbnail||"",expiredDate:o.expired_date||"",banners:o.banners||[],points:0,description:o.description||"",metaTitle:o.meta_title||"",metaKeywords:o.meta_keywords||"",metaDescription:o.meta_description||""}:null},formatCustomAttributes:function(o,e){var t;return(null==o?void 0:o.length)&&(null===(t=null==o?void 0:o.find((function(o){return o.attribute_code===e})))||void 0===t?void 0:t.value)||""},formatAddress:function(o){var e,t,i,l;return o?{id:o.id||0,fullName:o.firstname||"",telephone:o.telephone||"",province:{value:null===(e=o.region)||void 0===e?void 0:e.region_id,label:null===(t=o.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(o.custom_attributes,"district_id"),label:A.formatCustomAttributes(o.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(o.custom_attributes,"ward_id"),label:A.formatCustomAttributes(o.custom_attributes,"ward")},street:(null===(i=null==o?void 0:o.street)||void 0===i?void 0:i.length)?null==o?void 0:o.street[0]:"",isDefault:o.default_billing&&o.default_shipping||!1,fullAddress:(null===(l=null==o?void 0:o.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(o){return(null==o?void 0:o.available_regions)?o.available_regions.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatDistrict:function(o){return(null==o?void 0:o.districts)?o.districts.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatCommune:function(o){return(null==o?void 0:o.communes)?o.communes.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatOrder:function(o){var e,t;return o?{orderNumber:(null==o?void 0:o.order_number)||"",shippingData:(null==o?void 0:o.shipping_data)?{shippingMethod:o.shipping_data.shipping_method||"",shippingDescription:o.shipping_data.shipping_description||"",shippingAddress:o.shipping_data.shipping_address?{fullName:o.shipping_data.shipping_address.firstname||"",fullAddress:o.shipping_data.shipping_address.full_address||"",telephone:o.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==o?void 0:o.ordered_date)||"",status:(null==o?void 0:o.status)||null,totals:(null==o?void 0:o.totals)?{subtotal:o.totals.subtotal||0,shippingAmount:o.totals.shipping_amount||0,discountAmount:o.totals.discount_amount||0,grandTotal:o.totals.grand_total||0}:null,products:(null===(t=null===(e=null==o?void 0:o.products)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{sku:o.sku||"",name:o.name||"",price:o.price||0,rowTotal:o.row_total||0,image:o.image||"",qty:o.qty||0}})))||[],paymentMethod:(null==o?void 0:o.payment_method)||""}:null},formatStatistic:function(o){var e,t,i,l,n;return o?{pending:Number(null===(e=null==o?void 0:o.find((function(o){return"pending"===o.status})))||void 0===e?void 0:e.amount)||0,processing:Number(null===(t=null==o?void 0:o.find((function(o){return"processing"===o.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==o?void 0:o.find((function(o){return"delivering"===o.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==o?void 0:o.find((function(o){return"complete"===o.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==o?void 0:o.find((function(o){return"canceled"===o.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(o){var e,t,i,l,n,a,r,s;return o?{itemId:o.item_id||0,sku:o.sku||"",qty:o.qty||0,name:o.name||"",price:o.price||0,basePrice:(null===(e=o.extension_attributes)||void 0===e?void 0:e.base_price)||0,productType:o.product_type||"",quoteId:o.quote_id||"",thumbnail:(null===(t=o.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=o.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=o.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=o.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=o.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(o){var e;return o?{customerAddressId:(null==o?void 0:o.customer_address_id)||0,id:o.id||0,region:o.region||"",regionId:o.region_id||0,regionCode:o.region_code||"",countryId:o.country_id||"",street:o.street||[],postcode:o.postcode||"",city:o.city||"",firstname:o.firstname||"",lastname:o.lastname||"",customerId:o.customer_id||0,email:o.email||"",telephone:o.telephone||"",sameAsBilling:o.same_as_billing||0,saveInAddressBook:o.save_in_address_book||0,fullAddress:(null===(e=o.extension_attributes)||void 0===e?void 0:e.full_address)||""}:null},formatEstimatedShipping:function(o){return o?{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",carrierTitle:o.carrier_title||"",methodTitle:o.method_title||"",amount:o.amount||0,baseAmount:o.base_amount||0,available:o.available||!1,errorMessage:o.error_message||"",priceExclTax:o.price_excl_tax||0,priceInclTax:o.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(o){var e,t,i;return o?{email:o.email||"",firstname:o.firstname||"",lastname:o.lastname||"",id:o.id||0,groupId:o.group_id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",createdIn:o.created_in||"",storeId:o.store_id||0,websiteId:o.website_id||0,addresses:(null===(t=null===(e=o.addresses)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartAddress))||[],disableAutoGroupChange:o.disable_auto_group_change||0,isSubscribed:(null===(i=o.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_;return o?{id:o.id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",isActive:o.is_active||!1,isVirtual:o.is_virtual||!1,items:(null===(i=null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartItem))||void 0===i?void 0:i.sort((function(o,e){return Number(null==e?void 0:e.isInStock)-Number(null==o?void 0:o.isInStock)})))||[],itemsCount:o.items_count||0,itemsQty:o.items_qty||0,customer:o.customer?A.formatCartLoggedInCustomer(o.customer):null,billingAddress:o.billing_address?A.formatCartAddress(o.billing_address):null,origOrderId:o.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=o.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=o.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=o.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=o.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=o.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=o.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=o.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=o.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:o.customer_is_guest||!1,customerNoteNotify:o.customer_note_notify||!1,customerTaxClassId:o.customer_tax_class_id||0,storeId:o.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=o.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(o){var e,t,i;return{shipping:{address:o.shipping.address?A.formatCartAddress(o.shipping.address):null,method:(null===(e=o.shipping)||void 0===e?void 0:e.method)||""},items:(null===(i=(t=o.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(o){var e,t,i;return o?{grandTotal:o.grand_total||0,baseGrandTotal:o.base_grand_total||0,subtotal:o.subtotal||0,baseSubtotal:o.base_subtotal||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,subtotalWithDiscount:o.subtotal_with_discount||0,baseSubtotalWithDiscount:o.base_subtotal_with_discount||0,shippingAmount:o.shipping_amount||0,baseShippingAmount:o.base_shipping_amount||0,shippingDiscountAmount:o.shipping_discount_amount||0,baseShippingDiscountAmount:o.base_shipping_discount_amount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,shippingTaxAmount:o.shipping_tax_amount||0,baseShippingTaxAmount:o.base_shipping_tax_amount||0,subtotalInclTax:o.subtotal_incl_tax||0,shippingInclTax:o.shipping_incl_tax||0,baseShippingInclTax:o.base_shipping_incl_tax||0,baseCurrencyCode:o.base_currency_code||"",quoteCurrencyCode:o.quote_currency_code||"",itemsQty:o.items_qty||0,coupon:{couponCode:o.coupon_code||"",couponDescription:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.coupon_description_text)||""},items:(null===(i=null===(t=o.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{itemId:o.item_id||0,price:o.price||0,basePrice:o.base_price||0,qty:o.qty||0,rowTotal:o.row_total||0,baseRowTotal:o.base_row_total||0,rowTotalWithDiscount:o.row_total_with_discount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,taxPercent:o.tax_percent||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,discountPercent:o.discount_percent||0,priceInclTax:o.price_incl_tax||0,basePriceInclTax:o.base_price_incl_tax||0,rowTotalInclTax:o.row_total_incl_tax||0,baseRowTotalInclTax:o.base_row_total_incl_tax||0,options:o.options||"",weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,weeeTaxApplied:o.weee_tax_applied||0,name:o.name||""}})))||[],totalSegments:o.total_segments||[]}:null},formatPaymentMethod:function(o){return o?null==o?void 0:o.map((function(o){return{code:(null==o?void 0:o.payment_code)||"",title:(null==o?void 0:o.payment_title)||"",thumbnail:(null==o?void 0:o.payment_thumbnail)||""}})):null},formatPaymentInformation:function(o){var e;return o?{paymentMethods:A.formatPaymentMethod(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.payment_detail_info)||[],totals:A.formatCartTotal(o.totals)}:null},formatOrderConfirmation:function(o){return o?{isSuccess:o.is_success||!1,orderInfo:A.formatOrder(o.order_info)}:null},formatCoupons:function(o){var e;return(null===(e=null==o?void 0:o.items)||void 0===e?void 0:e.length)?o.items.map((function(o){return{code:(null==o?void 0:o.code)||"",name:(null==o?void 0:o.name)||"",thumbnail:(null==o?void 0:o.thumbnail)||"",description:(null==o?void 0:o.expired_date)||""}})):null},formatShippings:function(o){return o?o.map((function(o){var e;return{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",title:o.carrier_title||"",description:o.method_title||"",price:(null==o?void 0:o.base_amount)||0,thumbnail:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});export{n as EcomApiTypes,g as EcomConstants,f as EcomDataFormatter,a as EcomDataTypes};
|
|
1
|
+
import{_ as o}from"./tslib.es6-c7fb770c.js";import{t as e}from"./theme-4a36a09c.js";import"./index-e1487bae.js";import{i}from"./isProduction-0f7c16f9.js";export{t as EcomTypes}from"./types-c068aafa.js";import"./Locale-597e8a2f.js";var l,n=Object.freeze({__proto__:null}),a=Object.freeze({__proto__:null}),r="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,s="undefined"==typeof window,u=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",c=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",d=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,m=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",p={"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"},_=r?"http://localhost:3001":i?"https://".concat(p[u]):"https://discover.".concat(p[u]),h=i?"https://wp.".concat(p[u],"/"):"https://staging.".concat(p[u],"/"),E=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:"https://together.".concat(p[u],"/"),v="".concat(_,"/community"),I=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";!function(o){o[o.FEMALE=0]="FEMALE",o[o.MALE=1]="MALE",o[o.ANY=2]="ANY"}(l||(l={}));var T={"vi-VN":{HOME:function(){return JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#website","@type":"WebSite",description:"Hello Bacsi - Health Information",inLanguage:"vi-VN",name:"Hello Bacsi",potentialAction:[{"@type":"SearchAction","query-input":"required name=search_term_string",target:"https://hellobacsi.com/shop/tim-kiem/?keyword={search_term_string}"}],url:"https://hellobacsi.com/shop/"}]})},CATEGORY:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/danh-muc","@type":"WebPage",name:"Hello Bacsi - Danh Muc",url:"https://hellobacsi.com/shop/danh-muc"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),void 0===t&&(t=[]),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/#breadcrumb","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/","@type":"WebPage",name:"Hello Bacsi",url:"https://hellobacsi.com/shop/"}},{"@type":"ListItem",item:{"@id":"https://hellobacsi.com/shop/thuong-hieu","@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/thuong-hieu"}}]},{"@type":"ItemList",url:o,numberOfItems:e,itemListElement:t}]})},BRAND_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/thuong-hieu/#brand","@type":"BrandDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop".concat(o)}}]},{"@type":"BrandDetail",url:"https://hellobacsi.com/shop".concat(o),numberOfItems:e,itemListElement:null!=t?t:{}}]})},PRODUCT_DETAIL:function(o,e,t){return void 0===o&&(o=""),void 0===e&&(e=0),JSON.stringify({"@context":"https://schema.org","@graph":[{"@id":"https://hellobacsi.com/shop/san-pham/#product","@type":"ProductDetail",itemListElement:[{"@type":"Item",item:{"@id":"https://hellobacsi.com/shop/san-pham/".concat(o),"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:"https://hellobacsi.com/shop/san-pham/".concat(o)}}]},{"@type":"BrandDetail",url:o,numberOfItems:e,itemListElement:null!=t?t:{}}]})}}},g=Object.freeze({__proto__:null,isDevelopment:r,IS_SSR:s,locale:u,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:c,GOOGLE_ADMIN_LOCATION_KEY:d,GOOGLE_CLIENT_ID:m,GOOGLE_CALENDAR_API_KEY:"",basePath:"shop",SSO_USER_BASE_PATH:"user",CARE_BASE_PATH:"care",COMMUNITY_BASE_PATH:"community",HEALTH_TOOLs_BASE_PATH:"health-tools",NOTIFICATION_TIME_OUT:3e3,DOMAIN_LOCALES:p,DISCOVER_URL_FE:_,DISCOVER_URL_BE:h,TOGETHER_URL_BE:E,TOGETHER_URL_FE:v,SSO_URL:I,DISCOVERY_FOOTER_URL:"#",HEALTH_CARE_FOOTER_URL:"#",HEALTH_TOOLS_FOOTER_URL:"#",HEALTH_TOGETHER_FOOTER_URL:"#",POLICIES_FOOTER_URL:"#",FAQ_FOOTER_URL:"#",SITEMAP_FOOTER_URL:"#",ABOUT_US_FOOTER_URL:"#",EXECUTIVE_BIOS_FOOTER_URL:"#",ADVERTISING_FOOTER_URL:"#",CONTACT_US_FOOTER_URL:"#",ABOUT_GO_CARE_FOOTER_URL:"#",get Gender(){return l},EMAIL_REGEX:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,COUNTRY_SITENAME:{ID:"Hello Sehat",TH:"Hello Khunmor",MY:"Hello Doktor",KH:"Hello Krupet",TW:"Hello Yishi",MM:"Hello Sayarwon",IN:"Hello Swasthya",VN:"Hello Bacsi",PH:"Hello Doctor"},LOCALE_SPECS:{"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"},"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"},"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"},"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"},"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"},"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"},"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"},"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"}},SOCIAL_MEDIA:{"vi-VN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellobacsi/",INSTAGRAM:"https://www.instagram.com/hellobacsi/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCYHzHDXngnB7jkmcQgXwE0w"},"en-PH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoctorPH/",INSTAGRAM:"https://www.instagram.com/hellodoctor_ph/",TWITTER:null},"km-KH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokrupet/",INSTAGRAM:"https://www.instagram.com/hellokrupetofficial/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCVK4p9YPIMkmoerk3X-y-TQ"},"ms-MY":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloDoktorMY/",INSTAGRAM:"https://www.instagram.com/_hellodoktor_/",TWITTER:null},"id-ID":{LINKEDIN:"https://www.linkedin.com/company/hello-sehat/",FACEBOOK:"https://www.facebook.com/hellosehat",INSTAGRAM:"https://www.instagram.com/hellosehat/",TWITTER:"https://twitter.com/HelloSehat"},"my-MM":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellosayarwon/",INSTAGRAM:"https://www.facebook.com/hellosayarwon/",TWITTER:null},"zh-TW":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/helloyishi/",INSTAGRAM:"https://www.instagram.com/helloyishi/",TWITTER:null},"hi-IN":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/HelloSwasthya/",INSTAGRAM:"https://www.instagram.com/hello_swasthya/",TWITTER:null},"th-TH":{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/hellokhunmor/",INSTAGRAM:"https://www.instagram.com/hellokhunmor/",TWITTER:null,YOUTUBE:"https://www.youtube.com/channel/UCbdbow4UhKfa7rqIhclNPIQ/"}},FLAG_LINKS:{ID:"https://hellosehat.com/",TH:"https://hellokhunmor.com/",MY:"https://hellodoktor.com/",KH:"https://hellokrupet.com/",TW:"https://helloyishi.com.tw/",MM:"https://hellosayarwon.com/",IN:"https://helloswasthya.com/",VN:"https://hellobacsi.com/",PH:"https://hellodoctor.com.ph/"},STATIC_PAGES:{"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/"},"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/"},"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/"},"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/"},"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/"},"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"},"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/"},"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/"},"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/"}},FAVICONS:{"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"}]},LOCALE_COUNTRY:{"vi-VN":{id:1,name:"Vietnam"},"id-ID":{id:2,name:"Indonesia"},"ms-MY":{id:3,name:"Malaysia"},"km-KH":{id:4,name:"Cambodia"},"en-PH":{id:5,name:"Philippines"},"th-TH":{id:6,name:"Thai Lan"},"my-MM":{id:7,name:"Myanmar"},"zh-TW":{id:8,name:"Taiwan"},"hi-IN":{id:9,name:"India"}},MAX_ALLOWED_IMG_SIZE:20971520,COUNTRY_CODE_BY_LOCALE:{"vi-VN":"vn","id-ID":"id","ms-MY":"my","km-KH":"kh","en-PH":"ph","th-TH":"th","my-MM":"mm","zh-TW":"tw","hi-IN":"in"},COUNTRY_CURRENCY_SYMBOL:{"vi-VN":"₫","id-ID":"Rp","ms-MY":"RM","km-KH":"៛","en-PH":"₱","th-TH":"฿","my-MM":"K","zh-TW":"$","hi-IN":"₹"},CURRENCY_PREFIX:{IDR:"Dimulai dari"},LOCALISED_SLUGS:{"en-PH":{PRODUCT:"product",CATEGORY:"category",BRAND:"brand",SEARCH:"search",PROFILE:"profile",PROFILE_MANAGE_ORDERS:"profile/manage-orders",PROFILE_MANAGE_ADDRESS:"profile/deliver-address",PROFILE_VOUCHER:"profile/voucher",PROFILE_MEMBER_CARD:"profile/member-card",CART:"cart",CART_CHECKOUT:"cart/checkout",ORDER_CONFIRMATION:"order-confirmation",PROMOTION:"promotion"},"vi-VN":{PRODUCT:"san-pham",CATEGORY:"danh-muc",BRAND:"thuong-hieu",SEARCH:"tim-kiem",PROFILE:"ho-so",PROFILE_MANAGE_ORDERS:"ho-so/quan-li-don-hang",PROFILE_MANAGE_ADDRESS:"ho-so/dia-chi-giao-hang",PROFILE_VOUCHER:"ho-so/khuyen-mai",PROFILE_MEMBER_CARD:"ho-so/the-thanh-vien",CART:"gio-hang",CART_CHECKOUT:"gio-hang/thanh-toan",ORDER_CONFIRMATION:"kiem-tra-don-hang",PROMOTION:"khuyen-mai"}},HEADER_LOGO_ALIGNMENT:"188px",globalFontFamily:"Inter",ENABLE_COMMUNITY_LOCALES:["vi-VN","id-ID","ms-MY","en-PH","th-TH"],ENABLE_CARE_LOCALES:["vi-VN","id-ID","en-PH"],ENABLE_HEALTH_PARENTING_LOCALES:["vi-VN","en-PH","id-ID","ms-MY","km-KH","th-TH","my-MM","zh-TW"],SEO_SCHEMA:T});function O(o){return null!=o}var A={formatAutoCompleteAddress:function(o){return o&&o.place_id?{placeId:o.place_id,description:o.description||""}:null},formatPrice:function(o,e){var t="string"==typeof o?parseInt(o):o;return new Intl.NumberFormat(e||"vi-VN").format(t)},formatHotSearchKeyword:function(o){return{text:(null==o?void 0:o.name)||""}},formatHelpfulUrl:function(o){return{name:(null==o?void 0:o.name)||"",featuredImage:(null==o?void 0:o.featured_image)||"",url:(null==o?void 0:o.url)||""}},formatCategory:function(o,t,i){var l,n,a,r=i?i+"/"+o.slug:o.slug,s=(null===(n=null===(l=null==o?void 0:o.children)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,(function(e){return A.formatCategory(e,o.id,r)})))||[];return{id:null==o?void 0:o.id,name:(null==o?void 0:o.name)||"",logo:(null==o?void 0:o.logo)||"",slug:(null==o?void 0:o.slug)||"",fullSlug:r||"",children:s,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(a=o.products)||void 0===a?void 0:a.map(A.formatProduct))||[]}},formatFooterInfo:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g=(null===(i=null===(t=null===(e=null==o?void 0:o.branch)||void 0===e?void 0:e.branch)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{flag:o.flag||"",name:o.name||"",url:o.url||""}})))||[],O=(null===(a=null===(n=null===(l=null==o?void 0:o.general)||void 0===l?void 0:l.verified)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return{image:o.image||"",url:o.url||""}})))||[],A=(null===(s=null===(r=null==o?void 0:o.menu)||void 0===r?void 0:r.map)||void 0===s?void 0:s.call(r,(function(o){var e,t;return{menu_title:o.menu_title,items:null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{title:o.title,url:o.url}}))}})))||[],f=(null===(d=null===(c=null===(u=null==o?void 0:o.social)||void 0===u?void 0:u.socials)||void 0===c?void 0:c.map)||void 0===d?void 0:d.call(c,(function(o){return{icon:o.icon||"",name:o.name||"",url:o.url||""}})))||[];return{branch:{title:(null===(m=null==o?void 0:o.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==o?void 0:o.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==o?void 0:o.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(I=null===(v=null==o?void 0:o.general)||void 0===v?void 0:v.copyright)&&void 0!==I?I:"",verified:O},menu:A,social:{title:(null===(T=null==o?void 0:o.social)||void 0===T?void 0:T.title)||"",socials:f}}},formatNavigation:function(o){var e,t,i,l,n,a;return{hotSearchKeywords:(null===(t=null===(e=null==o?void 0:o.hot_search_keywords)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatHotSearchKeyword))||[],helpfulUrls:(null===(l=null===(i=null==o?void 0:o.helpful_urls)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatHelpfulUrl))||[],categories:(null===(a=null===(n=null==o?void 0:o.categories)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,(function(o){return A.formatCategory(o)})))||[],footer:A.formatFooterInfo(null==o?void 0:o.footer),storeId:(null==o?void 0:o.store_id)||0,customerId:(null==o?void 0:o.customer_id)||0,cartItemsQty:"number"==typeof(null==o?void 0:o.cart_items_qty)?o.cart_items_qty:null}},formatPriceInfo:function(o){return o?{final:o.final||0,regular:o.regular||0,discountPercent:o.discount_percent||0}:null},formatProduct:function(o){var e,t,i,l;if(!o)return null;var n={final:0,regular:0,discountPercent:0};return{id:o.id||0,price:o.price&&A.formatPriceInfo(o.price)||n,thumbnail:o.thumbnail||"",name:o.name||"",averageRating:Number((o.average_rating||0).toFixed(2)),reviewsCount:o.reviews_count||0,tag:o.tag||null,sku:o.sku||"",slug:o.slug||"",images:o.images||[],tags:o.tags||[],unit:o.unit||"",brand:o.brand?{name:o.brand.name||"",image:o.brand.image||"",slug:o.brand.slug||"",productsCount:o.brand.products_count||0}:null,description:o.description||"",productPromotions:(null===(t=null===(e=o.product_promotions)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatProductPromotion).filter(O))||[],categories:(null===(l=null===(i=o.categories)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,(function(o){return A.formatCategory(o)})).filter(O))||[],isInStock:(null==o?void 0:o.is_in_stock)||!1}},formatBanner:function(o){return o?{name:o.name||"",url:o.url||"",featuredImage:o.featured_image||"",alt:o.image_alt}:null},formatBlogPost:function(o){var e,t;return o?{title:o.title||"",image:o.image||"",link:o.link||"",postData:o.post_data?{reviewed:o.post_data.reviewed?{author:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.author||void 0),editor:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.editor||void 0),expert:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.expert||void 0),factCheck:A.formatBlogPostDataReviewedUser(o.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(o.post_data.reviewed.is_author)}:null,categories:o.post_data.categories?null===(t=(e=o.post_data.categories).map)||void 0===t?void 0:t.call(e,(function(o){return{termId:o.term_id||0,name:o.name||"",permalink:o.permalink||"",textColor:o.text_color||""}})):[],postDate:o.post_data.post_date||"",postModified:o.post_data.post_modified||"",modifiedTime:o.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:function(o){return o?{id:o.ID||0,userId:o.user_id||0,formerRole:o.former_role||"",role:o.role||"",slug:o.slug||"",displayName:o.display_name||"",description:o.description||"",profileUrl:o.profile_url||"",avatar:o.avatar||"",avatarThumbnail:o.avatar_thumbnail||"",turnOffProfile:Boolean(o.turn_off_profile)}:null},formatBrand:function(o){var e,t,i,l;return o?{id:o.id||0,image:o.image||"",position:o.position||"",isPopular:o.is_popular||!1,summary:o.summary||"",name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatHomePage:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_,h,E,v,I,T,g;return o?{brands:o.brands?null===(t=(e=o.brands).map)||void 0===t?void 0:t.call(e,A.formatBrand).filter(O):[],hotDeals:o.hot_deals?null===(l=(i=o.hot_deals).map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O):[],newProducts:o.new_products?null===(a=(n=o.new_products).map)||void 0===a?void 0:a.call(n,A.formatProduct).filter(O):[],slideBanners:o.slide_banners?null===(s=(r=o.slide_banners).map)||void 0===s?void 0:s.call(r,A.formatBanner).filter(O):[],subBanners:o.sub_banners?null===(c=(u=o.sub_banners).map)||void 0===c?void 0:c.call(u,A.formatBanner).filter(O):[],footerBanners:o.footer_banners?null===(m=(d=o.footer_banners).map)||void 0===m?void 0:m.call(d,A.formatBanner).filter(O):[],blogPosts:o.blog_posts?null===(_=(p=o.blog_posts).map)||void 0===_?void 0:_.call(p,A.formatBlogPost).filter(O):[],popularCategories:o.popular_categories?null===(E=(h=o.popular_categories).map)||void 0===E?void 0:E.call(h,(function(o){return A.formatCategory(o)})).filter(O):[],suggestProducts:o.suggest_products?null===(I=(v=o.suggest_products).map)||void 0===I?void 0:I.call(v,(function(o){return A.formatCategory(o)})).filter(O):[],promotions:o.promotions?null===(g=(T=o.promotions).map)||void 0===g?void 0:g.call(T,(function(o){return A.formatPromotion(o)})).filter(O):[]}:null},formatCategoryPage:function(o){var e,t,i,l;return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",description:o.description||null,banners:(null===(t=null===(e=o.banners)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatBanner).filter(O))||[],bestsellerProducts:(null===(l=null===(i=o.bestseller_products)||void 0===i?void 0:i.map)||void 0===l?void 0:l.call(i,A.formatProduct).filter(O))||[]}:null},formatBrandPage:function(o){return o?A.formatBrand(o):null},formatPagination:function(o){return o?{current:o.current||0,first:o.first||0,itemsPerPage:o.items_per_page||0,last:o.last||0,next:o.next||0,prev:o.prev||0,totalItems:o.total_items||0}:null},formatProductDetailPage:function(e){var t,i,l,n,a,r,s,u;return e?o(o({},A.formatProduct(e)),{relatedProducts:(null===(i=null===(t=e.related_products)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,A.formatProduct).filter(O))||[],bestsellerProducts:(null===(n=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===n?void 0:n.call(l,A.formatProduct).filter(O))||[],viewedProducts:(null===(r=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===r?void 0:r.call(a,A.formatProduct).filter(O))||[],promotions:(null===(u=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===u?void 0:u.call(s,A.formatPromotion).filter(O))||[]}):null},formatProductReview:function(o){var e,t;return o?{reviewId:o.review_id||"",createdAt:o.created_at||"",title:o.title||"",detail:o.detail||"",nickname:o.nick_name||"",avatar:o.avatar||"",ratingVotes:(null===(t=null===(e=o.rating_votes)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{ratingCode:o.rating_code||"",value:Number(o.value)||0,percent:Number(o.percent)||0}})))||[],images:o.images||[]}:null},formatProductPromotion:function(o){return o?{id:o.id||0,name:o.name||"",thumbnail:o.thumbnail||"",expirationDate:o.expiration_date||""}:null},formatPromotion:function(o){return o?{id:o.id||0,name:o.name||"",slug:o.slug||"",thumbnail:o.thumbnail||"",expiredDate:o.expired_date||"",banners:o.banners||[],points:0,description:o.description||"",metaTitle:o.meta_title||"",metaKeywords:o.meta_keywords||"",metaDescription:o.meta_description||""}:null},formatCustomAttributes:function(o,e){var t;return(null==o?void 0:o.length)&&(null===(t=null==o?void 0:o.find((function(o){return o.attribute_code===e})))||void 0===t?void 0:t.value)||""},formatAddress:function(o){var e,t,i,l;return o?{id:o.id||0,fullName:o.firstname||"",telephone:o.telephone||"",province:{value:null===(e=o.region)||void 0===e?void 0:e.region_id,label:null===(t=o.region)||void 0===t?void 0:t.region}||null,district:{value:A.formatCustomAttributes(o.custom_attributes,"district_id"),label:A.formatCustomAttributes(o.custom_attributes,"district")},commune:{value:A.formatCustomAttributes(o.custom_attributes,"ward_id"),label:A.formatCustomAttributes(o.custom_attributes,"ward")},street:(null===(i=null==o?void 0:o.street)||void 0===i?void 0:i.length)?null==o?void 0:o.street[0]:"",isDefault:o.default_billing&&o.default_shipping||!1,fullAddress:(null===(l=null==o?void 0:o.extension_attributes)||void 0===l?void 0:l.full_address)||""}:null},formatProvince:function(o){return(null==o?void 0:o.available_regions)?o.available_regions.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatDistrict:function(o){return(null==o?void 0:o.districts)?o.districts.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatCommune:function(o){return(null==o?void 0:o.communes)?o.communes.map((function(o){return{value:o.id||"",label:o.name||""}})):[]},formatOrder:function(o){var e,t;return o?{orderNumber:(null==o?void 0:o.order_number)||"",shippingData:(null==o?void 0:o.shipping_data)?{shippingMethod:o.shipping_data.shipping_method||"",shippingDescription:o.shipping_data.shipping_description||"",shippingAddress:o.shipping_data.shipping_address?{fullName:o.shipping_data.shipping_address.firstname||"",fullAddress:o.shipping_data.shipping_address.full_address||"",telephone:o.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==o?void 0:o.ordered_date)||"",status:(null==o?void 0:o.status)||null,totals:(null==o?void 0:o.totals)?{subtotal:o.totals.subtotal||0,shippingAmount:o.totals.shipping_amount||0,discountAmount:o.totals.discount_amount||0,grandTotal:o.totals.grand_total||0}:null,products:(null===(t=null===(e=null==o?void 0:o.products)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,(function(o){return{sku:o.sku||"",name:o.name||"",price:o.price||0,rowTotal:o.row_total||0,image:o.image||"",qty:o.qty||0}})))||[],paymentMethod:(null==o?void 0:o.payment_method)||""}:null},formatStatistic:function(o){var e,t,i,l,n;return o?{pending:Number(null===(e=null==o?void 0:o.find((function(o){return"pending"===o.status})))||void 0===e?void 0:e.amount)||0,processing:Number(null===(t=null==o?void 0:o.find((function(o){return"processing"===o.status})))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(i=null==o?void 0:o.find((function(o){return"delivering"===o.status})))||void 0===i?void 0:i.amount)||0,complete:Number(null===(l=null==o?void 0:o.find((function(o){return"complete"===o.status})))||void 0===l?void 0:l.amount)||0,canceled:Number(null===(n=null==o?void 0:o.find((function(o){return"canceled"===o.status})))||void 0===n?void 0:n.amount)||0}:{}},formatCartItem:function(o){var e,t,i,l,n,a,r,s;return o?{itemId:o.item_id||0,sku:o.sku||"",qty:o.qty||0,name:o.name||"",price:o.price||0,basePrice:(null===(e=o.extension_attributes)||void 0===e?void 0:e.base_price)||0,productType:o.product_type||"",quoteId:o.quote_id||"",thumbnail:(null===(t=o.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(i=o.extension_attributes)||void 0===i?void 0:i.row_total)||0,promotions:(null===(a=null===(n=null===(l=o.extension_attributes)||void 0===l?void 0:l.promotions)||void 0===n?void 0:n.map)||void 0===a?void 0:a.call(n,A.formatProductPromotion))||[],isInStock:(null===(r=o.extension_attributes)||void 0===r?void 0:r.is_in_stock)||!1,urlProduct:(null===(s=o.extension_attributes)||void 0===s?void 0:s.url_key)||""}:null},formatCartAddress:function(o){var e;return o?{customerAddressId:(null==o?void 0:o.customer_address_id)||0,id:o.id||0,region:o.region||"",regionId:o.region_id||0,regionCode:o.region_code||"",countryId:o.country_id||"",street:o.street||[],postcode:o.postcode||"",city:o.city||"",firstname:o.firstname||"",lastname:o.lastname||"",customerId:o.customer_id||0,email:o.email||"",telephone:o.telephone||"",sameAsBilling:o.same_as_billing||0,saveInAddressBook:o.save_in_address_book||0,fullAddress:(null===(e=o.extension_attributes)||void 0===e?void 0:e.full_address)||""}:null},formatEstimatedShipping:function(o){return o?{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",carrierTitle:o.carrier_title||"",methodTitle:o.method_title||"",amount:o.amount||0,baseAmount:o.base_amount||0,available:o.available||!1,errorMessage:o.error_message||"",priceExclTax:o.price_excl_tax||0,priceInclTax:o.price_incl_tax||0}:null},formatCartLoggedInCustomer:function(o){var e,t,i;return o?{email:o.email||"",firstname:o.firstname||"",lastname:o.lastname||"",id:o.id||0,groupId:o.group_id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",createdIn:o.created_in||"",storeId:o.store_id||0,websiteId:o.website_id||0,addresses:(null===(t=null===(e=o.addresses)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartAddress))||[],disableAutoGroupChange:o.disable_auto_group_change||0,isSubscribed:(null===(i=o.extension_attributes)||void 0===i?void 0:i.is_subscribed)||!1}:null},formatCart:function(o){var e,t,i,l,n,a,r,s,u,c,d,m,p,_;return o?{id:o.id||0,createdAt:o.created_at||"",updatedAt:o.updated_at||"",isActive:o.is_active||!1,isVirtual:o.is_virtual||!1,items:(null===(i=null===(t=null===(e=o.items)||void 0===e?void 0:e.map)||void 0===t?void 0:t.call(e,A.formatCartItem))||void 0===i?void 0:i.sort((function(o,e){return Number(null==e?void 0:e.isInStock)-Number(null==o?void 0:o.isInStock)})))||[],itemsCount:o.items_count||0,itemsQty:o.items_qty||0,customer:o.customer?A.formatCartLoggedInCustomer(o.customer):null,billingAddress:o.billing_address?A.formatCartAddress(o.billing_address):null,origOrderId:o.orig_order_id||0,currency:{globalCurrencyCode:(null===(l=o.currency)||void 0===l?void 0:l.global_currency_code)||"",baseCurrencyCode:(null===(n=o.currency)||void 0===n?void 0:n.base_currency_code)||"",storeCurrencyCode:(null===(a=o.currency)||void 0===a?void 0:a.store_currency_code)||"",quoteCurrencyCode:(null===(r=o.currency)||void 0===r?void 0:r.quote_currency_code)||"",storeToBaseRate:(null===(s=o.currency)||void 0===s?void 0:s.store_to_base_rate)||0,storeToQuoteRate:(null===(u=o.currency)||void 0===u?void 0:u.store_to_quote_rate)||0,baseToGlobalRate:(null===(c=o.currency)||void 0===c?void 0:c.base_to_global_rate)||0,baseToQuoteRate:(null===(d=o.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:o.customer_is_guest||!1,customerNoteNotify:o.customer_note_notify||!1,customerTaxClassId:o.customer_tax_class_id||0,storeId:o.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=o.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(function(o){var e,t,i;return{shipping:{address:o.shipping.address?A.formatCartAddress(o.shipping.address):null,method:(null===(e=o.shipping)||void 0===e?void 0:e.method)||""},items:(null===(i=(t=o.items).map)||void 0===i?void 0:i.call(t,A.formatCartItem))||[]}}))}:null},formatCartTotal:function(o){var e,t,i;return o?{grandTotal:o.grand_total||0,baseGrandTotal:o.base_grand_total||0,subtotal:o.subtotal||0,baseSubtotal:o.base_subtotal||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,subtotalWithDiscount:o.subtotal_with_discount||0,baseSubtotalWithDiscount:o.base_subtotal_with_discount||0,shippingAmount:o.shipping_amount||0,baseShippingAmount:o.base_shipping_amount||0,shippingDiscountAmount:o.shipping_discount_amount||0,baseShippingDiscountAmount:o.base_shipping_discount_amount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,shippingTaxAmount:o.shipping_tax_amount||0,baseShippingTaxAmount:o.base_shipping_tax_amount||0,subtotalInclTax:o.subtotal_incl_tax||0,shippingInclTax:o.shipping_incl_tax||0,baseShippingInclTax:o.base_shipping_incl_tax||0,baseCurrencyCode:o.base_currency_code||"",quoteCurrencyCode:o.quote_currency_code||"",itemsQty:o.items_qty||0,coupon:{couponCode:o.coupon_code||"",couponDescription:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.coupon_description_text)||""},items:(null===(i=null===(t=o.items)||void 0===t?void 0:t.map)||void 0===i?void 0:i.call(t,(function(o){return{itemId:o.item_id||0,price:o.price||0,basePrice:o.base_price||0,qty:o.qty||0,rowTotal:o.row_total||0,baseRowTotal:o.base_row_total||0,rowTotalWithDiscount:o.row_total_with_discount||0,taxAmount:o.tax_amount||0,baseTaxAmount:o.base_tax_amount||0,taxPercent:o.tax_percent||0,discountAmount:o.discount_amount||0,baseDiscountAmount:o.base_discount_amount||0,discountPercent:o.discount_percent||0,priceInclTax:o.price_incl_tax||0,basePriceInclTax:o.base_price_incl_tax||0,rowTotalInclTax:o.row_total_incl_tax||0,baseRowTotalInclTax:o.base_row_total_incl_tax||0,options:o.options||"",weeeTaxAppliedAmount:o.weee_tax_applied_amount||0,weeeTaxApplied:o.weee_tax_applied||0,name:o.name||""}})))||[],totalSegments:o.total_segments||[]}:null},formatPaymentMethod:function(o){return o?null==o?void 0:o.map((function(o){return{code:(null==o?void 0:o.payment_code)||"",title:(null==o?void 0:o.payment_title)||"",thumbnail:(null==o?void 0:o.payment_thumbnail)||""}})):null},formatPaymentInformation:function(o){var e;return o?{paymentMethods:A.formatPaymentMethod(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.payment_detail_info)||[],totals:A.formatCartTotal(o.totals)}:null},formatOrderConfirmation:function(o){return o?{isSuccess:o.is_success||!1,orderInfo:A.formatOrder(o.order_info)}:null},formatCoupons:function(o){var e;return(null===(e=null==o?void 0:o.items)||void 0===e?void 0:e.length)?o.items.map((function(o){return{code:(null==o?void 0:o.code)||"",name:(null==o?void 0:o.name)||"",thumbnail:(null==o?void 0:o.thumbnail)||"",description:(null==o?void 0:o.expired_date)||""}})):null},formatShippings:function(o){return o?o.map((function(o){var e;return{carrierCode:o.carrier_code||"",methodCode:o.method_code||"",title:o.carrier_title||"",description:o.method_title||"",price:(null==o?void 0:o.base_amount)||0,thumbnail:(null===(e=null==o?void 0:o.extension_attributes)||void 0===e?void 0:e.thumbnail)||""}})):[]}},f=Object.freeze({__proto__:null,dataFormatter:A});export{n as EcomApiTypes,g as EcomConstants,f as EcomDataFormatter,a as EcomDataTypes};
|
package/build/esm/footer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import n from"react";import{B as e}from"./index-bfb83ce8.js";import{C as t}from"./index-a0d0d5fa.js";import{T as a}from"./index-a0e2043c.js";import{d as i}from"./index-e675632b.js";import{t as o}from"./theme-13d11d67.js";import{u as l}from"./useTranslations-05d40ae4.js";import{b as r}from"./tslib.es6-2fa94e2c.js";import{M as c}from"./utils-40d4438f.js";import s from"styled-components";import{L as m}from"./index-550f04ea.js";import{M as d}from"./index-20a09f62.js";import"./gAssets.js";import"./isProduction-6fc0946c.js";import"./Locale-69030fff.js";import"./translationsContext-7cd9a0bc.js";import"string-format";var p,g,u,x,f,h,v,b,y,w=s.footer(p||(p=r(["\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"])),c.mbDown,c.mbDown,c.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),c.mbUp,c.mbDown,(function(n){return n.theme.colors.neutral500}),c.mbUp,c.mbUp,(function(n){return n.theme.colors.neutral500}),c.mbDown,(function(n){return n.theme.colors.neutral500}),c.mbDown,c.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),c.mbDown,(function(n){return n.theme.colors.neutral500}),c.mbDown,c.mbUp,(function(n){return n.theme.colors.neutral500}),c.mbDown,c.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),c.mbUp),E=s.div(g||(g=r(["\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"]))),k=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,l=e.dataEventLabel,r=e.isAmp;return n.createElement(E,{"data-is-mobile":a},r?n.createElement("amp-img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":l}):n.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":l}))},N=function(r){var c,s,m,d,p,g,u,x,f,h,v,b,y,E,N,z,j,F,C,D,M,L,A,T,B,H,S,U,I,_,G=r.className,P=r.type,X=void 0===P?"main":P,V=r.footerInfo,q=r.isMobile,J=r.locale,K=r.isAmp,O=l().t,Q=null==V?void 0:V.menu,R=(null===(s=null===(c=null==V?void 0:V.general)||void 0===c?void 0:c.verified)||void 0===s?void 0:s.filter(Boolean))||[];return n.createElement(w,{as:K&&"mini"===X?"div":"footer",className:G,style:"mini"===X?{backgroundColor:o.colors.neutral50}:{},"next-page-hide":!0},n.createElement(t,null,n.createElement("div",{className:"inner","data-type":X,"next-page-hide":""},"main"===X?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},K?(null===(d=null==V?void 0:V.general)||void 0===d?void 0:d.logo)?n.createElement("amp-img",{src:null===(p=null==V?void 0:V.general)||void 0===p?void 0:p.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(m=null==V?void 0:V.general)||void 0===m?void 0:m.logo,alt:"Logo","data-is-sehat":"id-ID"===J})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(a,{size:"p1",type:"bold"},null===(g=null==V?void 0:V.general)||void 0===g?void 0:g.content),n.createElement(e,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(a,{size:"sm",type:"regular"},null===(u=null==V?void 0:V.social)||void 0===u?void 0:u.title),n.createElement("div",{className:"icons"},null===(f=null===(x=null==V?void 0:V.social)||void 0===x?void 0:x.socials)||void 0===f?void 0:f.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},K?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Q&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(v=null===(h=Q[0])||void 0===h?void 0:h.items)||void 0===v?void 0:v.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(i[J]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(b=Q[1])||void 0===b?void 0:b.menu_title),null===(E=null===(y=Q[1])||void 0===y?void 0:y.items)||void 0===E?void 0:E.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(i[J]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(a,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(i[J]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(N=Q[2])||void 0===N?void 0:N.menu_title),null===(j=null===(z=Q[2])||void 0===z?void 0:z.items)||void 0===j?void 0:j.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(a,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!K&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(F=null==V?void 0:V.branch)||void 0===F?void 0:F.title),n.createElement("div",{className:"flags"},null===(D=null===(C=null==V?void 0:V.branch)||void 0===C?void 0:C.branch)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(k,{url:e.flag,isMobile:q,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url,isAmp:K}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":K||void 0},n.createElement("div",{className:"copyright-image-wrapper"},R.length?R.map((function(e,t){return n.createElement("a",{href:e.url,key:t,className:"copyright-image"},K?n.createElement("amp-img",{src:e.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"}))})):null),n.createElement(a,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==V?void 0:V.general)||void 0===M?void 0:M.copyright)),"vi-VN"===J&&n.createElement(a,{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")):n.createElement(n.Fragment,null,(null==V?void 0:V.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(L=null==V?void 0:V.menu[1])||void 0===L?void 0:L.menu_title),null===(T=null===(A=null==V?void 0:V.menu[1])||void 0===A?void 0:A.items)||void 0===T?void 0:T.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(i[J]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(i[J]).concat(e.url)},n.createElement(a,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(i[J]).concat(e.url),size:"sm",type:"regular",style:{color:o.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==V?void 0:V.menu[2])||void 0===B?void 0:B.menu_title),null===(S=null===(H=null==V?void 0:V.menu[2])||void 0===H?void 0:H.items)||void 0===S?void 0:S.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(a,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!K&&"mini"!==X&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(a,{size:"sm",type:"regular"},null===(U=null==V?void 0:V.social)||void 0===U?void 0:U.title),n.createElement("div",{className:"icons"},null===(_=null===(I=null==V?void 0:V.social)||void 0===I?void 0:I.socials)||void 0===_?void 0:_.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},K?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},z=s.footer(u||(u=r(["\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})),j=s.div(x||(x=r(["\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}),c.tdDown,c.mbDown),F=s.div(f||(f=r(["\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"])),c.mbDown),C=s.div(h||(h=r(["\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"]))),D=s.div(v||(v=r(["\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"])),c.mbDown),M=s.div(b||(b=r(["\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}),c.tdDown,c.mbDown),L=s.div(y||(y=r(["\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}),c.mbDown),A=function(e){var a,i=e.logoType,l=void 0===i?"marryBaby":i,r=e.footerMenu,c=e.background;if(!r)return null;var s=r.general,p=r.menu,g=r.socials;return n.createElement(z,{style:{backgroundColor:c||"none"}},n.createElement(L,null,n.createElement(t,null,n.createElement(j,null,null==p?void 0:p.map((function(e,t){var a=e.menu_title,i=e.items;return n.createElement(F,{key:"mbf".concat(t)},n.createElement(d,{className:"title",type:"subtitle-1",color:o.mbColors.pink},a),null==i?void 0:i.map((function(e,t){var a=e.title,i=e.url;return n.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(C,{key:"mbitem".concat(t)},n.createElement(d,{type:"bodytext-2",color:o.mbColors.gray},a)))})))})))),n.createElement(t,null,n.createElement(D,null,n.createElement(m,{className:"logo",type:l}),n.createElement("div",{className:"content"},n.createElement(d,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),n.createElement("div",{className:"social-link"},null==g?void 0:g.map((function(e,t){var a=e.icon,i=e.name,o=e.url;return n.createElement("a",{key:"social".concat(t),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(i),"data-content-label":i,href:o},n.createElement("img",{loading:"lazy",src:a,alt:i}))}))))),n.createElement(M,null,n.createElement(t,null,n.createElement("div",{className:"content"},n.createElement(d,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),n.createElement("div",{className:"verify"},null===(a=null==s?void 0:s.verified)||void 0===a?void 0:a.map((function(e,t){var a=e.image,i=e.url;return n.createElement("img",{loading:"lazy",key:"imgMbFt".concat(t),src:a,alt:i})}))))))))},T=function(e){var t=e.type,a=e.isMobile,i=void 0===a||a,o=e.locale,l=e.footerInfo,r=e.isAmp,c=e.siteType,s=e.background;return"helloSites"===c?n.createElement(N,{isAmp:r,isMobile:i,type:t,locale:o,footerInfo:l||{}}):n.createElement(A,{footerMenu:l,background:s})};export{T as Footer};
|
|
1
|
+
import n from"react";import{B as e}from"./index-613cf5d4.js";import{C as t}from"./index-0459d803.js";import{T as a}from"./index-61536465.js";import{d as i}from"./index-e1487bae.js";import{t as o}from"./theme-4a36a09c.js";import{u as l}from"./useTranslations-e769d6fe.js";import{b as r}from"./tslib.es6-c7fb770c.js";import{M as c}from"./utils-a4496303.js";import s from"styled-components";import{L as m}from"./index-ef0c076e.js";import{M as d}from"./index-749708a4.js";import"./gAssets.js";import"./isProduction-0f7c16f9.js";import"./Locale-597e8a2f.js";import"./translationsContext-c5cf6a09.js";import"string-format";var p,g,u,x,f,h,v,b,y,w=s.footer(p||(p=r(["\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"])),c.mbDown,c.mbDown,c.mbUp,(function(n){return n.theme.colors.neutral500}),(function(n){return n.theme.colors.neutral500}),c.mbUp,c.mbDown,(function(n){return n.theme.colors.neutral500}),c.mbUp,c.mbUp,(function(n){return n.theme.colors.neutral500}),c.mbDown,(function(n){return n.theme.colors.neutral500}),c.mbDown,c.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),c.mbDown,(function(n){return n.theme.colors.neutral500}),c.mbDown,c.mbUp,(function(n){return n.theme.colors.neutral500}),c.mbDown,c.mbUp,(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),c.mbUp),E=s.div(g||(g=r(["\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"]))),k=function(e){var t=e.url,a=e.isMobile,i=e.dataEventCategory,o=e.dataEventAction,l=e.dataEventLabel,r=e.isAmp;return n.createElement(E,{"data-is-mobile":a},r?n.createElement("amp-img",{className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":l}):n.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":i,"data-event-action":o,"data-content-label":l}))},N=function(r){var c,s,m,d,p,g,u,x,f,h,v,b,y,E,N,z,j,F,C,D,M,L,A,T,B,H,S,U,I,_,G=r.className,P=r.type,X=void 0===P?"main":P,V=r.footerInfo,q=r.isMobile,J=r.locale,K=r.isAmp,O=l().t,Q=null==V?void 0:V.menu,R=(null===(s=null===(c=null==V?void 0:V.general)||void 0===c?void 0:c.verified)||void 0===s?void 0:s.filter(Boolean))||[];return n.createElement(w,{as:K&&"mini"===X?"div":"footer",className:G,style:"mini"===X?{backgroundColor:o.colors.neutral50}:{},"next-page-hide":!0},n.createElement(t,null,n.createElement("div",{className:"inner","data-type":X,"next-page-hide":""},"main"===X?n.createElement(n.Fragment,null,n.createElement("a",{href:"/"},K?(null===(d=null==V?void 0:V.general)||void 0===d?void 0:d.logo)?n.createElement("amp-img",{src:null===(p=null==V?void 0:V.general)||void 0===p?void 0:p.logo,alt:"Site logo",width:"132",height:"32",style:{marginBottom:24}}):null:n.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(m=null==V?void 0:V.general)||void 0===m?void 0:m.logo,alt:"Logo","data-is-sehat":"id-ID"===J})),n.createElement("div",{className:"columns"},n.createElement("div",{className:"newsletter"},n.createElement(a,{size:"p1",type:"bold"},null===(g=null==V?void 0:V.general)||void 0===g?void 0:g.content),n.createElement(e,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),n.createElement("div",{className:"social"},n.createElement(a,{size:"sm",type:"regular"},null===(u=null==V?void 0:V.social)||void 0===u?void 0:u.title),n.createElement("div",{className:"icons"},null===(f=null===(x=null==V?void 0:V.social)||void 0===x?void 0:x.socials)||void 0===f?void 0:f.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},K?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",className:"social-icon"}))}))),n.createElement("hr",{className:"hrMobile"}))),n.createElement("div",null,Q&&n.createElement(n.Fragment,null,n.createElement("div",{className:"biglinks"},null===(v=null===(h=Q[0])||void 0===h?void 0:h.items)||void 0===v?void 0:v.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(i[J]).concat(e.url),className:"bigLink",key:t,href:e.url},e.title)}))),n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(b=Q[1])||void 0===b?void 0:b.menu_title),null===(E=null===(y=Q[1])||void 0===y?void 0:y.items)||void 0===E?void 0:E.map((function(e,t){return n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(i[J]).concat(e.url),className:"link",href:e.url,key:t},n.createElement(a,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(i[J]).concat(e.url)},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(N=Q[2])||void 0===N?void 0:N.menu_title),null===(j=null===(z=Q[2])||void 0===z?void 0:z.items)||void 0===j?void 0:j.map((function(e,t){return e.url&&n.createElement("a",{"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url,className:"link",href:e.url,key:t},n.createElement(a,{size:"sm",type:"regular",dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))})))),!K&&n.createElement(n.Fragment,null,n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"otherSites"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(F=null==V?void 0:V.branch)||void 0===F?void 0:F.title),n.createElement("div",{className:"flags"},null===(D=null===(C=null==V?void 0:V.branch)||void 0===C?void 0:C.branch)||void 0===D?void 0:D.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-event-category":"Footer","data-event-action":e.name,"data-event-label":e.url},n.createElement(k,{url:e.flag,isMobile:q,dataEventCategory:"Footer",dataEventAction:e.name,dataEventLabel:e.url,isAmp:K}))}))))))),n.createElement("hr",null),n.createElement("div",{className:"copyright","data-is-amp":K||void 0},n.createElement("div",{className:"copyright-image-wrapper"},R.length?R.map((function(e,t){return n.createElement("a",{href:e.url,key:t,className:"copyright-image"},K?n.createElement("amp-img",{src:e.image,alt:"DMCA Icon",width:"100",height:"36"}):n.createElement("img",{loading:"lazy",src:e.image,alt:"DMCA Icon"}))})):null),n.createElement(a,{size:"xs",type:"regular",className:"copyright-content"},null===(M=null==V?void 0:V.general)||void 0===M?void 0:M.copyright)),"vi-VN"===J&&n.createElement(a,{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")):n.createElement(n.Fragment,null,(null==V?void 0:V.menu)&&n.createElement("div",{className:"columns"},n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(L=null==V?void 0:V.menu[1])||void 0===L?void 0:L.menu_title),null===(T=null===(A=null==V?void 0:V.menu[1])||void 0===A?void 0:A.items)||void 0===T?void 0:T.map((function(e){return n.createElement("a",{className:"link",href:e.url,key:e.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":e.title,"data-content-id":"https://".concat(i[J]).concat(e.url),"data-event-category":"Footer","data-event-action":e.title,"data-event-label":"https://".concat(i[J]).concat(e.url)},n.createElement(a,{dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:"https://".concat(i[J]).concat(e.url),size:"sm",type:"regular",style:{color:o.colors.gray800}},e.title))}))),n.createElement("div",{className:"mHalf"},n.createElement(a,{type:"regular",size:"sm",className:"linkTitle"},null===(B=null==V?void 0:V.menu[2])||void 0===B?void 0:B.menu_title),null===(S=null===(H=null==V?void 0:V.menu[2])||void 0===H?void 0:H.items)||void 0===S?void 0:S.map((function(e,t){return n.createElement("a",{className:"link",href:e.url,key:t,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":e.title,"data-content-id":e.url,"data-event-category":"Footer","data-event-action":e.title,"data-event-label":e.url},n.createElement(a,{size:"sm",type:"regular",style:{color:o.colors.gray800},dataEventCategory:"Footer",dataEventAction:e.title,dataEventLabel:e.url},e.title))}))),!K&&"mini"!==X&&n.createElement("hr",{className:"hrMobile"}),n.createElement("div",{className:"newsletter"},n.createElement("div",{className:"social"},n.createElement(a,{size:"sm",type:"regular"},null===(U=null==V?void 0:V.social)||void 0===U?void 0:U.title),n.createElement("div",{className:"icons"},null===(_=null===(I=null==V?void 0:V.social)||void 0===I?void 0:I.socials)||void 0===_?void 0:_.map((function(e,t){return n.createElement("a",{key:t,"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,href:e.url},K?n.createElement("amp-img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",width:"32",height:"32"}):n.createElement("img",{"data-event-category":"Footer","data-event-action":"Follow us - ".concat(e.name),"data-content-label":e.url,src:e.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))}))))))))))},z=s.footer(u||(u=r(["\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})),j=s.div(x||(x=r(["\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}),c.tdDown,c.mbDown),F=s.div(f||(f=r(["\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"])),c.mbDown),C=s.div(h||(h=r(["\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"]))),D=s.div(v||(v=r(["\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"])),c.mbDown),M=s.div(b||(b=r(["\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}),c.tdDown,c.mbDown),L=s.div(y||(y=r(["\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}),c.mbDown),A=function(e){var a,i=e.logoType,l=void 0===i?"marryBaby":i,r=e.footerMenu,c=e.background;if(!r)return null;var s=r.general,p=r.menu,g=r.socials;return n.createElement(z,{style:{backgroundColor:c||"none"}},n.createElement(L,null,n.createElement(t,null,n.createElement(j,null,null==p?void 0:p.map((function(e,t){var a=e.menu_title,i=e.items;return n.createElement(F,{key:"mbf".concat(t)},n.createElement(d,{className:"title",type:"subtitle-1",color:o.mbColors.pink},a),null==i?void 0:i.map((function(e,t){var a=e.title,i=e.url;return n.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":"".concat(i),className:"link",href:i,key:"footer-links-".concat(t)},n.createElement(C,{key:"mbitem".concat(t)},n.createElement(d,{type:"bodytext-2",color:o.mbColors.gray},a)))})))})))),n.createElement(t,null,n.createElement(D,null,n.createElement(m,{className:"logo",type:l}),n.createElement("div",{className:"content"},n.createElement(d,{type:"bodytext-2",color:o.mbColors.gray},null==s?void 0:s.content)),n.createElement("div",{className:"social-link"},null==g?void 0:g.map((function(e,t){var a=e.icon,i=e.name,o=e.url;return n.createElement("a",{key:"social".concat(t),target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":"Follow us - ".concat(i),"data-content-label":i,href:o},n.createElement("img",{loading:"lazy",src:a,alt:i}))}))))),n.createElement(M,null,n.createElement(t,null,n.createElement("div",{className:"content"},n.createElement(d,{type:"bodytext-3",color:o.colors.white},null==s?void 0:s.copyright),n.createElement("div",{className:"verify"},null===(a=null==s?void 0:s.verified)||void 0===a?void 0:a.map((function(e,t){var a=e.image,i=e.url;return n.createElement("img",{loading:"lazy",key:"imgMbFt".concat(t),src:a,alt:i})}))))))))},T=function(e){var t=e.type,a=e.isMobile,i=void 0===a||a,o=e.locale,l=e.footerInfo,r=e.isAmp,c=e.siteType,s=e.background;return"helloSites"===c?n.createElement(N,{isAmp:r,isMobile:i,type:t,locale:o,footerInfo:l||{}}):n.createElement(A,{footerMenu:l,background:s})};export{T as Footer};
|
package/build/esm/gAssets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e}from"./index-
|
|
1
|
+
import{d as e}from"./index-e1487bae.js";import{i as o}from"./isProduction-0f7c16f9.js";import"./Locale-597e8a2f.js";var t="hellosehat.com",n=function(){function e(){var e=this;this.baseDomain="",this.subPath="",this.getAssetPath=function(t,n,i){var s="https://hhg-common."+[n||e.getBaseDomain(),i||e.subPath,t].join("/");return o||process.env.JEST_WORKER_ID?s:s+"?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("."),o=e.slice(e.length-2),n=o.join(".");return n.includes("localhost")||n.includes("hellohealthgroup")||o.every((function(e){return o=e,!isNaN(parseFloat(o))&&isFinite(o);var o}))?t:o.join(".")}return t},e}(),i=new n;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=e[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,n as GAssets};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as t,e as n}from"./tslib.es6-
|
|
1
|
+
import{d as t,e as n}from"./tslib.es6-c7fb770c.js";import{g as e}from"./core-6e924d14.js";import{c as r}from"./routing-405df031.js";var i=function(t,n){var e,r;if(!t)return{};var i="tl-PH"===n?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(e=t.link)||void 0===e?void 0:e.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}},o=function(e){return t(void 0,void 0,void 0,(function(){var t,o,s,l,u,a,c;return n(this,(function(n){switch(n.label){case 0:return n.trys.push([0,8,,9]),"undefined"==typeof window?[3,1]:(t=window.fetch,[3,3]);case 1:return[4,require("node-fetch")];case 2:t=n.sent(),n.label=3;case 3:o="tl-PH"===e?"lang=fil":"",s=[],n.label=4;case 4:return n.trys.push([4,6,,7]),[4,t("".concat(r(e),"/wp-json/api/healthtools?ismenu=0").concat(o?"&"+o:"")).then((function(t){return t.json()}))];case 5:return l=n.sent(),s=(null===(c=null===(a=null==l?void 0:l.data)||void 0===a?void 0:a.map)||void 0===c?void 0:c.call(a,(function(t){return i(t,e)})))||[],[3,7];case 6:return n.sent(),[3,7];case 7:return[2,s];case 8:return u=n.sent(),console.error(u),[3,9];case 9:return[2]}}))}))},s=function(r){return t(void 0,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,e("all-health-tools",(function(){return o(r||"en-PH")}),(function(t){return!!(null==t?void 0:t.length)}),6e4)];case 1:return[2,t.sent()||[]]}}))}))};export{s as a,i as f,o as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{L as t}from"./Locale-69030fff.js";import{CommonGAssets as C}from"./gAssets.js";var l=function(l){return[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}),e.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(l)},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(l),allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.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(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.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)"}),e.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"}),e.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"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.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(l)},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.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 "}),e.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 "}),e.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 "}),e.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 "}),e.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 "}),e.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(l),allowedLocales:[t.Taiwan]}]};export{l as g};
|
|
1
|
+
import e from"react";import{L as t}from"./Locale-597e8a2f.js";import{CommonGAssets as C}from"./gAssets.js";var l=function(l){return[{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.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"}),e.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(l)},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32}}),name:"Zalo",href:"https://sp.zalo.me/share?href=".concat(l),allowedLocales:[t.Vietnam]},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#1FA1F3"}),e.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(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("g",{clipPath:"url(#clip0_687_88944)"},e.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)"}),e.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"}),e.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"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"paint0_linear_687_88944",x1:"16.5",y1:"0.130909",x2:"16.5",y2:"30.4509",gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#36F46C"}),e.createElement("stop",{offset:"1",stopColor:"#03D749"})),e.createElement("clipPath",{id:"clip0_687_88944"},e.createElement("rect",{width:"32",height:"32",fill:"white",transform:"translate(0.5)"})))),name:"WhatsApp",href:"https://wa.me/?text=".concat(l)},{icon:e.createElement("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{x:"0.5",width:"32",height:"32",rx:"4",fill:"#0077B5"}),e.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(l)},{icon:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1"},e.createElement("g",{id:"surface1"},e.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 "}),e.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 "}),e.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 "}),e.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 "}),e.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 "}),e.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(l),allowedLocales:[t.Taiwan]}]};export{l as g};
|
package/build/esm/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{u as useTranslations}from"./useTranslations-
|
|
1
|
+
export{u as useTranslations}from"./useTranslations-e769d6fe.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-988623e5.js";export{u as useFbDataLayer}from"./useFbDataLayer-bb248530.js";export{u as useHealthToolsCache}from"./useHealthToolCache-bd293ae2.js";import"react";import"./translationsContext-c5cf6a09.js";import"string-format";import"lodash/debounce";import"./tslib.es6-c7fb770c.js";import"./cookieHelper-8dd17c53.js";import"./getDynamicHealthTool-b1a08883.js";import"./core-6e924d14.js";import"./isProduction-0f7c16f9.js";import"./routing-405df031.js";import"./index-e1487bae.js";import"./Locale-597e8a2f.js";
|
package/build/esm/i18n.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-
|
|
1
|
+
export{T as TranslationsProvider,t as translationsMap}from"./translationsProvider-2857dc12.js";export{T as TranslationsContext,d as defaultTranslations}from"./translationsContext-c5cf6a09.js";import"./tslib.es6-c7fb770c.js";import"react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as n}from"./tslib.es6-
|
|
1
|
+
import{b as n}from"./tslib.es6-c7fb770c.js";import{M as t}from"./utils-a4496303.js";import e from"styled-components";import o,{memo as a,useMemo as i}from"react";import{CommonGAssets as s}from"./gAssets.js";import{L as l}from"./Locale-597e8a2f.js";var h,g,r,p=e.div(h||(h=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"],["\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"])),t.mbDown),m=e.img(g||(g=n(["\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"]))),d=a((function(n){var t=n.type,e=n.width,a=n.height,l=i((function(){switch(t){case"hellobacsi":return{width:e||"107px",height:a||"24px",src:s.getAssetPath("logo/hellobacsi.png")};case"hellodoktor":return{width:e||"127px",height:a||"24px",src:s.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:e||"121px",height:a||"27px",src:s.getAssetPath("logo/hellosehat.png")};case"hellohealth":return{width:e||"123px",height:a||"24px",src:s.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:e||"150px",height:a||"24px",src:s.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:e||"99px",height:a||"24px",src:s.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:e||"127px",height:a||"24px",src:s.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:e||"101px",height:a||"24px",src:s.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:e||"111px",height:a||"24px",src:s.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:e||"89px",height:a||"24px",src:s.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:e||"123px",height:a||"24px",src:s.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:e||"105px",height:a||"24px",src:s.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:e||"60px",height:a||"57px",src:s.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:e||"145px",height:a||"28px",src:s.getAssetPath("logo/marrybaby.png")};default:return null}}),[t,e,a])||{},h=l.src,g=l.width,r=l.height;return o.createElement("img",{className:"main-logo-icon",src:h,style:{width:g,height:r}})})),c=function(n){var t=n.getDate();return 11===n.getMonth()&&t>=16&&t<=25},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]},f=[l.Vietnam,l.Taiwan,l.Indonesia,l.Malaysia],u=function(n){var t=n.getFullYear(),e=x[t];if(!e)return!1;var o=new Date(t,e[1],e[0]),a=new Date(o);a.setDate(o.getDate()-7);var i=new Date(o);return i.setDate(o.getDate()+5),a<=n&&n<=i},w=function(n){var t=n.getDate(),e=n.getMonth();return 11===e&&t>=26||0===e&&t<=15},y=e.div(r||(r=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"],["\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"])),t.mbDown,t.tdUp),b=function(n){var t=n.children,e=n.className,a=n.style,i=n.type;return o.createElement(y,{className:e,style:a,"data-type":i},t)};export{b as C,f as L,p as S,u as a,w as b,d as c,m as d,c as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as e,c as n,_ as r}from"./tslib.es6-
|
|
1
|
+
import{b as e,c as n,_ as r}from"./tslib.es6-c7fb770c.js";import l,{createContext as t,useContext as i,useRef as o,useState as c,useEffect as d}from"react";import{Carousel as a}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";import s from"styled-components";var p,f=s(a.Slide)(p||(p=e([""],[""]))),m=t({}),v=function(e,n){return e>=n?e-n:e},h=function(e){var t=e.children,i=e.blurFromCenter,s=e.blurFromIndex,p=e.blurLength,f=void 0===p?3:p,h=e.maxBlurOpacity,x=void 0===h?.5:h,S=e.onSlideChange,b=e.selectSlideWhenClick,g=n(e,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=o(null),E=c(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var t=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],o=t.length,c=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,d=Math.floor(c/2),a=i?s+f-1:d,u=l+a,p=u===o?0:u>o?u-o:u,m=l-a,h=m<0?o+m:m>0?l-a:0,S=Array(2*a+1).fill("").map((function(e,n){return v(h+n,o)}));t.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/f,t=0;t<f;t++){if(n===v(h+t,o)||n===(c=o,(i=p-t)<0?c+i:i)){e.style.opacity=String((t+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var i,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return d((function(){(null==w?void 0:w.current)&&L()}),[k]),l.createElement(m.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:b}},l.createElement(a,r({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,g,{loop:!0}),"function"==typeof t?t(F):t))};h.Slide=function(e){var t=e.children,a=e.onClick,u=n(e,["children","onClick"]),s=i(m),p=s.slider,v=s.selectSlideWhenClick,h=o(),x=o(""),S=c(0),b=S[0],g=S[1];d((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),d((function(){var e=(null==p?void 0:p.slideNodes())||[];g(e.findIndex((function(e){return e.dataset.key===x.current})))}),[p]);var y={ref:h,"data-key":x.current,"data-index":b,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 l.createElement(f,r({},y,u),l.createElement("div",{onClick:function(){v&&(null==p||p.scrollTo(b)),null==a||a(b)}},t))};export{h as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-c7fb770c.js";import t,{forwardRef as r}from"react";var a=r((function(r,a){return t.createElement("circle",e({},r,{ref:a}),t.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));export{a as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,c as a}from"./tslib.es6-
|
|
1
|
+
import{_ as e,c as a}from"./tslib.es6-c7fb770c.js";import t,{useState as r,useEffect as n,forwardRef as o}from"react";import{createEmotionCache as i,FileInput as s,NumberInput as m,PasswordInput as l,TextInput as Y}from"@mantine/core";import{useDebouncedValue as u}from"@mantine/hooks";import{L as c}from"./Locale-597e8a2f.js";import{CommonGAssets as p}from"./gAssets.js";var d,g=300,M=i({key:"mantine",prepend:!1}),f=((d={})[c.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},d[c.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.India]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},d[c.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},d[c.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},d[c.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},d[c.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},d),v=p.getAssetPath("EyeVisible.svg"),D=p.getAssetPath("EyeHidden.svg"),h=o((function(r,n){var o=r.size,i=void 0===o?"md":o,s=r.visibilityToggleIcon,m=r.styles,Y=a(r,["size","visibilityToggleIcon","styles"]),u=s||function(e){var a=e.reveal,r=e.size;return a?t.createElement("img",{src:v,width:r}):t.createElement("img",{src:D,width:r})};return t.createElement(l,e({ref:n,size:i,visibilityToggleIcon:u,styles:e({rightSection:{pointerEvents:"initial"}},m)},Y))})),y=function(o){var i=o.value,s=o.onChange,m=a(o,["value","onChange"]),l=r(i||""),c=l[0],p=l[1],d=u(c,300)[0];return n((function(){null==s||s(d)}),[d]),n((function(){p(i)}),[i]),t.createElement(Y,e({size:"md",onChange:function(e){return p(e.currentTarget.value)},value:c},m))};y.File=function(a){return t.createElement(s,e({size:"md"},a))},y.Password=h,y.Number=function(o){var i=o.value,s=o.onChange,l=a(o,["value","onChange"]),Y=r(i||0),c=Y[0],p=Y[1],d=u(c,300)[0];return n((function(){null==s||s(d)}),[d]),n((function(){p(i)}),[i]),t.createElement(m,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:p,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?"":e||""},removeTrailingZeros:!0,value:c},l))};export{g as D,y as I,f as a,M as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{G as r,B as e,a as t,b as a,L as o}from"./Locale-597e8a2f.js";var n=Object.freeze({__proto__:null,get Gender(){return r},get BabyGrowthChartType(){return e},get BabyGrowthChartDuration(){return t},get BabyGrowthResultTab(){return a},get LOCALE(){return o}});export{n as i};
|