@gengage/assistant-fe 0.6.17 → 0.6.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/{request-text-DThlE-Xd.js → account-config-gj7_mF6Q.js} +725 -312
  2. package/dist/agentic/events/comparison.d.ts +6 -0
  3. package/dist/agentic/events/context-products.d.ts +6 -0
  4. package/dist/agentic/index.d.ts +8 -0
  5. package/dist/agentic/index.js +251 -168
  6. package/dist/agentic/recipes/catalog-assistant-flow.d.ts +50 -0
  7. package/dist/agentic/recipes/input-text/actions.d.ts +15 -0
  8. package/dist/agentic/recipes/input-text/index.d.ts +4 -0
  9. package/dist/agentic/recipes/input-text/products.d.ts +4 -0
  10. package/dist/agentic/recipes/input-text/ranking.d.ts +14 -0
  11. package/dist/agentic/recipes/input-text/steps.d.ts +31 -0
  12. package/dist/agentic/util/account-config.d.ts +8 -0
  13. package/dist/agentic/util/privacy.d.ts +12 -0
  14. package/dist/agentic/widgets/endpoints.d.ts +12 -0
  15. package/dist/agentic/worker.d.ts +8 -0
  16. package/dist/agentic/worker.js +415 -106
  17. package/dist/agentic.iife.js +7 -5
  18. package/dist/{api-paths-xsHH9jtm.js → api-paths-CEDR4rld.js} +1 -1
  19. package/dist/chat-runtime.js +1 -1
  20. package/dist/{chat-BP-yXukW.js → chat-rvSffJXw.js} +1 -1
  21. package/dist/chat.iife.js +11 -11
  22. package/dist/chat.js +2 -2
  23. package/dist/{common-O0BUdXOn.js → common-BBgWfT-W.js} +3 -3
  24. package/dist/common.js +8 -8
  25. package/dist/{connection-warning-DWMfjv0Y.js → connection-warning-B-doodzu.js} +1 -1
  26. package/dist/{fastIntent-RTSVRJhw.js → fastIntent-CloHPZQh.js} +2 -2
  27. package/dist/index.js +13 -13
  28. package/dist/{native-webview-U9HtGabb.js → native-webview-NWc9LrJh.js} +1 -1
  29. package/dist/native.iife.js +2 -2
  30. package/dist/native.js +1 -1
  31. package/dist/{overlay-ClYgI2Kl.js → overlay-COzFFq0-.js} +1 -1
  32. package/dist/overlay.js +2 -2
  33. package/dist/{qna-B3lMzHvS.js → qna-DUs97irI.js} +1 -1
  34. package/dist/qna-runtime.js +1 -1
  35. package/dist/qna.iife.js +1 -1
  36. package/dist/qna.js +2 -2
  37. package/dist/{runtime-n7fEJGDt.js → runtime-BGCNkU1H.js} +6 -6
  38. package/dist/{runtime-BKU-NQXf.js → runtime-CbWCU424.js} +116 -116
  39. package/dist/{runtime-COh3CwNU.js → runtime-Ctqq0V6G.js} +8 -8
  40. package/dist/{simbut-DaFCfvp7.js → simbut-Dh4cJysK.js} +3 -3
  41. package/dist/simbut.iife.js +1 -1
  42. package/dist/simbut.js +1 -1
  43. package/dist/{simrel-CX1JBDa5.js → simrel-B-sjHbL5.js} +4 -4
  44. package/dist/simrel-runtime.js +1 -1
  45. package/dist/simrel.iife.js +2 -2
  46. package/dist/simrel.js +2 -2
  47. package/dist/{widget-base-DoZrhVze.js → widget-base-CIJT5AiP.js} +2 -2
  48. package/package.json +1 -1
  49. /package/dist/{context-BBuSsXZ9.js → context-heG8hv5l.js} +0 -0
  50. /package/dist/{locale-CfqNifrU.js → locale-uQ5XZ2yS.js} +0 -0
  51. /package/dist/{price-formatter-CFsWT0lP.js → price-formatter-CHUmYq8I.js} +0 -0
  52. /package/dist/{request-response-cache-zsgz3Awp.js → request-response-cache-BxRsKGJ0.js} +0 -0
  53. /package/dist/{schemas-Cq2blsO_.js → schemas-BnYUhYSy.js} +0 -0
@@ -1,134 +1,443 @@
1
- import { A as E, B as J, C as B, D as F, E as I, F as M, H as j, I as x, L, M as g, N as z, O as R, P as h, R as C, S as A, T as q, U as D, V as K, _ as O, a as W, b as G, c as H, d as N, f as Q, g as V, h as _, i as X, j as T, k as Y, l as Z, m as $, n as ee, o as te, p as re, r as oe, s as ae, t as ne, u as ie, v as ce, w as le, x as se, y as de, z as ue } from "../request-text-DThlE-Xd.js";
2
- function pe(n) {
3
- const a = self, i = /* @__PURE__ */ new Map(), c = K(a), y = A(c);
4
- let t = null, u = null, l = null, p = "";
5
- a.addEventListener("message", (e) => {
6
- const r = e.data;
7
- if (r) {
8
- if (r.type === "abort") {
9
- typeof r.id == "number" && (i.get(r.id)?.abort(), i.delete(r.id));
1
+ import { $ as g, A as it, B as st, C as dt, Ct as lt, D as pt, E as mt, Et as kt, F as yt, G as J, H as M, I as ft, J as Pt, K as Q, L as ht, M as St, N as bt, O as Tt, P as gt, Q as w, R as wt, S as Ct, St as At, T as vt, Tt as Ut, U as q, V as Ft, W as j, X as xt, Y as Lt, Z as C, _ as It, _t as G, a as Bt, at as H, b as Et, bt as Rt, c as _t, ct as Kt, d as Nt, dt as Ot, et as zt, f as Dt, ft as p, g as Jt, gt as Mt, h as Qt, ht as qt, i as jt, it as Gt, j as Ht, k as Vt, l as Wt, lt as V, m as $t, mt as W, n as A, nt as Xt, o as Yt, ot as $, p as Zt, pt as f, q as te, r as ee, rt as re, s as v, st as ae, t as ce, tt as X, u as oe, ut as ne, v as ue, vt as ie, w as se, wt as Y, x as de, xt as Z, y as le, yt as tt, z as pe } from "../account-config-gj7_mF6Q.js";
2
+ var U = 3600 * 24 * 14, et = 12;
3
+ function me(t) {
4
+ const e = M([
5
+ {
6
+ kind: "tool",
7
+ name: t.readPageToolName || "readPage",
8
+ input: () => ({}),
9
+ out: "page"
10
+ },
11
+ {
12
+ kind: "branch",
13
+ on: ({ request: r }) => rt(r, t.routePatterns),
14
+ cases: {
15
+ addToCart: ot(t),
16
+ compare: ct(t),
17
+ similar: L(t, t.copy.similarGoal, !0),
18
+ search: L(t, t.copy.searchGoal, !1),
19
+ review: b(t.copy.reviewUnavailable),
20
+ like: b(t.copy.likeAcknowledged),
21
+ home: b(t.copy.homeIntro),
22
+ product: at(t)
23
+ }
24
+ },
25
+ { kind: "commit" }
26
+ ]);
27
+ return {
28
+ flow: e,
29
+ flows: {
30
+ inputText: e,
31
+ user_message: e,
32
+ findSimilar: e,
33
+ addToCart: e,
34
+ compare: e,
35
+ getComparisonTable: e,
36
+ launchProductDetails: e,
37
+ launchSingleProduct: e,
38
+ launchProductList: e,
39
+ launchPLP: e,
40
+ initPLP: e,
41
+ "init-plp": e,
42
+ launchHomepage: e,
43
+ launchOther: e,
44
+ recommendProducts: e,
45
+ reviewSummary: e,
46
+ like: e
47
+ }
48
+ };
49
+ }
50
+ function rt(t, e = {}) {
51
+ const r = t?.type || t?.action?.type;
52
+ if (r === "addToCart") return "addToCart";
53
+ if (r === "compare" || r === "getComparisonTable") return "compare";
54
+ if (r === "findSimilar") return "similar";
55
+ if (r === "launchHomepage" || r === "launchOther") return "home";
56
+ if (r === "reviewSummary") return "review";
57
+ if (r === "like") return "like";
58
+ if (r === "launchProductList" || r === "launchPLP" || r === "initPLP" || r === "init-plp") return "search";
59
+ const c = v(t).toLowerCase();
60
+ return e.addToCart?.test(c) ? "addToCart" : e.compare?.test(c) ? "compare" : e.similar?.test(c) ? "similar" : e.search?.test(c) ? "search" : "product";
61
+ }
62
+ function at(t) {
63
+ const e = t.cacheTtlS ?? U;
64
+ return [
65
+ {
66
+ kind: "be_op",
67
+ op: t.productAnswerOpName || "product-answer",
68
+ input: ({ request: r, bag: c, context: u, accountConfig: a }) => {
69
+ const o = m(t, c.page);
70
+ return A({
71
+ utterance: T(t, r) || t.copy.productQuestion,
72
+ products: o ? [B(t, o)] : [],
73
+ locale: u.meta.locale
74
+ }, a, "product-answer");
75
+ },
76
+ cacheTtlS: e,
77
+ cacheKey: ({ request: r, bag: c, context: u }) => {
78
+ const a = m(t, c.page), o = a ? [a] : [];
79
+ return C(t.productAnswerOpName || "product-answer", {
80
+ account: t.accountId,
81
+ utterance: X(T(t, r), u.meta.locale),
82
+ skus: g(o),
83
+ products: w(o)
84
+ });
85
+ },
86
+ out: "answer",
87
+ onError: [{
88
+ kind: "emit",
89
+ build: ({ bag: r }) => I(m(t, r.page))
90
+ }, {
91
+ kind: "emit",
92
+ build: ({ bag: r }) => p(t.copy.productFallback(m(t, r.page)), !0)
93
+ }]
94
+ },
95
+ {
96
+ kind: "emit",
97
+ build: ({ bag: r }) => I(m(t, r.page))
98
+ },
99
+ {
100
+ kind: "emit",
101
+ build: ({ bag: r }) => p(nt(r.answer, t.copy.productFallback(m(t, r.page))), !0)
102
+ }
103
+ ];
104
+ }
105
+ function L(t, e, r) {
106
+ const c = t.cacheTtlS ?? U, u = t.limit ?? et;
107
+ return [
108
+ {
109
+ kind: "tool",
110
+ name: r ? t.similarityToolName || "similaritySearch" : t.searchToolName || "search",
111
+ input: ({ request: a }) => {
112
+ const o = i(a?.payload);
113
+ return {
114
+ query: v(a) || k(o?.query),
115
+ product: o?.product,
116
+ sku: o?.sku,
117
+ limit: o?.limit || u
118
+ };
119
+ },
120
+ out: "products"
121
+ },
122
+ {
123
+ kind: "be_op",
124
+ op: t.topPicksOpName || "top-picks",
125
+ input: ({ bag: a, accountConfig: o }) => A({
126
+ candidates: E(t, l(a.products).slice(0, u)),
127
+ mode: "group",
128
+ goal: e
129
+ }, o, "top-picks"),
130
+ cacheTtlS: c,
131
+ cacheKey: ({ bag: a }) => {
132
+ const o = l(a.products);
133
+ return C(t.topPicksOpName || "top-picks", {
134
+ account: t.accountId,
135
+ goal: e,
136
+ skus: g(o),
137
+ products: w(o)
138
+ });
139
+ },
140
+ out: "picks",
141
+ onError: []
142
+ },
143
+ {
144
+ kind: "emit",
145
+ build: ({ bag: a }) => f(Q(l(a.products)))
146
+ },
147
+ {
148
+ kind: "emit",
149
+ build: ({ bag: a }) => p(t.copy.searchResult(l(a.products), e), !0)
150
+ }
151
+ ];
152
+ }
153
+ function ct(t) {
154
+ const e = t.cacheTtlS ?? U;
155
+ return [
156
+ {
157
+ kind: "tool",
158
+ name: t.resolveProductsToolName || "resolveProducts",
159
+ input: ({ request: r, context: c }) => {
160
+ const u = i(r?.payload);
161
+ return {
162
+ products: u?.products,
163
+ skus: u?.skus || c.panel?.screen_sku_list
164
+ };
165
+ },
166
+ out: "products"
167
+ },
168
+ {
169
+ kind: "be_op",
170
+ op: t.compareOpName || "compare",
171
+ input: ({ bag: r, request: c, accountConfig: u }) => A({
172
+ utterance: T(t, c) || t.copy.compareQuestion,
173
+ products: E(t, l(r.products))
174
+ }, u, "compare"),
175
+ cacheTtlS: e,
176
+ cacheKey: ({ bag: r }) => {
177
+ const c = l(r.products);
178
+ return C(t.compareOpName || "compare", {
179
+ account: t.accountId,
180
+ skus: g(c),
181
+ products: w(c)
182
+ });
183
+ },
184
+ out: "comparison",
185
+ onError: [{
186
+ kind: "emit",
187
+ build: ({ bag: r }) => p(t.copy.comparisonFallback(l(r.products)), !0)
188
+ }]
189
+ },
190
+ {
191
+ kind: "emit",
192
+ build: ({ bag: r }) => f(j({
193
+ ...i(r.comparison) || {},
194
+ products: l(r.products)
195
+ }))
196
+ },
197
+ {
198
+ kind: "emit",
199
+ build: (r) => p(k(i(r.bag.comparison)?.summary) || y(t.copy.comparisonReady, r), !0)
200
+ }
201
+ ];
202
+ }
203
+ function ot(t) {
204
+ return [
205
+ {
206
+ kind: "tool",
207
+ name: t.addToCartToolName || "addToCart",
208
+ input: ({ request: e, bag: r }) => {
209
+ const c = i(e?.payload) || i(e?.action?.payload) || {};
210
+ return {
211
+ ...c,
212
+ sku: c.sku || i(m(t, r.page))?.sku
213
+ };
214
+ },
215
+ out: "cart"
216
+ },
217
+ {
218
+ kind: "emit",
219
+ build: (e) => p(i(e.bag.cart)?.ok === !1 ? y(t.copy.cartFailure, e) : y(t.copy.cartSuccess, e), !0)
220
+ },
221
+ {
222
+ kind: "emit",
223
+ build: ({ bag: e }) => f(q([{
224
+ label: t.copy.cartActionLabel,
225
+ requestDetails: {
226
+ type: "navigate",
227
+ payload: { url: k(i(e.cart)?.cartUrl) || t.homeUrl }
228
+ }
229
+ }]))
230
+ }
231
+ ];
232
+ }
233
+ function b(t) {
234
+ return [{
235
+ kind: "emit",
236
+ build: (e) => p(y(t, e), !0)
237
+ }];
238
+ }
239
+ function I(t) {
240
+ return t ? f(J(t)) : p("", !1);
241
+ }
242
+ function T(t, e) {
243
+ return t.anonymousRequestText ? t.anonymousRequestText(e) : v(e);
244
+ }
245
+ function m(t, e) {
246
+ return t.productFromPage ? t.productFromPage(e) : i(e)?.product;
247
+ }
248
+ function B(t, e) {
249
+ return t.trimProductFacts ? t.trimProductFacts(e) : e;
250
+ }
251
+ function E(t, e) {
252
+ return t.trimProductFactsList ? t.trimProductFactsList(e) : e.map((r) => B(t, r));
253
+ }
254
+ function l(t) {
255
+ if (Array.isArray(t)) return t;
256
+ const e = i(t);
257
+ return Array.isArray(e?.products) ? e.products : [];
258
+ }
259
+ function nt(t, e) {
260
+ const r = i(t);
261
+ return k(r?.answer_html) || k(r?.plain_text) || e;
262
+ }
263
+ function y(t, e) {
264
+ return typeof t == "function" ? t(e) : t;
265
+ }
266
+ function k(t) {
267
+ return typeof t == "string" ? t : "";
268
+ }
269
+ function i(t) {
270
+ return t && typeof t == "object" ? t : void 0;
271
+ }
272
+ function ke(t) {
273
+ const e = self, r = /* @__PURE__ */ new Map(), c = Y(e), u = H(c);
274
+ let a = null, o = null, P = null, F = "";
275
+ e.addEventListener("message", (n) => {
276
+ const s = n.data;
277
+ if (s) {
278
+ if (s.type === "abort") {
279
+ typeof s.id == "number" && (r.get(s.id)?.abort(), r.delete(s.id));
10
280
  return;
11
281
  }
12
- r.type === "invoke" && S(r);
282
+ s.type === "invoke" && R(s);
13
283
  }
14
284
  });
15
- async function S(e) {
16
- t = {
17
- accountId: String(e.accountId || n.accountId || ""),
18
- beUrl: e.beUrl || "",
19
- ...e.devJwtSecret ? { devJwtSecret: e.devJwtSecret } : {},
20
- ...e.tokenBrokerUrl ? { tokenBrokerUrl: e.tokenBrokerUrl } : {},
21
- ...e.tokenBrokerAudience ? { tokenBrokerAudience: e.tokenBrokerAudience } : {},
22
- locale: e.defaultLocale || n.defaultLocale || "en-GB",
23
- parentUrl: e.parentUrl || ""
285
+ async function R(n) {
286
+ a = {
287
+ accountId: String(n.accountId || t.accountId || ""),
288
+ beUrl: n.beUrl || "",
289
+ ...n.devJwtSecret ? { devJwtSecret: n.devJwtSecret } : {},
290
+ ...n.tokenBrokerUrl ? { tokenBrokerUrl: n.tokenBrokerUrl } : {},
291
+ ...n.tokenBrokerAudience ? { tokenBrokerAudience: n.tokenBrokerAudience } : {},
292
+ locale: n.defaultLocale || t.defaultLocale || "en-GB",
293
+ parentUrl: n.parentUrl || ""
24
294
  };
25
- const r = [
26
- t.accountId,
27
- t.devJwtSecret || "",
28
- t.tokenBrokerUrl || "",
29
- t.tokenBrokerAudience || ""
295
+ const s = [
296
+ a.accountId,
297
+ a.devJwtSecret || "",
298
+ a.tokenBrokerUrl || "",
299
+ a.tokenBrokerAudience || ""
30
300
  ].join(`
31
301
  `);
32
- (!l || p !== r) && (l = x(t), p = r), u ||= new C({
33
- accountId: t.accountId,
34
- locale: t.locale,
35
- parentUrl: t.parentUrl,
302
+ (!P || F !== s) && (P = tt(a), F = s), o ||= new Z({
303
+ accountId: a.accountId,
304
+ locale: a.locale,
305
+ parentUrl: a.parentUrl,
36
306
  rpc: c,
37
- persistentPanelKeys: n.contextPersistence?.panelKeys
307
+ persistentPanelKeys: t.contextPersistence?.panelKeys
38
308
  });
39
- const s = new AbortController();
40
- i.set(e.id, s);
41
- const d = (o) => {
42
- a.postMessage({
43
- id: e.id,
309
+ const h = new AbortController();
310
+ r.set(n.id, h);
311
+ const S = (d) => {
312
+ e.postMessage({
313
+ id: n.id,
44
314
  type: "event",
45
- event: o
315
+ event: d
46
316
  });
47
317
  };
48
318
  try {
49
- const o = t, v = l;
50
- await B({
51
- request: e.request || {},
319
+ const d = a, _ = P;
320
+ await $({
321
+ request: n.request || {},
52
322
  accountModule: {
53
- ...n,
54
- accountId: o.accountId
323
+ ...t,
324
+ accountId: d.accountId
55
325
  },
56
- contextStore: u,
57
- beClient: { invoke({ op: f, input: U, signal: k, cacheTtlS: b, cacheKey: w, browserCache: P }) {
58
- return T({
59
- beUrl: o.beUrl,
60
- accountId: o.accountId,
61
- jwtProvider: v,
62
- parentUrl: o.parentUrl,
63
- op: f,
64
- input: U,
65
- cacheTtlS: b,
66
- cacheKey: w,
67
- browserCache: P,
68
- ...k ? { signal: k } : {}
326
+ contextStore: o,
327
+ beClient: { invoke({ op: K, input: N, signal: x, cacheTtlS: O, cacheKey: z, browserCache: D }) {
328
+ return W({
329
+ beUrl: d.beUrl,
330
+ accountId: d.accountId,
331
+ jwtProvider: _,
332
+ parentUrl: d.parentUrl,
333
+ op: K,
334
+ input: N,
335
+ cacheTtlS: O,
336
+ cacheKey: z,
337
+ browserCache: D,
338
+ ...x ? { signal: x } : {}
69
339
  });
70
340
  } },
71
- toolBridge: y,
72
- emit: d,
341
+ toolBridge: u,
342
+ emit: S,
73
343
  rpc: c,
74
- signal: s.signal
75
- }), a.postMessage({
76
- id: e.id,
344
+ signal: h.signal
345
+ }), e.postMessage({
346
+ id: n.id,
77
347
  type: "end"
78
348
  });
79
- } catch (o) {
80
- s.signal.aborted || (d(h(o)), d(I()), a.postMessage({
81
- id: e.id,
349
+ } catch (d) {
350
+ h.signal.aborted || (S(G(d)), S(V()), e.postMessage({
351
+ id: n.id,
82
352
  type: "end"
83
353
  }));
84
354
  } finally {
85
- i.delete(e.id);
355
+ r.delete(n.id);
86
356
  }
87
357
  }
88
358
  }
89
359
  export {
90
- g as AgentError,
91
- C as ContextStore,
92
- q as action,
93
- ie as actionButtonsUiSpec,
94
- z as beErrorToAgentError,
95
- ee as buildPhotoSimilarityProfile,
96
- oe as buildProductSimilarityProfile,
97
- X as buildSimilarityQueries,
98
- h as caughtToStreamError,
99
- N as comparisonUiSpec,
100
- Z as createFlow,
101
- x as createJwtProvider,
102
- A as createToolBridge,
103
- K as createWorkerRpc,
104
- I as done,
105
- ue as elapsedMs,
106
- F as error,
107
- j as handleMainRpc,
108
- M as httpErrorToAgentError,
109
- T as invokeBeOp,
110
- $ as llmCacheKey,
111
- R as metadata,
112
- L as mintDevJwt,
113
- de as normalizeProduct,
114
- W as normalizeSimilarityText,
115
- J as nowIso,
116
- Q as productDetailsUiSpec,
117
- _ as productFactsKey,
118
- V as productSkuKey,
119
- re as productsUiSpec,
120
- te as rankSimilarProducts,
121
- ne as requestText,
122
- le as resolveFlow,
123
- D as runMainRpc,
124
- B as runTurn,
125
- ae as scoreSimilarityCandidate,
126
- O as stableKey,
127
- pe as startWorker,
128
- Y as textChunk,
129
- ce as textKey,
130
- H as tokenizeSimilarityText,
131
- G as trimProductFactsCore,
132
- se as trimProductFactsListCore,
133
- E as uiSpec
360
+ qt as AgentError,
361
+ Z as ContextStore,
362
+ Kt as action,
363
+ q as actionButtonsUiSpec,
364
+ ue as actionCandidatePayload,
365
+ te as alignProductsToTable,
366
+ ee as anonymousRequestText,
367
+ Mt as beErrorToAgentError,
368
+ yt as buildPhotoSimilarityProfile,
369
+ ft as buildProductSimilarityProfile,
370
+ ht as buildSimilarityQueries,
371
+ G as caughtToStreamError,
372
+ ce as compactAccountConfig,
373
+ xt as compactContextProducts,
374
+ _t as compareCachedResultSteps,
375
+ Wt as compareResultSteps,
376
+ oe as compareSearchSteps,
377
+ Nt as compareSteps,
378
+ Pt as comparisonResultForUi,
379
+ j as comparisonUiSpec,
380
+ me as createCatalogAssistantFlow,
381
+ M as createFlow,
382
+ tt as createJwtProvider,
383
+ H as createToolBridge,
384
+ Y as createWorkerRpc,
385
+ jt as defaultPiiPatternPack,
386
+ Bt as defaultPiiPatterns,
387
+ V as done,
388
+ At as elapsedMs,
389
+ ne as error,
390
+ Ut as handleMainRpc,
391
+ pt as hasProductImage,
392
+ Tt as hasUsablePrice,
393
+ Vt as hasVisibleShoppingFacts,
394
+ ie as httpErrorToAgentError,
395
+ Dt as intentQuestionSteps,
396
+ W as invokeBeOp,
397
+ C as llmCacheKey,
398
+ Ot as metadata,
399
+ Rt as mintDevJwt,
400
+ le as normalizeActionLabel,
401
+ Lt as normalizeComparisonTable,
402
+ Xt as normalizeProduct,
403
+ it as normalizeQueryText,
404
+ wt as normalizeSimilarityText,
405
+ Et as normalizeSuggestedActions,
406
+ lt as nowIso,
407
+ dt as panelProductScore,
408
+ Zt as panelQuestionSteps,
409
+ se as prioritizePanelProducts,
410
+ de as productActions,
411
+ J as productDetailsUiSpec,
412
+ w as productFactsKey,
413
+ Ct as productPanelActions,
414
+ $t as productQuestionSteps,
415
+ Ht as productRankScore,
416
+ St as productSearchText,
417
+ g as productSkuKey,
418
+ vt as productsMatchingParams,
419
+ Q as productsUiSpec,
420
+ pe as rankSimilarProducts,
421
+ bt as rankedSearchProducts,
422
+ gt as rankingTokens,
423
+ Yt as redactPii,
424
+ v as requestText,
425
+ ae as resolveFlow,
426
+ rt as routeCatalogAssistantRequest,
427
+ kt as runMainRpc,
428
+ $ as runTurn,
429
+ st as scoreSimilarityCandidate,
430
+ Qt as searchResultSteps,
431
+ Jt as searchSteps,
432
+ zt as stableKey,
433
+ ke as startWorker,
434
+ It as suggestedActionSteps,
435
+ p as textChunk,
436
+ X as textKey,
437
+ Ft as tokenizeSimilarityText,
438
+ re as trimProductFactsCore,
439
+ Gt as trimProductFactsListCore,
440
+ f as uiSpec,
441
+ mt as uniqueProducts,
442
+ A as withAccountConfig
134
443
  };