@hhgtech/hhg-components 1.23.85 → 1.23.86
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-fee575f2.js → Vietnam-3e8302a5.js} +1 -1
- package/build/{Visible-08e9b540.js → Visible-95d414d9.js} +1 -1
- package/build/{animation-a9b922ea.js → animation-2c2ae66a.js} +1 -1
- package/build/babyGrowth.js +1 -1
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/icons/Endorse.d.ts +4 -0
- package/build/components/atoms/icons/Oppose.d.ts +4 -0
- package/build/components/atoms/icons/ShieldCheck.d.ts +4 -0
- package/build/components/atoms/icons/index.d.ts +3 -0
- package/build/components.js +1 -1
- package/build/componentsAtoms.js +1 -1
- package/build/componentsMolecules.js +1 -1
- package/build/componentsOrganisms.js +1 -1
- package/build/componentsSlider.js +1 -1
- package/build/componentsUi.js +1 -1
- package/build/constants.js +1 -1
- package/build/{core-dcb61c84.js → core-5d4a87cb.js} +1 -1
- package/build/{dataTransform-c5b2fb2f.js → dataTransform-7759c135.js} +1 -1
- package/build/{dataTransform-866cde6b.js → dataTransform-dd23233a.js} +1 -1
- package/build/{defaultClassWrapper-03ead8f1.js → defaultClassWrapper-71dbeac2.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/{Vietnam-14166cd1.js → Vietnam-8bb418b7.js} +1 -1
- package/build/esm/{Visible-ae9f7582.js → Visible-7d5c455f.js} +1 -1
- package/build/esm/{animation-e731c134.js → animation-79000a59.js} +1 -1
- 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/componentsAtoms.js +1 -1
- package/build/esm/componentsMolecules.js +1 -1
- package/build/esm/componentsOrganisms.js +1 -1
- package/build/esm/componentsSlider.js +1 -1
- package/build/esm/componentsUi.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-cec2f117.js → core-92bfbf18.js} +1 -1
- package/build/esm/dataTransform-2f747c63.js +1 -0
- package/build/esm/{dataTransform-943ce442.js → dataTransform-63490ce1.js} +1 -1
- package/build/esm/defaultClassWrapper-a9f0d373.js +1 -0
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-33b9b8ff.js → getDynamicHealthTool-ed700c19.js} +1 -1
- package/build/esm/{getSocialList-ab620235.js → getSocialList-df9311be.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/{index-685dfcb0.js → index-0175581a.js} +1 -1
- package/build/esm/{index-48759c5b.js → index-0287d652.js} +1 -1
- package/build/esm/{index-f8003199.js → index-0567e5fb.js} +1 -1
- package/build/esm/{index-703fb540.js → index-06d07509.js} +1 -1
- package/build/esm/{index-342a3b21.js → index-0b93b858.js} +1 -1
- package/build/esm/{index-5aa52de7.js → index-13d040f6.js} +2 -2
- package/build/esm/{index-771e603b.js → index-1b8d14c5.js} +1 -1
- package/build/esm/{index-39b63cda.js → index-28cf71ef.js} +1 -1
- package/build/esm/index-295ef099.js +1 -0
- package/build/esm/{index-f115f760.js → index-2c122c13.js} +1 -1
- package/build/esm/index-30f3989e.js +1 -0
- package/build/esm/{index-2a304f4d.js → index-340d877b.js} +1 -1
- package/build/esm/{index-03a5882e.js → index-38a7d187.js} +1 -1
- package/build/esm/{index-81ed0101.js → index-412ffd4b.js} +1 -1
- package/build/esm/{index-c98a955a.js → index-56d383e4.js} +1 -1
- package/build/esm/{index-407ff1f5.js → index-5e4e0965.js} +1 -1
- package/build/esm/{index-f1b34824.js → index-7c8d072b.js} +1 -1
- package/build/esm/{index-b33f6fdf.js → index-8162546b.js} +1 -1
- package/build/esm/{index-0bf7562f.js → index-8ad7e2bc.js} +1 -1
- package/build/esm/{index-cc6cb013.js → index-8c625ffb.js} +1 -1
- package/build/esm/{index-1c5b908c.js → index-8d538421.js} +1 -1
- package/build/esm/{index-3589e036.js → index-9a4e3d55.js} +1 -1
- package/build/esm/index-ba133da6.js +7 -0
- package/build/esm/{index-3e5124f4.js → index-bb01cf1f.js} +1 -1
- package/build/esm/{index-60f1aad5.js → index-cf7bcd46.js} +1 -1
- package/build/esm/{index-d691da32.js → index-dc551bd2.js} +1 -1
- package/build/esm/index-de66b58f.js +1 -0
- package/build/esm/{index-fbf844b8.js → index-eb624b4f.js} +1 -1
- package/build/esm/{index-c72dc81d.js → index-ec632981.js} +1 -1
- package/build/esm/{index-d065e6f7.js → index-f427cba5.js} +1 -1
- package/build/esm/{index-45acd43b.js → index-f92f515c.js} +1 -1
- package/build/esm/index-f95e1673.js +1 -0
- package/build/esm/index.css +1 -1
- package/build/esm/index.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-c6831ea6.js → routing-a1441861.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-b9452c7a.js → translationsProvider-89597057.js} +1 -1
- package/build/esm/types-79a173b1.js +1 -0
- package/build/esm/{types-0e8da1d6.js → types-d5af3c76.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/useFbDataLayer-a7c6c77a.js +1 -0
- package/build/esm/{useHealthToolCache-479cd619.js → useHealthToolCache-d4f3b8c3.js} +1 -1
- package/build/esm/{useTranslations-321b13dc.js → useTranslations-8d6045eb.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-2ee86643.js → getDynamicHealthTool-e2f7af04.js} +1 -1
- package/build/{getSocialList-69d40a06.js → getSocialList-d7b837fc.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-708c0edc.js → index-05a3be08.js} +1 -1
- package/build/{index-06628949.js → index-0e98678d.js} +1 -1
- package/build/{index-a27def8e.js → index-1247d142.js} +1 -1
- package/build/{index-269e83fb.js → index-237d1dd2.js} +1 -1
- package/build/{index-27c45f67.js → index-277a7498.js} +1 -1
- package/build/{index-e154e989.js → index-39b585ec.js} +1 -1
- package/build/index-3d15940b.js +1 -0
- package/build/{index-f007170b.js → index-46e0e7e2.js} +1 -1
- package/build/{index-71778b67.js → index-488df122.js} +1 -1
- package/build/{index-0796d2d1.js → index-5d6f2002.js} +1 -1
- package/build/{index-f588a087.js → index-5e04811a.js} +1 -1
- package/build/{index-aacad298.js → index-5f8ec952.js} +1 -1
- package/build/{index-c48ce4fa.js → index-62b099fc.js} +1 -1
- package/build/{index-12038838.js → index-64b65ff0.js} +1 -1
- package/build/{index-321b1529.js → index-7ee0f790.js} +1 -1
- package/build/{index-02c57597.js → index-9d77d9e7.js} +1 -1
- package/build/{index-60481015.js → index-abde1a9a.js} +1 -1
- package/build/{index-954c1ca7.js → index-afebf409.js} +1 -1
- package/build/{index-029f5658.js → index-b929ac3e.js} +1 -1
- package/build/{index-d01dd8ed.js → index-b992c35b.js} +1 -1
- package/build/{index-8b91b9cc.js → index-c4fa0dda.js} +1 -1
- package/build/{index-a32bfb0f.js → index-c547a281.js} +1 -1
- package/build/{index-1f067e93.js → index-d7483a0f.js} +1 -1
- package/build/{index-0f7f8acd.js → index-dc0ab8f3.js} +1 -1
- package/build/{index-25c7b90e.js → index-dcc7d016.js} +1 -1
- package/build/{index-702408e5.js → index-e92d510a.js} +1 -1
- package/build/{index-17b48534.js → index-ec22a7b0.js} +1 -1
- package/build/{index-1fc1d892.js → index-edc3f7fa.js} +1 -1
- package/build/{index-f0a309de.js → index-f36bdc65.js} +1 -1
- package/build/{index-bd75c89f.js → index-f4abac2c.js} +1 -1
- package/build/{index-a83fc6fa.js → index-f836c043.js} +1 -1
- package/build/{index-97a328d4.js → index-fcb78a86.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.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-a254236e.js +1 -0
- package/build/together/components/molecules/cardAuthor/index.d.ts +3 -1
- package/build/together/components/molecules/popupDanger/index.d.ts +5 -1
- package/build/together.js +1 -1
- package/build/{translationsProvider-6a43824f.js → translationsProvider-32b5745c.js} +1 -1
- package/build/types-59a0899e.js +1 -0
- package/build/{types-4c2b8558.js → types-e0e909f4.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useFbDataLayer-4be8656c.js → useFbDataLayer-7ba6392c.js} +1 -1
- package/build/useHealthToolCache-bca8156e.js +1 -0
- package/build/useTranslations-01d5166e.js +1 -0
- package/package.json +1 -1
- package/build/esm/dataTransform-0dece752.js +0 -1
- package/build/esm/defaultClassWrapper-594320e3.js +0 -1
- package/build/esm/index-125edd8a.js +0 -1
- package/build/esm/index-2d47e5df.js +0 -1
- package/build/esm/index-3860ae52.js +0 -1
- package/build/esm/index-db2f2f79.js +0 -1
- package/build/esm/index-f3250251.js +0 -7
- package/build/esm/types-2be8eb1f.js +0 -1
- package/build/esm/useFbDataLayer-1cb50f04.js +0 -1
- package/build/index-a309a69c.js +0 -1
- package/build/routing-2f9ad5e6.js +0 -1
- package/build/types-e85db2b4.js +0 -1
- package/build/useHealthToolCache-ef2d6e31.js +0 -1
- package/build/useTranslations-92f77339.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-f7825ea6.js → BMI_BOYS.percentile.monthly-ac294fbf.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-d0353fe4.js → BMI_BOYS.percentile.weekly-0991ebe5.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f9c42db6.js → BMI_BOYS.percentile.yearly-fb19a484.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-cab31d42.js → BMI_BOYS.zscore.monthly-ea545271.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-f394f4ac.js → BMI_BOYS.zscore.weekly-e7d107fe.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-6dfd7741.js → BMI_BOYS.zscore.yearly-243bad0c.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-a56b37e3.js → BMI_GIRLS.percentile.monthly-b1ffefa8.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-075e8fac.js → BMI_GIRLS.percentile.weekly-6a4509b7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-e6f82f51.js → BMI_GIRLS.percentile.yearly-0020ccb0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ad70537d.js → BMI_GIRLS.zscore.monthly-1c7d3a66.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-b392af8d.js → BMI_GIRLS.zscore.weekly-a0707be3.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-33d947f8.js → BMI_GIRLS.zscore.yearly-51f6718d.js} +0 -0
- /package/build/{BabyGrowth-72acd998.js → BabyGrowth-82de789a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-f6255475.js → HEAD CIRCUM_BOYS.percentile.monthly-a95c50c2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-69ed5d66.js → HEAD CIRCUM_BOYS.percentile.weekly-1e44efaf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-50808c1b.js → HEAD CIRCUM_BOYS.percentile.yearly-e922ba93.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-e530d856.js → HEAD CIRCUM_BOYS.zscore.monthly-4c4f522b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-175162b4.js → HEAD CIRCUM_BOYS.zscore.weekly-525d6e21.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-858b7795.js → HEAD CIRCUM_BOYS.zscore.yearly-dce6081b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-e5742587.js → HEAD CIRCUM_GIRLS.percentile.monthly-9c6994f4.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-62003981.js → HEAD CIRCUM_GIRLS.percentile.weekly-62951a18.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-33e62751.js → HEAD CIRCUM_GIRLS.percentile.yearly-fb4e1534.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-9e47690a.js → HEAD CIRCUM_GIRLS.zscore.monthly-8b9a7e00.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-79a8a1f4.js → HEAD CIRCUM_GIRLS.zscore.weekly-4cbd20f0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-03667820.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e7fdbe7.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-de66ed95.js → HEIGHT_BOYS.percentile.monthly-b8d63e0e.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-1b769b8e.js → HEIGHT_BOYS.percentile.weekly-8081de90.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e1b6e88c.js → HEIGHT_BOYS.percentile.yearly-5dad9fd7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-007b4b2c.js → HEIGHT_BOYS.zscore.monthly-7eadd744.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-49613f36.js → HEIGHT_BOYS.zscore.weekly-acdafdff.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-424f4a63.js → HEIGHT_BOYS.zscore.yearly-75ce2228.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-83044430.js → HEIGHT_GIRLS.percentile.monthly-7de7025d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-01eed228.js → HEIGHT_GIRLS.percentile.weekly-e94d21c1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-46b99525.js → HEIGHT_GIRLS.percentile.yearly-b8ae9551.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-9dbf53fb.js → HEIGHT_GIRLS.zscore.monthly-1d192a07.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-d7b7b3c0.js → HEIGHT_GIRLS.zscore.weekly-1407623f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-88b845b9.js → HEIGHT_GIRLS.zscore.yearly-062ef099.js} +0 -0
- /package/build/{Locale-788f0a76.js → Locale-c36ebd32.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-9f20928b.js → WEIGHT_BOYS.percentile.monthly-dd19f017.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-0055e267.js → WEIGHT_BOYS.percentile.weekly-a9a13d50.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-08eb5b7e.js → WEIGHT_BOYS.percentile.yearly-a404cd2a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d9f9c43e.js → WEIGHT_BOYS.zscore.monthly-cb3b884e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-3fd2cbdd.js → WEIGHT_BOYS.zscore.weekly-78045be1.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-23f3851e.js → WEIGHT_BOYS.zscore.yearly-3f66a793.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-a60935ba.js → WEIGHT_GIRLS.percentile.monthly-9b16618d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-9a4281b1.js → WEIGHT_GIRLS.percentile.weekly-7cbe237b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-61c32e15.js → WEIGHT_GIRLS.percentile.yearly-e6c6b4b1.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-16985eab.js → WEIGHT_GIRLS.zscore.monthly-dc9e37a6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-455066b2.js → WEIGHT_GIRLS.zscore.weekly-66dc380a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-38f85bbf.js → WEIGHT_GIRLS.zscore.yearly-745fe6b4.js} +0 -0
- /package/build/{constants-ba29b994.js → constants-6fc449f2.js} +0 -0
- /package/build/{constants-9e80ba03.js → constants-f7b74908.js} +0 -0
- /package/build/{cookieHelper-0003373c.js → cookieHelper-e3dda67e.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-652688d5.js → BMI_BOYS.percentile.monthly-d21dabca.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-cfdf579c.js → BMI_BOYS.percentile.weekly-0590e023.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-f607f28d.js → BMI_BOYS.percentile.yearly-404be121.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-bc67e37a.js → BMI_BOYS.zscore.monthly-62d26b3b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-650ac228.js → BMI_BOYS.zscore.weekly-1ffac391.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-0f698a48.js → BMI_BOYS.zscore.yearly-fa5a8158.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-341b9886.js → BMI_GIRLS.percentile.monthly-436e3c08.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-aac022d8.js → BMI_GIRLS.percentile.weekly-5b26c251.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-58038844.js → BMI_GIRLS.percentile.yearly-1cb739a1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-4a2708dc.js → BMI_GIRLS.zscore.monthly-cf64df82.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-bffc465d.js → BMI_GIRLS.zscore.weekly-1a57dda3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-f65bcef7.js → BMI_GIRLS.zscore.yearly-8dc7562b.js} +0 -0
- /package/build/esm/{BabyGrowth-fd319414.js → BabyGrowth-bbbffebe.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-26bf6676.js → HEAD CIRCUM_BOYS.percentile.monthly-39d97032.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-0b354463.js → HEAD CIRCUM_BOYS.percentile.weekly-17358a61.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-4351b5df.js → HEAD CIRCUM_BOYS.percentile.yearly-fe649439.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-acafc164.js → HEAD CIRCUM_BOYS.zscore.monthly-7d04c710.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-51240a96.js → HEAD CIRCUM_BOYS.zscore.weekly-a3aa927c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0aa9667b.js → HEAD CIRCUM_BOYS.zscore.yearly-df498b86.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a4b71e63.js → HEAD CIRCUM_GIRLS.percentile.monthly-67dc53ea.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-29191223.js → HEAD CIRCUM_GIRLS.percentile.weekly-9cbb20b0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-b2b783ec.js → HEAD CIRCUM_GIRLS.percentile.yearly-235da9ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9be0a55a.js → HEAD CIRCUM_GIRLS.zscore.monthly-c7be053b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f059db98.js → HEAD CIRCUM_GIRLS.zscore.weekly-9e796f14.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-ae101747.js → HEAD CIRCUM_GIRLS.zscore.yearly-509fe659.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-390968ba.js → HEIGHT_BOYS.percentile.monthly-8f5650b0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-4e497f0f.js → HEIGHT_BOYS.percentile.weekly-025502cd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-921f6cea.js → HEIGHT_BOYS.percentile.yearly-07b97fa8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-2dc40837.js → HEIGHT_BOYS.zscore.monthly-7c551962.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b45d6071.js → HEIGHT_BOYS.zscore.weekly-f9128c36.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c53e7c97.js → HEIGHT_BOYS.zscore.yearly-bbcaa587.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-8fb95fb0.js → HEIGHT_GIRLS.percentile.monthly-c4f3666e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-c0669885.js → HEIGHT_GIRLS.percentile.weekly-4df96f09.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-fa800462.js → HEIGHT_GIRLS.percentile.yearly-8f87ac73.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-97217b46.js → HEIGHT_GIRLS.zscore.monthly-c4f3afcb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-2986a59d.js → HEIGHT_GIRLS.zscore.weekly-b8c6c322.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-e7939d14.js → HEIGHT_GIRLS.zscore.yearly-fd9f4817.js} +0 -0
- /package/build/esm/{Locale-cf028a1c.js → Locale-6e104047.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-77888090.js → WEIGHT_BOYS.percentile.monthly-0f33cc55.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-2a905506.js → WEIGHT_BOYS.percentile.weekly-3e554351.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-626979fb.js → WEIGHT_BOYS.percentile.yearly-7f0db3de.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-1d61f28b.js → WEIGHT_BOYS.zscore.monthly-0a9f96e1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-ea606741.js → WEIGHT_BOYS.zscore.weekly-277f86df.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ff9399be.js → WEIGHT_BOYS.zscore.yearly-3fcbc8bd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a1407c73.js → WEIGHT_GIRLS.percentile.monthly-7ab8dba9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-19f2812d.js → WEIGHT_GIRLS.percentile.weekly-46a6c481.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-3086c5f1.js → WEIGHT_GIRLS.percentile.yearly-6c08bca8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-f1ed4b3a.js → WEIGHT_GIRLS.zscore.monthly-86bc7041.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-b1241dc9.js → WEIGHT_GIRLS.zscore.weekly-1cb1e605.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-3150255e.js → WEIGHT_GIRLS.zscore.yearly-f2c1ab27.js} +0 -0
- /package/build/esm/{constants-99ad9f7f.js → constants-28447c61.js} +0 -0
- /package/build/esm/{constants-99c14994.js → constants-71deba03.js} +0 -0
- /package/build/esm/{cookieHelper-7c566e73.js → cookieHelper-b4aebd0b.js} +0 -0
- /package/build/esm/{index-5e3fbfa6.js → index-ea8dcf61.js} +0 -0
- /package/build/esm/{isProduction-d5b5f0f6.js → isProduction-1b55d0a6.js} +0 -0
- /package/build/esm/{localizeNumberFormat-058ec7dc.js → localizeNumberFormat-7e0aa82c.js} +0 -0
- /package/build/esm/{logoIcon-2a5e9863.js → logoIcon-a7e594ab.js} +0 -0
- /package/build/esm/{theme-62332c00.js → theme-ee5d0e66.js} +0 -0
- /package/build/esm/{translationsContext-011e7259.js → translationsContext-e39a8c01.js} +0 -0
- /package/build/esm/{tslib.es6-311b0e1d.js → tslib.es6-bfb95386.js} +0 -0
- /package/build/esm/{types-a8204e89.js → types-2b7d979f.js} +0 -0
- /package/build/esm/{useOutsideClick-b9b32cec.js → useOutsideClick-db4817fe.js} +0 -0
- /package/build/esm/{useScrollbarSize-0e261ad4.js → useScrollbarSize-fc234f6d.js} +0 -0
- /package/build/esm/{utils-609f92c6.js → utils-d6f6da15.js} +0 -0
- /package/build/{index-f0f1bc45.js → index-617ff6fb.js} +0 -0
- /package/build/{isProduction-a249b948.js → isProduction-7e357d28.js} +0 -0
- /package/build/{localizeNumberFormat-ff6bef12.js → localizeNumberFormat-0169c998.js} +0 -0
- /package/build/{logoIcon-75d8906e.js → logoIcon-dfc9715e.js} +0 -0
- /package/build/{theme-2df74df1.js → theme-37595e4f.js} +0 -0
- /package/build/{translationsContext-ea159be8.js → translationsContext-51c97003.js} +0 -0
- /package/build/{tslib.es6-96fcc615.js → tslib.es6-edc720a6.js} +0 -0
- /package/build/{types-00a0ef24.js → types-369fb21e.js} +0 -0
- /package/build/{useOutsideClick-5089283e.js → useOutsideClick-8d68f272.js} +0 -0
- /package/build/{useScrollbarSize-9b04dfe6.js → useScrollbarSize-54ca891c.js} +0 -0
- /package/build/{utils-389aa237.js → utils-7a17dcfb.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,d as e,_ as o,b as r,c as t}from"./tslib.es6-
|
|
1
|
+
import{a as n,d as e,_ as o,b as r,c as t}from"./tslib.es6-bfb95386.js";import i,{createContext as a,useContext as s}from"react";import{Container as p,Input as m}from"@mantine/core";import{useForm as d,yupResolver as l}from"@mantine/form";import{P as c}from"./index-ba133da6.js";import*as g from"yup";import u from"styled-components";import{L as h}from"./logoIcon-a7e594ab.js";import{L as f}from"./index-dc551bd2.js";import{T as b}from"./index-f95e1673.js";import{M as x}from"./utils-d6f6da15.js";import{H as w}from"./index-295ef099.js";import{t as y}from"./theme-ee5d0e66.js";import{B as v}from"./index-0175581a.js";import{L as E}from"./Locale-6e104047.js";import{u as P}from"./useTranslations-8d6045eb.js";var j,M,I,z,N,q,L,T=a({}),C=u.div(j||(j=n([""],[""]))),S=u(b)(M||(M=n(["\n margin-top: 8px;\n"],["\n margin-top: 8px;\n"]))),F=u.div(I||(I=n(["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"],["\n margin-top: 70px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"]))),O=u(p)(z||(z=n(["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"],["\n &.hhg-comp-onboarding-container.hhg-comp-onboarding-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 100%;\n width: 100%;\n max-width: 520px;\n }\n .header {\n margin-bottom: 32px;\n text-align: center;\n "," {\n margin-bottom: 16px;\n }\n }\n\n .input-control {\n width: 100%;\n\n label {\n font-size: 12px;\n line-height: 18px;\n font-weight: 600;\n margin-bottom: 6px;\n }\n\n input {\n height: 42px;\n line-height: 42px;\n font-size: 14px;\n }\n }\n .radio-group,\n .input-control {\n margin-bottom: 16px;\n }\n .form {\n width: 100%;\n }\n\n .form-error {\n margin-top: 32px;\n font-size: 14px;\n }\n\n .field-error {\n margin-top: 10px;\n font-size: 14px;\n }\n\n .form-button {\n width: 100%;\n }\n"])),x.mbDown),k=u.img(N||(N=n(["\n margin-bottom: 38px;\n"],["\n margin-bottom: 38px;\n"]))),H=function(n){var r,t=n.heading,a=n.description,p=n.children,m=n.className,d=n.imgSrc,l=e(n,["heading","description","children","className","imgSrc"]),c=s(T),g=c.isMarryBaby,u=c.siteType;return i.createElement(O,o({},l,{className:"hhg-comp-onboarding-container ".concat(m),size:"sm"}),i.createElement(h,{type:g?u:(null===(r=f[process.env.UNIFY_LOCALE])||void 0===r?void 0:r.LOGO_TYPE)||"hellobacsi"}),i.createElement(F,null,d&&i.createElement(k,{src:d,loading:"lazy"}),i.createElement(C,{className:"header"},i.createElement(w,{tag:"h3"},t),i.createElement(S,{size:"p3",color:y.colors.gray600},a)),p))},B=function(n){return g.object().shape({phone:g.string().required(n("onboarding.updatePhone.error")).default("")})},U=function(n){return g.object().shape({otp:g.string().required(n("onboarding.otpForm.error")).length(6,n("onboarding.otpForm.error")).default("")})},V=function(n){return g.object().shape({email:g.string().required(n("onboarding.errorMessage.requiredEmail")).email(n("onboarding.errorMessage.invalidEmail")).default(""),name:g.string().required(n("onboarding.errorMessage.requiredName"))})},Y=function(n){return g.object().shape({password:g.string().required(n("onboarding.errorMessage.requiredPassword")).min(8,n("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,n("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:g.string().required(n("onboarding.errorMessage.requiredConfirmPassword")).oneOf([g.ref("password"),null],n("onboarding.errorMessage.passNotMatch")).default("")})},_=u(H)(q||(q=n(["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"],["\n .phone-input {\n width: 100%;\n margin-bottom: 32px;\n "," {\n margin-bottom: 16px;\n }\n .PhoneInput {\n margin-bottom: 16px;\n }\n .PhoneInputCountry {\n border-radius: 4px 0 0 4px;\n }\n .PhoneInputInput {\n border-radius: 0 4px 4px 0;\n }\n }\n"])),x.mbDown),A=((L={})[E.Vietnam]="VN",L[E.Cambodia]="KH",L[E.Indonesia]="ID",L[E.Malaysia]="MY",L[E.PhilippinesEnglish]="PH",L[E.PhilippinesTagalog]="PH",L[E.Taiwan]="TW",L[E.Thailand]="TH",L[E.Myanmar]="MM",L),D=function(n){var e=n.onClose,a=n.onSubmit,s=n.canSkip,p=void 0===s||s,g=n.customFormTexts,u=P().t,h=d({initialValues:{phone:""},validate:l(B(u))});return i.createElement(_,{heading:(null==g?void 0:g.heading)||u("onboarding.updatePhone.heading"),description:(null==g?void 0:g.description)||u("onboarding.updatePhone.description")},i.createElement("form",{onSubmit:h.onSubmit((function(n){return r(void 0,void 0,void 0,(function(){return t(this,(function(e){return a(n.phone),[2]}))}))}),(function(n){console.log(n)}))},i.createElement("div",{className:"phone-input"},i.createElement(c,o({defaultCountry:A[process.env.UNIFY_LOCALE]||"VN"},h.getInputProps("phone"))),i.createElement(m.Error,null,h.errors.phone)),i.createElement(v,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},u("onboarding.button.continue")),p&&i.createElement(v,{color:"ghost",isBlock:!0,size:"lg",onClick:e,type:"button"},u("onboarding.button.skip"))))};export{H as F,A as M,T as O,V as a,Y as b,D as c,U as o};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import n,{useMemo as e}from"react";import{CommonGAssets as a}from"./gAssets.js";import{a as t}from"./tslib.es6-
|
|
1
|
+
import n,{useMemo as e}from"react";import{CommonGAssets as a}from"./gAssets.js";import{a as t}from"./tslib.es6-bfb95386.js";import{M as o}from"./utils-d6f6da15.js";import s from"styled-components";import{L as i}from"./logoIcon-a7e594ab.js";import{L as l}from"./Locale-6e104047.js";var r,g,m=s.div(r||(r=t(["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n img {\n filter: brightness(0) invert(1);\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img {\n margin-left: 0.25rem;\n }\n }\n }\n\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"],["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n img {\n filter: brightness(0) invert(1);\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img {\n margin-left: 0.25rem;\n }\n }\n }\n\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"])),o.mbDown),p=s.img(g||(g=t(["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"],["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"]))),h={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},d=[l.Vietnam,l.Taiwan,l.Indonesia,l.Malaysia],c=function(t){var o=t.type,s=t.className,l=t.style,r=t.isLightLogo,g=t.customSize,c=t.badge,f=t.locale,x=t.dateForSeasonal,u=t.isPro,w=e((function(){if(!x||isNaN(new Date(x).getTime()))return{isChristmas:!1,isLunarNewYear:!1,isNewYear:!1};var n,e,a=new Date(x),t=(e=(n=a).getDate(),11===n.getMonth()&&e>=16&&e<=25),o=d.includes(f)&&function(n){var e=n.getFullYear(),a=h[e];if(!a)return!1;var t=new Date(e,a[1],a[0]),o=new Date(t);o.setDate(t.getDate()-7);var s=new Date(t);return s.setDate(t.getDate()+5),o<=n&&n<=s}(a),s=!o&&function(n){var e=n.getDate(),a=n.getMonth();return 11===a&&e>=26||0===a&&e<=15}(a);return{isChristmas:t,isLunarNewYear:o,isNewYear:s}}),[f,new Date(x).getDate()]);return n.createElement(m,{className:s,style:l,"data-logo-is-light":r||void 0,"data-has-badge":!!c,"data-christmas":w.isChristmas,"data-new-year":w.isNewYear,"data-lunar-new-year":w.isLunarNewYear},w.isChristmas?n.createElement(n.Fragment,null,n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/xmas-left.png"),className:"common-logo-seasonal-left"}),n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/xmas-right.png"),className:"common-logo-seasonal-right"})):w.isNewYear?n.createElement(n.Fragment,null,n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/new-year-left.png"),className:"common-logo-seasonal-left"}),n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/new-year-right.png"),className:"common-logo-seasonal-right"})):w.isLunarNewYear?n.createElement(n.Fragment,null,n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/lunar-new-year-left.png"),className:"common-logo-seasonal-left"}),n.createElement("img",{loading:"lazy",src:a.getAssetPath("logo/lunar-new-year-right.png"),className:"common-logo-seasonal-right"})):null,n.createElement(i,{type:o,width:null==g?void 0:g.width,height:null==g?void 0:g.height}),u?n.createElement(p,{src:a.getAssetPath("logo/pro-suffix.svg")}):null,c)},f="d76E4SH",x=function(e){var a=e.children,t=e.className,o=e.style,s=e.type;return n.createElement("div",{className:"".concat(f," ").concat(t||""),style:o,"data-type":s},a)};export{x as C,c as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,d as e,_ as r}from"./tslib.es6-
|
|
1
|
+
import{a as n,d as e,_ as r}from"./tslib.es6-bfb95386.js";import o,{useMemo as i}from"react";import{CommonGAssets as t}from"./gAssets.js";import{t as l}from"./theme-ee5d0e66.js";import{T as c}from"./index-f95e1673.js";import a from"styled-components";import{L as s}from"./Locale-6e104047.js";import{C as d}from"./index-8c625ffb.js";var p,u,m,x,b,g=a.div(p||(p=n(["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"],["\n display: inline-flex;\n overflow: hidden;\n width: ","px;\n height: ","px;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n\n border: 1px solid #e4e8ec;\n background-color: ",";\n border-radius: ",";\n & > * {\n width: ","px;\n height: ","px;\n }\n"])),(function(n){return n.size}),(function(n){return n.size}),(function(n){return n.backgroundColor||l.colors.white}),(function(n){return n.borderRadius||"50%"}),(function(n){return n.iconSize}),(function(n){return n.iconSize})),h=a.div(u||(u=n(["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"],["\n display: inline-block;\n height: 108px;\n background-color: ",";\n border-radius: 60px;\n cursor: pointer;\n &.selected-week-pill {\n background-color: ",";\n }\n\n & > div:first-child {\n margin: 4px 4px 0;\n }\n\n & > p {\n margin-top: 8px;\n text-align: center;\n }\n\n & > * {\n pointer-events: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.pink100})),f=[s.Myanmar,s.Taiwan],w=a((function(n){var a=n.icon,s=n.name,d=n.className,p=n.locale,u=void 0===p?"en-PH":p,m=n.onSelect,x=e(n,["icon","name","className","locale","onSelect"]),b=i((function(){return null==d?void 0:d.includes("selected-week-pill")}),[d]);return o.createElement(h,r({onClick:m,className:d?"week-pill".concat(" non-pointer-event-child ",d):"week-pill non-pointer-event-child"},x),o.createElement(g,{size:64,iconSize:40,backgroundColor:l.colors.white},o.createElement("img",{src:a||t.getAssetPath("week_default.png"),alt:""})),b?o.createElement(c,r({type:"semiBold",size:"n1",color:l.colors.gray800},f.includes(u)&&{style:{fontSize:"10px"}}),s):o.createElement(c,r({size:"n1",color:l.colors.gray600},f.includes(u)&&{style:{fontSize:"10px"}}),s))}))(m||(m=n(["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"],["\n box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);\n"]))),k=a(d.Slide)(x||(x=n([""],[""]))),v=a(d)(b||(b=n(["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"],["\n .centerred-pill-wrapper {\n padding: 16px 0;\n }\n"]))),y=function(n){var i=n.data,t=n.isMobile,l=n.onSlideChange,c=n.pillProps,a=n.locale,d=void 0===a?s.Vietnam:a,p=n.blurFromIndex,u=n.blurLength,m=e(n,["data","isMobile","onSlideChange","pillProps","locale","blurFromIndex","blurLength"]),x={withControls:!t,slideGap:16,blurFromCenter:!0,blurFromIndex:p||(t?2:4),blurLength:u||(t?1:3),onSlideChange:l};return o.createElement(v,r({},x,m),(function(n){return i.map((function(e,i){return o.createElement(k,r({key:i,onClick:l},c),o.createElement("div",{className:"centerred-pill-wrapper"},o.createElement(w,{locale:d,name:e.name,icon:e.icon,className:i===n?"selected-week-pill":""})))}))}))};export{y as P};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as e,_ as n}from"./tslib.es6-
|
|
1
|
+
import{d as e,_ as n}from"./tslib.es6-bfb95386.js";import r,{createContext as l,useContext as i,useRef as t,useState as o,useEffect as c}from"react";import{Carousel as d}from"@mantine/carousel";import{useResizeObserver as u}from"@mantine/hooks";var a=d.Slide,s=l({}),f=function(e,n){return e>=n?e-n:e},p=function(l){var i=l.children,a=l.blurFromCenter,p=l.blurFromIndex,v=l.blurLength,h=void 0===v?3:v,m=l.maxBlurOpacity,x=void 0===m?.5:m,S=l.onSlideChange,b=l.selectSlideWhenClick,g=e(l,["children","blurFromCenter","blurFromIndex","blurLength","maxBlurOpacity","onSlideChange","selectSlideWhenClick"]),y=u(),C=y[0],k=y[1],w=t(null),E=o(0),F=E[0],I=E[1],L=function(){var e,n,r,l=null===(e=null==w?void 0:w.current)||void 0===e?void 0:e.selectedScrollSnap();I(l);var i=(null===(n=null==w?void 0:w.current)||void 0===n?void 0:n.slideNodes())||[],t=i.length,o=(null===(r=null==w?void 0:w.current)||void 0===r?void 0:r.slidesInView()).length,c=Math.floor(o/2),d=a?p+h-1:c,u=l+d,s=u===t?0:u>t?u-t:u,v=l-d,m=v<0?t+v:v>0?l-d:0,S=Array(2*d+1).fill("").map((function(e,n){return f(m+n,t)}));i.map((function(e,n){if(n===l?e.classList.add("center-slide"):e.classList.remove("center-slide"),-1!==S.indexOf(n))for(var r=x/h,i=0;i<h;i++){if(n===f(m+i,t)||n===(c=t,(o=s-i)<0?c+o:o)){e.style.opacity=String((i+1)*r);break}e.style.opacity="1"}else e.style.opacity="0";var o,c}))},W={getEmblaApi:function(e){w.current=e},onSlideChange:function(e){L(),null==S||S(e)}};return c((function(){(null==w?void 0:w.current)&&L()}),[k]),r.createElement(s.Provider,{value:{slider:null==w?void 0:w.current,centerSlide:F,selectSlideWhenClick:b}},r.createElement(d,n({ref:C,slideSize:"auto",containScroll:"trimSnaps"},W,g,{loop:!0}),"function"==typeof i?i(F):i))};p.Slide=function(l){var d=l.children,u=l.onClick,f=e(l,["children","onClick"]),p=i(s),v=p.slider,h=p.selectSlideWhenClick,m=t(),x=t(""),S=o(0),b=S[0],g=S[1];c((function(){x.current=String(Math.round(1e4*Math.random()))}),[]),c((function(){var e=(null==v?void 0:v.slideNodes())||[];g(e.findIndex((function(e){return e.dataset.key===x.current})))}),[v]);var y={ref:m,"data-key":x.current,"data-index":b,styles:function(){return{control:{width:"40px",height:"40px",border:0,background:"white",boxShadow:"rgb(0 0 0 / 4%) 0px 10px 16px, rgb(0 0 0 / 4%) 0px 2px 8px, rgb(0 0 0 / 4%) 0px 0px 1px",svg:{width:"20px",height:"20px"}}}}};return r.createElement(a,n({},y,f),r.createElement("div",{onClick:function(){h&&(null==v||v.scrollTo(b)),null==u||u(b)}},d))};export{p as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-bfb95386.js";import t,{forwardRef as r}from"react";var a=r((function(r,a){return t.createElement("circle",e({},r,{ref:a}),t.createElement("animate",{attributeName:"r",values:"4;8;4",dur:"2s",begin:"0s",repeatCount:"indefinite"}))}));export{a as C};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import r from"react";import{a as e,d as t,_ as o}from"./tslib.es6-
|
|
1
|
+
import r from"react";import{a as e,d as t,_ as o}from"./tslib.es6-bfb95386.js";import a from"styled-components";import{u as n}from"./useTranslations-8d6045eb.js";var d,s=a.hr(d||(d=e(["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"],["\n border-width: 1px;\n border-color: ",";\n border-style: ",";\n"])),(function(r){return r.theme.colors.neutral200}),(function(r){return r.dividerType})),i=function(e){var t=e.type,o=void 0===t?"solid":t,a=e.className,n=e.style;return r.createElement(s,{style:n,className:a,"data-diver-type":o,dividerType:o})},u="U9NRDG6",l={admin:"cardAuthor.admin",moderator:"cardAuthor.moderator",ambassador:"cardAuthor.ambassador",expert:"cardAuthor.expert",sponsor:"cardAuthor.sponsor",guide:"cardAuthor.guide",influencer:"cardAuthor.influencer"},c=function(e){var a=e.siteType,d=e.role,s=e.title,i=t(e,["siteType","role","title"]),c=n().t,m=d?function(r){return["admin","moderator","ambassador","expert","sponsor","guide","influencer"].find((function(e){return e===r}))}(d):"";return m&&l[m]?r.createElement("div",o({className:u,"data-label-type":m,"data-is-marrybaby":"marryBaby"===a},i),s||c(l[m])):null};export{c as A,i as D};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{a as n,_ as e,d as t,b as r,c as a}from"./tslib.es6-bfb95386.js";import o,{forwardRef as i,useState as l,useEffect as s}from"react";import{Image as c,Radio as u}from"@mantine/core";import{CommonGAssets as m}from"./gAssets.js";import{DatePicker as d,DateRangePicker as f}from"@mantine/dates";import p,{css as g}from"styled-components";import{t as h}from"./theme-ee5d0e66.js";import{c as v}from"./index-0567e5fb.js";import{P as y,a as C,I as b,b as E,c as w,M as P,d as j,T as S,V as x,C as N}from"./Vietnam-8bb418b7.js";import{s as D}from"./index-dc551bd2.js";var I,R,k,A,W=p(d)(R||(R=n(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(e){return e.fullWidth&&g(I||(I=n(["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DatePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),O=p(f)(A||(A=n(["\n position: relative;\n ","\n"],["\n position: relative;\n ","\n"])),(function(e){return e.fullWidth&&g(k||(k=n(["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "],["\n .mantine-DateRangePicker-dropdown {\n min-width: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n "])))})),V=function(n){return o.createElement(W,e({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(c,{src:m.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};V.Range=function(n){return o.createElement(O,e({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:o.createElement(c,{src:m.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},n))};var H,M=p(u)(H||(H=n(["\n .mantine-Radio-icon {\n color: ",";\n }\n"],["\n .mantine-Radio-icon {\n color: ",";\n }\n"])),(function(n){return n.color||h.colors.primaryBase})),z=function(n){return o.createElement(M,e({size:"sm"},n))};z.Group=u.Group;
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/
|
|
7
|
+
var T=v((function(n){!function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var o=typeof a;if("string"===o||"number"===o)n.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&n.push(i)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)e.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}n.exports?(t.default=t,n.exports=t):window.classNames=t}()})),U=Object.values(D).reduce((function(n,e){var t=e.phoneCountry;return n.includes(t)||n.push(t),n}),[]),F={PH:y,KH:C,ID:b,IN:E,MM:w,MY:P,TH:j,TW:S,VN:x},G={phoneInput:"i-9Ibox",error:"YDWHh9b"},Y=i((function(n,i){var c,u=n.isError,m=n.defaultCountry,d=n.countries,f=void 0===d?U:d,p=n.countryCallingCodeEditable,g=void 0!==p&&p,h=n.defaultValue,v=n.value,y=n.onChange,C=n.className,b=t(n,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),E=l(h||v),w=E[0],P=E[1],j=l(null),S=j[0],x=j[1];return s((function(){P(v)}),[v]),s((function(){r(void 0,void 0,void 0,(function(){var n;return a(this,(function(e){switch(e.label){case 0:return[4,import("react-phone-number-input")];case 1:return n=e.sent(),x(n),[2]}}))}))}),[]),S?o.createElement(S.default,e({ref:i,value:w,onChange:function(n){P(n),null==y||y(n)},countries:f,defaultCountry:m,countryCallingCodeEditable:g,className:T(G.phoneInput,(c={isError:u},c[G.error]=u,c),C),flagUrl:void 0,flagComponent:function(n){var r=n.country,a=n.countryName;n.flagUrl;var i=t(n,["country","countryName","flagUrl"]),l=F[r],s=r?"(+".concat(S.getCountryCallingCode(r),")"):"";return l?o.createElement(o.Fragment,null,o.createElement(l,e({title:a},i)),o.createElement("span",{className:T(G.callingCode,"PhoneInputCountryIconCallingCode")},s)):o.createElement(o.Fragment,null)},countrySelectProps:{arrowComponent:function(){return o.createElement("div",{className:T(G.arrowSelect,"PhoneInputArrowContainer")},o.createElement(N,null))}}},b)):null}));export{V as D,Y as P,z as R,T as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,d as e,_ as r}from"./tslib.es6-
|
|
1
|
+
import{a as n,d as e,_ as r}from"./tslib.es6-bfb95386.js";import o from"react";import{t as i}from"./theme-ee5d0e66.js";import t from"styled-components";import{u as a}from"./useTranslations-8d6045eb.js";import{I as d}from"./index-30f3989e.js";import{I as s}from"./index-0b93b858.js";import{M as p}from"./index-eb624b4f.js";import{T as c}from"./index-f95e1673.js";import{h as l}from"./animation-79000a59.js";var b,f,u=t.div(b||(b=n(["\n min-width: 212px;\n width: ",";\n background-color: #ffffff;\n border-radius: 6px;\n overflow: hidden;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n ul {\n list-style: none;\n }\n"],["\n min-width: 212px;\n width: ",";\n background-color: #ffffff;\n border-radius: 6px;\n overflow: hidden;\n filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04))\n drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));\n ul {\n list-style: none;\n }\n"])),(function(n){return n.width+"px"})),x=t.li(f||(f=n(["\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: left;\n gap: 10px;\n padding: 10px 16px;\n cursor: pointer;\n transition: background-color 200ms ease-in-out;\n &:hover {\n background-color: ",";\n }\n .icon {\n width: 16px;\n height: 16px;\n }\n"],["\n background-color: inherit;\n display: flex;\n align-items: center;\n justify-content: left;\n gap: 10px;\n padding: 10px 16px;\n cursor: pointer;\n transition: background-color 200ms ease-in-out;\n &:hover {\n background-color: ",";\n }\n .icon {\n width: 16px;\n height: 16px;\n }\n"])),i.colors.neutral50),m=function(n){var i=n.children,t=n.width,a=void 0===t?300:t,d=e(n,["children","width"]);return o.createElement(u,r({},d,{width:a}),o.createElement("ul",null,i))};m.Item=function(n){var i=n.icon,t=n.children,a=e(n,["icon","children"]);return o.createElement(x,r({},a),i&&o.createElement("div",{className:"icon"},i),t)};var h,g="300ms",w=t.div(h||(h=n(["\n background: ",";\n border-radius: 6px;\n padding: 16px 20px;\n .title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0;\n padding-bottom: 16px;\n border-bottom: none;\n }\n\n &[data-is-mb='true'] {\n background: #ffffff;\n border: 1px solid #e0e9fb;\n border-radius: 16px;\n input {\n border-radius: 16px;\n }\n }\n\n &[data-isActive='true'] {\n border: 1px solid #2661ad;\n }\n\n &[data-is-mb='false'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 2px solid ",";\n border-radius: 50%;\n transition: all "," ease-in-out;\n &.active {\n border-color: ",";\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n background-color: ",";\n background-clip: content-box;\n padding: 5px;\n border-radius: 50%;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n\n &[data-is-mb='true'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 1.3px solid #9495a0;\n border-radius: 10px;\n transition: all "," ease-in-out;\n &.active {\n border: none;\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n padding: 0;\n border-radius: 10px;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n"],["\n background: ",";\n border-radius: 6px;\n padding: 16px 20px;\n .title {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0;\n padding-bottom: 16px;\n border-bottom: none;\n }\n\n &[data-is-mb='true'] {\n background: #ffffff;\n border: 1px solid #e0e9fb;\n border-radius: 16px;\n input {\n border-radius: 16px;\n }\n }\n\n &[data-isActive='true'] {\n border: 1px solid #2661ad;\n }\n\n &[data-is-mb='false'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 2px solid ",";\n border-radius: 50%;\n transition: all "," ease-in-out;\n &.active {\n border-color: ",";\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n background-color: ",";\n background-clip: content-box;\n padding: 5px;\n border-radius: 50%;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n\n &[data-is-mb='true'] .radio {\n cursor: pointer;\n position: relative;\n min-width: 22px;\n width: 22px;\n height: 22px;\n background: #ffffff;\n border: 1.3px solid #9495a0;\n border-radius: 10px;\n transition: all "," ease-in-out;\n &.active {\n border: none;\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n padding: 0;\n border-radius: 10px;\n animation: "," "," ease-in-out forwards;\n }\n }\n }\n"])),i.colors.gray50,i.colors.gray600,g,i.colors.primaryBase,i.colors.primaryBase,l,g,g,l,g),v=function(n){var e=n.isActive,r=n.onChange,t=n.value,l=void 0===t?"":t,b=n.onInputChange,f=n.siteType,u=a().t,x="marryBaby"===f;return o.createElement(w,{onClick:function(){return r("new")},"data-is-mb":x,"data-isActive":x&&e},"marryBaby"===f?o.createElement("div",{className:"title"},o.createElement(p,{type:"bodytext-1",color:i.colors.gray800},u("chooseBaby.new")),o.createElement("div",{className:e?"radio active":"radio"},e&&o.createElement(d.CheckActiveMB,{size:26}))):o.createElement("div",{className:"title"},o.createElement(c,{size:"p2",color:i.colors.gray800},u("chooseBaby.new")),o.createElement("div",{className:e?"radio active":"radio"})),o.createElement(s,{name:"name",value:l,size:"md",placeholder:u("chooseBaby.placeholder"),type:"text",onChange:b}))};export{m as M,v as N};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,_ as e}from"./tslib.es6-311b0e1d.js";import r from"react";import o from"styled-components";import{L as t}from"./index-5e3fbfa6.js";import{M as i}from"./utils-609f92c6.js";var a,l,s,c=o.div(a||(a=n(["\n &[data-type='circle'] {\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n\n input {\n position: relative;\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n border: solid 1px ",";\n margin-right: 8px;\n border-radius: 100%;\n cursor: inherit;\n transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n\n &:checked {\n display: flex;\n align-items: center;\n justify-content: center;\n border-color: ",";\n &:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 14px;\n height: 14px;\n //left: 3px;\n //position: absolute;\n //top: 4px;\n background-color: ",";\n border-radius: 50%;\n content: '';\n transform: translate(-50%, -50%);\n }\n }\n }\n\n label {\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: ",";\n }\n\n &[data-disabled='true'] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n }\n\n &[data-type='rectangle'] {\n input {\n display: none;\n\n &:checked ~ label {\n border-color: ",";\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n }\n\n label {\n display: inline-block;\n width: auto;\n box-sizing: border-box;\n flex-shrink: 0;\n border: solid 1px ",";\n border-radius: 6px;\n color: ",";\n cursor: pointer;\n font-weight: ",";\n text-align: center;\n\n &:hover,\n &:active {\n border-color: ",";\n }\n }\n\n &[data-disabled='true'] {\n input {\n cursor: not-allowed;\n }\n\n label {\n color: ",";\n cursor: not-allowed;\n\n &:hover {\n border-color: ",";\n }\n }\n }\n\n &[data-size='small'] {\n label {\n height: 32px;\n padding: 6px 12px;\n font-size: 13px;\n }\n }\n\n &[data-size='large'] {\n label {\n height: 48px;\n padding: 13px 16px;\n font-size: 14px;\n }\n }\n }\n"],["\n &[data-type='circle'] {\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n\n input {\n position: relative;\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n border: solid 1px ",";\n margin-right: 8px;\n border-radius: 100%;\n cursor: inherit;\n transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n\n &:checked {\n display: flex;\n align-items: center;\n justify-content: center;\n border-color: ",";\n &:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 14px;\n height: 14px;\n //left: 3px;\n //position: absolute;\n //top: 4px;\n background-color: ",";\n border-radius: 50%;\n content: '';\n transform: translate(-50%, -50%);\n }\n }\n }\n\n label {\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: ",";\n }\n\n &[data-disabled='true'] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n }\n\n &[data-type='rectangle'] {\n input {\n display: none;\n\n &:checked ~ label {\n border-color: ",";\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n }\n\n label {\n display: inline-block;\n width: auto;\n box-sizing: border-box;\n flex-shrink: 0;\n border: solid 1px ",";\n border-radius: 6px;\n color: ",";\n cursor: pointer;\n font-weight: ",";\n text-align: center;\n\n &:hover,\n &:active {\n border-color: ",";\n }\n }\n\n &[data-disabled='true'] {\n input {\n cursor: not-allowed;\n }\n\n label {\n color: ",";\n cursor: not-allowed;\n\n &:hover {\n border-color: ",";\n }\n }\n }\n\n &[data-size='small'] {\n label {\n height: 32px;\n padding: 6px 12px;\n font-size: 13px;\n }\n }\n\n &[data-size='large'] {\n label {\n height: 48px;\n padding: 13px 16px;\n font-size: 14px;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),d=function(n){var o=n.type,t=n.size,i=void 0===t?"small":t,a=n.label,l=n.name,s=n.checked,d=n.value,h=n.className,u=n.isDisabled,p=void 0!==u&&u,x=n.onChange,b=n.dataEventCategory,g=n.dataEventAction,m=n.dataEventLabel,f=!!g&&!!b&&!!m?{"data-event-category":b,"data-event-action":g,"data-event-label":m}:{};return r.createElement(c,{"data-disabled":p,className:h,"data-type":o,"data-size":i},r.createElement("label",e({style:{display:"flex",alignItems:"center"}},f),r.createElement("input",e({type:"radio",checked:s,name:l,value:d,onChange:function(){return x(d)}},f)),a))},h=o.div(l||(l=n(["\n textarea {\n width: 100%;\n height: var(--textarea-height, 116px);\n padding: 1rem;\n border: 1px solid ",";\n border-radius: 6px;\n color: ",";\n font-size: 14px;\n resize: none;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px #91caff;\n }\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n"],["\n textarea {\n width: 100%;\n height: var(--textarea-height, 116px);\n padding: 1rem;\n border: 1px solid ",";\n border-radius: 6px;\n color: ",";\n font-size: 14px;\n resize: none;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px #91caff;\n }\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.neutral50})),u=r.forwardRef((function(n,e){var o,i=n.height,a=n.placeholder,l=n.labelText,s=n.labelColor,c=n.id,d=n.name,u=n.onChange,p=n.value,x=n.className,b=n.onKeyPress,g=n.disabled,m=void 0!==g&&g;return r.createElement(h,{className:x,style:(o={},o["--textarea-height"]=i||"116px",o)},l&&r.createElement(t,{size:"label2",style:{color:s||"#595959"},htmlFor:c},l),r.createElement("textarea",{name:d,ref:e,placeholder:a,id:c,onChange:function(n){return u&&u(n.target.value)},onKeyPress:function(n){return b&&b(n)},value:p,disabled:m}))})),p=o.div(s||(s=n(["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"],["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"])),(function(n){return n.theme.mbColors.midGray}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.gray}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),x=function(n){var e=n.label,o=n.name,t=n.checked,i=n.className,a=n.isDisabled,l=n.onChange,s=n.value,c=n.isRectangle,d=n.inputDataTestId,h=n.siteType;return r.createElement(p,{className:i,"data-disabled":a||void 0,"data-is-rectangle":c||void 0,"data-label-text":e,"data-theme":h},r.createElement("input",{type:"checkbox",checked:t,name:o,onChange:function(){return l(s,!t)},disabled:a,value:s,id:"".concat(o,"-").concat(s),"data-label-text":e,"data-testid":d}),!c&&r.createElement("label",{htmlFor:"".concat(o,"-").concat(s)},e))};export{x as C,d as R,c as S,u as T};
|
|
1
|
+
import{a as n,_ as e}from"./tslib.es6-bfb95386.js";import r from"react";import o from"styled-components";import{L as t}from"./index-ea8dcf61.js";import{M as i}from"./utils-d6f6da15.js";var a,l,s,c=o.div(a||(a=n(["\n &[data-type='circle'] {\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n\n input {\n position: relative;\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n border: solid 1px ",";\n margin-right: 8px;\n border-radius: 100%;\n cursor: inherit;\n transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n\n &:checked {\n display: flex;\n align-items: center;\n justify-content: center;\n border-color: ",";\n &:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 14px;\n height: 14px;\n //left: 3px;\n //position: absolute;\n //top: 4px;\n background-color: ",";\n border-radius: 50%;\n content: '';\n transform: translate(-50%, -50%);\n }\n }\n }\n\n label {\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: ",";\n }\n\n &[data-disabled='true'] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n }\n\n &[data-type='rectangle'] {\n input {\n display: none;\n\n &:checked ~ label {\n border-color: ",";\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n }\n\n label {\n display: inline-block;\n width: auto;\n box-sizing: border-box;\n flex-shrink: 0;\n border: solid 1px ",";\n border-radius: 6px;\n color: ",";\n cursor: pointer;\n font-weight: ",";\n text-align: center;\n\n &:hover,\n &:active {\n border-color: ",";\n }\n }\n\n &[data-disabled='true'] {\n input {\n cursor: not-allowed;\n }\n\n label {\n color: ",";\n cursor: not-allowed;\n\n &:hover {\n border-color: ",";\n }\n }\n }\n\n &[data-size='small'] {\n label {\n height: 32px;\n padding: 6px 12px;\n font-size: 13px;\n }\n }\n\n &[data-size='large'] {\n label {\n height: 48px;\n padding: 13px 16px;\n font-size: 14px;\n }\n }\n }\n"],["\n &[data-type='circle'] {\n position: relative;\n display: flex;\n align-items: center;\n cursor: pointer;\n\n input {\n position: relative;\n width: 20px;\n height: 20px;\n flex-shrink: 0;\n border: solid 1px ",";\n margin-right: 8px;\n border-radius: 100%;\n cursor: inherit;\n transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px ",";\n }\n\n &:checked {\n display: flex;\n align-items: center;\n justify-content: center;\n border-color: ",";\n &:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 14px;\n height: 14px;\n //left: 3px;\n //position: absolute;\n //top: 4px;\n background-color: ",";\n border-radius: 50%;\n content: '';\n transform: translate(-50%, -50%);\n }\n }\n }\n\n label {\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: ",";\n }\n\n &[data-disabled='true'] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n }\n\n &[data-type='rectangle'] {\n input {\n display: none;\n\n &:checked ~ label {\n border-color: ",";\n background-color: ",";\n color: ",";\n font-weight: ",";\n }\n }\n\n label {\n display: inline-block;\n width: auto;\n box-sizing: border-box;\n flex-shrink: 0;\n border: solid 1px ",";\n border-radius: 6px;\n color: ",";\n cursor: pointer;\n font-weight: ",";\n text-align: center;\n\n &:hover,\n &:active {\n border-color: ",";\n }\n }\n\n &[data-disabled='true'] {\n input {\n cursor: not-allowed;\n }\n\n label {\n color: ",";\n cursor: not-allowed;\n\n &:hover {\n border-color: ",";\n }\n }\n }\n\n &[data-size='small'] {\n label {\n height: 32px;\n padding: 6px 12px;\n font-size: 13px;\n }\n }\n\n &[data-size='large'] {\n label {\n height: 48px;\n padding: 13px 16px;\n font-size: 14px;\n }\n }\n }\n"])),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.white}),(function(n){return n.theme.sizes.fwBold}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.sizes.fwRegular}),(function(n){return n.theme.colors.blue600}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),d=function(n){var o=n.type,t=n.size,i=void 0===t?"small":t,a=n.label,l=n.name,s=n.checked,d=n.value,h=n.className,u=n.isDisabled,p=void 0!==u&&u,x=n.onChange,b=n.dataEventCategory,g=n.dataEventAction,m=n.dataEventLabel,f=!!g&&!!b&&!!m?{"data-event-category":b,"data-event-action":g,"data-event-label":m}:{};return r.createElement(c,{"data-disabled":p,className:h,"data-type":o,"data-size":i},r.createElement("label",e({style:{display:"flex",alignItems:"center"}},f),r.createElement("input",e({type:"radio",checked:s,name:l,value:d,onChange:function(){return x(d)}},f)),a))},h=o.div(l||(l=n(["\n textarea {\n width: 100%;\n height: var(--textarea-height, 116px);\n padding: 1rem;\n border: 1px solid ",";\n border-radius: 6px;\n color: ",";\n font-size: 14px;\n resize: none;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px #91caff;\n }\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n"],["\n textarea {\n width: 100%;\n height: var(--textarea-height, 116px);\n padding: 1rem;\n border: 1px solid ",";\n border-radius: 6px;\n color: ",";\n font-size: 14px;\n resize: none;\n\n &:focus {\n box-shadow: 0px 0px 2px 2px #91caff;\n }\n\n &::placeholder {\n color: ",";\n }\n\n &:disabled {\n background-color: ",";\n cursor: not-allowed;\n }\n }\n"])),(function(n){return n.theme.colors.gray200}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.neutral50})),u=r.forwardRef((function(n,e){var o,i=n.height,a=n.placeholder,l=n.labelText,s=n.labelColor,c=n.id,d=n.name,u=n.onChange,p=n.value,x=n.className,b=n.onKeyPress,g=n.disabled,m=void 0!==g&&g;return r.createElement(h,{className:x,style:(o={},o["--textarea-height"]=i||"116px",o)},l&&r.createElement(t,{size:"label2",style:{color:s||"#595959"},htmlFor:c},l),r.createElement("textarea",{name:d,ref:e,placeholder:a,id:c,onChange:function(n){return u&&u(n.target.value)},onKeyPress:function(n){return b&&b(n)},value:p,disabled:m}))})),p=o.div(s||(s=n(["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"],["\n display: flex;\n cursor: pointer;\n\n &[data-theme='marryBaby'] {\n input {\n width: 20px;\n height: 20px;\n border: 1.3px solid ",";\n border-radius: 9px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n width: calc(100% - 24px);\n cursor: inherit;\n font-weight: 600;\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ",";\n }\n }\n input {\n width: 20px;\n height: 20px;\n border: solid 1px ",";\n border-radius: 2px;\n\n cursor: inherit;\n transition: border-color 0.4s, box-shadow 0.4s;\n\n &:hover,\n &:active {\n border-color: ",";\n box-shadow: 0 0 2px 2px\n ",";\n }\n\n &:focus-visible {\n border: 2px solid\n ",";\n }\n\n &:checked {\n border: 0;\n background: ","\n url(\"data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")\n no-repeat center center;\n }\n }\n\n label {\n max-width: 15rem;\n margin-left: 8px;\n font-weight: ",";\n width: calc(100% - 24px);\n cursor: inherit;\n\n "," {\n font-size: 14px;\n line-height: 24px;\n }\n\n "," {\n font-size: 16px;\n line-height: 22px;\n }\n }\n\n &[data-is-rectangle] > input {\n position: relative;\n width: unset;\n height: unset;\n padding: 5px 12px;\n border: 1px solid ",";\n border-radius: 32px;\n\n &::after {\n color: ",";\n content: attr(data-label-text);\n font-size: 13px;\n }\n &:checked {\n border-color: ",";\n &::after {\n color: ",";\n }\n }\n &:checked {\n background: ",";\n }\n }\n\n &[data-disabled] {\n color: ",";\n cursor: not-allowed;\n input {\n border-color: ",";\n &:hover {\n border-color: ",";\n box-shadow: none;\n }\n }\n }\n"])),(function(n){return n.theme.mbColors.midGray}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.cobalt}),(function(n){return n.theme.mbColors.gray}),(function(n){return n.theme.colors.gray500}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue200}),(function(n){return n.theme.colors.primaryActive}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.sizes.fwRegular}),i.mbDown,i.mbUp,(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray800}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.primaryBase}),(function(n){return n.theme.colors.blue50}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300}),(function(n){return n.theme.colors.gray300})),x=function(n){var e=n.label,o=n.name,t=n.checked,i=n.className,a=n.isDisabled,l=n.onChange,s=n.value,c=n.isRectangle,d=n.inputDataTestId,h=n.siteType;return r.createElement(p,{className:i,"data-disabled":a||void 0,"data-is-rectangle":c||void 0,"data-label-text":e,"data-theme":h},r.createElement("input",{type:"checkbox",checked:t,name:o,onChange:function(){return l(s,!t)},disabled:a,value:s,id:"".concat(o,"-").concat(s),"data-label-text":e,"data-testid":d}),!c&&r.createElement("label",{htmlFor:"".concat(o,"-").concat(s)},e))};export{x as C,d as R,c as S,u as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{L as o}from"./Locale-cf028a1c.js";import{i as e}from"./isProduction-d5b5f0f6.js";var l,i,n={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},a={HELLO_HEALTH_GROUP:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",s={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},E={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},c={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},I="user",h=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],r=["vi-VN","id-ID"],O={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(i||(i={}));var p=((l={})[o.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},l[o.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.India]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},l[o.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},l[o.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},l[o.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},l[o.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},l),_=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:c,UP_BASEPATH:I,TOGETHER_LOCALES:h,CARE_LOCALES:T,CARE_BOOKING_LOCALES:r,FAVICONS:O,get QUERY_HEALTH_TOOL(){return i},ISO_FORMAT:p,siteHost:n,siteOptions:a,isProduction:e});export{T as C,O as F,p as I,E as L,i as Q,c as S,h as T,I as U,r as a,t as b,n as c,s as d,_ as i,a as s};
|
|
1
|
+
import{L as o}from"./Locale-6e104047.js";import{i as e}from"./isProduction-1b55d0a6.js";var l,i,n={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},a={HELLO_HEALTH_GROUP:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:o.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:o.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:o.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:o.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:o.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:o.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:o.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:o.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:o.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:o.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:o.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},t="userGeoLocationCoordinates",s={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},E={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},c={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},I="user",h=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],T=["vi-VN","id-ID","en-PH","tl-PH","zh-TW"],r=["vi-VN","id-ID"],O={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(i||(i={}));var p=((l={})[o.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},l[o.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.India]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},l[o.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},l[o.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},l[o.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},l[o.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},l[o.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},l),_=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:t,domainLocales:s,LOCALE_SPECS:E,STATIC_PAGES:c,UP_BASEPATH:I,TOGETHER_LOCALES:h,CARE_LOCALES:T,CARE_BOOKING_LOCALES:r,FAVICONS:O,get QUERY_HEALTH_TOOL(){return i},ISO_FORMAT:p,siteHost:n,siteOptions:a,isProduction:e});export{T as C,O as F,p as I,E as L,i as Q,c as S,h as T,I as U,r as a,t as b,n as c,s as d,_ as i,a as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{G as r,B as e,a as t,b as a}from"./BabyGrowth-bbbffebe.js";import{L as o}from"./Locale-6e104047.js";var b=Object.freeze({__proto__:null,get Gender(){return r},get BabyGrowthChartType(){return e},get BabyGrowthChartDuration(){return t},get BabyGrowthResultTab(){return a},get LOCALE(){return o}});export{b as i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as n,d as t,_ as e}from"./tslib.es6-
|
|
1
|
+
import{a as n,d as t,_ as e}from"./tslib.es6-bfb95386.js";import i from"react";import p from"styled-components";var o,a,h=p((function(n){var e=n.type,p=t(n,["type"]);return i.createElement(e,p)}))(o||(o=n(["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"],["\n color: var(--text-color, ",");\n font-family: Krub;\n font-weight: 600;\n letter-spacing: -0.2px;\n\n &[data-type='headline-1'] {\n font-size: 40px;\n line-height: 60px;\n }\n &[data-type='headline-2'] {\n font-size: 32px;\n line-height: 48px;\n }\n &[data-type='headline-3'] {\n font-size: 24px;\n line-height: 40px;\n }\n &[data-type='headline-4'] {\n font-size: 18px;\n line-height: 32px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),l=p.p(a||(a=n(["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"],["\n color: var(--text-color, ",");\n letter-spacing: -0.2px;\n\n &[data-type='subtitle-1'] {\n font-size: 16px;\n font-weight: 600;\n line-height: 26px;\n }\n &[data-type='subtitle-2'] {\n font-size: 14px;\n font-weight: 500;\n line-height: 24px;\n }\n &[data-type='subtitle-3'] {\n font-size: 12px;\n font-weight: 500;\n line-height: 20px;\n }\n &[data-type='bodytext-1'] {\n font-size: 16px;\n font-weight: 400;\n line-height: 28px;\n }\n &[data-type='bodytext-2'] {\n font-size: 14px;\n font-weight: 400;\n line-height: 24px;\n }\n &[data-type='bodytext-3'] {\n font-size: 12px;\n font-weight: 400;\n line-height: 20px;\n }\n &[data-type='caption-1'] {\n font-size: 10px;\n font-weight: 500;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n &[data-type='caption-2'] {\n font-size: 10px;\n font-weight: 400;\n letter-spacing: -0.1px;\n line-height: 14px;\n }\n"])),(function(n){return n.theme.mbColors.dark})),x=function(n){var p=n.type,o=n.color,a=n.style,l=t(n,["type","color","style"]);return i.createElement(h,e({type:p,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[p],style:e(e({},o&&{"--text-color":o}),a)},l))},r=function(n){var p=n.type,o=n.color,a=n.style,h=t(n,["type","color","style"]);return i.createElement(l,e({"data-type":p,style:e(e({},a),o&&{"--text-color":o})},h))};export{r as M,x as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import n,{useState as e}from"react";import{F as t}from"./index-
|
|
1
|
+
import n,{useState as e}from"react";import{F as t}from"./index-412ffd4b.js";import{a as o}from"./tslib.es6-bfb95386.js";import i from"styled-components";import{T as r}from"./index-f95e1673.js";import{CommonGAssets as l}from"./gAssets.js";var a,d,s,p,c,u,h=i.a(a||(a=o(["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"],["\n display: inline-flex;\n position: relative;\n flex-direction: row;\n align-items: center;\n padding: 7px 11px;\n gap: 2px;\n\n background: ",";\n border: 1px solid ",";\n border-radius: 20px;\n\n color: ",";\n font-weight: 600;\n font-size: 12px;\n line-height: 18px;\n text-decoration: none;\n\n cursor: pointer;\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.neutral100}),(function(n){return n.theme.colors.gray600})),f=i.div(d||(d=o(["\n position: relative;\n display: inline-block;\n"],["\n position: relative;\n display: inline-block;\n"]))),x=i.div(s||(s=o(["\n position: relative;\n"],["\n position: relative;\n"]))),g=i.div(p||(p=o(["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"],["\n position: absolute;\n z-index: 21;\n top: 100%;\n right: 0;\n width: 327px;\n padding: 8px;\n background: white;\n border-radius: 4px;\n filter: drop-shadow(0px 8px 40px rgba(0, 0, 0, 0.1));\n\n &[data-is-open='false'] {\n display: none;\n }\n &[data-show-indicator='true'] {\n &:before {\n position: absolute;\n right: 11px;\n bottom: 100%;\n width: 0;\n height: 0;\n border: 0.5rem solid transparent;\n border-top: none;\n border-bottom-color: #fff;\n content: '';\n filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));\n }\n }\n"]))),b=i.div(c||(c=o(["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"],["\n display: flex;\n height: 40px;\n align-items: center;\n justify-content: space-between;\n\n padding: 0 16px;\n border-radius: 6px;\n cursor: pointer;\n\n .check-icon {\n width: 16px;\n height: 16px;\n }\n &[data-selected='false'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.gray100})),m=i.div(u||(u=o(["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"],["\n position: fixed;\n z-index: 20;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: default;\n"]))),v=function(t){var o=t.options,i=t.label,a=t.labelRenderer,d=t.selected,s=t.onChange,p=t.showSelected,c=void 0===p||p,u=t.style,h=void 0===u?{}:u,v=t.showIndicator,w=void 0===v||v,y=e(!1),k=y[0],E=y[1];return n.createElement(n.Fragment,null,n.createElement(f,null,n.createElement(x,{onClick:function(){return E((function(n){return!n}))}},i||(null==a?void 0:a(k))||null,n.createElement(g,{"data-is-open":k,style:h,"data-show-indicator":w},o.map((function(e,t){return n.createElement(b,{key:t,"data-selected":c&&d===e.value,onClick:function(n){d!==e.value&&(s(e.value),E((function(n){return!n}))),n.stopPropagation()}},n.createElement(r,{size:"p3"},e.label),c&&d===e.value&&n.createElement("img",{src:l.getAssetPath("check.svg"),alt:"check",className:"check-icon"}))}))))),k&&n.createElement(m,{onClick:function(){return E(!1)}}))},w=function(e){var t,o,i=e.languageOptions,r=e.locale,l=null==i?void 0:i.find((function(n){return n.locale===r}));return(null==i?void 0:i.length)?n.createElement(v,{options:i,selected:l.value,label:n.createElement(y,{locale:r,label:l.label||(null===(o=null===(t=r.split("-"))||void 0===t?void 0:t[0])||void 0===o?void 0:o.toUpperCase())}),onChange:function(n){"undefined"!=typeof window&&(window.location.href=n)},style:{width:100},showSelected:!0,showIndicator:!1}):null},y=function(e){var o,i,r,l=e.locale,a=e.label,d=e.href;return n.createElement(h,{href:d},n.createElement(t,{country:null===(i=null===(o=null==l?void 0:l.split("-"))||void 0===o?void 0:o[1])||void 0===i?void 0:i.toUpperCase(),width:16,height:16,rounded:!0,language:null===(r=null==l?void 0:l.split("-"))||void 0===r?void 0:r[0]}),n.createElement("span",null,a))};export{w as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import n,{useRef as e,useEffect as t,useState as i}from"react";import{Portal as a}from"@mantine/core";import{t as o}from"./utils-609f92c6.js";import{a as r}from"./tslib.es6-311b0e1d.js";import d,{css as s}from"styled-components";import{T as l}from"./index-2d47e5df.js";import{t as p}from"./theme-62332c00.js";import{s as u,e as x,b as c,f,c as m,g as h,a as b,d as g}from"./animation-e731c134.js";import{M as w}from"./index-fbf844b8.js";var v,C,y,k,E,O,j,z,L,N,T,B,D,F,M,G,I,P=d.div(v||(v=r(["\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n background-color: rgba(38, 38, 38, 0.3);\n z-index: 1;\n &[data-open='false'] {\n visibility: hidden;\n pointer-events: none;\n }\n &[data-open='true'] {\n visibility: visible;\n pointer-events: auto;\n }\n"],["\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n background-color: rgba(38, 38, 38, 0.3);\n z-index: 1;\n &[data-open='false'] {\n visibility: hidden;\n pointer-events: none;\n }\n &[data-open='true'] {\n visibility: visible;\n pointer-events: auto;\n }\n"]))),R=function(e){var t=e.open,i=void 0!==t&&t,a=e.onClickOutside;return n.createElement(P,{"data-open":i,onClick:a})},V="600ms",Z=d.div(B||(B=r(["\n position: fixed;\n inset: 0;\n z-index: ",";\n pointer-events: ",";\n"],["\n position: fixed;\n inset: 0;\n z-index: ",";\n pointer-events: ",";\n"])),p.zIndexes.drawer,(function(n){return n.open?"auto":"none"})),q=d.div(F||(F=r(["\n position: fixed;\n z-index: 300;\n background: #ffffff;\n visibility: ",";\n max-height: calc(100vh - 100px);\n display: flex;\n flex-direction: column;\n .title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n ","\n }\n\n .close-button {\n margin-left: auto;\n }\n\n ","\n"],["\n position: fixed;\n z-index: 300;\n background: #ffffff;\n visibility: ",";\n max-height: calc(100vh - 100px);\n display: flex;\n flex-direction: column;\n .title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n ","\n }\n\n .close-button {\n margin-left: auto;\n }\n\n ","\n"])),(function(n){return n.open?"visible":"hidden"}),(function(n){return n.hasTitle?s(D||(D=r(["\n border-bottom: 1px solid ",";\n "],["\n border-bottom: 1px solid ",";\n "])),p.colors.neutral100):null}),(function(n){return function(n,e){switch(n){case"top":return s(y||(y=r(["\n top: 0;\n width: 100%;\n border-radius: 0px 0px 6px 6px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n top: 0;\n width: 100%;\n border-radius: 0px 0px 6px 6px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(C||(C=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),b,V):null,g,V);case"right":return s(E||(E=r(["\n right: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 6px 0px 0px 6px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n right: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 6px 0px 0px 6px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(k||(k=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),m,V):null,h,V);case"bottom":return s(j||(j=r(["\n bottom: 0;\n width: 100%;\n border-radius: 6px 6px 0px 0px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n bottom: 0;\n width: 100%;\n border-radius: 6px 6px 0px 0px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(O||(O=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),u,V):null,x,V);case"left":return s(L||(L=r(["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(z||(z=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),c,V):null,f,V);default:return s(T||(T=r(["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(N||(N=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),u,V):null,x,V)}}(n.placement,n.open)})),A=d.div(M||(M=r(["\n min-height: 200px;\n padding: 16px;\n overflow-y: auto;\n"],["\n min-height: 200px;\n padding: 16px;\n overflow-y: auto;\n"]))),H=function(i){var r=i.children,d=i.title,s=i.onClose,p=i.open,u=void 0!==p&&p,x=i.placement,c=void 0===x?"left":x,f=i.destroyOnClose,m=void 0!==f&&f,h=i.className,b=e();t((function(){return o(u),function(){return o(!1)}}),[u]);var g=function(){b.current.classList.add("slideOut"),setTimeout((function(){s()}),800)};return!u&&m?null:n.createElement(a,null,n.createElement(Z,{className:h,open:u},n.createElement(R,{open:u,onClickOutside:g}),n.createElement(q,{open:u,placement:c,ref:b,hasTitle:Boolean(d)},n.createElement("div",{className:"title"},d&&n.createElement(l,{size:"s2",type:"semiBold"},d),n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:g},n.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),n.createElement(A,{onClick:function(n){return n.stopPropagation()}},r&&(n.isValidElement(r)?r:"function"==typeof r?r({internalClose:g}):null)))))},J=d.div(G||(G=r(["\n display: flex;\n width: 100%;\n\n &[data-direction='vertical'] {\n flex-direction: column;\n }\n\n &[data-direction='horizontal'] {\n flex-wrap: wrap;\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-direction='vertical'] {\n flex-direction: column;\n }\n\n &[data-direction='horizontal'] {\n flex-wrap: wrap;\n }\n"]))),K=d.div(I||(I=r(["\n display: flex;\n\n padding: 8px;\n\n border-radius: 6px;\n cursor: pointer;\n\n & > div {\n display: flex;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n }\n\n &[data-is-mb='false'] {\n &[data-selected='true'] {\n border: 1px solid #2d87f3;\n background: white;\n }\n &[data-selected='false'] {\n border: 1px solid #f2f2f2;\n box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);\n }\n }\n\n &[data-is-mb='true'] {\n border-radius: 16px;\n background: white;\n padding: 16px auto;\n\n &[data-selected='true'] {\n border: 1px solid ",";\n box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);\n }\n &[data-selected='false'] {\n border: none;\n }\n }\n\n &[data-disabled='true'] {\n cursor: auto;\n }\n\n .radio-group-item-heading {\n margin-top: 8px;\n //height: 48px;\n text-align: center;\n }\n\n .gender-image {\n width: 70px;\n height: 70px;\n &[data-is-mobile='true'] {\n width: 40px;\n height: 40px;\n }\n }\n"],["\n display: flex;\n\n padding: 8px;\n\n border-radius: 6px;\n cursor: pointer;\n\n & > div {\n display: flex;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n }\n\n &[data-is-mb='false'] {\n &[data-selected='true'] {\n border: 1px solid #2d87f3;\n background: white;\n }\n &[data-selected='false'] {\n border: 1px solid #f2f2f2;\n box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);\n }\n }\n\n &[data-is-mb='true'] {\n border-radius: 16px;\n background: white;\n padding: 16px auto;\n\n &[data-selected='true'] {\n border: 1px solid ",";\n box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);\n }\n &[data-selected='false'] {\n border: none;\n }\n }\n\n &[data-disabled='true'] {\n cursor: auto;\n }\n\n .radio-group-item-heading {\n margin-top: 8px;\n //height: 48px;\n text-align: center;\n }\n\n .gender-image {\n width: 70px;\n height: 70px;\n &[data-is-mobile='true'] {\n width: 40px;\n height: 40px;\n }\n }\n"])),(function(n){return n.theme.mbColors.mint})),Q=function(e){var t=e.value,a=e.options,o=e.className,r=e.direction,d=void 0===r?"horizontal":r,s=e.onChange,u=e.isDisabled,x=e.siteType,c=i(t),f=c[0],m=c[1],h="marryBaby"===x;return n.createElement(J,{className:o,"data-direction":d},a.map((function(e,i){return n.createElement(K,{"data-selected":(t||f)===e.value,"data-is-mb":h,"data-disabled":u,key:i,onClick:function(){var n;n=e.value,u||(m(n),s&&s(n))}},n.createElement("div",null,e.content,e.label&&n.createElement(n.Fragment,null,h?n.createElement(w,{type:"subtitle-2",color:(t||f)===e.value?p.mbColors.dark:p.mbColors.midGray},e.label):n.createElement(l,{type:"bold",color:(t||f)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label))))})))};export{H as D,Q as R};
|
|
1
|
+
import n,{useRef as e,useEffect as t,useState as i}from"react";import{Portal as a}from"@mantine/core";import{t as o}from"./utils-d6f6da15.js";import{a as r}from"./tslib.es6-bfb95386.js";import d,{css as s}from"styled-components";import{T as l}from"./index-f95e1673.js";import{t as p}from"./theme-ee5d0e66.js";import{s as u,e as x,b as c,f,c as m,g as h,a as b,d as g}from"./animation-79000a59.js";import{M as w}from"./index-eb624b4f.js";var v,C,y,k,E,O,j,z,L,N,T,B,D,F,M,G,I,P=d.div(v||(v=r(["\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n background-color: rgba(38, 38, 38, 0.3);\n z-index: 1;\n &[data-open='false'] {\n visibility: hidden;\n pointer-events: none;\n }\n &[data-open='true'] {\n visibility: visible;\n pointer-events: auto;\n }\n"],["\n position: fixed;\n inset: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n background-color: rgba(38, 38, 38, 0.3);\n z-index: 1;\n &[data-open='false'] {\n visibility: hidden;\n pointer-events: none;\n }\n &[data-open='true'] {\n visibility: visible;\n pointer-events: auto;\n }\n"]))),R=function(e){var t=e.open,i=void 0!==t&&t,a=e.onClickOutside;return n.createElement(P,{"data-open":i,onClick:a})},V="600ms",Z=d.div(B||(B=r(["\n position: fixed;\n inset: 0;\n z-index: ",";\n pointer-events: ",";\n"],["\n position: fixed;\n inset: 0;\n z-index: ",";\n pointer-events: ",";\n"])),p.zIndexes.drawer,(function(n){return n.open?"auto":"none"})),q=d.div(F||(F=r(["\n position: fixed;\n z-index: 300;\n background: #ffffff;\n visibility: ",";\n max-height: calc(100vh - 100px);\n display: flex;\n flex-direction: column;\n .title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n ","\n }\n\n .close-button {\n margin-left: auto;\n }\n\n ","\n"],["\n position: fixed;\n z-index: 300;\n background: #ffffff;\n visibility: ",";\n max-height: calc(100vh - 100px);\n display: flex;\n flex-direction: column;\n .title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 16px;\n ","\n }\n\n .close-button {\n margin-left: auto;\n }\n\n ","\n"])),(function(n){return n.open?"visible":"hidden"}),(function(n){return n.hasTitle?s(D||(D=r(["\n border-bottom: 1px solid ",";\n "],["\n border-bottom: 1px solid ",";\n "])),p.colors.neutral100):null}),(function(n){return function(n,e){switch(n){case"top":return s(y||(y=r(["\n top: 0;\n width: 100%;\n border-radius: 0px 0px 6px 6px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n top: 0;\n width: 100%;\n border-radius: 0px 0px 6px 6px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(C||(C=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),b,V):null,g,V);case"right":return s(E||(E=r(["\n right: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 6px 0px 0px 6px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n right: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 6px 0px 0px 6px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(k||(k=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),m,V):null,h,V);case"bottom":return s(j||(j=r(["\n bottom: 0;\n width: 100%;\n border-radius: 6px 6px 0px 0px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n bottom: 0;\n width: 100%;\n border-radius: 6px 6px 0px 0px;\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(O||(O=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),u,V):null,x,V);case"left":return s(L||(L=r(["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(z||(z=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),c,V):null,f,V);default:return s(T||(T=r(["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "],["\n left: 0;\n height: 100%;\n min-width: 300px;\n border-radius: 0px 6px 6px 0px;\n\n ","\n\n &.slideOut {\n animation: "," "," ease-in-out forwards;\n }\n "])),e?s(N||(N=r(["\n animation: "," "," ease-in-out forwards;\n "],["\n animation: "," "," ease-in-out forwards;\n "])),u,V):null,x,V)}}(n.placement,n.open)})),A=d.div(M||(M=r(["\n min-height: 200px;\n padding: 16px;\n overflow-y: auto;\n"],["\n min-height: 200px;\n padding: 16px;\n overflow-y: auto;\n"]))),H=function(i){var r=i.children,d=i.title,s=i.onClose,p=i.open,u=void 0!==p&&p,x=i.placement,c=void 0===x?"left":x,f=i.destroyOnClose,m=void 0!==f&&f,h=i.className,b=e();t((function(){return o(u),function(){return o(!1)}}),[u]);var g=function(){b.current.classList.add("slideOut"),setTimeout((function(){s()}),800)};return!u&&m?null:n.createElement(a,null,n.createElement(Z,{className:h,open:u},n.createElement(R,{open:u,onClickOutside:g}),n.createElement(q,{open:u,placement:c,ref:b,hasTitle:Boolean(d)},n.createElement("div",{className:"title"},d&&n.createElement(l,{size:"s2",type:"semiBold"},d),n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:g},n.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),n.createElement(A,{onClick:function(n){return n.stopPropagation()}},r&&(n.isValidElement(r)?r:"function"==typeof r?r({internalClose:g}):null)))))},J=d.div(G||(G=r(["\n display: flex;\n width: 100%;\n\n &[data-direction='vertical'] {\n flex-direction: column;\n }\n\n &[data-direction='horizontal'] {\n flex-wrap: wrap;\n }\n"],["\n display: flex;\n width: 100%;\n\n &[data-direction='vertical'] {\n flex-direction: column;\n }\n\n &[data-direction='horizontal'] {\n flex-wrap: wrap;\n }\n"]))),K=d.div(I||(I=r(["\n display: flex;\n\n padding: 8px;\n\n border-radius: 6px;\n cursor: pointer;\n\n & > div {\n display: flex;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n }\n\n &[data-is-mb='false'] {\n &[data-selected='true'] {\n border: 1px solid #2d87f3;\n background: white;\n }\n &[data-selected='false'] {\n border: 1px solid #f2f2f2;\n box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);\n }\n }\n\n &[data-is-mb='true'] {\n border-radius: 16px;\n background: white;\n padding: 16px auto;\n\n &[data-selected='true'] {\n border: 1px solid ",";\n box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);\n }\n &[data-selected='false'] {\n border: none;\n }\n }\n\n &[data-disabled='true'] {\n cursor: auto;\n }\n\n .radio-group-item-heading {\n margin-top: 8px;\n //height: 48px;\n text-align: center;\n }\n\n .gender-image {\n width: 70px;\n height: 70px;\n &[data-is-mobile='true'] {\n width: 40px;\n height: 40px;\n }\n }\n"],["\n display: flex;\n\n padding: 8px;\n\n border-radius: 6px;\n cursor: pointer;\n\n & > div {\n display: flex;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n }\n\n &[data-is-mb='false'] {\n &[data-selected='true'] {\n border: 1px solid #2d87f3;\n background: white;\n }\n &[data-selected='false'] {\n border: 1px solid #f2f2f2;\n box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);\n }\n }\n\n &[data-is-mb='true'] {\n border-radius: 16px;\n background: white;\n padding: 16px auto;\n\n &[data-selected='true'] {\n border: 1px solid ",";\n box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);\n }\n &[data-selected='false'] {\n border: none;\n }\n }\n\n &[data-disabled='true'] {\n cursor: auto;\n }\n\n .radio-group-item-heading {\n margin-top: 8px;\n //height: 48px;\n text-align: center;\n }\n\n .gender-image {\n width: 70px;\n height: 70px;\n &[data-is-mobile='true'] {\n width: 40px;\n height: 40px;\n }\n }\n"])),(function(n){return n.theme.mbColors.mint})),Q=function(e){var t=e.value,a=e.options,o=e.className,r=e.direction,d=void 0===r?"horizontal":r,s=e.onChange,u=e.isDisabled,x=e.siteType,c=i(t),f=c[0],m=c[1],h="marryBaby"===x;return n.createElement(J,{className:o,"data-direction":d},a.map((function(e,i){return n.createElement(K,{"data-selected":(t||f)===e.value,"data-is-mb":h,"data-disabled":u,key:i,onClick:function(){var n;n=e.value,u||(m(n),s&&s(n))}},n.createElement("div",null,e.content,e.label&&n.createElement(n.Fragment,null,h?n.createElement(w,{type:"subtitle-2",color:(t||f)===e.value?p.mbColors.dark:p.mbColors.midGray},e.label):n.createElement(l,{type:"bold",color:(t||f)===e.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},e.label))))})))};export{H as D,Q as R};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import n,{useState as e,useRef as t,useEffect as o}from"react";import{u as i}from"./useScrollbarSize-
|
|
1
|
+
import n,{useState as e,useRef as t,useEffect as o}from"react";import{u as i}from"./useScrollbarSize-fc234f6d.js";import{createPortal as a}from"react-dom";import{a as d}from"./tslib.es6-bfb95386.js";import{M as r}from"./utils-d6f6da15.js";import{g as l}from"./defaultClassWrapper-a9f0d373.js";import s from"styled-components";import{u as c}from"./useTranslations-8d6045eb.js";import{t as h}from"./theme-ee5d0e66.js";import{I as p}from"./index-30f3989e.js";import{a as m}from"./index-eb624b4f.js";import{T as u}from"./index-f95e1673.js";import{R as g}from"./index-f427cba5.js";import{G as f}from"./BabyGrowth-bbbffebe.js";var x,y,b,v,w,_="hhgcomp-modal-modal",j=l(s.div(x||(x=d(["\n position: relative;\n z-index: 200;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &[data-site-type='marryBaby'] {\n border-radius: 16px;\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n\n padding: 24px;\n }\n }\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n .hhg-modal__video {\n position: relative;\n z-index: 111;\n height: 100%;\n background-color: none;\n box-shadow: none;\n }\n"],["\n position: relative;\n z-index: 200;\n background-color: ",";\n border-radius: 6px;\n box-shadow: 0px 4px 8px ",";\n &[data-site-type='marryBaby'] {\n border-radius: 16px;\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n\n padding: 24px;\n }\n }\n .hhg-modal__content {\n position: relative;\n z-index: 111;\n height: 100%;\n padding: 16px;\n }\n .hhg-modal__video {\n position: relative;\n z-index: 111;\n height: 100%;\n background-color: none;\n box-shadow: none;\n }\n"])),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.gray200})),_),E=s.div(y||(y=d(["\n position: fixed;\n top: 0;\n left: 0;\n z-index: 201;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n visibility: hidden;\n background-color: rgba(38, 38, 38, 0.3);\n\n .hhg-modal__close {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n &[data-type='video'] {\n z-index: 1001;\n }\n &[data-open='true'] {\n visibility: visible;\n }\n\n &.slideTop {\n ."," {\n transform: translate(0, -100vh);\n transition: all 0.5s ease;\n }\n\n &[data-open='true'] {\n ."," {\n transform: translate(0);\n }\n }\n }\n\n &.scaleUp {\n ."," {\n transform: scale(0.9);\n }\n\n &[data-open='true'] {\n ."," {\n transition: all 0.3s ease-out;\n transform: scale(1);\n }\n }\n }\n\n &[data-type='tail'] {\n justify-content: flex-end;\n ."," {\n width: 420px;\n height: 100%;\n border-radius: 0;\n overflow: hidden auto;\n }\n }\n &[data-type='form'] {\n ."," {\n width: 496px;\n height: 548px;\n max-height: 100%;\n overflow-y: auto;\n "," {\n width: 340px;\n }\n }\n }\n &[data-type='video'] {\n ."," {\n height: 100%;\n max-height: 539px;\n "," {\n height: 192px;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n max-height: 192px;\n }\n }\n }\n &[data-type='confirm'] {\n ."," {\n width: 100%;\n max-width: 407px;\n "," {\n width: calc(100% - 32px);\n max-width: calc(100% - 32px);\n }\n }\n }\n"],["\n position: fixed;\n top: 0;\n left: 0;\n z-index: 201;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n visibility: hidden;\n background-color: rgba(38, 38, 38, 0.3);\n\n .hhg-modal__close {\n position: absolute;\n top: 16px;\n right: 16px;\n cursor: pointer;\n img {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n }\n }\n &[data-type='video'] {\n z-index: 1001;\n }\n &[data-open='true'] {\n visibility: visible;\n }\n\n &.slideTop {\n ."," {\n transform: translate(0, -100vh);\n transition: all 0.5s ease;\n }\n\n &[data-open='true'] {\n ."," {\n transform: translate(0);\n }\n }\n }\n\n &.scaleUp {\n ."," {\n transform: scale(0.9);\n }\n\n &[data-open='true'] {\n ."," {\n transition: all 0.3s ease-out;\n transform: scale(1);\n }\n }\n }\n\n &[data-type='tail'] {\n justify-content: flex-end;\n ."," {\n width: 420px;\n height: 100%;\n border-radius: 0;\n overflow: hidden auto;\n }\n }\n &[data-type='form'] {\n ."," {\n width: 496px;\n height: 548px;\n max-height: 100%;\n overflow-y: auto;\n "," {\n width: 340px;\n }\n }\n }\n &[data-type='video'] {\n ."," {\n height: 100%;\n max-height: 539px;\n "," {\n height: 192px;\n width: 100%;\n height: 100%;\n border-radius: 6px;\n max-height: 192px;\n }\n }\n }\n &[data-type='confirm'] {\n ."," {\n width: 100%;\n max-width: 407px;\n "," {\n width: calc(100% - 32px);\n max-width: calc(100% - 32px);\n }\n }\n }\n"])),_,_,_,_,_,_,r.mbDown,_,r.mbDown,_,r.mbDown),k=s.div(b||(b=d(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n align-items: center;\n\n &[data-open='false'] {\n display: none;\n }\n &[data-type='video'] {\n background-color: ",";\n }\n"],["\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n align-items: center;\n\n &[data-open='false'] {\n display: none;\n }\n &[data-type='video'] {\n background-color: ",";\n }\n"])),(function(n){return n.theme.colors.secondaryDark})),B="hhg-modals",z=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&document.body.classList.remove("hhc-modal-show")},C=function(){document.querySelectorAll('.hhg-modal[data-open="true"]').length<1&&(document.body.style.overflow="",document.body.style.paddingRight="",document.body.classList.remove("hhc-disabled-scroll"))},T=function(d){var r=d.type,l=void 0===r?"lead":r,s=d.closeIcon,c=d.isOpen,h=void 0===c||c,p=d.onClose,m=d.children,u=d.className,g=void 0===u?"":u,f=d.animationType,x=void 0===f?"slideTop":f,y=d.isStaticBackdrop,b=void 0!==y&&y,v=d.siteType;d.style;var w=e(!1),_=w[0],T=w[1],G=t(null),N=i().width;if(!G.current&&_&&(G.current=document.createElement("div")),o((function(){return T(!0),function(){T(!1),z(),C()}}),[]),o((function(){if(_){var n=((e=document.getElementById(B))||((e=document.createElement("div")).setAttribute("id",B),document.body.append(e)),e);return n.appendChild(G.current),function(){n.removeChild(G.current)}}var e}),[_]),o((function(){h?document.body.classList.add("hhc-modal-show"):z()}),[h]),o((function(){h?(document.body.style.overflow="hidden",document.body.style.paddingRight=N+"px",document.body.classList.add("hhc-disabled-scroll")):C()}),[h,N]),!_)return null;var S=["hhg-modal__wrapper",g,x].filter((function(n){return n})).join(" ");return a(n.createElement(E,{className:S,"data-open":h,"data-type":l},!b&&n.createElement(k,{"data-open":h,onClick:p,"data-type":l}),!b&&"video"===l&&!!s&&n.createElement("div",{className:"hhg-modal__close",onClick:p},s),n.createElement(j,{className:"hhg-modal","data-open":h,"data-site-type":v},n.createElement("div",{className:"video"===l?"hhg-modal__video":"hhg-modal__content"},!!s&&"video"!==l&&n.createElement("div",{className:"hhg-modal__close",onClick:p},s),m))),G.current)},G=s.div(v||(v=d(["\n & > :not(:last-child) {\n margin-bottom: 8px;\n }\n\n .gender-selector {\n & > :not(:last-child) {\n margin-right: 16px;\n }\n\n & > div {\n width: calc(50% - 8px);\n\n "," {\n justify-self: left;\n }\n }\n }\n"],["\n & > :not(:last-child) {\n margin-bottom: 8px;\n }\n\n .gender-selector {\n & > :not(:last-child) {\n margin-right: 16px;\n }\n\n & > div {\n width: calc(50% - 8px);\n\n "," {\n justify-self: left;\n }\n }\n }\n"])),r.mbUp),N=s(g)(w||(w=d(["\n & > div > div {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-content: center;\n gap: 8px;\n padding-block: 5px;\n }\n .radio-group-item-heading {\n margin-top: 0;\n }\n"],["\n & > div > div {\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-content: center;\n gap: 8px;\n padding-block: 5px;\n }\n .radio-group-item-heading {\n margin-top: 0;\n }\n"]))),S=function(e){var t=e.value,o=e.onChange,i=e.siteType,a=c().t,d="marryBaby"==i;return n.createElement(G,{"data-is-marryBaby":d},d?n.createElement(m,{type:"h4",color:h.mbColors.dark},a("babyVaccineTool.selectGender")):n.createElement(u,{size:"label2",type:"bold",style:{marginBottom:"0.5rem"}},a("babyVaccineTool.selectGender")),n.createElement(N,{siteType:i,options:[{value:f.Boy,label:a("gender.male"),content:d?n.createElement(p.BabyBoyMB,null):n.createElement(p.GenderChooseBoy,null)},{value:f.Girl,label:a("gender.female"),content:d?n.createElement(p.BabyGirlMB,null):n.createElement(p.GenderChooseGirl,null)}],value:t,onChange:o,className:"gender-selector"}))};export{S as B,T as M};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as a,_ as e}from"./tslib.es6-bfb95386.js";import t from"react";var r="wIj6fkD",o=function(o){var s=o.size,c=void 0===s?"base":s,d=o.type,n=void 0===d?"regular":d,i=o.className,l=o.style,p=o.children,v=o.color,m=o.dataEventCategory,y=o.dataEventAction,b=o.dataEventLabel,E=o.as,f=void 0===E?"p":E,u=o.wordWrap,w=o.isUppercase,g=a(o,["size","type","className","style","children","color","dataEventCategory","dataEventAction","dataEventLabel","as","wordWrap","isUppercase"]),z=f;return t.createElement(z,e({"data-size":c,"data-type":n,style:e(e({},l),v?{"--custom-color":v}:void 0),className:"".concat(r," ").concat(i||""),"data-event-category":m,"data-event-action":y,"data-event-label":b,"data-word-wrap":u,"data-is-uppercase":w},g),p)};export{o as T};
|