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.
- package/lib/sections/eventReporter/utils.js +47 -5
- package/lib/sections/eventReporter/utils.js.map +1 -1
- package/lib/services/delayedReports.d.ts +6 -0
- package/lib/services/delayedReports.js +87 -0
- package/lib/services/delayedReports.js.map +1 -0
- package/lib/services/reporting.d.ts +16 -0
- package/lib/services/reporting.js +37 -1
- package/lib/services/reporting.js.map +1 -1
- package/lib/utils/delayedReportEnrichment.d.ts +4 -0
- package/lib/utils/delayedReportEnrichment.js +96 -0
- package/lib/utils/delayedReportEnrichment.js.map +1 -0
- package/lib/utils/ensureReportingScript.d.ts +1 -1
- package/lib/utils/ensureReportingScript.js +14 -30
- package/lib/utils/ensureReportingScript.js.map +1 -1
- package/package.json +3 -7
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.d.ts +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/platfrom.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.d.ts +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/recommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.d.ts +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/reporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.d.ts +0 -138
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/serp.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.d.ts +0 -126
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/shopperAssistant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.d.ts +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/viewportImpressions.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.d.ts +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/@types/visualDiscovery.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.d.ts +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js +0 -241
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/FastSimonReporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/autocomplete/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.d.ts +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/delayedReport/delayedReport.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/navigate/navigate.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js +0 -54
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/recommendations/recommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.d.ts +0 -26
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js +0 -399
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/serp/serp.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/shopperAssistant/shopperAssistant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.d.ts +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js +0 -302
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/pdpSwatchSwitch.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.d.ts +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/swatchSwitch/standalone.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.d.ts +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js +0 -156
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/ViewportImpressionTracker.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js +0 -122
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/viewportImpressions/viewportImpressions.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.d.ts +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/lib/components/visualDiscovery/visualDiscovery.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.d.ts +0 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/global.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.d.ts +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js +0 -32
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/API.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.d.ts +0 -28
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js +0 -332
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/cart.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.d.ts +0 -33
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js +0 -171
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/offSiteRecommendations.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.d.ts +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/postLoad.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.d.ts +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js +0 -111
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/reporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.d.ts +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js +0 -72
- package/node_modules/@fast-simon/fast-simon-reporting/lib/services/thankYou.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ABTesting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.d.ts +0 -0
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/attentive.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/bloomreach.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/cookies.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/dotdigital.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.d.ts +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/ensureShopifyCartAttribute.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getCDNCacheKey.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getFastSimonReporting.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getGoogleAnalyticsParams.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getIdFromProductPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getScriptParamsByURL.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js +0 -48
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getSessionToken.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getShopifyVariant.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserLocation.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/getUserSession.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.d.ts +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/googleAnalytics.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.d.ts +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/intervalUntil.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js +0 -113
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/jqueryPageReport.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/klaviyo.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/promisify.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/requestDeduplication.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setPersonalizationSegment.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/setServingSegments.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js +0 -28
- package/node_modules/@fast-simon/fast-simon-reporting/lib/utils/updateRecentSearches.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.d.ts +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js +0 -94
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/FontCssExtractor.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/appendScript.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.d.ts +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js +0 -98
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/badges.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/bloomreach.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.d.ts +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js +0 -59
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/buildSuperAttributes.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.d.ts +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/cdnCacheKey.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/createElementWithProps.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/dotdigital.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.d.ts +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/fetchShopifyProductSecondImage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/generatedID.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCollectionId.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.d.ts +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getCustomerId.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getMediaQueries.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.d.ts +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js +0 -70
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getPricesByMarket.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getProductPageID.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getScriptParamsByURL.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/getSearchTerm.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCartPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isCheckoutPage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/isHomePage.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/referrerBasedAudiencesUtil.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js +0 -32
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/requirejs.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/shopifyMarkets.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/functions/textMatcher.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.d.ts +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/common/package.json +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.d.ts +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/autocomplete.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.d.ts +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/currency.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.d.ts +0 -142
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/dashboard.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/facet.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/fontFamily.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.d.ts +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/narrow.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/platform.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.d.ts +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/product.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.d.ts +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/promoTile.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.d.ts +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/search.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.d.ts +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/serverProduct.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.d.ts +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/smartCollections.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/sortBy.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.d.ts +0 -41
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/@types/upsell.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.d.ts +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/lib/main.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/@fast-simon/types/package.json +0 -33
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/README.md +0 -233
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/bench.js +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/index.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/abort.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/async.js +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/defer.js +0 -26
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/iterate.js +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/state.js +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/streamify.js +0 -141
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/lib/terminator.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/package.json +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/parallel.js +0 -43
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serial.js +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/serialOrdered.js +0 -75
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/asynckit/stream.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/CHANGELOG.md +0 -1014
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/LICENSE +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/README.md +0 -1182
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/SECURITY.md +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/UPGRADE_GUIDE.md +0 -169
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/check-build-version.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/bin/ssl_hotfix.js +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js +0 -2377
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js +0 -2369
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.d.ts +0 -340
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/index.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/README.md +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/http.js +0 -463
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/adapters/xhr.js +0 -226
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/axios.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CancelToken.js +0 -118
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/CanceledError.js +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/Axios.js +0 -172
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/AxiosError.js +0 -97
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/InterceptorManager.js +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/buildFullPath.js +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/dispatchRequest.js +0 -94
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/mergeConfig.js +0 -103
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/settle.js +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/core/transformData.js +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/index.js +0 -175
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/defaults/transitional.js +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/classes/FormData.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/env/data.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/bind.js +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/buildURL.js +0 -55
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/combineURLs.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/cookies.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/formDataToJSON.js +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/fromDataURI.js +0 -51
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isAxiosError.js +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/null.js +0 -2
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseHeaders.js +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/spread.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toFormData.js +0 -179
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/helpers/validator.js +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/browser/index.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/index.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/platform/node/index.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/lib/utils.js +0 -522
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/package.json +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/rollup.config.js +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tsconfig.json +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/axios/tslint.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/Readme.md +0 -138
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/combined-stream/package.json +0 -25
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/.npmignore +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Makefile +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/Readme.md +0 -141
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/delayed-stream/package.json +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/get.js +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/package.json +0 -76
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/set.js +0 -35
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/README.md +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/index.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/package.json +0 -81
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/README.md +0 -55
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/eval.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/package.json +0 -80
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/range.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/ref.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/type.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-errors/uri.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/CHANGELOG.md +0 -37
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/ToObject.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/index.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/isObject.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/package.json +0 -80
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-object-atoms/tsconfig.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.eslintrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/README.md +0 -53
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.d.ts +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/index.js +0 -35
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/package.json +0 -78
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/test/index.js +0 -85
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/es-set-tostringtag/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/LICENSE +0 -18
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/README.md +0 -155
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/debug.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/http.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/https.js +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/index.js +0 -686
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/follow-redirects/package.json +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/CHANGELOG.md +0 -686
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/License +0 -19
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/README.md +0 -355
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/index.d.ts +0 -62
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/browser.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/form_data.js +0 -506
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/lib/populate.js +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/form-data/package.json +0 -82
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/index.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/package.json +0 -87
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.eslintrc +0 -38
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/CHANGELOG.md +0 -178
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/index.js +0 -377
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/package.json +0 -97
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/README.md +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/index.js +0 -27
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/package.json +0 -81
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/README.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/gOPD.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/index.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/package.json +0 -77
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/test/index.js +0 -36
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/index.js +0 -14
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/package.json +0 -111
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/shams.js +0 -45
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.eslintrc +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/CHANGELOG.md +0 -42
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/README.md +0 -46
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/index.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/package.json +0 -108
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/shams.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/index.js +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/test/tests.js +0 -15
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/has-tostringtag/tsconfig.json +0 -49
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/.nycrc +0 -13
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/CHANGELOG.md +0 -58
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/README.md +0 -40
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/eslint.config.mjs +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/index.js +0 -8
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/package.json +0 -91
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/LICENSE +0 -21
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/abs.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/floor.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isFinite.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isInteger.js +0 -16
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNaN.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/max.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/min.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/mod.js +0 -9
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/package.json +0 -86
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/pow.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/round.js +0 -4
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/sign.js +0 -11
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/HISTORY.md +0 -507
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/README.md +0 -100
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/db.json +0 -8519
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/index.js +0 -12
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-db/package.json +0 -60
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/HISTORY.md +0 -397
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/README.md +0 -113
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/index.js +0 -188
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/mime-types/package.json +0 -44
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.eslintrc +0 -29
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/.travis.yml +0 -10
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/LICENSE +0 -20
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/README.md +0 -131
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/index.js +0 -108
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/package.json +0 -34
- package/node_modules/@fast-simon/fast-simon-reporting/node_modules/proxy-from-env/test.js +0 -483
- package/node_modules/@fast-simon/fast-simon-reporting/package.json +0 -39
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
import { Report, ReportingUpType } from "../../services/reporting";
|
|
2
|
-
import { DelayedReport, getDelayedKey } from "../delayedReport/delayedReport";
|
|
3
|
-
import { googleTagManager } from "../../utils/googleAnalytics";
|
|
4
|
-
import promisify from "../../utils/promisify";
|
|
5
|
-
export const PRODUCT_FROM_SEARCH = "product-seen-from-search";
|
|
6
|
-
export const PRODUCT_FROM_CATEGORY = "product-seen-from-category";
|
|
7
|
-
export const PRODUCT_FROM_LANDING_PAGE = "product-seen-from-landing-page";
|
|
8
|
-
export function hasSvelteSERPDelayedReport() {
|
|
9
|
-
return getDelayedKey(PRODUCT_FROM_SEARCH) in localStorage || getDelayedKey(PRODUCT_FROM_CATEGORY) in localStorage || getDelayedKey(PRODUCT_FROM_LANDING_PAGE) in localStorage;
|
|
10
|
-
}
|
|
11
|
-
export function reformtNarrowForGA(narrow_by_filters) {
|
|
12
|
-
const parsed = JSON.parse(narrow_by_filters);
|
|
13
|
-
const reformatted = {};
|
|
14
|
-
parsed.forEach(([key, values]) => {
|
|
15
|
-
reformatted[key] = values.join(',');
|
|
16
|
-
});
|
|
17
|
-
return reformatted;
|
|
18
|
-
}
|
|
19
|
-
export function reformtSortByForGA(sort_by) {
|
|
20
|
-
switch (sort_by) {
|
|
21
|
-
case 'price_min_to_max':
|
|
22
|
-
return 'Price Low To High';
|
|
23
|
-
case 'price_max_to_min':
|
|
24
|
-
return 'Price High To Low';
|
|
25
|
-
case 'creation_date':
|
|
26
|
-
return 'Newest To Oldest';
|
|
27
|
-
case 'creation_date_oldest':
|
|
28
|
-
return 'Oldest To Newest';
|
|
29
|
-
case 'popularity':
|
|
30
|
-
return 'Popularity';
|
|
31
|
-
case 'reviews':
|
|
32
|
-
return 'Ranking';
|
|
33
|
-
case 'a_to_z':
|
|
34
|
-
return 'Name A-Z';
|
|
35
|
-
case 'z_to_a':
|
|
36
|
-
return 'Name Z-A';
|
|
37
|
-
case 'relevency':
|
|
38
|
-
return 'Relevance';
|
|
39
|
-
case 'relevance':
|
|
40
|
-
return 'Relevance';
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export const Serp = (getBase) => ({
|
|
44
|
-
reportSearchPreformed: (props, src) => {
|
|
45
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
46
|
-
const isNoResults = props === null || props === void 0 ? void 0 : props.no_results;
|
|
47
|
-
const landingPage = props === null || props === void 0 ? void 0 : props.landing_page;
|
|
48
|
-
let gtagHasNarrow = null;
|
|
49
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_has_narrow) {
|
|
50
|
-
gtagHasNarrow = props.gtag_has_narrow;
|
|
51
|
-
delete props.gtag_has_narrow;
|
|
52
|
-
}
|
|
53
|
-
if ((props === null || props === void 0 ? void 0 : props.original_search_query) && src === "v-next-ssr") {
|
|
54
|
-
googleTagManager("event", "view_search_results", {
|
|
55
|
-
page: {
|
|
56
|
-
searchTerm: props === null || props === void 0 ? void 0 : props.original_search_query,
|
|
57
|
-
searchResults: props === null || props === void 0 ? void 0 : props.rescount
|
|
58
|
-
}
|
|
59
|
-
}, src);
|
|
60
|
-
}
|
|
61
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
62
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultViewItemListEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultViewItemListEvent) === true)) {
|
|
63
|
-
googleTagManager('event', 'view_item_list', Object.assign(Object.assign({ items: props.gtag_product_items }, (gtagHasNarrow ? { category: 'filter' } : {})), (props.narrow_by_filters || props.sort_by ? {
|
|
64
|
-
state: {
|
|
65
|
-
filters: props.narrow_by_filters ? reformtNarrowForGA(props.narrow_by_filters) : {},
|
|
66
|
-
orderBy: props.sort_by ? reformtSortByForGA(props.sort_by) : ''
|
|
67
|
-
}
|
|
68
|
-
} : {})), src);
|
|
69
|
-
}
|
|
70
|
-
try {
|
|
71
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.viewItemListCallback) === "function") {
|
|
72
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.viewItemListCallback) === null || _e === void 0 ? void 0 : _e.call(_d, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: 'filter' } : {})));
|
|
73
|
-
}
|
|
74
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.viewItemListCallback) === "function") {
|
|
75
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.viewItemListCallback) === null || _h === void 0 ? void 0 : _h.call(_g, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: 'filter' } : {})));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e) {
|
|
79
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in viewItemListCallback Method`, "font-weight: bold; font-size: 12px; color: red");
|
|
80
|
-
}
|
|
81
|
-
delete props.gtag_product_items;
|
|
82
|
-
}
|
|
83
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_promotions) {
|
|
84
|
-
if (!(((_j = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _j === void 0 ? void 0 : _j.avoidDefaultViewItemListEvent) === true) && !(((_k = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _k === void 0 ? void 0 : _k.avoidDefaultViewItemListEvent) === true)) {
|
|
85
|
-
googleTagManager('event', 'view_promotions', { items: props.gtag_product_promotions }, src);
|
|
86
|
-
}
|
|
87
|
-
delete props.gtag_product_promotions;
|
|
88
|
-
}
|
|
89
|
-
if (typeof (props === null || props === void 0 ? void 0 : props.no_results) !== 'undefined') {
|
|
90
|
-
delete props.no_results;
|
|
91
|
-
}
|
|
92
|
-
if (typeof (props === null || props === void 0 ? void 0 : props.landing_page) !== 'undefined') {
|
|
93
|
-
delete props.landing_page;
|
|
94
|
-
}
|
|
95
|
-
if (window === null || window === void 0 ? void 0 : window.fsPageViewedReportFired) {
|
|
96
|
-
window.fsPageViewedReportFired = false;
|
|
97
|
-
return Promise.resolve();
|
|
98
|
-
}
|
|
99
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: isNoResults ? ReportingUpType.searchPreformedNoResults
|
|
100
|
-
: landingPage ? ReportingUpType.landingPageSeen
|
|
101
|
-
: ReportingUpType.searchPreformed, params: props }));
|
|
102
|
-
},
|
|
103
|
-
reportSmartNavigationPreformed: (props, src) => {
|
|
104
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
105
|
-
let gtagHasNarrow = null;
|
|
106
|
-
let fromTurbolink = false;
|
|
107
|
-
let turbolinkSource = null;
|
|
108
|
-
let turbolinkTimestamp = null;
|
|
109
|
-
const MAX_TURBOLINK_STORAGE_AGE_MS = 5 * 60 * 1000; // 5 minutes - prevent stale data usage
|
|
110
|
-
// Helper function to clear turbolink data from localStorage
|
|
111
|
-
const clearTurbolinkData = () => {
|
|
112
|
-
try {
|
|
113
|
-
localStorage.removeItem("collectionClickedFromTurboLink");
|
|
114
|
-
localStorage.removeItem("collectionClickedFromTurboLink-Search-Query");
|
|
115
|
-
localStorage.removeItem("collectionClickedFromTurboLink-Timestamp");
|
|
116
|
-
localStorage.removeItem("collectionClickedFromTurboLink-Source");
|
|
117
|
-
}
|
|
118
|
-
catch (e) {
|
|
119
|
-
console.warn("Failed to clear turbolink data from localStorage:", e);
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
let baseURLparts = (_c = (_b = (_a = window === null || window === void 0 ? void 0 : window.location) === null || _a === void 0 ? void 0 : _a.href) === null || _b === void 0 ? void 0 : _b.split) === null || _c === void 0 ? void 0 : _c.call(_b, "?");
|
|
123
|
-
if (baseURLparts.length > 0) {
|
|
124
|
-
let baseURL = baseURLparts === null || baseURLparts === void 0 ? void 0 : baseURLparts[0];
|
|
125
|
-
// Extract just the pathname for comparison (without protocol, domain, or query params)
|
|
126
|
-
const currentPathname = window.location.pathname;
|
|
127
|
-
const storedTurbolinkPath = localStorage.getItem("collectionClickedFromTurboLink");
|
|
128
|
-
if (localStorage.getItem("collectionClickedFromTurboLink") && localStorage.getItem("collectionClickedFromTurboLink") == baseURL && localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) {
|
|
129
|
-
}
|
|
130
|
-
else if (storedTurbolinkPath && currentPathname && storedTurbolinkPath === currentPathname && localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) {
|
|
131
|
-
// Validate timestamp is recent to prevent using stale data
|
|
132
|
-
const storedTimestamp = parseInt(localStorage.getItem("collectionClickedFromTurboLink-Timestamp") || "0", 10);
|
|
133
|
-
const now = Date.now();
|
|
134
|
-
if (now - storedTimestamp <= MAX_TURBOLINK_STORAGE_AGE_MS) {
|
|
135
|
-
fromTurbolink = true;
|
|
136
|
-
props.original_search_query = (_d = localStorage.getItem("collectionClickedFromTurboLink-Search-Query")) !== null && _d !== void 0 ? _d : undefined;
|
|
137
|
-
turbolinkTimestamp = localStorage.getItem("collectionClickedFromTurboLink-Timestamp");
|
|
138
|
-
turbolinkSource = localStorage.getItem("collectionClickedFromTurboLink-Source");
|
|
139
|
-
}
|
|
140
|
-
// Note: localStorage cleanup moved to after the report is sent
|
|
141
|
-
}
|
|
142
|
-
else if (localStorage.getItem("collectionClickedFromTurboLink")) {
|
|
143
|
-
// Note: localStorage cleanup moved to after the report is sent
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_has_narrow) {
|
|
147
|
-
gtagHasNarrow = props.gtag_has_narrow;
|
|
148
|
-
delete props.gtag_has_narrow;
|
|
149
|
-
}
|
|
150
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
151
|
-
if (!(((_e = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _e === void 0 ? void 0 : _e.avoidDefaultViewItemListEvent) === true) && !(((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.avoidDefaultViewItemListEvent) === true)) {
|
|
152
|
-
googleTagManager('event', 'view_item_list', Object.assign(Object.assign({ items: props.gtag_product_items }, (gtagHasNarrow ? { category: 'filter' } : {})), (props.narrow_by_filters || props.sort_by ? {
|
|
153
|
-
state: {
|
|
154
|
-
filters: props.narrow_by_filters ? reformtNarrowForGA(props.narrow_by_filters) : {},
|
|
155
|
-
orderBy: props.sort_by ? reformtSortByForGA(props.sort_by) : ''
|
|
156
|
-
}
|
|
157
|
-
} : {})), src);
|
|
158
|
-
}
|
|
159
|
-
try {
|
|
160
|
-
if (typeof ((_g = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _g === void 0 ? void 0 : _g.viewItemListCallback) === "function") {
|
|
161
|
-
(_j = (_h = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _h === void 0 ? void 0 : _h.viewItemListCallback) === null || _j === void 0 ? void 0 : _j.call(_h, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: "filter" } : {})));
|
|
162
|
-
}
|
|
163
|
-
else if (typeof ((_k = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _k === void 0 ? void 0 : _k.viewItemListCallback) === "function") {
|
|
164
|
-
(_m = (_l = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _l === void 0 ? void 0 : _l.viewItemListCallback) === null || _m === void 0 ? void 0 : _m.call(_l, Object.assign({ items: props.gtag_product_items, promotions: props.gtag_product_promotions }, (gtagHasNarrow ? { category: "filter" } : {})));
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
catch (e) {
|
|
168
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in viewItemListCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
169
|
-
}
|
|
170
|
-
delete props.gtag_product_items;
|
|
171
|
-
}
|
|
172
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_promotions) {
|
|
173
|
-
if (!(((_o = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _o === void 0 ? void 0 : _o.avoidDefaultViewItemListEvent) === true) && !(((_p = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _p === void 0 ? void 0 : _p.avoidDefaultViewItemListEvent) === true)) {
|
|
174
|
-
googleTagManager('event', 'view_promotions', { items: props.gtag_product_promotions }, src);
|
|
175
|
-
}
|
|
176
|
-
delete props.gtag_product_promotions;
|
|
177
|
-
}
|
|
178
|
-
if (window === null || window === void 0 ? void 0 : window.fsPageViewedReportFired) {
|
|
179
|
-
window.fsPageViewedReportFired = false;
|
|
180
|
-
return Promise.resolve();
|
|
181
|
-
}
|
|
182
|
-
// Send the report and clear turbolink data after report is sent
|
|
183
|
-
const reportPromise = Report(Object.assign(Object.assign({}, getBase()), { upType: fromTurbolink ? ReportingUpType.collectionPreformedFromTurbolink : ReportingUpType.collectionPreformed, params: props }));
|
|
184
|
-
// Clear turbolink data from localStorage after report is sent (parallel execution)
|
|
185
|
-
reportPromise.finally(() => {
|
|
186
|
-
clearTurbolinkData();
|
|
187
|
-
});
|
|
188
|
-
return reportPromise;
|
|
189
|
-
},
|
|
190
|
-
productClickedFromSearch: (props, src) => {
|
|
191
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
192
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
193
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
194
|
-
googleTagManager('event', 'select_item', { items: props.gtag_product_items }, src);
|
|
195
|
-
}
|
|
196
|
-
try {
|
|
197
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
198
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
199
|
-
}
|
|
200
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
201
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
catch (e) {
|
|
205
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
206
|
-
}
|
|
207
|
-
delete props.gtag_product_items;
|
|
208
|
-
}
|
|
209
|
-
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_SEARCH, params: props }));
|
|
210
|
-
},
|
|
211
|
-
productClickedFromSmartNavigation: (props, src) => {
|
|
212
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
213
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
214
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
215
|
-
googleTagManager('event', 'select_item', { items: props.gtag_product_items }, src);
|
|
216
|
-
}
|
|
217
|
-
try {
|
|
218
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
219
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
220
|
-
}
|
|
221
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
222
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
catch (e) {
|
|
226
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
227
|
-
}
|
|
228
|
-
delete props.gtag_product_items;
|
|
229
|
-
}
|
|
230
|
-
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_CATEGORY, params: props }));
|
|
231
|
-
},
|
|
232
|
-
productClickedFromLandingPage: (props) => {
|
|
233
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
234
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
235
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
236
|
-
googleTagManager('event', 'select_item', { items: props.gtag_product_items });
|
|
237
|
-
}
|
|
238
|
-
try {
|
|
239
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
240
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
241
|
-
}
|
|
242
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
243
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
catch (e) {
|
|
247
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
248
|
-
}
|
|
249
|
-
delete props.gtag_product_items;
|
|
250
|
-
}
|
|
251
|
-
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_LANDING_PAGE, upType: ReportingUpType.landingPageSeen, params: props }));
|
|
252
|
-
},
|
|
253
|
-
quickViewUsedFromSearch: (props) => {
|
|
254
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedQuickView, params: props }));
|
|
255
|
-
},
|
|
256
|
-
quickViewUsedFromSmartNavigation: (props) => {
|
|
257
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedQuickView, params: props }));
|
|
258
|
-
},
|
|
259
|
-
LookALikeUsedFromSearch: (props) => {
|
|
260
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedLookALike, params: props }));
|
|
261
|
-
},
|
|
262
|
-
LookALikeUsedFromSmartNavigation: (props) => {
|
|
263
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.popUpUsedLookALike, params: props }));
|
|
264
|
-
},
|
|
265
|
-
reportProductAddedToCart: (props) => {
|
|
266
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
267
|
-
props['cart'] = 1;
|
|
268
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
269
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultAddToCartEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultAddToCartEvent) === true)) {
|
|
270
|
-
googleTagManager('event', 'add_to_cart', { items: props.gtag_product_items });
|
|
271
|
-
}
|
|
272
|
-
try {
|
|
273
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.addToCartCallback) === "function") {
|
|
274
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.addToCartCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
275
|
-
}
|
|
276
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.addToCartCallback) === "function") {
|
|
277
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.addToCartCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
catch (e) {
|
|
281
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in addToCartCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
282
|
-
}
|
|
283
|
-
delete props.gtag_product_items;
|
|
284
|
-
}
|
|
285
|
-
// Track this post_load request for debouncing in web pixels
|
|
286
|
-
trackPostLoadRequest(props);
|
|
287
|
-
return Report(Object.assign(Object.assign({}, getBase()), { params: props }));
|
|
288
|
-
},
|
|
289
|
-
productHover: (props) => {
|
|
290
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.hoverOnProduct, params: props }));
|
|
291
|
-
},
|
|
292
|
-
variantHover: (props) => {
|
|
293
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.hoverOnProductVariant, params: props }));
|
|
294
|
-
},
|
|
295
|
-
// Sibling swatch attribution (#12003): a grid tile was swatched from sibling
|
|
296
|
-
// X (`from_product`) to sibling Y (`id`). Immediate Report (not DelayedReport):
|
|
297
|
-
// the tile swaps in place, no navigation. `from_product` rides the wire, and
|
|
298
|
-
// `Report` sends prev_up_type = 58. The caller must gate this to a genuine
|
|
299
|
-
// cross-product color click (see serving Product.svelte onSwatchClick guards).
|
|
300
|
-
productSwatchSwitch: (props) => {
|
|
301
|
-
return Report(Object.assign(Object.assign({}, getBase()), { upType: ReportingUpType.swatchSwitch, params: props }));
|
|
302
|
-
},
|
|
303
|
-
promoTileClickedFromSearch: (props, src) => {
|
|
304
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
305
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
306
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectPromotionEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectPromotionEvent) === true)) {
|
|
307
|
-
googleTagManager('event', 'select_promotion', { items: props.gtag_product_items }, src);
|
|
308
|
-
}
|
|
309
|
-
try {
|
|
310
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectPromotionCallback) === "function") {
|
|
311
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectPromotionCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
312
|
-
}
|
|
313
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectPromotionCallback) === "function") {
|
|
314
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectPromotionCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
catch (e) {
|
|
318
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in selectPromotionCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
319
|
-
}
|
|
320
|
-
delete props.gtag_product_items;
|
|
321
|
-
}
|
|
322
|
-
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_SEARCH, params: props, upType: ReportingUpType.promoTileClicked }));
|
|
323
|
-
},
|
|
324
|
-
promoTileClickedFromSmartNavigation: (props, src) => {
|
|
325
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
326
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
327
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectPromotionEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectPromotionEvent) === true)) {
|
|
328
|
-
googleTagManager('event', 'select_promotion', { items: props.gtag_product_items }, src);
|
|
329
|
-
}
|
|
330
|
-
try {
|
|
331
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectPromotionCallback) === "function") {
|
|
332
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectPromotionCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
333
|
-
}
|
|
334
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectPromotionCallback) === "function") {
|
|
335
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectPromotionCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
catch (e) {
|
|
339
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in selectPromotionCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
340
|
-
}
|
|
341
|
-
delete props.gtag_product_items;
|
|
342
|
-
}
|
|
343
|
-
return DelayedReport(Object.assign(Object.assign({}, getBase()), { prefix: PRODUCT_FROM_CATEGORY, params: props, upType: ReportingUpType.promoTileClicked }));
|
|
344
|
-
},
|
|
345
|
-
reportSearchPageViewed: (props, src) => {
|
|
346
|
-
if (props === null || props === void 0 ? void 0 : props.query) {
|
|
347
|
-
googleTagManager("event", "view_search_results", {
|
|
348
|
-
page: {
|
|
349
|
-
searchTerm: props === null || props === void 0 ? void 0 : props.query,
|
|
350
|
-
searchResults: props === null || props === void 0 ? void 0 : props.totalResults
|
|
351
|
-
}
|
|
352
|
-
}, src);
|
|
353
|
-
}
|
|
354
|
-
return promisify(() => true);
|
|
355
|
-
}
|
|
356
|
-
});
|
|
357
|
-
/**
|
|
358
|
-
* Tracks post_load requests for debouncing in web pixels
|
|
359
|
-
* Saves to localStorage for web pixels to check before sending duplicate requests
|
|
360
|
-
*/
|
|
361
|
-
function trackPostLoadRequest(props) {
|
|
362
|
-
const LS_KEY = "FS_ANALYTICS_post_load_tracked";
|
|
363
|
-
const DEBOUNCE_WINDOW_MS = 2000; // 2 second debounce window
|
|
364
|
-
try {
|
|
365
|
-
const productId = props === null || props === void 0 ? void 0 : props.cart_product;
|
|
366
|
-
if (!productId) {
|
|
367
|
-
return; // Skip tracking if no product ID
|
|
368
|
-
}
|
|
369
|
-
const now = Date.now();
|
|
370
|
-
let trackedRequests = [];
|
|
371
|
-
// Get existing tracked requests
|
|
372
|
-
const stored = localStorage.getItem(LS_KEY);
|
|
373
|
-
if (stored) {
|
|
374
|
-
try {
|
|
375
|
-
trackedRequests = JSON.parse(stored);
|
|
376
|
-
if (!Array.isArray(trackedRequests)) {
|
|
377
|
-
trackedRequests = [];
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
catch (e) {
|
|
381
|
-
// If parse fails, reset the array
|
|
382
|
-
trackedRequests = [];
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
// Remove old entries (older than debounce window)
|
|
386
|
-
trackedRequests = trackedRequests.filter(entry => now - entry.timestamp < DEBOUNCE_WINDOW_MS);
|
|
387
|
-
// Add the new request
|
|
388
|
-
trackedRequests.push({
|
|
389
|
-
productId: productId,
|
|
390
|
-
timestamp: now
|
|
391
|
-
});
|
|
392
|
-
// Save back to localStorage
|
|
393
|
-
localStorage.setItem(LS_KEY, JSON.stringify(trackedRequests));
|
|
394
|
-
}
|
|
395
|
-
catch (error) {
|
|
396
|
-
console.log(`%c⚠️ Fast Simon Reporting Warning | Error tracking post_load request`, "font-weight: bold; font-size: 12px; color: orange");
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
//# sourceMappingURL=serp.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serp.js","sourceRoot":"","sources":["../../../src/components/serp/serp.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AAejE,OAAO,EAAC,aAAa,EAAE,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC5E,OAAO,EAAC,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAC7D,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAG9C,MAAM,CAAC,MAAM,mBAAmB,GAAG,0BAA0B,CAAA;AAC7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,4BAA4B,CAAA;AACjE,MAAM,CAAC,MAAM,yBAAyB,GAAG,gCAAgC,CAAA;AAEzE,MAAM,UAAU,0BAA0B;IACtC,OAAO,aAAa,CAAC,mBAAmB,CAAC,IAAI,YAAY,IAA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;gBACR,kCAAkC;gBAClC,eAAe,GAAG,EAAE,CAAC;aACxB;SACJ;QAED,kDAAkD;QAClD,eAAe,GAAG,eAAe,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,GAAG,KAAK,CAAC,SAAS,GAAG,kBAAkB,CAAC,CAAC;QAE9F,sBAAsB;QACtB,eAAe,CAAC,IAAI,CAAC;YACjB,SAAS,EAAE,SAAS;YACpB,SAAS,EAAE,GAAG;SACjB,CAAC,CAAC;QAEH,4BAA4B;QAC5B,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC;KACjE;IAAC,OAAO,KAAK,EAAE;QACZ,OAAO,CAAC,GAAG,CAAC,sEAAsE,EAAE,mDAAmD,CAAC,CAAC;KAC5I;AACL,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReportBaseProps } from "../../@types/reporting";
|
|
2
|
-
import { ReportChatSuggestedProducts, ReportChatSessionStarted, ReportChatSessionEnded, ReportAssistantProductClicked, ReportAssistantProductAddedToCart, ReportHintShown, ReportHintClicked, ReportHintDismissed } from "../../@types/shopperAssistant";
|
|
3
|
-
export declare const PRODUCT_FROM_ASSISTANT = "product-seen-from-assistant";
|
|
4
|
-
export declare const ShopperAssistant: (getBase: () => ReportBaseProps) => {
|
|
5
|
-
reportChatSessionStarted: (props: ReportChatSessionStarted) => Promise<any>;
|
|
6
|
-
reportChatSessionEnded: (props: ReportChatSessionEnded) => Promise<any>;
|
|
7
|
-
reportChatResults: (props: ReportChatSuggestedProducts) => Promise<any>;
|
|
8
|
-
reportProductAddedToCart: (props: ReportAssistantProductAddedToCart) => Promise<any>;
|
|
9
|
-
reportProductClicked: (props: ReportAssistantProductClicked) => Promise<boolean>;
|
|
10
|
-
reportHintShown: (props: ReportHintShown) => Promise<any>;
|
|
11
|
-
reportHintClicked: (props: ReportHintClicked) => Promise<any>;
|
|
12
|
-
reportHintDismissed: (props: ReportHintDismissed) => Promise<any>;
|
|
13
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { Report, ReportingEndpoint, ReportingUpType } from "../../services/reporting";
|
|
2
|
-
import { DelayedReport } from "../delayedReport/delayedReport";
|
|
3
|
-
import { googleTagManager } from "../../utils/googleAnalytics";
|
|
4
|
-
export const PRODUCT_FROM_ASSISTANT = "product-seen-from-assistant";
|
|
5
|
-
export const ShopperAssistant = (getBase) => ({
|
|
6
|
-
reportChatSessionStarted: (props) => {
|
|
7
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
8
|
-
// Forward a custom "assistant opened" event to the merchant's own GA4/GTM.
|
|
9
|
-
// GA4 has no standard event for this, so we use a namespaced custom event.
|
|
10
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultShopperAssistantOpenEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultShopperAssistantOpenEvent) === true)) {
|
|
11
|
-
googleTagManager('event', 'shopper_assistant_open', { ref: props.ref });
|
|
12
|
-
}
|
|
13
|
-
try {
|
|
14
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.shopperAssistantOpenCallback) === "function") {
|
|
15
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.shopperAssistantOpenCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { ref: props.ref });
|
|
16
|
-
}
|
|
17
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.shopperAssistantOpenCallback) === "function") {
|
|
18
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.shopperAssistantOpenCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { ref: props.ref });
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
catch (e) {
|
|
22
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in shopperAssistantOpenCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
23
|
-
}
|
|
24
|
-
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatSessionStarted }, getBase()), { params: props }));
|
|
25
|
-
},
|
|
26
|
-
reportChatSessionEnded: (props) => {
|
|
27
|
-
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatSessionEnded }, getBase()), { params: props }));
|
|
28
|
-
},
|
|
29
|
-
reportChatResults: (props) => {
|
|
30
|
-
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantChatResults }, getBase()), { params: props }));
|
|
31
|
-
},
|
|
32
|
-
reportProductAddedToCart: (props) => {
|
|
33
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
34
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
35
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultAddToCartEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultAddToCartEvent) === true)) {
|
|
36
|
-
googleTagManager('event', 'add_to_cart', { items: props.gtag_product_items });
|
|
37
|
-
}
|
|
38
|
-
try {
|
|
39
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.addToCartCallback) === "function") {
|
|
40
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.addToCartCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
41
|
-
}
|
|
42
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.addToCartCallback) === "function") {
|
|
43
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.addToCartCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
catch (e) {
|
|
47
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in addToCartCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
48
|
-
}
|
|
49
|
-
delete props.gtag_product_items;
|
|
50
|
-
}
|
|
51
|
-
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantProductAddedToCartAttributed }, getBase()), { params: props }));
|
|
52
|
-
},
|
|
53
|
-
reportProductClicked: (props) => {
|
|
54
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
55
|
-
if (props === null || props === void 0 ? void 0 : props.gtag_product_items) {
|
|
56
|
-
if (!(((_a = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _a === void 0 ? void 0 : _a.avoidDefaultSelectItemEvent) === true) && !(((_b = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _b === void 0 ? void 0 : _b.avoidDefaultSelectItemEvent) === true)) {
|
|
57
|
-
googleTagManager('event', 'select_item', { items: props.gtag_product_items });
|
|
58
|
-
}
|
|
59
|
-
try {
|
|
60
|
-
if (typeof ((_c = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _c === void 0 ? void 0 : _c.selectItemCallback) === "function") {
|
|
61
|
-
(_e = (_d = window === null || window === void 0 ? void 0 : window.__fast_options) === null || _d === void 0 ? void 0 : _d.selectItemCallback) === null || _e === void 0 ? void 0 : _e.call(_d, { items: props.gtag_product_items });
|
|
62
|
-
}
|
|
63
|
-
else if (typeof ((_f = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _f === void 0 ? void 0 : _f.selectItemCallback) === "function") {
|
|
64
|
-
(_h = (_g = window === null || window === void 0 ? void 0 : window.__fastOptions) === null || _g === void 0 ? void 0 : _g.selectItemCallback) === null || _h === void 0 ? void 0 : _h.call(_g, { items: props.gtag_product_items });
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
catch (e) {
|
|
68
|
-
console.log(`%c❌ Fast Simon Reporting Error | Error in selectItemCallback Method`, 'font-weight: bold; font-size: 12px; color: red');
|
|
69
|
-
}
|
|
70
|
-
delete props.gtag_product_items;
|
|
71
|
-
}
|
|
72
|
-
return DelayedReport(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantProductClickedAttributed }, getBase()), { params: props, prefix: PRODUCT_FROM_ASSISTANT }));
|
|
73
|
-
},
|
|
74
|
-
reportHintShown: (props) => {
|
|
75
|
-
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintShown }, getBase()), { params: props }));
|
|
76
|
-
},
|
|
77
|
-
reportHintClicked: (props) => {
|
|
78
|
-
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintClicked }, getBase()), { params: props }));
|
|
79
|
-
},
|
|
80
|
-
reportHintDismissed: (props) => {
|
|
81
|
-
return Report(Object.assign(Object.assign({ endpoint: ReportingEndpoint.General, upType: ReportingUpType.shopperAssistantHintDismissed }, getBase()), { params: props }));
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
//# sourceMappingURL=shopperAssistant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shopperAssistant.js","sourceRoot":"","sources":["../../../src/components/shopperAssistant/shopperAssistant.ts"],"names":[],"mappings":"AAWA,OAAO,EAAC,MAAM,EAAE,iBAAiB,EAAE,eAAe,EAAC,MAAM,0BAA0B,CAAC;AACpF,OAAO,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAC,gBAAgB,EAA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ClD,OAAO,EAAE,KACZ,MAAM,EAAE,KAAK,IACf,CAAC;IACP,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ReportBaseProps } from "../../@types/reporting";
|
|
2
|
-
import { Platform } from "../../@types/platfrom";
|
|
3
|
-
/**
|
|
4
|
-
* PDP sibling swatch-switch detection (#12003). Layer 1: Shopify full-navigation
|
|
5
|
-
* themes (breadcrumb completed on the landing page load). Layer 2: in-place-swap
|
|
6
|
-
* themes (pushState + DOM swap, e.g. Stride Rite) — the same breadcrumb contract
|
|
7
|
-
* completed by a same-document history watcher.
|
|
8
|
-
*
|
|
9
|
-
* On themes where each color is its own product and a PDP color swatch performs a
|
|
10
|
-
* full page navigation to the sibling, this captures the X→Y switch WITHOUT the
|
|
11
|
-
* (rejected) bare-referrer heuristic: a sessionStorage breadcrumb is written ONLY
|
|
12
|
-
* by a click inside a config-declared swatch zone, so ordinary product→product
|
|
13
|
-
* navigation (related products, cross-sell, back button) can never produce an event.
|
|
14
|
-
*
|
|
15
|
-
* OFF BY DEFAULT. Runs only when a per-site config exists, read in priority order:
|
|
16
|
-
* 1. localStorage[FS_SWATCH_SWITCH_CONFIG_LS_KEY] — written by the config
|
|
17
|
-
* producers (autocomplete load response / fast_config metafields). An
|
|
18
|
-
* explicit {enabled:false} here is the per-site KILL SWITCH: it beats the
|
|
19
|
-
* static ship-defaults below with no bundle redeploy.
|
|
20
|
-
* 2. window.__fast_options.swatchSwitch — manual fallback/override.
|
|
21
|
-
* 3. STATIC_SITE_CONFIGS — ship-defaults for survey-verified launch sites,
|
|
22
|
-
* keyed by site UUID, so those sites need no dashboard/config step at all.
|
|
23
|
-
* No config → zero listeners, zero storage reads beyond the single lookup, zero pings.
|
|
24
|
-
*
|
|
25
|
-
* Multi-hop topology (confirmed with data science): each full navigation is a fresh
|
|
26
|
-
* PDP impression, so A→B→C emits {from:A,id:B} then {from:B,id:C} — hop-by-hop, unlike
|
|
27
|
-
* the PLP grid's star (from = the impressed tile). Both topologies resolve to the
|
|
28
|
-
* impressed product under the SQL's transitive backward-walk and mix safely.
|
|
29
|
-
*/
|
|
30
|
-
export declare const FS_SWATCH_SWITCH_CONFIG_LS_KEY = "fast_swatch_switch";
|
|
31
|
-
export declare function runPdpSwatchSwitch(getBase: () => ReportBaseProps, platform: Platform): void;
|