@hhgtech/hhg-components 1.29.402-beta-2 → 1.29.402-beta-3
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-0f4db13a.js → InputDate-a2befee3.js} +3 -3
- package/build/{LastPeriod-9ac168f7.js → LastPeriod-b5ff051e.js} +1 -1
- package/build/{MobileBottomNavigationIcon-1e59fcb6.js → MobileBottomNavigationIcon-ef0d70ac.js} +3 -3
- package/build/{Spinner-049ad97c.js → Spinner-5b6990cd.js} +1 -1
- package/build/{WhatsApp-406753f5.js → WhatsApp-202bc0c8.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/molecules/impressionTrackingWrapper/index.d.ts +2 -1
- package/build/components.js +97 -97
- package/build/{constants-95469593.js → constants-71bcb2a0.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-820ef7c0.js → core-010a15be.js} +1 -1
- package/build/{dataTransform-20f4db39.js → dataTransform-6ad2f90b.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-2234f86a.js → editor-c5f72153.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-fcbc1a34.js → InputDate-2a5a9da1.js} +3 -3
- package/build/esm/{LastPeriod-6ded23a7.js → LastPeriod-1d2188dd.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-818be6de.js → MobileBottomNavigationIcon-511ebc19.js} +3 -3
- package/build/esm/{Spinner-f6227071.js → Spinner-165bc574.js} +1 -1
- package/build/esm/{WhatsApp-dba3504c.js → WhatsApp-68e816aa.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/molecules/impressionTrackingWrapper/index.d.ts +2 -1
- package/build/esm/components.js +97 -97
- package/build/esm/{constants-e2b46567.js → constants-1f52ff13.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-7565866f.js → core-2470e22a.js} +1 -1
- package/build/esm/{dataTransform-e8323710.js → dataTransform-974218ac.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-7bbb6c34.js → editor-32700193.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-e9c77c5b.js → healthTools-cbd38a58.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-b016366e.js → index-126a7f59.js} +2 -2
- package/build/esm/{index-d85cc105.js → index-139fc209.js} +3 -3
- package/build/esm/{index-0c2b0368.js → index-1d6c510e.js} +1 -1
- package/build/esm/{index-7ab4272e.js → index-1e2a96b4.js} +1 -1
- package/build/esm/{index-222cd61c.js → index-1edba87e.js} +6 -6
- package/build/esm/{index-6d3c5aa0.js → index-20951cc9.js} +17 -17
- package/build/esm/{index-21acdfcb.js → index-21295287.js} +2 -2
- package/build/esm/{index-e1607a67.js → index-22b28e5d.js} +16 -16
- package/build/esm/{index-022a1bee.js → index-2429f632.js} +21 -21
- package/build/esm/{index-89ee0668.js → index-2dce32ac.js} +2 -2
- package/build/esm/{index-e689e152.js → index-2f780ef8.js} +2 -2
- package/build/esm/{index-47fb00f8.js → index-384c9831.js} +13 -13
- package/build/esm/{index-01c117e8.js → index-3cb358ad.js} +13 -13
- package/build/esm/{index-3e0c90f2.js → index-41fd99aa.js} +17 -17
- package/build/esm/{index-e0b1d507.js → index-442177db.js} +3 -3
- package/build/esm/{index-aa4ddc0f.js → index-48e221bf.js} +17 -17
- package/build/esm/{index-84377777.js → index-4b6e6ff6.js} +1 -1
- package/build/esm/{index-f5317565.js → index-4ed78872.js} +3 -3
- package/build/esm/{index-431cec75.js → index-4fb286ad.js} +6 -6
- package/build/esm/{index-34210312.js → index-51aea295.js} +2 -2
- package/build/esm/{index-7abcd4bd.js → index-52206ba1.js} +11 -11
- package/build/esm/{index-95356278.js → index-535b9113.js} +11 -11
- package/build/esm/{index-9a0fda9f.js → index-5362d488.js} +16 -16
- package/build/esm/{index-d9f4c00c.js → index-56513b3e.js} +18 -18
- package/build/esm/{index-5eb93891.js → index-5ba73870.js} +4 -4
- package/build/esm/{index-932f592b.js → index-5f6b0a68.js} +6 -6
- package/build/esm/{index-0dcef7b4.js → index-639dffcd.js} +7 -7
- package/build/esm/{index-572e2fc3.js → index-64682067.js} +3 -3
- package/build/esm/{index-9b4dc7d5.js → index-6ad2b857.js} +2 -2
- package/build/esm/{index-23b7c630.js → index-6ee84b3e.js} +13 -13
- package/build/esm/{index-2886979c.js → index-73e09732.js} +2 -2
- package/build/esm/{index-db1958d8.js → index-79434b4c.js} +1 -1
- package/build/esm/{index-1f841d85.js → index-7be0528b.js} +16 -16
- package/build/esm/{index-9224c242.js → index-7c21cd45.js} +10 -10
- package/build/esm/{index-825c7595.js → index-85abcb3d.js} +2 -2
- package/build/esm/{index-0bfabcfb.js → index-8780f51e.js} +17 -17
- package/build/esm/{index-f4f4acaf.js → index-8a3ae8f2.js} +1 -1
- package/build/esm/{index-ae06d1b2.js → index-8fd4885c.js} +2 -2
- package/build/esm/{index-7b760a68.js → index-9347b862.js} +16 -16
- package/build/esm/{index-40f845e7.js → index-93c7b001.js} +6 -6
- package/build/esm/{index-6fcdba9b.js → index-9815e5f4.js} +13 -13
- package/build/esm/{index-95196145.js → index-989821c5.js} +25 -25
- package/build/esm/{index-f3d8dc71.js → index-9a717d21.js} +3 -3
- package/build/esm/{index-b89b93da.js → index-9ac18746.js} +24 -24
- package/build/esm/{index-2bbe223e.js → index-a5977c72.js} +2 -2
- package/build/esm/{index-ef03a3c8.js → index-a83fb4f2.js} +6 -6
- package/build/esm/{index-54c01351.js → index-ae3dee0b.js} +7 -7
- package/build/esm/{index-ed86b8f8.js → index-b03443ec.js} +3 -3
- package/build/esm/{index-d83d015f.js → index-b1c4c012.js} +1 -1
- package/build/esm/{index-0c088c54.js → index-b25fe4d2.js} +30 -30
- package/build/esm/{index-da19df57.js → index-b7136ee9.js} +1 -1
- package/build/esm/{index-8f8d974e.js → index-c07823a2.js} +22 -22
- package/build/esm/{index-243ad9da.js → index-c3576bff.js} +2 -2
- package/build/esm/{index-38e78a86.js → index-c6c5cd78.js} +2 -2
- package/build/esm/{index-b25cfee9.js → index-d113aefb.js} +1 -1
- package/build/esm/{index-d0b2fd33.js → index-e1af024c.js} +18 -18
- package/build/esm/{index-f9663d21.js → index-e1bd5500.js} +32 -32
- package/build/esm/{index-766a0e0f.js → index-e2455a58.js} +31 -31
- package/build/esm/{index-28d9146f.js → index-e46e380a.js} +5 -5
- package/build/esm/{index-99e2abb2.js → index-e5c481b8.js} +5 -5
- package/build/esm/{index-82885041.js → index-edd65b5b.js} +2 -2
- package/build/esm/{index-228167f1.js → index-f2fcff6b.js} +4 -4
- package/build/esm/{index-1634e0e8.js → index-f5a16b12.js} +1 -1
- package/build/esm/{index-218a69fa.js → index-fc1d6689.js} +15 -15
- package/build/esm/{index-21955a1a.js → index-ffcfca57.js} +2 -2
- package/build/esm/index.js +118 -118
- package/build/esm/{labelSorting-52248c10.js → labelSorting-9caefaf1.js} +4 -4
- package/build/esm/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +13 -9
- package/build/esm/lead/layouts/inline.d.ts +5 -3
- package/build/esm/lead/layouts/lightbox/index.d.ts +2 -1
- package/build/esm/lead/services/index.d.ts +14 -0
- package/build/esm/lead.js +118 -111
- package/build/esm/{logoIcon-15290840.js → logoIcon-43323e31.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-ad01438d.js → post-bdeb490c.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-e64c0fec.js → store-a6d72348.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-ebe6d0cb.js → surveyThankyouCard-6a944a35.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-9da008c6.js → translationsProvider-4c2096e9.js} +1 -1
- package/build/esm/{treePopoverMenu-b1962a04.js → treePopoverMenu-5a102e93.js} +19 -19
- package/build/esm/{types-70f5924b.js → types-426d5b37.js} +2 -2
- package/build/esm/types.js +2 -2
- package/build/esm/{useCategory-61fb8f64.js → useCategory-ebe9579c.js} +5 -5
- package/build/esm/{useHealthToolCache-0176c5b4.js → useHealthToolCache-45423fc3.js} +1 -1
- package/build/esm/{useMantineLocale-d414da46.js → useMantineLocale-6b6f151b.js} +6 -6
- package/build/esm/{usePlacesAutocomplete-bcb8d5fe.js → usePlacesAutocomplete-430042f1.js} +1 -1
- package/build/esm/{useScreenSize-ad5b74e5.js → useScreenSize-0320a896.js} +2 -2
- package/build/esm/useTogetherAuthRequiredAction.js +10 -10
- package/build/esm/{utils-6b931ca6.js → utils-5a90b828.js} +3 -3
- package/build/esm/{utils-e2554287.js → utils-6b5f834a.js} +2 -2
- package/build/esm/{utils-f87b8801.js → utils-9e96b6ff.js} +2 -2
- package/build/esm/{utils-55c6b45d.js → utils-f9245e6d.js} +5 -5
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +21 -21
- package/build/gAssets.js +2 -2
- package/build/{healthTools-445a04ec.js → healthTools-54423999.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-4aa08964.js → index-04eaa796.js} +2 -2
- package/build/{index-2938dbe8.js → index-07761755.js} +22 -22
- package/build/{index-0a8e7d37.js → index-077b2e41.js} +2 -2
- package/build/{index-e4f24955.js → index-0d6e201c.js} +1 -1
- package/build/{index-a46d8bae.js → index-0f0e4c22.js} +1 -1
- package/build/{index-ec237d16.js → index-12e72c66.js} +1 -1
- package/build/{index-d20a3d96.js → index-153add5d.js} +13 -13
- package/build/{index-25620da9.js → index-183116a5.js} +1 -1
- package/build/{index-8882de29.js → index-2d130a77.js} +18 -18
- package/build/{index-d805eba0.js → index-2f90aafe.js} +31 -31
- package/build/{index-b22653c4.js → index-32e431fd.js} +6 -6
- package/build/{index-a22cc3db.js → index-3552495a.js} +15 -15
- package/build/{index-59bb1b40.js → index-3dd21f04.js} +32 -32
- package/build/{index-feaa82fd.js → index-3e16f445.js} +2 -2
- package/build/{index-c50748dc.js → index-3e3ca93a.js} +2 -2
- package/build/{index-d251f228.js → index-43c0ce95.js} +11 -11
- package/build/{index-c2455486.js → index-4a06bc62.js} +3 -3
- package/build/{index-9ae76386.js → index-52cf3eb8.js} +2 -2
- package/build/{index-3ce98941.js → index-541ed4db.js} +3 -3
- package/build/{index-c2dbad5b.js → index-60482d57.js} +16 -16
- package/build/{index-fabb5fef.js → index-6439ed2f.js} +2 -2
- package/build/{index-eecf76d3.js → index-6600ee14.js} +3 -3
- package/build/{index-6ebdc8b6.js → index-6622b0f4.js} +13 -13
- package/build/{index-1d48661b.js → index-666f8f44.js} +2 -2
- package/build/{index-300e66fb.js → index-68d90eb2.js} +7 -7
- package/build/{index-05eeb683.js → index-699c917b.js} +2 -2
- package/build/{index-07fe4c6c.js → index-6a8a4093.js} +25 -25
- package/build/{index-6b969fd7.js → index-6bbe766a.js} +2 -2
- package/build/{index-53a6e597.js → index-709dbae6.js} +1 -1
- package/build/{index-c9883562.js → index-7ae552f6.js} +17 -17
- package/build/{index-aae11b5a.js → index-7afa990e.js} +17 -17
- package/build/{index-14c4044c.js → index-834aa7a8.js} +3 -3
- package/build/{index-0628d2ea.js → index-86c1ad96.js} +6 -6
- package/build/{index-97b250e2.js → index-878b182d.js} +6 -6
- package/build/{index-fa380cd9.js → index-89cb57ce.js} +13 -13
- package/build/{index-09869dfd.js → index-8b837289.js} +10 -10
- package/build/{index-784e70b0.js → index-988be68c.js} +4 -4
- package/build/{index-958565ef.js → index-9d14b0d7.js} +1 -1
- package/build/{index-6e8d0776.js → index-9e581b4b.js} +2 -2
- package/build/{index-cbce891a.js → index-9f55bdb5.js} +3 -3
- package/build/{index-b9995e22.js → index-a42fe705.js} +2 -2
- package/build/{index-a1762467.js → index-a43206e5.js} +7 -7
- package/build/{index-d0a2f32b.js → index-a59789c2.js} +1 -1
- package/build/{index-647af648.js → index-a92b7ef7.js} +3 -3
- package/build/{index-0f00e5b6.js → index-b5d8703f.js} +2 -2
- package/build/{index-cc9aa9eb.js → index-b6fbda4b.js} +4 -4
- package/build/{index-d431afb1.js → index-bc0eae84.js} +2 -2
- package/build/{index-acf2f720.js → index-bcab5c54.js} +18 -18
- package/build/{index-2e8284a9.js → index-c020a0bc.js} +2 -2
- package/build/{index-231001c3.js → index-c584b5fe.js} +16 -16
- package/build/{index-2f6c95c0.js → index-d263e5bd.js} +6 -6
- package/build/{index-14495570.js → index-d38e0215.js} +21 -21
- package/build/{index-8c817697.js → index-d6d2d51e.js} +30 -30
- package/build/{index-7200d66a.js → index-dfc34160.js} +24 -24
- package/build/{index-0ffed5cf.js → index-e16881a8.js} +5 -5
- package/build/{index-3cf9fbf4.js → index-e82aaf7a.js} +17 -17
- package/build/{index-76e816bb.js → index-eda2e43a.js} +16 -16
- package/build/{index-0a741b18.js → index-eead7a8b.js} +13 -13
- package/build/{index-252f0586.js → index-f00e961e.js} +1 -1
- package/build/{index-d2df6979.js → index-f08c3fd2.js} +1 -1
- package/build/{index-0f808537.js → index-f148f62c.js} +11 -11
- package/build/{index-9b5531a2.js → index-f55fea35.js} +6 -6
- package/build/{index-5f2c96f2.js → index-f84108dd.js} +16 -16
- package/build/{index-6f7907a9.js → index-f905cfa1.js} +5 -5
- package/build/{index-91b95c7a.js → index-ff2e169f.js} +17 -17
- package/build/index.js +118 -118
- package/build/{labelSorting-2b8bc1b7.js → labelSorting-6e0cf3f2.js} +4 -4
- package/build/lead/LeadGenSubscriptionBox/LeadGenContext.d.ts +13 -9
- package/build/lead/layouts/inline.d.ts +5 -3
- package/build/lead/layouts/lightbox/index.d.ts +2 -1
- package/build/lead/services/index.d.ts +14 -0
- package/build/lead.js +118 -111
- package/build/{logoIcon-c73ced8e.js → logoIcon-85e2e0d0.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-a6948df8.js → post-af0da38d.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-396d5cbd.js → store-cdc8015b.js} +3 -3
- package/build/subot.js +35 -35
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +10 -10
- package/build/{surveyThankyouCard-36fa4f82.js → surveyThankyouCard-d154a654.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-e31bc008.js → translationsProvider-ff02354e.js} +1 -1
- package/build/{treePopoverMenu-e75708e7.js → treePopoverMenu-56bcedc8.js} +19 -19
- package/build/{types-6a688975.js → types-20300b4e.js} +2 -2
- package/build/types.js +2 -2
- package/build/{useCategory-4ae4d91b.js → useCategory-500138ff.js} +5 -5
- package/build/{useHealthToolCache-c88f8ad4.js → useHealthToolCache-a81e800a.js} +1 -1
- package/build/{useMantineLocale-cd39a460.js → useMantineLocale-f0641538.js} +6 -6
- package/build/{usePlacesAutocomplete-bb5eba05.js → usePlacesAutocomplete-f811939e.js} +1 -1
- package/build/{useScreenSize-d209de5b.js → useScreenSize-33fef386.js} +2 -2
- package/build/useTogetherAuthRequiredAction.js +10 -10
- package/build/{utils-9eeed425.js → utils-10ce4f7c.js} +5 -5
- package/build/{utils-59430eab.js → utils-5b143680.js} +3 -3
- package/build/{utils-52e57624.js → utils-9e6874e1.js} +2 -2
- package/build/{utils-f5efba7f.js → utils-c26644c2.js} +2 -2
- package/build/vaccination.js +21 -21
- package/package.json +1 -1
- /package/build/{BMI_BOYS.percentile.monthly-e1bfccf0.js → BMI_BOYS.percentile.monthly-300e5b0c.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-9bb43808.js → BMI_BOYS.percentile.weekly-9215a343.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-622f803a.js → BMI_BOYS.percentile.yearly-4475fd9c.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-0ccd75a7.js → BMI_BOYS.zscore.monthly-93cf18af.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-030f990f.js → BMI_BOYS.zscore.weekly-e2206862.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-de02cd58.js → BMI_BOYS.zscore.yearly-f89bcbf4.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-02eba0b8.js → BMI_GIRLS.percentile.monthly-125b76dc.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-c5da0aba.js → BMI_GIRLS.percentile.weekly-76187313.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-60e2d32c.js → BMI_GIRLS.percentile.yearly-cbea3a7e.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-e85b87d1.js → BMI_GIRLS.zscore.monthly-3daa9771.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-5075f16c.js → BMI_GIRLS.zscore.weekly-f53fd381.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-45fd5ea1.js → BMI_GIRLS.zscore.yearly-c8f0e030.js} +0 -0
- /package/build/{ChevronDown-3c05e385.js → ChevronDown-97971783.js} +0 -0
- /package/build/{Close-a2a29b6f.js → Close-5e1f79f9.js} +0 -0
- /package/build/{Google-98df63b1.js → Google-d90cdad4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-d38b79b3.js → HEAD CIRCUM_BOYS.percentile.monthly-bec46f64.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-a3b88213.js → HEAD CIRCUM_BOYS.percentile.weekly-c7af8ea4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-b0f4233b.js → HEAD CIRCUM_BOYS.percentile.yearly-ba989302.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-468ce5bd.js → HEAD CIRCUM_BOYS.zscore.monthly-86223445.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-2f430e5d.js → HEAD CIRCUM_BOYS.zscore.weekly-0756870e.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-9a9e196b.js → HEAD CIRCUM_BOYS.zscore.yearly-f9d86aaf.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-b9d03243.js → HEAD CIRCUM_GIRLS.percentile.monthly-04637683.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-873d5322.js → HEAD CIRCUM_GIRLS.percentile.weekly-68c20c50.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-213794f4.js → HEAD CIRCUM_GIRLS.percentile.yearly-0757fb7b.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-ad66c530.js → HEAD CIRCUM_GIRLS.zscore.monthly-852940d7.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-b1ee41c3.js → HEAD CIRCUM_GIRLS.zscore.weekly-e8c726aa.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-75ed6ef8.js → HEAD CIRCUM_GIRLS.zscore.yearly-561bfdab.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-2b403b5b.js → HEIGHT_BOYS.percentile.monthly-3c548e53.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-8debab9e.js → HEIGHT_BOYS.percentile.weekly-5146c4e2.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-b73a8f22.js → HEIGHT_BOYS.percentile.yearly-d3a5815b.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-ab2a7620.js → HEIGHT_BOYS.zscore.monthly-49b68a07.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-d475ea99.js → HEIGHT_BOYS.zscore.weekly-e148a3ef.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-17613d0d.js → HEIGHT_BOYS.zscore.yearly-d026a662.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-bb4d4acb.js → HEIGHT_GIRLS.percentile.monthly-a62dca32.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-79a12467.js → HEIGHT_GIRLS.percentile.weekly-cfded666.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-cb357d46.js → HEIGHT_GIRLS.percentile.yearly-a61f4cc1.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-095f8a85.js → HEIGHT_GIRLS.zscore.monthly-82f18c10.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-4cbc5f15.js → HEIGHT_GIRLS.zscore.weekly-e8905e2d.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-1d427b44.js → HEIGHT_GIRLS.zscore.yearly-ae583a51.js} +0 -0
- /package/build/{Locale-23e83c99.js → Locale-5de4d7a5.js} +0 -0
- /package/build/{Visible-f15bf7a2.js → Visible-5a6b718f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-83679c3b.js → WEIGHT_BOYS.percentile.monthly-5ab7552f.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-e30676cf.js → WEIGHT_BOYS.percentile.weekly-add982ed.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-05e8987d.js → WEIGHT_BOYS.percentile.yearly-f3e5938f.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-3b24475d.js → WEIGHT_BOYS.zscore.monthly-1590b555.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-5e6d05f0.js → WEIGHT_BOYS.zscore.weekly-a6dbe314.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-061930fe.js → WEIGHT_BOYS.zscore.yearly-647b9984.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-3a22798f.js → WEIGHT_GIRLS.percentile.monthly-c1cfb3ea.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-fcc35b0f.js → WEIGHT_GIRLS.percentile.weekly-2e592429.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-9e105691.js → WEIGHT_GIRLS.percentile.yearly-18d1a066.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-e99c5c83.js → WEIGHT_GIRLS.zscore.monthly-012c893c.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-6e9318c9.js → WEIGHT_GIRLS.zscore.weekly-0044ea34.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-7c47d16d.js → WEIGHT_GIRLS.zscore.yearly-25843096.js} +0 -0
- /package/build/{animation-3e9c19cf.js → animation-2fba509f.js} +0 -0
- /package/build/{constants-a65a6f22.js → constants-0f7d383c.js} +0 -0
- /package/build/{constants-6c84584a.js → constants-82250209.js} +0 -0
- /package/build/{constants-a2b7e4cc.js → constants-85c18b4f.js} +0 -0
- /package/build/{dataTransform-58c8ea05.js → dataTransform-f34c3853.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-484bec31.js → BMI_BOYS.percentile.monthly-e1973e39.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-0064cf13.js → BMI_BOYS.percentile.weekly-c80ddb67.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-2ee610d1.js → BMI_BOYS.percentile.yearly-ecc6cf9e.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-359cff4f.js → BMI_BOYS.zscore.monthly-6e888a05.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-c05c47f7.js → BMI_BOYS.zscore.weekly-6189b7c7.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-587cd6f5.js → BMI_BOYS.zscore.yearly-76b4d2a1.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-4a5afd5e.js → BMI_GIRLS.percentile.monthly-1016b586.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-2aa4d816.js → BMI_GIRLS.percentile.weekly-bdc96854.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-92d84687.js → BMI_GIRLS.percentile.yearly-b8ab77fa.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-b73ae047.js → BMI_GIRLS.zscore.monthly-755b7c2e.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-f16d5b1d.js → BMI_GIRLS.zscore.weekly-f513d1d9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-5af94f45.js → BMI_GIRLS.zscore.yearly-91798b2f.js} +0 -0
- /package/build/esm/{ChevronDown-a9e1a704.js → ChevronDown-01251c2e.js} +0 -0
- /package/build/esm/{Close-bc02a632.js → Close-f7a77b95.js} +0 -0
- /package/build/esm/{Google-04c91ad8.js → Google-1cf5a07f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-977521f8.js → HEAD CIRCUM_BOYS.percentile.monthly-f567ecab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-b0a72bbd.js → HEAD CIRCUM_BOYS.percentile.weekly-eeb7ddf9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-8427e5f4.js → HEAD CIRCUM_BOYS.percentile.yearly-8bd279d9.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-448a0d4c.js → HEAD CIRCUM_BOYS.zscore.monthly-6c533b32.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-f7a841cf.js → HEAD CIRCUM_BOYS.zscore.weekly-57ecb555.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-264be00f.js → HEAD CIRCUM_BOYS.zscore.yearly-6295c850.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-d57d9ba4.js → HEAD CIRCUM_GIRLS.percentile.monthly-fcfa397c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-b8764b58.js → HEAD CIRCUM_GIRLS.percentile.weekly-4a28f5f1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-eae1bd1a.js → HEAD CIRCUM_GIRLS.percentile.yearly-4149db9d.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-fdba405e.js → HEAD CIRCUM_GIRLS.zscore.monthly-dac4b3a4.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-ba1442a0.js → HEAD CIRCUM_GIRLS.zscore.weekly-9d858a0b.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-22b8404c.js → HEAD CIRCUM_GIRLS.zscore.yearly-e96615c1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-b41c690c.js → HEIGHT_BOYS.percentile.monthly-f9431be6.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-38500db6.js → HEIGHT_BOYS.percentile.weekly-093d3ef2.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-13b55109.js → HEIGHT_BOYS.percentile.yearly-6c083dec.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-b57b9f3b.js → HEIGHT_BOYS.zscore.monthly-4da3607a.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-76545cd8.js → HEIGHT_BOYS.zscore.weekly-be24c8b8.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-a3d8aea0.js → HEIGHT_BOYS.zscore.yearly-b0c9a8bd.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-c1b21071.js → HEIGHT_GIRLS.percentile.monthly-309999d6.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-b9a5f9b7.js → HEIGHT_GIRLS.percentile.weekly-18149d7b.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-f651e724.js → HEIGHT_GIRLS.percentile.yearly-540453af.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-85bca55c.js → HEIGHT_GIRLS.zscore.monthly-275e4a69.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-540bc640.js → HEIGHT_GIRLS.zscore.weekly-3c3136ae.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-a367575e.js → HEIGHT_GIRLS.zscore.yearly-74f571f2.js} +0 -0
- /package/build/esm/{Locale-1064ff3c.js → Locale-e8f1e1cb.js} +0 -0
- /package/build/esm/{Visible-280f1ce0.js → Visible-13700ed9.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-32597494.js → WEIGHT_BOYS.percentile.monthly-9426cd7d.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-5b1564a4.js → WEIGHT_BOYS.percentile.weekly-788b75ff.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-122f6526.js → WEIGHT_BOYS.percentile.yearly-45f92259.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-d9d060a6.js → WEIGHT_BOYS.zscore.monthly-22980f98.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-79471670.js → WEIGHT_BOYS.zscore.weekly-82ca1c2b.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-f17eb2b1.js → WEIGHT_BOYS.zscore.yearly-720b91df.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-fc6491ea.js → WEIGHT_GIRLS.percentile.monthly-9d18881e.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-766651a5.js → WEIGHT_GIRLS.percentile.weekly-4d047c42.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-dce9783f.js → WEIGHT_GIRLS.percentile.yearly-6444b173.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-2e24a999.js → WEIGHT_GIRLS.zscore.monthly-d18185ea.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-4f922182.js → WEIGHT_GIRLS.zscore.weekly-49484e31.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-2ccde1fd.js → WEIGHT_GIRLS.zscore.yearly-ca0a690c.js} +0 -0
- /package/build/esm/{animation-cde9d582.js → animation-bb31664a.js} +0 -0
- /package/build/esm/{constants-96829d24.js → constants-95004c78.js} +0 -0
- /package/build/esm/{constants-7ae4f5d1.js → constants-c4c303c4.js} +0 -0
- /package/build/esm/{constants-76e60b46.js → constants-cea7f4a4.js} +0 -0
- /package/build/esm/{dataTransform-4a6328f2.js → dataTransform-27f9c94c.js} +0 -0
- /package/build/esm/{index-11124dfa.js → index-11baa25c.js} +0 -0
- /package/build/esm/{index-94e2aa83.js → index-1e8176f0.js} +0 -0
- /package/build/esm/{index-c41a2f99.js → index-439a89ce.js} +0 -0
- /package/build/esm/{index-bb8be834.js → index-9fc500e1.js} +0 -0
- /package/build/esm/{index-7f07a2fa.js → index-c5d2c4a1.js} +0 -0
- /package/build/esm/{index-1e888aa3.js → index-c7d84e35.js} +0 -0
- /package/build/esm/{index-0f7e913b.js → index-c7e2088e.js} +0 -0
- /package/build/esm/{index-d4947c80.js → index-e0f6b1c8.js} +0 -0
- /package/build/esm/{index.styles-1dad4509.js → index.styles-e6147969.js} +0 -0
- /package/build/esm/{localizeNumberFormat-a430ab2e.js → localizeNumberFormat-b8a31385.js} +0 -0
- /package/build/esm/{normalizeLink-9966781a.js → normalizeLink-1633ca31.js} +0 -0
- /package/build/esm/{number-5b2a0102.js → number-ad9e63e9.js} +0 -0
- /package/build/esm/{other-f771317b.js → other-0032fd1c.js} +0 -0
- /package/build/esm/{paths-d0f47d58.js → paths-16d9a4aa.js} +0 -0
- /package/build/esm/{translationsContext-4c4d30a3.js → translationsContext-2b0476b1.js} +0 -0
- /package/build/esm/{tslib.es6-1b94ff29.js → tslib.es6-a261a854.js} +0 -0
- /package/build/esm/{types-118a378a.js → types-82be1114.js} +0 -0
- /package/build/esm/{useIsInit-9a03e03f.js → useIsInit-4e5d0f8d.js} +0 -0
- /package/build/esm/{useOutsideClick-5a6b991e.js → useOutsideClick-ad224399.js} +0 -0
- /package/build/esm/{useScrollbarSize-4716ec1d.js → useScrollbarSize-060a3e92.js} +0 -0
- /package/build/esm/{useUniqueId-d80ee3dd.js → useUniqueId-f39e2c63.js} +0 -0
- /package/build/esm/{utils-d1cda983.js → utils-7f18d357.js} +0 -0
- /package/build/{index-d3767c2b.js → index-21c8085f.js} +0 -0
- /package/build/{index-288778a5.js → index-29f6a3a2.js} +0 -0
- /package/build/{index-b4f798a1.js → index-3709ab0b.js} +0 -0
- /package/build/{index-a0631ca0.js → index-3e4cc73c.js} +0 -0
- /package/build/{index-c33ce3a1.js → index-ad27f459.js} +0 -0
- /package/build/{index-a3c05ce2.js → index-ca82a99f.js} +0 -0
- /package/build/{index-75e5775d.js → index-e53baf1c.js} +0 -0
- /package/build/{index-384aa8f9.js → index-eef317f7.js} +0 -0
- /package/build/{index.styles-e0a8880f.js → index.styles-8679e702.js} +0 -0
- /package/build/{localizeNumberFormat-41122e59.js → localizeNumberFormat-bf7dbd14.js} +0 -0
- /package/build/{normalizeLink-1f8449ac.js → normalizeLink-6ee3fbbd.js} +0 -0
- /package/build/{number-e5b47f38.js → number-53a09a5b.js} +0 -0
- /package/build/{other-b8ca7fcf.js → other-61fb51e8.js} +0 -0
- /package/build/{paths-e4e032bc.js → paths-f241d436.js} +0 -0
- /package/build/{translationsContext-2e09f8fb.js → translationsContext-b36e704a.js} +0 -0
- /package/build/{tslib.es6-a526d011.js → tslib.es6-8b962494.js} +0 -0
- /package/build/{types-60ab04b1.js → types-360b267b.js} +0 -0
- /package/build/{useIsInit-04cdde41.js → useIsInit-9a868c8e.js} +0 -0
- /package/build/{useOutsideClick-a5a20069.js → useOutsideClick-016d7346.js} +0 -0
- /package/build/{useScrollbarSize-3d87479c.js → useScrollbarSize-b88eca74.js} +0 -0
- /package/build/{useUniqueId-94fce545.js → useUniqueId-5a141d4d.js} +0 -0
- /package/build/{utils-53474e62.js → utils-cb4cbdeb.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
require('./translationsContext-
|
|
6
|
-
var togetherComponentGlobalContext = require('./utils-
|
|
7
|
-
var treePopoverMenu = require('./treePopoverMenu-
|
|
4
|
+
var index = require('./index-666f8f44.js');
|
|
5
|
+
require('./translationsContext-b36e704a.js');
|
|
6
|
+
var togetherComponentGlobalContext = require('./utils-5b143680.js');
|
|
7
|
+
var treePopoverMenu = require('./treePopoverMenu-56bcedc8.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
10
10
|
|
|
@@ -21,19 +21,23 @@ export type SubmitSubscriptionBoxValue = {
|
|
|
21
21
|
campaign_id: number;
|
|
22
22
|
};
|
|
23
23
|
export type ImpressionValue = {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
subscription_title: string;
|
|
25
|
+
name: string;
|
|
26
|
+
area_code: string;
|
|
27
|
+
phone_number: string;
|
|
28
|
+
site_domain: string;
|
|
26
29
|
url: string;
|
|
27
|
-
cookie_id: string
|
|
28
|
-
ga_client_id: string
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
cookie_id: string;
|
|
31
|
+
ga_client_id: string;
|
|
32
|
+
article_title: string;
|
|
33
|
+
article_id: string;
|
|
34
|
+
category_id: string;
|
|
35
|
+
type: string;
|
|
32
36
|
};
|
|
33
37
|
export type LeadGenContextProps = LeadGenProps & {
|
|
34
38
|
submit: (value?: SubmitValue) => Promise<any>;
|
|
35
39
|
submitSubscriptionBox: (value?: Partial<SubmitSubscriptionBoxValue>) => Promise<any>;
|
|
36
|
-
impression: (
|
|
40
|
+
impression: (type: 'impression' | 'submit_form') => Promise<any>;
|
|
37
41
|
/** For Subscription Box */
|
|
38
42
|
subscriptionIcon: string;
|
|
39
43
|
subscriptionTitle: string;
|
|
@@ -61,7 +65,7 @@ export declare const useLeadGenContext: () => {
|
|
|
61
65
|
categoryId?: number;
|
|
62
66
|
submit: (value?: SubmitValue) => Promise<any>;
|
|
63
67
|
submitSubscriptionBox: (value?: Partial<SubmitSubscriptionBoxValue>) => Promise<any>;
|
|
64
|
-
impression: (
|
|
68
|
+
impression: (type: 'impression' | 'submit_form') => Promise<any>;
|
|
65
69
|
/** For Subscription Box */
|
|
66
70
|
subscriptionIcon: string;
|
|
67
71
|
subscriptionTitle: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export declare const InlineLayout: ({ content, inlinePosition, }: {
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
export declare const InlineLayout: ({ action, content, inlinePosition, campaignCode, }: {
|
|
3
|
+
action: string;
|
|
3
4
|
content?: ReactNode;
|
|
4
5
|
inlinePosition: string;
|
|
5
|
-
|
|
6
|
+
campaignCode: string;
|
|
7
|
+
}) => React.ReactPortal;
|
|
@@ -2,7 +2,7 @@ import React, { Dispatch, SetStateAction } from 'react';
|
|
|
2
2
|
import { LOCALE, UserInfo } from "../../../interfaces/types";
|
|
3
3
|
import { LEADGEN_LAYOUT } from "../../LeadGen.helpers";
|
|
4
4
|
import { TrackingFormProps } from "../../LeadGen.type";
|
|
5
|
-
export declare 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, }: {
|
|
5
|
+
export declare 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, }: {
|
|
6
6
|
popupId: string;
|
|
7
7
|
currentLayout: LEADGEN_LAYOUT;
|
|
8
8
|
extraFields: any;
|
|
@@ -33,4 +33,5 @@ export declare const LightboxLayout: ({ popupId, extraFields, onClose: onClosePr
|
|
|
33
33
|
showEmpty?: boolean;
|
|
34
34
|
setShowEmpty?: Dispatch<SetStateAction<boolean>>;
|
|
35
35
|
userInfo?: UserInfo | null;
|
|
36
|
+
action: string;
|
|
36
37
|
}) => React.JSX.Element;
|
|
@@ -22,6 +22,20 @@ export declare const Service: {
|
|
|
22
22
|
extra?: Record<string, string | number>;
|
|
23
23
|
referrer?: string;
|
|
24
24
|
}) => Promise<any>;
|
|
25
|
+
trackingSubscription: (data: {
|
|
26
|
+
subscription_title: string;
|
|
27
|
+
name: string;
|
|
28
|
+
area_code: string;
|
|
29
|
+
phone_number: string;
|
|
30
|
+
site_domain: string;
|
|
31
|
+
url: string;
|
|
32
|
+
cookie_id: string;
|
|
33
|
+
ga_client_id: string;
|
|
34
|
+
article_title: string;
|
|
35
|
+
article_id: number;
|
|
36
|
+
category_id: number;
|
|
37
|
+
type: string;
|
|
38
|
+
}) => Promise<any>;
|
|
25
39
|
validateEmailOrPhoneOnSubot: ({ bot_id, email, phone, }: {
|
|
26
40
|
bot_id: number[];
|
|
27
41
|
email?: string;
|
package/build/lead.js
CHANGED
|
@@ -2,56 +2,56 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('./tslib.es6-
|
|
5
|
+
var tslib_es6 = require('./tslib.es6-8b962494.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var core = require('@mantine/core');
|
|
8
8
|
var debounce = require('lodash/debounce');
|
|
9
9
|
var form = require('@mantine/form');
|
|
10
10
|
var dayjs = require('dayjs');
|
|
11
|
-
var index = require('./index-
|
|
11
|
+
var index = require('./index-b6fbda4b.js');
|
|
12
12
|
var miscCookieHelper = require('./miscCookieHelper.js');
|
|
13
|
-
var index$1 = require('./index-
|
|
14
|
-
var translationsContext = require('./translationsContext-
|
|
15
|
-
var utils$1 = require('./utils-
|
|
16
|
-
var index$2 = require('./index-
|
|
17
|
-
var index$3 = require('./index-
|
|
18
|
-
var index$5 = require('./index-
|
|
19
|
-
var index$4 = require('./index-
|
|
20
|
-
require('./index.styles-
|
|
13
|
+
var index$1 = require('./index-183116a5.js');
|
|
14
|
+
var translationsContext = require('./translationsContext-b36e704a.js');
|
|
15
|
+
var utils$1 = require('./utils-cb4cbdeb.js');
|
|
16
|
+
var index$2 = require('./index-666f8f44.js');
|
|
17
|
+
var index$3 = require('./index-f148f62c.js');
|
|
18
|
+
var index$5 = require('./index-86c1ad96.js');
|
|
19
|
+
var index$4 = require('./index-9d14b0d7.js');
|
|
20
|
+
require('./index.styles-8679e702.js');
|
|
21
21
|
var hooks = require('@mantine/hooks');
|
|
22
|
-
require('./useMantineLocale-
|
|
23
|
-
var index$9 = require('./index-
|
|
24
|
-
require('./index-
|
|
25
|
-
var index$7 = require('./index-
|
|
26
|
-
require('./other-
|
|
27
|
-
require('./index-
|
|
28
|
-
var utils = require('./utils-
|
|
22
|
+
require('./useMantineLocale-f0641538.js');
|
|
23
|
+
var index$9 = require('./index-12e72c66.js');
|
|
24
|
+
require('./index-e53baf1c.js');
|
|
25
|
+
var index$7 = require('./index-077b2e41.js');
|
|
26
|
+
require('./other-61fb51e8.js');
|
|
27
|
+
require('./index-9f55bdb5.js');
|
|
28
|
+
var utils = require('./utils-c26644c2.js');
|
|
29
29
|
var dates = require('@mantine/dates');
|
|
30
|
-
var usePlacesAutocomplete = require('./usePlacesAutocomplete-
|
|
31
|
-
var index$6 = require('./index-
|
|
32
|
-
var translationsProvider = require('./translationsProvider-
|
|
33
|
-
var Locale = require('./Locale-
|
|
30
|
+
var usePlacesAutocomplete = require('./usePlacesAutocomplete-f811939e.js');
|
|
31
|
+
var index$6 = require('./index-3e16f445.js');
|
|
32
|
+
var translationsProvider = require('./translationsProvider-ff02354e.js');
|
|
33
|
+
var Locale = require('./Locale-5de4d7a5.js');
|
|
34
34
|
var uuid = require('uuid');
|
|
35
35
|
var constantsDomainLocales = require('./constantsDomainLocales.js');
|
|
36
36
|
var PhoneInputBase = require('react-phone-number-input');
|
|
37
37
|
var styled = require('@emotion/styled');
|
|
38
38
|
var miscTheme = require('./miscTheme.js');
|
|
39
39
|
var react = require('@emotion/react');
|
|
40
|
-
var togetherComponentGlobalContext = require('./utils-
|
|
41
|
-
var index$8 = require('./index-
|
|
42
|
-
var useScreenSize = require('./useScreenSize-
|
|
40
|
+
var togetherComponentGlobalContext = require('./utils-5b143680.js');
|
|
41
|
+
var index$8 = require('./index-ca82a99f.js');
|
|
42
|
+
var useScreenSize = require('./useScreenSize-33fef386.js');
|
|
43
43
|
var framerMotion = require('framer-motion');
|
|
44
44
|
var ReactDOM = require('react-dom');
|
|
45
|
-
var index$a = require('./index-
|
|
46
|
-
var InputDate = require('./InputDate-
|
|
47
|
-
var index$b = require('./index-
|
|
48
|
-
var Close = require('./Close-
|
|
45
|
+
var index$a = require('./index-699c917b.js');
|
|
46
|
+
var InputDate = require('./InputDate-a2befee3.js');
|
|
47
|
+
var index$b = require('./index-52cf3eb8.js');
|
|
48
|
+
var Close = require('./Close-5e1f79f9.js');
|
|
49
49
|
require('./constantsIsProduction.js');
|
|
50
|
-
require('./normalizeLink-
|
|
50
|
+
require('./normalizeLink-6ee3fbbd.js');
|
|
51
51
|
require('@hhgtech/icons/other');
|
|
52
52
|
require('@mantine/carousel');
|
|
53
53
|
require('classnames');
|
|
54
|
-
require('./useUniqueId-
|
|
54
|
+
require('./useUniqueId-5a141d4d.js');
|
|
55
55
|
require('./constantsSite.js');
|
|
56
56
|
require('@hhgtech/icons/core');
|
|
57
57
|
require('@mantine/notifications');
|
|
@@ -68,11 +68,11 @@ require('./i18n-values/tl-PH.js');
|
|
|
68
68
|
require('./i18n-values/vi-VN.js');
|
|
69
69
|
require('./i18n-values/vi-VN_MB.js');
|
|
70
70
|
require('./i18n-values/zh-TW.js');
|
|
71
|
-
require('./index-
|
|
71
|
+
require('./index-ad27f459.js');
|
|
72
72
|
require('slugify');
|
|
73
73
|
require('string-format');
|
|
74
74
|
require('./togetherApiPaths.js');
|
|
75
|
-
require('./constants-
|
|
75
|
+
require('./constants-0f7d383c.js');
|
|
76
76
|
require('vaul');
|
|
77
77
|
|
|
78
78
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -187,11 +187,6 @@ const LEAD_TIMEZONE_DATA = {
|
|
|
187
187
|
9: 'Asia/Manila', // Philippines / Filipinos Site
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
const LEADGEN_ACTIONS = {
|
|
191
|
-
SHOW: 'SHOW',
|
|
192
|
-
SCROLL: 'SCROLL',
|
|
193
|
-
TIME: 'TIME',
|
|
194
|
-
};
|
|
195
190
|
var LEADGEN_LAYOUT;
|
|
196
191
|
(function (LEADGEN_LAYOUT) {
|
|
197
192
|
LEADGEN_LAYOUT["LightBoxA"] = "LightBoxA";
|
|
@@ -590,6 +585,13 @@ const campaignPostImpression = ({ code, action, title_article, ga_client_id, coo
|
|
|
590
585
|
},
|
|
591
586
|
});
|
|
592
587
|
};
|
|
588
|
+
const trackingSubscription = (data) => {
|
|
589
|
+
return leadApi.call({
|
|
590
|
+
url: `api/collection/tracking-subscription`,
|
|
591
|
+
method: METHOD.POST,
|
|
592
|
+
data,
|
|
593
|
+
});
|
|
594
|
+
};
|
|
593
595
|
const Service = {
|
|
594
596
|
campaignGetById,
|
|
595
597
|
getCampaignByCode,
|
|
@@ -597,6 +599,7 @@ const Service = {
|
|
|
597
599
|
postSubscriptionBoxLead,
|
|
598
600
|
postUserInfoFromLeadGen,
|
|
599
601
|
campaignPostImpression,
|
|
602
|
+
trackingSubscription,
|
|
600
603
|
validateEmailOrPhoneOnSubot,
|
|
601
604
|
validateEmailOrPhoneOnLeadGen,
|
|
602
605
|
validatePhoneNumberOnLeadGen,
|
|
@@ -2011,10 +2014,10 @@ const LeadGenContext = React.createContext({
|
|
|
2011
2014
|
LeadLog('** LeadGen SubmitSubscriptionBox : ', value);
|
|
2012
2015
|
return Promise.reject(value);
|
|
2013
2016
|
},
|
|
2014
|
-
impression(
|
|
2017
|
+
impression(type) {
|
|
2015
2018
|
/** Init for FAKING function */
|
|
2016
|
-
LeadLog('** LeadGen Impression : ',
|
|
2017
|
-
return Promise.reject(
|
|
2019
|
+
LeadLog('** LeadGen Impression : ', type);
|
|
2020
|
+
return Promise.reject();
|
|
2018
2021
|
},
|
|
2019
2022
|
/** For Subscription Box */
|
|
2020
2023
|
subscriptionIcon: '',
|
|
@@ -2022,7 +2025,7 @@ const LeadGenContext = React.createContext({
|
|
|
2022
2025
|
subscriptionPhoneType: '',
|
|
2023
2026
|
});
|
|
2024
2027
|
const LeadGenContextProvider = (props) => {
|
|
2025
|
-
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children } = props, restProps = tslib_es6.__rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children"]);
|
|
2028
|
+
const { campaign_code: campaignCodeProps, apiSsoUrl, apiLeadUrl, apiSubotUrl, locale: localeProps, forceCampaign: forceCampaignProps, extraValues, articleId = 1, categoryId = 1, siteDomain: site_domain, children, userInfo } = props, restProps = tslib_es6.__rest(props, ["campaign_code", "apiSsoUrl", "apiLeadUrl", "apiSubotUrl", "locale", "forceCampaign", "extraValues", "articleId", "categoryId", "siteDomain", "children", "userInfo"]);
|
|
2026
2029
|
const { t } = index$1.useTranslations();
|
|
2027
2030
|
const [forceCampaign, setForceCampaign] = React.useState(forceCampaignProps);
|
|
2028
2031
|
const [subscriptionInfo, setSubscriptionInfo] = React.useState({
|
|
@@ -2034,7 +2037,7 @@ const LeadGenContextProvider = (props) => {
|
|
|
2034
2037
|
const locale = React.useMemo(() => {
|
|
2035
2038
|
return localeProps || Locale.LOCALE['PhilippinesEnglish'];
|
|
2036
2039
|
}, [localeProps]);
|
|
2037
|
-
const { url, campaign_id,
|
|
2040
|
+
const { url, campaign_id, cookie_id, ga_client_id, category_id, article_id, article_title, category_name, } = React.useMemo(() => ({
|
|
2038
2041
|
url: location.href.toLowerCase() || '',
|
|
2039
2042
|
cookie_id: miscCookieHelper.getCookie('hhg-id') || null,
|
|
2040
2043
|
ga_client_id: miscCookieHelper.getCookie('_ga'),
|
|
@@ -2043,12 +2046,14 @@ const LeadGenContextProvider = (props) => {
|
|
|
2043
2046
|
category_id: categoryId,
|
|
2044
2047
|
article_id: articleId,
|
|
2045
2048
|
article_title: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title) || document.title || '',
|
|
2049
|
+
category_name: (extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name) || '',
|
|
2046
2050
|
}), [
|
|
2047
2051
|
campaignCodeProps,
|
|
2048
2052
|
articleId,
|
|
2049
2053
|
categoryId,
|
|
2050
2054
|
forceCampaign === null || forceCampaign === void 0 ? void 0 : forceCampaign.id,
|
|
2051
2055
|
extraValues === null || extraValues === void 0 ? void 0 : extraValues.article_title,
|
|
2056
|
+
extraValues === null || extraValues === void 0 ? void 0 : extraValues.category_name,
|
|
2052
2057
|
]);
|
|
2053
2058
|
// const fetchCampaign = useCallback(
|
|
2054
2059
|
// (campaign_code: string) => {
|
|
@@ -2083,33 +2088,36 @@ const LeadGenContextProvider = (props) => {
|
|
|
2083
2088
|
cookie_id,
|
|
2084
2089
|
ga_client_id,
|
|
2085
2090
|
]);
|
|
2086
|
-
const impression = React.useCallback((
|
|
2091
|
+
const impression = React.useCallback((type) => {
|
|
2092
|
+
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
2087
2093
|
const impression = {
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2094
|
+
subscription_title: subscriptionInfo.subscriptionTitle,
|
|
2095
|
+
name: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.name) || '',
|
|
2096
|
+
area_code: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code) || '',
|
|
2097
|
+
phone_number: (userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone) || '',
|
|
2098
|
+
site_domain: constantsDomainLocales.domainLocales[locale],
|
|
2099
|
+
url: location.href.toLowerCase(),
|
|
2100
|
+
cookie_id: miscCookieHelper.getCookie('hhg-id'),
|
|
2101
|
+
ga_client_id: gaCookie,
|
|
2102
|
+
article_title,
|
|
2103
|
+
article_id,
|
|
2104
|
+
category_id,
|
|
2105
|
+
category_name,
|
|
2106
|
+
type,
|
|
2097
2107
|
};
|
|
2098
|
-
|
|
2099
|
-
delete impression.extra.subscription_title;
|
|
2100
|
-
}
|
|
2101
|
-
return Service.campaignPostImpression(impression);
|
|
2108
|
+
return Service.trackingSubscription(impression);
|
|
2102
2109
|
}, [
|
|
2103
|
-
extraValues,
|
|
2104
2110
|
campaign_id,
|
|
2105
2111
|
url,
|
|
2106
|
-
campaign_code,
|
|
2107
2112
|
article_title,
|
|
2108
2113
|
cookie_id,
|
|
2109
2114
|
ga_client_id,
|
|
2115
|
+
categoryId,
|
|
2110
2116
|
article_id,
|
|
2111
2117
|
subscriptionInfo.subscriptionTitle,
|
|
2112
|
-
|
|
2118
|
+
userInfo === null || userInfo === void 0 ? void 0 : userInfo.name,
|
|
2119
|
+
userInfo === null || userInfo === void 0 ? void 0 : userInfo.area_code,
|
|
2120
|
+
userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
|
|
2113
2121
|
]);
|
|
2114
2122
|
React.useEffect(() => {
|
|
2115
2123
|
if (forceCampaignProps) {
|
|
@@ -2280,18 +2288,16 @@ const useLeadGenContext = () => {
|
|
|
2280
2288
|
return Object.assign(Object.assign({}, context), { apiSsoUrl: context.apiSsoUrl || leadStore.apiSsoUrl, apiLeadUrl: context.apiLeadUrl || leadStore.apiLeadUrl, apiSubotUrl: context.apiSubotUrl || leadStore.apiSubotUrl });
|
|
2281
2289
|
};
|
|
2282
2290
|
|
|
2283
|
-
const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, }) => {
|
|
2291
|
+
const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, dependency = '', }) => {
|
|
2284
2292
|
const { ref, entry } = hooks.useIntersection({
|
|
2285
2293
|
threshold: 1,
|
|
2286
2294
|
});
|
|
2287
2295
|
const [tracked, setTracked] = React.useState(false);
|
|
2288
2296
|
React.useEffect(() => {
|
|
2289
|
-
if (!tracked)
|
|
2290
|
-
return;
|
|
2291
2297
|
let timer = null;
|
|
2292
2298
|
let count = 0;
|
|
2293
|
-
if (entry === null || entry === void 0 ? void 0 : entry.isIntersecting) {
|
|
2294
|
-
timer =
|
|
2299
|
+
if ((entry === null || entry === void 0 ? void 0 : entry.isIntersecting) && !tracked) {
|
|
2300
|
+
timer = setInterval(() => {
|
|
2295
2301
|
if (count > stayDuration) {
|
|
2296
2302
|
setTracked(true);
|
|
2297
2303
|
}
|
|
@@ -2300,15 +2306,15 @@ const ImpressionTrackingWrapper = ({ children, stayDuration = 1, onImpression, }
|
|
|
2300
2306
|
}
|
|
2301
2307
|
}, stayDuration * 1000);
|
|
2302
2308
|
}
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
}
|
|
2306
|
-
return () => clearTimeout(timer);
|
|
2307
|
-
}, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting]);
|
|
2309
|
+
return () => clearInterval(timer);
|
|
2310
|
+
}, [entry === null || entry === void 0 ? void 0 : entry.isIntersecting, tracked]);
|
|
2308
2311
|
React.useEffect(() => {
|
|
2309
2312
|
tracked && onImpression();
|
|
2310
2313
|
}, [tracked]);
|
|
2311
|
-
|
|
2314
|
+
React.useEffect(() => {
|
|
2315
|
+
setTracked(false);
|
|
2316
|
+
}, [dependency]);
|
|
2317
|
+
return (React__default["default"].createElement(core.Box, { "data-impression": true, ref: ref }, children));
|
|
2312
2318
|
};
|
|
2313
2319
|
|
|
2314
2320
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
@@ -3298,10 +3304,9 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3298
3304
|
const { image, extra_fields, id: campaign_id, bot_id: campaign_subot_id = [], ThankYouBlock, } = forceCampaign || {};
|
|
3299
3305
|
const { textBlocks, listBlockAdded, actionBlocks } = extra_fields || {};
|
|
3300
3306
|
const { submitBlock } = actionBlocks || {};
|
|
3301
|
-
const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox,
|
|
3307
|
+
const { apiLeadUrl, subscriptionIcon, subscriptionTitle, subscriptionPhoneType, submitSubscriptionBox, onFinish, impression, } = useLeadGenContext();
|
|
3302
3308
|
const { t } = index$1.useTranslations();
|
|
3303
3309
|
const { action: { pushNotifications }, } = React.useContext(togetherComponentGlobalContext.TogetherComponentGlobalContext);
|
|
3304
|
-
const refContainer = React.useRef(null);
|
|
3305
3310
|
const [loading, setLoading] = React.useState(false);
|
|
3306
3311
|
const [showThankyou, setShowThankyou] = React.useState(false);
|
|
3307
3312
|
const validatingEmailRef = React.useRef(false);
|
|
@@ -3321,17 +3326,6 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3321
3326
|
t('leadgen.message.title.default');
|
|
3322
3327
|
}, [subscriptionTitle, (_b = (_a = textBlocks === null || textBlocks === void 0 ? void 0 : textBlocks.titleBlock) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.value]);
|
|
3323
3328
|
const { image: thankyouImage, title: thankyouTitle, description: thankyouDescription, button: thankyouButton, } = ThankYouBlock || {};
|
|
3324
|
-
const intersectionObserverCallback = React.useCallback((entries) => {
|
|
3325
|
-
entries.forEach((entry) => {
|
|
3326
|
-
const { isIntersecting, target } = entry;
|
|
3327
|
-
if (!showThankyou &&
|
|
3328
|
-
isIntersecting &&
|
|
3329
|
-
target === refContainer.current) {
|
|
3330
|
-
impression();
|
|
3331
|
-
}
|
|
3332
|
-
});
|
|
3333
|
-
}, [impression, showThankyou]);
|
|
3334
|
-
const IObserver = new IntersectionObserver(intersectionObserverCallback);
|
|
3335
3329
|
const middlewareOnSubmit = React.useCallback((values) => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
3336
3330
|
const newValues = {
|
|
3337
3331
|
subscription_title,
|
|
@@ -3368,7 +3362,11 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3368
3362
|
setLoading(true);
|
|
3369
3363
|
try {
|
|
3370
3364
|
const reqValues = Object.assign(Object.assign({}, newValues), ssoValues);
|
|
3371
|
-
const
|
|
3365
|
+
const [res] = yield Promise.all([
|
|
3366
|
+
submitSubscriptionBox(reqValues),
|
|
3367
|
+
impression('submit_form'),
|
|
3368
|
+
]);
|
|
3369
|
+
const { _data } = res || {};
|
|
3372
3370
|
const { model } = _data || {};
|
|
3373
3371
|
if (model && (model === null || model === void 0 ? void 0 : model.id)) {
|
|
3374
3372
|
setShowThankyou(true);
|
|
@@ -3412,15 +3410,7 @@ const LeadGenSubscriptionBoxWithoutMemo = ({ locale, userInfo, forceCampaign, ca
|
|
|
3412
3410
|
userInfo === null || userInfo === void 0 ? void 0 : userInfo.uid,
|
|
3413
3411
|
userInfo === null || userInfo === void 0 ? void 0 : userInfo.phone,
|
|
3414
3412
|
]);
|
|
3415
|
-
|
|
3416
|
-
if (refContainer.current) {
|
|
3417
|
-
IObserver.observe(refContainer.current);
|
|
3418
|
-
}
|
|
3419
|
-
return () => {
|
|
3420
|
-
IObserver.disconnect();
|
|
3421
|
-
};
|
|
3422
|
-
}, [categoryId]);
|
|
3423
|
-
return (React__default["default"].createElement(ImpressionTrackingWrapper, { onImpression: impression },
|
|
3413
|
+
return (React__default["default"].createElement(ImpressionTrackingWrapper, { dependency: categoryId, onImpression: () => impression('impression') },
|
|
3424
3414
|
React__default["default"].createElement(StyledLeadGenSubscriptionBox, { "data-phone-type": subscriptionPhoneType, "data-type": "subscription_box_A" },
|
|
3425
3415
|
showThankyou && (React__default["default"].createElement(LeadGenThankYou, { image: Object.assign(Object.assign({}, thankyouImage), { src: thankyouImage.src || `${apiLeadUrl}admin/img/thanksyou.png` }), title: thankyouTitle, description: thankyouDescription, button: thankyouButton })),
|
|
3426
3416
|
!showThankyou && (React__default["default"].createElement(LeadGenSubscriptionBoxA, { loading: loading, image: subscriptionIcon || image, title: subscription_title, submitText: (_c = submitBlock === null || submitBlock === void 0 ? void 0 : submitBlock.data) === null || _c === void 0 ? void 0 : _c.value, blocks: listBlockAdded, locale: locale, form: form, rules: validateObj, onFinish: middlewareOnSubmit })))));
|
|
@@ -4072,7 +4062,8 @@ const ThankyouPopup = ({ title, titleAlign, subtitle, subtitleAlign, link, linkN
|
|
|
4072
4062
|
React__default["default"].createElement(index$4.Button, { className: `lead-modal__btn ${LEAD_CLASS}`, color: primaryColor }, linkText)))))));
|
|
4073
4063
|
};
|
|
4074
4064
|
|
|
4075
|
-
const InlineLayout = ({ content, inlinePosition, }) => {
|
|
4065
|
+
const InlineLayout = ({ action, content, inlinePosition, campaignCode, }) => {
|
|
4066
|
+
const { apiUrl } = React.useContext(LeadGenContext$1);
|
|
4076
4067
|
const target = React.useMemo(() => {
|
|
4077
4068
|
if (!inlinePosition)
|
|
4078
4069
|
return null;
|
|
@@ -4179,7 +4170,22 @@ const InlineLayout = ({ content, inlinePosition, }) => {
|
|
|
4179
4170
|
}, [inlinePosition]);
|
|
4180
4171
|
if (!inlinePosition || !target)
|
|
4181
4172
|
return null;
|
|
4182
|
-
return ReactDOM.createPortal(
|
|
4173
|
+
return ReactDOM.createPortal(React__default["default"].createElement(ImpressionTrackingWrapper, { onImpression: () => tslib_es6.__awaiter(void 0, void 0, void 0, function* () {
|
|
4174
|
+
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
4175
|
+
fetch(`${apiUrl}api/campaign/${campaignCode}/impression`, {
|
|
4176
|
+
method: 'POST',
|
|
4177
|
+
headers: {
|
|
4178
|
+
'Content-Type': 'application/json',
|
|
4179
|
+
},
|
|
4180
|
+
body: JSON.stringify({
|
|
4181
|
+
action,
|
|
4182
|
+
url: location.href.toLowerCase(),
|
|
4183
|
+
title_article: document.title,
|
|
4184
|
+
cookie_id: miscCookieHelper.getCookie('hhg-id'),
|
|
4185
|
+
ga_client_id: gaCookie,
|
|
4186
|
+
}),
|
|
4187
|
+
});
|
|
4188
|
+
}) }, content), target);
|
|
4183
4189
|
};
|
|
4184
4190
|
|
|
4185
4191
|
const SideBarLayout = ({ content }) => {
|
|
@@ -4946,7 +4952,7 @@ const LEADGEN_SHOW_HEADER = [
|
|
|
4946
4952
|
];
|
|
4947
4953
|
// const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39', 'u0adw7hw8kw7t89']
|
|
4948
4954
|
const CAMPAGE_CODE_LIST_APPLY_NEW_UI = ['ri3lkoxcetjoj39'];
|
|
4949
|
-
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, }) => {
|
|
4955
|
+
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, }) => {
|
|
4950
4956
|
var _a, _b;
|
|
4951
4957
|
const { primaryColor } = React.useContext(LeadGenContext$1);
|
|
4952
4958
|
const { isMobile } = useScreenSize.useScreenSize();
|
|
@@ -5281,7 +5287,7 @@ const LightboxLayout = ({ popupId, extraFields, onClose: onCloseProp, onOtherSub
|
|
|
5281
5287
|
return React__default["default"].createElement(SideBarLayout, { content: PopupContainer });
|
|
5282
5288
|
}
|
|
5283
5289
|
else if (isInline) {
|
|
5284
|
-
return (React__default["default"].createElement(InlineLayout, { content: PopupContainer, inlinePosition: extraFields.popupInlinePosition }));
|
|
5290
|
+
return (React__default["default"].createElement(InlineLayout, { action: action, content: PopupContainer, campaignCode: campaignCode, inlinePosition: extraFields.popupInlinePosition }));
|
|
5285
5291
|
}
|
|
5286
5292
|
return null;
|
|
5287
5293
|
};
|
|
@@ -5379,19 +5385,20 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5379
5385
|
const { apiUrl, siteDomain } = React.useContext(LeadGenContext$1);
|
|
5380
5386
|
React.useEffect(() => {
|
|
5381
5387
|
const gaCookie = miscCookieHelper.getCookie('_ga') || null;
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5388
|
+
!currentLayout.includes('Inline') &&
|
|
5389
|
+
fetch(`${apiUrl}api/campaign/${code}/impression`, {
|
|
5390
|
+
method: 'POST',
|
|
5391
|
+
headers: {
|
|
5392
|
+
'Content-Type': 'application/json',
|
|
5393
|
+
},
|
|
5394
|
+
body: JSON.stringify({
|
|
5395
|
+
action,
|
|
5396
|
+
url: location.href.toLowerCase(),
|
|
5397
|
+
title_article: document.title,
|
|
5398
|
+
cookie_id: miscCookieHelper.getCookie('hhg-id'),
|
|
5399
|
+
ga_client_id: gaCookie,
|
|
5400
|
+
}),
|
|
5401
|
+
});
|
|
5395
5402
|
}, []);
|
|
5396
5403
|
const { extra_fields, image, image_desktop, code, image_background, image_overlay_mobile, image_overlay_desktop, } = campaign || {};
|
|
5397
5404
|
const { currentLayout } = extra_fields;
|
|
@@ -5493,7 +5500,7 @@ const NewLeadPopup = ({ campaign, action, onSubmit, onClose, onUnmount, showThan
|
|
|
5493
5500
|
currentLayout == 'Fullscreen' ||
|
|
5494
5501
|
currentLayout == 'Sidebar' ||
|
|
5495
5502
|
currentLayout == 'Slider') {
|
|
5496
|
-
return (React__default["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 }));
|
|
5503
|
+
return (React__default["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 }));
|
|
5497
5504
|
}
|
|
5498
5505
|
else if (currentLayout.includes('Skin')) {
|
|
5499
5506
|
return (React__default["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 }));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var index = require('./index-
|
|
5
|
-
var useScreenSize = require('./useScreenSize-
|
|
4
|
+
var index = require('./index-e53baf1c.js');
|
|
5
|
+
var useScreenSize = require('./useScreenSize-33fef386.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
8
8
|
|
package/build/mantine.js
CHANGED
|
@@ -2,43 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
var index$1 = require('./index-
|
|
7
|
-
var index$2 = require('./index-
|
|
8
|
-
var index$3 = require('./index-
|
|
9
|
-
var index$4 = require('./index-
|
|
5
|
+
var index = require('./index-f148f62c.js');
|
|
6
|
+
var index$1 = require('./index-86c1ad96.js');
|
|
7
|
+
var index$2 = require('./index-666f8f44.js');
|
|
8
|
+
var index$3 = require('./index-9d14b0d7.js');
|
|
9
|
+
var index$4 = require('./index-0d6e201c.js');
|
|
10
10
|
var React = require('react');
|
|
11
|
-
var index$5 = require('./index-
|
|
12
|
-
var tslib_es6 = require('./tslib.es6-
|
|
11
|
+
var index$5 = require('./index-6bbe766a.js');
|
|
12
|
+
var tslib_es6 = require('./tslib.es6-8b962494.js');
|
|
13
13
|
var core = require('@mantine/core');
|
|
14
14
|
var miscTheme = require('./miscTheme.js');
|
|
15
|
-
var index$6 = require('./index-
|
|
15
|
+
var index$6 = require('./index-6600ee14.js');
|
|
16
16
|
var hooks = require('@mantine/hooks');
|
|
17
|
-
var index$7 = require('./index-
|
|
18
|
-
var useMantineLocale = require('./useMantineLocale-
|
|
19
|
-
var other = require('./other-
|
|
20
|
-
var index$8 = require('./index-
|
|
17
|
+
var index$7 = require('./index-3e4cc73c.js');
|
|
18
|
+
var useMantineLocale = require('./useMantineLocale-f0641538.js');
|
|
19
|
+
var other = require('./other-61fb51e8.js');
|
|
20
|
+
var index$8 = require('./index-9f55bdb5.js');
|
|
21
21
|
require('@hhgtech/icons/other');
|
|
22
|
-
require('./index-
|
|
22
|
+
require('./index-e53baf1c.js');
|
|
23
23
|
require('./constantsDomainLocales.js');
|
|
24
|
-
require('./Locale-
|
|
24
|
+
require('./Locale-5de4d7a5.js');
|
|
25
25
|
require('./constantsIsProduction.js');
|
|
26
|
-
require('./useScreenSize-
|
|
26
|
+
require('./useScreenSize-33fef386.js');
|
|
27
27
|
require('@emotion/styled');
|
|
28
|
-
require('./utils-
|
|
28
|
+
require('./utils-cb4cbdeb.js');
|
|
29
29
|
require('@mantine/carousel');
|
|
30
|
-
require('./index-
|
|
31
|
-
require('./index-
|
|
30
|
+
require('./index-12e72c66.js');
|
|
31
|
+
require('./index-077b2e41.js');
|
|
32
32
|
require('date-fns/locale');
|
|
33
33
|
require('./constantsSite.js');
|
|
34
34
|
require('./constantsRiskScreener.js');
|
|
35
35
|
require('classnames');
|
|
36
|
-
require('./useUniqueId-
|
|
36
|
+
require('./useUniqueId-5a141d4d.js');
|
|
37
37
|
require('@hhgtech/icons/core');
|
|
38
38
|
require('@mantine/dates');
|
|
39
|
-
require('./index.styles-
|
|
40
|
-
require('./index-
|
|
41
|
-
require('./translationsContext-
|
|
39
|
+
require('./index.styles-8679e702.js');
|
|
40
|
+
require('./index-183116a5.js');
|
|
41
|
+
require('./translationsContext-b36e704a.js');
|
|
42
42
|
require('@mantine/notifications');
|
|
43
43
|
require('dayjs');
|
|
44
44
|
|