@envive-ai/react-hooks 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/amplitude/index.cjs +13 -13
- package/dist/adapters/amplitude/index.js +10 -10
- package/dist/{api-B2euFL-5.cjs → api-BtzLHcfU.cjs} +27 -27
- package/dist/{api-XRr_lAG6.js → api-kpPTZhV9.js} +27 -27
- package/dist/application/config/index.cjs +1 -1
- package/dist/application/config/index.js +1 -1
- package/dist/application/models/graphql/index.cjs +12 -12
- package/dist/application/models/graphql/index.js +10 -10
- package/dist/application/models/guards/api/index.cjs +2 -2
- package/dist/application/models/guards/api/index.js +2 -2
- package/dist/application/models/index.cjs +54 -54
- package/dist/application/models/index.js +10 -10
- package/dist/application/models/utilityTypes/index.cjs +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.js +1 -1
- package/dist/application/service/customerService/index.cjs +2 -2
- package/dist/application/service/customerService/index.js +2 -2
- package/dist/application/service/index.cjs +82 -82
- package/dist/application/service/index.d.cts +1 -1
- package/dist/application/service/index.d.ts +1 -1
- package/dist/application/service/index.js +16 -16
- package/dist/application/utils/index.cjs +37 -37
- package/dist/application/utils/index.d.ts +1 -1
- package/dist/application/utils/index.js +10 -10
- package/dist/atoms/app/index.cjs +16 -16
- package/dist/atoms/app/index.d.cts +1 -1
- package/dist/atoms/app/index.d.ts +2 -2
- package/dist/atoms/app/index.js +10 -10
- package/dist/atoms/atomStore/index.cjs +1 -1
- package/dist/atoms/atomStore/index.js +1 -1
- package/dist/atoms/chat/index.cjs +40 -40
- package/dist/atoms/chat/index.d.cts +26 -26
- package/dist/atoms/chat/index.d.ts +28 -28
- package/dist/atoms/chat/index.js +10 -10
- package/dist/atoms/globalSearch/index.d.cts +5 -5
- package/dist/atoms/globalSearch/index.d.ts +5 -5
- package/dist/atoms/org/index.cjs +33 -33
- package/dist/atoms/org/index.d.cts +26 -26
- package/dist/atoms/org/index.d.ts +26 -26
- package/dist/atoms/org/index.js +11 -11
- package/dist/atoms/search/index.cjs +12 -12
- package/dist/atoms/search/index.d.cts +1 -1
- package/dist/atoms/search/index.d.ts +1 -1
- package/dist/atoms/search/index.js +12 -12
- package/dist/{bandolier-oMkFDJMF.cjs → bandolier-CQrxBHsk.cjs} +37 -37
- package/dist/{bandolier-C7PAIw02.js → bandolier-Di9DpZ8e.js} +12 -12
- package/dist/{carpe-C0ccKuR9.cjs → carpe-3NJOR-Rj.cjs} +23 -23
- package/dist/{carpe-DFc78_lJ.js → carpe-DmWKaIQq.js} +12 -12
- package/dist/{cdnService-DvDSpfVJ.js → cdnService-BNreZjqy.js} +1 -1
- package/dist/{cdnService-dJU3sHpF.cjs → cdnService-vLxePdrU.cjs} +1 -1
- package/dist/{api-CxGedDxj.cjs → chat-CCQMmhc1.cjs} +2807 -2807
- package/dist/{api-NJEaveju.js → chat-H6YcCS4I.js} +2774 -2774
- package/dist/contexts/index.cjs +19 -19
- package/dist/contexts/index.d.cts +3 -3
- package/dist/contexts/index.js +14 -14
- package/dist/{coterie-Cp9FAJTQ.cjs → coterie-D0UFsFC5.cjs} +17 -17
- package/dist/{coterie-BGT8hqFR.js → coterie-JblRmIZL.js} +12 -12
- package/dist/{customerService-CUyZzowx.js → customerService-C4wc0glQ.js} +1 -1
- package/dist/{customerService-DqPw_XKf.cjs → customerService-zsDlp7g2.cjs} +1 -1
- package/dist/default-C5ZTV8HA.cjs +4 -0
- package/dist/{default-wf_IORgo.js → default-DPv8m-eQ.js} +1 -1
- package/dist/{default-BAXPatxf.cjs → default-DRKBosow.cjs} +1 -1
- package/dist/default-ao0vRl0W.js +4 -0
- package/dist/{dreamlandBaby-DZvM81LQ.js → dreamlandBaby-CyS8oW8X.js} +12 -12
- package/dist/{dreamlandBaby-BzuMvUFS.cjs → dreamlandBaby-y7kSvwH2.cjs} +19 -19
- package/dist/events/index.cjs +1 -1
- package/dist/events/index.js +1 -1
- package/dist/{fiveCbd-DE-tDY3d.cjs → fiveCbd-CXVuIBiZ.cjs} +24 -24
- package/dist/{fiveCbd-HNBPqPtX.js → fiveCbd-Cyc3-Ab9.js} +12 -12
- package/dist/{forLoveAndLemons-BeVEBOiu.cjs → forLoveAndLemons-CxQS0USq.cjs} +14 -14
- package/dist/{forLoveAndLemons-BKmJJ9pq.js → forLoveAndLemons-D8mcgmdk.js} +12 -12
- package/dist/{greenpan-BX1viAZB.js → greenpan-JM6SHcqO.js} +12 -12
- package/dist/{greenpan-chd3aa5I.cjs → greenpan-eIzyxVsn.cjs} +21 -21
- package/dist/{grooveLife-CHot3rZw.js → grooveLife-BmsUc2cD.js} +12 -12
- package/dist/{grooveLife-DEob7rK0.cjs → grooveLife-KdTizVUn.cjs} +19 -19
- package/dist/{homegrownCannabis-CoIjcehi.cjs → homegrownCannabis-C0GDai4r.cjs} +18 -18
- package/dist/{homegrownCannabis-CwkS1qDA.js → homegrownCannabis-a9udocBT.js} +12 -12
- package/dist/hooks/index.cjs +36 -36
- package/dist/hooks/index.d.cts +7 -7
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/index.js +14 -14
- package/dist/{contexts-iAzSvZjb.cjs → hooks-DjOa7ihH.cjs} +195 -195
- package/dist/{contexts-DO75-Kmx.js → hooks-fneW8SWw.js} +93 -93
- package/dist/{index-BkhvV8RZ.d.cts → index-BQErGgfM.d.cts} +29 -29
- package/dist/{index-CzMrMKx-.d.ts → index-CnqHN_jz.d.ts} +29 -29
- package/dist/interceptors/index.cjs +11 -11
- package/dist/interceptors/index.js +11 -11
- package/dist/{jackArcher-bewC0q1T.cjs → jackArcher-B6OJ0N3a.cjs} +25 -25
- package/dist/{jackArcher-BA-pkB4A.js → jackArcher-B9fe4Hv8.js} +12 -12
- package/dist/{jordanCraig-B5k9nlAw.cjs → jordanCraig-0CB_m_ts.cjs} +65 -65
- package/dist/{jordanCraig-BsQ1mYbt.js → jordanCraig-DNm1iw1L.js} +12 -12
- package/dist/{kindredBravely-BxYkCpGY.js → kindredBravely-CZgt7DJA.js} +12 -12
- package/dist/{kindredBravely-DsN0fo3s.cjs → kindredBravely-KvYPbckZ.cjs} +19 -19
- package/dist/{kutFromTheKloth-BQTCu3ct.cjs → kutFromTheKloth-BxgtWZs9.cjs} +19 -19
- package/dist/{kutFromTheKloth-bukOQM3P.js → kutFromTheKloth-SmteSZjk.js} +12 -12
- package/dist/{larryAndSerges-bj7fgy9b.cjs → larryAndSerges-6O_u3L90.cjs} +15 -15
- package/dist/{larryAndSerges-D1ecaT5a.js → larryAndSerges-DO-zG8ES.js} +11 -11
- package/dist/{leapsAndRebounds-DhNpZETg.js → leapsAndRebounds-BK62AmXw.js} +12 -12
- package/dist/{leapsAndRebounds-BfneG_0c.cjs → leapsAndRebounds-gPsWVUmQ.cjs} +20 -20
- package/dist/{longevityrx-D0goIuX0.cjs → longevityrx-DjKbwJo3.cjs} +17 -17
- package/dist/{longevityrx-CnoGcw0w.js → longevityrx-eq5TeUcy.js} +12 -12
- package/dist/{lookOptic-C4afLPZP.cjs → lookOptic-BPPqms_j.cjs} +17 -17
- package/dist/{lookOptic-uJWIKpER.js → lookOptic-jRpBXQCN.js} +12 -12
- package/dist/{mantraBrand-DuwKHM26.js → mantraBrand-BZOZfkUK.js} +12 -12
- package/dist/{mantraBrand-8JUlYtCE.cjs → mantraBrand-Cp8zptkj.cjs} +30 -30
- package/dist/{medterra-DH067P-V.cjs → medterra-BHYCBgvQ.cjs} +27 -27
- package/dist/{medterra-BQec8rzn.js → medterra-CShe6CLY.js} +12 -12
- package/dist/{modells-DUFnLmAz.cjs → modells-DE7-gmjK.cjs} +23 -23
- package/dist/{modells-DAgLE2xo.js → modells-DFyJxNwT.js} +12 -12
- package/dist/{org-CnHL2I9B.cjs → org-Bkn6fl6I.cjs} +22 -22
- package/dist/{org-C11APG3v.js → org-CX8HFbc9.js} +20 -20
- package/dist/{pressedFloral-DVZVfOSQ.cjs → pressedFloral-BMkCVs8c.cjs} +26 -26
- package/dist/{pressedFloral-MdbuoRyA.js → pressedFloral-aK9br-LF.js} +12 -12
- package/dist/{search-bSYdOBhY.cjs → search-DtIFZeMA.cjs} +28 -28
- package/dist/{search-CvHb1M3S.js → search-eWwg8pNn.js} +5 -5
- package/dist/{search-filter-types-BsJjrxk0.d.ts → search-filter-types-ByJnFPc4.d.cts} +8 -8
- package/dist/{search-filter-types-CqaGK3nM.d.cts → search-filter-types-DPgeG8FS.d.ts} +8 -8
- package/dist/{skinPerfection-bGiYxq1i.js → skinPerfection-B9G6yLM2.js} +12 -12
- package/dist/{skinPerfection-BcEWICQN.cjs → skinPerfection-BBC1q65Z.cjs} +17 -17
- package/dist/{snapSupplements-BXSXTjqF.cjs → snapSupplements-D7hx6Kgj.cjs} +17 -17
- package/dist/{snapSupplements-D7hHhdC9.js → snapSupplements-DKvJl__T.js} +12 -12
- package/dist/{spanx-lUzP6Lva.cjs → spanx-D-ZKkxjM.cjs} +20 -20
- package/dist/{spanx-5-0yX3iK.js → spanx-yl7YfVrf.js} +12 -12
- package/dist/{spanxStaging-hreMR0MS.cjs → spanxStaging-CXeIg6zI.cjs} +26 -26
- package/dist/{spanxStaging-HglCMJag.js → spanxStaging-DzGXL9wD.js} +12 -12
- package/dist/{supergoop-CkjtuRck.cjs → supergoop-CSpDPOpl.cjs} +18 -18
- package/dist/{supergoop-C9DDT3lY.js → supergoop-D0UkuRiA.js} +11 -11
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{types-BVsTRyxL.js → types-C3S1H4hl.js} +33 -33
- package/dist/{types-BUjohkXp.cjs → types-lcjuhDBt.cjs} +33 -33
- package/dist/{uniqueVintage-DIMGtYAU.cjs → uniqueVintage-DygVpCqU.cjs} +36 -36
- package/dist/{uniqueVintage-DPWA5Ed6.js → uniqueVintage-_n0FZFVj.js} +12 -12
- package/dist/{useMessageInterceptor-C2RZM-fo.js → useMessageInterceptor-BP6gzo8a.js} +3 -3
- package/dist/{useMessageInterceptor-B-P_rw73.cjs → useMessageInterceptor-BnUG2Pzt.cjs} +9 -9
- package/dist/{variant-XITncuI3.d.ts → variant-DH4zusMi.d.cts} +1 -1
- package/dist/{variant-BGjOVpY3.d.cts → variant-DTEqSBHd.d.ts} +3 -3
- package/dist/{venaCbd-B-znfAsl.js → venaCbd-BS0dvdBm.js} +12 -12
- package/dist/{venaCbd-BOwOtpOz.cjs → venaCbd-Pqg0bj-P.cjs} +21 -21
- package/dist/{westonJonBoucher-DCRagGu3.js → westonJonBoucher-CLw8Hy6u.js} +12 -12
- package/dist/{westonJonBoucher-CraTzRVt.cjs → westonJonBoucher-CeA0jwxe.cjs} +20 -20
- package/dist/{wineEnthusiast-Bv7umajk.js → wineEnthusiast-M9P18d1w.js} +12 -12
- package/dist/{wineEnthusiast-sVuATrq6.cjs → wineEnthusiast-gHBaQMbe.cjs} +20 -20
- package/dist/{wolfMattress-BUH-Rhov.js → wolfMattress-BQHjoQYu.js} +12 -12
- package/dist/{wolfMattress-DpVHIEnJ.cjs → wolfMattress-CdmN-Evm.cjs} +19 -19
- package/dist/{wolfTactical-Q14A1fpw.js → wolfTactical-Cc2ZLBRh.js} +12 -12
- package/dist/{wolfTactical-BcvF_sy-.cjs → wolfTactical-dObnPgAG.cjs} +20 -20
- package/package.json +1 -1
- package/src/contexts/systemSettingsContext.tsx +21 -8
- package/src/hooks/useSearch.tsx +6 -3
- package/src/types/search-filter-types.ts +7 -7
- package/dist/default-BR3225LZ.js +0 -4
- package/dist/default-DR6YjE9B.cjs +0 -4
- /package/dist/{atomStore-CeJm9Llb.cjs → atomStore-BNQyGmU_.cjs} +0 -0
- /package/dist/{atomStore-BFtpknLM.js → atomStore-TnLPtYns.js} +0 -0
- /package/dist/{enviveConfigContext-Dfr2VH6u.cjs → enviveConfigContext-Bs8kepnO.cjs} +0 -0
- /package/dist/{enviveConfigContext-CUGLpPGU.js → enviveConfigContext-CWVdVWKW.js} +0 -0
- /package/dist/{events-ClCDFK7t.js → events-DgFzlVJR.js} +0 -0
- /package/dist/{events-Da7gpmGv.cjs → events-bH-24eRW.cjs} +0 -0
- /package/dist/{logger-Dln20ans.cjs → logger-Be0NyKaY.cjs} +0 -0
- /package/dist/{logger-pdEEY8T2.js → logger-BexDfK3W.js} +0 -0
- /package/dist/{utilityTypes-C4h2wgAK.cjs → utilityTypes-DMdsI0DG.cjs} +0 -0
- /package/dist/{utilityTypes-BVikejDo.js → utilityTypes-UWdNHElu.js} +0 -0
- /package/dist/{variantInfo-CzhR5W6h.js → variantInfo-BTvC6CQh.js} +0 -0
- /package/dist/{variantInfo-CNRTY0gH.cjs → variantInfo-Cz2YXraO.cjs} +0 -0
|
@@ -65,39 +65,39 @@ const OrgShortName = {
|
|
|
65
65
|
//#region src/application/models/supportedOrgs.ts
|
|
66
66
|
const getOrgInfo = async (orgShortName) => {
|
|
67
67
|
switch (orgShortName) {
|
|
68
|
-
case OrgShortName.Bandolier: return Promise.resolve().then(() => require("./bandolier-
|
|
69
|
-
case OrgShortName.Carpe: return Promise.resolve().then(() => require("./carpe-
|
|
70
|
-
case OrgShortName.Coterie: return Promise.resolve().then(() => require("./coterie-
|
|
71
|
-
case OrgShortName.DreamlandBaby: return Promise.resolve().then(() => require("./dreamlandBaby-
|
|
72
|
-
case OrgShortName.ForLoveAndLemons: return Promise.resolve().then(() => require("./forLoveAndLemons-
|
|
73
|
-
case OrgShortName.Greenpan: return Promise.resolve().then(() => require("./greenpan-
|
|
74
|
-
case OrgShortName.GrooveLife: return Promise.resolve().then(() => require("./grooveLife-
|
|
75
|
-
case OrgShortName.JackArcher: return Promise.resolve().then(() => require("./jackArcher-
|
|
76
|
-
case OrgShortName.JordanCraig: return Promise.resolve().then(() => require("./jordanCraig-
|
|
77
|
-
case OrgShortName.KutFromTheKloth: return Promise.resolve().then(() => require("./kutFromTheKloth-
|
|
78
|
-
case OrgShortName.LarryAndSerges: return Promise.resolve().then(() => require("./larryAndSerges-
|
|
79
|
-
case OrgShortName.LeapsAndRebounds: return Promise.resolve().then(() => require("./leapsAndRebounds-
|
|
80
|
-
case OrgShortName.MantraBrand: return Promise.resolve().then(() => require("./mantraBrand-
|
|
81
|
-
case OrgShortName.Spanx: return Promise.resolve().then(() => require("./spanx-
|
|
82
|
-
case OrgShortName.SpanxStaging: return Promise.resolve().then(() => require("./spanxStaging-
|
|
83
|
-
case OrgShortName.Supergoop: return Promise.resolve().then(() => require("./supergoop-
|
|
84
|
-
case OrgShortName.UniqueVintage: return Promise.resolve().then(() => require("./uniqueVintage-
|
|
85
|
-
case OrgShortName.WestonJonBoucher: return Promise.resolve().then(() => require("./westonJonBoucher-
|
|
86
|
-
case OrgShortName.WolfMattress: return Promise.resolve().then(() => require("./wolfMattress-
|
|
87
|
-
case OrgShortName.WolfTactical: return Promise.resolve().then(() => require("./wolfTactical-
|
|
88
|
-
case OrgShortName.SkinPerfection: return Promise.resolve().then(() => require("./skinPerfection-
|
|
89
|
-
case OrgShortName.LookOptic: return Promise.resolve().then(() => require("./lookOptic-
|
|
90
|
-
case OrgShortName.FiveCbd: return Promise.resolve().then(() => require("./fiveCbd-
|
|
91
|
-
case OrgShortName.SnapSupplements: return Promise.resolve().then(() => require("./snapSupplements-
|
|
92
|
-
case OrgShortName.Longevityrx: return Promise.resolve().then(() => require("./longevityrx-
|
|
93
|
-
case OrgShortName.VenaCbd: return Promise.resolve().then(() => require("./venaCbd-
|
|
94
|
-
case OrgShortName.Medterra: return Promise.resolve().then(() => require("./medterra-
|
|
95
|
-
case OrgShortName.Modells: return Promise.resolve().then(() => require("./modells-
|
|
96
|
-
case OrgShortName.PressedFloral: return Promise.resolve().then(() => require("./pressedFloral-
|
|
97
|
-
case OrgShortName.KindredBravely: return Promise.resolve().then(() => require("./kindredBravely-
|
|
98
|
-
case OrgShortName.WineEnthusiast: return Promise.resolve().then(() => require("./wineEnthusiast-
|
|
99
|
-
case OrgShortName.HomegrownCannabis: return Promise.resolve().then(() => require("./homegrownCannabis-
|
|
100
|
-
default: return Promise.resolve().then(() => require("./default-
|
|
68
|
+
case OrgShortName.Bandolier: return Promise.resolve().then(() => require("./bandolier-CQrxBHsk.cjs")).then((module$1) => module$1.bandolierOrgInfo);
|
|
69
|
+
case OrgShortName.Carpe: return Promise.resolve().then(() => require("./carpe-3NJOR-Rj.cjs")).then((module$1) => module$1.carpeOrgInfo);
|
|
70
|
+
case OrgShortName.Coterie: return Promise.resolve().then(() => require("./coterie-D0UFsFC5.cjs")).then((module$1) => module$1.coterieOrgInfo);
|
|
71
|
+
case OrgShortName.DreamlandBaby: return Promise.resolve().then(() => require("./dreamlandBaby-y7kSvwH2.cjs")).then((module$1) => module$1.dreamlandBabyOrgInfo);
|
|
72
|
+
case OrgShortName.ForLoveAndLemons: return Promise.resolve().then(() => require("./forLoveAndLemons-CxQS0USq.cjs")).then((module$1) => module$1.forLoveAndLemonsOrgInfo);
|
|
73
|
+
case OrgShortName.Greenpan: return Promise.resolve().then(() => require("./greenpan-eIzyxVsn.cjs")).then((module$1) => module$1.greenpanOrgInfo);
|
|
74
|
+
case OrgShortName.GrooveLife: return Promise.resolve().then(() => require("./grooveLife-KdTizVUn.cjs")).then((module$1) => module$1.grooveLifeOrgInfo);
|
|
75
|
+
case OrgShortName.JackArcher: return Promise.resolve().then(() => require("./jackArcher-B6OJ0N3a.cjs")).then((module$1) => module$1.jackArcherOrgInfo);
|
|
76
|
+
case OrgShortName.JordanCraig: return Promise.resolve().then(() => require("./jordanCraig-0CB_m_ts.cjs")).then((module$1) => module$1.jordanCraigOrgInfo);
|
|
77
|
+
case OrgShortName.KutFromTheKloth: return Promise.resolve().then(() => require("./kutFromTheKloth-BxgtWZs9.cjs")).then((module$1) => module$1.kutFromTheKlothOrgInfo);
|
|
78
|
+
case OrgShortName.LarryAndSerges: return Promise.resolve().then(() => require("./larryAndSerges-6O_u3L90.cjs")).then((module$1) => module$1.larryAndSergesOrgInfo);
|
|
79
|
+
case OrgShortName.LeapsAndRebounds: return Promise.resolve().then(() => require("./leapsAndRebounds-gPsWVUmQ.cjs")).then((module$1) => module$1.leapsAndReboundsOrgInfo);
|
|
80
|
+
case OrgShortName.MantraBrand: return Promise.resolve().then(() => require("./mantraBrand-Cp8zptkj.cjs")).then((module$1) => module$1.mantraBrandOrgInfo);
|
|
81
|
+
case OrgShortName.Spanx: return Promise.resolve().then(() => require("./spanx-D-ZKkxjM.cjs")).then((module$1) => module$1.spanxOrgInfo);
|
|
82
|
+
case OrgShortName.SpanxStaging: return Promise.resolve().then(() => require("./spanxStaging-CXeIg6zI.cjs")).then((module$1) => module$1.spanxOrgInfo);
|
|
83
|
+
case OrgShortName.Supergoop: return Promise.resolve().then(() => require("./supergoop-CSpDPOpl.cjs")).then((module$1) => module$1.supergoopOrgInfo);
|
|
84
|
+
case OrgShortName.UniqueVintage: return Promise.resolve().then(() => require("./uniqueVintage-DygVpCqU.cjs")).then((module$1) => module$1.uniqueVintageOrgInfo);
|
|
85
|
+
case OrgShortName.WestonJonBoucher: return Promise.resolve().then(() => require("./westonJonBoucher-CeA0jwxe.cjs")).then((module$1) => module$1.westonJonBoucherOrgInfo);
|
|
86
|
+
case OrgShortName.WolfMattress: return Promise.resolve().then(() => require("./wolfMattress-CdmN-Evm.cjs")).then((module$1) => module$1.wolfMattressOrgInfo);
|
|
87
|
+
case OrgShortName.WolfTactical: return Promise.resolve().then(() => require("./wolfTactical-dObnPgAG.cjs")).then((module$1) => module$1.wolfTacticalOrgInfo);
|
|
88
|
+
case OrgShortName.SkinPerfection: return Promise.resolve().then(() => require("./skinPerfection-BBC1q65Z.cjs")).then((module$1) => module$1.skinPerfectionOrgInfo);
|
|
89
|
+
case OrgShortName.LookOptic: return Promise.resolve().then(() => require("./lookOptic-BPPqms_j.cjs")).then((module$1) => module$1.lookOpticOrgInfo);
|
|
90
|
+
case OrgShortName.FiveCbd: return Promise.resolve().then(() => require("./fiveCbd-CXVuIBiZ.cjs")).then((module$1) => module$1.fiveCbdOrgInfo);
|
|
91
|
+
case OrgShortName.SnapSupplements: return Promise.resolve().then(() => require("./snapSupplements-D7hx6Kgj.cjs")).then((module$1) => module$1.snapSupplementsOrgInfo);
|
|
92
|
+
case OrgShortName.Longevityrx: return Promise.resolve().then(() => require("./longevityrx-DjKbwJo3.cjs")).then((module$1) => module$1.longevityrxOrgInfo);
|
|
93
|
+
case OrgShortName.VenaCbd: return Promise.resolve().then(() => require("./venaCbd-Pqg0bj-P.cjs")).then((module$1) => module$1.venaCbdOrgInfo);
|
|
94
|
+
case OrgShortName.Medterra: return Promise.resolve().then(() => require("./medterra-BHYCBgvQ.cjs")).then((module$1) => module$1.medterraOrgInfo);
|
|
95
|
+
case OrgShortName.Modells: return Promise.resolve().then(() => require("./modells-DE7-gmjK.cjs")).then((module$1) => module$1.modellsOrgInfo);
|
|
96
|
+
case OrgShortName.PressedFloral: return Promise.resolve().then(() => require("./pressedFloral-BMkCVs8c.cjs")).then((module$1) => module$1.pressedFloralOrgInfo);
|
|
97
|
+
case OrgShortName.KindredBravely: return Promise.resolve().then(() => require("./kindredBravely-KvYPbckZ.cjs")).then((module$1) => module$1.kindredBravelyOrgInfo);
|
|
98
|
+
case OrgShortName.WineEnthusiast: return Promise.resolve().then(() => require("./wineEnthusiast-gHBaQMbe.cjs")).then((module$1) => module$1.wineEnthusiastOrgInfo);
|
|
99
|
+
case OrgShortName.HomegrownCannabis: return Promise.resolve().then(() => require("./homegrownCannabis-C0GDai4r.cjs")).then((module$1) => module$1.homegrownCannabisOrgInfo);
|
|
100
|
+
default: return Promise.resolve().then(() => require("./default-C5ZTV8HA.cjs")).then((module$1) => module$1.defaultOrgInfo);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
103
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
require('./
|
|
3
|
-
require('./
|
|
4
|
-
const
|
|
5
|
-
const require_types = require('./types-
|
|
6
|
-
require('./enviveConfigContext-
|
|
7
|
-
require('./atomStore-
|
|
8
|
-
require('./
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
11
|
-
require('./
|
|
2
|
+
require('./events-bH-24eRW.cjs');
|
|
3
|
+
require('./logger-Be0NyKaY.cjs');
|
|
4
|
+
const require_chat = require('./chat-CCQMmhc1.cjs');
|
|
5
|
+
const require_types = require('./types-lcjuhDBt.cjs');
|
|
6
|
+
require('./enviveConfigContext-Bs8kepnO.cjs');
|
|
7
|
+
require('./atomStore-BNQyGmU_.cjs');
|
|
8
|
+
require('./api-BtzLHcfU.cjs');
|
|
9
|
+
require('./customerService-zsDlp7g2.cjs');
|
|
10
|
+
require('./utilityTypes-DMdsI0DG.cjs');
|
|
11
|
+
require('./variantInfo-Cz2YXraO.cjs');
|
|
12
12
|
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
13
13
|
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
14
|
-
const require_cdnService = require('./cdnService-
|
|
14
|
+
const require_cdnService = require('./cdnService-vLxePdrU.cjs');
|
|
15
15
|
require('./chat-CCgyDehy.cjs');
|
|
16
16
|
require('./components-CScS7Ii-.cjs');
|
|
17
17
|
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
18
18
|
require('./locators-CUpyd9Wt.cjs');
|
|
19
|
-
const require_default = require('./default-
|
|
19
|
+
const require_default = require('./default-DRKBosow.cjs');
|
|
20
20
|
let __spiffy_ai_commerce_api_client = require("@spiffy-ai/commerce-api-client");
|
|
21
21
|
__spiffy_ai_commerce_api_client = require_chunk.__toESM(__spiffy_ai_commerce_api_client);
|
|
22
22
|
|
|
@@ -384,7 +384,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
384
384
|
variantType: "plp",
|
|
385
385
|
variantTests: [{ testType: require_types.PageVariantTestType.ShopifyPLP }, {
|
|
386
386
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
387
|
-
featureGate:
|
|
387
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
388
388
|
}],
|
|
389
389
|
plpIdExtractor: "shopify-collection-id",
|
|
390
390
|
widgetMounting: [
|
|
@@ -407,7 +407,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
407
407
|
variantType: "plp",
|
|
408
408
|
variantTests: [{
|
|
409
409
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
410
|
-
featureGate:
|
|
410
|
+
featureGate: require_chat.FeatureGates.IsNewFeatureEnabled
|
|
411
411
|
}, { testType: require_types.PageVariantTestType.ShopifyPLP }],
|
|
412
412
|
plpIdExtractor: "shopify-collection-id",
|
|
413
413
|
widgetMounting: [{
|
|
@@ -440,7 +440,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
443
|
-
featureGate:
|
|
443
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
444
444
|
}
|
|
445
445
|
],
|
|
446
446
|
productIdExtractor: "shopify-product-id",
|
|
@@ -478,7 +478,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
481
|
-
featureGate:
|
|
481
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
482
482
|
}
|
|
483
483
|
],
|
|
484
484
|
productIdExtractor: "shopify-product-id",
|
|
@@ -520,7 +520,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
520
520
|
},
|
|
521
521
|
{
|
|
522
522
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
523
|
-
featureGate:
|
|
523
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
524
524
|
}
|
|
525
525
|
],
|
|
526
526
|
productIdExtractor: "shopify-product-id",
|
|
@@ -558,7 +558,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
560
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
561
|
-
featureGate:
|
|
561
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
562
562
|
}
|
|
563
563
|
],
|
|
564
564
|
productIdExtractor: "shopify-product-id",
|
|
@@ -600,7 +600,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
600
600
|
},
|
|
601
601
|
{
|
|
602
602
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
603
|
-
featureGate:
|
|
603
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
604
604
|
}
|
|
605
605
|
],
|
|
606
606
|
productIdExtractor: "shopify-product-id",
|
|
@@ -638,7 +638,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
638
638
|
},
|
|
639
639
|
{
|
|
640
640
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
641
|
-
featureGate:
|
|
641
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
642
642
|
}
|
|
643
643
|
],
|
|
644
644
|
productIdExtractor: "shopify-product-id",
|
|
@@ -670,7 +670,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
670
670
|
variantType: "pdp",
|
|
671
671
|
variantTests: [{ testType: require_types.PageVariantTestType.ShopifyPDP }, {
|
|
672
672
|
testType: require_types.PageVariantTestType.FeatureGate,
|
|
673
|
-
featureGate:
|
|
673
|
+
featureGate: require_chat.FeatureGates.IsGlobalSearchEnabled
|
|
674
674
|
}],
|
|
675
675
|
productIdExtractor: "shopify-product-id",
|
|
676
676
|
widgetMounting: [
|
|
@@ -924,7 +924,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
924
924
|
widgetConfigId: "topSuggestionsBar",
|
|
925
925
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
926
926
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
927
|
-
metricDisplayLocation:
|
|
927
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
928
928
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
929
929
|
variant: "primary",
|
|
930
930
|
hoverVariant: "secondaryDark",
|
|
@@ -943,7 +943,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
943
943
|
widgetConfigId: "topSuggestionsBarDressesHasReviews",
|
|
944
944
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
945
945
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
946
|
-
metricDisplayLocation:
|
|
946
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
947
947
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
948
948
|
variant: "primary",
|
|
949
949
|
hoverVariant: "secondaryDark",
|
|
@@ -961,7 +961,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
961
961
|
widgetConfigId: "topSuggestionsBarDressesNoReviews",
|
|
962
962
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
963
963
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
964
|
-
metricDisplayLocation:
|
|
964
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
965
965
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
966
966
|
variant: "primary",
|
|
967
967
|
hoverVariant: "secondaryDark",
|
|
@@ -979,7 +979,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
979
979
|
widgetConfigId: "topSuggestionsBarSwimwearHasReviews",
|
|
980
980
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
981
981
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
982
|
-
metricDisplayLocation:
|
|
982
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
983
983
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
984
984
|
variant: "primary",
|
|
985
985
|
hoverVariant: "secondaryDark",
|
|
@@ -997,7 +997,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
997
997
|
widgetConfigId: "topSuggestionsBarSwimwearNoReviews",
|
|
998
998
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
999
999
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1000
|
-
metricDisplayLocation:
|
|
1000
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1001
1001
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1002
1002
|
variant: "primary",
|
|
1003
1003
|
hoverVariant: "secondaryDark",
|
|
@@ -1015,7 +1015,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1015
1015
|
widgetConfigId: "topSuggestionsBarShoesHasReviews",
|
|
1016
1016
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1017
1017
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1018
|
-
metricDisplayLocation:
|
|
1018
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1019
1019
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1020
1020
|
variant: "primary",
|
|
1021
1021
|
hoverVariant: "secondaryDark",
|
|
@@ -1033,7 +1033,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1033
1033
|
widgetConfigId: "topSuggestionsBarShoesNoReviews",
|
|
1034
1034
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
1035
1035
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1036
|
-
metricDisplayLocation:
|
|
1036
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
1037
1037
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
1038
1038
|
variant: "primary",
|
|
1039
1039
|
hoverVariant: "secondaryDark",
|
|
@@ -1096,7 +1096,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1096
1096
|
widgetConfigId: "bottomSuggestionsBar",
|
|
1097
1097
|
contentId: "spiffy-bottom-suggestion-bar-contents",
|
|
1098
1098
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
1099
|
-
metricDisplayLocation:
|
|
1099
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
|
|
1100
1100
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
|
|
1101
1101
|
variant: "dark",
|
|
1102
1102
|
hoverVariant: "secondaryDark",
|
|
@@ -1120,7 +1120,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1120
1120
|
testId: require_embedded.GLOBAL_SEARCH_ENTRYPOINT_TESTID,
|
|
1121
1121
|
insertionPoint: {
|
|
1122
1122
|
selector: ".header__search.header__search--desktop",
|
|
1123
|
-
insertionType:
|
|
1123
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
1124
1124
|
},
|
|
1125
1125
|
suppressionSelector: ".search-modal__content.search-modal__content-bottom",
|
|
1126
1126
|
className: "global-entry-desktop",
|
|
@@ -1136,7 +1136,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1136
1136
|
testId: require_embedded.GLOBAL_SEARCH_ENTRYPOINT_TESTID,
|
|
1137
1137
|
insertionPoint: {
|
|
1138
1138
|
selector: "sticky-header.header-wrapper:has(.mobile-search)",
|
|
1139
|
-
insertionType:
|
|
1139
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
1140
1140
|
},
|
|
1141
1141
|
suppressionSelector: ".mobile-search .search-modal__form",
|
|
1142
1142
|
className: "global-entry-mobile",
|
|
@@ -1153,9 +1153,9 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1153
1153
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
1154
1154
|
insertionPoint: {
|
|
1155
1155
|
selector: ".collection .product-grid",
|
|
1156
|
-
insertionType:
|
|
1156
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
1157
1157
|
},
|
|
1158
|
-
gridInsertionType:
|
|
1158
|
+
gridInsertionType: require_chat.GridInsertionType.ROW_2
|
|
1159
1159
|
},
|
|
1160
1160
|
chatPreviewPDP: {
|
|
1161
1161
|
mountingConfigId: "chatPreviewPDP",
|
|
@@ -1163,7 +1163,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1163
1163
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
1164
1164
|
insertionPoint: {
|
|
1165
1165
|
selector: ".product__accordion",
|
|
1166
|
-
insertionType:
|
|
1166
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
1167
1167
|
},
|
|
1168
1168
|
style: {
|
|
1169
1169
|
marginTop: "16px",
|
|
@@ -1176,7 +1176,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1176
1176
|
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
1177
1177
|
insertionPoint: {
|
|
1178
1178
|
selector: "div:has(> .main_price)",
|
|
1179
|
-
insertionType:
|
|
1179
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
1180
1180
|
},
|
|
1181
1181
|
style: {
|
|
1182
1182
|
marginTop: "16px",
|
|
@@ -1189,7 +1189,7 @@ const uniqueVintagePageConfig = () => ({
|
|
|
1189
1189
|
testId: require_embedded.BOTTOM_SUGGESTION_BAR_TESTID,
|
|
1190
1190
|
insertionPoint: {
|
|
1191
1191
|
selector: ".junip-product-review-summary-wrapper + div.junip-separator",
|
|
1192
|
-
insertionType:
|
|
1192
|
+
insertionType: require_chat.DOMInsertionType.ADJACENT_AFTER_END,
|
|
1193
1193
|
selectionIndex: 0
|
|
1194
1194
|
},
|
|
1195
1195
|
style: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { ChatElementDisplayLocation, DOMInsertionType, FeatureGates, GridInsertionType } from "./
|
|
4
|
-
import { CategoryExtractorType, ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-
|
|
5
|
-
import "./enviveConfigContext-
|
|
6
|
-
import "./atomStore-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, FeatureGates, GridInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { CategoryExtractorType, ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
11
|
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
12
|
import { BOTTOM_REVIEWS_BAR_ID, CHAT_PREVIEW_CONTAINER_ID, GLOBAL_SEARCH_ENTRYPOINT_ID, MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
-
import { CdnService } from "./cdnService-
|
|
13
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
14
14
|
import "./chat-Dk6KPb1K.js";
|
|
15
15
|
import "./components-DAQxVIn9.js";
|
|
16
16
|
import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, GLOBAL_SEARCH_ENTRYPOINT_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
17
|
import "./locators-C2DX_nX6.js";
|
|
18
|
-
import { defaultOrgUIConfig } from "./default-
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
19
19
|
import { PageVisitCategory } from "@spiffy-ai/commerce-api-client";
|
|
20
20
|
|
|
21
21
|
//#region src/merchants/uniqueVintage/uniqueVintage.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { apiKeyAtom, endpointURLAtom, handleFormSubmittedAtom, orgCustomerServiceService } from "./
|
|
2
|
-
import { FormType, ResponseCategory } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
import { useAtomValue, useSetAtom } from "jotai";
|
|
1
|
+
import { apiKeyAtom, endpointURLAtom, handleFormSubmittedAtom, orgCustomerServiceService } from "./chat-H6YcCS4I.js";
|
|
4
2
|
import { useMemo } from "react";
|
|
3
|
+
import { useAtomValue, useSetAtom } from "jotai";
|
|
4
|
+
import { FormType, ResponseCategory } from "@spiffy-ai/commerce-api-client";
|
|
5
5
|
|
|
6
6
|
//#region src/interceptors/useFormEscalation.ts
|
|
7
7
|
const useFormEscalation = () => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CUT6urMc.cjs');
|
|
2
|
-
const
|
|
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
|
-
let jotai = require("jotai");
|
|
6
|
-
jotai = require_chunk.__toESM(jotai);
|
|
2
|
+
const require_chat = require('./chat-CCQMmhc1.cjs');
|
|
7
3
|
let react = require("react");
|
|
8
4
|
react = require_chunk.__toESM(react);
|
|
5
|
+
let jotai = require("jotai");
|
|
6
|
+
jotai = require_chunk.__toESM(jotai);
|
|
7
|
+
let __spiffy_ai_commerce_api_client = require("@spiffy-ai/commerce-api-client");
|
|
8
|
+
__spiffy_ai_commerce_api_client = require_chunk.__toESM(__spiffy_ai_commerce_api_client);
|
|
9
9
|
|
|
10
10
|
//#region src/interceptors/useFormEscalation.ts
|
|
11
11
|
const useFormEscalation = () => {
|
|
12
|
-
const handleFormSubmitted = (0, jotai.useSetAtom)(
|
|
13
|
-
const customerServiceIntegration = (0, jotai.useAtomValue)(
|
|
14
|
-
const apiKey = (0, jotai.useAtomValue)(
|
|
15
|
-
const apiEndpoint = (0, jotai.useAtomValue)(
|
|
12
|
+
const handleFormSubmitted = (0, jotai.useSetAtom)(require_chat.handleFormSubmittedAtom);
|
|
13
|
+
const customerServiceIntegration = (0, jotai.useAtomValue)(require_chat.orgCustomerServiceService);
|
|
14
|
+
const apiKey = (0, jotai.useAtomValue)(require_chat.apiKeyAtom);
|
|
15
|
+
const apiEndpoint = (0, jotai.useAtomValue)(require_chat.endpointURLAtom);
|
|
16
16
|
const blockExecution = () => true;
|
|
17
17
|
const execute = async (response) => {
|
|
18
18
|
if (response.category === __spiffy_ai_commerce_api_client.ResponseCategory.Form && response.attributes.formCategory?.formType === __spiffy_ai_commerce_api_client.FormType.Escalation) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { VariantInfo } from "./index-
|
|
1
|
+
import { VariantInfo } from "./index-Cqg6ltII.js";
|
|
2
|
+
import * as jotai62 from "jotai";
|
|
2
3
|
import { PageVisitCategory, SupportedEventResponse } from "@spiffy-ai/commerce-api-client";
|
|
3
|
-
import * as jotai33 from "jotai";
|
|
4
4
|
|
|
5
5
|
//#region src/atoms/app/variant.d.ts
|
|
6
6
|
interface SupportedEvent extends Pick<SupportedEventResponse, "supported" | "ready" | "category" | "collections" | "top_category"> {
|
|
7
7
|
numberOfReviews: number | undefined;
|
|
8
8
|
merchant_tags?: string[];
|
|
9
9
|
}
|
|
10
|
-
declare const variantInfoAtom:
|
|
10
|
+
declare const variantInfoAtom: jotai62.WritableAtom<VariantInfo, [newVariant: VariantInfo], void>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { SupportedEvent, variantInfoAtom };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./
|
|
4
|
-
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-
|
|
5
|
-
import "./enviveConfigContext-
|
|
6
|
-
import "./atomStore-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType, colorVar } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
11
|
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
12
|
import { CHAT_PREVIEW_CONTAINER_ID, TOP_SUGGESTION_BAR_PDP_ID } from "./divIds-BWvq-i6I.js";
|
|
13
|
-
import { CdnService } from "./cdnService-
|
|
13
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
14
14
|
import "./chat-Dk6KPb1K.js";
|
|
15
15
|
import "./components-DAQxVIn9.js";
|
|
16
16
|
import { CHAT_PREVIEW_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
17
|
import "./locators-C2DX_nX6.js";
|
|
18
|
-
import { defaultOrgUIConfig } from "./default-
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
19
19
|
|
|
20
20
|
//#region src/merchants/venaCbd/venaCbd.ts
|
|
21
21
|
const venaCbdColors = {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
require('./
|
|
2
|
-
require('./
|
|
3
|
-
const
|
|
4
|
-
const require_types = require('./types-
|
|
5
|
-
require('./enviveConfigContext-
|
|
6
|
-
require('./atomStore-
|
|
7
|
-
require('./
|
|
8
|
-
require('./
|
|
9
|
-
require('./
|
|
10
|
-
require('./
|
|
1
|
+
require('./events-bH-24eRW.cjs');
|
|
2
|
+
require('./logger-Be0NyKaY.cjs');
|
|
3
|
+
const require_chat = require('./chat-CCQMmhc1.cjs');
|
|
4
|
+
const require_types = require('./types-lcjuhDBt.cjs');
|
|
5
|
+
require('./enviveConfigContext-Bs8kepnO.cjs');
|
|
6
|
+
require('./atomStore-BNQyGmU_.cjs');
|
|
7
|
+
require('./api-BtzLHcfU.cjs');
|
|
8
|
+
require('./customerService-zsDlp7g2.cjs');
|
|
9
|
+
require('./utilityTypes-DMdsI0DG.cjs');
|
|
10
|
+
require('./variantInfo-Cz2YXraO.cjs');
|
|
11
11
|
const require_suggestionBarV2_types = require('./suggestionBarV2-types-DG3Ekk44.cjs');
|
|
12
12
|
const require_divIds = require('./divIds-CFyAjjp3.cjs');
|
|
13
|
-
const require_cdnService = require('./cdnService-
|
|
13
|
+
const require_cdnService = require('./cdnService-vLxePdrU.cjs');
|
|
14
14
|
require('./chat-CCgyDehy.cjs');
|
|
15
15
|
require('./components-CScS7Ii-.cjs');
|
|
16
16
|
const require_embedded = require('./embedded-BlXJUbik.cjs');
|
|
17
17
|
require('./locators-CUpyd9Wt.cjs');
|
|
18
|
-
const require_default = require('./default-
|
|
18
|
+
const require_default = require('./default-DRKBosow.cjs');
|
|
19
19
|
|
|
20
20
|
//#region src/merchants/venaCbd/venaCbd.ts
|
|
21
21
|
const venaCbdColors = {
|
|
@@ -185,7 +185,7 @@ const venaCbdPageConfig = () => ({
|
|
|
185
185
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
186
186
|
widgetConfigId: "topSuggestionsBar",
|
|
187
187
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
188
|
-
metricDisplayLocation:
|
|
188
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
189
189
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
190
190
|
variant: "darkAccent",
|
|
191
191
|
hoverVariant: "secondaryDark",
|
|
@@ -203,7 +203,7 @@ const venaCbdPageConfig = () => ({
|
|
|
203
203
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
204
204
|
widgetConfigId: "topSuggestionsBar",
|
|
205
205
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
206
|
-
metricDisplayLocation:
|
|
206
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
207
207
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
208
208
|
variant: "darkAccent",
|
|
209
209
|
hoverVariant: "secondaryDark",
|
|
@@ -221,7 +221,7 @@ const venaCbdPageConfig = () => ({
|
|
|
221
221
|
type: require_types.WidgetType.SuggestionBarV2,
|
|
222
222
|
widgetConfigId: "topSuggestionsBar",
|
|
223
223
|
contentId: "spiffy-top-suggestion-bar-contents",
|
|
224
|
-
metricDisplayLocation:
|
|
224
|
+
metricDisplayLocation: require_chat.ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
|
|
225
225
|
location: require_suggestionBarV2_types.SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
|
|
226
226
|
variant: "darkAccent",
|
|
227
227
|
hoverVariant: "secondaryDark",
|
|
@@ -301,9 +301,9 @@ const venaCbdPageConfig = () => ({
|
|
|
301
301
|
testId: `${require_embedded.CHAT_PREVIEW_TESTID}-desktop`,
|
|
302
302
|
insertionPoint: {
|
|
303
303
|
selector: ".product-grid",
|
|
304
|
-
insertionType:
|
|
304
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
305
305
|
},
|
|
306
|
-
gridInsertionType:
|
|
306
|
+
gridInsertionType: require_chat.GridInsertionType.FIXED_4,
|
|
307
307
|
style: {
|
|
308
308
|
display: "var(--chat-preview-plp-display-desktop)",
|
|
309
309
|
margin: "-24px auto -18px auto",
|
|
@@ -317,9 +317,9 @@ const venaCbdPageConfig = () => ({
|
|
|
317
317
|
testId: `${require_embedded.CHAT_PREVIEW_TESTID}-mobile`,
|
|
318
318
|
insertionPoint: {
|
|
319
319
|
selector: "#product-grid",
|
|
320
|
-
insertionType:
|
|
320
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
321
321
|
},
|
|
322
|
-
gridInsertionType:
|
|
322
|
+
gridInsertionType: require_chat.GridInsertionType.FIXED_2,
|
|
323
323
|
style: {
|
|
324
324
|
display: "var(--chat-preview-plp-display-mobile)",
|
|
325
325
|
margin: "-12px auto 0px auto",
|
|
@@ -333,7 +333,7 @@ const venaCbdPageConfig = () => ({
|
|
|
333
333
|
testId: require_embedded.CHAT_PREVIEW_TESTID,
|
|
334
334
|
insertionPoint: {
|
|
335
335
|
selector: ".logo-slider",
|
|
336
|
-
insertionType:
|
|
336
|
+
insertionType: require_chat.DOMInsertionType.BEFORE
|
|
337
337
|
},
|
|
338
338
|
style: {
|
|
339
339
|
maxWidth: "1200px",
|
|
@@ -346,7 +346,7 @@ const venaCbdPageConfig = () => ({
|
|
|
346
346
|
testId: require_embedded.TOP_SUGGESTION_BAR_TESTID,
|
|
347
347
|
insertionPoint: {
|
|
348
348
|
selector: ".tagline",
|
|
349
|
-
insertionType:
|
|
349
|
+
insertionType: require_chat.DOMInsertionType.AFTER
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./
|
|
4
|
-
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType } from "./types-
|
|
5
|
-
import "./enviveConfigContext-
|
|
6
|
-
import "./atomStore-
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
1
|
+
import "./events-DgFzlVJR.js";
|
|
2
|
+
import "./logger-BexDfK3W.js";
|
|
3
|
+
import { ChatElementDisplayLocation, DOMInsertionType, GridInsertionType } from "./chat-H6YcCS4I.js";
|
|
4
|
+
import { ColorNames, CustomerServiceIntegrationMode, CustomerServiceType, OrgShortName, PageVariantTestType, WidgetType } from "./types-C3S1H4hl.js";
|
|
5
|
+
import "./enviveConfigContext-CWVdVWKW.js";
|
|
6
|
+
import "./atomStore-TnLPtYns.js";
|
|
7
|
+
import "./api-kpPTZhV9.js";
|
|
8
|
+
import "./customerService-C4wc0glQ.js";
|
|
9
|
+
import "./utilityTypes-UWdNHElu.js";
|
|
10
|
+
import "./variantInfo-BTvC6CQh.js";
|
|
11
11
|
import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
|
|
12
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-
|
|
13
|
+
import { CdnService } from "./cdnService-BNreZjqy.js";
|
|
14
14
|
import "./chat-Dk6KPb1K.js";
|
|
15
15
|
import "./components-DAQxVIn9.js";
|
|
16
16
|
import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, TOP_SUGGESTION_BAR_PDP_TESTID } from "./embedded-C1jvFj3v.js";
|
|
17
17
|
import "./locators-C2DX_nX6.js";
|
|
18
|
-
import { defaultOrgUIConfig } from "./default-
|
|
18
|
+
import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
|
|
19
19
|
|
|
20
20
|
//#region src/merchants/westonJonBoucher/westonJonBoucher.ts
|
|
21
21
|
const westonJonBoucherColors = {
|