fast-simon-sdk 1.6.119 → 1.6.121

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 (660) hide show
  1. package/lib/models/autocomplete.d.ts +0 -5
  2. package/lib/models/common.d.ts +10 -2
  3. package/lib/models/common.js.map +1 -1
  4. package/lib/sections/index.js +15 -11
  5. package/lib/sections/index.js.map +1 -1
  6. package/lib/sections/initialization/index.js +0 -9
  7. package/lib/sections/initialization/index.js.map +1 -1
  8. package/lib/services/common.js +3 -1
  9. package/lib/services/common.js.map +1 -1
  10. package/lib/services/related.js +3 -1
  11. package/lib/services/related.js.map +1 -1
  12. package/lib/services/reporting.js +7 -1
  13. package/lib/services/reporting.js.map +1 -1
  14. package/lib/services/visualDiscoveryReporting.js +11 -5
  15. package/lib/services/visualDiscoveryReporting.js.map +1 -1
  16. package/lib/utils/callbackArg.d.ts +15 -0
  17. package/lib/utils/callbackArg.js +21 -0
  18. package/lib/utils/callbackArg.js.map +1 -0
  19. package/lib/utils/shopifyCustomerId.d.ts +8 -0
  20. package/lib/utils/shopifyCustomerId.js +25 -0
  21. package/lib/utils/shopifyCustomerId.js.map +1 -0
  22. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.d.ts +27 -0
  23. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js +2 -0
  24. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js.map +1 -0
  25. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.d.ts +1 -0
  26. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js +2 -0
  27. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js.map +1 -0
  28. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.d.ts +18 -0
  29. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js +2 -0
  30. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js.map +1 -0
  31. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.d.ts +23 -0
  32. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js +2 -0
  33. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js.map +1 -0
  34. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.d.ts +138 -0
  35. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js +2 -0
  36. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js.map +1 -0
  37. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.d.ts +126 -0
  38. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js +2 -0
  39. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js.map +1 -0
  40. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.d.ts +34 -0
  41. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js +2 -0
  42. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js.map +1 -0
  43. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.d.ts +75 -0
  44. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js +8 -0
  45. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js.map +1 -0
  46. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.d.ts +86 -0
  47. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js +241 -0
  48. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js.map +1 -0
  49. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.d.ts +13 -0
  50. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js +71 -0
  51. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js.map +1 -0
  52. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.d.ts +14 -0
  53. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js +62 -0
  54. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js.map +1 -0
  55. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.d.ts +1 -0
  56. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js +21 -0
  57. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js.map +1 -0
  58. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.d.ts +9 -0
  59. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js +54 -0
  60. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js.map +1 -0
  61. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.d.ts +26 -0
  62. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js +399 -0
  63. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js.map +1 -0
  64. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.d.ts +13 -0
  65. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js +84 -0
  66. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js.map +1 -0
  67. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.d.ts +31 -0
  68. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js +302 -0
  69. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js.map +1 -0
  70. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts +16 -0
  71. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js +38 -0
  72. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map +1 -0
  73. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.d.ts +24 -0
  74. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js +156 -0
  75. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js.map +1 -0
  76. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.d.ts +9 -0
  77. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js +122 -0
  78. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js.map +1 -0
  79. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.d.ts +14 -0
  80. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js +36 -0
  81. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js.map +1 -0
  82. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.d.ts +0 -0
  83. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js +2 -0
  84. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js.map +1 -0
  85. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.d.ts +13 -0
  86. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js +10 -0
  87. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js.map +1 -0
  88. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.d.ts +20 -0
  89. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js +32 -0
  90. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js.map +1 -0
  91. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.d.ts +28 -0
  92. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js +332 -0
  93. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js.map +1 -0
  94. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.d.ts +33 -0
  95. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js +171 -0
  96. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js.map +1 -0
  97. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.d.ts +20 -0
  98. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js +27 -0
  99. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js.map +1 -0
  100. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.d.ts +60 -0
  101. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js +111 -0
  102. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js.map +1 -0
  103. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.d.ts +8 -0
  104. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js +72 -0
  105. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js.map +1 -0
  106. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.d.ts +2 -0
  107. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js +16 -0
  108. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js.map +1 -0
  109. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.d.ts +0 -0
  110. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js +2 -0
  111. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js.map +1 -0
  112. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.d.ts +1 -0
  113. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js +9 -0
  114. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js.map +1 -0
  115. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.d.ts +13 -0
  116. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js +60 -0
  117. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js.map +1 -0
  118. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.d.ts +1 -0
  119. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js +14 -0
  120. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js.map +1 -0
  121. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.d.ts +22 -0
  122. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js +29 -0
  123. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js.map +1 -0
  124. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.d.ts +2 -0
  125. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js +11 -0
  126. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js.map +1 -0
  127. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.d.ts +3 -0
  128. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js +25 -0
  129. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js.map +1 -0
  130. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.d.ts +9 -0
  131. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js +25 -0
  132. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js.map +1 -0
  133. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.d.ts +2 -0
  134. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js +41 -0
  135. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js.map +1 -0
  136. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.d.ts +1 -0
  137. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js +16 -0
  138. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js.map +1 -0
  139. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.d.ts +2 -0
  140. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js +48 -0
  141. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js.map +1 -0
  142. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.d.ts +1 -0
  143. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js +11 -0
  144. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js.map +1 -0
  145. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.d.ts +2 -0
  146. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js +18 -0
  147. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js.map +1 -0
  148. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.d.ts +2 -0
  149. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js +11 -0
  150. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js.map +1 -0
  151. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.d.ts +9 -0
  152. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js +68 -0
  153. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js.map +1 -0
  154. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.d.ts +8 -0
  155. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js +25 -0
  156. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js.map +1 -0
  157. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.d.ts +4 -0
  158. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js +113 -0
  159. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js.map +1 -0
  160. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.d.ts +1 -0
  161. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js +17 -0
  162. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js.map +1 -0
  163. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.d.ts +1 -0
  164. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js +9 -0
  165. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js.map +1 -0
  166. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.d.ts +10 -0
  167. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js +76 -0
  168. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js.map +1 -0
  169. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.d.ts +2 -0
  170. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js +13 -0
  171. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js.map +1 -0
  172. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.d.ts +1 -0
  173. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js +10 -0
  174. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js.map +1 -0
  175. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.d.ts +1 -0
  176. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js +28 -0
  177. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js.map +1 -0
  178. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.d.ts +18 -0
  179. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js +94 -0
  180. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js.map +1 -0
  181. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.d.ts +10 -0
  182. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js +31 -0
  183. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js.map +1 -0
  184. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.d.ts +53 -0
  185. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js +98 -0
  186. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js.map +1 -0
  187. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.d.ts +4 -0
  188. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js +16 -0
  189. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js.map +1 -0
  190. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.d.ts +25 -0
  191. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js +59 -0
  192. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js.map +1 -0
  193. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.d.ts +6 -0
  194. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js +17 -0
  195. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js.map +1 -0
  196. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.d.ts +1 -0
  197. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js +8 -0
  198. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js.map +1 -0
  199. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.d.ts +4 -0
  200. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js +16 -0
  201. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js.map +1 -0
  202. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.d.ts +7 -0
  203. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js +21 -0
  204. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js.map +1 -0
  205. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.d.ts +1 -0
  206. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js +11 -0
  207. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js.map +1 -0
  208. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.d.ts +10 -0
  209. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js +86 -0
  210. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js.map +1 -0
  211. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.d.ts +13 -0
  212. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js +53 -0
  213. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js.map +1 -0
  214. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.d.ts +4 -0
  215. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js +8 -0
  216. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js.map +1 -0
  217. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.d.ts +36 -0
  218. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js +70 -0
  219. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js.map +1 -0
  220. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.d.ts +2 -0
  221. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js +100 -0
  222. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js.map +1 -0
  223. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.d.ts +1 -0
  224. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js +17 -0
  225. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js.map +1 -0
  226. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.d.ts +10 -0
  227. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js +86 -0
  228. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js.map +1 -0
  229. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.d.ts +2 -0
  230. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js +19 -0
  231. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js.map +1 -0
  232. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.d.ts +2 -0
  233. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js +12 -0
  234. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js.map +1 -0
  235. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.d.ts +1 -0
  236. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js +4 -0
  237. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js.map +1 -0
  238. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.d.ts +4 -0
  239. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js +23 -0
  240. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js.map +1 -0
  241. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.d.ts +4 -0
  242. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js +32 -0
  243. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js.map +1 -0
  244. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.d.ts +5 -0
  245. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js +19 -0
  246. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js.map +1 -0
  247. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.d.ts +10 -0
  248. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js +84 -0
  249. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js.map +1 -0
  250. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.d.ts +24 -0
  251. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js +25 -0
  252. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js.map +1 -0
  253. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/package.json +34 -0
  254. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.d.ts +42 -0
  255. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js +2 -0
  256. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js.map +1 -0
  257. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.d.ts +2 -0
  258. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js +2 -0
  259. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js.map +1 -0
  260. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.d.ts +142 -0
  261. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js +2 -0
  262. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js.map +1 -0
  263. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.d.ts +4 -0
  264. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js +2 -0
  265. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js.map +1 -0
  266. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.d.ts +4 -0
  267. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js +2 -0
  268. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js.map +1 -0
  269. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.d.ts +4 -0
  270. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js +2 -0
  271. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js.map +1 -0
  272. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.d.ts +1 -0
  273. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js +2 -0
  274. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js.map +1 -0
  275. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.d.ts +75 -0
  276. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js +2 -0
  277. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js.map +1 -0
  278. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.d.ts +11 -0
  279. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js +2 -0
  280. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js.map +1 -0
  281. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.d.ts +41 -0
  282. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js +2 -0
  283. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js.map +1 -0
  284. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.d.ts +40 -0
  285. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js +2 -0
  286. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js.map +1 -0
  287. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.d.ts +40 -0
  288. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js +2 -0
  289. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js.map +1 -0
  290. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.d.ts +1 -0
  291. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js +2 -0
  292. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js.map +1 -0
  293. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.d.ts +41 -0
  294. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js +2 -0
  295. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js.map +1 -0
  296. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.d.ts +15 -0
  297. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js +2 -0
  298. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js.map +1 -0
  299. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/package.json +33 -0
  300. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/LICENSE +21 -0
  301. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/README.md +233 -0
  302. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/bench.js +76 -0
  303. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/index.js +6 -0
  304. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/abort.js +29 -0
  305. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/async.js +34 -0
  306. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/defer.js +26 -0
  307. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/iterate.js +75 -0
  308. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_asynckit.js +91 -0
  309. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_parallel.js +25 -0
  310. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial.js +25 -0
  311. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
  312. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/state.js +37 -0
  313. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/streamify.js +141 -0
  314. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/terminator.js +29 -0
  315. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/package.json +63 -0
  316. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/parallel.js +43 -0
  317. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serial.js +17 -0
  318. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serialOrdered.js +75 -0
  319. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/stream.js +21 -0
  320. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/CHANGELOG.md +1014 -0
  321. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/LICENSE +19 -0
  322. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/README.md +1182 -0
  323. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/SECURITY.md +5 -0
  324. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/UPGRADE_GUIDE.md +169 -0
  325. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/check-build-version.js +19 -0
  326. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/ssl_hotfix.js +22 -0
  327. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js +2377 -0
  328. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js.map +1 -0
  329. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js +2 -0
  330. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js.map +1 -0
  331. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js +2369 -0
  332. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js.map +1 -0
  333. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js +2 -0
  334. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  335. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.d.ts +340 -0
  336. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.js +1 -0
  337. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/README.md +37 -0
  338. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/http.js +463 -0
  339. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/xhr.js +226 -0
  340. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/axios.js +68 -0
  341. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CancelToken.js +118 -0
  342. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CanceledError.js +24 -0
  343. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/isCancel.js +5 -0
  344. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/Axios.js +172 -0
  345. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/AxiosError.js +97 -0
  346. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/InterceptorManager.js +63 -0
  347. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/README.md +8 -0
  348. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/buildFullPath.js +20 -0
  349. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/dispatchRequest.js +94 -0
  350. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/mergeConfig.js +103 -0
  351. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/settle.js +25 -0
  352. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/transformData.js +23 -0
  353. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/index.js +175 -0
  354. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/transitional.js +7 -0
  355. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/README.md +3 -0
  356. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/classes/FormData.js +2 -0
  357. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/data.js +3 -0
  358. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +42 -0
  359. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/README.md +7 -0
  360. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/bind.js +7 -0
  361. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/buildURL.js +55 -0
  362. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/combineURLs.js +14 -0
  363. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/cookies.js +53 -0
  364. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/deprecatedMethod.js +24 -0
  365. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/formDataToJSON.js +71 -0
  366. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/fromDataURI.js +51 -0
  367. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAbsoluteURL.js +14 -0
  368. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAxiosError.js +13 -0
  369. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isURLSameOrigin.js +68 -0
  370. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/normalizeHeaderName.js +12 -0
  371. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/null.js +2 -0
  372. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseHeaders.js +53 -0
  373. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  374. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/spread.js +27 -0
  375. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toFormData.js +179 -0
  376. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
  377. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/validator.js +86 -0
  378. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  379. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  380. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/index.js +11 -0
  381. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/index.js +3 -0
  382. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  383. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +5 -0
  384. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/index.js +11 -0
  385. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/utils.js +522 -0
  386. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/package.json +100 -0
  387. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/rollup.config.js +60 -0
  388. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tsconfig.json +14 -0
  389. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tslint.json +6 -0
  390. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  391. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  392. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  393. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  394. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  395. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/README.md +62 -0
  396. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  397. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  398. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  399. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  400. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  401. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  402. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  403. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  404. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  405. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.js +15 -0
  406. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/package.json +85 -0
  407. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  408. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  409. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  410. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  411. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/License +19 -0
  412. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/Readme.md +138 -0
  413. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/lib/combined_stream.js +208 -0
  414. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/package.json +25 -0
  415. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/.npmignore +1 -0
  416. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/License +19 -0
  417. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Makefile +7 -0
  418. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Readme.md +141 -0
  419. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
  420. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/package.json +27 -0
  421. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.eslintrc +5 -0
  422. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  423. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.nycrc +13 -0
  424. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/CHANGELOG.md +24 -0
  425. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/LICENSE +21 -0
  426. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/README.md +54 -0
  427. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.d.ts +5 -0
  428. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.js +30 -0
  429. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/package.json +76 -0
  430. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.d.ts +5 -0
  431. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.js +35 -0
  432. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/get.js +34 -0
  433. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/index.js +4 -0
  434. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/set.js +50 -0
  435. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/tsconfig.json +9 -0
  436. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.eslintrc +13 -0
  437. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  438. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.nycrc +9 -0
  439. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/CHANGELOG.md +29 -0
  440. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/LICENSE +21 -0
  441. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/README.md +49 -0
  442. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.d.ts +3 -0
  443. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.js +14 -0
  444. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/package.json +81 -0
  445. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/test/index.js +56 -0
  446. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/tsconfig.json +10 -0
  447. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.eslintrc +5 -0
  448. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.github/FUNDING.yml +12 -0
  449. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/CHANGELOG.md +40 -0
  450. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/LICENSE +21 -0
  451. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/README.md +55 -0
  452. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.d.ts +3 -0
  453. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.js +4 -0
  454. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.d.ts +3 -0
  455. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.js +4 -0
  456. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/package.json +80 -0
  457. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.d.ts +3 -0
  458. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.js +4 -0
  459. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.d.ts +3 -0
  460. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.js +4 -0
  461. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.d.ts +3 -0
  462. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.js +4 -0
  463. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/test/index.js +19 -0
  464. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/tsconfig.json +49 -0
  465. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.d.ts +3 -0
  466. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.js +4 -0
  467. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.d.ts +3 -0
  468. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.js +4 -0
  469. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.eslintrc +16 -0
  470. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  471. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  472. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/LICENSE +21 -0
  473. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/README.md +63 -0
  474. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  475. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  476. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  477. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.js +10 -0
  478. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.d.ts +3 -0
  479. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.js +4 -0
  480. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.d.ts +3 -0
  481. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.js +6 -0
  482. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/package.json +80 -0
  483. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/test/index.js +38 -0
  484. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/tsconfig.json +6 -0
  485. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.eslintrc +13 -0
  486. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.nycrc +9 -0
  487. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  488. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/LICENSE +21 -0
  489. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/README.md +53 -0
  490. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.d.ts +10 -0
  491. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.js +35 -0
  492. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/package.json +78 -0
  493. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/test/index.js +85 -0
  494. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  495. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/LICENSE +18 -0
  496. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/README.md +155 -0
  497. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/debug.js +15 -0
  498. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/http.js +1 -0
  499. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/https.js +1 -0
  500. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/index.js +686 -0
  501. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/package.json +58 -0
  502. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/CHANGELOG.md +686 -0
  503. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/License +19 -0
  504. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/README.md +355 -0
  505. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/index.d.ts +62 -0
  506. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/browser.js +4 -0
  507. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/form_data.js +506 -0
  508. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/populate.js +10 -0
  509. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/package.json +82 -0
  510. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.eslintrc +21 -0
  511. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/FUNDING.yml +12 -0
  512. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/SECURITY.md +3 -0
  513. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.nycrc +13 -0
  514. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/CHANGELOG.md +136 -0
  515. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/LICENSE +20 -0
  516. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/README.md +46 -0
  517. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/implementation.js +84 -0
  518. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/index.js +5 -0
  519. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/package.json +87 -0
  520. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/.eslintrc +9 -0
  521. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/index.js +252 -0
  522. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.eslintrc +38 -0
  523. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  524. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.nycrc +9 -0
  525. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/CHANGELOG.md +178 -0
  526. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/LICENSE +21 -0
  527. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/README.md +71 -0
  528. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/index.js +377 -0
  529. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/package.json +97 -0
  530. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  531. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.eslintrc +10 -0
  532. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.github/FUNDING.yml +12 -0
  533. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.nycrc +9 -0
  534. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/CHANGELOG.md +21 -0
  535. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/LICENSE +21 -0
  536. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  537. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  538. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/README.md +50 -0
  539. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  540. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  541. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.d.ts +5 -0
  542. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.js +27 -0
  543. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/package.json +81 -0
  544. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/test/index.js +68 -0
  545. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/tsconfig.json +9 -0
  546. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.eslintrc +16 -0
  547. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.github/FUNDING.yml +12 -0
  548. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/CHANGELOG.md +45 -0
  549. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/LICENSE +21 -0
  550. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/README.md +40 -0
  551. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.d.ts +1 -0
  552. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.js +4 -0
  553. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.d.ts +5 -0
  554. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.js +15 -0
  555. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/package.json +77 -0
  556. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/test/index.js +36 -0
  557. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/tsconfig.json +9 -0
  558. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.eslintrc +11 -0
  559. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  560. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.nycrc +9 -0
  561. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/CHANGELOG.md +91 -0
  562. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/LICENSE +21 -0
  563. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/README.md +46 -0
  564. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.d.ts +3 -0
  565. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.js +14 -0
  566. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/package.json +111 -0
  567. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.d.ts +3 -0
  568. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.js +45 -0
  569. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/index.js +22 -0
  570. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/core-js.js +29 -0
  571. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  572. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/tests.js +58 -0
  573. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/tsconfig.json +10 -0
  574. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.eslintrc +5 -0
  575. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  576. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.nycrc +13 -0
  577. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  578. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/LICENSE +21 -0
  579. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/README.md +46 -0
  580. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.d.ts +3 -0
  581. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.js +8 -0
  582. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/package.json +108 -0
  583. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.d.ts +3 -0
  584. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.js +8 -0
  585. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/index.js +21 -0
  586. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  587. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  588. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/tests.js +15 -0
  589. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/tsconfig.json +49 -0
  590. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.github/FUNDING.yml +12 -0
  591. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.nycrc +13 -0
  592. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/CHANGELOG.md +58 -0
  593. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/LICENSE +21 -0
  594. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/README.md +40 -0
  595. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/eslint.config.mjs +6 -0
  596. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.d.ts +3 -0
  597. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.js +8 -0
  598. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/package.json +91 -0
  599. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/tsconfig.json +6 -0
  600. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.eslintrc +16 -0
  601. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  602. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  603. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/LICENSE +21 -0
  604. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/README.md +50 -0
  605. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.d.ts +1 -0
  606. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.js +4 -0
  607. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  608. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  609. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  610. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  611. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  612. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  613. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.d.ts +1 -0
  614. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.js +4 -0
  615. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  616. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.js +12 -0
  617. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  618. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.js +16 -0
  619. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  620. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.js +6 -0
  621. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  622. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  623. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.d.ts +1 -0
  624. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.js +4 -0
  625. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.d.ts +1 -0
  626. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.js +4 -0
  627. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.d.ts +3 -0
  628. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.js +9 -0
  629. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/package.json +86 -0
  630. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.d.ts +1 -0
  631. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.js +4 -0
  632. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.d.ts +1 -0
  633. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.js +4 -0
  634. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.d.ts +3 -0
  635. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.js +11 -0
  636. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/test/index.js +192 -0
  637. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/tsconfig.json +3 -0
  638. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/HISTORY.md +507 -0
  639. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/LICENSE +23 -0
  640. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/README.md +100 -0
  641. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/db.json +8519 -0
  642. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/index.js +12 -0
  643. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/package.json +60 -0
  644. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/HISTORY.md +397 -0
  645. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/LICENSE +23 -0
  646. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/README.md +113 -0
  647. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/index.js +188 -0
  648. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/package.json +44 -0
  649. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.eslintrc +29 -0
  650. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.travis.yml +10 -0
  651. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/LICENSE +20 -0
  652. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/README.md +131 -0
  653. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/index.js +108 -0
  654. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/package.json +34 -0
  655. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/test.js +483 -0
  656. package/node_modules/@fast-simon/fast-simon-reporting/package.json +39 -0
  657. package/package.json +7 -4
  658. package/lib/utils/runSwatchSwitchDetector.d.ts +0 -8
  659. package/lib/utils/runSwatchSwitchDetector.js +0 -54
  660. package/lib/utils/runSwatchSwitchDetector.js.map +0 -1
@@ -0,0 +1,86 @@
1
+ import { FastSimonReportingProps, ReportBaseProps } from "../@types/reporting";
2
+ import { ProductHover, ReportCategoryPreformedProps, ReportPopUpSeenFromCategory, ReportPopUpSeenFromSearch, ReportProductAddedToCart, ReportProductClickedCategoryProps, ReportProductClickedLandingPageProps, ReportProductClickedSearchProps, ReportProductSwatchSwitchProps, ReportSearchPageViewedProps, ReportSearchPreformedProps, SourceType, VariantHover } from "../@types/serp";
3
+ import { reportCategoryClickedProps, reportPopularSearchClicked, reportProductClickedAutocompleteProps } from "../@types/autocomplete";
4
+ import { reportProductRecommendationsClicked, reportProductsRecommendationsShown } from "../@types/recommendations";
5
+ import { ReportBoundingBoxClicked, ReportDiscoveryOpen, ReportDiscoveryProductVisit, ReportImageClickedFromGallery, ReportVisualProductAddedToCart, ReportVisualSearchUsed } from "../@types/visualDiscovery";
6
+ import { ReportChatSuggestedProducts, ReportChatSessionStarted, ReportChatSessionEnded, ReportAssistantProductClicked, ReportAssistantProductAddedToCart, ReportHintShown, ReportHintClicked, ReportHintDismissed } from "../@types/shopperAssistant";
7
+ import { ImpressionMetadata } from "../@types/viewportImpressions";
8
+ export interface ReportingObject {
9
+ Autocomplete: {
10
+ reportProductClicked: (props: reportProductClickedAutocompleteProps) => Promise<any>;
11
+ reportCategoryClicked: (props: reportCategoryClickedProps) => Promise<any>;
12
+ reportCategoryClickedDelayed: (props: reportCategoryClickedProps) => Promise<any>;
13
+ reportPopularSearchClicked: (props: reportPopularSearchClicked) => Promise<any>;
14
+ reportPopularSearchClickedDelayed: (props: reportPopularSearchClicked) => Promise<any>;
15
+ };
16
+ Serp: {
17
+ reportSearchPreformed: (props: ReportSearchPreformedProps) => Promise<any>;
18
+ reportSmartNavigationPreformed: (props: ReportCategoryPreformedProps) => Promise<any>;
19
+ productClickedFromSearch: (props: ReportProductClickedSearchProps, src?: SourceType) => Promise<any>;
20
+ productClickedFromSmartNavigation: (props: ReportProductClickedCategoryProps, src?: SourceType) => Promise<any>;
21
+ productClickedFromLandingPage: (props: ReportProductClickedLandingPageProps) => Promise<any>;
22
+ quickViewUsedFromSearch: (props: ReportPopUpSeenFromSearch) => Promise<any>;
23
+ quickViewUsedFromSmartNavigation: (props: ReportPopUpSeenFromCategory) => Promise<any>;
24
+ LookALikeUsedFromSearch: (props: ReportPopUpSeenFromSearch) => Promise<any>;
25
+ LookALikeUsedFromSmartNavigation: (props: ReportPopUpSeenFromCategory) => Promise<any>;
26
+ reportProductAddedToCart: (props: ReportProductAddedToCart) => Promise<any>;
27
+ productHover: (props: ProductHover) => Promise<any>;
28
+ variantHover: (props: VariantHover) => Promise<any>;
29
+ productSwatchSwitch: (props: ReportProductSwatchSwitchProps) => Promise<any>;
30
+ promoTileClickedFromSearch: (props: ReportProductClickedSearchProps, src?: SourceType) => Promise<any>;
31
+ promoTileClickedFromSmartNavigation: (props: ReportProductClickedCategoryProps, src?: SourceType) => Promise<any>;
32
+ reportSearchPageViewed: (props: ReportSearchPageViewedProps, src?: SourceType) => Promise<any>;
33
+ };
34
+ Recommendations: {
35
+ reportProductClicked: (props: reportProductRecommendationsClicked) => Promise<any>;
36
+ reportProductsShown: (props: reportProductsRecommendationsShown) => Promise<any>;
37
+ };
38
+ navigate: (url: string, track: string, newTab?: boolean) => void;
39
+ getBase: () => ReportBaseProps;
40
+ isReady: () => boolean;
41
+ refreshCartToken: VoidFunction;
42
+ VisualDiscovery: {
43
+ reportDiscoveryOpen: (props: ReportDiscoveryOpen) => Promise<any>;
44
+ reportDiscoveryProductVisit: (props: ReportDiscoveryProductVisit) => Promise<any>;
45
+ reportGalleryImageClicked: (props: ReportImageClickedFromGallery) => Promise<any>;
46
+ reportProductAddedToCart: (props: ReportVisualProductAddedToCart) => Promise<any>;
47
+ reportVisualSearchUsed: (props: ReportVisualSearchUsed) => Promise<any>;
48
+ reportBoundingBoxClicked: (props: ReportBoundingBoxClicked) => Promise<any>;
49
+ };
50
+ ShopperAssistant: {
51
+ reportChatSessionStarted: (props: ReportChatSessionStarted) => Promise<any>;
52
+ reportChatSessionEnded: (props: ReportChatSessionEnded) => Promise<any>;
53
+ reportChatResults: (props: ReportChatSuggestedProducts) => Promise<any>;
54
+ reportProductAddedToCart: (props: ReportAssistantProductAddedToCart) => Promise<any>;
55
+ reportProductClicked: (props: ReportAssistantProductClicked) => Promise<any>;
56
+ reportHintShown: (props: ReportHintShown) => Promise<any>;
57
+ reportHintClicked: (props: ReportHintClicked) => Promise<any>;
58
+ reportHintDismissed: (props: ReportHintDismissed) => Promise<any>;
59
+ };
60
+ ViewportImpressions: {
61
+ trackElement: (element: Element, metadata: ImpressionMetadata) => void;
62
+ untrackElement: (element: Element) => void;
63
+ onContextChange: () => Promise<void>;
64
+ reportNow: () => Promise<void>;
65
+ destroy: () => void;
66
+ };
67
+ }
68
+ export declare class FastSimonReporting {
69
+ private readonly uuid;
70
+ private readonly storeID;
71
+ private cartToken;
72
+ private userSession;
73
+ private sessionToken;
74
+ private readonly platform;
75
+ private userLocation;
76
+ private ispSegmentsServing;
77
+ private personalizationSegment;
78
+ constructor({ uuid, storeID, platform }: FastSimonReportingProps);
79
+ private setSession;
80
+ private setCartToken;
81
+ private setSessionToken;
82
+ private executeSelfReporting;
83
+ private getBase;
84
+ private runBackgroundTasks;
85
+ initialize(): ReportingObject;
86
+ }
@@ -0,0 +1,241 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ import { PostLoad } from "../services/postLoad";
11
+ import { executeDelayedReport } from "./delayedReport/delayedReport";
12
+ import { Cart } from "../services/cart";
13
+ import { Report } from "../services/reporting";
14
+ import { OffSiteRecommendations } from "../services/offSiteRecommendations";
15
+ import getSessionToken from "../utils/getSessionToken";
16
+ import { Autocomplete, CATEGORY_FROM_AUTOCOMPLETE, hasSvelteAutocompleteDelayedReport, POPULAR_SEARCH_FROM_AUTOCOMPLETE, PRODUCT_FROM_AUTOCOMPLETE, } from "./autocomplete/autocomplete";
17
+ import navigate from "./navigate/navigate";
18
+ import jqueryPageReport, { hasJqueryPageReport } from "../utils/jqueryPageReport";
19
+ import { runPdpSwatchSwitch } from "./swatchSwitch/pdpSwatchSwitch";
20
+ import getUserSession, { setUserSession } from "../utils/getUserSession";
21
+ import { hasSvelteSERPDelayedReport, PRODUCT_FROM_CATEGORY, PRODUCT_FROM_LANDING_PAGE, PRODUCT_FROM_SEARCH, Serp } from "./serp/serp";
22
+ import reportThankYou, { isThankYou } from "../services/thankYou";
23
+ import intervalUntil from "../utils/intervalUntil";
24
+ import { hasSvelteRecommendationsDelayedReport, PRODUCT_FROM_RECOMMENDATIONS, Recommendations, PRODUCT_CLICKED_FROM_RECOMMENDATIONS } from "./recommendations/recommendations";
25
+ import { getProductPageID, isCartPage } from "@fast-simon/common";
26
+ import { setUserLocation } from "../utils/getUserLocation";
27
+ import setServingSegments from "../utils/setServingSegments";
28
+ import setPersonalizationSegment from "../utils/setPersonalizationSegment";
29
+ import { setUserVariation } from "../utils/ABTesting";
30
+ import { VisualDiscovery } from "./visualDiscovery/visualDiscovery";
31
+ import { PRODUCT_FROM_ASSISTANT, ShopperAssistant } from "./shopperAssistant/shopperAssistant";
32
+ import { ViewportImpressions } from "./viewportImpressions/viewportImpressions";
33
+ export class FastSimonReporting {
34
+ constructor({ uuid, storeID, platform }) {
35
+ this.uuid = uuid;
36
+ this.storeID = storeID;
37
+ this.cartToken = undefined;
38
+ this.userSession = "";
39
+ this.sessionToken = { lastActive: 0, start: 0 };
40
+ this.platform = platform;
41
+ this.userLocation = undefined;
42
+ this.ispSegmentsServing = false;
43
+ this.personalizationSegment = undefined;
44
+ }
45
+ setSession() {
46
+ return __awaiter(this, void 0, void 0, function* () {
47
+ const userSession = getUserSession();
48
+ const data = yield PostLoad({
49
+ uuid: this.uuid,
50
+ storeID: this.storeID,
51
+ userSession: userSession,
52
+ sessionToken: this.sessionToken,
53
+ cartToken: this.cartToken,
54
+ platform: this.platform
55
+ });
56
+ this.userSession = data.isp_token;
57
+ setUserSession(this.userSession);
58
+ setUserVariation(data === null || data === void 0 ? void 0 : data.variation_id);
59
+ if (data === null || data === void 0 ? void 0 : data.location) {
60
+ this.userLocation = data.location;
61
+ setUserLocation(this.userLocation, this.uuid);
62
+ }
63
+ else {
64
+ setUserLocation(undefined, this.uuid);
65
+ }
66
+ this.ispSegmentsServing = (data === null || data === void 0 ? void 0 : data.isp_segments_serving) || false;
67
+ setServingSegments(this.ispSegmentsServing);
68
+ this.personalizationSegment = data === null || data === void 0 ? void 0 : data.personalization_segment;
69
+ setPersonalizationSegment(this.personalizationSegment);
70
+ return true;
71
+ });
72
+ }
73
+ setCartToken() {
74
+ var _a;
75
+ // Try the merchant-provided override first. If it produced a token, the
76
+ // merchant owns its lifecycle -- use it as-is and don't mirror it into
77
+ // our localStorage/cookie cache. If it didn't produce a token (not
78
+ // configured / failed / returned null), fall through to the default
79
+ // detection chain and persist whatever it returns, exactly like before.
80
+ const merchantToken = Cart.resolveMerchantToken();
81
+ if (merchantToken) {
82
+ this.cartToken = merchantToken;
83
+ return true;
84
+ }
85
+ this.cartToken = Cart.getToken(this.platform);
86
+ if (this.cartToken) {
87
+ Cart.saveToken(this.cartToken, this.platform, (_a = this.sessionToken) === null || _a === void 0 ? void 0 : _a.start, this.userSession);
88
+ }
89
+ return true;
90
+ }
91
+ setSessionToken() {
92
+ this.sessionToken = getSessionToken();
93
+ return true;
94
+ }
95
+ ;
96
+ executeSelfReporting() {
97
+ const base = this.getBase();
98
+ const platform = this.platform;
99
+ // cart viewed
100
+ if (isCartPage(platform)) {
101
+ Cart.report(base);
102
+ }
103
+ // off-site recommendation click (email or tracking page)
104
+ const isOffSiteClick = OffSiteRecommendations.isOffSiteClick();
105
+ if (isOffSiteClick) {
106
+ OffSiteRecommendations.report(base, platform);
107
+ }
108
+ // direct product view
109
+ const id = getProductPageID(platform);
110
+ if (!hasJqueryPageReport()
111
+ && !hasSvelteSERPDelayedReport()
112
+ && !hasSvelteAutocompleteDelayedReport()
113
+ && !hasSvelteRecommendationsDelayedReport()
114
+ && id) {
115
+ // report product from direct
116
+ Report(Object.assign(Object.assign({}, base), { params: {
117
+ id: id,
118
+ } }));
119
+ }
120
+ }
121
+ getBase() {
122
+ var _a, _b;
123
+ return {
124
+ uuid: this.uuid,
125
+ storeID: this.storeID,
126
+ platform: this.platform,
127
+ userSession: this.userSession,
128
+ sessionToken: this.sessionToken,
129
+ cartToken: (_b = (_a = this.cartToken) !== null && _a !== void 0 ? _a : Cart.getToken(this.platform)) !== null && _b !== void 0 ? _b : "",
130
+ segments: this.ispSegmentsServing,
131
+ personalizationSegment: this.personalizationSegment
132
+ };
133
+ }
134
+ runBackgroundTasks() {
135
+ var _a;
136
+ return __awaiter(this, void 0, void 0, function* () {
137
+ /* 1. setup session token using locals storage or calculate it*/
138
+ this.setSessionToken();
139
+ /* 2. setup cart token */
140
+ // Opt-in readiness gate: ONLY runs for merchants who explicitly set
141
+ // window.__fast_options.cartTokenReady to a thenable. Every other
142
+ // merchant takes a single property lookup + truthiness check and
143
+ // skips this block entirely -- no await, no timeout, no polling.
144
+ const cartTokenReady = (_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.cartTokenReady;
145
+ if (cartTokenReady && typeof cartTokenReady.then === 'function') {
146
+ yield Promise.race([
147
+ Promise.resolve(cartTokenReady).catch(() => undefined),
148
+ new Promise(resolve => setTimeout(resolve, 1500)),
149
+ ]);
150
+ }
151
+ this.setCartToken();
152
+ if (!this.cartToken) {
153
+ yield intervalUntil({
154
+ stopCondition: () => Boolean(this.cartToken),
155
+ timeout: 333,
156
+ callback: () => this.setCartToken(),
157
+ retries: 5
158
+ });
159
+ }
160
+ /* 3. setup user session using API */
161
+ // post_load can fail (server 5xx, ad blocker, tracking protection, network).
162
+ // Reporting must still run without it -- updateRecentSearches and the
163
+ // delayed-report flushes don't require a fresh session token.
164
+ try {
165
+ yield this.setSession();
166
+ }
167
+ catch (e) {
168
+ const cachedSession = getUserSession();
169
+ if (cachedSession) {
170
+ this.userSession = cachedSession;
171
+ }
172
+ console.error(`Fast Simon Reporting: post_load failed, continuing ${cachedSession ? "with cached session" : "without a session"}`, e);
173
+ }
174
+ /* 4. execute reports - cart visited and direct product view */
175
+ this.executeSelfReporting();
176
+ /* 5. execute reports - delayed reports from serp and autocomplete */
177
+ executeDelayedReport(PRODUCT_FROM_CATEGORY);
178
+ executeDelayedReport(PRODUCT_FROM_SEARCH);
179
+ executeDelayedReport(PRODUCT_FROM_AUTOCOMPLETE);
180
+ executeDelayedReport(PRODUCT_FROM_RECOMMENDATIONS);
181
+ executeDelayedReport(CATEGORY_FROM_AUTOCOMPLETE);
182
+ executeDelayedReport(POPULAR_SEARCH_FROM_AUTOCOMPLETE);
183
+ executeDelayedReport(PRODUCT_CLICKED_FROM_RECOMMENDATIONS);
184
+ executeDelayedReport(PRODUCT_FROM_LANDING_PAGE);
185
+ executeDelayedReport(PRODUCT_FROM_ASSISTANT);
186
+ /* 6. execute jquery serp report*/
187
+ jqueryPageReport(this.platform, this.getBase());
188
+ /* 6.5. PDP swatch-switch (#12003 Layer 1) — inert unless per-site config exists */
189
+ runPdpSwatchSwitch(() => this.getBase(), this.platform);
190
+ /* 7. execute thank you report */
191
+ if (isThankYou()) {
192
+ reportThankYou({
193
+ sessionToken: this.sessionToken,
194
+ cartToken: this.cartToken
195
+ });
196
+ }
197
+ });
198
+ }
199
+ initialize() {
200
+ const startBackgroundTasks = () => {
201
+ this.runBackgroundTasks().then(() => {
202
+ console.log("Fast Simon Reporting: background task completed");
203
+ }).catch(e => {
204
+ console.error(e);
205
+ });
206
+ };
207
+ // Defer reporting initialization if page is being prerendered (Speculation Rules API)
208
+ // This prevents post_load from firing during prerender,
209
+ // ensuring they only fire when the user actually navigates to the page
210
+ if (document.prerendering) {
211
+ let activated = false;
212
+ const onActivate = () => {
213
+ if (activated)
214
+ return;
215
+ activated = true;
216
+ startBackgroundTasks();
217
+ };
218
+ document.addEventListener('prerenderingchange', onActivate, { once: true });
219
+ // If activation happened before listener was attached
220
+ if (!document.prerendering) {
221
+ onActivate();
222
+ }
223
+ }
224
+ else {
225
+ startBackgroundTasks();
226
+ }
227
+ return {
228
+ Autocomplete: Autocomplete(() => this.getBase()),
229
+ Serp: Serp(() => this.getBase()),
230
+ Recommendations: Recommendations(() => this.getBase()),
231
+ navigate,
232
+ refreshCartToken: () => this.setCartToken(),
233
+ isReady: () => Boolean(this.sessionToken && this.userSession),
234
+ getBase: () => this.getBase(),
235
+ VisualDiscovery: VisualDiscovery(() => this.getBase()),
236
+ ShopperAssistant: ShopperAssistant(() => this.getBase()),
237
+ ViewportImpressions: ViewportImpressions(() => this.getBase())
238
+ };
239
+ }
240
+ }
241
+ //# sourceMappingURL=FastSimonReporting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FastSimonReporting.js","sourceRoot":"","sources":["../../src/components/FastSimonReporting.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAC,oBAAoB,EAAC,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,MAAM,EAAC,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAC,sBAAsB,EAAC,MAAM,oCAAoC,CAAC;AAE1E,OAAO,eAAe,MAAM,0BAA0B,CAAC;AACvD,OAAO,EACH,YAAY,EAAE,0BAA0B,EACxC,kCAAkC,EAClC,gCAAgC,EAChC,yBAAyB,GAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAE3C,OAAO,gBAAgB,EAAE,EAAC,mBAAmB,EAAC,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAAC,kBAAkB,EAAC,MAAM,gCAAgC,CAAC;AAClE,OAAO,cAAc,EAAE,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AACvE,OAAO,EACH,0BAA0B,EAC1B,qBAAqB,EACrB,yBAAyB,EACzB,mBAAmB,EACnB,IAAI,EACP,MAAM,aAAa,CAAC;AAWrB,OAAO,cAAc,EAAE,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AAChE,OAAO,aAAa,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAC,qCAAqC,EAAE,4BAA4B,EAAE,eAAe,EAAE,oCAAoC,EAAC,MAAM,mCAAmC,CAAC;AAC7K,OAAO,EAAC,gBAAgB,EAAE,UAAU,EAAC,MAAM,oBAAoB,CAAA;AAC/D,OAAO,EAAC,eAAe,EAAC,MAAM,0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AE,CAAC;SACjE,CAAC;IACN,CAAC;CACJ"}
@@ -0,0 +1,13 @@
1
+ import { ReportBaseProps } from "../../@types/reporting";
2
+ import { reportCategoryClickedProps, reportPopularSearchClicked, reportProductClickedAutocompleteProps } from "../../@types/autocomplete";
3
+ export declare const PRODUCT_FROM_AUTOCOMPLETE = "product-seen-from-autocomplete";
4
+ export declare const CATEGORY_FROM_AUTOCOMPLETE = "category-seen-from-autocomplete";
5
+ export declare const POPULAR_SEARCH_FROM_AUTOCOMPLETE = "popular-search-seen-from-autocomplete";
6
+ export declare function hasSvelteAutocompleteDelayedReport(): boolean;
7
+ export declare const Autocomplete: (getBase: () => ReportBaseProps) => {
8
+ reportProductClicked: (props: reportProductClickedAutocompleteProps) => Promise<boolean>;
9
+ reportCategoryClicked: (props: reportCategoryClickedProps) => Promise<any>;
10
+ reportCategoryClickedDelayed: (props: reportCategoryClickedProps) => Promise<boolean>;
11
+ reportPopularSearchClicked: (props: reportPopularSearchClicked) => Promise<any>;
12
+ reportPopularSearchClickedDelayed: (props: reportPopularSearchClicked) => Promise<boolean>;
13
+ };
@@ -0,0 +1,71 @@
1
+ import { Report, ReportingEndpoint, ReportingUpType } from "../../services/reporting";
2
+ import { googleTagManager } from "../../utils/googleAnalytics";
3
+ import { DelayedReport, getDelayedKey } from "../delayedReport/delayedReport";
4
+ export const PRODUCT_FROM_AUTOCOMPLETE = "product-seen-from-autocomplete";
5
+ export const CATEGORY_FROM_AUTOCOMPLETE = "category-seen-from-autocomplete";
6
+ export const POPULAR_SEARCH_FROM_AUTOCOMPLETE = "popular-search-seen-from-autocomplete";
7
+ export function hasSvelteAutocompleteDelayedReport() {
8
+ return getDelayedKey(PRODUCT_FROM_AUTOCOMPLETE) in localStorage || getDelayedKey(PRODUCT_FROM_AUTOCOMPLETE) in localStorage;
9
+ }
10
+ export const Autocomplete = (getBase) => ({
11
+ reportProductClicked: (props) => {
12
+ var _a, _b, _c, _d, _e, _f, _g, _h;
13
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
14
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
15
+ googleTagManager("event", 'select_item', { items: props.gtag_product_items });
16
+ }
17
+ try {
18
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
19
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
20
+ }
21
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
22
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
23
+ }
24
+ }
25
+ catch (e) {
26
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
27
+ }
28
+ delete props.gtag_product_items;
29
+ }
30
+ // googleAnalyticsLegacy("push", ['_trackEvent', 'Fast Simon', "Product Suggest", props.h, props.original_search_query.length]);
31
+ // googleAnalytics("send", "event", {
32
+ // eventCategory: 'Fast Simon',
33
+ // eventAction: 'Product Suggest',
34
+ // eventLabel: props.h
35
+ // })
36
+ // googleTagManager('event', 'Product Suggest', {
37
+ // 'event_category': 'Fast Simon',
38
+ // 'event_label': props.h
39
+ // });
40
+ return DelayedReport(Object.assign(Object.assign({ prefix: PRODUCT_FROM_AUTOCOMPLETE, endpoint: ReportingEndpoint.Autocomplete, upType: ReportingUpType.autocompleteProductSeen, site: true }, getBase()), { params: props }));
41
+ },
42
+ reportCategoryClicked: (props) => {
43
+ if (props === null || props === void 0 ? void 0 : props.gtag_data) {
44
+ googleTagManager("event", "category_click", Object.assign({}, props.gtag_data));
45
+ delete props.gtag_data;
46
+ }
47
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.Autocomplete, upType: ReportingUpType.categorySearchSeen, site: true }, getBase()), { params: props }));
48
+ },
49
+ reportCategoryClickedDelayed: (props) => {
50
+ if (props === null || props === void 0 ? void 0 : props.gtag_data) {
51
+ googleTagManager("event", "category_click", Object.assign({}, props.gtag_data));
52
+ delete props.gtag_data;
53
+ }
54
+ return DelayedReport(Object.assign(Object.assign({ prefix: CATEGORY_FROM_AUTOCOMPLETE, endpoint: ReportingEndpoint.Autocomplete, upType: ReportingUpType.categorySearchSeen, site: true }, getBase()), { params: props }));
55
+ },
56
+ reportPopularSearchClicked: (props) => {
57
+ if (props === null || props === void 0 ? void 0 : props.gtag_data) {
58
+ googleTagManager("event", "popular_search_click", Object.assign({}, props.gtag_data));
59
+ delete props.gtag_data;
60
+ }
61
+ return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.Autocomplete, upType: ReportingUpType.popularSearchSeen, site: true }, getBase()), { params: props }));
62
+ },
63
+ reportPopularSearchClickedDelayed: (props) => {
64
+ if (props === null || props === void 0 ? void 0 : props.gtag_data) {
65
+ googleTagManager("event", "popular_search_click", Object.assign({}, props.gtag_data));
66
+ delete props.gtag_data;
67
+ }
68
+ return DelayedReport(Object.assign(Object.assign({ prefix: POPULAR_SEARCH_FROM_AUTOCOMPLETE, endpoint: ReportingEndpoint.Autocomplete, upType: ReportingUpType.popularSearchSeen, site: true }, getBase()), { params: props }));
69
+ }
70
+ });
71
+ //# sourceMappingURL=autocomplete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"autocomplete.js","sourceRoot":"","sources":["../../../src/components/autocomplete/autocomplete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,iBAAiB,EAAE,eAAe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AAC;CACJ,CAAC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { ReportingProps } from "../../services/reporting";
2
+ export declare const DELAYED_REPORT_LS_KEY = "fs-delayed-report";
3
+ interface DelayedReportProps<T> extends ReportingProps<T> {
4
+ prefix: string;
5
+ globalHookName?: string;
6
+ timeout?: number;
7
+ }
8
+ export declare function getDelay(timeout: number): number;
9
+ export declare function DelayedReport<T, K = any>({ endpoint, params, upType, prefix, globalHookName, timeout, ...base }: DelayedReportProps<T>): Promise<boolean>;
10
+ export declare function executeDelayedReport(prefix: string): void;
11
+ export declare function deleteDelayedReport(prefix: string): void;
12
+ export declare const getDelayedKey: (prefix: string) => string;
13
+ export declare const productPossibleKey: string;
14
+ export {};
@@ -0,0 +1,62 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { Report, ReportingEndpoint } from "../../services/reporting";
13
+ import promisify from "../../utils/promisify";
14
+ import { Cart } from "../../services/cart";
15
+ export const DELAYED_REPORT_LS_KEY = "fs-delayed-report";
16
+ export function getDelay(timeout) {
17
+ const time = Date.now() - window.performance.timeOrigin;
18
+ if (timeout > time) {
19
+ return timeout - time;
20
+ }
21
+ return 0;
22
+ }
23
+ export function DelayedReport(_a) {
24
+ var { endpoint = ReportingEndpoint.General, params, upType, prefix, globalHookName, timeout } = _a, base = __rest(_a, ["endpoint", "params", "upType", "prefix", "globalHookName", "timeout"]);
25
+ const report = Object.assign(Object.assign({}, base), { params: params, upType,
26
+ endpoint,
27
+ globalHookName,
28
+ timeout });
29
+ localStorage.setItem(getDelayedKey(prefix), JSON.stringify(report));
30
+ return promisify(() => true);
31
+ }
32
+ export function executeDelayedReport(prefix) {
33
+ const key = getDelayedKey(prefix);
34
+ if (key in localStorage) {
35
+ const _a = JSON.parse(localStorage.getItem(key)), { params, upType, globalHookName, timeout = 5000, endpoint } = _a, base = __rest(_a, ["params", "upType", "globalHookName", "timeout", "endpoint"]);
36
+ localStorage.removeItem(key);
37
+ const delay = getDelay(timeout);
38
+ function report() {
39
+ var _a, _b;
40
+ Report(Object.assign(Object.assign({}, base), { cartToken: (_b = (_a = Cart.getToken(base.platform)) !== null && _a !== void 0 ? _a : base.cartToken) !== null && _b !== void 0 ? _b : "", endpoint, params: params, upType, userSession: (params === null || params === void 0 ? void 0 : params.st) ? params === null || params === void 0 ? void 0 : params.st : base === null || base === void 0 ? void 0 : base.userSession })).then(() => {
41
+ if (globalHookName) {
42
+ window[globalHookName]();
43
+ }
44
+ });
45
+ }
46
+ if (delay) {
47
+ setTimeout(report, delay);
48
+ }
49
+ else {
50
+ report();
51
+ }
52
+ }
53
+ }
54
+ export function deleteDelayedReport(prefix) {
55
+ const key = getDelayedKey(prefix);
56
+ if (key in localStorage) {
57
+ localStorage.removeItem(key);
58
+ }
59
+ }
60
+ export const getDelayedKey = (prefix) => `${prefix}-${DELAYED_REPORT_LS_KEY}`;
61
+ export const productPossibleKey = `product-${DELAYED_REPORT_LS_KEY}`;
62
+ //# sourceMappingURL=delayedReport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delayedReport.js","sourceRoot":"","sources":["../../../src/components/delayedReport/delayedReport.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EAAgB,MAAM,EAAE,iBAAiB,EAAiB,MAAM,0BAA0B,CAAC;AAClG,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAC,IAAI,EAAC,MAAM,qBAAqB,CAAC;AAGzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CAAA;AA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,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,mCAAI,IAAI,CAAC,SAAS,mCAAI,EAAE,EAC/D,QAAQ,EACR,MAAM,EAAE,MAAM,EACd,MAAM,EACN,WAAW,EAAE,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,EAAE,EAAC,CAAC,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,EAAE,CAAC,CAAC,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,IAC1D,CAAC,IAAI,CAAC,GAAG,EAAE;gBACT,IAAI,cAAc,EAAE;oBACf,MAAc,CAAC,cAAc,CAAC,EAAE,CAAC;iBACrC;YACL,CAAC,CAAC,CAAA;QACN,CAAC;QAED,IAAI,KAAK,EAAE;YACP,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;SAC7B;aAAM;YACH,MAAM,EAAE,CAAC;SACZ;KACJ;AACL,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,MAAc;IAC9C,MAAM,GAAG,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;IAClC,IAAI,GAAG,IAAI,YAAY,EAAE;QACrB,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;KAChC;AACL,CAAC;AAED,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,GAAG,MAAM,IAAI,qBAAqB,EAAE,CAAC;AAEtF,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,qBAAqB,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ export default function navigate(url: string, track: string, newTab?: boolean): void;
@@ -0,0 +1,21 @@
1
+ import { googleAnalyticsLegacy } from "../../utils/googleAnalytics";
2
+ export default function navigate(url, track, newTab) {
3
+ function run() {
4
+ doNavigation(url, newTab);
5
+ }
6
+ googleAnalyticsLegacy("push", ['_set', 'hitCallback', () => {
7
+ run();
8
+ }]);
9
+ googleAnalyticsLegacy("push", ['_trackPageview', track]);
10
+ // fallback in case 'hitCallback' won't work
11
+ setTimeout(run, 111);
12
+ }
13
+ function doNavigation(url, newTab) {
14
+ if (newTab) {
15
+ window.open(url);
16
+ }
17
+ else {
18
+ window.location.href = url;
19
+ }
20
+ }
21
+ //# sourceMappingURL=navigate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigate.js","sourceRoot":"","sources":["../../../src/components/navigate/navigate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,qBAAqB,EAAC,MAAM,6BAA6B,CAAC;AAElE,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,GAAW,EAAE,KAAa,EAAE,MAAgB;IACzE,SAAS,GAAG;QACR,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAC9B,CAAC;IAED,qBAAqB,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,EAAE;YACvD,GAAG,EAAE,CAAC;QACV,CAAC,CAAC,CAAC,CAAA;IAEH,qBAAqB,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC,CAAC;IAEzD,4CAA4C;IAC5C,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,YAAY,CAAC,GAAW,EAAE,MAAgB;IAC/C,IAAG,MAAM,EAAE;QACP,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KACpB;SAAM;QACH,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,GAAG,CAAC;KAC9B;AACL,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { ReportBaseProps } from "../../@types/reporting";
2
+ import { reportProductRecommendationsClicked, reportProductsRecommendationsShown } from "../../@types/recommendations";
3
+ export declare const PRODUCT_FROM_RECOMMENDATIONS = "product-seen-from-recommendations";
4
+ export declare const PRODUCT_CLICKED_FROM_RECOMMENDATIONS = "product-clicked-from-recommendations";
5
+ export declare function hasSvelteRecommendationsDelayedReport(): boolean;
6
+ export declare const Recommendations: (getBase: () => ReportBaseProps) => {
7
+ reportProductClicked: (props: reportProductRecommendationsClicked) => Promise<boolean>;
8
+ reportProductsShown: (props: reportProductsRecommendationsShown) => Promise<boolean>;
9
+ };
@@ -0,0 +1,54 @@
1
+ import { DelayedReport, executeDelayedReport, getDelayedKey } from "../delayedReport/delayedReport";
2
+ import { ReportingEndpoint, ReportingUpType } from "../../services/reporting";
3
+ import { googleTagManager } from "../../utils/googleAnalytics";
4
+ import getUserSession from "../../utils/getUserSession";
5
+ export const PRODUCT_FROM_RECOMMENDATIONS = "product-seen-from-recommendations";
6
+ export const PRODUCT_CLICKED_FROM_RECOMMENDATIONS = "product-clicked-from-recommendations";
7
+ export function hasSvelteRecommendationsDelayedReport() {
8
+ return getDelayedKey(PRODUCT_FROM_RECOMMENDATIONS) in localStorage || getDelayedKey(PRODUCT_CLICKED_FROM_RECOMMENDATIONS) in localStorage;
9
+ }
10
+ export const Recommendations = (getBase) => ({
11
+ reportProductClicked: (props) => {
12
+ var _a, _b, _c, _d, _e, _f, _g, _h;
13
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
14
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
15
+ googleTagManager('event', 'select_item', { items: props.gtag_product_items });
16
+ }
17
+ try {
18
+ if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
19
+ (_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
20
+ }
21
+ else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
22
+ (_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
23
+ }
24
+ }
25
+ catch (e) {
26
+ console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
27
+ }
28
+ delete props.gtag_product_items;
29
+ }
30
+ return DelayedReport(Object.assign(Object.assign({ prefix: PRODUCT_CLICKED_FROM_RECOMMENDATIONS, endpoint: ReportingEndpoint.General, upType: ReportingUpType.relatedProductClicked }, getBase()), { params: Object.assign({ reference: 'isp_rel_prd' }, props) }));
31
+ },
32
+ reportProductsShown: (props) => {
33
+ var _a, _b;
34
+ try {
35
+ if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
36
+ if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultViewItemListEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultViewItemListEvent) === true)) {
37
+ googleTagManager("event", "view_item_list", { items: props.gtag_product_items });
38
+ delete props.gtag_product_items;
39
+ }
40
+ }
41
+ const userSession = getUserSession();
42
+ let result = DelayedReport(Object.assign(Object.assign({ prefix: `${PRODUCT_FROM_RECOMMENDATIONS}${(props === null || props === void 0 ? void 0 : props.widget_id) ? props === null || props === void 0 ? void 0 : props.widget_id : ""}`, endpoint: ReportingEndpoint.General, upType: ReportingUpType.relatedProductSeen }, getBase()), { params: Object.assign({ callback: "ispRelatedDone", st: userSession !== null && userSession !== void 0 ? userSession : undefined }, props) }));
43
+ setTimeout(() => {
44
+ executeDelayedReport(`${PRODUCT_FROM_RECOMMENDATIONS}${(props === null || props === void 0 ? void 0 : props.widget_id) ? props === null || props === void 0 ? void 0 : props.widget_id : ""}`);
45
+ }, 200);
46
+ return result;
47
+ }
48
+ catch (e) {
49
+ console.log(`%c❌ Fast Simon Reporting Error | Error in reportProductsShown `, "font-weight: bold; font-size: 12px; color: red");
50
+ return Promise.resolve(false);
51
+ }
52
+ }
53
+ });
54
+ //# sourceMappingURL=recommendations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommendations.js","sourceRoot":"","sources":["../../../src/components/recommendations/recommendations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,aAAa,EAAE,oBAAoB,EAAE,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAClG,OAAO,EAAC,iBAAiB,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAC7D,OAAO,cAAc,MAAM,4BAA4B,CAAC;AAMxD,MAAM,CAAC,MAAM,4BAA4B,GAAG,mCAAmC,CAAA;AAC/E,MAAM,CAAC,MAAM,oCAAoC,GAAG,sCAAsC,CAAA;AAE1F,MAAM,UAAU,qCAAqC;IACjD,OAAO,aAAa,CAAC,4BAA4B,CAAC,IAAI,YAAY,IAAI,aAAa,CAAC,oCAAoC,CAAC,IAAI,YAAY,CAAC;AAC9I,CAAC;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAA8B,EAAE,EAAE,CAAC,CAAC;IAChE,oBAAoB,EAAE,CAAC,KAA0C,EAAE,EAAE;;QACjE,IAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,kBAAkB,EAAE;YAC3B,IAAI,CAAC,CAAC,CAAA,MAAC,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,cAAc,0CAAE,2BAA2B,MAAK,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA,MAAC,MAAc,aAAd,MAAM,uBAAN,MAAM,CAAU,aAAa,0CAAE,2BAA2B,MAAK,IAAI,CAAC,EAAE;gBACrJ,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,kBAAkB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