@hhgtech/hhg-components 1.27.21 → 1.27.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +8 -8
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/atoms/avatar/index.d.ts +2 -1
- package/build/components/atoms/icons/index.d.ts +0 -22
- package/build/components/atoms/imageWrap/index.d.ts +6 -0
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-4c778a96.js +1 -0
- package/build/{dataTransform-eb0fc094.js → dataTransform-23358bbf.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +6 -6
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-7a68b678.js → core-75b9d75b.js} +1 -1
- package/build/esm/{dataTransform-3d1d4bc1.js → dataTransform-f4c6c6ba.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/{fixedBottomAdBlock-a443d842.js → fixedBottomAdBlock-45f11f2c.js} +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-21854ab1.js +1 -0
- package/build/esm/{getSocialList-08ad8deb.js → getSocialList-48eb6754.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-17db0f6d.js +1 -0
- package/build/esm/{index-02167185.js → index-1c178982.js} +1 -1
- package/build/esm/{index-01b76a13.js → index-242716b9.js} +7 -7
- package/build/esm/{index-796cd4b9.js → index-2703ad36.js} +1 -1
- package/build/esm/{index-69e8fa65.js → index-3aff31ec.js} +1 -1
- package/build/esm/{index-83466745.js → index-3b6d6384.js} +1 -1
- package/build/esm/{index-4b140eb5.js → index-3ec3968d.js} +1 -1
- package/build/esm/{index-df563b31.js → index-41737790.js} +1 -1
- package/build/esm/index-528e09bb.js +1249 -0
- package/build/esm/{index-e9427dcc.js → index-61e39086.js} +1 -1
- package/build/esm/{index-9403b310.js → index-72985d53.js} +1 -1
- package/build/esm/{index-944539e0.js → index-74afbe30.js} +1 -1
- package/build/esm/{index-ff1e020f.js → index-8bfc9704.js} +1 -1
- package/build/esm/{index-3c3b45c0.js → index-8d9a38c9.js} +1 -1
- package/build/esm/{index-2cc311bd.js → index-9376248c.js} +3 -3
- package/build/esm/{index-4a509cc6.js → index-a8b02304.js} +1 -1
- package/build/esm/index-b603441f.js +1 -0
- package/build/esm/{index-a58b8d97.js → index-b82b3384.js} +1 -1
- package/build/esm/{index-deb1a19f.js → index-c74f97a3.js} +1 -1
- package/build/esm/{index-0be36507.js → index-c967b8c1.js} +1 -1
- package/build/esm/index-d5c75730.js +1 -0
- package/build/esm/index-da694865.js +1 -0
- package/build/esm/{index-48211a00.js → index-e83ef384.js} +1 -1
- package/build/esm/index-ecebea53.js +1 -0
- package/build/esm/{index-024fd863.js → index-edad3cf9.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-b0c747db.js → index.styled-09141353.js} +4 -4
- package/build/{index.styled-6ef5f0b5.js → esm/index.styled-4787e1b9.js} +3 -3
- package/build/esm/{index.styled-d97859fe.js → index.styled-964ba0dd.js} +1 -1
- package/build/esm/index.styled-ec04cad7.js +50 -0
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/onboarding.js +1 -1
- package/build/esm/onboardingV2.js +1 -1
- package/build/esm/pwg.js +5 -5
- package/build/esm/{routing-273628ac.js → routing-15e17de9.js} +1 -1
- package/build/esm/{screenSizeContext-bb948f59.js → screenSizeContext-5cf73fd6.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-72e02090.js → translationsProvider-1b94cc37.js} +1 -1
- package/build/esm/{types-5cd5ca0b.js → types-046aae29.js} +9 -9
- package/build/esm/{types-b3e95c41.js → types-91d1ee8d.js} +129 -129
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-01916f29.js +1 -0
- package/build/esm/{useRafState-553a838e.js → useRafState-e065ad22.js} +1 -1
- package/build/esm/{useTranslations-7e9b125b.js → useTranslations-bfa9397f.js} +1 -1
- package/build/esm/{utils-99a40ef3.js → utils-fcbdc665.js} +1 -1
- package/build/esm/vaccination.js +1 -1
- package/build/{fixedBottomAdBlock-69537d9d.js → fixedBottomAdBlock-957846f9.js} +1 -1
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/getDynamicHealthTool-76efae80.js +1 -0
- package/build/{getSocialList-7aaf538f.js → getSocialList-68aeacb0.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-79b9bb52.js → index-02189f97.js} +1 -1
- package/build/index-0333bdef.js +1 -0
- package/build/index-0f52aa15.js +1 -0
- package/build/{index-1f26ab0c.js → index-24ba6af1.js} +1 -1
- package/build/{index-2b1a52f1.js → index-2d425136.js} +1 -1
- package/build/{index-e15ea45f.js → index-44392a0e.js} +1 -1
- package/build/{index-d9541579.js → index-4c49e1d5.js} +1 -1
- package/build/{index-f64380d8.js → index-4f3d053d.js} +1 -1
- package/build/{index-d8f597f8.js → index-603cb737.js} +1 -1
- package/build/{index-00fc8857.js → index-62381b08.js} +1 -1
- package/build/{index-b4e06b47.js → index-65f4ff74.js} +1 -1
- package/build/index-71fb029b.js +1249 -0
- package/build/{index-f80f9ffb.js → index-72f29d8d.js} +1 -1
- package/build/{index-46537d24.js → index-7c2bdc7c.js} +3 -3
- package/build/{index-00f6f629.js → index-7cfa541e.js} +1 -1
- package/build/{index-f15e13a4.js → index-a64dbbf3.js} +1 -1
- package/build/index-bdb89368.js +1 -0
- package/build/index-ca0a535c.js +1 -0
- package/build/{index-df595a0f.js → index-cc020771.js} +1 -1
- package/build/{index-95c57647.js → index-ccf74aec.js} +3 -3
- package/build/{index-5b294600.js → index-d21987af.js} +1 -1
- package/build/{index-1be002ea.js → index-da614b1f.js} +1 -1
- package/build/{index-57dc3044.js → index-de576159.js} +1 -1
- package/build/{index-6b9f731c.js → index-e816aec8.js} +7 -7
- package/build/{index-f770a569.js → index-ec4e840d.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-11afece1.js → index.styled-1b51c92d.js} +1 -1
- package/build/{index.styled-6b77a261.js → index.styled-86a9751a.js} +4 -4
- package/build/{esm/index.styled-19e06a97.js → index.styled-954a0dfb.js} +3 -3
- package/build/index.styled-955fc5d0.js +50 -0
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/onboarding.js +1 -1
- package/build/onboardingV2.js +1 -1
- package/build/pwg.js +2 -2
- package/build/{routing-23f12b3b.js → routing-91b36cfc.js} +1 -1
- package/build/{screenSizeContext-c3c6b5ab.js → screenSizeContext-59df1798.js} +10 -10
- package/build/together.js +1 -1
- package/build/{translationsProvider-80dd5bd5.js → translationsProvider-ac9e24c0.js} +1 -1
- package/build/{types-4a368c57.js → types-0b56ff09.js} +78 -78
- package/build/{types-dd93c7ef.js → types-91c711d9.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useHealthToolCache-da048bf2.js → useHealthToolCache-cd497e69.js} +1 -1
- package/build/{useRafState-a27a2ac1.js → useRafState-1e84f1e5.js} +1 -1
- package/build/{useTranslations-bdd3ff14.js → useTranslations-a31a2182.js} +1 -1
- package/build/utils-bdf09eda.js +1 -0
- package/build/vaccination.js +1 -1
- package/package.json +1 -1
- package/build/core-5fc7daa8.js +0 -1
- package/build/esm/getDynamicHealthTool-b816e73e.js +0 -1
- package/build/esm/index-560ba8a9.js +0 -1
- package/build/esm/index-7310104f.js +0 -1249
- package/build/esm/index-a3ee5512.js +0 -1
- package/build/esm/index-b3237719.js +0 -1
- package/build/esm/index-c5017c09.js +0 -1
- package/build/esm/index-e895c809.js +0 -1
- package/build/esm/index.styled-57ad1216.js +0 -50
- package/build/esm/useHealthToolCache-c36ffb1d.js +0 -1
- package/build/getDynamicHealthTool-25afa70f.js +0 -1
- package/build/index-086f9d4d.js +0 -1
- package/build/index-7116efd1.js +0 -1249
- package/build/index-9543d304.js +0 -1
- package/build/index-e2b29459.js +0 -1
- package/build/index-f99a6a7c.js +0 -1
- package/build/index.styled-940f3ed8.js +0 -50
- package/build/utils-2639c99f.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-3a142091.js → BMI_BOYS.percentile.monthly-770c126a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-f36077cf.js → BMI_BOYS.percentile.weekly-792b3225.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-635dcbca.js → BMI_BOYS.percentile.yearly-3c32e4a4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-d0ef44da.js → BMI_BOYS.zscore.monthly-50ac4e14.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-e644fac2.js → BMI_BOYS.zscore.weekly-cd81f2a5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-f770abda.js → BMI_BOYS.zscore.yearly-d02ad6f3.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-55e455b2.js → BMI_GIRLS.percentile.monthly-a188fa81.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-0a24fcfe.js → BMI_GIRLS.percentile.weekly-00adb8bd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-b8403a72.js → BMI_GIRLS.percentile.yearly-b67e34a0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-55b67539.js → BMI_GIRLS.zscore.monthly-eb0b8346.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-29170322.js → BMI_GIRLS.zscore.weekly-1cc1c6bd.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-99ea18b8.js → BMI_GIRLS.zscore.yearly-b68073c8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-c557760f.js → HEAD CIRCUM_BOYS.percentile.monthly-ead5853a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-49b789b7.js → HEAD CIRCUM_BOYS.percentile.weekly-79a484d9.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a0b122cd.js → HEAD CIRCUM_BOYS.percentile.yearly-46dceb80.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ea6e10da.js → HEAD CIRCUM_BOYS.zscore.monthly-ca4f6c74.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-8d3ccb80.js → HEAD CIRCUM_BOYS.zscore.weekly-484e1c0b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-bb5c019b.js → HEAD CIRCUM_BOYS.zscore.yearly-0cc85602.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-a60b1e64.js → HEAD CIRCUM_GIRLS.percentile.monthly-2f124813.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-11e9bafa.js → HEAD CIRCUM_GIRLS.percentile.weekly-aaef2782.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-47851bf9.js → HEAD CIRCUM_GIRLS.percentile.yearly-f9e9c113.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-4077630b.js → HEAD CIRCUM_GIRLS.zscore.monthly-5dd25da6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-138146e2.js → HEAD CIRCUM_GIRLS.zscore.weekly-df488136.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-8235cb13.js → HEAD CIRCUM_GIRLS.zscore.yearly-8d933691.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-3c0d867c.js → HEIGHT_BOYS.percentile.monthly-159153b0.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-6226a691.js → HEIGHT_BOYS.percentile.weekly-bef91712.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-e30989a5.js → HEIGHT_BOYS.percentile.yearly-23414580.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-a924def5.js → HEIGHT_BOYS.zscore.monthly-4dcb18d0.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-64e8cffa.js → HEIGHT_BOYS.zscore.weekly-939d957d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-fda83171.js → HEIGHT_BOYS.zscore.yearly-bc4f1795.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ebbeece9.js → HEIGHT_GIRLS.percentile.monthly-28173e6d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-57967bc4.js → HEIGHT_GIRLS.percentile.weekly-d9a22cfd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-86c0e2a1.js → HEIGHT_GIRLS.percentile.yearly-afec4404.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-c05885bd.js → HEIGHT_GIRLS.zscore.monthly-adf0d856.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-b0e6a0e9.js → HEIGHT_GIRLS.zscore.weekly-088e7747.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-b1ca3214.js → HEIGHT_GIRLS.zscore.yearly-9be44ecd.js} +0 -0
- /package/build/{Onboarding-10ae5938.js → Onboarding-6bff1645.js} +0 -0
- /package/build/{Visible-bbd6451e.js → Visible-6096ce24.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b8510d82.js → WEIGHT_BOYS.percentile.monthly-b8edd1a5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-60e3f7a7.js → WEIGHT_BOYS.percentile.weekly-8ecd429d.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-93b25e89.js → WEIGHT_BOYS.percentile.yearly-53b57819.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d121f9be.js → WEIGHT_BOYS.zscore.monthly-0b62e69f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-136ee389.js → WEIGHT_BOYS.zscore.weekly-b9247977.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-1e0c038d.js → WEIGHT_BOYS.zscore.yearly-7b0cc928.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-c3f18b14.js → WEIGHT_GIRLS.percentile.monthly-42d9082e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-568b2e0a.js → WEIGHT_GIRLS.percentile.weekly-cecf7bf5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-d23bd671.js → WEIGHT_GIRLS.percentile.yearly-5211b256.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4517aa11.js → WEIGHT_GIRLS.zscore.monthly-fb8d582a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-9f712fd5.js → WEIGHT_GIRLS.zscore.weekly-9f1f051e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-dee1e4f4.js → WEIGHT_GIRLS.zscore.yearly-198b3d86.js} +0 -0
- /package/build/{constants-059fba88.js → constants-6ce6f0d8.js} +0 -0
- /package/build/{cookieHelper-ef979911.js → cookieHelper-331a0092.js} +0 -0
- /package/build/{dataTransform-dd8221c8.js → dataTransform-f2e065d8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-a26756cd.js → BMI_BOYS.percentile.monthly-a21b6d41.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-966c37af.js → BMI_BOYS.percentile.weekly-6c1b732b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-6edf1f94.js → BMI_BOYS.percentile.yearly-e3fc2ed4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-891408db.js → BMI_BOYS.zscore.monthly-f667bd29.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-050f65e8.js → BMI_BOYS.zscore.weekly-2fa64e2e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-3fa39d1e.js → BMI_BOYS.zscore.yearly-247495c1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-b229e34c.js → BMI_GIRLS.percentile.monthly-bd41dfa0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-65bd3de9.js → BMI_GIRLS.percentile.weekly-dca7b009.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-5fa768f1.js → BMI_GIRLS.percentile.yearly-f045aa29.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-d6893f2d.js → BMI_GIRLS.zscore.monthly-441aa3e8.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-04d6052d.js → BMI_GIRLS.zscore.weekly-1cb36e6d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-2abfb8a5.js → BMI_GIRLS.zscore.yearly-bb8505d2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b2c00937.js → HEAD CIRCUM_BOYS.percentile.monthly-b735e746.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d5d416fd.js → HEAD CIRCUM_BOYS.percentile.weekly-c3cddeba.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-6bedd4de.js → HEAD CIRCUM_BOYS.percentile.yearly-c47690b3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-28d0663c.js → HEAD CIRCUM_BOYS.zscore.monthly-1bdd4b01.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-0339077c.js → HEAD CIRCUM_BOYS.zscore.weekly-339c5551.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-596da936.js → HEAD CIRCUM_BOYS.zscore.yearly-27b9ca40.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a427b992.js → HEAD CIRCUM_GIRLS.percentile.monthly-4741b073.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-3501fb55.js → HEAD CIRCUM_GIRLS.percentile.weekly-772e62ed.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-9f3fc6cf.js → HEAD CIRCUM_GIRLS.percentile.yearly-383cf765.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-a1323150.js → HEAD CIRCUM_GIRLS.zscore.monthly-b183377a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-828ff49d.js → HEAD CIRCUM_GIRLS.zscore.weekly-68ac82c2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-e46dac69.js → HEAD CIRCUM_GIRLS.zscore.yearly-8e84b9a4.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-8f57a392.js → HEIGHT_BOYS.percentile.monthly-bf3e5309.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-d260baba.js → HEIGHT_BOYS.percentile.weekly-fb9e9825.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-47df0037.js → HEIGHT_BOYS.percentile.yearly-0ac089c2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-dd63db22.js → HEIGHT_BOYS.zscore.monthly-34823663.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-8b2b8dec.js → HEIGHT_BOYS.zscore.weekly-0f345388.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-115d41b7.js → HEIGHT_BOYS.zscore.yearly-8c304e8a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-2068f47c.js → HEIGHT_GIRLS.percentile.monthly-bb3c989b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-26236bc7.js → HEIGHT_GIRLS.percentile.weekly-f5f07a6c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-d4dad0e3.js → HEIGHT_GIRLS.percentile.yearly-e5a317bd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-184de5e0.js → HEIGHT_GIRLS.zscore.monthly-ac1a9fe3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b6d0d1ba.js → HEIGHT_GIRLS.zscore.weekly-6c77ef93.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-68029906.js → HEIGHT_GIRLS.zscore.yearly-e7c67c86.js} +0 -0
- /package/build/esm/{Onboarding-b425de16.js → Onboarding-e3440668.js} +0 -0
- /package/build/esm/{Visible-0ddcce73.js → Visible-7cce3062.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-d5a4ded5.js → WEIGHT_BOYS.percentile.monthly-47be835d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d5364eb9.js → WEIGHT_BOYS.percentile.weekly-f1333510.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-312717de.js → WEIGHT_BOYS.percentile.yearly-3c255971.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-8f58cd24.js → WEIGHT_BOYS.zscore.monthly-9c42239b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-bd54e817.js → WEIGHT_BOYS.zscore.weekly-35ec82b6.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-b6752e86.js → WEIGHT_BOYS.zscore.yearly-5dc1053b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d8284b8e.js → WEIGHT_GIRLS.percentile.monthly-8347d498.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-9025a9b0.js → WEIGHT_GIRLS.percentile.weekly-03bf5ec0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-4d95f790.js → WEIGHT_GIRLS.percentile.yearly-049617fd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-41d2ef49.js → WEIGHT_GIRLS.zscore.monthly-27de608b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-bb8b3e59.js → WEIGHT_GIRLS.zscore.weekly-ca791426.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-a20ad0ce.js → WEIGHT_GIRLS.zscore.yearly-ddae20aa.js} +0 -0
- /package/build/esm/{constants-16de50ca.js → constants-d1857419.js} +0 -0
- /package/build/esm/{cookieHelper-555e4df7.js → cookieHelper-8f3a7de3.js} +0 -0
- /package/build/esm/{dataTransform-c5270174.js → dataTransform-40f8304c.js} +0 -0
- /package/build/esm/{index-c0bb968b.js → index-aadb591e.js} +0 -0
- /package/build/esm/{index-de0a1075.js → index-d3e58877.js} +0 -0
- /package/build/esm/{isProduction-4824d4ae.js → isProduction-b0ecb9d4.js} +0 -0
- /package/build/esm/{localizeNumberFormat-f0cd626c.js → localizeNumberFormat-6dfb4a51.js} +0 -0
- /package/build/esm/{normalizeLink-2c40a8ff.js → normalizeLink-d1ce1e3d.js} +0 -0
- /package/build/esm/{theme-65096834.js → theme-9d993b0e.js} +0 -0
- /package/build/esm/{translationsContext-008485fb.js → translationsContext-bc05ab00.js} +0 -0
- /package/build/esm/{tslib.es6-448e0a38.js → tslib.es6-37c7050d.js} +0 -0
- /package/build/esm/{types-91686d2e.js → types-2ae45620.js} +0 -0
- /package/build/esm/{useIsInit-f8d461d7.js → useIsInit-1b5d4c2a.js} +0 -0
- /package/build/esm/{useOutsideClick-6b303c0c.js → useOutsideClick-29cca468.js} +0 -0
- /package/build/esm/{useScrollbarSize-49f320c3.js → useScrollbarSize-2efdf882.js} +0 -0
- /package/build/esm/{useUniqueId-da1c9d1f.js → useUniqueId-ee1342c2.js} +0 -0
- /package/build/esm/{utils-2dd925b4.js → utils-e06f253e.js} +0 -0
- /package/build/{index-5a88e402.js → index-7693511e.js} +0 -0
- /package/build/{index-78e54dde.js → index-85f6c943.js} +0 -0
- /package/build/{isProduction-8407abfb.js → isProduction-39e27d39.js} +0 -0
- /package/build/{localizeNumberFormat-cc2e28a7.js → localizeNumberFormat-f9b57cf7.js} +0 -0
- /package/build/{normalizeLink-2c5f40d5.js → normalizeLink-c900bdcb.js} +0 -0
- /package/build/{theme-c5a6785e.js → theme-73f3de92.js} +0 -0
- /package/build/{translationsContext-7210431d.js → translationsContext-cef2c556.js} +0 -0
- /package/build/{tslib.es6-a9f3656b.js → tslib.es6-854e3ac9.js} +0 -0
- /package/build/{types-1db52b8f.js → types-7f3d8cd0.js} +0 -0
- /package/build/{useIsInit-80686861.js → useIsInit-d153be2a.js} +0 -0
- /package/build/{useOutsideClick-fd068dca.js → useOutsideClick-b5f5e5d9.js} +0 -0
- /package/build/{useScrollbarSize-d22b5226.js → useScrollbarSize-04084028.js} +0 -0
- /package/build/{useUniqueId-9078c6cc.js → useUniqueId-2e804f21.js} +0 -0
- /package/build/{utils-b2e9c50d.js → utils-06ca8506.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-37c7050d.js";import*as a from"react";import n,{useState as l,useEffect as r,Component as i,useCallback as o,forwardRef as s,useRef as c,useImperativeHandle as d,createContext as m}from"react";import h from"dayjs";import{L as p}from"./Onboarding-e3440668.js";import{Button as g,rem as f,createStyles as v,Text as u,AspectRatio as b,em as E,useMantineTheme as z,Box as w,Breadcrumbs as C,Textarea as x,Accordion as y,Indicator as j,Avatar as M,FileInput as H,createEmotionCache as k,NumberInput as O,PasswordInput as L,TextInput as B,Input as A,Checkbox as S,Slider as I,Radio as P,Flex as N,Tabs as T,ScrollArea as D,Popover as F}from"@mantine/core";import{B as R,M as $}from"./utils-e06f253e.js";import V from"styled-components";import{Carousel as W}from"@mantine/carousel";import"./screenSizeContext-5cf73fd6.js";import{t as _}from"./theme-9d993b0e.js";import{I as Z,s as G}from"./index-2703ad36.js";import"./isProduction-b0ecb9d4.js";import{CommonGAssets as K}from"./gAssets.js";import{Y as U,Z as Y,_ as X,I as q}from"./index-528e09bb.js";import{I as Q}from"./index.styled-4787e1b9.js";import{useDebouncedValue as J,useDisclosure as ee,useClickOutside as te}from"@mantine/hooks";import"./index-61e39086.js";import"./index-9376248c.js";import"./translationsContext-bc05ab00.js";import"string-format";import"./index-aadb591e.js";const ae={primary:"filled",secondary:"outline",tertiary:"default",light:"light",ghost:"subtle",error:"outline",white:"white"},ne=t=>{var{variant:a,size:l,color:r,skipHover:i,className:o,dataEventCategory:s,dataEventAction:c,dataEventLabel:d,children:m}=t,h=e(t,["variant","size","color","skipHover","className","dataEventCategory","dataEventAction","dataEventLabel","children"]);const p="error"===a,{classes:f,cx:v}=U({variant:a,size:l,color:r,skipHover:i,isError:p,children:m});return n.createElement(g,Object.assign({className:v(f.rootCustom,o),variant:ae[a],"data-event-category":s,"data-event-action":c,"data-event-label":d},h),m)},le={[p.Vietnam]:"vi",[p.Cambodia]:"km",[p.India]:"hi",[p.Indonesia]:"id",[p.Malaysia]:"ms",[p.Thailand]:"th",[p.Taiwan]:"zh-tw",[p.PhilippinesTagalog]:"tl-ph",[p.PhilippinesEnglish]:"en",[p.Myanmar]:"my"},re={[p.Vietnam]:()=>import("dayjs/locale/vi.js"),[p.Cambodia]:()=>import("dayjs/locale/km.js"),[p.India]:()=>import("dayjs/locale/hi.js"),[p.Indonesia]:()=>import("dayjs/locale/id.js"),[p.Malaysia]:()=>import("dayjs/locale/ms.js"),[p.Thailand]:()=>import("dayjs/locale/th.js"),[p.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[p.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[p.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[p.Myanmar]:()=>import("dayjs/locale/my.js")},ie=e=>{const[a,n]=l(!1);return r((()=>{t(void 0,void 0,void 0,(function*(){var t;n(!1),yield null===(t=re[e])||void 0===t?void 0:t.call(re),h.locale(le[e]),n(!0)}))}),[e]),{isLoaded:a}},oe=()=>"undefined"!=typeof window&&window.innerWidth<R.BREAK_POINT_MOBILE,se=()=>"undefined"!=typeof window&&window.innerWidth>=R.BREAK_POINT_MOBILE&&window.innerWidth<R.BREAK_POINT_PC,ce=()=>{const[e,t]=l(oe()),[a,n]=l(se());return r((()=>{const e=()=>{t(oe()),n(se())};return window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("resize",e)}}),[]),{isMobile:e,isLargeMobile:a}};class de extends i{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Uncaught error:",e,t)}render(){return this.state.hasError?this.props.fallback||n.createElement(n.Fragment,null):this.props.children}}const me=t=>{var{slidesToShow:a=1,children:l}=t,r=e(t,["slidesToShow","children"]);return(Array.isArray(l)?l.length:1)?n.createElement(de,null,n.createElement(W,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},r),l)):null};me.Slide=W.Slide;const he=V(me)`
|
|
2
2
|
cursor: grab;
|
|
3
3
|
width: 100%;
|
|
4
4
|
.mantine-Carousel-control {
|
|
@@ -34,14 +34,14 @@ import{_ as e,a as t}from"./tslib.es6-448e0a38.js";import*as a from"react";impor
|
|
|
34
34
|
.mantine-Carousel-container {
|
|
35
35
|
align-items: center;
|
|
36
36
|
}
|
|
37
|
-
`,he={fontSize:{base:[f(16),f(16)],lg:[f(18),f(16)],md:[f(18),f(16)],sm:[f(16),f(14)],xs:[f(14),f(12)],s1:[f(22),f(18)],s2:[f(18),f(16)],s3:[f(16),f(14)],s4:[f(14),f(12)],s5:[f(12),f(12)],p1:[f(18),f(16)],p2:[f(16),f(16)],p3:[f(16),f(14)],p4:[f(14),f(12)],c1:[f(16),f(14)],c2:[f(14),f(12)],n1:[f(12),f(12)],label1:[f(14),f(14)],label2:[f(12),f(12)]},lineHeight:{base:[f(24),f(24)],lg:[f(32),f(28)],md:[f(32),f(28)],sm:[f(24),f(22)],xs:[f(24),f(18)],s1:[f(32),f(26)],s2:[f(28),f(24)],s3:[f(24),f(24)],s4:[f(22),f(18)],s5:[f(18),f(18)],p1:[f(28),f(28)],p2:[f(24),f(24)],p3:[f(24),f(22)],p4:[f(22),f(18)],c1:[f(24),f(22)],c2:[f(22),f(18)],n1:[f(18),f(18)],label1:[f(22),f(22)],label2:[f(18),f(18)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}},pe=Object.assign({},he);var ge=v(((e,t)=>{var a,n,l,r,i,o,s,c,d,m;const h=Object.assign({},pe),p=null===(a=h.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],g=null===(n=h.lineHeight[null==t?void 0:t.size])||void 0===n?void 0:n[0],f=null!==(i=null===(r=null===(l=h.letterSpacing)||void 0===l?void 0:l[null==t?void 0:t.size])||void 0===r?void 0:r[0])&&void 0!==i?i:0,v=null===(o=h.fontSize[null==t?void 0:t.size])||void 0===o?void 0:o[1],u=null===(s=h.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],b=null!==(m=null===(d=null===(c=h.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===d?void 0:d[1])&&void 0!==m?m:0;return{root:Object.assign(Object.assign({},(null==t?void 0:t.size)&&{fontWeight:h.fontWeight[t.weight],fontSize:`${p}`,lineHeight:`${g}`,letterSpacing:f,[e.fn.smallerThan("sm")]:{fontSize:`${v}`,lineHeight:`${u}`,letterSpacing:b}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const fe=t=>{var a,{size:l,color:r,weight:i="regular",as:o="p",styles:s,className:c,dataEventCategory:d,dataEventAction:m,dataEventLabel:h}=t,p=e(t,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:g,classes:f,cx:v}=ge({size:l,weight:i},{name:"Text",styles:s});return n.createElement(u,Object.assign({className:v(f.root,c),color:r||("mb"===(null===(a=null==g?void 0:g.other)||void 0===a?void 0:a.template)?g.colors.delftGray[7]:g.colors.gray[7]),component:o,"data-event-category":d,"data-event-action":m,"data-event-label":h},p))};var ve=v(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const ue=t=>{var{color:a,styles:l,className:r}=t,i=e(t,["color","styles","className"]);const{classes:o,cx:s}=ve({color:a},{name:"Anchor",styles:l});return n.createElement(fe,Object.assign({as:"a",className:s(o.root,r)},i))},be=t=>{var{children:a}=t,l=e(t,["children"]);return n.createElement(ue,Object.assign({size:"p4",color:"gray.8"},l),a)},Ee=e=>n.createElement(b,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),ze={Button:{defaultProps:{size:"md"}}},we={Checkbox:{styles:{input:Y}}},Ce=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],xe=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],ye=(e=!1)=>Object.fromEntries((e?xe:Ce).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),je={Title:{styles:{root:Object.assign(Object.assign({fontWeight:pe.fontWeight.bold},ye()),{[`&${$.mbDown}`]:Object.assign({},ye(!0))})}}},Me=e=>({InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:_.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:_.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:Z[e].separator}},Input:{styles:(e,t,{size:a})=>({input:{border:`1px solid ${_.colors.gray200}`,transition:`all ${X} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(a){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${_.colors.red600}`,color:"#000"}})}}),He={Radio:{}},ke={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffc326","#fe921d","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},Oe=(e,t="hb")=>({defaultRadius:"hb"===t?4:16,colors:Object.assign(Object.assign(Object.assign({},ke),_.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:e===p.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:E(R.BREAK_POINT_SMALL_MOBILE),sm:E(R.BREAK_POINT_MOBILE),md:E(R.BREAK_POINT_TABLET),lg:E(R.BREAK_POINT_PC),xl:E(R.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Me(e)),we),He),ze),je),other:{template:t,defaultImage:K.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}),Le=t=>{var a,{children:i,showHomeIcon:s=!0,homeIconHref:c="/"}=t,d=e(t,["children","showHomeIcon","homeIconHref"]);const m=z(),h="mb"===(null===(a=null==m?void 0:m.other)||void 0===a?void 0:a.template),[p,g]=l(null),{isMobile:f}=se(),[,v]=l(!0),u=o((()=>{v(!1)}),[]),b=o((()=>{setTimeout((()=>{v(!0)}),1e3)}),[]);return r((()=>(p&&(p.on("scroll",u),p.on("pointerUp",b)),()=>{p&&(p.off("scroll",u),p.on("pointerUp",b))})),[p,u,b]),n.createElement(me,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:f,slideSize:"0",getEmblaApi:g,controlsOffset:-52,previousControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},d),s&&n.createElement(de.Slide,{style:{borderRight:`1px solid ${ke.neutral[1]}`}},n.createElement(be,{href:c,target:"_blank",className:"pointer-event-child-none"},n.createElement(w,{sx:Object.assign({},!h&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!h&&ke.neutral[0],p:h?0:6},n.createElement(Ee,{ratio:1,w:18},h?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),n.createElement(de.Slide,null),n.createElement(de.Slide,null,n.createElement(C,{styles:{separator:{marginInline:4}},separator:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},i)))};Le.Item=be;const Be=V(x)`
|
|
37
|
+
`,pe={fontSize:{base:[f(16),f(16)],lg:[f(18),f(16)],md:[f(18),f(16)],sm:[f(16),f(14)],xs:[f(14),f(12)],s1:[f(22),f(18)],s2:[f(18),f(16)],s3:[f(16),f(14)],s4:[f(14),f(12)],s5:[f(12),f(12)],p1:[f(18),f(16)],p2:[f(16),f(16)],p3:[f(16),f(14)],p4:[f(14),f(12)],c1:[f(16),f(14)],c2:[f(14),f(12)],n1:[f(12),f(12)],label1:[f(14),f(14)],label2:[f(12),f(12)]},lineHeight:{base:[f(24),f(24)],lg:[f(32),f(28)],md:[f(32),f(28)],sm:[f(24),f(22)],xs:[f(24),f(18)],s1:[f(32),f(26)],s2:[f(28),f(24)],s3:[f(24),f(24)],s4:[f(22),f(18)],s5:[f(18),f(18)],p1:[f(28),f(28)],p2:[f(24),f(24)],p3:[f(24),f(22)],p4:[f(22),f(18)],c1:[f(24),f(22)],c2:[f(22),f(18)],n1:[f(18),f(18)],label1:[f(22),f(22)],label2:[f(18),f(18)]},letterSpacing:{lg:[-.2,0],md:[-.2,0],sm:[0,-.2],s1:[-.6,-.6],s2:[-.4,-.2],s3:[0,-.2],s4:[0,-.2],p1:[-.2,-.2],p2:[0,-.2],p3:[0,-.2],p4:[-.2,0],label1:[0,-.2]},fontWeight:{regular:400,semiBold:600,bold:700}},ge=Object.assign({},pe);var fe=v(((e,t)=>{var a,n,l,r,i,o,s,c,d,m;const h=Object.assign({},ge),p=null===(a=h.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],g=null===(n=h.lineHeight[null==t?void 0:t.size])||void 0===n?void 0:n[0],f=null!==(i=null===(r=null===(l=h.letterSpacing)||void 0===l?void 0:l[null==t?void 0:t.size])||void 0===r?void 0:r[0])&&void 0!==i?i:0,v=null===(o=h.fontSize[null==t?void 0:t.size])||void 0===o?void 0:o[1],u=null===(s=h.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],b=null!==(m=null===(d=null===(c=h.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===d?void 0:d[1])&&void 0!==m?m:0;return{root:Object.assign(Object.assign({},(null==t?void 0:t.size)&&{fontWeight:h.fontWeight[t.weight],fontSize:`${p}`,lineHeight:`${g}`,letterSpacing:f,[e.fn.smallerThan("sm")]:{fontSize:`${v}`,lineHeight:`${u}`,letterSpacing:b}}),{"&[data-event-category] > *":{pointerEvents:"none"}})}}));const ve=t=>{var a,{size:l,color:r,weight:i="regular",as:o="p",styles:s,className:c,dataEventCategory:d,dataEventAction:m,dataEventLabel:h}=t,p=e(t,["size","color","weight","as","styles","className","dataEventCategory","dataEventAction","dataEventLabel"]);const{theme:g,classes:f,cx:v}=fe({size:l,weight:i},{name:"Text",styles:s});return n.createElement(u,Object.assign({className:v(f.root,c),color:r||("mb"===(null===(a=null==g?void 0:g.other)||void 0===a?void 0:a.template)?g.colors.delftGray[7]:g.colors.gray[7]),component:o,"data-event-category":d,"data-event-action":m,"data-event-label":h},p))};var ue=v(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?e.colors.hb[6]:e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));const be=t=>{var{color:a,styles:l,className:r}=t,i=e(t,["color","styles","className"]);const{classes:o,cx:s}=ue({color:a},{name:"Anchor",styles:l});return n.createElement(ve,Object.assign({as:"a",className:s(o.root,r)},i))},Ee=t=>{var{children:a}=t,l=e(t,["children"]);return n.createElement(be,Object.assign({size:"p4",color:"gray.8"},l),a)},ze=e=>n.createElement(b,Object.assign({sx:{borderRadius:4,overflow:"hidden","> img":{objectFit:"contain"}}},e)),we={Button:{defaultProps:{size:"md"}}},Ce={Checkbox:{styles:{input:Y}}},xe=[{size:"40px",lineHeight:"52px",letterSpacing:"-1.2px"},{size:"32px",lineHeight:"42px",letterSpacing:"-1px"},{size:"26px",lineHeight:"36px",letterSpacing:"-0.8px"},{size:"22px",lineHeight:"32px",letterSpacing:"-0.6px"},{size:"18px",lineHeight:"28px",letterSpacing:"-0.2px"},{size:"16px",lineHeight:"24px",letterSpacing:0}],ye=[{size:"26px",lineHeight:"34px",letterSpacing:"-0.9px"},{size:"24px",lineHeight:"32px",letterSpacing:"-0.8px"},{size:"20px",lineHeight:"26px",letterSpacing:"-0.7px"},{size:"18px",lineHeight:"26px",letterSpacing:"-0.6px"},{size:"16px",lineHeight:"24px",letterSpacing:"-0.2px"},{size:"14px",lineHeight:"22px",letterSpacing:"-0.2px"}],je=(e=!1)=>Object.fromEntries((e?ye:xe).map(((e,t)=>[`h${t+1}`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),Me={Title:{styles:{root:Object.assign(Object.assign({fontWeight:ge.fontWeight.bold},je()),{[`&${$.mbDown}`]:Object.assign({},je(!0))})}}},He=e=>({InputWrapper:{styles:{label:{display:"inline-flex",gap:4,marginBottom:"0.25rem",fontWeight:600,fontSize:"14px",lineHeight:"22px",color:_.colors.gray600},description:{fontWeight:400,fontSize:"12px",lineHeight:"18px",color:_.colors.gray600,marginBottom:"0.25rem"},error:{marginTop:"0.25rem"}}},NumberInput:{defaultProps:{decimalSeparator:Z[e].separator}},Input:{styles:(e,t,{size:a})=>({input:{border:`1px solid ${_.colors.gray200}`,transition:`all ${X} ease-in-out`,"&:not(.mantine-Textarea-input)":Object.assign({},(()=>{switch(a){case"lg":return{height:48,fontSize:16,minHeight:"unset",lineHeight:"24px"};case"md":return{height:40,fontSize:14,lineHeight:"22px",minHeight:"unset"};case"sm":return{height:32,fontSize:14,lineHeight:"22px",minHeight:"unset"}}})()),"&:hover":{border:`1px solid ${e.primaryColor}`},"&:focus":{boxShadow:`0px 0px 0px 2px ${e.colors[e.primaryColor][2]}`}},'&[data-invalid="true"]':{border:`1px solid ${_.colors.red600}`,color:"#000"}})}}),ke={Radio:{}},Oe={hb:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],mb:["#FFE9F1","#F8CCDC","#F5B4CB","#F29CBA","#EE84AA","#EB6B99","#E85388","#D34C7C","#BE446F","#A93D63"],blue:["#e3f2ff","#bcdeff","#91caff","#65b5ff","#45a4ff","#2b94ff","#2d87f3","#2c74df","#2b62cd","#2743ad"],gray:["#fafafa","#f2f2f2","#d9d9d9","#bfbfbf","#8c8c8c","#737373","#595959","#404040","#262626"],delftGray:["#F3F3F3","#EAEAEC","#D9DAE2","#B9BAC8","#9898A9","#7C7C8F","#5A5A72","#3E3F58","#202135","#0C0C12"],neutral:["#f7f9fc","#e4e8ec","#d2d6dc","#bfc5cc","#adb3bc","#9aa2ac","#87909c","#757f8c","#626d7c","#545E6C"],green:["#e0f8ee","#b3eed5","#7ce2b9","#2ed69e","#00CB8A","#00C076","#00B16A","#009E5C","#008C50","#006C39"],pink:["#fff1f6","#fec7dc","#fec7dc","#fec2cf","#fe9dc2","#fd87b4","#fd72a7","#fc5d9a","#fc488d","#E92D74"],violet:["#F5EDFF","#E7D2F7","#D8B7F0","#CA9CE8","#BB82E1","#AD67D9","#9E4CD1","#9031CA","#8116C2","#63059D"],yellow:["#fff8e2","#ffecb6","#ffe187","#ffd658","#ffc326","#fe921d","#ffb521","#fea21e","#fe921d","#fc7419"],teal:["#e0f7fc","#b1ebf8","#7ddff3","#44d1ec","#00c7e6","#00bee0","#00aecd","#0099b2","#008599","#00626c"],indigol:["#CEDDF0","#ACC5E6","#95B3DA","#85A6CF","#6D91BE","#5F85B5","#4C77AC","#35639C","#284A75","#1B3250"],red:["#fae9e8","#feccbf","#FEAA96","#f44d2c","#ff6f4d","#ff5331","#f44d2c","#e64728","#d84023","#bf331b"],redViolet:["#F3EAEB","#E8D5D7","#DDC1C4","#D1ACB0","#C5979C","#BA8288","#AF6D74","#A35961","#97444D","#8C2F39"]},Le=(e,t="hb")=>({defaultRadius:"hb"===t?4:16,colors:Object.assign(Object.assign(Object.assign({},Oe),_.colors),{toneYellow:"#fff9eb",toneGreen:"#f2fcf7",toneBlue:"#e0e9fb",tonePink:"#ffeaf1"}),primaryColor:t,primaryShade:6,fontFamily:e===p.Cambodia?"Battambang,":"Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",breakpoints:{xs:E(R.BREAK_POINT_SMALL_MOBILE),sm:E(R.BREAK_POINT_MOBILE),md:E(R.BREAK_POINT_TABLET),lg:E(R.BREAK_POINT_PC),xl:E(R.BREAK_POINT_LGPC)},components:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},He(e)),Ce),ke),we),Me),other:{template:t,defaultImage:K.getAssetPath("mb"===t?"default-image-mb.jpg":"default-image.jpg")}}),Be=t=>{var a,{children:i,showHomeIcon:s=!0,homeIconHref:c="/"}=t,d=e(t,["children","showHomeIcon","homeIconHref"]);const m=z(),h="mb"===(null===(a=null==m?void 0:m.other)||void 0===a?void 0:a.template),[p,g]=l(null),{isMobile:f}=ce(),[,v]=l(!0),u=o((()=>{v(!1)}),[]),b=o((()=>{setTimeout((()=>{v(!0)}),1e3)}),[]);return r((()=>(p&&(p.on("scroll",u),p.on("pointerUp",b)),()=>{p&&(p.off("scroll",u),p.on("pointerUp",b))})),[p,u,b]),n.createElement(he,Object.assign({align:"center",slideGap:"xs",dragFree:!0,draggable:f,slideSize:"0",getEmblaApi:g,controlsOffset:-52,previousControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M6.86589 3.56104C7.03647 3.56104 7.20724 3.62732 7.33724 3.75765L7.39453 3.81494C7.6552 4.07561 7.6552 4.49765 7.39453 4.75765L4.81901 7.33317L13.5326 7.33317C13.9006 7.33317 14.1992 7.63184 14.1992 7.99984C14.1992 8.36784 13.9006 8.6665 13.5326 8.6665L4.81901 8.66651L7.39453 11.242C7.6552 11.5027 7.6552 11.9247 7.39453 12.1847L7.33724 12.242C7.07657 12.5027 6.65453 12.5027 6.39453 12.242L2.6237 8.47119C2.36303 8.21053 2.36303 7.78849 2.6237 7.52849L6.39453 3.75765C6.52487 3.62732 6.6953 3.56104 6.86589 3.56104Z",fill:"#595959"})),nextControlIcon:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M9.13411 12.439C8.96353 12.439 8.79276 12.3727 8.66276 12.2423L8.60547 12.1851C8.3448 11.9244 8.3448 11.5023 8.60547 11.2423L11.181 8.66683L2.46745 8.66683C2.09945 8.66683 1.80078 8.36816 1.80078 8.00016C1.80078 7.63216 2.09945 7.3335 2.46745 7.3335L11.181 7.3335L8.60547 4.75797C8.3448 4.49731 8.3448 4.07527 8.60547 3.81527L8.66276 3.75797C8.92343 3.49731 9.34547 3.49731 9.60547 3.75797L13.3763 7.52881C13.637 7.78947 13.637 8.21152 13.3763 8.47152L9.60547 12.2423C9.47513 12.3727 9.3047 12.439 9.13411 12.439Z",fill:"#595959"}))},d),s&&n.createElement(me.Slide,{style:{borderRight:`1px solid ${Oe.neutral[1]}`}},n.createElement(Ee,{href:c,target:"_blank",className:"pointer-event-child-none"},n.createElement(w,{sx:Object.assign({},!h&&{borderRadius:"50%",display:"flex",justifyContent:"center",alignItems:"center"}),bg:!h&&Oe.neutral[0],p:h?0:6},n.createElement(ze,{ratio:1,w:18},h?n.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.1183 3.67722C12.8727 2.70772 11.1281 2.708 9.88187 3.67718L14.1183 3.67722ZM14.1183 3.67722L19.718 8.03283C20.5589 8.68632 21.05 9.69173 21.05 10.7562V17.6002C21.05 19.5057 19.5055 21.0502 17.6 21.0502H6.40016C4.49466 21.0502 2.9502 19.5057 2.9502 17.6002V10.7562C2.9502 9.69163 3.44113 8.68632 4.28216 8.03283L9.88187 3.67718M10.6799 4.70339L5.08006 9.05916C4.55657 9.46592 4.2502 10.0923 4.2502 10.7562V17.6002C4.2502 18.7878 5.21263 19.7502 6.40016 19.7502H17.6C18.7875 19.7502 19.75 18.7878 19.75 17.6002V10.7562C19.75 10.0923 19.4438 9.46612 18.9204 9.05936L13.3202 4.70335C12.5443 4.09941 11.4571 4.09905 10.6799 4.70339Z",fill:"#3E3F58"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.2373 13.1626C12.5546 12.4794 11.4466 12.4791 10.7629 13.1628C10.0793 13.8464 10.0793 14.9538 10.7629 15.6374C11.4465 16.321 12.5539 16.321 13.2375 15.6374C13.9211 14.9538 13.9211 13.8464 13.2375 13.1628L13.2373 13.1626ZM14.1567 12.2436C12.9661 11.0521 11.0348 11.0525 9.84366 12.2436C8.65237 13.4348 8.65237 15.3653 9.84366 16.5566C11.0349 17.7479 12.9654 17.7479 14.1567 16.5566C15.348 15.3653 15.348 13.4348 14.1567 12.2436Z",fill:"#3E3F58"})):n.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.58691 5.59863L8.58691 1.62305C8.83594 1.45898 9.16406 1.45898 9.41309 1.62305L15.4131 5.59863C15.624 5.73926 15.75 5.97363 15.75 6.22559V14.25C15.75 15.0791 15.0791 15.75 14.25 15.75H3.75C2.9209 15.75 2.25 15.0791 2.25 14.25V6.22559C2.25 5.97363 2.37598 5.73926 2.58691 5.59863ZM5.5017 11.7602C5.1717 11.5108 5.17316 11.0321 5.46521 10.7391C5.75775 10.4456 6.24936 10.4292 6.5986 10.6522C7.17818 11.0223 8.12516 11.4889 9.21628 11.4889C10.3074 11.4889 11.2543 11.0223 11.8339 10.6522C12.1832 10.4292 12.6748 10.4456 12.9673 10.7391C13.2594 11.0321 13.2608 11.5108 12.9308 11.7602C11.8743 12.5589 10.535 12.9889 9.21628 12.9889C7.89758 12.9889 6.55824 12.5589 5.5017 11.7602Z",fill:"#595959"})))))),n.createElement(me.Slide,null),n.createElement(me.Slide,null,n.createElement(C,{styles:{separator:{marginInline:4}},separator:n.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.createElement("path",{d:"M8.71527 7.99969L6.16794 5.45236C5.89194 5.17636 5.89194 4.72836 6.16794 4.45236C6.44394 4.17636 6.89194 4.17636 7.16794 4.45236L10.2439 7.52836C10.5046 7.78903 10.5046 8.21103 10.2439 8.47103L7.16794 11.547C6.89194 11.823 6.44394 11.823 6.16794 11.547C5.89194 11.271 5.89194 10.823 6.16794 10.547L8.71527 7.99969Z",fill:"#8C8C8C"}))},i)))};Be.Item=Ee;const Ae=V(x)`
|
|
38
38
|
.mantine-Textarea-input {
|
|
39
39
|
padding: 12px 16px;
|
|
40
40
|
background: #ffffff;
|
|
41
41
|
border: 1px solid ${_.colors.gray200};
|
|
42
42
|
border-radius: 4px;
|
|
43
43
|
}
|
|
44
|
-
`;var
|
|
44
|
+
`;var Se=v((e=>({root:{},inner:{},content:{padding:0},header:{borderBottom:`1px solid ${e.colors.neutral[1]}`,marginRight:0,marginBottom:0,padding:"1rem"},overlay:{},title:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",marginRight:0},body:{},close:{cursor:"pointer",width:"24px",height:"24px"}})));const Ie=V(y)`
|
|
45
45
|
.mantine-Accordion-label {
|
|
46
46
|
padding: 0;
|
|
47
47
|
}
|
|
@@ -74,7 +74,7 @@ import{_ as e,a as t}from"./tslib.es6-448e0a38.js";import*as a from"react";impor
|
|
|
74
74
|
.mantine-Accordion-content {
|
|
75
75
|
white-space: pre-wrap;
|
|
76
76
|
}
|
|
77
|
-
`,
|
|
77
|
+
`,Pe=t=>{var{children:a}=t,l=e(t,["children"]);return n.createElement(Ie,Object.assign({chevron:n.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},l),a)};Pe.Control=y.Control,Pe.Item=y.Item,Pe.Panel=y.Panel;const Ne=K.getAssetPath("avatar.jpg"),Te=t=>{var{withIndicator:a=!1,indicatorConfig:l=null,size:r=56,children:i,styles:o}=t,s=e(t,["withIndicator","indicatorConfig","size","children","styles"]);const c=()=>n.createElement(M,Object.assign({size:r,radius:"xl"},s,{imageProps:Object.assign({loading:"lazy"},s.imageProps)}),i||n.createElement(Q,{src:Ne,width:r,alt:s.alt||"avatar"}));return a?n.createElement(j,Object.assign({inline:!0,position:"bottom-end",offset:9},l,{styles:Object.assign({indicator:{backgroundColor:n.isValidElement(l.label)&&"transparent",zIndex:1}},o)}),c()):c()},De=300,Fe=k({key:"mantine",prepend:!1}),Re=t=>{var{value:a,onChange:i}=t,o=e(t,["value","onChange"]);const[s,c]=l(a),[d]=J(s,300);return r((()=>{null==i||i(d)}),[d]),r((()=>{c(a)}),[a]),n.createElement(O,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:c,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:s},o))},$e=K.getAssetPath("EyeVisible.svg"),Ve=K.getAssetPath("EyeHidden.svg"),We=s(((t,a)=>{const{size:l="md",visibilityToggleIcon:r}=t,i=e(t,["size","visibilityToggleIcon"]),o=r||(({reveal:e,size:t})=>e?n.createElement("img",{src:$e,width:t}):n.createElement("img",{src:Ve,width:t}));return n.createElement(L,Object.assign({ref:a,size:l,visibilityToggleIcon:o},i,{className:`input-control ${(null==i?void 0:i.className)||""}`}))})),_e=s(((t,a)=>{var{value:i,onChange:o,onChangeRaw:s}=t,c=e(t,["value","onChange","onChangeRaw"]);const[d,m]=l(i||""),[h]=J(d,300);return r((()=>{null==o||o(h)}),[h]),r((()=>{m(i)}),[i]),n.createElement(B,Object.assign({ref:a,size:"md",onChange:e=>{null==s||s(e),m(e.currentTarget.value)},value:d},c,{className:`input-control ${(null==c?void 0:c.className)||""}`}))}));_e.File=e=>n.createElement(H,Object.assign({size:"md"},e)),_e.Password=We,_e.Number=Re,_e.Wrapper=A.Wrapper;const Ze=e=>n.createElement(S,Object.assign({},e));Ze.Group=S.Group;const Ge=V(I)`
|
|
78
78
|
${e=>{const t=e.color||e.theme.colors.primaryBase;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
79
79
|
[data-theme='marryBaby'] & {
|
|
80
80
|
${e=>{const t=e.color||e.theme.mbColors.pink;return`\n .mantine-Slider-bar {\n background-color: ${t};\n }\n .mantine-Slider-thumb {\n border-color: ${t};\n color: ${t};\n }\n `}}
|
|
@@ -86,7 +86,7 @@ import{_ as e,a as t}from"./tslib.es6-448e0a38.js";import*as a from"react";impor
|
|
|
86
86
|
font-size: 14px;
|
|
87
87
|
font-weight: bold;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,Ke=V.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
align-items: center;
|
|
92
92
|
.hhg-mantine-slider {
|
|
@@ -104,9 +104,9 @@ import{_ as e,a as t}from"./tslib.es6-448e0a38.js";import*as a from"react";impor
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
107
|
+
`,Ue=t=>{var{styles:a}=t,l=e(t,["styles"]);return n.createElement(P,Object.assign({size:"sm"},l,{styles:e=>Object.assign({radio:Object.assign(Object.assign({backgroundColor:"#fff"},Y),{"&:checked":{backgroundColor:"#fff"}}),icon:{color:e.colors[e.primaryColor][e.primaryShade]}},a)}))};Ue.Group=P.Group;var Ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Xe(e){var t={exports:{}};return e(t,t.exports),t.exports
|
|
108
108
|
/*!
|
|
109
109
|
Copyright (c) 2018 Jed Watson.
|
|
110
110
|
Licensed under the MIT License (MIT), see
|
|
111
111
|
http://jedwatson.github.io/classnames
|
|
112
|
-
*/}var Xe=Ye((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],n=0;n<arguments.length;n++){var l=arguments[n];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)){if(l.length){var i=a.apply(null,l);i&&e.push(i)}}else if("object"===r){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var o in l)t.call(l,o)&&l[o]&&e.push(o)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function qe(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,n)=>{t[n]&&(a[n]=t[n]||"")}))}return a}function Qe(e){return e.join("")}var Je="_2iQs0sk",et="Ia6IojY";const tt=s(((t,a)=>{const{maxLength:l=1,placeholder:r,className:i}=t,o=e(t,["maxLength","placeholder","className"]);return n.createElement("input",Object.assign({maxLength:l,className:Xe(et,"otpInput",i),placeholder:r,type:"number"},o,{ref:a}))})),at=s(((e,t)=>{const{valueLength:a=6,type:i="number",value:s,defaultValue:m,placeholder:h,onChange:p,onBlur:g}=e,f=c(new Array(a).fill(null)),[v,u]=l(m||s),[b,E]=l(-1),[z,w]=l((()=>qe(v,a))),C=o((()=>{if(-1===b)return;const e=f.current[b];if(e){e.value="";const t=z;t[b]="",w(t),u((()=>Qe(t))),null==p||p(Qe(t))}}),[b,p,z]),x=o((()=>{if(0===b)return;const e=f.current[b];e&&e.blur();const t=f.current[b-1];t&&t.focus()}),[b]),y=o((()=>{if(b===a-1)return;const e=f.current[b];e&&e.blur();const t=f.current[b+1];t&&t.focus()}),[b,a]),j=o((e=>{const t=e.target,a=t.value.toString().slice(0,1),n=f.current.findIndex((e=>e===t));if(-1!==n){const e=z;e[n]=a,w(e),u((()=>Qe(e))),null==p||p(Qe(e))}y()}),[y,p,z]),M=o((e=>{const t=e.target,a=f.current.findIndex((e=>e===t));"number"===i?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&E(a)}),[]),H=o((e=>{const t=qe(e.clipboardData.getData("text/plain"),a),n=Qe(t);w(t),u(n),null==p||p(n)}),[p,i,a]),k=o((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),C(),x()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),C()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),x()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),y()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[C,y,x]);return d(t,(()=>f.current[0]),[]),r((()=>{w((()=>qe(s,a))),u(s)}),[a,s]),n.createElement(N,{justify:"center",columnGap:8,className:Xe(Je,"otpContainer")},z.map(((e,t)=>n.createElement(tt,{ref:e=>{f.current[t]=e},key:""+t,value:e,type:i,onChange:j,onFocus:M,onKeyDown:k,onPaste:H,onBlur:g,placeholder:h}))))})),nt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),a.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},a.createElement("g",{strokeLinejoin:"bevel"},a.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),a.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),a.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),a.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),a.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),a.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),a.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),a.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),a.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),a.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),a.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),a.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),a.createElement("g",{fill:"none",strokeWidth:.8},a.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),a.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),a.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),a.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),a.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),a.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),a.createElement("g",{id:"a"},a.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),a.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),a.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),a.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),a.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),a.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),a.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),a.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),a.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),a.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),a.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),a.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),a.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),a.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),a.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),a.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),a.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),a.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),a.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),a.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),a.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),a.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),a.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),lt=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),rt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),a.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),a.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},a.createElement("circle",{r:20,fill:"#008"}),a.createElement("circle",{r:17.5,fill:"#fff"}),a.createElement("circle",{r:3.5,fill:"#008"}),a.createElement("g",{id:"d"},a.createElement("g",{id:"c"},a.createElement("g",{id:"b"},a.createElement("g",{id:"a",fill:"#008"},a.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),a.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),a.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),a.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),it=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},a.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),a.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),ot=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),a.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),a.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),a.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),st=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),a.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},a.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),ct=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),a.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),a.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),a.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),dt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("clipPath",{id:"a"},a.createElement("path",{d:"M0 0h640v480H0z"})),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),a.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),a.createElement("g",{fill:"#fff"},a.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),a.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),a.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),a.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),a.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),a.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),a.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),a.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),a.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),a.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),a.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),a.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),a.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),a.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),a.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),a.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),a.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),a.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),a.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),a.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),a.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),a.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),a.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),mt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),a.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),ht=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),a.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},a.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),a.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),pt=Object.values(G).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),gt={PH:ct,KH:nt,ID:it,IN:rt,MM:st,MY:ot,TH:mt,TW:dt,VN:ht};var ft={phoneInput:"i-9Ibox",error:"YDWHh9b"};const vt=s(((a,i)=>{const{isError:o,defaultCountry:s,countries:c=pt,countryCallingCodeEditable:d=!1,defaultValue:m,value:h,onChange:p,className:g}=a,f=e(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[v,u]=l(m||h),[b,E]=l(null);return r((()=>{u(h)}),[h]),r((()=>{t(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");E(e)}))}),[]),b?n.createElement(b.default,Object.assign({ref:i,value:v,onChange:e=>{u(e),null==p||p(e)},countries:c,defaultCountry:s,countryCallingCodeEditable:d,className:Xe(ft.phoneInput,{isError:o,[ft.error]:o},g),flagUrl:void 0,flagComponent:t=>{const{country:a,countryName:l,flagUrl:r}=t,i=e(t,["country","countryName","flagUrl"]),o=gt[a],s=a?`(+${b.getCountryCallingCode(a)})`:"";return o?n.createElement(n.Fragment,null,n.createElement(o,Object.assign({title:l},i)),n.createElement("span",{className:Xe(ft.callingCode,"PhoneInputCountryIconCallingCode")},s)):n.createElement(n.Fragment,null)},countrySelectProps:{arrowComponent:()=>n.createElement("div",{className:Xe(ft.arrowSelect,"PhoneInputArrowContainer")},n.createElement(lt,null))}},f)):null}));var ut=v(((e,t)=>{const{variant:a}=t,n={content:"none",top:0,bottom:0,zIndex:1,width:f(56)};return Object.assign({},"inline"===a&&{root:{},tabsList:{gap:f(24),borderBottom:"none",flexWrap:"nowrap"},tab:{padding:`${f(8)} 0`,color:e.colors.gray[4],borderColor:"transparent",borderBottomWidth:f(2),marginBottom:f(-1),transition:"border 0.2s ease","&:hover":{backgroundColor:"initial",borderColor:"transparent"},"&[data-active='true']":{color:e.fn.primaryColor(),borderColor:e.fn.primaryColor()}},tabRightSection:{},tabLabel:{},tabIcon:{},panel:{},scrollArea:{position:"relative","&.prev-bg":{"&:before":Object.assign(Object.assign({},n),{content:'""',position:"absolute",left:0,background:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"})},"&.next-bg":{"&:after":Object.assign(Object.assign({},n),{content:'""',position:"absolute",right:0,background:"linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)"})}},list:{borderBottom:`1px solid ${e.colors.neutral[1]}`},btn:{position:"absolute",top:"50%",zIndex:2,transform:"translate(0, -50%)",width:f(28),height:f(28),padding:0,background:"white",borderRadius:"50%",cursor:"pointer",filter:"drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))",".mantine-Button-icon":{display:"flex",alignItems:"center",justifyContent:"center"},"&.disabled":{opacity:0,zIndex:0}},prevBtn:{left:0},nextBtn:{right:0}})}));const bt=t=>{var a,{variant:i="inline",value:o,styles:s,children:d,dataList:m=[],tabProps:h,listProps:p,panelProps:g,TabComponentDisplay:f,startPadding:v=40,defaultValue:u}=t,b=e(t,["variant","value","styles","children","dataList","tabProps","listProps","panelProps","TabComponentDisplay","startPadding","defaultValue"]);const{cx:E,classes:z}=ut({variant:i},{name:"Tabs",styles:s}),w=c(null),C=c([]),[x,y]=l(u||(null===(a=null==m?void 0:m[0])||void 0===a?void 0:a.value)),[j,M]=l(0),[H,k]=l(!1),[O,L]=l(!0),[B,A]=l({x:0,y:0}),S=c(null),I=Object.assign({defaultValue:u,classNames:z},d?{value:o}:{value:x,onTabChange:e=>y(e)});r((()=>{y(o)}),[o]),r((()=>{var e,t,a;null===(e=S.current)||void 0===e||e.scrollTo({left:(null===(a=null===(t=null==C?void 0:C.current)||void 0===t?void 0:t[j])||void 0===a?void 0:a.offsetLeft)-v,behavior:"smooth"})}),[j]),r((()=>{M(m.findIndex((e=>e.value==x)))}),[x]),r((()=>{var e,t;L(0===B.x),k((null===(e=null==S?void 0:S.current)||void 0===e?void 0:e.clientWidth)+B.x===(null===(t=null==S?void 0:S.current)||void 0===t?void 0:t.scrollWidth))}),[B]);const P=({text:e,dataEventCategory:t,dataEventAction:a,dataEventLabel:l})=>f?n.createElement(f,null,e):n.createElement(fe,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":a,"data-event-label":l},e);return n.createElement(T,Object.assign({},I,b),d||n.createElement(n.Fragment,null,n.createElement(D,{className:E(z.scrollArea,`${O?"":"prev-bg"} ${H?"":"next-bg"}`),scrollbarSize:0,viewportRef:S,onScrollPositionChange:A},n.createElement(T.List,Object.assign({className:z.list,ref:w},p),m.map(((e,t)=>n.createElement(T.Tab,Object.assign({ref:e=>C.current[t]=e,className:z.tab,key:String(e.value),value:String(e.value)},h),n.createElement(P,Object.assign({},e)))))),n.createElement(ae,{className:E(z.btn,z.prevBtn,O?"disabled":""),unstyled:!0,onClick:()=>M(j-1>-1?j-1:0),leftIcon:n.createElement(q.ArrowLeft,{size:16})}),n.createElement(ae,{className:E(z.btn,z.nextBtn,H?"disabled":""),unstyled:!0,onClick:()=>M(j+1<m.length-1?j+1:m.length-1),leftIcon:n.createElement(q.ArrowRight,{size:16})})),m.map((e=>n.createElement(T.Panel,Object.assign({value:String(e.value),key:String(e.value)},g),e.content)))))};bt.List=T.List,bt.Tab=T.Tab,bt.Panel=T.Panel;const Et=m({}),zt=t=>{var{children:a,closeOnClickOutside:l=!0}=t,r=e(t,["children","closeOnClickOutside"]);const[i,{close:o,open:s}]=J(!1),d=l?ee(o):c(),m=Object.assign({},"function"==typeof a?{opened:i}:{});return n.createElement(Et.Provider,{value:{opened:i,close:o,open:s}},n.createElement(F,Object.assign({closeOnClickOutside:l},m,r),n.createElement("div",{ref:d},"function"==typeof a?a({open:s,close:o,opened:i}):a)))};zt.Target=F.Target,zt.Dropdown=F.Dropdown;export{ue as A,ae as B,lt as C,Te as D,pe as E,zt as F,rt as I,ot as M,Fe as N,at as O,ct as P,Ke as R,Ge as S,dt as T,ht as V,nt as a,it as b,st as c,mt as d,fe as e,Ne as f,Ee as g,We as h,Ye as i,Ue as j,bt as k,Ze as l,Ae as m,ne as n,vt as o,_e as p,Be as q,re as r,Oe as s,ke as t,se as u,Le as v,Ie as w,de as x,De as y,ye as z};
|
|
112
|
+
*/}var qe=Xe((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],n=0;n<arguments.length;n++){var l=arguments[n];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)){if(l.length){var i=a.apply(null,l);i&&e.push(i)}}else if("object"===r){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){e.push(l.toString());continue}for(var o in l)t.call(l,o)&&l[o]&&e.push(o)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function Qe(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,n)=>{t[n]&&(a[n]=t[n]||"")}))}return a}function Je(e){return e.join("")}var et="_2iQs0sk",tt="Ia6IojY";const at=s(((t,a)=>{const{maxLength:l=1,placeholder:r,className:i}=t,o=e(t,["maxLength","placeholder","className"]);return n.createElement("input",Object.assign({maxLength:l,className:qe(tt,"otpInput",i),placeholder:r,type:"number"},o,{ref:a}))})),nt=s(((e,t)=>{const{valueLength:a=6,type:i="number",value:s,defaultValue:m,placeholder:h,onChange:p,onBlur:g}=e,f=c(new Array(a).fill(null)),[v,u]=l(m||s),[b,E]=l(-1),[z,w]=l((()=>Qe(v,a))),C=o((()=>{if(-1===b)return;const e=f.current[b];if(e){e.value="";const t=z;t[b]="",w(t),u((()=>Je(t))),null==p||p(Je(t))}}),[b,p,z]),x=o((()=>{if(0===b)return;const e=f.current[b];e&&e.blur();const t=f.current[b-1];t&&t.focus()}),[b]),y=o((()=>{if(b===a-1)return;const e=f.current[b];e&&e.blur();const t=f.current[b+1];t&&t.focus()}),[b,a]),j=o((e=>{const t=e.target,a=t.value.toString().slice(0,1),n=f.current.findIndex((e=>e===t));if(-1!==n){const e=z;e[n]=a,w(e),u((()=>Je(e))),null==p||p(Je(e))}y()}),[y,p,z]),M=o((e=>{const t=e.target,a=f.current.findIndex((e=>e===t));"number"===i?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&E(a)}),[]),H=o((e=>{const t=Qe(e.clipboardData.getData("text/plain"),a),n=Je(t);w(t),u(n),null==p||p(n)}),[p,i,a]),k=o((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),C(),x()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),C()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),x()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),y()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[C,y,x]);return d(t,(()=>f.current[0]),[]),r((()=>{w((()=>Qe(s,a))),u(s)}),[a,s]),n.createElement(N,{justify:"center",columnGap:8,className:qe(et,"otpContainer")},z.map(((e,t)=>n.createElement(at,{ref:e=>{f.current[t]=e},key:""+t,value:e,type:i,onChange:j,onFocus:M,onKeyDown:k,onPaste:H,onBlur:g,placeholder:h}))))})),lt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-kh",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),a.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},a.createElement("g",{strokeLinejoin:"bevel"},a.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),a.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),a.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),a.createElement("path",{d:"M169 647.6h3.6v16.5H169zm49 0h3.6v16.5H218zm-78 0h3.5v16.5H140zm7 0h3.5v16.5H147zm7.5 0h3.5v16.5h-3.5zm7.5 0h3.5v16.5H162zm62.8 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6zm7.5 0h3.6v16.5h-3.6z"}),a.createElement("path",{strokeLinejoin:"miter",d:"M94.5 669.5a9.3 9.3 0 0 0 4.4-5.3H292a9.3 9.3 0 0 0 4.4 5.3z"})),a.createElement("path",{d:"M193 556.8s-.1-4.1 2.3-4.2c2.3 0 2.2 4.2 2.2 4.2zm-12.5 54.5v-5.5c0-2.8-2.8-3-2.8-5 0 0-.4-3 .4-4.4 1.1 4 3 3.3 3 1.6 0-1.4-1-2.8-3.3-6.3-.8-1.1-.3-4.6.7-5.9.4 3 .9 4.5 2.2 4.5.8 0 1.4-.5 1.4-2 0-2-1.3-3-2-4.8a5 5 0 0 1 1.1-5.3c.5 3 .4 4.2 1.7 4.2 2.7-.9 0-4.8-.6-5.8-.6-1.1 1-3.4 1-3.4.8 2.7 1 2.9 2 2.6 1.2-.3 1-2-.4-3.4-.9-1-.8-2.3.2-3.3 1 1.9 2.2 1.8 2.3.6l-.8-4.4H204l-.9 4.3c-.2 1.2 1.4 1.5 2.4-.5 1 1 1.1 2.4.2 3.3-1.4 1.4-1.6 3.1-.4 3.4 1 .3 1.2 0 2-2.6 0 0 1.5 1.5 1 3.4-.6 1-3.3 5-.6 5.8 1.3 0 1.2-1.2 1.7-4.2a5 5 0 0 1 1 5.3c-.6 1.8-2 2.8-2 4.8 0 1.5.7 2 1.5 2 1.3 0 1.8-1.4 2.2-4.5 1 1.3 1.5 4.8.7 6-2.3 3.4-3.4 4.8-3.4 6.2 0 1.7 2 2.4 3-1.6.9 1.4.5 4.4.5 4.4 0 2-2.7 2.2-2.8 5v5.5zm7.2-46-.4-3.1h15.9l-.4 3.1zm1-3.2-.2-2.5H202l-.3 2.5zm2.3-2.6-.3-2.6h9l-.1 2.6zm33 110c-2-.7-5-2.9-5-5v-24.3l2.6-3.4H169l2.5 3.4v24.3c0 2.1-2 4.3-4 5z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),a.createElement("path",{d:"M168 609.2v27.6h54v-27.6a4.2 4.2 0 0 0-2.6 2.8v11.8h-48.7V612s-.6-2-2.8-2.8z"}),a.createElement("path",{d:"M214.6 669.5c-1.8-.7-5.6-2.9-5.6-5v-27.2c.4-1.5 2.4-2.4 3.7-3.4H177c1.7 1 3.6 1.7 4.3 3.4v27.2c0 2.1-3 4.3-4.8 5z"}),a.createElement("path",{d:"M219.4 634.2v-19.6h-4.9v-1.9h-38.8v2h-5v19.5zM207 669.5c-1.8-.7-4.3-2.9-4.3-5v-23.2l1.4-2.1h-17.7l1.5 2v23.3c0 2.1-2.6 4.3-4.3 5z"}),a.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.4 632.5c0-2 5.8-2.1 8.8-3.8h-36c3 1.7 8.7 1.8 8.7 3.8l1.2 3.9 15 .6z"}),a.createElement("path",{d:"M211.4 611.3c0-4.9.2-6.7 1.7-6.7V620c-3.7 1.4-6.3 6-6.3 6h-23.2s-2.6-4.6-6.3-6v-15.5c1.8 0 1.8 2 1.8 6.7zm1.7-2c0-5.6 4.9-6.2 4.9-6.2v5c-1.9-.1-2.8 1.6-2.8 4 0 2.5 1.5 2.5 1.5 2.5v14.2h-3.6z"}),a.createElement("path",{d:"M177.3 609.3c0-5.6-4.9-6.2-4.9-6.2v5c1.9-.1 2.8 1.6 2.8 4 0 2.5-1.5 2.5-1.5 2.5v14.2h3.6z"}),a.createElement("g",{fill:"none",strokeWidth:.8},a.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),a.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),a.createElement("path",{d:"M184 614.2c3 3.6 2.6 9.7 2.6 13.3H204c0-3.6-.4-9.7 2.6-13.3zm9.7-41-2.4-1.3v-3.5c1 .3 2 .4 2.2 2 .3-2.3 1-2.1 1.9-3 1 .9 1.5.7 1.9 3 0-1.6 1.2-1.7 2.1-2v3.5l-2.3 1.2z"}),a.createElement("path",{d:"m193.5 578.9-4-2.8V573c1.5.3 3 .5 3.2 2.2.4-2.5 1.3-3.7 2.7-4.7 1.3 1 2.2 2.2 2.7 4.7.1-1.7 1.7-1.9 3-2.2v3.2l-3.9 2.7z"}),a.createElement("path",{d:"m193.2 587.8-4.5-4v-4.7c1.6.4 3.4.6 3.6 3.1.5-3.5 1.5-5.4 3-6.8 1.6 1.4 2.6 3.3 3.2 6.8.2-2.5 2-2.7 3.6-3.1v4.7l-4.6 4zm8.4 5.3-4 5.7h-4.7l-4.1-5.7zm-15.2 9.5c2 1.1 2.8 3.4 3 7.6H201c.2-4.2 1-6.5 3-7.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M204.2 593v-5.6a5.2 5.2 0 0 0-3.8 3.3c0-2-2.5-6.3-5.2-8.5-2.7 2.4-5.3 6.4-5.2 8.4-.5-1.5-1.8-2.7-3.8-3.2v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M205 602.6V597c-2.1.6-3.5 1.7-4.1 3.3 0-2-2.7-6.3-5.7-8.5-3 2.5-5.8 6.4-5.7 8.5-.5-1.5-2-2.7-4.1-3.3v5.7z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M207.4 614.3v-6.6a9.6 9.6 0 0 0-5.1 3.8c0-3.5-4-9-7.1-10.7-3.2 1.8-7.1 7.4-7.1 10.7a9.7 9.7 0 0 0-5.2-3.8v6.6z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M206 629v-6.8c-2.4.9-3 3.1-3.8 4.7.3-6.9-3.8-14.2-7-16.1-3.2 1.9-7.4 9.4-7 16-.8-1.4-1.5-3.7-3.8-4.6v6.7z"}),a.createElement("path",{d:"M204.4 639.2v-6.8c-2.5.6-2.6 1.5-3.4 3 .3-4.1-2.6-8.8-5.8-10.6-3.2 1.8-6 6.5-5.8 10.6-.8-1.5-.9-2.4-3.4-3v6.8z"}),a.createElement("g",{id:"a"},a.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),a.createElement("path",{d:"M99 664.3v-20.5c-.7-2.6-3-5-4.6-5.4v-19.2c2.5 0 3.7 3.2 3.7 3.2l4.3 18.9v22.9z"}),a.createElement("path",{d:"M96.3 669.5c1.7-.7 4.2-2.9 4.2-5v-25.6l-1.2-2H143l-1.7 2v25.6a6 6 0 0 0 3.4 5z"}),a.createElement("path",{d:"M135.8 669.5c-1.7-.7-4.2-2.9-4.2-5v-24.3l3.6-3.4h-29.6l3.6 3.4v24.3c0 2.1-2.5 4.3-4.2 5z"}),a.createElement("path",{d:"M131.7 669.5c-1.7-.7-4.3-2.9-4.3-5v-22l2.4-3.3H111l2.4 3.3v22c0 2.1-2.5 4.3-4.3 5z"}),a.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),a.createElement("path",{strokeLinejoin:"bevel",d:"M103.7 647.6h3.6v16.5h-3.6zm30.8 0h3.5v16.5h-3.6zm-33.9-27.8h4.4v17h-4.4zm0-3.2h4.3v3.2h-4.3zm35.6 6.9h6.1v13h-6.1z"}),a.createElement("path",{d:"M104.9 636.6v-29c1.2 0 1.4 4.3 4.2 4.3 1.5 0 1.4-1.8.5-3.2-.7-1.3-1.6-3-.4-6.3.9 2.5 3.1 3.3 2.7 1.8-.7-2.7-2.8-3.2-1.2-7.3.5 3.4 2.7 3.3 2.2 1.3-.6-2.3-1.9-3.3-.3-6.5.9 3.7 2 3.5 2 1.2 0-3.4 0-7 4.2-8.3 0 0 .3-3 1.9-3 1.5 0 1.8 3 1.8 3 4.3 1.3 4.2 5 4.2 8.3 0 2.3 1.1 2.5 2-1.2 1.6 3.2.3 4.2-.3 6.5-.5 2 1.7 2.1 2.2-1.3 1.6 4.1-.5 4.6-1.2 7.3-.4 1.5 1.8.7 2.7-1.8 1.2 3.3.3 5-.4 6.3-.8 1.4-1 3.2.5 3.2 2.8 0 3-4.2 4.2-4.2v28.9zM98 614.7v22.1h2.5v-22.1c-.9-.5-1.7-.5-2.5 0z"}),a.createElement("path",{d:"M98.2 629c3.1 1.6 6.2 3.5 7 7.8h-7zm43.2-6.6v14.4h2v-14.4c-.6-.3-1.5-.4-2 0z"}),a.createElement("path",{d:"M143.4 629c-3.1 1.5-6.2 3.3-7 7.7h7zm-20.6-33.7 1.8-1.5v-2c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-1v2l1.8 1.6z"}),a.createElement("path",{d:"m123.8 600.2.8-1.9v-2.5c-.6 0-1 .3-1.5 1a5 5 0 0 0-2.5-3 5 5 0 0 0-2.6 2.9c-.5-.7-.8-.8-1.5-.9v2.5l.8 1.9z"}),a.createElement("path",{d:"m124 606.8 2.6-3.3v-3.2c-1 0-1.5.5-2.2 1.6-.7-2.3-2-2.7-3.8-3.8-1.9 1-3.2 1.5-3.8 3.7-.8-1.1-1.3-1.4-2.3-1.5v3.2l2.7 3.3z"}),a.createElement("path",{d:"M124.7 613.3s3.2-2.7 3.3-4.2v-3.5c-1.2.1-2.3.4-3.2 1.9-.8-2.9-2-3.7-4.2-5-2.3 1.3-3.5 2.1-4.2 5-1-1.5-2-1.8-3.3-2v3.6a15 15 0 0 0 3.3 4.2z"}),a.createElement("path",{d:"M126 625.3s4.4-4.7 4.5-6.6v-5.4c-1.6.2-3.2 1.3-4.4 3.6-1-4.5-2.6-7.6-5.5-9.8-3 2.2-4.6 5.3-5.6 9.8-1.2-2.3-2.7-3.4-4.3-3.6v5.4c.3 1.9 4.4 6.6 4.4 6.6z"}),a.createElement("path",{d:"M126 632.4s3.7-3.7 4.5-5.3v-5.4c-1.6.2-3.2 1.3-4.4 3.5a14 14 0 0 0-5.5-9.2c-3 2.2-4.6 4.7-5.6 9.2-1.2-2.2-2.7-3.3-4.3-3.5v5.4c1 1.6 4.4 5.3 4.4 5.3z"}),a.createElement("path",{d:"M127.5 636.6c-1-4.7-2-8.2-7.1-11.7-5.2 3.5-6.1 7-7.2 11.7z"}),a.createElement("path",{d:"M130.2 639.2v-6.8c-2.4 1-4.5 2.3-5.3 3.8-.8-3.8-2.5-5.4-4.6-7.7-2.1 2.3-3.5 4-4.4 7.7-.8-1.5-2.9-2.9-5.2-3.8v6.8z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),a.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),a.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),a.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),a.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),a.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),a.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),a.createElement("path",{fill:"none",d:"M99 664.2h193M115.8 713h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m65.8 37.5h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m-8.6-6.3h8.6m-8.6-6.2h8.6m66.2 37.5h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2m-9.2-6.3h9.2m-9.2-6.2h9.2"}))),rt=e=>a.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},e),a.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),it=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-in",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),a.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),a.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},a.createElement("circle",{r:20,fill:"#008"}),a.createElement("circle",{r:17.5,fill:"#fff"}),a.createElement("circle",{r:3.5,fill:"#008"}),a.createElement("g",{id:"d"},a.createElement("g",{id:"c"},a.createElement("g",{id:"b"},a.createElement("g",{id:"a",fill:"#008"},a.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),a.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),a.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),a.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),a.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),ot=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},a.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),a.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),st=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),a.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),a.createElement("path",{fill:"#fc0",d:"m207.5 73.8 6 40.7 23-34-12.4 39.2 35.5-20.8-28.1 30 41-3.2-38.3 14.8 38.3 14.8-41-3.2 28.1 30-35.5-20.8 12.3 39.3-23-34.1-6 40.7-5.9-40.7-23 34 12.4-39.2-35.5 20.8 28-30-41 3.2 38.4-14.8-38.3-14.8 41 3.2-28.1-30 35.5 20.8-12.4-39.3 23 34.1zm-33.3 1.7a71.1 71.1 0 1 0 0 130 80 80 0 1 1 0-130z"}),a.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),ct=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",id:"flag-icons-mm",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),a.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),a.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},a.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),a.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),dt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),a.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),a.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),a.createElement("path",{fill:"#fcd116",d:"M26.7 42.4 41 55l16.6-9.2-7.4 17.5 14 13-19-1.6-8.1 17.2-4.3-18.5L14 71l16.3-10zm323.8 172.3.4 19 18 6.3-18 6.2-.4 19-11.5-15.1-18.2 5.5 10.8-15.6-10.8-15.6 18.2 5.5zM37.2 388.1l8 17.2 19-1.6-13.9 13 7.4 17.5-16.6-9.1-14.4 12.4 3.6-18.7L14 409l18.9-2.4zm114.2-249-6.2 6.2 3.1 47-3 .3-5.7-42.9-5.1 5 7.6 38.4a47.5 47.5 0 0 0-17.2 7.1l-21.7-32.4H96l26.4 34.3a48 48 0 0 0-2.4 2l-31.1-35.5h-8.8v8.8l35.4 31-2 2.5-34.3-26.3v7.1l32.5 21.7c-3.4 5.2-5.9 11-7.1 17.2L66.3 223l-5.1 5 42.9 5.7c-.2 1-.3 2.1-.3 3.1l-47-3-6.2 6.2 6.2 6.2 47-3.1.3 3.1-42.9 5.7 5 5 38.4-7.6a47.5 47.5 0 0 0 7.1 17.2l-32.5 21.7v7.2l34.3-26.3a48 48 0 0 0 2 2.4l-35.4 31v8.8H89l31-35.4 2.5 2L96 312.2h7.2l21.7-32.5c5.1 3.4 11 5.9 17.2 7.1l-7.6 38.4 5 5 5.7-42.9c1 .2 2 .3 3.1.3l-3 47 6.1 6.2 6.3-6.2-3.1-47 3-.3 5.7 43 5.1-5.1-7.6-38.4a47.5 47.5 0 0 0 17.2-7.1l21.7 32.5h7.2l-26.4-34.3a48 48 0 0 0 2.4-2l31.1 35.4h8.8v-8.8l-35.4-31 2-2.4 34.3 26.3v-7.2l-32.5-21.7c3.4-5.1 5.9-11 7.1-17.2l38.3 7.6 5.1-5-42.9-5.7c.2-1 .3-2 .3-3.1l47 3 6.2-6.1-6.2-6.2-47 3-.3-3 42.9-5.7-5-5-38.4 7.5a47.5 47.5 0 0 0-7.1-17.2l32.5-21.7v-7.1l-34.3 26.3a48 48 0 0 0-2-2.4l35.4-31v-8.9H214l-31 35.5a48 48 0 0 0-2.5-2l26.4-34.3h-7.2L178 200.2c-5.1-3.4-11-5.9-17.2-7.1l7.6-38.3-5-5-5.7 42.8-3.1-.3 3-47z"})),mt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("clipPath",{id:"a"},a.createElement("path",{d:"M0 0h640v480H0z"})),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),a.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),a.createElement("g",{fill:"#fff"},a.createElement("path",{d:"m154 126.9-2.5 9.6 9.4 2.6-1.8-7.1zm46.9 5.1-1.8 7.1 9.4-2.6-2.5-9.6zm-41.8-24-5.1 5.1 1.9 6.9z"}),a.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),a.createElement("path",{d:"m154 113.1-6.9 6.9 6.9 6.9 1.9-6.9zm14 27.8 5.1 5.1 6.9-1.9zm18.9 5.1 9.6 2.5 2.6-9.4-7.1 1.8z"}),a.createElement("path",{d:"m192 140.9 7.1-1.8 1.8-7.1zm-31.1-1.8 2.6 9.4 9.6-2.5-5.1-5.1zm19.1 5 6.9 1.9 5.1-5.1z"}),a.createElement("path",{d:"m173.1 146 6.9 6.9 6.9-6.9-6.9-1.9zm-12.2-45.1-9.4 2.6 2.5 9.6 5.1-5.1zm-1.8 31.1 1.8 7.1 7.1 1.8zm45-12 1.9-6.9-5.1-5.1z"}),a.createElement("path",{d:"m168 99.1-7.1 1.8-1.8 7.1zm32.9 8.9-1.8-7.1-7.1-1.8zm5.1 18.9 6.9-6.9-6.9-6.9-1.9 6.9z"}),a.createElement("path",{d:"m200.9 108-8.9-8.9-12-3.2-12 3.2-8.9 8.9-3.2 12 3.2 12 8.9 8.9 12 3.2 12-3.2 8.9-8.9 3.2-12z"}),a.createElement("path",{d:"m200.9 132 5.1-5.1-1.9-6.9zm5.1-18.9 2.5-9.6-9.4-2.6 1.8 7.1zm-6.9-12.2-2.6-9.4-9.6 2.5 5.1 5.1zm-26-6.9-9.6-2.5-2.6 9.4 7.1-1.8zm6.9 1.9-6.9-1.9-5.1 5.1z"}),a.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),a.createElement("path",{d:"m192 99.1-5.1-5.1-6.9 1.9zM173.1 146l-9.6 2.5 4.5 16.6 12-12.2zm-5.1 19.1 12 44.9 12-44.9-12-12.2zm-7.1-26-9.4-2.6-4.4 16.4 16.4-4.4z"}),a.createElement("path",{d:"m147.1 152.9-12 45.1 32.9-32.9-4.5-16.6zm-12-20.9L102 165.1l45.1-12.2 4.4-16.4z"}),a.createElement("path",{d:"m154 126.9-6.9-6.9-12 12 16.4 4.5zm0-13.8-2.5-9.6-16.4 4.5 12 12z"}),a.createElement("path",{d:"M135.1 108 90 120l45.1 12 12-12zm90 24-16.6 4.5 4.4 16.4 45.1 12.2z"}),a.createElement("path",{d:"m199.1 139.1-2.6 9.4 16.4 4.4-4.4-16.4zm-12.2 6.9-6.9 6.9 12 12.2 4.5-16.6zm19.1-19.1 2.5 9.6 16.6-4.5-12.2-12z"}),a.createElement("path",{d:"m192 165.1 33.1 32.9-12.2-45.1-16.4-4.4zm7.1-64.2 9.4 2.6 4.4-16.4-16.4 4.4z"}),a.createElement("path",{d:"M225.1 108 258 75.1l-45.1 12-4.4 16.4zm-12.2-20.9L225.1 42 192 75.1l4.5 16.4zm12.2 44.9 44.9-12-44.9-12-12.2 12z"}),a.createElement("path",{d:"m206 113.1 6.9 6.9 12.2-12-16.6-4.5zm-38-38L135.1 42l12 45.1 16.4 4.4z"}),a.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),a.createElement("path",{d:"m147.1 87.1-45.1-12 33.1 32.9 16.4-4.5zm39.8 6.9 9.6-2.5-4.5-16.4-12 12z"}),a.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),a.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),a.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),a.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),ht=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),a.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),a.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),pt=e=>a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},e),a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),a.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},a.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),a.createElement("path",{fill:"#ff0",d:"M349.6 381 260 314.3l-89 67.3L204 272l-89-67.7 110.1-1 34.2-109.4L294 203l110.1.1-88.5 68.4 33.9 109.6z"}))),gt=Object.values(G).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),ft={PH:dt,KH:lt,ID:ot,IN:it,MM:ct,MY:st,TH:ht,TW:mt,VN:pt};var vt={phoneInput:"i-9Ibox",error:"YDWHh9b"};const ut=s(((a,i)=>{const{isError:o,defaultCountry:s,countries:c=gt,countryCallingCodeEditable:d=!1,defaultValue:m,value:h,onChange:p,className:g}=a,f=e(a,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[v,u]=l(m||h),[b,E]=l(null);return r((()=>{u(h)}),[h]),r((()=>{t(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");E(e)}))}),[]),b?n.createElement(b.default,Object.assign({ref:i,value:v,onChange:e=>{u(e),null==p||p(e)},countries:c,defaultCountry:s,countryCallingCodeEditable:d,className:qe(vt.phoneInput,{isError:o,[vt.error]:o},g),flagUrl:void 0,flagComponent:t=>{const{country:a,countryName:l,flagUrl:r}=t,i=e(t,["country","countryName","flagUrl"]),o=ft[a],s=a?`(+${b.getCountryCallingCode(a)})`:"";return o?n.createElement(n.Fragment,null,n.createElement(o,Object.assign({title:l},i)),n.createElement("span",{className:qe(vt.callingCode,"PhoneInputCountryIconCallingCode")},s)):n.createElement(n.Fragment,null)},countrySelectProps:{arrowComponent:()=>n.createElement("div",{className:qe(vt.arrowSelect,"PhoneInputArrowContainer")},n.createElement(rt,null))}},f)):null}));var bt=v(((e,t)=>{const{variant:a}=t,n={content:"none",top:0,bottom:0,zIndex:1,width:f(56)};return Object.assign({},"inline"===a&&{root:{},tabsList:{gap:f(24),borderBottom:"none",flexWrap:"nowrap"},tab:{padding:`${f(8)} 0`,color:e.colors.gray[4],borderColor:"transparent",borderBottomWidth:f(2),marginBottom:f(-1),transition:"border 0.2s ease","&:hover":{backgroundColor:"initial",borderColor:"transparent"},"&[data-active='true']":{color:e.fn.primaryColor(),borderColor:e.fn.primaryColor()}},tabRightSection:{},tabLabel:{},tabIcon:{},panel:{},scrollArea:{position:"relative","&.prev-bg":{"&:before":Object.assign(Object.assign({},n),{content:'""',position:"absolute",left:0,background:"linear-gradient(90deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%)"})},"&.next-bg":{"&:after":Object.assign(Object.assign({},n),{content:'""',position:"absolute",right:0,background:"linear-gradient(90deg, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%)"})}},list:{borderBottom:`1px solid ${e.colors.neutral[1]}`},btn:{position:"absolute",top:"50%",zIndex:2,transform:"translate(0, -50%)",width:f(28),height:f(28),padding:0,background:"white",borderRadius:"50%",cursor:"pointer",filter:"drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.04)) drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04))",".mantine-Button-icon":{display:"flex",alignItems:"center",justifyContent:"center"},"&.disabled":{opacity:0,zIndex:0}},prevBtn:{left:0},nextBtn:{right:0}})}));const Et=t=>{var a,{variant:i="inline",value:o,styles:s,children:d,dataList:m=[],tabProps:h,listProps:p,panelProps:g,TabComponentDisplay:f,startPadding:v=40,defaultValue:u}=t,b=e(t,["variant","value","styles","children","dataList","tabProps","listProps","panelProps","TabComponentDisplay","startPadding","defaultValue"]);const{cx:E,classes:z}=bt({variant:i},{name:"Tabs",styles:s}),w=c(null),C=c([]),[x,y]=l(u||(null===(a=null==m?void 0:m[0])||void 0===a?void 0:a.value)),[j,M]=l(0),[H,k]=l(!1),[O,L]=l(!0),[B,A]=l({x:0,y:0}),S=c(null),I=Object.assign({defaultValue:u,classNames:z},d?{value:o}:{value:x,onTabChange:e=>y(e)});r((()=>{y(o)}),[o]),r((()=>{var e,t,a;null===(e=S.current)||void 0===e||e.scrollTo({left:(null===(a=null===(t=null==C?void 0:C.current)||void 0===t?void 0:t[j])||void 0===a?void 0:a.offsetLeft)-v,behavior:"smooth"})}),[j]),r((()=>{M(m.findIndex((e=>e.value==x)))}),[x]),r((()=>{var e,t;L(0===B.x),k((null===(e=null==S?void 0:S.current)||void 0===e?void 0:e.clientWidth)+B.x===(null===(t=null==S?void 0:S.current)||void 0===t?void 0:t.scrollWidth))}),[B]);const P=({text:e,dataEventCategory:t,dataEventAction:a,dataEventLabel:l})=>f?n.createElement(f,null,e):n.createElement(ve,{size:"s3",color:"inherit",weight:"semiBold","data-event-category":t,"data-event-action":a,"data-event-label":l},e);return n.createElement(T,Object.assign({},I,b),d||n.createElement(n.Fragment,null,n.createElement(D,{className:E(z.scrollArea,`${O?"":"prev-bg"} ${H?"":"next-bg"}`),scrollbarSize:0,viewportRef:S,onScrollPositionChange:A},n.createElement(T.List,Object.assign({className:z.list,ref:w},p),m.map(((e,t)=>n.createElement(T.Tab,Object.assign({ref:e=>C.current[t]=e,className:z.tab,key:String(e.value),value:String(e.value)},h),n.createElement(P,Object.assign({},e)))))),n.createElement(ne,{className:E(z.btn,z.prevBtn,O?"disabled":""),unstyled:!0,onClick:()=>M(j-1>-1?j-1:0),leftIcon:n.createElement(q.ArrowLeft,{size:16})}),n.createElement(ne,{className:E(z.btn,z.nextBtn,H?"disabled":""),unstyled:!0,onClick:()=>M(j+1<m.length-1?j+1:m.length-1),leftIcon:n.createElement(q.ArrowRight,{size:16})})),m.map((e=>n.createElement(T.Panel,Object.assign({value:String(e.value),key:String(e.value)},g),e.content)))))};Et.List=T.List,Et.Tab=T.Tab,Et.Panel=T.Panel;const zt=m({}),wt=t=>{var{children:a,closeOnClickOutside:l=!0}=t,r=e(t,["children","closeOnClickOutside"]);const[i,{close:o,open:s}]=ee(!1),d=l?te(o):c(),m=Object.assign({},"function"==typeof a?{opened:i}:{});return n.createElement(zt.Provider,{value:{opened:i,close:o,open:s}},n.createElement(F,Object.assign({closeOnClickOutside:l},m,r),n.createElement("div",{ref:d},"function"==typeof a?a({open:s,close:o,opened:i}):a)))};wt.Target=F.Target,wt.Dropdown=F.Dropdown;export{be as A,ne as B,rt as C,De as D,ge as E,wt as F,it as I,st as M,Re as N,nt as O,dt as P,Ue as R,Ke as S,mt as T,pt as V,lt as a,ot as b,ct as c,ht as d,ve as e,Te as f,ze as g,_e as h,Xe as i,Ye as j,Et as k,Ge as l,Se as m,le as n,ut as o,Ze as p,Ae as q,ie as r,Le as s,Oe as t,ce as u,Be as v,Pe as w,me as x,Fe as y,je as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-b425de16.js";import{i as c}from"./isProduction-4824d4ae.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH"],y=["vi-VN","id-ID"],N={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var S;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
|
|
1
|
+
import{enUS as o,vi as e,km as l,hi as i,id as a,ms as n,th as t,zhTW as s}from"date-fns/locale";import{L as E}from"./Onboarding-e3440668.js";import{i as c}from"./isProduction-b0ecb9d4.js";const h={HELLO_HEALTH_GROUP:"hellohealthgroup.com",HELLO_DOCTOR:"hellodoctor.com.ph",HELLO_DOCTOR_FIL:"hellodoctor.com.ph/fil",HELLO_KRUPET:"hellokrupet.com",HELLO_SWASTHYA:"helloswasthya.com",HELLO_SEHAT:"hellosehat.com",HELLO_SAYARWON:"hellosayarwon.com",HELLO_DOKTOR:"hellodoktor.com",HELLO_KHUNMOR:"hellokhunmor.com",HELLO_YISHI:"helloyishi.com.tw",HELLO_BACSI:"hellobacsi.com",MARRY_BABY:"www.marrybaby.vn"},I={HELLO_HEALTH_GROUP:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Health Group",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:10},HELLO_DOCTOR:{lng:E.PhilippinesEnglish,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"en",phoneCountry:"PH",siteId:5},HELLO_DOCTOR_FIL:{lng:E.PhilippinesTagalog,ns:"translation",name:"Hello Doctor",theme:"hellosite",dayjs:"tl-ph",phoneCountry:"PH",siteId:5},HELLO_KRUPET:{lng:E.Cambodia,ns:"translation",name:"Hello Krupet",theme:"hellosite",dayjs:"km",phoneCountry:"KH",siteId:4},HELLO_SWASTHYA:{lng:E.India,ns:"translation",name:"Hello Swasthya",theme:"hellosite",dayjs:"hi",phoneCountry:"IN",siteId:9},HELLO_SEHAT:{lng:E.Indonesia,ns:"translation",name:"Hello Sehat",theme:"hellosite",dayjs:"id",phoneCountry:"ID",siteId:2},HELLO_SAYARWON:{lng:E.Myanmar,ns:"translation",name:"Hello Sayarwon",theme:"hellosite",dayjs:"my",phoneCountry:"MM",siteId:7},HELLO_DOKTOR:{lng:E.Malaysia,ns:"translation",name:"Hello Doktor",theme:"hellosite",dayjs:"ms-my",phoneCountry:"MY",siteId:3},HELLO_KHUNMOR:{lng:E.Thailand,ns:"translation",name:"Hello Khunmor",theme:"hellosite",dayjs:"th",phoneCountry:"TH",siteId:6},HELLO_YISHI:{lng:E.Taiwan,ns:"translation",name:"Hello Yishi",theme:"hellosite",dayjs:"zh-tw",phoneCountry:"TW",siteId:8},HELLO_BACSI:{lng:E.Vietnam,ns:"translation",name:"Hello Bacsi",theme:"hellosite",dayjs:"vi",phoneCountry:"VN",siteId:1},MARRY_BABY:{lng:E.Vietnam,ns:"marrybaby",name:"Marry Baby",theme:"marrybaby",dayjs:"vi",phoneCountry:"VN",siteId:11}},T="userGeoLocationCoordinates",r={"vi-VN":"hellobacsi.com","id-ID":"hellosehat.com","ms-MY":"hellodoktor.com","km-KH":"hellokrupet.com","en-PH":"hellodoctor.com.ph","th-TH":"hellokhunmor.com","my-MM":"hellosayarwon.com","zh-TW":"helloyishi.com.tw","hi-IN":"helloswasthya.com","tl-PH":"hellodoctor.com.ph","vi-VN_MB":"marrybaby.vn"},O={"vi-VN":{LOGO_TYPE:"hellobacsi",SITE_NAME:"HelloBacsi",SITE_NAME_FORMATTED:"Hello Bacsi",HOMEPAGE_IMAGE:"https://hellobacsi.com/images/country-thumbnails/VN.png",SITE_ID:"1",INSIDER_TAG:"//hellobacsivn.api.useinsider.com/ins.js?id=10003798",TOOLTIP_IMAGE:"/images/tooltips-vn.png",PREGNANCY_WEIGHT_GAIN:"cong-cu-tinh-can-nang-khi-mang-thai",BABY_POOP:"phan-tre-so-sinh-nhu-the-nao-la-tot",VACCINATION_TOOL:"lich-tiem-chung"},"en-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"th-TH":{LOGO_TYPE:"hellokhunmor",SITE_NAME:"HelloKhunmor",HOMEPAGE_IMAGE:"https://hellokhunmor.com/images/country-thumbnails/TH.png",SITE_NAME_FORMATTED:"Hello Khunmor",SITE_ID:"3",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokhunmor.api.useinsider.com/ins.js?id=10004524",TOOLTIP_IMAGE:"/images/tooltips-th.png",PREGNANCY_WEIGHT_GAIN:"เครื่องคำนวณน้ำหนักตัว",BABY_POOP:"สีอุจจาระของลูก-บอกถึงส",VACCINATION_TOOL:"vaccination-tool"},"km-KH":{LOGO_TYPE:"hellokrupet",SITE_NAME:"HelloKrupet",HOMEPAGE_IMAGE:"https://hellokrupet.com/images/country-thumbnails/KH.JPG",SITE_NAME_FORMATTED:"Hello Krupet",SITE_ID:"4",CATEGORIES_TYPE:"long",INSIDER_TAG:"//hellokrupet.api.useinsider.com/ins.js?id=10004523",TOOLTIP_IMAGE:"/images/tooltips-kh.png",PREGNANCY_WEIGHT_GAIN:"រង្វាស់សុខភាព/គណនាទម្ងន់ស្ត្រីពពោះ",BABY_POOP:"រង្វាស់សុខភាព/អត្ថន័យពណ៌-និងរូបរាងលាម",VACCINATION_TOOL:"រង្វាស់សុខភាព/កាលវិភាគចាក់ថ្នាំបង្កា"},"my-MM":{LOGO_TYPE:"hellosayarwon",SITE_NAME:"HelloSayarwon",HOMEPAGE_IMAGE:"https://hellosayarwon.com/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Sayarwon",SITE_ID:"7",INSIDER_TAG:"//hellosayarwon.api.useinsider.com/ins.js?id=10004522"},"zh-TW":{LOGO_TYPE:"helloyishi",SITE_NAME:"HelloYishi",HOMEPAGE_IMAGE:"https://helloyishi.com.tw/images/country-thumbnails/TW.png",SITE_NAME_FORMATTED:"Hello Yishi",SITE_ID:"6",INSIDER_TAG:"//helloyishi.api.useinsider.com/ins.js?id=10004526",TOOLTIP_IMAGE:"/images/tooltips-tw.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"how-does-babies-poop-look-like",VACCINATION_TOOL:"vaccination-tool"},"id-ID":{LOGO_TYPE:"hellosehat",SITE_NAME:"HelloSehat",HOMEPAGE_IMAGE:"https://hellosehat.com/images/country-thumbnails/ID.png",SITE_NAME_FORMATTED:"Hello Sehat",SITE_ID:"2",INSIDER_TAG:"//hellosehat.api.useinsider.com/ins.js?id=10003799",TOOLTIP_IMAGE:"/images/tooltips-id.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-kenaikan-berat-badan-ibu-hamil",BABY_POOP:"warna-feses-bayi-normal",VACCINATION_TOOL:"jadwal-imunisasi"},"hi-IN":{LOGO_TYPE:"helloswasthya",SITE_NAME:"HelloSwasthya",HOMEPAGE_IMAGE:"https://helloswasthya.com/images/country-thumbnails/IN.png",SITE_NAME_FORMATTED:"हैलो स्वास्थ्य",SITE_ID:"8",CATEGORIES_TYPE:"long",INSIDER_TAG:"//helloswasthya.api.useinsider.com/ins.js?id=10004498",TOOLTIP_IMAGE:"/images/tooltips-in.png",PREGNANCY_WEIGHT_GAIN:"garbhavastha-weight-calculator",BABY_POOP:"visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool"},"ms-MY":{LOGO_TYPE:"hellodoktor",SITE_NAME:"HelloDoktor",HOMEPAGE_IMAGE:"https://hellodoktor.com/images/country-thumbnails/MY.png",SITE_NAME_FORMATTED:"Hello Doktor",SITE_ID:"5",INSIDER_TAG:"//hellodoktor.api.useinsider.com/ins.js?id=10004525",TOOLTIP_IMAGE:"/images/tooltips-my.png",PREGNANCY_WEIGHT_GAIN:"kalkulator-tambah-berat-badan-hamil",BABY_POOP:"kenali-najis-bayi-anda",VACCINATION_TOOL:"alat-kesihatan-vaksin"},"tl-PH":{LOGO_TYPE:"hellodoctor",SITE_NAME:"HelloDoctor",HOMEPAGE_IMAGE:"https://hellodoctor.com.ph/images/country-thumbnails/PH.png",SITE_NAME_FORMATTED:"Hello Doctor",SITE_ID:"9",CATEGORIES_TYPE:"short",INSIDER_TAG:"//hellodoctorph.api.useinsider.com/ins.js?id=10004527",TOOLTIP_IMAGE:"/fil/images/tooltips-ph.png",PREGNANCY_WEIGHT_GAIN:"pregnancy-weight-gain-calculator",BABY_POOP:"a-visual-guide-on-baby-poop",VACCINATION_TOOL:"vaccination-tool",ABOUT_US_IMAGE:"/fil/images/aboutus/PH.png"}},p={"vi-VN":{PRIVACY:"/privacy",TERM_OF_USE:"/dieu-khoan-su-dung",PRIVACY_POLICY:"/chinh-sach-quyen-rieng-tu",EDITORIAL_CORRECTIONS_POLICY:"/chinh-sach-bien-tap-chinh-sua",ADVERTISING_SPONSOR_POLICY:"/chinh-sach-quang-cao-tai-tro",POLICIES:"/chinh-sach",FAQS:"/thong-tin-quan-trong",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/quang-cao-voi-chung-toi",CONTACT_US:"/lien-he",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-bacsi/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/tieu-chuan-cong-dong",TOGETHER:"/community"},"km-KH":{POLICIES:"/policies",TERM_OF_USE:"/ខនិងលក្ខខណ្ឌ",PRIVACY_POLICY:"/គោលការណ៍ឯកជនភាព",EDITORIAL_CORRECTIONS_POLICY:"/គោលការណ៍ខ្លឹមសារមាតិកា",ADVERTISING_SPONSOR_POLICY:"/គោលការណ៍ផ្សាយពាណិជ្ជកម",FAQS:"/faqs",SITEMAP:"/sitemap",ABOUT_US:"/about-us",ADVERTISEMENT:"/advertisement",CONTACT_US:"/contact-us",ABOUT_GO_CARE:"/about-go-care",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"/#",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/គោលការណ៍ណែនាំសហគមន៍",TOGETHER:"/community"},"en-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"},"my-MM":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"zh-TW":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/advertising",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,FACILITY:"/facility",HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"id-ID":{POLICIES_EN:"/policies",TERM_OF_USE:"/kebijakan-pengguna",PRIVACY_POLICY:"/kebijakan-privasi",EDITORIAL_CORRECTIONS_POLICY:"/kebijakan-editorial",ADVERTISING_SPONSOR_POLICY:"/kebijakan-iklan",POLICIES:"/kebijakan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/kontak-kami",CONTACT_EN:"/contact",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/hello-sehat/",RECRUITMENT:"https://hellohealthgroup.com/careers/",EDITORIAL_POLICY:"/edit-id",EDITORIAL_POLICY_EN:"/edit-en",COMMUNITY_GUIDELINE:"/panduan-komunitas",TOGETHER:"/community"},"hi-IN":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"ms-MY":{POLICIES:"/polisi-terma-syarat",TERM_OF_USE:"/terma-dan-syarat",PRIVACY_POLICY:"/polisi-privasi",EDITORIAL_CORRECTIONS_POLICY:"/polisi-editorial",ADVERTISING_SPONSOR_POLICY:"/polisi-pengiklanan",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/pengiklanan",CONTACT_US:"/hubungi-kami",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:" https://hellohealthgroup.com/hello-doktor/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/panduan-komuniti",TOGETHER:"/community"},"th-TH":{POLICIES_EN:"/policies",TERM_OF_USE:"/เงื่อนใขการใช้งาน",PRIVACY_POLICY:"/นโยบายความเป็นส่วนตัว",EDITORIAL_CORRECTIONS_POLICY:"/นโยบายบรรณธิการ",ADVERTISING_SPONSOR_POLICY:"/นโยบายการโฆษณาและผู้สนับสนุน",POLICIES:"/นโยบาย",FAQS:"/คำถามที่พบบ่อย",SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:"/ลงโฆษณากับเรา",CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:null,TOGETHER:"/community"},"tl-PH":{POLICIES:"/policies",TERM_OF_USE:"/terms-of-use",PRIVACY_POLICY:"/privacy-policy",EDITORIAL_CORRECTIONS_POLICY:"/editorial-and-corrections-policy",ADVERTISING_SPONSOR_POLICY:"/advertising-and-sponsor-policy",FAQS:null,SITEMAP:null,ABOUT_US:"/about-us",ADVERTISEMENT:null,CONTACT_US:"/contact-us",ABOUT_GO_CARE:null,HEALTH_TOOLS:"/health-tools",EXECUTIVE_BIOS:"https://hellohealthgroup.com/management-team/",RECRUITMENT:"https://hellohealthgroup.com/careers/",COMMUNITY_GUIDELINE:"/community-guidelines",TOGETHER:"/community"}},_="user",m=["vi-VN","id-ID","en-PH","tl-PH","th-TH","ms-MY","my-MM"],A=["vi-VN"],u=["vi-VN","id-ID","en-PH","tl-PH"],y=["vi-VN","id-ID"],N={"vi-VN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"km-KH":[{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/km-KH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/km-KH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/km-KH/icon-270x270.png"}],"en-PH":[{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/en-PH/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon",href:"/by-locales/en-PH/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/en-PH/icon-270x270.png"}],"id-ID":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"ms-MY":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"th-TH":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"my-MM":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"zh-TW":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],"hi-IN":[{type:"link",rel:"shortcut icon",href:"/by-locales/vi-VN/favicon.ico"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/by-locales/vi-VN/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/by-locales/vi-VN/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/by-locales/vi-VN/icon-270x270.png"}],marryBaby:[{type:"link",rel:"shortcut icon",href:"/favicons/favicon.ico"},{type:"link",rel:"icon",href:"/favicons/icon-32x32.png",sizes:"32x32"},{type:"link",rel:"icon",href:"/favicons/icon-192x192.png",sizes:"192x192"},{type:"link",rel:"apple-touch-icon-precomposed",href:"/favicons/icon-180x180.png"},{type:"meta",name:"msapplication-TileImage",content:"/favicons/icon-180x180.png"}]};var S;!function(o){o.bmi="mi",o.gender="gndr",o.age="ge",o.slug="slug",o.resultId="resultId",o.bmr="mr",o.height="gt",o.weight="wght",o.source="surc",o.type="tp",o.startDate="sd",o.additional="tnl",o.week="wk",o.twins="twn",o.weightBefore="wb",o.yourself="yrslf",o.intensity="sy",o.rate="rt",o.method="mthd",o.day="dy",o.pwg="pwg",o.cycle="le",o.period="prd",o.access_token="tkn",o.name="nm",o.id="id"}(S||(S={}));const C={[E.Vietnam]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Cambodia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.India]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Indonesia]:{dateFormat:"DD/MM/YYYY",separator:","},[E.Malaysia]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Thailand]:{dateFormat:"DD/MM/YYYY",separator:"."},[E.Taiwan]:{dateFormat:"YYYY/MM/DD",separator:","},[E.PhilippinesTagalog]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.PhilippinesEnglish]:{dateFormat:"MM/DD/YYYY",separator:"."},[E.Myanmar]:{dateFormat:"DD/MM/YYYY",separator:","}},g="hhg_user_token",R={[E.PhilippinesEnglish]:o,[E.Vietnam]:e,[E.Cambodia]:l,[E.India]:i,[E.Indonesia]:a,[E.Myanmar]:o,[E.Malaysia]:n,[E.Thailand]:t,[E.Taiwan]:s},L="https://cdn.hellohealthgroup.com/countries";var P=Object.freeze({__proto__:null,USER_GEOLOCATION_COORDINATES_COOKIE:T,domainLocales:r,LOCALE_SPECS:O,STATIC_PAGES:p,UP_BASEPATH:_,TOGETHER_LOCALES:m,ECOM_LOCALES:A,CARE_LOCALES:u,CARE_BOOKING_LOCALES:y,FAVICONS:N,get QUERY_HEALTH_TOOL(){return S},ISO_FORMAT:C,BEARER_TOKEN_COOKIE:g,DATE_FNS_LOCALE:R,CDN_ADDRESS:L,siteHost:h,siteOptions:I,isProduction:c});export{g as B,u as C,R as D,A as E,N as F,C as I,O as L,S as Q,p as S,m as T,_ as U,L as a,y as b,T as c,r as d,h as e,P as i,I as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-37c7050d.js";import t from"react";import{S as s,a}from"./index.styled-4787e1b9.js";const r=a=>{var{type:r,color:l,style:o}=a,c=e(a,["type","color","style"]);return t.createElement(s,Object.assign({type:r,"data-type":{h1:"headline-1",h2:"headline-2",h3:"headline-3",h4:"headline-4"}[r],style:Object.assign(Object.assign({},l&&{"--text-color":l}),o)},c))},l=s=>{var{type:r,color:l,style:o}=s,c=e(s,["type","color","style"]);return t.createElement(a,Object.assign({"data-type":r,style:Object.assign(Object.assign({},o),l&&{"--text-color":l})},c))};export{l as M,r as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-37c7050d.js";import t from"react";import{Autocomplete as n,Image as a,ActionIcon as l,Select as r}from"@mantine/core";import{useUncontrolled as o}from"@mantine/hooks";import{CommonGAssets as c}from"./gAssets.js";const i=n=>{var{keepSearch:a=!1}=n,l=e(n,["keepSearch"]);return a?t.createElement(s,Object.assign({},l)):t.createElement(C,Object.assign({},l))},s=r=>{var{value:i,defaultValue:s,onChange:C,clearable:h}=r,g=e(r,["value","defaultValue","onChange","clearable"]);const[m,u]=o({value:i,defaultValue:s,onChange:C});return t.createElement(n,Object.assign({rightSection:t.createElement(a,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onChange:e=>u(e),value:m},g,h&&(null==m?void 0:m.length)>0?{rightSection:t.createElement(l,{onClick:()=>{u("")},sx:{cursor:"pointer"}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))},C=n=>{var{searchValue:i,onSearchChange:s}=n,C=e(n,["searchValue","onSearchChange"]);const[h,g]=o({defaultValue:"",value:i,onChange:s});return t.createElement(r,Object.assign({rightSection:t.createElement(a,{src:c.getAssetPath("chevron-down.svg"),fit:"none"}),size:"md",maxDropdownHeight:300,onSearchChange:e=>g(e),searchValue:h},C,C.clearable&&(null==h?void 0:h.length)>0?{rightSection:t.createElement(l,{onClick:()=>{g("")},sx:{cursor:"pointer"}},t.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.6665 9.99996C1.6665 5.39163 5.3915 1.66663 9.99984 1.66663C14.6082 1.66663 18.3332 5.39163 18.3332 9.99996C18.3332 14.6083 14.6082 18.3333 9.99984 18.3333C5.3915 18.3333 1.6665 14.6083 1.6665 9.99996ZM12.4083 13.5831C12.7333 13.9081 13.2583 13.9081 13.5833 13.5831C13.9 13.2581 13.9 12.7247 13.5833 12.4081L11.175 9.99973L13.5833 7.5914C13.9083 7.2664 13.9083 6.7414 13.5833 6.4164C13.2583 6.0914 12.7333 6.0914 12.4083 6.4164L10 8.82473L7.59167 6.4164C7.26667 6.0914 6.74167 6.0914 6.41667 6.4164C6.26063 6.57209 6.17293 6.78347 6.17293 7.0039C6.17293 7.22433 6.26063 7.43571 6.41667 7.5914L8.825 9.99973L6.41667 12.4081C6.26063 12.5638 6.17293 12.7751 6.17293 12.9956C6.17293 13.216 6.26063 13.4274 6.41667 13.5831C6.74167 13.9081 7.26667 13.9081 7.59167 13.5831L10 11.1747L12.4083 13.5831Z",fill:"#8C8C8C"})))}:{}))};export{i as S};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as i}from"@mantine/core";import{t as l,M as n}from"./utils-
|
|
1
|
+
import e,{useRef as t,useEffect as a,useState as o}from"react";import{Portal as i}from"@mantine/core";import{t as l,M as n}from"./utils-e06f253e.js";import{F as r,G as s,J as d,K as c,L as m,N as p,E as h,I as u}from"./index-528e09bb.js";import{T as b}from"./index-edad3cf9.js";import g from"styled-components";import{u as x}from"./useTranslations-bfa9397f.js";import{G as y}from"./Onboarding-e3440668.js";import{M as f,a as C}from"./index-3aff31ec.js";import{t as v}from"./theme-9d993b0e.js";const w=({open:t=!1,onClickOutside:a})=>e.createElement(r,{"data-open":t,onClick:a}),E=({children:o,title:n,onClose:r,open:m=!1,placement:p="left",destroyOnClose:h=!1,isPropagationEvent:u=!0,className:g})=>{const x=t();a((()=>(l(m),()=>l(!1))),[m]);const y=()=>{x.current.classList.add("slideOut"),setTimeout((()=>{r()}),800)};return!m&&h?null:e.createElement(i,null,e.createElement(s,{className:g,open:m},e.createElement(w,{open:m,onClickOutside:y}),e.createElement(d,{open:m,placement:p,ref:x,hasTitle:Boolean(n)},e.createElement("div",{className:"title"},n&&e.createElement(b,{size:"s2",type:"semiBold"},n),e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"close-button",onClick:y},e.createElement("path",{d:"M5.99007 4.99067C5.79114 4.99072 5.59674 5.0501 5.43173 5.16121C5.26672 5.27233 5.1386 5.43013 5.06374 5.61444C4.98889 5.79875 4.9707 6.0012 5.0115 6.1959C5.05231 6.39061 5.15025 6.56872 5.29281 6.70747L10.5858 12.0004L5.29281 17.2934C5.19684 17.3855 5.12021 17.4959 5.06743 17.618C5.01464 17.7402 4.98676 17.8716 4.9854 18.0046C4.98405 18.1377 5.00926 18.2697 5.05954 18.3928C5.10983 18.516 5.1842 18.6279 5.27827 18.722C5.37235 18.8161 5.48426 18.8904 5.60743 18.9407C5.73061 18.991 5.86259 19.0162 5.99563 19.0149C6.12867 19.0135 6.2601 18.9856 6.38223 18.9328C6.50436 18.8801 6.61473 18.8034 6.70687 18.7075L11.9998 13.4145L17.2928 18.7075C17.385 18.8034 17.4953 18.8801 17.6175 18.9328C17.7396 18.9856 17.871 19.0135 18.0041 19.0149C18.1371 19.0162 18.2691 18.991 18.3922 18.9407C18.5154 18.8904 18.6273 18.8161 18.7214 18.722C18.8155 18.6279 18.8899 18.516 18.9401 18.3928C18.9904 18.2697 19.0156 18.1377 19.0143 18.0047C19.0129 17.8716 18.985 17.7402 18.9323 17.618C18.8795 17.4959 18.8028 17.3855 18.7069 17.2934L13.4139 12.0004L18.7069 6.70747C18.8514 6.567 18.9501 6.38616 18.99 6.18864C19.03 5.99112 19.0093 5.78614 18.9308 5.60055C18.8523 5.41497 18.7195 5.25744 18.5499 5.14861C18.3803 5.03978 18.1817 4.98473 17.9803 4.99067C17.7205 4.99841 17.4739 5.10699 17.2928 5.2934L11.9998 10.5864L6.70687 5.2934C6.61368 5.19761 6.50224 5.12146 6.37912 5.06947C6.25601 5.01747 6.12372 4.99068 5.99007 4.99067Z",fill:"#595959"}))),e.createElement(c,{onClick:e=>{u&&e.stopPropagation()}},o&&(e.isValidElement(o)?o:"function"==typeof o?o({internalClose:y}):null)))))},$=({value:t,options:a,className:i,direction:l="horizontal",onChange:n,isDisabled:r,siteType:s})=>{const[d,c]=o(t),h="marryBaby"===s;return e.createElement(m,{className:i,"data-direction":l},a.map(((a,o)=>e.createElement(p,{"data-selected":(t||d)===a.value,"data-is-mb":h,"data-disabled":r,key:o,onClick:()=>{var e;e=a.value,r||(c(e),n&&n(e))}},e.createElement("div",null,a.content,a.label&&e.createElement(e.Fragment,null,h?e.createElement(f,{type:"subtitle-2",color:(t||d)===a.value?v.mbColors.dark:v.mbColors.midGray},a.label):e.createElement(b,{type:"bold",color:(t||d)===a.value?"#2D87F3":"black",className:"radio-group-item-heading",size:"label1"},a.label)))))))},k="hhgcomp-modal-modal",B=h(g.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
z-index: 200;
|
|
4
4
|
background-color: ${e=>e.theme.colors.white};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-37c7050d.js";import t from"react";import{Image as r}from"@mantine/core";import{DatePickerInput as o}from"@mantine/dates";import{I as s}from"./index-2703ad36.js";import{L as i}from"./Onboarding-e3440668.js";import{CommonGAssets as a}from"./gAssets.js";import{n}from"./index-242716b9.js";const l=l=>{var m,{value:c,fullWidth:d=!0}=l,p=e(l,["value","fullWidth"]);return t.createElement(o,Object.assign({locale:n[process.env.UNIFY_LOCALE||i.Vietnam],valueFormat:null===(m=s[process.env.UNIFY_LOCALE||i.Vietnam])||void 0===m?void 0:m.dateFormat,size:"md",clearable:!1,popoverProps:d?{styles:{dropdown:{minWidth:"100%",display:"flex",justifyContent:"center",alignItems:"center"}}}:{},styles:{root:{position:"relative"},rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(r,{src:a.getAssetPath(p.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16}),value:c},p,{className:`input-control ${(null==p?void 0:p.className)||""}`}))};export{l as D};
|