vue-wiguet-chatweb 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { openBlock as B, createElementBlock as U, createElementVNode as g, getCurrentScope as Fi, onScopeDispose as Vi, unref as Js, computed as Gs, ref as z, watch as En, getCurrentInstance as Bi, onMounted as Ks, defineComponent as On, onBeforeMount as $i, Fragment as zn, renderList as Ui, normalizeClass as Me, createVNode as he, createCommentVNode as xt, toDisplayString as Nt, pushScopeId as Pi, popScopeId as Wi, nextTick as Zn, onUnmounted as qi, withModifiers as jn, withDirectives as an, withKeys as Yn, vModelText as Hi, createStaticVNode as zi, vShow as Jn, createBlock as Zi } from "vue";
1
+ import { openBlock as B, createElementBlock as U, createElementVNode as g, getCurrentScope as Fi, onScopeDispose as Vi, unref as Js, computed as Gs, ref as z, watch as On, getCurrentInstance as Bi, onMounted as Ks, defineComponent as Cn, onBeforeMount as $i, Fragment as Zn, renderList as Ui, normalizeClass as Me, createVNode as he, createCommentVNode as Nt, toDisplayString as _t, pushScopeId as Pi, popScopeId as Wi, nextTick as jn, onUnmounted as qi, withModifiers as Yn, withDirectives as gt, withKeys as Jn, vModelText as Hi, createStaticVNode as zi, vShow as zt, createBlock as Zi } from "vue";
2
2
  let ot;
3
3
  const ji = new Uint8Array(16);
4
4
  function Yi() {
@@ -65,10 +65,10 @@ function Xs(t, e) {
65
65
  return t.apply(e, arguments);
66
66
  };
67
67
  }
68
- const { toString: fo } = Object.prototype, { getPrototypeOf: Cn } = Object, It = /* @__PURE__ */ ((t) => (e) => {
68
+ const { toString: fo } = Object.prototype, { getPrototypeOf: xn } = Object, Dt = /* @__PURE__ */ ((t) => (e) => {
69
69
  const n = fo.call(e);
70
70
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
71
- })(/* @__PURE__ */ Object.create(null)), fe = (t) => (t = t.toLowerCase(), (e) => It(e) === t), Dt = (t) => (e) => typeof e === t, { isArray: Fe } = Array, Ke = Dt("undefined");
71
+ })(/* @__PURE__ */ Object.create(null)), fe = (t) => (t = t.toLowerCase(), (e) => Dt(e) === t), Lt = (t) => (e) => typeof e === t, { isArray: Fe } = Array, Ke = Lt("undefined");
72
72
  function ho(t) {
73
73
  return t !== null && !Ke(t) && t.constructor !== null && !Ke(t.constructor) && Q(t.constructor.isBuffer) && t.constructor.isBuffer(t);
74
74
  }
@@ -77,14 +77,14 @@ function mo(t) {
77
77
  let e;
78
78
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Qs(t.buffer), e;
79
79
  }
80
- const po = Dt("string"), Q = Dt("function"), er = Dt("number"), Lt = (t) => t !== null && typeof t == "object", yo = (t) => t === !0 || t === !1, gt = (t) => {
81
- if (It(t) !== "object")
80
+ const po = Lt("string"), Q = Lt("function"), er = Lt("number"), Ft = (t) => t !== null && typeof t == "object", yo = (t) => t === !0 || t === !1, wt = (t) => {
81
+ if (Dt(t) !== "object")
82
82
  return !1;
83
- const e = Cn(t);
83
+ const e = xn(t);
84
84
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
85
- }, go = fe("Date"), wo = fe("File"), So = fe("Blob"), vo = fe("FileList"), bo = (t) => Lt(t) && Q(t.pipe), ko = (t) => {
85
+ }, go = fe("Date"), wo = fe("File"), So = fe("Blob"), vo = fe("FileList"), bo = (t) => Ft(t) && Q(t.pipe), ko = (t) => {
86
86
  let e;
87
- return t && (typeof FormData == "function" && t instanceof FormData || Q(t.append) && ((e = It(t)) === "formdata" || // detect form-data instance
87
+ return t && (typeof FormData == "function" && t instanceof FormData || Q(t.append) && ((e = Dt(t)) === "formdata" || // detect form-data instance
88
88
  e === "object" && Q(t.toString) && t.toString() === "[object FormData]"));
89
89
  }, To = fe("URLSearchParams"), Eo = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
90
90
  function Qe(t, e, { allOwnKeys: n = !1 } = {}) {
@@ -111,10 +111,10 @@ function tr(t, e) {
111
111
  return null;
112
112
  }
113
113
  const nr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, sr = (t) => !Ke(t) && t !== nr;
114
- function cn() {
114
+ function un() {
115
115
  const { caseless: t } = sr(this) && this || {}, e = {}, n = (s, r) => {
116
116
  const i = t && tr(e, r) || r;
117
- gt(e[i]) && gt(s) ? e[i] = cn(e[i], s) : gt(s) ? e[i] = cn({}, s) : Fe(s) ? e[i] = s.slice() : e[i] = s;
117
+ wt(e[i]) && wt(s) ? e[i] = un(e[i], s) : wt(s) ? e[i] = un({}, s) : Fe(s) ? e[i] = s.slice() : e[i] = s;
118
118
  };
119
119
  for (let s = 0, r = arguments.length; s < r; s++)
120
120
  arguments[s] && Qe(arguments[s], n);
@@ -133,7 +133,7 @@ const Oo = (t, e, n, { allOwnKeys: s } = {}) => (Qe(e, (r, i) => {
133
133
  do {
134
134
  for (r = Object.getOwnPropertyNames(t), i = r.length; i-- > 0; )
135
135
  o = r[i], (!s || s(o, t, e)) && !a[o] && (e[o] = t[o], a[o] = !0);
136
- t = n !== !1 && Cn(t);
136
+ t = n !== !1 && xn(t);
137
137
  } while (t && (!n || n(t, e)) && t !== Object.prototype);
138
138
  return e;
139
139
  }, _o = (t, e, n) => {
@@ -149,7 +149,7 @@ const Oo = (t, e, n, { allOwnKeys: s } = {}) => (Qe(e, (r, i) => {
149
149
  for (; e-- > 0; )
150
150
  n[e] = t[e];
151
151
  return n;
152
- }, Mo = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Cn(Uint8Array)), Ro = (t, e) => {
152
+ }, Mo = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && xn(Uint8Array)), Ro = (t, e) => {
153
153
  const s = (t && t[Symbol.iterator]).call(t);
154
154
  let r;
155
155
  for (; (r = s.next()) && !r.done; ) {
@@ -195,10 +195,10 @@ const Oo = (t, e, n, { allOwnKeys: s } = {}) => (Qe(e, (r, i) => {
195
195
  };
196
196
  return Fe(t) ? s(t) : s(String(t).split(e)), n;
197
197
  }, $o = () => {
198
- }, Uo = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Ht = "abcdefghijklmnopqrstuvwxyz", Xn = "0123456789", ir = {
198
+ }, Uo = (t, e) => (t = +t, Number.isFinite(t) ? t : e), Zt = "abcdefghijklmnopqrstuvwxyz", Xn = "0123456789", ir = {
199
199
  DIGIT: Xn,
200
- ALPHA: Ht,
201
- ALPHA_DIGIT: Ht + Ht.toUpperCase() + Xn
200
+ ALPHA: Zt,
201
+ ALPHA_DIGIT: Zt + Zt.toUpperCase() + Xn
202
202
  }, Po = (t = 16, e = ir.ALPHA_DIGIT) => {
203
203
  let n = "";
204
204
  const { length: s } = e;
@@ -211,7 +211,7 @@ function Wo(t) {
211
211
  }
212
212
  const qo = (t) => {
213
213
  const e = new Array(10), n = (s, r) => {
214
- if (Lt(s)) {
214
+ if (Ft(s)) {
215
215
  if (e.indexOf(s) >= 0)
216
216
  return;
217
217
  if (!("toJSON" in s)) {
@@ -226,7 +226,7 @@ const qo = (t) => {
226
226
  return s;
227
227
  };
228
228
  return n(t, 0);
229
- }, Ho = fe("AsyncFunction"), zo = (t) => t && (Lt(t) || Q(t)) && Q(t.then) && Q(t.catch), f = {
229
+ }, Ho = fe("AsyncFunction"), zo = (t) => t && (Ft(t) || Q(t)) && Q(t.then) && Q(t.catch), f = {
230
230
  isArray: Fe,
231
231
  isArrayBuffer: Qs,
232
232
  isBuffer: ho,
@@ -235,8 +235,8 @@ const qo = (t) => {
235
235
  isString: po,
236
236
  isNumber: er,
237
237
  isBoolean: yo,
238
- isObject: Lt,
239
- isPlainObject: gt,
238
+ isObject: Ft,
239
+ isPlainObject: wt,
240
240
  isUndefined: Ke,
241
241
  isDate: go,
242
242
  isFile: wo,
@@ -248,13 +248,13 @@ const qo = (t) => {
248
248
  isTypedArray: Mo,
249
249
  isFileList: vo,
250
250
  forEach: Qe,
251
- merge: cn,
251
+ merge: un,
252
252
  extend: Oo,
253
253
  trim: Eo,
254
254
  stripBOM: Co,
255
255
  inherits: xo,
256
256
  toFlatObject: No,
257
- kindOf: It,
257
+ kindOf: Dt,
258
258
  kindOfTest: fe,
259
259
  endsWith: _o,
260
260
  toArray: Ao,
@@ -331,7 +331,7 @@ C.from = (t, e, n, s, r, i) => {
331
331
  }, (a) => a !== "isAxiosError"), C.call(o, t.message, e, n, s, r), o.cause = t, o.name = t.name, i && Object.assign(o, i), o;
332
332
  };
333
333
  const Zo = null;
334
- function un(t) {
334
+ function ln(t) {
335
335
  return f.isPlainObject(t) || f.isArray(t);
336
336
  }
337
337
  function cr(t) {
@@ -343,12 +343,12 @@ function Qn(t, e, n) {
343
343
  }).join(n ? "." : "") : e;
344
344
  }
345
345
  function jo(t) {
346
- return f.isArray(t) && !t.some(un);
346
+ return f.isArray(t) && !t.some(ln);
347
347
  }
348
348
  const Yo = f.toFlatObject(f, {}, null, function(e) {
349
349
  return /^is[A-Z]/.test(e);
350
350
  });
351
- function Ft(t, e, n) {
351
+ function Vt(t, e, n) {
352
352
  if (!f.isObject(t))
353
353
  throw new TypeError("target must be an object");
354
354
  e = e || new FormData(), n = f.toFlatObject(n, {
@@ -383,12 +383,12 @@ function Ft(t, e, n) {
383
383
  );
384
384
  }), !1;
385
385
  }
386
- return un(d) ? !0 : (e.append(Qn(T, w, i), c(d)), !1);
386
+ return ln(d) ? !0 : (e.append(Qn(T, w, i), c(d)), !1);
387
387
  }
388
388
  const h = [], y = Object.assign(Yo, {
389
389
  defaultVisitor: l,
390
390
  convertValue: c,
391
- isVisitable: un
391
+ isVisitable: ln
392
392
  });
393
393
  function m(d, w) {
394
394
  if (!f.isUndefined(d)) {
@@ -423,10 +423,10 @@ function es(t) {
423
423
  return e[s];
424
424
  });
425
425
  }
426
- function xn(t, e) {
427
- this._pairs = [], t && Ft(t, this, e);
426
+ function Nn(t, e) {
427
+ this._pairs = [], t && Vt(t, this, e);
428
428
  }
429
- const ur = xn.prototype;
429
+ const ur = Nn.prototype;
430
430
  ur.append = function(e, n) {
431
431
  this._pairs.push([e, n]);
432
432
  };
@@ -446,7 +446,7 @@ function lr(t, e, n) {
446
446
  return t;
447
447
  const s = n && n.encode || Jo, r = n && n.serialize;
448
448
  let i;
449
- if (r ? i = r(e, n) : i = f.isURLSearchParams(e) ? e.toString() : new xn(e, n).toString(s), i) {
449
+ if (r ? i = r(e, n) : i = f.isURLSearchParams(e) ? e.toString() : new Nn(e, n).toString(s), i) {
450
450
  const o = t.indexOf("#");
451
451
  o !== -1 && (t = t.slice(0, o)), t += (t.indexOf("?") === -1 ? "?" : "&") + i;
452
452
  }
@@ -510,7 +510,7 @@ const fr = {
510
510
  silentJSONParsing: !0,
511
511
  forcedJSONParsing: !0,
512
512
  clarifyTimeoutError: !1
513
- }, Go = typeof URLSearchParams < "u" ? URLSearchParams : xn, Ko = typeof FormData < "u" ? FormData : null, Xo = typeof Blob < "u" ? Blob : null, Qo = (() => {
513
+ }, Go = typeof URLSearchParams < "u" ? URLSearchParams : Nn, Ko = typeof FormData < "u" ? FormData : null, Xo = typeof Blob < "u" ? Blob : null, Qo = (() => {
514
514
  let t;
515
515
  return typeof navigator < "u" && ((t = navigator.product) === "ReactNative" || t === "NativeScript" || t === "NS") ? !1 : typeof window < "u" && typeof document < "u";
516
516
  })(), ea = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
@@ -526,7 +526,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", ce
526
526
  protocols: ["http", "https", "file", "blob", "url", "data"]
527
527
  };
528
528
  function ta(t, e) {
529
- return Ft(t, new ce.classes.URLSearchParams(), Object.assign({
529
+ return Vt(t, new ce.classes.URLSearchParams(), Object.assign({
530
530
  visitor: function(n, s, r, i) {
531
531
  return ce.isNode && f.isBuffer(n) ? (this.append(s, n.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
532
532
  }
@@ -590,7 +590,7 @@ const Ve = {
590
590
  return ta(e, this.formSerializer).toString();
591
591
  if ((a = f.isFileList(e)) || s.indexOf("multipart/form-data") > -1) {
592
592
  const u = this.env && this.env.FormData;
593
- return Ft(
593
+ return Vt(
594
594
  a ? { "files[]": e } : e,
595
595
  u && new u(),
596
596
  this.formSerializer
@@ -669,8 +669,8 @@ const oa = f.toObjectSet([
669
669
  function He(t) {
670
670
  return t && String(t).trim().toLowerCase();
671
671
  }
672
- function wt(t) {
673
- return t === !1 || t == null ? t : f.isArray(t) ? t.map(wt) : String(t);
672
+ function St(t) {
673
+ return t === !1 || t == null ? t : f.isArray(t) ? t.map(St) : String(t);
674
674
  }
675
675
  function ca(t) {
676
676
  const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -680,7 +680,7 @@ function ca(t) {
680
680
  return e;
681
681
  }
682
682
  const ua = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
683
- function zt(t, e, n, s, r) {
683
+ function jt(t, e, n, s, r) {
684
684
  if (f.isFunction(s))
685
685
  return s.call(this, e, n);
686
686
  if (r && (e = n), !!f.isString(e)) {
@@ -715,7 +715,7 @@ class ee {
715
715
  if (!l)
716
716
  throw new Error("header name must be a non-empty string");
717
717
  const h = f.findKey(r, l);
718
- (!h || r[h] === void 0 || c === !0 || c === void 0 && r[h] !== !1) && (r[h || u] = wt(a));
718
+ (!h || r[h] === void 0 || c === !0 || c === void 0 && r[h] !== !1) && (r[h || u] = St(a));
719
719
  }
720
720
  const o = (a, u) => f.forEach(a, (c, l) => i(c, l, u));
721
721
  return f.isPlainObject(e) || e instanceof this.constructor ? o(e, n) : f.isString(e) && (e = e.trim()) && !ua(e) ? o(aa(e), n) : e != null && i(n, e, s), this;
@@ -740,7 +740,7 @@ class ee {
740
740
  has(e, n) {
741
741
  if (e = He(e), e) {
742
742
  const s = f.findKey(this, e);
743
- return !!(s && this[s] !== void 0 && (!n || zt(this, this[s], s, n)));
743
+ return !!(s && this[s] !== void 0 && (!n || jt(this, this[s], s, n)));
744
744
  }
745
745
  return !1;
746
746
  }
@@ -750,7 +750,7 @@ class ee {
750
750
  function i(o) {
751
751
  if (o = He(o), o) {
752
752
  const a = f.findKey(s, o);
753
- a && (!n || zt(s, s[a], a, n)) && (delete s[a], r = !0);
753
+ a && (!n || jt(s, s[a], a, n)) && (delete s[a], r = !0);
754
754
  }
755
755
  }
756
756
  return f.isArray(e) ? e.forEach(i) : i(e), r;
@@ -760,7 +760,7 @@ class ee {
760
760
  let s = n.length, r = !1;
761
761
  for (; s--; ) {
762
762
  const i = n[s];
763
- (!e || zt(this, this[i], i, e, !0)) && (delete this[i], r = !0);
763
+ (!e || jt(this, this[i], i, e, !0)) && (delete this[i], r = !0);
764
764
  }
765
765
  return r;
766
766
  }
@@ -769,11 +769,11 @@ class ee {
769
769
  return f.forEach(this, (r, i) => {
770
770
  const o = f.findKey(s, i);
771
771
  if (o) {
772
- n[o] = wt(r), delete n[i];
772
+ n[o] = St(r), delete n[i];
773
773
  return;
774
774
  }
775
775
  const a = e ? la(i) : String(i).trim();
776
- a !== i && delete n[i], n[a] = wt(r), s[a] = !0;
776
+ a !== i && delete n[i], n[a] = St(r), s[a] = !0;
777
777
  }), this;
778
778
  }
779
779
  concat(...e) {
@@ -816,7 +816,7 @@ class ee {
816
816
  ee.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
817
817
  f.freezeMethods(ee.prototype);
818
818
  f.freezeMethods(ee);
819
- function Zt(t, e) {
819
+ function Yt(t, e) {
820
820
  const n = this || Ve, s = e || n, r = ee.from(s.headers);
821
821
  let i = s.data;
822
822
  return f.forEach(t, function(a) {
@@ -1018,11 +1018,11 @@ const Sa = typeof XMLHttpRequest < "u", va = Sa && function(t) {
1018
1018
  }
1019
1019
  c.send(r || null);
1020
1020
  });
1021
- }, St = {
1021
+ }, vt = {
1022
1022
  http: Zo,
1023
1023
  xhr: va
1024
1024
  };
1025
- f.forEach(St, (t, e) => {
1025
+ f.forEach(vt, (t, e) => {
1026
1026
  if (t) {
1027
1027
  try {
1028
1028
  Object.defineProperty(t, "name", { value: e });
@@ -1036,37 +1036,37 @@ const ba = {
1036
1036
  t = f.isArray(t) ? t : [t];
1037
1037
  const { length: e } = t;
1038
1038
  let n, s;
1039
- for (let r = 0; r < e && (n = t[r], !(s = f.isString(n) ? St[n.toLowerCase()] : n)); r++)
1039
+ for (let r = 0; r < e && (n = t[r], !(s = f.isString(n) ? vt[n.toLowerCase()] : n)); r++)
1040
1040
  ;
1041
1041
  if (!s)
1042
1042
  throw s === !1 ? new C(
1043
1043
  `Adapter ${n} is not supported by the environment`,
1044
1044
  "ERR_NOT_SUPPORT"
1045
1045
  ) : new Error(
1046
- f.hasOwnProp(St, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
1046
+ f.hasOwnProp(vt, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
1047
1047
  );
1048
1048
  if (!f.isFunction(s))
1049
1049
  throw new TypeError("adapter is not a function");
1050
1050
  return s;
1051
1051
  },
1052
- adapters: St
1052
+ adapters: vt
1053
1053
  };
1054
- function jt(t) {
1054
+ function Jt(t) {
1055
1055
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1056
1056
  throw new et(null, t);
1057
1057
  }
1058
1058
  function rs(t) {
1059
- return jt(t), t.headers = ee.from(t.headers), t.data = Zt.call(
1059
+ return Jt(t), t.headers = ee.from(t.headers), t.data = Yt.call(
1060
1060
  t,
1061
1061
  t.transformRequest
1062
1062
  ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), ba.getAdapter(t.adapter || Ve.adapter)(t).then(function(s) {
1063
- return jt(t), s.data = Zt.call(
1063
+ return Jt(t), s.data = Yt.call(
1064
1064
  t,
1065
1065
  t.transformResponse,
1066
1066
  s
1067
1067
  ), s.headers = ee.from(s.headers), s;
1068
1068
  }, function(s) {
1069
- return dr(s) || (jt(t), s && s.response && (s.response.data = Zt.call(
1069
+ return dr(s) || (Jt(t), s && s.response && (s.response.data = Yt.call(
1070
1070
  t,
1071
1071
  t.transformResponse,
1072
1072
  s.response
@@ -1137,14 +1137,14 @@ function De(t, e) {
1137
1137
  f.isUndefined(y) && h !== a || (n[l] = y);
1138
1138
  }), n;
1139
1139
  }
1140
- const pr = "1.4.0", Nn = {};
1140
+ const pr = "1.4.0", _n = {};
1141
1141
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
1142
- Nn[t] = function(s) {
1142
+ _n[t] = function(s) {
1143
1143
  return typeof s === t || "a" + (e < 1 ? "n " : " ") + t;
1144
1144
  };
1145
1145
  });
1146
1146
  const os = {};
1147
- Nn.transitional = function(e, n, s) {
1147
+ _n.transitional = function(e, n, s) {
1148
1148
  function r(i, o) {
1149
1149
  return "[Axios v" + pr + "] Transitional option '" + i + "'" + o + (s ? ". " + s : "");
1150
1150
  }
@@ -1179,10 +1179,10 @@ function ka(t, e, n) {
1179
1179
  throw new C("Unknown option " + i, C.ERR_BAD_OPTION);
1180
1180
  }
1181
1181
  }
1182
- const ln = {
1182
+ const fn = {
1183
1183
  assertOptions: ka,
1184
- validators: Nn
1185
- }, me = ln.validators;
1184
+ validators: _n
1185
+ }, me = fn.validators;
1186
1186
  class Te {
1187
1187
  constructor(e) {
1188
1188
  this.defaults = e, this.interceptors = {
@@ -1201,13 +1201,13 @@ class Te {
1201
1201
  request(e, n) {
1202
1202
  typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = De(this.defaults, n);
1203
1203
  const { transitional: s, paramsSerializer: r, headers: i } = n;
1204
- s !== void 0 && ln.assertOptions(s, {
1204
+ s !== void 0 && fn.assertOptions(s, {
1205
1205
  silentJSONParsing: me.transitional(me.boolean),
1206
1206
  forcedJSONParsing: me.transitional(me.boolean),
1207
1207
  clarifyTimeoutError: me.transitional(me.boolean)
1208
1208
  }, !1), r != null && (f.isFunction(r) ? n.paramsSerializer = {
1209
1209
  serialize: r
1210
- } : ln.assertOptions(r, {
1210
+ } : fn.assertOptions(r, {
1211
1211
  encode: me.function,
1212
1212
  serialize: me.function
1213
1213
  }, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1287,7 +1287,7 @@ f.forEach(["post", "put", "patch"], function(e) {
1287
1287
  }
1288
1288
  Te.prototype[e] = n(), Te.prototype[e + "Form"] = n(!0);
1289
1289
  });
1290
- class _n {
1290
+ class An {
1291
1291
  constructor(e) {
1292
1292
  if (typeof e != "function")
1293
1293
  throw new TypeError("executor must be a function.");
@@ -1347,7 +1347,7 @@ class _n {
1347
1347
  static source() {
1348
1348
  let e;
1349
1349
  return {
1350
- token: new _n(function(r) {
1350
+ token: new An(function(r) {
1351
1351
  e = r;
1352
1352
  }),
1353
1353
  cancel: e
@@ -1362,7 +1362,7 @@ function Ta(t) {
1362
1362
  function Ea(t) {
1363
1363
  return f.isObject(t) && t.isAxiosError === !0;
1364
1364
  }
1365
- const fn = {
1365
+ const hn = {
1366
1366
  Continue: 100,
1367
1367
  SwitchingProtocols: 101,
1368
1368
  Processing: 102,
@@ -1427,8 +1427,8 @@ const fn = {
1427
1427
  NotExtended: 510,
1428
1428
  NetworkAuthenticationRequired: 511
1429
1429
  };
1430
- Object.entries(fn).forEach(([t, e]) => {
1431
- fn[e] = t;
1430
+ Object.entries(hn).forEach(([t, e]) => {
1431
+ hn[e] = t;
1432
1432
  });
1433
1433
  function yr(t) {
1434
1434
  const e = new Te(t), n = Xs(Te.prototype.request, e);
@@ -1439,10 +1439,10 @@ function yr(t) {
1439
1439
  const $ = yr(Ve);
1440
1440
  $.Axios = Te;
1441
1441
  $.CanceledError = et;
1442
- $.CancelToken = _n;
1442
+ $.CancelToken = An;
1443
1443
  $.isCancel = dr;
1444
1444
  $.VERSION = pr;
1445
- $.toFormData = Ft;
1445
+ $.toFormData = Vt;
1446
1446
  $.AxiosError = C;
1447
1447
  $.Cancel = $.CanceledError;
1448
1448
  $.all = function(e) {
@@ -1453,9 +1453,9 @@ $.isAxiosError = Ea;
1453
1453
  $.mergeConfig = De;
1454
1454
  $.AxiosHeaders = ee;
1455
1455
  $.formToJSON = (t) => hr(f.isHTMLForm(t) ? new FormData(t) : t);
1456
- $.HttpStatusCode = fn;
1456
+ $.HttpStatusCode = hn;
1457
1457
  $.default = $;
1458
- const Vt = async function(t) {
1458
+ const Bt = async function(t) {
1459
1459
  const e = t, n = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : "https://chatadmin-gw.dev.mp.gob.bo", s = {
1460
1460
  method: e.method,
1461
1461
  url: `${n}${e.url}`,
@@ -1483,7 +1483,7 @@ async function Oa(t) {
1483
1483
  method: "post",
1484
1484
  data: t.body,
1485
1485
  token: t.token
1486
- }, n = await Vt(e).catch((r) => (console.error(r), null)), s = n == null ? void 0 : n.response;
1486
+ }, n = await Bt(e).catch((r) => (console.error(r), null)), s = n == null ? void 0 : n.response;
1487
1487
  return s != null && s.data ? {
1488
1488
  data: s.data,
1489
1489
  pagination: s.pagination
@@ -1494,7 +1494,7 @@ async function Oa(t) {
1494
1494
  }
1495
1495
  async function Ca(t, e) {
1496
1496
  var r;
1497
- const s = await Vt({
1497
+ const s = await Bt({
1498
1498
  url: "/v1/message/send-message",
1499
1499
  method: "POST",
1500
1500
  data: t,
@@ -1504,7 +1504,7 @@ async function Ca(t, e) {
1504
1504
  }
1505
1505
  async function as(t) {
1506
1506
  var s;
1507
- const n = await Vt({
1507
+ const n = await Bt({
1508
1508
  url: "/v1/app-chats/web-chat",
1509
1509
  method: "get",
1510
1510
  token: t
@@ -1522,7 +1522,7 @@ async function cs(t, e) {
1522
1522
  method: "PATCH",
1523
1523
  data: n,
1524
1524
  token: e
1525
- }, r = await Vt(s).catch((o) => (console.error(o), null));
1525
+ }, r = await Bt(s).catch((o) => (console.error(o), null));
1526
1526
  return (i = r == null ? void 0 : r.response) == null ? void 0 : i.data;
1527
1527
  }
1528
1528
  function xa(t) {
@@ -1533,9 +1533,9 @@ function gr(t) {
1533
1533
  }
1534
1534
  const Na = typeof window < "u" && typeof document < "u";
1535
1535
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
1536
- const _a = (t) => t != null, Yt = () => {
1536
+ const _a = (t) => t != null, Gt = () => {
1537
1537
  };
1538
- function Jt(t) {
1538
+ function Kt(t) {
1539
1539
  var e;
1540
1540
  const n = gr(t);
1541
1541
  return (e = n == null ? void 0 : n.$el) != null ? e : n;
@@ -1560,28 +1560,28 @@ function Ia(t, e, n = {}) {
1560
1560
  immediate: a = !0
1561
1561
  } = n, u = Ra(() => o && "IntersectionObserver" in o), c = Gs(() => {
1562
1562
  const d = gr(t);
1563
- return (Array.isArray(d) ? d : [d]).map(Jt).filter(_a);
1563
+ return (Array.isArray(d) ? d : [d]).map(Kt).filter(_a);
1564
1564
  });
1565
- let l = Yt;
1566
- const h = z(a), y = u.value ? En(
1567
- () => [c.value, Jt(s), h.value],
1565
+ let l = Gt;
1566
+ const h = z(a), y = u.value ? On(
1567
+ () => [c.value, Kt(s), h.value],
1568
1568
  ([d, w]) => {
1569
1569
  if (l(), !h.value || !d.length)
1570
1570
  return;
1571
1571
  const T = new IntersectionObserver(
1572
1572
  e,
1573
1573
  {
1574
- root: Jt(w),
1574
+ root: Kt(w),
1575
1575
  rootMargin: r,
1576
1576
  threshold: i
1577
1577
  }
1578
1578
  );
1579
1579
  d.forEach((_) => _ && T.observe(_)), l = () => {
1580
- T.disconnect(), l = Yt;
1580
+ T.disconnect(), l = Gt;
1581
1581
  };
1582
1582
  },
1583
1583
  { immediate: a, flush: "post" }
1584
- ) : Yt, m = () => {
1584
+ ) : Gt, m = () => {
1585
1585
  l(), y(), h.value = !1;
1586
1586
  };
1587
1587
  return xa(m), {
@@ -1627,7 +1627,7 @@ class pe extends Ee {
1627
1627
  super("Zone is an abstract class");
1628
1628
  }
1629
1629
  }
1630
- const p = "numeric", ie = "short", Y = "long", _t = {
1630
+ const p = "numeric", ie = "short", Y = "long", At = {
1631
1631
  year: p,
1632
1632
  month: p,
1633
1633
  day: p
@@ -1837,14 +1837,14 @@ class tt {
1837
1837
  throw new pe();
1838
1838
  }
1839
1839
  }
1840
- let Gt = null;
1841
- class Bt extends tt {
1840
+ let Xt = null;
1841
+ class $t extends tt {
1842
1842
  /**
1843
1843
  * Get a singleton instance of the local zone
1844
1844
  * @return {SystemZone}
1845
1845
  */
1846
1846
  static get instance() {
1847
- return Gt === null && (Gt = new Bt()), Gt;
1847
+ return Xt === null && (Xt = new $t()), Xt;
1848
1848
  }
1849
1849
  /** @override **/
1850
1850
  get type() {
@@ -1879,9 +1879,9 @@ class Bt extends tt {
1879
1879
  return !0;
1880
1880
  }
1881
1881
  }
1882
- let vt = {};
1882
+ let bt = {};
1883
1883
  function $a(t) {
1884
- return vt[t] || (vt[t] = new Intl.DateTimeFormat("en-US", {
1884
+ return bt[t] || (bt[t] = new Intl.DateTimeFormat("en-US", {
1885
1885
  hour12: !1,
1886
1886
  timeZone: t,
1887
1887
  year: "numeric",
@@ -1891,7 +1891,7 @@ function $a(t) {
1891
1891
  minute: "2-digit",
1892
1892
  second: "2-digit",
1893
1893
  era: "short"
1894
- })), vt[t];
1894
+ })), bt[t];
1895
1895
  }
1896
1896
  const Ua = {
1897
1897
  year: 0,
@@ -1928,7 +1928,7 @@ class de extends tt {
1928
1928
  * @return {void}
1929
1929
  */
1930
1930
  static resetCache() {
1931
- at = {}, vt = {};
1931
+ at = {}, bt = {};
1932
1932
  }
1933
1933
  /**
1934
1934
  * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
@@ -2021,7 +2021,7 @@ class de extends tt {
2021
2021
  const s = $a(this.name);
2022
2022
  let [r, i, o, a, u, c, l] = s.formatToParts ? Wa(s, n) : Pa(s, n);
2023
2023
  a === "BC" && (r = -Math.abs(r) + 1);
2024
- const y = Ut({
2024
+ const y = Pt({
2025
2025
  year: r,
2026
2026
  month: i,
2027
2027
  day: o,
@@ -2058,23 +2058,23 @@ function qa(t, e = {}) {
2058
2058
  let s = us[n];
2059
2059
  return s || (s = new Intl.ListFormat(t, e), us[n] = s), s;
2060
2060
  }
2061
- let hn = {};
2062
- function dn(t, e = {}) {
2061
+ let dn = {};
2062
+ function mn(t, e = {}) {
2063
2063
  const n = JSON.stringify([t, e]);
2064
- let s = hn[n];
2065
- return s || (s = new Intl.DateTimeFormat(t, e), hn[n] = s), s;
2064
+ let s = dn[n];
2065
+ return s || (s = new Intl.DateTimeFormat(t, e), dn[n] = s), s;
2066
2066
  }
2067
- let mn = {};
2067
+ let pn = {};
2068
2068
  function Ha(t, e = {}) {
2069
2069
  const n = JSON.stringify([t, e]);
2070
- let s = mn[n];
2071
- return s || (s = new Intl.NumberFormat(t, e), mn[n] = s), s;
2070
+ let s = pn[n];
2071
+ return s || (s = new Intl.NumberFormat(t, e), pn[n] = s), s;
2072
2072
  }
2073
- let pn = {};
2073
+ let yn = {};
2074
2074
  function za(t, e = {}) {
2075
2075
  const { base: n, ...s } = e, r = JSON.stringify([t, s]);
2076
- let i = pn[r];
2077
- return i || (i = new Intl.RelativeTimeFormat(t, e), pn[r] = i), i;
2076
+ let i = yn[r];
2077
+ return i || (i = new Intl.RelativeTimeFormat(t, e), yn[r] = i), i;
2078
2078
  }
2079
2079
  let je = null;
2080
2080
  function Za() {
@@ -2098,10 +2098,10 @@ function Ya(t) {
2098
2098
  {
2099
2099
  let s, r;
2100
2100
  try {
2101
- s = dn(t).resolvedOptions(), r = t;
2101
+ s = mn(t).resolvedOptions(), r = t;
2102
2102
  } catch {
2103
2103
  const u = t.substring(0, n);
2104
- s = dn(u).resolvedOptions(), r = u;
2104
+ s = mn(u).resolvedOptions(), r = u;
2105
2105
  }
2106
2106
  const { numberingSystem: i, calendar: o } = s;
2107
2107
  return [r, i, o];
@@ -2147,7 +2147,7 @@ class Qa {
2147
2147
  const n = this.floor ? Math.floor(e) : e;
2148
2148
  return this.inf.format(n);
2149
2149
  } else {
2150
- const n = this.floor ? Math.floor(e) : Dn(e, 3);
2150
+ const n = this.floor ? Math.floor(e) : Ln(e, 3);
2151
2151
  return D(n, this.padTo);
2152
2152
  }
2153
2153
  }
@@ -2163,7 +2163,7 @@ class ec {
2163
2163
  e.offset !== 0 && de.create(a).valid ? (r = a, this.dt = e) : (r = "UTC", this.dt = e.offset === 0 ? e : e.setZone("UTC").plus({ minutes: e.offset }), this.originalZone = e.zone);
2164
2164
  } else e.zone.type === "system" ? this.dt = e : e.zone.type === "iana" ? (this.dt = e, r = e.zone.name) : (r = "UTC", this.dt = e.setZone("UTC").plus({ minutes: e.offset }), this.originalZone = e.zone);
2165
2165
  const i = { ...this.opts };
2166
- i.timeZone = i.timeZone || r, this.dtf = dn(n, i);
2166
+ i.timeZone = i.timeZone || r, this.dtf = mn(n, i);
2167
2167
  }
2168
2168
  format() {
2169
2169
  return this.originalZone ? this.formatToParts().map(({ value: e }) => e).join("") : this.dtf.format(this.dt.toJSDate());
@@ -2215,11 +2215,11 @@ class N {
2215
2215
  );
2216
2216
  }
2217
2217
  static create(e, n, s, r, i = !1) {
2218
- const o = e || I.defaultLocale, a = o || (i ? "en-US" : Za()), u = n || I.defaultNumberingSystem, c = s || I.defaultOutputCalendar, l = yn(r) || I.defaultWeekSettings;
2218
+ const o = e || I.defaultLocale, a = o || (i ? "en-US" : Za()), u = n || I.defaultNumberingSystem, c = s || I.defaultOutputCalendar, l = gn(r) || I.defaultWeekSettings;
2219
2219
  return new N(a, u, c, l, o);
2220
2220
  }
2221
2221
  static resetCache() {
2222
- je = null, hn = {}, mn = {}, pn = {};
2222
+ je = null, dn = {}, pn = {}, yn = {};
2223
2223
  }
2224
2224
  static fromObject({ locale: e, numberingSystem: n, outputCalendar: s, weekSettings: r } = {}) {
2225
2225
  return N.create(e, n, s, r);
@@ -2240,7 +2240,7 @@ class N {
2240
2240
  e.locale || this.specifiedLocale,
2241
2241
  e.numberingSystem || this.numberingSystem,
2242
2242
  e.outputCalendar || this.outputCalendar,
2243
- yn(e.weekSettings) || this.weekSettings,
2243
+ gn(e.weekSettings) || this.weekSettings,
2244
2244
  e.defaultToEN || !1
2245
2245
  );
2246
2246
  }
@@ -2326,14 +2326,14 @@ class N {
2326
2326
  return `Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`;
2327
2327
  }
2328
2328
  }
2329
- let Kt = null;
2329
+ let Qt = null;
2330
2330
  class Z extends tt {
2331
2331
  /**
2332
2332
  * Get a singleton instance of UTC
2333
2333
  * @return {FixedOffsetZone}
2334
2334
  */
2335
2335
  static get utcInstance() {
2336
- return Kt === null && (Kt = new Z(0)), Kt;
2336
+ return Qt === null && (Qt = new Z(0)), Qt;
2337
2337
  }
2338
2338
  /**
2339
2339
  * Get an instance with a specified offset
@@ -2355,7 +2355,7 @@ class Z extends tt {
2355
2355
  if (e) {
2356
2356
  const n = e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);
2357
2357
  if (n)
2358
- return new Z(Pt(n[1], n[2]));
2358
+ return new Z(Wt(n[1], n[2]));
2359
2359
  }
2360
2360
  return null;
2361
2361
  }
@@ -2490,10 +2490,10 @@ function we(t, e) {
2490
2490
  return t;
2491
2491
  if (uc(t)) {
2492
2492
  const n = t.toLowerCase();
2493
- return n === "default" ? e : n === "local" || n === "system" ? Bt.instance : n === "utc" || n === "gmt" ? Z.utcInstance : Z.parseSpecifier(n) || de.create(t);
2493
+ return n === "default" ? e : n === "local" || n === "system" ? $t.instance : n === "utc" || n === "gmt" ? Z.utcInstance : Z.parseSpecifier(n) || de.create(t);
2494
2494
  } else return Se(t) ? Z.instance(t) : typeof t == "object" && "offset" in t && typeof t.offset == "function" ? t : new sc(t);
2495
2495
  }
2496
- const An = {
2496
+ const Mn = {
2497
2497
  arab: "[٠-٩]",
2498
2498
  arabext: "[۰-۹]",
2499
2499
  bali: "[᭐-᭙]",
@@ -2535,14 +2535,14 @@ const An = {
2535
2535
  telu: [3174, 3183],
2536
2536
  thai: [3664, 3673],
2537
2537
  tibt: [3872, 3881]
2538
- }, rc = An.hanidec.replace(/[\[|\]]/g, "").split("");
2538
+ }, rc = Mn.hanidec.replace(/[\[|\]]/g, "").split("");
2539
2539
  function ic(t) {
2540
2540
  let e = parseInt(t, 10);
2541
2541
  if (isNaN(e)) {
2542
2542
  e = "";
2543
2543
  for (let n = 0; n < t.length; n++) {
2544
2544
  const s = t.charCodeAt(n);
2545
- if (t[n].search(An.hanidec) !== -1)
2545
+ if (t[n].search(Mn.hanidec) !== -1)
2546
2546
  e += rc.indexOf(t[n]);
2547
2547
  else
2548
2548
  for (const r in fs) {
@@ -2560,7 +2560,7 @@ function oc() {
2560
2560
  }
2561
2561
  function te({ numberingSystem: t }, e = "") {
2562
2562
  const n = t || "latn";
2563
- return Ne[n] || (Ne[n] = {}), Ne[n][e] || (Ne[n][e] = new RegExp(`${An[n]}${e}`)), Ne[n][e];
2563
+ return Ne[n] || (Ne[n] = {}), Ne[n][e] || (Ne[n][e] = new RegExp(`${Mn[n]}${e}`)), Ne[n][e];
2564
2564
  }
2565
2565
  let hs = () => Date.now(), ds = "system", ms = null, ps = null, ys = null, gs = 60, ws, Ss = null;
2566
2566
  class I {
@@ -2595,7 +2595,7 @@ class I {
2595
2595
  * @type {Zone}
2596
2596
  */
2597
2597
  static get defaultZone() {
2598
- return we(ds, Bt.instance);
2598
+ return we(ds, $t.instance);
2599
2599
  }
2600
2600
  /**
2601
2601
  * Get the default locale to create DateTimes with. Does not affect existing instances.
@@ -2659,7 +2659,7 @@ class I {
2659
2659
  * @param {WeekSettings|null} weekSettings
2660
2660
  */
2661
2661
  static set defaultWeekSettings(e) {
2662
- Ss = yn(e);
2662
+ Ss = gn(e);
2663
2663
  }
2664
2664
  /**
2665
2665
  * Get the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
@@ -2717,7 +2717,7 @@ function K(t, e) {
2717
2717
  `you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`
2718
2718
  );
2719
2719
  }
2720
- function Mn(t, e, n) {
2720
+ function Rn(t, e, n) {
2721
2721
  const s = new Date(Date.UTC(t, e - 1, n));
2722
2722
  t < 100 && t >= 0 && s.setUTCFullYear(s.getUTCFullYear() - 1900);
2723
2723
  const r = s.getUTCDay();
@@ -2730,28 +2730,28 @@ function Pr(t, e) {
2730
2730
  const n = nt(t) ? $r : Br, s = n.findIndex((i) => i < e), r = e - n[s];
2731
2731
  return { month: s + 1, day: r };
2732
2732
  }
2733
- function Rn(t, e) {
2733
+ function In(t, e) {
2734
2734
  return (t - e + 7) % 7 + 1;
2735
2735
  }
2736
- function At(t, e = 4, n = 1) {
2737
- const { year: s, month: r, day: i } = t, o = Ur(s, r, i), a = Rn(Mn(s, r, i), n);
2736
+ function Mt(t, e = 4, n = 1) {
2737
+ const { year: s, month: r, day: i } = t, o = Ur(s, r, i), a = In(Rn(s, r, i), n);
2738
2738
  let u = Math.floor((o - a + 14 - e) / 7), c;
2739
- return u < 1 ? (c = s - 1, u = Xe(c, e, n)) : u > Xe(s, e, n) ? (c = s + 1, u = 1) : c = s, { weekYear: c, weekNumber: u, weekday: a, ...Wt(t) };
2739
+ return u < 1 ? (c = s - 1, u = Xe(c, e, n)) : u > Xe(s, e, n) ? (c = s + 1, u = 1) : c = s, { weekYear: c, weekNumber: u, weekday: a, ...qt(t) };
2740
2740
  }
2741
2741
  function vs(t, e = 4, n = 1) {
2742
- const { weekYear: s, weekNumber: r, weekday: i } = t, o = Rn(Mn(s, 1, e), n), a = Re(s);
2742
+ const { weekYear: s, weekNumber: r, weekday: i } = t, o = In(Rn(s, 1, e), n), a = Re(s);
2743
2743
  let u = r * 7 + i - o - 7 + e, c;
2744
2744
  u < 1 ? (c = s - 1, u += Re(c)) : u > a ? (c = s + 1, u -= Re(s)) : c = s;
2745
2745
  const { month: l, day: h } = Pr(c, u);
2746
- return { year: c, month: l, day: h, ...Wt(t) };
2746
+ return { year: c, month: l, day: h, ...qt(t) };
2747
2747
  }
2748
- function Xt(t) {
2748
+ function en(t) {
2749
2749
  const { year: e, month: n, day: s } = t, r = Ur(e, n, s);
2750
- return { year: e, ordinal: r, ...Wt(t) };
2750
+ return { year: e, ordinal: r, ...qt(t) };
2751
2751
  }
2752
2752
  function bs(t) {
2753
2753
  const { year: e, ordinal: n } = t, { month: s, day: r } = Pr(e, n);
2754
- return { year: e, month: s, day: r, ...Wt(t) };
2754
+ return { year: e, month: s, day: r, ...qt(t) };
2755
2755
  }
2756
2756
  function ks(t, e) {
2757
2757
  if (!b(t.localWeekday) || !b(t.localWeekNumber) || !b(t.localWeekYear)) {
@@ -2767,7 +2767,7 @@ function ks(t, e) {
2767
2767
  return { minDaysInFirstWeek: 4, startOfWeek: 1 };
2768
2768
  }
2769
2769
  function ac(t, e = 4, n = 1) {
2770
- const s = $t(t.weekYear), r = X(
2770
+ const s = Ut(t.weekYear), r = X(
2771
2771
  t.weekNumber,
2772
2772
  1,
2773
2773
  Xe(t.weekYear, e, n)
@@ -2775,11 +2775,11 @@ function ac(t, e = 4, n = 1) {
2775
2775
  return s ? r ? i ? !1 : K("weekday", t.weekday) : K("week", t.weekNumber) : K("weekYear", t.weekYear);
2776
2776
  }
2777
2777
  function cc(t) {
2778
- const e = $t(t.year), n = X(t.ordinal, 1, Re(t.year));
2778
+ const e = Ut(t.year), n = X(t.ordinal, 1, Re(t.year));
2779
2779
  return e ? n ? !1 : K("ordinal", t.ordinal) : K("year", t.year);
2780
2780
  }
2781
2781
  function Wr(t) {
2782
- const e = $t(t.year), n = X(t.month, 1, 12), s = X(t.day, 1, Mt(t.year, t.month));
2782
+ const e = Ut(t.year), n = X(t.month, 1, 12), s = X(t.day, 1, Rt(t.year, t.month));
2783
2783
  return e ? n ? s ? !1 : K("day", t.day) : K("month", t.month) : K("year", t.year);
2784
2784
  }
2785
2785
  function qr(t) {
@@ -2792,7 +2792,7 @@ function b(t) {
2792
2792
  function Se(t) {
2793
2793
  return typeof t == "number";
2794
2794
  }
2795
- function $t(t) {
2795
+ function Ut(t) {
2796
2796
  return typeof t == "number" && t % 1 === 0;
2797
2797
  }
2798
2798
  function uc(t) {
@@ -2831,7 +2831,7 @@ function hc(t, e) {
2831
2831
  function Le(t, e) {
2832
2832
  return Object.prototype.hasOwnProperty.call(t, e);
2833
2833
  }
2834
- function yn(t) {
2834
+ function gn(t) {
2835
2835
  if (t == null)
2836
2836
  return null;
2837
2837
  if (typeof t != "object")
@@ -2845,7 +2845,7 @@ function yn(t) {
2845
2845
  };
2846
2846
  }
2847
2847
  function X(t, e, n) {
2848
- return $t(t) && t >= e && t <= n;
2848
+ return Ut(t) && t >= e && t <= n;
2849
2849
  }
2850
2850
  function dc(t, e) {
2851
2851
  return t - e * Math.floor(t / e);
@@ -2863,13 +2863,13 @@ function ve(t) {
2863
2863
  if (!(b(t) || t === null || t === ""))
2864
2864
  return parseFloat(t);
2865
2865
  }
2866
- function In(t) {
2866
+ function Dn(t) {
2867
2867
  if (!(b(t) || t === null || t === "")) {
2868
2868
  const e = parseFloat("0." + t) * 1e3;
2869
2869
  return Math.floor(e);
2870
2870
  }
2871
2871
  }
2872
- function Dn(t, e, n = !1) {
2872
+ function Ln(t, e, n = !1) {
2873
2873
  const s = 10 ** e;
2874
2874
  return (n ? Math.trunc : Math.round)(t * s) / s;
2875
2875
  }
@@ -2879,11 +2879,11 @@ function nt(t) {
2879
2879
  function Re(t) {
2880
2880
  return nt(t) ? 366 : 365;
2881
2881
  }
2882
- function Mt(t, e) {
2882
+ function Rt(t, e) {
2883
2883
  const n = dc(e - 1, 12) + 1, s = t + (e - n) / 12;
2884
2884
  return n === 2 ? nt(s) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][n - 1];
2885
2885
  }
2886
- function Ut(t) {
2886
+ function Pt(t) {
2887
2887
  let e = Date.UTC(
2888
2888
  t.year,
2889
2889
  t.month - 1,
@@ -2896,13 +2896,13 @@ function Ut(t) {
2896
2896
  return t.year < 100 && t.year >= 0 && (e = new Date(e), e.setUTCFullYear(t.year, t.month - 1, t.day)), +e;
2897
2897
  }
2898
2898
  function Es(t, e, n) {
2899
- return -Rn(Mn(t, 1, e), n) + e - 1;
2899
+ return -In(Rn(t, 1, e), n) + e - 1;
2900
2900
  }
2901
2901
  function Xe(t, e = 4, n = 1) {
2902
2902
  const s = Es(t, e, n), r = Es(t + 1, e, n);
2903
2903
  return (Re(t) - s + r) / 7;
2904
2904
  }
2905
- function gn(t) {
2905
+ function wn(t) {
2906
2906
  return t > 99 ? t : t > I.twoDigitCutoffYear ? 1900 + t : 2e3 + t;
2907
2907
  }
2908
2908
  function Zr(t, e, n, s = null) {
@@ -2918,7 +2918,7 @@ function Zr(t, e, n, s = null) {
2918
2918
  const o = { timeZoneName: e, ...i }, a = new Intl.DateTimeFormat(n, o).formatToParts(r).find((u) => u.type.toLowerCase() === "timezonename");
2919
2919
  return a ? a.value : null;
2920
2920
  }
2921
- function Pt(t, e) {
2921
+ function Wt(t, e) {
2922
2922
  let n = parseInt(t, 10);
2923
2923
  Number.isNaN(n) && (n = 0);
2924
2924
  const s = parseInt(e, 10) || 0, r = n < 0 || Object.is(n, -0) ? -s : s;
@@ -2930,7 +2930,7 @@ function jr(t) {
2930
2930
  throw new q(`Invalid unit value ${t}`);
2931
2931
  return e;
2932
2932
  }
2933
- function Rt(t, e) {
2933
+ function It(t, e) {
2934
2934
  const n = {};
2935
2935
  for (const s in t)
2936
2936
  if (Le(t, s)) {
@@ -2953,7 +2953,7 @@ function Ge(t, e) {
2953
2953
  throw new RangeError(`Value format ${e} is out of range for property format`);
2954
2954
  }
2955
2955
  }
2956
- function Wt(t) {
2956
+ function qt(t) {
2957
2957
  return hc(t, ["hour", "minute", "second", "millisecond"]);
2958
2958
  }
2959
2959
  const mc = [
@@ -3079,7 +3079,7 @@ function Os(t, e) {
3079
3079
  return n;
3080
3080
  }
3081
3081
  const Oc = {
3082
- D: _t,
3082
+ D: At,
3083
3083
  DD: Sr,
3084
3084
  DDD: vr,
3085
3085
  DDDD: br,
@@ -3344,8 +3344,8 @@ function ni(...t) {
3344
3344
  return [s, null, n + r];
3345
3345
  };
3346
3346
  }
3347
- const si = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, Cc = `(?:${si.source}?(?:\\[(${ti.source})\\])?)?`, Ln = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, ri = RegExp(`${Ln.source}${Cc}`), Fn = RegExp(`(?:T${ri.source})?`), xc = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Nc = /(\d{4})-?W(\d\d)(?:-?(\d))?/, _c = /(\d{4})-?(\d{3})/, Ac = ni("weekYear", "weekNumber", "weekDay"), Mc = ni("year", "ordinal"), Rc = /(\d{4})-(\d\d)-(\d\d)/, ii = RegExp(
3348
- `${Ln.source} ?(?:${si.source}|(${ti.source}))?`
3347
+ const si = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, Cc = `(?:${si.source}?(?:\\[(${ti.source})\\])?)?`, Fn = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, ri = RegExp(`${Fn.source}${Cc}`), Vn = RegExp(`(?:T${ri.source})?`), xc = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, Nc = /(\d{4})-?W(\d\d)(?:-?(\d))?/, _c = /(\d{4})-?(\d{3})/, Ac = ni("weekYear", "weekNumber", "weekDay"), Mc = ni("year", "ordinal"), Rc = /(\d{4})-(\d\d)-(\d\d)/, ii = RegExp(
3348
+ `${Fn.source} ?(?:${si.source}|(${ti.source}))?`
3349
3349
  ), Ic = RegExp(`(?: ${ii.source})?`);
3350
3350
  function Ie(t, e, n) {
3351
3351
  const s = t[e];
@@ -3363,18 +3363,18 @@ function Pe(t, e) {
3363
3363
  hours: Ie(t, e, 0),
3364
3364
  minutes: Ie(t, e + 1, 0),
3365
3365
  seconds: Ie(t, e + 2, 0),
3366
- milliseconds: In(t[e + 3])
3366
+ milliseconds: Dn(t[e + 3])
3367
3367
  }, null, e + 4];
3368
3368
  }
3369
3369
  function st(t, e) {
3370
- const n = !t[e] && !t[e + 1], s = Pt(t[e + 1], t[e + 2]), r = n ? null : Z.instance(s);
3370
+ const n = !t[e] && !t[e + 1], s = Wt(t[e + 1], t[e + 2]), r = n ? null : Z.instance(s);
3371
3371
  return [{}, r, e + 3];
3372
3372
  }
3373
3373
  function rt(t, e) {
3374
3374
  const n = t[e] ? de.create(t[e]) : null;
3375
3375
  return [{}, n, e + 1];
3376
3376
  }
3377
- const Lc = RegExp(`^T?${Ln.source}$`), Fc = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
3377
+ const Lc = RegExp(`^T?${Fn.source}$`), Fc = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
3378
3378
  function Vc(t) {
3379
3379
  const [e, n, s, r, i, o, a, u, c] = t, l = e[0] === "-", h = u && u[0] === "-", y = (m, d = !1) => m !== void 0 && (d || m && l) ? -m : m;
3380
3380
  return [
@@ -3386,7 +3386,7 @@ function Vc(t) {
3386
3386
  hours: y(ve(o)),
3387
3387
  minutes: y(ve(a)),
3388
3388
  seconds: y(ve(u), u === "-0"),
3389
- milliseconds: y(In(c), h)
3389
+ milliseconds: y(Dn(c), h)
3390
3390
  }
3391
3391
  ];
3392
3392
  }
@@ -3401,9 +3401,9 @@ const Bc = {
3401
3401
  PDT: -7 * 60,
3402
3402
  PST: -8 * 60
3403
3403
  };
3404
- function Vn(t, e, n, s, r, i, o) {
3404
+ function Bn(t, e, n, s, r, i, o) {
3405
3405
  const a = {
3406
- year: e.length === 2 ? gn(ge(e)) : ge(e),
3406
+ year: e.length === 2 ? wn(ge(e)) : ge(e),
3407
3407
  month: Yr.indexOf(n) + 1,
3408
3408
  day: ge(s),
3409
3409
  hour: ge(r),
@@ -3426,9 +3426,9 @@ function Uc(t) {
3426
3426
  c,
3427
3427
  l,
3428
3428
  h
3429
- ] = t, y = Vn(e, r, s, n, i, o, a);
3429
+ ] = t, y = Bn(e, r, s, n, i, o, a);
3430
3430
  let m;
3431
- return u ? m = Bc[u] : c ? m = 0 : m = Pt(l, h), [y, new Z(m)];
3431
+ return u ? m = Bc[u] : c ? m = 0 : m = Wt(l, h), [y, new Z(m)];
3432
3432
  }
3433
3433
  function Pc(t) {
3434
3434
  return t.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
@@ -3436,13 +3436,13 @@ function Pc(t) {
3436
3436
  const Wc = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, qc = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, Hc = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
3437
3437
  function Cs(t) {
3438
3438
  const [, e, n, s, r, i, o, a] = t;
3439
- return [Vn(e, r, s, n, i, o, a), Z.utcInstance];
3439
+ return [Bn(e, r, s, n, i, o, a), Z.utcInstance];
3440
3440
  }
3441
3441
  function zc(t) {
3442
3442
  const [, e, n, s, r, i, o, a] = t;
3443
- return [Vn(e, a, n, s, r, i, o), Z.utcInstance];
3443
+ return [Bn(e, a, n, s, r, i, o), Z.utcInstance];
3444
3444
  }
3445
- const Zc = Be(xc, Fn), jc = Be(Nc, Fn), Yc = Be(_c, Fn), Jc = Be(ri), oi = $e(
3445
+ const Zc = Be(xc, Vn), jc = Be(Nc, Vn), Yc = Be(_c, Vn), Jc = Be(ri), oi = $e(
3446
3446
  Dc,
3447
3447
  Pe,
3448
3448
  st,
@@ -3675,7 +3675,7 @@ class O {
3675
3675
  `Duration.fromObject: argument expected to be an object, got ${e === null ? "null" : typeof e}`
3676
3676
  );
3677
3677
  return new O({
3678
- values: Rt(e, O.normalizeUnit),
3678
+ values: It(e, O.normalizeUnit),
3679
3679
  loc: N.fromObject(n),
3680
3680
  conversionAccuracy: n.conversionAccuracy,
3681
3681
  matrix: n.matrix
@@ -3876,7 +3876,7 @@ class O {
3876
3876
  toISO() {
3877
3877
  if (!this.isValid) return null;
3878
3878
  let e = "P";
3879
- return this.years !== 0 && (e += this.years + "Y"), (this.months !== 0 || this.quarters !== 0) && (e += this.months + this.quarters * 3 + "M"), this.weeks !== 0 && (e += this.weeks + "W"), this.days !== 0 && (e += this.days + "D"), (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) && (e += "T"), this.hours !== 0 && (e += this.hours + "H"), this.minutes !== 0 && (e += this.minutes + "M"), (this.seconds !== 0 || this.milliseconds !== 0) && (e += Dn(this.seconds + this.milliseconds / 1e3, 3) + "S"), e === "P" && (e += "T0S"), e;
3879
+ return this.years !== 0 && (e += this.years + "Y"), (this.months !== 0 || this.quarters !== 0) && (e += this.months + this.quarters * 3 + "M"), this.weeks !== 0 && (e += this.weeks + "W"), this.days !== 0 && (e += this.days + "D"), (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) && (e += "T"), this.hours !== 0 && (e += this.hours + "H"), this.minutes !== 0 && (e += this.minutes + "M"), (this.seconds !== 0 || this.milliseconds !== 0) && (e += Ln(this.seconds + this.milliseconds / 1e3, 3) + "S"), e === "P" && (e += "T0S"), e;
3880
3880
  }
3881
3881
  /**
3882
3882
  * Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.
@@ -3997,7 +3997,7 @@ class O {
3997
3997
  */
3998
3998
  set(e) {
3999
3999
  if (!this.isValid) return this;
4000
- const n = { ...this.values, ...Rt(e, O.normalizeUnit) };
4000
+ const n = { ...this.values, ...It(e, O.normalizeUnit) };
4001
4001
  return ye(this, { values: n });
4002
4002
  }
4003
4003
  /**
@@ -4593,7 +4593,7 @@ class R {
4593
4593
  * @example Interval.fromISO('2022-11-07T17:00Z/2022-11-07T19:00Z').toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> Mon, Nov 07, 6:00 – 8:00 p
4594
4594
  * @return {string}
4595
4595
  */
4596
- toLocaleString(e = _t, n = {}) {
4596
+ toLocaleString(e = At, n = {}) {
4597
4597
  return this.isValid ? H.create(this.s.loc.clone(n), e).formatInterval(this) : Ce;
4598
4598
  }
4599
4599
  /**
@@ -4885,7 +4885,7 @@ function ne(t, e) {
4885
4885
  };
4886
4886
  }
4887
4887
  function Ms(t, e) {
4888
- return { regex: t, deser: ([, n, s]) => Pt(n, s), groups: e };
4888
+ return { regex: t, deser: ([, n, s]) => Wt(n, s), groups: e };
4889
4889
  }
4890
4890
  function lt(t) {
4891
4891
  return { regex: t, deser: ([e]) => e };
@@ -4905,7 +4905,7 @@ function vu(t, e) {
4905
4905
  case "y":
4906
4906
  return x(c);
4907
4907
  case "yy":
4908
- return x(h, gn);
4908
+ return x(h, wn);
4909
4909
  case "yyyy":
4910
4910
  return x(i);
4911
4911
  case "yyyyy":
@@ -4971,7 +4971,7 @@ function vu(t, e) {
4971
4971
  case "kkkk":
4972
4972
  return x(i);
4973
4973
  case "kk":
4974
- return x(h, gn);
4974
+ return x(h, wn);
4975
4975
  case "W":
4976
4976
  return x(a);
4977
4977
  case "WW":
@@ -5117,14 +5117,14 @@ function Ou(t) {
5117
5117
  }
5118
5118
  };
5119
5119
  let n = null, s;
5120
- return b(t.z) || (n = de.create(t.z)), b(t.Z) || (n || (n = new Z(t.Z)), s = t.Z), b(t.q) || (t.M = (t.q - 1) * 3 + 1), b(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), b(t.u) || (t.S = In(t.u)), [Object.keys(t).reduce((i, o) => {
5120
+ return b(t.z) || (n = de.create(t.z)), b(t.Z) || (n || (n = new Z(t.Z)), s = t.Z), b(t.q) || (t.M = (t.q - 1) * 3 + 1), b(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), b(t.u) || (t.S = Dn(t.u)), [Object.keys(t).reduce((i, o) => {
5121
5121
  const a = e(o);
5122
5122
  return a && (i[a] = t[o]), i;
5123
5123
  }, {}), n, s];
5124
5124
  }
5125
- let Qt = null;
5125
+ let tn = null;
5126
5126
  function Cu() {
5127
- return Qt || (Qt = v.fromMillis(1555555555555)), Qt;
5127
+ return tn || (tn = v.fromMillis(1555555555555)), tn;
5128
5128
  }
5129
5129
  function xu(t, e) {
5130
5130
  if (t.literal)
@@ -5182,15 +5182,15 @@ function mi(t, e) {
5182
5182
  const s = H.create(e, t).dtFormatter(Cu()), r = s.formatToParts(), i = s.resolvedOptions();
5183
5183
  return r.map((o) => ku(o, t, i));
5184
5184
  }
5185
- const en = "Invalid DateTime", Rs = 864e13;
5185
+ const nn = "Invalid DateTime", Rs = 864e13;
5186
5186
  function Ye(t) {
5187
5187
  return new re("unsupported zone", `the zone "${t.name}" is not supported`);
5188
5188
  }
5189
- function tn(t) {
5190
- return t.weekData === null && (t.weekData = At(t.c)), t.weekData;
5189
+ function sn(t) {
5190
+ return t.weekData === null && (t.weekData = Mt(t.c)), t.weekData;
5191
5191
  }
5192
- function nn(t) {
5193
- return t.localWeekData === null && (t.localWeekData = At(
5192
+ function rn(t) {
5193
+ return t.localWeekData === null && (t.localWeekData = Mt(
5194
5194
  t.c,
5195
5195
  t.loc.getMinDaysInFirstWeek(),
5196
5196
  t.loc.getStartOfWeek()
@@ -5229,15 +5229,15 @@ function ft(t, e) {
5229
5229
  millisecond: n.getUTCMilliseconds()
5230
5230
  };
5231
5231
  }
5232
- function bt(t, e, n) {
5233
- return pi(Ut(t), e, n);
5232
+ function kt(t, e, n) {
5233
+ return pi(Pt(t), e, n);
5234
5234
  }
5235
5235
  function Is(t, e) {
5236
5236
  const n = t.o, s = t.c.year + Math.trunc(e.years), r = t.c.month + Math.trunc(e.months) + Math.trunc(e.quarters) * 3, i = {
5237
5237
  ...t.c,
5238
5238
  year: s,
5239
5239
  month: r,
5240
- day: Math.min(t.c.day, Mt(s, r)) + Math.trunc(e.days) + Math.trunc(e.weeks) * 7
5240
+ day: Math.min(t.c.day, Rt(s, r)) + Math.trunc(e.days) + Math.trunc(e.weeks) * 7
5241
5241
  }, o = O.fromObject({
5242
5242
  years: e.years - Math.trunc(e.years),
5243
5243
  quarters: e.quarters - Math.trunc(e.quarters),
@@ -5248,7 +5248,7 @@ function Is(t, e) {
5248
5248
  minutes: e.minutes,
5249
5249
  seconds: e.seconds,
5250
5250
  milliseconds: e.milliseconds
5251
- }).as("milliseconds"), a = Ut(i);
5251
+ }).as("milliseconds"), a = Pt(i);
5252
5252
  let [u, c] = pi(a, n, t.zone);
5253
5253
  return o !== 0 && (u += o, c = t.zone.offset(u)), { ts: u, o: c };
5254
5254
  }
@@ -5272,7 +5272,7 @@ function ht(t, e, n = !0) {
5272
5272
  forceSimple: !0
5273
5273
  }).formatDateTimeFromString(t, e) : null;
5274
5274
  }
5275
- function sn(t, e) {
5275
+ function on(t, e) {
5276
5276
  const n = t.c.year > 9999 || t.c.year < 0;
5277
5277
  let s = "";
5278
5278
  return n && t.c.year >= 0 && (s += "+"), s += D(t.c.year, n ? 6 : 4), e ? (s += "-", s += D(t.c.month), s += "-", s += D(t.c.day)) : (s += D(t.c.month), s += D(t.c.day)), s;
@@ -5356,7 +5356,7 @@ function Ls(t) {
5356
5356
  }
5357
5357
  }
5358
5358
  function Du(t) {
5359
- return Tt[t] || (kt === void 0 && (kt = I.now()), Tt[t] = t.offset(kt)), Tt[t];
5359
+ return Et[t] || (Tt === void 0 && (Tt = I.now()), Et[t] = t.offset(Tt)), Et[t];
5360
5360
  }
5361
5361
  function Fs(t, e) {
5362
5362
  const n = we(e.zone, I.defaultZone);
@@ -5373,12 +5373,12 @@ function Fs(t, e) {
5373
5373
  if (o)
5374
5374
  return v.invalid(o);
5375
5375
  const a = Du(n);
5376
- [r, i] = bt(t, a, n);
5376
+ [r, i] = kt(t, a, n);
5377
5377
  }
5378
5378
  return new v({ ts: r, zone: n, loc: s, o: i });
5379
5379
  }
5380
5380
  function Vs(t, e, n) {
5381
- const s = b(n.round) ? !0 : n.round, r = (o, a) => (o = Dn(o, s || n.calendary ? 0 : 2, !0), e.loc.clone(n).relFormatter(n).format(o, a)), i = (o) => n.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
5381
+ const s = b(n.round) ? !0 : n.round, r = (o, a) => (o = Ln(o, s || n.calendary ? 0 : 2, !0), e.loc.clone(n).relFormatter(n).format(o, a)), i = (o) => n.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
5382
5382
  if (n.unit)
5383
5383
  return r(i(n.unit), n.unit);
5384
5384
  for (const o of n.units) {
@@ -5392,7 +5392,7 @@ function Bs(t) {
5392
5392
  let e = {}, n;
5393
5393
  return t.length > 0 && typeof t[t.length - 1] == "object" ? (e = t[t.length - 1], n = Array.from(t).slice(0, t.length - 1)) : n = Array.from(t), [e, n];
5394
5394
  }
5395
- let kt, Tt = {};
5395
+ let Tt, Et = {};
5396
5396
  class v {
5397
5397
  /**
5398
5398
  * @access private
@@ -5574,7 +5574,7 @@ class v {
5574
5574
  const s = we(n.zone, I.defaultZone);
5575
5575
  if (!s.isValid)
5576
5576
  return v.invalid(Ye(s));
5577
- const r = N.fromObject(n), i = Rt(e, Ls), { minDaysInFirstWeek: o, startOfWeek: a } = ks(i, r), u = I.now(), c = b(n.specificOffset) ? s.offset(u) : n.specificOffset, l = !b(i.ordinal), h = !b(i.year), y = !b(i.month) || !b(i.day), m = h || y, d = i.weekYear || i.weekNumber;
5577
+ const r = N.fromObject(n), i = It(e, Ls), { minDaysInFirstWeek: o, startOfWeek: a } = ks(i, r), u = I.now(), c = b(n.specificOffset) ? s.offset(u) : n.specificOffset, l = !b(i.ordinal), h = !b(i.year), y = !b(i.month) || !b(i.day), m = h || y, d = i.weekYear || i.weekNumber;
5578
5578
  if ((m || l) && d)
5579
5579
  throw new Ae(
5580
5580
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -5583,7 +5583,7 @@ class v {
5583
5583
  throw new Ae("Can't mix ordinal dates with month/day");
5584
5584
  const w = d || i.weekday && !m;
5585
5585
  let T, _, A = ft(u, c);
5586
- w ? (T = Mu, _ = _u, A = At(A, o, a)) : l ? (T = Ru, _ = Au, A = Xt(A)) : (T = gi, _ = yi);
5586
+ w ? (T = Mu, _ = _u, A = Mt(A, o, a)) : l ? (T = Ru, _ = Au, A = en(A)) : (T = gi, _ = yi);
5587
5587
  let W = !1;
5588
5588
  for (const V of T) {
5589
5589
  const ae = i[V];
@@ -5592,7 +5592,7 @@ class v {
5592
5592
  const qe = w ? ac(i, o, a) : l ? cc(i) : Wr(i), S = qe || qr(i);
5593
5593
  if (S)
5594
5594
  return v.invalid(S);
5595
- const E = w ? vs(i, o, a) : l ? bs(i) : i, [F, j] = bt(E, c, s), M = new v({
5595
+ const E = w ? vs(i, o, a) : l ? bs(i) : i, [F, j] = kt(E, c, s), M = new v({
5596
5596
  ts: F,
5597
5597
  zone: s,
5598
5598
  o: j,
@@ -5761,7 +5761,7 @@ class v {
5761
5761
  return fi(H.parseFormat(e), N.fromObject(n)).map((r) => r.val).join("");
5762
5762
  }
5763
5763
  static resetCache() {
5764
- kt = void 0, Tt = {};
5764
+ Tt = void 0, Et = {};
5765
5765
  }
5766
5766
  // INFO
5767
5767
  /**
@@ -5906,7 +5906,7 @@ class v {
5906
5906
  * @type {number}
5907
5907
  */
5908
5908
  get weekYear() {
5909
- return this.isValid ? tn(this).weekYear : NaN;
5909
+ return this.isValid ? sn(this).weekYear : NaN;
5910
5910
  }
5911
5911
  /**
5912
5912
  * Get the week number of the week year (1-52ish).
@@ -5915,7 +5915,7 @@ class v {
5915
5915
  * @type {number}
5916
5916
  */
5917
5917
  get weekNumber() {
5918
- return this.isValid ? tn(this).weekNumber : NaN;
5918
+ return this.isValid ? sn(this).weekNumber : NaN;
5919
5919
  }
5920
5920
  /**
5921
5921
  * Get the day of the week.
@@ -5925,7 +5925,7 @@ class v {
5925
5925
  * @type {number}
5926
5926
  */
5927
5927
  get weekday() {
5928
- return this.isValid ? tn(this).weekday : NaN;
5928
+ return this.isValid ? sn(this).weekday : NaN;
5929
5929
  }
5930
5930
  /**
5931
5931
  * Returns true if this date is on a weekend according to the locale, false otherwise
@@ -5941,7 +5941,7 @@ class v {
5941
5941
  * @returns {number}
5942
5942
  */
5943
5943
  get localWeekday() {
5944
- return this.isValid ? nn(this).weekday : NaN;
5944
+ return this.isValid ? rn(this).weekday : NaN;
5945
5945
  }
5946
5946
  /**
5947
5947
  * Get the week number of the week year according to the locale. Different locales assign week numbers differently,
@@ -5950,7 +5950,7 @@ class v {
5950
5950
  * @returns {number}
5951
5951
  */
5952
5952
  get localWeekNumber() {
5953
- return this.isValid ? nn(this).weekNumber : NaN;
5953
+ return this.isValid ? rn(this).weekNumber : NaN;
5954
5954
  }
5955
5955
  /**
5956
5956
  * Get the week year according to the locale. Different locales assign week numbers (and therefor week years)
@@ -5958,7 +5958,7 @@ class v {
5958
5958
  * @returns {number}
5959
5959
  */
5960
5960
  get localWeekYear() {
5961
- return this.isValid ? nn(this).weekYear : NaN;
5961
+ return this.isValid ? rn(this).weekYear : NaN;
5962
5962
  }
5963
5963
  /**
5964
5964
  * Get the ordinal (meaning the day of the year)
@@ -5966,7 +5966,7 @@ class v {
5966
5966
  * @type {number|DateTime}
5967
5967
  */
5968
5968
  get ordinal() {
5969
- return this.isValid ? Xt(this.c).ordinal : NaN;
5969
+ return this.isValid ? en(this.c).ordinal : NaN;
5970
5970
  }
5971
5971
  /**
5972
5972
  * Get the human readable short month name, such as 'Oct'.
@@ -6059,7 +6059,7 @@ class v {
6059
6059
  getPossibleOffsets() {
6060
6060
  if (!this.isValid || this.isOffsetFixed)
6061
6061
  return [this];
6062
- const e = 864e5, n = 6e4, s = Ut(this.c), r = this.zone.offset(s - e), i = this.zone.offset(s + e), o = this.zone.offset(s - r * n), a = this.zone.offset(s - i * n);
6062
+ const e = 864e5, n = 6e4, s = Pt(this.c), r = this.zone.offset(s - e), i = this.zone.offset(s + e), o = this.zone.offset(s - r * n), a = this.zone.offset(s - i * n);
6063
6063
  if (o === a)
6064
6064
  return [this];
6065
6065
  const u = s - o * n, c = s - a * n, l = ft(u, o), h = ft(c, a);
@@ -6081,7 +6081,7 @@ class v {
6081
6081
  * @type {number}
6082
6082
  */
6083
6083
  get daysInMonth() {
6084
- return Mt(this.year, this.month);
6084
+ return Rt(this.year, this.month);
6085
6085
  }
6086
6086
  /**
6087
6087
  * Returns the number of days in this DateTime's year
@@ -6165,7 +6165,7 @@ class v {
6165
6165
  let r = this.ts;
6166
6166
  if (n || s) {
6167
6167
  const i = e.offset(this.ts), o = this.toObject();
6168
- [r] = bt(o, i, e);
6168
+ [r] = kt(o, i, e);
6169
6169
  }
6170
6170
  return be(this, { ts: r, zone: e });
6171
6171
  } else
@@ -6205,7 +6205,7 @@ class v {
6205
6205
  */
6206
6206
  set(e) {
6207
6207
  if (!this.isValid) return this;
6208
- const n = Rt(e, Ls), { minDaysInFirstWeek: s, startOfWeek: r } = ks(n, this.loc), i = !b(n.weekYear) || !b(n.weekNumber) || !b(n.weekday), o = !b(n.ordinal), a = !b(n.year), u = !b(n.month) || !b(n.day), c = a || u, l = n.weekYear || n.weekNumber;
6208
+ const n = It(e, Ls), { minDaysInFirstWeek: s, startOfWeek: r } = ks(n, this.loc), i = !b(n.weekYear) || !b(n.weekNumber) || !b(n.weekday), o = !b(n.ordinal), a = !b(n.year), u = !b(n.month) || !b(n.day), c = a || u, l = n.weekYear || n.weekNumber;
6209
6209
  if ((c || o) && l)
6210
6210
  throw new Ae(
6211
6211
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -6214,11 +6214,11 @@ class v {
6214
6214
  throw new Ae("Can't mix ordinal dates with month/day");
6215
6215
  let h;
6216
6216
  i ? h = vs(
6217
- { ...At(this.c, s, r), ...n },
6217
+ { ...Mt(this.c, s, r), ...n },
6218
6218
  s,
6219
6219
  r
6220
- ) : b(n.ordinal) ? (h = { ...this.toObject(), ...n }, b(n.day) && (h.day = Math.min(Mt(h.year, h.month), h.day))) : h = bs({ ...Xt(this.c), ...n });
6221
- const [y, m] = bt(h, this.o, this.zone);
6220
+ ) : b(n.ordinal) ? (h = { ...this.toObject(), ...n }, b(n.day) && (h.day = Math.min(Rt(h.year, h.month), h.day))) : h = bs({ ...en(this.c), ...n });
6221
+ const [y, m] = kt(h, this.o, this.zone);
6222
6222
  return be(this, { ts: y, o: m });
6223
6223
  }
6224
6224
  /**
@@ -6323,7 +6323,7 @@ class v {
6323
6323
  * @return {string}
6324
6324
  */
6325
6325
  toFormat(e, n = {}) {
6326
- return this.isValid ? H.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this, e) : en;
6326
+ return this.isValid ? H.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this, e) : nn;
6327
6327
  }
6328
6328
  /**
6329
6329
  * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
@@ -6344,8 +6344,8 @@ class v {
6344
6344
  * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
6345
6345
  * @return {string}
6346
6346
  */
6347
- toLocaleString(e = _t, n = {}) {
6348
- return this.isValid ? H.create(this.loc.clone(n), e).formatDateTime(this) : en;
6347
+ toLocaleString(e = At, n = {}) {
6348
+ return this.isValid ? H.create(this.loc.clone(n), e).formatDateTime(this) : nn;
6349
6349
  }
6350
6350
  /**
6351
6351
  * Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
@@ -6387,7 +6387,7 @@ class v {
6387
6387
  if (!this.isValid)
6388
6388
  return null;
6389
6389
  const o = e === "extended";
6390
- let a = sn(this, o);
6390
+ let a = on(this, o);
6391
6391
  return a += "T", a += Ds(this, o, n, s, r, i), a;
6392
6392
  }
6393
6393
  /**
@@ -6399,7 +6399,7 @@ class v {
6399
6399
  * @return {string}
6400
6400
  */
6401
6401
  toISODate({ format: e = "extended" } = {}) {
6402
- return this.isValid ? sn(this, e === "extended") : null;
6402
+ return this.isValid ? on(this, e === "extended") : null;
6403
6403
  }
6404
6404
  /**
6405
6405
  * Returns an ISO 8601-compliant string representation of this DateTime's week date
@@ -6467,7 +6467,7 @@ class v {
6467
6467
  * @return {string}
6468
6468
  */
6469
6469
  toSQLDate() {
6470
- return this.isValid ? sn(this, !0) : null;
6470
+ return this.isValid ? on(this, !0) : null;
6471
6471
  }
6472
6472
  /**
6473
6473
  * Returns a string representation of this DateTime appropriate for use in SQL Time
@@ -6505,7 +6505,7 @@ class v {
6505
6505
  * @return {string}
6506
6506
  */
6507
6507
  toString() {
6508
- return this.isValid ? this.toISO() : en;
6508
+ return this.isValid ? this.toISO() : nn;
6509
6509
  }
6510
6510
  /**
6511
6511
  * Returns a string representation of this DateTime appropriate for the REPL.
@@ -6794,7 +6794,7 @@ class v {
6794
6794
  * @type {Object}
6795
6795
  */
6796
6796
  static get DATE_SHORT() {
6797
- return _t;
6797
+ return At;
6798
6798
  }
6799
6799
  /**
6800
6800
  * {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
@@ -6976,7 +6976,7 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
6976
6976
  }, Ju = {
6977
6977
  key: 1,
6978
6978
  class: "mr-5"
6979
- }, Gu = /* @__PURE__ */ On({
6979
+ }, Gu = /* @__PURE__ */ Cn({
6980
6980
  __name: "MessageList",
6981
6981
  props: {
6982
6982
  messages: {
@@ -6998,7 +6998,7 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
6998
6998
  );
6999
6999
  $i(() => {
7000
7000
  n.canLoadMoreMessages || r();
7001
- }), En(
7001
+ }), On(
7002
7002
  () => n.canLoadMoreMessages,
7003
7003
  (a) => {
7004
7004
  if (a) {
@@ -7012,14 +7012,14 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
7012
7012
  const u = /(https?:\/\/[^\s]+)/g;
7013
7013
  return a.replace(u, (c) => `<a href="${c}" target="_blank">${c}</a>`);
7014
7014
  }
7015
- return (a, u) => (B(), U(zn, null, [
7015
+ return (a, u) => (B(), U(Zn, null, [
7016
7016
  g("div", {
7017
7017
  ref_key: "target",
7018
7018
  ref: s,
7019
7019
  class: "target"
7020
7020
  }, null, 512),
7021
7021
  g("div", Pu, [
7022
- (B(!0), U(zn, null, Ui(n.messages, (c) => {
7022
+ (B(!0), U(Zn, null, Ui(n.messages, (c) => {
7023
7023
  var l, h;
7024
7024
  return B(), U("div", {
7025
7025
  key: c.id,
@@ -7037,7 +7037,7 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
7037
7037
  }, [
7038
7038
  he(Uu)
7039
7039
  ], 8, Hu)
7040
- ])) : xt("", !0),
7040
+ ])) : Nt("", !0),
7041
7041
  g("div", zu, [
7042
7042
  g("div", {
7043
7043
  class: Me(["bubble", c.esCliente ? "right" : "left"])
@@ -7051,8 +7051,8 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
7051
7051
  innerHTML: o(c.message)
7052
7052
  }, null, 8, Zu),
7053
7053
  g("div", ju, [
7054
- (l = c.sender) != null && l.nombreCompleto ? (B(), U("span", Yu, Nt(c.esCliente ? (h = c.sender) == null ? void 0 : h.nombreCompleto : "ECOSISTEMA JL"), 1)) : (B(), U("span", Ju)),
7055
- g("span", null, Nt(Js(v).fromISO(c.createdAt).toFormat(
7054
+ (l = c.sender) != null && l.nombreCompleto ? (B(), U("span", Yu, _t(c.esCliente ? (h = c.sender) == null ? void 0 : h.nombreCompleto : "ECOSISTEMA JL"), 1)) : (B(), U("span", Ju)),
7055
+ g("span", null, _t(Js(v).fromISO(c.createdAt).toFormat(
7056
7056
  "dd-MM-yyyy HH:mm"
7057
7057
  )), 1)
7058
7058
  ])
@@ -7096,11 +7096,11 @@ le.pong = "3";
7096
7096
  le.message = "4";
7097
7097
  le.upgrade = "5";
7098
7098
  le.noop = "6";
7099
- const Et = /* @__PURE__ */ Object.create(null);
7099
+ const Ot = /* @__PURE__ */ Object.create(null);
7100
7100
  Object.keys(le).forEach((t) => {
7101
- Et[le[t]] = t;
7101
+ Ot[le[t]] = t;
7102
7102
  });
7103
- const wn = { type: "error", data: "parser error" }, Si = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", vi = typeof ArrayBuffer == "function", bi = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t && t.buffer instanceof ArrayBuffer, Bn = ({ type: t, data: e }, n, s) => Si && e instanceof Blob ? n ? s(e) : $s(e, s) : vi && (e instanceof ArrayBuffer || bi(e)) ? n ? s(e) : $s(new Blob([e]), s) : s(le[t] + (e || "")), $s = (t, e) => {
7103
+ const Sn = { type: "error", data: "parser error" }, Si = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", vi = typeof ArrayBuffer == "function", bi = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t && t.buffer instanceof ArrayBuffer, $n = ({ type: t, data: e }, n, s) => Si && e instanceof Blob ? n ? s(e) : $s(e, s) : vi && (e instanceof ArrayBuffer || bi(e)) ? n ? s(e) : $s(new Blob([e]), s) : s(le[t] + (e || "")), $s = (t, e) => {
7104
7104
  const n = new FileReader();
7105
7105
  return n.onload = function() {
7106
7106
  const s = n.result.split(",")[1];
@@ -7110,14 +7110,14 @@ const wn = { type: "error", data: "parser error" }, Si = typeof Blob == "functio
7110
7110
  function Us(t) {
7111
7111
  return t instanceof Uint8Array ? t : t instanceof ArrayBuffer ? new Uint8Array(t) : new Uint8Array(t.buffer, t.byteOffset, t.byteLength);
7112
7112
  }
7113
- let rn;
7113
+ let an;
7114
7114
  function ol(t, e) {
7115
7115
  if (Si && t.data instanceof Blob)
7116
7116
  return t.data.arrayBuffer().then(Us).then(e);
7117
7117
  if (vi && (t.data instanceof ArrayBuffer || bi(t.data)))
7118
7118
  return e(Us(t.data));
7119
- Bn(t, !1, (n) => {
7120
- rn || (rn = new TextEncoder()), e(rn.encode(n));
7119
+ $n(t, !1, (n) => {
7120
+ an || (an = new TextEncoder()), e(an.encode(n));
7121
7121
  });
7122
7122
  }
7123
7123
  const Ps = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Je = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
@@ -7130,7 +7130,7 @@ const al = (t) => {
7130
7130
  for (s = 0; s < n; s += 4)
7131
7131
  i = Je[t.charCodeAt(s)], o = Je[t.charCodeAt(s + 1)], a = Je[t.charCodeAt(s + 2)], u = Je[t.charCodeAt(s + 3)], l[r++] = i << 2 | o >> 4, l[r++] = (o & 15) << 4 | a >> 2, l[r++] = (a & 3) << 6 | u & 63;
7132
7132
  return c;
7133
- }, cl = typeof ArrayBuffer == "function", $n = (t, e) => {
7133
+ }, cl = typeof ArrayBuffer == "function", Un = (t, e) => {
7134
7134
  if (typeof t != "string")
7135
7135
  return {
7136
7136
  type: "message",
@@ -7140,12 +7140,12 @@ const al = (t) => {
7140
7140
  return n === "b" ? {
7141
7141
  type: "message",
7142
7142
  data: ul(t.substring(1), e)
7143
- } : Et[n] ? t.length > 1 ? {
7144
- type: Et[n],
7143
+ } : Ot[n] ? t.length > 1 ? {
7144
+ type: Ot[n],
7145
7145
  data: t.substring(1)
7146
7146
  } : {
7147
- type: Et[n]
7148
- } : wn;
7147
+ type: Ot[n]
7148
+ } : Sn;
7149
7149
  }, ul = (t, e) => {
7150
7150
  if (cl) {
7151
7151
  const n = al(t);
@@ -7164,14 +7164,14 @@ const al = (t) => {
7164
7164
  const n = t.length, s = new Array(n);
7165
7165
  let r = 0;
7166
7166
  t.forEach((i, o) => {
7167
- Bn(i, !1, (a) => {
7167
+ $n(i, !1, (a) => {
7168
7168
  s[o] = a, ++r === n && e(s.join(Ti));
7169
7169
  });
7170
7170
  });
7171
7171
  }, fl = (t, e) => {
7172
7172
  const n = t.split(Ti), s = [];
7173
7173
  for (let r = 0; r < n.length; r++) {
7174
- const i = $n(n[r], e);
7174
+ const i = Un(n[r], e);
7175
7175
  if (s.push(i), i.type === "error")
7176
7176
  break;
7177
7177
  }
@@ -7199,7 +7199,7 @@ function hl() {
7199
7199
  }
7200
7200
  });
7201
7201
  }
7202
- let on;
7202
+ let cn;
7203
7203
  function dt(t) {
7204
7204
  return t.reduce((e, n) => e + n.length, 0);
7205
7205
  }
@@ -7213,7 +7213,7 @@ function mt(t, e) {
7213
7213
  return t.length && s < t[0].length && (t[0] = t[0].slice(s)), n;
7214
7214
  }
7215
7215
  function dl(t, e) {
7216
- on || (on = new TextDecoder());
7216
+ cn || (cn = new TextDecoder());
7217
7217
  const n = [];
7218
7218
  let s = 0, r = -1, i = !1;
7219
7219
  return new TransformStream({
@@ -7234,7 +7234,7 @@ function dl(t, e) {
7234
7234
  break;
7235
7235
  const u = mt(n, 8), c = new DataView(u.buffer, u.byteOffset, u.length), l = c.getUint32(0);
7236
7236
  if (l > Math.pow(2, 21) - 1) {
7237
- a.enqueue(wn);
7237
+ a.enqueue(Sn);
7238
7238
  break;
7239
7239
  }
7240
7240
  r = l * Math.pow(2, 32) + c.getUint32(4), s = 3;
@@ -7242,10 +7242,10 @@ function dl(t, e) {
7242
7242
  if (dt(n) < r)
7243
7243
  break;
7244
7244
  const u = mt(n, r);
7245
- a.enqueue($n(i ? u : on.decode(u), e)), s = 0;
7245
+ a.enqueue(Un(i ? u : cn.decode(u), e)), s = 0;
7246
7246
  }
7247
7247
  if (r === 0 || r > t) {
7248
- a.enqueue(wn);
7248
+ a.enqueue(Sn);
7249
7249
  break;
7250
7250
  }
7251
7251
  }
@@ -7307,7 +7307,7 @@ function Oi(t, ...e) {
7307
7307
  return e.reduce((n, s) => (t.hasOwnProperty(s) && (n[s] = t[s]), n), {});
7308
7308
  }
7309
7309
  const pl = G.setTimeout, yl = G.clearTimeout;
7310
- function qt(t, e) {
7310
+ function Ht(t, e) {
7311
7311
  e.useNativeTimers ? (t.setTimeoutFn = pl.bind(G), t.clearTimeoutFn = yl.bind(G)) : (t.setTimeoutFn = G.setTimeout.bind(G), t.clearTimeoutFn = G.clearTimeout.bind(G));
7312
7312
  }
7313
7313
  const gl = 1.33;
@@ -7339,7 +7339,7 @@ class kl extends Error {
7339
7339
  super(e), this.description = n, this.context = s, this.type = "TransportError";
7340
7340
  }
7341
7341
  }
7342
- class Un extends L {
7342
+ class Pn extends L {
7343
7343
  /**
7344
7344
  * Transport abstract constructor.
7345
7345
  *
@@ -7347,7 +7347,7 @@ class Un extends L {
7347
7347
  * @protected
7348
7348
  */
7349
7349
  constructor(e) {
7350
- super(), this.writable = !1, qt(this, e), this.opts = e, this.query = e.query, this.socket = e.socket;
7350
+ super(), this.writable = !1, Ht(this, e), this.opts = e, this.query = e.query, this.socket = e.socket;
7351
7351
  }
7352
7352
  /**
7353
7353
  * Emits an error.
@@ -7396,7 +7396,7 @@ class Un extends L {
7396
7396
  * @protected
7397
7397
  */
7398
7398
  onData(e) {
7399
- const n = $n(e, this.socket.binaryType);
7399
+ const n = Un(e, this.socket.binaryType);
7400
7400
  this.onPacket(n);
7401
7401
  }
7402
7402
  /**
@@ -7437,12 +7437,12 @@ class Un extends L {
7437
7437
  return n.length ? "?" + n : "";
7438
7438
  }
7439
7439
  }
7440
- const Ci = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), Sn = 64, Tl = {};
7440
+ const Ci = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), vn = 64, Tl = {};
7441
7441
  let Ws = 0, pt = 0, qs;
7442
7442
  function Hs(t) {
7443
7443
  let e = "";
7444
7444
  do
7445
- e = Ci[t % Sn] + e, t = Math.floor(t / Sn);
7445
+ e = Ci[t % vn] + e, t = Math.floor(t / vn);
7446
7446
  while (t > 0);
7447
7447
  return e;
7448
7448
  }
@@ -7450,7 +7450,7 @@ function xi() {
7450
7450
  const t = Hs(+/* @__PURE__ */ new Date());
7451
7451
  return t !== qs ? (Ws = 0, qs = t) : t + "." + Hs(Ws++);
7452
7452
  }
7453
- for (; pt < Sn; pt++)
7453
+ for (; pt < vn; pt++)
7454
7454
  Tl[Ci[pt]] = pt;
7455
7455
  let Ni = !1;
7456
7456
  try {
@@ -7478,7 +7478,7 @@ const Cl = function() {
7478
7478
  xdomain: !1
7479
7479
  }).responseType != null;
7480
7480
  }();
7481
- class xl extends Un {
7481
+ class xl extends Pn {
7482
7482
  /**
7483
7483
  * XHR Polling constructor.
7484
7484
  *
@@ -7626,7 +7626,7 @@ class ue extends L {
7626
7626
  * @package
7627
7627
  */
7628
7628
  constructor(e, n) {
7629
- super(), qt(this, n), this.opts = n, this.method = n.method || "GET", this.uri = e, this.data = n.data !== void 0 ? n.data : null, this.create();
7629
+ super(), Ht(this, n), this.opts = n, this.method = n.method || "GET", this.uri = e, this.data = n.data !== void 0 ? n.data : null, this.create();
7630
7630
  }
7631
7631
  /**
7632
7632
  * Creates the XHR object and sends the request.
@@ -7726,8 +7726,8 @@ function zs() {
7726
7726
  for (let t in ue.requests)
7727
7727
  ue.requests.hasOwnProperty(t) && ue.requests[t].abort();
7728
7728
  }
7729
- const Pn = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, n) => n(e, 0), yt = G.WebSocket || G.MozWebSocket, Zs = !0, Nl = "arraybuffer", js = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
7730
- class _l extends Un {
7729
+ const Wn = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, n) => n(e, 0), yt = G.WebSocket || G.MozWebSocket, Zs = !0, Nl = "arraybuffer", js = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
7730
+ class _l extends Pn {
7731
7731
  /**
7732
7732
  * WebSocket transport constructor.
7733
7733
  *
@@ -7769,13 +7769,13 @@ class _l extends Un {
7769
7769
  this.writable = !1;
7770
7770
  for (let n = 0; n < e.length; n++) {
7771
7771
  const s = e[n], r = n === e.length - 1;
7772
- Bn(s, this.supportsBinary, (i) => {
7772
+ $n(s, this.supportsBinary, (i) => {
7773
7773
  const o = {};
7774
7774
  try {
7775
7775
  Zs && this.ws.send(i);
7776
7776
  } catch {
7777
7777
  }
7778
- r && Pn(() => {
7778
+ r && Wn(() => {
7779
7779
  this.writable = !0, this.emitReserved("drain");
7780
7780
  }, this.setTimeoutFn);
7781
7781
  });
@@ -7803,7 +7803,7 @@ class _l extends Un {
7803
7803
  return !!yt;
7804
7804
  }
7805
7805
  }
7806
- class Al extends Un {
7806
+ class Al extends Pn {
7807
7807
  get name() {
7808
7808
  return "webtransport";
7809
7809
  }
@@ -7833,7 +7833,7 @@ class Al extends Un {
7833
7833
  for (let n = 0; n < e.length; n++) {
7834
7834
  const s = e[n], r = n === e.length - 1;
7835
7835
  this.writer.write(s).then(() => {
7836
- r && Pn(() => {
7836
+ r && Wn(() => {
7837
7837
  this.writable = !0, this.emitReserved("drain");
7838
7838
  }, this.setTimeoutFn);
7839
7839
  });
@@ -7864,7 +7864,7 @@ const Ml = {
7864
7864
  "query",
7865
7865
  "anchor"
7866
7866
  ];
7867
- function vn(t) {
7867
+ function bn(t) {
7868
7868
  const e = t, n = t.indexOf("["), s = t.indexOf("]");
7869
7869
  n != -1 && s != -1 && (t = t.substring(0, n) + t.substring(n, s).replace(/:/g, ";") + t.substring(s, t.length));
7870
7870
  let r = Rl.exec(t || ""), i = {}, o = 14;
@@ -7890,7 +7890,7 @@ let Ai = class _e extends L {
7890
7890
  * @param {Object} opts - options
7891
7891
  */
7892
7892
  constructor(e, n = {}) {
7893
- super(), this.binaryType = Nl, this.writeBuffer = [], e && typeof e == "object" && (n = e, e = null), e ? (e = vn(e), n.hostname = e.host, n.secure = e.protocol === "https" || e.protocol === "wss", n.port = e.port, e.query && (n.query = e.query)) : n.host && (n.hostname = vn(n.host).host), qt(this, n), this.secure = n.secure != null ? n.secure : typeof location < "u" && location.protocol === "https:", n.hostname && !n.port && (n.port = this.secure ? "443" : "80"), this.hostname = n.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = n.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = n.transports || [
7893
+ super(), this.binaryType = Nl, this.writeBuffer = [], e && typeof e == "object" && (n = e, e = null), e ? (e = bn(e), n.hostname = e.host, n.secure = e.protocol === "https" || e.protocol === "wss", n.port = e.port, e.query && (n.query = e.query)) : n.host && (n.hostname = bn(n.host).host), Ht(this, n), this.secure = n.secure != null ? n.secure : typeof location < "u" && location.protocol === "https:", n.hostname && !n.port && (n.port = this.secure ? "443" : "80"), this.hostname = n.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = n.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = n.transports || [
7894
7894
  "polling",
7895
7895
  "websocket",
7896
7896
  "webtransport"
@@ -8190,59 +8190,59 @@ let Ai = class _e extends L {
8190
8190
  Ai.protocol = Ei;
8191
8191
  function Fl(t, e = "", n) {
8192
8192
  let s = t;
8193
- n = n || typeof location < "u" && location, t == null && (t = n.protocol + "//" + n.host), typeof t == "string" && (t.charAt(0) === "/" && (t.charAt(1) === "/" ? t = n.protocol + t : t = n.host + t), /^(https?|wss?):\/\//.test(t) || (typeof n < "u" ? t = n.protocol + "//" + t : t = "https://" + t), s = vn(t)), s.port || (/^(http|ws)$/.test(s.protocol) ? s.port = "80" : /^(http|ws)s$/.test(s.protocol) && (s.port = "443")), s.path = s.path || "/";
8193
+ n = n || typeof location < "u" && location, t == null && (t = n.protocol + "//" + n.host), typeof t == "string" && (t.charAt(0) === "/" && (t.charAt(1) === "/" ? t = n.protocol + t : t = n.host + t), /^(https?|wss?):\/\//.test(t) || (typeof n < "u" ? t = n.protocol + "//" + t : t = "https://" + t), s = bn(t)), s.port || (/^(http|ws)$/.test(s.protocol) ? s.port = "80" : /^(http|ws)s$/.test(s.protocol) && (s.port = "443")), s.path = s.path || "/";
8194
8194
  const i = s.host.indexOf(":") !== -1 ? "[" + s.host + "]" : s.host;
8195
8195
  return s.id = s.protocol + "://" + i + ":" + s.port + e, s.href = s.protocol + "://" + i + (n && n.port === s.port ? "" : ":" + s.port), s;
8196
8196
  }
8197
8197
  const Vl = typeof ArrayBuffer == "function", Bl = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t.buffer instanceof ArrayBuffer, Mi = Object.prototype.toString, $l = typeof Blob == "function" || typeof Blob < "u" && Mi.call(Blob) === "[object BlobConstructor]", Ul = typeof File == "function" || typeof File < "u" && Mi.call(File) === "[object FileConstructor]";
8198
- function Wn(t) {
8198
+ function qn(t) {
8199
8199
  return Vl && (t instanceof ArrayBuffer || Bl(t)) || $l && t instanceof Blob || Ul && t instanceof File;
8200
8200
  }
8201
- function Ot(t, e) {
8201
+ function Ct(t, e) {
8202
8202
  if (!t || typeof t != "object")
8203
8203
  return !1;
8204
8204
  if (Array.isArray(t)) {
8205
8205
  for (let n = 0, s = t.length; n < s; n++)
8206
- if (Ot(t[n]))
8206
+ if (Ct(t[n]))
8207
8207
  return !0;
8208
8208
  return !1;
8209
8209
  }
8210
- if (Wn(t))
8210
+ if (qn(t))
8211
8211
  return !0;
8212
8212
  if (t.toJSON && typeof t.toJSON == "function" && arguments.length === 1)
8213
- return Ot(t.toJSON(), !0);
8213
+ return Ct(t.toJSON(), !0);
8214
8214
  for (const n in t)
8215
- if (Object.prototype.hasOwnProperty.call(t, n) && Ot(t[n]))
8215
+ if (Object.prototype.hasOwnProperty.call(t, n) && Ct(t[n]))
8216
8216
  return !0;
8217
8217
  return !1;
8218
8218
  }
8219
8219
  function Pl(t) {
8220
8220
  const e = [], n = t.data, s = t;
8221
- return s.data = bn(n, e), s.attachments = e.length, { packet: s, buffers: e };
8221
+ return s.data = kn(n, e), s.attachments = e.length, { packet: s, buffers: e };
8222
8222
  }
8223
- function bn(t, e) {
8223
+ function kn(t, e) {
8224
8224
  if (!t)
8225
8225
  return t;
8226
- if (Wn(t)) {
8226
+ if (qn(t)) {
8227
8227
  const n = { _placeholder: !0, num: e.length };
8228
8228
  return e.push(t), n;
8229
8229
  } else if (Array.isArray(t)) {
8230
8230
  const n = new Array(t.length);
8231
8231
  for (let s = 0; s < t.length; s++)
8232
- n[s] = bn(t[s], e);
8232
+ n[s] = kn(t[s], e);
8233
8233
  return n;
8234
8234
  } else if (typeof t == "object" && !(t instanceof Date)) {
8235
8235
  const n = {};
8236
8236
  for (const s in t)
8237
- Object.prototype.hasOwnProperty.call(t, s) && (n[s] = bn(t[s], e));
8237
+ Object.prototype.hasOwnProperty.call(t, s) && (n[s] = kn(t[s], e));
8238
8238
  return n;
8239
8239
  }
8240
8240
  return t;
8241
8241
  }
8242
8242
  function Wl(t, e) {
8243
- return t.data = kn(t.data, e), delete t.attachments, t;
8243
+ return t.data = Tn(t.data, e), delete t.attachments, t;
8244
8244
  }
8245
- function kn(t, e) {
8245
+ function Tn(t, e) {
8246
8246
  if (!t)
8247
8247
  return t;
8248
8248
  if (t && t._placeholder === !0) {
@@ -8251,10 +8251,10 @@ function kn(t, e) {
8251
8251
  throw new Error("illegal attachments");
8252
8252
  } else if (Array.isArray(t))
8253
8253
  for (let n = 0; n < t.length; n++)
8254
- t[n] = kn(t[n], e);
8254
+ t[n] = Tn(t[n], e);
8255
8255
  else if (typeof t == "object")
8256
8256
  for (const n in t)
8257
- Object.prototype.hasOwnProperty.call(t, n) && (t[n] = kn(t[n], e));
8257
+ Object.prototype.hasOwnProperty.call(t, n) && (t[n] = Tn(t[n], e));
8258
8258
  return t;
8259
8259
  }
8260
8260
  const ql = [
@@ -8286,7 +8286,7 @@ class zl {
8286
8286
  * @param {Object} obj - packet object
8287
8287
  */
8288
8288
  encode(e) {
8289
- return (e.type === k.EVENT || e.type === k.ACK) && Ot(e) ? this.encodeAsBinary({
8289
+ return (e.type === k.EVENT || e.type === k.ACK) && Ct(e) ? this.encodeAsBinary({
8290
8290
  type: e.type === k.EVENT ? k.BINARY_EVENT : k.BINARY_ACK,
8291
8291
  nsp: e.nsp,
8292
8292
  data: e.data,
@@ -8313,7 +8313,7 @@ class zl {
8313
8313
  function Ys(t) {
8314
8314
  return Object.prototype.toString.call(t) === "[object Object]";
8315
8315
  }
8316
- class qn extends L {
8316
+ class Hn extends L {
8317
8317
  /**
8318
8318
  * Decoder constructor
8319
8319
  *
@@ -8335,7 +8335,7 @@ class qn extends L {
8335
8335
  n = this.decodeString(e);
8336
8336
  const s = n.type === k.BINARY_EVENT;
8337
8337
  s || n.type === k.BINARY_ACK ? (n.type = s ? k.EVENT : k.ACK, this.reconstructor = new Zl(n), n.attachments === 0 && super.emitReserved("decoded", n)) : super.emitReserved("decoded", n);
8338
- } else if (Wn(e) || e.base64)
8338
+ } else if (qn(e) || e.base64)
8339
8339
  if (this.reconstructor)
8340
8340
  n = this.reconstructor.takeBinaryData(e), n && (this.reconstructor = null, super.emitReserved("decoded", n));
8341
8341
  else
@@ -8388,7 +8388,7 @@ class qn extends L {
8388
8388
  }
8389
8389
  if (e.charAt(++n)) {
8390
8390
  const i = this.tryParse(e.substr(n));
8391
- if (qn.isPayloadValid(s.type, i))
8391
+ if (Hn.isPayloadValid(s.type, i))
8392
8392
  s.data = i;
8393
8393
  else
8394
8394
  throw new Error("invalid payload");
@@ -8453,7 +8453,7 @@ class Zl {
8453
8453
  }
8454
8454
  const jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8455
8455
  __proto__: null,
8456
- Decoder: qn,
8456
+ Decoder: Hn,
8457
8457
  Encoder: zl,
8458
8458
  get PacketType() {
8459
8459
  return k;
@@ -9074,10 +9074,10 @@ We.prototype.setMax = function(t) {
9074
9074
  We.prototype.setJitter = function(t) {
9075
9075
  this.jitter = t;
9076
9076
  };
9077
- class Tn extends L {
9077
+ class En extends L {
9078
9078
  constructor(e, n) {
9079
9079
  var s;
9080
- super(), this.nsps = {}, this.subs = [], e && typeof e == "object" && (n = e, e = void 0), n = n || {}, n.path = n.path || "/socket.io", this.opts = n, qt(this, n), this.reconnection(n.reconnection !== !1), this.reconnectionAttempts(n.reconnectionAttempts || 1 / 0), this.reconnectionDelay(n.reconnectionDelay || 1e3), this.reconnectionDelayMax(n.reconnectionDelayMax || 5e3), this.randomizationFactor((s = n.randomizationFactor) !== null && s !== void 0 ? s : 0.5), this.backoff = new We({
9080
+ super(), this.nsps = {}, this.subs = [], e && typeof e == "object" && (n = e, e = void 0), n = n || {}, n.path = n.path || "/socket.io", this.opts = n, Ht(this, n), this.reconnection(n.reconnection !== !1), this.reconnectionAttempts(n.reconnectionAttempts || 1 / 0), this.reconnectionDelay(n.reconnectionDelay || 1e3), this.reconnectionDelayMax(n.reconnectionDelayMax || 5e3), this.randomizationFactor((s = n.randomizationFactor) !== null && s !== void 0 ? s : 0.5), this.backoff = new We({
9081
9081
  min: this.reconnectionDelay(),
9082
9082
  max: this.reconnectionDelayMax(),
9083
9083
  jitter: this.randomizationFactor()
@@ -9188,7 +9188,7 @@ class Tn extends L {
9188
9188
  * @private
9189
9189
  */
9190
9190
  ondecoded(e) {
9191
- Pn(() => {
9191
+ Wn(() => {
9192
9192
  this.emitReserved("packet", e);
9193
9193
  }, this.setTimeoutFn);
9194
9194
  }
@@ -9301,17 +9301,17 @@ class Tn extends L {
9301
9301
  }
9302
9302
  }
9303
9303
  const Ze = {};
9304
- function Ct(t, e) {
9304
+ function xt(t, e) {
9305
9305
  typeof t == "object" && (e = t, t = void 0), e = e || {};
9306
9306
  const n = Fl(t, e.path || "/socket.io"), s = n.source, r = n.id, i = n.path, o = Ze[r] && i in Ze[r].nsps, a = e.forceNew || e["force new connection"] || e.multiplex === !1 || o;
9307
9307
  let u;
9308
- return a ? u = new Tn(s, e) : (Ze[r] || (Ze[r] = new Tn(s, e)), u = Ze[r]), n.query && !e.query && (e.query = n.queryKey), u.socket(n.path, e);
9308
+ return a ? u = new En(s, e) : (Ze[r] || (Ze[r] = new En(s, e)), u = Ze[r]), n.query && !e.query && (e.query = n.queryKey), u.socket(n.path, e);
9309
9309
  }
9310
- Object.assign(Ct, {
9311
- Manager: Tn,
9310
+ Object.assign(xt, {
9311
+ Manager: En,
9312
9312
  Socket: Ri,
9313
- io: Ct,
9314
- connect: Ct
9313
+ io: xt,
9314
+ connect: xt
9315
9315
  });
9316
9316
  var Ii = /* @__PURE__ */ ((t) => (t.WEBCHAT = "webchat", t.CENTRAL = "central", t.WHATSAPP = "whatsapp", t.TELEGRAM = "telegram", t.SMS = "sms", t))(Ii || {});
9317
9317
  const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "title-chat" }, Xl = {
@@ -9320,7 +9320,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9320
9320
  }, Ql = { class: "w-full" }, ef = ["onSubmit"], tf = { class: "form-message" }, nf = { class: "jl-inputgroup-chat" }, sf = ["onKeyup"], rf = {
9321
9321
  type: "submit",
9322
9322
  class: "pointer btn-primary"
9323
- }, of = 14, af = /* @__PURE__ */ On({
9323
+ }, of = 14, af = /* @__PURE__ */ Cn({
9324
9324
  __name: "Chat",
9325
9325
  props: {
9326
9326
  titlePrincipal: {
@@ -9347,7 +9347,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9347
9347
  data: [],
9348
9348
  canLoadMoreMessages: !1
9349
9349
  }), o = z(""), a = z(!1), u = z(null);
9350
- En(
9350
+ On(
9351
9351
  () => n.visible,
9352
9352
  async (S) => {
9353
9353
  if (!S || (e("clear-new-messages"), d(), r.value > 0 && cs(o.value, n.tokenAuth), o.value)) return;
@@ -9402,7 +9402,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9402
9402
  }
9403
9403
  }, F = i.value.data.push(E) - 1;
9404
9404
  h(s.value, o.value).then((ae) => {
9405
- var it, Hn;
9405
+ var it, zn;
9406
9406
  if (!ae)
9407
9407
  i.value.data[F].error = {
9408
9408
  error: !0,
@@ -9416,7 +9416,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9416
9416
  else {
9417
9417
  i.value.data[F] = ae;
9418
9418
  const Di = { ...ae, chatId: E.chatId };
9419
- (Hn = A.value) == null || Hn.emit(
9419
+ (zn = A.value) == null || zn.emit(
9420
9420
  "sendMessage",
9421
9421
  { roomId: (it = W == null ? void 0 : W.value) == null ? void 0 : it.appChat.id, message: Di },
9422
9422
  (Li) => {
@@ -9467,11 +9467,11 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9467
9467
  d();
9468
9468
  });
9469
9469
  }, d = () => {
9470
- Zn(() => {
9470
+ jn(() => {
9471
9471
  u.value && (u.value.scrollTop = u.value.scrollHeight);
9472
9472
  });
9473
9473
  }, w = (S) => {
9474
- Zn(() => {
9474
+ jn(() => {
9475
9475
  const E = u.value;
9476
9476
  E && (E.scrollTop = E.scrollHeight - S);
9477
9477
  });
@@ -9483,7 +9483,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9483
9483
  function qe(S, E = Ii.WEBCHAT) {
9484
9484
  var F, j;
9485
9485
  if (!S) throw new Error("user chat is required");
9486
- A.value = Ct(window.VITE_SOCKET_URI, {
9486
+ A.value = xt(window.VITE_SOCKET_URI, {
9487
9487
  query: {
9488
9488
  // TODO: confirmar si se quita o no
9489
9489
  usuarioId: `${(j = (F = S == null ? void 0 : S.chat) == null ? void 0 : F.persona) == null ? void 0 : j.funcionarioId}`,
@@ -9512,7 +9512,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9512
9512
  (S = A.value) == null || S.off();
9513
9513
  }), (S, E) => (B(), U("div", Jl, [
9514
9514
  g("div", Gl, [
9515
- g("h4", Kl, Nt(t.titlePrincipal), 1),
9515
+ g("h4", Kl, _t(t.titlePrincipal), 1),
9516
9516
  g("button", {
9517
9517
  onClick: E[0] || (E[0] = () => t.toggleChat()),
9518
9518
  class: "btn-close"
@@ -9527,7 +9527,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9527
9527
  }, [
9528
9528
  a.value ? (B(), U("div", Xl, [
9529
9529
  he(rl)
9530
- ])) : xt("", !0),
9530
+ ])) : Nt("", !0),
9531
9531
  he(Ku, {
9532
9532
  messages: i.value.data,
9533
9533
  canLoadMoreMessages: i.value.canLoadMoreMessages,
@@ -9538,20 +9538,20 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9538
9538
  g("div", Ql, [
9539
9539
  g("form", {
9540
9540
  class: "message-send",
9541
- onSubmit: jn(l, ["prevent"])
9541
+ onSubmit: Yn(l, ["prevent"])
9542
9542
  }, [
9543
9543
  g("div", tf, [
9544
9544
  g("div", nf, [
9545
- an(g("textarea", {
9545
+ gt(g("textarea", {
9546
9546
  "onUpdate:modelValue": E[1] || (E[1] = (F) => s.value = F),
9547
9547
  class: "jl2-input-chat",
9548
9548
  required: "",
9549
9549
  ref_key: "textAreaRef",
9550
9550
  ref: T,
9551
9551
  onInput: E[2] || (E[2] = () => _()),
9552
- onKeydown: E[3] || (E[3] = Yn(jn(() => {
9552
+ onKeydown: E[3] || (E[3] = Jn(Yn(() => {
9553
9553
  }, ["prevent"]), ["enter"])),
9554
- onKeyup: Yn(c, ["enter"])
9554
+ onKeyup: Jn(c, ["enter"])
9555
9555
  }, null, 40, sf), [
9556
9556
  [Hi, s.value]
9557
9557
  ]),
@@ -9690,7 +9690,7 @@ const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9690
9690
  }, Df = {
9691
9691
  key: 0,
9692
9692
  class: "new-message-badge"
9693
- }, Lf = { class: "chat-box" }, Ff = /* @__PURE__ */ On({
9693
+ }, Lf = { class: "chat-box" }, Ff = /* @__PURE__ */ Cn({
9694
9694
  __name: "Widget",
9695
9695
  props: {
9696
9696
  tokenAuth: { type: String, required: !0 },
@@ -9728,7 +9728,7 @@ const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9728
9728
  return (u, c) => (B(), U("div", {
9729
9729
  class: Me(["widget-css-reset widget-container", t.isDarkMode ? "chat-dark-mode" : ""])
9730
9730
  }, [
9731
- an(g("div", If, [
9731
+ gt(g("div", If, [
9732
9732
  g("div", {
9733
9733
  class: Me(["container-buttons-chat", { active: o.value }])
9734
9734
  }, [
@@ -9761,17 +9761,19 @@ const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9761
9761
  he(Rf)
9762
9762
  ], 2)
9763
9763
  ], 2),
9764
- i.value ? (B(), U("div", Df, Nt(i.value > 9 ? "9+" : i.value), 1)) : xt("", !0),
9765
- g("a", {
9764
+ i.value ? (B(), U("div", Df, _t(i.value > 9 ? "9+" : i.value), 1)) : Nt("", !0),
9765
+ gt(g("a", {
9766
9766
  href: "javascript:;",
9767
9767
  onClick: c[3] || (c[3] = (l) => n.tokenAuth.length > 10 && a())
9768
9768
  }, [
9769
9769
  he(mf)
9770
+ ], 512), [
9771
+ [zt, !r.value]
9770
9772
  ])
9771
9773
  ], 512), [
9772
- [Jn, !r.value]
9774
+ [zt, !r.value]
9773
9775
  ]),
9774
- an(g("div", Lf, [
9776
+ gt(g("div", Lf, [
9775
9777
  t.tokenAuth ? (B(), Zi(cf, {
9776
9778
  key: 0,
9777
9779
  visible: r.value,
@@ -9784,13 +9786,13 @@ const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9784
9786
  onClearNewMessages: c[6] || (c[6] = (l) => i.value = 0),
9785
9787
  onNewMessage: c[7] || (c[7] = () => i.value++),
9786
9788
  onNotViewedTotal: c[8] || (c[8] = (l) => i.value = l)
9787
- }, null, 8, ["visible", "titlePrincipal", "tokenAuth", "user"])) : xt("", !0)
9789
+ }, null, 8, ["visible", "titlePrincipal", "tokenAuth", "user"])) : Nt("", !0)
9788
9790
  ], 512), [
9789
- [Jn, r.value]
9791
+ [zt, r.value]
9790
9792
  ])
9791
9793
  ], 2));
9792
9794
  }
9793
- }), Bf = /* @__PURE__ */ oe(Ff, [["__scopeId", "data-v-ca19c81b"]]), $f = {
9795
+ }), Bf = /* @__PURE__ */ oe(Ff, [["__scopeId", "data-v-8cf654bc"]]), $f = {
9794
9796
  install(t, e) {
9795
9797
  window.VITE_BACKEND_URL = e.VITE_BACKEND_URL, window.VITE_SOCKET_URI = e.VITE_SOCKET_URI, window.VITE_CELLPHONE_NUMBERS = e.VITE_CELLPHONE_NUMBERS;
9796
9798
  }