@quidgest/chatbot 0.0.9 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,123 +1,123 @@
1
- import { getCurrentInstance as Ie, computed as E, inject as jt, defineComponent as P, createElementBlock as O, openBlock as y, normalizeStyle as ie, normalizeClass as U, withModifiers as Ut, createCommentVNode as Z, createElementVNode as C, createVNode as J, unref as x, renderSlot as L, Fragment as se, createTextVNode as Ge, toDisplayString as re, createBlock as ae, resolveDynamicComponent as kt, h as He, mergeProps as ge, ref as G, withCtx as H, toRef as zt, readonly as Mt, customRef as qt, getCurrentScope as Gt, onScopeDispose as Ht, shallowRef as Oe, watch as ne, nextTick as ue, toValue as Pe, onMounted as at, mergeModels as Wt, useModel as Jt, createSlots as Vt, withDirectives as Qt, toHandlers as Zt, vModelText as Yt, renderList as lt, withKeys as Xt } from "vue";
2
- function ct(e, t) {
1
+ import { getCurrentInstance as lt, computed as S, inject as Mt, defineComponent as q, createElementBlock as C, openBlock as w, normalizeStyle as Re, normalizeClass as V, withModifiers as wn, createCommentVNode as j, createElementVNode as T, createVNode as P, unref as A, renderSlot as U, Fragment as fe, createTextVNode as gt, toDisplayString as pe, toRef as jt, createBlock as _, resolveDynamicComponent as An, h as bt, mergeProps as le, ref as M, withCtx as D, normalizeProps as Ke, guardReactiveProps as et, mergeModels as ge, useModel as Le, createSlots as qt, withDirectives as zt, vModelDynamic as En, onMounted as Ue, onUnmounted as Sn, reactive as yt, watch as re, nextTick as oe, onBeforeUnmount as Rn, Teleport as xn, Transition as Bn, withKeys as Ht, renderList as ct, readonly as Cn, customRef as Tn, getCurrentScope as kn, onScopeDispose as Dn, shallowRef as tt, toValue as ut, toHandlers as On, vModelText as In, resolveComponent as Nn } from "vue";
2
+ function Gt(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
5
5
  };
6
6
  }
7
- const { toString: _t } = Object.prototype, { getPrototypeOf: je } = Object, be = /* @__PURE__ */ ((e) => (t) => {
8
- const n = _t.call(t);
7
+ const { toString: Ln } = Object.prototype, { getPrototypeOf: dt } = Object, Fe = /* @__PURE__ */ ((e) => (t) => {
8
+ const n = Ln.call(t);
9
9
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), k = (e) => (e = e.toLowerCase(), (t) => be(t) === e), Ae = (e) => (t) => typeof t === e, { isArray: K } = Array, oe = Ae("undefined");
11
- function Kt(e) {
12
- return e !== null && !oe(e) && e.constructor !== null && !oe(e.constructor) && I(e.constructor.isBuffer) && e.constructor.isBuffer(e);
10
+ })(/* @__PURE__ */ Object.create(null)), $ = (e) => (e = e.toLowerCase(), (t) => Fe(t) === e), Pe = (e) => (t) => typeof t === e, { isArray: be } = Array, xe = Pe("undefined");
11
+ function Un(e) {
12
+ return e !== null && !xe(e) && e.constructor !== null && !xe(e.constructor) && Y(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
13
  }
14
- const ut = k("ArrayBuffer");
15
- function $t(e) {
14
+ const Vt = $("ArrayBuffer");
15
+ function Fn(e) {
16
16
  let t;
17
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ut(e.buffer), t;
17
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Vt(e.buffer), t;
18
18
  }
19
- const en = Ae("string"), I = Ae("function"), dt = Ae("number"), ye = (e) => e !== null && typeof e == "object", tn = (e) => e === !0 || e === !1, de = (e) => {
20
- if (be(e) !== "object")
19
+ const Pn = Pe("string"), Y = Pe("function"), _t = Pe("number"), Me = (e) => e !== null && typeof e == "object", Mn = (e) => e === !0 || e === !1, Te = (e) => {
20
+ if (Fe(e) !== "object")
21
21
  return !1;
22
- const t = je(e);
22
+ const t = dt(e);
23
23
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
24
- }, nn = k("Date"), sn = k("File"), rn = k("Blob"), on = k("FileList"), an = (e) => ye(e) && I(e.pipe), ln = (e) => {
24
+ }, jn = $("Date"), qn = $("File"), zn = $("Blob"), Hn = $("FileList"), Gn = (e) => Me(e) && Y(e.pipe), Vn = (e) => {
25
25
  let t;
26
- return e && (typeof FormData == "function" && e instanceof FormData || I(e.append) && ((t = be(e)) === "formdata" || // detect form-data instance
27
- t === "object" && I(e.toString) && e.toString() === "[object FormData]"));
28
- }, cn = k("URLSearchParams"), [un, dn, fn, pn] = ["ReadableStream", "Request", "Response", "Headers"].map(k), hn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
- function le(e, t, { allOwnKeys: n = !1 } = {}) {
26
+ return e && (typeof FormData == "function" && e instanceof FormData || Y(e.append) && ((t = Fe(e)) === "formdata" || // detect form-data instance
27
+ t === "object" && Y(e.toString) && e.toString() === "[object FormData]"));
28
+ }, _n = $("URLSearchParams"), [Wn, Jn, Qn, Zn] = ["ReadableStream", "Request", "Response", "Headers"].map($), Yn = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
+ function Be(e, t, { allOwnKeys: n = !1 } = {}) {
30
30
  if (e === null || typeof e > "u")
31
31
  return;
32
- let s, r;
33
- if (typeof e != "object" && (e = [e]), K(e))
34
- for (s = 0, r = e.length; s < r; s++)
35
- t.call(null, e[s], s, e);
32
+ let o, r;
33
+ if (typeof e != "object" && (e = [e]), be(e))
34
+ for (o = 0, r = e.length; o < r; o++)
35
+ t.call(null, e[o], o, e);
36
36
  else {
37
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
37
+ const s = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
38
38
  let a;
39
- for (s = 0; s < i; s++)
40
- a = o[s], t.call(null, e[a], a, e);
39
+ for (o = 0; o < i; o++)
40
+ a = s[o], t.call(null, e[a], a, e);
41
41
  }
42
42
  }
43
- function ft(e, t) {
43
+ function Wt(e, t) {
44
44
  t = t.toLowerCase();
45
45
  const n = Object.keys(e);
46
- let s = n.length, r;
47
- for (; s-- > 0; )
48
- if (r = n[s], t === r.toLowerCase())
46
+ let o = n.length, r;
47
+ for (; o-- > 0; )
48
+ if (r = n[o], t === r.toLowerCase())
49
49
  return r;
50
50
  return null;
51
51
  }
52
- const Y = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, pt = (e) => !oe(e) && e !== Y;
53
- function Ne() {
54
- const { caseless: e } = pt(this) && this || {}, t = {}, n = (s, r) => {
55
- const o = e && ft(t, r) || r;
56
- de(t[o]) && de(s) ? t[o] = Ne(t[o], s) : de(s) ? t[o] = Ne({}, s) : K(s) ? t[o] = s.slice() : t[o] = s;
52
+ const ue = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Jt = (e) => !xe(e) && e !== ue;
53
+ function nt() {
54
+ const { caseless: e } = Jt(this) && this || {}, t = {}, n = (o, r) => {
55
+ const s = e && Wt(t, r) || r;
56
+ Te(t[s]) && Te(o) ? t[s] = nt(t[s], o) : Te(o) ? t[s] = nt({}, o) : be(o) ? t[s] = o.slice() : t[s] = o;
57
57
  };
58
- for (let s = 0, r = arguments.length; s < r; s++)
59
- arguments[s] && le(arguments[s], n);
58
+ for (let o = 0, r = arguments.length; o < r; o++)
59
+ arguments[o] && Be(arguments[o], n);
60
60
  return t;
61
61
  }
62
- const mn = (e, t, n, { allOwnKeys: s } = {}) => (le(t, (r, o) => {
63
- n && I(r) ? e[o] = ct(r, n) : e[o] = r;
64
- }, { allOwnKeys: s }), e), gn = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), bn = (e, t, n, s) => {
65
- e.prototype = Object.create(t.prototype, s), e.prototype.constructor = e, Object.defineProperty(e, "super", {
62
+ const Xn = (e, t, n, { allOwnKeys: o } = {}) => (Be(t, (r, s) => {
63
+ n && Y(r) ? e[s] = Gt(r, n) : e[s] = r;
64
+ }, { allOwnKeys: o }), e), $n = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Kn = (e, t, n, o) => {
65
+ e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
66
66
  value: t.prototype
67
67
  }), n && Object.assign(e.prototype, n);
68
- }, An = (e, t, n, s) => {
69
- let r, o, i;
68
+ }, eo = (e, t, n, o) => {
69
+ let r, s, i;
70
70
  const a = {};
71
71
  if (t = t || {}, e == null) return t;
72
72
  do {
73
- for (r = Object.getOwnPropertyNames(e), o = r.length; o-- > 0; )
74
- i = r[o], (!s || s(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
75
- e = n !== !1 && je(e);
73
+ for (r = Object.getOwnPropertyNames(e), s = r.length; s-- > 0; )
74
+ i = r[s], (!o || o(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
75
+ e = n !== !1 && dt(e);
76
76
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
77
77
  return t;
78
- }, yn = (e, t, n) => {
78
+ }, to = (e, t, n) => {
79
79
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
80
- const s = e.indexOf(t, n);
81
- return s !== -1 && s === n;
82
- }, wn = (e) => {
80
+ const o = e.indexOf(t, n);
81
+ return o !== -1 && o === n;
82
+ }, no = (e) => {
83
83
  if (!e) return null;
84
- if (K(e)) return e;
84
+ if (be(e)) return e;
85
85
  let t = e.length;
86
- if (!dt(t)) return null;
86
+ if (!_t(t)) return null;
87
87
  const n = new Array(t);
88
88
  for (; t-- > 0; )
89
89
  n[t] = e[t];
90
90
  return n;
91
- }, En = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && je(Uint8Array)), Sn = (e, t) => {
92
- const s = (e && e[Symbol.iterator]).call(e);
91
+ }, oo = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && dt(Uint8Array)), ro = (e, t) => {
92
+ const o = (e && e[Symbol.iterator]).call(e);
93
93
  let r;
94
- for (; (r = s.next()) && !r.done; ) {
95
- const o = r.value;
96
- t.call(e, o[0], o[1]);
94
+ for (; (r = o.next()) && !r.done; ) {
95
+ const s = r.value;
96
+ t.call(e, s[0], s[1]);
97
97
  }
98
- }, vn = (e, t) => {
98
+ }, so = (e, t) => {
99
99
  let n;
100
- const s = [];
100
+ const o = [];
101
101
  for (; (n = e.exec(t)) !== null; )
102
- s.push(n);
103
- return s;
104
- }, Rn = k("HTMLFormElement"), Tn = (e) => e.toLowerCase().replace(
102
+ o.push(n);
103
+ return o;
104
+ }, io = $("HTMLFormElement"), ao = (e) => e.toLowerCase().replace(
105
105
  /[-_\s]([a-z\d])(\w*)/g,
106
- function(n, s, r) {
107
- return s.toUpperCase() + r;
106
+ function(n, o, r) {
107
+ return o.toUpperCase() + r;
108
108
  }
109
- ), We = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), On = k("RegExp"), ht = (e, t) => {
110
- const n = Object.getOwnPropertyDescriptors(e), s = {};
111
- le(n, (r, o) => {
109
+ ), vt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), lo = $("RegExp"), Qt = (e, t) => {
110
+ const n = Object.getOwnPropertyDescriptors(e), o = {};
111
+ Be(n, (r, s) => {
112
112
  let i;
113
- (i = t(r, o, e)) !== !1 && (s[o] = i || r);
114
- }), Object.defineProperties(e, s);
115
- }, Nn = (e) => {
116
- ht(e, (t, n) => {
117
- if (I(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
113
+ (i = t(r, s, e)) !== !1 && (o[s] = i || r);
114
+ }), Object.defineProperties(e, o);
115
+ }, co = (e) => {
116
+ Qt(e, (t, n) => {
117
+ if (Y(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
118
118
  return !1;
119
- const s = e[n];
120
- if (I(s)) {
119
+ const o = e[n];
120
+ if (Y(o)) {
121
121
  if (t.enumerable = !1, "writable" in t) {
122
122
  t.writable = !1;
123
123
  return;
@@ -127,104 +127,104 @@ const mn = (e, t, n, { allOwnKeys: s } = {}) => (le(t, (r, o) => {
127
127
  });
128
128
  }
129
129
  });
130
- }, Dn = (e, t) => {
131
- const n = {}, s = (r) => {
132
- r.forEach((o) => {
133
- n[o] = !0;
130
+ }, uo = (e, t) => {
131
+ const n = {}, o = (r) => {
132
+ r.forEach((s) => {
133
+ n[s] = !0;
134
134
  });
135
135
  };
136
- return K(e) ? s(e) : s(String(e).split(t)), n;
137
- }, Bn = () => {
138
- }, Cn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
139
- function xn(e) {
140
- return !!(e && I(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
141
- }
142
- const Ln = (e) => {
143
- const t = new Array(10), n = (s, r) => {
144
- if (ye(s)) {
145
- if (t.indexOf(s) >= 0)
136
+ return be(e) ? o(e) : o(String(e).split(t)), n;
137
+ }, fo = () => {
138
+ }, po = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
139
+ function ho(e) {
140
+ return !!(e && Y(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
141
+ }
142
+ const mo = (e) => {
143
+ const t = new Array(10), n = (o, r) => {
144
+ if (Me(o)) {
145
+ if (t.indexOf(o) >= 0)
146
146
  return;
147
- if (!("toJSON" in s)) {
148
- t[r] = s;
149
- const o = K(s) ? [] : {};
150
- return le(s, (i, a) => {
151
- const u = n(i, r + 1);
152
- !oe(u) && (o[a] = u);
153
- }), t[r] = void 0, o;
147
+ if (!("toJSON" in o)) {
148
+ t[r] = o;
149
+ const s = be(o) ? [] : {};
150
+ return Be(o, (i, a) => {
151
+ const d = n(i, r + 1);
152
+ !xe(d) && (s[a] = d);
153
+ }), t[r] = void 0, s;
154
154
  }
155
155
  }
156
- return s;
156
+ return o;
157
157
  };
158
158
  return n(e, 0);
159
- }, Fn = k("AsyncFunction"), In = (e) => e && (ye(e) || I(e)) && I(e.then) && I(e.catch), mt = ((e, t) => e ? setImmediate : t ? ((n, s) => (Y.addEventListener("message", ({ source: r, data: o }) => {
160
- r === Y && o === n && s.length && s.shift()();
159
+ }, go = $("AsyncFunction"), bo = (e) => e && (Me(e) || Y(e)) && Y(e.then) && Y(e.catch), Zt = ((e, t) => e ? setImmediate : t ? ((n, o) => (ue.addEventListener("message", ({ source: r, data: s }) => {
160
+ r === ue && s === n && o.length && o.shift()();
161
161
  }, !1), (r) => {
162
- s.push(r), Y.postMessage(n, "*");
162
+ o.push(r), ue.postMessage(n, "*");
163
163
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
164
164
  typeof setImmediate == "function",
165
- I(Y.postMessage)
166
- ), Pn = typeof queueMicrotask < "u" ? queueMicrotask.bind(Y) : typeof process < "u" && process.nextTick || mt, l = {
167
- isArray: K,
168
- isArrayBuffer: ut,
169
- isBuffer: Kt,
170
- isFormData: ln,
171
- isArrayBufferView: $t,
172
- isString: en,
173
- isNumber: dt,
174
- isBoolean: tn,
175
- isObject: ye,
176
- isPlainObject: de,
177
- isReadableStream: un,
178
- isRequest: dn,
179
- isResponse: fn,
180
- isHeaders: pn,
181
- isUndefined: oe,
182
- isDate: nn,
183
- isFile: sn,
184
- isBlob: rn,
185
- isRegExp: On,
186
- isFunction: I,
187
- isStream: an,
188
- isURLSearchParams: cn,
189
- isTypedArray: En,
190
- isFileList: on,
191
- forEach: le,
192
- merge: Ne,
193
- extend: mn,
194
- trim: hn,
195
- stripBOM: gn,
196
- inherits: bn,
197
- toFlatObject: An,
198
- kindOf: be,
199
- kindOfTest: k,
200
- endsWith: yn,
201
- toArray: wn,
202
- forEachEntry: Sn,
203
- matchAll: vn,
204
- isHTMLForm: Rn,
205
- hasOwnProperty: We,
206
- hasOwnProp: We,
165
+ Y(ue.postMessage)
166
+ ), yo = typeof queueMicrotask < "u" ? queueMicrotask.bind(ue) : typeof process < "u" && process.nextTick || Zt, l = {
167
+ isArray: be,
168
+ isArrayBuffer: Vt,
169
+ isBuffer: Un,
170
+ isFormData: Vn,
171
+ isArrayBufferView: Fn,
172
+ isString: Pn,
173
+ isNumber: _t,
174
+ isBoolean: Mn,
175
+ isObject: Me,
176
+ isPlainObject: Te,
177
+ isReadableStream: Wn,
178
+ isRequest: Jn,
179
+ isResponse: Qn,
180
+ isHeaders: Zn,
181
+ isUndefined: xe,
182
+ isDate: jn,
183
+ isFile: qn,
184
+ isBlob: zn,
185
+ isRegExp: lo,
186
+ isFunction: Y,
187
+ isStream: Gn,
188
+ isURLSearchParams: _n,
189
+ isTypedArray: oo,
190
+ isFileList: Hn,
191
+ forEach: Be,
192
+ merge: nt,
193
+ extend: Xn,
194
+ trim: Yn,
195
+ stripBOM: $n,
196
+ inherits: Kn,
197
+ toFlatObject: eo,
198
+ kindOf: Fe,
199
+ kindOfTest: $,
200
+ endsWith: to,
201
+ toArray: no,
202
+ forEachEntry: ro,
203
+ matchAll: so,
204
+ isHTMLForm: io,
205
+ hasOwnProperty: vt,
206
+ hasOwnProp: vt,
207
207
  // an alias to avoid ESLint no-prototype-builtins detection
208
- reduceDescriptors: ht,
209
- freezeMethods: Nn,
210
- toObjectSet: Dn,
211
- toCamelCase: Tn,
212
- noop: Bn,
213
- toFiniteNumber: Cn,
214
- findKey: ft,
215
- global: Y,
216
- isContextDefined: pt,
217
- isSpecCompliantForm: xn,
218
- toJSONObject: Ln,
219
- isAsyncFn: Fn,
220
- isThenable: In,
221
- setImmediate: mt,
222
- asap: Pn
208
+ reduceDescriptors: Qt,
209
+ freezeMethods: co,
210
+ toObjectSet: uo,
211
+ toCamelCase: ao,
212
+ noop: fo,
213
+ toFiniteNumber: po,
214
+ findKey: Wt,
215
+ global: ue,
216
+ isContextDefined: Jt,
217
+ isSpecCompliantForm: ho,
218
+ toJSONObject: mo,
219
+ isAsyncFn: go,
220
+ isThenable: bo,
221
+ setImmediate: Zt,
222
+ asap: yo
223
223
  };
224
- function g(e, t, n, s, r) {
225
- Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), s && (this.request = s), r && (this.response = r, this.status = r.status ? r.status : null);
224
+ function E(e, t, n, o, r) {
225
+ Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), o && (this.request = o), r && (this.response = r, this.status = r.status ? r.status : null);
226
226
  }
227
- l.inherits(g, Error, {
227
+ l.inherits(E, Error, {
228
228
  toJSON: function() {
229
229
  return {
230
230
  // Standard
@@ -245,7 +245,7 @@ l.inherits(g, Error, {
245
245
  };
246
246
  }
247
247
  });
248
- const gt = g.prototype, bt = {};
248
+ const Yt = E.prototype, Xt = {};
249
249
  [
250
250
  "ERR_BAD_OPTION_VALUE",
251
251
  "ERR_BAD_OPTION",
@@ -261,96 +261,96 @@ const gt = g.prototype, bt = {};
261
261
  "ERR_INVALID_URL"
262
262
  // eslint-disable-next-line func-names
263
263
  ].forEach((e) => {
264
- bt[e] = { value: e };
264
+ Xt[e] = { value: e };
265
265
  });
266
- Object.defineProperties(g, bt);
267
- Object.defineProperty(gt, "isAxiosError", { value: !0 });
268
- g.from = (e, t, n, s, r, o) => {
269
- const i = Object.create(gt);
270
- return l.toFlatObject(e, i, function(u) {
271
- return u !== Error.prototype;
272
- }, (a) => a !== "isAxiosError"), g.call(i, e.message, t, n, s, r), i.cause = e, i.name = e.name, o && Object.assign(i, o), i;
266
+ Object.defineProperties(E, Xt);
267
+ Object.defineProperty(Yt, "isAxiosError", { value: !0 });
268
+ E.from = (e, t, n, o, r, s) => {
269
+ const i = Object.create(Yt);
270
+ return l.toFlatObject(e, i, function(d) {
271
+ return d !== Error.prototype;
272
+ }, (a) => a !== "isAxiosError"), E.call(i, e.message, t, n, o, r), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
273
273
  };
274
- const jn = null;
275
- function De(e) {
274
+ const vo = null;
275
+ function ot(e) {
276
276
  return l.isPlainObject(e) || l.isArray(e);
277
277
  }
278
- function At(e) {
278
+ function $t(e) {
279
279
  return l.endsWith(e, "[]") ? e.slice(0, -2) : e;
280
280
  }
281
- function Je(e, t, n) {
282
- return e ? e.concat(t).map(function(r, o) {
283
- return r = At(r), !n && o ? "[" + r + "]" : r;
281
+ function wt(e, t, n) {
282
+ return e ? e.concat(t).map(function(r, s) {
283
+ return r = $t(r), !n && s ? "[" + r + "]" : r;
284
284
  }).join(n ? "." : "") : t;
285
285
  }
286
- function Un(e) {
287
- return l.isArray(e) && !e.some(De);
286
+ function wo(e) {
287
+ return l.isArray(e) && !e.some(ot);
288
288
  }
289
- const kn = l.toFlatObject(l, {}, null, function(t) {
289
+ const Ao = l.toFlatObject(l, {}, null, function(t) {
290
290
  return /^is[A-Z]/.test(t);
291
291
  });
292
- function we(e, t, n) {
292
+ function je(e, t, n) {
293
293
  if (!l.isObject(e))
294
294
  throw new TypeError("target must be an object");
295
295
  t = t || new FormData(), n = l.toFlatObject(n, {
296
296
  metaTokens: !0,
297
297
  dots: !1,
298
298
  indexes: !1
299
- }, !1, function(m, h) {
300
- return !l.isUndefined(h[m]);
299
+ }, !1, function(g, h) {
300
+ return !l.isUndefined(h[g]);
301
301
  });
302
- const s = n.metaTokens, r = n.visitor || d, o = n.dots, i = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(t);
302
+ const o = n.metaTokens, r = n.visitor || u, s = n.dots, i = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(t);
303
303
  if (!l.isFunction(r))
304
304
  throw new TypeError("visitor must be a function");
305
- function c(p) {
306
- if (p === null) return "";
307
- if (l.isDate(p))
308
- return p.toISOString();
309
- if (!u && l.isBlob(p))
310
- throw new g("Blob is not supported. Use a Buffer instead.");
311
- return l.isArrayBuffer(p) || l.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
312
- }
313
- function d(p, m, h) {
314
- let w = p;
315
- if (p && !h && typeof p == "object") {
316
- if (l.endsWith(m, "{}"))
317
- m = s ? m : m.slice(0, -2), p = JSON.stringify(p);
318
- else if (l.isArray(p) && Un(p) || (l.isFileList(p) || l.endsWith(m, "[]")) && (w = l.toArray(p)))
319
- return m = At(m), w.forEach(function(T, j) {
320
- !(l.isUndefined(T) || T === null) && t.append(
305
+ function c(m) {
306
+ if (m === null) return "";
307
+ if (l.isDate(m))
308
+ return m.toISOString();
309
+ if (!d && l.isBlob(m))
310
+ throw new E("Blob is not supported. Use a Buffer instead.");
311
+ return l.isArrayBuffer(m) || l.isTypedArray(m) ? d && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
312
+ }
313
+ function u(m, g, h) {
314
+ let R = m;
315
+ if (m && !h && typeof m == "object") {
316
+ if (l.endsWith(g, "{}"))
317
+ g = o ? g : g.slice(0, -2), m = JSON.stringify(m);
318
+ else if (l.isArray(m) && wo(m) || (l.isFileList(m) || l.endsWith(g, "[]")) && (R = l.toArray(m)))
319
+ return g = $t(g), R.forEach(function(y, O) {
320
+ !(l.isUndefined(y) || y === null) && t.append(
321
321
  // eslint-disable-next-line no-nested-ternary
322
- i === !0 ? Je([m], j, o) : i === null ? m : m + "[]",
323
- c(T)
322
+ i === !0 ? wt([g], O, s) : i === null ? g : g + "[]",
323
+ c(y)
324
324
  );
325
325
  }), !1;
326
326
  }
327
- return De(p) ? !0 : (t.append(Je(h, m, o), c(p)), !1);
327
+ return ot(m) ? !0 : (t.append(wt(h, g, s), c(m)), !1);
328
328
  }
329
- const f = [], b = Object.assign(kn, {
330
- defaultVisitor: d,
329
+ const f = [], b = Object.assign(Ao, {
330
+ defaultVisitor: u,
331
331
  convertValue: c,
332
- isVisitable: De
332
+ isVisitable: ot
333
333
  });
334
- function v(p, m) {
335
- if (!l.isUndefined(p)) {
336
- if (f.indexOf(p) !== -1)
337
- throw Error("Circular reference detected in " + m.join("."));
338
- f.push(p), l.forEach(p, function(w, R) {
339
- (!(l.isUndefined(w) || w === null) && r.call(
334
+ function p(m, g) {
335
+ if (!l.isUndefined(m)) {
336
+ if (f.indexOf(m) !== -1)
337
+ throw Error("Circular reference detected in " + g.join("."));
338
+ f.push(m), l.forEach(m, function(R, k) {
339
+ (!(l.isUndefined(R) || R === null) && r.call(
340
340
  t,
341
- w,
342
- l.isString(R) ? R.trim() : R,
343
- m,
341
+ R,
342
+ l.isString(k) ? k.trim() : k,
343
+ g,
344
344
  b
345
- )) === !0 && v(w, m ? m.concat(R) : [R]);
345
+ )) === !0 && p(R, g ? g.concat(k) : [k]);
346
346
  }), f.pop();
347
347
  }
348
348
  }
349
349
  if (!l.isObject(e))
350
350
  throw new TypeError("data must be an object");
351
- return v(e), t;
351
+ return p(e), t;
352
352
  }
353
- function Ve(e) {
353
+ function At(e) {
354
354
  const t = {
355
355
  "!": "%21",
356
356
  "'": "%27",
@@ -360,44 +360,44 @@ function Ve(e) {
360
360
  "%20": "+",
361
361
  "%00": "\0"
362
362
  };
363
- return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(s) {
364
- return t[s];
363
+ return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(o) {
364
+ return t[o];
365
365
  });
366
366
  }
367
- function Ue(e, t) {
368
- this._pairs = [], e && we(e, this, t);
367
+ function ft(e, t) {
368
+ this._pairs = [], e && je(e, this, t);
369
369
  }
370
- const yt = Ue.prototype;
371
- yt.append = function(t, n) {
370
+ const Kt = ft.prototype;
371
+ Kt.append = function(t, n) {
372
372
  this._pairs.push([t, n]);
373
373
  };
374
- yt.toString = function(t) {
375
- const n = t ? function(s) {
376
- return t.call(this, s, Ve);
377
- } : Ve;
374
+ Kt.toString = function(t) {
375
+ const n = t ? function(o) {
376
+ return t.call(this, o, At);
377
+ } : At;
378
378
  return this._pairs.map(function(r) {
379
379
  return n(r[0]) + "=" + n(r[1]);
380
380
  }, "").join("&");
381
381
  };
382
- function zn(e) {
382
+ function Eo(e) {
383
383
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
384
384
  }
385
- function wt(e, t, n) {
385
+ function en(e, t, n) {
386
386
  if (!t)
387
387
  return e;
388
- const s = n && n.encode || zn;
388
+ const o = n && n.encode || Eo;
389
389
  l.isFunction(n) && (n = {
390
390
  serialize: n
391
391
  });
392
392
  const r = n && n.serialize;
393
- let o;
394
- if (r ? o = r(t, n) : o = l.isURLSearchParams(t) ? t.toString() : new Ue(t, n).toString(s), o) {
393
+ let s;
394
+ if (r ? s = r(t, n) : s = l.isURLSearchParams(t) ? t.toString() : new ft(t, n).toString(o), s) {
395
395
  const i = e.indexOf("#");
396
- i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + o;
396
+ i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
397
397
  }
398
398
  return e;
399
399
  }
400
- class Qe {
400
+ class Et {
401
401
  constructor() {
402
402
  this.handlers = [];
403
403
  }
@@ -409,12 +409,12 @@ class Qe {
409
409
  *
410
410
  * @return {Number} An ID used to remove interceptor later
411
411
  */
412
- use(t, n, s) {
412
+ use(t, n, o) {
413
413
  return this.handlers.push({
414
414
  fulfilled: t,
415
415
  rejected: n,
416
- synchronous: s ? s.synchronous : !1,
417
- runWhen: s ? s.runWhen : null
416
+ synchronous: o ? o.synchronous : !1,
417
+ runWhen: o ? o.runWhen : null
418
418
  }), this.handlers.length - 1;
419
419
  }
420
420
  /**
@@ -446,86 +446,86 @@ class Qe {
446
446
  * @returns {void}
447
447
  */
448
448
  forEach(t) {
449
- l.forEach(this.handlers, function(s) {
450
- s !== null && t(s);
449
+ l.forEach(this.handlers, function(o) {
450
+ o !== null && t(o);
451
451
  });
452
452
  }
453
453
  }
454
- const Et = {
454
+ const tn = {
455
455
  silentJSONParsing: !0,
456
456
  forcedJSONParsing: !0,
457
457
  clarifyTimeoutError: !1
458
- }, Mn = typeof URLSearchParams < "u" ? URLSearchParams : Ue, qn = typeof FormData < "u" ? FormData : null, Gn = typeof Blob < "u" ? Blob : null, Hn = {
458
+ }, So = typeof URLSearchParams < "u" ? URLSearchParams : ft, Ro = typeof FormData < "u" ? FormData : null, xo = typeof Blob < "u" ? Blob : null, Bo = {
459
459
  isBrowser: !0,
460
460
  classes: {
461
- URLSearchParams: Mn,
462
- FormData: qn,
463
- Blob: Gn
461
+ URLSearchParams: So,
462
+ FormData: Ro,
463
+ Blob: xo
464
464
  },
465
465
  protocols: ["http", "https", "file", "blob", "url", "data"]
466
- }, ke = typeof window < "u" && typeof document < "u", Be = typeof navigator == "object" && navigator || void 0, Wn = ke && (!Be || ["ReactNative", "NativeScript", "NS"].indexOf(Be.product) < 0), Jn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
467
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Vn = ke && window.location.href || "http://localhost", Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
466
+ }, pt = typeof window < "u" && typeof document < "u", rt = typeof navigator == "object" && navigator || void 0, Co = pt && (!rt || ["ReactNative", "NativeScript", "NS"].indexOf(rt.product) < 0), To = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
467
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ko = pt && window.location.href || "http://localhost", Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
468
468
  __proto__: null,
469
- hasBrowserEnv: ke,
470
- hasStandardBrowserEnv: Wn,
471
- hasStandardBrowserWebWorkerEnv: Jn,
472
- navigator: Be,
473
- origin: Vn
474
- }, Symbol.toStringTag, { value: "Module" })), B = {
475
- ...Qn,
476
- ...Hn
469
+ hasBrowserEnv: pt,
470
+ hasStandardBrowserEnv: Co,
471
+ hasStandardBrowserWebWorkerEnv: To,
472
+ navigator: rt,
473
+ origin: ko
474
+ }, Symbol.toStringTag, { value: "Module" })), G = {
475
+ ...Do,
476
+ ...Bo
477
477
  };
478
- function Zn(e, t) {
479
- return we(e, new B.classes.URLSearchParams(), Object.assign({
480
- visitor: function(n, s, r, o) {
481
- return B.isNode && l.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
478
+ function Oo(e, t) {
479
+ return je(e, new G.classes.URLSearchParams(), Object.assign({
480
+ visitor: function(n, o, r, s) {
481
+ return G.isNode && l.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
482
482
  }
483
483
  }, t));
484
484
  }
485
- function Yn(e) {
485
+ function Io(e) {
486
486
  return l.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
487
487
  }
488
- function Xn(e) {
488
+ function No(e) {
489
489
  const t = {}, n = Object.keys(e);
490
- let s;
491
- const r = n.length;
492
490
  let o;
493
- for (s = 0; s < r; s++)
494
- o = n[s], t[o] = e[o];
491
+ const r = n.length;
492
+ let s;
493
+ for (o = 0; o < r; o++)
494
+ s = n[o], t[s] = e[s];
495
495
  return t;
496
496
  }
497
- function St(e) {
498
- function t(n, s, r, o) {
499
- let i = n[o++];
497
+ function nn(e) {
498
+ function t(n, o, r, s) {
499
+ let i = n[s++];
500
500
  if (i === "__proto__") return !0;
501
- const a = Number.isFinite(+i), u = o >= n.length;
502
- return i = !i && l.isArray(r) ? r.length : i, u ? (l.hasOwnProp(r, i) ? r[i] = [r[i], s] : r[i] = s, !a) : ((!r[i] || !l.isObject(r[i])) && (r[i] = []), t(n, s, r[i], o) && l.isArray(r[i]) && (r[i] = Xn(r[i])), !a);
501
+ const a = Number.isFinite(+i), d = s >= n.length;
502
+ return i = !i && l.isArray(r) ? r.length : i, d ? (l.hasOwnProp(r, i) ? r[i] = [r[i], o] : r[i] = o, !a) : ((!r[i] || !l.isObject(r[i])) && (r[i] = []), t(n, o, r[i], s) && l.isArray(r[i]) && (r[i] = No(r[i])), !a);
503
503
  }
504
504
  if (l.isFormData(e) && l.isFunction(e.entries)) {
505
505
  const n = {};
506
- return l.forEachEntry(e, (s, r) => {
507
- t(Yn(s), r, n, 0);
506
+ return l.forEachEntry(e, (o, r) => {
507
+ t(Io(o), r, n, 0);
508
508
  }), n;
509
509
  }
510
510
  return null;
511
511
  }
512
- function _n(e, t, n) {
512
+ function Lo(e, t, n) {
513
513
  if (l.isString(e))
514
514
  try {
515
515
  return (t || JSON.parse)(e), l.trim(e);
516
- } catch (s) {
517
- if (s.name !== "SyntaxError")
518
- throw s;
516
+ } catch (o) {
517
+ if (o.name !== "SyntaxError")
518
+ throw o;
519
519
  }
520
520
  return (n || JSON.stringify)(e);
521
521
  }
522
- const ce = {
523
- transitional: Et,
522
+ const Ce = {
523
+ transitional: tn,
524
524
  adapter: ["xhr", "http", "fetch"],
525
525
  transformRequest: [function(t, n) {
526
- const s = n.getContentType() || "", r = s.indexOf("application/json") > -1, o = l.isObject(t);
527
- if (o && l.isHTMLForm(t) && (t = new FormData(t)), l.isFormData(t))
528
- return r ? JSON.stringify(St(t)) : t;
526
+ const o = n.getContentType() || "", r = o.indexOf("application/json") > -1, s = l.isObject(t);
527
+ if (s && l.isHTMLForm(t) && (t = new FormData(t)), l.isFormData(t))
528
+ return r ? JSON.stringify(nn(t)) : t;
529
529
  if (l.isArrayBuffer(t) || l.isBuffer(t) || l.isStream(t) || l.isFile(t) || l.isBlob(t) || l.isReadableStream(t))
530
530
  return t;
531
531
  if (l.isArrayBufferView(t))
@@ -533,31 +533,31 @@ const ce = {
533
533
  if (l.isURLSearchParams(t))
534
534
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
535
535
  let a;
536
- if (o) {
537
- if (s.indexOf("application/x-www-form-urlencoded") > -1)
538
- return Zn(t, this.formSerializer).toString();
539
- if ((a = l.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
540
- const u = this.env && this.env.FormData;
541
- return we(
536
+ if (s) {
537
+ if (o.indexOf("application/x-www-form-urlencoded") > -1)
538
+ return Oo(t, this.formSerializer).toString();
539
+ if ((a = l.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
540
+ const d = this.env && this.env.FormData;
541
+ return je(
542
542
  a ? { "files[]": t } : t,
543
- u && new u(),
543
+ d && new d(),
544
544
  this.formSerializer
545
545
  );
546
546
  }
547
547
  }
548
- return o || r ? (n.setContentType("application/json", !1), _n(t)) : t;
548
+ return s || r ? (n.setContentType("application/json", !1), Lo(t)) : t;
549
549
  }],
550
550
  transformResponse: [function(t) {
551
- const n = this.transitional || ce.transitional, s = n && n.forcedJSONParsing, r = this.responseType === "json";
551
+ const n = this.transitional || Ce.transitional, o = n && n.forcedJSONParsing, r = this.responseType === "json";
552
552
  if (l.isResponse(t) || l.isReadableStream(t))
553
553
  return t;
554
- if (t && l.isString(t) && (s && !this.responseType || r)) {
554
+ if (t && l.isString(t) && (o && !this.responseType || r)) {
555
555
  const i = !(n && n.silentJSONParsing) && r;
556
556
  try {
557
557
  return JSON.parse(t);
558
558
  } catch (a) {
559
559
  if (i)
560
- throw a.name === "SyntaxError" ? g.from(a, g.ERR_BAD_RESPONSE, this, null, this.response) : a;
560
+ throw a.name === "SyntaxError" ? E.from(a, E.ERR_BAD_RESPONSE, this, null, this.response) : a;
561
561
  }
562
562
  }
563
563
  return t;
@@ -572,8 +572,8 @@ const ce = {
572
572
  maxContentLength: -1,
573
573
  maxBodyLength: -1,
574
574
  env: {
575
- FormData: B.classes.FormData,
576
- Blob: B.classes.Blob
575
+ FormData: G.classes.FormData,
576
+ Blob: G.classes.Blob
577
577
  },
578
578
  validateStatus: function(t) {
579
579
  return t >= 200 && t < 300;
@@ -586,9 +586,9 @@ const ce = {
586
586
  }
587
587
  };
588
588
  l.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
589
- ce.headers[e] = {};
589
+ Ce.headers[e] = {};
590
590
  });
591
- const Kn = l.toObjectSet([
591
+ const Uo = l.toObjectSet([
592
592
  "age",
593
593
  "authorization",
594
594
  "content-length",
@@ -606,88 +606,88 @@ const Kn = l.toObjectSet([
606
606
  "referer",
607
607
  "retry-after",
608
608
  "user-agent"
609
- ]), $n = (e) => {
609
+ ]), Fo = (e) => {
610
610
  const t = {};
611
- let n, s, r;
611
+ let n, o, r;
612
612
  return e && e.split(`
613
613
  `).forEach(function(i) {
614
- r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), s = i.substring(r + 1).trim(), !(!n || t[n] && Kn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(s) : t[n] = [s] : t[n] = t[n] ? t[n] + ", " + s : s);
614
+ r = i.indexOf(":"), n = i.substring(0, r).trim().toLowerCase(), o = i.substring(r + 1).trim(), !(!n || t[n] && Uo[n]) && (n === "set-cookie" ? t[n] ? t[n].push(o) : t[n] = [o] : t[n] = t[n] ? t[n] + ", " + o : o);
615
615
  }), t;
616
- }, Ze = Symbol("internals");
617
- function ee(e) {
616
+ }, St = Symbol("internals");
617
+ function Ee(e) {
618
618
  return e && String(e).trim().toLowerCase();
619
619
  }
620
- function fe(e) {
621
- return e === !1 || e == null ? e : l.isArray(e) ? e.map(fe) : String(e);
620
+ function ke(e) {
621
+ return e === !1 || e == null ? e : l.isArray(e) ? e.map(ke) : String(e);
622
622
  }
623
- function es(e) {
623
+ function Po(e) {
624
624
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
625
- let s;
626
- for (; s = n.exec(e); )
627
- t[s[1]] = s[2];
625
+ let o;
626
+ for (; o = n.exec(e); )
627
+ t[o[1]] = o[2];
628
628
  return t;
629
629
  }
630
- const ts = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
631
- function ve(e, t, n, s, r) {
632
- if (l.isFunction(s))
633
- return s.call(this, t, n);
630
+ const Mo = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
631
+ function _e(e, t, n, o, r) {
632
+ if (l.isFunction(o))
633
+ return o.call(this, t, n);
634
634
  if (r && (t = n), !!l.isString(t)) {
635
- if (l.isString(s))
636
- return t.indexOf(s) !== -1;
637
- if (l.isRegExp(s))
638
- return s.test(t);
635
+ if (l.isString(o))
636
+ return t.indexOf(o) !== -1;
637
+ if (l.isRegExp(o))
638
+ return o.test(t);
639
639
  }
640
640
  }
641
- function ns(e) {
642
- return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, s) => n.toUpperCase() + s);
641
+ function jo(e) {
642
+ return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, o) => n.toUpperCase() + o);
643
643
  }
644
- function ss(e, t) {
644
+ function qo(e, t) {
645
645
  const n = l.toCamelCase(" " + t);
646
- ["get", "set", "has"].forEach((s) => {
647
- Object.defineProperty(e, s + n, {
648
- value: function(r, o, i) {
649
- return this[s].call(this, t, r, o, i);
646
+ ["get", "set", "has"].forEach((o) => {
647
+ Object.defineProperty(e, o + n, {
648
+ value: function(r, s, i) {
649
+ return this[o].call(this, t, r, s, i);
650
650
  },
651
651
  configurable: !0
652
652
  });
653
653
  });
654
654
  }
655
- let F = class {
655
+ let W = class {
656
656
  constructor(t) {
657
657
  t && this.set(t);
658
658
  }
659
- set(t, n, s) {
659
+ set(t, n, o) {
660
660
  const r = this;
661
- function o(a, u, c) {
662
- const d = ee(u);
663
- if (!d)
661
+ function s(a, d, c) {
662
+ const u = Ee(d);
663
+ if (!u)
664
664
  throw new Error("header name must be a non-empty string");
665
- const f = l.findKey(r, d);
666
- (!f || r[f] === void 0 || c === !0 || c === void 0 && r[f] !== !1) && (r[f || u] = fe(a));
665
+ const f = l.findKey(r, u);
666
+ (!f || r[f] === void 0 || c === !0 || c === void 0 && r[f] !== !1) && (r[f || d] = ke(a));
667
667
  }
668
- const i = (a, u) => l.forEach(a, (c, d) => o(c, d, u));
668
+ const i = (a, d) => l.forEach(a, (c, u) => s(c, u, d));
669
669
  if (l.isPlainObject(t) || t instanceof this.constructor)
670
670
  i(t, n);
671
- else if (l.isString(t) && (t = t.trim()) && !ts(t))
672
- i($n(t), n);
671
+ else if (l.isString(t) && (t = t.trim()) && !Mo(t))
672
+ i(Fo(t), n);
673
673
  else if (l.isHeaders(t))
674
- for (const [a, u] of t.entries())
675
- o(u, a, s);
674
+ for (const [a, d] of t.entries())
675
+ s(d, a, o);
676
676
  else
677
- t != null && o(n, t, s);
677
+ t != null && s(n, t, o);
678
678
  return this;
679
679
  }
680
680
  get(t, n) {
681
- if (t = ee(t), t) {
682
- const s = l.findKey(this, t);
683
- if (s) {
684
- const r = this[s];
681
+ if (t = Ee(t), t) {
682
+ const o = l.findKey(this, t);
683
+ if (o) {
684
+ const r = this[o];
685
685
  if (!n)
686
686
  return r;
687
687
  if (n === !0)
688
- return es(r);
688
+ return Po(r);
689
689
  if (l.isFunction(n))
690
- return n.call(this, r, s);
690
+ return n.call(this, r, o);
691
691
  if (l.isRegExp(n))
692
692
  return n.exec(r);
693
693
  throw new TypeError("parser must be boolean|regexp|function");
@@ -695,42 +695,42 @@ let F = class {
695
695
  }
696
696
  }
697
697
  has(t, n) {
698
- if (t = ee(t), t) {
699
- const s = l.findKey(this, t);
700
- return !!(s && this[s] !== void 0 && (!n || ve(this, this[s], s, n)));
698
+ if (t = Ee(t), t) {
699
+ const o = l.findKey(this, t);
700
+ return !!(o && this[o] !== void 0 && (!n || _e(this, this[o], o, n)));
701
701
  }
702
702
  return !1;
703
703
  }
704
704
  delete(t, n) {
705
- const s = this;
705
+ const o = this;
706
706
  let r = !1;
707
- function o(i) {
708
- if (i = ee(i), i) {
709
- const a = l.findKey(s, i);
710
- a && (!n || ve(s, s[a], a, n)) && (delete s[a], r = !0);
707
+ function s(i) {
708
+ if (i = Ee(i), i) {
709
+ const a = l.findKey(o, i);
710
+ a && (!n || _e(o, o[a], a, n)) && (delete o[a], r = !0);
711
711
  }
712
712
  }
713
- return l.isArray(t) ? t.forEach(o) : o(t), r;
713
+ return l.isArray(t) ? t.forEach(s) : s(t), r;
714
714
  }
715
715
  clear(t) {
716
716
  const n = Object.keys(this);
717
- let s = n.length, r = !1;
718
- for (; s--; ) {
719
- const o = n[s];
720
- (!t || ve(this, this[o], o, t, !0)) && (delete this[o], r = !0);
717
+ let o = n.length, r = !1;
718
+ for (; o--; ) {
719
+ const s = n[o];
720
+ (!t || _e(this, this[s], s, t, !0)) && (delete this[s], r = !0);
721
721
  }
722
722
  return r;
723
723
  }
724
724
  normalize(t) {
725
- const n = this, s = {};
726
- return l.forEach(this, (r, o) => {
727
- const i = l.findKey(s, o);
725
+ const n = this, o = {};
726
+ return l.forEach(this, (r, s) => {
727
+ const i = l.findKey(o, s);
728
728
  if (i) {
729
- n[i] = fe(r), delete n[o];
729
+ n[i] = ke(r), delete n[s];
730
730
  return;
731
731
  }
732
- const a = t ? ns(o) : String(o).trim();
733
- a !== o && delete n[o], n[a] = fe(r), s[a] = !0;
732
+ const a = t ? jo(s) : String(s).trim();
733
+ a !== s && delete n[s], n[a] = ke(r), o[a] = !0;
734
734
  }), this;
735
735
  }
736
736
  concat(...t) {
@@ -738,8 +738,8 @@ let F = class {
738
738
  }
739
739
  toJSON(t) {
740
740
  const n = /* @__PURE__ */ Object.create(null);
741
- return l.forEach(this, (s, r) => {
742
- s != null && s !== !1 && (n[r] = t && l.isArray(s) ? s.join(", ") : s);
741
+ return l.forEach(this, (o, r) => {
742
+ o != null && o !== !1 && (n[r] = t && l.isArray(o) ? o.join(", ") : o);
743
743
  }), n;
744
744
  }
745
745
  [Symbol.iterator]() {
@@ -756,124 +756,124 @@ let F = class {
756
756
  return t instanceof this ? t : new this(t);
757
757
  }
758
758
  static concat(t, ...n) {
759
- const s = new this(t);
760
- return n.forEach((r) => s.set(r)), s;
759
+ const o = new this(t);
760
+ return n.forEach((r) => o.set(r)), o;
761
761
  }
762
762
  static accessor(t) {
763
- const s = (this[Ze] = this[Ze] = {
763
+ const o = (this[St] = this[St] = {
764
764
  accessors: {}
765
765
  }).accessors, r = this.prototype;
766
- function o(i) {
767
- const a = ee(i);
768
- s[a] || (ss(r, i), s[a] = !0);
766
+ function s(i) {
767
+ const a = Ee(i);
768
+ o[a] || (qo(r, i), o[a] = !0);
769
769
  }
770
- return l.isArray(t) ? t.forEach(o) : o(t), this;
770
+ return l.isArray(t) ? t.forEach(s) : s(t), this;
771
771
  }
772
772
  };
773
- F.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
774
- l.reduceDescriptors(F.prototype, ({ value: e }, t) => {
773
+ W.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
774
+ l.reduceDescriptors(W.prototype, ({ value: e }, t) => {
775
775
  let n = t[0].toUpperCase() + t.slice(1);
776
776
  return {
777
777
  get: () => e,
778
- set(s) {
779
- this[n] = s;
778
+ set(o) {
779
+ this[n] = o;
780
780
  }
781
781
  };
782
782
  });
783
- l.freezeMethods(F);
784
- function Re(e, t) {
785
- const n = this || ce, s = t || n, r = F.from(s.headers);
786
- let o = s.data;
783
+ l.freezeMethods(W);
784
+ function We(e, t) {
785
+ const n = this || Ce, o = t || n, r = W.from(o.headers);
786
+ let s = o.data;
787
787
  return l.forEach(e, function(a) {
788
- o = a.call(n, o, r.normalize(), t ? t.status : void 0);
789
- }), r.normalize(), o;
788
+ s = a.call(n, s, r.normalize(), t ? t.status : void 0);
789
+ }), r.normalize(), s;
790
790
  }
791
- function vt(e) {
791
+ function on(e) {
792
792
  return !!(e && e.__CANCEL__);
793
793
  }
794
- function $(e, t, n) {
795
- g.call(this, e ?? "canceled", g.ERR_CANCELED, t, n), this.name = "CanceledError";
794
+ function ye(e, t, n) {
795
+ E.call(this, e ?? "canceled", E.ERR_CANCELED, t, n), this.name = "CanceledError";
796
796
  }
797
- l.inherits($, g, {
797
+ l.inherits(ye, E, {
798
798
  __CANCEL__: !0
799
799
  });
800
- function Rt(e, t, n) {
801
- const s = n.config.validateStatus;
802
- !n.status || !s || s(n.status) ? e(n) : t(new g(
800
+ function rn(e, t, n) {
801
+ const o = n.config.validateStatus;
802
+ !n.status || !o || o(n.status) ? e(n) : t(new E(
803
803
  "Request failed with status code " + n.status,
804
- [g.ERR_BAD_REQUEST, g.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
804
+ [E.ERR_BAD_REQUEST, E.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
805
805
  n.config,
806
806
  n.request,
807
807
  n
808
808
  ));
809
809
  }
810
- function rs(e) {
810
+ function zo(e) {
811
811
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
812
812
  return t && t[1] || "";
813
813
  }
814
- function os(e, t) {
814
+ function Ho(e, t) {
815
815
  e = e || 10;
816
- const n = new Array(e), s = new Array(e);
817
- let r = 0, o = 0, i;
818
- return t = t !== void 0 ? t : 1e3, function(u) {
819
- const c = Date.now(), d = s[o];
820
- i || (i = c), n[r] = u, s[r] = c;
821
- let f = o, b = 0;
816
+ const n = new Array(e), o = new Array(e);
817
+ let r = 0, s = 0, i;
818
+ return t = t !== void 0 ? t : 1e3, function(d) {
819
+ const c = Date.now(), u = o[s];
820
+ i || (i = c), n[r] = d, o[r] = c;
821
+ let f = s, b = 0;
822
822
  for (; f !== r; )
823
823
  b += n[f++], f = f % e;
824
- if (r = (r + 1) % e, r === o && (o = (o + 1) % e), c - i < t)
824
+ if (r = (r + 1) % e, r === s && (s = (s + 1) % e), c - i < t)
825
825
  return;
826
- const v = d && c - d;
827
- return v ? Math.round(b * 1e3 / v) : void 0;
826
+ const p = u && c - u;
827
+ return p ? Math.round(b * 1e3 / p) : void 0;
828
828
  };
829
829
  }
830
- function is(e, t) {
831
- let n = 0, s = 1e3 / t, r, o;
832
- const i = (c, d = Date.now()) => {
833
- n = d, r = null, o && (clearTimeout(o), o = null), e.apply(null, c);
830
+ function Go(e, t) {
831
+ let n = 0, o = 1e3 / t, r, s;
832
+ const i = (c, u = Date.now()) => {
833
+ n = u, r = null, s && (clearTimeout(s), s = null), e.apply(null, c);
834
834
  };
835
835
  return [(...c) => {
836
- const d = Date.now(), f = d - n;
837
- f >= s ? i(c, d) : (r = c, o || (o = setTimeout(() => {
838
- o = null, i(r);
839
- }, s - f)));
836
+ const u = Date.now(), f = u - n;
837
+ f >= o ? i(c, u) : (r = c, s || (s = setTimeout(() => {
838
+ s = null, i(r);
839
+ }, o - f)));
840
840
  }, () => r && i(r)];
841
841
  }
842
- const he = (e, t, n = 3) => {
843
- let s = 0;
844
- const r = os(50, 250);
845
- return is((o) => {
846
- const i = o.loaded, a = o.lengthComputable ? o.total : void 0, u = i - s, c = r(u), d = i <= a;
847
- s = i;
842
+ const Oe = (e, t, n = 3) => {
843
+ let o = 0;
844
+ const r = Ho(50, 250);
845
+ return Go((s) => {
846
+ const i = s.loaded, a = s.lengthComputable ? s.total : void 0, d = i - o, c = r(d), u = i <= a;
847
+ o = i;
848
848
  const f = {
849
849
  loaded: i,
850
850
  total: a,
851
851
  progress: a ? i / a : void 0,
852
- bytes: u,
852
+ bytes: d,
853
853
  rate: c || void 0,
854
- estimated: c && a && d ? (a - i) / c : void 0,
855
- event: o,
854
+ estimated: c && a && u ? (a - i) / c : void 0,
855
+ event: s,
856
856
  lengthComputable: a != null,
857
857
  [t ? "download" : "upload"]: !0
858
858
  };
859
859
  e(f);
860
860
  }, n);
861
- }, Ye = (e, t) => {
861
+ }, Rt = (e, t) => {
862
862
  const n = e != null;
863
- return [(s) => t[0]({
863
+ return [(o) => t[0]({
864
864
  lengthComputable: n,
865
865
  total: e,
866
- loaded: s
866
+ loaded: o
867
867
  }), t[1]];
868
- }, Xe = (e) => (...t) => l.asap(() => e(...t)), as = B.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, B.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
869
- new URL(B.origin),
870
- B.navigator && /(msie|trident)/i.test(B.navigator.userAgent)
871
- ) : () => !0, ls = B.hasStandardBrowserEnv ? (
868
+ }, xt = (e) => (...t) => l.asap(() => e(...t)), Vo = G.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, G.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
869
+ new URL(G.origin),
870
+ G.navigator && /(msie|trident)/i.test(G.navigator.userAgent)
871
+ ) : () => !0, _o = G.hasStandardBrowserEnv ? (
872
872
  // Standard browser envs support document.cookie
873
873
  {
874
- write(e, t, n, s, r, o) {
874
+ write(e, t, n, o, r, s) {
875
875
  const i = [e + "=" + encodeURIComponent(t)];
876
- l.isNumber(n) && i.push("expires=" + new Date(n).toGMTString()), l.isString(s) && i.push("path=" + s), l.isString(r) && i.push("domain=" + r), o === !0 && i.push("secure"), document.cookie = i.join("; ");
876
+ l.isNumber(n) && i.push("expires=" + new Date(n).toGMTString()), l.isString(o) && i.push("path=" + o), l.isString(r) && i.push("domain=" + r), s === !0 && i.push("secure"), document.cookie = i.join("; ");
877
877
  },
878
878
  read(e) {
879
879
  const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
@@ -895,49 +895,49 @@ const he = (e, t, n = 3) => {
895
895
  }
896
896
  }
897
897
  );
898
- function cs(e) {
898
+ function Wo(e) {
899
899
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
900
900
  }
901
- function us(e, t) {
901
+ function Jo(e, t) {
902
902
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
903
903
  }
904
- function Tt(e, t, n) {
905
- let s = !cs(t);
906
- return e && (s || n == !1) ? us(e, t) : t;
904
+ function sn(e, t, n) {
905
+ let o = !Wo(t);
906
+ return e && (o || n == !1) ? Jo(e, t) : t;
907
907
  }
908
- const _e = (e) => e instanceof F ? { ...e } : e;
909
- function _(e, t) {
908
+ const Bt = (e) => e instanceof W ? { ...e } : e;
909
+ function he(e, t) {
910
910
  t = t || {};
911
911
  const n = {};
912
- function s(c, d, f, b) {
913
- return l.isPlainObject(c) && l.isPlainObject(d) ? l.merge.call({ caseless: b }, c, d) : l.isPlainObject(d) ? l.merge({}, d) : l.isArray(d) ? d.slice() : d;
912
+ function o(c, u, f, b) {
913
+ return l.isPlainObject(c) && l.isPlainObject(u) ? l.merge.call({ caseless: b }, c, u) : l.isPlainObject(u) ? l.merge({}, u) : l.isArray(u) ? u.slice() : u;
914
914
  }
915
- function r(c, d, f, b) {
916
- if (l.isUndefined(d)) {
915
+ function r(c, u, f, b) {
916
+ if (l.isUndefined(u)) {
917
917
  if (!l.isUndefined(c))
918
- return s(void 0, c, f, b);
919
- } else return s(c, d, f, b);
918
+ return o(void 0, c, f, b);
919
+ } else return o(c, u, f, b);
920
920
  }
921
- function o(c, d) {
922
- if (!l.isUndefined(d))
923
- return s(void 0, d);
921
+ function s(c, u) {
922
+ if (!l.isUndefined(u))
923
+ return o(void 0, u);
924
924
  }
925
- function i(c, d) {
926
- if (l.isUndefined(d)) {
925
+ function i(c, u) {
926
+ if (l.isUndefined(u)) {
927
927
  if (!l.isUndefined(c))
928
- return s(void 0, c);
929
- } else return s(void 0, d);
928
+ return o(void 0, c);
929
+ } else return o(void 0, u);
930
930
  }
931
- function a(c, d, f) {
931
+ function a(c, u, f) {
932
932
  if (f in t)
933
- return s(c, d);
933
+ return o(c, u);
934
934
  if (f in e)
935
- return s(void 0, c);
935
+ return o(void 0, c);
936
936
  }
937
- const u = {
938
- url: o,
939
- method: o,
940
- data: o,
937
+ const d = {
938
+ url: s,
939
+ method: s,
940
+ data: s,
941
941
  baseURL: i,
942
942
  transformRequest: i,
943
943
  transformResponse: i,
@@ -963,127 +963,127 @@ function _(e, t) {
963
963
  socketPath: i,
964
964
  responseEncoding: i,
965
965
  validateStatus: a,
966
- headers: (c, d, f) => r(_e(c), _e(d), f, !0)
966
+ headers: (c, u, f) => r(Bt(c), Bt(u), f, !0)
967
967
  };
968
- return l.forEach(Object.keys(Object.assign({}, e, t)), function(d) {
969
- const f = u[d] || r, b = f(e[d], t[d], d);
970
- l.isUndefined(b) && f !== a || (n[d] = b);
968
+ return l.forEach(Object.keys(Object.assign({}, e, t)), function(u) {
969
+ const f = d[u] || r, b = f(e[u], t[u], u);
970
+ l.isUndefined(b) && f !== a || (n[u] = b);
971
971
  }), n;
972
972
  }
973
- const Ot = (e) => {
974
- const t = _({}, e);
975
- let { data: n, withXSRFToken: s, xsrfHeaderName: r, xsrfCookieName: o, headers: i, auth: a } = t;
976
- t.headers = i = F.from(i), t.url = wt(Tt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
973
+ const an = (e) => {
974
+ const t = he({}, e);
975
+ let { data: n, withXSRFToken: o, xsrfHeaderName: r, xsrfCookieName: s, headers: i, auth: a } = t;
976
+ t.headers = i = W.from(i), t.url = en(sn(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
977
977
  "Authorization",
978
978
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
979
979
  );
980
- let u;
980
+ let d;
981
981
  if (l.isFormData(n)) {
982
- if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv)
982
+ if (G.hasStandardBrowserEnv || G.hasStandardBrowserWebWorkerEnv)
983
983
  i.setContentType(void 0);
984
- else if ((u = i.getContentType()) !== !1) {
985
- const [c, ...d] = u ? u.split(";").map((f) => f.trim()).filter(Boolean) : [];
986
- i.setContentType([c || "multipart/form-data", ...d].join("; "));
984
+ else if ((d = i.getContentType()) !== !1) {
985
+ const [c, ...u] = d ? d.split(";").map((f) => f.trim()).filter(Boolean) : [];
986
+ i.setContentType([c || "multipart/form-data", ...u].join("; "));
987
987
  }
988
988
  }
989
- if (B.hasStandardBrowserEnv && (s && l.isFunction(s) && (s = s(t)), s || s !== !1 && as(t.url))) {
990
- const c = r && o && ls.read(o);
989
+ if (G.hasStandardBrowserEnv && (o && l.isFunction(o) && (o = o(t)), o || o !== !1 && Vo(t.url))) {
990
+ const c = r && s && _o.read(s);
991
991
  c && i.set(r, c);
992
992
  }
993
993
  return t;
994
- }, ds = typeof XMLHttpRequest < "u", fs = ds && function(e) {
995
- return new Promise(function(n, s) {
996
- const r = Ot(e);
997
- let o = r.data;
998
- const i = F.from(r.headers).normalize();
999
- let { responseType: a, onUploadProgress: u, onDownloadProgress: c } = r, d, f, b, v, p;
1000
- function m() {
1001
- v && v(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(d), r.signal && r.signal.removeEventListener("abort", d);
994
+ }, Qo = typeof XMLHttpRequest < "u", Zo = Qo && function(e) {
995
+ return new Promise(function(n, o) {
996
+ const r = an(e);
997
+ let s = r.data;
998
+ const i = W.from(r.headers).normalize();
999
+ let { responseType: a, onUploadProgress: d, onDownloadProgress: c } = r, u, f, b, p, m;
1000
+ function g() {
1001
+ p && p(), m && m(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
1002
1002
  }
1003
1003
  let h = new XMLHttpRequest();
1004
1004
  h.open(r.method.toUpperCase(), r.url, !0), h.timeout = r.timeout;
1005
- function w() {
1005
+ function R() {
1006
1006
  if (!h)
1007
1007
  return;
1008
- const T = F.from(
1008
+ const y = W.from(
1009
1009
  "getAllResponseHeaders" in h && h.getAllResponseHeaders()
1010
- ), D = {
1010
+ ), I = {
1011
1011
  data: !a || a === "text" || a === "json" ? h.responseText : h.response,
1012
1012
  status: h.status,
1013
1013
  statusText: h.statusText,
1014
- headers: T,
1014
+ headers: y,
1015
1015
  config: e,
1016
1016
  request: h
1017
1017
  };
1018
- Rt(function(W) {
1019
- n(W), m();
1020
- }, function(W) {
1021
- s(W), m();
1022
- }, D), h = null;
1023
- }
1024
- "onloadend" in h ? h.onloadend = w : h.onreadystatechange = function() {
1025
- !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(w);
1018
+ rn(function(H) {
1019
+ n(H), g();
1020
+ }, function(H) {
1021
+ o(H), g();
1022
+ }, I), h = null;
1023
+ }
1024
+ "onloadend" in h ? h.onloadend = R : h.onreadystatechange = function() {
1025
+ !h || h.readyState !== 4 || h.status === 0 && !(h.responseURL && h.responseURL.indexOf("file:") === 0) || setTimeout(R);
1026
1026
  }, h.onabort = function() {
1027
- h && (s(new g("Request aborted", g.ECONNABORTED, e, h)), h = null);
1027
+ h && (o(new E("Request aborted", E.ECONNABORTED, e, h)), h = null);
1028
1028
  }, h.onerror = function() {
1029
- s(new g("Network Error", g.ERR_NETWORK, e, h)), h = null;
1029
+ o(new E("Network Error", E.ERR_NETWORK, e, h)), h = null;
1030
1030
  }, h.ontimeout = function() {
1031
- let j = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
1032
- const D = r.transitional || Et;
1033
- r.timeoutErrorMessage && (j = r.timeoutErrorMessage), s(new g(
1034
- j,
1035
- D.clarifyTimeoutError ? g.ETIMEDOUT : g.ECONNABORTED,
1031
+ let O = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
1032
+ const I = r.transitional || tn;
1033
+ r.timeoutErrorMessage && (O = r.timeoutErrorMessage), o(new E(
1034
+ O,
1035
+ I.clarifyTimeoutError ? E.ETIMEDOUT : E.ECONNABORTED,
1036
1036
  e,
1037
1037
  h
1038
1038
  )), h = null;
1039
- }, o === void 0 && i.setContentType(null), "setRequestHeader" in h && l.forEach(i.toJSON(), function(j, D) {
1040
- h.setRequestHeader(D, j);
1041
- }), l.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), a && a !== "json" && (h.responseType = r.responseType), c && ([b, p] = he(c, !0), h.addEventListener("progress", b)), u && h.upload && ([f, v] = he(u), h.upload.addEventListener("progress", f), h.upload.addEventListener("loadend", v)), (r.cancelToken || r.signal) && (d = (T) => {
1042
- h && (s(!T || T.type ? new $(null, e, h) : T), h.abort(), h = null);
1043
- }, r.cancelToken && r.cancelToken.subscribe(d), r.signal && (r.signal.aborted ? d() : r.signal.addEventListener("abort", d)));
1044
- const R = rs(r.url);
1045
- if (R && B.protocols.indexOf(R) === -1) {
1046
- s(new g("Unsupported protocol " + R + ":", g.ERR_BAD_REQUEST, e));
1039
+ }, s === void 0 && i.setContentType(null), "setRequestHeader" in h && l.forEach(i.toJSON(), function(O, I) {
1040
+ h.setRequestHeader(I, O);
1041
+ }), l.isUndefined(r.withCredentials) || (h.withCredentials = !!r.withCredentials), a && a !== "json" && (h.responseType = r.responseType), c && ([b, m] = Oe(c, !0), h.addEventListener("progress", b)), d && h.upload && ([f, p] = Oe(d), h.upload.addEventListener("progress", f), h.upload.addEventListener("loadend", p)), (r.cancelToken || r.signal) && (u = (y) => {
1042
+ h && (o(!y || y.type ? new ye(null, e, h) : y), h.abort(), h = null);
1043
+ }, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
1044
+ const k = zo(r.url);
1045
+ if (k && G.protocols.indexOf(k) === -1) {
1046
+ o(new E("Unsupported protocol " + k + ":", E.ERR_BAD_REQUEST, e));
1047
1047
  return;
1048
1048
  }
1049
- h.send(o || null);
1049
+ h.send(s || null);
1050
1050
  });
1051
- }, ps = (e, t) => {
1051
+ }, Yo = (e, t) => {
1052
1052
  const { length: n } = e = e ? e.filter(Boolean) : [];
1053
1053
  if (t || n) {
1054
- let s = new AbortController(), r;
1055
- const o = function(c) {
1054
+ let o = new AbortController(), r;
1055
+ const s = function(c) {
1056
1056
  if (!r) {
1057
1057
  r = !0, a();
1058
- const d = c instanceof Error ? c : this.reason;
1059
- s.abort(d instanceof g ? d : new $(d instanceof Error ? d.message : d));
1058
+ const u = c instanceof Error ? c : this.reason;
1059
+ o.abort(u instanceof E ? u : new ye(u instanceof Error ? u.message : u));
1060
1060
  }
1061
1061
  };
1062
1062
  let i = t && setTimeout(() => {
1063
- i = null, o(new g(`timeout ${t} of ms exceeded`, g.ETIMEDOUT));
1063
+ i = null, s(new E(`timeout ${t} of ms exceeded`, E.ETIMEDOUT));
1064
1064
  }, t);
1065
1065
  const a = () => {
1066
1066
  e && (i && clearTimeout(i), i = null, e.forEach((c) => {
1067
- c.unsubscribe ? c.unsubscribe(o) : c.removeEventListener("abort", o);
1067
+ c.unsubscribe ? c.unsubscribe(s) : c.removeEventListener("abort", s);
1068
1068
  }), e = null);
1069
1069
  };
1070
- e.forEach((c) => c.addEventListener("abort", o));
1071
- const { signal: u } = s;
1072
- return u.unsubscribe = () => l.asap(a), u;
1070
+ e.forEach((c) => c.addEventListener("abort", s));
1071
+ const { signal: d } = o;
1072
+ return d.unsubscribe = () => l.asap(a), d;
1073
1073
  }
1074
- }, hs = function* (e, t) {
1074
+ }, Xo = function* (e, t) {
1075
1075
  let n = e.byteLength;
1076
1076
  if (n < t) {
1077
1077
  yield e;
1078
1078
  return;
1079
1079
  }
1080
- let s = 0, r;
1081
- for (; s < n; )
1082
- r = s + t, yield e.slice(s, r), s = r;
1083
- }, ms = async function* (e, t) {
1084
- for await (const n of gs(e))
1085
- yield* hs(n, t);
1086
- }, gs = async function* (e) {
1080
+ let o = 0, r;
1081
+ for (; o < n; )
1082
+ r = o + t, yield e.slice(o, r), o = r;
1083
+ }, $o = async function* (e, t) {
1084
+ for await (const n of Ko(e))
1085
+ yield* Xo(n, t);
1086
+ }, Ko = async function* (e) {
1087
1087
  if (e[Symbol.asyncIterator]) {
1088
1088
  yield* e;
1089
1089
  return;
@@ -1091,52 +1091,52 @@ const Ot = (e) => {
1091
1091
  const t = e.getReader();
1092
1092
  try {
1093
1093
  for (; ; ) {
1094
- const { done: n, value: s } = await t.read();
1094
+ const { done: n, value: o } = await t.read();
1095
1095
  if (n)
1096
1096
  break;
1097
- yield s;
1097
+ yield o;
1098
1098
  }
1099
1099
  } finally {
1100
1100
  await t.cancel();
1101
1101
  }
1102
- }, Ke = (e, t, n, s) => {
1103
- const r = ms(e, t);
1104
- let o = 0, i, a = (u) => {
1105
- i || (i = !0, s && s(u));
1102
+ }, Ct = (e, t, n, o) => {
1103
+ const r = $o(e, t);
1104
+ let s = 0, i, a = (d) => {
1105
+ i || (i = !0, o && o(d));
1106
1106
  };
1107
1107
  return new ReadableStream({
1108
- async pull(u) {
1108
+ async pull(d) {
1109
1109
  try {
1110
- const { done: c, value: d } = await r.next();
1110
+ const { done: c, value: u } = await r.next();
1111
1111
  if (c) {
1112
- a(), u.close();
1112
+ a(), d.close();
1113
1113
  return;
1114
1114
  }
1115
- let f = d.byteLength;
1115
+ let f = u.byteLength;
1116
1116
  if (n) {
1117
- let b = o += f;
1117
+ let b = s += f;
1118
1118
  n(b);
1119
1119
  }
1120
- u.enqueue(new Uint8Array(d));
1120
+ d.enqueue(new Uint8Array(u));
1121
1121
  } catch (c) {
1122
1122
  throw a(c), c;
1123
1123
  }
1124
1124
  },
1125
- cancel(u) {
1126
- return a(u), r.return();
1125
+ cancel(d) {
1126
+ return a(d), r.return();
1127
1127
  }
1128
1128
  }, {
1129
1129
  highWaterMark: 2
1130
1130
  });
1131
- }, Ee = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Nt = Ee && typeof ReadableStream == "function", bs = Ee && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), Dt = (e, ...t) => {
1131
+ }, qe = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", ln = qe && typeof ReadableStream == "function", er = qe && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), cn = (e, ...t) => {
1132
1132
  try {
1133
1133
  return !!e(...t);
1134
1134
  } catch {
1135
1135
  return !1;
1136
1136
  }
1137
- }, As = Nt && Dt(() => {
1137
+ }, tr = ln && cn(() => {
1138
1138
  let e = !1;
1139
- const t = new Request(B.origin, {
1139
+ const t = new Request(G.origin, {
1140
1140
  body: new ReadableStream(),
1141
1141
  method: "POST",
1142
1142
  get duplex() {
@@ -1144,124 +1144,124 @@ const Ot = (e) => {
1144
1144
  }
1145
1145
  }).headers.has("Content-Type");
1146
1146
  return e && !t;
1147
- }), $e = 64 * 1024, Ce = Nt && Dt(() => l.isReadableStream(new Response("").body)), me = {
1148
- stream: Ce && ((e) => e.body)
1147
+ }), Tt = 64 * 1024, st = ln && cn(() => l.isReadableStream(new Response("").body)), Ie = {
1148
+ stream: st && ((e) => e.body)
1149
1149
  };
1150
- Ee && ((e) => {
1150
+ qe && ((e) => {
1151
1151
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
1152
- !me[t] && (me[t] = l.isFunction(e[t]) ? (n) => n[t]() : (n, s) => {
1153
- throw new g(`Response type '${t}' is not supported`, g.ERR_NOT_SUPPORT, s);
1152
+ !Ie[t] && (Ie[t] = l.isFunction(e[t]) ? (n) => n[t]() : (n, o) => {
1153
+ throw new E(`Response type '${t}' is not supported`, E.ERR_NOT_SUPPORT, o);
1154
1154
  });
1155
1155
  });
1156
1156
  })(new Response());
1157
- const ys = async (e) => {
1157
+ const nr = async (e) => {
1158
1158
  if (e == null)
1159
1159
  return 0;
1160
1160
  if (l.isBlob(e))
1161
1161
  return e.size;
1162
1162
  if (l.isSpecCompliantForm(e))
1163
- return (await new Request(B.origin, {
1163
+ return (await new Request(G.origin, {
1164
1164
  method: "POST",
1165
1165
  body: e
1166
1166
  }).arrayBuffer()).byteLength;
1167
1167
  if (l.isArrayBufferView(e) || l.isArrayBuffer(e))
1168
1168
  return e.byteLength;
1169
1169
  if (l.isURLSearchParams(e) && (e = e + ""), l.isString(e))
1170
- return (await bs(e)).byteLength;
1171
- }, ws = async (e, t) => {
1170
+ return (await er(e)).byteLength;
1171
+ }, or = async (e, t) => {
1172
1172
  const n = l.toFiniteNumber(e.getContentLength());
1173
- return n ?? ys(t);
1174
- }, Es = Ee && (async (e) => {
1173
+ return n ?? nr(t);
1174
+ }, rr = qe && (async (e) => {
1175
1175
  let {
1176
1176
  url: t,
1177
1177
  method: n,
1178
- data: s,
1178
+ data: o,
1179
1179
  signal: r,
1180
- cancelToken: o,
1180
+ cancelToken: s,
1181
1181
  timeout: i,
1182
1182
  onDownloadProgress: a,
1183
- onUploadProgress: u,
1183
+ onUploadProgress: d,
1184
1184
  responseType: c,
1185
- headers: d,
1185
+ headers: u,
1186
1186
  withCredentials: f = "same-origin",
1187
1187
  fetchOptions: b
1188
- } = Ot(e);
1188
+ } = an(e);
1189
1189
  c = c ? (c + "").toLowerCase() : "text";
1190
- let v = ps([r, o && o.toAbortSignal()], i), p;
1191
- const m = v && v.unsubscribe && (() => {
1192
- v.unsubscribe();
1190
+ let p = Yo([r, s && s.toAbortSignal()], i), m;
1191
+ const g = p && p.unsubscribe && (() => {
1192
+ p.unsubscribe();
1193
1193
  });
1194
1194
  let h;
1195
1195
  try {
1196
- if (u && As && n !== "get" && n !== "head" && (h = await ws(d, s)) !== 0) {
1197
- let D = new Request(t, {
1196
+ if (d && tr && n !== "get" && n !== "head" && (h = await or(u, o)) !== 0) {
1197
+ let I = new Request(t, {
1198
1198
  method: "POST",
1199
- body: s,
1199
+ body: o,
1200
1200
  duplex: "half"
1201
- }), z;
1202
- if (l.isFormData(s) && (z = D.headers.get("content-type")) && d.setContentType(z), D.body) {
1203
- const [W, A] = Ye(
1201
+ }), N;
1202
+ if (l.isFormData(o) && (N = I.headers.get("content-type")) && u.setContentType(N), I.body) {
1203
+ const [H, X] = Rt(
1204
1204
  h,
1205
- he(Xe(u))
1205
+ Oe(xt(d))
1206
1206
  );
1207
- s = Ke(D.body, $e, W, A);
1207
+ o = Ct(I.body, Tt, H, X);
1208
1208
  }
1209
1209
  }
1210
1210
  l.isString(f) || (f = f ? "include" : "omit");
1211
- const w = "credentials" in Request.prototype;
1212
- p = new Request(t, {
1211
+ const R = "credentials" in Request.prototype;
1212
+ m = new Request(t, {
1213
1213
  ...b,
1214
- signal: v,
1214
+ signal: p,
1215
1215
  method: n.toUpperCase(),
1216
- headers: d.normalize().toJSON(),
1217
- body: s,
1216
+ headers: u.normalize().toJSON(),
1217
+ body: o,
1218
1218
  duplex: "half",
1219
- credentials: w ? f : void 0
1219
+ credentials: R ? f : void 0
1220
1220
  });
1221
- let R = await fetch(p);
1222
- const T = Ce && (c === "stream" || c === "response");
1223
- if (Ce && (a || T && m)) {
1224
- const D = {};
1225
- ["status", "statusText", "headers"].forEach((N) => {
1226
- D[N] = R[N];
1221
+ let k = await fetch(m);
1222
+ const y = st && (c === "stream" || c === "response");
1223
+ if (st && (a || y && g)) {
1224
+ const I = {};
1225
+ ["status", "statusText", "headers"].forEach((K) => {
1226
+ I[K] = k[K];
1227
1227
  });
1228
- const z = l.toFiniteNumber(R.headers.get("content-length")), [W, A] = a && Ye(
1229
- z,
1230
- he(Xe(a), !0)
1228
+ const N = l.toFiniteNumber(k.headers.get("content-length")), [H, X] = a && Rt(
1229
+ N,
1230
+ Oe(xt(a), !0)
1231
1231
  ) || [];
1232
- R = new Response(
1233
- Ke(R.body, $e, W, () => {
1234
- A && A(), m && m();
1232
+ k = new Response(
1233
+ Ct(k.body, Tt, H, () => {
1234
+ X && X(), g && g();
1235
1235
  }),
1236
- D
1236
+ I
1237
1237
  );
1238
1238
  }
1239
1239
  c = c || "text";
1240
- let j = await me[l.findKey(me, c) || "text"](R, e);
1241
- return !T && m && m(), await new Promise((D, z) => {
1242
- Rt(D, z, {
1243
- data: j,
1244
- headers: F.from(R.headers),
1245
- status: R.status,
1246
- statusText: R.statusText,
1240
+ let O = await Ie[l.findKey(Ie, c) || "text"](k, e);
1241
+ return !y && g && g(), await new Promise((I, N) => {
1242
+ rn(I, N, {
1243
+ data: O,
1244
+ headers: W.from(k.headers),
1245
+ status: k.status,
1246
+ statusText: k.statusText,
1247
1247
  config: e,
1248
- request: p
1248
+ request: m
1249
1249
  });
1250
1250
  });
1251
- } catch (w) {
1252
- throw m && m(), w && w.name === "TypeError" && /fetch/i.test(w.message) ? Object.assign(
1253
- new g("Network Error", g.ERR_NETWORK, e, p),
1251
+ } catch (R) {
1252
+ throw g && g(), R && R.name === "TypeError" && /fetch/i.test(R.message) ? Object.assign(
1253
+ new E("Network Error", E.ERR_NETWORK, e, m),
1254
1254
  {
1255
- cause: w.cause || w
1255
+ cause: R.cause || R
1256
1256
  }
1257
- ) : g.from(w, w && w.code, e, p);
1257
+ ) : E.from(R, R && R.code, e, m);
1258
1258
  }
1259
- }), xe = {
1260
- http: jn,
1261
- xhr: fs,
1262
- fetch: Es
1259
+ }), it = {
1260
+ http: vo,
1261
+ xhr: Zo,
1262
+ fetch: rr
1263
1263
  };
1264
- l.forEach(xe, (e, t) => {
1264
+ l.forEach(it, (e, t) => {
1265
1265
  if (e) {
1266
1266
  try {
1267
1267
  Object.defineProperty(e, "name", { value: t });
@@ -1270,113 +1270,113 @@ l.forEach(xe, (e, t) => {
1270
1270
  Object.defineProperty(e, "adapterName", { value: t });
1271
1271
  }
1272
1272
  });
1273
- const et = (e) => `- ${e}`, Ss = (e) => l.isFunction(e) || e === null || e === !1, Bt = {
1273
+ const kt = (e) => `- ${e}`, sr = (e) => l.isFunction(e) || e === null || e === !1, un = {
1274
1274
  getAdapter: (e) => {
1275
1275
  e = l.isArray(e) ? e : [e];
1276
1276
  const { length: t } = e;
1277
- let n, s;
1277
+ let n, o;
1278
1278
  const r = {};
1279
- for (let o = 0; o < t; o++) {
1280
- n = e[o];
1279
+ for (let s = 0; s < t; s++) {
1280
+ n = e[s];
1281
1281
  let i;
1282
- if (s = n, !Ss(n) && (s = xe[(i = String(n)).toLowerCase()], s === void 0))
1283
- throw new g(`Unknown adapter '${i}'`);
1284
- if (s)
1282
+ if (o = n, !sr(n) && (o = it[(i = String(n)).toLowerCase()], o === void 0))
1283
+ throw new E(`Unknown adapter '${i}'`);
1284
+ if (o)
1285
1285
  break;
1286
- r[i || "#" + o] = s;
1286
+ r[i || "#" + s] = o;
1287
1287
  }
1288
- if (!s) {
1289
- const o = Object.entries(r).map(
1290
- ([a, u]) => `adapter ${a} ` + (u === !1 ? "is not supported by the environment" : "is not available in the build")
1288
+ if (!o) {
1289
+ const s = Object.entries(r).map(
1290
+ ([a, d]) => `adapter ${a} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
1291
1291
  );
1292
- let i = t ? o.length > 1 ? `since :
1293
- ` + o.map(et).join(`
1294
- `) : " " + et(o[0]) : "as no adapter specified";
1295
- throw new g(
1292
+ let i = t ? s.length > 1 ? `since :
1293
+ ` + s.map(kt).join(`
1294
+ `) : " " + kt(s[0]) : "as no adapter specified";
1295
+ throw new E(
1296
1296
  "There is no suitable adapter to dispatch the request " + i,
1297
1297
  "ERR_NOT_SUPPORT"
1298
1298
  );
1299
1299
  }
1300
- return s;
1300
+ return o;
1301
1301
  },
1302
- adapters: xe
1302
+ adapters: it
1303
1303
  };
1304
- function Te(e) {
1304
+ function Je(e) {
1305
1305
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1306
- throw new $(null, e);
1306
+ throw new ye(null, e);
1307
1307
  }
1308
- function tt(e) {
1309
- return Te(e), e.headers = F.from(e.headers), e.data = Re.call(
1308
+ function Dt(e) {
1309
+ return Je(e), e.headers = W.from(e.headers), e.data = We.call(
1310
1310
  e,
1311
1311
  e.transformRequest
1312
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Bt.getAdapter(e.adapter || ce.adapter)(e).then(function(s) {
1313
- return Te(e), s.data = Re.call(
1312
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), un.getAdapter(e.adapter || Ce.adapter)(e).then(function(o) {
1313
+ return Je(e), o.data = We.call(
1314
1314
  e,
1315
1315
  e.transformResponse,
1316
- s
1317
- ), s.headers = F.from(s.headers), s;
1318
- }, function(s) {
1319
- return vt(s) || (Te(e), s && s.response && (s.response.data = Re.call(
1316
+ o
1317
+ ), o.headers = W.from(o.headers), o;
1318
+ }, function(o) {
1319
+ return on(o) || (Je(e), o && o.response && (o.response.data = We.call(
1320
1320
  e,
1321
1321
  e.transformResponse,
1322
- s.response
1323
- ), s.response.headers = F.from(s.response.headers))), Promise.reject(s);
1322
+ o.response
1323
+ ), o.response.headers = W.from(o.response.headers))), Promise.reject(o);
1324
1324
  });
1325
1325
  }
1326
- const Ct = "1.8.4", Se = {};
1326
+ const dn = "1.8.4", ze = {};
1327
1327
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1328
- Se[e] = function(s) {
1329
- return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
1328
+ ze[e] = function(o) {
1329
+ return typeof o === e || "a" + (t < 1 ? "n " : " ") + e;
1330
1330
  };
1331
1331
  });
1332
- const nt = {};
1333
- Se.transitional = function(t, n, s) {
1334
- function r(o, i) {
1335
- return "[Axios v" + Ct + "] Transitional option '" + o + "'" + i + (s ? ". " + s : "");
1332
+ const Ot = {};
1333
+ ze.transitional = function(t, n, o) {
1334
+ function r(s, i) {
1335
+ return "[Axios v" + dn + "] Transitional option '" + s + "'" + i + (o ? ". " + o : "");
1336
1336
  }
1337
- return (o, i, a) => {
1337
+ return (s, i, a) => {
1338
1338
  if (t === !1)
1339
- throw new g(
1339
+ throw new E(
1340
1340
  r(i, " has been removed" + (n ? " in " + n : "")),
1341
- g.ERR_DEPRECATED
1341
+ E.ERR_DEPRECATED
1342
1342
  );
1343
- return n && !nt[i] && (nt[i] = !0, console.warn(
1343
+ return n && !Ot[i] && (Ot[i] = !0, console.warn(
1344
1344
  r(
1345
1345
  i,
1346
1346
  " has been deprecated since v" + n + " and will be removed in the near future"
1347
1347
  )
1348
- )), t ? t(o, i, a) : !0;
1348
+ )), t ? t(s, i, a) : !0;
1349
1349
  };
1350
1350
  };
1351
- Se.spelling = function(t) {
1352
- return (n, s) => (console.warn(`${s} is likely a misspelling of ${t}`), !0);
1351
+ ze.spelling = function(t) {
1352
+ return (n, o) => (console.warn(`${o} is likely a misspelling of ${t}`), !0);
1353
1353
  };
1354
- function vs(e, t, n) {
1354
+ function ir(e, t, n) {
1355
1355
  if (typeof e != "object")
1356
- throw new g("options must be an object", g.ERR_BAD_OPTION_VALUE);
1357
- const s = Object.keys(e);
1358
- let r = s.length;
1356
+ throw new E("options must be an object", E.ERR_BAD_OPTION_VALUE);
1357
+ const o = Object.keys(e);
1358
+ let r = o.length;
1359
1359
  for (; r-- > 0; ) {
1360
- const o = s[r], i = t[o];
1360
+ const s = o[r], i = t[s];
1361
1361
  if (i) {
1362
- const a = e[o], u = a === void 0 || i(a, o, e);
1363
- if (u !== !0)
1364
- throw new g("option " + o + " must be " + u, g.ERR_BAD_OPTION_VALUE);
1362
+ const a = e[s], d = a === void 0 || i(a, s, e);
1363
+ if (d !== !0)
1364
+ throw new E("option " + s + " must be " + d, E.ERR_BAD_OPTION_VALUE);
1365
1365
  continue;
1366
1366
  }
1367
1367
  if (n !== !0)
1368
- throw new g("Unknown option " + o, g.ERR_BAD_OPTION);
1368
+ throw new E("Unknown option " + s, E.ERR_BAD_OPTION);
1369
1369
  }
1370
1370
  }
1371
- const pe = {
1372
- assertOptions: vs,
1373
- validators: Se
1374
- }, q = pe.validators;
1375
- let X = class {
1371
+ const De = {
1372
+ assertOptions: ir,
1373
+ validators: ze
1374
+ }, ee = De.validators;
1375
+ let de = class {
1376
1376
  constructor(t) {
1377
1377
  this.defaults = t, this.interceptors = {
1378
- request: new Qe(),
1379
- response: new Qe()
1378
+ request: new Et(),
1379
+ response: new Et()
1380
1380
  };
1381
1381
  }
1382
1382
  /**
@@ -1390,137 +1390,137 @@ let X = class {
1390
1390
  async request(t, n) {
1391
1391
  try {
1392
1392
  return await this._request(t, n);
1393
- } catch (s) {
1394
- if (s instanceof Error) {
1393
+ } catch (o) {
1394
+ if (o instanceof Error) {
1395
1395
  let r = {};
1396
1396
  Error.captureStackTrace ? Error.captureStackTrace(r) : r = new Error();
1397
- const o = r.stack ? r.stack.replace(/^.+\n/, "") : "";
1397
+ const s = r.stack ? r.stack.replace(/^.+\n/, "") : "";
1398
1398
  try {
1399
- s.stack ? o && !String(s.stack).endsWith(o.replace(/^.+\n.+\n/, "")) && (s.stack += `
1400
- ` + o) : s.stack = o;
1399
+ o.stack ? s && !String(o.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (o.stack += `
1400
+ ` + s) : o.stack = s;
1401
1401
  } catch {
1402
1402
  }
1403
1403
  }
1404
- throw s;
1404
+ throw o;
1405
1405
  }
1406
1406
  }
1407
1407
  _request(t, n) {
1408
- typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = _(this.defaults, n);
1409
- const { transitional: s, paramsSerializer: r, headers: o } = n;
1410
- s !== void 0 && pe.assertOptions(s, {
1411
- silentJSONParsing: q.transitional(q.boolean),
1412
- forcedJSONParsing: q.transitional(q.boolean),
1413
- clarifyTimeoutError: q.transitional(q.boolean)
1408
+ typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = he(this.defaults, n);
1409
+ const { transitional: o, paramsSerializer: r, headers: s } = n;
1410
+ o !== void 0 && De.assertOptions(o, {
1411
+ silentJSONParsing: ee.transitional(ee.boolean),
1412
+ forcedJSONParsing: ee.transitional(ee.boolean),
1413
+ clarifyTimeoutError: ee.transitional(ee.boolean)
1414
1414
  }, !1), r != null && (l.isFunction(r) ? n.paramsSerializer = {
1415
1415
  serialize: r
1416
- } : pe.assertOptions(r, {
1417
- encode: q.function,
1418
- serialize: q.function
1419
- }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), pe.assertOptions(n, {
1420
- baseUrl: q.spelling("baseURL"),
1421
- withXsrfToken: q.spelling("withXSRFToken")
1416
+ } : De.assertOptions(r, {
1417
+ encode: ee.function,
1418
+ serialize: ee.function
1419
+ }, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), De.assertOptions(n, {
1420
+ baseUrl: ee.spelling("baseURL"),
1421
+ withXsrfToken: ee.spelling("withXSRFToken")
1422
1422
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
1423
- let i = o && l.merge(
1424
- o.common,
1425
- o[n.method]
1423
+ let i = s && l.merge(
1424
+ s.common,
1425
+ s[n.method]
1426
1426
  );
1427
- o && l.forEach(
1427
+ s && l.forEach(
1428
1428
  ["delete", "get", "head", "post", "put", "patch", "common"],
1429
- (p) => {
1430
- delete o[p];
1429
+ (m) => {
1430
+ delete s[m];
1431
1431
  }
1432
- ), n.headers = F.concat(i, o);
1432
+ ), n.headers = W.concat(i, s);
1433
1433
  const a = [];
1434
- let u = !0;
1435
- this.interceptors.request.forEach(function(m) {
1436
- typeof m.runWhen == "function" && m.runWhen(n) === !1 || (u = u && m.synchronous, a.unshift(m.fulfilled, m.rejected));
1434
+ let d = !0;
1435
+ this.interceptors.request.forEach(function(g) {
1436
+ typeof g.runWhen == "function" && g.runWhen(n) === !1 || (d = d && g.synchronous, a.unshift(g.fulfilled, g.rejected));
1437
1437
  });
1438
1438
  const c = [];
1439
- this.interceptors.response.forEach(function(m) {
1440
- c.push(m.fulfilled, m.rejected);
1439
+ this.interceptors.response.forEach(function(g) {
1440
+ c.push(g.fulfilled, g.rejected);
1441
1441
  });
1442
- let d, f = 0, b;
1443
- if (!u) {
1444
- const p = [tt.bind(this), void 0];
1445
- for (p.unshift.apply(p, a), p.push.apply(p, c), b = p.length, d = Promise.resolve(n); f < b; )
1446
- d = d.then(p[f++], p[f++]);
1447
- return d;
1442
+ let u, f = 0, b;
1443
+ if (!d) {
1444
+ const m = [Dt.bind(this), void 0];
1445
+ for (m.unshift.apply(m, a), m.push.apply(m, c), b = m.length, u = Promise.resolve(n); f < b; )
1446
+ u = u.then(m[f++], m[f++]);
1447
+ return u;
1448
1448
  }
1449
1449
  b = a.length;
1450
- let v = n;
1450
+ let p = n;
1451
1451
  for (f = 0; f < b; ) {
1452
- const p = a[f++], m = a[f++];
1452
+ const m = a[f++], g = a[f++];
1453
1453
  try {
1454
- v = p(v);
1454
+ p = m(p);
1455
1455
  } catch (h) {
1456
- m.call(this, h);
1456
+ g.call(this, h);
1457
1457
  break;
1458
1458
  }
1459
1459
  }
1460
1460
  try {
1461
- d = tt.call(this, v);
1462
- } catch (p) {
1463
- return Promise.reject(p);
1461
+ u = Dt.call(this, p);
1462
+ } catch (m) {
1463
+ return Promise.reject(m);
1464
1464
  }
1465
1465
  for (f = 0, b = c.length; f < b; )
1466
- d = d.then(c[f++], c[f++]);
1467
- return d;
1466
+ u = u.then(c[f++], c[f++]);
1467
+ return u;
1468
1468
  }
1469
1469
  getUri(t) {
1470
- t = _(this.defaults, t);
1471
- const n = Tt(t.baseURL, t.url, t.allowAbsoluteUrls);
1472
- return wt(n, t.params, t.paramsSerializer);
1470
+ t = he(this.defaults, t);
1471
+ const n = sn(t.baseURL, t.url, t.allowAbsoluteUrls);
1472
+ return en(n, t.params, t.paramsSerializer);
1473
1473
  }
1474
1474
  };
1475
1475
  l.forEach(["delete", "get", "head", "options"], function(t) {
1476
- X.prototype[t] = function(n, s) {
1477
- return this.request(_(s || {}, {
1476
+ de.prototype[t] = function(n, o) {
1477
+ return this.request(he(o || {}, {
1478
1478
  method: t,
1479
1479
  url: n,
1480
- data: (s || {}).data
1480
+ data: (o || {}).data
1481
1481
  }));
1482
1482
  };
1483
1483
  });
1484
1484
  l.forEach(["post", "put", "patch"], function(t) {
1485
- function n(s) {
1486
- return function(o, i, a) {
1487
- return this.request(_(a || {}, {
1485
+ function n(o) {
1486
+ return function(s, i, a) {
1487
+ return this.request(he(a || {}, {
1488
1488
  method: t,
1489
- headers: s ? {
1489
+ headers: o ? {
1490
1490
  "Content-Type": "multipart/form-data"
1491
1491
  } : {},
1492
- url: o,
1492
+ url: s,
1493
1493
  data: i
1494
1494
  }));
1495
1495
  };
1496
1496
  }
1497
- X.prototype[t] = n(), X.prototype[t + "Form"] = n(!0);
1497
+ de.prototype[t] = n(), de.prototype[t + "Form"] = n(!0);
1498
1498
  });
1499
- let Rs = class xt {
1499
+ let ar = class fn {
1500
1500
  constructor(t) {
1501
1501
  if (typeof t != "function")
1502
1502
  throw new TypeError("executor must be a function.");
1503
1503
  let n;
1504
- this.promise = new Promise(function(o) {
1505
- n = o;
1504
+ this.promise = new Promise(function(s) {
1505
+ n = s;
1506
1506
  });
1507
- const s = this;
1507
+ const o = this;
1508
1508
  this.promise.then((r) => {
1509
- if (!s._listeners) return;
1510
- let o = s._listeners.length;
1511
- for (; o-- > 0; )
1512
- s._listeners[o](r);
1513
- s._listeners = null;
1509
+ if (!o._listeners) return;
1510
+ let s = o._listeners.length;
1511
+ for (; s-- > 0; )
1512
+ o._listeners[s](r);
1513
+ o._listeners = null;
1514
1514
  }), this.promise.then = (r) => {
1515
- let o;
1515
+ let s;
1516
1516
  const i = new Promise((a) => {
1517
- s.subscribe(a), o = a;
1517
+ o.subscribe(a), s = a;
1518
1518
  }).then(r);
1519
1519
  return i.cancel = function() {
1520
- s.unsubscribe(o);
1520
+ o.unsubscribe(s);
1521
1521
  }, i;
1522
- }, t(function(o, i, a) {
1523
- s.reason || (s.reason = new $(o, i, a), n(s.reason));
1522
+ }, t(function(s, i, a) {
1523
+ o.reason || (o.reason = new ye(s, i, a), n(o.reason));
1524
1524
  });
1525
1525
  }
1526
1526
  /**
@@ -1550,8 +1550,8 @@ let Rs = class xt {
1550
1550
  n !== -1 && this._listeners.splice(n, 1);
1551
1551
  }
1552
1552
  toAbortSignal() {
1553
- const t = new AbortController(), n = (s) => {
1554
- t.abort(s);
1553
+ const t = new AbortController(), n = (o) => {
1554
+ t.abort(o);
1555
1555
  };
1556
1556
  return this.subscribe(n), t.signal.unsubscribe = () => this.unsubscribe(n), t.signal;
1557
1557
  }
@@ -1562,22 +1562,22 @@ let Rs = class xt {
1562
1562
  static source() {
1563
1563
  let t;
1564
1564
  return {
1565
- token: new xt(function(r) {
1565
+ token: new fn(function(r) {
1566
1566
  t = r;
1567
1567
  }),
1568
1568
  cancel: t
1569
1569
  };
1570
1570
  }
1571
1571
  };
1572
- function Ts(e) {
1572
+ function lr(e) {
1573
1573
  return function(n) {
1574
1574
  return e.apply(null, n);
1575
1575
  };
1576
1576
  }
1577
- function Os(e) {
1577
+ function cr(e) {
1578
1578
  return l.isObject(e) && e.isAxiosError === !0;
1579
1579
  }
1580
- const Le = {
1580
+ const at = {
1581
1581
  Continue: 100,
1582
1582
  SwitchingProtocols: 101,
1583
1583
  Processing: 102,
@@ -1642,121 +1642,121 @@ const Le = {
1642
1642
  NotExtended: 510,
1643
1643
  NetworkAuthenticationRequired: 511
1644
1644
  };
1645
- Object.entries(Le).forEach(([e, t]) => {
1646
- Le[t] = e;
1645
+ Object.entries(at).forEach(([e, t]) => {
1646
+ at[t] = e;
1647
1647
  });
1648
- function Lt(e) {
1649
- const t = new X(e), n = ct(X.prototype.request, t);
1650
- return l.extend(n, X.prototype, t, { allOwnKeys: !0 }), l.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
1651
- return Lt(_(e, r));
1648
+ function pn(e) {
1649
+ const t = new de(e), n = Gt(de.prototype.request, t);
1650
+ return l.extend(n, de.prototype, t, { allOwnKeys: !0 }), l.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
1651
+ return pn(he(e, r));
1652
1652
  }, n;
1653
1653
  }
1654
- const S = Lt(ce);
1655
- S.Axios = X;
1656
- S.CanceledError = $;
1657
- S.CancelToken = Rs;
1658
- S.isCancel = vt;
1659
- S.VERSION = Ct;
1660
- S.toFormData = we;
1661
- S.AxiosError = g;
1662
- S.Cancel = S.CanceledError;
1663
- S.all = function(t) {
1654
+ const F = pn(Ce);
1655
+ F.Axios = de;
1656
+ F.CanceledError = ye;
1657
+ F.CancelToken = ar;
1658
+ F.isCancel = on;
1659
+ F.VERSION = dn;
1660
+ F.toFormData = je;
1661
+ F.AxiosError = E;
1662
+ F.Cancel = F.CanceledError;
1663
+ F.all = function(t) {
1664
1664
  return Promise.all(t);
1665
1665
  };
1666
- S.spread = Ts;
1667
- S.isAxiosError = Os;
1668
- S.mergeConfig = _;
1669
- S.AxiosHeaders = F;
1670
- S.formToJSON = (e) => St(l.isHTMLForm(e) ? new FormData(e) : e);
1671
- S.getAdapter = Bt.getAdapter;
1672
- S.HttpStatusCode = Le;
1673
- S.default = S;
1666
+ F.spread = lr;
1667
+ F.isAxiosError = cr;
1668
+ F.mergeConfig = he;
1669
+ F.AxiosHeaders = W;
1670
+ F.formToJSON = (e) => nn(l.isHTMLForm(e) ? new FormData(e) : e);
1671
+ F.getAdapter = un.getAdapter;
1672
+ F.HttpStatusCode = at;
1673
+ F.default = F;
1674
1674
  const {
1675
- Axios: Gr,
1676
- AxiosError: Hr,
1677
- CanceledError: Wr,
1678
- isCancel: Jr,
1679
- CancelToken: Vr,
1680
- VERSION: Qr,
1681
- all: Zr,
1682
- Cancel: Yr,
1683
- isAxiosError: Xr,
1684
- spread: _r,
1685
- toFormData: Kr,
1686
- AxiosHeaders: $r,
1687
- HttpStatusCode: eo,
1688
- formToJSON: to,
1689
- getAdapter: no,
1690
- mergeConfig: so
1691
- } = S;
1692
- function Ns(e) {
1675
+ Axios: Hi,
1676
+ AxiosError: Gi,
1677
+ CanceledError: Vi,
1678
+ isCancel: _i,
1679
+ CancelToken: Wi,
1680
+ VERSION: Ji,
1681
+ all: Qi,
1682
+ Cancel: Zi,
1683
+ isAxiosError: Yi,
1684
+ spread: Xi,
1685
+ toFormData: $i,
1686
+ AxiosHeaders: Ki,
1687
+ HttpStatusCode: ea,
1688
+ formToJSON: ta,
1689
+ getAdapter: na,
1690
+ mergeConfig: oa
1691
+ } = F;
1692
+ function ur(e) {
1693
1693
  return e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1;
1694
1694
  }
1695
- function st(e) {
1695
+ function It(e) {
1696
1696
  return e !== null && typeof e == "object" && !Array.isArray(e);
1697
1697
  }
1698
- function Ft(e = {}, t = {}) {
1698
+ function hn(e = {}, t = {}) {
1699
1699
  const n = {};
1700
- for (const s in e)
1701
- n[s] = e[s];
1702
- for (const s in t) {
1703
- const r = e[s], o = t[s];
1704
- if (st(r) && st(o)) {
1705
- n[s] = Ft(
1700
+ for (const o in e)
1701
+ n[o] = e[o];
1702
+ for (const o in t) {
1703
+ const r = e[o], s = t[o];
1704
+ if (It(r) && It(s)) {
1705
+ n[o] = hn(
1706
1706
  r,
1707
- o
1707
+ s
1708
1708
  );
1709
1709
  continue;
1710
1710
  }
1711
- n[s] = o;
1711
+ n[o] = s;
1712
1712
  }
1713
1713
  return n;
1714
1714
  }
1715
- const Ds = "q-defaults";
1716
- function Bs() {
1715
+ const dr = "q-defaults";
1716
+ function fr() {
1717
1717
  var e, t;
1718
- const n = Ie();
1718
+ const n = lt();
1719
1719
  if (!n)
1720
1720
  throw new Error("[Quidgest UI] useDefaults must be called from inside a setup function");
1721
- const s = n.type.name ?? n.type.__name;
1722
- if (!s) throw new Error("[Quidgest UI] Could not determine component name");
1723
- const r = Cs(), o = (e = r.value) == null ? void 0 : e.Global, i = (t = r.value) == null ? void 0 : t[s];
1724
- return E(() => Ft(o, i));
1721
+ const o = n.type.name ?? n.type.__name;
1722
+ if (!o) throw new Error("[Quidgest UI] Could not determine component name");
1723
+ const r = pr(), s = (e = r.value) == null ? void 0 : e.Global, i = (t = r.value) == null ? void 0 : t[o];
1724
+ return S(() => hn(s, i));
1725
1725
  }
1726
- function Cs() {
1727
- const e = jt(Ds, void 0);
1726
+ function pr() {
1727
+ const e = Mt(dr, void 0);
1728
1728
  if (!e) throw new Error("[Quidgest UI] Could not find defaults instance");
1729
1729
  return e;
1730
1730
  }
1731
- function xs(e) {
1731
+ function hr(e) {
1732
1732
  return e.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([0-9])([a-zA-Z])/g, "$1 $2").replace(/([a-zA-Z])([0-9])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").trim().split(/\s+/);
1733
1733
  }
1734
- function Ls(e) {
1735
- return xs(e).join("-").toLowerCase();
1734
+ function mr(e) {
1735
+ return hr(e).join("-").toLowerCase();
1736
1736
  }
1737
- function Fs(e, t) {
1737
+ function gr(e, t) {
1738
1738
  var n;
1739
- const s = Ls(t);
1740
- return s ? typeof ((n = e.props) == null ? void 0 : n[s]) < "u" : !1;
1739
+ const o = mr(t);
1740
+ return o ? typeof ((n = e.props) == null ? void 0 : n[o]) < "u" : !1;
1741
1741
  }
1742
- function V(e) {
1742
+ function J(e) {
1743
1743
  const t = e, n = t.setup;
1744
- return n && (t.setup = (s, r) => {
1745
- const o = Bs();
1746
- if (Ns(o.value)) return n(s, r);
1747
- const i = Ie();
1748
- if (i === null) return n(s, r);
1749
- const a = new Proxy(s, {
1750
- get(u, c) {
1751
- var d;
1752
- const f = Reflect.get(u, c), b = (d = o.value) == null ? void 0 : d[c];
1753
- return typeof c == "string" && !Fs(i.vnode, c) ? b ?? f : f;
1744
+ return n && (t.setup = (o, r) => {
1745
+ const s = fr();
1746
+ if (ur(s.value)) return n(o, r);
1747
+ const i = lt();
1748
+ if (i === null) return n(o, r);
1749
+ const a = new Proxy(o, {
1750
+ get(d, c) {
1751
+ var u;
1752
+ const f = Reflect.get(d, c), b = (u = s.value) == null ? void 0 : u[c];
1753
+ return typeof c == "string" && !gr(i.vnode, c) ? b ?? f : f;
1754
1754
  }
1755
1755
  });
1756
1756
  return n(a, r);
1757
1757
  }), e;
1758
1758
  }
1759
- const Is = ["id"], Ps = /* @__PURE__ */ P({
1759
+ const br = ["id"], yr = /* @__PURE__ */ q({
1760
1760
  __name: "QSpinnerLoader",
1761
1761
  props: {
1762
1762
  id: {},
@@ -1764,19 +1764,19 @@ const Is = ["id"], Ps = /* @__PURE__ */ P({
1764
1764
  size: { default: 48 }
1765
1765
  },
1766
1766
  setup(e) {
1767
- const t = e, n = E(() => ({
1767
+ const t = e, n = S(() => ({
1768
1768
  "font-size": t.size !== 48 ? `${t.size}px` : void 0
1769
1769
  }));
1770
- return (s, r) => (y(), O("div", {
1770
+ return (o, r) => (w(), C("div", {
1771
1771
  id: t.id,
1772
- class: U(["q-spinner-loader", t.class]),
1773
- style: ie(n.value)
1774
- }, null, 14, Is));
1772
+ class: V(["q-spinner-loader", t.class]),
1773
+ style: Re(n.value)
1774
+ }, null, 14, br));
1775
1775
  }
1776
- }), js = V(Ps), Us = ["id", "disabled"], ks = {
1776
+ }), vr = J(yr), wr = ["id", "disabled"], Ar = {
1777
1777
  key: 0,
1778
1778
  class: "q-btn__spinner"
1779
- }, zs = { class: "q-btn__content" }, Ms = /* @__PURE__ */ P({
1779
+ }, Er = { class: "q-btn__content" }, Sr = /* @__PURE__ */ q({
1780
1780
  __name: "QButton",
1781
1781
  props: {
1782
1782
  id: {},
@@ -1794,11 +1794,11 @@ const Is = ["id"], Ps = /* @__PURE__ */ P({
1794
1794
  },
1795
1795
  emits: ["click"],
1796
1796
  setup(e, { emit: t }) {
1797
- const n = e, s = t, r = E(() => n.disabled || n.loading);
1798
- function o(a) {
1799
- r.value || s("click", a);
1797
+ const n = e, o = t, r = S(() => n.disabled || n.loading);
1798
+ function s(a) {
1799
+ r.value || o("click", a);
1800
1800
  }
1801
- const i = E(() => {
1801
+ const i = S(() => {
1802
1802
  const a = n.size !== "regular" ? `q-btn--${n.size}` : void 0;
1803
1803
  return [
1804
1804
  "q-btn",
@@ -1814,37 +1814,37 @@ const Is = ["id"], Ps = /* @__PURE__ */ P({
1814
1814
  n.class
1815
1815
  ];
1816
1816
  });
1817
- return (a, u) => (y(), O("button", {
1817
+ return (a, d) => (w(), C("button", {
1818
1818
  id: n.id,
1819
1819
  type: "button",
1820
- class: U(i.value),
1820
+ class: V(i.value),
1821
1821
  disabled: r.value,
1822
- onClick: Ut(o, ["stop", "prevent"])
1822
+ onClick: wn(s, ["stop", "prevent"])
1823
1823
  }, [
1824
- a.loading ? (y(), O("div", ks, [
1825
- J(x(js), { size: 20 })
1826
- ])) : Z("v-if", !0),
1827
- C("span", zs, [
1828
- a.iconOnRight ? (y(), O(
1829
- se,
1824
+ a.loading ? (w(), C("div", Ar, [
1825
+ P(A(vr), { size: 20 })
1826
+ ])) : j("v-if", !0),
1827
+ T("span", Er, [
1828
+ a.iconOnRight ? (w(), C(
1829
+ fe,
1830
1830
  { key: 0 },
1831
1831
  [
1832
- Ge(
1833
- re(n.label),
1832
+ gt(
1833
+ pe(n.label),
1834
1834
  1
1835
1835
  /* TEXT */
1836
1836
  )
1837
1837
  ],
1838
1838
  64
1839
1839
  /* STABLE_FRAGMENT */
1840
- )) : Z("v-if", !0),
1841
- L(a.$slots, "default"),
1842
- a.iconOnRight ? Z("v-if", !0) : (y(), O(
1843
- se,
1840
+ )) : j("v-if", !0),
1841
+ U(a.$slots, "default"),
1842
+ a.iconOnRight ? j("v-if", !0) : (w(), C(
1843
+ fe,
1844
1844
  { key: 1 },
1845
1845
  [
1846
- Ge(
1847
- re(n.label),
1846
+ gt(
1847
+ pe(n.label),
1848
1848
  1
1849
1849
  /* TEXT */
1850
1850
  )
@@ -1853,77 +1853,188 @@ const Is = ["id"], Ps = /* @__PURE__ */ P({
1853
1853
  /* STABLE_FRAGMENT */
1854
1854
  ))
1855
1855
  ])
1856
- ], 10, Us));
1856
+ ], 10, wr));
1857
+ }
1858
+ }), te = J(Sr);
1859
+ function Rr(e, t = !1) {
1860
+ return t ? /^#[a-fA-F0-9]{6}$/.test(e) : /^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/.test(e);
1861
+ }
1862
+ function xr(e) {
1863
+ const t = e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
1864
+ if (t) {
1865
+ const n = parseInt(t[1], 10), o = parseInt(t[2], 10), r = parseInt(t[3], 10);
1866
+ return { r: n, g: o, b: r };
1867
+ }
1868
+ }
1869
+ function Br(e) {
1870
+ if (Rr(e)) {
1871
+ e.length === 4 && (e = "#" + e[1] + e[1] + e[2] + e[2] + e[3] + e[3]);
1872
+ const t = parseInt(e.slice(1, 3), 16), n = parseInt(e.slice(3, 5), 16), o = parseInt(e.slice(5, 7), 16);
1873
+ return { r: t, g: n, b: o };
1874
+ } else {
1875
+ const t = xr(e);
1876
+ if (t) return t;
1877
+ }
1878
+ throw new Error("Invalid color format");
1879
+ }
1880
+ function Cr(e, t) {
1881
+ const n = mn(e), o = t / 100;
1882
+ return n.l = n.l - o * n.l, kr(n);
1883
+ }
1884
+ function Tr(e) {
1885
+ const t = e.r.toString(16).padStart(2, "0"), n = e.g.toString(16).padStart(2, "0"), o = e.b.toString(16).padStart(2, "0");
1886
+ return `#${t}${n}${o}`;
1887
+ }
1888
+ function mn(e) {
1889
+ const t = e.r / 255, n = e.g / 255, o = e.b / 255, r = Math.max(t, n, o), s = Math.min(t, n, o);
1890
+ let i = 0, a;
1891
+ const d = (r + s) / 2;
1892
+ if (r === s)
1893
+ i = a = 0;
1894
+ else {
1895
+ const c = r - s;
1896
+ switch (a = d > 0.5 ? c / (2 - r - s) : c / (r + s), r) {
1897
+ case t:
1898
+ i = (n - o) / c + (n < o ? 6 : 0);
1899
+ break;
1900
+ case n:
1901
+ i = (o - t) / c + 2;
1902
+ break;
1903
+ case o:
1904
+ i = (t - n) / c + 4;
1905
+ break;
1906
+ }
1907
+ i /= 6;
1857
1908
  }
1858
- }), rt = V(Ms), qs = /* @__PURE__ */ P({
1909
+ return {
1910
+ h: Math.round(i * 360),
1911
+ s: Math.round(a * 100),
1912
+ l: Math.round(d * 100)
1913
+ };
1914
+ }
1915
+ function kr(e) {
1916
+ const t = e.h / 360, n = e.s / 100, o = e.l / 100;
1917
+ let r, s, i;
1918
+ if (n === 0)
1919
+ r = s = i = o;
1920
+ else {
1921
+ const a = o < 0.5 ? o * (1 + n) : o + n - o * n, d = 2 * o - a;
1922
+ r = Qe(d, a, t + 1 / 3), s = Qe(d, a, t), i = Qe(d, a, t - 1 / 3);
1923
+ }
1924
+ return {
1925
+ r: Math.round(r * 255),
1926
+ g: Math.round(s * 255),
1927
+ b: Math.round(i * 255)
1928
+ };
1929
+ }
1930
+ function Qe(e, t, n) {
1931
+ return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
1932
+ }
1933
+ function Dr(e) {
1934
+ return e > 50 ? "#000" : "#fff";
1935
+ }
1936
+ const Or = Symbol.for("q-theme");
1937
+ function gn() {
1938
+ const e = Mt(Or);
1939
+ if (!e)
1940
+ throw new Error("[Quidgest UI] Could not find theme instance");
1941
+ return e;
1942
+ }
1943
+ function Ir(e, t) {
1944
+ const n = /* @__PURE__ */ new Set(["primary", "info", "success", "warning", "danger", "highlight"]), o = S(() => n.has(A(e) ?? "")), r = S(() => {
1945
+ const s = A(e);
1946
+ if (!s) return;
1947
+ let i = s;
1948
+ const a = gn();
1949
+ if (o.value) {
1950
+ const p = s;
1951
+ i = a.current.value.scheme[p] ?? s;
1952
+ }
1953
+ let d;
1954
+ try {
1955
+ if (d = Br(i), !d) return;
1956
+ } catch (p) {
1957
+ console.error("Failed to parse color:", p);
1958
+ return;
1959
+ }
1960
+ const c = mn(d), u = Dr(c.l), f = Tr(Cr(d, 25)), b = A(t);
1961
+ return {
1962
+ backgroundColor: i,
1963
+ color: b === "tonal" || b === "outlined" ? i : u,
1964
+ hoverColor: b === "tonal" || b === "outlined" ? u : void 0,
1965
+ hoverBackgroundColor: b !== "tonal" && b !== "outlined" ? f : void 0
1966
+ };
1967
+ });
1968
+ return { isUtilityColor: o, style: r };
1969
+ }
1970
+ const Nr = /* @__PURE__ */ q({
1859
1971
  __name: "QIcon",
1860
1972
  props: {
1861
1973
  id: {},
1862
1974
  class: {},
1863
1975
  icon: {},
1976
+ type: { default: "svg" },
1864
1977
  size: {},
1865
- type: { default: "svg" }
1978
+ color: {}
1866
1979
  },
1867
1980
  setup(e) {
1868
- const t = e, n = E(() => {
1981
+ const t = e, n = S(() => {
1869
1982
  switch (t.type) {
1870
1983
  case "svg":
1871
- return Ks;
1984
+ return Vr;
1872
1985
  case "font":
1873
- return Xs;
1986
+ return Hr;
1874
1987
  case "img":
1875
- return _s;
1988
+ return Gr;
1876
1989
  default:
1877
1990
  return;
1878
1991
  }
1992
+ }), o = Ir(jt(t, "color"), "bold"), r = S(() => {
1993
+ var s;
1994
+ return {
1995
+ "font-size": t.size !== void 0 ? `${t.size}px` : void 0,
1996
+ color: t.color !== void 0 && t.color !== "primary" ? (s = o.style.value) == null ? void 0 : s.backgroundColor : void 0
1997
+ };
1879
1998
  });
1880
- return (s, r) => (y(), ae(kt(n.value), {
1999
+ return (s, i) => (w(), _(An(n.value), {
1881
2000
  id: t.id,
1882
- class: U(t.class),
2001
+ class: V(t.class),
1883
2002
  icon: t.icon,
1884
- size: t.size
1885
- }, null, 8, ["id", "class", "icon", "size"]));
2003
+ style: Re(r.value)
2004
+ }, null, 8, ["id", "class", "icon", "style"]));
1886
2005
  }
1887
- }), Gs = ["id"], Hs = /* @__PURE__ */ P({
2006
+ }), Lr = ["id"], Ur = /* @__PURE__ */ q({
1888
2007
  __name: "QIconFont",
1889
2008
  props: {
1890
2009
  id: {},
1891
2010
  class: {},
1892
2011
  icon: {},
1893
- size: {},
1894
2012
  library: { default: "" },
1895
2013
  variant: {}
1896
2014
  },
1897
2015
  setup(e) {
1898
- const t = e, n = E(() => t.variant ? `${t.library}-${t.variant}` : t.library), s = E(() => t.library && t.icon ? `${t.library}-${t.icon}` : t.icon), r = E(() => ({
1899
- "font-size": t.size !== void 0 ? `${t.size}px` : void 0
1900
- }));
1901
- return (o, i) => (y(), O("i", {
2016
+ const t = e, n = S(() => t.variant ? `${t.library}-${t.variant}` : t.library), o = S(() => t.library && t.icon ? `${t.library}-${t.icon}` : t.icon);
2017
+ return (r, s) => (w(), C("i", {
1902
2018
  id: t.id,
1903
- class: U(["q-icon", "q-icon__font", n.value, s.value, t.class]),
1904
- style: ie(r.value)
1905
- }, null, 14, Gs));
2019
+ class: V(["q-icon", "q-icon__font", n.value, o.value, t.class])
2020
+ }, null, 10, Lr));
1906
2021
  }
1907
- }), Ws = ["id", "src"], Js = /* @__PURE__ */ P({
2022
+ }), Fr = ["id", "src"], Pr = /* @__PURE__ */ q({
1908
2023
  __name: "QIconImg",
1909
2024
  props: {
1910
2025
  id: {},
1911
2026
  class: {},
1912
- icon: {},
1913
- size: {}
2027
+ icon: {}
1914
2028
  },
1915
2029
  setup(e) {
1916
- const t = e, n = E(() => ({
1917
- "font-size": t.size !== void 0 ? `${t.size}px` : void 0
1918
- }));
1919
- return (s, r) => (y(), O("img", {
2030
+ const t = e;
2031
+ return (n, o) => (w(), C("img", {
1920
2032
  id: t.id,
1921
2033
  src: t.icon,
1922
- class: U(["q-icon", "q-icon__img", t.class]),
1923
- style: ie(n.value)
1924
- }, null, 14, Ws));
2034
+ class: V(["q-icon", "q-icon__img", t.class])
2035
+ }, null, 10, Fr));
1925
2036
  }
1926
- }), te = {}, Vs = P({
2037
+ }), Se = {}, Mr = q({
1927
2038
  name: "InlineSvg",
1928
2039
  inheritAttrs: !1,
1929
2040
  props: {
@@ -1987,14 +2098,14 @@ const Is = ["id"], Ps = /* @__PURE__ */ P({
1987
2098
  methods: {
1988
2099
  copySvgAttrs(e, t) {
1989
2100
  const n = t.attributes;
1990
- if (n) for (const s of n) e[s.name] = s.value;
2101
+ if (n) for (const o of n) e[o.name] = o.value;
1991
2102
  },
1992
2103
  copyComponentAttrs(e, t) {
1993
- for (const [n, s] of Object.entries(t))
1994
- s !== !1 && s !== null && s !== void 0 && (e[n] = s);
2104
+ for (const [n, o] of Object.entries(t))
2105
+ o !== !1 && o !== null && o !== void 0 && (e[n] = o);
1995
2106
  },
1996
2107
  getSvgContent(e) {
1997
- return this.symbol && (e = e.getElementById(this.symbol), !e) ? null : (this.transformSource && (e = e.cloneNode(!0), e = this.transformSource(e)), this.title && (this.transformSource || (e = e.cloneNode(!0)), Qs(e, this.title)), e);
2108
+ return this.symbol && (e = e.getElementById(this.symbol), !e) ? null : (this.transformSource && (e = e.cloneNode(!0), e = this.transformSource(e)), this.title && (this.transformSource || (e = e.cloneNode(!0)), jr(e, this.title)), e);
1998
2109
  },
1999
2110
  /**
2000
2111
  * Get svgElSource
@@ -2002,11 +2113,11 @@ const Is = ["id"], Ps = /* @__PURE__ */ P({
2002
2113
  */
2003
2114
  async getSource(e) {
2004
2115
  try {
2005
- te[e] || (te[e] = Zs(this.download(e))), this.svgElSource && te[e].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
2006
- const t = await te[e];
2116
+ Se[e] || (Se[e] = qr(this.download(e))), this.svgElSource && Se[e].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
2117
+ const t = await Se[e];
2007
2118
  this.svgElSource = t, await this.$nextTick(), this.$emit("loaded", this.$el);
2008
2119
  } catch (t) {
2009
- this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete te[e], this.$emit("error", t);
2120
+ this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete Se[e], this.$emit("error", t);
2010
2121
  }
2011
2122
  },
2012
2123
  /**
@@ -2017,76 +2128,72 @@ const Is = ["id"], Ps = /* @__PURE__ */ P({
2017
2128
  async download(e) {
2018
2129
  const t = await fetch(e);
2019
2130
  if (!t.ok) throw new Error("Error loading SVG");
2020
- const n = await t.text(), s = new DOMParser().parseFromString(n, "text/xml").getElementsByTagName("svg")[0];
2021
- if (!s) throw new Error("Loaded file is not a valid SVG");
2022
- return s;
2131
+ const n = await t.text(), o = new DOMParser().parseFromString(n, "text/xml").getElementsByTagName("svg")[0];
2132
+ if (!o) throw new Error("Loaded file is not a valid SVG");
2133
+ return o;
2023
2134
  }
2024
2135
  },
2025
2136
  render() {
2026
2137
  if (!this.svgElSource) return null;
2027
2138
  const e = this.getSvgContent(this.svgElSource);
2028
- if (!e) return He("div", this.$attrs);
2139
+ if (!e) return bt("div", this.$attrs);
2029
2140
  const t = {};
2030
- return this.copySvgAttrs(t, this.svgElSource), this.copySvgAttrs(t, e), this.copyComponentAttrs(t, this.$attrs), t.innerHTML = e.innerHTML, He("svg", t);
2141
+ return this.copySvgAttrs(t, this.svgElSource), this.copySvgAttrs(t, e), this.copyComponentAttrs(t, this.$attrs), t.innerHTML = e.innerHTML, bt("svg", t);
2031
2142
  },
2032
2143
  expose: []
2033
2144
  });
2034
- function Qs(e, t) {
2145
+ function jr(e, t) {
2035
2146
  const n = e.getElementsByTagName("title");
2036
2147
  if (n.length)
2037
2148
  n[0].textContent = t;
2038
2149
  else {
2039
- const s = document.createElementNS("http://www.w3.org/2000/svg", "title");
2040
- s.textContent = t, e.insertBefore(s, e.firstChild);
2150
+ const o = document.createElementNS("http://www.w3.org/2000/svg", "title");
2151
+ o.textContent = t, e.insertBefore(o, e.firstChild);
2041
2152
  }
2042
2153
  }
2043
- function Zs(e) {
2154
+ function qr(e) {
2044
2155
  if (e.getIsPending) return e;
2045
2156
  let t = !0;
2046
2157
  const n = e.then(
2047
- (s) => (t = !1, s),
2048
- (s) => {
2049
- throw t = !1, s;
2158
+ (o) => (t = !1, o),
2159
+ (o) => {
2160
+ throw t = !1, o;
2050
2161
  }
2051
2162
  );
2052
2163
  return n.getIsPending = () => t, n;
2053
2164
  }
2054
- const Ys = /* @__PURE__ */ P({
2165
+ const zr = /* @__PURE__ */ q({
2055
2166
  __name: "QIconSvg",
2056
2167
  props: {
2057
2168
  id: {},
2058
2169
  class: {},
2059
2170
  icon: {},
2060
- size: {},
2061
2171
  bundle: { default: "" }
2062
2172
  },
2063
2173
  emits: ["loaded", "unloaded"],
2064
2174
  setup(e, { emit: t }) {
2065
- const n = e, s = t, r = E(() => ({
2066
- "font-size": n.size !== void 0 ? `${n.size}px` : void 0
2067
- }));
2068
- function o(a) {
2069
- s("loaded", a);
2175
+ const n = e, o = t;
2176
+ function r(i) {
2177
+ o("loaded", i);
2070
2178
  }
2071
- function i() {
2072
- s("unloaded");
2179
+ function s() {
2180
+ o("unloaded");
2073
2181
  }
2074
- return (a, u) => (y(), ae(x(Vs), {
2182
+ return (i, a) => (w(), _(A(Mr), {
2075
2183
  id: n.id,
2076
- class: U(["q-icon", "q-icon__svg", n.class]),
2184
+ class: V(["q-icon", "q-icon__svg", n.class]),
2077
2185
  src: n.bundle,
2078
2186
  symbol: n.icon,
2079
- style: ie(r.value),
2080
- onLoaded: o,
2081
- onUnloaded: i
2082
- }, null, 8, ["id", "class", "src", "symbol", "style"]));
2187
+ onLoaded: r,
2188
+ onUnloaded: s
2189
+ }, null, 8, ["id", "class", "src", "symbol"]));
2083
2190
  }
2084
- }), Fe = V(qs), Xs = V(Hs), _s = V(Js), Ks = V(Ys);
2085
- let $s = 0;
2086
- function er(e) {
2087
- return x(e) || `uid-${++$s}`;
2191
+ }), se = J(Nr), Hr = J(Ur), Gr = J(Pr), Vr = J(zr);
2192
+ let _r = 0;
2193
+ function bn(e) {
2194
+ return A(e) || `uid-${++_r}`;
2088
2195
  }
2089
- const tr = ["id"], nr = ["for"], sr = /* @__PURE__ */ P({
2196
+ const Wr = ["id"], Jr = ["for"], Qr = /* @__PURE__ */ q({
2090
2197
  inheritAttrs: !1,
2091
2198
  __name: "QLabel",
2092
2199
  props: {
@@ -2097,27 +2204,27 @@ const tr = ["id"], nr = ["for"], sr = /* @__PURE__ */ P({
2097
2204
  },
2098
2205
  setup(e) {
2099
2206
  const t = e;
2100
- return (n, s) => (y(), O("div", {
2207
+ return (n, o) => (w(), C("div", {
2101
2208
  id: t.id,
2102
- class: U(["q-label", t.class])
2209
+ class: V(["q-label", t.class])
2103
2210
  }, [
2104
- L(n.$slots, "prepend"),
2105
- C("label", ge({
2211
+ U(n.$slots, "prepend"),
2212
+ T("label", le({
2106
2213
  for: t.for
2107
- }, n.$attrs), re(t.label), 17, nr),
2108
- L(n.$slots, "append")
2109
- ], 10, tr));
2214
+ }, n.$attrs), pe(t.label), 17, Jr),
2215
+ U(n.$slots, "append")
2216
+ ], 10, Wr));
2110
2217
  }
2111
- }), It = V(sr), rr = ["id"], or = {
2218
+ }), yn = J(Qr), Zr = ["id"], Yr = {
2112
2219
  key: 0,
2113
2220
  class: "q-field__prepend"
2114
- }, ir = {
2221
+ }, Xr = {
2115
2222
  key: 1,
2116
2223
  class: "q-field__append"
2117
- }, ar = {
2224
+ }, $r = {
2118
2225
  key: 1,
2119
2226
  class: "q-field__extras"
2120
- }, lr = /* @__PURE__ */ P({
2227
+ }, Kr = /* @__PURE__ */ q({
2121
2228
  inheritAttrs: !1,
2122
2229
  __name: "QField",
2123
2230
  props: {
@@ -2132,7 +2239,7 @@ const tr = ["id"], nr = ["for"], sr = /* @__PURE__ */ P({
2132
2239
  invalid: { type: Boolean }
2133
2240
  },
2134
2241
  setup(e, { expose: t }) {
2135
- const n = e, s = G(null), r = E(() => n.required && !n.readonly && !n.disabled), o = E(() => [
2242
+ const n = e, o = M(null), r = S(() => n.required && !n.readonly && !n.disabled), s = S(() => [
2136
2243
  "q-field",
2137
2244
  `q-field--${n.size}`,
2138
2245
  {
@@ -2144,140 +2251,941 @@ const tr = ["id"], nr = ["for"], sr = /* @__PURE__ */ P({
2144
2251
  n.class
2145
2252
  ]);
2146
2253
  return t({
2147
- fieldRef: s
2148
- }), (i, a) => (y(), O("div", {
2254
+ fieldRef: o
2255
+ }), (i, a) => (w(), C("div", {
2149
2256
  id: n.id,
2150
- class: U(o.value)
2257
+ class: V(s.value)
2151
2258
  }, [
2152
- n.label ? (y(), ae(x(It), {
2259
+ n.label ? (w(), _(A(yn), {
2153
2260
  key: 0,
2154
2261
  class: "q-field__label",
2155
2262
  label: n.label,
2156
2263
  for: n.for
2157
2264
  }, {
2158
- prepend: H(() => [
2159
- L(i.$slots, "label.prepend")
2265
+ prepend: D(() => [
2266
+ U(i.$slots, "label.prepend")
2160
2267
  ]),
2161
- append: H(() => [
2162
- L(i.$slots, "label.append")
2268
+ append: D(() => [
2269
+ U(i.$slots, "label.append")
2163
2270
  ]),
2164
2271
  _: 3
2165
2272
  /* FORWARDED */
2166
- }, 8, ["label", "for"])) : Z("v-if", !0),
2167
- L(i.$slots, "control", {}, () => [
2168
- C(
2273
+ }, 8, ["label", "for"])) : j("v-if", !0),
2274
+ U(i.$slots, "control", {}, () => [
2275
+ T(
2169
2276
  "div",
2170
- ge({
2277
+ le({
2171
2278
  ref_key: "fieldRef",
2172
- ref: s,
2279
+ ref: o,
2173
2280
  class: "q-field__control"
2174
2281
  }, i.$attrs),
2175
2282
  [
2176
- i.$slots.prepend ? (y(), O("div", or, [
2177
- L(i.$slots, "prepend")
2178
- ])) : Z("v-if", !0),
2179
- L(i.$slots, "default"),
2180
- i.$slots.append ? (y(), O("div", ir, [
2181
- L(i.$slots, "append")
2182
- ])) : Z("v-if", !0)
2283
+ i.$slots.prepend ? (w(), C("div", Yr, [
2284
+ U(i.$slots, "prepend")
2285
+ ])) : j("v-if", !0),
2286
+ U(i.$slots, "default"),
2287
+ i.$slots.append ? (w(), C("div", Xr, [
2288
+ U(i.$slots, "append")
2289
+ ])) : j("v-if", !0)
2183
2290
  ],
2184
2291
  16
2185
2292
  /* FULL_PROPS */
2186
2293
  )
2187
2294
  ]),
2188
- i.$slots.extras ? (y(), O("div", ar, [
2189
- L(i.$slots, "extras")
2190
- ])) : Z("v-if", !0)
2191
- ], 10, rr));
2295
+ i.$slots.extras ? (w(), C("div", $r, [
2296
+ U(i.$slots, "extras")
2297
+ ])) : j("v-if", !0)
2298
+ ], 10, Zr));
2299
+ }
2300
+ }), vn = J(Kr), es = {
2301
+ clearValue: "Clear value"
2302
+ }, ts = {
2303
+ clear: {
2304
+ icon: "close"
2305
+ }
2306
+ }, ns = /* @__PURE__ */ q({
2307
+ __name: "QClearButton",
2308
+ props: {
2309
+ id: {},
2310
+ class: {},
2311
+ icons: { default: () => ts },
2312
+ texts: { default: () => es }
2313
+ },
2314
+ emits: ["click"],
2315
+ setup(e, { emit: t }) {
2316
+ const n = e, o = t;
2317
+ function r(s) {
2318
+ o("click", s);
2319
+ }
2320
+ return (s, i) => (w(), _(A(te), {
2321
+ id: n.id,
2322
+ class: V(["q-clear-btn", n.class]),
2323
+ "aria-label": n.texts.clearValue,
2324
+ "b-style": "plain",
2325
+ borderless: "",
2326
+ tabindex: "-1",
2327
+ onClick: r
2328
+ }, {
2329
+ default: D(() => [
2330
+ P(
2331
+ A(se),
2332
+ Ke(et(n.icons.clear)),
2333
+ null,
2334
+ 16
2335
+ /* FULL_PROPS */
2336
+ )
2337
+ ]),
2338
+ _: 1
2339
+ /* STABLE */
2340
+ }, 8, ["id", "class", "aria-label"]));
2192
2341
  }
2193
- }), cr = V(lr);
2194
- function ur(e) {
2195
- return Gt() ? (Ht(e), !0) : !1;
2342
+ }), os = J(ns), rs = ["id", "type", "required", "placeholder", "readonly", "disabled"], ss = /* @__PURE__ */ q({
2343
+ inheritAttrs: !1,
2344
+ __name: "QTextField",
2345
+ props: /* @__PURE__ */ ge({
2346
+ id: {},
2347
+ class: {},
2348
+ label: {},
2349
+ for: {},
2350
+ size: {},
2351
+ readonly: { type: Boolean },
2352
+ disabled: { type: Boolean },
2353
+ required: { type: Boolean },
2354
+ invalid: { type: Boolean },
2355
+ placeholder: {},
2356
+ clearable: { type: Boolean },
2357
+ type: { default: "text" },
2358
+ texts: {}
2359
+ }, {
2360
+ modelValue: {},
2361
+ modelModifiers: {}
2362
+ }),
2363
+ emits: /* @__PURE__ */ ge(["click:clear"], ["update:modelValue"]),
2364
+ setup(e, { expose: t, emit: n }) {
2365
+ const o = e, r = n, s = Le(e, "modelValue"), i = bn(o.id), a = M(null), d = M(null), c = S(
2366
+ () => o.readonly || o.disabled ? void 0 : o.placeholder
2367
+ ), u = S(() => o.clearable && !o.readonly && !o.disabled), f = S(() => u.value && s.value);
2368
+ function b(p) {
2369
+ u.value && (s.value = "", r("click:clear", p));
2370
+ }
2371
+ return t({
2372
+ fieldRef: S(() => {
2373
+ var p;
2374
+ return (p = a.value) == null ? void 0 : p.fieldRef;
2375
+ }),
2376
+ inputRef: d
2377
+ }), (p, m) => (w(), _(A(vn), {
2378
+ ref_key: "fieldRef",
2379
+ ref: a,
2380
+ class: V(["q-text-field", o.class]),
2381
+ for: A(i),
2382
+ label: o.label,
2383
+ size: o.size,
2384
+ readonly: o.readonly,
2385
+ disabled: o.disabled,
2386
+ required: o.required,
2387
+ invalid: o.invalid
2388
+ }, qt({
2389
+ "label.prepend": D(() => [
2390
+ U(p.$slots, "label.prepend")
2391
+ ]),
2392
+ "label.append": D(() => [
2393
+ U(p.$slots, "label.append")
2394
+ ]),
2395
+ default: D(() => [
2396
+ zt(T("input", le({
2397
+ id: A(i),
2398
+ ref_key: "inputRef",
2399
+ ref: d,
2400
+ "onUpdate:modelValue": m[0] || (m[0] = (g) => s.value = g),
2401
+ class: "q-text-field__input",
2402
+ type: o.type,
2403
+ required: o.required,
2404
+ placeholder: c.value,
2405
+ readonly: o.readonly,
2406
+ disabled: o.disabled
2407
+ }, p.$attrs), null, 16, rs), [
2408
+ [En, s.value]
2409
+ ])
2410
+ ]),
2411
+ _: 2
2412
+ /* DYNAMIC */
2413
+ }, [
2414
+ p.$slots.prepend ? {
2415
+ name: "prepend",
2416
+ fn: D(() => [
2417
+ U(p.$slots, "prepend")
2418
+ ]),
2419
+ key: "0"
2420
+ } : void 0,
2421
+ p.$slots.append || f.value ? {
2422
+ name: "append",
2423
+ fn: D(() => [
2424
+ U(p.$slots, "append"),
2425
+ f.value ? (w(), _(A(os), {
2426
+ key: 0,
2427
+ "data-testid": "q-text-field__clear-button",
2428
+ texts: o.texts,
2429
+ onClick: b
2430
+ }, null, 8, ["texts"])) : j("v-if", !0)
2431
+ ]),
2432
+ key: "1"
2433
+ } : void 0,
2434
+ p.$slots.extras ? {
2435
+ name: "extras",
2436
+ fn: D(() => [
2437
+ U(p.$slots, "extras")
2438
+ ]),
2439
+ key: "2"
2440
+ } : void 0
2441
+ ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required", "invalid"]));
2442
+ }
2443
+ }), is = J(ss), me = "data-scroll-locked", Ze = "right-scroll-bar-position", Ye = "width-before-scroll-bar", as = "with-scroll-bars-hidden", ls = "--removed-body-scroll-bar-size", cs = {
2444
+ left: 0,
2445
+ top: 0,
2446
+ right: 0,
2447
+ gap: 0
2448
+ }, Xe = (e) => parseInt(e || "", 10) || 0, us = (e) => {
2449
+ const t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], o = t[e === "padding" ? "paddingTop" : "marginTop"], r = t[e === "padding" ? "paddingRight" : "marginRight"];
2450
+ return [Xe(n), Xe(o), Xe(r)];
2451
+ }, ds = (e = "margin") => {
2452
+ if (typeof window > "u")
2453
+ return cs;
2454
+ const t = us(e), n = document.documentElement.clientWidth, o = window.innerWidth;
2455
+ return {
2456
+ left: t[0],
2457
+ top: t[1],
2458
+ right: t[2],
2459
+ gap: Math.max(0, o - n + t[2] - t[0])
2460
+ };
2461
+ };
2462
+ function fs() {
2463
+ return document ? document.createElement("style") : null;
2464
+ }
2465
+ function ps(e, t) {
2466
+ e.appendChild(document.createTextNode(t));
2467
+ }
2468
+ function hs(e) {
2469
+ (document.head || document.getElementsByTagName("head")[0]).appendChild(e);
2470
+ }
2471
+ const ms = () => {
2472
+ let e = 0, t = null;
2473
+ return {
2474
+ add: (n) => {
2475
+ e === 0 && (t = fs()) && (ps(t, n), hs(t)), e++;
2476
+ },
2477
+ remove: () => {
2478
+ var n;
2479
+ e--, !e && t && ((n = t.parentNode) == null || n.removeChild(t), t = null);
2480
+ }
2481
+ };
2482
+ }, gs = /* @__PURE__ */ q({
2483
+ __name: "QRemoveScrollBar",
2484
+ props: {
2485
+ noRelative: { type: Boolean },
2486
+ noImportant: { type: Boolean },
2487
+ gapMode: { default: "margin" }
2488
+ },
2489
+ setup(e) {
2490
+ const t = e, n = ms(), o = () => {
2491
+ const s = parseInt(document.body.getAttribute(me) || "0", 10);
2492
+ return isFinite(s) ? s : 0;
2493
+ }, r = ({ left: s, top: i, right: a, gap: d }, c, u = "margin", f) => `
2494
+ .${as} {
2495
+ overflow: hidden ${f};
2496
+ padding-right: ${d}px ${f};
2497
+ }
2498
+ body[${me}] {
2499
+ overflow: hidden ${f};
2500
+ overscroll-behavior: contain;
2501
+ ${[
2502
+ c && `position: relative ${f};`,
2503
+ u === "margin" && `
2504
+ padding-left: ${s}px;
2505
+ padding-top: ${i}px;
2506
+ padding-right: ${a}px;
2507
+ margin-left:0;
2508
+ margin-top:0;
2509
+ margin-right: ${d}px ${f};
2510
+ `,
2511
+ u === "padding" && `padding-right: ${d}px ${f};`
2512
+ ].filter(Boolean).join("")}
2513
+ }
2514
+
2515
+ .${Ze} {
2516
+ right: ${d}px ${f};
2517
+ }
2518
+
2519
+ .${Ye} {
2520
+ margin-right: ${d}px ${f};
2521
+ }
2522
+
2523
+ .${Ze} .${Ze} {
2524
+ right: 0 ${f};
2525
+ }
2526
+
2527
+ .${Ye} .${Ye} {
2528
+ margin-right: 0 ${f};
2529
+ }
2530
+
2531
+ body[${me}] {
2532
+ ${ls}: ${d}px;
2533
+ }
2534
+ `;
2535
+ return Ue(() => {
2536
+ document.body.setAttribute(me, (o() + 1).toString());
2537
+ const s = ds(t.gapMode);
2538
+ n.add(
2539
+ r(s, !t.noRelative, t.gapMode, t.noImportant ? "" : "!important")
2540
+ );
2541
+ }), Sn(() => {
2542
+ const s = o() - 1;
2543
+ s <= 0 ? document.body.removeAttribute(me) : document.body.setAttribute(me, s.toString()), n.remove();
2544
+ }), (s, i) => U(s.$slots, "default");
2545
+ }
2546
+ }), bs = J(gs);
2547
+ function ys(e, t, n, o) {
2548
+ const r = (o == null ? void 0 : o.offset) ?? 0, s = (o == null ? void 0 : o.crossOffset) ?? 0, i = (o == null ? void 0 : o.placement) ?? "bottom", a = e.getBoundingClientRect(), d = t.getBoundingClientRect(), c = n == null ? void 0 : n.getBoundingClientRect(), u = vs(a, d, i, r), f = Rs(a, d, u), b = As(f, u, r), p = Es(b, u, s), m = ws(p, d, u);
2549
+ let g;
2550
+ if (o != null && o.arrow) {
2551
+ if (!c)
2552
+ throw new Error("[Quidgest UI] The arrow element must exist to compute its position");
2553
+ g = Ss(m, a, d, c, u);
2554
+ }
2555
+ return { overlayCoords: m, arrowCoords: g, placement: u };
2556
+ }
2557
+ function vs(e, t, n, o) {
2558
+ const r = Nt(e, t, n, o);
2559
+ if (Lt(r)) {
2560
+ const s = ve(n), i = {
2561
+ top: "bottom",
2562
+ bottom: "top",
2563
+ left: "right",
2564
+ right: "left"
2565
+ }[s], a = Nt(
2566
+ e,
2567
+ t,
2568
+ i,
2569
+ o
2570
+ );
2571
+ if (Lt(a))
2572
+ return n;
2573
+ const d = Cs(n);
2574
+ return d ? `${i}-${d}` : i;
2575
+ }
2576
+ return n;
2577
+ }
2578
+ function ws(e, t, n) {
2579
+ const o = Ne(n), r = (i, a, d) => Math.min(Math.max(i, a), d), s = { ...e };
2580
+ return o === "x" ? s.x = r(e.x, 8, window.innerWidth - t.width - 8) : s.y = r(e.y, 8, window.innerHeight - t.height - 8), s;
2196
2581
  }
2197
- const dr = typeof window < "u" && typeof document < "u";
2582
+ function As(e, t, n) {
2583
+ const o = ve(t);
2584
+ return {
2585
+ x: e.x + (o === "left" ? -n : o === "right" ? n : 0),
2586
+ y: e.y + (o === "top" ? -n : o === "bottom" ? n : 0)
2587
+ };
2588
+ }
2589
+ function Es(e, t, n) {
2590
+ const o = ve(t);
2591
+ return {
2592
+ x: e.x + (o === "top" || o === "bottom" ? n : 0),
2593
+ y: e.y + (o === "right" || o === "left" ? n : 0)
2594
+ };
2595
+ }
2596
+ function Ss(e, t, n, o, r) {
2597
+ if (Ne(r) === "y") {
2598
+ const s = t.top + t.height / 2, i = e.y + n.height / 2, a = i - s, d = n.height / 2 - a - o.height / 2 + 2;
2599
+ if (d > 0 && d < n.height - o.height)
2600
+ return {
2601
+ y: d
2602
+ };
2603
+ } else {
2604
+ const s = t.left + t.width / 2, i = e.x + n.width / 2, a = i - s, d = n.width / 2 - a - o.width / 2 + 2;
2605
+ if (d > 0 && d < n.width - o.width)
2606
+ return {
2607
+ x: d
2608
+ };
2609
+ }
2610
+ }
2611
+ function Rs(e, t, n) {
2612
+ const [o, r] = n.split("-"), s = e.x + e.width / 2 - t.width / 2, i = e.y + e.height / 2 - t.height / 2;
2613
+ let a;
2614
+ switch (o) {
2615
+ case "top":
2616
+ a = { x: s, y: e.y - t.height };
2617
+ break;
2618
+ case "bottom":
2619
+ a = { x: s, y: e.y + e.height };
2620
+ break;
2621
+ case "left":
2622
+ a = { x: e.x - t.width, y: i };
2623
+ break;
2624
+ case "right":
2625
+ a = { x: e.x + e.width, y: i };
2626
+ break;
2627
+ default:
2628
+ throw new Error(`[Quidgest UI] Invalid placement value: ${n}`);
2629
+ }
2630
+ if (!r)
2631
+ return a;
2632
+ const d = Ne(n) === "y" ? "height" : "width", c = Ne(n), u = e[d] / 2 - t[d] / 2;
2633
+ switch (r) {
2634
+ case "start":
2635
+ a[c] -= u;
2636
+ break;
2637
+ case "end":
2638
+ a[c] += u;
2639
+ break;
2640
+ default:
2641
+ throw new Error(`[Quidgest UI] Invalid alignment value: ${r}`);
2642
+ }
2643
+ return a;
2644
+ }
2645
+ function Nt(e, t, n, o) {
2646
+ const r = ve(n);
2647
+ let s = 0;
2648
+ switch (r) {
2649
+ case "top":
2650
+ s = e.top - (t.height + o);
2651
+ break;
2652
+ case "bottom":
2653
+ s = window.innerHeight - e.bottom - (t.height + o);
2654
+ break;
2655
+ case "left":
2656
+ s = e.left - (t.width + o);
2657
+ break;
2658
+ case "right":
2659
+ s = window.innerWidth - e.right - (t.width + o);
2660
+ break;
2661
+ default:
2662
+ throw new Error(`[Quidgest UI] Invalid side value: ${r}`);
2663
+ }
2664
+ return s;
2665
+ }
2666
+ function xs(e) {
2667
+ return e === "x" ? "y" : "x";
2668
+ }
2669
+ function Bs(e) {
2670
+ const t = ve(e);
2671
+ return ["left", "right"].includes(t) ? "x" : "y";
2672
+ }
2673
+ function Ne(e) {
2674
+ return xs(Bs(e));
2675
+ }
2676
+ function ve(e) {
2677
+ const [t] = e.split("-");
2678
+ return t;
2679
+ }
2680
+ function Cs(e) {
2681
+ const [, t] = e.split("-");
2682
+ return t;
2683
+ }
2684
+ function Lt(e) {
2685
+ return e < 0;
2686
+ }
2687
+ function Ts(e) {
2688
+ return typeof e == "string" ? document.querySelector(e) : e;
2689
+ }
2690
+ const ks = ["id"], Ds = ["role"], Os = /* @__PURE__ */ q({
2691
+ inheritAttrs: !1,
2692
+ __name: "QOverlay",
2693
+ props: /* @__PURE__ */ ge({
2694
+ id: {},
2695
+ class: {},
2696
+ anchor: {},
2697
+ appearance: { default: "regular" },
2698
+ arrow: { type: Boolean },
2699
+ attach: { default: "body" },
2700
+ inline: { type: Boolean },
2701
+ backdropBlur: { type: Boolean },
2702
+ backdropClass: {},
2703
+ delay: { default: 500 },
2704
+ nonModal: { type: Boolean },
2705
+ scrollLock: { type: Boolean },
2706
+ offset: { default: 8 },
2707
+ crossOffset: { default: 0 },
2708
+ persistent: { type: Boolean },
2709
+ placement: { default: "right" },
2710
+ spy: { type: Boolean },
2711
+ transition: { default: "fade" },
2712
+ trigger: { default: "click" },
2713
+ width: { default: "auto" }
2714
+ }, {
2715
+ modelValue: { type: Boolean },
2716
+ modelModifiers: {}
2717
+ }),
2718
+ emits: /* @__PURE__ */ ge(["enter", "leave"], ["update:modelValue"]),
2719
+ setup(e, { emit: t }) {
2720
+ const n = e, o = t, r = Le(e, "modelValue"), { class: s } = gn(), i = S(() => [
2721
+ "q-overlay",
2722
+ `q-overlay--${ve(u.placement)}`,
2723
+ s.value,
2724
+ {
2725
+ "q-overlay--independent": a.value,
2726
+ "q-overlay--inverted": n.appearance === "inverted"
2727
+ },
2728
+ n.class
2729
+ ]), a = S(() => n.anchor === void 0), d = S(() => (r.value || u.animating) && !n.nonModal), c = S(() => (r.value || u.animating) && n.scrollLock), u = yt({
2730
+ animating: !1,
2731
+ top: 0,
2732
+ left: 0,
2733
+ width: 0,
2734
+ placement: n.placement
2735
+ }), f = yt({
2736
+ top: void 0,
2737
+ left: void 0,
2738
+ hidden: !0
2739
+ }), b = S(() => u.top !== 0 && u.left !== 0);
2740
+ re(r, () => u.animating = !0);
2741
+ const p = S(() => {
2742
+ if (a.value) return;
2743
+ const x = ie(), Ae = n.width === "anchor", Z = Ae ? x == null ? void 0 : x.getBoundingClientRect().width : void 0;
2744
+ return {
2745
+ top: `${u.top}px`,
2746
+ left: `${u.left}px`,
2747
+ width: Z !== void 0 ? `${Z}px` : void 0
2748
+ };
2749
+ }), m = S(() => {
2750
+ if (n.arrow)
2751
+ return {
2752
+ top: f.top !== void 0 ? `${f.top}px` : void 0,
2753
+ left: f.left !== void 0 ? `${f.left}px` : void 0,
2754
+ opacity: f.hidden ? 0 : 1
2755
+ };
2756
+ }), g = M(null), h = M(null);
2757
+ function R() {
2758
+ const x = ie();
2759
+ if (!x || !h.value)
2760
+ return;
2761
+ const Ae = {
2762
+ placement: n.placement,
2763
+ width: n.width,
2764
+ offset: n.offset,
2765
+ crossOffset: n.crossOffset,
2766
+ arrow: n.arrow
2767
+ }, Z = ys(
2768
+ x,
2769
+ h.value,
2770
+ (g == null ? void 0 : g.value) ?? void 0,
2771
+ Ae
2772
+ );
2773
+ u.left = Z.overlayCoords.x, u.top = Z.overlayCoords.y, u.placement = Z.placement, f.hidden = Z.arrowCoords === void 0, Z.arrowCoords && (f.top = Z.arrowCoords.y, f.left = Z.arrowCoords.x);
2774
+ }
2775
+ re(
2776
+ () => n.placement,
2777
+ () => oe(R)
2778
+ );
2779
+ let k;
2780
+ function y() {
2781
+ I(0);
2782
+ }
2783
+ function O() {
2784
+ I(n.delay);
2785
+ }
2786
+ function I(x) {
2787
+ k && H(), k = window.setTimeout(() => {
2788
+ r.value = !0;
2789
+ }, x);
2790
+ }
2791
+ function N() {
2792
+ if (k && H(), r.value = !1, n.anchor && n.trigger === "click") {
2793
+ const x = ie();
2794
+ x == null || x.focus();
2795
+ }
2796
+ }
2797
+ function H() {
2798
+ clearTimeout(k), k = void 0;
2799
+ }
2800
+ re(b, () => oe(X));
2801
+ function X() {
2802
+ o("enter");
2803
+ }
2804
+ let K;
2805
+ function we() {
2806
+ window.clearTimeout(K), K = window.setTimeout(() => u.animating = !1, 200), o("leave");
2807
+ }
2808
+ function ie() {
2809
+ return n.anchor ? Ts(n.anchor) : null;
2810
+ }
2811
+ let ce;
2812
+ function He() {
2813
+ const x = ie();
2814
+ if (x)
2815
+ switch (ce = new MutationObserver(R), ce.observe(x, {
2816
+ attributes: !1,
2817
+ childList: !0,
2818
+ characterData: !0,
2819
+ subtree: !0
2820
+ }), n.trigger) {
2821
+ case "click":
2822
+ x.addEventListener("click", y);
2823
+ break;
2824
+ case "hover":
2825
+ x.addEventListener("mouseenter", O), x.addEventListener("mouseleave", N), x.addEventListener("focusin", y), x.addEventListener("focusout", N);
2826
+ break;
2827
+ }
2828
+ }
2829
+ function Ge() {
2830
+ const x = ie();
2831
+ if (x)
2832
+ switch (ce == null || ce.disconnect(), n.trigger) {
2833
+ case "click":
2834
+ x.removeEventListener("click", y);
2835
+ break;
2836
+ case "hover":
2837
+ x.removeEventListener("mouseenter", O), x.removeEventListener("mouseleave", N), x.removeEventListener("focusin", y), x.removeEventListener("focusout", N);
2838
+ break;
2839
+ }
2840
+ }
2841
+ function Ve() {
2842
+ window.addEventListener("resize", R), n.scrollLock || window.addEventListener("scroll", R);
2843
+ }
2844
+ function v() {
2845
+ window.removeEventListener("resize", R), n.scrollLock || window.removeEventListener("scroll", R);
2846
+ }
2847
+ let B;
2848
+ function L() {
2849
+ ie() ? (R(), B = window.setTimeout(L, 100)) : N();
2850
+ }
2851
+ function ae() {
2852
+ a.value || (Ve(), n.spy ? L() : R()), (a.value || n.trigger === "click") && oe(() => {
2853
+ var x;
2854
+ return (x = h.value) == null ? void 0 : x.focus();
2855
+ });
2856
+ }
2857
+ function Q() {
2858
+ a.value || v(), n.spy && (clearTimeout(B), B = void 0), u.top = 0, u.left = 0;
2859
+ }
2860
+ function ne() {
2861
+ n.persistent || N();
2862
+ }
2863
+ return Ue(() => {
2864
+ oe(He);
2865
+ }), Rn(() => {
2866
+ Ge(), Q();
2867
+ }), re(
2868
+ r,
2869
+ (x) => {
2870
+ oe(() => x ? ae() : Q());
2871
+ },
2872
+ { immediate: !0 }
2873
+ ), (x, Ae) => (w(), C(
2874
+ fe,
2875
+ null,
2876
+ [
2877
+ (w(), _(xn, {
2878
+ disabled: !r.value && !u.animating || n.inline,
2879
+ to: n.attach
2880
+ }, [
2881
+ d.value ? (w(), C(
2882
+ "div",
2883
+ {
2884
+ key: 0,
2885
+ class: V([
2886
+ n.backdropClass,
2887
+ "q-overlay__underlay",
2888
+ { "q-overlay__underlay--blur": n.backdropBlur }
2889
+ ])
2890
+ },
2891
+ null,
2892
+ 2
2893
+ /* CLASS */
2894
+ )) : j("v-if", !0),
2895
+ P(Bn, {
2896
+ name: n.transition,
2897
+ appear: "",
2898
+ onLeave: we
2899
+ }, {
2900
+ default: D(() => [
2901
+ r.value ? (w(), C("div", {
2902
+ key: 0,
2903
+ id: n.id,
2904
+ class: V(i.value),
2905
+ style: Re(p.value)
2906
+ }, [
2907
+ T("div", le({
2908
+ ref_key: "overlayRef",
2909
+ ref: h,
2910
+ class: "q-overlay__content",
2911
+ tabindex: "-1",
2912
+ role: d.value ? "dialog" : void 0
2913
+ }, x.$attrs, {
2914
+ onKeydown: Ht(ne, ["escape"]),
2915
+ onBlur: ne
2916
+ }), [
2917
+ n.arrow ? (w(), C(
2918
+ "div",
2919
+ {
2920
+ key: 0,
2921
+ ref_key: "arrowRef",
2922
+ ref: g,
2923
+ role: "presentation",
2924
+ class: "q-overlay__arrow",
2925
+ style: Re(m.value)
2926
+ },
2927
+ null,
2928
+ 4
2929
+ /* STYLE */
2930
+ )) : j("v-if", !0),
2931
+ U(x.$slots, "default")
2932
+ ], 16, Ds)
2933
+ ], 14, ks)) : j("v-if", !0)
2934
+ ]),
2935
+ _: 3
2936
+ /* FORWARDED */
2937
+ }, 8, ["name"])
2938
+ ], 8, ["disabled", "to"])),
2939
+ c.value ? (w(), _(A(bs), { key: 0 })) : j("v-if", !0)
2940
+ ],
2941
+ 64
2942
+ /* STABLE_FRAGMENT */
2943
+ ));
2944
+ }
2945
+ }), Is = J(Os), Ns = [
2946
+ {
2947
+ id: "button",
2948
+ icon: {
2949
+ icon: "check"
2950
+ },
2951
+ props: {
2952
+ bStyle: "primary",
2953
+ label: "Ok"
2954
+ }
2955
+ }
2956
+ ], Ls = {
2957
+ icon: "check-circle-outline"
2958
+ }, Us = {
2959
+ close: {
2960
+ icon: "close"
2961
+ }
2962
+ }, Fs = { class: "q-dialog__header" }, Ps = { class: "q-dialog__header-title" }, Ms = { class: "q-dialog__body" }, js = {
2963
+ key: 0,
2964
+ class: "q-dialog__body-icon"
2965
+ }, qs = { class: "q-dialog__body-text" }, zs = ["innerHTML"], Hs = { key: 1 }, Gs = { class: "q-dialog__body-actions" }, Vs = /* @__PURE__ */ q({
2966
+ __name: "QDialog",
2967
+ props: /* @__PURE__ */ ge({
2968
+ id: {},
2969
+ class: {},
2970
+ title: {},
2971
+ text: {},
2972
+ icon: { default: () => Ls },
2973
+ buttons: { default: () => Ns },
2974
+ attach: { default: "body" },
2975
+ inline: { type: Boolean },
2976
+ backdropBlur: { type: Boolean, default: !0 },
2977
+ dismissible: { type: Boolean },
2978
+ html: { type: Boolean, default: !0 },
2979
+ icons: { default: () => Us }
2980
+ }, {
2981
+ modelValue: { type: Boolean },
2982
+ modelModifiers: {}
2983
+ }),
2984
+ emits: ["update:modelValue"],
2985
+ setup(e) {
2986
+ const t = e, n = Le(e, "modelValue");
2987
+ function o() {
2988
+ n.value = !1;
2989
+ }
2990
+ function r(s) {
2991
+ var i;
2992
+ (i = s.action) == null || i.call(s), o();
2993
+ }
2994
+ return (s, i) => (w(), _(A(Is), {
2995
+ id: t.id,
2996
+ "model-value": n.value,
2997
+ inline: t.inline,
2998
+ attach: t.attach,
2999
+ "backdrop-blur": t.backdropBlur,
3000
+ "backdrop-class": "q-dialog__underlay",
3001
+ "scroll-lock": "",
3002
+ persistent: ""
3003
+ }, {
3004
+ default: D(() => [
3005
+ T(
3006
+ "div",
3007
+ {
3008
+ class: V(["q-dialog", t.class])
3009
+ },
3010
+ [
3011
+ T("div", Fs, [
3012
+ T(
3013
+ "span",
3014
+ Ps,
3015
+ pe(t.title),
3016
+ 1
3017
+ /* TEXT */
3018
+ ),
3019
+ t.dismissible ? (w(), _(A(te), {
3020
+ key: 0,
3021
+ "b-style": "tertiary",
3022
+ onClick: o
3023
+ }, {
3024
+ default: D(() => [
3025
+ P(
3026
+ A(se),
3027
+ Ke(et(t.icons.close)),
3028
+ null,
3029
+ 16
3030
+ /* FULL_PROPS */
3031
+ )
3032
+ ]),
3033
+ _: 1
3034
+ /* STABLE */
3035
+ })) : j("v-if", !0)
3036
+ ]),
3037
+ U(s.$slots, "body.content", {}, () => [
3038
+ T("div", Ms, [
3039
+ U(s.$slots, "body.icon", {}, () => [
3040
+ t.icon ? (w(), C("span", js, [
3041
+ P(
3042
+ A(se),
3043
+ Ke(et(t.icon)),
3044
+ null,
3045
+ 16
3046
+ /* FULL_PROPS */
3047
+ )
3048
+ ])) : j("v-if", !0)
3049
+ ]),
3050
+ T("div", qs, [
3051
+ t.html ? (w(), C("span", {
3052
+ key: 0,
3053
+ innerHTML: t.text
3054
+ }, null, 8, zs)) : (w(), C(
3055
+ "span",
3056
+ Hs,
3057
+ pe(t.text),
3058
+ 1
3059
+ /* TEXT */
3060
+ ))
3061
+ ]),
3062
+ U(s.$slots, "body.append")
3063
+ ])
3064
+ ]),
3065
+ T("div", Gs, [
3066
+ (w(!0), C(
3067
+ fe,
3068
+ null,
3069
+ ct(t.buttons, (a) => (w(), _(A(te), le({ ref_for: !0 }, a.props, {
3070
+ key: a.id,
3071
+ onClick: () => r(a)
3072
+ }), {
3073
+ default: D(() => [
3074
+ a.icon ? (w(), _(
3075
+ A(se),
3076
+ le({
3077
+ key: 0,
3078
+ ref_for: !0
3079
+ }, a.icon),
3080
+ null,
3081
+ 16
3082
+ /* FULL_PROPS */
3083
+ )) : j("v-if", !0)
3084
+ ]),
3085
+ _: 2
3086
+ /* DYNAMIC */
3087
+ }, 1040, ["onClick"]))),
3088
+ 128
3089
+ /* KEYED_FRAGMENT */
3090
+ ))
3091
+ ])
3092
+ ],
3093
+ 2
3094
+ /* CLASS */
3095
+ )
3096
+ ]),
3097
+ _: 3
3098
+ /* FORWARDED */
3099
+ }, 8, ["id", "model-value", "inline", "attach", "backdrop-blur"]));
3100
+ }
3101
+ }), _s = J(Vs);
3102
+ function Ws(e) {
3103
+ return kn() ? (Dn(e), !0) : !1;
3104
+ }
3105
+ const Js = typeof window < "u" && typeof document < "u";
2198
3106
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
2199
- const fr = () => {
3107
+ const Qs = () => {
2200
3108
  };
2201
- function ot(...e) {
3109
+ function Ut(...e) {
2202
3110
  if (e.length !== 1)
2203
- return zt(...e);
3111
+ return jt(...e);
2204
3112
  const t = e[0];
2205
- return typeof t == "function" ? Mt(qt(() => ({ get: t, set: fr }))) : G(t);
3113
+ return typeof t == "function" ? Cn(Tn(() => ({ get: t, set: Qs }))) : M(t);
2206
3114
  }
2207
- const ze = dr ? window : void 0;
2208
- function it(e) {
3115
+ const ht = Js ? window : void 0;
3116
+ function Ft(e) {
2209
3117
  var t;
2210
- const n = Pe(e);
3118
+ const n = ut(e);
2211
3119
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
2212
3120
  }
2213
- function pr() {
2214
- const e = Oe(!1), t = Ie();
2215
- return t && at(() => {
3121
+ function Zs() {
3122
+ const e = tt(!1), t = lt();
3123
+ return t && Ue(() => {
2216
3124
  e.value = !0;
2217
3125
  }, t), e;
2218
3126
  }
2219
- function hr(e) {
2220
- const t = pr();
2221
- return E(() => (t.value, !!e()));
3127
+ function Ys(e) {
3128
+ const t = Zs();
3129
+ return S(() => (t.value, !!e()));
2222
3130
  }
2223
- function mr(e, t, n = {}) {
2224
- const { window: s = ze, ...r } = n;
2225
- let o;
2226
- const i = hr(() => s && "ResizeObserver" in s), a = () => {
2227
- o && (o.disconnect(), o = void 0);
2228
- }, u = E(() => {
2229
- const f = Pe(e);
2230
- return Array.isArray(f) ? f.map((b) => it(b)) : [it(f)];
2231
- }), c = ne(
2232
- u,
3131
+ function Xs(e, t, n = {}) {
3132
+ const { window: o = ht, ...r } = n;
3133
+ let s;
3134
+ const i = Ys(() => o && "ResizeObserver" in o), a = () => {
3135
+ s && (s.disconnect(), s = void 0);
3136
+ }, d = S(() => {
3137
+ const f = ut(e);
3138
+ return Array.isArray(f) ? f.map((b) => Ft(b)) : [Ft(f)];
3139
+ }), c = re(
3140
+ d,
2233
3141
  (f) => {
2234
- if (a(), i.value && s) {
2235
- o = new ResizeObserver(t);
3142
+ if (a(), i.value && o) {
3143
+ s = new ResizeObserver(t);
2236
3144
  for (const b of f)
2237
- b && o.observe(b, r);
3145
+ b && s.observe(b, r);
2238
3146
  }
2239
3147
  },
2240
3148
  { immediate: !0, flush: "post" }
2241
- ), d = () => {
3149
+ ), u = () => {
2242
3150
  a(), c();
2243
3151
  };
2244
- return ur(d), {
3152
+ return Ws(u), {
2245
3153
  isSupported: i,
2246
- stop: d
3154
+ stop: u
2247
3155
  };
2248
3156
  }
2249
- function gr(e = ze, t) {
3157
+ function $s(e = ht, t) {
2250
3158
  e && typeof e.requestAnimationFrame == "function" ? e.requestAnimationFrame(t) : t();
2251
3159
  }
2252
- function br(e = {}) {
3160
+ function Ks(e = {}) {
2253
3161
  var t, n;
2254
- const { window: s = ze } = e, r = ot(e == null ? void 0 : e.element), o = ot((t = e == null ? void 0 : e.input) != null ? t : ""), i = (n = e == null ? void 0 : e.styleProp) != null ? n : "height", a = Oe(1), u = Oe(0);
3162
+ const { window: o = ht } = e, r = Ut(e == null ? void 0 : e.element), s = Ut((t = e == null ? void 0 : e.input) != null ? t : ""), i = (n = e == null ? void 0 : e.styleProp) != null ? n : "height", a = tt(1), d = tt(0);
2255
3163
  function c() {
2256
- var d;
3164
+ var u;
2257
3165
  if (!r.value)
2258
3166
  return;
2259
3167
  let f = "";
2260
- r.value.style[i] = "1px", a.value = (d = r.value) == null ? void 0 : d.scrollHeight;
2261
- const b = Pe(e == null ? void 0 : e.styleTarget);
3168
+ r.value.style[i] = "1px", a.value = (u = r.value) == null ? void 0 : u.scrollHeight;
3169
+ const b = ut(e == null ? void 0 : e.styleTarget);
2262
3170
  b ? b.style[i] = `${a.value}px` : f = `${a.value}px`, r.value.style[i] = f;
2263
3171
  }
2264
- return ne([o, r], () => ue(c), { immediate: !0 }), ne(a, () => {
2265
- var d;
2266
- return (d = e == null ? void 0 : e.onResize) == null ? void 0 : d.call(e);
2267
- }), mr(r, ([{ contentRect: d }]) => {
2268
- u.value !== d.width && gr(s, () => {
2269
- u.value = d.width, c();
3172
+ return re([s, r], () => oe(c), { immediate: !0 }), re(a, () => {
3173
+ var u;
3174
+ return (u = e == null ? void 0 : e.onResize) == null ? void 0 : u.call(e);
3175
+ }), Xs(r, ([{ contentRect: u }]) => {
3176
+ d.value !== u.width && $s(o, () => {
3177
+ d.value = u.width, c();
2270
3178
  });
2271
- }), e != null && e.watch && ne(e.watch, c, { immediate: !0, deep: !0 }), {
3179
+ }), e != null && e.watch && re(e.watch, c, { immediate: !0, deep: !0 }), {
2272
3180
  textarea: r,
2273
- input: o,
3181
+ input: s,
2274
3182
  triggerResize: c
2275
3183
  };
2276
3184
  }
2277
- const Ar = ["id", "required", "placeholder", "readonly", "disabled", "maxlength", "rows", "cols", "resize", "wrap"], yr = /* @__PURE__ */ P({
3185
+ const ei = ["id", "required", "placeholder", "readonly", "disabled", "maxlength", "rows", "cols", "resize", "wrap"], ti = /* @__PURE__ */ q({
2278
3186
  inheritAttrs: !1,
2279
3187
  __name: "QTextArea",
2280
- props: /* @__PURE__ */ Wt({
3188
+ props: /* @__PURE__ */ ge({
2281
3189
  id: {},
2282
3190
  class: {},
2283
3191
  label: {},
@@ -2300,38 +3208,38 @@ const Ar = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
2300
3208
  }),
2301
3209
  emits: ["update:modelValue"],
2302
3210
  setup(e) {
2303
- const t = e, n = Jt(e, "modelValue"), s = er(t.id), r = E(
3211
+ const t = e, n = Le(e, "modelValue"), o = bn(t.id), r = S(
2304
3212
  () => t.readonly || t.disabled ? void 0 : t.placeholder
2305
- ), o = E(() => ({ input: t.autosize ? a : null })), i = G(), { triggerResize: a } = br({
2306
- element: E(() => t.autosize ? i.value : void 0),
3213
+ ), s = S(() => ({ input: t.autosize ? a : null })), i = M(), { triggerResize: a } = Ks({
3214
+ element: S(() => t.autosize ? i.value : void 0),
2307
3215
  styleProp: "minHeight"
2308
- }), u = E({
3216
+ }), d = S({
2309
3217
  get: () => n.value,
2310
3218
  set: (c) => {
2311
3219
  n.value = t.maxLength ? c == null ? void 0 : c.slice(0, t.maxLength) : c;
2312
3220
  }
2313
3221
  });
2314
- return (c, d) => (y(), ae(x(cr), {
2315
- class: U(["q-text-area", t.class]),
2316
- for: x(s),
3222
+ return (c, u) => (w(), _(A(vn), {
3223
+ class: V(["q-text-area", t.class]),
3224
+ for: A(o),
2317
3225
  label: t.label,
2318
3226
  size: t.size,
2319
3227
  readonly: t.readonly,
2320
3228
  disabled: t.disabled,
2321
3229
  required: t.required
2322
- }, Vt({
2323
- "label.prepend": H(() => [
2324
- L(c.$slots, "label.prepend")
3230
+ }, qt({
3231
+ "label.prepend": D(() => [
3232
+ U(c.$slots, "label.prepend")
2325
3233
  ]),
2326
- "label.append": H(() => [
2327
- L(c.$slots, "label.append")
3234
+ "label.append": D(() => [
3235
+ U(c.$slots, "label.append")
2328
3236
  ]),
2329
- default: H(() => [
2330
- Qt(C("textarea", ge({
2331
- id: x(s),
3237
+ default: D(() => [
3238
+ zt(T("textarea", le({
3239
+ id: A(o),
2332
3240
  ref_key: "textareaRef",
2333
3241
  ref: i,
2334
- "onUpdate:modelValue": d[0] || (d[0] = (f) => u.value = f),
3242
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => d.value = f),
2335
3243
  class: "q-text-area__input",
2336
3244
  required: t.required,
2337
3245
  placeholder: r.value,
@@ -2342,8 +3250,8 @@ const Ar = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
2342
3250
  cols: t.cols,
2343
3251
  resize: t.resize,
2344
3252
  wrap: t.wrap
2345
- }, c.$attrs, Zt(o.value, !0)), null, 16, Ar), [
2346
- [Yt, u.value]
3253
+ }, c.$attrs, On(s.value, !0)), null, 16, ei), [
3254
+ [In, d.value]
2347
3255
  ])
2348
3256
  ]),
2349
3257
  _: 2
@@ -2351,43 +3259,74 @@ const Ar = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
2351
3259
  }, [
2352
3260
  c.$slots.prepend ? {
2353
3261
  name: "prepend",
2354
- fn: H(() => [
2355
- L(c.$slots, "prepend")
3262
+ fn: D(() => [
3263
+ U(c.$slots, "prepend")
2356
3264
  ]),
2357
3265
  key: "0"
2358
3266
  } : void 0,
2359
3267
  c.$slots.append ? {
2360
3268
  name: "append",
2361
- fn: H(() => [
2362
- L(c.$slots, "append")
3269
+ fn: D(() => [
3270
+ U(c.$slots, "append")
2363
3271
  ]),
2364
3272
  key: "1"
2365
3273
  } : void 0,
2366
3274
  c.$slots.extras ? {
2367
3275
  name: "extras",
2368
- fn: H(() => [
2369
- L(c.$slots, "extras")
3276
+ fn: D(() => [
3277
+ U(c.$slots, "extras")
2370
3278
  ]),
2371
3279
  key: "2"
2372
3280
  } : void 0
2373
3281
  ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
2374
3282
  }
2375
- }), wr = V(yr), Er = { class: "pulsing-dots" }, Sr = /* @__PURE__ */ P({
3283
+ }), ni = J(ti), oi = { class: "pulsing-dots" }, ri = /* @__PURE__ */ q({
2376
3284
  __name: "PulseDots",
2377
3285
  setup(e) {
2378
3286
  const t = [1, 2, 3];
2379
- return (n, s) => (y(), O("div", Er, [
2380
- (y(), O(se, null, lt(t, (r, o) => C("span", {
2381
- key: o,
3287
+ return (n, o) => (w(), C("div", oi, [
3288
+ (w(), C(fe, null, ct(t, (r, s) => T("span", {
3289
+ key: s,
2382
3290
  class: "dot",
2383
- style: ie({ animationDelay: o * 0.2 + "s" })
3291
+ style: Re({ animationDelay: s * 0.2 + "s" })
2384
3292
  }, " • ", 4)), 64))
2385
3293
  ]));
2386
3294
  }
2387
- }), vr = { class: "q-chatbot__message-container" }, Rr = { class: "q-chatbot__message-wrapper" }, Tr = { class: "q-chatbot__message" }, Or = ["innerHTML"], Nr = {
3295
+ }), si = `<svg
3296
+ id="Layer_1"
3297
+ class="q-icon q-icon__svg"
3298
+ xmlns="http://www.w3.org/2000/svg"
3299
+ viewBox="0 0 21.7 19.73">
3300
+ <path
3301
+ fill="currentColor"
3302
+ d="M21.7,8.88c0-1.09-.89-1.97-1.97-1.97h-6.23l.95-4.51c.02-.1.03-.21.03-.32,0-.4-.17-.78-.43-1.05l-1.05-1.04-6.49,6.49c-.36.36-.58.86-.58,1.4v9.86c0,1.09.88,1.97,1.97,1.97h8.88c.82,0,1.52-.49,1.82-1.2l2.98-6.95c.09-.23.14-.46.14-.72v-1.97M0,19.73h3.95V7.89H0v11.84Z" />
3303
+ </svg>
3304
+ `, ii = `<svg
3305
+ id="Layer_1"
3306
+ class="q-icon q-icon__svg"
3307
+ xmlns="http://www.w3.org/2000/svg"
3308
+ viewBox="0 0 21.86 19.87">
3309
+ <path
3310
+ fill="currentColor"
3311
+ d="M17.89,11.92h3.97V0h-3.97M13.91,0H4.97c-.82,0-1.53.5-1.83,1.21L.14,8.22c-.09.23-.14.47-.14.73v1.99c0,1.1.89,1.99,1.99,1.99h6.27l-.94,4.54c-.02.1-.03.2-.03.31,0,.42.17.78.44,1.05l1.05,1.05,6.54-6.55c.37-.36.59-.85.59-1.4V1.99c0-1.1-.89-1.99-1.99-1.99Z" />
3312
+ </svg>
3313
+ `, ai = `<svg
3314
+ xmlns="http://www.w3.org/2000/svg"
3315
+ viewBox="0 0 24 24">
3316
+ <path
3317
+ fill="currentColor"
3318
+ d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" />
3319
+ </svg>
3320
+ `, li = { class: "q-chatbot__message-container" }, ci = { class: "q-chatbot__message-wrapper" }, ui = {
3321
+ key: 0,
3322
+ class: "q-chatbot__image-preview"
3323
+ }, di = ["src", "alt"], fi = { class: "q-chatbot__message" }, pi = ["innerHTML"], hi = {
2388
3324
  key: 1,
2389
3325
  class: "q-chatbot__text"
2390
- }, Dr = { class: "q-chatbot__sender" }, Br = /* @__PURE__ */ P({
3326
+ }, mi = {
3327
+ key: 1,
3328
+ class: "q-chatbot__feedback-buttons"
3329
+ }, gi = ["innerHTML"], bi = ["innerHTML"], yi = ["innerHTML"], vi = { class: "q-chatbot__sender" }, wi = /* @__PURE__ */ q({
2391
3330
  __name: "CBMessage",
2392
3331
  props: {
2393
3332
  sender: { default: "user" },
@@ -2395,46 +3334,222 @@ const Ar = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
2395
3334
  date: { default: () => /* @__PURE__ */ new Date() },
2396
3335
  loading: { type: Boolean },
2397
3336
  dateFormat: {},
3337
+ imagePreviewUrl: {},
3338
+ texts: { default: () => ({
3339
+ commentDialogTitle: "Would you like to add a comment?",
3340
+ commentPlaceholder: "Type your comment here (optional)...",
3341
+ goodResponse: "Good response",
3342
+ badResponse: "Bad response",
3343
+ copyResponse: "Copy response",
3344
+ submitButton: "Submit",
3345
+ cancelButton: "Cancel",
3346
+ senderImage: "Sender Image",
3347
+ imagePreview: "Image preview"
3348
+ }) },
3349
+ apiEndpoint: {},
3350
+ sessionID: {},
2398
3351
  userImage: { default: void 0 },
2399
- chatbotImage: {}
3352
+ chatbotImage: {},
3353
+ isWelcomeMessage: { type: Boolean }
2400
3354
  },
2401
3355
  setup(e) {
2402
- const t = e, n = E(() => t.sender === "bot" ? "GenioBot" : "You"), s = E(() => t.dateFormat ? i(t.date, t.dateFormat) : t.date.toLocaleString()), r = E(() => `${n.value} ${s.value}`), o = E(() => t.sender === "bot" ? t.chatbotImage : t.userImage);
2403
- function i(a, u) {
2404
- const c = a.getDate().toString().padStart(2, "0"), d = (a.getMonth() + 1).toString().padStart(2, "0"), f = a.getFullYear().toString().padStart(2, "0"), b = a.getHours().toString().padStart(2, "0"), v = a.getMinutes().toString().padStart(2, "0"), p = a.getSeconds().toString().padStart(2, "0");
2405
- return u.replace("dd", c).replace("MM", d).replace("yyyy", f).replace("HH", b).replace("mm", v).replace("ss", p);
2406
- }
2407
- return (a, u) => (y(), O("div", vr, [
2408
- J(x(Fe), {
2409
- type: "img",
2410
- icon: o.value,
2411
- alt: "Sender Image",
2412
- class: "q-chatbot__profile"
2413
- }, null, 8, ["icon"]),
2414
- C("div", Rr, [
2415
- C("div", Tr, [
2416
- a.loading ? (y(), ae(Sr, { key: 0 })) : (y(), O(se, { key: 1 }, [
2417
- t.sender === "bot" ? (y(), O("div", {
2418
- key: 0,
2419
- class: "q-chatbot__text",
2420
- innerHTML: t.message
2421
- }, null, 8, Or)) : (y(), O("div", Nr, re(t.message), 1))
2422
- ], 64))
2423
- ]),
2424
- C("div", Dr, re(r.value), 1)
2425
- ])
2426
- ]));
3356
+ const t = si, n = ii, o = ai, r = e, s = M(!1), i = M(""), a = M(null), d = [
3357
+ {
3358
+ id: "confirm-btn",
3359
+ action: h,
3360
+ props: {
3361
+ label: r.texts.submitButton,
3362
+ "b-style": "primary"
3363
+ }
3364
+ },
3365
+ {
3366
+ id: "cancel-btn",
3367
+ props: {
3368
+ label: r.texts.cancelButton,
3369
+ "b-style": "danger"
3370
+ }
3371
+ }
3372
+ ], c = S(() => r.sender === "bot" ? "GenioBot" : "You"), u = S(() => r.sender === "bot" && !Object.values(r.texts || {}).includes(r.message || "") && !r.isWelcomeMessage), f = S(() => r.dateFormat ? m(r.date, r.dateFormat) : r.date.toLocaleString()), b = S(() => `${c.value} ${f.value}`), p = S(
3373
+ () => r.sender === "bot" ? r.chatbotImage : r.userImage
3374
+ );
3375
+ function m(y, O) {
3376
+ const I = y.getDate().toString().padStart(2, "0"), N = (y.getMonth() + 1).toString().padStart(2, "0"), H = y.getFullYear().toString().padStart(2, "0"), X = y.getHours().toString().padStart(2, "0"), K = y.getMinutes().toString().padStart(2, "0"), we = y.getSeconds().toString().padStart(2, "0");
3377
+ return O.replace("dd", I).replace("MM", N).replace("yyyy", H).replace("HH", X).replace("mm", K).replace("ss", we);
3378
+ }
3379
+ function g(y) {
3380
+ s.value = !0, i.value = "", a.value = y;
3381
+ }
3382
+ function h() {
3383
+ a.value != null && R(a.value, i.value);
3384
+ }
3385
+ function R(y, O) {
3386
+ F.post(r.apiEndpoint + "/prompt/feedback", {
3387
+ messageSessionID: r.sessionID,
3388
+ feedbackValue: y,
3389
+ feedbackComment: O
3390
+ }).catch((I) => {
3391
+ console.error("Error sending message feedback: ", I);
3392
+ });
3393
+ }
3394
+ function k() {
3395
+ r.message && navigator.clipboard.writeText(r.message).then(() => {
3396
+ console.log("Message copied to clipboard");
3397
+ }).catch((y) => {
3398
+ console.error(
3399
+ "Failed to copy message to clipboard: ",
3400
+ y
3401
+ );
3402
+ });
3403
+ }
3404
+ return (y, O) => {
3405
+ const I = Nn("q-button-group");
3406
+ return w(), C("div", li, [
3407
+ P(A(se), {
3408
+ type: "img",
3409
+ icon: p.value,
3410
+ alt: r.texts.senderImage,
3411
+ class: "q-chatbot__profile"
3412
+ }, null, 8, ["icon", "alt"]),
3413
+ T("div", ci, [
3414
+ r.imagePreviewUrl && r.imagePreviewUrl.length > 0 ? (w(), C("div", ui, [
3415
+ T("img", {
3416
+ src: r.imagePreviewUrl,
3417
+ alt: r.texts.imagePreview
3418
+ }, null, 8, di)
3419
+ ])) : j("", !0),
3420
+ T("div", fi, [
3421
+ y.loading ? (w(), _(ri, { key: 0 })) : (w(), C(fe, { key: 1 }, [
3422
+ r.sender === "bot" ? (w(), C("div", {
3423
+ key: 0,
3424
+ class: "q-chatbot__text",
3425
+ innerHTML: r.message
3426
+ }, null, 8, pi)) : (w(), C("div", hi, pe(r.message), 1))
3427
+ ], 64))
3428
+ ]),
3429
+ P(A(_s), {
3430
+ modelValue: s.value,
3431
+ "onUpdate:modelValue": O[1] || (O[1] = (N) => s.value = N),
3432
+ buttons: d,
3433
+ text: r.texts.commentDialogTitle
3434
+ }, {
3435
+ "body.append": D(() => [
3436
+ P(A(is), {
3437
+ modelValue: i.value,
3438
+ "onUpdate:modelValue": O[0] || (O[0] = (N) => i.value = N),
3439
+ maxLength: 150,
3440
+ size: "large",
3441
+ placeholder: r.texts.commentPlaceholder
3442
+ }, null, 8, ["modelValue", "placeholder"])
3443
+ ]),
3444
+ _: 1
3445
+ }, 8, ["modelValue", "text"]),
3446
+ u.value ? (w(), C("div", mi, [
3447
+ P(I, null, {
3448
+ default: D(() => [
3449
+ P(A(te), {
3450
+ title: r.texts.goodResponse,
3451
+ borderless: "",
3452
+ disabled: y.loading,
3453
+ "b-style": "secondary",
3454
+ onClick: O[2] || (O[2] = (N) => g(1))
3455
+ }, {
3456
+ default: D(() => [
3457
+ T("span", {
3458
+ innerHTML: A(t),
3459
+ class: "svg-icon"
3460
+ }, null, 8, gi)
3461
+ ]),
3462
+ _: 1
3463
+ }, 8, ["title", "disabled"]),
3464
+ P(A(te), {
3465
+ title: r.texts.badResponse,
3466
+ borderless: "",
3467
+ disabled: y.loading,
3468
+ "b-style": "secondary",
3469
+ onClick: O[3] || (O[3] = (N) => g(0))
3470
+ }, {
3471
+ default: D(() => [
3472
+ T("span", {
3473
+ innerHTML: A(n),
3474
+ class: "svg-icon"
3475
+ }, null, 8, bi)
3476
+ ]),
3477
+ _: 1
3478
+ }, 8, ["title", "disabled"]),
3479
+ P(A(te), {
3480
+ title: r.texts.copyResponse,
3481
+ borderless: "",
3482
+ disabled: y.loading,
3483
+ "b-style": "secondary",
3484
+ onClick: k
3485
+ }, {
3486
+ default: D(() => [
3487
+ T("span", {
3488
+ innerHTML: A(o),
3489
+ class: "svg-icon"
3490
+ }, null, 8, yi)
3491
+ ]),
3492
+ _: 1
3493
+ }, 8, ["title", "disabled"])
3494
+ ]),
3495
+ _: 1
3496
+ })
3497
+ ])) : j("", !0),
3498
+ T("div", vi, pe(b.value), 1)
3499
+ ])
3500
+ ]);
3501
+ };
2427
3502
  }
2428
- }), Cr = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3Ag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wa0PkzMh+ApirpHi3Rn3/AnAUuuDySUA2xK/fYBaV99XS/k5Ev/w+6IPetTo6+TraP74MnZHnFWClkuK/Zfbv8+j6UYcaR8xh6JOAB9eovwIYH0VoU2QP5F3P7wxMRj9BiarSSzuwCvjA/L3VtdrFvPYE9ie6qqYb0Omgfh3VKcvIIy5czz8YfQbnFJpLbegDeZGmjqxbSI3r+ScCtwL9GhzsS+jQ1tn1aLxuNRvMBR8OTCD4MZk4SJprO6JecOs6govcn88GfggcEXOwz5uZaboN2Qysi3p0Pf8Y40A4lfgUY96IduzcoaR4xqaOWRvW6nr+3sZJcg4wxNJuLjSOl2lKirU2djAWccvGkX+6cTYcE+G2pti26xnjZJkZhwcisQtMN6kCW4Ch5jUYyNSoufeMU2IBOtxmnpJiQ5zs1RAnD0xS837orHIHAb2MAyODDgzcs8j9fKNxgKwzIFehE8G9gT6fu1RJsSrutvk/GdqIAV0smzEAAAAASUVORK5CYII=", Lr = { class: "q-chatbot" }, Fr = { class: "q-chatbot__content" }, Ir = { class: "q-chatbot__tools" }, Pr = { class: "q-chatbot__footer-container" }, jr = { class: "q-chatbot__input" }, Ur = { class: "q-chatbot__send-container" }, ro = /* @__PURE__ */ P({
3503
+ }), Ai = (e, t) => {
3504
+ const n = e.__vccOpts || e;
3505
+ for (const [o, r] of t)
3506
+ n[o] = r;
3507
+ return n;
3508
+ }, Ei = /* @__PURE__ */ Ai(wi, [["__scopeId", "data-v-695796d5"]]), z = [];
3509
+ for (let e = 0; e < 256; ++e)
3510
+ z.push((e + 256).toString(16).slice(1));
3511
+ function Si(e, t = 0) {
3512
+ return (z[e[t + 0]] + z[e[t + 1]] + z[e[t + 2]] + z[e[t + 3]] + "-" + z[e[t + 4]] + z[e[t + 5]] + "-" + z[e[t + 6]] + z[e[t + 7]] + "-" + z[e[t + 8]] + z[e[t + 9]] + "-" + z[e[t + 10]] + z[e[t + 11]] + z[e[t + 12]] + z[e[t + 13]] + z[e[t + 14]] + z[e[t + 15]]).toLowerCase();
3513
+ }
3514
+ let $e;
3515
+ const Ri = new Uint8Array(16);
3516
+ function xi() {
3517
+ if (!$e) {
3518
+ if (typeof crypto > "u" || !crypto.getRandomValues)
3519
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3520
+ $e = crypto.getRandomValues.bind(crypto);
3521
+ }
3522
+ return $e(Ri);
3523
+ }
3524
+ const Bi = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Pt = { randomUUID: Bi };
3525
+ function Ci(e, t, n) {
3526
+ var r;
3527
+ if (Pt.randomUUID && !e)
3528
+ return Pt.randomUUID();
3529
+ e = e || {};
3530
+ const o = e.random ?? ((r = e.rng) == null ? void 0 : r.call(e)) ?? xi();
3531
+ if (o.length < 16)
3532
+ throw new Error("Random bytes length must be >= 16");
3533
+ return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, Si(o);
3534
+ }
3535
+ const Ti = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFIGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmc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DwT0LeBxToKoCTVJSTK22H06IFzQBmFrFtP80cJmSYmnMwfYDfgscX+FXbAYuUFL8MYz+OCFf3AizSqw0B/UnwP3ATR2Dt2MC1kWfjDy/iplxg9llPB5Wv5waXOhQ4BGqq2/wMfAH4FYlxauWg/0icDn66Gg18eSrgdOUFKGe1XZqdNG9gFlUX+NoC/A34A7gSVsOgpsCWcOAi4GTQrDji8CpSorQz4Y5NTRCd+Bes5UKQ2+bVfdDwHP1qH7mev5X0CklziW8WhfTgO8G9VDVHXAHo0w0i44wa0PkzMh+ApirpHi3Rn3/AnAUuuDySUA2xK/fYBaV99XS/k5Ev/w+6IPetTo6+TraP74MnZHnFWClkuK/Zfbv8+j6UYcaR8xh6JOAB9eovwIYH0VoU2QP5F3P7wxMRj9BiarSSzuwCvjA/L3VtdrFvPYE9ie6qqYb0Omgfh3VKcvIIy5czz8YfQbnFJpLbegDeZGmjqxbSI3r+ScCtwL9GhzsS+jQ1tn1aLxuNRvMBR8OTCD4MZk4SJprO6JecOs6govcn88GfggcEXOwz5uZaboN2Qysi3p0Pf8Y40A4lfgUY96IduzcoaR4xqaOWRvW6nr+3sZJcg4wxNJuLjSOl2lKirU2djAWccvGkX+6cTYcE+G2pti26xnjZJkZhwcisQtMN6kCW4Ch5jUYyNSoufeMU2IBOtxmnpJiQ5zs1RAnD0xS837orHIHAb2MAyODDgzcs8j9fKNxgKwzIFehE8G9gT6fu1RJsSrutvk/GdqIAV0smzEAAAAASUVORK5CYII=", Di = { class: "q-chatbot" }, Oi = { class: "q-chatbot__content" }, Ii = { class: "q-chatbot__tools" }, Ni = {
3536
+ key: 0,
3537
+ class: "q-chatbot__image-preview"
3538
+ }, Li = ["src"], Ui = { class: "q-chatbot__footer-container" }, Fi = { class: "q-chatbot__input" }, Pi = { class: "q-chatbot__send-container" }, Mi = ["accept"], ra = /* @__PURE__ */ q({
2429
3539
  name: "ChatBot",
2430
3540
  __name: "ChatBot",
2431
3541
  props: {
2432
3542
  apiEndpoint: { default: "http://localhost:3000" },
3543
+ controllerEndpoint: {},
2433
3544
  texts: { default: () => ({
2434
3545
  chatbotTitle: "ChatBot",
2435
3546
  sendMessage: "Send message",
2436
3547
  clearChat: "Clear chat",
2437
3548
  inputLabel: "What can I help with?",
3549
+ imageUpload: "Upload Image",
3550
+ imageUploadQButton: "Upload Image",
3551
+ goodResponse: "Good response",
3552
+ badResponse: "Bad response",
2438
3553
  initialMessage: "Howdy! I am GenioBot 👋, Quidgest's personal AI assistant! How can I help you?",
2439
3554
  initialAgentMessage: "Just a temporary message while we are working on the agent mode",
2440
3555
  loginError: "Uh oh, I could not authenticate with the Quidgest API endpoint 😓",
@@ -2442,220 +3557,284 @@ const Ar = ["id", "required", "placeholder", "readonly", "disabled", "maxlength"
2442
3557
  }) },
2443
3558
  username: {},
2444
3559
  projectPath: {},
2445
- userImage: { default: xr },
2446
- chatbotImage: { default: Cr },
3560
+ userImage: { default: ki },
3561
+ chatbotImage: { default: Ti },
2447
3562
  dateFormat: {},
2448
3563
  mode: { default: "chat" }
2449
3564
  },
2450
3565
  setup(e) {
2451
- const t = G([]), n = G(1), s = G(""), r = G(!1), o = G(!1), i = G(null), a = G(!0), u = e;
2452
- at(() => {
2453
- b(), ue(() => {
2454
- var A;
2455
- (A = i.value) == null || A.addEventListener("scroll", T);
3566
+ const t = M([]), n = M(1), o = M(""), r = M(!1), s = M(!1), i = M(null), a = M(!0), d = M(null), c = M(null), u = S(() => ".png, .jpeg, .jpg, .svg, .webp"), f = M(!1), b = S(() => o.value.trim().length === 0 || r.value || s.value), p = e;
3567
+ Ue(() => {
3568
+ R(), oe(() => {
3569
+ var v;
3570
+ (v = i.value) == null || v.addEventListener("scroll", X);
2456
3571
  });
2457
3572
  });
2458
- const c = E(() => o.value || r.value), d = E(() => ({
2459
- "q-chatbot__footer-disabled": c.value
3573
+ const m = S(() => s.value || r.value), g = S(() => ({
3574
+ "q-chatbot__footer-disabled": m.value
2460
3575
  }));
2461
- function f(A) {
2462
- o.value = A;
3576
+ function h(v) {
3577
+ s.value = v;
2463
3578
  }
2464
- function b() {
2465
- S.post(u.apiEndpoint + "/auth/login", {
2466
- username: u.username,
3579
+ function R() {
3580
+ F.post(p.apiEndpoint + "/auth/login", {
3581
+ username: p.username,
2467
3582
  password: "test"
2468
- }).then((A) => {
2469
- if (A.status !== 200 || !A.data.success) {
2470
- f(!0), p(u.texts.loginError), console.log(`Unsuccessful login, endpoint gave status ${A.status}`);
3583
+ }).then((v) => {
3584
+ if (v.status !== 200 || !v.data.success) {
3585
+ h(!0), y(p.texts.loginError), console.log(`Unsuccessful login, endpoint gave status ${v.status}`);
2471
3586
  return;
2472
3587
  }
2473
- v();
2474
- }).catch((A) => {
2475
- f(!0), p(u.texts.loginError), console.log("Error during login: " + A);
3588
+ k();
3589
+ }).catch((v) => {
3590
+ h(!0), y(p.texts.loginError), console.log("Error during login: " + v);
2476
3591
  });
2477
3592
  }
2478
- function v() {
2479
- S.post(u.apiEndpoint + "/prompt/load", {
2480
- username: u.username,
2481
- project: u.projectPath
2482
- }).then((A) => {
2483
- if (A.status !== 200 || !A.data.success) {
2484
- f(!0), p(u.texts.loginError), console.log(`Unsuccessful load, endpoint gave status ${A.status}`);
3593
+ function k() {
3594
+ F.post(p.apiEndpoint + "/prompt/load", {
3595
+ username: p.username,
3596
+ project: p.projectPath
3597
+ }).then((v) => {
3598
+ if (v.status !== 200 || !v.data.success) {
3599
+ h(!0), y(p.texts.loginError), console.log(`Unsuccessful load, endpoint gave status ${v.status}`);
2485
3600
  return;
2486
3601
  }
2487
- h(), A.data.history.forEach((N) => {
2488
- p(
2489
- N.content,
2490
- N.type === "ai" ? "bot" : "user"
3602
+ I(), v.data.history.forEach((B) => {
3603
+ const L = B.imageUrl ? p.controllerEndpoint + B.imageUrl : void 0;
3604
+ y(
3605
+ B.content,
3606
+ B.type === "ai" ? "bot" : "user",
3607
+ L,
3608
+ B.sessionID
2491
3609
  );
2492
3610
  });
2493
- }).catch((A) => {
2494
- f(!0), p(u.texts.loginError), console.log("Error loading chat data: " + A);
3611
+ }).catch((v) => {
3612
+ h(!0), y(p.texts.loginError), console.log("Error loading chat data: " + v);
2495
3613
  });
2496
3614
  }
2497
- function p(A, N = "bot") {
3615
+ function y(v, B = "bot", L = null, ae, Q) {
2498
3616
  t.value.push({
2499
3617
  id: n.value++,
2500
- message: A,
3618
+ message: v,
2501
3619
  date: /* @__PURE__ */ new Date(),
2502
- sender: N
2503
- }), ue(() => {
2504
- a.value && R();
3620
+ sender: B,
3621
+ imagePreviewUrl: L ?? void 0,
3622
+ sessionID: ae || Ci(),
3623
+ isWelcomeMessage: Q ?? !1
3624
+ }), oe(() => {
3625
+ a.value && H();
2505
3626
  });
2506
3627
  }
2507
- function m() {
3628
+ function O() {
2508
3629
  return t.value.find(
2509
- (A) => A.id === n.value - 1
3630
+ (v) => v.id === n.value - 1
2510
3631
  );
2511
3632
  }
2512
- function h() {
2513
- const A = u.mode === "chat" ? u.texts.initialMessage : u.texts.initialAgentMessage;
2514
- p(A);
3633
+ function I() {
3634
+ const v = p.mode === "chat" ? p.texts.initialMessage : p.texts.initialAgentMessage;
3635
+ y(v, "bot", null, void 0, !0);
2515
3636
  }
2516
- function w() {
2517
- t.value = [], s.value = "", r.value = !1, f(!1), a.value = !0;
3637
+ function N() {
3638
+ t.value = [], o.value = "", r.value = !1, h(!1), a.value = !0;
2518
3639
  }
2519
- function R() {
2520
- ue(() => {
3640
+ function H() {
3641
+ oe(() => {
2521
3642
  i.value && i.value.scrollTo({
2522
3643
  top: i.value.scrollHeight,
2523
3644
  behavior: "smooth"
2524
3645
  });
2525
3646
  });
2526
3647
  }
2527
- function T() {
3648
+ function X() {
2528
3649
  if (i.value) {
2529
- const { scrollTop: N, clientHeight: M, scrollHeight: Q } = i.value;
2530
- N + M >= Q - 20 ? a.value = !0 : a.value = !1;
3650
+ const { scrollTop: B, clientHeight: L, scrollHeight: ae } = i.value;
3651
+ B + L >= ae - 20 ? a.value = !0 : a.value = !1;
2531
3652
  }
2532
3653
  }
2533
- function j() {
2534
- s.value.trim().length === 0 || r.value || o.value || (p(s.value, "user"), R(), D(s.value), s.value = "");
3654
+ function K() {
3655
+ c.value = "", d.value && (d.value.value = ""), f.value = !1;
2535
3656
  }
2536
- function D(A) {
2537
- p("", "bot");
2538
- let N = m();
2539
- const M = {
2540
- message: A,
2541
- project: u.projectPath,
2542
- user: u.username
2543
- };
2544
- r.value = !0, S({
2545
- url: u.apiEndpoint + "/prompt/message",
3657
+ function we() {
3658
+ var v;
3659
+ (v = d.value) == null || v.click();
3660
+ }
3661
+ function ie(v) {
3662
+ const B = v.target;
3663
+ d.value = B, B.files && B.files[0] && (c.value = URL.createObjectURL(B.files[0]), f.value = !0);
3664
+ }
3665
+ function ce() {
3666
+ var v, B;
3667
+ o.value.trim().length === 0 || r.value || s.value || (y(o.value, "user", c.value), H(), He(o.value, (B = (v = d.value) == null ? void 0 : v.files) == null ? void 0 : B[0]), K(), o.value = "");
3668
+ }
3669
+ function He(v, B) {
3670
+ y("", "bot");
3671
+ let L = O();
3672
+ const ae = (L == null ? void 0 : L.sessionID) || "";
3673
+ let Q = null;
3674
+ B ? (Q = new FormData(), Q.append("message", v), Q.append("project", p.projectPath), Q.append("user", p.username), Q.append("image", B), Q.append("sessionID", ae)) : Q = {
3675
+ message: v,
3676
+ project: p.projectPath,
3677
+ user: p.username,
3678
+ sessionID: ae
3679
+ }, r.value = !0, F({
3680
+ url: p.apiEndpoint + "/prompt/message",
2546
3681
  method: "POST",
2547
- data: M,
2548
- onDownloadProgress: (Q) => {
2549
- var Me, qe;
2550
- const Pt = (Me = Q.event) == null ? void 0 : Me.currentTarget.response;
2551
- ((qe = Q.event) == null ? void 0 : qe.currentTarget.status) === 200 && (N && (N.message = Pt), a.value && R());
3682
+ data: Q,
3683
+ onDownloadProgress: (ne) => {
3684
+ var Z, mt;
3685
+ const x = (Z = ne.event) == null ? void 0 : Z.currentTarget.response;
3686
+ ((mt = ne.event) == null ? void 0 : mt.currentTarget.status) === 200 && (L && (L.message = x), a.value && H());
2552
3687
  }
2553
- }).then(({ data: Q }) => {
2554
- N && (N.message = Q);
2555
- }).catch((Q) => {
2556
- p(u.texts.botIsSick), f(!0), console.log(Q);
3688
+ }).then(({ data: ne }) => {
3689
+ L && (L.message = ne);
3690
+ }).catch((ne) => {
3691
+ y(p.texts.botIsSick), h(!0), console.log(ne);
2557
3692
  }).finally(() => {
2558
3693
  r.value = !1;
2559
3694
  });
2560
3695
  }
2561
- function z() {
2562
- S.post(u.apiEndpoint + "/prompt/clear", {
2563
- username: u.username,
2564
- project: u.projectPath
2565
- }).then((A) => {
2566
- if (A.status !== 200 || !A.data.success) {
2567
- f(!0), p(u.texts.loginError), console.log(`Unsuccessful clear, endpoint gave status ${A.status}`);
3696
+ function Ge() {
3697
+ F.post(p.apiEndpoint + "/prompt/clear", {
3698
+ username: p.username,
3699
+ project: p.projectPath
3700
+ }).then((v) => {
3701
+ if (v.status !== 200 || !v.data.success) {
3702
+ h(!0), y(p.texts.loginError), console.log(`Unsuccessful clear, endpoint gave status ${v.status}`);
2568
3703
  return;
2569
3704
  }
2570
- w(), h();
2571
- }).catch((A) => {
2572
- f(!0), p(u.texts.loginError), console.log("Error clearing chat: " + A);
3705
+ N(), I();
3706
+ }).catch((v) => {
3707
+ h(!0), y(p.texts.loginError), console.log("Error clearing chat: " + v);
2573
3708
  });
2574
3709
  }
2575
- function W(A) {
2576
- const N = ["q-chatbot__messages-wrapper"];
2577
- return A === "user" && N.push("q-chatbot__messages-wrapper_right"), N;
3710
+ function Ve(v) {
3711
+ const B = ["q-chatbot__messages-wrapper"];
3712
+ return v === "user" && B.push("q-chatbot__messages-wrapper_right"), B;
2578
3713
  }
2579
- return ne(
2580
- () => u.apiEndpoint,
3714
+ return re(
3715
+ () => p.apiEndpoint,
2581
3716
  () => {
2582
- w(), b();
3717
+ N(), R();
2583
3718
  }
2584
- ), (A, N) => (y(), O("div", Lr, [
2585
- C("div", Fr, [
2586
- C("div", Ir, [
2587
- J(x(rt), {
2588
- title: u.texts.clearChat,
3719
+ ), (v, B) => (w(), C("div", Di, [
3720
+ T("div", Oi, [
3721
+ T("div", Ii, [
3722
+ P(A(te), {
3723
+ title: p.texts.clearChat,
2589
3724
  "b-style": "secondary",
2590
- disabled: o.value,
3725
+ disabled: s.value,
2591
3726
  borderless: "",
2592
- onClick: z
3727
+ onClick: Ge
2593
3728
  }, {
2594
- default: H(() => [
2595
- J(x(Fe), { icon: "bin" })
3729
+ default: D(() => [
3730
+ P(A(se), { icon: "bin" })
2596
3731
  ]),
2597
3732
  _: 1
2598
3733
  }, 8, ["title", "disabled"])
2599
3734
  ]),
2600
- C("div", {
3735
+ T("div", {
2601
3736
  ref_key: "messagesContainer",
2602
3737
  ref: i,
2603
3738
  class: "q-chatbot__messages-container",
2604
- onScroll: T
3739
+ onScroll: X
2605
3740
  }, [
2606
- (y(!0), O(se, null, lt(t.value, (M) => (y(), O("div", {
2607
- key: M.id,
2608
- class: U(W(M.sender))
3741
+ (w(!0), C(fe, null, ct(t.value, (L) => (w(), C("div", {
3742
+ key: L.id,
3743
+ class: V(Ve(L.sender))
2609
3744
  }, [
2610
- J(x(Br), ge({ ref_for: !0 }, M, {
2611
- "date-format": u.dateFormat,
2612
- "user-image": u.userImage,
2613
- "chatbot-image": u.chatbotImage,
2614
- loading: r.value && !M.message
2615
- }), null, 16, ["date-format", "user-image", "chatbot-image", "loading"])
3745
+ P(A(Ei), le({ ref_for: !0 }, L, {
3746
+ "date-format": p.dateFormat,
3747
+ "user-image": p.userImage,
3748
+ "chatbot-image": p.chatbotImage,
3749
+ loading: r.value && !L.message,
3750
+ imagePreviewUrl: L.imagePreviewUrl,
3751
+ apiEndpoint: p.apiEndpoint,
3752
+ sessionID: L.sessionID
3753
+ }), null, 16, ["date-format", "user-image", "chatbot-image", "loading", "imagePreviewUrl", "apiEndpoint", "sessionID"])
2616
3754
  ], 2))), 128))
2617
3755
  ], 544),
2618
- C("div", Pr, [
2619
- J(x(It), {
2620
- label: u.texts.inputLabel
2621
- }, null, 8, ["label"]),
2622
- C("div", {
2623
- class: U(["q-chatbot__footer", d.value])
2624
- }, [
2625
- C("div", jr, [
2626
- J(x(wr), {
2627
- modelValue: s.value,
2628
- "onUpdate:modelValue": N[0] || (N[0] = (M) => s.value = M),
2629
- size: "block",
2630
- autosize: "",
2631
- resize: "none",
2632
- rows: 2,
2633
- disabled: c.value,
2634
- onKeyup: Xt(j, ["enter"])
2635
- }, null, 8, ["modelValue", "disabled"])
3756
+ c.value ? (w(), C("div", Ni, [
3757
+ T("img", {
3758
+ src: c.value,
3759
+ alt: "Image preview"
3760
+ }, null, 8, Li),
3761
+ P(A(te), {
3762
+ class: "q-chatbot__remove-image",
3763
+ "b-style": "secondary",
3764
+ flat: "",
3765
+ round: "",
3766
+ onClick: K
3767
+ }, {
3768
+ default: D(() => [
3769
+ P(A(se), { icon: "bin" })
2636
3770
  ]),
2637
- C("div", Ur, [
2638
- J(x(rt), {
2639
- title: u.texts.sendMessage,
2640
- "b-style": "primary",
2641
- class: "q-chatbot__send",
2642
- disabled: c.value,
2643
- readonly: c.value,
2644
- loading: r.value,
2645
- onClick: j
2646
- }, {
2647
- default: H(() => [
2648
- J(x(Fe), { icon: "send" })
2649
- ]),
2650
- _: 1
2651
- }, 8, ["title", "disabled", "readonly", "loading"])
2652
- ])
2653
- ], 2)
2654
- ])
3771
+ _: 1
3772
+ })
3773
+ ])) : j("", !0)
3774
+ ]),
3775
+ T("div", Ui, [
3776
+ P(A(yn), {
3777
+ label: p.texts.inputLabel
3778
+ }, null, 8, ["label"]),
3779
+ T("div", {
3780
+ class: V(["q-chatbot__footer", g.value])
3781
+ }, [
3782
+ T("div", Fi, [
3783
+ P(A(ni), {
3784
+ modelValue: o.value,
3785
+ "onUpdate:modelValue": B[0] || (B[0] = (L) => o.value = L),
3786
+ size: "block",
3787
+ autosize: "",
3788
+ resize: "none",
3789
+ rows: 2,
3790
+ disabled: m.value,
3791
+ onKeyup: Ht(ce, ["enter"])
3792
+ }, null, 8, ["modelValue", "disabled"])
3793
+ ]),
3794
+ T("div", Pi, [
3795
+ P(A(te), {
3796
+ title: p.texts.imageUpload,
3797
+ "b-style": "primary",
3798
+ class: "q-chatbot__upload",
3799
+ disabled: s.value || r.value || f.value,
3800
+ onClick: we
3801
+ }, {
3802
+ default: D(() => [
3803
+ P(A(se), { icon: "upload" })
3804
+ ]),
3805
+ _: 1
3806
+ }, 8, ["title", "disabled"]),
3807
+ T("input", {
3808
+ id: "image-upload",
3809
+ type: "file",
3810
+ ref_key: "imageInput",
3811
+ ref: d,
3812
+ onChange: ie,
3813
+ accept: u.value,
3814
+ class: "hidden-input",
3815
+ style: { display: "none" }
3816
+ }, null, 40, Mi),
3817
+ B[1] || (B[1] = T("div", { class: "spacer" }, null, -1)),
3818
+ P(A(te), {
3819
+ title: p.texts.sendMessage,
3820
+ "b-style": "primary",
3821
+ class: "q-chatbot__send",
3822
+ disabled: b.value,
3823
+ readonly: m.value,
3824
+ loading: r.value,
3825
+ onClick: ce
3826
+ }, {
3827
+ default: D(() => [
3828
+ P(A(se), { icon: "send" })
3829
+ ]),
3830
+ _: 1
3831
+ }, 8, ["title", "disabled", "readonly", "loading"])
3832
+ ])
3833
+ ], 2)
2655
3834
  ])
2656
3835
  ]));
2657
3836
  }
2658
3837
  });
2659
3838
  export {
2660
- ro as default
3839
+ ra as default
2661
3840
  };