@hhgtech/hhg-components 1.25.18 → 1.25.19
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 +2 -2
- package/build/cache.js +1 -1
- package/build/care.js +1 -1
- package/build/components/mantine/{core/anchor → anchor}/index.d.ts +1 -1
- package/build/components/mantine/{core/button → button}/index.d.ts +1 -1
- package/build/components/mantine/carousel/index.d.ts +10 -4
- package/build/components/mantine/index.d.ts +50 -2
- package/build/components/mantine/{core/text → text}/index.d.ts +1 -1
- package/build/components/molecules/pillCarousel/index.styled.d.ts +1 -1
- package/build/components/onboarding/dynamicForm/index.d.ts +1 -1
- package/build/components/onboarding/onboardingForm/index.d.ts +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/core-c490081f.js +1 -0
- package/build/{dataTransform-6acdf899.js → dataTransform-ad03da0a.js} +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +2 -2
- package/build/esm/cache.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/{core-888ef6fd.js → core-8f9e845f.js} +1 -1
- package/build/esm/{dataTransform-ed6a1157.js → dataTransform-13e8e294.js} +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/getDynamicHealthTool-0f6087e3.js +1 -0
- package/build/esm/{getSocialList-59378810.js → getSocialList-441f5b5a.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/i18n.js +1 -1
- package/build/esm/index-1a12d75f.js +1 -0
- package/build/esm/index-303b3307.js +1 -0
- package/build/esm/{index-00d0f808.js → index-370d5017.js} +1 -1
- package/build/esm/index-3d698f6d.js +1 -0
- package/build/esm/{index-875124e7.js → index-4f30cec1.js} +1 -1
- package/build/esm/{index-4f3ebed8.js → index-4f8bc63a.js} +1 -1
- package/build/esm/{index-a1b7c041.js → index-54117aac.js} +1 -1
- package/build/esm/{index-93a243cc.js → index-5768564a.js} +1 -1
- package/build/esm/{index-6b921ebf.js → index-57693834.js} +1 -1
- package/build/esm/index-5e057cf6.js +1 -0
- package/build/esm/{index-fb1d01e8.js → index-61dc65d5.js} +1 -1
- package/build/esm/{index-1033078a.js → index-77f819a7.js} +1 -1
- package/build/esm/index-80366627.js +1 -0
- package/build/esm/{index-52f865bb.js → index-85ee8ef5.js} +1 -1
- package/build/esm/{index-1c161a77.js → index-860446f9.js} +1 -1
- package/build/esm/{index-7f2698b0.js → index-91f96d0e.js} +1 -1
- package/build/esm/{index-d301359f.js → index-95334e1f.js} +1 -1
- package/build/esm/index-b818144c.js +1 -0
- package/build/esm/{index-869427f1.js → index-ce0be0c8.js} +2 -2
- package/build/esm/index-d16a35a1.js +1 -0
- package/build/esm/index-d210ffc2.js +1 -0
- package/build/esm/index-d6afddf6.js +1 -0
- package/build/esm/{index-2a14c0f0.js → index-e09577e8.js} +1 -1
- package/build/esm/{index-6d19fb5f.js → index-e45683f6.js} +1 -1
- package/build/esm/index.css +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-ae6ab393.js → index.styled-08f338ff.js} +5 -5
- package/build/esm/{index.styled-864d8ff6.js → index.styled-10eb643b.js} +1 -1
- package/build/esm/{index.styled-80d9aed2.js → index.styled-307b4a74.js} +14 -14
- package/build/esm/{index.styled-3ada2100.js → index.styled-36fe7aba.js} +1 -1
- package/build/esm/{index.styled-43331da9.js → index.styled-76d47dc4.js} +1 -1
- package/build/esm/{index.styled-a9e15737.js → index.styled-a3e04ea4.js} +1 -1
- package/build/esm/{index.styled-52279550.js → index.styled-e27c9e4c.js} +1 -1
- package/build/esm/index.styles-be7daa10.js +115 -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/pwg.js +3 -3
- package/build/esm/{routing-17287fd2.js → routing-5f0bf904.js} +1 -1
- package/build/esm/{screenSizeContext-13aefc56.js → screenSizeContext-0e9aeaf0.js} +1 -1
- package/build/esm/together.js +1 -1
- package/build/esm/{translationsProvider-0b9170ee.js → translationsProvider-e2c8494d.js} +1 -1
- package/build/esm/{types-75298004.js → types-8dee1c1c.js} +1 -1
- package/build/esm/{types-793159fc.js → types-a29ea641.js} +4 -4
- package/build/esm/types.js +1 -1
- package/build/esm/useHealthToolCache-adafc6e2.js +1 -0
- package/build/esm/{useRafState-f7e52290.js → useRafState-914418bc.js} +1 -1
- package/build/esm/{useScreenSize-6af1a505.js → useScreenSize-db2464d1.js} +1 -1
- package/build/esm/{useTranslations-c9c738e1.js → useTranslations-2f288d89.js} +1 -1
- package/build/esm/vaccination.js +40 -40
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-15b7a8fd.js → getDynamicHealthTool-63bbbc8d.js} +1 -1
- package/build/{getSocialList-40510d5e.js → getSocialList-1b8289aa.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/i18n.js +1 -1
- package/build/{index-783d579e.js → index-04c4c731.js} +1 -1
- package/build/{index-48aa6e98.js → index-124308ce.js} +1 -1
- package/build/{index-40025f1a.js → index-159427bc.js} +1 -1
- package/build/index-26a9587a.js +1 -0
- package/build/{index-c17b12eb.js → index-32613152.js} +1 -1
- package/build/{index-8d59f398.js → index-3296a301.js} +1 -1
- package/build/{index-01317f57.js → index-37f45d75.js} +1 -1
- package/build/index-41d54a4e.js +1 -0
- package/build/{index-a19b4899.js → index-4220e729.js} +1 -1
- package/build/index-427c8a8b.js +1 -0
- package/build/{index-9bedebb6.js → index-445a9d6a.js} +1 -1
- package/build/index-4494418e.js +1 -0
- package/build/{index-5f82899c.js → index-49b71433.js} +1 -1
- package/build/{index-8835cfad.js → index-61e8f839.js} +1 -1
- package/build/{index-fb9574c0.js → index-671b024f.js} +1 -1
- package/build/index-75f87add.js +1 -0
- package/build/index-84bf80ce.js +1 -0
- package/build/index-aaa9454e.js +1 -0
- package/build/{index-92bee94b.js → index-abcefb22.js} +1 -1
- package/build/{index-95f2ac20.js → index-b79236b4.js} +1 -1
- package/build/index-c665b0cb.js +1 -0
- package/build/{index-de1bf81b.js → index-e30ddc84.js} +1 -1
- package/build/{index-54c563d9.js → index-e6d693a4.js} +11 -11
- package/build/{index-ca997137.js → index-e948992f.js} +1 -1
- package/build/index.css +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-41309c60.js → index.styled-75853701.js} +1 -1
- package/build/{index.styled-7f37fcd6.js → index.styled-7db1a88b.js} +1 -1
- package/build/{index.styled-3f2c5cfe.js → index.styled-9785caa0.js} +5 -5
- package/build/{index.styled-9096d927.js → index.styled-9b5a588b.js} +4 -4
- package/build/{index.styled-4938336b.js → index.styled-9efba223.js} +1 -1
- package/build/{index.styled-8705825a.js → index.styled-b1b277cb.js} +1 -1
- package/build/{index.styled-885df87a.js → index.styled-db486182.js} +1 -1
- package/build/index.styles-4f7a2d5b.js +115 -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/pwg.js +4 -4
- package/build/{routing-32cb382f.js → routing-30551b38.js} +1 -1
- package/build/screenSizeContext-3e7e5fd9.js +81 -0
- package/build/together.js +1 -1
- package/build/{translationsProvider-e528fa3f.js → translationsProvider-f8873b8d.js} +1 -1
- package/build/{types-d2bf5330.js → types-84fa0915.js} +37 -37
- package/build/{types-83b3bd54.js → types-fd7c01fc.js} +3 -3
- package/build/types.js +1 -1
- package/build/useHealthToolCache-8a5bde23.js +1 -0
- package/build/{useRafState-c15daeab.js → useRafState-895b2c32.js} +1 -1
- package/build/{useScreenSize-06216521.js → useScreenSize-2cf68cc0.js} +1 -1
- package/build/{useTranslations-937db3bb.js → useTranslations-81fcfa2d.js} +1 -1
- package/build/vaccination.js +32 -32
- package/package.json +2 -2
- package/build/components/mantine/carousel/core/index.d.ts +0 -10
- package/build/components/mantine/core/index.d.ts +0 -46
- package/build/core-1a873f23.js +0 -1
- package/build/esm/getDynamicHealthTool-9033319c.js +0 -1
- package/build/esm/index-0e338767.js +0 -1
- package/build/esm/index-249da5a8.js +0 -1
- package/build/esm/index-509007fa.js +0 -1
- package/build/esm/index-b8def94f.js +0 -1
- package/build/esm/index-c9fde60b.js +0 -1
- package/build/esm/index-d0070498.js +0 -1
- package/build/esm/index-db90afef.js +0 -1
- package/build/esm/index-e2e6b414.js +0 -1
- package/build/esm/index.styles-b8a9cc9f.js +0 -115
- package/build/esm/useHealthToolCache-fe3a2508.js +0 -1
- package/build/index-370e2902.js +0 -1
- package/build/index-5c6335ee.js +0 -1
- package/build/index-6165b318.js +0 -1
- package/build/index-68f29768.js +0 -1
- package/build/index-822e8c84.js +0 -1
- package/build/index-90f9d963.js +0 -1
- package/build/index-d0ce996f.js +0 -1
- package/build/index.styles-d0555c23.js +0 -115
- package/build/interfaces/constants/storybook.d.ts +0 -21
- package/build/screenSizeContext-fc265d17.js +0 -81
- package/build/useHealthToolCache-c647947e.js +0 -1
- /package/build/{BMI_BOYS.percentile.monthly-d65397d4.js → BMI_BOYS.percentile.monthly-d741ef18.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-91905581.js → BMI_BOYS.percentile.weekly-d10602f7.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-e989e4e7.js → BMI_BOYS.percentile.yearly-cb12a9e7.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-43f85063.js → BMI_BOYS.zscore.monthly-0613622b.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-0b4f4c4c.js → BMI_BOYS.zscore.weekly-0d7f5896.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-59daea06.js → BMI_BOYS.zscore.yearly-b7c99faf.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-04d8f6a0.js → BMI_GIRLS.percentile.monthly-7165ee78.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-6780e88e.js → BMI_GIRLS.percentile.weekly-cec70765.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-48f4acb5.js → BMI_GIRLS.percentile.yearly-aeaa67e7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-7ed81942.js → BMI_GIRLS.zscore.monthly-95b40f97.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-318f9069.js → BMI_GIRLS.zscore.weekly-61d6d444.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-1ac224d2.js → BMI_GIRLS.zscore.yearly-f5b5e3f1.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-cb95ff03.js → HEAD CIRCUM_BOYS.percentile.monthly-4d18f625.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7473c1e5.js → HEAD CIRCUM_BOYS.percentile.weekly-01396528.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-9759cfbb.js → HEAD CIRCUM_BOYS.percentile.yearly-764421a6.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-ddba5042.js → HEAD CIRCUM_BOYS.zscore.monthly-86b7f10b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-f0c009ac.js → HEAD CIRCUM_BOYS.zscore.weekly-cc2c878d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-f0318076.js → HEAD CIRCUM_BOYS.zscore.yearly-f7404cb5.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-e9424530.js → HEAD CIRCUM_GIRLS.percentile.monthly-86ba815c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-f05bf86a.js → HEAD CIRCUM_GIRLS.percentile.weekly-ad060501.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-245154c1.js → HEAD CIRCUM_GIRLS.percentile.yearly-7fe20ec0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-b979f004.js → HEAD CIRCUM_GIRLS.zscore.monthly-e22b6f26.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-60a281a1.js → HEAD CIRCUM_GIRLS.zscore.weekly-86c0c864.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9f8d0e18.js → HEAD CIRCUM_GIRLS.zscore.yearly-159e8c85.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-db479b4a.js → HEIGHT_BOYS.percentile.monthly-430dcbdc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-977959ac.js → HEIGHT_BOYS.percentile.weekly-d789117b.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-1b07c9d5.js → HEIGHT_BOYS.percentile.yearly-53a45704.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-48c607c5.js → HEIGHT_BOYS.zscore.monthly-bfed22b8.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-0de8dfaa.js → HEIGHT_BOYS.zscore.weekly-5b2a198b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-66b36c90.js → HEIGHT_BOYS.zscore.yearly-7fa9b129.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-d67310db.js → HEIGHT_GIRLS.percentile.monthly-3fa648f7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-1ddda4e8.js → HEIGHT_GIRLS.percentile.weekly-e29d9625.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-84e53962.js → HEIGHT_GIRLS.percentile.yearly-edd72156.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-73de57e0.js → HEIGHT_GIRLS.zscore.monthly-209c58db.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-92694d66.js → HEIGHT_GIRLS.zscore.weekly-b4cc89cd.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-6589709c.js → HEIGHT_GIRLS.zscore.yearly-688abc1f.js} +0 -0
- /package/build/{Onboarding-3f215854.js → Onboarding-318da418.js} +0 -0
- /package/build/{Visible-02c608e0.js → Visible-4c22a22b.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-fbbb8b34.js → WEIGHT_BOYS.percentile.monthly-87c6dc68.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-04c8b546.js → WEIGHT_BOYS.percentile.weekly-e8b85802.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-fcbddd53.js → WEIGHT_BOYS.percentile.yearly-6b1d668c.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-465e0194.js → WEIGHT_BOYS.zscore.monthly-9bb35d13.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-6c0698d3.js → WEIGHT_BOYS.zscore.weekly-cd116601.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-2d6a329c.js → WEIGHT_BOYS.zscore.yearly-f2e6cc82.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-e0406530.js → WEIGHT_GIRLS.percentile.monthly-5e99632c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-05d5597b.js → WEIGHT_GIRLS.percentile.weekly-181a2b01.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-66061142.js → WEIGHT_GIRLS.percentile.yearly-de9dc595.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-8737c0a2.js → WEIGHT_GIRLS.zscore.monthly-8dfed4c6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-259f5ed7.js → WEIGHT_GIRLS.zscore.weekly-bab0a8c2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-a06ec871.js → WEIGHT_GIRLS.zscore.yearly-8ca7c8df.js} +0 -0
- /package/build/components/mantine/{carousel/centralCarousel → CentralCarousel}/index.d.ts +0 -0
- /package/build/components/mantine/{carousel/centralCarousel → CentralCarousel}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/accordion → accordion}/index.d.ts +0 -0
- /package/build/components/mantine/{core/accordion → accordion}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/anchor → anchor}/index.styles.d.ts +0 -0
- /package/build/components/mantine/{core/aspectRatio → aspectRatio}/index.d.ts +0 -0
- /package/build/components/mantine/{core/aspectRatio → aspectRatio}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/avatar → avatar}/index.d.ts +0 -0
- /package/build/components/mantine/{core/badge → badge}/index.d.ts +0 -0
- /package/build/components/mantine/{core/button → button}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/button → button}/index.styles.d.ts +0 -0
- /package/build/components/mantine/{core/checkbox → checkbox}/index.d.ts +0 -0
- /package/build/components/mantine/{core/datepicker → datepicker}/index.d.ts +0 -0
- /package/build/components/mantine/{core/datepicker → datepicker}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/datepicker → datepicker}/range.d.ts +0 -0
- /package/build/components/mantine/{core/indicator → indicator}/index.d.ts +0 -0
- /package/build/components/mantine/{core/input → input}/file.d.ts +0 -0
- /package/build/components/mantine/{core/input → input}/index.d.ts +0 -0
- /package/build/components/mantine/{core/input → input}/number.d.ts +0 -0
- /package/build/components/mantine/{core/input → input}/password.d.ts +0 -0
- /package/build/components/mantine/{core/loadingOverlay → loadingOverlay}/index.d.ts +0 -0
- /package/build/components/mantine/{core/modal → modal}/index.d.ts +0 -0
- /package/build/components/mantine/{core/modal → modal}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/otp → otp}/index.d.ts +0 -0
- /package/build/components/mantine/{core/otp → otp}/index.helpers.d.ts +0 -0
- /package/build/components/mantine/{core/phone → phone}/index.d.ts +0 -0
- /package/build/components/mantine/{core/phone → phone}/index.helpers.d.ts +0 -0
- /package/build/components/mantine/{core/provider → provider}/index.d.ts +0 -0
- /package/build/components/mantine/{core/radio → radio}/index.d.ts +0 -0
- /package/build/components/mantine/{core/result → result}/index.d.ts +0 -0
- /package/build/components/mantine/{core/select → select}/index.d.ts +0 -0
- /package/build/components/mantine/{core/slider → slider}/index.d.ts +0 -0
- /package/build/components/mantine/{core/slider → slider}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/spoiler → spoiler}/index.d.ts +0 -0
- /package/build/components/mantine/{core/switch → switch}/index.d.ts +0 -0
- /package/build/components/mantine/{core/text → text}/index.styled.d.ts +0 -0
- /package/build/components/mantine/{core/text → text}/index.styles.d.ts +0 -0
- /package/build/components/mantine/{core/textArea → textArea}/index.d.ts +0 -0
- /package/build/components/mantine/{core/textArea → textArea}/index.styled.d.ts +0 -0
- /package/build/{constants-43d370a3.js → constants-d3934813.js} +0 -0
- /package/build/{cookieHelper-d55c1758.js → cookieHelper-29ebd307.js} +0 -0
- /package/build/{dataTransform-6e5bb242.js → dataTransform-1d2826ef.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-286be33d.js → BMI_BOYS.percentile.monthly-ae81d9b0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-41547b6d.js → BMI_BOYS.percentile.weekly-6f4f0fc7.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-b4c0fc5f.js → BMI_BOYS.percentile.yearly-b8b76af1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-664b0bf2.js → BMI_BOYS.zscore.monthly-07625307.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-ba891724.js → BMI_BOYS.zscore.weekly-a60263dd.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-bdbb0c5c.js → BMI_BOYS.zscore.yearly-e7b2a69f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-2d29be19.js → BMI_GIRLS.percentile.monthly-db0e4c5d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-623d0127.js → BMI_GIRLS.percentile.weekly-5b5405e2.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-1d355089.js → BMI_GIRLS.percentile.yearly-c6ea1a1c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-21f5c755.js → BMI_GIRLS.zscore.monthly-ad5db674.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-86d3d5a2.js → BMI_GIRLS.zscore.weekly-e3dc96e1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-c6bb3755.js → BMI_GIRLS.zscore.yearly-57cbf7f7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-644dfe52.js → HEAD CIRCUM_BOYS.percentile.monthly-d5b599fd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-9bdb1b3f.js → HEAD CIRCUM_BOYS.percentile.weekly-37b05be4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-a356fe77.js → HEAD CIRCUM_BOYS.percentile.yearly-a79b61aa.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ff61a2a0.js → HEAD CIRCUM_BOYS.zscore.monthly-87350dad.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-41aa6724.js → HEAD CIRCUM_BOYS.zscore.weekly-3207ca21.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-f201fa75.js → HEAD CIRCUM_BOYS.zscore.yearly-39876de0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-9c33043d.js → HEAD CIRCUM_GIRLS.percentile.monthly-e57f044e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-a2493b0b.js → HEAD CIRCUM_GIRLS.percentile.weekly-4acd9766.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-3d3d882d.js → HEAD CIRCUM_GIRLS.percentile.yearly-e4c93962.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-4f2c70c8.js → HEAD CIRCUM_GIRLS.zscore.monthly-5f8015ff.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-003f7a27.js → HEAD CIRCUM_GIRLS.zscore.weekly-1dca3878.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-aa0782e9.js → HEAD CIRCUM_GIRLS.zscore.yearly-4328600b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-85d93717.js → HEIGHT_BOYS.percentile.monthly-9f1ff6cb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-3e732615.js → HEIGHT_BOYS.percentile.weekly-f55eb632.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-85ac4433.js → HEIGHT_BOYS.percentile.yearly-2de9c7e8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-e641aa23.js → HEIGHT_BOYS.zscore.monthly-f885b3c0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-53f5e251.js → HEIGHT_BOYS.zscore.weekly-aafb6784.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-635c5dcf.js → HEIGHT_BOYS.zscore.yearly-ce4b1417.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1d053fcf.js → HEIGHT_GIRLS.percentile.monthly-5bf9a3b8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-473099c5.js → HEIGHT_GIRLS.percentile.weekly-94bbb7fb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-dc64f519.js → HEIGHT_GIRLS.percentile.yearly-384d97a5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c939091d.js → HEIGHT_GIRLS.zscore.monthly-8117ce07.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-b895cbc9.js → HEIGHT_GIRLS.zscore.weekly-9d995551.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-1dcb918f.js → HEIGHT_GIRLS.zscore.yearly-718f5e3a.js} +0 -0
- /package/build/esm/{Onboarding-add5dd83.js → Onboarding-036e6d1b.js} +0 -0
- /package/build/esm/{Visible-4a4b7e66.js → Visible-ce07dc1b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-ba6df589.js → WEIGHT_BOYS.percentile.monthly-6a8ea5d3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-20e95f47.js → WEIGHT_BOYS.percentile.weekly-3ad0cbdd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-c4c75e47.js → WEIGHT_BOYS.percentile.yearly-76dc8a50.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-42cc65b8.js → WEIGHT_BOYS.zscore.monthly-191cfa36.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-75f1ae59.js → WEIGHT_BOYS.zscore.weekly-4bffb414.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-e74253c8.js → WEIGHT_BOYS.zscore.yearly-a7cc5750.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-9219b2f3.js → WEIGHT_GIRLS.percentile.monthly-102db9bf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-d603045c.js → WEIGHT_GIRLS.percentile.weekly-c8addde3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-f9990dd3.js → WEIGHT_GIRLS.percentile.yearly-5cdb7052.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-7c6fff3e.js → WEIGHT_GIRLS.zscore.monthly-ceaa1311.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c606b5c7.js → WEIGHT_GIRLS.zscore.weekly-a80d732c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e6100a9c.js → WEIGHT_GIRLS.zscore.yearly-26ccfc55.js} +0 -0
- /package/build/esm/{constants-b9ca7f8a.js → constants-cf759a4a.js} +0 -0
- /package/build/esm/{cookieHelper-1ff2f721.js → cookieHelper-3cc288e6.js} +0 -0
- /package/build/esm/{dataTransform-cfc9ff16.js → dataTransform-ac8f5934.js} +0 -0
- /package/build/esm/{index-42667265.js → index-c0239260.js} +0 -0
- /package/build/esm/{isProduction-56a14b70.js → isProduction-d28e3981.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ea1fd511.js → localizeNumberFormat-b4dc8bc3.js} +0 -0
- /package/build/esm/{normalizeLink-7d7d766a.js → normalizeLink-3bd16672.js} +0 -0
- /package/build/esm/{theme-15484bb8.js → theme-b1eced2e.js} +0 -0
- /package/build/esm/{translationsContext-6568ee6e.js → translationsContext-be10740f.js} +0 -0
- /package/build/esm/{tslib.es6-4bcb933a.js → tslib.es6-e278d15e.js} +0 -0
- /package/build/esm/{types-2e546465.js → types-c9ad76a6.js} +0 -0
- /package/build/esm/{useIsInit-b4438db9.js → useIsInit-83ce352b.js} +0 -0
- /package/build/esm/{useOutsideClick-22b51dc6.js → useOutsideClick-abd19ef8.js} +0 -0
- /package/build/esm/{useScrollbarSize-1e2c6abe.js → useScrollbarSize-bc343899.js} +0 -0
- /package/build/esm/{useUniqueId-4ceecf73.js → useUniqueId-10a7e367.js} +0 -0
- /package/build/esm/{utils-73f32f2f.js → utils-a3a6589e.js} +0 -0
- /package/build/{index-4ad9d549.js → index-57f43a13.js} +0 -0
- /package/build/{isProduction-04ef06e8.js → isProduction-eae7a74b.js} +0 -0
- /package/build/{localizeNumberFormat-d78d139b.js → localizeNumberFormat-38b50b8f.js} +0 -0
- /package/build/{normalizeLink-0762b7e8.js → normalizeLink-4178facc.js} +0 -0
- /package/build/{theme-b0b9d99d.js → theme-edd36f7a.js} +0 -0
- /package/build/{translationsContext-f5233da0.js → translationsContext-04a2be1f.js} +0 -0
- /package/build/{tslib.es6-3addd388.js → tslib.es6-7539f964.js} +0 -0
- /package/build/{types-fbba27f7.js → types-1227f6cd.js} +0 -0
- /package/build/{useIsInit-1032778f.js → useIsInit-34b41302.js} +0 -0
- /package/build/{useOutsideClick-df026319.js → useOutsideClick-4f3b2da0.js} +0 -0
- /package/build/{useScrollbarSize-4a41fa8f.js → useScrollbarSize-dd033825.js} +0 -0
- /package/build/{useUniqueId-5184328f.js → useUniqueId-8bda838b.js} +0 -0
- /package/build/{utils-d8e07b2b.js → utils-61cfb3ba.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as e}from"./tslib.es6-
|
|
1
|
+
import{_ as e}from"./tslib.es6-e278d15e.js";import t,{useMemo as o}from"react";import{L as n}from"./Onboarding-036e6d1b.js";import{CommonGAssets as i}from"./gAssets.js";import{t as r}from"./theme-b1eced2e.js";import{T as a}from"./index-303b3307.js";import s from"styled-components";import{C as l}from"./index-d210ffc2.js";const c=s.div`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
width: ${e=>e.size}px;
|
|
@@ -36,15 +36,15 @@ import{_ as e}from"./tslib.es6-4bcb933a.js";import t,{useMemo as o}from"react";i
|
|
|
36
36
|
& > * {
|
|
37
37
|
pointer-events: none;
|
|
38
38
|
}
|
|
39
|
-
`,p=[
|
|
39
|
+
`,p=[n.Myanmar,n.Taiwan],m=s((n=>{var{icon:s,name:l,className:m,locale:g="en-PH",dataEventCategory:b,dataEventAction:x,dataEventLabel:h,onSelect:v}=n,f=e(n,["icon","name","className","locale","dataEventCategory","dataEventAction","dataEventLabel","onSelect"]);const u=o((()=>null==m?void 0:m.includes("selected-week-pill")),[m]);return t.createElement(d,Object.assign({onClick:v,className:m?"week-pill".concat(" non-pointer-event-child ",m):"week-pill non-pointer-event-child","data-event-category":b,"data-event-action":x,"data-event-label":h},f),t.createElement(c,{size:64,iconSize:40,backgroundColor:r.colors.white},t.createElement("img",{src:s||i.getAssetPath("week_default.png"),alt:""})),u?t.createElement(a,Object.assign({type:"semiBold",size:"n1",color:r.colors.gray800},p.includes(g)&&{style:{fontSize:"10px"}}),l):t.createElement(a,Object.assign({size:"n1",color:r.colors.gray600},p.includes(g)&&{style:{fontSize:"10px"}}),l))}))`
|
|
40
40
|
box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.08);
|
|
41
|
-
`,
|
|
41
|
+
`,g=s(l.Slide)`
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
> div * {
|
|
44
44
|
pointer-events: none;
|
|
45
45
|
}
|
|
46
|
-
`,
|
|
46
|
+
`,b=s(l)`
|
|
47
47
|
.centerred-pill-wrapper {
|
|
48
48
|
padding: 16px 0;
|
|
49
49
|
}
|
|
50
|
-
`;export{
|
|
50
|
+
`;export{b as S,g as a,m as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{css as o}from"styled-components";import{t}from"./theme-
|
|
1
|
+
import e,{css as o}from"styled-components";import{t}from"./theme-b1eced2e.js";import{M as r}from"./utils-a3a6589e.js";import{_ as i}from"./tslib.es6-e278d15e.js";import a,{useState as s,forwardRef as l}from"react";import{L as n}from"./index.styled-36fe7aba.js";import{C as c}from"./index-4f30cec1.js";import{T as d}from"./index-303b3307.js";import"dayjs";import{s as p,e as h,b as C,f as g,c as m,g as v,a as x,d as u,h as w}from"./screenSizeContext-0e9aeaf0.js";import"./index-85ee8ef5.js";import"./isProduction-d28e3981.js";import"./Onboarding-036e6d1b.js";import"./gAssets.js";import{createStyles as f}from"@mantine/core";const b=e.div`
|
|
2
2
|
background-color: var(--background-color, transparent);
|
|
3
3
|
color: white;
|
|
4
4
|
cursor: pointer;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{_ as e,a as t}from"./tslib.es6-
|
|
1
|
+
import{_ as e,a as t}from"./tslib.es6-e278d15e.js";import r,{createContext as n,useContext as o}from"react";import{createFormContext as a,yupResolver as i}from"@mantine/form";import"./index.styled-10eb643b.js";import{B as s}from"./index-54117aac.js";import"./gAssets.js";import{Container as l,Title as p,Input as m}from"@mantine/core";import"./index.styled-36fe7aba.js";import{c as d}from"./index-4f30cec1.js";import{M as c}from"./utils-a3a6589e.js";import{t as g}from"./theme-b1eced2e.js";import"./index.styled-e27c9e4c.js";import{u}from"./useTranslations-2f288d89.js";import"./index-c0239260.js";import{q as b,e as h,l as x,R as f,O as w}from"./index.styles-be7daa10.js";import"dayjs";import"./screenSizeContext-0e9aeaf0.js";import E from"styled-components";import{L as y}from"./index-85ee8ef5.js";import"./isProduction-d28e3981.js";import{L as P}from"./Onboarding-036e6d1b.js";import"./index-d210ffc2.js";import"@mantine/hooks";import"lodash/debounce";import{T as j}from"./index-b818144c.js";import{V as v}from"./Visible-ce07dc1b.js";import*as M from"yup";import"./translationsContext-be10740f.js";import"string-format";const I=n({}),[O,T,N]=a(),k=E.div`
|
|
2
2
|
margin-top: 70px;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-content: center;
|
|
7
|
-
`,z=
|
|
7
|
+
`,z=E(l)`
|
|
8
8
|
&.hhg-comp-onboarding-container.hhg-comp-onboarding-container {
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
@@ -45,9 +45,9 @@ import{_ as e,a as t}from"./tslib.es6-4bcb933a.js";import r,{createContext as n,
|
|
|
45
45
|
.form-button {
|
|
46
46
|
width: 100%;
|
|
47
47
|
}
|
|
48
|
-
`,C=
|
|
48
|
+
`,C=E.img`
|
|
49
49
|
margin-bottom: 38px;
|
|
50
|
-
`,
|
|
50
|
+
`,q=t=>{var n,{heading:a,description:i,children:s,className:l,imgSrc:m}=t,c=e(t,["heading","description","children","className","imgSrc"]);const{isMarryBaby:u,siteType:b}=o(I);return r.createElement(z,Object.assign({},c,{className:`hhg-comp-onboarding-container ${l}`,size:"sm"}),r.createElement(d,{type:u?b:(null===(n=y[process.env.UNIFY_LOCALE])||void 0===n?void 0:n.LOGO_TYPE)||"hellobacsi"}),r.createElement(k,null,m&&r.createElement(C,{src:m,loading:"lazy"}),r.createElement("div",{className:"header"},r.createElement(p,{order:3},a),r.createElement(j,{size:"p3",mt:8,color:g.colors.gray600},i)),s))},B=E.div`
|
|
51
51
|
.phone-input {
|
|
52
52
|
width: 100%;
|
|
53
53
|
margin-bottom: 32px;
|
|
@@ -64,7 +64,7 @@ import{_ as e,a as t}from"./tslib.es6-4bcb933a.js";import r,{createContext as n,
|
|
|
64
64
|
border-radius: 0 4px 4px 0;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
`,S={[P.Vietnam]:"VN",[P.Cambodia]:"KH",[P.Indonesia]:"ID",[P.Malaysia]:"MY",[P.PhilippinesEnglish]:"PH",[P.PhilippinesTagalog]:"PH",[P.Taiwan]:"TW",[P.Thailand]:"TH",[P.Myanmar]:"MM"},$=({inputOrder:e=["phone"]})=>{const{t:t}=u(),n=T(),o=r.createElement("div",{className:"phone-input"},r.createElement(b,Object.assign({defaultCountry:S[process.env.UNIFY_LOCALE]||"VN"},n.getInputProps("phone"))),r.createElement(m.Error,null,n.errors.phone)),a=r.createElement(h,Object.assign({label:r.createElement(j,{size:"s4",weight:"semiBold"},t("onboarding.formEmail.yourName")),withAsterisk:!0},n.getInputProps("name"))),i=r.createElement(h,Object.assign({label:r.createElement(j,{size:"s4",weight:"semiBold",span:!0},t("onboarding.formEmail.yourEmail")),withAsterisk:!0},n.getInputProps("email"))),s=r.createElement(x,Object.assign({label:r.createElement(j,{size:"s4",weight:"semiBold",span:!0},t("onboarding.formEmail.yourBirthday")),placeholder:"DD/MM/YYYY"},n.getInputProps("dob"))),l=r.createElement(f.Group,Object.assign({className:"radio-group",label:r.createElement(j,{size:"s4",weight:"semiBold",span:!0},t("bmi.selectGender"))},n.getInputProps("gender")),r.createElement(f,{value:"0",label:t("onboarding.formEmail.genderMale")}),r.createElement(f,{value:"1",label:t("onboarding.formEmail.genderFemale")})),p=r.createElement("div",{className:"otp-input"},r.createElement(w,Object.assign({enterKeyHint:void 0,nonce:void 0},n.getInputProps("otp"))),r.createElement(m.Error,null,n.errors.otp)),d=r.createElement(h.Password,Object.assign({label:r.createElement(j,{size:"s4",weight:"semiBold",span:!0},t("onboarding.updatePassword.password")),withAsterisk:!0,rightSection:r.createElement(v,null)},n.getInputProps("password"))),c=r.createElement(h.Password,Object.assign({label:r.createElement(j,{size:"s4",weight:"semiBold",span:!0},t("onboarding.updatePassword.confirmPassword")),withAsterisk:!0,rightSection:r.createElement(v,null)},n.getInputProps("confirmPassword"))),g=e.map((e=>{switch(e){case"phone":return o;case"full_name":return a;case"email":return i;case"dob":return s;case"gender":return l;case"otp":return p;case"password":return d;case"confirm_password":return c;default:return null}}));return r.createElement(B,null,g)},D=e=>M.object().shape({phone:M.string().required(e("onboarding.updatePhone.error")).default("")}),H=e=>M.object().shape({otp:M.string().required(e("onboarding.otpForm.error")).length(6,e("onboarding.otpForm.error")).default("")}),V=e=>M.object().shape({email:M.string().required(e("onboarding.errorMessage.requiredEmail")).email(e("onboarding.errorMessage.invalidEmail")).default(""),name:M.string().required(e("onboarding.errorMessage.requiredName"))}),Y=e=>M.object().shape({password:M.string().required(e("onboarding.errorMessage.requiredPassword")).min(8,e("onboarding.errorMessage.minLength",{length:8})).matches(/.*[A-Z].*/,e("onboarding.errorMessage.passWithPattern")).default(""),confirmPassword:M.string().required(e("onboarding.errorMessage.requiredConfirmPassword")).oneOf([M.ref("password"),null],e("onboarding.errorMessage.passNotMatch")).default("")}),A=E(q)`
|
|
68
68
|
.phone-input {
|
|
69
69
|
width: 100%;
|
|
70
70
|
margin-bottom: 32px;
|
|
@@ -81,7 +81,7 @@ import{_ as e,a as t}from"./tslib.es6-4bcb933a.js";import r,{createContext as n,
|
|
|
81
81
|
border-radius: 0 4px 4px 0;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
`,L={[
|
|
84
|
+
`,L={[P.Vietnam]:"VN",[P.Cambodia]:"KH",[P.Indonesia]:"ID",[P.Malaysia]:"MY",[P.PhilippinesEnglish]:"PH",[P.PhilippinesTagalog]:"PH",[P.Taiwan]:"TW",[P.Thailand]:"TH",[P.Myanmar]:"MM"},F=({onClose:e,onSubmit:n,canSkip:o=!0,customFormTexts:a})=>{const{t:l}=u(),p=N({initialValues:{phone:""},validate:i(D(l))});return r.createElement(A,{heading:(null==a?void 0:a.heading)||l("onboarding.updatePhone.heading"),description:(null==a?void 0:a.description)||l("onboarding.updatePhone.description")},r.createElement(O,{form:p},r.createElement("form",{onSubmit:p.onSubmit((e=>t(void 0,void 0,void 0,(function*(){n(e.phone)}))),(e=>{console.log(e)}))},r.createElement($,{inputOrder:["phone"]}),r.createElement(s,{color:"primary",isBlock:!0,size:"lg",type:"submit","data-event-category":"Sign Up","data-event-action":"Update Phone Number","data-event-label":"undefined"!=typeof window?window.location.href:"",className:"pointer-event-child-none"},l("onboarding.button.continue")),o&&r.createElement(s,{color:"ghost",isBlock:!0,size:"lg",onClick:e,type:"button"},l("onboarding.button.skip")))))};P.Vietnam,P.Cambodia,P.Indonesia,P.Malaysia,P.PhilippinesEnglish,P.PhilippinesTagalog,P.Taiwan,P.Thailand,P.Myanmar;const U=(e="")=>{const t=e.indexOf("@"),r=e.substring(0,t),n=r.length>3?3:r.length;return e.replace(e.substring(n,t),e.slice(n,t).replace(/./g,"x"))},_=E(q)`
|
|
85
85
|
.otp-input {
|
|
86
86
|
margin-bottom: 36px;
|
|
87
87
|
${c.mbDown} {
|
|
@@ -114,20 +114,20 @@ import{_ as e,a as t}from"./tslib.es6-4bcb933a.js";import r,{createContext as n,
|
|
|
114
114
|
margin-bottom: 3px;
|
|
115
115
|
margin-left: 3px;
|
|
116
116
|
}
|
|
117
|
-
`,G=
|
|
117
|
+
`,G=E.div`
|
|
118
118
|
position: fixed;
|
|
119
119
|
inset: 0;
|
|
120
120
|
z-index: 1000;
|
|
121
121
|
background: white;
|
|
122
122
|
overflow-y: auto;
|
|
123
|
-
`,K=
|
|
123
|
+
`,K=E.div`
|
|
124
124
|
height: 100%;
|
|
125
125
|
${c.lgPcUp} {
|
|
126
126
|
display: table;
|
|
127
127
|
width: 100%;
|
|
128
128
|
height: calc(100% - 25px);
|
|
129
129
|
}
|
|
130
|
-
`,W=
|
|
130
|
+
`,W=E.div`
|
|
131
131
|
padding: 48px 24px 24px;
|
|
132
132
|
|
|
133
133
|
${c.lgPcUp} {
|
|
@@ -137,7 +137,7 @@ import{_ as e,a as t}from"./tslib.es6-4bcb933a.js";import r,{createContext as n,
|
|
|
137
137
|
width: calc(100% - 640px);
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
`,R=
|
|
140
|
+
`,R=E.div`
|
|
141
141
|
width: 640px;
|
|
142
142
|
padding: 16px 16px 0 16px;
|
|
143
143
|
display: none;
|
|
@@ -146,7 +146,7 @@ import{_ as e,a as t}from"./tslib.es6-4bcb933a.js";import r,{createContext as n,
|
|
|
146
146
|
width: 640px;
|
|
147
147
|
display: table-cell;
|
|
148
148
|
}
|
|
149
|
-
`,Z=
|
|
149
|
+
`,Z=E.div`
|
|
150
150
|
background-color: ${g.colors.primary50};
|
|
151
151
|
border-radius: 12px;
|
|
152
152
|
height: 100%;
|
|
@@ -157,10 +157,10 @@ import{_ as e,a as t}from"./tslib.es6-4bcb933a.js";import r,{createContext as n,
|
|
|
157
157
|
&[data-is-marry-baby='true'] {
|
|
158
158
|
background-color: ${g.mbColors.tonePink};
|
|
159
159
|
}
|
|
160
|
-
`,J=
|
|
160
|
+
`,J=E.div`
|
|
161
161
|
margin-top: 40px;
|
|
162
162
|
padding: 24px 40px;
|
|
163
|
-
`,Q=
|
|
163
|
+
`,Q=E.img`
|
|
164
164
|
width: 100%;
|
|
165
165
|
display: block;
|
|
166
|
-
`;export{
|
|
166
|
+
`;export{$ as D,O as F,L as M,I as O,_ as S,V as a,q as b,Y as c,G as d,K as e,W as f,F as g,U as h,R as i,Z as j,J as k,Q as l,H as o,N as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from"react";import{M as t}from"./utils-
|
|
1
|
+
import e from"react";import{M as t}from"./utils-a3a6589e.js";import o from"styled-components";var i="DjBFAbd";const a=({children:t,className:o,style:a,htmlFor:s,size:r})=>e.createElement("label",{"data-size":r,className:`${i} ${o||""}`,style:a,htmlFor:s},t),s=o.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{M as e}from"./utils-
|
|
1
|
+
import{M as e}from"./utils-a3a6589e.js";import t from"styled-components";import{t as i}from"./theme-b1eced2e.js";import{C as o}from"./index.styled-10eb643b.js";import a,{useMemo as r,createContext as n,useState as l,useEffect as s,memo as p,useContext as d}from"react";import{u as c}from"./useTranslations-2f288d89.js";import{CommonGAssets as m}from"./gAssets.js";import{a as g,_ as h}from"./tslib.es6-e278d15e.js";import{C as u,a as b,T as x,d as f}from"./index-85ee8ef5.js";import{g as y}from"./cookieHelper-3cc288e6.js";import v from"slugify";import _ from"string-format";import{i as w}from"./isProduction-d28e3981.js";import{g as E,a as T,b as O,c as A}from"./routing-5f0bf904.js";import I from"dayjs";import L from"dayjs/plugin/relativeTime";const $=t.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
left: 50%;
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e,{memo as t,useRef as i,useState as a,useEffect as n,useImperativeHandle as o,Fragment as r,useMemo as s}from"react";import l,{keyframes as d,css as c}from"styled-components";import{M as p}from"./utils-
|
|
1
|
+
import e,{memo as t,useRef as i,useState as a,useEffect as n,useImperativeHandle as o,Fragment as r,useMemo as s}from"react";import l,{keyframes as d,css as c}from"styled-components";import{M as p}from"./utils-a3a6589e.js";import{L as h}from"./index-370d5017.js";import{T as m}from"./index-303b3307.js";import{useMantineTheme as u,createStyles as g}from"@mantine/core";import{B as f}from"./index-54117aac.js";import{B as x,T as b,C as y,P as v}from"./index.styled-10eb643b.js";import{H as w}from"./index-91f96d0e.js";import{I as k}from"./index-95334e1f.js";import{_ as E}from"./tslib.es6-e278d15e.js";import C from"dayjs";import"./screenSizeContext-0e9aeaf0.js";import{t as $}from"./theme-b1eced2e.js";import"./index-85ee8ef5.js";import"./isProduction-d28e3981.js";import{G as S}from"./Onboarding-036e6d1b.js";import"./gAssets.js";import{f as D,g as _}from"./index.styles-be7daa10.js";import{yupResolver as T}from"@hookform/resolvers/yup";import{useForm as z,Controller as I}from"react-hook-form";import{I as N}from"./index-61dc65d5.js";import{B as A,D as P}from"./index-ce0be0c8.js";import{u as B}from"./useTranslations-2f288d89.js";import{ar as j,b as O}from"./index.styled-76d47dc4.js";import{L}from"./index.styled-36fe7aba.js";import{C as M}from"./index-4f30cec1.js";import{format as F,addDays as U}from"date-fns";import{M as R}from"./index-57693834.js";import"./index-c0239260.js";import"./index-d210ffc2.js";import{S as q}from"./index-860446f9.js";import{D as H}from"./types-c9ad76a6.js";import V from"react-day-picker/DayPickerInput";const G=({type:t,size:i="small",label:a,name:n,checked:o,value:r,className:s,isDisabled:l=!1,onChange:d,dataEventCategory:c,dataEventAction:p,dataEventLabel:h})=>{const m=!!p&&!!c&&!!h?{"data-event-category":c,"data-event-action":p,"data-event-label":h}:{};return e.createElement(x,{"data-disabled":l,className:s,"data-type":t,"data-size":i},e.createElement("label",Object.assign({style:{display:"flex",alignItems:"center"}},m),e.createElement("input",Object.assign({type:"radio",checked:o,name:n,value:r,onChange:()=>d(r)},m)),a))},W=t((()=>e.createElement("div",{className:"shoppable"},e.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("rect",{width:"24",height:"24",rx:"12",fill:"#1B3250"}),e.createElement("path",{d:"M16.6667 8.00033H15.3333C15.3333 6.16033 13.84 4.66699 12 4.66699C10.16 4.66699 8.66667 6.16033 8.66667 8.00033H7.33333C6.6 8.00033 6 8.60033 6 9.33366V17.3337C6 18.067 6.6 18.667 7.33333 18.667H16.6667C17.4 18.667 18 18.067 18 17.3337V9.33366C18 8.60033 17.4 8.00033 16.6667 8.00033ZM12 6.00033C13.1067 6.00033 14 6.89366 14 8.00033H10C10 6.89366 10.8933 6.00033 12 6.00033ZM12 12.667C10.4467 12.667 9.14 11.607 8.77333 10.167C8.66 9.74699 8.98667 9.33366 9.42 9.33366C9.73333 9.33366 9.98667 9.56033 10.0733 9.86699C10.3067 10.7137 11.08 11.3337 12 11.3337C12.92 11.3337 13.6933 10.7137 13.9267 9.86699C14.0133 9.56033 14.2667 9.33366 14.58 9.33366C15.0133 9.33366 15.3333 9.74699 15.2267 10.167C14.86 11.607 13.5533 12.667 12 12.667Z",fill:"white"}))))),Y=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"14",height:"16",viewBox:"0 0 14 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M13 15L7 11.1111L1 15V2.55556C1 2.143 1.18061 1.74733 1.5021 1.45561C1.82359 1.16389 2.25963 1 2.71429 1H11.2857C11.7404 1 12.1764 1.16389 12.4979 1.45561C12.8194 1.74733 13 2.143 13 2.55556V15Z",fill:"#2ED69E",stroke:"#2ED69E",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})))),Z=t((({dataEventCategoryForBookmark:t,dataEventActionForBookmark:i,dataEventLabelForBookmark:a})=>e.createElement("svg",{"data-event-category":t,"data-event-action":i,"data-event-label":a,width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M12.75 2.25H5.25C4.425 2.25 3.75 2.925 3.75 3.75V15.75L9 13.5L14.25 15.75V3.75C14.25 2.925 13.575 2.25 12.75 2.25Z",fill:"#D2D6DC"})))),X=l.div`
|
|
2
2
|
--dropdown-padding: 12px 18px 12px 16px;
|
|
3
3
|
position: relative;
|
|
4
4
|
box-sizing: border-box;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as t}from"./tslib.es6-
|
|
1
|
+
import{_ as t}from"./tslib.es6-e278d15e.js";import e from"react";import i from"styled-components";const p=i((i=>{var{type:p}=i,n=t(i,["type"]);return e.createElement(p,n)}))`
|
|
2
2
|
color: var(--text-color, ${t=>t.theme.mbColors.dark});
|
|
3
3
|
font-family: Krub;
|
|
4
4
|
font-weight: 600;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import*as e from"react";import t,{useState as a,useEffect as r,forwardRef as n,Component as l,useRef as o,useCallback as i,useImperativeHandle as s}from"react";import{Image as c,createStyles as m,Textarea as h,Modal as d,Accordion as p,Indicator as g,Avatar as v,createEmotionCache as u,FileInput as f,NumberInput as z,PasswordInput as E,TextInput as b,Input as w,Checkbox as y,Slider as x,Radio as M,Flex as H}from"@mantine/core";import{CommonGAssets as j}from"./gAssets.js";import{DatePicker as k,DateRangePicker as C}from"@mantine/dates";import S,{css as O}from"styled-components";import $ from"dayjs";import"./screenSizeContext-0e9aeaf0.js";import{t as P}from"./theme-b1eced2e.js";import{s as I}from"./index-85ee8ef5.js";import{M as L}from"./utils-a3a6589e.js";import"./isProduction-d28e3981.js";import{L as A}from"./Onboarding-036e6d1b.js";import{_ as B,a as N}from"./tslib.es6-e278d15e.js";import{useDebouncedValue as T}from"@mantine/hooks";import{Carousel as D}from"@mantine/carousel";const W=S(k)`
|
|
2
|
+
position: relative;
|
|
3
|
+
${e=>e.fullWidth&&O`
|
|
4
|
+
.mantine-DatePicker-dropdown {
|
|
5
|
+
min-width: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
`}
|
|
11
|
+
`,V=S(C)`
|
|
12
|
+
position: relative;
|
|
13
|
+
${e=>e.fullWidth&&O`
|
|
14
|
+
.mantine-DateRangePicker-dropdown {
|
|
15
|
+
min-width: 100%;
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
}
|
|
20
|
+
`}
|
|
21
|
+
`,R=e=>t.createElement(W,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(c,{src:j.getAssetPath(e.isMB?"MB-calendar.svg":"OutlineCalendar.svg"),width:16,height:16})},e,{className:`input-control ${(null==e?void 0:e.className)||""}`}));R.Range=e=>t.createElement(V,Object.assign({size:"md",clearable:!1,fullWidth:!0,styles:{rightSection:{pointerEvents:"none",cursor:"default"}},rightSection:t.createElement(c,{src:j.getAssetPath("OutlineCalendar.svg"),width:16,height:16})},e));const F=Object.assign({},{fontSize:{base:[16,16],lg:[18,16],md:[18,16],sm:[16,14],xs:[14,12],s1:[22,18],s2:[18,16],s3:[16,14],s4:[14,12],s5:[12,12],p1:[18,16],p2:[16,16],p3:[16,14],p4:[14,12],c1:[16,14],c2:[14,12],n1:[12,12],label1:[14,14],label2:[12,12]},lineHeight:{base:[24,24],lg:[32,28],md:[32,28],sm:[24,22],xs:[24,18],s1:[32,26],s2:[28,24],s3:[24,24],s4:[22,18],s5:[18,18],p1:[32,28],p2:[24,24],p3:[24,22],p4:[22,18],c1:[24,22],c2:[22,18],n1:[18,18],label1:[22,22],label2:[18,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}});var G=m(((e,t)=>{var a,r,n,l,o,i,s,c,m,h;const d=null===(a=F.fontSize[null==t?void 0:t.size])||void 0===a?void 0:a[0],p=null===(r=F.lineHeight[null==t?void 0:t.size])||void 0===r?void 0:r[0],g=null!==(o=null===(l=null===(n=F.letterSpacing)||void 0===n?void 0:n[null==t?void 0:t.size])||void 0===l?void 0:l[0])&&void 0!==o?o:0,v=null===(i=F.fontSize[null==t?void 0:t.size])||void 0===i?void 0:i[1],u=null===(s=F.lineHeight[null==t?void 0:t.size])||void 0===s?void 0:s[1],f=null!==(h=null===(m=null===(c=F.letterSpacing)||void 0===c?void 0:c[null==t?void 0:t.size])||void 0===m?void 0:m[1])&&void 0!==h?h:0;return{root:{fontWeight:F.fontWeight[t.weight],fontSize:`${d}px`,lineHeight:`${p}px`,letterSpacing:g,[e.fn.smallerThan("sm")]:{fontSize:`${v}px`,lineHeight:`${u}px`,letterSpacing:f},"&[data-event-category] > *":{pointerEvents:"none"}}}}));const U="100ms",X={"&:hover":{border:`1px solid ${P.colors.primaryBase}`}};var Y=m(((e,t)=>{const{size:a,variant:r,skipHover:n,isError:l,color:o}=t;return{rootCustom:Object.assign(Object.assign(Object.assign(Object.assign({transition:`all ${U} ease-in-out`,"&[data-event-category] > *":{pointerEvents:"none"}},(()=>{switch(a){case"lg":return{height:48,fontWeight:600,fontSize:"16px",lineHeight:"24px"};case"md":return{height:40,fontWeight:600,fontSize:"14px",lineHeight:"22px"};case"sm":return{height:32,fontWeight:600,fontSize:"14px",lineHeight:"22px"}}})()),(()=>{var t,a;switch(r){case"primary":return Object.assign({color:e.white,backgroundColor:e.fn.primaryColor()},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][7]}});case"secondary":return Object.assign({color:e.fn.primaryColor(),backgroundColor:e.white,border:`1px solid ${e.fn.primaryColor()}`},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:`1px solid ${e.fn.primaryColor()}`}});case"tertiary":return{color:P.colors.gray800,backgroundColor:e.white,border:`1px solid ${P.colors.neutral200}`,"&:hover":Object.assign({},n?{backgroundColor:e.white,border:`1px solid ${P.colors.neutral200}`}:{backgroundColor:P.colors.neutral50,border:`1px solid ${P.colors.neutral50}`})};case"light":{const r=o||e.primaryColor;return{color:null===(a=null===(t=e.colors)||void 0===t?void 0:t[r])||void 0===a?void 0:a[Number(e.primaryShade)],backgroundColor:e.colors[r][0],border:"1px solid transparent","&:hover":Object.assign({},n?{backgroundColor:e.colors[r][0],border:"1px solid transparent"}:{backgroundColor:e.white,border:`1px solid ${e.colors[r][0]}`})}}case"ghost":return Object.assign({color:e.primaryColor,backgroundColor:"transparent",border:"1px solid transparent"},!n&&{"&:hover":{backgroundColor:e.colors[e.primaryColor][0],border:"1px solid transparent"}})}})()),{"&[data-disabled]":{backgroundColor:P.colors.gray100,color:P.colors.gray400}}),l?Object.assign({color:P.colors.red600,backgroundColor:e.white,border:`1px solid ${P.colors.red600}`},!n&&{"&:hover":{backgroundColor:P.colors.red50,border:`1px solid ${P.colors.red600}`}}):{})}}));const Z=S(h)`
|
|
22
|
+
.mantine-Textarea-input {
|
|
23
|
+
padding: 12px 16px;
|
|
24
|
+
background: #ffffff;
|
|
25
|
+
border: 1px solid ${P.colors.gray200};
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
}
|
|
28
|
+
`,K=S(d)`
|
|
29
|
+
.mantine-Modal-modal {
|
|
30
|
+
padding: 0;
|
|
31
|
+
}
|
|
32
|
+
.mantine-Modal-header {
|
|
33
|
+
border-bottom: 1px solid ${P.colors.neutral100};
|
|
34
|
+
margin-right: 0;
|
|
35
|
+
margin-bottom: 0;
|
|
36
|
+
padding: 16px;
|
|
37
|
+
}
|
|
38
|
+
.mantine-Modal-title {
|
|
39
|
+
width: 100%;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
margin-right: 0;
|
|
44
|
+
}
|
|
45
|
+
.mantine-Modal-close {
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
width: 24px;
|
|
48
|
+
height: 24px;
|
|
49
|
+
}
|
|
50
|
+
`,_=S(p)`
|
|
51
|
+
.mantine-Accordion-control {
|
|
52
|
+
&:hover {
|
|
53
|
+
background-color: transparent;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
.mantine-Accordion-item {
|
|
57
|
+
.mantine-Accordion-chevron {
|
|
58
|
+
> div {
|
|
59
|
+
background-repeat: no-repeat;
|
|
60
|
+
width: 16px;
|
|
61
|
+
height: 16px;
|
|
62
|
+
background-position: center;
|
|
63
|
+
background-image: url(${e=>e.closeChevron||j.getAssetPath("plus-icon.svg")});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
&[data-active='true'] {
|
|
67
|
+
.mantine-Accordion-chevron {
|
|
68
|
+
> div {
|
|
69
|
+
background-image: url(${e=>e.openChevron||j.getAssetPath("minus-icon.svg")});
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.mantine-Accordion-panel {
|
|
75
|
+
border-radius: ${e=>e.theme.borderRadius};
|
|
76
|
+
}
|
|
77
|
+
.mantine-Accordion-content {
|
|
78
|
+
white-space: pre-wrap;
|
|
79
|
+
}
|
|
80
|
+
`,q=e=>{var{children:a}=e,r=B(e,["children"]);return t.createElement(_,Object.assign({chevron:t.createElement("div",null),disableChevronRotation:!0,transitionDuration:300},r),a)};q.Control=p.Control,q.Item=p.Item,q.Panel=p.Panel;const Q=j.getAssetPath("avatar.jpg"),J=e=>{var{withIndicator:a=!1,indicatorConfig:r=null,size:n=56,children:l,styles:o}=e,i=B(e,["withIndicator","indicatorConfig","size","children","styles"]);const s=()=>t.createElement(v,Object.assign({size:n,radius:"xl"},i,{imageProps:Object.assign({loading:"lazy"},i.imageProps)}),l||t.createElement("img",{loading:"lazy",src:Q,width:n}));return a?t.createElement(g,Object.assign({inline:!0,position:"bottom-end",offset:9},r,{styles:Object.assign({indicator:{backgroundColor:t.isValidElement(r.label)&&"transparent",zIndex:1}},o)}),s()):s()},ee=300,te=u({key:"mantine",prepend:!1}),ae=e=>{var{value:n,onChange:l}=e,o=B(e,["value","onChange"]);const[i,s]=a(n),[c]=T(i,300);return r((()=>{null==l||l(c)}),[c]),r((()=>{s(n)}),[n]),t.createElement(z,Object.assign({size:"md",stepHoldDelay:500,stepHoldInterval:e=>Math.max(1e3/Math.pow(e,2),25),onChange:s,hideControls:!0,min:0,formatter:e=>0===Number(e)?e:e||"",removeTrailingZeros:!0,value:i},o))},re=j.getAssetPath("EyeVisible.svg"),ne=j.getAssetPath("EyeHidden.svg"),le=n(((e,a)=>{const{size:r="md",visibilityToggleIcon:n}=e,l=B(e,["size","visibilityToggleIcon"]),o=n||(({reveal:e,size:a})=>e?t.createElement("img",{src:re,width:a}):t.createElement("img",{src:ne,width:a}));return t.createElement(E,Object.assign({ref:a,size:r,visibilityToggleIcon:o},l,{className:`input-control ${(null==l?void 0:l.className)||""}`}))})),oe=n(((e,n)=>{var{value:l,onChange:o,onChangeRaw:i}=e,s=B(e,["value","onChange","onChangeRaw"]);const[c,m]=a(l||""),[h]=T(c,300);return r((()=>{null==o||o(h)}),[h]),r((()=>{m(l)}),[l]),t.createElement(b,Object.assign({ref:n,size:"md",onChange:e=>{null==i||i(e),m(e.currentTarget.value)},value:c},s,{className:`input-control ${(null==s?void 0:s.className)||""}`}))}));oe.File=e=>t.createElement(f,Object.assign({size:"md"},e)),oe.Password=le,oe.Number=ae,oe.Wrapper=w.Wrapper;class ie extends l{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||t.createElement(t.Fragment,null):this.props.children}}const se=e=>{var{slidesToShow:a=1,children:r}=e,n=B(e,["slidesToShow","children"]);return(Array.isArray(r)?r.length:1)?t.createElement(ie,null,t.createElement(D,Object.assign({slideSize:String(Math.floor(1/a*100))+"%",containScroll:"trimSnaps"},n),r)):null};se.Slide=D.Slide;const ce=e=>t.createElement(y,Object.assign({},e));ce.Group=y.Group;const me=S(x)`
|
|
81
|
+
${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 `}}
|
|
82
|
+
[data-theme='marryBaby'] & {
|
|
83
|
+
${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 `}}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.mantine-Slider-label {
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
color: #000;
|
|
89
|
+
font-size: 14px;
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
}
|
|
92
|
+
`,he=S.div`
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
95
|
+
.hhg-mantine-slider {
|
|
96
|
+
flex-grow: 1;
|
|
97
|
+
}
|
|
98
|
+
button {
|
|
99
|
+
path:not([stroke]) {
|
|
100
|
+
stroke: ${e=>e.theme.colors.primaryBase};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
[data-theme='marryBaby'] & {
|
|
104
|
+
button {
|
|
105
|
+
path:not([stroke]) {
|
|
106
|
+
stroke: ${e=>e.theme.mbColors.pink};
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
`,de=e=>{var{color:a,styles:r}=e,n=B(e,["color","styles"]);return t.createElement(M,Object.assign({size:"sm"},n,{styles:e=>Object.assign(Object.assign({},r),{icon:{color:e.colors[e.primaryColor][e.primaryShade]}})}))};de.Group=M.Group;const pe={[A.Vietnam]:"vi",[A.Cambodia]:"km",[A.India]:"hi",[A.Indonesia]:"id",[A.Malaysia]:"ms",[A.Thailand]:"th",[A.Taiwan]:"zh-tw",[A.PhilippinesTagalog]:"tl-ph",[A.PhilippinesEnglish]:"en",[A.Myanmar]:"my"},ge={[A.Vietnam]:()=>import("dayjs/locale/vi.js"),[A.Cambodia]:()=>import("dayjs/locale/km.js"),[A.India]:()=>import("dayjs/locale/hi.js"),[A.Indonesia]:()=>import("dayjs/locale/id.js"),[A.Malaysia]:()=>import("dayjs/locale/ms.js"),[A.Thailand]:()=>import("dayjs/locale/th.js"),[A.Taiwan]:()=>import("dayjs/locale/zh-tw.js"),[A.PhilippinesTagalog]:()=>import("dayjs/locale/tl-ph.js"),[A.PhilippinesEnglish]:()=>import("dayjs/locale/en.js"),[A.Myanmar]:()=>import("dayjs/locale/my.js")},ve=e=>{const[t,n]=a(!1);return r((()=>{N(void 0,void 0,void 0,(function*(){var t;n(!1),yield null===(t=ge[e])||void 0===t?void 0:t.call(ge),$.locale(pe[e]),n(!0)}))}),[e]),{isLoaded:t}},ue=[{size:40,lineHeight:"52px",letterSpacing:"-1.2px"},{size:32,lineHeight:"42px",letterSpacing:"-1px"},{size:26,lineHeight:"36px",letterSpacing:"-0.8px"},{size:22,lineHeight:"32px",letterSpacing:"-0.6px"},{size:18,lineHeight:"28px",letterSpacing:"-0.2px"},{size:16,lineHeight:"24px",letterSpacing:0}],fe=[{size:26,lineHeight:"534px",letterSpacing:"-0.9px"},{size:24,lineHeight:"32px",letterSpacing:"-0.8px"},{size:20,lineHeight:"26px",letterSpacing:"-0.7px"},{size:18,lineHeight:"26px",letterSpacing:"-0.6px"},{size:16,lineHeight:"24px",letterSpacing:"-0.2px"},{size:14,lineHeight:"22px",letterSpacing:"-0.2px"}],ze=(e=!1)=>Object.fromEntries((e?fe:ue).map(((e,t)=>[`&:is(h${t+1})`,{fontSize:e.size,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing}]))),Ee={Title:{styles:{root:Object.assign(Object.assign({fontWeight:F.fontWeight.bold},ze()),{[`&${L.mbDown}`]:Object.assign({},ze(!0))})}}},be={Radio:{styles:{radio:Object.assign(Object.assign({backgroundColor:"#ffffff"},X),{"&:checked":{backgroundColor:"#ffffff"}})}}},we={Tabs:{styles:{tabsList:{gap:16,borderBottom:"none"},tab:{padding:0,paddingBottom:8,color:P.colors.gray400,"&:hover":{backgroundColor:"initial",border:"initial"},"&[data-active='true']":{color:P.colors.primaryBase,borderColor:P.colors.primaryBase}}}}};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
|
|
111
|
+
/*!
|
|
112
|
+
Copyright (c) 2018 Jed Watson.
|
|
113
|
+
Licensed under the MIT License (MIT), see
|
|
114
|
+
http://jedwatson.github.io/classnames
|
|
115
|
+
*/}var Me=xe((function(e){!function(){var t={}.hasOwnProperty;function a(){for(var e=[],r=0;r<arguments.length;r++){var n=arguments[r];if(n){var l=typeof n;if("string"===l||"number"===l)e.push(n);else if(Array.isArray(n)){if(n.length){var o=a.apply(null,n);o&&e.push(o)}}else if("object"===l){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)t.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):window.classNames=a}()}));function He(e,t=6){const a=new Array(t).fill("");if(e){const t=e.toString().split("");a.map(((e,r)=>{t[r]&&(a[r]=t[r]||"")}))}return a}function je(e){return e.join("")}var ke="_2iQs0sk",Ce="Ia6IojY";const Se=n(((e,a)=>{const{maxLength:r=1,placeholder:n,className:l}=e,o=B(e,["maxLength","placeholder","className"]);return t.createElement("input",Object.assign({maxLength:r,className:Me(Ce,"otpInput",l),placeholder:n,type:"number"},o,{ref:a}))})),Oe=n(((e,n)=>{const{valueLength:l=6,type:c="number",value:m,defaultValue:h,onChange:d,onBlur:p}=e,g=o(new Array(l).fill(null)),[v,u]=a(h||m),[f,z]=a(-1),[E,b]=a((()=>He(v,l))),w=i((()=>{if(-1===f)return;const e=g.current[f];if(e){e.value="";const t=E;t[f]="",b(t),u((()=>je(t))),null==d||d(je(t))}}),[f,d,E]),y=i((()=>{if(0===f)return;const e=g.current[f];e&&e.blur();const t=g.current[f-1];t&&t.focus()}),[f]),x=i((()=>{if(f===l-1)return;const e=g.current[f];e&&e.blur();const t=g.current[f+1];t&&t.focus()}),[f,l]),M=i((e=>{const t=e.target,a=t.value.toString().slice(0,1),r=g.current.findIndex((e=>e===t));if(-1!==r){const e=E;e[r]=a,b(e),u((()=>je(e))),null==d||d(je(e))}x()}),[x,d,E]),j=i((e=>{const t=e.target,a=g.current.findIndex((e=>e===t));"number"===c?t.select():t.setSelectionRange(0,t.value.length,"backward"),-1!==a&&z(a)}),[]),k=i((e=>{const t=He(e.clipboardData.getData("text/plain"),l),a=je(t);b(t),u(a),null==d||d(a)}),[d,c,l]),C=i((e=>{8===e.keyCode||"Backspace"===e.key?(e.preventDefault(),w(),y()):46===e.keyCode||"Delete"===e.key?(e.preventDefault(),w()):37===e.keyCode||"ArrowLeft"===e.key?(e.preventDefault(),y()):39===e.keyCode||"ArrowRight"===e.key?(e.preventDefault(),x()):32!==e.keyCode&&" "!==e.key&&"Spacebar"!==e.key&&"Space"!==e.key||e.preventDefault()}),[w,x,y]);return s(n,(()=>g.current[0]),[]),r((()=>{b((()=>He(m,l))),u(m)}),[l,m]),t.createElement(H,{justify:"center",columnGap:8,className:Me(ke,"otpContainer")},E.map(((e,a)=>t.createElement(Se,{ref:e=>{g.current[a]=e},key:""+a,value:e,type:c,onChange:M,onFocus:j,onKeyDown:C,onPaste:k,onBlur:p}))))})),$e=t=>e.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 8 5",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M4 5L0.535898 0.5L7.4641 0.5L4 5Z"})),Pe=t=>e.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"},t),e.createElement("path",{fill:"#032ea1",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#e00025",d:"M0 120h640v240H0z"}),e.createElement("g",{fill:"#fff",stroke:"#000",transform:"matrix(1.2 0 0 1.2 85.6 -522)"},e.createElement("g",{strokeLinejoin:"bevel"},e.createElement("path",{d:"M139 623.5h113.8v43.8H139z"}),e.createElement("path",{d:"M247 647.6h3.5v16.5H247zm-108-8.1h113.8v5H139zm0-7h113.8v4.6H139z"}),e.createElement("path",{strokeWidth:.9,d:"M139 625.7h113.8v4.3H139z"}),e.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"}),e.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"})),e.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"}),e.createElement("path",{strokeLinejoin:"bevel",d:"M178.2 647.6h3.6v16.5h-3.6zm30.4 0h3.6v16.5h-3.6z"}),e.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"}),e.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"}),e.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"}),e.createElement("path",{d:"M190.7 639.2h9v30.3h-9z"}),e.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"}),e.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"}),e.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"}),e.createElement("g",{fill:"none",strokeWidth:.8},e.createElement("path",{d:"M186.8 570.6H204m-19.2 5.4h21m-23 6.5h24.9m-27 7.9h29.5m-30.2 9h30.4"}),e.createElement("path",{strokeWidth:1,d:"M170.8 629h48.6m-33.2 0h18v6.6h-18z"})),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.createElement("g",{id:"a"},e.createElement("path",{d:"M99 664.2v-20.4c-.7-2.6-3-5-4.6-5.4v-18l3.7 2 4.3 18.9v23z"}),e.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"}),e.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"}),e.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"}),e.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"}),e.createElement("path",{d:"M116 639.2h8.9v30.4h-9z"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"})),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"matrix(-1 0 0 1 390.7 0)"}),e.createElement("path",{d:"M72.7 694.3H318v12.5H72.7zm-6.5 12.5h258.3v12.5H66.2zm19.4-31.3H305v8.1H85.6z"}),e.createElement("path",{d:"M79.2 683.6h232.4v10.6H79.2zm10.2-14.3h212v6.2h-212z"}),e.createElement("path",{d:"M112.4 669.3h16v50h-16z"}),e.createElement("path",{d:"M116 669.3h8.9v50h-9zm71 0h16v50h-16z"}),e.createElement("path",{d:"M190.7 669.3h9v50h-9zm71.5 0h16v50h-16z"}),e.createElement("path",{d:"M265.7 669.3h9v50h-9z"}),e.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"}))),Ie=t=>e.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"},t),e.createElement("path",{fill:"#f93",d:"M0 0h640v160H0z"}),e.createElement("path",{fill:"#fff",d:"M0 160h640v160H0z"}),e.createElement("path",{fill:"#128807",d:"M0 320h640v160H0z"}),e.createElement("g",{transform:"matrix(3.2 0 0 3.2 320 240)"},e.createElement("circle",{r:20,fill:"#008"}),e.createElement("circle",{r:17.5,fill:"#fff"}),e.createElement("circle",{r:3.5,fill:"#008"}),e.createElement("g",{id:"d"},e.createElement("g",{id:"c"},e.createElement("g",{id:"b"},e.createElement("g",{id:"a",fill:"#008"},e.createElement("circle",{r:.9,transform:"rotate(7.5 -8.8 133.5)"}),e.createElement("path",{d:"M0 17.5.6 7 0 2l-.6 5L0 17.5z"})),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(15)"})),e.createElement("use",{xlinkHref:"#b",width:"100%",height:"100%",transform:"rotate(30)"})),e.createElement("use",{xlinkHref:"#c",width:"100%",height:"100%",transform:"rotate(60)"})),e.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(120)"}),e.createElement("use",{xlinkHref:"#d",width:"100%",height:"100%",transform:"rotate(-120)"}))),Le=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-id",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("g",{fillRule:"evenodd",strokeWidth:"1pt"},e.createElement("path",{fill:"#e70011",d:"M0 0h640v249H0z"}),e.createElement("path",{fill:"#fff",d:"M0 240h640v240H0z"}))),Ae=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-my",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#c00",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#fff",d:"M.5 39.9h639v38.4H.5zM.5 118.6h639V157H.5zM.5 197.4h639v38.4H.5z"}),e.createElement("path",{fill:"#006",d:"M0 .5h320v280H0Z"}),e.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"}),e.createElement("path",{fill:"#fff",d:"M.5 276.2h639v38.4H.5zM.5 354.4h639v38.4H.5zM0 441.6h639V480H0z"})),Be=t=>e.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"},t),e.createElement("path",{fill:"#fecb00",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#34b233",d:"M0 160h640v320H0z"}),e.createElement("path",{fill:"#ea2839",d:"M0 320h640v160H0z"}),e.createElement("g",{transform:"translate(320 256.9) scale(176.87999)"},e.createElement("path",{id:"a",fill:"#fff",d:"m0-1 .3 1h-.6z"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-144)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(-72)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(72)"}),e.createElement("use",{xlinkHref:"#a",width:"100%",height:"100%",transform:"rotate(144)"}))),Ne=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-ph",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("path",{fill:"#0038a8",d:"M0 0h640v240H0z"}),e.createElement("path",{fill:"#ce1126",d:"M0 240h640v240H0z"}),e.createElement("path",{fill:"#fff",d:"M415.7 240 0 480V0"}),e.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"})),Te=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-tw",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("clipPath",{id:"a"},e.createElement("path",{d:"M0 0h640v480H0z"})),e.createElement("g",{clipPath:"url(#a)"},e.createElement("path",{fill:"red",d:"M0 0h720v480H0z"}),e.createElement("path",{fill:"#000095",d:"M0 0h360v240H0z"}),e.createElement("g",{fill:"#fff"},e.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"}),e.createElement("path",{d:"m155.9 120-1.9 6.9 5.1 5.1z"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.createElement("path",{d:"m186.9 94-6.9-6.9-6.9 6.9 6.9 1.9z"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.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"}),e.createElement("path",{d:"m160.9 100.9 2.6-9.4-16.4-4.4 4.4 16.4z"}),e.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"}),e.createElement("path",{d:"M192 75.1 180 30l-12 45.1 12 12z"}),e.createElement("path",{d:"m173.1 94 6.9-6.9-12-12-4.5 16.4z"})),e.createElement("circle",{cx:180,cy:120,r:51.1,fill:"#000095"}),e.createElement("circle",{cx:180,cy:120,r:45.1,fill:"#fff"}))),De=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-th",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("g",{fillRule:"evenodd"},e.createElement("path",{fill:"#f4f5f8",d:"M0 0h640v480H0z"}),e.createElement("path",{fill:"#2d2a4a",d:"M0 162.5h640v160H0z"}),e.createElement("path",{fill:"#a51931",d:"M0 0h640v82.5H0zm0 400h640v80H0z"}))),We=t=>e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-vn",viewBox:"0 0 640 480",width:"1em",height:"1em"},t),e.createElement("defs",null,e.createElement("clipPath",{id:"a"},e.createElement("path",{fillOpacity:.7,d:"M-85.3 0h682.6v512H-85.3z"}))),e.createElement("g",{fillRule:"evenodd",clipPath:"url(#a)",transform:"translate(80) scale(.9375)"},e.createElement("path",{fill:"#da251d",d:"M-128 0h768v512h-768z"}),e.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"}))),Ve=Object.values(I).reduce(((e,{phoneCountry:t})=>(e.includes(t)||e.push(t),e)),[]),Re={PH:Ne,KH:Pe,ID:Ie,IN:Le,MM:Be,MY:Ae,TH:De,TW:Te,VN:We};var Fe={phoneInput:"i-9Ibox",error:"YDWHh9b"};const Ge=n(((e,n)=>{const{isError:l,defaultCountry:o,countries:i=Ve,countryCallingCodeEditable:s=!1,defaultValue:c,value:m,onChange:h,className:d}=e,p=B(e,["isError","defaultCountry","countries","countryCallingCodeEditable","defaultValue","value","onChange","className"]),[g,v]=a(c||m),[u,f]=a(null);return r((()=>{v(m)}),[m]),r((()=>{N(void 0,void 0,void 0,(function*(){const e=yield import("react-phone-number-input");f(e)}))}),[]),u?t.createElement(u.default,Object.assign({ref:n,value:g,onChange:e=>{v(e),null==h||h(e)},countries:i,defaultCountry:o,countryCallingCodeEditable:s,className:Me(Fe.phoneInput,{isError:l,[Fe.error]:l},d),flagUrl:void 0,flagComponent:e=>{const{country:a,countryName:r,flagUrl:n}=e,l=B(e,["country","countryName","flagUrl"]),o=Re[a],i=a?`(+${u.getCountryCallingCode(a)})`:"";return o?t.createElement(t.Fragment,null,t.createElement(o,Object.assign({title:r},l)),t.createElement("span",{className:Me(Fe.callingCode,"PhoneInputCountryIconCallingCode")},i)):t.createElement(t.Fragment,null)},countrySelectProps:{arrowComponent:()=>t.createElement("div",{className:Me(Fe.arrowSelect,"PhoneInputArrowContainer")},t.createElement($e,null))}},p)):null}));var Ue=m(((e,t)=>({root:{color:t.color||("hb"===e.primaryColor?"hb.6":e.fn.primaryColor()),"&[data-event-category] > *":{pointerEvents:"none"}}})));export{U as A,$e as C,ee as D,be as G,Ie as I,Ae as M,ae as N,Oe as O,Ne as P,de as R,he as S,Te as T,We as V,Pe as a,Le as b,Be as c,De as d,oe as e,xe as f,ye as g,G as h,me as i,K as j,Ue as k,R as l,X as m,pe as n,Ee as o,we as p,Ge as q,Z as r,ve as s,q as t,Y as u,J as v,se as w,ce as x,te as y,F as z};
|