@hhgtech/hhg-components 1.29.341 → 1.29.343-beta-1
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-9eaa1ef6.js → LastPeriod-4f4800eb.js} +1 -1
- package/build/{MobileBottomNavigationIcon-6139c48b.js → MobileBottomNavigationIcon-5c2f2f4b.js} +3 -3
- package/build/{Spinner-df24255a.js → Spinner-b2ca8af5.js} +1 -1
- package/build/{WhatsApp-6c83bb5f.js → WhatsApp-f073e06e.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-b8ebed17.js → constants-f7fdd0cb.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-659eb53b.js → core-7d4f9b20.js} +1 -1
- package/build/{dataTransform-5b9923ed.js → dataTransform-fb6ebccf.js} +2 -1
- package/build/ecom.js +4 -4
- package/build/{editor-a0853b63.js → editor-4e15bc9a.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-936aef76.js → LastPeriod-590b8cd4.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-a4f890af.js → MobileBottomNavigationIcon-6a5e3845.js} +3 -3
- package/build/esm/{Spinner-4073c7bb.js → Spinner-01cebf3e.js} +1 -1
- package/build/esm/{WhatsApp-29064eaa.js → WhatsApp-fe61789b.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-bf924b49.js → constants-a9f95533.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-90b57158.js → core-64673bed.js} +1 -1
- package/build/esm/{dataTransform-49e22f3e.js → dataTransform-157f555d.js} +2 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-db5f955a.js → editor-57e412f0.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-b0c6ee75.js → index-0202bfa2.js} +1 -1
- package/build/esm/{index-e76c58f4.js → index-05c0528f.js} +1 -1
- package/build/esm/{index-18fc41d1.js → index-10b1cba1.js} +1 -1
- package/build/esm/{index-25cc9cc4.js → index-12572cfc.js} +32 -32
- package/build/esm/{index-0ad1c6d2.js → index-1c715e77.js} +6 -6
- package/build/esm/{index-433f000e.js → index-1dff9c44.js} +5 -5
- package/build/esm/{index-31c13919.js → index-1f7bdad8.js} +30 -30
- package/build/esm/{index-cc8a3734.js → index-2b76bd7c.js} +2 -2
- package/build/esm/{index-10e8ead0.js → index-2c859696.js} +2 -2
- package/build/esm/{index-c623ccda.js → index-34133420.js} +2 -2
- package/build/esm/{index-187c248f.js → index-3a875cc9.js} +5 -5
- package/build/esm/{index-278cb1b1.js → index-3c0b604a.js} +1 -1
- package/build/esm/{index-ce8445a3.js → index-3c6aafb2.js} +7 -7
- package/build/esm/{index-e66bb8ed.js → index-3d18283f.js} +2 -2
- package/build/esm/{index-05f4b04d.js → index-3de546aa.js} +2 -2
- package/build/esm/{index-5beca92b.js → index-3e810a64.js} +1 -1
- package/build/esm/{index-2449bb2d.js → index-3fd51f04.js} +7 -7
- package/build/esm/{index-cb195323.js → index-425d255e.js} +24 -24
- package/build/esm/{index-00d608ea.js → index-437cadc1.js} +2 -2
- package/build/esm/{index-5dd42e29.js → index-4f7e0ae3.js} +17 -17
- package/build/esm/{index-f96c758b.js → index-5292e22f.js} +2 -2
- package/build/esm/{index-251c3b25.js → index-5da81cc1.js} +6 -6
- package/build/esm/{index-13508eb0.js → index-640e6c6e.js} +13 -13
- package/build/esm/{index-f3d75f48.js → index-6de26e1f.js} +2 -2
- package/build/esm/{index-1feb112f.js → index-71059104.js} +2 -2
- package/build/esm/{index-b99adac7.js → index-71f91efc.js} +12 -12
- package/build/esm/{index-1f97faf1.js → index-74a3d245.js} +3 -3
- package/build/esm/{index-63dc7b02.js → index-7a88dfaa.js} +1 -1
- package/build/esm/{index-d003a87c.js → index-7b162cf2.js} +3 -3
- package/build/esm/{index-2f7634c0.js → index-80083ae2.js} +2 -2
- package/build/esm/{index-fbce107a.js → index-80d9a484.js} +1 -1
- package/build/esm/{index-b389ccb0.js → index-82002c91.js} +2 -2
- package/build/esm/{index-43673415.js → index-8340b9e5.js} +16 -16
- package/build/esm/{index-eed1ec06.js → index-8bf68242.js} +4 -4
- package/build/esm/{index-3fda2934.js → index-8c288f31.js} +3 -3
- package/build/esm/{index-2de8bec7.js → index-8d269cea.js} +13 -13
- package/build/esm/{index-8e160543.js → index-8e2c81f3.js} +1 -1
- package/build/esm/{index-493ca3d9.js → index-8e5972ef.js} +15 -15
- package/build/esm/{index-2fb7e2eb.js → index-9845603b.js} +18 -18
- package/build/esm/{index-287ca64d.js → index-99ce1ed3.js} +21 -21
- package/build/esm/{index-3b56986a.js → index-9bbc061e.js} +10 -10
- package/build/esm/{index-0a260f9f.js → index-a78c54fc.js} +16 -16
- package/build/esm/{index-77bef2a5.js → index-b0b008f2.js} +16 -16
- package/build/esm/{index-e1a764f6.js → index-b200718a.js} +3 -3
- package/build/esm/{index-85d9e71b.js → index-b369c3b5.js} +3 -3
- package/build/esm/{index-d9e6c67c.js → index-b4013556.js} +24 -24
- package/build/esm/{index-09f05e0a.js → index-b59780cf.js} +13 -13
- package/build/esm/{index-3292ca19.js → index-b996d272.js} +6 -6
- package/build/esm/{index-eaae9c13.js → index-bf318c86.js} +3 -3
- package/build/esm/{index-6ce16a41.js → index-bfcf1d7f.js} +21 -21
- package/build/esm/{index-c899cec9.js → index-c2de4b48.js} +17 -17
- package/build/esm/{index-4568e106.js → index-c3f1f95c.js} +15 -15
- package/build/esm/{index-7e835555.js → index-c6bdffa6.js} +18 -18
- package/build/esm/{index-37bca743.js → index-c720e4ed.js} +2 -2
- package/build/esm/{index-eefea318.js → index-ca7af3b3.js} +13 -13
- package/build/esm/{index-8ac33271.js → index-d4d41266.js} +6 -6
- package/build/esm/{index-3942f1ab.js → index-d55aec79.js} +3 -3
- package/build/esm/{index-8ad8d9a8.js → index-e71971eb.js} +37 -32
- package/build/esm/{index-2b964024.js → index-e7a439f9.js} +1 -1
- package/build/esm/{index-4ae4115a.js → index-ecb8bdaa.js} +2 -2
- package/build/esm/{index-951e41c9.js → index-eeb93774.js} +18 -18
- package/build/esm/{index-a6186dbc.js → index-f23501bc.js} +16 -16
- package/build/esm/index.js +113 -113
- package/build/esm/{labelSorting-d38c6396.js → labelSorting-aeafd799.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-5ec1a118.js → logoIcon-cd55d227.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-b9963bbb.js → post-012f98c8.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/esm/ssoV2.js +48 -36
- package/build/esm/{store-9f9b8c7e.js → store-014334da.js} +4 -4
- package/build/esm/subot/components/dob/utils.d.ts +1 -3
- package/build/esm/subot.js +36 -38
- package/build/esm/surveyOrPremiumBanner.js +31 -31
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-fd56b470.js → surveyThankyouCard-7a44cee7.js} +5 -5
- package/build/esm/together/interfaces/types.d.ts +2 -0
- 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-2bdb1505.js → treePopoverMenu-6d2def2a.js} +19 -19
- package/build/esm/{types-d2f84e76.js → types-07be1a26.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-dfbb8514.js → useCategory-57debc92.js} +5 -5
- package/build/esm/{useHealthToolCache-60c491b2.js → useHealthToolCache-2743f2a9.js} +1 -1
- package/build/esm/{useMantineLocale-ee453257.js → useMantineLocale-44e03144.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-7b0503dc.js → usePlacesAutocomplete-e2691273.js} +1 -1
- package/build/esm/{useScreenSize-86ff79b6.js → useScreenSize-33fe5507.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-6d47c3ee.js → utils-15b2377d.js} +2 -2
- package/build/esm/{utils-78c52834.js → utils-b00b9cdb.js} +2 -2
- package/build/esm/{utils-284b3857.js → utils-cf2ff79c.js} +3 -3
- 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-f84b402c.js → index-003b61ef.js} +3 -3
- package/build/{index-aece5b55.js → index-0437fc96.js} +2 -2
- package/build/{index-215b49f9.js → index-04c2ff6a.js} +1 -1
- package/build/{index-185e678c.js → index-0cef1c4c.js} +18 -18
- package/build/{index-d05f5c58.js → index-1008fa46.js} +7 -7
- package/build/{index-07303336.js → index-12e768b2.js} +3 -3
- package/build/{index-d26c8b25.js → index-1b0a5798.js} +21 -21
- package/build/{index-57b95503.js → index-1db242bb.js} +1 -1
- package/build/{index-1f0a1217.js → index-22c0acc2.js} +1 -1
- package/build/{index-84d08231.js → index-28075652.js} +1 -1
- package/build/{index-d63df4e6.js → index-2ad70d9a.js} +1 -1
- package/build/{index-916152e1.js → index-2cf5c2ea.js} +5 -5
- package/build/{index-31158673.js → index-2e11575f.js} +6 -6
- package/build/{index-235da055.js → index-330df31b.js} +18 -18
- package/build/{index-3c176356.js → index-358568e1.js} +7 -7
- package/build/{index-b38789a6.js → index-3874fe2c.js} +32 -32
- package/build/{index-a67075cc.js → index-3a654397.js} +6 -6
- package/build/{index-71b23357.js → index-4621af6a.js} +30 -30
- package/build/{index-4c30074c.js → index-491df9a7.js} +5 -5
- package/build/{index-5046b99d.js → index-4b634ebc.js} +13 -13
- package/build/{index-669bcec8.js → index-4ff13521.js} +13 -13
- package/build/{index-2ac51c28.js → index-4ff45cf7.js} +1 -1
- package/build/{index-ec383f64.js → index-5691041e.js} +15 -15
- package/build/{index-75ffffea.js → index-5be506ba.js} +2 -2
- package/build/{index-ea565aba.js → index-5c55794f.js} +13 -13
- package/build/{index-ea5b98ee.js → index-6dc0dcc5.js} +6 -6
- package/build/{index-6084d7d2.js → index-6f301b3c.js} +12 -12
- package/build/{index-03817479.js → index-7359294f.js} +3 -3
- package/build/{index-3618f3e5.js → index-78636ebe.js} +16 -16
- package/build/{index-12980629.js → index-7daf7f81.js} +16 -16
- package/build/{index-613eed69.js → index-7ee19570.js} +15 -15
- package/build/{index-b3d03730.js → index-8046630f.js} +3 -3
- package/build/{index-cb44a93c.js → index-85abceae.js} +1 -1
- package/build/{index-38a28dc9.js → index-8a08f01a.js} +4 -4
- package/build/{index-318ed726.js → index-8cf46b7c.js} +17 -17
- package/build/{index-85d6aff9.js → index-8dea1436.js} +16 -16
- package/build/{index-09b696c5.js → index-8f55fcfc.js} +2 -2
- package/build/{index-e41c41b9.js → index-8f8f185f.js} +2 -2
- package/build/{index-0dd90e03.js → index-8fc53691.js} +2 -2
- package/build/{index-d1d47e3e.js → index-92ec27c6.js} +21 -21
- package/build/{index-09fe20ee.js → index-95309324.js} +3 -3
- package/build/{index-6bfe87dc.js → index-988be3fe.js} +2 -2
- package/build/{index-8a49db48.js → index-995e7c1c.js} +2 -2
- package/build/{index-e835d166.js → index-99825c5e.js} +2 -2
- package/build/{index-67af8202.js → index-9d496855.js} +24 -24
- package/build/{index-fd0e8768.js → index-9e650b5a.js} +13 -13
- package/build/{index-d2294ed4.js → index-a50fdf69.js} +2 -2
- package/build/{index-84360cc6.js → index-ab8406b6.js} +10 -10
- package/build/{index-06c40093.js → index-ae18381c.js} +2 -2
- package/build/{index-76ade849.js → index-af95c110.js} +18 -18
- package/build/{index-e85fbfe2.js → index-b298a3fa.js} +24 -24
- package/build/{index-0ebf6518.js → index-bda8feb9.js} +1 -1
- package/build/{index-7c2a27e6.js → index-be56348d.js} +1 -1
- package/build/{index-3ef55d59.js → index-cdce07bf.js} +2 -2
- package/build/{index-ef1363d4.js → index-cf8d4497.js} +2 -2
- package/build/{index-d8587b52.js → index-d2d2ce8a.js} +3 -3
- package/build/{index-17035df2.js → index-d93f0065.js} +17 -17
- package/build/{index-96b6a45f.js → index-dd11157e.js} +37 -32
- package/build/{index-33141240.js → index-e3afc039.js} +16 -16
- package/build/{index-f9032264.js → index-e4245694.js} +6 -6
- package/build/{index-6791aa5b.js → index-ea0b9dc6.js} +3 -3
- package/build/{index-1785577a.js → index-f796d4b7.js} +2 -2
- package/build/index.js +113 -113
- package/build/{labelSorting-36d105cb.js → labelSorting-b6758f26.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-904a4cf6.js → logoIcon-e6756cb8.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-3cba4e54.js → post-716cde77.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/api/featureFlag.d.ts +2 -1
- package/build/ssoV2.js +47 -35
- package/build/{store-e1b9f2ce.js → store-ce20f66e.js} +4 -4
- package/build/subot/components/dob/utils.d.ts +1 -3
- package/build/subot.js +35 -37
- package/build/surveyOrPremiumBanner.js +31 -31
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-5dd83af2.js → surveyThankyouCard-6a8f277c.js} +5 -5
- package/build/together/interfaces/types.d.ts +2 -0
- 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-d53a7070.js → treePopoverMenu-5457f85f.js} +19 -19
- package/build/{types-3a0991d8.js → types-72988b92.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-114d6a8a.js → useCategory-f1c00ea6.js} +5 -5
- package/build/{useHealthToolCache-441c521c.js → useHealthToolCache-72a60148.js} +1 -1
- package/build/{useMantineLocale-dc446f96.js → useMantineLocale-7f3c53c7.js} +6 -6
- package/build/{usePlacesAutocomplete-1f9453b2.js → usePlacesAutocomplete-25bf3314.js} +1 -1
- package/build/{useScreenSize-0c0d47f5.js → useScreenSize-9d18c2bb.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-daec2540.js → utils-45f04940.js} +3 -3
- package/build/{utils-5b446c46.js → utils-e72360f4.js} +2 -2
- package/build/{utils-7d819ac1.js → utils-e9d3fcd3.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-b30faabf.js → BMI_BOYS.percentile.monthly-409d62b2.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-21391d76.js → BMI_BOYS.percentile.weekly-375b8435.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-83c7fcd2.js → BMI_BOYS.percentile.yearly-5a9c4a5f.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-aa8afe3f.js → BMI_BOYS.zscore.monthly-e4e36579.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-81efd6dc.js → BMI_BOYS.zscore.weekly-71ffdfbe.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-6f98b1c3.js → BMI_BOYS.zscore.yearly-369a2a24.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-84986191.js → BMI_GIRLS.percentile.monthly-6ec21a69.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-19f3be53.js → BMI_GIRLS.percentile.weekly-b541ef1b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-36aa05af.js → BMI_GIRLS.percentile.yearly-5e220708.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-6fd68c7e.js → BMI_GIRLS.zscore.monthly-1414425d.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-68a50af8.js → BMI_GIRLS.zscore.weekly-188bd2c0.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-adfa20bd.js → BMI_GIRLS.zscore.yearly-47c36386.js} +0 -0
- /package/build/{ChevronDown-f3d17b98.js → ChevronDown-7bb04921.js} +0 -0
- /package/build/{Close-127b40f9.js → Close-1bddd1e3.js} +0 -0
- /package/build/{Google-9c15fb01.js → Google-87247aed.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-52f2ea44.js → HEAD CIRCUM_BOYS.percentile.monthly-ad470485.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-8a9c1910.js → HEAD CIRCUM_BOYS.percentile.weekly-6e1a806d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-a1da28c0.js → HEAD CIRCUM_BOYS.percentile.yearly-904ca69b.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-582cfae4.js → HEAD CIRCUM_BOYS.zscore.monthly-29ca2424.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3c2311b9.js → HEAD CIRCUM_BOYS.zscore.weekly-97ee2abf.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-2cae4758.js → HEAD CIRCUM_BOYS.zscore.yearly-70d40f64.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f30fbc1c.js → HEAD CIRCUM_GIRLS.percentile.monthly-ce9aa0a0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-b26ced3c.js → HEAD CIRCUM_GIRLS.percentile.weekly-9f10a04b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-bbfb189c.js → HEAD CIRCUM_GIRLS.percentile.yearly-996f3acd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-41b0f026.js → HEAD CIRCUM_GIRLS.zscore.monthly-d5fbd915.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-e0774f95.js → HEAD CIRCUM_GIRLS.zscore.weekly-af65b8cc.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-b26d365d.js → HEAD CIRCUM_GIRLS.zscore.yearly-76baea78.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-837436a9.js → HEIGHT_BOYS.percentile.monthly-36fe0443.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-8731d752.js → HEIGHT_BOYS.percentile.weekly-bec17595.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-12713e55.js → HEIGHT_BOYS.percentile.yearly-6809aa99.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-7f063186.js → HEIGHT_BOYS.zscore.monthly-3d39db53.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-336670c7.js → HEIGHT_BOYS.zscore.weekly-22d774a7.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-601f6e99.js → HEIGHT_BOYS.zscore.yearly-b5766401.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-7806a84d.js → HEIGHT_GIRLS.percentile.monthly-fefb782e.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-77fefedc.js → HEIGHT_GIRLS.percentile.weekly-b54e6069.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-a6f75a2d.js → HEIGHT_GIRLS.percentile.yearly-3763e853.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-663dbe45.js → HEIGHT_GIRLS.zscore.monthly-c246b1fb.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-1795b929.js → HEIGHT_GIRLS.zscore.weekly-3363339d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-54e8ed04.js → HEIGHT_GIRLS.zscore.yearly-b551f049.js} +0 -0
- /package/build/{Locale-57db1c3d.js → Locale-e84afdc8.js} +0 -0
- /package/build/{Visible-4faebc9a.js → Visible-8d6c7a99.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-e27a9e27.js → WEIGHT_BOYS.percentile.monthly-634ea2e1.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-a9dc5fb0.js → WEIGHT_BOYS.percentile.weekly-59080c11.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-1f6d6a23.js → WEIGHT_BOYS.percentile.yearly-6e272700.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d90a8e9e.js → WEIGHT_BOYS.zscore.monthly-a9b6fa35.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-aadf96fc.js → WEIGHT_BOYS.zscore.weekly-7223dfd7.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-cda41635.js → WEIGHT_BOYS.zscore.yearly-da47f587.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-cf66f56d.js → WEIGHT_GIRLS.percentile.monthly-61b7ebe8.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-eb947b05.js → WEIGHT_GIRLS.percentile.weekly-c273e497.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-eb086a2e.js → WEIGHT_GIRLS.percentile.yearly-5e972c41.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-bb6b65e9.js → WEIGHT_GIRLS.zscore.monthly-d62b93bb.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-809ba3bf.js → WEIGHT_GIRLS.zscore.weekly-1f618a15.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-defd0f5c.js → WEIGHT_GIRLS.zscore.yearly-853b4dd1.js} +0 -0
- /package/build/{animation-51d9f750.js → animation-03a0fda0.js} +0 -0
- /package/build/{constants-b9c0ca76.js → constants-23cd8836.js} +0 -0
- /package/build/{constants-345d4630.js → constants-4755497f.js} +0 -0
- /package/build/{constants-64bd11a4.js → constants-7e7ce87a.js} +0 -0
- /package/build/{dataTransform-50730e70.js → dataTransform-a2b4a589.js} +0 -0
- /package/build/{doctor-b84977b0.js → doctor-1ac1cc1c.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-033ff54c.js → BMI_BOYS.percentile.monthly-34bdfeba.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-c741ecf7.js → BMI_BOYS.percentile.weekly-311055d8.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-d8a96f52.js → BMI_BOYS.percentile.yearly-c33d3c8f.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-b83302d8.js → BMI_BOYS.zscore.monthly-6c152488.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-747bcc77.js → BMI_BOYS.zscore.weekly-36704c91.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-144e0b1a.js → BMI_BOYS.zscore.yearly-1ddabc5d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-cf8d61d2.js → BMI_GIRLS.percentile.monthly-793d6146.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-769f26db.js → BMI_GIRLS.percentile.weekly-ddfaf7cf.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-e49b963d.js → BMI_GIRLS.percentile.yearly-6f3baba4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-3084153f.js → BMI_GIRLS.zscore.monthly-ee40e8eb.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-72ec570c.js → BMI_GIRLS.zscore.weekly-9f7f3847.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-56f78b21.js → BMI_GIRLS.zscore.yearly-3354078c.js} +0 -0
- /package/build/esm/{ChevronDown-8328c13d.js → ChevronDown-ce551b8d.js} +0 -0
- /package/build/esm/{Close-ba03577a.js → Close-5d0ffb92.js} +0 -0
- /package/build/esm/{Google-abacb80f.js → Google-ef64922d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-48de46d8.js → HEAD CIRCUM_BOYS.percentile.monthly-335f50ef.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-be44668d.js → HEAD CIRCUM_BOYS.percentile.weekly-8b15628a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-0eb105d2.js → HEAD CIRCUM_BOYS.percentile.yearly-e72c8621.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b42f2936.js → HEAD CIRCUM_BOYS.zscore.monthly-3c905d15.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-0b78b9b0.js → HEAD CIRCUM_BOYS.zscore.weekly-af878082.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-cfedb0f0.js → HEAD CIRCUM_BOYS.zscore.yearly-1734a9f4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-005c83c7.js → HEAD CIRCUM_GIRLS.percentile.monthly-36ec5268.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-0fc8a072.js → HEAD CIRCUM_GIRLS.percentile.weekly-1232d69c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-de97ed19.js → HEAD CIRCUM_GIRLS.percentile.yearly-439cadf6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-55481efe.js → HEAD CIRCUM_GIRLS.zscore.monthly-1eff8ca6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-3695b4de.js → HEAD CIRCUM_GIRLS.zscore.weekly-09952401.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-c97ef53a.js → HEAD CIRCUM_GIRLS.zscore.yearly-92b20a36.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-6077092f.js → HEIGHT_BOYS.percentile.monthly-cb4c9e10.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-414cf15d.js → HEIGHT_BOYS.percentile.weekly-94ab40cd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d77d3e90.js → HEIGHT_BOYS.percentile.yearly-032398c0.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b42af495.js → HEIGHT_BOYS.zscore.monthly-325c2268.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-899ea3ee.js → HEIGHT_BOYS.zscore.weekly-997692da.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4fab9c43.js → HEIGHT_BOYS.zscore.yearly-5d907249.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-50eac517.js → HEIGHT_GIRLS.percentile.monthly-aad29140.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-d64025fa.js → HEIGHT_GIRLS.percentile.weekly-71df06a1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-3d2c591c.js → HEIGHT_GIRLS.percentile.yearly-f801e1d5.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-e41df4c5.js → HEIGHT_GIRLS.zscore.monthly-e9a45757.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3a86e2c3.js → HEIGHT_GIRLS.zscore.weekly-35e123a3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-3438c81d.js → HEIGHT_GIRLS.zscore.yearly-5a6b7c3f.js} +0 -0
- /package/build/esm/{Locale-b85a2806.js → Locale-36a1eea4.js} +0 -0
- /package/build/esm/{Visible-8cac64ac.js → Visible-da466f5d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-0bda403e.js → WEIGHT_BOYS.percentile.monthly-45054cba.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-1f6775b8.js → WEIGHT_BOYS.percentile.weekly-11e14670.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-f4b8fcec.js → WEIGHT_BOYS.percentile.yearly-2554ebaa.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d8bec4d2.js → WEIGHT_BOYS.zscore.monthly-91d9b9a5.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-41ab7d52.js → WEIGHT_BOYS.zscore.weekly-2b8fa231.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d4500db2.js → WEIGHT_BOYS.zscore.yearly-c8ea4007.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-0739c8b1.js → WEIGHT_GIRLS.percentile.monthly-cb3decab.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-d3efffd0.js → WEIGHT_GIRLS.percentile.weekly-eba107ef.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-18a23e81.js → WEIGHT_GIRLS.percentile.yearly-deab833c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d610d523.js → WEIGHT_GIRLS.zscore.monthly-93a19952.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f1c1ca37.js → WEIGHT_GIRLS.zscore.weekly-4df0d575.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-11cd4736.js → WEIGHT_GIRLS.zscore.yearly-d5173117.js} +0 -0
- /package/build/esm/{animation-7af31527.js → animation-a27e51ba.js} +0 -0
- /package/build/esm/{constants-d8dcf848.js → constants-5cda6b72.js} +0 -0
- /package/build/esm/{constants-e07a91d9.js → constants-72ae558c.js} +0 -0
- /package/build/esm/{constants-61c2e12b.js → constants-a18fd441.js} +0 -0
- /package/build/esm/{dataTransform-9b9ae0c6.js → dataTransform-64a1d5a4.js} +0 -0
- /package/build/esm/{doctor-608c515c.js → doctor-0d8fe5b1.js} +0 -0
- /package/build/esm/{index-43c80986.js → index-03580fa0.js} +0 -0
- /package/build/esm/{index-fcd91927.js → index-04bfadd0.js} +0 -0
- /package/build/esm/{index-e595bf69.js → index-089fde3c.js} +0 -0
- /package/build/esm/{index-c41b3f18.js → index-0b8599d6.js} +0 -0
- /package/build/esm/{index-415ca2ef.js → index-701a1dd4.js} +0 -0
- /package/build/esm/{index-9db2daf2.js → index-856b4c6d.js} +0 -0
- /package/build/esm/{index-cb5b6e38.js → index-95eb0307.js} +0 -0
- /package/build/esm/{index-09f90c0d.js → index-b1c81304.js} +0 -0
- /package/build/esm/{index-c4029515.js → index-e4a1834f.js} +0 -0
- /package/build/esm/{index.styles-9aeabac4.js → index.styles-6b9421ac.js} +0 -0
- /package/build/esm/{localizeNumberFormat-6e308ec2.js → localizeNumberFormat-34915acc.js} +0 -0
- /package/build/esm/{normalizeLink-24199d48.js → normalizeLink-3e24b406.js} +0 -0
- /package/build/esm/{other-afc01340.js → other-bfaefecc.js} +0 -0
- /package/build/esm/{paths-a00da1f4.js → paths-00fd122a.js} +0 -0
- /package/build/esm/{translationsContext-b8b3f1f2.js → translationsContext-feb049f0.js} +0 -0
- /package/build/esm/{tslib.es6-d983aca1.js → tslib.es6-807b49a3.js} +0 -0
- /package/build/esm/{types-de17938e.js → types-f36d98ba.js} +0 -0
- /package/build/esm/{useIsInit-bb13f6c9.js → useIsInit-14b17795.js} +0 -0
- /package/build/esm/{useOutsideClick-4b7793c6.js → useOutsideClick-bc6af8c5.js} +0 -0
- /package/build/esm/{useScrollbarSize-74ad60e9.js → useScrollbarSize-3900cde0.js} +0 -0
- /package/build/esm/{useUniqueId-3deb18e4.js → useUniqueId-69a147be.js} +0 -0
- /package/build/esm/{utils-cb146a70.js → utils-4ef7a3a7.js} +0 -0
- /package/build/{index-60134546.js → index-0de1d3c9.js} +0 -0
- /package/build/{index-bdfbb311.js → index-1a22b8a6.js} +0 -0
- /package/build/{index-748ec82e.js → index-5e41c020.js} +0 -0
- /package/build/{index-6b1b32c4.js → index-6efccbde.js} +0 -0
- /package/build/{index-68e0c498.js → index-80c2eff3.js} +0 -0
- /package/build/{index-0af5e4f9.js → index-a3cd9607.js} +0 -0
- /package/build/{index-ca7bed26.js → index-ab2c45a5.js} +0 -0
- /package/build/{index-4299ca2f.js → index-d9cdad78.js} +0 -0
- /package/build/{index-fa3e7daa.js → index-e1ae0b9c.js} +0 -0
- /package/build/{index.styles-e11d26f3.js → index.styles-3a62da10.js} +0 -0
- /package/build/{localizeNumberFormat-c1f19087.js → localizeNumberFormat-06275cbd.js} +0 -0
- /package/build/{normalizeLink-92174959.js → normalizeLink-7f8ed159.js} +0 -0
- /package/build/{other-06fe2945.js → other-4093510e.js} +0 -0
- /package/build/{paths-080e0022.js → paths-e87e7230.js} +0 -0
- /package/build/{translationsContext-d0d800a5.js → translationsContext-4a27524a.js} +0 -0
- /package/build/{tslib.es6-876a6fb8.js → tslib.es6-08cfd6e4.js} +0 -0
- /package/build/{types-2e68b130.js → types-851b9d4f.js} +0 -0
- /package/build/{useIsInit-c444006d.js → useIsInit-55049797.js} +0 -0
- /package/build/{useOutsideClick-a88ed7dd.js → useOutsideClick-13a1f967.js} +0 -0
- /package/build/{useScrollbarSize-d446d16b.js → useScrollbarSize-f5b86926.js} +0 -0
- /package/build/{useUniqueId-5769db85.js → useUniqueId-8ac8559d.js} +0 -0
- /package/build/{utils-fdfa3e28.js → utils-eb7527f9.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-807b49a3.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-80d9a484.js';
|
|
8
|
+
import { T as TranslationsContext } from './translationsContext-feb049f0.js';
|
|
9
|
+
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
10
|
+
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-4ef7a3a7.js';
|
|
11
|
+
import { T as Text } from './index-71059104.js';
|
|
12
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-71f91efc.js';
|
|
13
|
+
import { D as DatePicker } from './index-1c715e77.js';
|
|
14
|
+
import { M as MAPPED_LOCALE } from './utils-b00b9cdb.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-b8b3f1f2.js';
|
|
16
|
+
import { Z as ZINDEX_SSO } from './index-5292e22f.js';
|
|
17
|
+
import './index-3e810a64.js';
|
|
18
|
+
import { C as CommonGAssets } from './index-b1c81304.js';
|
|
19
|
+
import './useMantineLocale-44e03144.js';
|
|
20
|
+
import { B as Button$1 } from './index-7a88dfaa.js';
|
|
21
|
+
import './index.styles-6b9421ac.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-b389ccb0.js';
|
|
23
|
+
import './other-bfaefecc.js';
|
|
24
|
+
import './index-bf318c86.js';
|
|
25
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-e2691273.js';
|
|
26
|
+
import { B as Button } from './index-437cadc1.js';
|
|
27
|
+
import { H as Heading$1 } from './index-82002c91.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-e4a1834f.js';
|
|
30
|
+
import { D as DrawerComponent } from './index-6de26e1f.js';
|
|
31
|
+
import { u as useScreenSize } from './useScreenSize-33fe5507.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-ba03577a.js';
|
|
36
|
+
import { C as Close } from './Close-5d0ffb92.js';
|
|
37
37
|
import '@hhgtech/icons/other';
|
|
38
38
|
import '@mantine/carousel';
|
|
39
|
-
import './Locale-
|
|
39
|
+
import './Locale-36a1eea4.js';
|
|
40
40
|
import 'classnames';
|
|
41
|
-
import './useUniqueId-
|
|
41
|
+
import './useUniqueId-69a147be.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-b1c81304.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-33fe5507.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-71f91efc.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-71f91efc.js';
|
|
3
|
+
export { D as DatePicker } from './index-1c715e77.js';
|
|
4
|
+
export { T as Text } from './index-71059104.js';
|
|
5
|
+
import { B as Button } from './index-7a88dfaa.js';
|
|
6
|
+
export { B as Button } from './index-7a88dfaa.js';
|
|
7
|
+
export { I as Indicator } from './index-e7a439f9.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-3d18283f.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-807b49a3.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-b369c3b5.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-089fde3c.js';
|
|
16
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-44e03144.js';
|
|
17
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-44e03144.js';
|
|
18
|
+
export { O as OTHER_THEME_CONFIG } from './other-bfaefecc.js';
|
|
19
|
+
export { T as Tabs } from './index-bf318c86.js';
|
|
20
20
|
import '@hhgtech/icons/other';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-b1c81304.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
|
-
import './Locale-
|
|
23
|
+
import './Locale-36a1eea4.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
|
-
import './useScreenSize-
|
|
25
|
+
import './useScreenSize-33fe5507.js';
|
|
26
26
|
import '@emotion/styled';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-4ef7a3a7.js';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-3e810a64.js';
|
|
30
|
+
import './index-5292e22f.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-69a147be.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-6b9421ac.js';
|
|
39
|
+
import './index-80d9a484.js';
|
|
40
|
+
import './translationsContext-feb049f0.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-34915acc.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-a27e51ba.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-44e03144.js';
|
|
7
|
+
import './index-3e810a64.js';
|
|
8
|
+
import './index-b1c81304.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-4ef7a3a7.js';
|
|
11
|
+
import './index-5292e22f.js';
|
|
12
|
+
export { a as abbreviateNumber, f as formatPill } from './dataTransform-64a1d5a4.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-3e24b406.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-807b49a3.js';
|
|
20
20
|
import '@mantine/notifications';
|
|
21
|
-
import './other-
|
|
22
|
-
import './Locale-
|
|
21
|
+
import './other-bfaefecc.js';
|
|
22
|
+
import './Locale-36a1eea4.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-64673bed.js';
|
|
29
|
+
import './WhatsApp-fe61789b.js';
|
|
30
|
+
import './index-74a3d245.js';
|
|
31
|
+
import './index-04bfadd0.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-807b49a3.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-3e24b406.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-64673bed.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-36a1eea4.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-807b49a3.js';
|
|
3
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-fe61789b.js';
|
|
4
|
+
import { S as SocialType } from './index-3e810a64.js';
|
|
5
|
+
import { g as getHelloSitesUrl } from './index-74a3d245.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-b1c81304.js';
|
|
7
|
+
import { L as LOCALE } from './Locale-36a1eea4.js';
|
|
8
|
+
import './index-04bfadd0.js';
|
|
9
|
+
import './index-5292e22f.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-4ef7a3a7.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-807b49a3.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-6a5e3845.js';
|
|
4
|
+
import './index-71059104.js';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './other-
|
|
6
|
+
import './other-bfaefecc.js';
|
|
7
7
|
import './miscTheme.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-4ef7a3a7.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-807b49a3.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-71059104.js';
|
|
4
4
|
import './miscTheme.js';
|
|
5
|
-
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-
|
|
5
|
+
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-6a5e3845.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './other-
|
|
7
|
+
import './other-bfaefecc.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-4ef7a3a7.js';
|