tanya-chatbot 0.2.1 → 0.2.3

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.
@@ -1,4 +1,4 @@
1
- import { useEffect as lt, forwardRef as mr, useState as L, createElement as fe, useRef as Pt } from "react";
1
+ import { useEffect as lt, forwardRef as mr, useState as L, createElement as fe, useRef as Ot } from "react";
2
2
  import { jsx as l, jsxs as p, Fragment as pe } from "react/jsx-runtime";
3
3
  import { createHttpLink as Xr, ApolloClient as Zr, InMemoryCache as tn, ApolloProvider as en } from "@apollo/client";
4
4
  import { Provider as rn, useDispatch as gr, useSelector as Wt } from "react-redux";
@@ -126,7 +126,7 @@ const wt = () => ({ aiConversationUrl: "https://mdv3qwfi2j.execute-api.us-east-1
126
126
  return z.isAxiosError(r) ? console.error("Error creating basket:", r.response || r.message) : console.error("Unexpected error:", r), null;
127
127
  }
128
128
  };
129
- async function Ut() {
129
+ async function Nt() {
130
130
  const t = localStorage.getItem("expires_in"), e = localStorage.getItem("access_token"), r = JSON.parse(
131
131
  sessionStorage.getItem("customerData") || "{}"
132
132
  ).isGuest;
@@ -153,12 +153,13 @@ async function Ut() {
153
153
  }
154
154
  }
155
155
  const ut = () => sessionStorage.getItem("Host"), et = () => sessionStorage.getItem("SiteId"), dt = () => sessionStorage.getItem("pubCfg"), ft = () => sessionStorage.getItem("envRef"), pt = () => sessionStorage.getItem("orgRef"), ze = async (t) => {
156
+ console.log("fetching results");
156
157
  const { serverUrl: e, basePath: r } = wt();
157
158
  let n = "";
158
159
  {
159
160
  n = await Se();
160
- const { access_token: o } = await Ut();
161
- console.log("the token from getSearchResults", o), n = o;
161
+ const { access_token: o } = await Nt();
162
+ console.log("the token from getSearchResults", await Nt()), n = o;
162
163
  }
163
164
  try {
164
165
  const o = ut();
@@ -178,7 +179,7 @@ const ut = () => sessionStorage.getItem("Host"), et = () => sessionStorage.getIt
178
179
  if (!t) throw new Error("Product ID is required");
179
180
  const { serverUrl: e, basePath: r } = wt(), n = ut();
180
181
  console.log("calling access");
181
- const { access_token: o } = await Ut();
182
+ const { access_token: o } = await Nt();
182
183
  return console.log(o), (await z.get(
183
184
  `${e}${r}/product-sfcc/${t}?baseUrl=${n}&siteId=${et()}&pubCfg=${dt()}&envRef=${ft()}&orgRef=${pt()}`,
184
185
  {
@@ -192,7 +193,7 @@ const ut = () => sessionStorage.getItem("Host"), et = () => sessionStorage.getIt
192
193
  if (!t) throw new Error("customerId is required");
193
194
  const e = await Se(), { customer_token: r } = await vr(
194
195
  e
195
- ), { serverUrl: n, basePath: o } = wt(), a = (await Ut()).access_token;
196
+ ), { serverUrl: n, basePath: o } = wt(), a = (await Nt()).access_token;
196
197
  return (await z.get(
197
198
  `${n}${o}/get-interest?baseUrl=${ut()}&customerId=${t}&siteId=${et()}&pubCfg=${dt()}&envRef=${ft()}&orgRef=${pt()}`,
198
199
  {
@@ -315,7 +316,7 @@ function vn(t, e) {
315
316
  missing: /* @__PURE__ */ new Set()
316
317
  };
317
318
  }
318
- function Nt(t, e) {
319
+ function Et(t, e) {
319
320
  const r = He[t] || (He[t] = /* @__PURE__ */ Object.create(null));
320
321
  return r[e] || (r[e] = vn(t, e));
321
322
  }
@@ -366,26 +367,26 @@ const Fr = /^[a-z0-9]+(-[a-z0-9]+)*$/, ee = (t, e, r, n = "") => {
366
367
  }
367
368
  return null;
368
369
  }, Jt = (t, e) => t ? !!((e && t.prefix === "" || t.prefix) && t.name) : !1;
369
- let zt = !1;
370
+ let Mt = !1;
370
371
  function Nr(t) {
371
- return typeof t == "boolean" && (zt = t), zt;
372
+ return typeof t == "boolean" && (Mt = t), Mt;
372
373
  }
373
374
  function Ve(t) {
374
- const e = typeof t == "string" ? ee(t, !0, zt) : t;
375
+ const e = typeof t == "string" ? ee(t, !0, Mt) : t;
375
376
  if (e) {
376
- const r = Nt(e.provider, e.prefix), n = e.name;
377
+ const r = Et(e.provider, e.prefix), n = e.name;
377
378
  return r.icons[n] || (r.missing.has(n) ? null : void 0);
378
379
  }
379
380
  }
380
381
  function Sn(t, e) {
381
- const r = ee(t, !0, zt);
382
+ const r = ee(t, !0, Mt);
382
383
  if (!r) return !1;
383
- const n = Nt(r.provider, r.prefix);
384
+ const n = Et(r.provider, r.prefix);
384
385
  return e ? kn(n, r.name, e) : (n.missing.add(r.name), !0);
385
386
  }
386
387
  function In(t, e) {
387
388
  if (typeof t != "object") return !1;
388
- if (typeof e != "string" && (e = t.provider || ""), zt && !e && !t.prefix) {
389
+ if (typeof e != "string" && (e = t.provider || ""), Mt && !e && !t.prefix) {
389
390
  let o = !1;
390
391
  return Cr(t) && (t.prefix = "", Ir(t, (i, a) => {
391
392
  Sn(i, a) && (o = !0);
@@ -396,7 +397,7 @@ function In(t, e) {
396
397
  prefix: r,
397
398
  name: "a"
398
399
  })) return !1;
399
- const n = Nt(e, r);
400
+ const n = Et(e, r);
400
401
  return !!_r(n, t);
401
402
  }
402
403
  const Er = Object.freeze({
@@ -532,8 +533,8 @@ function Ce(t) {
532
533
  dataAfterTimeout: t.dataAfterTimeout !== !1
533
534
  };
534
535
  }
535
- const _e = /* @__PURE__ */ Object.create(null), Ot = ["https://api.simplesvg.com", "https://api.unisvg.com"], Kt = [];
536
- for (; Ot.length > 0; ) Ot.length === 1 || Math.random() > 0.5 ? Kt.push(Ot.shift()) : Kt.push(Ot.pop());
536
+ const _e = /* @__PURE__ */ Object.create(null), jt = ["https://api.simplesvg.com", "https://api.unisvg.com"], Kt = [];
537
+ for (; jt.length > 0; ) jt.length === 1 || Math.random() > 0.5 ? Kt.push(jt.shift()) : Kt.push(jt.pop());
537
538
  _e[""] = Ce({ resources: ["https://api.iconify.design"].concat(Kt) });
538
539
  function Dn(t, e) {
539
540
  const r = Ce(e);
@@ -704,7 +705,7 @@ function Kn(t) {
704
705
  return t.forEach((o) => {
705
706
  if (n.name === o.name && n.prefix === o.prefix && n.provider === o.provider) return;
706
707
  n = o;
707
- const i = o.provider, a = o.prefix, c = o.name, s = r[i] || (r[i] = /* @__PURE__ */ Object.create(null)), d = s[a] || (s[a] = Nt(i, a));
708
+ const i = o.provider, a = o.prefix, c = o.name, s = r[i] || (r[i] = /* @__PURE__ */ Object.create(null)), d = s[a] || (s[a] = Et(i, a));
708
709
  let f;
709
710
  c in d.icons ? f = e.loaded : a === "" || d.missing.has(c) ? f = e.missing : f = e.pending;
710
711
  const h = {
@@ -906,7 +907,7 @@ function eo(t) {
906
907
  invalid: r
907
908
  };
908
909
  }
909
- function jt(t, e, r) {
910
+ function $t(t, e, r) {
910
911
  function n() {
911
912
  const o = t.pendingIcons;
912
913
  e.forEach((i) => {
@@ -938,7 +939,7 @@ function ro(t, e) {
938
939
  const i = t.loadIcon;
939
940
  if (t.loadIcons && (o.length > 1 || !i)) {
940
941
  We(t.loadIcons(o, n, r), (f) => {
941
- jt(t, o, f);
942
+ $t(t, o, f);
942
943
  });
943
944
  return;
944
945
  }
@@ -950,21 +951,21 @@ function ro(t, e) {
950
951
  prefix: n,
951
952
  icons: { [f]: m }
952
953
  } : null;
953
- jt(t, [f], g);
954
+ $t(t, [f], g);
954
955
  });
955
956
  });
956
957
  return;
957
958
  }
958
959
  const { valid: a, invalid: c } = eo(o);
959
- if (c.length && jt(t, c, null), !a.length) return;
960
+ if (c.length && $t(t, c, null), !a.length) return;
960
961
  const s = n.match(Fr) ? we(r) : null;
961
962
  if (!s) {
962
- jt(t, a, null);
963
+ $t(t, a, null);
963
964
  return;
964
965
  }
965
966
  s.prepare(r, n, a).forEach((f) => {
966
967
  Zn(r, f, (h) => {
967
- jt(t, f.icons, h);
968
+ $t(t, f.icons, h);
968
969
  });
969
970
  });
970
971
  }));
@@ -984,11 +985,11 @@ const no = (t, e) => {
984
985
  return n.pending.forEach((s) => {
985
986
  const { provider: d, prefix: f } = s;
986
987
  if (f === c && d === a) return;
987
- a = d, c = f, i.push(Nt(d, f));
988
+ a = d, c = f, i.push(Et(d, f));
988
989
  const h = o[d] || (o[d] = /* @__PURE__ */ Object.create(null));
989
990
  h[f] || (h[f] = []);
990
991
  }), n.pending.forEach((s) => {
991
- const { provider: d, prefix: f, name: h } = s, m = Nt(d, f), g = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
992
+ const { provider: d, prefix: f, name: h } = s, m = Et(d, f), g = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
992
993
  g.has(h) || (g.add(h), o[d][f].push(h));
993
994
  }), i.forEach((s) => {
994
995
  const d = o[s.provider][s.prefix];
@@ -1055,16 +1056,16 @@ function uo(t) {
1055
1056
  function fo(t) {
1056
1057
  return 'url("' + uo(t) + '")';
1057
1058
  }
1058
- let Dt;
1059
+ let zt;
1059
1060
  function po() {
1060
1061
  try {
1061
- Dt = window.trustedTypes.createPolicy("iconify", { createHTML: (t) => t });
1062
+ zt = window.trustedTypes.createPolicy("iconify", { createHTML: (t) => t });
1062
1063
  } catch {
1063
- Dt = null;
1064
+ zt = null;
1064
1065
  }
1065
1066
  }
1066
1067
  function ho(t) {
1067
- return Dt === void 0 && po(), Dt ? Dt.createHTML(t) : t;
1068
+ return zt === void 0 && po(), zt ? zt.createHTML(t) : t;
1068
1069
  }
1069
1070
  const jr = {
1070
1071
  ...Tr,
@@ -1484,7 +1485,7 @@ const xo = ({
1484
1485
  } catch (a) {
1485
1486
  return z.isAxiosError(a) ? { status: (i = a.response) == null ? void 0 : i.status, data: null } : { status: null, data: null };
1486
1487
  }
1487
- }, er = "sfcc_basket_id", rr = "sfcc_customer_token", Mt = "sfcc_token_expiry", ko = 300 * 1e3, $t = "1.0.0";
1488
+ }, er = "sfcc_basket_id", rr = "sfcc_customer_token", Ut = "sfcc_token_expiry", ko = 300 * 1e3, At = "1.0.0";
1488
1489
  const Ft = (t) => {
1489
1490
  try {
1490
1491
  t ? localStorage.setItem(er, t) : localStorage.removeItem(er);
@@ -1496,7 +1497,7 @@ const Ft = (t) => {
1496
1497
  if (t) {
1497
1498
  localStorage.setItem(rr, t);
1498
1499
  const e = Date.now() + ko;
1499
- localStorage.setItem(Mt, e.toString());
1500
+ localStorage.setItem(Ut, e.toString());
1500
1501
  } else
1501
1502
  localStorage.removeItem(rr);
1502
1503
  } catch (e) {
@@ -1526,13 +1527,13 @@ const Ft = (t) => {
1526
1527
  }
1527
1528
  ];
1528
1529
  console.log(y, "the product data");
1529
- const Tt = JSON.parse(
1530
+ const Pt = JSON.parse(
1530
1531
  sessionStorage.getItem("customerData") || "{}"
1531
- ), ht = Tt == null ? void 0 : Tt.basketId, re = !1, Bt = localStorage.getItem(Mt), rt = Date.now();
1532
+ ), ht = Pt == null ? void 0 : Pt.basketId, re = !1, Bt = localStorage.getItem(Ut), rt = Date.now();
1532
1533
  if (!re || !Bt || rt >= parseInt(Bt)) {
1533
1534
  let R = "";
1534
1535
  {
1535
- const ot = await Ut();
1536
+ const ot = await Nt();
1536
1537
  console.log("token from auth data"), R = "Bearer " + ot.access_token;
1537
1538
  }
1538
1539
  if (!R) {
@@ -1540,7 +1541,7 @@ const Ft = (t) => {
1540
1541
  return;
1541
1542
  }
1542
1543
  const qt = rt + 300 * 1e3;
1543
- if (Zt(R), localStorage.setItem(Mt, qt.toString()), ht) {
1544
+ if (Zt(R), localStorage.setItem(Ut, qt.toString()), ht) {
1544
1545
  const ot = await Dr({
1545
1546
  basketId: ht,
1546
1547
  customer_token: R
@@ -1779,12 +1780,12 @@ const Ft = (t) => {
1779
1780
  "Niece/Nephew": "his/her niece/nephew",
1780
1781
  "My Friends": "his/her friends",
1781
1782
  Others: "others"
1782
- }, n = Pt(null), o = Pt(null), i = Pt(null), a = Pt(null), [c, s] = L(null), [d, f] = L(!1), [h, m] = L(!1), [g, S] = L(!1), [T, w] = L(!1), [k, M] = L(!1), [O, P] = L(!1), [Q, _] = L(""), [j, V] = L(""), X = (u) => ({
1783
+ }, n = Ot(null), o = Ot(null), i = Ot(null), a = Ot(null), [c, s] = L(null), [d, f] = L(!1), [h, m] = L(!1), [g, S] = L(!1), [T, w] = L(!1), [k, M] = L(!1), [O, P] = L(!1), [Q, _] = L(""), [j, V] = L(""), X = (u) => ({
1783
1784
  id: u.id,
1784
1785
  title: u.name,
1785
1786
  image: u.image ?? "",
1786
1787
  price: u.price ?? 0
1787
- }), [U, B] = L([]), yt = Pt(null), y = Wt((u) => u.store.store), Tt = Wt((u) => u.product.product), ht = () => {
1788
+ }), [U, B] = L([]), yt = Ot(null), y = Wt((u) => u.store.store), Pt = Wt((u) => u.product.product), ht = () => {
1788
1789
  S(!0), setTimeout(() => m(!0), 10);
1789
1790
  }, re = () => {
1790
1791
  m(!1), setTimeout(() => S(!1), 300);
@@ -1827,7 +1828,7 @@ const Ft = (t) => {
1827
1828
  return console.error("Error obtaining JWT token:", u), rt = null, R = null, null;
1828
1829
  }
1829
1830
  }, ne = async () => {
1830
- const u = await Ut();
1831
+ const u = await Nt();
1831
1832
  u != null && s(u);
1832
1833
  };
1833
1834
  lt(() => {
@@ -1843,9 +1844,9 @@ const Ft = (t) => {
1843
1844
  ).customerId;
1844
1845
  return (await hn(u || "")).c_interests;
1845
1846
  }, nt = async (u, E) => {
1846
- console.log("in secondary flow", $t);
1847
+ console.log("in secondary flow", At);
1847
1848
  const I = await v();
1848
- if (console.log(I, "interests of customer", $t), !!I)
1849
+ if (console.log(I, "interests of customer", At), !!I)
1849
1850
  try {
1850
1851
  B(
1851
1852
  (K) => K.map(
@@ -1991,7 +1992,7 @@ const Ft = (t) => {
1991
1992
  ), b = (E ? E[1] : u).split(", ").map((H) => H.replace(/\s*(Toys|Bags|Miniature|etc\.*)\s*/gi, "").trim());
1992
1993
  return [...new Set(b)].filter(Boolean).join(",");
1993
1994
  }, Jr = async (u) => {
1994
- if (console.log(c == null ? void 0 : c.access_token, "access_token"), typeof u == "string") {
1995
+ if (typeof u == "string") {
1995
1996
  console.log(u, "keywords");
1996
1997
  const E = u.split(",");
1997
1998
  for (const I of E) {
@@ -2051,7 +2052,7 @@ const Ft = (t) => {
2051
2052
  const E = JSON.parse(
2052
2053
  sessionStorage.getItem("customerData") || "{}"
2053
2054
  );
2054
- (E == null ? void 0 : E.isGuest) == !1 ? (console.log("running secondary flow", $t), nt(n.current, 0)) : console.log("not running secondary flow", $t);
2055
+ (E == null ? void 0 : E.isGuest) == !1 ? (console.log("running secondary flow", At), nt(n.current, 0)) : console.log("not running secondary flow", At);
2055
2056
  }
2056
2057
  P(!1);
2057
2058
  }, Kr = async (u, E) => {
@@ -2072,10 +2073,10 @@ const Ft = (t) => {
2072
2073
  quantity: E
2073
2074
  }
2074
2075
  ];
2075
- console.log(G, "product data", "app version", $t);
2076
+ console.log(G, "product data", "app version", At);
2076
2077
  const $ = JSON.parse(
2077
2078
  sessionStorage.getItem("customerData") || "{}"
2078
- ), q = $ == null ? void 0 : $.basketId, st = !1, Rt = localStorage.getItem(Mt), Ae = Date.now();
2079
+ ), q = $ == null ? void 0 : $.basketId, st = !1, Rt = localStorage.getItem(Ut), Ae = Date.now();
2079
2080
  if (!st || !Rt || Ae >= parseInt(Rt)) {
2080
2081
  const Gr = await Se();
2081
2082
  let { customer_token: mt } = await vr(
@@ -2086,7 +2087,7 @@ const Ft = (t) => {
2086
2087
  return;
2087
2088
  }
2088
2089
  const Wr = Ae + 300 * 1e3;
2089
- if (Zt(mt), localStorage.setItem(Mt, Wr.toString()), q) {
2090
+ if (Zt(mt), localStorage.setItem(Ut, Wr.toString()), q) {
2090
2091
  const Le = await Dr({
2091
2092
  basketId: q,
2092
2093
  customer_token: mt
@@ -2368,7 +2369,7 @@ const Ft = (t) => {
2368
2369
  /* @__PURE__ */ p(
2369
2370
  "div",
2370
2371
  {
2371
- className: `flex flex-col h-full ${Tt ? "lg:w-2/3 w-full" : "w-full"}`,
2372
+ className: `flex flex-col h-full ${Pt ? "lg:w-2/3 w-full" : "w-full"}`,
2372
2373
  children: [
2373
2374
  /* @__PURE__ */ p(
2374
2375
  "div",
@@ -3004,15 +3005,15 @@ function te(t, e) {
3004
3005
  return r;
3005
3006
  }
3006
3007
  }
3007
- function At(t) {
3008
+ function Lt(t) {
3008
3009
  var e = t.constructor;
3009
3010
  return e !== void 0 && (e = e[Rr], e === null && (e = void 0)), e !== void 0 ? e : D;
3010
3011
  }
3011
3012
  function zo(t) {
3012
3013
  return t instanceof D;
3013
3014
  }
3014
- function Et(t) {
3015
- Et.log ? Et.log(t) : setTimeout(function() {
3015
+ function Tt(t) {
3016
+ Tt.log ? Tt.log(t) : setTimeout(function() {
3016
3017
  throw t;
3017
3018
  });
3018
3019
  }
@@ -3021,7 +3022,7 @@ function Gt(t) {
3021
3022
  try {
3022
3023
  t();
3023
3024
  } catch (e) {
3024
- Et(e);
3025
+ Tt(e);
3025
3026
  }
3026
3027
  });
3027
3028
  }
@@ -3036,7 +3037,7 @@ function Hr(t) {
3036
3037
  r && r.call(e);
3037
3038
  }
3038
3039
  } catch (n) {
3039
- Et(n);
3040
+ Tt(n);
3040
3041
  }
3041
3042
  }
3042
3043
  function ke(t) {
@@ -3068,7 +3069,7 @@ function Vr(t, e, r) {
3068
3069
  break;
3069
3070
  }
3070
3071
  } catch (i) {
3071
- Et(i);
3072
+ Tt(i);
3072
3073
  }
3073
3074
  t._state === "closed" ? Hr(t) : t._state === "running" && (t._state = "ready");
3074
3075
  }
@@ -3168,7 +3169,7 @@ var Uo = /* @__PURE__ */ (function() {
3168
3169
  }, e.map = function(n) {
3169
3170
  var o = this;
3170
3171
  if (typeof n != "function") throw new TypeError(n + " is not a function");
3171
- var i = At(this);
3172
+ var i = Lt(this);
3172
3173
  return new i(function(a) {
3173
3174
  return o.subscribe({
3174
3175
  next: function(c) {
@@ -3190,7 +3191,7 @@ var Uo = /* @__PURE__ */ (function() {
3190
3191
  }, e.filter = function(n) {
3191
3192
  var o = this;
3192
3193
  if (typeof n != "function") throw new TypeError(n + " is not a function");
3193
- var i = At(this);
3194
+ var i = Lt(this);
3194
3195
  return new i(function(a) {
3195
3196
  return o.subscribe({
3196
3197
  next: function(c) {
@@ -3212,7 +3213,7 @@ var Uo = /* @__PURE__ */ (function() {
3212
3213
  }, e.reduce = function(n) {
3213
3214
  var o = this;
3214
3215
  if (typeof n != "function") throw new TypeError(n + " is not a function");
3215
- var i = At(this), a = arguments.length > 1, c = !1, s = arguments[1], d = s;
3216
+ var i = Lt(this), a = arguments.length > 1, c = !1, s = arguments[1], d = s;
3216
3217
  return new i(function(f) {
3217
3218
  return o.subscribe({
3218
3219
  next: function(h) {
@@ -3238,7 +3239,7 @@ var Uo = /* @__PURE__ */ (function() {
3238
3239
  }, e.concat = function() {
3239
3240
  for (var n = this, o = arguments.length, i = new Array(o), a = 0; a < o; a++)
3240
3241
  i[a] = arguments[a];
3241
- var c = At(this);
3242
+ var c = Lt(this);
3242
3243
  return new c(function(s) {
3243
3244
  var d, f = 0;
3244
3245
  function h(m) {
@@ -3261,7 +3262,7 @@ var Uo = /* @__PURE__ */ (function() {
3261
3262
  }, e.flatMap = function(n) {
3262
3263
  var o = this;
3263
3264
  if (typeof n != "function") throw new TypeError(n + " is not a function");
3264
- var i = At(this);
3265
+ var i = Lt(this);
3265
3266
  return new i(function(a) {
3266
3267
  var c = [], s = o.subscribe({
3267
3268
  next: function(f) {
@@ -3360,7 +3361,7 @@ var Uo = /* @__PURE__ */ (function() {
3360
3361
  Oe() && Object.defineProperty(D, Symbol("extensions"), {
3361
3362
  value: {
3362
3363
  symbol: ve,
3363
- hostReportError: Et
3364
+ hostReportError: Tt
3364
3365
  },
3365
3366
  configurable: !0
3366
3367
  });
@@ -3434,7 +3435,7 @@ function Wo(t, e) {
3434
3435
  function hr(t, e) {
3435
3436
  return e ? e(t) : D.of();
3436
3437
  }
3437
- function Lt(t) {
3438
+ function Dt(t) {
3438
3439
  return typeof t == "function" ? new Yr(t) : t;
3439
3440
  }
3440
3441
  function Yt(t) {
@@ -3451,11 +3452,11 @@ var Yr = (
3451
3452
  return D.of();
3452
3453
  });
3453
3454
  }, t.from = function(e) {
3454
- return e.length === 0 ? t.empty() : e.map(Lt).reduce(function(r, n) {
3455
+ return e.length === 0 ? t.empty() : e.map(Dt).reduce(function(r, n) {
3455
3456
  return r.concat(n);
3456
3457
  });
3457
3458
  }, t.split = function(e, r, n) {
3458
- var o = Lt(r), i = Lt(n || new t(hr)), a;
3459
+ var o = Dt(r), i = Dt(n || new t(hr)), a;
3459
3460
  return Yt(o) && Yt(i) ? a = new t(function(c) {
3460
3461
  return e(c) ? o.request(c) || D.of() : i.request(c) || D.of();
3461
3462
  }) : a = new t(function(c, s) {
@@ -3464,10 +3465,10 @@ var Yr = (
3464
3465
  }, t.execute = function(e, r) {
3465
3466
  return e.request(Ho(r.context, Vo(Ro(r)))) || D.of();
3466
3467
  }, t.concat = function(e, r) {
3467
- var n = Lt(e);
3468
+ var n = Dt(e);
3468
3469
  if (Yt(n))
3469
3470
  return globalThis.__DEV__ !== !1 && le.warn(47, n), n;
3470
- var o = Lt(r), i;
3471
+ var o = Dt(r), i;
3471
3472
  return Yt(o) ? i = new t(function(a) {
3472
3473
  return n.request(a, function(c) {
3473
3474
  return o.request(c) || D.of();