@hhgtech/hhg-components 1.29.341-beta-5 → 1.29.341-beta-6
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-27df7a0a.js → LastPeriod-d3a34a26.js} +1 -1
- package/build/{MobileBottomNavigationIcon-4942fc7f.js → MobileBottomNavigationIcon-c88dc471.js} +3 -3
- package/build/{Spinner-79c56e50.js → Spinner-0880c7b5.js} +1 -1
- package/build/{WhatsApp-49d02385.js → WhatsApp-e81f1b2c.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +47 -47
- 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.js +91 -91
- package/build/{constants-97b67898.js → constants-5397405f.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-b454dda9.js → core-4d0d09f6.js} +1 -1
- package/build/{dataTransform-35738d62.js → dataTransform-6bcf8f7f.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-669a36ec.js → editor-5d6683e4.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-71d51df2.js → LastPeriod-445c4f74.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-c4701e4e.js → MobileBottomNavigationIcon-86824ba3.js} +3 -3
- package/build/esm/{Spinner-d42e2aa6.js → Spinner-86a7a96d.js} +1 -1
- package/build/esm/{WhatsApp-89ab29e7.js → WhatsApp-0661f2a5.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +47 -47
- 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.js +91 -91
- package/build/esm/{constants-14b4c6ee.js → constants-2707d5f3.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-2fcc1568.js → core-8b2e83de.js} +1 -1
- package/build/esm/{dataTransform-58744e96.js → dataTransform-43aaec89.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-a7bc729e.js → editor-148cf2d6.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-d611b510.js → index-060dcad6.js} +17 -17
- package/build/esm/{index-856724ed.js → index-0b466384.js} +12 -12
- package/build/esm/{index-3c059c5a.js → index-0e80b2bf.js} +16 -16
- package/build/esm/{index-260a698d.js → index-0e85054e.js} +2 -2
- package/build/esm/{index-4c2124e1.js → index-1541ac31.js} +13 -13
- package/build/esm/{index-52bf7e7f.js → index-15bfa9b4.js} +1 -1
- package/build/esm/{index-f2a869ea.js → index-18a40d9e.js} +10 -10
- package/build/esm/{index-1713878d.js → index-18ffcb37.js} +7 -7
- package/build/esm/{index-fa69ed71.js → index-1a89f3b8.js} +3 -3
- package/build/esm/{index-fd8ef2e3.js → index-1dd105ac.js} +5 -5
- package/build/esm/{index-f650bb28.js → index-1dea4e66.js} +2 -2
- package/build/esm/{index-e7d4d5e5.js → index-1f9948c9.js} +30 -30
- package/build/esm/{index-28cc83cc.js → index-1ff47c4d.js} +17 -17
- package/build/esm/{index-28d58efe.js → index-23d8e1c1.js} +2 -2
- package/build/esm/{index-e0a9183f.js → index-258e8bd2.js} +20 -20
- package/build/esm/{index-11cf3c38.js → index-3061aff3.js} +1 -1
- package/build/esm/{index-59e5d341.js → index-3d3df4e3.js} +3 -3
- package/build/esm/{index-6c7a1cec.js → index-3ec8ebd8.js} +3 -3
- package/build/esm/{index-1fa9ef2d.js → index-42159dfc.js} +15 -15
- package/build/esm/{index-46e95b8b.js → index-43b35f03.js} +2 -2
- package/build/esm/{index-647b7b92.js → index-43b7d586.js} +13 -13
- package/build/esm/{index-83f04dc6.js → index-505f23af.js} +18 -18
- package/build/esm/{index-44ebfbe8.js → index-56214c0a.js} +4 -4
- package/build/esm/{index-b7204fcd.js → index-5c1f8a90.js} +2 -2
- package/build/esm/{index-83b25948.js → index-5e51786e.js} +1 -1
- package/build/esm/{index-8cb28ea4.js → index-5eb98de8.js} +2 -2
- package/build/esm/{index-d610f37e.js → index-5f510e75.js} +24 -24
- package/build/esm/{index-92cb7683.js → index-5fd787ee.js} +1 -1
- package/build/esm/{index-a22f97b1.js → index-62786f7e.js} +2 -2
- package/build/esm/{index-05f8c81e.js → index-694e1606.js} +24 -24
- package/build/esm/{index-5a6b515a.js → index-6cfe4c92.js} +13 -13
- package/build/esm/{index-522e4dde.js → index-6f5cfa77.js} +15 -15
- package/build/esm/{index-4c68000a.js → index-79c91bac.js} +16 -16
- package/build/esm/{index-559b96b9.js → index-80d6f6e4.js} +1 -1
- package/build/esm/{index-d937373e.js → index-83a4ef9d.js} +2 -2
- package/build/esm/{index-2eedd7c7.js → index-8a544e4f.js} +1 -1
- package/build/esm/{index-832e25de.js → index-8adbd8f9.js} +1 -1
- package/build/esm/{index-c190df65.js → index-8bc5c330.js} +6 -6
- package/build/esm/{index-84cf55b3.js → index-8cf66e0e.js} +18 -18
- package/build/esm/{index-4f9c8a88.js → index-8d144a73.js} +1 -1
- package/build/esm/{index-c217ea52.js → index-8d46ac3c.js} +1 -1
- package/build/esm/{index-27c9434f.js → index-a6003b50.js} +21 -21
- package/build/esm/{index-c157385c.js → index-a729b6eb.js} +3 -3
- package/build/esm/{index-ceda0505.js → index-aab29dcd.js} +16 -16
- package/build/esm/{index-b14461a3.js → index-be1c8ab0.js} +2 -2
- package/build/esm/{index-86f399c7.js → index-c20cc661.js} +2 -2
- package/build/esm/{index-52bdb705.js → index-c29c903a.js} +2 -2
- package/build/esm/{index-747f1e80.js → index-c4c4de68.js} +32 -32
- package/build/esm/{index-5900183a.js → index-c59ede8c.js} +13 -13
- package/build/esm/{index-f0f76c3f.js → index-c8f26e4d.js} +2 -2
- package/build/esm/{index-d22d0175.js → index-c988c52f.js} +3 -3
- package/build/esm/{index-f8743b92.js → index-c99543ad.js} +31 -31
- package/build/esm/{index-0d74a29c.js → index-d023d205.js} +3 -3
- package/build/esm/{index-ca6b5f7d.js → index-d56bf46a.js} +18 -18
- package/build/esm/{index-f049f69e.js → index-dc897fbd.js} +5 -5
- package/build/esm/{index-506a9759.js → index-e097d4ac.js} +6 -6
- package/build/esm/{index-73c778f3.js → index-e232b272.js} +3 -3
- package/build/esm/{index-fcb96083.js → index-e72557b8.js} +2 -2
- package/build/esm/{index-d0976fcb.js → index-f110a9a2.js} +16 -16
- package/build/esm/{index-cd179a77.js → index-f420cf57.js} +7 -7
- package/build/esm/{index-f59f0485.js → index-fa104806.js} +6 -6
- package/build/esm/{index-aaca7e77.js → index-feac627a.js} +6 -6
- package/build/esm/index.js +113 -113
- package/build/esm/{labelSorting-dc77f838.js → labelSorting-dabbbe49.js} +4 -4
- package/build/esm/lead/components/form/formContext.d.ts +3 -1
- package/build/esm/lead/components/index.d.ts +3 -2
- package/build/esm/lead/helpers.d.ts +2 -0
- package/build/esm/lead/index.d.ts +2 -0
- package/build/esm/lead/layouts/lightbox/formContext.d.ts +3 -1
- package/build/esm/lead/layouts/lightbox/index.d.ts +3 -2
- package/build/esm/lead/newLeadPopup.d.ts +3 -2
- package/build/esm/lead.js +98 -62
- package/build/esm/{logoIcon-50c181ec.js → logoIcon-c4869d97.js} +2 -2
- package/build/esm/mantine.js +25 -25
- 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-b51dc320.js → post-69a74800.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.js +26 -26
- package/build/esm/{store-4d31051c.js → store-70ff0557.js} +4 -4
- package/build/esm/subot.js +33 -33
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-d303658f.js → surveyThankyouCard-a04bbf2c.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-50b68dbd.js → treePopoverMenu-1ae55cf2.js} +19 -19
- package/build/esm/{types-04e01758.js → types-c3523b3f.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-ee0fdf0a.js → useCategory-5032dae0.js} +5 -5
- package/build/esm/{useHealthToolCache-19cb17fc.js → useHealthToolCache-1f9dbb24.js} +1 -1
- package/build/esm/{useMantineLocale-1c62b715.js → useMantineLocale-1feddb9c.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-3e36095e.js → usePlacesAutocomplete-8e98765d.js} +1 -1
- package/build/esm/{useScreenSize-832ea891.js → useScreenSize-d2b943c6.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-b1dbc1ff.js → utils-48b2ce06.js} +3 -3
- package/build/esm/{utils-595f3dab.js → utils-9f92bc89.js} +2 -2
- package/build/esm/{utils-2f20a6d6.js → utils-e707f777.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-68c83e43.js → index-028ad64e.js} +2 -2
- package/build/{index-95b990c7.js → index-06ecba73.js} +1 -1
- package/build/{index-f93b7b79.js → index-096c02e4.js} +1 -1
- package/build/{index-6c121039.js → index-0a6692aa.js} +2 -2
- package/build/{index-39cbbed1.js → index-0fb731bc.js} +6 -6
- package/build/{index-a42d4999.js → index-11a97002.js} +3 -3
- package/build/{index-789d2752.js → index-122c8281.js} +16 -16
- package/build/{index-0280888f.js → index-126ba271.js} +2 -2
- package/build/{index-1a29b5b0.js → index-16be0a64.js} +4 -4
- package/build/{index-19392be5.js → index-271b1ed9.js} +5 -5
- package/build/{index-bb6c2f03.js → index-2ae87c66.js} +2 -2
- package/build/{index-956bf295.js → index-2ea52f21.js} +1 -1
- package/build/{index-b2accd66.js → index-2f13a319.js} +2 -2
- package/build/{index-3f368d25.js → index-3f2a3c92.js} +1 -1
- package/build/{index-86a102aa.js → index-3f44a095.js} +7 -7
- package/build/{index-d983a354.js → index-4604a341.js} +3 -3
- package/build/{index-1a89e40c.js → index-46c21580.js} +24 -24
- package/build/{index-f2f7c253.js → index-4b3d5059.js} +12 -12
- package/build/{index-c9f15ff0.js → index-4bd49bd1.js} +1 -1
- package/build/{index-be72ea92.js → index-4d76c468.js} +18 -18
- package/build/{index-6f902779.js → index-51656cca.js} +13 -13
- package/build/{index-85a429a7.js → index-53e03a34.js} +16 -16
- package/build/{index-2228078a.js → index-5b0e851e.js} +10 -10
- package/build/{index-718c38a5.js → index-5cdd5aa4.js} +17 -17
- package/build/{index-a1adb71d.js → index-654ae36c.js} +3 -3
- package/build/{index-7c6163be.js → index-6c8c3f82.js} +3 -3
- package/build/{index-89dbd54e.js → index-6e35cc70.js} +13 -13
- package/build/{index-30387e41.js → index-6ea0fa63.js} +6 -6
- package/build/{index-9073aa54.js → index-726d0c57.js} +17 -17
- package/build/{index-fa40c6fa.js → index-7471e48a.js} +3 -3
- package/build/{index-9b3f7407.js → index-74894e0f.js} +13 -13
- package/build/{index-cc01465c.js → index-79d8bd3d.js} +1 -1
- package/build/{index-c3263683.js → index-79e08f28.js} +2 -2
- package/build/{index-6a4334ac.js → index-84687a9d.js} +30 -30
- package/build/{index-2a59805b.js → index-8ad233b6.js} +18 -18
- package/build/{index-7b0ba6b9.js → index-9a66f912.js} +5 -5
- package/build/{index-73feb185.js → index-9ae0bda7.js} +1 -1
- package/build/{index-bf45850d.js → index-9e6ee013.js} +2 -2
- package/build/{index-8eab69ed.js → index-a0dbd6e6.js} +24 -24
- package/build/{index-4b2a1789.js → index-a5f5d94c.js} +16 -16
- package/build/{index-7c2cba9e.js → index-a7c2f66e.js} +3 -3
- package/build/{index-92c51829.js → index-b25db8a2.js} +2 -2
- package/build/{index-a05b98e2.js → index-b2bb259b.js} +20 -20
- package/build/{index-ac936784.js → index-b3e23386.js} +32 -32
- package/build/{index-bf12cb46.js → index-b61f7bee.js} +18 -18
- package/build/{index-f8f30cb2.js → index-baf71493.js} +16 -16
- package/build/{index-435a9bed.js → index-bc7d9fda.js} +2 -2
- package/build/{index-2fa2dc29.js → index-bedf455c.js} +2 -2
- package/build/{index-60ac9e4f.js → index-bfc8ca13.js} +2 -2
- package/build/{index-a8e1460a.js → index-c38e8c00.js} +21 -21
- package/build/{index-87085b20.js → index-c505f551.js} +1 -1
- package/build/{index-a5495fa5.js → index-ca049913.js} +6 -6
- package/build/{index-14edd2e4.js → index-ca93f224.js} +2 -2
- package/build/{index-d4848610.js → index-ce11b8d5.js} +2 -2
- package/build/{index-f9290063.js → index-e01d395f.js} +1 -1
- package/build/{index-9d5d73b3.js → index-e106734c.js} +31 -31
- package/build/{index-1d1ac6a2.js → index-ec104b95.js} +6 -6
- package/build/{index-2ef16235.js → index-ecec0461.js} +3 -3
- package/build/{index-a66f7024.js → index-f112490f.js} +13 -13
- package/build/{index-7b7b348d.js → index-f1f87483.js} +15 -15
- package/build/{index-14523591.js → index-fc3ff1b1.js} +15 -15
- package/build/{index-b9c4ac93.js → index-fdcf3328.js} +7 -7
- package/build/index.js +113 -113
- package/build/{labelSorting-26d79e30.js → labelSorting-e444e316.js} +4 -4
- package/build/lead/components/form/formContext.d.ts +3 -1
- package/build/lead/components/index.d.ts +3 -2
- package/build/lead/helpers.d.ts +2 -0
- package/build/lead/index.d.ts +2 -0
- package/build/lead/layouts/lightbox/formContext.d.ts +3 -1
- package/build/lead/layouts/lightbox/index.d.ts +3 -2
- package/build/lead/newLeadPopup.d.ts +3 -2
- package/build/lead.js +97 -61
- package/build/{logoIcon-c12761a4.js → logoIcon-5457b799.js} +2 -2
- package/build/mantine.js +22 -22
- 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-ee5f90af.js → post-8e2e6567.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +25 -25
- package/build/{store-d35149a9.js → store-23823f5a.js} +4 -4
- package/build/subot.js +32 -32
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-87395adc.js → surveyThankyouCard-d8629f56.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-b8ffa288.js → treePopoverMenu-3462f402.js} +19 -19
- package/build/{types-2a5989bd.js → types-ef834ac0.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-7c16901e.js → useCategory-1bed55fb.js} +5 -5
- package/build/{useHealthToolCache-bf014c5a.js → useHealthToolCache-c3068c08.js} +1 -1
- package/build/{useMantineLocale-5d31eb43.js → useMantineLocale-52ba38a0.js} +6 -6
- package/build/{usePlacesAutocomplete-46ba5c2f.js → usePlacesAutocomplete-692a5cd1.js} +1 -1
- package/build/{useScreenSize-f25b6162.js → useScreenSize-641babdc.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-5089eb00.js → utils-2f42f582.js} +2 -2
- package/build/{utils-070d8e57.js → utils-4abf6c8e.js} +3 -3
- package/build/{utils-42f9a190.js → utils-d2a7fa77.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-0cca8635.js → BMI_BOYS.percentile.monthly-b5b604b9.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-35bd5110.js → BMI_BOYS.percentile.weekly-a7944572.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-50b25137.js → BMI_BOYS.percentile.yearly-0ae72e77.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-e377ac8b.js → BMI_BOYS.zscore.monthly-833d0502.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-eeb84c69.js → BMI_BOYS.zscore.weekly-8db71af5.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-1ea48eb3.js → BMI_BOYS.zscore.yearly-c29cb751.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-16556e4f.js → BMI_GIRLS.percentile.monthly-25f98ebd.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-39be9a1b.js → BMI_GIRLS.percentile.weekly-b1c79289.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-278bdc92.js → BMI_GIRLS.percentile.yearly-5a398bc8.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-28393f01.js → BMI_GIRLS.zscore.monthly-a0da9d70.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-755c846b.js → BMI_GIRLS.zscore.weekly-b3a0faa0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-a1c1376b.js → BMI_GIRLS.zscore.yearly-ee8ad123.js} +0 -0
- /package/build/{ChevronDown-d8325a77.js → ChevronDown-4569e866.js} +0 -0
- /package/build/{Close-2207ced2.js → Close-b4bbe84d.js} +0 -0
- /package/build/{Google-a69e244a.js → Google-0a0d5d4f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-34c7bafb.js → HEAD CIRCUM_BOYS.percentile.monthly-49b30ec5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-aea4995a.js → HEAD CIRCUM_BOYS.percentile.weekly-cfc78f17.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-79828b21.js → HEAD CIRCUM_BOYS.percentile.yearly-9538a4ae.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-5ea2b038.js → HEAD CIRCUM_BOYS.zscore.monthly-c6c7195c.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-5ded7af4.js → HEAD CIRCUM_BOYS.zscore.weekly-726dd81d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-4c89ac67.js → HEAD CIRCUM_BOYS.zscore.yearly-1e3c70fc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-df8d5f17.js → HEAD CIRCUM_GIRLS.percentile.monthly-af341f11.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-682ff0de.js → HEAD CIRCUM_GIRLS.percentile.weekly-123efae6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-0d130e60.js → HEAD CIRCUM_GIRLS.percentile.yearly-18619384.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-35b57325.js → HEAD CIRCUM_GIRLS.zscore.monthly-f1c74ff1.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-d5fcd19e.js → HEAD CIRCUM_GIRLS.zscore.weekly-5dbd3865.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-689bb22b.js → HEAD CIRCUM_GIRLS.zscore.yearly-3e22d1a6.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-f60ee9db.js → HEIGHT_BOYS.percentile.monthly-4f06dec9.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-50e1bfa5.js → HEIGHT_BOYS.percentile.weekly-76515620.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c68c72fb.js → HEIGHT_BOYS.percentile.yearly-41a489da.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-2f2cb420.js → HEIGHT_BOYS.zscore.monthly-473ee160.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-91d0830e.js → HEIGHT_BOYS.zscore.weekly-fb0c3d00.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-ce843c80.js → HEIGHT_BOYS.zscore.yearly-7776e62d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-c618e74e.js → HEIGHT_GIRLS.percentile.monthly-46ede717.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-c0e7ba9a.js → HEIGHT_GIRLS.percentile.weekly-382a6979.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-0925ace2.js → HEIGHT_GIRLS.percentile.yearly-3cd09486.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-e7c6b883.js → HEIGHT_GIRLS.zscore.monthly-23ddf814.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-361bcb55.js → HEIGHT_GIRLS.zscore.weekly-a67923c5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-266a2048.js → HEIGHT_GIRLS.zscore.yearly-0174dedb.js} +0 -0
- /package/build/{Locale-67318c96.js → Locale-3f23c811.js} +0 -0
- /package/build/{Visible-3be1d984.js → Visible-5a6a971e.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-91ad1280.js → WEIGHT_BOYS.percentile.monthly-acccd5e2.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-d7622a88.js → WEIGHT_BOYS.percentile.weekly-a2d352f3.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-e3ab9e89.js → WEIGHT_BOYS.percentile.yearly-191dcc2b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-436b0d0d.js → WEIGHT_BOYS.zscore.monthly-63a7ae5d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-d5d15226.js → WEIGHT_BOYS.zscore.weekly-1da5110b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-267fd7bb.js → WEIGHT_BOYS.zscore.yearly-90e59d19.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-5c56ced3.js → WEIGHT_GIRLS.percentile.monthly-1b2ff0a3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-eb67fe81.js → WEIGHT_GIRLS.percentile.weekly-a59a9982.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-403c858d.js → WEIGHT_GIRLS.percentile.yearly-dcc7ceb2.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-ff818ff3.js → WEIGHT_GIRLS.zscore.monthly-c4473bcc.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-758bcabd.js → WEIGHT_GIRLS.zscore.weekly-59c6f20e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-80652df6.js → WEIGHT_GIRLS.zscore.yearly-c3ec055f.js} +0 -0
- /package/build/{animation-03df4310.js → animation-6b824d15.js} +0 -0
- /package/build/{constants-198d54f3.js → constants-29732063.js} +0 -0
- /package/build/{constants-f418eda9.js → constants-66525f07.js} +0 -0
- /package/build/{constants-879652eb.js → constants-b7585c85.js} +0 -0
- /package/build/{dataTransform-66a0e5ae.js → dataTransform-9c7260d6.js} +0 -0
- /package/build/{doctor-f2c0e296.js → doctor-1a8dc8e5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-714e1d7b.js → BMI_BOYS.percentile.monthly-606d09a9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-36a79859.js → BMI_BOYS.percentile.weekly-e44d6ae5.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-af4edd03.js → BMI_BOYS.percentile.yearly-a70a2a6d.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-fb4f387f.js → BMI_BOYS.zscore.monthly-998e4aac.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-043360d6.js → BMI_BOYS.zscore.weekly-3df7c638.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-c4f7de93.js → BMI_BOYS.zscore.yearly-1267f679.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-0c29c271.js → BMI_GIRLS.percentile.monthly-8b03ed84.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-91b844ca.js → BMI_GIRLS.percentile.weekly-24091f93.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-39187710.js → BMI_GIRLS.percentile.yearly-a4d8cf3f.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-5d7ead81.js → BMI_GIRLS.zscore.monthly-340fed6b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-e649d19c.js → BMI_GIRLS.zscore.weekly-d5c46c8b.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-2df134ff.js → BMI_GIRLS.zscore.yearly-a4122fcb.js} +0 -0
- /package/build/esm/{ChevronDown-c5a890aa.js → ChevronDown-ff6ec965.js} +0 -0
- /package/build/esm/{Close-ff41bb0d.js → Close-6812fb47.js} +0 -0
- /package/build/esm/{Google-41959d16.js → Google-18dd2136.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-e0bac857.js → HEAD CIRCUM_BOYS.percentile.monthly-cd045f68.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-8ea26cbd.js → HEAD CIRCUM_BOYS.percentile.weekly-f1b23013.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-191bb1d8.js → HEAD CIRCUM_BOYS.percentile.yearly-f5d1f881.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-66d0ca20.js → HEAD CIRCUM_BOYS.zscore.monthly-9d4d25a5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-5a4f3516.js → HEAD CIRCUM_BOYS.zscore.weekly-9cbf2fb5.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-eef4a95c.js → HEAD CIRCUM_BOYS.zscore.yearly-9404b339.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-cdb0e1fc.js → HEAD CIRCUM_GIRLS.percentile.monthly-8f38a256.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-cc733705.js → HEAD CIRCUM_GIRLS.percentile.weekly-f49677bd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-080b615e.js → HEAD CIRCUM_GIRLS.percentile.yearly-8209f963.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-dceefcca.js → HEAD CIRCUM_GIRLS.zscore.monthly-9b3dad4c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-a55e7c8e.js → HEAD CIRCUM_GIRLS.zscore.weekly-6f25eef0.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-473342a0.js → HEAD CIRCUM_GIRLS.zscore.yearly-02d7e737.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-6a2c5f99.js → HEIGHT_BOYS.percentile.monthly-3b0bb8b9.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-df56e4bd.js → HEIGHT_BOYS.percentile.weekly-d915a0f7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d79dc744.js → HEIGHT_BOYS.percentile.yearly-9d60e5a7.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-4912de97.js → HEIGHT_BOYS.zscore.monthly-0dc4d2ba.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-1a87df95.js → HEIGHT_BOYS.zscore.weekly-5eed933d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a7060ce2.js → HEIGHT_BOYS.zscore.yearly-fb8e2c2f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-0b981810.js → HEIGHT_GIRLS.percentile.monthly-e83897df.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-b976a012.js → HEIGHT_GIRLS.percentile.weekly-fa416be0.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-a4f14dc6.js → HEIGHT_GIRLS.percentile.yearly-c2fcd617.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c5f157ae.js → HEIGHT_GIRLS.zscore.monthly-ac219149.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-0363899e.js → HEIGHT_GIRLS.zscore.weekly-0ed41439.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-4d1afb3e.js → HEIGHT_GIRLS.zscore.yearly-5b3395ae.js} +0 -0
- /package/build/esm/{Locale-82737cba.js → Locale-7140abf6.js} +0 -0
- /package/build/esm/{Visible-241bb92e.js → Visible-98f8a2cf.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-9d79bbff.js → WEIGHT_BOYS.percentile.monthly-50acf97b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-9c34b5ca.js → WEIGHT_BOYS.percentile.weekly-5d8ded2f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-b89683f1.js → WEIGHT_BOYS.percentile.yearly-1b8d7cdd.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-bdca5451.js → WEIGHT_BOYS.zscore.monthly-5e77d33f.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-389312be.js → WEIGHT_BOYS.zscore.weekly-1d74f213.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-c9298e66.js → WEIGHT_BOYS.zscore.yearly-6e257fd8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-d9424e46.js → WEIGHT_GIRLS.percentile.monthly-b6f06fce.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c3b85f17.js → WEIGHT_GIRLS.percentile.weekly-ed2591df.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-97beb532.js → WEIGHT_GIRLS.percentile.yearly-1a1b2e26.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-72d5364d.js → WEIGHT_GIRLS.zscore.monthly-85dd43a4.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-483bca6f.js → WEIGHT_GIRLS.zscore.weekly-f5a80c1a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-6727871b.js → WEIGHT_GIRLS.zscore.yearly-69f49585.js} +0 -0
- /package/build/esm/{animation-767017ef.js → animation-188099e1.js} +0 -0
- /package/build/esm/{constants-8033a6f7.js → constants-448e00b1.js} +0 -0
- /package/build/esm/{constants-d429ea90.js → constants-8bec688b.js} +0 -0
- /package/build/esm/{constants-936a9fc7.js → constants-b368a942.js} +0 -0
- /package/build/esm/{dataTransform-01bfaef7.js → dataTransform-425f7dee.js} +0 -0
- /package/build/esm/{doctor-df1c73f4.js → doctor-e91f5f7a.js} +0 -0
- /package/build/esm/{index-45ed6241.js → index-0d268939.js} +0 -0
- /package/build/esm/{index-66cecb96.js → index-52561df1.js} +0 -0
- /package/build/esm/{index-366cbe4d.js → index-5758f18b.js} +0 -0
- /package/build/esm/{index-51153b47.js → index-76d4d63b.js} +0 -0
- /package/build/esm/{index-78405fbe.js → index-76e16e84.js} +0 -0
- /package/build/esm/{index-546912df.js → index-8358793e.js} +0 -0
- /package/build/esm/{index-f37cd68a.js → index-916d350e.js} +0 -0
- /package/build/esm/{index-7f345a65.js → index-bc9cb952.js} +0 -0
- /package/build/esm/{index-2940b1e5.js → index-d1db433b.js} +0 -0
- /package/build/esm/{index.styles-241e597c.js → index.styles-174d7f7f.js} +0 -0
- /package/build/esm/{localizeNumberFormat-bce4d77f.js → localizeNumberFormat-0d5d019d.js} +0 -0
- /package/build/esm/{normalizeLink-227b684f.js → normalizeLink-3eee9386.js} +0 -0
- /package/build/esm/{other-c98cc85f.js → other-87250184.js} +0 -0
- /package/build/esm/{paths-aad11b44.js → paths-46c89126.js} +0 -0
- /package/build/esm/{translationsContext-e77c3167.js → translationsContext-342eb826.js} +0 -0
- /package/build/esm/{tslib.es6-b13d9bb6.js → tslib.es6-e4e4e213.js} +0 -0
- /package/build/esm/{types-d026fc20.js → types-d5ec97aa.js} +0 -0
- /package/build/esm/{useIsInit-060c3dee.js → useIsInit-735d3f86.js} +0 -0
- /package/build/esm/{useOutsideClick-db23ae98.js → useOutsideClick-4292066c.js} +0 -0
- /package/build/esm/{useScrollbarSize-38d032c0.js → useScrollbarSize-df07f70b.js} +0 -0
- /package/build/esm/{useUniqueId-1968e55d.js → useUniqueId-66ee10d3.js} +0 -0
- /package/build/esm/{utils-b095b5f7.js → utils-7a82afbe.js} +0 -0
- /package/build/{index-e875e6d7.js → index-0c4f440e.js} +0 -0
- /package/build/{index-a4bcc0d9.js → index-1f7128f8.js} +0 -0
- /package/build/{index-3c1fcd6a.js → index-780d0fe5.js} +0 -0
- /package/build/{index-7aeccaac.js → index-7e3624b2.js} +0 -0
- /package/build/{index-63ebb255.js → index-c12db032.js} +0 -0
- /package/build/{index-956dd694.js → index-d02ea1a3.js} +0 -0
- /package/build/{index-23f71ff9.js → index-d39319cd.js} +0 -0
- /package/build/{index-a1e10b80.js → index-de69559f.js} +0 -0
- /package/build/{index-d19a8f4a.js → index-e853ef2c.js} +0 -0
- /package/build/{index.styles-00fb0f57.js → index.styles-294794ae.js} +0 -0
- /package/build/{localizeNumberFormat-84c04922.js → localizeNumberFormat-74c84715.js} +0 -0
- /package/build/{normalizeLink-4f4ec65f.js → normalizeLink-4b332018.js} +0 -0
- /package/build/{other-2aef6e7b.js → other-09df9edd.js} +0 -0
- /package/build/{paths-53a4bcab.js → paths-8e3116ac.js} +0 -0
- /package/build/{translationsContext-78a38d7d.js → translationsContext-d6aa823c.js} +0 -0
- /package/build/{tslib.es6-1e89b599.js → tslib.es6-c16c058f.js} +0 -0
- /package/build/{types-237181b2.js → types-8c847ad9.js} +0 -0
- /package/build/{useIsInit-e02ecb42.js → useIsInit-2449992f.js} +0 -0
- /package/build/{useOutsideClick-937935da.js → useOutsideClick-e9fb0c69.js} +0 -0
- /package/build/{useScrollbarSize-2d34ec5c.js → useScrollbarSize-3f413999.js} +0 -0
- /package/build/{useUniqueId-fe9aa36d.js → useUniqueId-eb856ec9.js} +0 -0
- /package/build/{utils-0f489780.js → utils-80131590.js} +0 -0
package/build/esm/lead.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
2
|
-
import React__default, { createContext,
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-e4e4e213.js';
|
|
2
|
+
import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback } from 'react';
|
|
3
3
|
import { createStyles, Box, Autocomplete, clsx, Input as Input$1, TextInput, NumberInput as NumberInput$1, Button as Button$2, Portal, Transition, Overlay } from '@mantine/core';
|
|
4
4
|
import dayjs from 'dayjs';
|
|
5
5
|
import debounce from 'lodash/debounce';
|
|
6
6
|
import { createFormContext } from '@mantine/form';
|
|
7
|
-
import { u as useTranslations } from './index-
|
|
8
|
-
import { T as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
7
|
+
import { u as useTranslations } from './index-8a544e4f.js';
|
|
8
|
+
import { T as TranslationsContext } from './translationsContext-342eb826.js';
|
|
9
|
+
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
10
|
+
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-7a82afbe.js';
|
|
11
|
+
import { T as Text } from './index-be1c8ab0.js';
|
|
12
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-0b466384.js';
|
|
13
|
+
import { D as DatePicker } from './index-8bc5c330.js';
|
|
14
|
+
import { M as MAPPED_LOCALE } from './utils-e707f777.js';
|
|
12
15
|
import '@mantine/dates';
|
|
13
|
-
import { Z as ZINDEX_SSO } from './index-
|
|
14
|
-
import './index-
|
|
15
|
-
import { C as CommonGAssets } from './index-
|
|
16
|
-
import './useMantineLocale-
|
|
17
|
-
import { B as Button$1 } from './index-
|
|
18
|
-
import './index.styles-
|
|
19
|
-
import { T as TranslationsContext } from './translationsContext-e77c3167.js';
|
|
16
|
+
import { Z as ZINDEX_SSO } from './index-43b35f03.js';
|
|
17
|
+
import './index-5e51786e.js';
|
|
18
|
+
import { C as CommonGAssets } from './index-916d350e.js';
|
|
19
|
+
import './useMantineLocale-1feddb9c.js';
|
|
20
|
+
import { B as Button$1 } from './index-8adbd8f9.js';
|
|
21
|
+
import './index.styles-174d7f7f.js';
|
|
20
22
|
import { useClickOutside } from '@mantine/hooks';
|
|
21
|
-
import
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { H as Heading$1 } from './index-d937373e.js';
|
|
23
|
+
import './other-87250184.js';
|
|
24
|
+
import './index-e232b272.js';
|
|
25
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-8e98765d.js';
|
|
26
|
+
import { B as Button } from './index-c20cc661.js';
|
|
27
|
+
import { H as Heading$1 } from './index-83a4ef9d.js';
|
|
27
28
|
import { v1 } from 'uuid';
|
|
28
|
-
import { i as isVideo } from './index-
|
|
29
|
-
import { D as DrawerComponent } from './index-
|
|
30
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
29
|
+
import { i as isVideo } from './index-52561df1.js';
|
|
30
|
+
import { D as DrawerComponent } from './index-c29c903a.js';
|
|
31
|
+
import { u as useScreenSize } from './useScreenSize-d2b943c6.js';
|
|
31
32
|
import { createPortal } from 'react-dom';
|
|
32
33
|
import { css } from '@emotion/react';
|
|
33
34
|
import styled from '@emotion/styled';
|
|
34
35
|
import { theme } from './miscTheme.js';
|
|
35
|
-
import {
|
|
36
|
-
import { C as Close } from './Close-ff41bb0d.js';
|
|
36
|
+
import { C as Close } from './Close-6812fb47.js';
|
|
37
37
|
import '@hhgtech/icons/other';
|
|
38
38
|
import '@mantine/carousel';
|
|
39
|
-
import './Locale-
|
|
39
|
+
import './Locale-7140abf6.js';
|
|
40
40
|
import 'classnames';
|
|
41
|
-
import './useUniqueId-
|
|
41
|
+
import './useUniqueId-66ee10d3.js';
|
|
42
42
|
import './constantsSite.js';
|
|
43
43
|
import '@hhgtech/icons/core';
|
|
44
44
|
import 'date-fns/locale';
|
|
@@ -135,6 +135,38 @@ const LEAD_TIMEZONE_DATA = {
|
|
|
135
135
|
9: 'Asia/Manila', // Philippines / Filipinos Site
|
|
136
136
|
};
|
|
137
137
|
|
|
138
|
+
const SSO_MAP_LEAD = ['name', 'email', 'birthday', 'phone', 'gender'];
|
|
139
|
+
const mappingSSOToLead = (userInfoProps) => {
|
|
140
|
+
if (!(userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id)) {
|
|
141
|
+
return null;
|
|
142
|
+
}
|
|
143
|
+
const user = {};
|
|
144
|
+
for (const ssoKey of SSO_MAP_LEAD) {
|
|
145
|
+
if (ssoKey in userInfoProps &&
|
|
146
|
+
typeof (userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps[ssoKey]) !== 'undefined') {
|
|
147
|
+
const initValue = userInfoProps[ssoKey];
|
|
148
|
+
if (ssoKey === 'birthday') {
|
|
149
|
+
const dob = dayjs(initValue, 'YYYY-MM-DD', true);
|
|
150
|
+
if (dob.isValid()) {
|
|
151
|
+
user.birthday = dob;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
else if (ssoKey === 'gender') {
|
|
155
|
+
user.gender = initValue.toString();
|
|
156
|
+
}
|
|
157
|
+
else if (ssoKey === 'phone' &&
|
|
158
|
+
typeof (userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps['area_code']) !== 'undefined') {
|
|
159
|
+
const areaCode = userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps['area_code'];
|
|
160
|
+
user.phone = areaCode + initValue;
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
user[ssoKey] = initValue;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return Object.values(user).length ? user : null;
|
|
168
|
+
};
|
|
169
|
+
|
|
138
170
|
class Store {
|
|
139
171
|
constructor() {
|
|
140
172
|
this.apiLeadUrl = 'https://dev.leadgen.hellobacsi.com/';
|
|
@@ -353,8 +385,9 @@ const clearCacheUsedEmailOrPhone = () => {
|
|
|
353
385
|
|
|
354
386
|
// You can give context variables any name
|
|
355
387
|
const [LeadFormProvider$1, useLeadFormContext$1, useLeadForm$1] = createFormContext();
|
|
356
|
-
const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], }) => {
|
|
388
|
+
const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], userInfo: userInfoProps, }) => {
|
|
357
389
|
const { t } = useTranslations();
|
|
390
|
+
const userInfo = useMemo(() => mappingSSOToLead(userInfoProps), [userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id]);
|
|
358
391
|
useEffect(() => {
|
|
359
392
|
if (!window.intlTelInputUtils) {
|
|
360
393
|
require('intl-tel-input/build/js/utils');
|
|
@@ -514,13 +547,14 @@ const useLeadFormConfig$1 = ({ listBlockAdded = [], validatingPhoneRef, validati
|
|
|
514
547
|
validateInputOnChange: true,
|
|
515
548
|
clearInputErrorOnChange: true,
|
|
516
549
|
validate: validateObj,
|
|
550
|
+
initialValues: userInfo,
|
|
517
551
|
});
|
|
518
552
|
const formRef = useRef(form);
|
|
519
553
|
formRef.current = form;
|
|
520
554
|
return { form, validateObj };
|
|
521
555
|
};
|
|
522
556
|
|
|
523
|
-
const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, }) => {
|
|
557
|
+
const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, showThankyou, setShowThankyou, locale, children, showEmpty, setShowEmpty, userInfo, }) => {
|
|
524
558
|
var _a, _b;
|
|
525
559
|
const extraFields = campaign.extra_fields;
|
|
526
560
|
const campaignId = campaign.id;
|
|
@@ -538,6 +572,7 @@ const Component = ({ campaign, onClose: onCloseProp, onOtherSubmit, onSubmit, sh
|
|
|
538
572
|
validatingEmailRef,
|
|
539
573
|
campaignId,
|
|
540
574
|
campaign_subot_id,
|
|
575
|
+
userInfo,
|
|
541
576
|
});
|
|
542
577
|
const [showOtpPhone, setShowOtpPhone] = useState(null);
|
|
543
578
|
const [formRef, setFormRef] = useState(null);
|
|
@@ -1547,8 +1582,9 @@ const GoogleLocation = (props) => {
|
|
|
1547
1582
|
|
|
1548
1583
|
// You can give context variables any name
|
|
1549
1584
|
const [LeadFormProvider, useLeadFormContext, useLeadForm] = createFormContext();
|
|
1550
|
-
const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], }) => {
|
|
1585
|
+
const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validatingEmailRef, campaignId, campaign_subot_id = [], userInfo: userInfoProps, }) => {
|
|
1551
1586
|
const { t } = useTranslations();
|
|
1587
|
+
const userInfo = useMemo(() => mappingSSOToLead(userInfoProps), [userInfoProps === null || userInfoProps === void 0 ? void 0 : userInfoProps.id]);
|
|
1552
1588
|
const validateObj = useMemo(() => {
|
|
1553
1589
|
const InputBlocks = [
|
|
1554
1590
|
'TextBlock',
|
|
@@ -1704,6 +1740,7 @@ const useLeadFormConfig = ({ listBlockAdded = [], validatingPhoneRef, validating
|
|
|
1704
1740
|
validateInputOnChange: true,
|
|
1705
1741
|
clearInputErrorOnChange: true,
|
|
1706
1742
|
validate: validateObj,
|
|
1743
|
+
initialValues: userInfo,
|
|
1707
1744
|
});
|
|
1708
1745
|
const formRef = useRef(form);
|
|
1709
1746
|
formRef.current = form;
|
|
@@ -2063,20 +2100,20 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2063
2100
|
case 'SubtitleBlock':
|
|
2064
2101
|
return (React__default.createElement(SubtitleBlock, { key: index, align: align }, value));
|
|
2065
2102
|
case 'TextBlock':
|
|
2066
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2067
|
-
React__default.createElement(TextInput, Object.assign({
|
|
2103
|
+
return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2104
|
+
React__default.createElement(TextInput, Object.assign({ withAsterisk: required, spellCheck: false, type: "text", placeholder: placeholder,
|
|
2068
2105
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2069
2106
|
// onChangeRaw={(e) => inputOnChange('text', e)}
|
|
2070
2107
|
label: placeholder, "data-control": "text", name: value, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
|
|
2071
2108
|
case 'NumberBlock':
|
|
2072
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2073
|
-
React__default.createElement(NumberInput$1, Object.assign({
|
|
2109
|
+
return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2110
|
+
React__default.createElement(NumberInput$1, Object.assign({ withAsterisk: required, spellCheck: false, type: "number", placeholder: placeholder,
|
|
2074
2111
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2075
2112
|
// onChange={(e) => inputOnChange('number', e)}
|
|
2076
2113
|
label: placeholder, "data-control": "number", name: value, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
|
|
2077
2114
|
case 'EmailBlock':
|
|
2078
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2079
|
-
React__default.createElement(TextInput, Object.assign({
|
|
2115
|
+
return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2116
|
+
React__default.createElement(TextInput, Object.assign({ withAsterisk: required, spellCheck: false,
|
|
2080
2117
|
// type="email"
|
|
2081
2118
|
placeholder: placeholder,
|
|
2082
2119
|
// className="lead-modal__form-control leadgen-form_field"
|
|
@@ -2087,26 +2124,22 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2087
2124
|
case 'PhoneBlock': {
|
|
2088
2125
|
const id = popupId + '-' + value + '-' + index;
|
|
2089
2126
|
const _b = form.getInputProps(value), { error } = _b, formPhoneInputWrapper = __rest(_b, ["error"]);
|
|
2090
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: clsx('lead-modal__form-control leadgen-form_field', {
|
|
2127
|
+
return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: clsx('lead-modal__form-control leadgen-form_field', {
|
|
2091
2128
|
'leadgen-form_field_error': !!error,
|
|
2092
2129
|
}) },
|
|
2093
|
-
React__default.createElement(Input$1.Wrapper,
|
|
2094
|
-
htmlFor: id,
|
|
2095
|
-
}, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, formPhoneInputWrapper, { error: error }),
|
|
2130
|
+
React__default.createElement(Input$1.Wrapper, { size: "md", withAsterisk: required, label: placeholder, "data-invalid": !!error, labelProps: { htmlFor: id }, inputWrapperOrder: ['label', 'input', 'description', 'error'], error: error },
|
|
2096
2131
|
React__default.createElement("div", { className: "mantine-Input-wrapper" },
|
|
2097
|
-
React__default.createElement(Phone, { className: "mantine-Input-input", name: value, spellCheck: false, type: "tel", placeholder: placeholder,
|
|
2098
|
-
form.setFieldValue(value, v);
|
|
2099
|
-
},
|
|
2132
|
+
React__default.createElement(Phone, Object.assign({ className: "mantine-Input-input", name: value, spellCheck: false, type: "tel", placeholder: placeholder,
|
|
2100
2133
|
// onBlur={(e) => inputOnBlur('tel', e)}
|
|
2101
|
-
id: id, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" })))));
|
|
2134
|
+
id: id, defaultCountry: (locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN'), "data-control": "tel" }, formPhoneInputWrapper))))));
|
|
2102
2135
|
}
|
|
2103
2136
|
case 'LocationBlock': {
|
|
2104
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2105
|
-
React__default.createElement(GoogleLocation, Object.assign({ withAsterisk: required,
|
|
2137
|
+
return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2138
|
+
React__default.createElement(GoogleLocation, Object.assign({ withAsterisk: required, name: value, placeholder: placeholder, label: placeholder, "data-control": "text", locale: locale, inputWrapperOrder: ['label', 'input', 'description', 'error'] }, form.getInputProps(value)))));
|
|
2106
2139
|
}
|
|
2107
2140
|
case 'DateBlock':
|
|
2108
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2109
|
-
React__default.createElement(DatePicker, Object.assign({ clearable: true, withAsterisk: required,
|
|
2141
|
+
return (React__default.createElement(TextField, { key: index, shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2142
|
+
React__default.createElement(DatePicker, Object.assign({ clearable: true, withAsterisk: required, type: "default", name: value, placeholder: placeholder, label: placeholder, inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
|
|
2110
2143
|
return (React__default.createElement(React__default.Fragment, null,
|
|
2111
2144
|
children,
|
|
2112
2145
|
React__default.createElement("input", { type: "hidden", "data-control": "date", name: value, value: formValue })));
|
|
@@ -2119,13 +2152,13 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2119
2152
|
onOtherSubmit === null || onOtherSubmit === void 0 ? void 0 : onOtherSubmit();
|
|
2120
2153
|
} }, value))));
|
|
2121
2154
|
case 'CheckboxBlock':
|
|
2122
|
-
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox" },
|
|
2155
|
+
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox", key: index },
|
|
2123
2156
|
isSendMailChimp && (React__default.createElement("div", { style: {
|
|
2124
2157
|
display: 'none',
|
|
2125
2158
|
}, "data-name": value + '-mailchimp' })),
|
|
2126
2159
|
React__default.createElement(Checkbox.Group, Object.assign({ withAsterisk: required,
|
|
2127
2160
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2128
|
-
|
|
2161
|
+
label: placeholder, size: "md", sx: {
|
|
2129
2162
|
display: 'flex',
|
|
2130
2163
|
flexDirection: 'column',
|
|
2131
2164
|
flexWrap: 'wrap',
|
|
@@ -2134,17 +2167,19 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2134
2167
|
return (React__default.createElement("div", { className: "leadgen-choiceContainer" }, children));
|
|
2135
2168
|
} }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Checkbox, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "checkbox" }))))));
|
|
2136
2169
|
case 'RadioBlock':
|
|
2137
|
-
return (React__default.createElement(ChoiceField, { className: "leadgen-form_radio" },
|
|
2170
|
+
return (React__default.createElement(ChoiceField, { className: "leadgen-form_radio", key: index },
|
|
2138
2171
|
isSendMailChimp && (React__default.createElement(Input$1, { type: "hidden", name: value + '-mailchimp', value: isSendMailChimp })),
|
|
2139
2172
|
React__default.createElement(Radio.Group, Object.assign({ withAsterisk: required,
|
|
2140
2173
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2141
|
-
|
|
2174
|
+
label: placeholder, size: "md", inputWrapperOrder: ['label', 'input', 'description', 'error'], inputContainer: (children) => {
|
|
2142
2175
|
return (React__default.createElement("div", { className: "leadgen-choiceContainer" }, children));
|
|
2143
2176
|
} }, form.getInputProps(value)), listQuestion.map((l, _index) => (React__default.createElement(Radio, { name: value, key: _index, value: l.value, label: l.placeholder, "data-control": "radio" }))))));
|
|
2144
2177
|
case 'DropdownBlock':
|
|
2145
|
-
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field" },
|
|
2178
|
+
return (React__default.createElement(TextField, { shrink: !!formValue, className: "lead-modal__form-control leadgen-form_field", key: index },
|
|
2146
2179
|
React__default.createElement("div", { style: { display: 'none' }, "data-extra": true, "data-name": value, "data-control": 'dropdown' }),
|
|
2147
|
-
React__default.createElement(Select
|
|
2180
|
+
React__default.createElement(Select
|
|
2181
|
+
// className="lead-modal__form-control leadgen-form_field"
|
|
2182
|
+
, Object.assign({
|
|
2148
2183
|
// className="lead-modal__form-control leadgen-form_field"
|
|
2149
2184
|
label: placeholder, placeholder: placeholder, withAsterisk: required, name: value, data: listQuestion.map((l) => ({
|
|
2150
2185
|
value: l.value,
|
|
@@ -2152,9 +2187,9 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
2152
2187
|
})) }, form.getInputProps(value)))));
|
|
2153
2188
|
case 'TncBlock':
|
|
2154
2189
|
const _c = form.getInputProps(`TNC-${b.id}`), { error } = _c, tncInputProps = __rest(_c, ["error"]);
|
|
2155
|
-
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox" },
|
|
2190
|
+
return (React__default.createElement(ChoiceField, { className: "leadgen-form_checkbox", key: b.id },
|
|
2156
2191
|
React__default.createElement(Input$1.Wrapper, { error: error },
|
|
2157
|
-
React__default.createElement(Checkbox, Object.assign({ name: 'TNC-' + b.id,
|
|
2192
|
+
React__default.createElement(Checkbox, Object.assign({ name: 'TNC-' + b.id, label: React__default.createElement("p", { className: "lead-modal__tnc-link", dangerouslySetInnerHTML: { __html: data.valueHTML } }), className: "tnc-block", "data-control": "checkbox" }, tncInputProps)))));
|
|
2158
2193
|
}
|
|
2159
2194
|
return null;
|
|
2160
2195
|
})));
|
|
@@ -2298,7 +2333,7 @@ const EmptyIcon = (props) => {
|
|
|
2298
2333
|
// image: campaignShow.image
|
|
2299
2334
|
// imageDestkop: campaignShow.image_desktop
|
|
2300
2335
|
const LEADGEN_LIMIT_LIGHTBOXB = 6;
|
|
2301
|
-
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, showThankyou, campaignId, campaign_subot_id, locale, showEmpty, setShowEmpty, }) => {
|
|
2336
|
+
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, showThankyou, campaignId, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, }) => {
|
|
2302
2337
|
var _a, _b, _c;
|
|
2303
2338
|
const { t } = useTranslations();
|
|
2304
2339
|
const { isMobile } = useScreenSize();
|
|
@@ -2366,6 +2401,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
2366
2401
|
validatingEmailRef,
|
|
2367
2402
|
campaignId,
|
|
2368
2403
|
campaign_subot_id,
|
|
2404
|
+
userInfo,
|
|
2369
2405
|
});
|
|
2370
2406
|
const middlewareOnSubmit = (e) => {
|
|
2371
2407
|
e.preventDefault();
|
|
@@ -3006,7 +3042,7 @@ function getCategoryLevel(t = 'Xin chao {{category_2}} extra') {
|
|
|
3006
3042
|
return null;
|
|
3007
3043
|
}
|
|
3008
3044
|
}
|
|
3009
|
-
const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, locale, showEmpty, setShowEmpty, }) => {
|
|
3045
|
+
const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, locale, showEmpty, setShowEmpty, userInfo, }) => {
|
|
3010
3046
|
var _a, _b;
|
|
3011
3047
|
const { apiUrl, siteDomain } = useContext(LeadGenContext);
|
|
3012
3048
|
useEffect(() => {
|
|
@@ -3125,7 +3161,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, local
|
|
|
3125
3161
|
currentLayout == 'Fullscreen' ||
|
|
3126
3162
|
currentLayout == 'Sidebar' ||
|
|
3127
3163
|
currentLayout == 'Slider') {
|
|
3128
|
-
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (form, values) => onSubmit(form, values, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty }));
|
|
3164
|
+
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (form, values) => onSubmit(form, values, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }));
|
|
3129
3165
|
}
|
|
3130
3166
|
else if (currentLayout.includes('Skin')) {
|
|
3131
3167
|
return (React__default.createElement(SkinLayout, { popupId: popupIdRef.current, link: actionBlocks.linkButtonBlock.data.url, linkNewTab: !!actionBlocks.linkButtonBlock.data.newtab, linkText: actionBlocks.linkButtonBlock.data.value, onClose: onClose, onOtherSubmit: onOtherSubmit, imageMobile: image, imageDesktop: image_desktop, currentLayout: currentLayout }));
|
|
@@ -3134,7 +3170,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, showThankyou, local
|
|
|
3134
3170
|
};
|
|
3135
3171
|
|
|
3136
3172
|
// mount css
|
|
3137
|
-
const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues = [], excludeExitRulesHandler, }) => {
|
|
3173
|
+
const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues = [], excludeExitRulesHandler, userInfo, }) => {
|
|
3138
3174
|
var _a;
|
|
3139
3175
|
const scrollEventHandlerRef = useRef();
|
|
3140
3176
|
const leadStartTimeRef = useRef(Date.now());
|
|
@@ -3402,7 +3438,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
|
|
|
3402
3438
|
}
|
|
3403
3439
|
}, [showCampaign]);
|
|
3404
3440
|
return (React__default.createElement(LeadGenContext.Provider, { value: { apiUrl, siteDomain, siteId, locale } },
|
|
3405
|
-
React__default.createElement(TranslationsContext.Provider, { value: { locale, values: getTranslations(locale) } }, children ? (React__default.createElement(Component, { campaign: showCampaign, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, setShowThankyou: setShowThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty }, children)) : (React__default.createElement(Portal, { target: getPopupWrapperDom() },
|
|
3441
|
+
React__default.createElement(TranslationsContext.Provider, { value: { locale, values: getTranslations(locale) } }, children ? (React__default.createElement(Component, { campaign: showCampaign, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, setShowThankyou: setShowThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }, children)) : (React__default.createElement(Portal, { target: getPopupWrapperDom() },
|
|
3406
3442
|
React__default.createElement(Box, { sx: { position: 'fixed', zIndex: ZINDEX_SSO - 9e6 } },
|
|
3407
3443
|
React__default.createElement(Transition, { mounted: Boolean(((_a = showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields) === null || _a === void 0 ? void 0 : _a.popupVersion) === '2.1'), transition: "fade", duration: 600, timingFunction: "ease" }, (styles) => {
|
|
3408
3444
|
var _a;
|
|
@@ -3410,7 +3446,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, apiSubotUrl,
|
|
|
3410
3446
|
!!showCampaign.extra_fields.currentLayout &&
|
|
3411
3447
|
!showCampaign.extra_fields.currentLayout.includes('Inline') &&
|
|
3412
3448
|
!showCampaign.extra_fields.currentLayout.includes('Sidebar') && (React__default.createElement(Overlay, { color: "#000", opacity: 0.6, center: true, zIndex: 400, pos: 'fixed', onClick: () => onClose() })),
|
|
3413
|
-
React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty })))));
|
|
3449
|
+
React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo })))));
|
|
3414
3450
|
})))))));
|
|
3415
3451
|
};
|
|
3416
3452
|
const LeadGen = _LeadGen;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { memo, useMemo } from 'react';
|
|
2
|
-
import { C as CommonGAssets } from './index-
|
|
3
|
-
import { I as ImageWrap } from './useScreenSize-
|
|
2
|
+
import { C as CommonGAssets } from './index-916d350e.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-d2b943c6.js';
|
|
4
4
|
|
|
5
5
|
const _LogoIcon = ({ type, width, height }) => {
|
|
6
6
|
const data = useMemo(() => {
|
package/build/esm/mantine.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-
|
|
2
|
-
export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-
|
|
3
|
-
export { D as DatePicker } from './index-
|
|
4
|
-
export { T as Text } from './index-
|
|
5
|
-
import { B as Button } from './index-
|
|
6
|
-
export { B as Button } from './index-
|
|
7
|
-
export { I as Indicator } from './index-
|
|
1
|
+
import { g as getMantineThemeOverride, h as StyledTextArea, D as DEBOUNCED_TIME, i as StyledSliderWrapper, j as StyledSlider } from './index-0b466384.js';
|
|
2
|
+
export { k as Accordion, A as Anchor, b as AspectRatio, a as Avatar, B as Breadcrumbs, l as Carousel, c as CentralCarousel, d as Checkbox, e as ChipButton, I as Input, O as OTP, P as Phone, n as Popover, R as Radio, S as Select, m as emotionCache, g as getMantineThemeOverride, t as themeColors } from './index-0b466384.js';
|
|
3
|
+
export { D as DatePicker } from './index-8bc5c330.js';
|
|
4
|
+
export { T as Text } from './index-be1c8ab0.js';
|
|
5
|
+
import { B as Button } from './index-8adbd8f9.js';
|
|
6
|
+
export { B as Button } from './index-8adbd8f9.js';
|
|
7
|
+
export { I as Indicator } from './index-15bfa9b4.js';
|
|
8
8
|
import React__default, { useState, useEffect } from 'react';
|
|
9
|
-
export { M as Modal } from './index-
|
|
10
|
-
import { _ as __rest } from './tslib.es6-
|
|
9
|
+
export { M as Modal } from './index-23d8e1c1.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-e4e4e213.js';
|
|
11
11
|
import { MantineProvider as MantineProvider$1, Badge as Badge$1, LoadingOverlay as LoadingOverlay$1, clsx, Title, Text, Button as Button$1 } from '@mantine/core';
|
|
12
12
|
import { theme } from './miscTheme.js';
|
|
13
|
-
export { S as Spoiler } from './index-
|
|
13
|
+
export { S as Spoiler } from './index-1a89f3b8.js';
|
|
14
14
|
import { useDebouncedValue } from '@mantine/hooks';
|
|
15
|
-
export { S as Switch } from './index-
|
|
16
|
-
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-
|
|
17
|
-
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-
|
|
18
|
-
export { O as OTHER_THEME_CONFIG } from './other-
|
|
19
|
-
export { T as Tabs } from './index-
|
|
15
|
+
export { S as Switch } from './index-bc9cb952.js';
|
|
16
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-1feddb9c.js';
|
|
17
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-1feddb9c.js';
|
|
18
|
+
export { O as OTHER_THEME_CONFIG } from './other-87250184.js';
|
|
19
|
+
export { T as Tabs } from './index-e232b272.js';
|
|
20
20
|
import '@hhgtech/icons/other';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-916d350e.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
|
-
import './Locale-
|
|
23
|
+
import './Locale-7140abf6.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
|
-
import './useScreenSize-
|
|
25
|
+
import './useScreenSize-d2b943c6.js';
|
|
26
26
|
import '@emotion/styled';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-7a82afbe.js';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-5e51786e.js';
|
|
30
|
+
import './index-43b35f03.js';
|
|
31
31
|
import 'date-fns/locale';
|
|
32
32
|
import './constantsSite.js';
|
|
33
33
|
import './constantsRiskScreener.js';
|
|
34
34
|
import 'classnames';
|
|
35
|
-
import './useUniqueId-
|
|
35
|
+
import './useUniqueId-66ee10d3.js';
|
|
36
36
|
import '@hhgtech/icons/core';
|
|
37
37
|
import '@mantine/dates';
|
|
38
|
-
import './index.styles-
|
|
39
|
-
import './index-
|
|
40
|
-
import './translationsContext-
|
|
38
|
+
import './index.styles-174d7f7f.js';
|
|
39
|
+
import './index-8a544e4f.js';
|
|
40
|
+
import './translationsContext-342eb826.js';
|
|
41
41
|
import '@mantine/notifications';
|
|
42
42
|
import 'dayjs';
|
|
43
43
|
|
package/build/esm/misc.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-
|
|
2
|
-
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-
|
|
1
|
+
export { a as ageGenerate, c as convertLocalizedStringToNumber, l as localizeNumberFormat } from './localizeNumberFormat-0d5d019d.js';
|
|
2
|
+
export { h as fadeIn, a as slideInDown, b as slideInLeft, c as slideInRight, s as slideInUp, e as slideOutDown, f as slideOutLeft, g as slideOutRight, d as slideOutUp } from './animation-188099e1.js';
|
|
3
3
|
export { deleteCookie, getCookie, setCookie } from './miscCookieHelper.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './useMantineLocale-
|
|
7
|
-
import './index-
|
|
8
|
-
import './index-
|
|
6
|
+
import './useMantineLocale-1feddb9c.js';
|
|
7
|
+
import './index-5e51786e.js';
|
|
8
|
+
import './index-916d350e.js';
|
|
9
9
|
export { MBTheme, theme } from './miscTheme.js';
|
|
10
|
-
export { B as Breakpoints, M as MediaQueries, S as Screens, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-
|
|
11
|
-
import './index-
|
|
12
|
-
export { a as abbreviateNumber, f as formatPill } from './dataTransform-
|
|
13
|
-
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-
|
|
10
|
+
export { B as Breakpoints, M as MediaQueries, S as Screens, f as formatUrlWithPageParam, g as getBoundariesFromMediaQueryKey, a as getPopupWrapperDom, b as getWrapperDomWithSelector, m as makeParams, c as safeEncodeURI, s as startCase, t as toggleNoScroll } from './utils-7a82afbe.js';
|
|
11
|
+
import './index-43b35f03.js';
|
|
12
|
+
export { a as abbreviateNumber, f as formatPill } from './dataTransform-425f7dee.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-3eee9386.js';
|
|
14
14
|
export { formatHealthTool, getDynamicHealthTool, getDynamicHealthToolWithCache } from './miscGetDynamicHealthTool.js';
|
|
15
15
|
export { getSocialList } from './miscGetSocialList.js';
|
|
16
16
|
export { ScreenSizeContext, ScreenSizeContextProvider, getWindowSizeGroups } from './miscScreenSizeContext.js';
|
|
17
17
|
import 'dayjs';
|
|
18
18
|
import '@emotion/react';
|
|
19
|
-
import './tslib.es6-
|
|
19
|
+
import './tslib.es6-e4e4e213.js';
|
|
20
20
|
import '@mantine/notifications';
|
|
21
|
-
import './other-
|
|
22
|
-
import './Locale-
|
|
21
|
+
import './other-87250184.js';
|
|
22
|
+
import './Locale-7140abf6.js';
|
|
23
23
|
import './constantsDomainLocales.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
25
|
import 'date-fns/locale';
|
|
26
26
|
import './constantsSite.js';
|
|
27
27
|
import './constantsRiskScreener.js';
|
|
28
|
-
import './core-
|
|
29
|
-
import './WhatsApp-
|
|
30
|
-
import './index-
|
|
31
|
-
import './index-
|
|
28
|
+
import './core-8b2e83de.js';
|
|
29
|
+
import './WhatsApp-0661f2a5.js';
|
|
30
|
+
import './index-d023d205.js';
|
|
31
|
+
import './index-d1db433b.js';
|
|
32
32
|
import 'js-cookie';
|
|
33
33
|
import 'uuid';
|
|
34
34
|
import 'lodash/throttle';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __awaiter } from './tslib.es6-
|
|
2
|
-
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-
|
|
3
|
-
import { g as getDataWithCache } from './core-
|
|
1
|
+
import { a as __awaiter } from './tslib.es6-e4e4e213.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-3eee9386.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-8b2e83de.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-7140abf6.js';
|
|
6
6
|
import './constantsIsProduction.js';
|
|
7
7
|
|
|
8
8
|
const formatHealthTool = (healthTool, locale) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { _ as __rest } from './tslib.es6-
|
|
3
|
-
import { W as WhatsApp, I as Instagram } from './WhatsApp-
|
|
4
|
-
import { S as SocialType } from './index-
|
|
5
|
-
import { g as getHelloSitesUrl } from './index-
|
|
6
|
-
import { C as CommonGAssets } from './index-
|
|
7
|
-
import { L as LOCALE } from './Locale-
|
|
8
|
-
import './index-
|
|
9
|
-
import './index-
|
|
2
|
+
import { _ as __rest } from './tslib.es6-e4e4e213.js';
|
|
3
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-0661f2a5.js';
|
|
4
|
+
import { S as SocialType } from './index-5e51786e.js';
|
|
5
|
+
import { g as getHelloSitesUrl } from './index-d023d205.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-916d350e.js';
|
|
7
|
+
import { L as LOCALE } from './Locale-7140abf6.js';
|
|
8
|
+
import './index-d1db433b.js';
|
|
9
|
+
import './index-43b35f03.js';
|
|
10
10
|
import 'date-fns/locale';
|
|
11
11
|
import './constantsSite.js';
|
|
12
12
|
import './constantsDomainLocales.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { createContext, useState, useEffect, useMemo } from 'react';
|
|
2
2
|
import throttle from 'lodash/throttle';
|
|
3
|
-
import { B as Breakpoints } from './utils-
|
|
3
|
+
import { B as Breakpoints } from './utils-7a82afbe.js';
|
|
4
4
|
|
|
5
5
|
const ScreenSizeContext = createContext({
|
|
6
6
|
isInit: true,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as __rest } from './tslib.es6-
|
|
1
|
+
import { _ as __rest } from './tslib.es6-e4e4e213.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { M as MobileBottomNavigationIcon, S as StyledMobileBottomNavigation } from './MobileBottomNavigationIcon-
|
|
4
|
-
import './index-
|
|
3
|
+
import { M as MobileBottomNavigationIcon, S as StyledMobileBottomNavigation } from './MobileBottomNavigationIcon-86824ba3.js';
|
|
4
|
+
import './index-be1c8ab0.js';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './other-
|
|
6
|
+
import './other-87250184.js';
|
|
7
7
|
import './miscTheme.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-7a82afbe.js';
|
|
11
11
|
|
|
12
12
|
const MobileBottomNavigationWrapper = (_a) => {
|
|
13
13
|
var { children, isCollapsed = false, template = 'homepage' } = _a, rest = __rest(_a, ["children", "isCollapsed", "template"]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-e4e4e213.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-be1c8ab0.js';
|
|
4
4
|
import './miscTheme.js';
|
|
5
|
-
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-
|
|
5
|
+
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-86824ba3.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './other-
|
|
7
|
+
import './other-87250184.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-7a82afbe.js';
|