@envive-ai/react-hooks 0.1.3 → 0.1.5

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.
Files changed (439) hide show
  1. package/dist/adapters/amplitude/index.cjs +13 -13
  2. package/dist/adapters/amplitude/index.d.cts +5 -3
  3. package/dist/adapters/amplitude/index.d.ts +5 -3
  4. package/dist/adapters/amplitude/index.js +10 -10
  5. package/dist/api-B2euFL-5.cjs +269 -0
  6. package/dist/api-XRr_lAG6.js +190 -0
  7. package/dist/application/config/index.cjs +14 -5
  8. package/dist/application/config/index.d.cts +2 -1
  9. package/dist/application/config/index.d.ts +2 -1
  10. package/dist/application/config/index.js +14 -5
  11. package/dist/application/models/graphql/index.cjs +12 -12
  12. package/dist/application/models/graphql/index.d.cts +1 -1
  13. package/dist/application/models/graphql/index.d.ts +1 -1
  14. package/dist/application/models/graphql/index.js +10 -10
  15. package/dist/application/models/guards/api/index.cjs +2 -2
  16. package/dist/application/models/guards/api/index.d.cts +2 -2
  17. package/dist/application/models/guards/api/index.d.ts +2 -2
  18. package/dist/application/models/guards/api/index.js +2 -2
  19. package/dist/application/models/index.cjs +54 -54
  20. package/dist/application/models/index.d.cts +8 -9
  21. package/dist/application/models/index.d.ts +8 -9
  22. package/dist/application/models/index.js +10 -10
  23. package/dist/application/models/utilityTypes/index.cjs +1 -1
  24. package/dist/application/models/utilityTypes/index.d.cts +1 -1
  25. package/dist/application/models/utilityTypes/index.d.ts +1 -1
  26. package/dist/application/models/utilityTypes/index.js +1 -1
  27. package/dist/application/models/variantInfo/index.cjs +1 -1
  28. package/dist/application/models/variantInfo/index.d.cts +1 -1
  29. package/dist/application/models/variantInfo/index.d.ts +1 -1
  30. package/dist/application/models/variantInfo/index.js +1 -1
  31. package/dist/application/service/customerService/index.cjs +2 -2
  32. package/dist/application/service/customerService/index.d.cts +2 -2
  33. package/dist/application/service/customerService/index.d.ts +2 -2
  34. package/dist/application/service/customerService/index.js +2 -2
  35. package/dist/application/service/index.cjs +38 -757
  36. package/dist/application/service/index.d.cts +26 -20
  37. package/dist/application/service/index.d.ts +26 -20
  38. package/dist/application/service/index.js +12 -727
  39. package/dist/application/utils/index.cjs +37 -37
  40. package/dist/application/utils/index.d.cts +12 -12
  41. package/dist/application/utils/index.d.ts +14 -14
  42. package/dist/application/utils/index.js +10 -10
  43. package/dist/atomStore-B1cgmbP0.js +32 -0
  44. package/dist/atomStore-JwGb7pcy.cjs +58 -0
  45. package/dist/atomStore-ONYy0XuA.d.cts +24 -0
  46. package/dist/atomStore-kOKiEcNl.d.ts +24 -0
  47. package/dist/atoms/app/index.cjs +16 -16
  48. package/dist/atoms/app/index.d.cts +11 -11
  49. package/dist/atoms/app/index.d.ts +12 -12
  50. package/dist/atoms/app/index.js +10 -10
  51. package/dist/atoms/atomStore/index.cjs +1 -2
  52. package/dist/atoms/atomStore/index.d.cts +1 -22
  53. package/dist/atoms/atomStore/index.d.ts +1 -22
  54. package/dist/atoms/atomStore/index.js +1 -2
  55. package/dist/atoms/chat/index.cjs +40 -40
  56. package/dist/atoms/chat/index.d.cts +37 -37
  57. package/dist/atoms/chat/index.d.ts +38 -38
  58. package/dist/atoms/chat/index.js +10 -10
  59. package/dist/atoms/globalSearch/index.cjs +1 -1
  60. package/dist/atoms/globalSearch/index.d.cts +7 -6
  61. package/dist/atoms/globalSearch/index.d.ts +2 -1
  62. package/dist/atoms/globalSearch/index.js +1 -1
  63. package/dist/atoms/org/index.cjs +38 -40
  64. package/dist/atoms/org/index.d.cts +35 -53
  65. package/dist/atoms/org/index.d.ts +34 -52
  66. package/dist/atoms/org/index.js +11 -12
  67. package/dist/atoms/search/index.cjs +41 -43
  68. package/dist/atoms/search/index.d.cts +9 -10
  69. package/dist/atoms/search/index.d.ts +9 -10
  70. package/dist/atoms/search/index.js +10 -12
  71. package/dist/bandolier-Da4wt6sm.cjs +1230 -0
  72. package/dist/bandolier-DzEmYWcz.js +1230 -0
  73. package/dist/carpe-AXipz0Xl.cjs +608 -0
  74. package/dist/carpe-CaUKwcEa.js +606 -0
  75. package/dist/chat-CHmD79E1.js +26 -0
  76. package/dist/{chat-CCgyDehy.cjs → chat-_NzpO_Hn.cjs} +2 -1
  77. package/dist/{components-CScS7Ii-.cjs → components-D0XDRcaN.cjs} +2 -1
  78. package/dist/components-Dl-TMD9k.js +11 -0
  79. package/dist/config/locators/components/chat/index.cjs +1 -1
  80. package/dist/config/locators/components/chat/index.d.ts +1 -1
  81. package/dist/config/locators/components/chat/index.js +1 -1
  82. package/dist/config/locators/components/chat/variants/index.cjs +2 -1
  83. package/dist/config/locators/components/chat/variants/index.d.cts +2 -1
  84. package/dist/config/locators/components/chat/variants/index.d.ts +2 -1
  85. package/dist/config/locators/components/chat/variants/index.js +2 -1
  86. package/dist/config/locators/components/index.cjs +1 -1
  87. package/dist/config/locators/components/index.d.ts +1 -1
  88. package/dist/config/locators/components/index.js +1 -1
  89. package/dist/config/locators/components/search/index.cjs +2 -1
  90. package/dist/config/locators/components/search/index.d.cts +2 -1
  91. package/dist/config/locators/components/search/index.d.ts +2 -1
  92. package/dist/config/locators/components/search/index.js +2 -1
  93. package/dist/config/locators/index.cjs +4 -4
  94. package/dist/config/locators/index.d.cts +2 -1
  95. package/dist/config/locators/index.d.ts +4 -3
  96. package/dist/config/locators/index.js +4 -4
  97. package/dist/contexts/index.cjs +20 -23
  98. package/dist/contexts/index.d.cts +10 -59
  99. package/dist/contexts/index.d.ts +10 -59
  100. package/dist/contexts/index.js +11 -17
  101. package/dist/contexts-CtRlNXaS.js +7674 -0
  102. package/dist/contexts-CtgmnYNn.cjs +9088 -0
  103. package/dist/coterie--MGvWeVh.cjs +240 -0
  104. package/dist/coterie-oKHAT0lx.js +240 -0
  105. package/dist/customerService-BG1uNZZ1.cjs +36 -0
  106. package/dist/customerService-BHQRnLhC.js +23 -0
  107. package/dist/custservice-types-C8-9vKWb.cjs +35 -0
  108. package/dist/custservice-types-CamCiXjq.js +23 -0
  109. package/dist/default-B4fINY5_.cjs +4 -0
  110. package/dist/default-BrTQxA0c.js +4 -0
  111. package/dist/default-C3LrcbZB.cjs +199 -0
  112. package/dist/default-CXkYrLEr.js +176 -0
  113. package/dist/divIds-0Vj9g-fM.js +23 -0
  114. package/dist/{divIds-CFyAjjp3.cjs → divIds-CjceLRD9.cjs} +2 -1
  115. package/dist/dreamlandBaby-BEqt0eKF.js +347 -0
  116. package/dist/dreamlandBaby-DBDjEJCc.cjs +347 -0
  117. package/dist/{embedded-BlXJUbik.cjs → embedded-B5Wi9g0T.cjs} +2 -1
  118. package/dist/embedded-_cLpd6FK.js +23 -0
  119. package/dist/entrypoints-CNUvSgnk.js +7 -0
  120. package/dist/entrypoints-DM9Sm18O.cjs +19 -0
  121. package/dist/events/index.cjs +1 -1
  122. package/dist/events/index.d.cts +2 -1
  123. package/dist/events/index.d.ts +2 -1
  124. package/dist/events/index.js +1 -1
  125. package/dist/events-ClCDFK7t.js +78 -0
  126. package/dist/events-Da7gpmGv.cjs +90 -0
  127. package/dist/featureFlagService-5wdmW02z.d.ts +18 -0
  128. package/dist/featureFlagService-DaelrXEk.d.cts +18 -0
  129. package/dist/fiveCbd-CdqNt16h.cjs +614 -0
  130. package/dist/fiveCbd-D6B-sgnX.js +614 -0
  131. package/dist/forLoveAndLemons-C7GsJG7f.cjs +668 -0
  132. package/dist/forLoveAndLemons-gNDlMtPR.js +666 -0
  133. package/dist/{globalSearch-hxbXekus.cjs → globalSearch-BTeZxvk1.cjs} +2 -1
  134. package/dist/globalSearch-b0wC7ZEO.js +14 -0
  135. package/dist/greenpan-B5AaW4M_.js +398 -0
  136. package/dist/greenpan-DrORpYms.cjs +398 -0
  137. package/dist/grooveLife-BJqsfH2H.cjs +343 -0
  138. package/dist/grooveLife-xIUmDM8s.js +343 -0
  139. package/dist/homegrownCannabis-8TZ21u6L.cjs +411 -0
  140. package/dist/homegrownCannabis-BtMuEvbZ.js +411 -0
  141. package/dist/hooks/index.cjs +36 -38
  142. package/dist/hooks/index.d.cts +36 -82
  143. package/dist/hooks/index.d.ts +38 -84
  144. package/dist/hooks/index.js +11 -17
  145. package/dist/index-BTK5uzs6.d.cts +98 -0
  146. package/dist/index-BdNKc2ix.d.cts +2 -1
  147. package/dist/index-BrXuc_Ck.d.cts +2 -1
  148. package/dist/index-BzgkfbNO.d.cts +228 -0
  149. package/dist/index-CKKkTsms.d.ts +39 -0
  150. package/dist/index-CKUpnyJQ.d.ts +72 -0
  151. package/dist/index-CSIOQD-A.d.ts +25 -0
  152. package/dist/index-CbJZOEU4.d.ts +203 -0
  153. package/dist/index-ClJ0nMsR.d.cts +184 -0
  154. package/dist/index-Cr2y08f1.d.ts +9 -0
  155. package/dist/index-Cx9e-fRi.d.ts +184 -0
  156. package/dist/index-D2VaMPA3.d.ts +98 -0
  157. package/dist/index-D46Rd0io.d.cts +39 -0
  158. package/dist/index-DFL1dIT_.d.ts +7 -0
  159. package/dist/index-DXpgMVpp.d.ts +749 -0
  160. package/dist/index-Dxpscrvz.d.ts +228 -0
  161. package/dist/index-K2kNsOTw.d.cts +203 -0
  162. package/dist/index-MFbPQ8Ji.d.ts +95 -0
  163. package/dist/index-VHFMGkO-.d.cts +72 -0
  164. package/dist/index-VSFakgAI.d.cts +95 -0
  165. package/dist/index-aNW5V9fh.d.cts +749 -0
  166. package/dist/index-zZjcds15.d.cts +7 -0
  167. package/dist/interceptors/index.cjs +12 -13
  168. package/dist/interceptors/index.d.cts +10 -10
  169. package/dist/interceptors/index.d.ts +10 -10
  170. package/dist/interceptors/index.js +10 -11
  171. package/dist/jackArcher-WtkbLBZj.cjs +728 -0
  172. package/dist/jackArcher-sO9EbgrZ.js +728 -0
  173. package/dist/jordanCraig-471FcgqF.cjs +1787 -0
  174. package/dist/jordanCraig-DNOncplU.js +1787 -0
  175. package/dist/kindredBravely-BlLyHGMX.cjs +491 -0
  176. package/dist/kindredBravely-cqZ4OvXp.js +491 -0
  177. package/dist/kutFromTheKloth-3mOIryvt.cjs +370 -0
  178. package/dist/kutFromTheKloth-DtVNCMKa.js +370 -0
  179. package/dist/larryAndSerges-88Bvq-Us.cjs +262 -0
  180. package/dist/larryAndSerges-cvak6May.js +262 -0
  181. package/dist/leapsAndRebounds-Dmf8eUPq.js +361 -0
  182. package/dist/leapsAndRebounds-iWKc923H.cjs +361 -0
  183. package/dist/logger-Dln20ans.cjs +26 -0
  184. package/dist/logger-pdEEY8T2.js +20 -0
  185. package/dist/longevityrx-BTMI9vn-.js +321 -0
  186. package/dist/longevityrx-CobPyigd.cjs +321 -0
  187. package/dist/lookOptic-C4H_c0JZ.cjs +283 -0
  188. package/dist/lookOptic-Jwf7EAU8.js +283 -0
  189. package/dist/mantraBrand-CySGqbn6.cjs +751 -0
  190. package/dist/mantraBrand-DoaVj837.js +751 -0
  191. package/dist/medterra-BnZ5p27n.cjs +584 -0
  192. package/dist/medterra-DaICcPPp.js +584 -0
  193. package/dist/modells-CZ1L6dD_.js +485 -0
  194. package/dist/modells-DF0SndHr.cjs +485 -0
  195. package/dist/nodeSelector-DybpVr-i.d.ts +31 -0
  196. package/dist/nodeSelector-vKB44CDB.d.cts +2 -1
  197. package/dist/orgConfigResults--dAwtw3W.d.ts +881 -0
  198. package/dist/orgConfigResults-BL0XBA6x.d.cts +881 -0
  199. package/dist/pressedFloral-B3t2cYzs.cjs +662 -0
  200. package/dist/pressedFloral-Dsws2Kfb.js +662 -0
  201. package/dist/search-filter-types-9rTb3jMj.d.cts +102 -0
  202. package/dist/search-filter-types-C-zZSpGo.d.ts +102 -0
  203. package/dist/skinPerfection-CILQM2bR.cjs +335 -0
  204. package/dist/skinPerfection-DmQCntRf.js +335 -0
  205. package/dist/snapSupplements--X_v0KRM.js +286 -0
  206. package/dist/snapSupplements-Djuzl0Ed.cjs +286 -0
  207. package/dist/socialProofClasses-DdzG1tZy.js +10 -0
  208. package/dist/socialProofClasses-ky69yppk.cjs +40 -0
  209. package/dist/spanx-Bo81yXSF.cjs +664 -0
  210. package/dist/spanx-DauxB8KE.js +662 -0
  211. package/dist/spanxStaging-BucYQvR1.cjs +849 -0
  212. package/dist/spanxStaging-CfXUukdP.js +846 -0
  213. package/dist/{suggestionBarV2-types-DG3Ekk44.cjs → suggestionBarV2-types-B3lwrENK.cjs} +2 -1
  214. package/dist/suggestionBarV2-types-Penx3Y67.js +10 -0
  215. package/dist/supergoop-8qa_NV3F.cjs +338 -0
  216. package/dist/supergoop-DOaui-A6.js +336 -0
  217. package/dist/test-types-CXVJxTeu.d.ts +40 -0
  218. package/dist/test-types-CuOq25VT.d.cts +40 -0
  219. package/dist/types/index.cjs +2 -2
  220. package/dist/types/index.d.cts +2 -2
  221. package/dist/types/index.d.ts +2 -2
  222. package/dist/types/index.js +2 -2
  223. package/dist/types-CD4LFta-.d.cts +33 -0
  224. package/dist/types-CGC6Oozp.cjs +231 -0
  225. package/dist/types-CnTCkyvK.js +177 -0
  226. package/dist/types-DBdI0j89.d.ts +33 -0
  227. package/dist/uniqueVintage-BWkDgt1z.js +1212 -0
  228. package/dist/uniqueVintage-DAne8XcL.cjs +1214 -0
  229. package/dist/variant-CC1nrywd.d.ts +13 -0
  230. package/dist/variant-CQTuQQSq.d.cts +13 -0
  231. package/dist/venaCbd-B1HO_Pkr.cjs +366 -0
  232. package/dist/venaCbd-CnByO-5R.js +366 -0
  233. package/dist/westonJonBoucher-BAGXegsX.js +423 -0
  234. package/dist/westonJonBoucher-BRfHWMbs.cjs +423 -0
  235. package/dist/wineEnthusiast-DW8JVwV8.cjs +941 -0
  236. package/dist/wineEnthusiast-EJbhMeKQ.js +941 -0
  237. package/dist/wolfMattress-B6INZNRJ.cjs +373 -0
  238. package/dist/wolfMattress-D9P7ErH_.js +373 -0
  239. package/dist/wolfTactical-C5Pupi3J.js +350 -0
  240. package/dist/wolfTactical-TMthZM93.cjs +350 -0
  241. package/package.json +2 -1
  242. package/src/adapters/amplitude/amplitudeAdapter.ts +32 -9
  243. package/src/adapters/spiffy/commerce/api.ts +17 -8
  244. package/src/adapters/spiffy/commerce/graphql.ts +16 -5
  245. package/src/application/config/generalStaticConfig.ts +5 -2
  246. package/src/application/models/api/orgConfigResults.ts +6 -2
  247. package/src/application/models/supportedOrgs.ts +1 -1
  248. package/src/application/models/validators/validateGraphQLColorsConfig.ts +23 -21
  249. package/src/application/service/cdnService.ts +4 -2
  250. package/src/application/service/graphqlConfigService.ts +59 -0
  251. package/src/application/service/index.ts +1 -1
  252. package/src/application/service/pageVariantService.ts +5 -5
  253. package/src/application/service/searchService.ts +9 -2
  254. package/src/application/service/windowChatToggleService.ts +28 -19
  255. package/src/application/service/windowFrontendConfigService.ts +7 -4
  256. package/src/atoms/app/index.ts +26 -17
  257. package/src/atoms/app/variant.ts +1 -0
  258. package/src/atoms/chat/messageQueue.ts +1 -1
  259. package/src/atoms/envive/enviveConfig.ts +81 -0
  260. package/src/atoms/org/graphqlConfig.ts +40 -11
  261. package/src/atoms/org/index.ts +7 -7
  262. package/src/atoms/org/merchantCss.ts +119 -2
  263. package/src/atoms/org/org.ts +67 -70
  264. package/src/atoms/org/orgPageConfig.ts +9 -6
  265. package/src/atoms/org/orgUIConfig.ts +22 -9
  266. package/src/atoms/search/chatSearch.ts +85 -67
  267. package/src/atoms/search/searchAPI.ts +52 -42
  268. package/src/contexts/chatContext.tsx +4 -1
  269. package/src/contexts/enviveConfigContext.tsx +37 -26
  270. package/src/contexts/enviveCssContext.tsx +20 -0
  271. package/src/contexts/index.ts +2 -0
  272. package/src/contexts/orgConfigContext.tsx +106 -0
  273. package/src/contexts/systemSettingsContext.tsx +2 -2
  274. package/src/contexts/types.ts +12 -9
  275. package/src/hooks/index.ts +2 -3
  276. package/src/hooks/useDynamicVariants.ts +48 -32
  277. package/src/hooks/useFileUpload.ts +1 -1
  278. package/src/hooks/useHideElements.ts +21 -18
  279. package/src/hooks/useImageResolver.ts +16 -8
  280. package/src/hooks/useNewOrgConfig.ts +80 -0
  281. package/src/hooks/useSearch.tsx +10 -6
  282. package/src/hooks/utils.ts +1 -1
  283. package/src/interceptors/useFormEscalation.ts +26 -9
  284. package/src/types.ts +0 -2
  285. package/dist/api-BtzLHcfU.cjs +0 -268
  286. package/dist/api-kpPTZhV9.js +0 -189
  287. package/dist/atomStore-BNQyGmU_.cjs +0 -57
  288. package/dist/atomStore-TnLPtYns.js +0 -31
  289. package/dist/bandolier-CQrxBHsk.cjs +0 -1230
  290. package/dist/bandolier-Di9DpZ8e.js +0 -1230
  291. package/dist/carpe-3NJOR-Rj.cjs +0 -608
  292. package/dist/carpe-DmWKaIQq.js +0 -606
  293. package/dist/cdnService-BNreZjqy.js +0 -18
  294. package/dist/cdnService-vLxePdrU.cjs +0 -23
  295. package/dist/chat-CCQMmhc1.cjs +0 -5057
  296. package/dist/chat-Dk6KPb1K.js +0 -25
  297. package/dist/chat-H6YcCS4I.js +0 -4113
  298. package/dist/components-DAQxVIn9.js +0 -10
  299. package/dist/coterie-D0UFsFC5.cjs +0 -240
  300. package/dist/coterie-JblRmIZL.js +0 -240
  301. package/dist/customerService-C4wc0glQ.js +0 -22
  302. package/dist/customerService-zsDlp7g2.cjs +0 -35
  303. package/dist/custservice-types-D8Npo-5Z.js +0 -22
  304. package/dist/custservice-types-E9_OSaZ7.cjs +0 -34
  305. package/dist/default-C5ZTV8HA.cjs +0 -4
  306. package/dist/default-DPv8m-eQ.js +0 -175
  307. package/dist/default-DRKBosow.cjs +0 -198
  308. package/dist/default-ao0vRl0W.js +0 -4
  309. package/dist/divIds-BWvq-i6I.js +0 -22
  310. package/dist/dreamlandBaby-CyS8oW8X.js +0 -347
  311. package/dist/dreamlandBaby-y7kSvwH2.cjs +0 -347
  312. package/dist/embedded-C1jvFj3v.js +0 -22
  313. package/dist/entrypoints-CmmOszXO.js +0 -6
  314. package/dist/entrypoints-fowCLUT2.cjs +0 -18
  315. package/dist/enviveConfigContext-Bs8kepnO.cjs +0 -48
  316. package/dist/enviveConfigContext-CWVdVWKW.js +0 -34
  317. package/dist/events-DgFzlVJR.js +0 -77
  318. package/dist/events-bH-24eRW.cjs +0 -89
  319. package/dist/featureFlagService-CroFRxvD.d.cts +0 -17
  320. package/dist/featureFlagService-NkJ2fuEj.d.ts +0 -17
  321. package/dist/featureGates-BMWXU0dS.d.ts +0 -90
  322. package/dist/featureGates-N_gyHCTn.d.cts +0 -90
  323. package/dist/fiveCbd-CXVuIBiZ.cjs +0 -614
  324. package/dist/fiveCbd-Cyc3-Ab9.js +0 -614
  325. package/dist/forLoveAndLemons-CxQS0USq.cjs +0 -668
  326. package/dist/forLoveAndLemons-D8mcgmdk.js +0 -666
  327. package/dist/frontendConfig-KeNqU1wa.d.cts +0 -790
  328. package/dist/frontendConfig-cPvCTWm6.d.ts +0 -790
  329. package/dist/globalSearch-BC0rOX3E.js +0 -13
  330. package/dist/greenpan-JM6SHcqO.js +0 -398
  331. package/dist/greenpan-eIzyxVsn.cjs +0 -398
  332. package/dist/grooveLife-BmsUc2cD.js +0 -343
  333. package/dist/grooveLife-KdTizVUn.cjs +0 -343
  334. package/dist/homegrownCannabis-C0GDai4r.cjs +0 -411
  335. package/dist/homegrownCannabis-a9udocBT.js +0 -411
  336. package/dist/hooks-DjOa7ihH.cjs +0 -7331
  337. package/dist/hooks-fneW8SWw.js +0 -7152
  338. package/dist/index-BQErGgfM.d.cts +0 -202
  339. package/dist/index-C4zjAR1c.d.cts +0 -227
  340. package/dist/index-CGB6CAmr.d.ts +0 -6
  341. package/dist/index-CIco0cCQ.d.ts +0 -183
  342. package/dist/index-COG1kOZG.d.ts +0 -749
  343. package/dist/index-CVxe7FpL.d.cts +0 -6
  344. package/dist/index-Cn1SeI5y.d.cts +0 -183
  345. package/dist/index-CnqHN_jz.d.ts +0 -202
  346. package/dist/index-Cqg6ltII.d.ts +0 -38
  347. package/dist/index-DE_7Q8qK.d.ts +0 -94
  348. package/dist/index-Da0UzyI9.d.ts +0 -24
  349. package/dist/index-DbWWcYax.d.cts +0 -749
  350. package/dist/index-DtoVXd6O.d.cts +0 -97
  351. package/dist/index-JClBRnSX.d.cts +0 -94
  352. package/dist/index-ghzD_356.d.ts +0 -8
  353. package/dist/index-hdbCEjYy.d.cts +0 -38
  354. package/dist/index-luJrHgPN.d.ts +0 -97
  355. package/dist/index-tfRj22E1.d.ts +0 -227
  356. package/dist/jackArcher-B6OJ0N3a.cjs +0 -728
  357. package/dist/jackArcher-B9fe4Hv8.js +0 -728
  358. package/dist/jordanCraig-0CB_m_ts.cjs +0 -1787
  359. package/dist/jordanCraig-DNm1iw1L.js +0 -1787
  360. package/dist/kindredBravely-CZgt7DJA.js +0 -491
  361. package/dist/kindredBravely-KvYPbckZ.cjs +0 -491
  362. package/dist/kutFromTheKloth-BxgtWZs9.cjs +0 -370
  363. package/dist/kutFromTheKloth-SmteSZjk.js +0 -370
  364. package/dist/larryAndSerges-6O_u3L90.cjs +0 -261
  365. package/dist/larryAndSerges-DO-zG8ES.js +0 -261
  366. package/dist/leapsAndRebounds-BK62AmXw.js +0 -361
  367. package/dist/leapsAndRebounds-gPsWVUmQ.cjs +0 -361
  368. package/dist/logger-Be0NyKaY.cjs +0 -25
  369. package/dist/logger-BexDfK3W.js +0 -19
  370. package/dist/longevityrx-DjKbwJo3.cjs +0 -321
  371. package/dist/longevityrx-eq5TeUcy.js +0 -321
  372. package/dist/lookOptic-BPPqms_j.cjs +0 -283
  373. package/dist/lookOptic-jRpBXQCN.js +0 -283
  374. package/dist/mantraBrand-BZOZfkUK.js +0 -751
  375. package/dist/mantraBrand-Cp8zptkj.cjs +0 -751
  376. package/dist/medterra-BHYCBgvQ.cjs +0 -584
  377. package/dist/medterra-CShe6CLY.js +0 -584
  378. package/dist/modells-DE7-gmjK.cjs +0 -485
  379. package/dist/modells-DFyJxNwT.js +0 -485
  380. package/dist/nodeSelector-DpKXszfU.d.ts +0 -30
  381. package/dist/org-Bkn6fl6I.cjs +0 -106
  382. package/dist/org-CX8HFbc9.js +0 -63
  383. package/dist/pressedFloral-BMkCVs8c.cjs +0 -662
  384. package/dist/pressedFloral-aK9br-LF.js +0 -662
  385. package/dist/search-DtIFZeMA.cjs +0 -743
  386. package/dist/search-eWwg8pNn.js +0 -542
  387. package/dist/search-filter-types-ByJnFPc4.d.cts +0 -101
  388. package/dist/search-filter-types-DPgeG8FS.d.ts +0 -101
  389. package/dist/skinPerfection-B9G6yLM2.js +0 -335
  390. package/dist/skinPerfection-BBC1q65Z.cjs +0 -335
  391. package/dist/snapSupplements-D7hx6Kgj.cjs +0 -286
  392. package/dist/snapSupplements-DKvJl__T.js +0 -286
  393. package/dist/socialProofClasses-BYLiEXpU.cjs +0 -39
  394. package/dist/socialProofClasses-CkJufEGb.js +0 -9
  395. package/dist/spanx-D-ZKkxjM.cjs +0 -664
  396. package/dist/spanx-yl7YfVrf.js +0 -662
  397. package/dist/spanxStaging-CXeIg6zI.cjs +0 -849
  398. package/dist/spanxStaging-DzGXL9wD.js +0 -846
  399. package/dist/suggestionBarV2-types-B0RbMStE.js +0 -9
  400. package/dist/supergoop-CSpDPOpl.cjs +0 -337
  401. package/dist/supergoop-D0UkuRiA.js +0 -335
  402. package/dist/test-types-C9b_OdfO.d.ts +0 -39
  403. package/dist/test-types-CpKCxk8U.d.cts +0 -39
  404. package/dist/types-BE4faOO_.d.cts +0 -32
  405. package/dist/types-C3S1H4hl.js +0 -176
  406. package/dist/types-TD8g7LnH.d.ts +0 -32
  407. package/dist/types-lcjuhDBt.cjs +0 -230
  408. package/dist/uniqueVintage-DygVpCqU.cjs +0 -1214
  409. package/dist/uniqueVintage-_n0FZFVj.js +0 -1212
  410. package/dist/useMessageInterceptor-BP6gzo8a.js +0 -57
  411. package/dist/useMessageInterceptor-BnUG2Pzt.cjs +0 -72
  412. package/dist/variant-DH4zusMi.d.cts +0 -12
  413. package/dist/variant-DTEqSBHd.d.ts +0 -12
  414. package/dist/variantInfo-BTvC6CQh.js +0 -1
  415. package/dist/variantInfo-Cz2YXraO.cjs +0 -0
  416. package/dist/venaCbd-BS0dvdBm.js +0 -366
  417. package/dist/venaCbd-Pqg0bj-P.cjs +0 -366
  418. package/dist/westonJonBoucher-CLw8Hy6u.js +0 -423
  419. package/dist/westonJonBoucher-CeA0jwxe.cjs +0 -423
  420. package/dist/wineEnthusiast-M9P18d1w.js +0 -941
  421. package/dist/wineEnthusiast-gHBaQMbe.cjs +0 -941
  422. package/dist/wolfMattress-BQHjoQYu.js +0 -373
  423. package/dist/wolfMattress-CdmN-Evm.cjs +0 -373
  424. package/dist/wolfTactical-Cc2ZLBRh.js +0 -350
  425. package/dist/wolfTactical-dObnPgAG.cjs +0 -350
  426. package/src/application/service/environmentService.ts +0 -51
  427. package/src/extension.ts +0 -63
  428. package/src/hooks/useHorizontalScrollAnimation.ts +0 -115
  429. package/src/hooks/useReducedMotionWithOverride.ts +0 -15
  430. package/src/hooks/useSnapControl.ts +0 -155
  431. package/src/initialize.ts +0 -163
  432. package/src/main.tsx +0 -108
  433. package/src/merchants/uniqueVintage/views/useUniqueVintageChatSearch.ts +0 -147
  434. /package/dist/{atomStore-B3tsg6mF.cjs → locators-CugndTUM.cjs} +0 -0
  435. /package/dist/{atomStore-FSZd_20F.js → locators-DnKpajbY.js} +0 -0
  436. /package/dist/{locators-C2DX_nX6.js → utilityTypes-BVikejDo.js} +0 -0
  437. /package/dist/{locators-CUpyd9Wt.cjs → utilityTypes-C4h2wgAK.cjs} +0 -0
  438. /package/dist/{utilityTypes-DMdsI0DG.cjs → variantInfo-CNRTY0gH.cjs} +0 -0
  439. /package/dist/{utilityTypes-UWdNHElu.js → variantInfo-CzhR5W6h.js} +0 -0
@@ -1,1212 +0,0 @@
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
- import { SuggestionBarLocationForMetrics } from "./suggestionBarV2-types-B0RbMStE.js";
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-BNreZjqy.js";
14
- import "./chat-Dk6KPb1K.js";
15
- import "./components-DAQxVIn9.js";
16
- import { BOTTOM_SUGGESTION_BAR_TESTID, CHAT_PREVIEW_TESTID, GLOBAL_SEARCH_ENTRYPOINT_TESTID, TOP_SUGGESTION_BAR_TESTID } from "./embedded-C1jvFj3v.js";
17
- import "./locators-C2DX_nX6.js";
18
- import { defaultOrgUIConfig } from "./default-DPv8m-eQ.js";
19
- import { PageVisitCategory } from "@spiffy-ai/commerce-api-client";
20
-
21
- //#region src/merchants/uniqueVintage/uniqueVintage.ts
22
- const uniqueVintageColors = {
23
- [ColorNames.TextPrimary]: "#000000",
24
- [ColorNames.TextSecondary]: "#595959",
25
- [ColorNames.TextAccent]: "#1D4A4F",
26
- [ColorNames.TextLink]: "#222222",
27
- [ColorNames.TextLight]: "#FFFFFF",
28
- [ColorNames.BackgroundPrimary]: "#FADDD5",
29
- [ColorNames.BackgroundSecondary]: "#FFFDF3",
30
- [ColorNames.BackgroundSecondaryDark]: "#EBE9E0",
31
- [ColorNames.BackgroundTertiary]: "#1D4A4F",
32
- [ColorNames.BackgroundDark]: "#222222",
33
- [ColorNames.BackgroundLight]: "#FFFFFF",
34
- [ColorNames.BackgroundSaturated]: "#FADDD5",
35
- [ColorNames.BorderLight]: "#E7E7E7",
36
- [ColorNames.BorderMedium]: "#C2C4C8",
37
- [ColorNames.BorderDark]: "#595959",
38
- [ColorNames.BorderOutline]: "#222222",
39
- [ColorNames.AccentPrimary]: "#FADDD5",
40
- [ColorNames.AccentSecondary]: "#C0E7D6"
41
- };
42
- const uniqueVintageOrgUIConfig = () => {
43
- const defaultUniqueVintageOrgConfig = defaultOrgUIConfig(OrgShortName.UniqueVintage);
44
- return {
45
- ...defaultUniqueVintageOrgConfig,
46
- chatMessageConfig: {
47
- ...defaultUniqueVintageOrgConfig.chatMessageConfig,
48
- assistantChatTitle: "Unique Vintage AI",
49
- variant: "standard"
50
- },
51
- chatHeader: {
52
- ...defaultUniqueVintageOrgConfig.chatHeader,
53
- chevronColor: colorVar(ColorNames.BackgroundDark),
54
- expandedColor: colorVar(ColorNames.BackgroundPrimary),
55
- imageSrc: CdnService.getAssetURL("unique-vintage-long-logo.png", OrgShortName.UniqueVintage)
56
- },
57
- chatPreviewConfig: {
58
- ...defaultUniqueVintageOrgConfig.chatPreviewConfig,
59
- variant: "filled",
60
- filledBackgroundColor: colorVar(ColorNames.AccentSecondary),
61
- iconFillColor: colorVar(ColorNames.AccentPrimary),
62
- buttonTextColor: colorVar(ColorNames.TextLight),
63
- buttonBackgroundColor: colorVar(ColorNames.BackgroundDark),
64
- buttonTextHoverColor: colorVar(ColorNames.TextPrimary),
65
- buttonBackgroundHoverColor: colorVar(ColorNames.BackgroundSecondaryDark),
66
- topMargin: 10,
67
- copies: {
68
- plp: [
69
- "a classic swimsuit that's perfect for poolside glamour?",
70
- "a skirt that twirls like it's straight out of the '50s?",
71
- "a handbag inspired by iconic eras?",
72
- "a dress that turns every head in the room?"
73
- ],
74
- pdp: [
75
- "the vintage-inspired details that make this piece timeless?",
76
- "what makes this style a true throwback treasure?",
77
- "what luxe materials will elevate your look?",
78
- "the size that's right for you?"
79
- ]
80
- },
81
- staticSuggestionCopies: {
82
- plp: [
83
- "What casual vintage pieces work for everyday wear?",
84
- "What pieces can I mix and match for a vintage-inspired wardrobe?",
85
- "What shoes are perfect for date nights and special occasions?",
86
- "What accessories can I add to elevate my vintage look?"
87
- ],
88
- pdp: [
89
- "What size will give me the right fit?",
90
- "How do I keep this piece in perfect condition for years to come?",
91
- "What features makes this piece the ideal statement for a vintage lover?",
92
- "How does this piece embody the spirit of past eras with modern style?"
93
- ]
94
- },
95
- headerConfig: {
96
- title: "Shopping Assistant",
97
- sparklesColor: void 0,
98
- imageHeight: 24,
99
- imageSrc: CdnService.getAssetURL("unique-vintage-long-logo.png", OrgShortName.UniqueVintage)
100
- },
101
- footerConfig: {
102
- ...defaultUniqueVintageOrgConfig.chatPreviewConfig.footerConfig,
103
- replyButtonText: "What can I help you find?",
104
- replyButtonIcon: "magnifyingGlass",
105
- hasFade: false
106
- }
107
- },
108
- floatingEntrypointConfig: {
109
- ...defaultUniqueVintageOrgConfig.floatingEntrypointConfig,
110
- showOption: "always",
111
- expandedColor: colorVar(ColorNames.BorderOutline),
112
- iconStrokeColor: colorVar(ColorNames.BackgroundDark),
113
- iconFillColor: colorVar(ColorNames.BackgroundDark),
114
- expansionText: {
115
- pdp: "Will this complete your retro wardrobe?",
116
- plp: "What vintage treasure will you find today?"
117
- }
118
- },
119
- productCardConfig: { ...defaultUniqueVintageOrgConfig.productCardConfig },
120
- productReviewConfig: {
121
- ...defaultUniqueVintageOrgConfig.productReviewConfig,
122
- colorVariant: "brand",
123
- incentivizedReviewFlag: false
124
- },
125
- welcomeSectionConfig: {
126
- ...defaultUniqueVintageOrgConfig.welcomeSectionConfig,
127
- title: "Welcome to Unique Vintage AI!",
128
- colorVariant: "brand",
129
- subtitle: "Hello, darling! I'm here to help you find everything you need to channel your unique, vintage-inspired style. Whether you're searching for the perfect outfit, need sizing advice, or just want to explore fabulous accessories, let's make your shopping experience as glamorous as you are!"
130
- },
131
- customerServiceIntegration: {
132
- integrationMode: CustomerServiceIntegrationMode.simple,
133
- provider: CustomerServiceType.zowie
134
- },
135
- conversationalSearch: {
136
- enabled: true,
137
- replyInput: {
138
- sendIcon: "search",
139
- placeholder: "What can I help you find?"
140
- },
141
- entrypointContainer: "id|chat-search-entrypoint",
142
- productGridContainer: "id|chat-search-product-page",
143
- searchContent: "query|.ss__autocomplete--target",
144
- pageContent: "id|MainContent",
145
- generalSearchBtn: "query|button.modal__close-button"
146
- },
147
- searchConfig: {
148
- enableGlobalSearch: true,
149
- searchFilterConfig: [
150
- {
151
- filterId: "color",
152
- displayName: "Color",
153
- attribute: "colors",
154
- type: "dynamic",
155
- sorting: { type: "alphabetic" }
156
- },
157
- {
158
- filterId: "size",
159
- displayName: "Size",
160
- type: "dynamic",
161
- attribute: "sizes",
162
- sorting: {
163
- type: "custom",
164
- map: {
165
- "One Size": 10,
166
- "XXS / 0": 20,
167
- "XS / 2": 30,
168
- "S / 4": 40,
169
- "M / 6 - 8": 50,
170
- "L / 10 - 12": 60,
171
- "XL / 14": 70,
172
- "1X / 16": 80,
173
- "2X / 18": 90,
174
- "3X / 20": 100,
175
- "4X / 22 - 24": 110,
176
- "5X / 26": 120,
177
- "6X": 130
178
- }
179
- }
180
- },
181
- {
182
- filterId: "price",
183
- displayName: "Price",
184
- type: "price",
185
- bucketSize: 50
186
- }
187
- ]
188
- },
189
- merchantOverrideCss: `
190
- #spiffy-modal-container {
191
- z-index: 2147483001 !important;
192
- }
193
- .spiffy-star-rating-star {
194
- fill: var(--spiffy-colors-text-accent) !important;
195
- }
196
- .spiffy-product-review-header-reviewer {
197
- color: var(--spiffy-colors-text-primary) !important;
198
- }
199
-
200
- /* WelcomeSection light text override */
201
- .spiffy-welcome-section-message-title {
202
- color: var(--spiffy-colors-text-light) !important;
203
- }
204
- .spiffy-welcome-section-message-subtitle {
205
- color: var(--spiffy-colors-text-light) !important;
206
- }
207
-
208
- #spiffy-ai-chat-preview {
209
- display: block;
210
- }
211
- #chat-search-product-page {
212
- display: block;
213
- }
214
- #chat-search-nav-entrypoint {
215
- display: flex;
216
- }
217
- #spiffy-ai-chat-preview.is-pdp {
218
- padding-top: 8px;
219
- border-top: solid 1px var(--spiffy-colors-border-light);
220
- }
221
- #spiffy-top-suggestion-bar-id {
222
- display: block;
223
- }
224
- #spiffy-ai-chat-preview {
225
- display: block;
226
- }
227
- #spiffy-bottom-reviews-bar-id {
228
- display: block;
229
- }
230
- .spiffy-chat-search-entrypoint-container {
231
- background: var(--spiffy-colors-background-primary) !important;
232
- border-color: var(--spiffy-colors-background-dark) !important;
233
- }
234
- .spiffy-chat-search-entrypoint-container .spiffy-button-base-button {
235
- color: var(--spiffy-colors-text-primary) !important;
236
- border: none;
237
- }
238
- .spiffy-chat-search-entrypoint-text p {
239
- font-family: 'Bookmania-SemiBold' !important;
240
- font-size: 16px !important;
241
- }
242
- #spiffy-ai-chat-preview-contents h1, h2, h3, h4, h5, h6 {
243
- --chakra-fonts-heading: 'Bookmania-Regular', 'Poppins', sans-serif;
244
- }
245
- .spiffy-headline {
246
- font-family: 'Bookmania-Regular', 'Poppins', sans-serif;
247
- }
248
- #spiffy-model-container h1, h2, h3, h4, h5, h6 {
249
- font-family: var(--chakra-fonts-heading);
250
- }
251
- #spiffy-model-container h1, h2, h3, h4, h5, h6 {
252
- --chakra-fonts-heading: 'Bookmania-Regular', 'Poppins', sans-serif;
253
- }
254
- .spiffy-suggestion-button-question-class {
255
- border: 1px solid var(--spiffy-colors-border-light);
256
- }
257
- .spiffy-tag-pill-text {
258
- color: var(--spiffy-colors-text-light) !important;
259
- }
260
- #return-to-results-button {
261
- display: block;
262
- }
263
- .spiffy-back-to-results-button {
264
- margin-left: 30px;
265
- margin-top: 30px;
266
- @media (max-width: 768px) {
267
- margin-left: 20px;
268
- margin-top: 20px;
269
- }
270
- }
271
- @media (max-width: 992px) {
272
- #chat-search-entrypoint {
273
- display: none;
274
- }
275
- }
276
- #chat-search-entrypoint-mobile {
277
- display: none;
278
- }
279
- .ss__autocomplete--active #chat-search-entrypoint-mobile {
280
- display: flex;
281
- }
282
- .spiffy-product-card-title {
283
- font-family: var(--chakra-fonts-heading);
284
- color: var(--spiffy-colors-text-link);
285
- }
286
- .spiffy-product-card-text-color {
287
- color: var(--spiffy-colors-text-secondary);
288
- }
289
-
290
- .spiffy-chat-header-close-button {
291
- color: var(--spiffy-colors-background-primary);
292
- background-color: var(--spiffy-colors-background-tertiary);
293
- }
294
-
295
- #spiffy-top-suggestion-bar-contents .spiffy-suggestion-button-question-class span {
296
- color: var(--spiffy-colors-text-accent) !important;
297
- }
298
-
299
- #spiffy-top-suggestion-bar-contents .spiffy-suggestion-button-question-class svg {
300
- fill: var(--spiffy-colors-text-accent) !important;
301
- stroke: var(--spiffy-colors-text-accent) !important;
302
- }
303
-
304
- #spiffy-bottom-suggestion-bar-contents .spiffy-suggestion-button-question-class svg {
305
- fill: var(--spiffy-colors-accent-primary) !important;
306
- stroke: var(--spiffy-colors-accent-primary) !important;
307
- }
308
-
309
- #spiffy-bottom-suggestion-bar-contents .spiffy-suggestion-button-question-class:hover svg {
310
- fill: var(--spiffy-colors-text-link) !important;
311
- stroke: var(--spiffy-colors-text-link) !important;
312
- }
313
-
314
- #spiffy-ai-global-search-entrypoint.global-entry-desktop {
315
- display: block;
316
- }
317
- #spiffy-ai-global-search-entrypoint-mobile.global-entry-mobile {
318
- display: none;
319
- }
320
-
321
- @media (max-width: 992px) {
322
- #spiffy-ai-global-search-entrypoint.global-entry-desktop {
323
- display: none;
324
- }
325
- #spiffy-ai-global-search-entrypoint-mobile.global-entry-mobile {
326
- display: block;
327
- }
328
- }
329
-
330
- #spiffy-ai-global-search-entrypoint.global-entry-desktop .spiffy-global-search-input-container {
331
- height: 80px;
332
- }
333
-
334
- .spiffy-global-search-input-container .spiffy-global-search-text {
335
- font-family: "Poly", serif;
336
- color: var(--spiffy-colors-text-link) !important;
337
- font-weight: 500;
338
- line-height: 80px;
339
- padding-top: 6px;
340
- }
341
-
342
- .spiffy-search-overlay-content .spiffy-headline {
343
- font-family: "Poly", serif;
344
- @media (min-width: 480px) {
345
- font-size: 32px;
346
- }
347
- }
348
-
349
- .spiffy-search-overlay-content .spiffy-body-text {
350
- font-family: "Poly", serif;
351
- }
352
-
353
- .spiffy-global-search-input-container svg {
354
- width: 26px;
355
- }
356
- `
357
- };
358
- };
359
- const uniqueVintagePageConfig = () => ({
360
- pageVariants: [
361
- {
362
- variantId: "search-results",
363
- variantType: "page_visit",
364
- variantTests: [
365
- { testType: PageVariantTestType.ShopifyPLP },
366
- {
367
- testType: PageVariantTestType.QueryParam,
368
- queryParam: "q"
369
- },
370
- {
371
- testType: PageVariantTestType.PageCategory,
372
- extractor: {
373
- type: CategoryExtractorType.VisitCategoryDefault,
374
- value: PageVisitCategory.Other
375
- }
376
- }
377
- ],
378
- widgetMounting: []
379
- },
380
- {
381
- variantId: "plp-global-search",
382
- variantType: "plp",
383
- variantTests: [{ testType: PageVariantTestType.ShopifyPLP }, {
384
- testType: PageVariantTestType.FeatureGate,
385
- featureGate: FeatureGates.IsGlobalSearchEnabled
386
- }],
387
- plpIdExtractor: "shopify-collection-id",
388
- widgetMounting: [
389
- {
390
- mountingConfigId: "globalSearchEntryPoint",
391
- widgetConfigId: "globalSearchEntryPoint"
392
- },
393
- {
394
- mountingConfigId: "globalSearchEntryPointMobile",
395
- widgetConfigId: "globalSearchEntryPointMobile"
396
- },
397
- {
398
- mountingConfigId: "chatPreviewPLP",
399
- widgetConfigId: "chatPreviewPLP"
400
- }
401
- ]
402
- },
403
- {
404
- variantId: "plp-search",
405
- variantType: "plp",
406
- variantTests: [{
407
- testType: PageVariantTestType.FeatureGate,
408
- featureGate: FeatureGates.IsNewFeatureEnabled
409
- }, { testType: PageVariantTestType.ShopifyPLP }],
410
- plpIdExtractor: "shopify-collection-id",
411
- widgetMounting: [{
412
- mountingConfigId: "chatPreviewPLP",
413
- widgetConfigId: "searchPromptPLP"
414
- }]
415
- },
416
- {
417
- variantId: "plp",
418
- variantType: "plp",
419
- variantTests: [{ testType: PageVariantTestType.ShopifyPLP }],
420
- plpIdExtractor: "shopify-collection-id",
421
- widgetMounting: [{
422
- mountingConfigId: "chatPreviewPLP",
423
- widgetConfigId: "chatPreviewPLP"
424
- }]
425
- },
426
- {
427
- variantId: "pdpDressesHasReviewsGlobalSearch",
428
- variantType: "pdp",
429
- variantTests: [
430
- { testType: PageVariantTestType.ShopifyPDP },
431
- {
432
- testType: PageVariantTestType.InCollection,
433
- collections: ["dresses"]
434
- },
435
- {
436
- testType: PageVariantTestType.HasReviews,
437
- reviewMinimum: 4
438
- },
439
- {
440
- testType: PageVariantTestType.FeatureGate,
441
- featureGate: FeatureGates.IsGlobalSearchEnabled
442
- }
443
- ],
444
- productIdExtractor: "shopify-product-id",
445
- widgetMounting: [
446
- {
447
- mountingConfigId: "globalSearchEntryPoint",
448
- widgetConfigId: "globalSearchEntryPoint"
449
- },
450
- {
451
- mountingConfigId: "globalSearchEntryPointMobile",
452
- widgetConfigId: "globalSearchEntryPointMobile"
453
- },
454
- {
455
- mountingConfigId: "topSuggestionBarPDP",
456
- widgetConfigId: "topSuggestionsBarDressesHasReviews"
457
- },
458
- {
459
- mountingConfigId: "chatPreviewPDP",
460
- widgetConfigId: "chatPreviewPDP"
461
- },
462
- {
463
- mountingConfigId: "bottomSuggestionBarPDP",
464
- widgetConfigId: "bottomSuggestionsBar"
465
- }
466
- ]
467
- },
468
- {
469
- variantId: "pdpDressesNoReviewsGlobalSearch",
470
- variantType: "pdp",
471
- variantTests: [
472
- { testType: PageVariantTestType.ShopifyPDP },
473
- {
474
- testType: PageVariantTestType.InCollection,
475
- collections: ["dresses"]
476
- },
477
- {
478
- testType: PageVariantTestType.FeatureGate,
479
- featureGate: FeatureGates.IsGlobalSearchEnabled
480
- }
481
- ],
482
- productIdExtractor: "shopify-product-id",
483
- widgetMounting: [
484
- {
485
- mountingConfigId: "globalSearchEntryPoint",
486
- widgetConfigId: "globalSearchEntryPoint"
487
- },
488
- {
489
- mountingConfigId: "globalSearchEntryPointMobile",
490
- widgetConfigId: "globalSearchEntryPointMobile"
491
- },
492
- {
493
- mountingConfigId: "topSuggestionBarPDP",
494
- widgetConfigId: "topSuggestionsBarDressesNoReviews"
495
- },
496
- {
497
- mountingConfigId: "chatPreviewPDP",
498
- widgetConfigId: "chatPreviewPDP"
499
- },
500
- {
501
- mountingConfigId: "bottomSuggestionBarPDP",
502
- widgetConfigId: "bottomSuggestionsBar"
503
- }
504
- ]
505
- },
506
- {
507
- variantId: "pdpSwimwearHasReviewsGlobalSearch",
508
- variantType: "pdp",
509
- variantTests: [
510
- { testType: PageVariantTestType.ShopifyPDP },
511
- {
512
- testType: PageVariantTestType.InCollection,
513
- collections: ["swim-html"]
514
- },
515
- {
516
- testType: PageVariantTestType.HasReviews,
517
- reviewMinimum: 4
518
- },
519
- {
520
- testType: PageVariantTestType.FeatureGate,
521
- featureGate: FeatureGates.IsGlobalSearchEnabled
522
- }
523
- ],
524
- productIdExtractor: "shopify-product-id",
525
- widgetMounting: [
526
- {
527
- mountingConfigId: "globalSearchEntryPoint",
528
- widgetConfigId: "globalSearchEntryPoint"
529
- },
530
- {
531
- mountingConfigId: "globalSearchEntryPointMobile",
532
- widgetConfigId: "globalSearchEntryPointMobile"
533
- },
534
- {
535
- mountingConfigId: "topSuggestionBarPDP",
536
- widgetConfigId: "topSuggestionsBarSwimwearHasReviews"
537
- },
538
- {
539
- mountingConfigId: "chatPreviewPDP",
540
- widgetConfigId: "chatPreviewPDP"
541
- },
542
- {
543
- mountingConfigId: "bottomSuggestionBarPDP",
544
- widgetConfigId: "bottomSuggestionsBar"
545
- }
546
- ]
547
- },
548
- {
549
- variantId: "pdpSwimwearNoReviewsGlobalSearch",
550
- variantType: "pdp",
551
- variantTests: [
552
- { testType: PageVariantTestType.ShopifyPDP },
553
- {
554
- testType: PageVariantTestType.InCollection,
555
- collections: ["swim-html"]
556
- },
557
- {
558
- testType: PageVariantTestType.FeatureGate,
559
- featureGate: FeatureGates.IsGlobalSearchEnabled
560
- }
561
- ],
562
- productIdExtractor: "shopify-product-id",
563
- widgetMounting: [
564
- {
565
- mountingConfigId: "globalSearchEntryPoint",
566
- widgetConfigId: "globalSearchEntryPoint"
567
- },
568
- {
569
- mountingConfigId: "globalSearchEntryPointMobile",
570
- widgetConfigId: "globalSearchEntryPointMobile"
571
- },
572
- {
573
- mountingConfigId: "topSuggestionBarPDP",
574
- widgetConfigId: "topSuggestionsBarSwimwearNoReviews"
575
- },
576
- {
577
- mountingConfigId: "chatPreviewPDP",
578
- widgetConfigId: "chatPreviewPDP"
579
- },
580
- {
581
- mountingConfigId: "bottomSuggestionBarPDP",
582
- widgetConfigId: "bottomSuggestionsBar"
583
- }
584
- ]
585
- },
586
- {
587
- variantId: "pdpShoesHasReviewsGlobalSearch",
588
- variantType: "pdp",
589
- variantTests: [
590
- { testType: PageVariantTestType.ShopifyPDP },
591
- {
592
- testType: PageVariantTestType.InCollection,
593
- collections: ["shoes"]
594
- },
595
- {
596
- testType: PageVariantTestType.HasReviews,
597
- reviewMinimum: 4
598
- },
599
- {
600
- testType: PageVariantTestType.FeatureGate,
601
- featureGate: FeatureGates.IsGlobalSearchEnabled
602
- }
603
- ],
604
- productIdExtractor: "shopify-product-id",
605
- widgetMounting: [
606
- {
607
- mountingConfigId: "globalSearchEntryPoint",
608
- widgetConfigId: "globalSearchEntryPoint"
609
- },
610
- {
611
- mountingConfigId: "globalSearchEntryPointMobile",
612
- widgetConfigId: "globalSearchEntryPointMobile"
613
- },
614
- {
615
- mountingConfigId: "topSuggestionBarPDP",
616
- widgetConfigId: "topSuggestionsBarShoesHasReviews"
617
- },
618
- {
619
- mountingConfigId: "chatPreviewPDP",
620
- widgetConfigId: "chatPreviewPDP"
621
- },
622
- {
623
- mountingConfigId: "bottomSuggestionBarPDP",
624
- widgetConfigId: "bottomSuggestionsBar"
625
- }
626
- ]
627
- },
628
- {
629
- variantId: "pdpShoesNoReviewsGlobalSearch",
630
- variantType: "pdp",
631
- variantTests: [
632
- { testType: PageVariantTestType.ShopifyPDP },
633
- {
634
- testType: PageVariantTestType.InCollection,
635
- collections: ["shoes"]
636
- },
637
- {
638
- testType: PageVariantTestType.FeatureGate,
639
- featureGate: FeatureGates.IsGlobalSearchEnabled
640
- }
641
- ],
642
- productIdExtractor: "shopify-product-id",
643
- widgetMounting: [
644
- {
645
- mountingConfigId: "globalSearchEntryPoint",
646
- widgetConfigId: "globalSearchEntryPoint"
647
- },
648
- {
649
- mountingConfigId: "globalSearchEntryPointMobile",
650
- widgetConfigId: "globalSearchEntryPointMobile"
651
- },
652
- {
653
- mountingConfigId: "topSuggestionBarPDP",
654
- widgetConfigId: "topSuggestionsBarShoesNoReviews"
655
- },
656
- {
657
- mountingConfigId: "chatPreviewPDP",
658
- widgetConfigId: "chatPreviewPDP"
659
- },
660
- {
661
- mountingConfigId: "bottomSuggestionBarPDP",
662
- widgetConfigId: "bottomSuggestionsBar"
663
- }
664
- ]
665
- },
666
- {
667
- variantId: "pdpGlobalSearch",
668
- variantType: "pdp",
669
- variantTests: [{ testType: PageVariantTestType.ShopifyPDP }, {
670
- testType: PageVariantTestType.FeatureGate,
671
- featureGate: FeatureGates.IsGlobalSearchEnabled
672
- }],
673
- productIdExtractor: "shopify-product-id",
674
- widgetMounting: [
675
- {
676
- mountingConfigId: "globalSearchEntryPoint",
677
- widgetConfigId: "globalSearchEntryPoint"
678
- },
679
- {
680
- mountingConfigId: "globalSearchEntryPointMobile",
681
- widgetConfigId: "globalSearchEntryPointMobile"
682
- },
683
- {
684
- mountingConfigId: "topSuggestionBarPDP",
685
- widgetConfigId: "topSuggestionsBar"
686
- },
687
- {
688
- mountingConfigId: "chatPreviewPDP",
689
- widgetConfigId: "chatPreviewPDP"
690
- },
691
- {
692
- mountingConfigId: "bottomSuggestionBarPDP",
693
- widgetConfigId: "bottomSuggestionsBar"
694
- }
695
- ]
696
- },
697
- {
698
- variantId: "pdpDressesHasReviews",
699
- variantType: "pdp",
700
- variantTests: [
701
- { testType: PageVariantTestType.ShopifyPDP },
702
- {
703
- testType: PageVariantTestType.InCollection,
704
- collections: ["dresses"]
705
- },
706
- {
707
- testType: PageVariantTestType.HasReviews,
708
- reviewMinimum: 4
709
- }
710
- ],
711
- productIdExtractor: "shopify-product-id",
712
- widgetMounting: [
713
- {
714
- mountingConfigId: "topSuggestionBarPDP",
715
- widgetConfigId: "topSuggestionsBarDressesHasReviews"
716
- },
717
- {
718
- mountingConfigId: "chatPreviewPDP",
719
- widgetConfigId: "chatPreviewPDP"
720
- },
721
- {
722
- mountingConfigId: "bottomSuggestionBarPDP",
723
- widgetConfigId: "bottomSuggestionsBar"
724
- }
725
- ]
726
- },
727
- {
728
- variantId: "pdpDressesNoReviews",
729
- variantType: "pdp",
730
- variantTests: [{ testType: PageVariantTestType.ShopifyPDP }, {
731
- testType: PageVariantTestType.InCollection,
732
- collections: ["dresses"]
733
- }],
734
- productIdExtractor: "shopify-product-id",
735
- widgetMounting: [
736
- {
737
- mountingConfigId: "topSuggestionBarPDP",
738
- widgetConfigId: "topSuggestionsBarDressesNoReviews"
739
- },
740
- {
741
- mountingConfigId: "chatPreviewPDP",
742
- widgetConfigId: "chatPreviewPDP"
743
- },
744
- {
745
- mountingConfigId: "bottomSuggestionBarPDP",
746
- widgetConfigId: "bottomSuggestionsBar"
747
- }
748
- ]
749
- },
750
- {
751
- variantId: "pdpSwimwearHasReviews",
752
- variantType: "pdp",
753
- variantTests: [
754
- { testType: PageVariantTestType.ShopifyPDP },
755
- {
756
- testType: PageVariantTestType.InCollection,
757
- collections: ["swim-html"]
758
- },
759
- {
760
- testType: PageVariantTestType.HasReviews,
761
- reviewMinimum: 4
762
- }
763
- ],
764
- productIdExtractor: "shopify-product-id",
765
- widgetMounting: [
766
- {
767
- mountingConfigId: "topSuggestionBarPDP",
768
- widgetConfigId: "topSuggestionsBarSwimwearHasReviews"
769
- },
770
- {
771
- mountingConfigId: "chatPreviewPDP",
772
- widgetConfigId: "chatPreviewPDP"
773
- },
774
- {
775
- mountingConfigId: "bottomSuggestionBarPDP",
776
- widgetConfigId: "bottomSuggestionsBar"
777
- }
778
- ]
779
- },
780
- {
781
- variantId: "pdpSwimwearNoReviews",
782
- variantType: "pdp",
783
- variantTests: [{ testType: PageVariantTestType.ShopifyPDP }, {
784
- testType: PageVariantTestType.InCollection,
785
- collections: ["swim-html"]
786
- }],
787
- productIdExtractor: "shopify-product-id",
788
- widgetMounting: [
789
- {
790
- mountingConfigId: "topSuggestionBarPDP",
791
- widgetConfigId: "topSuggestionsBarSwimwearNoReviews"
792
- },
793
- {
794
- mountingConfigId: "chatPreviewPDP",
795
- widgetConfigId: "chatPreviewPDP"
796
- },
797
- {
798
- mountingConfigId: "bottomSuggestionBarPDP",
799
- widgetConfigId: "bottomSuggestionsBar"
800
- }
801
- ]
802
- },
803
- {
804
- variantId: "pdpShoesHasReviews",
805
- variantType: "pdp",
806
- variantTests: [
807
- { testType: PageVariantTestType.ShopifyPDP },
808
- {
809
- testType: PageVariantTestType.InCollection,
810
- collections: ["shoes"]
811
- },
812
- {
813
- testType: PageVariantTestType.HasReviews,
814
- reviewMinimum: 4
815
- }
816
- ],
817
- productIdExtractor: "shopify-product-id",
818
- widgetMounting: [
819
- {
820
- mountingConfigId: "topSuggestionBarPDP",
821
- widgetConfigId: "topSuggestionsBarShoesHasReviews"
822
- },
823
- {
824
- mountingConfigId: "chatPreviewPDP",
825
- widgetConfigId: "chatPreviewPDP"
826
- },
827
- {
828
- mountingConfigId: "bottomSuggestionBarPDP",
829
- widgetConfigId: "bottomSuggestionsBar"
830
- }
831
- ]
832
- },
833
- {
834
- variantId: "pdpShoesNoReviews",
835
- variantType: "pdp",
836
- variantTests: [{ testType: PageVariantTestType.ShopifyPDP }, {
837
- testType: PageVariantTestType.InCollection,
838
- collections: ["shoes"]
839
- }],
840
- productIdExtractor: "shopify-product-id",
841
- widgetMounting: [
842
- {
843
- mountingConfigId: "topSuggestionBarPDP",
844
- widgetConfigId: "topSuggestionsBarShoesNoReviews"
845
- },
846
- {
847
- mountingConfigId: "chatPreviewPDP",
848
- widgetConfigId: "chatPreviewPDP"
849
- },
850
- {
851
- mountingConfigId: "bottomSuggestionBarPDP",
852
- widgetConfigId: "bottomSuggestionsBar"
853
- }
854
- ]
855
- },
856
- {
857
- variantId: "pdp",
858
- variantType: "pdp",
859
- variantTests: [{ testType: PageVariantTestType.ShopifyPDP }],
860
- productIdExtractor: "shopify-product-id",
861
- widgetMounting: [
862
- {
863
- mountingConfigId: "topSuggestionBarPDP",
864
- widgetConfigId: "topSuggestionsBar"
865
- },
866
- {
867
- mountingConfigId: "chatPreviewPDP",
868
- widgetConfigId: "chatPreviewPDP"
869
- },
870
- {
871
- mountingConfigId: "bottomSuggestionBarPDP",
872
- widgetConfigId: "bottomSuggestionsBar"
873
- }
874
- ]
875
- }
876
- ],
877
- widgetConfigs: {
878
- globalSearchEntryPoint: {
879
- widgetConfigId: "globalSearchEntryPoint",
880
- type: WidgetType.SearchZeroStateEntryPoint,
881
- searchZeroStateVariant: "backgroundTertiary",
882
- searchInputVariant: "standard",
883
- suggestionButtonConfig: {
884
- variant: "darkAccent",
885
- hoverVariant: "secondaryAccent"
886
- },
887
- layout: "icon",
888
- compactLabel: "Search",
889
- searchBoxPlaceholder: "Try \"Colorful maxi for a summer wedding\"",
890
- initialSuggestions: [
891
- "Vintage dresses",
892
- "Maxi dresses",
893
- "Disney outfit",
894
- "Barbie collection",
895
- "1970s jumpsuit",
896
- "One-piece swimsuit",
897
- "Cinderella divine dresses"
898
- ]
899
- },
900
- globalSearchEntryPointMobile: {
901
- widgetConfigId: "globalSearchEntryPointMobile",
902
- type: WidgetType.SearchZeroStateEntryPoint,
903
- searchZeroStateVariant: "backgroundTertiary",
904
- searchInputVariant: "standard",
905
- suggestionButtonConfig: {
906
- variant: "darkAccent",
907
- hoverVariant: "secondaryAccent"
908
- },
909
- layout: "icon",
910
- searchBoxPlaceholder: "Try \"Colorful maxi for a summer wedding\"",
911
- initialSuggestions: [
912
- "Vintage dresses",
913
- "Maxi dresses",
914
- "Disney outfit",
915
- "Barbie collection",
916
- "1970s jumpsuit",
917
- "One-piece swimsuit",
918
- "Cinderella divine dresses"
919
- ]
920
- },
921
- topSuggestionsBar: {
922
- widgetConfigId: "topSuggestionsBar",
923
- contentId: "spiffy-top-suggestion-bar-contents",
924
- type: WidgetType.SuggestionBarV2,
925
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
926
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
927
- variant: "primary",
928
- hoverVariant: "secondaryDark",
929
- buttonTexts: { default: [
930
- "Summarize the reviews",
931
- "What retro charm will this piece bring to my wardrobe?",
932
- "What occasions is this piece perfect for?",
933
- "How do others describe the fit and feel?",
934
- "What makes this piece stand out for others?"
935
- ] },
936
- boldFirstButton: true,
937
- twoRowsOnMobile: false,
938
- buttonBorderRadius: "md"
939
- },
940
- topSuggestionsBarDressesHasReviews: {
941
- widgetConfigId: "topSuggestionsBarDressesHasReviews",
942
- contentId: "spiffy-top-suggestion-bar-contents",
943
- type: WidgetType.SuggestionBarV2,
944
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
945
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
946
- variant: "primary",
947
- hoverVariant: "secondaryDark",
948
- buttonTexts: { default: [
949
- "Summarize the reviews",
950
- "Which unique accessories pair with this?",
951
- "Is the fit flowy or figure-enhancing?",
952
- "Is it true to size?"
953
- ] },
954
- boldFirstButton: true,
955
- twoRowsOnMobile: false,
956
- buttonBorderRadius: "md"
957
- },
958
- topSuggestionsBarDressesNoReviews: {
959
- widgetConfigId: "topSuggestionsBarDressesNoReviews",
960
- contentId: "spiffy-top-suggestion-bar-contents",
961
- type: WidgetType.SuggestionBarV2,
962
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
963
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
964
- variant: "primary",
965
- hoverVariant: "secondaryDark",
966
- buttonTexts: { default: [
967
- "What occasion is this dress for?",
968
- "Which unique accessories pair with this?",
969
- "Is the fit flowy or figure-enhancing?",
970
- "Is it true to size?"
971
- ] },
972
- boldFirstButton: true,
973
- twoRowsOnMobile: false,
974
- buttonBorderRadius: "md"
975
- },
976
- topSuggestionsBarSwimwearHasReviews: {
977
- widgetConfigId: "topSuggestionsBarSwimwearHasReviews",
978
- contentId: "spiffy-top-suggestion-bar-contents",
979
- type: WidgetType.SuggestionBarV2,
980
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
981
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
982
- variant: "primary",
983
- hoverVariant: "secondaryDark",
984
- buttonTexts: { default: [
985
- "Summarize the reviews",
986
- "Which accessories pair well?",
987
- "Does the top have padding?",
988
- "Does it run true to size?"
989
- ] },
990
- boldFirstButton: true,
991
- twoRowsOnMobile: false,
992
- buttonBorderRadius: "md"
993
- },
994
- topSuggestionsBarSwimwearNoReviews: {
995
- widgetConfigId: "topSuggestionsBarSwimwearNoReviews",
996
- contentId: "spiffy-top-suggestion-bar-contents",
997
- type: WidgetType.SuggestionBarV2,
998
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
999
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1000
- variant: "primary",
1001
- hoverVariant: "secondaryDark",
1002
- buttonTexts: { default: [
1003
- "Does it run true to size?",
1004
- "Which accessories pair well?",
1005
- "Does the top have padding?",
1006
- "Does it run true to size?"
1007
- ] },
1008
- boldFirstButton: true,
1009
- twoRowsOnMobile: false,
1010
- buttonBorderRadius: "md"
1011
- },
1012
- topSuggestionsBarShoesHasReviews: {
1013
- widgetConfigId: "topSuggestionsBarShoesHasReviews",
1014
- contentId: "spiffy-top-suggestion-bar-contents",
1015
- type: WidgetType.SuggestionBarV2,
1016
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1017
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1018
- variant: "primary",
1019
- hoverVariant: "secondaryDark",
1020
- buttonTexts: { default: [
1021
- "Summarize the reviews",
1022
- "Is this good for a night out?",
1023
- "Are these true to size?",
1024
- "Are these good for casual wear?"
1025
- ] },
1026
- boldFirstButton: true,
1027
- twoRowsOnMobile: false,
1028
- buttonBorderRadius: "md"
1029
- },
1030
- topSuggestionsBarShoesNoReviews: {
1031
- widgetConfigId: "topSuggestionsBarShoesNoReviews",
1032
- contentId: "spiffy-top-suggestion-bar-contents",
1033
- type: WidgetType.SuggestionBarV2,
1034
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1035
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1036
- variant: "primary",
1037
- hoverVariant: "secondaryDark",
1038
- buttonTexts: { default: [
1039
- "What era inspired these shoes?",
1040
- "Is this good for a night out?",
1041
- "Are these true to size?",
1042
- "Are these good for casual wear?"
1043
- ] },
1044
- boldFirstButton: true,
1045
- twoRowsOnMobile: false,
1046
- buttonBorderRadius: "md"
1047
- },
1048
- searchPromptPLP: {
1049
- widgetConfigId: "searchPromptPLP",
1050
- type: WidgetType.SearchPrompt,
1051
- variant: "primary",
1052
- title: "Find exactly what you're looking for...",
1053
- headerConfig: {
1054
- title: "Search Assistant",
1055
- logo: "search-logo.svg",
1056
- logoHeight: 25,
1057
- orgShortName: "unique-vintage"
1058
- },
1059
- suggestionButtons: {
1060
- variant: "darkPrimary",
1061
- hoverVariant: "secondary",
1062
- buttonTexts: [
1063
- "Vintage dresses",
1064
- "Maxi dresses",
1065
- "Disney outfit",
1066
- "Barbie collection",
1067
- "1970s jumpsuit",
1068
- "One-piece swimsuit",
1069
- "Cinderella divine dresses"
1070
- ]
1071
- },
1072
- footerConfig: {
1073
- replyButtonText: "Be as specific as you like...",
1074
- replyButtonIcon: "ai-search"
1075
- }
1076
- },
1077
- chatPreviewPLP: {
1078
- widgetConfigId: "chatPreview",
1079
- type: WidgetType.ChatPreview,
1080
- variant: "filled",
1081
- addSeparators: true,
1082
- footerConfig: {
1083
- replyButtonText: "What can I help you find?",
1084
- replyButtonIcon: "magnifyingGlass"
1085
- }
1086
- },
1087
- chatPreviewPDP: {
1088
- widgetConfigId: "chatPreviewPDP",
1089
- type: WidgetType.ChatPreview,
1090
- variant: "filled",
1091
- addSeparators: true
1092
- },
1093
- bottomSuggestionsBar: {
1094
- widgetConfigId: "bottomSuggestionsBar",
1095
- contentId: "spiffy-bottom-suggestion-bar-contents",
1096
- type: WidgetType.SuggestionBarV2,
1097
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1098
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1099
- variant: "dark",
1100
- hoverVariant: "secondaryDark",
1101
- buttonTexts: { default: [
1102
- "Summarize the reviews",
1103
- "What retro charm will this piece bring to my wardrobe?",
1104
- "What occasions is this piece perfect for?",
1105
- "How do others describe the fit and feel?",
1106
- "What makes this piece stand out for others?"
1107
- ] },
1108
- boldFirstButton: true,
1109
- twoRowsOnMobile: true,
1110
- animationSpeed: "none",
1111
- buttonBorderRadius: "md"
1112
- }
1113
- },
1114
- mountingConfigs: {
1115
- globalSearchEntryPoint: {
1116
- mountingConfigId: "globalSearchEntryPoint",
1117
- containerId: GLOBAL_SEARCH_ENTRYPOINT_ID,
1118
- testId: GLOBAL_SEARCH_ENTRYPOINT_TESTID,
1119
- insertionPoint: {
1120
- selector: ".header__search.header__search--desktop",
1121
- insertionType: DOMInsertionType.AFTER
1122
- },
1123
- suppressionSelector: ".search-modal__content.search-modal__content-bottom",
1124
- className: "global-entry-desktop",
1125
- style: {
1126
- zIndex: "2147483647",
1127
- marginRight: "32px",
1128
- height: "80px"
1129
- }
1130
- },
1131
- globalSearchEntryPointMobile: {
1132
- mountingConfigId: "globalSearchEntryPoint",
1133
- containerId: MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID,
1134
- testId: GLOBAL_SEARCH_ENTRYPOINT_TESTID,
1135
- insertionPoint: {
1136
- selector: "sticky-header.header-wrapper:has(.mobile-search)",
1137
- insertionType: DOMInsertionType.AFTER
1138
- },
1139
- suppressionSelector: ".mobile-search .search-modal__form",
1140
- className: "global-entry-mobile",
1141
- style: {
1142
- zIndex: "2147483647",
1143
- marginTop: "8px",
1144
- marginLeft: "15px",
1145
- marginRight: "15px"
1146
- }
1147
- },
1148
- chatPreviewPLP: {
1149
- mountingConfigId: "chatPreviewPLP",
1150
- containerId: CHAT_PREVIEW_CONTAINER_ID,
1151
- testId: CHAT_PREVIEW_TESTID,
1152
- insertionPoint: {
1153
- selector: ".collection .product-grid",
1154
- insertionType: DOMInsertionType.AFTER
1155
- },
1156
- gridInsertionType: GridInsertionType.ROW_2
1157
- },
1158
- chatPreviewPDP: {
1159
- mountingConfigId: "chatPreviewPDP",
1160
- containerId: CHAT_PREVIEW_CONTAINER_ID,
1161
- testId: CHAT_PREVIEW_TESTID,
1162
- insertionPoint: {
1163
- selector: ".product__accordion",
1164
- insertionType: DOMInsertionType.BEFORE
1165
- },
1166
- style: {
1167
- marginTop: "16px",
1168
- marginBottom: "8px"
1169
- }
1170
- },
1171
- topSuggestionBarPDP: {
1172
- mountingConfigId: "topSuggestionBarPDP",
1173
- containerId: TOP_SUGGESTION_BAR_PDP_ID,
1174
- testId: TOP_SUGGESTION_BAR_TESTID,
1175
- insertionPoint: {
1176
- selector: "div:has(> .main_price)",
1177
- insertionType: DOMInsertionType.AFTER
1178
- },
1179
- style: {
1180
- marginTop: "16px",
1181
- marginBottom: "16px"
1182
- }
1183
- },
1184
- bottomSuggestionBarPDP: {
1185
- mountingConfigId: "bottomSuggestionBarPDP",
1186
- containerId: BOTTOM_REVIEWS_BAR_ID,
1187
- testId: BOTTOM_SUGGESTION_BAR_TESTID,
1188
- insertionPoint: {
1189
- selector: ".junip-product-review-summary-wrapper + div.junip-separator",
1190
- insertionType: DOMInsertionType.ADJACENT_AFTER_END,
1191
- selectionIndex: 0
1192
- },
1193
- style: {
1194
- marginTop: "16px",
1195
- marginBottom: "16px"
1196
- }
1197
- }
1198
- }
1199
- });
1200
- const uniqueVintageOrgInfo = {
1201
- shortName: OrgShortName.UniqueVintage,
1202
- name: "Unique Vintage",
1203
- domain: "unique-vintage.com",
1204
- defaultProductId: "red-cowgirl-print-swing-shirt-dress",
1205
- alwaysEnabledMerchants: true,
1206
- orgUIConfig: uniqueVintageOrgUIConfig,
1207
- orgColors: () => uniqueVintageColors,
1208
- orgPageConfig: uniqueVintagePageConfig
1209
- };
1210
-
1211
- //#endregion
1212
- export { uniqueVintageOrgInfo };