@hhgtech/hhg-components 1.29.363-beta-17 → 1.29.365
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/{InputDate-0f72c6ac.js → InputDate-2826cf5c.js} +3 -3
- package/build/{LastPeriod-3f53745a.js → LastPeriod-bb33df00.js} +1 -1
- package/build/{Locale-a3c1d458.js → Locale-2022f5e8.js} +0 -1
- package/build/{MobileBottomNavigationIcon-323a9964.js → MobileBottomNavigationIcon-c88db9fd.js} +3 -3
- package/build/{Spinner-f391acdf.js → Spinner-cf864efb.js} +1 -1
- package/build/{WhatsApp-48c10a61.js → WhatsApp-037000e0.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/logo/index.d.ts +1 -1
- package/build/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +0 -7
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +0 -1
- package/build/components.js +96 -96
- package/build/{constants-22d4b1ae.js → constants-9d87a694.js} +0 -1
- package/build/{constants-27346bea.js → constants-ce0df464.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -3
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-7d88d989.js → core-83ce1989.js} +1 -1
- package/build/{dataTransform-221d3f6c.js → dataTransform-c0878bf7.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-40ee2d6f.js → editor-344dc019.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{InputDate-4a417ab7.js → InputDate-b8757a5a.js} +3 -3
- package/build/esm/{LastPeriod-33dc90b5.js → LastPeriod-edc8dc39.js} +1 -1
- package/build/esm/{Locale-322a6c55.js → Locale-2cf2d24e.js} +0 -1
- package/build/esm/{MobileBottomNavigationIcon-5500c94c.js → MobileBottomNavigationIcon-4a6ea924.js} +3 -3
- package/build/esm/{Spinner-020f734e.js → Spinner-512986ff.js} +1 -1
- package/build/esm/{WhatsApp-b0c2b31c.js → WhatsApp-4cc85490.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components/atoms/logo/index.d.ts +1 -1
- package/build/esm/components/navigationV2/components/molecules/navigationBar/index.styled.d.ts +0 -7
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +0 -1
- package/build/esm/components.js +96 -96
- package/build/esm/{constants-30d72c39.js → constants-3598f903.js} +0 -1
- package/build/esm/{constants-9ce3388e.js → constants-4c2024f8.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -3
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-d4ed1459.js → core-bfe09c7d.js} +1 -1
- package/build/esm/{dataTransform-00f5970f.js → dataTransform-902ed2ea.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-a8905d61.js → editor-cc247f42.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-82c2f3f5.js → healthTools-66885777.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -3
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-be660270.js → index-0114550f.js} +18 -18
- package/build/esm/{index-1ed07e9b.js → index-027d9b5d.js} +2 -2
- package/build/esm/{index-1bf76a34.js → index-033e007f.js} +2 -2
- package/build/esm/{index-e421ad5d.js → index-073f4b2d.js} +24 -24
- package/build/esm/{index-0c6a3098.js → index-07e18a19.js} +16 -16
- package/build/esm/{index-5bf7724e.js → index-09393826.js} +2 -2
- package/build/esm/{index-9a22987b.js → index-113a02c3.js} +32 -32
- package/build/esm/{index-5aa5c503.js → index-19b06267.js} +7 -7
- package/build/esm/{index-3085c501.js → index-19ef88f1.js} +25 -25
- package/build/esm/{index-8d34c8dd.js → index-1a674f0f.js} +5 -5
- package/build/esm/{index-8578d315.js → index-1fe882a0.js} +13 -13
- package/build/esm/{index-809c4232.js → index-21e5b287.js} +16 -16
- package/build/esm/{index-278a066e.js → index-266e57f0.js} +7 -7
- package/build/esm/{index-ef7f5953.js → index-36215bbb.js} +2 -2
- package/build/esm/{index-ff35fda5.js → index-362575fc.js} +1 -1
- package/build/esm/{index-aa168cad.js → index-3e3d575f.js} +31 -31
- package/build/esm/{index-75d8c80d.js → index-40225988.js} +2 -2
- package/build/esm/{index-309dfe14.js → index-42454274.js} +3 -3
- package/build/esm/{index-4703262f.js → index-43d20add.js} +3 -3
- package/build/esm/{index-69596509.js → index-45ccdf7b.js} +10 -10
- package/build/esm/{index-a034f4a9.js → index-4a99d310.js} +13 -13
- package/build/esm/{index-69e0dd91.js → index-4ab4dab8.js} +1 -1
- package/build/esm/{index-132bb9f4.js → index-524ee39f.js} +2 -2
- package/build/esm/{index-4d127801.js → index-586b4860.js} +2 -2
- package/build/esm/{index-e447e2b6.js → index-5eccb83a.js} +2 -2
- package/build/esm/{index-17c77d99.js → index-6aaaa064.js} +17 -17
- package/build/esm/{index-50ab7972.js → index-6ab7141b.js} +2 -2
- package/build/esm/{index-8321b01a.js → index-70257e2c.js} +1 -1
- package/build/esm/{index-a2921149.js → index-71ba6e70.js} +6 -6
- package/build/esm/{index-a50eaef7.js → index-7f10d6a3.js} +2 -2
- package/build/esm/{index-ca45470d.js → index-8124b117.js} +1 -1
- package/build/esm/{index-70af2ef8.js → index-84168f61.js} +6 -6
- package/build/esm/{index-5d6e6f49.js → index-869ee1da.js} +2 -39
- package/build/esm/{index-3c060100.js → index-88680aef.js} +3 -3
- package/build/esm/{index-4eec43b4.js → index-95dd001e.js} +17 -17
- package/build/esm/{index-c9702f5b.js → index-a434a8b0.js} +6 -6
- package/build/esm/{index-ae673091.js → index-a5b3371b.js} +18 -18
- package/build/esm/{index-4b49adc0.js → index-ac051afc.js} +1 -1
- package/build/esm/{index-d5b26b5d.js → index-ad36264b.js} +21 -21
- package/build/esm/{index-47af13b8.js → index-b14c441b.js} +16 -16
- package/build/esm/{index-603dcc35.js → index-b8acfd8d.js} +2 -2
- package/build/esm/{index-0d5f6b92.js → index-bc3932cc.js} +6 -6
- package/build/esm/{index-1994794b.js → index-bcf513d3.js} +13 -13
- package/build/esm/{index-a0bb6e2c.js → index-bd1df05c.js} +3 -3
- package/build/esm/{index-0b637b94.js → index-bf5b1e52.js} +13 -13
- package/build/esm/{index-b79690ae.js → index-c8ee8be9.js} +2 -2
- package/build/esm/{index-4e4c3811.js → index-ca87b257.js} +6 -6
- package/build/esm/{index-490d7df5.js → index-ce44f804.js} +2 -2
- package/build/esm/{index-36034f3d.js → index-cf4b1a22.js} +3 -3
- package/build/esm/{index-49d59c4f.js → index-d2f3b5a9.js} +22 -22
- package/build/esm/{index-03a04537.js → index-d8793d43.js} +1 -1
- package/build/esm/{index-18bc9de4.js → index-e04b0b0c.js} +1 -1
- package/build/esm/{index-ad3c9432.js → index-e272331a.js} +1 -1
- package/build/esm/{index-958c7eb9.js → index-e5ced018.js} +17 -17
- package/build/esm/{index-8c74cc2e.js → index-e82453ec.js} +3 -3
- package/build/esm/{index-48779b13.js → index-e8d868cc.js} +17 -17
- package/build/esm/{index-6644e32d.js → index-eb362db2.js} +4 -4
- package/build/esm/{index-ae058afa.js → index-ec349ad0.js} +11 -11
- package/build/esm/{index-d3a590bc.js → index-efe10888.js} +16 -16
- package/build/esm/{index-a0fbcd79.js → index-f2bbe865.js} +15 -15
- package/build/esm/{index-a7e32636.js → index-f9bf90d4.js} +36 -52
- package/build/esm/{index-cc5a2388.js → index-fa2e9cee.js} +8 -9
- package/build/esm/{index-ff08cc44.js → index-fd27d404.js} +5 -5
- package/build/esm/{index-51167629.js → index-ff4422a9.js} +1 -1
- package/build/esm/index.js +117 -117
- package/build/esm/interfaces/constants/domainLocales.d.ts +0 -2
- package/build/esm/interfaces/constants/index.d.ts +1 -1
- package/build/esm/interfaces/types/Locale.d.ts +1 -2
- package/build/esm/interfaces/types/index.d.ts +1 -1
- package/build/esm/{labelSorting-40412eda.js → labelSorting-e0ad276f.js} +4 -4
- package/build/esm/lead.js +26 -35
- package/build/esm/{logoIcon-e484704f.js → logoIcon-1ba212f1.js} +2 -3
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +73 -73
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +45 -45
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +23 -23
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +49 -49
- package/build/esm/{post-bf331a3c.js → post-606f0f2e.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/esm/ssoV2.js +39 -51
- package/build/esm/{store-81e49d22.js → store-2c045631.js} +4 -4
- package/build/esm/subot/components/userInfoForm/utils.d.ts +0 -22
- package/build/esm/subot.js +58 -88
- package/build/esm/surveyOrPremiumBanner.js +32 -32
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-f4d70737.js → surveyThankyouCard-6bb0f764.js} +5 -5
- package/build/esm/together.js +55 -55
- package/build/esm/togetherApiUtils.js +4 -4
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +4 -4
- package/build/esm/togetherMolecules.js +50 -50
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +38 -38
- package/build/esm/togetherOrganisms.js +49 -49
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-79e3610e.js → treePopoverMenu-2cff3991.js} +19 -19
- package/build/esm/{types-7030f896.js → types-b14fe919.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-11575824.js → useCategory-f18c0ca6.js} +5 -18
- package/build/esm/{useHealthToolCache-51424cd8.js → useHealthToolCache-429c2a46.js} +1 -1
- package/build/esm/{useMantineLocale-6de7d0c7.js → useMantineLocale-5d84852d.js} +6 -8
- package/build/esm/{usePlacesAutocomplete-651fc9bf.js → usePlacesAutocomplete-23b56299.js} +1 -1
- package/build/esm/{useScreenSize-da0123e0.js → useScreenSize-719df3e3.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-0c117118.js → utils-05acf47b.js} +3 -3
- package/build/esm/{utils-42d38f43.js → utils-57c4db5e.js} +2 -2
- package/build/esm/{utils-9bf3749a.js → utils-8fc44df9.js} +4 -4
- package/build/esm/{utils-07e6063a.js → utils-d3b41fb0.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-6d67bf11.js → healthTools-600e27a3.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +1 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-df8e52a0.js → index-005761a2.js} +8 -9
- package/build/{index-84951fb1.js → index-02a8d3de.js} +10 -10
- package/build/{index-dae07d82.js → index-066a8738.js} +13 -13
- package/build/{index-5d03c6fa.js → index-06effe69.js} +3 -3
- package/build/{index-174b99a7.js → index-0a55649a.js} +17 -17
- package/build/{index-59f70ea2.js → index-0d024513.js} +3 -3
- package/build/{index-3765a371.js → index-101e6e42.js} +11 -11
- package/build/{index-6417b4cd.js → index-1281aabe.js} +5 -5
- package/build/{index-205e85b6.js → index-160f427a.js} +2 -39
- package/build/{index-34a7d91a.js → index-2775b032.js} +2 -2
- package/build/{index-5e10f640.js → index-2a0d5f4c.js} +1 -1
- package/build/{index-ce256ba8.js → index-334ab8f5.js} +6 -6
- package/build/{index-a36a7a6d.js → index-41861e78.js} +2 -2
- package/build/{index-73cf3580.js → index-43a5ad56.js} +2 -2
- package/build/{index-51d4da05.js → index-45825aa8.js} +2 -2
- package/build/{index-5b8084d3.js → index-4e926120.js} +18 -18
- package/build/{index-0aaad346.js → index-50497506.js} +6 -6
- package/build/{index-da1449c5.js → index-527d84f1.js} +7 -7
- package/build/{index-c2f1fd91.js → index-5285704f.js} +1 -1
- package/build/{index-9b9f209e.js → index-574f27b6.js} +2 -2
- package/build/{index-371f1e6a.js → index-6953e067.js} +17 -17
- package/build/{index-d4f0c71b.js → index-69c8e0bc.js} +3 -3
- package/build/{index-13c6d7f5.js → index-69cb3a46.js} +1 -1
- package/build/{index-dee90ea3.js → index-70e73d2d.js} +6 -6
- package/build/{index-d0aa5127.js → index-793d3604.js} +18 -18
- package/build/{index-57f03702.js → index-7ba81059.js} +2 -2
- package/build/{index-831bd3ac.js → index-80eb1c9e.js} +31 -31
- package/build/{index-1eeb1981.js → index-821c7b1d.js} +15 -15
- package/build/{index-423aa81c.js → index-830bc120.js} +2 -2
- package/build/{index-f9f43170.js → index-835cd587.js} +17 -17
- package/build/{index-f3fd82fe.js → index-87eaca3f.js} +41 -57
- package/build/{index-73d39364.js → index-8da23124.js} +1 -1
- package/build/{index-27b7e6ef.js → index-8f95d227.js} +3 -3
- package/build/{index-cfc0a627.js → index-909da5c7.js} +1 -1
- package/build/{index-c00b0a3e.js → index-930dd016.js} +16 -16
- package/build/{index-0167066d.js → index-9405f9dc.js} +21 -21
- package/build/{index-c4186177.js → index-96f74284.js} +16 -16
- package/build/{index-3fc33132.js → index-97b022b5.js} +2 -2
- package/build/{index-e9ddb00d.js → index-9bbc738c.js} +7 -7
- package/build/{index-c92cb4c5.js → index-9cf8241a.js} +1 -1
- package/build/{index-813cebc7.js → index-a0c610b0.js} +25 -25
- package/build/{index-94c8d3f7.js → index-a23c592f.js} +4 -4
- package/build/{index-23e76be9.js → index-a989fca4.js} +17 -17
- package/build/{index-d076c2ee.js → index-ab3c66be.js} +1 -1
- package/build/{index-852ce430.js → index-b1076b31.js} +1 -1
- package/build/{index-c781963e.js → index-b2eaaaaf.js} +16 -16
- package/build/{index-85c7e2ea.js → index-b71bc3f2.js} +5 -5
- package/build/{index-026d7dc3.js → index-c5624ce2.js} +1 -1
- package/build/{index-f2989683.js → index-c64cca52.js} +13 -13
- package/build/{index-d725e3e6.js → index-ca42cae5.js} +2 -2
- package/build/{index-96f272bb.js → index-cd71e191.js} +13 -13
- package/build/{index-2ff144f7.js → index-d10018db.js} +6 -6
- package/build/{index-72c00157.js → index-d28ba3a1.js} +24 -24
- package/build/{index-8b127963.js → index-d3e370e6.js} +32 -32
- package/build/{index-8e6e8bac.js → index-d449b2b3.js} +2 -2
- package/build/{index-f15efa3f.js → index-e0765d4d.js} +3 -3
- package/build/{index-c2684394.js → index-e0e1d8b4.js} +22 -22
- package/build/{index-ebe9521b.js → index-e1f56494.js} +3 -3
- package/build/{index-3a2a3257.js → index-e5e886f0.js} +13 -13
- package/build/{index-0984cb11.js → index-e83d44a6.js} +2 -2
- package/build/{index-e56615cf.js → index-ef0d96b0.js} +16 -16
- package/build/{index-dc49daa5.js → index-efdeeaa4.js} +2 -2
- package/build/{index-a5059c93.js → index-f13bb2ec.js} +2 -2
- package/build/{index-72c0dda1.js → index-f8674988.js} +6 -6
- package/build/index.js +117 -117
- package/build/interfaces/constants/domainLocales.d.ts +0 -2
- package/build/interfaces/constants/index.d.ts +1 -1
- package/build/interfaces/types/Locale.d.ts +1 -2
- package/build/interfaces/types/index.d.ts +1 -1
- package/build/{labelSorting-4231a0d1.js → labelSorting-77e42304.js} +4 -4
- package/build/lead.js +26 -35
- package/build/{logoIcon-64ec44ae.js → logoIcon-46491b88.js} +2 -3
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +73 -73
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +45 -45
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +49 -49
- package/build/{post-5748bcc0.js → post-18fda7cb.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +1 -2
- package/build/ssoV2.js +37 -49
- package/build/{store-e700df69.js → store-3934a4ab.js} +4 -4
- package/build/subot/components/userInfoForm/utils.d.ts +0 -22
- package/build/subot.js +57 -87
- package/build/surveyOrPremiumBanner.js +32 -32
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-ab0456fe.js → surveyThankyouCard-e8e8895c.js} +5 -5
- package/build/together.js +55 -55
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +50 -50
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +38 -38
- package/build/togetherOrganisms.js +49 -49
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-ae62c43f.js → treePopoverMenu-04da21cb.js} +19 -19
- package/build/{types-7d0bb2b6.js → types-d7e0c465.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-0fa8a0a9.js → useCategory-b65b09d9.js} +5 -18
- package/build/{useHealthToolCache-09df81ee.js → useHealthToolCache-8533e36a.js} +1 -1
- package/build/{useMantineLocale-f8c8a1fd.js → useMantineLocale-95f6b7f6.js} +6 -8
- package/build/{usePlacesAutocomplete-002385ac.js → usePlacesAutocomplete-d9ed9494.js} +1 -1
- package/build/{useScreenSize-12ac95c2.js → useScreenSize-ed8f2885.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-4cab6240.js → utils-07c229fa.js} +4 -4
- package/build/{utils-b14ecf27.js → utils-78d3d391.js} +2 -2
- package/build/{utils-6bc6a5db.js → utils-d96752d9.js} +3 -3
- package/build/{utils-0a1689b4.js → utils-e37940a5.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/i18n-values/zh-CN.js +0 -855
- package/build/i18n-values/zh-CN.js +0 -866
- /package/build/{BMI_BOYS.percentile.monthly-32272a0b.js → BMI_BOYS.percentile.monthly-8ebcd968.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-c4b06191.js → BMI_BOYS.percentile.weekly-78724d23.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-041fd95d.js → BMI_BOYS.percentile.yearly-304e6eb8.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-be45dee0.js → BMI_BOYS.zscore.monthly-03a65504.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-16120ed3.js → BMI_BOYS.zscore.weekly-6064e5b0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-fc2aad99.js → BMI_BOYS.zscore.yearly-a4533e34.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-d760b1b5.js → BMI_GIRLS.percentile.monthly-d166c7b7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-7ce4c76e.js → BMI_GIRLS.percentile.weekly-c1dd82cc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-6ca55366.js → BMI_GIRLS.percentile.yearly-1cd5a0b9.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-ae254b8f.js → BMI_GIRLS.zscore.monthly-c303f3b7.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-84983836.js → BMI_GIRLS.zscore.weekly-af4f085e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-aefb1ef4.js → BMI_GIRLS.zscore.yearly-cc45a18e.js} +0 -0
- /package/build/{ChevronDown-84f0a8e9.js → ChevronDown-44def4f4.js} +0 -0
- /package/build/{Close-1c454ebd.js → Close-8bb5c4dd.js} +0 -0
- /package/build/{Google-6f609cbc.js → Google-ead487a3.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-6db42f1c.js → HEAD CIRCUM_BOYS.percentile.monthly-a7548f19.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-62c88fa5.js → HEAD CIRCUM_BOYS.percentile.weekly-7e5621d8.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f26b7af9.js → HEAD CIRCUM_BOYS.percentile.yearly-7a6550b2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-c4657eef.js → HEAD CIRCUM_BOYS.zscore.monthly-750beb01.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2d29ff1a.js → HEAD CIRCUM_BOYS.zscore.weekly-74aecc7f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-3dad2319.js → HEAD CIRCUM_BOYS.zscore.yearly-7aae2221.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-3808e495.js → HEAD CIRCUM_GIRLS.percentile.monthly-0123f7bf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-0a81a3da.js → HEAD CIRCUM_GIRLS.percentile.weekly-2df66cb9.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-9d191fdc.js → HEAD CIRCUM_GIRLS.percentile.yearly-4b1872cb.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ee11dd28.js → HEAD CIRCUM_GIRLS.zscore.monthly-76352856.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7fd46d8d.js → HEAD CIRCUM_GIRLS.zscore.weekly-65b0ffbc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-7b96896f.js → HEAD CIRCUM_GIRLS.zscore.yearly-8d1e9998.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-10a5d502.js → HEIGHT_BOYS.percentile.monthly-0fbdfd33.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-cfd74f56.js → HEIGHT_BOYS.percentile.weekly-5f139741.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b9d8aca4.js → HEIGHT_BOYS.percentile.yearly-b6170225.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-eaef0e73.js → HEIGHT_BOYS.zscore.monthly-4c20dc53.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-691bd6ec.js → HEIGHT_BOYS.zscore.weekly-3651a335.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3c8e0068.js → HEIGHT_BOYS.zscore.yearly-56200361.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-dd9e6c08.js → HEIGHT_GIRLS.percentile.monthly-52b548e4.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-73f44332.js → HEIGHT_GIRLS.percentile.weekly-6dd74b93.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-5075aff7.js → HEIGHT_GIRLS.percentile.yearly-1ae4bb05.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-4edafaec.js → HEIGHT_GIRLS.zscore.monthly-b96d692c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-1590fe71.js → HEIGHT_GIRLS.zscore.weekly-60db52e9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-f33205ee.js → HEIGHT_GIRLS.zscore.yearly-26faea80.js} +0 -0
- /package/build/{Visible-9ab8db67.js → Visible-0dc1c8b3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-9acc7d4c.js → WEIGHT_BOYS.percentile.monthly-d8c67bd8.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-25e789d3.js → WEIGHT_BOYS.percentile.weekly-76c5c713.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-36c93215.js → WEIGHT_BOYS.percentile.yearly-b1ff02cd.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-78dc1e49.js → WEIGHT_BOYS.zscore.monthly-cf8d722e.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-dbf28d0f.js → WEIGHT_BOYS.zscore.weekly-dfd47511.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-2c5073ca.js → WEIGHT_BOYS.zscore.yearly-183207e9.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-483beec0.js → WEIGHT_GIRLS.percentile.monthly-6069842a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-9b0e3bbe.js → WEIGHT_GIRLS.percentile.weekly-b3574e5b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-5ed1c004.js → WEIGHT_GIRLS.percentile.yearly-951e1822.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-fb85a3a4.js → WEIGHT_GIRLS.zscore.monthly-ccc0b46c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-13e8b689.js → WEIGHT_GIRLS.zscore.weekly-9c1ce14e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-fa6f478d.js → WEIGHT_GIRLS.zscore.yearly-8fb369f6.js} +0 -0
- /package/build/{animation-522b1d62.js → animation-2a27f670.js} +0 -0
- /package/build/{constants-6a107a69.js → constants-b499d6a1.js} +0 -0
- /package/build/{constants-d6273203.js → constants-e35361be.js} +0 -0
- /package/build/{dataTransform-a6cc6631.js → dataTransform-4c374340.js} +0 -0
- /package/build/{doctor-64ac04bc.js → doctor-efb534a1.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-298c6f8a.js → BMI_BOYS.percentile.monthly-61892d6d.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-150094fd.js → BMI_BOYS.percentile.weekly-859dbb1f.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-1ed126d3.js → BMI_BOYS.percentile.yearly-fe3f7984.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-35d43001.js → BMI_BOYS.zscore.monthly-c540bb57.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-837beaa5.js → BMI_BOYS.zscore.weekly-d7ef9cf7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c7ce11a5.js → BMI_BOYS.zscore.yearly-00b95284.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-aadbb3b4.js → BMI_GIRLS.percentile.monthly-fa543787.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-b76acc9e.js → BMI_GIRLS.percentile.weekly-e9510b3b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-f8a3cb3a.js → BMI_GIRLS.percentile.yearly-06d9ce6c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-b98d5b43.js → BMI_GIRLS.zscore.monthly-82a0108a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-8f2e9b9a.js → BMI_GIRLS.zscore.weekly-683a41c1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-81daa5b0.js → BMI_GIRLS.zscore.yearly-0501a389.js} +0 -0
- /package/build/esm/{ChevronDown-cb9116f4.js → ChevronDown-695014c9.js} +0 -0
- /package/build/esm/{Close-5aaea759.js → Close-1ff84140.js} +0 -0
- /package/build/esm/{Google-6c2e214f.js → Google-fb5f1ac3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-d1dc4371.js → HEAD CIRCUM_BOYS.percentile.monthly-1d66879b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-9d552a5b.js → HEAD CIRCUM_BOYS.percentile.weekly-95c6d579.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-236eff9d.js → HEAD CIRCUM_BOYS.percentile.yearly-fbe4eb03.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-25dcacef.js → HEAD CIRCUM_BOYS.zscore.monthly-73e1ce21.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-3a0a4c88.js → HEAD CIRCUM_BOYS.zscore.weekly-cda8a64d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-d13c711d.js → HEAD CIRCUM_BOYS.zscore.yearly-1658ca58.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4549c48f.js → HEAD CIRCUM_GIRLS.percentile.monthly-07c7d098.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-47ca84d4.js → HEAD CIRCUM_GIRLS.percentile.weekly-16bf916d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-e21af5f9.js → HEAD CIRCUM_GIRLS.percentile.yearly-e6e86e46.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-22dda62b.js → HEAD CIRCUM_GIRLS.zscore.monthly-5a14b9f9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-077add4e.js → HEAD CIRCUM_GIRLS.zscore.weekly-11d6dee5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-91c85aa5.js → HEAD CIRCUM_GIRLS.zscore.yearly-ffd60c24.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-0c2e4d12.js → HEIGHT_BOYS.percentile.monthly-6139538d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-836ad3d0.js → HEIGHT_BOYS.percentile.weekly-07adf705.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-866ed327.js → HEIGHT_BOYS.percentile.yearly-5696c375.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4e412a47.js → HEIGHT_BOYS.zscore.monthly-e6953647.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-cc847e75.js → HEIGHT_BOYS.zscore.weekly-8b4df26d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-c3078348.js → HEIGHT_BOYS.zscore.yearly-c3365682.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-86b85aa0.js → HEIGHT_GIRLS.percentile.monthly-5c3d2128.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-7941e170.js → HEIGHT_GIRLS.percentile.weekly-8029dc97.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-845cf471.js → HEIGHT_GIRLS.percentile.yearly-2b53f9cd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-610043ce.js → HEIGHT_GIRLS.zscore.monthly-0b7c5aef.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-981993c9.js → HEIGHT_GIRLS.zscore.weekly-b9a3b493.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-72c3173a.js → HEIGHT_GIRLS.zscore.yearly-b579546b.js} +0 -0
- /package/build/esm/{Visible-345d9e25.js → Visible-9f207824.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-cb37d4a7.js → WEIGHT_BOYS.percentile.monthly-aed541ba.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-233aaad7.js → WEIGHT_BOYS.percentile.weekly-9735785a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-ef75e927.js → WEIGHT_BOYS.percentile.yearly-2cf97cbd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-c6eb789f.js → WEIGHT_BOYS.zscore.monthly-2e2cf9da.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-395a575e.js → WEIGHT_BOYS.zscore.weekly-46b73ed1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-2471fb0b.js → WEIGHT_BOYS.zscore.yearly-1199b2b7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-c1fbaac1.js → WEIGHT_GIRLS.percentile.monthly-8a4c786b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-d068f650.js → WEIGHT_GIRLS.percentile.weekly-55c6cd10.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-b50b243f.js → WEIGHT_GIRLS.percentile.yearly-fc515da9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-9fb4bb35.js → WEIGHT_GIRLS.zscore.monthly-a88b1b4f.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-c8a98e33.js → WEIGHT_GIRLS.zscore.weekly-e527f3f3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8d05b5d7.js → WEIGHT_GIRLS.zscore.yearly-8d9eba63.js} +0 -0
- /package/build/esm/{animation-5b47bfd2.js → animation-d057a714.js} +0 -0
- /package/build/esm/{constants-971ffa90.js → constants-4fa8928c.js} +0 -0
- /package/build/esm/{constants-7ce85487.js → constants-eae536b0.js} +0 -0
- /package/build/esm/{dataTransform-b30c0c2a.js → dataTransform-a0c483da.js} +0 -0
- /package/build/esm/{doctor-41ff4cbe.js → doctor-5ea4eb1c.js} +0 -0
- /package/build/esm/{index-7d6c74d0.js → index-34340a6f.js} +0 -0
- /package/build/esm/{index-d68cbc98.js → index-64156480.js} +0 -0
- /package/build/esm/{index-2b962efb.js → index-6f9822de.js} +0 -0
- /package/build/esm/{index-dcb8dd13.js → index-84c4dbe1.js} +0 -0
- /package/build/esm/{index-0ff318e4.js → index-9afd6a12.js} +0 -0
- /package/build/esm/{index-54ca51ea.js → index-9cde0fc3.js} +0 -0
- /package/build/esm/{index-fde1062a.js → index-c6ad42f2.js} +0 -0
- /package/build/esm/{index-2c2e01f4.js → index-f14e9f26.js} +0 -0
- /package/build/esm/{index.styles-171c46fc.js → index.styles-7a34124f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-74bb2412.js → localizeNumberFormat-e2de76ea.js} +0 -0
- /package/build/esm/{normalizeLink-67b4ec49.js → normalizeLink-aa34fdb9.js} +0 -0
- /package/build/esm/{number-53010cca.js → number-96957210.js} +0 -0
- /package/build/esm/{other-e49065c8.js → other-118d57f1.js} +0 -0
- /package/build/esm/{paths-b6ef70bb.js → paths-31e56346.js} +0 -0
- /package/build/esm/{translationsContext-b1dce049.js → translationsContext-df39038b.js} +0 -0
- /package/build/esm/{tslib.es6-e811ec6f.js → tslib.es6-ce986163.js} +0 -0
- /package/build/esm/{types-15d82514.js → types-d9e1519d.js} +0 -0
- /package/build/esm/{useIsInit-fafa0379.js → useIsInit-471ba94b.js} +0 -0
- /package/build/esm/{useOutsideClick-fa9e9a12.js → useOutsideClick-c5a3563f.js} +0 -0
- /package/build/esm/{useScrollbarSize-fcc47346.js → useScrollbarSize-69b5c777.js} +0 -0
- /package/build/esm/{useUniqueId-2baaa427.js → useUniqueId-5b8eba56.js} +0 -0
- /package/build/esm/{utils-c109477c.js → utils-fc064c23.js} +0 -0
- /package/build/{index-4df1311e.js → index-0c0bac92.js} +0 -0
- /package/build/{index-dd350874.js → index-1b707b5a.js} +0 -0
- /package/build/{index-f4fdb510.js → index-3ef46574.js} +0 -0
- /package/build/{index-a293bc5b.js → index-5d62ab71.js} +0 -0
- /package/build/{index-24121bc4.js → index-64d0705e.js} +0 -0
- /package/build/{index-50f6ac6b.js → index-704cc84b.js} +0 -0
- /package/build/{index-597fd05b.js → index-8c1be153.js} +0 -0
- /package/build/{index-0e176f1c.js → index-e80c86e8.js} +0 -0
- /package/build/{index.styles-29a99f38.js → index.styles-6b7ddfb0.js} +0 -0
- /package/build/{localizeNumberFormat-d9a7b2e2.js → localizeNumberFormat-cdf374ef.js} +0 -0
- /package/build/{normalizeLink-f807c539.js → normalizeLink-9c4285b5.js} +0 -0
- /package/build/{number-43329788.js → number-19cc9825.js} +0 -0
- /package/build/{other-1db0392c.js → other-3ac24826.js} +0 -0
- /package/build/{paths-f006fc42.js → paths-91f3f249.js} +0 -0
- /package/build/{translationsContext-f686817a.js → translationsContext-4437fa01.js} +0 -0
- /package/build/{tslib.es6-34b523b5.js → tslib.es6-a6bae155.js} +0 -0
- /package/build/{types-27511c19.js → types-f002aea3.js} +0 -0
- /package/build/{useIsInit-3882bb80.js → useIsInit-3e0a2653.js} +0 -0
- /package/build/{useOutsideClick-0bb575db.js → useOutsideClick-d2dc246f.js} +0 -0
- /package/build/{useScrollbarSize-f83e3e29.js → useScrollbarSize-c5e22515.js} +0 -0
- /package/build/{useUniqueId-bc6d298c.js → useUniqueId-1f3fcb95.js} +0 -0
- /package/build/{utils-920a38b8.js → utils-4f2cfa7e.js} +0 -0
package/build/esm/ssoV2.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-ce986163.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useState, useCallback, forwardRef } from 'react';
|
|
3
3
|
import { getCookie, setCookie, deleteCookie } from './miscCookieHelper.js';
|
|
4
|
-
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-
|
|
5
|
-
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, m as redirect } from './store-
|
|
6
|
-
export { u as useSSOV2Store } from './store-
|
|
4
|
+
import { I as Input, s as styles, O as OTP, f as PasswordInput, E as ErrorBoundary } from './index-ec349ad0.js';
|
|
5
|
+
import { S as SSOStepTypeType, a as useSSOSteps, u as useSSOV2Store, i as isUserFinishedSetup, f as fetchSSOV2Api, w as websiteId, b as SSO_V2_PATHS, c as checkUserExist, F as FacebookAppId, G as GoogleAuthClientId, h as handleAuthSuccess, g as getUserInfo, d as updateUserInfo, e as isPhoneNotVerifedYet, j as isLoginWithPhoneNotVerifedYet, k as isFlowFinishedSetup, r as resetPassword, m as redirect } from './store-2c045631.js';
|
|
6
|
+
export { u as useSSOV2Store } from './store-2c045631.js';
|
|
7
7
|
import { isProduction } from './constantsIsProduction.js';
|
|
8
8
|
import { ChevronLeft } from '@hhgtech/icons/arrow';
|
|
9
9
|
import { Close, Search, ReplySquare } from '@hhgtech/icons/core';
|
|
10
|
-
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-
|
|
11
|
-
import { L as LogoIcon } from './logoIcon-
|
|
12
|
-
import { B as Button } from './index-
|
|
13
|
-
import { M as Modal } from './index-
|
|
10
|
+
import { Z as ZINDEX_SSO, L as LOCALE_SPECS, S as STATIC_PAGES, Q as QUERY_HEALTH_TOOL } from './index-869ee1da.js';
|
|
11
|
+
import { L as LogoIcon } from './logoIcon-1ba212f1.js';
|
|
12
|
+
import { B as Button } from './index-e272331a.js';
|
|
13
|
+
import { M as Modal } from './index-5eccb83a.js';
|
|
14
14
|
import { Stack, Flex, Box, Group, Divider } from '@mantine/core';
|
|
15
15
|
import '@mantine/dates';
|
|
16
|
-
import './index-
|
|
17
|
-
import { C as CommonGAssets } from './index-
|
|
18
|
-
import { s as showNotification } from './useMantineLocale-
|
|
19
|
-
import { T as Text } from './index-
|
|
20
|
-
import { u as useTranslations } from './index-
|
|
16
|
+
import './index-362575fc.js';
|
|
17
|
+
import { C as CommonGAssets } from './index-9afd6a12.js';
|
|
18
|
+
import { s as showNotification } from './useMantineLocale-5d84852d.js';
|
|
19
|
+
import { T as Text } from './index-36215bbb.js';
|
|
20
|
+
import { u as useTranslations } from './index-ac051afc.js';
|
|
21
21
|
import '@mantine/hooks';
|
|
22
|
-
import './utils-
|
|
23
|
-
import './other-
|
|
24
|
-
import './index-
|
|
25
|
-
import { L as LOCALE } from './Locale-
|
|
26
|
-
import { I as ImageWrap, u as useScreenSize } from './useScreenSize-
|
|
27
|
-
import { G as Google, F as Facebook } from './Google-
|
|
22
|
+
import './utils-fc064c23.js';
|
|
23
|
+
import './other-118d57f1.js';
|
|
24
|
+
import './index-cf4b1a22.js';
|
|
25
|
+
import { L as LOCALE } from './Locale-2cf2d24e.js';
|
|
26
|
+
import { I as ImageWrap, u as useScreenSize } from './useScreenSize-719df3e3.js';
|
|
27
|
+
import { G as Google, F as Facebook } from './Google-fb5f1ac3.js';
|
|
28
28
|
import { parsePhoneNumber, getCountryCallingCode } from 'react-phone-number-input';
|
|
29
|
-
import { i as isFeatureWhatsAppEnabled, a as isFeatureZaloEnabled, b as isFeatureSMSEnabled, c as isSupportProduct } from './utils-
|
|
30
|
-
export { g as getURLwithSSOTracking } from './utils-
|
|
31
|
-
import { S as Spoiler } from './index-
|
|
29
|
+
import { i as isFeatureWhatsAppEnabled, a as isFeatureZaloEnabled, b as isFeatureSMSEnabled, c as isSupportProduct } from './utils-8fc44df9.js';
|
|
30
|
+
export { g as getURLwithSSOTracking } from './utils-8fc44df9.js';
|
|
31
|
+
import { S as Spoiler } from './index-43d20add.js';
|
|
32
32
|
import { domainLocales, MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
33
33
|
import styled from '@emotion/styled';
|
|
34
34
|
import cn from 'classnames';
|
|
@@ -37,31 +37,26 @@ import debounce from 'lodash/debounce';
|
|
|
37
37
|
import throttle from 'lodash/throttle';
|
|
38
38
|
import Flags from 'react-phone-number-input/flags';
|
|
39
39
|
import { Drawer } from 'vaul';
|
|
40
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
40
|
+
import { M as MAPPED_LOCALE } from './utils-d3b41fb0.js';
|
|
41
41
|
import { useForm, yupResolver } from '@mantine/form';
|
|
42
42
|
import * as yup from 'yup';
|
|
43
43
|
import dayjs from 'dayjs';
|
|
44
|
-
import { D as DatePicker } from './index-
|
|
44
|
+
import { D as DatePicker } from './index-71ba6e70.js';
|
|
45
45
|
import '@mantine/carousel';
|
|
46
46
|
import './miscTheme.js';
|
|
47
|
-
import './useUniqueId-
|
|
47
|
+
import './useUniqueId-5b8eba56.js';
|
|
48
48
|
import './constantsSite.js';
|
|
49
49
|
import 'zustand';
|
|
50
|
-
import './normalizeLink-
|
|
50
|
+
import './normalizeLink-aa34fdb9.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsRiskScreener.js';
|
|
53
|
-
import './index.styles-
|
|
53
|
+
import './index.styles-7a34124f.js';
|
|
54
54
|
import '@mantine/notifications';
|
|
55
|
-
import './translationsContext-
|
|
56
|
-
import './healthTools-
|
|
55
|
+
import './translationsContext-df39038b.js';
|
|
56
|
+
import './healthTools-66885777.js';
|
|
57
57
|
|
|
58
58
|
// const fakeData = {
|
|
59
|
-
const
|
|
60
|
-
return setupSource === 'community'
|
|
61
|
-
? 'abTestingCommunityFlow'
|
|
62
|
-
: 'abTestingFlow';
|
|
63
|
-
};
|
|
64
|
-
const fetchFeatureFlag = (site, setupSource) => __awaiter(void 0, void 0, void 0, function* () {
|
|
59
|
+
const fetchFeatureFlag = (site) => __awaiter(void 0, void 0, void 0, function* () {
|
|
65
60
|
var _a, _b;
|
|
66
61
|
let data = null;
|
|
67
62
|
try {
|
|
@@ -72,11 +67,9 @@ const fetchFeatureFlag = (site, setupSource) => __awaiter(void 0, void 0, void 0
|
|
|
72
67
|
data = yield response.json();
|
|
73
68
|
}
|
|
74
69
|
catch (err) {
|
|
75
|
-
data =
|
|
70
|
+
data = null;
|
|
76
71
|
}
|
|
77
|
-
|
|
78
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
79
|
-
return (_b = (_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.flags) === null || _b === void 0 ? void 0 : _b.find((o) => o.name === flagKey);
|
|
72
|
+
return (_b = (_a = data === null || data === void 0 ? void 0 : data.data) === null || _a === void 0 ? void 0 : _a.flags) === null || _b === void 0 ? void 0 : _b.find((o) => o.name === 'SSO_V2_flag');
|
|
80
73
|
});
|
|
81
74
|
|
|
82
75
|
const SSOStateContext = createContext({
|
|
@@ -4548,7 +4541,7 @@ if (!String.prototype.capitalize) {
|
|
|
4548
4541
|
};
|
|
4549
4542
|
}
|
|
4550
4543
|
const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
4551
|
-
const { isOpen, setOpen, returnUrl, setMounted, source, overrideClose, setOnCloseProp, forceReloadOnClose, setABTestFlow,
|
|
4544
|
+
const { isOpen, setOpen, returnUrl, setMounted, source, overrideClose, setOnCloseProp, forceReloadOnClose, setABTestFlow, } = useSSOV2Store();
|
|
4552
4545
|
useEffect(() => {
|
|
4553
4546
|
setMounted(true);
|
|
4554
4547
|
return () => {
|
|
@@ -4568,9 +4561,8 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
4568
4561
|
}, [onCloseProps]);
|
|
4569
4562
|
useEffect(() => {
|
|
4570
4563
|
const site = MAP_DOMAIN_BY_LOCALE[locale];
|
|
4571
|
-
const
|
|
4572
|
-
|
|
4573
|
-
fetchFeatureFlag(site, setupSource).then((data) => {
|
|
4564
|
+
const previousABTestingFlow = getCookie('abTestingFlow');
|
|
4565
|
+
fetchFeatureFlag(site).then((data) => {
|
|
4574
4566
|
if (data.is_enabled && isSupportProduct(data.products)) {
|
|
4575
4567
|
if (previousABTestingFlow) {
|
|
4576
4568
|
setABTestFlow(previousABTestingFlow);
|
|
@@ -4579,28 +4571,24 @@ const SSOV2 = ({ onClose: onCloseProps, locale }) => {
|
|
|
4579
4571
|
const randomBetween100Percent = Math.floor(Math.random() * 100 + 1);
|
|
4580
4572
|
const aFlow = data.a_percentage;
|
|
4581
4573
|
if (randomBetween100Percent <= aFlow) {
|
|
4582
|
-
setCookie(
|
|
4574
|
+
setCookie('abTestingFlow', 'A', {
|
|
4583
4575
|
days: 30,
|
|
4584
|
-
domain: '.' + site,
|
|
4585
|
-
path: '/',
|
|
4586
4576
|
});
|
|
4587
4577
|
setABTestFlow('A');
|
|
4588
4578
|
}
|
|
4589
4579
|
else {
|
|
4590
|
-
setCookie(
|
|
4580
|
+
setCookie('abTestingFlow', 'B', {
|
|
4591
4581
|
days: 30,
|
|
4592
|
-
domain: '.' + site,
|
|
4593
|
-
path: '/',
|
|
4594
4582
|
});
|
|
4595
4583
|
setABTestFlow('B');
|
|
4596
4584
|
}
|
|
4597
4585
|
}
|
|
4598
4586
|
}
|
|
4599
4587
|
else {
|
|
4600
|
-
deleteCookie(
|
|
4588
|
+
deleteCookie('abTestingFlow');
|
|
4601
4589
|
}
|
|
4602
4590
|
});
|
|
4603
|
-
}, [locale
|
|
4591
|
+
}, [locale]);
|
|
4604
4592
|
if (!isOpen) {
|
|
4605
4593
|
return null;
|
|
4606
4594
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-ce986163.js';
|
|
2
2
|
import { create } from 'zustand';
|
|
3
3
|
import { isProduction } from './constantsIsProduction.js';
|
|
4
|
-
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-
|
|
5
|
-
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, e as BEARER_TOKEN_COOKIE$1 } from './index-
|
|
4
|
+
import { e as normalizeLinkSlash, a as getCurrentSsoUrl } from './normalizeLink-aa34fdb9.js';
|
|
5
|
+
import { L as LOCALE_SPECS, B as BEARER_REFRESH_TOKEN_COOKIE, e as BEARER_TOKEN_COOKIE$1 } from './index-869ee1da.js';
|
|
6
6
|
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
7
|
-
import { L as LOCALE } from './Locale-
|
|
7
|
+
import { L as LOCALE } from './Locale-2cf2d24e.js';
|
|
8
8
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
9
9
|
|
|
10
10
|
const SSO_V2_PATHS = {
|
|
@@ -11,25 +11,3 @@ export declare const isActionTypeOtp: (type: string) => boolean;
|
|
|
11
11
|
export declare const getTranslateVerifiedOtpMessages: () => Map<any, any>;
|
|
12
12
|
export declare const getTransPleaseVerifiedOtp: () => Map<any, any>;
|
|
13
13
|
export declare const validateDateField: (value: Date | string, isSubmitting: boolean, f?: TogetherComponentGlobalContextType['formatMessage'], cb?: (value: Date) => string | true) => string | true;
|
|
14
|
-
export declare const OTP_VERIFIED_MSG_CODE: {
|
|
15
|
-
ERR_PHONE_VERIFIED: {
|
|
16
|
-
id: string;
|
|
17
|
-
defaultMessage: string;
|
|
18
|
-
};
|
|
19
|
-
ERR_OTP_EXPIRED: {
|
|
20
|
-
id: string;
|
|
21
|
-
defaultMessage: string;
|
|
22
|
-
};
|
|
23
|
-
ERR_INVALID_PHONE_NUMBER: {
|
|
24
|
-
id: string;
|
|
25
|
-
defaultMessage: string;
|
|
26
|
-
};
|
|
27
|
-
ERR_OTP_INVALID: {
|
|
28
|
-
id: string;
|
|
29
|
-
defaultMessage: string;
|
|
30
|
-
};
|
|
31
|
-
ERR_UNKNOWN: {
|
|
32
|
-
id: string;
|
|
33
|
-
defaultMessage: string;
|
|
34
|
-
};
|
|
35
|
-
};
|
package/build/esm/subot.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, useImperativeHandle, memo } from 'react';
|
|
2
|
-
import { d as NodeType, E as ELEMENT_CONTROL_INPUT_TYPE, f as NodeActionType, c as NodePosition, e as NodeFinalTypes, g as NodeMultipleOptions, N as NodeIntentType, F as FULL_KEY_ADDRESS, C as COMMON_DATE_TRANSLATE_KEY } from './index-
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import { f as basePath, G as GA_TOKEN_COOKIE, A as API_DATE_FORMAT, I as ISO_FORMAT, g as SSO_URL } from './index-
|
|
2
|
+
import { d as NodeType, E as ELEMENT_CONTROL_INPUT_TYPE, f as NodeActionType, c as NodePosition, e as NodeFinalTypes, g as NodeMultipleOptions, N as NodeIntentType, F as FULL_KEY_ADDRESS, C as COMMON_DATE_TRANSLATE_KEY } from './index-362575fc.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-ce986163.js';
|
|
4
|
+
import { f as basePath, G as GA_TOKEN_COOKIE, A as API_DATE_FORMAT, I as ISO_FORMAT, g as SSO_URL } from './index-869ee1da.js';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import fd from 'fastdom';
|
|
7
7
|
import fastdomPromised from 'fastdom/extensions/fastdom-promised';
|
|
8
|
-
import { G as GlobalData, c as callApi, u as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, u as locale, T as TogetherComponentGlobalContext } from './utils-05acf47b.js';
|
|
9
9
|
import formatString from 'string-format';
|
|
10
|
-
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, i as formatUrlWithEncrypedGa, T as TIME_RESET_RESEND_OTP, j as isFakeEmail, s as ssoIntents, k as getHhgIdFromCookie } from './index-
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, i as formatUrlWithEncrypedGa, g as getHelloSitesUrl, k as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, j as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-
|
|
10
|
+
import { a as getUserIdFromCookie, b as getSubotCookieId, c as getUserInfoFromCookie, d as getWindowId, o as overrideParamsByQuery, e as checkUntilFinished, g as getHelloSitesUrl, f as checkMobile, h as clickAndOpenInNewTab, i as formatUrlWithEncrypedGa, T as TIME_RESET_RESEND_OTP, j as isFakeEmail, s as ssoIntents, k as getHhgIdFromCookie } from './index-bd1df05c.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, i as formatUrlWithEncrypedGa, g as getHelloSitesUrl, k as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, j as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-bd1df05c.js';
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
13
|
import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
14
14
|
import cn from 'classnames';
|
|
15
|
-
import { C as Container$w } from './index-
|
|
16
|
-
import { L as Loading } from './index-
|
|
15
|
+
import { C as Container$w } from './index-f14e9f26.js';
|
|
16
|
+
import { L as Loading } from './index-524ee39f.js';
|
|
17
17
|
import { motion } from 'framer-motion';
|
|
18
18
|
import styled from '@emotion/styled';
|
|
19
|
-
import { M as MediaQueries } from './utils-
|
|
20
|
-
import { B as Button } from './index-
|
|
19
|
+
import { M as MediaQueries } from './utils-fc064c23.js';
|
|
20
|
+
import { B as Button } from './index-e272331a.js';
|
|
21
21
|
import { Remarkable } from 'remarkable';
|
|
22
22
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
23
23
|
import { useInView } from 'react-intersection-observer';
|
|
24
24
|
import { Box, Textarea } from '@mantine/core';
|
|
25
|
-
import { C as CommonGAssets } from './index-
|
|
25
|
+
import { C as CommonGAssets } from './index-9afd6a12.js';
|
|
26
26
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import { d as LEAD_TOKEN_COOKIE } from './constants-
|
|
27
|
+
import { d as LEAD_TOKEN_COOKIE } from './constants-eae536b0.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-36215bbb.js';
|
|
30
30
|
import { theme } from './miscTheme.js';
|
|
31
31
|
import { isProduction } from './constantsIsProduction.js';
|
|
32
|
-
import { S as Select } from './index-
|
|
32
|
+
import { S as Select } from './index-ec349ad0.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-5d84852d.js';
|
|
35
|
+
import './index.styles-7a34124f.js';
|
|
36
|
+
import './translationsContext-df39038b.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-118d57f1.js';
|
|
39
|
+
import './index-cf4b1a22.js';
|
|
40
40
|
import isEmpty from 'lodash/isEmpty';
|
|
41
41
|
import { Controller, useForm } from 'react-hook-form';
|
|
42
42
|
import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
|
|
43
43
|
import { LoadScript } from '@react-google-maps/api';
|
|
44
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-
|
|
44
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-23b56299.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { L as LOCALE } from './Locale-
|
|
47
|
-
import { I as InputDate } from './InputDate-
|
|
48
|
-
import { B as Button$1 } from './index-
|
|
49
|
-
import { D as Dropdown } from './index-
|
|
50
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
51
|
-
import { g as getURLwithSSOTracking } from './utils-
|
|
46
|
+
import { L as LOCALE } from './Locale-2cf2d24e.js';
|
|
47
|
+
import { I as InputDate } from './InputDate-b8757a5a.js';
|
|
48
|
+
import { B as Button$1 } from './index-c8ee8be9.js';
|
|
49
|
+
import { D as Dropdown } from './index-64156480.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-2c045631.js';
|
|
51
|
+
import { g as getURLwithSSOTracking } from './utils-8fc44df9.js';
|
|
52
52
|
import 'date-fns/locale';
|
|
53
53
|
import './constantsSite.js';
|
|
54
54
|
import './constantsRiskScreener.js';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-34340a6f.js';
|
|
56
56
|
import './miscCookieHelper.js';
|
|
57
57
|
import 'slugify';
|
|
58
58
|
import './togetherApiPaths.js';
|
|
59
|
-
import './index-
|
|
60
|
-
import './WhatsApp-
|
|
61
|
-
import './Spinner-
|
|
62
|
-
import './index-
|
|
63
|
-
import './useScreenSize-
|
|
59
|
+
import './index-88680aef.js';
|
|
60
|
+
import './WhatsApp-4cc85490.js';
|
|
61
|
+
import './Spinner-512986ff.js';
|
|
62
|
+
import './index-ac051afc.js';
|
|
63
|
+
import './useScreenSize-719df3e3.js';
|
|
64
64
|
import '@mantine/carousel';
|
|
65
|
-
import './useUniqueId-
|
|
65
|
+
import './useUniqueId-5b8eba56.js';
|
|
66
66
|
import '@hhgtech/icons/core';
|
|
67
67
|
import '@mantine/notifications';
|
|
68
68
|
import '@emotion/react';
|
|
69
69
|
import 'zustand';
|
|
70
|
-
import './normalizeLink-
|
|
71
|
-
import './healthTools-
|
|
70
|
+
import './normalizeLink-aa34fdb9.js';
|
|
71
|
+
import './healthTools-66885777.js';
|
|
72
72
|
|
|
73
73
|
// extend fastdom
|
|
74
74
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -4560,28 +4560,6 @@ const validateDateField = (value, isSubmitting, f, cb) => {
|
|
|
4560
4560
|
return cb(value);
|
|
4561
4561
|
}
|
|
4562
4562
|
return true;
|
|
4563
|
-
};
|
|
4564
|
-
const OTP_VERIFIED_MSG_CODE = {
|
|
4565
|
-
ERR_PHONE_VERIFIED: {
|
|
4566
|
-
id: 'common.phone_verified',
|
|
4567
|
-
defaultMessage: 'This phone number was verified',
|
|
4568
|
-
},
|
|
4569
|
-
ERR_OTP_EXPIRED: {
|
|
4570
|
-
id: 'common.otp_expired',
|
|
4571
|
-
defaultMessage: 'Your OTP has expired. Please request a new OTP.',
|
|
4572
|
-
},
|
|
4573
|
-
ERR_INVALID_PHONE_NUMBER: {
|
|
4574
|
-
id: 'common.phone_invalid',
|
|
4575
|
-
defaultMessage: 'Invalid phone number',
|
|
4576
|
-
},
|
|
4577
|
-
ERR_OTP_INVALID: {
|
|
4578
|
-
id: 'common.otp_invalid',
|
|
4579
|
-
defaultMessage: 'Invalid OTP',
|
|
4580
|
-
},
|
|
4581
|
-
ERR_UNKNOWN: {
|
|
4582
|
-
id: 'common.otp_unknow',
|
|
4583
|
-
defaultMessage: 'Unknown error',
|
|
4584
|
-
},
|
|
4585
4563
|
};
|
|
4586
4564
|
|
|
4587
4565
|
var _a, _b, _c, _d, _e;
|
|
@@ -4981,16 +4959,6 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
4981
4959
|
};
|
|
4982
4960
|
const confirm = watch('confirm', true);
|
|
4983
4961
|
const watchOtp = watch('otpPhoneNumber', '');
|
|
4984
|
-
const onFocus = (e) => {
|
|
4985
|
-
const target = e.target;
|
|
4986
|
-
if (target) {
|
|
4987
|
-
target.scrollIntoView({
|
|
4988
|
-
block: 'center',
|
|
4989
|
-
inline: 'nearest',
|
|
4990
|
-
behavior: 'auto',
|
|
4991
|
-
});
|
|
4992
|
-
}
|
|
4993
|
-
};
|
|
4994
4962
|
const onSubmit = (data) => {
|
|
4995
4963
|
if (hasOtpField && !verifiedOTP) {
|
|
4996
4964
|
return;
|
|
@@ -5014,7 +4982,7 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5014
4982
|
}
|
|
5015
4983
|
});
|
|
5016
4984
|
const handleSendOTP = (event) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5017
|
-
var _a, _b;
|
|
4985
|
+
var _a, _b, _c, _d;
|
|
5018
4986
|
event.preventDefault();
|
|
5019
4987
|
const data = getValues();
|
|
5020
4988
|
const parsedPhone = parsePhoneNumber(data.otpPhoneNumber);
|
|
@@ -5036,8 +5004,7 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5036
5004
|
},
|
|
5037
5005
|
});
|
|
5038
5006
|
setIsLoading(false);
|
|
5039
|
-
|
|
5040
|
-
if (_status === 1) {
|
|
5007
|
+
if ((result === null || result === void 0 ? void 0 : result._status) === 1) {
|
|
5041
5008
|
if (sentOTP) {
|
|
5042
5009
|
setIsFinishedCountDown(false);
|
|
5043
5010
|
countRef.current.reset();
|
|
@@ -5052,16 +5019,17 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5052
5019
|
}, 100);
|
|
5053
5020
|
return;
|
|
5054
5021
|
}
|
|
5055
|
-
if (
|
|
5022
|
+
if ((result === null || result === void 0 ? void 0 : result._status) === 0 &&
|
|
5023
|
+
(((_a = result === null || result === void 0 ? void 0 : result._messages) === null || _a === void 0 ? void 0 : _a[0]) === 'This phone number was verified' ||
|
|
5024
|
+
((_b = result === null || result === void 0 ? void 0 : result._messages) === null || _b === void 0 ? void 0 : _b[0]) ===
|
|
5025
|
+
'This phone number was verified on Whatsapp')) {
|
|
5056
5026
|
const messages = getTranslateVerifiedOtpMessages();
|
|
5057
5027
|
pushNotifications({
|
|
5058
5028
|
title: '',
|
|
5059
|
-
message:
|
|
5060
|
-
messages.get(locale) ||
|
|
5061
|
-
messages.get(LOCALE.PhilippinesEnglish),
|
|
5029
|
+
message: messages.get(locale) || messages.get(LOCALE.PhilippinesEnglish),
|
|
5062
5030
|
type: 'success',
|
|
5063
5031
|
});
|
|
5064
|
-
clearErrors(((
|
|
5032
|
+
clearErrors(((_c = getActionOtp(actions)) === null || _c === void 0 ? void 0 : _c.key) || ((_d = getActionOtpWhatsApp(actions)) === null || _d === void 0 ? void 0 : _d.key));
|
|
5065
5033
|
clearErrors('otpPhoneNumber');
|
|
5066
5034
|
setVerifiedOTP(true);
|
|
5067
5035
|
return;
|
|
@@ -5115,11 +5083,10 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5115
5083
|
area_code: `+${parsedPhone.countryCallingCode}`,
|
|
5116
5084
|
},
|
|
5117
5085
|
});
|
|
5118
|
-
|
|
5119
|
-
if (_status === 1) {
|
|
5086
|
+
if ((result === null || result === void 0 ? void 0 : result._status) === 1) {
|
|
5120
5087
|
pushNotifications({
|
|
5121
5088
|
title: '',
|
|
5122
|
-
message: _messages[0],
|
|
5089
|
+
message: result === null || result === void 0 ? void 0 : result._messages[0],
|
|
5123
5090
|
type: 'success',
|
|
5124
5091
|
});
|
|
5125
5092
|
clearErrors('otpCode');
|
|
@@ -5127,15 +5094,15 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5127
5094
|
setIsLoadingVerify(false);
|
|
5128
5095
|
return;
|
|
5129
5096
|
}
|
|
5130
|
-
throw new Error(
|
|
5097
|
+
throw new Error();
|
|
5131
5098
|
}
|
|
5132
5099
|
catch (error) {
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
setError('otpCode', { type: 'custom'
|
|
5100
|
+
pushNotifications({
|
|
5101
|
+
title: '',
|
|
5102
|
+
message: f({ id: 'validation.error.validOTP' }),
|
|
5103
|
+
type: 'danger',
|
|
5104
|
+
});
|
|
5105
|
+
setError('otpCode', { type: 'custom' });
|
|
5139
5106
|
}
|
|
5140
5107
|
setIsLoadingVerify(false);
|
|
5141
5108
|
}
|
|
@@ -5393,9 +5360,12 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5393
5360
|
required: true,
|
|
5394
5361
|
pattern: /^[0-9]{0,6}$/,
|
|
5395
5362
|
}, render: ({ field: { onChange, value } }) => (React__default.createElement("input", { onChange: onChange, value: value, type: "tel", disabled: verifiedOTP, className: "input-otp-code" })) }),
|
|
5396
|
-
|
|
5363
|
+
errors['otpCode'] && (React__default.createElement("p", { className: "error-message" },
|
|
5397
5364
|
React__default.createElement(InfoError, null),
|
|
5398
|
-
|
|
5365
|
+
f({
|
|
5366
|
+
id: 'validation.error.validOTP',
|
|
5367
|
+
defaultMessage: 'Invalid OTP provided',
|
|
5368
|
+
}))),
|
|
5399
5369
|
verifiedOTP ? (React__default.createElement("div", { className: "verify-success" },
|
|
5400
5370
|
React__default.createElement(CheckCircleGreen, null),
|
|
5401
5371
|
React__default.createElement("span", { className: "verify-success-label" }, f({
|
|
@@ -5433,7 +5403,7 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5433
5403
|
}
|
|
5434
5404
|
};
|
|
5435
5405
|
return (React__default.createElement(StyledUserInfoFormContainer, { className: className, style: style },
|
|
5436
|
-
React__default.createElement("form", { onSubmit: handleSubmit(onSubmit),
|
|
5406
|
+
React__default.createElement("form", { onSubmit: handleSubmit(onSubmit), className: "user-info-form" },
|
|
5437
5407
|
actions.map((action, index) => renderFormInput(action, index)),
|
|
5438
5408
|
actions.map((action) => renderFormSubmitAndTerms(action)))));
|
|
5439
5409
|
};
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '@mantine/core';
|
|
3
|
-
export { S as SurveyOrPremiumBanner } from './index-
|
|
4
|
-
import './utils-
|
|
5
|
-
import './index-
|
|
6
|
-
import './index-
|
|
3
|
+
export { S as SurveyOrPremiumBanner } from './index-19ef88f1.js';
|
|
4
|
+
import './utils-05acf47b.js';
|
|
5
|
+
import './index-ac051afc.js';
|
|
6
|
+
import './index-9afd6a12.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-2cf2d24e.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-869ee1da.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-362575fc.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './healthTools-
|
|
16
|
-
import './tslib.es6-
|
|
17
|
-
import './store-
|
|
15
|
+
import './healthTools-66885777.js';
|
|
16
|
+
import './tslib.es6-ce986163.js';
|
|
17
|
+
import './store-2c045631.js';
|
|
18
18
|
import 'zustand';
|
|
19
|
-
import './normalizeLink-
|
|
19
|
+
import './normalizeLink-aa34fdb9.js';
|
|
20
20
|
import './miscCookieHelper.js';
|
|
21
|
-
import './useScreenSize-
|
|
21
|
+
import './useScreenSize-719df3e3.js';
|
|
22
22
|
import '@emotion/styled';
|
|
23
|
-
import './utils-
|
|
23
|
+
import './utils-fc064c23.js';
|
|
24
24
|
import '@mantine/form';
|
|
25
|
-
import './index-
|
|
25
|
+
import './index-ec349ad0.js';
|
|
26
26
|
import '@hhgtech/icons/other';
|
|
27
27
|
import '@mantine/hooks';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './other-
|
|
29
|
+
import './index-36215bbb.js';
|
|
30
|
+
import './other-118d57f1.js';
|
|
31
31
|
import './miscTheme.js';
|
|
32
|
-
import './useMantineLocale-
|
|
32
|
+
import './useMantineLocale-5d84852d.js';
|
|
33
33
|
import '@mantine/notifications';
|
|
34
34
|
import 'dayjs';
|
|
35
|
-
import './index-
|
|
35
|
+
import './index-e272331a.js';
|
|
36
36
|
import 'classnames';
|
|
37
|
-
import './useUniqueId-
|
|
37
|
+
import './useUniqueId-5b8eba56.js';
|
|
38
38
|
import '@hhgtech/icons/core';
|
|
39
39
|
import '@mantine/dates';
|
|
40
|
-
import './index.styles-
|
|
41
|
-
import './index-
|
|
40
|
+
import './index.styles-7a34124f.js';
|
|
41
|
+
import './index-cf4b1a22.js';
|
|
42
42
|
import './togetherApiPaths.js';
|
|
43
|
-
import './translationsContext-
|
|
44
|
-
import './index-
|
|
45
|
-
import './useHealthToolCache-
|
|
43
|
+
import './translationsContext-df39038b.js';
|
|
44
|
+
import './index-40225988.js';
|
|
45
|
+
import './useHealthToolCache-429c2a46.js';
|
|
46
46
|
import './miscGetDynamicHealthTool.js';
|
|
47
|
-
import './core-
|
|
48
|
-
import './index-
|
|
49
|
-
import './WhatsApp-
|
|
50
|
-
import './Spinner-
|
|
51
|
-
import './index-
|
|
52
|
-
import './index-
|
|
47
|
+
import './core-bfe09c7d.js';
|
|
48
|
+
import './index-88680aef.js';
|
|
49
|
+
import './WhatsApp-4cc85490.js';
|
|
50
|
+
import './Spinner-512986ff.js';
|
|
51
|
+
import './index-9cde0fc3.js';
|
|
52
|
+
import './index-5eccb83a.js';
|
|
53
53
|
import 'js-cookie';
|
|
54
54
|
import 'lodash/flatten';
|
|
55
55
|
import 'lodash/uniqBy';
|
|
56
|
-
import './index-
|
|
56
|
+
import './index-34340a6f.js';
|
|
57
57
|
import 'slugify';
|
|
58
58
|
import 'string-format';
|
|
59
|
-
import './constants-
|
|
59
|
+
import './constants-eae536b0.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-
|
|
1
|
+
export { S as SurveyQuestionCard, a as SurveyThankyouCard } from './surveyThankyouCard-6bb0f764.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-c8ee8be9.js';
|
|
4
|
+
import './tslib.es6-ce986163.js';
|
|
5
|
+
import './index-e272331a.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-36215bbb.js';
|
|
8
|
+
import './other-118d57f1.js';
|
|
9
|
+
import './index-40225988.js';
|
|
10
|
+
import './index-027d9b5d.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-fc064c23.js';
|
|
14
|
+
import './index-70257e2c.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
2
|
-
import { B as Button } from './index-
|
|
3
|
-
import { T as Text } from './index-
|
|
4
|
-
import { H as Heading } from './index-
|
|
5
|
-
import { I as Input } from './index-
|
|
6
|
-
import { T as TextArea } from './index-
|
|
2
|
+
import { B as Button } from './index-c8ee8be9.js';
|
|
3
|
+
import { T as Text } from './index-36215bbb.js';
|
|
4
|
+
import { H as Heading } from './index-40225988.js';
|
|
5
|
+
import { I as Input } from './index-027d9b5d.js';
|
|
6
|
+
import { T as TextArea } from './index-70257e2c.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|