@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,990 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CHAT_PREVIEW_TESTID,
|
|
3
|
-
TOP_SUGGESTION_BAR_TESTID,
|
|
4
|
-
BOTTOM_SUGGESTION_BAR_TESTID,
|
|
5
|
-
} from "src/config/locators";
|
|
6
|
-
import { OrgShortName, BasicOrgInfoType } from "src/application/models";
|
|
7
|
-
import { ChatElementDisplayLocation } from "src/application/models/chatElementDisplayLocation";
|
|
8
|
-
import { getCdnAssetURL } from "src/application/utils/cdnUtils";
|
|
9
|
-
import {
|
|
10
|
-
CustomerServiceIntegrationMode,
|
|
11
|
-
CustomerServiceType,
|
|
12
|
-
} from "src/types/customerService";
|
|
13
|
-
import { GridInsertionType } from "src/merchants/gridInsertion";
|
|
14
|
-
import { DOMInsertionType } from "src/merchants/domInsertion";
|
|
15
|
-
import {
|
|
16
|
-
CHAT_PREVIEW_CONTAINER_ID,
|
|
17
|
-
TOP_SUGGESTION_BAR_PDP_ID,
|
|
18
|
-
BOTTOM_REVIEWS_BAR_ID,
|
|
19
|
-
} from "src/config/divIds";
|
|
20
|
-
import { SuggestionBarLocationForMetrics } from "src/types/suggestionBarV2-types";
|
|
21
|
-
import { defaultOrgUIConfig } from "src/merchants/default";
|
|
22
|
-
import {
|
|
23
|
-
ChatPreviewWidgetConfig,
|
|
24
|
-
ColorMapping,
|
|
25
|
-
ColorNames,
|
|
26
|
-
colorVar,
|
|
27
|
-
OrgPageConfig,
|
|
28
|
-
OrgUIConfig,
|
|
29
|
-
PageVariantTestType,
|
|
30
|
-
SuggestionBarWidgetV2Config,
|
|
31
|
-
WidgetType,
|
|
32
|
-
} from "src/contexts/types";
|
|
33
|
-
|
|
34
|
-
const wineEnthusiastColors: ColorMapping = {
|
|
35
|
-
[ColorNames.TextPrimary]: "#000000",
|
|
36
|
-
[ColorNames.TextSecondary]: "#918782",
|
|
37
|
-
[ColorNames.TextAccent]: "#48273E",
|
|
38
|
-
[ColorNames.TextLink]: "#000000",
|
|
39
|
-
[ColorNames.TextLight]: "#FFFFFF",
|
|
40
|
-
[ColorNames.BackgroundPrimary]: "#000000",
|
|
41
|
-
[ColorNames.BackgroundSecondary]: "#F4F3EE",
|
|
42
|
-
[ColorNames.BackgroundSecondaryDark]: "#E8E8E5",
|
|
43
|
-
[ColorNames.BackgroundTertiary]: "#F4F4F1",
|
|
44
|
-
[ColorNames.BackgroundDark]: "#000000",
|
|
45
|
-
[ColorNames.BackgroundLight]: "#FFFFFF",
|
|
46
|
-
[ColorNames.BackgroundSaturated]: "",
|
|
47
|
-
[ColorNames.BorderLight]: "#A6A6A6",
|
|
48
|
-
[ColorNames.BorderMedium]: "#6C757D",
|
|
49
|
-
[ColorNames.BorderDark]: "#4F4F4F",
|
|
50
|
-
[ColorNames.BorderOutline]: "#4F4F4F",
|
|
51
|
-
[ColorNames.AccentPrimary]: "#000000",
|
|
52
|
-
[ColorNames.AccentSecondary]: "#B44815",
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
const wineEnthusiastOrgUIConfig = (): OrgUIConfig => {
|
|
56
|
-
const defaultWineEnthusiastOrgConfig = defaultOrgUIConfig(
|
|
57
|
-
OrgShortName.WineEnthusiast
|
|
58
|
-
);
|
|
59
|
-
|
|
60
|
-
return {
|
|
61
|
-
...defaultWineEnthusiastOrgConfig,
|
|
62
|
-
chatMessageConfig: {
|
|
63
|
-
...defaultWineEnthusiastOrgConfig.chatMessageConfig,
|
|
64
|
-
assistantChatTitle: "Wine Enthusiast Shopping Assistant",
|
|
65
|
-
},
|
|
66
|
-
chatHeader: {
|
|
67
|
-
...defaultWineEnthusiastOrgConfig.chatHeader,
|
|
68
|
-
expandedColor: colorVar(ColorNames.BackgroundPrimary),
|
|
69
|
-
collapsedColor: colorVar(ColorNames.BackgroundPrimary),
|
|
70
|
-
imageSrc: getCdnAssetURL(
|
|
71
|
-
"WineEnthusiast_Logo_Small.svg",
|
|
72
|
-
OrgShortName.WineEnthusiast
|
|
73
|
-
),
|
|
74
|
-
customerSupportSwitchConfig: {
|
|
75
|
-
...defaultWineEnthusiastOrgConfig.chatHeader
|
|
76
|
-
.customerSupportSwitchConfig!,
|
|
77
|
-
supportTitle: "Live Support",
|
|
78
|
-
},
|
|
79
|
-
},
|
|
80
|
-
chatPreviewConfig: {
|
|
81
|
-
...defaultWineEnthusiastOrgConfig.chatPreviewConfig!,
|
|
82
|
-
iconFillColor: colorVar(ColorNames.AccentPrimary),
|
|
83
|
-
buttonTextColor: colorVar(ColorNames.BorderOutline),
|
|
84
|
-
buttonBackgroundColor: colorVar(ColorNames.BackgroundSecondary),
|
|
85
|
-
buttonTextHoverColor: colorVar(ColorNames.BorderOutline),
|
|
86
|
-
buttonBackgroundHoverColor: colorVar(ColorNames.BackgroundSecondaryDark),
|
|
87
|
-
topMargin: 10,
|
|
88
|
-
headerConfig: {
|
|
89
|
-
...defaultWineEnthusiastOrgConfig.chatPreviewConfig!.headerConfig,
|
|
90
|
-
imageHeight: 24,
|
|
91
|
-
imageSrc: getCdnAssetURL(
|
|
92
|
-
"WineEnthusiast_Logo_DK.svg",
|
|
93
|
-
OrgShortName.WineEnthusiast
|
|
94
|
-
),
|
|
95
|
-
},
|
|
96
|
-
footerConfig: {
|
|
97
|
-
...defaultWineEnthusiastOrgConfig.chatPreviewConfig!.footerConfig,
|
|
98
|
-
replyButtonIcon: "magnifyingGlass",
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
floatingEntrypointConfig: {
|
|
102
|
-
...defaultWineEnthusiastOrgConfig.floatingEntrypointConfig!,
|
|
103
|
-
showOption: "always",
|
|
104
|
-
expansionText: {
|
|
105
|
-
pdp: "Is this ‘the one’?",
|
|
106
|
-
plp: "Would you like a recommendation?",
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
productCardConfig: {
|
|
110
|
-
...defaultWineEnthusiastOrgConfig.productCardConfig!,
|
|
111
|
-
},
|
|
112
|
-
|
|
113
|
-
pageCardConfig: {
|
|
114
|
-
...defaultWineEnthusiastOrgConfig.pageCardConfig!,
|
|
115
|
-
},
|
|
116
|
-
productReviewConfig: {
|
|
117
|
-
...defaultWineEnthusiastOrgConfig.productReviewConfig!,
|
|
118
|
-
},
|
|
119
|
-
welcomeSectionConfig: {
|
|
120
|
-
...defaultWineEnthusiastOrgConfig.welcomeSectionConfig!,
|
|
121
|
-
title: "Welcome to Wine Enthusiast!",
|
|
122
|
-
subtitle:
|
|
123
|
-
"I'm not just any AI assistant, I'm a lifestyle enhancer. If you want to sip, store or share wine, allow me to help. ",
|
|
124
|
-
},
|
|
125
|
-
customerServiceIntegration: {
|
|
126
|
-
integrationMode: CustomerServiceIntegrationMode.simple,
|
|
127
|
-
provider: CustomerServiceType.gladly,
|
|
128
|
-
},
|
|
129
|
-
hiddenElementSelectors: ["[data-aid*='gladlyChatChatButton']"],
|
|
130
|
-
merchantOverrideCss: `
|
|
131
|
-
/* -------- Floating Chat Styles - Modal Sheet Z-Index Override -------- */
|
|
132
|
-
/* Note: Gladly chat #gladlyChat_container uses z-index: 2147483000, so we need higher value */
|
|
133
|
-
.spiffy-modal-sheet-open {
|
|
134
|
-
z-index: 2147483001 !important;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/* Override Gladly's z-index preload */
|
|
138
|
-
#gladlyChat_container.preload{
|
|
139
|
-
z-index: 998 !important;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
/* Force Gladly z-index to stay low with higher specificity */
|
|
143
|
-
body #gladlyChat_container,
|
|
144
|
-
html body #gladlyChat_container {
|
|
145
|
-
z-index: 998 !important;
|
|
146
|
-
}
|
|
147
|
-
/* -------- Floating Chat Styles - Welcome Section Title Styling -------- */
|
|
148
|
-
.spiffy-welcome-section-message-title {
|
|
149
|
-
font-weight: 600 !important;
|
|
150
|
-
}
|
|
151
|
-
.spiffy-assistant-message-header-text{
|
|
152
|
-
font-weight: 600 !important;
|
|
153
|
-
font-size: 14px !important;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
/* -------- Floating Chat Styles - Buttons -------- */
|
|
157
|
-
.spiffy-modal-sheet-content > div:nth-child(2) > div > div > div > div > button:hover {
|
|
158
|
-
background: var(--spiffy-colors-background-secondary-dark) !important;
|
|
159
|
-
border: 1px solid var(--spiffy-colors-background-secondary-dark) !important;
|
|
160
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.spiffy-modal-sheet-content > div:nth-child(4) > div > div > div > div > button:hover {
|
|
164
|
-
background: var(--spiffy-colors-background-secondary-dark) !important;
|
|
165
|
-
border: 1px solid var(--spiffy-colors-background-secondary-dark) !important;
|
|
166
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.spiffy-modal-sheet-content > div:nth-child(4) > div > div > div > div > button:hover svg {
|
|
170
|
-
stroke: var(--spiffy-colors-text-primary) !important;
|
|
171
|
-
fill: var(--spiffy-colors-text-primary) !important;
|
|
172
|
-
}
|
|
173
|
-
.spiffy-star-rating-container {
|
|
174
|
-
background-color : var(--spiffy-colors-background-light) !important;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
/* -------- Floating Chat Styles - Article card -------- */
|
|
178
|
-
.spiffy-page-card-container {
|
|
179
|
-
background: var(--spiffy-colors-background-secondary) !important;
|
|
180
|
-
}
|
|
181
|
-
.spiffy-page-card-container:hover {
|
|
182
|
-
background: var(--spiffy-colors-background-secondary-dark) !important;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.spiffy-page-card-title {
|
|
186
|
-
font-family: Poppins !important;
|
|
187
|
-
font-weight: 500 !important;
|
|
188
|
-
font-style: normal !important;
|
|
189
|
-
font-size: 14px !important;
|
|
190
|
-
line-height: 124% !important;
|
|
191
|
-
letter-spacing: 0% !important;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.spiffy-page-card-description {
|
|
195
|
-
font-weight: 400 !important;
|
|
196
|
-
font-style: normal !important;
|
|
197
|
-
font-size: 14px !important;
|
|
198
|
-
line-height: 140% !important;
|
|
199
|
-
letter-spacing: 0% !important;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.spiffy-view-source-icon-wrapper {
|
|
203
|
-
background: var(--spiffy-colors-accent-primary) !important;
|
|
204
|
-
border: 1px solid var(--spiffy-colors-accent-primary) !important;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.spiffy-view-source-link {
|
|
208
|
-
font-weight: 500 !important;
|
|
209
|
-
font-style: normal !important;
|
|
210
|
-
font-size: 12px !important;
|
|
211
|
-
line-height: 130% !important;
|
|
212
|
-
letter-spacing: 0% !important;
|
|
213
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
/* --------- Top/bottom Suggestions Bars Styles --------- */
|
|
217
|
-
#spiffy-top-suggestion-bar-contents button {
|
|
218
|
-
border-radius: 0 !important;
|
|
219
|
-
border: 1px solid var(--spiffy-colors-background-secondary-dark) !important;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
#spiffy-bottom-suggestion-bar-contents button {
|
|
223
|
-
border-radius: 0 !important;
|
|
224
|
-
border: 1px solid var(--spiffy-colors-background-secondary-dark) !important;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
#spiffy-top-suggestion-bar-contents button:hover {
|
|
228
|
-
background-color: var(--spiffy-colors-background-secondary-dark) !important;
|
|
229
|
-
border-color: var(--spiffy-colors-background-secondary-dark) !important;
|
|
230
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
231
|
-
border-radius: 0 !important;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
#spiffy-bottom-suggestion-bar-contents button:hover {
|
|
235
|
-
background-color: var(--spiffy-colors-background-secondary-dark) !important;
|
|
236
|
-
border-color: var(--spiffy-colors-background-secondary-dark) !important;
|
|
237
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
238
|
-
border-radius: 0 !important;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
/* --------- PLP/PDP Chats Previews Buttons Styles --------- */
|
|
242
|
-
.spiffy-social-proof-content-container > span:first-child {
|
|
243
|
-
color: var(--spiffy-colors-text-accent) !important;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.spiffy-social-proof-content-container > span:last-child {
|
|
247
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.spiffy-social-proof-suggestion-footer-title {
|
|
251
|
-
color: var(--spiffy-colors-text-secondary) !important;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
#spiffy-ai-chat-preview-contents .spiffy-button-base-button {
|
|
255
|
-
border-radius: 0 !important;
|
|
256
|
-
border: 1px solid var(--spiffy-colors-background-secondary-dark) !important;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
#spiffy-ai-chat-preview-contents .spiffy-button-base-button:hover {
|
|
260
|
-
background-color: var(--spiffy-colors-background-secondary-dark) !important;
|
|
261
|
-
color: var(--spiffy-colors-text-primary) !important;
|
|
262
|
-
border-radius: 0 !important;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
#spiffy-ai-chat-preview-contents .spiffy-button-base-button:hover svg {
|
|
266
|
-
fill: var(--spiffy-colors-text-primary) !important;
|
|
267
|
-
stroke: var(--spiffy-colors-text-primary) !important;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
/* -------- Feedback Button Styles - Remove Top Border -------- */
|
|
271
|
-
#spiffy-ai-chat-preview-contents > hr:nth-child(3) {
|
|
272
|
-
display: none !important;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
/* -------- PDP Footer Input Shadow -------- */
|
|
276
|
-
.spiffy-user-query-button {
|
|
277
|
-
box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.25) !important;
|
|
278
|
-
margin: 4px !important;
|
|
279
|
-
width: 99% !important;
|
|
280
|
-
}
|
|
281
|
-
`,
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
|
|
285
|
-
const wineEnthusiastPageConfig = (): OrgPageConfig => ({
|
|
286
|
-
pageVariants: [
|
|
287
|
-
{
|
|
288
|
-
variantId: "plpTabletopEntertaining",
|
|
289
|
-
variantType: "plp",
|
|
290
|
-
variantTests: [
|
|
291
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
292
|
-
{
|
|
293
|
-
testType: PageVariantTestType.PlpId,
|
|
294
|
-
plpIds: ["tabletop-entertaining"],
|
|
295
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
296
|
-
},
|
|
297
|
-
],
|
|
298
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
299
|
-
widgetMounting: [
|
|
300
|
-
{
|
|
301
|
-
mountingConfigId: "chatPreviewPLP",
|
|
302
|
-
widgetConfigId: "chatPreviewPLPTabletopEntertaining",
|
|
303
|
-
},
|
|
304
|
-
],
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
variantId: "plpDecor",
|
|
308
|
-
variantType: "plp",
|
|
309
|
-
variantTests: [
|
|
310
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
311
|
-
{
|
|
312
|
-
testType: PageVariantTestType.PlpId,
|
|
313
|
-
plpIds: ["decor"],
|
|
314
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
315
|
-
},
|
|
316
|
-
],
|
|
317
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
318
|
-
widgetMounting: [
|
|
319
|
-
{
|
|
320
|
-
mountingConfigId: "chatPreviewPLP",
|
|
321
|
-
widgetConfigId: "chatPreviewPLPTabletopEntertaining",
|
|
322
|
-
},
|
|
323
|
-
],
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
variantId: "plpWineCoolers",
|
|
327
|
-
variantType: "plp",
|
|
328
|
-
variantTests: [
|
|
329
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
330
|
-
{
|
|
331
|
-
testType: PageVariantTestType.PlpId,
|
|
332
|
-
plpIds: ["wine-coolers"],
|
|
333
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
334
|
-
},
|
|
335
|
-
],
|
|
336
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
337
|
-
widgetMounting: [
|
|
338
|
-
{
|
|
339
|
-
mountingConfigId: "chatPreviewPLP",
|
|
340
|
-
widgetConfigId: "chatPreviewPLPWineCoolers",
|
|
341
|
-
},
|
|
342
|
-
],
|
|
343
|
-
},
|
|
344
|
-
{
|
|
345
|
-
variantId: "plpDualZoneWineCoolers",
|
|
346
|
-
variantType: "plp",
|
|
347
|
-
variantTests: [
|
|
348
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
349
|
-
{
|
|
350
|
-
testType: PageVariantTestType.PlpId,
|
|
351
|
-
plpIds: ["dual-zone-wine-coolers"],
|
|
352
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
353
|
-
},
|
|
354
|
-
],
|
|
355
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
356
|
-
widgetMounting: [
|
|
357
|
-
{
|
|
358
|
-
mountingConfigId: "chatPreviewPLP",
|
|
359
|
-
widgetConfigId: "chatPreviewPLPDualZoneWineCoolers",
|
|
360
|
-
},
|
|
361
|
-
],
|
|
362
|
-
},
|
|
363
|
-
{
|
|
364
|
-
variantId: "plpSideBySideWineCabinets",
|
|
365
|
-
variantType: "plp",
|
|
366
|
-
variantTests: [
|
|
367
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
368
|
-
{
|
|
369
|
-
testType: PageVariantTestType.PlpId,
|
|
370
|
-
plpIds: ["side-by-side-wine-cabinets"],
|
|
371
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
372
|
-
},
|
|
373
|
-
],
|
|
374
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
375
|
-
widgetMounting: [
|
|
376
|
-
{
|
|
377
|
-
mountingConfigId: "chatPreviewPLP",
|
|
378
|
-
widgetConfigId: "chatPreviewPLPSideBySideWineCabinets",
|
|
379
|
-
},
|
|
380
|
-
],
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
variantId: "plpGlassware",
|
|
384
|
-
variantType: "plp",
|
|
385
|
-
variantTests: [
|
|
386
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
387
|
-
{
|
|
388
|
-
testType: PageVariantTestType.PlpId,
|
|
389
|
-
plpIds: ["glassware"],
|
|
390
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
391
|
-
},
|
|
392
|
-
],
|
|
393
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
394
|
-
widgetMounting: [
|
|
395
|
-
{
|
|
396
|
-
mountingConfigId: "chatPreviewPLP",
|
|
397
|
-
widgetConfigId: "chatPreviewPLPGlassware",
|
|
398
|
-
},
|
|
399
|
-
],
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
variantId: "plpWineRacks",
|
|
403
|
-
variantType: "plp",
|
|
404
|
-
variantTests: [
|
|
405
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
406
|
-
{
|
|
407
|
-
testType: PageVariantTestType.PlpId,
|
|
408
|
-
plpIds: ["wine-racks"],
|
|
409
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
410
|
-
},
|
|
411
|
-
],
|
|
412
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
413
|
-
widgetMounting: [
|
|
414
|
-
{
|
|
415
|
-
mountingConfigId: "chatPreviewPLP",
|
|
416
|
-
widgetConfigId: "chatPreviewPLPWineRacks",
|
|
417
|
-
},
|
|
418
|
-
],
|
|
419
|
-
},
|
|
420
|
-
{
|
|
421
|
-
variantId: "plpFurniture",
|
|
422
|
-
variantType: "plp",
|
|
423
|
-
variantTests: [
|
|
424
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
425
|
-
{
|
|
426
|
-
testType: PageVariantTestType.PlpId,
|
|
427
|
-
plpIds: ["furniture"],
|
|
428
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
429
|
-
},
|
|
430
|
-
],
|
|
431
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
432
|
-
widgetMounting: [
|
|
433
|
-
{
|
|
434
|
-
mountingConfigId: "chatPreviewPLP",
|
|
435
|
-
widgetConfigId: "chatPreviewPLPFurniture",
|
|
436
|
-
},
|
|
437
|
-
],
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
variantId: "plpWineAccessories",
|
|
441
|
-
variantType: "plp",
|
|
442
|
-
variantTests: [
|
|
443
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
444
|
-
{
|
|
445
|
-
testType: PageVariantTestType.PlpId,
|
|
446
|
-
plpIds: ["wine-accessories"],
|
|
447
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
448
|
-
},
|
|
449
|
-
],
|
|
450
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
451
|
-
widgetMounting: [
|
|
452
|
-
{
|
|
453
|
-
mountingConfigId: "chatPreviewPLP",
|
|
454
|
-
widgetConfigId: "chatPreviewPLPWineAccessories",
|
|
455
|
-
},
|
|
456
|
-
],
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
variantId: "plpWineCellarCooling",
|
|
460
|
-
variantType: "plp",
|
|
461
|
-
variantTests: [
|
|
462
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
463
|
-
{
|
|
464
|
-
testType: PageVariantTestType.PlpId,
|
|
465
|
-
plpIds: ["wine-cellar-cooling-systems"],
|
|
466
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
467
|
-
},
|
|
468
|
-
],
|
|
469
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
470
|
-
widgetMounting: [
|
|
471
|
-
{
|
|
472
|
-
mountingConfigId: "chatPreviewPLP",
|
|
473
|
-
widgetConfigId: "chatPreviewPLPWineCellarCooling",
|
|
474
|
-
},
|
|
475
|
-
],
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
variantId: "plpDecanters",
|
|
479
|
-
variantType: "plp",
|
|
480
|
-
variantTests: [
|
|
481
|
-
{ testType: PageVariantTestType.UrlResolver },
|
|
482
|
-
{
|
|
483
|
-
testType: PageVariantTestType.PlpId,
|
|
484
|
-
plpIds: ["decanters"],
|
|
485
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
486
|
-
},
|
|
487
|
-
],
|
|
488
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
489
|
-
widgetMounting: [
|
|
490
|
-
{
|
|
491
|
-
mountingConfigId: "chatPreviewPLP",
|
|
492
|
-
widgetConfigId: "chatPreviewPLPDecanters",
|
|
493
|
-
},
|
|
494
|
-
],
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
variantId: "plp",
|
|
498
|
-
variantType: "plp",
|
|
499
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
500
|
-
plpIdExtractor: "url-resolver-plp-id",
|
|
501
|
-
widgetMounting: [
|
|
502
|
-
{
|
|
503
|
-
mountingConfigId: "chatPreviewPLP",
|
|
504
|
-
widgetConfigId: "chatPreviewPLP",
|
|
505
|
-
},
|
|
506
|
-
],
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
variantId: "pdp",
|
|
510
|
-
variantType: "pdp",
|
|
511
|
-
variantTests: [{ testType: PageVariantTestType.UrlResolver }],
|
|
512
|
-
productIdExtractor: "url-resolver-product-id",
|
|
513
|
-
widgetMounting: [
|
|
514
|
-
{
|
|
515
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
516
|
-
widgetConfigId: "topSuggestionBar",
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
mountingConfigId: "chatPreviewPDP",
|
|
520
|
-
widgetConfigId: "chatPreviewPDP",
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
mountingConfigId: "bottomSuggestionBarPDP",
|
|
524
|
-
widgetConfigId: "bottomSuggestionBar",
|
|
525
|
-
},
|
|
526
|
-
],
|
|
527
|
-
},
|
|
528
|
-
{
|
|
529
|
-
variantId: "homepage",
|
|
530
|
-
variantType: "homepage",
|
|
531
|
-
variantTests: [
|
|
532
|
-
{
|
|
533
|
-
testType: PageVariantTestType.UrlResolver,
|
|
534
|
-
},
|
|
535
|
-
],
|
|
536
|
-
widgetMounting: [],
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
variantId: "otherPages",
|
|
540
|
-
variantType: "other",
|
|
541
|
-
variantTests: [
|
|
542
|
-
{
|
|
543
|
-
testType: PageVariantTestType.UrlResolver,
|
|
544
|
-
},
|
|
545
|
-
],
|
|
546
|
-
widgetMounting: [],
|
|
547
|
-
},
|
|
548
|
-
],
|
|
549
|
-
widgetConfigs: {
|
|
550
|
-
topSuggestionBar: {
|
|
551
|
-
type: WidgetType.SuggestionBarV2,
|
|
552
|
-
widgetConfigId: "topSuggestionsBar",
|
|
553
|
-
contentId: "spiffy-top-suggestion-bar-contents",
|
|
554
|
-
metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
555
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
556
|
-
variant: "secondary",
|
|
557
|
-
hoverVariant: "secondaryDark",
|
|
558
|
-
buttonTexts: {
|
|
559
|
-
default: [
|
|
560
|
-
"Is this the right one for me?",
|
|
561
|
-
"Why do wine lovers choose this one?",
|
|
562
|
-
"Which others should I consider?",
|
|
563
|
-
"What do buyers love most?",
|
|
564
|
-
],
|
|
565
|
-
},
|
|
566
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
567
|
-
chatPreviewPLPTabletopEntertaining: {
|
|
568
|
-
widgetConfigId: "chatPreviewPLPTabletopEntertaining",
|
|
569
|
-
type: WidgetType.ChatPreview,
|
|
570
|
-
variant: "filled",
|
|
571
|
-
addSeparators: false,
|
|
572
|
-
socialProofConfig: {
|
|
573
|
-
staticPLPImagesLayout: "horizontal",
|
|
574
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
575
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
576
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
577
|
-
headerFontFamily: "DIN",
|
|
578
|
-
suggestionButtonStrings: [
|
|
579
|
-
"What are other wine lovers saying?",
|
|
580
|
-
"Most impressive wine gifts?",
|
|
581
|
-
"Most loved wine gifts?",
|
|
582
|
-
"Great gifts for entertainers?",
|
|
583
|
-
"Great gifts for wine geeks?",
|
|
584
|
-
"Great gifts for weddings?",
|
|
585
|
-
],
|
|
586
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
587
|
-
suggestionButtonVariantDefault: "secondary",
|
|
588
|
-
suggestionButtonVariantAccent: "secondary",
|
|
589
|
-
userQueryButtonConfig: {
|
|
590
|
-
placeholderText: "Would you like a recommendation?",
|
|
591
|
-
icon: "magnifyingGlass",
|
|
592
|
-
},
|
|
593
|
-
},
|
|
594
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
595
|
-
chatPreviewPLPWineCoolers: {
|
|
596
|
-
widgetConfigId: "chatPreviewPLPWineCoolers",
|
|
597
|
-
type: WidgetType.ChatPreview,
|
|
598
|
-
variant: "filled",
|
|
599
|
-
addSeparators: false,
|
|
600
|
-
socialProofConfig: {
|
|
601
|
-
staticPLPImagesLayout: "horizontal",
|
|
602
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
603
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
604
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
605
|
-
headerFontFamily: "DIN",
|
|
606
|
-
suggestionButtonStrings: [
|
|
607
|
-
"What are other wine lovers saying?",
|
|
608
|
-
"Which wine fridge is right for me?",
|
|
609
|
-
"Which ones hold the right number of bottles?",
|
|
610
|
-
"Will it fit Burgundy or Champagne bottles?",
|
|
611
|
-
"Best fit for small spaces?",
|
|
612
|
-
"Best for long-term aging?",
|
|
613
|
-
"Best for displaying my collection?",
|
|
614
|
-
"What makes a wine fridge able to be built-in?",
|
|
615
|
-
],
|
|
616
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
617
|
-
suggestionButtonVariantDefault: "secondary",
|
|
618
|
-
suggestionButtonVariantAccent: "secondary",
|
|
619
|
-
userQueryButtonConfig: {
|
|
620
|
-
placeholderText: "Would you like a recommendation?",
|
|
621
|
-
icon: "magnifyingGlass",
|
|
622
|
-
},
|
|
623
|
-
},
|
|
624
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
625
|
-
chatPreviewPLPDualZoneWineCoolers: {
|
|
626
|
-
widgetConfigId: "chatPreviewPLPDualZoneWineCoolers",
|
|
627
|
-
type: WidgetType.ChatPreview,
|
|
628
|
-
variant: "filled",
|
|
629
|
-
addSeparators: false,
|
|
630
|
-
socialProofConfig: {
|
|
631
|
-
staticPLPImagesLayout: "horizontal",
|
|
632
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
633
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
634
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
635
|
-
headerFontFamily: "DIN",
|
|
636
|
-
suggestionButtonStrings: [
|
|
637
|
-
"What are other wine lovers saying?",
|
|
638
|
-
"What is the difference between a Dual-Zone and a Side-by-Side?",
|
|
639
|
-
"What can I set the temperature to?",
|
|
640
|
-
],
|
|
641
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
642
|
-
suggestionButtonVariantDefault: "secondary",
|
|
643
|
-
suggestionButtonVariantAccent: "secondary",
|
|
644
|
-
userQueryButtonConfig: {
|
|
645
|
-
placeholderText: "Would you like a recommendation?",
|
|
646
|
-
icon: "magnifyingGlass",
|
|
647
|
-
},
|
|
648
|
-
},
|
|
649
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
650
|
-
chatPreviewPLPSideBySideWineCabinets: {
|
|
651
|
-
widgetConfigId: "chatPreviewPLPSideBySideWineCabinets",
|
|
652
|
-
type: WidgetType.ChatPreview,
|
|
653
|
-
variant: "filled",
|
|
654
|
-
addSeparators: false,
|
|
655
|
-
socialProofConfig: {
|
|
656
|
-
staticPLPImagesLayout: "horizontal",
|
|
657
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
658
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
659
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
660
|
-
headerFontFamily: "DIN",
|
|
661
|
-
suggestionButtonStrings: [
|
|
662
|
-
"What are other wine lovers saying?",
|
|
663
|
-
"What is the difference between a Dual-Zone and a Side-by-Side?",
|
|
664
|
-
"What can I set the temperature to?",
|
|
665
|
-
],
|
|
666
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
667
|
-
suggestionButtonVariantDefault: "secondary",
|
|
668
|
-
suggestionButtonVariantAccent: "secondary",
|
|
669
|
-
userQueryButtonConfig: {
|
|
670
|
-
placeholderText: "Would you like a recommendation?",
|
|
671
|
-
icon: "magnifyingGlass",
|
|
672
|
-
},
|
|
673
|
-
},
|
|
674
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
675
|
-
chatPreviewPLPGlassware: {
|
|
676
|
-
widgetConfigId: "chatPreviewPLPGlassware",
|
|
677
|
-
type: WidgetType.ChatPreview,
|
|
678
|
-
variant: "filled",
|
|
679
|
-
addSeparators: false,
|
|
680
|
-
socialProofConfig: {
|
|
681
|
-
staticPLPImagesLayout: "horizontal",
|
|
682
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
683
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
684
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
685
|
-
headerFontFamily: "DIN",
|
|
686
|
-
suggestionButtonStrings: [
|
|
687
|
-
"What are other wine lovers saying?",
|
|
688
|
-
"Which ones are lightweight?",
|
|
689
|
-
"Which ones are break-resistant?",
|
|
690
|
-
"Which ones are dishwasher safe?",
|
|
691
|
-
"Which ones have short stems?",
|
|
692
|
-
"What's good for outdoor use?",
|
|
693
|
-
"Should I get universal glasses?",
|
|
694
|
-
"What are my options for personalization?",
|
|
695
|
-
],
|
|
696
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
697
|
-
suggestionButtonVariantDefault: "secondary",
|
|
698
|
-
suggestionButtonVariantAccent: "secondary",
|
|
699
|
-
userQueryButtonConfig: {
|
|
700
|
-
placeholderText: "Would you like a recommendation?",
|
|
701
|
-
icon: "magnifyingGlass",
|
|
702
|
-
},
|
|
703
|
-
},
|
|
704
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
705
|
-
chatPreviewPLPWineRacks: {
|
|
706
|
-
widgetConfigId: "chatPreviewPLPWineRacks",
|
|
707
|
-
type: WidgetType.ChatPreview,
|
|
708
|
-
variant: "filled",
|
|
709
|
-
addSeparators: false,
|
|
710
|
-
socialProofConfig: {
|
|
711
|
-
staticPLPImagesLayout: "horizontal",
|
|
712
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
713
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
714
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
715
|
-
headerFontFamily: "DIN",
|
|
716
|
-
suggestionButtonStrings: [
|
|
717
|
-
"What are other wine lovers saying?",
|
|
718
|
-
"Which of these are stackable?",
|
|
719
|
-
"Which of these are free-standing?",
|
|
720
|
-
"Which of these display my collection well?",
|
|
721
|
-
"Which of these are wall-mounted?",
|
|
722
|
-
"Which of these are modern?",
|
|
723
|
-
],
|
|
724
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
725
|
-
suggestionButtonVariantDefault: "secondary",
|
|
726
|
-
suggestionButtonVariantAccent: "secondary",
|
|
727
|
-
userQueryButtonConfig: {
|
|
728
|
-
placeholderText: "Would you like a recommendation?",
|
|
729
|
-
icon: "magnifyingGlass",
|
|
730
|
-
},
|
|
731
|
-
},
|
|
732
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
733
|
-
chatPreviewPLPFurniture: {
|
|
734
|
-
widgetConfigId: "chatPreviewPLPFurniture",
|
|
735
|
-
type: WidgetType.ChatPreview,
|
|
736
|
-
variant: "filled",
|
|
737
|
-
addSeparators: false,
|
|
738
|
-
socialProofConfig: {
|
|
739
|
-
staticPLPImagesLayout: "horizontal",
|
|
740
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
741
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
742
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
743
|
-
headerFontFamily: "DIN",
|
|
744
|
-
suggestionButtonStrings: [
|
|
745
|
-
"What are other wine lovers saying?",
|
|
746
|
-
"What's good for small spaces?",
|
|
747
|
-
"Which of these are modern?",
|
|
748
|
-
"Which of these are natural looking?",
|
|
749
|
-
"Which of these are made for spirits?",
|
|
750
|
-
"Which of these have refrigeration options?",
|
|
751
|
-
"Which of these have built-in lighting?",
|
|
752
|
-
],
|
|
753
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
754
|
-
suggestionButtonVariantDefault: "secondary",
|
|
755
|
-
suggestionButtonVariantAccent: "secondary",
|
|
756
|
-
userQueryButtonConfig: {
|
|
757
|
-
placeholderText: "Would you like a recommendation?",
|
|
758
|
-
icon: "magnifyingGlass",
|
|
759
|
-
},
|
|
760
|
-
},
|
|
761
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
762
|
-
chatPreviewPLPWineAccessories: {
|
|
763
|
-
widgetConfigId: "chatPreviewPLPWineAccessories",
|
|
764
|
-
type: WidgetType.ChatPreview,
|
|
765
|
-
variant: "filled",
|
|
766
|
-
addSeparators: false,
|
|
767
|
-
socialProofConfig: {
|
|
768
|
-
staticPLPImagesLayout: "horizontal",
|
|
769
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
770
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
771
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
772
|
-
headerFontFamily: "DIN",
|
|
773
|
-
suggestionButtonStrings: [
|
|
774
|
-
"What are other wine lovers saying?",
|
|
775
|
-
"How do I choose a corkscrew?",
|
|
776
|
-
"How do I keep wine fresh longer?",
|
|
777
|
-
"How do I travel with wine?",
|
|
778
|
-
],
|
|
779
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
780
|
-
suggestionButtonVariantDefault: "secondary",
|
|
781
|
-
suggestionButtonVariantAccent: "secondary",
|
|
782
|
-
userQueryButtonConfig: {
|
|
783
|
-
placeholderText: "Would you like a recommendation?",
|
|
784
|
-
icon: "magnifyingGlass",
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
788
|
-
chatPreviewPLPWineCellarCooling: {
|
|
789
|
-
widgetConfigId: "chatPreviewPLPWineCellarCooling",
|
|
790
|
-
type: WidgetType.ChatPreview,
|
|
791
|
-
variant: "filled",
|
|
792
|
-
addSeparators: false,
|
|
793
|
-
socialProofConfig: {
|
|
794
|
-
staticPLPImagesLayout: "horizontal",
|
|
795
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
796
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
797
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
798
|
-
headerFontFamily: "DIN",
|
|
799
|
-
suggestionButtonStrings: [
|
|
800
|
-
"What are other wine lovers saying?",
|
|
801
|
-
"How big of a unit do I need?",
|
|
802
|
-
"How can I tell the difference between the brands?",
|
|
803
|
-
"What do I get when I spend more?",
|
|
804
|
-
"What kind of warranties are offered?",
|
|
805
|
-
],
|
|
806
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
807
|
-
suggestionButtonVariantDefault: "secondary",
|
|
808
|
-
suggestionButtonVariantAccent: "secondary",
|
|
809
|
-
userQueryButtonConfig: {
|
|
810
|
-
placeholderText: "Would you like a recommendation?",
|
|
811
|
-
icon: "magnifyingGlass",
|
|
812
|
-
},
|
|
813
|
-
},
|
|
814
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
815
|
-
chatPreviewPLPDecanters: {
|
|
816
|
-
widgetConfigId: "chatPreviewPLPDecanters",
|
|
817
|
-
type: WidgetType.ChatPreview,
|
|
818
|
-
variant: "filled",
|
|
819
|
-
addSeparators: false,
|
|
820
|
-
socialProofConfig: {
|
|
821
|
-
staticPLPImagesLayout: "horizontal",
|
|
822
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
823
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
824
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
825
|
-
headerFontFamily: "DIN",
|
|
826
|
-
suggestionButtonStrings: [
|
|
827
|
-
"What are other wine lovers saying?",
|
|
828
|
-
"Which ones hold more than a standard bottle?",
|
|
829
|
-
"Which ones are for young wine?",
|
|
830
|
-
"Which ones are for aged wine?",
|
|
831
|
-
"Which ones also aerate the wine?",
|
|
832
|
-
"What are my options for personalization?",
|
|
833
|
-
],
|
|
834
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
835
|
-
suggestionButtonVariantDefault: "secondary",
|
|
836
|
-
suggestionButtonVariantAccent: "secondary",
|
|
837
|
-
userQueryButtonConfig: {
|
|
838
|
-
placeholderText: "Would you like a recommendation?",
|
|
839
|
-
icon: "magnifyingGlass",
|
|
840
|
-
},
|
|
841
|
-
},
|
|
842
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
843
|
-
chatPreviewPLP: {
|
|
844
|
-
widgetConfigId: "chatPreviewPLP",
|
|
845
|
-
type: WidgetType.ChatPreview,
|
|
846
|
-
variant: "filled",
|
|
847
|
-
addSeparators: false,
|
|
848
|
-
socialProofConfig: {
|
|
849
|
-
staticPLPImagesLayout: "horizontal",
|
|
850
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
851
|
-
customerQuery: "asked which items will enhance my wine life?",
|
|
852
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
853
|
-
headerFontFamily: "DIN",
|
|
854
|
-
suggestionButtonStrings: [
|
|
855
|
-
"What are other wine lovers saying?",
|
|
856
|
-
"Best selling wine cellars",
|
|
857
|
-
"Energy efficient options",
|
|
858
|
-
"Compact solutions",
|
|
859
|
-
"Premium collections",
|
|
860
|
-
],
|
|
861
|
-
|
|
862
|
-
staticPLPImageNames: ["plp1.png", "plp2.png", "plp3.png", "plp4.png"],
|
|
863
|
-
suggestionButtonVariantDefault: "secondary",
|
|
864
|
-
suggestionButtonVariantAccent: "secondary",
|
|
865
|
-
userQueryButtonConfig: {
|
|
866
|
-
placeholderText: "Would you like a recommendation?",
|
|
867
|
-
icon: "magnifyingGlass",
|
|
868
|
-
},
|
|
869
|
-
},
|
|
870
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
871
|
-
chatPreviewPDP: {
|
|
872
|
-
widgetConfigId: "chatPreviewPDP",
|
|
873
|
-
type: WidgetType.ChatPreview,
|
|
874
|
-
variant: "flat",
|
|
875
|
-
addSeparators: true,
|
|
876
|
-
socialProofConfig: {
|
|
877
|
-
staticPLPImagesLayout: "horizontal",
|
|
878
|
-
logoName: "WineEnthusiast_Logo_DK.svg",
|
|
879
|
-
customerQuery: "asked what makes this one wow?",
|
|
880
|
-
headerTitle: "SHOPPING ASSISTANT",
|
|
881
|
-
headerFontFamily: "DIN",
|
|
882
|
-
suggestionButtonStrings: [
|
|
883
|
-
"What makes this unique?",
|
|
884
|
-
|
|
885
|
-
"Summarize the reviews",
|
|
886
|
-
"Is it easy to use or install?",
|
|
887
|
-
"How do I care for this?",
|
|
888
|
-
"Why do collectors love this?",
|
|
889
|
-
"What are similar items?",
|
|
890
|
-
],
|
|
891
|
-
staticImageIndex: 0,
|
|
892
|
-
suggestionButtonVariantDefault: "secondary",
|
|
893
|
-
suggestionButtonVariantAccent: "secondary",
|
|
894
|
-
userQueryButtonConfig: {
|
|
895
|
-
placeholderText: "Ask me anything",
|
|
896
|
-
icon: "send",
|
|
897
|
-
},
|
|
898
|
-
},
|
|
899
|
-
} satisfies ChatPreviewWidgetConfig,
|
|
900
|
-
bottomSuggestionBar: {
|
|
901
|
-
type: WidgetType.SuggestionBarV2,
|
|
902
|
-
widgetConfigId: "bottomSuggestionsBar",
|
|
903
|
-
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
904
|
-
metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
905
|
-
location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
906
|
-
variant: "secondary",
|
|
907
|
-
hoverVariant: "secondaryDark",
|
|
908
|
-
buttonTexts: {
|
|
909
|
-
default: [
|
|
910
|
-
"Is this the right one for me?",
|
|
911
|
-
"Why do wine lovers choose this one?",
|
|
912
|
-
"Which others should I consider?",
|
|
913
|
-
"What do buyers love most?",
|
|
914
|
-
],
|
|
915
|
-
},
|
|
916
|
-
} satisfies SuggestionBarWidgetV2Config,
|
|
917
|
-
},
|
|
918
|
-
mountingConfigs: {
|
|
919
|
-
chatPreviewPLP: {
|
|
920
|
-
mountingConfigId: "chatPreviewPLP",
|
|
921
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
922
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
923
|
-
insertionPoint: {
|
|
924
|
-
selector: ".ais-InfiniteHits-list",
|
|
925
|
-
insertionType: DOMInsertionType.AFTER,
|
|
926
|
-
},
|
|
927
|
-
style: {
|
|
928
|
-
paddingInline: "24px",
|
|
929
|
-
marginBottom: "24px",
|
|
930
|
-
width: "100%",
|
|
931
|
-
gridColumn: "1 / -1",
|
|
932
|
-
gridRow: "2 / 3",
|
|
933
|
-
},
|
|
934
|
-
gridInsertionType: GridInsertionType.FIXED_2,
|
|
935
|
-
wrappingElement: {
|
|
936
|
-
element: "div",
|
|
937
|
-
className: "products",
|
|
938
|
-
insertionType: DOMInsertionType.AFTER,
|
|
939
|
-
},
|
|
940
|
-
},
|
|
941
|
-
chatPreviewPDP: {
|
|
942
|
-
mountingConfigId: "chatPreviewPDP",
|
|
943
|
-
containerId: CHAT_PREVIEW_CONTAINER_ID,
|
|
944
|
-
testId: CHAT_PREVIEW_TESTID,
|
|
945
|
-
insertionPoint: {
|
|
946
|
-
selector: ".product-social-links",
|
|
947
|
-
insertionType: DOMInsertionType.AFTER,
|
|
948
|
-
},
|
|
949
|
-
},
|
|
950
|
-
topSuggestionBarPDP: {
|
|
951
|
-
mountingConfigId: "topSuggestionBarPDP",
|
|
952
|
-
containerId: TOP_SUGGESTION_BAR_PDP_ID,
|
|
953
|
-
testId: TOP_SUGGESTION_BAR_TESTID,
|
|
954
|
-
insertionPoint: {
|
|
955
|
-
selector:
|
|
956
|
-
".product-add-form, .product-form, .product-actions, .add-to-cart",
|
|
957
|
-
insertionType: DOMInsertionType.BEFORE,
|
|
958
|
-
},
|
|
959
|
-
style: { marginTop: "16px", marginBottom: "8px" },
|
|
960
|
-
},
|
|
961
|
-
bottomSuggestionBarPDP: {
|
|
962
|
-
mountingConfigId: "bottomSuggestionBarPDP",
|
|
963
|
-
containerId: BOTTOM_REVIEWS_BAR_ID,
|
|
964
|
-
testId: BOTTOM_SUGGESTION_BAR_TESTID,
|
|
965
|
-
insertionPoint: {
|
|
966
|
-
selector: ".header__inner",
|
|
967
|
-
insertionType: DOMInsertionType.AFTER,
|
|
968
|
-
},
|
|
969
|
-
style: { marginTop: "-16px", marginBottom: "8px" },
|
|
970
|
-
},
|
|
971
|
-
},
|
|
972
|
-
});
|
|
973
|
-
|
|
974
|
-
const wineEnthusiastOrgInfo = {
|
|
975
|
-
shortName: OrgShortName.WineEnthusiast,
|
|
976
|
-
name: "",
|
|
977
|
-
domain: "wineenthusiast.com",
|
|
978
|
-
defaultProductId: "",
|
|
979
|
-
alwaysEnabledMerchants: true,
|
|
980
|
-
orgUIConfig: wineEnthusiastOrgUIConfig,
|
|
981
|
-
orgColors: () => wineEnthusiastColors,
|
|
982
|
-
orgPageConfig: wineEnthusiastPageConfig,
|
|
983
|
-
} satisfies BasicOrgInfoType;
|
|
984
|
-
|
|
985
|
-
export {
|
|
986
|
-
wineEnthusiastOrgInfo,
|
|
987
|
-
wineEnthusiastOrgUIConfig,
|
|
988
|
-
wineEnthusiastColors,
|
|
989
|
-
wineEnthusiastPageConfig,
|
|
990
|
-
};
|