@envive-ai/react-hooks 0.1.0 → 0.1.2
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/adapters/amplitude/index.cjs +14 -0
- package/dist/adapters/amplitude/index.d.cts +4 -0
- package/dist/adapters/amplitude/index.d.ts +4 -0
- package/dist/adapters/amplitude/index.js +12 -0
- package/dist/api-B2euFL-5.cjs +268 -0
- package/dist/api-CxGedDxj.cjs +5057 -0
- package/dist/api-NJEaveju.js +4113 -0
- package/dist/api-XRr_lAG6.js +189 -0
- package/dist/application/config/index.cjs +34 -0
- package/dist/application/config/index.d.cts +14 -0
- package/dist/application/config/index.d.ts +14 -0
- package/dist/application/config/index.js +32 -0
- package/dist/application/models/graphql/index.cjs +13 -0
- package/dist/application/models/graphql/index.d.cts +2 -0
- package/dist/application/models/graphql/index.d.ts +2 -0
- package/dist/application/models/graphql/index.js +12 -0
- package/dist/application/models/guards/api/index.cjs +15 -0
- package/dist/application/models/guards/api/index.d.cts +3 -0
- package/dist/application/models/guards/api/index.d.ts +3 -0
- package/dist/application/models/guards/api/index.js +4 -0
- package/dist/application/models/index.cjs +72 -0
- package/dist/application/models/index.d.cts +10 -0
- package/dist/application/models/index.d.ts +10 -0
- package/dist/application/models/index.js +12 -0
- package/dist/application/models/utilityTypes/index.cjs +1 -0
- package/dist/application/models/utilityTypes/index.d.cts +2 -0
- package/dist/application/models/utilityTypes/index.d.ts +2 -0
- package/dist/application/models/utilityTypes/index.js +3 -0
- package/dist/application/models/variantInfo/index.cjs +1 -0
- package/dist/application/models/variantInfo/index.d.cts +2 -0
- package/dist/application/models/variantInfo/index.d.ts +2 -0
- package/dist/application/models/variantInfo/index.js +3 -0
- package/dist/application/service/customerService/index.cjs +4 -0
- package/dist/application/service/customerService/index.d.cts +3 -0
- package/dist/application/service/customerService/index.d.ts +3 -0
- package/dist/application/service/customerService/index.js +4 -0
- package/dist/application/service/index.cjs +761 -0
- package/dist/application/service/index.d.cts +407 -0
- package/dist/application/service/index.d.ts +407 -0
- package/dist/application/service/index.js +727 -0
- package/dist/application/utils/index.cjs +38 -0
- package/dist/application/utils/index.d.cts +254 -0
- package/dist/application/utils/index.d.ts +254 -0
- package/dist/application/utils/index.js +12 -0
- package/dist/atomStore-B3tsg6mF.cjs +0 -0
- package/dist/atomStore-BFtpknLM.js +31 -0
- package/dist/atomStore-CeJm9Llb.cjs +57 -0
- package/dist/atomStore-FSZd_20F.js +1 -0
- package/dist/atoms/app/index.cjs +17 -0
- package/dist/atoms/app/index.d.cts +33 -0
- package/dist/atoms/app/index.d.ts +33 -0
- package/dist/atoms/app/index.js +12 -0
- package/dist/atoms/atomStore/index.cjs +7 -0
- package/dist/atoms/atomStore/index.d.cts +23 -0
- package/dist/atoms/atomStore/index.d.ts +23 -0
- package/dist/atoms/atomStore/index.js +4 -0
- package/dist/atoms/chat/index.cjs +41 -0
- package/dist/atoms/chat/index.d.cts +159 -0
- package/dist/atoms/chat/index.d.ts +159 -0
- package/dist/atoms/chat/index.js +12 -0
- package/dist/atoms/globalSearch/index.cjs +6 -0
- package/dist/atoms/globalSearch/index.d.cts +23 -0
- package/dist/atoms/globalSearch/index.d.ts +23 -0
- package/dist/atoms/globalSearch/index.js +3 -0
- package/dist/atoms/org/index.cjs +41 -0
- package/dist/atoms/org/index.d.cts +93 -0
- package/dist/atoms/org/index.d.ts +93 -0
- package/dist/atoms/org/index.js +13 -0
- package/dist/atoms/search/index.cjs +44 -0
- package/dist/atoms/search/index.d.cts +11 -0
- package/dist/atoms/search/index.d.ts +11 -0
- package/dist/atoms/search/index.js +14 -0
- package/dist/{bandolier-Ble8jEa8.js → bandolier-C7PAIw02.js} +16 -7
- package/dist/{bandolier-Bm2xAt_j.cjs → bandolier-oMkFDJMF.cjs} +55 -46
- package/dist/{carpe-Da7b-LCW.cjs → carpe-C0ccKuR9.cjs} +34 -25
- package/dist/{carpe-W13mhRRP.js → carpe-DFc78_lJ.js} +16 -7
- package/dist/chat-CCgyDehy.cjs +151 -0
- package/dist/chat-Dk6KPb1K.js +25 -0
- package/dist/components-CScS7Ii-.cjs +28 -0
- package/dist/components-DAQxVIn9.js +10 -0
- package/dist/config/locators/components/chat/index.cjs +23 -0
- package/dist/config/locators/components/chat/index.d.cts +2 -0
- package/dist/config/locators/components/chat/index.d.ts +2 -0
- package/dist/config/locators/components/chat/index.js +3 -0
- package/dist/config/locators/components/chat/variants/index.cjs +28 -0
- package/dist/config/locators/components/chat/variants/index.d.cts +15 -0
- package/dist/config/locators/components/chat/variants/index.d.ts +15 -0
- package/dist/config/locators/components/chat/variants/index.js +16 -0
- package/dist/config/locators/components/index.cjs +5 -0
- package/dist/config/locators/components/index.d.cts +2 -0
- package/dist/config/locators/components/index.d.ts +2 -0
- package/dist/config/locators/components/index.js +3 -0
- package/dist/config/locators/components/search/index.cjs +12 -0
- package/dist/config/locators/components/search/index.d.cts +7 -0
- package/dist/config/locators/components/search/index.d.ts +7 -0
- package/dist/config/locators/components/search/index.js +8 -0
- package/dist/config/locators/index.cjs +47 -0
- package/dist/config/locators/index.d.cts +24 -0
- package/dist/config/locators/index.d.ts +24 -0
- package/dist/config/locators/index.js +6 -0
- package/dist/contexts/index.cjs +19 -3
- package/dist/contexts/index.d.cts +16 -22
- package/dist/contexts/index.d.ts +19 -26
- package/dist/contexts/index.js +15 -4
- package/dist/contexts-DO75-Kmx.js +7152 -0
- package/dist/contexts-iAzSvZjb.cjs +7331 -0
- package/dist/{coterie-DOWcJAYv.js → coterie-BGT8hqFR.js} +18 -7
- package/dist/{coterie-3y0D9ko4.cjs → coterie-Cp9FAJTQ.cjs} +25 -14
- package/dist/customerService-CUyZzowx.js +22 -0
- package/dist/customerService-DqPw_XKf.cjs +35 -0
- package/dist/custservice-types-D8Npo-5Z.js +22 -0
- package/dist/custservice-types-E9_OSaZ7.cjs +34 -0
- package/dist/{default-D_KPZdPJ.cjs → default-BAXPatxf.cjs} +1 -1
- package/dist/default-BR3225LZ.js +4 -0
- package/dist/default-DR6YjE9B.cjs +4 -0
- package/dist/{default-C2fEZKXk.js → default-wf_IORgo.js} +1 -1
- package/dist/divIds-BWvq-i6I.js +22 -0
- package/dist/{divIds-DnZNd7rA.cjs → divIds-CFyAjjp3.cjs} +6 -99
- package/dist/{dreamlandBaby-DCIsuU9R.cjs → dreamlandBaby-BzuMvUFS.cjs} +27 -18
- package/dist/{dreamlandBaby-DvSaZGrz.js → dreamlandBaby-DZvM81LQ.js} +16 -7
- package/dist/embedded-BlXJUbik.cjs +130 -0
- package/dist/embedded-C1jvFj3v.js +22 -0
- package/dist/events/index.cjs +4 -0
- package/dist/events/index.d.cts +45 -0
- package/dist/events/index.d.ts +45 -0
- package/dist/events/index.js +3 -0
- package/dist/events-ClCDFK7t.js +77 -0
- package/dist/events-Da7gpmGv.cjs +89 -0
- package/dist/featureFlagService-CroFRxvD.d.cts +17 -0
- package/dist/featureFlagService-NkJ2fuEj.d.ts +17 -0
- package/dist/featureGates-BMWXU0dS.d.ts +90 -0
- package/dist/featureGates-N_gyHCTn.d.cts +90 -0
- package/dist/{fiveCbd-CkOlVby_.cjs → fiveCbd-DE-tDY3d.cjs} +31 -22
- package/dist/{fiveCbd-B1SESMCO.js → fiveCbd-HNBPqPtX.js} +16 -7
- package/dist/{forLoveAndLemons-DmwYZIk0.js → forLoveAndLemons-BKmJJ9pq.js} +13 -5
- package/dist/{forLoveAndLemons-CfYPMnKS.cjs → forLoveAndLemons-BeVEBOiu.cjs} +17 -9
- package/dist/frontendConfig-KeNqU1wa.d.cts +790 -0
- package/dist/frontendConfig-cPvCTWm6.d.ts +790 -0
- package/dist/globalSearch-BC0rOX3E.js +13 -0
- package/dist/globalSearch-hxbXekus.cjs +38 -0
- package/dist/{greenpan-BtOi45lf.js → greenpan-BX1viAZB.js} +16 -7
- package/dist/{greenpan-Bsl3ir59.cjs → greenpan-chd3aa5I.cjs} +29 -20
- package/dist/{grooveLife-6_dtYsRk.js → grooveLife-CHot3rZw.js} +17 -8
- package/dist/{grooveLife-Cmm1PSCL.cjs → grooveLife-DEob7rK0.cjs} +28 -19
- package/dist/{homegrownCannabis-CO0uY_mp.cjs → homegrownCannabis-CoIjcehi.cjs} +27 -16
- package/dist/{homegrownCannabis-C-kw-74X.js → homegrownCannabis-CwkS1qDA.js} +17 -6
- package/dist/hooks/index.cjs +26 -3
- package/dist/hooks/index.d.cts +220 -299
- package/dist/hooks/index.d.ts +220 -299
- package/dist/hooks/index.js +15 -4
- package/dist/index-BdNKc2ix.d.cts +8 -0
- package/dist/index-BkhvV8RZ.d.cts +202 -0
- package/dist/index-BrXuc_Ck.d.cts +24 -0
- package/dist/{chatElementDisplayLocation-CX8fuNao.d.cts → index-C4zjAR1c.d.cts} +18 -30
- package/dist/index-CGB6CAmr.d.ts +6 -0
- package/dist/index-CIco0cCQ.d.ts +183 -0
- package/dist/index-COG1kOZG.d.ts +749 -0
- package/dist/index-CVxe7FpL.d.cts +6 -0
- package/dist/index-Cn1SeI5y.d.cts +183 -0
- package/dist/index-Cqg6ltII.d.ts +38 -0
- package/dist/index-CzMrMKx-.d.ts +202 -0
- package/dist/index-DE_7Q8qK.d.ts +94 -0
- package/dist/index-Da0UzyI9.d.ts +24 -0
- package/dist/index-DbWWcYax.d.cts +749 -0
- package/dist/index-DtoVXd6O.d.cts +97 -0
- package/dist/index-JClBRnSX.d.cts +94 -0
- package/dist/index-ghzD_356.d.ts +8 -0
- package/dist/index-hdbCEjYy.d.cts +38 -0
- package/dist/index-luJrHgPN.d.ts +97 -0
- package/dist/{chatElementDisplayLocation-CwptS9tx.d.ts → index-tfRj22E1.d.ts} +18 -30
- package/dist/interceptors/index.cjs +14 -0
- package/dist/interceptors/index.d.cts +25 -0
- package/dist/interceptors/index.d.ts +25 -0
- package/dist/interceptors/index.js +13 -0
- package/dist/{jackArcher-CLVmwwpI.js → jackArcher-BA-pkB4A.js} +16 -7
- package/dist/{jackArcher-DdYTIzAV.cjs → jackArcher-bewC0q1T.cjs} +33 -24
- package/dist/{jordanCraig-_u3-w4Hp.cjs → jordanCraig-B5k9nlAw.cjs} +76 -67
- package/dist/{jordanCraig-Am-Oor-O.js → jordanCraig-BsQ1mYbt.js} +16 -7
- package/dist/{kindredBravely-eWp-ud_E.js → kindredBravely-BxYkCpGY.js} +15 -6
- package/dist/{kindredBravely-CWovIDSc.cjs → kindredBravely-DsN0fo3s.cjs} +26 -17
- package/dist/{kutFromTheKloth-Q589bAOC.cjs → kutFromTheKloth-BQTCu3ct.cjs} +27 -18
- package/dist/{kutFromTheKloth-BMV4BuGQ.js → kutFromTheKloth-bukOQM3P.js} +16 -7
- package/dist/{larryAndSerges-BMUlTgI-.js → larryAndSerges-D1ecaT5a.js} +14 -5
- package/dist/{larryAndSerges-CEau764j.cjs → larryAndSerges-bj7fgy9b.cjs} +21 -12
- package/dist/{leapsAndRebounds-DHAtRTJD.cjs → leapsAndRebounds-BfneG_0c.cjs} +29 -20
- package/dist/{leapsAndRebounds-DGMzPO7T.js → leapsAndRebounds-DhNpZETg.js} +16 -7
- package/dist/locators-C2DX_nX6.js +1 -0
- package/dist/locators-CUpyd9Wt.cjs +0 -0
- package/dist/{longevityrx-jH2JLhNH.js → longevityrx-CnoGcw0w.js} +16 -7
- package/dist/{longevityrx-CZW8Hxzi.cjs → longevityrx-D0goIuX0.cjs} +24 -15
- package/dist/{lookOptic-CA6RwLbG.cjs → lookOptic-C4afLPZP.cjs} +24 -15
- package/dist/{lookOptic-BGXP5P_V.js → lookOptic-uJWIKpER.js} +16 -7
- package/dist/{mantraBrand-DByNqpnL.cjs → mantraBrand-8JUlYtCE.cjs} +45 -36
- package/dist/{mantraBrand-Cm9_PBCT.js → mantraBrand-DuwKHM26.js} +17 -8
- package/dist/{medterra-B0wxj_PV.js → medterra-BQec8rzn.js} +16 -7
- package/dist/{medterra-DnPN2ksU.cjs → medterra-DH067P-V.cjs} +36 -27
- package/dist/{modells-Bmz8Ag5M.js → modells-DAgLE2xo.js} +16 -7
- package/dist/{modells-CoYgkLSp.cjs → modells-DUFnLmAz.cjs} +30 -21
- package/dist/nodeSelector-DpKXszfU.d.ts +30 -0
- package/dist/nodeSelector-vKB44CDB.d.cts +30 -0
- package/dist/org-C11APG3v.js +63 -0
- package/dist/org-CnHL2I9B.cjs +106 -0
- package/dist/{pressedFloral-DjBiSoUl.cjs → pressedFloral-DVZVfOSQ.cjs} +35 -26
- package/dist/{pressedFloral-DSKs_oVG.js → pressedFloral-MdbuoRyA.js} +16 -7
- package/dist/search-CvHb1M3S.js +542 -0
- package/dist/search-bSYdOBhY.cjs +743 -0
- package/dist/search-filter-types-BsJjrxk0.d.ts +101 -0
- package/dist/search-filter-types-CqaGK3nM.d.cts +101 -0
- package/dist/{skinPerfection-B_3xzVNS.cjs → skinPerfection-BcEWICQN.cjs} +24 -15
- package/dist/{skinPerfection-IDrBuAPt.js → skinPerfection-bGiYxq1i.js} +16 -7
- package/dist/{snapSupplements-BStTsdOZ.cjs → snapSupplements-BXSXTjqF.cjs} +24 -15
- package/dist/{snapSupplements-BJk5T5ba.js → snapSupplements-D7hHhdC9.js} +16 -7
- package/dist/{spanx-BYg0LE7R.js → spanx-5-0yX3iK.js} +18 -9
- package/dist/{spanx-LwU1zSzq.cjs → spanx-lUzP6Lva.cjs} +30 -21
- package/dist/{spanxStaging-CfSmuKYB.js → spanxStaging-HglCMJag.js} +18 -9
- package/dist/{spanxStaging-OZLV9qix.cjs → spanxStaging-hreMR0MS.cjs} +34 -25
- package/dist/suggestionBarV2-types-B0RbMStE.js +9 -0
- package/dist/suggestionBarV2-types-DG3Ekk44.cjs +15 -0
- package/dist/{supergoop-CIlrHND_.js → supergoop-C9DDT3lY.js} +17 -7
- package/dist/{supergoop-BqPXDnKk.cjs → supergoop-CkjtuRck.cjs} +28 -18
- package/dist/test-types-C9b_OdfO.d.ts +39 -0
- package/dist/test-types-CpKCxk8U.d.cts +39 -0
- package/dist/types/index.cjs +6 -0
- package/dist/types/index.d.cts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +4 -0
- package/dist/types-BE4faOO_.d.cts +32 -0
- package/dist/{types-C4T5UOIW.cjs → types-BUjohkXp.cjs} +58 -58
- package/dist/{types-CYNvLeSA.js → types-BVsTRyxL.js} +58 -58
- package/dist/types-TD8g7LnH.d.ts +32 -0
- package/dist/{uniqueVintage-B30mOqbH.cjs → uniqueVintage-DIMGtYAU.cjs} +46 -37
- package/dist/{uniqueVintage-CFueJOhO.js → uniqueVintage-DPWA5Ed6.js} +16 -7
- package/dist/useMessageInterceptor-B-P_rw73.cjs +72 -0
- package/dist/useMessageInterceptor-C2RZM-fo.js +57 -0
- package/dist/utilityTypes-BVikejDo.js +1 -0
- package/dist/utilityTypes-C4h2wgAK.cjs +0 -0
- package/dist/variant-BGjOVpY3.d.cts +12 -0
- package/dist/variant-XITncuI3.d.ts +12 -0
- package/dist/variantInfo-CNRTY0gH.cjs +0 -0
- package/dist/variantInfo-CzhR5W6h.js +1 -0
- package/dist/{venaCbd-T0CqVD4k.js → venaCbd-B-znfAsl.js} +16 -7
- package/dist/{venaCbd-DHGZy49P.cjs → venaCbd-BOwOtpOz.cjs} +29 -20
- package/dist/{westonJonBoucher-BdMzs_Yg.cjs → westonJonBoucher-CraTzRVt.cjs} +29 -20
- package/dist/{westonJonBoucher-b4TCQ4ev.js → westonJonBoucher-DCRagGu3.js} +16 -7
- package/dist/{wineEnthusiast-BqR0i_54.js → wineEnthusiast-Bv7umajk.js} +16 -7
- package/dist/{wineEnthusiast-BLGlOjgr.cjs → wineEnthusiast-sVuATrq6.cjs} +28 -19
- package/dist/{wolfMattress-CyyO-LoC.js → wolfMattress-BUH-Rhov.js} +17 -6
- package/dist/{wolfMattress-DNGZOivg.cjs → wolfMattress-DpVHIEnJ.cjs} +29 -18
- package/dist/{wolfTactical-BmXYlFjr.cjs → wolfTactical-BcvF_sy-.cjs} +28 -19
- package/dist/{wolfTactical-3Mm2fvVF.js → wolfTactical-Q14A1fpw.js} +16 -7
- package/package.json +101 -3
- package/src/adapters/amplitude/amplitudeAdapter.ts +1 -1
- package/src/adapters/spiffy/commerce/api.ts +1 -1
- package/src/adapters/spiffy/commerce/graphql.ts +61 -37
- package/src/application/config/index.ts +1 -0
- package/src/application/models/index.ts +102 -17
- package/src/application/models/supportedOrgs.ts +89 -65
- package/src/application/service/index.ts +32 -0
- package/src/application/service/pageVariantService.ts +201 -114
- package/src/application/service/searchService.ts +1 -1
- package/src/application/service/windowFrontendConfigService.ts +40 -18
- package/src/application/utils/index.ts +22 -3
- package/src/atoms/app/variant.ts +48 -29
- package/src/atoms/atomStore/index.ts +1 -0
- package/src/atoms/chat/messageQueue.ts +34 -17
- package/src/atoms/chat/performanceMetrics.ts +51 -38
- package/src/atoms/chat/renderedWidgetRefs.ts +14 -15
- package/src/atoms/globalSearch/index.ts +1 -0
- package/src/atoms/org/org.ts +1 -3
- package/src/atoms/org/orgUIConfig.ts +31 -24
- package/src/contexts/chatContext.tsx +124 -72
- package/src/events/registerAnalyticsListeners.ts +13 -9
- package/src/hooks/useFileUpload.ts +9 -7
- package/src/hooks/useSearch.tsx +4 -7
- package/src/initialize.ts +2 -2
- package/src/interceptors/index.ts +3 -0
- package/src/main.tsx +11 -26
- package/src/types/index.ts +4 -0
- package/dist/GridInsertionService-CEYo9pGj.js +0 -22
- package/dist/GridInsertionService-CS_bnPh0.cjs +0 -28
- package/dist/contexts-BRjfVq_k.js +0 -5064
- package/dist/contexts-BYArqZtK.cjs +0 -5164
- package/dist/custservice-types-CFIFwZ-r.js +0 -10
- package/dist/custservice-types-CkfxZiHY.cjs +0 -16
- package/dist/default-CBUq6Q6G.cjs +0 -4
- package/dist/default-CGIFZK6m.js +0 -4
- package/dist/divIds-Bss-btao.js +0 -49
- package/dist/models-DHdb7QWn.js +0 -51
- package/dist/models-ixxUsGL_.cjs +0 -69
- package/dist/suggestionBarV2-types-BllzwsBD.js +0 -34
- package/dist/suggestionBarV2-types-CaovchMP.cjs +0 -46
- package/src/atoms/index.ts +0 -5
- package/src/index.ts +0 -31
- package/src/main.ts +0 -85
- /package/dist/{cdnService-zQfKk3Eb.js → cdnService-DvDSpfVJ.js} +0 -0
- /package/dist/{cdnService-CZ-aXcY6.cjs → cdnService-dJU3sHpF.cjs} +0 -0
- /package/dist/{entrypoints-YLQsbBRD.js → entrypoints-CmmOszXO.js} +0 -0
- /package/dist/{entrypoints-D_JUvkgy.cjs → entrypoints-fowCLUT2.cjs} +0 -0
- /package/dist/{socialProofClasses-CrQBWdSA.cjs → socialProofClasses-BYLiEXpU.cjs} +0 -0
- /package/dist/{socialProofClasses-Bhv2Vulz.js → socialProofClasses-CkJufEGb.js} +0 -0
- /package/src/atoms/{atomStore.ts → atomStore/atomStore.ts} +0 -0
- /package/src/atoms/{globalSearch.ts → globalSearch/globalSearch.ts} +0 -0
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "./logger-pdEEY8T2.js";
|
|
2
|
+
import "./api-XRr_lAG6.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, FeatureGates } from "./api-NJEaveju.js";
|
|
4
|
+
import { ColorNames, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-BVsTRyxL.js";
|
|
3
5
|
import "./enviveConfigContext-CUGLpPGU.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
6
|
+
import "./atomStore-BFtpknLM.js";
|
|
7
|
+
import "./customerService-CUyZzowx.js";
|
|
8
|
+
import "./utilityTypes-BVikejDo.js";
|
|
9
|
+
import "./variantInfo-CzhR5W6h.js";
|
|
10
|
+
import "./events-ClCDFK7t.js";
|
|
11
|
+
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
|
+
import { CHAT_PREVIEW_CONTAINER_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
+
import { CdnService } from "./cdnService-DvDSpfVJ.js";
|
|
14
|
+
import "./chat-Dk6KPb1K.js";
|
|
15
|
+
import "./components-DAQxVIn9.js";
|
|
16
|
+
import { CHAT_PREVIEW_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
|
+
import "./locators-C2DX_nX6.js";
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-wf_IORgo.js";
|
|
19
|
+
import { SPIFFY_SOCIAL_PROOF_CONTENT_CONTAINER_CLASS, SPIFFY_SOCIAL_PROOF_CUSTOMER_COUNT_CLASS, SPIFFY_SOCIAL_PROOF_SUGGESTION_BUTTON_CLASS, SPIFFY_SOCIAL_PROOF_SUGGESTION_BUTTON_TEXT_CLASS } from "./socialProofClasses-CkJufEGb.js";
|
|
9
20
|
|
|
10
21
|
//#region src/merchants/coterie/coterie.ts
|
|
11
22
|
const coterieColors = {
|
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
require('./logger-Dln20ans.cjs');
|
|
2
|
+
require('./api-B2euFL-5.cjs');
|
|
3
|
+
const require_api$1 = require('./api-CxGedDxj.cjs');
|
|
4
|
+
const require_types = require('./types-BUjohkXp.cjs');
|
|
3
5
|
require('./enviveConfigContext-Dfr2VH6u.cjs');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
require('./atomStore-CeJm9Llb.cjs');
|
|
7
|
+
require('./customerService-DqPw_XKf.cjs');
|
|
8
|
+
require('./utilityTypes-C4h2wgAK.cjs');
|
|
9
|
+
require('./variantInfo-CNRTY0gH.cjs');
|
|
10
|
+
require('./events-Da7gpmGv.cjs');
|
|
11
|
+
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
12
|
+
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
13
|
+
const require_cdnService = require('./cdnService-dJU3sHpF.cjs');
|
|
14
|
+
require('./chat-CCgyDehy.cjs');
|
|
15
|
+
require('./components-CScS7Ii-.cjs');
|
|
16
|
+
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
17
|
+
require('./locators-CUpyd9Wt.cjs');
|
|
18
|
+
const require_default = require('./default-BAXPatxf.cjs');
|
|
19
|
+
const require_socialProofClasses = require('./socialProofClasses-BYLiEXpU.cjs');
|
|
9
20
|
|
|
10
21
|
//#region src/merchants/coterie/coterie.ts
|
|
11
22
|
const coterieColors = {
|
|
@@ -34,7 +45,7 @@ const coteriePageConfig = () => ({
|
|
|
34
45
|
variantType: "pdp",
|
|
35
46
|
variantTests: [{ testType: require_types.PageVariantTestType.UrlResolver }, {
|
|
36
47
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
37
|
-
featureGate:
|
|
48
|
+
featureGate: require_api$1.FeatureGates.IsSummarizeReviewsEnabled
|
|
38
49
|
}],
|
|
39
50
|
productIdExtractor: "url-resolver-product-id",
|
|
40
51
|
widgetMounting: [{
|
|
@@ -55,7 +66,7 @@ const coteriePageConfig = () => ({
|
|
|
55
66
|
topSuggestionBar: {
|
|
56
67
|
widgetConfigId: "topSuggestionBar",
|
|
57
68
|
contentId: "spiffy-top-suggestion-bar",
|
|
58
|
-
metricDisplayLocation:
|
|
69
|
+
metricDisplayLocation: require_api$1.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
59
70
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
60
71
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
61
72
|
variant: "tertiary",
|
|
@@ -83,7 +94,7 @@ const coteriePageConfig = () => ({
|
|
|
83
94
|
topSuggestionBarSummarizeReviews: {
|
|
84
95
|
widgetConfigId: "topSuggestionBarSummarizeReviews",
|
|
85
96
|
contentId: "spiffy-top-suggestion-bar",
|
|
86
|
-
metricDisplayLocation:
|
|
97
|
+
metricDisplayLocation: require_api$1.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
87
98
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
88
99
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
89
100
|
variant: "tertiary",
|
|
@@ -139,20 +150,20 @@ const coteriePageConfig = () => ({
|
|
|
139
150
|
topSuggestionBar: {
|
|
140
151
|
mountingConfigId: "topSuggestionBar",
|
|
141
152
|
containerId: require_divIds.TOP_SUGGESTION_BAR_PDP_ID,
|
|
142
|
-
testId:
|
|
153
|
+
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
143
154
|
insertionPoint: {
|
|
144
155
|
selector: ".genericPdpHero_starsReviews__wLPyN",
|
|
145
|
-
insertionType:
|
|
156
|
+
insertionType: require_api$1.DOMInsertionType.ADJACENT_AFTER_END
|
|
146
157
|
},
|
|
147
158
|
style: { width: "100%" }
|
|
148
159
|
},
|
|
149
160
|
chatPreviewPDP: {
|
|
150
161
|
mountingConfigId: "chatPreviewPDP",
|
|
151
162
|
containerId: require_divIds.CHAT_PREVIEW_CONTAINER_ID,
|
|
152
|
-
testId:
|
|
163
|
+
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
153
164
|
insertionPoint: {
|
|
154
165
|
selector: "form[class*='genericPdpHeroForm']",
|
|
155
|
-
insertionType:
|
|
166
|
+
insertionType: require_api$1.DOMInsertionType.ADJACENT_AFTER_END
|
|
156
167
|
},
|
|
157
168
|
dataAttributes: { "data-cta-location": "pdp-hero" }
|
|
158
169
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { logger_default } from "./logger-pdEEY8T2.js";
|
|
2
|
+
import { CustomerServiceProvider } from "@spiffy-ai/commerce-api-client";
|
|
3
|
+
|
|
4
|
+
//#region src/application/service/customerService/providers/UnsupportedCustomerService.ts
|
|
5
|
+
const UnsupportedCustomerService = {
|
|
6
|
+
provider: CustomerServiceProvider.Unsupported,
|
|
7
|
+
supportedIntegrationModes: [],
|
|
8
|
+
isEnabled: () => false,
|
|
9
|
+
onSwitchToAgent: () => {
|
|
10
|
+
logger_default.logInfo("Spiffy: Switch to Agent - Unsupported");
|
|
11
|
+
},
|
|
12
|
+
isBusinessHours: () => Promise.resolve(false)
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/application/service/customerService/index.ts
|
|
17
|
+
const findCustomerServiceImpl = (_provider) => {
|
|
18
|
+
return UnsupportedCustomerService;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { UnsupportedCustomerService, findCustomerServiceImpl };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
+
const require_logger = require('./logger-Dln20ans.cjs');
|
|
3
|
+
let __spiffy_ai_commerce_api_client = require("@spiffy-ai/commerce-api-client");
|
|
4
|
+
__spiffy_ai_commerce_api_client = require_chunk.__toESM(__spiffy_ai_commerce_api_client);
|
|
5
|
+
|
|
6
|
+
//#region src/application/service/customerService/providers/UnsupportedCustomerService.ts
|
|
7
|
+
const UnsupportedCustomerService = {
|
|
8
|
+
provider: __spiffy_ai_commerce_api_client.CustomerServiceProvider.Unsupported,
|
|
9
|
+
supportedIntegrationModes: [],
|
|
10
|
+
isEnabled: () => false,
|
|
11
|
+
onSwitchToAgent: () => {
|
|
12
|
+
require_logger.logger_default.logInfo("Spiffy: Switch to Agent - Unsupported");
|
|
13
|
+
},
|
|
14
|
+
isBusinessHours: () => Promise.resolve(false)
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/application/service/customerService/index.ts
|
|
19
|
+
const findCustomerServiceImpl = (_provider) => {
|
|
20
|
+
return UnsupportedCustomerService;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
Object.defineProperty(exports, 'UnsupportedCustomerService', {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return UnsupportedCustomerService;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, 'findCustomerServiceImpl', {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return findCustomerServiceImpl;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/types/custservice-types.ts
|
|
2
|
+
let ChatState = /* @__PURE__ */ function(ChatState$1) {
|
|
3
|
+
ChatState$1["INITIAL"] = "initial";
|
|
4
|
+
ChatState$1["FORM"] = "form";
|
|
5
|
+
ChatState$1["CHAT"] = "chat";
|
|
6
|
+
return ChatState$1;
|
|
7
|
+
}({});
|
|
8
|
+
let CustomerServiceOverrides = /* @__PURE__ */ function(CustomerServiceOverrides$1) {
|
|
9
|
+
CustomerServiceOverrides$1["LEGAL_MESSAGE"] = "spiffy-customer-service-legal-message";
|
|
10
|
+
CustomerServiceOverrides$1["DARK_BUTTON_CONTAINER"] = "spiffy-customer-service-dark-button-container";
|
|
11
|
+
CustomerServiceOverrides$1["DARK_BUTTON"] = "spiffy-customer-service-dark-button";
|
|
12
|
+
CustomerServiceOverrides$1["DARK_BUTTON_HOVER_TEXT"] = "spiffy-customer-service-dark-button-hover-text";
|
|
13
|
+
CustomerServiceOverrides$1["DARK_BUTTON_TEXT"] = "spiffy-customer-service-dark-button-text";
|
|
14
|
+
CustomerServiceOverrides$1["FORM_FIELD"] = "spiffy-customer-service-form-field";
|
|
15
|
+
CustomerServiceOverrides$1["AI_NAME"] = "spiffy-customer-service-ai-name";
|
|
16
|
+
CustomerServiceOverrides$1["WAITING_MESSAGE"] = "spiffy-customer-service-waiting-message";
|
|
17
|
+
CustomerServiceOverrides$1["WAITING_MESSAGE_ICON"] = "spiffy-customer-service-waiting-message-icon";
|
|
18
|
+
return CustomerServiceOverrides$1;
|
|
19
|
+
}({});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ChatState, CustomerServiceOverrides };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
//#region src/types/custservice-types.ts
|
|
3
|
+
let ChatState = /* @__PURE__ */ function(ChatState$1) {
|
|
4
|
+
ChatState$1["INITIAL"] = "initial";
|
|
5
|
+
ChatState$1["FORM"] = "form";
|
|
6
|
+
ChatState$1["CHAT"] = "chat";
|
|
7
|
+
return ChatState$1;
|
|
8
|
+
}({});
|
|
9
|
+
let CustomerServiceOverrides = /* @__PURE__ */ function(CustomerServiceOverrides$1) {
|
|
10
|
+
CustomerServiceOverrides$1["LEGAL_MESSAGE"] = "spiffy-customer-service-legal-message";
|
|
11
|
+
CustomerServiceOverrides$1["DARK_BUTTON_CONTAINER"] = "spiffy-customer-service-dark-button-container";
|
|
12
|
+
CustomerServiceOverrides$1["DARK_BUTTON"] = "spiffy-customer-service-dark-button";
|
|
13
|
+
CustomerServiceOverrides$1["DARK_BUTTON_HOVER_TEXT"] = "spiffy-customer-service-dark-button-hover-text";
|
|
14
|
+
CustomerServiceOverrides$1["DARK_BUTTON_TEXT"] = "spiffy-customer-service-dark-button-text";
|
|
15
|
+
CustomerServiceOverrides$1["FORM_FIELD"] = "spiffy-customer-service-form-field";
|
|
16
|
+
CustomerServiceOverrides$1["AI_NAME"] = "spiffy-customer-service-ai-name";
|
|
17
|
+
CustomerServiceOverrides$1["WAITING_MESSAGE"] = "spiffy-customer-service-waiting-message";
|
|
18
|
+
CustomerServiceOverrides$1["WAITING_MESSAGE_ICON"] = "spiffy-customer-service-waiting-message-icon";
|
|
19
|
+
return CustomerServiceOverrides$1;
|
|
20
|
+
}({});
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
Object.defineProperty(exports, 'ChatState', {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () {
|
|
26
|
+
return ChatState;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, 'CustomerServiceOverrides', {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () {
|
|
32
|
+
return CustomerServiceOverrides;
|
|
33
|
+
}
|
|
34
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, colorVar } from "./types-
|
|
1
|
+
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, colorVar } from "./types-BVsTRyxL.js";
|
|
2
2
|
|
|
3
3
|
//#region src/merchants/default.ts
|
|
4
4
|
const defaultOrgUIConfig = (orgShortName) => ({
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/config/divIds.ts
|
|
2
|
+
const CONTAINER_ID = "spiffy-ai-container";
|
|
3
|
+
const FLOATING_BUTTON_ID = "spiffy-ai-floating-button";
|
|
4
|
+
const CHAT_PREVIEW_CONTAINER_ID = "spiffy-ai-chat-preview";
|
|
5
|
+
const GLOBAL_SEARCH_ENTRYPOINT_ID = "spiffy-ai-global-search-entrypoint";
|
|
6
|
+
const SEARCH_RESULTS_ENTRYPOINT_ID = "spiffy-ai-search-results-entrypoint";
|
|
7
|
+
const SEARCH_RESULTS_NO_OP_ID = "spiffy-ai-search-results-no-op-entrypoint";
|
|
8
|
+
const SEARCH_OVERLAY_ENTRYPOINT_ID = "spiffy-ai-search-overlay-entrypoint";
|
|
9
|
+
const HOMEPAGE_DESKTOP_GLOBAL_SEARCH_ENTRYPOINT_ID = "spiffy-ai-global-search-entrypoint-desktop-homepage";
|
|
10
|
+
const HOMEPAGE_TABLET_GLOBAL_SEARCH_ENTRYPOINT_ID = "spiffy-ai-global-search-entrypoint-tablet-homepage";
|
|
11
|
+
const HOMEPAGE_MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID = "spiffy-ai-global-search-entrypoint-mobile-homepage";
|
|
12
|
+
const MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID = "spiffy-ai-global-search-entrypoint-mobile";
|
|
13
|
+
const MOBILE_ICON_ONLY_GLOBAL_SEARCH_ENTRYPOINT_ID = "spiffy-ai-global-search-entrypoint-mobile-icon-only";
|
|
14
|
+
const TABLET_GLOBAL_SEARCH_ENTYPOINT_ID = "spiffy-ai-global-search-entrypoint-tablet";
|
|
15
|
+
const BOTTOM_REVIEWS_BAR_ID = "spiffy-bottom-reviews-bar-id";
|
|
16
|
+
const TOP_SUGGESTION_BAR_PDP_ID = "spiffy-top-suggestion-bar-id";
|
|
17
|
+
const TOP_PLP_IMAGE_BANNER_ID = "spiffy-top-plp-image-banner-id";
|
|
18
|
+
const BOTTOM_PLP_IMAGE_BANNER_ID = "spiffy-bottom-plp-image-banner-id";
|
|
19
|
+
const PROMPT_CARD_ID = "spiffy-ai-prompt-card";
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { BOTTOM_PLP_IMAGE_BANNER_ID, BOTTOM_REVIEWS_BAR_ID, CHAT_PREVIEW_CONTAINER_ID, CONTAINER_ID, FLOATING_BUTTON_ID, GLOBAL_SEARCH_ENTRYPOINT_ID, HOMEPAGE_DESKTOP_GLOBAL_SEARCH_ENTRYPOINT_ID, HOMEPAGE_MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID, HOMEPAGE_TABLET_GLOBAL_SEARCH_ENTRYPOINT_ID, MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID, MOBILE_ICON_ONLY_GLOBAL_SEARCH_ENTRYPOINT_ID, PROMPT_CARD_ID, SEARCH_OVERLAY_ENTRYPOINT_ID, SEARCH_RESULTS_ENTRYPOINT_ID, SEARCH_RESULTS_NO_OP_ID, TABLET_GLOBAL_SEARCH_ENTYPOINT_ID, TOP_PLP_IMAGE_BANNER_ID, TOP_SUGGESTION_BAR_PDP_ID };
|
|
@@ -1,34 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
//#region src/application/service/domMutations/domInsertionService.ts
|
|
3
|
-
var DOMInsertionType = /* @__PURE__ */ function(DOMInsertionType$1) {
|
|
4
|
-
DOMInsertionType$1["AFTER"] = "after";
|
|
5
|
-
DOMInsertionType$1["BEFORE"] = "before";
|
|
6
|
-
DOMInsertionType$1["ADJACENT_AFTER_BEGIN"] = "adjacent-after-begin";
|
|
7
|
-
DOMInsertionType$1["ADJACENT_BEFORE_BEGIN"] = "adjacent-before-begin";
|
|
8
|
-
DOMInsertionType$1["ADJACENT_AFTER_END"] = "adjacent-after-end";
|
|
9
|
-
DOMInsertionType$1["ADJACENT_BEFORE_END"] = "adjacent-before-end";
|
|
10
|
-
DOMInsertionType$1["APPEND_CHILD"] = "append-child";
|
|
11
|
-
DOMInsertionType$1["NONE"] = "none";
|
|
12
|
-
return DOMInsertionType$1;
|
|
13
|
-
}(DOMInsertionType || {});
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
//#region src/config/locators/embedded.ts
|
|
17
|
-
const BOTTOM_SUGGESTION_BAR_TESTID = "bottom-suggestion-bar-shadow-dom-container";
|
|
18
|
-
const CHAT_PREVIEW_TESTID = "chat-preview-shadow-dom-container";
|
|
19
|
-
const GLOBAL_SEARCH_ENTRYPOINT_TESTID = "global-search-entrypoint-shadow-dom-container";
|
|
20
|
-
const SEARCH_OVERLAY_HOST_TESTID = "search-overlay-host-shadow-dom-container";
|
|
21
|
-
const SEARCH_RESULTS_ENTRYPOINT_TESTID = "search-results-entrypoint-shadow-dom-container";
|
|
22
|
-
const SEARCH_RESULTS_NO_OP_ENTRYPOINT_TESTID = "search-results-no-op-shadow-dom-container";
|
|
23
|
-
const PROMPT_CARD_TESTID = "image-prompt-card-shadow-dom-container";
|
|
24
|
-
const TOP_SUGGESTION_BAR_TESTID = "top-suggestion-bar-shadow-dom-container";
|
|
25
|
-
const CHAT_PREVIEW_PDP_TESTID = "spiffy-chat-preview-pdp";
|
|
26
|
-
const CHAT_PREVIEW_PLP_TESTID = "spiffy-chat-preview-plp";
|
|
27
|
-
const TOP_SUGGESTION_BAR_PDP_TESTID = "spiffy-top-suggestion-bar-pdp";
|
|
28
|
-
const BOTTOM_SUGGESTION_BAR_PDP_TESTID = "spiffy-bottom-suggestion-bar-pdp";
|
|
29
|
-
|
|
30
|
-
//#endregion
|
|
31
2
|
//#region src/config/divIds.ts
|
|
3
|
+
const CONTAINER_ID = "spiffy-ai-container";
|
|
4
|
+
const FLOATING_BUTTON_ID = "spiffy-ai-floating-button";
|
|
32
5
|
const CHAT_PREVIEW_CONTAINER_ID = "spiffy-ai-chat-preview";
|
|
33
6
|
const GLOBAL_SEARCH_ENTRYPOINT_ID = "spiffy-ai-global-search-entrypoint";
|
|
34
7
|
const SEARCH_RESULTS_ENTRYPOINT_ID = "spiffy-ai-search-results-entrypoint";
|
|
@@ -59,46 +32,22 @@ Object.defineProperty(exports, 'BOTTOM_REVIEWS_BAR_ID', {
|
|
|
59
32
|
return BOTTOM_REVIEWS_BAR_ID;
|
|
60
33
|
}
|
|
61
34
|
});
|
|
62
|
-
Object.defineProperty(exports, 'BOTTOM_SUGGESTION_BAR_PDP_TESTID', {
|
|
63
|
-
enumerable: true,
|
|
64
|
-
get: function () {
|
|
65
|
-
return BOTTOM_SUGGESTION_BAR_PDP_TESTID;
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, 'BOTTOM_SUGGESTION_BAR_TESTID', {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function () {
|
|
71
|
-
return BOTTOM_SUGGESTION_BAR_TESTID;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
35
|
Object.defineProperty(exports, 'CHAT_PREVIEW_CONTAINER_ID', {
|
|
75
36
|
enumerable: true,
|
|
76
37
|
get: function () {
|
|
77
38
|
return CHAT_PREVIEW_CONTAINER_ID;
|
|
78
39
|
}
|
|
79
40
|
});
|
|
80
|
-
Object.defineProperty(exports, '
|
|
41
|
+
Object.defineProperty(exports, 'CONTAINER_ID', {
|
|
81
42
|
enumerable: true,
|
|
82
43
|
get: function () {
|
|
83
|
-
return
|
|
44
|
+
return CONTAINER_ID;
|
|
84
45
|
}
|
|
85
46
|
});
|
|
86
|
-
Object.defineProperty(exports, '
|
|
47
|
+
Object.defineProperty(exports, 'FLOATING_BUTTON_ID', {
|
|
87
48
|
enumerable: true,
|
|
88
49
|
get: function () {
|
|
89
|
-
return
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, 'CHAT_PREVIEW_TESTID', {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function () {
|
|
95
|
-
return CHAT_PREVIEW_TESTID;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
Object.defineProperty(exports, 'DOMInsertionType', {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function () {
|
|
101
|
-
return DOMInsertionType;
|
|
50
|
+
return FLOATING_BUTTON_ID;
|
|
102
51
|
}
|
|
103
52
|
});
|
|
104
53
|
Object.defineProperty(exports, 'GLOBAL_SEARCH_ENTRYPOINT_ID', {
|
|
@@ -107,12 +56,6 @@ Object.defineProperty(exports, 'GLOBAL_SEARCH_ENTRYPOINT_ID', {
|
|
|
107
56
|
return GLOBAL_SEARCH_ENTRYPOINT_ID;
|
|
108
57
|
}
|
|
109
58
|
});
|
|
110
|
-
Object.defineProperty(exports, 'GLOBAL_SEARCH_ENTRYPOINT_TESTID', {
|
|
111
|
-
enumerable: true,
|
|
112
|
-
get: function () {
|
|
113
|
-
return GLOBAL_SEARCH_ENTRYPOINT_TESTID;
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
59
|
Object.defineProperty(exports, 'HOMEPAGE_DESKTOP_GLOBAL_SEARCH_ENTRYPOINT_ID', {
|
|
117
60
|
enumerable: true,
|
|
118
61
|
get: function () {
|
|
@@ -149,42 +92,18 @@ Object.defineProperty(exports, 'PROMPT_CARD_ID', {
|
|
|
149
92
|
return PROMPT_CARD_ID;
|
|
150
93
|
}
|
|
151
94
|
});
|
|
152
|
-
Object.defineProperty(exports, 'PROMPT_CARD_TESTID', {
|
|
153
|
-
enumerable: true,
|
|
154
|
-
get: function () {
|
|
155
|
-
return PROMPT_CARD_TESTID;
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
95
|
Object.defineProperty(exports, 'SEARCH_OVERLAY_ENTRYPOINT_ID', {
|
|
159
96
|
enumerable: true,
|
|
160
97
|
get: function () {
|
|
161
98
|
return SEARCH_OVERLAY_ENTRYPOINT_ID;
|
|
162
99
|
}
|
|
163
100
|
});
|
|
164
|
-
Object.defineProperty(exports, 'SEARCH_OVERLAY_HOST_TESTID', {
|
|
165
|
-
enumerable: true,
|
|
166
|
-
get: function () {
|
|
167
|
-
return SEARCH_OVERLAY_HOST_TESTID;
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
101
|
Object.defineProperty(exports, 'SEARCH_RESULTS_ENTRYPOINT_ID', {
|
|
171
102
|
enumerable: true,
|
|
172
103
|
get: function () {
|
|
173
104
|
return SEARCH_RESULTS_ENTRYPOINT_ID;
|
|
174
105
|
}
|
|
175
106
|
});
|
|
176
|
-
Object.defineProperty(exports, 'SEARCH_RESULTS_ENTRYPOINT_TESTID', {
|
|
177
|
-
enumerable: true,
|
|
178
|
-
get: function () {
|
|
179
|
-
return SEARCH_RESULTS_ENTRYPOINT_TESTID;
|
|
180
|
-
}
|
|
181
|
-
});
|
|
182
|
-
Object.defineProperty(exports, 'SEARCH_RESULTS_NO_OP_ENTRYPOINT_TESTID', {
|
|
183
|
-
enumerable: true,
|
|
184
|
-
get: function () {
|
|
185
|
-
return SEARCH_RESULTS_NO_OP_ENTRYPOINT_TESTID;
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
107
|
Object.defineProperty(exports, 'SEARCH_RESULTS_NO_OP_ID', {
|
|
189
108
|
enumerable: true,
|
|
190
109
|
get: function () {
|
|
@@ -208,16 +127,4 @@ Object.defineProperty(exports, 'TOP_SUGGESTION_BAR_PDP_ID', {
|
|
|
208
127
|
get: function () {
|
|
209
128
|
return TOP_SUGGESTION_BAR_PDP_ID;
|
|
210
129
|
}
|
|
211
|
-
});
|
|
212
|
-
Object.defineProperty(exports, 'TOP_SUGGESTION_BAR_PDP_TESTID', {
|
|
213
|
-
enumerable: true,
|
|
214
|
-
get: function () {
|
|
215
|
-
return TOP_SUGGESTION_BAR_PDP_TESTID;
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
Object.defineProperty(exports, 'TOP_SUGGESTION_BAR_TESTID', {
|
|
219
|
-
enumerable: true,
|
|
220
|
-
get: function () {
|
|
221
|
-
return TOP_SUGGESTION_BAR_TESTID;
|
|
222
|
-
}
|
|
223
130
|
});
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
require('./logger-Dln20ans.cjs');
|
|
2
|
-
require('./
|
|
3
|
-
const
|
|
2
|
+
require('./api-B2euFL-5.cjs');
|
|
3
|
+
const require_api$1 = require('./api-CxGedDxj.cjs');
|
|
4
|
+
const require_types = require('./types-BUjohkXp.cjs');
|
|
4
5
|
require('./enviveConfigContext-Dfr2VH6u.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
require('./atomStore-CeJm9Llb.cjs');
|
|
7
|
+
require('./customerService-DqPw_XKf.cjs');
|
|
8
|
+
require('./utilityTypes-C4h2wgAK.cjs');
|
|
9
|
+
require('./variantInfo-CNRTY0gH.cjs');
|
|
10
|
+
require('./events-Da7gpmGv.cjs');
|
|
11
|
+
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
12
|
+
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
13
|
+
const require_cdnService = require('./cdnService-dJU3sHpF.cjs');
|
|
14
|
+
require('./chat-CCgyDehy.cjs');
|
|
15
|
+
require('./components-CScS7Ii-.cjs');
|
|
16
|
+
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
17
|
+
require('./locators-CUpyd9Wt.cjs');
|
|
18
|
+
const require_default = require('./default-BAXPatxf.cjs');
|
|
10
19
|
|
|
11
20
|
//#region src/merchants/dreamlandBaby/dreamlandBaby.ts
|
|
12
21
|
const dreamlandBabyColors = {
|
|
@@ -187,7 +196,7 @@ const dreamlandBabyPageConfig = () => ({
|
|
|
187
196
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
188
197
|
widgetConfigId: "topSuggestionsBar",
|
|
189
198
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
190
|
-
metricDisplayLocation:
|
|
199
|
+
metricDisplayLocation: require_api$1.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
191
200
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
192
201
|
variant: "secondary",
|
|
193
202
|
hoverVariant: "secondaryDark",
|
|
@@ -260,7 +269,7 @@ const dreamlandBabyPageConfig = () => ({
|
|
|
260
269
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
261
270
|
widgetConfigId: "bottomSuggestionsBar",
|
|
262
271
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
263
|
-
metricDisplayLocation:
|
|
272
|
+
metricDisplayLocation: require_api$1.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
264
273
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
265
274
|
variant: "dark",
|
|
266
275
|
hoverVariant: "secondaryDark",
|
|
@@ -277,21 +286,21 @@ const dreamlandBabyPageConfig = () => ({
|
|
|
277
286
|
chatPreviewPLP: {
|
|
278
287
|
mountingConfigId: "chatPreviewPLP",
|
|
279
288
|
containerId: require_divIds.CHAT_PREVIEW_CONTAINER_ID,
|
|
280
|
-
testId:
|
|
289
|
+
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
281
290
|
insertionPoint: {
|
|
282
291
|
selector: ".js-grid",
|
|
283
|
-
insertionType:
|
|
292
|
+
insertionType: require_api$1.DOMInsertionType.AFTER
|
|
284
293
|
},
|
|
285
294
|
className: "is-plp",
|
|
286
|
-
gridInsertionType:
|
|
295
|
+
gridInsertionType: require_api$1.GridInsertionType.ROW_2
|
|
287
296
|
},
|
|
288
297
|
chatPreviewPDP: {
|
|
289
298
|
mountingConfigId: "chatPreviewPDP",
|
|
290
299
|
containerId: require_divIds.CHAT_PREVIEW_CONTAINER_ID,
|
|
291
|
-
testId:
|
|
300
|
+
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
292
301
|
insertionPoint: {
|
|
293
302
|
selector: ".product-accordion",
|
|
294
|
-
insertionType:
|
|
303
|
+
insertionType: require_api$1.DOMInsertionType.BEFORE
|
|
295
304
|
},
|
|
296
305
|
style: {
|
|
297
306
|
width: "100%",
|
|
@@ -301,20 +310,20 @@ const dreamlandBabyPageConfig = () => ({
|
|
|
301
310
|
topSuggestionBarPDP: {
|
|
302
311
|
mountingConfigId: "topSuggestionBarPDP",
|
|
303
312
|
containerId: require_divIds.TOP_SUGGESTION_BAR_PDP_ID,
|
|
304
|
-
testId:
|
|
313
|
+
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
305
314
|
insertionPoint: {
|
|
306
315
|
selector: ".product__price__main",
|
|
307
|
-
insertionType:
|
|
316
|
+
insertionType: require_api$1.DOMInsertionType.AFTER
|
|
308
317
|
},
|
|
309
318
|
style: { marginTop: "16px" }
|
|
310
319
|
},
|
|
311
320
|
bottomSuggestionBarPDP: {
|
|
312
321
|
mountingConfigId: "bottomSuggestionBarPDP",
|
|
313
322
|
containerId: require_divIds.BOTTOM_REVIEWS_BAR_ID,
|
|
314
|
-
testId:
|
|
323
|
+
testId: require_embedded.BOTTOM_SUGGESTION_BAR_TESTID,
|
|
315
324
|
insertionPoint: {
|
|
316
325
|
selector: ".oke-w-header-content",
|
|
317
|
-
insertionType:
|
|
326
|
+
insertionType: require_api$1.DOMInsertionType.AFTER
|
|
318
327
|
},
|
|
319
328
|
style: {
|
|
320
329
|
marginTop: "8px",
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import "./logger-pdEEY8T2.js";
|
|
2
|
-
import "./
|
|
3
|
-
import {
|
|
2
|
+
import "./api-XRr_lAG6.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./api-NJEaveju.js";
|
|
4
|
+
import { ColorNames, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-BVsTRyxL.js";
|
|
4
5
|
import "./enviveConfigContext-CUGLpPGU.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
6
|
+
import "./atomStore-BFtpknLM.js";
|
|
7
|
+
import "./customerService-CUyZzowx.js";
|
|
8
|
+
import "./utilityTypes-BVikejDo.js";
|
|
9
|
+
import "./variantInfo-CzhR5W6h.js";
|
|
10
|
+
import "./events-ClCDFK7t.js";
|
|
11
|
+
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
|
+
import { BOTTOM_REVIEWS_BAR_ID, CHAT_PREVIEW_CONTAINER_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
+
import { CdnService } from "./cdnService-DvDSpfVJ.js";
|
|
14
|
+
import "./chat-Dk6KPb1K.js";
|
|
15
|
+
import "./components-DAQxVIn9.js";
|
|
16
|
+
import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
|
+
import "./locators-C2DX_nX6.js";
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-wf_IORgo.js";
|
|
10
19
|
|
|
11
20
|
//#region src/merchants/dreamlandBaby/dreamlandBaby.ts
|
|
12
21
|
const dreamlandBabyColors = {
|