@hhgtech/hhg-components 1.23.13 → 1.23.15
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/{Vietnam-f9a68f31.js → Vietnam-317e6589.js} +1 -1
- package/build/Visible-9bc65242.js +1 -0
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/mantine/phone/index.d.ts +1 -2
- package/build/components/organisms/onboardingModal/components/emailOnboardingForm/index.d.ts +7 -0
- package/build/components/organisms/onboardingModal/components/emailOnboardingForm/index.styled.d.ts +1 -0
- package/build/components/organisms/onboardingModal/components/formSection/index.d.ts +7 -0
- package/build/components/organisms/onboardingModal/components/formSection/index.styled.d.ts +2 -0
- package/build/components/organisms/onboardingModal/components/generateSchema.d.ts +13 -0
- package/build/components/organisms/onboardingModal/components/{onboardingForm.d.ts → onboardingForm/index.d.ts} +2 -2
- package/build/components/organisms/onboardingModal/components/onboardingForm/index.styled.d.ts +2 -0
- package/build/components/organisms/onboardingModal/components/{otpForm.d.ts → otpForm/index.d.ts} +1 -1
- package/build/components/organisms/onboardingModal/components/otpForm/index.styled.d.ts +2 -0
- package/build/components/organisms/onboardingModal/components/updatePassword/index.d.ts +9 -0
- package/build/components/organisms/onboardingModal/index.d.ts +6 -2
- package/build/components/organisms/onboardingModal/index.styled.d.ts +2 -0
- package/build/components/organisms/onboardingModal/utils.d.ts +11 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-4732542b.js → core-c6cddb52.js} +1 -1
- package/build/defaultClassWrapper-9e1ec3f8.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/{Vietnam-68f9919e.js → Vietnam-fc4dcf28.js} +1 -1
- package/build/esm/Visible-b3221aba.js +1 -0
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-fb949307.js → core-3beb7dc2.js} +1 -1
- package/build/esm/{defaultClassWrapper-9f38c62a.js → defaultClassWrapper-130852e4.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-d479d505.js → getDynamicHealthTool-3e1b78e9.js} +1 -1
- package/build/esm/{getSocialList-9aa7f8a3.js → getSocialList-06a4e334.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-72d9a322.js → index-0137e120.js} +1 -1
- package/build/esm/index-375466f4.js +1 -0
- package/build/esm/{index-95716600.js → index-3efef7fd.js} +1 -1
- package/build/esm/{index-7dfe1174.js → index-4f1ad60c.js} +1 -1
- package/build/esm/{index-4b909749.js → index-5c4621e1.js} +1 -1
- package/build/esm/{index-7f20ba44.js → index-6e5ecd2a.js} +1 -1
- package/build/esm/{index-b288bc1f.js → index-80a1dcd1.js} +1 -1
- package/build/esm/{index-112b8e6c.js → index-88e11205.js} +1 -1
- package/build/esm/{index-ce28464b.js → index-920946fd.js} +1 -1
- package/build/esm/{index-9b665cb4.js → index-9bb32350.js} +1 -1
- package/build/esm/{index-445e2b25.js → index-b1e371d9.js} +1 -1
- package/build/esm/index-b211ee58.js +1 -0
- package/build/esm/{index-2c39a284.js → index-d2fa1071.js} +1 -1
- package/build/esm/{index-5fc5401a.js → index-d3acd9bc.js} +1 -1
- package/build/esm/{index-bc3d11e7.js → index-e4a46522.js} +1 -1
- package/build/esm/{index-1d1037cb.js → index-ea80265f.js} +1 -1
- package/build/esm/{index-b1a10d29.js → index-ec07edbb.js} +1 -1
- package/build/esm/index.css +2 -1
- package/build/esm/index.js +1 -1
- package/build/esm/index.styled-08059704.js +1 -0
- package/build/esm/{index.styled-7145912b.js → index.styled-9b91849b.js} +1 -1
- package/build/esm/{index.styled-3a2e0e92.js → index.styled-aff75519.js} +1 -1
- package/build/esm/{index.styled-71a8e0f8.js → index.styled-b7498a12.js} +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-1cb4ac31.js +1 -0
- package/build/esm/{screenSizeContext-74c9819d.js → screenSizeContext-bfbf8c07.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/translationsContext-02109c31.js +1 -0
- package/build/esm/translationsProvider-6e6c349c.js +1 -0
- package/build/esm/{types-1485c7aa.js → types-4602f474.js} +1 -1
- package/build/esm/{types-70752aa4.js → types-e4cbbf48.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useFbDataLayer-d6f1b234.js → useFbDataLayer-7741e67b.js} +1 -1
- package/build/esm/useHealthToolCache-19b5577f.js +1 -0
- package/build/esm/useTranslations-d5f60217.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-30b6973e.js → getDynamicHealthTool-4fce13ea.js} +1 -1
- package/build/{getSocialList-e13265d5.js → getSocialList-bf9d7512.js} +1 -1
- package/build/hooks/useTranslations.d.ts +1 -2
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/index-123f20f6.js +1 -0
- package/build/index-1a017a14.js +1 -0
- package/build/index-228083e8.js +1 -0
- package/build/{index-55994b6a.js → index-28d23eb4.js} +1 -1
- package/build/{index-50f5310f.js → index-388bd227.js} +1 -1
- package/build/{index-c033f192.js → index-6de6b15f.js} +1 -1
- package/build/{index-cdf731ff.js → index-73b91c98.js} +1 -1
- package/build/index-9474a633.js +1 -0
- package/build/{index-40189f60.js → index-ac9f0e73.js} +1 -1
- package/build/{index-f5b9ec83.js → index-b56dd8fe.js} +1 -1
- package/build/{index-b2f17739.js → index-baba80a1.js} +1 -1
- package/build/{index-6dae9bd8.js → index-cfd9eb13.js} +1 -1
- package/build/{index-7925ecc3.js → index-d45110a7.js} +1 -1
- package/build/{index-5f4ecdc3.js → index-d483f2be.js} +1 -1
- package/build/{index-d8f086cd.js → index-d9bf4a7e.js} +1 -1
- package/build/{index-4242a7c6.js → index-dba6d917.js} +1 -1
- package/build/{index-5b845e0d.js → index-eb773680.js} +1 -1
- package/build/index.css +2 -1
- package/build/index.js +1 -1
- package/build/{index.styled-9500d47d.js → index.styled-31817868.js} +1 -1
- package/build/index.styled-4a0e1ac9.js +1 -0
- package/build/{index.styled-45bd3d48.js → index.styled-7875a26f.js} +1 -1
- package/build/{index.styled-c1d4dd55.js → index.styled-c525565c.js} +1 -1
- 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/pwg.js +1 -1
- package/build/{routing-bb00cbe4.js → routing-c6c1a01a.js} +1 -1
- package/build/{screenSizeContext-9a3675b8.js → screenSizeContext-75b5596a.js} +1 -1
- package/build/together.js +1 -1
- package/build/{en-PH-1d38ff6a.js → translationsContext-ca93092d.js} +1 -1
- package/build/translationsProvider-b1d343ea.js +1 -0
- package/build/{types-724eca15.js → types-cafa04fe.js} +1 -1
- package/build/{types-6e652da3.js → types-d40a7bb1.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-322b993a.js → useFbDataLayer-d5f4f747.js} +1 -1
- package/build/{useHealthToolCache-e74017bb.js → useHealthToolCache-5bb7de88.js} +1 -1
- package/build/useTranslations-d8579aa5.js +1 -0
- package/package.json +3 -2
- package/build/components/organisms/onboardingModal/components/index.styled.d.ts +0 -3
- package/build/defaultClassWrapper-65e6f2d7.js +0 -1
- package/build/esm/en-PH-3d6da162.js +0 -1
- package/build/esm/index-066cf26c.js +0 -1
- package/build/esm/index-f7ecf84d.js +0 -6
- package/build/esm/index.styled-99fcd230.js +0 -1
- package/build/esm/routing-390049c4.js +0 -1
- package/build/esm/translationsContext-53d65081.js +0 -1
- package/build/esm/translationsProvider-9a249c86.js +0 -1
- package/build/esm/useHealthToolCache-2335fef3.js +0 -1
- package/build/esm/useTranslations-46fb0240.js +0 -1
- package/build/index-48f5f62c.js +0 -1
- package/build/index-97f09108.js +0 -1
- package/build/index-a19bd34a.js +0 -1
- package/build/index-ac80f5e2.js +0 -1
- package/build/index.styled-f313e476.js +0 -1
- package/build/translationsContext-f8ba76fb.js +0 -1
- package/build/translationsProvider-d485c815.js +0 -1
- package/build/useTranslations-7bad81fe.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-76b559f3.js → BMI_BOYS.percentile.monthly-1998828f.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-2f5c78c5.js → BMI_BOYS.percentile.weekly-e24988c8.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-134d07a1.js → BMI_BOYS.percentile.yearly-fbe5b4a8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-181bb95a.js → BMI_BOYS.zscore.monthly-31f75989.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-608f5e6d.js → BMI_BOYS.zscore.weekly-0bff7219.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-6bb05302.js → BMI_BOYS.zscore.yearly-8b039113.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-5bd43412.js → BMI_GIRLS.percentile.monthly-83fcb453.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-b0aee00e.js → BMI_GIRLS.percentile.weekly-da4375af.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-6215655a.js → BMI_GIRLS.percentile.yearly-c0f47acd.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-761f5aa5.js → BMI_GIRLS.zscore.monthly-5945a490.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-0f13fedb.js → BMI_GIRLS.zscore.weekly-c79e0750.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9d8601b0.js → BMI_GIRLS.zscore.yearly-17e3a05f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-e5f9baa0.js → HEAD CIRCUM_BOYS.percentile.monthly-48bd190c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-ec10670b.js → HEAD CIRCUM_BOYS.percentile.weekly-75375ea5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0023231b.js → HEAD CIRCUM_BOYS.percentile.yearly-c2f5ff45.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e7a4d002.js → HEAD CIRCUM_BOYS.zscore.monthly-5ad44a2c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9effb748.js → HEAD CIRCUM_BOYS.zscore.weekly-1c43bfe9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-a0e2e07f.js → HEAD CIRCUM_BOYS.zscore.yearly-e319fc90.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-fee03aeb.js → HEAD CIRCUM_GIRLS.percentile.monthly-e59772e4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-877a92dc.js → HEAD CIRCUM_GIRLS.percentile.weekly-93269d3f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-d32112ec.js → HEAD CIRCUM_GIRLS.percentile.yearly-93570dd7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-6c1c240e.js → HEAD CIRCUM_GIRLS.zscore.monthly-8c82230a.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-541eea62.js → HEAD CIRCUM_GIRLS.zscore.weekly-ca1409da.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-d33fc80e.js → HEAD CIRCUM_GIRLS.zscore.yearly-28db47e0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-4a8656f5.js → HEIGHT_BOYS.percentile.monthly-ee2b68c2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-fb78c916.js → HEIGHT_BOYS.percentile.weekly-2375ca72.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c9023a1d.js → HEIGHT_BOYS.percentile.yearly-53181fbf.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-d8353342.js → HEIGHT_BOYS.zscore.monthly-8e075cd6.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-1faed304.js → HEIGHT_BOYS.zscore.weekly-61f07fbd.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3935dc54.js → HEIGHT_BOYS.zscore.yearly-ce12b9a9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ec7b454b.js → HEIGHT_GIRLS.percentile.monthly-49a686d3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-b7b65ad1.js → HEIGHT_GIRLS.percentile.weekly-15b71f82.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-70cb03ca.js → HEIGHT_GIRLS.percentile.yearly-4fe24ad2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-998648f8.js → HEIGHT_GIRLS.zscore.monthly-1c033a50.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-955e1604.js → HEIGHT_GIRLS.zscore.weekly-b705ad35.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-6d879cd5.js → HEIGHT_GIRLS.zscore.yearly-a57a508e.js} +0 -0
- /package/build/{Locale-a2e480e5.js → Locale-326e21f0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-07811bba.js → WEIGHT_BOYS.percentile.monthly-018c28ff.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-3f23e256.js → WEIGHT_BOYS.percentile.weekly-1dd1ea84.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e909e910.js → WEIGHT_BOYS.percentile.yearly-b41d6650.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e9851ba7.js → WEIGHT_BOYS.zscore.monthly-db13ee2b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-f62f6644.js → WEIGHT_BOYS.zscore.weekly-40a480d8.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-9e409405.js → WEIGHT_BOYS.zscore.yearly-8dab9b66.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-f098c2d3.js → WEIGHT_GIRLS.percentile.monthly-6bad2f31.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-395bb911.js → WEIGHT_GIRLS.percentile.weekly-d7fc4a12.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-6cbcff66.js → WEIGHT_GIRLS.percentile.yearly-6c07c0da.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-5f3013be.js → WEIGHT_GIRLS.zscore.monthly-bde97b51.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-4decdfa3.js → WEIGHT_GIRLS.zscore.weekly-919d1177.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-17eee85e.js → WEIGHT_GIRLS.zscore.yearly-0b4f2928.js} +0 -0
- /package/build/{constants-2c9edca1.js → constants-5d92c673.js} +0 -0
- /package/build/{cookieHelper-6c770fb3.js → cookieHelper-5c8ea010.js} +0 -0
- /package/build/{dataTransform-cc953c39.js → dataTransform-aa17a1b8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-d1e78a7d.js → BMI_BOYS.percentile.monthly-db287621.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c94d99b3.js → BMI_BOYS.percentile.weekly-03bd0118.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a1fc4a26.js → BMI_BOYS.percentile.yearly-06e0a183.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-fbc82d64.js → BMI_BOYS.zscore.monthly-a0b9f8a5.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-f011f978.js → BMI_BOYS.zscore.weekly-f26ceac9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-00af7cff.js → BMI_BOYS.zscore.yearly-83777bb4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-7397c22f.js → BMI_GIRLS.percentile.monthly-d5d244be.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-1e223eaf.js → BMI_GIRLS.percentile.weekly-11876aef.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-fdcf35a3.js → BMI_GIRLS.percentile.yearly-2dc5867c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-632cc09f.js → BMI_GIRLS.zscore.monthly-e5cf3c21.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-cc1eb7e7.js → BMI_GIRLS.zscore.weekly-f7087e40.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-7c037d8b.js → BMI_GIRLS.zscore.yearly-231a6212.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a2bf5d6a.js → HEAD CIRCUM_BOYS.percentile.monthly-59a68c28.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-cc0b055e.js → HEAD CIRCUM_BOYS.percentile.weekly-4269cd1a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6fd17085.js → HEAD CIRCUM_BOYS.percentile.yearly-70728ccc.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-aed7ded9.js → HEAD CIRCUM_BOYS.zscore.monthly-2c7b6c77.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-9b8a0979.js → HEAD CIRCUM_BOYS.zscore.weekly-9c5c587a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1c5041a3.js → HEAD CIRCUM_BOYS.zscore.yearly-d7af802b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-bafe9a6e.js → HEAD CIRCUM_GIRLS.percentile.monthly-57c6e877.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-f06223a6.js → HEAD CIRCUM_GIRLS.percentile.weekly-23695545.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-8062be3b.js → HEAD CIRCUM_GIRLS.percentile.yearly-6df2ea57.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-e7da828d.js → HEAD CIRCUM_GIRLS.zscore.monthly-e468ccc9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e67df9ee.js → HEAD CIRCUM_GIRLS.zscore.weekly-9d2d43ab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-17fa7ca1.js → HEAD CIRCUM_GIRLS.zscore.yearly-cad715c1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-77282fa6.js → HEIGHT_BOYS.percentile.monthly-b4dbaf33.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-cad777cf.js → HEIGHT_BOYS.percentile.weekly-3a320a62.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-41a7950a.js → HEIGHT_BOYS.percentile.yearly-0e112649.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-c77b506a.js → HEIGHT_BOYS.zscore.monthly-1e8d43ec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-f621eef4.js → HEIGHT_BOYS.zscore.weekly-58387ddc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c0ca6ee4.js → HEIGHT_BOYS.zscore.yearly-bd0f56e9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-95d51960.js → HEIGHT_GIRLS.percentile.monthly-d62523be.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c7595cad.js → HEIGHT_GIRLS.percentile.weekly-bb091cf8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-7bd69524.js → HEIGHT_GIRLS.percentile.yearly-c21c5767.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-a7042e50.js → HEIGHT_GIRLS.zscore.monthly-eff34cc9.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-52553077.js → HEIGHT_GIRLS.zscore.weekly-f72ec021.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-aa5870dc.js → HEIGHT_GIRLS.zscore.yearly-9b84b2c8.js} +0 -0
- /package/build/esm/{Locale-baf55715.js → Locale-4d5c7d72.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-577ba17c.js → WEIGHT_BOYS.percentile.monthly-851c5d7a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-a0259873.js → WEIGHT_BOYS.percentile.weekly-635972ea.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-fbb8f4ea.js → WEIGHT_BOYS.percentile.yearly-63a27b8e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-105511b3.js → WEIGHT_BOYS.zscore.monthly-de43702d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c61e5cf0.js → WEIGHT_BOYS.zscore.weekly-22ea3c08.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-0ad2d5cb.js → WEIGHT_BOYS.zscore.yearly-ec4eee48.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d5d1f93d.js → WEIGHT_GIRLS.percentile.monthly-e1713e93.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-59e0a3c9.js → WEIGHT_GIRLS.percentile.weekly-bf06e629.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-2a13ef3c.js → WEIGHT_GIRLS.percentile.yearly-64697be2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-6997afe4.js → WEIGHT_GIRLS.zscore.monthly-d5a896cf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-20ffd7b3.js → WEIGHT_GIRLS.zscore.weekly-6dab0284.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8f89b030.js → WEIGHT_GIRLS.zscore.yearly-fdd3ea4f.js} +0 -0
- /package/build/esm/{constants-41c7ff22.js → constants-0582cdb5.js} +0 -0
- /package/build/esm/{cookieHelper-0897355b.js → cookieHelper-2c5b97c4.js} +0 -0
- /package/build/esm/{dataTransform-0346dcb7.js → dataTransform-f65a86c6.js} +0 -0
- /package/build/esm/{isProduction-f5937e00.js → isProduction-d132dae5.js} +0 -0
- /package/build/esm/{lazyLoad-45ebed4b.js → lazyLoad-5b15294c.js} +0 -0
- /package/build/esm/{localizeNumberFormat-377ceb33.js → localizeNumberFormat-85b9b1b8.js} +0 -0
- /package/build/esm/{theme-e3c0b6e6.js → theme-01f42522.js} +0 -0
- /package/build/esm/{tslib.es6-415ab187.js → tslib.es6-bba0bd9f.js} +0 -0
- /package/build/esm/{types-7a6e70ae.js → types-976bdc8e.js} +0 -0
- /package/build/esm/{useOutsideClick-3a75893d.js → useOutsideClick-9a347950.js} +0 -0
- /package/build/esm/{useScrollbarSize-b9977622.js → useScrollbarSize-736938cf.js} +0 -0
- /package/build/esm/{utils-f1300352.js → utils-badec050.js} +0 -0
- /package/build/{isProduction-53d40fc4.js → isProduction-698f9179.js} +0 -0
- /package/build/{lazyLoad-48cd5231.js → lazyLoad-b373563d.js} +0 -0
- /package/build/{localizeNumberFormat-dc80e57a.js → localizeNumberFormat-9c265306.js} +0 -0
- /package/build/{theme-0a393e1f.js → theme-2e0c6aa7.js} +0 -0
- /package/build/{tslib.es6-7db96a99.js → tslib.es6-aacac346.js} +0 -0
- /package/build/{types-4839d64b.js → types-2da3b837.js} +0 -0
- /package/build/{useOutsideClick-9c36d450.js → useOutsideClick-ff6546d1.js} +0 -0
- /package/build/{useScrollbarSize-6903bc14.js → useScrollbarSize-8d7013ab.js} +0 -0
- /package/build/{utils-2c039364.js → utils-38e40c15.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var a=require("./tslib.es6-
|
|
1
|
+
"use strict";var a=require("./tslib.es6-aacac346.js");function t(a){return a&&"object"==typeof a&&"default"in a?a:{default:a}}var e=t(require("react")),d="style-module_loader__P03rc",o="style-module_spinner__Lsvyk",r="style-module_buttonText__S2kaD",c="style-module_buttonInner__fAwTd",n="style-module_button__ITgol",l="style-module_buttonIcon__cD-HM",s="style-module_loaderPath__oAG2-",i="style-module_spinnerCircle__Y9fGC";exports.Button=function(t){var u=t.size,C=t.color,m=void 0===C?"primary":C,p=t.theme,v=void 0===p?"helloSites":p,_=t.isDisabled,h=t.isBlock,g=t.title,y=t.className,f=t.onClick,k=t.icon,P=t.children,b=t.isLoading,E=void 0!==b&&b,N=t.loadingText,w=t.dataEventCategory,L=t.dataEventAction,x=t.dataEventLabel,A=t.dataProductChannel,B=t.dataProductSku,T=t.dataProductBrand,D=t.dataProductName,S=t.dataProductPrice,z=t.dataProductCategory,I=t.dataProductPosition,M=t.isAmp,j=t.on,q=t.dataVarsTracking,F=t.type,G=a.__rest(t,["size","color","theme","isDisabled","isBlock","title","className","onClick","icon","children","isLoading","loadingText","dataEventCategory","dataEventAction","dataEventLabel","dataProductChannel","dataProductSku","dataProductBrand","dataProductName","dataProductPrice","dataProductCategory","dataProductPosition","isAmp","on","dataVarsTracking","type"]),V=M?{"data-vars-event-category":w,"data-vars-event-action":L,"data-vars-event-label":x,"data-vars-product-channel":A,"data-vars-product-sku":B,"data-vars-product-brand":T,"data-vars-product-name":D,"data-vars-product-price":S,"data-vars-product-category":z,"data-vars-product-position":I,"data-vars-tracking":q,on:j}:{"data-event-category":w,"data-event-action":L,"data-event-label":x,"data-product-channel":A,"data-product-sku":B,"data-product-brand":T,"data-product-name":D,"data-product-price":S,"data-product-category":z,"data-product-position":I},W=e.default.createElement("span",{className:o},e.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.default.createElement("circle",{className:i,cx:"12",cy:"12",r:"10",stroke:"white",strokeWidth:"4"})),e.default.createElement("svg",{className:d,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.default.createElement("mask",{id:"path-1-inside-1",fill:"white"},e.default.createElement("path",{d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z"})),e.default.createElement("path",{className:s,d:"M12 0C14.464 2.93833e-08 16.8683 0.758527 18.8863 2.17253C20.9042 3.58653 22.438 5.58746 23.2791 7.90347C24.1203 10.2195 24.2281 12.7383 23.5879 15.1177C22.9477 17.4971 21.5906 19.6218 19.7009 21.2031C17.8111 22.7843 15.4804 23.7456 13.0254 23.9561C10.5704 24.1667 8.11007 23.6164 5.97869 22.38C3.8473 21.1436 2.14819 19.281 1.1122 17.0454C0.0761991 14.8097 -0.246461 12.3093 0.188053 9.8839L4.09856 10.5845C3.8079 12.2069 4.02374 13.8795 4.71676 15.375C5.40977 16.8705 6.54637 18.1165 7.97213 18.9435C9.39789 19.7706 11.0437 20.1387 12.6859 19.9979C14.3282 19.857 15.8873 19.214 17.1514 18.1563C18.4155 17.0985 19.3233 15.6772 19.7516 14.0856C20.1798 12.4939 20.1077 10.8089 19.545 9.25969C18.9823 7.71042 17.9563 6.37193 16.6065 5.42605C15.2566 4.48017 13.6483 3.97277 12 3.97277L12 0Z",stroke:"#91CAFF",strokeWidth:"8",mask:"url(#path-1-inside-1)"})));return e.default.createElement("button",a.__assign({},V,{className:"".concat(n," ").concat(y||""),"data-size":u,"data-color":m,"data-block":h,"data-has-icon":!!k||void 0,"data-theme":v,disabled:_,onClick:function(a){!E&&!_&&f&&f(a)},title:g,"data-is-loading":E,type:F},G),e.default.createElement("span",{className:c},(k||E)&&e.default.createElement("span",{className:l},E?W:k," "),P&&e.default.createElement("span",{className:r},E&&N||P)))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("./tslib.es6-7db96a99.js"),t=require("react"),o=require("./index.styled-9500d47d.js"),i=require("./utils-2c039364.js"),n=require("styled-components"),r=require("./cookieHelper-6c770fb3.js"),a=require("slugify"),l=require("string-format");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u,d,c=s(t),_=s(n),p=s(a),m=s(l),v={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},g=_.default.div(u||(u=e.__makeTemplateObject(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),i.MediaQueries.mbDown,i.MediaQueries.mbDown,i.MediaQueries.mbUp),h=_.default.div(d||(d=e.__makeTemplateObject(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),E="DD/MM/YYYY",f="/images/avatar.jpg",T="/images/default-image.jpg",b={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR"},A={"id-ID":{"kalkulator-bmi":b.BMI,"kebutuhan-kalori":b.BMR,"kalkulator-hari-perkiraan-lahir":b.DUE_DATE,"kalkulator-masa-subur-2":b.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":b.PWG,"kalkulator-detak-jantung-saat-olahraga":b.THR},"ms-MY":{"kalkulator-bmi":b.BMI,"kalkulator-bmr":b.BMR,"kalkulator-tarikh-bersalin":b.DUE_DATE,"kalkulator-kesuburan":b.OVULATION,"kalkulator-tambah-berat-badan-hamil":b.PWG,"target-heart-rate-calculator":b.THR},"vi-VN":{"cach-tinh-chi-so-bmi":b.BMI,"tinh-chi-so-bmr":b.BMR,"cong-cu-tinh-ngay-du-sinh":b.DUE_DATE,"tinh-ngay-rung-trung":b.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":b.PWG,"cong-cu-do-nhip-tim":b.THR},"zh-TW":{"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"due-date-calculator":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnancy-weight-gain-calculator":b.PWG,"target-heart-rate-calculator":b.THR},"en-PH":{"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"due-date-calculator":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnancy-weight-gain-calculator":b.PWG,"target-heart-rate-calculator":b.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":b.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":b.BMR,"เครื่องมือคำนวณกำหนดคลอด":b.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":b.OVULATION,"เครื่องคำนวณน้ำหนักตัว":b.PWG,"เครื่องวัดอัตราการเต้น":b.THR},"hi-IN":{"bmi-calculator-en":b.BMI,"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"delivery-date-calculator":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnancy-weight-gain-calculator":b.PWG,"target-heart-rate-calculator":b.THR},"km-KH":{"គណនា-bmi":b.BMI,"គណនា-bmr":b.BMR,"គណនាថ្ងៃសម្រាលកូន":b.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":b.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":b.PWG,"គណនារកចង្វាក់បេះដូងល្អ":b.THR},"my-MM":{"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"due-date-calendar":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnaancy-weight-calculator":b.PWG,"target-heartrate":b.THR,"pregnancy-weight-calculator":b.PWG,"target-heart-rate":b.THR}},y="hhg_user_token",O="together_admin_token",w={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},I={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},L=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:E,DEFAULT_AVATAR_IMG:f,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:T,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:b,LOCALE_HEALTH_TOOLS:A,BEARER_TOKEN_COOKIE:y,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:O,Z_INDEX:{adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:w,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:I}),S=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||""}:{}},x=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},R=function(t){var o,i,n,r;return t?{id:t.ID,postName:t.post_name,sponsor:t.sponsor?D(t.sponsor):null,isSponsored:t.is_sponsored||null,postTitle:t.post_title||"",postModified:t.post_modified||"",postDate:t.post_date||"",modifiedTime:t.modified_time||"",permalink:t.permalink||"",featureImage:t.image||null,featureImageMobile:t.image_medium||null,featureImageMobileXs:t.image_thumbnail||null,author:S(t.author),reviewer:t.reviewed_by&&S(t.reviewed_by)||null,articleReviewed:(null==t?void 0:t.reviewed)?e.__assign(e.__assign({},null==t?void 0:t.reviewed),{author:k(null===(o=null==t?void 0:t.reviewed)||void 0===o?void 0:o.author),editor:k(null===(i=null==t?void 0:t.reviewed)||void 0===i?void 0:i.editor),expert:k(null===(n=null==t?void 0:t.reviewed)||void 0===n?void 0:n.expert),fact_check:k(null===(r=null==t?void 0:t.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:C(t.category),postContent:t.post_content||null,sections:t.sections||null,categories:(t.categories||[]).map(C),sources:t.sources||null,description:t.description||null,excerpt:t.excerpt||null,expert:x(t.expert),metaTag:t.meta_tag||null}:{}},k=function(t){return void 0!==t&&t?e.__assign(e.__assign({},t),{profile_url:(null==t?void 0:t.slug)?["expert","medical"].includes((null==t?void 0:t.role)||"")?"/expert/".concat(null==t?void 0:t.slug):"/author/".concat(null==t?void 0:t.slug):t.profile_url}):null},D=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},P=function(e){return{postTitle:e.post_title,permalink:e.permalink}},C=function(e){var t,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?D(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return C(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?P(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return G(e)})):null}:{}},G=function(e){return{title:e.title,content:e.content}},N=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},U=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},M=function(e){var t,o,i,n;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(i=e.community)||void 0===i?void 0:i.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},B=function(e){var t,o,i,n,r,a,l,s,u,d,c,_,p,m,v,g,h,E,f,T,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var o,i,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+t.slug,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(i=e.community)||void 0===i?void 0:i.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(_=e.user)||void 0===_?void 0:_.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(m=e.user)||void 0===m?void 0:m.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(E=e.user)||void 0===E?void 0:E.doctor_id)?String(null===(f=e.user)||void 0===f?void 0:f.doctor_id):"",hospitalId:(null===(T=e.user)||void 0===T?void 0:T.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0}:{}},H=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.info||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},F=function(e){var t,o,i,n,r,a,l,s,u,d,c,_,p,m,v,g,h,E,f,T,b,A,y,O,w,I,L,S,x,R,k,D;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(F):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(i=e.user)||void 0===i?void 0:i.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(_=e.user)||void 0===_?void 0:_.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(m=e.user)||void 0===m?void 0:m.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(E=e.mentioned)||void 0===E?void 0:E.user_name)||"",name:(null===(f=e.mentioned)||void 0===f?void 0:f.name)||"",role:(null===(T=e.mentioned)||void 0===T?void 0:T.role)?null===(A=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===A?void 0:A.toLowerCase():"",avatar:(null===(y=e.mentioned)||void 0===y?void 0:y.avatar)||"",type:(null===(O=e.mentioned)||void 0===O?void 0:O.type)||"",email:(null===(w=e.mentioned)||void 0===w?void 0:w.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(x=e.mentioned)||void 0===x?void 0:x.doctor_id):"",hospitalId:(null===(R=e.mentioned)||void 0===R?void 0:R.hospital_id)?String(null===(k=e.mentioned)||void 0===k?void 0:k.hospital_id):"",title:(null===(D=e.mentioned)||void 0===D?void 0:D.title)||""}:null,mentions:e.mentions||[]}:{}},V=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},K=Object.freeze({__proto__:null,formatAuthor:S,formatArticleExpert:x,formatArticle:R,formatUserProfile:k,formatBMIResult:function(e){var t,o,i,n,r,a,l,s,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(i=null==e?void 0:e.risk)&&void 0!==i?i:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:D,formatReviewedCategory:P,formatCategory:C,formatCategoryApi:function(e){return e?{categoryInfo:C(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(R),subCategories:(e.data.sub_categories||[]).map(C)}:{}},formatFaqsCategory:G,formatHealthTool:N,formatHealthToolTypeCategory:function(e){var t,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return N(e)})))&&void 0!==o?o:[]}:{}},formatCommunity:U,formatTopic:M,formatPost:B,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,o,i;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(i=e.from_user)||void 0===i?void 0:i.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:H,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:F,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?k(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:V,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?k(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,o,i;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(i=e.reviewed_by)||void 0===i?void 0:i.name)||"",date:e.reviewed_date||"",link:V(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}}),j={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},Y=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},i=(t||{}).decode||X,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===o[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),o[l]=J(s,i)}n=a+1}return o},W=function(e,t,o){var i=o||{},n=i.encode||$;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!q.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!q.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(i.domain){if(!q.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain="+i.domain}if(i.path){if(!q.test(i.path))throw new TypeError("option path is invalid");a+="; Path="+i.path}if(i.expires){var s=i.expires;if(!function(e){return"[object Date]"===z.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}i.httpOnly&&(a+="; HttpOnly");i.secure&&(a+="; Secure");if(i.priority){switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},z=Object.prototype.toString,q=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function X(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function $(e){return encodeURIComponent(e)}function J(e,t){try{return t(e)}catch(t){return e}}var Z={parse:Y,serialize:W},Q={"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"},ee={"vi-VN":"marrybaby.vn"},te=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",oe=function(e){var t=exports.GlobalData.env.isMarryBaby;return"https://".concat(t?ee[e]:Q[e])},ie=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},ne=function(t,o,i){var n="";i&&(n=Object.keys(i).map((function(e){return e+"="+i[e]})).join("&"));var r=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=m.default(t,e.__assign(e.__assign({},(null==o?void 0:o._locale)?{website_url:oe(String(o._locale))}:{}),o));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+ie(l)},re=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},ae=function(t,o,i,n){return void 0===n&&(n=!1),e.__awaiter(void 0,void 0,void 0,(function(){var r,a,l,s,u;return e.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),[4,fetch(n?t:(c=t,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({},null==i?void 0:i.headers)})).then((function(e){return e.json()}))];case 1:return(r=d.sent())?[2,r]:[3,3];case 2:return a=d.sent(),console.log(a),console.log({url:t,status:null===(l=null==a?void 0:a.response)||void 0===l?void 0:l.status,statusText:null===(s=null==a?void 0:a.response)||void 0===s?void 0:s.statusText}),[2,(null===(u=null==a?void 0:a.response)||void 0===u?void 0:u.data)||null];case 3:return[2,null]}var c}))}))},le=function(t,o,i,n){return e.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u;return e.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,3,,4]),a=Z.parse(n||""),l=a[y],(s=l||r.getCookie(y))&&s.length?[4,fetch(t,e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({Authorization:"Bearer "+s},null==i?void 0:i.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=d.sent())return[2,u];d.label=2;case 2:return[3,4];case 3:return d.sent(),[2,null];case 4:return[2,null]}}))}))};function se(e,t,o){var i=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(i)?e.replace(i,"$1"+t+"="+o+"$2"):e+n+t+"="+o}var ue=function(e,t,o,i){return o&&t?"".concat(o,"-").concat(t):"".concat(p.default(e||"",{lower:!0,locale:i||te}),"-").concat(t)},de={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},ce=t.createContext({data:de,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}});exports.GlobalData=de;var _e,pe=_.default.div(_e||(_e=e.__makeTemplateObject(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink}));exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.Avatar=function(i){var n=i.type,r=void 0===n?"square":n,a=i.size,l=i.avatarImg,s=i.avatarUrl,u=i.firstLetter,d=i.backgroundColor,_=i.onClick,p=i.style,m=i.className,g=i.isAmp,h=void 0!==g&&g,E=i.width,f=i.height,T=a?v[a]:void 0,b=t.useState(!1),A=b[0],y=b[1];t.useEffect((function(){if(s){var e=document.createElement("img");e.setAttribute("src",s),e.addEventListener("error",(function(){y(!0)}))}}),[s,y]);var O=(!s&&!l||A)&&u;return c.default.createElement(o.StyledAvatar,{style:e.__assign(e.__assign({},p),{"--size":!h&&T?T+"px":void 0,"--width-prop":E?E+"px":void 0,"--height-prop":f?f+"px":void 0,"--background-color":d}),"data-has-max":!(!E||!f),"data-avatar-type":r,onClick:_,className:m,avatarUrl:s,"data-is-amp":h,"data-custom-size":!!a},l,s&&!A&&c.default.createElement("img",{src:s}),O&&u)},exports.BEARER_TOKEN_COOKIE=y,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=f,exports.DEFAULT_IMG=T,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=E,exports.DefaultComponentGlobalContextData=de,exports.HEALTH_TOOL_TYPE=b,exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=j,exports.Popup=function(e){var t=e.type,o=void 0===t?"lead":t,i=e.closeIcon,n=e.isOpen,r=void 0===n||n,a=e.onClose,l=e.children,s=e.className,u=void 0===s?"":s,d=e.enableAnimation,_=void 0===d||d;return c.default.createElement(c.default.Fragment,null,c.default.createElement(g,{"data-open":r,"data-type":o,"data-animation":_},c.default.createElement("div",{className:"".concat(u||""," popup-content")},!!i&&c.default.createElement("div",{className:"close-button",onClick:a},i),l)),c.default.createElement(h,{"data-open":r,onClick:a}))},exports.REPORT_REASON_MAP=w,exports.TogetherComponentGlobalContext=ce,exports.TogetherComponentGlobalContextProvider=function(e){var o=e.locale,i=void 0===o?"vi-VN":o,n=e.children,r=e.userInfo,a=e.router,l=e.env,s=void 0===l?{isMarryBaby:!1,togetherBasePath:"/community"}:l,u=e.sanitizeFunction,d=void 0===u?function(e){return e}:u,_=e.pushNotifications,p=void 0===_?function(){return!1}:_,m=t.useState(),v=m[0],g=m[1];return exports.GlobalData={userInfo:r,locale:i,togetherUserId:v,router:a,env:s},t.useEffect((function(){(null==r?void 0:r.id)&&le(ne(j.PROFILE,{_locale:i}),"GET").then((function(e){var t;g(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==r?void 0:r.id]),c.default.createElement(ce.Provider,{value:{data:{userInfo:r,locale:i,togetherUserId:v,router:a,env:s},action:{pushNotifications:p,sanitizeFunction:d}}},n)},exports.UserAvatar=function(e){var o=e.className,i=e.isMarryBaby,n=e.style,r=e.avatar,a=e.username,l=e.isLazy,s=t.useContext(ce).data.env.isMarryBaby,u="boolean"==typeof i?i:s,d=t.useState(!1),_=d[0],p=d[1];return t.useEffect((function(){var e=new Image;e.onerror=function(){p(!0)},e.src=r}),[]),c.default.createElement(pe,{"data-is-marrybaby":u,className:o,style:n},r&&!_?c.default.createElement("img",{src:l?void 0:r,"data-src":l?r:void 0,className:"avatar ".concat(l?"lazy":""),alt:"avatar",onError:function(){p(!0)}}):c.default.createElement("div",{className:"avatar avatar-default"},a&&(null==a?void 0:a.length)>0?a[0].toUpperCase():"A"))},exports.callApi=ae,exports.callApiWithAdminAuth=function(t,o,i,n){return e.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u;return e.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,3,,4]),a=Z.parse(n||""),l=a[O],(s=l||r.getCookie(O))&&s.length?[4,fetch(t,e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({Authorization:"Bearer "+s},null==i?void 0:i.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=d.sent())return[2,u];d.label=2;case 2:return[3,4];case 3:return d.sent(),[2,null];case 4:return[2,null]}}))}))},exports.callApiWithAuth=le,exports.callApiWithOptionalAuth=function(t,o,i,n){return void 0===o&&(o="GET"),e.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u,d,c,_,p,m,v,g,h,E,f;return e.__generator(this,(function(T){switch(T.label){case 0:if(T.trys.push([0,7,,8]),a="string"==typeof t?t:t.url,l="string"==typeof t?t:t.backupUrl,s=Z.parse(n||""),u=s[y],!(d=u||r.getCookie(y))||!d.length)return[3,5];T.label=1;case 1:return T.trys.push([1,3,,4]),[4,fetch(a,e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({Authorization:"Bearer "+d},null==i?void 0:i.headers)})).then((function(e){return e.json()}))];case 2:return c=T.sent(),(null===(m=null==c?void 0:c.messages)||void 0===m?void 0:m.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,ae(l||a,o,i)]:c?[2,c]:[3,4];case 3:return _=T.sent(),console.log({status:null===(v=null==_?void 0:_.response)||void 0===v?void 0:v.status,statusText:null===(g=null==_?void 0:_.response)||void 0===g?void 0:g.statusText}),[2,ae(l||a,o,i)];case 4:return[3,6];case 5:return[2,ae(l||a,o,i)];case 6:return[3,8];case 7:return p=T.sent(),console.log({status:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.status,statusText:null===(E=null==p?void 0:p.response)||void 0===E?void 0:E.statusText}),[2,(null===(f=null==p?void 0:p.response)||void 0===f?void 0:f.data)||null];case 8:return[2,null]}}))}))},exports.constants=L,exports.dataTransform=K,exports.domainLocales=Q,exports.formatComment=F,exports.formatCommunity=U,exports.formatOvulationInfo=H,exports.formatPost=B,exports.formatTopic=M,exports.formatUserProfileUrl=V,exports.getApiPath=ne,exports.getCareDoctorUrl=function(e){var t,o=e.name,i=e.id,n=e.locale;return"/care/".concat(null===(t=I[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(ue(o,i))},exports.getCareHospitalUrl=function(e){var t,o=e.name,i=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=I[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(ue(o,i,n))},exports.getCarePath=function(t,o){var i=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).careBaseApiUrl;return((void 0===i?"":i)||"https://service-health-care.hellohealthgroup.com/")+ie(m.default(t,e.__assign({},o)))},exports.getCurrentBaseUrl=function(e){var t=exports.GlobalData.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(o?t?"fe.":"discover.":t?"www.":"").concat(Q[e])},exports.getDiscoverApiPath=function(t,o){var i=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).discoverBaseApiUrl;return(void 0===i?"":i)+"wp-json/api/"+ie(m.default(t,e.__assign({},o)))},exports.getUrlToSignUp=function(e,t,o){void 0===o&&(o="/community");var i=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var o=exports.GlobalData.env.publicSSO,i=e||window.location.href;return t&&Object.keys(t).map((function(e){se(i,e,t[e])})),se(i,"source","communities"),o?"".concat(o,"?returnUrl=").concat(encodeURIComponent(i.toString())):i}("".concat(n).concat(o,"/on-boarding?return=").concat(encodeURIComponent(i)),t)};
|
|
1
|
+
"use strict";var e=require("./tslib.es6-aacac346.js"),t=require("react"),o=require("./index.styled-31817868.js"),i=require("./utils-38e40c15.js"),n=require("styled-components"),r=require("./cookieHelper-5c8ea010.js"),a=require("slugify"),l=require("string-format");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u,d,c=s(t),_=s(n),p=s(a),m=s(l),v={xs:28,small:32,medium:40,large:48,xl:64,xxl:80,xxxl:96},g=_.default.div(u||(u=e.__makeTemplateObject(["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"],["\n position: fixed;\n left: 50%;\n\n padding: 0 16px 32px;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n transform: translate(-50%, -50%);\n transition: all 0.5s ease-in-out;\n visibility: hidden;\n\n &[data-open='true'] {\n z-index: 200;\n top: 50%;\n opacity: 1;\n visibility: visible;\n }\n\n &[data-open='false'] {\n top: -50%;\n }\n\n &[data-type='lead'] {\n width: 332px;\n height: 460px;\n\n div {\n top: -15px;\n right: -15px;\n }\n }\n\n &[data-type='form'] {\n width: 496px;\n height: 548px;\n "," {\n width: 340px;\n }\n }\n\n &[data-type='confirm'] {\n "," {\n width: calc(100% - 32px);\n }\n "," {\n width: 100%;\n max-width: 407px;\n }\n }\n\n .popup-content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n\n .close-button {\n position: absolute;\n top: 16px;\n right: 0;\n cursor: pointer;\n\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n"])),(function(e){return e.theme.colors.white}),(function(e){return e.theme.colors.gray200}),i.MediaQueries.mbDown,i.MediaQueries.mbDown,i.MediaQueries.mbUp),h=_.default.div(d||(d=e.__makeTemplateObject(["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"],["\n position: fixed;\n z-index: 110;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n align-items: center;\n background: rgba(38, 38, 38, 0.3);\n\n &[data-open='false'] {\n display: none;\n }\n"]))),E="DD/MM/YYYY",f="/images/avatar.jpg",T="/images/default-image.jpg",b={DUE_DATE:"DUE_DATE",BMI:"BMI",BMR:"BMR",OVULATION:"OVULATION",IFRAME:"IFRAME",PWG:"PWG",THR:"THR"},A={"id-ID":{"kalkulator-bmi":b.BMI,"kebutuhan-kalori":b.BMR,"kalkulator-hari-perkiraan-lahir":b.DUE_DATE,"kalkulator-masa-subur-2":b.OVULATION,"kalkulator-kenaikan-berat-badan-ibu-hamil":b.PWG,"kalkulator-detak-jantung-saat-olahraga":b.THR},"ms-MY":{"kalkulator-bmi":b.BMI,"kalkulator-bmr":b.BMR,"kalkulator-tarikh-bersalin":b.DUE_DATE,"kalkulator-kesuburan":b.OVULATION,"kalkulator-tambah-berat-badan-hamil":b.PWG,"target-heart-rate-calculator":b.THR},"vi-VN":{"cach-tinh-chi-so-bmi":b.BMI,"tinh-chi-so-bmr":b.BMR,"cong-cu-tinh-ngay-du-sinh":b.DUE_DATE,"tinh-ngay-rung-trung":b.OVULATION,"cong-cu-tinh-can-nang-khi-mang-thai":b.PWG,"cong-cu-do-nhip-tim":b.THR},"zh-TW":{"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"due-date-calculator":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnancy-weight-gain-calculator":b.PWG,"target-heart-rate-calculator":b.THR},"en-PH":{"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"due-date-calculator":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnancy-weight-gain-calculator":b.PWG,"target-heart-rate-calculator":b.THR},"th-TH":{"เครื่องคำนวณหา-ค่าดัชนี":b.BMI,"เครื่องคำนวณอัตราการเผาผลาญพลังงาน-bmr":b.BMR,"เครื่องมือคำนวณกำหนดคลอด":b.DUE_DATE,"เครื่องคำนวณการตกไข่-ovulation-calculat":b.OVULATION,"เครื่องคำนวณน้ำหนักตัว":b.PWG,"เครื่องวัดอัตราการเต้น":b.THR},"hi-IN":{"bmi-calculator-en":b.BMI,"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"delivery-date-calculator":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnancy-weight-gain-calculator":b.PWG,"target-heart-rate-calculator":b.THR},"km-KH":{"គណនា-bmi":b.BMI,"គណនា-bmr":b.BMR,"គណនាថ្ងៃសម្រាលកូន":b.DUE_DATE,"គណនាថ្ងៃមេជីវិតញីទុំធ្លាក់":b.OVULATION,"គណនាទម្ងន់ស្ត្រីពពោះ":b.PWG,"គណនារកចង្វាក់បេះដូងល្អ":b.THR},"my-MM":{"bmi-calculator":b.BMI,"bmr-calculator":b.BMR,"due-date-calendar":b.DUE_DATE,"ovulation-calculator":b.OVULATION,"pregnaancy-weight-calculator":b.PWG,"target-heartrate":b.THR,"pregnancy-weight-calculator":b.PWG,"target-heart-rate":b.THR}},y="hhg_user_token",O="together_admin_token",w={report_scam:{label:"morePopover.report.scam",reportReasonText:"morePopover.report.scam"},report_sex:{label:"morePopover.report.sex",reportReasonText:"morePopover.report.sex"},report_offensive:{label:"morePopover.report.offensive",reportReasonText:"morePopover.report.offensive"},report_violence:{label:"morePopover.report.violence",reportReasonText:"morePopover.report.violence"},report_prohibited:{label:"morePopover.report.prohibited",reportReasonText:"morePopover.report.prohibited"},report_spam:{label:"morePopover.report.spam",reportReasonText:"morePopover.report.spam"},report_falseNews:{label:"morePopover.report.falseNews",reportReasonText:"morePopover.report.falseNews"},report_other:{label:"morePopover.report.other",reportReasonText:"morePopover.report.other"}},I={"en-PH":{ALL:"all",HOSPITAL:"hospital",SERVICE:"service",DOCTOR:"doctor",SEARCH:"search",SPECIALTIES:"specialties",CURRENT:"current-location"},"vi-VN":{ALL:"tat-ca",HOSPITAL:"benh-vien",SERVICE:"dich-vu",DOCTOR:"bac-si",SEARCH:"tim-kiem",SPECIALTIES:"chuyen-khoa",CURRENT:"vi-tri-hien-tai"},"id-ID":{ALL:"semua",HOSPITAL:"rumah-sakit",SERVICE:"layanan",DOCTOR:"dokter",SEARCH:"cari",SPECIALTIES:"spesialisasi",CURRENT:"posisi-saya-saat-ini"}},L=Object.freeze({__proto__:null,POST_DATE_FORMAT:"dd/MM/yyyy",NORMAL_DATE_FORMAT:"YYYY-MM-DD",DUE_DATE_FORMAT:E,DEFAULT_AVATAR_IMG:f,DEFAULT_RESULT_IMG:"/images/default.png",DEFAULT_IMG:T,BMI_LEVELS:["underweight","healthy","overweight","obese_level_1","obese_level_2"],BMR_LEVELS:["low","normal","high"],CORAL_TOKEN_COOKE:"coral_together_user_token",HEALTH_TOOL_TYPE:b,LOCALE_HEALTH_TOOLS:A,BEARER_TOKEN_COOKIE:y,TOGETHER_DISCLAIMER_COOKIE:"hhg_together_disclaimer",BEARER_ADMIN_TOKEN_COOKIE:O,Z_INDEX:{adBlock:48,articleAdContainer:47,headerContainerHome:99,headerContainerPopup:200,headerContainerPopupSUbLevel:300,menuSearchInputPopup:5,menuSearchInputDisplayIcon:6,menuSearchPopup:200},BmrActiveLevels:[{value:"sedentary",icon:"bmr-sedentary",name:"bmr.activeLevel.sedentary",description:"bmr.activeLevel.sedentary.description"},{value:"lightly-active",icon:"bmr-light",name:"bmr.activeLevel.lightlyActive",description:"bmr.activeLevel.lightlyActive.description"},{value:"moderately-active",icon:"bmr-moderately",name:"bmr.activeLevel.moderatelyActive",description:"bmr.activeLevel.moderatelyActive.description"},{value:"intensely-active",icon:"bmr-intensively",name:"bmr.activeLevel.intenselyActive",description:"bmr.activeLevel.intenselyActive.description"},{value:"extremely-active",icon:"bmr-extremely",name:"bmr.activeLevel.extremelyActive",description:"bmr.activeLevel.extremelyActive.description"}],LEAD_CAMPAIGN_CODE:"lmoct7xfr5sv4fv",LEAD_TOKEN_COOKIE:"hhg-id",GA_TOKEN_COOKIE:"_ga",GOOGLE_CALENDAR_AUTH_CLIENT_ID:"1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com",FIND_CARE_IFRAME_URL:"https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu",REPORT_REASON_MAP:w,MB_SOCIAL_LINKS:{LINKEDIN:"https://www.linkedin.com/company/hello-health-group/",FACEBOOK:"https://www.facebook.com/marry.baby.vn",INSTAGRAM:"https://www.instagram.com/marrybaby.vn/",TWITTER:"",YOUTUBE:"https://www.youtube.com/channel/UCeZybTkY1VzJ3N7LvPGdKbg",ZALO:"http://zalo.me/806483414530291942"},INTERNAL_ROLES:["admin","moderator","local-admin"],EXTERNAL_ROLES:["ambassador","expert","sponsor","guide","influencer"],INTERNAL_PROFILE_ROLES:["moderator","local-admin"],EXTERNAL_PROFILE_ROLES:["expert","ambassador","sponsor"],RoleDataMap:{moderator:{text:"Moderator",fid:"cardAuthor.moderator",background:"#fe921d"},admin:{text:"Admin",fid:"cardAuthor.admin",background:"#2b62cd"},"local-admin":{text:"Local admin",fid:"cardAuthor.localAdmin",background:"#2b62cd"},expert:{text:"Expert",fid:"cardAuthor.expert",background:"#ff6f4d"},sponsor:{text:"Sponsor",fid:"cardAuthor.sponsor",background:"#00c7e6"},ambassador:{text:"Ambassador",fid:"cardAuthor.ambassador",background:"#00CB8A"}},MAX_IMAGE_UPLOADS:20,LOCALISED_SLUGS:I}),S=function(e){return e?{displayName:e.display_name||null,avatar:e.avatar||null,thumbnailAvatar:e.avatar_thumbnail||null,profileUrl:e.profile_url||null,description:e.description||null,metaTag:e.meta_tag||""}:{}},x=function(e){return e?{id:e.ID||null,name:e.name||null,specialty:e.specialty||null,avatar:e.avatar||null,permalink:e.permalink||null,thumbnailAvatar:e.avatar_thumbnail||null}:{}},R=function(t){var o,i,n,r;return t?{id:t.ID,postName:t.post_name,sponsor:t.sponsor?D(t.sponsor):null,isSponsored:t.is_sponsored||null,postTitle:t.post_title||"",postModified:t.post_modified||"",postDate:t.post_date||"",modifiedTime:t.modified_time||"",permalink:t.permalink||"",featureImage:t.image||null,featureImageMobile:t.image_medium||null,featureImageMobileXs:t.image_thumbnail||null,author:S(t.author),reviewer:t.reviewed_by&&S(t.reviewed_by)||null,articleReviewed:(null==t?void 0:t.reviewed)?e.__assign(e.__assign({},null==t?void 0:t.reviewed),{author:k(null===(o=null==t?void 0:t.reviewed)||void 0===o?void 0:o.author),editor:k(null===(i=null==t?void 0:t.reviewed)||void 0===i?void 0:i.editor),expert:k(null===(n=null==t?void 0:t.reviewed)||void 0===n?void 0:n.expert),fact_check:k(null===(r=null==t?void 0:t.reviewed)||void 0===r?void 0:r.fact_check)}):null,category:C(t.category),postContent:t.post_content||null,sections:t.sections||null,categories:(t.categories||[]).map(C),sources:t.sources||null,description:t.description||null,excerpt:t.excerpt||null,expert:x(t.expert),metaTag:t.meta_tag||null}:{}},k=function(t){return void 0!==t&&t?e.__assign(e.__assign({},t),{profile_url:(null==t?void 0:t.slug)?["expert","medical"].includes((null==t?void 0:t.role)||"")?"/expert/".concat(null==t?void 0:t.slug):"/author/".concat(null==t?void 0:t.slug):t.profile_url}):null},D=function(e){return e?{title:e.title,logo:e.logo,link:e.link}:{}},P=function(e){return{postTitle:e.post_title,permalink:e.permalink}},C=function(e){var t,o;return e?{termId:e.term_id||null,sponsor:e.sponsor?D(e.sponsor):null,isSponsored:e.is_sponsored||null,categoryName:e.cat_name||null,name:e.name||null,iconUrl:e.icon||"",slugName:e.category_nicename||null,description:e.description||null,featureImage:e.image||null,displayName:e.name||null,parent:e.parent||null,permalink:e.permalink||null,slug:e.slug||null,childCates:(null===(t=e.child_cates)||void 0===t?void 0:t.map((function(e){return C(e)})))||[],colorFeatureImage:e.color_feature_image||null,imageColor:e.image_color||null,textColor:e.text_color||null,catParent:(null===(o=e.cat_parent)||void 0===o?void 0:o.name)?{name:e.cat_parent.name,permalink:e.cat_parent.permalink}:{},metaTag:e.meta_tag||"",reviewedBy:e.reviewed_by?P(e.reviewed_by):null,reviewedDate:e.reviewed_date||"",faqs:e.faqs?e.faqs.map((function(e){return G(e)})):null}:{}},G=function(e){return{title:e.title,content:e.content}},N=function(e){return e?{icon:e.icon,link:e.link.startsWith("http")?e.link:"/health-tools"+e.link,subtitle:e.subtitle,title:e.title}:{}},U=function(e){return e?{topicCount:e.topics_count||0,postCount:e.posts_count||0,memberCount:e.members_count||0,thumbnail:e.thumbnail||"",coverImage:e.cover_image||"",mobileCoverImage:e.mobile_cover_image||"",name:e.name||"",description:e.description||"",slug:e.slug||"",id:e.id||0,joined:Boolean(e.joined),isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},M=function(e){var t,o,i,n;return e?{id:e.id||0,name:e.name||"",image:e.thumbnail||"",slug:e.slug||"",url:"/"+(null===(t=e.community)||void 0===t?void 0:t.slug)+"/"+(null==e?void 0:e.slug)||"",description:e.description||"",joined:e.joined||!1,postCount:e.count_posts||0,memberCount:e.count_members||0,communityId:String(null===(o=e.community)||void 0===o?void 0:o.id),communitySlug:null===(i=e.community)||void 0===i?void 0:i.slug,communityName:null===(n=e.community)||void 0===n?void 0:n.name,order:e.order||0,isActive:null===e.is_active||void 0===e.is_active||Boolean(e.is_active),mappedCategoryId:e.mapped_category_id||0,discoverCategory:e.discover_category?{categoryId:e.discover_category.category_id||0,name:e.discover_category.name||""}:null,isHidden:Boolean(e.is_hidden)}:{}},B=function(e){var t,o,i,n,r,a,l,s,u,d,c,_,p,m,v,g,h,E,f,T,b;return e?{id:e.id,topics:(null===(t=e.topics)||void 0===t?void 0:t.map((function(t){var o,i,n,r;return{id:t.id||0,name:t.name||"",slug:t.slug||"",url:"/"+(null===(o=e.community)||void 0===o?void 0:o.slug)+"/"+t.slug,communityId:String(null===(i=e.community)||void 0===i?void 0:i.id),communitySlug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",communityName:(null===(r=e.community)||void 0===r?void 0:r.name)||"",isHidden:Boolean(t.is_hidden),isActive:!0}})))||[],community:{id:(null===(o=e.community)||void 0===o?void 0:o.id)||0,name:(null===(i=e.community)||void 0===i?void 0:i.name)||"",slug:(null===(n=e.community)||void 0===n?void 0:n.slug)||"",isActive:!0,isHidden:Boolean(null===(r=e.community)||void 0===r?void 0:r.is_hidden)},slug:e.slug||"",author:{id:(null===(a=e.user)||void 0===a?void 0:a.id)||0,username:(null===(l=e.user)||void 0===l?void 0:l.user_name)||"",email:(null===(s=e.user)||void 0===s?void 0:s.email)||"",name:(null===(u=e.user)||void 0===u?void 0:u.name)||"",avatar:(null===(d=e.user)||void 0===d?void 0:d.avatar)||"",role:(null===(c=e.user)||void 0===c?void 0:c.role)?null===(p=null===(_=e.user)||void 0===_?void 0:_.role)||void 0===p?void 0:p.toLowerCase():"",type:(null===(m=e.user)||void 0===m?void 0:m.type)||"",partnerId:(null===(v=e.user)||void 0===v?void 0:v.partner_id)?String(null===(g=e.user)||void 0===g?void 0:g.partner_id):"",title:(null===(h=e.user)||void 0===h?void 0:h.title)||"",doctorId:(null===(E=e.user)||void 0===E?void 0:E.doctor_id)?String(null===(f=e.user)||void 0===f?void 0:f.doctor_id):"",hospitalId:(null===(T=e.user)||void 0===T?void 0:T.hospital_id)?String(null===(b=e.user)||void 0===b?void 0:b.hospital_id):""},previewUrl:{title:e.preview_title||"",url:e.preview_link||"",image:e.preview_image||"",description:e.preview_description||""},createdAt:e.created_at||"",scheduleDateTime:e.schedule_datetime||"",photos:e.images||[],description:e.description||"",commentsCount:e.comments_count||0,likesCount:e.likes_count||0,title:e.name||"",isPin:!!e.is_pin,pinDate:e.pin_date||"",liked:e.liked||!1,bookmarked:Boolean(e.bookmarked)||!1,mentions:e.mentions||[],commented:Boolean(e.commented)||!1,introUrl:e.intro_url||"",bannerImage:e.banner_image||"",isAnonymous:e.is_anonymous?1:0}:{}},H=function(e){return e?{disclaimer:e.disclaimer,featuredImage:e.featured_image,info:e.info||[],reviewedBy:e.reviewed_by?{id:e.reviewed_by.ID,permalink:e.reviewed_by.permalink,name:e.reviewed_by.name,postTitle:e.reviewed_by.post_title}:null,reviewedDate:e.reviewed_date}:{}},F=function(e){var t,o,i,n,r,a,l,s,u,d,c,_,p,m,v,g,h,E,f,T,b,A,y,O,w,I,L,S,x,R,k,D;return e?{content:e.content,countLikes:e.likes_count,countReplies:e.replies_count,createdAt:e.created_at,createdTime:e.created_time,id:String(e.id),images:e.image||[],link:e.link||null,replies:e.replies&&e.replies.length>0?e.replies.map(F):[],author:{id:(null===(t=e.user)||void 0===t?void 0:t.id)||0,username:(null===(o=e.user)||void 0===o?void 0:o.user_name)||"",name:(null===(i=e.user)||void 0===i?void 0:i.name)||"",role:(null===(n=e.user)||void 0===n?void 0:n.role)?null===(a=null===(r=e.user)||void 0===r?void 0:r.role)||void 0===a?void 0:a.toLowerCase():"",avatar:(null===(l=e.user)||void 0===l?void 0:l.avatar)||"",type:(null===(s=e.user)||void 0===s?void 0:s.type)||"",email:(null===(u=e.user)||void 0===u?void 0:u.email)||"",partnerId:(null===(d=e.user)||void 0===d?void 0:d.partner_id)?String(null===(c=e.user)||void 0===c?void 0:c.partner_id):"",title:(null===(_=e.user)||void 0===_?void 0:_.title)||"",doctorId:(null===(p=e.user)||void 0===p?void 0:p.doctor_id)?String(null===(m=e.user)||void 0===m?void 0:m.doctor_id):"",hospitalId:(null===(v=e.user)||void 0===v?void 0:v.hospital_id)?String(null===(g=e.user)||void 0===g?void 0:g.hospital_id):""},liked:!!e.liked,mentionedUser:e.mentioned?{id:(null===(h=e.mentioned)||void 0===h?void 0:h.id)||0,username:(null===(E=e.mentioned)||void 0===E?void 0:E.user_name)||"",name:(null===(f=e.mentioned)||void 0===f?void 0:f.name)||"",role:(null===(T=e.mentioned)||void 0===T?void 0:T.role)?null===(A=null===(b=e.mentioned)||void 0===b?void 0:b.role)||void 0===A?void 0:A.toLowerCase():"",avatar:(null===(y=e.mentioned)||void 0===y?void 0:y.avatar)||"",type:(null===(O=e.mentioned)||void 0===O?void 0:O.type)||"",email:(null===(w=e.mentioned)||void 0===w?void 0:w.email)||"",partnerId:(null===(I=e.mentioned)||void 0===I?void 0:I.partner_id)?String(null===(L=e.mentioned)||void 0===L?void 0:L.partner_id):"",doctorId:(null===(S=e.mentioned)||void 0===S?void 0:S.doctor_id)?String(null===(x=e.mentioned)||void 0===x?void 0:x.doctor_id):"",hospitalId:(null===(R=e.mentioned)||void 0===R?void 0:R.hospital_id)?String(null===(k=e.mentioned)||void 0===k?void 0:k.hospital_id):"",title:(null===(D=e.mentioned)||void 0===D?void 0:D.title)||""}:null,mentions:e.mentions||[]}:{}},V=function(e){return void 0!==e&&e?(null==e?void 0:e.turn_off_profile)?"":(null==e?void 0:e.slug)?["expert","medical"].includes((null==e?void 0:e.role)||"")?"/expert/".concat(null==e?void 0:e.slug):"/author/".concat(null==e?void 0:e.slug):(null==e?void 0:e.profile_url)||(null==e?void 0:e.permalink)||"#":""},K=Object.freeze({__proto__:null,formatAuthor:S,formatArticleExpert:x,formatArticle:R,formatUserProfile:k,formatBMIResult:function(e){var t,o,i,n,r,a,l,s,u;return e&&e.status?{status:null==e?void 0:e.status,comparison:null!==(t=null==e?void 0:e.comparison)&&void 0!==t?t:"",assessmentData:[{tab:"tools.condition",content:null!==(o=null==e?void 0:e.condition)&&void 0!==o?o:""},{tab:"tools.risks",content:null!==(i=null==e?void 0:e.risk)&&void 0!==i?i:""},{tab:"tools.suggestion",content:null!==(n=null==e?void 0:e.suggestion)&&void 0!==n?n:""}],chartData:(null===(r=null==e?void 0:e.chart_data)||void 0===r?void 0:r.length)>0?null==e?void 0:e.chart_data:[],disclaimer:null!==(a=null==e?void 0:e.disclaimer)&&void 0!==a?a:"",illustrator:null!==(l=null==e?void 0:e.illustrator)&&void 0!==l?l:"",faqs:null!==(s=null==e?void 0:e.faqs)&&void 0!==s?s:[],suggestedArticlesLink:null!==(u=null==e?void 0:e.suggested_articles_link)&&void 0!==u?u:""}:{}},formatSponsor:D,formatReviewedCategory:P,formatCategory:C,formatCategoryApi:function(e){return e?{categoryInfo:C(e.data.category)||null,explainersPosts:(e.data.explainers_posts||[]).map(R),subCategories:(e.data.sub_categories||[]).map(C)}:{}},formatFaqsCategory:G,formatHealthTool:N,formatHealthToolTypeCategory:function(e){var t,o;return e?{termId:(null==e?void 0:e.term_id)||0,name:(null==e?void 0:e.name)||"",healthTools:null!==(o=null===(t=null==e?void 0:e.health_tools)||void 0===t?void 0:t.map((function(e){return N(e)})))&&void 0!==o?o:[]}:{}},formatCommunity:U,formatTopic:M,formatPost:B,formatPostPagination:function(e){return e?{currentPage:e.current||0,lastPage:e.last||0,total:e.total_items||0}:{}},formatNotification:function(e){var t,o,i;return e?{time:e.created_at,content:e.content,postId:String(e.post_id),fromUser:{name:null===(t=e.from_user)||void 0===t?void 0:t.name,id:null===(o=e.from_user)||void 0===o?void 0:o.id,avatar:null===(i=e.from_user)||void 0===i?void 0:i.avatar},toUserId:String(e.to_user_id),postSlug:e.post_slug||"",communitySlug:e.community_slug||""}:{}},formatSpotlightsList:function(e){return e?e.map((function(e){return{id:e.ID,name:e.name,permalink:e.permalink,image:(null==e?void 0:e.small_banner)||(null==e?void 0:e.image),imageMedium:(null==e?void 0:e.image_medium)||null,imageThumbnail:(null==e?void 0:e.image_thumbnail)||null,startDate:null==e?void 0:e.start_date,endDate:null==e?void 0:e.end_date}})):[]},formatOvulationInfo:H,formatSuggestedArticle:function(e){return e?{postId:e.post_id||null,categoryId:e.category_id||null,postUrl:e.post_url||null,postReviewed:e.post_reviewed||null,postPageviews:e.post_pageviews||null,postRank:e.post_rank||null,isPin:e.is_pin||null,frequency:e.frequency||null,topic:e.topic||null}:{}},formatTopicHealthTool:function(e){return e?{id:e.tool_id||null,topicFrequency:e.frequency||null,topicId:e.topic_id||null,topicName:e.topic_name||null,isPinned:!!e.is_pin||null,toolLink:e.tool_link||""}:{}},formatComment:F,formatReportedPostToPostDetail:function(e){return e?{name:e.title,description:e.description,images:e.images,likes_count:e.count_likes,comments_count:e.count_comments,topics:[],slug:e.post_slug,id:e.post_id,is_pin:e.is_pin,pin_date:"",post_type:e.post_type,schedule_datetime:e.schedule_datetime,is_active:e.is_active,preview_title:e.preview_title||"",preview_image:e.preview_image||"",preview_description:e.preview_description||"",preview_link:e.preview_link||"",user:e.user,created_at:"",created_time:"",community:{id:e.community_id,name:e.community_name,slug:e.community_slug,description:""}}:{}},formatTopicSubot:function(e){return e?{chatBotId:e.subot_id,isPinned:e.is_pin,topicId:e.topic_id,topicFrequency:e.frequency}:{}},formatSiteWideBanner:function(e,t){return void 0!==e&&e?{content:(null==e?void 0:e.content)||"",icon:(null==e?void 0:e.icon)||"",type:t||"other"}:null},formatPWGContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?k(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatUserProfileUrl:V,formatTHRContent:function(e){return e?{disclaimer:e.disclaimer,info:e.info||[],reviewedBy:e.reviewed_by?k(e.reviewed_by):null,reviewedDate:e.reviewed_date,metaTag:e.meta_tag}:{}},formatBabyGrowthContent:function(e){var t,o,i;return e&&e.information?{information:null!==(t=e.information.map((function(e){return{title:e.title,description:e.description}})))&&void 0!==t?t:[],reviewBy:{reviewer:(null===(o=e.reviewed_by)||void 0===o?void 0:o.display_name)||(null===(i=e.reviewed_by)||void 0===i?void 0:i.name)||"",date:e.reviewed_date||"",link:V(null==e?void 0:e.reviewed_by)},metaTag:e.meta_tag||"",title:e.title||"",description:e.description||"",disclaimer:e.disclaimer||"",is_sponsored:e.is_sponsored||!1,sponsor:e.sponsor,featuredImage:e.featured_image||""}:{}}}),j={BASE_API_PATH:"/",PROFILE:"profile?website_url={website_url}",SEARCH_USER:"profile/search?website_url={website_url}&name={name}",FETCH_PREVIEW:"fetch/preview?website_url={website_url}",FETCH_POST_OR_TOPIC:"fetch/{slug}?website_url={website_url}&community_slug={communitySlug}",POST:{LIST:"post?website_url={website_url}&slug={slug}&pin={pin}&page={page}&community_id={communityId}&topic_id={topicId}&sort_by={sort}&id={id}",DETAIL_BY_ID_OR_SLUG:"post/{idSlug}?website_url={website_url}",CREATE:"post/create?website_url={website_url}",LIKE:"post/{id}/like?website_url={website_url}",DELETE:"post/{id}/delete?website_url={website_url}",REPORT:"post/{id}/report?website_url={website_url}",UPDATE:"post/{id}/update?website_url={website_url}",FOLLOW:"post/{id}/follow?website_url={website_url}",CREATE_ARTICLE_COMMENT:"article-comment/create?website_url={website_url}"},COMMENT:{LIST:"comment?website_url={website_url}&post_id={postId}&page={page}&sort_by={sort}&items_per_page={perPage}&_without_reply={withoutReply}",CREATE:"comment/create?website_url={website_url}",REPLY:"comment/reply?website_url={website_url}",DELETE:"comment/{id}/delete?website_url={website_url}",LIKE:"comment/{id}/like?website_url={website_url}",UNLIKE:"comment/{id}/unlike?website_url={website_url}",IMAGE_UPLOAD:"comment/image/upload?website_url={website_url}"},COMMUNITY:{LIST:"community?website_url={website_url}&page={page}",DETAIL_BY_ID_OR_SLUG:"community/{idSlug}?website_url={website_url}",JOIN:"community/join?website_url={website_url}",LEAVE:"community/leave?website_url={website_url}"},TOPIC:{LIST:"topic?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}&page={page}",DETAIL_BY_ID_OR_SLUG:"topic/{idSlug}?website_url={website_url}&community_slug={communitySlug}&community_id={communityId}",HEALTH_TOOLS:"tools?topic_id={topicId}&website_url={website_url}",SUBOTS:"subots?topic_id={topicId}&website_url={website_url}",SUGGESTED_POSTS:"suggested-posts?topic_id={topicId}&website_url={website_url}&page={page}",JOIN:"topic/join?website_url={website_url}",LEAVE:"topic/leave?website_url={website_url}"},BOOKMARK:{LIST:"bookmark?user_id={userId}&website_url={website_url}",CREATE:"bookmark/create?website_url={website_url}",DELETE:"bookmark/delete?website_url={website_url}"},UPLOAD_IMAGE:"auth/comment/image/upload?website_url={website_url}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info"},Y=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");var o={},i=(t||{}).decode||X,n=0;for(;n<e.length;){var r=e.indexOf("=",n);if(-1===r)break;var a=e.indexOf(";",n);if(-1===a)a=e.length;else if(a<r){n=e.lastIndexOf(";",r-1)+1;continue}var l=e.slice(n,r).trim();if(void 0===o[l]){var s=e.slice(r+1,a).trim();34===s.charCodeAt(0)&&(s=s.slice(1,-1)),o[l]=J(s,i)}n=a+1}return o},W=function(e,t,o){var i=o||{},n=i.encode||$;if("function"!=typeof n)throw new TypeError("option encode is invalid");if(!q.test(e))throw new TypeError("argument name is invalid");var r=n(t);if(r&&!q.test(r))throw new TypeError("argument val is invalid");var a=e+"="+r;if(null!=i.maxAge){var l=i.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");a+="; Max-Age="+Math.floor(l)}if(i.domain){if(!q.test(i.domain))throw new TypeError("option domain is invalid");a+="; Domain="+i.domain}if(i.path){if(!q.test(i.path))throw new TypeError("option path is invalid");a+="; Path="+i.path}if(i.expires){var s=i.expires;if(!function(e){return"[object Date]"===z.call(e)||e instanceof Date}(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");a+="; Expires="+s.toUTCString()}i.httpOnly&&(a+="; HttpOnly");i.secure&&(a+="; Secure");if(i.priority){switch("string"==typeof i.priority?i.priority.toLowerCase():i.priority){case"low":a+="; Priority=Low";break;case"medium":a+="; Priority=Medium";break;case"high":a+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(i.sameSite){switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return a},z=Object.prototype.toString,q=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function X(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function $(e){return encodeURIComponent(e)}function J(e,t){try{return t(e)}catch(t){return e}}var Z={parse:Y,serialize:W},Q={"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"},ee={"vi-VN":"marrybaby.vn"},te=process.env.NEXT_PUBLIC_DEPLOY_LOCALE||"vi-VN",oe=function(e){var t=exports.GlobalData.env.isMarryBaby;return"https://".concat(t?ee[e]:Q[e])},ie=function(e){var t=e.indexOf("?");return t>=0?e.slice(0,t+1)+e.slice(t+1).replace(/[^=&]+=(&|$)/g,"").replace(/&$/,""):e},ne=function(t,o,i){var n="";i&&(n=Object.keys(i).map((function(e){return e+"="+i[e]})).join("&"));var r=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).togetherBaseApiUrl,a=void 0===r?"":r,l=m.default(t,e.__assign(e.__assign({},(null==o?void 0:o._locale)?{website_url:oe(String(o._locale))}:{}),o));return l+="".concat(l.includes("?")?"&":"?").concat(n),a+"api/v1/"+ie(l)},re=function(e){return(null==e?void 0:e.data)&&(e.data instanceof FormData?e.body=e.data:"object"==typeof e.data&&(e.body=JSON.stringify(e.data)),delete e.data),e},ae=function(t,o,i,n){return void 0===n&&(n=!1),e.__awaiter(void 0,void 0,void 0,(function(){var r,a,l,s,u;return e.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,2,,3]),[4,fetch(n?t:(c=t,encodeURI(c).replace(/%5B/g,"[").replace(/%5D/g,"]")),e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({},null==i?void 0:i.headers)})).then((function(e){return e.json()}))];case 1:return(r=d.sent())?[2,r]:[3,3];case 2:return a=d.sent(),console.log(a),console.log({url:t,status:null===(l=null==a?void 0:a.response)||void 0===l?void 0:l.status,statusText:null===(s=null==a?void 0:a.response)||void 0===s?void 0:s.statusText}),[2,(null===(u=null==a?void 0:a.response)||void 0===u?void 0:u.data)||null];case 3:return[2,null]}var c}))}))},le=function(t,o,i,n){return e.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u;return e.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,3,,4]),a=Z.parse(n||""),l=a[y],(s=l||r.getCookie(y))&&s.length?[4,fetch(t,e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({Authorization:"Bearer "+s},null==i?void 0:i.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=d.sent())return[2,u];d.label=2;case 2:return[3,4];case 3:return d.sent(),[2,null];case 4:return[2,null]}}))}))};function se(e,t,o){var i=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(i)?e.replace(i,"$1"+t+"="+o+"$2"):e+n+t+"="+o}var ue=function(e,t,o,i){return o&&t?"".concat(o,"-").concat(t):"".concat(p.default(e||"",{lower:!0,locale:i||te}),"-").concat(t)},de={locale:"vi-VN",env:{isMarryBaby:!1,togetherBasePath:"/community"},router:{basePath:"",asPath:"/"}},ce=t.createContext({data:de,action:{pushNotifications:function(e){return e},sanitizeFunction:function(e){return e}}});exports.GlobalData=de;var _e,pe=_.default.div(_e||(_e=e.__makeTemplateObject(["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"],["\n width: 40px;\n height: 40px;\n flex-shrink: 0;\n cursor: pointer;\n font-size: 20px;\n\n img {\n border-radius: 50%;\n }\n\n .avatar {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n .avatar-default {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: ",";\n border-radius: 50%;\n color: white;\n font-size: 1em;\n font-weight: bold;\n line-height: 1;\n }\n\n &[data-is-marrybaby='true'] {\n .avatar-default {\n background-color: ",";\n }\n }\n"])),(function(e){return e.theme.colors.secondaryBase}),(function(e){return e.theme.mbColors.pink}));exports.ADMIN_PATHS={SEARCH_USER:"admin/profile/search?website_url={website_url}&name={name}",COMMENT:{IMAGE_UPLOAD:"admin/comment/image/upload?website_url={website_url}"}},exports.Avatar=function(i){var n=i.type,r=void 0===n?"square":n,a=i.size,l=i.avatarImg,s=i.avatarUrl,u=i.firstLetter,d=i.backgroundColor,_=i.onClick,p=i.style,m=i.className,g=i.isAmp,h=void 0!==g&&g,E=i.width,f=i.height,T=a?v[a]:void 0,b=t.useState(!1),A=b[0],y=b[1];t.useEffect((function(){if(s){var e=document.createElement("img");e.setAttribute("src",s),e.addEventListener("error",(function(){y(!0)}))}}),[s,y]);var O=(!s&&!l||A)&&u;return c.default.createElement(o.StyledAvatar,{style:e.__assign(e.__assign({},p),{"--size":!h&&T?T+"px":void 0,"--width-prop":E?E+"px":void 0,"--height-prop":f?f+"px":void 0,"--background-color":d}),"data-has-max":!(!E||!f),"data-avatar-type":r,onClick:_,className:m,avatarUrl:s,"data-is-amp":h,"data-custom-size":!!a},l,s&&!A&&c.default.createElement("img",{src:s}),O&&u)},exports.BEARER_TOKEN_COOKIE=y,exports.CARE_PATHS={GET_DOCTOR_INFO:"api/doctors/{doctorId}?site={website_url}",GET_HOSPITAL_INFO:"api/hospital/branch/{hospital_branch_id}?site={website_url}"},exports.DEFAULT_AVATAR_IMG=f,exports.DEFAULT_IMG=T,exports.DISCOVER_PATHS={BASE_API_PATH:"/",GET_SEARCH_ARTICLES:"search?s={keyword}&page={page}",GET_ALL_CATEGORIES:"categories?type=all",GET_HOMEPAGE_POSTS:"home/trending-post?type={type}",GET_HOMEPAGE_LATEST_POSTS:"articles?page=1&_islatest=1",GET_ARTICLE_DETAIL:"article/{slug}?skip_ids={skipIds}&_isrelated={isRelated}",GET_CATEGORY_DETAIL:"category/{slug}",GET_CATEGORY_OR_ARTICLE_DETAIL:"fetch/{fullSlug}",GET_PREVIEW_ARTICLE:"fetch/{fullSlug}?preview_nonce={nonce}&preview=true",GET_ARTICLE_OF_CATEGORY:"articles?category_id={categoryId}&page={currentPage}",GET_PAGE_STATIC:"page/{slug}",GET_ALL_HEALTH_TOOLS:"healthtools",GET_ALL_MARRYBABY_HEALTH_TOOLS:"health-tools",GET_HEALTH_TOOLS_BY_CATEGORY:"healthtools?_hasgroup=1",GET_AUTHOR:"author/{slug}",GET_ALL_EXPERTS:"experts",GET_ALL_EXPERTS_PAGING:"experts?page={page}",GET_EXPERT:"expert/{slug}",GET_EXPERT_POST:"expert/article?page={page}",POST_ARTICLE_FEEDBACK:"article/feedback/{id}",GET_AZ_DRUGS:"category/a-z/{category}",GET_HOMEPAGE_MEDICAL_REVIEWED:"home/medical-reviewed",GET_ARTICLES_BY_IDS:"articles?ids={ids}",GET_ARTICLE_OF_CATEGORY_NO_EXPLAINERS:"articles?category_id={categoryId}&page={currentPage}&skip_ids={ids}",GET_EXPERT_OF_CATEGORY:"category/expert/?id={id}",GET_DUE_DATE_INFO:"health-tools/due-date-calculator/info",GET_DUE_DATE_ALL_WEEKS:"health-tools/due-date-calculator/all",GET_DUE_DATE_SUGGESTED_ARTICLES:"health-tools/due-date-calculator/result?from_week={from}&to_week={to}",GET_PROFILE:"user/profile",GET_ADMIN_PROFILE:"GET_ADMIN_PROFILE",GET_FEATURE:"feature",POST_NEW_FEATURE:"feature/update",CREATE_BOOKMARK:"bookmark/create",DELETE_BOOKMARK:"bookmark/delete",DELETE_ALL_BOOKMARK:"bookmark/delete-all",GET_ALL_BOOKMARK:"bookmark",SSO_USER_PROFILE:"user",SSO_USER_BOOKMARKS:"user/bookmarks",SSO_USER_PASSWORD:"user/settings/password",SSO_USER_EMAIL:"user/settings/update-email",SSO_CLOSE_ACCOUNT:"user/settings/close-account",SSO_HELP:"user/settings/help",GET_HEALTH_TOOL_OVULATION_INFO:"health-tools/ovulation-calculator/info",GET_HEALTH_TOOL_OVULATION_SUGGESTED_ARTICLES:"health-tools/ovulation-calculator/result?method={method}",GET_HEALTH_TOOL_BMI_INFO:"health-tools/bmi-calculator/info",GET_HEALTH_TOOL_BMI_RESULT:"health-tools/bmi-calculator/result?gender={gender}&bmi={bmi}&age={age}",GET_HEALTH_TOOL_BMR_INFO:"health-tools/bmr-calculator/info",GET_HEALTH_TOOL_BMR_RESULT:"health-tools/bmr-calculator/result?kcals={kcals}&gender={gender}&age={age}",GET_HEALTH_TOOL_PWG_INFO:"health-tools/preweight-gain-calculator/info",GET_HEALTH_TOOL_THR_INFO:"health-tools/target-heart-rate/info",GET_HEALTH_TOOL_BABY_GROWTH_INFO:"health-tools/baby-growth-tracking/info",POST_UPDATE_LOCATION:"tracking/geo/",GET_SIDIS_DUE_DATE:"frontend/tools/due_date",GET_SIDIS_OVULATION:"frontend/tools/ovulation",GET_SIDIS_BMI:"frontend/tools/bmi",GET_SIDIS_BMR:"frontend/tools/bmr",POST_LOGOUT:"user/logout",OVULATION_CREATE_EVENT:"ovulation/event?method={method}&day={day}&cycle={cycle}&period={period}&token={token}&user_id={user_id}",GET_ALL_SPOTLIGHT:"spotlights?per_page={perPage}&order_by={orderBy}",SSO_UPDATE_FIRST_TIME_BOOKMARK:"bookmark/update-first-time",POST_COMMENT_NOTIFICATION:"comment/notification",GET_ABOUT_US_DATA:"about",POST_LEAD_IMPRESSION:"campaign/{campaignCode}/impression",POST_LEAD_POPUP_EXIT:"campaign/{campaignCode}/popup_exit",POST_LEAD_LEAD:"campaign/{campaignCode}/lead",POST_SSO_VERIFY_TOKEN:"verify-id-token",GET_LANDING_PAGE_FIRST_NODE:"landing_page/bot",GET_LANDING_PAGE_NEXT_NODE:"landing_page/messages",POST_LANDING_PAGE_IMPRESSION:"landing_page/impressions",POST_LANDING_PAGE_CLICK:"landing_page/clicks",FETCH_URL_DATA:"preview",GET_SPOTLIGHT_LANDING:"spotlight/{slug}",GET_FOOTER_INFO:"footer",CHECK_SSO_EMAIL:"member/check-email",GET_HOMEPAGE_SITEWIDE_BANNER:"home/sitewide-banner",GET_DYNAMIC_FOOTER:"menu/footer",GET_EXPERTS:"experts?page={page}&number={perPage}&s={search}",GET_EXPERT_BY_ID:"expert/{id}"},exports.DUE_DATE_FORMAT=E,exports.DefaultComponentGlobalContextData=de,exports.HEALTH_TOOL_TYPE=b,exports.MAX_IMAGE_UPLOADS=20,exports.PATHS=j,exports.Popup=function(e){var t=e.type,o=void 0===t?"lead":t,i=e.closeIcon,n=e.isOpen,r=void 0===n||n,a=e.onClose,l=e.children,s=e.className,u=void 0===s?"":s,d=e.enableAnimation,_=void 0===d||d;return c.default.createElement(c.default.Fragment,null,c.default.createElement(g,{"data-open":r,"data-type":o,"data-animation":_},c.default.createElement("div",{className:"".concat(u||""," popup-content")},!!i&&c.default.createElement("div",{className:"close-button",onClick:a},i),l)),c.default.createElement(h,{"data-open":r,onClick:a}))},exports.REPORT_REASON_MAP=w,exports.TogetherComponentGlobalContext=ce,exports.TogetherComponentGlobalContextProvider=function(e){var o=e.locale,i=void 0===o?"vi-VN":o,n=e.children,r=e.userInfo,a=e.router,l=e.env,s=void 0===l?{isMarryBaby:!1,togetherBasePath:"/community"}:l,u=e.sanitizeFunction,d=void 0===u?function(e){return e}:u,_=e.pushNotifications,p=void 0===_?function(){return!1}:_,m=t.useState(),v=m[0],g=m[1];return exports.GlobalData={userInfo:r,locale:i,togetherUserId:v,router:a,env:s},t.useEffect((function(){(null==r?void 0:r.id)&&le(ne(j.PROFILE,{_locale:i}),"GET").then((function(e){var t;g(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.id)}))}),[null==r?void 0:r.id]),c.default.createElement(ce.Provider,{value:{data:{userInfo:r,locale:i,togetherUserId:v,router:a,env:s},action:{pushNotifications:p,sanitizeFunction:d}}},n)},exports.UserAvatar=function(e){var o=e.className,i=e.isMarryBaby,n=e.style,r=e.avatar,a=e.username,l=e.isLazy,s=t.useContext(ce).data.env.isMarryBaby,u="boolean"==typeof i?i:s,d=t.useState(!1),_=d[0],p=d[1];return t.useEffect((function(){var e=new Image;e.onerror=function(){p(!0)},e.src=r}),[]),c.default.createElement(pe,{"data-is-marrybaby":u,className:o,style:n},r&&!_?c.default.createElement("img",{src:l?void 0:r,"data-src":l?r:void 0,className:"avatar ".concat(l?"lazy":""),alt:"avatar",onError:function(){p(!0)}}):c.default.createElement("div",{className:"avatar avatar-default"},a&&(null==a?void 0:a.length)>0?a[0].toUpperCase():"A"))},exports.callApi=ae,exports.callApiWithAdminAuth=function(t,o,i,n){return e.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u;return e.__generator(this,(function(d){switch(d.label){case 0:return d.trys.push([0,3,,4]),a=Z.parse(n||""),l=a[O],(s=l||r.getCookie(O))&&s.length?[4,fetch(t,e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({Authorization:"Bearer "+s},null==i?void 0:i.headers)})).then((function(e){return e.json()}))]:[3,2];case 1:if(u=d.sent())return[2,u];d.label=2;case 2:return[3,4];case 3:return d.sent(),[2,null];case 4:return[2,null]}}))}))},exports.callApiWithAuth=le,exports.callApiWithOptionalAuth=function(t,o,i,n){return void 0===o&&(o="GET"),e.__awaiter(void 0,void 0,void 0,(function(){var a,l,s,u,d,c,_,p,m,v,g,h,E,f;return e.__generator(this,(function(T){switch(T.label){case 0:if(T.trys.push([0,7,,8]),a="string"==typeof t?t:t.url,l="string"==typeof t?t:t.backupUrl,s=Z.parse(n||""),u=s[y],!(d=u||r.getCookie(y))||!d.length)return[3,5];T.label=1;case 1:return T.trys.push([1,3,,4]),[4,fetch(a,e.__assign(e.__assign({method:o},re(i)),{headers:e.__assign({Authorization:"Bearer "+d},null==i?void 0:i.headers)})).then((function(e){return e.json()}))];case 2:return c=T.sent(),(null===(m=null==c?void 0:c.messages)||void 0===m?void 0:m.find((function(e){return"Unauthenticated"===(null==e?void 0:e.toLowerCase())})))?[2,ae(l||a,o,i)]:c?[2,c]:[3,4];case 3:return _=T.sent(),console.log({status:null===(v=null==_?void 0:_.response)||void 0===v?void 0:v.status,statusText:null===(g=null==_?void 0:_.response)||void 0===g?void 0:g.statusText}),[2,ae(l||a,o,i)];case 4:return[3,6];case 5:return[2,ae(l||a,o,i)];case 6:return[3,8];case 7:return p=T.sent(),console.log({status:null===(h=null==p?void 0:p.response)||void 0===h?void 0:h.status,statusText:null===(E=null==p?void 0:p.response)||void 0===E?void 0:E.statusText}),[2,(null===(f=null==p?void 0:p.response)||void 0===f?void 0:f.data)||null];case 8:return[2,null]}}))}))},exports.constants=L,exports.dataTransform=K,exports.domainLocales=Q,exports.formatComment=F,exports.formatCommunity=U,exports.formatOvulationInfo=H,exports.formatPost=B,exports.formatTopic=M,exports.formatUserProfileUrl=V,exports.getApiPath=ne,exports.getCareDoctorUrl=function(e){var t,o=e.name,i=e.id,n=e.locale;return"/care/".concat(null===(t=I[n||"vi-VN"])||void 0===t?void 0:t.DOCTOR,"/").concat(ue(o,i))},exports.getCareHospitalUrl=function(e){var t,o=e.name,i=e.id,n=e.slug,r=e.locale;return"/care/".concat(null===(t=I[r||"vi-VN"])||void 0===t?void 0:t.HOSPITAL,"/").concat(ue(o,i,n))},exports.getCarePath=function(t,o){var i=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).careBaseApiUrl;return((void 0===i?"":i)||"https://service-health-care.hellohealthgroup.com/")+ie(m.default(t,e.__assign({},o)))},exports.getCurrentBaseUrl=function(e){var t=exports.GlobalData.env.isMarryBaby;if("undefined"!=typeof window)return window.location.origin;var o="staging"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return"development"===process.env.NEXT_PUBLIC_DEPLOY_ENV?"http://localhost:3000":"https://".concat(o?t?"fe.":"discover.":t?"www.":"").concat(Q[e])},exports.getDiscoverApiPath=function(t,o){var i=((null===exports.GlobalData||void 0===exports.GlobalData?void 0:exports.GlobalData.env)||{}).discoverBaseApiUrl;return(void 0===i?"":i)+"wp-json/api/"+ie(m.default(t,e.__assign({},o)))},exports.getUrlToSignUp=function(e,t,o){void 0===o&&(o="/community");var i=e||("undefined"!=typeof window?window.location.href:"/"),n="undefined"!=typeof window?window.location.origin:"";return n||e&&(e.startsWith("http://")||e.startsWith("https://"))&&(n=e.split("/").slice(0,3).join("/")),function(e,t){var o=exports.GlobalData.env.publicSSO,i=e||window.location.href;return t&&Object.keys(t).map((function(e){se(i,e,t[e])})),se(i,"source","communities"),o?"".concat(o,"?returnUrl=").concat(encodeURIComponent(i.toString())):i}("".concat(n).concat(o,"/on-boarding?return=").concat(encodeURIComponent(i)),t)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index.styled-
|
|
1
|
+
"use strict";var e=require("react"),a=require("./gAssets.js"),t=require("./index.styled-7875a26f.js");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(e);exports.Logo=function(s){var o=s.type,n=s.className,r=s.style,i=s.isLightLogo,m=s.customSize,g=s.badge,u=s.locale,c=s.dateForSeasonal,d=s.isPro,f=e.useMemo((function(){if(!c||isNaN(new Date(c).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var e=new Date(c),a=t.isChristmas(e),s=t.LunarNewYearLocale.includes(u)&&t.isLunarNewYear(e);return{isChristmas:a,isLunarNewYear:s,isNewYear:!s&&t.isNewYear(e)}}),[u,new Date(c).getDate()]);return l.default.createElement(t.StyledLogo,{className:n,style:r,"data-logo-is-light":i||void 0,"data-has-badge":!!g,"data-christmas":f.isChristmas,"data-new-year":f.isNewYear,"data-lunar-new-year":f.isLunarNewYear},f.isChristmas?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):f.isNewYear?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):f.isLunarNewYear?l.default.createElement(l.default.Fragment,null,l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),l.default.createElement("img",{loading:"lazy",src:a.CommonGAssets.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,l.default.createElement(t.LogoIcon,{type:o,width:null==m?void 0:m.width,height:null==m?void 0:m.height}),d?l.default.createElement(t.StyledProLogo,{src:a.CommonGAssets.getAssetPath("logo/pro-suffix.svg")}):null,g)};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var n=require("react"),e=require("./index.styled-9500d47d.js"),t=require("./useTranslations-7bad81fe.js"),a=require("./tslib.es6-7db96a99.js"),o=require("styled-components");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var i,d,l,s,p,u,c=r(n),x=r(o),b={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},g=x.default.div(i||(i=a.__makeTemplateObject(["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"],["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),h=x.default.div(d||(d=a.__makeTemplateObject(["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),m=x.default.ul(l||(l=a.__makeTemplateObject(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"],["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),f=x.default.li(s||(s=a.__makeTemplateObject(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"],["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),v=x.default.div(p||(p=a.__makeTemplateObject(["\n max-width: 16px;\n margin-right: 8px;\n"],["\n max-width: 16px;\n margin-right: 8px;\n"]))),w=x.default.div(u||(u=a.__makeTemplateObject(["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"],["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"])));exports.AuthorBadge=function(n){var a=n.role,o=n.title,r=t.useTranslations().t,i=a?function(n){return["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((function(e){return e===n}))}(a):"";return i&&b[i]?c.default.createElement(e.StyledAuthorBadge,{"data-label-type":i},o||r(b[i])):null},exports.Checkbox=function(n){var t=n.label,a=n.name,o=n.checked,r=n.className,i=n.isDisabled,d=n.onChange,l=n.value,s=n.isRectangle,p=n.inputDataTestId;return c.default.createElement(e.StyledCheckbox,{className:r,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":t},c.default.createElement("input",{type:"checkbox",checked:o,name:a,onChange:function(){return d(l,!o)},disabled:i,value:l,id:"".concat(a,"-").concat(l),"data-label-text":t,"data-testid":p}),!s&&c.default.createElement("label",{htmlFor:"".concat(a,"-").concat(l)},t))},exports.Divider=function(n){var t=n.type,a=void 0===t?"solid":t,o=n.className,r=n.style;return c.default.createElement(e.StyledDivider,{style:r,className:o,"data-diver-type":a,dividerType:a})},exports.Dropdown=function(n){var e=n.className,t=n.value,o=n.options,r=n.onChange,i=void 0===r?function(){}:r,d=n.id,l=n.placeholderIcon,s=n.placeholder,p=n.style,u=n.size,x=void 0===u?"lg":u,b=n.groupedWithLabel,k=n.disabled,y=n.dropdownLabelTrackingAttributes,E=void 0===y?{}:y,C=n.isNativeSelect,z=void 0!==C&&C,j=c.default.useState(!1),A=j[0],_=j[1],T=function(){return!k&&_(!A)};return z?c.default.createElement(g,{as:"select","data-is-native":"true",value:(null==t?void 0:t.value)||void 0,disabled:k,onChange:function(n){if("string"==typeof n.target.value){var e=o.find((function(e){return e.value===n.target.value}));e&&i(e)}}},s&&c.default.createElement("option",{value:s,disabled:!0,selected:!0},s),o.map((function(n){return c.default.createElement("option",{key:"".concat(d,"-").concat(n.value),value:n.value,disabled:!!n.disabled&&n.disabled},n.label)}))):c.default.createElement(g,{className:e,"data-dropdown-open":A||void 0,"data-size":x,id:d,"data-has-icons":!!l,style:p,onBlur:function(){return _(!1)},tabIndex:0,"data-disabled":k},!!b&&c.default.createElement(w,null,b),c.default.createElement(h,a.__assign({onClick:T,className:b&&"with-label"},E),l," ",c.default.createElement("span",null,t&&t.value?t.label:s)),A&&c.default.createElement(m,{onClick:T,"data-has-icons":!!l},o.map((function(n){return c.default.createElement(f,{key:"".concat(d,"-").concat(n.value),"data-selected":t&&t.value===n.value||void 0,onClick:function(){return!n.disabled&&!k&&(null==i?void 0:i(n))},"data-disabled":!!n.disabled&&n.disabled},n.icon&&c.default.createElement(v,null,n.icon),n.label)}))))};
|
|
1
|
+
"use strict";var n=require("react"),e=require("./index.styled-31817868.js"),t=require("./useTranslations-d8579aa5.js"),a=require("./tslib.es6-aacac346.js"),o=require("styled-components");function r(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var i,d,l,s,p,u,c=r(n),x=r(o),b={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},g=x.default.div(i||(i=a.__makeTemplateObject(["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"],["\n --dropdown-padding: 12px 18px 12px 16px;\n position: relative;\n box-sizing: border-box;\n border: 1px solid ",";\n background: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat;\n background-position: right 16px center;\n border-radius: 6px;\n\n &[data-disabled='true'],\n :disabled {\n background-color: #f2f2f2;\n cursor: not-allowed;\n }\n\n &[data-size='sm'] {\n font-size: 13px;\n line-height: 20px;\n }\n &[data-size='md'] {\n font-size: 14px;\n line-height: 21px;\n }\n &[data-size='lg'] {\n font-size: 16px;\n line-height: 24px;\n }\n\n &[data-has-icons='true'] {\n border: none;\n background: ",";\n\n img,\n svg {\n display: inline-block;\n max-width: 16px;\n margin-right: 6px;\n }\n\n span {\n display: inline-block;\n vertical-align: middle;\n }\n\n &:hover {\n box-shadow: none;\n }\n > div {\n position: relative;\n display: flex;\n width: 100%;\n box-sizing: border-box;\n align-items: center;\n }\n > div::after {\n position: absolute;\n top: 50%;\n right: 12px;\n width: 10px;\n height: 8px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n content: '';\n transform: translateY(-50%);\n }\n }\n\n &:hover {\n box-shadow: 0 0 2px 2px ",";\n }\n\n &[data-is-native='true'] {\n padding: var(--dropdown-padding);\n line-height: 24px;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px ",";\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray100}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.blue200})),h=x.default.div(d||(d=a.__makeTemplateObject(["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"],["\n padding: var(--dropdown-padding);\n cursor: pointer;\n\n &.with-label {\n padding-top: 34px;\n padding-bottom: 12px;\n }\n &[data-dropdown-open] {\n padding: 11px 15px 11px 15px;\n border: 1px solid ",";\n border-radius: 6px;\n box-shadow: 0 0 2px 2px ",";\n }\n"])),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200})),m=x.default.ul(l||(l=a.__makeTemplateObject(["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"],["\n position: absolute;\n top: 100%;\n right: 0;\n left: 0;\n display: block;\n margin-top: 4px;\n background: ",";\n border-radius: 6px;\n box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001), -2px 2px 5px rgba(67, 86, 100, 0.123689);\n cursor: pointer;\n\n &[data-has-icons='true'] {\n border: 1px solid ",";\n background: white;\n box-shadow: none;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),f=x.default.li(s||(s=a.__makeTemplateObject(["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"],["\n display: flex;\n padding: 12px 18px 12px 16px;\n &[data-disabled='true'] {\n cursor: not-allowed;\n color: #bfbfbf;\n & > * {\n pointer-events: none;\n }\n }\n &:hover,\n :active {\n background: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),v=x.default.div(p||(p=a.__makeTemplateObject(["\n max-width: 16px;\n margin-right: 8px;\n"],["\n max-width: 16px;\n margin-right: 8px;\n"]))),w=x.default.div(u||(u=a.__makeTemplateObject(["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"],["\n position: absolute;\n top: 12px;\n left: 16px;\n pointer-events: none;\n"])));exports.AuthorBadge=function(n){var a=n.role,o=n.title,r=t.useTranslations().t,i=a?function(n){return["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((function(e){return e===n}))}(a):"";return i&&b[i]?c.default.createElement(e.StyledAuthorBadge,{"data-label-type":i},o||r(b[i])):null},exports.Checkbox=function(n){var t=n.label,a=n.name,o=n.checked,r=n.className,i=n.isDisabled,d=n.onChange,l=n.value,s=n.isRectangle,p=n.inputDataTestId;return c.default.createElement(e.StyledCheckbox,{className:r,"data-disabled":i||void 0,"data-is-rectangle":s||void 0,"data-label-text":t},c.default.createElement("input",{type:"checkbox",checked:o,name:a,onChange:function(){return d(l,!o)},disabled:i,value:l,id:"".concat(a,"-").concat(l),"data-label-text":t,"data-testid":p}),!s&&c.default.createElement("label",{htmlFor:"".concat(a,"-").concat(l)},t))},exports.Divider=function(n){var t=n.type,a=void 0===t?"solid":t,o=n.className,r=n.style;return c.default.createElement(e.StyledDivider,{style:r,className:o,"data-diver-type":a,dividerType:a})},exports.Dropdown=function(n){var e=n.className,t=n.value,o=n.options,r=n.onChange,i=void 0===r?function(){}:r,d=n.id,l=n.placeholderIcon,s=n.placeholder,p=n.style,u=n.size,x=void 0===u?"lg":u,b=n.groupedWithLabel,k=n.disabled,y=n.dropdownLabelTrackingAttributes,E=void 0===y?{}:y,C=n.isNativeSelect,z=void 0!==C&&C,j=c.default.useState(!1),A=j[0],_=j[1],T=function(){return!k&&_(!A)};return z?c.default.createElement(g,{as:"select","data-is-native":"true",value:(null==t?void 0:t.value)||void 0,disabled:k,onChange:function(n){if("string"==typeof n.target.value){var e=o.find((function(e){return e.value===n.target.value}));e&&i(e)}}},s&&c.default.createElement("option",{value:s,disabled:!0,selected:!0},s),o.map((function(n){return c.default.createElement("option",{key:"".concat(d,"-").concat(n.value),value:n.value,disabled:!!n.disabled&&n.disabled},n.label)}))):c.default.createElement(g,{className:e,"data-dropdown-open":A||void 0,"data-size":x,id:d,"data-has-icons":!!l,style:p,onBlur:function(){return _(!1)},tabIndex:0,"data-disabled":k},!!b&&c.default.createElement(w,null,b),c.default.createElement(h,a.__assign({onClick:T,className:b&&"with-label"},E),l," ",c.default.createElement("span",null,t&&t.value?t.label:s)),A&&c.default.createElement(m,{onClick:T,"data-has-icons":!!l},o.map((function(n){return c.default.createElement(f,{key:"".concat(d,"-").concat(n.value),"data-selected":t&&t.value===n.value||void 0,onClick:function(){return!n.disabled&&!k&&(null==i?void 0:i(n))},"data-disabled":!!n.disabled&&n.disabled},n.icon&&c.default.createElement(v,null,n.icon),n.label)}))))};
|
package/build/index.css
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
.styles-module_container__MON6s{text-align:center}.styles-module_iconContainer__pS-tJ{line-height:1;margin-bottom:32px}.styles-module_icon__s3tJ9{font-size:120px;line-height:1}.styles-module_title__fNsZr{color:#262626;font-size:28px;line-height:1.285;margin-bottom:16px}.styles-module_description__uuxV7{color:#595959}.styles-module_button__YohjT{margin-top:24px;padding-left:34px;padding-right:34px}@media (max-width:1400px){.styles-module_iconContainer__pS-tJ{margin-bottom:27px}.styles-module_icon__s3tJ9{font-size:100px}.styles-module_title__fNsZr{font-size:23px;margin-bottom:12px}.styles-module_button__YohjT{margin-top:20px;padding-left:28px;padding-right:28px}}@media (max-width:768px){.styles-module_iconContainer__pS-tJ{margin-bottom:20px}.styles-module_icon__s3tJ9{font-size:80px}.styles-module_title__fNsZr{font-size:20px;margin-bottom:10px}.styles-module_button__YohjT{margin-top:18px;padding-left:24px;padding-right:24px}}
|
|
2
1
|
.styles-module_otpContainer__2iQs0{margin-left:auto;margin-right:auto;max-width:328px}.styles-module_otpInput__Ia6Io{border:1px solid #d9d9d9;border-radius:4px;box-shadow:0 0 5px #e3f2ff;box-sizing:border-box;font-family:inherit;font-size:1rem;line-height:1.5;margin:0;min-width:48px;padding:11px 16px;text-align:center;transition:all .3s ease;width:100%}.styles-module_otpInput__Ia6Io::-moz-placeholder{color:#8c8c8c}.styles-module_otpInput__Ia6Io::placeholder{color:#8c8c8c}.styles-module_otpInput__Ia6Io:focus{border-color:#45a4ff;outline:none}.styles-module_otpInput__Ia6Io.isError{border-color:#f44d2c}.styles-module_otpInput__Ia6Io.styles-module_error__yJs9M{border-color:#bf331b}.styles-module_otpInput__Ia6Io::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none}
|
|
2
|
+
.styles-module_container__MON6s{text-align:center}.styles-module_iconContainer__pS-tJ{line-height:1;margin-bottom:32px}.styles-module_icon__s3tJ9{font-size:120px;line-height:1}.styles-module_title__fNsZr{color:#262626;font-size:28px;line-height:1.285;margin-bottom:16px}.styles-module_description__uuxV7{color:#595959}.styles-module_button__YohjT{margin-top:24px;padding-left:34px;padding-right:34px}@media (max-width:1400px){.styles-module_iconContainer__pS-tJ{margin-bottom:27px}.styles-module_icon__s3tJ9{font-size:100px}.styles-module_title__fNsZr{font-size:23px;margin-bottom:12px}.styles-module_button__YohjT{margin-top:20px;padding-left:28px;padding-right:28px}}@media (max-width:768px){.styles-module_iconContainer__pS-tJ{margin-bottom:20px}.styles-module_icon__s3tJ9{font-size:80px}.styles-module_title__fNsZr{font-size:20px;margin-bottom:10px}.styles-module_button__YohjT{margin-top:18px;padding-left:24px;padding-right:24px}}
|
|
3
3
|
.styles-module_phoneInput__i-9Ib{display:flex}.styles-module_phoneInput__i-9Ib .PhoneInputCountry{align-items:center;background-color:#f2f2f2;border:1px solid #d9d9d9;border-radius:6px 0 0 6px;box-sizing:border-box;display:flex;justify-content:space-between;min-width:20px;padding:11px 16px;position:relative}.styles-module_phoneInput__i-9Ib .PhoneInputCountrySelect{-moz-appearance:none;-webkit-appearance:none;appearance:none;box-sizing:border-box;inset:0;opacity:0;position:absolute;z-index:0}.styles-module_phoneInput__i-9Ib .PhoneInputCountryIcon{align-items:center;display:flex;line-height:1.5}.styles-module_phoneInput__i-9Ib .PhoneInputCountryIconImg{border-radius:2px;height:16px!important;width:24px!important}.styles-module_phoneInput__i-9Ib .PhoneInputCountryIconCallingCode{color:#262626;display:inline-block;line-height:1;margin-left:4px}.styles-module_phoneInput__i-9Ib .PhoneInputArrowContainer{color:#8c8c8c;font-size:8px;margin-left:4px}.styles-module_phoneInput__i-9Ib .PhoneInputInput{border:1px solid #d9d9d9;border-left:none;border-radius:4px;border-radius:0 6px 6px 0;box-shadow:0 0 5px #e3f2ff;box-sizing:border-box;flex:1;font-family:inherit;font-size:1rem;line-height:1.5;margin:0;padding:11px 16px;transition:all .3s ease;width:100%}.styles-module_phoneInput__i-9Ib .PhoneInputInput::-moz-placeholder{color:#8c8c8c}.styles-module_phoneInput__i-9Ib .PhoneInputInput::placeholder{color:#8c8c8c}.styles-module_phoneInput__i-9Ib .PhoneInputInput:focus{border-color:#45a4ff;outline:none}.styles-module_phoneInput__i-9Ib .PhoneInputInput.isError{border-color:#f44d2c}.styles-module_phoneInput__i-9Ib:focus-within{border-color:#45a4ff}.styles-module_phoneInput__i-9Ib:focus-within .PhoneInputInput{border-color:#45a4ff}.styles-module_phoneInput__i-9Ib:focus-within .PhoneInputCountry{border-color:#45a4ff #d9d9d9 #45a4ff #45a4ff}.styles-module_phoneInput__i-9Ib .styles-module_error__YDWHh .PhoneInputInput{border-color:#f44d2c}.styles-module_phoneInput__i-9Ib .styles-module_error__YDWHh .PhoneInputCountry{border-color:#f44d2c #d9d9d9 #f44d2c #f44d2c}
|
|
4
4
|
.style-module_text__wIj6f{color:var(--custom-color,#262626);font-weight:400;letter-spacing:0}.style-module_text__wIj6f[data-size=lg],.style-module_text__wIj6f[data-size=md]{font-size:16px;line-height:28px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=lg],.style-module_text__wIj6f[data-size=md]{font-size:18px;letter-spacing:-.2px;line-height:32px}}.style-module_text__wIj6f[data-size=base]{font-size:16px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=base]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=sm]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=sm]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=xs]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=xs]{font-size:14px;line-height:24px}}.style-module_text__wIj6f[data-size=s1]{font-size:18px;letter-spacing:-.6px;line-height:26px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s1]{font-size:22px;letter-spacing:-.6px;line-height:32px}}.style-module_text__wIj6f[data-size=s2]{font-size:16px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s2]{font-size:18px;letter-spacing:-.4px;line-height:28px}}.style-module_text__wIj6f[data-size=s3]{font-size:14px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s3]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=s4]{font-size:12px;letter-spacing:-.2px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=s4]{font-size:14px;letter-spacing:0;line-height:22px}}.style-module_text__wIj6f[data-size=s5]{font-size:12px;line-height:18px}.style-module_text__wIj6f[data-size=p1]{font-size:16px;letter-spacing:-.2px;line-height:28px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p1]{font-size:18px;line-height:32px}}.style-module_text__wIj6f[data-size=p2]{font-size:16px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p2]{letter-spacing:0}}.style-module_text__wIj6f[data-size=p3]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p3]{font-size:16px;letter-spacing:0;line-height:24px}}.style-module_text__wIj6f[data-size=p4]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=p4]{font-size:14px;letter-spacing:-.2px;line-height:22px}}.style-module_text__wIj6f[data-size=c1]{font-size:14px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=c1]{font-size:16px;line-height:24px}}.style-module_text__wIj6f[data-size=c2]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=c2]{font-size:14px;line-height:22px}}.style-module_text__wIj6f[data-size=n1]{font-size:12px;line-height:18px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=n1]{font-size:12px;line-height:18px}}.style-module_text__wIj6f[data-size=label1]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_text__wIj6f[data-size=label1]{letter-spacing:0}}.style-module_text__wIj6f[data-size=label2]{font-size:12px;line-height:18px}.style-module_text__wIj6f[data-type=bold],.style-module_text__wIj6f[data-type=caption]{font-weight:700}.style-module_text__wIj6f[data-type=semiBold]{font-weight:600}.style-module_text__wIj6f[data-word-wrap=break-all]{word-break:break-all}.style-module_text__wIj6f[data-word-wrap=break-word]{word-break:break-word}.style-module_text__wIj6f[data-is-uppercase],.style-module_text__wIj6f[data-type=caption]{text-transform:uppercase}
|
|
5
5
|
@keyframes style-module_circle__GIMLN{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.style-module_loader__P03rc{animation:style-module_circle__GIMLN 1.2s linear infinite}.style-module_spinner__Lsvyk{align-items:center;display:flex;position:relative}.style-module_spinner__Lsvyk svg+svg{left:0;position:absolute}.style-module_buttonInner__fAwTd,.style-module_buttonText__S2kaD{align-items:center;display:flex;justify-content:center}.style-module_button__ITgol{border-radius:6px;cursor:pointer;font-weight:700;transition:background-color .3s,border-color .3s;width:auto}.style-module_button__ITgol[data-theme=marryBaby]{border-radius:16px}.style-module_button__ITgol .style-module_buttonIcon__cD-HM{align-items:center;display:flex}.style-module_button__ITgol .style-module_buttonIcon__cD-HM+.style-module_buttonText__S2kaD{margin-left:8px}.style-module_button__ITgol[data-size=lg]{font-size:16px;line-height:24px;padding:12px 24px}.style-module_button__ITgol[data-size=lg] .style-module_buttonIcon__cD-HM img,.style-module_button__ITgol[data-size=lg] .style-module_buttonIcon__cD-HM svg{max-height:24px}.style-module_button__ITgol[data-size=md]{font-size:14px;line-height:22px;padding:9px 24px}.style-module_button__ITgol[data-size=md] .style-module_buttonIcon__cD-HM img,.style-module_button__ITgol[data-size=md] .style-module_buttonIcon__cD-HM svg{max-height:22px}.style-module_button__ITgol[data-size=sm]{font-size:14px;font-weight:700;line-height:22px;padding:5px 24px}.style-module_button__ITgol[data-size=sm] .style-module_buttonIcon__cD-HM img,.style-module_button__ITgol[data-size=sm] .style-module_buttonIcon__cD-HM svg{max-height:22px}.style-module_button__ITgol[data-color=primary]{background-color:#2d87f3;border:1px solid #2d87f3;color:#fff}.style-module_button__ITgol[data-color=primary][data-has-icon=true] svg path{fill:#fff}.style-module_button__ITgol[data-color=primary][data-theme=marryBaby]{background-color:#e85388;border:2px solid #e85388}.style-module_button__ITgol[data-color=primary][data-theme=marryBaby][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#e85388}.style-module_button__ITgol[data-color=primary]:hover:not(:disabled)[data-is-loading=false]{background-color:#2c74df}.style-module_button__ITgol[data-color=primary]:hover:not(:disabled)[data-is-loading=false][data-theme=marryBaby]{background-color:#fff;border:2px solid #e85388;color:#e85388}.style-module_button__ITgol[data-color=primary]:not(:is([disabled],[data-is-loading=true])):active{background-color:#2b62cd}.style-module_button__ITgol[data-color=primary][data-theme=marryBaby]:not(:is([disabled],[data-is-loading=true])):active{background-color:#e85388}.style-module_button__ITgol[data-color=primary][data-is-loading=true][data-theme=marryBaby] .style-module_loaderPath__oAG2-{stroke:#fff}.style-module_button__ITgol[data-color=primary][data-is-loading=true][data-theme=marryBaby] .style-module_spinnerCircle__Y9fGC{stroke:transparent}.style-module_button__ITgol[data-color=secondary]{background-color:#fff;border:2px solid #2d87f3;color:#2d87f3}.style-module_button__ITgol[data-color=secondary][data-has-icon=true] svg path{fill:#2d87f3}.style-module_button__ITgol[data-color=secondary][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#fff}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby]{background-color:transparent;border-color:#e85388;color:#e85388}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby][data-has-icon=true] svg path{fill:#e85388}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#fff}.style-module_button__ITgol[data-color=secondary][data-size=md]{border-width:1.5px}.style-module_button__ITgol[data-color=secondary][data-size=sm]{border-width:1px;font-size:13px;line-height:20px}.style-module_button__ITgol[data-color=secondary]:hover[data-is-loading=false]{background-color:#2c74df;border-color:#2c74df;color:#fff}.style-module_button__ITgol[data-color=secondary]:hover[data-is-loading=false][data-theme=marryBaby]{background-color:#e85388;border-color:#e85388}.style-module_button__ITgol[data-color=secondary]:not(:is([disabled],[data-is-loading=true])):active{background-color:#2b62cd;border-color:#2b62cd;color:#fff}.style-module_button__ITgol[data-color=secondary][data-theme=marryBaby]:not(:is([disabled],[data-is-loading=true])):active{background-color:#e85388;border-color:#e85388}.style-module_button__ITgol[data-color=tertiary]{background-color:transparent;border:2px solid #bfbfbf;color:#262626}.style-module_button__ITgol[data-color=tertiary][data-size=md]{border-width:1.5px;font-weight:700}.style-module_button__ITgol[data-color=tertiary][data-size=sm]{border-width:1px;font-size:13px;line-height:20px}.style-module_button__ITgol[data-color=tertiary]:hover[data-is-loading=false][data-theme=marryBaby]{background-color:#e85388;color:#fff}.style-module_button__ITgol[data-color=tertiary][data-theme=marryBaby]{border-color:#e85388;color:#e85388}.style-module_button__ITgol[data-color=tertiary][data-theme=marryBaby][data-has-icon=true] svg path{fill:#e85388}.style-module_button__ITgol[data-color=tertiary][data-theme=marryBaby][data-has-icon=true]:hover[data-is-loading=false] svg path{fill:#fff}.style-module_button__ITgol[data-color=tertiary][data-is-loading=true][data-theme=marryBaby] .style-module_loaderPath__oAG2-{stroke:#e85388}.style-module_button__ITgol[data-color=ghost]{background-color:transparent;border:0;color:#2d87f3}.style-module_button__ITgol[data-color=ghost][data-size=sm]{font-size:12px;line-height:18px;padding:5px 12px}.style-module_button__ITgol[data-color=ghost]:disabled{background-color:transparent;border-color:0;color:#bfbfbf;cursor:not-allowed}.style-module_button__ITgol[data-color=transparent]{background-color:transparent;border:none}.style-module_button__ITgol[data-color=transparent][data-size=lg]{font-size:16px;line-height:24px;padding:0}.style-module_button__ITgol[data-color=transparent][data-size=md]{font-size:14px;line-height:24px;padding:0}.style-module_button__ITgol[data-color=transparent][data-size=sm]{font-size:13px;line-height:20px;padding:0}.style-module_button__ITgol[data-color=danger]{background-color:#f44d2c;border:2px solid #f44d2c;color:#fff}.style-module_button__ITgol[data-color=danger][data-size=md]{border-width:1.5px}.style-module_button__ITgol[data-color=danger][data-size=sm]{border-width:1px;font-size:13px;line-height:20px}.style-module_button__ITgol[data-color=danger]:hover[data-is-loading=false]{background-color:#feaa96;border-color:#feaa96;color:#fff}.style-module_button__ITgol[data-color=danger][data-has-icon=true] svg path{fill:#fff}.style-module_button__ITgol[data-color=danger][data-is-loading=true] .style-module_loaderPath__oAG2-{stroke:#fff}.style-module_button__ITgol[data-color=danger][data-is-loading=true] .style-module_spinnerCircle__Y9fGC{stroke:transparent}.style-module_button__ITgol[data-color=success]{background-color:#e0f8ee;color:#008c50}.style-module_button__ITgol[data-color=success][data-has-icon=true] svg path{fill:#008c50}.style-module_button__ITgol[data-color=success][data-theme=marryBaby]{color:#5ec08f}.style-module_button__ITgol[data-color=success][data-theme=marryBaby][data-has-icon=true] svg path{fill:#5ec08f}.style-module_button__ITgol[data-color=success][data-is-loading=true] .style-module_loaderPath__oAG2-{stroke:#008c50}.style-module_button__ITgol[data-color=success][data-is-loading=true] .style-module_spinnerCircle__Y9fGC{stroke:transparent}.style-module_button__ITgol[data-color=success][data-is-loading=true][data-theme=marryBaby] .style-module_loaderPath__oAG2-{stroke:#5ec08f}.style-module_button__ITgol:disabled,.style-module_button__ITgol[data-theme=marryBaby]:disabled{background-color:#bfbfbf;border-color:#bfbfbf;color:#fff;cursor:not-allowed}.style-module_button__ITgol[data-block=true]{padding:12px auto;width:100%}.style-module_button__ITgol[data-event-category]>*{pointer-events:none}.style-module_button__ITgol:focus-visible{outline:2px solid #000}
|
|
6
6
|
.style-module_flag__pfaLG,.style-module_flag__pfaLG img,.style-module_flag__pfaLG svg{height:calc(var(--height)*1px);width:calc(var(--width)*1px)}.style-module_flag__pfaLG img{-o-object-fit:contain;object-fit:contain}
|
|
7
7
|
.style-module_heading__xzO2I{color:var(--custom-heading-color,#262626);font-weight:700}.style-module_heading__xzO2I[data-tag=h1]{font-size:26px;letter-spacing:-.9px;line-height:34px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h1]{font-size:40px;letter-spacing:-1.2px;line-height:52px}}.style-module_heading__xzO2I[data-tag=h2]{font-size:24px;letter-spacing:-.8px;line-height:32px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h2]{font-size:32px;letter-spacing:-1px;line-height:42px}}.style-module_heading__xzO2I[data-tag=h3]{font-size:20px;letter-spacing:-.7px;line-height:26px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h3]{font-size:26px;letter-spacing:-.8px;line-height:36px}}.style-module_heading__xzO2I[data-tag=h4]{font-size:18px;letter-spacing:-.6px;line-height:26px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h4]{font-size:22px;line-height:32px}}.style-module_heading__xzO2I[data-tag=h5]{font-size:16px;letter-spacing:-.2px;line-height:24px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h5]{font-size:18px;line-height:28px}}.style-module_heading__xzO2I[data-tag=h6]{font-size:14px;letter-spacing:-.2px;line-height:22px}@media (min-width:1024px){.style-module_heading__xzO2I[data-tag=h6]{font-size:16px;letter-spacing:0;line-height:24px}}.style-module_heading__xzO2I[data-font-weight=bold]{font-weight:700}.style-module_heading__xzO2I[data-font-weight=semibold]{font-weight:600}
|
|
8
|
+
.style-module_label__DjBFA[data-size=label1]{font-size:14px;line-height:22px}.style-module_label__DjBFA[data-size=label2]{font-size:13px;line-height:19px}
|
|
8
9
|
.style-module_container__d76E4{margin:0 auto;width:100%}@media (max-width:767px){.style-module_container__d76E4{padding:0 16px}}@media (min-width:1024px){.style-module_container__d76E4{max-width:1170px}.style-module_container__d76E4[data-type=marryBaby]{max-width:1064px}}
|
|
9
10
|
.style-module_expertName__PiqKa{color:#595959;font-size:14px;font-weight:700;line-height:22px}.style-module_anchor__HgbW6{color:inherit;display:inline-block;height:100%;text-decoration:none;width:100%}.style-module_anchor__HgbW6 *{pointer-events:none}.style-module_card__6lkfL{background-color:#fff;box-sizing:border-box;cursor:pointer;display:flex;padding:16px 16px 16px 0;width:100%}.style-module_card__6lkfL [data-event-category]>*{pointer-events:none}.style-module_card__6lkfL .content{display:flex;flex-direction:column;width:100%}.style-module_card__6lkfL .content .inner-content{display:flex;flex-direction:column}.style-module_card__6lkfL .content .inner-content p{align-items:center;display:flex}.style-module_card__6lkfL .content .inner-content a{text-decoration:none}.style-module_card__6lkfL .content .inner-content .bookmark{height:18px;width:18px}.style-module_card__6lkfL .content .inner-content .title a{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;margin-top:2px;overflow:hidden}.style-module_card__6lkfL .content .inner-content .text{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;margin-top:4px;max-width:100%;overflow:hidden}.style-module_card__6lkfL .footer{display:flex}.style-module_card__6lkfL .footer .author{width:calc(100% - 20px)}.style-module_card__6lkfL .footer .bookmark{cursor:pointer;display:flex;height:16px;margin-left:8px;width:12px}.style-module_card__6lkfL .footer .bookmark svg{height:100%;width:100%}.style-module_card__6lkfL .banner{border-radius:6px;height:100%;max-height:100%;max-width:100px;max-width:100%;min-width:100px;position:relative}.style-module_card__6lkfL .banner img{border-radius:6px;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;pointer-events:none;width:100%}.style-module_card__6lkfL .banner .premium{height:28px;left:6px;position:absolute;top:6px;width:28px}.style-module_card__6lkfL .shoppable{bottom:4px;left:6px;position:absolute}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal]{padding:20px 0}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .label{margin-bottom:0}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .banner{height:100px;margin:0 16px 0 0;width:100px}@media (max-width:767px){.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .banner{height:100px;margin:0 16px 0 0;max-width:100px;min-width:100px}}.style-module_card__6lkfL[data-size=sm][data-direction=horizontal] .text{display:none}.style-module_card__6lkfL[data-direction=horizontal] .footer{margin-top:auto}.style-module_card__6lkfL[data-size=md][data-direction=horizontal]{padding:16px 0}.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .banner{height:150px;margin:0 24px 0 0;max-width:200px;min-width:200px}@media (max-width:767px){.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .text{display:none}.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .banner{height:100px;margin:0 16px 0 0;max-width:100px;min-width:100px}.style-module_card__6lkfL[data-size=md][data-direction=horizontal] .specialty{display:none}}.style-module_card__6lkfL[data-direction=vertical]{flex-direction:column;padding:0}.style-module_card__6lkfL[data-direction=vertical] .label{display:flex;margin-top:16px}.style-module_card__6lkfL[data-direction=vertical][data-size=sm] .banner{height:150px}.style-module_card__6lkfL[data-direction=vertical][data-size=sm] .text{display:none}.style-module_card__6lkfL[data-direction=vertical][data-size=sm] .title{margin-bottom:12px;margin-top:0}.style-module_card__6lkfL[data-direction=vertical][data-size=lg] .banner{max-height:312px}@media (max-width:767px){.style-module_card__6lkfL[data-direction=vertical][data-size=lg] .banner{max-height:192px}}.style-module_card__6lkfL[data-direction=vertical][data-size=lg] .text{-webkit-box-orient:vertical;-webkit-line-clamp:3;display:-webkit-box;margin-bottom:16px;margin-top:8px;word-break:break-word}.style-module_card__6lkfL[data-direction=vertical] .banner{height:468px;margin:0;min-width:100%}.style-module_card__6lkfL[data-is-expert] .inner-content label.text{display:none}.style-module_card__6lkfL[data-is-expert] .specialty>[data-tag=h6]{font-size:13px;font-weight:400;line-height:19px}.style-module_card__6lkfL[data-is-expert][data-size=md] .footer .author .avatar{margin-right:8px}@media (min-width:1024px){.style-module_card__6lkfL[data-is-expert][data-size=md] .footer .author .avatar{height:40px;margin-right:16px;width:40px}}.style-module_card__6lkfL[data-is-expert] .title{margin-bottom:16px}@media (max-width:767px){.style-module_card__6lkfL[data-is-expert] .title{margin-bottom:8px}}.style-module_card__6lkfL[data-is-expert][data-direction=horizontal] .footer{margin-top:auto}.style-module_author__j7c-o{flex-direction:row;justify-content:space-between;margin-top:8px;width:100%}.style-module_author__j7c-o,.style-module_author__j7c-o .author{align-items:center;display:flex}.style-module_author__j7c-o .author .avatar,.style-module_author__j7c-o .author .expert-avatar{flex-shrink:0}.style-module_author__j7c-o .author .avatar img,.style-module_author__j7c-o .author .expert-avatar img{border-radius:50%;height:100%;width:100%}.style-module_author__j7c-o .author .name{font-weight:600}.style-module_author__j7c-o .author .poster{align-items:center;display:flex;white-space:pre-wrap}.style-module_author__j7c-o .author .poster[data-is-disabled-url=true]{cursor:default}.style-module_author__j7c-o .author .poster[data-is-disabled-url=true] a{pointer-events:none}.style-module_author__j7c-o .author .poster p{-webkit-box-orient:vertical;-webkit-line-clamp:3;display:-webkit-box;font-weight:400;overflow:hidden}.style-module_author__j7c-o .author .poster p a{color:#262626;text-decoration:none}.style-module_author__j7c-o .author .poster p span:not(.name){color:#8c8c8c}.style-module_author__j7c-o .author .expert{align-items:flex-start;display:flex;flex-direction:column;justify-content:center}.style-module_author__j7c-o .author .expert a{text-decoration:none}.style-module_author__j7c-o .author .expert[data-is-disabled-url=true]{cursor:default}.style-module_author__j7c-o .author .expert[data-is-disabled-url=true] a{pointer-events:none}.style-module_author__j7c-o .author .avatar{height:24px;margin-right:8px;width:24px}@media (max-width:767px){.style-module_author__j7c-o .author .avatar{margin-right:4px}}@media (min-width:1024px){.style-module_author__j7c-o .author .avatar[data-size=lg]{height:32px;margin-right:12px;width:32px}}@media (min-width:768px){.style-module_author__j7c-o .author .expert-avatar{height:40px;margin-right:16px;width:40px}}@media (max-width:767px){.style-module_author__j7c-o .author .expert-avatar{height:32px;margin-right:8px;width:32px}}@media (min-width:768px){.style-module_author__j7c-o .author .expert-avatar[data-size=lg]{height:64px;margin-right:16px;width:64px}}@media (max-width:767px){.style-module_author__j7c-o .author .expert-avatar[data-size=lg]{height:40px;margin-right:16px;width:40px}}
|
|
10
11
|
.style-module_breadcrumb__lKjhv{display:flex;position:relative}.style-module_breadcrumb__lKjhv>.collapsed-breadcrumb{border:none}.style-module_breadcrumb__lKjhv>.collapsed-breadcrumb>div{padding:0}.style-module_breadcrumb__lKjhv>.collapsed-breadcrumb>ul{min-width:-moz-max-content;min-width:max-content}.style-module_breadcrumb__lKjhv[data-size=lg]{font-size:16px;font-weight:700;line-height:24px}.style-module_breadcrumb__lKjhv[data-size=md]{font-size:14px;font-weight:400;line-height:22px}.style-module_breadcrumb__lKjhv[data-size=sm]{font-size:13px;font-weight:400;line-height:20px}.style-module_separator__HGYlQ{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 4 4-4 4' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain}.style-module_separator__HGYlQ,.style-module_separator__HGYlQ[data-size=lg]{margin-left:8px;margin-right:8px;width:6px}.style-module_separator__HGYlQ[data-size=md]{margin-left:7px;margin-right:7px;width:5px}.style-module_separator__HGYlQ[data-size=sm]{margin-left:6px;margin-right:6px;width:4px}.style-module_textLink__AyUUQ{max-width:12em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-module_textLink__AyUUQ>a{color:#262626;cursor:pointer;text-decoration:none}.style-module_textLink__AyUUQ[data-last=true]>a{color:#737373}.style-module_textLink__AyUUQ>a:focus,.style-module_textLink__AyUUQ>a:hover{color:#2c74df;outline:none}.style-module_textLink__AyUUQ>a:focus .arrowLeft,.style-module_textLink__AyUUQ>a:focus .arrowRight,.style-module_textLink__AyUUQ>a:hover .arrowLeft,.style-module_textLink__AyUUQ>a:hover .arrowRight{stroke:#2b62cd}.style-module_textLink__AyUUQ>a:active{color:#2b62cd}.style-module_textLink__AyUUQ[data-disabled]>a{color:#bfbfbf;cursor:not-allowed}
|
package/build/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-b2f17739.js"),t=require("./index-c033f192.js"),r=require("./index-50f5310f.js"),o=require("./index-d8f086cd.js"),a=require("./index-5f4ecdc3.js"),i=require("./index-5b845e0d.js"),s=require("./index-7925ecc3.js"),n=require("./index.styled-9500d47d.js"),l=require("./index-40189f60.js"),p=require("./index.styled-f313e476.js"),C=require("./index-4242a7c6.js"),d=require("./index.styled-c1d4dd55.js"),u=require("./index-ac80f5e2.js"),x=require("./index.styled-45bd3d48.js"),c=require("./index-f5b9ec83.js"),m=require("./index-55994b6a.js"),g=require("./index-6dae9bd8.js"),h=require("./footer.js"),L=require("./useTranslations-7bad81fe.js"),f=require("./useScrollbarSize-6903bc14.js"),w=require("./useFbDataLayer-322b993a.js"),v=require("./useHealthToolCache-e74017bb.js"),P=require("./translationsProvider-d485c815.js"),b=require("./translationsContext-f8ba76fb.js"),E=require("./types-6e652da3.js"),M=require("./types-724eca15.js"),T=require("./constants-2c9edca1.js"),q=require("./localizeNumberFormat-dc80e57a.js"),S=require("./screenSizeContext-9a3675b8.js"),B=require("./cookieHelper-6c770fb3.js"),D=require("./lazyLoad-48cd5231.js"),y=require("react");require("styled-components");var j=require("./theme-0a393e1f.js"),k=require("./dataTransform-cc953c39.js"),I=require("./routing-bb00cbe4.js"),R=require("./utils-2c039364.js"),_=require("./getDynamicHealthTool-30b6973e.js"),A=require("./getSocialList-e13265d5.js"),Z=require("./Vietnam-f9a68f31.js"),H=require("./tslib.es6-7db96a99.js"),N=require("./en-PH-1d38ff6a.js");function F(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./Locale-a2e480e5.js"),require("./isProduction-53d40fc4.js"),require("./gAssets.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./index-48f5f62c.js"),require("@mantine/core"),require("@mantine/hooks"),require("date-fns"),require("./types-4839d64b.js"),require("react-hook-form"),require("@hookform/resolvers/yup"),require("react-range"),require("react-day-picker/DayPickerInput"),require("./defaultClassWrapper-65e6f2d7.js"),require("./useOutsideClick-9c36d450.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("@mantine/dates"),require("slugify"),require("string-format"),require("./core-4732542b.js"),require("dayjs/plugin/relativeTime"),require("lodash/debounce"),require("./index-97f09108.js"),require("react-dom"),require("./index-cdf731ff.js"),require("@mantine/carousel"),require("innertext"),require("react-contenteditable"),require("react-loading-skeleton"),require("lodash/shuffle"),require("vanilla-lazyload");var G=F(y);exports.Types=e.index,exports.Constants=t.index,exports.Alert=r.Alert,exports.AmpNextPage=r.AmpNextPage,exports.ArticleCard=r.ArticleCard,exports.BMICardEmbed=r.BMICardEmbed,exports.BMRCardEmbed=r.BMRCardEmbed,exports.BabyGrowthCardEmbed=r.BabyGrowthCardEmbed,exports.BabyPoopEmbed=r.BabyPoopEmbed,exports.Badge=r.Badge,exports.BorderHeading=r.BorderHeading,exports.Breadcrumbs=r.Breadcrumbs,exports.Carousel=r.Carousel,exports.CategoryCard=r.CategoryCard,exports.CheckboxGroup=r.CheckboxGroup,exports.CookieAcceptConfirm=r.CookieAcceptConfirm,exports.DatePicker=r.DatePicker,exports.DateRangePicker=r.DateRangePicker,exports.DoctorInfo=r.DoctorInfo,exports.DueDateCardEmbed=r.DueDateCardEmbed,exports.FileDropdown=r.FileDropdown,exports.FloatButtonGroup=r.FloatButtonGroup,exports.Grid=r.Grid,exports.IconText=r.IconText,exports.Immunization=r.Immunization,exports.MobileBottomNavigation=r.MobileBottomNavigation,exports.MobileBottomNavigationIcon=r.MobileBottomNavigationIcon,exports.OvulationCardEmbed=r.OvulationCardEmbed,exports.PWGCardEmbed=r.PWGCardEmbed,exports.Pagination=r.Pagination,exports.Progress=r.Progress,exports.ProgressBar=r.ProgressBar,exports.Radio=r.Radio,exports.RadioGroup=r.RadioGroup,exports.RateStars=r.RateStars,exports.RecordsByAgeGroup=r.RecordsByAgeGroup,exports.ScrollList=r.ScrollList,exports.SeoHead=r.SeoHead,exports.Shadow=r.Shadow,exports.ShareContainer=r.ShareContainer,exports.ShareDrawer=r.ShareDrawer,exports.SideMenu=r.index,exports.Slider=r.Slider,exports.StatisticCard=r.StatisticCard,exports.SurveyQuestionCard=r.SurveyQuestionCard,exports.SurveyThankyouCard=r.SurveyThankyouCard,exports.THRCardEmbed=r.THRCardEmbed,exports.Table=r.index$1,exports.Tabs=r.Tabs,exports.Tag=r.Tag,exports.TimelineBanner=r.TimelineBanner,exports.Toggle=r.Toggle,exports.ToolsBannerCard=r.ToolsBannerCard,exports.UnderlinedLink=r.UnderlinedLink,exports.Uploader=r.Uploader,exports.VaccineCard=r.VaccineCard,exports.VaccineDetailPopup=r.VaccineDetailPopup,exports.Avatar=o.Avatar,exports.DefaultComponentGlobalContextData=o.DefaultComponentGlobalContextData,Object.defineProperty(exports,"GlobalData",{enumerable:!0,get:function(){return o.GlobalData}}),exports.Popup=o.Popup,exports.TogetherComponentGlobalContext=o.TogetherComponentGlobalContext,exports.TogetherComponentGlobalContextProvider=o.TogetherComponentGlobalContextProvider,exports.TogetherConstants=o.constants,exports.TogetherDataTransforms=o.dataTransform,exports.UserAvatar=o.UserAvatar,exports.Button=a.Button,exports.AuthorBadge=i.AuthorBadge,exports.Checkbox=i.Checkbox,exports.Divider=i.Divider,exports.Dropdown=i.Dropdown,exports.Flag=s.Flag,exports.LanguageSwitcher=s.LanguageSwitcher,exports.NavigationLogoutPopup=s.NavigationLogoutPopup,exports.NavigationProfileButton=s.NavigationProfileButton,exports.NavigationV2=s.NavigationV2,exports.ProfilePopup=s.ProfilePopup,exports.UserProfileNavigation=s.UserProfileNavigation,exports.UserProfileNavigationHeader=s.NavHeader,exports.UserProfileNavigationStats=s.UserStats,exports.getNavMenuContent=s.getNavMenuContent,exports.getNavMenuContentWithCache=s.getNavMenuContentWithCache,exports.Heading=n.Heading,exports.Input=l.Input,exports.Label=p.Label,exports.Logo=C.Logo,exports.Menu=d.Menu,exports.PureInput=d.PureInput,exports.TextArea=d.TextArea,exports.TextDivider=d.TextDivider,exports.Text=u.Text,exports.Container=x.Container,exports.Drawer=c.Drawer,exports.Icon=c.Icon,exports.Modal=c.Modal,exports.NewBabyProfileRadio=c.NewBabyProfileRadio,exports.RadioImageGroup=c.RadioImageGroup,exports.CustomReferenceDot=m.CustomReferenceDot,exports.PillCarousel=g.PillCarousel,exports.Footer=h.Footer,exports.useTranslations=L.useTranslations,exports.MEASURE_ELEMENT_CLASS=f.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=f.useScrollbarSize,exports.useFbDataLayer=w.useFbDataLayer,exports.useHealthToolsCache=v.useHealthToolsCache,exports.TranslationsProvider=P.TranslationsProvider,exports.translationsMap=P.translationsMap,exports.TranslationsContext=b.TranslationsContext,exports.CardAuthor=E.CardAuthor,exports.CardLink=E.CardLink,exports.CardPost=E.CardPost,exports.CardPostPopoverMore=E.CardPostPopoverMore,exports.CardReactions=E.CardReactions,exports.CardReply=E.CardReply,exports.CardReplyPopover=E.CardReplyPopover,exports.CreateNewPostContent=E.CreateNewPostContent,exports.CreatePostDescription=E.CreatePostDescription,exports.CreatePostTitle=E.CreatePostTitle,exports.ImagePreviewPopup=E.ImagePreviewPopup,exports.InputCommentBar=E.InputCommentBar,exports.LabelPin=E.LabelPin,exports.LabelSortPin=E.LabelSortPin,exports.LabelSorting=E.LabelSorting,exports.Loading=E.Loading,exports.PopoverMenu=E.PopoverMenu,exports.PopupDanger=E.PopupDanger,exports.PopupDoctor=E.PopupDoctor,exports.PopupExpert=E.PopupExpert,exports.PopupFrame=E.PopupFrame,exports.PopupHospital=E.PopupHospital,exports.PostContent=E.PostContent,exports.PostImagePreview=E.PostImagePreview,exports.PostSingleImageViewPopup=E.PostSingleImageViewPopup,exports.ShareBox=E.ShareBox,exports.SharePopup=E.SharePopup,exports.SocialLinkPreview=E.SocialLinkPreview,exports.SubmitReportForm=E.SubmitReportForm,exports.TagTopic=E.TagTopic,exports.TogetherAuthConfigContext=E.TogetherAuthConfigContext,exports.TogetherAuthConfigContextProvider=E.TogetherAuthConfigContextProvider,exports.TogetherTypes=E.types,exports.TopicSelectList=E.TopicSelectList,exports.useTogetherAuthRequiredAction=E.useTogetherAuthRequiredAction,exports.BookingSearchBar=M.BookingSearchBar,exports.CareTypes=M.types,exports.CareConstants=T.constants,exports.ageGenerate=q.ageGenerate,exports.convertLocalizedStringToNumber=q.convertLocalizedStringToNumber,exports.localizeNumberFormat=q.localizeNumberFormat,exports.ScreenSizeContext=S.ScreenSizeContext,exports.ScreenSizeContextProvider=S.ScreenSizeContextProvider,exports.fadeIn=S.fadeIn,exports.getWindowSizeGroups=S.getWindowSizeGroups,exports.slideInDown=S.slideInDown,exports.slideInLeft=S.slideInLeft,exports.slideInRight=S.slideInRight,exports.slideInUp=S.slideInUp,exports.slideOutDown=S.slideOutDown,exports.slideOutLeft=S.slideOutLeft,exports.slideOutRight=S.slideOutRight,exports.slideOutUp=S.slideOutUp,exports.deleteCookie=B.deleteCookie,exports.getCookie=B.getCookie,exports.setCookie=B.setCookie,Object.defineProperty(exports,"lazyLoadInstance",{enumerable:!0,get:function(){return D.lazyLoadInstance}}),exports.theme=j.theme,exports.abbreviateNumber=k.abbreviateNumber,exports.formatPill=k.formatPill,exports.getCareApiDomain=I.getCareApiDomain,exports.getCurrentBaseUrl=I.getCurrentBaseUrl,exports.getCurrentSsoUrl=I.getCurrentSsoUrl,exports.getDiscoverApiDomain=I.getDiscoverApiDomain,exports.getTogetherApiDomain=I.getTogetherApiDomain,exports.Breakpoints=R.Breakpoints,exports.MediaQueries=R.MediaQueries,exports.formatUrlWithPageParam=R.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=R.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=R.getPopupWrapperDom,exports.getWrapperDomWithSelector=R.getWrapperDomWithSelector,exports.makeParams=R.makeParams,exports.safeEncodeURI=R.safeEncodeURI,exports.startCase=R.startCase,exports.toggleNoScroll=R.toggleNoScroll,exports.formatHealthTool=_.formatHealthTool,exports.getDynamicHealthTool=_.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=_.getDynamicHealthToolWithCache,exports.getSocialList=A.getSocialList,exports.Cambodia=Z.Cambodia,exports.CaretDown=Z.CaretDown,exports.India=Z.India,exports.Indonesia=Z.Indonesia,exports.Malaysia=Z.Malaysia,exports.Myanmar=Z.Myanmar,exports.Phillipines=Z.Phillipines,exports.Taiwan=Z.Taiwan,exports.Thailand=Z.Thailand,exports.Vietnam=Z.Vietnam,exports.defaultTranslations=N.defaultTranslations,exports.CheckCircle=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66797 9.99984C1.66797 5.39984 5.4013 1.6665 10.0013 1.6665C14.6013 1.6665 18.3346 5.39984 18.3346 9.99984C18.3346 14.5998 14.6013 18.3332 10.0013 18.3332C5.4013 18.3332 1.66797 14.5998 1.66797 9.99984ZM4.75147 10.5828L7.74314 13.5745C8.06814 13.8995 8.60147 13.8995 8.91814 13.5745L15.2431 7.24948C15.5681 6.92448 15.5681 6.39948 15.2431 6.07448C14.9181 5.74948 14.3931 5.74948 14.0681 6.07448L8.3348 11.8078L5.92647 9.40781C5.60147 9.08281 5.07647 9.08281 4.75147 9.40781C4.59543 9.56351 4.50773 9.77488 4.50773 9.99531C4.50773 10.2157 4.59543 10.4271 4.75147 10.5828Z"}),G.createElement("path",{d:"M7.74322 13.5772L4.75155 10.5856C4.59551 10.4299 4.50781 10.2185 4.50781 9.99808C4.50781 9.77765 4.59551 9.56627 4.75155 9.41058C5.07655 9.08558 5.60155 9.08558 5.92655 9.41058L8.33488 11.8106L14.0682 6.07725C14.3932 5.75225 14.9182 5.75225 15.2432 6.07725C15.5682 6.40225 15.5682 6.92725 15.2432 7.25225L8.91822 13.5772C8.60155 13.9022 8.06822 13.9022 7.74322 13.5772Z",fill:"white"}))},exports.ChevronDown=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"}))},exports.ChevronLeft=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M10.929 12.0002L14.75 8.17915C15.164 7.76515 15.164 7.09315 14.75 6.67915C14.336 6.26515 13.664 6.26515 13.25 6.67915L8.63605 11.2932C8.24505 11.6842 8.24505 12.3172 8.63605 12.7072L13.25 17.3212C13.664 17.7352 14.336 17.7352 14.75 17.3212C15.164 16.9072 15.164 16.2352 14.75 15.8212L10.929 12.0002Z"}))},exports.ChevronRight=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M14.071 12.0002L10.25 8.17915C9.83598 7.76515 9.83598 7.09315 10.25 6.67915C10.664 6.26515 11.336 6.26515 11.75 6.67915L16.364 11.2932C16.755 11.6842 16.755 12.3172 16.364 12.7072L11.75 17.3212C11.336 17.7352 10.664 17.7352 10.25 17.3212C9.83598 16.9072 9.83598 16.2352 10.25 15.8212L14.071 12.0002Z"}))},exports.ChevronUp=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M7.80267 6.61943L10.35 9.16676C10.626 9.44276 11.074 9.44276 11.35 9.16676C11.626 8.89076 11.626 8.44276 11.35 8.16676L8.27401 5.09076C8.01334 4.8301 7.59134 4.8301 7.33134 5.09076L4.25534 8.16676C3.97934 8.44276 3.97934 8.89076 4.25534 9.16676C4.53134 9.44276 4.97934 9.44276 5.25534 9.16676L7.80267 6.61943Z"}))},exports.Circle=function(e){return G.createElement("svg",H.__assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),G.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5}))},exports.Close=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"}))},exports.EmailCheck=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),G.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),G.createElement("path",{d:"M66.03 20.0896L66.0298 20.0896L54.445 17.1371L33.1143 11.7035H33.1064L33.0912 11.6997L27.0869 10.1654L66.03 20.0896ZM66.03 20.0896C66.408 20.1854 66.7633 20.3548 67.0757 20.5882C67.3881 20.8215 67.6514 21.1141 67.8506 21.4493C68.0498 21.7845 68.1809 22.1557 68.2364 22.5417C68.2919 22.9276 68.2708 23.3207 68.1742 23.6985L68.1742 23.6986M66.03 20.0896L68.1742 23.6986M68.1742 23.6986L66.3914 30.6842L66.5125 30.7151M68.1742 23.6986L66.5125 30.7151M66.5125 30.7151L66.3914 30.6842L63.9545 40.241L37.7595 53.4735L16.9721 37.5413M66.5125 30.7151L16.9721 37.5413M16.9721 37.5413L17.075 37.4096L17.0911 37.3889L17.0976 37.3634L21.0735 21.7341L21.0805 21.7254L21.0871 21.6992L23.477 12.3089C23.6715 11.546 24.1611 10.8916 24.838 10.4896C25.515 10.0876 26.3239 9.97102 27.0868 10.1654L16.9721 37.5413Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.25}),G.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),G.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),G.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),G.createElement("path",{d:"M40.797 39.6731C46.1394 41.0733 51.6054 37.8775 53.0056 32.5351C54.4058 27.1927 51.21 21.7268 45.8676 20.3266C40.5252 18.9263 35.0592 22.1221 33.659 27.4645C32.2588 32.8069 35.4546 38.2729 40.797 39.6731Z",fill:"#00CB8A"}),G.createElement("path",{d:"M42.0398 32.9697C41.6263 32.862 41.238 32.6738 40.8973 32.4158C40.5566 32.1578 40.2701 31.8352 40.0542 31.4663L39.2137 30.0279C39.1039 29.8324 39.0753 29.6016 39.134 29.3852C39.1927 29.1689 39.3341 28.9842 39.5277 28.871C39.7212 28.7579 39.9515 28.7252 40.1689 28.7802C40.3862 28.8352 40.5733 28.9733 40.6898 29.1649L41.5304 30.6033C41.6319 30.7769 41.7666 30.9289 41.9269 31.0504C42.0871 31.172 42.2698 31.2608 42.4643 31.3118C42.6589 31.3628 42.8616 31.375 43.0609 31.3477C43.2602 31.3203 43.4522 31.254 43.6258 31.1525L52.5607 26.5173C52.7613 26.4192 52.9924 26.4034 53.2045 26.4734C53.4166 26.5435 53.5929 26.6937 53.6956 26.892C53.7984 27.0903 53.8195 27.3209 53.7544 27.5346C53.6893 27.7483 53.5432 27.928 53.3473 28.0353L44.4483 32.6486C44.0877 32.8581 43.6894 32.9943 43.2761 33.0494C42.8628 33.1045 42.4427 33.0774 42.0398 32.9697Z",fill:"white"}))},exports.EmailFail=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),G.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),G.createElement("path",{d:"M65.9578 20.3722L65.9583 20.3723C66.2991 20.4587 66.6195 20.6115 66.9012 20.8218C67.1829 21.0322 67.4203 21.2961 67.5999 21.5983C67.7794 21.9005 67.8976 22.2352 67.9477 22.5832C67.9978 22.9312 67.9787 23.2856 67.8916 23.6262L67.8916 23.6264L66.1088 30.612L66.1088 30.6121L63.7046 40.0405L37.7915 53.1306L17.3693 37.4783L17.3803 37.4353L21.3406 21.8671L21.3476 21.8584L21.3698 21.7712L23.7596 12.381C23.7596 12.3809 23.7597 12.3809 23.7597 12.3808C23.9351 11.6929 24.3765 11.1028 24.9869 10.7404C25.5974 10.3779 26.3269 10.2727 27.0149 10.4481L33.019 11.9822L33.0697 11.9952H33.0777L54.3729 17.4197L54.373 17.4197L65.9578 20.3722Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.833333}),G.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),G.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),G.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),G.createElement("path",{d:"M36.2349 37.7184C40.4975 41.2301 46.7998 40.6212 50.3115 36.3586C53.8231 32.0959 53.2143 25.7936 48.9516 22.282C44.689 18.7703 38.3867 19.3792 34.875 23.6418C31.3634 27.9045 31.9722 34.2068 36.2349 37.7184Z",fill:"#FF5331"}),G.createElement("g",{clipPath:"url(#clip0_1176_26159)"},G.createElement("path",{d:"M48.4022 27.8621C48.317 27.6306 48.1433 27.4425 47.9195 27.3391C47.6956 27.2357 47.4398 27.2254 47.2084 27.3105L43.1437 28.8064L41.6479 24.7418C41.5597 24.5144 41.3858 24.3308 41.1635 24.2304C40.9413 24.1301 40.6885 24.1211 40.4596 24.2053C40.2308 24.2895 40.0442 24.4602 39.94 24.6807C39.8358 24.9012 39.8224 25.1538 39.9026 25.3841L41.3984 29.4487L37.3338 30.9445C37.2172 30.9851 37.1098 31.0486 37.018 31.1312C36.9262 31.2137 36.8517 31.3137 36.7989 31.4254C36.7462 31.537 36.7162 31.6581 36.7107 31.7815C36.7052 31.9048 36.7243 32.0281 36.767 32.144C36.8096 32.2598 36.8749 32.3661 36.9591 32.4565C37.0432 32.5469 37.1445 32.6196 37.2571 32.6704C37.3697 32.7212 37.4912 32.7491 37.6146 32.7524C37.7381 32.7558 37.861 32.7345 37.9761 32.6898L42.0407 31.194L43.5366 35.2586C43.6247 35.486 43.7987 35.6696 44.021 35.7699C44.2432 35.8703 44.496 35.8793 44.7248 35.7951C44.9537 35.7109 45.1403 35.5401 45.2445 35.3197C45.3487 35.0992 45.3621 34.8466 45.2819 34.6163L43.7861 30.5517L47.8507 29.0559C48.0821 28.9707 48.2702 28.797 48.3736 28.5732C48.477 28.3493 48.4873 28.0935 48.4022 27.8621Z",fill:"white"})),G.createElement("defs",null,G.createElement("clipPath",{id:"clip0_1176_26159"},G.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"}))))},exports.Facebook=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M14 0H3C1.61929 0 0.5 1.11929 0.5 2.5V13.5C0.5 14.8807 1.61929 16 3 16H14C15.3807 16 16.5 14.8807 16.5 13.5V2.5C16.5 1.11929 15.3807 0 14 0Z",fill:"#1778F2"}),G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.657 16V9.7495H12.2845L12.5 7.595H10.657L10.66 6.517C10.66 5.9555 10.71 5.6545 11.4715 5.6545H12.4885V3.5H10.861C8.906 3.5 8.2185 4.545 8.2185 6.302V7.5955H7V9.7495H8.2185V16H10.657Z",fill:"white"}))},exports.Google=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M14.6819 8.15547C14.6819 7.57992 14.6353 7.15992 14.5345 6.72437H7.98047V9.32212H11.8275C11.75 9.96769 11.3312 10.9399 10.4004 11.5932L10.3874 11.6802L12.4596 13.29L12.6032 13.3044C13.9217 12.0832 14.6819 10.2866 14.6819 8.15547Z",fill:"#4285F4"}),G.createElement("path",{d:"M7.98042 15.0001C9.86516 15.0001 11.4474 14.3778 12.6031 13.3045L10.4003 11.5934C9.81089 12.0056 9.01973 12.2934 7.98042 12.2934C6.13445 12.2934 4.5677 11.0723 4.0092 9.38452L3.92733 9.39149L1.77256 11.0637L1.74438 11.1423C2.8923 13.4289 5.2502 15.0001 7.98042 15.0001Z",fill:"#34A853"}),G.createElement("path",{d:"M4.00915 9.38424C3.86178 8.94869 3.7765 8.48199 3.7765 7.99979C3.7765 7.51754 3.86178 7.05089 4.00139 6.61534L3.99749 6.52258L1.81572 4.82349L1.74434 4.85753C1.27123 5.80644 0.999756 6.87201 0.999756 7.99979C0.999756 9.12757 1.27123 10.1931 1.74434 11.142L4.00915 9.38424Z",fill:"#FBBC05"}),G.createElement("path",{d:"M7.98042 3.70665C9.2912 3.70665 10.1754 4.27443 10.6796 4.7489L12.6497 2.82C11.4397 1.69223 9.86516 1 7.98042 1C5.2502 1 2.8923 2.5711 1.74438 4.85775L4.00144 6.61556C4.5677 4.92778 6.13445 3.70665 7.98042 3.70665Z",fill:"#EB4335"}))},exports.InVisible=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.71 4.54002C2.32 4.15002 2.32 3.52002 2.71 3.13002C3.1 2.74002 3.74 2.74002 4.13 3.13002L20.44 19.46C20.83 19.85 20.83 20.48 20.44 20.87C20.05 21.26 19.42 21.26 19.03 20.87L16.31 18.15C14.97 18.67 13.52 18.97 12 18.97C7 18.97 2.73 15.86 1 11.47C1.77 9.50002 3.06 7.80002 4.68 6.51002L2.71 4.54002ZM17 11.47C17 8.71002 14.76 6.47002 12 6.47002C11.49 6.47002 11 6.57002 10.53 6.71002L8.36 4.54002C9.51 4.17002 10.73 3.97002 12 3.97002C17 3.97002 21.27 7.08002 23 11.46C22.31 13.22 21.21 14.76 19.82 15.99L16.76 12.93C16.9 12.47 17 11.98 17 11.47ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z"}))},exports.Spinning=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),G.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},G.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z"})),G.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z",stroke:"#2D87F3",strokeWidth:8,mask:"url(#path-2-inside-1_917_29592)"},G.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})))},exports.Visible=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M11.9994 4C5.14139 4 1.88509 9.87864 1.09509 11.5566C0.963094 11.8366 0.963094 12.1614 1.09509 12.4414C1.88509 14.1204 5.14139 20 11.9994 20C18.8334 20 22.0919 14.1629 22.8959 12.4609C23.0339 12.1679 23.0339 11.8321 22.8959 11.5391C22.0919 9.83706 18.8334 4 11.9994 4ZM11.9994 7C14.7604 7 16.9994 9.239 16.9994 12C16.9994 14.761 14.7604 17 11.9994 17C9.23839 17 6.99939 14.761 6.99939 12C6.99939 9.239 9.23839 7 11.9994 7ZM11.9994 9C11.2037 9 10.4407 9.31607 9.87807 9.87868C9.31546 10.4413 8.99939 11.2044 8.99939 12C8.99939 12.7956 9.31546 13.5587 9.87807 14.1213C10.4407 14.6839 11.2037 15 11.9994 15C12.795 15 13.5581 14.6839 14.1207 14.1213C14.6833 13.5587 14.9994 12.7956 14.9994 12C14.9994 11.2044 14.6833 10.4413 14.1207 9.87868C13.5581 9.31607 12.795 9 11.9994 9Z"}))};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./index-baba80a1.js"),t=require("./index-6de6b15f.js"),r=require("./index-388bd227.js"),o=require("./index-d9bf4a7e.js"),a=require("./index-d483f2be.js"),i=require("./index-eb773680.js"),s=require("./index-d45110a7.js"),n=require("./index.styled-31817868.js"),l=require("./index-ac9f0e73.js"),p=require("./index.styled-4a0e1ac9.js"),C=require("./index-dba6d917.js"),d=require("./index.styled-c525565c.js"),u=require("./index-228083e8.js"),x=require("./index.styled-7875a26f.js"),c=require("./index-b56dd8fe.js"),m=require("./index-28d23eb4.js"),g=require("./index-cfd9eb13.js"),h=require("./footer.js"),L=require("./useTranslations-d8579aa5.js"),f=require("./useScrollbarSize-8d7013ab.js"),w=require("./useFbDataLayer-d5f4f747.js"),b=require("./useHealthToolCache-5bb7de88.js"),v=require("./translationsProvider-b1d343ea.js"),P=require("./translationsContext-ca93092d.js"),E=require("./types-d40a7bb1.js"),T=require("./types-cafa04fe.js"),M=require("./constants-5d92c673.js"),q=require("./localizeNumberFormat-9c265306.js"),S=require("./screenSizeContext-75b5596a.js"),D=require("./cookieHelper-5c8ea010.js"),B=require("./lazyLoad-b373563d.js"),y=require("react");require("styled-components");var j=require("./theme-2e0c6aa7.js"),k=require("./dataTransform-aa17a1b8.js"),I=require("./routing-c6c1a01a.js"),R=require("./utils-38e40c15.js"),A=require("./getDynamicHealthTool-4fce13ea.js"),_=require("./getSocialList-bf9d7512.js"),N=require("./Vietnam-317e6589.js"),H=require("./tslib.es6-aacac346.js"),F=require("./Visible-9bc65242.js");function Z(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}require("./Locale-326e21f0.js"),require("./isProduction-698f9179.js"),require("./gAssets.js"),require("lodash/throttle"),require("keen-slider/react"),require("dayjs"),require("./index-123f20f6.js"),require("@mantine/core"),require("@mantine/hooks"),require("date-fns"),require("./types-2da3b837.js"),require("react-hook-form"),require("@hookform/resolvers/yup"),require("react-range"),require("react-day-picker/DayPickerInput"),require("./defaultClassWrapper-9e1ec3f8.js"),require("./useOutsideClick-ff6546d1.js"),require("date-fns/locale/en-US"),require("date-fns/locale/id"),require("date-fns/locale/vi"),require("date-fns/locale/zh-TW"),require("@mantine/dates"),require("slugify"),require("string-format"),require("./core-c6cddb52.js"),require("dayjs/plugin/relativeTime"),require("lodash/debounce"),require("./index-9474a633.js"),require("react-dom"),require("./index-73b91c98.js"),require("@mantine/carousel"),require("innertext"),require("react-contenteditable"),require("react-loading-skeleton"),require("lodash/shuffle"),require("vanilla-lazyload");var G=Z(y);exports.Types=e.index,exports.Constants=t.index,exports.Alert=r.Alert,exports.AmpNextPage=r.AmpNextPage,exports.ArticleCard=r.ArticleCard,exports.BMICardEmbed=r.BMICardEmbed,exports.BMRCardEmbed=r.BMRCardEmbed,exports.BabyGrowthCardEmbed=r.BabyGrowthCardEmbed,exports.BabyPoopEmbed=r.BabyPoopEmbed,exports.Badge=r.Badge,exports.BorderHeading=r.BorderHeading,exports.Breadcrumbs=r.Breadcrumbs,exports.Carousel=r.Carousel,exports.CategoryCard=r.CategoryCard,exports.CheckboxGroup=r.CheckboxGroup,exports.CookieAcceptConfirm=r.CookieAcceptConfirm,exports.DatePicker=r.DatePicker,exports.DateRangePicker=r.DateRangePicker,exports.DoctorInfo=r.DoctorInfo,exports.DueDateCardEmbed=r.DueDateCardEmbed,exports.FileDropdown=r.FileDropdown,exports.FloatButtonGroup=r.FloatButtonGroup,exports.Grid=r.Grid,exports.IconText=r.IconText,exports.Immunization=r.Immunization,exports.MobileBottomNavigation=r.MobileBottomNavigation,exports.MobileBottomNavigationIcon=r.MobileBottomNavigationIcon,exports.OvulationCardEmbed=r.OvulationCardEmbed,exports.PWGCardEmbed=r.PWGCardEmbed,exports.Pagination=r.Pagination,exports.Progress=r.Progress,exports.ProgressBar=r.ProgressBar,exports.Radio=r.Radio,exports.RadioGroup=r.RadioGroup,exports.RateStars=r.RateStars,exports.RecordsByAgeGroup=r.RecordsByAgeGroup,exports.ScrollList=r.ScrollList,exports.SeoHead=r.SeoHead,exports.Shadow=r.Shadow,exports.ShareContainer=r.ShareContainer,exports.ShareDrawer=r.ShareDrawer,exports.SideMenu=r.index,exports.Slider=r.Slider,exports.StatisticCard=r.StatisticCard,exports.SurveyQuestionCard=r.SurveyQuestionCard,exports.SurveyThankyouCard=r.SurveyThankyouCard,exports.THRCardEmbed=r.THRCardEmbed,exports.Table=r.index$1,exports.Tabs=r.Tabs,exports.Tag=r.Tag,exports.TimelineBanner=r.TimelineBanner,exports.Toggle=r.Toggle,exports.ToolsBannerCard=r.ToolsBannerCard,exports.UnderlinedLink=r.UnderlinedLink,exports.Uploader=r.Uploader,exports.VaccineCard=r.VaccineCard,exports.VaccineDetailPopup=r.VaccineDetailPopup,exports.Avatar=o.Avatar,exports.DefaultComponentGlobalContextData=o.DefaultComponentGlobalContextData,Object.defineProperty(exports,"GlobalData",{enumerable:!0,get:function(){return o.GlobalData}}),exports.Popup=o.Popup,exports.TogetherComponentGlobalContext=o.TogetherComponentGlobalContext,exports.TogetherComponentGlobalContextProvider=o.TogetherComponentGlobalContextProvider,exports.TogetherConstants=o.constants,exports.TogetherDataTransforms=o.dataTransform,exports.UserAvatar=o.UserAvatar,exports.Button=a.Button,exports.AuthorBadge=i.AuthorBadge,exports.Checkbox=i.Checkbox,exports.Divider=i.Divider,exports.Dropdown=i.Dropdown,exports.Flag=s.Flag,exports.LanguageSwitcher=s.LanguageSwitcher,exports.NavigationLogoutPopup=s.NavigationLogoutPopup,exports.NavigationProfileButton=s.NavigationProfileButton,exports.NavigationV2=s.NavigationV2,exports.ProfilePopup=s.ProfilePopup,exports.UserProfileNavigation=s.UserProfileNavigation,exports.UserProfileNavigationHeader=s.NavHeader,exports.UserProfileNavigationStats=s.UserStats,exports.getNavMenuContent=s.getNavMenuContent,exports.getNavMenuContentWithCache=s.getNavMenuContentWithCache,exports.Heading=n.Heading,exports.Input=l.Input,exports.Label=p.Label,exports.Logo=C.Logo,exports.Menu=d.Menu,exports.PureInput=d.PureInput,exports.TextArea=d.TextArea,exports.TextDivider=d.TextDivider,exports.Text=u.Text,exports.Container=x.Container,exports.Drawer=c.Drawer,exports.Icon=c.Icon,exports.Modal=c.Modal,exports.NewBabyProfileRadio=c.NewBabyProfileRadio,exports.RadioImageGroup=c.RadioImageGroup,exports.CustomReferenceDot=m.CustomReferenceDot,exports.PillCarousel=g.PillCarousel,exports.Footer=h.Footer,exports.useTranslations=L.useTranslations,exports.MEASURE_ELEMENT_CLASS=f.MEASURE_ELEMENT_CLASS,exports.useScrollbarSize=f.useScrollbarSize,exports.useFbDataLayer=w.useFbDataLayer,exports.useHealthToolsCache=b.useHealthToolsCache,exports.TranslationsProvider=v.TranslationsProvider,exports.translationsMap=v.translationsMap,exports.TranslationsContext=P.TranslationsContext,exports.defaultTranslations=P.defaultTranslations,exports.CardAuthor=E.CardAuthor,exports.CardLink=E.CardLink,exports.CardPost=E.CardPost,exports.CardPostPopoverMore=E.CardPostPopoverMore,exports.CardReactions=E.CardReactions,exports.CardReply=E.CardReply,exports.CardReplyPopover=E.CardReplyPopover,exports.CreateNewPostContent=E.CreateNewPostContent,exports.CreatePostDescription=E.CreatePostDescription,exports.CreatePostTitle=E.CreatePostTitle,exports.ImagePreviewPopup=E.ImagePreviewPopup,exports.InputCommentBar=E.InputCommentBar,exports.LabelPin=E.LabelPin,exports.LabelSortPin=E.LabelSortPin,exports.LabelSorting=E.LabelSorting,exports.Loading=E.Loading,exports.PopoverMenu=E.PopoverMenu,exports.PopupDanger=E.PopupDanger,exports.PopupDoctor=E.PopupDoctor,exports.PopupExpert=E.PopupExpert,exports.PopupFrame=E.PopupFrame,exports.PopupHospital=E.PopupHospital,exports.PostContent=E.PostContent,exports.PostImagePreview=E.PostImagePreview,exports.PostSingleImageViewPopup=E.PostSingleImageViewPopup,exports.ShareBox=E.ShareBox,exports.SharePopup=E.SharePopup,exports.SocialLinkPreview=E.SocialLinkPreview,exports.SubmitReportForm=E.SubmitReportForm,exports.TagTopic=E.TagTopic,exports.TogetherAuthConfigContext=E.TogetherAuthConfigContext,exports.TogetherAuthConfigContextProvider=E.TogetherAuthConfigContextProvider,exports.TogetherTypes=E.types,exports.TopicSelectList=E.TopicSelectList,exports.useTogetherAuthRequiredAction=E.useTogetherAuthRequiredAction,exports.BookingSearchBar=T.BookingSearchBar,exports.CareTypes=T.types,exports.CareConstants=M.constants,exports.ageGenerate=q.ageGenerate,exports.convertLocalizedStringToNumber=q.convertLocalizedStringToNumber,exports.localizeNumberFormat=q.localizeNumberFormat,exports.ScreenSizeContext=S.ScreenSizeContext,exports.ScreenSizeContextProvider=S.ScreenSizeContextProvider,exports.fadeIn=S.fadeIn,exports.getWindowSizeGroups=S.getWindowSizeGroups,exports.slideInDown=S.slideInDown,exports.slideInLeft=S.slideInLeft,exports.slideInRight=S.slideInRight,exports.slideInUp=S.slideInUp,exports.slideOutDown=S.slideOutDown,exports.slideOutLeft=S.slideOutLeft,exports.slideOutRight=S.slideOutRight,exports.slideOutUp=S.slideOutUp,exports.deleteCookie=D.deleteCookie,exports.getCookie=D.getCookie,exports.setCookie=D.setCookie,Object.defineProperty(exports,"lazyLoadInstance",{enumerable:!0,get:function(){return B.lazyLoadInstance}}),exports.theme=j.theme,exports.abbreviateNumber=k.abbreviateNumber,exports.formatPill=k.formatPill,exports.getCareApiDomain=I.getCareApiDomain,exports.getCurrentBaseUrl=I.getCurrentBaseUrl,exports.getCurrentSsoUrl=I.getCurrentSsoUrl,exports.getDiscoverApiDomain=I.getDiscoverApiDomain,exports.getTogetherApiDomain=I.getTogetherApiDomain,exports.Breakpoints=R.Breakpoints,exports.MediaQueries=R.MediaQueries,exports.formatUrlWithPageParam=R.formatUrlWithPageParam,exports.getBoundariesFromMediaQueryKey=R.getBoundariesFromMediaQueryKey,exports.getPopupWrapperDom=R.getPopupWrapperDom,exports.getWrapperDomWithSelector=R.getWrapperDomWithSelector,exports.makeParams=R.makeParams,exports.safeEncodeURI=R.safeEncodeURI,exports.startCase=R.startCase,exports.toggleNoScroll=R.toggleNoScroll,exports.formatHealthTool=A.formatHealthTool,exports.getDynamicHealthTool=A.getDynamicHealthTool,exports.getDynamicHealthToolWithCache=A.getDynamicHealthToolWithCache,exports.getSocialList=_.getSocialList,exports.Cambodia=N.Cambodia,exports.CaretDown=N.CaretDown,exports.India=N.India,exports.Indonesia=N.Indonesia,exports.Malaysia=N.Malaysia,exports.Myanmar=N.Myanmar,exports.Phillipines=N.Phillipines,exports.Taiwan=N.Taiwan,exports.Thailand=N.Thailand,exports.Vietnam=N.Vietnam,exports.Visible=F.Visible,exports.CheckCircle=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.66797 9.99984C1.66797 5.39984 5.4013 1.6665 10.0013 1.6665C14.6013 1.6665 18.3346 5.39984 18.3346 9.99984C18.3346 14.5998 14.6013 18.3332 10.0013 18.3332C5.4013 18.3332 1.66797 14.5998 1.66797 9.99984ZM4.75147 10.5828L7.74314 13.5745C8.06814 13.8995 8.60147 13.8995 8.91814 13.5745L15.2431 7.24948C15.5681 6.92448 15.5681 6.39948 15.2431 6.07448C14.9181 5.74948 14.3931 5.74948 14.0681 6.07448L8.3348 11.8078L5.92647 9.40781C5.60147 9.08281 5.07647 9.08281 4.75147 9.40781C4.59543 9.56351 4.50773 9.77488 4.50773 9.99531C4.50773 10.2157 4.59543 10.4271 4.75147 10.5828Z"}),G.createElement("path",{d:"M7.74322 13.5772L4.75155 10.5856C4.59551 10.4299 4.50781 10.2185 4.50781 9.99808C4.50781 9.77765 4.59551 9.56627 4.75155 9.41058C5.07655 9.08558 5.60155 9.08558 5.92655 9.41058L8.33488 11.8106L14.0682 6.07725C14.3932 5.75225 14.9182 5.75225 15.2432 6.07725C15.5682 6.40225 15.5682 6.92725 15.2432 7.25225L8.91822 13.5772C8.60155 13.9022 8.06822 13.9022 7.74322 13.5772Z",fill:"white"}))},exports.ChevronDown=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M7.99969 9.38055L5.45236 6.83322C5.17636 6.55722 4.72836 6.55722 4.45236 6.83322C4.17636 7.10922 4.17636 7.55722 4.45236 7.83322L7.52836 10.9092C7.78903 11.1699 8.21103 11.1699 8.47103 10.9092L11.547 7.83322C11.823 7.55722 11.823 7.10922 11.547 6.83322C11.271 6.55722 10.823 6.55722 10.547 6.83322L7.99969 9.38055Z"}))},exports.ChevronLeft=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M10.929 12.0002L14.75 8.17915C15.164 7.76515 15.164 7.09315 14.75 6.67915C14.336 6.26515 13.664 6.26515 13.25 6.67915L8.63605 11.2932C8.24505 11.6842 8.24505 12.3172 8.63605 12.7072L13.25 17.3212C13.664 17.7352 14.336 17.7352 14.75 17.3212C15.164 16.9072 15.164 16.2352 14.75 15.8212L10.929 12.0002Z"}))},exports.ChevronRight=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M14.071 12.0002L10.25 8.17915C9.83598 7.76515 9.83598 7.09315 10.25 6.67915C10.664 6.26515 11.336 6.26515 11.75 6.67915L16.364 11.2932C16.755 11.6842 16.755 12.3172 16.364 12.7072L11.75 17.3212C11.336 17.7352 10.664 17.7352 10.25 17.3212C9.83598 16.9072 9.83598 16.2352 10.25 15.8212L14.071 12.0002Z"}))},exports.ChevronUp=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M7.80267 6.61943L10.35 9.16676C10.626 9.44276 11.074 9.44276 11.35 9.16676C11.626 8.89076 11.626 8.44276 11.35 8.16676L8.27401 5.09076C8.01334 4.8301 7.59134 4.8301 7.33134 5.09076L4.25534 8.16676C3.97934 8.44276 3.97934 8.89076 4.25534 9.16676C4.53134 9.44276 4.97934 9.44276 5.25534 9.16676L7.80267 6.61943Z"}))},exports.Circle=function(e){return G.createElement("svg",H.__assign({className:"spinner",viewBox:"0 0 50 50",fill:"currentColor",width:"1em",height:"1em"},e),G.createElement("circle",{className:"path",cx:25,cy:25,r:20,stroke:"currentColor",strokeWidth:5}))},exports.Close=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M3.99403 3.32695C3.86141 3.32698 3.73181 3.36657 3.62181 3.44065C3.5118 3.51472 3.42638 3.61992 3.37648 3.7428C3.32658 3.86567 3.31445 4.00064 3.34165 4.13044C3.36885 4.26024 3.43415 4.37898 3.52919 4.47148L7.05784 8.00013L3.52919 11.5288C3.46521 11.5902 3.41413 11.6638 3.37894 11.7452C3.34375 11.8266 3.32516 11.9142 3.32425 12.0029C3.32335 12.0916 3.34015 12.1796 3.37368 12.2617C3.40721 12.3438 3.45678 12.4185 3.5195 12.4812C3.58222 12.5439 3.65682 12.5935 3.73894 12.627C3.82106 12.6605 3.90904 12.6773 3.99774 12.6764C4.08643 12.6755 4.17405 12.6569 4.25547 12.6217C4.33689 12.5865 4.41047 12.5355 4.4719 12.4715L8.00054 8.94283L11.5292 12.4715C11.5906 12.5355 11.6642 12.5865 11.7456 12.6217C11.827 12.6569 11.9147 12.6755 12.0034 12.6764C12.092 12.6773 12.18 12.6605 12.2621 12.627C12.3443 12.5935 12.4189 12.5439 12.4816 12.4812C12.5443 12.4185 12.5939 12.3439 12.6274 12.2617C12.6609 12.1796 12.6777 12.0916 12.6768 12.0029C12.6759 11.9142 12.6573 11.8266 12.6222 11.7452C12.587 11.6638 12.5359 11.5902 12.4719 11.5288L8.94325 8.00013L12.4719 4.47148C12.5682 4.37784 12.634 4.25728 12.6607 4.1256C12.6873 3.99392 12.6735 3.85726 12.6212 3.73354C12.5688 3.60982 12.4803 3.5048 12.3672 3.43224C12.2542 3.35969 12.1218 3.32299 11.9875 3.32695C11.8143 3.33211 11.6499 3.4045 11.5292 3.52877L8.00054 7.05742L4.4719 3.52877C4.40977 3.46491 4.33548 3.41415 4.2534 3.37948C4.17132 3.34482 4.08313 3.32696 3.99403 3.32695Z"}))},exports.EmailCheck=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),G.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),G.createElement("path",{d:"M66.03 20.0896L66.0298 20.0896L54.445 17.1371L33.1143 11.7035H33.1064L33.0912 11.6997L27.0869 10.1654L66.03 20.0896ZM66.03 20.0896C66.408 20.1854 66.7633 20.3548 67.0757 20.5882C67.3881 20.8215 67.6514 21.1141 67.8506 21.4493C68.0498 21.7845 68.1809 22.1557 68.2364 22.5417C68.2919 22.9276 68.2708 23.3207 68.1742 23.6985L68.1742 23.6986M66.03 20.0896L68.1742 23.6986M68.1742 23.6986L66.3914 30.6842L66.5125 30.7151M68.1742 23.6986L66.5125 30.7151M66.5125 30.7151L66.3914 30.6842L63.9545 40.241L37.7595 53.4735L16.9721 37.5413M66.5125 30.7151L16.9721 37.5413M16.9721 37.5413L17.075 37.4096L17.0911 37.3889L17.0976 37.3634L21.0735 21.7341L21.0805 21.7254L21.0871 21.6992L23.477 12.3089C23.6715 11.546 24.1611 10.8916 24.838 10.4896C25.515 10.0876 26.3239 9.97102 27.0868 10.1654L16.9721 37.5413Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.25}),G.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),G.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),G.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),G.createElement("path",{d:"M40.797 39.6731C46.1394 41.0733 51.6054 37.8775 53.0056 32.5351C54.4058 27.1927 51.21 21.7268 45.8676 20.3266C40.5252 18.9263 35.0592 22.1221 33.659 27.4645C32.2588 32.8069 35.4546 38.2729 40.797 39.6731Z",fill:"#00CB8A"}),G.createElement("path",{d:"M42.0398 32.9697C41.6263 32.862 41.238 32.6738 40.8973 32.4158C40.5566 32.1578 40.2701 31.8352 40.0542 31.4663L39.2137 30.0279C39.1039 29.8324 39.0753 29.6016 39.134 29.3852C39.1927 29.1689 39.3341 28.9842 39.5277 28.871C39.7212 28.7579 39.9515 28.7252 40.1689 28.7802C40.3862 28.8352 40.5733 28.9733 40.6898 29.1649L41.5304 30.6033C41.6319 30.7769 41.7666 30.9289 41.9269 31.0504C42.0871 31.172 42.2698 31.2608 42.4643 31.3118C42.6589 31.3628 42.8616 31.375 43.0609 31.3477C43.2602 31.3203 43.4522 31.254 43.6258 31.1525L52.5607 26.5173C52.7613 26.4192 52.9924 26.4034 53.2045 26.4734C53.4166 26.5435 53.5929 26.6937 53.6956 26.892C53.7984 27.0903 53.8195 27.3209 53.7544 27.5346C53.6893 27.7483 53.5432 27.928 53.3473 28.0353L44.4483 32.6486C44.0877 32.8581 43.6894 32.9943 43.2761 33.0494C42.8628 33.1045 42.4427 33.0774 42.0398 32.9697Z",fill:"white"}))},exports.EmailFail=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M63.9688 40.6414L71.5135 36.8271H71.5214L69.2091 66.2105C69.1295 67.2226 68.8514 68.209 68.3905 69.1135C67.9296 70.018 67.2951 70.8229 66.5231 71.4821C65.7511 72.1414 64.8568 72.6421 63.8913 72.9556C62.9258 73.2692 61.908 73.3894 60.896 73.3095L13.7009 69.5939C12.2428 69.4829 10.8477 68.9538 9.68262 68.0701L37.6513 53.9349L63.9688 40.6414Z",fill:"#91CAFF"}),G.createElement("path",{d:"M66.5154 30.7156L71.6092 36.5132L64.0645 40.3275L66.5154 30.7156Z",fill:"#2B62CD"}),G.createElement("path",{d:"M65.9578 20.3722L65.9583 20.3723C66.2991 20.4587 66.6195 20.6115 66.9012 20.8218C67.1829 21.0322 67.4203 21.2961 67.5999 21.5983C67.7794 21.9005 67.8976 22.2352 67.9477 22.5832C67.9978 22.9312 67.9787 23.2856 67.8916 23.6262L67.8916 23.6264L66.1088 30.612L66.1088 30.6121L63.7046 40.0405L37.7915 53.1306L17.3693 37.4783L17.3803 37.4353L21.3406 21.8671L21.3476 21.8584L21.3698 21.7712L23.7596 12.381C23.7596 12.3809 23.7597 12.3809 23.7597 12.3808C23.9351 11.6929 24.3765 11.1028 24.9869 10.7404C25.5974 10.3779 26.3269 10.2727 27.0149 10.4481L33.019 11.9822L33.0697 11.9952H33.0777L54.3729 17.4197L54.373 17.4197L65.9578 20.3722Z",fill:"white",stroke:"#E4E8EC",strokeWidth:.833333}),G.createElement("path",{d:"M47.6766 9.2919L54.4861 17.0363L33.1367 11.598L36.9335 8.43973C38.4844 7.1591 40.4726 6.53198 42.4776 6.69102C44.4826 6.85005 46.3471 7.78278 47.6766 9.2919Z",fill:"#2B62CD"}),G.createElement("path",{d:"M37.7462 53.6208L9.77752 67.756C8.72905 66.9794 7.89559 65.9486 7.3557 64.7608C6.81581 63.5729 6.58726 62.2672 6.6916 60.9666L9.00473 31.5911L16.7963 37.564L37.7462 53.6208Z",fill:"#65B5FF"}),G.createElement("path",{d:"M20.9577 21.6777L16.9751 37.3332L16.7946 37.5644L9.00391 31.5914L20.9577 21.6777Z",fill:"#2B62CD"}),G.createElement("path",{d:"M36.2349 37.7184C40.4975 41.2301 46.7998 40.6212 50.3115 36.3586C53.8231 32.0959 53.2143 25.7936 48.9516 22.282C44.689 18.7703 38.3867 19.3792 34.875 23.6418C31.3634 27.9045 31.9722 34.2068 36.2349 37.7184Z",fill:"#FF5331"}),G.createElement("g",{clipPath:"url(#clip0_1176_26159)"},G.createElement("path",{d:"M48.4022 27.8621C48.317 27.6306 48.1433 27.4425 47.9195 27.3391C47.6956 27.2357 47.4398 27.2254 47.2084 27.3105L43.1437 28.8064L41.6479 24.7418C41.5597 24.5144 41.3858 24.3308 41.1635 24.2304C40.9413 24.1301 40.6885 24.1211 40.4596 24.2053C40.2308 24.2895 40.0442 24.4602 39.94 24.6807C39.8358 24.9012 39.8224 25.1538 39.9026 25.3841L41.3984 29.4487L37.3338 30.9445C37.2172 30.9851 37.1098 31.0486 37.018 31.1312C36.9262 31.2137 36.8517 31.3137 36.7989 31.4254C36.7462 31.537 36.7162 31.6581 36.7107 31.7815C36.7052 31.9048 36.7243 32.0281 36.767 32.144C36.8096 32.2598 36.8749 32.3661 36.9591 32.4565C37.0432 32.5469 37.1445 32.6196 37.2571 32.6704C37.3697 32.7212 37.4912 32.7491 37.6146 32.7524C37.7381 32.7558 37.861 32.7345 37.9761 32.6898L42.0407 31.194L43.5366 35.2586C43.6247 35.486 43.7987 35.6696 44.021 35.7699C44.2432 35.8703 44.496 35.8793 44.7248 35.7951C44.9537 35.7109 45.1403 35.5401 45.2445 35.3197C45.3487 35.0992 45.3621 34.8466 45.2819 34.6163L43.7861 30.5517L47.8507 29.0559C48.0821 28.9707 48.2702 28.797 48.3736 28.5732C48.477 28.3493 48.4873 28.0935 48.4022 27.8621Z",fill:"white"})),G.createElement("defs",null,G.createElement("clipPath",{id:"clip0_1176_26159"},G.createElement("rect",{width:11.1603,height:11.1603,fill:"white",transform:"translate(39.8672 22.5942) rotate(24.7957)"}))))},exports.Facebook=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M14 0H3C1.61929 0 0.5 1.11929 0.5 2.5V13.5C0.5 14.8807 1.61929 16 3 16H14C15.3807 16 16.5 14.8807 16.5 13.5V2.5C16.5 1.11929 15.3807 0 14 0Z",fill:"#1778F2"}),G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.657 16V9.7495H12.2845L12.5 7.595H10.657L10.66 6.517C10.66 5.9555 10.71 5.6545 11.4715 5.6545H12.4885V3.5H10.861C8.906 3.5 8.2185 4.545 8.2185 6.302V7.5955H7V9.7495H8.2185V16H10.657Z",fill:"white"}))},exports.Google=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{d:"M14.6819 8.15547C14.6819 7.57992 14.6353 7.15992 14.5345 6.72437H7.98047V9.32212H11.8275C11.75 9.96769 11.3312 10.9399 10.4004 11.5932L10.3874 11.6802L12.4596 13.29L12.6032 13.3044C13.9217 12.0832 14.6819 10.2866 14.6819 8.15547Z",fill:"#4285F4"}),G.createElement("path",{d:"M7.98042 15.0001C9.86516 15.0001 11.4474 14.3778 12.6031 13.3045L10.4003 11.5934C9.81089 12.0056 9.01973 12.2934 7.98042 12.2934C6.13445 12.2934 4.5677 11.0723 4.0092 9.38452L3.92733 9.39149L1.77256 11.0637L1.74438 11.1423C2.8923 13.4289 5.2502 15.0001 7.98042 15.0001Z",fill:"#34A853"}),G.createElement("path",{d:"M4.00915 9.38424C3.86178 8.94869 3.7765 8.48199 3.7765 7.99979C3.7765 7.51754 3.86178 7.05089 4.00139 6.61534L3.99749 6.52258L1.81572 4.82349L1.74434 4.85753C1.27123 5.80644 0.999756 6.87201 0.999756 7.99979C0.999756 9.12757 1.27123 10.1931 1.74434 11.142L4.00915 9.38424Z",fill:"#FBBC05"}),G.createElement("path",{d:"M7.98042 3.70665C9.2912 3.70665 10.1754 4.27443 10.6796 4.7489L12.6497 2.82C11.4397 1.69223 9.86516 1 7.98042 1C5.2502 1 2.8923 2.5711 1.74438 4.85775L4.00144 6.61556C4.5677 4.92778 6.13445 3.70665 7.98042 3.70665Z",fill:"#EB4335"}))},exports.InVisible=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.71 4.54002C2.32 4.15002 2.32 3.52002 2.71 3.13002C3.1 2.74002 3.74 2.74002 4.13 3.13002L20.44 19.46C20.83 19.85 20.83 20.48 20.44 20.87C20.05 21.26 19.42 21.26 19.03 20.87L16.31 18.15C14.97 18.67 13.52 18.97 12 18.97C7 18.97 2.73 15.86 1 11.47C1.77 9.50002 3.06 7.80002 4.68 6.51002L2.71 4.54002ZM17 11.47C17 8.71002 14.76 6.47002 12 6.47002C11.49 6.47002 11 6.57002 10.53 6.71002L8.36 4.54002C9.51 4.17002 10.73 3.97002 12 3.97002C17 3.97002 21.27 7.08002 23 11.46C22.31 13.22 21.21 14.76 19.82 15.99L16.76 12.93C16.9 12.47 17 11.98 17 11.47ZM12 16.47C9.24 16.47 7 14.23 7 11.47C7 10.7 7.18 9.97002 7.49 9.33002L9.06 10.9C9.03 11.08 9 11.27 9 11.47C9 13.13 10.34 14.47 12 14.47C12.2 14.47 12.38 14.44 12.57 14.4L14.14 15.97C13.49 16.29 12.77 16.47 12 16.47ZM14.97 11.14C14.82 9.74002 13.72 8.65002 12.33 8.50002L14.97 11.14Z"}))},exports.Spinning=function(e){return G.createElement("svg",H.__assign({width:"1em",height:"1em",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),G.createElement("circle",{cx:12.5,cy:12,r:10,stroke:"#DBDFE5",strokeWidth:4}),G.createElement("mask",{id:"path-2-inside-1_917_29592",fill:"white"},G.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z"})),G.createElement("path",{d:"M12.5 0C14.964 2.93833e-08 17.3683 0.758527 19.3863 2.17253C21.4042 3.58653 22.938 5.58746 23.7791 7.90347C24.6203 10.2195 24.7281 12.7383 24.0879 15.1177C23.4477 17.4971 22.0906 19.6218 20.2009 21.2031C18.3111 22.7843 15.9804 23.7456 13.5254 23.9561C11.0704 24.1667 8.61007 23.6164 6.47869 22.38C4.3473 21.1436 2.64819 19.281 1.6122 17.0454C0.576199 14.8097 0.253539 12.3093 0.688053 9.8839L4.59856 10.5845C4.3079 12.2069 4.52374 13.8795 5.21676 15.375C5.90977 16.8705 7.04637 18.1165 8.47213 18.9435C9.89789 19.7706 11.5437 20.1387 13.1859 19.9979C14.8282 19.857 16.3873 19.214 17.6514 18.1563C18.9155 17.0985 19.8233 15.6772 20.2516 14.0856C20.6798 12.4939 20.6077 10.8089 20.045 9.25969C19.4823 7.71042 18.4563 6.37193 17.1065 5.42605C15.7566 4.48017 14.1483 3.97277 12.5 3.97277L12.5 0Z",stroke:"#2D87F3",strokeWidth:8,mask:"url(#path-2-inside-1_917_29592)"},G.createElement("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 12.5 12",to:"360 12.5 12",dur:"2s",repeatCount:"indefinite"})))};
|