@tokenoftrust/cli 7.5.2 → 7.5.4

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.
@@ -0,0 +1,1357 @@
1
+ /**
2
+ * Shared regulated product compliance catalog for known packaged products, aligned
3
+ * with `tokenoftrust/product-catalog` (`storefront-catalog/v2.0.0`).
4
+ *
5
+ * Supplies reviewed `(category, flavors)` compliance metadata when a merchant
6
+ * lists a known packaged product without recording per-product compliance
7
+ * overrides. Explicit merchant metadata (`compliance.*` and `bigcommerce_custom`
8
+ * metafields, `F:` tags, variant `Flavor` options, and non-generic `product_type`)
9
+ * always takes precedence over this catalog.
10
+ *
11
+ * Pure and dependency-free. `packages/cli/src/known-product-catalog.mjs` is a
12
+ * byte-identical copy (the CLI installs without the kit), pinned by
13
+ * `packages/cli/test/known-product-catalog-copy.test.mjs`.
14
+ */
15
+
16
+ /**
17
+ * @typedef {{
18
+ * readonly catalogKey: string,
19
+ * readonly brand: string,
20
+ * readonly title: string,
21
+ * readonly category: string,
22
+ * readonly flavors: readonly string[],
23
+ * readonly skus: readonly string[],
24
+ * readonly titleAliases?: readonly string[],
25
+ * }} KnownProductComplianceEntry
26
+ */
27
+
28
+ /** @type {readonly KnownProductComplianceEntry[]} */
29
+ export const KNOWN_PRODUCT_COMPLIANCE_CATALOG = Object.freeze([
30
+ Object.freeze({
31
+ catalogKey: "alp-chilled-mint",
32
+ brand: "ALP",
33
+ title: "ALP Chilled Mint Nicotine Pouches - 5 Can Roll",
34
+ category: "Nicotine pouch",
35
+ flavors: Object.freeze(["chilled mint"]),
36
+ skus: Object.freeze(["ALP-POU-CMINT-03MG","ALP-POU-CMINT-06MG","ALP-POU-CMINT-09MG"]),
37
+ }),
38
+ Object.freeze({
39
+ catalogKey: "alp-classic",
40
+ brand: "ALP",
41
+ title: "ALP Classic Nicotine Pouches - 5 Can Roll",
42
+ category: "Nicotine pouch",
43
+ flavors: Object.freeze(["unflavored"]),
44
+ skus: Object.freeze(["ALP-POU-CLASSIC-03MG","ALP-POU-CLASSIC-06MG","ALP-POU-CLASSIC-09MG"]),
45
+ }),
46
+ Object.freeze({
47
+ catalogKey: "alp-mountain-wintergreen",
48
+ brand: "ALP",
49
+ title: "ALP Mountain Wintergreen Nicotine Pouches - 5 Can Roll",
50
+ category: "Nicotine pouch",
51
+ flavors: Object.freeze(["wintergreen"]),
52
+ skus: Object.freeze(["ALP-POU-MWINT-03MG","ALP-POU-MWINT-06MG","ALP-POU-MWINT-09MG"]),
53
+ }),
54
+ Object.freeze({
55
+ catalogKey: "alp-refreshing-chill",
56
+ brand: "ALP",
57
+ title: "ALP Refreshing Chill Nicotine Pouches - 5 Can Roll",
58
+ category: "Nicotine pouch",
59
+ flavors: Object.freeze(["chill"]),
60
+ skus: Object.freeze(["ALP-POU-RCHILL-03MG","ALP-POU-RCHILL-06MG","ALP-POU-RCHILL-09MG"]),
61
+ }),
62
+ Object.freeze({
63
+ catalogKey: "alp-spearmint",
64
+ brand: "ALP",
65
+ title: "ALP Spearmint Nicotine Pouches - 5 Can Roll",
66
+ category: "Nicotine pouch",
67
+ flavors: Object.freeze(["spearmint"]),
68
+ skus: Object.freeze(["ALP-POU-SPEAR-03MG","ALP-POU-SPEAR-06MG","ALP-POU-SPEAR-09MG"]),
69
+ }),
70
+ Object.freeze({
71
+ catalogKey: "alp-sweet-nectar",
72
+ brand: "ALP",
73
+ title: "ALP Sweet Nectar Nicotine Pouches - 5 Can Roll",
74
+ category: "Nicotine pouch",
75
+ flavors: Object.freeze(["sweet nectar"]),
76
+ skus: Object.freeze(["ALP-POU-SNECTAR-03MG","ALP-POU-SNECTAR-06MG","ALP-POU-SNECTAR-09MG"]),
77
+ }),
78
+ Object.freeze({
79
+ catalogKey: "alp-tropical",
80
+ brand: "ALP",
81
+ title: "ALP Tropical Fruit Nicotine Pouches - 5 Can Roll",
82
+ category: "Nicotine pouch",
83
+ flavors: Object.freeze(["tropical fruit"]),
84
+ skus: Object.freeze(["ALP-POU-TROP-03MG","ALP-POU-TROP-06MG","ALP-POU-TROP-09MG"]),
85
+ }),
86
+ Object.freeze({
87
+ catalogKey: "blu-cherry-disposable-vape",
88
+ brand: "blu",
89
+ title: "blu Cherry Disposable Vape - 2.4% Nicotine, 1 mL",
90
+ category: "Disposable vape",
91
+ flavors: Object.freeze(["cherry"]),
92
+ skus: Object.freeze(["BLU-DISP-CHER-24","PVC-BLU-CHERRY"]),
93
+ }),
94
+ Object.freeze({
95
+ catalogKey: "blu-classic-tobacco-disposable-vape",
96
+ brand: "blu",
97
+ title: "blu Classic Tobacco Disposable Vape - 2.4% Nicotine, 1 mL",
98
+ category: "Disposable vape",
99
+ flavors: Object.freeze(["classic tobacco"]),
100
+ skus: Object.freeze(["BLU-DISP-CTOB-24","PVC-BLU-CLASSI"]),
101
+ }),
102
+ Object.freeze({
103
+ catalogKey: "blu-express-kit",
104
+ brand: "blu",
105
+ title: "Blu Express Kit",
106
+ category: "Vape device",
107
+ flavors: Object.freeze(["none"]),
108
+ skus: Object.freeze(["BLU-KIT-EXPRESS-24"]),
109
+ }),
110
+ Object.freeze({
111
+ catalogKey: "blu-gold-leaf-tobacco-pods-2-4-2-pc",
112
+ brand: "blu",
113
+ title: "blu Gold Leaf Tobacco Pods 2.4% 2 PC",
114
+ category: "Nicotine pod",
115
+ flavors: Object.freeze(["gold leaf tobacco"]),
116
+ skus: Object.freeze(["BLU-POD-GTOB-24-2P","PVC-BLU-MYBLUG"]),
117
+ }),
118
+ Object.freeze({
119
+ catalogKey: "blu-menthol-disposable-vape",
120
+ brand: "blu",
121
+ title: "blu Menthol Disposable Vape - 2.4% Nicotine, 1 mL",
122
+ category: "Disposable vape",
123
+ flavors: Object.freeze(["menthol"]),
124
+ skus: Object.freeze(["BLU-DISP-MENT-24","PVC-BLU-MENTHO"]),
125
+ }),
126
+ Object.freeze({
127
+ catalogKey: "blu-pod-device-kit",
128
+ brand: "blu",
129
+ title: "Blu Pod device kit",
130
+ category: "Vape device",
131
+ flavors: Object.freeze(["none"]),
132
+ skus: Object.freeze(["BLU-KIT-POD"]),
133
+ }),
134
+ Object.freeze({
135
+ catalogKey: "blu-polar-mint-disposable-vape",
136
+ brand: "blu",
137
+ title: "blu Polar Mint Disposable Vape - 2.4% Nicotine, 1 mL",
138
+ category: "Disposable vape",
139
+ flavors: Object.freeze(["polar mint"]),
140
+ skus: Object.freeze(["BLU-DISP-PMINT-24","PVC-BLU-POLARM"]),
141
+ }),
142
+ Object.freeze({
143
+ catalogKey: "blu-starter-kit-graphite-rechargeable",
144
+ brand: "blu",
145
+ title: "Blu Starter Kit Graphite | Rechargeable",
146
+ category: "Vape device",
147
+ flavors: Object.freeze(["none"]),
148
+ skus: Object.freeze(["BLU-KIT-GRAPHITE"]),
149
+ }),
150
+ Object.freeze({
151
+ catalogKey: "blu-tobacco-chill-intense-pods-2-5",
152
+ brand: "blu",
153
+ title: "blu Tobacco Chill Intense Pods 2.5%",
154
+ category: "Nicotine pod",
155
+ flavors: Object.freeze(["tobacco","chill"]),
156
+ skus: Object.freeze(["BLU-POD-TCHILL-25","PVC-BLU-MYBLUT"]),
157
+ }),
158
+ Object.freeze({
159
+ catalogKey: "blu-vanilla-disposable-vape",
160
+ brand: "blu",
161
+ title: "blu Vanilla Disposable Vape - 2.4% Nicotine, 1 mL",
162
+ category: "Disposable vape",
163
+ flavors: Object.freeze(["vanilla"]),
164
+ skus: Object.freeze(["BLU-DISP-VAN-24","PVC-BLU-VANILL"]),
165
+ }),
166
+ Object.freeze({
167
+ catalogKey: "glas-pod-blonde-tobacco-50mg",
168
+ brand: "Glas",
169
+ title: "Glas pod - Blonde Tobacco - 50mg",
170
+ category: "Nicotine pod",
171
+ flavors: Object.freeze(["blonde tobacco"]),
172
+ skus: Object.freeze(["GLAS-POD-BTOB-50MG"]),
173
+ }),
174
+ Object.freeze({
175
+ catalogKey: "glas-pod-classic-menthol-50mg",
176
+ brand: "Glas",
177
+ title: "Glas pod - Classic Menthol - 50mg",
178
+ category: "Nicotine pod",
179
+ flavors: Object.freeze(["menthol"]),
180
+ skus: Object.freeze(["GLAS-POD-CMENT-50MG"]),
181
+ }),
182
+ Object.freeze({
183
+ catalogKey: "glas-pod-fresh-menthol-50mg",
184
+ brand: "Glas",
185
+ title: "Glas pod - Fresh Menthol - 50mg",
186
+ category: "Nicotine pod",
187
+ flavors: Object.freeze(["fresh menthol"]),
188
+ skus: Object.freeze(["GLAS-POD-MENT-50MG"]),
189
+ }),
190
+ Object.freeze({
191
+ catalogKey: "glas-pod-gold-50mg",
192
+ brand: "Glas",
193
+ title: "Glas pod - Gold - 50mg",
194
+ category: "Nicotine pod",
195
+ flavors: Object.freeze(["honey","tobacco"]),
196
+ skus: Object.freeze(["GLAS-POD-GOLD-50MG"]),
197
+ }),
198
+ Object.freeze({
199
+ catalogKey: "glas-pod-sapphire-50mg",
200
+ brand: "Glas",
201
+ title: "Glas pod - Sapphire - 50mg",
202
+ category: "Nicotine pod",
203
+ flavors: Object.freeze(["cool mint"]),
204
+ skus: Object.freeze(["GLAS-POD-SAPP-50MG"]),
205
+ }),
206
+ Object.freeze({
207
+ catalogKey: "juul-charging-dock",
208
+ brand: "JUUL",
209
+ title: "JUUL USB Charging Dock",
210
+ category: "Accessory",
211
+ flavors: Object.freeze(["none"]),
212
+ skus: Object.freeze(["JUUL-ACC-DOCK","PVC-JUL-CHARGI"]),
213
+ }),
214
+ Object.freeze({
215
+ catalogKey: "juul-device",
216
+ brand: "JUUL",
217
+ title: "JUUL Device - Rechargeable Battery",
218
+ category: "Vape device",
219
+ flavors: Object.freeze(["none"]),
220
+ skus: Object.freeze(["JUUL-DEV-SILVER","JUUL-DEV-GOLD","JUUL-DEV-SLATE","PVC-JUL-DEVICE","PVC-JUL-SILVER"]),
221
+ titleAliases: Object.freeze(["JUUL Device Slate","JUUL Silver Device","JUUL Gold Device"]),
222
+ }),
223
+ Object.freeze({
224
+ catalogKey: "juul-menthol-pods",
225
+ brand: "JUUL",
226
+ title: "JUUL Menthol Pods 2 Pack - 0.7 mL Refills",
227
+ category: "Nicotine pod",
228
+ flavors: Object.freeze(["menthol"]),
229
+ skus: Object.freeze(["JUUL-POD-MENT-05-2P","PVC-JUL-MENTHO"]),
230
+ }),
231
+ Object.freeze({
232
+ catalogKey: "juul-menthol-pods-4-pack",
233
+ brand: "JUUL",
234
+ title: "JUUL Menthol Pods 4 Pack - 0.7 mL Refills",
235
+ category: "Nicotine pod",
236
+ flavors: Object.freeze(["menthol"]),
237
+ skus: Object.freeze(["JUUL-POD-MENT-03-4P","JUUL-POD-MENT-05-4P","PVC-JUL-MENTHO-3","PVC-JUL-MENTHO-5"]),
238
+ }),
239
+ Object.freeze({
240
+ catalogKey: "juul-virginia-tobacco-pods",
241
+ brand: "JUUL",
242
+ title: "JUUL Virginia Tobacco Pods 2 Pack - 0.7 mL Refills",
243
+ category: "Nicotine pod",
244
+ flavors: Object.freeze(["virginia tobacco"]),
245
+ skus: Object.freeze(["JUUL-POD-VTOB-03-2P","JUUL-POD-VTOB-05-2P","PVC-JUL-VIRGIN"]),
246
+ }),
247
+ Object.freeze({
248
+ catalogKey: "juul-virginia-tobacco-pods-4-pack",
249
+ brand: "JUUL",
250
+ title: "JUUL Virginia Tobacco Pods 4 Pack - 0.7 mL Refills",
251
+ category: "Nicotine pod",
252
+ flavors: Object.freeze(["virginia tobacco"]),
253
+ skus: Object.freeze(["JUUL-POD-VTOB-03-4P","JUUL-POD-VTOB-05-4P","PVC-JUL-VIRGIN-3","PVC-JUL-VIRGIN-5"]),
254
+ }),
255
+ Object.freeze({
256
+ catalogKey: "logic-platinum-label-menthol-disposable",
257
+ brand: "Logic",
258
+ title: "Logic Platinum Label Menthol Disposable Vape - Prefilled E-Cig",
259
+ category: "Disposable vape",
260
+ flavors: Object.freeze(["menthol"]),
261
+ skus: Object.freeze(["LOGIC-PLAT-DISP-MENT-24"]),
262
+ }),
263
+ Object.freeze({
264
+ catalogKey: "logic-platinum-label-tobacco-disposable",
265
+ brand: "Logic",
266
+ title: "Logic Platinum Label Tobacco Disposable Vape - Prefilled E-Cig",
267
+ category: "Disposable vape",
268
+ flavors: Object.freeze(["tobacco"]),
269
+ skus: Object.freeze(["LOGIC-PLAT-DISP-TOB-27MG"]),
270
+ }),
271
+ Object.freeze({
272
+ catalogKey: "logic-power-menthol-cartridges",
273
+ brand: "Logic",
274
+ title: "Logic Power Menthol Cartridges - 1.2 mL Refills",
275
+ category: "Nicotine pod",
276
+ flavors: Object.freeze(["menthol"]),
277
+ skus: Object.freeze(["LOGIC-PWR-CART-MENT-24-2P"]),
278
+ }),
279
+ Object.freeze({
280
+ catalogKey: "logic-power-menthol-starter-kit",
281
+ brand: "Logic",
282
+ title: "Logic Power Menthol Starter Kit - Device and 1 Cartridge",
283
+ category: "Vape device",
284
+ flavors: Object.freeze(["menthol"]),
285
+ skus: Object.freeze(["LOGIC-PWR-KIT-MENT-18"]),
286
+ }),
287
+ Object.freeze({
288
+ catalogKey: "logic-power-tobacco-cartridges",
289
+ brand: "Logic",
290
+ title: "Logic Power Tobacco Cartridges - 1.2 mL Refills",
291
+ category: "Nicotine pod",
292
+ flavors: Object.freeze(["tobacco"]),
293
+ skus: Object.freeze(["LOGIC-PWR-CART-TOB-24-2P"]),
294
+ }),
295
+ Object.freeze({
296
+ catalogKey: "logic-power-tobacco-starter-kit",
297
+ brand: "Logic",
298
+ title: "Logic Power Tobacco Starter Kit - Device and 1 Cartridge",
299
+ category: "Vape device",
300
+ flavors: Object.freeze(["tobacco"]),
301
+ skus: Object.freeze(["LOGIC-PWR-KIT-TOB-18"]),
302
+ }),
303
+ Object.freeze({
304
+ catalogKey: "logic-pro-menthol-capsules",
305
+ brand: "Logic",
306
+ title: "Logic Pro Menthol Capsules - Refills for Pro Pen",
307
+ category: "Nicotine pod",
308
+ flavors: Object.freeze(["menthol"]),
309
+ skus: Object.freeze(["LOGIC-PBLK-CAP-MENT-18-2P"]),
310
+ }),
311
+ Object.freeze({
312
+ catalogKey: "logic-pro-tobacco-capsules",
313
+ brand: "Logic",
314
+ title: "Logic Pro Tobacco Capsules - 1.5 mL Refills",
315
+ category: "Nicotine pod",
316
+ flavors: Object.freeze(["tobacco"]),
317
+ skus: Object.freeze(["LOGIC-PBLK-CAP-TOB-18-2P"]),
318
+ }),
319
+ Object.freeze({
320
+ catalogKey: "logic-pro-vaporizer-starter-kit",
321
+ brand: "Logic",
322
+ title: "Logic Pro Vaporizer Starter Kit - Device and USB Charger",
323
+ category: "Vape device",
324
+ flavors: Object.freeze(["none"]),
325
+ skus: Object.freeze(["LOGIC-PRO-KIT"]),
326
+ }),
327
+ Object.freeze({
328
+ catalogKey: "lucy-apple-ice",
329
+ brand: "Lucy",
330
+ title: "Lucy Apple Ice Nicotine Pouches - 5 Can Pack",
331
+ category: "Nicotine pouch",
332
+ flavors: Object.freeze(["apple","ice"]),
333
+ skus: Object.freeze(["LUCY-POU-AICE-04MG","LUCY-POU-AICE-08MG"]),
334
+ }),
335
+ Object.freeze({
336
+ catalogKey: "lucy-breakers-apple-cider",
337
+ brand: "Lucy",
338
+ title: "Lucy Breakers Apple Cider Nicotine Pouches - 5 Can Pack",
339
+ category: "Nicotine pouch",
340
+ flavors: Object.freeze(["apple cider"]),
341
+ skus: Object.freeze(["LUCY-BRK-ACIDER-04MG","LUCY-BRK-ACIDER-08MG"]),
342
+ }),
343
+ Object.freeze({
344
+ catalogKey: "lucy-breakers-apple-ice",
345
+ brand: "Lucy",
346
+ title: "Lucy Breakers Apple Ice Nicotine Pouches - 5 Can Pack",
347
+ category: "Nicotine pouch",
348
+ flavors: Object.freeze(["apple","ice"]),
349
+ skus: Object.freeze(["LUCY-BRK-AICE-04MG","LUCY-BRK-AICE-08MG"]),
350
+ }),
351
+ Object.freeze({
352
+ catalogKey: "lucy-breakers-berry-citrus",
353
+ brand: "Lucy",
354
+ title: "Lucy Breakers Berry Citrus Nicotine Pouches - 5 Can Pack",
355
+ category: "Nicotine pouch",
356
+ flavors: Object.freeze(["berry","citrus"]),
357
+ skus: Object.freeze(["LUCY-BRK-BCITRUS-04MG","LUCY-BRK-BCITRUS-08MG"]),
358
+ }),
359
+ Object.freeze({
360
+ catalogKey: "lucy-breakers-espresso",
361
+ brand: "Lucy",
362
+ title: "Lucy Breakers Espresso Nicotine Pouches - 5 Can Pack",
363
+ category: "Nicotine pouch",
364
+ flavors: Object.freeze(["espresso"]),
365
+ skus: Object.freeze(["LUCY-BRK-ESPR-04MG","LUCY-BRK-ESPR-08MG"]),
366
+ }),
367
+ Object.freeze({
368
+ catalogKey: "lucy-breakers-mango",
369
+ brand: "Lucy",
370
+ title: "Lucy Breakers Mango Nicotine Pouches - 5 Can Pack",
371
+ category: "Nicotine pouch",
372
+ flavors: Object.freeze(["mango"]),
373
+ skus: Object.freeze(["LUCY-BRK-MANGO-04MG","LUCY-BRK-MANGO-08MG"]),
374
+ }),
375
+ Object.freeze({
376
+ catalogKey: "lucy-breakers-mint",
377
+ brand: "Lucy",
378
+ title: "Lucy Breakers Mint Nicotine Pouches - 5 Can Pack",
379
+ category: "Nicotine pouch",
380
+ flavors: Object.freeze(["mint"]),
381
+ skus: Object.freeze(["LUCY-BRK-MINT-04MG","LUCY-BRK-MINT-08MG"]),
382
+ }),
383
+ Object.freeze({
384
+ catalogKey: "lucy-cinnamon",
385
+ brand: "Lucy",
386
+ title: "Lucy Cinnamon Nicotine Pouches - 5 Can Pack",
387
+ category: "Nicotine pouch",
388
+ flavors: Object.freeze(["cinnamon"]),
389
+ skus: Object.freeze(["LUCY-POU-CINN-04MG","LUCY-POU-CINN-08MG"]),
390
+ }),
391
+ Object.freeze({
392
+ catalogKey: "lucy-clear",
393
+ brand: "Lucy",
394
+ title: "Lucy Clear Nicotine Pouches - 5 Can Pack",
395
+ category: "Nicotine pouch",
396
+ flavors: Object.freeze(["unflavored"]),
397
+ skus: Object.freeze(["LUCY-POU-CLEAR-04MG","LUCY-POU-CLEAR-08MG"]),
398
+ }),
399
+ Object.freeze({
400
+ catalogKey: "lucy-espresso",
401
+ brand: "Lucy",
402
+ title: "Lucy Espresso Nicotine Pouches - 5 Can Pack",
403
+ category: "Nicotine pouch",
404
+ flavors: Object.freeze(["espresso"]),
405
+ skus: Object.freeze(["LUCY-POU-ESPR-04MG","LUCY-POU-ESPR-08MG"]),
406
+ }),
407
+ Object.freeze({
408
+ catalogKey: "lucy-mango",
409
+ brand: "Lucy",
410
+ title: "Lucy Mango Nicotine Pouches - 5 Can Pack",
411
+ category: "Nicotine pouch",
412
+ flavors: Object.freeze(["mango"]),
413
+ skus: Object.freeze(["LUCY-POU-MANGO-04MG","LUCY-POU-MANGO-08MG"]),
414
+ }),
415
+ Object.freeze({
416
+ catalogKey: "lucy-mint",
417
+ brand: "Lucy",
418
+ title: "Lucy Mint Nicotine Pouches - 5 Can Pack",
419
+ category: "Nicotine pouch",
420
+ flavors: Object.freeze(["mint"]),
421
+ skus: Object.freeze(["LUCY-POU-MINT-04MG","LUCY-POU-MINT-08MG"]),
422
+ }),
423
+ Object.freeze({
424
+ catalogKey: "lucy-nicotine-pouches-brisk-4mg",
425
+ brand: "Lucy",
426
+ title: "Lucy Nicotine Pouches BRISK",
427
+ category: "Nicotine pouch",
428
+ flavors: Object.freeze(["mint"]),
429
+ skus: Object.freeze(["LUCY-POU-BRISK-04MG","LUCY-POU-BRISK-08MG"]),
430
+ }),
431
+ Object.freeze({
432
+ catalogKey: "myblu-menthol-liquidpod-2-4",
433
+ brand: "blu",
434
+ title: "MyBlu Menthol Liquidpod 2.4%",
435
+ category: "Nicotine pod",
436
+ flavors: Object.freeze(["menthol"]),
437
+ skus: Object.freeze(["MYBLU-POD-MENT-24"]),
438
+ }),
439
+ Object.freeze({
440
+ catalogKey: "myblu-rich-tobacco-liquidpod-2-4-2pc",
441
+ brand: "blu",
442
+ title: "MyBlu Rich Tobacco Liquidpod 2.4% 2PC",
443
+ category: "Nicotine pod",
444
+ flavors: Object.freeze(["rich tobacco"]),
445
+ skus: Object.freeze(["MYBLU-POD-RTOB-24-2P","PVC-BLU-MYBLUR-24"]),
446
+ }),
447
+ Object.freeze({
448
+ catalogKey: "myblu-rich-tobacco-liquidpod-3-6-2pc",
449
+ brand: "blu",
450
+ title: "MyBlu Rich Tobacco Liquidpod 3.6% 2PC",
451
+ category: "Nicotine pod",
452
+ flavors: Object.freeze(["rich tobacco"]),
453
+ skus: Object.freeze(["MYBLU-POD-RTOB-36-2P","PVC-BLU-MYBLUR-36"]),
454
+ }),
455
+ Object.freeze({
456
+ catalogKey: "myblu-tobacco-ice-liquidpod-4-2pc",
457
+ brand: "blu",
458
+ title: "MyBlu Tobacco Ice Liquidpod 4% 2PC",
459
+ category: "Nicotine pod",
460
+ flavors: Object.freeze(["tobacco","ice"]),
461
+ skus: Object.freeze(["MYBLU-POD-TICE-04-2P","PVC-BLU-MYBLUT-2"]),
462
+ }),
463
+ Object.freeze({
464
+ catalogKey: "njoy-daily-extra-menthol-disposable",
465
+ brand: "NJOY",
466
+ title: "NJOY Daily Extra Menthol Disposable Vape - 6% Nicotine, 0.9 mL",
467
+ category: "Disposable vape",
468
+ flavors: Object.freeze(["menthol"]),
469
+ skus: Object.freeze(["NJOY-DAILY-DISP-XMENT-06","PVC-NJY-DAILYE"]),
470
+ }),
471
+ Object.freeze({
472
+ catalogKey: "njoy-daily-extra-rich-tobacco-disposable",
473
+ brand: "NJOY",
474
+ title: "NJOY Daily Extra Rich Tobacco Disposable Vape - 6% Nicotine, 0.9 mL",
475
+ category: "Disposable vape",
476
+ flavors: Object.freeze(["rich tobacco"]),
477
+ skus: Object.freeze(["NJOY-DAILY-DISP-XRTOB-06","PVC-NJY-DAILYE-2"]),
478
+ }),
479
+ Object.freeze({
480
+ catalogKey: "njoy-daily-menthol-disposable",
481
+ brand: "NJOY",
482
+ title: "NJOY Daily Menthol Disposable Vape - 4.5% Nicotine, 0.9 mL",
483
+ category: "Disposable vape",
484
+ flavors: Object.freeze(["menthol"]),
485
+ skus: Object.freeze(["NJOY-DAILY-DISP-MENT-45","PVC-NJY-DAILYM"]),
486
+ }),
487
+ Object.freeze({
488
+ catalogKey: "njoy-daily-rich-tobacco-disposable",
489
+ brand: "NJOY",
490
+ title: "NJOY Daily Rich Tobacco Disposable Vape - 4.5% Nicotine, 0.9 mL",
491
+ category: "Disposable vape",
492
+ flavors: Object.freeze(["rich tobacco"]),
493
+ skus: Object.freeze(["NJOY-DAILY-DISP-RTOB-45","PVC-NJY-DAILYR"]),
494
+ }),
495
+ Object.freeze({
496
+ catalogKey: "on-cinnamon",
497
+ brand: "on!",
498
+ title: "on! Cinnamon Nicotine Pouches - 5 Can Roll",
499
+ category: "Nicotine pouch",
500
+ flavors: Object.freeze(["cinnamon"]),
501
+ skus: Object.freeze(["ON-POU-CINN-02MG","ON-POU-CINN-04MG","ON-POU-CINN-08MG"]),
502
+ }),
503
+ Object.freeze({
504
+ catalogKey: "on-citrus",
505
+ brand: "on!",
506
+ title: "on! Citrus Nicotine Pouches - 5 Can Roll",
507
+ category: "Nicotine pouch",
508
+ flavors: Object.freeze(["citrus"]),
509
+ skus: Object.freeze(["ON-POU-CITRUS-02MG","ON-POU-CITRUS-04MG","ON-POU-CITRUS-08MG"]),
510
+ }),
511
+ Object.freeze({
512
+ catalogKey: "on-coffee",
513
+ brand: "on!",
514
+ title: "on! Coffee Nicotine Pouches - 5 Can Roll",
515
+ category: "Nicotine pouch",
516
+ flavors: Object.freeze(["coffee"]),
517
+ skus: Object.freeze(["ON-POU-COFFEE-02MG","ON-POU-COFFEE-04MG","ON-POU-COFFEE-08MG"]),
518
+ }),
519
+ Object.freeze({
520
+ catalogKey: "on-mint",
521
+ brand: "on!",
522
+ title: "on! Mint Nicotine Pouches - 5 Can Roll",
523
+ category: "Nicotine pouch",
524
+ flavors: Object.freeze(["mint"]),
525
+ skus: Object.freeze(["ON-POU-MINT-02MG","ON-POU-MINT-04MG","ON-POU-MINT-08MG"]),
526
+ }),
527
+ Object.freeze({
528
+ catalogKey: "on-original",
529
+ brand: "on!",
530
+ title: "on! Original Nicotine Pouches - 5 Can Roll",
531
+ category: "Nicotine pouch",
532
+ flavors: Object.freeze(["unflavored"]),
533
+ skus: Object.freeze(["ON-POU-ORIG-02MG","ON-POU-ORIG-04MG","ON-POU-ORIG-08MG"]),
534
+ }),
535
+ Object.freeze({
536
+ catalogKey: "on-plus-mint",
537
+ brand: "on!",
538
+ title: "on! PLUS Mint Nicotine Pouches - 5 Can Roll",
539
+ category: "Nicotine pouch",
540
+ flavors: Object.freeze(["mint"]),
541
+ skus: Object.freeze(["ON-PLUS-MINT-06MG","ON-PLUS-MINT-09MG"]),
542
+ }),
543
+ Object.freeze({
544
+ catalogKey: "on-plus-tobacco",
545
+ brand: "on!",
546
+ title: "on! PLUS Tobacco Nicotine Pouches - 5 Can Roll",
547
+ category: "Nicotine pouch",
548
+ flavors: Object.freeze(["tobacco"]),
549
+ skus: Object.freeze(["ON-PLUS-TOB-06MG","ON-PLUS-TOB-09MG"]),
550
+ }),
551
+ Object.freeze({
552
+ catalogKey: "on-plus-wintergreen",
553
+ brand: "on!",
554
+ title: "on! PLUS Wintergreen Nicotine Pouches - 5 Can Roll",
555
+ category: "Nicotine pouch",
556
+ flavors: Object.freeze(["wintergreen"]),
557
+ skus: Object.freeze(["ON-PLUS-WINT-06MG","ON-PLUS-WINT-09MG"]),
558
+ }),
559
+ Object.freeze({
560
+ catalogKey: "on-wintergreen",
561
+ brand: "on!",
562
+ title: "on! Wintergreen Nicotine Pouches - 5 Can Roll",
563
+ category: "Nicotine pouch",
564
+ flavors: Object.freeze(["wintergreen"]),
565
+ skus: Object.freeze(["ON-POU-WINT-02MG","ON-POU-WINT-04MG","ON-POU-WINT-08MG"]),
566
+ }),
567
+ Object.freeze({
568
+ catalogKey: "rogue-apple",
569
+ brand: "Rogue",
570
+ title: "Rogue Apple Nicotine Pouches - 5 Can Pack",
571
+ category: "Nicotine pouch",
572
+ flavors: Object.freeze(["apple"]),
573
+ skus: Object.freeze(["ROGUE-POU-APPLE-03MG","ROGUE-POU-APPLE-06MG"]),
574
+ }),
575
+ Object.freeze({
576
+ catalogKey: "rogue-berry",
577
+ brand: "Rogue",
578
+ title: "Rogue Berry Nicotine Pouches - 5 Can Pack",
579
+ category: "Nicotine pouch",
580
+ flavors: Object.freeze(["berry"]),
581
+ skus: Object.freeze(["ROGUE-POU-BERRY-03MG","ROGUE-POU-BERRY-06MG"]),
582
+ }),
583
+ Object.freeze({
584
+ catalogKey: "rogue-cinnamon",
585
+ brand: "Rogue",
586
+ title: "Rogue Cinnamon Nicotine Pouches - 5 Can Pack",
587
+ category: "Nicotine pouch",
588
+ flavors: Object.freeze(["cinnamon"]),
589
+ skus: Object.freeze(["ROGUE-POU-CINN-03MG","ROGUE-POU-CINN-06MG"]),
590
+ }),
591
+ Object.freeze({
592
+ catalogKey: "rogue-citrus",
593
+ brand: "Rogue",
594
+ title: "Rogue Citrus Nicotine Pouches - 5 Can Pack",
595
+ category: "Nicotine pouch",
596
+ flavors: Object.freeze(["citrus"]),
597
+ skus: Object.freeze(["ROGUE-POU-CITRUS-03MG","ROGUE-POU-CITRUS-06MG"]),
598
+ }),
599
+ Object.freeze({
600
+ catalogKey: "rogue-honey-lemon",
601
+ brand: "Rogue",
602
+ title: "Rogue Honey Lemon Nicotine Pouches - 5 Can Pack",
603
+ category: "Nicotine pouch",
604
+ flavors: Object.freeze(["honey","lemon"]),
605
+ skus: Object.freeze(["ROGUE-POU-HLEMON-03MG","ROGUE-POU-HLEMON-06MG"]),
606
+ }),
607
+ Object.freeze({
608
+ catalogKey: "rogue-mango",
609
+ brand: "Rogue",
610
+ title: "Rogue Mango Nicotine Pouches - 5 Can Pack",
611
+ category: "Nicotine pouch",
612
+ flavors: Object.freeze(["mango"]),
613
+ skus: Object.freeze(["ROGUE-POU-MANGO-03MG","ROGUE-POU-MANGO-06MG"]),
614
+ }),
615
+ Object.freeze({
616
+ catalogKey: "rogue-nicotine-pouches-jalapeno-lime-3mg",
617
+ brand: "Rogue",
618
+ title: "Rogue Nicotine Pouches - Jalapeno Lime 3mg",
619
+ category: "Nicotine pouch",
620
+ flavors: Object.freeze(["jalapeno","lime"]),
621
+ skus: Object.freeze(["ROGUE-POU-JLIME-03MG"]),
622
+ }),
623
+ Object.freeze({
624
+ catalogKey: "rogue-nicotine-pouches-tobacco",
625
+ brand: "Rogue",
626
+ title: "Rogue Nicotine Pouches - Tobacco",
627
+ category: "Nicotine pouch",
628
+ flavors: Object.freeze(["tobacco"]),
629
+ skus: Object.freeze(["ROGUE-POU-TOB-03MG","ROGUE-POU-TOB-06MG"]),
630
+ }),
631
+ Object.freeze({
632
+ catalogKey: "rogue-nicotine-pouches-wintergreen",
633
+ brand: "Rogue",
634
+ title: "Rogue Wintergreen Nicotine Pouches - 5 Can Pack",
635
+ category: "Nicotine pouch",
636
+ flavors: Object.freeze(["wintergreen"]),
637
+ skus: Object.freeze(["ROGUE-POU-WINT-03MG","ROGUE-POU-WINT-06MG"]),
638
+ }),
639
+ Object.freeze({
640
+ catalogKey: "rogue-original",
641
+ brand: "Rogue",
642
+ title: "Rogue Original Nicotine Pouches - 5 Can Pack",
643
+ category: "Nicotine pouch",
644
+ flavors: Object.freeze(["unflavored"]),
645
+ skus: Object.freeze(["ROGUE-POU-ORIG-03MG","ROGUE-POU-ORIG-06MG"]),
646
+ }),
647
+ Object.freeze({
648
+ catalogKey: "rogue-peppermint",
649
+ brand: "Rogue",
650
+ title: "Rogue Peppermint Nicotine Pouches - 5 Can Pack",
651
+ category: "Nicotine pouch",
652
+ flavors: Object.freeze(["peppermint"]),
653
+ skus: Object.freeze(["ROGUE-POU-PEPP-03MG","ROGUE-POU-PEPP-06MG"]),
654
+ }),
655
+ Object.freeze({
656
+ catalogKey: "rogue-spearmint",
657
+ brand: "Rogue",
658
+ title: "Rogue Spearmint Nicotine Pouches - 5 Can Pack",
659
+ category: "Nicotine pouch",
660
+ flavors: Object.freeze(["spearmint"]),
661
+ skus: Object.freeze(["ROGUE-POU-SPEAR-03MG","ROGUE-POU-SPEAR-06MG"]),
662
+ }),
663
+ Object.freeze({
664
+ catalogKey: "velo-plus-cappuccino",
665
+ brand: "Velo",
666
+ title: "Velo Plus Cappuccino Nicotine Pouches - 5 Can Roll",
667
+ category: "Nicotine pouch",
668
+ flavors: Object.freeze(["cappuccino"]),
669
+ skus: Object.freeze(["VELO-PLUS-CAPP-03MG","VELO-PLUS-CAPP-06MG","VELO-PLUS-CAPP-09MG"]),
670
+ }),
671
+ Object.freeze({
672
+ catalogKey: "velo-plus-citrus-chill",
673
+ brand: "Velo",
674
+ title: "Velo Plus Citrus Chill Nicotine Pouches - 5 Can Roll",
675
+ category: "Nicotine pouch",
676
+ flavors: Object.freeze(["citrus","chill"]),
677
+ skus: Object.freeze(["VELO-PLUS-CCHILL-06MG","VELO-PLUS-CCHILL-09MG"]),
678
+ }),
679
+ Object.freeze({
680
+ catalogKey: "velo-plus-dragon-fruit",
681
+ brand: "Velo",
682
+ title: "Velo Plus Dragon Fruit Nicotine Pouches - 5 Can Roll",
683
+ category: "Nicotine pouch",
684
+ flavors: Object.freeze(["dragon fruit"]),
685
+ skus: Object.freeze(["VELO-PLUS-DFRUIT-06MG"]),
686
+ }),
687
+ Object.freeze({
688
+ catalogKey: "velo-plus-mint",
689
+ brand: "Velo",
690
+ title: "Velo Plus Mint Nicotine Pouches - 5 Can Roll",
691
+ category: "Nicotine pouch",
692
+ flavors: Object.freeze(["mint"]),
693
+ skus: Object.freeze(["VELO-PLUS-MINT-06MG","VELO-PLUS-MINT-09MG"]),
694
+ }),
695
+ Object.freeze({
696
+ catalogKey: "velo-plus-peppermint",
697
+ brand: "Velo",
698
+ title: "Velo Plus Peppermint Nicotine Pouches - 5 Can Roll",
699
+ category: "Nicotine pouch",
700
+ flavors: Object.freeze(["peppermint"]),
701
+ skus: Object.freeze(["VELO-PLUS-PEPP-03MG","VELO-PLUS-PEPP-06MG","VELO-PLUS-PEPP-09MG"]),
702
+ }),
703
+ Object.freeze({
704
+ catalogKey: "velo-plus-smooth",
705
+ brand: "Velo",
706
+ title: "Velo Plus Smooth Nicotine Pouches - 5 Can Roll",
707
+ category: "Nicotine pouch",
708
+ flavors: Object.freeze(["smooth"]),
709
+ skus: Object.freeze(["VELO-PLUS-SMOOTH-03MG","VELO-PLUS-SMOOTH-06MG","VELO-PLUS-SMOOTH-09MG"]),
710
+ }),
711
+ Object.freeze({
712
+ catalogKey: "velo-plus-spearmint",
713
+ brand: "Velo",
714
+ title: "Velo Plus Spearmint Nicotine Pouches - 5 Can Roll",
715
+ category: "Nicotine pouch",
716
+ flavors: Object.freeze(["spearmint"]),
717
+ skus: Object.freeze(["VELO-PLUS-SPEAR-03MG","VELO-PLUS-SPEAR-06MG","VELO-PLUS-SPEAR-09MG"]),
718
+ }),
719
+ Object.freeze({
720
+ catalogKey: "velo-plus-tropical-heat",
721
+ brand: "Velo",
722
+ title: "Velo Plus Tropical Heat Nicotine Pouches - 5 Can Roll",
723
+ category: "Nicotine pouch",
724
+ flavors: Object.freeze(["mango","chili"]),
725
+ skus: Object.freeze(["VELO-PLUS-THEAT-06MG"]),
726
+ }),
727
+ Object.freeze({
728
+ catalogKey: "velo-plus-wild-berry",
729
+ brand: "Velo",
730
+ title: "Velo Plus Wild Berry Nicotine Pouches - 5 Can Roll",
731
+ category: "Nicotine pouch",
732
+ flavors: Object.freeze(["wild berry"]),
733
+ skus: Object.freeze(["VELO-PLUS-WBERRY-03MG","VELO-PLUS-WBERRY-06MG","VELO-PLUS-WBERRY-09MG"]),
734
+ }),
735
+ Object.freeze({
736
+ catalogKey: "velo-plus-wintergreen",
737
+ brand: "Velo",
738
+ title: "Velo Plus Wintergreen Nicotine Pouches - 5 Can Roll",
739
+ category: "Nicotine pouch",
740
+ flavors: Object.freeze(["wintergreen"]),
741
+ skus: Object.freeze(["VELO-PLUS-WINT-03MG","VELO-PLUS-WINT-06MG","VELO-PLUS-WINT-09MG"]),
742
+ }),
743
+ Object.freeze({
744
+ catalogKey: "vuse-alto-all-in-one-kit-classic-tobacco",
745
+ brand: "Vuse",
746
+ title: "Vuse Alto All-In-One Kit Classic Tobacco - Device and 1 Pod",
747
+ category: "Vape device",
748
+ flavors: Object.freeze(["classic tobacco"]),
749
+ skus: Object.freeze(["VUSE-AIO-KIT-CTOB-05"]),
750
+ }),
751
+ Object.freeze({
752
+ catalogKey: "vuse-alto-all-in-one-kit-golden-tobacco",
753
+ brand: "Vuse",
754
+ title: "Vuse Alto All-In-One Kit Golden Tobacco - Device and 1 Pod",
755
+ category: "Vape device",
756
+ flavors: Object.freeze(["golden tobacco"]),
757
+ skus: Object.freeze(["VUSE-AIO-KIT-GOLD-05"]),
758
+ }),
759
+ Object.freeze({
760
+ catalogKey: "vuse-alto-all-in-one-kit-menthol",
761
+ brand: "Vuse",
762
+ title: "Vuse Alto All-In-One Kit Menthol - Device and 1 Pod",
763
+ category: "Vape device",
764
+ flavors: Object.freeze(["menthol"]),
765
+ skus: Object.freeze(["VUSE-AIO-KIT-MENT-05"]),
766
+ }),
767
+ Object.freeze({
768
+ catalogKey: "vuse-alto-aqua-frost-menthol-pods",
769
+ brand: "Vuse",
770
+ title: "Vuse Alto Aqua Frost Menthol Pods - 1.8 mL Refills",
771
+ category: "Nicotine pod",
772
+ flavors: Object.freeze(["aqua frost","menthol"]),
773
+ skus: Object.freeze(["VUSE-ALTO-POD-AFMENT-05-3P","PVC-VSE-ALTOAQ"]),
774
+ }),
775
+ Object.freeze({
776
+ catalogKey: "vuse-alto-classic-tobacco-pods",
777
+ brand: "Vuse",
778
+ title: "Vuse Alto Classic Tobacco Pods - 1.8 mL Refills",
779
+ category: "Nicotine pod",
780
+ flavors: Object.freeze(["classic tobacco"]),
781
+ skus: Object.freeze(["VUSE-ALTO-POD-CTOB-18-2P","VUSE-ALTO-POD-CTOB-24-2P","VUSE-ALTO-POD-CTOB-24-4P","VUSE-ALTO-POD-CTOB-05-2P","VUSE-ALTO-POD-CTOB-05-4P","PVC-VSE-ALTOCL-18","PVC-VSE-ALTOCL-24","PVC-VSE-ALTOCL-5"]),
782
+ }),
783
+ Object.freeze({
784
+ catalogKey: "vuse-alto-dusk-glow-tobacco-pods",
785
+ brand: "Vuse",
786
+ title: "Vuse Alto Dusk Glow Tobacco Pods - 1.8 mL Refills",
787
+ category: "Nicotine pod",
788
+ flavors: Object.freeze(["dusk glow tobacco"]),
789
+ skus: Object.freeze(["VUSE-ALTO-POD-DGTOB-05-3P"]),
790
+ }),
791
+ Object.freeze({
792
+ catalogKey: "vuse-alto-golden-spark-tobacco-pods",
793
+ brand: "Vuse",
794
+ title: "Vuse Alto Golden Spark Tobacco Pods - 1.8 mL Refills",
795
+ category: "Nicotine pod",
796
+ flavors: Object.freeze(["golden spark tobacco"]),
797
+ skus: Object.freeze(["VUSE-ALTO-POD-GSTOB-05-3P"]),
798
+ }),
799
+ Object.freeze({
800
+ catalogKey: "vuse-alto-golden-tobacco-pods",
801
+ brand: "Vuse",
802
+ title: "Vuse Alto Golden Tobacco Pods - 1.8 mL Refills",
803
+ category: "Nicotine pod",
804
+ flavors: Object.freeze(["golden tobacco"]),
805
+ skus: Object.freeze(["VUSE-ALTO-POD-GTOB-18-2P","VUSE-ALTO-POD-GTOB-24-2P","VUSE-ALTO-POD-GTOB-24-4P","VUSE-ALTO-POD-GTOB-24-6P","VUSE-ALTO-POD-GTOB-05-1P","VUSE-ALTO-POD-GTOB-05-2P","VUSE-ALTO-POD-GTOB-05-4P","VUSE-ALTO-POD-GTOB-05-6P","PVC-VSE-ALTOGO-18","PVC-VSE-ALTOGO-24","PVC-VSE-ALTOGO-5","PVC-VSE-ALTOGO-24-2","PVC-VSE-ALTOGO-5-2","PVC-VSE-ALTOGO"]),
806
+ }),
807
+ Object.freeze({
808
+ catalogKey: "vuse-alto-menthol-pods",
809
+ brand: "Vuse",
810
+ title: "Vuse Alto Menthol Pods - 1.8 mL Refills",
811
+ category: "Nicotine pod",
812
+ flavors: Object.freeze(["menthol"]),
813
+ skus: Object.freeze(["VUSE-ALTO-POD-MENT-18-2P","VUSE-ALTO-POD-MENT-24-2P","VUSE-ALTO-POD-MENT-24-4P","VUSE-ALTO-POD-MENT-24-6P","VUSE-ALTO-POD-MENT-05-1P","VUSE-ALTO-POD-MENT-05-2P","VUSE-ALTO-POD-MENT-05-4P","VUSE-ALTO-POD-MENT-05-6P","VUSE-ALTO-POD-MENT-18-4P-18","VUSE-ALTO-POD-MENT-18-6P-18","VUSE-ALTO-POD-MENT-18-1P-18","VUSE-ALTO-POD-MENT-24-1P-18","PVC-VSE-ALTOME","PVC-VSE-ALTOME-18","PVC-VSE-ALTOME-24","PVC-VSE-ALTOME-5","PVC-VSE-ALTOME-24-2","PVC-VSE-ALTOME-5-2","PVC-VSE-ALTOME-2"]),
814
+ }),
815
+ Object.freeze({
816
+ catalogKey: "vuse-alto-power-unit",
817
+ brand: "Vuse",
818
+ title: "Vuse Alto Power Unit - Rechargeable Battery",
819
+ category: "Vape device",
820
+ flavors: Object.freeze(["none"]),
821
+ skus: Object.freeze(["VUSE-ALTO-DEV-SLATE","VUSE-ALTO-DEV-BLUE","VUSE-ALTO-DEV-TEAL","VUSE-ALTO-DEV-RED","PVC-VSE-ALTO","PVC-VSE-ALTO-2","PVC-VSE-ALTO-3"]),
822
+ titleAliases: Object.freeze(["Vuse Alto Slate Power Unit","Vuse Alto Blue Power Unit","Vuse Alto Teal Power Unit","Vuse Alto Red Power Unit"]),
823
+ }),
824
+ Object.freeze({
825
+ catalogKey: "vuse-alto-prismatic-aqua-frost-menthol-kit",
826
+ brand: "Vuse",
827
+ title: "Vuse Alto Prismatic Aqua Frost Menthol Kit - Device and 2 Pods",
828
+ category: "Vape device",
829
+ flavors: Object.freeze(["aqua frost","menthol"]),
830
+ skus: Object.freeze(["VUSE-ALTO-KIT-AFMENT-05","PVC-VSE-ALTOAQ-2"]),
831
+ }),
832
+ Object.freeze({
833
+ catalogKey: "vuse-pro-peach-pods",
834
+ brand: "Vuse",
835
+ title: "Vuse Pro Peach Pods 2 Pack 5% - 2 mL Refills",
836
+ category: "Nicotine pod",
837
+ flavors: Object.freeze(["peach"]),
838
+ skus: Object.freeze(["VUSE-PRO-POD-PEACH-2P"]),
839
+ }),
840
+ Object.freeze({
841
+ catalogKey: "vuse-pro-peach-pods-4-pack",
842
+ brand: "Vuse",
843
+ title: "Vuse Pro Peach Pods 4 Pack 5% - 2 mL Refills",
844
+ category: "Nicotine pod",
845
+ flavors: Object.freeze(["peach"]),
846
+ skus: Object.freeze(["VUSE-PRO-POD-PEACH-4P"]),
847
+ }),
848
+ Object.freeze({
849
+ catalogKey: "vuse-pro-watermelon-pods",
850
+ brand: "Vuse",
851
+ title: "Vuse Pro Watermelon Pods 2 Pack 5% - 2 mL Refills",
852
+ category: "Nicotine pod",
853
+ flavors: Object.freeze(["watermelon"]),
854
+ skus: Object.freeze(["VUSE-PRO-POD-WMELON-2P"]),
855
+ }),
856
+ Object.freeze({
857
+ catalogKey: "vuse-pro-watermelon-pods-4-pack",
858
+ brand: "Vuse",
859
+ title: "Vuse Pro Watermelon Pods 4 Pack 5% - 2 mL Refills",
860
+ category: "Nicotine pod",
861
+ flavors: Object.freeze(["watermelon"]),
862
+ skus: Object.freeze(["VUSE-PRO-POD-WMELON-4P"]),
863
+ }),
864
+ Object.freeze({
865
+ catalogKey: "vuse-solo-menthol-cartridges",
866
+ brand: "Vuse",
867
+ title: "Vuse Solo Menthol Cartridges - 0.5 mL Refills",
868
+ category: "Nicotine pod",
869
+ flavors: Object.freeze(["menthol"]),
870
+ skus: Object.freeze(["VUSE-SOLO-CART-MENT-48-2P","PVC-VSE-SOLOME"]),
871
+ }),
872
+ Object.freeze({
873
+ catalogKey: "vuse-solo-original-cartridges",
874
+ brand: "Vuse",
875
+ title: "Vuse Solo Original Cartridges - 0.5 mL Refills",
876
+ category: "Nicotine pod",
877
+ flavors: Object.freeze(["classic tobacco"]),
878
+ skus: Object.freeze(["VUSE-SOLO-CART-OTOB-48-2P"]),
879
+ }),
880
+ Object.freeze({
881
+ catalogKey: "vuse-solo-power-kit",
882
+ brand: "Vuse",
883
+ title: "Vuse Solo Power Kit - Rechargeable Battery",
884
+ category: "Vape device",
885
+ flavors: Object.freeze(["none"]),
886
+ skus: Object.freeze(["VUSE-SOLO-KIT"]),
887
+ }),
888
+ Object.freeze({
889
+ catalogKey: "vuse-vibe-menthol-tanks",
890
+ brand: "Vuse",
891
+ title: "Vuse Vibe Menthol Tanks - Prefilled Refills",
892
+ category: "Nicotine pod",
893
+ flavors: Object.freeze(["menthol"]),
894
+ skus: Object.freeze(["VUSE-VIBE-TANK-MENT-03-2P","PVC-VSE-VIBEME"]),
895
+ }),
896
+ Object.freeze({
897
+ catalogKey: "vuse-vibe-original-tobacco-tanks",
898
+ brand: "Vuse",
899
+ title: "Vuse Vibe Original Tobacco Tanks - Prefilled Refills",
900
+ category: "Nicotine pod",
901
+ flavors: Object.freeze(["original tobacco"]),
902
+ skus: Object.freeze(["VUSE-VIBE-TANK-OTOB-03-2P","PVC-VSE-VIBEOR"]),
903
+ }),
904
+ Object.freeze({
905
+ catalogKey: "vuse-vibe-power-unit",
906
+ brand: "Vuse",
907
+ title: "Vuse Vibe Power Unit - Rechargeable Battery",
908
+ category: "Vape device",
909
+ flavors: Object.freeze(["none"]),
910
+ skus: Object.freeze(["VUSE-VIBE-DEV","PVC-VSE-VIBE"]),
911
+ }),
912
+ Object.freeze({
913
+ catalogKey: "zyn-black-cherry",
914
+ brand: "ZYN",
915
+ title: "ZYN Black Cherry Nicotine Pouches - 5 Can Roll",
916
+ category: "Nicotine pouch",
917
+ flavors: Object.freeze(["black cherry"]),
918
+ skus: Object.freeze(["ZYN-POU-BCHERRY-03MG","ZYN-POU-BCHERRY-06MG"]),
919
+ }),
920
+ Object.freeze({
921
+ catalogKey: "zyn-chill",
922
+ brand: "ZYN",
923
+ title: "ZYN Chill Nicotine Pouches - 5 Can Roll",
924
+ category: "Nicotine pouch",
925
+ flavors: Object.freeze(["chill"]),
926
+ skus: Object.freeze(["ZYN-POU-CHILL-03MG","ZYN-POU-CHILL-06MG"]),
927
+ }),
928
+ Object.freeze({
929
+ catalogKey: "zyn-cinnamon",
930
+ brand: "ZYN",
931
+ title: "ZYN Cinnamon Nicotine Pouches - 5 Can Roll",
932
+ category: "Nicotine pouch",
933
+ flavors: Object.freeze(["cinnamon"]),
934
+ skus: Object.freeze(["ZYN-POU-CINN-03MG","ZYN-POU-CINN-06MG"]),
935
+ }),
936
+ Object.freeze({
937
+ catalogKey: "zyn-citrus",
938
+ brand: "ZYN",
939
+ title: "ZYN Citrus Nicotine Pouches - 5 Can Roll",
940
+ category: "Nicotine pouch",
941
+ flavors: Object.freeze(["citrus"]),
942
+ skus: Object.freeze(["ZYN-POU-CITRUS-03MG","ZYN-POU-CITRUS-06MG"]),
943
+ }),
944
+ Object.freeze({
945
+ catalogKey: "zyn-coffee",
946
+ brand: "ZYN",
947
+ title: "ZYN Coffee Nicotine Pouches - 5 Can Roll",
948
+ category: "Nicotine pouch",
949
+ flavors: Object.freeze(["coffee"]),
950
+ skus: Object.freeze(["ZYN-POU-COFFEE-03MG","ZYN-POU-COFFEE-06MG"]),
951
+ }),
952
+ Object.freeze({
953
+ catalogKey: "zyn-cool-mint",
954
+ brand: "ZYN",
955
+ title: "ZYN Cool Mint Nicotine Pouches - 5 Can Roll",
956
+ category: "Nicotine pouch",
957
+ flavors: Object.freeze(["cool mint"]),
958
+ skus: Object.freeze(["ZYN-POU-CMINT-03MG","ZYN-POU-CMINT-06MG"]),
959
+ }),
960
+ Object.freeze({
961
+ catalogKey: "zyn-dragonberry",
962
+ brand: "ZYN",
963
+ title: "ZYN Dragonberry Nicotine Pouches - 5 Can Roll",
964
+ category: "Nicotine pouch",
965
+ flavors: Object.freeze(["dragonberry"]),
966
+ skus: Object.freeze(["ZYN-POU-DBERRY-03MG","ZYN-POU-DBERRY-06MG"]),
967
+ }),
968
+ Object.freeze({
969
+ catalogKey: "zyn-menthol",
970
+ brand: "ZYN",
971
+ title: "ZYN Menthol Nicotine Pouches - 5 Can Roll",
972
+ category: "Nicotine pouch",
973
+ flavors: Object.freeze(["menthol"]),
974
+ skus: Object.freeze(["ZYN-POU-MENT-03MG","ZYN-POU-MENT-06MG"]),
975
+ }),
976
+ Object.freeze({
977
+ catalogKey: "zyn-original",
978
+ brand: "ZYN",
979
+ title: "ZYN Original Nicotine Pouches - 5 Can Roll",
980
+ category: "Nicotine pouch",
981
+ flavors: Object.freeze(["unflavored"]),
982
+ skus: Object.freeze(["ZYN-POU-ORIG-03MG","ZYN-POU-ORIG-06MG"]),
983
+ }),
984
+ Object.freeze({
985
+ catalogKey: "zyn-peach",
986
+ brand: "ZYN",
987
+ title: "ZYN Peach Nicotine Pouches - 5 Can Roll",
988
+ category: "Nicotine pouch",
989
+ flavors: Object.freeze(["peach"]),
990
+ skus: Object.freeze(["ZYN-POU-PEACH-03MG","ZYN-POU-PEACH-06MG"]),
991
+ }),
992
+ Object.freeze({
993
+ catalogKey: "zyn-peppermint",
994
+ brand: "ZYN",
995
+ title: "ZYN Peppermint Nicotine Pouches - 5 Can Roll",
996
+ category: "Nicotine pouch",
997
+ flavors: Object.freeze(["peppermint"]),
998
+ skus: Object.freeze(["ZYN-POU-PEPP-03MG","ZYN-POU-PEPP-06MG"]),
999
+ }),
1000
+ Object.freeze({
1001
+ catalogKey: "zyn-smooth",
1002
+ brand: "ZYN",
1003
+ title: "ZYN Smooth Nicotine Pouches - 5 Can Roll",
1004
+ category: "Nicotine pouch",
1005
+ flavors: Object.freeze(["smooth"]),
1006
+ skus: Object.freeze(["ZYN-POU-SMOOTH-03MG","ZYN-POU-SMOOTH-06MG"]),
1007
+ }),
1008
+ Object.freeze({
1009
+ catalogKey: "zyn-spearmint",
1010
+ brand: "ZYN",
1011
+ title: "ZYN Spearmint Nicotine Pouches - 5 Can Roll",
1012
+ category: "Nicotine pouch",
1013
+ flavors: Object.freeze(["spearmint"]),
1014
+ skus: Object.freeze(["ZYN-POU-SPEAR-03MG","ZYN-POU-SPEAR-06MG"]),
1015
+ }),
1016
+ Object.freeze({
1017
+ catalogKey: "zyn-ultra-arctic-mint",
1018
+ brand: "ZYN",
1019
+ title: "ZYN Ultra Arctic Mint Nicotine Pouches - 5 Can Roll",
1020
+ category: "Nicotine pouch",
1021
+ flavors: Object.freeze(["arctic mint"]),
1022
+ skus: Object.freeze(["ZYN-ULTRA-AMINT-09MG","ZYN-ULTRA-AMINT-11MG"]),
1023
+ }),
1024
+ Object.freeze({
1025
+ catalogKey: "zyn-ultra-chill-mist",
1026
+ brand: "ZYN",
1027
+ title: "ZYN Ultra Chill Mist Nicotine Pouches - 5 Can Roll",
1028
+ category: "Nicotine pouch",
1029
+ flavors: Object.freeze(["chill"]),
1030
+ skus: Object.freeze(["ZYN-ULTRA-CMIST-09MG","ZYN-ULTRA-CMIST-11MG"]),
1031
+ }),
1032
+ Object.freeze({
1033
+ catalogKey: "zyn-ultra-citrus-zest",
1034
+ brand: "ZYN",
1035
+ title: "ZYN Ultra Citrus Zest Nicotine Pouches - 5 Can Roll",
1036
+ category: "Nicotine pouch",
1037
+ flavors: Object.freeze(["citrus"]),
1038
+ skus: Object.freeze(["ZYN-ULTRA-CITRUS-09MG","ZYN-ULTRA-CITRUS-11MG"]),
1039
+ }),
1040
+ Object.freeze({
1041
+ catalogKey: "zyn-ultra-fresh-spearmint",
1042
+ brand: "ZYN",
1043
+ title: "ZYN Ultra Fresh Spearmint Nicotine Pouches - 5 Can Roll",
1044
+ category: "Nicotine pouch",
1045
+ flavors: Object.freeze(["fresh spearmint"]),
1046
+ skus: Object.freeze(["ZYN-ULTRA-FSPEAR-09MG","ZYN-ULTRA-FSPEAR-11MG"]),
1047
+ }),
1048
+ Object.freeze({
1049
+ catalogKey: "zyn-ultra-menthol-ice",
1050
+ brand: "ZYN",
1051
+ title: "ZYN Ultra Menthol Ice Nicotine Pouches - 5 Can Roll",
1052
+ category: "Nicotine pouch",
1053
+ flavors: Object.freeze(["menthol","ice"]),
1054
+ skus: Object.freeze(["ZYN-ULTRA-MICE-09MG","ZYN-ULTRA-MICE-11MG"]),
1055
+ }),
1056
+ Object.freeze({
1057
+ catalogKey: "zyn-ultra-peppermint-frost",
1058
+ brand: "ZYN",
1059
+ title: "ZYN Ultra Peppermint Frost Nicotine Pouches - 5 Can Roll",
1060
+ category: "Nicotine pouch",
1061
+ flavors: Object.freeze(["peppermint","frost"]),
1062
+ skus: Object.freeze(["ZYN-ULTRA-PFROST-09MG","ZYN-ULTRA-PFROST-11MG"]),
1063
+ }),
1064
+ Object.freeze({
1065
+ catalogKey: "zyn-ultra-signature-smooth",
1066
+ brand: "ZYN",
1067
+ title: "ZYN Ultra Signature Smooth Nicotine Pouches - 5 Can Roll",
1068
+ category: "Nicotine pouch",
1069
+ flavors: Object.freeze(["smooth"]),
1070
+ skus: Object.freeze(["ZYN-ULTRA-SSMOOTH-09MG","ZYN-ULTRA-SSMOOTH-11MG"]),
1071
+ }),
1072
+ Object.freeze({
1073
+ catalogKey: "zyn-ultra-wintergreen-blast",
1074
+ brand: "ZYN",
1075
+ title: "ZYN Ultra Wintergreen Blast Nicotine Pouches - 5 Can Roll",
1076
+ category: "Nicotine pouch",
1077
+ flavors: Object.freeze(["wintergreen"]),
1078
+ skus: Object.freeze(["ZYN-ULTRA-WBLAST-09MG","ZYN-ULTRA-WBLAST-11MG"]),
1079
+ }),
1080
+ Object.freeze({
1081
+ catalogKey: "zyn-wintergreen",
1082
+ brand: "ZYN",
1083
+ title: "ZYN Wintergreen Nicotine Pouches - 5 Can Roll",
1084
+ category: "Nicotine pouch",
1085
+ flavors: Object.freeze(["wintergreen"]),
1086
+ skus: Object.freeze(["ZYN-POU-WINT-03MG","ZYN-POU-WINT-06MG"]),
1087
+ }),
1088
+ ]);
1089
+
1090
+ const BRAND_ALIASES = new Map([
1091
+ ["alp", "ALP"],
1092
+ ["blu", "blu"],
1093
+ ["myblu", "blu"],
1094
+ ["my blu", "blu"],
1095
+ ["glas", "Glas"],
1096
+ ["glas vapor", "Glas"],
1097
+ ["juul", "JUUL"],
1098
+ ["juul labs", "JUUL"],
1099
+ ["logic", "Logic"],
1100
+ ["logic vapes", "Logic"],
1101
+ ["lucy", "Lucy"],
1102
+ ["lucy nicotine", "Lucy"],
1103
+ ["njoy", "NJOY"],
1104
+ ["on", "on!"],
1105
+ ["on!", "on!"],
1106
+ ["on nicotine", "on!"],
1107
+ ["rogue", "Rogue"],
1108
+ ["rogue nicotine", "Rogue"],
1109
+ ["velo", "Velo"],
1110
+ ["vuse", "Vuse"],
1111
+ ["vuse vapor", "Vuse"],
1112
+ ["zyn", "ZYN"],
1113
+ ]);
1114
+
1115
+ /** @type {Record<string, ReadonlyArray<readonly string[]>>} */
1116
+ const BRAND_PREFIX_WORDS = {
1117
+ ALP: [["alp"]],
1118
+ blu: [["blu", "myblu"], ["my", "blu"], ["myblu"], ["blu"]],
1119
+ Glas: [["glas", "vapor"], ["glas"]],
1120
+ JUUL: [["juul", "labs"], ["juul"]],
1121
+ Logic: [["logic", "vapes"], ["logic"]],
1122
+ Lucy: [["lucy", "nicotine"], ["lucy"]],
1123
+ NJOY: [["njoy"]],
1124
+ "on!": [["on", "nicotine"], ["on"]],
1125
+ Rogue: [["rogue", "nicotine"], ["rogue"]],
1126
+ Velo: [["velo"]],
1127
+ Vuse: [["vuse", "vapor"], ["vuse"]],
1128
+ ZYN: [["zyn"]],
1129
+ };
1130
+
1131
+ const TITLE_NOISE_WORDS = new Set(["refill", "refills", "prefilled", "usb"]);
1132
+
1133
+ /** @type {Readonly<Record<string, string>>} */
1134
+ const SINGULAR_WORDS = {
1135
+ pods: "pod",
1136
+ liquidpod: "pod",
1137
+ liquidpods: "pod",
1138
+ pouches: "pouch",
1139
+ cartridges: "cartridge",
1140
+ capsules: "capsule",
1141
+ tanks: "tank",
1142
+ vapes: "vape",
1143
+ kits: "kit",
1144
+ devices: "device",
1145
+ };
1146
+
1147
+ const CATALOG_METAFIELD_KEYS = new Set(["item_id", "group_id", "sku_code", "sku"]);
1148
+
1149
+ /** @param {unknown} vendor */
1150
+ function normalizeKnownBrand(vendor) {
1151
+ if (typeof vendor !== "string") return null;
1152
+ const cleaned = vendor.trim().toLowerCase().replace(/\s+/g, " ");
1153
+ if (!cleaned) return null;
1154
+ return BRAND_ALIASES.get(cleaned) ?? null;
1155
+ }
1156
+
1157
+ /**
1158
+ * @param {string} brand
1159
+ * @param {readonly string[]} words
1160
+ */
1161
+ function stripLeadingBrand(brand, words) {
1162
+ const prefixes = BRAND_PREFIX_WORDS[brand] ?? [];
1163
+ for (const prefix of prefixes) {
1164
+ if (words.length > prefix.length && prefix.every((w, i) => words[i] === w)) {
1165
+ return words.slice(prefix.length);
1166
+ }
1167
+ }
1168
+ return [...words];
1169
+ }
1170
+
1171
+ /**
1172
+ * @param {string} brand
1173
+ * @param {unknown} rawTitle
1174
+ * @param {boolean} [isPouchHint]
1175
+ */
1176
+ function normalizeTitleKeys(brand, rawTitle, isPouchHint = false) {
1177
+ if (typeof rawTitle !== "string" || !rawTitle.trim()) return [];
1178
+ const lower = rawTitle.toLowerCase();
1179
+ const exactWords = stripLeadingBrand(
1180
+ brand,
1181
+ lower.replace(/[^a-z0-9]+/g, " ").trim().split(/\s+/).filter(Boolean),
1182
+ );
1183
+ if (exactWords.length === 0) return [];
1184
+ const exactKey = exactWords.join(" ");
1185
+
1186
+ const cleaned = lower
1187
+ .replace(/\bdisposable\s+e-?cigs?\b/g, "disposable vape")
1188
+ .replace(/\bprefilled\s+e-?cigs?\b/g, "")
1189
+ .replace(/\be-?cigs?\b/g, "vape")
1190
+ .replace(/\s-\s+device\s+and\s+(?:\d+\s+(?:pods?|cartridges?)|usb\s+charger)\b/g, "")
1191
+ .replace(/\s[-|]\s+rechargeable(?:\s+battery)?\b/g, "")
1192
+ .replace(/\b\d+(?:\.\d+)?\s*(?:%(?:\s+nicotine\b)?|mg(?:\s*\/\s*ml)?\b(?:\s+nicotine\b)?)/g, " ")
1193
+ .replace(/\b\d+(?:\.\d+)?\s*ml\b/g, " ")
1194
+ .replace(/\b\d+[\s-]*(?:can[\s-]+rolls?|can[\s-]+packs?|cans?|packs?|pcs?|pieces?|count|ct)\b/g, " ");
1195
+
1196
+ let coreWords = stripLeadingBrand(
1197
+ brand,
1198
+ cleaned
1199
+ .replace(/[^a-z0-9]+/g, " ")
1200
+ .trim()
1201
+ .split(/\s+/)
1202
+ .filter((w) => w.length > 0 && !TITLE_NOISE_WORDS.has(w))
1203
+ .map((w) => SINGULAR_WORDS[w] ?? w),
1204
+ );
1205
+ coreWords = coreWords.filter((w, i) => i === 0 || w !== coreWords[i - 1]);
1206
+
1207
+ const joinedCore = coreWords
1208
+ .join(" ")
1209
+ .replace(/\bnicotine pod\b/g, "pod")
1210
+ .replace(/\bdisposable(?:\s+vape)?\b/g, "disposable vape");
1211
+
1212
+ const keys = [exactKey];
1213
+ if (joinedCore && !keys.includes(joinedCore)) keys.push(joinedCore);
1214
+
1215
+ if (isPouchHint || joinedCore.includes("nicotine pouch") || joinedCore.endsWith(" pouch")) {
1216
+ const stem = joinedCore
1217
+ .replace(/\bnicotine pouch\b/g, "")
1218
+ .replace(/\bpouch\b/g, "")
1219
+ .replace(/\s+/g, " ")
1220
+ .trim();
1221
+ if (stem && !keys.includes(stem)) keys.push(stem);
1222
+ }
1223
+ return keys;
1224
+ }
1225
+
1226
+ /**
1227
+ * @param {KnownProductComplianceEntry} a
1228
+ * @param {KnownProductComplianceEntry} b
1229
+ */
1230
+ function sameComplianceSignature(a, b) {
1231
+ return a.category === b.category && a.flavors.join("\0") === b.flavors.join("\0");
1232
+ }
1233
+
1234
+ /** @type {Map<string, KnownProductComplianceEntry>} */
1235
+ const BY_KEY = new Map();
1236
+ /** @type {Map<string, KnownProductComplianceEntry>} */
1237
+ const BY_SKU = new Map();
1238
+ /** @type {Map<string, KnownProductComplianceEntry | null>} */
1239
+ const BY_BRAND_TITLE = new Map();
1240
+
1241
+ for (const entry of KNOWN_PRODUCT_COMPLIANCE_CATALOG) {
1242
+ BY_KEY.set(entry.catalogKey.toLowerCase(), entry);
1243
+ for (const sku of entry.skus) {
1244
+ BY_SKU.set(sku.toUpperCase(), entry);
1245
+ }
1246
+ const titles = [entry.title, ...(entry.titleAliases ?? [])];
1247
+ for (const title of titles) {
1248
+ for (const key of normalizeTitleKeys(entry.brand, title, entry.category === "Nicotine pouch")) {
1249
+ const mapKey = `${entry.brand}\0${key}`;
1250
+ const existing = BY_BRAND_TITLE.get(mapKey);
1251
+ if (existing === undefined) {
1252
+ BY_BRAND_TITLE.set(mapKey, entry);
1253
+ } else if (existing !== null && !sameComplianceSignature(existing, entry)) {
1254
+ BY_BRAND_TITLE.set(mapKey, null);
1255
+ }
1256
+ }
1257
+ }
1258
+ }
1259
+
1260
+ /** @param {unknown} raw */
1261
+ function matchCatalogToken(raw) {
1262
+ if (typeof raw !== "string") return undefined;
1263
+ const trimmed = raw.trim();
1264
+ if (!trimmed) return undefined;
1265
+ return BY_KEY.get(trimmed.toLowerCase()) ?? BY_SKU.get(trimmed.toUpperCase());
1266
+ }
1267
+
1268
+ /** @param {unknown} metafields */
1269
+ function matchMetafields(metafields) {
1270
+ if (!Array.isArray(metafields)) return undefined;
1271
+ for (const mf of metafields) {
1272
+ if (!mf || mf.namespace !== "catalog" || typeof mf.key !== "string") continue;
1273
+ if (!CATALOG_METAFIELD_KEYS.has(mf.key.trim().toLowerCase())) continue;
1274
+ const hit = matchCatalogToken(mf.value);
1275
+ if (hit) return hit;
1276
+ }
1277
+ return undefined;
1278
+ }
1279
+
1280
+ /** @param {any} variant */
1281
+ function matchCatalogLink(variant) {
1282
+ const link = variant?.catalog_link;
1283
+ if (!link) return undefined;
1284
+ return (
1285
+ matchCatalogToken(link.item_id) ??
1286
+ matchCatalogToken(link.group_id) ??
1287
+ matchCatalogToken(link.sku_reference?.sku)
1288
+ );
1289
+ }
1290
+
1291
+ /** @param {readonly KnownProductComplianceEntry[]} entries */
1292
+ function unanimousEntry(entries) {
1293
+ if (entries.length === 0) return undefined;
1294
+ const first = entries[0];
1295
+ return entries.every((e) => sameComplianceSignature(first, e)) ? first : undefined;
1296
+ }
1297
+
1298
+ /**
1299
+ * Resolve shared compliance metadata for a known packaged product. Never branches
1300
+ * on `tenant_id`; matches purely on `catalog` link/metafield, SKU, canonical handle,
1301
+ * or normalized `(brand, title)` when `product.vendor` names a catalogued brand.
1302
+ *
1303
+ * @param {any} product
1304
+ * @param {any} [variant]
1305
+ * @returns {KnownProductComplianceEntry | undefined}
1306
+ */
1307
+ export function resolveKnownProductCompliance(product, variant) {
1308
+ if (!product || typeof product !== "object") return undefined;
1309
+
1310
+ const variantCatalogHit = matchCatalogLink(variant) ?? matchMetafields(variant?.metafields);
1311
+ if (variantCatalogHit) return variantCatalogHit;
1312
+ const productCatalogHit = matchMetafields(product.metafields);
1313
+ if (productCatalogHit) return productCatalogHit;
1314
+
1315
+ if (!variant?.catalog_link && !variant?.metafields?.length && Array.isArray(product.variants) && product.variants.length > 0) {
1316
+ const linked = product.variants
1317
+ .filter((v) => Boolean(v && (v.catalog_link || v.metafields?.length)))
1318
+ .map((v) => matchCatalogLink(v) ?? matchMetafields(v.metafields));
1319
+ if (linked.length > 0 && linked.every((e) => e !== undefined)) {
1320
+ const agreed = unanimousEntry(/** @type {KnownProductComplianceEntry[]} */ (linked));
1321
+ if (agreed) return agreed;
1322
+ }
1323
+ }
1324
+
1325
+ const variantSku = typeof variant?.sku === "string" ? variant.sku.trim().toUpperCase() : "";
1326
+ if (variantSku) {
1327
+ const skuHit = BY_SKU.get(variantSku);
1328
+ if (skuHit) return skuHit;
1329
+ } else if (Array.isArray(product.variants) && product.variants.length > 0) {
1330
+ const skus = product.variants
1331
+ .map((v) => (typeof v?.sku === "string" ? v.sku.trim().toUpperCase() : ""))
1332
+ .filter(Boolean);
1333
+ if (skus.length > 0) {
1334
+ const resolved = skus.map((s) => BY_SKU.get(s));
1335
+ if (resolved.every((e) => e !== undefined)) {
1336
+ const agreed = unanimousEntry(/** @type {KnownProductComplianceEntry[]} */ (resolved));
1337
+ if (agreed) return agreed;
1338
+ }
1339
+ }
1340
+ }
1341
+
1342
+ const handle = typeof product.handle === "string" ? product.handle.trim().toLowerCase() : "";
1343
+ if (handle) {
1344
+ const handleHit = BY_KEY.get(handle);
1345
+ if (handleHit) return handleHit;
1346
+ }
1347
+
1348
+ const brand = normalizeKnownBrand(product.vendor);
1349
+ if (brand !== null && typeof product.title === "string" && product.title.trim()) {
1350
+ for (const key of normalizeTitleKeys(brand, product.title)) {
1351
+ const hit = BY_BRAND_TITLE.get(`${brand}\0${key}`);
1352
+ if (hit) return hit;
1353
+ }
1354
+ }
1355
+
1356
+ return undefined;
1357
+ }