@adobe/magento-storefront-events-sdk 1.3.1 → 1.4.1

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/CHANGELOG.md CHANGED
@@ -4,24 +4,21 @@ All notable changes to this project will be documented in this file. See [standa
4
4
 
5
5
  ### [1.1.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.1.0...v1.1.1) (2021-10-26)
6
6
 
7
-
8
7
  ### Bug Fixes
9
8
 
10
- * **src/types/schemas/recommendations.ts:** added `typeId: string` as field to RecommendationUnit ([ba0e636](https://github.com/adobe/magento-storefront-events-sdk/commit/ba0e636f8c65327aa4bbe224a9d26a84ef9daf00))
9
+ - **src/types/schemas/recommendations.ts:** added `typeId: string` as field to RecommendationUnit ([ba0e636](https://github.com/adobe/magento-storefront-events-sdk/commit/ba0e636f8c65327aa4bbe224a9d26a84ef9daf00))
11
10
 
12
11
  ## [1.1.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.0.2...v1.1.0) (2021-09-07)
13
12
 
14
-
15
13
  ### Features
16
14
 
17
- * add api execution time tracking ([611f8e5](https://github.com/adobe/magento-storefront-events-sdk/commit/611f8e5b62f47b0f049b5f23848b555892d740ec))
15
+ - add api execution time tracking ([611f8e5](https://github.com/adobe/magento-storefront-events-sdk/commit/611f8e5b62f47b0f049b5f23848b555892d740ec))
18
16
 
19
17
  ### [1.0.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.0.1...v1.0.2) (2021-09-07)
20
18
 
21
-
22
19
  ### Bug Fixes
23
20
 
24
- * make price optional to support b2b ([8847ca0](https://github.com/adobe/magento-storefront-events-sdk/commit/8847ca0eaf71aef75ecdb5fdebc5debf0ff3b162))
21
+ - make price optional to support b2b ([8847ca0](https://github.com/adobe/magento-storefront-events-sdk/commit/8847ca0eaf71aef75ecdb5fdebc5debf0ff3b162))
25
22
 
26
23
  ### [1.0.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v1.0.0...v1.0.1) (2021-06-17)
27
24
 
@@ -29,271 +26,249 @@ All notable changes to this project will be documented in this file. See [standa
29
26
 
30
27
  ### [0.17.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.17.0...v0.17.1) (2021-06-05)
31
28
 
32
-
33
29
  ### Features
34
30
 
35
- * add sourcemaps in dev and qa. broadcast message when available ([368de43](https://github.com/adobe/magento-storefront-events-sdk/commit/368de43217762609456968977426cab2f00e710d))
31
+ - add sourcemaps in dev and qa. broadcast message when available ([368de43](https://github.com/adobe/magento-storefront-events-sdk/commit/368de43217762609456968977426cab2f00e710d))
36
32
 
37
33
  ## [0.17.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.16.2...v0.17.0) (2021-05-27)
38
34
 
39
-
40
35
  ### ⚠ BREAKING CHANGES
41
36
 
42
- * The placement field has been renamed to pagePlacement.
37
+ - The placement field has been renamed to pagePlacement.
43
38
 
44
- * change placement to pagePlacement ([46dcb9d](https://github.com/adobe/magento-storefront-events-sdk/commit/46dcb9d373db05b6aa5f1a0dda0a4ae91c7c69ac))
39
+ - change placement to pagePlacement ([46dcb9d](https://github.com/adobe/magento-storefront-events-sdk/commit/46dcb9d373db05b6aa5f1a0dda0a4ae91c7c69ac))
45
40
 
46
41
  ### [0.16.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.16.1...v0.16.2) (2021-05-27)
47
42
 
48
-
49
43
  ### Features
50
44
 
51
- * support gift options ([24250aa](https://github.com/adobe/magento-storefront-events-sdk/commit/24250aa9a7a6c02bc7f8a21cfc58f3ecbd8a4720))
45
+ - support gift options ([24250aa](https://github.com/adobe/magento-storefront-events-sdk/commit/24250aa9a7a6c02bc7f8a21cfc58f3ecbd8a4720))
52
46
 
53
47
  ### [0.16.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.16.0...v0.16.1) (2021-05-26)
54
48
 
55
-
56
49
  ### Features
57
50
 
58
- * support one page checkouts ([3c86046](https://github.com/adobe/magento-storefront-events-sdk/commit/3c860469bcefed0e53f5189c71c71b5fe92c6d9d))
51
+ - support one page checkouts ([3c86046](https://github.com/adobe/magento-storefront-events-sdk/commit/3c860469bcefed0e53f5189c71c71b5fe92c6d9d))
59
52
 
60
53
  ## [0.16.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.3...v0.16.0) (2021-05-25)
61
54
 
62
-
63
55
  ### ⚠ BREAKING CHANGES
64
56
 
65
- * Placement is now required in the Recommendation context.
57
+ - Placement is now required in the Recommendation context.
66
58
 
67
59
  ### Features
68
60
 
69
- * support placement and offset ([a2ea560](https://github.com/adobe/magento-storefront-events-sdk/commit/a2ea560237e99cb1ee93b95f3f1a03a8b462217a))
61
+ - support placement and offset ([a2ea560](https://github.com/adobe/magento-storefront-events-sdk/commit/a2ea560237e99cb1ee93b95f3f1a03a8b462217a))
70
62
 
71
63
  ### [0.15.3](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.2...v0.15.3) (2021-05-25)
72
64
 
73
65
  ### [0.15.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.1...v0.15.2) (2021-05-18)
74
66
 
75
-
76
67
  ### Bug Fixes
77
68
 
78
- * make product pricing optional ([095bb10](https://github.com/adobe/magento-storefront-events-sdk/commit/095bb10a7bf2d1124666fe55d9c0e7d519accdd4))
69
+ - make product pricing optional ([095bb10](https://github.com/adobe/magento-storefront-events-sdk/commit/095bb10a7bf2d1124666fe55d9c0e7d519accdd4))
79
70
 
80
71
  ### [0.15.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.15.0...v0.15.1) (2021-05-17)
81
72
 
82
73
  ## [0.15.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.14.0...v0.15.0) (2021-05-14)
83
74
 
84
-
85
75
  ### ⚠ BREAKING CHANGES
86
76
 
87
- * The Facet types have changed. See the types directory for more information.
77
+ - The Facet types have changed. See the types directory for more information.
88
78
 
89
79
  ### Features
90
80
 
91
- * support new search facets api ([97c11c9](https://github.com/adobe/magento-storefront-events-sdk/commit/97c11c94191e83f78a866d2f2e11b46285cb2eb2))
81
+ - support new search facets api ([97c11c9](https://github.com/adobe/magento-storefront-events-sdk/commit/97c11c94191e83f78a866d2f2e11b46285cb2eb2))
92
82
 
93
83
  ## [0.14.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.13.0...v0.14.0) (2021-05-12)
94
84
 
95
-
96
85
  ### ⚠ BREAKING CHANGES
97
86
 
98
- * The sort field is now an array.
87
+ - The sort field is now an array.
99
88
 
100
89
  ### Features
101
90
 
102
- * support multiple sorts ([6761d36](https://github.com/adobe/magento-storefront-events-sdk/commit/6761d3645421e624677fd4521356e49afa79a6c1))
91
+ - support multiple sorts ([6761d36](https://github.com/adobe/magento-storefront-events-sdk/commit/6761d3645421e624677fd4521356e49afa79a6c1))
103
92
 
104
93
  ## [0.13.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.12.0...v0.13.0) (2021-05-10)
105
94
 
106
-
107
95
  ### ⚠ BREAKING CHANGES
108
96
 
109
- * The SearchInput and SearchResults contexts are now an array of units.
97
+ - The SearchInput and SearchResults contexts are now an array of units.
110
98
 
111
99
  SEARCH-1322
112
100
 
113
101
  ### Features
114
102
 
115
- * include unit id with every search handler ([4d37aad](https://github.com/adobe/magento-storefront-events-sdk/commit/4d37aad32f7fc9b6ecfb8b00b603bb86aad5c54d))
116
- * support multiple search units ([a2803cb](https://github.com/adobe/magento-storefront-events-sdk/commit/a2803cba802637a20cdeb6bef87ff953921d1daa))
117
-
103
+ - include unit id with every search handler ([4d37aad](https://github.com/adobe/magento-storefront-events-sdk/commit/4d37aad32f7fc9b6ecfb8b00b603bb86aad5c54d))
104
+ - support multiple search units ([a2803cb](https://github.com/adobe/magento-storefront-events-sdk/commit/a2803cba802637a20cdeb6bef87ff953921d1daa))
118
105
 
119
106
  ### Bug Fixes
120
107
 
121
- * export search input types ([bde2b52](https://github.com/adobe/magento-storefront-events-sdk/commit/bde2b52d368053be70eda1084c3d6a05596094fc))
108
+ - export search input types ([bde2b52](https://github.com/adobe/magento-storefront-events-sdk/commit/bde2b52d368053be70eda1084c3d6a05596094fc))
122
109
 
123
110
  ## [0.12.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.11.2...v0.12.0) (2021-04-30)
124
111
 
125
-
126
112
  ### ⚠ BREAKING CHANGES
127
113
 
128
- * The product.sku and product.pricing are now required. Same with the
129
- shoppingCart.item.prices and the shoppingCart.item.quantity.
114
+ - The product.sku and product.pricing are now required. Same with the
115
+ shoppingCart.item.prices and the shoppingCart.item.quantity.
130
116
 
131
117
  SEARCH-1441
132
118
 
133
119
  ### Bug Fixes
134
120
 
135
- * require more properties to match snowplow schema ([45ef6d4](https://github.com/adobe/magento-storefront-events-sdk/commit/45ef6d4fbcccbb43798feef25ecd9460b74ef57a))
121
+ - require more properties to match snowplow schema ([45ef6d4](https://github.com/adobe/magento-storefront-events-sdk/commit/45ef6d4fbcccbb43798feef25ecd9460b74ef57a))
136
122
 
137
123
  ### [0.11.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.11.1...v0.11.2) (2021-04-28)
138
124
 
139
-
140
125
  ### Features
141
126
 
142
- * add category context ([b72d2d8](https://github.com/adobe/magento-storefront-events-sdk/commit/b72d2d86fe5282cd34648fa4a1b62b8f502eec12))
127
+ - add category context ([b72d2d8](https://github.com/adobe/magento-storefront-events-sdk/commit/b72d2d86fe5282cd34648fa4a1b62b8f502eec12))
143
128
 
144
129
  ### [0.11.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.11.0...v0.11.1) (2021-04-26)
145
130
 
146
-
147
131
  ### Features
148
132
 
149
- * add custom context getters and setters ([e8991c2](https://github.com/adobe/magento-storefront-events-sdk/commit/e8991c2b9048104f9c2491765a79caf0aa5de8cb))
133
+ - add custom context getters and setters ([e8991c2](https://github.com/adobe/magento-storefront-events-sdk/commit/e8991c2b9048104f9c2491765a79caf0aa5de8cb))
150
134
 
151
135
  ## [0.11.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.10.1...v0.11.0) (2021-04-26)
152
136
 
153
-
154
137
  ### ⚠ BREAKING CHANGES
155
138
 
156
- * The magentoJsBuild field in the MagentoJsTracker context has been removed.
139
+ - The magentoJsBuild field in the MagentoJsTracker context has been removed.
157
140
 
158
141
  ### Bug Fixes
159
142
 
160
- * remove tracker build numberr ([3df3347](https://github.com/adobe/magento-storefront-events-sdk/commit/3df33477524b11fa8777b8968de1214c409d047e))
143
+ - remove tracker build numberr ([3df3347](https://github.com/adobe/magento-storefront-events-sdk/commit/3df33477524b11fa8777b8968de1214c409d047e))
161
144
 
162
145
  ### [0.10.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.10.0...v0.10.1) (2021-04-22)
163
146
 
164
-
165
147
  ### Features
166
148
 
167
- * instant purchase event ([b733e50](https://github.com/adobe/magento-storefront-events-sdk/commit/b733e503dab567599951ff66898a2ad241094303))
149
+ - instant purchase event ([b733e50](https://github.com/adobe/magento-storefront-events-sdk/commit/b733e503dab567599951ff66898a2ad241094303))
168
150
 
169
151
  ## [0.10.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.9.0...v0.10.0) (2021-04-20)
170
152
 
171
-
172
153
  ### ⚠ BREAKING CHANGES
173
154
 
174
- * The ShoppingCart context now has a different shape.
155
+ - The ShoppingCart context now has a different shape.
175
156
 
176
157
  SEARCH-1381
177
158
 
178
159
  ### Bug Fixes
179
160
 
180
- * fix shopping cart types ([af4b967](https://github.com/adobe/magento-storefront-events-sdk/commit/af4b9679f91a5d4e8111e8ed5073a59f7c01d098))
161
+ - fix shopping cart types ([af4b967](https://github.com/adobe/magento-storefront-events-sdk/commit/af4b9679f91a5d4e8111e8ed5073a59f7c01d098))
181
162
 
182
163
  ## [0.9.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.8.1...v0.9.0) (2021-04-16)
183
164
 
184
-
185
165
  ### ⚠ BREAKING CHANGES
186
166
 
187
- * searchRequestId is a new required property for SearchInput and SearchResults
188
- context.
167
+ - searchRequestId is a new required property for SearchInput and SearchResults
168
+ context.
189
169
 
190
170
  SEARCH-1374
191
- * The SearchResults schema now requires a facets property.
171
+
172
+ - The SearchResults schema now requires a facets property.
192
173
 
193
174
  SEARCH-1342
194
- * The SearchInput context now has a filters property instead of the previous
195
- refinements properties.
175
+
176
+ - The SearchInput context now has a filters property instead of the previous
177
+ refinements properties.
196
178
 
197
179
  ### Features
198
180
 
199
- * add search request id ([cc7b2a3](https://github.com/adobe/magento-storefront-events-sdk/commit/cc7b2a3847b898516290515b5ffc5593a034255d))
200
- * adjusting the filter types ([c81b53c](https://github.com/adobe/magento-storefront-events-sdk/commit/c81b53cb2b019867eb234a658131d0d76c190cf1))
201
- * update snowplow schema versions ([caeba1d](https://github.com/adobe/magento-storefront-events-sdk/commit/caeba1d1d211080a4c90d7038510f171c415730c))
181
+ - add search request id ([cc7b2a3](https://github.com/adobe/magento-storefront-events-sdk/commit/cc7b2a3847b898516290515b5ffc5593a034255d))
182
+ - adjusting the filter types ([c81b53c](https://github.com/adobe/magento-storefront-events-sdk/commit/c81b53cb2b019867eb234a658131d0d76c190cf1))
183
+ - update snowplow schema versions ([caeba1d](https://github.com/adobe/magento-storefront-events-sdk/commit/caeba1d1d211080a4c90d7038510f171c415730c))
202
184
 
203
185
  ### [0.8.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.8.0...v0.8.1) (2021-04-09)
204
186
 
205
187
  ## [0.8.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.7.0...v0.8.0) (2021-04-08)
206
188
 
207
-
208
189
  ### ⚠ BREAKING CHANGES
209
190
 
210
- * The following events now require additional parameters when published:
211
- - recsItemAddToCartClick
212
- - recsItemClick
213
- - recsUnitRender
214
- - recsUnitView
215
- - searchCategoryClick
216
- - searchProductClick
217
- - searchSuggestionClick
191
+ - The following events now require additional parameters when published:
192
+
193
+ * recsItemAddToCartClick
194
+ * recsItemClick
195
+ * recsUnitRender
196
+ * recsUnitView
197
+ * searchCategoryClick
198
+ * searchProductClick
199
+ * searchSuggestionClick
218
200
 
219
201
  SEARCH-1326
220
202
 
221
203
  ### Features
222
204
 
223
- * pass additional data to publish ([0d50b0c](https://github.com/adobe/magento-storefront-events-sdk/commit/0d50b0c8a99b64d9f020e630997ebfca3ea18070))
205
+ - pass additional data to publish ([0d50b0c](https://github.com/adobe/magento-storefront-events-sdk/commit/0d50b0c8a99b64d9f020e630997ebfca3ea18070))
224
206
 
225
207
  ## [0.7.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.6.0...v0.7.0) (2021-04-07)
226
208
 
227
-
228
209
  ### ⚠ BREAKING CHANGES
229
210
 
230
- * Renamed the getPageOffset and setPageOffset methods to getPage and setPage.
211
+ - Renamed the getPageOffset and setPageOffset methods to getPage and setPage.
231
212
 
232
213
  SEARCH-1329
233
214
 
234
215
  ### Features
235
216
 
236
- * add page context ([530de3d](https://github.com/adobe/magento-storefront-events-sdk/commit/530de3db82d84527edd3e38bd6082ee28a3eebba))
217
+ - add page context ([530de3d](https://github.com/adobe/magento-storefront-events-sdk/commit/530de3db82d84527edd3e38bd6082ee28a3eebba))
237
218
 
238
219
  ## [0.6.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.5.2...v0.6.0) (2021-04-06)
239
220
 
240
-
241
221
  ### ⚠ BREAKING CHANGES
242
222
 
243
- * Renamed adjustment.value to adjustment.amount.
223
+ - Renamed adjustment.value to adjustment.amount.
244
224
 
245
225
  ### Bug Fixes
246
226
 
247
- * fix adjustment type definition ([375cc84](https://github.com/adobe/magento-storefront-events-sdk/commit/375cc84d14141daf368dbfc93ed02bdd46663d96))
227
+ - fix adjustment type definition ([375cc84](https://github.com/adobe/magento-storefront-events-sdk/commit/375cc84d14141daf368dbfc93ed02bdd46663d96))
248
228
 
249
229
  ### [0.5.2](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.5.1...v0.5.2) (2021-04-01)
250
230
 
251
-
252
231
  ### Features
253
232
 
254
- * add recommendations context ([309dc9f](https://github.com/adobe/magento-storefront-events-sdk/commit/309dc9f0bfcc84f23b3f2c2d3b90c8e966f678a9))
233
+ - add recommendations context ([309dc9f](https://github.com/adobe/magento-storefront-events-sdk/commit/309dc9f0bfcc84f23b3f2c2d3b90c8e966f678a9))
255
234
 
256
235
  ### [0.5.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.5.0...v0.5.1) (2021-03-29)
257
236
 
258
-
259
237
  ### Features
260
238
 
261
- * support shopping cart view event ([5231139](https://github.com/adobe/magento-storefront-events-sdk/commit/52311395578768d2ac8864143c2adf28c5ce25ab))
239
+ - support shopping cart view event ([5231139](https://github.com/adobe/magento-storefront-events-sdk/commit/52311395578768d2ac8864143c2adf28c5ce25ab))
262
240
 
263
241
  ## [0.5.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.4.0...v0.5.0) (2021-03-24)
264
242
 
265
-
266
243
  ### ⚠ BREAKING CHANGES
267
244
 
268
- * Renamed foramttedPrice to formattedPrice in ShoppingCartItem.
245
+ - Renamed foramttedPrice to formattedPrice in ShoppingCartItem.
269
246
 
270
247
  ### Bug Fixes
271
248
 
272
- * fix typo in ShoppingCartItem ([bd61d84](https://github.com/adobe/magento-storefront-events-sdk/commit/bd61d842cf306149b16528494e35bb3ff5fbee9a))
249
+ - fix typo in ShoppingCartItem ([bd61d84](https://github.com/adobe/magento-storefront-events-sdk/commit/bd61d842cf306149b16528494e35bb3ff5fbee9a))
273
250
 
274
251
  ## [0.4.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.3.1...v0.4.0) (2021-03-24)
275
252
 
276
-
277
253
  ### ⚠ BREAKING CHANGES
278
254
 
279
- * Renamed environtmentId to environmentId.
255
+ - Renamed environtmentId to environmentId.
280
256
 
281
257
  ### Bug Fixes
282
258
 
283
- * fix storefront instance typo ([d4fb111](https://github.com/adobe/magento-storefront-events-sdk/commit/d4fb11173f108f4ffe6a9f2a1b9731a13ca61ba5))
259
+ - fix storefront instance typo ([d4fb111](https://github.com/adobe/magento-storefront-events-sdk/commit/d4fb11173f108f4ffe6a9f2a1b9731a13ca61ba5))
284
260
 
285
261
  ### [0.3.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.3.0...v0.3.1) (2021-03-22)
286
262
 
287
263
  ## [0.3.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.2.3...v0.3.0) (2021-03-22)
288
264
 
289
-
290
265
  ### ⚠ BREAKING CHANGES
291
266
 
292
- * Removed the SEARCH_RESULT_CLICK event.
267
+ - Removed the SEARCH_RESULT_CLICK event.
293
268
 
294
269
  ### Features
295
270
 
296
- * support search result click events ([1759ba0](https://github.com/adobe/magento-storefront-events-sdk/commit/1759ba055286ab501ff80d5aeb00bf690ac31e56))
271
+ - support search result click events ([1759ba0](https://github.com/adobe/magento-storefront-events-sdk/commit/1759ba055286ab501ff80d5aeb00bf690ac31e56))
297
272
 
298
273
  ### [0.2.3](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.2.2...v0.2.3) (2021-03-19)
299
274
 
@@ -301,15 +276,13 @@ SEARCH-1329
301
276
 
302
277
  ### [0.2.1](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.2.0...v0.2.1) (2021-03-18)
303
278
 
304
-
305
279
  ### Features
306
280
 
307
- * **recommendations:** enables recommendations events ([cd76752](https://github.com/adobe/magento-storefront-events-sdk/commit/cd767529c0afaa24df5d2f7362057b1e47838b44))
308
-
281
+ - **recommendations:** enables recommendations events ([cd76752](https://github.com/adobe/magento-storefront-events-sdk/commit/cd767529c0afaa24df5d2f7362057b1e47838b44))
309
282
 
310
283
  ### Bug Fixes
311
284
 
312
- * **filename:** fixed recomendations.js to reocmmendations.js ([b6d7e13](https://github.com/adobe/magento-storefront-events-sdk/commit/b6d7e136242ca64e3fc64a95e2da09ea05aa2f9e))
285
+ - **filename:** fixed recomendations.js to reocmmendations.js ([b6d7e13](https://github.com/adobe/magento-storefront-events-sdk/commit/b6d7e136242ca64e3fc64a95e2da09ea05aa2f9e))
313
286
 
314
287
  ## [0.2.0](https://github.com/adobe/magento-storefront-events-sdk/compare/v0.1.1...v0.2.0) (2021-03-17)
315
288
 
package/README.md CHANGED
@@ -510,6 +510,11 @@ mse.publish.searchResponseReceived(searchUnitId, ctx);
510
510
  mse.publish.searchResultsView(searchUnitId, ctx);
511
511
  ```
512
512
 
513
+ ```javascript
514
+ // requires searchResultsContext to be set
515
+ mse.publish.categoryResultsView(searchUnitId, ctx);
516
+ ```
517
+
513
518
  ```javascript
514
519
  // requires searchResultsContext to be set
515
520
  mse.publish.searchSuggestionClick(searchUnitId, suggestion, ctx);
@@ -565,6 +570,7 @@ mse.subscribe.searchProductClick(handler, options);
565
570
  mse.subscribe.searchRequestSent(handler, options);
566
571
  mse.subscribe.searchResponseReceived(handler, options);
567
572
  mse.subscribe.searchResultsView(handler, options);
573
+ mse.subscribe.categoryResultsView(handler, options);
568
574
  mse.subscribe.searchSuggestionClick(handler, options);
569
575
  mse.subscribe.shoppingCartView(handler, options);
570
576
  mse.subscribe.signIn(handler, options);
@@ -605,6 +611,7 @@ mse.unsubscribe.searchProductClick(handler);
605
611
  mse.unsubscribe.searchRequestSent(handler);
606
612
  mse.unsubscribe.searchResponseReceived(handler);
607
613
  mse.unsubscribe.searchResultsView(handler);
614
+ mse.unsubscribe.categoryResultsView(handler);
608
615
  mse.unsubscribe.searchSuggestionClick(handler);
609
616
  mse.unsubscribe.shoppingCartView(handler);
610
617
  mse.unsubscribe.signIn(handler);
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("magentoStorefrontEvents",[],e):"object"==typeof exports?exports.magentoStorefrontEvents=e():t.magentoStorefrontEvents=e()}(self,(()=>(()=>{"use strict";var t={525:(t,e,n)=>{function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=i(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,s=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function i(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function t(e,n,r){function o(s,a){if(!n[s]){if(!e[s]){if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};e[s][0].call(u.exports,(function(t){return o(e[s][1][t]||t)}),u,u.exports,t,e,n,r)}return n[s].exports}for(var i=void 0,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(t,e,r){(function(t){(function(){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var s=t[n];e(s,n,t)&&(i[o++]=s)}return i}function o(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function i(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function s(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function c(t,e,n){var r=t.length;for(n+=-1;++n<r;)if(e(t[n],n,t))return n;return-1}function u(t){return t!=t}function f(t){return function(e){return t(e)}}function l(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function h(t){var e=Object;return function(n){return t(e(n))}}function p(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function d(){}function v(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function g(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function y(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function b(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new y;++e<n;)this.add(t[e])}function m(t){this.size=(this.__data__=new g(t)).size}function E(t,e){var n,r=bn(t),o=!r&&yn(t),i=!r&&!o&&mn(t),s=!r&&!o&&!i&&xn(t);if(r=r||o||i||s){o=t.length;for(var a=String,c=-1,u=Array(o);++c<o;)u[c]=a(c);o=u}else o=[];for(n in a=o.length,t)!e&&!be.call(t,n)||r&&("length"==n||i&&("offset"==n||"parent"==n)||s&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||et(n,a))||o.push(n);return o}function j(t,e,n){(n===Mt||pt(t[e],n))&&(n!==Mt||e in t)||L(t,e,n)}function x(t,e,n){var r=t[e];be.call(t,e)&&pt(r,n)&&(n!==Mt||e in t)||L(t,e,n)}function C(t,e){for(var n=t.length;n--;)if(pt(t[n][0],e))return n;return-1}function L(t,e,n){"__proto__"==e&&Te?Te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function _(t,e,n,r,o,i){var s,a=1&e,c=2&e,u=4&e;if(n&&(s=o?n(t,r,o,i):n(t)),s!==Mt)return s;if(!bt(t))return t;if(r=bn(t)){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&be.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!a)return z(t,s)}else{var f=sn(t),l="[object Function]"==f||"[object GeneratorFunction]"==f;if(mn(t))return M(t,a);if("[object Object]"==f||"[object Arguments]"==f||l&&!o){if(s=c||l?{}:Z(t),!a)return c?function(t,e){return $(t,on(t),e)}(t,function(t,e){return t&&$(e,It(e),t)}(s,t)):function(t,e){return $(t,rn(t),e)}(t,function(t,e){return t&&$(e,kt(e),t)}(s,t))}else{if(!te[f])return o?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return V(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?V(t.buffer):t.buffer,new t.constructor(e,t.byteOffset,t.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return q(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return(e=new t.constructor(t.source,Ht.exec(t))).lastIndex=t.lastIndex,e;case"[object Symbol]":return Qe?Object(Qe.call(t)):{}}}(t,f,a)}}if(o=(i=i||new m).get(t))return o;if(i.set(t,s),jn(t))return t.forEach((function(r){s.add(_(r,e,n,r,t,i))})),s;if(En(t))return t.forEach((function(r,o){s.set(o,_(r,e,n,o,t,i))})),s;c=u?c?J:H:c?It:kt;var h=r?Mt:c(t);return function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n););}(h||t,(function(r,o){h&&(r=t[o=r]),x(s,o,_(r,e,n,o,t,i))})),s}function w(t,e){for(var n=0,r=(e=N(e,t)).length;null!=t&&n<r;)t=t[st(e[n++])];return n&&n==r?t:Mt}function A(t,e,n){return e=e(t),bn(t)?e:i(e,n(t))}function O(t){if(null==t)t=t===Mt?"[object Undefined]":"[object Null]";else if(Re&&Re in Object(t)){var e=be.call(t,Re),n=t[Re];try{t[Re]=Mt;var r=!0}catch(t){}var o=Ee.call(t);r&&(e?t[Re]=n:delete t[Re]),t=o}else t=Ee.call(t);return t}function S(t,e){return null!=t&&be.call(t,e)}function k(t,e){return null!=t&&e in Object(t)}function I(t){return mt(t)&&"[object Arguments]"==O(t)}function R(t,e,n,r,o){if(t===e)e=!0;else if(null==t||null==e||!mt(t)&&!mt(e))e=t!=t&&e!=e;else t:{var i,s,a=bn(t),c=bn(e),u="[object Object]"==(i="[object Arguments]"==(i=a?"[object Array]":sn(t))?"[object Object]":i);if(c="[object Object]"==(s="[object Arguments]"==(s=c?"[object Array]":sn(e))?"[object Object]":s),(s=i==s)&&mn(t)){if(!mn(e)){e=!1;break t}u=!(a=!0)}if(s&&!u)o=o||new m,e=a||xn(t)?G(t,e,n,r,R,o):function(t,e,n,r,o,i,s){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!i(new _e(t),new _e(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return pt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=l;case"[object Set]":if(a=a||p,t.size!=e.size&&!(1&r))break;return(n=s.get(t))?n==e:(r|=2,s.set(t,e),e=G(a(t),a(e),r,o,i,s),s.delete(t),e);case"[object Symbol]":if(Qe)return Qe.call(t)==Qe.call(e)}return!1}(t,e,i,n,r,R,o);else{if(!(1&n)&&(a=u&&be.call(t,"__wrapped__"),i=c&&be.call(e,"__wrapped__"),a||i)){e=R(t=a?t.value():t,e=i?e.value():e,n,r,o=o||new m);break t}if(s)e:if(o=o||new m,a=1&n,i=H(t),c=i.length,s=H(e).length,c==s||a){for(u=c;u--;){var f=i[u];if(!(a?f in e:be.call(e,f))){e=!1;break e}}if((s=o.get(t))&&o.get(e))e=s==e;else{s=!0,o.set(t,e),o.set(e,t);for(var h=a;++u<c;){var d=t[f=i[u]],v=e[f];if(r)var g=a?r(v,d,f,e,t,o):r(d,v,f,t,e,o);if(g===Mt?d!==v&&!R(d,v,n,r,o):!g){s=!1;break}h=h||"constructor"==f}s&&!h&&(n=t.constructor)!=(r=e.constructor)&&"constructor"in t&&"constructor"in e&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&(s=!1),o.delete(t),o.delete(e),e=s}}else e=!1;else e=!1}}return e}function T(t){return"function"==typeof t?t:null==t?Dt:"object"==a(t)?bn(t)?function(t,e){return nt(t)&&e==e&&!bt(e)?ot(st(t),e):function(n){var r=Ot(n,t);return r===Mt&&r===e?St(n,t):R(e,r,3)}}(t[0],t[1]):function(t){var e=function(t){for(var e=kt(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,o==o&&!bt(o)]}return e}(t);return 1==e.length&&e[0][2]?ot(e[0][0],e[0][1]):function(n){return n===t||function(t,e){var n=e.length,r=n;if(null==t)return!r;for(t=Object(t);n--;)if((o=e[n])[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1;for(;++n<r;){var o,i=(o=e[n])[0],s=t[i],a=o[1];if(o[2]){if(s===Mt&&!(i in t))return!1}else if(!R(a,s,3,void 0,o=new m))return!1}return!0}(n,e)}}(t):Pt(t)}function D(t){if(!rt(t))return Pe(t);var e,n=[];for(e in Object(t))be.call(t,e)&&"constructor"!=e&&n.push(e);return n}function U(t,e,n,r,o){t!==e&&en(e,(function(i,s){if(bt(i)){var a=o=o||new m,c="__proto__"==s?Mt:t[s],u="__proto__"==s?Mt:e[s];if(d=a.get(u))j(t,s,d);else{var f=(d=r?r(c,u,s+"",t,e,a):Mt)===Mt;if(f){var l=bn(u),h=!l&&mn(u),p=!l&&!h&&xn(u),d=u;l||h||p?d=bn(c)?c:vt(c)?z(c):h?M(u,!(f=!1)):p?q(u,!(f=!1)):[]:Et(u)||yn(u)?yn(d=c)?d=wt(c):(!bt(c)||n&&gt(c))&&(d=Z(u)):f=!1}f&&(a.set(u,d),U(d,u,n,r,a),a.delete(u)),j(t,s,d)}}else(a=r?r("__proto__"==s?Mt:t[s],i,s+"",t,e,o):Mt)===Mt&&(a=i),j(t,s,a)}),It)}function P(t){if("string"==typeof t)return t;if(bn(t))return o(t,P)+"";if(xt(t))return Xe?Xe.call(t):"";var e=t+"";return"0"==e&&1/t==-Vt?"-0":e}function F(t,e){var n;if((e=N(e,t)).length<2)n=t;else{var r=0,o=-1,i=-1,s=(n=e).length;for(r<0&&(r=s<-r?0:s+r),(o=s<o?s:o)<0&&(o+=s),s=o<r?0:o-r>>>0,r>>>=0,o=Array(s);++i<s;)o[i]=n[i+r];n=w(t,o)}null==(t=n)||delete t[st(ft(e))]}function N(t,e){return bn(t)?t:nt(t,e)?[t]:dn(At(t))}function M(t,e){if(e)return t.slice();var n=t.length;return n=we?we(n):new t.constructor(n),t.copy(n),n}function V(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function q(t,e){return new t.constructor(e?V(t.buffer):t.buffer,t.byteOffset,t.length)}function z(t,e){var n=-1,r=t.length;for(e=e||Array(r);++n<r;)e[n]=t[n];return e}function $(t,e,n){var r=!n;n=n||{};for(var o=-1,i=e.length;++o<i;){var s=e[o],a=Mt;a===Mt&&(a=t[s]),r?L(n,s,a):x(n,s,a)}return n}function B(t){return function(t){return pn(it(t,void 0,Dt),t+"")}((function(e,n){var r,o=-1,i=n.length,s=1<i?n[i-1]:Mt,c=2<i?n[2]:Mt;if(s=3<t.length&&"function"==typeof s?(i--,s):Mt,r=c){r=n[0];var u=n[1];if(bt(c)){var f=a(u);r=!!("number"==f?dt(c)&&et(u,c.length):"string"==f&&u in c)&&pt(c[u],r)}else r=!1}for(r&&(s=i<3?Mt:s,i=1),e=Object(e);++o<i;)(c=n[o])&&t(e,c,o,s);return e}))}function W(t){return Et(t)?Mt:t}function G(t,e,n,r,o,i){var a=1&n,c=t.length;if(c!=(u=e.length)&&!(a&&c<u))return!1;if((u=i.get(t))&&i.get(e))return u==e;var u=-1,f=!0,l=2&n?new b:Mt;for(i.set(t,e),i.set(e,t);++u<c;){var h=t[u],p=e[u];if(r)var d=a?r(p,h,u,e,t,i):r(h,p,u,t,e,i);if(d!==Mt){if(d)continue;f=!1;break}if(l){if(!s(e,(function(t,e){if(!l.has(e)&&(h===t||o(h,t,n,r,i)))return l.push(e)}))){f=!1;break}}else if(h!==p&&!o(h,p,n,r,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function H(t){return A(t,kt,rn)}function J(t){return A(t,It,on)}function Y(t,e){var n=(n=d.iteratee||Ut)===Ut?T:n;return arguments.length?n(t,e):n}function K(t,e){var n=t.__data__,r=a(e);return("string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function Q(t,e){var n=null==t?Mt:t[e];return!bt(n)||me&&me in n||!(gt(n)?xe:Kt).test(at(n))?Mt:n}function X(t,e,n){for(var r=-1,o=(e=N(e,t)).length,i=!1;++r<o;){var s=st(e[r]);if(!(i=null!=t&&n(t,s)))break;t=t[s]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&yt(o)&&et(s,o)&&(bn(t)||yn(t))}function Z(t){return"function"!=typeof t.constructor||rt(t)?{}:Ze(Ae(t))}function tt(t){return bn(t)||yn(t)||!!(Ie&&t&&t[Ie])}function et(t,e){var n=a(t);return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Xt.test(t))&&-1<t&&0==t%1&&t<e}function nt(t,e){if(bn(t))return!1;var n=a(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!xt(t))||$t.test(t)||!zt.test(t)||null!=e&&t in Object(e)}function rt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ve)}function ot(t,e){return function(n){return null!=n&&n[t]===e&&(e!==Mt||t in Object(n))}}function it(t,e,n){return e=Fe(e===Mt?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=Fe(r.length-e,0),s=Array(i);++o<i;)s[o]=r[e+o];for(o=-1,i=Array(e+1);++o<e;)i[o]=r[o];return i[e]=n(s),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,i)}}function st(t){if("string"==typeof t||xt(t))return t;var e=t+"";return"0"==e&&1/t==-Vt?"-0":e}function at(t){if(null==t)return"";try{return ye.call(t)}catch(t){}return t+""}function ct(t,e,n){var r=null==t?0:t.length;return r?((n=null==n?0:Lt(n))<0&&(n=Fe(r+n,0)),c(t,Y(e,3),n)):-1}function ut(t){return null!=t&&t.length?function t(e,n,r,o,s){var a=-1,c=e.length;for(r=r||tt,s=s||[];++a<c;){var u=e[a];0<n&&r(u)?1<n?t(u,n-1,r,o,s):i(s,u):o||(s[s.length]=u)}return s}(t,1):[]}function ft(t){var e=null==t?0:t.length;return e?t[e-1]:Mt}function lt(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=t.apply(this,r),n.cache=i.set(o,r)||i,r)}if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");return n.cache=new(lt.Cache||y),n}function ht(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function pt(t,e){return t===e||t!=t&&e!=e}function dt(t){return null!=t&&yt(t.length)&&!gt(t)}function vt(t){return mt(t)&&dt(t)}function gt(t){return!!bt(t)&&("[object Function]"==(t=O(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function yt(t){return"number"==typeof t&&-1<t&&0==t%1&&t<=9007199254740991}function bt(t){var e=a(t);return null!=t&&("object"==e||"function"==e)}function mt(t){return null!=t&&"object"==a(t)}function Et(t){return!(!mt(t)||"[object Object]"!=O(t))&&(null===(t=Ae(t))||"function"==typeof(t=be.call(t,"constructor")&&t.constructor)&&t instanceof t&&ye.call(t)==je)}function jt(t){return"string"==typeof t||!bn(t)&&mt(t)&&"[object String]"==O(t)}function xt(t){return"symbol"==a(t)||mt(t)&&"[object Symbol]"==O(t)}function Ct(t){return t?(t=_t(t))===Vt||t===-Vt?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function Lt(t){var e=(t=Ct(t))%1;return t==t?e?t-e:t:0}function _t(t){if("number"==typeof t)return t;if(xt(t))return qt;if(bt(t)&&(t=bt(t="function"==typeof t.valueOf?t.valueOf():t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(Wt,"");var e=Yt.test(t);return e||Qt.test(t)?ne(t.slice(2),e?2:8):Jt.test(t)?qt:+t}function wt(t){return $(t,It(t))}function At(t){return null==t?"":P(t)}function Ot(t,e,n){return(t=null==t?Mt:w(t,e))===Mt?n:t}function St(t,e){return null!=t&&X(t,e,k)}function kt(t){return dt(t)?E(t):D(t)}function It(t){if(dt(t))t=E(t,!0);else if(bt(t)){var e,n=rt(t),r=[];for(e in t)("constructor"!=e||!n&&be.call(t,e))&&r.push(e);t=r}else{if(e=[],null!=t)for(n in Object(t))e.push(n);t=e}return t}function Rt(t){return null==t?[]:function(t,e){return o(e,(function(e){return t[e]}))}(t,kt(t))}function Tt(t){return function(){return t}}function Dt(t){return t}function Ut(t){return T("function"==typeof t?t:_(t,1))}function Pt(t){return nt(t)?function(t){return function(e){return null==e?Mt:e[t]}}(st(t)):function(t){return function(e){return w(e,t)}}(t)}function Ft(){return[]}function Nt(){return!1}var Mt,Vt=1/0,qt=NaN,zt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$t=/^\w*$/,Bt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wt=/^\s+|\s+$/g,Gt=/\\(\\)?/g,Ht=/\w*$/,Jt=/^[-+]0x[0-9a-f]+$/i,Yt=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,Qt=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,Zt={};Zt["[object Float32Array]"]=Zt["[object Float64Array]"]=Zt["[object Int8Array]"]=Zt["[object Int16Array]"]=Zt["[object Int32Array]"]=Zt["[object Uint8Array]"]=Zt["[object Uint8ClampedArray]"]=Zt["[object Uint16Array]"]=Zt["[object Uint32Array]"]=!0,Zt["[object Arguments]"]=Zt["[object Array]"]=Zt["[object ArrayBuffer]"]=Zt["[object Boolean]"]=Zt["[object DataView]"]=Zt["[object Date]"]=Zt["[object Error]"]=Zt["[object Function]"]=Zt["[object Map]"]=Zt["[object Number]"]=Zt["[object Object]"]=Zt["[object RegExp]"]=Zt["[object Set]"]=Zt["[object String]"]=Zt["[object WeakMap]"]=!1;var te={};te["[object Arguments]"]=te["[object Array]"]=te["[object ArrayBuffer]"]=te["[object DataView]"]=te["[object Boolean]"]=te["[object Date]"]=te["[object Float32Array]"]=te["[object Float64Array]"]=te["[object Int8Array]"]=te["[object Int16Array]"]=te["[object Int32Array]"]=te["[object Map]"]=te["[object Number]"]=te["[object Object]"]=te["[object RegExp]"]=te["[object Set]"]=te["[object String]"]=te["[object Symbol]"]=te["[object Uint8Array]"]=te["[object Uint8ClampedArray]"]=te["[object Uint16Array]"]=te["[object Uint32Array]"]=!0,te["[object Error]"]=te["[object Function]"]=te["[object WeakMap]"]=!1;var ee,ne=parseInt,re="object"==a(t)&&t&&t.Object===Object&&t,oe="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,ie=re||oe||Function("return this")(),se="object"==a(r)&&r&&!r.nodeType&&r,ae=se&&"object"==a(e)&&e&&!e.nodeType&&e,ce=ae&&ae.exports===se,ue=ce&&re.process;t:{try{ee=ue&&ue.binding&&ue.binding("util");break t}catch(f){}ee=void 0}var fe,le=ee&&ee.isMap,he=ee&&ee.isSet,pe=ee&&ee.isTypedArray,de=Array.prototype,ve=Object.prototype,ge=ie["__core-js_shared__"],ye=Function.prototype.toString,be=ve.hasOwnProperty,me=(fe=/[^.]+$/.exec(ge&&ge.keys&&ge.keys.IE_PROTO||""))?"Symbol(src)_1."+fe:"",Ee=ve.toString,je=ye.call(Object),xe=RegExp("^"+ye.call(be).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ce=ce?ie.Buffer:Mt,Le=ie.Symbol,_e=ie.Uint8Array,we=Ce?Ce.a:Mt,Ae=h(Object.getPrototypeOf),Oe=Object.create,Se=ve.propertyIsEnumerable,ke=de.splice,Ie=Le?Le.isConcatSpreadable:Mt,Re=Le?Le.toStringTag:Mt,Te=function(){try{var t=Q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),De=Object.getOwnPropertySymbols,Ue=Ce?Ce.isBuffer:Mt,Pe=h(Object.keys),Fe=Math.max,Ne=Date.now,Me=Q(ie,"DataView"),Ve=Q(ie,"Map"),qe=Q(ie,"Promise"),ze=Q(ie,"Set"),$e=Q(ie,"WeakMap"),Be=Q(Object,"create"),We=at(Me),Ge=at(Ve),He=at(qe),Je=at(ze),Ye=at($e),Ke=Le?Le.prototype:Mt,Qe=Ke?Ke.valueOf:Mt,Xe=Ke?Ke.toString:Mt,Ze=function(t){return bt(t)?Oe?Oe(t):(tn.prototype=t,t=new tn,tn.prototype=Mt,t):{}};function tn(){}v.prototype.clear=function(){this.__data__=Be?Be(null):{},this.size=0},v.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},v.prototype.get=function(t){var e=this.__data__;return Be?"__lodash_hash_undefined__"===(t=e[t])?Mt:t:be.call(e,t)?e[t]:Mt},v.prototype.has=function(t){var e=this.__data__;return Be?e[t]!==Mt:be.call(e,t)},v.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Be&&e===Mt?"__lodash_hash_undefined__":e,this},g.prototype.clear=function(){this.__data__=[],this.size=0},g.prototype.delete=function(t){var e=this.__data__;return!((t=C(e,t))<0||(t==e.length-1?e.pop():ke.call(e,t,1),--this.size,0))},g.prototype.get=function(t){var e=this.__data__;return(t=C(e,t))<0?Mt:e[t][1]},g.prototype.has=function(t){return-1<C(this.__data__,t)},g.prototype.set=function(t,e){var n=this.__data__,r=C(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},y.prototype.clear=function(){this.size=0,this.__data__={hash:new v,map:new(Ve||g),string:new v}},y.prototype.delete=function(t){return t=K(this,t).delete(t),this.size-=t?1:0,t},y.prototype.get=function(t){return K(this,t).get(t)},y.prototype.has=function(t){return K(this,t).has(t)},y.prototype.set=function(t,e){var n=K(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},b.prototype.add=b.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},b.prototype.has=function(t){return this.__data__.has(t)},m.prototype.clear=function(){this.__data__=new g,this.size=0},m.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},m.prototype.get=function(t){return this.__data__.get(t)},m.prototype.has=function(t){return this.__data__.has(t)},m.prototype.set=function(t,e){var n=this.__data__;if(n instanceof g){var r=n.__data__;if(!Ve||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new y(r)}return n.set(t,e),this.size=n.size,this};var en=function(t,e,n){for(var r=-1,o=Object(t),i=(n=n(t)).length;i--;){var s=n[++r];if(!1===e(o[s],s,o))break}return t},nn=Te?function(t,e){return Te(t,"toString",{configurable:!0,enumerable:!1,value:Tt(e),writable:!0})}:Dt,rn=De?function(t){return null==t?[]:(t=Object(t),n(De(t),(function(e){return Se.call(t,e)})))}:Ft,on=De?function(t){for(var e=[];t;)i(e,rn(t)),t=Ae(t);return e}:Ft,sn=O;(Me&&"[object DataView]"!=sn(new Me(new ArrayBuffer(1)))||Ve&&"[object Map]"!=sn(new Ve)||qe&&"[object Promise]"!=sn(qe.resolve())||ze&&"[object Set]"!=sn(new ze)||$e&&"[object WeakMap]"!=sn(new $e))&&(sn=function(t){var e=O(t);if(t=(t="[object Object]"==e?t.constructor:Mt)?at(t):"")switch(t){case We:return"[object DataView]";case Ge:return"[object Map]";case He:return"[object Promise]";case Je:return"[object Set]";case Ye:return"[object WeakMap]"}return e});var an,cn,un,fn,ln,hn,pn=(fn=nn,hn=ln=0,function(){var t=Ne(),e=16-(t-hn);if(hn=t,0<e){if(800<=++ln)return arguments[0]}else ln=0;return fn.apply(Mt,arguments)}),dn=(un=(cn=lt(cn=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Bt,(function(t,n,r,o){e.push(r?o.replace(Gt,"$1"):n||t)})),e},(function(t){return 500===un.size&&un.clear(),t}))).cache,cn),vn=(an=ct,function(t,e,n){var r=Object(t);if(!dt(t)){var o=Y(e,3);t=kt(t),e=function(t){return o(r[t],t,r)}}return-1<(e=an(t,e,n))?r[o?t[e]:e]:Mt});lt.Cache=y;var gn,yn=I(function(){return arguments}())?I:function(t){return mt(t)&&be.call(t,"callee")&&!Se.call(t,"callee")},bn=Array.isArray,mn=Ue||Nt,En=le?f(le):function(t){return mt(t)&&"[object Map]"==sn(t)},jn=he?f(he):function(t){return mt(t)&&"[object Set]"==sn(t)},xn=pe?f(pe):function(t){return mt(t)&&yt(t.length)&&!!Zt[O(t)]},Cn=B((function(t,e,n){U(t,e,n)})),Ln=B((function(t,e,n,r){U(t,e,n,r)})),_n=pn(it(gn=function(t,e){var n={};if(null==t)return n;var r=!1;e=o(e,(function(e){return e=N(e,t),r=r||1<e.length,e})),$(t,J(t),n),r&&(n=_(n,7,W));for(var i=e.length;i--;)F(n,e[i]);return n},Mt,ut),gn+"");d.constant=Tt,d.flatten=ut,d.iteratee=Ut,d.keys=kt,d.keysIn=It,d.memoize=lt,d.merge=Cn,d.mergeWith=Ln,d.negate=ht,d.omit=_n,d.property=Pt,d.reject=function(t,e){return(bn(t)?n:function(t,e){var n=[];return function(t,e){if(null==t)return t;if(!dt(t))return function(t,e){return t&&en(t,e,kt)}(t,e);for(var n=t.length,r=-1,o=Object(t);++r<n&&!1!==e(o[r],r,o););}(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n})(t,ht(Y(e,3)))},d.toPlainObject=wt,d.values=Rt,d.cloneDeep=function(t){return _(t,5)},d.cloneDeepWith=function(t,e){return _(t,5,e="function"==typeof e?e:Mt)},d.eq=pt,d.find=vn,d.findIndex=ct,d.get=Ot,d.has=function(t,e){return null!=t&&X(t,e,S)},d.hasIn=St,d.identity=Dt,d.includes=function(t,e,n,r){if(t=dt(t)?t:Rt(t),n=n&&!r?Lt(n):0,r=t.length,n<0&&(n=Fe(r+n,0)),jt(t))t=n<=r&&-1<t.indexOf(e,n);else{if(r=!!r){if(e==e)t:{for(n-=1,r=t.length;++n<r;)if(t[n]===e){t=n;break t}t=-1}else t=c(t,u,n);r=-1<t}t=r}return t},d.isArguments=yn,d.isArray=bn,d.isArrayLike=dt,d.isArrayLikeObject=vt,d.isBuffer=mn,d.isEmpty=function(t){if(null==t)return!0;if(dt(t)&&(bn(t)||"string"==typeof t||"function"==typeof t.splice||mn(t)||xn(t)||yn(t)))return!t.length;var e=sn(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(rt(t))return!D(t).length;for(var n in t)if(be.call(t,n))return!1;return!0},d.isEqual=function(t,e){return R(t,e)},d.isFunction=gt,d.isLength=yt,d.isMap=En,d.isNull=function(t){return null===t},d.isObject=bt,d.isObjectLike=mt,d.isPlainObject=Et,d.isSet=jn,d.isString=jt,d.isSymbol=xt,d.isTypedArray=xn,d.last=ft,d.stubArray=Ft,d.stubFalse=Nt,d.toFinite=Ct,d.toInteger=Lt,d.toNumber=_t,d.toString=At,d.VERSION="4.17.5",ae&&((ae.exports=d)._=d,se._=d)}).call(this)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){e.exports={itemType:{DATA:"data",FCTN:"fctn",EVENT:"event",LISTENER_ON:"listenerOn",LISTENER_OFF:"listenerOff"},dataLayerEvent:{CHANGE:"adobeDataLayer:change",EVENT:"adobeDataLayer:event"},listenerScope:{PAST:"past",FUTURE:"future",ALL:"all"}}},{}],3:[function(t,e,n){var r=t("../custom-lodash"),i=t("../version.json").version,s=r.cloneDeep,a=r.get,c=t("./item"),u=t("./listener"),f=t("./listenerManager"),l=t("./constants"),h=t("./utils/customMerge");e.exports=function(t){var e,n,r=t||{},p=[],d={},v={getState:function(){return d},getDataLayer:function(){return p}};function g(t){d=h(d,t.data)}function y(t){function n(t){return 0===p.length||t.index>p.length-1?[]:p.slice(0,t.index).map((function(t){return c(t)}))}t.valid?{data:function(t){g(t),e.triggerListeners(t)},fctn:function(t){t.config.call(p,p)},event:function(t){t.data&&g(t),e.triggerListeners(t)},listenerOn:function(t){var r=u(t);switch(r.scope){case l.listenerScope.PAST:var i,s=o(n(t));try{for(s.s();!(i=s.n()).done;){var a=i.value;e.triggerListener(r,a)}}catch(t){s.e(t)}finally{s.f()}break;case l.listenerScope.FUTURE:e.register(r);break;case l.listenerScope.ALL:if(e.register(r)){var c,f=o(n(t));try{for(f.s();!(c=f.n()).done;){var h=c.value;e.triggerListener(r,h)}}catch(t){f.e(t)}finally{f.f()}}}},listenerOff:function(t){e.unregister(u(t))}}[t.type](t):b(t)}function b(t){var e="The following item cannot be handled by the data layer because it does not have a valid format: "+JSON.stringify(t.config);console.error(e)}return Array.isArray(r.dataLayer)||(r.dataLayer=[]),n=r.dataLayer.splice(0,r.dataLayer.length),(p=r.dataLayer).version=i,d={},e=f(v),p.push=function(t){var e=arguments,n=arguments;if(Object.keys(e).forEach((function(t){var r=c(e[t]);switch(r.valid||(b(r),delete n[t]),r.type){case l.itemType.DATA:case l.itemType.EVENT:y(r);break;case l.itemType.FCTN:delete n[t],y(r);break;case l.itemType.LISTENER_ON:case l.itemType.LISTENER_OFF:delete n[t]}})),n[0])return Array.prototype.push.apply(this,n)},p.getState=function(t){return t?a(s(d),t):s(d)},p.addEventListener=function(t,e,n){y(c({on:t,handler:e,scope:n&&n.scope,path:n&&n.path}))},p.removeEventListener=function(t,e){y(c({off:t,handler:e}))},function(){for(var t=0;t<n.length;t++)p.push(n[t])}(),v}},{"../custom-lodash":1,"../version.json":14,"./constants":2,"./item":5,"./listener":7,"./listenerManager":8,"./utils/customMerge":10}],4:[function(t,e,n){var r={Manager:t("./dataLayerManager")};window.adobeDataLayer=window.adobeDataLayer||[],window.adobeDataLayer.version?console.warn("Adobe Client Data Layer v".concat(window.adobeDataLayer.version," has already been imported/initialized on this page. You may be erroneously loading it a second time.")):r.Manager({dataLayer:window.adobeDataLayer}),e.exports=r},{"./dataLayerManager":3}],5:[function(t,e,n){var r=t("../custom-lodash"),o=r.isPlainObject,i=r.isEmpty,s=r.omit,a=r.find,c=t("./utils/dataMatchesContraints"),u=t("./itemConstraints"),f=t("./constants");e.exports=function(t,e){var n=t,r=e,l=a(Object.keys(u),(function(t){return c(n,u[t])}))||"function"==typeof n&&f.itemType.FCTN||o(n)&&f.itemType.DATA,h=function(){var t=s(n,Object.keys(u.event));if(!i(t))return t}();return{config:n,type:l,data:h,valid:!!l,index:r}}},{"../custom-lodash":1,"./constants":2,"./itemConstraints":6,"./utils/dataMatchesContraints":11}],6:[function(t,e,n){e.exports={event:{event:{type:"string"},eventInfo:{optional:!0}},listenerOn:{on:{type:"string"},handler:{type:"function"},scope:{type:"string",values:["past","future","all"],optional:!0},path:{type:"string",optional:!0}},listenerOff:{off:{type:"string"},handler:{type:"function",optional:!0},scope:{type:"string",values:["past","future","all"],optional:!0},path:{type:"string",optional:!0}}}},{}],7:[function(t,e,n){var r=t("./constants");e.exports=function(t){return{event:t.config.on||t.config.off,handler:t.config.handler||null,scope:t.config.scope||t.config.on&&r.listenerScope.ALL||null,path:t.config.path||null}}},{"./constants":2}],8:[function(t,e,n){var r=t("../custom-lodash").cloneDeep,i=t("./constants"),s=t("./utils/listenerMatch"),a=t("./utils/indexOfListener");e.exports=function(t){var e={},n=t,c=a.bind(null,e);function u(t,e){if(s(t,e)){var o=[r(e.config)];t.handler.apply(n.getDataLayer(),o)}}return{register:function(t){var n=t.event;return Object.prototype.hasOwnProperty.call(e,n)?-1===c(t)&&(e[t.event].push(t),!0):(e[t.event]=[t],!0)},unregister:function(t){var n=t.event;if(Object.prototype.hasOwnProperty.call(e,n))if(t.handler||t.scope||t.path){var r=c(t);-1<r&&e[n].splice(r,1)}else e[n]=[]},triggerListeners:function(t){(function(t){var e=[];switch(t.type){case i.itemType.DATA:e.push(i.dataLayerEvent.CHANGE);break;case i.itemType.EVENT:e.push(i.dataLayerEvent.EVENT),t.data&&e.push(i.dataLayerEvent.CHANGE),t.config.event!==i.dataLayerEvent.CHANGE&&e.push(t.config.event)}return e})(t).forEach((function(n){if(Object.prototype.hasOwnProperty.call(e,n)){var r,i=o(e[n]);try{for(i.s();!(r=i.n()).done;)u(r.value,t)}catch(n){i.e(n)}finally{i.f()}}}))},triggerListener:function(t,e){u(t,e)}}}},{"../custom-lodash":1,"./constants":2,"./utils/indexOfListener":12,"./utils/listenerMatch":13}],9:[function(t,e,n){var r=t("../../custom-lodash"),o=r.has,i=r.get;e.exports=function(t,e){for(var n=e.substring(0,e.lastIndexOf("."));n;){if(o(t,n)&&null==i(t,n))return!0;n=n.substring(0,n.lastIndexOf("."))}return!1}},{"../../custom-lodash":1}],10:[function(t,e,n){var r=t("../../custom-lodash"),o=r.cloneDeepWith,i=r.isObject,s=r.isArray,a=r.reject,c=r.mergeWith,u=r.isNull;e.exports=function(t,e){return c(t,e,(function(t,e,n,r){if(null==e)return null})),function(t,e){return o(t,(n=1<arguments.length&&void 0!==e?e:function(t){return!t},function t(e,r,c,u){if(i(e)){if(s(e))return a(e,n).map((function(e){return o(e,t)}));for(var f={},l=0,h=Object.keys(e);l<h.length;l++){var p=h[l];n(e[p])||(f[p]=o(e[p],t))}return f}}));var n}(t,u)}},{"../../custom-lodash":1}],11:[function(t,e,n){var r=t("../../custom-lodash"),o=r.find,i=r.includes;e.exports=function(t,e){return void 0===o(Object.keys(e),(function(n){var r=e[n].type,o=n&&e[n].values,s=!e[n].optional,c=t[n],u=a(c),f=r&&u!==r,l=o&&!i(o,c);return s?!c||f||l:c&&(f||l)}))}},{"../../custom-lodash":1}],12:[function(t,e,n){var i=t("../../custom-lodash").isEqual;e.exports=function(t,e){var n=e.event;if(Object.prototype.hasOwnProperty.call(t,n)){var s,a=o(t[n].entries());try{for(a.s();!(s=a.n()).done;){var c=r(s.value,2),u=c[0],f=c[1];if(i(f.handler,e.handler))return u}}catch(t){a.e(t)}finally{a.f()}}return-1}},{"../../custom-lodash":1}],13:[function(t,e,n){var r=t("../../custom-lodash").has,o=t("../constants"),i=t("./ancestorRemoved");function s(t,e){return!e.data||!t.path||r(e.data,t.path)||i(e.data,t.path)}e.exports=function(t,e){var n=t.event,r=e.config,i=!1;return e.type===o.itemType.DATA?n===o.dataLayerEvent.CHANGE&&(i=s(t,e)):e.type===o.itemType.EVENT&&(n!==o.dataLayerEvent.EVENT&&n!==r.event||(i=s(t,e)),e.data&&n===o.dataLayerEvent.CHANGE&&(i=s(t,e))),i}},{"../../custom-lodash":1,"../constants":2,"./ancestorRemoved":9}],14:[function(t,e,n){e.exports={version:"2.0.2"}},{}]},{},[4])}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r={};return(()=>{n.d(r,{default:()=>ht}),n(525);class t{setContext(t,e){window.adobeDataLayer.push({[t]:null}),window.adobeDataLayer.push({[t]:e})}getContext(t){return window.adobeDataLayer.getState?window.adobeDataLayer.getState(t):{}}addEventListener(t,e,n){window.adobeDataLayer.push((r=>{r.addEventListener(t,e,n)}))}removeEventListener(t,e){window.adobeDataLayer.push((n=>{n.removeEventListener(t,e)}))}pushEvent(t,e={}){window.adobeDataLayer.push((n=>{n.push({event:t,eventInfo:Object.assign(Object.assign({},this.getContext()),e)})}))}}const e="aepContext",o="accountContext",i="changedProductsContext",s="categoryContext",a="customUrlContext",c="dataServicesExtensionContext",u="debugContext",f="eventForwardingContext",l="experiencePlatformConnectorExtensionContext",h="magentoExtensionContext",p="orderContext",d="orderPageContext",v="pageContext",g="productContext",y="recommendationsContext",b="recommendationsExtensionContext",m="referrerUrlContext",E="requisitionListContext",j="requisitionListItemsContext",x="searchExtensionContext",C="searchInputContext",L="searchResultsContext",_="shopperContext",w="shoppingCartContext",A="storefrontInstanceContext";class O extends t{getAEP(){return this.getContext(e)}setAEP(t){this.setContext(e,t)}getAccount(){return this.getContext(o)}setAccount(t){this.setContext(o,t)}getChangedProducts(){return this.getContext(i)}setChangedProducts(t){this.setContext(i,t)}getCategory(){return this.getContext(s)}setCategory(t){this.setContext(s,t)}getDebug(){return this.getContext(u)}setDebug(t){this.setContext(u,t)}getEventForwarding(){return this.getContext(f)}setEventForwarding(t){this.setContext(f,t)}getExperiencePlatformConnectorExtension(){return this.getContext(l)}setExperiencePlatformConnectorExtension(t){this.setContext(l,t)}getCustomUrl(){return this.getContext(a)}setCustomUrl(t){this.setContext(a,t)}getDataServicesExtension(){return this.getContext(c)}setDataServicesExtension(t){this.setContext(c,t)}getMagentoExtension(){return this.getContext(h)}setMagentoExtension(t){this.setContext(h,t)}getOrder(){return this.getContext(p)}setOrder(t){this.setContext(p,t)}getOrderPage(){return this.getContext(d)}setOrderPage(t){this.setContext(d,t)}getPage(){return this.getContext(v)}setPage(t){this.setContext(v,t)}getProduct(){return this.getContext(g)}setProduct(t){this.setContext(g,t)}getRecommendations(){return this.getContext(y)}setRecommendations(t){this.setContext(y,t)}getRecommendationsExtension(){return this.getContext(b)}setRecommendationsExtension(t){this.setContext(b,t)}getReferrerUrl(){return this.getContext(m)}setReferrerUrl(t){this.setContext(m,t)}getRequisitionList(){return this.getContext(E)}setRequisitionList(t){this.setContext(E,t)}getRequisitionListItems(){return this.getContext(j)}setRequisitionListItems(t){this.setContext(j,t)}getSearchExtension(){return this.getContext(x)}setSearchExtension(t){this.setContext(x,t)}getSearchInput(){return this.getContext(C)}setSearchInput(t){this.setContext(C,t)}getSearchResults(){return this.getContext(L)}setSearchResults(t){this.setContext(L,t)}getShopper(){return this.getContext(_)}setShopper(t){this.setContext(_,t)}getShoppingCart(){return this.getContext(w)}setShoppingCart(t){this.setContext(w,t)}getStorefrontInstance(){return this.getContext(A)}setStorefrontInstance(t){this.setContext(A,t)}getContext(t){return super.getContext(t)}setContext(t,e){super.setContext(t,e)}}const S="add-to-cart",k="add-to-requisition-list",I="create-account",R="create-requisition-list",T="commerce-custom",D="custom-url",U="adobeDataLayer:change",P="adobeDataLayer:event",F="edit-account",N="initiate-checkout",M="open-cart",V="page-activity-summary",q="page-view",z="place-order",$="product-page-view",B="recs-item-click",W="recs-item-add-to-cart-click",G="recs-api-request-sent",H="recs-api-response-received",J="recs-unit-impression-render",Y="recs-unit-view",K="referrer-url",Q="remove-from-cart",X="remove-from-requisition-list",Z="search-category-click",tt="search-product-click",et="search-request-sent",nt="search-response-received",rt="search-results-view",ot="search-suggestion-click",it="shopping-cart-view",st="sign-in",at="sign-out",ct="update-cart";class ut extends t{addToCart(t){this.pushEvent(S,{customContext:t})}addToRequisitionList(t){this.pushEvent(k,{customContext:t})}createAccount(t){this.pushEvent(I,{customContext:t})}createRequisitionList(t){this.pushEvent(R,{customContext:t})}custom(t){this.pushEvent(T,{customContext:t})}customUrl(t){this.pushEvent(D,{customContext:t})}editAccount(t){this.pushEvent(F,{customContext:t})}initiateCheckout(t){this.pushEvent(N,{customContext:t})}openCart(t){this.pushEvent(M,{customContext:t})}pageActivitySummary(t){this.pushEvent(V,{customContext:t})}pageView(t){this.pushEvent(q,{customContext:t})}placeOrder(t){this.pushEvent(z,{customContext:t})}productPageView(t){this.pushEvent($,{customContext:t})}recsItemAddToCartClick(t,e,n){this.pushEvent(W,{unitId:t,productId:e,customContext:n})}recsItemClick(t,e,n){this.pushEvent(B,{unitId:t,productId:e,customContext:n})}recsRequestSent(t){this.pushEvent(G,{customContext:t})}recsResponseReceived(t){this.pushEvent(H,{customContext:t})}recsUnitRender(t,e){this.pushEvent(J,{unitId:t,customContext:e})}recsUnitView(t,e){this.pushEvent(Y,{unitId:t,customContext:e})}referrerUrl(t){this.pushEvent(K,{customContext:t})}removeFromCart(t){this.pushEvent(Q,{customContext:t})}removeFromRequisitionList(t){this.pushEvent(X,{customContext:t})}searchCategoryClick(t,e,n){this.pushEvent(Z,{searchUnitId:t,name:e,customContext:n})}searchProductClick(t,e,n){this.pushEvent(tt,{searchUnitId:t,sku:e,customContext:n})}searchRequestSent(t,e){this.pushEvent(et,{searchUnitId:t,customContext:e})}searchResponseReceived(t,e){this.pushEvent(nt,{searchUnitId:t,customContext:e})}searchResultsView(t,e){this.pushEvent(rt,{searchUnitId:t,customContext:e})}searchSuggestionClick(t,e,n){this.pushEvent(ot,{searchUnitId:t,suggestion:e,customContext:n})}shoppingCartView(t){this.pushEvent(it,{customContext:t})}signIn(t){this.pushEvent(st,{customContext:t})}signOut(t){this.pushEvent(at,{customContext:t})}updateCart(t){this.pushEvent(ct,{customContext:t})}}class ft extends t{addToCart(t,e){this.addEventListener(S,t,e)}addToRequisitionList(t,e){this.addEventListener(k,t,e)}createAccount(t,e){this.addEventListener(I,t,e)}createRequisitionList(t,e){this.addEventListener(R,t,e)}custom(t,e){this.addEventListener(T,t,e)}customUrl(t,e){this.addEventListener(D,t,e)}editAccount(t,e){this.addEventListener(F,t,e)}dataLayerChange(t,e){this.addEventListener(U,t,e)}dataLayerEvent(t,e){this.addEventListener(P,t,e)}initiateCheckout(t,e){this.addEventListener(N,t,e)}openCart(t,e){this.addEventListener(M,t,e)}pageActivitySummary(t,e){this.addEventListener(V,t,e)}pageView(t,e){this.addEventListener(q,t,e)}placeOrder(t,e){this.addEventListener(z,t,e)}productPageView(t,e){this.addEventListener($,t,e)}recsItemAddToCartClick(t,e){this.addEventListener(W,t,e)}recsItemClick(t,e){this.addEventListener(B,t,e)}recsRequestSent(t,e){this.addEventListener(G,t,e)}recsResponseReceived(t,e){this.addEventListener(H,t,e)}recsUnitRender(t,e){this.addEventListener(J,t,e)}recsUnitView(t,e){this.addEventListener(Y,t,e)}referrerUrl(t,e){this.addEventListener(K,t,e)}removeFromCart(t,e){this.addEventListener(Q,t,e)}removeFromRequisitionList(t,e){this.addEventListener(X,t,e)}searchCategoryClick(t){this.addEventListener(Z,t)}searchProductClick(t){this.addEventListener(tt,t)}searchRequestSent(t){this.addEventListener(et,t)}searchResponseReceived(t){this.addEventListener(nt,t)}searchResultsView(t){this.addEventListener(rt,t)}searchSuggestionClick(t){this.addEventListener(ot,t)}shoppingCartView(t){this.addEventListener(it,t)}signIn(t,e){this.addEventListener(st,t,e)}signOut(t,e){this.addEventListener(at,t,e)}updateCart(t){this.addEventListener(ct,t)}}class lt extends t{addToCart(t){this.removeEventListener(S,t)}addToRequisitionList(t){this.removeEventListener(k,t)}createAccount(t){this.removeEventListener(I,t)}createRequisitionList(t){this.removeEventListener(R,t)}custom(t){this.removeEventListener(T,t)}customUrl(t){this.removeEventListener(D,t)}editAccount(t){this.removeEventListener(F,t)}dataLayerChange(t){this.removeEventListener(U,t)}dataLayerEvent(t){this.removeEventListener(P,t)}initiateCheckout(t){this.removeEventListener(N,t)}openCart(t){this.removeEventListener(M,t)}pageActivitySummary(t){this.removeEventListener(V,t)}pageView(t){this.removeEventListener(q,t)}placeOrder(t){this.removeEventListener(z,t)}productPageView(t){this.removeEventListener($,t)}recsItemAddToCartClick(t){this.removeEventListener(W,t)}recsItemClick(t){this.removeEventListener(B,t)}recsRequestSent(t){this.removeEventListener(G,t)}recsResponseReceived(t){this.removeEventListener(H,t)}recsUnitRender(t){this.removeEventListener(J,t)}recsUnitView(t){this.removeEventListener(Y,t)}referrerUrl(t){this.removeEventListener(K,t)}removeFromCart(t){this.removeEventListener(Q,t)}removeFromRequisitionList(t){this.removeEventListener(X,t)}searchCategoryClick(t){this.removeEventListener(Z,t)}searchProductClick(t){this.removeEventListener(tt,t)}searchRequestSent(t){this.removeEventListener(et,t)}searchResponseReceived(t){this.removeEventListener(nt,t)}searchResultsView(t){this.removeEventListener(rt,t)}searchSuggestionClick(t){this.removeEventListener(ot,t)}shoppingCartView(t){this.removeEventListener(it,t)}signIn(t){this.removeEventListener(st,t)}signOut(t){this.removeEventListener(at,t)}updateCart(t){this.removeEventListener(ct,t)}}const ht=new class{constructor(){this.context=new O,this.publish=new ut,this.subscribe=new ft,this.unsubscribe=new lt,window.adobeDataLayer=window.adobeDataLayer||[],window.postMessage("magento-storefront-events-sdk","*")}}})(),r.default})()));
2
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("magentoStorefrontEvents",[],e):"object"==typeof exports?exports.magentoStorefrontEvents=e():t.magentoStorefrontEvents=e()}(self,(()=>(()=>{"use strict";var t={525:(t,e,n)=>{function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,e)||i(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=i(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,s=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function i(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function t(e,n,r){function o(s,a){if(!n[s]){if(!e[s]){if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};e[s][0].call(u.exports,(function(t){return o(e[s][1][t]||t)}),u,u.exports,t,e,n,r)}return n[s].exports}for(var i=void 0,s=0;s<r.length;s++)o(r[s]);return o}({1:[function(t,e,r){(function(t){(function(){function n(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var s=t[n];e(s,n,t)&&(i[o++]=s)}return i}function o(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function i(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function s(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function c(t,e,n){var r=t.length;for(n+=-1;++n<r;)if(e(t[n],n,t))return n;return-1}function u(t){return t!=t}function f(t){return function(e){return t(e)}}function l(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function h(t){var e=Object;return function(n){return t(e(n))}}function p(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function d(){}function v(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function g(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function y(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function b(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new y;++e<n;)this.add(t[e])}function m(t){this.size=(this.__data__=new g(t)).size}function E(t,e){var n,r=bn(t),o=!r&&yn(t),i=!r&&!o&&mn(t),s=!r&&!o&&!i&&xn(t);if(r=r||o||i||s){o=t.length;for(var a=String,c=-1,u=Array(o);++c<o;)u[c]=a(c);o=u}else o=[];for(n in a=o.length,t)!e&&!be.call(t,n)||r&&("length"==n||i&&("offset"==n||"parent"==n)||s&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||et(n,a))||o.push(n);return o}function j(t,e,n){(n===Mt||pt(t[e],n))&&(n!==Mt||e in t)||L(t,e,n)}function x(t,e,n){var r=t[e];be.call(t,e)&&pt(r,n)&&(n!==Mt||e in t)||L(t,e,n)}function C(t,e){for(var n=t.length;n--;)if(pt(t[n][0],e))return n;return-1}function L(t,e,n){"__proto__"==e&&Te?Te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function _(t,e,n,r,o,i){var s,a=1&e,c=2&e,u=4&e;if(n&&(s=o?n(t,r,o,i):n(t)),s!==Mt)return s;if(!bt(t))return t;if(r=bn(t)){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&be.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!a)return z(t,s)}else{var f=sn(t),l="[object Function]"==f||"[object GeneratorFunction]"==f;if(mn(t))return M(t,a);if("[object Object]"==f||"[object Arguments]"==f||l&&!o){if(s=c||l?{}:Z(t),!a)return c?function(t,e){return $(t,on(t),e)}(t,function(t,e){return t&&$(e,kt(e),t)}(s,t)):function(t,e){return $(t,rn(t),e)}(t,function(t,e){return t&&$(e,Rt(e),t)}(s,t))}else{if(!te[f])return o?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return V(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return e=n?V(t.buffer):t.buffer,new t.constructor(e,t.byteOffset,t.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return q(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return(e=new t.constructor(t.source,Ht.exec(t))).lastIndex=t.lastIndex,e;case"[object Symbol]":return Qe?Object(Qe.call(t)):{}}}(t,f,a)}}if(o=(i=i||new m).get(t))return o;if(i.set(t,s),jn(t))return t.forEach((function(r){s.add(_(r,e,n,r,t,i))})),s;if(En(t))return t.forEach((function(r,o){s.set(o,_(r,e,n,o,t,i))})),s;c=u?c?J:H:c?kt:Rt;var h=r?Mt:c(t);return function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n););}(h||t,(function(r,o){h&&(r=t[o=r]),x(s,o,_(r,e,n,o,t,i))})),s}function w(t,e){for(var n=0,r=(e=N(e,t)).length;null!=t&&n<r;)t=t[st(e[n++])];return n&&n==r?t:Mt}function A(t,e,n){return e=e(t),bn(t)?e:i(e,n(t))}function O(t){if(null==t)t=t===Mt?"[object Undefined]":"[object Null]";else if(Ie&&Ie in Object(t)){var e=be.call(t,Ie),n=t[Ie];try{t[Ie]=Mt;var r=!0}catch(t){}var o=Ee.call(t);r&&(e?t[Ie]=n:delete t[Ie]),t=o}else t=Ee.call(t);return t}function S(t,e){return null!=t&&be.call(t,e)}function R(t,e){return null!=t&&e in Object(t)}function k(t){return mt(t)&&"[object Arguments]"==O(t)}function I(t,e,n,r,o){if(t===e)e=!0;else if(null==t||null==e||!mt(t)&&!mt(e))e=t!=t&&e!=e;else t:{var i,s,a=bn(t),c=bn(e),u="[object Object]"==(i="[object Arguments]"==(i=a?"[object Array]":sn(t))?"[object Object]":i);if(c="[object Object]"==(s="[object Arguments]"==(s=c?"[object Array]":sn(e))?"[object Object]":s),(s=i==s)&&mn(t)){if(!mn(e)){e=!1;break t}u=!(a=!0)}if(s&&!u)o=o||new m,e=a||xn(t)?G(t,e,n,r,I,o):function(t,e,n,r,o,i,s){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!i(new _e(t),new _e(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return pt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=l;case"[object Set]":if(a=a||p,t.size!=e.size&&!(1&r))break;return(n=s.get(t))?n==e:(r|=2,s.set(t,e),e=G(a(t),a(e),r,o,i,s),s.delete(t),e);case"[object Symbol]":if(Qe)return Qe.call(t)==Qe.call(e)}return!1}(t,e,i,n,r,I,o);else{if(!(1&n)&&(a=u&&be.call(t,"__wrapped__"),i=c&&be.call(e,"__wrapped__"),a||i)){e=I(t=a?t.value():t,e=i?e.value():e,n,r,o=o||new m);break t}if(s)e:if(o=o||new m,a=1&n,i=H(t),c=i.length,s=H(e).length,c==s||a){for(u=c;u--;){var f=i[u];if(!(a?f in e:be.call(e,f))){e=!1;break e}}if((s=o.get(t))&&o.get(e))e=s==e;else{s=!0,o.set(t,e),o.set(e,t);for(var h=a;++u<c;){var d=t[f=i[u]],v=e[f];if(r)var g=a?r(v,d,f,e,t,o):r(d,v,f,t,e,o);if(g===Mt?d!==v&&!I(d,v,n,r,o):!g){s=!1;break}h=h||"constructor"==f}s&&!h&&(n=t.constructor)!=(r=e.constructor)&&"constructor"in t&&"constructor"in e&&!("function"==typeof n&&n instanceof n&&"function"==typeof r&&r instanceof r)&&(s=!1),o.delete(t),o.delete(e),e=s}}else e=!1;else e=!1}}return e}function T(t){return"function"==typeof t?t:null==t?Dt:"object"==a(t)?bn(t)?function(t,e){return nt(t)&&e==e&&!bt(e)?ot(st(t),e):function(n){var r=Ot(n,t);return r===Mt&&r===e?St(n,t):I(e,r,3)}}(t[0],t[1]):function(t){var e=function(t){for(var e=Rt(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,o==o&&!bt(o)]}return e}(t);return 1==e.length&&e[0][2]?ot(e[0][0],e[0][1]):function(n){return n===t||function(t,e){var n=e.length,r=n;if(null==t)return!r;for(t=Object(t);n--;)if((o=e[n])[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1;for(;++n<r;){var o,i=(o=e[n])[0],s=t[i],a=o[1];if(o[2]){if(s===Mt&&!(i in t))return!1}else if(!I(a,s,3,void 0,o=new m))return!1}return!0}(n,e)}}(t):Pt(t)}function D(t){if(!rt(t))return Pe(t);var e,n=[];for(e in Object(t))be.call(t,e)&&"constructor"!=e&&n.push(e);return n}function U(t,e,n,r,o){t!==e&&en(e,(function(i,s){if(bt(i)){var a=o=o||new m,c="__proto__"==s?Mt:t[s],u="__proto__"==s?Mt:e[s];if(d=a.get(u))j(t,s,d);else{var f=(d=r?r(c,u,s+"",t,e,a):Mt)===Mt;if(f){var l=bn(u),h=!l&&mn(u),p=!l&&!h&&xn(u),d=u;l||h||p?d=bn(c)?c:vt(c)?z(c):h?M(u,!(f=!1)):p?q(u,!(f=!1)):[]:Et(u)||yn(u)?yn(d=c)?d=wt(c):(!bt(c)||n&&gt(c))&&(d=Z(u)):f=!1}f&&(a.set(u,d),U(d,u,n,r,a),a.delete(u)),j(t,s,d)}}else(a=r?r("__proto__"==s?Mt:t[s],i,s+"",t,e,o):Mt)===Mt&&(a=i),j(t,s,a)}),kt)}function P(t){if("string"==typeof t)return t;if(bn(t))return o(t,P)+"";if(xt(t))return Xe?Xe.call(t):"";var e=t+"";return"0"==e&&1/t==-Vt?"-0":e}function F(t,e){var n;if((e=N(e,t)).length<2)n=t;else{var r=0,o=-1,i=-1,s=(n=e).length;for(r<0&&(r=s<-r?0:s+r),(o=s<o?s:o)<0&&(o+=s),s=o<r?0:o-r>>>0,r>>>=0,o=Array(s);++i<s;)o[i]=n[i+r];n=w(t,o)}null==(t=n)||delete t[st(ft(e))]}function N(t,e){return bn(t)?t:nt(t,e)?[t]:dn(At(t))}function M(t,e){if(e)return t.slice();var n=t.length;return n=we?we(n):new t.constructor(n),t.copy(n),n}function V(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function q(t,e){return new t.constructor(e?V(t.buffer):t.buffer,t.byteOffset,t.length)}function z(t,e){var n=-1,r=t.length;for(e=e||Array(r);++n<r;)e[n]=t[n];return e}function $(t,e,n){var r=!n;n=n||{};for(var o=-1,i=e.length;++o<i;){var s=e[o],a=Mt;a===Mt&&(a=t[s]),r?L(n,s,a):x(n,s,a)}return n}function B(t){return function(t){return pn(it(t,void 0,Dt),t+"")}((function(e,n){var r,o=-1,i=n.length,s=1<i?n[i-1]:Mt,c=2<i?n[2]:Mt;if(s=3<t.length&&"function"==typeof s?(i--,s):Mt,r=c){r=n[0];var u=n[1];if(bt(c)){var f=a(u);r=!!("number"==f?dt(c)&&et(u,c.length):"string"==f&&u in c)&&pt(c[u],r)}else r=!1}for(r&&(s=i<3?Mt:s,i=1),e=Object(e);++o<i;)(c=n[o])&&t(e,c,o,s);return e}))}function W(t){return Et(t)?Mt:t}function G(t,e,n,r,o,i){var a=1&n,c=t.length;if(c!=(u=e.length)&&!(a&&c<u))return!1;if((u=i.get(t))&&i.get(e))return u==e;var u=-1,f=!0,l=2&n?new b:Mt;for(i.set(t,e),i.set(e,t);++u<c;){var h=t[u],p=e[u];if(r)var d=a?r(p,h,u,e,t,i):r(h,p,u,t,e,i);if(d!==Mt){if(d)continue;f=!1;break}if(l){if(!s(e,(function(t,e){if(!l.has(e)&&(h===t||o(h,t,n,r,i)))return l.push(e)}))){f=!1;break}}else if(h!==p&&!o(h,p,n,r,i)){f=!1;break}}return i.delete(t),i.delete(e),f}function H(t){return A(t,Rt,rn)}function J(t){return A(t,kt,on)}function Y(t,e){var n=(n=d.iteratee||Ut)===Ut?T:n;return arguments.length?n(t,e):n}function K(t,e){var n=t.__data__,r=a(e);return("string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?n["string"==typeof e?"string":"hash"]:n.map}function Q(t,e){var n=null==t?Mt:t[e];return!bt(n)||me&&me in n||!(gt(n)?xe:Kt).test(at(n))?Mt:n}function X(t,e,n){for(var r=-1,o=(e=N(e,t)).length,i=!1;++r<o;){var s=st(e[r]);if(!(i=null!=t&&n(t,s)))break;t=t[s]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&yt(o)&&et(s,o)&&(bn(t)||yn(t))}function Z(t){return"function"!=typeof t.constructor||rt(t)?{}:Ze(Ae(t))}function tt(t){return bn(t)||yn(t)||!!(ke&&t&&t[ke])}function et(t,e){var n=a(t);return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Xt.test(t))&&-1<t&&0==t%1&&t<e}function nt(t,e){if(bn(t))return!1;var n=a(t);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!xt(t))||$t.test(t)||!zt.test(t)||null!=e&&t in Object(e)}function rt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ve)}function ot(t,e){return function(n){return null!=n&&n[t]===e&&(e!==Mt||t in Object(n))}}function it(t,e,n){return e=Fe(e===Mt?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=Fe(r.length-e,0),s=Array(i);++o<i;)s[o]=r[e+o];for(o=-1,i=Array(e+1);++o<e;)i[o]=r[o];return i[e]=n(s),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,i)}}function st(t){if("string"==typeof t||xt(t))return t;var e=t+"";return"0"==e&&1/t==-Vt?"-0":e}function at(t){if(null==t)return"";try{return ye.call(t)}catch(t){}return t+""}function ct(t,e,n){var r=null==t?0:t.length;return r?((n=null==n?0:Lt(n))<0&&(n=Fe(r+n,0)),c(t,Y(e,3),n)):-1}function ut(t){return null!=t&&t.length?function t(e,n,r,o,s){var a=-1,c=e.length;for(r=r||tt,s=s||[];++a<c;){var u=e[a];0<n&&r(u)?1<n?t(u,n-1,r,o,s):i(s,u):o||(s[s.length]=u)}return s}(t,1):[]}function ft(t){var e=null==t?0:t.length;return e?t[e-1]:Mt}function lt(t,e){function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;return i.has(o)?i.get(o):(r=t.apply(this,r),n.cache=i.set(o,r)||i,r)}if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");return n.cache=new(lt.Cache||y),n}function ht(t){if("function"!=typeof t)throw new TypeError("Expected a function");return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function pt(t,e){return t===e||t!=t&&e!=e}function dt(t){return null!=t&&yt(t.length)&&!gt(t)}function vt(t){return mt(t)&&dt(t)}function gt(t){return!!bt(t)&&("[object Function]"==(t=O(t))||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t)}function yt(t){return"number"==typeof t&&-1<t&&0==t%1&&t<=9007199254740991}function bt(t){var e=a(t);return null!=t&&("object"==e||"function"==e)}function mt(t){return null!=t&&"object"==a(t)}function Et(t){return!(!mt(t)||"[object Object]"!=O(t))&&(null===(t=Ae(t))||"function"==typeof(t=be.call(t,"constructor")&&t.constructor)&&t instanceof t&&ye.call(t)==je)}function jt(t){return"string"==typeof t||!bn(t)&&mt(t)&&"[object String]"==O(t)}function xt(t){return"symbol"==a(t)||mt(t)&&"[object Symbol]"==O(t)}function Ct(t){return t?(t=_t(t))===Vt||t===-Vt?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function Lt(t){var e=(t=Ct(t))%1;return t==t?e?t-e:t:0}function _t(t){if("number"==typeof t)return t;if(xt(t))return qt;if(bt(t)&&(t=bt(t="function"==typeof t.valueOf?t.valueOf():t)?t+"":t),"string"!=typeof t)return 0===t?t:+t;t=t.replace(Wt,"");var e=Yt.test(t);return e||Qt.test(t)?ne(t.slice(2),e?2:8):Jt.test(t)?qt:+t}function wt(t){return $(t,kt(t))}function At(t){return null==t?"":P(t)}function Ot(t,e,n){return(t=null==t?Mt:w(t,e))===Mt?n:t}function St(t,e){return null!=t&&X(t,e,R)}function Rt(t){return dt(t)?E(t):D(t)}function kt(t){if(dt(t))t=E(t,!0);else if(bt(t)){var e,n=rt(t),r=[];for(e in t)("constructor"!=e||!n&&be.call(t,e))&&r.push(e);t=r}else{if(e=[],null!=t)for(n in Object(t))e.push(n);t=e}return t}function It(t){return null==t?[]:function(t,e){return o(e,(function(e){return t[e]}))}(t,Rt(t))}function Tt(t){return function(){return t}}function Dt(t){return t}function Ut(t){return T("function"==typeof t?t:_(t,1))}function Pt(t){return nt(t)?function(t){return function(e){return null==e?Mt:e[t]}}(st(t)):function(t){return function(e){return w(e,t)}}(t)}function Ft(){return[]}function Nt(){return!1}var Mt,Vt=1/0,qt=NaN,zt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$t=/^\w*$/,Bt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wt=/^\s+|\s+$/g,Gt=/\\(\\)?/g,Ht=/\w*$/,Jt=/^[-+]0x[0-9a-f]+$/i,Yt=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,Qt=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,Zt={};Zt["[object Float32Array]"]=Zt["[object Float64Array]"]=Zt["[object Int8Array]"]=Zt["[object Int16Array]"]=Zt["[object Int32Array]"]=Zt["[object Uint8Array]"]=Zt["[object Uint8ClampedArray]"]=Zt["[object Uint16Array]"]=Zt["[object Uint32Array]"]=!0,Zt["[object Arguments]"]=Zt["[object Array]"]=Zt["[object ArrayBuffer]"]=Zt["[object Boolean]"]=Zt["[object DataView]"]=Zt["[object Date]"]=Zt["[object Error]"]=Zt["[object Function]"]=Zt["[object Map]"]=Zt["[object Number]"]=Zt["[object Object]"]=Zt["[object RegExp]"]=Zt["[object Set]"]=Zt["[object String]"]=Zt["[object WeakMap]"]=!1;var te={};te["[object Arguments]"]=te["[object Array]"]=te["[object ArrayBuffer]"]=te["[object DataView]"]=te["[object Boolean]"]=te["[object Date]"]=te["[object Float32Array]"]=te["[object Float64Array]"]=te["[object Int8Array]"]=te["[object Int16Array]"]=te["[object Int32Array]"]=te["[object Map]"]=te["[object Number]"]=te["[object Object]"]=te["[object RegExp]"]=te["[object Set]"]=te["[object String]"]=te["[object Symbol]"]=te["[object Uint8Array]"]=te["[object Uint8ClampedArray]"]=te["[object Uint16Array]"]=te["[object Uint32Array]"]=!0,te["[object Error]"]=te["[object Function]"]=te["[object WeakMap]"]=!1;var ee,ne=parseInt,re="object"==a(t)&&t&&t.Object===Object&&t,oe="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,ie=re||oe||Function("return this")(),se="object"==a(r)&&r&&!r.nodeType&&r,ae=se&&"object"==a(e)&&e&&!e.nodeType&&e,ce=ae&&ae.exports===se,ue=ce&&re.process;t:{try{ee=ue&&ue.binding&&ue.binding("util");break t}catch(f){}ee=void 0}var fe,le=ee&&ee.isMap,he=ee&&ee.isSet,pe=ee&&ee.isTypedArray,de=Array.prototype,ve=Object.prototype,ge=ie["__core-js_shared__"],ye=Function.prototype.toString,be=ve.hasOwnProperty,me=(fe=/[^.]+$/.exec(ge&&ge.keys&&ge.keys.IE_PROTO||""))?"Symbol(src)_1."+fe:"",Ee=ve.toString,je=ye.call(Object),xe=RegExp("^"+ye.call(be).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ce=ce?ie.Buffer:Mt,Le=ie.Symbol,_e=ie.Uint8Array,we=Ce?Ce.a:Mt,Ae=h(Object.getPrototypeOf),Oe=Object.create,Se=ve.propertyIsEnumerable,Re=de.splice,ke=Le?Le.isConcatSpreadable:Mt,Ie=Le?Le.toStringTag:Mt,Te=function(){try{var t=Q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),De=Object.getOwnPropertySymbols,Ue=Ce?Ce.isBuffer:Mt,Pe=h(Object.keys),Fe=Math.max,Ne=Date.now,Me=Q(ie,"DataView"),Ve=Q(ie,"Map"),qe=Q(ie,"Promise"),ze=Q(ie,"Set"),$e=Q(ie,"WeakMap"),Be=Q(Object,"create"),We=at(Me),Ge=at(Ve),He=at(qe),Je=at(ze),Ye=at($e),Ke=Le?Le.prototype:Mt,Qe=Ke?Ke.valueOf:Mt,Xe=Ke?Ke.toString:Mt,Ze=function(t){return bt(t)?Oe?Oe(t):(tn.prototype=t,t=new tn,tn.prototype=Mt,t):{}};function tn(){}v.prototype.clear=function(){this.__data__=Be?Be(null):{},this.size=0},v.prototype.delete=function(t){return t=this.has(t)&&delete this.__data__[t],this.size-=t?1:0,t},v.prototype.get=function(t){var e=this.__data__;return Be?"__lodash_hash_undefined__"===(t=e[t])?Mt:t:be.call(e,t)?e[t]:Mt},v.prototype.has=function(t){var e=this.__data__;return Be?e[t]!==Mt:be.call(e,t)},v.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Be&&e===Mt?"__lodash_hash_undefined__":e,this},g.prototype.clear=function(){this.__data__=[],this.size=0},g.prototype.delete=function(t){var e=this.__data__;return!((t=C(e,t))<0||(t==e.length-1?e.pop():Re.call(e,t,1),--this.size,0))},g.prototype.get=function(t){var e=this.__data__;return(t=C(e,t))<0?Mt:e[t][1]},g.prototype.has=function(t){return-1<C(this.__data__,t)},g.prototype.set=function(t,e){var n=this.__data__,r=C(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},y.prototype.clear=function(){this.size=0,this.__data__={hash:new v,map:new(Ve||g),string:new v}},y.prototype.delete=function(t){return t=K(this,t).delete(t),this.size-=t?1:0,t},y.prototype.get=function(t){return K(this,t).get(t)},y.prototype.has=function(t){return K(this,t).has(t)},y.prototype.set=function(t,e){var n=K(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},b.prototype.add=b.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},b.prototype.has=function(t){return this.__data__.has(t)},m.prototype.clear=function(){this.__data__=new g,this.size=0},m.prototype.delete=function(t){var e=this.__data__;return t=e.delete(t),this.size=e.size,t},m.prototype.get=function(t){return this.__data__.get(t)},m.prototype.has=function(t){return this.__data__.has(t)},m.prototype.set=function(t,e){var n=this.__data__;if(n instanceof g){var r=n.__data__;if(!Ve||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new y(r)}return n.set(t,e),this.size=n.size,this};var en=function(t,e,n){for(var r=-1,o=Object(t),i=(n=n(t)).length;i--;){var s=n[++r];if(!1===e(o[s],s,o))break}return t},nn=Te?function(t,e){return Te(t,"toString",{configurable:!0,enumerable:!1,value:Tt(e),writable:!0})}:Dt,rn=De?function(t){return null==t?[]:(t=Object(t),n(De(t),(function(e){return Se.call(t,e)})))}:Ft,on=De?function(t){for(var e=[];t;)i(e,rn(t)),t=Ae(t);return e}:Ft,sn=O;(Me&&"[object DataView]"!=sn(new Me(new ArrayBuffer(1)))||Ve&&"[object Map]"!=sn(new Ve)||qe&&"[object Promise]"!=sn(qe.resolve())||ze&&"[object Set]"!=sn(new ze)||$e&&"[object WeakMap]"!=sn(new $e))&&(sn=function(t){var e=O(t);if(t=(t="[object Object]"==e?t.constructor:Mt)?at(t):"")switch(t){case We:return"[object DataView]";case Ge:return"[object Map]";case He:return"[object Promise]";case Je:return"[object Set]";case Ye:return"[object WeakMap]"}return e});var an,cn,un,fn,ln,hn,pn=(fn=nn,hn=ln=0,function(){var t=Ne(),e=16-(t-hn);if(hn=t,0<e){if(800<=++ln)return arguments[0]}else ln=0;return fn.apply(Mt,arguments)}),dn=(un=(cn=lt(cn=function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Bt,(function(t,n,r,o){e.push(r?o.replace(Gt,"$1"):n||t)})),e},(function(t){return 500===un.size&&un.clear(),t}))).cache,cn),vn=(an=ct,function(t,e,n){var r=Object(t);if(!dt(t)){var o=Y(e,3);t=Rt(t),e=function(t){return o(r[t],t,r)}}return-1<(e=an(t,e,n))?r[o?t[e]:e]:Mt});lt.Cache=y;var gn,yn=k(function(){return arguments}())?k:function(t){return mt(t)&&be.call(t,"callee")&&!Se.call(t,"callee")},bn=Array.isArray,mn=Ue||Nt,En=le?f(le):function(t){return mt(t)&&"[object Map]"==sn(t)},jn=he?f(he):function(t){return mt(t)&&"[object Set]"==sn(t)},xn=pe?f(pe):function(t){return mt(t)&&yt(t.length)&&!!Zt[O(t)]},Cn=B((function(t,e,n){U(t,e,n)})),Ln=B((function(t,e,n,r){U(t,e,n,r)})),_n=pn(it(gn=function(t,e){var n={};if(null==t)return n;var r=!1;e=o(e,(function(e){return e=N(e,t),r=r||1<e.length,e})),$(t,J(t),n),r&&(n=_(n,7,W));for(var i=e.length;i--;)F(n,e[i]);return n},Mt,ut),gn+"");d.constant=Tt,d.flatten=ut,d.iteratee=Ut,d.keys=Rt,d.keysIn=kt,d.memoize=lt,d.merge=Cn,d.mergeWith=Ln,d.negate=ht,d.omit=_n,d.property=Pt,d.reject=function(t,e){return(bn(t)?n:function(t,e){var n=[];return function(t,e){if(null==t)return t;if(!dt(t))return function(t,e){return t&&en(t,e,Rt)}(t,e);for(var n=t.length,r=-1,o=Object(t);++r<n&&!1!==e(o[r],r,o););}(t,(function(t,r,o){e(t,r,o)&&n.push(t)})),n})(t,ht(Y(e,3)))},d.toPlainObject=wt,d.values=It,d.cloneDeep=function(t){return _(t,5)},d.cloneDeepWith=function(t,e){return _(t,5,e="function"==typeof e?e:Mt)},d.eq=pt,d.find=vn,d.findIndex=ct,d.get=Ot,d.has=function(t,e){return null!=t&&X(t,e,S)},d.hasIn=St,d.identity=Dt,d.includes=function(t,e,n,r){if(t=dt(t)?t:It(t),n=n&&!r?Lt(n):0,r=t.length,n<0&&(n=Fe(r+n,0)),jt(t))t=n<=r&&-1<t.indexOf(e,n);else{if(r=!!r){if(e==e)t:{for(n-=1,r=t.length;++n<r;)if(t[n]===e){t=n;break t}t=-1}else t=c(t,u,n);r=-1<t}t=r}return t},d.isArguments=yn,d.isArray=bn,d.isArrayLike=dt,d.isArrayLikeObject=vt,d.isBuffer=mn,d.isEmpty=function(t){if(null==t)return!0;if(dt(t)&&(bn(t)||"string"==typeof t||"function"==typeof t.splice||mn(t)||xn(t)||yn(t)))return!t.length;var e=sn(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(rt(t))return!D(t).length;for(var n in t)if(be.call(t,n))return!1;return!0},d.isEqual=function(t,e){return I(t,e)},d.isFunction=gt,d.isLength=yt,d.isMap=En,d.isNull=function(t){return null===t},d.isObject=bt,d.isObjectLike=mt,d.isPlainObject=Et,d.isSet=jn,d.isString=jt,d.isSymbol=xt,d.isTypedArray=xn,d.last=ft,d.stubArray=Ft,d.stubFalse=Nt,d.toFinite=Ct,d.toInteger=Lt,d.toNumber=_t,d.toString=At,d.VERSION="4.17.5",ae&&((ae.exports=d)._=d,se._=d)}).call(this)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(t,e,n){e.exports={itemType:{DATA:"data",FCTN:"fctn",EVENT:"event",LISTENER_ON:"listenerOn",LISTENER_OFF:"listenerOff"},dataLayerEvent:{CHANGE:"adobeDataLayer:change",EVENT:"adobeDataLayer:event"},listenerScope:{PAST:"past",FUTURE:"future",ALL:"all"}}},{}],3:[function(t,e,n){var r=t("../custom-lodash"),i=t("../version.json").version,s=r.cloneDeep,a=r.get,c=t("./item"),u=t("./listener"),f=t("./listenerManager"),l=t("./constants"),h=t("./utils/customMerge");e.exports=function(t){var e,n,r=t||{},p=[],d={},v={getState:function(){return d},getDataLayer:function(){return p}};function g(t){d=h(d,t.data)}function y(t){function n(t){return 0===p.length||t.index>p.length-1?[]:p.slice(0,t.index).map((function(t){return c(t)}))}t.valid?{data:function(t){g(t),e.triggerListeners(t)},fctn:function(t){t.config.call(p,p)},event:function(t){t.data&&g(t),e.triggerListeners(t)},listenerOn:function(t){var r=u(t);switch(r.scope){case l.listenerScope.PAST:var i,s=o(n(t));try{for(s.s();!(i=s.n()).done;){var a=i.value;e.triggerListener(r,a)}}catch(t){s.e(t)}finally{s.f()}break;case l.listenerScope.FUTURE:e.register(r);break;case l.listenerScope.ALL:if(e.register(r)){var c,f=o(n(t));try{for(f.s();!(c=f.n()).done;){var h=c.value;e.triggerListener(r,h)}}catch(t){f.e(t)}finally{f.f()}}}},listenerOff:function(t){e.unregister(u(t))}}[t.type](t):b(t)}function b(t){var e="The following item cannot be handled by the data layer because it does not have a valid format: "+JSON.stringify(t.config);console.error(e)}return Array.isArray(r.dataLayer)||(r.dataLayer=[]),n=r.dataLayer.splice(0,r.dataLayer.length),(p=r.dataLayer).version=i,d={},e=f(v),p.push=function(t){var e=arguments,n=arguments;if(Object.keys(e).forEach((function(t){var r=c(e[t]);switch(r.valid||(b(r),delete n[t]),r.type){case l.itemType.DATA:case l.itemType.EVENT:y(r);break;case l.itemType.FCTN:delete n[t],y(r);break;case l.itemType.LISTENER_ON:case l.itemType.LISTENER_OFF:delete n[t]}})),n[0])return Array.prototype.push.apply(this,n)},p.getState=function(t){return t?a(s(d),t):s(d)},p.addEventListener=function(t,e,n){y(c({on:t,handler:e,scope:n&&n.scope,path:n&&n.path}))},p.removeEventListener=function(t,e){y(c({off:t,handler:e}))},function(){for(var t=0;t<n.length;t++)p.push(n[t])}(),v}},{"../custom-lodash":1,"../version.json":14,"./constants":2,"./item":5,"./listener":7,"./listenerManager":8,"./utils/customMerge":10}],4:[function(t,e,n){var r={Manager:t("./dataLayerManager")};window.adobeDataLayer=window.adobeDataLayer||[],window.adobeDataLayer.version?console.warn("Adobe Client Data Layer v".concat(window.adobeDataLayer.version," has already been imported/initialized on this page. You may be erroneously loading it a second time.")):r.Manager({dataLayer:window.adobeDataLayer}),e.exports=r},{"./dataLayerManager":3}],5:[function(t,e,n){var r=t("../custom-lodash"),o=r.isPlainObject,i=r.isEmpty,s=r.omit,a=r.find,c=t("./utils/dataMatchesContraints"),u=t("./itemConstraints"),f=t("./constants");e.exports=function(t,e){var n=t,r=e,l=a(Object.keys(u),(function(t){return c(n,u[t])}))||"function"==typeof n&&f.itemType.FCTN||o(n)&&f.itemType.DATA,h=function(){var t=s(n,Object.keys(u.event));if(!i(t))return t}();return{config:n,type:l,data:h,valid:!!l,index:r}}},{"../custom-lodash":1,"./constants":2,"./itemConstraints":6,"./utils/dataMatchesContraints":11}],6:[function(t,e,n){e.exports={event:{event:{type:"string"},eventInfo:{optional:!0}},listenerOn:{on:{type:"string"},handler:{type:"function"},scope:{type:"string",values:["past","future","all"],optional:!0},path:{type:"string",optional:!0}},listenerOff:{off:{type:"string"},handler:{type:"function",optional:!0},scope:{type:"string",values:["past","future","all"],optional:!0},path:{type:"string",optional:!0}}}},{}],7:[function(t,e,n){var r=t("./constants");e.exports=function(t){return{event:t.config.on||t.config.off,handler:t.config.handler||null,scope:t.config.scope||t.config.on&&r.listenerScope.ALL||null,path:t.config.path||null}}},{"./constants":2}],8:[function(t,e,n){var r=t("../custom-lodash").cloneDeep,i=t("./constants"),s=t("./utils/listenerMatch"),a=t("./utils/indexOfListener");e.exports=function(t){var e={},n=t,c=a.bind(null,e);function u(t,e){if(s(t,e)){var o=[r(e.config)];t.handler.apply(n.getDataLayer(),o)}}return{register:function(t){var n=t.event;return Object.prototype.hasOwnProperty.call(e,n)?-1===c(t)&&(e[t.event].push(t),!0):(e[t.event]=[t],!0)},unregister:function(t){var n=t.event;if(Object.prototype.hasOwnProperty.call(e,n))if(t.handler||t.scope||t.path){var r=c(t);-1<r&&e[n].splice(r,1)}else e[n]=[]},triggerListeners:function(t){(function(t){var e=[];switch(t.type){case i.itemType.DATA:e.push(i.dataLayerEvent.CHANGE);break;case i.itemType.EVENT:e.push(i.dataLayerEvent.EVENT),t.data&&e.push(i.dataLayerEvent.CHANGE),t.config.event!==i.dataLayerEvent.CHANGE&&e.push(t.config.event)}return e})(t).forEach((function(n){if(Object.prototype.hasOwnProperty.call(e,n)){var r,i=o(e[n]);try{for(i.s();!(r=i.n()).done;)u(r.value,t)}catch(n){i.e(n)}finally{i.f()}}}))},triggerListener:function(t,e){u(t,e)}}}},{"../custom-lodash":1,"./constants":2,"./utils/indexOfListener":12,"./utils/listenerMatch":13}],9:[function(t,e,n){var r=t("../../custom-lodash"),o=r.has,i=r.get;e.exports=function(t,e){for(var n=e.substring(0,e.lastIndexOf("."));n;){if(o(t,n)&&null==i(t,n))return!0;n=n.substring(0,n.lastIndexOf("."))}return!1}},{"../../custom-lodash":1}],10:[function(t,e,n){var r=t("../../custom-lodash"),o=r.cloneDeepWith,i=r.isObject,s=r.isArray,a=r.reject,c=r.mergeWith,u=r.isNull;e.exports=function(t,e){return c(t,e,(function(t,e,n,r){if(null==e)return null})),function(t,e){return o(t,(n=1<arguments.length&&void 0!==e?e:function(t){return!t},function t(e,r,c,u){if(i(e)){if(s(e))return a(e,n).map((function(e){return o(e,t)}));for(var f={},l=0,h=Object.keys(e);l<h.length;l++){var p=h[l];n(e[p])||(f[p]=o(e[p],t))}return f}}));var n}(t,u)}},{"../../custom-lodash":1}],11:[function(t,e,n){var r=t("../../custom-lodash"),o=r.find,i=r.includes;e.exports=function(t,e){return void 0===o(Object.keys(e),(function(n){var r=e[n].type,o=n&&e[n].values,s=!e[n].optional,c=t[n],u=a(c),f=r&&u!==r,l=o&&!i(o,c);return s?!c||f||l:c&&(f||l)}))}},{"../../custom-lodash":1}],12:[function(t,e,n){var i=t("../../custom-lodash").isEqual;e.exports=function(t,e){var n=e.event;if(Object.prototype.hasOwnProperty.call(t,n)){var s,a=o(t[n].entries());try{for(a.s();!(s=a.n()).done;){var c=r(s.value,2),u=c[0],f=c[1];if(i(f.handler,e.handler))return u}}catch(t){a.e(t)}finally{a.f()}}return-1}},{"../../custom-lodash":1}],13:[function(t,e,n){var r=t("../../custom-lodash").has,o=t("../constants"),i=t("./ancestorRemoved");function s(t,e){return!e.data||!t.path||r(e.data,t.path)||i(e.data,t.path)}e.exports=function(t,e){var n=t.event,r=e.config,i=!1;return e.type===o.itemType.DATA?n===o.dataLayerEvent.CHANGE&&(i=s(t,e)):e.type===o.itemType.EVENT&&(n!==o.dataLayerEvent.EVENT&&n!==r.event||(i=s(t,e)),e.data&&n===o.dataLayerEvent.CHANGE&&(i=s(t,e))),i}},{"../../custom-lodash":1,"../constants":2,"./ancestorRemoved":9}],14:[function(t,e,n){e.exports={version:"2.0.2"}},{}]},{},[4])}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r={};return(()=>{n.d(r,{default:()=>pt}),n(525);class t{setContext(t,e){window.adobeDataLayer.push({[t]:null}),window.adobeDataLayer.push({[t]:e})}getContext(t){return window.adobeDataLayer.getState?window.adobeDataLayer.getState(t):{}}addEventListener(t,e,n){window.adobeDataLayer.push((r=>{r.addEventListener(t,e,n)}))}removeEventListener(t,e){window.adobeDataLayer.push((n=>{n.removeEventListener(t,e)}))}pushEvent(t,e={}){window.adobeDataLayer.push((n=>{n.push({event:t,eventInfo:Object.assign(Object.assign({},this.getContext()),e)})}))}}const e="aepContext",o="accountContext",i="changedProductsContext",s="categoryContext",a="customUrlContext",c="dataServicesExtensionContext",u="debugContext",f="eventForwardingContext",l="experiencePlatformConnectorExtensionContext",h="magentoExtensionContext",p="orderContext",d="orderPageContext",v="pageContext",g="productContext",y="recommendationsContext",b="recommendationsExtensionContext",m="referrerUrlContext",E="requisitionListContext",j="requisitionListItemsContext",x="searchExtensionContext",C="searchInputContext",L="searchResultsContext",_="shopperContext",w="shoppingCartContext",A="storefrontInstanceContext";class O extends t{getAEP(){return this.getContext(e)}setAEP(t){this.setContext(e,t)}getAccount(){return this.getContext(o)}setAccount(t){this.setContext(o,t)}getChangedProducts(){return this.getContext(i)}setChangedProducts(t){this.setContext(i,t)}getCategory(){return this.getContext(s)}setCategory(t){this.setContext(s,t)}getDebug(){return this.getContext(u)}setDebug(t){this.setContext(u,t)}getEventForwarding(){return this.getContext(f)}setEventForwarding(t){this.setContext(f,t)}getExperiencePlatformConnectorExtension(){return this.getContext(l)}setExperiencePlatformConnectorExtension(t){this.setContext(l,t)}getCustomUrl(){return this.getContext(a)}setCustomUrl(t){this.setContext(a,t)}getDataServicesExtension(){return this.getContext(c)}setDataServicesExtension(t){this.setContext(c,t)}getMagentoExtension(){return this.getContext(h)}setMagentoExtension(t){this.setContext(h,t)}getOrder(){return this.getContext(p)}setOrder(t){this.setContext(p,t)}getOrderPage(){return this.getContext(d)}setOrderPage(t){this.setContext(d,t)}getPage(){return this.getContext(v)}setPage(t){this.setContext(v,t)}getProduct(){return this.getContext(g)}setProduct(t){this.setContext(g,t)}getRecommendations(){return this.getContext(y)}setRecommendations(t){this.setContext(y,t)}getRecommendationsExtension(){return this.getContext(b)}setRecommendationsExtension(t){this.setContext(b,t)}getReferrerUrl(){return this.getContext(m)}setReferrerUrl(t){this.setContext(m,t)}getRequisitionList(){return this.getContext(E)}setRequisitionList(t){this.setContext(E,t)}getRequisitionListItems(){return this.getContext(j)}setRequisitionListItems(t){this.setContext(j,t)}getSearchExtension(){return this.getContext(x)}setSearchExtension(t){this.setContext(x,t)}getSearchInput(){return this.getContext(C)}setSearchInput(t){this.setContext(C,t)}getSearchResults(){return this.getContext(L)}setSearchResults(t){this.setContext(L,t)}getShopper(){return this.getContext(_)}setShopper(t){this.setContext(_,t)}getShoppingCart(){return this.getContext(w)}setShoppingCart(t){this.setContext(w,t)}getStorefrontInstance(){return this.getContext(A)}setStorefrontInstance(t){this.setContext(A,t)}getContext(t){return super.getContext(t)}setContext(t,e){super.setContext(t,e)}}const S="add-to-cart",R="add-to-requisition-list",k="create-account",I="create-requisition-list",T="commerce-custom",D="custom-url",U="adobeDataLayer:change",P="adobeDataLayer:event",F="edit-account",N="initiate-checkout",M="open-cart",V="page-activity-summary",q="page-view",z="place-order",$="product-page-view",B="recs-item-click",W="recs-item-add-to-cart-click",G="recs-api-request-sent",H="recs-api-response-received",J="recs-unit-impression-render",Y="recs-unit-view",K="referrer-url",Q="remove-from-cart",X="remove-from-requisition-list",Z="search-category-click",tt="search-product-click",et="search-request-sent",nt="search-response-received",rt="search-results-view",ot="category-results-view",it="search-suggestion-click",st="shopping-cart-view",at="sign-in",ct="sign-out",ut="update-cart";class ft extends t{addToCart(t){this.pushEvent(S,{customContext:t})}addToRequisitionList(t){this.pushEvent(R,{customContext:t})}createAccount(t){this.pushEvent(k,{customContext:t})}createRequisitionList(t){this.pushEvent(I,{customContext:t})}custom(t){this.pushEvent(T,{customContext:t})}customUrl(t){this.pushEvent(D,{customContext:t})}editAccount(t){this.pushEvent(F,{customContext:t})}initiateCheckout(t){this.pushEvent(N,{customContext:t})}openCart(t){this.pushEvent(M,{customContext:t})}pageActivitySummary(t){this.pushEvent(V,{customContext:t})}pageView(t){this.pushEvent(q,{customContext:t})}placeOrder(t){this.pushEvent(z,{customContext:t})}productPageView(t){this.pushEvent($,{customContext:t})}recsItemAddToCartClick(t,e,n){this.pushEvent(W,{unitId:t,productId:e,customContext:n})}recsItemClick(t,e,n){this.pushEvent(B,{unitId:t,productId:e,customContext:n})}recsRequestSent(t){this.pushEvent(G,{customContext:t})}recsResponseReceived(t){this.pushEvent(H,{customContext:t})}recsUnitRender(t,e){this.pushEvent(J,{unitId:t,customContext:e})}recsUnitView(t,e){this.pushEvent(Y,{unitId:t,customContext:e})}referrerUrl(t){this.pushEvent(K,{customContext:t})}removeFromCart(t){this.pushEvent(Q,{customContext:t})}removeFromRequisitionList(t){this.pushEvent(X,{customContext:t})}searchCategoryClick(t,e,n){this.pushEvent(Z,{searchUnitId:t,name:e,customContext:n})}searchProductClick(t,e,n){this.pushEvent(tt,{searchUnitId:t,sku:e,customContext:n})}searchRequestSent(t,e){this.pushEvent(et,{searchUnitId:t,customContext:e})}searchResponseReceived(t,e){this.pushEvent(nt,{searchUnitId:t,customContext:e})}searchResultsView(t,e){this.pushEvent(rt,{searchUnitId:t,customContext:e})}categoryResultsView(t,e){this.pushEvent(ot,{searchUnitId:t,customContext:e})}searchSuggestionClick(t,e,n){this.pushEvent(it,{searchUnitId:t,suggestion:e,customContext:n})}shoppingCartView(t){this.pushEvent(st,{customContext:t})}signIn(t){this.pushEvent(at,{customContext:t})}signOut(t){this.pushEvent(ct,{customContext:t})}updateCart(t){this.pushEvent(ut,{customContext:t})}}class lt extends t{addToCart(t,e){this.addEventListener(S,t,e)}addToRequisitionList(t,e){this.addEventListener(R,t,e)}createAccount(t,e){this.addEventListener(k,t,e)}createRequisitionList(t,e){this.addEventListener(I,t,e)}custom(t,e){this.addEventListener(T,t,e)}customUrl(t,e){this.addEventListener(D,t,e)}editAccount(t,e){this.addEventListener(F,t,e)}dataLayerChange(t,e){this.addEventListener(U,t,e)}dataLayerEvent(t,e){this.addEventListener(P,t,e)}initiateCheckout(t,e){this.addEventListener(N,t,e)}openCart(t,e){this.addEventListener(M,t,e)}pageActivitySummary(t,e){this.addEventListener(V,t,e)}pageView(t,e){this.addEventListener(q,t,e)}placeOrder(t,e){this.addEventListener(z,t,e)}productPageView(t,e){this.addEventListener($,t,e)}recsItemAddToCartClick(t,e){this.addEventListener(W,t,e)}recsItemClick(t,e){this.addEventListener(B,t,e)}recsRequestSent(t,e){this.addEventListener(G,t,e)}recsResponseReceived(t,e){this.addEventListener(H,t,e)}recsUnitRender(t,e){this.addEventListener(J,t,e)}recsUnitView(t,e){this.addEventListener(Y,t,e)}referrerUrl(t,e){this.addEventListener(K,t,e)}removeFromCart(t,e){this.addEventListener(Q,t,e)}removeFromRequisitionList(t,e){this.addEventListener(X,t,e)}searchCategoryClick(t){this.addEventListener(Z,t)}searchProductClick(t){this.addEventListener(tt,t)}searchRequestSent(t){this.addEventListener(et,t)}searchResponseReceived(t){this.addEventListener(nt,t)}searchResultsView(t){this.addEventListener(rt,t)}categoryResultsView(t){this.addEventListener(ot,t)}searchSuggestionClick(t){this.addEventListener(it,t)}shoppingCartView(t){this.addEventListener(st,t)}signIn(t,e){this.addEventListener(at,t,e)}signOut(t,e){this.addEventListener(ct,t,e)}updateCart(t){this.addEventListener(ut,t)}}class ht extends t{addToCart(t){this.removeEventListener(S,t)}addToRequisitionList(t){this.removeEventListener(R,t)}createAccount(t){this.removeEventListener(k,t)}createRequisitionList(t){this.removeEventListener(I,t)}custom(t){this.removeEventListener(T,t)}customUrl(t){this.removeEventListener(D,t)}editAccount(t){this.removeEventListener(F,t)}dataLayerChange(t){this.removeEventListener(U,t)}dataLayerEvent(t){this.removeEventListener(P,t)}initiateCheckout(t){this.removeEventListener(N,t)}openCart(t){this.removeEventListener(M,t)}pageActivitySummary(t){this.removeEventListener(V,t)}pageView(t){this.removeEventListener(q,t)}placeOrder(t){this.removeEventListener(z,t)}productPageView(t){this.removeEventListener($,t)}recsItemAddToCartClick(t){this.removeEventListener(W,t)}recsItemClick(t){this.removeEventListener(B,t)}recsRequestSent(t){this.removeEventListener(G,t)}recsResponseReceived(t){this.removeEventListener(H,t)}recsUnitRender(t){this.removeEventListener(J,t)}recsUnitView(t){this.removeEventListener(Y,t)}referrerUrl(t){this.removeEventListener(K,t)}removeFromCart(t){this.removeEventListener(Q,t)}removeFromRequisitionList(t){this.removeEventListener(X,t)}searchCategoryClick(t){this.removeEventListener(Z,t)}searchProductClick(t){this.removeEventListener(tt,t)}searchRequestSent(t){this.removeEventListener(et,t)}searchResponseReceived(t){this.removeEventListener(nt,t)}searchResultsView(t){this.removeEventListener(rt,t)}categoryResultsView(t){this.removeEventListener(ot,t)}searchSuggestionClick(t){this.removeEventListener(it,t)}shoppingCartView(t){this.removeEventListener(st,t)}signIn(t){this.removeEventListener(at,t)}signOut(t){this.removeEventListener(ct,t)}updateCart(t){this.removeEventListener(ut,t)}}const pt=new class{constructor(){this.context=new O,this.publish=new ft,this.subscribe=new lt,this.unsubscribe=new ht,window.adobeDataLayer=window.adobeDataLayer||[],window.postMessage("magento-storefront-events-sdk","*")}}})(),r.default})()));
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * @adobe/magento-storefront-events-sdk@v1.3.1
2
+ * @adobe/magento-storefront-events-sdk@v1.4.1
3
3
  * Copyright © Adobe, Inc. All rights reserved.See COPYING.txt for license details.
4
4
  */
@@ -29,6 +29,7 @@ export default class PublishManager extends Base {
29
29
  searchRequestSent(searchUnitId: SearchResultUnit["searchUnitId"], context?: CustomContext): void;
30
30
  searchResponseReceived(searchUnitId: SearchResultUnit["searchUnitId"], context?: CustomContext): void;
31
31
  searchResultsView(searchUnitId: SearchResultUnit["searchUnitId"], context?: CustomContext): void;
32
+ categoryResultsView(searchUnitId: SearchResultUnit["searchUnitId"], context?: CustomContext): void;
32
33
  searchSuggestionClick(searchUnitId: SearchResultUnit["searchUnitId"], suggestion: SearchResultSuggestion["suggestion"], context?: CustomContext): void;
33
34
  shoppingCartView(context?: CustomContext): void;
34
35
  signIn(context?: CustomContext): void;
@@ -1 +1 @@
1
- {"version":3,"file":"PublishManager.d.ts","sourceRoot":"","sources":["../../src/PublishManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EACH,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACzB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,IAAI;IAC5C,SAAS,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAIxC,oBAAoB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAInD,aAAa,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAI5C,qBAAqB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAIpD,MAAM,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAIrC,SAAS,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAIxC,WAAW,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAI1C,gBAAgB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;IAI/C,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI;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30,7 @@ export default class SubscribeManager extends Base {
30
30
  searchRequestSent(handler: EventHandler): void;
31
31
  searchResponseReceived(handler: EventHandler): void;
32
32
  searchResultsView(handler: EventHandler): void;
33
+ categoryResultsView(handler: EventHandler): void;
33
34
  searchSuggestionClick(handler: EventHandler): void;
34
35
  shoppingCartView(handler: EventHandler): void;
35
36
  signIn(handler: EventHandler, options?: ListenerOptions): void;
@@ -1 +1 @@
1
- {"version":3,"file":"SubscribeManager.d.ts","sourceRoot":"","sources":["../../src/SubscribeManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE/D,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,IAAI;IAC9C,SAAS,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAIjE,oBAAoB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAI5E,aAAa,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAIrE,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAI7E,MAAM,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAI9D,SAAS,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAIjE,WAAW,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAInE,eAAe,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAIvE,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAItE,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AAI;IAIpE,WAAW,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAInE,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAItE,yBAAyB,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAIjF,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIhD,kBAAkB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAI/C,iBAAiB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAI9C,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAInD,iBAAiB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAI9C,mBAAmB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIhD,qBAAqB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIlD,gBAAgB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAI7C,MAAM,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAI9D,OAAO,CAAC,OAAO,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI;IAI/D,UAAU,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;CAG1C"}
@@ -30,6 +30,7 @@ export default class UnsubscribeManager extends Base {
30
30
  searchRequestSent(handler: EventHandler): void;
31
31
  searchResponseReceived(handler: EventHandler): void;
32
32
  searchResultsView(handler: EventHandler): void;
33
+ categoryResultsView(handler: EventHandler): void;
33
34
  searchSuggestionClick(handler: EventHandler): void;
34
35
  shoppingCartView(handler: EventHandler): void;
35
36
  signIn(handler: EventHandler): void;
@@ -1 +1 @@
1
- {"version":3,"file":"UnsubscribeManager.d.ts","sourceRoot":"","sources":["../../src/UnsubscribeManager.ts"],"names":[],"mappings":"AAAA,OAAO,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,IAAI;IAI7C,MAAM,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAInC,OAAO,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;IAIpC,UAAU,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI;CAG1C"}
@@ -28,6 +28,7 @@ declare const events: {
28
28
  readonly SEARCH_REQUEST_SENT: "search-request-sent";
29
29
  readonly SEARCH_RESPONSE_RECEIVED: "search-response-received";
30
30
  readonly SEARCH_RESULTS_VIEW: "search-results-view";
31
+ readonly CATEGORY_RESULTS_VIEW: "category-results-view";
31
32
  readonly SEARCH_SUGGESTION_CLICK: "search-suggestion-click";
32
33
  readonly SHOPPING_CART_VIEW: "shopping-cart-view";
33
34
  readonly SIGN_IN: "sign-in";
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCF,CAAC;AAEX,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCF,CAAC;AAEX,eAAe,MAAM,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { CustomContext, Context } from "./contexts";
2
2
  import events from "../events";
3
- export declare type EventName = typeof events.ADD_TO_CART | typeof events.ADD_TO_REQUISITION_LIST | typeof events.CREATE_ACCOUNT | typeof events.CREATE_REQUISITION_LIST | typeof events.CUSTOM | typeof events.CUSTOM_URL | typeof events.DATA_LAYER_CHANGE | typeof events.DATA_LAYER_EVENT | typeof events.EDIT_ACCOUNT | typeof events.INITIATE_CHECKOUT | typeof events.OPEN_CART | typeof events.PAGE_ACTIVITY_SUMMARY | typeof events.PAGE_VIEW | typeof events.PLACE_ORDER | typeof events.PRODUCT_PAGE_VIEW | typeof events.RECS_ITEM_CLICK | typeof events.RECS_ITEM_ADD_TO_CART_CLICK | typeof events.RECS_REQUEST_SENT | typeof events.RECS_RESPONSE_RECEIVED | typeof events.RECS_UNIT_RENDER | typeof events.RECS_UNIT_VIEW | typeof events.REFERRER_URL | typeof events.REMOVE_FROM_CART | typeof events.REMOVE_FROM_REQUISITION_LIST | typeof events.SEARCH_CATEGORY_CLICK | typeof events.SEARCH_PRODUCT_CLICK | typeof events.SEARCH_REQUEST_SENT | typeof events.SEARCH_RESPONSE_RECEIVED | typeof events.SEARCH_RESULTS_VIEW | typeof events.SEARCH_SUGGESTION_CLICK | typeof events.SHOPPING_CART_VIEW | typeof events.SIGN_IN | typeof events.SIGN_OUT | typeof events.UPDATE_CART;
3
+ export declare type EventName = typeof events.ADD_TO_CART | typeof events.ADD_TO_REQUISITION_LIST | typeof events.CREATE_ACCOUNT | typeof events.CREATE_REQUISITION_LIST | typeof events.CUSTOM | typeof events.CUSTOM_URL | typeof events.DATA_LAYER_CHANGE | typeof events.DATA_LAYER_EVENT | typeof events.EDIT_ACCOUNT | typeof events.INITIATE_CHECKOUT | typeof events.OPEN_CART | typeof events.PAGE_ACTIVITY_SUMMARY | typeof events.PAGE_VIEW | typeof events.PLACE_ORDER | typeof events.PRODUCT_PAGE_VIEW | typeof events.RECS_ITEM_CLICK | typeof events.RECS_ITEM_ADD_TO_CART_CLICK | typeof events.RECS_REQUEST_SENT | typeof events.RECS_RESPONSE_RECEIVED | typeof events.RECS_UNIT_RENDER | typeof events.RECS_UNIT_VIEW | typeof events.REFERRER_URL | typeof events.REMOVE_FROM_CART | typeof events.REMOVE_FROM_REQUISITION_LIST | typeof events.SEARCH_CATEGORY_CLICK | typeof events.SEARCH_PRODUCT_CLICK | typeof events.SEARCH_REQUEST_SENT | typeof events.SEARCH_RESPONSE_RECEIVED | typeof events.SEARCH_RESULTS_VIEW | typeof events.CATEGORY_RESULTS_VIEW | typeof events.SEARCH_SUGGESTION_CLICK | typeof events.SHOPPING_CART_VIEW | typeof events.SIGN_IN | typeof events.SIGN_OUT | typeof events.UPDATE_CART;
4
4
  export declare type Event = {
5
5
  event: EventName;
6
6
  eventInfo: Context & CustomContext;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/types/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,oBAAY,SAAS,GACf,OAAO,MAAM,CAAC,WAAW,GACzB,OAAO,MAAM,CAAC,uBAAuB,GACrC,OAAO,MAAM,CAAC,cAAc,GAC5B,OAAO,MAAM,CAAC,uBAAuB,GACrC,OAAO,MAAM,CAAC,MAAM,GACpB,OAAO,MAAM,CAAC,UAAU,GACxB,OAAO,MAAM,CAAC,iBAAiB,GAC/B,OAAO,MAAM,CAAC,gBAAgB,GAC9B,OAAO,MAAM,CAAC,YAAY,GAC1B,OAAO,MAAM,CAAC,iBAAiB,GAC/B,OAAO,MAAM,CAAC,SAAS,GACvB,OAAO,MAAM,CAAC,qBAAqB,GACnC,OAAO,MAAM,CAAC,SAAS,GACvB,OAAO,MAAM,CAAC,WAAW,GACzB,OAAO,MAAM,CAAC,iBAAiB,GAC/B,OAAO,MAAM,CAAC,eAAe,GAC7B,OAAO,MAAM,CAAC,2BAA2B,GACzC,OAAO,MAAM,CAAC,iBAAiB,GAC/B,OAAO,MAAM,CAAC,sBAAsB,GACpC,OAAO,MAAM,CAAC,gBAAgB,GAC9B,OAAO,MAAM,CAAC,cAAc,GAC5B,OAAO,MAAM,CAAC,YAAY,GAC1B,OAAO,MAAM,CAAC,gBAAgB,GAC9B,OAAO,MAAM,CAAC,4BAA4B,GAC1C,OAAO,MAAM,CAAC,qBAAqB,GACnC,OAAO,MAAM,CAAC,oBAAoB,GAClC,OAAO,MAAM,CAAC,mBAAmB,GACjC,OAAO,MAAM,CAAC,wBAAwB,GACtC,OAAO,MAAM,CA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CAAC,iBAAiB,GAC/B,OAAO,MAAM,CAAC,sBAAsB,GACpC,OAAO,MAAM,CAAC,gBAAgB,GAC9B,OAAO,MAAM,CAAC,cAAc,GAC5B,OAAO,MAAM,CAAC,YAAY,GAC1B,OAAO,MAAM,CAAC,gBAAgB,GAC9B,OAAO,MAAM,CAAC,4BAA4B,GAC1C,OAAO,MAAM,CAAC,qBAAqB,GACnC,OAAO,MAAM,CAAC,oBAAoB,GAClC,OAAO,MAAM,CAAC,mBAAmB,GACjC,OAAO,MAAM,CAAC,wBAAwB,GACtC,OAAO,MAAM,CAAC,mBAAmB,GACjC,OAAO,MAAM,CAAC,qBAAqB,GACnC,OAAO,MAAM,CAAC,uBAAuB,GACrC,OAAO,MAAM,CAAC,kBAAkB,GAChC,OAAO,MAAM,CAAC,OAAO,GACrB,OAAO,MAAM,CAAC,QAAQ,GACtB,OAAO,MAAM,CAAC,WAAW,CAAC;AAEhC,oBAAY,KAAK,GAAG;IAChB,KAAK,EAAE,SAAS,CAAC;IACjB,SAAS,EAAE,OAAO,GAAG,aAAa,CAAC;CACtC,CAAC;AAEF,oBAAY,YAAY,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;AAElD,oBAAY,eAAe,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;CACrC,CAAC"}
@@ -2,7 +2,7 @@ export declare type Order = {
2
2
  appliedCouponCode: string;
3
3
  email: string;
4
4
  grandTotal: number;
5
- orderId: number;
5
+ orderId: string;
6
6
  orderType?: "checkout" | "instant_purchase";
7
7
  otherTax: number;
8
8
  /** @deprecated - use payments instead */
@@ -4,6 +4,8 @@ export declare type SearchResults = {
4
4
  export declare type SearchResultUnit = {
5
5
  searchUnitId: string;
6
6
  searchRequestId: string;
7
+ rankingType?: string;
8
+ trendingWindow?: string;
7
9
  executionTime?: number;
8
10
  products: Array<SearchResultProduct>;
9
11
  categories: Array<SearchResultCategory>;
@@ -1 +1 @@
1
- {"version":3,"file":"searchResults.d.ts","sourceRoot":"","sources":["../../../../src/types/schemas/searchResults.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa,GAAG;IACxB,KAAK,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;CAClC,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACrC,UAAU,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACxC,WAAW,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,oBAAY,mBAAmB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,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IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,QAAQ,GAAG,aAAa,GAAG,SAAS,CAAC;CAC9C,CAAC;AAEF,oBAAY,YAAY,GAAG,WAAW,GAAG,YAAY,GAAG,WAAW,CAAC;AAEpE,oBAAY,WAAW,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,YAAY,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/magento-storefront-events-sdk",
3
- "version": "1.3.1",
3
+ "version": "1.4.1",
4
4
  "description": "SDK for working with events on an Adobe Commerce storefront",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",