@envive-ai/react-hooks 0.1.5 → 0.1.7

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 (747) hide show
  1. package/dist/NewOrgConfig-C5YL4Y62.cjs +20 -0
  2. package/dist/NewOrgConfig-CRyIfb_l.js +15 -0
  3. package/dist/SystemSettingsContext-Cb9YHln8.cjs +20 -0
  4. package/dist/SystemSettingsContext-D3mmGGcv.js +13 -0
  5. package/dist/TrackComponentVisibleEvent-C7c_rHFW.cjs +59 -0
  6. package/dist/TrackComponentVisibleEvent-DXTEBjGM.js +52 -0
  7. package/dist/amplitudeContext-CB_F-nJY.d.cts +52 -0
  8. package/dist/amplitudeContext-Cak6ijMq.js +287 -0
  9. package/dist/amplitudeContext-DFYBDc0h.d.ts +52 -0
  10. package/dist/amplitudeContext-sTEsPaVG.cjs +309 -0
  11. package/dist/api-DSFlctlc.cjs +269 -0
  12. package/dist/api-JTNjuOfc.js +190 -0
  13. package/dist/app-D_upYeqF.js +132 -0
  14. package/dist/app-KXTMPa4s.cjs +178 -0
  15. package/dist/application/models/graphql/index.cjs +4 -12
  16. package/dist/application/models/graphql/index.d.cts +1 -1
  17. package/dist/application/models/graphql/index.d.ts +1 -1
  18. package/dist/application/models/graphql/index.js +2 -10
  19. package/dist/application/models/guards/api/index.cjs +2 -2
  20. package/dist/application/models/guards/api/index.d.cts +2 -2
  21. package/dist/application/models/guards/api/index.d.ts +2 -2
  22. package/dist/application/models/guards/api/index.js +2 -2
  23. package/dist/application/models/index.cjs +52 -56
  24. package/dist/application/models/index.d.cts +10 -8
  25. package/dist/application/models/index.d.ts +11 -9
  26. package/dist/application/models/index.js +10 -11
  27. package/dist/application/models/utilityTypes/index.cjs +1 -1
  28. package/dist/application/models/utilityTypes/index.d.cts +1 -1
  29. package/dist/application/models/utilityTypes/index.d.ts +1 -1
  30. package/dist/application/models/utilityTypes/index.js +1 -1
  31. package/dist/application/models/variantInfo/index.cjs +1 -1
  32. package/dist/application/models/variantInfo/index.d.ts +1 -1
  33. package/dist/application/models/variantInfo/index.js +1 -1
  34. package/dist/application/utils/index.cjs +46 -37
  35. package/dist/application/utils/index.d.cts +21 -13
  36. package/dist/application/utils/index.d.ts +21 -13
  37. package/dist/application/utils/index.js +19 -10
  38. package/dist/{atomStore-JwGb7pcy.cjs → atomStore-DEZyFCNz.cjs} +1 -1
  39. package/dist/{atomStore-B1cgmbP0.js → atomStore-DnPEioF4.js} +1 -1
  40. package/dist/atoms/app/index.cjs +18 -16
  41. package/dist/atoms/app/index.d.cts +23 -18
  42. package/dist/atoms/app/index.d.ts +24 -19
  43. package/dist/atoms/app/index.js +14 -11
  44. package/dist/atoms/atomStore/index.cjs +2 -1
  45. package/dist/atoms/atomStore/index.d.cts +24 -2
  46. package/dist/atoms/atomStore/index.d.ts +24 -2
  47. package/dist/atoms/atomStore/index.js +2 -1
  48. package/dist/atoms/chat/index.cjs +50 -40
  49. package/dist/atoms/chat/index.d.cts +38 -35
  50. package/dist/atoms/chat/index.d.ts +39 -36
  51. package/dist/atoms/chat/index.js +20 -10
  52. package/dist/atoms/globalSearch/index.cjs +1 -1
  53. package/dist/atoms/globalSearch/index.d.cts +5 -5
  54. package/dist/atoms/globalSearch/index.d.ts +6 -6
  55. package/dist/atoms/globalSearch/index.js +1 -1
  56. package/dist/atoms/org/index.cjs +18 -38
  57. package/dist/atoms/org/index.d.cts +36 -54
  58. package/dist/atoms/org/index.d.ts +36 -54
  59. package/dist/atoms/org/index.js +5 -11
  60. package/dist/atoms/search/index.cjs +57 -41
  61. package/dist/atoms/search/index.d.cts +11 -8
  62. package/dist/atoms/search/index.d.ts +12 -9
  63. package/dist/atoms/search/index.js +26 -10
  64. package/dist/atoms/search/types.cjs +5 -0
  65. package/dist/atoms/search/types.d.cts +2 -0
  66. package/dist/atoms/search/types.d.ts +2 -0
  67. package/dist/atoms/search/types.js +3 -0
  68. package/dist/cdnContext-BMjVfBft.cjs +53 -0
  69. package/dist/cdnContext-DgsJ00Tb.js +38 -0
  70. package/dist/{chat-CHmD79E1.js → chat-B4lkFIxz.js} +1 -1
  71. package/dist/chat-D1Eat8Ih.cjs +394 -0
  72. package/dist/chat-DPJGdUkz.js +258 -0
  73. package/dist/{chat-_NzpO_Hn.cjs → chat-zA-K4tR_.cjs} +1 -1
  74. package/dist/chatElementDisplayLocation-9SW40Dd3.d.cts +25 -0
  75. package/dist/chatElementDisplayLocation-C1tRM5OD.d.ts +25 -0
  76. package/dist/chatSearch-B5jMnCYX.js +315 -0
  77. package/dist/chatSearch-DWMiyWN0.cjs +444 -0
  78. package/dist/chatState-BisPJd5g.cjs +120 -0
  79. package/dist/chatState-BrmBYY8l.js +34 -0
  80. package/dist/commerce-api-CxDIfeME.cjs +318 -0
  81. package/dist/commerce-api-DagLj3D_.js +311 -0
  82. package/dist/{components-Dl-TMD9k.js → components-B1edduHz.js} +1 -1
  83. package/dist/{components-D0XDRcaN.cjs → components-g0G58Kat.cjs} +1 -1
  84. package/dist/config/locators/components/chat/index.cjs +1 -1
  85. package/dist/config/locators/components/chat/index.d.cts +1 -1
  86. package/dist/config/locators/components/chat/index.d.ts +1 -1
  87. package/dist/config/locators/components/chat/index.js +1 -1
  88. package/dist/config/locators/components/chat/variants/index.d.cts +1 -1
  89. package/dist/config/locators/components/chat/variants/index.d.ts +1 -1
  90. package/dist/config/locators/components/index.cjs +1 -1
  91. package/dist/config/locators/components/index.d.cts +1 -1
  92. package/dist/config/locators/components/index.d.ts +1 -1
  93. package/dist/config/locators/components/index.js +1 -1
  94. package/dist/config/locators/components/search/index.d.cts +1 -1
  95. package/dist/config/locators/components/search/index.d.ts +1 -1
  96. package/dist/config/locators/index.cjs +42 -22
  97. package/dist/config/locators/index.d.cts +2 -2
  98. package/dist/config/locators/index.d.ts +3 -3
  99. package/dist/config/locators/index.js +25 -5
  100. package/dist/contexts/amplitudeContext/index.cjs +21 -0
  101. package/dist/contexts/amplitudeContext/index.d.cts +2 -0
  102. package/dist/contexts/amplitudeContext/index.d.ts +2 -0
  103. package/dist/contexts/amplitudeContext/index.js +19 -0
  104. package/dist/contexts/cdnContext/index.cjs +7 -0
  105. package/dist/contexts/cdnContext/index.d.cts +15 -0
  106. package/dist/contexts/cdnContext/index.d.ts +15 -0
  107. package/dist/contexts/cdnContext/index.js +6 -0
  108. package/dist/contexts/chatContext/index.cjs +329 -0
  109. package/dist/contexts/chatContext/index.d.cts +15 -0
  110. package/dist/contexts/chatContext/index.d.ts +15 -0
  111. package/dist/contexts/chatContext/index.js +322 -0
  112. package/dist/contexts/enviveConfigContext/index.cjs +7 -0
  113. package/dist/contexts/enviveConfigContext/index.d.cts +30 -0
  114. package/dist/contexts/enviveConfigContext/index.d.ts +30 -0
  115. package/dist/contexts/enviveConfigContext/index.js +6 -0
  116. package/dist/contexts/enviveCssContext/index.cjs +65 -0
  117. package/dist/contexts/enviveCssContext/index.d.cts +10 -0
  118. package/dist/contexts/enviveCssContext/index.d.ts +10 -0
  119. package/dist/contexts/enviveCssContext/index.js +62 -0
  120. package/dist/contexts/featureFlagContext/index.cjs +107 -0
  121. package/dist/contexts/featureFlagContext/index.d.cts +20 -0
  122. package/dist/contexts/featureFlagContext/index.d.ts +20 -0
  123. package/dist/contexts/featureFlagContext/index.js +103 -0
  124. package/dist/contexts/featureFlagServiceContext/index.cjs +6 -0
  125. package/dist/contexts/featureFlagServiceContext/index.d.cts +5 -0
  126. package/dist/contexts/featureFlagServiceContext/index.d.ts +5 -0
  127. package/dist/contexts/featureFlagServiceContext/index.js +5 -0
  128. package/dist/contexts/graphqlContext/index.cjs +15 -0
  129. package/dist/contexts/graphqlContext/index.d.cts +12 -0
  130. package/dist/contexts/graphqlContext/index.d.ts +12 -0
  131. package/dist/contexts/graphqlContext/index.js +14 -0
  132. package/dist/contexts/localStorageContext/index.cjs +6 -0
  133. package/dist/contexts/localStorageContext/index.d.cts +30 -0
  134. package/dist/contexts/localStorageContext/index.d.ts +30 -0
  135. package/dist/contexts/localStorageContext/index.js +4 -0
  136. package/dist/contexts/newOrgConfigContext/index.cjs +19 -0
  137. package/dist/contexts/newOrgConfigContext/index.d.cts +30 -0
  138. package/dist/contexts/newOrgConfigContext/index.d.ts +30 -0
  139. package/dist/contexts/newOrgConfigContext/index.js +18 -0
  140. package/dist/contexts/searchContext/index.cjs +23 -0
  141. package/dist/contexts/searchContext/index.d.cts +16 -0
  142. package/dist/contexts/searchContext/index.d.ts +16 -0
  143. package/dist/contexts/searchContext/index.js +22 -0
  144. package/dist/contexts/sessionStorageContext/index.cjs +5 -0
  145. package/dist/contexts/sessionStorageContext/index.d.cts +15 -0
  146. package/dist/contexts/sessionStorageContext/index.d.ts +15 -0
  147. package/dist/contexts/sessionStorageContext/index.js +4 -0
  148. package/dist/contexts/shopifyUrlContext/index.cjs +5 -0
  149. package/dist/contexts/shopifyUrlContext/index.d.cts +20 -0
  150. package/dist/contexts/shopifyUrlContext/index.d.ts +20 -0
  151. package/dist/contexts/shopifyUrlContext/index.js +4 -0
  152. package/dist/contexts/systemSettingsContext/index.cjs +8 -0
  153. package/dist/contexts/systemSettingsContext/index.d.cts +36 -0
  154. package/dist/contexts/systemSettingsContext/index.d.ts +36 -0
  155. package/dist/contexts/systemSettingsContext/index.js +6 -0
  156. package/dist/contexts/types.cjs +7 -0
  157. package/dist/contexts/types.d.cts +4 -0
  158. package/dist/contexts/types.d.ts +4 -0
  159. package/dist/contexts/types.js +3 -0
  160. package/dist/contexts/userIdentityContext/index.cjs +26 -0
  161. package/dist/contexts/userIdentityContext/index.d.cts +2 -0
  162. package/dist/contexts/userIdentityContext/index.d.ts +2 -0
  163. package/dist/contexts/userIdentityContext/index.js +25 -0
  164. package/dist/domObserver-B6cRGTny.js +285 -0
  165. package/dist/domObserver-DQZwhPrc.cjs +304 -0
  166. package/dist/enviveConfig-BJZ4zTJo.js +62 -0
  167. package/dist/enviveConfig-DdBrcGSQ.cjs +130 -0
  168. package/dist/enviveConfigContext-78orE_uH.cjs +60 -0
  169. package/dist/enviveConfigContext-jBCCWQH9.js +45 -0
  170. package/dist/events/index.cjs +1 -1
  171. package/dist/events/index.d.ts +1 -1
  172. package/dist/events/index.js +1 -1
  173. package/dist/{events-ClCDFK7t.js → events-BHJJjPDN.js} +1 -1
  174. package/dist/{events-Da7gpmGv.cjs → events-B_fJZf9E.cjs} +1 -1
  175. package/dist/featureFlagServiceContext-ChL7DJ53.cjs +56 -0
  176. package/dist/featureFlagServiceContext-D1PzHsEs.d.ts +23 -0
  177. package/dist/featureFlagServiceContext-DQwlCTde.d.cts +23 -0
  178. package/dist/featureFlagServiceContext-DzFfmb1Z.js +42 -0
  179. package/dist/featureGates-Blx10fwB.js +27 -0
  180. package/dist/featureGates-DcZNrUma.cjs +33 -0
  181. package/dist/frontendConfig-DrvrQSm8.d.ts +857 -0
  182. package/dist/frontendConfig-wg41mBok.d.cts +857 -0
  183. package/dist/{globalSearch-BTeZxvk1.cjs → globalSearch-Bnjlxtr5.cjs} +1 -1
  184. package/dist/{globalSearch-b0wC7ZEO.js → globalSearch-CRWUqnjq.js} +1 -1
  185. package/dist/graphql-B9HhDXYt.cjs +53 -0
  186. package/dist/graphql-W7GMIHUu.js +36 -0
  187. package/dist/graphqlConfig-Bn-HLHsh.cjs +39 -0
  188. package/dist/graphqlConfig-DtZm_YaH.js +14 -0
  189. package/dist/graphqlContext-BJg7B--J.js +96 -0
  190. package/dist/graphqlContext-DI-_VRmb.cjs +111 -0
  191. package/dist/hooks/AmplitudeOperations/index.cjs +21 -0
  192. package/dist/hooks/AmplitudeOperations/index.d.cts +12 -0
  193. package/dist/hooks/AmplitudeOperations/index.d.ts +12 -0
  194. package/dist/hooks/AmplitudeOperations/index.js +21 -0
  195. package/dist/hooks/AppDetails/index.cjs +18 -0
  196. package/dist/hooks/AppDetails/index.d.cts +26 -0
  197. package/dist/hooks/AppDetails/index.d.ts +26 -0
  198. package/dist/hooks/AppDetails/index.js +18 -0
  199. package/dist/hooks/BlockBackButton/index.cjs +29 -0
  200. package/dist/hooks/BlockBackButton/index.d.cts +5 -0
  201. package/dist/hooks/BlockBackButton/index.d.ts +5 -0
  202. package/dist/hooks/BlockBackButton/index.js +27 -0
  203. package/dist/hooks/CdnOperations/index.cjs +24 -0
  204. package/dist/hooks/CdnOperations/index.d.cts +7 -0
  205. package/dist/hooks/CdnOperations/index.d.ts +7 -0
  206. package/dist/hooks/CdnOperations/index.js +22 -0
  207. package/dist/hooks/ChatToggle/index.cjs +63 -0
  208. package/dist/hooks/ChatToggle/index.d.cts +12 -0
  209. package/dist/hooks/ChatToggle/index.d.ts +12 -0
  210. package/dist/hooks/ChatToggle/index.js +61 -0
  211. package/dist/hooks/ChatToggleAnalytics/index.cjs +37 -0
  212. package/dist/hooks/ChatToggleAnalytics/index.d.cts +9 -0
  213. package/dist/hooks/ChatToggleAnalytics/index.d.ts +9 -0
  214. package/dist/hooks/ChatToggleAnalytics/index.js +35 -0
  215. package/dist/hooks/CustomerSupportHandoff/index.cjs +36 -0
  216. package/dist/hooks/CustomerSupportHandoff/index.d.cts +16 -0
  217. package/dist/hooks/CustomerSupportHandoff/index.d.ts +16 -0
  218. package/dist/hooks/CustomerSupportHandoff/index.js +34 -0
  219. package/dist/hooks/Debounce/index.cjs +3 -0
  220. package/dist/hooks/Debounce/index.d.cts +5 -0
  221. package/dist/hooks/Debounce/index.d.ts +5 -0
  222. package/dist/hooks/Debounce/index.js +3 -0
  223. package/dist/hooks/ElementObserver/index.cjs +179 -0
  224. package/dist/hooks/ElementObserver/index.d.cts +29 -0
  225. package/dist/hooks/ElementObserver/index.d.ts +29 -0
  226. package/dist/hooks/ElementObserver/index.js +177 -0
  227. package/dist/hooks/GrabAndScroll/index.cjs +99 -0
  228. package/dist/hooks/GrabAndScroll/index.d.cts +14 -0
  229. package/dist/hooks/GrabAndScroll/index.d.ts +14 -0
  230. package/dist/hooks/GrabAndScroll/index.js +97 -0
  231. package/dist/hooks/GraphQLConfig/index.cjs +16 -0
  232. package/dist/hooks/GraphQLConfig/index.d.cts +15 -0
  233. package/dist/hooks/GraphQLConfig/index.d.ts +15 -0
  234. package/dist/hooks/GraphQLConfig/index.js +15 -0
  235. package/dist/hooks/IdentifyUser/index.cjs +59 -0
  236. package/dist/hooks/IdentifyUser/index.d.cts +10 -0
  237. package/dist/hooks/IdentifyUser/index.d.ts +10 -0
  238. package/dist/hooks/IdentifyUser/index.js +57 -0
  239. package/dist/hooks/ImageResolver/index.cjs +54 -0
  240. package/dist/hooks/ImageResolver/index.d.cts +7 -0
  241. package/dist/hooks/ImageResolver/index.d.ts +7 -0
  242. package/dist/hooks/ImageResolver/index.js +52 -0
  243. package/dist/hooks/Intersection/index.cjs +3 -0
  244. package/dist/hooks/Intersection/index.d.cts +7 -0
  245. package/dist/hooks/Intersection/index.d.ts +7 -0
  246. package/dist/hooks/Intersection/index.js +3 -0
  247. package/dist/hooks/IsSmallScreen/index.cjs +22 -0
  248. package/dist/hooks/IsSmallScreen/index.d.cts +5 -0
  249. package/dist/hooks/IsSmallScreen/index.d.ts +5 -0
  250. package/dist/hooks/IsSmallScreen/index.js +20 -0
  251. package/dist/hooks/LocalStorageOperations/index.cjs +79 -0
  252. package/dist/hooks/LocalStorageOperations/index.d.cts +17 -0
  253. package/dist/hooks/LocalStorageOperations/index.d.ts +17 -0
  254. package/dist/hooks/LocalStorageOperations/index.js +74 -0
  255. package/dist/hooks/MessageFilter/index.cjs +53 -0
  256. package/dist/hooks/MessageFilter/index.d.cts +29 -0
  257. package/dist/hooks/MessageFilter/index.d.ts +29 -0
  258. package/dist/hooks/MessageFilter/index.js +53 -0
  259. package/dist/hooks/MessageScrollObserver/index.cjs +36 -0
  260. package/dist/hooks/MessageScrollObserver/index.d.cts +5 -0
  261. package/dist/hooks/MessageScrollObserver/index.d.ts +5 -0
  262. package/dist/hooks/MessageScrollObserver/index.js +34 -0
  263. package/dist/hooks/NewOrgConfig/index.cjs +19 -0
  264. package/dist/hooks/NewOrgConfig/index.d.cts +22 -0
  265. package/dist/hooks/NewOrgConfig/index.d.ts +22 -0
  266. package/dist/hooks/NewOrgConfig/index.js +19 -0
  267. package/dist/hooks/Search/index.cjs +324 -0
  268. package/dist/hooks/Search/index.d.cts +66 -0
  269. package/dist/hooks/Search/index.d.ts +66 -0
  270. package/dist/hooks/Search/index.js +321 -0
  271. package/dist/hooks/SearchOperations/index.cjs +101 -0
  272. package/dist/hooks/SearchOperations/index.d.cts +22 -0
  273. package/dist/hooks/SearchOperations/index.d.ts +22 -0
  274. package/dist/hooks/SearchOperations/index.js +98 -0
  275. package/dist/hooks/SessionStorageOperations/index.cjs +30 -0
  276. package/dist/hooks/SessionStorageOperations/index.d.cts +8 -0
  277. package/dist/hooks/SessionStorageOperations/index.d.ts +8 -0
  278. package/dist/hooks/SessionStorageOperations/index.js +28 -0
  279. package/dist/hooks/ShopifyUrlOperations/index.cjs +53 -0
  280. package/dist/hooks/ShopifyUrlOperations/index.d.cts +23 -0
  281. package/dist/hooks/ShopifyUrlOperations/index.d.ts +23 -0
  282. package/dist/hooks/ShopifyUrlOperations/index.js +49 -0
  283. package/dist/hooks/SnapCalculator/index.cjs +29 -0
  284. package/dist/hooks/SnapCalculator/index.d.cts +12 -0
  285. package/dist/hooks/SnapCalculator/index.d.ts +12 -0
  286. package/dist/hooks/SnapCalculator/index.js +27 -0
  287. package/dist/hooks/SystemSettingsContext/index.cjs +7 -0
  288. package/dist/hooks/SystemSettingsContext/index.d.cts +22 -0
  289. package/dist/hooks/SystemSettingsContext/index.d.ts +22 -0
  290. package/dist/hooks/SystemSettingsContext/index.js +7 -0
  291. package/dist/hooks/TrackComponentVisibleEvent/index.cjs +21 -0
  292. package/dist/hooks/TrackComponentVisibleEvent/index.d.cts +18 -0
  293. package/dist/hooks/TrackComponentVisibleEvent/index.d.ts +18 -0
  294. package/dist/hooks/TrackComponentVisibleEvent/index.js +21 -0
  295. package/dist/hooks/UpdateAnalyticsProps/index.cjs +61 -0
  296. package/dist/hooks/UpdateAnalyticsProps/index.d.cts +9 -0
  297. package/dist/hooks/UpdateAnalyticsProps/index.d.ts +9 -0
  298. package/dist/hooks/UpdateAnalyticsProps/index.js +58 -0
  299. package/dist/index-BCLaqnc2.d.cts +689 -0
  300. package/dist/{index-D2VaMPA3.d.ts → index-BS7-_CW4.d.ts} +1 -1
  301. package/dist/{index-BTK5uzs6.d.cts → index-Bmub8e38.d.cts} +1 -1
  302. package/dist/index-Bs0QtkSu.d.ts +689 -0
  303. package/dist/{index-BzgkfbNO.d.cts → index-CESxqFso.d.cts} +1 -1
  304. package/dist/index-CKeS9dud.d.ts +28 -0
  305. package/dist/{index-ClJ0nMsR.d.cts → index-CiWEYzXl.d.cts} +2 -2
  306. package/dist/index-CyXULMyI.d.cts +186 -0
  307. package/dist/index-Cz10TYQA.d.cts +28 -0
  308. package/dist/{index-CSIOQD-A.d.ts → index-D8ThXrqI.d.ts} +1 -1
  309. package/dist/{index-Dxpscrvz.d.ts → index-D9VegTU-.d.ts} +1 -1
  310. package/dist/{index-Cr2y08f1.d.ts → index-DBqgBV9N.d.ts} +1 -1
  311. package/dist/{index-CKKkTsms.d.ts → index-DNUKSg6R.d.ts} +1 -1
  312. package/dist/{index-BdNKc2ix.d.cts → index-DO0s5KNA.d.cts} +1 -1
  313. package/dist/{index-Cx9e-fRi.d.ts → index-DuyZQOE1.d.ts} +2 -2
  314. package/dist/{index-BrXuc_Ck.d.cts → index-REhT-Pls.d.cts} +1 -1
  315. package/dist/index-fKJB9EFb.d.ts +186 -0
  316. package/dist/interceptors/index.cjs +3 -12
  317. package/dist/interceptors/index.d.cts +12 -18
  318. package/dist/interceptors/index.d.ts +13 -19
  319. package/dist/interceptors/index.js +3 -11
  320. package/dist/interceptors/types.cjs +1 -0
  321. package/dist/interceptors/types.d.cts +12 -0
  322. package/dist/interceptors/types.d.ts +12 -0
  323. package/dist/interceptors/types.js +3 -0
  324. package/dist/localStorageContext-6OrGDFid.js +95 -0
  325. package/dist/localStorageContext-Bld0OWmG.cjs +115 -0
  326. package/dist/{logger-Dln20ans.cjs → logger-CSL2jqI9.cjs} +1 -1
  327. package/dist/{logger-pdEEY8T2.js → logger-D5MFf3nW.js} +1 -1
  328. package/dist/models-Dn8Emdzc.js +1295 -0
  329. package/dist/models-ZpQcRZQK.cjs +1536 -0
  330. package/dist/newOrgConfigAtom--tewb_G0.js +8 -0
  331. package/dist/newOrgConfigAtom-DkSi45_Q.cjs +15 -0
  332. package/dist/newOrgConfigContext-B3aeblfE.cjs +68 -0
  333. package/dist/newOrgConfigContext-B5mzHKTG.js +53 -0
  334. package/dist/{nodeSelector-vKB44CDB.d.cts → nodeSelector-XsUa5vNH.d.cts} +1 -1
  335. package/dist/org-B2uRkPt3.js +12 -0
  336. package/dist/org-ClUxpHPZ.cjs +43 -0
  337. package/dist/orgAnalyticsConfig-CuWXijsr.cjs +39 -0
  338. package/dist/orgAnalyticsConfig-DOceTdNp.js +14 -0
  339. package/dist/search-BIomqYy6.d.ts +20 -0
  340. package/dist/search-B_Hg-Es2.d.cts +20 -0
  341. package/dist/search-Bn4x-3TG.js +126 -0
  342. package/dist/search-DsQm_pAi.cjs +205 -0
  343. package/dist/{search-filter-types-C-zZSpGo.d.ts → search-filter-types-B5xcaEit.d.ts} +1 -1
  344. package/dist/{search-filter-types-9rTb3jMj.d.cts → search-filter-types-Byd0lEUa.d.cts} +1 -1
  345. package/dist/searchContext-Cn-pCoDy.cjs +145 -0
  346. package/dist/searchContext-fQDGSvUF.js +129 -0
  347. package/dist/searchServiceAdapter-BSPZOg1r.js +16 -0
  348. package/dist/searchServiceAdapter-DrjFCiw8.cjs +34 -0
  349. package/dist/sessionStorageContext-C5MUl2zf.js +52 -0
  350. package/dist/sessionStorageContext-CXE7iHtP.cjs +66 -0
  351. package/dist/shopifyUrlContext-7ppKx1jJ.cjs +75 -0
  352. package/dist/shopifyUrlContext-BSYWsoX9.js +61 -0
  353. package/dist/spiffyWidgets-CdxRcXhW.d.ts +20 -0
  354. package/dist/spiffyWidgets-DxGuuuCG.d.cts +20 -0
  355. package/dist/systemSettingsContext-BdAe_3Ll.cjs +60 -0
  356. package/dist/systemSettingsContext-Cjyo2o3N.js +39 -0
  357. package/dist/{test-types-CuOq25VT.d.cts → test-types-DQB1JqOf.d.cts} +1 -1
  358. package/dist/{test-types-CXVJxTeu.d.ts → test-types-ZuRAYwox.d.ts} +1 -1
  359. package/dist/types/index.cjs +33 -5
  360. package/dist/types/index.d.cts +2 -2
  361. package/dist/types/index.d.ts +2 -2
  362. package/dist/types/index.js +30 -3
  363. package/dist/types-BCz-hOvv.d.ts +51 -0
  364. package/dist/types-BwNrLPSZ.cjs +106 -0
  365. package/dist/types-D3uOF0Oy.js +76 -0
  366. package/dist/types-DIk0FLwd.js +30 -0
  367. package/dist/types-DNLkuGWZ.cjs +48 -0
  368. package/dist/types-DzwBmZHy.d.cts +10 -0
  369. package/dist/types-Eip78dWv.d.cts +51 -0
  370. package/dist/types-YvACLe2e.d.ts +10 -0
  371. package/dist/types.cjs +0 -0
  372. package/dist/types.d.cts +15 -0
  373. package/dist/types.d.ts +15 -0
  374. package/dist/types.js +1 -0
  375. package/dist/unsupportedProductExceptions--t7AQFou.js +20 -0
  376. package/dist/unsupportedProductExceptions-Dak4AD-t.cjs +32 -0
  377. package/dist/urlsParser-BV5yF8sa.cjs +78 -0
  378. package/dist/urlsParser-DUgV_Qy9.js +42 -0
  379. package/dist/useAmplitudeOperations-C6Osqkso.js +34 -0
  380. package/dist/useAmplitudeOperations-Cco_B3A5.cjs +41 -0
  381. package/dist/useAppDetails-CGqtN6sJ.cjs +38 -0
  382. package/dist/useAppDetails-DwX2Rhed.js +30 -0
  383. package/dist/useDebounce-BJqnCBcl.cjs +26 -0
  384. package/dist/useDebounce-Ce31ph7m.js +19 -0
  385. package/dist/useGraphQLConfig-ByOZb3oZ.js +63 -0
  386. package/dist/useGraphQLConfig-DItL4BgM.cjs +76 -0
  387. package/dist/useIntersection-Czeo04jt.js +21 -0
  388. package/dist/useIntersection-DnZNLcnu.cjs +28 -0
  389. package/dist/useMessageInterceptor-C9p9No1n.cjs +33 -0
  390. package/dist/useMessageInterceptor-tntd2rvB.js +25 -0
  391. package/dist/userIdentityContext-C1HzZFb2.cjs +125 -0
  392. package/dist/userIdentityContext-CDfosvOO.js +109 -0
  393. package/dist/userIdentityContext-DBXoLrFu.d.cts +20 -0
  394. package/dist/userIdentityContext-W1OWF3cG.d.ts +20 -0
  395. package/dist/utilityTypes-CWJZb9BZ.js +1 -0
  396. package/dist/utilityTypes-YGiMSyV7.cjs +0 -0
  397. package/dist/utils-BA5HXmkL.cjs +74 -0
  398. package/dist/utils-BTDw2aMx.cjs +715 -0
  399. package/dist/utils-C7S9YiFp.js +54 -0
  400. package/dist/utils-CF13DfA1.js +606 -0
  401. package/dist/variantInfo-58JLeDJb.js +1 -0
  402. package/dist/variantInfo-DRFLcGc7.cjs +0 -0
  403. package/package.json +278 -25
  404. package/src/{adapters/spiffy/commerce/api.ts → application/commerce-api.ts} +31 -23
  405. package/src/application/models/colorsConfig.ts +18 -18
  406. package/src/application/models/frontendConfig.ts +3 -3
  407. package/src/application/models/graphql/queries/getMerchantColorsQuery.ts +1 -1
  408. package/src/application/models/graphql/queries/getMerchantFrontendConfigQuery.ts +1 -1
  409. package/src/application/models/index.ts +0 -3
  410. package/src/application/models/localStorageEventListener.ts +2 -2
  411. package/src/application/models/utils/snakeToCamelTransformer.ts +8 -8
  412. package/src/application/models/validators/validateGraphQLColorsConfig.ts +0 -21
  413. package/src/application/models/validators/validateGraphQLFrontendConfig.ts +2 -2
  414. package/src/application/utils/analyticsUtils.ts +53 -22
  415. package/src/application/utils/cdnUtils.ts +11 -0
  416. package/src/atoms/amplitude/amplitudeTrackEventAtom.ts +15 -0
  417. package/src/atoms/app/index.ts +7 -17
  418. package/src/atoms/app/variant.ts +13 -4
  419. package/src/atoms/chat/chatState.ts +28 -18
  420. package/src/atoms/chat/messageQueue.ts +36 -5
  421. package/src/atoms/chat/replies.ts +45 -37
  422. package/src/atoms/envive/enviveConfig.ts +10 -6
  423. package/src/atoms/org/graphqlConfig.ts +6 -38
  424. package/src/atoms/org/index.ts +3 -4
  425. package/src/atoms/org/newOrgConfigAtom.ts +4 -0
  426. package/src/atoms/search/chatSearch.ts +11 -5
  427. package/src/atoms/search/searchAPI.ts +22 -12
  428. package/src/atoms/search/searchServiceAdapter.ts +25 -0
  429. package/src/contexts/amplitudeContext/amplitudeContext.tsx +465 -0
  430. package/src/contexts/amplitudeContext/index.ts +1 -0
  431. package/src/contexts/cdnContext/cdnContext.tsx +48 -0
  432. package/src/contexts/cdnContext/index.ts +1 -0
  433. package/src/contexts/{chatContext.tsx → chatContext/chatContext.tsx} +16 -13
  434. package/src/contexts/chatContext/index.ts +1 -0
  435. package/src/contexts/{enviveConfigContext.tsx → enviveConfigContext/enviveConfigContext.tsx} +23 -18
  436. package/src/contexts/enviveConfigContext/index.ts +1 -0
  437. package/src/contexts/enviveCssContext/enviveCssContext.tsx +49 -0
  438. package/src/contexts/enviveCssContext/index.ts +1 -0
  439. package/src/contexts/featureFlagContext/featureFlagContext.tsx +193 -0
  440. package/src/contexts/featureFlagContext/index.ts +1 -0
  441. package/src/contexts/featureFlagServiceContext/featureFlagServiceContext.tsx +87 -0
  442. package/src/contexts/featureFlagServiceContext/index.ts +1 -0
  443. package/src/contexts/graphqlContext/graphqlContext.tsx +165 -0
  444. package/src/contexts/graphqlContext/index.ts +1 -0
  445. package/src/contexts/localStorageContext/index.ts +1 -0
  446. package/src/contexts/localStorageContext/localStorageContext.tsx +159 -0
  447. package/src/contexts/newOrgConfigContext/index.ts +1 -0
  448. package/src/contexts/newOrgConfigContext/newOrgConfigContext.tsx +70 -0
  449. package/src/contexts/searchContext/index.ts +1 -0
  450. package/src/contexts/searchContext/searchContext.tsx +187 -0
  451. package/src/contexts/sessionStorageContext/index.ts +1 -0
  452. package/src/contexts/sessionStorageContext/sessionStorageContext.tsx +80 -0
  453. package/src/contexts/shopifyUrlContext/index.ts +1 -0
  454. package/src/contexts/shopifyUrlContext/shopifyUrlContext.tsx +97 -0
  455. package/src/contexts/systemSettingsContext/index.ts +1 -0
  456. package/src/contexts/types.ts +12 -8
  457. package/src/contexts/userIdentityContext/index.ts +1 -0
  458. package/src/contexts/userIdentityContext/userIdentityContext.tsx +197 -0
  459. package/src/events/registerAnalyticsListeners.ts +32 -38
  460. package/src/favicon.ico +0 -0
  461. package/src/hooks/AmplitudeOperations/index.ts +1 -0
  462. package/src/hooks/AmplitudeOperations/useAmplitudeOperations.ts +35 -0
  463. package/src/hooks/AppDetails/index.ts +1 -0
  464. package/src/hooks/AppDetails/useAppDetails.ts +47 -0
  465. package/src/hooks/BlockBackButton/index.ts +1 -0
  466. package/src/hooks/CdnOperations/index.ts +1 -0
  467. package/src/hooks/CdnOperations/useCdnOperations.ts +16 -0
  468. package/src/hooks/ChatToggle/index.ts +1 -0
  469. package/src/hooks/{useChatToggle.ts → ChatToggle/useChatToggle.ts} +5 -4
  470. package/src/hooks/ChatToggleAnalytics/index.ts +1 -0
  471. package/src/hooks/ChatToggleAnalytics/useChatToggleAnalytics.ts +15 -0
  472. package/src/hooks/CustomerSupportHandoff/index.ts +1 -0
  473. package/src/hooks/Debounce/index.ts +1 -0
  474. package/src/hooks/ElementObserver/index.ts +1 -0
  475. package/src/hooks/GrabAndScroll/index.ts +1 -0
  476. package/src/hooks/GraphQLConfig/index.ts +1 -0
  477. package/src/hooks/GraphQLConfig/useGraphQLConfig.ts +63 -0
  478. package/src/hooks/IdentifyUser/index.ts +1 -0
  479. package/src/hooks/IdentifyUser/useIdentifyUser.ts +33 -0
  480. package/src/hooks/ImageResolver/index.ts +1 -0
  481. package/src/hooks/{useImageResolver.ts → ImageResolver/useImageResolver.ts} +7 -7
  482. package/src/hooks/Intersection/index.ts +1 -0
  483. package/src/hooks/IsSmallScreen/index.ts +1 -0
  484. package/src/hooks/LocalStorageOperations/index.ts +1 -0
  485. package/src/hooks/LocalStorageOperations/useLocalStorageOperations.ts +92 -0
  486. package/src/hooks/MessageFilter/index.ts +1 -0
  487. package/src/hooks/MessageScrollObserver/index.ts +1 -0
  488. package/src/hooks/NewOrgConfig/index.ts +1 -0
  489. package/src/hooks/NewOrgConfig/useNewOrgConfig.ts +7 -0
  490. package/src/hooks/Search/index.ts +1 -0
  491. package/src/hooks/{useSearch.tsx → Search/useSearch.tsx} +24 -20
  492. package/src/hooks/SearchOperations/index.ts +1 -0
  493. package/src/hooks/SearchOperations/useSearchOperations.ts +97 -0
  494. package/src/hooks/SessionStorageOperations/index.ts +1 -0
  495. package/src/hooks/SessionStorageOperations/useSessionStorageOperations.ts +28 -0
  496. package/src/hooks/ShopifyUrlOperations/index.ts +1 -0
  497. package/src/hooks/ShopifyUrlOperations/useShopifyUrlOperations.ts +45 -0
  498. package/src/hooks/SnapCalculator/index.ts +1 -0
  499. package/src/hooks/SystemSettingsContext/index.ts +1 -0
  500. package/src/hooks/SystemSettingsContext/useSystemSettingsContext.ts +14 -0
  501. package/src/hooks/TrackComponentVisibleEvent/index.ts +1 -0
  502. package/src/hooks/{useTrackComponentVisibleEvent.ts → TrackComponentVisibleEvent/useTrackComponentVisibleEvent.ts} +12 -8
  503. package/src/hooks/UpdateAnalyticsProps/index.ts +1 -0
  504. package/src/hooks/{useUpdateAnalyticsProps.ts → UpdateAnalyticsProps/useUpdateAnalyticsProps.ts} +28 -17
  505. package/src/interceptors/index.ts +0 -1
  506. package/src/interceptors/useMessageInterceptor.ts +5 -8
  507. package/src/merchants/domInsertion.ts +30 -0
  508. package/src/merchants/gridInsertion.ts +19 -0
  509. package/src/types/config-versions.ts +6 -0
  510. package/src/types.ts +0 -53
  511. package/dist/adapters/amplitude/index.cjs +0 -14
  512. package/dist/adapters/amplitude/index.d.cts +0 -6
  513. package/dist/adapters/amplitude/index.d.ts +0 -6
  514. package/dist/adapters/amplitude/index.js +0 -12
  515. package/dist/api-B2euFL-5.cjs +0 -269
  516. package/dist/api-XRr_lAG6.js +0 -190
  517. package/dist/application/config/index.cjs +0 -43
  518. package/dist/application/config/index.d.cts +0 -15
  519. package/dist/application/config/index.d.ts +0 -15
  520. package/dist/application/config/index.js +0 -41
  521. package/dist/application/service/customerService/index.cjs +0 -4
  522. package/dist/application/service/customerService/index.d.cts +0 -3
  523. package/dist/application/service/customerService/index.d.ts +0 -3
  524. package/dist/application/service/customerService/index.js +0 -4
  525. package/dist/application/service/index.cjs +0 -42
  526. package/dist/application/service/index.d.cts +0 -413
  527. package/dist/application/service/index.d.ts +0 -413
  528. package/dist/application/service/index.js +0 -12
  529. package/dist/atomStore-ONYy0XuA.d.cts +0 -24
  530. package/dist/atomStore-kOKiEcNl.d.ts +0 -24
  531. package/dist/bandolier-Da4wt6sm.cjs +0 -1230
  532. package/dist/bandolier-DzEmYWcz.js +0 -1230
  533. package/dist/carpe-AXipz0Xl.cjs +0 -608
  534. package/dist/carpe-CaUKwcEa.js +0 -606
  535. package/dist/contexts/index.cjs +0 -26
  536. package/dist/contexts/index.d.cts +0 -10
  537. package/dist/contexts/index.d.ts +0 -10
  538. package/dist/contexts/index.js +0 -12
  539. package/dist/contexts-CtRlNXaS.js +0 -7674
  540. package/dist/contexts-CtgmnYNn.cjs +0 -9088
  541. package/dist/coterie--MGvWeVh.cjs +0 -240
  542. package/dist/coterie-oKHAT0lx.js +0 -240
  543. package/dist/customerService-BG1uNZZ1.cjs +0 -36
  544. package/dist/customerService-BHQRnLhC.js +0 -23
  545. package/dist/custservice-types-C8-9vKWb.cjs +0 -35
  546. package/dist/custservice-types-CamCiXjq.js +0 -23
  547. package/dist/default-B4fINY5_.cjs +0 -4
  548. package/dist/default-BrTQxA0c.js +0 -4
  549. package/dist/default-C3LrcbZB.cjs +0 -199
  550. package/dist/default-CXkYrLEr.js +0 -176
  551. package/dist/divIds-0Vj9g-fM.js +0 -23
  552. package/dist/divIds-CjceLRD9.cjs +0 -131
  553. package/dist/dreamlandBaby-BEqt0eKF.js +0 -347
  554. package/dist/dreamlandBaby-DBDjEJCc.cjs +0 -347
  555. package/dist/embedded-B5Wi9g0T.cjs +0 -131
  556. package/dist/embedded-_cLpd6FK.js +0 -23
  557. package/dist/entrypoints-CNUvSgnk.js +0 -7
  558. package/dist/entrypoints-DM9Sm18O.cjs +0 -19
  559. package/dist/featureFlagService-5wdmW02z.d.ts +0 -18
  560. package/dist/featureFlagService-DaelrXEk.d.cts +0 -18
  561. package/dist/fiveCbd-CdqNt16h.cjs +0 -614
  562. package/dist/fiveCbd-D6B-sgnX.js +0 -614
  563. package/dist/forLoveAndLemons-C7GsJG7f.cjs +0 -668
  564. package/dist/forLoveAndLemons-gNDlMtPR.js +0 -666
  565. package/dist/greenpan-B5AaW4M_.js +0 -398
  566. package/dist/greenpan-DrORpYms.cjs +0 -398
  567. package/dist/grooveLife-BJqsfH2H.cjs +0 -343
  568. package/dist/grooveLife-xIUmDM8s.js +0 -343
  569. package/dist/homegrownCannabis-8TZ21u6L.cjs +0 -411
  570. package/dist/homegrownCannabis-BtMuEvbZ.js +0 -411
  571. package/dist/hooks/index.cjs +0 -37
  572. package/dist/hooks/index.d.cts +0 -232
  573. package/dist/hooks/index.d.ts +0 -232
  574. package/dist/hooks/index.js +0 -12
  575. package/dist/index-CKUpnyJQ.d.ts +0 -72
  576. package/dist/index-CbJZOEU4.d.ts +0 -203
  577. package/dist/index-DFL1dIT_.d.ts +0 -7
  578. package/dist/index-DXpgMVpp.d.ts +0 -749
  579. package/dist/index-K2kNsOTw.d.cts +0 -203
  580. package/dist/index-MFbPQ8Ji.d.ts +0 -95
  581. package/dist/index-VHFMGkO-.d.cts +0 -72
  582. package/dist/index-VSFakgAI.d.cts +0 -95
  583. package/dist/index-aNW5V9fh.d.cts +0 -749
  584. package/dist/index-zZjcds15.d.cts +0 -7
  585. package/dist/jackArcher-WtkbLBZj.cjs +0 -728
  586. package/dist/jackArcher-sO9EbgrZ.js +0 -728
  587. package/dist/jordanCraig-471FcgqF.cjs +0 -1787
  588. package/dist/jordanCraig-DNOncplU.js +0 -1787
  589. package/dist/kindredBravely-BlLyHGMX.cjs +0 -491
  590. package/dist/kindredBravely-cqZ4OvXp.js +0 -491
  591. package/dist/kutFromTheKloth-3mOIryvt.cjs +0 -370
  592. package/dist/kutFromTheKloth-DtVNCMKa.js +0 -370
  593. package/dist/larryAndSerges-88Bvq-Us.cjs +0 -262
  594. package/dist/larryAndSerges-cvak6May.js +0 -262
  595. package/dist/leapsAndRebounds-Dmf8eUPq.js +0 -361
  596. package/dist/leapsAndRebounds-iWKc923H.cjs +0 -361
  597. package/dist/longevityrx-BTMI9vn-.js +0 -321
  598. package/dist/longevityrx-CobPyigd.cjs +0 -321
  599. package/dist/lookOptic-C4H_c0JZ.cjs +0 -283
  600. package/dist/lookOptic-Jwf7EAU8.js +0 -283
  601. package/dist/mantraBrand-CySGqbn6.cjs +0 -751
  602. package/dist/mantraBrand-DoaVj837.js +0 -751
  603. package/dist/medterra-BnZ5p27n.cjs +0 -584
  604. package/dist/medterra-DaICcPPp.js +0 -584
  605. package/dist/modells-CZ1L6dD_.js +0 -485
  606. package/dist/modells-DF0SndHr.cjs +0 -485
  607. package/dist/orgConfigResults--dAwtw3W.d.ts +0 -881
  608. package/dist/orgConfigResults-BL0XBA6x.d.cts +0 -881
  609. package/dist/pressedFloral-B3t2cYzs.cjs +0 -662
  610. package/dist/pressedFloral-Dsws2Kfb.js +0 -662
  611. package/dist/skinPerfection-CILQM2bR.cjs +0 -335
  612. package/dist/skinPerfection-DmQCntRf.js +0 -335
  613. package/dist/snapSupplements--X_v0KRM.js +0 -286
  614. package/dist/snapSupplements-Djuzl0Ed.cjs +0 -286
  615. package/dist/socialProofClasses-DdzG1tZy.js +0 -10
  616. package/dist/socialProofClasses-ky69yppk.cjs +0 -40
  617. package/dist/spanx-Bo81yXSF.cjs +0 -664
  618. package/dist/spanx-DauxB8KE.js +0 -662
  619. package/dist/spanxStaging-BucYQvR1.cjs +0 -849
  620. package/dist/spanxStaging-CfXUukdP.js +0 -846
  621. package/dist/suggestionBarV2-types-B3lwrENK.cjs +0 -16
  622. package/dist/suggestionBarV2-types-Penx3Y67.js +0 -10
  623. package/dist/supergoop-8qa_NV3F.cjs +0 -338
  624. package/dist/supergoop-DOaui-A6.js +0 -336
  625. package/dist/types-CD4LFta-.d.cts +0 -33
  626. package/dist/types-CGC6Oozp.cjs +0 -231
  627. package/dist/types-CnTCkyvK.js +0 -177
  628. package/dist/types-DBdI0j89.d.ts +0 -33
  629. package/dist/uniqueVintage-BWkDgt1z.js +0 -1212
  630. package/dist/uniqueVintage-DAne8XcL.cjs +0 -1214
  631. package/dist/variant-CC1nrywd.d.ts +0 -13
  632. package/dist/variant-CQTuQQSq.d.cts +0 -13
  633. package/dist/venaCbd-B1HO_Pkr.cjs +0 -366
  634. package/dist/venaCbd-CnByO-5R.js +0 -366
  635. package/dist/westonJonBoucher-BAGXegsX.js +0 -423
  636. package/dist/westonJonBoucher-BRfHWMbs.cjs +0 -423
  637. package/dist/wineEnthusiast-DW8JVwV8.cjs +0 -941
  638. package/dist/wineEnthusiast-EJbhMeKQ.js +0 -941
  639. package/dist/wolfMattress-B6INZNRJ.cjs +0 -373
  640. package/dist/wolfMattress-D9P7ErH_.js +0 -373
  641. package/dist/wolfTactical-C5Pupi3J.js +0 -350
  642. package/dist/wolfTactical-TMthZM93.cjs +0 -350
  643. package/src/adapters/amplitude/amplitudeAdapter.ts +0 -477
  644. package/src/adapters/amplitude/index.ts +0 -2
  645. package/src/adapters/amplitude/stubAmplitudeAdapter.ts +0 -34
  646. package/src/adapters/spiffy/commerce/graphql.ts +0 -219
  647. package/src/application/config/generalStaticConfig.ts +0 -40
  648. package/src/application/config/index.ts +0 -1
  649. package/src/application/models/domMutationContinuation.ts +0 -7
  650. package/src/application/models/domObservationStrategy.ts +0 -9
  651. package/src/application/models/supportedOrgs.ts +0 -161
  652. package/src/application/service/cachingService.ts +0 -84
  653. package/src/application/service/cdnService.ts +0 -20
  654. package/src/application/service/customerService/index.ts +0 -8
  655. package/src/application/service/customerService/providers/UnsupportedCustomerService.ts +0 -15
  656. package/src/application/service/domMutationObserver.ts +0 -320
  657. package/src/application/service/domMutations/GridInsertionService.ts +0 -123
  658. package/src/application/service/domMutations/dataLayer/dataLayerEventsListener.ts +0 -99
  659. package/src/application/service/domMutations/domInsertionService.ts +0 -90
  660. package/src/application/service/domMutations/domMutationListener.ts +0 -15
  661. package/src/application/service/domMutations/domMutationListenerState.ts +0 -52
  662. package/src/application/service/domMutations/floatingChat/embeddedChatsPlacementsListener.ts +0 -41
  663. package/src/application/service/domMutations/gladly/gladlyListener.ts +0 -61
  664. package/src/application/service/domMutations/spiffy/orgs/common/kustomerVisibilityListener.ts +0 -41
  665. package/src/application/service/domMutations/spiffy/orgs/common/orgsCommonDataLayerListener.ts +0 -119
  666. package/src/application/service/featureFlagService.ts +0 -130
  667. package/src/application/service/graphqlConfigService.ts +0 -59
  668. package/src/application/service/index.ts +0 -32
  669. package/src/application/service/kustomerIntegrationService.ts +0 -111
  670. package/src/application/service/localStorageService.ts +0 -77
  671. package/src/application/service/pageVariantService.ts +0 -866
  672. package/src/application/service/searchService.ts +0 -147
  673. package/src/application/service/sessionStorageService.ts +0 -27
  674. package/src/application/service/shopifyUrlService.ts +0 -63
  675. package/src/application/service/userIdentityService.ts +0 -114
  676. package/src/application/service/windowChatToggleService.ts +0 -80
  677. package/src/application/service/windowDataLayerService.ts +0 -181
  678. package/src/application/service/windowFrontendConfigService.ts +0 -129
  679. package/src/atoms/org/merchantCss.ts +0 -161
  680. package/src/atoms/org/org.ts +0 -251
  681. package/src/atoms/org/orgPageConfig.ts +0 -41
  682. package/src/atoms/org/orgUIConfig.ts +0 -142
  683. package/src/contexts/enviveCssContext.tsx +0 -20
  684. package/src/contexts/index.ts +0 -6
  685. package/src/contexts/orgConfigContext.tsx +0 -106
  686. package/src/enabled-features.ts +0 -83
  687. package/src/hooks/index.ts +0 -21
  688. package/src/hooks/useDynamicVariants.ts +0 -226
  689. package/src/hooks/useFileUpload.ts +0 -63
  690. package/src/hooks/useHideElements.ts +0 -85
  691. package/src/hooks/useNewOrgConfig.ts +0 -80
  692. package/src/hooks/useSystemSettingsContext.ts +0 -12
  693. package/src/interceptors/useFormEscalation.ts +0 -57
  694. package/src/merchants/bandolier/bandolier.ts +0 -1389
  695. package/src/merchants/carpe/carpe.ts +0 -656
  696. package/src/merchants/coterie/coterie.ts +0 -280
  697. package/src/merchants/default.ts +0 -193
  698. package/src/merchants/dreamlandBaby/dreamlandBaby.ts +0 -375
  699. package/src/merchants/fiveCbd/fiveCbd.ts +0 -697
  700. package/src/merchants/forLoveAndLemons/forLoveAndLemons.ts +0 -721
  701. package/src/merchants/greenpan/greenpan.ts +0 -440
  702. package/src/merchants/grooveLife/grooveLife.ts +0 -386
  703. package/src/merchants/homegrownCannabis/homegrownCannabis.ts +0 -468
  704. package/src/merchants/init-merchant.sh +0 -53
  705. package/src/merchants/jackArcher/jackArcher.ts +0 -974
  706. package/src/merchants/jordanCraig/jordanCraig.ts +0 -1927
  707. package/src/merchants/kindredBravely/kindredBravely.ts +0 -529
  708. package/src/merchants/kutFromTheKloth/kutFromTheKloth.ts +0 -418
  709. package/src/merchants/larryAndSerges/larryAndSerges.ts +0 -314
  710. package/src/merchants/leapsAndRebounds/leapsAndRebounds.ts +0 -424
  711. package/src/merchants/longevityrx/longevityrx.ts +0 -368
  712. package/src/merchants/lookOptic/lookOptic.ts +0 -323
  713. package/src/merchants/mantraBrand/mantraBrand.ts +0 -838
  714. package/src/merchants/medterra/medterra.ts +0 -670
  715. package/src/merchants/modells/modells.ts +0 -546
  716. package/src/merchants/pressedFloral/pressedFloral.ts +0 -734
  717. package/src/merchants/skinPerfection/skinPerfection.ts +0 -379
  718. package/src/merchants/snapSupplements/snapSupplements.ts +0 -325
  719. package/src/merchants/spanx/spanx.ts +0 -810
  720. package/src/merchants/spanx/spanxStaging.ts +0 -942
  721. package/src/merchants/supergoop/supergoop.ts +0 -376
  722. package/src/merchants/uniqueVintage/uniqueVintage.ts +0 -1314
  723. package/src/merchants/venaCbd/venaCbd.ts +0 -410
  724. package/src/merchants/westonJonBoucher/westonJonBoucher.ts +0 -473
  725. package/src/merchants/wineEnthusiast/wineEnthusiast.ts +0 -990
  726. package/src/merchants/wolfMattress/wolfMattress.ts +0 -411
  727. package/src/merchants/wolfTactical/wolfTactical.ts +0 -389
  728. /package/dist/{locators-CugndTUM.cjs → AmplitudeOperations-CgIVPUlr.cjs} +0 -0
  729. /package/dist/{locators-DnKpajbY.js → AmplitudeOperations-YpyaR7Mp.js} +0 -0
  730. /package/dist/{utilityTypes-BVikejDo.js → atomStore-C2OI76yN.js} +0 -0
  731. /package/dist/{utilityTypes-C4h2wgAK.cjs → atomStore-DWmT1six.cjs} +0 -0
  732. /package/dist/{variantInfo-CzhR5W6h.js → types-DQoXDiso.js} +0 -0
  733. /package/dist/{variantInfo-CNRTY0gH.cjs → types-o3zWarRp.cjs} +0 -0
  734. /package/src/contexts/{systemSettingsContext.tsx → systemSettingsContext/systemSettingsContext.tsx} +0 -0
  735. /package/src/hooks/{useBlockBackButton.ts → BlockBackButton/useBlockBackButton.ts} +0 -0
  736. /package/src/hooks/{useCustomerSupportHandoff.ts → CustomerSupportHandoff/useCustomerSupportHandoff.ts} +0 -0
  737. /package/src/hooks/{useDebounce.ts → Debounce/useDebounce.ts} +0 -0
  738. /package/src/hooks/{useElementObserver.ts → ElementObserver/useElementObserver.ts} +0 -0
  739. /package/src/hooks/{useGrabAndScroll.ts → GrabAndScroll/useGrabAndScroll.ts} +0 -0
  740. /package/src/hooks/{useIntersection.ts → Intersection/useIntersection.ts} +0 -0
  741. /package/src/hooks/{useIsSmallScreen.ts → IsSmallScreen/useIsSmallScreen.ts} +0 -0
  742. /package/src/hooks/{useMessageFilter.ts → MessageFilter/useMessageFilter.ts} +0 -0
  743. /package/src/hooks/{useMessageScrollObserver.ts → MessageScrollObserver/useMessageScrollObserver.ts} +0 -0
  744. /package/src/hooks/{useSnapCalculator.ts → SnapCalculator/useSnapCalculator.ts} +0 -0
  745. /package/src/{application/service/customerService/types.ts → types/customerService.ts} +0 -0
  746. /package/src/{adapters/spiffy/commerce → types}/exceptions/sessionExceptions.ts +0 -0
  747. /package/src/{adapters/spiffy/commerce → types}/exceptions/unsupportedProductExceptions.ts +0 -0
@@ -1,1927 +0,0 @@
1
- import {
2
- CHAT_PREVIEW_TESTID,
3
- TOP_SUGGESTION_BAR_TESTID,
4
- BOTTOM_SUGGESTION_BAR_TESTID,
5
- GLOBAL_SEARCH_ENTRYPOINT_TESTID,
6
- SEARCH_RESULTS_ENTRYPOINT_TESTID,
7
- SEARCH_OVERLAY_HOST_TESTID,
8
- } from "src/config/locators";
9
- import {
10
- OrgShortName,
11
- BasicOrgInfoType,
12
- FeatureGates,
13
- } from "src/application/models";
14
- import { ChatElementDisplayLocation } from "src/application/models/chatElementDisplayLocation";
15
- import { CdnService } from "src/application/service/cdnService";
16
- import { GridInsertionType } from "src/application/service/domMutations/GridInsertionService";
17
- import { DOMInsertionType } from "src/application/service/domMutations/domInsertionService";
18
- import {
19
- CHAT_PREVIEW_CONTAINER_ID,
20
- TOP_SUGGESTION_BAR_PDP_ID,
21
- BOTTOM_REVIEWS_BAR_ID,
22
- GLOBAL_SEARCH_ENTRYPOINT_ID,
23
- SEARCH_RESULTS_ENTRYPOINT_ID,
24
- SEARCH_OVERLAY_ENTRYPOINT_ID,
25
- } from "src/config/divIds";
26
- import { SuggestionBarLocationForMetrics } from "src/types/suggestionBarV2-types";
27
- import { defaultOrgUIConfig } from "src/merchants/default";
28
- import {
29
- ChatPreviewWidgetConfig,
30
- ColorMapping,
31
- ColorNames,
32
- colorVar,
33
- OrgPageConfig,
34
- OrgUIConfig,
35
- PageVariantTestType,
36
- SearchEntryPointWidgetConfig,
37
- SearchOverlayHostWidgetConfig,
38
- SearchResultsEntryPointWidgetConfig,
39
- SuggestionBarWidgetV2Config,
40
- WidgetType,
41
- } from "src/contexts/types";
42
-
43
- const jordanCraigColors: ColorMapping = {
44
- [ColorNames.TextPrimary]: "#1C1C1C",
45
- [ColorNames.TextSecondary]: "#767676",
46
- [ColorNames.TextAccent]: "#767676",
47
- [ColorNames.TextLink]: "#1C1C1C",
48
- [ColorNames.TextLight]: "#FFFFFF",
49
- [ColorNames.BackgroundPrimary]: "#1C1C1C",
50
- [ColorNames.BackgroundSecondary]: "#F6F6F6",
51
- [ColorNames.BackgroundSecondaryDark]: "#E0E0E0",
52
- [ColorNames.BackgroundTertiary]: "#DDDDDD",
53
- [ColorNames.BackgroundDark]: "#1C1C1C",
54
- [ColorNames.BackgroundLight]: "#FFFFFF",
55
- [ColorNames.BackgroundSaturated]: "#E0E0E0",
56
- [ColorNames.BorderLight]: "#DDDDDD",
57
- [ColorNames.BorderMedium]: "#949596",
58
- [ColorNames.BorderDark]: "#1C1C1C",
59
- [ColorNames.BorderOutline]: "#1C1C1C",
60
- [ColorNames.AccentPrimary]: "#AB1212",
61
- [ColorNames.AccentSecondary]: "#C69846",
62
- };
63
-
64
- const jordanCraigOrgUIConfig = (): OrgUIConfig => {
65
- const defaultJordanCraigOrgConfig = defaultOrgUIConfig(
66
- OrgShortName.JordanCraig
67
- );
68
-
69
- return {
70
- ...defaultJordanCraigOrgConfig,
71
- merchantVariantSettings: {
72
- dynamicVariants: {
73
- enabled: false,
74
- refreshInterval: 400,
75
- },
76
- },
77
- searchConfig: {
78
- enableGlobalSearch: true,
79
- redirectSearchResultsUrl:
80
- "https://jordancraig.com/collections/best-sellers-men",
81
- searchFilterConfig: [
82
- {
83
- filterId: "price",
84
- displayName: "Price",
85
- type: "price",
86
- bucketSize: 50,
87
- },
88
- {
89
- filterId: "size",
90
- displayName: "Size",
91
- attribute: "size",
92
- type: "dynamic",
93
- sorting: {
94
- type: "productCount",
95
- },
96
- },
97
- {
98
- filterId: "color",
99
- displayName: "Color",
100
- attribute: "color",
101
- type: "dynamic",
102
- sorting: {
103
- type: "productCount",
104
- },
105
- },
106
- {
107
- filterId: "type",
108
- displayName: "Type",
109
- attribute: "type",
110
- type: "dynamic",
111
- sorting: {
112
- type: "productCount",
113
- },
114
- },
115
- {
116
- filterId: "dynamic",
117
- displayName: "",
118
- type: "dynamic",
119
- attribute: "dynamic",
120
- sorting: {
121
- type: "productCount",
122
- },
123
- },
124
- ],
125
- },
126
- chatMessageConfig: {
127
- ...defaultJordanCraigOrgConfig.chatMessageConfig,
128
- assistantChatTitle: "Jordan Craig AI",
129
- variant: "standard",
130
- productLink: {
131
- ...defaultJordanCraigOrgConfig.chatMessageConfig.productLink,
132
- iconVariant: "backgroundSaturated",
133
- },
134
- },
135
- chatHeader: {
136
- ...defaultJordanCraigOrgConfig.chatHeader,
137
- imageSrc: CdnService.getAssetURL(
138
- "jordancraig-white.png",
139
- OrgShortName.JordanCraig
140
- ),
141
- },
142
- chatPreviewConfig: {
143
- ...defaultJordanCraigOrgConfig.chatPreviewConfig!,
144
- iconFillColor: colorVar(ColorNames.AccentPrimary),
145
- buttonBackgroundColor: colorVar(ColorNames.BackgroundDark),
146
- buttonTextHoverColor: colorVar(ColorNames.TextPrimary),
147
- buttonBackgroundHoverColor: colorVar(ColorNames.BackgroundSecondaryDark),
148
- topMargin: 10,
149
- copies: {
150
- plp: [
151
- "what's new in style?",
152
- "the right pair of jeans for every day?",
153
- "a jacket to elevate your look?",
154
- "a unique graphic print?",
155
- ],
156
- pdp: [
157
- "if this is hypoallergenic?",
158
- "if this is a meaningful gift?",
159
- "if it is the right size for you?",
160
- "if it's crafted with durable materials?",
161
- ],
162
- },
163
- staticSuggestionCopies: {
164
- plp: [
165
- "the care instructions?",
166
- "what it's made of?",
167
- "the standout features?",
168
- "the size guide?",
169
- ],
170
- pdp: [
171
- "Is this available in other colors or styles?",
172
- "Does this style match any other pieces?",
173
- "What is my right size?",
174
- "What is this made of?",
175
- "How do I care for this product?",
176
- ],
177
- },
178
- headerConfig: {
179
- ...defaultJordanCraigOrgConfig.chatPreviewConfig!.headerConfig,
180
- imageHeight: 24,
181
- imageSrc: CdnService.getAssetURL(
182
- "jordancraig-black.png",
183
- OrgShortName.JordanCraig
184
- ),
185
- },
186
- footerConfig: {
187
- ...defaultJordanCraigOrgConfig.chatPreviewConfig!.footerConfig,
188
- replyButtonIcon: "magnifyingGlass",
189
- },
190
- },
191
- floatingEntrypointConfig: {
192
- ...defaultJordanCraigOrgConfig.floatingEntrypointConfig!,
193
- showOption: "always",
194
- expandedColor: colorVar(ColorNames.BorderOutline),
195
- expansionText: {
196
- pdp: "Is this your next essential?",
197
- plp: "Ready to find your perfect fit?",
198
- },
199
- },
200
- productCardConfig: {
201
- ...defaultJordanCraigOrgConfig.productCardConfig!,
202
- },
203
- productReviewConfig: {
204
- ...defaultJordanCraigOrgConfig.productReviewConfig!,
205
- colorVariant: "brand",
206
- verifiedBuyerTitle: "",
207
- incentivizedReviewFlag: false,
208
- },
209
- welcomeSectionConfig: {
210
- ...defaultJordanCraigOrgConfig.welcomeSectionConfig!,
211
- title: "Welcome to Jordan Craig AI!",
212
- subtitle:
213
- "Hey! I'm here to make your shopping experience effortless. Ask me anything—from finding your perfect fit to details about our latest styles. Let's find your next essential.",
214
- },
215
- merchantOverrideCss: `
216
- .spiffy-star-rating-star {
217
- fill: var(--spiffy-colors-text-primary) !important;
218
- }
219
- .spiffy-product-review-header-reviewer {
220
- color: var(--spiffy-colors-text-primary) !important;
221
- }
222
- .spiffy-mini-verified-buyer-text {
223
- color: var(--spiffy-colors-background-secondary) !important;
224
- }
225
- .spiffy-mini-verified-buyer-icon {
226
- fill: var(--spiffy-colors-background-secondary) !important;
227
- }
228
-
229
- #spiffy-ai-chat-preview.is-plp {
230
- max-width: calc(100vw - (2 * var(--container-gutter)));
231
- @media (max-width: 700px) {
232
- max-width:calc(100vw - 20px)
233
- }
234
- }
235
- .spiffy-product-card-title {
236
- font-family: var(--chakra-fonts-heading);
237
- color: var(--spiffy-colors-text-link);
238
- }
239
- .spiffy-product-card-text-color {
240
- color: var(--spiffy-colors-text-secondary);
241
- }
242
- .spiffy-product-card-rating-star-color {
243
- fill: var(--spiffy-colors-background-primary);
244
- }
245
-
246
- .search-results-entry-point + #main {
247
- display: none;
248
- }
249
- `,
250
- };
251
- };
252
-
253
- const jordanCraigPageConfig = (): OrgPageConfig => ({
254
- pageVariants: [
255
- // START: Global Search Page Variants (MUST BE FIRST)
256
- {
257
- variantId: "search-results",
258
- variantType: "plp",
259
- variantTests: [
260
- { testType: PageVariantTestType.UrlResolver },
261
- {
262
- testType: PageVariantTestType.FeatureGate,
263
- featureGate: FeatureGates.IsGlobalSearchEnabled,
264
- },
265
- {
266
- testType: PageVariantTestType.QueryParam,
267
- queryParam: "esq",
268
- },
269
- ],
270
- plpIdExtractor: "url-resolver-plp-id",
271
- widgetMounting: [
272
- {
273
- mountingConfigId: "searchIconEntryPoint",
274
- widgetConfigId: "searchIconEntryPoint",
275
- },
276
- {
277
- mountingConfigId: "searchOverlayHost",
278
- widgetConfigId: "searchOverlayHost",
279
- },
280
- {
281
- mountingConfigId: "chatPreviewPLP",
282
- widgetConfigId: "chatPreviewPLP",
283
- },
284
- {
285
- mountingConfigId: "searchResultsEntryPointPLP",
286
- widgetConfigId: "searchResultsEntryPoint",
287
- },
288
- ],
289
- },
290
- {
291
- variantId: "plp-with-search",
292
- variantType: "plp",
293
- variantTests: [
294
- { testType: PageVariantTestType.UrlResolver },
295
- {
296
- testType: PageVariantTestType.FeatureGate,
297
- featureGate: FeatureGates.IsGlobalSearchEnabled,
298
- },
299
- ],
300
- plpIdExtractor: "url-resolver-plp-id",
301
- widgetMounting: [
302
- {
303
- mountingConfigId: "searchIconEntryPoint",
304
- widgetConfigId: "searchIconEntryPoint",
305
- },
306
- {
307
- mountingConfigId: "searchOverlayHost",
308
- widgetConfigId: "searchOverlayHost",
309
- },
310
- {
311
- mountingConfigId: "chatPreviewPLP",
312
- widgetConfigId: "chatPreviewPLP",
313
- },
314
- ],
315
- },
316
- {
317
- variantId: "pdp-with-search",
318
- variantType: "pdp",
319
- variantTests: [
320
- { testType: PageVariantTestType.UrlResolver },
321
- {
322
- testType: PageVariantTestType.FeatureGate,
323
- featureGate: FeatureGates.IsGlobalSearchEnabled,
324
- },
325
- ],
326
- productIdExtractor: "url-resolver-product-id",
327
- widgetMounting: [
328
- {
329
- mountingConfigId: "searchIconEntryPoint",
330
- widgetConfigId: "searchIconEntryPoint",
331
- },
332
- {
333
- mountingConfigId: "searchOverlayHost",
334
- widgetConfigId: "searchOverlayHost",
335
- },
336
- {
337
- mountingConfigId: "topSuggestionBarPDP",
338
- widgetConfigId: "topSuggestionsBar",
339
- },
340
- {
341
- mountingConfigId: "bottomSuggestionBarPDP",
342
- widgetConfigId: "bottomSuggestionsBar",
343
- },
344
- {
345
- mountingConfigId: "chatPreviewPDP",
346
- widgetConfigId: "chatPreviewPDP",
347
- },
348
- ],
349
- },
350
- {
351
- variantId: "home-with-search",
352
- variantType: "homepage",
353
- variantTests: [
354
- {
355
- testType: PageVariantTestType.UrlResolver,
356
- },
357
- {
358
- testType: PageVariantTestType.FeatureGate,
359
- featureGate: FeatureGates.IsGlobalSearchEnabled,
360
- },
361
- ],
362
- widgetMounting: [
363
- {
364
- mountingConfigId: "searchIconEntryPoint",
365
- widgetConfigId: "searchIconEntryPoint",
366
- },
367
- {
368
- mountingConfigId: "searchOverlayHost",
369
- widgetConfigId: "searchOverlayHost",
370
- },
371
- ],
372
- },
373
- {
374
- variantId: "other-with-search",
375
- variantType: "other",
376
- variantTests: [
377
- {
378
- testType: PageVariantTestType.UrlResolver,
379
- },
380
- {
381
- testType: PageVariantTestType.FeatureGate,
382
- featureGate: FeatureGates.IsGlobalSearchEnabled,
383
- },
384
- ],
385
- widgetMounting: [
386
- {
387
- mountingConfigId: "searchIconEntryPoint",
388
- widgetConfigId: "searchIconEntryPoint",
389
- },
390
- {
391
- mountingConfigId: "searchOverlayHost",
392
- widgetConfigId: "searchOverlayHost",
393
- },
394
- ],
395
- },
396
- // END: Global Search Page Variants
397
- {
398
- variantId: "plp",
399
- variantType: "plp",
400
- variantTests: [{ testType: PageVariantTestType.UrlResolver }],
401
- plpIdExtractor: "url-resolver-plp-id",
402
- widgetMounting: [
403
- {
404
- mountingConfigId: "chatPreviewPLP",
405
- widgetConfigId: "chatPreviewPLP",
406
- },
407
- ],
408
- },
409
- {
410
- variantId: "outerwearWithReviews",
411
- variantType: "pdp",
412
- variantTests: [
413
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
414
- { testType: PageVariantTestType.UrlResolver },
415
- {
416
- testType: PageVariantTestType.InCollection,
417
- collections: ["outerwear", "big-mens-outerwear"],
418
- },
419
- ],
420
- productIdExtractor: "url-resolver-product-id",
421
- widgetMounting: [
422
- {
423
- mountingConfigId: "topSuggestionBarPDP",
424
- widgetConfigId: "topSuggestionsBarOuterwear",
425
- },
426
- {
427
- mountingConfigId: "chatPreviewPDP",
428
- widgetConfigId: "chatPreviewPDP",
429
- },
430
- {
431
- mountingConfigId: "bottomSuggestionBarPDP",
432
- widgetConfigId: "bottomSuggestionsBarOuterwear",
433
- },
434
- ],
435
- },
436
- {
437
- variantId: "tshirtsWithReviews",
438
- variantType: "pdp",
439
- variantTests: [
440
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
441
- { testType: PageVariantTestType.UrlResolver },
442
- {
443
- testType: PageVariantTestType.InCollection,
444
- collections: ["tshirt", "big-mens-t-shirts"],
445
- },
446
- ],
447
- productIdExtractor: "url-resolver-product-id",
448
- widgetMounting: [
449
- {
450
- mountingConfigId: "topSuggestionBarPDP",
451
- widgetConfigId: "topSuggestionsBarTshirts",
452
- },
453
- {
454
- mountingConfigId: "chatPreviewPDP",
455
- widgetConfigId: "chatPreviewPDP",
456
- },
457
- {
458
- mountingConfigId: "bottomSuggestionBarPDP",
459
- widgetConfigId: "bottomSuggestionsBarTshirts",
460
- },
461
- ],
462
- },
463
- {
464
- variantId: "sweatshirtsWithReviews",
465
- variantType: "pdp",
466
- variantTests: [
467
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
468
- { testType: PageVariantTestType.UrlResolver },
469
- {
470
- testType: PageVariantTestType.InCollection,
471
- collections: ["sweatshirts", "big-mens-sweatshirts"],
472
- },
473
- ],
474
- productIdExtractor: "url-resolver-product-id",
475
- widgetMounting: [
476
- {
477
- mountingConfigId: "topSuggestionBarPDP",
478
- widgetConfigId: "topSuggestionsBarSweatshirts",
479
- },
480
- {
481
- mountingConfigId: "chatPreviewPDP",
482
- widgetConfigId: "chatPreviewPDP",
483
- },
484
- {
485
- mountingConfigId: "bottomSuggestionBarPDP",
486
- widgetConfigId: "bottomSuggestionsBarSweatshirts",
487
- },
488
- ],
489
- },
490
- {
491
- variantId: "sweatpantsWithReviews",
492
- variantType: "pdp",
493
- variantTests: [
494
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
495
- { testType: PageVariantTestType.UrlResolver },
496
- {
497
- testType: PageVariantTestType.InCollection,
498
- collections: ["big-mens-sweatpants", "mens-sweatpants"],
499
- },
500
- ],
501
- productIdExtractor: "url-resolver-product-id",
502
- widgetMounting: [
503
- {
504
- mountingConfigId: "topSuggestionBarPDP",
505
- widgetConfigId: "topSuggestionsBarSweatpants",
506
- },
507
- {
508
- mountingConfigId: "chatPreviewPDP",
509
- widgetConfigId: "chatPreviewPDP",
510
- },
511
- {
512
- mountingConfigId: "bottomSuggestionBarPDP",
513
- widgetConfigId: "bottomSuggestionsBarSweatpants",
514
- },
515
- ],
516
- },
517
- {
518
- variantId: "denimWithReviews",
519
- variantType: "pdp",
520
- variantTests: [
521
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
522
- { testType: PageVariantTestType.UrlResolver },
523
- {
524
- testType: PageVariantTestType.InCollection,
525
- collections: ["big-mens-denim", "denim", "kids-denim"],
526
- },
527
- ],
528
- productIdExtractor: "url-resolver-product-id",
529
- widgetMounting: [
530
- {
531
- mountingConfigId: "topSuggestionBarPDP",
532
- widgetConfigId: "topSuggestionsBarDenim",
533
- },
534
- {
535
- mountingConfigId: "chatPreviewPDP",
536
- widgetConfigId: "chatPreviewPDP",
537
- },
538
- {
539
- mountingConfigId: "bottomSuggestionBarPDP",
540
- widgetConfigId: "bottomSuggestionsBarDenim",
541
- },
542
- ],
543
- },
544
- {
545
- variantId: "twillFleeceWithReviews",
546
- variantType: "pdp",
547
- variantTests: [
548
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
549
- { testType: PageVariantTestType.UrlResolver },
550
- {
551
- testType: PageVariantTestType.InCollection,
552
- collections: [
553
- "big-mens-sweatpants",
554
- "kids-fleece",
555
- "mens-sweatpants",
556
- "mens-twill-bottoms",
557
- "kids-twill-pants",
558
- ],
559
- },
560
- ],
561
- productIdExtractor: "url-resolver-product-id",
562
- widgetMounting: [
563
- {
564
- mountingConfigId: "topSuggestionBarPDP",
565
- widgetConfigId: "topSuggestionsBarTwillFleece",
566
- },
567
- {
568
- mountingConfigId: "chatPreviewPDP",
569
- widgetConfigId: "chatPreviewPDP",
570
- },
571
- {
572
- mountingConfigId: "bottomSuggestionBarPDP",
573
- widgetConfigId: "bottomSuggestionsBarTwillFleece",
574
- },
575
- ],
576
- },
577
- {
578
- variantId: "shortsWithReviews",
579
- variantType: "pdp",
580
- variantTests: [
581
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
582
- { testType: PageVariantTestType.UrlResolver },
583
- {
584
- testType: PageVariantTestType.InCollection,
585
- collections: ["kids-shorts", "big-mens-shorts", "shorts"],
586
- },
587
- ],
588
- productIdExtractor: "url-resolver-product-id",
589
- widgetMounting: [
590
- {
591
- mountingConfigId: "topSuggestionBarPDP",
592
- widgetConfigId: "topSuggestionsBarShorts",
593
- },
594
- {
595
- mountingConfigId: "chatPreviewPDP",
596
- widgetConfigId: "chatPreviewPDP",
597
- },
598
- {
599
- mountingConfigId: "bottomSuggestionBarPDP",
600
- widgetConfigId: "bottomSuggestionsBarShorts",
601
- },
602
- ],
603
- },
604
- {
605
- variantId: "accessoriesWithReviews",
606
- variantType: "pdp",
607
- variantTests: [
608
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
609
- { testType: PageVariantTestType.UrlResolver },
610
- {
611
- testType: PageVariantTestType.InCollection,
612
- collections: ["bag-collection"],
613
- },
614
- ],
615
- productIdExtractor: "url-resolver-product-id",
616
- widgetMounting: [
617
- {
618
- mountingConfigId: "topSuggestionBarPDP",
619
- widgetConfigId: "topSuggestionsBarAccessories",
620
- },
621
- {
622
- mountingConfigId: "chatPreviewPDP",
623
- widgetConfigId: "chatPreviewPDP",
624
- },
625
- {
626
- mountingConfigId: "bottomSuggestionBarPDP",
627
- widgetConfigId: "bottomSuggestionsBarAccessories",
628
- },
629
- ],
630
- },
631
- {
632
- variantId: "footwearWithReviews",
633
- variantType: "pdp",
634
- variantTests: [
635
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
636
- { testType: PageVariantTestType.UrlResolver },
637
- {
638
- testType: PageVariantTestType.InCollection,
639
- collections: ["footwear-collection"],
640
- },
641
- ],
642
- productIdExtractor: "url-resolver-product-id",
643
- widgetMounting: [
644
- {
645
- mountingConfigId: "topSuggestionBarPDP",
646
- widgetConfigId: "topSuggestionsBarFootwear",
647
- },
648
- {
649
- mountingConfigId: "chatPreviewPDP",
650
- widgetConfigId: "chatPreviewPDP",
651
- },
652
- {
653
- mountingConfigId: "bottomSuggestionBarPDP",
654
- widgetConfigId: "bottomSuggestionsBarFootwear",
655
- },
656
- ],
657
- },
658
- {
659
- variantId: "outerwear",
660
- variantType: "pdp",
661
- variantTests: [
662
- { testType: PageVariantTestType.UrlResolver },
663
- {
664
- testType: PageVariantTestType.InCollection,
665
- collections: ["outerwear", "big-mens-outerwear"],
666
- },
667
- ],
668
- productIdExtractor: "url-resolver-product-id",
669
- widgetMounting: [
670
- {
671
- mountingConfigId: "topSuggestionBarPDP",
672
- widgetConfigId: "topSuggestionsBarOuterwear",
673
- },
674
- {
675
- mountingConfigId: "chatPreviewPDP",
676
- widgetConfigId: "chatPreviewPDP",
677
- },
678
- {
679
- mountingConfigId: "bottomSuggestionBarPDP",
680
- widgetConfigId: "bottomSuggestionsBarOuterwear",
681
- },
682
- ],
683
- },
684
- {
685
- variantId: "tshirts",
686
- variantType: "pdp",
687
- variantTests: [
688
- { testType: PageVariantTestType.UrlResolver },
689
- {
690
- testType: PageVariantTestType.InCollection,
691
- collections: ["tshirt", "big-mens-t-shirts"],
692
- },
693
- ],
694
- productIdExtractor: "url-resolver-product-id",
695
- widgetMounting: [
696
- {
697
- mountingConfigId: "topSuggestionBarPDP",
698
- widgetConfigId: "topSuggestionsBarTshirts",
699
- },
700
- {
701
- mountingConfigId: "chatPreviewPDP",
702
- widgetConfigId: "chatPreviewPDP",
703
- },
704
- {
705
- mountingConfigId: "bottomSuggestionBarPDP",
706
- widgetConfigId: "bottomSuggestionsBarTshirts",
707
- },
708
- ],
709
- },
710
- {
711
- variantId: "sweatshirts",
712
- variantType: "pdp",
713
- variantTests: [
714
- { testType: PageVariantTestType.UrlResolver },
715
- {
716
- testType: PageVariantTestType.InCollection,
717
- collections: ["sweatshirts", "big-mens-sweatshirts"],
718
- },
719
- ],
720
- productIdExtractor: "url-resolver-product-id",
721
- widgetMounting: [
722
- {
723
- mountingConfigId: "topSuggestionBarPDP",
724
- widgetConfigId: "topSuggestionsBarSweatshirts",
725
- },
726
- {
727
- mountingConfigId: "chatPreviewPDP",
728
- widgetConfigId: "chatPreviewPDP",
729
- },
730
- {
731
- mountingConfigId: "bottomSuggestionBarPDP",
732
- widgetConfigId: "bottomSuggestionsBarSweatshirts",
733
- },
734
- ],
735
- },
736
- {
737
- variantId: "sweatpants",
738
- variantType: "pdp",
739
- variantTests: [
740
- { testType: PageVariantTestType.UrlResolver },
741
- {
742
- testType: PageVariantTestType.InCollection,
743
- collections: ["big-mens-sweatpants", "mens-sweatpants"],
744
- },
745
- ],
746
- productIdExtractor: "url-resolver-product-id",
747
- widgetMounting: [
748
- {
749
- mountingConfigId: "topSuggestionBarPDP",
750
- widgetConfigId: "topSuggestionsBarSweatpants",
751
- },
752
- {
753
- mountingConfigId: "chatPreviewPDP",
754
- widgetConfigId: "chatPreviewPDP",
755
- },
756
- {
757
- mountingConfigId: "bottomSuggestionBarPDP",
758
- widgetConfigId: "bottomSuggestionsBarSweatpants",
759
- },
760
- ],
761
- },
762
- {
763
- variantId: "graphic",
764
- variantType: "pdp",
765
- variantTests: [
766
- { testType: PageVariantTestType.UrlResolver },
767
- { testType: PageVariantTestType.HasReviews, reviewMinimum: 4 },
768
- {
769
- testType: PageVariantTestType.InCollection,
770
- collections: ["mens-graphic-prints-collection"],
771
- },
772
- ],
773
- productIdExtractor: "url-resolver-product-id",
774
- widgetMounting: [
775
- {
776
- mountingConfigId: "topSuggestionBarPDP",
777
- widgetConfigId: "topSuggestionsBarGraphic",
778
- },
779
- {
780
- mountingConfigId: "chatPreviewPDP",
781
- widgetConfigId: "chatPreviewPDP",
782
- },
783
- {
784
- mountingConfigId: "bottomSuggestionBarPDP",
785
- widgetConfigId: "bottomSuggestionsBarGraphic",
786
- },
787
- ],
788
- },
789
- {
790
- variantId: "denim",
791
- variantType: "pdp",
792
- variantTests: [
793
- { testType: PageVariantTestType.UrlResolver },
794
- {
795
- testType: PageVariantTestType.InCollection,
796
- collections: ["big-mens-denim", "denim", "kids-denim"],
797
- },
798
- ],
799
- productIdExtractor: "url-resolver-product-id",
800
- widgetMounting: [
801
- {
802
- mountingConfigId: "topSuggestionBarPDP",
803
- widgetConfigId: "topSuggestionsBarDenim",
804
- },
805
- {
806
- mountingConfigId: "chatPreviewPDP",
807
- widgetConfigId: "chatPreviewPDP",
808
- },
809
- {
810
- mountingConfigId: "bottomSuggestionBarPDP",
811
- widgetConfigId: "bottomSuggestionsBarDenim",
812
- },
813
- ],
814
- },
815
- {
816
- variantId: "twill-fleece",
817
- variantType: "pdp",
818
- variantTests: [
819
- { testType: PageVariantTestType.UrlResolver },
820
- {
821
- testType: PageVariantTestType.InCollection,
822
- collections: [
823
- "big-mens-sweatpants",
824
- "kids-fleece",
825
- "mens-sweatpants",
826
- "mens-twill-bottoms",
827
- "kids-twill-pants",
828
- ],
829
- },
830
- ],
831
- productIdExtractor: "url-resolver-product-id",
832
- widgetMounting: [
833
- {
834
- mountingConfigId: "topSuggestionBarPDP",
835
- widgetConfigId: "topSuggestionsBarTwillFleece",
836
- },
837
- {
838
- mountingConfigId: "chatPreviewPDP",
839
- widgetConfigId: "chatPreviewPDP",
840
- },
841
- {
842
- mountingConfigId: "bottomSuggestionBarPDP",
843
- widgetConfigId: "bottomSuggestionsBarTwillFleece",
844
- },
845
- ],
846
- },
847
- {
848
- variantId: "shorts",
849
- variantType: "pdp",
850
- variantTests: [
851
- { testType: PageVariantTestType.UrlResolver },
852
- {
853
- testType: PageVariantTestType.InCollection,
854
- collections: ["kids-shorts", "big-mens-shorts", "shorts"],
855
- },
856
- ],
857
- productIdExtractor: "url-resolver-product-id",
858
- widgetMounting: [
859
- {
860
- mountingConfigId: "topSuggestionBarPDP",
861
- widgetConfigId: "topSuggestionsBarShorts",
862
- },
863
- {
864
- mountingConfigId: "chatPreviewPDP",
865
- widgetConfigId: "chatPreviewPDP",
866
- },
867
- {
868
- mountingConfigId: "bottomSuggestionBarPDP",
869
- widgetConfigId: "bottomSuggestionsBarShorts",
870
- },
871
- ],
872
- },
873
- {
874
- variantId: "accessories",
875
- variantType: "pdp",
876
- variantTests: [
877
- { testType: PageVariantTestType.UrlResolver },
878
- {
879
- testType: PageVariantTestType.InCollection,
880
- collections: ["bag-collection"],
881
- },
882
- ],
883
- productIdExtractor: "url-resolver-product-id",
884
- widgetMounting: [
885
- {
886
- mountingConfigId: "topSuggestionBarPDP",
887
- widgetConfigId: "topSuggestionsBarAccessories",
888
- },
889
- {
890
- mountingConfigId: "chatPreviewPDP",
891
- widgetConfigId: "chatPreviewPDP",
892
- },
893
- {
894
- mountingConfigId: "bottomSuggestionBarPDP",
895
- widgetConfigId: "bottomSuggestionsBarAccessories",
896
- },
897
- ],
898
- },
899
- {
900
- variantId: "footwear",
901
- variantType: "pdp",
902
- variantTests: [
903
- { testType: PageVariantTestType.UrlResolver },
904
- {
905
- testType: PageVariantTestType.InCollection,
906
- collections: ["footwear-collection"],
907
- },
908
- ],
909
- productIdExtractor: "url-resolver-product-id",
910
- widgetMounting: [
911
- {
912
- mountingConfigId: "topSuggestionBarPDP",
913
- widgetConfigId: "topSuggestionsBarFootwear",
914
- },
915
- {
916
- mountingConfigId: "chatPreviewPDP",
917
- widgetConfigId: "chatPreviewPDP",
918
- },
919
- {
920
- mountingConfigId: "bottomSuggestionBarPDP",
921
- widgetConfigId: "bottomSuggestionsBarFootwear",
922
- },
923
- ],
924
- },
925
- {
926
- variantId: "pdp",
927
- variantType: "pdp",
928
- variantTests: [{ testType: PageVariantTestType.UrlResolver }],
929
- productIdExtractor: "url-resolver-product-id",
930
- widgetMounting: [
931
- {
932
- mountingConfigId: "topSuggestionBarPDP",
933
- widgetConfigId: "topSuggestionsBar",
934
- },
935
- {
936
- mountingConfigId: "chatPreviewPDP",
937
- widgetConfigId: "chatPreviewPDP",
938
- },
939
- {
940
- mountingConfigId: "bottomSuggestionBarPDP",
941
- widgetConfigId: "bottomSuggestionsBar",
942
- },
943
- ],
944
- },
945
- ],
946
- widgetConfigs: {
947
- searchIconEntryPoint: {
948
- widgetConfigId: "searchIconEntryPoint",
949
- type: WidgetType.SearchZeroStateEntryPoint,
950
- searchZeroStateVariant: "backgroundTertiary",
951
- searchInputVariant: "standard",
952
- suggestionButtonConfig: {
953
- variant: "darkAccent",
954
- hoverVariant: "secondaryAccent",
955
- borderRadius: "md",
956
- },
957
- layout: "icon",
958
- searchIconVariant: "bold",
959
- searchIconSize: 26,
960
- searchBoxPlaceholder: 'Try "Jeans that work for all body types"',
961
- initialSuggestions: [
962
- "Stone washed jeans",
963
- "White torn up jeans",
964
- "Black soft t-shirt",
965
- "Black moto-inspired jeans",
966
- "Graphic t-shirt",
967
- ],
968
- usingPortal: true,
969
- } satisfies SearchEntryPointWidgetConfig,
970
- searchOverlayHost: {
971
- widgetConfigId: "searchOverlayHost",
972
- type: WidgetType.SearchOverlayHost,
973
- } satisfies SearchOverlayHostWidgetConfig,
974
- searchResultsEntryPoint: {
975
- widgetConfigId: "searchResultsEntryPoint",
976
- type: WidgetType.SearchResultsEntryPoint,
977
- searchBoxPlaceholder: 'Try "Modern skinny jeans"',
978
- productGridVariant: "standard",
979
- searchFilterSidebarVariant: "darkButton",
980
- searchInputVariant: "standard",
981
- } satisfies SearchResultsEntryPointWidgetConfig,
982
- chatPreviewPDP: {
983
- widgetConfigId: "chatPreviewPDP",
984
- type: WidgetType.ChatPreview,
985
- variant: "flat",
986
- } satisfies ChatPreviewWidgetConfig,
987
- chatPreviewPLP: {
988
- widgetConfigId: "chatPreviewPLP",
989
- type: WidgetType.ChatPreview,
990
- variant: "flat",
991
- addSeparators: true,
992
- footerConfig: {
993
- replyButtonText: "What can I help you find?",
994
- replyButtonIcon: "magnifyingGlass",
995
- },
996
- } satisfies ChatPreviewWidgetConfig,
997
- topSuggestionsBar: {
998
- widgetConfigId: "topSuggestionsBar",
999
- contentId: "spiffy-top-suggestion-bar-contents",
1000
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1001
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1002
- type: WidgetType.SuggestionBarV2,
1003
- variant: "secondary",
1004
- hoverVariant: "secondaryDark",
1005
- animationSpeed: "none",
1006
- buttonBorderRadius: "md",
1007
- boldFirstButton: true,
1008
- buttonTexts: {
1009
- default: [
1010
- "How do they fit?",
1011
- "What's unique about this?",
1012
- "What's the current deals?",
1013
- ],
1014
- },
1015
- } satisfies SuggestionBarWidgetV2Config,
1016
- bottomSuggestionsBar: {
1017
- widgetConfigId: "bottomSuggestionsBar",
1018
- contentId: "spiffy-top-suggestion-bar-contents",
1019
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1020
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1021
- type: WidgetType.SuggestionBarV2,
1022
- variant: "darkPrimary",
1023
- hoverVariant: "secondaryDark",
1024
- animationSpeed: "none",
1025
- buttonBorderRadius: "md",
1026
- boldFirstButton: true,
1027
- buttonTexts: {
1028
- default: [
1029
- "How do they fit?",
1030
- "What's unique about this?",
1031
- "What's the current deals?",
1032
- ],
1033
- },
1034
- } satisfies SuggestionBarWidgetV2Config,
1035
- topSuggestionsBarOuterwear: {
1036
- widgetConfigId: "topSuggestionsBarOuterwear",
1037
- contentId: "spiffy-top-suggestion-bar-contents",
1038
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1039
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1040
- type: WidgetType.SuggestionBarV2,
1041
- variant: "secondary",
1042
- hoverVariant: "secondaryDark",
1043
- animationSpeed: "none",
1044
- buttonBorderRadius: "md",
1045
- boldFirstButton: true,
1046
- buttonTexts: {
1047
- default: [
1048
- "How insulated is this jacket?",
1049
- "What material is it made of?",
1050
- "Can I layer this over a hoodie?",
1051
- "Does the material stretch?",
1052
- "Does it run small?",
1053
- ],
1054
- },
1055
- } satisfies SuggestionBarWidgetV2Config,
1056
- bottomSuggestionsBarOuterwear: {
1057
- widgetConfigId: "bottomSuggestionsBarOuterwear",
1058
- contentId: "spiffy-top-suggestion-bar-contents",
1059
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1060
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1061
- type: WidgetType.SuggestionBarV2,
1062
- variant: "darkPrimary",
1063
- hoverVariant: "secondaryDark",
1064
- animationSpeed: "none",
1065
- buttonBorderRadius: "md",
1066
- boldFirstButton: true,
1067
- buttonTexts: {
1068
- default: [
1069
- "How insulated is this jacket?",
1070
- "What material is it made of?",
1071
- "Can I layer this over a hoodie?",
1072
- "Does the material stretch?",
1073
- "Does it run small?",
1074
- ],
1075
- },
1076
- } satisfies SuggestionBarWidgetV2Config,
1077
- topSuggestionsBarTshirts: {
1078
- widgetConfigId: "topSuggestionsBarTshirts",
1079
- contentId: "spiffy-top-suggestion-bar-contents",
1080
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1081
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1082
- type: WidgetType.SuggestionBarV2,
1083
- variant: "secondary",
1084
- hoverVariant: "secondaryDark",
1085
- animationSpeed: "none",
1086
- buttonBorderRadius: "md",
1087
- boldFirstButton: true,
1088
- buttonTexts: {
1089
- default: [
1090
- "How does it fit?",
1091
- "Will it shrink after washing?",
1092
- "How does it feel?",
1093
- "Which bottoms does it pair with?",
1094
- ],
1095
- },
1096
- } satisfies SuggestionBarWidgetV2Config,
1097
- bottomSuggestionsBarTshirts: {
1098
- widgetConfigId: "bottomSuggestionsBarTshirts",
1099
- contentId: "spiffy-top-suggestion-bar-contents",
1100
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1101
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1102
- type: WidgetType.SuggestionBarV2,
1103
- variant: "darkPrimary",
1104
- hoverVariant: "secondaryDark",
1105
- animationSpeed: "none",
1106
- buttonBorderRadius: "md",
1107
- boldFirstButton: true,
1108
- buttonTexts: {
1109
- default: [
1110
- "How does it fit?",
1111
- "Will it shrink after washing?",
1112
- "How does it feel?",
1113
- "Which bottoms does it pair with?",
1114
- ],
1115
- },
1116
- } satisfies SuggestionBarWidgetV2Config,
1117
- topSuggestionsBarSweatshirts: {
1118
- widgetConfigId: "topSuggestionsBarSweatshirts",
1119
- contentId: "spiffy-top-suggestion-bar-contents",
1120
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1121
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1122
- type: WidgetType.SuggestionBarV2,
1123
- variant: "secondary",
1124
- hoverVariant: "secondaryDark",
1125
- animationSpeed: "none",
1126
- buttonBorderRadius: "md",
1127
- boldFirstButton: true,
1128
- buttonTexts: {
1129
- default: [
1130
- "How does it fit?",
1131
- "How does it feel?",
1132
- "What's the style?",
1133
- "Does it pair with sweatpants?",
1134
- ],
1135
- },
1136
- } satisfies SuggestionBarWidgetV2Config,
1137
- bottomSuggestionsBarSweatshirts: {
1138
- widgetConfigId: "bottomSuggestionsBarSweatshirts",
1139
- contentId: "spiffy-top-suggestion-bar-contents",
1140
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1141
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1142
- type: WidgetType.SuggestionBarV2,
1143
- variant: "darkPrimary",
1144
- hoverVariant: "secondaryDark",
1145
- animationSpeed: "none",
1146
- buttonBorderRadius: "md",
1147
- boldFirstButton: true,
1148
- buttonTexts: {
1149
- default: [
1150
- "How does it fit?",
1151
- "How does it feel?",
1152
- "What's the style?",
1153
- "Does it pair with sweatshirts?",
1154
- ],
1155
- },
1156
- } satisfies SuggestionBarWidgetV2Config,
1157
- topSuggestionsBarSweatpants: {
1158
- widgetConfigId: "topSuggestionsBarSweatpants",
1159
- contentId: "spiffy-top-suggestion-bar-contents",
1160
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1161
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1162
- type: WidgetType.SuggestionBarV2,
1163
- variant: "secondary",
1164
- hoverVariant: "secondaryDark",
1165
- animationSpeed: "none",
1166
- buttonBorderRadius: "md",
1167
- boldFirstButton: true,
1168
- buttonTexts: {
1169
- default: [
1170
- "How does it fit?",
1171
- "How does it feel?",
1172
- "What's the style?",
1173
- "Does it pair with sweatshirts?",
1174
- ],
1175
- },
1176
- } satisfies SuggestionBarWidgetV2Config,
1177
- bottomSuggestionsBarSweatpants: {
1178
- widgetConfigId: "bottomSuggestionsBarSweatpants",
1179
- contentId: "spiffy-top-suggestion-bar-contents",
1180
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1181
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1182
- type: WidgetType.SuggestionBarV2,
1183
- variant: "darkPrimary",
1184
- hoverVariant: "secondaryDark",
1185
- animationSpeed: "none",
1186
- buttonBorderRadius: "md",
1187
- boldFirstButton: true,
1188
- buttonTexts: {
1189
- default: [
1190
- "How does it fit?",
1191
- "How does it feel?",
1192
- "What's the style?",
1193
- "Does it pair with sweatshirts?",
1194
- ],
1195
- },
1196
- } satisfies SuggestionBarWidgetV2Config,
1197
- topSuggestionsBarGraphic: {
1198
- widgetConfigId: "topSuggestionsBarGraphic",
1199
- contentId: "spiffy-top-suggestion-bar-contents",
1200
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1201
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1202
- type: WidgetType.SuggestionBarV2,
1203
- variant: "secondary",
1204
- hoverVariant: "secondaryDark",
1205
- animationSpeed: "none",
1206
- buttonBorderRadius: "md",
1207
- boldFirstButton: true,
1208
- buttonTexts: {
1209
- default: [
1210
- "What is the style? (Work/tech/street)",
1211
- "What is the sleeve length?",
1212
- "Does it pair with bottoms?",
1213
- ],
1214
- },
1215
- } satisfies SuggestionBarWidgetV2Config,
1216
- bottomSuggestionsBarGraphic: {
1217
- widgetConfigId: "bottomSuggestionsBarGraphic",
1218
- contentId: "spiffy-top-suggestion-bar-contents",
1219
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1220
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1221
- type: WidgetType.SuggestionBarV2,
1222
- variant: "darkPrimary",
1223
- hoverVariant: "secondaryDark",
1224
- animationSpeed: "none",
1225
- buttonBorderRadius: "md",
1226
- boldFirstButton: true,
1227
- buttonTexts: {
1228
- default: [
1229
- "What is the style? (Work/tech/street)",
1230
- "What is the sleeve length?",
1231
- "Does it pair with bottoms?",
1232
- ],
1233
- },
1234
- } satisfies SuggestionBarWidgetV2Config,
1235
- topSuggestionsBarDenim: {
1236
- widgetConfigId: "topSuggestionsBarDenim",
1237
- contentId: "spiffy-top-suggestion-bar-contents",
1238
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1239
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1240
- type: WidgetType.SuggestionBarV2,
1241
- variant: "secondary",
1242
- hoverVariant: "secondaryDark",
1243
- animationSpeed: "none",
1244
- buttonBorderRadius: "md",
1245
- boldFirstButton: true,
1246
- buttonTexts: {
1247
- default: [
1248
- "How do they fit?",
1249
- "What size should I get?",
1250
- "What's the rise?",
1251
- "What's the material?",
1252
- ],
1253
- },
1254
- } satisfies SuggestionBarWidgetV2Config,
1255
- bottomSuggestionsBarDenim: {
1256
- widgetConfigId: "bottomSuggestionsBarDenim",
1257
- contentId: "spiffy-top-suggestion-bar-contents",
1258
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1259
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1260
- type: WidgetType.SuggestionBarV2,
1261
- variant: "darkPrimary",
1262
- hoverVariant: "secondaryDark",
1263
- animationSpeed: "none",
1264
- buttonBorderRadius: "md",
1265
- boldFirstButton: true,
1266
- buttonTexts: {
1267
- default: [
1268
- "How do they fit?",
1269
- "What size should I get?",
1270
- "What's the rise?",
1271
- "What's the material?",
1272
- ],
1273
- },
1274
- } satisfies SuggestionBarWidgetV2Config,
1275
- topSuggestionsBarTwillFleece: {
1276
- widgetConfigId: "topSuggestionsBarTwillFleece",
1277
- contentId: "spiffy-top-suggestion-bar-contents",
1278
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1279
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1280
- type: WidgetType.SuggestionBarV2,
1281
- variant: "secondary",
1282
- hoverVariant: "secondaryDark",
1283
-
1284
- buttonBorderRadius: "md",
1285
- boldFirstButton: true,
1286
- buttonTexts: {
1287
- default: [
1288
- "Are these true to size?",
1289
- "What size should I get?",
1290
- "How does it feel?",
1291
- "Do they stretch out over time?",
1292
- "What's the fit/style?",
1293
- ],
1294
- },
1295
- } satisfies SuggestionBarWidgetV2Config,
1296
- bottomSuggestionsBarTwillFleece: {
1297
- widgetConfigId: "bottomSuggestionsBarTwillFleece",
1298
- contentId: "spiffy-top-suggestion-bar-contents",
1299
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1300
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1301
- type: WidgetType.SuggestionBarV2,
1302
- variant: "darkPrimary",
1303
- hoverVariant: "secondaryDark",
1304
- animationSpeed: "none",
1305
- buttonBorderRadius: "md",
1306
- boldFirstButton: true,
1307
- buttonTexts: {
1308
- default: [
1309
- "Are these true to size?",
1310
- "What size should I get?",
1311
- "How does it feel?",
1312
- "Do they stretch out over time?",
1313
- "What's the fit/style?",
1314
- ],
1315
- },
1316
- } satisfies SuggestionBarWidgetV2Config,
1317
- topSuggestionsBarShorts: {
1318
- widgetConfigId: "topSuggestionsBarShorts",
1319
- contentId: "spiffy-top-suggestion-bar-contents",
1320
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1321
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1322
- type: WidgetType.SuggestionBarV2,
1323
- variant: "secondary",
1324
- hoverVariant: "secondaryDark",
1325
- animationSpeed: "none",
1326
- buttonBorderRadius: "md",
1327
- boldFirstButton: true,
1328
- buttonTexts: {
1329
- default: [
1330
- "How far down does it go?",
1331
- "Are these true to size?",
1332
- "What size should I get?",
1333
- "How does it feel?",
1334
- "Do they stretch out over time?",
1335
- "What's the fit/style?",
1336
- ],
1337
- },
1338
- } satisfies SuggestionBarWidgetV2Config,
1339
- bottomSuggestionsBarShorts: {
1340
- widgetConfigId: "bottomSuggestionsBarShorts",
1341
- contentId: "spiffy-top-suggestion-bar-contents",
1342
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1343
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1344
- type: WidgetType.SuggestionBarV2,
1345
- variant: "darkPrimary",
1346
- hoverVariant: "secondaryDark",
1347
- animationSpeed: "none",
1348
- buttonBorderRadius: "md",
1349
- boldFirstButton: true,
1350
- buttonTexts: {
1351
- default: [
1352
- "How far down does it go?",
1353
- "Are these true to size?",
1354
- "What size should I get?",
1355
- "How does it feel?",
1356
- "Do they stretch out over time?",
1357
- "What's the fit/style?",
1358
- ],
1359
- },
1360
- } satisfies SuggestionBarWidgetV2Config,
1361
- topSuggestionsBarAccessories: {
1362
- widgetConfigId: "topSuggestionsBarAccessories",
1363
- contentId: "spiffy-top-suggestion-bar-contents",
1364
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1365
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1366
- type: WidgetType.SuggestionBarV2,
1367
- variant: "secondary",
1368
- hoverVariant: "secondaryDark",
1369
- animationSpeed: "none",
1370
- buttonBorderRadius: "md",
1371
- boldFirstButton: true,
1372
- buttonTexts: {
1373
- default: [
1374
- "How does it enhance my outfit?",
1375
- "Is it good for everyday use?",
1376
- "Is it water resistant?",
1377
- "Is it carry-on size?",
1378
- ],
1379
- },
1380
- } satisfies SuggestionBarWidgetV2Config,
1381
- bottomSuggestionsBarAccessories: {
1382
- widgetConfigId: "bottomSuggestionsBarAccessories",
1383
- contentId: "spiffy-top-suggestion-bar-contents",
1384
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1385
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1386
- type: WidgetType.SuggestionBarV2,
1387
- variant: "darkPrimary",
1388
- hoverVariant: "secondaryDark",
1389
- animationSpeed: "none",
1390
- buttonBorderRadius: "md",
1391
- boldFirstButton: true,
1392
- buttonTexts: {
1393
- default: [
1394
- "How does it enhance my outfit?",
1395
- "Is it good for everyday use?",
1396
- "Is it water resistant?",
1397
- "Is it carry-on size?",
1398
- ],
1399
- },
1400
- } satisfies SuggestionBarWidgetV2Config,
1401
- topSuggestionsBarFootwear: {
1402
- widgetConfigId: "topSuggestionsBar",
1403
- contentId: "spiffy-top-suggestion-bar-contents",
1404
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1405
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1406
- type: WidgetType.SuggestionBarV2,
1407
- variant: "secondary",
1408
- hoverVariant: "secondaryDark",
1409
- animationSpeed: "none",
1410
- buttonBorderRadius: "md",
1411
- boldFirstButton: true,
1412
- buttonTexts: {
1413
- default: [
1414
- "What size should I choose?",
1415
- "Are they good for everyday wear?",
1416
- ],
1417
- },
1418
- } satisfies SuggestionBarWidgetV2Config,
1419
- bottomSuggestionsBarFootwear: {
1420
- widgetConfigId: "bottomSuggestionsBarFootwear",
1421
- contentId: "spiffy-top-suggestion-bar-contents",
1422
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1423
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1424
- type: WidgetType.SuggestionBarV2,
1425
- variant: "darkPrimary",
1426
- hoverVariant: "secondaryDark",
1427
- animationSpeed: "none",
1428
- buttonBorderRadius: "md",
1429
- boldFirstButton: true,
1430
- buttonTexts: {
1431
- default: [
1432
- "What size should I choose?",
1433
- "Are they good for everyday wear?",
1434
- "How do they fit?",
1435
- "What material are they made of?",
1436
- ],
1437
- },
1438
- } satisfies SuggestionBarWidgetV2Config,
1439
- topSuggestionsBarOuterwearWithReviews: {
1440
- widgetConfigId: "topSuggestionsBarOuterwearWithReviews",
1441
- contentId: "spiffy-top-suggestion-bar-contents",
1442
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1443
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1444
- type: WidgetType.SuggestionBarV2,
1445
- variant: "secondary",
1446
- hoverVariant: "secondaryDark",
1447
- animationSpeed: "none",
1448
- buttonBorderRadius: "md",
1449
- boldFirstButton: true,
1450
- buttonTexts: {
1451
- default: [
1452
- "Summarize the reviews.",
1453
- "How insulated is this jacket?",
1454
- "What material is it made of?",
1455
- "Can I layer this over a hoodie?",
1456
- "Does the material stretch?",
1457
- "Does it run small?",
1458
- ],
1459
- },
1460
- } satisfies SuggestionBarWidgetV2Config,
1461
- bottomSuggestionsBarOuterwearWithReviews: {
1462
- widgetConfigId: "bottomSuggestionsBarOuterwearWithReviews",
1463
- contentId: "spiffy-bottom-suggestion-bar-contents",
1464
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1465
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1466
- type: WidgetType.SuggestionBarV2,
1467
- variant: "darkPrimary",
1468
- hoverVariant: "secondaryDark",
1469
- animationSpeed: "none",
1470
- buttonBorderRadius: "md",
1471
- boldFirstButton: true,
1472
- buttonTexts: {
1473
- default: [
1474
- "Summarize the reviews.",
1475
- "How insulated is this jacket?",
1476
- "What material is it made of?",
1477
- "Can I layer this over a hoodie?",
1478
- "Does the material stretch?",
1479
- "Does it run small?",
1480
- ],
1481
- },
1482
- } satisfies SuggestionBarWidgetV2Config,
1483
- topSuggestionsBarTshirtsWithReviews: {
1484
- widgetConfigId: "topSuggestionsBarTshirtsWithReviews",
1485
- contentId: "spiffy-top-suggestion-bar-contents",
1486
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1487
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1488
- type: WidgetType.SuggestionBarV2,
1489
- variant: "secondary",
1490
- hoverVariant: "secondaryDark",
1491
- animationSpeed: "none",
1492
- buttonBorderRadius: "md",
1493
- boldFirstButton: true,
1494
- buttonTexts: {
1495
- default: [
1496
- "Summarize the reviews.",
1497
- "How does it fit?",
1498
- "What material is it made of?",
1499
- "Does it shrink in the wash?",
1500
- "Is it true to size?",
1501
- "What colors does it come in?",
1502
- ],
1503
- },
1504
- } satisfies SuggestionBarWidgetV2Config,
1505
- bottomSuggestionsBarTshirtsWithReviews: {
1506
- widgetConfigId: "bottomSuggestionsBarTshirtsWithReviews",
1507
- contentId: "spiffy-bottom-suggestion-bar-contents",
1508
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1509
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1510
- type: WidgetType.SuggestionBarV2,
1511
- variant: "darkPrimary",
1512
- hoverVariant: "secondaryDark",
1513
- animationSpeed: "none",
1514
- buttonBorderRadius: "md",
1515
- boldFirstButton: true,
1516
- buttonTexts: {
1517
- default: [
1518
- "Summarize the reviews.",
1519
- "How does it fit?",
1520
- "What material is it made of?",
1521
- "Does it shrink in the wash?",
1522
- "Is it true to size?",
1523
- "What colors does it come in?",
1524
- ],
1525
- },
1526
- } satisfies SuggestionBarWidgetV2Config,
1527
- topSuggestionsBarSweatshirtsWithReviews: {
1528
- widgetConfigId: "topSuggestionsBarSweatshirtsWithReviews",
1529
- contentId: "spiffy-top-suggestion-bar-contents",
1530
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1531
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1532
- type: WidgetType.SuggestionBarV2,
1533
- variant: "secondary",
1534
- hoverVariant: "secondaryDark",
1535
- animationSpeed: "none",
1536
- buttonBorderRadius: "md",
1537
- boldFirstButton: true,
1538
- buttonTexts: {
1539
- default: [
1540
- "Summarize the reviews.",
1541
- "How does it fit?",
1542
- "How does it feel?",
1543
- "What's the style?",
1544
- "Does it pair with sweatpants?",
1545
- "Is it warm enough for winter?",
1546
- ],
1547
- },
1548
- } satisfies SuggestionBarWidgetV2Config,
1549
- bottomSuggestionsBarSweatshirtsWithReviews: {
1550
- widgetConfigId: "bottomSuggestionsBarSweatshirtsWithReviews",
1551
- contentId: "spiffy-bottom-suggestion-bar-contents",
1552
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1553
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1554
- type: WidgetType.SuggestionBarV2,
1555
- variant: "darkPrimary",
1556
- hoverVariant: "secondaryDark",
1557
- animationSpeed: "none",
1558
- buttonBorderRadius: "md",
1559
- boldFirstButton: true,
1560
- buttonTexts: {
1561
- default: [
1562
- "Summarize the reviews.",
1563
- "How does it fit?",
1564
- "How does it feel?",
1565
- "What's the style?",
1566
- "Does it pair with sweatpants?",
1567
- "Is it warm enough for winter?",
1568
- ],
1569
- },
1570
- } satisfies SuggestionBarWidgetV2Config,
1571
- topSuggestionsBarSweatpantsWithReviews: {
1572
- widgetConfigId: "topSuggestionsBarSweatpantsWithReviews",
1573
- contentId: "spiffy-top-suggestion-bar-contents",
1574
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1575
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1576
- type: WidgetType.SuggestionBarV2,
1577
- variant: "secondary",
1578
- hoverVariant: "secondaryDark",
1579
- animationSpeed: "none",
1580
- buttonBorderRadius: "md",
1581
- boldFirstButton: true,
1582
- buttonTexts: {
1583
- default: [
1584
- "Summarize the reviews.",
1585
- "How does it fit?",
1586
- "How does it feel?",
1587
- "What's the style?",
1588
- "Does it pair with sweatshirts?",
1589
- "Are they true to size?",
1590
- ],
1591
- },
1592
- } satisfies SuggestionBarWidgetV2Config,
1593
- bottomSuggestionsBarSweatpantsWithReviews: {
1594
- widgetConfigId: "bottomSuggestionsBarSweatpantsWithReviews",
1595
- contentId: "spiffy-bottom-suggestion-bar-contents",
1596
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1597
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1598
- type: WidgetType.SuggestionBarV2,
1599
- variant: "darkPrimary",
1600
- hoverVariant: "secondaryDark",
1601
- animationSpeed: "none",
1602
- buttonBorderRadius: "md",
1603
- boldFirstButton: true,
1604
- buttonTexts: {
1605
- default: [
1606
- "Summarize the reviews.",
1607
- "How does it fit?",
1608
- "How does it feel?",
1609
- "What's the style?",
1610
- "Does it pair with sweatshirts?",
1611
- "Are they true to size?",
1612
- ],
1613
- },
1614
- } satisfies SuggestionBarWidgetV2Config,
1615
- topSuggestionsBarDenimWithReviews: {
1616
- widgetConfigId: "topSuggestionsBarDenimWithReviews",
1617
- contentId: "spiffy-top-suggestion-bar-contents",
1618
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1619
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1620
- type: WidgetType.SuggestionBarV2,
1621
- variant: "secondary",
1622
- hoverVariant: "secondaryDark",
1623
- animationSpeed: "none",
1624
- buttonBorderRadius: "md",
1625
- boldFirstButton: true,
1626
- buttonTexts: {
1627
- default: [
1628
- "Summarize the reviews.",
1629
- "How do they fit?",
1630
- "What size should I get?",
1631
- "What's the rise?",
1632
- "What's the material?",
1633
- "Do they stretch?",
1634
- ],
1635
- },
1636
- } satisfies SuggestionBarWidgetV2Config,
1637
- bottomSuggestionsBarDenimWithReviews: {
1638
- widgetConfigId: "bottomSuggestionsBarDenimWithReviews",
1639
- contentId: "spiffy-bottom-suggestion-bar-contents",
1640
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1641
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1642
- type: WidgetType.SuggestionBarV2,
1643
- variant: "darkPrimary",
1644
- hoverVariant: "secondaryDark",
1645
- animationSpeed: "none",
1646
- buttonBorderRadius: "md",
1647
- boldFirstButton: true,
1648
- buttonTexts: {
1649
- default: [
1650
- "Summarize the reviews.",
1651
- "How do they fit?",
1652
- "What size should I get?",
1653
- "What's the rise?",
1654
- "What's the material?",
1655
- "Do they stretch?",
1656
- ],
1657
- },
1658
- } satisfies SuggestionBarWidgetV2Config,
1659
- topSuggestionsBarTwillFleeceWithReviews: {
1660
- widgetConfigId: "topSuggestionsBarTwillFleeceWithReviews",
1661
- contentId: "spiffy-top-suggestion-bar-contents",
1662
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1663
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1664
- type: WidgetType.SuggestionBarV2,
1665
- variant: "secondary",
1666
- hoverVariant: "secondaryDark",
1667
- animationSpeed: "none",
1668
- buttonBorderRadius: "md",
1669
- boldFirstButton: true,
1670
- buttonTexts: {
1671
- default: [
1672
- "Summarize the reviews.",
1673
- "Are these true to size?",
1674
- "What size should I get?",
1675
- "How does it feel?",
1676
- "Do they stretch out over time?",
1677
- "What's the fit/style?",
1678
- ],
1679
- },
1680
- } satisfies SuggestionBarWidgetV2Config,
1681
- bottomSuggestionsBarTwillFleeceWithReviews: {
1682
- widgetConfigId: "bottomSuggestionsBarTwillFleeceWithReviews",
1683
- contentId: "spiffy-bottom-suggestion-bar-contents",
1684
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1685
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1686
- type: WidgetType.SuggestionBarV2,
1687
- variant: "darkPrimary",
1688
- hoverVariant: "secondaryDark",
1689
- animationSpeed: "none",
1690
- buttonBorderRadius: "md",
1691
- boldFirstButton: true,
1692
- buttonTexts: {
1693
- default: [
1694
- "Summarize the reviews.",
1695
- "Are these true to size?",
1696
- "What size should I get?",
1697
- "How does it feel?",
1698
- "Do they stretch out over time?",
1699
- "What's the fit/style?",
1700
- ],
1701
- },
1702
- } satisfies SuggestionBarWidgetV2Config,
1703
- topSuggestionsBarShortsWithReviews: {
1704
- widgetConfigId: "topSuggestionsBarShortsWithReviews",
1705
- contentId: "spiffy-top-suggestion-bar-contents",
1706
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1707
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1708
- type: WidgetType.SuggestionBarV2,
1709
- variant: "secondary",
1710
- hoverVariant: "secondaryDark",
1711
- animationSpeed: "none",
1712
- buttonBorderRadius: "md",
1713
- boldFirstButton: true,
1714
- buttonTexts: {
1715
- default: [
1716
- "Summarize the reviews.",
1717
- "How far down does it go?",
1718
- "Are these true to size?",
1719
- "What size should I get?",
1720
- "How does it feel?",
1721
- "Do they stretch out over time?",
1722
- "What's the fit/style?",
1723
- ],
1724
- },
1725
- } satisfies SuggestionBarWidgetV2Config,
1726
- bottomSuggestionsBarShortsWithReviews: {
1727
- widgetConfigId: "bottomSuggestionsBarShortsWithReviews",
1728
- contentId: "spiffy-bottom-suggestion-bar-contents",
1729
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1730
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1731
- type: WidgetType.SuggestionBarV2,
1732
- variant: "darkPrimary",
1733
- hoverVariant: "secondaryDark",
1734
- animationSpeed: "none",
1735
- buttonBorderRadius: "md",
1736
- boldFirstButton: true,
1737
- buttonTexts: {
1738
- default: [
1739
- "Summarize the reviews.",
1740
- "How far down does it go?",
1741
- "Are these true to size?",
1742
- "What size should I get?",
1743
- "How does it feel?",
1744
- "Do they stretch out over time?",
1745
- "What's the fit/style?",
1746
- ],
1747
- },
1748
- } satisfies SuggestionBarWidgetV2Config,
1749
- topSuggestionsBarAccessoriesWithReviews: {
1750
- widgetConfigId: "topSuggestionsBarAccessoriesWithReviews",
1751
- contentId: "spiffy-top-suggestion-bar-contents",
1752
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1753
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1754
- type: WidgetType.SuggestionBarV2,
1755
- variant: "secondary",
1756
- hoverVariant: "secondaryDark",
1757
- animationSpeed: "none",
1758
- buttonBorderRadius: "md",
1759
- boldFirstButton: true,
1760
- buttonTexts: {
1761
- default: [
1762
- "Summarize the reviews.",
1763
- "How does it enhance my outfit?",
1764
- "Is it good for everyday use?",
1765
- "Is it water resistant?",
1766
- "Is it carry-on size?",
1767
- ],
1768
- },
1769
- } satisfies SuggestionBarWidgetV2Config,
1770
- bottomSuggestionsBarAccessoriesWithReviews: {
1771
- widgetConfigId: "bottomSuggestionsBarAccessoriesWithReviews",
1772
- contentId: "spiffy-bottom-suggestion-bar-contents",
1773
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1774
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1775
- type: WidgetType.SuggestionBarV2,
1776
- variant: "darkPrimary",
1777
- hoverVariant: "secondaryDark",
1778
- animationSpeed: "none",
1779
- buttonBorderRadius: "md",
1780
- boldFirstButton: true,
1781
- buttonTexts: {
1782
- default: [
1783
- "Summarize the reviews.",
1784
- "How does it enhance my outfit?",
1785
- "Is it good for everyday use?",
1786
- "Is it water resistant?",
1787
- "Is it carry-on size?",
1788
- ],
1789
- },
1790
- } satisfies SuggestionBarWidgetV2Config,
1791
- topSuggestionsBarFootwearWithReviews: {
1792
- widgetConfigId: "topSuggestionsBarFootwearWithReviews",
1793
- contentId: "spiffy-top-suggestion-bar-contents",
1794
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1795
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1796
- type: WidgetType.SuggestionBarV2,
1797
- variant: "secondary",
1798
- hoverVariant: "secondaryDark",
1799
- animationSpeed: "none",
1800
- buttonBorderRadius: "md",
1801
- boldFirstButton: true,
1802
- buttonTexts: {
1803
- default: [
1804
- "Summarize the reviews.",
1805
- "What size should I choose?",
1806
- "Are they good for everyday wear?",
1807
- "How do they fit?",
1808
- "What material are they made of?",
1809
- ],
1810
- },
1811
- } satisfies SuggestionBarWidgetV2Config,
1812
- bottomSuggestionsBarFootwearWithReviews: {
1813
- widgetConfigId: "bottomSuggestionsBarFootwearWithReviews",
1814
- contentId: "spiffy-bottom-suggestion-bar-contents",
1815
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1816
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1817
- type: WidgetType.SuggestionBarV2,
1818
- variant: "darkPrimary",
1819
- hoverVariant: "secondaryDark",
1820
- animationSpeed: "none",
1821
- buttonBorderRadius: "md",
1822
- boldFirstButton: true,
1823
- buttonTexts: {
1824
- default: [
1825
- "Summarize the reviews.",
1826
- "What size should I choose?",
1827
- "Are they good for everyday wear?",
1828
- "How do they fit?",
1829
- "What material are they made of?",
1830
- ],
1831
- },
1832
- } satisfies SuggestionBarWidgetV2Config,
1833
- },
1834
- mountingConfigs: {
1835
- searchIconEntryPoint: {
1836
- mountingConfigId: "searchIconEntryPoint",
1837
- containerId: GLOBAL_SEARCH_ENTRYPOINT_ID,
1838
- testId: GLOBAL_SEARCH_ENTRYPOINT_TESTID,
1839
- insertionPoint: {
1840
- selector: '.header__secondary-nav a[href="/search"]',
1841
- insertionType: DOMInsertionType.BEFORE,
1842
- },
1843
- suppressionSelector: 'a[href="/search"]',
1844
- className: "global-entry-desktop",
1845
- },
1846
- searchOverlayHost: {
1847
- mountingConfigId: "searchOverlayHost",
1848
- containerId: SEARCH_OVERLAY_ENTRYPOINT_ID,
1849
- testId: SEARCH_OVERLAY_HOST_TESTID,
1850
- insertionPoint: {
1851
- selector: "body",
1852
- insertionType: DOMInsertionType.APPEND_CHILD,
1853
- },
1854
- className: "spiffy-overlay-host",
1855
- },
1856
- searchResultsEntryPointPLP: {
1857
- mountingConfigId: "searchResultsEntryPointPLP",
1858
- containerId: SEARCH_RESULTS_ENTRYPOINT_ID,
1859
- testId: SEARCH_RESULTS_ENTRYPOINT_TESTID,
1860
- insertionPoint: {
1861
- selector: "#main",
1862
- insertionType: DOMInsertionType.BEFORE,
1863
- },
1864
- className: "search-results-entry-point",
1865
- style: {
1866
- marginBottom: "60px",
1867
- },
1868
- },
1869
- chatPreviewPLP: {
1870
- mountingConfigId: "chatPreviewPLP",
1871
- containerId: CHAT_PREVIEW_CONTAINER_ID,
1872
- testId: CHAT_PREVIEW_TESTID,
1873
- insertionPoint: {
1874
- selector: ".product-list",
1875
- insertionType: DOMInsertionType.AFTER,
1876
- },
1877
- gridInsertionType: GridInsertionType.FIXED_8,
1878
- className: "is-plp",
1879
- style: {
1880
- gridRow: "3 / 3",
1881
- gridColumn: "1 / -1",
1882
- },
1883
- },
1884
- chatPreviewPDP: {
1885
- mountingConfigId: "chatPreviewPDP",
1886
- containerId: CHAT_PREVIEW_CONTAINER_ID,
1887
- testId: CHAT_PREVIEW_TESTID,
1888
- insertionPoint: {
1889
- selector: 'div[data-block-type="description"].product-info__block-item',
1890
- insertionType: DOMInsertionType.BEFORE,
1891
- },
1892
- },
1893
- topSuggestionBarPDP: {
1894
- mountingConfigId: "topSuggestionBarPDP",
1895
- containerId: TOP_SUGGESTION_BAR_PDP_ID,
1896
- testId: TOP_SUGGESTION_BAR_TESTID,
1897
- insertionPoint: {
1898
- selector: 'div[data-block-type="price"].product-info__block-item',
1899
- insertionType: DOMInsertionType.AFTER,
1900
- },
1901
- style: { marginTop: "15px" },
1902
- },
1903
- bottomSuggestionBarPDP: {
1904
- mountingConfigId: "bottomSuggestionBarPDP",
1905
- containerId: BOTTOM_REVIEWS_BAR_ID,
1906
- testId: BOTTOM_SUGGESTION_BAR_TESTID,
1907
- insertionPoint: {
1908
- selector: ".oke-w-header",
1909
- insertionType: DOMInsertionType.AFTER,
1910
- },
1911
- style: { marginBottom: "15px" },
1912
- },
1913
- },
1914
- });
1915
-
1916
- const jordanCraigOrgInfo = {
1917
- shortName: OrgShortName.JordanCraig,
1918
- name: "Jordan Craig",
1919
- domain: "jordancraig.com",
1920
- defaultProductId: "scallop-t-shirt",
1921
- alwaysEnabledMerchants: false,
1922
- orgUIConfig: jordanCraigOrgUIConfig,
1923
- orgColors: () => jordanCraigColors,
1924
- orgPageConfig: jordanCraigPageConfig,
1925
- } satisfies BasicOrgInfoType;
1926
-
1927
- export { jordanCraigOrgInfo };