@hhgtech/hhg-components 1.29.342 → 1.29.343-beta-2
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-78550e1c.js → LastPeriod-aa3d3e1a.js} +1 -1
- package/build/{MobileBottomNavigationIcon-82f00487.js → MobileBottomNavigationIcon-6c60988a.js} +3 -3
- package/build/{Spinner-c685496d.js → Spinner-82229006.js} +1 -1
- package/build/{WhatsApp-11a25ff8.js → WhatsApp-c92744bd.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/navigationV2/components/molecules/navigationBar/index.styled.d.ts +2 -0
- package/build/components/navigationV2/hooks/useNavConfig.d.ts +1 -0
- package/build/components/navigationV2/types.d.ts +1 -1
- package/build/components.js +91 -91
- package/build/{constants-e7dec4ce.js → constants-6024d73f.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-961e47df.js → core-7a4fa595.js} +1 -1
- package/build/{dataTransform-3771b9cd.js → dataTransform-c5851202.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-7d331776.js → editor-06838354.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-6fd0d921.js → LastPeriod-20fd8056.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-8e5aa005.js → MobileBottomNavigationIcon-b7843cb4.js} +3 -3
- package/build/esm/{Spinner-dba4132b.js → Spinner-97b636bf.js} +1 -1
- package/build/esm/{WhatsApp-a169c2f8.js → WhatsApp-92a3f537.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/navigationV2/components/molecules/navigationBar/index.styled.d.ts +2 -0
- package/build/esm/components/navigationV2/hooks/useNavConfig.d.ts +1 -0
- package/build/esm/components/navigationV2/types.d.ts +1 -1
- package/build/esm/components.js +91 -91
- package/build/esm/{constants-8e1fc6a9.js → constants-3b4d853b.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-031f6253.js → core-f87d0eda.js} +1 -1
- package/build/esm/{dataTransform-ece62622.js → dataTransform-e782fad0.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-3a509cba.js → editor-4724f643.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/useCSSFocusPopupHelper.d.ts +1 -0
- 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-ed2939e2.js → index-037ccc81.js} +16 -16
- package/build/esm/{index-c9fc790c.js → index-06ff8f71.js} +3 -3
- package/build/esm/{index-ab4cddba.js → index-0bb75f75.js} +1 -1
- package/build/esm/{index-62e78771.js → index-0d9362b3.js} +20 -20
- package/build/esm/{index-441148ca.js → index-0fc03f54.js} +16 -16
- package/build/esm/{index-1c6fa98b.js → index-1cc9a70b.js} +2 -2
- package/build/esm/{index-cc2d7887.js → index-1d691def.js} +3 -3
- package/build/esm/{index-4be7c6b6.js → index-1d9fef81.js} +18 -18
- package/build/esm/{index-46e94001.js → index-2561bc1d.js} +18 -18
- package/build/esm/{index-28e89d7a.js → index-2bbb5a20.js} +1 -1
- package/build/esm/{index-60c978f1.js → index-2cc7504c.js} +16 -16
- package/build/esm/{index-962869a8.js → index-2ecc2ae8.js} +1 -1
- package/build/esm/{index-0bed030a.js → index-2f704651.js} +3 -3
- package/build/esm/{index-16307c6a.js → index-2fda65b8.js} +2 -2
- package/build/esm/{index-75d0f075.js → index-30da850b.js} +1 -1
- package/build/esm/{index-293a9783.js → index-32f197fb.js} +2 -2
- package/build/esm/{index-957aeeac.js → index-339734b2.js} +30 -30
- package/build/esm/{index-80b1b358.js → index-3bfdc394.js} +24 -24
- package/build/esm/{index-9b6237c8.js → index-48d4492e.js} +6 -6
- package/build/esm/{index-c4dbf691.js → index-4db7d7f7.js} +13 -13
- package/build/esm/{index-63031736.js → index-4ea1984e.js} +18 -11
- package/build/esm/{index-57308f8c.js → index-59bdeb03.js} +2 -2
- package/build/esm/{index-4e33e828.js → index-6138d544.js} +3 -3
- package/build/esm/{index-5c306c37.js → index-68f213b4.js} +16 -16
- package/build/esm/{index-8d76f9ab.js → index-6d348997.js} +15 -15
- package/build/esm/{index-c9bf43a5.js → index-707b4b4f.js} +2 -2
- package/build/esm/{index-9da5a19f.js → index-71e6f739.js} +24 -24
- package/build/esm/{index-6b80bb6c.js → index-7a11db9a.js} +12 -12
- package/build/esm/{index-ee648919.js → index-83b6c002.js} +15 -15
- package/build/esm/{index-b6ca3d99.js → index-8525648b.js} +6 -6
- package/build/esm/{index-7cf4372a.js → index-86617c25.js} +2 -2
- package/build/esm/{index-7ffd190a.js → index-86fdd857.js} +3 -3
- package/build/esm/{index-d8236c94.js → index-87eed8d9.js} +17 -17
- package/build/esm/{index-5818c904.js → index-9f33a483.js} +5 -5
- package/build/esm/{index-88fb8456.js → index-a2ba0ede.js} +13 -13
- package/build/esm/{index-0257d88a.js → index-a34ecb70.js} +6 -6
- package/build/esm/{index-edd6d3c0.js → index-a3b6e022.js} +2 -2
- package/build/esm/{index-c6cf080b.js → index-a3c929aa.js} +2 -2
- package/build/esm/{index-1ce6172d.js → index-a5a5e28f.js} +2 -2
- package/build/esm/{index-3cb92fb5.js → index-a6d73ab0.js} +13 -13
- package/build/esm/{index-dbdf6eb7.js → index-a74dc768.js} +17 -17
- package/build/esm/{index-7c8244f0.js → index-a767ee53.js} +21 -21
- package/build/esm/{index-54f19d71.js → index-aab44e6a.js} +1 -1
- package/build/esm/{index-b5e37a49.js → index-af91b7ad.js} +6 -6
- package/build/esm/{index-fee3480f.js → index-cdc25cc0.js} +1 -1
- package/build/esm/{index-317dcb56.js → index-ce796a2a.js} +31 -31
- package/build/esm/{index-f1f51785.js → index-cee117c5.js} +7 -7
- package/build/esm/{index-99058ceb.js → index-cfea8508.js} +4 -4
- package/build/esm/{index-29fd3fb8.js → index-d18d8808.js} +3 -3
- package/build/esm/{index-c25cc5c9.js → index-d8e063f4.js} +1 -1
- package/build/esm/{index-dc5f1e71.js → index-dd87429b.js} +5 -5
- package/build/esm/{index-56e7d102.js → index-ddf63eaa.js} +13 -13
- package/build/esm/{index-791fddd1.js → index-de789505.js} +2 -2
- package/build/esm/{index-e6880f42.js → index-e3dbd779.js} +2 -2
- package/build/esm/{index-d594ef00.js → index-e7495636.js} +68 -42
- package/build/esm/{index-57b721ba.js → index-e83e2436.js} +7 -7
- package/build/esm/{index-98532aba.js → index-e888c169.js} +2 -2
- package/build/esm/{index-0612457c.js → index-e9db3509.js} +1 -1
- package/build/esm/{index-c1dc3488.js → index-f05cfa64.js} +18 -18
- package/build/esm/{index-74e06237.js → index-f2b16c41.js} +2 -2
- package/build/esm/{index-5e050e81.js → index-f8ece1c9.js} +3 -3
- package/build/esm/{index-1fa96af4.js → index-ffe47e13.js} +1 -1
- package/build/esm/index.js +113 -113
- package/build/esm/{labelSorting-744eaf83.js → labelSorting-821e05d7.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-ee1e0fdd.js → logoIcon-dff2559d.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-72afa7c2.js → post-98680b37.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-a8caa668.js → store-4e378cf0.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-8eba5796.js → surveyThankyouCard-c2314df5.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-30ba5fc8.js → treePopoverMenu-50bcadd4.js} +19 -19
- package/build/esm/{types-e78d408d.js → types-47a0cd0b.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-d1a34a08.js → useCategory-488e0017.js} +5 -5
- package/build/esm/{useHealthToolCache-ccf028ba.js → useHealthToolCache-e474ae1c.js} +1 -1
- package/build/esm/{useMantineLocale-b9598890.js → useMantineLocale-78bb3465.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-e441f582.js → usePlacesAutocomplete-fb1479da.js} +1 -1
- package/build/esm/{useScreenSize-d57f9822.js → useScreenSize-bcbed324.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-90ee235c.js → utils-44ded909.js} +2 -2
- package/build/esm/{utils-8f99a464.js → utils-bf491569.js} +3 -3
- package/build/esm/{utils-b5fa291f.js → utils-ccc9ab23.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/useCSSFocusPopupHelper.d.ts +1 -0
- package/build/hooks.js +13 -13
- package/build/i18n.js +1 -1
- package/build/i18nV2.js +1 -1
- package/build/{index-c97d51fd.js → index-042d59d6.js} +24 -24
- package/build/{index-c11d3dde.js → index-090d87a5.js} +5 -5
- package/build/{index-c5d1772a.js → index-09662e3f.js} +16 -16
- package/build/{index-4ce69006.js → index-0ae9bcc3.js} +1 -1
- package/build/{index-29c3379e.js → index-12247a8e.js} +13 -13
- package/build/{index-5b7018cf.js → index-189f8810.js} +24 -24
- package/build/{index-8d20bcc4.js → index-1be2976e.js} +12 -12
- package/build/{index-c694c78e.js → index-203c42cd.js} +1 -1
- package/build/{index-a4415fda.js → index-258a466e.js} +3 -3
- package/build/{index-7be4773b.js → index-2a36a896.js} +3 -3
- package/build/{index-41800ba9.js → index-2c213999.js} +1 -1
- package/build/{index-6b0b73f2.js → index-2d1343aa.js} +2 -2
- package/build/{index-7ecf71ad.js → index-34576020.js} +17 -17
- package/build/{index-c40d31eb.js → index-38769535.js} +3 -3
- package/build/{index-c86ba62a.js → index-3882a661.js} +1 -1
- package/build/{index-edd93a60.js → index-3a493832.js} +2 -2
- package/build/{index-afa0d1b1.js → index-44cab592.js} +15 -15
- package/build/{index-38f20cde.js → index-490f930c.js} +18 -18
- package/build/{index-a6c32f65.js → index-4bc5d8c9.js} +3 -3
- package/build/{index-522875c7.js → index-4d6ce39f.js} +3 -3
- package/build/{index-5c4dc9aa.js → index-4fbc3279.js} +3 -3
- package/build/{index-a7160bcc.js → index-52fef52a.js} +18 -18
- package/build/{index-373cfe65.js → index-621bd56e.js} +2 -2
- package/build/{index-c67e69f5.js → index-63565859.js} +6 -6
- package/build/{index-1c369923.js → index-668a0277.js} +6 -6
- package/build/{index-116f4f62.js → index-67a164a0.js} +4 -4
- package/build/{index-d0130f15.js → index-6f1e2457.js} +15 -15
- package/build/{index-3e435fb7.js → index-7043ba16.js} +16 -16
- package/build/{index-f10d4609.js → index-7104a5f7.js} +68 -42
- package/build/{index-470c19d7.js → index-71fa60b3.js} +1 -1
- package/build/{index-2328f062.js → index-780d905b.js} +18 -18
- package/build/{index-75ad616e.js → index-79787658.js} +16 -16
- package/build/{index-e3ca9d70.js → index-7ab73390.js} +16 -16
- package/build/{index-d2898f98.js → index-8977f066.js} +1 -1
- package/build/{index-561b7381.js → index-897fddf1.js} +20 -20
- package/build/{index-aa88bb93.js → index-8d42fd92.js} +2 -2
- package/build/{index-887e7969.js → index-902992c2.js} +2 -2
- package/build/{index-6ccc302a.js → index-930d1866.js} +18 -11
- package/build/{index-9bc7e399.js → index-95e3b1fc.js} +2 -2
- package/build/{index-be66ce46.js → index-9ee2be16.js} +6 -6
- package/build/{index-c87202d7.js → index-a3d587b3.js} +2 -2
- package/build/{index-3116d4c1.js → index-ac58594a.js} +2 -2
- package/build/{index-d47d6758.js → index-af24d52c.js} +2 -2
- package/build/{index-2d2ece63.js → index-b049c6c3.js} +2 -2
- package/build/{index-6ff19fcb.js → index-b47a00ec.js} +6 -6
- package/build/{index-b587d636.js → index-b5d23774.js} +17 -17
- package/build/{index-698d7490.js → index-b639cecc.js} +1 -1
- package/build/{index-52c4ba88.js → index-c0c593af.js} +7 -7
- package/build/{index-50be60e1.js → index-c1526025.js} +7 -7
- package/build/{index-39409c62.js → index-c1e44976.js} +1 -1
- package/build/{index-0a2093b5.js → index-ca018faf.js} +2 -2
- package/build/{index-3ab1c633.js → index-cfa8e2ff.js} +13 -13
- package/build/{index-6af081c9.js → index-d13d5380.js} +21 -21
- package/build/{index-dd597f69.js → index-d279481d.js} +13 -13
- package/build/{index-fe8dce89.js → index-d3be560c.js} +13 -13
- package/build/{index-9a14f009.js → index-da20b174.js} +1 -1
- package/build/{index-b6ba1374.js → index-e4bcab6e.js} +31 -31
- package/build/{index-192b287e.js → index-e50cb4c6.js} +5 -5
- package/build/{index-6d9ae7c7.js → index-e7e6be56.js} +2 -2
- package/build/{index-cf12ae2c.js → index-f72e9e3d.js} +3 -3
- package/build/{index-50078e33.js → index-fa712ed2.js} +30 -30
- package/build/{index-42df056b.js → index-ff110f49.js} +2 -2
- package/build/index.js +113 -113
- package/build/{labelSorting-555fcf37.js → labelSorting-b776feec.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-cc1c1584.js → logoIcon-45d25633.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-4d069d4b.js → post-f7e47b87.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-be3278c6.js → store-f33c662e.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-16881368.js → surveyThankyouCard-04a10ddc.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-642f1a1e.js → treePopoverMenu-ac9867fd.js} +19 -19
- package/build/{types-116e21d7.js → types-f1fb808a.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-33930ab0.js → useCategory-b0c7f2b6.js} +5 -5
- package/build/{useHealthToolCache-5df53891.js → useHealthToolCache-e5377751.js} +1 -1
- package/build/{useMantineLocale-9cfb679b.js → useMantineLocale-b445b99c.js} +6 -6
- package/build/{usePlacesAutocomplete-5e8bddd4.js → usePlacesAutocomplete-da709b3d.js} +1 -1
- package/build/{useScreenSize-b256c896.js → useScreenSize-1c9df8d8.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-c0f2aa5a.js → utils-1d6c5255.js} +3 -3
- package/build/{utils-28410d41.js → utils-2dfa962e.js} +2 -2
- package/build/{utils-94676e13.js → utils-e7ac0753.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-7b484767.js → BMI_BOYS.percentile.monthly-a7b650a0.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-75a3ae83.js → BMI_BOYS.percentile.weekly-ea3537c6.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-a83b2d84.js → BMI_BOYS.percentile.yearly-6bfadcca.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-ef465d3b.js → BMI_BOYS.zscore.monthly-f29ba493.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-0fe27108.js → BMI_BOYS.zscore.weekly-cee1c532.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-fba5ec2e.js → BMI_BOYS.zscore.yearly-fad06563.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-e0491781.js → BMI_GIRLS.percentile.monthly-4204746b.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-a1265fb4.js → BMI_GIRLS.percentile.weekly-b51d6aa0.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-7e2850d6.js → BMI_GIRLS.percentile.yearly-94c613ad.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-9e682ba6.js → BMI_GIRLS.zscore.monthly-715dfe9c.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-c78649dd.js → BMI_GIRLS.zscore.weekly-3908feed.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-029d2508.js → BMI_GIRLS.zscore.yearly-a6170768.js} +0 -0
- /package/build/{ChevronDown-f06494b1.js → ChevronDown-34f912f9.js} +0 -0
- /package/build/{Close-1f987c44.js → Close-735b3222.js} +0 -0
- /package/build/{Google-6acae451.js → Google-e71474fd.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d4a41a94.js → HEAD CIRCUM_BOYS.percentile.monthly-22a5e092.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-be047a86.js → HEAD CIRCUM_BOYS.percentile.weekly-b8319e97.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-0c591418.js → HEAD CIRCUM_BOYS.percentile.yearly-3152587e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-4fdbcb07.js → HEAD CIRCUM_BOYS.zscore.monthly-b5b7b8d2.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-7c367cb6.js → HEAD CIRCUM_BOYS.zscore.weekly-1eccd242.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-96f30643.js → HEAD CIRCUM_BOYS.zscore.yearly-00e95e21.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-9b6b0c65.js → HEAD CIRCUM_GIRLS.percentile.monthly-c6757103.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-51313a50.js → HEAD CIRCUM_GIRLS.percentile.weekly-2c2710cd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-15f38302.js → HEAD CIRCUM_GIRLS.percentile.yearly-aa5fe6f0.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a03cd1fa.js → HEAD CIRCUM_GIRLS.zscore.monthly-c668b632.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-42dc9750.js → HEAD CIRCUM_GIRLS.zscore.weekly-96038aaa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-89376aa8.js → HEAD CIRCUM_GIRLS.zscore.yearly-a2ff90f2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-85740842.js → HEIGHT_BOYS.percentile.monthly-94913187.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5f4d1731.js → HEIGHT_BOYS.percentile.weekly-0e12bbc2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c08cf4fe.js → HEIGHT_BOYS.percentile.yearly-f12ce7d5.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-df8626a9.js → HEIGHT_BOYS.zscore.monthly-26143135.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-7213d4d9.js → HEIGHT_BOYS.zscore.weekly-195b2f1a.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-177d0b97.js → HEIGHT_BOYS.zscore.yearly-a9e5d754.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-86754d6b.js → HEIGHT_GIRLS.percentile.monthly-f6448a2d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-cf54b6be.js → HEIGHT_GIRLS.percentile.weekly-8a5649b3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-1a6608ec.js → HEIGHT_GIRLS.percentile.yearly-845bd557.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-a2ca0a0f.js → HEIGHT_GIRLS.zscore.monthly-c8f2f8b9.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-b021345b.js → HEIGHT_GIRLS.zscore.weekly-750d20c5.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-660204b8.js → HEIGHT_GIRLS.zscore.yearly-3654e5b4.js} +0 -0
- /package/build/{Locale-34160d25.js → Locale-1af651a4.js} +0 -0
- /package/build/{Visible-b195c20d.js → Visible-c9af4a99.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-352a5005.js → WEIGHT_BOYS.percentile.monthly-ef9636da.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-73a9eb11.js → WEIGHT_BOYS.percentile.weekly-f5416890.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-fdf307c9.js → WEIGHT_BOYS.percentile.yearly-b35dcf0d.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-fba57e93.js → WEIGHT_BOYS.zscore.monthly-f73160ff.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-6b713d6c.js → WEIGHT_BOYS.zscore.weekly-688945e3.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-b19996ed.js → WEIGHT_BOYS.zscore.yearly-dbb63141.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-347b5106.js → WEIGHT_GIRLS.percentile.monthly-e916ca77.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-4fe97cfa.js → WEIGHT_GIRLS.percentile.weekly-d64e828c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-a0d628bb.js → WEIGHT_GIRLS.percentile.yearly-5e54ff51.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-c7af572f.js → WEIGHT_GIRLS.zscore.monthly-eee2b52e.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-240f1017.js → WEIGHT_GIRLS.zscore.weekly-32de3ba7.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-c589ea5e.js → WEIGHT_GIRLS.zscore.yearly-b417dfab.js} +0 -0
- /package/build/{animation-5597cac6.js → animation-8112d956.js} +0 -0
- /package/build/{constants-94432999.js → constants-346188d4.js} +0 -0
- /package/build/{constants-af837fbf.js → constants-7fe7ee28.js} +0 -0
- /package/build/{constants-927711c3.js → constants-9da7ee7f.js} +0 -0
- /package/build/{dataTransform-8f989172.js → dataTransform-c24abfb0.js} +0 -0
- /package/build/{doctor-4814c2f7.js → doctor-43512b25.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-e2e65a46.js → BMI_BOYS.percentile.monthly-134431d0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-2f6a1ec7.js → BMI_BOYS.percentile.weekly-dd1c0d02.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-bd3ed5f6.js → BMI_BOYS.percentile.yearly-98b82dd4.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-e7303ad7.js → BMI_BOYS.zscore.monthly-bb8cc711.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-3c7f2b53.js → BMI_BOYS.zscore.weekly-42160cba.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-7a78b542.js → BMI_BOYS.zscore.yearly-b8befd2a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-cb9eb0cd.js → BMI_GIRLS.percentile.monthly-217d414d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-35311c88.js → BMI_GIRLS.percentile.weekly-a1ff814c.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-62fc970a.js → BMI_GIRLS.percentile.yearly-ef0a8bf7.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-8e4a7aa0.js → BMI_GIRLS.zscore.monthly-abd5d9de.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-7d2f1289.js → BMI_GIRLS.zscore.weekly-153cfb1a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-37434f31.js → BMI_GIRLS.zscore.yearly-a8e9f7f2.js} +0 -0
- /package/build/esm/{ChevronDown-f3c28808.js → ChevronDown-f4537ace.js} +0 -0
- /package/build/esm/{Close-7e138bd9.js → Close-2f124725.js} +0 -0
- /package/build/esm/{Google-e45bfc27.js → Google-7cc7c7ae.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-0a5d58f3.js → HEAD CIRCUM_BOYS.percentile.monthly-062034b3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-36171678.js → HEAD CIRCUM_BOYS.percentile.weekly-b3b01c9d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-717ed72d.js → HEAD CIRCUM_BOYS.percentile.yearly-61df112c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-b13d5d2c.js → HEAD CIRCUM_BOYS.zscore.monthly-063c7270.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-ba0e077f.js → HEAD CIRCUM_BOYS.zscore.weekly-27ecd722.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-eb1fa9a1.js → HEAD CIRCUM_BOYS.zscore.yearly-c6610965.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-2973b127.js → HEAD CIRCUM_GIRLS.percentile.monthly-0d9edbc6.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1c074182.js → HEAD CIRCUM_GIRLS.percentile.weekly-795e8251.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d3d103c8.js → HEAD CIRCUM_GIRLS.percentile.yearly-efefc5d3.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-16e76eb4.js → HEAD CIRCUM_GIRLS.zscore.monthly-0a8fa03d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-44e2d188.js → HEAD CIRCUM_GIRLS.zscore.weekly-9c9f5f6a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-912252bd.js → HEAD CIRCUM_GIRLS.zscore.yearly-9cfaa283.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-51a8aaba.js → HEIGHT_BOYS.percentile.monthly-4f89cd2d.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-48c944e6.js → HEIGHT_BOYS.percentile.weekly-bb974736.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-e8378c8b.js → HEIGHT_BOYS.percentile.yearly-fe371e66.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-07caf49d.js → HEIGHT_BOYS.zscore.monthly-8fc5b92b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-a1552b9e.js → HEIGHT_BOYS.zscore.weekly-73718d8a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-f548928b.js → HEIGHT_BOYS.zscore.yearly-e34558aa.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-72da618c.js → HEIGHT_GIRLS.percentile.monthly-45806090.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-8377d925.js → HEIGHT_GIRLS.percentile.weekly-36528b8b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-4f7ecd9e.js → HEIGHT_GIRLS.percentile.yearly-07acb60a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c88bad01.js → HEIGHT_GIRLS.zscore.monthly-c8b30558.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-43196c4c.js → HEIGHT_GIRLS.zscore.weekly-a3a0ba7f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-97780ee5.js → HEIGHT_GIRLS.zscore.yearly-365acc17.js} +0 -0
- /package/build/esm/{Locale-ce6d6041.js → Locale-21b4ae5c.js} +0 -0
- /package/build/esm/{Visible-1793d3aa.js → Visible-928525f3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a834fbc3.js → WEIGHT_BOYS.percentile.monthly-72f2eb8e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-f56f04ec.js → WEIGHT_BOYS.percentile.weekly-06d67d2c.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-89ac395e.js → WEIGHT_BOYS.percentile.yearly-f691aef1.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-dd1e9ae5.js → WEIGHT_BOYS.zscore.monthly-03b7b66e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-2ca804ca.js → WEIGHT_BOYS.zscore.weekly-7c18fedc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-db6e1542.js → WEIGHT_BOYS.zscore.yearly-eeddc80d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-e4b675ec.js → WEIGHT_GIRLS.percentile.monthly-d8937de8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-c902173c.js → WEIGHT_GIRLS.percentile.weekly-5da5d66d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-9064ce39.js → WEIGHT_GIRLS.percentile.yearly-9f42ebe3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-db3a8233.js → WEIGHT_GIRLS.zscore.monthly-c18ec2c2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-7a7e02dd.js → WEIGHT_GIRLS.zscore.weekly-362b0cb2.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-9c62d958.js → WEIGHT_GIRLS.zscore.yearly-ed6a1fd5.js} +0 -0
- /package/build/esm/{animation-7d5a01b5.js → animation-7f412c9c.js} +0 -0
- /package/build/esm/{constants-cab1749e.js → constants-5552fa30.js} +0 -0
- /package/build/esm/{constants-5d62f708.js → constants-b6024ac2.js} +0 -0
- /package/build/esm/{constants-77fe4812.js → constants-f6a3c51c.js} +0 -0
- /package/build/esm/{dataTransform-eb67cac1.js → dataTransform-a8eeddb1.js} +0 -0
- /package/build/esm/{doctor-1af6235e.js → doctor-7a1ad87e.js} +0 -0
- /package/build/esm/{index-5cde73a3.js → index-4148debc.js} +0 -0
- /package/build/esm/{index-c90a6105.js → index-5ed4d221.js} +0 -0
- /package/build/esm/{index-10d451dc.js → index-6987b259.js} +0 -0
- /package/build/esm/{index-f51c1071.js → index-6af4a9d0.js} +0 -0
- /package/build/esm/{index-b9a397b2.js → index-9af1c3f9.js} +0 -0
- /package/build/esm/{index-06a2976d.js → index-9b5c4260.js} +0 -0
- /package/build/esm/{index-dd9561d1.js → index-aca7a080.js} +0 -0
- /package/build/esm/{index-d8e73ff3.js → index-afad6b56.js} +0 -0
- /package/build/esm/{index-e918a426.js → index-ba4d9b1e.js} +0 -0
- /package/build/esm/{index.styles-b98f7f29.js → index.styles-01869444.js} +0 -0
- /package/build/esm/{localizeNumberFormat-334f25a1.js → localizeNumberFormat-69fa394a.js} +0 -0
- /package/build/esm/{normalizeLink-ce5869fb.js → normalizeLink-00732d92.js} +0 -0
- /package/build/esm/{other-19e641ab.js → other-2bc97cac.js} +0 -0
- /package/build/esm/{paths-adb7d19c.js → paths-fc7f6a99.js} +0 -0
- /package/build/esm/{translationsContext-c42f21f8.js → translationsContext-3d04485d.js} +0 -0
- /package/build/esm/{tslib.es6-dcd1bc2e.js → tslib.es6-97d41165.js} +0 -0
- /package/build/esm/{types-9747f9d7.js → types-31e6e29b.js} +0 -0
- /package/build/esm/{useIsInit-e73c8fc6.js → useIsInit-4cbe0d77.js} +0 -0
- /package/build/esm/{useOutsideClick-a485c96e.js → useOutsideClick-90bacd2b.js} +0 -0
- /package/build/esm/{useScrollbarSize-7408ced9.js → useScrollbarSize-3bc9f8e3.js} +0 -0
- /package/build/esm/{useUniqueId-90e58663.js → useUniqueId-0df151fd.js} +0 -0
- /package/build/esm/{utils-305c1cda.js → utils-4467eed5.js} +0 -0
- /package/build/{index-d9c9d577.js → index-000aa50c.js} +0 -0
- /package/build/{index-a45affb8.js → index-015d201a.js} +0 -0
- /package/build/{index-4e95190a.js → index-69724e5b.js} +0 -0
- /package/build/{index-603d9280.js → index-703da160.js} +0 -0
- /package/build/{index-7e4fccf0.js → index-7679bb2d.js} +0 -0
- /package/build/{index-0de35a56.js → index-7918e40e.js} +0 -0
- /package/build/{index-b547dae5.js → index-a1de8db7.js} +0 -0
- /package/build/{index-b78d2edf.js → index-f4c2c5e0.js} +0 -0
- /package/build/{index-6b04bbe9.js → index-fe3fc417.js} +0 -0
- /package/build/{index.styles-09de47ff.js → index.styles-bf5ac3f4.js} +0 -0
- /package/build/{localizeNumberFormat-91b3d6e2.js → localizeNumberFormat-36fb60f0.js} +0 -0
- /package/build/{normalizeLink-514559ba.js → normalizeLink-8f4ebeba.js} +0 -0
- /package/build/{other-04b2456f.js → other-39a87b75.js} +0 -0
- /package/build/{paths-a20818c5.js → paths-39593aa0.js} +0 -0
- /package/build/{translationsContext-b676bc3e.js → translationsContext-1a8fe7a9.js} +0 -0
- /package/build/{tslib.es6-8476ebd1.js → tslib.es6-fd92f445.js} +0 -0
- /package/build/{types-c7b7f0c0.js → types-742c243d.js} +0 -0
- /package/build/{useIsInit-0dcee1a1.js → useIsInit-0425e7c4.js} +0 -0
- /package/build/{useOutsideClick-5f30b899.js → useOutsideClick-fe44d667.js} +0 -0
- /package/build/{useScrollbarSize-05a9a4fb.js → useScrollbarSize-56d3bb89.js} +0 -0
- /package/build/{useUniqueId-70ee4160.js → useUniqueId-9a262bfa.js} +0 -0
- /package/build/{utils-cd7b03f7.js → utils-831c7783.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-97d41165.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-ffe47e13.js';
|
|
8
|
+
import { T as TranslationsContext } from './translationsContext-3d04485d.js';
|
|
9
|
+
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
10
|
+
import { b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-4467eed5.js';
|
|
11
|
+
import { T as Text } from './index-a3b6e022.js';
|
|
12
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput } from './index-7a11db9a.js';
|
|
13
|
+
import { D as DatePicker } from './index-48d4492e.js';
|
|
14
|
+
import { M as MAPPED_LOCALE } from './utils-44ded909.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-c42f21f8.js';
|
|
16
|
+
import { Z as ZINDEX_SSO } from './index-a5a5e28f.js';
|
|
17
|
+
import './index-0bb75f75.js';
|
|
18
|
+
import { C as CommonGAssets } from './index-6af4a9d0.js';
|
|
19
|
+
import './useMantineLocale-78bb3465.js';
|
|
20
|
+
import { B as Button$1 } from './index-e9db3509.js';
|
|
21
|
+
import './index.styles-01869444.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-7cf4372a.js';
|
|
23
|
+
import './other-2bc97cac.js';
|
|
24
|
+
import './index-86fdd857.js';
|
|
25
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-fb1479da.js';
|
|
26
|
+
import { B as Button } from './index-de789505.js';
|
|
27
|
+
import { H as Heading$1 } from './index-86617c25.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-5ed4d221.js';
|
|
30
|
+
import { D as DrawerComponent } from './index-59bdeb03.js';
|
|
31
|
+
import { u as useScreenSize } from './useScreenSize-bcbed324.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-7e138bd9.js';
|
|
36
|
+
import { C as Close } from './Close-2f124725.js';
|
|
37
37
|
import '@hhgtech/icons/other';
|
|
38
38
|
import '@mantine/carousel';
|
|
39
|
-
import './Locale-
|
|
39
|
+
import './Locale-21b4ae5c.js';
|
|
40
40
|
import 'classnames';
|
|
41
|
-
import './useUniqueId-
|
|
41
|
+
import './useUniqueId-0df151fd.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-6af4a9d0.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-bcbed324.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-7a11db9a.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-7a11db9a.js';
|
|
3
|
+
export { D as DatePicker } from './index-48d4492e.js';
|
|
4
|
+
export { T as Text } from './index-a3b6e022.js';
|
|
5
|
+
import { B as Button } from './index-e9db3509.js';
|
|
6
|
+
export { B as Button } from './index-e9db3509.js';
|
|
7
|
+
export { I as Indicator } from './index-aab44e6a.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-f2b16c41.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-97d41165.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-06ff8f71.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-9af1c3f9.js';
|
|
16
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-78bb3465.js';
|
|
17
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-78bb3465.js';
|
|
18
|
+
export { O as OTHER_THEME_CONFIG } from './other-2bc97cac.js';
|
|
19
|
+
export { T as Tabs } from './index-86fdd857.js';
|
|
20
20
|
import '@hhgtech/icons/other';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-6af4a9d0.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
|
-
import './Locale-
|
|
23
|
+
import './Locale-21b4ae5c.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
|
-
import './useScreenSize-
|
|
25
|
+
import './useScreenSize-bcbed324.js';
|
|
26
26
|
import '@emotion/styled';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-4467eed5.js';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-0bb75f75.js';
|
|
30
|
+
import './index-a5a5e28f.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-0df151fd.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-01869444.js';
|
|
39
|
+
import './index-ffe47e13.js';
|
|
40
|
+
import './translationsContext-3d04485d.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-69fa394a.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-7f412c9c.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-78bb3465.js';
|
|
7
|
+
import './index-0bb75f75.js';
|
|
8
|
+
import './index-6af4a9d0.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-4467eed5.js';
|
|
11
|
+
import './index-a5a5e28f.js';
|
|
12
|
+
export { a as abbreviateNumber, f as formatPill } from './dataTransform-a8eeddb1.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-00732d92.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-97d41165.js';
|
|
20
20
|
import '@mantine/notifications';
|
|
21
|
-
import './other-
|
|
22
|
-
import './Locale-
|
|
21
|
+
import './other-2bc97cac.js';
|
|
22
|
+
import './Locale-21b4ae5c.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-f87d0eda.js';
|
|
29
|
+
import './WhatsApp-92a3f537.js';
|
|
30
|
+
import './index-2f704651.js';
|
|
31
|
+
import './index-6987b259.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-97d41165.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-00732d92.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-f87d0eda.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-21b4ae5c.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-97d41165.js';
|
|
3
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-92a3f537.js';
|
|
4
|
+
import { S as SocialType } from './index-0bb75f75.js';
|
|
5
|
+
import { g as getHelloSitesUrl } from './index-2f704651.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-6af4a9d0.js';
|
|
7
|
+
import { L as LOCALE } from './Locale-21b4ae5c.js';
|
|
8
|
+
import './index-6987b259.js';
|
|
9
|
+
import './index-a5a5e28f.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-4467eed5.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-97d41165.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-b7843cb4.js';
|
|
4
|
+
import './index-a3b6e022.js';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './other-
|
|
6
|
+
import './other-2bc97cac.js';
|
|
7
7
|
import './miscTheme.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-4467eed5.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-97d41165.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-a3b6e022.js';
|
|
4
4
|
import './miscTheme.js';
|
|
5
|
-
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-
|
|
5
|
+
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-b7843cb4.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './other-
|
|
7
|
+
import './other-2bc97cac.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-4467eed5.js';
|