@envive-ai/react-hooks 0.1.6 → 0.1.8
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/dist/NewOrgConfig-BU6uJT74.js +15 -0
- package/dist/NewOrgConfig-DmidHiyj.cjs +20 -0
- package/dist/SystemSettingsContext-BbobkM82.cjs +20 -0
- package/dist/SystemSettingsContext-gtrccL_q.js +13 -0
- package/dist/TrackComponentVisibleEvent-CqjMiZCS.cjs +59 -0
- package/dist/TrackComponentVisibleEvent-D9kpqKM4.js +52 -0
- package/dist/amplitudeContext-B73xamNe.d.cts +52 -0
- package/dist/amplitudeContext-BhhYPJSL.d.ts +52 -0
- package/dist/amplitudeContext-Dr1jHI13.cjs +309 -0
- package/dist/amplitudeContext-YRS1QOO3.js +287 -0
- package/dist/api-DYjHj_hR.cjs +239 -0
- package/dist/api-d5uWvb3-.js +166 -0
- package/dist/{app-CjsQ2_n-.js → app-B9r0MF9n.js} +7 -7
- package/dist/{app-CnKRZ9RW.cjs → app-Bgr-mAvr.cjs} +10 -10
- package/dist/application/models/graphql/index.cjs +2 -1
- package/dist/application/models/graphql/index.d.ts +1 -1
- package/dist/application/models/graphql/index.js +2 -1
- package/dist/application/models/guards/api/index.cjs +3 -1
- package/dist/application/models/guards/api/index.d.ts +2 -2
- package/dist/application/models/guards/api/index.js +3 -1
- package/dist/application/models/guards/utils.cjs +3 -0
- package/dist/application/models/guards/utils.d.cts +2 -0
- package/dist/application/models/guards/utils.d.ts +2 -0
- package/dist/application/models/guards/utils.js +3 -0
- package/dist/application/models/index.cjs +13 -10
- package/dist/application/models/index.d.cts +9 -4
- package/dist/application/models/index.d.ts +12 -7
- package/dist/application/models/index.js +11 -7
- package/dist/application/models/utilityTypes/index.cjs +1 -1
- package/dist/application/models/utilityTypes/index.d.ts +1 -1
- package/dist/application/models/utilityTypes/index.js +1 -1
- package/dist/application/models/variantInfo/index.cjs +1 -1
- package/dist/application/models/variantInfo/index.d.cts +1 -1
- package/dist/application/models/variantInfo/index.d.ts +1 -1
- package/dist/application/models/variantInfo/index.js +1 -1
- package/dist/application/utils/index.cjs +47 -40
- package/dist/application/utils/index.d.cts +13 -8
- package/dist/application/utils/index.d.ts +15 -10
- package/dist/application/utils/index.js +20 -13
- package/dist/{atomStore-D8pjE1vL.js → atomStore-BuopbV9k.js} +1 -1
- package/dist/{atomStore-B4jIaDPd.cjs → atomStore-CZKe3itM.cjs} +1 -1
- package/dist/atoms/app/index.cjs +14 -9
- package/dist/atoms/app/index.d.cts +16 -11
- package/dist/atoms/app/index.d.ts +19 -14
- package/dist/atoms/app/index.js +14 -9
- package/dist/atoms/atomStore/index.cjs +2 -2
- package/dist/atoms/atomStore/index.d.cts +1 -1
- package/dist/atoms/atomStore/index.js +2 -2
- package/dist/atoms/chat/index.cjs +35 -28
- package/dist/atoms/chat/index.d.cts +36 -31
- package/dist/atoms/chat/index.d.ts +39 -34
- package/dist/atoms/chat/index.js +21 -14
- package/dist/atoms/globalSearch/index.cjs +1 -1
- package/dist/atoms/globalSearch/index.d.cts +5 -5
- package/dist/atoms/globalSearch/index.d.ts +6 -6
- package/dist/atoms/globalSearch/index.js +1 -1
- package/dist/atoms/org/index.cjs +6 -14
- package/dist/atoms/org/index.d.cts +28 -32
- package/dist/atoms/org/index.d.ts +31 -35
- package/dist/atoms/org/index.js +5 -11
- package/dist/atoms/search/index.cjs +46 -34
- package/dist/atoms/search/index.d.cts +10 -4
- package/dist/atoms/search/index.d.ts +13 -7
- package/dist/atoms/search/index.js +28 -16
- package/dist/atoms/search/types.cjs +5 -0
- package/dist/atoms/search/types.d.cts +2 -0
- package/dist/atoms/search/types.d.ts +2 -0
- package/dist/atoms/search/types.js +3 -0
- package/dist/atoms/search/utils.cjs +3 -0
- package/dist/atoms/search/utils.d.cts +5 -0
- package/dist/atoms/search/utils.d.ts +5 -0
- package/dist/atoms/search/utils.js +3 -0
- package/dist/cdnContext-CVgXkdV2.cjs +53 -0
- package/dist/cdnContext-DdE6VPIF.js +38 -0
- package/dist/chat-BNDYKsqF.js +258 -0
- package/dist/{chat-BubCW1as.cjs → chat-BkjIKhc5.cjs} +1 -1
- package/dist/chat-Br5FhtRs.cjs +394 -0
- package/dist/{chat-CV6MXeID.js → chat-CgLypC3w.js} +1 -1
- package/dist/chatElementDisplayLocation-BwiXrkN7.d.ts +25 -0
- package/dist/chatElementDisplayLocation-DWmfNX_u.d.cts +25 -0
- package/dist/chatSearch-BiF2__V0.js +295 -0
- package/dist/chatSearch-BrzfJOto.cjs +418 -0
- package/dist/chatState-BDsqKE-B.cjs +120 -0
- package/dist/chatState-ie771Hwy.js +34 -0
- package/dist/commerce-api-Dz1jxPOJ.js +311 -0
- package/dist/commerce-api-KoiUki51.cjs +318 -0
- package/dist/{components-Cw9WjA6g.cjs → components-Cby-Cma3.cjs} +1 -1
- package/dist/{components-B4T3Uzth.js → components-D1mg1-Br.js} +1 -1
- package/dist/config/locators/components/chat/index.cjs +1 -1
- package/dist/config/locators/components/chat/index.d.cts +1 -1
- package/dist/config/locators/components/chat/index.d.ts +1 -1
- package/dist/config/locators/components/chat/index.js +1 -1
- package/dist/config/locators/components/chat/variants/index.d.cts +1 -1
- package/dist/config/locators/components/chat/variants/index.d.ts +1 -1
- package/dist/config/locators/components/index.cjs +1 -1
- package/dist/config/locators/components/index.d.cts +1 -1
- package/dist/config/locators/components/index.d.ts +1 -1
- package/dist/config/locators/components/index.js +1 -1
- package/dist/config/locators/components/search/index.d.cts +1 -1
- package/dist/config/locators/index.cjs +42 -22
- package/dist/config/locators/index.d.cts +2 -2
- package/dist/config/locators/index.d.ts +3 -3
- package/dist/config/locators/index.js +25 -5
- package/dist/contexts/amplitudeContext/index.cjs +22 -0
- package/dist/contexts/amplitudeContext/index.d.cts +2 -0
- package/dist/contexts/amplitudeContext/index.d.ts +2 -0
- package/dist/contexts/amplitudeContext/index.js +20 -0
- package/dist/contexts/cdnContext/index.cjs +7 -0
- package/dist/contexts/cdnContext/index.d.cts +15 -0
- package/dist/contexts/cdnContext/index.d.ts +15 -0
- package/dist/contexts/cdnContext/index.js +6 -0
- package/dist/contexts/chatContext/index.cjs +331 -0
- package/dist/contexts/chatContext/index.d.cts +15 -0
- package/dist/contexts/chatContext/index.d.ts +15 -0
- package/dist/contexts/chatContext/index.js +324 -0
- package/dist/contexts/enviveConfigContext/index.cjs +7 -0
- package/dist/contexts/enviveConfigContext/index.d.cts +30 -0
- package/dist/contexts/enviveConfigContext/index.d.ts +30 -0
- package/dist/contexts/enviveConfigContext/index.js +6 -0
- package/dist/contexts/enviveCssContext/index.cjs +66 -0
- package/dist/contexts/enviveCssContext/index.d.cts +10 -0
- package/dist/contexts/enviveCssContext/index.d.ts +10 -0
- package/dist/contexts/enviveCssContext/index.js +63 -0
- package/dist/contexts/featureFlagContext/index.cjs +107 -0
- package/dist/contexts/featureFlagContext/index.d.cts +20 -0
- package/dist/contexts/featureFlagContext/index.d.ts +20 -0
- package/dist/contexts/featureFlagContext/index.js +103 -0
- package/dist/contexts/featureFlagServiceContext/index.cjs +6 -0
- package/dist/contexts/featureFlagServiceContext/index.d.cts +5 -0
- package/dist/contexts/featureFlagServiceContext/index.d.ts +5 -0
- package/dist/contexts/featureFlagServiceContext/index.js +5 -0
- package/dist/contexts/graphqlContext/index.cjs +16 -0
- package/dist/contexts/graphqlContext/index.d.cts +13 -0
- package/dist/contexts/graphqlContext/index.d.ts +13 -0
- package/dist/contexts/graphqlContext/index.js +15 -0
- package/dist/contexts/localStorageContext/index.cjs +6 -0
- package/dist/contexts/localStorageContext/index.d.cts +30 -0
- package/dist/contexts/localStorageContext/index.d.ts +30 -0
- package/dist/contexts/localStorageContext/index.js +4 -0
- package/dist/contexts/newOrgConfigContext/index.cjs +20 -0
- package/dist/contexts/newOrgConfigContext/index.d.cts +31 -0
- package/dist/contexts/newOrgConfigContext/index.d.ts +31 -0
- package/dist/contexts/newOrgConfigContext/index.js +19 -0
- package/dist/contexts/searchContext/index.cjs +24 -0
- package/dist/contexts/searchContext/index.d.cts +16 -0
- package/dist/contexts/searchContext/index.d.ts +16 -0
- package/dist/contexts/searchContext/index.js +23 -0
- package/dist/contexts/sessionStorageContext/index.cjs +5 -0
- package/dist/contexts/sessionStorageContext/index.d.cts +15 -0
- package/dist/contexts/sessionStorageContext/index.d.ts +15 -0
- package/dist/contexts/sessionStorageContext/index.js +4 -0
- package/dist/contexts/shopifyUrlContext/index.cjs +5 -0
- package/dist/contexts/shopifyUrlContext/index.d.cts +20 -0
- package/dist/contexts/shopifyUrlContext/index.d.ts +20 -0
- package/dist/contexts/shopifyUrlContext/index.js +4 -0
- package/dist/contexts/systemSettingsContext/index.cjs +8 -0
- package/dist/contexts/systemSettingsContext/index.d.cts +37 -0
- package/dist/contexts/systemSettingsContext/index.d.ts +37 -0
- package/dist/contexts/systemSettingsContext/index.js +6 -0
- package/dist/contexts/types.cjs +7 -0
- package/dist/contexts/types.d.cts +4 -0
- package/dist/contexts/types.d.ts +4 -0
- package/dist/contexts/types.js +3 -0
- package/dist/contexts/userIdentityContext/index.cjs +27 -0
- package/dist/contexts/userIdentityContext/index.d.cts +2 -0
- package/dist/contexts/userIdentityContext/index.d.ts +2 -0
- package/dist/contexts/userIdentityContext/index.js +26 -0
- package/dist/domObserver-B19-69gW.js +285 -0
- package/dist/domObserver-CwieVNgj.cjs +304 -0
- package/dist/enviveConfig-BQB14yuH.js +62 -0
- package/dist/enviveConfig-DAA9sozZ.cjs +130 -0
- package/dist/enviveConfigContext-BCpBKqsz.js +45 -0
- package/dist/enviveConfigContext-Btg5JUMG.cjs +60 -0
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.d.ts +1 -1
- package/dist/events/index.js +1 -1
- package/dist/{events-BrLpaNxh.js → events-BHJJjPDN.js} +1 -1
- package/dist/{events-DwT6cEwI.cjs → events-B_fJZf9E.cjs} +1 -1
- package/dist/featureFlagServiceContext-Bcx5yh4S.cjs +56 -0
- package/dist/featureFlagServiceContext-Cpw8omUr.d.ts +23 -0
- package/dist/featureFlagServiceContext-Cvn6fcdB.d.cts +23 -0
- package/dist/featureFlagServiceContext-_tXX5iro.js +42 -0
- package/dist/featureGates-2Zea2D2S.js +27 -0
- package/dist/featureGates-BY2Zy7x_.cjs +33 -0
- package/dist/frontendConfig-DnMZfvcA.d.cts +857 -0
- package/dist/frontendConfig-Dqxbqo8G.d.ts +857 -0
- package/dist/{globalSearch-BFvEg53C.cjs → globalSearch-C94-vEVh.cjs} +1 -1
- package/dist/{globalSearch-B6THR7Jx.js → globalSearch-Dlbnfasm.js} +1 -1
- package/dist/graphql-DRLWdYEk.js +36 -0
- package/dist/graphql-xPDT7ZkK.cjs +53 -0
- package/dist/graphqlConfig-B4ddz1vH.cjs +39 -0
- package/dist/graphqlConfig-BnjOdeX7.js +14 -0
- package/dist/graphqlContext-B-9g2vOb.js +96 -0
- package/dist/graphqlContext-B7PEKDJs.cjs +111 -0
- package/dist/hooks/AmplitudeOperations/index.cjs +22 -0
- package/dist/hooks/AmplitudeOperations/index.d.cts +12 -0
- package/dist/hooks/AmplitudeOperations/index.d.ts +12 -0
- package/dist/hooks/AmplitudeOperations/index.js +22 -0
- package/dist/hooks/AppDetails/index.cjs +19 -0
- package/dist/hooks/AppDetails/index.d.cts +27 -0
- package/dist/hooks/AppDetails/index.d.ts +27 -0
- package/dist/hooks/AppDetails/index.js +19 -0
- package/dist/hooks/BlockBackButton/index.cjs +29 -0
- package/dist/hooks/BlockBackButton/index.d.cts +5 -0
- package/dist/hooks/BlockBackButton/index.d.ts +5 -0
- package/dist/hooks/BlockBackButton/index.js +27 -0
- package/dist/hooks/CdnOperations/index.cjs +24 -0
- package/dist/hooks/CdnOperations/index.d.cts +7 -0
- package/dist/hooks/CdnOperations/index.d.ts +7 -0
- package/dist/hooks/CdnOperations/index.js +22 -0
- package/dist/hooks/ChatToggle/index.cjs +64 -0
- package/dist/hooks/ChatToggle/index.d.cts +12 -0
- package/dist/hooks/ChatToggle/index.d.ts +12 -0
- package/dist/hooks/ChatToggle/index.js +62 -0
- package/dist/hooks/ChatToggleAnalytics/index.cjs +38 -0
- package/dist/hooks/ChatToggleAnalytics/index.d.cts +9 -0
- package/dist/hooks/ChatToggleAnalytics/index.d.ts +9 -0
- package/dist/hooks/ChatToggleAnalytics/index.js +36 -0
- package/dist/hooks/CustomerSupportHandoff/index.cjs +36 -0
- package/dist/hooks/CustomerSupportHandoff/index.d.cts +16 -0
- package/dist/hooks/CustomerSupportHandoff/index.d.ts +16 -0
- package/dist/hooks/CustomerSupportHandoff/index.js +34 -0
- package/dist/hooks/Debounce/index.cjs +3 -0
- package/dist/hooks/Debounce/index.d.cts +5 -0
- package/dist/hooks/Debounce/index.d.ts +5 -0
- package/dist/hooks/Debounce/index.js +3 -0
- package/dist/hooks/ElementObserver/index.cjs +179 -0
- package/dist/hooks/ElementObserver/index.d.cts +29 -0
- package/dist/hooks/ElementObserver/index.d.ts +29 -0
- package/dist/hooks/ElementObserver/index.js +177 -0
- package/dist/hooks/GrabAndScroll/index.cjs +99 -0
- package/dist/hooks/GrabAndScroll/index.d.cts +14 -0
- package/dist/hooks/GrabAndScroll/index.d.ts +14 -0
- package/dist/hooks/GrabAndScroll/index.js +97 -0
- package/dist/hooks/GraphQLConfig/index.cjs +17 -0
- package/dist/hooks/GraphQLConfig/index.d.cts +15 -0
- package/dist/hooks/GraphQLConfig/index.d.ts +15 -0
- package/dist/hooks/GraphQLConfig/index.js +16 -0
- package/dist/hooks/IdentifyUser/index.cjs +60 -0
- package/dist/hooks/IdentifyUser/index.d.cts +10 -0
- package/dist/hooks/IdentifyUser/index.d.ts +10 -0
- package/dist/hooks/IdentifyUser/index.js +58 -0
- package/dist/hooks/ImageResolver/index.cjs +55 -0
- package/dist/hooks/ImageResolver/index.d.cts +7 -0
- package/dist/hooks/ImageResolver/index.d.ts +7 -0
- package/dist/hooks/ImageResolver/index.js +53 -0
- package/dist/hooks/Intersection/index.cjs +3 -0
- package/dist/hooks/Intersection/index.d.cts +7 -0
- package/dist/hooks/Intersection/index.d.ts +7 -0
- package/dist/hooks/Intersection/index.js +3 -0
- package/dist/hooks/IsSmallScreen/index.cjs +22 -0
- package/dist/hooks/IsSmallScreen/index.d.cts +5 -0
- package/dist/hooks/IsSmallScreen/index.d.ts +5 -0
- package/dist/hooks/IsSmallScreen/index.js +20 -0
- package/dist/hooks/LocalStorageOperations/index.cjs +79 -0
- package/dist/hooks/LocalStorageOperations/index.d.cts +17 -0
- package/dist/hooks/LocalStorageOperations/index.d.ts +17 -0
- package/dist/hooks/LocalStorageOperations/index.js +74 -0
- package/dist/hooks/MessageFilter/index.cjs +54 -0
- package/dist/hooks/MessageFilter/index.d.cts +30 -0
- package/dist/hooks/MessageFilter/index.d.ts +30 -0
- package/dist/hooks/MessageFilter/index.js +54 -0
- package/dist/hooks/MessageScrollObserver/index.cjs +36 -0
- package/dist/hooks/MessageScrollObserver/index.d.cts +5 -0
- package/dist/hooks/MessageScrollObserver/index.d.ts +5 -0
- package/dist/hooks/MessageScrollObserver/index.js +34 -0
- package/dist/hooks/NewOrgConfig/index.cjs +20 -0
- package/dist/hooks/NewOrgConfig/index.d.cts +23 -0
- package/dist/hooks/NewOrgConfig/index.d.ts +23 -0
- package/dist/hooks/NewOrgConfig/index.js +20 -0
- package/dist/hooks/Search/index.cjs +326 -0
- package/dist/hooks/Search/index.d.cts +61 -0
- package/dist/hooks/Search/index.d.ts +61 -0
- package/dist/hooks/Search/index.js +323 -0
- package/dist/hooks/SearchOperations/index.cjs +102 -0
- package/dist/hooks/SearchOperations/index.d.cts +22 -0
- package/dist/hooks/SearchOperations/index.d.ts +22 -0
- package/dist/hooks/SearchOperations/index.js +99 -0
- package/dist/hooks/SessionStorageOperations/index.cjs +30 -0
- package/dist/hooks/SessionStorageOperations/index.d.cts +8 -0
- package/dist/hooks/SessionStorageOperations/index.d.ts +8 -0
- package/dist/hooks/SessionStorageOperations/index.js +28 -0
- package/dist/hooks/ShopifyUrlOperations/index.cjs +53 -0
- package/dist/hooks/ShopifyUrlOperations/index.d.cts +23 -0
- package/dist/hooks/ShopifyUrlOperations/index.d.ts +23 -0
- package/dist/hooks/ShopifyUrlOperations/index.js +49 -0
- package/dist/hooks/SnapCalculator/index.cjs +29 -0
- package/dist/hooks/SnapCalculator/index.d.cts +12 -0
- package/dist/hooks/SnapCalculator/index.d.ts +12 -0
- package/dist/hooks/SnapCalculator/index.js +27 -0
- package/dist/hooks/SystemSettingsContext/index.cjs +7 -0
- package/dist/hooks/SystemSettingsContext/index.d.cts +23 -0
- package/dist/hooks/SystemSettingsContext/index.d.ts +23 -0
- package/dist/hooks/SystemSettingsContext/index.js +7 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.cjs +22 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.d.cts +18 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.d.ts +18 -0
- package/dist/hooks/TrackComponentVisibleEvent/index.js +22 -0
- package/dist/hooks/UpdateAnalyticsProps/index.cjs +62 -0
- package/dist/hooks/UpdateAnalyticsProps/index.d.cts +9 -0
- package/dist/hooks/UpdateAnalyticsProps/index.d.ts +9 -0
- package/dist/hooks/UpdateAnalyticsProps/index.js +59 -0
- package/dist/hooks/utils.cjs +8 -0
- package/dist/hooks/utils.d.cts +13 -0
- package/dist/hooks/utils.d.ts +13 -0
- package/dist/hooks/utils.js +3 -0
- package/dist/index-B9HUPS_i.d.cts +186 -0
- package/dist/{index-CcIG01PJ.d.ts → index-BN-3ctk_.d.ts} +2 -2
- package/dist/index-BNiYL8h0.d.cts +28 -0
- package/dist/{index-BDPWBU3h.d.cts → index-BW6pHibZ.d.cts} +1 -1
- package/dist/index-BirtCYN3.d.ts +186 -0
- package/dist/index-Bmub8e38.d.cts +1 -1
- package/dist/{index-Cqg6ltII.d.ts → index-BoYC9XLW.d.ts} +1 -1
- package/dist/index-C9zXP5bg.d.ts +28 -0
- package/dist/index-CESxqFso.d.cts +1 -1
- package/dist/index-CK_J3QMY.d.ts +676 -0
- package/dist/index-C_MIfxF0.d.cts +676 -0
- package/dist/index-CiWEYzXl.d.cts +1 -1
- package/dist/{index-C6KdON7d.d.ts → index-Da0UzyI9.d.ts} +1 -1
- package/dist/{index-ylUiJvnr.d.ts → index-Dr_c2DDq.d.ts} +1 -1
- package/dist/{index-PGF8BvxQ.d.ts → index-DsiilEj-.d.ts} +1 -1
- package/dist/{index-Byb45OPg.d.cts → index-MOOZ2oxZ.d.cts} +1 -1
- package/dist/{index-DOii3C6b.d.ts → index-ghzD_356.d.ts} +1 -1
- package/dist/{index-B0NW9KTj.d.cts → index-hdbCEjYy.d.cts} +1 -1
- package/dist/interceptors/index.cjs +2 -1
- package/dist/interceptors/index.d.cts +10 -10
- package/dist/interceptors/index.d.ts +13 -13
- package/dist/interceptors/index.js +2 -1
- package/dist/interceptors/types.cjs +1 -0
- package/dist/interceptors/types.d.cts +13 -0
- package/dist/interceptors/types.d.ts +13 -0
- package/dist/interceptors/types.js +3 -0
- package/dist/localStorageContext-DiTziaPa.js +95 -0
- package/dist/localStorageContext-S38L0OSP.cjs +115 -0
- package/dist/logger-CkhQayOW.js +20 -0
- package/dist/logger-DQ0WfCcD.cjs +26 -0
- package/dist/{models-BkXg5eIP.cjs → models-C48U9q70.js} +220 -458
- package/dist/models-Ctn-pmug.cjs +1537 -0
- package/dist/newOrgConfigAtom-D6R-7HCk.cjs +15 -0
- package/dist/newOrgConfigAtom-bn1lnljf.js +8 -0
- package/dist/newOrgConfigContext-D3WoaBVU.cjs +68 -0
- package/dist/newOrgConfigContext-rWOYz0E8.js +53 -0
- package/dist/{nodeSelector-Dm4S-10n.d.cts → nodeSelector-B3bPtEjX.d.cts} +1 -1
- package/dist/{nodeSelector-BxrS2S_k.d.ts → nodeSelector-D5gjDWZ3.d.ts} +1 -1
- package/dist/org-CIhjzxWr.cjs +43 -0
- package/dist/org-CeWXnpwF.js +12 -0
- package/dist/{orgAnalyticsConfig-ClrFy2qH.js → orgAnalyticsConfig-BC4_sEmn.js} +1 -1
- package/dist/{orgAnalyticsConfig-BJ2A1RZ-.cjs → orgAnalyticsConfig-DsGbyFhO.cjs} +1 -1
- package/dist/search--NZPZkK3.cjs +205 -0
- package/dist/search-BLShhjvR.d.ts +20 -0
- package/dist/search-CxZl7iQF.js +126 -0
- package/dist/{search-filter-types-fZf91Pdw.d.ts → search-filter-types-DPgeG8FS.d.ts} +1 -1
- package/dist/{search-filter-types-DosbseF3.d.cts → search-filter-types-_mprCnBi.d.cts} +1 -1
- package/dist/search-y-ioX5Mz.d.cts +20 -0
- package/dist/searchContext-C4Glr8Nv.cjs +145 -0
- package/dist/searchContext-VnjhV7Lk.js +129 -0
- package/dist/searchServiceAdapter-DEv1tTn0.cjs +34 -0
- package/dist/searchServiceAdapter-WyCU55NV.js +16 -0
- package/dist/sessionStorageContext-BJ05_j7l.cjs +66 -0
- package/dist/sessionStorageContext-Dp_bhXQP.js +52 -0
- package/dist/shopifyUrlContext-CGqpJl1o.js +61 -0
- package/dist/shopifyUrlContext-Cob4L7Dt.cjs +75 -0
- package/dist/spiffyWidgets-BuS00VaQ.d.cts +20 -0
- package/dist/spiffyWidgets-GILaqHv6.d.ts +20 -0
- package/dist/systemSettingsContext-BDKWrrco.cjs +60 -0
- package/dist/systemSettingsContext-Dqng3YSZ.js +39 -0
- package/dist/{test-types-C9b_OdfO.d.ts → test-types-EzMFw_U3.d.ts} +1 -1
- package/dist/{test-types-CgVJtwUr.d.cts → test-types-ThQiO_cc.d.cts} +1 -1
- package/dist/types/index.cjs +33 -5
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +30 -3
- package/dist/types-BUeRbZUk.d.cts +10 -0
- package/dist/types-BwNrLPSZ.cjs +106 -0
- package/dist/types-CMuTSKrW.d.ts +10 -0
- package/dist/types-CS0Hrzja.js +30 -0
- package/dist/types-CxObxLKs.cjs +48 -0
- package/dist/types-D3uOF0Oy.js +76 -0
- package/dist/types-fsXBIQwO.d.ts +51 -0
- package/dist/types-zuWLkBJ3.d.cts +51 -0
- package/dist/types.d.cts +15 -0
- package/dist/types.d.ts +15 -0
- package/dist/unsupportedProductExceptions-CKiri_vO.cjs +32 -0
- package/dist/unsupportedProductExceptions-ClxlJ6cU.js +20 -0
- package/dist/urlsParser-D1nsJgQG.cjs +78 -0
- package/dist/urlsParser-DzEetiey.js +42 -0
- package/dist/useAmplitudeOperations-BSsyvkQ2.cjs +41 -0
- package/dist/useAmplitudeOperations-BottjwT9.js +34 -0
- package/dist/useAppDetails-BpiBxS_5.cjs +38 -0
- package/dist/useAppDetails-DDNIsM46.js +30 -0
- package/dist/useDebounce-BaIp-A1W.cjs +26 -0
- package/dist/useDebounce-CxPj9WmE.js +19 -0
- package/dist/useGraphQLConfig-DZ0ZannB.js +63 -0
- package/dist/useGraphQLConfig-Dw8dDh3T.cjs +76 -0
- package/dist/useIntersection-B4J9UhaG.js +21 -0
- package/dist/useIntersection-DKWc5MY6.cjs +28 -0
- package/dist/{useMessageInterceptor-B87e3yu3.cjs → useMessageInterceptor-CstX10ih.cjs} +3 -3
- package/dist/{useMessageInterceptor-Bb7YRaWk.js → useMessageInterceptor-D5oAekXn.js} +2 -2
- package/dist/userIdentityContext-D2oFVFzo.d.cts +20 -0
- package/dist/userIdentityContext-DPFkCSCu.cjs +125 -0
- package/dist/userIdentityContext-Z65zM-Ae.js +109 -0
- package/dist/userIdentityContext-wYRpgkaJ.d.ts +20 -0
- package/dist/utilityTypes-DynzxjK3.js +1 -0
- package/dist/utilityTypes-xb8SjKSV.cjs +0 -0
- package/dist/utils-2SWrJ12w.cjs +29 -0
- package/dist/utils-B1xLx9S8.d.ts +15 -0
- package/dist/utils-B3x_9JTY.d.cts +15 -0
- package/dist/utils-BZtSmwgh.d.cts +22 -0
- package/dist/utils-Bcz5kAgP.js +92 -0
- package/dist/utils-CEKzBcN2.js +27 -0
- package/dist/utils-CMqFfqZx.cjs +130 -0
- package/dist/utils-CVovRwlw.js +606 -0
- package/dist/utils-CqBxIpEV.js +23 -0
- package/dist/utils-CsMbZmRw.cjs +33 -0
- package/dist/utils-DzPSXtmD.cjs +715 -0
- package/dist/utils-bxOCg2i9.d.ts +22 -0
- package/dist/variantInfo-B7IwRpCg.cjs +0 -0
- package/dist/variantInfo-BtOYUGWa.js +1 -0
- package/package.json +191 -7
- package/src/application/models/index.ts +0 -1
- package/src/application/utils/analyticsUtils.ts +1 -1
- package/src/atoms/amplitude/amplitudeTrackEventAtom.ts +1 -1
- package/src/atoms/app/index.ts +1 -1
- package/src/atoms/chat/chatState.ts +1 -1
- package/src/atoms/chat/replies.ts +1 -1
- package/src/atoms/org/graphqlConfig.ts +1 -39
- package/src/atoms/org/index.ts +0 -1
- package/src/atoms/org/newOrgConfigAtom.ts +2 -6
- package/src/contexts/{amplitudeContext.tsx → amplitudeContext/amplitudeContext.tsx} +1 -2
- package/src/contexts/amplitudeContext/index.ts +1 -0
- package/src/contexts/{cdnContext.tsx → cdnContext/cdnContext.tsx} +1 -1
- package/src/contexts/cdnContext/index.ts +1 -0
- package/src/contexts/{chatContext.tsx → chatContext/chatContext.tsx} +3 -3
- package/src/contexts/chatContext/index.ts +1 -0
- package/src/contexts/{enviveConfigContext.tsx → enviveConfigContext/enviveConfigContext.tsx} +1 -1
- package/src/contexts/enviveConfigContext/index.ts +1 -0
- package/src/contexts/{enviveCssContext.tsx → enviveCssContext/enviveCssContext.tsx} +1 -1
- package/src/contexts/enviveCssContext/index.ts +1 -0
- package/src/contexts/{featureFlagContext.tsx → featureFlagContext/featureFlagContext.tsx} +1 -1
- package/src/contexts/featureFlagContext/index.ts +1 -0
- package/src/contexts/featureFlagServiceContext/index.ts +1 -0
- package/src/contexts/graphqlContext/index.ts +1 -0
- package/src/contexts/localStorageContext/index.ts +1 -0
- package/src/contexts/{localStorageContext.tsx → localStorageContext/localStorageContext.tsx} +2 -2
- package/src/contexts/newOrgConfigContext/index.ts +1 -0
- package/src/contexts/newOrgConfigContext/newOrgConfigContext.tsx +70 -0
- package/src/contexts/searchContext/index.ts +1 -0
- package/src/contexts/{searchContext.tsx → searchContext/searchContext.tsx} +5 -5
- package/src/contexts/sessionStorageContext/index.ts +1 -0
- package/src/contexts/{sessionStorageContext.tsx → sessionStorageContext/sessionStorageContext.tsx} +1 -1
- package/src/contexts/shopifyUrlContext/index.ts +1 -0
- package/src/contexts/systemSettingsContext/index.ts +1 -0
- package/src/contexts/userIdentityContext/index.ts +1 -0
- package/src/events/registerAnalyticsListeners.ts +2 -2
- package/src/favicon.ico +0 -0
- package/src/hooks/AmplitudeOperations/index.ts +1 -0
- package/src/hooks/{useAmplitudeOperations.ts → AmplitudeOperations/useAmplitudeOperations.ts} +1 -1
- package/src/hooks/AppDetails/index.ts +1 -0
- package/src/hooks/{useAppDetails.ts → AppDetails/useAppDetails.ts} +1 -3
- package/src/hooks/BlockBackButton/index.ts +1 -0
- package/src/hooks/CdnOperations/index.ts +1 -0
- package/src/hooks/{useCdnOperations.ts → CdnOperations/useCdnOperations.ts} +1 -1
- package/src/hooks/ChatToggle/index.ts +1 -0
- package/src/hooks/{useChatToggle.ts → ChatToggle/useChatToggle.ts} +1 -1
- package/src/hooks/ChatToggleAnalytics/index.ts +1 -0
- package/src/hooks/{useChatToggleAnalytics.ts → ChatToggleAnalytics/useChatToggleAnalytics.ts} +1 -1
- package/src/hooks/CustomerSupportHandoff/index.ts +1 -0
- package/src/hooks/Debounce/index.ts +1 -0
- package/src/hooks/ElementObserver/index.ts +1 -0
- package/src/hooks/GrabAndScroll/index.ts +1 -0
- package/src/hooks/GraphQLConfig/index.ts +1 -0
- package/src/hooks/{useGraphQLConfig.ts → GraphQLConfig/useGraphQLConfig.ts} +1 -1
- package/src/hooks/IdentifyUser/index.ts +1 -0
- package/src/hooks/{useIdentifyUser.ts → IdentifyUser/useIdentifyUser.ts} +1 -1
- package/src/hooks/ImageResolver/index.ts +1 -0
- package/src/hooks/Intersection/index.ts +1 -0
- package/src/hooks/IsSmallScreen/index.ts +1 -0
- package/src/hooks/LocalStorageOperations/index.ts +1 -0
- package/src/hooks/{useLocalStorageOperations.ts → LocalStorageOperations/useLocalStorageOperations.ts} +2 -2
- package/src/hooks/MessageFilter/index.ts +1 -0
- package/src/hooks/MessageScrollObserver/index.ts +1 -0
- package/src/hooks/NewOrgConfig/index.ts +1 -0
- package/src/hooks/{useNewOrgConfig.ts → NewOrgConfig/useNewOrgConfig.ts} +1 -1
- package/src/hooks/Search/index.ts +1 -0
- package/src/hooks/{useSearch.tsx → Search/useSearch.tsx} +5 -4
- package/src/hooks/SearchOperations/index.ts +1 -0
- package/src/hooks/SessionStorageOperations/index.ts +1 -0
- package/src/hooks/{useSessionStorageOperations.ts → SessionStorageOperations/useSessionStorageOperations.ts} +1 -1
- package/src/hooks/ShopifyUrlOperations/index.ts +1 -0
- package/src/hooks/{useShopifyUrlOperations.ts → ShopifyUrlOperations/useShopifyUrlOperations.ts} +1 -1
- package/src/hooks/SnapCalculator/index.ts +1 -0
- package/src/hooks/SystemSettingsContext/index.ts +1 -0
- package/src/hooks/SystemSettingsContext/useSystemSettingsContext.ts +14 -0
- package/src/hooks/TrackComponentVisibleEvent/index.ts +1 -0
- package/src/hooks/{useTrackComponentVisibleEvent.ts → TrackComponentVisibleEvent/useTrackComponentVisibleEvent.ts} +2 -2
- package/src/hooks/UpdateAnalyticsProps/index.ts +1 -0
- package/src/hooks/{useUpdateAnalyticsProps.ts → UpdateAnalyticsProps/useUpdateAnalyticsProps.ts} +1 -1
- package/dist/amplitudeContext-CHzas7Cf.d.cts +0 -52
- package/dist/amplitudeContext-D-7fmVh1.cjs +0 -356
- package/dist/amplitudeContext-hY3caPC6.js +0 -322
- package/dist/amplitudeContext-tJ4y-SzX.d.ts +0 -52
- package/dist/api-DjeZXxl_.js +0 -207
- package/dist/api-_JaUnIUj.cjs +0 -292
- package/dist/bandolier-DYEz4-8C.js +0 -1229
- package/dist/bandolier-o_-xrbOV.cjs +0 -1229
- package/dist/carpe-CsG5jCcl.cjs +0 -607
- package/dist/carpe-DONk00bZ.js +0 -605
- package/dist/cdnUtils-32v8bDX9.cjs +0 -16
- package/dist/cdnUtils-E4tLBt2g.js +0 -11
- package/dist/chat-CO7cRkaq.cjs +0 -506
- package/dist/chat-hcRc4RRd.js +0 -285
- package/dist/contexts/index.cjs +0 -57
- package/dist/contexts/index.d.cts +0 -10
- package/dist/contexts/index.d.ts +0 -10
- package/dist/contexts/index.js +0 -23
- package/dist/contexts-B4ihTBsV.cjs +0 -2980
- package/dist/contexts-DGlr7M1o.js +0 -2596
- package/dist/coterie-CKB93qfz.cjs +0 -239
- package/dist/coterie-DHcj2fRE.js +0 -239
- package/dist/custservice-types-Dy0kc9TW.cjs +0 -35
- package/dist/custservice-types-mnIunabv.js +0 -23
- package/dist/default-BnB4p0Se.cjs +0 -234
- package/dist/default-D6f5Dyt7.js +0 -199
- package/dist/default-ZKkE5zT4.cjs +0 -4
- package/dist/default-legGZJwI.js +0 -4
- package/dist/divIds-2dJlU3z8.cjs +0 -117
- package/dist/divIds-BUrN2vY-.js +0 -21
- package/dist/dreamlandBaby-BiRYYFav.js +0 -346
- package/dist/dreamlandBaby-zuvmfzfD.cjs +0 -346
- package/dist/embedded-BJLWIriJ.js +0 -23
- package/dist/embedded-Dl79TJLC.cjs +0 -131
- package/dist/entrypoints-Bs3pn6EV.js +0 -7
- package/dist/entrypoints-Dqi5pzWH.cjs +0 -19
- package/dist/enviveConfig-BccuzS2a.cjs +0 -240
- package/dist/enviveConfig-CzhTz8Aa.js +0 -152
- package/dist/fiveCbd-DwTTwC2j.cjs +0 -613
- package/dist/fiveCbd-Dz2NouOF.js +0 -613
- package/dist/forLoveAndLemons-DqSdyD6S.js +0 -665
- package/dist/forLoveAndLemons-Ud6mPrV3.cjs +0 -667
- package/dist/graphql-BNW60InJ.cjs +0 -128
- package/dist/graphql-CjB8wHzm.js +0 -74
- package/dist/graphqlConfig-CYt6tWII.js +0 -30
- package/dist/graphqlConfig-DicykC-o.cjs +0 -61
- package/dist/greenpan-B_EbPkSP.js +0 -397
- package/dist/greenpan-kPE4fJgd.cjs +0 -397
- package/dist/grooveLife-Ckuir319.js +0 -342
- package/dist/grooveLife-DKSEQp1F.cjs +0 -342
- package/dist/homegrownCannabis-BVPa2pqe.js +0 -410
- package/dist/homegrownCannabis-BwIAkxuA.cjs +0 -410
- package/dist/hooks/index.cjs +0 -63
- package/dist/hooks/index.d.cts +0 -314
- package/dist/hooks/index.d.ts +0 -314
- package/dist/hooks/index.js +0 -23
- package/dist/index-BMPtlgac.d.ts +0 -191
- package/dist/index-C7pGDl1A.d.ts +0 -1609
- package/dist/index-C9lgsCWp.d.cts +0 -203
- package/dist/index-Cc-wBCn6.d.ts +0 -203
- package/dist/index-DTu2X-YS.d.cts +0 -1609
- package/dist/index-OEifcBsm.d.cts +0 -191
- package/dist/jackArcher-B39OEIj6.cjs +0 -727
- package/dist/jackArcher-BwkWGybC.js +0 -727
- package/dist/jordanCraig-CxRH_jLi.js +0 -1786
- package/dist/jordanCraig-RwmWw-jM.cjs +0 -1786
- package/dist/kindredBravely-D78VwL20.cjs +0 -490
- package/dist/kindredBravely-DQDpAzdl.js +0 -490
- package/dist/kutFromTheKloth-TcXQkIti.js +0 -369
- package/dist/kutFromTheKloth-dXRrNti0.cjs +0 -369
- package/dist/larryAndSerges-Bh5XEXsZ.js +0 -262
- package/dist/larryAndSerges-COdBzOzu.cjs +0 -262
- package/dist/leapsAndRebounds-BbXnqkl5.cjs +0 -360
- package/dist/leapsAndRebounds-mjCaH1k-.js +0 -360
- package/dist/longevityrx-DdV3v26F.cjs +0 -320
- package/dist/longevityrx-DfPDfvAt.js +0 -320
- package/dist/lookOptic-DgXFGBPP.cjs +0 -282
- package/dist/lookOptic-FgVW1afF.js +0 -282
- package/dist/mantraBrand-C5gVm3rk.cjs +0 -750
- package/dist/mantraBrand-uV8HCDR8.js +0 -750
- package/dist/medterra-BtDpr1Hw.cjs +0 -583
- package/dist/medterra-DgzE7-mj.js +0 -583
- package/dist/modells-CJjsxOIR.js +0 -484
- package/dist/modells-Ck5KbRFj.cjs +0 -484
- package/dist/models-UZ6HszfZ.js +0 -1281
- package/dist/org-C2RrBVQR.cjs +0 -81
- package/dist/org-xMytX--e.js +0 -38
- package/dist/pressedFloral-Bteoboms.js +0 -661
- package/dist/pressedFloral-CexgV-xy.cjs +0 -661
- package/dist/search-BMOAmrmY.js +0 -459
- package/dist/search-Df0Ifneg.cjs +0 -672
- package/dist/skinPerfection-BGzq9lq-.cjs +0 -334
- package/dist/skinPerfection-BlvcEcUE.js +0 -334
- package/dist/snapSupplements-CbbGzAgO.cjs +0 -285
- package/dist/snapSupplements-kcsPAOm9.js +0 -285
- package/dist/socialProofClasses-Db8gzsfi.cjs +0 -40
- package/dist/socialProofClasses-kwDvwLOZ.js +0 -10
- package/dist/spanx-B4WFA_rI.js +0 -661
- package/dist/spanx-BWoE4F8b.cjs +0 -663
- package/dist/spanxStaging-BOrOjhXn.js +0 -845
- package/dist/spanxStaging-BfdfIug4.cjs +0 -848
- package/dist/suggestionBarV2-types-IMMOmCir.js +0 -10
- package/dist/suggestionBarV2-types-nnGNgFvR.cjs +0 -16
- package/dist/supergoop-22dd5_BS.js +0 -323
- package/dist/supergoop-B-a4cku2.cjs +0 -323
- package/dist/types--pr1GQQx.js +0 -154
- package/dist/types-BVSyY3Hk.cjs +0 -196
- package/dist/uniqueVintage-CJXiNNe7.js +0 -1211
- package/dist/uniqueVintage-D0jzJWlo.cjs +0 -1213
- package/dist/userIdentityContext-BPqvVIg0.d.cts +0 -20
- package/dist/userIdentityContext-wbCRmlzp.d.ts +0 -20
- package/dist/utils-C9ZSCx12.js +0 -888
- package/dist/utils-D5HO61hG.cjs +0 -1016
- package/dist/venaCbd-Bhhu_qUf.cjs +0 -365
- package/dist/venaCbd-CanovPS_.js +0 -365
- package/dist/westonJonBoucher-BC0x1ktI.cjs +0 -422
- package/dist/westonJonBoucher-BUu1_wP1.js +0 -422
- package/dist/wineEnthusiast-BlCryfil.cjs +0 -940
- package/dist/wineEnthusiast-Ck1x5iJq.js +0 -940
- package/dist/wolfMattress-D9Mjq-HP.js +0 -372
- package/dist/wolfMattress-JssghhC-.cjs +0 -372
- package/dist/wolfTactical-C6exYhL7.cjs +0 -349
- package/dist/wolfTactical-CnV3KQdI.js +0 -349
- package/src/application/models/supportedOrgs.ts +0 -161
- package/src/atoms/org/orgPageConfig.ts +0 -42
- package/src/contexts/index.ts +0 -16
- package/src/contexts/newOrgConfigContext.tsx +0 -104
- package/src/contexts/orgConfigContext.tsx +0 -106
- package/src/hooks/index.ts +0 -27
- package/src/hooks/useSystemSettingsContext.ts +0 -12
- package/src/merchants/bandolier/bandolier.ts +0 -1371
- package/src/merchants/carpe/carpe.ts +0 -653
- package/src/merchants/coterie/coterie.ts +0 -277
- package/src/merchants/default.ts +0 -196
- package/src/merchants/dreamlandBaby/dreamlandBaby.ts +0 -381
- package/src/merchants/fiveCbd/fiveCbd.ts +0 -691
- package/src/merchants/forLoveAndLemons/forLoveAndLemons.ts +0 -751
- package/src/merchants/greenpan/greenpan.ts +0 -434
- package/src/merchants/grooveLife/grooveLife.ts +0 -392
- package/src/merchants/homegrownCannabis/homegrownCannabis.ts +0 -474
- package/src/merchants/init-merchant.sh +0 -53
- package/src/merchants/jackArcher/jackArcher.ts +0 -989
- package/src/merchants/jordanCraig/jordanCraig.ts +0 -1927
- package/src/merchants/kindredBravely/kindredBravely.ts +0 -538
- package/src/merchants/kutFromTheKloth/kutFromTheKloth.ts +0 -421
- package/src/merchants/larryAndSerges/larryAndSerges.ts +0 -318
- package/src/merchants/leapsAndRebounds/leapsAndRebounds.ts +0 -424
- package/src/merchants/longevityrx/longevityrx.ts +0 -374
- package/src/merchants/lookOptic/lookOptic.ts +0 -323
- package/src/merchants/mantraBrand/mantraBrand.ts +0 -844
- package/src/merchants/medterra/medterra.ts +0 -673
- package/src/merchants/modells/modells.ts +0 -543
- package/src/merchants/pressedFloral/pressedFloral.ts +0 -728
- package/src/merchants/skinPerfection/skinPerfection.ts +0 -385
- package/src/merchants/snapSupplements/snapSupplements.ts +0 -328
- package/src/merchants/spanx/spanx.ts +0 -810
- package/src/merchants/spanx/spanxStaging.ts +0 -936
- package/src/merchants/supergoop/supergoop.ts +0 -375
- package/src/merchants/uniqueVintage/uniqueVintage.ts +0 -1314
- package/src/merchants/venaCbd/venaCbd.ts +0 -407
- package/src/merchants/westonJonBoucher/westonJonBoucher.ts +0 -473
- package/src/merchants/wineEnthusiast/wineEnthusiast.ts +0 -990
- package/src/merchants/wolfMattress/wolfMattress.ts +0 -411
- package/src/merchants/wolfTactical/wolfTactical.ts +0 -383
- /package/dist/{atomStore-KSoFS3Jj.cjs → AmplitudeOperations-CNyxbBY6.cjs} +0 -0
- /package/dist/{atomStore-CZnUUsrr.js → AmplitudeOperations-Oa2efWtF.js} +0 -0
- /package/dist/{locators-fBXS_pxP.js → atomStore-BS6qtYZF.js} +0 -0
- /package/dist/{locators-0YYZu9n4.cjs → atomStore-BjRyLFEx.cjs} +0 -0
- /package/dist/{utilityTypes-8sETsYPk.js → types-DtTnp0o0.js} +0 -0
- /package/dist/{utilityTypes-COShxVir.cjs → types-a8gm_IaQ.cjs} +0 -0
- /package/dist/{variantInfo-orXoPBCU.cjs → types.cjs} +0 -0
- /package/dist/{variantInfo-DbVxA1yE.js → types.js} +0 -0
- /package/src/contexts/{featureFlagServiceContext.tsx → featureFlagServiceContext/featureFlagServiceContext.tsx} +0 -0
- /package/src/contexts/{graphqlContext.tsx → graphqlContext/graphqlContext.tsx} +0 -0
- /package/src/contexts/{shopifyUrlContext.tsx → shopifyUrlContext/shopifyUrlContext.tsx} +0 -0
- /package/src/contexts/{systemSettingsContext.tsx → systemSettingsContext/systemSettingsContext.tsx} +0 -0
- /package/src/contexts/{userIdentityContext.tsx → userIdentityContext/userIdentityContext.tsx} +0 -0
- /package/src/hooks/{useBlockBackButton.ts → BlockBackButton/useBlockBackButton.ts} +0 -0
- /package/src/hooks/{useCustomerSupportHandoff.ts → CustomerSupportHandoff/useCustomerSupportHandoff.ts} +0 -0
- /package/src/hooks/{useDebounce.ts → Debounce/useDebounce.ts} +0 -0
- /package/src/hooks/{useElementObserver.ts → ElementObserver/useElementObserver.ts} +0 -0
- /package/src/hooks/{useGrabAndScroll.ts → GrabAndScroll/useGrabAndScroll.ts} +0 -0
- /package/src/hooks/{useImageResolver.ts → ImageResolver/useImageResolver.ts} +0 -0
- /package/src/hooks/{useIntersection.ts → Intersection/useIntersection.ts} +0 -0
- /package/src/hooks/{useIsSmallScreen.ts → IsSmallScreen/useIsSmallScreen.ts} +0 -0
- /package/src/hooks/{useMessageFilter.ts → MessageFilter/useMessageFilter.ts} +0 -0
- /package/src/hooks/{useMessageScrollObserver.ts → MessageScrollObserver/useMessageScrollObserver.ts} +0 -0
- /package/src/hooks/{useSearchOperations.ts → SearchOperations/useSearchOperations.ts} +0 -0
- /package/src/hooks/{useSnapCalculator.ts → SnapCalculator/useSnapCalculator.ts} +0 -0
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CHAT_PREVIEW_TESTID,
|
|
3
|
-
TOP_SUGGESTION_BAR_TESTID,
|
|
4
|
-
} from "src/config/locators";
|
|
5
|
-
import { OrgShortName, BasicOrgInfoType } from "src/application/models";
|
|
6
|
-
import { ChatElementDisplayLocation } from "src/application/models/chatElementDisplayLocation";
|
|
7
|
-
import { getCdnAssetURL } from "src/application/utils/cdnUtils";
|
|
8
|
-
import { GridInsertionType } from "src/merchants/gridInsertion";
|
|
9
|
-
import { DOMInsertionType } from "src/merchants/domInsertion";
|
|
10
|
-
import {
|
|
11
|
-
CHAT_PREVIEW_CONTAINER_ID,
|
|
12
|
-
TOP_SUGGESTION_BAR_PDP_ID,
|
|
13
|
-
} from "src/config/divIds";
|
|
14
|
-
import { SuggestionBarLocationForMetrics } from "src/types/suggestionBarV2-types";
|
|
15
|
-
import {
|
|
16
|
-
ChatPreviewWidgetConfig,
|
|
17
|
-
ColorMapping,
|
|
18
|
-
ColorNames,
|
|
19
|
-
colorVar,
|
|
20
|
-
OrgPageConfig,
|
|
21
|
-
OrgUIConfig,
|
|
22
|
-
PageVariantTestType,
|
|
23
|
-
SuggestionBarWidgetV2Config,
|
|
24
|
-
WidgetType,
|
|
25
|
-
} from "src/contexts/types";
|
|
26
|
-
import { defaultOrgUIConfig } from "src/merchants/default";
|
|
27
|
-
|
|
28
|
-
const longevityrxColors: ColorMapping = {
|
|
29
|
-
[ColorNames.TextPrimary]: "#051527",
|
|
30
|
-
[ColorNames.TextSecondary]: "#697977",
|
|
31
|
-
[ColorNames.TextAccent]: "#004742",
|
|
32
|
-
[ColorNames.TextLink]: "#051527",
|
|
33
|
-
[ColorNames.TextLight]: "#FFFFFF",
|
|
34
|
-
[ColorNames.BackgroundPrimary]: "#A38B5B",
|
|
35
|
-
[ColorNames.BackgroundSecondary]: "#EFF7F0",
|
|
36
|
-
[ColorNames.BackgroundSecondaryDark]: "#E3EBE4",
|
|
37
|
-
[ColorNames.BackgroundTertiary]: "#EBEBEB",
|
|
38
|
-
[ColorNames.BackgroundDark]: "#051527",
|
|
39
|
-
[ColorNames.BackgroundLight]: "#FFFFFF",
|
|
40
|
-
[ColorNames.BackgroundSaturated]: "#CCCCCC",
|
|
41
|
-
[ColorNames.BorderLight]: "#EEEEEE",
|
|
42
|
-
[ColorNames.BorderMedium]: "#D9D9D9",
|
|
43
|
-
[ColorNames.BorderDark]: "#051527",
|
|
44
|
-
[ColorNames.BorderOutline]: "#051527",
|
|
45
|
-
[ColorNames.AccentPrimary]: "#8A6A42",
|
|
46
|
-
[ColorNames.AccentSecondary]: "#EFF7F0",
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
const longevityrxOrgUIConfig = (): OrgUIConfig => {
|
|
50
|
-
const defaultLongevityrxOrgConfig = defaultOrgUIConfig(
|
|
51
|
-
OrgShortName.Longevityrx
|
|
52
|
-
);
|
|
53
|
-
|
|
54
|
-
return {
|
|
55
|
-
...defaultLongevityrxOrgConfig,
|
|
56
|
-
chatMessageConfig: {
|
|
57
|
-
...defaultLongevityrxOrgConfig.chatMessageConfig,
|
|
58
|
-
assistantChatTitle: "Longevity Wellness Guide",
|
|
59
|
-
},
|
|
60
|
-
chatHeader: {
|
|
61
|
-
...defaultLongevityrxOrgConfig.chatHeader,
|
|
62
|
-
imageSrc: getCdnAssetURL(
|
|
63
|
-
"longevity-rx-logo.svg",
|
|
64
|
-
OrgShortName.Longevityrx
|
|
65
|
-
),
|
|
66
|
-
},
|
|
67
|
-
chatPreviewConfig: {
|
|
68
|
-
...defaultLongevityrxOrgConfig.chatPreviewConfig!,
|
|
69
|
-
buttonBackgroundColor: colorVar(ColorNames.BackgroundSecondary),
|
|
70
|
-
buttonBackgroundHoverColor: colorVar(ColorNames.BackgroundSecondaryDark),
|
|
71
|
-
buttonTextColor: colorVar(ColorNames.TextLink),
|
|
72
|
-
buttonTextHoverColor: colorVar(ColorNames.TextLink),
|
|
73
|
-
iconFillColor: colorVar(ColorNames.AccentPrimary),
|
|
74
|
-
headerConfig: {
|
|
75
|
-
...defaultLongevityrxOrgConfig.chatPreviewConfig!.headerConfig,
|
|
76
|
-
imageSrc: getCdnAssetURL(
|
|
77
|
-
"longevityrx-logo.svg",
|
|
78
|
-
OrgShortName.Longevityrx
|
|
79
|
-
),
|
|
80
|
-
imageHeight: 20,
|
|
81
|
-
},
|
|
82
|
-
footerConfig: {
|
|
83
|
-
...defaultLongevityrxOrgConfig.chatPreviewConfig!.footerConfig,
|
|
84
|
-
replyButtonIcon: "thinMagnifyingGlass",
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
floatingEntrypointConfig: {
|
|
88
|
-
...defaultLongevityrxOrgConfig.floatingEntrypointConfig!,
|
|
89
|
-
showOption: "always",
|
|
90
|
-
expandedColor: colorVar(ColorNames.BackgroundDark),
|
|
91
|
-
expansionText: {
|
|
92
|
-
pdp: "Could this be your secret to vitality?",
|
|
93
|
-
plp: "Need personalized nutrition help?",
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
productCardConfig: {
|
|
97
|
-
...defaultLongevityrxOrgConfig.productCardConfig!,
|
|
98
|
-
},
|
|
99
|
-
pageCardConfig: {
|
|
100
|
-
...defaultLongevityrxOrgConfig.pageCardConfig!,
|
|
101
|
-
iconVariant: "background",
|
|
102
|
-
},
|
|
103
|
-
productReviewConfig: {
|
|
104
|
-
...defaultLongevityrxOrgConfig.productReviewConfig!,
|
|
105
|
-
colorVariant: "brand",
|
|
106
|
-
},
|
|
107
|
-
floatingChatConfig: {
|
|
108
|
-
...defaultLongevityrxOrgConfig.floatingChatConfig!,
|
|
109
|
-
suggestionButtonConfig: {
|
|
110
|
-
...defaultLongevityrxOrgConfig.floatingChatConfig!
|
|
111
|
-
.suggestionButtonConfig,
|
|
112
|
-
hoverVariant: "secondaryDark",
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
welcomeSectionConfig: {
|
|
116
|
-
...defaultLongevityrxOrgConfig.welcomeSectionConfig!,
|
|
117
|
-
title: "Welcome to LongevityRx AI!",
|
|
118
|
-
subtitle:
|
|
119
|
-
"Hi there! I’m Laura, your Longevity RX wellness guide. I’m here to help you find personalized, scientifically-formulated supplements to enhance your vitality and make every year count. How can I help you today?",
|
|
120
|
-
colorVariant: "accent",
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
merchantOverrideCss: `
|
|
124
|
-
.spiffy-social-proof-suggestion-footer-title {
|
|
125
|
-
color: ${colorVar(ColorNames.TextSecondary)} !important;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.spiffy-social-proof-content-button .spiffy-suggestion-button-question-class svg {
|
|
129
|
-
fill: ${colorVar(ColorNames.AccentPrimary)} !important;
|
|
130
|
-
stroke: ${colorVar(ColorNames.AccentPrimary)} !important;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.spiffy-social-proof-content-button .spiffy-suggestion-button-question-class:hover,
|
|
134
|
-
.spiffy-chat-preview-footer-container .spiffy-suggestion-button-question-class:hover {
|
|
135
|
-
background-color: ${colorVar(
|
|
136
|
-
ColorNames.BackgroundSecondaryDark
|
|
137
|
-
)} !important;
|
|
138
|
-
color: ${colorVar(ColorNames.TextLink)} !important;
|
|
139
|
-
svg {
|
|
140
|
-
fill: ${colorVar(ColorNames.AccentPrimary)} !important;
|
|
141
|
-
stroke: ${colorVar(ColorNames.AccentPrimary)} !important;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.spiffy-social-proof-customer-count {
|
|
146
|
-
color: ${colorVar(ColorNames.TextAccent)} !important;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.spiffy-social-proof-content-container {
|
|
150
|
-
color: ${colorVar(ColorNames.TextPrimary)} !important;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.spiffy-social-proof-header img {
|
|
154
|
-
width: 86px !important;
|
|
155
|
-
height: 20px !important;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.spiffy-social-proof-header h2 {
|
|
159
|
-
color: ${colorVar(ColorNames.TextPrimary)} !important;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.spiffy-user-query-button svg {
|
|
163
|
-
stroke: ${colorVar(ColorNames.BorderMedium)} !important;
|
|
164
|
-
fill: ${colorVar(ColorNames.BorderMedium)} !important;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
#spiffy-top-suggestion-bar-contents .spiffy-suggestion-button-question-class svg {
|
|
168
|
-
stroke: ${colorVar(ColorNames.AccentPrimary)} !important;
|
|
169
|
-
fill: ${colorVar(ColorNames.AccentPrimary)} !important;
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.spiffy-product-card-rating-star-color {
|
|
173
|
-
fill: ${colorVar(ColorNames.TextAccent)} !important;
|
|
174
|
-
stroke: ${colorVar(ColorNames.TextAccent)} !important;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.spiffy-product-card-price, .spiffy-product-card-rating {
|
|
178
|
-
color: ${colorVar(ColorNames.TextSecondary)} !important;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.spiffy-product-review-header-reviewer,
|
|
182
|
-
.spiffy-welcome-section-message-title,
|
|
183
|
-
.spiffy-assistant-message-header-text {
|
|
184
|
-
font-weight: 600 !important;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.spiffy-chat-header-close-button {
|
|
188
|
-
color: ${colorVar(ColorNames.BackgroundPrimary)} !important;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.spiffy-modal-sheet-footer .spiffy-suggestion-button-question-class svg {
|
|
192
|
-
display: none;
|
|
193
|
-
}
|
|
194
|
-
`,
|
|
195
|
-
};
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
const longevityrxPageConfig = (): OrgPageConfig => ({
|
|
199
|
-
pageVariants: [
|
|
200
|
-
{
|
|
201
|
-
variantId: "plp",
|
|
202
|
-
variantType: "plp",
|
|
203
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
204
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
205
|
-
widgetMounting: [
|
|
206
|
-
{
|
|
207
|
-
mountingConfigId: "chatPreviewPLP",
|
|
208
|
-
widgetConfigId: "chatPreviewPLP",
|
|
209
|
-
},
|
|
210
|
-
],
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
variantId: "pdp",
|
|
214
|
-
variantType: "pdp",
|
|
215
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
216
|
-
productIdExtractor: "url-resolver-product-id",
|
|
217
|
-
widgetMounting: [
|
|
218
|
-
{
|
|
219
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
220
|
-
widgetConfigId: "topSuggestionBar",
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
mountingConfigId: "chatPreviewPDP",
|
|
224
|
-
widgetConfigId: "chatPreviewPDP",
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
widgetConfigs: {
|
|
230
|
-
topSuggestionBar: {
|
|
231
|
-
type: WidgetType.SuggestionBarV2,
|
|
232
|
-
widgetConfigId: "topSuggestionsBar",
|
|
233
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
234
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
235
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
236
|
-
variant: "dark",
|
|
237
|
-
buttonBorderRadius: "md",
|
|
238
|
-
hoverVariant: "secondaryDark",
|
|
239
|
-
boldFirstButton: true,
|
|
240
|
-
animationSpeed: "standard",
|
|
241
|
-
buttonTexts: {
|
|
242
|
-
default: [
|
|
243
|
-
"Summarize the reviews",
|
|
244
|
-
"What are the top health benefits?",
|
|
245
|
-
"What do customers say about results?",
|
|
246
|
-
"How will this support my wellness goals?",
|
|
247
|
-
"How do I take this?",
|
|
248
|
-
],
|
|
249
|
-
},
|
|
250
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
251
|
-
chatPreviewPLP: {
|
|
252
|
-
widgetConfigId: "chatPreviewPLP",
|
|
253
|
-
type: WidgetType.ChatPreview,
|
|
254
|
-
variant: "filled",
|
|
255
|
-
addSeparators: false,
|
|
256
|
-
socialProofConfig: {
|
|
257
|
-
staticPLPImagesLayout: "grid",
|
|
258
|
-
logoName: getCdnAssetURL(
|
|
259
|
-
"longevityrx-logo.svg",
|
|
260
|
-
OrgShortName.Longevityrx
|
|
261
|
-
),
|
|
262
|
-
customerQuery:
|
|
263
|
-
"are talking about which products help them feel more resilient.",
|
|
264
|
-
headerTitle: "Shopping Assistant",
|
|
265
|
-
suggestionButtonStrings: [
|
|
266
|
-
"What are reviewers saying?",
|
|
267
|
-
"What boosts energy levels?",
|
|
268
|
-
"How can I support my digestive health?",
|
|
269
|
-
"What enhances brain function?",
|
|
270
|
-
"What aids repair and recovery?",
|
|
271
|
-
"What promotes hormone health?",
|
|
272
|
-
],
|
|
273
|
-
staticPLPImageNames: [
|
|
274
|
-
"plp-image1.png",
|
|
275
|
-
"plp-image2.png",
|
|
276
|
-
"plp-image3.png",
|
|
277
|
-
"plp-image4.png",
|
|
278
|
-
],
|
|
279
|
-
suggestionButtonVariantDefault: "secondary",
|
|
280
|
-
suggestionButtonVariantAccent: "dark",
|
|
281
|
-
userQueryButtonConfig: {
|
|
282
|
-
placeholderText: "What can I help you find?",
|
|
283
|
-
icon: "searchIcon",
|
|
284
|
-
},
|
|
285
|
-
},
|
|
286
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
287
|
-
chatPreviewPDP: {
|
|
288
|
-
widgetConfigId: "chatPreviewPDP",
|
|
289
|
-
type: WidgetType.ChatPreview,
|
|
290
|
-
variant: "filled",
|
|
291
|
-
addSeparators: false,
|
|
292
|
-
socialProofConfig: {
|
|
293
|
-
staticPLPImagesLayout: "horizontal",
|
|
294
|
-
logoName: getCdnAssetURL(
|
|
295
|
-
"longevityrx-logo.svg",
|
|
296
|
-
OrgShortName.Longevityrx
|
|
297
|
-
),
|
|
298
|
-
customerQuery: "asked “what are the top benefits?”",
|
|
299
|
-
headerTitle: "Shopping Assistant",
|
|
300
|
-
suggestionButtonStrings: [
|
|
301
|
-
"What are reviewers saying?",
|
|
302
|
-
"What benefits should I expect?",
|
|
303
|
-
"Is this right for me?",
|
|
304
|
-
"How should I use this?",
|
|
305
|
-
"What are the active ingredients?",
|
|
306
|
-
],
|
|
307
|
-
staticImageIndex: 0,
|
|
308
|
-
suggestionButtonVariantDefault: "secondary",
|
|
309
|
-
suggestionButtonVariantAccent: "dark",
|
|
310
|
-
userQueryButtonConfig: {
|
|
311
|
-
placeholderText: "Ask me anything",
|
|
312
|
-
icon: "send",
|
|
313
|
-
},
|
|
314
|
-
},
|
|
315
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
316
|
-
},
|
|
317
|
-
mountingConfigs: {
|
|
318
|
-
chatPreviewPLP: {
|
|
319
|
-
mountingConfigId: "chatPreviewPLP",
|
|
320
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
321
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
322
|
-
insertionPoint: {
|
|
323
|
-
selector: "#ProductGridContainer .card-grid",
|
|
324
|
-
insertionType: DOMInsertionType.ADJACENT_BEFORE_END,
|
|
325
|
-
},
|
|
326
|
-
gridInsertionType: GridInsertionType.ROW_2,
|
|
327
|
-
style: {
|
|
328
|
-
display: "block",
|
|
329
|
-
},
|
|
330
|
-
},
|
|
331
|
-
chatPreviewPDP: {
|
|
332
|
-
mountingConfigId: "chatPreviewPDP",
|
|
333
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
334
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
335
|
-
insertionPoint: {
|
|
336
|
-
selector: ".product-form-wrapper",
|
|
337
|
-
insertionType: DOMInsertionType.AFTER,
|
|
338
|
-
},
|
|
339
|
-
style: {
|
|
340
|
-
display: "block",
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
|
-
topSuggestionBarPDP: {
|
|
344
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
345
|
-
containerId: TOP_SUGGESTION_BAR_PDP_ID,
|
|
346
|
-
testId: TOP_SUGGESTION_BAR_TESTID,
|
|
347
|
-
insertionPoint: {
|
|
348
|
-
selector: ".product__price",
|
|
349
|
-
insertionType: DOMInsertionType.AFTER,
|
|
350
|
-
},
|
|
351
|
-
style: {
|
|
352
|
-
display: "block",
|
|
353
|
-
},
|
|
354
|
-
},
|
|
355
|
-
},
|
|
356
|
-
});
|
|
357
|
-
|
|
358
|
-
const longevityrxOrgInfo = {
|
|
359
|
-
shortName: OrgShortName.Longevityrx,
|
|
360
|
-
name: "LongevityRx AI",
|
|
361
|
-
domain: "trylongevityrx.com",
|
|
362
|
-
defaultProductId: "liv120-cellular-superfood",
|
|
363
|
-
alwaysEnabledMerchants: true,
|
|
364
|
-
orgUIConfig: longevityrxOrgUIConfig,
|
|
365
|
-
orgColors: () => longevityrxColors,
|
|
366
|
-
orgPageConfig: longevityrxPageConfig,
|
|
367
|
-
} satisfies BasicOrgInfoType;
|
|
368
|
-
|
|
369
|
-
export {
|
|
370
|
-
longevityrxOrgInfo,
|
|
371
|
-
longevityrxOrgUIConfig,
|
|
372
|
-
longevityrxColors,
|
|
373
|
-
longevityrxPageConfig,
|
|
374
|
-
};
|
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CHAT_PREVIEW_TESTID,
|
|
3
|
-
TOP_SUGGESTION_BAR_TESTID,
|
|
4
|
-
} from "src/config/locators";
|
|
5
|
-
import { OrgShortName, BasicOrgInfoType } from "src/application/models";
|
|
6
|
-
import { ChatElementDisplayLocation } from "src/application/models/chatElementDisplayLocation";
|
|
7
|
-
import { getCdnAssetURL } from "src/application/utils/cdnUtils";
|
|
8
|
-
import { GridInsertionType } from "src/merchants/gridInsertion";
|
|
9
|
-
import { DOMInsertionType } from "src/merchants/domInsertion";
|
|
10
|
-
import {
|
|
11
|
-
CHAT_PREVIEW_CONTAINER_ID,
|
|
12
|
-
TOP_SUGGESTION_BAR_PDP_ID,
|
|
13
|
-
} from "src/config/divIds";
|
|
14
|
-
import { SuggestionBarLocationForMetrics } from "src/types/suggestionBarV2-types";
|
|
15
|
-
import { defaultOrgUIConfig } from "src/merchants/default";
|
|
16
|
-
import {
|
|
17
|
-
ChatPreviewWidgetConfig,
|
|
18
|
-
ColorMapping,
|
|
19
|
-
ColorNames,
|
|
20
|
-
colorVar,
|
|
21
|
-
OrgPageConfig,
|
|
22
|
-
OrgUIConfig,
|
|
23
|
-
PageVariantTestType,
|
|
24
|
-
SuggestionBarWidgetV2Config,
|
|
25
|
-
WidgetType,
|
|
26
|
-
} from "src/contexts/types";
|
|
27
|
-
import {
|
|
28
|
-
CustomerServiceIntegrationMode,
|
|
29
|
-
CustomerServiceType,
|
|
30
|
-
} from "src/types/customerService";
|
|
31
|
-
|
|
32
|
-
const lookOpticColors: ColorMapping = {
|
|
33
|
-
[ColorNames.TextPrimary]: "#101010",
|
|
34
|
-
[ColorNames.TextSecondary]: "#4C4C4C",
|
|
35
|
-
[ColorNames.TextAccent]: "#435A6F",
|
|
36
|
-
[ColorNames.TextLink]: "#101010",
|
|
37
|
-
[ColorNames.TextLight]: "#FFFFFF",
|
|
38
|
-
[ColorNames.BackgroundPrimary]: "#101010",
|
|
39
|
-
[ColorNames.BackgroundSecondary]: "#F3F3F3",
|
|
40
|
-
[ColorNames.BackgroundSecondaryDark]: "#E7E7E7",
|
|
41
|
-
[ColorNames.BackgroundTertiary]: "#B3BCB1",
|
|
42
|
-
[ColorNames.BackgroundDark]: "#101010",
|
|
43
|
-
[ColorNames.BackgroundLight]: "#FFFFFF",
|
|
44
|
-
[ColorNames.BackgroundSaturated]: "",
|
|
45
|
-
[ColorNames.BorderLight]: "#ECECEC",
|
|
46
|
-
[ColorNames.BorderMedium]: "#E1E1E1",
|
|
47
|
-
[ColorNames.BorderDark]: "#101010",
|
|
48
|
-
[ColorNames.BorderOutline]: "#101010",
|
|
49
|
-
[ColorNames.AccentPrimary]: "#435A6F",
|
|
50
|
-
[ColorNames.AccentSecondary]: "#B3BCB1",
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const lookOpticOrgUIConfig = (): OrgUIConfig => {
|
|
54
|
-
const defaultLookOpticOrgConfig = defaultOrgUIConfig(OrgShortName.LookOptic);
|
|
55
|
-
|
|
56
|
-
return {
|
|
57
|
-
...defaultLookOpticOrgConfig,
|
|
58
|
-
chatMessageConfig: {
|
|
59
|
-
...defaultLookOpticOrgConfig.chatMessageConfig,
|
|
60
|
-
assistantChatTitle: "Ask LOOK",
|
|
61
|
-
},
|
|
62
|
-
chatHeader: {
|
|
63
|
-
...defaultLookOpticOrgConfig.chatHeader,
|
|
64
|
-
imageSrc: getCdnAssetURL("lookOlogo.png", OrgShortName.LookOptic),
|
|
65
|
-
customerSupportSwitchConfig: {
|
|
66
|
-
...defaultLookOpticOrgConfig.chatHeader.customerSupportSwitchConfig!,
|
|
67
|
-
supportTitle: "Live Support",
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
chatPreviewConfig: {
|
|
71
|
-
...defaultLookOpticOrgConfig.chatPreviewConfig!,
|
|
72
|
-
copies: {
|
|
73
|
-
pdp: [
|
|
74
|
-
"how they fit?",
|
|
75
|
-
"should I get readers or progressives?",
|
|
76
|
-
"how do I choose my magnification?",
|
|
77
|
-
"are these adjustable?",
|
|
78
|
-
"are they lightweight?",
|
|
79
|
-
],
|
|
80
|
-
plp: [
|
|
81
|
-
"the most popular styles?",
|
|
82
|
-
"glasses that fit average-sized faces best?",
|
|
83
|
-
"glasses that fit narrow faces?",
|
|
84
|
-
"glasses that fits wider faces best",
|
|
85
|
-
"the most popular sunglasses?",
|
|
86
|
-
],
|
|
87
|
-
},
|
|
88
|
-
iconFillColor: colorVar(ColorNames.AccentPrimary),
|
|
89
|
-
buttonTextColor: colorVar(ColorNames.TextLink),
|
|
90
|
-
buttonBackgroundColor: colorVar(ColorNames.BackgroundSecondary),
|
|
91
|
-
buttonTextHoverColor: colorVar(ColorNames.TextLink),
|
|
92
|
-
buttonBackgroundHoverColor: colorVar(ColorNames.BackgroundSecondaryDark),
|
|
93
|
-
headerConfig: {
|
|
94
|
-
...defaultLookOpticOrgConfig.chatPreviewConfig!.headerConfig,
|
|
95
|
-
imageSrc: getCdnAssetURL(
|
|
96
|
-
"lookOlogoSocialProof.svg",
|
|
97
|
-
OrgShortName.LookOptic
|
|
98
|
-
),
|
|
99
|
-
imageHeight: 16,
|
|
100
|
-
title: "Shopping Assistant",
|
|
101
|
-
},
|
|
102
|
-
footerConfig: {
|
|
103
|
-
...defaultLookOpticOrgConfig.chatPreviewConfig!.footerConfig,
|
|
104
|
-
replyButtonIcon: "magnifyingGlass",
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
floatingChatConfig: {
|
|
108
|
-
...defaultLookOpticOrgConfig.floatingChatConfig,
|
|
109
|
-
suggestionButtonConfig: {
|
|
110
|
-
...defaultLookOpticOrgConfig.floatingChatConfig.suggestionButtonConfig,
|
|
111
|
-
variant: "secondary",
|
|
112
|
-
hoverVariant: "secondaryDark",
|
|
113
|
-
answerVariant: "outlined",
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
floatingEntrypointConfig: {
|
|
117
|
-
...defaultLookOpticOrgConfig.floatingEntrypointConfig!,
|
|
118
|
-
showOption: "always",
|
|
119
|
-
expansionText: {
|
|
120
|
-
pdp: "Will this be your next LOOK?",
|
|
121
|
-
plp: "Ready to LOOK in style?",
|
|
122
|
-
},
|
|
123
|
-
expandedColor: colorVar(ColorNames.BackgroundDark),
|
|
124
|
-
},
|
|
125
|
-
productCardConfig: {
|
|
126
|
-
...defaultLookOpticOrgConfig.productCardConfig!,
|
|
127
|
-
layoutVariant: "normal",
|
|
128
|
-
},
|
|
129
|
-
|
|
130
|
-
pageCardConfig: {
|
|
131
|
-
...defaultLookOpticOrgConfig.pageCardConfig!,
|
|
132
|
-
},
|
|
133
|
-
productReviewConfig: {
|
|
134
|
-
...defaultLookOpticOrgConfig.productReviewConfig!,
|
|
135
|
-
colorVariant: "brand",
|
|
136
|
-
},
|
|
137
|
-
welcomeSectionConfig: {
|
|
138
|
-
...defaultLookOpticOrgConfig.welcomeSectionConfig!,
|
|
139
|
-
title: "WELCOME TO LOOK OPTIC AI!",
|
|
140
|
-
subtitle:
|
|
141
|
-
"Hi there! I'm here to help you find your smart, stylish everyday LOOK. Your style, your readers – let's find the perfect match.",
|
|
142
|
-
},
|
|
143
|
-
customerServiceIntegration: {
|
|
144
|
-
integrationMode: CustomerServiceIntegrationMode.simple,
|
|
145
|
-
provider: CustomerServiceType.gorgias,
|
|
146
|
-
},
|
|
147
|
-
merchantOverrideCss: `
|
|
148
|
-
[data-testid="spiffy-chat-preview-footer"] > div > div > div > button {
|
|
149
|
-
border-radius: 0px !important;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
[data-testid="spiffy-chat-preview-footer"] > div > div > div > button:hover svg {
|
|
153
|
-
stroke: var(--spiffy-colors-accent-primary) !important;
|
|
154
|
-
fill: var(--spiffy-colors-accent-primary) !important;
|
|
155
|
-
color: var(--spiffy-colors-accent-primary) !important;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
[data-testid="spiffy-product-card"] {
|
|
159
|
-
border-radius: 8px !important;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/* Responsive margin for chatPreviewPLP to match product grid padding */
|
|
163
|
-
.product-grid > #spiffy-ai-chat-preview {
|
|
164
|
-
margin-left: 2.2rem !important;
|
|
165
|
-
}
|
|
166
|
-
@media (max-width: 749px) {
|
|
167
|
-
.product-grid > #spiffy-ai-chat-preview {
|
|
168
|
-
margin-left: 0 !important;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
@media (max-width: 989px) {
|
|
172
|
-
[data-testid="top-suggestion-bar-shadow-dom-container"]{
|
|
173
|
-
margin-bottom: 16px !important;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.spiffy-headline, [data-testid="welcome-section-title"] {
|
|
178
|
-
font-family: 'DIN Condensed' !important;
|
|
179
|
-
text-transform: uppercase !important;
|
|
180
|
-
}
|
|
181
|
-
`,
|
|
182
|
-
};
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
const lookOpticPageConfig = (): OrgPageConfig => ({
|
|
186
|
-
pageVariants: [
|
|
187
|
-
{
|
|
188
|
-
variantId: "plp",
|
|
189
|
-
variantType: "plp",
|
|
190
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
191
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
192
|
-
widgetMounting: [
|
|
193
|
-
{
|
|
194
|
-
mountingConfigId: "chatPreviewPLP",
|
|
195
|
-
widgetConfigId: "chatPreviewPLP",
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
variantId: "pdp",
|
|
201
|
-
variantType: "pdp",
|
|
202
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
203
|
-
productIdExtractor: "url-resolver-product-id",
|
|
204
|
-
widgetMounting: [
|
|
205
|
-
{
|
|
206
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
207
|
-
widgetConfigId: "topSuggestionBar",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
mountingConfigId: "chatPreviewPDP",
|
|
211
|
-
widgetConfigId: "chatPreviewPDP",
|
|
212
|
-
},
|
|
213
|
-
],
|
|
214
|
-
},
|
|
215
|
-
],
|
|
216
|
-
widgetConfigs: {
|
|
217
|
-
topSuggestionBar: {
|
|
218
|
-
type: WidgetType.SuggestionBarV2,
|
|
219
|
-
widgetConfigId: "topSuggestionsBar",
|
|
220
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
221
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
222
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
223
|
-
variant: "secondary",
|
|
224
|
-
hoverVariant: "secondaryDark",
|
|
225
|
-
buttonTexts: {
|
|
226
|
-
default: [
|
|
227
|
-
"Summarize the reviews",
|
|
228
|
-
"How’s the fit?",
|
|
229
|
-
"What makes this a best seller?",
|
|
230
|
-
"Are these adjustable?",
|
|
231
|
-
],
|
|
232
|
-
},
|
|
233
|
-
buttonBorderRadius: "sm",
|
|
234
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
235
|
-
chatPreviewPLP: {
|
|
236
|
-
widgetConfigId: "chatPreviewPLP",
|
|
237
|
-
type: WidgetType.ChatPreview,
|
|
238
|
-
variant: "filled",
|
|
239
|
-
addSeparators: false,
|
|
240
|
-
footerConfig: {
|
|
241
|
-
replyButtonIcon: "magnifyingGlass",
|
|
242
|
-
},
|
|
243
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
244
|
-
chatPreviewPDP: {
|
|
245
|
-
widgetConfigId: "chatPreviewPDP",
|
|
246
|
-
type: WidgetType.ChatPreview,
|
|
247
|
-
variant: "filled",
|
|
248
|
-
addSeparators: false,
|
|
249
|
-
footerConfig: {
|
|
250
|
-
replyButtonIcon: "send",
|
|
251
|
-
},
|
|
252
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
253
|
-
},
|
|
254
|
-
mountingConfigs: {
|
|
255
|
-
chatPreviewPLP: {
|
|
256
|
-
mountingConfigId: "chatPreviewPLP",
|
|
257
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
258
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
259
|
-
insertionPoint: {
|
|
260
|
-
selector: ".product-grid",
|
|
261
|
-
insertionType: DOMInsertionType.AFTER,
|
|
262
|
-
},
|
|
263
|
-
style: {
|
|
264
|
-
display: "block",
|
|
265
|
-
width: "99%",
|
|
266
|
-
order: "3",
|
|
267
|
-
paddingTop: "24px",
|
|
268
|
-
paddingBottom: "24px",
|
|
269
|
-
marginTop: "16px",
|
|
270
|
-
marginBottom: "32px",
|
|
271
|
-
borderTop: `1px solid ${lookOpticColors[ColorNames.BorderLight]}`,
|
|
272
|
-
borderBottom: `1px solid ${lookOpticColors[ColorNames.BorderLight]}`,
|
|
273
|
-
},
|
|
274
|
-
gridInsertionType: GridInsertionType.FIXED_4,
|
|
275
|
-
},
|
|
276
|
-
chatPreviewPDP: {
|
|
277
|
-
mountingConfigId: "chatPreviewPDP",
|
|
278
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
279
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
280
|
-
insertionPoint: {
|
|
281
|
-
selector: ".product__accordion.accordion",
|
|
282
|
-
insertionType: DOMInsertionType.BEFORE,
|
|
283
|
-
},
|
|
284
|
-
style: {
|
|
285
|
-
display: "block",
|
|
286
|
-
paddingTop: "24px",
|
|
287
|
-
marginTop: "16px",
|
|
288
|
-
borderTop: `1px solid ${lookOpticColors[ColorNames.BorderLight]}`,
|
|
289
|
-
},
|
|
290
|
-
},
|
|
291
|
-
topSuggestionBarPDP: {
|
|
292
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
293
|
-
containerId: TOP_SUGGESTION_BAR_PDP_ID,
|
|
294
|
-
testId: TOP_SUGGESTION_BAR_TESTID,
|
|
295
|
-
insertionPoint: {
|
|
296
|
-
selector: ".junip-product-summary",
|
|
297
|
-
insertionType: DOMInsertionType.AFTER,
|
|
298
|
-
},
|
|
299
|
-
style: {
|
|
300
|
-
display: "block",
|
|
301
|
-
marginTop: "16px",
|
|
302
|
-
},
|
|
303
|
-
},
|
|
304
|
-
},
|
|
305
|
-
});
|
|
306
|
-
|
|
307
|
-
const lookOpticOrgInfo = {
|
|
308
|
-
shortName: OrgShortName.LookOptic,
|
|
309
|
-
name: "",
|
|
310
|
-
domain: "lookoptic.com",
|
|
311
|
-
defaultProductId: "",
|
|
312
|
-
alwaysEnabledMerchants: true,
|
|
313
|
-
orgUIConfig: lookOpticOrgUIConfig,
|
|
314
|
-
orgColors: () => lookOpticColors,
|
|
315
|
-
orgPageConfig: lookOpticPageConfig,
|
|
316
|
-
} satisfies BasicOrgInfoType;
|
|
317
|
-
|
|
318
|
-
export {
|
|
319
|
-
lookOpticOrgInfo,
|
|
320
|
-
lookOpticOrgUIConfig,
|
|
321
|
-
lookOpticColors,
|
|
322
|
-
lookOpticPageConfig,
|
|
323
|
-
};
|