@envive-ai/react-hooks 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (686) hide show
  1. package/dist/NewOrgConfig-BU6uJT74.js +15 -0
  2. package/dist/NewOrgConfig-DmidHiyj.cjs +20 -0
  3. package/dist/SystemSettingsContext-BbobkM82.cjs +20 -0
  4. package/dist/SystemSettingsContext-gtrccL_q.js +13 -0
  5. package/dist/TrackComponentVisibleEvent-CqjMiZCS.cjs +59 -0
  6. package/dist/TrackComponentVisibleEvent-D9kpqKM4.js +52 -0
  7. package/dist/amplitudeContext-B73xamNe.d.cts +52 -0
  8. package/dist/amplitudeContext-BhhYPJSL.d.ts +52 -0
  9. package/dist/amplitudeContext-Dr1jHI13.cjs +309 -0
  10. package/dist/amplitudeContext-YRS1QOO3.js +287 -0
  11. package/dist/api-DYjHj_hR.cjs +239 -0
  12. package/dist/api-d5uWvb3-.js +166 -0
  13. package/dist/{app-CjsQ2_n-.js → app-B9r0MF9n.js} +7 -7
  14. package/dist/{app-CnKRZ9RW.cjs → app-Bgr-mAvr.cjs} +10 -10
  15. package/dist/application/models/graphql/index.cjs +2 -1
  16. package/dist/application/models/graphql/index.d.ts +1 -1
  17. package/dist/application/models/graphql/index.js +2 -1
  18. package/dist/application/models/guards/api/index.cjs +3 -1
  19. package/dist/application/models/guards/api/index.d.ts +2 -2
  20. package/dist/application/models/guards/api/index.js +3 -1
  21. package/dist/application/models/guards/utils.cjs +3 -0
  22. package/dist/application/models/guards/utils.d.cts +2 -0
  23. package/dist/application/models/guards/utils.d.ts +2 -0
  24. package/dist/application/models/guards/utils.js +3 -0
  25. package/dist/application/models/index.cjs +13 -10
  26. package/dist/application/models/index.d.cts +9 -4
  27. package/dist/application/models/index.d.ts +12 -7
  28. package/dist/application/models/index.js +11 -7
  29. package/dist/application/models/utilityTypes/index.cjs +1 -1
  30. package/dist/application/models/utilityTypes/index.d.ts +1 -1
  31. package/dist/application/models/utilityTypes/index.js +1 -1
  32. package/dist/application/models/variantInfo/index.cjs +1 -1
  33. package/dist/application/models/variantInfo/index.d.cts +1 -1
  34. package/dist/application/models/variantInfo/index.d.ts +1 -1
  35. package/dist/application/models/variantInfo/index.js +1 -1
  36. package/dist/application/utils/index.cjs +47 -40
  37. package/dist/application/utils/index.d.cts +13 -8
  38. package/dist/application/utils/index.d.ts +15 -10
  39. package/dist/application/utils/index.js +20 -13
  40. package/dist/{atomStore-D8pjE1vL.js → atomStore-BuopbV9k.js} +1 -1
  41. package/dist/{atomStore-B4jIaDPd.cjs → atomStore-CZKe3itM.cjs} +1 -1
  42. package/dist/atoms/app/index.cjs +14 -9
  43. package/dist/atoms/app/index.d.cts +16 -11
  44. package/dist/atoms/app/index.d.ts +19 -14
  45. package/dist/atoms/app/index.js +14 -9
  46. package/dist/atoms/atomStore/index.cjs +2 -2
  47. package/dist/atoms/atomStore/index.d.cts +1 -1
  48. package/dist/atoms/atomStore/index.js +2 -2
  49. package/dist/atoms/chat/index.cjs +35 -28
  50. package/dist/atoms/chat/index.d.cts +36 -31
  51. package/dist/atoms/chat/index.d.ts +39 -34
  52. package/dist/atoms/chat/index.js +21 -14
  53. package/dist/atoms/globalSearch/index.cjs +1 -1
  54. package/dist/atoms/globalSearch/index.d.cts +5 -5
  55. package/dist/atoms/globalSearch/index.d.ts +6 -6
  56. package/dist/atoms/globalSearch/index.js +1 -1
  57. package/dist/atoms/org/index.cjs +6 -14
  58. package/dist/atoms/org/index.d.cts +28 -32
  59. package/dist/atoms/org/index.d.ts +31 -35
  60. package/dist/atoms/org/index.js +5 -11
  61. package/dist/atoms/search/index.cjs +46 -34
  62. package/dist/atoms/search/index.d.cts +10 -4
  63. package/dist/atoms/search/index.d.ts +13 -7
  64. package/dist/atoms/search/index.js +28 -16
  65. package/dist/atoms/search/types.cjs +5 -0
  66. package/dist/atoms/search/types.d.cts +2 -0
  67. package/dist/atoms/search/types.d.ts +2 -0
  68. package/dist/atoms/search/types.js +3 -0
  69. package/dist/atoms/search/utils.cjs +3 -0
  70. package/dist/atoms/search/utils.d.cts +5 -0
  71. package/dist/atoms/search/utils.d.ts +5 -0
  72. package/dist/atoms/search/utils.js +3 -0
  73. package/dist/cdnContext-CVgXkdV2.cjs +53 -0
  74. package/dist/cdnContext-DdE6VPIF.js +38 -0
  75. package/dist/chat-BNDYKsqF.js +258 -0
  76. package/dist/{chat-BubCW1as.cjs → chat-BkjIKhc5.cjs} +1 -1
  77. package/dist/chat-Br5FhtRs.cjs +394 -0
  78. package/dist/{chat-CV6MXeID.js → chat-CgLypC3w.js} +1 -1
  79. package/dist/chatElementDisplayLocation-BwiXrkN7.d.ts +25 -0
  80. package/dist/chatElementDisplayLocation-DWmfNX_u.d.cts +25 -0
  81. package/dist/chatSearch-BiF2__V0.js +295 -0
  82. package/dist/chatSearch-BrzfJOto.cjs +418 -0
  83. package/dist/chatState-BDsqKE-B.cjs +120 -0
  84. package/dist/chatState-ie771Hwy.js +34 -0
  85. package/dist/commerce-api-Dz1jxPOJ.js +311 -0
  86. package/dist/commerce-api-KoiUki51.cjs +318 -0
  87. package/dist/{components-Cw9WjA6g.cjs → components-Cby-Cma3.cjs} +1 -1
  88. package/dist/{components-B4T3Uzth.js → components-D1mg1-Br.js} +1 -1
  89. package/dist/config/locators/components/chat/index.cjs +1 -1
  90. package/dist/config/locators/components/chat/index.d.cts +1 -1
  91. package/dist/config/locators/components/chat/index.d.ts +1 -1
  92. package/dist/config/locators/components/chat/index.js +1 -1
  93. package/dist/config/locators/components/chat/variants/index.d.cts +1 -1
  94. package/dist/config/locators/components/chat/variants/index.d.ts +1 -1
  95. package/dist/config/locators/components/index.cjs +1 -1
  96. package/dist/config/locators/components/index.d.cts +1 -1
  97. package/dist/config/locators/components/index.d.ts +1 -1
  98. package/dist/config/locators/components/index.js +1 -1
  99. package/dist/config/locators/components/search/index.d.cts +1 -1
  100. package/dist/config/locators/index.cjs +42 -22
  101. package/dist/config/locators/index.d.cts +2 -2
  102. package/dist/config/locators/index.d.ts +3 -3
  103. package/dist/config/locators/index.js +25 -5
  104. package/dist/contexts/amplitudeContext/index.cjs +22 -0
  105. package/dist/contexts/amplitudeContext/index.d.cts +2 -0
  106. package/dist/contexts/amplitudeContext/index.d.ts +2 -0
  107. package/dist/contexts/amplitudeContext/index.js +20 -0
  108. package/dist/contexts/cdnContext/index.cjs +7 -0
  109. package/dist/contexts/cdnContext/index.d.cts +15 -0
  110. package/dist/contexts/cdnContext/index.d.ts +15 -0
  111. package/dist/contexts/cdnContext/index.js +6 -0
  112. package/dist/contexts/chatContext/index.cjs +331 -0
  113. package/dist/contexts/chatContext/index.d.cts +15 -0
  114. package/dist/contexts/chatContext/index.d.ts +15 -0
  115. package/dist/contexts/chatContext/index.js +324 -0
  116. package/dist/contexts/enviveConfigContext/index.cjs +7 -0
  117. package/dist/contexts/enviveConfigContext/index.d.cts +30 -0
  118. package/dist/contexts/enviveConfigContext/index.d.ts +30 -0
  119. package/dist/contexts/enviveConfigContext/index.js +6 -0
  120. package/dist/contexts/enviveCssContext/index.cjs +66 -0
  121. package/dist/contexts/enviveCssContext/index.d.cts +10 -0
  122. package/dist/contexts/enviveCssContext/index.d.ts +10 -0
  123. package/dist/contexts/enviveCssContext/index.js +63 -0
  124. package/dist/contexts/featureFlagContext/index.cjs +107 -0
  125. package/dist/contexts/featureFlagContext/index.d.cts +20 -0
  126. package/dist/contexts/featureFlagContext/index.d.ts +20 -0
  127. package/dist/contexts/featureFlagContext/index.js +103 -0
  128. package/dist/contexts/featureFlagServiceContext/index.cjs +6 -0
  129. package/dist/contexts/featureFlagServiceContext/index.d.cts +5 -0
  130. package/dist/contexts/featureFlagServiceContext/index.d.ts +5 -0
  131. package/dist/contexts/featureFlagServiceContext/index.js +5 -0
  132. package/dist/contexts/graphqlContext/index.cjs +16 -0
  133. package/dist/contexts/graphqlContext/index.d.cts +13 -0
  134. package/dist/contexts/graphqlContext/index.d.ts +13 -0
  135. package/dist/contexts/graphqlContext/index.js +15 -0
  136. package/dist/contexts/localStorageContext/index.cjs +6 -0
  137. package/dist/contexts/localStorageContext/index.d.cts +30 -0
  138. package/dist/contexts/localStorageContext/index.d.ts +30 -0
  139. package/dist/contexts/localStorageContext/index.js +4 -0
  140. package/dist/contexts/newOrgConfigContext/index.cjs +20 -0
  141. package/dist/contexts/newOrgConfigContext/index.d.cts +31 -0
  142. package/dist/contexts/newOrgConfigContext/index.d.ts +31 -0
  143. package/dist/contexts/newOrgConfigContext/index.js +19 -0
  144. package/dist/contexts/searchContext/index.cjs +24 -0
  145. package/dist/contexts/searchContext/index.d.cts +16 -0
  146. package/dist/contexts/searchContext/index.d.ts +16 -0
  147. package/dist/contexts/searchContext/index.js +23 -0
  148. package/dist/contexts/sessionStorageContext/index.cjs +5 -0
  149. package/dist/contexts/sessionStorageContext/index.d.cts +15 -0
  150. package/dist/contexts/sessionStorageContext/index.d.ts +15 -0
  151. package/dist/contexts/sessionStorageContext/index.js +4 -0
  152. package/dist/contexts/shopifyUrlContext/index.cjs +5 -0
  153. package/dist/contexts/shopifyUrlContext/index.d.cts +20 -0
  154. package/dist/contexts/shopifyUrlContext/index.d.ts +20 -0
  155. package/dist/contexts/shopifyUrlContext/index.js +4 -0
  156. package/dist/contexts/systemSettingsContext/index.cjs +8 -0
  157. package/dist/contexts/systemSettingsContext/index.d.cts +37 -0
  158. package/dist/contexts/systemSettingsContext/index.d.ts +37 -0
  159. package/dist/contexts/systemSettingsContext/index.js +6 -0
  160. package/dist/contexts/types.cjs +7 -0
  161. package/dist/contexts/types.d.cts +4 -0
  162. package/dist/contexts/types.d.ts +4 -0
  163. package/dist/contexts/types.js +3 -0
  164. package/dist/contexts/userIdentityContext/index.cjs +27 -0
  165. package/dist/contexts/userIdentityContext/index.d.cts +2 -0
  166. package/dist/contexts/userIdentityContext/index.d.ts +2 -0
  167. package/dist/contexts/userIdentityContext/index.js +26 -0
  168. package/dist/domObserver-B19-69gW.js +285 -0
  169. package/dist/domObserver-CwieVNgj.cjs +304 -0
  170. package/dist/enviveConfig-BQB14yuH.js +62 -0
  171. package/dist/enviveConfig-DAA9sozZ.cjs +130 -0
  172. package/dist/enviveConfigContext-BCpBKqsz.js +45 -0
  173. package/dist/enviveConfigContext-Btg5JUMG.cjs +60 -0
  174. package/dist/events/index.cjs +1 -1
  175. package/dist/events/index.d.ts +1 -1
  176. package/dist/events/index.js +1 -1
  177. package/dist/{events-BrLpaNxh.js → events-BHJJjPDN.js} +1 -1
  178. package/dist/{events-DwT6cEwI.cjs → events-B_fJZf9E.cjs} +1 -1
  179. package/dist/featureFlagServiceContext-Bcx5yh4S.cjs +56 -0
  180. package/dist/featureFlagServiceContext-Cpw8omUr.d.ts +23 -0
  181. package/dist/featureFlagServiceContext-Cvn6fcdB.d.cts +23 -0
  182. package/dist/featureFlagServiceContext-_tXX5iro.js +42 -0
  183. package/dist/featureGates-2Zea2D2S.js +27 -0
  184. package/dist/featureGates-BY2Zy7x_.cjs +33 -0
  185. package/dist/frontendConfig-DnMZfvcA.d.cts +857 -0
  186. package/dist/frontendConfig-Dqxbqo8G.d.ts +857 -0
  187. package/dist/{globalSearch-BFvEg53C.cjs → globalSearch-C94-vEVh.cjs} +1 -1
  188. package/dist/{globalSearch-B6THR7Jx.js → globalSearch-Dlbnfasm.js} +1 -1
  189. package/dist/graphql-DRLWdYEk.js +36 -0
  190. package/dist/graphql-xPDT7ZkK.cjs +53 -0
  191. package/dist/graphqlConfig-B4ddz1vH.cjs +39 -0
  192. package/dist/graphqlConfig-BnjOdeX7.js +14 -0
  193. package/dist/graphqlContext-B-9g2vOb.js +96 -0
  194. package/dist/graphqlContext-B7PEKDJs.cjs +111 -0
  195. package/dist/hooks/AmplitudeOperations/index.cjs +22 -0
  196. package/dist/hooks/AmplitudeOperations/index.d.cts +12 -0
  197. package/dist/hooks/AmplitudeOperations/index.d.ts +12 -0
  198. package/dist/hooks/AmplitudeOperations/index.js +22 -0
  199. package/dist/hooks/AppDetails/index.cjs +19 -0
  200. package/dist/hooks/AppDetails/index.d.cts +27 -0
  201. package/dist/hooks/AppDetails/index.d.ts +27 -0
  202. package/dist/hooks/AppDetails/index.js +19 -0
  203. package/dist/hooks/BlockBackButton/index.cjs +29 -0
  204. package/dist/hooks/BlockBackButton/index.d.cts +5 -0
  205. package/dist/hooks/BlockBackButton/index.d.ts +5 -0
  206. package/dist/hooks/BlockBackButton/index.js +27 -0
  207. package/dist/hooks/CdnOperations/index.cjs +24 -0
  208. package/dist/hooks/CdnOperations/index.d.cts +7 -0
  209. package/dist/hooks/CdnOperations/index.d.ts +7 -0
  210. package/dist/hooks/CdnOperations/index.js +22 -0
  211. package/dist/hooks/ChatToggle/index.cjs +64 -0
  212. package/dist/hooks/ChatToggle/index.d.cts +12 -0
  213. package/dist/hooks/ChatToggle/index.d.ts +12 -0
  214. package/dist/hooks/ChatToggle/index.js +62 -0
  215. package/dist/hooks/ChatToggleAnalytics/index.cjs +38 -0
  216. package/dist/hooks/ChatToggleAnalytics/index.d.cts +9 -0
  217. package/dist/hooks/ChatToggleAnalytics/index.d.ts +9 -0
  218. package/dist/hooks/ChatToggleAnalytics/index.js +36 -0
  219. package/dist/hooks/CustomerSupportHandoff/index.cjs +36 -0
  220. package/dist/hooks/CustomerSupportHandoff/index.d.cts +16 -0
  221. package/dist/hooks/CustomerSupportHandoff/index.d.ts +16 -0
  222. package/dist/hooks/CustomerSupportHandoff/index.js +34 -0
  223. package/dist/hooks/Debounce/index.cjs +3 -0
  224. package/dist/hooks/Debounce/index.d.cts +5 -0
  225. package/dist/hooks/Debounce/index.d.ts +5 -0
  226. package/dist/hooks/Debounce/index.js +3 -0
  227. package/dist/hooks/ElementObserver/index.cjs +179 -0
  228. package/dist/hooks/ElementObserver/index.d.cts +29 -0
  229. package/dist/hooks/ElementObserver/index.d.ts +29 -0
  230. package/dist/hooks/ElementObserver/index.js +177 -0
  231. package/dist/hooks/GrabAndScroll/index.cjs +99 -0
  232. package/dist/hooks/GrabAndScroll/index.d.cts +14 -0
  233. package/dist/hooks/GrabAndScroll/index.d.ts +14 -0
  234. package/dist/hooks/GrabAndScroll/index.js +97 -0
  235. package/dist/hooks/GraphQLConfig/index.cjs +17 -0
  236. package/dist/hooks/GraphQLConfig/index.d.cts +15 -0
  237. package/dist/hooks/GraphQLConfig/index.d.ts +15 -0
  238. package/dist/hooks/GraphQLConfig/index.js +16 -0
  239. package/dist/hooks/IdentifyUser/index.cjs +60 -0
  240. package/dist/hooks/IdentifyUser/index.d.cts +10 -0
  241. package/dist/hooks/IdentifyUser/index.d.ts +10 -0
  242. package/dist/hooks/IdentifyUser/index.js +58 -0
  243. package/dist/hooks/ImageResolver/index.cjs +55 -0
  244. package/dist/hooks/ImageResolver/index.d.cts +7 -0
  245. package/dist/hooks/ImageResolver/index.d.ts +7 -0
  246. package/dist/hooks/ImageResolver/index.js +53 -0
  247. package/dist/hooks/Intersection/index.cjs +3 -0
  248. package/dist/hooks/Intersection/index.d.cts +7 -0
  249. package/dist/hooks/Intersection/index.d.ts +7 -0
  250. package/dist/hooks/Intersection/index.js +3 -0
  251. package/dist/hooks/IsSmallScreen/index.cjs +22 -0
  252. package/dist/hooks/IsSmallScreen/index.d.cts +5 -0
  253. package/dist/hooks/IsSmallScreen/index.d.ts +5 -0
  254. package/dist/hooks/IsSmallScreen/index.js +20 -0
  255. package/dist/hooks/LocalStorageOperations/index.cjs +79 -0
  256. package/dist/hooks/LocalStorageOperations/index.d.cts +17 -0
  257. package/dist/hooks/LocalStorageOperations/index.d.ts +17 -0
  258. package/dist/hooks/LocalStorageOperations/index.js +74 -0
  259. package/dist/hooks/MessageFilter/index.cjs +54 -0
  260. package/dist/hooks/MessageFilter/index.d.cts +30 -0
  261. package/dist/hooks/MessageFilter/index.d.ts +30 -0
  262. package/dist/hooks/MessageFilter/index.js +54 -0
  263. package/dist/hooks/MessageScrollObserver/index.cjs +36 -0
  264. package/dist/hooks/MessageScrollObserver/index.d.cts +5 -0
  265. package/dist/hooks/MessageScrollObserver/index.d.ts +5 -0
  266. package/dist/hooks/MessageScrollObserver/index.js +34 -0
  267. package/dist/hooks/NewOrgConfig/index.cjs +20 -0
  268. package/dist/hooks/NewOrgConfig/index.d.cts +23 -0
  269. package/dist/hooks/NewOrgConfig/index.d.ts +23 -0
  270. package/dist/hooks/NewOrgConfig/index.js +20 -0
  271. package/dist/hooks/Search/index.cjs +326 -0
  272. package/dist/hooks/Search/index.d.cts +61 -0
  273. package/dist/hooks/Search/index.d.ts +61 -0
  274. package/dist/hooks/Search/index.js +323 -0
  275. package/dist/hooks/SearchOperations/index.cjs +102 -0
  276. package/dist/hooks/SearchOperations/index.d.cts +22 -0
  277. package/dist/hooks/SearchOperations/index.d.ts +22 -0
  278. package/dist/hooks/SearchOperations/index.js +99 -0
  279. package/dist/hooks/SessionStorageOperations/index.cjs +30 -0
  280. package/dist/hooks/SessionStorageOperations/index.d.cts +8 -0
  281. package/dist/hooks/SessionStorageOperations/index.d.ts +8 -0
  282. package/dist/hooks/SessionStorageOperations/index.js +28 -0
  283. package/dist/hooks/ShopifyUrlOperations/index.cjs +53 -0
  284. package/dist/hooks/ShopifyUrlOperations/index.d.cts +23 -0
  285. package/dist/hooks/ShopifyUrlOperations/index.d.ts +23 -0
  286. package/dist/hooks/ShopifyUrlOperations/index.js +49 -0
  287. package/dist/hooks/SnapCalculator/index.cjs +29 -0
  288. package/dist/hooks/SnapCalculator/index.d.cts +12 -0
  289. package/dist/hooks/SnapCalculator/index.d.ts +12 -0
  290. package/dist/hooks/SnapCalculator/index.js +27 -0
  291. package/dist/hooks/SystemSettingsContext/index.cjs +7 -0
  292. package/dist/hooks/SystemSettingsContext/index.d.cts +23 -0
  293. package/dist/hooks/SystemSettingsContext/index.d.ts +23 -0
  294. package/dist/hooks/SystemSettingsContext/index.js +7 -0
  295. package/dist/hooks/TrackComponentVisibleEvent/index.cjs +22 -0
  296. package/dist/hooks/TrackComponentVisibleEvent/index.d.cts +18 -0
  297. package/dist/hooks/TrackComponentVisibleEvent/index.d.ts +18 -0
  298. package/dist/hooks/TrackComponentVisibleEvent/index.js +22 -0
  299. package/dist/hooks/UpdateAnalyticsProps/index.cjs +62 -0
  300. package/dist/hooks/UpdateAnalyticsProps/index.d.cts +9 -0
  301. package/dist/hooks/UpdateAnalyticsProps/index.d.ts +9 -0
  302. package/dist/hooks/UpdateAnalyticsProps/index.js +59 -0
  303. package/dist/hooks/utils.cjs +8 -0
  304. package/dist/hooks/utils.d.cts +13 -0
  305. package/dist/hooks/utils.d.ts +13 -0
  306. package/dist/hooks/utils.js +3 -0
  307. package/dist/index-B9HUPS_i.d.cts +186 -0
  308. package/dist/{index-CcIG01PJ.d.ts → index-BN-3ctk_.d.ts} +2 -2
  309. package/dist/index-BNiYL8h0.d.cts +28 -0
  310. package/dist/{index-BDPWBU3h.d.cts → index-BW6pHibZ.d.cts} +1 -1
  311. package/dist/index-BirtCYN3.d.ts +186 -0
  312. package/dist/index-Bmub8e38.d.cts +1 -1
  313. package/dist/{index-Cqg6ltII.d.ts → index-BoYC9XLW.d.ts} +1 -1
  314. package/dist/index-C9zXP5bg.d.ts +28 -0
  315. package/dist/index-CESxqFso.d.cts +1 -1
  316. package/dist/index-CK_J3QMY.d.ts +676 -0
  317. package/dist/index-C_MIfxF0.d.cts +676 -0
  318. package/dist/index-CiWEYzXl.d.cts +1 -1
  319. package/dist/{index-C6KdON7d.d.ts → index-Da0UzyI9.d.ts} +1 -1
  320. package/dist/{index-ylUiJvnr.d.ts → index-Dr_c2DDq.d.ts} +1 -1
  321. package/dist/{index-PGF8BvxQ.d.ts → index-DsiilEj-.d.ts} +1 -1
  322. package/dist/{index-Byb45OPg.d.cts → index-MOOZ2oxZ.d.cts} +1 -1
  323. package/dist/{index-DOii3C6b.d.ts → index-ghzD_356.d.ts} +1 -1
  324. package/dist/{index-B0NW9KTj.d.cts → index-hdbCEjYy.d.cts} +1 -1
  325. package/dist/interceptors/index.cjs +2 -1
  326. package/dist/interceptors/index.d.cts +10 -10
  327. package/dist/interceptors/index.d.ts +13 -13
  328. package/dist/interceptors/index.js +2 -1
  329. package/dist/interceptors/types.cjs +1 -0
  330. package/dist/interceptors/types.d.cts +13 -0
  331. package/dist/interceptors/types.d.ts +13 -0
  332. package/dist/interceptors/types.js +3 -0
  333. package/dist/localStorageContext-DiTziaPa.js +95 -0
  334. package/dist/localStorageContext-S38L0OSP.cjs +115 -0
  335. package/dist/logger-CkhQayOW.js +20 -0
  336. package/dist/logger-DQ0WfCcD.cjs +26 -0
  337. package/dist/{models-BkXg5eIP.cjs → models-C48U9q70.js} +220 -458
  338. package/dist/models-Ctn-pmug.cjs +1537 -0
  339. package/dist/newOrgConfigAtom-D6R-7HCk.cjs +15 -0
  340. package/dist/newOrgConfigAtom-bn1lnljf.js +8 -0
  341. package/dist/newOrgConfigContext-D3WoaBVU.cjs +68 -0
  342. package/dist/newOrgConfigContext-rWOYz0E8.js +53 -0
  343. package/dist/{nodeSelector-Dm4S-10n.d.cts → nodeSelector-B3bPtEjX.d.cts} +1 -1
  344. package/dist/{nodeSelector-BxrS2S_k.d.ts → nodeSelector-D5gjDWZ3.d.ts} +1 -1
  345. package/dist/org-CIhjzxWr.cjs +43 -0
  346. package/dist/org-CeWXnpwF.js +12 -0
  347. package/dist/{orgAnalyticsConfig-ClrFy2qH.js → orgAnalyticsConfig-BC4_sEmn.js} +1 -1
  348. package/dist/{orgAnalyticsConfig-BJ2A1RZ-.cjs → orgAnalyticsConfig-DsGbyFhO.cjs} +1 -1
  349. package/dist/search--NZPZkK3.cjs +205 -0
  350. package/dist/search-BLShhjvR.d.ts +20 -0
  351. package/dist/search-CxZl7iQF.js +126 -0
  352. package/dist/{search-filter-types-fZf91Pdw.d.ts → search-filter-types-DPgeG8FS.d.ts} +1 -1
  353. package/dist/{search-filter-types-DosbseF3.d.cts → search-filter-types-_mprCnBi.d.cts} +1 -1
  354. package/dist/search-y-ioX5Mz.d.cts +20 -0
  355. package/dist/searchContext-C4Glr8Nv.cjs +145 -0
  356. package/dist/searchContext-VnjhV7Lk.js +129 -0
  357. package/dist/searchServiceAdapter-DEv1tTn0.cjs +34 -0
  358. package/dist/searchServiceAdapter-WyCU55NV.js +16 -0
  359. package/dist/sessionStorageContext-BJ05_j7l.cjs +66 -0
  360. package/dist/sessionStorageContext-Dp_bhXQP.js +52 -0
  361. package/dist/shopifyUrlContext-CGqpJl1o.js +61 -0
  362. package/dist/shopifyUrlContext-Cob4L7Dt.cjs +75 -0
  363. package/dist/spiffyWidgets-BuS00VaQ.d.cts +20 -0
  364. package/dist/spiffyWidgets-GILaqHv6.d.ts +20 -0
  365. package/dist/systemSettingsContext-BDKWrrco.cjs +60 -0
  366. package/dist/systemSettingsContext-Dqng3YSZ.js +39 -0
  367. package/dist/{test-types-C9b_OdfO.d.ts → test-types-EzMFw_U3.d.ts} +1 -1
  368. package/dist/{test-types-CgVJtwUr.d.cts → test-types-ThQiO_cc.d.cts} +1 -1
  369. package/dist/types/index.cjs +33 -5
  370. package/dist/types/index.d.cts +2 -2
  371. package/dist/types/index.d.ts +2 -2
  372. package/dist/types/index.js +30 -3
  373. package/dist/types-BUeRbZUk.d.cts +10 -0
  374. package/dist/types-BwNrLPSZ.cjs +106 -0
  375. package/dist/types-CMuTSKrW.d.ts +10 -0
  376. package/dist/types-CS0Hrzja.js +30 -0
  377. package/dist/types-CxObxLKs.cjs +48 -0
  378. package/dist/types-D3uOF0Oy.js +76 -0
  379. package/dist/types-fsXBIQwO.d.ts +51 -0
  380. package/dist/types-zuWLkBJ3.d.cts +51 -0
  381. package/dist/types.d.cts +15 -0
  382. package/dist/types.d.ts +15 -0
  383. package/dist/unsupportedProductExceptions-CKiri_vO.cjs +32 -0
  384. package/dist/unsupportedProductExceptions-ClxlJ6cU.js +20 -0
  385. package/dist/urlsParser-D1nsJgQG.cjs +78 -0
  386. package/dist/urlsParser-DzEetiey.js +42 -0
  387. package/dist/useAmplitudeOperations-BSsyvkQ2.cjs +41 -0
  388. package/dist/useAmplitudeOperations-BottjwT9.js +34 -0
  389. package/dist/useAppDetails-BpiBxS_5.cjs +38 -0
  390. package/dist/useAppDetails-DDNIsM46.js +30 -0
  391. package/dist/useDebounce-BaIp-A1W.cjs +26 -0
  392. package/dist/useDebounce-CxPj9WmE.js +19 -0
  393. package/dist/useGraphQLConfig-DZ0ZannB.js +63 -0
  394. package/dist/useGraphQLConfig-Dw8dDh3T.cjs +76 -0
  395. package/dist/useIntersection-B4J9UhaG.js +21 -0
  396. package/dist/useIntersection-DKWc5MY6.cjs +28 -0
  397. package/dist/{useMessageInterceptor-B87e3yu3.cjs → useMessageInterceptor-CstX10ih.cjs} +3 -3
  398. package/dist/{useMessageInterceptor-Bb7YRaWk.js → useMessageInterceptor-D5oAekXn.js} +2 -2
  399. package/dist/userIdentityContext-D2oFVFzo.d.cts +20 -0
  400. package/dist/userIdentityContext-DPFkCSCu.cjs +125 -0
  401. package/dist/userIdentityContext-Z65zM-Ae.js +109 -0
  402. package/dist/userIdentityContext-wYRpgkaJ.d.ts +20 -0
  403. package/dist/utilityTypes-DynzxjK3.js +1 -0
  404. package/dist/utilityTypes-xb8SjKSV.cjs +0 -0
  405. package/dist/utils-2SWrJ12w.cjs +29 -0
  406. package/dist/utils-B1xLx9S8.d.ts +15 -0
  407. package/dist/utils-B3x_9JTY.d.cts +15 -0
  408. package/dist/utils-BZtSmwgh.d.cts +22 -0
  409. package/dist/utils-Bcz5kAgP.js +92 -0
  410. package/dist/utils-CEKzBcN2.js +27 -0
  411. package/dist/utils-CMqFfqZx.cjs +130 -0
  412. package/dist/utils-CVovRwlw.js +606 -0
  413. package/dist/utils-CqBxIpEV.js +23 -0
  414. package/dist/utils-CsMbZmRw.cjs +33 -0
  415. package/dist/utils-DzPSXtmD.cjs +715 -0
  416. package/dist/utils-bxOCg2i9.d.ts +22 -0
  417. package/dist/variantInfo-B7IwRpCg.cjs +0 -0
  418. package/dist/variantInfo-BtOYUGWa.js +1 -0
  419. package/package.json +191 -7
  420. package/src/application/models/index.ts +0 -1
  421. package/src/application/utils/analyticsUtils.ts +1 -1
  422. package/src/atoms/amplitude/amplitudeTrackEventAtom.ts +1 -1
  423. package/src/atoms/app/index.ts +1 -1
  424. package/src/atoms/chat/chatState.ts +1 -1
  425. package/src/atoms/chat/replies.ts +1 -1
  426. package/src/atoms/org/graphqlConfig.ts +1 -39
  427. package/src/atoms/org/index.ts +0 -1
  428. package/src/atoms/org/newOrgConfigAtom.ts +2 -6
  429. package/src/contexts/{amplitudeContext.tsx → amplitudeContext/amplitudeContext.tsx} +1 -2
  430. package/src/contexts/amplitudeContext/index.ts +1 -0
  431. package/src/contexts/{cdnContext.tsx → cdnContext/cdnContext.tsx} +1 -1
  432. package/src/contexts/cdnContext/index.ts +1 -0
  433. package/src/contexts/{chatContext.tsx → chatContext/chatContext.tsx} +3 -3
  434. package/src/contexts/chatContext/index.ts +1 -0
  435. package/src/contexts/{enviveConfigContext.tsx → enviveConfigContext/enviveConfigContext.tsx} +1 -1
  436. package/src/contexts/enviveConfigContext/index.ts +1 -0
  437. package/src/contexts/{enviveCssContext.tsx → enviveCssContext/enviveCssContext.tsx} +1 -1
  438. package/src/contexts/enviveCssContext/index.ts +1 -0
  439. package/src/contexts/{featureFlagContext.tsx → featureFlagContext/featureFlagContext.tsx} +1 -1
  440. package/src/contexts/featureFlagContext/index.ts +1 -0
  441. package/src/contexts/featureFlagServiceContext/index.ts +1 -0
  442. package/src/contexts/graphqlContext/index.ts +1 -0
  443. package/src/contexts/localStorageContext/index.ts +1 -0
  444. package/src/contexts/{localStorageContext.tsx → localStorageContext/localStorageContext.tsx} +2 -2
  445. package/src/contexts/newOrgConfigContext/index.ts +1 -0
  446. package/src/contexts/newOrgConfigContext/newOrgConfigContext.tsx +70 -0
  447. package/src/contexts/searchContext/index.ts +1 -0
  448. package/src/contexts/{searchContext.tsx → searchContext/searchContext.tsx} +5 -5
  449. package/src/contexts/sessionStorageContext/index.ts +1 -0
  450. package/src/contexts/{sessionStorageContext.tsx → sessionStorageContext/sessionStorageContext.tsx} +1 -1
  451. package/src/contexts/shopifyUrlContext/index.ts +1 -0
  452. package/src/contexts/systemSettingsContext/index.ts +1 -0
  453. package/src/contexts/userIdentityContext/index.ts +1 -0
  454. package/src/events/registerAnalyticsListeners.ts +2 -2
  455. package/src/favicon.ico +0 -0
  456. package/src/hooks/AmplitudeOperations/index.ts +1 -0
  457. package/src/hooks/{useAmplitudeOperations.ts → AmplitudeOperations/useAmplitudeOperations.ts} +1 -1
  458. package/src/hooks/AppDetails/index.ts +1 -0
  459. package/src/hooks/{useAppDetails.ts → AppDetails/useAppDetails.ts} +1 -3
  460. package/src/hooks/BlockBackButton/index.ts +1 -0
  461. package/src/hooks/CdnOperations/index.ts +1 -0
  462. package/src/hooks/{useCdnOperations.ts → CdnOperations/useCdnOperations.ts} +1 -1
  463. package/src/hooks/ChatToggle/index.ts +1 -0
  464. package/src/hooks/{useChatToggle.ts → ChatToggle/useChatToggle.ts} +1 -1
  465. package/src/hooks/ChatToggleAnalytics/index.ts +1 -0
  466. package/src/hooks/{useChatToggleAnalytics.ts → ChatToggleAnalytics/useChatToggleAnalytics.ts} +1 -1
  467. package/src/hooks/CustomerSupportHandoff/index.ts +1 -0
  468. package/src/hooks/Debounce/index.ts +1 -0
  469. package/src/hooks/ElementObserver/index.ts +1 -0
  470. package/src/hooks/GrabAndScroll/index.ts +1 -0
  471. package/src/hooks/GraphQLConfig/index.ts +1 -0
  472. package/src/hooks/{useGraphQLConfig.ts → GraphQLConfig/useGraphQLConfig.ts} +1 -1
  473. package/src/hooks/IdentifyUser/index.ts +1 -0
  474. package/src/hooks/{useIdentifyUser.ts → IdentifyUser/useIdentifyUser.ts} +1 -1
  475. package/src/hooks/ImageResolver/index.ts +1 -0
  476. package/src/hooks/Intersection/index.ts +1 -0
  477. package/src/hooks/IsSmallScreen/index.ts +1 -0
  478. package/src/hooks/LocalStorageOperations/index.ts +1 -0
  479. package/src/hooks/{useLocalStorageOperations.ts → LocalStorageOperations/useLocalStorageOperations.ts} +2 -2
  480. package/src/hooks/MessageFilter/index.ts +1 -0
  481. package/src/hooks/MessageScrollObserver/index.ts +1 -0
  482. package/src/hooks/NewOrgConfig/index.ts +1 -0
  483. package/src/hooks/{useNewOrgConfig.ts → NewOrgConfig/useNewOrgConfig.ts} +1 -1
  484. package/src/hooks/Search/index.ts +1 -0
  485. package/src/hooks/{useSearch.tsx → Search/useSearch.tsx} +5 -4
  486. package/src/hooks/SearchOperations/index.ts +1 -0
  487. package/src/hooks/SessionStorageOperations/index.ts +1 -0
  488. package/src/hooks/{useSessionStorageOperations.ts → SessionStorageOperations/useSessionStorageOperations.ts} +1 -1
  489. package/src/hooks/ShopifyUrlOperations/index.ts +1 -0
  490. package/src/hooks/{useShopifyUrlOperations.ts → ShopifyUrlOperations/useShopifyUrlOperations.ts} +1 -1
  491. package/src/hooks/SnapCalculator/index.ts +1 -0
  492. package/src/hooks/SystemSettingsContext/index.ts +1 -0
  493. package/src/hooks/SystemSettingsContext/useSystemSettingsContext.ts +14 -0
  494. package/src/hooks/TrackComponentVisibleEvent/index.ts +1 -0
  495. package/src/hooks/{useTrackComponentVisibleEvent.ts → TrackComponentVisibleEvent/useTrackComponentVisibleEvent.ts} +2 -2
  496. package/src/hooks/UpdateAnalyticsProps/index.ts +1 -0
  497. package/src/hooks/{useUpdateAnalyticsProps.ts → UpdateAnalyticsProps/useUpdateAnalyticsProps.ts} +1 -1
  498. package/dist/amplitudeContext-CHzas7Cf.d.cts +0 -52
  499. package/dist/amplitudeContext-D-7fmVh1.cjs +0 -356
  500. package/dist/amplitudeContext-hY3caPC6.js +0 -322
  501. package/dist/amplitudeContext-tJ4y-SzX.d.ts +0 -52
  502. package/dist/api-DjeZXxl_.js +0 -207
  503. package/dist/api-_JaUnIUj.cjs +0 -292
  504. package/dist/bandolier-DYEz4-8C.js +0 -1229
  505. package/dist/bandolier-o_-xrbOV.cjs +0 -1229
  506. package/dist/carpe-CsG5jCcl.cjs +0 -607
  507. package/dist/carpe-DONk00bZ.js +0 -605
  508. package/dist/cdnUtils-32v8bDX9.cjs +0 -16
  509. package/dist/cdnUtils-E4tLBt2g.js +0 -11
  510. package/dist/chat-CO7cRkaq.cjs +0 -506
  511. package/dist/chat-hcRc4RRd.js +0 -285
  512. package/dist/contexts/index.cjs +0 -57
  513. package/dist/contexts/index.d.cts +0 -10
  514. package/dist/contexts/index.d.ts +0 -10
  515. package/dist/contexts/index.js +0 -23
  516. package/dist/contexts-B4ihTBsV.cjs +0 -2980
  517. package/dist/contexts-DGlr7M1o.js +0 -2596
  518. package/dist/coterie-CKB93qfz.cjs +0 -239
  519. package/dist/coterie-DHcj2fRE.js +0 -239
  520. package/dist/custservice-types-Dy0kc9TW.cjs +0 -35
  521. package/dist/custservice-types-mnIunabv.js +0 -23
  522. package/dist/default-BnB4p0Se.cjs +0 -234
  523. package/dist/default-D6f5Dyt7.js +0 -199
  524. package/dist/default-ZKkE5zT4.cjs +0 -4
  525. package/dist/default-legGZJwI.js +0 -4
  526. package/dist/divIds-2dJlU3z8.cjs +0 -117
  527. package/dist/divIds-BUrN2vY-.js +0 -21
  528. package/dist/dreamlandBaby-BiRYYFav.js +0 -346
  529. package/dist/dreamlandBaby-zuvmfzfD.cjs +0 -346
  530. package/dist/embedded-BJLWIriJ.js +0 -23
  531. package/dist/embedded-Dl79TJLC.cjs +0 -131
  532. package/dist/entrypoints-Bs3pn6EV.js +0 -7
  533. package/dist/entrypoints-Dqi5pzWH.cjs +0 -19
  534. package/dist/enviveConfig-BccuzS2a.cjs +0 -240
  535. package/dist/enviveConfig-CzhTz8Aa.js +0 -152
  536. package/dist/fiveCbd-DwTTwC2j.cjs +0 -613
  537. package/dist/fiveCbd-Dz2NouOF.js +0 -613
  538. package/dist/forLoveAndLemons-DqSdyD6S.js +0 -665
  539. package/dist/forLoveAndLemons-Ud6mPrV3.cjs +0 -667
  540. package/dist/graphql-BNW60InJ.cjs +0 -128
  541. package/dist/graphql-CjB8wHzm.js +0 -74
  542. package/dist/graphqlConfig-CYt6tWII.js +0 -30
  543. package/dist/graphqlConfig-DicykC-o.cjs +0 -61
  544. package/dist/greenpan-B_EbPkSP.js +0 -397
  545. package/dist/greenpan-kPE4fJgd.cjs +0 -397
  546. package/dist/grooveLife-Ckuir319.js +0 -342
  547. package/dist/grooveLife-DKSEQp1F.cjs +0 -342
  548. package/dist/homegrownCannabis-BVPa2pqe.js +0 -410
  549. package/dist/homegrownCannabis-BwIAkxuA.cjs +0 -410
  550. package/dist/hooks/index.cjs +0 -63
  551. package/dist/hooks/index.d.cts +0 -314
  552. package/dist/hooks/index.d.ts +0 -314
  553. package/dist/hooks/index.js +0 -23
  554. package/dist/index-BMPtlgac.d.ts +0 -191
  555. package/dist/index-C7pGDl1A.d.ts +0 -1609
  556. package/dist/index-C9lgsCWp.d.cts +0 -203
  557. package/dist/index-Cc-wBCn6.d.ts +0 -203
  558. package/dist/index-DTu2X-YS.d.cts +0 -1609
  559. package/dist/index-OEifcBsm.d.cts +0 -191
  560. package/dist/jackArcher-B39OEIj6.cjs +0 -727
  561. package/dist/jackArcher-BwkWGybC.js +0 -727
  562. package/dist/jordanCraig-CxRH_jLi.js +0 -1786
  563. package/dist/jordanCraig-RwmWw-jM.cjs +0 -1786
  564. package/dist/kindredBravely-D78VwL20.cjs +0 -490
  565. package/dist/kindredBravely-DQDpAzdl.js +0 -490
  566. package/dist/kutFromTheKloth-TcXQkIti.js +0 -369
  567. package/dist/kutFromTheKloth-dXRrNti0.cjs +0 -369
  568. package/dist/larryAndSerges-Bh5XEXsZ.js +0 -262
  569. package/dist/larryAndSerges-COdBzOzu.cjs +0 -262
  570. package/dist/leapsAndRebounds-BbXnqkl5.cjs +0 -360
  571. package/dist/leapsAndRebounds-mjCaH1k-.js +0 -360
  572. package/dist/longevityrx-DdV3v26F.cjs +0 -320
  573. package/dist/longevityrx-DfPDfvAt.js +0 -320
  574. package/dist/lookOptic-DgXFGBPP.cjs +0 -282
  575. package/dist/lookOptic-FgVW1afF.js +0 -282
  576. package/dist/mantraBrand-C5gVm3rk.cjs +0 -750
  577. package/dist/mantraBrand-uV8HCDR8.js +0 -750
  578. package/dist/medterra-BtDpr1Hw.cjs +0 -583
  579. package/dist/medterra-DgzE7-mj.js +0 -583
  580. package/dist/modells-CJjsxOIR.js +0 -484
  581. package/dist/modells-Ck5KbRFj.cjs +0 -484
  582. package/dist/models-UZ6HszfZ.js +0 -1281
  583. package/dist/org-C2RrBVQR.cjs +0 -81
  584. package/dist/org-xMytX--e.js +0 -38
  585. package/dist/pressedFloral-Bteoboms.js +0 -661
  586. package/dist/pressedFloral-CexgV-xy.cjs +0 -661
  587. package/dist/search-BMOAmrmY.js +0 -459
  588. package/dist/search-Df0Ifneg.cjs +0 -672
  589. package/dist/skinPerfection-BGzq9lq-.cjs +0 -334
  590. package/dist/skinPerfection-BlvcEcUE.js +0 -334
  591. package/dist/snapSupplements-CbbGzAgO.cjs +0 -285
  592. package/dist/snapSupplements-kcsPAOm9.js +0 -285
  593. package/dist/socialProofClasses-Db8gzsfi.cjs +0 -40
  594. package/dist/socialProofClasses-kwDvwLOZ.js +0 -10
  595. package/dist/spanx-B4WFA_rI.js +0 -661
  596. package/dist/spanx-BWoE4F8b.cjs +0 -663
  597. package/dist/spanxStaging-BOrOjhXn.js +0 -845
  598. package/dist/spanxStaging-BfdfIug4.cjs +0 -848
  599. package/dist/suggestionBarV2-types-IMMOmCir.js +0 -10
  600. package/dist/suggestionBarV2-types-nnGNgFvR.cjs +0 -16
  601. package/dist/supergoop-22dd5_BS.js +0 -323
  602. package/dist/supergoop-B-a4cku2.cjs +0 -323
  603. package/dist/types--pr1GQQx.js +0 -154
  604. package/dist/types-BVSyY3Hk.cjs +0 -196
  605. package/dist/uniqueVintage-CJXiNNe7.js +0 -1211
  606. package/dist/uniqueVintage-D0jzJWlo.cjs +0 -1213
  607. package/dist/userIdentityContext-BPqvVIg0.d.cts +0 -20
  608. package/dist/userIdentityContext-wbCRmlzp.d.ts +0 -20
  609. package/dist/utils-C9ZSCx12.js +0 -888
  610. package/dist/utils-D5HO61hG.cjs +0 -1016
  611. package/dist/venaCbd-Bhhu_qUf.cjs +0 -365
  612. package/dist/venaCbd-CanovPS_.js +0 -365
  613. package/dist/westonJonBoucher-BC0x1ktI.cjs +0 -422
  614. package/dist/westonJonBoucher-BUu1_wP1.js +0 -422
  615. package/dist/wineEnthusiast-BlCryfil.cjs +0 -940
  616. package/dist/wineEnthusiast-Ck1x5iJq.js +0 -940
  617. package/dist/wolfMattress-D9Mjq-HP.js +0 -372
  618. package/dist/wolfMattress-JssghhC-.cjs +0 -372
  619. package/dist/wolfTactical-C6exYhL7.cjs +0 -349
  620. package/dist/wolfTactical-CnV3KQdI.js +0 -349
  621. package/src/application/models/supportedOrgs.ts +0 -161
  622. package/src/atoms/org/orgPageConfig.ts +0 -42
  623. package/src/contexts/index.ts +0 -16
  624. package/src/contexts/newOrgConfigContext.tsx +0 -104
  625. package/src/contexts/orgConfigContext.tsx +0 -106
  626. package/src/hooks/index.ts +0 -27
  627. package/src/hooks/useSystemSettingsContext.ts +0 -12
  628. package/src/merchants/bandolier/bandolier.ts +0 -1371
  629. package/src/merchants/carpe/carpe.ts +0 -653
  630. package/src/merchants/coterie/coterie.ts +0 -277
  631. package/src/merchants/default.ts +0 -196
  632. package/src/merchants/dreamlandBaby/dreamlandBaby.ts +0 -381
  633. package/src/merchants/fiveCbd/fiveCbd.ts +0 -691
  634. package/src/merchants/forLoveAndLemons/forLoveAndLemons.ts +0 -751
  635. package/src/merchants/greenpan/greenpan.ts +0 -434
  636. package/src/merchants/grooveLife/grooveLife.ts +0 -392
  637. package/src/merchants/homegrownCannabis/homegrownCannabis.ts +0 -474
  638. package/src/merchants/init-merchant.sh +0 -53
  639. package/src/merchants/jackArcher/jackArcher.ts +0 -989
  640. package/src/merchants/jordanCraig/jordanCraig.ts +0 -1927
  641. package/src/merchants/kindredBravely/kindredBravely.ts +0 -538
  642. package/src/merchants/kutFromTheKloth/kutFromTheKloth.ts +0 -421
  643. package/src/merchants/larryAndSerges/larryAndSerges.ts +0 -318
  644. package/src/merchants/leapsAndRebounds/leapsAndRebounds.ts +0 -424
  645. package/src/merchants/longevityrx/longevityrx.ts +0 -374
  646. package/src/merchants/lookOptic/lookOptic.ts +0 -323
  647. package/src/merchants/mantraBrand/mantraBrand.ts +0 -844
  648. package/src/merchants/medterra/medterra.ts +0 -673
  649. package/src/merchants/modells/modells.ts +0 -543
  650. package/src/merchants/pressedFloral/pressedFloral.ts +0 -728
  651. package/src/merchants/skinPerfection/skinPerfection.ts +0 -385
  652. package/src/merchants/snapSupplements/snapSupplements.ts +0 -328
  653. package/src/merchants/spanx/spanx.ts +0 -810
  654. package/src/merchants/spanx/spanxStaging.ts +0 -936
  655. package/src/merchants/supergoop/supergoop.ts +0 -375
  656. package/src/merchants/uniqueVintage/uniqueVintage.ts +0 -1314
  657. package/src/merchants/venaCbd/venaCbd.ts +0 -407
  658. package/src/merchants/westonJonBoucher/westonJonBoucher.ts +0 -473
  659. package/src/merchants/wineEnthusiast/wineEnthusiast.ts +0 -990
  660. package/src/merchants/wolfMattress/wolfMattress.ts +0 -411
  661. package/src/merchants/wolfTactical/wolfTactical.ts +0 -383
  662. /package/dist/{atomStore-KSoFS3Jj.cjs → AmplitudeOperations-CNyxbBY6.cjs} +0 -0
  663. /package/dist/{atomStore-CZnUUsrr.js → AmplitudeOperations-Oa2efWtF.js} +0 -0
  664. /package/dist/{locators-fBXS_pxP.js → atomStore-BS6qtYZF.js} +0 -0
  665. /package/dist/{locators-0YYZu9n4.cjs → atomStore-BjRyLFEx.cjs} +0 -0
  666. /package/dist/{utilityTypes-8sETsYPk.js → types-DtTnp0o0.js} +0 -0
  667. /package/dist/{utilityTypes-COShxVir.cjs → types-a8gm_IaQ.cjs} +0 -0
  668. /package/dist/{variantInfo-orXoPBCU.cjs → types.cjs} +0 -0
  669. /package/dist/{variantInfo-DbVxA1yE.js → types.js} +0 -0
  670. /package/src/contexts/{featureFlagServiceContext.tsx → featureFlagServiceContext/featureFlagServiceContext.tsx} +0 -0
  671. /package/src/contexts/{graphqlContext.tsx → graphqlContext/graphqlContext.tsx} +0 -0
  672. /package/src/contexts/{shopifyUrlContext.tsx → shopifyUrlContext/shopifyUrlContext.tsx} +0 -0
  673. /package/src/contexts/{systemSettingsContext.tsx → systemSettingsContext/systemSettingsContext.tsx} +0 -0
  674. /package/src/contexts/{userIdentityContext.tsx → userIdentityContext/userIdentityContext.tsx} +0 -0
  675. /package/src/hooks/{useBlockBackButton.ts → BlockBackButton/useBlockBackButton.ts} +0 -0
  676. /package/src/hooks/{useCustomerSupportHandoff.ts → CustomerSupportHandoff/useCustomerSupportHandoff.ts} +0 -0
  677. /package/src/hooks/{useDebounce.ts → Debounce/useDebounce.ts} +0 -0
  678. /package/src/hooks/{useElementObserver.ts → ElementObserver/useElementObserver.ts} +0 -0
  679. /package/src/hooks/{useGrabAndScroll.ts → GrabAndScroll/useGrabAndScroll.ts} +0 -0
  680. /package/src/hooks/{useImageResolver.ts → ImageResolver/useImageResolver.ts} +0 -0
  681. /package/src/hooks/{useIntersection.ts → Intersection/useIntersection.ts} +0 -0
  682. /package/src/hooks/{useIsSmallScreen.ts → IsSmallScreen/useIsSmallScreen.ts} +0 -0
  683. /package/src/hooks/{useMessageFilter.ts → MessageFilter/useMessageFilter.ts} +0 -0
  684. /package/src/hooks/{useMessageScrollObserver.ts → MessageScrollObserver/useMessageScrollObserver.ts} +0 -0
  685. /package/src/hooks/{useSearchOperations.ts → SearchOperations/useSearchOperations.ts} +0 -0
  686. /package/src/hooks/{useSnapCalculator.ts → SnapCalculator/useSnapCalculator.ts} +0 -0
@@ -1,1314 +0,0 @@
1
- import { getCdnAssetURL } from "src/application/utils/cdnUtils";
2
- import { GridInsertionType } from "src/merchants/gridInsertion";
3
- import { DOMInsertionType } from "src/merchants/domInsertion";
4
- import { defaultOrgUIConfig } from "src/merchants/default";
5
- import {
6
- CategoryExtractorType,
7
- ChatPreviewWidgetConfig,
8
- ColorMapping,
9
- ColorNames,
10
- colorVar,
11
- SearchEntryPointWidgetConfig,
12
- OrgPageConfig,
13
- OrgUIConfig,
14
- PageVariantTestType,
15
- SearchPromptWidgetConfig,
16
- SuggestionBarWidgetV2Config,
17
- WidgetType,
18
- } from "src/contexts/types";
19
- import {
20
- CustomerServiceIntegrationMode,
21
- CustomerServiceType,
22
- } from "src/types/customerService";
23
- import {
24
- CHAT_PREVIEW_TESTID,
25
- TOP_SUGGESTION_BAR_TESTID,
26
- BOTTOM_SUGGESTION_BAR_TESTID,
27
- GLOBAL_SEARCH_ENTRYPOINT_TESTID,
28
- } from "src/config/locators";
29
- import { ChatElementDisplayLocation } from "src/application/models/chatElementDisplayLocation";
30
- import {
31
- CHAT_PREVIEW_CONTAINER_ID,
32
- TOP_SUGGESTION_BAR_PDP_ID,
33
- BOTTOM_REVIEWS_BAR_ID,
34
- GLOBAL_SEARCH_ENTRYPOINT_ID,
35
- MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID,
36
- } from "src/config/divIds";
37
- import { PageVisitCategory } from "@spiffy-ai/commerce-api-client";
38
- import { FeatureGates } from "src/application/models/featureGates";
39
- import { SuggestionBarLocationForMetrics } from "src/types/suggestionBarV2-types";
40
- import { BasicOrgInfoType, OrgShortName } from "src/application/models";
41
-
42
- const uniqueVintageColors: ColorMapping = {
43
- [ColorNames.TextPrimary]: "#000000",
44
- [ColorNames.TextSecondary]: "#595959",
45
- [ColorNames.TextAccent]: "#1D4A4F",
46
- [ColorNames.TextLink]: "#222222",
47
- [ColorNames.TextLight]: "#FFFFFF",
48
- [ColorNames.BackgroundPrimary]: "#FADDD5",
49
- [ColorNames.BackgroundSecondary]: "#FFFDF3",
50
- [ColorNames.BackgroundSecondaryDark]: "#EBE9E0",
51
- [ColorNames.BackgroundTertiary]: "#1D4A4F",
52
- [ColorNames.BackgroundDark]: "#222222",
53
- [ColorNames.BackgroundLight]: "#FFFFFF",
54
- [ColorNames.BackgroundSaturated]: "#FADDD5",
55
- [ColorNames.BorderLight]: "#E7E7E7",
56
- [ColorNames.BorderMedium]: "#C2C4C8",
57
- [ColorNames.BorderDark]: "#595959",
58
- [ColorNames.BorderOutline]: "#222222",
59
- [ColorNames.AccentPrimary]: "#FADDD5",
60
- [ColorNames.AccentSecondary]: "#C0E7D6",
61
- };
62
-
63
- const uniqueVintageOrgUIConfig = (): OrgUIConfig => {
64
- const defaultUniqueVintageOrgConfig = defaultOrgUIConfig(
65
- OrgShortName.UniqueVintage
66
- );
67
-
68
- return {
69
- ...defaultUniqueVintageOrgConfig,
70
- chatMessageConfig: {
71
- ...defaultUniqueVintageOrgConfig.chatMessageConfig!,
72
- assistantChatTitle: "Unique Vintage AI",
73
- variant: "standard",
74
- },
75
- chatHeader: {
76
- ...defaultUniqueVintageOrgConfig.chatHeader,
77
- chevronColor: colorVar(ColorNames.BackgroundDark),
78
- expandedColor: colorVar(ColorNames.BackgroundPrimary),
79
- imageSrc: getCdnAssetURL(
80
- "unique-vintage-long-logo.png",
81
- OrgShortName.UniqueVintage
82
- ),
83
- // icon: uniqueVintageLogo,
84
- },
85
- chatPreviewConfig: {
86
- ...defaultUniqueVintageOrgConfig.chatPreviewConfig!,
87
- variant: "filled",
88
- filledBackgroundColor: colorVar(ColorNames.AccentSecondary),
89
- iconFillColor: colorVar(ColorNames.AccentPrimary),
90
- buttonTextColor: colorVar(ColorNames.TextLight),
91
- buttonBackgroundColor: colorVar(ColorNames.BackgroundDark),
92
- buttonTextHoverColor: colorVar(ColorNames.TextPrimary),
93
- buttonBackgroundHoverColor: colorVar(ColorNames.BackgroundSecondaryDark),
94
- topMargin: 10,
95
- copies: {
96
- plp: [
97
- "a classic swimsuit that's perfect for poolside glamour?",
98
- "a skirt that twirls like it's straight out of the '50s?",
99
- "a handbag inspired by iconic eras?",
100
- "a dress that turns every head in the room?",
101
- ],
102
- pdp: [
103
- "the vintage-inspired details that make this piece timeless?",
104
- "what makes this style a true throwback treasure?",
105
- "what luxe materials will elevate your look?",
106
- "the size that's right for you?",
107
- ],
108
- },
109
- staticSuggestionCopies: {
110
- plp: [
111
- "What casual vintage pieces work for everyday wear?",
112
- "What pieces can I mix and match for a vintage-inspired wardrobe?",
113
- "What shoes are perfect for date nights and special occasions?",
114
- "What accessories can I add to elevate my vintage look?",
115
- ],
116
- pdp: [
117
- "What size will give me the right fit?",
118
- "How do I keep this piece in perfect condition for years to come?",
119
- "What features makes this piece the ideal statement for a vintage lover?",
120
- "How does this piece embody the spirit of past eras with modern style?",
121
- ],
122
- },
123
- headerConfig: {
124
- title: "Shopping Assistant",
125
- sparklesColor: undefined,
126
- imageHeight: 24,
127
- imageSrc: getCdnAssetURL(
128
- "unique-vintage-long-logo.png",
129
- OrgShortName.UniqueVintage
130
- ),
131
- },
132
- footerConfig: {
133
- ...defaultUniqueVintageOrgConfig.chatPreviewConfig!.footerConfig,
134
- replyButtonText: "What can I help you find?",
135
- replyButtonIcon: "magnifyingGlass",
136
- hasFade: false,
137
- },
138
- },
139
- floatingEntrypointConfig: {
140
- ...defaultUniqueVintageOrgConfig.floatingEntrypointConfig!,
141
- showOption: "always",
142
- expandedColor: colorVar(ColorNames.BorderOutline),
143
- iconStrokeColor: colorVar(ColorNames.BackgroundDark),
144
- iconFillColor: colorVar(ColorNames.BackgroundDark),
145
- expansionText: {
146
- pdp: "Will this complete your retro wardrobe?",
147
- plp: "What vintage treasure will you find today?",
148
- },
149
- },
150
- productCardConfig: {
151
- ...defaultUniqueVintageOrgConfig.productCardConfig!,
152
- },
153
- productReviewConfig: {
154
- ...defaultUniqueVintageOrgConfig.productReviewConfig!,
155
- colorVariant: "brand",
156
- incentivizedReviewFlag: false,
157
- },
158
- welcomeSectionConfig: {
159
- ...defaultUniqueVintageOrgConfig.welcomeSectionConfig!,
160
- title: "Welcome to Unique Vintage AI!",
161
- colorVariant: "brand",
162
- subtitle:
163
- "Hello, darling! I'm here to help you find everything you need to channel your unique, vintage-inspired style. Whether you're searching for the perfect outfit, need sizing advice, or just want to explore fabulous accessories, let's make your shopping experience as glamorous as you are!",
164
- },
165
- customerServiceIntegration: {
166
- integrationMode: CustomerServiceIntegrationMode.simple,
167
- provider: CustomerServiceType.zowie,
168
- },
169
- conversationalSearch: {
170
- enabled: true,
171
- replyInput: {
172
- sendIcon: "search",
173
- placeholder: "What can I help you find?",
174
- },
175
- // TODO: Migrate it to the new mount point structure.
176
- entrypointContainer: "id|chat-search-entrypoint",
177
- productGridContainer: "id|chat-search-product-page",
178
- searchContent: "query|.ss__autocomplete--target",
179
- pageContent: "id|MainContent",
180
- generalSearchBtn: "query|button.modal__close-button",
181
- },
182
- searchConfig: {
183
- enableGlobalSearch: true,
184
- searchFilterConfig: [
185
- {
186
- filterId: "color",
187
- displayName: "Color",
188
- attribute: "colors",
189
- type: "dynamic",
190
- sorting: {
191
- type: "alphabetic",
192
- },
193
- },
194
- {
195
- filterId: "size",
196
- displayName: "Size",
197
- type: "dynamic",
198
- attribute: "sizes",
199
- sorting: {
200
- type: "custom",
201
- map: {
202
- "One Size": 10,
203
- "XXS / 0": 20,
204
- "XS / 2": 30,
205
- "S / 4": 40,
206
- "M / 6 - 8": 50,
207
- "L / 10 - 12": 60,
208
- "XL / 14": 70,
209
- "1X / 16": 80,
210
- "2X / 18": 90,
211
- "3X / 20": 100,
212
- "4X / 22 - 24": 110,
213
- "5X / 26": 120,
214
- "6X": 130,
215
- },
216
- },
217
- },
218
- {
219
- filterId: "price",
220
- displayName: "Price",
221
- type: "price",
222
- bucketSize: 50,
223
- },
224
- ],
225
- },
226
-
227
- merchantOverrideCss: `
228
- #spiffy-modal-container {
229
- z-index: 2147483001 !important;
230
- }
231
- .spiffy-star-rating-star {
232
- fill: var(--spiffy-colors-text-accent) !important;
233
- }
234
- .spiffy-product-review-header-reviewer {
235
- color: var(--spiffy-colors-text-primary) !important;
236
- }
237
-
238
- /* WelcomeSection light text override */
239
- .spiffy-welcome-section-message-title {
240
- color: var(--spiffy-colors-text-light) !important;
241
- }
242
- .spiffy-welcome-section-message-subtitle {
243
- color: var(--spiffy-colors-text-light) !important;
244
- }
245
-
246
- #spiffy-ai-chat-preview {
247
- display: block;
248
- }
249
- #chat-search-product-page {
250
- display: block;
251
- }
252
- #chat-search-nav-entrypoint {
253
- display: flex;
254
- }
255
- #spiffy-ai-chat-preview.is-pdp {
256
- padding-top: 8px;
257
- border-top: solid 1px var(--spiffy-colors-border-light);
258
- }
259
- #spiffy-top-suggestion-bar-id {
260
- display: block;
261
- }
262
- #spiffy-ai-chat-preview {
263
- display: block;
264
- }
265
- #spiffy-bottom-reviews-bar-id {
266
- display: block;
267
- }
268
- .spiffy-chat-search-entrypoint-container {
269
- background: var(--spiffy-colors-background-primary) !important;
270
- border-color: var(--spiffy-colors-background-dark) !important;
271
- }
272
- .spiffy-chat-search-entrypoint-container .spiffy-button-base-button {
273
- color: var(--spiffy-colors-text-primary) !important;
274
- border: none;
275
- }
276
- .spiffy-chat-search-entrypoint-text p {
277
- font-family: 'Bookmania-SemiBold' !important;
278
- font-size: 16px !important;
279
- }
280
- #spiffy-ai-chat-preview-contents h1, h2, h3, h4, h5, h6 {
281
- --chakra-fonts-heading: 'Bookmania-Regular', 'Poppins', sans-serif;
282
- }
283
- .spiffy-headline {
284
- font-family: 'Bookmania-Regular', 'Poppins', sans-serif;
285
- }
286
- #spiffy-model-container h1, h2, h3, h4, h5, h6 {
287
- font-family: var(--chakra-fonts-heading);
288
- }
289
- #spiffy-model-container h1, h2, h3, h4, h5, h6 {
290
- --chakra-fonts-heading: 'Bookmania-Regular', 'Poppins', sans-serif;
291
- }
292
- .spiffy-suggestion-button-question-class {
293
- border: 1px solid var(--spiffy-colors-border-light);
294
- }
295
- .spiffy-tag-pill-text {
296
- color: var(--spiffy-colors-text-light) !important;
297
- }
298
- #return-to-results-button {
299
- display: block;
300
- }
301
- .spiffy-back-to-results-button {
302
- margin-left: 30px;
303
- margin-top: 30px;
304
- @media (max-width: 768px) {
305
- margin-left: 20px;
306
- margin-top: 20px;
307
- }
308
- }
309
- @media (max-width: 992px) {
310
- #chat-search-entrypoint {
311
- display: none;
312
- }
313
- }
314
- #chat-search-entrypoint-mobile {
315
- display: none;
316
- }
317
- .ss__autocomplete--active #chat-search-entrypoint-mobile {
318
- display: flex;
319
- }
320
- .spiffy-product-card-title {
321
- font-family: var(--chakra-fonts-heading);
322
- color: var(--spiffy-colors-text-link);
323
- }
324
- .spiffy-product-card-text-color {
325
- color: var(--spiffy-colors-text-secondary);
326
- }
327
-
328
- .spiffy-chat-header-close-button {
329
- color: var(--spiffy-colors-background-primary);
330
- background-color: var(--spiffy-colors-background-tertiary);
331
- }
332
-
333
- #spiffy-top-suggestion-bar-contents .spiffy-suggestion-button-question-class span {
334
- color: var(--spiffy-colors-text-accent) !important;
335
- }
336
-
337
- #spiffy-top-suggestion-bar-contents .spiffy-suggestion-button-question-class svg {
338
- fill: var(--spiffy-colors-text-accent) !important;
339
- stroke: var(--spiffy-colors-text-accent) !important;
340
- }
341
-
342
- #spiffy-bottom-suggestion-bar-contents .spiffy-suggestion-button-question-class svg {
343
- fill: var(--spiffy-colors-accent-primary) !important;
344
- stroke: var(--spiffy-colors-accent-primary) !important;
345
- }
346
-
347
- #spiffy-bottom-suggestion-bar-contents .spiffy-suggestion-button-question-class:hover svg {
348
- fill: var(--spiffy-colors-text-link) !important;
349
- stroke: var(--spiffy-colors-text-link) !important;
350
- }
351
-
352
- #spiffy-ai-global-search-entrypoint.global-entry-desktop {
353
- display: block;
354
- }
355
- #spiffy-ai-global-search-entrypoint-mobile.global-entry-mobile {
356
- display: none;
357
- }
358
-
359
- @media (max-width: 992px) {
360
- #spiffy-ai-global-search-entrypoint.global-entry-desktop {
361
- display: none;
362
- }
363
- #spiffy-ai-global-search-entrypoint-mobile.global-entry-mobile {
364
- display: block;
365
- }
366
- }
367
-
368
- #spiffy-ai-global-search-entrypoint.global-entry-desktop .spiffy-global-search-input-container {
369
- height: 80px;
370
- }
371
-
372
- .spiffy-global-search-input-container .spiffy-global-search-text {
373
- font-family: "Poly", serif;
374
- color: var(--spiffy-colors-text-link) !important;
375
- font-weight: 500;
376
- line-height: 80px;
377
- padding-top: 6px;
378
- }
379
-
380
- .spiffy-search-overlay-content .spiffy-headline {
381
- font-family: "Poly", serif;
382
- @media (min-width: 480px) {
383
- font-size: 32px;
384
- }
385
- }
386
-
387
- .spiffy-search-overlay-content .spiffy-body-text {
388
- font-family: "Poly", serif;
389
- }
390
-
391
- .spiffy-global-search-input-container svg {
392
- width: 26px;
393
- }
394
- `,
395
- };
396
- };
397
-
398
- const uniqueVintagePageConfig = (): OrgPageConfig => ({
399
- pageVariants: [
400
- {
401
- variantId: "search-results",
402
- variantType: "page_visit",
403
- variantTests: [
404
- { testType: PageVariantTestType.ShopifyPLP },
405
- {
406
- testType: PageVariantTestType.QueryParam,
407
- queryParam: "q",
408
- },
409
- {
410
- testType: PageVariantTestType.PageCategory,
411
- extractor: {
412
- type: CategoryExtractorType.VisitCategoryDefault,
413
- value: PageVisitCategory.Other,
414
- },
415
- },
416
- ],
417
- widgetMounting: [],
418
- },
419
- {
420
- variantId: "plp-global-search",
421
- variantType: "plp",
422
- variantTests: [
423
- { testType: PageVariantTestType.ShopifyPLP },
424
- {
425
- testType: PageVariantTestType.FeatureGate,
426
- featureGate: FeatureGates.IsGlobalSearchEnabled,
427
- },
428
- ],
429
- plpIdExtractor: "shopify-collection-id",
430
- widgetMounting: [
431
- {
432
- mountingConfigId: "globalSearchEntryPoint",
433
- widgetConfigId: "globalSearchEntryPoint",
434
- },
435
- {
436
- mountingConfigId: "globalSearchEntryPointMobile",
437
- widgetConfigId: "globalSearchEntryPointMobile",
438
- },
439
- {
440
- mountingConfigId: "chatPreviewPLP",
441
- widgetConfigId: "chatPreviewPLP",
442
- },
443
- ],
444
- },
445
- {
446
- variantId: "plp-search",
447
- variantType: "plp",
448
- variantTests: [
449
- {
450
- testType: PageVariantTestType.FeatureGate,
451
- featureGate: FeatureGates.IsNewFeatureEnabled,
452
- },
453
- { testType: PageVariantTestType.ShopifyPLP },
454
- ],
455
- plpIdExtractor: "shopify-collection-id",
456
- widgetMounting: [
457
- {
458
- mountingConfigId: "chatPreviewPLP",
459
- widgetConfigId: "searchPromptPLP",
460
- },
461
- ],
462
- },
463
- {
464
- variantId: "plp",
465
- variantType: "plp",
466
- variantTests: [{ testType: PageVariantTestType.ShopifyPLP }],
467
- plpIdExtractor: "shopify-collection-id",
468
- widgetMounting: [
469
- {
470
- mountingConfigId: "chatPreviewPLP",
471
- widgetConfigId: "chatPreviewPLP",
472
- },
473
- ],
474
- },
475
- {
476
- variantId: "pdpDressesHasReviewsGlobalSearch",
477
- variantType: "pdp",
478
- variantTests: [
479
- {
480
- testType: PageVariantTestType.ShopifyPDP,
481
- },
482
- {
483
- testType: PageVariantTestType.InCollection,
484
- collections: ["dresses"],
485
- },
486
- {
487
- testType: PageVariantTestType.HasReviews,
488
- reviewMinimum: 4,
489
- },
490
- {
491
- testType: PageVariantTestType.FeatureGate,
492
- featureGate: FeatureGates.IsGlobalSearchEnabled,
493
- },
494
- ],
495
- productIdExtractor: "shopify-product-id",
496
- widgetMounting: [
497
- {
498
- mountingConfigId: "globalSearchEntryPoint",
499
- widgetConfigId: "globalSearchEntryPoint",
500
- },
501
- {
502
- mountingConfigId: "globalSearchEntryPointMobile",
503
- widgetConfigId: "globalSearchEntryPointMobile",
504
- },
505
- {
506
- mountingConfigId: "topSuggestionBarPDP",
507
- widgetConfigId: "topSuggestionsBarDressesHasReviews",
508
- },
509
- {
510
- mountingConfigId: "chatPreviewPDP",
511
- widgetConfigId: "chatPreviewPDP",
512
- },
513
- {
514
- mountingConfigId: "bottomSuggestionBarPDP",
515
- widgetConfigId: "bottomSuggestionsBar",
516
- },
517
- ],
518
- },
519
- {
520
- variantId: "pdpDressesNoReviewsGlobalSearch",
521
- variantType: "pdp",
522
- variantTests: [
523
- {
524
- testType: PageVariantTestType.ShopifyPDP,
525
- },
526
- {
527
- testType: PageVariantTestType.InCollection,
528
- collections: ["dresses"],
529
- },
530
- {
531
- testType: PageVariantTestType.FeatureGate,
532
- featureGate: FeatureGates.IsGlobalSearchEnabled,
533
- },
534
- ],
535
- productIdExtractor: "shopify-product-id",
536
- widgetMounting: [
537
- {
538
- mountingConfigId: "globalSearchEntryPoint",
539
- widgetConfigId: "globalSearchEntryPoint",
540
- },
541
- {
542
- mountingConfigId: "globalSearchEntryPointMobile",
543
- widgetConfigId: "globalSearchEntryPointMobile",
544
- },
545
- {
546
- mountingConfigId: "topSuggestionBarPDP",
547
- widgetConfigId: "topSuggestionsBarDressesNoReviews",
548
- },
549
- {
550
- mountingConfigId: "chatPreviewPDP",
551
- widgetConfigId: "chatPreviewPDP",
552
- },
553
- {
554
- mountingConfigId: "bottomSuggestionBarPDP",
555
- widgetConfigId: "bottomSuggestionsBar",
556
- },
557
- ],
558
- },
559
- {
560
- variantId: "pdpSwimwearHasReviewsGlobalSearch",
561
- variantType: "pdp",
562
- variantTests: [
563
- {
564
- testType: PageVariantTestType.ShopifyPDP,
565
- },
566
- {
567
- testType: PageVariantTestType.InCollection,
568
- collections: ["swim-html"],
569
- },
570
- {
571
- testType: PageVariantTestType.HasReviews,
572
- reviewMinimum: 4,
573
- },
574
- {
575
- testType: PageVariantTestType.FeatureGate,
576
- featureGate: FeatureGates.IsGlobalSearchEnabled,
577
- },
578
- ],
579
- productIdExtractor: "shopify-product-id",
580
- widgetMounting: [
581
- {
582
- mountingConfigId: "globalSearchEntryPoint",
583
- widgetConfigId: "globalSearchEntryPoint",
584
- },
585
- {
586
- mountingConfigId: "globalSearchEntryPointMobile",
587
- widgetConfigId: "globalSearchEntryPointMobile",
588
- },
589
- {
590
- mountingConfigId: "topSuggestionBarPDP",
591
- widgetConfigId: "topSuggestionsBarSwimwearHasReviews",
592
- },
593
- {
594
- mountingConfigId: "chatPreviewPDP",
595
- widgetConfigId: "chatPreviewPDP",
596
- },
597
- {
598
- mountingConfigId: "bottomSuggestionBarPDP",
599
- widgetConfigId: "bottomSuggestionsBar",
600
- },
601
- ],
602
- },
603
- {
604
- variantId: "pdpSwimwearNoReviewsGlobalSearch",
605
- variantType: "pdp",
606
- variantTests: [
607
- {
608
- testType: PageVariantTestType.ShopifyPDP,
609
- },
610
- {
611
- testType: PageVariantTestType.InCollection,
612
- collections: ["swim-html"],
613
- },
614
- {
615
- testType: PageVariantTestType.FeatureGate,
616
- featureGate: FeatureGates.IsGlobalSearchEnabled,
617
- },
618
- ],
619
- productIdExtractor: "shopify-product-id",
620
- widgetMounting: [
621
- {
622
- mountingConfigId: "globalSearchEntryPoint",
623
- widgetConfigId: "globalSearchEntryPoint",
624
- },
625
- {
626
- mountingConfigId: "globalSearchEntryPointMobile",
627
- widgetConfigId: "globalSearchEntryPointMobile",
628
- },
629
- {
630
- mountingConfigId: "topSuggestionBarPDP",
631
- widgetConfigId: "topSuggestionsBarSwimwearNoReviews",
632
- },
633
- {
634
- mountingConfigId: "chatPreviewPDP",
635
- widgetConfigId: "chatPreviewPDP",
636
- },
637
- {
638
- mountingConfigId: "bottomSuggestionBarPDP",
639
- widgetConfigId: "bottomSuggestionsBar",
640
- },
641
- ],
642
- },
643
- {
644
- variantId: "pdpShoesHasReviewsGlobalSearch",
645
- variantType: "pdp",
646
- variantTests: [
647
- {
648
- testType: PageVariantTestType.ShopifyPDP,
649
- },
650
- {
651
- testType: PageVariantTestType.InCollection,
652
- collections: ["shoes"],
653
- },
654
- {
655
- testType: PageVariantTestType.HasReviews,
656
- reviewMinimum: 4,
657
- },
658
- {
659
- testType: PageVariantTestType.FeatureGate,
660
- featureGate: FeatureGates.IsGlobalSearchEnabled,
661
- },
662
- ],
663
- productIdExtractor: "shopify-product-id",
664
- widgetMounting: [
665
- {
666
- mountingConfigId: "globalSearchEntryPoint",
667
- widgetConfigId: "globalSearchEntryPoint",
668
- },
669
- {
670
- mountingConfigId: "globalSearchEntryPointMobile",
671
- widgetConfigId: "globalSearchEntryPointMobile",
672
- },
673
- {
674
- mountingConfigId: "topSuggestionBarPDP",
675
- widgetConfigId: "topSuggestionsBarShoesHasReviews",
676
- },
677
- {
678
- mountingConfigId: "chatPreviewPDP",
679
- widgetConfigId: "chatPreviewPDP",
680
- },
681
- {
682
- mountingConfigId: "bottomSuggestionBarPDP",
683
- widgetConfigId: "bottomSuggestionsBar",
684
- },
685
- ],
686
- },
687
- {
688
- variantId: "pdpShoesNoReviewsGlobalSearch",
689
- variantType: "pdp",
690
- variantTests: [
691
- {
692
- testType: PageVariantTestType.ShopifyPDP,
693
- },
694
- {
695
- testType: PageVariantTestType.InCollection,
696
- collections: ["shoes"],
697
- },
698
- {
699
- testType: PageVariantTestType.FeatureGate,
700
- featureGate: FeatureGates.IsGlobalSearchEnabled,
701
- },
702
- ],
703
- productIdExtractor: "shopify-product-id",
704
- widgetMounting: [
705
- {
706
- mountingConfigId: "globalSearchEntryPoint",
707
- widgetConfigId: "globalSearchEntryPoint",
708
- },
709
- {
710
- mountingConfigId: "globalSearchEntryPointMobile",
711
- widgetConfigId: "globalSearchEntryPointMobile",
712
- },
713
- {
714
- mountingConfigId: "topSuggestionBarPDP",
715
- widgetConfigId: "topSuggestionsBarShoesNoReviews",
716
- },
717
- {
718
- mountingConfigId: "chatPreviewPDP",
719
- widgetConfigId: "chatPreviewPDP",
720
- },
721
- {
722
- mountingConfigId: "bottomSuggestionBarPDP",
723
- widgetConfigId: "bottomSuggestionsBar",
724
- },
725
- ],
726
- },
727
- {
728
- variantId: "pdpGlobalSearch",
729
- variantType: "pdp",
730
- variantTests: [
731
- { testType: PageVariantTestType.ShopifyPDP },
732
- {
733
- testType: PageVariantTestType.FeatureGate,
734
- featureGate: FeatureGates.IsGlobalSearchEnabled,
735
- },
736
- ],
737
- productIdExtractor: "shopify-product-id",
738
- widgetMounting: [
739
- {
740
- mountingConfigId: "globalSearchEntryPoint",
741
- widgetConfigId: "globalSearchEntryPoint",
742
- },
743
- {
744
- mountingConfigId: "globalSearchEntryPointMobile",
745
- widgetConfigId: "globalSearchEntryPointMobile",
746
- },
747
- {
748
- mountingConfigId: "topSuggestionBarPDP",
749
- widgetConfigId: "topSuggestionsBar",
750
- },
751
- {
752
- mountingConfigId: "chatPreviewPDP",
753
- widgetConfigId: "chatPreviewPDP",
754
- },
755
- {
756
- mountingConfigId: "bottomSuggestionBarPDP",
757
- widgetConfigId: "bottomSuggestionsBar",
758
- },
759
- ],
760
- },
761
- {
762
- variantId: "pdpDressesHasReviews",
763
- variantType: "pdp",
764
- variantTests: [
765
- {
766
- testType: PageVariantTestType.ShopifyPDP,
767
- },
768
- {
769
- testType: PageVariantTestType.InCollection,
770
- collections: ["dresses"],
771
- },
772
- {
773
- testType: PageVariantTestType.HasReviews,
774
- reviewMinimum: 4,
775
- },
776
- ],
777
- productIdExtractor: "shopify-product-id",
778
- widgetMounting: [
779
- {
780
- mountingConfigId: "topSuggestionBarPDP",
781
- widgetConfigId: "topSuggestionsBarDressesHasReviews",
782
- },
783
- {
784
- mountingConfigId: "chatPreviewPDP",
785
- widgetConfigId: "chatPreviewPDP",
786
- },
787
- {
788
- mountingConfigId: "bottomSuggestionBarPDP",
789
- widgetConfigId: "bottomSuggestionsBar",
790
- },
791
- ],
792
- },
793
- {
794
- variantId: "pdpDressesNoReviews",
795
- variantType: "pdp",
796
- variantTests: [
797
- {
798
- testType: PageVariantTestType.ShopifyPDP,
799
- },
800
- {
801
- testType: PageVariantTestType.InCollection,
802
- collections: ["dresses"],
803
- },
804
- ],
805
- productIdExtractor: "shopify-product-id",
806
- widgetMounting: [
807
- {
808
- mountingConfigId: "topSuggestionBarPDP",
809
- widgetConfigId: "topSuggestionsBarDressesNoReviews",
810
- },
811
- {
812
- mountingConfigId: "chatPreviewPDP",
813
- widgetConfigId: "chatPreviewPDP",
814
- },
815
- {
816
- mountingConfigId: "bottomSuggestionBarPDP",
817
- widgetConfigId: "bottomSuggestionsBar",
818
- },
819
- ],
820
- },
821
- {
822
- variantId: "pdpSwimwearHasReviews",
823
- variantType: "pdp",
824
- variantTests: [
825
- {
826
- testType: PageVariantTestType.ShopifyPDP,
827
- },
828
- {
829
- testType: PageVariantTestType.InCollection,
830
- collections: ["swim-html"],
831
- },
832
- {
833
- testType: PageVariantTestType.HasReviews,
834
- reviewMinimum: 4,
835
- },
836
- ],
837
- productIdExtractor: "shopify-product-id",
838
- widgetMounting: [
839
- {
840
- mountingConfigId: "topSuggestionBarPDP",
841
- widgetConfigId: "topSuggestionsBarSwimwearHasReviews",
842
- },
843
- {
844
- mountingConfigId: "chatPreviewPDP",
845
- widgetConfigId: "chatPreviewPDP",
846
- },
847
- {
848
- mountingConfigId: "bottomSuggestionBarPDP",
849
- widgetConfigId: "bottomSuggestionsBar",
850
- },
851
- ],
852
- },
853
- {
854
- variantId: "pdpSwimwearNoReviews",
855
- variantType: "pdp",
856
- variantTests: [
857
- {
858
- testType: PageVariantTestType.ShopifyPDP,
859
- },
860
- {
861
- testType: PageVariantTestType.InCollection,
862
- collections: ["swim-html"],
863
- },
864
- ],
865
- productIdExtractor: "shopify-product-id",
866
- widgetMounting: [
867
- {
868
- mountingConfigId: "topSuggestionBarPDP",
869
- widgetConfigId: "topSuggestionsBarSwimwearNoReviews",
870
- },
871
- {
872
- mountingConfigId: "chatPreviewPDP",
873
- widgetConfigId: "chatPreviewPDP",
874
- },
875
- {
876
- mountingConfigId: "bottomSuggestionBarPDP",
877
- widgetConfigId: "bottomSuggestionsBar",
878
- },
879
- ],
880
- },
881
- {
882
- variantId: "pdpShoesHasReviews",
883
- variantType: "pdp",
884
- variantTests: [
885
- {
886
- testType: PageVariantTestType.ShopifyPDP,
887
- },
888
- {
889
- testType: PageVariantTestType.InCollection,
890
- collections: ["shoes"],
891
- },
892
- {
893
- testType: PageVariantTestType.HasReviews,
894
- reviewMinimum: 4,
895
- },
896
- ],
897
- productIdExtractor: "shopify-product-id",
898
- widgetMounting: [
899
- {
900
- mountingConfigId: "topSuggestionBarPDP",
901
- widgetConfigId: "topSuggestionsBarShoesHasReviews",
902
- },
903
- {
904
- mountingConfigId: "chatPreviewPDP",
905
- widgetConfigId: "chatPreviewPDP",
906
- },
907
- {
908
- mountingConfigId: "bottomSuggestionBarPDP",
909
- widgetConfigId: "bottomSuggestionsBar",
910
- },
911
- ],
912
- },
913
- {
914
- variantId: "pdpShoesNoReviews",
915
- variantType: "pdp",
916
- variantTests: [
917
- {
918
- testType: PageVariantTestType.ShopifyPDP,
919
- },
920
- {
921
- testType: PageVariantTestType.InCollection,
922
- collections: ["shoes"],
923
- },
924
- ],
925
- productIdExtractor: "shopify-product-id",
926
- widgetMounting: [
927
- {
928
- mountingConfigId: "topSuggestionBarPDP",
929
- widgetConfigId: "topSuggestionsBarShoesNoReviews",
930
- },
931
- {
932
- mountingConfigId: "chatPreviewPDP",
933
- widgetConfigId: "chatPreviewPDP",
934
- },
935
- {
936
- mountingConfigId: "bottomSuggestionBarPDP",
937
- widgetConfigId: "bottomSuggestionsBar",
938
- },
939
- ],
940
- },
941
- {
942
- variantId: "pdp",
943
- variantType: "pdp",
944
- variantTests: [{ testType: PageVariantTestType.ShopifyPDP }],
945
- productIdExtractor: "shopify-product-id",
946
- widgetMounting: [
947
- {
948
- mountingConfigId: "topSuggestionBarPDP",
949
- widgetConfigId: "topSuggestionsBar",
950
- },
951
- {
952
- mountingConfigId: "chatPreviewPDP",
953
- widgetConfigId: "chatPreviewPDP",
954
- },
955
- {
956
- mountingConfigId: "bottomSuggestionBarPDP",
957
- widgetConfigId: "bottomSuggestionsBar",
958
- },
959
- ],
960
- },
961
- ],
962
- widgetConfigs: {
963
- globalSearchEntryPoint: {
964
- widgetConfigId: "globalSearchEntryPoint",
965
- type: WidgetType.SearchZeroStateEntryPoint,
966
- searchZeroStateVariant: "backgroundTertiary",
967
- searchInputVariant: "standard",
968
- suggestionButtonConfig: {
969
- variant: "darkAccent",
970
- hoverVariant: "secondaryAccent",
971
- },
972
- layout: "icon",
973
- compactLabel: "Search",
974
- searchBoxPlaceholder: 'Try "Colorful maxi for a summer wedding"',
975
- initialSuggestions: [
976
- "Vintage dresses",
977
- "Maxi dresses",
978
- "Disney outfit",
979
- "Barbie collection",
980
- "1970s jumpsuit",
981
- "One-piece swimsuit",
982
- "Cinderella divine dresses",
983
- ],
984
- } satisfies SearchEntryPointWidgetConfig,
985
- globalSearchEntryPointMobile: {
986
- widgetConfigId: "globalSearchEntryPointMobile",
987
- type: WidgetType.SearchZeroStateEntryPoint,
988
- searchZeroStateVariant: "backgroundTertiary",
989
- searchInputVariant: "standard",
990
- suggestionButtonConfig: {
991
- variant: "darkAccent",
992
- hoverVariant: "secondaryAccent",
993
- },
994
- layout: "icon",
995
- searchBoxPlaceholder: 'Try "Colorful maxi for a summer wedding"',
996
- initialSuggestions: [
997
- "Vintage dresses",
998
- "Maxi dresses",
999
- "Disney outfit",
1000
- "Barbie collection",
1001
- "1970s jumpsuit",
1002
- "One-piece swimsuit",
1003
- "Cinderella divine dresses",
1004
- ],
1005
- } satisfies SearchEntryPointWidgetConfig,
1006
- topSuggestionsBar: {
1007
- widgetConfigId: "topSuggestionsBar",
1008
- contentId: "spiffy-top-suggestion-bar-contents",
1009
- type: WidgetType.SuggestionBarV2,
1010
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1011
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1012
- variant: "primary",
1013
- hoverVariant: "secondaryDark",
1014
- buttonTexts: {
1015
- default: [
1016
- "Summarize the reviews",
1017
- "What retro charm will this piece bring to my wardrobe?",
1018
- "What occasions is this piece perfect for?",
1019
- "How do others describe the fit and feel?",
1020
- "What makes this piece stand out for others?",
1021
- ],
1022
- },
1023
- boldFirstButton: true,
1024
- twoRowsOnMobile: false,
1025
- buttonBorderRadius: "md",
1026
- } satisfies SuggestionBarWidgetV2Config,
1027
- topSuggestionsBarDressesHasReviews: {
1028
- widgetConfigId: "topSuggestionsBarDressesHasReviews",
1029
- contentId: "spiffy-top-suggestion-bar-contents",
1030
- type: WidgetType.SuggestionBarV2,
1031
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1032
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1033
- variant: "primary",
1034
- hoverVariant: "secondaryDark",
1035
- buttonTexts: {
1036
- default: [
1037
- "Summarize the reviews",
1038
- "Which unique accessories pair with this?",
1039
- "Is the fit flowy or figure-enhancing?",
1040
- "Is it true to size?",
1041
- ],
1042
- },
1043
- boldFirstButton: true,
1044
- twoRowsOnMobile: false,
1045
- buttonBorderRadius: "md",
1046
- } satisfies SuggestionBarWidgetV2Config,
1047
- topSuggestionsBarDressesNoReviews: {
1048
- widgetConfigId: "topSuggestionsBarDressesNoReviews",
1049
- contentId: "spiffy-top-suggestion-bar-contents",
1050
- type: WidgetType.SuggestionBarV2,
1051
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1052
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1053
- variant: "primary",
1054
- hoverVariant: "secondaryDark",
1055
- buttonTexts: {
1056
- default: [
1057
- "What occasion is this dress for?",
1058
- "Which unique accessories pair with this?",
1059
- "Is the fit flowy or figure-enhancing?",
1060
- "Is it true to size?",
1061
- ],
1062
- },
1063
- boldFirstButton: true,
1064
- twoRowsOnMobile: false,
1065
- buttonBorderRadius: "md",
1066
- } satisfies SuggestionBarWidgetV2Config,
1067
- topSuggestionsBarSwimwearHasReviews: {
1068
- widgetConfigId: "topSuggestionsBarSwimwearHasReviews",
1069
- contentId: "spiffy-top-suggestion-bar-contents",
1070
- type: WidgetType.SuggestionBarV2,
1071
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1072
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1073
- variant: "primary",
1074
- hoverVariant: "secondaryDark",
1075
- buttonTexts: {
1076
- default: [
1077
- "Summarize the reviews",
1078
- "Which accessories pair well?",
1079
- "Does the top have padding?",
1080
- "Does it run true to size?",
1081
- ],
1082
- },
1083
- boldFirstButton: true,
1084
- twoRowsOnMobile: false,
1085
- buttonBorderRadius: "md",
1086
- } satisfies SuggestionBarWidgetV2Config,
1087
- topSuggestionsBarSwimwearNoReviews: {
1088
- widgetConfigId: "topSuggestionsBarSwimwearNoReviews",
1089
- contentId: "spiffy-top-suggestion-bar-contents",
1090
- type: WidgetType.SuggestionBarV2,
1091
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1092
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1093
- variant: "primary",
1094
- hoverVariant: "secondaryDark",
1095
- buttonTexts: {
1096
- default: [
1097
- "Does it run true to size?",
1098
- "Which accessories pair well?",
1099
- "Does the top have padding?",
1100
- "Does it run true to size?",
1101
- ],
1102
- },
1103
- boldFirstButton: true,
1104
- twoRowsOnMobile: false,
1105
- buttonBorderRadius: "md",
1106
- } satisfies SuggestionBarWidgetV2Config,
1107
- topSuggestionsBarShoesHasReviews: {
1108
- widgetConfigId: "topSuggestionsBarShoesHasReviews",
1109
- contentId: "spiffy-top-suggestion-bar-contents",
1110
- type: WidgetType.SuggestionBarV2,
1111
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1112
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1113
- variant: "primary",
1114
- hoverVariant: "secondaryDark",
1115
- buttonTexts: {
1116
- default: [
1117
- "Summarize the reviews",
1118
- "Is this good for a night out?",
1119
- "Are these true to size?",
1120
- "Are these good for casual wear?",
1121
- ],
1122
- },
1123
- boldFirstButton: true,
1124
- twoRowsOnMobile: false,
1125
- buttonBorderRadius: "md",
1126
- } satisfies SuggestionBarWidgetV2Config,
1127
- topSuggestionsBarShoesNoReviews: {
1128
- widgetConfigId: "topSuggestionsBarShoesNoReviews",
1129
- contentId: "spiffy-top-suggestion-bar-contents",
1130
- type: WidgetType.SuggestionBarV2,
1131
- metricDisplayLocation: ChatElementDisplayLocation.TOP_REVIEWS_SNIPPET,
1132
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_TOP,
1133
- variant: "primary",
1134
- hoverVariant: "secondaryDark",
1135
- buttonTexts: {
1136
- default: [
1137
- "What era inspired these shoes?",
1138
- "Is this good for a night out?",
1139
- "Are these true to size?",
1140
- "Are these good for casual wear?",
1141
- ],
1142
- },
1143
- boldFirstButton: true,
1144
- twoRowsOnMobile: false,
1145
- buttonBorderRadius: "md",
1146
- } satisfies SuggestionBarWidgetV2Config,
1147
- searchPromptPLP: {
1148
- widgetConfigId: "searchPromptPLP",
1149
- type: WidgetType.SearchPrompt,
1150
- variant: "primary",
1151
- title: "Find exactly what you're looking for...",
1152
- headerConfig: {
1153
- title: "Search Assistant",
1154
- logo: "search-logo.svg",
1155
- logoHeight: 25,
1156
- orgShortName: "unique-vintage",
1157
- },
1158
- suggestionButtons: {
1159
- variant: "darkPrimary",
1160
- hoverVariant: "secondary",
1161
- buttonTexts: [
1162
- "Vintage dresses",
1163
- "Maxi dresses",
1164
- "Disney outfit",
1165
- "Barbie collection",
1166
- "1970s jumpsuit",
1167
- "One-piece swimsuit",
1168
- "Cinderella divine dresses",
1169
- ],
1170
- },
1171
- footerConfig: {
1172
- replyButtonText: "Be as specific as you like...",
1173
- replyButtonIcon: "ai-search",
1174
- },
1175
- } satisfies SearchPromptWidgetConfig,
1176
- chatPreviewPLP: {
1177
- widgetConfigId: "chatPreview",
1178
- type: WidgetType.ChatPreview,
1179
- variant: "filled",
1180
- addSeparators: true,
1181
- footerConfig: {
1182
- replyButtonText: "What can I help you find?",
1183
- replyButtonIcon: "magnifyingGlass",
1184
- },
1185
- } satisfies ChatPreviewWidgetConfig,
1186
- chatPreviewPDP: {
1187
- widgetConfigId: "chatPreviewPDP",
1188
- type: WidgetType.ChatPreview,
1189
- variant: "filled",
1190
- addSeparators: true,
1191
- } satisfies ChatPreviewWidgetConfig,
1192
- bottomSuggestionsBar: {
1193
- widgetConfigId: "bottomSuggestionsBar",
1194
- contentId: "spiffy-bottom-suggestion-bar-contents",
1195
- type: WidgetType.SuggestionBarV2,
1196
- metricDisplayLocation: ChatElementDisplayLocation.BOTTOM_REVIEWS_SNIPPET,
1197
- location: SuggestionBarLocationForMetrics.SUGGESTION_BAR_BOTTOM,
1198
- variant: "dark",
1199
- hoverVariant: "secondaryDark",
1200
- buttonTexts: {
1201
- default: [
1202
- "Summarize the reviews",
1203
- "What retro charm will this piece bring to my wardrobe?",
1204
- "What occasions is this piece perfect for?",
1205
- "How do others describe the fit and feel?",
1206
- "What makes this piece stand out for others?",
1207
- ],
1208
- },
1209
- boldFirstButton: true,
1210
- twoRowsOnMobile: true,
1211
- animationSpeed: "none",
1212
- buttonBorderRadius: "md",
1213
- } satisfies SuggestionBarWidgetV2Config,
1214
- },
1215
- mountingConfigs: {
1216
- globalSearchEntryPoint: {
1217
- mountingConfigId: "globalSearchEntryPoint",
1218
- containerId: GLOBAL_SEARCH_ENTRYPOINT_ID,
1219
- testId: GLOBAL_SEARCH_ENTRYPOINT_TESTID,
1220
- insertionPoint: {
1221
- selector: ".header__search.header__search--desktop",
1222
- insertionType: DOMInsertionType.AFTER,
1223
- },
1224
- suppressionSelector:
1225
- ".search-modal__content.search-modal__content-bottom",
1226
- className: "global-entry-desktop",
1227
- style: {
1228
- zIndex: "2147483647",
1229
- marginRight: "32px",
1230
- height: "80px",
1231
- },
1232
- },
1233
- globalSearchEntryPointMobile: {
1234
- mountingConfigId: "globalSearchEntryPoint",
1235
- containerId: MOBILE_GLOBAL_SEARCH_ENTRYPOINT_ID,
1236
- testId: GLOBAL_SEARCH_ENTRYPOINT_TESTID,
1237
- insertionPoint: {
1238
- selector: "sticky-header.header-wrapper:has(.mobile-search)",
1239
- insertionType: DOMInsertionType.AFTER,
1240
- },
1241
- suppressionSelector: ".mobile-search .search-modal__form",
1242
- className: "global-entry-mobile",
1243
- style: {
1244
- zIndex: "2147483647",
1245
- marginTop: "8px",
1246
- marginLeft: "15px",
1247
- marginRight: "15px",
1248
- },
1249
- },
1250
- chatPreviewPLP: {
1251
- mountingConfigId: "chatPreviewPLP",
1252
- containerId: CHAT_PREVIEW_CONTAINER_ID,
1253
- testId: CHAT_PREVIEW_TESTID,
1254
- insertionPoint: {
1255
- selector: ".collection .product-grid",
1256
- insertionType: DOMInsertionType.AFTER,
1257
- },
1258
- gridInsertionType: GridInsertionType.ROW_2,
1259
- },
1260
- chatPreviewPDP: {
1261
- mountingConfigId: "chatPreviewPDP",
1262
- containerId: CHAT_PREVIEW_CONTAINER_ID,
1263
- testId: CHAT_PREVIEW_TESTID,
1264
- insertionPoint: {
1265
- selector: ".product__accordion",
1266
- insertionType: DOMInsertionType.BEFORE,
1267
- },
1268
- style: {
1269
- marginTop: "16px",
1270
- marginBottom: "8px",
1271
- },
1272
- },
1273
- topSuggestionBarPDP: {
1274
- mountingConfigId: "topSuggestionBarPDP",
1275
- containerId: TOP_SUGGESTION_BAR_PDP_ID,
1276
- testId: TOP_SUGGESTION_BAR_TESTID,
1277
- insertionPoint: {
1278
- selector: "div:has(> .main_price)",
1279
- insertionType: DOMInsertionType.AFTER,
1280
- },
1281
- style: {
1282
- marginTop: "16px",
1283
- marginBottom: "16px",
1284
- },
1285
- },
1286
- bottomSuggestionBarPDP: {
1287
- mountingConfigId: "bottomSuggestionBarPDP",
1288
- containerId: BOTTOM_REVIEWS_BAR_ID,
1289
- testId: BOTTOM_SUGGESTION_BAR_TESTID,
1290
- insertionPoint: {
1291
- selector: ".junip-product-review-summary-wrapper + div.junip-separator",
1292
- insertionType: DOMInsertionType.ADJACENT_AFTER_END,
1293
- selectionIndex: 0,
1294
- },
1295
- style: {
1296
- marginTop: "16px",
1297
- marginBottom: "16px",
1298
- },
1299
- },
1300
- },
1301
- });
1302
-
1303
- const uniqueVintageOrgInfo = {
1304
- shortName: OrgShortName.UniqueVintage,
1305
- name: "Unique Vintage",
1306
- domain: "unique-vintage.com",
1307
- defaultProductId: "red-cowgirl-print-swing-shirt-dress",
1308
- alwaysEnabledMerchants: true,
1309
- orgUIConfig: uniqueVintageOrgUIConfig,
1310
- orgColors: () => uniqueVintageColors,
1311
- orgPageConfig: uniqueVintagePageConfig,
1312
- } satisfies BasicOrgInfoType;
1313
-
1314
- export { uniqueVintageOrgInfo };