@hhgtech/hhg-components 1.27.98 → 1.27.99
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/_topic-b21cc467.js +6897 -0
- package/build/babyGrowth.js +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/molecules/index.d.ts +2 -0
- package/build/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +10 -0
- package/build/components/molecules/premiumNewsletterBanner/context.d.ts +19 -0
- package/build/components/molecules/premiumNewsletterBanner/index.d.ts +10 -0
- package/build/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +3 -0
- package/build/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +10 -0
- package/build/components/molecules/premiumNewsletterModal/context.d.ts +36 -0
- package/build/components/molecules/premiumNewsletterModal/index.d.ts +17 -0
- package/build/components/molecules/premiumNewsletterModal/layout.d.ts +9 -0
- package/build/components/molecules/premiumNewsletterModal/mainForm.d.ts +2 -0
- package/build/components/molecules/premiumNewsletterModal/moreTopics.d.ts +2 -0
- package/build/components/molecules/premiumNewsletterModal/result.d.ts +2 -0
- package/build/components/molecules/premiumTopicSelect/_normalTopic.d.ts +10 -0
- package/build/components/molecules/premiumTopicSelect/_suggestedTopic.d.ts +3 -0
- package/build/components/molecules/premiumTopicSelect/_topic.d.ts +3 -0
- package/build/components/molecules/premiumTopicSelect/_topicSlide.d.ts +10 -0
- package/build/components/molecules/premiumTopicSelect/historySection.d.ts +8 -0
- package/build/components/molecules/premiumTopicSelect/index.d.ts +13 -0
- package/build/components/molecules/premiumTopicSelect/recentlyViewedSection.d.ts +13 -0
- package/build/components/molecules/premiumTopicSelect/topicSection.d.ts +27 -0
- package/build/components/molecules/premiumTopicSelect/trendingCarousel.d.ts +15 -0
- package/build/components/molecules/sideBannerModal/index.d.ts +23 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-7fb000f5.js → core-992821b1.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/_topic-616fda4c.js +6897 -0
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components/molecules/index.d.ts +2 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/bannerWithOption.d.ts +10 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/context.d.ts +19 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/index.d.ts +10 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/testingBanner.d.ts +3 -0
- package/build/esm/components/molecules/premiumNewsletterBanner/toolBanner.d.ts +10 -0
- package/build/esm/components/molecules/premiumNewsletterModal/context.d.ts +36 -0
- package/build/esm/components/molecules/premiumNewsletterModal/index.d.ts +17 -0
- package/build/esm/components/molecules/premiumNewsletterModal/layout.d.ts +9 -0
- package/build/esm/components/molecules/premiumNewsletterModal/mainForm.d.ts +2 -0
- package/build/esm/components/molecules/premiumNewsletterModal/moreTopics.d.ts +2 -0
- package/build/esm/components/molecules/premiumNewsletterModal/result.d.ts +2 -0
- package/build/esm/components/molecules/premiumTopicSelect/_normalTopic.d.ts +10 -0
- package/build/esm/components/molecules/premiumTopicSelect/_suggestedTopic.d.ts +3 -0
- package/build/esm/components/molecules/premiumTopicSelect/_topic.d.ts +3 -0
- package/build/esm/components/molecules/premiumTopicSelect/_topicSlide.d.ts +10 -0
- package/build/esm/components/molecules/premiumTopicSelect/historySection.d.ts +8 -0
- package/build/esm/components/molecules/premiumTopicSelect/index.d.ts +13 -0
- package/build/esm/components/molecules/premiumTopicSelect/recentlyViewedSection.d.ts +13 -0
- package/build/esm/components/molecules/premiumTopicSelect/topicSection.d.ts +27 -0
- package/build/esm/components/molecules/premiumTopicSelect/trendingCarousel.d.ts +15 -0
- package/build/esm/components/molecules/sideBannerModal/index.d.ts +23 -0
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-187952aa.js → core-85cc6a99.js} +1 -1
- 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-21089974.js +1 -0
- package/build/esm/{getSocialList-05e5f819.js → getSocialList-b3d002ba.js} +1 -1
- package/build/esm/hooks/index.d.ts +1 -0
- package/build/esm/hooks/useCategory.d.ts +14 -0
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n/translationKeys.d.ts +1 -1
- package/build/esm/i18n-values/en-PH.js +1 -1
- package/build/esm/i18n-values/hi-IN.js +1 -1
- package/build/esm/i18n-values/id-ID.js +1 -1
- package/build/esm/i18n-values/km-KH.js +1 -1
- package/build/esm/i18n-values/ms-MY.js +1 -1
- package/build/esm/i18n-values/my-MM.js +1 -1
- package/build/esm/i18n-values/th-TH.js +1 -1
- package/build/esm/i18n-values/tl-PH.js +1 -1
- package/build/esm/i18n-values/vi-VN.js +1 -1
- package/build/esm/i18n-values/vi-VN_MB.js +1 -1
- package/build/esm/i18n-values/zh-TW.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-c9cc7be1.js → index-15d7660d.js} +1 -1
- package/build/esm/{index-f339366f.js → index-2c0ef308.js} +1 -1
- package/build/esm/{index-cbaed28e.js → index-4c061256.js} +1 -1
- package/build/esm/{index-35490a0a.js → index-4d69e3a6.js} +2 -2
- package/build/esm/{index-30c165ba.js → index-4db4b3b2.js} +2 -2
- package/build/esm/{index-0556b3df.js → index-5968a9b1.js} +1 -1
- package/build/esm/index-634bfb22.js +1 -0
- package/build/esm/{index-71da6f92.js → index-656071c0.js} +1 -1
- package/build/esm/index-6f45922a.js +1 -0
- package/build/esm/index-6fc847b9.js +1 -0
- package/build/esm/{index-2344d3ad.js → index-7433ba52.js} +1 -1
- package/build/esm/index-8299b7e3.js +1 -0
- package/build/esm/index-890f07f7.js +1 -0
- package/build/esm/index-94b1edc9.js +1 -0
- package/build/esm/{index-3ed43f67.js → index-c0d7abdb.js} +1 -1
- package/build/esm/{index-3b17ef20.js → index-d3a5ab49.js} +1 -1
- package/build/esm/{index-210a893e.js → index-da6144c5.js} +1 -1
- package/build/esm/{index-39cce1ad.js → index-dae69259.js} +1 -1
- package/build/esm/{index-bfb5a151.js → index-de57ecd9.js} +1 -1
- package/build/esm/{index-c3121b12.js → index-fb88d784.js} +4 -4
- package/build/esm/index-fe39531b.js +1 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-6f51ff04.js → index.styled-76288999.js} +238 -238
- package/build/esm/{index.styled-5ef76fb6.js → index.styled-894b40c7.js} +6 -6
- package/build/esm/{index.styled-59da24b1.js → index.styled-a2b780e4.js} +1 -1
- package/build/esm/{index.styles-6a17b45b.js → index.styles-82f67895.js} +13 -13
- package/build/esm/interfaces/constants/index.d.ts +1 -0
- package/build/esm/interfaces/healthTools.d.ts +27 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +6 -6
- package/build/esm/premiumNewsletter/api/paths.d.ts +9 -0
- package/build/esm/premiumNewsletter/interfaces/constants.d.ts +2 -0
- package/build/esm/premiumNewsletter/interfaces/types.d.ts +30 -0
- package/build/esm/pwg.js +3 -3
- package/build/esm/{routing-3f588609.js → routing-210e19d0.js} +1 -1
- package/build/esm/sso/api/paths.d.ts +3 -0
- package/build/esm/together/api/paths.d.ts +4 -0
- package/build/esm/together/api/utils.d.ts +6 -0
- package/build/esm/together/togetherComponentGlobalContext.d.ts +2 -0
- package/build/esm/together.js +1 -1
- package/build/esm/types-0e6afe78.js +1 -0
- package/build/esm/{types-18f79c15.js → types-25c3154a.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-a175adb8.js +1 -0
- package/build/esm/{useHealthToolCache-954db9f5.js → useHealthToolCache-d4fccf30.js} +1 -1
- package/build/esm/{useRafState-cff05e58.js → useRafState-85f8c6df.js} +1 -1
- package/build/esm/{useTranslations-9882b03a.js → useTranslations-7b0b4bfb.js} +1 -1
- package/build/esm/{utils-dc56aa2f.js → utils-f23fae06.js} +1 -1
- package/build/esm/vaccination.js +5 -5
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-782fd9d5.js → getDynamicHealthTool-80f4de9f.js} +1 -1
- package/build/{getSocialList-54e928ea.js → getSocialList-71e1d219.js} +1 -1
- package/build/hooks/index.d.ts +1 -0
- package/build/hooks/useCategory.d.ts +14 -0
- package/build/hooks.js +1 -1
- package/build/i18n/translationKeys.d.ts +1 -1
- package/build/i18n-values/en-PH.js +1 -1
- package/build/i18n-values/hi-IN.js +1 -1
- package/build/i18n-values/id-ID.js +1 -1
- package/build/i18n-values/km-KH.js +1 -1
- package/build/i18n-values/ms-MY.js +1 -1
- package/build/i18n-values/my-MM.js +1 -1
- package/build/i18n-values/th-TH.js +1 -1
- package/build/i18n-values/tl-PH.js +1 -1
- package/build/i18n-values/vi-VN.js +1 -1
- package/build/i18n-values/vi-VN_MB.js +1 -1
- package/build/i18n-values/zh-TW.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-de5b72ee.js → index-0ce8e0b9.js} +1 -1
- package/build/{index-6319021b.js → index-0dade44f.js} +1 -1
- package/build/{index-fd895747.js → index-2a1223e3.js} +1 -1
- package/build/index-2ac25800.js +1 -0
- package/build/{index-31779e81.js → index-3614a1ab.js} +2 -2
- package/build/index-4b503825.js +1 -0
- package/build/index-4bdc08c4.js +1 -0
- package/build/{index-af436848.js → index-634e6cf3.js} +1 -1
- package/build/{index-145299d0.js → index-66174ebd.js} +1 -1
- package/build/index-66a9881f.js +1 -0
- package/build/{index-93b92b6f.js → index-68568f2e.js} +1 -1
- package/build/{index-93bcb3e5.js → index-791704b6.js} +1 -1
- package/build/{index-ec1b532a.js → index-8d1b7346.js} +1 -1
- package/build/{index-0479d15b.js → index-9401241f.js} +1 -1
- package/build/{index-246df4a6.js → index-9ea69966.js} +2 -2
- package/build/{index-63b49748.js → index-b3de5132.js} +1 -1
- package/build/{index-911ffc15.js → index-b8f6c5c9.js} +1 -1
- package/build/{index-3e50bee9.js → index-d1457a44.js} +1 -1
- package/build/{index-0d269680.js → index-db04774b.js} +1 -1
- package/build/{index-34ed10b7.js → index-def3eb4f.js} +1 -1
- package/build/index-fe18ea3b.js +1 -0
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-0309afe3.js → index.styled-402ee1f1.js} +238 -238
- package/build/{index.styled-fb8f60da.js → index.styled-c401faed.js} +1 -1
- package/build/{index.styled-4a0688a2.js → index.styled-c659adf9.js} +5 -5
- package/build/{index.styles-a552ab61.js → index.styles-115763fd.js} +22 -22
- package/build/interfaces/constants/index.d.ts +1 -0
- package/build/interfaces/healthTools.d.ts +27 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/premiumNewsletter/api/paths.d.ts +9 -0
- package/build/premiumNewsletter/interfaces/constants.d.ts +2 -0
- package/build/premiumNewsletter/interfaces/types.d.ts +30 -0
- package/build/pwg.js +1 -1
- package/build/{routing-499baa6c.js → routing-e973d1a5.js} +1 -1
- package/build/sso/api/paths.d.ts +3 -0
- package/build/together/api/paths.d.ts +4 -0
- package/build/together/api/utils.d.ts +6 -0
- package/build/together/togetherComponentGlobalContext.d.ts +2 -0
- package/build/together.js +1 -1
- package/build/{types-dd38e3cb.js → types-25b9dcb3.js} +1 -1
- package/build/types-64ce4439.js +1 -0
- package/build/types.js +1 -1
- package/build/useCategory-5f321f01.js +1 -0
- package/build/{useHealthToolCache-f00d0cc8.js → useHealthToolCache-774a87a2.js} +1 -1
- package/build/{useRafState-f6f6f8d3.js → useRafState-a286772a.js} +1 -1
- package/build/{useTranslations-c236ab74.js → useTranslations-3f02a526.js} +1 -1
- package/build/{utils-a550efa1.js → utils-b83c9a04.js} +1 -1
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/dataTransform-24bedead.js +0 -1
- package/build/esm/dataTransform-e8d64748.js +0 -1
- package/build/esm/fixedBottomAdBlock-83b64030.js +0 -1
- package/build/esm/getDynamicHealthTool-4b3518ba.js +0 -1
- package/build/esm/index-07225642.js +0 -1
- package/build/esm/index-12373cc2.js +0 -1
- package/build/esm/index-3411ef1e.js +0 -3820
- package/build/esm/index-4c9963db.js +0 -1
- package/build/esm/index-590e02cc.js +0 -1
- package/build/esm/index-d38342fe.js +0 -1
- package/build/esm/index-ff1cf893.js +0 -1
- package/build/esm/types-0ec3c0cc.js +0 -3078
- package/build/fixedBottomAdBlock-9a91ff71.js +0 -1
- package/build/index-0847f1e2.js +0 -1
- package/build/index-23aaf78a.js +0 -1
- package/build/index-3be097bd.js +0 -1
- package/build/index-49507d09.js +0 -3820
- package/build/index-5a831a3a.js +0 -1
- package/build/types-6e6d01ea.js +0 -3078
- /package/build/{BMI_BOYS.percentile.monthly-b29b7d25.js → BMI_BOYS.percentile.monthly-c1dbab88.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-305e75a2.js → BMI_BOYS.percentile.weekly-539f4089.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-81e652c5.js → BMI_BOYS.percentile.yearly-3d737312.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-eda3bbad.js → BMI_BOYS.zscore.monthly-8d104361.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-76c0a736.js → BMI_BOYS.zscore.weekly-7fed0e1e.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-b38a7013.js → BMI_BOYS.zscore.yearly-ada0c66a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-524fac60.js → BMI_GIRLS.percentile.monthly-72df6a2c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-b4937b23.js → BMI_GIRLS.percentile.weekly-b717b845.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-2931b160.js → BMI_GIRLS.percentile.yearly-e2319817.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-08095452.js → BMI_GIRLS.zscore.monthly-7b0a8452.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-6add00a5.js → BMI_GIRLS.zscore.weekly-10fa981a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-4ffbc1ea.js → BMI_GIRLS.zscore.yearly-86482964.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-94f9d4e1.js → HEAD CIRCUM_BOYS.percentile.monthly-c87d51e6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-55fa6aaf.js → HEAD CIRCUM_BOYS.percentile.weekly-cc1d1a22.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-1afc66c7.js → HEAD CIRCUM_BOYS.percentile.yearly-76cc4d8a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-dec5b6fb.js → HEAD CIRCUM_BOYS.zscore.monthly-18a9a090.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-0e94e407.js → HEAD CIRCUM_BOYS.zscore.weekly-312a883d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-809379e9.js → HEAD CIRCUM_BOYS.zscore.yearly-c918f331.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-5f97e918.js → HEAD CIRCUM_GIRLS.percentile.monthly-0a9191d1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-c003a12e.js → HEAD CIRCUM_GIRLS.percentile.weekly-18442675.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-6925a91b.js → HEAD CIRCUM_GIRLS.percentile.yearly-691ccbf9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-e828c97e.js → HEAD CIRCUM_GIRLS.zscore.monthly-c96d67dc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-df2219b7.js → HEAD CIRCUM_GIRLS.zscore.weekly-eed0f3ee.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d9f871f0.js → HEAD CIRCUM_GIRLS.zscore.yearly-2e6de873.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-5b221fa5.js → HEIGHT_BOYS.percentile.monthly-b8a74983.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-ec2f3579.js → HEIGHT_BOYS.percentile.weekly-944fbdd3.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-1c73bf05.js → HEIGHT_BOYS.percentile.yearly-c4541aa4.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-d4ea6134.js → HEIGHT_BOYS.zscore.monthly-fa19c71b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-928a3714.js → HEIGHT_BOYS.zscore.weekly-0a460484.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-07b624f0.js → HEIGHT_BOYS.zscore.yearly-16dbb592.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-82357f73.js → HEIGHT_GIRLS.percentile.monthly-c3a6a864.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-145738ed.js → HEIGHT_GIRLS.percentile.weekly-05a915e9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-26912a21.js → HEIGHT_GIRLS.percentile.yearly-9942185e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-0ae26540.js → HEIGHT_GIRLS.zscore.monthly-011e55d1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-ce673a65.js → HEIGHT_GIRLS.zscore.weekly-ae0032a1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-41fd5ca1.js → HEIGHT_GIRLS.zscore.yearly-9515029f.js} +0 -0
- /package/build/{Onboarding-ba71adc3.js → Onboarding-cfad3b99.js} +0 -0
- /package/build/{Visible-354ba861.js → Visible-99c68f0f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-505120ee.js → WEIGHT_BOYS.percentile.monthly-2e0886ff.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-3565b0fe.js → WEIGHT_BOYS.percentile.weekly-eaa5a8dd.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-35450c1a.js → WEIGHT_BOYS.percentile.yearly-c9594485.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-6c3a51bd.js → WEIGHT_BOYS.zscore.monthly-e0379a2e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-627d184d.js → WEIGHT_BOYS.zscore.weekly-f74730d3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-86ea502b.js → WEIGHT_BOYS.zscore.yearly-a0b2bc51.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-9e45cb97.js → WEIGHT_GIRLS.percentile.monthly-f24efff6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-70f01638.js → WEIGHT_GIRLS.percentile.weekly-3ad4f689.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-ea6d829c.js → WEIGHT_GIRLS.percentile.yearly-7cf6c50e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-895f6903.js → WEIGHT_GIRLS.zscore.monthly-e3cb6ae2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-4314562e.js → WEIGHT_GIRLS.zscore.weekly-a1fc7740.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-cedaf71a.js → WEIGHT_GIRLS.zscore.yearly-e83afc07.js} +0 -0
- /package/build/{constants-1506b462.js → constants-9c242146.js} +0 -0
- /package/build/{cookieHelper-203db1c2.js → cookieHelper-6203f88a.js} +0 -0
- /package/build/{dataTransform-d21c13a7.js → dataTransform-f2bc6834.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f6ec5d22.js → BMI_BOYS.percentile.monthly-0d5ad19b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-6ab2141c.js → BMI_BOYS.percentile.weekly-13c1ca9b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-4ea5c0ef.js → BMI_BOYS.percentile.yearly-12ac07ce.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-11d4d7a0.js → BMI_BOYS.zscore.monthly-e4c1507f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-74a9b9dd.js → BMI_BOYS.zscore.weekly-f4f793ea.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7f895cc8.js → BMI_BOYS.zscore.yearly-8119ce03.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-6ac9c53a.js → BMI_GIRLS.percentile.monthly-acca1a4a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-4578e686.js → BMI_GIRLS.percentile.weekly-5ef50131.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-c02b901c.js → BMI_GIRLS.percentile.yearly-1443032d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-33620eb8.js → BMI_GIRLS.zscore.monthly-1bf65223.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-7de9ce2e.js → BMI_GIRLS.zscore.weekly-801084c2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-189ebddf.js → BMI_GIRLS.zscore.yearly-9115acc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c9939d53.js → HEAD CIRCUM_BOYS.percentile.monthly-1bf37859.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-c01450ec.js → HEAD CIRCUM_BOYS.percentile.weekly-e7738c0f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-63e161ca.js → HEAD CIRCUM_BOYS.percentile.yearly-a3fc108f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ef0f25f1.js → HEAD CIRCUM_BOYS.zscore.monthly-e6407117.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-e9967927.js → HEAD CIRCUM_BOYS.zscore.weekly-feee7729.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1c9f2bd1.js → HEAD CIRCUM_BOYS.zscore.yearly-d6a14c6b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-5a0d2846.js → HEAD CIRCUM_GIRLS.percentile.monthly-7730cf69.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0e08eee3.js → HEAD CIRCUM_GIRLS.percentile.weekly-818f5e5c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8c2c00f0.js → HEAD CIRCUM_GIRLS.percentile.yearly-e2fdd121.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-29ef0b07.js → HEAD CIRCUM_GIRLS.zscore.monthly-646e4faf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-248696b8.js → HEAD CIRCUM_GIRLS.zscore.weekly-56af23ba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b91b431f.js → HEAD CIRCUM_GIRLS.zscore.yearly-078974f7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-1b553b9e.js → HEIGHT_BOYS.percentile.monthly-bee990fa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-8b209bc6.js → HEIGHT_BOYS.percentile.weekly-aac39bfa.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-cfa159e3.js → HEIGHT_BOYS.percentile.yearly-32b4134f.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-8c083cd1.js → HEIGHT_BOYS.zscore.monthly-5778778e.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-4652d599.js → HEIGHT_BOYS.zscore.weekly-83a94045.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4afbfbe2.js → HEIGHT_BOYS.zscore.yearly-de0adda9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1934b785.js → HEIGHT_GIRLS.percentile.monthly-5837e957.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-eb1c046d.js → HEIGHT_GIRLS.percentile.weekly-1b5acb53.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-49116442.js → HEIGHT_GIRLS.percentile.yearly-6e9c04aa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-530eaaea.js → HEIGHT_GIRLS.zscore.monthly-a67d2e19.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-6d36ad4b.js → HEIGHT_GIRLS.zscore.weekly-4e941b69.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-9f6bf4c5.js → HEIGHT_GIRLS.zscore.yearly-99bedd54.js} +0 -0
- /package/build/esm/{Onboarding-281862b8.js → Onboarding-c0cfac18.js} +0 -0
- /package/build/esm/{Visible-79002b2e.js → Visible-c2e42d8a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ce064184.js → WEIGHT_BOYS.percentile.monthly-6037d7a8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-e313ef04.js → WEIGHT_BOYS.percentile.weekly-c15e5fe8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f72c9207.js → WEIGHT_BOYS.percentile.yearly-28119750.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-73375ec8.js → WEIGHT_BOYS.zscore.monthly-70f9cb8e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-3f1c9e1a.js → WEIGHT_BOYS.zscore.weekly-b51300d2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-baa65e16.js → WEIGHT_BOYS.zscore.yearly-94939ebc.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-51f563ac.js → WEIGHT_GIRLS.percentile.monthly-03bc9790.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-18abae85.js → WEIGHT_GIRLS.percentile.weekly-0edda13d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-8d9957c8.js → WEIGHT_GIRLS.percentile.yearly-135c174a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-b4eab87f.js → WEIGHT_GIRLS.zscore.monthly-6e2701b0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-50dbc44f.js → WEIGHT_GIRLS.zscore.weekly-b32a18db.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-d21a7799.js → WEIGHT_GIRLS.zscore.yearly-c8f8b146.js} +0 -0
- /package/build/esm/{constants-015643bc.js → constants-92019619.js} +0 -0
- /package/build/esm/{cookieHelper-329ff362.js → cookieHelper-4e12ad4b.js} +0 -0
- /package/build/esm/{dataTransform-cc7e9e82.js → dataTransform-e5408977.js} +0 -0
- /package/build/esm/{index-73927836.js → index-7a0ab473.js} +0 -0
- /package/build/esm/{isProduction-cd379466.js → isProduction-b2d88eb1.js} +0 -0
- /package/build/esm/{localizeNumberFormat-2f80cedc.js → localizeNumberFormat-ea835d1b.js} +0 -0
- /package/build/esm/{normalizeLink-6e8953be.js → normalizeLink-3bc92ac0.js} +0 -0
- /package/build/esm/{number-6cd7cd8e.js → number-9f092e4b.js} +0 -0
- /package/build/esm/{paths-54287a83.js → paths-24013383.js} +0 -0
- /package/build/esm/{screenSizeContext-b0b4af70.js → screenSizeContext-4855603d.js} +0 -0
- /package/build/esm/{theme-054cfe5e.js → theme-05390e1a.js} +0 -0
- /package/build/esm/{translationsContext-b47c4665.js → translationsContext-9d561788.js} +0 -0
- /package/build/esm/{tslib.es6-d74bc98c.js → tslib.es6-a59ac7f2.js} +0 -0
- /package/build/esm/{types-cb822d75.js → types-f88531b2.js} +0 -0
- /package/build/esm/{useIsInit-eac04318.js → useIsInit-5ace6ff2.js} +0 -0
- /package/build/esm/{useOutsideClick-e85b99fd.js → useOutsideClick-b2f40fe8.js} +0 -0
- /package/build/esm/{useScrollbarSize-76c280fd.js → useScrollbarSize-c8dc6432.js} +0 -0
- /package/build/esm/{useUniqueId-2fd9d44b.js → useUniqueId-6cb9ddef.js} +0 -0
- /package/build/{index-d7610fbd.js → index-6b40de15.js} +0 -0
- /package/build/{isProduction-0b37ac3b.js → isProduction-b32e7dc2.js} +0 -0
- /package/build/{localizeNumberFormat-5afc54fc.js → localizeNumberFormat-7bc188f6.js} +0 -0
- /package/build/{normalizeLink-102f5871.js → normalizeLink-5e6d567b.js} +0 -0
- /package/build/{number-799bbd0f.js → number-311438cc.js} +0 -0
- /package/build/{paths-a8f7657b.js → paths-8700fdcd.js} +0 -0
- /package/build/{screenSizeContext-6a5a4c05.js → screenSizeContext-19c4826a.js} +0 -0
- /package/build/{theme-e648ff92.js → theme-30b54bf9.js} +0 -0
- /package/build/{translationsContext-6717baca.js → translationsContext-1ff6fee5.js} +0 -0
- /package/build/{tslib.es6-705eff5c.js → tslib.es6-b6b32e47.js} +0 -0
- /package/build/{types-e93fdd24.js → types-af3ec16f.js} +0 -0
- /package/build/{useIsInit-e2c5804b.js → useIsInit-3403ada4.js} +0 -0
- /package/build/{useOutsideClick-05b182eb.js → useOutsideClick-6917a729.js} +0 -0
- /package/build/{useScrollbarSize-06f015e4.js → useScrollbarSize-45efedb6.js} +0 -0
- /package/build/{useUniqueId-c0ab995a.js → useUniqueId-b9c05ea1.js} +0 -0
package/build/esm/ecom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./theme-054cfe5e.js";import"./index-0556b3df.js";import{i as o}from"./isProduction-cd379466.js";export{t as Types}from"./types-cb822d75.js";import"date-fns/locale";import"./Onboarding-281862b8.js";var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",c=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,u=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o?`https://${d[s]}`:`https://discover.${d[s]}`,p=o?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>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:(e="",o=0,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:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,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:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>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${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>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/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:c,GOOGLE_CLIENT_ID:u,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:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,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 I},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:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];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:s||"",children:r,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(u=null===(c=null==e?void 0:e.social)||void 0===c?void 0:c.socials)||void 0===u?void 0:u.map)||void 0===d?void 0:d.call(u,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(u=(c=e.sub_banners).map)||void 0===u?void 0:u.call(c,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(c=e.currency)||void 0===c?void 0:c.store_to_quote_rate)||0,baseToGlobalRate:(null===(u=e.currency)||void 0===u?void 0:u.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});export{l as ApiTypes,T as Constants,A as DataFormatter,i as DataTypes};
|
|
1
|
+
import{t as e}from"./theme-05390e1a.js";import"./index-5968a9b1.js";import{i as o}from"./isProduction-b2d88eb1.js";export{t as Types}from"./types-f88531b2.js";import"date-fns/locale";import"./Onboarding-c0cfac18.js";var l=Object.freeze({__proto__:null}),i=Object.freeze({__proto__:null});const a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV,n="undefined"==typeof window,s=process.env.NEXT_PUBLIC_DEPLOY_LOCALE?process.env.NEXT_PUBLIC_DEPLOY_LOCALE:"vi-VN",r=process.env.NEXT_PUBLIC_GOOGLE_MAP_KEY||"",c=process.env.NEXT_PUBLIC_ADMIN_GOOGLE_LOCATION_KEY,u=process.env.NEXT_PUBLIC_GOOGLE_CLIENT_ID||"289442006438-cihobuq1h3r4426pur7u0e43fqdnep59.apps.googleusercontent.com",d={"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"},m=a?"http://localhost:3001":o?`https://${d[s]}`:`https://discover.${d[s]}`,p=o?`https://wp.${d[s]}/`:`https://staging.${d[s]}/`,_=process.env.NEXT_PUBLIC_TOGETHER_API_URL&&""!==process.env.NEXT_PUBLIC_TOGETHER_API_URL?process.env.NEXT_PUBLIC_TOGETHER_API_URL:`https://together.${d[s]}/`,h=`${m}/community`,E=process.env.NEXT_PUBLIC_SSO_URL||"http://staging-id.hellobacsi.com/";var I;!function(e){e[e.FEMALE=0]="FEMALE",e[e.MALE=1]="MALE",e[e.ANY=2]="ANY"}(I||(I={}));const v={"vi-VN":{HOME:()=>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:(e="",o=0,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:e,numberOfItems:o,itemListElement:t}]}),BRAND:(e="",o=0,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:e,numberOfItems:o,itemListElement:t}]}),BRAND_DETAIL:(e="",o=0,t)=>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${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop${e}`}}]},{"@type":"BrandDetail",url:`https://hellobacsi.com/shop${e}`,numberOfItems:o,itemListElement:null!=t?t:{}}]}),PRODUCT_DETAIL:(e="",o=0,t)=>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/${e}`,"@type":"WebPage",name:"Hello Bacsi - Thuong Hieu",url:`https://hellobacsi.com/shop/san-pham/${e}`}}]},{"@type":"BrandDetail",url:e,numberOfItems:o,itemListElement:null!=t?t:{}}]})}};var T=Object.freeze({__proto__:null,isDevelopment:a,IS_SSR:n,locale:s,BEARER_TOKEN_COOKIE:"hhg_user_token",BEARER_ADMIN_TOKEN_COOKIE:"hhg_admin_token",GUEST_CART_ID_COOKIE:"hhg_guest_cart_id",GOOGLE_MAP_KEY:r,GOOGLE_ADMIN_LOCATION_KEY:c,GOOGLE_CLIENT_ID:u,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:d,DISCOVER_URL_FE:m,DISCOVER_URL_BE:p,TOGETHER_URL_BE:_,TOGETHER_URL_FE:h,SSO_URL:E,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 I},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:v});function g(e){return null!=e}const O={formatAutoCompleteAddress:e=>e&&e.place_id?{placeId:e.place_id,description:e.description||""}:null,formatPrice:(e,o)=>{const t="string"==typeof e?parseInt(e):e;return new Intl.NumberFormat(o||"vi-VN").format(t)},formatHotSearchKeyword:e=>({text:(null==e?void 0:e.name)||""}),formatHelpfulUrl:e=>({name:(null==e?void 0:e.name)||"",featuredImage:(null==e?void 0:e.featured_image)||"",url:(null==e?void 0:e.url)||""}),formatCategory:function(o,t,l){var i,a,n;const s=l?l+"/"+o.slug:o.slug,r=(null===(a=null===(i=null==o?void 0:o.children)||void 0===i?void 0:i.map)||void 0===a?void 0:a.call(i,(e=>O.formatCategory(e,o.id,s))))||[];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:s||"",children:r,backgroundColor:o.color||e.colors.teal50,parentId:t||0,products:(null===(n=o.products)||void 0===n?void 0:n.map(O.formatProduct))||[]}},formatFooterInfo:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_,h,E,I,v,T;const g=(null===(l=null===(t=null===(o=null==e?void 0:e.branch)||void 0===o?void 0:o.branch)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({flag:e.flag||"",name:e.name||"",url:e.url||""}))))||[],O=(null===(n=null===(a=null===(i=null==e?void 0:e.general)||void 0===i?void 0:i.verified)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>({image:e.image||"",url:e.url||""}))))||[],A=(null===(r=null===(s=null==e?void 0:e.menu)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,(e=>{var o,t;return{menu_title:e.menu_title,items:null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({title:e.title,url:e.url})))}})))||[],b=(null===(d=null===(u=null===(c=null==e?void 0:e.social)||void 0===c?void 0:c.socials)||void 0===u?void 0:u.map)||void 0===d?void 0:d.call(u,(e=>({icon:e.icon||"",name:e.name||"",url:e.url||""}))))||[];return{branch:{title:(null===(m=null==e?void 0:e.branch)||void 0===m?void 0:m.title)||"",branch:g},general:{logo:null!==(_=null===(p=null==e?void 0:e.general)||void 0===p?void 0:p.logo)&&void 0!==_?_:"",content:null!==(E=null===(h=null==e?void 0:e.general)||void 0===h?void 0:h.content)&&void 0!==E?E:"",copyright:null!==(v=null===(I=null==e?void 0:e.general)||void 0===I?void 0:I.copyright)&&void 0!==v?v:"",verified:O},menu:A,social:{title:(null===(T=null==e?void 0:e.social)||void 0===T?void 0:T.title)||"",socials:b}}},formatNavigation:function(e){var o,t,l,i,a,n;return{hotSearchKeywords:(null===(t=null===(o=null==e?void 0:e.hot_search_keywords)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatHotSearchKeyword))||[],helpfulUrls:(null===(i=null===(l=null==e?void 0:e.helpful_urls)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatHelpfulUrl))||[],categories:(null===(n=null===(a=null==e?void 0:e.categories)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,(e=>O.formatCategory(e))))||[],footer:O.formatFooterInfo(null==e?void 0:e.footer),storeId:(null==e?void 0:e.store_id)||0,customerId:(null==e?void 0:e.customer_id)||0,cartItemsQty:"number"==typeof(null==e?void 0:e.cart_items_qty)?e.cart_items_qty:null}},formatPriceInfo:e=>e?{final:e.final||0,regular:e.regular||0,discountPercent:e.discount_percent||0}:null,formatProduct:function(e){var o,t,l,i;if(!e)return null;const a={final:0,regular:0,discountPercent:0};return{id:e.id||0,price:e.price&&O.formatPriceInfo(e.price)||a,thumbnail:e.thumbnail||"",name:e.name||"",averageRating:Number((e.average_rating||0).toFixed(2)),reviewsCount:e.reviews_count||0,tag:e.tag||null,sku:e.sku||"",slug:e.slug||"",images:e.images||[],tags:e.tags||[],unit:e.unit||"",brand:e.brand?{name:e.brand.name||"",image:e.brand.image||"",slug:e.brand.slug||"",productsCount:e.brand.products_count||0}:null,description:e.description||"",productPromotions:(null===(t=null===(o=e.product_promotions)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProductPromotion).filter(g))||[],categories:(null===(i=null===(l=e.categories)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,(e=>O.formatCategory(e))).filter(g))||[],isInStock:(null==e?void 0:e.is_in_stock)||!1}},formatBanner:e=>e?{name:e.name||"",url:e.url||"",featuredImage:e.featured_image||"",alt:e.image_alt}:null,formatBlogPost:e=>{var o,t;return e?{title:e.title||"",image:e.image||"",link:e.link||"",postData:e.post_data?{reviewed:e.post_data.reviewed?{author:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.author||void 0),editor:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.editor||void 0),expert:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.expert||void 0),factCheck:O.formatBlogPostDataReviewedUser(e.post_data.reviewed.fact_check||void 0),isAuthor:Boolean(e.post_data.reviewed.is_author)}:null,categories:e.post_data.categories?null===(t=(o=e.post_data.categories).map)||void 0===t?void 0:t.call(o,(e=>({termId:e.term_id||0,name:e.name||"",permalink:e.permalink||"",textColor:e.text_color||""}))):[],postDate:e.post_data.post_date||"",postModified:e.post_data.post_modified||"",modifiedTime:e.post_data.modified_time||""}:null}:null},formatBlogPostDataReviewedUser:e=>e?{id:e.ID||0,userId:e.user_id||0,formerRole:e.former_role||"",role:e.role||"",slug:e.slug||"",displayName:e.display_name||"",description:e.description||"",profileUrl:e.profile_url||"",avatar:e.avatar||"",avatarThumbnail:e.avatar_thumbnail||"",turnOffProfile:Boolean(e.turn_off_profile)}:null,formatBrand:function(e){var o,t,l,i;return e?{id:e.id||0,image:e.image||"",position:e.position||"",isPopular:e.is_popular||!1,summary:e.summary||"",name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatHomePage:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_,h,E,I,v,T,A;return e?{brands:e.brands?null===(t=(o=e.brands).map)||void 0===t?void 0:t.call(o,O.formatBrand).filter(g):[],hotDeals:e.hot_deals?null===(i=(l=e.hot_deals).map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g):[],newProducts:e.new_products?null===(n=(a=e.new_products).map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g):[],slideBanners:e.slide_banners?null===(r=(s=e.slide_banners).map)||void 0===r?void 0:r.call(s,O.formatBanner).filter(g):[],subBanners:e.sub_banners?null===(u=(c=e.sub_banners).map)||void 0===u?void 0:u.call(c,O.formatBanner).filter(g):[],footerBanners:e.footer_banners?null===(m=(d=e.footer_banners).map)||void 0===m?void 0:m.call(d,O.formatBanner).filter(g):[],blogPosts:e.blog_posts?null===(_=(p=e.blog_posts).map)||void 0===_?void 0:_.call(p,O.formatBlogPost).filter(g):[],popularCategories:e.popular_categories?null===(E=(h=e.popular_categories).map)||void 0===E?void 0:E.call(h,(e=>O.formatCategory(e))).filter(g):[],suggestProducts:e.suggest_products?null===(v=(I=e.suggest_products).map)||void 0===v?void 0:v.call(I,(e=>O.formatCategory(e))).filter(g):[],promotions:e.promotions?null===(A=(T=e.promotions).map)||void 0===A?void 0:A.call(T,(e=>O.formatPromotion(e))).filter(g):[]}:null},formatCategoryPage:function(e){var o,t,l,i;return e?{id:e.id||0,name:e.name||"",slug:e.slug||"",description:e.description||null,banners:(null===(t=null===(o=e.banners)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatBanner).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[]}:null},formatBrandPage:function(e){return e?O.formatBrand(e):null},formatPagination:e=>e?{current:e.current||0,first:e.first||0,itemsPerPage:e.items_per_page||0,last:e.last||0,next:e.next||0,prev:e.prev||0,totalItems:e.total_items||0}:null,formatProductDetailPage:function(e){var o,t,l,i,a,n,s,r;return e?Object.assign(Object.assign({},O.formatProduct(e)),{relatedProducts:(null===(t=null===(o=e.related_products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatProduct).filter(g))||[],bestsellerProducts:(null===(i=null===(l=e.bestseller_products)||void 0===l?void 0:l.map)||void 0===i?void 0:i.call(l,O.formatProduct).filter(g))||[],viewedProducts:(null===(n=null===(a=e.viewed_products)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProduct).filter(g))||[],promotions:(null===(r=null===(s=e.promotions)||void 0===s?void 0:s.map)||void 0===r?void 0:r.call(s,O.formatPromotion).filter(g))||[]}):null},formatProductReview:e=>{var o,t;return e?{reviewId:e.review_id||"",createdAt:e.created_at||"",title:e.title||"",detail:e.detail||"",nickname:e.nick_name||"",avatar:e.avatar||"",ratingVotes:(null===(t=null===(o=e.rating_votes)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({ratingCode:e.rating_code||"",value:Number(e.value)||0,percent:Number(e.percent)||0}))))||[],images:e.images||[]}:null},formatProductPromotion:e=>e?{id:e.id||0,name:e.name||"",thumbnail:e.thumbnail||"",expirationDate:e.expiration_date||""}:null,formatPromotion:e=>e?{id:e.id||0,name:e.name||"",slug:e.slug||"",thumbnail:e.thumbnail||"",expiredDate:e.expired_date||"",banners:e.banners||[],points:0,description:e.description||"",metaTitle:e.meta_title||"",metaKeywords:e.meta_keywords||"",metaDescription:e.meta_description||""}:null,formatCustomAttributes:(e,o)=>{var t;return(null==e?void 0:e.length)&&(null===(t=null==e?void 0:e.find((e=>e.attribute_code===o)))||void 0===t?void 0:t.value)||""},formatAddress:e=>{var o,t,l,i;return e?{id:e.id||0,fullName:e.firstname||"",telephone:e.telephone||"",province:{value:null===(o=e.region)||void 0===o?void 0:o.region_id,label:null===(t=e.region)||void 0===t?void 0:t.region}||null,district:{value:O.formatCustomAttributes(e.custom_attributes,"district_id"),label:O.formatCustomAttributes(e.custom_attributes,"district")},commune:{value:O.formatCustomAttributes(e.custom_attributes,"ward_id"),label:O.formatCustomAttributes(e.custom_attributes,"ward")},street:(null===(l=null==e?void 0:e.street)||void 0===l?void 0:l.length)?null==e?void 0:e.street[0]:"",isDefault:e.default_billing&&e.default_shipping||!1,fullAddress:(null===(i=null==e?void 0:e.extension_attributes)||void 0===i?void 0:i.full_address)||""}:null},formatProvince:e=>(null==e?void 0:e.available_regions)?e.available_regions.map((e=>({value:e.id||"",label:e.name||""}))):[],formatDistrict:e=>(null==e?void 0:e.districts)?e.districts.map((e=>({value:e.id||"",label:e.name||""}))):[],formatCommune:e=>(null==e?void 0:e.communes)?e.communes.map((e=>({value:e.id||"",label:e.name||""}))):[],formatOrder:e=>{var o,t;return e?{orderNumber:(null==e?void 0:e.order_number)||"",shippingData:(null==e?void 0:e.shipping_data)?{shippingMethod:e.shipping_data.shipping_method||"",shippingDescription:e.shipping_data.shipping_description||"",shippingAddress:e.shipping_data.shipping_address?{fullName:e.shipping_data.shipping_address.firstname||"",fullAddress:e.shipping_data.shipping_address.full_address||"",telephone:e.shipping_data.shipping_address.telephone||""}:null,storeAddress:null}:null,orderedDate:(null==e?void 0:e.ordered_date)||"",status:(null==e?void 0:e.status)||null,totals:(null==e?void 0:e.totals)?{subtotal:e.totals.subtotal||0,shippingAmount:e.totals.shipping_amount||0,discountAmount:e.totals.discount_amount||0,grandTotal:e.totals.grand_total||0}:null,products:(null===(t=null===(o=null==e?void 0:e.products)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,(e=>({sku:e.sku||"",name:e.name||"",price:e.price||0,rowTotal:e.row_total||0,image:e.image||"",qty:e.qty||0}))))||[],paymentMethod:(null==e?void 0:e.payment_method)||""}:null},formatStatistic:e=>{var o,t,l,i,a;return e?{pending:Number(null===(o=null==e?void 0:e.find((e=>"pending"===e.status)))||void 0===o?void 0:o.amount)||0,processing:Number(null===(t=null==e?void 0:e.find((e=>"processing"===e.status)))||void 0===t?void 0:t.amount)||0,delivering:Number(null===(l=null==e?void 0:e.find((e=>"delivering"===e.status)))||void 0===l?void 0:l.amount)||0,complete:Number(null===(i=null==e?void 0:e.find((e=>"complete"===e.status)))||void 0===i?void 0:i.amount)||0,canceled:Number(null===(a=null==e?void 0:e.find((e=>"canceled"===e.status)))||void 0===a?void 0:a.amount)||0}:{}},formatCartItem:e=>{var o,t,l,i,a,n,s,r;return e?{itemId:e.item_id||0,sku:e.sku||"",qty:e.qty||0,name:e.name||"",price:e.price||0,basePrice:(null===(o=e.extension_attributes)||void 0===o?void 0:o.base_price)||0,productType:e.product_type||"",quoteId:e.quote_id||"",thumbnail:(null===(t=e.extension_attributes)||void 0===t?void 0:t.thumbnail)||"",rowTotal:(null===(l=e.extension_attributes)||void 0===l?void 0:l.row_total)||0,promotions:(null===(n=null===(a=null===(i=e.extension_attributes)||void 0===i?void 0:i.promotions)||void 0===a?void 0:a.map)||void 0===n?void 0:n.call(a,O.formatProductPromotion))||[],isInStock:(null===(s=e.extension_attributes)||void 0===s?void 0:s.is_in_stock)||!1,urlProduct:(null===(r=e.extension_attributes)||void 0===r?void 0:r.url_key)||""}:null},formatCartAddress:e=>{var o;return e?{customerAddressId:(null==e?void 0:e.customer_address_id)||0,id:e.id||0,region:e.region||"",regionId:e.region_id||0,regionCode:e.region_code||"",countryId:e.country_id||"",street:e.street||[],postcode:e.postcode||"",city:e.city||"",firstname:e.firstname||"",lastname:e.lastname||"",customerId:e.customer_id||0,email:e.email||"",telephone:e.telephone||"",sameAsBilling:e.same_as_billing||0,saveInAddressBook:e.save_in_address_book||0,fullAddress:(null===(o=e.extension_attributes)||void 0===o?void 0:o.full_address)||""}:null},formatEstimatedShipping:e=>e?{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",carrierTitle:e.carrier_title||"",methodTitle:e.method_title||"",amount:e.amount||0,baseAmount:e.base_amount||0,available:e.available||!1,errorMessage:e.error_message||"",priceExclTax:e.price_excl_tax||0,priceInclTax:e.price_incl_tax||0}:null,formatCartLoggedInCustomer:e=>{var o,t,l;return e?{email:e.email||"",firstname:e.firstname||"",lastname:e.lastname||"",id:e.id||0,groupId:e.group_id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",createdIn:e.created_in||"",storeId:e.store_id||0,websiteId:e.website_id||0,addresses:(null===(t=null===(o=e.addresses)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartAddress))||[],disableAutoGroupChange:e.disable_auto_group_change||0,isSubscribed:(null===(l=e.extension_attributes)||void 0===l?void 0:l.is_subscribed)||!1}:null},formatCart:e=>{var o,t,l,i,a,n,s,r,c,u,d,m,p,_;return e?{id:e.id||0,createdAt:e.created_at||"",updatedAt:e.updated_at||"",isActive:e.is_active||!1,isVirtual:e.is_virtual||!1,items:(null===(l=null===(t=null===(o=e.items)||void 0===o?void 0:o.map)||void 0===t?void 0:t.call(o,O.formatCartItem))||void 0===l?void 0:l.sort(((e,o)=>Number(null==o?void 0:o.isInStock)-Number(null==e?void 0:e.isInStock))))||[],itemsCount:e.items_count||0,itemsQty:e.items_qty||0,customer:e.customer?O.formatCartLoggedInCustomer(e.customer):null,billingAddress:e.billing_address?O.formatCartAddress(e.billing_address):null,origOrderId:e.orig_order_id||0,currency:{globalCurrencyCode:(null===(i=e.currency)||void 0===i?void 0:i.global_currency_code)||"",baseCurrencyCode:(null===(a=e.currency)||void 0===a?void 0:a.base_currency_code)||"",storeCurrencyCode:(null===(n=e.currency)||void 0===n?void 0:n.store_currency_code)||"",quoteCurrencyCode:(null===(s=e.currency)||void 0===s?void 0:s.quote_currency_code)||"",storeToBaseRate:(null===(r=e.currency)||void 0===r?void 0:r.store_to_base_rate)||0,storeToQuoteRate:(null===(c=e.currency)||void 0===c?void 0:c.store_to_quote_rate)||0,baseToGlobalRate:(null===(u=e.currency)||void 0===u?void 0:u.base_to_global_rate)||0,baseToQuoteRate:(null===(d=e.currency)||void 0===d?void 0:d.base_to_quote_rate)||0},customerIsGuest:e.customer_is_guest||!1,customerNoteNotify:e.customer_note_notify||!1,customerTaxClassId:e.customer_tax_class_id||0,storeId:e.store_id||0,shippingAssignments:null===(_=null===(p=null===(m=e.extension_attributes)||void 0===m?void 0:m.shipping_assignments)||void 0===p?void 0:p.map)||void 0===_?void 0:_.call(p,(e=>{var o,t,l;return{shipping:{address:e.shipping.address?O.formatCartAddress(e.shipping.address):null,method:(null===(o=e.shipping)||void 0===o?void 0:o.method)||""},items:(null===(l=(t=e.items).map)||void 0===l?void 0:l.call(t,O.formatCartItem))||[]}}))}:null},formatCartTotal:e=>{var o,t,l;return e?{grandTotal:e.grand_total||0,baseGrandTotal:e.base_grand_total||0,subtotal:e.subtotal||0,baseSubtotal:e.base_subtotal||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,subtotalWithDiscount:e.subtotal_with_discount||0,baseSubtotalWithDiscount:e.base_subtotal_with_discount||0,shippingAmount:e.shipping_amount||0,baseShippingAmount:e.base_shipping_amount||0,shippingDiscountAmount:e.shipping_discount_amount||0,baseShippingDiscountAmount:e.base_shipping_discount_amount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,shippingTaxAmount:e.shipping_tax_amount||0,baseShippingTaxAmount:e.base_shipping_tax_amount||0,subtotalInclTax:e.subtotal_incl_tax||0,shippingInclTax:e.shipping_incl_tax||0,baseShippingInclTax:e.base_shipping_incl_tax||0,baseCurrencyCode:e.base_currency_code||"",quoteCurrencyCode:e.quote_currency_code||"",itemsQty:e.items_qty||0,coupon:{couponCode:e.coupon_code||"",couponDescription:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.coupon_description_text)||""},items:(null===(l=null===(t=e.items)||void 0===t?void 0:t.map)||void 0===l?void 0:l.call(t,(e=>({itemId:e.item_id||0,price:e.price||0,basePrice:e.base_price||0,qty:e.qty||0,rowTotal:e.row_total||0,baseRowTotal:e.base_row_total||0,rowTotalWithDiscount:e.row_total_with_discount||0,taxAmount:e.tax_amount||0,baseTaxAmount:e.base_tax_amount||0,taxPercent:e.tax_percent||0,discountAmount:e.discount_amount||0,baseDiscountAmount:e.base_discount_amount||0,discountPercent:e.discount_percent||0,priceInclTax:e.price_incl_tax||0,basePriceInclTax:e.base_price_incl_tax||0,rowTotalInclTax:e.row_total_incl_tax||0,baseRowTotalInclTax:e.base_row_total_incl_tax||0,options:e.options||"",weeeTaxAppliedAmount:e.weee_tax_applied_amount||0,weeeTaxApplied:e.weee_tax_applied||0,name:e.name||""}))))||[],totalSegments:e.total_segments||[]}:null},formatPaymentMethod:e=>e?null==e?void 0:e.map((e=>({code:(null==e?void 0:e.payment_code)||"",title:(null==e?void 0:e.payment_title)||"",thumbnail:(null==e?void 0:e.payment_thumbnail)||""}))):null,formatPaymentInformation:e=>{var o;return e?{paymentMethods:O.formatPaymentMethod(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.payment_detail_info)||[],totals:O.formatCartTotal(e.totals)}:null},formatOrderConfirmation:e=>e?{isSuccess:e.is_success||!1,orderInfo:O.formatOrder(e.order_info)}:null,formatCoupons:e=>{var o;return(null===(o=null==e?void 0:e.items)||void 0===o?void 0:o.length)?e.items.map((e=>({code:(null==e?void 0:e.code)||"",name:(null==e?void 0:e.name)||"",thumbnail:(null==e?void 0:e.thumbnail)||"",description:(null==e?void 0:e.expired_date)||""}))):null},formatShippings:e=>e?e.map((e=>{var o;return{carrierCode:e.carrier_code||"",methodCode:e.method_code||"",title:e.carrier_title||"",description:e.method_title||"",price:(null==e?void 0:e.base_amount)||0,thumbnail:(null===(o=null==e?void 0:e.extension_attributes)||void 0===o?void 0:o.thumbnail)||""}})):[]};var A=Object.freeze({__proto__:null,dataFormatter:O});export{l as ApiTypes,T as Constants,A as DataFormatter,i as DataTypes};
|
package/build/esm/footer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{B as t}from"./index-39cce1ad.js";import{C as a}from"./index-30c165ba.js";import l from"dayjs";import{d as n}from"./index-0556b3df.js";import{t as o}from"./theme-054cfe5e.js";import{x as i}from"./index.styles-6a17b45b.js";import{Flex as r,Stack as c,Box as m}from"@mantine/core";import"@mantine/dates";import"./Onboarding-281862b8.js";import"./gAssets.js";import"./screenSizeContext-b0b4af70.js";import"styled-components";import"./isProduction-cd379466.js";import{u as s}from"./useTranslations-9882b03a.js";import"./index-c3121b12.js";import"@mantine/hooks";import{L as d}from"./index-4c9963db.js";import{M as v}from"./index-12373cc2.js";import"./translationsContext-b47c4665.js";import"string-format";import"./tslib.es6-d74bc98c.js";import"./useUniqueId-2fd9d44b.js";import"date-fns/locale";import"./index-3b17ef20.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"lodash/debounce";import"./cookieHelper-329ff362.js";import"slugify";import"lodash/throttle";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),p=({className:r,type:c="main",footerInfo:m,isMobile:d,locale:v})=>{var E,p,y,f,b,N,h,k,F,z,$,x,j,M,T,C,L,_,H,S,w,I,A,B,G,q,D,U;const{t:O}=s(),J=null==m?void 0:m.menu,K=(null===(p=null===(E=null==m?void 0:m.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${r||""}`,style:"mini"===c?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":c},"main"===c?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==m?void 0:m.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(i,{size:"p1",weight:"bold"},null===(f=null==m?void 0:m.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(i,{size:"sm"},null===(b=null==m?void 0:m.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(h=null===(N=null==m?void 0:m.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,J&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(F=null===(k=J[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(z=J[1])||void 0===z?void 0:z.menu_title),null===(x=null===($=J[1])||void 0===$?void 0:$.items)||void 0===x?void 0:x.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(i,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(j=J[2])||void 0===j?void 0:j.menu_title),null===(T=null===(M=J[2])||void 0===M?void 0:M.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(i,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(C=null==m?void 0:m.branch)||void 0===C?void 0:C.title),e.createElement("div",{className:"flags"},null===(_=null===(L=null==m?void 0:m.branch)||void 0===L?void 0:L.branch)||void 0===_?void 0:_.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(g,{url:t.flag,isMobile:d,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(i,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(H=null==m?void 0:m.general)||void 0===H?void 0:H.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==m?void 0:m.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(S=null==m?void 0:m.menu[1])||void 0===S?void 0:S.menu_title),null===(I=null===(w=null==m?void 0:m.menu[1])||void 0===w?void 0:w.items)||void 0===I?void 0:I.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(i,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(A=null==m?void 0:m.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==m?void 0:m.menu[2])||void 0===B?void 0:B.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(i,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==c&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(i,{size:"sm"},null===(q=null==m?void 0:m.social)||void 0===q?void 0:q.title),e.createElement("div",{className:"icons"},null===(U=null===(D=null==m?void 0:m.social)||void 0===D?void 0:D.socials)||void 0===U?void 0:U.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",f="GS-7mbG",b="qc5bEb3",N="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const z=({logoType:t="marryBaby",footerMenu:n,background:s})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:s||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:b,key:`mbf${l}`},e.createElement(v,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:N,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(r,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(c,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(i,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(m,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(i,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(i,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},$=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(z,{footerMenu:n,background:i});export{$ as Footer};
|
|
1
|
+
import e from"react";import{B as t}from"./index-dae69259.js";import{C as a}from"./index-4db4b3b2.js";import l from"dayjs";import{d as n}from"./index-5968a9b1.js";import{t as o}from"./theme-05390e1a.js";import{x as i}from"./index.styles-82f67895.js";import{Flex as r,Stack as m,Box as s}from"@mantine/core";import"@mantine/dates";import"./Onboarding-c0cfac18.js";import"./gAssets.js";import"./screenSizeContext-4855603d.js";import"styled-components";import"./isProduction-b2d88eb1.js";import{u as c}from"./useTranslations-7b0b4bfb.js";import"./index-fb88d784.js";import"@mantine/hooks";import{L as d}from"./index-890f07f7.js";import{M as v}from"./index-634bfb22.js";import"./translationsContext-9d561788.js";import"string-format";import"./tslib.es6-a59ac7f2.js";import"./useUniqueId-6cb9ddef.js";import"date-fns/locale";import"./index-d3a5ab49.js";import"react-keyed-flatten-children";import"@mantine/carousel";import"lodash/debounce";import"./useCategory-a175adb8.js";import"./cookieHelper-4e12ad4b.js";import"slugify";import"lodash/throttle";var u="Lj0qoTD",E="OO-qFWT";const g=({url:t,isMobile:a,dataEventCategory:l,dataEventAction:n,dataEventLabel:o})=>e.createElement("div",{className:E,"data-is-mobile":a},e.createElement("img",{loading:"lazy",className:"country-flag",src:t,alt:"Country Flag","data-event-category":l,"data-event-action":n,"data-content-label":o})),p=({className:r,type:m="main",footerInfo:s,isMobile:d,locale:v})=>{var E,p,y,f,b,N,h,k,F,z,$,j,x,M,T,C,L,_,H,S,w,I,A,B,G,q,D,U;const{t:O}=c(),J=null==s?void 0:s.menu,K=(null===(p=null===(E=null==s?void 0:s.general)||void 0===E?void 0:E.verified)||void 0===p?void 0:p.filter(Boolean))||[];return e.createElement("footer",{className:`${u} ${r||""}`,style:"mini"===m?{backgroundColor:o.colors.neutral50}:{}},e.createElement(a,null,e.createElement("div",{className:"inner","data-type":m},"main"===m?e.createElement(e.Fragment,null,e.createElement("a",{href:"/"},e.createElement("img",{loading:"lazy",className:"footer-logo",src:null===(y=null==s?void 0:s.general)||void 0===y?void 0:y.logo,alt:"Logo","data-is-sehat":"id-ID"===v})),e.createElement("div",{className:"columns"},e.createElement("div",{className:"newsletter"},e.createElement(i,{size:"p1",weight:"bold"},null===(f=null==s?void 0:s.general)||void 0===f?void 0:f.content),e.createElement(t,{className:"signupButton",color:"primary",size:"lg"},O("footer.signUp")),e.createElement("div",{className:"social"},e.createElement(i,{size:"sm"},null===(b=null==s?void 0:s.social)||void 0===b?void 0:b.title),e.createElement("div",{className:"icons"},null===(h=null===(N=null==s?void 0:s.social)||void 0===N?void 0:N.socials)||void 0===h?void 0:h.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{loading:"lazy","data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",className:"social-icon"}))))),e.createElement("hr",{className:"hrMobile"}))),e.createElement("div",null,J&&e.createElement(e.Fragment,null,e.createElement("div",{className:"biglinks"},null===(F=null===(k=J[0])||void 0===k?void 0:k.items)||void 0===F?void 0:F.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"bigLink",key:a,href:t.url},t.title)))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(z=J[1])||void 0===z?void 0:z.menu_title),null===(j=null===($=J[1])||void 0===$?void 0:$.items)||void 0===j?void 0:j.map(((t,a)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`,className:"link",href:t.url,key:a},e.createElement(i,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(x=J[2])||void 0===x?void 0:x.menu_title),null===(T=null===(M=J[2])||void 0===M?void 0:M.items)||void 0===T?void 0:T.map(((t,a)=>t.url&&e.createElement("a",{"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url,className:"link",href:t.url,key:a},e.createElement(i,{size:"sm",dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title)))))),e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"otherSites"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(C=null==s?void 0:s.branch)||void 0===C?void 0:C.title),e.createElement("div",{className:"flags"},null===(_=null===(L=null==s?void 0:s.branch)||void 0===L?void 0:L.branch)||void 0===_?void 0:_.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-event-category":"Footer","data-event-action":t.name,"data-event-label":t.url},e.createElement(g,{url:t.flag,isMobile:d,dataEventCategory:"Footer",dataEventAction:t.name,dataEventLabel:t.url})))))))),e.createElement("hr",null),e.createElement("div",{className:"copyright"},e.createElement("div",{className:"copyright-image-wrapper"},K.length?K.map(((t,a)=>e.createElement("a",{href:t.url,key:a,className:"copyright-image"},e.createElement("img",{loading:"lazy",src:t.image,alt:"DMCA Icon"})))):null),e.createElement(i,{size:"xs",className:"copyright-content",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null===(H=null==s?void 0:s.general)||void 0===H?void 0:H.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})))):e.createElement(e.Fragment,null,(null==s?void 0:s.menu)&&e.createElement("div",{className:"columns"},e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(S=null==s?void 0:s.menu[1])||void 0===S?void 0:S.menu_title),null===(I=null===(w=null==s?void 0:s.menu[1])||void 0===w?void 0:w.items)||void 0===I?void 0:I.map((t=>e.createElement("a",{className:"link",href:t.url,key:t.title,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Information","data-content-title":t.title,"data-content-id":`https://${n[v]}${t.url}`,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":`https://${n[v]}${t.url}`},e.createElement(i,{dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:`https://${n[v]}${t.url}`,size:"sm",style:{color:o.colors.gray800}},t.title))))),e.createElement("div",{className:"mHalf"},e.createElement(i,{size:"sm",className:"linkTitle"},null===(A=null==s?void 0:s.menu[2])||void 0===A?void 0:A.menu_title),null===(G=null===(B=null==s?void 0:s.menu[2])||void 0===B?void 0:B.items)||void 0===G?void 0:G.map(((t,a)=>e.createElement("a",{className:"link",href:t.url,key:a,"data-list-type":"Footer","data-content-type":"Navigate","data-content-topic":"Hello Health","data-content-title":t.title,"data-content-id":t.url,"data-event-category":"Footer","data-event-action":t.title,"data-event-label":t.url},e.createElement(i,{size:"sm",color:o.colors.gray800,dataEventCategory:"Footer",dataEventAction:t.title,dataEventLabel:t.url},t.title))))),"mini"!==m&&e.createElement("hr",{className:"hrMobile"}),e.createElement("div",{className:"newsletter"},e.createElement("div",{className:"social"},e.createElement(i,{size:"sm"},null===(q=null==s?void 0:s.social)||void 0===q?void 0:q.title),e.createElement("div",{className:"icons"},null===(U=null===(D=null==s?void 0:s.social)||void 0===D?void 0:D.socials)||void 0===U?void 0:U.map(((t,a)=>e.createElement("a",{key:a,"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,href:t.url},e.createElement("img",{"data-event-category":"Footer","data-event-action":`Follow us - ${t.name}`,"data-content-label":t.url,src:t.icon,alt:"Logo Social",loading:"lazy",className:"social-icon"}))))))))))))};var y="B6-KmWK",f="GS-7mbG",b="qc5bEb3",N="CQGVeuT",h="_8eUT8Jr",k="_6JMoel-",F="pFG7UH3";const z=({logoType:t="marryBaby",footerMenu:n,background:c})=>{var u;if(!n)return null;const{general:E,menu:g,socials:p}=n;return e.createElement("footer",{className:y,style:{backgroundColor:c||"none"}},e.createElement(a,null,e.createElement("div",{className:f},null==g?void 0:g.map((({menu_title:t,items:a},l)=>e.createElement("div",{className:b,key:`mbf${l}`},e.createElement(v,{className:"title",type:"subtitle-1",color:o.mbColors.pink},t),null==a?void 0:a.map((({title:t,url:a},l)=>e.createElement("a",{"data-event-category":"Footer","data-event-action":"Click","data-event-label":`${a}`,className:"link",href:a,key:`footer-links-${l}`},e.createElement("div",{className:N,key:`mbitem${l}`},e.createElement(v,{type:"bodytext-2",color:o.mbColors.gray},t)))))))))),e.createElement(a,null,e.createElement("div",{className:k},e.createElement(r,{gap:"24px",sx:e=>({[e.fn.largerThan("sm")]:{".info-item":{flexGrow:1,width:"50%"}},[e.fn.smallerThan("sm")]:{flexDirection:"column"}})},e.createElement(m,{spacing:"24px",className:"info-item"},e.createElement(d,{className:"logo",type:t}),e.createElement(i,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.content}})),e.createElement("div",{className:F},null==p?void 0:p.map((({icon:t,name:a,url:l},n)=>e.createElement("a",{key:`social${n}`,target:"_blank",rel:"noreferrer","data-event-category":"Footer","data-event-action":`Follow us - ${a}`,"data-content-label":a,href:l},e.createElement("img",{className:"social-logo",loading:"lazy",src:t,alt:a})))))),e.createElement(s,{className:"info-item",sx:{paddingTop:"7px"}},e.createElement(i,{size:"p4",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.information}})))))),e.createElement("div",{className:h},e.createElement(a,null,e.createElement("div",{className:"content"},e.createElement(i,{size:"p5",color:"#fff",as:"div"},e.createElement("div",{dangerouslySetInnerHTML:{__html:null==E?void 0:E.copyright.replace(/{currentYear}/gi,l().get("year").toString())}})),e.createElement("div",{className:"verify"},null===(u=null==E?void 0:E.verified)||void 0===u?void 0:u.map((({image:t,url:a},l)=>e.createElement("img",{loading:"lazy",key:`imgMbFt${l}`,src:t,alt:a}))))))))},$=({type:t,isMobile:a=!0,locale:l,footerInfo:n,siteType:o,background:i})=>"helloSites"===o?e.createElement(p,{isMobile:a,type:t,locale:l,footerInfo:n||{}}):e.createElement(z,{footerMenu:n,background:i});export{$ as Footer};
|
package/build/esm/gAssets.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as s}from"./index-
|
|
1
|
+
import{d as s}from"./index-5968a9b1.js";import{i as e}from"./isProduction-b2d88eb1.js";import"date-fns/locale";import"./Onboarding-c0cfac18.js";const t="hellosehat.com";class o{constructor(){this.baseDomain="",this.subPath="",this.getAssetPath=(s,t,o)=>{const i="https://hhg-common."+[t||this.getBaseDomain(),o||this.subPath,s].join("/");return e||process.env.JEST_WORKER_ID?i:i+"?v="+Math.floor((new Date).getTime()/1e3/60/3)}}getBaseDomain(){if(this.baseDomain)return this.baseDomain;if("undefined"!=typeof window){const{host:e}=window.location,o=e.split("."),i=s[Object.keys(s).find((t=>e.includes(s[t])))];return o.includes("localhost")||o.includes("hellohealthgroup")||o.every((s=>{return e=s,!isNaN(parseFloat(e))&&isFinite(e);var e}))||!i?t:i}return t}}const i=new o;i.subPath="common",process.env.NEXT_PUBLIC_DEPLOY_LOCALE&&(i.baseDomain=s[process.env.NEXT_PUBLIC_DEPLOY_LOCALE]);export{i as CommonGAssets,o as GAssets};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as t}from"./tslib.es6-a59ac7f2.js";import{g as o}from"./core-85cc6a99.js";import{n as i}from"./normalizeLink-3bc92ac0.js";import{c as l}from"./routing-210e19d0.js";const n=(t,o)=>{var i,l;if(!t)return{};const n="tl-PH"===o?"/fil":"";return{id:t.id,isSubot:t.is_subot,template:t.template,icon:t.icon,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("http"))?t.link:`${n}/health-tools`+(null===(l=t.link)||void 0===l?void 0:l.replace(`${n}/`,"/")),subtitle:t.subtitle,title:t.title}},e=o=>t(void 0,void 0,void 0,(function*(){var t,e;try{const a="tl-PH"===o?"lang=fil":"";let s=[];try{const r=yield fetch(i(`${l(o)}/wp-json/api/healthtools?ismenu=0${a?"&"+a:""}`)).then((t=>t.json()));s=(null===(e=null===(t=null==r?void 0:r.data)||void 0===t?void 0:t.map)||void 0===e?void 0:e.call(t,(t=>n(t,o))))||[]}catch(t){}return s}catch(t){console.error(t)}})),a=i=>t(void 0,void 0,void 0,(function*(){return(yield o("all-health-tools",(()=>e(i||"en-PH")),(t=>!!(null==t?void 0:t.length)),6e4))||[]}));export{a,n as f,e as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"react";import{L as t}from"./Onboarding-281862b8.js";import{CommonGAssets as C}from"./gAssets.js";const l=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("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=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${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=${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=${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=${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/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
|
|
1
|
+
import e from"react";import{L as t}from"./Onboarding-c0cfac18.js";import{CommonGAssets as C}from"./gAssets.js";const l=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("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=${l}`},{icon:e.createElement("img",{src:C.getAssetPath("zalo-mini.png"),alt:"Zalo",style:{width:32,height:32},loading:"lazy"}),name:"Zalo",href:`https://sp.zalo.me/share?href=${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=${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=${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=${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/?${l}`,allowedLocales:[t.Taiwan]}];export{l as g};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LOCALE, LocaleType } from "../interfaces/types";
|
|
2
|
+
export declare const PREGNANCY_SLUG: {
|
|
3
|
+
[locale in LocaleType]: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const MAPPED_CATEGORY_SLUGS: {
|
|
6
|
+
[locale in LOCALE]: {
|
|
7
|
+
[k: string]: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const useCategory: (asPath: string) => {
|
|
11
|
+
isPregnancy: boolean;
|
|
12
|
+
isParenting: boolean;
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
package/build/esm/hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{u as useTranslations}from"./useTranslations-
|
|
1
|
+
export{u as useTranslations}from"./useTranslations-7b0b4bfb.js";export{M as MEASURE_ELEMENT_CLASS,u as useScrollbarSize}from"./useScrollbarSize-c8dc6432.js";export{u as useFbDataLayer,a as usePrevious,b as useRafState}from"./useRafState-85f8c6df.js";export{u as useHealthToolsCache}from"./useHealthToolCache-d4fccf30.js";export{u as useIsInit}from"./useIsInit-5ace6ff2.js";export{i as initSharedOutSideClickListener,a as useOutsideClick,u as useSharedOutsideClick}from"./useOutsideClick-b2f40fe8.js";export{u as useInitialMount,a as useUniqueId}from"./useUniqueId-6cb9ddef.js";export{M as MAPPED_CATEGORY_SLUGS,P as PREGNANCY_SLUG,u as useCategory}from"./useCategory-a175adb8.js";import"react";import"./translationsContext-9d561788.js";import"string-format";import"lodash/debounce";import"./tslib.es6-a59ac7f2.js";import"./cookieHelper-4e12ad4b.js";import"./getDynamicHealthTool-21089974.js";import"./core-85cc6a99.js";import"./isProduction-b2d88eb1.js";import"./normalizeLink-3bc92ac0.js";import"./routing-210e19d0.js";import"./index-5968a9b1.js";import"date-fns/locale";import"./Onboarding-c0cfac18.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type TranslationKeys = 'actionPopover.delete' | 'actionPopover.deleteNotification' | 'actionPopover.edit' | 'actionPopover.inviteShareCommunity' | 'actionPopover.joinCommunity' | 'actionPopover.leaveCommunit' | 'actionPopover.leaveCommunity' | 'actionPopover.leaveCommunity.accept' | 'actionPopover.leaveCommunity.cancel' | 'actionPopover.leaveCommunity.description' | 'actionPopover.leaveCommunity.title' | 'actionPopover.report' | 'actionPopover.turnOffNotification' | 'actionPopover.turnOffNotificationAbout' | 'actionPopover.turnOnNotification' | 'adBanner.title' | 'admin.comments' | 'admin.communities' | 'admin.community' | 'article.shareOn' | 'articleAuthor.title.expert' | 'articleAuthor.title.fact-check' | 'articleAuthor.title.medical' | 'articleAuthor.title.written-by' | 'articlePage.articleReviewerBy' | 'articlePage.readMore' | 'articlePage.showLess' | 'babyGrowth.alert.bmi' | 'babyGrowth.alert.head' | 'babyGrowth.alert.weight' | 'babyGrowth.chartTitle' | 'babyGrowth.chartTitle.noName' | 'babyGrowth.cm' | 'babyGrowth.drawer.addMeasurement' | 'babyGrowth.drawer.createBaby' | 'babyGrowth.drawer.switchProfile' | 'babyGrowth.emptyName' | 'babyGrowth.error.atLeastOneOf' | 'babyGrowth.error.birthdayRequired' | 'babyGrowth.error.invalidAge' | 'babyGrowth.error.invalidMeasurementDate' | 'babyGrowth.error.invalidValue' | 'babyGrowth.error.measurementDateLowerThanBirthday' | 'babyGrowth.error.outOfRange' | 'babyGrowth.error.title' | 'babyGrowth.head' | 'babyGrowth.headCircumference' | 'babyGrowth.height' | 'babyGrowth.input.babyName' | 'babyGrowth.input.birthday' | 'babyGrowth.input.bmi' | 'babyGrowth.input.bodyMass' | 'babyGrowth.input.checkSubmit' | 'babyGrowth.input.measurementDate' | 'babyGrowth.input.submit' | 'babyGrowth.kg' | 'babyGrowth.kg.m2' | 'babyGrowth.monthly' | 'babyGrowth.nickname' | 'babyGrowth.optional' | 'babyGrowth.pageTitle' | 'babyGrowth.percentiles' | 'babyGrowth.placeholder.babyName' | 'babyGrowth.popup.heading' | 'babyGrowth.reCalculate' | 'babyGrowth.record' | 'babyGrowth.save' | 'babyGrowth.save.loggedIn' | 'babyGrowth.weekly' | 'babyGrowth.weight' | 'babyGrowth.xLabel' | 'babyGrowth.yearly' | 'babyPoop.findOut' | 'babyPoopTool.name' | 'babyVaccine.banner.readmore' | 'babyVaccine.immunization.vaccineName' | 'babyVaccine.immunization.warning' | 'babyVaccine.popup.button' | 'babyVaccine.popup.button.submit' | 'babyVaccine.popup.checkbox.suggestedDate' | 'babyVaccine.popup.confirm.close' | 'babyVaccine.popup.confirm.description' | 'babyVaccine.popup.confirm.ok' | 'babyVaccine.popup.confirm.title' | 'babyVaccine.popup.input.suggestedDate' | 'babyVaccine.popup.label.doses' | 'babyVaccine.popup.tab.benefits' | 'babyVaccine.popup.tab.contraindication' | 'babyVaccine.popup.tab.detail' | 'babyVaccine.popup.tab.schedule' | 'babyVaccine.popup.title' | 'babyVaccine.status.all' | 'babyVaccine.status.missed' | 'babyVaccine.status.next' | 'babyVaccine.status.upcoming' | 'babyVaccine.status.vaccinated' | 'babyVaccine.timeline.antigen' | 'babyVaccine.timeline.atBirth' | 'babyVaccine.timeline.total' | 'babyVaccine.timeline.totalNext' | 'babyVaccine.timeline.totalPast' | 'babyVaccine.vaccineCard.injected' | 'babyVaccine.vaccineCard.markAsInjected' | 'babyVaccine.vaccineInfo.dose' | 'babyVaccine.vaccineInfo.injectedDate' | 'babyVaccine.vaccineInfo.mandatory' | 'babyVaccine.vaccineInfo.optional' | 'babyVaccine.vaccineInfo.suggested' | 'babyVaccineTool.selectGender' | 'bmi.ageInput' | 'bmi.ageInput.desc' | 'bmi.ageInput.error' | 'bmi.heading' | 'bmi.heightInput' | 'bmi.heightInput.desc' | 'bmi.heightInput.error' | 'bmi.objective' | 'bmi.objective.gainWeight' | 'bmi.objective.loseWeight' | 'bmi.objective.maintainWeight' | 'bmi.result.healthy' | 'bmi.result.overweight' | 'bmi.result.underweight' | 'bmi.selectGender' | 'bmi.submit' | 'bmi.weightInput' | 'bmi.weightInput.desc' | 'bmi.weightInput.error' | 'bmr.heading' | 'booking.searchBar.allLocations' | 'booking.searchBar.allSpecialties' | 'booking.searchBar.currentLocation' | 'booking.searchBar.grantLocation' | 'booking.searchBar.locationPlaceholder' | 'booking.searchBar.noResults' | 'booking.searchBar.placeholder.doctor' | 'booking.searchBar.placeholder.hospital' | 'booking.searchBar.placeholder.service' | 'booking.searchBar.placeholder.specialty' | 'booking.searchBar.popularKey' | 'booking.searchBar.searchButton' | 'booking.searchBar.searchInput.placeholder' | 'booking.searchBar.useCurrentLocation' | 'booking.searchBar.viewAll' | 'booking.searchPopup.doctors' | 'booking.searchPopup.hospitals' | 'booking.searchPopup.searchIn.doctors' | 'booking.searchPopup.searchIn.hospitals' | 'booking.searchPopup.searchIn.services' | 'booking.searchPopup.searchIn.specialties' | 'booking.searchPopup.seeAll' | 'booking.searchPopup.seeLessSpecialties' | 'booking.searchPopup.seeMoreSpecialties' | 'booking.searchPopup.services' | 'booking.searchPopup.specialties' | 'booking.searchResult.description' | 'bottomBar.share' | 'cardAuthor.admin' | 'cardAuthor.ambassador' | 'cardAuthor.expert' | 'cardAuthor.guide' | 'cardAuthor.influencer' | 'cardAuthor.localAdmin' | 'cardAuthor.moderator' | 'cardAuthor.sponsor' | 'cardPost.anonymous' | 'cardReactions.comment' | 'cardReactions.repliesCount' | 'cardReactions.reply' | 'cardReply.disclaimer' | 'cardReply.endorse' | 'cardReply.opposePopup.content' | 'cardReply.opposePopup.submit' | 'cardReply.pppose' | 'cardReply.recommentCategories.heading' | 'cardReply.source' | 'cardReply.verifyBy' | 'careBooking.bookAnAppointment' | 'categoryPage.info.reviewed' | 'categoryPage.onDate' | 'character' | 'childCard.age.months' | 'childCard.age.oneMonth' | 'childCard.age.oneWeek' | 'childCard.age.oneYear' | 'childCard.age.oneYearMonth' | 'childCard.age.oneYearOneMonth' | 'childCard.age.week' | 'childCard.age.yearMonth' | 'childCard.age.yearNoMonth' | 'childCard.age.yearOneMonth' | 'childCard.boy' | 'childCard.girl' | 'childCard.menu.add' | 'childCard.menu.edit' | 'childCard.menu.remove' | 'childCard.menu.switch' | 'childCard.noName' | 'choicePopover.ambassadorPosts' | 'choicePopover.expertPosts' | 'choicePopover.lastestPost' | 'choicePopover.latest' | 'choicePopover.newest' | 'choicePopover.oldest' | 'choicePopover.popular' | 'choicePopover.popularPost' | 'choicePopover.sort' | 'chooseBaby.button' | 'chooseBaby.new' | 'chooseBaby.placeholder' | 'chooseBaby.title' | 'comment.count' | 'comment.seeMoreComments' | 'comment.seeMoreReplies' | 'commentPopup.warning.newPost' | 'common.profileNavigator.newsletterSubscription' | 'community.choose' | 'community.notification.joined' | 'community.notification.left' | 'copied' | 'copy' | 'createPost.askDoctor' | 'createPost.askDoctorChoice.no' | 'createPost.askDoctorChoice.yes' | 'createPost.message.askDoctorRequire' | 'createPost.popup.description' | 'createPost.popup.guideSelectMonthTopics' | 'createPost.popup.guideSelectTopics' | 'createPost.popup.primary' | 'createPost.popup.selectMonthTopicBtn' | 'createPost.popup.specialCharErr' | 'createPost.popup.submit' | 'createPost.popup.success' | 'createPost.popup.warning' | 'createPost.popup.warningImage' | 'createPost.popup.wordCount' | 'createPost.postAnonymous' | 'createPost.title' | 'createPost.urlText' | 'dueDatePage.calculationMethod' | 'dueDatePage.conceptionDate' | 'dueDatePage.daysText' | 'dueDatePage.ivf' | 'dueDatePage.ivf.transferDate' | 'dueDatePage.ivf.transferDateRadio' | 'dueDatePage.lastPeriod' | 'dueDatePage.lastPeriod.calculate' | 'dueDatePage.lastPeriod.lastPeriodLabel' | 'dueDatePage.lastPeriod.periodLengthLabel' | 'expert.content.description' | 'expert.content.experiences' | 'footer.signUp' | 'gender.female' | 'gender.male' | 'healthTools.dueDateCalculator' | 'healthTools.ovulationCalculator' | 'healthtool.placeholder.age' | 'home.menu.category.view' | 'home.navigator.menu.care.homeButton' | 'home.navigator.menu.care.noDatas.cta' | 'home.navigator.menu.care.noDatas.description' | 'home.navigator.menu.care.noDatas.title' | 'home.navigator.menu.category.noDatas.cta' | 'home.navigator.menu.category.noDatas.description' | 'home.navigator.menu.category.noDatas.title' | 'home.navigator.menu.healthTools.noDatas.cta' | 'home.navigator.menu.healthTools.noDatas.description' | 'home.navigator.menu.healthTools.noDatas.title' | 'home.navigator.menu.spotlightHospitals' | 'home.navigator.menu.spotlightTools' | 'home.navigator.menu.spotlights' | 'home.navigator.menu.spotlights.seeAll' | 'home.navigator.menu.together.noPosts.cta' | 'home.navigator.menu.together.noPosts.description' | 'home.navigator.menu.together.noPosts.title' | 'home.navigator.menu.trendingPosts' | 'home.navigator.menu.trendingPosts.seeMore' | 'home.navigator.menuItem.allCategories' | 'home.navigator.menuItem.allCommunities' | 'home.navigator.menuItem.allCommunitiesheadingTitle' | 'home.navigator.menuItem.allHealthTools' | 'home.navigator.menuItem.allSpecialties' | 'home.navigator.menuItem.allSpotlight' | 'home.navigator.menuItem.discover' | 'home.navigator.menuItem.healthCategories' | 'home.navigator.menuItem.healthTools' | 'home.navigator.menuItem.healthToolsList' | 'home.navigator.menuItem.helloCare' | 'home.navigator.menuItem.helloEcom' | 'home.navigator.menuItem.helloTogether' | 'home.navigator.menuItem.language' | 'home.navigator.menuItem.new' | 'home.navigator.menuItem.specialties' | 'home.navigator.menuItem.spotlights' | 'home.search' | 'home.seeAll' | 'home.seeAllCategories' | 'home.seeExpert' | 'home.seeHospital' | 'home.seeMore' | 'home.seeMoreExperts' | 'hospital.content.description' | 'inputComment.replyTo' | 'insert' | 'label.latestPost' | 'label.pinnedPost' | 'loading' | 'login.booking' | 'logout.popup.ask.mb' | 'logout.popup.ask1' | 'logout.popup.ask2' | 'logout.popup.button.cancel' | 'logout.popup.button.logout' | 'menu.care.searchBySpecialties' | 'morePopover.report' | 'morePopover.report.description' | 'morePopover.report.falseNews' | 'morePopover.report.offensive' | 'morePopover.report.other' | 'morePopover.report.prohibited' | 'morePopover.report.scam' | 'morePopover.report.sex' | 'morePopover.report.spam' | 'morePopover.report.title' | 'morePopover.report.violence' | 'morePopover.reportSubmit.description' | 'morePopover.reportSubmit.title' | 'morePopover.savePost' | 'morePopover.share' | 'morePopover.shareOn' | 'morePopover.turnOffNotifications' | 'morePopover.turnOnNotifications' | 'morePopover.unsavePost' | 'navigation.loginJoin' | 'navigation.search.input.placeholder' | 'navigation.signUp' | 'notification.comment.blocked.message' | 'notification.comment.blocked.title' | 'notification.comment.premod' | 'notification.comment.rejected' | 'notification.comment.reportFailed' | 'notification.comment.reportSuccess' | 'notification.comment.somethingWrong' | 'notification.comment.suspect.message' | 'notification.comment.suspect.title' | 'notification.comment.systemWithheld' | 'notification.failure' | 'notification.limitUrlDomain' | 'notification.post.blocked.message' | 'notification.post.blocked.title' | 'notification.post.delete' | 'notification.post.suspect.message' | 'notification.post.suspect.title' | 'notification.success' | 'notification.suspend.message' | 'notification.urlWrongFormat' | 'onboarding.button.continue' | 'onboarding.button.skip' | 'onboarding.errorMessage.invalidEmail' | 'onboarding.errorMessage.minLength' | 'onboarding.errorMessage.passNotMatch' | 'onboarding.errorMessage.passWithPattern' | 'onboarding.errorMessage.requiredConfirmPassword' | 'onboarding.errorMessage.requiredEmail' | 'onboarding.errorMessage.requiredName' | 'onboarding.errorMessage.requiredPassword' | 'onboarding.formEmail.description' | 'onboarding.formEmail.genderFemale' | 'onboarding.formEmail.genderMale' | 'onboarding.formEmail.heading' | 'onboarding.formEmail.yourBirthday' | 'onboarding.formEmail.yourEmail' | 'onboarding.formEmail.yourName' | 'onboarding.label.fullName' | 'onboarding.otpForm.description' | 'onboarding.otpForm.descriptionEmail' | 'onboarding.otpForm.error' | 'onboarding.otpForm.heading' | 'onboarding.otpForm.notReceiveOTP' | 'onboarding.otpForm.resendCode' | 'onboarding.similac.address.error' | 'onboarding.similac.input.address' | 'onboarding.similac.input.city' | 'onboarding.similac.input.district' | 'onboarding.similac.input.no' | 'onboarding.similac.input.phone' | 'onboarding.similac.input.ward' | 'onboarding.similac.term.error' | 'onboarding.updatePassword.confirmPassword' | 'onboarding.updatePassword.description' | 'onboarding.updatePassword.heading' | 'onboarding.updatePassword.password' | 'onboarding.updatePasswordResult.description' | 'onboarding.updatePasswordResult.heading' | 'onboarding.updatePhone.description' | 'onboarding.updatePhone.error' | 'onboarding.updatePhone.heading' | 'onboarding.welcomeScreen.content' | 'onboarding.welcomeScreen.heading' | 'orCopyLink' | 'ovulationPage.avoidPregnancy' | 'ovulationPage.conceive' | 'ovulationPage.cycleLength' | 'ovulationPage.dayUnit' | 'ovulationPage.objectives' | 'ovulationPage.periodDuration' | 'ovulationPage.trackPeriod' | 'placeholder.enterTitleHere' | 'placeholder.enterUrlHere' | 'placeholder.enterUrlTextHere' | 'placeholder.newCmt' | 'placeholder.newPost' | 'popup.allTopics' | 'popup.createPost.confirmCloseDescription' | 'popup.createPost.confirmCloseTitle' | 'popup.deleteComment.description' | 'popup.deleteComment.title' | 'popup.deletePost.accept' | 'popup.deletePost.cancel' | 'popup.deletePost.description' | 'popup.deletePost.title' | 'popup.discardPost' | 'popup.discardPostEdit' | 'popup.editPost' | 'popup.keepEditing' | 'popup.startANewPost' | 'post.commentCount' | 'post.likesCount' | 'post.seeMore' | 'post.shareCount' | 'pregnancy.week' | 'pregnancyTool.description' | 'pregnancyTool.title' | 'pregnancyTool.weightSuggested' | 'pregnancyWeightGain.havingTwins' | 'pregnancyWeightGain.heading' | 'pregnancyWeightGain.heightInput' | 'pregnancyWeightGain.weekInput' | 'pregnancyWeightGain.weightBeforeInput' | 'pregnancyWeightGain.weightInput' | 'pregnancyWeightGain.weightInput.desc' | 'previewPhotos.title' | 'profilePanel.anserwing.viewFull' | 'profilePanel.awards' | 'profilePanel.createPost' | 'profilePanel.education' | 'profilePanel.emptyCareMess.content' | 'profilePanel.emptyPostMess.content' | 'profilePanel.experience' | 'profilePanel.joined' | 'profilePanel.modal.heading' | 'profilePanel.publishcation' | 'profilePanel.publishedArticles' | 'profilePanel.question' | 'profilePanel.questionNotClear' | 'profilePanel.skipQuestion.content' | 'profilePanel.skipQuestion.heading' | 'profilePanel.socialLinks' | 'profilePanel.tabs.care' | 'profilePanel.tabs.expertAnswer' | 'profilePanel.tabs.highlight' | 'profilePanel.tabs.posts' | 'profilePanel.tabs.relevantArticles' | 'pwg.placeholder.height' | 'pwg.placeholder.weight' | 'sensitiveMask.blur' | 'sensitiveMask.contentWarningDescription' | 'sensitiveMask.contentWarningMessage' | 'sensitiveMask.unblur' | 'share.copyLink' | 'share.letsJoinCommunity' | 'share.letsJoinTopic' | 'share.linkCopied' | 'share.linkShared' | 'share.title' | 'shareContainer.title' | 'similac.thankYou.done' | 'submit' | 'switchBtn.no' | 'switchBtn.yes' | 'tab.about' | 'tab.discussion' | 'tab.topic' | 'tagTopic.moreTopics' | 'targetHearRate.heading' | 'targetHeartRate.aerobicZone.note' | 'targetHeartRate.aerobicZone.title' | 'targetHeartRate.ageInput' | 'targetHeartRate.ageInput.desc' | 'targetHeartRate.ageInput.error' | 'targetHeartRate.heartRateInput' | 'targetHeartRate.heartRateInput.desc' | 'targetHeartRate.heartRateInput.error' | 'targetHeartRate.lowIntensity.note' | 'targetHeartRate.lowIntensity.title' | 'targetHeartRate.maximumIntensity.note' | 'targetHeartRate.maximumIntensity.title' | 'targetHeartRate.moderateIntensity.note' | 'targetHeartRate.moderateIntensity.title' | 'targetHeartRate.optional' | 'targetHeartRate.selectActive' | 'targetHeartRate.vigorousIntensity.note' | 'targetHeartRate.vigorousIntensity.title' | 'tool.askChecking' | 'tool.selectPerson' | 'tool.selectPerson.other' | 'tool.selectPerson.yourSelf' | 'toolPage.toolReviewer' | 'tools.heading.on' | 'userProfile.nav.card.eCom' | 'userProfile.nav.card.myBooking' | 'userProfile.nav.card.myCommunity' | 'userProfile.nav.card.myFamily' | 'userProfile.nav.card.myHealth' | 'userProfile.nav.card.mySaved' | 'userProfile.nav.header.count.comments' | 'userProfile.nav.header.count.posts' | 'userProfile.nav.header.count.tools' | 'userProfile.nav.header.points' | 'userProfile.nav.header.viewProfile' | 'userProfile.nav.menu.accountSettings' | 'userProfile.nav.menu.disableAccount' | 'userProfile.nav.menu.help' | 'userProfile.nav.menu.logout' | 'userProfile.nav.menu.password' | 'userProfile.userRank.ambassador' | 'userProfile.userRank.doctor' | 'userProfile.userRank.expert' | 'userProfile.userRank.influencer' | 'userProfile.userRank.member' | 'verifyBotAnswer.confirmEndorse.accept' | 'verifyBotAnswer.confirmEndorse.cancel' | 'verifyBotAnswer.confirmEndorse.description' | 'verifyBotAnswer.confirmEndorse.heading';
|
|
1
|
+
export type TranslationKeys = 'actionPopover.delete' | 'actionPopover.deleteNotification' | 'actionPopover.edit' | 'actionPopover.inviteShareCommunity' | 'actionPopover.joinCommunity' | 'actionPopover.leaveCommunit' | 'actionPopover.leaveCommunity' | 'actionPopover.leaveCommunity.accept' | 'actionPopover.leaveCommunity.cancel' | 'actionPopover.leaveCommunity.description' | 'actionPopover.leaveCommunity.title' | 'actionPopover.report' | 'actionPopover.turnOffNotification' | 'actionPopover.turnOffNotificationAbout' | 'actionPopover.turnOnNotification' | 'adBanner.title' | 'admin.comments' | 'admin.communities' | 'admin.community' | 'article.shareOn' | 'articleAuthor.title.expert' | 'articleAuthor.title.fact-check' | 'articleAuthor.title.medical' | 'articleAuthor.title.written-by' | 'articlePage.articleReviewerBy' | 'articlePage.readMore' | 'articlePage.showLess' | 'babyGrowth.alert.bmi' | 'babyGrowth.alert.head' | 'babyGrowth.alert.weight' | 'babyGrowth.chartTitle' | 'babyGrowth.chartTitle.noName' | 'babyGrowth.cm' | 'babyGrowth.drawer.addMeasurement' | 'babyGrowth.drawer.createBaby' | 'babyGrowth.drawer.switchProfile' | 'babyGrowth.emptyName' | 'babyGrowth.error.atLeastOneOf' | 'babyGrowth.error.birthdayRequired' | 'babyGrowth.error.invalidAge' | 'babyGrowth.error.invalidMeasurementDate' | 'babyGrowth.error.invalidValue' | 'babyGrowth.error.measurementDateLowerThanBirthday' | 'babyGrowth.error.outOfRange' | 'babyGrowth.error.title' | 'babyGrowth.head' | 'babyGrowth.headCircumference' | 'babyGrowth.height' | 'babyGrowth.input.babyName' | 'babyGrowth.input.birthday' | 'babyGrowth.input.bmi' | 'babyGrowth.input.bodyMass' | 'babyGrowth.input.checkSubmit' | 'babyGrowth.input.measurementDate' | 'babyGrowth.input.submit' | 'babyGrowth.kg' | 'babyGrowth.kg.m2' | 'babyGrowth.monthly' | 'babyGrowth.nickname' | 'babyGrowth.optional' | 'babyGrowth.pageTitle' | 'babyGrowth.percentiles' | 'babyGrowth.placeholder.babyName' | 'babyGrowth.popup.heading' | 'babyGrowth.reCalculate' | 'babyGrowth.record' | 'babyGrowth.save' | 'babyGrowth.save.loggedIn' | 'babyGrowth.weekly' | 'babyGrowth.weight' | 'babyGrowth.xLabel' | 'babyGrowth.yearly' | 'babyPoop.findOut' | 'babyPoopTool.name' | 'babyVaccine.banner.readmore' | 'babyVaccine.immunization.vaccineName' | 'babyVaccine.immunization.warning' | 'babyVaccine.popup.button' | 'babyVaccine.popup.button.submit' | 'babyVaccine.popup.checkbox.suggestedDate' | 'babyVaccine.popup.confirm.close' | 'babyVaccine.popup.confirm.description' | 'babyVaccine.popup.confirm.ok' | 'babyVaccine.popup.confirm.title' | 'babyVaccine.popup.input.suggestedDate' | 'babyVaccine.popup.label.doses' | 'babyVaccine.popup.tab.benefits' | 'babyVaccine.popup.tab.contraindication' | 'babyVaccine.popup.tab.detail' | 'babyVaccine.popup.tab.schedule' | 'babyVaccine.popup.title' | 'babyVaccine.status.all' | 'babyVaccine.status.missed' | 'babyVaccine.status.next' | 'babyVaccine.status.upcoming' | 'babyVaccine.status.vaccinated' | 'babyVaccine.timeline.antigen' | 'babyVaccine.timeline.atBirth' | 'babyVaccine.timeline.total' | 'babyVaccine.timeline.totalNext' | 'babyVaccine.timeline.totalPast' | 'babyVaccine.vaccineCard.injected' | 'babyVaccine.vaccineCard.markAsInjected' | 'babyVaccine.vaccineInfo.dose' | 'babyVaccine.vaccineInfo.injectedDate' | 'babyVaccine.vaccineInfo.mandatory' | 'babyVaccine.vaccineInfo.optional' | 'babyVaccine.vaccineInfo.suggested' | 'babyVaccineTool.selectGender' | 'bmi.ageInput' | 'bmi.ageInput.desc' | 'bmi.ageInput.error' | 'bmi.heading' | 'bmi.heightInput' | 'bmi.heightInput.desc' | 'bmi.heightInput.error' | 'bmi.objective' | 'bmi.objective.gainWeight' | 'bmi.objective.loseWeight' | 'bmi.objective.maintainWeight' | 'bmi.result.healthy' | 'bmi.result.overweight' | 'bmi.result.underweight' | 'bmi.selectGender' | 'bmi.submit' | 'bmi.weightInput' | 'bmi.weightInput.desc' | 'bmi.weightInput.error' | 'bmr.heading' | 'booking.searchBar.allLocations' | 'booking.searchBar.allSpecialties' | 'booking.searchBar.currentLocation' | 'booking.searchBar.grantLocation' | 'booking.searchBar.locationPlaceholder' | 'booking.searchBar.noResults' | 'booking.searchBar.placeholder.doctor' | 'booking.searchBar.placeholder.hospital' | 'booking.searchBar.placeholder.service' | 'booking.searchBar.placeholder.specialty' | 'booking.searchBar.popularKey' | 'booking.searchBar.searchButton' | 'booking.searchBar.searchInput.placeholder' | 'booking.searchBar.useCurrentLocation' | 'booking.searchBar.viewAll' | 'booking.searchPopup.doctors' | 'booking.searchPopup.hospitals' | 'booking.searchPopup.searchIn.doctors' | 'booking.searchPopup.searchIn.hospitals' | 'booking.searchPopup.searchIn.services' | 'booking.searchPopup.searchIn.specialties' | 'booking.searchPopup.seeAll' | 'booking.searchPopup.seeLessSpecialties' | 'booking.searchPopup.seeMoreSpecialties' | 'booking.searchPopup.services' | 'booking.searchPopup.specialties' | 'booking.searchResult.description' | 'bottomBar.share' | 'cardAuthor.admin' | 'cardAuthor.ambassador' | 'cardAuthor.expert' | 'cardAuthor.guide' | 'cardAuthor.influencer' | 'cardAuthor.localAdmin' | 'cardAuthor.moderator' | 'cardAuthor.sponsor' | 'cardPost.anonymous' | 'cardReactions.comment' | 'cardReactions.repliesCount' | 'cardReactions.reply' | 'cardReply.disclaimer' | 'cardReply.endorse' | 'cardReply.opposePopup.content' | 'cardReply.opposePopup.submit' | 'cardReply.pppose' | 'cardReply.recommentCategories.heading' | 'cardReply.source' | 'cardReply.verifyBy' | 'careBooking.bookAnAppointment' | 'categoryPage.info.reviewed' | 'categoryPage.onDate' | 'character' | 'childCard.age.months' | 'childCard.age.oneMonth' | 'childCard.age.oneWeek' | 'childCard.age.oneYear' | 'childCard.age.oneYearMonth' | 'childCard.age.oneYearOneMonth' | 'childCard.age.week' | 'childCard.age.yearMonth' | 'childCard.age.yearNoMonth' | 'childCard.age.yearOneMonth' | 'childCard.boy' | 'childCard.girl' | 'childCard.menu.add' | 'childCard.menu.edit' | 'childCard.menu.remove' | 'childCard.menu.switch' | 'childCard.noName' | 'choicePopover.ambassadorPosts' | 'choicePopover.expertPosts' | 'choicePopover.lastestPost' | 'choicePopover.latest' | 'choicePopover.newest' | 'choicePopover.oldest' | 'choicePopover.popular' | 'choicePopover.popularPost' | 'choicePopover.sort' | 'chooseBaby.button' | 'chooseBaby.new' | 'chooseBaby.placeholder' | 'chooseBaby.title' | 'comment.count' | 'comment.seeMoreComments' | 'comment.seeMoreReplies' | 'commentPopup.warning.newPost' | 'common.profileNavigator.newsletterSubscription' | 'community.choose' | 'community.notification.joined' | 'community.notification.left' | 'copied' | 'copy' | 'createPost.askDoctor' | 'createPost.askDoctorChoice.no' | 'createPost.askDoctorChoice.yes' | 'createPost.message.askDoctorRequire' | 'createPost.popup.description' | 'createPost.popup.guideSelectMonthTopics' | 'createPost.popup.guideSelectTopics' | 'createPost.popup.primary' | 'createPost.popup.selectMonthTopicBtn' | 'createPost.popup.specialCharErr' | 'createPost.popup.submit' | 'createPost.popup.success' | 'createPost.popup.warning' | 'createPost.popup.warningImage' | 'createPost.popup.wordCount' | 'createPost.postAnonymous' | 'createPost.title' | 'createPost.urlText' | 'dueDatePage.calculationMethod' | 'dueDatePage.conceptionDate' | 'dueDatePage.daysText' | 'dueDatePage.ivf' | 'dueDatePage.ivf.transferDate' | 'dueDatePage.ivf.transferDateRadio' | 'dueDatePage.lastPeriod' | 'dueDatePage.lastPeriod.calculate' | 'dueDatePage.lastPeriod.lastPeriodLabel' | 'dueDatePage.lastPeriod.periodLengthLabel' | 'expert.content.description' | 'expert.content.experiences' | 'footer.signUp' | 'gender.female' | 'gender.male' | 'healthToolPNModal.back' | 'healthToolPNModal.findMore.chooseFav' | 'healthToolPNModal.finish' | 'healthToolPNModal.heading' | 'healthToolPNModal.mainForm.requireName' | 'healthToolPNModal.mainForm.tailorTopicsHeading' | 'healthToolPNModal.next' | 'healthToolPNModal.register' | 'healthToolPNModal.yourPre' | 'healthTools.dueDateCalculator' | 'healthTools.ovulationCalculator' | 'healthtool.placeholder.age' | 'home.menu.category.view' | 'home.navigator.menu.care.homeButton' | 'home.navigator.menu.care.noDatas.cta' | 'home.navigator.menu.care.noDatas.description' | 'home.navigator.menu.care.noDatas.title' | 'home.navigator.menu.category.noDatas.cta' | 'home.navigator.menu.category.noDatas.description' | 'home.navigator.menu.category.noDatas.title' | 'home.navigator.menu.healthTools.noDatas.cta' | 'home.navigator.menu.healthTools.noDatas.description' | 'home.navigator.menu.healthTools.noDatas.title' | 'home.navigator.menu.spotlightHospitals' | 'home.navigator.menu.spotlightTools' | 'home.navigator.menu.spotlights' | 'home.navigator.menu.spotlights.seeAll' | 'home.navigator.menu.together.noPosts.cta' | 'home.navigator.menu.together.noPosts.description' | 'home.navigator.menu.together.noPosts.title' | 'home.navigator.menu.trendingPosts' | 'home.navigator.menu.trendingPosts.seeMore' | 'home.navigator.menuItem.allCategories' | 'home.navigator.menuItem.allCommunities' | 'home.navigator.menuItem.allCommunitiesheadingTitle' | 'home.navigator.menuItem.allHealthTools' | 'home.navigator.menuItem.allSpecialties' | 'home.navigator.menuItem.allSpotlight' | 'home.navigator.menuItem.discover' | 'home.navigator.menuItem.healthCategories' | 'home.navigator.menuItem.healthTools' | 'home.navigator.menuItem.healthToolsList' | 'home.navigator.menuItem.helloCare' | 'home.navigator.menuItem.helloEcom' | 'home.navigator.menuItem.helloTogether' | 'home.navigator.menuItem.language' | 'home.navigator.menuItem.new' | 'home.navigator.menuItem.specialties' | 'home.navigator.menuItem.spotlights' | 'home.search' | 'home.seeAll' | 'home.seeAllCategories' | 'home.seeExpert' | 'home.seeHospital' | 'home.seeMore' | 'home.seeMoreExperts' | 'hospital.content.description' | 'inputComment.replyTo' | 'insert' | 'label.latestPost' | 'label.pinnedPost' | 'loading' | 'login.booking' | 'logout.popup.ask.mb' | 'logout.popup.ask1' | 'logout.popup.ask2' | 'logout.popup.button.cancel' | 'logout.popup.button.logout' | 'menu.care.searchBySpecialties' | 'morePopover.report' | 'morePopover.report.description' | 'morePopover.report.falseNews' | 'morePopover.report.offensive' | 'morePopover.report.other' | 'morePopover.report.prohibited' | 'morePopover.report.scam' | 'morePopover.report.sex' | 'morePopover.report.spam' | 'morePopover.report.title' | 'morePopover.report.violence' | 'morePopover.reportSubmit.description' | 'morePopover.reportSubmit.title' | 'morePopover.savePost' | 'morePopover.share' | 'morePopover.shareOn' | 'morePopover.turnOffNotifications' | 'morePopover.turnOnNotifications' | 'morePopover.unsavePost' | 'navigation.loginJoin' | 'navigation.search.input.placeholder' | 'navigation.signUp' | 'newsletter.error.minCotennt' | 'newsletter.error.minTitle' | 'newsletter.topic.title' | 'newsletter.welcome.description' | 'notification.comment.blocked.message' | 'notification.comment.blocked.title' | 'notification.comment.premod' | 'notification.comment.rejected' | 'notification.comment.reportFailed' | 'notification.comment.reportSuccess' | 'notification.comment.somethingWrong' | 'notification.comment.suspect.message' | 'notification.comment.suspect.title' | 'notification.comment.systemWithheld' | 'notification.failure' | 'notification.limitUrlDomain' | 'notification.post.blocked.message' | 'notification.post.blocked.title' | 'notification.post.delete' | 'notification.post.suspect.message' | 'notification.post.suspect.title' | 'notification.success' | 'notification.suspend.message' | 'notification.urlWrongFormat' | 'onboarding.button.continue' | 'onboarding.button.skip' | 'onboarding.errorMessage.invalidEmail' | 'onboarding.errorMessage.minLength' | 'onboarding.errorMessage.passNotMatch' | 'onboarding.errorMessage.passWithPattern' | 'onboarding.errorMessage.requiredConfirmPassword' | 'onboarding.errorMessage.requiredEmail' | 'onboarding.errorMessage.requiredName' | 'onboarding.errorMessage.requiredPassword' | 'onboarding.formEmail.description' | 'onboarding.formEmail.genderFemale' | 'onboarding.formEmail.genderMale' | 'onboarding.formEmail.heading' | 'onboarding.formEmail.yourBirthday' | 'onboarding.formEmail.yourEmail' | 'onboarding.formEmail.yourName' | 'onboarding.label.fullName' | 'onboarding.otpForm.description' | 'onboarding.otpForm.descriptionEmail' | 'onboarding.otpForm.error' | 'onboarding.otpForm.heading' | 'onboarding.otpForm.notReceiveOTP' | 'onboarding.otpForm.resendCode' | 'onboarding.similac.address.error' | 'onboarding.similac.input.address' | 'onboarding.similac.input.city' | 'onboarding.similac.input.district' | 'onboarding.similac.input.no' | 'onboarding.similac.input.phone' | 'onboarding.similac.input.ward' | 'onboarding.similac.term.error' | 'onboarding.updatePassword.confirmPassword' | 'onboarding.updatePassword.description' | 'onboarding.updatePassword.heading' | 'onboarding.updatePassword.password' | 'onboarding.updatePasswordResult.description' | 'onboarding.updatePasswordResult.heading' | 'onboarding.updatePhone.description' | 'onboarding.updatePhone.error' | 'onboarding.updatePhone.heading' | 'onboarding.welcomeScreen.content' | 'onboarding.welcomeScreen.heading' | 'orCopyLink' | 'ovulationPage.avoidPregnancy' | 'ovulationPage.conceive' | 'ovulationPage.cycleLength' | 'ovulationPage.dayUnit' | 'ovulationPage.objectives' | 'ovulationPage.periodDuration' | 'ovulationPage.trackPeriod' | 'placeholder.enterTitleHere' | 'placeholder.enterUrlHere' | 'placeholder.enterUrlTextHere' | 'placeholder.newCmt' | 'placeholder.newPost' | 'pnBannerWithOption.dueDateTool.btnLabel' | 'pnBannerWithOption.dueDateTool.desc' | 'pnBannerWithOption.dueDateTool.heading' | 'pnBannerWithOption.pregnancy.desc' | 'pnBannerWithOption.pregnancy.heading' | 'pnModal.disclaimer' | 'pnTopicSection.maxSelectError.desc' | 'pnTopicSection.maxSelectError.detail' | 'pnTopicSection.maxSelectError.title' | 'pnTopicSection.notFound' | 'pnTopicSection.plsEnterFavTopics' | 'pnTopicSection.ppAlsoInterested' | 'pnTopicSection.recentView' | 'pnTopicSection.trending' | 'popup.allTopics' | 'popup.createPost.confirmCloseDescription' | 'popup.createPost.confirmCloseTitle' | 'popup.deleteComment.description' | 'popup.deleteComment.title' | 'popup.deletePost.accept' | 'popup.deletePost.cancel' | 'popup.deletePost.description' | 'popup.deletePost.title' | 'popup.discardPost' | 'popup.discardPostEdit' | 'popup.editPost' | 'popup.keepEditing' | 'popup.startANewPost' | 'post.commentCount' | 'post.likesCount' | 'post.seeMore' | 'post.shareCount' | 'pregnancy.week' | 'pregnancyTool.description' | 'pregnancyTool.title' | 'pregnancyTool.weightSuggested' | 'pregnancyWeightGain.havingTwins' | 'pregnancyWeightGain.heading' | 'pregnancyWeightGain.heightInput' | 'pregnancyWeightGain.weekInput' | 'pregnancyWeightGain.weightBeforeInput' | 'pregnancyWeightGain.weightInput' | 'pregnancyWeightGain.weightInput.desc' | 'previewPhotos.title' | 'profilePanel.anserwing.viewFull' | 'profilePanel.awards' | 'profilePanel.createPost' | 'profilePanel.education' | 'profilePanel.emptyCareMess.content' | 'profilePanel.emptyPostMess.content' | 'profilePanel.experience' | 'profilePanel.joined' | 'profilePanel.modal.heading' | 'profilePanel.publishcation' | 'profilePanel.publishedArticles' | 'profilePanel.question' | 'profilePanel.questionNotClear' | 'profilePanel.skipQuestion.content' | 'profilePanel.skipQuestion.heading' | 'profilePanel.socialLinks' | 'profilePanel.tabs.care' | 'profilePanel.tabs.expertAnswer' | 'profilePanel.tabs.highlight' | 'profilePanel.tabs.posts' | 'profilePanel.tabs.relevantArticles' | 'pwg.placeholder.height' | 'pwg.placeholder.weight' | 'sensitiveMask.blur' | 'sensitiveMask.contentWarningDescription' | 'sensitiveMask.contentWarningMessage' | 'sensitiveMask.unblur' | 'share.copyLink' | 'share.letsJoinCommunity' | 'share.letsJoinTopic' | 'share.linkCopied' | 'share.linkShared' | 'share.title' | 'shareContainer.title' | 'similac.thankYou.done' | 'submit' | 'switchBtn.no' | 'switchBtn.yes' | 'tab.about' | 'tab.discussion' | 'tab.topic' | 'tagTopic.moreTopics' | 'targetHearRate.heading' | 'targetHeartRate.aerobicZone.note' | 'targetHeartRate.aerobicZone.title' | 'targetHeartRate.ageInput' | 'targetHeartRate.ageInput.desc' | 'targetHeartRate.ageInput.error' | 'targetHeartRate.heartRateInput' | 'targetHeartRate.heartRateInput.desc' | 'targetHeartRate.heartRateInput.error' | 'targetHeartRate.lowIntensity.note' | 'targetHeartRate.lowIntensity.title' | 'targetHeartRate.maximumIntensity.note' | 'targetHeartRate.maximumIntensity.title' | 'targetHeartRate.moderateIntensity.note' | 'targetHeartRate.moderateIntensity.title' | 'targetHeartRate.optional' | 'targetHeartRate.selectActive' | 'targetHeartRate.vigorousIntensity.note' | 'targetHeartRate.vigorousIntensity.title' | 'tool.askChecking' | 'tool.selectPerson' | 'tool.selectPerson.other' | 'tool.selectPerson.yourSelf' | 'toolPage.toolReviewer' | 'tools.heading.on' | 'userProfile.nav.card.eCom' | 'userProfile.nav.card.myBooking' | 'userProfile.nav.card.myCommunity' | 'userProfile.nav.card.myFamily' | 'userProfile.nav.card.myHealth' | 'userProfile.nav.card.mySaved' | 'userProfile.nav.header.count.comments' | 'userProfile.nav.header.count.posts' | 'userProfile.nav.header.count.tools' | 'userProfile.nav.header.points' | 'userProfile.nav.header.viewProfile' | 'userProfile.nav.menu.accountSettings' | 'userProfile.nav.menu.disableAccount' | 'userProfile.nav.menu.help' | 'userProfile.nav.menu.logout' | 'userProfile.nav.menu.password' | 'userProfile.userRank.ambassador' | 'userProfile.userRank.doctor' | 'userProfile.userRank.expert' | 'userProfile.userRank.influencer' | 'userProfile.userRank.member' | 'verifyBotAnswer.confirmEndorse.accept' | 'verifyBotAnswer.confirmEndorse.cancel' | 'verifyBotAnswer.confirmEndorse.description' | 'verifyBotAnswer.confirmEndorse.heading';
|