@hhgtech/hhg-components 1.29.566 → 1.29.567
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-b8118635.js → InputDate-ce642929.js} +8 -8
- package/build/{LastPeriod-19ebeec0.js → LastPeriod-2f884ff8.js} +1 -1
- package/build/{MobileBottomNavigationIcon-cb65e80f.js → MobileBottomNavigationIcon-cb477cea.js} +3 -3
- package/build/{SiteWideBanner-b573e41b.js → SiteWideBanner-a63a95f8.js} +13 -13
- package/build/{Spinner-17016453.js → Spinner-e504eb5a.js} +1 -1
- package/build/{WhatsApp-61b6804a.js → WhatsApp-93d0b909.js} +1 -1
- package/build/adapters.js +20 -20
- package/build/atoms.js +62 -51
- package/build/babyGrowth.js +85 -85
- 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/atoms/datePickerV2/Calendar.d.ts +6 -0
- package/build/components/atoms/datePickerV2/DatePickerInput.d.ts +20 -0
- package/build/components/atoms/datePickerV2/helpers.d.ts +33 -0
- package/build/components/atoms/datePickerV2/index.d.ts +27 -0
- package/build/components/atoms/datePickerV2/index.styled.d.ts +31 -0
- package/build/components/atoms/index.d.ts +1 -0
- package/build/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -1
- package/build/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +1 -0
- package/build/components/molecules/embeddedHeathToolCards/helpers.d.ts +1 -0
- package/build/components/molecules/healthTools/common.d.ts +18 -0
- package/build/components/molecules/healthTools/components/healthToolDatePicker/index.d.ts +20 -0
- package/build/components/molecules/index.d.ts +1 -1
- package/build/components.js +171 -157
- package/build/{constants-db94bbec.js → constants-7f5807e2.js} +1 -1
- package/build/{constants-9c92ac99.js → constants-b720b752.js} +1 -1
- package/build/constants.js +2 -2
- package/build/constantsRiskScreener.js +1 -1
- package/build/constantsSite.js +1 -1
- package/build/{core-f766176d.js → core-a5720d21.js} +1 -1
- package/build/{dataTransform-7082636e.js → dataTransform-4c9c49d9.js} +1 -1
- package/build/ecom.js +4 -4
- package/build/{editor-1288ad52.js → editor-d5cfbb0d.js} +11 -11
- package/build/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/embeddedHeathToolCards_babyPoop.js +21 -21
- package/build/embeddedHeathToolCards_babyVaccine.js +28 -23
- package/build/embeddedHeathToolCards_bmi_bmi.js +40 -34
- package/build/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/embeddedHeathToolCards_dueDate_dueDate.js +28 -23
- package/build/embeddedHeathToolCards_helpers.js +8 -6
- package/build/embeddedHeathToolCards_ovulation_ovulation.js +28 -23
- package/build/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/embeddedHeathToolCards_targetHeartRate.js +33 -28
- package/build/esm/{InputDate-6e39208b.js → InputDate-dc285ffa.js} +7 -7
- package/build/esm/{LastPeriod-183056b0.js → LastPeriod-aad684c6.js} +1 -1
- package/build/esm/{MobileBottomNavigationIcon-a2272251.js → MobileBottomNavigationIcon-193b1b7c.js} +3 -3
- package/build/esm/{SiteWideBanner-50495984.js → SiteWideBanner-ab1c0a3d.js} +13 -13
- package/build/esm/{Spinner-4149d426.js → Spinner-e71e2edb.js} +1 -1
- package/build/esm/{WhatsApp-257bb520.js → WhatsApp-f65e14ce.js} +1 -1
- package/build/esm/adapters.js +20 -20
- package/build/esm/atoms.js +56 -51
- package/build/esm/babyGrowth.js +85 -85
- 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/atoms/datePickerV2/Calendar.d.ts +6 -0
- package/build/esm/components/atoms/datePickerV2/DatePickerInput.d.ts +20 -0
- package/build/esm/components/atoms/datePickerV2/helpers.d.ts +33 -0
- package/build/esm/components/atoms/datePickerV2/index.d.ts +27 -0
- package/build/esm/components/atoms/datePickerV2/index.styled.d.ts +31 -0
- package/build/esm/components/atoms/index.d.ts +1 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/bmi/bmi.d.ts +2 -1
- package/build/esm/components/molecules/embeddedHeathToolCards/due-date/dueDate.d.ts +1 -0
- package/build/esm/components/molecules/embeddedHeathToolCards/helpers.d.ts +1 -0
- package/build/esm/components/molecules/healthTools/common.d.ts +18 -0
- package/build/esm/components/molecules/healthTools/components/healthToolDatePicker/index.d.ts +20 -0
- package/build/esm/components/molecules/index.d.ts +1 -1
- package/build/esm/components.js +114 -109
- package/build/esm/{constants-e9074c24.js → constants-61c57915.js} +1 -1
- package/build/esm/{constants-02901273.js → constants-f82bb245.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-23212ef2.js → core-dc1d2092.js} +1 -1
- package/build/esm/{dataTransform-778cd3ef.js → dataTransform-24c31287.js} +1 -1
- package/build/esm/ecom.js +4 -4
- package/build/esm/{editor-51c6ab7f.js → editor-57dce00b.js} +11 -11
- package/build/esm/embeddedHeathToolCards_babyGrowth.js +24 -24
- package/build/esm/embeddedHeathToolCards_babyPoop.js +21 -21
- package/build/esm/embeddedHeathToolCards_babyVaccine.js +28 -23
- package/build/esm/embeddedHeathToolCards_bmi_bmi.js +40 -34
- package/build/esm/embeddedHeathToolCards_bmrBmr.js +28 -28
- package/build/esm/embeddedHeathToolCards_dueDate_dueDate.js +28 -23
- package/build/esm/embeddedHeathToolCards_helpers.js +2 -7
- package/build/esm/embeddedHeathToolCards_ovulation_ovulation.js +28 -23
- package/build/esm/embeddedHeathToolCards_pwg_pwg.js +27 -27
- package/build/esm/embeddedHeathToolCards_targetHeartRate.js +33 -28
- package/build/esm/footer.js +22 -22
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{healthTools-6202ae58.js → healthTools-c3f9d3d6.js} +1 -1
- package/build/esm/healthToolsCardWrapper.js +19 -19
- package/build/esm/healthToolsForm.js +49 -44
- package/build/esm/helpers-087465a3.js +31 -0
- 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-021b4a79.js +543 -0
- package/build/esm/{index-1184f030.js → index-03803c9c.js} +2 -2
- package/build/esm/{index-f649b51f.js → index-0405f798.js} +6 -6
- package/build/esm/{index-8fb32013.js → index-051a3eb6.js} +2 -2
- package/build/esm/{index-52f91d02.js → index-070e470e.js} +7 -7
- package/build/esm/{index-e7c2cf9a.js → index-0712150e.js} +2 -2
- package/build/esm/{index-b9d6ae82.js → index-077eb3ee.js} +16 -16
- package/build/esm/{index-21bd3377.js → index-0bbeb90e.js} +33 -61
- package/build/esm/{index-72ef4bd7.js → index-0d085a51.js} +2 -2
- package/build/esm/{index-4e22812e.js → index-1054054a.js} +5 -5
- package/build/esm/{index-23a4bd81.js → index-15fa5512.js} +15 -15
- package/build/esm/{index-5375eb4d.js → index-1cff3352.js} +3 -3
- package/build/esm/{index-9cefd633.js → index-1d110e79.js} +1 -1
- package/build/esm/{index-18e92ec2.js → index-1e89dafe.js} +16 -16
- package/build/esm/{index-d0b3a132.js → index-2082a0cc.js} +7 -7
- package/build/esm/{index-f9634c10.js → index-21fef49e.js} +21 -23
- package/build/esm/{index-c257c93a.js → index-263dfb85.js} +2 -2
- package/build/esm/{index-52a87433.js → index-28469893.js} +12 -12
- package/build/esm/{index-5cf34dcc.js → index-2ba400f4.js} +2 -2
- package/build/esm/{index-1451adb4.js → index-2c3c424a.js} +3 -3
- package/build/esm/{index-e98cb26c.js → index-41c94113.js} +14 -14
- package/build/esm/{index-c258af48.js → index-4292a415.js} +2 -2
- package/build/esm/index-498f7878.js +55 -0
- package/build/esm/{index-9ca62747.js → index-499664bd.js} +5 -5
- package/build/esm/{index-bb049c6d.js → index-4a443d6f.js} +3 -3
- package/build/esm/{index-73384536.js → index-4b686d89.js} +31 -31
- package/build/esm/{index-658e788d.js → index-4bdc411f.js} +6 -6
- package/build/esm/{index-c4856541.js → index-4eb1e6c1.js} +14 -14
- package/build/esm/{index-908862a2.js → index-508e1911.js} +2 -2
- package/build/esm/{index-6271239c.js → index-52eac506.js} +7 -7
- package/build/esm/{index-f99307d8.js → index-58d8972a.js} +2 -2
- package/build/esm/{index-671b3b3f.js → index-615b60e4.js} +2 -2
- package/build/esm/{index-6e1ffe82.js → index-6af901ae.js} +31 -31
- package/build/esm/{index-c8ecca0a.js → index-71edf90f.js} +3 -3
- package/build/esm/{index-762f57c9.js → index-7e3781a4.js} +24 -24
- package/build/esm/{index-a71e34e6.js → index-7f80ae7d.js} +3 -3
- package/build/esm/{index-cdf32b80.js → index-8c3d307b.js} +21 -23
- package/build/esm/{index-9d2e6a1f.js → index-8e36255a.js} +2 -2
- package/build/esm/{index-12e7060b.js → index-940a863b.js} +6 -6
- package/build/esm/{index-70718aa4.js → index-94295267.js} +9 -9
- package/build/esm/{index-de82b7bf.js → index-96f3b73c.js} +17 -17
- package/build/esm/{index-f1fbfcc4.js → index-9a32267c.js} +1 -1
- package/build/esm/{index-cf5f1a4a.js → index-9e788d03.js} +1 -1
- package/build/esm/{index-351ff3dd.js → index-9f72c82e.js} +19 -19
- package/build/esm/{index-10f17701.js → index-a24345a9.js} +1 -1
- package/build/esm/{index-f0561210.js → index-a25a31a8.js} +1 -1
- package/build/esm/{index-50bc9f66.js → index-a6725306.js} +22 -24
- package/build/esm/{index-bfd2a793.js → index-aa9389fe.js} +3 -3
- package/build/esm/{index-79d58f00.js → index-ae563661.js} +7 -7
- package/build/esm/{index-c917904f.js → index-affe71d2.js} +3 -3
- package/build/esm/{index-9c66d982.js → index-b1a85df7.js} +2 -2
- package/build/esm/{index-bedafd4d.js → index-b6636fd0.js} +4 -4
- package/build/esm/{index-8beb6254.js → index-b68268ce.js} +16 -16
- package/build/esm/{index-146c3b8f.js → index-bb169580.js} +29 -29
- package/build/esm/{index-c93f4d6c.js → index-bba461a8.js} +13 -13
- package/build/esm/{index-9511e069.js → index-bca3ac36.js} +21 -21
- package/build/esm/{index-e37aaa01.js → index-c021d193.js} +2 -2
- package/build/esm/{index-db63bfc2.js → index-c5e9054e.js} +1 -1
- package/build/esm/{index-e6ca570a.js → index-cb3a0729.js} +13 -13
- package/build/esm/{index-794f95cb.js → index-cf4e1e30.js} +2 -2
- package/build/esm/{index-b78e3b4c.js → index-d322205c.js} +22 -22
- package/build/esm/{index-346d44b5.js → index-d4383f5a.js} +1 -1
- package/build/esm/{index-f84cb48a.js → index-ddda453a.js} +18 -18
- package/build/esm/{index-904ce25d.js → index-e3a24c70.js} +4 -4
- package/build/esm/{index-20210b3b.js → index-eaad9866.js} +20 -20
- package/build/esm/{index-353fb019.js → index-ec6f9262.js} +13 -13
- package/build/esm/{index-91cb311b.js → index-ed3c7e95.js} +2 -2
- package/build/esm/{index-513bf860.js → index-ef0cf068.js} +2 -2
- package/build/esm/{index-1de2c3cc.js → index-efbc6378.js} +34 -34
- package/build/esm/{index-36934467.js → index-f2a1c879.js} +3 -3
- package/build/esm/{index-8a909dde.js → index-f92ec463.js} +2 -2
- package/build/esm/{index-9199f963.js → index-f9b01762.js} +17 -17
- package/build/esm/{index-b9588ecd.js → index-fc2b9883.js} +5 -5
- package/build/esm/index.js +133 -128
- package/build/esm/{labelSorting-2876ebd7.js → labelSorting-73742ed7.js} +4 -4
- package/build/esm/lead.js +36 -36
- package/build/esm/{logoIcon-d86d3e4e.js → logoIcon-6a4cb7fc.js} +2 -2
- package/build/esm/mantine.js +26 -26
- 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 +87 -82
- package/build/esm/moleculesArticleCard.js +5 -5
- package/build/esm/moleculesArticleCardV2.js +17 -17
- package/build/esm/navigation.js +50 -50
- package/build/esm/navigationLogoutPopup.js +10 -10
- package/build/esm/navigationProfileButton.js +26 -26
- package/build/esm/onboardingV2.js +29 -29
- package/build/esm/organisms.js +63 -63
- package/build/esm/{post-79dbcaf8.js → post-50cba4fb.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/index.d.ts +10 -1
- package/build/esm/ssoV2/phoneVerifyConflict.d.ts +18 -0
- package/build/esm/ssoV2/ssoDismiss.d.ts +18 -0
- package/build/esm/ssoV2/ssoStateManager/store.d.ts +17 -0
- package/build/esm/ssoV2.js +139 -51
- package/build/esm/{store-e8671705.js → store-08b33280.js} +52 -35
- package/build/esm/subot/subotInlineRevamp/utils.d.ts +18 -0
- package/build/esm/subot.js +277 -131
- package/build/esm/surveyOrPremiumBanner.js +33 -33
- package/build/esm/surveyQuestionCard.js +11 -11
- package/build/esm/{surveyThankyouCard-ad00aaa6.js → surveyThankyouCard-03fe03b7.js} +5 -5
- package/build/esm/together/interfaces/types.d.ts +5 -0
- package/build/esm/together.js +57 -57
- package/build/esm/togetherApiUtils.js +6 -6
- package/build/esm/togetherAtoms.js +30 -30
- package/build/esm/togetherComponentGlobalContext.js +6 -6
- package/build/esm/togetherMolecules.js +51 -51
- package/build/esm/togetherMoleculesCardAuthor.js +28 -28
- package/build/esm/togetherMoleculesPostImagePreview.js +13 -13
- package/build/esm/togetherMoleculesProfileDetail.js +39 -39
- package/build/esm/togetherOrganisms.js +50 -50
- package/build/esm/togetherRichTextEditor.js +20 -20
- package/build/esm/togetherShareBox.js +12 -12
- package/build/esm/{transform-e6b60164.js → transform-09fb7fb3.js} +40 -45
- package/build/esm/{translationsProvider-2251f83e.js → translationsProvider-edda5721.js} +1 -1
- package/build/esm/{treePopoverMenu-44ecfb21.js → treePopoverMenu-e908b23f.js} +18 -18
- package/build/esm/{types-7eaccf70.js → types-4320e1c4.js} +1 -1
- package/build/esm/types.js +1 -1
- package/build/esm/{useCartCareService-2561ea09.js → useCartCareService-8a6d43f2.js} +1 -1
- package/build/esm/{useHealthToolCache-48928f66.js → useHealthToolCache-4f4b8eaf.js} +1 -1
- package/build/esm/{usePhoneValidator-89435b8d.js → usePhoneValidator-787b3dda.js} +4 -4
- package/build/esm/{usePlacesAutocomplete-476d8fe2.js → usePlacesAutocomplete-a4fd7c40.js} +1 -1
- package/build/esm/{useResolvedCaptureUrls-f065f5ae.js → useResolvedCaptureUrls-fd848e28.js} +1 -1
- package/build/esm/useTogetherAuthRequiredAction.js +9 -9
- package/build/esm/{utils-e4361e09.js → utils-97217c90.js} +2 -2
- package/build/esm/{utils-e6d6df3b.js → utils-9e796ea9.js} +5 -5
- package/build/esm/{utils-d75af55c.js → utils-af8986d8.js} +1 -1
- package/build/esm/{utils-f2c8141d.js → utils-b4ae6998.js} +4 -4
- package/build/esm/{utils-4aeb889a.js → utils-c42eab87.js} +4 -4
- package/build/esm/vaccination.js +21 -21
- package/build/footer.js +22 -22
- package/build/gAssets.js +1 -1
- package/build/{healthTools-ca7a5d43.js → healthTools-ba259239.js} +1 -1
- package/build/healthToolsCardWrapper.js +19 -19
- package/build/healthToolsForm.js +49 -44
- package/build/helpers-8006e1ea.js +38 -0
- package/build/hooks.js +14 -14
- package/build/i18n.js +2 -2
- package/build/i18nV2.js +1 -1
- package/build/{index-9ec0cffe.js → index-015e0538.js} +1 -1
- package/build/{index-523fb746.js → index-0186712b.js} +2 -2
- package/build/{index-f329e7f7.js → index-04a5b049.js} +1 -1
- package/build/{index-177d6b04.js → index-04bfce8d.js} +4 -4
- package/build/index-05e1b90b.js +61 -0
- package/build/{index-b4f99103.js → index-085f73be.js} +17 -17
- package/build/{index-01da09ab.js → index-08621352.js} +5 -5
- package/build/{index-1a367679.js → index-09c0dcd5.js} +14 -14
- package/build/{index-2add1c1e.js → index-09d57afd.js} +3 -3
- package/build/{index-18a9d890.js → index-10677690.js} +34 -34
- package/build/{index-1063ece9.js → index-124b7935.js} +2 -2
- package/build/{index-bcbe1933.js → index-14ac68a9.js} +18 -18
- package/build/{index-b086dd2b.js → index-1802e810.js} +14 -14
- package/build/{index-e933aea7.js → index-1eb75bba.js} +3 -3
- package/build/{index-d32e1388.js → index-22700229.js} +3 -3
- package/build/{index-91d7b888.js → index-23a520ac.js} +22 -22
- package/build/{index-742f546c.js → index-289fa70e.js} +2 -2
- package/build/{index-6125b213.js → index-2ae99769.js} +2 -2
- package/build/{index-5dde95b0.js → index-3685fe0f.js} +2 -2
- package/build/{index-2087185c.js → index-378b92be.js} +16 -16
- package/build/{index-a010b836.js → index-43218f34.js} +3 -3
- package/build/{index-a5a79577.js → index-4c18c21d.js} +5 -5
- package/build/{index-771c2016.js → index-4cf8f64c.js} +16 -16
- package/build/{index-c0cfd756.js → index-503b0b29.js} +12 -12
- package/build/{index-a7298f68.js → index-5426a65b.js} +6 -6
- package/build/{index-40b30c51.js → index-5df017e0.js} +1 -1
- package/build/{index-273307da.js → index-605a1ab2.js} +33 -61
- package/build/{index-f53241d8.js → index-61785cf1.js} +21 -21
- package/build/{index-0ef6baaf.js → index-620439c1.js} +1 -1
- package/build/{index-1aef3f36.js → index-6f0eb022.js} +4 -4
- package/build/{index-43e702aa.js → index-7486130e.js} +5 -5
- package/build/{index-07f2c258.js → index-757232ea.js} +17 -17
- package/build/{index-d19a4627.js → index-7d030dc8.js} +3 -3
- package/build/{index-95e097b6.js → index-7f90707b.js} +2 -2
- package/build/{index-1e7bd5b2.js → index-821ab617.js} +2 -2
- package/build/{index-f0175001.js → index-83144e6b.js} +2 -2
- package/build/{index-9fd967d1.js → index-87eefd6b.js} +2 -2
- package/build/{index-14a9eb86.js → index-8bb304f8.js} +2 -2
- package/build/{index-075c7c9c.js → index-8c13bedf.js} +2 -2
- package/build/{index-b388c399.js → index-8c774ae5.js} +8 -8
- package/build/{index-9ed771ec.js → index-8d7dd2eb.js} +14 -14
- package/build/{index-821aaa28.js → index-8db9eaf5.js} +1 -1
- package/build/{index-0f7ba91c.js → index-8f051e91.js} +31 -31
- package/build/{index-8fae2b8f.js → index-902f7c79.js} +2 -2
- package/build/{index-0997422b.js → index-9226664c.js} +2 -2
- package/build/{index-5a67a69a.js → index-9956588d.js} +21 -23
- package/build/{index-85558956.js → index-99947f60.js} +7 -7
- package/build/{index-32d4bfd2.js → index-9a96b2b9.js} +20 -20
- package/build/{index-926ac7ab.js → index-a2a1b7dc.js} +3 -3
- package/build/{index-849069c2.js → index-a2c3040c.js} +13 -13
- package/build/{index-2f3e9748.js → index-a5893adc.js} +2 -2
- package/build/{index-2b99975a.js → index-ab73171c.js} +13 -13
- package/build/{index-4e5bdbe6.js → index-afa28e59.js} +15 -15
- package/build/{index-bf9f580e.js → index-b142d204.js} +30 -30
- package/build/{index-5c375c62.js → index-b44e18be.js} +16 -16
- package/build/{index-2191645e.js → index-bcd14e93.js} +24 -24
- package/build/{index-23abdc72.js → index-c17b46f3.js} +20 -20
- package/build/{index-597603d4.js → index-c237514e.js} +2 -2
- package/build/{index-ee069894.js → index-c42119e3.js} +7 -7
- package/build/{index-1623c4f5.js → index-c5d21800.js} +2 -2
- package/build/{index-226b48ab.js → index-c8708758.js} +9 -9
- package/build/{index-df9d7260.js → index-cc74bc29.js} +31 -31
- package/build/{index-1d81a574.js → index-cd04169d.js} +6 -6
- package/build/{index-12dabf7b.js → index-da06bd6c.js} +7 -7
- package/build/{index-87e052af.js → index-db11d386.js} +2 -2
- package/build/{index-20d85026.js → index-dcc64527.js} +7 -7
- package/build/{index-cf6f3108.js → index-e29a8657.js} +1 -1
- package/build/{index-b2535512.js → index-e62e9102.js} +3 -3
- package/build/index-e656519f.js +574 -0
- package/build/{index-135d8ff2.js → index-f2dd58a8.js} +1 -1
- package/build/{index-912a45b4.js → index-f5560406.js} +22 -24
- package/build/{index-afdd332d.js → index-ff5477b2.js} +3 -3
- package/build/{index-421ae364.js → index-ffc49c9c.js} +21 -23
- package/build/index.js +234 -220
- package/build/{labelSorting-a219f387.js → labelSorting-ce7d6324.js} +4 -4
- package/build/lead.js +36 -36
- package/build/{logoIcon-fc4f478b.js → logoIcon-a19bc31e.js} +2 -2
- package/build/mantine.js +24 -24
- 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 +92 -84
- package/build/moleculesArticleCard.js +5 -5
- package/build/moleculesArticleCardV2.js +17 -17
- package/build/navigation.js +50 -50
- package/build/navigationLogoutPopup.js +10 -10
- package/build/navigationProfileButton.js +26 -26
- package/build/onboardingV2.js +28 -28
- package/build/organisms.js +63 -63
- package/build/{post-1cc3827e.js → post-5629f9ee.js} +2 -2
- package/build/profileNavigation.js +19 -19
- package/build/progressBar.js +1 -1
- package/build/pwg.js +22 -22
- package/build/ssoV2/index.d.ts +10 -1
- package/build/ssoV2/phoneVerifyConflict.d.ts +18 -0
- package/build/ssoV2/ssoDismiss.d.ts +18 -0
- package/build/ssoV2/ssoStateManager/store.d.ts +17 -0
- package/build/ssoV2.js +137 -49
- package/build/{store-d844608d.js → store-be38b7d9.js} +52 -35
- package/build/subot/subotInlineRevamp/utils.d.ts +18 -0
- package/build/subot.js +282 -130
- package/build/surveyOrPremiumBanner.js +33 -33
- package/build/surveyQuestionCard.js +11 -11
- package/build/{surveyThankyouCard-1d8cf859.js → surveyThankyouCard-752fac3f.js} +5 -5
- package/build/together/interfaces/types.d.ts +5 -0
- package/build/together.js +57 -57
- package/build/togetherApiUtils.js +6 -6
- package/build/togetherAtoms.js +30 -30
- package/build/togetherComponentGlobalContext.js +6 -6
- package/build/togetherMolecules.js +51 -51
- package/build/togetherMoleculesCardAuthor.js +28 -28
- package/build/togetherMoleculesPostImagePreview.js +13 -13
- package/build/togetherMoleculesProfileDetail.js +39 -39
- package/build/togetherOrganisms.js +50 -50
- package/build/togetherRichTextEditor.js +20 -20
- package/build/togetherShareBox.js +12 -12
- package/build/{transform-16f1f623.js → transform-2597e86b.js} +40 -47
- package/build/{translationsProvider-7f20f84d.js → translationsProvider-5b549dc1.js} +1 -1
- package/build/{treePopoverMenu-7d5203c4.js → treePopoverMenu-21db7598.js} +18 -18
- package/build/{types-5a399b55.js → types-8b0bbb32.js} +1 -1
- package/build/types.js +1 -1
- package/build/{useCartCareService-3a922f59.js → useCartCareService-ace12c1c.js} +1 -1
- package/build/{useHealthToolCache-80115703.js → useHealthToolCache-1ca665ec.js} +1 -1
- package/build/{usePhoneValidator-a1c693c4.js → usePhoneValidator-bd409a80.js} +4 -4
- package/build/{usePlacesAutocomplete-f33a811e.js → usePlacesAutocomplete-b91e15d0.js} +1 -1
- package/build/{useResolvedCaptureUrls-dd10e0e8.js → useResolvedCaptureUrls-f621581a.js} +1 -1
- package/build/useTogetherAuthRequiredAction.js +9 -9
- package/build/{utils-1aa31278.js → utils-315f1e3e.js} +2 -2
- package/build/{utils-b500bd16.js → utils-3b168b50.js} +1 -1
- package/build/{utils-0ee3e792.js → utils-4d355000.js} +4 -4
- package/build/{utils-260db2f3.js → utils-c66017ae.js} +5 -5
- package/build/{utils-ca6cc1e2.js → utils-e3f33c1d.js} +4 -4
- package/build/vaccination.js +21 -21
- package/package.json +4 -2
- /package/build/{BMI_BOYS.percentile.monthly-7a335916.js → BMI_BOYS.percentile.monthly-030e5efa.js} +0 -0
- /package/build/{BMI_BOYS.percentile.weekly-8c4fef13.js → BMI_BOYS.percentile.weekly-d4292732.js} +0 -0
- /package/build/{BMI_BOYS.percentile.yearly-b265c416.js → BMI_BOYS.percentile.yearly-d78d7e2d.js} +0 -0
- /package/build/{BMI_BOYS.zscore.monthly-889bc073.js → BMI_BOYS.zscore.monthly-c578afc2.js} +0 -0
- /package/build/{BMI_BOYS.zscore.weekly-9cbce300.js → BMI_BOYS.zscore.weekly-2e1bc3b4.js} +0 -0
- /package/build/{BMI_BOYS.zscore.yearly-18e05e84.js → BMI_BOYS.zscore.yearly-1df2d57a.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.monthly-32435a09.js → BMI_GIRLS.percentile.monthly-c0842f95.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.weekly-d7dc3e09.js → BMI_GIRLS.percentile.weekly-3819f1ca.js} +0 -0
- /package/build/{BMI_GIRLS.percentile.yearly-383398db.js → BMI_GIRLS.percentile.yearly-abdefba2.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.monthly-1afc1815.js → BMI_GIRLS.zscore.monthly-332faeae.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.weekly-996e85c6.js → BMI_GIRLS.zscore.weekly-5e1f5133.js} +0 -0
- /package/build/{BMI_GIRLS.zscore.yearly-48121995.js → BMI_GIRLS.zscore.yearly-73035b4c.js} +0 -0
- /package/build/{ChevronDown-cfaa5f37.js → ChevronDown-e31955ed.js} +0 -0
- /package/build/{Google-ca3ed617.js → Google-74be780a.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.monthly-69c2b1b5.js → HEAD CIRCUM_BOYS.percentile.monthly-9cda4ba0.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.weekly-845e68e8.js → HEAD CIRCUM_BOYS.percentile.weekly-3cb0e6b4.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.percentile.yearly-593a9857.js → HEAD CIRCUM_BOYS.percentile.yearly-eab052ff.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.monthly-dd1ac392.js → HEAD CIRCUM_BOYS.zscore.monthly-dd5c265d.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.weekly-9dd699dc.js → HEAD CIRCUM_BOYS.zscore.weekly-ff968578.js} +0 -0
- /package/build/{HEAD CIRCUM_BOYS.zscore.yearly-0d4ebda7.js → HEAD CIRCUM_BOYS.zscore.yearly-2d0cfe7f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.monthly-026b4b65.js → HEAD CIRCUM_GIRLS.percentile.monthly-cecae31f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.weekly-45672230.js → HEAD CIRCUM_GIRLS.percentile.weekly-1cb4370f.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.percentile.yearly-bce812ad.js → HEAD CIRCUM_GIRLS.percentile.yearly-fc8a479c.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.monthly-24394b6e.js → HEAD CIRCUM_GIRLS.zscore.monthly-2e3339df.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.weekly-7f504018.js → HEAD CIRCUM_GIRLS.zscore.weekly-bf892c08.js} +0 -0
- /package/build/{HEAD CIRCUM_GIRLS.zscore.yearly-4733c33d.js → HEAD CIRCUM_GIRLS.zscore.yearly-52c32e02.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.monthly-3d7f65c9.js → HEIGHT_BOYS.percentile.monthly-43bc9888.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.weekly-5439e48b.js → HEIGHT_BOYS.percentile.weekly-5f91ec5f.js} +0 -0
- /package/build/{HEIGHT_BOYS.percentile.yearly-c203bed3.js → HEIGHT_BOYS.percentile.yearly-85934dae.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.monthly-8271f5c8.js → HEIGHT_BOYS.zscore.monthly-83d4f853.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.weekly-bfba099e.js → HEIGHT_BOYS.zscore.weekly-12b7a250.js} +0 -0
- /package/build/{HEIGHT_BOYS.zscore.yearly-52dbe5a8.js → HEIGHT_BOYS.zscore.yearly-c8c025f6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.monthly-1c8181d0.js → HEIGHT_GIRLS.percentile.monthly-c0a0acf0.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.weekly-f079f13e.js → HEIGHT_GIRLS.percentile.weekly-93c21d04.js} +0 -0
- /package/build/{HEIGHT_GIRLS.percentile.yearly-d266800c.js → HEIGHT_GIRLS.percentile.yearly-df117701.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.monthly-41ca67ef.js → HEIGHT_GIRLS.zscore.monthly-681cee8a.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.weekly-e48478f0.js → HEIGHT_GIRLS.zscore.weekly-894c07d6.js} +0 -0
- /package/build/{HEIGHT_GIRLS.zscore.yearly-793193e2.js → HEIGHT_GIRLS.zscore.yearly-17d1c8d6.js} +0 -0
- /package/build/{Visible-e6fd31fe.js → Visible-240f2ac6.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.monthly-539260bf.js → WEIGHT_BOYS.percentile.monthly-52c3b359.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.weekly-6399c894.js → WEIGHT_BOYS.percentile.weekly-67558d74.js} +0 -0
- /package/build/{WEIGHT_BOYS.percentile.yearly-0b4506a0.js → WEIGHT_BOYS.percentile.yearly-01bb994b.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.monthly-b02535fc.js → WEIGHT_BOYS.zscore.monthly-8979c242.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.weekly-6a440e5e.js → WEIGHT_BOYS.zscore.weekly-be17b4b9.js} +0 -0
- /package/build/{WEIGHT_BOYS.zscore.yearly-5bdd7652.js → WEIGHT_BOYS.zscore.yearly-e1491484.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.monthly-544b48b4.js → WEIGHT_GIRLS.percentile.monthly-8285cbfd.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.weekly-2f89e0a2.js → WEIGHT_GIRLS.percentile.weekly-999ff665.js} +0 -0
- /package/build/{WEIGHT_GIRLS.percentile.yearly-e1fee70f.js → WEIGHT_GIRLS.percentile.yearly-5d745551.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.monthly-b255d997.js → WEIGHT_GIRLS.zscore.monthly-08abf613.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.weekly-5bc5ee2b.js → WEIGHT_GIRLS.zscore.weekly-b2457e48.js} +0 -0
- /package/build/{WEIGHT_GIRLS.zscore.yearly-969f7d88.js → WEIGHT_GIRLS.zscore.yearly-14984ece.js} +0 -0
- /package/build/{ageGenerate-70274de8.js → ageGenerate-547857b7.js} +0 -0
- /package/build/{animation-545c3845.js → animation-acacae7f.js} +0 -0
- /package/build/{constants-e2534f67.js → constants-5654853a.js} +0 -0
- /package/build/{constants-5c34eb19.js → constants-d35c3228.js} +0 -0
- /package/build/{constants-879264ec.js → constants-e91cf62f.js} +0 -0
- /package/build/{context-1ed1d238.js → context-f50b241f.js} +0 -0
- /package/build/{dataTransform-ccd3d254.js → dataTransform-88ffec1a.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.monthly-0b5b180c.js → BMI_BOYS.percentile.monthly-c93dc9c0.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.weekly-b070fd21.js → BMI_BOYS.percentile.weekly-e400a135.js} +0 -0
- /package/build/esm/{BMI_BOYS.percentile.yearly-8f711651.js → BMI_BOYS.percentile.yearly-9ce65b51.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.monthly-a4e99b76.js → BMI_BOYS.zscore.monthly-e9bf26a9.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.weekly-8ce08c86.js → BMI_BOYS.zscore.weekly-9a07be03.js} +0 -0
- /package/build/esm/{BMI_BOYS.zscore.yearly-9f487efb.js → BMI_BOYS.zscore.yearly-a0fac7ab.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.monthly-20d86c35.js → BMI_GIRLS.percentile.monthly-b9e15c03.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.weekly-be2e5522.js → BMI_GIRLS.percentile.weekly-68558617.js} +0 -0
- /package/build/esm/{BMI_GIRLS.percentile.yearly-ab0a7178.js → BMI_GIRLS.percentile.yearly-38fb429a.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.monthly-0e994dff.js → BMI_GIRLS.zscore.monthly-1e8210e9.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.weekly-b3c834c6.js → BMI_GIRLS.zscore.weekly-e536a67d.js} +0 -0
- /package/build/esm/{BMI_GIRLS.zscore.yearly-e7c1d220.js → BMI_GIRLS.zscore.yearly-38b904d1.js} +0 -0
- /package/build/esm/{ChevronDown-cf7a70be.js → ChevronDown-1e5242be.js} +0 -0
- /package/build/esm/{Google-6f30a87a.js → Google-784308ab.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.monthly-a018ba09.js → HEAD CIRCUM_BOYS.percentile.monthly-3b944691.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.weekly-d0888d5f.js → HEAD CIRCUM_BOYS.percentile.weekly-c6dd72a1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.percentile.yearly-f6049e93.js → HEAD CIRCUM_BOYS.percentile.yearly-a954d98f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.monthly-4c3676e5.js → HEAD CIRCUM_BOYS.zscore.monthly-12aeb185.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.weekly-8d968dc3.js → HEAD CIRCUM_BOYS.zscore.weekly-94742f8f.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_BOYS.zscore.yearly-1ad17b59.js → HEAD CIRCUM_BOYS.zscore.yearly-3c75af9c.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.monthly-00188cf9.js → HEAD CIRCUM_GIRLS.percentile.monthly-24fcee72.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.weekly-7b9cef12.js → HEAD CIRCUM_GIRLS.percentile.weekly-c1b97bc8.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.percentile.yearly-a7534ab8.js → HEAD CIRCUM_GIRLS.percentile.yearly-8a036b97.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.monthly-7a014836.js → HEAD CIRCUM_GIRLS.zscore.monthly-2006bbe1.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.weekly-f7bb13a4.js → HEAD CIRCUM_GIRLS.zscore.weekly-085f4704.js} +0 -0
- /package/build/esm/{HEAD CIRCUM_GIRLS.zscore.yearly-1c571a77.js → HEAD CIRCUM_GIRLS.zscore.yearly-1a4fcece.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.monthly-3f81f2e6.js → HEIGHT_BOYS.percentile.monthly-f5c0cfc1.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.weekly-e1c7b47e.js → HEIGHT_BOYS.percentile.weekly-178695b5.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.percentile.yearly-32a74cc8.js → HEIGHT_BOYS.percentile.yearly-0ca79351.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.monthly-afac958e.js → HEIGHT_BOYS.zscore.monthly-21709796.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.weekly-b683490f.js → HEIGHT_BOYS.zscore.weekly-9ac0561b.js} +0 -0
- /package/build/esm/{HEIGHT_BOYS.zscore.yearly-3bc5cfcd.js → HEIGHT_BOYS.zscore.yearly-c8f894d8.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.monthly-1555c683.js → HEIGHT_GIRLS.percentile.monthly-107d172c.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.weekly-ac266729.js → HEIGHT_GIRLS.percentile.weekly-8b4f840a.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.percentile.yearly-b2a33450.js → HEIGHT_GIRLS.percentile.yearly-0ce65bac.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.monthly-c59d7023.js → HEIGHT_GIRLS.zscore.monthly-5dff43e2.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.weekly-3bc0b400.js → HEIGHT_GIRLS.zscore.weekly-a4ed8005.js} +0 -0
- /package/build/esm/{HEIGHT_GIRLS.zscore.yearly-11ebfac2.js → HEIGHT_GIRLS.zscore.yearly-a5cd5cf8.js} +0 -0
- /package/build/esm/{Visible-9531b61a.js → Visible-a9081b14.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.monthly-a56b2d16.js → WEIGHT_BOYS.percentile.monthly-5c277828.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.weekly-c8549ae9.js → WEIGHT_BOYS.percentile.weekly-344ba281.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.percentile.yearly-21b55b63.js → WEIGHT_BOYS.percentile.yearly-9df288a3.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.monthly-f86871d6.js → WEIGHT_BOYS.zscore.monthly-e7034b6e.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.weekly-5af8c3a2.js → WEIGHT_BOYS.zscore.weekly-5e9945f8.js} +0 -0
- /package/build/esm/{WEIGHT_BOYS.zscore.yearly-86a5dc0a.js → WEIGHT_BOYS.zscore.yearly-e2140e86.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.monthly-a7bad001.js → WEIGHT_GIRLS.percentile.monthly-cf15dbd0.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.weekly-03afc028.js → WEIGHT_GIRLS.percentile.weekly-b1982fdd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.percentile.yearly-02eb5aaf.js → WEIGHT_GIRLS.percentile.yearly-76a88ccd.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.monthly-23b8102a.js → WEIGHT_GIRLS.zscore.monthly-21aeed2c.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.weekly-387726b9.js → WEIGHT_GIRLS.zscore.weekly-b7a797c9.js} +0 -0
- /package/build/esm/{WEIGHT_GIRLS.zscore.yearly-8e2739a7.js → WEIGHT_GIRLS.zscore.yearly-4bf21526.js} +0 -0
- /package/build/esm/{ageGenerate-c1872d67.js → ageGenerate-77f841e5.js} +0 -0
- /package/build/esm/{animation-ac253c4a.js → animation-d55ddb4b.js} +0 -0
- /package/build/esm/{constants-2f160865.js → constants-c30e43f8.js} +0 -0
- /package/build/esm/{constants-5f6b363c.js → constants-de1deeec.js} +0 -0
- /package/build/esm/{constants-3d1898d5.js → constants-f72ffa06.js} +0 -0
- /package/build/esm/{context-d599e7dc.js → context-6551e39b.js} +0 -0
- /package/build/esm/{dataTransform-5a962134.js → dataTransform-7c154871.js} +0 -0
- /package/build/esm/{index-62f1463f.js → index-02497cee.js} +0 -0
- /package/build/esm/{index-407dcda5.js → index-1a077c98.js} +0 -0
- /package/build/esm/{index-d7c385e9.js → index-7acbe390.js} +0 -0
- /package/build/esm/{index-21130e1b.js → index-9b8b5999.js} +0 -0
- /package/build/esm/{index-32875b05.js → index-ab0d6f8d.js} +0 -0
- /package/build/esm/{index-4477435c.js → index-b41f3450.js} +0 -0
- /package/build/esm/{index-47ba3e18.js → index-b94a275e.js} +0 -0
- /package/build/esm/{index-53bd0bdf.js → index-ca3aee2a.js} +0 -0
- /package/build/esm/{index-1c980507.js → index-cb5cde3e.js} +0 -0
- /package/build/esm/{index.styles-b0090ff0.js → index.styles-6a730dce.js} +0 -0
- /package/build/esm/{localizeNumberFormat-1f1e811d.js → localizeNumberFormat-539b694c.js} +0 -0
- /package/build/esm/{number-107806ff.js → number-74e3a97c.js} +0 -0
- /package/build/esm/{paths-1cfcec63.js → paths-2217da0d.js} +0 -0
- /package/build/esm/{routing-ea8d670a.js → routing-53badcf1.js} +0 -0
- /package/build/esm/{shared-b3ef7840.js → shared-fe9ae3ca.js} +0 -0
- /package/build/esm/{translationsContext-76fa891e.js → translationsContext-2ade78b3.js} +0 -0
- /package/build/esm/{tslib.es6-f8676dd9.js → tslib.es6-927b689c.js} +0 -0
- /package/build/esm/{types-5434e92d.js → types-4b2c41cb.js} +0 -0
- /package/build/esm/{useImageAspectRatio-3e071148.js → useImageAspectRatio-22232a85.js} +0 -0
- /package/build/esm/{useOutsideClick-aec33dda.js → useOutsideClick-7ba59094.js} +0 -0
- /package/build/esm/{useScrollbarSize-e34ea237.js → useScrollbarSize-4a3390fc.js} +0 -0
- /package/build/esm/{useUniqueId-700011ed.js → useUniqueId-979170e8.js} +0 -0
- /package/build/esm/{utils-d418c7c0.js → utils-079acf1d.js} +0 -0
- /package/build/esm/{utils-835c2ec3.js → utils-74662a31.js} +0 -0
- /package/build/{index-6668a83f.js → index-0e30a1dc.js} +0 -0
- /package/build/{index-72a354b2.js → index-1baf719e.js} +0 -0
- /package/build/{index-f95654ce.js → index-566e0fbe.js} +0 -0
- /package/build/{index-f52bbbfa.js → index-8e41ed67.js} +0 -0
- /package/build/{index-688d1f65.js → index-9b461764.js} +0 -0
- /package/build/{index-11bf8414.js → index-abc6d843.js} +0 -0
- /package/build/{index-524d268b.js → index-cb09699a.js} +0 -0
- /package/build/{index-3511d6a1.js → index-cdec1f55.js} +0 -0
- /package/build/{index-e1172b9b.js → index-f73b051f.js} +0 -0
- /package/build/{index.styles-0b3a8242.js → index.styles-e9e9cd08.js} +0 -0
- /package/build/{localizeNumberFormat-44ed977f.js → localizeNumberFormat-1825819b.js} +0 -0
- /package/build/{number-e6c2753e.js → number-942634c3.js} +0 -0
- /package/build/{paths-25e926f2.js → paths-376457b1.js} +0 -0
- /package/build/{routing-12e9d94b.js → routing-1b93216e.js} +0 -0
- /package/build/{shared-07989997.js → shared-ff27b86b.js} +0 -0
- /package/build/{translationsContext-3fabf462.js → translationsContext-03fca8d3.js} +0 -0
- /package/build/{tslib.es6-8606a9a8.js → tslib.es6-7d52d73f.js} +0 -0
- /package/build/{types-0ee94296.js → types-deb22294.js} +0 -0
- /package/build/{useImageAspectRatio-7b6f55e8.js → useImageAspectRatio-734f87c3.js} +0 -0
- /package/build/{useOutsideClick-eacb034a.js → useOutsideClick-1f95d35f.js} +0 -0
- /package/build/{useScrollbarSize-527836e9.js → useScrollbarSize-8b7cf43f.js} +0 -0
- /package/build/{useUniqueId-064a28fa.js → useUniqueId-86b3f805.js} +0 -0
- /package/build/{utils-fac8b1d4.js → utils-7a22813e.js} +0 -0
- /package/build/{utils-19268855.js → utils-faa50102.js} +0 -0
package/build/esm/subot.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import React__default, { createContext, useContext, useRef, useState, useEffect, useCallback, useMemo, forwardRef, useImperativeHandle, memo, useLayoutEffect } from 'react';
|
|
2
|
-
import { d as NodeType, E as ELEMENT_CONTROL_INPUT_TYPE, f as NodeActionType, c as NodePosition, e as NodeFinalTypes, g as NodeMultipleOptions, N as NodeIntentType, L as LOCALE, F as FULL_KEY_ADDRESS, C as COMMON_DATE_TRANSLATE_KEY, h as SubotType } from './index-
|
|
3
|
-
import { _ as __awaiter, a as __rest } from './tslib.es6-
|
|
4
|
-
import { b as basePath, G as GA_TOKEN_COOKIE, A as API_DATE_FORMAT, I as ISO_FORMAT, l as SSO_URL } from './index-
|
|
2
|
+
import { d as NodeType, E as ELEMENT_CONTROL_INPUT_TYPE, f as NodeActionType, c as NodePosition, e as NodeFinalTypes, g as NodeMultipleOptions, N as NodeIntentType, L as LOCALE, F as FULL_KEY_ADDRESS, C as COMMON_DATE_TRANSLATE_KEY, h as SubotType } from './index-ab0d6f8d.js';
|
|
3
|
+
import { _ as __awaiter, a as __rest } from './tslib.es6-927b689c.js';
|
|
4
|
+
import { b as basePath, G as GA_TOKEN_COOKIE, A as API_DATE_FORMAT, I as ISO_FORMAT, l as SSO_URL } from './index-a24345a9.js';
|
|
5
5
|
import Cookies from 'js-cookie';
|
|
6
6
|
import fd from 'fastdom';
|
|
7
7
|
import fastdomPromised from 'fastdom/extensions/fastdom-promised';
|
|
8
|
-
import { G as GlobalData, c as callApi, u as locale, T as TogetherComponentGlobalContext } from './utils-
|
|
8
|
+
import { G as GlobalData, c as callApi, u as locale, T as TogetherComponentGlobalContext } from './utils-c42eab87.js';
|
|
9
9
|
import formatString from 'string-format';
|
|
10
|
-
import { b as getUserIdFromCookie, d as getSubotCookieId, e as getUserInfoFromCookie, f as getWindowId, o as overrideParamsByQuery, c as checkUntilFinished, g as getHelloSitesUrl, h as checkMobile, i as clickAndOpenInNewTab, j as formatUrlWithEncrypedGa, T as TIME_RESET_RESEND_OTP, k as isFakeEmail, s as ssoIntents, l as getHhgIdFromCookie } from './index-
|
|
11
|
-
export { T as TIME_RESET_RESEND_OTP, h as checkMobile, c as checkUntilFinished, i as clickAndOpenInNewTab, j as formatUrlWithEncrypedGa, g as getHelloSitesUrl, l as getHhgIdFromCookie, d as getSubotCookieId, b as getUserIdFromCookie, e as getUserInfoFromCookie, f as getWindowId, k as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-
|
|
10
|
+
import { b as getUserIdFromCookie, d as getSubotCookieId, e as getUserInfoFromCookie, f as getWindowId, o as overrideParamsByQuery, c as checkUntilFinished, g as getHelloSitesUrl, h as checkMobile, i as clickAndOpenInNewTab, j as formatUrlWithEncrypedGa, T as TIME_RESET_RESEND_OTP, k as isFakeEmail, s as ssoIntents, l as getHhgIdFromCookie } from './index-0d085a51.js';
|
|
11
|
+
export { T as TIME_RESET_RESEND_OTP, h as checkMobile, c as checkUntilFinished, i as clickAndOpenInNewTab, j as formatUrlWithEncrypedGa, g as getHelloSitesUrl, l as getHhgIdFromCookie, d as getSubotCookieId, b as getUserIdFromCookie, e as getUserInfoFromCookie, f as getWindowId, k as isFakeEmail, o as overrideParamsByQuery, s as ssoIntents } from './index-0d085a51.js';
|
|
12
12
|
import dayjs from 'dayjs';
|
|
13
13
|
import { domainLocales } from './constantsDomainLocales.js';
|
|
14
14
|
import { Box, Textarea, clsx, Stack, Flex, Skeleton } from '@mantine/core';
|
|
15
|
-
import
|
|
16
|
-
import { C as Container$w } from './index-
|
|
17
|
-
import { L as Loading } from './index-
|
|
15
|
+
import cn from 'classnames';
|
|
16
|
+
import { C as Container$w } from './index-cb5cde3e.js';
|
|
17
|
+
import { L as Loading } from './index-f92ec463.js';
|
|
18
18
|
import { motion } from 'framer-motion';
|
|
19
19
|
import styled from '@emotion/styled';
|
|
20
|
-
import { M as MediaQueries } from './utils-
|
|
21
|
-
import { B as Button } from './index-
|
|
20
|
+
import { M as MediaQueries } from './utils-079acf1d.js';
|
|
21
|
+
import { B as Button } from './index-1cff3352.js';
|
|
22
22
|
import { Remarkable } from 'remarkable';
|
|
23
23
|
import { ArrowRight as ArrowRight$1 } from '@hhgtech/icons/other';
|
|
24
24
|
import { useInView } from 'react-intersection-observer';
|
|
25
|
-
import { C as CommonGAssets } from './index-
|
|
25
|
+
import { C as CommonGAssets } from './index-1a077c98.js';
|
|
26
26
|
import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
|
|
27
|
-
import { d as LEAD_TOKEN_COOKIE } from './constants-
|
|
27
|
+
import { d as LEAD_TOKEN_COOKIE } from './constants-61c57915.js';
|
|
28
28
|
import { v4 } from 'uuid';
|
|
29
|
-
import { T as Text } from './index-
|
|
29
|
+
import { T as Text } from './index-cf4e1e30.js';
|
|
30
30
|
import { theme } from './miscTheme.js';
|
|
31
31
|
import { isProduction } from './constantsIsProduction.js';
|
|
32
|
-
import { S as Select } from './index-
|
|
32
|
+
import { S as Select } from './index-9f72c82e.js';
|
|
33
33
|
import '@mantine/dates';
|
|
34
|
-
import './index-
|
|
35
|
-
import './index-
|
|
36
|
-
import './index.styles-
|
|
37
|
-
import './translationsContext-
|
|
34
|
+
import './index-070e470e.js';
|
|
35
|
+
import './index-b41f3450.js';
|
|
36
|
+
import './index.styles-6a730dce.js';
|
|
37
|
+
import './translationsContext-2ade78b3.js';
|
|
38
38
|
import '@mantine/hooks';
|
|
39
|
-
import './index-
|
|
39
|
+
import './index-7f80ae7d.js';
|
|
40
40
|
import isEmpty from 'lodash/isEmpty';
|
|
41
41
|
import { Controller, useForm } from 'react-hook-form';
|
|
42
42
|
import PhoneInputBase, { getCountryCallingCode, isPossiblePhoneNumber, parsePhoneNumber } from 'react-phone-number-input';
|
|
43
43
|
import { LoadScript } from '@react-google-maps/api';
|
|
44
|
-
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-
|
|
44
|
+
import { u as usePlacesAutocomplete, G as GOOGLE_API_KEY, a as GOOGLE_API_LANGUAGE } from './usePlacesAutocomplete-a4fd7c40.js';
|
|
45
45
|
import { setDefaultClass } from './miscDefaultClassWrapper.js';
|
|
46
|
-
import { I as InputDate } from './InputDate-
|
|
47
|
-
import { B as Button$1 } from './index-
|
|
48
|
-
import { D as Dropdown } from './index-
|
|
49
|
-
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-
|
|
50
|
-
import { g as getURLwithSSOTracking } from './utils-
|
|
51
|
-
import { T as TextArea } from './index-
|
|
46
|
+
import { I as InputDate } from './InputDate-dc285ffa.js';
|
|
47
|
+
import { B as Button$1 } from './index-c021d193.js';
|
|
48
|
+
import { D as Dropdown } from './index-ca3aee2a.js';
|
|
49
|
+
import { u as useSSOV2Store, I as IS_SSOV2_ENABLED } from './store-08b33280.js';
|
|
50
|
+
import { g as getURLwithSSOTracking } from './utils-b4ae6998.js';
|
|
51
|
+
import { T as TextArea } from './index-2c3c424a.js';
|
|
52
52
|
import StarRatings from 'react-star-ratings';
|
|
53
53
|
import { ArticleCard } from './moleculesArticleCard.js';
|
|
54
|
-
import { T as Text$1 } from './index-
|
|
55
|
-
import { H as Heading$1 } from './index-
|
|
54
|
+
import { T as Text$1 } from './index-cb3a0729.js';
|
|
55
|
+
import { H as Heading$1 } from './index-8e36255a.js';
|
|
56
56
|
import 'date-fns/locale';
|
|
57
57
|
import './constantsSite.js';
|
|
58
58
|
import './constantsRiskScreener.js';
|
|
59
59
|
import './miscCookieHelper.js';
|
|
60
60
|
import 'slugify';
|
|
61
61
|
import './togetherApiPaths.js';
|
|
62
|
-
import './index-
|
|
63
|
-
import './WhatsApp-
|
|
64
|
-
import './Spinner-
|
|
65
|
-
import './index-
|
|
66
|
-
import './shared-
|
|
67
|
-
import './index-
|
|
62
|
+
import './index-aa9389fe.js';
|
|
63
|
+
import './WhatsApp-f65e14ce.js';
|
|
64
|
+
import './Spinner-e71e2edb.js';
|
|
65
|
+
import './index-c5e9054e.js';
|
|
66
|
+
import './shared-fe9ae3ca.js';
|
|
67
|
+
import './index-615b60e4.js';
|
|
68
68
|
import '@mantine/carousel';
|
|
69
|
-
import './useUniqueId-
|
|
69
|
+
import './useUniqueId-979170e8.js';
|
|
70
70
|
import '@hhgtech/icons/core';
|
|
71
71
|
import 'lodash/debounce';
|
|
72
72
|
import 'lodash/throttle';
|
|
@@ -75,9 +75,9 @@ import 'vaul';
|
|
|
75
75
|
import '@emotion/react';
|
|
76
76
|
import '@mantine/notifications';
|
|
77
77
|
import 'zustand';
|
|
78
|
-
import './index-
|
|
79
|
-
import './routing-
|
|
80
|
-
import './healthTools-
|
|
78
|
+
import './index-b6636fd0.js';
|
|
79
|
+
import './routing-53badcf1.js';
|
|
80
|
+
import './healthTools-c3f9d3d6.js';
|
|
81
81
|
|
|
82
82
|
// extend fastdom
|
|
83
83
|
const fastdom = fd.extend(fastdomPromised);
|
|
@@ -501,6 +501,92 @@ const KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD = 'other';
|
|
|
501
501
|
|
|
502
502
|
const STATE_SUBOT_INLINE_KEY = 'stateInlineSSO';
|
|
503
503
|
|
|
504
|
+
const SUBOT_INLINE_SSO_QUERY_KEYS = [
|
|
505
|
+
'bot_id',
|
|
506
|
+
'mode',
|
|
507
|
+
'embeddedType',
|
|
508
|
+
'toolName',
|
|
509
|
+
];
|
|
510
|
+
/**
|
|
511
|
+
* Remove subot-inline SSO returnUrl params from the address bar after a successful
|
|
512
|
+
* post-login restore so a later SSO attempt is not stuck when redirect() compares URLs.
|
|
513
|
+
*/
|
|
514
|
+
const stripSubotInlineSsoQueryFromUrl = () => {
|
|
515
|
+
if (typeof window === 'undefined')
|
|
516
|
+
return false;
|
|
517
|
+
try {
|
|
518
|
+
const url = new URL(window.location.href);
|
|
519
|
+
let changed = false;
|
|
520
|
+
for (const key of SUBOT_INLINE_SSO_QUERY_KEYS) {
|
|
521
|
+
if (url.searchParams.has(key)) {
|
|
522
|
+
url.searchParams.delete(key);
|
|
523
|
+
changed = true;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
if (url.searchParams.get('source') === 'subot-inline') {
|
|
527
|
+
url.searchParams.delete('source');
|
|
528
|
+
changed = true;
|
|
529
|
+
}
|
|
530
|
+
if (!changed)
|
|
531
|
+
return false;
|
|
532
|
+
const search = url.searchParams.toString();
|
|
533
|
+
const next = `${url.pathname}${search ? `?${search}` : ''}${url.hash}`;
|
|
534
|
+
window.history.replaceState(window.history.state, '', next);
|
|
535
|
+
return true;
|
|
536
|
+
}
|
|
537
|
+
catch (_a) {
|
|
538
|
+
return false;
|
|
539
|
+
}
|
|
540
|
+
};
|
|
541
|
+
/** Current page URL without subot-inline SSO query noise (for SSO V2 popup returnUrl). */
|
|
542
|
+
const buildSubotInlineSsoReturnUrl = () => {
|
|
543
|
+
stripSubotInlineSsoQueryFromUrl();
|
|
544
|
+
return window.location.href;
|
|
545
|
+
};
|
|
546
|
+
const isActiveSubotInlineSsoNode = (listNodes, activeId) => {
|
|
547
|
+
const found = listNodes.find((n) => n.id == activeId);
|
|
548
|
+
return (found === null || found === void 0 ? void 0 : found.position) === NodePosition.SSO;
|
|
549
|
+
};
|
|
550
|
+
const hasPendingSubotInlineSsoState = (botId) => {
|
|
551
|
+
var _a;
|
|
552
|
+
try {
|
|
553
|
+
const raw = localStorage.getItem(STATE_SUBOT_INLINE_KEY);
|
|
554
|
+
if (!raw)
|
|
555
|
+
return false;
|
|
556
|
+
const json = JSON.parse(raw);
|
|
557
|
+
const timeToExist = 30 * 60 * 1000;
|
|
558
|
+
if ((json === null || json === void 0 ? void 0 : json.botId) !== botId ||
|
|
559
|
+
!json.listNodes ||
|
|
560
|
+
!json.activeId ||
|
|
561
|
+
json.createdAt + timeToExist <= Date.now()) {
|
|
562
|
+
return false;
|
|
563
|
+
}
|
|
564
|
+
return ((_a = json.listNodes.slice(-1)[0]) === null || _a === void 0 ? void 0 : _a.position) === NodePosition.SSO;
|
|
565
|
+
}
|
|
566
|
+
catch (_b) {
|
|
567
|
+
return false;
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
const restoreSubotInlineFromSsoStorage = (botId, { getParams }) => __awaiter(void 0, void 0, void 0, function* () {
|
|
571
|
+
var _a, _b, _c;
|
|
572
|
+
const previousState = getPreviousStateFromStorage(botId, { getParams });
|
|
573
|
+
if (!((_a = previousState === null || previousState === void 0 ? void 0 : previousState.params) === null || _a === void 0 ? void 0 : _a.action_id) ||
|
|
574
|
+
!((_b = previousState === null || previousState === void 0 ? void 0 : previousState.params) === null || _b === void 0 ? void 0 : _b.action_value)) {
|
|
575
|
+
return null;
|
|
576
|
+
}
|
|
577
|
+
const resResultInline = yield subotInlineMessage$1(previousState.params);
|
|
578
|
+
if ((resResultInline === null || resResultInline === void 0 ? void 0 : resResultInline._status) !== 1 || !((_c = resResultInline === null || resResultInline === void 0 ? void 0 : resResultInline._data) === null || _c === void 0 ? void 0 : _c.node)) {
|
|
579
|
+
return null;
|
|
580
|
+
}
|
|
581
|
+
const activeId = String(resResultInline._data.node.id);
|
|
582
|
+
const listNodes = [...previousState.listNodes];
|
|
583
|
+
listNodes[listNodes.length - 1] = resResultInline._data.node;
|
|
584
|
+
return {
|
|
585
|
+
listNodes,
|
|
586
|
+
activeId,
|
|
587
|
+
params: previousState.params,
|
|
588
|
+
};
|
|
589
|
+
});
|
|
504
590
|
const getPreviousStateFromStorage = (botId, { getParams }) => {
|
|
505
591
|
try {
|
|
506
592
|
if (!getUserIdFromCookie())
|
|
@@ -528,7 +614,7 @@ const getPreviousStateFromStorage = (botId, { getParams }) => {
|
|
|
528
614
|
}
|
|
529
615
|
};
|
|
530
616
|
const getSubotInlineLogs = (botItem) => __awaiter(void 0, void 0, void 0, function* () {
|
|
531
|
-
var
|
|
617
|
+
var _d, _e;
|
|
532
618
|
try {
|
|
533
619
|
if (!botItem)
|
|
534
620
|
return null;
|
|
@@ -538,7 +624,7 @@ const getSubotInlineLogs = (botItem) => __awaiter(void 0, void 0, void 0, functi
|
|
|
538
624
|
accountId: getUserIdFromCookie() || '',
|
|
539
625
|
type: 'inline',
|
|
540
626
|
}), 'GET');
|
|
541
|
-
if (!((
|
|
627
|
+
if (!((_d = response === null || response === void 0 ? void 0 : response._data) === null || _d === void 0 ? void 0 : _d.data) || ((_e = response === null || response === void 0 ? void 0 : response._data) === null || _e === void 0 ? void 0 : _e.type) !== 'inline')
|
|
542
628
|
return null;
|
|
543
629
|
const subotLogsJson = JSON.parse(response._data.data);
|
|
544
630
|
const nodesLogs = subotLogsJson.nodes;
|
|
@@ -833,6 +919,7 @@ const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer,
|
|
|
833
919
|
const ref = useRef(null);
|
|
834
920
|
// const { formatMessage: f } = useIntl()
|
|
835
921
|
const refAccountIdFromLogs = useRef(null);
|
|
922
|
+
const resumeFromSsoLoginRef = useRef(false);
|
|
836
923
|
const [loading, setLoading] = useState(true);
|
|
837
924
|
const [activeId, setActiveId] = useState('');
|
|
838
925
|
const [listNodes, setListNodes] = useState([]);
|
|
@@ -935,30 +1022,25 @@ const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer,
|
|
|
935
1022
|
newActiveId = subotLogs.activeId;
|
|
936
1023
|
refAccountIdFromLogs.current = ((_a = subotLogs.params) === null || _a === void 0 ? void 0 : _a.account_id) || 0;
|
|
937
1024
|
}
|
|
938
|
-
/** [Subot Inline] Show result page
|
|
939
|
-
const
|
|
1025
|
+
/** [Subot Inline] Show result after SSO (full-page return from legacy SSO) */
|
|
1026
|
+
const restored = yield restoreSubotInlineFromSsoStorage(params.bot_id, {
|
|
940
1027
|
getParams,
|
|
941
1028
|
});
|
|
942
|
-
if (
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
});
|
|
956
|
-
setTimeout(() => {
|
|
957
|
-
elementScrollIntoView();
|
|
958
|
-
}, 100);
|
|
959
|
-
}
|
|
1029
|
+
if (restored) {
|
|
1030
|
+
newActiveId = restored.activeId;
|
|
1031
|
+
nodes = restored.listNodes;
|
|
1032
|
+
saveSubotInlineLogs({
|
|
1033
|
+
nodes,
|
|
1034
|
+
activeId: newActiveId,
|
|
1035
|
+
params: restored.params,
|
|
1036
|
+
accountIdFromLogs: refAccountIdFromLogs.current,
|
|
1037
|
+
});
|
|
1038
|
+
setTimeout(() => {
|
|
1039
|
+
elementScrollIntoView();
|
|
1040
|
+
}, 100);
|
|
1041
|
+
stripSubotInlineSsoQueryFromUrl();
|
|
960
1042
|
}
|
|
961
|
-
const newParams = (
|
|
1043
|
+
const newParams = (restored === null || restored === void 0 ? void 0 : restored.params) || (subotLogs === null || subotLogs === void 0 ? void 0 : subotLogs.params) || params;
|
|
962
1044
|
const [computedActiveId, computedNodes] = detectToSkipNodeStart(nodes[0], newActiveId, nodes);
|
|
963
1045
|
setLoading(false);
|
|
964
1046
|
setActiveId(computedActiveId);
|
|
@@ -1062,6 +1144,7 @@ const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer,
|
|
|
1062
1144
|
// elementScrollIntoView()
|
|
1063
1145
|
}, [listNodes, activeId]);
|
|
1064
1146
|
const onStartOver = useCallback(() => {
|
|
1147
|
+
resumeFromSsoLoginRef.current = false;
|
|
1065
1148
|
const params = getParams();
|
|
1066
1149
|
getFirstNode(params, false);
|
|
1067
1150
|
const botItem = listNodes[0];
|
|
@@ -1088,6 +1171,49 @@ const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer,
|
|
|
1088
1171
|
return prevNodes;
|
|
1089
1172
|
});
|
|
1090
1173
|
}, [activeId]);
|
|
1174
|
+
const tryResumeSubotInlineAfterLogin = useCallback(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
1175
|
+
if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) || !getUserIdFromCookie())
|
|
1176
|
+
return;
|
|
1177
|
+
if (!listNodes.length || !isActiveSubotInlineSsoNode(listNodes, activeId)) {
|
|
1178
|
+
return;
|
|
1179
|
+
}
|
|
1180
|
+
if (!hasPendingSubotInlineSsoState(subotId))
|
|
1181
|
+
return;
|
|
1182
|
+
if (resumeFromSsoLoginRef.current)
|
|
1183
|
+
return;
|
|
1184
|
+
resumeFromSsoLoginRef.current = true;
|
|
1185
|
+
setLoading(true);
|
|
1186
|
+
const restored = yield restoreSubotInlineFromSsoStorage(subotId, {
|
|
1187
|
+
getParams,
|
|
1188
|
+
});
|
|
1189
|
+
if (!restored) {
|
|
1190
|
+
resumeFromSsoLoginRef.current = false;
|
|
1191
|
+
setLoading(false);
|
|
1192
|
+
return;
|
|
1193
|
+
}
|
|
1194
|
+
saveSubotInlineLogs({
|
|
1195
|
+
nodes: restored.listNodes,
|
|
1196
|
+
activeId: restored.activeId,
|
|
1197
|
+
params: restored.params,
|
|
1198
|
+
accountIdFromLogs: refAccountIdFromLogs.current,
|
|
1199
|
+
});
|
|
1200
|
+
stripSubotInlineSsoQueryFromUrl();
|
|
1201
|
+
const [computedActiveId, computedNodes] = detectToSkipNodeStart(restored.listNodes[0], restored.activeId, restored.listNodes);
|
|
1202
|
+
setActiveId(computedActiveId);
|
|
1203
|
+
setListNodes(computedNodes);
|
|
1204
|
+
setParams(Object.assign(Object.assign({}, getParams()), restored.params));
|
|
1205
|
+
setLoading(false);
|
|
1206
|
+
setTimeout(() => {
|
|
1207
|
+
elementScrollIntoView();
|
|
1208
|
+
}, 100);
|
|
1209
|
+
}), [
|
|
1210
|
+
userInfo === null || userInfo === void 0 ? void 0 : userInfo.id,
|
|
1211
|
+
listNodes,
|
|
1212
|
+
activeId,
|
|
1213
|
+
subotId,
|
|
1214
|
+
getParams,
|
|
1215
|
+
elementScrollIntoView,
|
|
1216
|
+
]);
|
|
1091
1217
|
useEffect(() => {
|
|
1092
1218
|
if (!Cookies.get(GA_TOKEN_COOKIE)) {
|
|
1093
1219
|
checkUntilFinished({
|
|
@@ -1103,6 +1229,9 @@ const SubotInlineProvider = ({ children, articleLink, subotId, isFullContainer,
|
|
|
1103
1229
|
getFirstNode(params);
|
|
1104
1230
|
}
|
|
1105
1231
|
}, []);
|
|
1232
|
+
useEffect(() => {
|
|
1233
|
+
void tryResumeSubotInlineAfterLogin();
|
|
1234
|
+
}, [tryResumeSubotInlineAfterLogin]);
|
|
1106
1235
|
useEffect(() => {
|
|
1107
1236
|
if (!listNodes.length) {
|
|
1108
1237
|
return;
|
|
@@ -1851,7 +1980,7 @@ const getMDInstance = () => {
|
|
|
1851
1980
|
const Markdown = (_a) => {
|
|
1852
1981
|
var { children, className } = _a, restProps = __rest(_a, ["children", "className"]);
|
|
1853
1982
|
const md = useMemo(() => getMDInstance(), []);
|
|
1854
|
-
const classes =
|
|
1983
|
+
const classes = cn(className, 'markdown');
|
|
1855
1984
|
const props = useMemo(() => {
|
|
1856
1985
|
const newProps = Object.assign({}, restProps);
|
|
1857
1986
|
if (typeof children === 'string') {
|
|
@@ -2157,7 +2286,7 @@ const Container$s = ({ node, onClickStart }) => {
|
|
|
2157
2286
|
onNext();
|
|
2158
2287
|
onClickStart === null || onClickStart === void 0 ? void 0 : onClickStart();
|
|
2159
2288
|
};
|
|
2160
|
-
return (React__default.createElement(StyledContainer, { ref: ref, className:
|
|
2289
|
+
return (React__default.createElement(StyledContainer, { ref: ref, className: cn({
|
|
2161
2290
|
'si-acuvue-wrap': botType === 'ACUVUE',
|
|
2162
2291
|
}) },
|
|
2163
2292
|
React__default.createElement("h2", null, node.inline_title),
|
|
@@ -4108,7 +4237,7 @@ function GoogleAddressField({ action, formError, control, initValue, onChange, }
|
|
|
4108
4237
|
console.log('props', props);
|
|
4109
4238
|
return (React__default.createElement(Select, { data: options, icon: React__default.createElement(Location, null), itemComponent: SelectItem,
|
|
4110
4239
|
// Always display the suggestions
|
|
4111
|
-
filter: () => true, searchable: true, className:
|
|
4240
|
+
filter: () => true, searchable: true, className: cn({
|
|
4112
4241
|
isEmpty: options.length === 0 ||
|
|
4113
4242
|
(options.length === 1 && options[0].label === address),
|
|
4114
4243
|
}), onChange: (newAddress) => {
|
|
@@ -5520,7 +5649,7 @@ const UserInfoForm = ({ className, style, actions, countryCode, callBack, formSu
|
|
|
5520
5649
|
id: 'subot.sendOTP.button',
|
|
5521
5650
|
defaultMessage: 'Send OTP',
|
|
5522
5651
|
})))))),
|
|
5523
|
-
sentOTP && (React__default.createElement("div", { className:
|
|
5652
|
+
sentOTP && (React__default.createElement("div", { className: cn('input-row input-row--verify', {
|
|
5524
5653
|
'verified-otp': verifiedOTP,
|
|
5525
5654
|
'error-verify-otp': errors['otpCode'],
|
|
5526
5655
|
}) },
|
|
@@ -6180,20 +6309,11 @@ Container$4.displayName = 'SubotinlineNodePoll';
|
|
|
6180
6309
|
const StyledWrap$1 = styled.div ``;
|
|
6181
6310
|
|
|
6182
6311
|
const Container$3 = ({ node }) => {
|
|
6183
|
-
const
|
|
6184
|
-
const { formatMessage: f, data: { userInfo }, } = useContext(TogetherComponentGlobalContext);
|
|
6312
|
+
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
6185
6313
|
const { params, setIsShowFooter, listNodes, activeId } = useContext(SubotInlineContext$1);
|
|
6186
6314
|
useMemo(() => {
|
|
6187
6315
|
setIsShowFooter(true);
|
|
6188
6316
|
}, []);
|
|
6189
|
-
useEffect(() => {
|
|
6190
|
-
var _a;
|
|
6191
|
-
const actionSSO = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.ACTION_SSO_REDIRECT);
|
|
6192
|
-
if ((userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) && actionSSO && !refIsTrigger.current) {
|
|
6193
|
-
refIsTrigger.current = true;
|
|
6194
|
-
handleOnChange(actionSSO);
|
|
6195
|
-
}
|
|
6196
|
-
}, [userInfo === null || userInfo === void 0 ? void 0 : userInfo.id]);
|
|
6197
6317
|
const { triggerLogin } = useSSOV2Store();
|
|
6198
6318
|
const handleOnChange = (action) => {
|
|
6199
6319
|
if (params.bot_id &&
|
|
@@ -6207,20 +6327,20 @@ const Container$3 = ({ node }) => {
|
|
|
6207
6327
|
botId: params.bot_id,
|
|
6208
6328
|
};
|
|
6209
6329
|
localStorage.setItem(STATE_SUBOT_INLINE_KEY, JSON.stringify(currentState));
|
|
6210
|
-
const urlObj = getURLwithSSOTracking(window.location.href, {
|
|
6211
|
-
botItem: listNodes[0],
|
|
6212
|
-
});
|
|
6213
|
-
urlObj.searchParams.set('bot_id', String(params.bot_id));
|
|
6214
|
-
urlObj.searchParams.set('mode', 'inline');
|
|
6215
|
-
urlObj.searchParams.set('source', 'subot-inline');
|
|
6216
|
-
const returnUrl = urlObj.href;
|
|
6217
6330
|
if (IS_SSOV2_ENABLED()) {
|
|
6218
6331
|
triggerLogin({
|
|
6219
|
-
returnUrl,
|
|
6332
|
+
returnUrl: buildSubotInlineSsoReturnUrl(),
|
|
6220
6333
|
source: 'subot-inline',
|
|
6221
6334
|
});
|
|
6222
6335
|
}
|
|
6223
6336
|
else {
|
|
6337
|
+
const urlObj = getURLwithSSOTracking(window.location.href, {
|
|
6338
|
+
botItem: listNodes[0],
|
|
6339
|
+
});
|
|
6340
|
+
urlObj.searchParams.set('bot_id', String(params.bot_id));
|
|
6341
|
+
urlObj.searchParams.set('mode', 'inline');
|
|
6342
|
+
urlObj.searchParams.set('source', 'subot-inline');
|
|
6343
|
+
const returnUrl = urlObj.href;
|
|
6224
6344
|
window.location.href = `${SSO_URL}?returnUrl=${encodeURIComponent(returnUrl)}`;
|
|
6225
6345
|
}
|
|
6226
6346
|
}
|
|
@@ -6408,7 +6528,7 @@ const View = ({ loading, backgroundImage, isShowFooter, isFullContainer, isDisab
|
|
|
6408
6528
|
};
|
|
6409
6529
|
const isFullScreenMobile = isDisplayFullMobile || isDisabledAnimationOnMobile;
|
|
6410
6530
|
const rendered = (React__default.createElement(SubotInlineRevampContainer, null,
|
|
6411
|
-
React__default.createElement(motion.div, { style: style, layout: true, transition: isDisabledAnimationOnMobile ? undefined : transition, className:
|
|
6531
|
+
React__default.createElement(motion.div, { style: style, layout: true, transition: isDisabledAnimationOnMobile ? undefined : transition, className: cn('si-inline-revamp-container', {
|
|
6412
6532
|
'si-container-open': isFullScreenMobile,
|
|
6413
6533
|
'si-full-container-config': isFullContainer,
|
|
6414
6534
|
'si-typeform': Boolean(typeFormProps),
|
|
@@ -7362,18 +7482,18 @@ const SubotInlineTextArea = ({ action, value, onChange, }) => {
|
|
|
7362
7482
|
};
|
|
7363
7483
|
const SubotInlineLikeChoice = ({ action, active, onChange, }) => {
|
|
7364
7484
|
return (React__default.createElement(SubotInlineActionItemContainer, { width: "40%", className: 'item-image-container' },
|
|
7365
|
-
React__default.createElement(SubotInlineButtonReaction, { className:
|
|
7485
|
+
React__default.createElement(SubotInlineButtonReaction, { className: cn(!!active && 'active'), onClick: () => onChange && onChange(action) },
|
|
7366
7486
|
React__default.createElement(LikeIcon, { viewBox: "0 0 24 24" }),
|
|
7367
7487
|
React__default.createElement(Markdown, null, action === null || action === void 0 ? void 0 : action.label))));
|
|
7368
7488
|
};
|
|
7369
7489
|
const SubotInlineDislikeChoice = ({ action, active, onChange, }) => {
|
|
7370
7490
|
return (React__default.createElement(SubotInlineActionItemContainer, { width: "40%", className: 'item-image-container' },
|
|
7371
|
-
React__default.createElement(SubotInlineButtonReaction, { className:
|
|
7491
|
+
React__default.createElement(SubotInlineButtonReaction, { className: cn(!!active && 'active'), onClick: () => onChange && onChange(action) },
|
|
7372
7492
|
React__default.createElement(DislikeIcon, { viewBox: "0 0 24 24" }),
|
|
7373
7493
|
React__default.createElement(Markdown, null, action === null || action === void 0 ? void 0 : action.label))));
|
|
7374
7494
|
};
|
|
7375
7495
|
const SubotInlineReviewChoice = ({ active, action, onChange, }) => (React__default.createElement(SubotInlineActionItemContainer, { width: "auto", className: "review-choice" },
|
|
7376
|
-
React__default.createElement(SubotInlineButtonReview, { className:
|
|
7496
|
+
React__default.createElement(SubotInlineButtonReview, { className: cn(!!active && 'active'), onClick: () => onChange &&
|
|
7377
7497
|
onChange({
|
|
7378
7498
|
key: action === null || action === void 0 ? void 0 : action.key,
|
|
7379
7499
|
control: ELEMENT_CONTROL_INPUT_TYPE[action === null || action === void 0 ? void 0 : action.type],
|
|
@@ -7420,13 +7540,13 @@ const SubotInlineFooter = ({ onBack, onNext: onSubmit, hideBack, hideNext, nextT
|
|
|
7420
7540
|
};
|
|
7421
7541
|
const actionSubmitMultiple = (_b = nodeMessage === null || nodeMessage === void 0 ? void 0 : nodeMessage.actions) === null || _b === void 0 ? void 0 : _b.find((act) => act.type === NodeActionType.ACTION_MULTIPLE_BUTTON);
|
|
7422
7542
|
return (React__default.createElement(SubotInlineFooterStyled, null,
|
|
7423
|
-
!hideBack && (React__default.createElement(ButtonBackStyled, Object.assign({ size: "md", color: "secondary", onClick: onBack }, backProps, { className:
|
|
7543
|
+
!hideBack && (React__default.createElement(ButtonBackStyled, Object.assign({ size: "md", color: "secondary", onClick: onBack }, backProps, { className: cn('pointer-event-child-none', backProps === null || backProps === void 0 ? void 0 : backProps.className) }, trackingCommonInline, { "data-event-action": "Back Click" }),
|
|
7424
7544
|
React__default.createElement(ArrowLeft, { style: { marginRight: 10 } }),
|
|
7425
7545
|
f({
|
|
7426
7546
|
id: 'riskScreener.back',
|
|
7427
7547
|
defaultMessage: 'Back',
|
|
7428
7548
|
}))),
|
|
7429
|
-
!hideNext && (React__default.createElement(ButtonStyled, Object.assign({ size: "md", color: "primary", onClick: actionNextChoice ? handleNextChoice : onSubmit }, nextProps, { className:
|
|
7549
|
+
!hideNext && (React__default.createElement(ButtonStyled, Object.assign({ size: "md", color: "primary", onClick: actionNextChoice ? handleNextChoice : onSubmit }, nextProps, { className: cn('pointer-event-child-none', nextProps === null || nextProps === void 0 ? void 0 : nextProps.className) }, trackingCommonInline, { "data-event-action": "Answer Click", "data-response-id": (actionSubmitMultiple === null || actionSubmitMultiple === void 0 ? void 0 : actionSubmitMultiple.id) ||
|
|
7430
7550
|
(actionNextChoice === null || actionNextChoice === void 0 ? void 0 : actionNextChoice.id) ||
|
|
7431
7551
|
((_c = nodeMessage === null || nodeMessage === void 0 ? void 0 : nodeMessage._message) === null || _c === void 0 ? void 0 : _c.action_id) }),
|
|
7432
7552
|
!nextText
|
|
@@ -9161,16 +9281,7 @@ const SubotInlineNodeReview = ({ node, indexNumber, }) => {
|
|
|
9161
9281
|
};
|
|
9162
9282
|
|
|
9163
9283
|
const SubotInlineNodeSSO = ({ node, indexNumber, }) => {
|
|
9164
|
-
const
|
|
9165
|
-
const { params, onPrev, nodes, activeId, userInfo } = useContext(SubotInlineContext);
|
|
9166
|
-
useEffect(() => {
|
|
9167
|
-
var _a;
|
|
9168
|
-
const actionSSO = (_a = node === null || node === void 0 ? void 0 : node.actions) === null || _a === void 0 ? void 0 : _a.find((act) => act.type === NodeActionType.ACTION_SSO_REDIRECT);
|
|
9169
|
-
if ((userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) && actionSSO && !refIsTrigger.current) {
|
|
9170
|
-
refIsTrigger.current = true;
|
|
9171
|
-
handleOnChange(actionSSO);
|
|
9172
|
-
}
|
|
9173
|
-
}, [userInfo === null || userInfo === void 0 ? void 0 : userInfo.id]);
|
|
9284
|
+
const { params, onPrev, nodes, activeId } = useContext(SubotInlineContext);
|
|
9174
9285
|
const { formatMessage: f } = useContext(TogetherComponentGlobalContext);
|
|
9175
9286
|
const handleOnChange = (action) => {
|
|
9176
9287
|
if (action && action.type === NodeActionType.ACTION_SSO_REDIRECT) {
|
|
@@ -9182,20 +9293,20 @@ const SubotInlineNodeSSO = ({ node, indexNumber, }) => {
|
|
|
9182
9293
|
botId: params.bot_id,
|
|
9183
9294
|
};
|
|
9184
9295
|
localStorage.setItem(STATE_SUBOT_INLINE_KEY, JSON.stringify(currentState));
|
|
9185
|
-
const urlObj = getURLwithSSOTracking(window.location.href, {
|
|
9186
|
-
botItem: nodes[0],
|
|
9187
|
-
});
|
|
9188
|
-
urlObj.searchParams.set('bot_id', String(params.bot_id));
|
|
9189
|
-
urlObj.searchParams.set('mode', 'inline');
|
|
9190
|
-
urlObj.searchParams.set('source', 'subot-inline');
|
|
9191
|
-
const returnUrl = urlObj.href;
|
|
9192
9296
|
if (IS_SSOV2_ENABLED()) {
|
|
9193
9297
|
useSSOV2Store.getState().triggerLogin({
|
|
9194
|
-
returnUrl,
|
|
9298
|
+
returnUrl: buildSubotInlineSsoReturnUrl(),
|
|
9195
9299
|
source: `subot-inline`,
|
|
9196
9300
|
});
|
|
9197
9301
|
}
|
|
9198
9302
|
else {
|
|
9303
|
+
const urlObj = getURLwithSSOTracking(window.location.href, {
|
|
9304
|
+
botItem: nodes[0],
|
|
9305
|
+
});
|
|
9306
|
+
urlObj.searchParams.set('bot_id', String(params.bot_id));
|
|
9307
|
+
urlObj.searchParams.set('mode', 'inline');
|
|
9308
|
+
urlObj.searchParams.set('source', 'subot-inline');
|
|
9309
|
+
const returnUrl = urlObj.href;
|
|
9199
9310
|
window.location.href = `${SSO_URL}?returnUrl=${encodeURIComponent(returnUrl)}`;
|
|
9200
9311
|
}
|
|
9201
9312
|
}
|
|
@@ -9507,6 +9618,7 @@ const SubotInlineLoadingContainer = styled.div `
|
|
|
9507
9618
|
const SubotInline = ({ id, isMobile, articleLink, customUrl, }) => {
|
|
9508
9619
|
const currentUrl = useCurrentUrl();
|
|
9509
9620
|
const refAccountIdFromLogs = useRef(null);
|
|
9621
|
+
const resumeFromSsoLoginRef = useRef(false);
|
|
9510
9622
|
const flag = useRef(null);
|
|
9511
9623
|
const [loading, setLoading] = useState(true);
|
|
9512
9624
|
const [state, setState] = useState({
|
|
@@ -9745,30 +9857,24 @@ const SubotInline = ({ id, isMobile, articleLink, customUrl, }) => {
|
|
|
9745
9857
|
refAccountIdFromLogs.current = ((_b = subotLogs.params) === null || _b === void 0 ? void 0 : _b.account_id) || 0;
|
|
9746
9858
|
}
|
|
9747
9859
|
}
|
|
9748
|
-
|
|
9749
|
-
const previousState = getPreviousStateFromStorage(params.bot_id, {
|
|
9860
|
+
const restored = yield restoreSubotInlineFromSsoStorage(params.bot_id, {
|
|
9750
9861
|
getParams,
|
|
9751
9862
|
});
|
|
9752
|
-
if (
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
activeId
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
|
|
9765
|
-
});
|
|
9766
|
-
setTimeout(() => {
|
|
9767
|
-
elementScrollIntoView();
|
|
9768
|
-
}, 100);
|
|
9769
|
-
}
|
|
9863
|
+
if (restored) {
|
|
9864
|
+
activeId = restored.activeId;
|
|
9865
|
+
nodes = restored.listNodes;
|
|
9866
|
+
saveSubotInlineLogs({
|
|
9867
|
+
nodes,
|
|
9868
|
+
activeId,
|
|
9869
|
+
params: restored.params,
|
|
9870
|
+
accountIdFromLogs: refAccountIdFromLogs.current,
|
|
9871
|
+
});
|
|
9872
|
+
setTimeout(() => {
|
|
9873
|
+
elementScrollIntoView();
|
|
9874
|
+
}, 100);
|
|
9875
|
+
stripSubotInlineSsoQueryFromUrl();
|
|
9770
9876
|
}
|
|
9771
|
-
const newParams = (
|
|
9877
|
+
const newParams = (restored === null || restored === void 0 ? void 0 : restored.params) || (subotLogs === null || subotLogs === void 0 ? void 0 : subotLogs.params) || params;
|
|
9772
9878
|
const _state = Object.assign(Object.assign({}, state), { params: newParams, activeId, nodes: nodes });
|
|
9773
9879
|
setLoading(false);
|
|
9774
9880
|
setState(_state);
|
|
@@ -9794,6 +9900,40 @@ const SubotInline = ({ id, isMobile, articleLink, customUrl, }) => {
|
|
|
9794
9900
|
getFirstAPI(params);
|
|
9795
9901
|
}
|
|
9796
9902
|
}, []);
|
|
9903
|
+
useEffect(() => {
|
|
9904
|
+
if (!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.id) || !getUserIdFromCookie())
|
|
9905
|
+
return;
|
|
9906
|
+
if (!state.nodes.length ||
|
|
9907
|
+
!isActiveSubotInlineSsoNode(state.nodes, state.activeId)) {
|
|
9908
|
+
return;
|
|
9909
|
+
}
|
|
9910
|
+
if (!hasPendingSubotInlineSsoState(id))
|
|
9911
|
+
return;
|
|
9912
|
+
if (resumeFromSsoLoginRef.current)
|
|
9913
|
+
return;
|
|
9914
|
+
resumeFromSsoLoginRef.current = true;
|
|
9915
|
+
setLoading(true);
|
|
9916
|
+
(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
9917
|
+
const restored = yield restoreSubotInlineFromSsoStorage(id, { getParams });
|
|
9918
|
+
if (!restored) {
|
|
9919
|
+
resumeFromSsoLoginRef.current = false;
|
|
9920
|
+
setLoading(false);
|
|
9921
|
+
return;
|
|
9922
|
+
}
|
|
9923
|
+
saveSubotInlineLogs({
|
|
9924
|
+
nodes: restored.listNodes,
|
|
9925
|
+
activeId: restored.activeId,
|
|
9926
|
+
params: restored.params,
|
|
9927
|
+
accountIdFromLogs: refAccountIdFromLogs.current,
|
|
9928
|
+
});
|
|
9929
|
+
stripSubotInlineSsoQueryFromUrl();
|
|
9930
|
+
setState((prev) => (Object.assign(Object.assign({}, prev), { nodes: restored.listNodes, activeId: restored.activeId, params: Object.assign(Object.assign({}, getParams()), restored.params) })));
|
|
9931
|
+
setLoading(false);
|
|
9932
|
+
setTimeout(() => {
|
|
9933
|
+
elementScrollIntoView();
|
|
9934
|
+
}, 100);
|
|
9935
|
+
}))();
|
|
9936
|
+
}, [userInfo === null || userInfo === void 0 ? void 0 : userInfo.id, state.activeId, state.nodes, id, getParams]);
|
|
9797
9937
|
if (state.nodes.length && !state.nodes[0].inline_active) {
|
|
9798
9938
|
return null;
|
|
9799
9939
|
}
|
|
@@ -9806,7 +9946,7 @@ const SubotInline = ({ id, isMobile, articleLink, customUrl, }) => {
|
|
|
9806
9946
|
onReset,
|
|
9807
9947
|
trackingCommonInline,
|
|
9808
9948
|
userInfo }) },
|
|
9809
|
-
React__default.createElement(SubotInlineLoadingContainer, { className:
|
|
9949
|
+
React__default.createElement(SubotInlineLoadingContainer, { className: cn('hhg-subot', `hhg-subot-${id}`, !!state.nodes.length && 'hhg-subot-style') }, !!state.nodes.length && (React__default.createElement(React__default.Fragment, null,
|
|
9810
9950
|
React__default.createElement("div", { ref: flag, className: "hhg-flag", style: {
|
|
9811
9951
|
position: 'absolute',
|
|
9812
9952
|
top: -150,
|
|
@@ -9903,6 +10043,12 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
9903
10043
|
subotInlineClick: subotInlineClick$1,
|
|
9904
10044
|
subotInlineImpression: subotInlineImpression$1,
|
|
9905
10045
|
PATHS: PATHS$1,
|
|
10046
|
+
SUBOT_INLINE_SSO_QUERY_KEYS: SUBOT_INLINE_SSO_QUERY_KEYS,
|
|
10047
|
+
stripSubotInlineSsoQueryFromUrl: stripSubotInlineSsoQueryFromUrl,
|
|
10048
|
+
buildSubotInlineSsoReturnUrl: buildSubotInlineSsoReturnUrl,
|
|
10049
|
+
isActiveSubotInlineSsoNode: isActiveSubotInlineSsoNode,
|
|
10050
|
+
hasPendingSubotInlineSsoState: hasPendingSubotInlineSsoState,
|
|
10051
|
+
restoreSubotInlineFromSsoStorage: restoreSubotInlineFromSsoStorage,
|
|
9906
10052
|
getPreviousStateFromStorage: getPreviousStateFromStorage,
|
|
9907
10053
|
getSubotInlineLogs: getSubotInlineLogs,
|
|
9908
10054
|
extractUnifiedAnswers: extractUnifiedAnswers,
|
|
@@ -9920,4 +10066,4 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
9920
10066
|
replaceTextWithVariables: replaceTextWithVariables
|
|
9921
10067
|
});
|
|
9922
10068
|
|
|
9923
|
-
export { KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD, Markdown, PATHS$1 as PATHS, SubotInline, SubotInlineIntentBase$1 as SubotInlineIntentBase, SubotInlineIntentBaseTarget, SubotInlineRevampWithTheme, SubotInlineVoucherLeftUI, UserInfoForm, checkSyncDataOnFrisoCampaign, computeExtraSettingsForBot$1 as computeExtraSettingsForBot, ContainerWithProvider as default, detectToSkipNodeStart, extractUnifiedAnswers, extractVoucherAnswers, getColorWithOpacity, getCurrentTotalDynamicScore, getDynamicScore, getPreviousStateFromStorage, getSubotApiPath, getSubotInlineLogs, handleFrisoRedirecition, hexRgb, replaceTextWithVariables, saveSubotInlineLogs, subotInlineClick$1 as subotInlineClick, subotInlineFirstNode$1 as subotInlineFirstNode, subotInlineImpression$1 as subotInlineImpression, subotInlineMessage$1 as subotInlineMessage };
|
|
10069
|
+
export { KEY_OF_TEXT_CHOICE_WITH_OTHER_FIELD, Markdown, PATHS$1 as PATHS, SUBOT_INLINE_SSO_QUERY_KEYS, SubotInline, SubotInlineIntentBase$1 as SubotInlineIntentBase, SubotInlineIntentBaseTarget, SubotInlineRevampWithTheme, SubotInlineVoucherLeftUI, UserInfoForm, buildSubotInlineSsoReturnUrl, checkSyncDataOnFrisoCampaign, computeExtraSettingsForBot$1 as computeExtraSettingsForBot, ContainerWithProvider as default, detectToSkipNodeStart, extractUnifiedAnswers, extractVoucherAnswers, getColorWithOpacity, getCurrentTotalDynamicScore, getDynamicScore, getPreviousStateFromStorage, getSubotApiPath, getSubotInlineLogs, handleFrisoRedirecition, hasPendingSubotInlineSsoState, hexRgb, isActiveSubotInlineSsoNode, replaceTextWithVariables, restoreSubotInlineFromSsoStorage, saveSubotInlineLogs, stripSubotInlineSsoQueryFromUrl, subotInlineClick$1 as subotInlineClick, subotInlineFirstNode$1 as subotInlineFirstNode, subotInlineImpression$1 as subotInlineImpression, subotInlineMessage$1 as subotInlineMessage };
|