@hhgtech/hhg-components 1.28.44 → 1.28.46
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/README.md +5 -0
- package/build/animation-1e9aff6a.js +81 -0
- package/build/babyGrowth.js +24 -24
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/{constants-53ed67a1.js → constants-28db3174.js} +1 -1
- package/build/{constants-1b55e92a.js → constants-627c575a.js} +2 -2
- package/build/constants.js +1 -1
- package/build/{core-7ce3a7ec.js → core-19b328be.js} +1 -1
- package/build/dataTransform-308ec1d0.js +1 -0
- package/build/ecom.js +1 -1
- package/build/esm/animation-03daa77e.js +81 -0
- package/build/esm/babyGrowth.js +38 -38
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/{constants-63c68cb5.js → constants-414e0341.js} +1 -1
- package/build/esm/{constants-3923407c.js → constants-e35c5696.js} +2 -2
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-9bf4e218.js → core-091d7f79.js} +1 -1
- package/build/esm/dataTransform-6f1823e1.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-37333454.js +1 -0
- package/build/esm/{getSocialList-4cd36db5.js → getSocialList-a6c965a8.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/i18nV2.js +1 -1
- package/build/esm/{index-cf5e3a41.js → index-1bf1317e.js} +9 -9
- package/build/esm/{index-4bcf944f.js → index-34cf1092.js} +1 -1
- package/build/esm/{index-c011f60e.js → index-3d2b9817.js} +1 -1
- package/build/esm/index-3e89f917.js +1 -0
- package/build/esm/{index-d2d4296b.js → index-4786b57c.js} +1 -1
- package/build/esm/{index-c55d9a53.js → index-49c2a65e.js} +1 -1
- package/build/esm/index-5cacbac8.js +1 -0
- package/build/esm/index-638a744e.js +1 -0
- package/build/esm/index-73532662.js +1 -0
- package/build/esm/{index-219d0267.js → index-7b8714ba.js} +1 -1
- package/build/esm/index-865973f4.js +375 -0
- package/build/esm/index-92506b05.js +1 -0
- package/build/esm/{index-bc7b446c.js → index-9e5a2805.js} +5 -5
- package/build/esm/index-a0bcdf6a.js +1 -0
- package/build/esm/index-bb8dc02f.js +1 -0
- package/build/esm/{index-49f5f7fe.js → index-bcca5543.js} +1 -1
- package/build/esm/index-c1cb45b2.js +1 -0
- package/build/esm/index-cb13973d.js +50 -0
- package/build/esm/index-cc5ea46f.js +137 -0
- package/build/esm/index-d18cfff8.js +2748 -0
- package/build/esm/index-d6dac1a0.js +177 -0
- package/build/esm/index-f21deeb6.js +1430 -0
- package/build/esm/index-fd0e0617.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-93aedd4f.js → index.styled-b876c90a.js} +3 -3
- package/build/esm/index.styles-00233f7a.js +839 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboardingV2.js +34 -34
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-eb0f44e6.js → routing-5b211351.js} +1 -1
- package/build/esm/subot.js +124 -124
- package/build/esm/together.js +1 -1
- package/build/esm/types-21b8927e.js +3004 -0
- package/build/esm/{types-432589c8.js → types-242705e6.js} +10 -10
- package/build/esm/types.js +1 -1
- package/build/esm/useCategory-2e217da0.js +1 -0
- package/build/esm/useHealthToolCache-011e34e2.js +1 -0
- package/build/esm/{usePlacesAutocomplete-db537374.js → usePlacesAutocomplete-ed4983f5.js} +1 -1
- package/build/esm/{useTranslations-154c6e71.js → useTranslations-80f9bf98.js} +1 -1
- package/build/esm/{utils-283a240e.js → utils-19ad9237.js} +2 -2
- package/build/esm/utils-39fb1c8c.js +7 -0
- package/build/esm/utils-3f639011.js +1 -0
- package/build/esm/{utils-e247d963.js → utils-d4e0e9b5.js} +1 -1
- package/build/esm/vaccination.js +40 -40
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-3e4543ff.js +1 -0
- package/build/{getSocialList-2ef855cd.js → getSocialList-196c323b.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/index-065c9097.js +1 -0
- package/build/index-07dff904.js +1 -0
- package/build/index-0c7093ea.js +50 -0
- package/build/{index-cc5c10b5.js → index-0f6355d4.js} +1 -1
- package/build/index-19e259ce.js +1 -0
- package/build/index-2420eee5.js +1430 -0
- package/build/index-425f3390.js +1 -0
- package/build/index-43df25b1.js +1 -0
- package/build/{index-a4fbcb10.js → index-4a8b5e48.js} +1 -1
- package/build/index-4c4d7568.js +137 -0
- package/build/{index-a1855a8c.js → index-4de92198.js} +4 -4
- package/build/{index-f97ad29a.js → index-5385e211.js} +1 -1
- package/build/{index-4ec0c769.js → index-6f8ff7df.js} +1 -1
- package/build/index-7154350f.js +375 -0
- package/build/{index-1cce3d61.js → index-8a21ecb2.js} +1 -1
- package/build/index-8e6644eb.js +1 -0
- package/build/{index-90bb6947.js → index-9003442e.js} +1 -1
- package/build/{index-c68ec57c.js → index-96dd78ba.js} +3 -3
- package/build/index-beef0ff7.js +1 -0
- package/build/index-cbbe3154.js +2748 -0
- package/build/{index-15ae0fb6.js → index-d27a3f5f.js} +1 -1
- package/build/{index-895087de.js → index-e13a4f9a.js} +1 -1
- package/build/index-ff74de8e.js +177 -0
- package/build/index.js +1 -1
- package/build/{index.styled-7556937e.js → index.styled-a45b7854.js} +1 -1
- package/build/index.styles-ce607f17.js +839 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboardingV2.js +34 -34
- package/build/pwg.js +2 -2
- package/build/{routing-b6fbe4e9.js → routing-46446fba.js} +1 -1
- package/build/subot.js +123 -123
- package/build/together.js +1 -1
- package/build/types-d2335814.js +3004 -0
- package/build/{types-2b75bb53.js → types-e54d8d93.js} +10 -10
- package/build/types.js +1 -1
- package/build/useCategory-c99469f2.js +1 -0
- package/build/useHealthToolCache-dc437f4f.js +1 -0
- package/build/{usePlacesAutocomplete-f182b9d8.js → usePlacesAutocomplete-55e04a25.js} +1 -1
- package/build/{useTranslations-f081b85d.js → useTranslations-b435b717.js} +1 -1
- package/build/utils-469dda3f.js +1 -0
- package/build/{utils-bdaf775c.js → utils-83803365.js} +2 -2
- package/build/{utils-9a23430c.js → utils-9778a239.js} +1 -1
- package/build/utils-c18ec2df.js +1 -0
- package/build/vaccination.js +33 -33
- package/package.json +10 -3
- package/build/dataTransform-777dc7c3.js +0 -1
- package/build/esm/dataTransform-0f753a8d.js +0 -1
- package/build/esm/getDynamicHealthTool-bf5ae45e.js +0 -1
- package/build/esm/index-063cc1f8.js +0 -1
- package/build/esm/index-13896a1f.js +0 -1
- package/build/esm/index-1d02f620.js +0 -1
- package/build/esm/index-43771efb.js +0 -1
- package/build/esm/index-48f2acf5.js +0 -1
- package/build/esm/index-5beb9325.js +0 -1
- package/build/esm/index-67cf9fd6.js +0 -177
- package/build/esm/index-6dd55943.js +0 -3122
- package/build/esm/index-7b051fad.js +0 -1
- package/build/esm/index-8d0e1fc9.js +0 -1
- package/build/esm/index-b4e3cda1.js +0 -1
- package/build/esm/index-cd27c1f3.js +0 -1
- package/build/esm/index-d2fd18b2.js +0 -1
- package/build/esm/index-e9845176.js +0 -1
- package/build/esm/index-edff5128.js +0 -1
- package/build/esm/index.styled-6f2497bf.js +0 -1430
- package/build/esm/index.styled-a1372cbc.js +0 -3140
- package/build/esm/index.styled-aa903af8.js +0 -50
- package/build/esm/index.styles-968498ec.js +0 -846
- package/build/esm/screenSizeContext-96560239.js +0 -81
- package/build/esm/types-a2185681.js +0 -1
- package/build/esm/useCategory-89c67c7a.js +0 -1
- package/build/esm/useHealthToolCache-b4214f5b.js +0 -1
- package/build/esm/useRafState-60be12a5.js +0 -1
- package/build/getDynamicHealthTool-88abb9f6.js +0 -1
- package/build/index-08fdac64.js +0 -1
- package/build/index-22b73910.js +0 -1
- package/build/index-2a9e9db0.js +0 -1
- package/build/index-6cbdbb0f.js +0 -1
- package/build/index-90651331.js +0 -1
- package/build/index-9bec53cb.js +0 -177
- package/build/index-aa35fe57.js +0 -3122
- package/build/index-b30908be.js +0 -1
- package/build/index-c45fd3c9.js +0 -1
- package/build/index-c97e51b3.js +0 -1
- package/build/index-cff12c7f.js +0 -1
- package/build/index-d75cc027.js +0 -1
- package/build/index-f3d26f67.js +0 -1
- package/build/index.styled-49e95638.js +0 -3140
- package/build/index.styled-a3496699.js +0 -1430
- package/build/index.styled-a3cec606.js +0 -50
- package/build/index.styles-8637f663.js +0 -846
- package/build/screenSizeContext-0242fe70.js +0 -81
- package/build/types-ff669f4e.js +0 -1
- package/build/useCategory-99b3ce3f.js +0 -1
- package/build/useHealthToolCache-194e52e1.js +0 -1
- package/build/useRafState-eb46223d.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-4bdcde00.js → BMI_BOYS.percentile.monthly-0eb54c7c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-1155ea68.js → BMI_BOYS.percentile.weekly-b7bde0b1.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-7c76df92.js → BMI_BOYS.percentile.yearly-2aa9ad44.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-181d5ae3.js → BMI_BOYS.zscore.monthly-97389f6d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-0cf8df2f.js → BMI_BOYS.zscore.weekly-bc5a17ee.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-102965ca.js → BMI_BOYS.zscore.yearly-95e1abf3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-2cf6d311.js → BMI_GIRLS.percentile.monthly-8a628c8b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-5b6d4586.js → BMI_GIRLS.percentile.weekly-c3423d0b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-3509e0f0.js → BMI_GIRLS.percentile.yearly-30c05aa5.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-dbe09d64.js → BMI_GIRLS.zscore.monthly-e81868f9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-727a462b.js → BMI_GIRLS.zscore.weekly-98365971.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9aa1baa4.js → BMI_GIRLS.zscore.yearly-34dac101.js} +0 -0
- /package/build/{ChevronDown-09646e34.js → ChevronDown-77fab19e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-67f49877.js → HEAD CIRCUM_BOYS.percentile.monthly-f49c4a46.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-b7cdc6c2.js → HEAD CIRCUM_BOYS.percentile.weekly-72afd132.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-679ce89e.js → HEAD CIRCUM_BOYS.percentile.yearly-ab0deda0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ac11764c.js → HEAD CIRCUM_BOYS.zscore.monthly-fbd5f8c4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-6794e1f8.js → HEAD CIRCUM_BOYS.zscore.weekly-87f840f6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-abd78ce6.js → HEAD CIRCUM_BOYS.zscore.yearly-9a7dd00c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-770aee60.js → HEAD CIRCUM_GIRLS.percentile.monthly-679b8839.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-7b02ba8f.js → HEAD CIRCUM_GIRLS.percentile.weekly-b4e20015.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-7271e0f4.js → HEAD CIRCUM_GIRLS.percentile.yearly-9cd60765.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-d849260b.js → HEAD CIRCUM_GIRLS.zscore.monthly-ab6de2c6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b1e4bdb4.js → HEAD CIRCUM_GIRLS.zscore.weekly-7d38c523.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-fe67e62b.js → HEAD CIRCUM_GIRLS.zscore.yearly-eb9d57e8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-a9b28e03.js → HEIGHT_BOYS.percentile.monthly-41de847f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-d256f904.js → HEIGHT_BOYS.percentile.weekly-62b868f0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-d0d7870c.js → HEIGHT_BOYS.percentile.yearly-e2c7bb82.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-1f6d8b3b.js → HEIGHT_BOYS.zscore.monthly-5d6cc9db.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ca971d85.js → HEIGHT_BOYS.zscore.weekly-d7b99302.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-0f6350a9.js → HEIGHT_BOYS.zscore.yearly-e5699025.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-515bf89a.js → HEIGHT_GIRLS.percentile.monthly-bac0286d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-c9e09302.js → HEIGHT_GIRLS.percentile.weekly-6999925f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-aeba297a.js → HEIGHT_GIRLS.percentile.yearly-ebfa2c19.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-b580279d.js → HEIGHT_GIRLS.zscore.monthly-39be4dd2.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-a957ddaf.js → HEIGHT_GIRLS.zscore.weekly-207cf2f5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-5931c772.js → HEIGHT_GIRLS.zscore.yearly-265aafc2.js} +0 -0
- /package/build/{Subot-f5c59f1e.js → Subot-54546cbb.js} +0 -0
- /package/build/{Visible-b951d667.js → Visible-27b623f0.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-03059aba.js → WEIGHT_BOYS.percentile.monthly-9ca3a316.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-003a1949.js → WEIGHT_BOYS.percentile.weekly-7e51fb9b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-edb57cf2.js → WEIGHT_BOYS.percentile.yearly-b47c5be9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-7bdf338c.js → WEIGHT_BOYS.zscore.monthly-6d59370f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e5476fd1.js → WEIGHT_BOYS.zscore.weekly-38beac02.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-c7fa6d7e.js → WEIGHT_BOYS.zscore.yearly-1f4013a7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-06c20697.js → WEIGHT_GIRLS.percentile.monthly-c9144c22.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-a7169e9c.js → WEIGHT_GIRLS.percentile.weekly-5455b91e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-51c606c5.js → WEIGHT_GIRLS.percentile.yearly-03c736dd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-f2ffff35.js → WEIGHT_GIRLS.zscore.monthly-415a66a8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-dab69627.js → WEIGHT_GIRLS.zscore.weekly-1e23361d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-f10ce018.js → WEIGHT_GIRLS.zscore.yearly-8db29178.js} +0 -0
- /package/build/{cookieHelper-16601856.js → cookieHelper-59a64e32.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-f262473c.js → BMI_BOYS.percentile.monthly-57e884f8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-f5b94d14.js → BMI_BOYS.percentile.weekly-b2c63459.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-7ec74edd.js → BMI_BOYS.percentile.yearly-8ca90fac.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-a4ac044c.js → BMI_BOYS.zscore.monthly-b493d2f9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-b7953339.js → BMI_BOYS.zscore.weekly-62ae4fbc.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-8d5a5f2d.js → BMI_BOYS.zscore.yearly-e2aad569.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-3b21e9f6.js → BMI_GIRLS.percentile.monthly-7f8de0c2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-8a72ee76.js → BMI_GIRLS.percentile.weekly-6e0b116a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-629770c3.js → BMI_GIRLS.percentile.yearly-4a395636.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-565f420c.js → BMI_GIRLS.zscore.monthly-be973fb7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-e4afc98b.js → BMI_GIRLS.zscore.weekly-c19aae0e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-b35d87f5.js → BMI_GIRLS.zscore.yearly-7bf54eb9.js} +0 -0
- /package/build/esm/{ChevronDown-a01c53f7.js → ChevronDown-b9b5a352.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-6a8bb7ee.js → HEAD CIRCUM_BOYS.percentile.monthly-6e42d726.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-82951ccd.js → HEAD CIRCUM_BOYS.percentile.weekly-8999c4bf.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-9eef9698.js → HEAD CIRCUM_BOYS.percentile.yearly-b5760636.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a3391bc3.js → HEAD CIRCUM_BOYS.zscore.monthly-fe30f273.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f733d920.js → HEAD CIRCUM_BOYS.zscore.weekly-17145cf6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-2146715a.js → HEAD CIRCUM_BOYS.zscore.yearly-0d813a98.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9952f63b.js → HEAD CIRCUM_GIRLS.percentile.monthly-ae35f7b2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-a79e4cb3.js → HEAD CIRCUM_GIRLS.percentile.weekly-430e5931.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-5793bddc.js → HEAD CIRCUM_GIRLS.percentile.yearly-ce5d85d6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-9cf0d7e7.js → HEAD CIRCUM_GIRLS.zscore.monthly-b304dc6c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-554b1c54.js → HEAD CIRCUM_GIRLS.zscore.weekly-de588d96.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-92513492.js → HEAD CIRCUM_GIRLS.zscore.yearly-44e77264.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-dde47a57.js → HEIGHT_BOYS.percentile.monthly-e574a87c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-26a48f0b.js → HEIGHT_BOYS.percentile.weekly-49bc6c02.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-7f453bec.js → HEIGHT_BOYS.percentile.yearly-99cf7774.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-ef1cb387.js → HEIGHT_BOYS.zscore.monthly-63c3566b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-97fa211a.js → HEIGHT_BOYS.zscore.weekly-a7eff90c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3e3bde63.js → HEIGHT_BOYS.zscore.yearly-b06dea5e.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-30be483f.js → HEIGHT_GIRLS.percentile.monthly-b154ae1d.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7379a593.js → HEIGHT_GIRLS.percentile.weekly-a3dd221b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-478368ef.js → HEIGHT_GIRLS.percentile.yearly-c1a93361.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-3a72a7a6.js → HEIGHT_GIRLS.zscore.monthly-47b24f91.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b6c34b3a.js → HEIGHT_GIRLS.zscore.weekly-f3cd351a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-76e796e8.js → HEIGHT_GIRLS.zscore.yearly-f6e9bb0c.js} +0 -0
- /package/build/esm/{Subot-dac02b43.js → Subot-0c45fa4c.js} +0 -0
- /package/build/esm/{Visible-47f22dfd.js → Visible-3eb21335.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-687b7b12.js → WEIGHT_BOYS.percentile.monthly-87900c96.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-8af24869.js → WEIGHT_BOYS.percentile.weekly-6fb93a78.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-284c0509.js → WEIGHT_BOYS.percentile.yearly-ccca0fe8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-3e998d39.js → WEIGHT_BOYS.zscore.monthly-35d466dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-e6a34c52.js → WEIGHT_BOYS.zscore.weekly-d74d6ff5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-78b9aee1.js → WEIGHT_BOYS.zscore.yearly-2c068e1e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a09b44e8.js → WEIGHT_GIRLS.percentile.monthly-1ee7e829.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-feee61f9.js → WEIGHT_GIRLS.percentile.weekly-ab30775b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-63bc5a30.js → WEIGHT_GIRLS.percentile.yearly-893b6771.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-eb53f818.js → WEIGHT_GIRLS.zscore.monthly-c37f1d39.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-d393998a.js → WEIGHT_GIRLS.zscore.weekly-3a1449f6.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-7a32a9cc.js → WEIGHT_GIRLS.zscore.yearly-aa00837d.js} +0 -0
- /package/build/esm/{cookieHelper-55e30d0f.js → cookieHelper-cbd9f06e.js} +0 -0
- /package/build/esm/{index-07063e55.js → index-7d682662.js} +0 -0
- /package/build/esm/{index-3d838a6b.js → index-c9bdb9a2.js} +0 -0
- /package/build/esm/{index-f30ca662.js → index-fb029176.js} +0 -0
- /package/build/esm/{isProduction-d1491481.js → isProduction-cfb9150a.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6df9f051.js → localizeNumberFormat-213a73b8.js} +0 -0
- /package/build/esm/{normalizeLink-38377186.js → normalizeLink-cc25681e.js} +0 -0
- /package/build/esm/{number-161e80f5.js → number-dd894856.js} +0 -0
- /package/build/esm/{paths-25ba6851.js → paths-2d37bc61.js} +0 -0
- /package/build/esm/{theme-0bf733e5.js → theme-9f017335.js} +0 -0
- /package/build/esm/{translationsContext-2928d817.js → translationsContext-9fc8f894.js} +0 -0
- /package/build/esm/{tslib.es6-ed0fd94c.js → tslib.es6-cabcb8ea.js} +0 -0
- /package/build/esm/{types-b8a4b227.js → types-2d28585d.js} +0 -0
- /package/build/esm/{useIsInit-cb7d2978.js → useIsInit-81de6d8b.js} +0 -0
- /package/build/esm/{useOutsideClick-f603145b.js → useOutsideClick-e1437a3f.js} +0 -0
- /package/build/esm/{useScrollbarSize-258e8689.js → useScrollbarSize-6ecc2f5a.js} +0 -0
- /package/build/{index-aa2246a9.js → index-21c825aa.js} +0 -0
- /package/build/{index-c11ba2de.js → index-4b719c83.js} +0 -0
- /package/build/{index-8f6f3262.js → index-7005321e.js} +0 -0
- /package/build/{isProduction-60ee72ee.js → isProduction-426652cc.js} +0 -0
- /package/build/{localizeNumberFormat-3a99a4d3.js → localizeNumberFormat-5389239f.js} +0 -0
- /package/build/{normalizeLink-e9909bca.js → normalizeLink-ef4fc463.js} +0 -0
- /package/build/{number-991a82e8.js → number-f6e8e1a9.js} +0 -0
- /package/build/{paths-090390a0.js → paths-b1c94851.js} +0 -0
- /package/build/{theme-1a96d62c.js → theme-98a7bede.js} +0 -0
- /package/build/{translationsContext-d6a9ac72.js → translationsContext-6c5fb248.js} +0 -0
- /package/build/{tslib.es6-5195a8c8.js → tslib.es6-d46558cb.js} +0 -0
- /package/build/{types-e5a9bebd.js → types-032556e4.js} +0 -0
- /package/build/{useIsInit-ff0abff5.js → useIsInit-8386673c.js} +0 -0
- /package/build/{useOutsideClick-357f47d1.js → useOutsideClick-5544e570.js} +0 -0
- /package/build/{useScrollbarSize-560f763b.js → useScrollbarSize-d4ccc356.js} +0 -0
package/build/index-aa35fe57.js
DELETED
|
@@ -1,3122 +0,0 @@
|
|
|
1
|
-
"use strict";var e=require("react"),t=require("./index-22b73910.js"),a=require("./useTranslations-f081b85d.js");require("lodash/debounce"),require("./isProduction-60ee72ee.js"),require("./index-15ae0fb6.js"),require("./useCategory-99b3ce3f.js");var r=require("@mantine/core"),i=require("dayjs"),o=require("./screenSizeContext-0242fe70.js"),n=require("styled-components"),l=require("./theme-1a96d62c.js"),d=require("./Subot-f5c59f1e.js"),s=require("./index-2a9e9db0.js"),p=require("./index-a4fbcb10.js"),c=require("./index-cc5c10b5.js"),m=require("./index.styles-8637f663.js"),u=require("./index-f97ad29a.js"),g=require("./tslib.es6-5195a8c8.js"),h=require("./index-a1855a8c.js");require("@mantine/dates"),require("./translationsContext-d6a9ac72.js"),require("string-format"),require("@mantine/hooks");var f=require("@hookform/resolvers/yup"),x=require("react-hook-form"),b=require("./index-9bec53cb.js"),y=require("./constants-1b55e92a.js"),v=require("./index.styled-49e95638.js"),w=require("date-fns");require("./utils-bdaf775c.js");var k=require("./index-895087de.js"),E=require("./index-4ec0c769.js");require("./index-c11ba2de.js");var C=require("./types-e5a9bebd.js"),D=require("react-day-picker/DayPickerInput");function $(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=$(e),B=$(i),z=$(n),M=$(D),T="tliWyii";const P=e.memo((()=>S.default.createElement("div",{className:"shoppable"},S.default.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},S.default.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),S.default.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),I=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>S.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none"},S.default.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),N=e.memo((({dataEventCategoryForBookmark:e,dataEventActionForBookmark:t,dataEventLabelForBookmark:a})=>S.default.createElement("svg",{"data-event-category":e,"data-event-action":t,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},S.default.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"}))));var A=r.createStyles(((e,{})=>({root:{},image:{},title:{},category:{},description:{},author:{}})));const j=z.default.a`
|
|
2
|
-
display: flex;
|
|
3
|
-
height: 125px;
|
|
4
|
-
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
padding: 8px;
|
|
9
|
-
|
|
10
|
-
border: 1px solid ${l.theme.colors.neutral100};
|
|
11
|
-
background-color: white;
|
|
12
|
-
border-radius: ${l.theme.borderRadius};
|
|
13
|
-
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
text-decoration: none;
|
|
16
|
-
|
|
17
|
-
& > .banner {
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 63px;
|
|
20
|
-
text-align: center;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
& > .content {
|
|
24
|
-
display: -webkit-box;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
-webkit-box-orient: vertical;
|
|
27
|
-
-webkit-line-clamp: 2;
|
|
28
|
-
text-align: center;
|
|
29
|
-
word-break: break-word;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
* {
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
}
|
|
35
|
-
`,_=z.default.div`
|
|
36
|
-
display: flex;
|
|
37
|
-
|
|
38
|
-
&[data-type='vertical'] {
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
|
|
41
|
-
div {
|
|
42
|
-
margin-bottom: 20px;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&[data-type='horizontal'] {
|
|
47
|
-
flex-wrap: wrap;
|
|
48
|
-
|
|
49
|
-
div {
|
|
50
|
-
margin-right: 25px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&[data-is-rectangle] {
|
|
54
|
-
div {
|
|
55
|
-
margin-right: 14px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
`,O={"vi-VN":["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],"id-ID":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"ms-MY":["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],"km-KH":["មករា","ខែកុម្ភៈ","មីនា","ខែមេសា","ឧសភា","មិថុនា","ខែកក្កដា","សីហា","ខែកញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],"en-PH":["January","February","March","April","May","June","July","August","September","October","November","December"],"th-TH":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","อาจ","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"my-MM":["ဇန်နဝါရီလ","ဖေဖော်ဝါရီလ","မတ်လ","ပြီလ","မေလ","ဇွန","ဇူလိုင်လ","သြဂုတ်လ","စက်တင်ဘာ","အောက်တိုဘာ","နိုဝင်ဘာ","ဒီဇင်ဘာ"],"zh-TW":["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],"hi-IN":["जनवरी","फ़रवरी","जुलूस","अप्रैल","मई","जून","जुलाई","अगस्त","सितंबर","अक्टूबर","नवंबर","दिसंबर"]},F=z.default.div`
|
|
60
|
-
.pickerContainer {
|
|
61
|
-
position: relative;
|
|
62
|
-
padding-top: 0;
|
|
63
|
-
& > div > svg {
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 36px;
|
|
66
|
-
right: 16px;
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
& > :not(:first-child) {
|
|
71
|
-
position: absolute;
|
|
72
|
-
z-index: 2;
|
|
73
|
-
width: 100%;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&[data-is-static] .pickerOverlayWrapper {
|
|
78
|
-
position: static;
|
|
79
|
-
max-width: 250px;
|
|
80
|
-
aspect-ratio: 1 / 1;
|
|
81
|
-
|
|
82
|
-
> .pickerOverlay {
|
|
83
|
-
padding: 1rem;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.pickerOverlayWrapper {
|
|
88
|
-
min-width: 320px;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&[data-align-right='true'] {
|
|
92
|
-
.pickerOverlayWrapper {
|
|
93
|
-
right: 0;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.pickerOverlay {
|
|
98
|
-
margin-top: 6px;
|
|
99
|
-
background: white;
|
|
100
|
-
border-radius: ${l.theme.borderRadius};
|
|
101
|
-
box-shadow: 0px 6px 12px rgba(67, 86, 100, 0.2);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.picker {
|
|
105
|
-
width: 100%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.react-datepicker-popper {
|
|
109
|
-
.react-datepicker {
|
|
110
|
-
display: flex;
|
|
111
|
-
width: 340px;
|
|
112
|
-
height: 305px;
|
|
113
|
-
align-items: center;
|
|
114
|
-
justify-content: center;
|
|
115
|
-
border: none;
|
|
116
|
-
box-shadow: (-1px 1px 2px rgba(67, 70, 74, 0.0001)),
|
|
117
|
-
(-2px 2px 5px rgba(67, 86, 100, 0.123689));
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.svg {
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
stroke: ${l.theme.colors.gray800};
|
|
123
|
-
}
|
|
124
|
-
.react-datepicker__day {
|
|
125
|
-
width: 40px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.react-datepicker__header {
|
|
129
|
-
border-bottom: 0;
|
|
130
|
-
background-color: white;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.react-datepicker__day--outside-month {
|
|
134
|
-
color: #e9e9e9;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.react-datepicker__day {
|
|
138
|
-
font-weight: ${l.theme.sizes.fwBold};
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.react-datepicker__day--selected,
|
|
142
|
-
.react-datepicker__day--today,
|
|
143
|
-
.react-datepicker__day--selected:hover,
|
|
144
|
-
.react-datepicker__day--keyboard-selected {
|
|
145
|
-
width: 32px;
|
|
146
|
-
height: 30px;
|
|
147
|
-
margin: 4px;
|
|
148
|
-
margin-bottom: -2px;
|
|
149
|
-
background: ${l.theme.colors.primaryBase};
|
|
150
|
-
border-radius: 50%;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.react-datepicker__day-name {
|
|
154
|
-
width: 40px;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.react-datepicker__triangle {
|
|
158
|
-
display: none;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.react-datepicker__header.react-datepicker__header--custom {
|
|
162
|
-
svg {
|
|
163
|
-
stroke: #262626;
|
|
164
|
-
}
|
|
165
|
-
select {
|
|
166
|
-
background: ${l.theme.colors.neutral100};
|
|
167
|
-
text-align: center;
|
|
168
|
-
&:not(:last-child) {
|
|
169
|
-
padding: 8px 10px;
|
|
170
|
-
margin-right: 15px;
|
|
171
|
-
border-radius: ${l.theme.borderRadius};
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/* DayPicker styles */
|
|
178
|
-
|
|
179
|
-
.DayPicker {
|
|
180
|
-
display: inline-block;
|
|
181
|
-
font-size: 1rem;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.DayPicker-wrapper {
|
|
185
|
-
position: relative;
|
|
186
|
-
|
|
187
|
-
flex-direction: row;
|
|
188
|
-
padding-bottom: 1em;
|
|
189
|
-
|
|
190
|
-
-webkit-user-select: none;
|
|
191
|
-
|
|
192
|
-
-moz-user-select: none;
|
|
193
|
-
|
|
194
|
-
-ms-user-select: none;
|
|
195
|
-
|
|
196
|
-
user-select: none;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.DayPicker-Months {
|
|
200
|
-
display: flex;
|
|
201
|
-
flex-wrap: wrap;
|
|
202
|
-
justify-content: center;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.DayPicker-Month {
|
|
206
|
-
display: table;
|
|
207
|
-
margin: 0 16px;
|
|
208
|
-
margin-top: 16px;
|
|
209
|
-
border-collapse: collapse;
|
|
210
|
-
border-spacing: 0;
|
|
211
|
-
|
|
212
|
-
-webkit-user-select: none;
|
|
213
|
-
|
|
214
|
-
-moz-user-select: none;
|
|
215
|
-
|
|
216
|
-
-ms-user-select: none;
|
|
217
|
-
|
|
218
|
-
user-select: none;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.DayPicker-NavBar {
|
|
222
|
-
position: absolute;
|
|
223
|
-
top: 16px;
|
|
224
|
-
left: 0;
|
|
225
|
-
display: flex;
|
|
226
|
-
width: 100%;
|
|
227
|
-
height: 0;
|
|
228
|
-
align-items: center;
|
|
229
|
-
justify-content: space-between;
|
|
230
|
-
padding: 0 20px;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.DayPicker-NavButton {
|
|
234
|
-
width: 24px;
|
|
235
|
-
height: 24px;
|
|
236
|
-
margin-bottom: -47px;
|
|
237
|
-
background-position: center;
|
|
238
|
-
background-repeat: no-repeat;
|
|
239
|
-
background-size: 16px 16px;
|
|
240
|
-
color: #8b9898;
|
|
241
|
-
cursor: pointer;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.DayPicker-NavButton:hover {
|
|
245
|
-
opacity: 0.8;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.DayPicker-NavButton--prev {
|
|
249
|
-
//left: 2px;
|
|
250
|
-
background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 9L1 5L5 1' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.DayPicker-NavButton--next {
|
|
254
|
-
//right: 2px;
|
|
255
|
-
background-image: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L1 9' stroke='%23262626' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.DayPicker-NavButton--interactionDisabled {
|
|
259
|
-
display: none;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.DayPicker-Caption {
|
|
263
|
-
display: table-caption;
|
|
264
|
-
width: 100%;
|
|
265
|
-
height: 46px;
|
|
266
|
-
padding: 0 32px;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.DayPicker-Caption select {
|
|
270
|
-
font-size: 16px;
|
|
271
|
-
font-weight: 600;
|
|
272
|
-
line-height: 24px;
|
|
273
|
-
text-align: left;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.DayPicker-Weekdays {
|
|
277
|
-
display: table-header-group;
|
|
278
|
-
margin-top: 1em;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.DayPicker-WeekdaysRow {
|
|
282
|
-
display: table-row;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.DayPicker-Weekday {
|
|
286
|
-
display: table-cell;
|
|
287
|
-
padding: 0.5em;
|
|
288
|
-
color: #8b9898;
|
|
289
|
-
font-size: 0.875em;
|
|
290
|
-
text-align: center;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.DayPicker-Weekday abbr[title] {
|
|
294
|
-
border-bottom: none;
|
|
295
|
-
text-decoration: none;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.DayPicker-Body {
|
|
299
|
-
display: table-row-group;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.DayPicker-Week {
|
|
303
|
-
display: table-row;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
.DayPicker-Day {
|
|
307
|
-
display: table-cell;
|
|
308
|
-
|
|
309
|
-
width: 40px;
|
|
310
|
-
height: 40px;
|
|
311
|
-
border-radius: 50%;
|
|
312
|
-
cursor: pointer;
|
|
313
|
-
text-align: center;
|
|
314
|
-
vertical-align: middle;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.DayPicker-WeekNumber {
|
|
318
|
-
display: table-cell;
|
|
319
|
-
min-width: 1em;
|
|
320
|
-
padding: 0.5em;
|
|
321
|
-
border-right: 1px solid #eaecec;
|
|
322
|
-
color: #8b9898;
|
|
323
|
-
cursor: pointer;
|
|
324
|
-
font-size: 0.75em;
|
|
325
|
-
text-align: right;
|
|
326
|
-
vertical-align: middle;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.DayPicker--interactionDisabled .DayPicker-Day {
|
|
330
|
-
cursor: default;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.DayPicker-Footer {
|
|
334
|
-
padding-top: 0.5em;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.DayPicker-TodayButton {
|
|
338
|
-
border: none;
|
|
339
|
-
background-color: transparent;
|
|
340
|
-
background-image: none;
|
|
341
|
-
box-shadow: none;
|
|
342
|
-
color: #4a90e2;
|
|
343
|
-
cursor: pointer;
|
|
344
|
-
font-size: 0.875em;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/* Default modifiers */
|
|
348
|
-
|
|
349
|
-
.DayPicker-Day--today {
|
|
350
|
-
color: #d0021b;
|
|
351
|
-
font-weight: 700;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.DayPicker-Day--outside {
|
|
355
|
-
color: #8b9898;
|
|
356
|
-
cursor: default;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
.DayPicker-Day--disabled {
|
|
360
|
-
color: #dce0e0;
|
|
361
|
-
cursor: default;
|
|
362
|
-
/* background-color: #eff1f1; */
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/* Example modifiers */
|
|
366
|
-
|
|
367
|
-
.DayPicker-Day--sunday {
|
|
368
|
-
background-color: #f7f8f8;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
|
|
372
|
-
color: #dce0e0;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
376
|
-
.DayPicker-Day--outside
|
|
377
|
-
) {
|
|
378
|
-
position: relative;
|
|
379
|
-
|
|
380
|
-
background-color: ${l.theme.colors.primaryBase};
|
|
381
|
-
color: #f0f8ff;
|
|
382
|
-
font-weight: ${l.theme.sizes.fwBold};
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(
|
|
386
|
-
.DayPicker-Day--outside
|
|
387
|
-
):hover {
|
|
388
|
-
background-color: #51a0fa;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.DayPicker:not(.DayPicker--interactionDisabled)
|
|
392
|
-
.DayPicker-Day:not(.DayPicker-Day--disabled):not(
|
|
393
|
-
.DayPicker-Day--selected
|
|
394
|
-
):not(.DayPicker-Day--outside):hover {
|
|
395
|
-
background-color: #f0f8ff;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
/* DayPickerInput */
|
|
399
|
-
|
|
400
|
-
.DayPickerInput {
|
|
401
|
-
display: inline-block;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.DayPickerInput-OverlayWrapper {
|
|
405
|
-
position: relative;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
.DayPickerInput-Overlay {
|
|
409
|
-
position: absolute;
|
|
410
|
-
z-index: 1;
|
|
411
|
-
left: 0;
|
|
412
|
-
|
|
413
|
-
background: white;
|
|
414
|
-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
415
|
-
}
|
|
416
|
-
`,R=z.default.form`
|
|
417
|
-
display: flex;
|
|
418
|
-
width: 100%;
|
|
419
|
-
|
|
420
|
-
height: 46px;
|
|
421
|
-
align-items: center;
|
|
422
|
-
justify-content: space-between;
|
|
423
|
-
& > :first-child {
|
|
424
|
-
margin-right: 10px;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
& * {
|
|
428
|
-
height: 46px;
|
|
429
|
-
padding: 10px 10px;
|
|
430
|
-
background: ${l.theme.colors.neutral100};
|
|
431
|
-
border-radius: ${l.theme.borderRadius};
|
|
432
|
-
}
|
|
433
|
-
`,G=({alignRight:t=!0,placeholder:a,displayDateFormat:r,onChange:i,customInput:o,pickedDate:n,className:l,isStatic:d,disabledDays:s,modifiers:p,UnHideOnClickOutside:c,initialMonth:m,locale:u="en-PH"})=>{const g=e.useRef(!1),h=w.format,[f,x]=e.useState(m||new Date),b=e.useRef(null),y=e.useRef(null),v=O[u],k=e=>{c||b.current&&b.current.contains(e.target)||y.current&&y.current.hideDayPicker()},E=(new Date).getFullYear(),C=new Date(E-150,0),D=new Date(E+1,0),$=({date:e,onChange:t,monthLabels:a})=>{const r=[];for(let e=D.getFullYear();e>=C.getFullYear();e-=1)r.push(e);const i=function(e){const{year:a,month:r}=e.target.form;t(new Date(a.value,r.value))};return S.default.createElement("div",{className:"DayPicker-Caption"},S.default.createElement(R,null,S.default.createElement("select",{name:"month",onChange:i,value:e.getMonth()},a.map(((e,t)=>S.default.createElement("option",{key:e,value:t},e)))),S.default.createElement("select",{name:"year",onChange:i,value:e.getFullYear()},r.map((e=>S.default.createElement("option",{key:e,value:e},e))))))};return e.useEffect((()=>(document.addEventListener("mousedown",k,{passive:!0}),()=>{document.removeEventListener("mousedown",k,!1)})),[]),S.default.createElement(F,{className:l,"data-align-right":t,ref:b,"data-is-static":d||void 0},S.default.createElement(M.default,{ref:y,inputProps:{readOnly:!0},keepFocus:!1,classNames:{container:"pickerContainer",overlayWrapper:"pickerOverlayWrapper",overlay:"pickerOverlay"},component:o&&S.default.forwardRef(((e,t)=>S.default.createElement(o,Object.assign({},e)))),onDayPickerHide:()=>{g.current=!1},onDayPickerShow:()=>{g.current=!0},dayPickerProps:{month:f,className:"picker",selectedDays:n,canChangeMonth:!0,enableOutsideDaysClick:!d,firstDayOfWeek:1,captionElement:({date:e,localeUtils:t})=>{const a=null==t?void 0:t.getMonths();return S.default.createElement($,{date:e,monthLabels:v||a,onChange:x})},disabledDays:s||void 0,modifiers:p},format:r||"yyyy-MM-dd",formatDate:(e,t)=>h(e,t),hideOnDayClick:!d,placeholder:a||"",onDayChange:e=>{var t;t=e,y.current&&!d&&y.current.hideDayPicker(),i&&i(t)},showOverlay:d}))},L=z.default.div`
|
|
434
|
-
display: flex;
|
|
435
|
-
align-items: center;
|
|
436
|
-
--font-weight-lg: ${l.theme.sizes.fwBold};
|
|
437
|
-
--font-weight-md: ${l.theme.sizes.fwRegular};
|
|
438
|
-
--font-weight-sm: ${l.theme.sizes.fwRegular};
|
|
439
|
-
|
|
440
|
-
&[data-icon-position='left'] {
|
|
441
|
-
& > *:first-child {
|
|
442
|
-
margin-right: 8px;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
& > *:last-child {
|
|
446
|
-
width: calc(100% - 24px);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
&[data-icon-position='right'] {
|
|
450
|
-
& > *:first-child {
|
|
451
|
-
width: calc(100% - 24px);
|
|
452
|
-
}
|
|
453
|
-
& > *:last-child {
|
|
454
|
-
margin-left: 8px;
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
${o.MediaQueries.mbDown} {
|
|
459
|
-
&[data-size='lg'] {
|
|
460
|
-
font-size: 16px;
|
|
461
|
-
line-height: 24px;
|
|
462
|
-
font-weight: var(--font-weight-lg);
|
|
463
|
-
}
|
|
464
|
-
&[data-size='md'] {
|
|
465
|
-
font-size: 14px;
|
|
466
|
-
line-height: 22px;
|
|
467
|
-
font-weight: var(--font-weight-md);
|
|
468
|
-
}
|
|
469
|
-
&[data-size='sm'] {
|
|
470
|
-
font-size: 13px;
|
|
471
|
-
line-height: 20px;
|
|
472
|
-
font-weight: var(----font-weight-sm);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
`,Q=z.default.div`
|
|
476
|
-
position: relative;
|
|
477
|
-
width: 100%;
|
|
478
|
-
|
|
479
|
-
& div[role='slider'] {
|
|
480
|
-
-webkit-text-size-adjust: none;
|
|
481
|
-
-webkit-user-select: none;
|
|
482
|
-
&:focus {
|
|
483
|
-
outline: none;
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
`,U=z.default.div`
|
|
487
|
-
position: absolute;
|
|
488
|
-
top: 19px;
|
|
489
|
-
width: 24px;
|
|
490
|
-
height: 24px;
|
|
491
|
-
color: ${l.theme.colors.white};
|
|
492
|
-
border: 2px solid ${l.theme.colors.white};
|
|
493
|
-
border-radius: 50%;
|
|
494
|
-
transform: translateY(-50%) translateX(-50%);
|
|
495
|
-
display: flex;
|
|
496
|
-
align-items: center;
|
|
497
|
-
justify-content: center;
|
|
498
|
-
cursor: pointer;
|
|
499
|
-
|
|
500
|
-
background-color: ${l.theme.colors.white};
|
|
501
|
-
color: ${l.theme.colors.gray300};
|
|
502
|
-
border: 1px solid ${l.theme.colors.gray300};
|
|
503
|
-
|
|
504
|
-
&[data-is-active='true'] {
|
|
505
|
-
background-color: ${l.theme.colors.primaryBase};
|
|
506
|
-
color: ${l.theme.colors.white};
|
|
507
|
-
border: none;
|
|
508
|
-
}
|
|
509
|
-
`,H=z.default.div`
|
|
510
|
-
display: flex;
|
|
511
|
-
width: 100%;
|
|
512
|
-
height: 36px;
|
|
513
|
-
|
|
514
|
-
&[data-track-type='detail'] {
|
|
515
|
-
margin-top: 0;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
&[data-track-type='detail'][data-step-passed='true'] > div {
|
|
519
|
-
border: 1px solid ${l.theme.colors.primaryBase};
|
|
520
|
-
height: 0px;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
&[data-track-type='detail'] > div {
|
|
524
|
-
border: 1px solid ${l.theme.colors.gray200};
|
|
525
|
-
height: 0px;
|
|
526
|
-
}
|
|
527
|
-
`,q=z.default.div`
|
|
528
|
-
width: 100%;
|
|
529
|
-
height: 5px;
|
|
530
|
-
align-self: center;
|
|
531
|
-
border-radius: 4px;
|
|
532
|
-
background-color: ${l.theme.colors.gray200};
|
|
533
|
-
`,W=z.default.div`
|
|
534
|
-
position: absolute;
|
|
535
|
-
top: 32px;
|
|
536
|
-
min-width: 100px;
|
|
537
|
-
text-align: center;
|
|
538
|
-
color: ${l.theme.colors.gray500};
|
|
539
|
-
font-size: ${l.theme.sizes.fsCaption2};
|
|
540
|
-
font-weight: ${l.theme.sizes.fwBold};
|
|
541
|
-
|
|
542
|
-
&[data-step-passed='true'] {
|
|
543
|
-
color: ${l.theme.colors.gray800};
|
|
544
|
-
}
|
|
545
|
-
`,V=z.default.div`
|
|
546
|
-
display: flex;
|
|
547
|
-
align-items: center;
|
|
548
|
-
`,Y=z.default.div`
|
|
549
|
-
display: flex;
|
|
550
|
-
align-items: center;
|
|
551
|
-
font-size: ${l.theme.sizes.fsCaption2};
|
|
552
|
-
font-weight: ${l.theme.sizes.fwBold};
|
|
553
|
-
color: ${l.theme.colors.gray500};
|
|
554
|
-
cursor: pointer;
|
|
555
|
-
|
|
556
|
-
& > svg {
|
|
557
|
-
height: 10px;
|
|
558
|
-
width: 10px;
|
|
559
|
-
margin: 0 14px;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
& > svg > path {
|
|
563
|
-
stroke: ${l.theme.colors.gray500};
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
&[data-selected='true'] {
|
|
567
|
-
color: ${l.theme.colors.primaryBase};
|
|
568
|
-
}
|
|
569
|
-
`,Z=z.default.div`
|
|
570
|
-
position: absolute;
|
|
571
|
-
left: 0;
|
|
572
|
-
top: 19px;
|
|
573
|
-
height: 24px;
|
|
574
|
-
cursor: pointer;
|
|
575
|
-
|
|
576
|
-
transform: translateY(-50%);
|
|
577
|
-
display: flex;
|
|
578
|
-
align-items: center;
|
|
579
|
-
|
|
580
|
-
padding: 8px;
|
|
581
|
-
background-color: ${l.theme.colors.white};
|
|
582
|
-
`,X=z.default.div`
|
|
583
|
-
min-width: 24px;
|
|
584
|
-
height: 24px;
|
|
585
|
-
border: 2px solid ${l.theme.colors.white};
|
|
586
|
-
border-radius: 50%;
|
|
587
|
-
margin-right: 8px;
|
|
588
|
-
display: flex;
|
|
589
|
-
align-items: center;
|
|
590
|
-
justify-content: center;
|
|
591
|
-
cursor: pointer;
|
|
592
|
-
|
|
593
|
-
background-color: ${l.theme.colors.white};
|
|
594
|
-
color: ${l.theme.colors.gray300};
|
|
595
|
-
border: 1px solid ${l.theme.colors.gray300};
|
|
596
|
-
|
|
597
|
-
&[data-is-active='true'] {
|
|
598
|
-
border: none;
|
|
599
|
-
background-color: ${l.theme.colors.primaryBase};
|
|
600
|
-
color: ${l.theme.colors.white};
|
|
601
|
-
}
|
|
602
|
-
`,J=z.default.div`
|
|
603
|
-
display: flex;
|
|
604
|
-
align-items: center;
|
|
605
|
-
justify-content: center;
|
|
606
|
-
|
|
607
|
-
& > svg {
|
|
608
|
-
height: 20px;
|
|
609
|
-
width: 20px;
|
|
610
|
-
margin-right: 8px;
|
|
611
|
-
|
|
612
|
-
& > path {
|
|
613
|
-
stroke: ${l.theme.colors.gray500};
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
`,K=z.default.div`
|
|
617
|
-
color: ${l.theme.colors.gray400};
|
|
618
|
-
font-size: ${l.theme.sizes.fsCaption2};
|
|
619
|
-
font-weight: ${l.theme.sizes.fwBold};
|
|
620
|
-
margin-right: 8px;
|
|
621
|
-
flex: 0 0 auto;
|
|
622
|
-
|
|
623
|
-
&[data-step-passed='true'] {
|
|
624
|
-
color: ${l.theme.colors.gray800};
|
|
625
|
-
}
|
|
626
|
-
`,ee=z.default.div`
|
|
627
|
-
position: absolute;
|
|
628
|
-
top: 32px;
|
|
629
|
-
font-weight: ${l.theme.sizes.fwRegular};
|
|
630
|
-
color: ${l.theme.colors.gray400};
|
|
631
|
-
padding-right: 16px;
|
|
632
|
-
`,te=S.default.forwardRef((({id:t,value:a,options:i,className:o,isDisabled:n,size:l="small",direction:d="vertical",onChange:s,dataEventCategory:p,dataEventAction:c,dataEventLabel:m},u)=>{const[g,f]=e.useState(a);e.useImperativeHandle(u,(()=>({reset(){f(a)}})));const x="small"===l?"md":"lg",b="vertical"===d?r.Stack:r.Group;return S.default.createElement(h.Radio.Group,{name:t,className:o,size:x,value:String(g),defaultValue:a,onChange:e=>{f(e),null==s||s(e)}},S.default.createElement(b,{spacing:"xl"},i.map((e=>S.default.createElement(h.Radio,{key:e.value,value:e.value,label:e.label,disabled:n,"data-event-category":p,"data-event-action":c,"data-event-label":m})))))})),ae=z.default.div`
|
|
633
|
-
--menu-width: 240px;
|
|
634
|
-
--menu-spacing: 28px 16px;
|
|
635
|
-
width: var(--menu-width);
|
|
636
|
-
height: 100vh;
|
|
637
|
-
padding: var(--menu-spacing);
|
|
638
|
-
background-color: ${l.theme.colors.neutral50};
|
|
639
|
-
transition: ease-in-out 0.5s;
|
|
640
|
-
|
|
641
|
-
&[data-is-collapsed] {
|
|
642
|
-
--menu-width: 64px;
|
|
643
|
-
--menu-spacing: 28px 8px;
|
|
644
|
-
}
|
|
645
|
-
`,re=z.default.div`
|
|
646
|
-
display: flex;
|
|
647
|
-
align-items: baseline;
|
|
648
|
-
justify-content: space-between;
|
|
649
|
-
|
|
650
|
-
svg {
|
|
651
|
-
transition: 0.4s ease-in-out;
|
|
652
|
-
}
|
|
653
|
-
`,ie=z.default.div`
|
|
654
|
-
cursor: pointer;
|
|
655
|
-
&[data-is-collapsed] {
|
|
656
|
-
transform: rotate(180deg);
|
|
657
|
-
}
|
|
658
|
-
`,oe=z.default.figure`
|
|
659
|
-
display: flex;
|
|
660
|
-
|
|
661
|
-
> img,
|
|
662
|
-
svg,
|
|
663
|
-
picture {
|
|
664
|
-
width: 40px;
|
|
665
|
-
height: 40px;
|
|
666
|
-
margin-right: 1rem;
|
|
667
|
-
border-radius: 6px;
|
|
668
|
-
object-fit: cover;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
> figcaption {
|
|
672
|
-
p + p {
|
|
673
|
-
margin-top: 2px;
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
`,ne=({name:e,description:a,image:r,isDescriptionHidden:i})=>S.default.createElement(oe,null,r,!i&&S.default.createElement("figcaption",null,S.default.createElement(t.Text,{size:"p4",weight:"bold"},e),S.default.createElement(t.Text,{size:"p4"},a))),le=z.default.div`
|
|
677
|
-
display: flex;
|
|
678
|
-
align-items: center;
|
|
679
|
-
margin-top: 24px;
|
|
680
|
-
margin-bottom: 36px;
|
|
681
|
-
|
|
682
|
-
figcaption {
|
|
683
|
-
white-space: nowrap;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
&[data-is-collapsed='true'] {
|
|
687
|
-
img {
|
|
688
|
-
max-width: 2rem;
|
|
689
|
-
max-height: 2rem;
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
`,de=z.default.div`
|
|
693
|
-
display: flex;
|
|
694
|
-
align-items: center;
|
|
695
|
-
padding: 9px 21px;
|
|
696
|
-
margin-bottom: 4px;
|
|
697
|
-
border-radius: 6px;
|
|
698
|
-
|
|
699
|
-
&:not([data-is-link-active]) {
|
|
700
|
-
cursor: pointer;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
p {
|
|
704
|
-
margin-left: 12px;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
&[data-is-link-active] {
|
|
708
|
-
background: ${l.theme.colors.primaryBase};
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
&[data-is-link-collapsed] {
|
|
712
|
-
justify-content: center;
|
|
713
|
-
margin-right: -14px;
|
|
714
|
-
margin-left: -14px;
|
|
715
|
-
}
|
|
716
|
-
`,se=z.default.div`
|
|
717
|
-
position: relative;
|
|
718
|
-
width: 100%;
|
|
719
|
-
> .container {
|
|
720
|
-
display: flex;
|
|
721
|
-
width: 100%;
|
|
722
|
-
-ms-overflow-style: none;
|
|
723
|
-
overflow-x: auto;
|
|
724
|
-
scrollbar-width: none;
|
|
725
|
-
|
|
726
|
-
&::-webkit-scrollbar {
|
|
727
|
-
display: none;
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
.section {
|
|
731
|
-
display: flex;
|
|
732
|
-
width: 100%;
|
|
733
|
-
flex-direction: column;
|
|
734
|
-
flex-shrink: 0;
|
|
735
|
-
margin: auto;
|
|
736
|
-
|
|
737
|
-
> .grid-layout {
|
|
738
|
-
display: grid;
|
|
739
|
-
width: 100%;
|
|
740
|
-
grid-row-gap: 8px;
|
|
741
|
-
|
|
742
|
-
> .item-grid {
|
|
743
|
-
width: 100%;
|
|
744
|
-
|
|
745
|
-
> * {
|
|
746
|
-
margin: 0 auto;
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
.progress-bar {
|
|
752
|
-
display: grid;
|
|
753
|
-
height: 15px;
|
|
754
|
-
margin-bottom: 10px;
|
|
755
|
-
|
|
756
|
-
.items-progress {
|
|
757
|
-
position: relative;
|
|
758
|
-
display: flex;
|
|
759
|
-
width: 100%;
|
|
760
|
-
align-items: center;
|
|
761
|
-
justify-content: center;
|
|
762
|
-
|
|
763
|
-
.icon-status {
|
|
764
|
-
position: absolute;
|
|
765
|
-
display: flex;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
.line {
|
|
769
|
-
width: 50%;
|
|
770
|
-
height: 2px;
|
|
771
|
-
background-color: ${l.theme.colors.gray600};
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
.bullet-nav {
|
|
779
|
-
position: absolute;
|
|
780
|
-
z-index: ${l.theme.zIndexes.belowHeader};
|
|
781
|
-
bottom: -30px;
|
|
782
|
-
left: 50%;
|
|
783
|
-
display: flex;
|
|
784
|
-
transform: translate(-50%, -50%);
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.bullet-nav__link {
|
|
788
|
-
display: block;
|
|
789
|
-
width: 8px;
|
|
790
|
-
height: 8px;
|
|
791
|
-
padding: 0;
|
|
792
|
-
margin-right: 8px;
|
|
793
|
-
backface-visibility: hidden;
|
|
794
|
-
background-color: #e4e8ec;
|
|
795
|
-
border-radius: 50%;
|
|
796
|
-
cursor: pointer;
|
|
797
|
-
transition: all 0.3s;
|
|
798
|
-
&.active {
|
|
799
|
-
&[data-scheme='hellosites'] {
|
|
800
|
-
background-color: ${l.theme.colors.primary600};
|
|
801
|
-
}
|
|
802
|
-
&[data-scheme='marrybaby'] {
|
|
803
|
-
background-color: ${l.theme.mbColors.pink};
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
.arrow-left {
|
|
809
|
-
position: absolute;
|
|
810
|
-
z-index: 10;
|
|
811
|
-
top: 50%;
|
|
812
|
-
left: -35px;
|
|
813
|
-
transform: translateY(-50%);
|
|
814
|
-
&[data-event-category] > * {
|
|
815
|
-
pointer-events: none;
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
.arrow-right {
|
|
820
|
-
position: absolute;
|
|
821
|
-
z-index: 10;
|
|
822
|
-
top: 50%;
|
|
823
|
-
right: -35px;
|
|
824
|
-
transform: translateY(-50%);
|
|
825
|
-
&[data-event-category] > * {
|
|
826
|
-
pointer-events: none;
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
.image-gallery-wrapper {
|
|
831
|
-
display: flex;
|
|
832
|
-
position: relative;
|
|
833
|
-
margin-top: 16px;
|
|
834
|
-
justify-content: center;
|
|
835
|
-
gap: 16px;
|
|
836
|
-
.image-block {
|
|
837
|
-
display: block;
|
|
838
|
-
width: 100%;
|
|
839
|
-
border: 2px solid transparent;
|
|
840
|
-
border-radius: 4px;
|
|
841
|
-
}
|
|
842
|
-
.image-block.active {
|
|
843
|
-
border-color: ${l.theme.colors.primaryBase};
|
|
844
|
-
}
|
|
845
|
-
img {
|
|
846
|
-
height: 40px;
|
|
847
|
-
width: auto;
|
|
848
|
-
max-width: 100%;
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
`,pe=z.default.div`
|
|
852
|
-
border-radius: ${l.theme.borderRadius};
|
|
853
|
-
${e=>e["data-is-in-card"]&&`\n padding: 12px; \n background-color: ${e["data-card-color"]};`}
|
|
854
|
-
`,ce=z.default.div`
|
|
855
|
-
width: 13px;
|
|
856
|
-
height: 13px;
|
|
857
|
-
margin-right: 10px;
|
|
858
|
-
background-color: ${e=>e["data-color"]};
|
|
859
|
-
border-radius: 50%;
|
|
860
|
-
`,me=z.default.div`
|
|
861
|
-
display: flex;
|
|
862
|
-
align-items: center;
|
|
863
|
-
color: ${l.theme.colors.gray800};
|
|
864
|
-
font-size: ${l.theme.sizes.fsParagraph4};
|
|
865
|
-
font-weight: ${l.theme.sizes.fwRegular};
|
|
866
|
-
`,ue=z.default.div`
|
|
867
|
-
display: flex;
|
|
868
|
-
align-items: center;
|
|
869
|
-
margin-top: 4px;
|
|
870
|
-
color: ${l.theme.colors.gray800};
|
|
871
|
-
font-size: ${l.theme.sizes.fsHeading2};
|
|
872
|
-
font-weight: ${l.theme.sizes.fwSemiBold};
|
|
873
|
-
|
|
874
|
-
& > svg {
|
|
875
|
-
width: 24px;
|
|
876
|
-
height: 24px;
|
|
877
|
-
margin-right: 12px;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
&[data-size='small'] {
|
|
881
|
-
margin-left: 23px;
|
|
882
|
-
font-size: ${l.theme.sizes.fsParagraph4};
|
|
883
|
-
font-weight: ${l.theme.sizes.fwBold};
|
|
884
|
-
}
|
|
885
|
-
`,ge=z.default.table`
|
|
886
|
-
width: 100%;
|
|
887
|
-
position: relative;
|
|
888
|
-
`,he=z.default.td`
|
|
889
|
-
padding: var(--vertical-spacing) var(--horizontal-spacing);
|
|
890
|
-
vertical-align: middle;
|
|
891
|
-
|
|
892
|
-
&[data-text-align='left'] {
|
|
893
|
-
text-align: left;
|
|
894
|
-
}
|
|
895
|
-
&[data-text-align='right'] {
|
|
896
|
-
text-align: right;
|
|
897
|
-
}
|
|
898
|
-
&[data-text-align='center'] {
|
|
899
|
-
text-align: center;
|
|
900
|
-
}
|
|
901
|
-
`,fe=z.default.tr`
|
|
902
|
-
border-bottom: 1px solid ${l.theme.colors.gray100};
|
|
903
|
-
|
|
904
|
-
&[data-is-active='true'] {
|
|
905
|
-
background-color: ${l.theme.colors.gray200};
|
|
906
|
-
}
|
|
907
|
-
`,xe=({children:e,className:t,style:a,isActive:r,onRowClicked:i,rowId:o})=>S.default.createElement(fe,{className:t,"data-is-active":r,style:a,onClick:()=>{i&&i(o)}},e),be=z.default.thead`
|
|
908
|
-
th {
|
|
909
|
-
padding: var(--vertical-spacing) var(--horizontal-spacing);
|
|
910
|
-
text-align: left;
|
|
911
|
-
|
|
912
|
-
color: ${l.theme.colors.gray500};
|
|
913
|
-
font-weight: ${l.theme.sizes.fwBold};
|
|
914
|
-
}
|
|
915
|
-
&[data-is-sticky] {
|
|
916
|
-
th {
|
|
917
|
-
position: sticky;
|
|
918
|
-
top: 0;
|
|
919
|
-
background: white;
|
|
920
|
-
border-bottom: 2px solid ${l.theme.colors.gray200};
|
|
921
|
-
}
|
|
922
|
-
}
|
|
923
|
-
`,ye=z.default.tbody`
|
|
924
|
-
position: relative;
|
|
925
|
-
&[data-is-striped] {
|
|
926
|
-
> tr:nth-child(odd) {
|
|
927
|
-
background-color: ${l.theme.colors.neutral50};
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
&[data-is-hoverable] {
|
|
931
|
-
> tr:hover {
|
|
932
|
-
background-color: ${l.theme.colors.neutral100};
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
`;var ve=r.createStyles((e=>{const t=r.getStylesRef("itemLabel");return{root:{display:"inline-flex",maxWidth:"100%",borderBottom:`1px solid ${e.colors.neutral[1]}`,"-webkit-overflow-scrolling":"touch",overflowX:"auto",overflowY:"hidden","-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"},columnGap:e.spacing.lg},item:{display:"flex",alignItems:"center",paddingBottom:"4px","&:hover":{cursor:"pointer"},"&.active":{color:e.fn.primaryColor(),borderBottom:`3px solid ${e.fn.primaryColor()}`,bottom:"-1px",position:"relative",[`& .${t}`]:{}},"&[data-event-category] > *":{pointerEvents:"none"}},itemInner:{display:"flex",alignItems:"center"},label:{ref:t},icon:{marginRight:e.spacing.xs}}}));const we=z.default.div`
|
|
936
|
-
padding: 1rem;
|
|
937
|
-
background: ${l.theme.colors.neutral100};
|
|
938
|
-
.survey-inner-wrapper {
|
|
939
|
-
padding: 1.25rem 1rem 1.5rem;
|
|
940
|
-
background: ${l.theme.colors.white};
|
|
941
|
-
border-radius: ${l.theme.borderRadius};
|
|
942
|
-
.survey-header {
|
|
943
|
-
border-bottom: 1px solid #dbdfe5;
|
|
944
|
-
margin-bottom: 12px;
|
|
945
|
-
.survey-header-text {
|
|
946
|
-
color: ${l.theme.colors.gray500};
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
.survey-contact-submit {
|
|
951
|
-
width: 100%;
|
|
952
|
-
margin-bottom: 1.5rem;
|
|
953
|
-
}
|
|
954
|
-
.term-policy-container {
|
|
955
|
-
width: 70%;
|
|
956
|
-
min-width: 210px;
|
|
957
|
-
max-width: 100%;
|
|
958
|
-
margin: 0 auto 1.5rem;
|
|
959
|
-
text-align: center;
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
.survey-progress-wrapper {
|
|
963
|
-
width: calc(100% + 2rem);
|
|
964
|
-
height: 4px;
|
|
965
|
-
margin-bottom: 1rem;
|
|
966
|
-
margin-left: -1rem;
|
|
967
|
-
background: #e4e8ec;
|
|
968
|
-
.survey-progress {
|
|
969
|
-
width: 100%;
|
|
970
|
-
height: 100%;
|
|
971
|
-
background: #00b16a;
|
|
972
|
-
transform: scaleX(0);
|
|
973
|
-
transform-origin: left;
|
|
974
|
-
transition: transform ease-in-out 0.3s;
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
.survey-button-wrapper {
|
|
979
|
-
display: flex;
|
|
980
|
-
justify-content: flex-end;
|
|
981
|
-
button {
|
|
982
|
-
justify-content: center;
|
|
983
|
-
&[data-has-icon='true'] {
|
|
984
|
-
svg {
|
|
985
|
-
width: 10px;
|
|
986
|
-
height: 10px;
|
|
987
|
-
margin-right: 10px;
|
|
988
|
-
vertical-align: unset;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
&.survey-next-button {
|
|
992
|
-
&[data-has-icon='true'] {
|
|
993
|
-
svg {
|
|
994
|
-
margin-right: 0;
|
|
995
|
-
margin-left: 10px;
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
}
|
|
1000
|
-
&[data-center='true'] {
|
|
1001
|
-
justify-content: center;
|
|
1002
|
-
button:only-child {
|
|
1003
|
-
width: 200px;
|
|
1004
|
-
max-width: 80%;
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
.survey-prev-button {
|
|
1008
|
-
margin-right: 0.5rem;
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
`,ke=z.default.div`
|
|
1013
|
-
position: relative;
|
|
1014
|
-
display: flex;
|
|
1015
|
-
align-items: center;
|
|
1016
|
-
cursor: pointer;
|
|
1017
|
-
|
|
1018
|
-
input {
|
|
1019
|
-
position: relative;
|
|
1020
|
-
width: 20px;
|
|
1021
|
-
height: 20px;
|
|
1022
|
-
flex-shrink: 0;
|
|
1023
|
-
border: solid 1px ${l.theme.colors.gray500};
|
|
1024
|
-
margin-right: 8px;
|
|
1025
|
-
border-radius: 100%;
|
|
1026
|
-
cursor: inherit;
|
|
1027
|
-
transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
|
|
1028
|
-
|
|
1029
|
-
&:hover,
|
|
1030
|
-
&:active {
|
|
1031
|
-
border-color: ${l.theme.colors.primaryBase};
|
|
1032
|
-
box-shadow: 0 0 2px 2px ${l.theme.colors.primary600};
|
|
1033
|
-
}
|
|
1034
|
-
|
|
1035
|
-
&:checked {
|
|
1036
|
-
display: flex;
|
|
1037
|
-
align-items: center;
|
|
1038
|
-
justify-content: center;
|
|
1039
|
-
border-color: ${l.theme.colors.primaryBase};
|
|
1040
|
-
&:after {
|
|
1041
|
-
position: absolute;
|
|
1042
|
-
top: 50%;
|
|
1043
|
-
left: 50%;
|
|
1044
|
-
width: 14px;
|
|
1045
|
-
height: 14px;
|
|
1046
|
-
//left: 3px;
|
|
1047
|
-
//position: absolute;
|
|
1048
|
-
//top: 4px;
|
|
1049
|
-
background-color: ${l.theme.colors.primaryBase};
|
|
1050
|
-
border-radius: 50%;
|
|
1051
|
-
content: '';
|
|
1052
|
-
transform: translate(-50%, -50%);
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
label {
|
|
1058
|
-
width: calc(100% - 24px);
|
|
1059
|
-
cursor: inherit;
|
|
1060
|
-
font-weight: ${l.theme.sizes.fwRegular};
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
&[data-disabled='true'] {
|
|
1064
|
-
color: ${l.theme.colors.gray300};
|
|
1065
|
-
cursor: not-allowed;
|
|
1066
|
-
input {
|
|
1067
|
-
border-color: ${l.theme.colors.gray300};
|
|
1068
|
-
|
|
1069
|
-
&:hover {
|
|
1070
|
-
border-color: ${l.theme.colors.gray300};
|
|
1071
|
-
box-shadow: none;
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
padding: 16px 20px;
|
|
1077
|
-
border: 0.5px solid transparent;
|
|
1078
|
-
background: #fafafa;
|
|
1079
|
-
border-radius: ${l.theme.borderRadius};
|
|
1080
|
-
&[data-checked='true'] {
|
|
1081
|
-
border: 0.5px solid #2d87f3;
|
|
1082
|
-
background: #f7f9fc;
|
|
1083
|
-
}
|
|
1084
|
-
input {
|
|
1085
|
-
border: solid 2px #737373;
|
|
1086
|
-
margin-right: 0;
|
|
1087
|
-
background: white;
|
|
1088
|
-
&[type='checkbox'] {
|
|
1089
|
-
&:checked {
|
|
1090
|
-
border: 0;
|
|
1091
|
-
background: ${l.theme.colors.primaryBase}
|
|
1092
|
-
url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 21C16.5228 21 21 16.5228 21 11C21 5.47715 16.5228 1 11 1C5.47715 1 1 5.47715 1 11C1 16.5228 5.47715 21 11 21Z' fill='%232D87F3' stroke='%232D87F3' stroke-width='2'/%3E%3Cpath d='M15.5714 8L9.67857 14L7 11.2727' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
|
|
1093
|
-
no-repeat center center;
|
|
1094
|
-
&:after {
|
|
1095
|
-
display: none;
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
|
|
1101
|
-
&[data-has-image='true'] {
|
|
1102
|
-
position: relative;
|
|
1103
|
-
display: block;
|
|
1104
|
-
padding: 12px;
|
|
1105
|
-
input {
|
|
1106
|
-
position: absolute;
|
|
1107
|
-
top: 20px;
|
|
1108
|
-
right: 20px;
|
|
1109
|
-
}
|
|
1110
|
-
.choice-image-wrapper {
|
|
1111
|
-
position: relative;
|
|
1112
|
-
padding-top: 56.25%;
|
|
1113
|
-
margin-bottom: 0.75rem;
|
|
1114
|
-
img {
|
|
1115
|
-
position: absolute;
|
|
1116
|
-
top: 0;
|
|
1117
|
-
left: 0;
|
|
1118
|
-
width: 100%;
|
|
1119
|
-
height: 100%;
|
|
1120
|
-
border-radius: ${l.theme.borderRadius};
|
|
1121
|
-
object-fit: cover;
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
}
|
|
1125
|
-
`,Ee=z.default.div`
|
|
1126
|
-
position: relative;
|
|
1127
|
-
width: 100%;
|
|
1128
|
-
padding-top: min(400px, 100%);
|
|
1129
|
-
.survey-thankyou-wrapper-inner {
|
|
1130
|
-
position: absolute;
|
|
1131
|
-
top: 0;
|
|
1132
|
-
left: 0;
|
|
1133
|
-
display: flex;
|
|
1134
|
-
width: 100%;
|
|
1135
|
-
height: 100%;
|
|
1136
|
-
flex-direction: column;
|
|
1137
|
-
align-items: center;
|
|
1138
|
-
justify-content: center;
|
|
1139
|
-
.survey-thankyou-icon {
|
|
1140
|
-
width: 36%;
|
|
1141
|
-
max-height: 50%;
|
|
1142
|
-
margin-bottom: 1.5rem;
|
|
1143
|
-
}
|
|
1144
|
-
.survey-thankyou-title {
|
|
1145
|
-
margin-bottom: 1rem;
|
|
1146
|
-
text-align: center;
|
|
1147
|
-
}
|
|
1148
|
-
.survey-thankyou-subtitle {
|
|
1149
|
-
text-align: center;
|
|
1150
|
-
> * {
|
|
1151
|
-
text-align: center;
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
`,Ce=z.default.div`
|
|
1156
|
-
.survey-question-text-wrapper {
|
|
1157
|
-
margin-bottom: 24px;
|
|
1158
|
-
.survey-question-title {
|
|
1159
|
-
margin-bottom: 4px;
|
|
1160
|
-
}
|
|
1161
|
-
.survey-question-subtitle,
|
|
1162
|
-
.survey-question-description {
|
|
1163
|
-
color: ${l.theme.colors.gray500};
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
.survey-question-image {
|
|
1167
|
-
width: 100%;
|
|
1168
|
-
margin-bottom: 12px;
|
|
1169
|
-
border-radius: ${l.theme.borderRadius};
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
.survey-question-answer-wrapper {
|
|
1173
|
-
margin-bottom: 1.5rem;
|
|
1174
|
-
.survey-question-options-wrapper {
|
|
1175
|
-
display: grid;
|
|
1176
|
-
grid-gap: 0.5rem;
|
|
1177
|
-
grid-template-columns: 1fr;
|
|
1178
|
-
&[data-has-image='true'] {
|
|
1179
|
-
grid-gap: 0.8rem;
|
|
1180
|
-
grid-template-columns: 1fr 1fr;
|
|
1181
|
-
}
|
|
1182
|
-
.survey-question-option-item {
|
|
1183
|
-
label {
|
|
1184
|
-
color: #262626;
|
|
1185
|
-
font-size: 16px;
|
|
1186
|
-
font-style: normal;
|
|
1187
|
-
font-weight: normal;
|
|
1188
|
-
line-height: 24px;
|
|
1189
|
-
}
|
|
1190
|
-
}
|
|
1191
|
-
}
|
|
1192
|
-
.survey-contact-input {
|
|
1193
|
-
margin-bottom: 1rem;
|
|
1194
|
-
&:first-child {
|
|
1195
|
-
margin-top: 1rem;
|
|
1196
|
-
}
|
|
1197
|
-
label {
|
|
1198
|
-
font-weight: 700;
|
|
1199
|
-
}
|
|
1200
|
-
input {
|
|
1201
|
-
margin-top: 6px;
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
`,De=({size:e="small",label:t,name:a,checked:r,value:i,className:o,isDisabled:n=!1,onChange:l,hasImage:d,inputType:s,image:p})=>S.default.createElement(ke,{"data-disabled":n,className:o,"data-size":e,"data-checked":r,onClick:()=>{l(i)},"data-has-image":d},d&&S.default.createElement("div",{className:"choice-image-wrapper"},p&&S.default.createElement("img",{src:p,loading:"lazy"})),S.default.createElement("label",{onClick:e=>{e.preventDefault()},htmlFor:`${a}-${i}`},t),S.default.createElement("input",{type:s,checked:r,name:a,id:`${a}-${i}`,value:i,readOnly:!0})),$e=({question:a,description:r,onOptionsChange:i,onTextOptionsChange:o,style:n,className:l})=>{const{type:d,title:s,subtitle:p,image:c,textOptions:g,options:h,name:f,is_multi_select:x}=a,b=!!(null==h?void 0:h.some((e=>e.image))),[y,v]=e.useState([]),[w,k]=e.useState((()=>(null==g?void 0:g.slice())||[]));return e.useEffect((()=>{i&&i(y.slice())}),[!!i,y]),e.useEffect((()=>{o&&o(w)}),[!!o,w]),S.default.createElement(Ce,{className:l,style:n},S.default.createElement("div",{className:"survey-question-text-wrapper"},s&&S.default.createElement(m.Heading,{"data-nosubtitle":!p,className:"survey-question-title",tag:"h4"},s),p&&S.default.createElement(t.Text,{className:"survey-question-subtitle",size:"p2"},p),r&&S.default.createElement(t.Text,{className:"survey-question-description",size:"p2"},r)),c&&S.default.createElement("img",{src:c,className:"survey-question-image",loading:"lazy"}),S.default.createElement("div",{className:"survey-question-answer-wrapper"},"radio"===d&&S.default.createElement("div",{"data-has-image":b,className:"survey-question-options-wrapper"},h.map((e=>{var t;return S.default.createElement(De,{inputType:"radio",label:e.label,name:f,key:`${f}-${e.value}`,checked:(null===(t=y[0])||void 0===t?void 0:t.value)===e.value,value:e.value,onChange:e=>{v([h.find((t=>t.value===e))])},className:"survey-question-option-item",image:e.image,hasImage:b})}))),"checkbox"===d&&S.default.createElement("div",{"data-has-image":b,className:"survey-question-options-wrapper"},h.map((e=>S.default.createElement(De,{inputType:"checkbox",label:e.label,name:f,key:`${f}-${e.value}`,checked:!!y.find((t=>t.value===e.value)),value:e.value,onChange:()=>{const t=y.findIndex((t=>t.value===e.value));v(t>=0?e=>(e.splice(t,1),e.slice()):x?t=>t.concat(e).slice():[e])},className:"survey-question-option-item survey-option-radio",image:e.image,hasImage:b})))),"textbox"===d&&w.map(((e,t)=>e.isTextArea?S.default.createElement(m.TextArea,{key:t,placeholder:e.placeholder,height:"150px",value:e.value,onChange:e=>k((a=>(a[t].value=e,a.slice())))}):S.default.createElement(u.Input,{key:t,value:e.value,name:e.name,size:"md",className:"survey-contact-input",label:e.label,placeholder:e.placeholder,onChange:e=>{k((a=>(a[t].value=e,a.slice())))},type:e.type})))))};var Se;!function(e){e[e.UNLIMITED=0]="UNLIMITED",e[e.EXACT_NUMBER=1]="EXACT_NUMBER",e[e.RANGE=2]="RANGE"}(Se||(Se={}));const Be=200,ze=z.default.div``,Me=z.default.div`
|
|
1206
|
-
width: 100vw;
|
|
1207
|
-
height: 100vh;
|
|
1208
|
-
position: fixed;
|
|
1209
|
-
bottom: 0;
|
|
1210
|
-
right: 0;
|
|
1211
|
-
background-color: ${l.theme.colors.white};
|
|
1212
|
-
opacity: 0.83;
|
|
1213
|
-
transition: display ${Be}ms linear;
|
|
1214
|
-
|
|
1215
|
-
[data-floatmenu-open='true'] & {
|
|
1216
|
-
animation: showBackgroundPanel ${Be}ms linear 0s normal
|
|
1217
|
-
forwards;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
[data-floatmenu-open='false'] & {
|
|
1221
|
-
animation: hideBackgroundPanel ${Be}ms linear 0s normal
|
|
1222
|
-
forwards;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
@keyframes showBackgroundPanel {
|
|
1226
|
-
0% {
|
|
1227
|
-
opacity: 0;
|
|
1228
|
-
width: 100vw;
|
|
1229
|
-
height: 100vh;
|
|
1230
|
-
}
|
|
1231
|
-
100% {
|
|
1232
|
-
opacity: 0.83;
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
@keyframes hideBackgroundPanel {
|
|
1237
|
-
0% {
|
|
1238
|
-
width: 100vw;
|
|
1239
|
-
height: 100vh;
|
|
1240
|
-
}
|
|
1241
|
-
99% {
|
|
1242
|
-
width: 100vw;
|
|
1243
|
-
height: 100vh;
|
|
1244
|
-
}
|
|
1245
|
-
100% {
|
|
1246
|
-
opacity: 0;
|
|
1247
|
-
width: 0;
|
|
1248
|
-
height: 0;
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
`,Te=z.default.div`
|
|
1252
|
-
position: fixed;
|
|
1253
|
-
right: 16px;
|
|
1254
|
-
bottom: 40px;
|
|
1255
|
-
`,Pe=z.default.div`
|
|
1256
|
-
display: flex;
|
|
1257
|
-
flex-direction: column;
|
|
1258
|
-
gap: 16px;
|
|
1259
|
-
transition: all ${Be}ms ease-in-out;
|
|
1260
|
-
position: fixed;
|
|
1261
|
-
bottom: 112px;
|
|
1262
|
-
right: 16px;
|
|
1263
|
-
|
|
1264
|
-
// scale
|
|
1265
|
-
[data-animation-type='scale'] & {
|
|
1266
|
-
transform-origin: 100% 100%;
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
[data-animation-type='scale'][data-floatmenu-open='true'] & {
|
|
1270
|
-
transform: scale(1);
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
[data-animation-type='scale'][data-floatmenu-open='false'] & {
|
|
1274
|
-
transform: scale(0);
|
|
1275
|
-
bottom: 46px;
|
|
1276
|
-
right: 36px;
|
|
1277
|
-
}
|
|
1278
|
-
`,Ie=z.default.div`
|
|
1279
|
-
border-radius: 50%;
|
|
1280
|
-
width: 56px;
|
|
1281
|
-
height: 56px;
|
|
1282
|
-
position: relative;
|
|
1283
|
-
cursor: pointer;
|
|
1284
|
-
margin-left: auto;
|
|
1285
|
-
transition: all 0.1s linear;
|
|
1286
|
-
-webkit-tap-highlight-color: transparent;
|
|
1287
|
-
[data-site-type='hb'] & {
|
|
1288
|
-
background-color: ${l.theme.colors.primaryBase};
|
|
1289
|
-
&:hover {
|
|
1290
|
-
background-color: ${l.theme.colors.primaryHover};
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
[data-site-type='mb'] & {
|
|
1294
|
-
background-color: #2d87f3;
|
|
1295
|
-
&:hover {
|
|
1296
|
-
background-color: #2c74df;
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
&:before {
|
|
1301
|
-
content: '';
|
|
1302
|
-
width: 2px;
|
|
1303
|
-
height: 20px;
|
|
1304
|
-
background-color: ${l.theme.colors.white};
|
|
1305
|
-
border-radius: 2px;
|
|
1306
|
-
position: absolute;
|
|
1307
|
-
top: 50%;
|
|
1308
|
-
left: 50%;
|
|
1309
|
-
transform: translate(-50%, -50%);
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
&:after {
|
|
1313
|
-
content: '';
|
|
1314
|
-
width: 20px;
|
|
1315
|
-
height: 2px;
|
|
1316
|
-
background-color: ${l.theme.colors.white};
|
|
1317
|
-
border-radius: 2px;
|
|
1318
|
-
position: absolute;
|
|
1319
|
-
top: 50%;
|
|
1320
|
-
left: 50%;
|
|
1321
|
-
transform: translate(-50%, -50%);
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
|
-
[data-floatmenu-open='true'] &:before,
|
|
1325
|
-
[data-floatmenu-open='true'] &:after {
|
|
1326
|
-
animation: toX ${Be}ms linear 0s normal forwards;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
[data-floatmenu-open='false'] &:before,
|
|
1330
|
-
[data-floatmenu-open='false'] &:after {
|
|
1331
|
-
animation: toPlus ${Be}ms linear 0s normal forwards;
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
@keyframes toX {
|
|
1335
|
-
0% {
|
|
1336
|
-
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1337
|
-
}
|
|
1338
|
-
49% {
|
|
1339
|
-
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1340
|
-
}
|
|
1341
|
-
50% {
|
|
1342
|
-
width: 2px;
|
|
1343
|
-
height: 2px;
|
|
1344
|
-
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1345
|
-
}
|
|
1346
|
-
100% {
|
|
1347
|
-
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
@keyframes toPlus {
|
|
1352
|
-
0% {
|
|
1353
|
-
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1354
|
-
}
|
|
1355
|
-
49% {
|
|
1356
|
-
transform: translate(-50%, -50%) rotateZ(45deg);
|
|
1357
|
-
}
|
|
1358
|
-
50% {
|
|
1359
|
-
width: 2px;
|
|
1360
|
-
height: 2px;
|
|
1361
|
-
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1362
|
-
}
|
|
1363
|
-
100% {
|
|
1364
|
-
transform: translate(-50%, -50%) rotateZ(0deg);
|
|
1365
|
-
}
|
|
1366
|
-
}
|
|
1367
|
-
`,Ne=z.default.div`
|
|
1368
|
-
display: flex;
|
|
1369
|
-
gap: 8px;
|
|
1370
|
-
align-items: center;
|
|
1371
|
-
justify-content: flex-end;
|
|
1372
|
-
|
|
1373
|
-
width: fit-content;
|
|
1374
|
-
margin-left: auto;
|
|
1375
|
-
|
|
1376
|
-
[data-floatmenu-open='true'] {
|
|
1377
|
-
cursor: pointer;
|
|
1378
|
-
}
|
|
1379
|
-
[data-floatmenu-open='false'] {
|
|
1380
|
-
pointer-events: none;
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
[data-animation-type='zoom'] &,
|
|
1384
|
-
[data-animation-type='slide'] & {
|
|
1385
|
-
position: absolute;
|
|
1386
|
-
right: 0;
|
|
1387
|
-
width: max-content;
|
|
1388
|
-
}
|
|
1389
|
-
// slide
|
|
1390
|
-
[data-animation-type='slide'] & {
|
|
1391
|
-
transition: all ${Be}ms ease-in;
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
[data-animation-type='slide'][data-floatmenu-open='true'] & {
|
|
1395
|
-
animation: showItem ${Be}ms;
|
|
1396
|
-
}
|
|
1397
|
-
[data-animation-type='slide'][data-floatmenu-open='false'] & {
|
|
1398
|
-
bottom: -64px !important;
|
|
1399
|
-
animation: hideItemOnZoom ${250}ms normal forwards;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
// zoom
|
|
1403
|
-
[data-animation-type='zoom'][data-floatmenu-open='false'] & {
|
|
1404
|
-
animation: hideItemOnZoom ${250}ms normal forwards;
|
|
1405
|
-
}
|
|
1406
|
-
|
|
1407
|
-
@keyframes showItem {
|
|
1408
|
-
0% {
|
|
1409
|
-
opacity: 0;
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
100% {
|
|
1413
|
-
opacity: 1;
|
|
1414
|
-
}
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
@keyframes hideItemOnZoom {
|
|
1418
|
-
0% {
|
|
1419
|
-
transform: translateX(0);
|
|
1420
|
-
opacity: 1;
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
99% {
|
|
1424
|
-
transform: translateX(0);
|
|
1425
|
-
opacity: 0.5;
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
100% {
|
|
1429
|
-
transform: translateX(calc(100% + 16px));
|
|
1430
|
-
opacity: 0;
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
`,Ae=z.default.div`
|
|
1434
|
-
font-size: 14px;
|
|
1435
|
-
|
|
1436
|
-
// zoom
|
|
1437
|
-
[data-animation-type='zoom'] & {
|
|
1438
|
-
transition: transform ${Be}ms ease-in-out;
|
|
1439
|
-
transform-origin: 100% 0;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
[data-animation-type='zoom'][data-floatmenu-open='true'] & {
|
|
1443
|
-
transform: scale(1);
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
[data-animation-type='zoom'][data-floatmenu-open='false'] & {
|
|
1447
|
-
transform: scale(0);
|
|
1448
|
-
}
|
|
1449
|
-
|
|
1450
|
-
// slide
|
|
1451
|
-
[data-animation-type='slide'] & {
|
|
1452
|
-
transition: opacity ${Be}ms;
|
|
1453
|
-
}
|
|
1454
|
-
[data-animation-type='slide'][data-floatmenu-open='true'] & {
|
|
1455
|
-
opacity: 1;
|
|
1456
|
-
}
|
|
1457
|
-
[data-animation-type='slide'][data-floatmenu-open='false'] & {
|
|
1458
|
-
opacity: 0;
|
|
1459
|
-
}
|
|
1460
|
-
`,je=z.default.div`
|
|
1461
|
-
border-radius: 50%;
|
|
1462
|
-
box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 8px rgba(0, 0, 0, 0.04),
|
|
1463
|
-
0px 0px 1px rgba(0, 0, 0, 0.04);
|
|
1464
|
-
width: 48px;
|
|
1465
|
-
height: 48px;
|
|
1466
|
-
display: flex;
|
|
1467
|
-
align-items: center;
|
|
1468
|
-
justify-content: center;
|
|
1469
|
-
background-color: ${l.theme.colors.white};
|
|
1470
|
-
|
|
1471
|
-
// zoom
|
|
1472
|
-
[data-animation-type='zoom'] & {
|
|
1473
|
-
transition: transform ${Be}ms ease-in-out;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
[data-animation-type='zoom'][data-floatmenu-open='true'] & {
|
|
1477
|
-
transform: scale(1);
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
[data-animation-type='zoom'][data-floatmenu-open='false'] & {
|
|
1481
|
-
transform: scale(0);
|
|
1482
|
-
}
|
|
1483
|
-
|
|
1484
|
-
> img {
|
|
1485
|
-
width: 24px;
|
|
1486
|
-
height: 24px;
|
|
1487
|
-
object-fit: contain;
|
|
1488
|
-
}
|
|
1489
|
-
`,_e=z.default.div`
|
|
1490
|
-
padding: 16px;
|
|
1491
|
-
width: 375px;
|
|
1492
|
-
word-wrap: break-word;
|
|
1493
|
-
word-break: break-word;
|
|
1494
|
-
${o.MediaQueries.mbDown} {
|
|
1495
|
-
width: 100%;
|
|
1496
|
-
}
|
|
1497
|
-
&[data-theme='helloSites'] {
|
|
1498
|
-
background: ${l.theme.colors.secondaryBase};
|
|
1499
|
-
box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.1);
|
|
1500
|
-
}
|
|
1501
|
-
&[data-theme='marryBaby'] {
|
|
1502
|
-
border: none;
|
|
1503
|
-
background: ${l.theme.mbColors.pink};
|
|
1504
|
-
border-radius: 12px 12px 0 0;
|
|
1505
|
-
}
|
|
1506
|
-
&[data-is-open='false'] {
|
|
1507
|
-
display: none;
|
|
1508
|
-
}
|
|
1509
|
-
&[data-default-position='true'] {
|
|
1510
|
-
position: fixed;
|
|
1511
|
-
z-index: 1000;
|
|
1512
|
-
bottom: 0;
|
|
1513
|
-
right: 0;
|
|
1514
|
-
${o.MediaQueries.mbDown} {
|
|
1515
|
-
left: 0;
|
|
1516
|
-
right: unset;
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
`,Oe=z.default.p`
|
|
1520
|
-
position: relative;
|
|
1521
|
-
padding-left: 24px;
|
|
1522
|
-
color: ${l.theme.colors.white};
|
|
1523
|
-
font-size: 14px;
|
|
1524
|
-
font-weight: 600;
|
|
1525
|
-
line-height: 22px;
|
|
1526
|
-
&[data-has-content='true'] {
|
|
1527
|
-
::before {
|
|
1528
|
-
position: absolute;
|
|
1529
|
-
top: 0;
|
|
1530
|
-
bottom: 0;
|
|
1531
|
-
left: 0;
|
|
1532
|
-
width: 16px;
|
|
1533
|
-
height: 16px;
|
|
1534
|
-
margin: auto 0;
|
|
1535
|
-
content: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.00001 1.33331C4.32001 1.33331 1.33334 4.31998 1.33334 7.99998C1.33334 11.68 4.32001 14.6666 8.00001 14.6666C11.68 14.6666 14.6667 11.68 14.6667 7.99998C14.6667 4.31998 11.68 1.33331 8.00001 1.33331ZM8.00001 11.3333C7.63334 11.3333 7.33334 11.0333 7.33334 10.6666V7.99998C7.33334 7.63331 7.63334 7.33331 8.00001 7.33331C8.36668 7.33331 8.66668 7.63331 8.66668 7.99998V10.6666C8.66668 11.0333 8.36668 11.3333 8.00001 11.3333ZM7.33334 5.99998H8.66668V4.66665H7.33334V5.99998Z' fill='white'/%3e%3c/svg%3e");
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
`,Fe=z.default.p`
|
|
1539
|
-
margin-top: 2px;
|
|
1540
|
-
color: ${l.theme.colors.white};
|
|
1541
|
-
font-size: 12px;
|
|
1542
|
-
font-weight: 400;
|
|
1543
|
-
line-height: 18px;
|
|
1544
|
-
a {
|
|
1545
|
-
color: ${l.theme.colors.white};
|
|
1546
|
-
text-decoration: none;
|
|
1547
|
-
text-decoration-line: underline;
|
|
1548
|
-
}
|
|
1549
|
-
`,Re=z.default.div`
|
|
1550
|
-
display: flex;
|
|
1551
|
-
align-items: center;
|
|
1552
|
-
margin-top: 8px;
|
|
1553
|
-
gap: 16px;
|
|
1554
|
-
`,Ge=z.default.div`
|
|
1555
|
-
padding: 7px 28px;
|
|
1556
|
-
background: ${l.theme.colors.white};
|
|
1557
|
-
border-radius: ${l.theme.borderRadius};
|
|
1558
|
-
color: ${l.theme.colors.secondaryBase};
|
|
1559
|
-
cursor: pointer;
|
|
1560
|
-
font-size: 12px;
|
|
1561
|
-
font-weight: 600;
|
|
1562
|
-
line-height: 18px;
|
|
1563
|
-
`,Le=z.default.a`
|
|
1564
|
-
color: ${l.theme.colors.white};
|
|
1565
|
-
font-size: 12px;
|
|
1566
|
-
font-weight: 600;
|
|
1567
|
-
line-height: 22px;
|
|
1568
|
-
text-decoration: none;
|
|
1569
|
-
text-decoration-line: underline;
|
|
1570
|
-
`,Qe=n.keyframes`
|
|
1571
|
-
from {
|
|
1572
|
-
transform: translateY(100%);
|
|
1573
|
-
visibility: visible;
|
|
1574
|
-
}
|
|
1575
|
-
|
|
1576
|
-
to {
|
|
1577
|
-
transform: translateY(0);
|
|
1578
|
-
}
|
|
1579
|
-
`,Ue=n.keyframes`
|
|
1580
|
-
from {
|
|
1581
|
-
transform: translate(0, 0);
|
|
1582
|
-
}
|
|
1583
|
-
|
|
1584
|
-
to {
|
|
1585
|
-
visibility: hidden;
|
|
1586
|
-
transform: translate(0, 100%);
|
|
1587
|
-
}
|
|
1588
|
-
`,He=z.default.div`
|
|
1589
|
-
cursor: pointer;
|
|
1590
|
-
display: flex;
|
|
1591
|
-
flex-direction: column;
|
|
1592
|
-
align-items: center;
|
|
1593
|
-
justify-items: center;
|
|
1594
|
-
gap: 4px;
|
|
1595
|
-
|
|
1596
|
-
.mobile-navigation-label {
|
|
1597
|
-
font-weight: 500;
|
|
1598
|
-
font-size: 10px;
|
|
1599
|
-
line-height: 16px;
|
|
1600
|
-
color: ${l.theme.colors.gray600};
|
|
1601
|
-
overflow: hidden;
|
|
1602
|
-
text-overflow: ellipsis;
|
|
1603
|
-
white-space: nowrap;
|
|
1604
|
-
width: 60px;
|
|
1605
|
-
text-align: center;
|
|
1606
|
-
${o.MediaQueries.mbDown} {
|
|
1607
|
-
max-width: 60px;
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
.mobile-navigation-icon {
|
|
1612
|
-
position: relative;
|
|
1613
|
-
height: 24px;
|
|
1614
|
-
&[data-no-label='true'] {
|
|
1615
|
-
border-radius: 50%;
|
|
1616
|
-
display: flex;
|
|
1617
|
-
flex-direction: column;
|
|
1618
|
-
justify-content: center;
|
|
1619
|
-
align-items: center;
|
|
1620
|
-
padding: 0px;
|
|
1621
|
-
gap: 16px;
|
|
1622
|
-
width: 40px;
|
|
1623
|
-
height: 40px;
|
|
1624
|
-
}
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
&[data-is-special='true'] {
|
|
1628
|
-
display: flex;
|
|
1629
|
-
flex-direction: row;
|
|
1630
|
-
align-items: center;
|
|
1631
|
-
padding: 4px 12px 4px 6px;
|
|
1632
|
-
gap: 4px;
|
|
1633
|
-
|
|
1634
|
-
min-width: 152px;
|
|
1635
|
-
height: 32px;
|
|
1636
|
-
/* Neutral/Neutral-50 */
|
|
1637
|
-
background: ${l.theme.colors.primary50};
|
|
1638
|
-
border-radius: 20px;
|
|
1639
|
-
flex-grow: 1;
|
|
1640
|
-
.mobile-navigation-icon {
|
|
1641
|
-
&[data-no-label='true'] {
|
|
1642
|
-
width: 24px;
|
|
1643
|
-
height: 24px;
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
.mobile-navigation-label {
|
|
1647
|
-
max-width: max-content;
|
|
1648
|
-
color: ${l.theme.colors.primaryBase};
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
&[data-is-active='true'] {
|
|
1653
|
-
.mobile-navigation-label {
|
|
1654
|
-
color: ${l.theme.colors.primaryBase};
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
&[data-is-disabled='true'] {
|
|
1659
|
-
opacity: 0.2;
|
|
1660
|
-
}
|
|
1661
|
-
`,qe=z.default.div`
|
|
1662
|
-
z-index: 100;
|
|
1663
|
-
position: fixed;
|
|
1664
|
-
bottom: 0;
|
|
1665
|
-
left: 0;
|
|
1666
|
-
width: 100%;
|
|
1667
|
-
height: 100%;
|
|
1668
|
-
max-height: 56px;
|
|
1669
|
-
min-height: 56px;
|
|
1670
|
-
display: flex;
|
|
1671
|
-
height: 100%;
|
|
1672
|
-
align-items: center;
|
|
1673
|
-
justify-content: space-evenly;
|
|
1674
|
-
background-color: ${l.theme.colors.white};
|
|
1675
|
-
@supports (padding-bottom: env(safe-area-inset-bottom)) {
|
|
1676
|
-
min-height: calc(56px + env(safe-area-inset-bottom));
|
|
1677
|
-
max-height: calc(56px + env(safe-area-inset-bottom));
|
|
1678
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
1679
|
-
}
|
|
1680
|
-
& > div {
|
|
1681
|
-
flex: 1;
|
|
1682
|
-
}
|
|
1683
|
-
a {
|
|
1684
|
-
text-decoration: none;
|
|
1685
|
-
}
|
|
1686
|
-
&[data-is-collapsed='true'] {
|
|
1687
|
-
animation: ${Ue} 500ms ease-in-out forwards;
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
&[data-is-collapsed='false'] {
|
|
1691
|
-
animation: ${Qe} 500ms ease-in-out forwards;
|
|
1692
|
-
}
|
|
1693
|
-
&[data-template='health-tool'] {
|
|
1694
|
-
height: 44px;
|
|
1695
|
-
max-height: 44px;
|
|
1696
|
-
min-height: 44px;
|
|
1697
|
-
justify-content: space-between;
|
|
1698
|
-
& > div {
|
|
1699
|
-
flex: 0;
|
|
1700
|
-
}
|
|
1701
|
-
}
|
|
1702
|
-
`,We=z.default.span`
|
|
1703
|
-
position: absolute;
|
|
1704
|
-
left: 100%;
|
|
1705
|
-
transform: translate(-10px, calc(-50% + 3px));
|
|
1706
|
-
background-color: ${l.theme.colors.green800};
|
|
1707
|
-
border-radius: 32px;
|
|
1708
|
-
border: 2px solid ${l.theme.colors.white};
|
|
1709
|
-
padding: 1px 4px;
|
|
1710
|
-
display: flex;
|
|
1711
|
-
flex-direction: column;
|
|
1712
|
-
justify-content: center;
|
|
1713
|
-
align-items: center;
|
|
1714
|
-
height: 20px;
|
|
1715
|
-
aspect-ratio: 1;
|
|
1716
|
-
&[data-no-label='true'] {
|
|
1717
|
-
left: 0;
|
|
1718
|
-
transform: translate(22px, -50%);
|
|
1719
|
-
}
|
|
1720
|
-
`;z.default.div`
|
|
1721
|
-
position: absolute;
|
|
1722
|
-
top: 0;
|
|
1723
|
-
left: 0;
|
|
1724
|
-
height: 3px;
|
|
1725
|
-
background-color: ${l.theme.colors.primaryBase};
|
|
1726
|
-
transition: width 150ms linear;
|
|
1727
|
-
`,z.default.div`
|
|
1728
|
-
a {
|
|
1729
|
-
text-decoration: none;
|
|
1730
|
-
}
|
|
1731
|
-
`;const Ve=e=>{var{badgeAmount:a,disabled:r=!1,hasBadge:i=!1,icon:o,isActive:n=!1,isSpecial:d=!1,label:s}=e,p=g.__rest(e,["badgeAmount","disabled","hasBadge","icon","isActive","isSpecial","label"]);return S.default.createElement(He,Object.assign({"data-is-special":d,"data-is-active":n,"data-is-disabled":r},p),S.default.createElement("div",{className:"mobile-navigation-icon","data-no-label":!Boolean(s)},i&&S.default.createElement(We,{"data-no-label":!Boolean(s)},S.default.createElement(t.Text,{size:"s5",weight:"semiBold",color:d?l.theme.colors.primaryBase:l.theme.colors.white},a)),o),s&&S.default.createElement("span",{className:"mobile-navigation-label"},s))},Ye=e=>{var{children:t,isCollapsed:a=!1,template:r="homepage"}=e,i=g.__rest(e,["children","isCollapsed","template"]);return S.default.createElement(qe,Object.assign({"data-is-collapsed":a,"data-template":r},i),t)};Ye.Icon=Ve;const Ze=z.default.div`
|
|
1732
|
-
position: relative;
|
|
1733
|
-
width: 100%;
|
|
1734
|
-
height: 100%;
|
|
1735
|
-
background: ${e=>e.bgColor};
|
|
1736
|
-
background-color: inherit;
|
|
1737
|
-
|
|
1738
|
-
&[data-site='marryBaby'] {
|
|
1739
|
-
background-color: ${e=>e["data-banner-color"]||"#5EC08F"};
|
|
1740
|
-
background-image: none;
|
|
1741
|
-
padding-bottom: 0;
|
|
1742
|
-
&[data-is-embedded='true'] {
|
|
1743
|
-
border-top-left-radius: 16px;
|
|
1744
|
-
border-top-right-radius: 16px;
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
`,Xe="hhgcomp-toolbanner-wrapper",Je=m.getDefaultClassWrapper(Ze,Xe),Ke=z.default.div`
|
|
1748
|
-
width: 100%;
|
|
1749
|
-
${o.MediaQueries.mbDown} {
|
|
1750
|
-
padding-bottom: 24px;
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
a {
|
|
1754
|
-
text-decoration: none;
|
|
1755
|
-
color: inherit;
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
&[data-site='marryBaby'] {
|
|
1759
|
-
a {
|
|
1760
|
-
text-decoration: underline;
|
|
1761
|
-
}
|
|
1762
|
-
${o.MediaQueries.mbDown} {
|
|
1763
|
-
padding-bottom: 0;
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
${o.MediaQueries.tdDown} {
|
|
1768
|
-
height: auto;
|
|
1769
|
-
.${Xe} {
|
|
1770
|
-
.${"hhgcomp-toolbanner-inner"} {
|
|
1771
|
-
display: flex;
|
|
1772
|
-
align-items: center;
|
|
1773
|
-
${o.MediaQueries.mbDown} {
|
|
1774
|
-
justify-content: space-between;
|
|
1775
|
-
}
|
|
1776
|
-
.${"hhgcomp-toolbanner-iconcontainer"} {
|
|
1777
|
-
position: relative;
|
|
1778
|
-
right: -50px;
|
|
1779
|
-
bottom: -20px;
|
|
1780
|
-
width: 110px;
|
|
1781
|
-
min-width: 0;
|
|
1782
|
-
height: auto;
|
|
1783
|
-
min-height: 0;
|
|
1784
|
-
align-self: flex-end;
|
|
1785
|
-
margin-bottom: -20px;
|
|
1786
|
-
${o.MediaQueries.mbDown} {
|
|
1787
|
-
right: unset;
|
|
1788
|
-
}
|
|
1789
|
-
}
|
|
1790
|
-
}
|
|
1791
|
-
}
|
|
1792
|
-
}
|
|
1793
|
-
`,et=z.default.div`
|
|
1794
|
-
display: flex;
|
|
1795
|
-
flex-direction: row;
|
|
1796
|
-
align-items: center;
|
|
1797
|
-
padding: 16px 24px;
|
|
1798
|
-
gap: 16px;
|
|
1799
|
-
width: 100%;
|
|
1800
|
-
/* background-color: ; */
|
|
1801
|
-
${o.MediaQueries.mbDown} {
|
|
1802
|
-
padding: 16px 0;
|
|
1803
|
-
}
|
|
1804
|
-
`,tt=z.default.div`
|
|
1805
|
-
background: #ffffff;
|
|
1806
|
-
border-radius: 16px;
|
|
1807
|
-
width: 48px;
|
|
1808
|
-
height: 48px;
|
|
1809
|
-
position: relative;
|
|
1810
|
-
|
|
1811
|
-
img {
|
|
1812
|
-
position: absolute;
|
|
1813
|
-
top: 50%;
|
|
1814
|
-
left: 50%;
|
|
1815
|
-
max-width: 24px;
|
|
1816
|
-
max-height: 24px;
|
|
1817
|
-
transform: translate(-50%, -50%);
|
|
1818
|
-
}
|
|
1819
|
-
`,at=z.default.div`
|
|
1820
|
-
display: flex;
|
|
1821
|
-
align-items: flex-start;
|
|
1822
|
-
flex-direction: column;
|
|
1823
|
-
justify-content: space-between;
|
|
1824
|
-
gap: 0;
|
|
1825
|
-
width: 100%;
|
|
1826
|
-
`,rt=z.default.div`
|
|
1827
|
-
display: flex;
|
|
1828
|
-
align-items: flex-start;
|
|
1829
|
-
font-weight: 400;
|
|
1830
|
-
font-size: 12px;
|
|
1831
|
-
line-height: 18px;
|
|
1832
|
-
letter-spacing: -0.2px;
|
|
1833
|
-
color: #f3f3f3;
|
|
1834
|
-
|
|
1835
|
-
> img {
|
|
1836
|
-
margin-top: 2px;
|
|
1837
|
-
margin-right: 4px;
|
|
1838
|
-
}
|
|
1839
|
-
&[data-is-mobile='false'] {
|
|
1840
|
-
> img {
|
|
1841
|
-
width: 16px;
|
|
1842
|
-
height: 16px;
|
|
1843
|
-
}
|
|
1844
|
-
}
|
|
1845
|
-
&[data-is-mobile='true'] {
|
|
1846
|
-
> img {
|
|
1847
|
-
width: 14px;
|
|
1848
|
-
height: 14px;
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
`,it=({className:e,heading:i,color:o="blue",isMobile:n,bannerUrl:l,bannerUrlLarge:d,bannerColor:s,medicalReview:p={link:"#",reviewer:"",date:""},icon:c,style:u,siteType:g,isEmbeded:h})=>{var f,x;const{t:b}=a.useTranslations(),y=r.useMantineTheme(),v=n?l:d||l,w={pink:[8,6]},k=y.colors[o]||y.colors.blue,E=(null==p?void 0:p.reviewer)?S.default.createElement(t.Text,{size:"label2",color:"#fff",as:"div",className:"embedded-review",sx:{a:{textUnderlineOffset:"2px",color:"#fff",textDecoration:"underline"}}},S.default.createElement("div",{dangerouslySetInnerHTML:{__html:b("toolPage.toolReviewer",{expert_name:`<a href="${p.link}">${p.reviewer.trim()}</a>`,date:p.date})}})):null;return S.default.createElement(Ke,{"data-is-mobile":n,style:u,"data-site":g},S.default.createElement(Je,{className:e,"data-banner-url":v,"data-is-mobile":n,"data-site":g,"data-banner-color":s,"data-is-embedded":h,bgColor:`linear-gradient(71deg, ${null==k?void 0:k[(null===(f=w[o])||void 0===f?void 0:f[0])||7]} -4.07%, ${null==k?void 0:k[(null===(x=w[o])||void 0===x?void 0:x[1])||4]} 90.13%)}`},"marryBaby"===g&&h?S.default.createElement(et,null,S.default.createElement(tt,null,c),S.default.createElement(at,null,S.default.createElement(m.Heading,{color:"white",tag:"h5",as:"h2"},i),p&&S.default.createElement(rt,{"data-is-mobile":n},E))):S.default.createElement(r.Flex,{gap:r.rem(24),align:"center",justify:"space-between",sx:{padding:`${r.rem(13)} ${r.rem(20)}`,gap:r.rem(24)}},S.default.createElement(r.Box,null,S.default.createElement(m.Heading,{tag:"h5",as:"h2",color:"#fff"},i),p&&S.default.createElement(t.Text,{size:"n1",as:"div"},E)),S.default.createElement(r.Flex,{justify:"center",align:"center",sx:e=>{var t,a;return{width:r.rem(64),height:r.rem(64),borderRadius:"50%",background:(null===(a=null===(t=e.colors)||void 0===t?void 0:t[o])||void 0===a?void 0:a[0])||e.colors.blue[0],flexShrink:0,img:{maxWidth:r.rem(48),maxHeight:r.rem(48)},[e.fn.smallerThan("sm")]:{width:r.rem(56),height:r.rem(56),img:{maxWidth:r.rem(40),maxHeight:r.rem(40)}}}}},c))))},ot=z.default(v.Dropdown)`
|
|
1852
|
-
border-color: ${l.theme.mbColors.lightGray};
|
|
1853
|
-
background-color: ${l.theme.colors.white};
|
|
1854
|
-
border-radius: 16px;
|
|
1855
|
-
transition: all 0.2s ease;
|
|
1856
|
-
&:hover {
|
|
1857
|
-
border-color: ${l.theme.mbColors.pink};
|
|
1858
|
-
box-shadow: none;
|
|
1859
|
-
}
|
|
1860
|
-
|
|
1861
|
-
& > ul {
|
|
1862
|
-
z-index: ${m.Z_INDEX.menuSearchPopup};
|
|
1863
|
-
max-height: 300px;
|
|
1864
|
-
overflow-y: auto;
|
|
1865
|
-
}
|
|
1866
|
-
|
|
1867
|
-
${e=>e.groupedWithLabel&&n.css`
|
|
1868
|
-
& > div:first-child {
|
|
1869
|
-
color: ${l.theme.mbColors.midGray};
|
|
1870
|
-
font-size: 12px;
|
|
1871
|
-
}
|
|
1872
|
-
`}
|
|
1873
|
-
|
|
1874
|
-
&[data-dropdown-open='true'] {
|
|
1875
|
-
border-color: ${l.theme.mbColors.pink};
|
|
1876
|
-
}
|
|
1877
|
-
`;z.default(m.PureInput)`
|
|
1878
|
-
& input {
|
|
1879
|
-
border-color: ${l.theme.mbColors.lightGray};
|
|
1880
|
-
background-color: ${l.theme.colors.white};
|
|
1881
|
-
border-radius: 16px;
|
|
1882
|
-
transition: all 0.2s ease;
|
|
1883
|
-
&:focus,
|
|
1884
|
-
&:hover {
|
|
1885
|
-
border-color: ${l.theme.mbColors.pink};
|
|
1886
|
-
box-shadow: none;
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
|
|
1890
|
-
& .displayIcon {
|
|
1891
|
-
pointer-events: none;
|
|
1892
|
-
}
|
|
1893
|
-
`;const nt=z.default(u.Input)`
|
|
1894
|
-
& label {
|
|
1895
|
-
position: absolute;
|
|
1896
|
-
z-index: 1;
|
|
1897
|
-
top: 16px;
|
|
1898
|
-
|
|
1899
|
-
left: 16px;
|
|
1900
|
-
color: ${l.theme.mbColors.midGray};
|
|
1901
|
-
pointer-events: none;
|
|
1902
|
-
transition: all 0.2s ease;
|
|
1903
|
-
white-space: nowrap;
|
|
1904
|
-
overflow: hidden;
|
|
1905
|
-
text-overflow: ellipsis;
|
|
1906
|
-
max-width: 240px;
|
|
1907
|
-
|
|
1908
|
-
&[data-size='label2'] {
|
|
1909
|
-
font-size: 12px;
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
${o.MediaQueries.tdDown} {
|
|
1913
|
-
max-width: 220px;
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
& input {
|
|
1917
|
-
::placeholder {
|
|
1918
|
-
color: ${l.theme.mbColors.gray};
|
|
1919
|
-
font-size: 14px;
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
::-webkit-input-placeholder {
|
|
1923
|
-
/* Chrome/Opera/Safari */
|
|
1924
|
-
color: ${l.theme.mbColors.gray};
|
|
1925
|
-
font-size: 14px;
|
|
1926
|
-
}
|
|
1927
|
-
::-moz-placeholder {
|
|
1928
|
-
/* Firefox 19+ */
|
|
1929
|
-
color: ${l.theme.mbColors.gray};
|
|
1930
|
-
font-size: 14px;
|
|
1931
|
-
}
|
|
1932
|
-
:-ms-input-placeholder {
|
|
1933
|
-
/* IE 10+ */
|
|
1934
|
-
color: ${l.theme.mbColors.gray};
|
|
1935
|
-
font-size: 14px;
|
|
1936
|
-
}
|
|
1937
|
-
:-moz-placeholder {
|
|
1938
|
-
/* Firefox 18- */
|
|
1939
|
-
color: ${l.theme.mbColors.gray};
|
|
1940
|
-
font-size: 14px;
|
|
1941
|
-
}
|
|
1942
|
-
height: ${e=>"sm"===e.size?48:72}px;
|
|
1943
|
-
padding-top: 27px;
|
|
1944
|
-
border-color: ${l.theme.mbColors.lightGray};
|
|
1945
|
-
background-color: ${l.theme.colors.white};
|
|
1946
|
-
border-radius: 16px;
|
|
1947
|
-
transition: all 0.2s ease;
|
|
1948
|
-
padding-top: ${e=>e.value?"38px":"27px"};
|
|
1949
|
-
|
|
1950
|
-
&:focus,
|
|
1951
|
-
&:hover {
|
|
1952
|
-
border-color: ${l.theme.mbColors.pink};
|
|
1953
|
-
box-shadow: none;
|
|
1954
|
-
}
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
|
-
&[data-has-action-icon] {
|
|
1958
|
-
input {
|
|
1959
|
-
padding-top: ${e=>e.value?"38px":"27px"};
|
|
1960
|
-
padding-bottom: ${e=>e.value?"16px":"27px"};
|
|
1961
|
-
}
|
|
1962
|
-
|
|
1963
|
-
label {
|
|
1964
|
-
position: absolute;
|
|
1965
|
-
z-index: 1;
|
|
1966
|
-
top: 16px;
|
|
1967
|
-
padding-right: 46px;
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
`,lt=z.default.div`
|
|
1971
|
-
width: 100%;
|
|
1972
|
-
`,dt=z.default.div`
|
|
1973
|
-
#due-date-dropdown {
|
|
1974
|
-
z-index: 9;
|
|
1975
|
-
width: 100%;
|
|
1976
|
-
min-width: unset;
|
|
1977
|
-
max-width: unset;
|
|
1978
|
-
|
|
1979
|
-
${o.MediaQueries.mbDown} {
|
|
1980
|
-
font-size: 14px;
|
|
1981
|
-
}
|
|
1982
|
-
${o.MediaQueries.tdUp} {
|
|
1983
|
-
font-size: 16px;
|
|
1984
|
-
&[data-is-side='true'] {
|
|
1985
|
-
font-size: 14px;
|
|
1986
|
-
}
|
|
1987
|
-
}
|
|
1988
|
-
color: ${l.theme.colors.gray800};
|
|
1989
|
-
> div {
|
|
1990
|
-
white-space: nowrap;
|
|
1991
|
-
overflow: hidden;
|
|
1992
|
-
text-overflow: ellipsis;
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
display: flex;
|
|
1996
|
-
width: 100%;
|
|
1997
|
-
justify-content: space-between;
|
|
1998
|
-
`,st=z.default(lt)`
|
|
1999
|
-
.due-date-input {
|
|
2000
|
-
width: 100%;
|
|
2001
|
-
min-width: unset;
|
|
2002
|
-
max-width: unset;
|
|
2003
|
-
color: ${l.theme.colors.gray800};
|
|
2004
|
-
}
|
|
2005
|
-
.due-date-calculate-button {
|
|
2006
|
-
margin-right: auto;
|
|
2007
|
-
margin-left: auto;
|
|
2008
|
-
}
|
|
2009
|
-
input {
|
|
2010
|
-
&[data-is-side='true'] {
|
|
2011
|
-
${o.MediaQueries.tdUp} {
|
|
2012
|
-
font-size: 14px;
|
|
2013
|
-
}
|
|
2014
|
-
}
|
|
2015
|
-
${o.MediaQueries.mbDown} {
|
|
2016
|
-
font-size: 14px;
|
|
2017
|
-
}
|
|
2018
|
-
${o.MediaQueries.tdUp} {
|
|
2019
|
-
font-size: 16px;
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
`;z.default.div`
|
|
2023
|
-
display: flex;
|
|
2024
|
-
align-items: right;
|
|
2025
|
-
|
|
2026
|
-
& > p {
|
|
2027
|
-
display: inline-block;
|
|
2028
|
-
border-bottom: solid 1px ${l.theme.colors.primaryBase};
|
|
2029
|
-
margin-bottom: 24px;
|
|
2030
|
-
margin-left: auto;
|
|
2031
|
-
color: ${l.theme.colors.primaryBase};
|
|
2032
|
-
cursor: pointer;
|
|
2033
|
-
font-size: 11px;
|
|
2034
|
-
line-height: 16px;
|
|
2035
|
-
text-align: right;
|
|
2036
|
-
}
|
|
2037
|
-
`;const pt=z.default.img`
|
|
2038
|
-
img& {
|
|
2039
|
-
width: 16px;
|
|
2040
|
-
height: 16px;
|
|
2041
|
-
}
|
|
2042
|
-
`;var ct;z.default(pt)`
|
|
2043
|
-
margin-right: 4px;
|
|
2044
|
-
`,exports.DueDateCalculatorType=void 0,(ct=exports.DueDateCalculatorType||(exports.DueDateCalculatorType={}))[ct.lastPeriod=0]="lastPeriod",ct[ct.conception=1]="conception",ct[ct.IVF=2]="IVF";const mt="yyyy-MM-dd",ut=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`,gt=z.default.div`
|
|
2045
|
-
&[data-is-side='true'] {
|
|
2046
|
-
width: 100%;
|
|
2047
|
-
margin-bottom: 0;
|
|
2048
|
-
}
|
|
2049
|
-
${o.MediaQueries.mbDown} {
|
|
2050
|
-
width: 100%;
|
|
2051
|
-
margin-bottom: 0;
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
margin-bottom: 24px;
|
|
2055
|
-
|
|
2056
|
-
& > :not(:last-child) {
|
|
2057
|
-
margin-bottom: 8px;
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
.gender-selector {
|
|
2061
|
-
& > :not(:last-child) {
|
|
2062
|
-
margin-right: 16px;
|
|
2063
|
-
}
|
|
2064
|
-
|
|
2065
|
-
& > div {
|
|
2066
|
-
width: calc(50% - 8px);
|
|
2067
|
-
|
|
2068
|
-
${o.MediaQueries.mbUp} {
|
|
2069
|
-
max-width: 186px;
|
|
2070
|
-
justify-self: left;
|
|
2071
|
-
}
|
|
2072
|
-
}
|
|
2073
|
-
}
|
|
2074
|
-
`,ht=z.default.div`
|
|
2075
|
-
margin-bottom: 20px;
|
|
2076
|
-
width: 100%;
|
|
2077
|
-
|
|
2078
|
-
& > :not(:last-child) {
|
|
2079
|
-
margin-bottom: 8px;
|
|
2080
|
-
}
|
|
2081
|
-
.gender-selector {
|
|
2082
|
-
& > div {
|
|
2083
|
-
width: calc(50% - 8px);
|
|
2084
|
-
}
|
|
2085
|
-
}
|
|
2086
|
-
`,ft=z.default.div`
|
|
2087
|
-
width: 100%;
|
|
2088
|
-
display: flex;
|
|
2089
|
-
justify-content: center;
|
|
2090
|
-
${o.MediaQueries.mbUp} {
|
|
2091
|
-
padding: 0 16px;
|
|
2092
|
-
&[data-is-side='true'] {
|
|
2093
|
-
margin-top: 24px;
|
|
2094
|
-
}
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
${o.MediaQueries.mbDown} {
|
|
2098
|
-
margin-top: 24px;
|
|
2099
|
-
&[data-site='marryBaby'] {
|
|
2100
|
-
margin-top: 12px;
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
|
-
& > :not(:last-child) {
|
|
2104
|
-
margin-bottom: 8px;
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
button {
|
|
2108
|
-
width: 100%;
|
|
2109
|
-
margin: auto;
|
|
2110
|
-
${o.MediaQueries.mbUp} {
|
|
2111
|
-
max-width: 200px;
|
|
2112
|
-
}
|
|
2113
|
-
}
|
|
2114
|
-
`,xt=z.default.div`
|
|
2115
|
-
width: 100%;
|
|
2116
|
-
display: flex;
|
|
2117
|
-
flex-wrap: wrap;
|
|
2118
|
-
justify-content: space-between;
|
|
2119
|
-
.input-section {
|
|
2120
|
-
display: flex;
|
|
2121
|
-
flex-direction: column;
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
|
-
${o.MediaQueries.mbDown} {
|
|
2125
|
-
flex-direction: column;
|
|
2126
|
-
.input-section {
|
|
2127
|
-
width: 100%;
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2130
|
-
`,bt=z.default.div`
|
|
2131
|
-
position: relative;
|
|
2132
|
-
width: calc(50% - 8px);
|
|
2133
|
-
|
|
2134
|
-
&[data-is-side='true'] {
|
|
2135
|
-
.label {
|
|
2136
|
-
margin-bottom: 9px;
|
|
2137
|
-
}
|
|
2138
|
-
}
|
|
2139
|
-
${o.MediaQueries.mbDown} {
|
|
2140
|
-
.label {
|
|
2141
|
-
margin-bottom: 9px;
|
|
2142
|
-
}
|
|
2143
|
-
}
|
|
2144
|
-
margin-bottom: 24px;
|
|
2145
|
-
#weight-gain-dropdown {
|
|
2146
|
-
z-index: 9;
|
|
2147
|
-
width: 100%;
|
|
2148
|
-
min-width: unset;
|
|
2149
|
-
max-width: unset;
|
|
2150
|
-
color: ${l.theme.colors.gray800};
|
|
2151
|
-
& > ul {
|
|
2152
|
-
z-index: 1;
|
|
2153
|
-
max-height: 300px;
|
|
2154
|
-
overflow-y: scroll;
|
|
2155
|
-
}
|
|
2156
|
-
}
|
|
2157
|
-
`,yt=z.default.div`
|
|
2158
|
-
margin-bottom: 24px;
|
|
2159
|
-
width: 100%;
|
|
2160
|
-
|
|
2161
|
-
${o.MediaQueries.mbUp} {
|
|
2162
|
-
padding: 0 16px;
|
|
2163
|
-
}
|
|
2164
|
-
.card {
|
|
2165
|
-
display: flex;
|
|
2166
|
-
align-items: center;
|
|
2167
|
-
justify-content: space-between;
|
|
2168
|
-
|
|
2169
|
-
& > :not(:last-child) {
|
|
2170
|
-
margin-bottom: 8px;
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
.gender-selector {
|
|
2174
|
-
row-gap: 12px;
|
|
2175
|
-
|
|
2176
|
-
& > :not(:last-child) {
|
|
2177
|
-
margin-right: 16px;
|
|
2178
|
-
}
|
|
2179
|
-
|
|
2180
|
-
& > div {
|
|
2181
|
-
${o.MediaQueries.mbUp} {
|
|
2182
|
-
width: calc(18% - 4px);
|
|
2183
|
-
max-width: 186px;
|
|
2184
|
-
justify-self: left;
|
|
2185
|
-
}
|
|
2186
|
-
|
|
2187
|
-
${o.MediaQueries.mbDown} {
|
|
2188
|
-
width: calc(31% - 8px);
|
|
2189
|
-
max-width: 109px;
|
|
2190
|
-
justify-self: left;
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
.gender-image {
|
|
2196
|
-
width: 23px;
|
|
2197
|
-
height: 36px;
|
|
2198
|
-
object-fit: contain;
|
|
2199
|
-
}
|
|
2200
|
-
}
|
|
2201
|
-
.note {
|
|
2202
|
-
display: flex;
|
|
2203
|
-
align-items: center;
|
|
2204
|
-
padding-top: 8px;
|
|
2205
|
-
padding-bottom: 16px;
|
|
2206
|
-
}
|
|
2207
|
-
`,vt=z.default.form`
|
|
2208
|
-
margin: auto;
|
|
2209
|
-
${o.MediaQueries.mbUp} {
|
|
2210
|
-
width: 100%;
|
|
2211
|
-
padding: 20px;
|
|
2212
|
-
display: flex;
|
|
2213
|
-
justify-content: space-between;
|
|
2214
|
-
flex-wrap: wrap;
|
|
2215
|
-
}
|
|
2216
|
-
${o.MediaQueries.mbDown} {
|
|
2217
|
-
padding: 16px;
|
|
2218
|
-
}
|
|
2219
|
-
.due-date-calculate-button {
|
|
2220
|
-
width: 100%;
|
|
2221
|
-
margin: 12px auto 0;
|
|
2222
|
-
${o.MediaQueries.mbUp} {
|
|
2223
|
-
max-width: 200px;
|
|
2224
|
-
}
|
|
2225
|
-
}
|
|
2226
|
-
&[data-is-side='true'] {
|
|
2227
|
-
${o.MediaQueries.mbUp} {
|
|
2228
|
-
padding: 24px 40px 0px 40px;
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2231
|
-
.input-weight-form {
|
|
2232
|
-
display: flex;
|
|
2233
|
-
flex-wrap: wrap;
|
|
2234
|
-
justify-content: space-between;
|
|
2235
|
-
padding: 0 16px;
|
|
2236
|
-
}
|
|
2237
|
-
.input-form {
|
|
2238
|
-
display: flex;
|
|
2239
|
-
|
|
2240
|
-
${o.MediaQueries.mbUp} {
|
|
2241
|
-
margin-bottom: 24px;
|
|
2242
|
-
width: calc(50% - 8px);
|
|
2243
|
-
}
|
|
2244
|
-
&[data-is-side='true'] {
|
|
2245
|
-
${o.MediaQueries.mbUp} {
|
|
2246
|
-
margin-bottom: 8px;
|
|
2247
|
-
width: 100%;
|
|
2248
|
-
}
|
|
2249
|
-
}
|
|
2250
|
-
${o.MediaQueries.mbDown} {
|
|
2251
|
-
margin-bottom: 8px;
|
|
2252
|
-
}
|
|
2253
|
-
.label-text {
|
|
2254
|
-
overflow: hidden;
|
|
2255
|
-
text-overflow: ellipsis;
|
|
2256
|
-
-webkit-line-clamp: 2;
|
|
2257
|
-
display: -webkit-box;
|
|
2258
|
-
-webkit-box-orient: vertical;
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
.input-form-pwg {
|
|
2262
|
-
display: flex;
|
|
2263
|
-
width: calc(50% - 8px);
|
|
2264
|
-
|
|
2265
|
-
${o.MediaQueries.mbUp} {
|
|
2266
|
-
margin-bottom: 24px;
|
|
2267
|
-
}
|
|
2268
|
-
&[data-is-side='true'] {
|
|
2269
|
-
${o.MediaQueries.mbUp} {
|
|
2270
|
-
margin-bottom: 8px;
|
|
2271
|
-
}
|
|
2272
|
-
}
|
|
2273
|
-
${o.MediaQueries.mbDown} {
|
|
2274
|
-
margin-bottom: 8px;
|
|
2275
|
-
width: 100%;
|
|
2276
|
-
}
|
|
2277
|
-
.label-text {
|
|
2278
|
-
overflow: hidden;
|
|
2279
|
-
text-overflow: ellipsis;
|
|
2280
|
-
-webkit-line-clamp: 2;
|
|
2281
|
-
display: -webkit-box;
|
|
2282
|
-
-webkit-box-orient: vertical;
|
|
2283
|
-
}
|
|
2284
|
-
}
|
|
2285
|
-
.day-slider {
|
|
2286
|
-
width: 100%;
|
|
2287
|
-
${o.MediaQueries.mbUp} {
|
|
2288
|
-
width: calc(50% - 8px);
|
|
2289
|
-
&[data-is-side='true'] {
|
|
2290
|
-
width: 100%;
|
|
2291
|
-
}
|
|
2292
|
-
}
|
|
2293
|
-
}
|
|
2294
|
-
`,wt="hhgcomp-embedtoolcard-content",kt=m.getDefaultClassWrapper(vt,wt),Et=z.default.div`
|
|
2295
|
-
padding: 0;
|
|
2296
|
-
background-color: white;
|
|
2297
|
-
border: 1px solid #e4e8ec;
|
|
2298
|
-
border-radius: 4px;
|
|
2299
|
-
|
|
2300
|
-
&[data-site='marryBaby'] {
|
|
2301
|
-
background-color: ${l.theme.mbColors.green};
|
|
2302
|
-
border-radius: 16px;
|
|
2303
|
-
}
|
|
2304
|
-
.due-date-cal {
|
|
2305
|
-
.${wt} {
|
|
2306
|
-
${o.MediaQueries.mbUp} {
|
|
2307
|
-
padding: 24px;
|
|
2308
|
-
}
|
|
2309
|
-
${o.MediaQueries.mbDown} {
|
|
2310
|
-
padding: 16px;
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
display: table;
|
|
2314
|
-
width: 100%;
|
|
2315
|
-
.slider-due-date {
|
|
2316
|
-
margin-bottom: 12px;
|
|
2317
|
-
width: 100%;
|
|
2318
|
-
margin-left: 0px;
|
|
2319
|
-
margin-right: 0px;
|
|
2320
|
-
.slider-outer-wrapper {
|
|
2321
|
-
margin: 2rem -0.5rem 1rem;
|
|
2322
|
-
}
|
|
2323
|
-
&[data-theme='marryBaby'] {
|
|
2324
|
-
padding: 1rem;
|
|
2325
|
-
background: white;
|
|
2326
|
-
border-radius: 1rem;
|
|
2327
|
-
.slider-outer-wrapper {
|
|
2328
|
-
gap: 12px;
|
|
2329
|
-
display: flex;
|
|
2330
|
-
align-items: center;
|
|
2331
|
-
margin: 0.5rem;
|
|
2332
|
-
}
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
.input-form {
|
|
2336
|
-
display: flex;
|
|
2337
|
-
${o.MediaQueries.mbUp} {
|
|
2338
|
-
width: calc(50% - 8px);
|
|
2339
|
-
margin-bottom: 24px;
|
|
2340
|
-
}
|
|
2341
|
-
&[data-is-side='true'] {
|
|
2342
|
-
${o.MediaQueries.mbUp} {
|
|
2343
|
-
margin-bottom: 12px;
|
|
2344
|
-
width: 100%;
|
|
2345
|
-
}
|
|
2346
|
-
}
|
|
2347
|
-
${o.MediaQueries.mbDown} {
|
|
2348
|
-
margin-bottom: 8px;
|
|
2349
|
-
}
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
.heart-rate-cal {
|
|
2353
|
-
.slider-heart-rate {
|
|
2354
|
-
margin-bottom: 12px;
|
|
2355
|
-
width: 100%;
|
|
2356
|
-
margin-left: 0px;
|
|
2357
|
-
margin-right: 0px;
|
|
2358
|
-
.slider-outer-wrapper {
|
|
2359
|
-
margin: 2rem -0.5rem 1rem;
|
|
2360
|
-
}
|
|
2361
|
-
}
|
|
2362
|
-
}
|
|
2363
|
-
.ovulation-cal {
|
|
2364
|
-
display: flex;
|
|
2365
|
-
/* padding-top: 24px; */
|
|
2366
|
-
justify-content: space-between;
|
|
2367
|
-
flex-wrap: wrap;
|
|
2368
|
-
.slider-ovulation {
|
|
2369
|
-
margin-bottom: 12px;
|
|
2370
|
-
/* width: 100%; */
|
|
2371
|
-
margin-left: 0px;
|
|
2372
|
-
margin-right: 0px;
|
|
2373
|
-
.slider-outer-wrapper {
|
|
2374
|
-
margin: 2rem -0.5rem 1rem;
|
|
2375
|
-
}
|
|
2376
|
-
&[data-theme='marryBaby'] {
|
|
2377
|
-
padding: 1rem;
|
|
2378
|
-
background: white;
|
|
2379
|
-
border-radius: 1rem;
|
|
2380
|
-
.slider-outer-wrapper {
|
|
2381
|
-
gap: 12px;
|
|
2382
|
-
display: flex;
|
|
2383
|
-
align-items: center;
|
|
2384
|
-
margin: 0.5rem;
|
|
2385
|
-
}
|
|
2386
|
-
}
|
|
2387
|
-
}
|
|
2388
|
-
.input-form {
|
|
2389
|
-
display: flex;
|
|
2390
|
-
${o.MediaQueries.mbUp} {
|
|
2391
|
-
width: calc(50% - 8px);
|
|
2392
|
-
margin-bottom: 24px;
|
|
2393
|
-
&[data-is-side='true'] {
|
|
2394
|
-
margin-bottom: 12px;
|
|
2395
|
-
width: 100%;
|
|
2396
|
-
}
|
|
2397
|
-
}
|
|
2398
|
-
${o.MediaQueries.mbDown} {
|
|
2399
|
-
margin-bottom: 8px;
|
|
2400
|
-
}
|
|
2401
|
-
}
|
|
2402
|
-
}
|
|
2403
|
-
.pwg-view-mobile {
|
|
2404
|
-
&[data-is-side='true'] {
|
|
2405
|
-
display: flex;
|
|
2406
|
-
flex-wrap: wrap;
|
|
2407
|
-
justify-content: space-between;
|
|
2408
|
-
}
|
|
2409
|
-
${o.MediaQueries.mbDown} {
|
|
2410
|
-
display: flex;
|
|
2411
|
-
flex-wrap: wrap;
|
|
2412
|
-
justify-content: space-between;
|
|
2413
|
-
padding: 16px 0;
|
|
2414
|
-
}
|
|
2415
|
-
.hide-asking-mobile {
|
|
2416
|
-
gap: 10px;
|
|
2417
|
-
&[data-is-side='true'] {
|
|
2418
|
-
${o.MediaQueries.mbUp} {
|
|
2419
|
-
display: none;
|
|
2420
|
-
}
|
|
2421
|
-
}
|
|
2422
|
-
${o.MediaQueries.mbDown} {
|
|
2423
|
-
display: none;
|
|
2424
|
-
}
|
|
2425
|
-
}
|
|
2426
|
-
.hide-asking-desk {
|
|
2427
|
-
gap: 10px;
|
|
2428
|
-
&[data-is-side='true'] {
|
|
2429
|
-
${o.MediaQueries.mbUp} {
|
|
2430
|
-
display: unset;
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2433
|
-
${o.MediaQueries.mbUp} {
|
|
2434
|
-
display: none;
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
}
|
|
2438
|
-
input[type='date']::after {
|
|
2439
|
-
width: 16px;
|
|
2440
|
-
height: 16px;
|
|
2441
|
-
background-image: url('https://hellobacsi.com/svg/calendar.svg');
|
|
2442
|
-
background-repeat: no-repeat;
|
|
2443
|
-
background-size: contain;
|
|
2444
|
-
content: '';
|
|
2445
|
-
}
|
|
2446
|
-
`,Ct=z.default(te)`
|
|
2447
|
-
&[data-direction='horizontal'] div[data-type='circle'] {
|
|
2448
|
-
margin-right: 8px;
|
|
2449
|
-
}
|
|
2450
|
-
label {
|
|
2451
|
-
font-size: 14px;
|
|
2452
|
-
}
|
|
2453
|
-
`,Dt=z.default(h.Button)`
|
|
2454
|
-
margin: 0 auto 24px;
|
|
2455
|
-
${o.MediaQueries.mbUp} {
|
|
2456
|
-
max-width: 200px;
|
|
2457
|
-
margin: 24px auto;
|
|
2458
|
-
}
|
|
2459
|
-
`,$t=z.default(m.PureInput)`
|
|
2460
|
-
&.bmi--input {
|
|
2461
|
-
+ .bmi--input {
|
|
2462
|
-
margin-top: 24px;
|
|
2463
|
-
}
|
|
2464
|
-
.inputLabel {
|
|
2465
|
-
display: inline-block;
|
|
2466
|
-
margin-bottom: 5px;
|
|
2467
|
-
color: #595959;
|
|
2468
|
-
font-weight: bold;
|
|
2469
|
-
font-size: 12px;
|
|
2470
|
-
}
|
|
2471
|
-
.errorLabel {
|
|
2472
|
-
line-height: 1.3;
|
|
2473
|
-
}
|
|
2474
|
-
input[type='radio'] {
|
|
2475
|
-
padding: 0;
|
|
2476
|
-
}
|
|
2477
|
-
.bmi--input-radio_gender {
|
|
2478
|
-
width: 100%;
|
|
2479
|
-
gap: 16px;
|
|
2480
|
-
> div {
|
|
2481
|
-
${o.MediaQueries.mbDown} {
|
|
2482
|
-
width: calc(50% - 8px);
|
|
2483
|
-
}
|
|
2484
|
-
width: calc(33% - 8px);
|
|
2485
|
-
}
|
|
2486
|
-
& > div > div {
|
|
2487
|
-
display: flex;
|
|
2488
|
-
flex-direction: row;
|
|
2489
|
-
justify-content: center;
|
|
2490
|
-
align-content: center;
|
|
2491
|
-
gap: 8px;
|
|
2492
|
-
padding-block: 5px;
|
|
2493
|
-
}
|
|
2494
|
-
}
|
|
2495
|
-
.bmi-side-embed {
|
|
2496
|
-
> div {
|
|
2497
|
-
${o.MediaQueries.mbUp} {
|
|
2498
|
-
width: calc(50% - 8px);
|
|
2499
|
-
}
|
|
2500
|
-
}
|
|
2501
|
-
}
|
|
2502
|
-
.radio-group-item-heading {
|
|
2503
|
-
margin-top: 0;
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
|
|
2507
|
-
${o.MediaQueries.mbDown} {
|
|
2508
|
-
&.bmi--input {
|
|
2509
|
-
.bmi--input-radio_gender {
|
|
2510
|
-
> div {
|
|
2511
|
-
.gender-image {
|
|
2512
|
-
width: 40px;
|
|
2513
|
-
height: 40px;
|
|
2514
|
-
}
|
|
2515
|
-
}
|
|
2516
|
-
}
|
|
2517
|
-
}
|
|
2518
|
-
}
|
|
2519
|
-
`,St=z.default.div`
|
|
2520
|
-
width: 100%;
|
|
2521
|
-
`,Bt=z.default.div`
|
|
2522
|
-
margin-bottom: 1rem;
|
|
2523
|
-
display: flex;
|
|
2524
|
-
flex-direction: column;
|
|
2525
|
-
gap: 16px;
|
|
2526
|
-
input {
|
|
2527
|
-
font-size: 12px;
|
|
2528
|
-
::placeholder {
|
|
2529
|
-
color: #8c8c8c;
|
|
2530
|
-
opacity: 1;
|
|
2531
|
-
}
|
|
2532
|
-
}
|
|
2533
|
-
.input-label {
|
|
2534
|
-
label {
|
|
2535
|
-
display: inline-block;
|
|
2536
|
-
margin-bottom: 9px;
|
|
2537
|
-
color: #595959;
|
|
2538
|
-
font-weight: bold;
|
|
2539
|
-
font-size: 12px;
|
|
2540
|
-
}
|
|
2541
|
-
}
|
|
2542
|
-
`,zt=z.default.div`
|
|
2543
|
-
${o.MediaQueries.mbUp} {
|
|
2544
|
-
display: flex;
|
|
2545
|
-
width: 100%;
|
|
2546
|
-
align-items: flex-start;
|
|
2547
|
-
justify-content: space-between;
|
|
2548
|
-
gap: 12px;
|
|
2549
|
-
> div {
|
|
2550
|
-
width: 100%;
|
|
2551
|
-
}
|
|
2552
|
-
&[data-is-side='true'] {
|
|
2553
|
-
${o.MediaQueries.mbUp} {
|
|
2554
|
-
display: flex;
|
|
2555
|
-
flex-direction: column;
|
|
2556
|
-
gap: 0px;
|
|
2557
|
-
}
|
|
2558
|
-
}
|
|
2559
|
-
}
|
|
2560
|
-
${o.MediaQueries.mbDown} {
|
|
2561
|
-
display: flex;
|
|
2562
|
-
flex-direction: column;
|
|
2563
|
-
gap: 0px;
|
|
2564
|
-
}
|
|
2565
|
-
`,Mt=z.default.div`
|
|
2566
|
-
padding-block: 40px;
|
|
2567
|
-
|
|
2568
|
-
&[data-theme='marryBaby'] {
|
|
2569
|
-
padding-block: 0;
|
|
2570
|
-
padding-top: 12px;
|
|
2571
|
-
}
|
|
2572
|
-
`,Tt=z.default.form`
|
|
2573
|
-
display: flex;
|
|
2574
|
-
flex-direction: column;
|
|
2575
|
-
gap: 16px;
|
|
2576
|
-
`,Pt=z.default.div`
|
|
2577
|
-
display: flex;
|
|
2578
|
-
flex-direction: column;
|
|
2579
|
-
gap: 6px;
|
|
2580
|
-
margin-top: auto;
|
|
2581
|
-
|
|
2582
|
-
.error-input input {
|
|
2583
|
-
border: 1px solid ${l.theme.colors.red700};
|
|
2584
|
-
}
|
|
2585
|
-
`,It=z.default(y.Label)`
|
|
2586
|
-
display: inline-flex;
|
|
2587
|
-
padding-bottom: 6px;
|
|
2588
|
-
gap: 4px;
|
|
2589
|
-
`,Nt=z.default.div`
|
|
2590
|
-
display: flex;
|
|
2591
|
-
width: 100%;
|
|
2592
|
-
align-items: center;
|
|
2593
|
-
justify-content: space-between;
|
|
2594
|
-
gap: 16px;
|
|
2595
|
-
> div {
|
|
2596
|
-
width: 100%;
|
|
2597
|
-
}
|
|
2598
|
-
`,At=(e=0,t=0)=>{try{if(e&&t){const a=Number(t)/Math.pow(Number(e)/100,2);return Number(((e,t=2)=>Intl.NumberFormat(void 0,{maximumFractionDigits:t}).format(e))(a))}return 0}catch(e){}return 0},jt=z.default.div`
|
|
2599
|
-
padding: 36px;
|
|
2600
|
-
padding-top: 0;
|
|
2601
|
-
background-color: white;
|
|
2602
|
-
${o.MediaQueries.mbDown} {
|
|
2603
|
-
padding: 16px;
|
|
2604
|
-
padding-top: 0;
|
|
2605
|
-
}
|
|
2606
|
-
&[data-theme='marryBaby'] {
|
|
2607
|
-
background-color: ${l.theme.mbColors.green};
|
|
2608
|
-
padding: 24px;
|
|
2609
|
-
border-bottom-right-radius: 16px;
|
|
2610
|
-
border-bottom-left-radius: 16px;
|
|
2611
|
-
${o.MediaQueries.mbDown} {
|
|
2612
|
-
padding: 16px;
|
|
2613
|
-
}
|
|
2614
|
-
}
|
|
2615
|
-
`,_t=z.default((({onSubmit:i,onError:o,schema:n,siteType:s})=>{const{t:p}=a.useTranslations(),c="mb"===r.useMantineTheme().other.template,{control:g,setValue:y,watch:v,handleSubmit:w,formState:{isSubmitted:k}}=x.useForm({resolver:f.yupResolver(n),mode:"onSubmit",defaultValues:{name:"",gender:d.Gender.Boy,measurementDate:new Date}}),E=v("weight"),C=v("height"),D=v("head"),$=e.useMemo((()=>k&&!E&&!C&&!D),[k,E,C,D]);e.useEffect((()=>{const e=At(C,E);y("bmi",String(e)||"0")}),[E,C]);const z=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return S.default.createElement(S.default.Fragment,null,S.default.createElement(Mt,{"data-theme":s},S.default.createElement(Tt,{onSubmit:w(i,o)},S.default.createElement(x.Controller,{control:g,name:"gender",render:({field:{onChange:e,value:t}})=>S.default.createElement(b.BabyGrowthGender,{onChange:e,value:t,siteType:s})}),"marryBaby"===s?S.default.createElement(S.default.Fragment,null,S.default.createElement(x.Controller,{control:g,name:"birthday",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Pt,null,S.default.createElement(nt,{label:p("babyGrowth.input.birthday"),name:"birthday",size:"md",value:String(a),CustomInput:S.default.createElement(G,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:t=>S.default.createElement(u.Input,Object.assign({onChange:e,className:(null==r?void 0:r.message)?"error-input":"",name:"birthday",size:"md"},t,{value:a&&B.default(a).format(m.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}))}),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:g,name:"height",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(Pt,null,S.default.createElement(nt,{label:`${p("babyGrowth.height")} ${p("babyGrowth.cm")}`,name:"height",size:"md",value:String(t),CustomInput:S.default.createElement(u.Input,{className:$||(null==a?void 0:a.message)?"error-input":"",name:"height",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),S.default.createElement(x.Controller,{control:g,name:"weight",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(Pt,null,S.default.createElement(nt,{label:`${p("babyGrowth.weight")} ${p("babyGrowth.kg")}`,name:"weight",size:"md",value:String(t),CustomInput:S.default.createElement(u.Input,{className:$||(null==a?void 0:a.message)?"error-input":"",name:"weight",size:"md",placeholder:"Nhập thông tin",value:String(t),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))})),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:g,name:"head",render:({field:{onChange:e,value:t},fieldState:{error:a}})=>S.default.createElement(Pt,null,S.default.createElement(nt,{label:`${p("babyGrowth.headCircumference")} ${p("babyGrowth.cm")}`,name:"head",size:"md",value:String(t),CustomInput:S.default.createElement(u.Input,{className:$||(null==a?void 0:a.message)?"error-input":"",name:"head",size:"md",value:String(t),onChange:e,type:"number",placeholder:"Nhập thông tin",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()})}))}),S.default.createElement(x.Controller,{control:g,name:"bmi",render:({field:{value:e}})=>S.default.createElement(Pt,null,S.default.createElement(nt,{label:`${p("babyGrowth.input.bmi")} ${p("babyGrowth.kg.m2")}`,name:"date",size:"md",value:String(e),CustomInput:S.default.createElement(u.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0,style:{color:"#9495A0"}})}))})),S.default.createElement(x.Controller,{control:g,name:"measurementDate",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Pt,null,S.default.createElement(nt,{label:p("babyGrowth.input.measurementDate"),name:"date",size:"md",value:ut(a),CustomInput:S.default.createElement(G,{placeholder:a&&B.default(a).format(m.DUE_DATE_FORMAT),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:t=>S.default.createElement(u.Input,Object.assign({className:(null==r?void 0:r.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&B.default(a).format(m.DUE_DATE_FORMAT),onChange:e},t,{value:a&&B.default(a).format(m.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}))}),S.default.createElement(h.Button,{size:"lg",type:"submit",variant:c?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":z},p("babyGrowth.input.submit"))):S.default.createElement(S.default.Fragment,null,S.default.createElement(x.Controller,{control:g,name:"birthday",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Pt,null,S.default.createElement(It,{size:"label1",htmlFor:"birthday"},S.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},p("babyGrowth.input.birthday"))),S.default.createElement(G,{onChange:e,placeholder:"dd/mm/yyyy",pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",disabledDays:{after:new Date},customInput:i=>S.default.createElement(u.Input,Object.assign({onChange:e,className:(null==r?void 0:r.message)?"error-input":"",name:"birthday",size:"md",actionIcon:S.default.createElement(t.Icon.Calendar,null)},i,{value:a&&B.default(a).format(m.DUE_DATE_FORMAT)}))}))}),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:g,name:"height",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Pt,null,S.default.createElement(It,{size:"label1",htmlFor:"height"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.height")),S.default.createElement(t.Text,{as:"span",size:"n1",color:l.theme.colors.gray400},p("babyGrowth.cm"))),S.default.createElement(u.Input,{className:$||(null==r?void 0:r.message)?"error-input":"",name:"height",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),S.default.createElement(x.Controller,{control:g,name:"weight",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Pt,null,S.default.createElement(It,{size:"label1",htmlFor:"weight"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.weight")),S.default.createElement(t.Text,{as:"span",size:"n1",color:l.theme.colors.gray400},p("babyGrowth.kg"))),S.default.createElement(u.Input,{className:$||(null==r?void 0:r.message)?"error-input":"",name:"weight",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))})),S.default.createElement(Nt,null,S.default.createElement(x.Controller,{control:g,name:"head",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Pt,null,S.default.createElement(It,{size:"label1",htmlFor:"head"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.headCircumference")),S.default.createElement(t.Text,{as:"span",size:"n1",color:l.theme.colors.gray400},p("babyGrowth.cm"))),S.default.createElement(u.Input,{className:$||(null==r?void 0:r.message)?"error-input":"",name:"head",placeholder:"0",size:"md",value:String(a),onChange:e,type:"number",onKeyDown:e=>["e","E","+","-"].includes(e.key)&&e.preventDefault(),onWheelCapture:e=>e.currentTarget.blur()}))}),S.default.createElement(x.Controller,{control:g,name:"bmi",render:({field:{value:e}})=>S.default.createElement(Pt,null,S.default.createElement(It,{size:"label1",htmlFor:"bmi"},S.default.createElement(t.Text,{size:"s4",weight:"semiBold"},p("babyGrowth.input.bmi")),S.default.createElement(t.Text,{as:"span",size:"n1",color:l.theme.colors.gray400},p("babyGrowth.kg.m2"))),S.default.createElement(u.Input,{name:"bmi",size:"md",type:"number",value:String(e),isDisabled:!0}))})),S.default.createElement(x.Controller,{control:g,name:"measurementDate",render:({field:{onChange:e,value:a},fieldState:{error:r}})=>S.default.createElement(Pt,null,S.default.createElement(It,{size:"label1",htmlFor:"measurementDate"},S.default.createElement(t.Text,{as:"label",size:"s4",weight:"semiBold"},p("babyGrowth.input.measurementDate"))),S.default.createElement(G,{placeholder:a&&B.default(a).format(m.DUE_DATE_FORMAT),pickedDate:a||new Date,displayDateFormat:"dd/MM/yyyy",onChange:e,disabledDays:{after:new Date},customInput:i=>S.default.createElement(u.Input,Object.assign({className:(null==r?void 0:r.message)&&"error-input",name:"measurementDate",size:"md",placeholder:a&&B.default(a).format(m.DUE_DATE_FORMAT),onChange:e,actionIcon:S.default.createElement(t.Icon.Calendar,null)},i,{value:a&&B.default(a).format(m.DUE_DATE_FORMAT)}))}))}),S.default.createElement(h.Button,{size:"lg",type:"submit",variant:c?"secondary":"primary","data-event-category":"Health Tool","data-event-action":"Baby Growth","data-event-label":z},p("babyGrowth.input.submit"))))))}))`
|
|
2616
|
-
padding-block: 0;
|
|
2617
|
-
`;z.default(it)`
|
|
2618
|
-
padding-inline: 20px;
|
|
2619
|
-
|
|
2620
|
-
img.embedded-icon {
|
|
2621
|
-
width: 140px;
|
|
2622
|
-
margin-left: 50%;
|
|
2623
|
-
align-self: center;
|
|
2624
|
-
}
|
|
2625
|
-
|
|
2626
|
-
${o.MediaQueries.mbDown} {
|
|
2627
|
-
padding-inline: 0;
|
|
2628
|
-
img.embedded-icon {
|
|
2629
|
-
width: 125px;
|
|
2630
|
-
align-self: end;
|
|
2631
|
-
margin-left: 0;
|
|
2632
|
-
position: absolute;
|
|
2633
|
-
transform: translateY(50%);
|
|
2634
|
-
}
|
|
2635
|
-
.embedded-review {
|
|
2636
|
-
max-width: 200px;
|
|
2637
|
-
}
|
|
2638
|
-
}
|
|
2639
|
-
`;var Ot=r.createStyles(((e,t)=>{const{isMarryBaby:a,isSide:r,direction:i}=t;return{root:Object.assign(Object.assign(Object.assign(Object.assign({position:"relative",display:"flex"},"auto"===i?{flexDirection:"row"}:{flexDirection:"column"===i?"column-reverse":"row"}),{gap:"8px",padding:"16px",borderRadius:a?"16px":"8px"}),!a&&{backgroundImage:`url(${s.CommonGAssets.getAssetPath("bgPattern/baby-poop.svg")})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}),{backgroundColor:a?e.colors.toneGreen.toString():e.colors[e.primaryColor][0],[e.fn.smallerThan("sm")]:Object.assign({},"auto"===i?{flexDirection:"column-reverse"}:{}),[e.fn.smallerThan("md")]:{borderRadius:a?"12px":"8px"},[e.fn.largerThan("md")]:{padding:"32px",gap:"20px"}}),inner:{display:"flex",gap:"16px",flexDirection:"column",flex:1},content:{display:"flex",flexDirection:"column",gap:"16px"},reviewText:{display:"flex",gap:"4px",a:{color:e.colors.gray[6],fontWeight:"bold","&:not(:hover)":{textDecoration:"none"}}},reviewTextIcon:{flexShrink:0,width:"16px",height:"16px",[e.fn.largerThan("sm")]:{marginTop:"2px"}},thumbnail:Object.assign(Object.assign({img:{objectFit:"contain",objectPosition:"bottom",width:"100%",height:"100%"}},"column"===i?{width:"80%",alignSelf:"center"}:"row"===i?{width:"40%"}:{}),{[e.fn.smallerThan("sm")]:Object.assign({},"auto"===i?{width:"80%",alignSelf:"center"}:{}),[e.fn.largerThan("sm")]:Object.assign({},"auto"===i?{width:"40%"}:{})}),action:{display:"flex",justifyContent:a?"center":"flex-start"},btn:{minWidth:a?"auto":"143px",width:r||a?"100%":"auto",[e.fn.smallerThan("md")]:{width:"100%"}},sponsorLogo:Object.assign(Object.assign({position:"absolute",top:0,height:40,objectFit:"contain",objectPosition:"top"},"column"===i?{left:"16px",height:40}:"row"===i?{height:50,right:"40px"}:{left:"16px",height:40}),{[e.fn.largerThan("sm")]:Object.assign({},"auto"===i?{height:50,right:"40px",left:"unset"}:{})})}}));const Ft=z.default.div`
|
|
2640
|
-
display: flex;
|
|
2641
|
-
width: 100%;
|
|
2642
|
-
|
|
2643
|
-
&[data-direction='vertical'] {
|
|
2644
|
-
flex-direction: column;
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2647
|
-
&[data-direction='horizontal'] {
|
|
2648
|
-
flex-wrap: wrap;
|
|
2649
|
-
}
|
|
2650
|
-
`,Rt=z.default.div`
|
|
2651
|
-
display: flex;
|
|
2652
|
-
|
|
2653
|
-
padding: 8px;
|
|
2654
|
-
|
|
2655
|
-
border-radius: ${l.theme.borderRadius};
|
|
2656
|
-
cursor: pointer;
|
|
2657
|
-
|
|
2658
|
-
& > div {
|
|
2659
|
-
display: flex;
|
|
2660
|
-
width: 100%;
|
|
2661
|
-
height: 100%;
|
|
2662
|
-
flex-direction: column;
|
|
2663
|
-
align-items: center;
|
|
2664
|
-
justify-content: flex-start;
|
|
2665
|
-
}
|
|
2666
|
-
|
|
2667
|
-
&[data-selected='true'] {
|
|
2668
|
-
border: 1px solid #2d87f3;
|
|
2669
|
-
background: white;
|
|
2670
|
-
|
|
2671
|
-
.radio-group-item-heading {
|
|
2672
|
-
color: #2d87f3;
|
|
2673
|
-
}
|
|
2674
|
-
}
|
|
2675
|
-
&[data-selected='false'] {
|
|
2676
|
-
border: 1px solid #f2f2f2;
|
|
2677
|
-
box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
|
|
2678
|
-
.radio-group-item-heading {
|
|
2679
|
-
color: #262626;
|
|
2680
|
-
}
|
|
2681
|
-
}
|
|
2682
|
-
&[data-disabled='true'] {
|
|
2683
|
-
cursor: auto;
|
|
2684
|
-
}
|
|
2685
|
-
|
|
2686
|
-
.radio-group-item-heading {
|
|
2687
|
-
margin-top: 8px;
|
|
2688
|
-
text-align: center;
|
|
2689
|
-
}
|
|
2690
|
-
|
|
2691
|
-
.gender-image {
|
|
2692
|
-
width: 23px;
|
|
2693
|
-
height: 36px;
|
|
2694
|
-
object-fit: contain;
|
|
2695
|
-
}
|
|
2696
|
-
`,Gt=z.default(h.Button)`
|
|
2697
|
-
margin: 0 auto 24px;
|
|
2698
|
-
width: 100%;
|
|
2699
|
-
${o.MediaQueries.mbUp} {
|
|
2700
|
-
max-width: 200px;
|
|
2701
|
-
}
|
|
2702
|
-
`,Lt=z.default.div``,Qt=z.default.div`
|
|
2703
|
-
display: flex;
|
|
2704
|
-
flex-direction: column;
|
|
2705
|
-
gap: 16px;
|
|
2706
|
-
input {
|
|
2707
|
-
font-size: 12px;
|
|
2708
|
-
}
|
|
2709
|
-
.gender-option {
|
|
2710
|
-
gap: 16px;
|
|
2711
|
-
> div {
|
|
2712
|
-
width: calc(50% - 8px);
|
|
2713
|
-
}
|
|
2714
|
-
}
|
|
2715
|
-
.input-label {
|
|
2716
|
-
label {
|
|
2717
|
-
display: inline-block;
|
|
2718
|
-
margin-bottom: 9px;
|
|
2719
|
-
color: #595959;
|
|
2720
|
-
font-weight: bold;
|
|
2721
|
-
font-size: 12px;
|
|
2722
|
-
}
|
|
2723
|
-
}
|
|
2724
|
-
`,Ut=z.default.div`
|
|
2725
|
-
${o.MediaQueries.mbUp} {
|
|
2726
|
-
display: flex;
|
|
2727
|
-
width: 100%;
|
|
2728
|
-
align-items: flex-start;
|
|
2729
|
-
justify-content: space-between;
|
|
2730
|
-
gap: 16px;
|
|
2731
|
-
margin-bottom: 24px;
|
|
2732
|
-
> div {
|
|
2733
|
-
width: 100%;
|
|
2734
|
-
}
|
|
2735
|
-
}
|
|
2736
|
-
|
|
2737
|
-
${o.MediaQueries.mbDown} {
|
|
2738
|
-
display: flex;
|
|
2739
|
-
flex-direction: column;
|
|
2740
|
-
gap: 16px;
|
|
2741
|
-
margin-bottom: 8px;
|
|
2742
|
-
}
|
|
2743
|
-
&[data-is-side='true'] {
|
|
2744
|
-
${o.MediaQueries.mbUp} {
|
|
2745
|
-
display: flex;
|
|
2746
|
-
flex-direction: column-reverse;
|
|
2747
|
-
gap: 0px;
|
|
2748
|
-
}
|
|
2749
|
-
}
|
|
2750
|
-
`,Ht=z.default(h.Button)`
|
|
2751
|
-
margin: 0 auto 24px;
|
|
2752
|
-
${o.MediaQueries.mbUp} {
|
|
2753
|
-
max-width: 200px;
|
|
2754
|
-
margin: 24px auto;
|
|
2755
|
-
}
|
|
2756
|
-
`,qt=z.default.div``,Wt=z.default.div`
|
|
2757
|
-
margin-bottom: 1rem;
|
|
2758
|
-
display: flex;
|
|
2759
|
-
flex-direction: column;
|
|
2760
|
-
gap: 16px;
|
|
2761
|
-
input {
|
|
2762
|
-
font-size: 12px;
|
|
2763
|
-
::placeholder {
|
|
2764
|
-
color: #8c8c8c;
|
|
2765
|
-
opacity: 1;
|
|
2766
|
-
}
|
|
2767
|
-
}
|
|
2768
|
-
.gender-option {
|
|
2769
|
-
gap: 16px;
|
|
2770
|
-
> div {
|
|
2771
|
-
width: calc(50% - 8px);
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
.input-label {
|
|
2775
|
-
label {
|
|
2776
|
-
display: inline-block;
|
|
2777
|
-
margin-bottom: 9px;
|
|
2778
|
-
color: #595959;
|
|
2779
|
-
font-weight: bold;
|
|
2780
|
-
font-size: 12px;
|
|
2781
|
-
}
|
|
2782
|
-
}
|
|
2783
|
-
`,Vt=z.default.div`
|
|
2784
|
-
${o.MediaQueries.mbUp} {
|
|
2785
|
-
display: flex;
|
|
2786
|
-
width: 100%;
|
|
2787
|
-
align-items: flex-start;
|
|
2788
|
-
justify-content: space-between;
|
|
2789
|
-
gap: 12px;
|
|
2790
|
-
> div {
|
|
2791
|
-
width: 100%;
|
|
2792
|
-
}
|
|
2793
|
-
&[data-is-side='true'] {
|
|
2794
|
-
${o.MediaQueries.mbUp} {
|
|
2795
|
-
display: flex;
|
|
2796
|
-
flex-direction: column;
|
|
2797
|
-
gap: 0px;
|
|
2798
|
-
}
|
|
2799
|
-
}
|
|
2800
|
-
}
|
|
2801
|
-
${o.MediaQueries.mbDown} {
|
|
2802
|
-
display: flex;
|
|
2803
|
-
flex-direction: column;
|
|
2804
|
-
gap: 0px;
|
|
2805
|
-
}
|
|
2806
|
-
`,Yt=({locale:r,onSubmit:i,isSide:o,siteType:n})=>{const{t:d}=a.useTranslations(),[s,p]=e.useState(new Date),[c,g]=e.useState(28),[f,x]=e.useState(7),b={cycle:c,periodDateStart:s,periodLength:f},y=e.useMemo((()=>"undefined"!=typeof window?window.location.href:""),[]);return S.default.createElement(S.default.Fragment,null,S.default.createElement(st,{className:"input-form input-section","data-is-side":!0},"marryBaby"===n?S.default.createElement(nt,{label:d("dueDatePage.lastPeriod.lastPeriodLabel"),name:"date",size:"md",value:ut(s),CustomInput:S.default.createElement(G,{onChange:e=>{p(e)},placeholder:"dd/mm/yyyy",pickedDate:s,displayDateFormat:"dd/MM/yyyy",disabledDays:{before:w.addDays(new Date,-45),after:new Date},customInput:e=>S.default.createElement(u.Input,Object.assign({className:"due-date-input",name:"birthday",size:"md"},e,{value:s&&B.default(s).format(m.DUE_DATE_FORMAT)}))}),actionIcon:S.default.createElement(t.Icon.CalendarMB,{size:32})}):S.default.createElement(u.Input,{label:S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},d("dueDatePage.lastPeriod.lastPeriodLabel")),value:ut(s),size:"md",name:"date",className:"due-date-input",CustomInput:S.default.createElement(G,{customInput:e=>S.default.createElement("input",Object.assign({},e,{type:"date",className:"due-date-input",value:ut(s)})),locale:r,pickedDate:s,displayDateFormat:C.DATE_FORMAT,onChange:e=>{p(e)},disabledDays:{before:w.addDays(new Date,-45),after:new Date},placeholder:"Chọn ngày"})})),S.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===n?"marryBaby":"","data-is-side":o},"marryBaby"===n?S.default.createElement(E.MarryBabyText,{type:"bodytext-3",color:l.theme.mbColors.midGray},d("ovulationPage.cycleLength")):S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959"},d("ovulationPage.cycleLength")+" ",S.default.createElement("span",{style:{minHeight:"36px"}},d("ovulationPage.dayUnit"))),S.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&S.default.createElement(t.Text,{size:"s3",weight:"semiBold",color:l.theme.colors.gray600},c),S.default.createElement(k.Slider,{containerStyle:{flex:1},min:21,max:45,step:1,value:c,onChange:g,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,label:"marryBaby"!==n?void 0:null}))),S.default.createElement("div",{className:"slider-ovulation day-slider","data-theme":"marryBaby"===n?"marryBaby":"","data-is-side":o},"marryBaby"===n?S.default.createElement(E.MarryBabyText,{type:"bodytext-3",color:l.theme.mbColors.midGray},d("ovulationPage.periodDuration")):S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959"},d("ovulationPage.periodDuration")+" ",S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{display:"inline",minHeight:"36px"}},d("ovulationPage.dayUnit"))),S.default.createElement("div",{className:"slider-outer-wrapper"},"marryBaby"===n&&S.default.createElement(t.Text,{size:"s3",weight:"semiBold",color:l.theme.colors.gray600},f),S.default.createElement(k.Slider,{containerStyle:{flex:1},min:1,max:15,step:1,value:f,onChange:x,labelAlwaysOn:"marryBaby"!==n,withControl:"marryBaby"!==n,label:"marryBaby"!==n?void 0:null}))),S.default.createElement("div",{style:{width:"100%",display:"flex"}},S.default.createElement(h.Button,{className:"due-date-calculate-button",size:"lg",variant:"marryBaby"===n?"secondary":"primary",dataEventCategory:"Health Tool",dataEventAction:"Ovulation",dataEventLabel:y,onClick:()=>{localStorage.setItem("ovulationInfo",JSON.stringify(b)),i&&i({startDate:s,cycle:c,periodLength:f})},role:"button"},d("dueDatePage.lastPeriod.calculate"))))};var Zt;!function(e){e[e.trackPeriod=0]="trackPeriod",e[e.conceive=1]="conceive",e[e.avoidPregnancy=2]="avoidPregnancy"}(Zt||(Zt={}));const Xt=z.default.div`
|
|
2807
|
-
flex: 1;
|
|
2808
|
-
`,Jt=z.default.div`
|
|
2809
|
-
padding: 0 10px;
|
|
2810
|
-
`,Kt=z.default.div`
|
|
2811
|
-
display: flex;
|
|
2812
|
-
height: 80px;
|
|
2813
|
-
align-items: center;
|
|
2814
|
-
.calendar-month {
|
|
2815
|
-
font-size: 16px;
|
|
2816
|
-
flex: 1;
|
|
2817
|
-
text-align: center;
|
|
2818
|
-
strong {
|
|
2819
|
-
margin-left: 5px;
|
|
2820
|
-
}
|
|
2821
|
-
}
|
|
2822
|
-
${o.MediaQueries.mbDown} {
|
|
2823
|
-
height: 70px;
|
|
2824
|
-
}
|
|
2825
|
-
`,ea=z.default.div`
|
|
2826
|
-
display: grid;
|
|
2827
|
-
grid-template-columns: repeat(7, 1fr);
|
|
2828
|
-
row-gap: 2px;
|
|
2829
|
-
`,ta=z.default(ea)`
|
|
2830
|
-
margin-bottom: 8px;
|
|
2831
|
-
`;z.default.div`
|
|
2832
|
-
height: 40px;
|
|
2833
|
-
width: 40px;
|
|
2834
|
-
display: flex;
|
|
2835
|
-
align-items: center;
|
|
2836
|
-
justify-content: center;
|
|
2837
|
-
`;const aa=z.default.div`
|
|
2838
|
-
font-size: 14px;
|
|
2839
|
-
display: flex;
|
|
2840
|
-
justify-content: center;
|
|
2841
|
-
align-items: center;
|
|
2842
|
-
color: 1px solid ${l.theme.colors.gray800};
|
|
2843
|
-
font-weight: 300;
|
|
2844
|
-
`,ra=z.default.div`
|
|
2845
|
-
width: 18px;
|
|
2846
|
-
position: relative;
|
|
2847
|
-
&::before {
|
|
2848
|
-
content: '';
|
|
2849
|
-
position: absolute;
|
|
2850
|
-
inset: 16px 0 0 0;
|
|
2851
|
-
width: 1px;
|
|
2852
|
-
left: 50%;
|
|
2853
|
-
right: 50%;
|
|
2854
|
-
background: ${l.theme.colors.neutral100};
|
|
2855
|
-
}
|
|
2856
|
-
`,ia=z.default.div`
|
|
2857
|
-
margin: 0 auto;
|
|
2858
|
-
`,oa=z.default.div`
|
|
2859
|
-
position: relative;
|
|
2860
|
-
`,na=ea,la=z.default.div`
|
|
2861
|
-
position: relative;
|
|
2862
|
-
display: flex;
|
|
2863
|
-
justify-content: center;
|
|
2864
|
-
align-items: center;
|
|
2865
|
-
height: 34px;
|
|
2866
|
-
${o.MediaQueries.mbUp} {
|
|
2867
|
-
height: 38px;
|
|
2868
|
-
}
|
|
2869
|
-
&[data-is-disabled='true'] {
|
|
2870
|
-
opacity: 0.3;
|
|
2871
|
-
}
|
|
2872
|
-
&[data-in-range='true']:not([data-is-from='true'][data-is-to='true']) {
|
|
2873
|
-
background-color: ${l.theme.colors.gray100};
|
|
2874
|
-
}
|
|
2875
|
-
&:before {
|
|
2876
|
-
position: absolute;
|
|
2877
|
-
top: 0;
|
|
2878
|
-
bottom: 0;
|
|
2879
|
-
right: 0;
|
|
2880
|
-
background-color: ${l.theme.colors.gray100};
|
|
2881
|
-
}
|
|
2882
|
-
&[data-is-from='true'][data-in-range='true'][data-is-to='false'] {
|
|
2883
|
-
background-color: transparent;
|
|
2884
|
-
&:before {
|
|
2885
|
-
content: '';
|
|
2886
|
-
left: 50%;
|
|
2887
|
-
right: 0;
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2890
|
-
|
|
2891
|
-
&[data-is-to='true'][data-in-range='true'][data-is-from='false'],
|
|
2892
|
-
&:hover[data-in-range='true']:is([data-has-range='false'] &) {
|
|
2893
|
-
background-color: transparent;
|
|
2894
|
-
&:before {
|
|
2895
|
-
content: '';
|
|
2896
|
-
left: 0;
|
|
2897
|
-
right: 50%;
|
|
2898
|
-
}
|
|
2899
|
-
}
|
|
2900
|
-
`,da=z.default.div`
|
|
2901
|
-
position: relative;
|
|
2902
|
-
font-weight: 600;
|
|
2903
|
-
${o.MediaQueries.mbDown} {
|
|
2904
|
-
width: 32px;
|
|
2905
|
-
height: 32px;
|
|
2906
|
-
}
|
|
2907
|
-
${o.MediaQueries.mbUp} {
|
|
2908
|
-
width: 36px;
|
|
2909
|
-
height: 36px;
|
|
2910
|
-
}
|
|
2911
|
-
display: flex;
|
|
2912
|
-
justify-content: center;
|
|
2913
|
-
align-items: center;
|
|
2914
|
-
cursor: pointer;
|
|
2915
|
-
[data-is-disabled='true'] & {
|
|
2916
|
-
cursor: not-allowed;
|
|
2917
|
-
}
|
|
2918
|
-
line-height: 1;
|
|
2919
|
-
color: 1px solid ${l.theme.colors.gray800};
|
|
2920
|
-
[data-is-selected='true'] &,
|
|
2921
|
-
[data-is-today='true'] &,
|
|
2922
|
-
[data-is-selected='false']:hover & {
|
|
2923
|
-
border-radius: 32px;
|
|
2924
|
-
}
|
|
2925
|
-
[data-is-selected='true'] & {
|
|
2926
|
-
background-color: ${l.theme.colors.primaryBase};
|
|
2927
|
-
color: white;
|
|
2928
|
-
}
|
|
2929
|
-
[data-is-selected='false']:hover & {
|
|
2930
|
-
background-color: ${l.theme.colors.primary50};
|
|
2931
|
-
}
|
|
2932
|
-
[data-is-today='true'][data-is-selected='false'] & {
|
|
2933
|
-
background-color: transparent;
|
|
2934
|
-
border-radius: 32px;
|
|
2935
|
-
border: 1px solid ${l.theme.colors.primaryBase};
|
|
2936
|
-
}
|
|
2937
|
-
`,sa=z.default.div`
|
|
2938
|
-
display: block;
|
|
2939
|
-
position: relative;
|
|
2940
|
-
width: 270px;
|
|
2941
|
-
input {
|
|
2942
|
-
pointer-events: none;
|
|
2943
|
-
caret-color: transparent;
|
|
2944
|
-
}
|
|
2945
|
-
${o.MediaQueries.mbDown} {
|
|
2946
|
-
width: 100%;
|
|
2947
|
-
}
|
|
2948
|
-
`,pa=z.default.div`
|
|
2949
|
-
display: flex;
|
|
2950
|
-
position: absolute;
|
|
2951
|
-
top: 46px;
|
|
2952
|
-
left: 0;
|
|
2953
|
-
width: 684px;
|
|
2954
|
-
border: 1px solid ${l.theme.colors.gray200};
|
|
2955
|
-
filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))
|
|
2956
|
-
drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04))
|
|
2957
|
-
drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04));
|
|
2958
|
-
border-radius: ${l.theme.borderRadius};
|
|
2959
|
-
background-color: white;
|
|
2960
|
-
z-index: 100;
|
|
2961
|
-
padding-bottom: 16px;
|
|
2962
|
-
align-items: stretch;
|
|
2963
|
-
user-select: none;
|
|
2964
|
-
${o.MediaQueries.mbDown} {
|
|
2965
|
-
width: 100%;
|
|
2966
|
-
}
|
|
2967
|
-
`,ca=z.default.div`
|
|
2968
|
-
display: flex;
|
|
2969
|
-
gap: 20px;
|
|
2970
|
-
width: 100%;
|
|
2971
|
-
align-items: center;
|
|
2972
|
-
justify-content: center;
|
|
2973
|
-
.icon-group {
|
|
2974
|
-
display: flex;
|
|
2975
|
-
align-items: center;
|
|
2976
|
-
gap: 10px;
|
|
2977
|
-
a,
|
|
2978
|
-
svg {
|
|
2979
|
-
width: 32px;
|
|
2980
|
-
height: 32px;
|
|
2981
|
-
}
|
|
2982
|
-
.share {
|
|
2983
|
-
width: 32px;
|
|
2984
|
-
height: 32px;
|
|
2985
|
-
padding: 8px;
|
|
2986
|
-
|
|
2987
|
-
&:hover {
|
|
2988
|
-
background-color: ${l.theme.colors.neutral50};
|
|
2989
|
-
}
|
|
2990
|
-
|
|
2991
|
-
svg {
|
|
2992
|
-
margin: 0;
|
|
2993
|
-
width: 16px;
|
|
2994
|
-
height: 16px;
|
|
2995
|
-
}
|
|
2996
|
-
}
|
|
2997
|
-
}
|
|
2998
|
-
`,ma=z.default(b.Drawer)`
|
|
2999
|
-
padding-bottom: 24px;
|
|
3000
|
-
.share-container {
|
|
3001
|
-
display: flex;
|
|
3002
|
-
flex-direction: column;
|
|
3003
|
-
gap: 24px;
|
|
3004
|
-
}
|
|
3005
|
-
.icon-group {
|
|
3006
|
-
margin-top: 12px;
|
|
3007
|
-
display: flex;
|
|
3008
|
-
gap: 16px;
|
|
3009
|
-
img {
|
|
3010
|
-
border-radius: 8px;
|
|
3011
|
-
}
|
|
3012
|
-
}
|
|
3013
|
-
.input-group {
|
|
3014
|
-
margin-top: 8px;
|
|
3015
|
-
display: flex;
|
|
3016
|
-
gap: 8px;
|
|
3017
|
-
button {
|
|
3018
|
-
padding: 10px;
|
|
3019
|
-
&:hover {
|
|
3020
|
-
background-color: ${l.theme.colors.neutral50};
|
|
3021
|
-
}
|
|
3022
|
-
}
|
|
3023
|
-
svg {
|
|
3024
|
-
margin: 0;
|
|
3025
|
-
}
|
|
3026
|
-
a,
|
|
3027
|
-
svg:not(.copy) {
|
|
3028
|
-
width: 32px;
|
|
3029
|
-
height: 32px;
|
|
3030
|
-
}
|
|
3031
|
-
}
|
|
3032
|
-
`,ua=z.default.div`
|
|
3033
|
-
position: fixed;
|
|
3034
|
-
z-index: 48;
|
|
3035
|
-
bottom: 0;
|
|
3036
|
-
left: 50%;
|
|
3037
|
-
width: fit-content;
|
|
3038
|
-
max-width: 100%;
|
|
3039
|
-
background: none;
|
|
3040
|
-
transform: translateX(-50%);
|
|
3041
|
-
.close-sticky-button {
|
|
3042
|
-
position: absolute;
|
|
3043
|
-
display: flex;
|
|
3044
|
-
width: 16px;
|
|
3045
|
-
height: 16px;
|
|
3046
|
-
align-items: center;
|
|
3047
|
-
justify-content: center;
|
|
3048
|
-
background: #bfbfbf;
|
|
3049
|
-
border-radius: 50%;
|
|
3050
|
-
color: white;
|
|
3051
|
-
|
|
3052
|
-
cursor: pointer;
|
|
3053
|
-
font-size: 12px;
|
|
3054
|
-
line-height: 12px;
|
|
3055
|
-
transform: translate(50%, -50%);
|
|
3056
|
-
top: 0;
|
|
3057
|
-
right: 0;
|
|
3058
|
-
}
|
|
3059
|
-
opacity: 0;
|
|
3060
|
-
pointer-events: none;
|
|
3061
|
-
&[data-visible='true'] {
|
|
3062
|
-
opacity: 1;
|
|
3063
|
-
pointer-events: auto;
|
|
3064
|
-
}
|
|
3065
|
-
`,ga=z.default.div`
|
|
3066
|
-
display: flex;
|
|
3067
|
-
justify-content: center;
|
|
3068
|
-
align-items: center;
|
|
3069
|
-
flex-direction: column;
|
|
3070
|
-
max-width: 100%;
|
|
3071
|
-
width: fit-content;
|
|
3072
|
-
height: fit-content;
|
|
3073
|
-
margin-inline: auto;
|
|
3074
|
-
/* margin: 1rem auto; */
|
|
3075
|
-
&[data-no-wrapper='false'] {
|
|
3076
|
-
border: 1px solid ${l.theme.colors.neutral50};
|
|
3077
|
-
background: ${l.theme.colors.neutral50};
|
|
3078
|
-
}
|
|
3079
|
-
&[data-no-wrapper='true'] {
|
|
3080
|
-
line-height: 0;
|
|
3081
|
-
}
|
|
3082
|
-
&[data-header-bottom='true'] {
|
|
3083
|
-
flex-direction: column-reverse;
|
|
3084
|
-
background: none;
|
|
3085
|
-
border: none;
|
|
3086
|
-
}
|
|
3087
|
-
`,ha=z.default.div`
|
|
3088
|
-
width: 100%;
|
|
3089
|
-
padding: 0 5px 1.5px;
|
|
3090
|
-
display: flex;
|
|
3091
|
-
align-items: center;
|
|
3092
|
-
justify-content: center;
|
|
3093
|
-
gap: 5px;
|
|
3094
|
-
text-transform: capitalize;
|
|
3095
|
-
img {
|
|
3096
|
-
height: 12px;
|
|
3097
|
-
width: 12px;
|
|
3098
|
-
max-width: 12px;
|
|
3099
|
-
max-height: 12px;
|
|
3100
|
-
}
|
|
3101
|
-
&[data-header-bottom='true'] {
|
|
3102
|
-
background: ${l.theme.colors.neutral50};
|
|
3103
|
-
}
|
|
3104
|
-
span {
|
|
3105
|
-
font-size: 10px;
|
|
3106
|
-
line-height: 12px;
|
|
3107
|
-
color: ${l.theme.colors.gray400};
|
|
3108
|
-
font-weight: 400;
|
|
3109
|
-
}
|
|
3110
|
-
`,fa=z.default.div`
|
|
3111
|
-
background-color: white;
|
|
3112
|
-
background-image: url(${s.CommonGAssets.getAssetPath("close-blue.svg")});
|
|
3113
|
-
background-repeat: no-repeat;
|
|
3114
|
-
background-size: 10px;
|
|
3115
|
-
background-position: center;
|
|
3116
|
-
width: 12px;
|
|
3117
|
-
height: 12px;
|
|
3118
|
-
position: absolute;
|
|
3119
|
-
top: 1px;
|
|
3120
|
-
right: 1px;
|
|
3121
|
-
cursor: pointer;
|
|
3122
|
-
`,xa={},ba=e=>{if(xa[e]){window.googletag=window.googletag||{cmd:[]};const{googletag:t}=window;t.cmd.push((function(){t.destroySlots([xa[e]]),delete xa[e]}))}},ya=["TopBanner","MidBanner1","MidBanner2","EndBanner","Sticky"],va=e.forwardRef((function({className:t,adUnitPath:i,size:o,divId:n,pos:l,sizeMapping:p,contentId:c,isHidden:m,hideIfHasSubot:u,isSticky:g,refreshInterval:h,customTargetings:f,style:x,adDefaultSize:b,noWrapper:y,showCloseBtn:v,onCloseAd:w,headerBottom:k,wrapperProps:E,locale:C,isMarryBaby:D},$){const B=h||(C===d.LOCALE.Vietnam&&l.some((e=>ya.includes(e)))?30:void 0),{t:z}=a.useTranslations(),M=e.useRef(null),T=e.useRef(null),P=e.useRef(B);P.current=B;const[I,N]=e.useState(!1),A=()=>{P.current&&(null!==T.current&&clearInterval(T.current),T.current=window.setInterval((()=>{window.googletag=window.googletag||{cmd:[]};const{googletag:e}=window;e.cmd.push((function(){xa[n]&&e.pubads().refresh([xa[n]])}))}),1e3*P.current))};if(e.useEffect((()=>()=>{ba(n),T.current&&clearInterval(T.current)}),[]),e.useEffect((()=>{A()}),[B]),e.useEffect((()=>{m||(({contentId:e,adUnitPath:t,size:a,divId:r,pos:i,sizeMapping:o,hideIfHasSubot:n,customTargetings:l,onSuccess:d})=>{if(!r||!document.getElementById(r))return console.error("divId is required");ba(r),window.googletag=window.googletag||{cmd:[]};const{googletag:s}=window;s.cmd.push((function(){const p=document.querySelector('meta[name="content_id"]'),c="string"==typeof e?e:null==p?void 0:p.content,m=s.defineSlot(t,a,r);if(m){try{l&&Object.keys(l).forEach((e=>{e&&(null==m||m.setTargeting(e,l[e]))}))}catch(e){console.error(e)}xa[r]=m,m.setTargeting("Pos",i),m.addService(s.pubads()),c&&m.setTargeting("Content_ID",c),o&&m.defineSizeMapping(o),n&&document.getElementById("subot--container")&&m.setTargeting("chatbot",!0),s.display(r),null==d||d()}}))})({contentId:c,adUnitPath:i,size:o,divId:n,pos:l,sizeMapping:p,hideIfHasSubot:u,customTargetings:f,onSuccess:A})}),[m]),I)return null;const j=S.default.createElement("div",{style:{position:"relative",width:"fit-content",height:"fit-content",overflow:"hidden",maxWidth:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},S.default.createElement("div",{ref:$,id:n}),v&&S.default.createElement(fa,{onClick:()=>{null==w||w(),N(!0)}}));if(g)return j;const _=b?b[0]:o?Array.isArray(o[0])?o[0][0]:o[0]:void 0,O=b?b[1]:o?Array.isArray(o[0])?o[0][1]:o[1]:void 0;return S.default.createElement(r.Box,Object.assign({},E,{className:t}),S.default.createElement(ga,{ref:M,className:t,style:x,"data-no-wrapper":!!y,"data-header-bottom":!!k},y?j:S.default.createElement(S.default.Fragment,null,S.default.createElement(ha,{"data-header-bottom":!!k},S.default.createElement("img",{src:D?s.CommonGAssets.getAssetPath("adsIcon-mb.svg"):s.CommonGAssets.getAssetPath("adsIcon.svg"),alt:"",loading:"lazy"}),S.default.createElement("span",null,z("adBanner.title"))),S.default.createElement("div",{style:{minWidth:_||"100%",minHeight:O||"100%",position:"relative"}},j))))})),wa=e.memo(va,((e,t)=>e.adUnitPath===t.adUnitPath&&e.divId===t.divId&&e.className===t.className)),ka=[{title:"Health News & Current Affairs",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:s.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-health.svg"),checked:!1,id:1},{title:"Educational Medical Hello Bacsi Content",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:s.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-education.svg"),checked:!1,id:2},{title:"Hello Health Community Feed",description:"Covering the latest happenings in the health field, including medical breakthroughs, policies, and disease outbreaks",icon:s.CommonGAssets.getAssetPath("newsletter-prefer/newsletter-community.svg"),checked:!1,id:3}];var Ea;!function(e){e.DUE_DATE="due-date-calculator",e.BMI="bmi",e.BMR="bmr",e.OVULATION="ovulation",e.IFRAME="IFRAME",e.PWG="pregnancy-weight-gain",e.THR="heart-rate",e.BABY_VACCINE="vaccination-tool",e.BABY_GROWTH="baby-growth-tracking",e.BABY_POOP="baby-poop-checking"}(Ea||(Ea={}));const Ca={DUE_DATE:Ea.DUE_DATE,BMI:Ea.BMI,BMR:Ea.BMR,OVULATION:Ea.OVULATION,IFRAME:Ea.IFRAME,PWG:Ea.PWG,THR:Ea.THR,BABY_VACCINE:Ea.BABY_VACCINE,BABY_GROWTH:Ea.BABY_GROWTH,BABY_POOP:Ea.BABY_POOP},Da={[Ca.DUE_DATE]:s.CommonGAssets.getAssetPath("health-tools/due-date-icon.svg")};var $a,Sa,Ba,za;exports.BannerCategory=void 0,($a=exports.BannerCategory||(exports.BannerCategory={})).Pregnant="pregnant",$a.Parenting="parenting",function(e){e.Option="option"}(Sa||(Sa={})),exports.OptionBannerStyleType=void 0,(Ba=exports.OptionBannerStyleType||(exports.OptionBannerStyleType={})).Button="button",Ba.Checkbox="checkbox",exports.BannerAction=void 0,(za=exports.BannerAction||(exports.BannerAction={})).ShowTool="showTool",za.ShowPremiumModal="showPremiumModal",za.ShowOptionBanner="showOptionBanner",za.Hide="hide";const Ma={pregnancy:exports.BannerCategory.Pregnant,parenting:exports.BannerCategory.Parenting},Ta={[exports.BannerCategory.Pregnant]:"pregnant",[exports.BannerCategory.Parenting]:"parent"},Pa=e.createContext({});var Ia=r.createStyles((e=>({root:{},wrapper:{[e.fn.smallerThan("sm")]:{width:"70%"}},button:{[e.fn.smallerThan("sm")]:{height:"auto",minHeight:r.rem(32),padding:`${r.rem(6)} ${r.rem(16)}`,textAlign:"center",width:"100%"}},buttonLabel:{whiteSpace:"normal"}})));const Na=e.createContext({}),Aa=e.forwardRef((function(e,a){var{label:i}=e,o=g.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},o),S.default.createElement(r.Group,{noWrap:!0},S.default.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},S.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.97887 8.15493C2.97887 5.29627 5.29627 2.97887 8.15493 2.97887C11.0136 2.97887 13.331 5.29627 13.331 8.15493C13.331 11.0136 11.0136 13.331 8.15493 13.331C5.29627 13.331 2.97887 11.0136 2.97887 8.15493ZM8.15493 1.5C4.47951 1.5 1.5 4.47951 1.5 8.15493C1.5 11.8303 4.47951 14.8099 8.15493 14.8099C9.72615 14.8099 11.1702 14.2653 12.3086 13.3547L15.2376 16.2837C15.5264 16.5725 15.9946 16.5725 16.2833 16.2837C16.5721 15.9949 16.5721 15.5267 16.2833 15.238L13.3544 12.3091C14.2652 11.1705 14.8099 9.72634 14.8099 8.15493C14.8099 4.47951 11.8303 1.5 8.15493 1.5Z",fill:"#8C8C8C"})),S.default.createElement(t.Text,{size:"p3"},i)))})),ja=e.forwardRef((function(e,a){var{label:r}=e,i=g.__rest(e,["label"]);return S.default.createElement("div",Object.assign({ref:a},i),S.default.createElement(t.Text,{size:"p3"},r))}));var _a="fVk18fq",Oa="v8TCvUb",Fa="mx7T4V3";const Ra={myHealth:l.theme.mbColors.toneYellow,myCommunity:l.theme.mbColors.toneBlue,mySaved:l.theme.mbColors.toneGreen},Ga={helloSites:{myBooking:()=>s.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myBooking.svg"),myCommunity:()=>s.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myCommunity.svg"),myFamily:()=>s.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myFamily.svg"),myHealth:()=>s.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-myHealth.svg"),mySaved:()=>s.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-mySaved.svg"),eCom:()=>s.CommonGAssets.getAssetPath("userProfileNav/helloSites/icon-eCom.svg")},marryBaby:{mySaved:()=>s.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-mySaved.svg"),myCommunity:()=>s.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myCommunity.svg"),myHealth:()=>s.CommonGAssets.getAssetPath("userProfileNav/marryBaby/icon-myHealth.svg")}};exports.API_DATE_FORMAT=mt,exports.AdBlock=wa,exports.AffiliateIcon=P,exports.Body=({children:e,className:t,style:a,isHoverable:r,isStriped:i})=>S.default.createElement(ye,{className:t,style:a,"data-is-striped":i||void 0,"data-is-hoverable":r||void 0},e),exports.BookmarkedIcon=I,exports.Cell=({children:e,className:t,style:a,textAlign:r,isTableHead:i})=>S.default.createElement(he,{className:t,style:a,"data-text-align":r||"left",as:i?"th":"td"},e),exports.DatePicker=G,exports.DateToInputValue=ut,exports.DoctorInfo=ne,exports.FormControl=Bt,exports.FormControl$1=Qt,exports.FormControl$2=Wt,exports.HEALTH_TOOL_DEFAULT_IMG=Da,exports.HEALTH_TOOL_TYPE=Ca,exports.Head=({isSticky:e,children:t,className:a,style:r})=>S.default.createElement(be,{className:a,"data-is-sticky":e||void 0,style:r},S.default.createElement(xe,null,t)),exports.Loading=({className:e,theme:r,hideText:i})=>{const{t:o}=a.useTranslations();return S.default.createElement("div",{className:`${T} ${e}`},S.default.createElement(t.Icon.Spinner,{isMarryBaby:"marryBaby"===r}),!i&&o("loading"))},exports.MAPPING_CATEGORY_PREMIUM_API_TYPE=Ta,exports.MAPPING_CATEGORY_PREMIUM_TYPE=Ma,exports.MenuLink=({icon:e,isActive:a,children:r,isCollapsed:i,activeIcon:o,onLinkClick:n,textSize:l="base",textType:d="bold",textColorActive:s="#fff",textColor:p="#595959"})=>S.default.createElement(de,{"data-is-link-active":a||void 0,onClick:n,"data-is-link-collapsed":i||void 0},a&&o?o:e,!i&&S.default.createElement(t.Text,{size:l,weight:d,color:a?s:p},r)),exports.MobileBottomNavigation=Ye,exports.MobileBottomNavigationIcon=Ve,exports.NavigationCard=({type:t,themeName:r,className:i,onClick:o=(()=>{})})=>{const{t:n}=a.useTranslations(),l=e.useMemo((()=>{var e,a;return(null===(a=null===(e=Ga[r])||void 0===e?void 0:e[t])||void 0===a?void 0:a.call(e))||""}),[t,r]),d=e.useMemo((()=>"marryBaby"!==r?"transparent":Ra[t]),[t,r]);return S.default.createElement("div",{onClick:function(){o(t)},className:`${_a} ${i}`},S.default.createElement("div",{className:Fa,style:{backgroundColor:d,backgroundImage:`url("${l}")`}}),S.default.createElement("h3",{className:Oa},n(`userProfile.nav.card.${t}`)))},exports.OvulationCalculator=({locale:r,onSubmitOvulation:i,isSide:o,siteType:n})=>{const{t:l}=a.useTranslations(),[d,s]=e.useState(Zt.trackPeriod),p=[{label:l("ovulationPage.trackPeriod"),value:Zt.trackPeriod},{label:l("ovulationPage.conceive"),value:Zt.conceive},{label:l("ovulationPage.avoidPregnancy"),value:Zt.avoidPregnancy}];return S.default.createElement(xt,null,S.default.createElement(lt,{className:"input-form input-section","data-is-side":!0},"marryBaby"===n?S.default.createElement(ot,{groupedWithLabel:l("dueDatePage.calculationMethod"),options:p,placeholder:l("dueDatePage.lastPeriod"),id:"due-date-dropdown",size:"lg",value:p[d],onChange:e=>{s(e.value)}}):S.default.createElement(S.default.Fragment,null,S.default.createElement(t.Text,{size:"s4",weight:"semiBold",color:"#595959",style:{marginBottom:"9px",flex:"1"}},l("ovulationPage.objectives")),S.default.createElement(dt,{"data-is-side":o},S.default.createElement(v.Dropdown,{options:p,placeholder:l("ovulationPage.trackPeriod"),id:"due-date-dropdown",size:"md",value:p[d],onChange:e=>{s(e.value)}})))),S.default.createElement(Yt,{siteType:n,locale:r,onSubmit:({startDate:e,cycle:t,periodLength:a})=>{i&&i({method:d,periodDateStart:e,cycle:t,periodLength:a})},isSide:o}))},exports.PREFER_TOPICS=ka,exports.PremiumNewsletterModalContext=Na,exports.RadioGroup=te,exports.Row=xe,exports.SideHeader=({isCollapsed:e,defaultLogo:t,onBackClick:a,customIcon:r})=>S.default.createElement(re,null,S.default.createElement(p.Logo,{type:e?"logomark":t||"hellocare",customSize:{width:e?"24px":"77px",height:"24px"}}),S.default.createElement(ie,{"data-is-collapsed":e||void 0,onClick:a},r||S.default.createElement("svg",{"data-name":"Layer 1",viewBox:"0 0 20 20",width:"20px",height:"20px"},S.default.createElement("path",{d:"M10 .75A9.25 9.25 0 1019.25 10 9.25 9.25 0 0010 .75z",fill:"none",stroke:"#d2d6dc",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),S.default.createElement("path",{d:"M11.44 6.53L8 10l3.48 3.47",fill:"none",stroke:"#737373",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})))),exports.SideMenu=({isCollapsed:e,className:t,style:a,children:r})=>S.default.createElement(ae,{style:a,className:t,"data-is-collapsed":e||void 0},r),exports.StyleForm=_t,exports.StyledAcceptButton=Ge,exports.StyledAcceptCardContainer=_e,exports.StyledActive=yt,exports.StyledBabyGrowthWrapper=jt,exports.StyledBreadcrumbContainer=V,exports.StyledBreadcrumbWrapper=Y,exports.StyledButton=Dt,exports.StyledButton$1=Gt,exports.StyledButton$2=Ht,exports.StyledButtonGroup=Re,exports.StyledCalendarCellsWrapper=Jt,exports.StyledCalendarDateGrid=na,exports.StyledCalendarDayLabel=aa,exports.StyledCalendarDayNumber=da,exports.StyledCalendarDayNumberWrapper=la,exports.StyledCalendarDaysOfWeek=ta,exports.StyledCalendarDaysWrapper=ia,exports.StyledCalendarHead=Kt,exports.StyledCalendarMonthSeparator=ra,exports.StyledCalendarMonthWrapper=oa,exports.StyledCalendarWrapper=Xt,exports.StyledCalendarWrapper$1=pa,exports.StyledCategoryCard=j,exports.StyledCheckboxGroup=_,exports.StyledContainer=Et,exports.StyledContainer$1=St,exports.StyledContainer$2=Lt,exports.StyledContainer$3=qt,exports.StyledContent=kt,exports.StyledDescription=Fe,exports.StyledDescriptionWrapper=me,exports.StyledDetailStep=Z,exports.StyledDetailStepDescription=ee,exports.StyledDetailStepIndicator=X,exports.StyledDetailStepIndicatorExternal=J,exports.StyledDetailStepLabel=K,exports.StyledDot=ce,exports.StyledDropDown=ot,exports.StyledFixedAdBlock=ua,exports.StyledFloatButtonGroup=ze,exports.StyledFloatButtonGroupBackgroundPanel=Me,exports.StyledFloatButtonGroupButton=Ne,exports.StyledFloatButtonGroupButtonIcon=je,exports.StyledFloatButtonGroupButtonLabel=Ae,exports.StyledFloatButtonGroupContent=Te,exports.StyledFloatButtonGroupItemsWrapper=Pe,exports.StyledFloatButtonGroupToggleIcon=Ie,exports.StyledFormInput=bt,exports.StyledIconText=L,exports.StyledInput=$t,exports.StyledInputForm=ht,exports.StyledInputWrapper=xt,exports.StyledLastPeriodFormContainer=st,exports.StyledMethodContainer=lt,exports.StyledMethodSwitcherContainer=dt,exports.StyledPoliciesButton=Le,exports.StyledRadioGroup=Ct,exports.StyledRadioImageGroup=Ft,exports.StyledRadioImageItem=Rt,exports.StyledRow=zt,exports.StyledRow$1=Ut,exports.StyledRow$2=Vt,exports.StyledScrollList=se,exports.StyledShareContainer=ca,exports.StyledShareDrawer=ma,exports.StyledSlider=Q,exports.StyledStatisticContainer=pe,exports.StyledStatisticNumberWrapper=ue,exports.StyledStep=U,exports.StyledStepLabel=W,exports.StyledSubmitButton=ft,exports.StyledSurveyQuestionCard=we,exports.StyledSurveyThankyouCard=Ee,exports.StyledTextField=nt,exports.StyledTitleSection=Oe,exports.StyledTrack=q,exports.StyledTrackContainer=H,exports.StyledTwins=gt,exports.StyledWrapper=sa,exports.SurveyOrPremiumBannerContext=Pa,exports.SurveyQuestionCard=({className:a,headerText:r,style:i,question:o,termAndPolicyText:n,prevText:l,nextText:d,isContactForm:s,isDisableNext:p,isDisablePrev:m,onPrevClick:u,onNextClick:g,isSubmitButton:h,isButtonCenter:f,progress:x,descriptionText:b})=>{var y,v,w;const[k,E]=e.useState([]),{is_multi_select:C,multi_select_option:D,from:$,to:B}=o,z=null==o?void 0:o.type,M="checkbox"===z&&(null===(y=o.options)||void 0===y?void 0:y.length)&&(!k||0===k.length||C&&D===Se.RANGE&&(k.length<$||k.length>B)||C&&D===Se.EXACT_NUMBER&&k.length!==$)||"radio"===z&&(null===(v=o.options)||void 0===v?void 0:v.length)&&(!k||0===k.length)||"textbox"===z&&(null===(w=o.textOptions)||void 0===w?void 0:w.length)&&(k.length<o.textOptions.length||k.some((e=>!e.value))),T="number"==typeof x?x>1?1:x<0?0:Number(x.toFixed(2)):-1,P=e.useRef(null),I=()=>"textbox"!==z||P.current.reportValidity();return S.default.createElement(we,{className:a,style:i},S.default.createElement("div",{className:"survey-inner-wrapper"},r&&S.default.createElement("div",{className:"survey-header"},S.default.createElement(t.Text,{className:"survey-header-text",size:"c2"},r)),S.default.createElement("form",{ref:P,onSubmit:e=>e.preventDefault()},S.default.createElement($e,{question:o,description:b,onOptionsChange:e=>{E(e)},onTextOptionsChange:e=>{E(e)}})),s&&d&&S.default.createElement(c.Button,{className:"survey-contact-submit",size:"lg",isDisabled:p||M,onClick:()=>I()&&g&&g(k)},d),n&&S.default.createElement("div",{className:"term-policy-container"},n),"number"==typeof x&&S.default.createElement("div",{className:"survey-progress-wrapper"},S.default.createElement("div",{className:"survey-progress",style:{transform:`scaleX(${T})`}})),(l||d)&&S.default.createElement("div",{"data-center":f,className:"survey-button-wrapper"},l&&S.default.createElement(c.Button,{className:"survey-prev-button",size:"lg",color:m?"primary":"secondary",isDisabled:m,icon:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M2.44677 4.99999L5.31252 2.13424C5.62302 1.82374 5.62302 1.31974 5.31252 1.00924C5.00202 0.698742 4.49802 0.698742 4.18752 1.00924L0.727018 4.46974C0.433768 4.76299 0.433768 5.23774 0.727018 5.53024L4.18752 8.99074C4.49802 9.30124 5.00202 9.30124 5.31252 8.99074C5.62302 8.68024 5.62302 8.17624 5.31252 7.86574L2.44677 4.99999Z",fill:m?"#fff":"#2D87F3"})),onClick:u},l),!s&&d&&S.default.createElement(c.Button,{onClick:()=>I()&&g&&g(k),className:"survey-next-button",size:"lg",isDisabled:p||M},d," ",h?void 0:S.default.createElement("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none"},S.default.createElement("path",{d:"M3.80322 5.19994L0.937465 2.33419C0.626965 2.02369 0.626965 1.51969 0.937465 1.20919C1.24796 0.898693 1.75196 0.898693 2.06246 1.20919L5.52297 4.66969C5.81622 4.96294 5.81622 5.43769 5.52297 5.73019L2.06246 9.19069C1.75196 9.50119 1.24796 9.50119 0.937465 9.19069C0.626965 8.88019 0.626965 8.37619 0.937465 8.06569L3.80322 5.19994Z",fill:"#ffffff"}))))))},exports.TRANSITION_TIMING=Be,exports.Table=({children:e,className:t,style:a,horizontalPadding:r,verticalPadding:i})=>S.default.createElement(ge,{className:t,style:Object.assign({"--horizontal-spacing":r||"19px","--vertical-spacing":i||"26px"},a)},e),exports.ToolsBannerCard=it,exports.UnbookmarkedIcon=N,exports.UserInfo=({isCollapsed:e,userName:t,role:a,avatar:r})=>S.default.createElement(le,{"data-is-collapsed":e||void 0},S.default.createElement(ne,{image:r,name:t,description:a,isDescriptionHidden:e})),exports._SuggestedTopic=Aa,exports._Topic=ja,exports.getDueDateConception=e=>{const t=new Date(e);return t.setDate(t.getDate()+265),{startDate:e,dueDate:t,otherInfo:{method:exports.DueDateCalculatorType.conception+1,conception_date:w.format(e,mt),first_day:null,cycle_length_days:null,ivf_transfer_date:null,days_transfer:null}}},exports.getDueDateIVF=(e,t)=>{const a=new Date(e);return a.setDate(a.getDate()+265-t),{startDate:e,dueDate:a,otherInfo:{method:exports.DueDateCalculatorType.IVF+1,ivf_transfer_date:w.format(e,mt),days_transfer:t,conception_date:null,first_day:null,cycle_length_days:null}}},exports.getDueDateLastPeriod=(e,t)=>{const a=t-21+272,r=new Date(e);return r.setDate(r.getDate()+a),{startDate:e,dueDate:r,otherInfo:{method:exports.DueDateCalculatorType.lastPeriod+1,first_day:w.format(e,mt),cycle_length_days:t,conception_date:null,ivf_transfer_date:null,days_transfer:null}}},exports.useStyles=A,exports.useStyles$1=ve,exports.useStyles$2=Ot,exports.useStyles$3=Ia;
|