@cimulate/copilot-widget 1.7.4 → 1.7.5
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.
|
@@ -118,7 +118,7 @@ function GC() {
|
|
|
118
118
|
function ye(L, Z) {
|
|
119
119
|
return { $$typeof: e, type: L.type, key: Z, ref: L.ref, props: L.props, _owner: L._owner };
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function $(L) {
|
|
122
122
|
return typeof L == "object" && L !== null && L.$$typeof === e;
|
|
123
123
|
}
|
|
124
124
|
function ne(L) {
|
|
@@ -150,7 +150,7 @@ function GC() {
|
|
|
150
150
|
}
|
|
151
151
|
if (qe) return qe = L, Re = Re(qe), L = _e === "" ? "." + de(qe, 0) : _e, M(Re) ? (P = "", L != null && (P = L.replace(pe, "$&/") + "/"), le(Re, Z, P, "", function(_t) {
|
|
152
152
|
return _t;
|
|
153
|
-
})) : Re != null && (
|
|
153
|
+
})) : Re != null && ($(Re) && (Re = ye(Re, P + (!Re.key || qe && qe.key === Re.key ? "" : ("" + Re.key).replace(pe, "$&/") + "/") + L)), Z.push(Re)), 1;
|
|
154
154
|
if (qe = 0, _e = _e === "" ? "." : _e + ":", M(L)) for (var $e = 0; $e < L.length; $e++) {
|
|
155
155
|
Pe = L[$e];
|
|
156
156
|
var Ze = _e + de(Pe, $e);
|
|
@@ -197,7 +197,7 @@ function GC() {
|
|
|
197
197
|
return Z;
|
|
198
198
|
}) || [];
|
|
199
199
|
}, only: function(L) {
|
|
200
|
-
if (
|
|
200
|
+
if (!$(L)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
201
201
|
return L;
|
|
202
202
|
} }, We.Component = A, We.Fragment = n, We.Profiler = s, We.PureComponent = D, We.StrictMode = r, We.Suspense = f, We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, We.act = w, We.cloneElement = function(L, Z, P) {
|
|
203
203
|
if (L == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + L + ".");
|
|
@@ -223,7 +223,7 @@ function GC() {
|
|
|
223
223
|
return { current: null };
|
|
224
224
|
}, We.forwardRef = function(L) {
|
|
225
225
|
return { $$typeof: c, render: L };
|
|
226
|
-
}, We.isValidElement =
|
|
226
|
+
}, We.isValidElement = $, We.lazy = function(L) {
|
|
227
227
|
return { $$typeof: p, _payload: { _status: -1, _result: L }, _init: Ce };
|
|
228
228
|
}, We.memo = function(L, Z) {
|
|
229
229
|
return { $$typeof: d, type: L, compare: Z === void 0 ? null : Z };
|
|
@@ -3720,7 +3720,7 @@ const LT = {
|
|
|
3720
3720
|
rangeFilters: Yr.RANGE_FILTERS_CHANGED,
|
|
3721
3721
|
catalogSegment: Yr.CATALOG_SEGMENT_CHANGED,
|
|
3722
3722
|
pricebooks: Yr.PRICEBOOKS_CHANGED
|
|
3723
|
-
},
|
|
3723
|
+
}, j = "cim-widget", Ws = `--${j}`, ts = {
|
|
3724
3724
|
primaryColor: "#3182ce",
|
|
3725
3725
|
secondaryColor: "#2c5282",
|
|
3726
3726
|
fontColor: "#1a202c",
|
|
@@ -3950,7 +3950,7 @@ const uk = (e) => {
|
|
|
3950
3950
|
!1
|
|
3951
3951
|
), (s) => {
|
|
3952
3952
|
r.push(s), ss.postMessage(n, "*");
|
|
3953
|
-
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", _n(ss.postMessage)), fk = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(ss) : typeof process != "undefined" && process.nextTick || VT, dk = (e) => e != null && _n(e[Nc]),
|
|
3953
|
+
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", _n(ss.postMessage)), fk = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(ss) : typeof process != "undefined" && process.nextTick || VT, dk = (e) => e != null && _n(e[Nc]), K = {
|
|
3954
3954
|
isArray: _o,
|
|
3955
3955
|
isArrayBuffer: UT,
|
|
3956
3956
|
isBuffer: tu,
|
|
@@ -4050,7 +4050,7 @@ let Be = class qT extends Error {
|
|
|
4050
4050
|
columnNumber: this.columnNumber,
|
|
4051
4051
|
stack: this.stack,
|
|
4052
4052
|
// Axios
|
|
4053
|
-
config:
|
|
4053
|
+
config: K.toJSONObject(this.config),
|
|
4054
4054
|
code: this.code,
|
|
4055
4055
|
status: this.status
|
|
4056
4056
|
};
|
|
@@ -4071,10 +4071,10 @@ Be.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
|
4071
4071
|
Be.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
|
|
4072
4072
|
const hk = null;
|
|
4073
4073
|
function Wh(e) {
|
|
4074
|
-
return
|
|
4074
|
+
return K.isPlainObject(e) || K.isArray(e);
|
|
4075
4075
|
}
|
|
4076
4076
|
function YT(e) {
|
|
4077
|
-
return
|
|
4077
|
+
return K.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
4078
4078
|
}
|
|
4079
4079
|
function Zd(e, t, n) {
|
|
4080
4080
|
return e ? e.concat(t).map(function(s, a) {
|
|
@@ -4082,15 +4082,15 @@ function Zd(e, t, n) {
|
|
|
4082
4082
|
}).join(n ? "." : "") : t;
|
|
4083
4083
|
}
|
|
4084
4084
|
function pk(e) {
|
|
4085
|
-
return
|
|
4085
|
+
return K.isArray(e) && !e.some(Wh);
|
|
4086
4086
|
}
|
|
4087
|
-
const mk =
|
|
4087
|
+
const mk = K.toFlatObject(K, {}, null, function(t) {
|
|
4088
4088
|
return /^is[A-Z]/.test(t);
|
|
4089
4089
|
});
|
|
4090
4090
|
function Pc(e, t, n) {
|
|
4091
|
-
if (!
|
|
4091
|
+
if (!K.isObject(e))
|
|
4092
4092
|
throw new TypeError("target must be an object");
|
|
4093
|
-
t = t || new FormData(), n =
|
|
4093
|
+
t = t || new FormData(), n = K.toFlatObject(
|
|
4094
4094
|
n,
|
|
4095
4095
|
{
|
|
4096
4096
|
metaTokens: !0,
|
|
@@ -4099,32 +4099,32 @@ function Pc(e, t, n) {
|
|
|
4099
4099
|
},
|
|
4100
4100
|
!1,
|
|
4101
4101
|
function(A, v) {
|
|
4102
|
-
return !
|
|
4102
|
+
return !K.isUndefined(v[A]);
|
|
4103
4103
|
}
|
|
4104
4104
|
);
|
|
4105
|
-
const r = n.metaTokens, s = n.visitor || g, a = n.dots, u = n.indexes, c = n.Blob || typeof Blob != "undefined" && Blob, f = n.maxDepth === void 0 ? 100 : n.maxDepth, d = c &&
|
|
4106
|
-
if (!
|
|
4105
|
+
const r = n.metaTokens, s = n.visitor || g, a = n.dots, u = n.indexes, c = n.Blob || typeof Blob != "undefined" && Blob, f = n.maxDepth === void 0 ? 100 : n.maxDepth, d = c && K.isSpecCompliantForm(t);
|
|
4106
|
+
if (!K.isFunction(s))
|
|
4107
4107
|
throw new TypeError("visitor must be a function");
|
|
4108
4108
|
function p(S) {
|
|
4109
4109
|
if (S === null) return "";
|
|
4110
|
-
if (
|
|
4110
|
+
if (K.isDate(S))
|
|
4111
4111
|
return S.toISOString();
|
|
4112
|
-
if (
|
|
4112
|
+
if (K.isBoolean(S))
|
|
4113
4113
|
return S.toString();
|
|
4114
|
-
if (!d &&
|
|
4114
|
+
if (!d && K.isBlob(S))
|
|
4115
4115
|
throw new Be("Blob is not supported. Use a Buffer instead.");
|
|
4116
|
-
return
|
|
4116
|
+
return K.isArrayBuffer(S) || K.isTypedArray(S) ? d && typeof Blob == "function" ? new Blob([S]) : Buffer.from(S) : S;
|
|
4117
4117
|
}
|
|
4118
4118
|
function g(S, A, v) {
|
|
4119
4119
|
let D = S;
|
|
4120
|
-
if (
|
|
4120
|
+
if (K.isReactNative(t) && K.isReactNativeBlob(S))
|
|
4121
4121
|
return t.append(Zd(v, A, a), p(S)), !1;
|
|
4122
4122
|
if (S && !v && typeof S == "object") {
|
|
4123
|
-
if (
|
|
4123
|
+
if (K.endsWith(A, "{}"))
|
|
4124
4124
|
A = r ? A : A.slice(0, -2), S = JSON.stringify(S);
|
|
4125
|
-
else if (
|
|
4125
|
+
else if (K.isArray(S) && pk(S) || (K.isFileList(S) || K.endsWith(A, "[]")) && (D = K.toArray(S)))
|
|
4126
4126
|
return A = YT(A), D.forEach(function(M, q) {
|
|
4127
|
-
!(
|
|
4127
|
+
!(K.isUndefined(M) || M === null) && t.append(
|
|
4128
4128
|
// eslint-disable-next-line no-nested-ternary
|
|
4129
4129
|
u === !0 ? Zd([A], q, a) : u === null ? A : A + "[]",
|
|
4130
4130
|
p(M)
|
|
@@ -4139,7 +4139,7 @@ function Pc(e, t, n) {
|
|
|
4139
4139
|
isVisitable: Wh
|
|
4140
4140
|
});
|
|
4141
4141
|
function _(S, A, v = 0) {
|
|
4142
|
-
if (!
|
|
4142
|
+
if (!K.isUndefined(S)) {
|
|
4143
4143
|
if (v > f)
|
|
4144
4144
|
throw new Be(
|
|
4145
4145
|
"Object is too deeply nested (" + v + " levels). Max depth: " + f,
|
|
@@ -4147,12 +4147,12 @@ function Pc(e, t, n) {
|
|
|
4147
4147
|
);
|
|
4148
4148
|
if (b.indexOf(S) !== -1)
|
|
4149
4149
|
throw Error("Circular reference detected in " + A.join("."));
|
|
4150
|
-
b.push(S),
|
|
4151
|
-
(!(
|
|
4150
|
+
b.push(S), K.forEach(S, function(N, M) {
|
|
4151
|
+
(!(K.isUndefined(N) || N === null) && s.call(t, N, K.isString(M) ? M.trim() : M, A, T)) === !0 && _(N, A ? A.concat(M) : [M], v + 1);
|
|
4152
4152
|
}), b.pop();
|
|
4153
4153
|
}
|
|
4154
4154
|
}
|
|
4155
|
-
if (!
|
|
4155
|
+
if (!K.isObject(e))
|
|
4156
4156
|
throw new TypeError("data must be an object");
|
|
4157
4157
|
return _(e), t;
|
|
4158
4158
|
}
|
|
@@ -4190,11 +4190,11 @@ function gk(e) {
|
|
|
4190
4190
|
function GT(e, t, n) {
|
|
4191
4191
|
if (!t)
|
|
4192
4192
|
return e;
|
|
4193
|
-
const r = n && n.encode || gk, s =
|
|
4193
|
+
const r = n && n.encode || gk, s = K.isFunction(n) ? {
|
|
4194
4194
|
serialize: n
|
|
4195
4195
|
} : n, a = s && s.serialize;
|
|
4196
4196
|
let u;
|
|
4197
|
-
if (a ? u = a(t, s) : u =
|
|
4197
|
+
if (a ? u = a(t, s) : u = K.isURLSearchParams(t) ? t.toString() : new jp(t, s).toString(r), u) {
|
|
4198
4198
|
const c = e.indexOf("#");
|
|
4199
4199
|
c !== -1 && (e = e.slice(0, c)), e += (e.indexOf("?") === -1 ? "?" : "&") + u;
|
|
4200
4200
|
}
|
|
@@ -4250,7 +4250,7 @@ class Z1 {
|
|
|
4250
4250
|
* @returns {void}
|
|
4251
4251
|
*/
|
|
4252
4252
|
forEach(t) {
|
|
4253
|
-
|
|
4253
|
+
K.forEach(this.handlers, function(r) {
|
|
4254
4254
|
r !== null && t(r);
|
|
4255
4255
|
});
|
|
4256
4256
|
}
|
|
@@ -4280,12 +4280,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", xk
|
|
|
4280
4280
|
function Ak(e, t) {
|
|
4281
4281
|
return Pc(e, new nn.classes.URLSearchParams(), U({
|
|
4282
4282
|
visitor: function(n, r, s, a) {
|
|
4283
|
-
return nn.isNode &&
|
|
4283
|
+
return nn.isNode && K.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
|
|
4284
4284
|
}
|
|
4285
4285
|
}, t));
|
|
4286
4286
|
}
|
|
4287
4287
|
function wk(e) {
|
|
4288
|
-
return
|
|
4288
|
+
return K.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
4289
4289
|
}
|
|
4290
4290
|
function kk(e) {
|
|
4291
4291
|
const t = {}, n = Object.keys(e);
|
|
@@ -4301,21 +4301,21 @@ function XT(e) {
|
|
|
4301
4301
|
let u = n[a++];
|
|
4302
4302
|
if (u === "__proto__") return !0;
|
|
4303
4303
|
const c = Number.isFinite(+u), f = a >= n.length;
|
|
4304
|
-
return u = !u &&
|
|
4304
|
+
return u = !u && K.isArray(s) ? s.length : u, f ? (K.hasOwnProp(s, u) ? s[u] = K.isArray(s[u]) ? s[u].concat(r) : [s[u], r] : s[u] = r, !c) : ((!s[u] || !K.isObject(s[u])) && (s[u] = []), t(n, r, s[u], a) && K.isArray(s[u]) && (s[u] = kk(s[u])), !c);
|
|
4305
4305
|
}
|
|
4306
|
-
if (
|
|
4306
|
+
if (K.isFormData(e) && K.isFunction(e.entries)) {
|
|
4307
4307
|
const n = {};
|
|
4308
|
-
return
|
|
4308
|
+
return K.forEachEntry(e, (r, s) => {
|
|
4309
4309
|
t(wk(r), s, n, 0);
|
|
4310
4310
|
}), n;
|
|
4311
4311
|
}
|
|
4312
4312
|
return null;
|
|
4313
4313
|
}
|
|
4314
|
-
const Gs = (e, t) => e != null &&
|
|
4314
|
+
const Gs = (e, t) => e != null && K.hasOwnProp(e, t) ? e[t] : void 0;
|
|
4315
4315
|
function Nk(e, t, n) {
|
|
4316
|
-
if (
|
|
4316
|
+
if (K.isString(e))
|
|
4317
4317
|
try {
|
|
4318
|
-
return (t || JSON.parse)(e),
|
|
4318
|
+
return (t || JSON.parse)(e), K.trim(e);
|
|
4319
4319
|
} catch (r) {
|
|
4320
4320
|
if (r.name !== "SyntaxError")
|
|
4321
4321
|
throw r;
|
|
@@ -4327,21 +4327,21 @@ const iu = {
|
|
|
4327
4327
|
adapter: ["xhr", "http", "fetch"],
|
|
4328
4328
|
transformRequest: [
|
|
4329
4329
|
function(t, n) {
|
|
4330
|
-
const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, a =
|
|
4331
|
-
if (a &&
|
|
4330
|
+
const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, a = K.isObject(t);
|
|
4331
|
+
if (a && K.isHTMLForm(t) && (t = new FormData(t)), K.isFormData(t))
|
|
4332
4332
|
return s ? JSON.stringify(XT(t)) : t;
|
|
4333
|
-
if (
|
|
4333
|
+
if (K.isArrayBuffer(t) || K.isBuffer(t) || K.isStream(t) || K.isFile(t) || K.isBlob(t) || K.isReadableStream(t))
|
|
4334
4334
|
return t;
|
|
4335
|
-
if (
|
|
4335
|
+
if (K.isArrayBufferView(t))
|
|
4336
4336
|
return t.buffer;
|
|
4337
|
-
if (
|
|
4337
|
+
if (K.isURLSearchParams(t))
|
|
4338
4338
|
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
4339
4339
|
let c;
|
|
4340
4340
|
if (a) {
|
|
4341
4341
|
const f = Gs(this, "formSerializer");
|
|
4342
4342
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
4343
4343
|
return Ak(t, f).toString();
|
|
4344
|
-
if ((c =
|
|
4344
|
+
if ((c = K.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
|
4345
4345
|
const d = Gs(this, "env"), p = d && d.FormData;
|
|
4346
4346
|
return Pc(
|
|
4347
4347
|
c ? { "files[]": t } : t,
|
|
@@ -4356,9 +4356,9 @@ const iu = {
|
|
|
4356
4356
|
transformResponse: [
|
|
4357
4357
|
function(t) {
|
|
4358
4358
|
const n = Gs(this, "transitional") || iu.transitional, r = n && n.forcedJSONParsing, s = Gs(this, "responseType"), a = s === "json";
|
|
4359
|
-
if (
|
|
4359
|
+
if (K.isResponse(t) || K.isReadableStream(t))
|
|
4360
4360
|
return t;
|
|
4361
|
-
if (t &&
|
|
4361
|
+
if (t && K.isString(t) && (r && !s || a)) {
|
|
4362
4362
|
const c = !(n && n.silentJSONParsing) && a;
|
|
4363
4363
|
try {
|
|
4364
4364
|
return JSON.parse(t, Gs(this, "parseReviver"));
|
|
@@ -4393,10 +4393,10 @@ const iu = {
|
|
|
4393
4393
|
}
|
|
4394
4394
|
}
|
|
4395
4395
|
};
|
|
4396
|
-
|
|
4396
|
+
K.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
4397
4397
|
iu.headers[e] = {};
|
|
4398
4398
|
});
|
|
4399
|
-
const vk =
|
|
4399
|
+
const vk = K.toObjectSet([
|
|
4400
4400
|
"age",
|
|
4401
4401
|
"authorization",
|
|
4402
4402
|
"content-length",
|
|
@@ -4445,7 +4445,7 @@ function Rk(e) {
|
|
|
4445
4445
|
return Ik(e.replace(Pk, ""));
|
|
4446
4446
|
}
|
|
4447
4447
|
function Xl(e) {
|
|
4448
|
-
return e === !1 || e == null ? e :
|
|
4448
|
+
return e === !1 || e == null ? e : K.isArray(e) ? e.map(Xl) : Rk(String(e));
|
|
4449
4449
|
}
|
|
4450
4450
|
function Lk(e) {
|
|
4451
4451
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -4456,12 +4456,12 @@ function Lk(e) {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
const Dk = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
4458
4458
|
function eh(e, t, n, r, s) {
|
|
4459
|
-
if (
|
|
4459
|
+
if (K.isFunction(r))
|
|
4460
4460
|
return r.call(this, t, n);
|
|
4461
|
-
if (s && (t = n), !!
|
|
4462
|
-
if (
|
|
4461
|
+
if (s && (t = n), !!K.isString(t)) {
|
|
4462
|
+
if (K.isString(r))
|
|
4463
4463
|
return t.indexOf(r) !== -1;
|
|
4464
|
-
if (
|
|
4464
|
+
if (K.isRegExp(r))
|
|
4465
4465
|
return r.test(t);
|
|
4466
4466
|
}
|
|
4467
4467
|
}
|
|
@@ -4469,7 +4469,7 @@ function Mk(e) {
|
|
|
4469
4469
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
|
|
4470
4470
|
}
|
|
4471
4471
|
function Fk(e, t) {
|
|
4472
|
-
const n =
|
|
4472
|
+
const n = K.toCamelCase(" " + t);
|
|
4473
4473
|
["get", "set", "has"].forEach((r) => {
|
|
4474
4474
|
Object.defineProperty(e, r + n, {
|
|
4475
4475
|
value: function(s, a, u) {
|
|
@@ -4489,20 +4489,20 @@ let Sn = class {
|
|
|
4489
4489
|
const p = ba(f);
|
|
4490
4490
|
if (!p)
|
|
4491
4491
|
throw new Error("header name must be a non-empty string");
|
|
4492
|
-
const g =
|
|
4492
|
+
const g = K.findKey(s, p);
|
|
4493
4493
|
(!g || s[g] === void 0 || d === !0 || d === void 0 && s[g] !== !1) && (s[g || f] = Xl(c));
|
|
4494
4494
|
}
|
|
4495
|
-
const u = (c, f) =>
|
|
4496
|
-
if (
|
|
4495
|
+
const u = (c, f) => K.forEach(c, (d, p) => a(d, p, f));
|
|
4496
|
+
if (K.isPlainObject(t) || t instanceof this.constructor)
|
|
4497
4497
|
u(t, n);
|
|
4498
|
-
else if (
|
|
4498
|
+
else if (K.isString(t) && (t = t.trim()) && !Dk(t))
|
|
4499
4499
|
u(Ok(t), n);
|
|
4500
|
-
else if (
|
|
4500
|
+
else if (K.isObject(t) && K.isIterable(t)) {
|
|
4501
4501
|
let c = {}, f, d;
|
|
4502
4502
|
for (const p of t) {
|
|
4503
|
-
if (!
|
|
4503
|
+
if (!K.isArray(p))
|
|
4504
4504
|
throw TypeError("Object iterator must return a key-value pair");
|
|
4505
|
-
c[d = p[0]] = (f = c[d]) ?
|
|
4505
|
+
c[d = p[0]] = (f = c[d]) ? K.isArray(f) ? [...f, p[1]] : [f, p[1]] : p[1];
|
|
4506
4506
|
}
|
|
4507
4507
|
u(c, n);
|
|
4508
4508
|
} else
|
|
@@ -4511,16 +4511,16 @@ let Sn = class {
|
|
|
4511
4511
|
}
|
|
4512
4512
|
get(t, n) {
|
|
4513
4513
|
if (t = ba(t), t) {
|
|
4514
|
-
const r =
|
|
4514
|
+
const r = K.findKey(this, t);
|
|
4515
4515
|
if (r) {
|
|
4516
4516
|
const s = this[r];
|
|
4517
4517
|
if (!n)
|
|
4518
4518
|
return s;
|
|
4519
4519
|
if (n === !0)
|
|
4520
4520
|
return Lk(s);
|
|
4521
|
-
if (
|
|
4521
|
+
if (K.isFunction(n))
|
|
4522
4522
|
return n.call(this, s, r);
|
|
4523
|
-
if (
|
|
4523
|
+
if (K.isRegExp(n))
|
|
4524
4524
|
return n.exec(s);
|
|
4525
4525
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
4526
4526
|
}
|
|
@@ -4528,7 +4528,7 @@ let Sn = class {
|
|
|
4528
4528
|
}
|
|
4529
4529
|
has(t, n) {
|
|
4530
4530
|
if (t = ba(t), t) {
|
|
4531
|
-
const r =
|
|
4531
|
+
const r = K.findKey(this, t);
|
|
4532
4532
|
return !!(r && this[r] !== void 0 && (!n || eh(this, this[r], r, n)));
|
|
4533
4533
|
}
|
|
4534
4534
|
return !1;
|
|
@@ -4538,11 +4538,11 @@ let Sn = class {
|
|
|
4538
4538
|
let s = !1;
|
|
4539
4539
|
function a(u) {
|
|
4540
4540
|
if (u = ba(u), u) {
|
|
4541
|
-
const c =
|
|
4541
|
+
const c = K.findKey(r, u);
|
|
4542
4542
|
c && (!n || eh(r, r[c], c, n)) && (delete r[c], s = !0);
|
|
4543
4543
|
}
|
|
4544
4544
|
}
|
|
4545
|
-
return
|
|
4545
|
+
return K.isArray(t) ? t.forEach(a) : a(t), s;
|
|
4546
4546
|
}
|
|
4547
4547
|
clear(t) {
|
|
4548
4548
|
const n = Object.keys(this);
|
|
@@ -4555,8 +4555,8 @@ let Sn = class {
|
|
|
4555
4555
|
}
|
|
4556
4556
|
normalize(t) {
|
|
4557
4557
|
const n = this, r = {};
|
|
4558
|
-
return
|
|
4559
|
-
const u =
|
|
4558
|
+
return K.forEach(this, (s, a) => {
|
|
4559
|
+
const u = K.findKey(r, a);
|
|
4560
4560
|
if (u) {
|
|
4561
4561
|
n[u] = Xl(s), delete n[a];
|
|
4562
4562
|
return;
|
|
@@ -4570,8 +4570,8 @@ let Sn = class {
|
|
|
4570
4570
|
}
|
|
4571
4571
|
toJSON(t) {
|
|
4572
4572
|
const n = /* @__PURE__ */ Object.create(null);
|
|
4573
|
-
return
|
|
4574
|
-
r != null && r !== !1 && (n[s] = t &&
|
|
4573
|
+
return K.forEach(this, (r, s) => {
|
|
4574
|
+
r != null && r !== !1 && (n[s] = t && K.isArray(r) ? r.join(", ") : r);
|
|
4575
4575
|
}), n;
|
|
4576
4576
|
}
|
|
4577
4577
|
[Symbol.iterator]() {
|
|
@@ -4602,7 +4602,7 @@ let Sn = class {
|
|
|
4602
4602
|
const c = ba(u);
|
|
4603
4603
|
r[c] || (Fk(s, u), r[c] = !0);
|
|
4604
4604
|
}
|
|
4605
|
-
return
|
|
4605
|
+
return K.isArray(t) ? t.forEach(a) : a(t), this;
|
|
4606
4606
|
}
|
|
4607
4607
|
};
|
|
4608
4608
|
Sn.accessor([
|
|
@@ -4613,7 +4613,7 @@ Sn.accessor([
|
|
|
4613
4613
|
"User-Agent",
|
|
4614
4614
|
"Authorization"
|
|
4615
4615
|
]);
|
|
4616
|
-
|
|
4616
|
+
K.reduceDescriptors(Sn.prototype, ({ value: e }, t) => {
|
|
4617
4617
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
4618
4618
|
return {
|
|
4619
4619
|
get: () => e,
|
|
@@ -4622,11 +4622,11 @@ X.reduceDescriptors(Sn.prototype, ({ value: e }, t) => {
|
|
|
4622
4622
|
}
|
|
4623
4623
|
};
|
|
4624
4624
|
});
|
|
4625
|
-
|
|
4625
|
+
K.freezeMethods(Sn);
|
|
4626
4626
|
function th(e, t) {
|
|
4627
4627
|
const n = this || iu, r = t || n, s = Sn.from(r.headers);
|
|
4628
4628
|
let a = r.data;
|
|
4629
|
-
return
|
|
4629
|
+
return K.forEach(e, function(c) {
|
|
4630
4630
|
a = c.call(n, a, s.normalize(), t ? t.status : void 0);
|
|
4631
4631
|
}), s.normalize(), a;
|
|
4632
4632
|
}
|
|
@@ -4720,7 +4720,7 @@ const sc = (e, t, n = 3) => {
|
|
|
4720
4720
|
}),
|
|
4721
4721
|
t[1]
|
|
4722
4722
|
];
|
|
4723
|
-
}, nE = (e) => (...t) =>
|
|
4723
|
+
}, nE = (e) => (...t) => K.asap(() => e(...t)), zk = nn.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, nn.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
4724
4724
|
new URL(nn.origin),
|
|
4725
4725
|
nn.navigator && /(msie|trident)/i.test(nn.navigator.userAgent)
|
|
4726
4726
|
) : () => !0, jk = nn.hasStandardBrowserEnv ? (
|
|
@@ -4729,7 +4729,7 @@ const sc = (e, t, n = 3) => {
|
|
|
4729
4729
|
write(e, t, n, r, s, a, u) {
|
|
4730
4730
|
if (typeof document == "undefined") return;
|
|
4731
4731
|
const c = [`${e}=${encodeURIComponent(t)}`];
|
|
4732
|
-
|
|
4732
|
+
K.isNumber(n) && c.push(`expires=${new Date(n).toUTCString()}`), K.isString(r) && c.push(`path=${r}`), K.isString(s) && c.push(`domain=${s}`), a === !0 && c.push("secure"), K.isString(u) && c.push(`SameSite=${u}`), document.cookie = c.join("; ");
|
|
4733
4733
|
},
|
|
4734
4734
|
read(e) {
|
|
4735
4735
|
if (typeof document == "undefined") return null;
|
|
@@ -4773,28 +4773,28 @@ function ds(e, t) {
|
|
|
4773
4773
|
configurable: !0
|
|
4774
4774
|
});
|
|
4775
4775
|
function r(d, p, g, b) {
|
|
4776
|
-
return
|
|
4776
|
+
return K.isPlainObject(d) && K.isPlainObject(p) ? K.merge.call({ caseless: b }, d, p) : K.isPlainObject(p) ? K.merge({}, p) : K.isArray(p) ? p.slice() : p;
|
|
4777
4777
|
}
|
|
4778
4778
|
function s(d, p, g, b) {
|
|
4779
|
-
if (
|
|
4780
|
-
if (!
|
|
4779
|
+
if (K.isUndefined(p)) {
|
|
4780
|
+
if (!K.isUndefined(d))
|
|
4781
4781
|
return r(void 0, d, g, b);
|
|
4782
4782
|
} else return r(d, p, g, b);
|
|
4783
4783
|
}
|
|
4784
4784
|
function a(d, p) {
|
|
4785
|
-
if (!
|
|
4785
|
+
if (!K.isUndefined(p))
|
|
4786
4786
|
return r(void 0, p);
|
|
4787
4787
|
}
|
|
4788
4788
|
function u(d, p) {
|
|
4789
|
-
if (
|
|
4790
|
-
if (!
|
|
4789
|
+
if (K.isUndefined(p)) {
|
|
4790
|
+
if (!K.isUndefined(d))
|
|
4791
4791
|
return r(void 0, d);
|
|
4792
4792
|
} else return r(void 0, p);
|
|
4793
4793
|
}
|
|
4794
4794
|
function c(d, p, g) {
|
|
4795
|
-
if (
|
|
4795
|
+
if (K.hasOwnProp(t, g))
|
|
4796
4796
|
return r(d, p);
|
|
4797
|
-
if (
|
|
4797
|
+
if (K.hasOwnProp(e, g))
|
|
4798
4798
|
return r(void 0, d);
|
|
4799
4799
|
}
|
|
4800
4800
|
const f = {
|
|
@@ -4829,14 +4829,14 @@ function ds(e, t) {
|
|
|
4829
4829
|
validateStatus: c,
|
|
4830
4830
|
headers: (d, p, g) => s(rE(d), rE(p), g, !0)
|
|
4831
4831
|
};
|
|
4832
|
-
return
|
|
4832
|
+
return K.forEach(Object.keys(U(U({}, e), t)), function(p) {
|
|
4833
4833
|
if (p === "__proto__" || p === "constructor" || p === "prototype") return;
|
|
4834
|
-
const g =
|
|
4835
|
-
|
|
4834
|
+
const g = K.hasOwnProp(f, p) ? f[p] : s, b = K.hasOwnProp(e, p) ? e[p] : void 0, T = K.hasOwnProp(t, p) ? t[p] : void 0, _ = g(b, T, p);
|
|
4835
|
+
K.isUndefined(_) && g !== c || (n[p] = _);
|
|
4836
4836
|
}), n;
|
|
4837
4837
|
}
|
|
4838
4838
|
const ZT = (e) => {
|
|
4839
|
-
const t = ds({}, e), n = (b) =>
|
|
4839
|
+
const t = ds({}, e), n = (b) => K.hasOwnProp(t, b) ? t[b] : void 0, r = n("data");
|
|
4840
4840
|
let s = n("withXSRFToken");
|
|
4841
4841
|
const a = n("xsrfHeaderName"), u = n("xsrfCookieName");
|
|
4842
4842
|
let c = n("headers");
|
|
@@ -4850,17 +4850,17 @@ const ZT = (e) => {
|
|
|
4850
4850
|
"Basic " + btoa(
|
|
4851
4851
|
(f.username || "") + ":" + (f.password ? unescape(encodeURIComponent(f.password)) : "")
|
|
4852
4852
|
)
|
|
4853
|
-
),
|
|
4853
|
+
), K.isFormData(r)) {
|
|
4854
4854
|
if (nn.hasStandardBrowserEnv || nn.hasStandardBrowserWebWorkerEnv)
|
|
4855
4855
|
c.setContentType(void 0);
|
|
4856
|
-
else if (
|
|
4856
|
+
else if (K.isFunction(r.getHeaders)) {
|
|
4857
4857
|
const b = r.getHeaders(), T = ["content-type", "content-length"];
|
|
4858
4858
|
Object.entries(b).forEach(([_, S]) => {
|
|
4859
4859
|
T.includes(_.toLowerCase()) && c.set(_, S);
|
|
4860
4860
|
});
|
|
4861
4861
|
}
|
|
4862
4862
|
}
|
|
4863
|
-
if (nn.hasStandardBrowserEnv && (
|
|
4863
|
+
if (nn.hasStandardBrowserEnv && (K.isFunction(s) && (s = s(t)), s === !0 || s == null && zk(t.url))) {
|
|
4864
4864
|
const T = a && u && jk.read(u);
|
|
4865
4865
|
T && c.set(a, T);
|
|
4866
4866
|
}
|
|
@@ -4917,9 +4917,9 @@ const ZT = (e) => {
|
|
|
4917
4917
|
A
|
|
4918
4918
|
)
|
|
4919
4919
|
), A = null;
|
|
4920
|
-
}, a === void 0 && u.setContentType(null), "setRequestHeader" in A &&
|
|
4920
|
+
}, a === void 0 && u.setContentType(null), "setRequestHeader" in A && K.forEach(u.toJSON(), function(M, q) {
|
|
4921
4921
|
A.setRequestHeader(q, M);
|
|
4922
|
-
}),
|
|
4922
|
+
}), K.isUndefined(s.withCredentials) || (A.withCredentials = !!s.withCredentials), c && c !== "json" && (A.responseType = s.responseType), d && ([b, _] = sc(d, !0), A.addEventListener("progress", b)), f && A.upload && ([g, T] = sc(f), A.upload.addEventListener("progress", g), A.upload.addEventListener("loadend", T)), (s.cancelToken || s.signal) && (p = (N) => {
|
|
4923
4923
|
A && (r(!N || N.type ? new su(null, e, A) : N), A.abort(), A = null);
|
|
4924
4924
|
}, s.cancelToken && s.cancelToken.subscribe(p), s.signal && (s.signal.aborted ? p() : s.signal.addEventListener("abort", p)));
|
|
4925
4925
|
const D = Bk(s.url);
|
|
@@ -4958,7 +4958,7 @@ const ZT = (e) => {
|
|
|
4958
4958
|
};
|
|
4959
4959
|
e.forEach((d) => d.addEventListener("abort", a));
|
|
4960
4960
|
const { signal: f } = r;
|
|
4961
|
-
return f.unsubscribe = () =>
|
|
4961
|
+
return f.unsubscribe = () => K.asap(c), f;
|
|
4962
4962
|
}
|
|
4963
4963
|
}, Gk = function* (e, t) {
|
|
4964
4964
|
let n = e.byteLength;
|
|
@@ -5039,17 +5039,17 @@ const ZT = (e) => {
|
|
|
5039
5039
|
highWaterMark: 2
|
|
5040
5040
|
}
|
|
5041
5041
|
);
|
|
5042
|
-
}, sE = 64 * 1024, { isFunction: Pl } =
|
|
5042
|
+
}, sE = 64 * 1024, { isFunction: Pl } = K, Qk = (({ Request: e, Response: t }) => ({
|
|
5043
5043
|
Request: e,
|
|
5044
5044
|
Response: t
|
|
5045
|
-
}))(
|
|
5045
|
+
}))(K.global), { ReadableStream: oE, TextEncoder: aE } = K.global, uE = (e, ...t) => {
|
|
5046
5046
|
try {
|
|
5047
5047
|
return !!e(...t);
|
|
5048
5048
|
} catch (n) {
|
|
5049
5049
|
return !1;
|
|
5050
5050
|
}
|
|
5051
5051
|
}, Jk = (e) => {
|
|
5052
|
-
e =
|
|
5052
|
+
e = K.merge.call(
|
|
5053
5053
|
{
|
|
5054
5054
|
skipUndefined: !0
|
|
5055
5055
|
},
|
|
@@ -5071,7 +5071,7 @@ const ZT = (e) => {
|
|
|
5071
5071
|
}
|
|
5072
5072
|
}), A = S.headers.has("Content-Type");
|
|
5073
5073
|
return S.body != null && S.body.cancel(), _ && !A;
|
|
5074
|
-
}), p = u && c && uE(() =>
|
|
5074
|
+
}), p = u && c && uE(() => K.isReadableStream(new r("").body)), g = {
|
|
5075
5075
|
stream: p && ((_) => _.body)
|
|
5076
5076
|
};
|
|
5077
5077
|
s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((_) => {
|
|
@@ -5089,19 +5089,19 @@ const ZT = (e) => {
|
|
|
5089
5089
|
const b = (_) => Xe(null, null, function* () {
|
|
5090
5090
|
if (_ == null)
|
|
5091
5091
|
return 0;
|
|
5092
|
-
if (
|
|
5092
|
+
if (K.isBlob(_))
|
|
5093
5093
|
return _.size;
|
|
5094
|
-
if (
|
|
5094
|
+
if (K.isSpecCompliantForm(_))
|
|
5095
5095
|
return (yield new n(nn.origin, {
|
|
5096
5096
|
method: "POST",
|
|
5097
5097
|
body: _
|
|
5098
5098
|
}).arrayBuffer()).byteLength;
|
|
5099
|
-
if (
|
|
5099
|
+
if (K.isArrayBufferView(_) || K.isArrayBuffer(_))
|
|
5100
5100
|
return _.byteLength;
|
|
5101
|
-
if (
|
|
5101
|
+
if (K.isURLSearchParams(_) && (_ = _ + ""), K.isString(_))
|
|
5102
5102
|
return (yield f(_)).byteLength;
|
|
5103
5103
|
}), T = (_, S) => Xe(null, null, function* () {
|
|
5104
|
-
const A =
|
|
5104
|
+
const A = K.toFiniteNumber(_.getContentLength());
|
|
5105
5105
|
return A == null ? b(S) : A;
|
|
5106
5106
|
});
|
|
5107
5107
|
return (_) => Xe(null, null, function* () {
|
|
@@ -5117,7 +5117,7 @@ const ZT = (e) => {
|
|
|
5117
5117
|
responseType: te,
|
|
5118
5118
|
headers: ae,
|
|
5119
5119
|
withCredentials: ye = "same-origin",
|
|
5120
|
-
fetchOptions:
|
|
5120
|
+
fetchOptions: $
|
|
5121
5121
|
} = ZT(_), ne = t || fetch;
|
|
5122
5122
|
te = te ? (te + "").toLowerCase() : "text";
|
|
5123
5123
|
let pe = Wk(
|
|
@@ -5135,7 +5135,7 @@ const ZT = (e) => {
|
|
|
5135
5135
|
body: v,
|
|
5136
5136
|
duplex: "half"
|
|
5137
5137
|
}), Z;
|
|
5138
|
-
if (
|
|
5138
|
+
if (K.isFormData(v) && (Z = L.headers.get("content-type")) && ae.setContentType(Z), L.body) {
|
|
5139
5139
|
const [P, _e] = tE(
|
|
5140
5140
|
Te,
|
|
5141
5141
|
sc(nE(B))
|
|
@@ -5143,13 +5143,13 @@ const ZT = (e) => {
|
|
|
5143
5143
|
v = iE(L.body, sE, P, _e);
|
|
5144
5144
|
}
|
|
5145
5145
|
}
|
|
5146
|
-
|
|
5146
|
+
K.isString(ye) || (ye = ye ? "include" : "omit");
|
|
5147
5147
|
const Ce = a && "credentials" in n.prototype;
|
|
5148
|
-
if (
|
|
5148
|
+
if (K.isFormData(v)) {
|
|
5149
5149
|
const L = ae.getContentType();
|
|
5150
5150
|
L && /^multipart\/form-data/i.test(L) && !/boundary=/i.test(L) && ae.delete("content-type");
|
|
5151
5151
|
}
|
|
5152
|
-
const ue = be(U({},
|
|
5152
|
+
const ue = be(U({}, $), {
|
|
5153
5153
|
signal: pe,
|
|
5154
5154
|
method: A.toUpperCase(),
|
|
5155
5155
|
headers: ae.normalize().toJSON(),
|
|
@@ -5158,14 +5158,14 @@ const ZT = (e) => {
|
|
|
5158
5158
|
credentials: Ce ? ye : void 0
|
|
5159
5159
|
});
|
|
5160
5160
|
de = a && new n(S, ue);
|
|
5161
|
-
let G = yield a ? ne(de,
|
|
5161
|
+
let G = yield a ? ne(de, $) : ne(S, ue);
|
|
5162
5162
|
const re = p && (te === "stream" || te === "response");
|
|
5163
5163
|
if (p && (q || re && le)) {
|
|
5164
5164
|
const L = {};
|
|
5165
5165
|
["status", "statusText", "headers"].forEach((Re) => {
|
|
5166
5166
|
L[Re] = G[Re];
|
|
5167
5167
|
});
|
|
5168
|
-
const Z =
|
|
5168
|
+
const Z = K.toFiniteNumber(G.headers.get("content-length")), [P, _e] = q && tE(
|
|
5169
5169
|
Z,
|
|
5170
5170
|
sc(nE(q), !0)
|
|
5171
5171
|
) || [];
|
|
@@ -5177,7 +5177,7 @@ const ZT = (e) => {
|
|
|
5177
5177
|
);
|
|
5178
5178
|
}
|
|
5179
5179
|
te = te || "text";
|
|
5180
|
-
let w = yield g[
|
|
5180
|
+
let w = yield g[K.findKey(g, te) || "text"](
|
|
5181
5181
|
G,
|
|
5182
5182
|
_
|
|
5183
5183
|
);
|
|
@@ -5222,7 +5222,7 @@ const qp = {
|
|
|
5222
5222
|
get: eb
|
|
5223
5223
|
}
|
|
5224
5224
|
};
|
|
5225
|
-
|
|
5225
|
+
K.forEach(qp, (e, t) => {
|
|
5226
5226
|
if (e) {
|
|
5227
5227
|
try {
|
|
5228
5228
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -5231,9 +5231,9 @@ X.forEach(qp, (e, t) => {
|
|
|
5231
5231
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
5232
5232
|
}
|
|
5233
5233
|
});
|
|
5234
|
-
const lE = (e) => `- ${e}`, eN = (e) =>
|
|
5234
|
+
const lE = (e) => `- ${e}`, eN = (e) => K.isFunction(e) || e === null || e === !1;
|
|
5235
5235
|
function tN(e, t) {
|
|
5236
|
-
e =
|
|
5236
|
+
e = K.isArray(e) ? e : [e];
|
|
5237
5237
|
const { length: n } = e;
|
|
5238
5238
|
let r, s;
|
|
5239
5239
|
const a = {};
|
|
@@ -5242,7 +5242,7 @@ function tN(e, t) {
|
|
|
5242
5242
|
let c;
|
|
5243
5243
|
if (s = r, !eN(r) && (s = qp[(c = String(r)).toLowerCase()], s === void 0))
|
|
5244
5244
|
throw new Be(`Unknown adapter '${c}'`);
|
|
5245
|
-
if (s && (
|
|
5245
|
+
if (s && (K.isFunction(s) || (s = s.get(t))))
|
|
5246
5246
|
break;
|
|
5247
5247
|
a[c || "#" + u] = s;
|
|
5248
5248
|
}
|
|
@@ -5401,7 +5401,7 @@ let ls = class {
|
|
|
5401
5401
|
legacyInterceptorReqResOrdering: Vn.transitional(Vn.boolean)
|
|
5402
5402
|
},
|
|
5403
5403
|
!1
|
|
5404
|
-
), s != null && (
|
|
5404
|
+
), s != null && (K.isFunction(s) ? n.paramsSerializer = {
|
|
5405
5405
|
serialize: s
|
|
5406
5406
|
} : Kl.assertOptions(
|
|
5407
5407
|
s,
|
|
@@ -5418,8 +5418,8 @@ let ls = class {
|
|
|
5418
5418
|
},
|
|
5419
5419
|
!0
|
|
5420
5420
|
), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
5421
|
-
let u = a &&
|
|
5422
|
-
a &&
|
|
5421
|
+
let u = a && K.merge(a.common, a[n.method]);
|
|
5422
|
+
a && K.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (_) => {
|
|
5423
5423
|
delete a[_];
|
|
5424
5424
|
}), n.headers = Sn.concat(u, a);
|
|
5425
5425
|
const c = [];
|
|
@@ -5468,7 +5468,7 @@ let ls = class {
|
|
|
5468
5468
|
return GT(n, t.params, t.paramsSerializer);
|
|
5469
5469
|
}
|
|
5470
5470
|
};
|
|
5471
|
-
|
|
5471
|
+
K.forEach(["delete", "get", "head", "options"], function(t) {
|
|
5472
5472
|
ls.prototype[t] = function(n, r) {
|
|
5473
5473
|
return this.request(
|
|
5474
5474
|
ds(r || {}, {
|
|
@@ -5479,7 +5479,7 @@ X.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
5479
5479
|
);
|
|
5480
5480
|
};
|
|
5481
5481
|
});
|
|
5482
|
-
|
|
5482
|
+
K.forEach(["post", "put", "patch"], function(t) {
|
|
5483
5483
|
function n(r) {
|
|
5484
5484
|
return function(a, u, c) {
|
|
5485
5485
|
return this.request(
|
|
@@ -5575,7 +5575,7 @@ function iN(e) {
|
|
|
5575
5575
|
};
|
|
5576
5576
|
}
|
|
5577
5577
|
function sN(e) {
|
|
5578
|
-
return
|
|
5578
|
+
return K.isObject(e) && e.isAxiosError === !0;
|
|
5579
5579
|
}
|
|
5580
5580
|
const Xh = {
|
|
5581
5581
|
Continue: 100,
|
|
@@ -5653,7 +5653,7 @@ Object.entries(Xh).forEach(([e, t]) => {
|
|
|
5653
5653
|
});
|
|
5654
5654
|
function ib(e) {
|
|
5655
5655
|
const t = new ls(e), n = FT(ls.prototype.request, t);
|
|
5656
|
-
return
|
|
5656
|
+
return K.extend(n, ls.prototype, t, { allOwnKeys: !0 }), K.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
|
|
5657
5657
|
return ib(ds(e, s));
|
|
5658
5658
|
}, n;
|
|
5659
5659
|
}
|
|
@@ -5673,7 +5673,7 @@ Ot.spread = iN;
|
|
|
5673
5673
|
Ot.isAxiosError = sN;
|
|
5674
5674
|
Ot.mergeConfig = ds;
|
|
5675
5675
|
Ot.AxiosHeaders = Sn;
|
|
5676
|
-
Ot.formToJSON = (e) => XT(
|
|
5676
|
+
Ot.formToJSON = (e) => XT(K.isHTMLForm(e) ? new FormData(e) : e);
|
|
5677
5677
|
Ot.getAdapter = tb.getAdapter;
|
|
5678
5678
|
Ot.HttpStatusCode = Xh;
|
|
5679
5679
|
Ot.default = Ot;
|
|
@@ -5717,8 +5717,8 @@ class oN {
|
|
|
5717
5717
|
}));
|
|
5718
5718
|
Se(this, "_mapCopilotUrlToSearchUrl", (t = "", n = !1) => {
|
|
5719
5719
|
if (t.endsWith("io")) {
|
|
5720
|
-
const s = new URL(t)
|
|
5721
|
-
return
|
|
5720
|
+
const s = new URL(t);
|
|
5721
|
+
return s.hostname = s.hostname.replace(/^copilot\./, "api."), s.origin;
|
|
5722
5722
|
}
|
|
5723
5723
|
return n ? `https://staging.${this.CIMULATE_SEARCH_API_HOST}.ai` : `https://prod.${this.CIMULATE_SEARCH_API_HOST}.ai`;
|
|
5724
5724
|
});
|
|
@@ -5838,11 +5838,11 @@ const sb = z.createContext(null), lN = ({
|
|
|
5838
5838
|
M.config || M.getConfig();
|
|
5839
5839
|
}, [M]);
|
|
5840
5840
|
const B = z.useMemo(() => Cw(A), [A]), te = z.useMemo(() => {
|
|
5841
|
-
const ye = (d == null ? void 0 : d.placeholder) || c,
|
|
5841
|
+
const ye = (d == null ? void 0 : d.placeholder) || c, $ = (d == null ? void 0 : d.buttonLabel) || f;
|
|
5842
5842
|
let ne = "icon";
|
|
5843
5843
|
return d != null && d.buttonType ? ne = d.buttonType : f && (ne = "text"), be(U({}, d || {}), {
|
|
5844
5844
|
placeholder: ye,
|
|
5845
|
-
buttonLabel:
|
|
5845
|
+
buttonLabel: $,
|
|
5846
5846
|
buttonType: ne
|
|
5847
5847
|
});
|
|
5848
5848
|
}, [d, c, f]), ae = z.useMemo(
|
|
@@ -7077,7 +7077,7 @@ const Et = new GN(), XN = (e) => {
|
|
|
7077
7077
|
setAskCimPrompts: ae
|
|
7078
7078
|
} = ys(), {
|
|
7079
7079
|
connected: ye,
|
|
7080
|
-
entryType:
|
|
7080
|
+
entryType: $,
|
|
7081
7081
|
copilot: ne,
|
|
7082
7082
|
messages: pe,
|
|
7083
7083
|
groupedMessages: de,
|
|
@@ -7332,7 +7332,7 @@ const Et = new GN(), XN = (e) => {
|
|
|
7332
7332
|
(Ae, Le) => {
|
|
7333
7333
|
if (!Ae) return;
|
|
7334
7334
|
const Ie = { userPrompt: Ae };
|
|
7335
|
-
switch (Le && (Ie.imageFile = Le),
|
|
7335
|
+
switch (Le && (Ie.imageFile = Le), $) {
|
|
7336
7336
|
case "ask_cim":
|
|
7337
7337
|
Re(Ie);
|
|
7338
7338
|
return;
|
|
@@ -7355,7 +7355,7 @@ const Et = new GN(), XN = (e) => {
|
|
|
7355
7355
|
}
|
|
7356
7356
|
},
|
|
7357
7357
|
[
|
|
7358
|
-
|
|
7358
|
+
$,
|
|
7359
7359
|
d,
|
|
7360
7360
|
p,
|
|
7361
7361
|
Z,
|
|
@@ -7830,7 +7830,7 @@ const Et = new GN(), XN = (e) => {
|
|
|
7830
7830
|
onRefinedSearch: te,
|
|
7831
7831
|
onRefinedBrowse: ae,
|
|
7832
7832
|
__features: ye,
|
|
7833
|
-
children:
|
|
7833
|
+
children: $
|
|
7834
7834
|
}) => /* @__PURE__ */ C.jsx(
|
|
7835
7835
|
lN,
|
|
7836
7836
|
{
|
|
@@ -7871,7 +7871,7 @@ const Et = new GN(), XN = (e) => {
|
|
|
7871
7871
|
onRefinedSearch: te,
|
|
7872
7872
|
onRefinedBrowse: ae,
|
|
7873
7873
|
onCopilotEvent: B,
|
|
7874
|
-
children:
|
|
7874
|
+
children: $
|
|
7875
7875
|
}
|
|
7876
7876
|
) })
|
|
7877
7877
|
}
|
|
@@ -7887,7 +7887,7 @@ function Hb(e) {
|
|
|
7887
7887
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
7888
7888
|
return r;
|
|
7889
7889
|
}
|
|
7890
|
-
function
|
|
7890
|
+
function X() {
|
|
7891
7891
|
for (var e, t, n = 0, r = "", s = arguments.length; n < s; n++) (e = arguments[n]) && (t = Hb(e)) && (r && (r += " "), r += t);
|
|
7892
7892
|
return r;
|
|
7893
7893
|
}
|
|
@@ -8038,7 +8038,7 @@ const Xp = ({
|
|
|
8038
8038
|
"button",
|
|
8039
8039
|
{
|
|
8040
8040
|
"aria-label": t,
|
|
8041
|
-
className:
|
|
8041
|
+
className: X(e, `${j}-close-button`),
|
|
8042
8042
|
disabled: r,
|
|
8043
8043
|
onClick: n,
|
|
8044
8044
|
children: /* @__PURE__ */ C.jsx(
|
|
@@ -8057,7 +8057,7 @@ const Xp = ({
|
|
|
8057
8057
|
), Mc = ({ className: e, children: t, type: n, disabled: r = !1, onClick: s }) => /* @__PURE__ */ C.jsx(
|
|
8058
8058
|
"button",
|
|
8059
8059
|
{
|
|
8060
|
-
className:
|
|
8060
|
+
className: X(`${j}-button`, e, { disabled: r }),
|
|
8061
8061
|
type: n || "button",
|
|
8062
8062
|
disabled: r,
|
|
8063
8063
|
onClick: s,
|
|
@@ -8075,7 +8075,7 @@ const Xp = ({
|
|
|
8075
8075
|
}) => !n && !t ? null : /* @__PURE__ */ C.jsx(
|
|
8076
8076
|
"button",
|
|
8077
8077
|
{
|
|
8078
|
-
className:
|
|
8078
|
+
className: X(e, `${j}-icon-button`),
|
|
8079
8079
|
type: r,
|
|
8080
8080
|
"aria-label": s,
|
|
8081
8081
|
title: a,
|
|
@@ -8084,7 +8084,7 @@ const Xp = ({
|
|
|
8084
8084
|
children: t ? /* @__PURE__ */ C.jsx(
|
|
8085
8085
|
"img",
|
|
8086
8086
|
{
|
|
8087
|
-
className:
|
|
8087
|
+
className: X(`${j}-icon-image`),
|
|
8088
8088
|
src: t,
|
|
8089
8089
|
alt: s,
|
|
8090
8090
|
loading: "lazy"
|
|
@@ -8099,7 +8099,7 @@ const Xp = ({
|
|
|
8099
8099
|
return n ? /* @__PURE__ */ C.jsx(
|
|
8100
8100
|
"img",
|
|
8101
8101
|
{
|
|
8102
|
-
className:
|
|
8102
|
+
className: X(`${j}-search-button-icon-image`, t),
|
|
8103
8103
|
src: n,
|
|
8104
8104
|
alt: "",
|
|
8105
8105
|
loading: "lazy"
|
|
@@ -8116,11 +8116,11 @@ const Xp = ({
|
|
|
8116
8116
|
return /* @__PURE__ */ C.jsx(
|
|
8117
8117
|
Pr,
|
|
8118
8118
|
{
|
|
8119
|
-
className:
|
|
8119
|
+
className: X(
|
|
8120
8120
|
e,
|
|
8121
8121
|
n,
|
|
8122
8122
|
r,
|
|
8123
|
-
`${
|
|
8123
|
+
`${j}-search-button-icon`
|
|
8124
8124
|
),
|
|
8125
8125
|
type: "submit",
|
|
8126
8126
|
disabled: s,
|
|
@@ -8133,11 +8133,11 @@ const Xp = ({
|
|
|
8133
8133
|
return /* @__PURE__ */ C.jsxs(
|
|
8134
8134
|
Mc,
|
|
8135
8135
|
{
|
|
8136
|
-
className:
|
|
8136
|
+
className: X(
|
|
8137
8137
|
e,
|
|
8138
8138
|
n,
|
|
8139
8139
|
r,
|
|
8140
|
-
`${
|
|
8140
|
+
`${j}-search-button`
|
|
8141
8141
|
),
|
|
8142
8142
|
type: "submit",
|
|
8143
8143
|
"aria-label": (t == null ? void 0 : t.buttonAriaLabel) || "",
|
|
@@ -8164,7 +8164,7 @@ const Lv = () => {
|
|
|
8164
8164
|
return n != null && n.enableCancelSearch ? /* @__PURE__ */ C.jsx(
|
|
8165
8165
|
Pr,
|
|
8166
8166
|
{
|
|
8167
|
-
className:
|
|
8167
|
+
className: X(t, `${j}-cancel-button`),
|
|
8168
8168
|
ariaLabel: "Cancel Copilot chat processing",
|
|
8169
8169
|
title: "Cancel Copilot request",
|
|
8170
8170
|
icon: /* @__PURE__ */ C.jsx(Rv, {}),
|
|
@@ -9416,11 +9416,11 @@ function Xv() {
|
|
|
9416
9416
|
}
|
|
9417
9417
|
function ye(de) {
|
|
9418
9418
|
var le;
|
|
9419
|
-
for (de = de || []; le =
|
|
9419
|
+
for (de = de || []; le = $(); )
|
|
9420
9420
|
le !== !1 && de.push(le);
|
|
9421
9421
|
return de;
|
|
9422
9422
|
}
|
|
9423
|
-
function
|
|
9423
|
+
function $() {
|
|
9424
9424
|
var de = M();
|
|
9425
9425
|
if (!(d != S.charAt(0) || p != S.charAt(1))) {
|
|
9426
9426
|
for (var le = 2; g != S.charAt(le) && (p != S.charAt(le) || d != S.charAt(le + 1)); )
|
|
@@ -9437,7 +9437,7 @@ function Xv() {
|
|
|
9437
9437
|
function ne() {
|
|
9438
9438
|
var de = M(), le = te(r);
|
|
9439
9439
|
if (le) {
|
|
9440
|
-
if (
|
|
9440
|
+
if ($(), !te(s)) return B("property missing ':'");
|
|
9441
9441
|
var Te = te(a), Ce = de({
|
|
9442
9442
|
type: T,
|
|
9443
9443
|
property: _(le[0].replace(e, g)),
|
|
@@ -10212,17 +10212,17 @@ function PO(e) {
|
|
|
10212
10212
|
)
|
|
10213
10213
|
return;
|
|
10214
10214
|
const te = t.events.length;
|
|
10215
|
-
let ae = te, ye,
|
|
10215
|
+
let ae = te, ye, $;
|
|
10216
10216
|
for (; ae--; )
|
|
10217
10217
|
if (t.events[ae][0] === "exit" && t.events[ae][1].type === "chunkFlow") {
|
|
10218
10218
|
if (ye) {
|
|
10219
|
-
|
|
10219
|
+
$ = t.events[ae][1].end;
|
|
10220
10220
|
break;
|
|
10221
10221
|
}
|
|
10222
10222
|
ye = !0;
|
|
10223
10223
|
}
|
|
10224
10224
|
for (v(r), B = te; B < t.events.length; )
|
|
10225
|
-
t.events[B][1].end = U({},
|
|
10225
|
+
t.events[B][1].end = U({}, $), B++;
|
|
10226
10226
|
Rn(t.events, ae + 1, 0, t.events.slice(te)), t.events.length = B;
|
|
10227
10227
|
}
|
|
10228
10228
|
}
|
|
@@ -10501,8 +10501,8 @@ function $O(e, t, n) {
|
|
|
10501
10501
|
}
|
|
10502
10502
|
function q(B, te, ae) {
|
|
10503
10503
|
let ye = 0;
|
|
10504
|
-
return
|
|
10505
|
-
function
|
|
10504
|
+
return $;
|
|
10505
|
+
function $(Te) {
|
|
10506
10506
|
return B.enter("lineEnding"), B.consume(Te), B.exit("lineEnding"), ne;
|
|
10507
10507
|
}
|
|
10508
10508
|
function ne(Te) {
|
|
@@ -11191,10 +11191,10 @@ function TP(e, t, n) {
|
|
|
11191
11191
|
return P === 62 ? (e.consume(P), r.interrupt ? t : pe) : n(P);
|
|
11192
11192
|
}
|
|
11193
11193
|
function D(P) {
|
|
11194
|
-
return Ke(P) ? (e.consume(P), D) :
|
|
11194
|
+
return Ke(P) ? (e.consume(P), D) : $(P);
|
|
11195
11195
|
}
|
|
11196
11196
|
function N(P) {
|
|
11197
|
-
return P === 47 ? (e.consume(P),
|
|
11197
|
+
return P === 47 ? (e.consume(P), $) : P === 58 || P === 95 || dn(P) ? (e.consume(P), M) : Ke(P) ? (e.consume(P), N) : $(P);
|
|
11198
11198
|
}
|
|
11199
11199
|
function M(P) {
|
|
11200
11200
|
return P === 45 || P === 46 || P === 58 || P === 95 || rn(P) ? (e.consume(P), M) : q(P);
|
|
@@ -11214,7 +11214,7 @@ function TP(e, t, n) {
|
|
|
11214
11214
|
function ye(P) {
|
|
11215
11215
|
return P === 47 || P === 62 || Ke(P) ? N(P) : n(P);
|
|
11216
11216
|
}
|
|
11217
|
-
function
|
|
11217
|
+
function $(P) {
|
|
11218
11218
|
return P === 62 ? (e.consume(P), ne) : n(P);
|
|
11219
11219
|
}
|
|
11220
11220
|
function ne(P) {
|
|
@@ -11338,10 +11338,10 @@ function xP(e, t, n) {
|
|
|
11338
11338
|
return w === 45 || rn(w) ? (e.consume(w), ae) : w === 47 || w === 62 || lt(w) ? ye(w) : n(w);
|
|
11339
11339
|
}
|
|
11340
11340
|
function ye(w) {
|
|
11341
|
-
return w === 47 ? (e.consume(w), Ce) : w === 58 || w === 95 || dn(w) ? (e.consume(w),
|
|
11341
|
+
return w === 47 ? (e.consume(w), Ce) : w === 58 || w === 95 || dn(w) ? (e.consume(w), $) : Fe(w) ? (u = ye, ue(w)) : Ke(w) ? (e.consume(w), ye) : Ce(w);
|
|
11342
11342
|
}
|
|
11343
|
-
function
|
|
11344
|
-
return w === 45 || w === 46 || w === 58 || w === 95 || rn(w) ? (e.consume(w),
|
|
11343
|
+
function $(w) {
|
|
11344
|
+
return w === 45 || w === 46 || w === 58 || w === 95 || rn(w) ? (e.consume(w), $) : ne(w);
|
|
11345
11345
|
}
|
|
11346
11346
|
function ne(w) {
|
|
11347
11347
|
return w === 61 ? (e.consume(w), pe) : Fe(w) ? (u = ne, ue(w)) : Ke(w) ? (e.consume(w), ne) : ye(w);
|
|
@@ -11928,7 +11928,7 @@ function cI(e, t, n) {
|
|
|
11928
11928
|
};
|
|
11929
11929
|
}
|
|
11930
11930
|
function S(ne) {
|
|
11931
|
-
s[ne.line] = ne.column,
|
|
11931
|
+
s[ne.line] = ne.column, $();
|
|
11932
11932
|
}
|
|
11933
11933
|
function A() {
|
|
11934
11934
|
let ne;
|
|
@@ -11945,7 +11945,7 @@ function cI(e, t, n) {
|
|
|
11945
11945
|
p = p(ne);
|
|
11946
11946
|
}
|
|
11947
11947
|
function D(ne) {
|
|
11948
|
-
Fe(ne) ? (r.line++, r.column = 1, r.offset += ne === -3 ? 2 : 1,
|
|
11948
|
+
Fe(ne) ? (r.line++, r.column = 1, r.offset += ne === -3 ? 2 : 1, $()) : ne !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
11949
11949
|
// strings.
|
|
11950
11950
|
/** @type {string} */
|
|
11951
11951
|
u[r._index].length && (r._bufferIndex = -1, r._index++)), d.previous = ne;
|
|
@@ -12025,10 +12025,10 @@ function cI(e, t, n) {
|
|
|
12025
12025
|
restore: Ce
|
|
12026
12026
|
};
|
|
12027
12027
|
function Ce() {
|
|
12028
|
-
r = ne, d.previous = pe, d.currentConstruct = de, d.events.length = le, c = Te,
|
|
12028
|
+
r = ne, d.previous = pe, d.currentConstruct = de, d.events.length = le, c = Te, $();
|
|
12029
12029
|
}
|
|
12030
12030
|
}
|
|
12031
|
-
function
|
|
12031
|
+
function $() {
|
|
12032
12032
|
r.line in s && r.column < 2 && (r.column = s[r.line], r.offset += s[r.line] - 1);
|
|
12033
12033
|
}
|
|
12034
12034
|
}
|
|
@@ -12220,7 +12220,7 @@ function bI(e) {
|
|
|
12220
12220
|
autolinkEmail: Ze,
|
|
12221
12221
|
autolinkProtocol: $e,
|
|
12222
12222
|
blockQuote: f(),
|
|
12223
|
-
characterEscapeValue:
|
|
12223
|
+
characterEscapeValue: $,
|
|
12224
12224
|
characterReferenceMarkerHexadecimal: Re,
|
|
12225
12225
|
characterReferenceMarkerNumeric: Re,
|
|
12226
12226
|
characterReferenceValue: Pe,
|
|
@@ -12229,11 +12229,11 @@ function bI(e) {
|
|
|
12229
12229
|
codeFencedFence: S,
|
|
12230
12230
|
codeFencedFenceInfo: T,
|
|
12231
12231
|
codeFencedFenceMeta: _,
|
|
12232
|
-
codeFlowValue:
|
|
12232
|
+
codeFlowValue: $,
|
|
12233
12233
|
codeIndented: f(v),
|
|
12234
12234
|
codeText: f(Te),
|
|
12235
|
-
codeTextData:
|
|
12236
|
-
data:
|
|
12235
|
+
codeTextData: $,
|
|
12236
|
+
data: $,
|
|
12237
12237
|
definition: f(),
|
|
12238
12238
|
definitionDestinationString: M,
|
|
12239
12239
|
definitionLabelString: D,
|
|
@@ -12242,9 +12242,9 @@ function bI(e) {
|
|
|
12242
12242
|
hardBreakEscape: f(pe),
|
|
12243
12243
|
hardBreakTrailing: f(pe),
|
|
12244
12244
|
htmlFlow: f(de),
|
|
12245
|
-
htmlFlowData:
|
|
12245
|
+
htmlFlowData: $,
|
|
12246
12246
|
htmlText: f(le),
|
|
12247
|
-
htmlTextData:
|
|
12247
|
+
htmlTextData: $,
|
|
12248
12248
|
image: f(ue),
|
|
12249
12249
|
label: re,
|
|
12250
12250
|
labelText: G,
|
|
@@ -12471,7 +12471,7 @@ function bI(e) {
|
|
|
12471
12471
|
end: void 0
|
|
12472
12472
|
}, Oe.push(He)), this.stack.push(He);
|
|
12473
12473
|
}
|
|
12474
|
-
function
|
|
12474
|
+
function $(Q) {
|
|
12475
12475
|
const he = this.stack.pop();
|
|
12476
12476
|
he.value += this.sliceSerialize(Q), he.position.end = Ai(Q.end);
|
|
12477
12477
|
}
|
|
@@ -12482,7 +12482,7 @@ function bI(e) {
|
|
|
12482
12482
|
Oe.position.end = Ai(Q.end), this.data.atHardBreak = void 0;
|
|
12483
12483
|
return;
|
|
12484
12484
|
}
|
|
12485
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(he.type) && (ye.call(this, Q),
|
|
12485
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(he.type) && (ye.call(this, Q), $.call(this, Q));
|
|
12486
12486
|
}
|
|
12487
12487
|
function pe() {
|
|
12488
12488
|
this.data.atHardBreak = !0;
|
|
@@ -12562,12 +12562,12 @@ function bI(e) {
|
|
|
12562
12562
|
he.position.end = Ai(Q.end);
|
|
12563
12563
|
}
|
|
12564
12564
|
function $e(Q) {
|
|
12565
|
-
|
|
12565
|
+
$.call(this, Q);
|
|
12566
12566
|
const he = this.stack[this.stack.length - 1];
|
|
12567
12567
|
he.url = this.sliceSerialize(Q);
|
|
12568
12568
|
}
|
|
12569
12569
|
function Ze(Q) {
|
|
12570
|
-
|
|
12570
|
+
$.call(this, Q);
|
|
12571
12571
|
const he = this.stack[this.stack.length - 1];
|
|
12572
12572
|
he.url = "mailto:" + this.sliceSerialize(Q);
|
|
12573
12573
|
}
|
|
@@ -22722,7 +22722,7 @@ const xS = ({
|
|
|
22722
22722
|
return /* @__PURE__ */ C.jsx(
|
|
22723
22723
|
"a",
|
|
22724
22724
|
be(U(U({
|
|
22725
|
-
className:
|
|
22725
|
+
className: X(e, `${j}-link`)
|
|
22726
22726
|
}, n ? { href: n, target: a } : {}), r ? { title: r } : {}), {
|
|
22727
22727
|
rel: "noopener noreferrer",
|
|
22728
22728
|
children: s
|
|
@@ -22730,14 +22730,14 @@ const xS = ({
|
|
|
22730
22730
|
);
|
|
22731
22731
|
}, S4 = () => {
|
|
22732
22732
|
const { disclaimerText: e, disclaimerMarkdown: t, globalClassName: n, openLinksInNewTab: r } = ct();
|
|
22733
|
-
return !e && !t ? null : /* @__PURE__ */ C.jsx("div", { className:
|
|
22733
|
+
return !e && !t ? null : /* @__PURE__ */ C.jsx("div", { className: X(n, `${j}-disclaimer`), children: t ? /* @__PURE__ */ C.jsx(
|
|
22734
22734
|
k_,
|
|
22735
22735
|
{
|
|
22736
22736
|
rehypePlugins: [TS, _4],
|
|
22737
22737
|
components: {
|
|
22738
|
-
ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className:
|
|
22739
|
-
ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className:
|
|
22740
|
-
li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className:
|
|
22738
|
+
ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className: X(n, `${j}-ul`), children: s }),
|
|
22739
|
+
ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className: X(n, `${j}-ol`), children: s }),
|
|
22740
|
+
li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className: X(n, `${j}-li`), children: s }),
|
|
22741
22741
|
a: ({ href: s, title: a, children: u }) => /* @__PURE__ */ C.jsx(
|
|
22742
22742
|
xS,
|
|
22743
22743
|
{
|
|
@@ -22751,23 +22751,23 @@ const xS = ({
|
|
|
22751
22751
|
img: ({ src: s, alt: a }) => /* @__PURE__ */ C.jsx(
|
|
22752
22752
|
"img",
|
|
22753
22753
|
{
|
|
22754
|
-
className:
|
|
22754
|
+
className: X(n, `${j}-disclaimer-image`),
|
|
22755
22755
|
src: s,
|
|
22756
22756
|
alt: a
|
|
22757
22757
|
}
|
|
22758
22758
|
),
|
|
22759
|
-
p: ({ children: s }) => /* @__PURE__ */ C.jsx("p", { className:
|
|
22759
|
+
p: ({ children: s }) => /* @__PURE__ */ C.jsx("p", { className: X(n, `${j}-disclaimer-text`), children: s }),
|
|
22760
22760
|
span: ({ children: s }) => /* @__PURE__ */ C.jsx(
|
|
22761
22761
|
"span",
|
|
22762
22762
|
{
|
|
22763
|
-
className:
|
|
22763
|
+
className: X(n, `${j}-disclaimer-text-span`),
|
|
22764
22764
|
children: s
|
|
22765
22765
|
}
|
|
22766
22766
|
)
|
|
22767
22767
|
},
|
|
22768
22768
|
children: t
|
|
22769
22769
|
}
|
|
22770
|
-
) : /* @__PURE__ */ C.jsx("p", { className:
|
|
22770
|
+
) : /* @__PURE__ */ C.jsx("p", { className: X(n, `${j}-disclaimer-text`), children: e }) });
|
|
22771
22771
|
}, gm = ({
|
|
22772
22772
|
className: e,
|
|
22773
22773
|
isLoading: t,
|
|
@@ -22797,8 +22797,8 @@ const xS = ({
|
|
|
22797
22797
|
let ae = "";
|
|
22798
22798
|
try {
|
|
22799
22799
|
ae = yield D();
|
|
22800
|
-
} catch (
|
|
22801
|
-
c == null || c.error("Error converting file to base64:",
|
|
22800
|
+
} catch ($) {
|
|
22801
|
+
c == null || c.error("Error converting file to base64:", $), alert("There was an error processing the file. Please try again.");
|
|
22802
22802
|
return;
|
|
22803
22803
|
}
|
|
22804
22804
|
te && (M(), g.current.value = "", r(te, ae));
|
|
@@ -22806,30 +22806,30 @@ const xS = ({
|
|
|
22806
22806
|
return /* @__PURE__ */ C.jsxs(
|
|
22807
22807
|
"div",
|
|
22808
22808
|
{
|
|
22809
|
-
className:
|
|
22809
|
+
className: X(
|
|
22810
22810
|
f,
|
|
22811
22811
|
e,
|
|
22812
22812
|
n,
|
|
22813
22813
|
a && "with-attachments",
|
|
22814
|
-
`${
|
|
22814
|
+
`${j}-search-bar-wrapper`
|
|
22815
22815
|
),
|
|
22816
22816
|
children: [
|
|
22817
22817
|
a && /* @__PURE__ */ C.jsxs(
|
|
22818
22818
|
"div",
|
|
22819
22819
|
{
|
|
22820
|
-
className:
|
|
22820
|
+
className: X(
|
|
22821
22821
|
f,
|
|
22822
22822
|
n,
|
|
22823
|
-
`${
|
|
22823
|
+
`${j}-image-file-preview`
|
|
22824
22824
|
),
|
|
22825
22825
|
children: [
|
|
22826
22826
|
/* @__PURE__ */ C.jsx(
|
|
22827
22827
|
"img",
|
|
22828
22828
|
{
|
|
22829
|
-
className:
|
|
22829
|
+
className: X(
|
|
22830
22830
|
f,
|
|
22831
22831
|
n,
|
|
22832
|
-
`${
|
|
22832
|
+
`${j}-image-preview`
|
|
22833
22833
|
),
|
|
22834
22834
|
src: URL.createObjectURL(a),
|
|
22835
22835
|
alt: `${_} preview`,
|
|
@@ -22839,10 +22839,10 @@ const xS = ({
|
|
|
22839
22839
|
/* @__PURE__ */ C.jsx(
|
|
22840
22840
|
"span",
|
|
22841
22841
|
{
|
|
22842
|
-
className:
|
|
22842
|
+
className: X(
|
|
22843
22843
|
f,
|
|
22844
22844
|
n,
|
|
22845
|
-
`${
|
|
22845
|
+
`${j}-image-file-name`
|
|
22846
22846
|
),
|
|
22847
22847
|
title: _,
|
|
22848
22848
|
children: _
|
|
@@ -22851,7 +22851,7 @@ const xS = ({
|
|
|
22851
22851
|
/* @__PURE__ */ C.jsx(
|
|
22852
22852
|
Xp,
|
|
22853
22853
|
{
|
|
22854
|
-
className:
|
|
22854
|
+
className: X(n, "clear-attachment"),
|
|
22855
22855
|
label: "Remove image",
|
|
22856
22856
|
onClick: M
|
|
22857
22857
|
}
|
|
@@ -22862,32 +22862,32 @@ const xS = ({
|
|
|
22862
22862
|
/* @__PURE__ */ C.jsxs(
|
|
22863
22863
|
"form",
|
|
22864
22864
|
{
|
|
22865
|
-
className:
|
|
22865
|
+
className: X(
|
|
22866
22866
|
f,
|
|
22867
22867
|
e,
|
|
22868
22868
|
n,
|
|
22869
|
-
`${
|
|
22869
|
+
`${j}-search-bar`
|
|
22870
22870
|
),
|
|
22871
|
-
name: `${
|
|
22871
|
+
name: `${j}-search-form`,
|
|
22872
22872
|
onSubmit: q,
|
|
22873
22873
|
children: [
|
|
22874
22874
|
/* @__PURE__ */ C.jsx(
|
|
22875
22875
|
"span",
|
|
22876
22876
|
{
|
|
22877
22877
|
role: "status",
|
|
22878
|
-
className:
|
|
22878
|
+
className: X(`${j}-connection-status-icon`, A)
|
|
22879
22879
|
}
|
|
22880
22880
|
),
|
|
22881
22881
|
T && /* @__PURE__ */ C.jsxs(
|
|
22882
22882
|
"div",
|
|
22883
22883
|
{
|
|
22884
22884
|
role: "button",
|
|
22885
|
-
className:
|
|
22885
|
+
className: X(
|
|
22886
22886
|
f,
|
|
22887
22887
|
e,
|
|
22888
22888
|
n,
|
|
22889
22889
|
v && "disabled",
|
|
22890
|
-
`${
|
|
22890
|
+
`${j}-image-upload-button`
|
|
22891
22891
|
),
|
|
22892
22892
|
"aria-disabled": v,
|
|
22893
22893
|
tabIndex: 0,
|
|
@@ -22895,12 +22895,12 @@ const xS = ({
|
|
|
22895
22895
|
/* @__PURE__ */ C.jsx(
|
|
22896
22896
|
"label",
|
|
22897
22897
|
{
|
|
22898
|
-
className:
|
|
22898
|
+
className: X(
|
|
22899
22899
|
f,
|
|
22900
22900
|
e,
|
|
22901
22901
|
n,
|
|
22902
22902
|
v && "disabled",
|
|
22903
|
-
`${
|
|
22903
|
+
`${j}-image-upload-label`
|
|
22904
22904
|
),
|
|
22905
22905
|
htmlFor: "image-input",
|
|
22906
22906
|
"aria-label": "Upload an image",
|
|
@@ -22910,17 +22910,17 @@ const xS = ({
|
|
|
22910
22910
|
/* @__PURE__ */ C.jsx(
|
|
22911
22911
|
"input",
|
|
22912
22912
|
{
|
|
22913
|
-
className:
|
|
22913
|
+
className: X(
|
|
22914
22914
|
f,
|
|
22915
22915
|
e,
|
|
22916
22916
|
n,
|
|
22917
|
-
`${
|
|
22917
|
+
`${j}-file-input`
|
|
22918
22918
|
),
|
|
22919
22919
|
type: "file",
|
|
22920
22920
|
ref: b,
|
|
22921
22921
|
id: "image-input",
|
|
22922
22922
|
accept: ".png,.jpg,.jpeg,.avif,.svg,.gif,.tiff,.tif,.webp",
|
|
22923
|
-
name: `${
|
|
22923
|
+
name: `${j}-file-input`,
|
|
22924
22924
|
disabled: v,
|
|
22925
22925
|
onInput: N
|
|
22926
22926
|
}
|
|
@@ -22931,16 +22931,16 @@ const xS = ({
|
|
|
22931
22931
|
/* @__PURE__ */ C.jsx(
|
|
22932
22932
|
"input",
|
|
22933
22933
|
{
|
|
22934
|
-
className:
|
|
22934
|
+
className: X(
|
|
22935
22935
|
f,
|
|
22936
22936
|
e,
|
|
22937
22937
|
n,
|
|
22938
|
-
`${
|
|
22938
|
+
`${j}-search-input`
|
|
22939
22939
|
),
|
|
22940
22940
|
type: "text",
|
|
22941
22941
|
ref: g,
|
|
22942
22942
|
placeholder: d == null ? void 0 : d.placeholder,
|
|
22943
|
-
name: `${
|
|
22943
|
+
name: `${j}-user-input`
|
|
22944
22944
|
}
|
|
22945
22945
|
),
|
|
22946
22946
|
/* @__PURE__ */ C.jsx(Dv, { isLoading: v }),
|
|
@@ -23521,14 +23521,14 @@ function RD() {
|
|
|
23521
23521
|
g = null, b = w, T = !1;
|
|
23522
23522
|
}
|
|
23523
23523
|
}
|
|
23524
|
-
var B = !1, te = null, ae = -1, ye = 5,
|
|
23524
|
+
var B = !1, te = null, ae = -1, ye = 5, $ = -1;
|
|
23525
23525
|
function ne() {
|
|
23526
|
-
return !(e.unstable_now() -
|
|
23526
|
+
return !(e.unstable_now() - $ < ye);
|
|
23527
23527
|
}
|
|
23528
23528
|
function pe() {
|
|
23529
23529
|
if (te !== null) {
|
|
23530
23530
|
var G = e.unstable_now();
|
|
23531
|
-
|
|
23531
|
+
$ = G;
|
|
23532
23532
|
var re = !0;
|
|
23533
23533
|
try {
|
|
23534
23534
|
re = te(!0, G);
|
|
@@ -23737,7 +23737,7 @@ function DD() {
|
|
|
23737
23737
|
var E = A.hasOwnProperty(o) ? A[o] : null;
|
|
23738
23738
|
(E !== null ? E.type !== 0 : h || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (_(o, l, E, h) && (l = null), h || E === null ? b(o) && (l === null ? i.removeAttribute(o) : i.setAttribute(o, "" + l)) : E.mustUseProperty ? i[E.propertyName] = l === null ? E.type === 3 ? !1 : "" : l : (o = E.attributeName, h = E.attributeNamespace, l === null ? i.removeAttribute(o) : (E = E.type, l = E === 3 || E === 4 && l === !0 ? "" : "" + l, h ? i.setAttributeNS(h, o, l) : i.setAttribute(o, l))));
|
|
23739
23739
|
}
|
|
23740
|
-
var M = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, q = /* @__PURE__ */ Symbol.for("react.element"), B = /* @__PURE__ */ Symbol.for("react.portal"), te = /* @__PURE__ */ Symbol.for("react.fragment"), ae = /* @__PURE__ */ Symbol.for("react.strict_mode"), ye = /* @__PURE__ */ Symbol.for("react.profiler"),
|
|
23740
|
+
var M = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, q = /* @__PURE__ */ Symbol.for("react.element"), B = /* @__PURE__ */ Symbol.for("react.portal"), te = /* @__PURE__ */ Symbol.for("react.fragment"), ae = /* @__PURE__ */ Symbol.for("react.strict_mode"), ye = /* @__PURE__ */ Symbol.for("react.profiler"), $ = /* @__PURE__ */ Symbol.for("react.provider"), ne = /* @__PURE__ */ Symbol.for("react.context"), pe = /* @__PURE__ */ Symbol.for("react.forward_ref"), de = /* @__PURE__ */ Symbol.for("react.suspense"), le = /* @__PURE__ */ Symbol.for("react.suspense_list"), Te = /* @__PURE__ */ Symbol.for("react.memo"), Ce = /* @__PURE__ */ Symbol.for("react.lazy"), ue = /* @__PURE__ */ Symbol.for("react.offscreen"), G = Symbol.iterator;
|
|
23741
23741
|
function re(i) {
|
|
23742
23742
|
return i === null || typeof i != "object" ? null : (i = G && i[G] || i["@@iterator"], typeof i == "function" ? i : null);
|
|
23743
23743
|
}
|
|
@@ -23851,7 +23851,7 @@ function DD() {
|
|
|
23851
23851
|
if (typeof i == "object") switch (i.$$typeof) {
|
|
23852
23852
|
case ne:
|
|
23853
23853
|
return (i.displayName || "Context") + ".Consumer";
|
|
23854
|
-
case
|
|
23854
|
+
case $:
|
|
23855
23855
|
return (i._context.displayName || "Context") + ".Provider";
|
|
23856
23856
|
case pe:
|
|
23857
23857
|
var o = i.render;
|
|
@@ -28497,7 +28497,7 @@ Error generating stack: ` + y.message + `
|
|
|
28497
28497
|
return Tl(l, E, y, o);
|
|
28498
28498
|
default:
|
|
28499
28499
|
if (typeof i == "object" && i !== null) switch (i.$$typeof) {
|
|
28500
|
-
case
|
|
28500
|
+
case $:
|
|
28501
28501
|
x = 10;
|
|
28502
28502
|
break e;
|
|
28503
28503
|
case ne:
|
|
@@ -28938,7 +28938,7 @@ function Cm(e, t = {}) {
|
|
|
28938
28938
|
context: f,
|
|
28939
28939
|
event: T(),
|
|
28940
28940
|
prop: a,
|
|
28941
|
-
send:
|
|
28941
|
+
send: $,
|
|
28942
28942
|
action: v,
|
|
28943
28943
|
guard: D,
|
|
28944
28944
|
track: BD,
|
|
@@ -29020,7 +29020,7 @@ function Cm(e, t = {}) {
|
|
|
29020
29020
|
});
|
|
29021
29021
|
};
|
|
29022
29022
|
}, []);
|
|
29023
|
-
const ye = () => "ref" in B ? B.ref.current : B.get(),
|
|
29023
|
+
const ye = () => "ref" in B ? B.ref.current : B.get(), $ = (ue) => {
|
|
29024
29024
|
queueMicrotask(() => {
|
|
29025
29025
|
var P, _e, Re, Pe, qe;
|
|
29026
29026
|
if (ae.current !== to.Started) return;
|
|
@@ -29043,7 +29043,7 @@ function Cm(e, t = {}) {
|
|
|
29043
29043
|
};
|
|
29044
29044
|
return (Ce = e.watch) == null || Ce.call(e, A()), {
|
|
29045
29045
|
state: _(),
|
|
29046
|
-
send:
|
|
29046
|
+
send: $,
|
|
29047
29047
|
context: f,
|
|
29048
29048
|
prop: a,
|
|
29049
29049
|
scope: n,
|
|
@@ -29662,7 +29662,7 @@ const aM = (e) => ({
|
|
|
29662
29662
|
}, _ = vm(a), S = Nm(_), A = yield c.getDimensions(p), v = _ === "y", D = v ? "top" : "left", N = v ? "bottom" : "right", M = v ? "clientHeight" : "clientWidth", q = u.reference[S] + u.reference[_] - T[_] - u.floating[S], B = T[_] - u.reference[_], te = yield c.getOffsetParent == null ? void 0 : c.getOffsetParent(p);
|
|
29663
29663
|
let ae = te ? te[M] : 0;
|
|
29664
29664
|
(!ae || !(yield c.isElement == null ? void 0 : c.isElement(te))) && (ae = f.floating[M] || u.floating[S]);
|
|
29665
|
-
const ye = q / 2 - B / 2,
|
|
29665
|
+
const ye = q / 2 - B / 2, $ = ae / 2 - A[S] / 2 - 1, ne = Li(b[D], $), pe = Li(b[N], $), de = ne, le = ae - A[S] - pe, Te = ae / 2 - A[S] / 2 + ye, Ce = mp(de, Te, le), ue = !d.arrow && Ro(a) != null && Te !== Ce && u.reference[S] / 2 - (Te < de ? ne : pe) - A[S] / 2 < 0, G = ue ? Te < de ? Te - de : Te - le : 0;
|
|
29666
29666
|
return {
|
|
29667
29667
|
[_]: T[_] + G,
|
|
29668
29668
|
data: U({
|
|
@@ -29708,16 +29708,16 @@ const aM = (e) => ({
|
|
|
29708
29708
|
return {};
|
|
29709
29709
|
const D = ei(a), N = Ar(f), M = ei(f) === f, q = yield d.isRTL == null ? void 0 : d.isRTL(p.floating), B = T || (M || !A ? [Ec(f)] : eM(f)), te = S !== "none";
|
|
29710
29710
|
!T && te && B.push(...iM(f, A, S, q));
|
|
29711
|
-
const ae = [f, ...B], ye = yield Qa(n, v),
|
|
29711
|
+
const ae = [f, ...B], ye = yield Qa(n, v), $ = [];
|
|
29712
29712
|
let ne = ((s = u.flip) == null ? void 0 : s.overflows) || [];
|
|
29713
|
-
if (g &&
|
|
29713
|
+
if (g && $.push(ye[D]), b) {
|
|
29714
29714
|
const Ce = ZD(a, c, q);
|
|
29715
|
-
|
|
29715
|
+
$.push(ye[Ce[0]], ye[Ce[1]]);
|
|
29716
29716
|
}
|
|
29717
29717
|
if (ne = [...ne, {
|
|
29718
29718
|
placement: a,
|
|
29719
|
-
overflows:
|
|
29720
|
-
}],
|
|
29719
|
+
overflows: $
|
|
29720
|
+
}], !$.every((Ce) => Ce <= 0)) {
|
|
29721
29721
|
var pe, de;
|
|
29722
29722
|
const Ce = (((pe = u.flip) == null ? void 0 : pe.index) || 0) + 1, ue = ae[Ce];
|
|
29723
29723
|
if (ue && (!(b === "alignment" ? N !== Ar(ue) : !1) || // We leave the current main axis only if every placement on that axis
|
|
@@ -30004,8 +30004,8 @@ const fM = function(e) {
|
|
|
30004
30004
|
availableWidth: ye,
|
|
30005
30005
|
availableHeight: ae
|
|
30006
30006
|
}));
|
|
30007
|
-
const
|
|
30008
|
-
return S !==
|
|
30007
|
+
const $ = yield c.getDimensions(f.floating);
|
|
30008
|
+
return S !== $.width || A !== $.height ? {
|
|
30009
30009
|
reset: {
|
|
30010
30010
|
rects: !0
|
|
30011
30011
|
}
|
|
@@ -30552,8 +30552,8 @@ function JM(e, t) {
|
|
|
30552
30552
|
return {
|
|
30553
30553
|
name: "transformOrigin",
|
|
30554
30554
|
fn(n) {
|
|
30555
|
-
var ye,
|
|
30556
|
-
const { elements: r, middlewareData: s, placement: a, rects: u, y: c } = n, f = a.split("-")[0], d = QM(f), p = ((ye = s.arrow) == null ? void 0 : ye.x) || 0, g = ((
|
|
30555
|
+
var ye, $, ne, pe, de;
|
|
30556
|
+
const { elements: r, middlewareData: s, placement: a, rects: u, y: c } = n, f = a.split("-")[0], d = QM(f), p = ((ye = s.arrow) == null ? void 0 : ye.x) || 0, g = (($ = s.arrow) == null ? void 0 : $.y) || 0, b = (t == null ? void 0 : t.clientWidth) || 0, T = (t == null ? void 0 : t.clientHeight) || 0, _ = p + b / 2, S = g + T / 2, A = Math.abs(((ne = s.shift) == null ? void 0 : ne.y) || 0), v = u.reference.height / 2, D = T / 2, N = (de = (pe = e.offset) == null ? void 0 : pe.mainAxis) != null ? de : e.gutter, M = typeof N == "number" ? N + D : N != null ? N : D, q = A > M, B = {
|
|
30557
30557
|
top: `${_}px calc(100% + ${M}px)`,
|
|
30558
30558
|
bottom: `${_}px ${-M}px`,
|
|
30559
30559
|
left: `calc(100% + ${M}px) ${S}px`,
|
|
@@ -30927,8 +30927,8 @@ function A5(e, t) {
|
|
|
30927
30927
|
const T = /* @__PURE__ */ new Set(), _ = gs(e == null ? void 0 : e.getRootNode());
|
|
30928
30928
|
function S(N) {
|
|
30929
30929
|
function M(q) {
|
|
30930
|
-
var ye,
|
|
30931
|
-
const B = u && !xy() ? xn : (ne) => ne(), te = q != null ? q : N, ae = (
|
|
30930
|
+
var ye, $;
|
|
30931
|
+
const B = u && !xy() ? xn : (ne) => ne(), te = q != null ? q : N, ae = ($ = (ye = te == null ? void 0 : te.composedPath) == null ? void 0 : ye.call(te)) != null ? $ : [te == null ? void 0 : te.target];
|
|
30932
30932
|
B(() => {
|
|
30933
30933
|
const ne = _ ? ae[0] : Kr(N);
|
|
30934
30934
|
if (!(!e || !b(N, ne))) {
|
|
@@ -32024,8 +32024,8 @@ const Z5 = ({
|
|
|
32024
32024
|
return /* @__PURE__ */ C.jsxs(
|
|
32025
32025
|
"button",
|
|
32026
32026
|
{
|
|
32027
|
-
className:
|
|
32028
|
-
`${
|
|
32027
|
+
className: X(
|
|
32028
|
+
`${j}-overflow-menu-button`,
|
|
32029
32029
|
"clear-chat-button",
|
|
32030
32030
|
t
|
|
32031
32031
|
),
|
|
@@ -32051,9 +32051,9 @@ const Z5 = ({
|
|
|
32051
32051
|
f2,
|
|
32052
32052
|
{
|
|
32053
32053
|
"aria-label": `Overflow menu for ${t}`,
|
|
32054
|
-
className:
|
|
32055
|
-
`${
|
|
32056
|
-
`${
|
|
32054
|
+
className: X(
|
|
32055
|
+
`${j}-overflow-menu-button-trigger`,
|
|
32056
|
+
`${j}-icon-button`,
|
|
32057
32057
|
a,
|
|
32058
32058
|
e,
|
|
32059
32059
|
t
|
|
@@ -32064,8 +32064,8 @@ const Z5 = ({
|
|
|
32064
32064
|
/* @__PURE__ */ C.jsx(jS, { children: /* @__PURE__ */ C.jsxs(
|
|
32065
32065
|
zS,
|
|
32066
32066
|
{
|
|
32067
|
-
className:
|
|
32068
|
-
`${
|
|
32067
|
+
className: X(
|
|
32068
|
+
`${j}-overflow-menu-list`,
|
|
32069
32069
|
a,
|
|
32070
32070
|
t
|
|
32071
32071
|
),
|
|
@@ -32099,9 +32099,9 @@ const h2 = (r) => {
|
|
|
32099
32099
|
U({
|
|
32100
32100
|
icon: /* @__PURE__ */ C.jsx(d2, { size: "16px" }),
|
|
32101
32101
|
ariaLabel: "Clear Chat",
|
|
32102
|
-
className:
|
|
32102
|
+
className: X(
|
|
32103
32103
|
a,
|
|
32104
|
-
`${
|
|
32104
|
+
`${j}-clear-chat-icon-button`,
|
|
32105
32105
|
t
|
|
32106
32106
|
),
|
|
32107
32107
|
onClick: c
|
|
@@ -32119,9 +32119,9 @@ const h2 = (r) => {
|
|
|
32119
32119
|
return t ? /* @__PURE__ */ C.jsx(
|
|
32120
32120
|
Pr,
|
|
32121
32121
|
{
|
|
32122
|
-
className:
|
|
32122
|
+
className: X(
|
|
32123
32123
|
n,
|
|
32124
|
-
`${
|
|
32124
|
+
`${j}-toggle-minimize-button`,
|
|
32125
32125
|
e
|
|
32126
32126
|
),
|
|
32127
32127
|
ariaLabel: "Toggle Minimize",
|
|
@@ -32132,10 +32132,10 @@ const h2 = (r) => {
|
|
|
32132
32132
|
) : /* @__PURE__ */ C.jsxs(
|
|
32133
32133
|
"button",
|
|
32134
32134
|
{
|
|
32135
|
-
className:
|
|
32135
|
+
className: X(
|
|
32136
32136
|
n,
|
|
32137
|
-
`${
|
|
32138
|
-
`${
|
|
32137
|
+
`${j}-overflow-menu-button`,
|
|
32138
|
+
`${j}-toggle-minimize-button`,
|
|
32139
32139
|
e
|
|
32140
32140
|
),
|
|
32141
32141
|
onClick: s,
|
|
@@ -32155,9 +32155,9 @@ const h2 = (r) => {
|
|
|
32155
32155
|
return t ? /* @__PURE__ */ C.jsx(
|
|
32156
32156
|
Pr,
|
|
32157
32157
|
{
|
|
32158
|
-
className:
|
|
32158
|
+
className: X(
|
|
32159
32159
|
n,
|
|
32160
|
-
`${
|
|
32160
|
+
`${j}-toggle-modal-button`,
|
|
32161
32161
|
e
|
|
32162
32162
|
),
|
|
32163
32163
|
ariaLabel: "Toggle Modal",
|
|
@@ -32167,10 +32167,10 @@ const h2 = (r) => {
|
|
|
32167
32167
|
) : /* @__PURE__ */ C.jsxs(
|
|
32168
32168
|
"button",
|
|
32169
32169
|
{
|
|
32170
|
-
className:
|
|
32170
|
+
className: X(
|
|
32171
32171
|
n,
|
|
32172
|
-
`${
|
|
32173
|
-
`${
|
|
32172
|
+
`${j}-overflow-menu-button`,
|
|
32173
|
+
`${j}-toggle-modal-button`,
|
|
32174
32174
|
e
|
|
32175
32175
|
),
|
|
32176
32176
|
onClick: r,
|
|
@@ -32191,21 +32191,21 @@ const h2 = (r) => {
|
|
|
32191
32191
|
return /* @__PURE__ */ C.jsxs(
|
|
32192
32192
|
"div",
|
|
32193
32193
|
{
|
|
32194
|
-
className:
|
|
32194
|
+
className: X(
|
|
32195
32195
|
t,
|
|
32196
|
-
`${
|
|
32197
|
-
`${
|
|
32196
|
+
`${j}-ask-cim-entry-message`,
|
|
32197
|
+
`${j}-message-group`,
|
|
32198
32198
|
e ? "standalone" : "embedded"
|
|
32199
32199
|
),
|
|
32200
32200
|
children: [
|
|
32201
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
32201
|
+
/* @__PURE__ */ C.jsx("p", { className: X(t, `${j}-ask-cim-entry-text`), children: f }),
|
|
32202
32202
|
!!(d != null && d.length) && /* @__PURE__ */ C.jsx(
|
|
32203
32203
|
"div",
|
|
32204
32204
|
{
|
|
32205
|
-
className:
|
|
32205
|
+
className: X(
|
|
32206
32206
|
t,
|
|
32207
|
-
`${
|
|
32208
|
-
`${
|
|
32207
|
+
`${j}-ask-cim-suggestions-container`,
|
|
32208
|
+
`${j}-suggestion-container`,
|
|
32209
32209
|
e ? "standalone" : "embedded"
|
|
32210
32210
|
),
|
|
32211
32211
|
children: d.map((b) => {
|
|
@@ -32214,10 +32214,10 @@ const h2 = (r) => {
|
|
|
32214
32214
|
Mc,
|
|
32215
32215
|
{
|
|
32216
32216
|
disabled: u,
|
|
32217
|
-
className:
|
|
32217
|
+
className: X(
|
|
32218
32218
|
t,
|
|
32219
|
-
`${
|
|
32220
|
-
`${
|
|
32219
|
+
`${j}-ask-cim-suggestion-button`,
|
|
32220
|
+
`${j}-suggestion-button`,
|
|
32221
32221
|
e ? "standalone" : "embedded"
|
|
32222
32222
|
),
|
|
32223
32223
|
onClick: p(
|
|
@@ -32244,7 +32244,7 @@ const h2 = (r) => {
|
|
|
32244
32244
|
return /* @__PURE__ */ C.jsxs(
|
|
32245
32245
|
"div",
|
|
32246
32246
|
{
|
|
32247
|
-
className:
|
|
32247
|
+
className: X(r, `${j}-product-tile`, {
|
|
32248
32248
|
embedded: !e,
|
|
32249
32249
|
standalone: e
|
|
32250
32250
|
}),
|
|
@@ -32259,7 +32259,7 @@ const h2 = (r) => {
|
|
|
32259
32259
|
children: /* @__PURE__ */ C.jsx(
|
|
32260
32260
|
"img",
|
|
32261
32261
|
{
|
|
32262
|
-
className:
|
|
32262
|
+
className: X(r, `${j}-product-tile-image`, {
|
|
32263
32263
|
embedded: !e,
|
|
32264
32264
|
standalone: e
|
|
32265
32265
|
}),
|
|
@@ -32272,7 +32272,7 @@ const h2 = (r) => {
|
|
|
32272
32272
|
) : /* @__PURE__ */ C.jsx(
|
|
32273
32273
|
"img",
|
|
32274
32274
|
{
|
|
32275
|
-
className:
|
|
32275
|
+
className: X(r, `${j}-product-tile-image`, {
|
|
32276
32276
|
embedded: !e,
|
|
32277
32277
|
standalone: e
|
|
32278
32278
|
}),
|
|
@@ -32284,18 +32284,18 @@ const h2 = (r) => {
|
|
|
32284
32284
|
/* @__PURE__ */ C.jsxs(
|
|
32285
32285
|
"div",
|
|
32286
32286
|
{
|
|
32287
|
-
className:
|
|
32287
|
+
className: X(r, `${j}-product-tile-details`, {
|
|
32288
32288
|
embedded: !e,
|
|
32289
32289
|
standalone: e
|
|
32290
32290
|
}),
|
|
32291
32291
|
children: [
|
|
32292
|
-
/* @__PURE__ */ C.jsxs("div", { className:
|
|
32293
|
-
u && /* @__PURE__ */ C.jsx("p", { className: `${
|
|
32292
|
+
/* @__PURE__ */ C.jsxs("div", { className: X(r, `${j}-product-tile-content`), children: [
|
|
32293
|
+
u && /* @__PURE__ */ C.jsx("p", { className: `${j}-product-tile-brand`, children: u }),
|
|
32294
32294
|
g ? /* @__PURE__ */ C.jsxs(
|
|
32295
32295
|
"a",
|
|
32296
32296
|
{
|
|
32297
32297
|
"aria-label": `Go to product page for ${a}`,
|
|
32298
|
-
className:
|
|
32298
|
+
className: X(r, `${j}-product-tile-pdp`),
|
|
32299
32299
|
href: `${g}`,
|
|
32300
32300
|
target: s ? "_blank" : "_self",
|
|
32301
32301
|
rel: "noopener noreferrer",
|
|
@@ -32305,7 +32305,7 @@ const h2 = (r) => {
|
|
|
32305
32305
|
/* @__PURE__ */ C.jsx(
|
|
32306
32306
|
"span",
|
|
32307
32307
|
{
|
|
32308
|
-
className:
|
|
32308
|
+
className: X(r, `${j}-product-tile-pdp-arrow`),
|
|
32309
32309
|
children: "→"
|
|
32310
32310
|
}
|
|
32311
32311
|
)
|
|
@@ -32314,13 +32314,13 @@ const h2 = (r) => {
|
|
|
32314
32314
|
) : /* @__PURE__ */ C.jsx(
|
|
32315
32315
|
"p",
|
|
32316
32316
|
{
|
|
32317
|
-
className:
|
|
32317
|
+
className: X(r, `${j}-product-tile-name`),
|
|
32318
32318
|
title: a,
|
|
32319
32319
|
children: a
|
|
32320
32320
|
}
|
|
32321
32321
|
)
|
|
32322
32322
|
] }),
|
|
32323
|
-
/* @__PURE__ */ C.jsx("div", { className:
|
|
32323
|
+
/* @__PURE__ */ C.jsx("div", { className: X(r, `${j}-product-tile-footer`), children: /* @__PURE__ */ C.jsx("p", { className: X(r, `${j}-product-tile-price`), children: c }) })
|
|
32324
32324
|
]
|
|
32325
32325
|
}
|
|
32326
32326
|
)
|
|
@@ -32335,13 +32335,13 @@ const h2 = (r) => {
|
|
|
32335
32335
|
return n ? /* @__PURE__ */ C.jsxs(
|
|
32336
32336
|
"div",
|
|
32337
32337
|
{
|
|
32338
|
-
className:
|
|
32338
|
+
className: X(r, `${j}-display-products widget-message`),
|
|
32339
32339
|
children: [
|
|
32340
32340
|
/* @__PURE__ */ C.jsx("p", { children: s.message }),
|
|
32341
32341
|
s.products && s.products.length > 0 && /* @__PURE__ */ C.jsx(
|
|
32342
32342
|
"div",
|
|
32343
32343
|
{
|
|
32344
|
-
className:
|
|
32344
|
+
className: X(r, `${j}-product-list`, {
|
|
32345
32345
|
embedded: !e,
|
|
32346
32346
|
standalone: e
|
|
32347
32347
|
}),
|
|
@@ -32368,14 +32368,14 @@ const h2 = (r) => {
|
|
|
32368
32368
|
}) => /* @__PURE__ */ C.jsx(
|
|
32369
32369
|
"div",
|
|
32370
32370
|
{
|
|
32371
|
-
className:
|
|
32371
|
+
className: X(e, `${j}-error-message`, {
|
|
32372
32372
|
standalone: n,
|
|
32373
32373
|
embedded: !n
|
|
32374
32374
|
}),
|
|
32375
32375
|
children: /* @__PURE__ */ C.jsxs(
|
|
32376
32376
|
"p",
|
|
32377
32377
|
{
|
|
32378
|
-
className:
|
|
32378
|
+
className: X(e, `${j}-error-message-text`, {
|
|
32379
32379
|
standalone: n,
|
|
32380
32380
|
embedded: !n
|
|
32381
32381
|
}),
|
|
@@ -32401,12 +32401,12 @@ const o8 = ({
|
|
|
32401
32401
|
}) => /* @__PURE__ */ C.jsx(
|
|
32402
32402
|
"div",
|
|
32403
32403
|
{
|
|
32404
|
-
className:
|
|
32404
|
+
className: X(e, `${j}-suggestion-container standalone`),
|
|
32405
32405
|
children: s.map((u) => /* @__PURE__ */ C.jsxs(
|
|
32406
32406
|
Mc,
|
|
32407
32407
|
{
|
|
32408
32408
|
disabled: r,
|
|
32409
|
-
className:
|
|
32409
|
+
className: X(e, `${j}-suggestion-button standalone`),
|
|
32410
32410
|
onClick: () => a(u, n || t),
|
|
32411
32411
|
children: [
|
|
32412
32412
|
/* @__PURE__ */ C.jsx(s8, { size: "1.5rem", style: { minHeight: "1.5rem", minWidth: "1.5rem" } }),
|
|
@@ -32426,8 +32426,8 @@ const o8 = ({
|
|
|
32426
32426
|
}) => {
|
|
32427
32427
|
var b;
|
|
32428
32428
|
const { isLoading: a } = Or(), { messages: u } = Kn(), c = u.find((T) => T.id === n.eventSourceId), f = !!c, d = ((b = c == null ? void 0 : c.name) == null ? void 0 : b.replace("_suggestions", "")) || "", p = f ? _w(d) : null, g = f && (p === t || t === "ask_cim");
|
|
32429
|
-
return /* @__PURE__ */ C.jsxs("div", { className:
|
|
32430
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
32429
|
+
return /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-follow-up`), children: [
|
|
32430
|
+
/* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-text`), children: n.message }),
|
|
32431
32431
|
r && /* @__PURE__ */ C.jsx(
|
|
32432
32432
|
o8,
|
|
32433
32433
|
{
|
|
@@ -32442,14 +32442,14 @@ const o8 = ({
|
|
|
32442
32442
|
!r && /* @__PURE__ */ C.jsx(
|
|
32443
32443
|
"div",
|
|
32444
32444
|
{
|
|
32445
|
-
className:
|
|
32445
|
+
className: X(e, `${j}-suggestion-container embedded`),
|
|
32446
32446
|
children: n.suggestions.map((T) => /* @__PURE__ */ C.jsx(
|
|
32447
32447
|
"button",
|
|
32448
32448
|
{
|
|
32449
32449
|
disabled: a || !f || !g,
|
|
32450
|
-
className:
|
|
32450
|
+
className: X(
|
|
32451
32451
|
e,
|
|
32452
|
-
`${
|
|
32452
|
+
`${j}-suggestion-button embedded`
|
|
32453
32453
|
),
|
|
32454
32454
|
onClick: () => s(T, n.eventSourceId || n.id),
|
|
32455
32455
|
children: T.displayText
|
|
@@ -34177,7 +34177,7 @@ function uB(e, t, n) {
|
|
|
34177
34177
|
const r = this;
|
|
34178
34178
|
let s = 0, a = 0, u;
|
|
34179
34179
|
return c;
|
|
34180
|
-
function c(
|
|
34180
|
+
function c($) {
|
|
34181
34181
|
let ne = r.events.length - 1;
|
|
34182
34182
|
for (; ne > -1; ) {
|
|
34183
34183
|
const le = r.events[ne][1].type;
|
|
@@ -34186,61 +34186,61 @@ function uB(e, t, n) {
|
|
|
34186
34186
|
else break;
|
|
34187
34187
|
}
|
|
34188
34188
|
const pe = ne > -1 ? r.events[ne][1].type : null, de = pe === "tableHead" || pe === "tableRow" ? B : f;
|
|
34189
|
-
return de === B && r.parser.lazy[r.now().line] ? n(
|
|
34189
|
+
return de === B && r.parser.lazy[r.now().line] ? n($) : de($);
|
|
34190
34190
|
}
|
|
34191
|
-
function f(
|
|
34192
|
-
return e.enter("tableHead"), e.enter("tableRow"), d(
|
|
34191
|
+
function f($) {
|
|
34192
|
+
return e.enter("tableHead"), e.enter("tableRow"), d($);
|
|
34193
34193
|
}
|
|
34194
|
-
function d(
|
|
34195
|
-
return
|
|
34194
|
+
function d($) {
|
|
34195
|
+
return $ === 124 || (u = !0, a += 1), p($);
|
|
34196
34196
|
}
|
|
34197
|
-
function p(
|
|
34198
|
-
return
|
|
34197
|
+
function p($) {
|
|
34198
|
+
return $ === null ? n($) : Fe($) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume($), e.exit("lineEnding"), T) : n($) : Ke($) ? Je(e, p, "whitespace")($) : (a += 1, u && (u = !1, s += 1), $ === 124 ? (e.enter("tableCellDivider"), e.consume($), e.exit("tableCellDivider"), u = !0, p) : (e.enter("data"), g($)));
|
|
34199
34199
|
}
|
|
34200
|
-
function g(
|
|
34201
|
-
return
|
|
34200
|
+
function g($) {
|
|
34201
|
+
return $ === null || $ === 124 || lt($) ? (e.exit("data"), p($)) : (e.consume($), $ === 92 ? b : g);
|
|
34202
34202
|
}
|
|
34203
|
-
function b(
|
|
34204
|
-
return
|
|
34203
|
+
function b($) {
|
|
34204
|
+
return $ === 92 || $ === 124 ? (e.consume($), g) : g($);
|
|
34205
34205
|
}
|
|
34206
|
-
function T(
|
|
34207
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(
|
|
34206
|
+
function T($) {
|
|
34207
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n($) : (e.enter("tableDelimiterRow"), u = !1, Ke($) ? Je(e, _, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)($) : _($));
|
|
34208
34208
|
}
|
|
34209
|
-
function _(
|
|
34210
|
-
return
|
|
34209
|
+
function _($) {
|
|
34210
|
+
return $ === 45 || $ === 58 ? A($) : $ === 124 ? (u = !0, e.enter("tableCellDivider"), e.consume($), e.exit("tableCellDivider"), S) : q($);
|
|
34211
34211
|
}
|
|
34212
|
-
function S(
|
|
34213
|
-
return Ke(
|
|
34212
|
+
function S($) {
|
|
34213
|
+
return Ke($) ? Je(e, A, "whitespace")($) : A($);
|
|
34214
34214
|
}
|
|
34215
|
-
function A(
|
|
34216
|
-
return
|
|
34215
|
+
function A($) {
|
|
34216
|
+
return $ === 58 ? (a += 1, u = !0, e.enter("tableDelimiterMarker"), e.consume($), e.exit("tableDelimiterMarker"), v) : $ === 45 ? (a += 1, v($)) : $ === null || Fe($) ? M($) : q($);
|
|
34217
34217
|
}
|
|
34218
|
-
function v(
|
|
34219
|
-
return
|
|
34218
|
+
function v($) {
|
|
34219
|
+
return $ === 45 ? (e.enter("tableDelimiterFiller"), D($)) : q($);
|
|
34220
34220
|
}
|
|
34221
|
-
function D(
|
|
34222
|
-
return
|
|
34221
|
+
function D($) {
|
|
34222
|
+
return $ === 45 ? (e.consume($), D) : $ === 58 ? (u = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume($), e.exit("tableDelimiterMarker"), N) : (e.exit("tableDelimiterFiller"), N($));
|
|
34223
34223
|
}
|
|
34224
|
-
function N(
|
|
34225
|
-
return Ke(
|
|
34224
|
+
function N($) {
|
|
34225
|
+
return Ke($) ? Je(e, M, "whitespace")($) : M($);
|
|
34226
34226
|
}
|
|
34227
|
-
function M(
|
|
34228
|
-
return
|
|
34227
|
+
function M($) {
|
|
34228
|
+
return $ === 124 ? _($) : $ === null || Fe($) ? !u || s !== a ? q($) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t($)) : q($);
|
|
34229
34229
|
}
|
|
34230
|
-
function q(
|
|
34231
|
-
return n(
|
|
34230
|
+
function q($) {
|
|
34231
|
+
return n($);
|
|
34232
34232
|
}
|
|
34233
|
-
function B(
|
|
34234
|
-
return e.enter("tableRow"), te(
|
|
34233
|
+
function B($) {
|
|
34234
|
+
return e.enter("tableRow"), te($);
|
|
34235
34235
|
}
|
|
34236
|
-
function te(
|
|
34237
|
-
return
|
|
34236
|
+
function te($) {
|
|
34237
|
+
return $ === 124 ? (e.enter("tableCellDivider"), e.consume($), e.exit("tableCellDivider"), te) : $ === null || Fe($) ? (e.exit("tableRow"), t($)) : Ke($) ? Je(e, te, "whitespace")($) : (e.enter("data"), ae($));
|
|
34238
34238
|
}
|
|
34239
|
-
function ae(
|
|
34240
|
-
return
|
|
34239
|
+
function ae($) {
|
|
34240
|
+
return $ === null || $ === 124 || lt($) ? (e.exit("data"), te($)) : (e.consume($), $ === 92 ? ye : ae);
|
|
34241
34241
|
}
|
|
34242
|
-
function ye(
|
|
34243
|
-
return
|
|
34242
|
+
function ye($) {
|
|
34243
|
+
return $ === 92 || $ === 124 ? (e.consume($), ae) : ae($);
|
|
34244
34244
|
}
|
|
34245
34245
|
}
|
|
34246
34246
|
function lB(e, t) {
|
|
@@ -34357,7 +34357,7 @@ function gB(e) {
|
|
|
34357
34357
|
), n = e || mB, r = t.data(), s = r.micromarkExtensions || (r.micromarkExtensions = []), a = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), u = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
34358
34358
|
s.push(pB(n)), a.push(DF()), u.push(MF(n));
|
|
34359
34359
|
}
|
|
34360
|
-
const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${
|
|
34360
|
+
const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${j}-blinking-cursor`, children: /* @__PURE__ */ C.jsx("svg", { height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), Bm = ({
|
|
34361
34361
|
globalClassName: e,
|
|
34362
34362
|
openLinksInNewTab: t,
|
|
34363
34363
|
showIsLoading: n,
|
|
@@ -34368,12 +34368,12 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34368
34368
|
remarkPlugins: [gB],
|
|
34369
34369
|
rehypePlugins: [TS],
|
|
34370
34370
|
components: {
|
|
34371
|
-
h1: ({ children: s }) => /* @__PURE__ */ C.jsx("h1", { className:
|
|
34372
|
-
h2: ({ children: s }) => /* @__PURE__ */ C.jsx("h2", { className:
|
|
34373
|
-
h3: ({ children: s }) => /* @__PURE__ */ C.jsx("h3", { className:
|
|
34374
|
-
ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className:
|
|
34375
|
-
ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className:
|
|
34376
|
-
li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className:
|
|
34371
|
+
h1: ({ children: s }) => /* @__PURE__ */ C.jsx("h1", { className: X(e, `${j}-header h1`), children: s }),
|
|
34372
|
+
h2: ({ children: s }) => /* @__PURE__ */ C.jsx("h2", { className: X(e, `${j}-header h2`), children: s }),
|
|
34373
|
+
h3: ({ children: s }) => /* @__PURE__ */ C.jsx("h3", { className: X(e, `${j}-header h3`), children: s }),
|
|
34374
|
+
ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className: X(e, `${j}-ul`), children: s }),
|
|
34375
|
+
ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className: X(e, `${j}-ol`), children: s }),
|
|
34376
|
+
li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className: X(e, `${j}-li`), children: s }),
|
|
34377
34377
|
a: ({ href: s, children: a }) => /* @__PURE__ */ C.jsx(
|
|
34378
34378
|
xS,
|
|
34379
34379
|
{
|
|
@@ -34383,15 +34383,15 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34383
34383
|
children: a
|
|
34384
34384
|
}
|
|
34385
34385
|
),
|
|
34386
|
-
table: ({ children: s }) => /* @__PURE__ */ C.jsx("table", { className:
|
|
34387
|
-
thead: ({ children: s }) => /* @__PURE__ */ C.jsx("thead", { className:
|
|
34388
|
-
tbody: ({ children: s }) => /* @__PURE__ */ C.jsx("tbody", { className:
|
|
34389
|
-
tr: ({ children: s }) => /* @__PURE__ */ C.jsx("tr", { className:
|
|
34390
|
-
th: ({ children: s }) => /* @__PURE__ */ C.jsx("th", { className:
|
|
34391
|
-
td: ({ children: s }) => /* @__PURE__ */ C.jsx("td", { className:
|
|
34392
|
-
span: ({ className: s, children: a }) => s === `${
|
|
34386
|
+
table: ({ children: s }) => /* @__PURE__ */ C.jsx("div", { className: X(e, `${j}-table-container`), children: /* @__PURE__ */ C.jsx("table", { className: X(e, `${j}-table`), children: s }) }),
|
|
34387
|
+
thead: ({ children: s }) => /* @__PURE__ */ C.jsx("thead", { className: X(e, `${j}-thead`), children: s }),
|
|
34388
|
+
tbody: ({ children: s }) => /* @__PURE__ */ C.jsx("tbody", { className: X(e, `${j}-tbody`), children: s }),
|
|
34389
|
+
tr: ({ children: s }) => /* @__PURE__ */ C.jsx("tr", { className: X(e, `${j}-tr`), children: s }),
|
|
34390
|
+
th: ({ children: s }) => /* @__PURE__ */ C.jsx("th", { className: X(e, `${j}-th`), children: s }),
|
|
34391
|
+
td: ({ children: s }) => /* @__PURE__ */ C.jsx("td", { className: X(e, `${j}-td`), children: s }),
|
|
34392
|
+
span: ({ className: s, children: a }) => s === `${j}-blinking-cursor` ? /* @__PURE__ */ C.jsx(Do, {}) : /* @__PURE__ */ C.jsx("span", { children: a })
|
|
34393
34393
|
},
|
|
34394
|
-
children: r.message + (n ? `<span className='${
|
|
34394
|
+
children: r.message + (n ? `<span className='${j}-blinking-cursor'></span>` : "")
|
|
34395
34395
|
}
|
|
34396
34396
|
), EB = ({
|
|
34397
34397
|
globalClassName: e,
|
|
@@ -34404,21 +34404,21 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34404
34404
|
/* @__PURE__ */ C.jsxs(
|
|
34405
34405
|
"div",
|
|
34406
34406
|
{
|
|
34407
|
-
className:
|
|
34407
|
+
className: X(e, `${j}-progress-message`, "standalone"),
|
|
34408
34408
|
children: [
|
|
34409
34409
|
/* @__PURE__ */ C.jsx(
|
|
34410
34410
|
"span",
|
|
34411
34411
|
{
|
|
34412
|
-
className:
|
|
34412
|
+
className: X(
|
|
34413
34413
|
e,
|
|
34414
|
-
`${
|
|
34414
|
+
`${j}-message-icon`,
|
|
34415
34415
|
"progress-icon",
|
|
34416
34416
|
"standalone"
|
|
34417
34417
|
),
|
|
34418
34418
|
children: /* @__PURE__ */ C.jsx($b, {})
|
|
34419
34419
|
}
|
|
34420
34420
|
),
|
|
34421
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
34421
|
+
/* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-progress-text`, "standalone"), children: t.message })
|
|
34422
34422
|
]
|
|
34423
34423
|
}
|
|
34424
34424
|
),
|
|
@@ -34426,7 +34426,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34426
34426
|
/* @__PURE__ */ C.jsx(
|
|
34427
34427
|
Mc,
|
|
34428
34428
|
{
|
|
34429
|
-
className:
|
|
34429
|
+
className: X(e, `${j}-thought-context-button`),
|
|
34430
34430
|
onClick: c,
|
|
34431
34431
|
children: n ? /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
34432
34432
|
"Hide ",
|
|
@@ -34437,7 +34437,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34437
34437
|
] })
|
|
34438
34438
|
}
|
|
34439
34439
|
),
|
|
34440
|
-
n && /* @__PURE__ */ C.jsx("div", { className:
|
|
34440
|
+
n && /* @__PURE__ */ C.jsx("div", { className: X(e, `${j}-thought-container`), children: a && /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-progress-thought`), children: t.thought }) })
|
|
34441
34441
|
] })
|
|
34442
34442
|
] });
|
|
34443
34443
|
}, yB = ({
|
|
@@ -34447,22 +34447,22 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34447
34447
|
}) => n ? /* @__PURE__ */ C.jsx(EB, { globalClassName: e, message: t }) : /* @__PURE__ */ C.jsxs(
|
|
34448
34448
|
"div",
|
|
34449
34449
|
{
|
|
34450
|
-
className:
|
|
34450
|
+
className: X(e, `${j}-progress-message`, "embedded"),
|
|
34451
34451
|
title: t.message,
|
|
34452
34452
|
children: [
|
|
34453
34453
|
/* @__PURE__ */ C.jsx(
|
|
34454
34454
|
"span",
|
|
34455
34455
|
{
|
|
34456
|
-
className:
|
|
34456
|
+
className: X(
|
|
34457
34457
|
e,
|
|
34458
|
-
`${
|
|
34458
|
+
`${j}-message-icon`,
|
|
34459
34459
|
"progress-icon",
|
|
34460
34460
|
"embedded"
|
|
34461
34461
|
),
|
|
34462
34462
|
children: /* @__PURE__ */ C.jsx($b, {})
|
|
34463
34463
|
}
|
|
34464
34464
|
),
|
|
34465
|
-
/* @__PURE__ */ C.jsx("i", { className:
|
|
34465
|
+
/* @__PURE__ */ C.jsx("i", { className: X(e, `${j}-progress-text`, "embedded"), children: t.message })
|
|
34466
34466
|
]
|
|
34467
34467
|
}
|
|
34468
34468
|
), TB = ({
|
|
@@ -34475,7 +34475,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34475
34475
|
return /* @__PURE__ */ C.jsxs(
|
|
34476
34476
|
"div",
|
|
34477
34477
|
{
|
|
34478
|
-
className:
|
|
34478
|
+
className: X(e, `${j}-refined-event`, {
|
|
34479
34479
|
embedded: !n,
|
|
34480
34480
|
standalone: n
|
|
34481
34481
|
}),
|
|
@@ -34483,7 +34483,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34483
34483
|
!!r && /* @__PURE__ */ C.jsxs(
|
|
34484
34484
|
"div",
|
|
34485
34485
|
{
|
|
34486
|
-
className:
|
|
34486
|
+
className: X(e, `${j}-refined-event-query`, {
|
|
34487
34487
|
embedded: !n,
|
|
34488
34488
|
standalone: n
|
|
34489
34489
|
}),
|
|
@@ -34491,10 +34491,10 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34491
34491
|
/* @__PURE__ */ C.jsx(
|
|
34492
34492
|
"span",
|
|
34493
34493
|
{
|
|
34494
|
-
className:
|
|
34494
|
+
className: X(
|
|
34495
34495
|
e,
|
|
34496
|
-
`${
|
|
34497
|
-
`${
|
|
34496
|
+
`${j}-message-icon`,
|
|
34497
|
+
`${j}-refined-event-icon`,
|
|
34498
34498
|
{
|
|
34499
34499
|
embedded: !n,
|
|
34500
34500
|
standalone: n
|
|
@@ -34506,10 +34506,10 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34506
34506
|
/* @__PURE__ */ C.jsx(
|
|
34507
34507
|
"p",
|
|
34508
34508
|
{
|
|
34509
|
-
className:
|
|
34509
|
+
className: X(
|
|
34510
34510
|
e,
|
|
34511
|
-
`${
|
|
34512
|
-
`${
|
|
34511
|
+
`${j}-text`,
|
|
34512
|
+
`${j}-refined-event-query-text`,
|
|
34513
34513
|
"bold",
|
|
34514
34514
|
{
|
|
34515
34515
|
embedded: !n,
|
|
@@ -34547,7 +34547,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34547
34547
|
}) => /* @__PURE__ */ C.jsx(
|
|
34548
34548
|
"span",
|
|
34549
34549
|
{
|
|
34550
|
-
className:
|
|
34550
|
+
className: X(t, `${j}-facet-pill`, {
|
|
34551
34551
|
standalone: e,
|
|
34552
34552
|
embedded: !e
|
|
34553
34553
|
}),
|
|
@@ -34564,9 +34564,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34564
34564
|
return n.map((c) => {
|
|
34565
34565
|
var d;
|
|
34566
34566
|
const f = ((d = s[c]) == null ? void 0 : d.join(", ")) || "";
|
|
34567
|
-
return /* @__PURE__ */ C.jsxs("div", { className:
|
|
34568
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
34569
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
34567
|
+
return /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-facets`), children: [
|
|
34568
|
+
/* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-facet-category`), children: c }),
|
|
34569
|
+
/* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-facet-values`), children: f })
|
|
34570
34570
|
] }, c);
|
|
34571
34571
|
});
|
|
34572
34572
|
}, eu = ({
|
|
@@ -34576,9 +34576,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34576
34576
|
}) => /* @__PURE__ */ C.jsx(
|
|
34577
34577
|
"span",
|
|
34578
34578
|
{
|
|
34579
|
-
className:
|
|
34579
|
+
className: X(
|
|
34580
34580
|
e,
|
|
34581
|
-
`${
|
|
34581
|
+
`${j}-message-timestamp`,
|
|
34582
34582
|
n ? "standalone" : "embedded"
|
|
34583
34583
|
),
|
|
34584
34584
|
title: t,
|
|
@@ -34591,18 +34591,18 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34591
34591
|
}) => {
|
|
34592
34592
|
var d, p;
|
|
34593
34593
|
const { request: r, createdAt: s } = t, { facetFiltersList: a, filterCount: u } = U2(t), c = new Date(s).toLocaleString(), f = (d = r == null ? void 0 : r.attachments) == null ? void 0 : d.image;
|
|
34594
|
-
return n ? /* @__PURE__ */ C.jsxs("div", { className:
|
|
34594
|
+
return n ? /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-message standalone`), children: [
|
|
34595
34595
|
/* @__PURE__ */ C.jsxs(
|
|
34596
34596
|
"div",
|
|
34597
34597
|
{
|
|
34598
|
-
className:
|
|
34598
|
+
className: X(e, `${j}-user-message-row standalone`),
|
|
34599
34599
|
children: [
|
|
34600
34600
|
f ? /* @__PURE__ */ C.jsx(
|
|
34601
34601
|
"img",
|
|
34602
34602
|
{
|
|
34603
|
-
className:
|
|
34603
|
+
className: X(
|
|
34604
34604
|
e,
|
|
34605
|
-
`${
|
|
34605
|
+
`${j}-user-message-image standalone`
|
|
34606
34606
|
),
|
|
34607
34607
|
src: f,
|
|
34608
34608
|
alt: "User provided context",
|
|
@@ -34611,9 +34611,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34611
34611
|
) : /* @__PURE__ */ C.jsx(
|
|
34612
34612
|
"span",
|
|
34613
34613
|
{
|
|
34614
|
-
className:
|
|
34614
|
+
className: X(
|
|
34615
34615
|
e,
|
|
34616
|
-
`${
|
|
34616
|
+
`${j}-message-icon user-message-icon standalone`
|
|
34617
34617
|
),
|
|
34618
34618
|
children: /* @__PURE__ */ C.jsx(mE, {})
|
|
34619
34619
|
}
|
|
@@ -34621,9 +34621,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34621
34621
|
/* @__PURE__ */ C.jsx(
|
|
34622
34622
|
"p",
|
|
34623
34623
|
{
|
|
34624
|
-
className:
|
|
34624
|
+
className: X(
|
|
34625
34625
|
e,
|
|
34626
|
-
`${
|
|
34626
|
+
`${j}-user-message-text`,
|
|
34627
34627
|
"standalone"
|
|
34628
34628
|
),
|
|
34629
34629
|
children: r == null ? void 0 : r.userPrompt
|
|
@@ -34656,14 +34656,14 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34656
34656
|
isWidgetStandalone: !0
|
|
34657
34657
|
}
|
|
34658
34658
|
)
|
|
34659
|
-
] }) : /* @__PURE__ */ C.jsxs("div", { className:
|
|
34660
|
-
/* @__PURE__ */ C.jsxs("div", { className:
|
|
34659
|
+
] }) : /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-message embedded`), children: [
|
|
34660
|
+
/* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-message-row embedded`), children: [
|
|
34661
34661
|
f ? /* @__PURE__ */ C.jsx(
|
|
34662
34662
|
"img",
|
|
34663
34663
|
{
|
|
34664
|
-
className:
|
|
34664
|
+
className: X(
|
|
34665
34665
|
e,
|
|
34666
|
-
`${
|
|
34666
|
+
`${j}-user-message-image`,
|
|
34667
34667
|
"embedded"
|
|
34668
34668
|
),
|
|
34669
34669
|
src: f,
|
|
@@ -34673,14 +34673,14 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34673
34673
|
) : /* @__PURE__ */ C.jsx(
|
|
34674
34674
|
"span",
|
|
34675
34675
|
{
|
|
34676
|
-
className:
|
|
34676
|
+
className: X(
|
|
34677
34677
|
e,
|
|
34678
|
-
`${
|
|
34678
|
+
`${j}-message-icon user-message-icon embedded`
|
|
34679
34679
|
),
|
|
34680
34680
|
children: /* @__PURE__ */ C.jsx(mE, {})
|
|
34681
34681
|
}
|
|
34682
34682
|
),
|
|
34683
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
34683
|
+
/* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-user-message-text embedded`), children: (p = t.request) == null ? void 0 : p.userPrompt }),
|
|
34684
34684
|
a.length > 0 && /* @__PURE__ */ C.jsx(bc, { isWidgetStandalone: !1, filterCount: u })
|
|
34685
34685
|
] }),
|
|
34686
34686
|
/* @__PURE__ */ C.jsx(
|
|
@@ -34702,19 +34702,19 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34702
34702
|
facetFiltersList: u,
|
|
34703
34703
|
filterCount: c,
|
|
34704
34704
|
imageData: f
|
|
34705
|
-
}) => /* @__PURE__ */ C.jsxs("div", { className:
|
|
34705
|
+
}) => /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-search standalone`), children: [
|
|
34706
34706
|
/* @__PURE__ */ C.jsxs("div", { children: [
|
|
34707
34707
|
/* @__PURE__ */ C.jsxs(
|
|
34708
34708
|
"div",
|
|
34709
34709
|
{
|
|
34710
|
-
className:
|
|
34710
|
+
className: X(e, `${j}-user-search-query standalone`),
|
|
34711
34711
|
children: [
|
|
34712
34712
|
f ? /* @__PURE__ */ C.jsx(
|
|
34713
34713
|
"img",
|
|
34714
34714
|
{
|
|
34715
|
-
className:
|
|
34715
|
+
className: X(
|
|
34716
34716
|
e,
|
|
34717
|
-
`${
|
|
34717
|
+
`${j}-user-search-image standalone`
|
|
34718
34718
|
),
|
|
34719
34719
|
src: f,
|
|
34720
34720
|
alt: s || r,
|
|
@@ -34723,9 +34723,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34723
34723
|
) : /* @__PURE__ */ C.jsx(
|
|
34724
34724
|
"span",
|
|
34725
34725
|
{
|
|
34726
|
-
className:
|
|
34726
|
+
className: X(
|
|
34727
34727
|
e,
|
|
34728
|
-
`${
|
|
34728
|
+
`${j}-message-icon user-search-icon standalone`
|
|
34729
34729
|
),
|
|
34730
34730
|
children: /* @__PURE__ */ C.jsx(So, {})
|
|
34731
34731
|
}
|
|
@@ -34733,7 +34733,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34733
34733
|
/* @__PURE__ */ C.jsx(
|
|
34734
34734
|
"p",
|
|
34735
34735
|
{
|
|
34736
|
-
className:
|
|
34736
|
+
className: X(e, `${j}-text bold`),
|
|
34737
34737
|
children: `${n}: ${s || r}`
|
|
34738
34738
|
}
|
|
34739
34739
|
),
|
|
@@ -34809,12 +34809,12 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34809
34809
|
facetFiltersList: u,
|
|
34810
34810
|
filterCount: c
|
|
34811
34811
|
}
|
|
34812
|
-
) : /* @__PURE__ */ C.jsxs("div", { className:
|
|
34813
|
-
/* @__PURE__ */ C.jsxs("div", { className:
|
|
34812
|
+
) : /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-search embedded`), children: [
|
|
34813
|
+
/* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-search-query embedded`), children: [
|
|
34814
34814
|
d ? /* @__PURE__ */ C.jsx(
|
|
34815
34815
|
"img",
|
|
34816
34816
|
{
|
|
34817
|
-
className:
|
|
34817
|
+
className: X(e, `${j}-user-search-image embedded`),
|
|
34818
34818
|
src: d,
|
|
34819
34819
|
alt: b || g,
|
|
34820
34820
|
loading: "lazy"
|
|
@@ -34822,14 +34822,14 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34822
34822
|
) : /* @__PURE__ */ C.jsx(
|
|
34823
34823
|
"span",
|
|
34824
34824
|
{
|
|
34825
|
-
className:
|
|
34825
|
+
className: X(
|
|
34826
34826
|
e,
|
|
34827
|
-
`${
|
|
34827
|
+
`${j}-message-icon user-search-icon embedded`
|
|
34828
34828
|
),
|
|
34829
34829
|
children: /* @__PURE__ */ C.jsx(So, {})
|
|
34830
34830
|
}
|
|
34831
34831
|
),
|
|
34832
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
34832
|
+
/* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-text bold embedded`), children: b || g }),
|
|
34833
34833
|
u.length > 0 && /* @__PURE__ */ C.jsx(bc, { isWidgetStandalone: !1, filterCount: c })
|
|
34834
34834
|
] }),
|
|
34835
34835
|
/* @__PURE__ */ C.jsx(
|
|
@@ -34935,8 +34935,8 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34935
34935
|
);
|
|
34936
34936
|
case "conversation_reset":
|
|
34937
34937
|
return s === "ask_cim" ? null : /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
34938
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
34939
|
-
/* @__PURE__ */ C.jsx("p", { className:
|
|
34938
|
+
/* @__PURE__ */ C.jsx("p", { className: X(t, `${j}-reset-message`), children: "This conversation has been reset." }),
|
|
34939
|
+
/* @__PURE__ */ C.jsx("p", { className: X(t, `${j}-start-search-message`), children: r || "What products would you like to explore today?" })
|
|
34940
34940
|
] });
|
|
34941
34941
|
default:
|
|
34942
34942
|
return null;
|
|
@@ -34952,13 +34952,13 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34952
34952
|
return d && (f = new Date(d.createdAt).toLocaleString()), /* @__PURE__ */ C.jsxs(
|
|
34953
34953
|
"div",
|
|
34954
34954
|
{
|
|
34955
|
-
className:
|
|
34955
|
+
className: X(
|
|
34956
34956
|
n,
|
|
34957
|
-
`${
|
|
34957
|
+
`${j}-message-group`,
|
|
34958
34958
|
e ? "standalone" : "embedded"
|
|
34959
34959
|
),
|
|
34960
34960
|
children: [
|
|
34961
|
-
c.messages.length > 0 && c.messages.map((p) => /* @__PURE__ */ C.jsx("div", { className: `${
|
|
34961
|
+
c.messages.length > 0 && c.messages.map((p) => /* @__PURE__ */ C.jsx("div", { className: `${j}-message-group-child`, children: /* @__PURE__ */ C.jsx(
|
|
34962
34962
|
cT,
|
|
34963
34963
|
{
|
|
34964
34964
|
id: p.id,
|
|
@@ -34987,9 +34987,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
34987
34987
|
return /* @__PURE__ */ C.jsx(
|
|
34988
34988
|
"div",
|
|
34989
34989
|
{
|
|
34990
|
-
className:
|
|
34990
|
+
className: X(
|
|
34991
34991
|
n,
|
|
34992
|
-
`${
|
|
34992
|
+
`${j}-message`,
|
|
34993
34993
|
e ? "standalone" : "embedded",
|
|
34994
34994
|
{ error: c.message.name.includes("error") }
|
|
34995
34995
|
),
|
|
@@ -35022,17 +35022,17 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
35022
35022
|
}, [r]), f ? n ? /* @__PURE__ */ C.jsxs(
|
|
35023
35023
|
"div",
|
|
35024
35024
|
{
|
|
35025
|
-
className:
|
|
35025
|
+
className: X(
|
|
35026
35026
|
e,
|
|
35027
|
-
`${
|
|
35028
|
-
`${
|
|
35027
|
+
`${j}-container`,
|
|
35028
|
+
`${j}-embedded-chat`
|
|
35029
35029
|
),
|
|
35030
35030
|
style: t,
|
|
35031
35031
|
children: [
|
|
35032
35032
|
/* @__PURE__ */ C.jsxs(
|
|
35033
35033
|
"div",
|
|
35034
35034
|
{
|
|
35035
|
-
className:
|
|
35035
|
+
className: X(e, `${j}-message-container`, "embedded"),
|
|
35036
35036
|
children: [
|
|
35037
35037
|
/* @__PURE__ */ C.jsx(Um, { isWidgetStandalone: !1, handleSuggestionClick: u }),
|
|
35038
35038
|
s && /* @__PURE__ */ C.jsx("div", { style: { display: "flex", justifyContent: "flex-start", paddingBottom: "1rem" }, children: /* @__PURE__ */ C.jsx(Do, {}) }),
|
|
@@ -35049,7 +35049,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
|
|
|
35049
35049
|
onSubmit: a
|
|
35050
35050
|
}
|
|
35051
35051
|
),
|
|
35052
|
-
/* @__PURE__ */ C.jsx("div", { className:
|
|
35052
|
+
/* @__PURE__ */ C.jsx("div", { className: X(`${j}-embedded-chat-menu`), children: /* @__PURE__ */ C.jsx(e8, { componentType: "chat", children: /* @__PURE__ */ C.jsx(m2, { componentType: "chat" }) }) })
|
|
35053
35053
|
]
|
|
35054
35054
|
}
|
|
35055
35055
|
) : /* @__PURE__ */ C.jsx("div", { children: "Loading Copilot..." }) : null;
|
|
@@ -35427,9 +35427,9 @@ const W2 = (e) => {
|
|
|
35427
35427
|
return /* @__PURE__ */ C.jsx(
|
|
35428
35428
|
Pr,
|
|
35429
35429
|
{
|
|
35430
|
-
className:
|
|
35430
|
+
className: X(
|
|
35431
35431
|
e,
|
|
35432
|
-
`${
|
|
35432
|
+
`${j}-left-right-toggle-button`,
|
|
35433
35433
|
"dialog"
|
|
35434
35434
|
),
|
|
35435
35435
|
ariaLabel: a,
|
|
@@ -35459,17 +35459,17 @@ const W2 = (e) => {
|
|
|
35459
35459
|
children: /* @__PURE__ */ C.jsx(W2, { children: /* @__PURE__ */ C.jsx(
|
|
35460
35460
|
jm,
|
|
35461
35461
|
{
|
|
35462
|
-
className:
|
|
35462
|
+
className: X(
|
|
35463
35463
|
n,
|
|
35464
|
-
`${
|
|
35465
|
-
`${
|
|
35464
|
+
`${j}-container`,
|
|
35465
|
+
`${j}-dialog`,
|
|
35466
35466
|
u
|
|
35467
35467
|
),
|
|
35468
35468
|
style: r,
|
|
35469
35469
|
children: /* @__PURE__ */ C.jsxs(
|
|
35470
35470
|
Hm,
|
|
35471
35471
|
{
|
|
35472
|
-
className:
|
|
35472
|
+
className: X(n, `${j}-dialog-content`, {
|
|
35473
35473
|
standalone: S,
|
|
35474
35474
|
embedded: !S
|
|
35475
35475
|
}),
|
|
@@ -35477,7 +35477,7 @@ const W2 = (e) => {
|
|
|
35477
35477
|
/* @__PURE__ */ C.jsxs(
|
|
35478
35478
|
"div",
|
|
35479
35479
|
{
|
|
35480
|
-
className:
|
|
35480
|
+
className: X(n, `${j}-dialog-header`, {
|
|
35481
35481
|
standalone: S,
|
|
35482
35482
|
embedded: !S
|
|
35483
35483
|
}),
|
|
@@ -35487,7 +35487,7 @@ const W2 = (e) => {
|
|
|
35487
35487
|
{
|
|
35488
35488
|
alt: "",
|
|
35489
35489
|
role: "img",
|
|
35490
|
-
className:
|
|
35490
|
+
className: X(n, `${j}-dialog-logo`, {
|
|
35491
35491
|
standalone: S,
|
|
35492
35492
|
embedded: !S
|
|
35493
35493
|
}),
|
|
@@ -35497,14 +35497,14 @@ const W2 = (e) => {
|
|
|
35497
35497
|
/* @__PURE__ */ C.jsx(
|
|
35498
35498
|
$m,
|
|
35499
35499
|
{
|
|
35500
|
-
className:
|
|
35500
|
+
className: X(n, `${j}-dialog-title`, {
|
|
35501
35501
|
standalone: S,
|
|
35502
35502
|
embedded: !S
|
|
35503
35503
|
}),
|
|
35504
35504
|
children: t
|
|
35505
35505
|
}
|
|
35506
35506
|
),
|
|
35507
|
-
/* @__PURE__ */ C.jsxs("div", { className:
|
|
35507
|
+
/* @__PURE__ */ C.jsxs("div", { className: X(n, `${j}-dialog-controls`), children: [
|
|
35508
35508
|
/* @__PURE__ */ C.jsx(m2, { componentType: "dialog", isIcon: !0 }),
|
|
35509
35509
|
/* @__PURE__ */ C.jsx(HB, {}),
|
|
35510
35510
|
/* @__PURE__ */ C.jsx(p2, { componentType: "dialog", isIcon: !0 }),
|
|
@@ -35517,7 +35517,7 @@ const W2 = (e) => {
|
|
|
35517
35517
|
/* @__PURE__ */ C.jsxs(
|
|
35518
35518
|
zm,
|
|
35519
35519
|
{
|
|
35520
|
-
className:
|
|
35520
|
+
className: X(n, `${j}-message-container`, {
|
|
35521
35521
|
standalone: S,
|
|
35522
35522
|
embedded: !S
|
|
35523
35523
|
}),
|
|
@@ -35562,9 +35562,9 @@ const W2 = (e) => {
|
|
|
35562
35562
|
return t ? /* @__PURE__ */ C.jsx(
|
|
35563
35563
|
Pr,
|
|
35564
35564
|
{
|
|
35565
|
-
className:
|
|
35565
|
+
className: X(
|
|
35566
35566
|
n,
|
|
35567
|
-
`${
|
|
35567
|
+
`${j}-toggle-dialog-button`,
|
|
35568
35568
|
e
|
|
35569
35569
|
),
|
|
35570
35570
|
ariaLabel: "Toggle Dialog",
|
|
@@ -35574,10 +35574,10 @@ const W2 = (e) => {
|
|
|
35574
35574
|
) : /* @__PURE__ */ C.jsxs(
|
|
35575
35575
|
"button",
|
|
35576
35576
|
{
|
|
35577
|
-
className:
|
|
35577
|
+
className: X(
|
|
35578
35578
|
n,
|
|
35579
|
-
`${
|
|
35580
|
-
`${
|
|
35579
|
+
`${j}-overflow-menu-button`,
|
|
35580
|
+
`${j}-toggle-dialog-button`,
|
|
35581
35581
|
e
|
|
35582
35582
|
),
|
|
35583
35583
|
onClick: s,
|
|
@@ -35597,7 +35597,7 @@ const W2 = (e) => {
|
|
|
35597
35597
|
{
|
|
35598
35598
|
ariaLabel: s,
|
|
35599
35599
|
title: s,
|
|
35600
|
-
className:
|
|
35600
|
+
className: X(e, `${j}-modal-fullscreen-button`),
|
|
35601
35601
|
icon: /* @__PURE__ */ C.jsx(r, {}),
|
|
35602
35602
|
onClick: n
|
|
35603
35603
|
}
|
|
@@ -35618,22 +35618,22 @@ const W2 = (e) => {
|
|
|
35618
35618
|
return S ? c ? /* @__PURE__ */ C.jsx(Y2, { lazyMount: !0, open: T, onOpenChange: A, children: /* @__PURE__ */ C.jsx(W2, { children: /* @__PURE__ */ C.jsxs(
|
|
35619
35619
|
"div",
|
|
35620
35620
|
{
|
|
35621
|
-
className:
|
|
35621
|
+
className: X(n, `${j}-modal-container`),
|
|
35622
35622
|
style: r,
|
|
35623
35623
|
children: [
|
|
35624
35624
|
/* @__PURE__ */ C.jsx(
|
|
35625
35625
|
z2,
|
|
35626
35626
|
{
|
|
35627
|
-
className:
|
|
35627
|
+
className: X(n, `${j}-modal-backdrop`)
|
|
35628
35628
|
}
|
|
35629
35629
|
),
|
|
35630
35630
|
/* @__PURE__ */ C.jsx(
|
|
35631
35631
|
jm,
|
|
35632
35632
|
{
|
|
35633
|
-
className:
|
|
35633
|
+
className: X(
|
|
35634
35634
|
n,
|
|
35635
|
-
`${
|
|
35636
|
-
`${
|
|
35635
|
+
`${j}-container`,
|
|
35636
|
+
`${j}-modal`,
|
|
35637
35637
|
{
|
|
35638
35638
|
fullscreen: u,
|
|
35639
35639
|
standalone: _,
|
|
@@ -35643,7 +35643,7 @@ const W2 = (e) => {
|
|
|
35643
35643
|
children: /* @__PURE__ */ C.jsxs(
|
|
35644
35644
|
Hm,
|
|
35645
35645
|
{
|
|
35646
|
-
className:
|
|
35646
|
+
className: X(n, `${j}-modal-content`, {
|
|
35647
35647
|
standalone: _,
|
|
35648
35648
|
embedded: !_
|
|
35649
35649
|
}),
|
|
@@ -35651,7 +35651,7 @@ const W2 = (e) => {
|
|
|
35651
35651
|
/* @__PURE__ */ C.jsxs(
|
|
35652
35652
|
"div",
|
|
35653
35653
|
{
|
|
35654
|
-
className:
|
|
35654
|
+
className: X(n, `${j}-modal-header`, {
|
|
35655
35655
|
standalone: _,
|
|
35656
35656
|
embedded: !_
|
|
35657
35657
|
}),
|
|
@@ -35661,7 +35661,7 @@ const W2 = (e) => {
|
|
|
35661
35661
|
{
|
|
35662
35662
|
alt: "",
|
|
35663
35663
|
role: "img",
|
|
35664
|
-
className:
|
|
35664
|
+
className: X(n, `${j}-modal-logo`, {
|
|
35665
35665
|
standalone: _,
|
|
35666
35666
|
embedded: !_
|
|
35667
35667
|
}),
|
|
@@ -35671,14 +35671,14 @@ const W2 = (e) => {
|
|
|
35671
35671
|
/* @__PURE__ */ C.jsx(
|
|
35672
35672
|
$m,
|
|
35673
35673
|
{
|
|
35674
|
-
className:
|
|
35674
|
+
className: X(n, `${j}-modal-title`, {
|
|
35675
35675
|
standalone: _,
|
|
35676
35676
|
embedded: !_
|
|
35677
35677
|
}),
|
|
35678
35678
|
children: t
|
|
35679
35679
|
}
|
|
35680
35680
|
),
|
|
35681
|
-
/* @__PURE__ */ C.jsxs("div", { className:
|
|
35681
|
+
/* @__PURE__ */ C.jsxs("div", { className: X(n, `${j}-modal-controls`), children: [
|
|
35682
35682
|
/* @__PURE__ */ C.jsx($B, {}),
|
|
35683
35683
|
/* @__PURE__ */ C.jsx(jB, { componentType: "modal", isIcon: !0 }),
|
|
35684
35684
|
/* @__PURE__ */ C.jsx(p2, { componentType: "modal", isIcon: !0 }),
|
|
@@ -35691,7 +35691,7 @@ const W2 = (e) => {
|
|
|
35691
35691
|
/* @__PURE__ */ C.jsxs(
|
|
35692
35692
|
zm,
|
|
35693
35693
|
{
|
|
35694
|
-
className:
|
|
35694
|
+
className: X(n, `${j}-message-container`, {
|
|
35695
35695
|
standalone: _,
|
|
35696
35696
|
embedded: !_
|
|
35697
35697
|
}),
|
|
@@ -35736,19 +35736,19 @@ const W2 = (e) => {
|
|
|
35736
35736
|
/* @__PURE__ */ C.jsx(
|
|
35737
35737
|
"div",
|
|
35738
35738
|
{
|
|
35739
|
-
className:
|
|
35739
|
+
className: X(e, `${j}-minimized-container`),
|
|
35740
35740
|
style: n,
|
|
35741
35741
|
children: /* @__PURE__ */ C.jsx(
|
|
35742
35742
|
Pr,
|
|
35743
35743
|
{
|
|
35744
|
-
className:
|
|
35744
|
+
className: X(e, `${j}-minimized-button`),
|
|
35745
35745
|
ariaLabel: "Open Copilot",
|
|
35746
35746
|
icon: /* @__PURE__ */ C.jsx(
|
|
35747
35747
|
"img",
|
|
35748
35748
|
{
|
|
35749
35749
|
src: t || qB,
|
|
35750
35750
|
alt: "Copilot",
|
|
35751
|
-
className:
|
|
35751
|
+
className: X(e, `${j}-minimized-icon-img`)
|
|
35752
35752
|
}
|
|
35753
35753
|
),
|
|
35754
35754
|
onClick: r
|
|
@@ -35826,24 +35826,24 @@ const W2 = (e) => {
|
|
|
35826
35826
|
return /* @__PURE__ */ C.jsxs(
|
|
35827
35827
|
"form",
|
|
35828
35828
|
{
|
|
35829
|
-
className:
|
|
35830
|
-
name: `${
|
|
35829
|
+
className: X(t, `${j}-prompts-input-container`),
|
|
35830
|
+
name: `${j}-prompts-form`,
|
|
35831
35831
|
onSubmit: u,
|
|
35832
35832
|
children: [
|
|
35833
35833
|
/* @__PURE__ */ C.jsx(
|
|
35834
35834
|
"label",
|
|
35835
35835
|
{
|
|
35836
|
-
htmlFor: `${
|
|
35836
|
+
htmlFor: `${j}-prompts-input`,
|
|
35837
35837
|
"aria-label": n || "Ask Copilot",
|
|
35838
|
-
children: /* @__PURE__ */ C.jsx(Q5, { className:
|
|
35838
|
+
children: /* @__PURE__ */ C.jsx(Q5, { className: X(t, `${j}-prompts-input-icon`) })
|
|
35839
35839
|
}
|
|
35840
35840
|
),
|
|
35841
35841
|
/* @__PURE__ */ C.jsx(
|
|
35842
35842
|
"input",
|
|
35843
35843
|
{
|
|
35844
|
-
id: `${
|
|
35845
|
-
className:
|
|
35846
|
-
name: `${
|
|
35844
|
+
id: `${j}-prompts-input`,
|
|
35845
|
+
className: X(t, `${j}-prompts-input`),
|
|
35846
|
+
name: `${j}-prompts-input`,
|
|
35847
35847
|
placeholder: n || "Ask Copilot",
|
|
35848
35848
|
type: "text",
|
|
35849
35849
|
disabled: r,
|
|
@@ -35854,7 +35854,7 @@ const W2 = (e) => {
|
|
|
35854
35854
|
/* @__PURE__ */ C.jsx(
|
|
35855
35855
|
Pr,
|
|
35856
35856
|
{
|
|
35857
|
-
className:
|
|
35857
|
+
className: X(t, `${j}-prompts-input-submit-button`),
|
|
35858
35858
|
type: "submit",
|
|
35859
35859
|
ariaLabel: "Submit Prompt",
|
|
35860
35860
|
icon: /* @__PURE__ */ C.jsx(So, {}),
|
|
@@ -35872,12 +35872,12 @@ const W2 = (e) => {
|
|
|
35872
35872
|
const p = d.displayText.trim();
|
|
35873
35873
|
p && e(p);
|
|
35874
35874
|
}, u = !!(n != null && n.suggestions && ((c = n == null ? void 0 : n.suggestions) != null && c.length));
|
|
35875
|
-
return /* @__PURE__ */ C.jsxs("div", { className:
|
|
35875
|
+
return /* @__PURE__ */ C.jsxs("div", { className: X(t, `${j}-prompts-button-group`), children: [
|
|
35876
35876
|
!s && /* @__PURE__ */ C.jsx(Do, {}),
|
|
35877
35877
|
s && u && ((f = n == null ? void 0 : n.suggestions) == null ? void 0 : f.map((d) => /* @__PURE__ */ C.jsx(
|
|
35878
35878
|
"button",
|
|
35879
35879
|
{
|
|
35880
|
-
className:
|
|
35880
|
+
className: X(t, `${j}-prompts-button`),
|
|
35881
35881
|
disabled: r,
|
|
35882
35882
|
onClick: a(d),
|
|
35883
35883
|
children: d.displayText
|
|
@@ -35887,16 +35887,22 @@ const W2 = (e) => {
|
|
|
35887
35887
|
] });
|
|
35888
35888
|
}, QB = () => {
|
|
35889
35889
|
const { globalClassName: e } = ct(), { isInline: t, userPrompt: n } = Mi();
|
|
35890
|
-
return !n || !t ? null : /* @__PURE__ */ C.jsx(
|
|
35890
|
+
return !n || !t ? null : /* @__PURE__ */ C.jsx(
|
|
35891
|
+
"div",
|
|
35892
|
+
{
|
|
35893
|
+
className: X(e, `${j}-prompts-user-message-container`),
|
|
35894
|
+
children: /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-prompts-user-message`), children: n })
|
|
35895
|
+
}
|
|
35896
|
+
);
|
|
35891
35897
|
}, JB = () => {
|
|
35892
35898
|
const { globalClassName: e, openLinksInNewTab: t } = ct(), { isInline: n, responseMessage: r, isResponseLoading: s } = Mi();
|
|
35893
35899
|
return !n || !r && !s ? null : s ? /* @__PURE__ */ C.jsx(Do, {}) : r ? /* @__PURE__ */ C.jsx(
|
|
35894
35900
|
"div",
|
|
35895
35901
|
{
|
|
35896
|
-
className:
|
|
35902
|
+
className: X(
|
|
35897
35903
|
e,
|
|
35898
|
-
`${
|
|
35899
|
-
`${
|
|
35904
|
+
`${j}-prompts-response-container`,
|
|
35905
|
+
`${j}-message-container`
|
|
35900
35906
|
),
|
|
35901
35907
|
children: /* @__PURE__ */ C.jsx(
|
|
35902
35908
|
Bm,
|
|
@@ -35979,13 +35985,24 @@ const W2 = (e) => {
|
|
|
35979
35985
|
/* @__PURE__ */ C.jsxs(
|
|
35980
35986
|
"div",
|
|
35981
35987
|
{
|
|
35982
|
-
className:
|
|
35988
|
+
className: X(e, `${j}-prompts-extension-container`),
|
|
35983
35989
|
style: t,
|
|
35984
35990
|
children: [
|
|
35985
35991
|
/* @__PURE__ */ C.jsx(XB, { sendCopilotPrompt: v }),
|
|
35986
35992
|
/* @__PURE__ */ C.jsx(KB, { sendCopilotPrompt: v }),
|
|
35987
|
-
/* @__PURE__ */ C.
|
|
35988
|
-
|
|
35993
|
+
/* @__PURE__ */ C.jsxs(
|
|
35994
|
+
"div",
|
|
35995
|
+
{
|
|
35996
|
+
className: X(
|
|
35997
|
+
e,
|
|
35998
|
+
`${j}-prompts-extension-messages-container`
|
|
35999
|
+
),
|
|
36000
|
+
children: [
|
|
36001
|
+
/* @__PURE__ */ C.jsx(QB, {}),
|
|
36002
|
+
/* @__PURE__ */ C.jsx(JB, {})
|
|
36003
|
+
]
|
|
36004
|
+
}
|
|
36005
|
+
)
|
|
35989
36006
|
]
|
|
35990
36007
|
}
|
|
35991
36008
|
),
|