fast-simon-sdk 1.6.122 → 1.6.124

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 (650) hide show
  1. package/lib/sections/eventReporter/utils.js +47 -5
  2. package/lib/sections/eventReporter/utils.js.map +1 -1
  3. package/lib/services/delayedReports.d.ts +6 -0
  4. package/lib/services/delayedReports.js +87 -0
  5. package/lib/services/delayedReports.js.map +1 -0
  6. package/lib/services/reporting.d.ts +16 -0
  7. package/lib/services/reporting.js +37 -1
  8. package/lib/services/reporting.js.map +1 -1
  9. package/lib/utils/delayedReportEnrichment.d.ts +4 -0
  10. package/lib/utils/delayedReportEnrichment.js +96 -0
  11. package/lib/utils/delayedReportEnrichment.js.map +1 -0
  12. package/lib/utils/ensureReportingScript.d.ts +1 -1
  13. package/lib/utils/ensureReportingScript.js +14 -30
  14. package/lib/utils/ensureReportingScript.js.map +1 -1
  15. package/package.json +3 -7
  16. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.d.ts +0 -27
  17. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js +0 -2
  18. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js.map +0 -1
  19. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.d.ts +0 -1
  20. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js +0 -2
  21. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js.map +0 -1
  22. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.d.ts +0 -18
  23. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js +0 -2
  24. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js.map +0 -1
  25. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.d.ts +0 -23
  26. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js +0 -2
  27. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js.map +0 -1
  28. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.d.ts +0 -138
  29. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js +0 -2
  30. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js.map +0 -1
  31. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.d.ts +0 -126
  32. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js +0 -2
  33. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js.map +0 -1
  34. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.d.ts +0 -34
  35. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js +0 -2
  36. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js.map +0 -1
  37. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.d.ts +0 -75
  38. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js +0 -8
  39. package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js.map +0 -1
  40. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.d.ts +0 -86
  41. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js +0 -241
  42. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js.map +0 -1
  43. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.d.ts +0 -13
  44. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js +0 -71
  45. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js.map +0 -1
  46. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.d.ts +0 -14
  47. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js +0 -62
  48. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js.map +0 -1
  49. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.d.ts +0 -1
  50. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js +0 -21
  51. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js.map +0 -1
  52. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.d.ts +0 -9
  53. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js +0 -54
  54. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js.map +0 -1
  55. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.d.ts +0 -26
  56. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js +0 -399
  57. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js.map +0 -1
  58. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.d.ts +0 -13
  59. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js +0 -84
  60. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js.map +0 -1
  61. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.d.ts +0 -31
  62. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js +0 -302
  63. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js.map +0 -1
  64. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts +0 -16
  65. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js +0 -38
  66. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map +0 -1
  67. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.d.ts +0 -24
  68. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js +0 -156
  69. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js.map +0 -1
  70. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.d.ts +0 -9
  71. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js +0 -122
  72. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js.map +0 -1
  73. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.d.ts +0 -14
  74. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js +0 -36
  75. package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js.map +0 -1
  76. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.d.ts +0 -0
  77. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js +0 -2
  78. package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js.map +0 -1
  79. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.d.ts +0 -13
  80. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js +0 -10
  81. package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js.map +0 -1
  82. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.d.ts +0 -20
  83. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js +0 -32
  84. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js.map +0 -1
  85. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.d.ts +0 -28
  86. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js +0 -332
  87. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js.map +0 -1
  88. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.d.ts +0 -33
  89. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js +0 -171
  90. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js.map +0 -1
  91. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.d.ts +0 -20
  92. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js +0 -27
  93. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js.map +0 -1
  94. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.d.ts +0 -60
  95. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js +0 -111
  96. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js.map +0 -1
  97. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.d.ts +0 -8
  98. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js +0 -72
  99. package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js.map +0 -1
  100. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.d.ts +0 -2
  101. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js +0 -16
  102. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js.map +0 -1
  103. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.d.ts +0 -0
  104. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js +0 -2
  105. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js.map +0 -1
  106. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.d.ts +0 -1
  107. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js +0 -9
  108. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js.map +0 -1
  109. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.d.ts +0 -13
  110. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js +0 -60
  111. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js.map +0 -1
  112. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.d.ts +0 -1
  113. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js +0 -14
  114. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js.map +0 -1
  115. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.d.ts +0 -22
  116. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js +0 -29
  117. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js.map +0 -1
  118. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.d.ts +0 -2
  119. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js +0 -11
  120. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js.map +0 -1
  121. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.d.ts +0 -3
  122. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js +0 -25
  123. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js.map +0 -1
  124. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.d.ts +0 -9
  125. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js +0 -25
  126. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js.map +0 -1
  127. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.d.ts +0 -2
  128. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js +0 -41
  129. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js.map +0 -1
  130. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.d.ts +0 -1
  131. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js +0 -16
  132. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js.map +0 -1
  133. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.d.ts +0 -2
  134. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js +0 -48
  135. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js.map +0 -1
  136. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.d.ts +0 -1
  137. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js +0 -11
  138. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js.map +0 -1
  139. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.d.ts +0 -2
  140. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js +0 -18
  141. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js.map +0 -1
  142. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.d.ts +0 -2
  143. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js +0 -11
  144. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js.map +0 -1
  145. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.d.ts +0 -9
  146. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js +0 -68
  147. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js.map +0 -1
  148. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.d.ts +0 -8
  149. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js +0 -25
  150. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js.map +0 -1
  151. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.d.ts +0 -4
  152. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js +0 -113
  153. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js.map +0 -1
  154. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.d.ts +0 -1
  155. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js +0 -17
  156. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js.map +0 -1
  157. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.d.ts +0 -1
  158. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js +0 -9
  159. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js.map +0 -1
  160. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.d.ts +0 -10
  161. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js +0 -76
  162. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js.map +0 -1
  163. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.d.ts +0 -2
  164. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js +0 -13
  165. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js.map +0 -1
  166. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.d.ts +0 -1
  167. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js +0 -10
  168. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js.map +0 -1
  169. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.d.ts +0 -1
  170. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js +0 -28
  171. package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js.map +0 -1
  172. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.d.ts +0 -18
  173. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js +0 -94
  174. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js.map +0 -1
  175. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.d.ts +0 -10
  176. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js +0 -31
  177. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js.map +0 -1
  178. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.d.ts +0 -53
  179. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js +0 -98
  180. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js.map +0 -1
  181. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.d.ts +0 -4
  182. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js +0 -16
  183. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js.map +0 -1
  184. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.d.ts +0 -25
  185. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js +0 -59
  186. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js.map +0 -1
  187. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.d.ts +0 -6
  188. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js +0 -17
  189. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js.map +0 -1
  190. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.d.ts +0 -1
  191. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js +0 -8
  192. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js.map +0 -1
  193. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.d.ts +0 -4
  194. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js +0 -16
  195. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js.map +0 -1
  196. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.d.ts +0 -7
  197. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js +0 -21
  198. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js.map +0 -1
  199. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.d.ts +0 -1
  200. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js +0 -11
  201. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js.map +0 -1
  202. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.d.ts +0 -10
  203. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js +0 -86
  204. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js.map +0 -1
  205. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.d.ts +0 -13
  206. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js +0 -53
  207. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js.map +0 -1
  208. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.d.ts +0 -4
  209. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js +0 -8
  210. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js.map +0 -1
  211. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.d.ts +0 -36
  212. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js +0 -70
  213. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js.map +0 -1
  214. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.d.ts +0 -2
  215. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js +0 -100
  216. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js.map +0 -1
  217. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.d.ts +0 -1
  218. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js +0 -17
  219. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js.map +0 -1
  220. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.d.ts +0 -10
  221. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js +0 -86
  222. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js.map +0 -1
  223. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.d.ts +0 -2
  224. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js +0 -19
  225. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js.map +0 -1
  226. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.d.ts +0 -2
  227. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js +0 -12
  228. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js.map +0 -1
  229. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.d.ts +0 -1
  230. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js +0 -4
  231. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js.map +0 -1
  232. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.d.ts +0 -4
  233. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js +0 -23
  234. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js.map +0 -1
  235. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.d.ts +0 -4
  236. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js +0 -32
  237. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js.map +0 -1
  238. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.d.ts +0 -5
  239. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js +0 -19
  240. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js.map +0 -1
  241. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.d.ts +0 -10
  242. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js +0 -84
  243. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js.map +0 -1
  244. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.d.ts +0 -24
  245. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js +0 -25
  246. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js.map +0 -1
  247. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/package.json +0 -34
  248. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.d.ts +0 -42
  249. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js +0 -2
  250. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js.map +0 -1
  251. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.d.ts +0 -2
  252. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js +0 -2
  253. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js.map +0 -1
  254. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.d.ts +0 -142
  255. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js +0 -2
  256. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js.map +0 -1
  257. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.d.ts +0 -4
  258. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js +0 -2
  259. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js.map +0 -1
  260. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.d.ts +0 -4
  261. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js +0 -2
  262. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js.map +0 -1
  263. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.d.ts +0 -4
  264. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js +0 -2
  265. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js.map +0 -1
  266. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.d.ts +0 -1
  267. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js +0 -2
  268. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js.map +0 -1
  269. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.d.ts +0 -75
  270. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js +0 -2
  271. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js.map +0 -1
  272. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.d.ts +0 -11
  273. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js +0 -2
  274. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js.map +0 -1
  275. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.d.ts +0 -41
  276. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js +0 -2
  277. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js.map +0 -1
  278. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.d.ts +0 -40
  279. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js +0 -2
  280. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js.map +0 -1
  281. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.d.ts +0 -40
  282. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js +0 -2
  283. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js.map +0 -1
  284. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.d.ts +0 -1
  285. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js +0 -2
  286. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js.map +0 -1
  287. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.d.ts +0 -41
  288. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js +0 -2
  289. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js.map +0 -1
  290. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.d.ts +0 -15
  291. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js +0 -2
  292. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js.map +0 -1
  293. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/package.json +0 -33
  294. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/LICENSE +0 -21
  295. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/README.md +0 -233
  296. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/bench.js +0 -76
  297. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/index.js +0 -6
  298. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/abort.js +0 -29
  299. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/async.js +0 -34
  300. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/defer.js +0 -26
  301. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/iterate.js +0 -75
  302. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_asynckit.js +0 -91
  303. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_parallel.js +0 -25
  304. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial.js +0 -25
  305. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
  306. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/state.js +0 -37
  307. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/streamify.js +0 -141
  308. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/terminator.js +0 -29
  309. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/package.json +0 -63
  310. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/parallel.js +0 -43
  311. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serial.js +0 -17
  312. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serialOrdered.js +0 -75
  313. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/stream.js +0 -21
  314. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/CHANGELOG.md +0 -1014
  315. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/LICENSE +0 -19
  316. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/README.md +0 -1182
  317. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/SECURITY.md +0 -5
  318. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/UPGRADE_GUIDE.md +0 -169
  319. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/check-build-version.js +0 -19
  320. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/ssl_hotfix.js +0 -22
  321. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js +0 -2377
  322. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js.map +0 -1
  323. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js +0 -2
  324. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js.map +0 -1
  325. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js +0 -2369
  326. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js.map +0 -1
  327. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js +0 -2
  328. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js.map +0 -1
  329. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.d.ts +0 -340
  330. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.js +0 -1
  331. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/README.md +0 -37
  332. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/http.js +0 -463
  333. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/xhr.js +0 -226
  334. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/axios.js +0 -68
  335. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CancelToken.js +0 -118
  336. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CanceledError.js +0 -24
  337. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/isCancel.js +0 -5
  338. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/Axios.js +0 -172
  339. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/AxiosError.js +0 -97
  340. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/InterceptorManager.js +0 -63
  341. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/README.md +0 -8
  342. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/buildFullPath.js +0 -20
  343. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/dispatchRequest.js +0 -94
  344. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/mergeConfig.js +0 -103
  345. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/settle.js +0 -25
  346. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/transformData.js +0 -23
  347. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/index.js +0 -175
  348. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/transitional.js +0 -7
  349. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/README.md +0 -3
  350. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/classes/FormData.js +0 -2
  351. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/data.js +0 -3
  352. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -42
  353. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/README.md +0 -7
  354. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/bind.js +0 -7
  355. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/buildURL.js +0 -55
  356. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/combineURLs.js +0 -14
  357. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/cookies.js +0 -53
  358. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
  359. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/formDataToJSON.js +0 -71
  360. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/fromDataURI.js +0 -51
  361. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
  362. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAxiosError.js +0 -13
  363. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
  364. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  365. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/null.js +0 -2
  366. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
  367. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
  368. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/spread.js +0 -27
  369. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toFormData.js +0 -179
  370. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
  371. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/validator.js +0 -86
  372. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
  373. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  374. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/index.js +0 -11
  375. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/index.js +0 -3
  376. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
  377. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -5
  378. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/index.js +0 -11
  379. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/utils.js +0 -522
  380. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/package.json +0 -100
  381. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/rollup.config.js +0 -60
  382. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tsconfig.json +0 -14
  383. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tslint.json +0 -6
  384. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  385. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  386. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  387. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  388. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  389. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/README.md +0 -62
  390. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  391. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  392. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  393. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  394. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  395. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  396. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  397. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  398. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  399. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.js +0 -15
  400. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/package.json +0 -85
  401. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  402. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  403. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  404. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  405. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/License +0 -19
  406. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/Readme.md +0 -138
  407. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/lib/combined_stream.js +0 -208
  408. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/package.json +0 -25
  409. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/.npmignore +0 -1
  410. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/License +0 -19
  411. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Makefile +0 -7
  412. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Readme.md +0 -141
  413. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
  414. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/package.json +0 -27
  415. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.eslintrc +0 -5
  416. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  417. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.nycrc +0 -13
  418. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/CHANGELOG.md +0 -24
  419. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/LICENSE +0 -21
  420. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/README.md +0 -54
  421. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.d.ts +0 -5
  422. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.js +0 -30
  423. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/package.json +0 -76
  424. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.d.ts +0 -5
  425. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.js +0 -35
  426. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/get.js +0 -34
  427. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/index.js +0 -4
  428. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/set.js +0 -50
  429. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/tsconfig.json +0 -9
  430. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.eslintrc +0 -13
  431. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  432. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.nycrc +0 -9
  433. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/CHANGELOG.md +0 -29
  434. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/LICENSE +0 -21
  435. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/README.md +0 -49
  436. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.d.ts +0 -3
  437. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.js +0 -14
  438. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/package.json +0 -81
  439. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/test/index.js +0 -56
  440. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/tsconfig.json +0 -10
  441. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.eslintrc +0 -5
  442. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.github/FUNDING.yml +0 -12
  443. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/CHANGELOG.md +0 -40
  444. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/LICENSE +0 -21
  445. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/README.md +0 -55
  446. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.d.ts +0 -3
  447. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.js +0 -4
  448. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.d.ts +0 -3
  449. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.js +0 -4
  450. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/package.json +0 -80
  451. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.d.ts +0 -3
  452. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.js +0 -4
  453. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.d.ts +0 -3
  454. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.js +0 -4
  455. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.d.ts +0 -3
  456. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.js +0 -4
  457. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/test/index.js +0 -19
  458. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/tsconfig.json +0 -49
  459. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.d.ts +0 -3
  460. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.js +0 -4
  461. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.d.ts +0 -3
  462. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.js +0 -4
  463. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.eslintrc +0 -16
  464. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  465. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  466. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/LICENSE +0 -21
  467. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/README.md +0 -63
  468. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  469. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  470. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  471. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.js +0 -10
  472. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.d.ts +0 -3
  473. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.js +0 -4
  474. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.d.ts +0 -3
  475. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.js +0 -6
  476. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/package.json +0 -80
  477. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/test/index.js +0 -38
  478. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/tsconfig.json +0 -6
  479. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.eslintrc +0 -13
  480. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.nycrc +0 -9
  481. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
  482. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/LICENSE +0 -21
  483. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/README.md +0 -53
  484. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.d.ts +0 -10
  485. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.js +0 -35
  486. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/package.json +0 -78
  487. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/test/index.js +0 -85
  488. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/tsconfig.json +0 -9
  489. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/LICENSE +0 -18
  490. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/README.md +0 -155
  491. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/debug.js +0 -15
  492. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/http.js +0 -1
  493. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/https.js +0 -1
  494. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/index.js +0 -686
  495. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/package.json +0 -58
  496. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/CHANGELOG.md +0 -686
  497. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/License +0 -19
  498. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/README.md +0 -355
  499. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/index.d.ts +0 -62
  500. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/browser.js +0 -4
  501. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/form_data.js +0 -506
  502. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/populate.js +0 -10
  503. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/package.json +0 -82
  504. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.eslintrc +0 -21
  505. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/FUNDING.yml +0 -12
  506. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/SECURITY.md +0 -3
  507. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.nycrc +0 -13
  508. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/CHANGELOG.md +0 -136
  509. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/LICENSE +0 -20
  510. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/README.md +0 -46
  511. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/implementation.js +0 -84
  512. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/index.js +0 -5
  513. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/package.json +0 -87
  514. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/.eslintrc +0 -9
  515. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/index.js +0 -252
  516. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.eslintrc +0 -38
  517. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  518. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.nycrc +0 -9
  519. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/CHANGELOG.md +0 -178
  520. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/LICENSE +0 -21
  521. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/README.md +0 -71
  522. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/index.js +0 -377
  523. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/package.json +0 -97
  524. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  525. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.eslintrc +0 -10
  526. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.github/FUNDING.yml +0 -12
  527. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.nycrc +0 -9
  528. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/CHANGELOG.md +0 -21
  529. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/LICENSE +0 -21
  530. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  531. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  532. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/README.md +0 -50
  533. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  534. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  535. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.d.ts +0 -5
  536. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.js +0 -27
  537. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/package.json +0 -81
  538. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/test/index.js +0 -68
  539. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/tsconfig.json +0 -9
  540. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.eslintrc +0 -16
  541. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.github/FUNDING.yml +0 -12
  542. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/CHANGELOG.md +0 -45
  543. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/LICENSE +0 -21
  544. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/README.md +0 -40
  545. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.d.ts +0 -1
  546. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.js +0 -4
  547. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.d.ts +0 -5
  548. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.js +0 -15
  549. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/package.json +0 -77
  550. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/test/index.js +0 -36
  551. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/tsconfig.json +0 -9
  552. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.eslintrc +0 -11
  553. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  554. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.nycrc +0 -9
  555. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/CHANGELOG.md +0 -91
  556. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/LICENSE +0 -21
  557. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/README.md +0 -46
  558. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.d.ts +0 -3
  559. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.js +0 -14
  560. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/package.json +0 -111
  561. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.d.ts +0 -3
  562. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.js +0 -45
  563. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/index.js +0 -22
  564. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/core-js.js +0 -29
  565. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  566. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/tests.js +0 -58
  567. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/tsconfig.json +0 -10
  568. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.eslintrc +0 -5
  569. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
  570. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.nycrc +0 -13
  571. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/CHANGELOG.md +0 -42
  572. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/LICENSE +0 -21
  573. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/README.md +0 -46
  574. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.d.ts +0 -3
  575. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.js +0 -8
  576. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/package.json +0 -108
  577. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.d.ts +0 -3
  578. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.js +0 -8
  579. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/index.js +0 -21
  580. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
  581. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
  582. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/tests.js +0 -15
  583. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/tsconfig.json +0 -49
  584. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.github/FUNDING.yml +0 -12
  585. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.nycrc +0 -13
  586. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/CHANGELOG.md +0 -58
  587. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/LICENSE +0 -21
  588. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/README.md +0 -40
  589. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/eslint.config.mjs +0 -6
  590. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.d.ts +0 -3
  591. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.js +0 -8
  592. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/package.json +0 -91
  593. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/tsconfig.json +0 -6
  594. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.eslintrc +0 -16
  595. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  596. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  597. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/LICENSE +0 -21
  598. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/README.md +0 -50
  599. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.d.ts +0 -1
  600. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.js +0 -4
  601. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  602. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  603. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  604. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  605. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  606. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  607. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.d.ts +0 -1
  608. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.js +0 -4
  609. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  610. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.js +0 -12
  611. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  612. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.js +0 -16
  613. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  614. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.js +0 -6
  615. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  616. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  617. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.d.ts +0 -1
  618. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.js +0 -4
  619. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.d.ts +0 -1
  620. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.js +0 -4
  621. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.d.ts +0 -3
  622. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.js +0 -9
  623. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/package.json +0 -86
  624. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.d.ts +0 -1
  625. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.js +0 -4
  626. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.d.ts +0 -1
  627. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.js +0 -4
  628. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.d.ts +0 -3
  629. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.js +0 -11
  630. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/test/index.js +0 -192
  631. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/tsconfig.json +0 -3
  632. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/HISTORY.md +0 -507
  633. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/LICENSE +0 -23
  634. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/README.md +0 -100
  635. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/db.json +0 -8519
  636. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/index.js +0 -12
  637. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/package.json +0 -60
  638. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/HISTORY.md +0 -397
  639. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/LICENSE +0 -23
  640. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/README.md +0 -113
  641. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/index.js +0 -188
  642. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/package.json +0 -44
  643. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.eslintrc +0 -29
  644. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.travis.yml +0 -10
  645. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/LICENSE +0 -20
  646. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/README.md +0 -131
  647. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/index.js +0 -108
  648. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/package.json +0 -34
  649. package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/test.js +0 -483
  650. package/node_modules/@fast-simon/fast-simon-reporting/package.json +0 -39
@@ -1,122 +0,0 @@
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 { ViewportImpressionTracker } from "./ViewportImpressionTracker";
11
- const IMPRESSION_API_URL = 'https://views.fastsimon.com/post_impression';
12
- const VIEWPORT_IMPRESSIONS = "VIEWPORT_IMPRESSIONS";
13
- // Store page load timestamp when the module loads
14
- const pageLoadTimestamp = Date.now();
15
- export function ViewportImpressions(getBase) {
16
- // Singleton tracker initialization - shared across all trackElement calls
17
- const initTracker = (() => {
18
- let tracker = null;
19
- return () => {
20
- if (!tracker) {
21
- tracker = new ViewportImpressionTracker({
22
- threshold: 0.7,
23
- backupInterval: 120000,
24
- onReport: reportImpressions
25
- });
26
- }
27
- return tracker;
28
- };
29
- })();
30
- const reportImpressions = (impressions) => __awaiter(this, void 0, void 0, function* () {
31
- var _a;
32
- const base = getBase();
33
- if (!base.userSession || !((_a = base.sessionToken) === null || _a === void 0 ? void 0 : _a.start) || impressions.length === 0) {
34
- return;
35
- }
36
- // Group impressions by context (query/categoryID + sort_by + narrow_by)
37
- const groupedImpressions = impressions.reduce((acc, impression) => {
38
- // Create composite key based on context
39
- const key = impression.query
40
- ? `${impression.query}_${impression.sort_by || ''}_${impression.narrow_by || ''}`
41
- : `${impression.categoryID || ''}_${impression.sort_by || ''}_${impression.narrow_by || ''}`;
42
- if (!acc[key]) {
43
- acc[key] = {
44
- query: impression.query,
45
- categoryID: impression.categoryID,
46
- sort_by: impression.sort_by,
47
- narrow_by: impression.narrow_by,
48
- products: {}
49
- };
50
- }
51
- acc[key].products[impression.elementID] = impression.timestamp;
52
- return acc;
53
- }, {});
54
- // Send a request for each group
55
- const requests = Object.values(groupedImpressions).map(group => {
56
- const params = {
57
- UUID: base.uuid,
58
- store_id: base.storeID,
59
- st: base.userSession,
60
- session: base.sessionToken.start,
61
- up_type: group.query ? '4' : '20',
62
- page_load_timestamp: pageLoadTimestamp,
63
- request_timestamp: Date.now(),
64
- viewport_products: group.products
65
- };
66
- if (group.query) {
67
- params.q = group.query;
68
- }
69
- if (group.categoryID) {
70
- params.category_id = group.categoryID;
71
- }
72
- if (group.sort_by) {
73
- params.sort_by = group.sort_by;
74
- }
75
- if (group.narrow_by) {
76
- params.narrow_by = group.narrow_by;
77
- }
78
- return sendImpressionRequest(params);
79
- });
80
- yield Promise.all(requests);
81
- });
82
- const sendImpressionRequest = (params) => __awaiter(this, void 0, void 0, function* () {
83
- try {
84
- yield fetch(IMPRESSION_API_URL, {
85
- method: 'POST',
86
- headers: {
87
- 'Content-Type': 'application/json'
88
- },
89
- body: JSON.stringify(params),
90
- keepalive: true
91
- });
92
- }
93
- catch (error) {
94
- throw error;
95
- }
96
- });
97
- return {
98
- trackElement: (element, metadata) => {
99
- const tracker = initTracker();
100
- tracker.track(element, metadata);
101
- },
102
- untrackElement: (element) => {
103
- const tracker = initTracker();
104
- tracker.untrack(element);
105
- },
106
- // Call this when route/context changes (e.g., new search, category, filters)
107
- onContextChange: () => __awaiter(this, void 0, void 0, function* () {
108
- const tracker = initTracker();
109
- yield tracker.reportNow();
110
- }),
111
- reportNow: () => __awaiter(this, void 0, void 0, function* () {
112
- const tracker = initTracker();
113
- yield tracker.reportNow();
114
- }),
115
- destroy: () => {
116
- const tracker = initTracker();
117
- tracker.destroy();
118
- // Note: We don't null the tracker here to maintain singleton
119
- }
120
- };
121
- }
122
- //# sourceMappingURL=viewportImpressions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"viewportImpressions.js","sourceRoot":"","sources":["../../../src/components/viewportImpressions/viewportImpressions.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,kBAAkB,GAAG,6CAA6C,CAAC;AACzE,MAAM,oBAAoB,GAAG,sBAAsB,CAAC;AAEpD,kDAAkD;AAClD,MAAM,iBAAiB,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;AAErC,MAAM,UAAU,mBAAmB,CAAC,OAA8B;IAC9D,0EAA0E;IAC1E,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE;QACtB,IAAI,OAAO,GAAqC,IAAI,CAAC;QACrD,OAAO,GAAG,EAAE;YACR,IAAI,CAAC,OAAO,EAAE;gBACV,OAAO,GAAG,IAAI,yBAAyB,CAAC;oBACpC,SAAS,EAAE,GAAG;oBACd,cAAc,EAAE,MAAM;oBACtB,QAAQ,EAAE,iBAAiB;iBAC9B,CAAC,CAAC;aACN;YACD,OAAO,OAAO,CAAC;QACnB,CAAC,CAAC;IACN,CAAC,CAAC,EAAE,CAAC;IAEL,MAAM,iBAAiB,GAAG,CAAO,WAA+B,EAAiB,EAAE;;QAC/E,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;QAEvB,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,CAAA,MAAA,IAAI,CAAC,YAAY,0CAAE,KAAK,CAAA,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;YAC5E,OAAO;SACV;QAED,wEAAwE;QACxE,MAAM,kBAAkB,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,UAAU,EAAE,EAAE;YAC9D,wCAAwC;YACxC,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK;gBACxB,CAAC,CAAC,GAAG,UAAU,CAAC,KAAK,IAAI,UAAU,CAAC,OAAO,IAAI,EAAE,IAAI,UAAU,CAAC,SAAS,IAAI,EAAE,EAAE;gBACjF,CAAC,CAAC,GAAG,UAAU,CAAC,UAAU,IAAI,EAAE,IAAI,UAAU,CAAC,OAAO,IAAI,EAAE,IAAI,UAAU,CAAC,SAAS,IAAI,EAAE,EAAE,CAAC;YAEjG,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;gBACX,GAAG,CAAC,GAAG,CAAC,GAAG;oBACP,KAAK,EAAE,UAAU,CAAC,KAAK;oBACvB,UAAU,EAAE,UAAU,CAAC,UAAU;oBACjC,OAAO,EAAE,UAAU,CAAC,OAAO;oBAC3B,SAAS,EAAE,UAAU,CAAC,SAAS;oBAC/B,QAAQ,EAAE,EAAE;iBACf,CAAC;aACL;YACD,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC;YAC/D,OAAO,GAAG,CAAC;QACf,CAAC,EAAE,EAMD,CAAC,CAAC;QAEJ,gCAAgC;QAChC,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;YAC3D,MAAM,MAAM,GAA6B;gBACrC,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,QAAQ,EAAE,IAAI,CAAC,OAAO;gBACtB,EAAE,EAAE,IAAI,CAAC,WAAW;gBACpB,OAAO,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK;gBAChC,OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;gBACjC,mBAAmB,EAAE,iBAAiB;gBACtC,iBAAiB,EAAE,IAAI,CAAC,GAAG,EAAE;gBAC7B,iBAAiB,EAAE,KAAK,CAAC,QAAQ;aACpC,CAAC;YAEF,IAAI,KAAK,CAAC,KAAK,EAAE;gBACb,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC;aAC1B;YACD,IAAI,KAAK,CAAC,UAAU,EAAE;gBAClB,MAAM,CAAC,WAAW,GAAG,KAAK,CAAC,UAAU,CAAC;aACzC;YACD,IAAI,KAAK,CAAC,OAAO,EAAE;gBACf,MAAM,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;aAClC;YACD,IAAI,KAAK,CAAC,SAAS,EAAE;gBACjB,MAAM,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC;aACtC;YAED,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC,CAAC,CAAC;QAEH,MAAM,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC,CAAA,CAAC;IAEF,MAAM,qBAAqB,GAAG,CAAO,MAAgC,EAAiB,EAAE;QACpF,IAAI;YACA,MAAM,KAAK,CAAC,kBAAkB,EAAE;gBAC5B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE;oBACL,cAAc,EAAE,kBAAkB;iBACrC;gBACD,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC;gBAC5B,SAAS,EAAE,IAAI;aAClB,CAAC,CAAC;SACN;QAAC,OAAO,KAAK,EAAE;YACZ,MAAM,KAAK,CAAC;SACf;IACL,CAAC,CAAA,CAAC;IAEF,OAAO;QACH,YAAY,EAAE,CAAC,OAAgB,EAAE,QAA4B,EAAE,EAAE;YAC7D,MAAM,OAAO,GAAG,WAAW,EAAE,CAAC;YAC9B,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACrC,CAAC;QAED,cAAc,EAAE,CAAC,OAAgB,EAAE,EAAE;YACjC,MAAM,OAAO,GAAG,WAAW,EAAE,CAAC;YAC9B,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC7B,CAAC;QAED,6EAA6E;QAC7E,eAAe,EAAE,GAAS,EAAE;YACxB,MAAM,OAAO,GAAG,WAAW,EAAE,CAAC;YAC9B,MAAM,OAAO,CAAC,SAAS,EAAE,CAAC;QAC9B,CAAC,CAAA;QAED,SAAS,EAAE,GAAS,EAAE;YAClB,MAAM,OAAO,GAAG,WAAW,EAAE,CAAC;YAC9B,MAAM,OAAO,CAAC,SAAS,EAAE,CAAC;QAC9B,CAAC,CAAA;QAED,OAAO,EAAE,GAAG,EAAE;YACV,MAAM,OAAO,GAAG,WAAW,EAAE,CAAC;YAC9B,OAAO,CAAC,OAAO,EAAE,CAAC;YAClB,6DAA6D;QACjE,CAAC;KACJ,CAAC;AACN,CAAC"}
@@ -1,14 +0,0 @@
1
- import { ReportBaseProps } from "../../@types/reporting";
2
- import { ReportBoundingBoxClicked, ReportDiscoveryOpen, ReportDiscoveryProductVisit, ReportImageClickedFromGallery, ReportVisualProductAddedToCart, ReportVisualSearchUsed } from "../../@types/visualDiscovery";
3
- export declare const DISCOVERY_OPEN = "discovery-open";
4
- export declare const PRODUCT_CLICKED_FROM_VISUAL_DISCOVERY = "product-clicked-from-visual-discovery";
5
- export declare const PRODUCT_ADDED_TO_CART_FROM_VISUAL_DISCOVERY = "product-added-to-cart-from-visual-discovery";
6
- export declare const PRODUCT_CLICKED_FROM_GALLERY = "product-added-to-cart-from-gallery";
7
- export declare const VisualDiscovery: (getBase: () => ReportBaseProps) => {
8
- reportDiscoveryOpen: (props: ReportDiscoveryOpen) => Promise<any>;
9
- reportDiscoveryProductVisit: (props: ReportDiscoveryProductVisit) => Promise<any>;
10
- reportGalleryImageClicked: (props: ReportImageClickedFromGallery) => Promise<any>;
11
- reportProductAddedToCart: (props: ReportVisualProductAddedToCart) => Promise<any>;
12
- reportVisualSearchUsed: (props: ReportVisualSearchUsed) => Promise<any>;
13
- reportBoundingBoxClicked: (props: ReportBoundingBoxClicked) => Promise<any>;
14
- };
@@ -1,36 +0,0 @@
1
- import { Report, ReportingUpType } from "../../services/reporting";
2
- export const DISCOVERY_OPEN = "discovery-open";
3
- export const PRODUCT_CLICKED_FROM_VISUAL_DISCOVERY = "product-clicked-from-visual-discovery";
4
- export const PRODUCT_ADDED_TO_CART_FROM_VISUAL_DISCOVERY = "product-added-to-cart-from-visual-discovery";
5
- export const PRODUCT_CLICKED_FROM_GALLERY = "product-added-to-cart-from-gallery";
6
- export const VisualDiscovery = (getBase) => ({
7
- reportDiscoveryOpen: (props) => {
8
- return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.discoveryOpen, params: props }));
9
- },
10
- reportDiscoveryProductVisit: (props) => {
11
- return Report(Object.assign(Object.assign({}, getBase()), { upType: props.type === "image-search"
12
- ? ReportingUpType.visualProductVisit
13
- : props.type === "instagram"
14
- ? ReportingUpType.instagramProductVisit
15
- : ReportingUpType.popularProductVisit, params: props }));
16
- },
17
- reportGalleryImageClicked: (props) => {
18
- return Report(Object.assign(Object.assign({}, getBase()), { upType: props.type === "instagram" ? ReportingUpType.instagramDiscovery : ReportingUpType.popularDiscovery, params: props }));
19
- },
20
- reportProductAddedToCart: (props) => {
21
- return Report(Object.assign(Object.assign({}, getBase()), { upType: props.type === "image-search"
22
- ? ReportingUpType.discoveryVisualATC
23
- : props.type === "instagram"
24
- ? ReportingUpType.discoveryInstagramATC
25
- : ReportingUpType.discoveryPopularATC, params: Object.assign(Object.assign({}, props), { cart: 1 }) }));
26
- },
27
- reportVisualSearchUsed: (props) => {
28
- return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.visualSearchUsed, params: props }));
29
- },
30
- reportBoundingBoxClicked: (props) => {
31
- return Report(Object.assign(Object.assign({}, getBase()), { upType: props.type === "image-search"
32
- ? ReportingUpType.visualSearchBboxClicked
33
- : ReportingUpType.visualBboxClicked, params: props }));
34
- },
35
- });
36
- //# sourceMappingURL=visualDiscovery.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"visualDiscovery.js","sourceRoot":"","sources":["../../../src/components/visualDiscovery/visualDiscovery.ts"],"names":[],"mappings":"AASA,OAAO,EAAC,MAAM,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAEjE,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAA;AAC9C,MAAM,CAAC,MAAM,qCAAqC,GAAG,uCAAuC,CAAA;AAC5F,MAAM,CAAC,MAAM,2CAA2C,GAAG,6CAA6C,CAAA;AACxG,MAAM,CAAC,MAAM,4BAA4B,GAAG,oCAAoC,CAAA;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,OAA8B,EAAE,EAAE,CAAC,CAAC;IAChE,mBAAmB,EAAE,CAAC,KAA0B,EAAE,EAAE;QAChD,OAAO,MAAM,iCACN,OAAO,EAAE,KACZ,MAAM,EAAE,eAAe,CAAC,aAAa,EACrC,MAAM,EAAE,KAAK,IACf,CAAA;IACN,CAAC;IACD,2BAA2B,EAAE,CAAC,KAAkC,EAAE,EAAE;QAChE,OAAO,MAAM,iCACN,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,CAAC,IAAI,KAAK,cAAc;gBACjC,CAAC,CAAC,eAAe,CAAC,kBAAkB;gBACpC,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,WAAW;oBACxB,CAAC,CAAC,eAAe,CAAC,qBAAqB;oBACvC,CAAC,CAAC,eAAe,CAAC,mBAAmB,EAC7C,MAAM,EAAE,KAAK,IACf,CAAA;IACN,CAAC;IACD,yBAAyB,EAAE,CAAC,KAAoC,EAAE,EAAE;QAChE,OAAO,MAAM,iCACN,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,eAAe,CAAC,kBAAkB,CAAC,CAAC,CAAC,eAAe,CAAC,gBAAgB,EAC1G,MAAM,EAAE,KAAK,IACf,CAAA;IACN,CAAC;IACD,wBAAwB,EAAE,CAAC,KAAqC,EAAE,EAAE;QAChE,OAAO,MAAM,iCACN,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,CAAC,IAAI,KAAK,cAAc;gBACjC,CAAC,CAAC,eAAe,CAAC,kBAAkB;gBACpC,CAAC,CAAC,KAAK,CAAC,IAAI,KAAK,WAAW;oBACxB,CAAC,CAAC,eAAe,CAAC,qBAAqB;oBACvC,CAAC,CAAC,eAAe,CAAC,mBAAmB,EAC7C,MAAM,kCAAM,KAAK,KAAE,IAAI,EAAE,CAAC,OAC5B,CAAC;IACP,CAAC;IACD,sBAAsB,EAAE,CAAC,KAA6B,EAAE,EAAE;QACtD,OAAO,MAAM,iCACN,OAAO,EAAE,KACZ,MAAM,EAAE,eAAe,CAAC,gBAAgB,EACxC,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;IACD,wBAAwB,EAAE,CAAC,KAA+B,EAAE,EAAE;QAC1D,OAAO,MAAM,iCACN,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,CAAC,IAAI,KAAK,cAAc;gBACjC,CAAC,CAAC,eAAe,CAAC,uBAAuB;gBACzC,CAAC,CAAC,eAAe,CAAC,iBAAiB,EACvC,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;CAEJ,CAAC,CAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=global.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"global.js","sourceRoot":"","sources":["../src/global.ts"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- import type { ReportingObject } from "./components/FastSimonReporting";
2
- import { FastSimonReporting } from "./components/FastSimonReporting";
3
- import type { AppKey, ReportBaseProps } from "./@types/reporting";
4
- import { getFastSimonReporting } from "./utils/getFastSimonReporting";
5
- import { Platform } from "./@types/platfrom";
6
- import type { GTAGItem, GTAGPromotionItem } from "./@types/serp";
7
- import { ReportingUpType } from "./services/reporting";
8
- import type { ImpressionMetadata, ImpressionRecord } from "./@types/viewportImpressions";
9
- import type { HintContext } from "./@types/shopperAssistant";
10
- import { runPdpSwatchSwitchStandalone } from "./components/swatchSwitch/standalone";
11
- declare function getCartToken(platform: Platform): string | undefined;
12
- export type { GTAGItem, GTAGPromotionItem, ImpressionMetadata, ImpressionRecord, HintContext };
13
- export { FastSimonReporting, ReportingObject, AppKey, ReportBaseProps, getFastSimonReporting, getCartToken, ReportingUpType, runPdpSwatchSwitchStandalone };
@@ -1,10 +0,0 @@
1
- import { FastSimonReporting } from "./components/FastSimonReporting";
2
- import { getFastSimonReporting } from "./utils/getFastSimonReporting";
3
- import { Cart } from "./services/cart";
4
- import { ReportingUpType } from "./services/reporting";
5
- import { runPdpSwatchSwitchStandalone } from "./components/swatchSwitch/standalone";
6
- function getCartToken(platform) {
7
- return Cart.getToken(platform);
8
- }
9
- export { FastSimonReporting, getFastSimonReporting, getCartToken, ReportingUpType, runPdpSwatchSwitchStandalone };
10
- //# sourceMappingURL=main.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAEnE,OAAO,EAAC,qBAAqB,EAAC,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAGrC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAGvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAEpF,SAAS,YAAY,CAAC,QAAkB;IACpC,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAClC,CAAC;AAGD,OAAO,EACH,kBAAkB,EAIlB,qBAAqB,EACrB,YAAY,EACZ,eAAe,EACf,4BAA4B,EAC/B,CAAA"}
@@ -1,20 +0,0 @@
1
- import { AxiosRequestConfig } from "axios";
2
- interface Params {
3
- [key: string]: any;
4
- }
5
- interface GetProps {
6
- url: string;
7
- params?: Params;
8
- config?: AxiosRequestConfig;
9
- }
10
- interface PostProps {
11
- url: string;
12
- data?: Params;
13
- config?: AxiosRequestConfig;
14
- }
15
- export declare const API: {
16
- get: <T>({ url, params, config }: GetProps) => Promise<T>;
17
- post: <T_1>({ url, config, data }: PostProps) => Promise<any>;
18
- };
19
- export declare const parseUrl: (url: string) => string;
20
- export {};
@@ -1,32 +0,0 @@
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 axios from "axios";
11
- export const API = {
12
- get: function ({ url, params, config }) {
13
- return __awaiter(this, void 0, void 0, function* () {
14
- const response = yield axios.get(url, Object.assign({ params }, config));
15
- return response.data;
16
- });
17
- },
18
- post: function ({ url, config, data }) {
19
- return __awaiter(this, void 0, void 0, function* () {
20
- const response = yield axios.post(url, data, config);
21
- return response.data;
22
- });
23
- },
24
- };
25
- export const parseUrl = (url) => {
26
- const fixed = url.replace("https://", "").replace("http://", "");
27
- if (fixed[fixed.length - 1] === "/") {
28
- return fixed.slice(0, fixed.length - 1);
29
- }
30
- return fixed;
31
- };
32
- //# sourceMappingURL=API.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"API.js","sourceRoot":"","sources":["../../src/services/API.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAkB/D,MAAM,CAAC,MAAM,GAAG,GAAG;IACf,GAAG,EAAE,UAAmB,EAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAW;;YACnD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,CAAwB,GAAG,kBACvD,MAAM,IACH,MAAM,EACX,CAAC;YAEH,OAAO,QAAQ,CAAC,IAAI,CAAC;QACzB,CAAC;KAAA;IAED,IAAI,EAAE,UAAmB,EAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAY;;YACnD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAErD,OAAO,QAAQ,CAAC,IAAI,CAAC;QACzB,CAAC;KAAA;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAW,EAAE,EAAE;IACpC,MAAM,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;IACjE,IAAI,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,GAAG,EAAE;QACjC,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;KAC1C;IACD,OAAO,KAAK,CAAC;AACjB,CAAC,CAAC"}
@@ -1,28 +0,0 @@
1
- import { ReportBaseProps } from "../@types/reporting";
2
- import { Platform } from "../@types/platfrom";
3
- export declare const Cart: {
4
- resolveMerchantToken: () => string | undefined;
5
- getToken: (platform: Platform) => string | undefined;
6
- saveToken(token: string, platform: Platform, sessionStart?: number, userSession?: string): void;
7
- /**
8
- * Removes FastSimon attributes from Shopify cart if they exist.
9
- * This cleans up legacy attributes that are no longer needed.
10
- *
11
- * Gated behind window.__fast_options.useFSCartAttributes: merchants who
12
- * haven't opted in to FS-managed cart attributes get zero writes to
13
- * /cart/update.js from this library. Some merchant themes/apps mirror
14
- * cart.attributes into cart.note (and thus into order.note / "additional
15
- * details"), so any attribute POST -- even one that only clears keys --
16
- * can surface FS-prefixed strings in shipping workflows.
17
- *
18
- * Note on the spread of `...currentAttributes` below: Shopify's
19
- * /cart/update.js merges attribute updates -- POSTing
20
- * `{attributes: {key: value}}` only changes that one key and leaves
21
- * others intact. The spread is therefore defensive but redundant
22
- * (and would be problematic if Shopify ever switched to replace
23
- * semantics).
24
- */
25
- removeShopifyCartAttributes(): Promise<void>;
26
- report: (base: ReportBaseProps) => Promise<any>;
27
- };
28
- export declare function getMagentoCartTokenViaLocalStorage(): string | null;
@@ -1,332 +0,0 @@
1
- import { Report } from "./reporting";
2
- import Cookies from "../utils/cookies";
3
- import { API } from "./API";
4
- import getScriptParamsByURL from "../utils/getScriptParamsByURL";
5
- const CART_TOKEN_COOKIE_NAME = "cart";
6
- const SERP_CART_TOKEN = '__isp_cart_last_known';
7
- const SERP_CART_TOKEN_LS = '__isp_cart';
8
- const RELATED_KEY = "ISP_PRODUCTS_VIEWED_SESSION_2";
9
- const PRODUCT_EXPIRY_DAYS = 5;
10
- function removeKeyFromToken(platform, token) {
11
- var _a;
12
- if (platform === 'Shopify') {
13
- return (_a = token.split('?key=')) === null || _a === void 0 ? void 0 : _a[0];
14
- }
15
- return token;
16
- }
17
- function getRecentProducts() {
18
- try {
19
- if (RELATED_KEY in localStorage) {
20
- const products = JSON.parse(localStorage.getItem(RELATED_KEY) || '[]');
21
- const currentTimestamp = Date.now() / 1000;
22
- const expiryTimestamp = currentTimestamp - (PRODUCT_EXPIRY_DAYS * 24 * 60 * 60);
23
- const recentProducts = products.filter(([_, timestamp]) => timestamp >= expiryTimestamp);
24
- const productsArray = recentProducts.sort((a, b) => b[1] < a[1] ? 1 : -1).map(p => String(p[0]));
25
- return [...new Set(productsArray)];
26
- }
27
- }
28
- catch (error) {
29
- console.error('[FastSimon] Error getting recent products:', error);
30
- }
31
- return [];
32
- }
33
- export const Cart = {
34
- /* Exposed so callers (e.g. FastSimonReporting.setCartToken) can tell whether
35
- the current token came from the merchant callback or from the default
36
- detection chain -- the saveToken policy depends on the source. */
37
- resolveMerchantToken: () => resolveMerchantCartToken(),
38
- getToken: (platform) => {
39
- var _a;
40
- /* merchant-provided override via window.__fast_options.cartTokenProvider. When a
41
- provider is configured it is authoritative: we do NOT fall back to the cart.js
42
- cookie below (on headless storefronts it is a different cart than the one that
43
- converts). If it has no token yet, send none and let the backend session-fill it. */
44
- const merchantToken = resolveMerchantCartToken();
45
- if (merchantToken) {
46
- return merchantToken;
47
- }
48
- if (typeof ((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.cartTokenProvider) === "function") {
49
- return undefined;
50
- }
51
- const cookies = new Cookies();
52
- /* try the shopify cookie */
53
- let data = platform === "Shopify" && cookiesGetter(cookies, CART_TOKEN_COOKIE_NAME);
54
- if (data) {
55
- return removeKeyFromToken(platform, data);
56
- }
57
- /* try magento getter */
58
- data = platform === "Magento" && getMagentoCartToken();
59
- if (data) {
60
- return data;
61
- }
62
- /* try WooCommerce getter */
63
- data = platform === "WooCommerce" && getWooCommerceCartToken();
64
- if (data) {
65
- return data;
66
- }
67
- /* try the our cookie next */
68
- data = cookiesGetter(cookies, SERP_CART_TOKEN);
69
- if (data) {
70
- return removeKeyFromToken(platform, data);
71
- }
72
- /* use common local storage as the last fallback */
73
- data = localStorageGetter(SERP_CART_TOKEN_LS);
74
- if (data) {
75
- return removeKeyFromToken(platform, data);
76
- }
77
- /* Bigcommerce global cart token fetcher - next round will catch it */
78
- if (platform === "BigCommerce") {
79
- setBigcommerceCartToken();
80
- }
81
- return undefined;
82
- },
83
- saveToken(token, platform, sessionStart, userSession) {
84
- const cookies = new Cookies();
85
- localStorage.setItem(SERP_CART_TOKEN_LS, token);
86
- if (platform === "Shopify") {
87
- cookies.set(SERP_CART_TOKEN, token);
88
- // saveToken handles localStorage + cookie persistence + legacy cleanup.
89
- // Clean up legacy FastSimon attributes that are no longer needed
90
- this.removeShopifyCartAttributes().catch((error) => {
91
- console.warn('[FastSimon] removeShopifyCartAttributes failed:', error);
92
- });
93
- }
94
- },
95
- /**
96
- * Removes FastSimon attributes from Shopify cart if they exist.
97
- * This cleans up legacy attributes that are no longer needed.
98
- *
99
- * Gated behind window.__fast_options.useFSCartAttributes: merchants who
100
- * haven't opted in to FS-managed cart attributes get zero writes to
101
- * /cart/update.js from this library. Some merchant themes/apps mirror
102
- * cart.attributes into cart.note (and thus into order.note / "additional
103
- * details"), so any attribute POST -- even one that only clears keys --
104
- * can surface FS-prefixed strings in shipping workflows.
105
- *
106
- * Note on the spread of `...currentAttributes` below: Shopify's
107
- * /cart/update.js merges attribute updates -- POSTing
108
- * `{attributes: {key: value}}` only changes that one key and leaves
109
- * others intact. The spread is therefore defensive but redundant
110
- * (and would be problematic if Shopify ever switched to replace
111
- * semantics).
112
- */
113
- removeShopifyCartAttributes() {
114
- var _a;
115
- // Per-merchant opt-in: skip entirely when useFSCartAttributes is not
116
- // set. Avoids any /cart/update.js POST for opted-out merchants whose
117
- // themes leak cart attributes into order notes.
118
- if (!((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.useFSCartAttributes)) {
119
- return Promise.resolve();
120
- }
121
- // Only for Shopify platform - remove FastSimon cart attributes if they exist
122
- return fetch('/cart.js')
123
- .then(res => {
124
- if (!res.ok) {
125
- console.error('[FastSimon] Failed to fetch cart:', res.status);
126
- return Promise.reject();
127
- }
128
- return res.json();
129
- })
130
- .then(cart => {
131
- const currentAttributes = cart.attributes || {};
132
- // Check if any FastSimon attributes exist
133
- const hasFastSimonAttributes = '__fs_cart_token' in currentAttributes ||
134
- 'fs_cart_token' in currentAttributes ||
135
- '__fs_session' in currentAttributes ||
136
- 'fs_session' in currentAttributes ||
137
- '__fs_st' in currentAttributes ||
138
- 'fs_st' in currentAttributes ||
139
- '__fs_products' in currentAttributes ||
140
- 'fs_products' in currentAttributes ||
141
- 'cart_token' in currentAttributes ||
142
- 'session' in currentAttributes;
143
- // If no FastSimon attributes found, nothing to do
144
- if (!hasFastSimonAttributes) {
145
- return Promise.resolve({ ok: true });
146
- }
147
- // To remove attributes in Shopify, set them to empty string
148
- const updatedAttributes = Object.assign(Object.assign({}, currentAttributes), { __fs_cart_token: '', __fs_session: '', __fs_st: '', __fs_products: '', fs_cart_token: '', fs_session: '', fs_st: '', fs_products: '', session: '', cart_token: '' });
149
- // Update cart to remove the attributes
150
- return fetch('/cart/update.js', {
151
- method: 'POST',
152
- headers: { 'Content-Type': 'application/json' },
153
- body: JSON.stringify({
154
- attributes: updatedAttributes
155
- })
156
- });
157
- })
158
- .then(res => {
159
- if (res && !res.ok) {
160
- const status = 'status' in res ? res === null || res === void 0 ? void 0 : res.status : 'unknown';
161
- console.error('[FastSimon] Failed to remove cart attributes:', status);
162
- return Promise.reject();
163
- }
164
- // Success - FastSimon attributes removed (or didn't exist)
165
- })
166
- .catch((error) => {
167
- // Silently fail - this is optional cleanup functionality
168
- if (error) {
169
- console.error('[FastSimon] Error removing cart attributes:', error);
170
- }
171
- });
172
- },
173
- report: (base) => {
174
- return Report(Object.assign(Object.assign({}, base), { site: true, params: {
175
- cart: 1
176
- } }));
177
- }
178
- };
179
- /* Each warning fires at most once per page load. resolveMerchantCartToken
180
- is called multiple times per page (init + every getBase + every
181
- refreshCartToken), so per-call warnings would spam DevTools when the
182
- merchant's callback is misconfigured. */
183
- let warnedNotFunction = false;
184
- let warnedThrew = false;
185
- let warnedNonString = false;
186
- let warnedEmpty = false;
187
- function resolveMerchantCartToken() {
188
- var _a;
189
- const fn = (_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.cartTokenProvider;
190
- /* not configured -- silent fall-through (default for every non-opted-in merchant) */
191
- if (fn === undefined || fn === null)
192
- return undefined;
193
- if (typeof fn !== 'function') {
194
- if (!warnedNotFunction) {
195
- warnedNotFunction = true;
196
- console.warn('[FastSimon] __fast_options.cartTokenProvider is set but is not a function; ignoring.');
197
- }
198
- return undefined;
199
- }
200
- let value;
201
- try {
202
- value = fn();
203
- }
204
- catch (err) {
205
- if (!warnedThrew) {
206
- warnedThrew = true;
207
- console.warn('[FastSimon] __fast_options.cartTokenProvider threw:', err);
208
- }
209
- return undefined;
210
- }
211
- /* null/undefined is a legitimate "no token right now, fall back" signal */
212
- if (value === undefined || value === null)
213
- return undefined;
214
- if (typeof value !== 'string') {
215
- if (!warnedNonString) {
216
- warnedNonString = true;
217
- console.warn('[FastSimon] __fast_options.cartTokenProvider returned a non-string value; ignoring. Got:', value);
218
- }
219
- return undefined;
220
- }
221
- const trimmed = value.trim();
222
- if (!trimmed || trimmed === 'null' || trimmed === 'undefined') {
223
- if (!warnedEmpty) {
224
- warnedEmpty = true;
225
- console.warn('[FastSimon] __fast_options.cartTokenProvider returned an empty or invalid token; ignoring.');
226
- }
227
- return undefined;
228
- }
229
- return trimmed;
230
- }
231
- function localStorageGetter(key) {
232
- const data = localStorage.getItem(key);
233
- if (!data || !data.trim() || data === "null" || data === "undefined") {
234
- return null;
235
- }
236
- return data;
237
- }
238
- function cookiesGetter(cookies, key) {
239
- if (!(cookies.has(key))) {
240
- return null;
241
- }
242
- const data = cookies.get(key);
243
- if (!data || !data.trim() || data === "null" || data === "undefined") {
244
- return null;
245
- }
246
- return data;
247
- }
248
- let bigcommerceCartFetched = false;
249
- function setBigcommerceCartToken() {
250
- if (bigcommerceCartFetched) {
251
- return;
252
- }
253
- API.get({
254
- url: location.origin + "/api/storefront/cart"
255
- }).then(r => {
256
- localStorage.setItem('__isp_cart', r[0].id);
257
- bigcommerceCartFetched = true;
258
- }).catch(e => {
259
- bigcommerceCartFetched = true;
260
- });
261
- }
262
- function getMagentoCartToken() {
263
- var _a;
264
- let token = "";
265
- const params = getScriptParamsByURL();
266
- if (params && "QuoteID" in params && params["QuoteID"]) {
267
- token = params["QuoteID"];
268
- }
269
- else if (typeof acp_magento_qvars !== "undefined" && typeof acp_magento_qvars.QuoteID !== "undefined") {
270
- token = acp_magento_qvars.QuoteID;
271
- }
272
- else if (typeof checkout !== "undefined" && ((_a = window.checkout) === null || _a === void 0 ? void 0 : _a.QuoteID)) {
273
- token = checkout.QuoteID;
274
- }
275
- else if (typeof isp_quote_id !== "undefined") {
276
- token = isp_quote_id;
277
- }
278
- else {
279
- let tokenViaLocalStorage = null;
280
- try {
281
- tokenViaLocalStorage = getMagentoCartTokenViaLocalStorage();
282
- }
283
- catch (e) { }
284
- if (tokenViaLocalStorage) {
285
- token = tokenViaLocalStorage;
286
- }
287
- }
288
- if (token) {
289
- localStorage.setItem(SERP_CART_TOKEN_LS, token);
290
- return token;
291
- }
292
- return "";
293
- }
294
- function getWooCommerceCartToken() {
295
- const params = getScriptParamsByURL();
296
- if (params && "cart_token" in params && params["cart_token"]) {
297
- localStorage.setItem(SERP_CART_TOKEN_LS, params["cart_token"]);
298
- return params["cart_token"];
299
- }
300
- return "";
301
- }
302
- export function getMagentoCartTokenViaLocalStorage() {
303
- const out = {
304
- maskedQuoteId: null,
305
- sources: []
306
- };
307
- try {
308
- const ls = JSON.parse(localStorage.getItem('mage-cache-storage') || '{}');
309
- const cart = (ls.cart || {});
310
- const ck = (ls['checkout-data'] || {});
311
- if (ls['isp_config'] && ls['isp_config'].QuoteID) {
312
- out.maskedQuoteId = ls['isp_config'].QuoteID;
313
- }
314
- else {
315
- out.maskedQuoteId =
316
- cart.cartid ||
317
- cart.cartId ||
318
- cart.quote_id ||
319
- cart.quoteId ||
320
- ck.quote_id ||
321
- ck.quoteId ||
322
- null;
323
- }
324
- if (out.maskedQuoteId) {
325
- out.sources.push('localStorage:mage-cache-storage');
326
- }
327
- }
328
- catch (err) {
329
- }
330
- return out === null || out === void 0 ? void 0 : out.maskedQuoteId;
331
- }
332
- //# sourceMappingURL=cart.js.map