@hhgtech/hhg-components 1.29.569-beta-1 → 1.29.570
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-08857268.js → InputDate-9ebd52ca.js} +5 -5
- package/build/{LastPeriod-32f3e955.js → LastPeriod-00b0b47b.js} +1 -1
- package/build/{MobileBottomNavigationIcon-50cf9750.js → MobileBottomNavigationIcon-f98b485b.js} +3 -3
- package/build/{SiteWideBanner-7dedc50f.js → SiteWideBanner-fedd8edc.js} +13 -13
- package/build/{Spinner-093eba96.js → Spinner-18c90fe5.js} +1 -1
- package/build/{WhatsApp-63d1377c.js → WhatsApp-061da51d.js} +1 -1
- package/build/adapters.js +26 -20
- package/build/atoms.js +58 -54
- package/build/babyGrowth.js +90 -87
- package/build/cache.js +2 -2
- package/build/care.js +21 -21
- package/build/careBookingSearchBar.js +13 -13
- package/build/careBookingSearchBarV2.js +18 -18
- package/build/components.js +116 -115
- package/build/{constants-8065cb2e.js → constants-25b9497f.js} +1 -1
- package/build/{constants-4aae34c0.js → constants-b992173e.js} +1 -1
- package/build/constants.js +2 -2
- package/build/constantsRiskScreener.js +1 -1
- package/build/constantsSite.js +1 -1
- package/build/{core-ce1ccab7.js → core-c6026899.js} +1 -1
- package/build/{dataTransform-0f22571a.js → dataTransform-02a58a20.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-cf6cafe2.js → editor-e6e9e3fb.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +31 -26
- package/build/embeddedHeathToolCards_babyPoop.js +26 -21
- package/build/embeddedHeathToolCards_babyVaccine.js +30 -25
- package/build/embeddedHeathToolCards_bmi_bmi.js +33 -28
- package/build/embeddedHeathToolCards_bmrBmr.js +33 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +30 -25
- package/build/embeddedHeathToolCards_helpers.js +2 -2
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +30 -25
- package/build/embeddedHeathToolCards_pwg_pwg.js +32 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +35 -30
- package/build/esm/{InputDate-f65a6869.js → InputDate-86aca9f1.js} +5 -5
- package/build/esm/{LastPeriod-52712208.js → LastPeriod-0fa55988.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-001c7c30.js → MobileBottomNavigationIcon-e8c6487b.js} +3 -3
- package/build/esm/{SiteWideBanner-7b1d8e06.js → SiteWideBanner-584af462.js} +13 -13
- package/build/esm/{Spinner-ea19696d.js → Spinner-bf43cb76.js} +1 -1
- package/build/esm/{WhatsApp-82e1ca3c.js → WhatsApp-632c14e2.js} +1 -1
- package/build/esm/adapters.js +26 -20
- package/build/esm/atoms.js +58 -54
- package/build/esm/babyGrowth.js +90 -87
- package/build/esm/cache.js +2 -2
- package/build/esm/care.js +21 -21
- package/build/esm/careBookingSearchBar.js +13 -13
- package/build/esm/careBookingSearchBarV2.js +18 -18
- package/build/esm/components.js +116 -115
- package/build/esm/{constants-3e7d1387.js → constants-2e7ee0b3.js} +1 -1
- package/build/esm/{constants-b719e705.js → constants-bc837908.js} +1 -1
- package/build/esm/constants.js +2 -2
- package/build/esm/constantsRiskScreener.js +1 -1
- package/build/esm/constantsSite.js +1 -1
- package/build/esm/{core-39483e55.js → core-b5c06568.js} +1 -1
- package/build/esm/{dataTransform-26318b95.js → dataTransform-20f020cf.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-261cdaf8.js → editor-af36c0ee.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +31 -26
- package/build/esm/embeddedHeathToolCards_babyPoop.js +26 -21
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +30 -25
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +33 -28
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +33 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +30 -25
- package/build/esm/embeddedHeathToolCards_helpers.js +2 -2
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +30 -25
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +32 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +35 -30
- package/build/esm/footer.js +28 -22
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{healthTools-74923351.js → healthTools-2375f3d7.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +24 -19
- package/build/esm/healthToolsForm.js +43 -38
- package/build/esm/{helpers-f9d4d699.js → helpers-13942d8c.js} +1 -1
- package/build/esm/hooks.js +14 -14
- package/build/esm/i18n.js +2 -2
- package/build/esm/i18nV2.js +2 -2
- package/build/esm/{index-0fc6da63.js → index-09409879.js} +3 -3
- package/build/esm/{index-0f163fb9.js → index-0948e312.js} +2 -2
- package/build/esm/{index-d7f2db49.js → index-0a262faf.js} +2 -2
- package/build/esm/{index-93413a59.js → index-0db64b4f.js} +2 -2
- package/build/esm/{index-e315422f.js → index-1002fab9.js} +14 -14
- package/build/esm/{index-f34b246a.js → index-1164f7d4.js} +1 -1
- package/build/esm/{index-ff5a9cbd.js → index-1486a6da.js} +20 -20
- package/build/esm/{index-899790b6.js → index-17856e46.js} +3 -3
- package/build/esm/{index-68bdec51.js → index-1f84117b.js} +7 -7
- package/build/esm/{index-c7e4b5b8.js → index-21bd6de5.js} +4 -4
- package/build/esm/{index-1303a9e9.js → index-22745456.js} +2 -2
- package/build/esm/{index-7293d66b.js → index-2e49b6fc.js} +2 -2
- package/build/esm/{index-cf36ffd5.js → index-308e99f5.js} +2 -2
- package/build/esm/{index-fdb6b767.js → index-33c0d916.js} +17 -17
- package/build/esm/{index-e9fc54e1.js → index-3895f110.js} +25 -25
- package/build/esm/{index-b181324f.js → index-3bd6d1a3.js} +2 -2
- package/build/esm/{index-f2d4a2f2.js → index-3cd77063.js} +13 -13
- package/build/esm/{index-dccb9506.js → index-3e9784ab.js} +1 -1
- package/build/esm/{index-22b31281.js → index-436b58cd.js} +1 -1
- package/build/esm/{index-e0195d3f.js → index-4726d97a.js} +15 -15
- package/build/esm/{index-290bbf41.js → index-4a538dfc.js} +7 -7
- package/build/esm/{index-cbfdcb39.js → index-4c5be22c.js} +1 -1
- package/build/esm/{index-338accdb.js → index-4fb66ae3.js} +3 -3
- package/build/esm/{index-78645de3.js → index-4ff88c7c.js} +2 -2
- package/build/esm/{index-c2390315.js → index-5237dddb.js} +3 -3
- package/build/esm/{index-de1d2f4b.js → index-56d1537a.js} +18 -18
- package/build/esm/{index-4de1a090.js → index-672802ff.js} +5 -5
- package/build/esm/{index-823b020d.js → index-674ad3f8.js} +16 -16
- package/build/esm/{index-67f2cb68.js → index-690ee4c3.js} +2 -2
- package/build/esm/{index-1bf05d13.js → index-6ac1e86b.js} +17 -17
- package/build/esm/{index-49ca1d61.js → index-6bb00382.js} +21 -21
- package/build/esm/{index-d07ebc08.js → index-6ffe8a54.js} +1 -1
- package/build/esm/{index-d9c89865.js → index-72cc3c82.js} +7 -7
- package/build/esm/{index-f7b4f213.js → index-759ff54d.js} +2 -2
- package/build/esm/{index-bd6efd60.js → index-79b6aa9a.js} +13 -13
- package/build/esm/{index-36a2f381.js → index-7c58eb2b.js} +11 -11
- package/build/esm/{index-4b0275bc.js → index-83ce36b7.js} +17 -17
- package/build/esm/{index-3a261dcc.js → index-86256531.js} +3 -3
- package/build/esm/{index-899fe463.js → index-86d17c65.js} +3 -3
- package/build/esm/{index-de0cab31.js → index-8878ebce.js} +4 -4
- package/build/esm/{index-a82cf2a4.js → index-8ea55c3a.js} +16 -16
- package/build/esm/{index-d9d6512c.js → index-98d2d8a9.js} +22 -22
- package/build/esm/{index-2e6b84ec.js → index-9acc34a7.js} +3 -3
- package/build/esm/{index-c220cb03.js → index-a488b4e6.js} +2 -2
- package/build/esm/{index-5ef4be51.js → index-a82b9bdc.js} +1 -1
- package/build/esm/{index-064eae61.js → index-a83d2663.js} +17 -17
- package/build/esm/{index-67cba53d.js → index-a9accacf.js} +9 -9
- package/build/esm/{index-228906bf.js → index-aac41a30.js} +3 -3
- package/build/esm/{index-c6b033bd.js → index-ac17facc.js} +5 -5
- package/build/esm/{index-8f724365.js → index-b0564176.js} +3 -3
- package/build/esm/{index-06ce15c7.js → index-b09d9b2e.js} +6 -6
- package/build/esm/{index-30db72ed.js → index-b3cddca0.js} +1411 -21
- package/build/esm/{index-3cdb3003.js → index-b7f9d0bb.js} +31 -31
- package/build/esm/{index-46e890ab.js → index-b9c6f372.js} +6 -6
- package/build/esm/{index-7cb9f382.js → index-bdbd4403.js} +17 -17
- package/build/esm/{index-3ea9e98b.js → index-c28b5511.js} +34 -34
- package/build/esm/{index-7985100a.js → index-c2dd68b0.js} +2 -2
- package/build/esm/{index-d338eb23.js → index-c6901973.js} +12 -12
- package/build/esm/{index-600299c7.js → index-c98bfa61.js} +14 -14
- package/build/esm/{index-b10a746b.js → index-ca5f175f.js} +6 -6
- package/build/esm/{index-bd7de61c.js → index-cff8f873.js} +1 -1
- package/build/esm/{index-522820f6.js → index-d491a5d8.js} +2 -2
- package/build/esm/{index-75547e3b.js → index-d4975c2a.js} +2 -2
- package/build/esm/{index-8663499e.js → index-d52d4fc9.js} +16 -16
- package/build/esm/{index-96a05e4e.js → index-d8c33a6a.js} +2 -2
- package/build/esm/{index-706b41f3.js → index-d991925d.js} +31 -31
- package/build/esm/{index-3ee60fb4.js → index-dc8f650b.js} +2 -2
- package/build/esm/{index-808e2816.js → index-dd7c098e.js} +2 -2
- package/build/esm/{index-1f264400.js → index-df2bf85e.js} +24 -24
- package/build/esm/{index-ab67d135.js → index-e1aa2251.js} +3 -3
- package/build/esm/{index-4cac470f.js → index-e7bcd704.js} +2 -2
- package/build/esm/{index-a7c0ab8f.js → index-f522da5c.js} +19 -19
- package/build/esm/{index-f9f312b3.js → index-fa37e9df.js} +5 -5
- package/build/esm/index.js +133 -132
- package/build/esm/{labelSorting-bf4d4562.js → labelSorting-6693dc3b.js} +4 -4
- package/build/esm/lead/LeadGenTranslationContext.d.ts +1 -4
- package/build/esm/lead/i18n/index.d.ts +1 -1
- package/build/esm/lead.js +5108 -444
- package/build/esm/leadRecaptcha.js +2 -2
- package/build/esm/{logoIcon-be698bb5.js → logoIcon-26941868.js} +2 -2
- package/build/esm/mantine.js +34 -29
- package/build/esm/misc.js +17 -17
- package/build/esm/miscGetDynamicHealthTool.js +3 -3
- package/build/esm/miscGetSocialList.js +6 -6
- 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 +91 -90
- package/build/esm/moleculesArticleCard.js +5 -5
- package/build/esm/moleculesArticleCardV2.js +23 -17
- package/build/esm/navigation.js +56 -54
- package/build/esm/navigationLogoutPopup.js +10 -10
- package/build/esm/navigationProfileButton.js +31 -26
- package/build/esm/onboardingV2.js +35 -31
- package/build/esm/organisms.js +69 -68
- package/build/esm/{post-a5353c8e.js → post-6b391944.js} +2 -2
- package/build/esm/profileNavigation.js +24 -19
- package/build/esm/progressBar.js +1 -1
- package/build/esm/pwg.js +28 -23
- package/build/esm/{recaptchaV3-8c953825.js → recaptchaV3-34684488.js} +1 -1
- package/build/esm/ssoV2.js +36 -32
- package/build/esm/{store-37f3829b.js → store-6afbb89f.js} +3 -3
- package/build/esm/subot/captcha/index.d.ts +7 -10
- package/build/esm/subot.js +58 -51
- package/build/esm/surveyOrPremiumBanner.js +38 -34
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-50a40b37.js → surveyThankyouCard-1b913b92.js} +5 -5
- package/build/esm/together.js +62 -59
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +36 -31
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +56 -53
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +44 -40
- package/build/esm/togetherOrganisms.js +53 -50
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-35a086de.js → transform-3992daea.js} +34 -34
- package/build/esm/{translationsProvider-03ac207b.js → translationsProvider-0a7813b1.js} +1 -1
- package/build/esm/{treePopoverMenu-7d49a273.js → treePopoverMenu-2b0332f7.js} +18 -18
- package/build/esm/{types-5c19398b.js → types-be272abe.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCartCareService-66f996a0.js → useCartCareService-cefb1029.js} +1 -1
- package/build/esm/{useHealthToolCache-7a2e9ba8.js → useHealthToolCache-c49acdf1.js} +1 -1
- package/build/esm/{usePhoneValidator-3566dfd5.js → usePhoneValidator-784fe823.js} +4 -4
- package/build/esm/{usePlacesAutocomplete-892c6110.js → usePlacesAutocomplete-0617aed7.js} +1 -1
- package/build/esm/{useResolvedCaptureUrls-d0d577bf.js → useResolvedCaptureUrls-054899bd.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-477765df.js → utils-07ea3389.js} +4 -4
- package/build/esm/{utils-e49b4fa5.js → utils-51368802.js} +1 -1
- package/build/esm/{utils-6f1e4152.js → utils-a15aaf15.js} +2 -2
- package/build/esm/{utils-66a04a73.js → utils-dc631f93.js} +4 -4
- package/build/esm/{utils-3386e317.js → utils-f1f4f7e8.js} +5 -5
- package/build/esm/vaccination.js +28 -23
- package/build/footer.js +28 -22
- package/build/gAssets.js +1 -1
- package/build/{healthTools-e38bccfa.js → healthTools-2ff3afde.js} +1 -1
- package/build/healthToolsCardWrapper.js +24 -19
- package/build/healthToolsForm.js +43 -38
- package/build/{helpers-ffc5180c.js → helpers-7c1f5ba2.js} +1 -1
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-fd684023.js → index-02a3adbc.js} +2 -2
- package/build/{index-46b8be64.js → index-0a0cd148.js} +5 -5
- package/build/{index-b963fdc6.js → index-0cb355e9.js} +2 -2
- package/build/{index-43334bc5.js → index-177681f5.js} +18 -18
- package/build/{index-6e6593c4.js → index-19bb7271.js} +31 -31
- package/build/{index-8d24839c.js → index-1c1dcc52.js} +1 -1
- package/build/{index-7b9a044c.js → index-234d78bb.js} +4 -4
- package/build/{index-abd1ee07.js → index-25c6d5be.js} +25 -25
- package/build/{index-e2eaee59.js → index-2955fa8d.js} +9 -9
- package/build/{index-43df760f.js → index-2ac112e5.js} +34 -34
- package/build/{index-3c7de285.js → index-3230baad.js} +2 -2
- package/build/{index-87d465e0.js → index-32d9e76c.js} +1 -1
- package/build/{index-d3067c77.js → index-33cdb702.js} +17 -17
- package/build/{index-5e74008a.js → index-3511e1af.js} +16 -16
- package/build/{index-95d86eaa.js → index-3ea0608f.js} +1 -1
- package/build/{index-40fcb461.js → index-4157eca3.js} +2 -2
- package/build/{index-2ff43355.js → index-4187e37c.js} +3 -3
- package/build/{index-4c60ec07.js → index-42f7db47.js} +3 -3
- package/build/{index-65e1df12.js → index-44993a1e.js} +2 -2
- package/build/{index-f6b23d01.js → index-4cdc2006.js} +6 -6
- package/build/{index-742cf6ba.js → index-4dd08aab.js} +3 -3
- package/build/{index-4caa5fff.js → index-4f69a48e.js} +2 -2
- package/build/{index-2d8bc985.js → index-51d01acc.js} +1414 -21
- package/build/{index-c81a13c2.js → index-51e0829a.js} +7 -7
- package/build/{index-ab28235f.js → index-548d2ac1.js} +2 -2
- package/build/{index-e0c5a6b4.js → index-55dac945.js} +3 -3
- package/build/{index-2e8f8ebf.js → index-58ad97c9.js} +3 -3
- package/build/{index-131ba6b4.js → index-594475ad.js} +21 -21
- package/build/{index-e37081c5.js → index-59658a1f.js} +17 -17
- package/build/{index-b1b1f9c1.js → index-5ae0a209.js} +16 -16
- package/build/{index-69e4902e.js → index-5c94c387.js} +31 -31
- package/build/{index-7ec36c5f.js → index-5d9bbd65.js} +2 -2
- package/build/{index-8627ab1b.js → index-60bd1fba.js} +3 -3
- package/build/{index-06f6a945.js → index-657ed4d4.js} +2 -2
- package/build/{index-a824979f.js → index-669bebfa.js} +3 -3
- package/build/{index-a47d94e7.js → index-6c423f35.js} +14 -14
- package/build/{index-6f8214dc.js → index-6cd51190.js} +1 -1
- package/build/{index-5779d508.js → index-6ce7e646.js} +6 -6
- package/build/{index-655d9700.js → index-70903c8e.js} +2 -2
- package/build/{index-f444e30a.js → index-74a39817.js} +3 -3
- package/build/{index-7e007d08.js → index-75e14772.js} +13 -13
- package/build/{index-6c7470cb.js → index-77a042e1.js} +12 -12
- package/build/{index-de1d16c4.js → index-7e25b4f3.js} +7 -7
- package/build/{index-db4d2c5f.js → index-7f36de72.js} +2 -2
- package/build/{index-b328d19e.js → index-7ff1ac74.js} +16 -16
- package/build/{index-20f6c2f4.js → index-807fd0e4.js} +22 -22
- package/build/{index-1c82c2d3.js → index-83924b73.js} +2 -2
- package/build/{index-be455ab9.js → index-862570e8.js} +17 -17
- package/build/{index-778b4ce5.js → index-881501b2.js} +15 -15
- package/build/{index-46cc456c.js → index-93286eef.js} +2 -2
- package/build/{index-003b50b7.js → index-93cfde25.js} +19 -19
- package/build/{index-8f87f7c3.js → index-967076ad.js} +17 -17
- package/build/{index-90a86ef9.js → index-96c50c61.js} +2 -2
- package/build/{index-08a43dd1.js → index-9e2d57d8.js} +4 -4
- package/build/{index-4bbb737a.js → index-a0ca8856.js} +20 -20
- package/build/{index-881f090c.js → index-a2e9b70a.js} +1 -1
- package/build/{index-614f3a92.js → index-ae158063.js} +7 -7
- package/build/{index-404f44b0.js → index-b3f5d72d.js} +2 -2
- package/build/{index-481cd2fa.js → index-b5099834.js} +2 -2
- package/build/{index-dabd93aa.js → index-b7ce6c84.js} +3 -3
- package/build/{index-75c55095.js → index-ba0188a4.js} +11 -11
- package/build/{index-b43251d2.js → index-ba967ab3.js} +1 -1
- package/build/{index-82d547d1.js → index-c1b212c8.js} +5 -5
- package/build/{index-dc8ec7b2.js → index-c4028ca0.js} +2 -2
- package/build/{index-11043d70.js → index-caeeb401.js} +6 -6
- package/build/{index-f9d1861d.js → index-d8ef9967.js} +2 -2
- package/build/{index-b30dad24.js → index-dd9b1412.js} +1 -1
- package/build/{index-e2bb27b3.js → index-e024ff35.js} +5 -5
- package/build/{index-f27ce4da.js → index-ea09e421.js} +13 -13
- package/build/{index-38100242.js → index-ebb33f1f.js} +24 -24
- package/build/{index-581db9b1.js → index-ebd0ec02.js} +3 -3
- package/build/{index-00a7007b.js → index-ec6c4d5e.js} +17 -17
- package/build/{index-fbd00520.js → index-f85a4de0.js} +14 -14
- package/build/index.js +133 -132
- package/build/{labelSorting-180ba4cb.js → labelSorting-c4df0590.js} +4 -4
- package/build/lead/LeadGenTranslationContext.d.ts +1 -4
- package/build/lead/i18n/index.d.ts +1 -1
- package/build/lead.js +5218 -535
- package/build/leadRecaptcha.js +2 -2
- package/build/{logoIcon-20be13cb.js → logoIcon-55134dc4.js} +2 -2
- package/build/mantine.js +32 -27
- package/build/misc.js +17 -17
- package/build/miscGetDynamicHealthTool.js +3 -3
- package/build/miscGetSocialList.js +6 -6
- package/build/miscScreenSizeContext.js +1 -1
- package/build/mobileBottomNavigation.js +5 -5
- package/build/mobileBottomNavigationIcon.js +5 -5
- package/build/molecules.js +91 -90
- package/build/moleculesArticleCard.js +5 -5
- package/build/moleculesArticleCardV2.js +23 -17
- package/build/navigation.js +56 -54
- package/build/navigationLogoutPopup.js +10 -10
- package/build/navigationProfileButton.js +31 -26
- package/build/onboardingV2.js +34 -30
- package/build/organisms.js +69 -68
- package/build/{post-8382700f.js → post-ae6cd5df.js} +2 -2
- package/build/profileNavigation.js +24 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +28 -23
- package/build/{recaptchaV3-63159c36.js → recaptchaV3-01aeba64.js} +1 -1
- package/build/ssoV2.js +34 -30
- package/build/{store-826b0ee1.js → store-738f12a2.js} +3 -3
- package/build/subot/captcha/index.d.ts +7 -10
- package/build/subot.js +58 -51
- package/build/surveyOrPremiumBanner.js +38 -34
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-369aeed0.js → surveyThankyouCard-c4cc9785.js} +5 -5
- package/build/together.js +62 -59
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +36 -31
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +56 -53
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +44 -40
- package/build/togetherOrganisms.js +53 -50
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-9b22887b.js → transform-bdface58.js} +34 -34
- package/build/{translationsProvider-9a31152f.js → translationsProvider-8b5cb380.js} +1 -1
- package/build/{treePopoverMenu-8f5a8758.js → treePopoverMenu-7978e490.js} +18 -18
- package/build/{types-cbe5b5e9.js → types-51ba8d5f.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCartCareService-507956df.js → useCartCareService-12a23cae.js} +1 -1
- package/build/{useHealthToolCache-99a35777.js → useHealthToolCache-a14d6044.js} +1 -1
- package/build/{usePhoneValidator-e5715929.js → usePhoneValidator-a940ee56.js} +4 -4
- package/build/{usePlacesAutocomplete-a2f8202c.js → usePlacesAutocomplete-b97e2338.js} +1 -1
- package/build/{useResolvedCaptureUrls-2a1edb01.js → useResolvedCaptureUrls-b4a7e19a.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-bcfbb6ba.js → utils-200a6650.js} +5 -5
- package/build/{utils-bb1e5438.js → utils-39d3f595.js} +4 -4
- package/build/{utils-c899d146.js → utils-655fcf34.js} +4 -4
- package/build/{utils-16e69573.js → utils-bc439355.js} +2 -2
- package/build/{utils-114e1ca6.js → utils-c65ca307.js} +1 -1
- package/build/vaccination.js +28 -23
- package/package.json +1 -1
- package/build/countrySelect-c5552422.js +0 -1436
- package/build/esm/countrySelect-5f2fe567.js +0 -1426
- package/build/esm/formatTrackingData-66cd5664.js +0 -4708
- package/build/esm/lead/LeadGenCore.d.ts +0 -75
- package/build/esm/lead/LeadGenSlim.d.ts +0 -33
- package/build/esm/lead/i18n/leadTranslations.d.ts +0 -6
- package/build/esm/leadSlim.d.ts +0 -1
- package/build/esm/leadSlim.js +0 -457
- package/build/formatTrackingData-676340eb.js +0 -4757
- package/build/lead/LeadGenCore.d.ts +0 -75
- package/build/lead/LeadGenSlim.d.ts +0 -33
- package/build/lead/i18n/leadTranslations.d.ts +0 -6
- package/build/leadSlim.d.ts +0 -1
- package/build/leadSlim.js +0 -466
- /package/build/{BMI_BOYS.percentile.monthly-ec41f351.js → BMI_BOYS.percentile.monthly-7b48264a.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-babe6552.js → BMI_BOYS.percentile.weekly-129bbda2.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-f38dc134.js → BMI_BOYS.percentile.yearly-5fb02717.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-093d3209.js → BMI_BOYS.zscore.monthly-0b5978f6.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-fb26ac25.js → BMI_BOYS.zscore.weekly-711e040a.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-12724474.js → BMI_BOYS.zscore.yearly-39ce689a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-98627e58.js → BMI_GIRLS.percentile.monthly-8916f9e9.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-7d6e1ed5.js → BMI_GIRLS.percentile.weekly-a5d8d437.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-71e3bd23.js → BMI_GIRLS.percentile.yearly-7db6e19a.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-24f3db40.js → BMI_GIRLS.zscore.monthly-76f74077.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-a5a50706.js → BMI_GIRLS.zscore.weekly-5b8ec1fe.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-9b2336b7.js → BMI_GIRLS.zscore.yearly-19b7d20d.js} +0 -0
- /package/build/{ChevronDown-08277d27.js → ChevronDown-7aa5239a.js} +0 -0
- /package/build/{Google-0aa53046.js → Google-e4c5b102.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-4eee9b4e.js → HEAD CIRCUM_BOYS.percentile.monthly-5f7ab088.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-81e3479c.js → HEAD CIRCUM_BOYS.percentile.weekly-4b0643ff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-f11a72d0.js → HEAD CIRCUM_BOYS.percentile.yearly-38491538.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-81a9eb32.js → HEAD CIRCUM_BOYS.zscore.monthly-06121ec5.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-be1f0ad1.js → HEAD CIRCUM_BOYS.zscore.weekly-14419797.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0e088655.js → HEAD CIRCUM_BOYS.zscore.yearly-2402f1cd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-f0e7a932.js → HEAD CIRCUM_GIRLS.percentile.monthly-e10b9aa6.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-7ff2343e.js → HEAD CIRCUM_GIRLS.percentile.weekly-dfd42fbd.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-33049888.js → HEAD CIRCUM_GIRLS.percentile.yearly-570c5749.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-9edda77b.js → HEAD CIRCUM_GIRLS.zscore.monthly-1a171872.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-2e99f6c6.js → HEAD CIRCUM_GIRLS.zscore.weekly-ddfe0d95.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-57d5f62e.js → HEAD CIRCUM_GIRLS.zscore.yearly-7f73fe04.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-be564b0a.js → HEIGHT_BOYS.percentile.monthly-70f949ac.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-661cc4fb.js → HEIGHT_BOYS.percentile.weekly-c30b1584.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-73170d04.js → HEIGHT_BOYS.percentile.yearly-1d674e57.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-b9222d9b.js → HEIGHT_BOYS.zscore.monthly-7d9f3790.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-03091216.js → HEIGHT_BOYS.zscore.weekly-32d669bf.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-64769782.js → HEIGHT_BOYS.zscore.yearly-a3d14050.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-ab21e817.js → HEIGHT_GIRLS.percentile.monthly-31599c31.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-624f1899.js → HEIGHT_GIRLS.percentile.weekly-65421db3.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-361486e2.js → HEIGHT_GIRLS.percentile.yearly-61c1ec90.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-093817f4.js → HEIGHT_GIRLS.zscore.monthly-5c4d0cc1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-3144902d.js → HEIGHT_GIRLS.zscore.weekly-703e5f92.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-2aaf2b22.js → HEIGHT_GIRLS.zscore.yearly-4ec4aece.js} +0 -0
- /package/build/{Visible-23adc06b.js → Visible-3589ecdf.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-306fddae.js → WEIGHT_BOYS.percentile.monthly-3fa2caaa.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-b636ff29.js → WEIGHT_BOYS.percentile.weekly-3f3ab6a6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-9020d242.js → WEIGHT_BOYS.percentile.yearly-0e8b97fd.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-e03a27ab.js → WEIGHT_BOYS.zscore.monthly-e95a73e4.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-ee1d3669.js → WEIGHT_BOYS.zscore.weekly-9fa69332.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-bfaa8fdc.js → WEIGHT_BOYS.zscore.yearly-a3b3fd37.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-8ea574e2.js → WEIGHT_GIRLS.percentile.monthly-a60581dd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-4762f0d4.js → WEIGHT_GIRLS.percentile.weekly-ce7d59e5.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-aefa8dc5.js → WEIGHT_GIRLS.percentile.yearly-6c2dcb5b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-4b45292d.js → WEIGHT_GIRLS.zscore.monthly-ae847d4b.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-c6126500.js → WEIGHT_GIRLS.zscore.weekly-8fcb8eee.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-e1336d0d.js → WEIGHT_GIRLS.zscore.yearly-904f1266.js} +0 -0
- /package/build/{ageGenerate-3906f8ca.js → ageGenerate-cb2b7ad3.js} +0 -0
- /package/build/{animation-f547c73c.js → animation-116218a5.js} +0 -0
- /package/build/{appearance-149892d5.js → appearance-c75af09e.js} +0 -0
- /package/build/{constants-48fbda23.js → constants-06c26920.js} +0 -0
- /package/build/{constants-4b5d512b.js → constants-2b73f764.js} +0 -0
- /package/build/{constants-422fd344.js → constants-82549a98.js} +0 -0
- /package/build/{context-b554da01.js → context-b791251e.js} +0 -0
- /package/build/{dataTransform-b6b26189.js → dataTransform-15d1dbe9.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-97a20b4d.js → BMI_BOYS.percentile.monthly-3ba45a7b.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-382fe034.js → BMI_BOYS.percentile.weekly-4f198fff.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-a36776dd.js → BMI_BOYS.percentile.yearly-e1c40939.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-d5318e53.js → BMI_BOYS.zscore.monthly-b723f477.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c0f824a0.js → BMI_BOYS.zscore.weekly-76872082.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-f10e1edc.js → BMI_BOYS.zscore.yearly-4c65f9b4.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-d1b62437.js → BMI_GIRLS.percentile.monthly-9acc6205.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-7937273c.js → BMI_GIRLS.percentile.weekly-f59f14ac.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-e315a4a3.js → BMI_GIRLS.percentile.yearly-0e3f0688.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-002269dc.js → BMI_GIRLS.zscore.monthly-b4c2b4d3.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-ef9b3638.js → BMI_GIRLS.zscore.weekly-a96f7858.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-bb3de80e.js → BMI_GIRLS.zscore.yearly-a0416fdf.js} +0 -0
- /package/build/esm/{ChevronDown-e7a114ab.js → ChevronDown-7abc9558.js} +0 -0
- /package/build/esm/{Google-08fae6e7.js → Google-fbfa5959.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a8c8b0e4.js → HEAD CIRCUM_BOYS.percentile.monthly-175d0f0a.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-56d55514.js → HEAD CIRCUM_BOYS.percentile.weekly-6c938980.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-46e43701.js → HEAD CIRCUM_BOYS.percentile.yearly-2d8e62fd.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-ac9615aa.js → HEAD CIRCUM_BOYS.zscore.monthly-ca7a5051.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-cda1d4cc.js → HEAD CIRCUM_BOYS.zscore.weekly-65be2ed7.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-c18cf4b5.js → HEAD CIRCUM_BOYS.zscore.yearly-c8ba092c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-a4a88b52.js → HEAD CIRCUM_GIRLS.percentile.monthly-1a1aaf27.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-1826323f.js → HEAD CIRCUM_GIRLS.percentile.weekly-e67f1d9c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-d5eedc60.js → HEAD CIRCUM_GIRLS.percentile.yearly-07489c1f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-18ef25d6.js → HEAD CIRCUM_GIRLS.zscore.monthly-d38a69f2.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-ff051a7c.js → HEAD CIRCUM_GIRLS.zscore.weekly-659f780b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-58cf563d.js → HEAD CIRCUM_GIRLS.zscore.yearly-1b298591.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-92c3e91a.js → HEIGHT_BOYS.percentile.monthly-b723062c.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-a42a1193.js → HEIGHT_BOYS.percentile.weekly-04ed64cc.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-833092a4.js → HEIGHT_BOYS.percentile.yearly-1c998863.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-9e073c1a.js → HEIGHT_BOYS.zscore.monthly-c168ec05.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-aff31605.js → HEIGHT_BOYS.zscore.weekly-02b9f313.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-d722a128.js → HEIGHT_BOYS.zscore.yearly-063b9a59.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-572ed7f0.js → HEIGHT_GIRLS.percentile.monthly-fc2bc0f7.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-0475e2cb.js → HEIGHT_GIRLS.percentile.weekly-aaa0e151.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-8c5b8b29.js → HEIGHT_GIRLS.percentile.yearly-5d318320.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-421bc7c4.js → HEIGHT_GIRLS.zscore.monthly-37dbee5f.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-4bb3a86d.js → HEIGHT_GIRLS.zscore.weekly-cb6f65f3.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-5c09f9bb.js → HEIGHT_GIRLS.zscore.yearly-41f5ca61.js} +0 -0
- /package/build/esm/{Visible-caa51992.js → Visible-f8dd9574.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-5e4f66cd.js → WEIGHT_BOYS.percentile.monthly-aa54e3a0.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-f50c7446.js → WEIGHT_BOYS.percentile.weekly-088b794b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-eb5eed88.js → WEIGHT_BOYS.percentile.yearly-213bb8ce.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-52ea2bb3.js → WEIGHT_BOYS.zscore.monthly-a73caed2.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-c7ae7dfd.js → WEIGHT_BOYS.zscore.weekly-f716733a.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-d57fc87b.js → WEIGHT_BOYS.zscore.yearly-63919d9b.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-19e46985.js → WEIGHT_GIRLS.percentile.monthly-5646fbb1.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-2591859c.js → WEIGHT_GIRLS.percentile.weekly-306d88cf.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-57bc4cc1.js → WEIGHT_GIRLS.percentile.yearly-efa44761.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-465e668f.js → WEIGHT_GIRLS.zscore.monthly-0eb6c8a3.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-f3f2b59c.js → WEIGHT_GIRLS.zscore.weekly-a8058f6d.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-aeb2b42f.js → WEIGHT_GIRLS.zscore.yearly-4f6015c7.js} +0 -0
- /package/build/esm/{ageGenerate-77d53d6e.js → ageGenerate-74c2e9c7.js} +0 -0
- /package/build/esm/{animation-fc6c2853.js → animation-e3175d08.js} +0 -0
- /package/build/esm/{appearance-281ac1d5.js → appearance-c71018df.js} +0 -0
- /package/build/esm/{constants-4cb42008.js → constants-7a11f46a.js} +0 -0
- /package/build/esm/{constants-e9e71de4.js → constants-c21d8ae3.js} +0 -0
- /package/build/esm/{constants-7aa048fc.js → constants-d7235689.js} +0 -0
- /package/build/esm/{context-874ddf6d.js → context-d81be133.js} +0 -0
- /package/build/esm/{dataTransform-372efcfe.js → dataTransform-c9eeac89.js} +0 -0
- /package/build/esm/{index-e4384b7d.js → index-12e998bf.js} +0 -0
- /package/build/esm/{index-3bf06e2a.js → index-1cea02c2.js} +0 -0
- /package/build/esm/{index-7a991928.js → index-39b9cc52.js} +0 -0
- /package/build/esm/{index-d95973b6.js → index-a96ebb13.js} +0 -0
- /package/build/esm/{index-7118c49c.js → index-c7cb0101.js} +0 -0
- /package/build/esm/{index-56fa1254.js → index-daa46513.js} +0 -0
- /package/build/esm/{index-01968d47.js → index-db6af26b.js} +0 -0
- /package/build/esm/{index-f0de9a8e.js → index-dfaf91b6.js} +0 -0
- /package/build/esm/{index-07d91836.js → index-e038ce4d.js} +0 -0
- /package/build/esm/{index.styles-0391c4e0.js → index.styles-c9e74348.js} +0 -0
- /package/build/esm/{localizeNumberFormat-bf73c745.js → localizeNumberFormat-c803156a.js} +0 -0
- /package/build/esm/{number-d55d7d9c.js → number-64a7542e.js} +0 -0
- /package/build/esm/{paths-43c28ddc.js → paths-a3ad6847.js} +0 -0
- /package/build/esm/{routing-c42218f5.js → routing-162621b2.js} +0 -0
- /package/build/esm/{shared-98eece30.js → shared-eb75e8c5.js} +0 -0
- /package/build/esm/{translationsContext-a1ebd15a.js → translationsContext-2ce23027.js} +0 -0
- /package/build/esm/{tslib.es6-27efc22b.js → tslib.es6-2430ac70.js} +0 -0
- /package/build/esm/{types-75876d99.js → types-d127803a.js} +0 -0
- /package/build/esm/{useImageAspectRatio-83db748d.js → useImageAspectRatio-b39c77ec.js} +0 -0
- /package/build/esm/{useOutsideClick-81700f84.js → useOutsideClick-5c34d0ee.js} +0 -0
- /package/build/esm/{useScrollbarSize-7e1afe9c.js → useScrollbarSize-e81eb6a3.js} +0 -0
- /package/build/esm/{useUniqueId-01369143.js → useUniqueId-39017eb1.js} +0 -0
- /package/build/esm/{utils-ccb182fe.js → utils-b29fb220.js} +0 -0
- /package/build/esm/{utils-c047a679.js → utils-b8b8ee25.js} +0 -0
- /package/build/{index-3f18bdc2.js → index-06e8844d.js} +0 -0
- /package/build/{index-ffee06c5.js → index-11ef464d.js} +0 -0
- /package/build/{index-977b4795.js → index-6d8bca56.js} +0 -0
- /package/build/{index-6e5f3e7c.js → index-74946e26.js} +0 -0
- /package/build/{index-48e1122b.js → index-7f972e73.js} +0 -0
- /package/build/{index-7e38b347.js → index-b0aea26f.js} +0 -0
- /package/build/{index-6d517a66.js → index-b57789f4.js} +0 -0
- /package/build/{index-5aae3065.js → index-e89c54d4.js} +0 -0
- /package/build/{index-31f66c70.js → index-f6d864a4.js} +0 -0
- /package/build/{index.styles-791687be.js → index.styles-29a1822e.js} +0 -0
- /package/build/{localizeNumberFormat-f6bcfd9d.js → localizeNumberFormat-e1cc74aa.js} +0 -0
- /package/build/{number-3d8b43b3.js → number-6fc1dfe4.js} +0 -0
- /package/build/{paths-632e7aad.js → paths-af560692.js} +0 -0
- /package/build/{routing-5ffec129.js → routing-6a52dd63.js} +0 -0
- /package/build/{shared-a4af7c6b.js → shared-2404a68d.js} +0 -0
- /package/build/{translationsContext-18f9807b.js → translationsContext-5889fc15.js} +0 -0
- /package/build/{tslib.es6-133289ef.js → tslib.es6-d98fb08d.js} +0 -0
- /package/build/{types-fd94261c.js → types-869ba50a.js} +0 -0
- /package/build/{useImageAspectRatio-0b4451d6.js → useImageAspectRatio-a5dc09c4.js} +0 -0
- /package/build/{useOutsideClick-79067ea1.js → useOutsideClick-567b4a52.js} +0 -0
- /package/build/{useScrollbarSize-3c797763.js → useScrollbarSize-883050ad.js} +0 -0
- /package/build/{useUniqueId-dbfd8fd0.js → useUniqueId-ead9ce35.js} +0 -0
- /package/build/{utils-6470579d.js → utils-311b8f16.js} +0 -0
- /package/build/{utils-c9773ecc.js → utils-6fe31363.js} +0 -0
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { TranslationValues } from "../i18n/translationsContext";
|
|
3
|
-
import { UserInfo } from "../interfaces/types";
|
|
4
|
-
import { LOCALE } from "../interfaces/types/Locale";
|
|
5
|
-
import { FormatMessageFunction } from "./LeadGenTranslationContext";
|
|
6
|
-
import './style.scss';
|
|
7
|
-
export type Props = {
|
|
8
|
-
apiUrl?: string;
|
|
9
|
-
apiSubotUrl?: string;
|
|
10
|
-
siteDomain?: string;
|
|
11
|
-
siteId?: string;
|
|
12
|
-
locale?: LOCALE;
|
|
13
|
-
primaryColor?: string;
|
|
14
|
-
DEBUG_URL?: string;
|
|
15
|
-
forceCampaign?: any;
|
|
16
|
-
children?: ReactNode;
|
|
17
|
-
extraPayloadValues?: Array<{
|
|
18
|
-
key: string;
|
|
19
|
-
value: string;
|
|
20
|
-
control: string;
|
|
21
|
-
}>;
|
|
22
|
-
excludeExitRulesHandler?: boolean;
|
|
23
|
-
userInfo?: UserInfo | null;
|
|
24
|
-
onClose?: () => void;
|
|
25
|
-
onSubmit?: (value?: any) => void;
|
|
26
|
-
formatMessage?: FormatMessageFunction;
|
|
27
|
-
};
|
|
28
|
-
export type LeadGenCoreProps = Props & {
|
|
29
|
-
/** Every translation the popup shows in `locale`. */
|
|
30
|
-
translations: TranslationValues;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* `LeadGen` without a source of translations: the entries that export
|
|
34
|
-
* `LeadGen` (`lead`, `leadSlim`) pass them in.
|
|
35
|
-
*/
|
|
36
|
-
export declare const LeadGenCore: ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues, excludeExitRulesHandler, userInfo, onClose: onCloseProps, onSubmit: onSubmitProps, formatMessage, translations, }: LeadGenCoreProps) => React.JSX.Element;
|
|
37
|
-
declare const LEAD_GEN_PARTS: {
|
|
38
|
-
Heading: ({ ...rest }: import("../mantine").TextProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
39
|
-
Description: ({ ...rest }: import("../mantine").TextProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
40
|
-
Form: (props: {
|
|
41
|
-
fillInfo: {
|
|
42
|
-
phone?: string;
|
|
43
|
-
email?: string;
|
|
44
|
-
};
|
|
45
|
-
popoverProps?: import("../mantine").PopoverProps;
|
|
46
|
-
submitProps?: import("../mantine").ButtonProps;
|
|
47
|
-
} & import("@mantine/core").BoxProps) => React.JSX.Element;
|
|
48
|
-
Thankyou: ({ children, }: {
|
|
49
|
-
children: (v: import("./components/context").ThankyouType, close: () => void) => Element;
|
|
50
|
-
}) => Element;
|
|
51
|
-
OtpForm: ({ ...rest }: import("@mantine/core").BoxProps) => React.JSX.Element;
|
|
52
|
-
Close: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
53
|
-
};
|
|
54
|
-
export type LeadGenParts = typeof LEAD_GEN_PARTS;
|
|
55
|
-
export interface CompoundedComponent extends React.ForwardRefExoticComponent<Props>, LeadGenParts {
|
|
56
|
-
}
|
|
57
|
-
/** Adds the parts of the compound form (`LeadGen.Heading`, ...) to `component`. */
|
|
58
|
-
export declare const withLeadGenParts: <P>(component: React.FC<P>) => React.FC<P> & {
|
|
59
|
-
Heading: ({ ...rest }: import("../mantine").TextProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
60
|
-
Description: ({ ...rest }: import("../mantine").TextProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
61
|
-
Form: (props: {
|
|
62
|
-
fillInfo: {
|
|
63
|
-
phone?: string;
|
|
64
|
-
email?: string;
|
|
65
|
-
};
|
|
66
|
-
popoverProps?: import("../mantine").PopoverProps;
|
|
67
|
-
submitProps?: import("../mantine").ButtonProps;
|
|
68
|
-
} & import("@mantine/core").BoxProps) => React.JSX.Element;
|
|
69
|
-
Thankyou: ({ children, }: {
|
|
70
|
-
children: (v: import("./components/context").ThankyouType, close: () => void) => Element;
|
|
71
|
-
}) => Element;
|
|
72
|
-
OtpForm: ({ ...rest }: import("@mantine/core").BoxProps) => React.JSX.Element;
|
|
73
|
-
Close: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
74
|
-
};
|
|
75
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TranslationValues } from "../i18n/translationsContext";
|
|
3
|
-
import { Props } from "./LeadGenCore";
|
|
4
|
-
export type LeadGenSlimProps = Props & {
|
|
5
|
-
/**
|
|
6
|
-
* The shared library translations of `locale`: what
|
|
7
|
-
* `@hhgtech/hhg-components/i18n-values/<locale>` exports.
|
|
8
|
-
*/
|
|
9
|
-
translations: TranslationValues;
|
|
10
|
-
};
|
|
11
|
-
export declare const LeadGen: React.FC<Props & {
|
|
12
|
-
/**
|
|
13
|
-
* The shared library translations of `locale`: what
|
|
14
|
-
* `@hhgtech/hhg-components/i18n-values/<locale>` exports.
|
|
15
|
-
*/
|
|
16
|
-
translations: TranslationValues;
|
|
17
|
-
}> & {
|
|
18
|
-
Heading: ({ ...rest }: import("../mantine").TextProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
19
|
-
Description: ({ ...rest }: import("../mantine").TextProps<HTMLParagraphElement>) => React.JSX.Element;
|
|
20
|
-
Form: (props: {
|
|
21
|
-
fillInfo: {
|
|
22
|
-
phone?: string;
|
|
23
|
-
email?: string;
|
|
24
|
-
};
|
|
25
|
-
popoverProps?: import("../mantine").PopoverProps;
|
|
26
|
-
submitProps?: import("../mantine").ButtonProps;
|
|
27
|
-
} & import("@mantine/core").BoxProps) => React.JSX.Element;
|
|
28
|
-
Thankyou: ({ children, }: {
|
|
29
|
-
children: (v: import("./components/context").ThankyouType, close: () => void) => Element;
|
|
30
|
-
}) => Element;
|
|
31
|
-
OtpForm: ({ ...rest }: import("@mantine/core").BoxProps) => React.JSX.Element;
|
|
32
|
-
Close: (props: React.SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
33
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TranslationValues } from "../../i18n/translationsContext";
|
|
2
|
-
/**
|
|
3
|
-
* Every translation lead shows in `locale`: the shared library translations
|
|
4
|
-
* of that locale, given by the caller, with the ones of lead on top.
|
|
5
|
-
*/
|
|
6
|
-
export declare const withLeadTranslations: (locale: string, libraryTranslations?: TranslationValues) => TranslationValues;
|
package/build/leadSlim.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./lead/LeadGenSlim";
|
package/build/leadSlim.js
DELETED
|
@@ -1,466 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-133289ef.js');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
var formatTrackingData = require('./formatTrackingData-676340eb.js');
|
|
8
|
-
var core = require('@mantine/core');
|
|
9
|
-
var debounce = require('lodash/debounce');
|
|
10
|
-
var miscCookieHelper = require('./miscCookieHelper.js');
|
|
11
|
-
var utils = require('./utils-c9773ecc.js');
|
|
12
|
-
var index = require('./index-3c7de285.js');
|
|
13
|
-
var index$1 = require('./index-8627ab1b.js');
|
|
14
|
-
var index$2 = require('./index-3f18bdc2.js');
|
|
15
|
-
var index$3 = require('./index-b30dad24.js');
|
|
16
|
-
var utils$1 = require('./utils-114e1ca6.js');
|
|
17
|
-
require('./index-2d8bc985.js');
|
|
18
|
-
require('@hhgtech/icons/other');
|
|
19
|
-
require('@mantine/hooks');
|
|
20
|
-
require('./index-977b4795.js');
|
|
21
|
-
require('./constantsDomainLocales.js');
|
|
22
|
-
require('./constantsIsProduction.js');
|
|
23
|
-
require('./index-404f44b0.js');
|
|
24
|
-
require('@emotion/styled');
|
|
25
|
-
require('@mantine/carousel');
|
|
26
|
-
require('./index-655d9700.js');
|
|
27
|
-
require('./index-614f3a92.js');
|
|
28
|
-
require('dayjs');
|
|
29
|
-
require('./index-6d517a66.js');
|
|
30
|
-
require('@mantine/notifications');
|
|
31
|
-
require('./miscTheme.js');
|
|
32
|
-
require('./shared-a4af7c6b.js');
|
|
33
|
-
require('classnames');
|
|
34
|
-
require('uuid');
|
|
35
|
-
require('./useUniqueId-dbfd8fd0.js');
|
|
36
|
-
require('./constantsSite.js');
|
|
37
|
-
require('@emotion/react');
|
|
38
|
-
require('@hhgtech/icons/core');
|
|
39
|
-
require('./index-2ff43355.js');
|
|
40
|
-
require('./index-f6b23d01.js');
|
|
41
|
-
require('@mantine/dates');
|
|
42
|
-
require('./appearance-149892d5.js');
|
|
43
|
-
require('./index.styles-791687be.js');
|
|
44
|
-
require('./translationsContext-18f9807b.js');
|
|
45
|
-
require('./index-742cf6ba.js');
|
|
46
|
-
require('./usePlacesAutocomplete-a2f8202c.js');
|
|
47
|
-
require('@mantine/form');
|
|
48
|
-
require('./index-ab28235f.js');
|
|
49
|
-
require('./index-31f66c70.js');
|
|
50
|
-
require('./index-7ec36c5f.js');
|
|
51
|
-
require('framer-motion');
|
|
52
|
-
require('./index-7b9a044c.js');
|
|
53
|
-
require('./routing-5ffec129.js');
|
|
54
|
-
require('./recaptchaV3-63159c36.js');
|
|
55
|
-
require('react-dom');
|
|
56
|
-
require('./index-8d24839c.js');
|
|
57
|
-
require('@hhgtech/icons/arrow');
|
|
58
|
-
require('./InputDate-08857268.js');
|
|
59
|
-
require('./utils-6470579d.js');
|
|
60
|
-
require('vaul');
|
|
61
|
-
require('date-fns/locale');
|
|
62
|
-
require('./constantsRiskScreener.js');
|
|
63
|
-
|
|
64
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
65
|
-
|
|
66
|
-
var React__default = /*#__PURE__*/_interopDefault(React);
|
|
67
|
-
var debounce__default = /*#__PURE__*/_interopDefault(debounce);
|
|
68
|
-
|
|
69
|
-
// mount css
|
|
70
|
-
/**
|
|
71
|
-
* `LeadGen` without a source of translations: the entries that export
|
|
72
|
-
* `LeadGen` (`lead`, `leadSlim`) pass them in.
|
|
73
|
-
*/
|
|
74
|
-
const LeadGenCore = ({ apiUrl: apiUrlProp, siteDomain, siteId, locale, primaryColor, apiSubotUrl, DEBUG_URL, forceCampaign, children, extraPayloadValues = [], excludeExitRulesHandler, userInfo, onClose: onCloseProps, onSubmit: onSubmitProps, formatMessage, translations, }) => {
|
|
75
|
-
var _a, _b;
|
|
76
|
-
const scrollEventHandlerRef = React.useRef();
|
|
77
|
-
const leadStartTimeRef = React.useRef(Date.now());
|
|
78
|
-
const { apiUrl } = React.useMemo(() => {
|
|
79
|
-
let apiUrl = apiUrlProp;
|
|
80
|
-
if (apiUrl.includes('localhost')) {
|
|
81
|
-
apiUrl = 'https://dev.leadgen.hellobacsi.com/';
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
apiUrl,
|
|
85
|
-
};
|
|
86
|
-
}, [apiUrlProp, siteDomain, siteId]);
|
|
87
|
-
const [showCampaign, setShowCampaign] = React.useState(forceCampaign);
|
|
88
|
-
const [action, setAction] = React.useState('');
|
|
89
|
-
const [showThankyou, setShowThankyou] = React.useState(null);
|
|
90
|
-
const [showEmpty, setShowEmpty] = React.useState(false);
|
|
91
|
-
const [redirectUrl, setRedirectUrl] = React.useState();
|
|
92
|
-
const currentLayout = React.useMemo(() => showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.currentLayout, [showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.currentLayout]);
|
|
93
|
-
React.useEffect(() => {
|
|
94
|
-
if (forceCampaign) {
|
|
95
|
-
setShowCampaign(forceCampaign);
|
|
96
|
-
setAction('SHOW');
|
|
97
|
-
}
|
|
98
|
-
}, [forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.code]);
|
|
99
|
-
React.useEffect(() => {
|
|
100
|
-
formatTrackingData.leadStore.apiLeadUrl = apiUrl;
|
|
101
|
-
formatTrackingData.leadStore.apiSubotUrl = apiSubotUrl;
|
|
102
|
-
}, [apiUrl, apiSubotUrl]);
|
|
103
|
-
const onShowPopup = (campaign, action) => {
|
|
104
|
-
// TODO: run campaign
|
|
105
|
-
setShowCampaign(campaign);
|
|
106
|
-
setAction(action);
|
|
107
|
-
};
|
|
108
|
-
const onCloseBase = () => {
|
|
109
|
-
document.body.classList.remove('noscroll');
|
|
110
|
-
setShowCampaign(null);
|
|
111
|
-
setShowThankyou(null);
|
|
112
|
-
setAction('HIDE');
|
|
113
|
-
onCloseProps === null || onCloseProps === void 0 ? void 0 : onCloseProps();
|
|
114
|
-
};
|
|
115
|
-
const onClose = (params) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
116
|
-
var _c, _d;
|
|
117
|
-
const { formRef, listBlockAdded = [], formValues: formDataObj, } = params || {};
|
|
118
|
-
if (!showCampaign)
|
|
119
|
-
return;
|
|
120
|
-
formatTrackingData.LeadLog(`👋👋👋 CLOSE POPUP ${showCampaign.code} 👋👋👋`);
|
|
121
|
-
if (!excludeExitRulesHandler) {
|
|
122
|
-
const showAfterExit = Number((_c = showCampaign.rules.find((rule) => rule.rule == 'show_again_after_exit')) === null || _c === void 0 ? void 0 : _c.value);
|
|
123
|
-
const expiresDay = Number((_d = showCampaign.rules.find((rule) => rule.rule == 'days_to_show_again')) === null || _d === void 0 ? void 0 : _d.value);
|
|
124
|
-
if (showAfterExit == 0) {
|
|
125
|
-
if (!expiresDay) {
|
|
126
|
-
miscCookieHelper.setCookie(`lead_closed_${showCampaign.code}`, `target_${showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupVersion}`, { domain: '.' + siteDomain, path: '/' });
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
miscCookieHelper.setCookie(`lead_closed_${showCampaign.code}`, `target_${showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupVersion}`, { domain: '.' + siteDomain, days: expiresDay, path: '/' });
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
yield Promise.all([
|
|
134
|
-
fetch(`${apiUrl}api/campaign/${showCampaign.code}/popup_exit`, {
|
|
135
|
-
method: 'POST',
|
|
136
|
-
headers: {
|
|
137
|
-
'Content-Type': 'application/json',
|
|
138
|
-
},
|
|
139
|
-
body: JSON.stringify({
|
|
140
|
-
action: 'CLICK',
|
|
141
|
-
url: location.href.toLowerCase(),
|
|
142
|
-
title_article: document.title,
|
|
143
|
-
cookie_id: miscCookieHelper.getCookie('hhg-id') || '',
|
|
144
|
-
duration: Math.ceil((Date.now() - leadStartTimeRef.current) / 1000),
|
|
145
|
-
}),
|
|
146
|
-
}),
|
|
147
|
-
!showThankyou &&
|
|
148
|
-
!(params === null || params === void 0 ? void 0 : params.preventTrackingClose) &&
|
|
149
|
-
trackingCompletionForm({
|
|
150
|
-
commonData: {
|
|
151
|
-
cookie_id: miscCookieHelper.getCookie('hhg-id') || '',
|
|
152
|
-
ga_client_id: miscCookieHelper.getCookie('_ga') || null,
|
|
153
|
-
country_code: locale ? utils$1.MAPPED_LOCALE[locale] || 'VN' : 'VN',
|
|
154
|
-
status: 'in_progress',
|
|
155
|
-
campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id,
|
|
156
|
-
total_fields: listBlockAdded.length,
|
|
157
|
-
type: 'close',
|
|
158
|
-
},
|
|
159
|
-
currentLayout,
|
|
160
|
-
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: formatTrackingData.formatFormData(formRef, formDataObj) }),
|
|
161
|
-
}),
|
|
162
|
-
]);
|
|
163
|
-
onCloseBase();
|
|
164
|
-
});
|
|
165
|
-
const onUnmount = (params) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
166
|
-
const { formRef, listBlockAdded, formValues: formDataObj } = params || {};
|
|
167
|
-
const data = formatTrackingData.formatTrackingData({
|
|
168
|
-
commonData: {
|
|
169
|
-
cookie_id: miscCookieHelper.getCookie('hhg-id') || '',
|
|
170
|
-
ga_client_id: miscCookieHelper.getCookie('_ga') || null,
|
|
171
|
-
country_code: locale ? utils$1.MAPPED_LOCALE[locale] || 'VN' : 'VN',
|
|
172
|
-
status: 'in_progress',
|
|
173
|
-
campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id,
|
|
174
|
-
total_fields: listBlockAdded.length,
|
|
175
|
-
type: 'close',
|
|
176
|
-
},
|
|
177
|
-
currentLayout,
|
|
178
|
-
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: formatTrackingData.formatFormData(formRef, formDataObj) }),
|
|
179
|
-
});
|
|
180
|
-
const blob = new Blob([JSON.stringify(data)], { type: 'application/json' });
|
|
181
|
-
navigator.sendBeacon(`${apiUrl}api/collection/tracking-completion`, blob);
|
|
182
|
-
});
|
|
183
|
-
const doImpression = (params) => {
|
|
184
|
-
const { listBlockAdded = [] } = params || {};
|
|
185
|
-
if (!formatTrackingData.TEMPLATE_ALLOW_NEWTRACKING.includes(currentLayout))
|
|
186
|
-
return;
|
|
187
|
-
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
188
|
-
const cookieId = miscCookieHelper.getCookie('hhg-id') || '';
|
|
189
|
-
const data = formatTrackingData.formatTrackingData({
|
|
190
|
-
commonData: {
|
|
191
|
-
cookie_id: cookieId,
|
|
192
|
-
ga_client_id: gaCookie,
|
|
193
|
-
country_code: (utils$1.MAPPED_LOCALE === null || utils$1.MAPPED_LOCALE === void 0 ? void 0 : utils$1.MAPPED_LOCALE[locale]) || 'VN',
|
|
194
|
-
status: 'in_progress',
|
|
195
|
-
campaign_id: showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.id,
|
|
196
|
-
total_fields: listBlockAdded.length,
|
|
197
|
-
type: (params === null || params === void 0 ? void 0 : params.type) || 'impression',
|
|
198
|
-
},
|
|
199
|
-
currentLayout,
|
|
200
|
-
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: [] }),
|
|
201
|
-
});
|
|
202
|
-
return Promise.all([
|
|
203
|
-
fetch(`${apiUrl}api/collection/tracking-completion`, {
|
|
204
|
-
method: 'POST',
|
|
205
|
-
headers: {
|
|
206
|
-
'Content-Type': 'application/json',
|
|
207
|
-
},
|
|
208
|
-
body: JSON.stringify(data),
|
|
209
|
-
}),
|
|
210
|
-
fetch(`${apiUrl}api/campaign/${showCampaign.code}/impression`, {
|
|
211
|
-
method: 'POST',
|
|
212
|
-
headers: {
|
|
213
|
-
'Content-Type': 'application/json',
|
|
214
|
-
},
|
|
215
|
-
body: JSON.stringify({
|
|
216
|
-
action,
|
|
217
|
-
url: location.href.toLowerCase(),
|
|
218
|
-
title_article: document.title,
|
|
219
|
-
cookie_id: miscCookieHelper.getCookie('hhg-id'),
|
|
220
|
-
ga_client_id: gaCookie,
|
|
221
|
-
}),
|
|
222
|
-
}),
|
|
223
|
-
]);
|
|
224
|
-
};
|
|
225
|
-
React.useEffect(() => {
|
|
226
|
-
if (forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.code)
|
|
227
|
-
return;
|
|
228
|
-
// window.next only on nextjs page
|
|
229
|
-
if (window.next) {
|
|
230
|
-
const debounced = debounce__default["default"]((e) => {
|
|
231
|
-
formatTrackingData.LeadLog('--🌻 routeChangeComplete', e, Date.now());
|
|
232
|
-
const currentPath = location.pathname;
|
|
233
|
-
// Remove floating, inline when url change
|
|
234
|
-
onClose();
|
|
235
|
-
formatTrackingData.clearPassiveEvent();
|
|
236
|
-
if (document.querySelectorAll(`[data-popup-url="${currentPath}"]`).length) {
|
|
237
|
-
formatTrackingData.LeadLog('🔥 This URL page has show popup!');
|
|
238
|
-
}
|
|
239
|
-
else {
|
|
240
|
-
formatTrackingData.LeadLog('--Process checkShowPopup');
|
|
241
|
-
formatTrackingData.checkShowPopup({
|
|
242
|
-
leadApi: apiUrl,
|
|
243
|
-
leadDomain: siteDomain,
|
|
244
|
-
leadSiteId: siteId,
|
|
245
|
-
onShowPopup,
|
|
246
|
-
DEBUG_URL,
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
if (scrollEventHandlerRef.current) {
|
|
250
|
-
window.removeEventListener('scroll', scrollEventHandlerRef.current);
|
|
251
|
-
}
|
|
252
|
-
}, 500);
|
|
253
|
-
window.next.router.events.on('routeChangeComplete', debounced);
|
|
254
|
-
}
|
|
255
|
-
formatTrackingData.checkShowPopup({
|
|
256
|
-
leadApi: apiUrl,
|
|
257
|
-
leadDomain: siteDomain,
|
|
258
|
-
leadSiteId: siteId,
|
|
259
|
-
onShowPopup,
|
|
260
|
-
DEBUG_URL,
|
|
261
|
-
});
|
|
262
|
-
}, []);
|
|
263
|
-
const trackingCompletionForm = React.useCallback((params) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
264
|
-
const data = formatTrackingData.formatTrackingData(params);
|
|
265
|
-
const { currentLayout } = params || {};
|
|
266
|
-
if (!formatTrackingData.TEMPLATE_ALLOW_NEWTRACKING.includes(currentLayout))
|
|
267
|
-
return;
|
|
268
|
-
return fetch(`${apiUrl}api/collection/tracking-completion`, {
|
|
269
|
-
method: 'POST',
|
|
270
|
-
headers: {
|
|
271
|
-
'Content-Type': 'application/json',
|
|
272
|
-
},
|
|
273
|
-
body: JSON.stringify(data),
|
|
274
|
-
});
|
|
275
|
-
}), [(_a = showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields) === null || _a === void 0 ? void 0 : _a.currentLayout]);
|
|
276
|
-
const onSubmit = (params, categoryLevel, categoryData) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
277
|
-
var _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
278
|
-
const { formRef, listBlockAdded = [], formValues: formDataObj, } = params || {};
|
|
279
|
-
if (!formDataObj || Object.values(formDataObj).every((v) => !Boolean(v))) {
|
|
280
|
-
setShowEmpty(true);
|
|
281
|
-
return;
|
|
282
|
-
}
|
|
283
|
-
formatTrackingData.LeadLog('submitHandler', categoryLevel, categoryData);
|
|
284
|
-
const formatedFormData = formatTrackingData.formatFormData(formRef, formDataObj);
|
|
285
|
-
const formData = formatedFormData.map(({ key, value, control }) => ({
|
|
286
|
-
key,
|
|
287
|
-
value,
|
|
288
|
-
control,
|
|
289
|
-
}));
|
|
290
|
-
console.log('** RYAN index.tsx 218 formData : ', formData);
|
|
291
|
-
// Get ga_client_id from cookies
|
|
292
|
-
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
293
|
-
if (!window.intlTelInputUtils) {
|
|
294
|
-
yield require('intl-tel-input/build/js/utils');
|
|
295
|
-
}
|
|
296
|
-
const commonData = {
|
|
297
|
-
cookie_id: miscCookieHelper.getCookie('hhg-id') || '',
|
|
298
|
-
ga_client_id: gaCookie,
|
|
299
|
-
};
|
|
300
|
-
const data = Object.assign({ url: location.href.toLowerCase(), title_article: document.title, meta: [...formData, ...extraPayloadValues] }, commonData);
|
|
301
|
-
// categoryLevel
|
|
302
|
-
if (categoryLevel) {
|
|
303
|
-
if (categoryData[categoryLevel].value_en) {
|
|
304
|
-
data['category'] = categoryData[categoryLevel].value_en;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
const expiresDay = Number(((_f = (_e = showCampaign.rules) === null || _e === void 0 ? void 0 : _e.find((r) => r.rule === 'days_to_show_again')) === null || _f === void 0 ? void 0 : _f.value) ||
|
|
308
|
-
7);
|
|
309
|
-
const showAgain = Number(((_h = (_g = showCampaign.rules) === null || _g === void 0 ? void 0 : _g.find((r) => r.rule === 'show_again_after_submit')) === null || _h === void 0 ? void 0 : _h.value) || 0);
|
|
310
|
-
if (showAgain == 0) {
|
|
311
|
-
formatTrackingData.LeadLog('⛔ Popup never show again!');
|
|
312
|
-
miscCookieHelper.setCookie(`lead_submited_${showCampaign.code}`, `target_${showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.targetType}`, { domain: '.' + siteDomain, path: '/' });
|
|
313
|
-
}
|
|
314
|
-
if (showAgain == 1) {
|
|
315
|
-
formatTrackingData.LeadLog(`⌛ Popup will show again after ${expiresDay} days!`);
|
|
316
|
-
miscCookieHelper.setCookie(`lead_submited_${showCampaign.code}`, `target_${showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.targetType}`, { domain: '.' + siteDomain, days: expiresDay, path: '/' });
|
|
317
|
-
}
|
|
318
|
-
yield Promise.all([
|
|
319
|
-
fetch(`${apiUrl}api/campaign/${showCampaign.code}/lead`, {
|
|
320
|
-
method: 'POST',
|
|
321
|
-
headers: {
|
|
322
|
-
'Content-Type': 'application/json',
|
|
323
|
-
},
|
|
324
|
-
body: JSON.stringify(data),
|
|
325
|
-
}),
|
|
326
|
-
listBlockAdded.length > 0 &&
|
|
327
|
-
trackingCompletionForm({
|
|
328
|
-
commonData: Object.assign(Object.assign({}, commonData), { country_code: locale ? utils$1.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' }),
|
|
329
|
-
currentLayout,
|
|
330
|
-
formParams: Object.assign(Object.assign({}, params), { listBlockAdded, formValues: formatedFormData }),
|
|
331
|
-
}),
|
|
332
|
-
]);
|
|
333
|
-
onSubmitProps === null || onSubmitProps === void 0 ? void 0 : onSubmitProps(formDataObj);
|
|
334
|
-
if (redirectUrl === null || redirectUrl === void 0 ? void 0 : redirectUrl.url) {
|
|
335
|
-
window.open(redirectUrl === null || redirectUrl === void 0 ? void 0 : redirectUrl.url, (redirectUrl === null || redirectUrl === void 0 ? void 0 : redirectUrl.target) || '_self');
|
|
336
|
-
onClose();
|
|
337
|
-
}
|
|
338
|
-
if ((showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupShowThankYou) == 'notshow') {
|
|
339
|
-
onClose();
|
|
340
|
-
document.body.classList.remove('noscroll');
|
|
341
|
-
return;
|
|
342
|
-
}
|
|
343
|
-
const thanksImg = showCampaign.thank_you_image || `${apiUrl}admin/img/thanksyou.png`;
|
|
344
|
-
let thankTitle = (showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupThankyouTitle) || 'Thank you.';
|
|
345
|
-
let thankDesc = (showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupThankyouDesc) || 'We appreciate your time!';
|
|
346
|
-
let titleAlign = '';
|
|
347
|
-
let descAlign = '';
|
|
348
|
-
let linkText, linkNewTab, linkUrl = '';
|
|
349
|
-
if ((showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields.popupVersion) == '2.1') {
|
|
350
|
-
const extra = showCampaign.extra_fields;
|
|
351
|
-
const listBlockThankyou = JSON.parse(extra.listBlockThankyou);
|
|
352
|
-
const titleBlock = listBlockThankyou.find((i) => i.name == 'TitleBlock');
|
|
353
|
-
const subtitleBlock = listBlockThankyou.find((i) => i.name == 'SubtitleBlock');
|
|
354
|
-
const linkButtonBlock = listBlockThankyou.find((i) => i.name == 'LinkButtonBlock');
|
|
355
|
-
thankTitle = ((_j = titleBlock === null || titleBlock === void 0 ? void 0 : titleBlock.data) === null || _j === void 0 ? void 0 : _j.value) || '';
|
|
356
|
-
titleAlign = ((_k = titleBlock === null || titleBlock === void 0 ? void 0 : titleBlock.data) === null || _k === void 0 ? void 0 : _k.align) || '';
|
|
357
|
-
thankDesc = ((_l = subtitleBlock === null || subtitleBlock === void 0 ? void 0 : subtitleBlock.data) === null || _l === void 0 ? void 0 : _l.value) || '';
|
|
358
|
-
descAlign = ((_m = subtitleBlock === null || subtitleBlock === void 0 ? void 0 : subtitleBlock.data) === null || _m === void 0 ? void 0 : _m.align) || '';
|
|
359
|
-
linkText = ((_o = linkButtonBlock === null || linkButtonBlock === void 0 ? void 0 : linkButtonBlock.data) === null || _o === void 0 ? void 0 : _o.value) || '';
|
|
360
|
-
linkNewTab = ((_p = linkButtonBlock === null || linkButtonBlock === void 0 ? void 0 : linkButtonBlock.data) === null || _p === void 0 ? void 0 : _p.newtab) || false;
|
|
361
|
-
linkUrl = ((_q = linkButtonBlock === null || linkButtonBlock === void 0 ? void 0 : linkButtonBlock.data) === null || _q === void 0 ? void 0 : _q.url) || '';
|
|
362
|
-
// ALWAYS SHOW THANK YOU ON COMPOUND COMP
|
|
363
|
-
// const curLayout = currentLayout
|
|
364
|
-
// TODO: newbuilder thank you
|
|
365
|
-
// List layout not show thanks you
|
|
366
|
-
// if (
|
|
367
|
-
// ['SkinA', 'SkinB', 'Floating', 'Tab', 'CenterTab'].includes(curLayout)
|
|
368
|
-
// ) {
|
|
369
|
-
// isShowThanksYou = false
|
|
370
|
-
// }
|
|
371
|
-
}
|
|
372
|
-
{
|
|
373
|
-
setShowThankyou({
|
|
374
|
-
title: thankTitle,
|
|
375
|
-
titleAlign,
|
|
376
|
-
subtitle: thankDesc,
|
|
377
|
-
subtitleAlign: descAlign,
|
|
378
|
-
link: linkUrl,
|
|
379
|
-
linkNewTab,
|
|
380
|
-
linkText,
|
|
381
|
-
image: thanksImg,
|
|
382
|
-
});
|
|
383
|
-
}
|
|
384
|
-
// Other
|
|
385
|
-
// Init Insider Obj
|
|
386
|
-
if (sessionStorage.getItem('insider_object')) {
|
|
387
|
-
window.insider_object = JSON.parse(sessionStorage.getItem('insider_object'));
|
|
388
|
-
}
|
|
389
|
-
else {
|
|
390
|
-
window.insider_object = {
|
|
391
|
-
user: {
|
|
392
|
-
email: '',
|
|
393
|
-
phone_number: '',
|
|
394
|
-
gdpr_optin: true,
|
|
395
|
-
sms_optin: true,
|
|
396
|
-
email_optin: true,
|
|
397
|
-
},
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
// Submit Inisder Obj
|
|
401
|
-
formData.map((data) => {
|
|
402
|
-
const name = data.key;
|
|
403
|
-
const value = data.value;
|
|
404
|
-
if (name == 'tel') {
|
|
405
|
-
window.insider_object.user.phone_number = value;
|
|
406
|
-
}
|
|
407
|
-
else if (name == 'email') {
|
|
408
|
-
window.insider_object.user.email = value;
|
|
409
|
-
}
|
|
410
|
-
});
|
|
411
|
-
sessionStorage.setItem('insider_object', JSON.stringify(window.insider_object));
|
|
412
|
-
// End Init Insider Obj
|
|
413
|
-
// End Submit handler
|
|
414
|
-
});
|
|
415
|
-
React.useEffect(() => {
|
|
416
|
-
if (showCampaign) {
|
|
417
|
-
leadStartTimeRef.current = Date.now();
|
|
418
|
-
}
|
|
419
|
-
}, [showCampaign]);
|
|
420
|
-
return (React__default["default"].createElement(formatTrackingData.LeadGenContext.Provider, { value: {
|
|
421
|
-
primaryColor,
|
|
422
|
-
apiUrl,
|
|
423
|
-
siteDomain,
|
|
424
|
-
siteId,
|
|
425
|
-
locale,
|
|
426
|
-
redirectUrl,
|
|
427
|
-
setRedirectUrl,
|
|
428
|
-
} },
|
|
429
|
-
React__default["default"].createElement(formatTrackingData.LeadGenTranslationProvider, { locale: locale, translations: translations, formatMessage: formatMessage },
|
|
430
|
-
React__default["default"].createElement(index$1.MantineProvider, { locale: locale, customStyleType: index$2.CustomStylesType.LEADGEN }, children ? (React__default["default"].createElement(formatTrackingData.Component, { campaign: showCampaign, onSubmit: onSubmit, onClose: onClose, showThankyou: showThankyou, setShowThankyou: setShowThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo }, children)) : (React__default["default"].createElement(core.Portal, { target: utils.getPopupWrapperDom() },
|
|
431
|
-
React__default["default"].createElement(core.Box, { sx: { position: 'fixed', zIndex: index$3.ZINDEX_SSO - 9e6 } },
|
|
432
|
-
React__default["default"].createElement(core.Transition, { mounted: Boolean(((_b = showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields) === null || _b === void 0 ? void 0 : _b.popupVersion) === '2.1'), transition: "fade", duration: 600, timingFunction: "ease", exitDuration: 200 }, (styles) => {
|
|
433
|
-
var _a;
|
|
434
|
-
return (React__default["default"].createElement(core.Box, { style: styles }, ((_a = showCampaign === null || showCampaign === void 0 ? void 0 : showCampaign.extra_fields) === null || _a === void 0 ? void 0 : _a.popupVersion) === '2.1' && (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
435
|
-
!!currentLayout &&
|
|
436
|
-
!currentLayout.includes('Inline') &&
|
|
437
|
-
!currentLayout.includes('Sidebar') &&
|
|
438
|
-
!currentLayout.includes('Freebie') && (React__default["default"].createElement(core.Overlay, { color: "#000", opacity: 0.6, center: true, zIndex: 400, pos: 'fixed', onClick: () => onClose() })),
|
|
439
|
-
React__default["default"].createElement(formatTrackingData.NewLeadPopup, { campaign: showCampaign, action: action, onSubmit: onSubmit, onClose: onClose, onUnmount: onUnmount, doImpression: doImpression, showThankyou: showThankyou, locale: locale, showEmpty: showEmpty, setShowEmpty: setShowEmpty, userInfo: userInfo })))));
|
|
440
|
-
}))))))));
|
|
441
|
-
};
|
|
442
|
-
const LEAD_GEN_PARTS = {
|
|
443
|
-
Heading: formatTrackingData.Heading,
|
|
444
|
-
Description: formatTrackingData.Description,
|
|
445
|
-
Form: formatTrackingData.Form,
|
|
446
|
-
Thankyou: formatTrackingData.Thankyou,
|
|
447
|
-
OtpForm: formatTrackingData.OtpBlock,
|
|
448
|
-
Close: index.Close,
|
|
449
|
-
};
|
|
450
|
-
/** Adds the parts of the compound form (`LeadGen.Heading`, ...) to `component`. */
|
|
451
|
-
const withLeadGenParts = (component) => Object.assign(component, LEAD_GEN_PARTS);
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* `LeadGen` of `@hhgtech/hhg-components/lead` for an app that already loads
|
|
455
|
-
* the shared library translations of its locale: it takes them as a prop and
|
|
456
|
-
* does not bundle the ones of every locale.
|
|
457
|
-
*/
|
|
458
|
-
const _LeadGen = (_a) => {
|
|
459
|
-
var { translations } = _a, props = tslib_es6.__rest(_a, ["translations"]);
|
|
460
|
-
const { locale } = props;
|
|
461
|
-
const leadTranslations = React.useMemo(() => formatTrackingData.withLeadTranslations(locale, translations), [locale, translations]);
|
|
462
|
-
return React__default["default"].createElement(LeadGenCore, Object.assign({}, props, { translations: leadTranslations }));
|
|
463
|
-
};
|
|
464
|
-
const LeadGen = withLeadGenParts(_LeadGen);
|
|
465
|
-
|
|
466
|
-
exports.LeadGen = LeadGen;
|
/package/build/{BMI_BOYS.percentile.monthly-ec41f351.js → BMI_BOYS.percentile.monthly-7b48264a.js}
RENAMED
|
File without changes
|
/package/build/{BMI_BOYS.percentile.weekly-babe6552.js → BMI_BOYS.percentile.weekly-129bbda2.js}
RENAMED
|
File without changes
|
/package/build/{BMI_BOYS.percentile.yearly-f38dc134.js → BMI_BOYS.percentile.yearly-5fb02717.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.monthly-98627e58.js → BMI_GIRLS.percentile.monthly-8916f9e9.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.weekly-7d6e1ed5.js → BMI_GIRLS.percentile.weekly-a5d8d437.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.percentile.yearly-71e3bd23.js → BMI_GIRLS.percentile.yearly-7db6e19a.js}
RENAMED
|
File without changes
|
/package/build/{BMI_GIRLS.zscore.monthly-24f3db40.js → BMI_GIRLS.zscore.monthly-76f74077.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|