@hhgtech/hhg-components 1.29.409-beta-1 → 1.29.409-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/{InputDate-8b125326.js → InputDate-183f0e44.js} +3 -3
- package/build/{LastPeriod-175a6965.js → LastPeriod-d0025c1d.js} +1 -1
- package/build/{MobileBottomNavigationIcon-7c717d9d.js → MobileBottomNavigationIcon-63f80b54.js} +3 -3
- package/build/{Spinner-7cce4302.js → Spinner-7b636e45.js} +1 -1
- package/build/{WhatsApp-4c914158.js → WhatsApp-aa631cc1.js} +1 -1
- package/build/adapters.js +19 -19
- package/build/atoms.js +48 -48
- package/build/babyGrowth.js +83 -83
- package/build/cache.js +2 -2
- package/build/care.js +17 -17
- package/build/careBookingSearchBar.js +14 -14
- package/build/careBookingSearchBarV2.js +15 -15
- package/build/components.js +97 -97
- package/build/{constants-b9304ac7.js → constants-111ad024.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-46d14736.js → core-258cf8cd.js} +1 -1
- package/build/{dataTransform-4aee0b2e.js → dataTransform-4749a3ff.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-35da29c9.js → editor-dee6684a.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/{InputDate-18d8081a.js → InputDate-471b81b5.js} +3 -3
- package/build/esm/{LastPeriod-65391072.js → LastPeriod-ac7ad302.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-f9d3c1e9.js → MobileBottomNavigationIcon-b8cf4ce2.js} +3 -3
- package/build/esm/{Spinner-ca545ce1.js → Spinner-836d0dea.js} +1 -1
- package/build/esm/{WhatsApp-1ee8e9cb.js → WhatsApp-487b0aff.js} +1 -1
- package/build/esm/adapters.js +19 -19
- package/build/esm/atoms.js +48 -48
- package/build/esm/babyGrowth.js +83 -83
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +17 -17
- package/build/esm/careBookingSearchBar.js +14 -14
- package/build/esm/careBookingSearchBarV2.js +15 -15
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-e8bd039e.js → constants-59fbba2f.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-49ae412a.js → core-b6f68f42.js} +1 -1
- package/build/esm/{dataTransform-c94649ba.js → dataTransform-2bc738a4.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-b87d383b.js → editor-58f1f21f.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +23 -23
- package/build/esm/embeddedHeathToolCards_babyPoop.js +19 -19
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +22 -22
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +25 -25
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +25 -25
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +22 -22
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +22 -22
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +26 -26
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +27 -27
- package/build/esm/footer.js +21 -21
- package/build/esm/gAssets.js +2 -2
- package/build/esm/{healthTools-c5ea93e1.js → healthTools-ac97e608.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +18 -18
- package/build/esm/healthToolsForm.js +33 -33
- package/build/esm/hooks.js +13 -13
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-75279cd6.js → index-022dc34e.js} +6 -6
- package/build/esm/{index-61026ec6.js → index-04e3027e.js} +18 -18
- package/build/esm/{index-48f9702b.js → index-0511a4dc.js} +1 -1
- package/build/esm/{index-84a8150a.js → index-08b2877f.js} +3 -3
- package/build/esm/{index-a24c865f.js → index-10649cea.js} +1 -1
- package/build/esm/{index-e2cda5a0.js → index-18e5a367.js} +16 -16
- package/build/esm/{index-8ce428be.js → index-1b082bc2.js} +21 -21
- package/build/esm/{index-43ac680d.js → index-20fd97d8.js} +1 -1
- package/build/esm/{index-d06531d7.js → index-27a5a2a4.js} +3 -3
- package/build/esm/{index-286b805b.js → index-2863239d.js} +13 -13
- package/build/esm/{index-4c94cc79.js → index-35a104b4.js} +7 -7
- package/build/esm/{index-995af517.js → index-36e74538.js} +5 -5
- package/build/esm/{index-a4976dd9.js → index-3c9c57f4.js} +17 -17
- package/build/esm/{index-3720c79f.js → index-4a376db3.js} +13 -13
- package/build/esm/{index-aff8e837.js → index-4a547a38.js} +16 -16
- package/build/esm/{index-68738815.js → index-53884671.js} +17 -17
- package/build/esm/{index-2fbd8dc3.js → index-5c02b174.js} +3 -3
- package/build/esm/{index-8668d502.js → index-5d633caa.js} +1 -1
- package/build/esm/{index-86cbe55e.js → index-5ea0986a.js} +2 -2
- package/build/esm/{index-e315c898.js → index-5f495243.js} +13 -13
- package/build/esm/{index-02298be6.js → index-616d80cc.js} +11 -11
- package/build/esm/{index-49b5127c.js → index-6487792f.js} +5 -5
- package/build/esm/{index-235d7b69.js → index-684c9b6d.js} +25 -25
- package/build/esm/{index-7e2f2f4d.js → index-6c737669.js} +2 -2
- package/build/esm/{index-7d7671cb.js → index-714548d9.js} +30 -30
- package/build/esm/{index-16f26f8f.js → index-74c18c86.js} +1 -1
- package/build/esm/{index-001d5f8e.js → index-7526c22b.js} +2 -2
- package/build/esm/{index-82a2f147.js → index-7883c683.js} +2 -2
- package/build/esm/{index-8c2d34fd.js → index-7f10b9ca.js} +3 -3
- package/build/esm/{index-145e3da5.js → index-80fa12d9.js} +13 -13
- package/build/esm/{index-cd2b8949.js → index-8296db8d.js} +15 -15
- package/build/esm/{index-935a3f76.js → index-835684a8.js} +6 -6
- package/build/esm/{index-a1182c8e.js → index-88caf926.js} +2 -2
- package/build/esm/{index-b51cb7f0.js → index-8b69a0e9.js} +6 -6
- package/build/esm/{index-b8e09e83.js → index-8bd7963d.js} +4 -4
- package/build/esm/{index-83442803.js → index-8c365d0b.js} +2 -2
- package/build/esm/{index-9e69a46c.js → index-8dca9704.js} +3 -3
- package/build/esm/{index-3eed0d0e.js → index-931d0cf9.js} +2 -2
- package/build/esm/{index-46d3cada.js → index-94978b6a.js} +2 -2
- package/build/esm/{index-8235c9a0.js → index-95b42d14.js} +3 -3
- package/build/esm/{index-6d9b83b2.js → index-9c884c20.js} +4 -4
- package/build/esm/{index-65a9b55e.js → index-a252f838.js} +2 -2
- package/build/esm/{index-57c85d2b.js → index-a8886c26.js} +2 -2
- package/build/esm/{index-841cfe60.js → index-a96e8ba4.js} +2 -2
- package/build/esm/{index-e32797e9.js → index-b00bf94d.js} +6 -6
- package/build/esm/{index-6655f664.js → index-b29137cb.js} +2 -2
- package/build/esm/{index-9123963c.js → index-b4c57571.js} +1 -1
- package/build/esm/{index-e9e6d6c8.js → index-b55b5583.js} +17 -17
- package/build/esm/{index-6fa8e745.js → index-b9361ec2.js} +1 -1
- package/build/esm/{index-e6e8e44a.js → index-b9b6badf.js} +16 -16
- package/build/esm/{index-988d1440.js → index-bc5c6ef8.js} +2 -2
- package/build/esm/{index-b61a5d52.js → index-bdc33452.js} +6 -6
- package/build/esm/{index-75360c7d.js → index-c2764723.js} +18 -18
- package/build/esm/{index-96030eb3.js → index-c4376c46.js} +32 -32
- package/build/esm/{index-5c4f0a5c.js → index-c7ea4115.js} +22 -22
- package/build/esm/{index-aa19b38a.js → index-c8ac08c3.js} +16 -16
- package/build/esm/{index-00746769.js → index-c98f6c2d.js} +31 -31
- package/build/esm/{index-6b52eedb.js → index-ccf3d13c.js} +24 -24
- package/build/esm/{index-e813099c.js → index-d8fbfeb3.js} +7 -7
- package/build/esm/{index-7b2ac8eb.js → index-da86b554.js} +10 -10
- package/build/esm/{index-761968d0.js → index-e0f28716.js} +1 -1
- package/build/esm/{index-f7a40b9a.js → index-f8eeb866.js} +17 -17
- package/build/esm/{index-92dbd392.js → index-f9fc5bff.js} +11 -11
- package/build/esm/{index-4cf23af9.js → index-fb2a229b.js} +2 -2
- package/build/esm/{index-ea6480cd.js → index-fb81b2d2.js} +1 -1
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-8b09de84.js → labelSorting-913b349d.js} +4 -4
- package/build/esm/lead/LeadGen.type.d.ts +2 -0
- package/build/esm/lead/layouts/centerTab.d.ts +2 -1
- package/build/esm/lead/layouts/inline.d.ts +2 -1
- package/build/esm/lead/layouts/lightbox/index.d.ts +2 -1
- package/build/esm/lead/newLeadPopup.d.ts +2 -1
- package/build/esm/lead/utils/formatTrackingData.d.ts +1 -0
- package/build/esm/lead.js +100 -81
- package/build/esm/{logoIcon-9c7ac465.js → logoIcon-0293e313.js} +2 -2
- package/build/esm/mantine.js +25 -25
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +4 -4
- package/build/esm/miscGetSocialList.js +8 -8
- package/build/esm/miscScreenSizeContext.js +1 -1
- package/build/esm/mobileBottomNavigation.js +5 -5
- package/build/esm/mobileBottomNavigationIcon.js +5 -5
- package/build/esm/molecules.js +74 -74
- package/build/esm/moleculesArticleCard.js +6 -6
- package/build/esm/moleculesArticleCardV2.js +16 -16
- package/build/esm/navigation.js +46 -46
- package/build/esm/navigationLogoutPopup.js +9 -9
- package/build/esm/navigationProfileButton.js +26 -26
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +50 -50
- package/build/esm/{post-13e2e42d.js → post-7d275b18.js} +2 -2
- package/build/esm/profileNavigation.js +19 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +22 -22
- package/build/esm/ssoV2.js +30 -30
- package/build/esm/{store-3e8678ec.js → store-727ad685.js} +3 -3
- package/build/esm/subot.js +36 -36
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +10 -10
- package/build/esm/{surveyThankyouCard-462ade9b.js → surveyThankyouCard-d451e32b.js} +5 -5
- package/build/esm/together.js +56 -56
- 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 +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +11 -11
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +17 -17
- package/build/esm/togetherShareBox.js +10 -10
- package/build/esm/{translationsProvider-2796cd13.js → translationsProvider-b847abb3.js} +1 -1
- package/build/esm/{treePopoverMenu-c01f5119.js → treePopoverMenu-020248bf.js} +19 -19
- package/build/esm/{types-98e777b6.js → types-89942102.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-61eb144b.js → useCategory-bc09fc68.js} +5 -5
- package/build/esm/{useHealthToolCache-d3ca6224.js → useHealthToolCache-c82414af.js} +1 -1
- package/build/esm/{useMantineLocale-420c60bd.js → useMantineLocale-2c127895.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-68ff226c.js → usePlacesAutocomplete-d7fc3482.js} +1 -1
- package/build/esm/{useScreenSize-5b4c6113.js → useScreenSize-19654a25.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-ed39e941.js → utils-37bbf028.js} +3 -3
- package/build/esm/{utils-96542ec7.js → utils-704bc5e3.js} +2 -2
- package/build/esm/{utils-047e5f48.js → utils-8d62e1bf.js} +5 -5
- package/build/esm/{utils-064b0db5.js → utils-8ec2a39c.js} +2 -2
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-d5b845c5.js → healthTools-d6a7b031.js} +1 -1
- package/build/healthToolsCardWrapper.js +18 -18
- package/build/healthToolsForm.js +33 -33
- package/build/hooks.js +13 -13
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-4cef7eef.js → index-037bdbd4.js} +3 -3
- package/build/{index-81069014.js → index-039cf44a.js} +1 -1
- package/build/{index-e6a8ef94.js → index-09e33548.js} +6 -6
- package/build/{index-b9261885.js → index-0a85608a.js} +2 -2
- package/build/{index-ae97b2e9.js → index-0a886327.js} +11 -11
- package/build/{index-3cc691ec.js → index-0ab12862.js} +16 -16
- package/build/{index-394bbbc8.js → index-0b862dd6.js} +16 -16
- package/build/{index-f4f0450e.js → index-0f1e63fd.js} +18 -18
- package/build/{index-1bc56aaa.js → index-154e2309.js} +2 -2
- package/build/{index-d3de7cb2.js → index-1a9c9255.js} +1 -1
- package/build/{index-6101634a.js → index-1b853057.js} +31 -31
- package/build/{index-3b5af494.js → index-1bd422a1.js} +17 -17
- package/build/{index-6fd674f6.js → index-1c380c76.js} +1 -1
- package/build/{index-1afa44c4.js → index-2c46ddfc.js} +24 -24
- package/build/{index-8f6a4ca0.js → index-2f058f7b.js} +5 -5
- package/build/{index-4e517d8d.js → index-326941a3.js} +15 -15
- package/build/{index-a2bc683b.js → index-35456f23.js} +3 -3
- package/build/{index-761b58da.js → index-3748773f.js} +18 -18
- package/build/{index-f1d16ebc.js → index-3b3920ea.js} +2 -2
- package/build/{index-0b81061e.js → index-44f14919.js} +3 -3
- package/build/{index-b4b87e94.js → index-46142929.js} +4 -4
- package/build/{index-69b116c5.js → index-470c39f4.js} +2 -2
- package/build/{index-41a941f9.js → index-4a04a917.js} +17 -17
- package/build/{index-c4328451.js → index-4db1fdd4.js} +6 -6
- package/build/{index-77a434f2.js → index-4e4524ca.js} +1 -1
- package/build/{index-cbfa83fc.js → index-53b38fe0.js} +30 -30
- package/build/{index-cefbe248.js → index-53f5b491.js} +2 -2
- package/build/{index-f7a503d2.js → index-5bb1232f.js} +7 -7
- package/build/{index-45b99ba5.js → index-64dae78b.js} +13 -13
- package/build/{index-8b0624a7.js → index-69c9b98d.js} +6 -6
- package/build/{index-0e4041e4.js → index-6cd9667a.js} +2 -2
- package/build/{index-589993da.js → index-6ee594b3.js} +5 -5
- package/build/{index-b69a278c.js → index-7128fbb2.js} +7 -7
- package/build/{index-55342878.js → index-77b8b9cc.js} +1 -1
- package/build/{index-fb9cac3d.js → index-782e6303.js} +2 -2
- package/build/{index-61b1646f.js → index-85cfa803.js} +17 -17
- package/build/{index-d0d051bc.js → index-8e34e823.js} +22 -22
- package/build/{index-f1b9cde1.js → index-8fc869b9.js} +1 -1
- package/build/{index-9eb96d35.js → index-90ba42c7.js} +16 -16
- package/build/{index-1bc59623.js → index-92c461bc.js} +25 -25
- package/build/{index-260b0436.js → index-93309a02.js} +2 -2
- package/build/{index-4a537797.js → index-a568993d.js} +17 -17
- package/build/{index-ca59bb48.js → index-a61ed197.js} +3 -3
- package/build/{index-a405b1d5.js → index-a67b0c63.js} +3 -3
- package/build/{index-e0c30948.js → index-a7c08da7.js} +2 -2
- package/build/{index-bbe50153.js → index-ae17250e.js} +2 -2
- package/build/{index-15b56ba7.js → index-b16941cf.js} +16 -16
- package/build/{index-78d7c39f.js → index-b29bd84e.js} +4 -4
- package/build/{index-0e02d3c8.js → index-ba073f2d.js} +32 -32
- package/build/{index-85ba06d6.js → index-cbc7d631.js} +10 -10
- package/build/{index-f08677a4.js → index-d8624726.js} +6 -6
- package/build/{index-58c918be.js → index-d8bf7b8f.js} +13 -13
- package/build/{index-d67f3920.js → index-da20f878.js} +13 -13
- package/build/{index-8957507a.js → index-dbf7d5cd.js} +1 -1
- package/build/{index-124ab833.js → index-dfcf22af.js} +11 -11
- package/build/{index-cb547d5d.js → index-e069b4ac.js} +6 -6
- package/build/{index-1b92b25d.js → index-e16732cb.js} +13 -13
- package/build/{index-9f027559.js → index-e5b268eb.js} +1 -1
- package/build/{index-8db613c0.js → index-ed2aa7a5.js} +2 -2
- package/build/{index-fe4eb90c.js → index-f18f34c4.js} +3 -3
- package/build/{index-c24917ad.js → index-f4956c99.js} +2 -2
- package/build/{index-07dde0ba.js → index-f699fb8c.js} +1 -1
- package/build/{index-270cd7de.js → index-f9fe2690.js} +21 -21
- package/build/{index-d379c3df.js → index-fc0c4505.js} +2 -2
- package/build/{index-99333205.js → index-ffd7f323.js} +2 -2
- package/build/index.js +118 -118
- package/build/{labelSorting-7d13df56.js → labelSorting-266307af.js} +4 -4
- package/build/lead/LeadGen.type.d.ts +2 -0
- package/build/lead/layouts/centerTab.d.ts +2 -1
- package/build/lead/layouts/inline.d.ts +2 -1
- package/build/lead/layouts/lightbox/index.d.ts +2 -1
- package/build/lead/newLeadPopup.d.ts +2 -1
- package/build/lead/utils/formatTrackingData.d.ts +1 -0
- package/build/lead.js +101 -82
- package/build/{logoIcon-c659be92.js → logoIcon-a8b65d70.js} +2 -2
- package/build/mantine.js +22 -22
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +4 -4
- package/build/miscGetSocialList.js +8 -8
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +74 -74
- package/build/moleculesArticleCard.js +6 -6
- package/build/moleculesArticleCardV2.js +16 -16
- package/build/navigation.js +46 -46
- package/build/navigationLogoutPopup.js +9 -9
- package/build/navigationProfileButton.js +26 -26
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +50 -50
- package/build/{post-1afda1a5.js → post-462f0d57.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2.js +28 -28
- package/build/{store-ac7ab5c9.js → store-31ef46f6.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-72395235.js → surveyThankyouCard-22ac4ee7.js} +5 -5
- package/build/together.js +56 -56
- package/build/togetherApiUtils.js +4 -4
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +4 -4
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +11 -11
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +17 -17
- package/build/togetherShareBox.js +10 -10
- package/build/{translationsProvider-4708dced.js → translationsProvider-c9a2fa39.js} +1 -1
- package/build/{treePopoverMenu-7b46f128.js → treePopoverMenu-0a6a38e2.js} +19 -19
- package/build/{types-f0a1f0ac.js → types-0a704d10.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-0dad031e.js → useCategory-c0bd0a92.js} +5 -5
- package/build/{useHealthToolCache-4523f49d.js → useHealthToolCache-76246778.js} +1 -1
- package/build/{useMantineLocale-7e1240db.js → useMantineLocale-977c9a3b.js} +6 -6
- package/build/{usePlacesAutocomplete-4cee8d93.js → usePlacesAutocomplete-7a58bb1c.js} +1 -1
- package/build/{useScreenSize-47323369.js → useScreenSize-5f04a96c.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-e6278b7a.js → utils-adfed433.js} +5 -5
- package/build/{utils-942c70d1.js → utils-c1912c23.js} +3 -3
- package/build/{utils-a1d2533b.js → utils-d0214ff9.js} +2 -2
- package/build/{utils-bde9a3ad.js → utils-e7aa2615.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-2f9c82e9.js → BMI_BOYS.percentile.monthly-aee0a553.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-3359a529.js → BMI_BOYS.percentile.weekly-b44810d3.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-a2209ab3.js → BMI_BOYS.percentile.yearly-3dc45e17.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-1360188f.js → BMI_BOYS.zscore.monthly-b361a839.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-bd702d2f.js → BMI_BOYS.zscore.weekly-b795508d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-6d4a2486.js → BMI_BOYS.zscore.yearly-9eaaabb7.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-4feb7545.js → BMI_GIRLS.percentile.monthly-d5c47a3e.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-5fd2e090.js → BMI_GIRLS.percentile.weekly-42d54b8f.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-f8c1fe99.js → BMI_GIRLS.percentile.yearly-f489fe66.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-c120526b.js → BMI_GIRLS.zscore.monthly-2d5db160.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-31e53891.js → BMI_GIRLS.zscore.weekly-6f3bc8d4.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-ba14abe7.js → BMI_GIRLS.zscore.yearly-8ce40060.js} +0 -0
- /package/build/{ChevronDown-47d6ac2e.js → ChevronDown-2fc97c78.js} +0 -0
- /package/build/{Close-950bebd5.js → Close-4588c4ef.js} +0 -0
- /package/build/{Google-93e83233.js → Google-3f5c103f.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-61982d1d.js → HEAD CIRCUM_BOYS.percentile.monthly-bccdf064.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-4a623f19.js → HEAD CIRCUM_BOYS.percentile.weekly-7d76d6fc.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-6198859f.js → HEAD CIRCUM_BOYS.percentile.yearly-995f5a22.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-900e9664.js → HEAD CIRCUM_BOYS.zscore.monthly-20a72b2e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-3b277053.js → HEAD CIRCUM_BOYS.zscore.weekly-12a7a753.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-18d4e8a3.js → HEAD CIRCUM_BOYS.zscore.yearly-5715854f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-adedba2f.js → HEAD CIRCUM_GIRLS.percentile.monthly-ed66f107.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-d98f3716.js → HEAD CIRCUM_GIRLS.percentile.weekly-ba84592d.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-e44ab740.js → HEAD CIRCUM_GIRLS.percentile.yearly-fb0cb633.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-a3e6248f.js → HEAD CIRCUM_GIRLS.zscore.monthly-2f6250e2.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-066b61b9.js → HEAD CIRCUM_GIRLS.zscore.weekly-f44a0f77.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-3d17c4ce.js → HEAD CIRCUM_GIRLS.zscore.yearly-95780828.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-0e4497ec.js → HEIGHT_BOYS.percentile.monthly-5785f578.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-646986fd.js → HEIGHT_BOYS.percentile.weekly-f30000cf.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-dfd6aefc.js → HEIGHT_BOYS.percentile.yearly-9f020533.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-4a662927.js → HEIGHT_BOYS.zscore.monthly-c7c80181.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-019f9699.js → HEIGHT_BOYS.zscore.weekly-e0550f52.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-3499a833.js → HEIGHT_BOYS.zscore.yearly-42808ece.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-0f70d976.js → HEIGHT_GIRLS.percentile.monthly-239650c7.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-25168e38.js → HEIGHT_GIRLS.percentile.weekly-421253d6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-a7e06f59.js → HEIGHT_GIRLS.percentile.yearly-26af5408.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-40a05927.js → HEIGHT_GIRLS.zscore.monthly-9276444c.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-2319cb44.js → HEIGHT_GIRLS.zscore.weekly-ba9c70a1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-69a15ca5.js → HEIGHT_GIRLS.zscore.yearly-c57cd296.js} +0 -0
- /package/build/{Locale-e1131cbf.js → Locale-3e312faa.js} +0 -0
- /package/build/{Visible-8f0426de.js → Visible-d0f70c77.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-e7559678.js → WEIGHT_BOYS.percentile.monthly-93784e18.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e88393d1.js → WEIGHT_BOYS.percentile.weekly-0c1d5a51.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-a83f1859.js → WEIGHT_BOYS.percentile.yearly-1f4439d5.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-d6315536.js → WEIGHT_BOYS.zscore.monthly-03bcb42a.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-e3f613f9.js → WEIGHT_BOYS.zscore.weekly-d4b3c812.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-a7fd54d3.js → WEIGHT_BOYS.zscore.yearly-0abd0bf3.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-84c242fb.js → WEIGHT_GIRLS.percentile.monthly-359e41ab.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-5d5f4bc9.js → WEIGHT_GIRLS.percentile.weekly-83fd045c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-60068e19.js → WEIGHT_GIRLS.percentile.yearly-67de5fa6.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-630bded6.js → WEIGHT_GIRLS.zscore.monthly-7cd4892a.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6a7bf34b.js → WEIGHT_GIRLS.zscore.weekly-fd9f26ac.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-06b6fe70.js → WEIGHT_GIRLS.zscore.yearly-7a756fbd.js} +0 -0
- /package/build/{animation-90274782.js → animation-a4a3aa3a.js} +0 -0
- /package/build/{constants-ffbe0820.js → constants-2d20ed87.js} +0 -0
- /package/build/{constants-2ae25838.js → constants-a35c5f5b.js} +0 -0
- /package/build/{constants-e444bcdc.js → constants-dc310538.js} +0 -0
- /package/build/{dataTransform-bdcdb76c.js → dataTransform-f29facbc.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-099a46a6.js → BMI_BOYS.percentile.monthly-f6a1bb78.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-eca80c12.js → BMI_BOYS.percentile.weekly-d1985b15.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-1436ae45.js → BMI_BOYS.percentile.yearly-bf20f006.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-566d0657.js → BMI_BOYS.zscore.monthly-f1ee2e0b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-daecb57a.js → BMI_BOYS.zscore.weekly-ba83150b.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-91ea5baf.js → BMI_BOYS.zscore.yearly-2db1d024.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-34104239.js → BMI_GIRLS.percentile.monthly-4c2b9347.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-3227b7c5.js → BMI_GIRLS.percentile.weekly-8df00500.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-8cbf6dd6.js → BMI_GIRLS.percentile.yearly-b029d1c3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-41ceee45.js → BMI_GIRLS.zscore.monthly-b3839e24.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-a9e4e36c.js → BMI_GIRLS.zscore.weekly-61e1fd74.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-9d2f1086.js → BMI_GIRLS.zscore.yearly-2629ef0e.js} +0 -0
- /package/build/esm/{ChevronDown-76690275.js → ChevronDown-da6d476f.js} +0 -0
- /package/build/esm/{Close-46146015.js → Close-f210a290.js} +0 -0
- /package/build/esm/{Google-5c6548a0.js → Google-000ac882.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-c9025b01.js → HEAD CIRCUM_BOYS.percentile.monthly-db706c68.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-323f8e65.js → HEAD CIRCUM_BOYS.percentile.weekly-bd16cb20.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-4d55ea39.js → HEAD CIRCUM_BOYS.percentile.yearly-2bbbe7bb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-3f155f3d.js → HEAD CIRCUM_BOYS.zscore.monthly-75a53a4f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-14185fa3.js → HEAD CIRCUM_BOYS.zscore.weekly-33a92148.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-0fe10340.js → HEAD CIRCUM_BOYS.zscore.yearly-bb1d23bb.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-c8db4172.js → HEAD CIRCUM_GIRLS.percentile.monthly-a0387c24.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-a37221eb.js → HEAD CIRCUM_GIRLS.percentile.weekly-7b9aa477.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-fd3b5eb9.js → HEAD CIRCUM_GIRLS.percentile.yearly-e775f504.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-929f9b01.js → HEAD CIRCUM_GIRLS.zscore.monthly-820c288d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-8686b087.js → HEAD CIRCUM_GIRLS.zscore.weekly-4cd2e233.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-d46de1a5.js → HEAD CIRCUM_GIRLS.zscore.yearly-b18d51bd.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-04027c61.js → HEIGHT_BOYS.percentile.monthly-d2cad858.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-cf752f09.js → HEIGHT_BOYS.percentile.weekly-f36b5040.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-d8753a2c.js → HEIGHT_BOYS.percentile.yearly-ef73ff60.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-d62aadd4.js → HEIGHT_BOYS.zscore.monthly-3c6697bb.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-91827d17.js → HEIGHT_BOYS.zscore.weekly-f4974381.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-4bd1f6af.js → HEIGHT_BOYS.zscore.yearly-18380048.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-184b7f6e.js → HEIGHT_GIRLS.percentile.monthly-e80027b1.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-5cd1e955.js → HEIGHT_GIRLS.percentile.weekly-ed9fb4ec.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-de42c289.js → HEIGHT_GIRLS.percentile.yearly-be9e9464.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-f82c9408.js → HEIGHT_GIRLS.zscore.monthly-071b33c4.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4d81224b.js → HEIGHT_GIRLS.zscore.weekly-d318b0a8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5e46522d.js → HEIGHT_GIRLS.zscore.yearly-f4c11851.js} +0 -0
- /package/build/esm/{Locale-3d38f1ed.js → Locale-40ba0062.js} +0 -0
- /package/build/esm/{Visible-9fcea04a.js → Visible-77bef853.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-cb54617d.js → WEIGHT_BOYS.percentile.monthly-647f31a8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-2dc0cb26.js → WEIGHT_BOYS.percentile.weekly-4bde9b31.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-e71c574c.js → WEIGHT_BOYS.percentile.yearly-069283c4.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-754fae85.js → WEIGHT_BOYS.zscore.monthly-2cfc1302.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-59c7a01b.js → WEIGHT_BOYS.zscore.weekly-3ee508dc.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-25882a26.js → WEIGHT_BOYS.zscore.yearly-5ac541b8.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-1f944b52.js → WEIGHT_GIRLS.percentile.monthly-408e020b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2398299a.js → WEIGHT_GIRLS.percentile.weekly-a519684a.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-025e0c3d.js → WEIGHT_GIRLS.percentile.yearly-f0991a20.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-d57a5902.js → WEIGHT_GIRLS.zscore.monthly-ceb5d179.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f00a86bd.js → WEIGHT_GIRLS.zscore.weekly-a90de0c7.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-0453f58f.js → WEIGHT_GIRLS.zscore.yearly-42c62f0b.js} +0 -0
- /package/build/esm/{animation-635bb5c7.js → animation-ae33becd.js} +0 -0
- /package/build/esm/{constants-1aaebc42.js → constants-67474e97.js} +0 -0
- /package/build/esm/{constants-7b145969.js → constants-6af68341.js} +0 -0
- /package/build/esm/{constants-28bb1d5e.js → constants-9071a15b.js} +0 -0
- /package/build/esm/{dataTransform-b0f02194.js → dataTransform-1ea23943.js} +0 -0
- /package/build/esm/{index-e81c0841.js → index-05762c4c.js} +0 -0
- /package/build/esm/{index-8d332a94.js → index-3f7ee739.js} +0 -0
- /package/build/esm/{index-54f6b6ab.js → index-419bb6cd.js} +0 -0
- /package/build/esm/{index-76cb018f.js → index-5b164a14.js} +0 -0
- /package/build/esm/{index-6e08f163.js → index-9459eff1.js} +0 -0
- /package/build/esm/{index-26c3a230.js → index-9acb9c12.js} +0 -0
- /package/build/esm/{index-cac99693.js → index-b00716de.js} +0 -0
- /package/build/esm/{index-dea492e2.js → index-f97aedb8.js} +0 -0
- /package/build/esm/{index.styles-7fa6faad.js → index.styles-f4191686.js} +0 -0
- /package/build/esm/{localizeNumberFormat-280aab38.js → localizeNumberFormat-2ec3f86c.js} +0 -0
- /package/build/esm/{normalizeLink-325b4617.js → normalizeLink-a03bc03f.js} +0 -0
- /package/build/esm/{number-80981a2a.js → number-ae1cf22e.js} +0 -0
- /package/build/esm/{other-06759c5d.js → other-a96544f5.js} +0 -0
- /package/build/esm/{paths-7caf3963.js → paths-9dbae0ac.js} +0 -0
- /package/build/esm/{translationsContext-69738875.js → translationsContext-4c862414.js} +0 -0
- /package/build/esm/{tslib.es6-aeefc7a9.js → tslib.es6-b4553cdc.js} +0 -0
- /package/build/esm/{types-f96b3b90.js → types-aad7b004.js} +0 -0
- /package/build/esm/{useIsInit-a984041b.js → useIsInit-8cb27732.js} +0 -0
- /package/build/esm/{useOutsideClick-fbf8c58d.js → useOutsideClick-66063724.js} +0 -0
- /package/build/esm/{useScrollbarSize-c70c4964.js → useScrollbarSize-171e2a69.js} +0 -0
- /package/build/esm/{useUniqueId-dc492e98.js → useUniqueId-e8afc1d1.js} +0 -0
- /package/build/esm/{utils-f742b64d.js → utils-ec0ee922.js} +0 -0
- /package/build/{index-59b92dd8.js → index-707b5ff1.js} +0 -0
- /package/build/{index-d701d986.js → index-8e28ab83.js} +0 -0
- /package/build/{index-a4b3ce47.js → index-94281377.js} +0 -0
- /package/build/{index-45085a9b.js → index-9f669610.js} +0 -0
- /package/build/{index-83dd22e1.js → index-b29afebe.js} +0 -0
- /package/build/{index-3f310cd3.js → index-f23c998a.js} +0 -0
- /package/build/{index-3c788cf0.js → index-fb50bd74.js} +0 -0
- /package/build/{index-209bdded.js → index-fcac0764.js} +0 -0
- /package/build/{index.styles-00890d3d.js → index.styles-85a05f45.js} +0 -0
- /package/build/{localizeNumberFormat-4b53b11b.js → localizeNumberFormat-6937366f.js} +0 -0
- /package/build/{normalizeLink-e2be4604.js → normalizeLink-e413cbc2.js} +0 -0
- /package/build/{number-6b0ab5f1.js → number-0d6e2d9d.js} +0 -0
- /package/build/{other-3212de62.js → other-43fe5fd6.js} +0 -0
- /package/build/{paths-8a4f33ec.js → paths-4eb00b4c.js} +0 -0
- /package/build/{translationsContext-88048ff8.js → translationsContext-d3450b96.js} +0 -0
- /package/build/{tslib.es6-165ebcff.js → tslib.es6-2ba0777e.js} +0 -0
- /package/build/{types-d068d345.js → types-5369adad.js} +0 -0
- /package/build/{useIsInit-a7e0d86d.js → useIsInit-50065522.js} +0 -0
- /package/build/{useOutsideClick-7c3e0bb7.js → useOutsideClick-8f87a833.js} +0 -0
- /package/build/{useScrollbarSize-7a854bf9.js → useScrollbarSize-1894488e.js} +0 -0
- /package/build/{useUniqueId-5ece0fae.js → useUniqueId-5737db18.js} +0 -0
- /package/build/{utils-cf2bddb7.js → utils-fb7caec4.js} +0 -0
package/build/esm/lead.js
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
import { _ as __rest, a as __awaiter } from './tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __awaiter } from './tslib.es6-b4553cdc.js';
|
|
2
2
|
import React__default, { createContext, useMemo, useEffect, useRef, useState, useContext, useCallback, forwardRef, useImperativeHandle, memo, useLayoutEffect } from 'react';
|
|
3
3
|
import { createStyles, Box, Button as Button$1, Input as Input$1, Autocomplete, clsx, Checkbox as Checkbox$1, Radio as Radio$1, Select as Select$1, TextInput, NumberInput as NumberInput$1, Portal, Transition, Overlay } from '@mantine/core';
|
|
4
4
|
import debounce from 'lodash/debounce';
|
|
5
5
|
import { createFormContext, useForm } from '@mantine/form';
|
|
6
6
|
import dayjs from 'dayjs';
|
|
7
|
-
import { B as BEARER_TOKEN_COOKIE } from './index-
|
|
7
|
+
import { B as BEARER_TOKEN_COOKIE } from './index-9c884c20.js';
|
|
8
8
|
import { getCookie, setCookie } from './miscCookieHelper.js';
|
|
9
|
-
import { u as useTranslations } from './index-
|
|
10
|
-
import { T as TranslationsContext } from './translationsContext-
|
|
11
|
-
import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-
|
|
12
|
-
import { T as Text } from './index-
|
|
13
|
-
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-
|
|
14
|
-
import { D as DatePicker } from './index-
|
|
15
|
-
import { B as Button } from './index-
|
|
16
|
-
import './index.styles-
|
|
9
|
+
import { u as useTranslations } from './index-5d633caa.js';
|
|
10
|
+
import { T as TranslationsContext } from './translationsContext-4c862414.js';
|
|
11
|
+
import { M as MediaQueries, b as getWrapperDomWithSelector, a as getPopupWrapperDom } from './utils-ec0ee922.js';
|
|
12
|
+
import { T as Text } from './index-a96e8ba4.js';
|
|
13
|
+
import { S as Select, d as Checkbox, I as Input, R as Radio, P as Phone, N as NumberInput, O as OTP } from './index-616d80cc.js';
|
|
14
|
+
import { D as DatePicker } from './index-835684a8.js';
|
|
15
|
+
import { B as Button } from './index-74c18c86.js';
|
|
16
|
+
import './index.styles-f4191686.js';
|
|
17
17
|
import { useIntersection, useClickOutside } from '@mantine/hooks';
|
|
18
|
-
import './useMantineLocale-
|
|
19
|
-
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-
|
|
20
|
-
import './index-
|
|
21
|
-
import { L as LOCALE_SPECS, Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-
|
|
22
|
-
import './other-
|
|
23
|
-
import './index-
|
|
24
|
-
import { M as MAPPED_LOCALE } from './utils-
|
|
18
|
+
import './useMantineLocale-2c127895.js';
|
|
19
|
+
import { C as COMMON_DATE_TRANSLATE_KEY } from './index-0511a4dc.js';
|
|
20
|
+
import './index-9459eff1.js';
|
|
21
|
+
import { L as LOCALE_SPECS, Z as ZINDEX_SSO, I as ISO_FORMAT } from './index-b29137cb.js';
|
|
22
|
+
import './other-a96544f5.js';
|
|
23
|
+
import './index-08b2877f.js';
|
|
24
|
+
import { M as MAPPED_LOCALE } from './utils-704bc5e3.js';
|
|
25
25
|
import { DateInput } from '@mantine/dates';
|
|
26
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-
|
|
27
|
-
import { H as Heading$1 } from './index-
|
|
28
|
-
import { t as translationsMap$1 } from './translationsProvider-
|
|
29
|
-
import { L as LOCALE } from './Locale-
|
|
26
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY } from './usePlacesAutocomplete-d7fc3482.js';
|
|
27
|
+
import { H as Heading$1 } from './index-7883c683.js';
|
|
28
|
+
import { t as translationsMap$1 } from './translationsProvider-b847abb3.js';
|
|
29
|
+
import { L as LOCALE } from './Locale-40ba0062.js';
|
|
30
30
|
import { v1 } from 'uuid';
|
|
31
31
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
32
32
|
import { parsePhoneNumber } from 'react-phone-number-input';
|
|
33
33
|
import styled from '@emotion/styled';
|
|
34
34
|
import { theme } from './miscTheme.js';
|
|
35
35
|
import { css } from '@emotion/react';
|
|
36
|
-
import { T as TogetherComponentGlobalContext } from './utils-
|
|
37
|
-
import { i as isVideo } from './index-
|
|
38
|
-
import { u as useScreenSize } from './useScreenSize-
|
|
36
|
+
import { T as TogetherComponentGlobalContext } from './utils-37bbf028.js';
|
|
37
|
+
import { i as isVideo } from './index-b00716de.js';
|
|
38
|
+
import { u as useScreenSize } from './useScreenSize-19654a25.js';
|
|
39
39
|
import { motion } from 'framer-motion';
|
|
40
40
|
import { createPortal } from 'react-dom';
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { C as Close } from './Close-46146015.js';
|
|
41
|
+
import { I as InputDate } from './InputDate-471b81b5.js';
|
|
42
|
+
import { D as DrawerComponent } from './index-fb2a229b.js';
|
|
43
|
+
import { C as Close } from './Close-f210a290.js';
|
|
45
44
|
import './constantsIsProduction.js';
|
|
46
|
-
import './normalizeLink-
|
|
45
|
+
import './normalizeLink-a03bc03f.js';
|
|
47
46
|
import '@hhgtech/icons/other';
|
|
48
47
|
import '@mantine/carousel';
|
|
49
48
|
import 'classnames';
|
|
50
|
-
import './useUniqueId-
|
|
49
|
+
import './useUniqueId-e8afc1d1.js';
|
|
51
50
|
import './constantsSite.js';
|
|
52
51
|
import '@hhgtech/icons/core';
|
|
53
52
|
import '@mantine/notifications';
|
|
@@ -65,11 +64,11 @@ import './i18n-values/vi-VN.js';
|
|
|
65
64
|
import './i18n-values/vi-VN_MB.js';
|
|
66
65
|
import './i18n-values/zh-SG.js';
|
|
67
66
|
import './i18n-values/zh-TW.js';
|
|
68
|
-
import './index-
|
|
67
|
+
import './index-f97aedb8.js';
|
|
69
68
|
import 'slugify';
|
|
70
69
|
import 'string-format';
|
|
71
70
|
import './togetherApiPaths.js';
|
|
72
|
-
import './constants-
|
|
71
|
+
import './constants-6af68341.js';
|
|
73
72
|
import 'vaul';
|
|
74
73
|
|
|
75
74
|
const LeadGenComponentContext = createContext({});
|
|
@@ -2261,8 +2260,11 @@ const useLeadGenContext = () => {
|
|
|
2261
2260
|
};
|
|
2262
2261
|
|
|
2263
2262
|
const ImpressionTrackingWrapper = ({ children, stayDuration = 3, onImpression, dependency = '', }) => {
|
|
2263
|
+
var _a;
|
|
2264
|
+
const boxRef = useRef(null);
|
|
2265
|
+
const [percent, setPercent] = useState(100);
|
|
2264
2266
|
const { ref, entry } = useIntersection({
|
|
2265
|
-
threshold:
|
|
2267
|
+
threshold: percent / 100,
|
|
2266
2268
|
});
|
|
2267
2269
|
const [tracked, setTracked] = useState(false);
|
|
2268
2270
|
useEffect(() => {
|
|
@@ -2283,14 +2285,20 @@ const ImpressionTrackingWrapper = ({ children, stayDuration = 3, onImpression, d
|
|
|
2283
2285
|
}, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
|
|
2284
2286
|
useEffect(() => {
|
|
2285
2287
|
if (tracked) {
|
|
2286
|
-
onImpression();
|
|
2287
2288
|
console.log('Impression call API');
|
|
2289
|
+
onImpression();
|
|
2288
2290
|
}
|
|
2289
2291
|
}, [tracked]);
|
|
2290
2292
|
useEffect(() => {
|
|
2291
2293
|
setTracked(false);
|
|
2292
2294
|
}, [dependency]);
|
|
2293
|
-
|
|
2295
|
+
useEffect(() => {
|
|
2296
|
+
if (boxRef.current.clientHeight > window.innerHeight * 0.8) {
|
|
2297
|
+
setPercent(50);
|
|
2298
|
+
}
|
|
2299
|
+
}, [(_a = boxRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight]);
|
|
2300
|
+
return (React__default.createElement(Box, { "data-impression": true, ref: ref },
|
|
2301
|
+
React__default.createElement("div", { ref: boxRef }, children)));
|
|
2294
2302
|
};
|
|
2295
2303
|
|
|
2296
2304
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -3455,9 +3463,12 @@ const CloseButton = ({ onClose, containerClassName, svgClassName, }) => (React__
|
|
|
3455
3463
|
// newTab: imageBlocks.imageMobile.data.newtab
|
|
3456
3464
|
// imageMobile: campaignShow.image
|
|
3457
3465
|
// imageDestkop: campaignShow.image_desktop
|
|
3458
|
-
const CenterTabLayout = ({ popupId, url, newTab, imageDestkop, imageMobile, onClose, onOtherSubmit, }) => {
|
|
3466
|
+
const CenterTabLayout = ({ popupId, url, newTab, imageDestkop, imageMobile, onClose, onOtherSubmit, doImpression, }) => {
|
|
3459
3467
|
const { width: imageMobileWidth, height: imageMobileHeight, loaded: imageMobileLoaded, } = useImageSize(imageMobile);
|
|
3460
3468
|
const { width: imageDestkopWidth, height: imageDestkopHeight, loaded: imageDestkopLoaded, } = useImageSize(imageDestkop);
|
|
3469
|
+
useEffect(() => {
|
|
3470
|
+
doImpression();
|
|
3471
|
+
}, []);
|
|
3461
3472
|
useEffect(() => {
|
|
3462
3473
|
if (popupId && imageMobileLoaded && imageDestkopLoaded) {
|
|
3463
3474
|
document.body.classList.add('noscroll');
|
|
@@ -4038,8 +4049,7 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
|
|
|
4038
4049
|
React__default.createElement(Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
|
|
4039
4050
|
};
|
|
4040
4051
|
|
|
4041
|
-
const InlineLayout = ({
|
|
4042
|
-
const { apiUrl } = useContext(LeadGenContext$1);
|
|
4052
|
+
const InlineLayout = ({ content, inlinePosition, doImpression, }) => {
|
|
4043
4053
|
const target = useMemo(() => {
|
|
4044
4054
|
if (!inlinePosition)
|
|
4045
4055
|
return null;
|
|
@@ -4146,22 +4156,7 @@ const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
|
|
|
4146
4156
|
}, [inlinePosition]);
|
|
4147
4157
|
if (!inlinePosition || !target)
|
|
4148
4158
|
return null;
|
|
4149
|
-
return createPortal(React__default.createElement(ImpressionTrackingWrapper, { onImpression: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
4150
|
-
const gaCookie = getCookie('_ga') || null;
|
|
4151
|
-
fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
|
|
4152
|
-
method: 'POST',
|
|
4153
|
-
headers: {
|
|
4154
|
-
'Content-Type': 'application/json',
|
|
4155
|
-
},
|
|
4156
|
-
body: JSON.stringify({
|
|
4157
|
-
action,
|
|
4158
|
-
url: location.href.toLowerCase(),
|
|
4159
|
-
title_article: document.title,
|
|
4160
|
-
cookie_id: getCookie('hhg-id'),
|
|
4161
|
-
ga_client_id: gaCookie,
|
|
4162
|
-
}),
|
|
4163
|
-
});
|
|
4164
|
-
}) }, content), target);
|
|
4159
|
+
return createPortal(React__default.createElement(ImpressionTrackingWrapper, { onImpression: () => __awaiter(void 0, void 0, void 0, function* () { return yield doImpression(); }) }, content), target);
|
|
4165
4160
|
};
|
|
4166
4161
|
|
|
4167
4162
|
const SideBarLayout = ({ content }) => {
|
|
@@ -4615,7 +4610,7 @@ const LightboxFields = ({ listBlockAdded, popupId, locale, onClose, onOtherSubmi
|
|
|
4615
4610
|
case 'LinkButtonBlock':
|
|
4616
4611
|
return (React__default.createElement("div", { key: index },
|
|
4617
4612
|
React__default.createElement("a", { target: newtab ? 'blank' : 'parrent', href: url, style: { textDecoration: 'none' } },
|
|
4618
|
-
React__default.createElement(Button
|
|
4613
|
+
React__default.createElement(Button, { type: "button", size: "md", className: `lead-modal__btn ${LEAD_CLASS}`, onClick: () => {
|
|
4619
4614
|
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
4620
4615
|
onOtherSubmit === null || onOtherSubmit === void 0 ? void 0 : onOtherSubmit();
|
|
4621
4616
|
} }, value))));
|
|
@@ -4928,7 +4923,7 @@ const LEADGEN_SHOW_HEADER = [
|
|
|
4928
4923
|
];
|
|
4929
4924
|
// const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
|
|
4930
4925
|
const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
|
|
4931
|
-
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, action, }) => {
|
|
4926
|
+
const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSubmit, imageMobile, imageDesktop, imageOverlayMobile, imageOverlayDesktop, imageBackground, currentLayout, title, onSubmit, onUnmount, doImpression, showThankyou, campaignId, campaignCode, campaign_subot_id, locale, showEmpty, setShowEmpty, userInfo, action, }) => {
|
|
4932
4927
|
var _a, _b;
|
|
4933
4928
|
const { primaryColor } = useContext(LeadGenContext$1);
|
|
4934
4929
|
const { isMobile } = useScreenSize();
|
|
@@ -4991,6 +4986,13 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
4991
4986
|
userInfo,
|
|
4992
4987
|
format: (_a = (ISO_FORMAT[locale] || ISO_FORMAT['vi-VN'])) === null || _a === void 0 ? void 0 : _a.dateFormat,
|
|
4993
4988
|
});
|
|
4989
|
+
const handleDoImpression = useCallback((type = 'impression') => doImpression({
|
|
4990
|
+
formValues: form.values,
|
|
4991
|
+
formActiveTime: formActiveTime.current,
|
|
4992
|
+
formRef: formRef.current,
|
|
4993
|
+
listBlockAdded,
|
|
4994
|
+
type,
|
|
4995
|
+
}), [form]);
|
|
4994
4996
|
if (window.innerWidth < 769 &&
|
|
4995
4997
|
LEADGEN_LAYOUT_NOT_SHOW_IN_MOBILE.includes(currentLayout)) {
|
|
4996
4998
|
console.log('😎 Not show fullscreen, slider on mobile ');
|
|
@@ -5005,6 +5007,9 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
5005
5007
|
}
|
|
5006
5008
|
clearCacheUsedEmailOrPhone();
|
|
5007
5009
|
}, []);
|
|
5010
|
+
useEffect(() => {
|
|
5011
|
+
(isLightBox || isSlider) && handleDoImpression();
|
|
5012
|
+
}, []);
|
|
5008
5013
|
useEffect(() => {
|
|
5009
5014
|
formRef.current && setLastFormRef(formRef.current);
|
|
5010
5015
|
}, [formRef.current]);
|
|
@@ -5145,13 +5150,19 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
5145
5150
|
disabledButtonSubmit,
|
|
5146
5151
|
(_b = actionBlocks === null || actionBlocks === void 0 ? void 0 : actionBlocks.submitBlock) === null || _b === void 0 ? void 0 : _b.isHide,
|
|
5147
5152
|
]);
|
|
5153
|
+
const [btnLinkLoading, setbtnLinkLoading] = useState(false);
|
|
5148
5154
|
const LinkButtonBlock = listBlockAdded.filter(({ name }) => name == LEADGEN_BLOCK.LinkButtonBlock);
|
|
5149
5155
|
const ButtonLink = !!(LinkButtonBlock === null || LinkButtonBlock === void 0 ? void 0 : LinkButtonBlock.length) && (React__default.createElement(React__default.Fragment, null, LinkButtonBlock.map((item, index) => {
|
|
5150
5156
|
var _a, _b, _c;
|
|
5151
|
-
return (React__default.createElement(Button$1, { key: `${item.name}-${index}`, component: "a", href: (_a = item === null || item === void 0 ? void 0 : item.data) === null || _a === void 0 ? void 0 : _a.url, target: ((_b = item === null || item === void 0 ? void 0 : item.data) === null || _b === void 0 ? void 0 : _b.newtab) ? '_blank' : undefined, size: "lg", variant: "filled", className: "leadgen-btn leadgen-btn_action", color: primaryColor, onClick: () => {
|
|
5157
|
+
return (React__default.createElement(Button$1, { key: `${item.name}-${index}`, component: "a", href: (_a = item === null || item === void 0 ? void 0 : item.data) === null || _a === void 0 ? void 0 : _a.url, target: ((_b = item === null || item === void 0 ? void 0 : item.data) === null || _b === void 0 ? void 0 : _b.newtab) ? '_blank' : undefined, size: "lg", variant: "filled", className: "leadgen-btn leadgen-btn_action", color: primaryColor, loading: btnLinkLoading, onClick: (e) => __awaiter(void 0, void 0, void 0, function* () {
|
|
5158
|
+
var _d, _e;
|
|
5159
|
+
e.preventDefault();
|
|
5152
5160
|
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
5161
|
+
setbtnLinkLoading(true);
|
|
5162
|
+
yield handleDoImpression('redirects');
|
|
5153
5163
|
onOtherSubmit === null || onOtherSubmit === void 0 ? void 0 : onOtherSubmit();
|
|
5154
|
-
|
|
5164
|
+
window.open((_d = item === null || item === void 0 ? void 0 : item.data) === null || _d === void 0 ? void 0 : _d.url, ((_e = item === null || item === void 0 ? void 0 : item.data) === null || _e === void 0 ? void 0 : _e.newtab) ? '_blank' : undefined);
|
|
5165
|
+
}) }, (_c = item === null || item === void 0 ? void 0 : item.data) === null || _c === void 0 ? void 0 : _c.value));
|
|
5155
5166
|
})));
|
|
5156
5167
|
const PopupHeader = showHeader && (React__default.createElement("header", { className: clsx('leadgen-header', { 'leadgen-header_only': onlyHeader }) }, LEADGEN_SHOW_HEADER.includes(currentLayout) ? (React__default.createElement(HeaderImage, { src: imageMobile, className: "lead-modal__image" })) : (React__default.createElement(React__default.Fragment, null,
|
|
5157
5168
|
React__default.createElement(HeaderImage, { src: imageDesktop, className: "le-only-desktop lead-modal__image" }),
|
|
@@ -5224,7 +5235,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
5224
5235
|
return React__default.createElement(SideBarLayout, { content: PopupContainer });
|
|
5225
5236
|
}
|
|
5226
5237
|
else if (isInline) {
|
|
5227
|
-
return (React__default.createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition }));
|
|
5238
|
+
return (React__default.createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition, doImpression: () => handleDoImpression() }));
|
|
5228
5239
|
}
|
|
5229
5240
|
return null;
|
|
5230
5241
|
};
|
|
@@ -5317,26 +5328,9 @@ function getCategoryLevel(t = 'Xin chao {{category_2}} extra') {
|
|
|
5317
5328
|
return null;
|
|
5318
5329
|
}
|
|
5319
5330
|
}
|
|
5320
|
-
const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThankyou, locale, showEmpty, setShowEmpty, userInfo, }) => {
|
|
5331
|
+
const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, doImpression, showThankyou, locale, showEmpty, setShowEmpty, userInfo, }) => {
|
|
5321
5332
|
var _a, _b;
|
|
5322
5333
|
const { apiUrl, siteDomain } = useContext(LeadGenContext$1);
|
|
5323
|
-
useEffect(() => {
|
|
5324
|
-
const gaCookie = getCookie('_ga') || null;
|
|
5325
|
-
!currentLayout.includes('Inline') &&
|
|
5326
|
-
fetch(`${apiUrl}api/campaign/${code}/impression`, {
|
|
5327
|
-
method: 'POST',
|
|
5328
|
-
headers: {
|
|
5329
|
-
'Content-Type': 'application/json',
|
|
5330
|
-
},
|
|
5331
|
-
body: JSON.stringify({
|
|
5332
|
-
action,
|
|
5333
|
-
url: location.href.toLowerCase(),
|
|
5334
|
-
title_article: document.title,
|
|
5335
|
-
cookie_id: getCookie('hhg-id'),
|
|
5336
|
-
ga_client_id: gaCookie,
|
|
5337
|
-
}),
|
|
5338
|
-
});
|
|
5339
|
-
}, []);
|
|
5340
5334
|
const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
|
|
5341
5335
|
const { currentLayout } = extra_fields;
|
|
5342
5336
|
const imageBlocks = extra_fields.imageBlocks
|
|
@@ -5424,7 +5418,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5424
5418
|
onClose === null || onClose === void 0 ? void 0 : onClose();
|
|
5425
5419
|
};
|
|
5426
5420
|
if (currentLayout === 'CenterTab') {
|
|
5427
|
-
return (React__default.createElement(CenterTabLayout, { popupId: popupIdRef.current, url: imageBlocks.imageMobile.data.url, newTab: imageBlocks.imageMobile.data.newtab, imageMobile: image, imageDestkop: image_desktop, onClose: onClose, onOtherSubmit: onOtherSubmit }));
|
|
5421
|
+
return (React__default.createElement(CenterTabLayout, { popupId: popupIdRef.current, url: imageBlocks.imageMobile.data.url, newTab: imageBlocks.imageMobile.data.newtab, imageMobile: image, imageDestkop: image_desktop, onClose: onClose, onOtherSubmit: onOtherSubmit, doImpression: doImpression }));
|
|
5428
5422
|
}
|
|
5429
5423
|
else if (currentLayout === 'Tab') {
|
|
5430
5424
|
return (React__default.createElement(TabLayout, { popupId: popupIdRef.current, url: imageBlocks.imageMobile.data.url, newTab: imageBlocks.imageMobile.data.newtab, image: image, onClose: onClose, onOtherSubmit: onOtherSubmit }));
|
|
@@ -5437,7 +5431,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5437
5431
|
currentLayout == 'Fullscreen' ||
|
|
5438
5432
|
currentLayout == 'Sidebar' ||
|
|
5439
5433
|
currentLayout == 'Slider') {
|
|
5440
|
-
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo, action: action }));
|
|
5434
|
+
return (React__default.createElement(LightboxLayout, { popupId: popupIdRef.current, extraFields: extra_fields, onClose: onClose, onOtherSubmit: onOtherSubmit, onUnmount: onUnmount, doImpression: doImpression, imageMobile: image, imageDesktop: image_desktop, imageBackground: image_background, currentLayout: currentLayout, title: titleText, onSubmit: (params) => onSubmit(params, categoryLevel, categoryData), key: currentLayout, imageOverlayDesktop: image_overlay_desktop, imageOverlayMobile: image_overlay_mobile, showThankyou: showThankyou, campaignId: campaign.id, campaignCode: campaign.code, campaign_subot_id: campaign.bot_id || [], locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo, action: action }));
|
|
5441
5435
|
}
|
|
5442
5436
|
else if (currentLayout.includes('Skin')) {
|
|
5443
5437
|
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 }));
|
|
@@ -5612,6 +5606,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
|
|
|
5612
5606
|
status: 'in_progress',
|
|
5613
5607
|
campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id,
|
|
5614
5608
|
total_fields: listBlockAdded.length,
|
|
5609
|
+
type: 'close',
|
|
5615
5610
|
},
|
|
5616
5611
|
currentLayout,
|
|
5617
5612
|
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: formatFormData(formRef, formDataObj) }),
|
|
@@ -5635,6 +5630,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
|
|
|
5635
5630
|
status: 'in_progress',
|
|
5636
5631
|
campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id,
|
|
5637
5632
|
total_fields: listBlockAdded.length,
|
|
5633
|
+
type: 'close',
|
|
5638
5634
|
},
|
|
5639
5635
|
currentLayout,
|
|
5640
5636
|
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: formatFormData(formRef, formDataObj) }),
|
|
@@ -5642,6 +5638,29 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
|
|
|
5642
5638
|
const blob = new Blob([JSON.stringify(data)], { type: 'application/json' });
|
|
5643
5639
|
navigator.sendBeacon(`${apiUrl}api/collection/tracking-completion`, blob);
|
|
5644
5640
|
});
|
|
5641
|
+
const doImpression = (params) => {
|
|
5642
|
+
const { listBlockAdded = [] } = params || {};
|
|
5643
|
+
const data = formatTrackingData({
|
|
5644
|
+
commonData: {
|
|
5645
|
+
cookie_id: getCookie('hhg-id'),
|
|
5646
|
+
ga_client_id: getCookie('_ga') || null,
|
|
5647
|
+
country_code: locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN',
|
|
5648
|
+
status: 'in_progress',
|
|
5649
|
+
campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id,
|
|
5650
|
+
total_fields: listBlockAdded.length,
|
|
5651
|
+
type: 'impression',
|
|
5652
|
+
},
|
|
5653
|
+
currentLayout,
|
|
5654
|
+
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: [] }),
|
|
5655
|
+
});
|
|
5656
|
+
return fetch(`${apiUrl}api/collection/tracking-completion`, {
|
|
5657
|
+
method: 'POST',
|
|
5658
|
+
headers: {
|
|
5659
|
+
'Content-Type': 'application/json',
|
|
5660
|
+
},
|
|
5661
|
+
body: JSON.stringify(data),
|
|
5662
|
+
});
|
|
5663
|
+
};
|
|
5645
5664
|
useEffect(() => {
|
|
5646
5665
|
if (forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.code)
|
|
5647
5666
|
return;
|
|
@@ -5748,7 +5767,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
|
|
|
5748
5767
|
}),
|
|
5749
5768
|
listBlockAdded.length > 0 &&
|
|
5750
5769
|
trackingCompletionForm({
|
|
5751
|
-
commonData: Object.assign(Object.assign({}, commonData), { country_code: locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN', status: 'complete', campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id, total_fields: listBlockAdded.length }),
|
|
5770
|
+
commonData: Object.assign(Object.assign({}, commonData), { country_code: locale ? MAPPED_LOCALE[locale] || 'VN' : 'VN', status: 'complete', campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id, total_fields: listBlockAdded.length, type: 'submit_form' }),
|
|
5752
5771
|
currentLayout,
|
|
5753
5772
|
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: formatedFormData }),
|
|
5754
5773
|
}),
|
|
@@ -5851,7 +5870,7 @@ const _LeadGen = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor
|
|
|
5851
5870
|
!!currentLayout &&
|
|
5852
5871
|
!currentLayout.includes('Inline') &&
|
|
5853
5872
|
!currentLayout.includes('Sidebar') && (React__default.createElement(Overlay, { color: "#000", opacity: 0.6, center: true, zIndex: 400, pos: 'fixed', onClick: () => onClose() })),
|
|
5854
|
-
React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, onUnmount: onUnmount, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo })))));
|
|
5873
|
+
React__default.createElement(NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, onUnmount: onUnmount, doImpression: doImpression, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo })))));
|
|
5855
5874
|
})))))));
|
|
5856
5875
|
};
|
|
5857
5876
|
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-9459eff1.js';
|
|
3
|
+
import { I as ImageWrap } from './useScreenSize-19654a25.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-616d80cc.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-616d80cc.js';
|
|
3
|
+
export { D as DatePicker } from './index-835684a8.js';
|
|
4
|
+
export { T as Text } from './index-a96e8ba4.js';
|
|
5
|
+
import { B as Button } from './index-74c18c86.js';
|
|
6
|
+
export { B as Button } from './index-74c18c86.js';
|
|
7
|
+
export { I as Indicator } from './index-20fd97d8.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-931d0cf9.js';
|
|
10
|
+
import { _ as __rest } from './tslib.es6-b4553cdc.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-8dca9704.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-419bb6cd.js';
|
|
16
|
+
import { u as useMantineLocale, N as NotificationsHandler } from './useMantineLocale-2c127895.js';
|
|
17
|
+
export { M as MAPPED_LOCALE, g as getHeadingStyles, s as showNotification, u as useMantineLocale } from './useMantineLocale-2c127895.js';
|
|
18
|
+
export { O as OTHER_THEME_CONFIG } from './other-a96544f5.js';
|
|
19
|
+
export { T as Tabs } from './index-08b2877f.js';
|
|
20
20
|
import '@hhgtech/icons/other';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-9459eff1.js';
|
|
22
22
|
import './constantsDomainLocales.js';
|
|
23
|
-
import './Locale-
|
|
23
|
+
import './Locale-40ba0062.js';
|
|
24
24
|
import './constantsIsProduction.js';
|
|
25
|
-
import './useScreenSize-
|
|
25
|
+
import './useScreenSize-19654a25.js';
|
|
26
26
|
import '@emotion/styled';
|
|
27
|
-
import './utils-
|
|
27
|
+
import './utils-ec0ee922.js';
|
|
28
28
|
import '@mantine/carousel';
|
|
29
|
-
import './index-
|
|
30
|
-
import './index-
|
|
29
|
+
import './index-0511a4dc.js';
|
|
30
|
+
import './index-b29137cb.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-e8afc1d1.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-f4191686.js';
|
|
39
|
+
import './index-5d633caa.js';
|
|
40
|
+
import './translationsContext-4c862414.js';
|
|
41
41
|
import '@mantine/notifications';
|
|
42
42
|
import 'dayjs';
|
|
43
43
|
|
package/build/esm/misc.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
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-2ec3f86c.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-ae33becd.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-2c127895.js';
|
|
7
|
+
import './index-0511a4dc.js';
|
|
8
|
+
import './index-9459eff1.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 } from './number-
|
|
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-ec0ee922.js';
|
|
11
|
+
import './index-b29137cb.js';
|
|
12
|
+
export { a as abbreviateNumber } from './number-ae1cf22e.js';
|
|
13
|
+
export { d as getCareApiDomain, g as getCurrentBaseUrl, a as getCurrentSsoUrl, c as getDiscoverApiDomain, b as getTogetherApiDomain } from './normalizeLink-a03bc03f.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
|
-
export { f as formatPill } from './dataTransform-
|
|
17
|
+
export { f as formatPill } from './dataTransform-1ea23943.js';
|
|
18
18
|
import 'dayjs';
|
|
19
19
|
import '@emotion/react';
|
|
20
|
-
import './tslib.es6-
|
|
20
|
+
import './tslib.es6-b4553cdc.js';
|
|
21
21
|
import '@mantine/notifications';
|
|
22
|
-
import './other-
|
|
23
|
-
import './Locale-
|
|
22
|
+
import './other-a96544f5.js';
|
|
23
|
+
import './Locale-40ba0062.js';
|
|
24
24
|
import './constantsDomainLocales.js';
|
|
25
25
|
import './constantsIsProduction.js';
|
|
26
26
|
import 'date-fns/locale';
|
|
27
27
|
import './constantsSite.js';
|
|
28
28
|
import './constantsRiskScreener.js';
|
|
29
|
-
import './core-
|
|
30
|
-
import './WhatsApp-
|
|
31
|
-
import './index-
|
|
32
|
-
import './index-
|
|
29
|
+
import './core-b6f68f42.js';
|
|
30
|
+
import './WhatsApp-487b0aff.js';
|
|
31
|
+
import './index-5c02b174.js';
|
|
32
|
+
import './index-f97aedb8.js';
|
|
33
33
|
import 'js-cookie';
|
|
34
34
|
import 'uuid';
|
|
35
35
|
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-b4553cdc.js';
|
|
2
|
+
import { e as normalizeLinkSlash, c as getDiscoverApiDomain } from './normalizeLink-a03bc03f.js';
|
|
3
|
+
import { g as getDataWithCache } from './core-b6f68f42.js';
|
|
4
4
|
import './constantsDomainLocales.js';
|
|
5
|
-
import './Locale-
|
|
5
|
+
import './Locale-40ba0062.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-b4553cdc.js';
|
|
3
|
+
import { W as WhatsApp, I as Instagram } from './WhatsApp-487b0aff.js';
|
|
4
|
+
import { S as SocialType } from './index-0511a4dc.js';
|
|
5
|
+
import { g as getHelloSitesUrl } from './index-5c02b174.js';
|
|
6
|
+
import { C as CommonGAssets } from './index-9459eff1.js';
|
|
7
|
+
import { L as LOCALE } from './Locale-40ba0062.js';
|
|
8
|
+
import './index-f97aedb8.js';
|
|
9
|
+
import './index-b29137cb.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-ec0ee922.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-b4553cdc.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-b8cf4ce2.js';
|
|
4
|
+
import './index-a96e8ba4.js';
|
|
5
5
|
import '@mantine/core';
|
|
6
|
-
import './other-
|
|
6
|
+
import './other-a96544f5.js';
|
|
7
7
|
import './miscTheme.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-ec0ee922.js';
|
|
11
11
|
|
|
12
12
|
const MobileBottomNavigationWrapper = (_a) => {
|
|
13
13
|
var { children, isCollapsed = false, template = 'homepage', refObject, height = 56 } = _a, rest = __rest(_a, ["children", "isCollapsed", "template", "refObject", "height"]);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-b4553cdc.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-a96e8ba4.js';
|
|
4
4
|
import './miscTheme.js';
|
|
5
|
-
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-
|
|
5
|
+
export { M as MobileBottomNavigationIcon } from './MobileBottomNavigationIcon-b8cf4ce2.js';
|
|
6
6
|
import '@mantine/core';
|
|
7
|
-
import './other-
|
|
7
|
+
import './other-a96544f5.js';
|
|
8
8
|
import '@emotion/react';
|
|
9
9
|
import '@emotion/styled';
|
|
10
|
-
import './utils-
|
|
10
|
+
import './utils-ec0ee922.js';
|