@hhgtech/hhg-components 1.29.319 → 1.29.321
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/{LastPeriod-c0e3440d.js → LastPeriod-cae74ff4.js} +1 -1
- package/build/{MobileBottomNavigationIcon-1a6ba702.js → MobileBottomNavigationIcon-40e9ec61.js} +3 -3
- package/build/{Spinner-dbc435a8.js → Spinner-5b18419b.js} +1 -1
- package/build/{WhatsApp-aaf94bb0.js → WhatsApp-798d7f4e.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +46 -46
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components/atoms/drawer/helpers.d.ts +1 -1
- package/build/components/mantine/helpers.d.ts +1 -1
- package/build/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
- package/build/components/onboardingV2/frisoForm/index.d.ts +1 -1
- package/build/components/onboardingV2/index.d.ts +1 -1
- package/build/components.js +90 -90
- package/build/{constants-8f3784a8.js → constants-712e627a.js} +1 -1
- package/build/constants.js +3 -3
- package/build/constantsDomainLocales.js +1 -1
- package/build/constantsRiskScreener.js +2 -2
- package/build/constantsSite.js +2 -2
- package/build/{core-287c17ab.js → core-6928d332.js} +1 -1
- package/build/{dataTransform-589a7ea8.js → dataTransform-e84deb38.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-e9405c86.js → editor-8fe9dd1b.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/{LastPeriod-9d0898ca.js → LastPeriod-52c67e34.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-b88891d5.js → MobileBottomNavigationIcon-713f564a.js} +3 -3
- package/build/esm/{Spinner-00ba6eea.js → Spinner-d1b30dcf.js} +1 -1
- package/build/esm/{WhatsApp-ea897797.js → WhatsApp-778196dc.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +46 -46
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +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/drawer/helpers.d.ts +1 -1
- package/build/esm/components/mantine/helpers.d.ts +1 -1
- package/build/esm/components/molecules/mobileBottomNavigation/index.styled.d.ts +6 -1
- package/build/esm/components/onboardingV2/frisoForm/index.d.ts +1 -1
- package/build/esm/components/onboardingV2/index.d.ts +1 -1
- package/build/esm/components.js +90 -90
- package/build/esm/{constants-6ab25eb6.js → constants-856480cd.js} +1 -1
- package/build/esm/constants.js +3 -3
- package/build/esm/constantsDomainLocales.js +1 -1
- package/build/esm/constantsRiskScreener.js +2 -2
- package/build/esm/constantsSite.js +2 -2
- package/build/esm/{core-53d8046d.js → core-74116e98.js} +1 -1
- package/build/esm/{dataTransform-71878d6f.js → dataTransform-8c0e2722.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-8d8c8857.js → editor-6413d939.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/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-30d78691.js → index-010ef220.js} +18 -18
- package/build/esm/{index-827b01a9.js → index-01b39f19.js} +15 -15
- package/build/esm/{index-65c5f9ff.js → index-08e9ef65.js} +1 -1
- package/build/esm/{index-3236c8cc.js → index-0f225b55.js} +13 -13
- package/build/esm/{index-52ac9bb8.js → index-104cc35b.js} +3 -3
- package/build/esm/{index-c315f8c0.js → index-16db3718.js} +16 -16
- package/build/esm/{index-39975ece.js → index-1d900e79.js} +24 -24
- package/build/esm/{index-ffb09b98.js → index-1fe0a917.js} +2 -2
- package/build/esm/{index-87e48e6a.js → index-200b80bf.js} +2 -2
- package/build/esm/{index-d9412d5d.js → index-2491608c.js} +13 -13
- package/build/esm/{index-a415a0b9.js → index-27b20a96.js} +1 -1
- package/build/esm/{index-548b74f0.js → index-2d2c8d34.js} +2 -2
- package/build/esm/{index-96ad4c5c.js → index-2ef91087.js} +13 -13
- package/build/esm/{index-1d6355ef.js → index-33dddcf8.js} +1 -1
- package/build/esm/{index-d15b19b1.js → index-3c255f1d.js} +3 -3
- package/build/esm/{index-98d12ee0.js → index-3e780042.js} +3 -3
- package/build/esm/{index-9d956264.js → index-41141658.js} +11 -11
- package/build/esm/{index-9dffd07c.js → index-451d331b.js} +1 -1
- package/build/esm/{index-3cfa6db4.js → index-47095f99.js} +1 -1
- package/build/esm/{index-00d45d5d.js → index-4bdd5ba3.js} +2 -2
- package/build/esm/{index-38f2f27a.js → index-530736ca.js} +5 -5
- package/build/esm/{index-224b1ffd.js → index-53919210.js} +16 -16
- package/build/esm/{index-9ed195e7.js → index-552bd390.js} +17 -17
- package/build/esm/{index-2a97ac41.js → index-5b09e80c.js} +30 -30
- package/build/esm/{index-f69efff3.js → index-5dacd204.js} +21 -21
- package/build/esm/{index-2a2c81f0.js → index-5fbe3918.js} +3 -3
- package/build/esm/{index-528b7f1b.js → index-61d1f8db.js} +3 -3
- package/build/esm/{index-57807cec.js → index-69d79e77.js} +15 -11
- package/build/esm/{index-a8a4567b.js → index-71f192bd.js} +2 -2
- package/build/esm/{index-67962b2a.js → index-72ac7721.js} +2 -2
- package/build/esm/{index-d11f456f.js → index-753c7fbe.js} +6 -6
- package/build/esm/{index-9af7a0e6.js → index-7859dd1b.js} +26 -26
- package/build/esm/{index-cf6bd7e7.js → index-78d06955.js} +7 -7
- package/build/esm/{index-864133e6.js → index-7b956507.js} +7 -7
- package/build/esm/{index-a3264c29.js → index-7ebaaded.js} +1 -1
- package/build/esm/{index-81d45397.js → index-7fe0eb60.js} +3 -3
- package/build/esm/{index-7508150a.js → index-8357b17d.js} +1 -1
- package/build/esm/{index-ff09d4e3.js → index-89047435.js} +2 -2
- package/build/esm/{index-d8261673.js → index-93af3187.js} +6 -6
- package/build/esm/{index-6b53f614.js → index-9c90f099.js} +15 -15
- package/build/esm/index-9e5d27c9.js +339 -0
- package/build/esm/{index-e23ba33a.js → index-9ea2f8fb.js} +2 -2
- package/build/esm/{index-72183abe.js → index-a3649395.js} +17 -17
- package/build/esm/{index-5e6b5bfa.js → index-a61e709f.js} +17 -17
- package/build/esm/{index-9d4eaf82.js → index-a832c8cd.js} +1 -1
- package/build/esm/{index-9116f0e9.js → index-b64a527c.js} +3 -3
- package/build/esm/{index-8c71002f.js → index-b6605078.js} +2 -2
- package/build/esm/{index-d041dccc.js → index-b8374ca2.js} +13 -13
- package/build/esm/{index-f2ce73ce.js → index-c01b2fa0.js} +20 -20
- package/build/esm/{index-453c7fe5.js → index-c02659f1.js} +16 -16
- package/build/esm/{index-3b822c5c.js → index-c2d7a405.js} +18 -18
- package/build/esm/{index-cfa693d6.js → index-c845f391.js} +2 -2
- package/build/esm/{index-fc2f74ee.js → index-cee99b91.js} +5 -5
- package/build/esm/{index-ad870457.js → index-cfb4e6cc.js} +36 -36
- package/build/esm/{index-e99c0162.js → index-d83fe9a3.js} +18 -6
- package/build/esm/{index-b0a1975a.js → index-dfd03dfc.js} +24 -24
- package/build/esm/{index-48b1b0d8.js → index-e1903521.js} +2 -2
- package/build/esm/{index-8c62f861.js → index-e2001226.js} +2 -2
- package/build/esm/{index-22824646.js → index-e2f2887a.js} +1 -1
- package/build/esm/{index-7125a190.js → index-e9b1064a.js} +16 -16
- package/build/esm/{index-821baf4d.js → index-f82e6d6a.js} +6 -6
- package/build/esm/{index-cf33fbac.js → index-fc8e9c5a.js} +4 -4
- package/build/esm/index.js +112 -112
- package/build/esm/{labelSorting-206b8392.js → labelSorting-b2193d96.js} +4 -4
- package/build/esm/lead.js +24 -24
- package/build/esm/{logoIcon-0ebcb7ee.js → logoIcon-2ead0642.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc/animation.d.ts +54 -9
- package/build/esm/misc.js +16 -16
- 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 +69 -69
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +40 -40
- 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 +44 -44
- package/build/esm/{post-c1a023eb.js → post-60f9d877.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/phoneUtils.d.ts +1 -1
- package/build/esm/ssoV2.js +26 -26
- package/build/esm/{store-60dbd39c.js → store-0f6b964c.js} +3 -3
- package/build/esm/subot/utils/index.d.ts +1 -1
- package/build/esm/subot.js +137 -174
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-bd16b16a.js → surveyThankyouCard-8128373e.js} +5 -5
- package/build/esm/together.js +53 -53
- 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 +48 -48
- package/build/esm/togetherMoleculesCardAuthor.js +27 -27
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +37 -37
- package/build/esm/togetherOrganisms.js +47 -47
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{treePopoverMenu-a73f346a.js → treePopoverMenu-f3a673f7.js} +19 -19
- package/build/esm/{types-8cfe1612.js → types-64b84f45.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-8d4005fa.js → useCategory-ee812f0b.js} +5 -5
- package/build/esm/{useHealthToolCache-9ae49071.js → useHealthToolCache-9bd130ab.js} +1 -1
- package/build/esm/{useMantineLocale-92f2ea43.js → useMantineLocale-d43b1d39.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-fb864ca8.js → usePlacesAutocomplete-032d0b20.js} +1 -1
- package/build/esm/{useScreenSize-b9c63fd4.js → useScreenSize-e25a13dc.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-c5b955b5.js → utils-0529394a.js} +2 -2
- package/build/esm/{utils-a5a9607a.js → utils-42c19230.js} +3 -3
- package/build/esm/{utils-e1753919.js → utils-a2ebdf06.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-242bd862.js → index-11207764.js} +17 -17
- package/build/{index-490445e0.js → index-123e0423.js} +2 -2
- package/build/{index-46b2af54.js → index-14ba35eb.js} +2 -2
- package/build/{index-c018b0ab.js → index-238f8847.js} +2 -2
- package/build/{index-da13a167.js → index-2798fcd3.js} +24 -24
- package/build/{index-37d31689.js → index-2b15c9d4.js} +24 -24
- package/build/{index-18125b5e.js → index-2b5051c1.js} +13 -13
- package/build/{index-32a0e8b8.js → index-2b76e211.js} +6 -6
- package/build/{index-d1941d0b.js → index-2bd2cba0.js} +5 -5
- package/build/{index-8521273b.js → index-2e1fc3e1.js} +3 -3
- package/build/{index-81b53861.js → index-3028f42b.js} +20 -20
- package/build/{index-b715b7cb.js → index-32ca7b21.js} +17 -17
- package/build/{index-5b01f1e8.js → index-35147383.js} +18 -6
- package/build/{index-77a491eb.js → index-39d65eb5.js} +3 -3
- package/build/{index-d633b844.js → index-3bd12970.js} +16 -16
- package/build/{index-af2a2f67.js → index-3f091187.js} +1 -1
- package/build/{index-f0df9598.js → index-418b8a8c.js} +13 -13
- package/build/{index-b51dc90a.js → index-46d422f1.js} +2 -2
- package/build/{index-9afb93ca.js → index-47a7b73c.js} +15 -11
- package/build/{index-cddeb541.js → index-4dab2890.js} +3 -3
- package/build/{index-b1d46f9c.js → index-4e7c1b99.js} +16 -16
- package/build/{index-d4eaddce.js → index-5e8ecc48.js} +1 -1
- package/build/{index-fb5ffb96.js → index-60134f2b.js} +1 -1
- package/build/{index-74308b95.js → index-66a67f0d.js} +3 -3
- package/build/{index-478afe2d.js → index-705df827.js} +7 -7
- package/build/{index-817850c6.js → index-71a198e6.js} +2 -2
- package/build/{index-d429cb16.js → index-73140fcd.js} +1 -1
- package/build/{index-f7ddf327.js → index-787c2358.js} +18 -18
- package/build/{index-129c74cb.js → index-81c0e58c.js} +3 -3
- package/build/index-83599edd.js +341 -0
- package/build/{index-f332e407.js → index-84ee360e.js} +16 -16
- package/build/{index-d839f382.js → index-880717cb.js} +1 -1
- package/build/{index-97c6097e.js → index-8e2a0dfa.js} +16 -16
- package/build/{index-b27a8af5.js → index-91c9d0ad.js} +2 -2
- package/build/{index-3a36a785.js → index-9318023c.js} +2 -2
- package/build/{index-94eea6f7.js → index-9782c8f6.js} +15 -15
- package/build/{index-bf7ea186.js → index-9a11ff4d.js} +21 -21
- package/build/{index-56546b60.js → index-9d387cee.js} +18 -18
- package/build/{index-ce187501.js → index-9dbe6fe0.js} +6 -6
- package/build/{index-ab14e573.js → index-a1a3c596.js} +17 -17
- package/build/{index-2b404405.js → index-a73faf78.js} +11 -11
- package/build/{index-ef87118c.js → index-a8d3a01c.js} +1 -1
- package/build/{index-6551d32d.js → index-b068a708.js} +30 -30
- package/build/{index-343c12ba.js → index-b1fb462b.js} +5 -5
- package/build/{index-de7e7205.js → index-b5915d8b.js} +15 -15
- package/build/{index-de60ae40.js → index-b75528af.js} +1 -1
- package/build/{index-66771e62.js → index-b76babf2.js} +36 -36
- package/build/{index-384d7645.js → index-b945fccb.js} +2 -2
- package/build/{index-d944f3c3.js → index-bdd65017.js} +13 -13
- package/build/{index-863a8b0f.js → index-c0e7019c.js} +4 -4
- package/build/{index-b6143bc6.js → index-c1169434.js} +2 -2
- package/build/{index-38d8436d.js → index-c2a5e56d.js} +3 -3
- package/build/{index-143aafea.js → index-c62e64c3.js} +2 -2
- package/build/{index-ac795f2b.js → index-c6f8b17f.js} +3 -3
- package/build/{index-d9dde73a.js → index-ce838bb0.js} +26 -26
- package/build/{index-23224883.js → index-d4b3e298.js} +1 -1
- package/build/{index-23fe1789.js → index-d6aa66b8.js} +2 -2
- package/build/{index-9375980a.js → index-da7f4ff8.js} +13 -13
- package/build/{index-1dfa9177.js → index-e45cc863.js} +2 -2
- package/build/{index-c0feef5c.js → index-e52ef9f1.js} +6 -6
- package/build/{index-9dabfdea.js → index-f3b68e5c.js} +1 -1
- package/build/{index-af5f451b.js → index-fbfdecd1.js} +7 -7
- package/build/index.js +112 -112
- package/build/{labelSorting-24d5d598.js → labelSorting-0bf9f8e0.js} +4 -4
- package/build/lead.js +24 -24
- package/build/{logoIcon-0c29807d.js → logoIcon-6b89596b.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc/animation.d.ts +54 -9
- package/build/misc.js +16 -16
- 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 +69 -69
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +40 -40
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +23 -23
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +44 -44
- package/build/{post-a3a067cc.js → post-485924f7.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/phoneUtils.d.ts +1 -1
- package/build/ssoV2.js +25 -25
- package/build/{store-3bdfd042.js → store-6e380ab2.js} +3 -3
- package/build/subot/utils/index.d.ts +1 -1
- package/build/subot.js +136 -173
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-03764953.js → surveyThankyouCard-0fb004e7.js} +5 -5
- package/build/together.js +53 -53
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +48 -48
- package/build/togetherMoleculesCardAuthor.js +27 -27
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +37 -37
- package/build/togetherOrganisms.js +47 -47
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{treePopoverMenu-f9027eed.js → treePopoverMenu-fa992053.js} +19 -19
- package/build/{types-1faebc10.js → types-bd872e14.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-0e3720da.js → useCategory-0fb94f53.js} +5 -5
- package/build/{useHealthToolCache-20501867.js → useHealthToolCache-38d6e4aa.js} +1 -1
- package/build/{useMantineLocale-741bf395.js → useMantineLocale-e9903d1f.js} +6 -6
- package/build/{usePlacesAutocomplete-6f273c8d.js → usePlacesAutocomplete-1829f721.js} +1 -1
- package/build/{useScreenSize-865ab69f.js → useScreenSize-30c01347.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-ee2160b8.js → utils-9f346a89.js} +3 -3
- package/build/{utils-75487da1.js → utils-b54fd8d7.js} +2 -2
- package/build/{utils-cbf3e5fb.js → utils-fb04787b.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- package/build/esm/index-a03ee763.js +0 -275
- package/build/index-1e63f1f9.js +0 -277
- /package/build/{BMI_BOYS.percentile.monthly-7b140fc3.js → BMI_BOYS.percentile.monthly-e01cd510.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-18ed5029.js → BMI_BOYS.percentile.weekly-3bead489.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-6bd82753.js → BMI_BOYS.percentile.yearly-c0fff15d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-365710ca.js → BMI_BOYS.zscore.monthly-151a81a6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-253b5709.js → BMI_BOYS.zscore.weekly-053b13c0.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-ecb1d197.js → BMI_BOYS.zscore.yearly-3ec572d5.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-cb3e7c24.js → BMI_GIRLS.percentile.monthly-8ab1db93.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-184b7c03.js → BMI_GIRLS.percentile.weekly-677949b4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-67c59c94.js → BMI_GIRLS.percentile.yearly-d649088f.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-a6194d7e.js → BMI_GIRLS.zscore.monthly-5ddf1847.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-3e0ef130.js → BMI_GIRLS.zscore.weekly-50192248.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-f99598d4.js → BMI_GIRLS.zscore.yearly-608a86d3.js} +0 -0
- /package/build/{ChevronDown-e33e886c.js → ChevronDown-a5f09321.js} +0 -0
- /package/build/{Close-19f6fcc6.js → Close-68871561.js} +0 -0
- /package/build/{Google-c52fdf6a.js → Google-a3717215.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-398cdcb9.js → HEAD CIRCUM_BOYS.percentile.monthly-10ffebad.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-7b776639.js → HEAD CIRCUM_BOYS.percentile.weekly-e07c073f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-59081efa.js → HEAD CIRCUM_BOYS.percentile.yearly-aea5909b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-937c298f.js → HEAD CIRCUM_BOYS.zscore.monthly-97ed74e0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-831e8e63.js → HEAD CIRCUM_BOYS.zscore.weekly-71aff14b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-ef886421.js → HEAD CIRCUM_BOYS.zscore.yearly-90b07ca1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-2ed1b280.js → HEAD CIRCUM_GIRLS.percentile.monthly-76c82fad.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-02fcd964.js → HEAD CIRCUM_GIRLS.percentile.weekly-faf1af90.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-adabab0c.js → HEAD CIRCUM_GIRLS.percentile.yearly-c6a2730b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-c439c958.js → HEAD CIRCUM_GIRLS.zscore.monthly-696779c0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-a65a52f7.js → HEAD CIRCUM_GIRLS.zscore.weekly-989773fa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-9b4c80b0.js → HEAD CIRCUM_GIRLS.zscore.yearly-b14b739f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-95d33063.js → HEIGHT_BOYS.percentile.monthly-0515c8fc.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-58ae3923.js → HEIGHT_BOYS.percentile.weekly-1ca259d8.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-17399309.js → HEIGHT_BOYS.percentile.yearly-1bd0ad2e.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b8811800.js → HEIGHT_BOYS.zscore.monthly-9af01f00.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-ef932201.js → HEIGHT_BOYS.zscore.weekly-8fd8d83d.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-c8da2d2c.js → HEIGHT_BOYS.zscore.yearly-e510c43f.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-43670f9b.js → HEIGHT_GIRLS.percentile.monthly-475dd51a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-44578918.js → HEIGHT_GIRLS.percentile.weekly-9298e0dc.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-0c2cc916.js → HEIGHT_GIRLS.percentile.yearly-4bf3f7ac.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-3e0b2efa.js → HEIGHT_GIRLS.zscore.monthly-48083ca1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-45d8b1ff.js → HEIGHT_GIRLS.zscore.weekly-08d058f3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-89ed91ea.js → HEIGHT_GIRLS.zscore.yearly-0053d9c3.js} +0 -0
- /package/build/{Locale-2d2d984d.js → Locale-f2d66119.js} +0 -0
- /package/build/{Visible-5152f811.js → Visible-3e8139c5.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-b9c57dab.js → WEIGHT_BOYS.percentile.monthly-545714fb.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-44c496f5.js → WEIGHT_BOYS.percentile.weekly-c50697cf.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-19c8d5e3.js → WEIGHT_BOYS.percentile.yearly-897f64e5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d30ee87c.js → WEIGHT_BOYS.zscore.monthly-21df08ac.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-c39216bc.js → WEIGHT_BOYS.zscore.weekly-94db3d6b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-98e2d544.js → WEIGHT_BOYS.zscore.yearly-f9149e83.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-ff182dfa.js → WEIGHT_GIRLS.percentile.monthly-52358090.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-a1ce388c.js → WEIGHT_GIRLS.percentile.weekly-39905184.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-3ee50ac2.js → WEIGHT_GIRLS.percentile.yearly-b33bd65d.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-2a0ee5f0.js → WEIGHT_GIRLS.zscore.monthly-e858f996.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-e78d5fd0.js → WEIGHT_GIRLS.zscore.weekly-2040c264.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-ce52fd94.js → WEIGHT_GIRLS.zscore.yearly-4b23df23.js} +0 -0
- /package/build/{animation-793aeedf.js → animation-8462553f.js} +0 -0
- /package/build/{constants-aa69f8d5.js → constants-3159547e.js} +0 -0
- /package/build/{constants-b8cae6b4.js → constants-59d2edd6.js} +0 -0
- /package/build/{constants-ed8e89de.js → constants-ad9e2d95.js} +0 -0
- /package/build/{dataTransform-5a866512.js → dataTransform-732dbbf9.js} +0 -0
- /package/build/{doctor-1e5df6e7.js → doctor-24a9f120.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-12418ad8.js → BMI_BOYS.percentile.monthly-4dbac4ea.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c8a8d77b.js → BMI_BOYS.percentile.weekly-4dcc6ebc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-e593f2e6.js → BMI_BOYS.percentile.yearly-dd7e88b1.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-641c6be7.js → BMI_BOYS.zscore.monthly-02d86930.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-6a93b93c.js → BMI_BOYS.zscore.weekly-42184f01.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-b18a8e40.js → BMI_BOYS.zscore.yearly-c4829e4a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-a6e40090.js → BMI_GIRLS.percentile.monthly-5f65cca9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-8081af05.js → BMI_GIRLS.percentile.weekly-69050c50.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-21b59817.js → BMI_GIRLS.percentile.yearly-2a557f08.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-93253b51.js → BMI_GIRLS.zscore.monthly-df5dceb0.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-c7f61864.js → BMI_GIRLS.zscore.weekly-5f8dd6eb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5b6025ac.js → BMI_GIRLS.zscore.yearly-16225efe.js} +0 -0
- /package/build/esm/{ChevronDown-a053d433.js → ChevronDown-108e6d4e.js} +0 -0
- /package/build/esm/{Close-ec53611b.js → Close-ada9e4fa.js} +0 -0
- /package/build/esm/{Google-316e2fad.js → Google-29f6423e.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-b4387bda.js → HEAD CIRCUM_BOYS.percentile.monthly-abebee51.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-19b8b8d9.js → HEAD CIRCUM_BOYS.percentile.weekly-439b8027.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-b1b5482c.js → HEAD CIRCUM_BOYS.percentile.yearly-be254f92.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-a3ef6253.js → HEAD CIRCUM_BOYS.zscore.monthly-c819d77d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ec0c3c87.js → HEAD CIRCUM_BOYS.zscore.weekly-f184fd5c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-5744a3c8.js → HEAD CIRCUM_BOYS.zscore.yearly-7a2c6a00.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-4be449eb.js → HEAD CIRCUM_GIRLS.percentile.monthly-5932c5b8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-602459a6.js → HEAD CIRCUM_GIRLS.percentile.weekly-c8f01544.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-df0e8158.js → HEAD CIRCUM_GIRLS.percentile.yearly-0362f7b2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7279d043.js → HEAD CIRCUM_GIRLS.zscore.monthly-dff17b81.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-e82fb902.js → HEAD CIRCUM_GIRLS.zscore.weekly-f31d3de9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-b9266d18.js → HEAD CIRCUM_GIRLS.zscore.yearly-0185aaa0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-f9dd08b0.js → HEIGHT_BOYS.percentile.monthly-755a78e8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-fe26422a.js → HEIGHT_BOYS.percentile.weekly-164929c8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-00293d31.js → HEIGHT_BOYS.percentile.yearly-aa59a3a1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-97ca8986.js → HEIGHT_BOYS.zscore.monthly-c93f208b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-0a2f52b2.js → HEIGHT_BOYS.zscore.weekly-36be76a9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-8bf8ef52.js → HEIGHT_BOYS.zscore.yearly-04f71990.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-5cea3c6a.js → HEIGHT_GIRLS.percentile.monthly-8da1cc66.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-cceec355.js → HEIGHT_GIRLS.percentile.weekly-7609de1f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-287117f7.js → HEIGHT_GIRLS.percentile.yearly-b9ebd4c3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-33b2c452.js → HEIGHT_GIRLS.zscore.monthly-c82488bb.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-04c90b25.js → HEIGHT_GIRLS.zscore.weekly-8c8c4329.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-edc1bef2.js → HEIGHT_GIRLS.zscore.yearly-865a6aa0.js} +0 -0
- /package/build/esm/{Locale-113763dc.js → Locale-7825f906.js} +0 -0
- /package/build/esm/{Visible-4e06b8e8.js → Visible-c05d76e5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-6bf93351.js → WEIGHT_BOYS.percentile.monthly-f6e636f5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-d2bb1fae.js → WEIGHT_BOYS.percentile.weekly-650d7575.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-a8909d86.js → WEIGHT_BOYS.percentile.yearly-59a0cc95.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-2c6e2577.js → WEIGHT_BOYS.zscore.monthly-416a91e1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-775c9410.js → WEIGHT_BOYS.zscore.weekly-db13b91f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-ef59a73f.js → WEIGHT_BOYS.zscore.yearly-59a0535c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-63026604.js → WEIGHT_GIRLS.percentile.monthly-86e4b459.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-ef8c77ad.js → WEIGHT_GIRLS.percentile.weekly-0d433288.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-584abc37.js → WEIGHT_GIRLS.percentile.yearly-14cfdc32.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-1c341007.js → WEIGHT_GIRLS.zscore.monthly-153735eb.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-8df06df9.js → WEIGHT_GIRLS.zscore.weekly-a23c518a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-e69ce3d3.js → WEIGHT_GIRLS.zscore.yearly-fab7d951.js} +0 -0
- /package/build/esm/{animation-f2fd7725.js → animation-d64903f5.js} +0 -0
- /package/build/esm/{constants-ec91ac43.js → constants-838c9dc1.js} +0 -0
- /package/build/esm/{constants-4f03c0d1.js → constants-9b5d773d.js} +0 -0
- /package/build/esm/{constants-b2406470.js → constants-b552fe77.js} +0 -0
- /package/build/esm/{dataTransform-e20c4054.js → dataTransform-bd2411a9.js} +0 -0
- /package/build/esm/{doctor-4348bb91.js → doctor-a217b43f.js} +0 -0
- /package/build/esm/{index-08abbf60.js → index-18f19f22.js} +0 -0
- /package/build/esm/{index-7c6e8a3a.js → index-2b72b6d3.js} +0 -0
- /package/build/esm/{index-4a9572c1.js → index-2d8645bf.js} +0 -0
- /package/build/esm/{index-1487b182.js → index-596c7a24.js} +0 -0
- /package/build/esm/{index-430e0ec8.js → index-737ca605.js} +0 -0
- /package/build/esm/{index-f21c93ea.js → index-99377456.js} +0 -0
- /package/build/esm/{index-ffb7f4b1.js → index-b01d1221.js} +0 -0
- /package/build/esm/{index-a6852d97.js → index-cadeeb3c.js} +0 -0
- /package/build/esm/{index.styles-1ced5cf6.js → index.styles-437e46a6.js} +0 -0
- /package/build/esm/{localizeNumberFormat-ac517662.js → localizeNumberFormat-e37fb688.js} +0 -0
- /package/build/esm/{normalizeLink-f023bdfd.js → normalizeLink-99fab3ff.js} +0 -0
- /package/build/esm/{other-829bfc4e.js → other-36fd4294.js} +0 -0
- /package/build/esm/{paths-b1ce59c4.js → paths-046045a7.js} +0 -0
- /package/build/esm/{translationsContext-cb129b96.js → translationsContext-5f1d7813.js} +0 -0
- /package/build/esm/{tslib.es6-19fe97c5.js → tslib.es6-0bc2dc94.js} +0 -0
- /package/build/esm/{types-af4f8121.js → types-9798b39a.js} +0 -0
- /package/build/esm/{useIsInit-29b6b355.js → useIsInit-b7a97743.js} +0 -0
- /package/build/esm/{useOutsideClick-fe236274.js → useOutsideClick-13013394.js} +0 -0
- /package/build/esm/{useScrollbarSize-d711e423.js → useScrollbarSize-50727cb5.js} +0 -0
- /package/build/esm/{useUniqueId-e0046ffd.js → useUniqueId-24779955.js} +0 -0
- /package/build/esm/{utils-e1e4fc34.js → utils-fd148004.js} +0 -0
- /package/build/{index-15699259.js → index-37741986.js} +0 -0
- /package/build/{index-6b5f0268.js → index-5121adb6.js} +0 -0
- /package/build/{index-4a686bf9.js → index-6507fd85.js} +0 -0
- /package/build/{index-4cf96c4b.js → index-b4798dcf.js} +0 -0
- /package/build/{index-af8ed5bc.js → index-b8817672.js} +0 -0
- /package/build/{index-22e8438d.js → index-d45d2c1d.js} +0 -0
- /package/build/{index-6c9b12e2.js → index-e735d009.js} +0 -0
- /package/build/{index-55716750.js → index-ea11fb05.js} +0 -0
- /package/build/{index.styles-5365f226.js → index.styles-06c41a69.js} +0 -0
- /package/build/{localizeNumberFormat-d1263239.js → localizeNumberFormat-372103f4.js} +0 -0
- /package/build/{normalizeLink-bf87addf.js → normalizeLink-46ab9163.js} +0 -0
- /package/build/{other-337f9c41.js → other-5a276b17.js} +0 -0
- /package/build/{paths-abf8b531.js → paths-b096fb7b.js} +0 -0
- /package/build/{translationsContext-0f977577.js → translationsContext-202e4a07.js} +0 -0
- /package/build/{tslib.es6-2a2d42df.js → tslib.es6-3bcb56c1.js} +0 -0
- /package/build/{types-57e610de.js → types-ebfed3bd.js} +0 -0
- /package/build/{useIsInit-075143dc.js → useIsInit-9492e2af.js} +0 -0
- /package/build/{useOutsideClick-89fa06c9.js → useOutsideClick-13923eed.js} +0 -0
- /package/build/{useScrollbarSize-17884d4b.js → useScrollbarSize-8413daa8.js} +0 -0
- /package/build/{useUniqueId-7dc8618f.js → useUniqueId-693dbafd.js} +0 -0
- /package/build/{utils-67d5f4f0.js → utils-74ebddd4.js} +0 -0
package/build/esm/subot.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, memo, useImperativeHandle } from 'react';
|
|
2
|
-
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-
|
|
3
|
-
import { a as __awaiter, _ as __rest } from './tslib.es6-
|
|
4
|
-
import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-
|
|
2
|
+
import { d as NodeType, c as NodePosition, f as NodeActionType, e as NodeFinalTypes, g as NodeMultipleOptions, E as ELEMENT_CONTROL_INPUT_TYPE, N as NodeIntentType, F as FULL_KEY_ADDRESS } from './index-27b20a96.js';
|
|
3
|
+
import { a as __awaiter, _ as __rest } from './tslib.es6-0bc2dc94.js';
|
|
4
|
+
import { e as basePath, G as GA_TOKEN_COOKIE, h as DATE_FNS_DATE_FORMAT, A as API_DATE_FORMAT, f as SSO_URL } from './index-200b80bf.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, t as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, t as locale, T as TogetherComponentGlobalContext } from './utils-42c19230.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, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i 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, T as TIME_RESET_RESEND_OTP, i as isFakeEmail, s as ssoIntents, j as getHhgIdFromCookie } from './index-5fbe3918.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, f as checkMobile, e as checkUntilFinished, h as clickAndOpenInNewTab, g as getHelloSitesUrl, j as getHhgIdFromCookie, b as getSubotCookieId, a as getUserIdFromCookie, c as getUserInfoFromCookie, d as getWindowId, i as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-5fbe3918.js';
|
|
12
12
|
import { MAP_DOMAIN_BY_LOCALE } from './constantsDomainLocales.js';
|
|
13
13
|
import cn from 'classnames';
|
|
14
|
-
import { C as Container$w } from './index-
|
|
15
|
-
import { L as Loading } from './index-
|
|
14
|
+
import { C as Container$w } from './index-737ca605.js';
|
|
15
|
+
import { L as Loading } from './index-89047435.js';
|
|
16
16
|
import { motion } from 'framer-motion';
|
|
17
17
|
import styled from '@emotion/styled';
|
|
18
|
-
import { M as MediaQueries } from './utils-
|
|
19
|
-
import { B as Button } from './index-
|
|
18
|
+
import { M as MediaQueries } from './utils-fd148004.js';
|
|
19
|
+
import { B as Button } from './index-451d331b.js';
|
|
20
20
|
import { Remarkable } from 'remarkable';
|
|
21
21
|
import { ArrowRight } from '@hhgtech/icons/other';
|
|
22
22
|
import { useInView } from 'react-intersection-observer';
|
|
23
23
|
import { Box, Textarea } from '@mantine/core';
|
|
24
|
-
import { C as CommonGAssets } from './index-
|
|
24
|
+
import { C as CommonGAssets } from './index-b01d1221.js';
|
|
25
25
|
import dayjs from 'dayjs';
|
|
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-838c9dc1.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-c845f391.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-41141658.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './useMantineLocale-
|
|
35
|
-
import './index.styles-
|
|
36
|
-
import './translationsContext-
|
|
34
|
+
import './useMantineLocale-d43b1d39.js';
|
|
35
|
+
import './index.styles-437e46a6.js';
|
|
36
|
+
import './translationsContext-5f1d7813.js';
|
|
37
37
|
import '@mantine/hooks';
|
|
38
|
-
import './other-
|
|
39
|
-
import './index-
|
|
38
|
+
import './other-36fd4294.js';
|
|
39
|
+
import './index-3e780042.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-032d0b20.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { L as LOCALE } from './Locale-
|
|
47
|
-
import { D as DatePicker } from './index-
|
|
48
|
-
import { D as Dropdown } from './index-
|
|
49
|
-
import { B as Button$1 } from './index-
|
|
50
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
46
|
+
import { L as LOCALE } from './Locale-7825f906.js';
|
|
47
|
+
import { D as DatePicker } from './index-18f19f22.js';
|
|
48
|
+
import { D as Dropdown } from './index-2d8645bf.js';
|
|
49
|
+
import { B as Button$1 } from './index-9ea2f8fb.js';
|
|
50
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-0f6b964c.js';
|
|
51
51
|
import 'date-fns/locale';
|
|
52
52
|
import './constantsSite.js';
|
|
53
53
|
import './constantsRiskScreener.js';
|
|
54
|
-
import './index-
|
|
54
|
+
import './index-9e5d27c9.js';
|
|
55
55
|
import './miscCookieHelper.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import './togetherApiPaths.js';
|
|
58
|
-
import './index-
|
|
59
|
-
import './WhatsApp-
|
|
60
|
-
import './Spinner-
|
|
61
|
-
import './index-
|
|
62
|
-
import './useScreenSize-
|
|
58
|
+
import './index-7fe0eb60.js';
|
|
59
|
+
import './WhatsApp-778196dc.js';
|
|
60
|
+
import './Spinner-d1b30dcf.js';
|
|
61
|
+
import './index-08e9ef65.js';
|
|
62
|
+
import './useScreenSize-e25a13dc.js';
|
|
63
63
|
import '@mantine/carousel';
|
|
64
|
-
import './useUniqueId-
|
|
64
|
+
import './useUniqueId-24779955.js';
|
|
65
65
|
import '@hhgtech/icons/core';
|
|
66
66
|
import '@mantine/notifications';
|
|
67
67
|
import 'date-fns';
|
|
68
68
|
import 'react-day-picker/DayPickerInput';
|
|
69
69
|
import 'zustand';
|
|
70
|
-
import './normalizeLink-
|
|
70
|
+
import './normalizeLink-99fab3ff.js';
|
|
71
71
|
|
|
72
72
|
// extend fastdom
|
|
73
73
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -1538,7 +1538,7 @@ const excludeNodeList = [
|
|
|
1538
1538
|
// return false
|
|
1539
1539
|
// }
|
|
1540
1540
|
const Container$u = () => {
|
|
1541
|
-
var _a, _b, _c
|
|
1541
|
+
var _a, _b, _c;
|
|
1542
1542
|
const { formatMessage: f, action: { pushNotifications }, } = useContext(TogetherComponentGlobalContext);
|
|
1543
1543
|
const currentUrl = useCurrentUrl();
|
|
1544
1544
|
const { listNodes, activeId, isShowFooter, onNext, onPrev, params, onStartOver, loading, } = useContext(SubotInlineContext);
|
|
@@ -1549,15 +1549,16 @@ const Container$u = () => {
|
|
|
1549
1549
|
const actionNextChoice = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.USER_CHOICE_NEXT);
|
|
1550
1550
|
const actionPollSubmit = (_b = node === null || node === void 0 ? void 0 : node.actions) === null || _b === void 0 ? void 0 : _b.find(({ type }) => type == NodeActionType.POLL_BUTTON);
|
|
1551
1551
|
const actionMultipleSubmit = (_c = node === null || node === void 0 ? void 0 : node.actions) === null || _c === void 0 ? void 0 : _c.find(({ type }) => type == NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
1552
|
-
const selectedWithOtherInput =
|
|
1553
|
-
|
|
1552
|
+
// const selectedWithOtherInput =
|
|
1553
|
+
// node?.actions?.find(({ id }) => id === value.action_id)?.type ===
|
|
1554
|
+
// NodeActionType.USER_CHOICE_TEXT_BY_INPUT
|
|
1554
1555
|
const handleNextChoice = () => {
|
|
1555
1556
|
const nextValue = {
|
|
1556
1557
|
node_id: node.id,
|
|
1557
1558
|
action_id: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id,
|
|
1558
1559
|
action_value: actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.key,
|
|
1559
1560
|
};
|
|
1560
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1561
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), nextValue));
|
|
1561
1562
|
};
|
|
1562
1563
|
const handlePollSubmit = () => {
|
|
1563
1564
|
var _a;
|
|
@@ -1602,15 +1603,15 @@ const Container$u = () => {
|
|
|
1602
1603
|
});
|
|
1603
1604
|
}
|
|
1604
1605
|
else {
|
|
1605
|
-
onNext(Object.assign(Object.assign(Object.assign({}, params),
|
|
1606
|
+
onNext(Object.assign(Object.assign(Object.assign({}, params), node === null || node === void 0 ? void 0 : node._message), value));
|
|
1606
1607
|
}
|
|
1607
1608
|
};
|
|
1608
1609
|
if (!isShowFooter)
|
|
1609
1610
|
return null;
|
|
1610
1611
|
const found = listNodes.find((nodeItem) => nodeItem.id == activeId);
|
|
1611
1612
|
const isDisabled = disabledNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '') ||
|
|
1612
|
-
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '')
|
|
1613
|
-
|
|
1613
|
+
disabledPositionList.includes((found === null || found === void 0 ? void 0 : found.position) || '');
|
|
1614
|
+
// selectedWithOtherInput
|
|
1614
1615
|
const isDisplayAction = !excludeNodeList.includes((found === null || found === void 0 ? void 0 : found.type) || '');
|
|
1615
1616
|
return (React__default.createElement(StyledWrap$p, { "data-show-action": isDisplayAction },
|
|
1616
1617
|
React__default.createElement("button", { onClick: onStartOver, "data-event-category": "Service Connection", "data-event-action": "Risk Screening Start Over", "data-event-label": currentUrl, "data-bot-id": params.bot_id, className: "si-footer-start-over", disabled: Boolean((botItem === null || botItem === void 0 ? void 0 : botItem.subot_field_type) && activeId == (listNodes === null || listNodes === void 0 ? void 0 : listNodes[1].id)) },
|
|
@@ -5416,21 +5417,9 @@ const stylesTextarea = {
|
|
|
5416
5417
|
boxShadow: '0px 0px 0px 2px var(--subot-inline-primary-color-300) !important',
|
|
5417
5418
|
},
|
|
5418
5419
|
},
|
|
5419
|
-
};
|
|
5420
|
-
const stylesButtonSubmitOther = {
|
|
5421
|
-
root: {
|
|
5422
|
-
':not(:disabled)': {
|
|
5423
|
-
backgroundColor: 'var(--subot-inline-primary-color) !important',
|
|
5424
|
-
'&:hover': {
|
|
5425
|
-
backgroundColor: 'var(--subot-inline-primary-color-hover) !important',
|
|
5426
|
-
},
|
|
5427
|
-
},
|
|
5428
|
-
},
|
|
5429
5420
|
};
|
|
5430
5421
|
|
|
5431
5422
|
const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) => {
|
|
5432
|
-
const timeoutId = useRef(null);
|
|
5433
|
-
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
5434
5423
|
const currentUrl = useCurrentUrl();
|
|
5435
5424
|
const inputRef = useRef(null);
|
|
5436
5425
|
const [otherText, setOtherText] = useState('');
|
|
@@ -5438,14 +5427,6 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5438
5427
|
const isActionPollWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5439
5428
|
const isActionSelectWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5440
5429
|
isActionPollWithOther;
|
|
5441
|
-
const actionSubmitted = isActionPollWithOther
|
|
5442
|
-
? {
|
|
5443
|
-
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5444
|
-
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
|
|
5445
|
-
value: '',
|
|
5446
|
-
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5447
|
-
}
|
|
5448
|
-
: action;
|
|
5449
5430
|
useEffect(() => {
|
|
5450
5431
|
var _a, _b;
|
|
5451
5432
|
if (active) {
|
|
@@ -5453,45 +5434,24 @@ const Container$a = ({ action, onChange, active, htmlType, formSubmitMeta, }) =>
|
|
|
5453
5434
|
(_b = inputRef.current) === null || _b === void 0 ? void 0 : _b.focus();
|
|
5454
5435
|
}
|
|
5455
5436
|
}, [active, formSubmitMeta]);
|
|
5456
|
-
const handleClickWithFormMeta = () => {
|
|
5457
|
-
if (otherText) {
|
|
5458
|
-
onChange &&
|
|
5459
|
-
onChange(actionSubmitted, [
|
|
5460
|
-
{
|
|
5461
|
-
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5462
|
-
control: 'text',
|
|
5463
|
-
value: otherText,
|
|
5464
|
-
},
|
|
5465
|
-
]);
|
|
5466
|
-
}
|
|
5467
|
-
};
|
|
5468
5437
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5469
5438
|
const onChangeTextArea = (evt) => {
|
|
5470
5439
|
setOtherText(evt.target.value);
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
value: evt.target.value,
|
|
5480
|
-
},
|
|
5481
|
-
]);
|
|
5482
|
-
}, 300);
|
|
5483
|
-
}
|
|
5440
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(action, [
|
|
5441
|
+
{
|
|
5442
|
+
key: KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD,
|
|
5443
|
+
control: 'text',
|
|
5444
|
+
value: evt.target.value,
|
|
5445
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5446
|
+
},
|
|
5447
|
+
]);
|
|
5484
5448
|
};
|
|
5485
5449
|
return (React__default.createElement(React__default.Fragment, null,
|
|
5486
|
-
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange
|
|
5450
|
+
React__default.createElement(StyledWrap$5, { id: "si-action-text-choice", active: !!active, onClick: () => onChange === null || onChange === void 0 ? void 0 : onChange(action), "data-event-category": "Service Connection", "data-event-action": "Risk Screening Answer Click", "data-event-label": currentUrl, "data-bot-id": params.bot_id },
|
|
5487
5451
|
React__default.createElement(StyledRadioIcon, { active: !!active }, htmlType === 'checkbox' && (React__default.createElement(Checkbox, { className: "icon-checkbox", viewBox: "0 0 22 22" }))),
|
|
5488
5452
|
React__default.createElement("div", { className: "label" }, action === null || action === void 0 ? void 0 : action.label)),
|
|
5489
5453
|
isActionSelectWithOther && active && (React__default.createElement(Box, { px: "2px", style: { textAlign: 'right' } },
|
|
5490
|
-
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })
|
|
5491
|
-
!isActionPollWithOther && (React__default.createElement(Button, { size: "sm", mt: "5px", styles: stylesButtonSubmitOther, disabled: !otherText, onClick: handleClickWithFormMeta }, f({
|
|
5492
|
-
id: 'feedback.submit',
|
|
5493
|
-
defaultMessage: 'Submit',
|
|
5494
|
-
})))))));
|
|
5454
|
+
React__default.createElement(Textarea, { ref: inputRef, placeholder: action === null || action === void 0 ? void 0 : action.label, styles: stylesTextarea, value: otherText, onChange: onChangeTextArea, maxLength: 360 })))));
|
|
5495
5455
|
};
|
|
5496
5456
|
Container$a.displayName = 'SubotInlineActionTextChoice';
|
|
5497
5457
|
|
|
@@ -5651,34 +5611,49 @@ const Container$5 = ({ node, indexNumber }) => {
|
|
|
5651
5611
|
}
|
|
5652
5612
|
return [];
|
|
5653
5613
|
}, [value, value === null || value === void 0 ? void 0 : value.selected_actions]);
|
|
5654
|
-
const handleOnChange = (action) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5614
|
+
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5615
|
+
var _b, _c;
|
|
5616
|
+
if (action) {
|
|
5617
|
+
const _value = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, selected_actions: Object.assign({}, value === null || value === void 0 ? void 0 : value.selected_actions) })));
|
|
5618
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5619
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5620
|
+
const isExistedPoll = (_value === null || _value === void 0 ? void 0 : _value.selected_actions) && action.id in _value.selected_actions;
|
|
5621
|
+
if (isExistedPoll) {
|
|
5622
|
+
if (formSubmitMeta) {
|
|
5623
|
+
_value.form_submit_meta = formSubmitMeta;
|
|
5624
|
+
}
|
|
5625
|
+
else {
|
|
5626
|
+
delete _value.form_submit_meta;
|
|
5627
|
+
(_b = _value.selected_actions) === null || _b === void 0 ? true : delete _b[action.id];
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
else {
|
|
5631
|
+
if (action === null || action === void 0 ? void 0 : action.id) {
|
|
5632
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5633
|
+
}
|
|
5634
|
+
}
|
|
5635
|
+
setValue(_value);
|
|
5636
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(_value);
|
|
5637
|
+
return;
|
|
5638
|
+
}
|
|
5639
|
+
if (!((_c = _value.selected_actions) === null || _c === void 0 ? void 0 : _c[action.id])) {
|
|
5640
|
+
_value.selected_actions = Object.assign(Object.assign({}, _value.selected_actions), { [action.id]: action.key || '' });
|
|
5641
|
+
onChange && onChange(_value);
|
|
5642
|
+
setValue(_value);
|
|
5643
|
+
return;
|
|
5644
|
+
}
|
|
5645
|
+
if (_value.selected_actions[action.id]) {
|
|
5646
|
+
delete _value.selected_actions[action.id];
|
|
5647
|
+
onChange && onChange(_value);
|
|
5648
|
+
setValue(_value);
|
|
5649
|
+
return;
|
|
5650
|
+
}
|
|
5676
5651
|
}
|
|
5677
5652
|
});
|
|
5678
5653
|
const actionsRemoveMultipleBtn = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.filter((a) => a.type !== NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
5679
5654
|
return (React__default.createElement(StyledWrap$3, { id: "si-node-text" },
|
|
5680
5655
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5681
|
-
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange })));
|
|
5656
|
+
React__default.createElement(Container$7, { value: activeActions, actions: actionsRemoveMultipleBtn, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5682
5657
|
};
|
|
5683
5658
|
Container$5.displayName = 'SubotInlineNodeMultipleContainer';
|
|
5684
5659
|
|
|
@@ -5722,8 +5697,7 @@ const StyledWrap$2 = styled.div `
|
|
|
5722
5697
|
`;
|
|
5723
5698
|
|
|
5724
5699
|
const Container$4 = ({ node, indexNumber }) => {
|
|
5725
|
-
|
|
5726
|
-
const { params, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5700
|
+
const { onChange, setIsShowFooter } = useContext(SubotInlineContext);
|
|
5727
5701
|
const { value, setValue } = useContext(NodeContext);
|
|
5728
5702
|
const descriptionNode = useDescriptionPollNode({ node });
|
|
5729
5703
|
useMemo(() => {
|
|
@@ -5740,48 +5714,41 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5740
5714
|
return null;
|
|
5741
5715
|
}, [node === null || node === void 0 ? void 0 : node.actions]);
|
|
5742
5716
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5743
|
-
const handleOnChange = (
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
const formUpdateIndex = currentSubmitMeta.findIndex(({ action_id }) => action_id === formValue.action_id);
|
|
5755
|
-
/**
|
|
5756
|
-
* The current logic when onChange is called will remove/add this poll action in the submit meta
|
|
5757
|
-
* But IF the onChange is called due to the input text other, this action will be not removed from the previous list
|
|
5758
|
-
*/
|
|
5759
|
-
if (formUpdateIndex !== -1) {
|
|
5760
|
-
tmpFormSubmitMeta = [
|
|
5761
|
-
...currentSubmitMeta.slice(0, formUpdateIndex),
|
|
5762
|
-
...currentSubmitMeta.slice(formUpdateIndex + 1),
|
|
5763
|
-
];
|
|
5764
|
-
}
|
|
5765
|
-
else {
|
|
5766
|
-
if (!is_multi_select) {
|
|
5767
|
-
tmpFormSubmitMeta = [Object.assign({}, formValue)];
|
|
5768
|
-
}
|
|
5769
|
-
else {
|
|
5770
|
-
tmpFormSubmitMeta = [...currentSubmitMeta];
|
|
5771
|
-
tmpFormSubmitMeta.push(formValue);
|
|
5772
|
-
}
|
|
5773
|
-
}
|
|
5717
|
+
const handleOnChange = (action, formSubmitMeta) => {
|
|
5718
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
5719
|
+
const newValue = JSON.parse(JSON.stringify(Object.assign(Object.assign({}, value), { node_id: node.id, action_id: submitButton === null || submitButton === void 0 ? void 0 : submitButton.id, action_value: submitButton === null || submitButton === void 0 ? void 0 : submitButton.key, form_submit_meta: [...((value === null || value === void 0 ? void 0 : value.form_submit_meta) || [])] })));
|
|
5720
|
+
if ((action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT ||
|
|
5721
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT) {
|
|
5722
|
+
const isExistedPoll = (_a = newValue.form_submit_meta) === null || _a === void 0 ? void 0 : _a.some(({ action_id }) => action_id === action.id);
|
|
5723
|
+
if (isExistedPoll) {
|
|
5724
|
+
newValue.form_submit_meta =
|
|
5725
|
+
typeof formSubmitMeta === 'undefined'
|
|
5726
|
+
? (_b = newValue.form_submit_meta) === null || _b === void 0 ? void 0 : _b.filter(({ action_id }) => action_id !== action.id)
|
|
5727
|
+
: (_c = newValue.form_submit_meta) === null || _c === void 0 ? void 0 : _c.filter(({ action_id }) => action_id !== action.id).concat(formSubmitMeta);
|
|
5774
5728
|
}
|
|
5775
5729
|
else {
|
|
5776
|
-
|
|
5730
|
+
newValue.form_submit_meta = (_d = newValue.form_submit_meta) === null || _d === void 0 ? void 0 : _d.concat([
|
|
5731
|
+
{
|
|
5732
|
+
key: action === null || action === void 0 ? void 0 : action.key,
|
|
5733
|
+
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type] || 'text',
|
|
5734
|
+
value: '',
|
|
5735
|
+
action_id: action === null || action === void 0 ? void 0 : action.id,
|
|
5736
|
+
},
|
|
5737
|
+
]);
|
|
5777
5738
|
}
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5739
|
+
setValue(newValue);
|
|
5740
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5741
|
+
return;
|
|
5742
|
+
}
|
|
5743
|
+
const isPoll = (_e = newValue.form_submit_meta) === null || _e === void 0 ? void 0 : _e.some(({ action_id }) => action_id === (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5744
|
+
if (isPoll) {
|
|
5745
|
+
newValue.form_submit_meta = (_f = newValue.form_submit_meta) === null || _f === void 0 ? void 0 : _f.filter(({ action_id }) => action_id !== (action === null || action === void 0 ? void 0 : action.action_id));
|
|
5784
5746
|
}
|
|
5747
|
+
else {
|
|
5748
|
+
newValue.form_submit_meta = (_g = newValue.form_submit_meta) === null || _g === void 0 ? void 0 : _g.concat([action]);
|
|
5749
|
+
}
|
|
5750
|
+
setValue(newValue);
|
|
5751
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5785
5752
|
};
|
|
5786
5753
|
const activeActions = useMemo(() => {
|
|
5787
5754
|
if (value === null || value === void 0 ? void 0 : value.form_submit_meta) {
|
|
@@ -5789,10 +5756,14 @@ const Container$4 = ({ node, indexNumber }) => {
|
|
|
5789
5756
|
}
|
|
5790
5757
|
return [];
|
|
5791
5758
|
}, [value, value === null || value === void 0 ? void 0 : value.form_submit_meta]);
|
|
5759
|
+
useEffect(() => {
|
|
5760
|
+
console.log('adfsafsdf');
|
|
5761
|
+
setValue(node === null || node === void 0 ? void 0 : node._message);
|
|
5762
|
+
}, []);
|
|
5792
5763
|
return (React__default.createElement(StyledWrap$2, null,
|
|
5793
5764
|
React__default.createElement(Container$h, { intents: node.intents || [], indexNumber: indexNumber }),
|
|
5794
5765
|
React__default.createElement("p", { className: "si-poll-description" }, descriptionNode),
|
|
5795
|
-
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5766
|
+
React__default.createElement(Container$7, { node_type: node === null || node === void 0 ? void 0 : node.type, value: activeActions, actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5796
5767
|
};
|
|
5797
5768
|
Container$4.displayName = 'SubotinlineNodePoll';
|
|
5798
5769
|
|
|
@@ -5863,7 +5834,6 @@ const StyledWrap = styled.div `
|
|
|
5863
5834
|
`;
|
|
5864
5835
|
|
|
5865
5836
|
const Container$2 = ({ node, indexNumber }) => {
|
|
5866
|
-
var _a;
|
|
5867
5837
|
const { params, onSubmit, setIsShowFooter, listNodes, activeId, setLoading, onChange, } = useContext(SubotInlineContext);
|
|
5868
5838
|
const { value, setValue } = useContext(NodeContext);
|
|
5869
5839
|
useMemo(() => {
|
|
@@ -5883,7 +5853,7 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5883
5853
|
const res = yield subotInlineMessage(newParams);
|
|
5884
5854
|
setLoading(false);
|
|
5885
5855
|
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5886
|
-
const
|
|
5856
|
+
const _a = res === null || res === void 0 ? void 0 : res._data, { node } = _a, restData = __rest(_a, ["node"]);
|
|
5887
5857
|
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5888
5858
|
onSubmit(nextNode, newParams);
|
|
5889
5859
|
}
|
|
@@ -5891,28 +5861,21 @@ const Container$2 = ({ node, indexNumber }) => {
|
|
|
5891
5861
|
const handleOnChange = (action, formSubmitMeta) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5892
5862
|
if (!action)
|
|
5893
5863
|
return;
|
|
5894
|
-
const
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5864
|
+
const actionWithOther = (action === null || action === void 0 ? void 0 : action.type) === NodeActionType.USER_CHOICE_TEXT_BY_INPUT ||
|
|
5865
|
+
(action === null || action === void 0 ? void 0 : action.type) === NodeActionType.POLL_CHOICE_TEXT_BY_INPUT;
|
|
5866
|
+
const newValue = Object.assign(Object.assign({}, value), { action_id: action === null || action === void 0 ? void 0 : action.id, action_value: action === null || action === void 0 ? void 0 : action.key, form_submit_meta: formSubmitMeta });
|
|
5867
|
+
if (actionWithOther) {
|
|
5868
|
+
setValue(newValue);
|
|
5869
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
5898
5870
|
return;
|
|
5899
5871
|
}
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
setLoading(true);
|
|
5904
|
-
const res = yield subotInlineMessage(newParams);
|
|
5905
|
-
setLoading(false);
|
|
5906
|
-
if ((res === null || res === void 0 ? void 0 : res._status) === 1) {
|
|
5907
|
-
const _c = res === null || res === void 0 ? void 0 : res._data, { node } = _c, restData = __rest(_c, ["node"]);
|
|
5908
|
-
const nextNode = Object.assign(Object.assign({}, node), { _message: Object.assign(Object.assign({}, restData), { node_id: node.id }) });
|
|
5909
|
-
onSubmit(nextNode, newParams);
|
|
5910
|
-
}
|
|
5911
|
-
}
|
|
5872
|
+
delete newValue.form_submit_meta;
|
|
5873
|
+
setValue(newValue);
|
|
5874
|
+
handleOnChangeNormal(action);
|
|
5912
5875
|
});
|
|
5913
5876
|
return (React__default.createElement(StyledWrap, { id: "si-node-text" },
|
|
5914
5877
|
React__default.createElement(Container$h, { intents: (node === null || node === void 0 ? void 0 : node.intents) || [], indexNumber: indexNumber }),
|
|
5915
|
-
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta:
|
|
5878
|
+
React__default.createElement(Container$7, { value: (value === null || value === void 0 ? void 0 : value.action_id) ? [value === null || value === void 0 ? void 0 : value.action_id] : [], actions: node === null || node === void 0 ? void 0 : node.actions, onChange: handleOnChange, formSubmitMeta: value === null || value === void 0 ? void 0 : value.form_submit_meta })));
|
|
5916
5879
|
};
|
|
5917
5880
|
Container$2.displayName = 'SubotInlineNodeTextContainer';
|
|
5918
5881
|
|
|
@@ -1,58 +1,58 @@
|
|
|
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-dfd03dfc.js';
|
|
4
|
+
import './utils-42c19230.js';
|
|
5
|
+
import './index-08e9ef65.js';
|
|
6
|
+
import './index-b01d1221.js';
|
|
7
7
|
import './constantsDomainLocales.js';
|
|
8
|
-
import './Locale-
|
|
8
|
+
import './Locale-7825f906.js';
|
|
9
9
|
import './constantsIsProduction.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-200b80bf.js';
|
|
11
11
|
import 'date-fns/locale';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-27b20a96.js';
|
|
13
13
|
import './constantsSite.js';
|
|
14
14
|
import './constantsRiskScreener.js';
|
|
15
|
-
import './tslib.es6-
|
|
16
|
-
import './store-
|
|
15
|
+
import './tslib.es6-0bc2dc94.js';
|
|
16
|
+
import './store-0f6b964c.js';
|
|
17
17
|
import 'zustand';
|
|
18
|
-
import './normalizeLink-
|
|
18
|
+
import './normalizeLink-99fab3ff.js';
|
|
19
19
|
import './miscCookieHelper.js';
|
|
20
|
-
import './useScreenSize-
|
|
20
|
+
import './useScreenSize-e25a13dc.js';
|
|
21
21
|
import '@emotion/styled';
|
|
22
|
-
import './utils-
|
|
22
|
+
import './utils-fd148004.js';
|
|
23
23
|
import '@mantine/form';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-41141658.js';
|
|
25
25
|
import '@hhgtech/icons/other';
|
|
26
26
|
import '@mantine/hooks';
|
|
27
27
|
import '@mantine/carousel';
|
|
28
|
-
import './index-
|
|
29
|
-
import './other-
|
|
28
|
+
import './index-c845f391.js';
|
|
29
|
+
import './other-36fd4294.js';
|
|
30
30
|
import './miscTheme.js';
|
|
31
|
-
import './useMantineLocale-
|
|
31
|
+
import './useMantineLocale-d43b1d39.js';
|
|
32
32
|
import '@mantine/notifications';
|
|
33
33
|
import 'dayjs';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-451d331b.js';
|
|
35
35
|
import 'classnames';
|
|
36
|
-
import './useUniqueId-
|
|
36
|
+
import './useUniqueId-24779955.js';
|
|
37
37
|
import '@hhgtech/icons/core';
|
|
38
38
|
import '@mantine/dates';
|
|
39
|
-
import './index.styles-
|
|
40
|
-
import './index-
|
|
39
|
+
import './index.styles-437e46a6.js';
|
|
40
|
+
import './index-3e780042.js';
|
|
41
41
|
import './togetherApiPaths.js';
|
|
42
|
-
import './translationsContext-
|
|
43
|
-
import './index-
|
|
44
|
-
import './useHealthToolCache-
|
|
42
|
+
import './translationsContext-5f1d7813.js';
|
|
43
|
+
import './index-72ac7721.js';
|
|
44
|
+
import './useHealthToolCache-9bd130ab.js';
|
|
45
45
|
import './miscGetDynamicHealthTool.js';
|
|
46
|
-
import './core-
|
|
47
|
-
import './index-
|
|
48
|
-
import './WhatsApp-
|
|
49
|
-
import './Spinner-
|
|
50
|
-
import './index-
|
|
51
|
-
import './index-
|
|
46
|
+
import './core-74116e98.js';
|
|
47
|
+
import './index-7fe0eb60.js';
|
|
48
|
+
import './WhatsApp-778196dc.js';
|
|
49
|
+
import './Spinner-d1b30dcf.js';
|
|
50
|
+
import './index-596c7a24.js';
|
|
51
|
+
import './index-4bdd5ba3.js';
|
|
52
52
|
import 'js-cookie';
|
|
53
53
|
import 'lodash/flatten';
|
|
54
54
|
import 'lodash/uniqBy';
|
|
55
|
-
import './index-
|
|
55
|
+
import './index-9e5d27c9.js';
|
|
56
56
|
import 'slugify';
|
|
57
57
|
import 'string-format';
|
|
58
|
-
import './constants-
|
|
58
|
+
import './constants-838c9dc1.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-8128373e.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
4
|
-
import './tslib.es6-
|
|
5
|
-
import './index-
|
|
3
|
+
import './index-9ea2f8fb.js';
|
|
4
|
+
import './tslib.es6-0bc2dc94.js';
|
|
5
|
+
import './index-451d331b.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './index-
|
|
8
|
-
import './other-
|
|
9
|
-
import './index-
|
|
10
|
-
import './index-
|
|
7
|
+
import './index-c845f391.js';
|
|
8
|
+
import './other-36fd4294.js';
|
|
9
|
+
import './index-72ac7721.js';
|
|
10
|
+
import './index-b6605078.js';
|
|
11
11
|
import '@emotion/styled';
|
|
12
12
|
import './miscTheme.js';
|
|
13
|
-
import './utils-
|
|
14
|
-
import './index-
|
|
13
|
+
import './utils-fd148004.js';
|
|
14
|
+
import './index-47095f99.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-9ea2f8fb.js';
|
|
3
|
+
import { T as Text } from './index-c845f391.js';
|
|
4
|
+
import { H as Heading } from './index-72ac7721.js';
|
|
5
|
+
import { I as Input } from './index-b6605078.js';
|
|
6
|
+
import { T as TextArea } from './index-47095f99.js';
|
|
7
7
|
import styled from '@emotion/styled';
|
|
8
8
|
import { theme } from './miscTheme.js';
|
|
9
9
|
|