fge-auth-component 5.3.49 → 5.3.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ var $D = Object.defineProperty;
2
2
  var A0 = (A, t, e) => t in A ? $D(A, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : A[t] = e;
3
3
  var TB = (A, t, e) => A0(A, typeof t != "symbol" ? t + "" : t, e);
4
4
  import * as sG from "vue";
5
- import { hasInjectionContext as t0, inject as pQ, getCurrentInstance as Gi, ref as D, reactive as Cs, markRaw as Kg, effectScope as D2, isRef as ss, isReactive as NQ, toRef as nr, toRaw as bs, nextTick as CA, getCurrentScope as yQ, onScopeDispose as RQ, watch as wt, toRefs as ns, computed as T, unref as r, shallowRef as xQ, shallowReadonly as hI, defineComponent as _, openBlock as J, createBlock as sA, withCtx as N, renderSlot as bA, onMounted as le, createVNode as d, withKeys as Gg, withDirectives as ca, vShow as PI, createCommentVNode as uA, normalizeProps as oe, guardReactiveProps as Ge, mergeProps as Et, toHandlers as Bu, resolveDynamicComponent as yC, createElementBlock as L, Fragment as Tt, withModifiers as Ss, createTextVNode as Ct, toDisplayString as GA, h as Og, onUnmounted as ps, toHandlerKey as e0, camelize as ou, readonly as lu, watchEffect as Ys, Teleport as Qu, useSlots as s0, normalizeStyle as _g, createElementVNode as M, provide as Mu, Comment as Yu, cloneVNode as Gu, watchPostEffect as g0, mergeDefaults as cu, customRef as a0, onBeforeUnmount as d2, onBeforeUpdate as i0, onUpdated as I0, createApp as E0, isVNode as Su, createStaticVNode as jQ, normalizeClass as Zt, vModelDynamic as C0, renderList as fe, vModelText as n0, vModelCheckbox as r0, Transition as B0 } from "vue";
5
+ import { hasInjectionContext as t0, inject as pQ, getCurrentInstance as Gi, ref as D, reactive as Cs, markRaw as Kg, effectScope as D2, isRef as ss, isReactive as NQ, toRef as nr, toRaw as bs, nextTick as CA, getCurrentScope as yQ, onScopeDispose as RQ, watch as wt, toRefs as ns, computed as T, unref as r, shallowRef as xQ, shallowReadonly as hI, defineComponent as _, openBlock as J, createBlock as sA, withCtx as N, renderSlot as bA, onMounted as le, createVNode as d, withKeys as Gg, withDirectives as ca, vShow as PI, createCommentVNode as kA, normalizeProps as oe, guardReactiveProps as Ge, mergeProps as Et, toHandlers as Bu, resolveDynamicComponent as yC, createElementBlock as L, Fragment as Tt, withModifiers as Ss, createTextVNode as Ct, toDisplayString as GA, h as Og, onUnmounted as ps, toHandlerKey as e0, camelize as ou, readonly as lu, watchEffect as Ys, Teleport as Qu, useSlots as s0, normalizeStyle as _g, createElementVNode as M, provide as Mu, Comment as Yu, cloneVNode as Gu, watchPostEffect as g0, mergeDefaults as cu, customRef as a0, onBeforeUnmount as d2, onBeforeUpdate as i0, onUpdated as I0, createApp as E0, isVNode as Su, createStaticVNode as jQ, normalizeClass as Zt, vModelDynamic as C0, renderList as fe, vModelText as n0, vModelCheckbox as r0, Transition as B0 } from "vue";
6
6
  import { object as Ls, mixed as o0, string as ae, ref as zQ, addMethod as l0, setLocale as Q0 } from "yup";
7
7
  import { useForm as qC, useField as tl, Field as we } from "vee-validate";
8
8
  import M0 from "./ayuda/instrucciones-telegram-login.gif";
@@ -2130,7 +2130,7 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2130
2130
  maxBodyLength: JA,
2131
2131
  maxRedirects: H
2132
2132
  } = Vu(Q);
2133
- const jA = x.isNumber(RA) && RA > -1, UA = x.isNumber(JA) && JA > -1, tA = (kA) => x.hasOwnProp(Q, kA) ? Q[kA] : void 0;
2133
+ const jA = x.isNumber(RA) && RA > -1, UA = x.isNumber(JA) && JA > -1, tA = (uA) => x.hasOwnProp(Q, uA) ? Q[uA] : void 0;
2134
2134
  let nA = g || fetch;
2135
2135
  f = f ? (f + "").toLowerCase() : "text";
2136
2136
  let VA = M3(
@@ -2140,7 +2140,7 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2140
2140
  const EA = VA && VA.unsubscribe && (() => {
2141
2141
  VA.unsubscribe();
2142
2142
  });
2143
- let ZA, FA = null, yA = null;
2143
+ let dA, FA = null, yA = null;
2144
2144
  const ot = () => new WA(
2145
2145
  "Request body larger than maxBodyLength limit",
2146
2146
  WA.ERR_BAD_REQUEST,
@@ -2148,29 +2148,29 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2148
2148
  wA
2149
2149
  );
2150
2150
  try {
2151
- let kA;
2151
+ let uA;
2152
2152
  const HA = tA("auth");
2153
2153
  if (HA) {
2154
2154
  const eA = x.getSafeProp(HA, "username") || "", j = x.getSafeProp(HA, "password") || "";
2155
- kA = {
2155
+ uA = {
2156
2156
  username: eA,
2157
2157
  password: j
2158
2158
  };
2159
2159
  }
2160
2160
  let QA;
2161
2161
  if (Z3(S)) {
2162
- if (QA = new URL(S, qe.origin), !kA && (QA.username || QA.password)) {
2162
+ if (QA = new URL(S, qe.origin), !uA && (QA.username || QA.password)) {
2163
2163
  const eA = bG(QA.username), j = bG(QA.password);
2164
- kA = {
2164
+ uA = {
2165
2165
  username: eA,
2166
2166
  password: j
2167
2167
  };
2168
2168
  }
2169
2169
  (QA.username || QA.password) && (QA.username = "", QA.password = "", S = QA.href);
2170
2170
  }
2171
- if (kA && (F.delete("authorization"), F.set(
2171
+ if (uA && (F.delete("authorization"), F.set(
2172
2172
  "Authorization",
2173
- "Basic " + btoa(d3((kA.username || "") + ":" + (kA.password || "")))
2173
+ "Basic " + btoa(d3((uA.username || "") + ":" + (uA.password || "")))
2174
2174
  )), jA && QA && QA.protocol === "data:" && D3(QA.href) > RA)
2175
2175
  throw new WA(
2176
2176
  "maxContentLength size of " + RA + " exceeded",
@@ -2190,9 +2190,9 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2190
2190
  UA ? JA : 1 / 0,
2191
2191
  ot,
2192
2192
  vA
2193
- ), F.setContentType(vA === void 0 ? u.type : Yt), ZA = u.size), UA && w !== "get" && w !== "head") {
2193
+ ), F.setContentType(vA === void 0 ? u.type : Yt), dA = u.size), UA && w !== "get" && w !== "head") {
2194
2194
  const eA = await h(u);
2195
- if (typeof eA == "number" && isFinite(eA) && (ZA = eA, eA > JA))
2195
+ if (typeof eA == "number" && isFinite(eA) && (dA = eA, eA > JA))
2196
2196
  throw ot();
2197
2197
  }
2198
2198
  const KA = UA && (x.isReadableStream(u) || x.isStream(u)), LA = (eA, j, AA) => SG(
@@ -2206,7 +2206,7 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2206
2206
  AA
2207
2207
  );
2208
2208
  if (l && w !== "get" && w !== "head" && (y || KA)) {
2209
- if (ZA = ZA ?? await Y(F, u), ZA !== 0 || KA) {
2209
+ if (dA = dA ?? await Y(F, u), dA !== 0 || KA) {
2210
2210
  let eA = new a(S, {
2211
2211
  method: "POST",
2212
2212
  body: u,
@@ -2214,7 +2214,7 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2214
2214
  }), j;
2215
2215
  if (x.isFormData(u) && (j = eA.headers.get("content-type")) && F.setContentType(j), eA.body) {
2216
2216
  const [AA, zA] = y && lG(
2217
- ZA,
2217
+ dA,
2218
2218
  Fr(QG(y))
2219
2219
  ) || [];
2220
2220
  u = LA(eA.body, AA, zA);
@@ -2314,12 +2314,12 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2314
2314
  request: wA
2315
2315
  });
2316
2316
  });
2317
- } catch (kA) {
2317
+ } catch (uA) {
2318
2318
  if (EA && EA(), VA && VA.aborted && VA.reason instanceof WA) {
2319
2319
  const HA = VA.reason;
2320
- throw HA.config = Q, wA && (HA.request = wA), kA !== HA && Object.defineProperty(HA, "cause", {
2320
+ throw HA.config = Q, wA && (HA.request = wA), uA !== HA && Object.defineProperty(HA, "cause", {
2321
2321
  __proto__: null,
2322
- value: kA,
2322
+ value: uA,
2323
2323
  writable: !0,
2324
2324
  enumerable: !1,
2325
2325
  configurable: !0
@@ -2329,25 +2329,25 @@ const vQ = "1.21.1", mG = 64 * 1024, JG = {
2329
2329
  throw wA && !FA.request && (FA.request = wA), FA;
2330
2330
  if (yA)
2331
2331
  throw yA;
2332
- if (kA instanceof WA)
2333
- throw wA && !kA.request && (kA.request = wA), kA;
2334
- if (kA && kA.name === "TypeError" && /Load failed|fetch/i.test(kA.message)) {
2332
+ if (uA instanceof WA)
2333
+ throw wA && !uA.request && (uA.request = wA), uA;
2334
+ if (uA && uA.name === "TypeError" && /Load failed|fetch/i.test(uA.message)) {
2335
2335
  const HA = new WA(
2336
2336
  "Network Error",
2337
2337
  WA.ERR_NETWORK,
2338
2338
  Q,
2339
2339
  wA,
2340
- kA && kA.response
2340
+ uA && uA.response
2341
2341
  );
2342
2342
  throw Object.defineProperty(HA, "cause", {
2343
2343
  __proto__: null,
2344
- value: kA.cause || kA,
2344
+ value: uA.cause || uA,
2345
2345
  writable: !0,
2346
2346
  enumerable: !1,
2347
2347
  configurable: !0
2348
2348
  }), HA;
2349
2349
  }
2350
- throw WA.from(kA, kA && kA.code, Q, wA, kA && kA.response);
2350
+ throw WA.from(uA, uA && uA.code, Q, wA, uA && uA.response);
2351
2351
  }
2352
2352
  };
2353
2353
  }, N3 = /* @__PURE__ */ new Map(), Xu = (A) => {
@@ -4994,7 +4994,7 @@ const Jp = () => {
4994
4994
  forzarActivar2FA: z.forzarActivar2FA,
4995
4995
  cambiarPassword: z.cambiarPassword
4996
4996
  }, ht();
4997
- }, EA = () => JZ(), ZA = (z) => {
4997
+ }, EA = () => JZ(), dA = (z) => {
4998
4998
  if (!(z.type !== "tokens-updated" || !z.token && !z.refreshToken)) {
4999
4999
  pi = !0;
5000
5000
  try {
@@ -5030,7 +5030,7 @@ const Jp = () => {
5030
5030
  }
5031
5031
  return;
5032
5032
  }
5033
- ZA(z);
5033
+ dA(z);
5034
5034
  }
5035
5035
  }));
5036
5036
  }, yA = (z) => {
@@ -5060,7 +5060,7 @@ const Jp = () => {
5060
5060
  refreshToken: void 0,
5061
5061
  isAuth: !1
5062
5062
  });
5063
- }, kA = (z) => {
5063
+ }, uA = (z) => {
5064
5064
  if ((z == null ? void 0 : z.reason) === "logout") {
5065
5065
  yA(z);
5066
5066
  return;
@@ -5226,7 +5226,7 @@ const Jp = () => {
5226
5226
  onConfirmarPushLogin: UA,
5227
5227
  onLoginCiudadania: KA,
5228
5228
  setConfigs: vA,
5229
- clearUserData: kA,
5229
+ clearUserData: uA,
5230
5230
  invalidateSession: ot,
5231
5231
  updateUserData: HA,
5232
5232
  disable2FAStore: QA,
@@ -9602,7 +9602,7 @@ const YI = _({
9602
9602
  disabled: e.disabled
9603
9603
  }, [
9604
9604
  bA(e.$slots, "default")
9605
- ], 8, ["to", "disabled"])) : uA("", !0);
9605
+ ], 8, ["to", "disabled"])) : kA("", !0);
9606
9606
  }
9607
9607
  }), ui = /* @__PURE__ */ _({
9608
9608
  __name: "DialogPortal",
@@ -10167,7 +10167,7 @@ const ww = /* @__PURE__ */ _({
10167
10167
  }, 16, ["as", "as-child"])
10168
10168
  ]),
10169
10169
  _: 3
10170
- }, 8, ["present"])) : uA("", !0);
10170
+ }, 8, ["present"])) : kA("", !0);
10171
10171
  };
10172
10172
  }
10173
10173
  }), Qi = /* @__PURE__ */ _({
@@ -10322,7 +10322,7 @@ const $y = /* @__PURE__ */ _({
10322
10322
  bA(a.$slots, "default")
10323
10323
  ]),
10324
10324
  _: 3
10325
- }, 8, ["as-child", "as"])) : uA("", !0);
10325
+ }, 8, ["as-child", "as"])) : kA("", !0);
10326
10326
  }
10327
10327
  });
10328
10328
  function t4(A) {
@@ -10586,8 +10586,8 @@ const I4 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
10586
10586
  defaultValue: e.defaultPlaceholder ?? f.copy(),
10587
10587
  passive: e.placeholder === void 0
10588
10588
  });
10589
- function U(kA) {
10590
- F.value = kA.copy();
10589
+ function U(uA) {
10590
+ F.value = uA.copy();
10591
10591
  }
10592
10592
  const {
10593
10593
  fullCalendarLabel: cA,
@@ -10601,7 +10601,7 @@ const I4 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
10601
10601
  nextPage: VA,
10602
10602
  prevPage: wA,
10603
10603
  formatter: EA,
10604
- grid: ZA
10604
+ grid: dA
10605
10605
  } = i4({
10606
10606
  locale: g,
10607
10607
  placeholder: F,
@@ -10626,23 +10626,23 @@ const I4 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
10626
10626
  isDateDisabled: JA,
10627
10627
  isDateUnavailable: H
10628
10628
  });
10629
- wt(y, (kA) => {
10630
- if (Array.isArray(kA) && kA.length) {
10631
- const HA = kA[kA.length - 1];
10629
+ wt(y, (uA) => {
10630
+ if (Array.isArray(uA) && uA.length) {
10631
+ const HA = uA[uA.length - 1];
10632
10632
  HA && !bC(F.value, HA) && U(HA);
10633
- } else !Array.isArray(kA) && kA && !bC(F.value, kA) && U(kA);
10633
+ } else !Array.isArray(uA) && uA && !bC(F.value, uA) && U(uA);
10634
10634
  });
10635
- function ot(kA) {
10635
+ function ot(uA) {
10636
10636
  if (o.value) {
10637
10637
  if (!y.value)
10638
- y.value = [kA.copy()];
10638
+ y.value = [uA.copy()];
10639
10639
  else if (Array.isArray(y.value)) {
10640
- if (y.value.findIndex((HA) => BE(HA, kA)) === -1)
10641
- y.value = [...y.value, kA];
10640
+ if (y.value.findIndex((HA) => BE(HA, uA)) === -1)
10641
+ y.value = [...y.value, uA];
10642
10642
  else if (!k.value) {
10643
- const HA = y.value.filter((QA) => !BE(QA, kA));
10643
+ const HA = y.value.filter((QA) => !BE(QA, uA));
10644
10644
  if (!HA.length) {
10645
- F.value = kA.copy(), y.value = void 0;
10645
+ F.value = uA.copy(), y.value = void 0;
10646
10646
  return;
10647
10647
  }
10648
10648
  y.value = HA.map((QA) => QA.copy());
@@ -10650,10 +10650,10 @@ const I4 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
10650
10650
  }
10651
10651
  } else {
10652
10652
  if (!y.value) {
10653
- y.value = kA.copy();
10653
+ y.value = uA.copy();
10654
10654
  return;
10655
10655
  }
10656
- !k.value && bC(y.value, kA) ? (F.value = kA.copy(), y.value = void 0) : y.value = kA.copy();
10656
+ !k.value && bC(y.value, uA) ? (F.value = uA.copy(), y.value = void 0) : y.value = uA.copy();
10657
10657
  }
10658
10658
  }
10659
10659
  return le(() => {
@@ -10688,11 +10688,11 @@ const I4 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
10688
10688
  parentElement: W,
10689
10689
  onPlaceholderChange: U,
10690
10690
  onDateChange: ot
10691
- }), (kA, HA) => (J(), sA(r(Lt), {
10691
+ }), (uA, HA) => (J(), sA(r(Lt), {
10692
10692
  ref_key: "primitiveElement",
10693
10693
  ref: R,
10694
- as: kA.as,
10695
- "as-child": kA.asChild,
10694
+ as: uA.as,
10695
+ "as-child": uA.asChild,
10696
10696
  role: "application",
10697
10697
  "aria-label": r(cA),
10698
10698
  "data-readonly": r(i) ? "" : void 0,
@@ -10701,9 +10701,9 @@ const I4 = { style: { border: "0px", clip: "rect(0px, 0px, 0px, 0px)", "clip-pat
10701
10701
  dir: r(Z)
10702
10702
  }, {
10703
10703
  default: N(() => [
10704
- bA(kA.$slots, "default", {
10704
+ bA(uA.$slots, "default", {
10705
10705
  date: r(F),
10706
- grid: r(ZA),
10706
+ grid: r(dA),
10707
10707
  weekDays: r(tA),
10708
10708
  weekStartsOn: r(C),
10709
10709
  locale: r(g),
@@ -11107,7 +11107,7 @@ const k4 = ["value", "checked", "name", "disabled", "required"], [w4, h4] = Fe("
11107
11107
  opacity: 0,
11108
11108
  margin: 0
11109
11109
  }
11110
- }, null, 8, k4)) : uA("", !0)
11110
+ }, null, 8, k4)) : kA("", !0)
11111
11111
  ], 64));
11112
11112
  }
11113
11113
  }), J4 = /* @__PURE__ */ _({
@@ -13863,7 +13863,7 @@ const d7 = /* @__PURE__ */ _({
13863
13863
  opacity: 0,
13864
13864
  margin: 0
13865
13865
  }
13866
- }, null, 8, ER)) : uA("", !0)
13866
+ }, null, 8, ER)) : kA("", !0)
13867
13867
  ]),
13868
13868
  _: 3
13869
13869
  }, 16, ["id", "type", "as", "aria-checked", "aria-label", "as-child", "disabled", "data-state", "data-disabled", "value", "required", "name"]));
@@ -14032,7 +14032,7 @@ const lR = ["name", "disabled", "required", "value", "checked", "data-state", "d
14032
14032
  opacity: 0,
14033
14033
  margin: 0
14034
14034
  }
14035
- }, null, 8, lR)) : uA("", !0)
14035
+ }, null, 8, lR)) : kA("", !0)
14036
14036
  ], 64));
14037
14037
  }
14038
14038
  }), GR = /* @__PURE__ */ _({
@@ -21251,11 +21251,11 @@ function lW() {
21251
21251
  verificadoSms: !1
21252
21252
  }), {
21253
21253
  values: EA,
21254
- handleSubmit: ZA,
21254
+ handleSubmit: dA,
21255
21255
  errors: FA,
21256
21256
  setErrors: yA,
21257
21257
  validateField: ot,
21258
- resetForm: kA,
21258
+ resetForm: uA,
21259
21259
  setFieldValue: HA,
21260
21260
  setFieldError: QA
21261
21261
  } = qC({
@@ -21301,7 +21301,7 @@ function lW() {
21301
21301
  b > 0 && (c.value = R.value[b - 1]);
21302
21302
  }
21303
21303
  function $() {
21304
- c.value = "datos", kA(), E.value = !1, s.value = "", C.value = null, B.value = !1, l.value = !1, G.value = !1, a.value = !1, g.value = ko(void 0), wA.verificadoEmail = !1, wA.verificadoTelegram = !1, wA.verificadoSms = !1, wA.verificadoWhatsapp = !1, U.value = void 0, F.value = null, JA.value = null, H.value = null, k.value = "normal", h.value = null, Y.value = null, Q.value = "", n.anverso = !1, n.reverso = !1, n.selfie = !1, eA();
21304
+ c.value = "datos", uA(), E.value = !1, s.value = "", C.value = null, B.value = !1, l.value = !1, G.value = !1, a.value = !1, g.value = ko(void 0), wA.verificadoEmail = !1, wA.verificadoTelegram = !1, wA.verificadoSms = !1, wA.verificadoWhatsapp = !1, U.value = void 0, F.value = null, JA.value = null, H.value = null, k.value = "normal", h.value = null, Y.value = null, Q.value = "", n.anverso = !1, n.reverso = !1, n.selfie = !1, eA();
21305
21305
  }
21306
21306
  function eA() {
21307
21307
  I && (clearTimeout(I), I = null), i.value = !1;
@@ -21363,7 +21363,7 @@ function lW() {
21363
21363
  ht();
21364
21364
  }
21365
21365
  );
21366
- const ne = ZA(async (b) => {
21366
+ const ne = dA(async (b) => {
21367
21367
  var X, V, BA, aA, fA;
21368
21368
  e.setLoading(!0);
21369
21369
  const P = /* @__PURE__ */ new Date(
@@ -21403,7 +21403,7 @@ function lW() {
21403
21403
  e.setLoading(!1);
21404
21404
  }
21405
21405
  }), hA = async ({ medio: b, contacto: P }) => {
21406
- var st, Jt, Pt, Ht, Kt, Ut, YA, dA, _t, Dt, dt, lt, zt, As, Oe;
21406
+ var st, Jt, Pt, Ht, Kt, Ut, YA, ZA, _t, Dt, dt, lt, zt, As, Oe;
21407
21407
  if (b === "sms" && !g.value.includes("sms")) {
21408
21408
  AA(
21409
21409
  "SMS no disponible",
@@ -21466,7 +21466,7 @@ function lW() {
21466
21466
  it(), e.setLoading(!1);
21467
21467
  return;
21468
21468
  }
21469
- if (((_t = (dA = iA == null ? void 0 : iA.response) == null ? void 0 : dA.data) == null ? void 0 : _t.medioActualizado) === !0) {
21469
+ if (((_t = (ZA = iA == null ? void 0 : iA.response) == null ? void 0 : ZA.data) == null ? void 0 : _t.medioActualizado) === !0) {
21470
21470
  b === "whatsapp" ? wA.verificadoWhatsapp = !0 : b === "telegram" ? wA.verificadoTelegram = !0 : b === "email" ? wA.verificadoEmail = !0 : b === "sms" && (wA.verificadoSms = !0), zA("Operación exitosa", iA.message || "Medio verificado exitosamente"), e.setLoading(!1);
21471
21471
  return;
21472
21472
  }
@@ -21480,7 +21480,7 @@ function lW() {
21480
21480
  AA("Error", iA.message);
21481
21481
  }
21482
21482
  }, _A = async () => {
21483
- var b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, dA, _t;
21483
+ var b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, ZA, _t;
21484
21484
  try {
21485
21485
  const { valid: Dt } = await ot("codigoContacto");
21486
21486
  if (!Dt) return;
@@ -21520,7 +21520,7 @@ function lW() {
21520
21520
  );
21521
21521
  return;
21522
21522
  }
21523
- (Ht = (Pt = iA == null ? void 0 : iA.response) == null ? void 0 : Pt.data) != null && Ht.url && (Q.value = iA.response.data.url, H.value = iA.response.data.url), (Ut = (Kt = iA == null ? void 0 : iA.response) == null ? void 0 : Kt.data) != null && Ut.mensajeServicio && (JA.value = iA.response.data.mensajeServicio), iA != null && iA.minutos ? Oe = iA.minutos * 60 : (dA = (YA = iA == null ? void 0 : iA.response) == null ? void 0 : YA.data) != null && dA.tiempoVigencia && (Oe = Number(iA.response.data.tiempoVigencia));
21523
+ (Ht = (Pt = iA == null ? void 0 : iA.response) == null ? void 0 : Pt.data) != null && Ht.url && (Q.value = iA.response.data.url, H.value = iA.response.data.url), (Ut = (Kt = iA == null ? void 0 : iA.response) == null ? void 0 : Kt.data) != null && Ut.mensajeServicio && (JA.value = iA.response.data.mensajeServicio), iA != null && iA.minutos ? Oe = iA.minutos * 60 : (ZA = (YA = iA == null ? void 0 : iA.response) == null ? void 0 : YA.data) != null && ZA.tiempoVigencia && (Oe = Number(iA.response.data.tiempoVigencia));
21524
21524
  } catch (iA) {
21525
21525
  throw iA;
21526
21526
  }
@@ -21682,7 +21682,7 @@ function lW() {
21682
21682
  if (!Number.isNaN(P.getTime()))
21683
21683
  return P.toISOString();
21684
21684
  }
21685
- const tt = ZA(async (b) => {
21685
+ const tt = dA(async (b) => {
21686
21686
  var P, X, V, BA, aA, fA;
21687
21687
  if (!he()) {
21688
21688
  AA(
@@ -21751,7 +21751,7 @@ function lW() {
21751
21751
  }
21752
21752
  q();
21753
21753
  }
21754
- }, Nt = ZA(async (b) => {
21754
+ }, Nt = dA(async (b) => {
21755
21755
  var P, X;
21756
21756
  if (!E.value && !he()) {
21757
21757
  AA(
@@ -21953,7 +21953,7 @@ const QW = {
21953
21953
  }
21954
21954
  },
21955
21955
  setup(A) {
21956
- return (t, e) => A.error ? (J(), L("p", QW, GA(A.error), 1)) : uA("", !0);
21956
+ return (t, e) => A.error ? (J(), L("p", QW, GA(A.error), 1)) : kA("", !0);
21957
21957
  }
21958
21958
  }), MW = {
21959
21959
  xmlns: "http://www.w3.org/2000/svg",
@@ -26925,7 +26925,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
26925
26925
  U(), Z(), o(), a.value && g9();
26926
26926
  }), (tA, nA) => (J(), L("div", B9, [
26927
26927
  M("div", o9, [
26928
- A.kycProgress ? (J(), L("p", l9, " Foto " + GA(A.kycProgress.current) + " de " + GA(A.kycProgress.total), 1)) : uA("", !0),
26928
+ A.kycProgress ? (J(), L("p", l9, " Foto " + GA(A.kycProgress.current) + " de " + GA(A.kycProgress.total), 1)) : kA("", !0),
26929
26929
  M("h3", Q9, GA(g.value.titulo), 1),
26930
26930
  M("p", M9, GA(g.value.instruccion), 1)
26931
26931
  ]),
@@ -26955,11 +26955,11 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
26955
26955
  !c.value && !r(E) && !Y.value ? (J(), L("div", {
26956
26956
  key: 2,
26957
26957
  class: Zt(["identity-capture__feedback", m.value ? "is-ok" : "is-wait"])
26958
- }, GA(W.value), 3)) : uA("", !0),
26958
+ }, GA(W.value), 3)) : kA("", !0),
26959
26959
  !c.value && !m.value && u.value.length ? (J(), L("ul", w9, [
26960
26960
  (J(!0), L(Tt, null, fe(u.value, (VA, wA) => (J(), L("li", { key: wA }, GA(VA), 1))), 128))
26961
- ])) : uA("", !0),
26962
- h.value ? (J(), L("p", h9, GA(h.value), 1)) : uA("", !0),
26961
+ ])) : kA("", !0),
26962
+ h.value ? (J(), L("p", h9, GA(h.value), 1)) : kA("", !0),
26963
26963
  M("div", m9, [
26964
26964
  c.value ? (J(), L(Tt, { key: 0 }, [
26965
26965
  M("button", {
@@ -26980,7 +26980,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
26980
26980
  class: "fge-gray-button w-full",
26981
26981
  onClick: nA[0] || (nA[0] = //@ts-ignore
26982
26982
  (...VA) => r(l) && r(l)(...VA))
26983
- }, " Cambiar cámara ")) : uA("", !0),
26983
+ }, " Cambiar cámara ")) : kA("", !0),
26984
26984
  M("button", {
26985
26985
  type: "button",
26986
26986
  class: "w-full fge-auth-primary-button",
@@ -27216,7 +27216,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27216
27216
  getValue: B,
27217
27217
  isComplete: C
27218
27218
  }), (Y, Q) => (J(), L("div", W9, [
27219
- A.label ? (J(), L("label", L9, GA(A.label), 1)) : uA("", !0),
27219
+ A.label ? (J(), L("label", L9, GA(A.label), 1)) : kA("", !0),
27220
27220
  M("div", {
27221
27221
  class: Zt(["otp-input-wrapper", {
27222
27222
  "otp-input-error": E.value,
@@ -27337,10 +27337,10 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27337
27337
  ]),
27338
27338
  M("span", K9, "Paso " + GA(I + 1), 1)
27339
27339
  ], 2))), 128))
27340
- ], 2)) : uA("", !0),
27340
+ ], 2)) : kA("", !0),
27341
27341
  M("div", O9, [
27342
27342
  (J(!0), L(Tt, null, fe(A.steps, (i, I) => (J(), L("div", { key: I }, [
27343
- A.currentStep === I ? bA(g.$slots, i.name, {}, void 0, !0, 0) : uA("", !0)
27343
+ A.currentStep === I ? bA(g.$slots, i.name, {}, void 0, !0, 0) : kA("", !0)
27344
27344
  ]))), 128))
27345
27345
  ])
27346
27346
  ], 6));
@@ -27433,14 +27433,14 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27433
27433
  showHeader: !0,
27434
27434
  stepPrimaryColor: "var(--fge-orange-color)",
27435
27435
  containerClass: "fge-telegram-stepper"
27436
- }, null, 8, ["currentStep"])) : uA("", !0),
27436
+ }, null, 8, ["currentStep"])) : kA("", !0),
27437
27437
  A.indicadorPaso ? (J(), L("div", X9, [
27438
27438
  M("span", H9, GA(A.indicadorPaso), 1)
27439
- ])) : uA("", !0),
27440
- A.message2Fa ? (J(), L("p", _9, GA(A.message2Fa), 1)) : uA("", !0),
27439
+ ])) : kA("", !0),
27440
+ A.message2Fa ? (J(), L("p", _9, GA(A.message2Fa), 1)) : kA("", !0),
27441
27441
  A.message2FaContexto ? (J(), L("div", $9, [
27442
27442
  M("p", A8, GA(A.message2FaContexto), 1)
27443
- ])) : uA("", !0),
27443
+ ])) : kA("", !0),
27444
27444
  A.isTelegram && A.url2FaContexto ? (J(), L("div", t8, [
27445
27445
  M("a", {
27446
27446
  href: A.url2FaContexto,
@@ -27448,7 +27448,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27448
27448
  class: "fge-green-button w-full inline-block text-center",
27449
27449
  style: { "text-decoration": "none", display: "inline-block", padding: "0.75rem 1.5rem" }
27450
27450
  }, " Abrir Telegram ", 8, e8)
27451
- ])) : uA("", !0),
27451
+ ])) : kA("", !0),
27452
27452
  bA(c.$slots, "telegram-extra", {}, void 0, !0),
27453
27453
  A.showCode ? (J(), L("div", s8, [
27454
27454
  d(r(we), { name: A.fieldName }, {
@@ -27468,7 +27468,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27468
27468
  ]),
27469
27469
  _: 1
27470
27470
  }, 8, ["name"])
27471
- ])) : uA("", !0),
27471
+ ])) : kA("", !0),
27472
27472
  d(me, { error: A.error }, null, 8, ["error"]),
27473
27473
  A.mostrarContadorExpiracion || A.reenviarMensaje && A.mostrarReenviar ? (J(), L("div", g8, [
27474
27474
  d(z9, {
@@ -27478,7 +27478,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27478
27478
  "solo-cuenta-atras": A.mostrarContadorExpiracion,
27479
27479
  onFinished: o
27480
27480
  }, null, 8, ["reenviarMensaje", "solo-cuenta-atras"])
27481
- ])) : uA("", !0)
27481
+ ])) : kA("", !0)
27482
27482
  ]),
27483
27483
  bA(c.$slots, "inputs", {}, void 0, !0)
27484
27484
  ]),
@@ -27494,7 +27494,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27494
27494
  class: "fge-gray-button w-full"
27495
27495
  }, [
27496
27496
  M("span", null, GA(A.cancelarText), 1)
27497
- ])) : uA("", !0),
27497
+ ])) : kA("", !0),
27498
27498
  A.aceptarFunction ? (J(), L("button", {
27499
27499
  key: 1,
27500
27500
  title: "Enviar código",
@@ -27509,7 +27509,7 @@ const B9 = { class: "identity-capture" }, o9 = { class: "identity-capture__heade
27509
27509
  ])
27510
27510
  }, [
27511
27511
  M("span", null, GA(A.aceptarText), 1)
27512
- ], 10, i8)) : uA("", !0)
27512
+ ], 10, i8)) : kA("", !0)
27513
27513
  ])
27514
27514
  ])
27515
27515
  ], 32));
@@ -27657,7 +27657,7 @@ const bn = { render: C8 }, n8 = {
27657
27657
  return (G = A.onAbrirTelegram) == null ? void 0 : G.call(A);
27658
27658
  }, ["prevent"]))
27659
27659
  }, " Abrir ")
27660
- ])) : uA("", !0),
27660
+ ])) : kA("", !0),
27661
27661
  d(Jn, {
27662
27662
  fieldName: "codigoContacto",
27663
27663
  refCounter: C.value,
@@ -27927,7 +27927,7 @@ const vY = { render: z8 }, W8 = {
27927
27927
  id: "registro-medios-title",
27928
27928
  class: "registro-medios__title"
27929
27929
  }, "Verificación de contacto", -1)),
27930
- i.value ? uA("", !0) : (J(), L("p", L8, GA(a.value), 1)),
27930
+ i.value ? kA("", !0) : (J(), L("p", L8, GA(a.value), 1)),
27931
27931
  M("ul", f8, [
27932
27932
  (J(!0), L(Tt, null, fe(E.value, (B) => (J(), L("li", {
27933
27933
  key: B.medio
@@ -28131,15 +28131,15 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28131
28131
  esUsuarioExistente: VA,
28132
28132
  onEvidenciaConfirmada: wA,
28133
28133
  uploadingEvidencia: EA,
28134
- kycProgress: ZA,
28134
+ kycProgress: dA,
28135
28135
  pasoCapturaActual: FA,
28136
28136
  visibleSteps: yA,
28137
28137
  goBack: ot
28138
- } = lW(), kA = D(!1);
28138
+ } = lW(), uA = D(!1);
28139
28139
  wt(
28140
28140
  FA,
28141
28141
  (MA) => {
28142
- kA.value = MA === "selfie";
28142
+ uA.value = MA === "selfie";
28143
28143
  },
28144
28144
  { immediate: !0 }
28145
28145
  );
@@ -28176,7 +28176,7 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28176
28176
  r(E) && r(g) === "datos" ? (J(), L("output", I6, [
28177
28177
  q[8] || (q[8] = M("p", { class: "kyc-alert__title" }, "Sesión de registro vencida", -1)),
28178
28178
  M("p", null, GA(r(QA)), 1)
28179
- ])) : r(C) && r(g) !== "datos" ? (J(), L("output", E6, GA(r(Yt)), 1)) : uA("", !0),
28179
+ ])) : r(C) && r(g) !== "datos" ? (J(), L("output", E6, GA(r(Yt)), 1)) : kA("", !0),
28180
28180
  r(g) === "datos" ? (J(), L("div", C6, [
28181
28181
  M("div", n6, [
28182
28182
  M("div", r6, [
@@ -28400,8 +28400,8 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28400
28400
  (...AA) => r(RA) && r(RA)(...AA))
28401
28401
  }, " Ingresar código ")
28402
28402
  ]),
28403
- r(Y) > 0 && r(B) !== "telegram" ? (J(), L("p", u6, " Podrá solicitar un nuevo código en " + GA(r(Y)) + " segundo(s). ", 1)) : uA("", !0)
28404
- ])) : uA("", !0),
28403
+ r(Y) > 0 && r(B) !== "telegram" ? (J(), L("p", u6, " Podrá solicitar un nuevo código en " + GA(r(Y)) + " segundo(s). ", 1)) : kA("", !0)
28404
+ ])) : kA("", !0),
28405
28405
  M("div", k6, [
28406
28406
  q[16] || (q[16] = M("label", {
28407
28407
  for: "celular",
@@ -28489,7 +28489,7 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28489
28489
  d(me, {
28490
28490
  error: r(n).repetirPassword
28491
28491
  }, null, 8, ["error"]),
28492
- r(Z) ? (J(), L("p", b6, GA(r(Z)), 1)) : uA("", !0)
28492
+ r(Z) ? (J(), L("p", b6, GA(r(Z)), 1)) : kA("", !0)
28493
28493
  ])
28494
28494
  ]),
28495
28495
  d(oC, {
@@ -28511,9 +28511,9 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28511
28511
  ], -1)),
28512
28512
  (gA = r(nA)) != null && gA.texto || ht.value ? (J(), L("output", Z6, [
28513
28513
  q[21] || (q[21] = M("p", { class: "kyc-alert__title" }, "Hay observaciones en su registro", -1)),
28514
- ($ = r(nA)) != null && $.texto ? (J(), L("p", p6, GA(r(nA).texto), 1)) : uA("", !0),
28515
- ht.value ? (J(), L("p", N6, " Debe volver a cargar: " + GA(ht.value) + ". ", 1)) : uA("", !0)
28516
- ])) : uA("", !0),
28514
+ ($ = r(nA)) != null && $.texto ? (J(), L("p", p6, GA(r(nA).texto), 1)) : kA("", !0),
28515
+ ht.value ? (J(), L("p", N6, " Debe volver a cargar: " + GA(ht.value) + ". ", 1)) : kA("", !0)
28516
+ ])) : kA("", !0),
28517
28517
  M("ul", y6, [
28518
28518
  (J(!0), L(Tt, null, fe(r(UA), (AA) => (J(), L("li", {
28519
28519
  key: AA,
@@ -28552,15 +28552,15 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28552
28552
  steps: vA.value,
28553
28553
  "current-id": r(g)
28554
28554
  }, null, 8, ["steps", "current-id"]),
28555
- (j = (eA = r(nA)) == null ? void 0 : eA.fotos) != null && j.includes(r(FA)) ? (J(), L("output", z6, " Esta fotografía fue observada. Vuelva a capturarla con mejor nitidez e iluminación. ")) : uA("", !0),
28555
+ (j = (eA = r(nA)) == null ? void 0 : eA.fotos) != null && j.includes(r(FA)) ? (J(), L("output", z6, " Esta fotografía fue observada. Vuelva a capturarla con mejor nitidez e iluminación. ")) : kA("", !0),
28556
28556
  (J(), sA(p9, {
28557
28557
  key: r(FA),
28558
28558
  tipo: r(FA),
28559
- "kyc-progress": r(ZA),
28559
+ "kyc-progress": r(dA),
28560
28560
  uploading: r(EA),
28561
28561
  onConfirm: KA
28562
28562
  }, null, 8, ["tipo", "kyc-progress", "uploading"])),
28563
- r(jA)[r(FA)] ? (J(), L("output", W6, " Fotografía cargada. Puede continuar o repetir la captura. ")) : uA("", !0),
28563
+ r(jA)[r(FA)] ? (J(), L("output", W6, " Fotografía cargada. Puede continuar o repetir la captura. ")) : kA("", !0),
28564
28564
  d(oC, {
28565
28565
  "back-label": "Anterior",
28566
28566
  "next-label": "Siguiente",
@@ -28579,7 +28579,7 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28579
28579
  M("p", { class: "kyc-panel__subtitle" }, " Revise que todo esté completo. Al enviar, no podrá editar las fotografías hasta que un operador le responda. ")
28580
28580
  ], -1)),
28581
28581
  M("ul", T6, [
28582
- r(VA) ? uA("", !0) : (J(), L("li", U6, [
28582
+ r(VA) ? kA("", !0) : (J(), L("li", U6, [
28583
28583
  q[26] || (q[26] = M("span", {
28584
28584
  class: "kyc-summary__check",
28585
28585
  "aria-hidden": "true"
@@ -28619,13 +28619,13 @@ const a6 = { render: g6 }, i6 = { class: "fge-right-container" }, I6 = {
28619
28619
  onBack: r(ot),
28620
28620
  onNext: r(W)
28621
28621
  }, null, 8, ["next-label", "next-disabled", "onBack", "onNext"])
28622
- ])) : uA("", !0)
28622
+ ])) : kA("", !0)
28623
28623
  ]),
28624
28624
  r(FA) === "selfie" ? (J(), sA(p8, {
28625
28625
  key: 0,
28626
- open: kA.value,
28627
- "onUpdate:open": q[5] || (q[5] = (AA) => kA.value = AA)
28628
- }, null, 8, ["open"])) : uA("", !0),
28626
+ open: uA.value,
28627
+ "onUpdate:open": q[5] || (q[5] = (AA) => uA.value = AA)
28628
+ }, null, 8, ["open"])) : kA("", !0),
28629
28629
  d(M8, {
28630
28630
  open: r(k),
28631
28631
  "onUpdate:open": q[6] || (q[6] = (AA) => ss(k) ? k.value = AA : null),
@@ -33779,7 +33779,7 @@ function VF(A) {
33779
33779
  Ls().shape({
33780
33780
  code: ae().required("Debe ingresar un código de verificación").matches(nI, "El código debe contener solo letras y números").label("Código")
33781
33781
  })
33782
- ], H = D(0), jA = T(() => JA[H.value]), { handleSubmit: UA, values: tA, errors: nA, setErrors: VA, resetForm: wA, resetField: EA, setFieldValue: ZA } = qC(
33782
+ ], H = D(0), jA = T(() => JA[H.value]), { handleSubmit: UA, values: tA, errors: nA, setErrors: VA, resetForm: wA, resetField: EA, setFieldValue: dA } = qC(
33783
33783
  {
33784
33784
  validationSchema: jA,
33785
33785
  keepValuesOnUnmount: !0
@@ -33788,7 +33788,7 @@ function VF(A) {
33788
33788
  EA("code", { value: "", touched: !1, errors: [] });
33789
33789
  }, { value: yA } = tl("usuarioId"), { value: ot } = tl("esDispositivoConfianza", void 0, {
33790
33790
  initialValue: !1
33791
- }), kA = (v) => t.resolveDeviceIdFromCookie(v ?? tA.usuario ?? ""), HA = {
33791
+ }), uA = (v) => t.resolveDeviceIdFromCookie(v ?? tA.usuario ?? ""), HA = {
33792
33792
  [rA.WHATSAPP]: "verificadoWhatsapp",
33793
33793
  [rA.TELEGRAM]: "verificadoTelegram",
33794
33794
  [rA.EMAIL]: "verificadoEmail",
@@ -33876,7 +33876,7 @@ function VF(A) {
33876
33876
  var NA, mA, p, K, b, P, X, V;
33877
33877
  e.setLoading(!0), C.value = "", n.value = "";
33878
33878
  try {
33879
- const BA = kA(v.usuario), aA = await t.onLogin({
33879
+ const BA = uA(v.usuario), aA = await t.onLogin({
33880
33880
  ...v,
33881
33881
  codigoDispositivo: BA
33882
33882
  });
@@ -33918,9 +33918,9 @@ function VF(A) {
33918
33918
  var NA, mA, p, K, b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut;
33919
33919
  try {
33920
33920
  if (e.setLoading(!0), Number(v) === rA.TELEGRAM && Q.value !== "telegram_bot") {
33921
- const dA = t.usaAuthNv ? await fi({ usuarioId: Number(yA.value) }) : await TI({ usuarioId: Number(yA.value) }), _t = (mA = (NA = dA == null ? void 0 : dA.response) == null ? void 0 : NA.data) == null ? void 0 : mA.desafioId, Dt = (K = (p = dA == null ? void 0 : dA.response) == null ? void 0 : p.data) == null ? void 0 : K.destino, dt = ((P = (b = dA == null ? void 0 : dA.response) == null ? void 0 : b.data) == null ? void 0 : P.tiempoVigencia) ?? 120, lt = (dA == null ? void 0 : dA.message) || "Ingrese el código recibido por SMS para continuar con Telegram.";
33921
+ const ZA = t.usaAuthNv ? await fi({ usuarioId: Number(yA.value) }) : await TI({ usuarioId: Number(yA.value) }), _t = (mA = (NA = ZA == null ? void 0 : ZA.response) == null ? void 0 : NA.data) == null ? void 0 : mA.desafioId, Dt = (K = (p = ZA == null ? void 0 : ZA.response) == null ? void 0 : p.data) == null ? void 0 : K.destino, dt = ((P = (b = ZA == null ? void 0 : ZA.response) == null ? void 0 : b.data) == null ? void 0 : P.tiempoVigencia) ?? 120, lt = (ZA == null ? void 0 : ZA.message) || "Ingrese el código recibido por SMS para continuar con Telegram.";
33922
33922
  Q.value = "sms_previo", u.value = _t ?? null, E.value = lt, C.value = Dt ? `Código enviado a ${Dt}` : "Se ha enviado un código de verificación por SMS a su número de celular para validar su línea antes de vincular Telegram.", n.value = "", G.value = !1, o.value = !1, Y.value = !0, CA(() => {
33923
- ZA("code", "");
33923
+ dA("code", "");
33924
33924
  }), CA(() => {
33925
33925
  var zt;
33926
33926
  c.value = Number(dt), (zt = i.value) == null || zt.reInit(Number(dt));
@@ -33948,36 +33948,36 @@ function VF(A) {
33948
33948
  break;
33949
33949
  }
33950
33950
  Q.value = "normal", u.value = null, m.value = null, R.value = "", h.value = !1, G.value = !1, o.value = !0, Y.value = !0;
33951
- let dA = null;
33951
+ let ZA = null;
33952
33952
  try {
33953
- dA = t.usaAuthNvEnLogin ? await Qa({
33953
+ ZA = t.usaAuthNvEnLogin ? await Qa({
33954
33954
  medio: Yt(Number(v)),
33955
33955
  usuarioId: Number(yA.value),
33956
- deviceId: kA(tA.usuario),
33956
+ deviceId: uA(tA.usuario),
33957
33957
  isLogin: !0,
33958
33958
  aplicacion: t.aplicacion
33959
33959
  }) : await la({
33960
33960
  medio: Number(v),
33961
33961
  usuarioId: Number(yA.value),
33962
- deviceId: kA(tA.usuario),
33962
+ deviceId: uA(tA.usuario),
33963
33963
  isLogin: !0,
33964
33964
  aplicacion: t.aplicacion
33965
33965
  });
33966
33966
  } catch (Dt) {
33967
33967
  throw Dt;
33968
33968
  }
33969
- if ($(dA)) return;
33970
- E.value = (dA == null ? void 0 : dA.message) || YA.message || "Confirmación de código", C.value = ((aA = (BA = dA == null ? void 0 : dA.response) == null ? void 0 : BA.data) == null ? void 0 : aA.mensajeServicio) || ((DA = (fA = YA == null ? void 0 : YA.response) == null ? void 0 : fA.data) == null ? void 0 : DA.mensajeServicio) || "", n.value = ((it = (oA = dA == null ? void 0 : dA.response) == null ? void 0 : oA.data) == null ? void 0 : it.url) ?? "", CA(() => {
33971
- ZA("code", "");
33969
+ if ($(ZA)) return;
33970
+ E.value = (ZA == null ? void 0 : ZA.message) || YA.message || "Confirmación de código", C.value = ((aA = (BA = ZA == null ? void 0 : ZA.response) == null ? void 0 : BA.data) == null ? void 0 : aA.mensajeServicio) || ((DA = (fA = YA == null ? void 0 : YA.response) == null ? void 0 : fA.data) == null ? void 0 : DA.mensajeServicio) || "", n.value = ((it = (oA = ZA == null ? void 0 : ZA.response) == null ? void 0 : oA.data) == null ? void 0 : it.url) ?? "", CA(() => {
33971
+ dA("code", "");
33972
33972
  });
33973
33973
  const _t = Number(
33974
- dA != null && dA.minutos ? dA.minutos * 60 : ((Jt = (st = dA == null ? void 0 : dA.response) == null ? void 0 : st.data) == null ? void 0 : Jt.tiempoVigencia) ?? (YA != null && YA.minutos ? YA.minutos * 60 : ((Ht = (Pt = YA == null ? void 0 : YA.response) == null ? void 0 : Pt.data) == null ? void 0 : Ht.tiempoVigencia) ?? 120)
33974
+ ZA != null && ZA.minutos ? ZA.minutos * 60 : ((Jt = (st = ZA == null ? void 0 : ZA.response) == null ? void 0 : st.data) == null ? void 0 : Jt.tiempoVigencia) ?? (YA != null && YA.minutos ? YA.minutos * 60 : ((Ht = (Pt = YA == null ? void 0 : YA.response) == null ? void 0 : Pt.data) == null ? void 0 : Ht.tiempoVigencia) ?? 120)
33975
33975
  );
33976
33976
  CA(() => {
33977
33977
  var Dt;
33978
33978
  (Dt = i.value) == null || Dt.reInit(_t);
33979
33979
  }), c.value = _t, lA.success(
33980
- `<p class="toast-title">Código enviado</p><p class="toast-description">${(dA == null ? void 0 : dA.message) || YA.message || "Medio verificado exitosamente"}</p>`,
33980
+ `<p class="toast-title">Código enviado</p><p class="toast-description">${(ZA == null ? void 0 : ZA.message) || YA.message || "Medio verificado exitosamente"}</p>`,
33981
33981
  {
33982
33982
  autoClose: 5e3,
33983
33983
  hideProgressBar: !0,
@@ -33990,10 +33990,10 @@ function VF(A) {
33990
33990
  }
33991
33991
  Q.value !== "telegram_bot" && (Q.value = "normal", u.value = null, m.value = null, R.value = ""), E.value = YA.message, G.value = !1, o.value = !1, Y.value = !0, (Kt = YA == null ? void 0 : YA.response) != null && Kt.data && !(YA != null && YA.error) ? (C.value = YA.response.data.mensajeServicio ?? "", n.value = YA.response.data.url ?? "") : (C.value = "", n.value = ""), CA(() => {
33992
33992
  var _t, Dt, dt;
33993
- const dA = Number(
33993
+ const ZA = Number(
33994
33994
  ((Dt = (_t = YA == null ? void 0 : YA.response) == null ? void 0 : _t.data) == null ? void 0 : Dt.tiempoVigencia) ?? ((YA == null ? void 0 : YA.minutos) != null ? YA.minutos * 60 : 120)
33995
33995
  );
33996
- c.value = dA, (dt = i.value) == null || dt.reInit(dA);
33996
+ c.value = ZA, (dt = i.value) == null || dt.reInit(ZA);
33997
33997
  });
33998
33998
  } catch (YA) {
33999
33999
  throw C.value = "", n.value = "", Y.value = !1, lA.error(
@@ -34006,11 +34006,11 @@ function VF(A) {
34006
34006
  var NA, mA, p, K, b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut;
34007
34007
  try {
34008
34008
  if (e.setLoading(!0), Number(v) === rA.TELEGRAM && Q.value !== "telegram_bot") {
34009
- const dA = await fi({
34009
+ const ZA = await fi({
34010
34010
  usuarioId: Number(yA.value)
34011
- }), _t = (mA = (NA = dA == null ? void 0 : dA.response) == null ? void 0 : NA.data) == null ? void 0 : mA.desafioId, Dt = (K = (p = dA == null ? void 0 : dA.response) == null ? void 0 : p.data) == null ? void 0 : K.destino, dt = ((P = (b = dA == null ? void 0 : dA.response) == null ? void 0 : b.data) == null ? void 0 : P.tiempoVigencia) ?? 120, lt = (dA == null ? void 0 : dA.message) || "Ingrese el código recibido por SMS para continuar con Telegram.";
34011
+ }), _t = (mA = (NA = ZA == null ? void 0 : ZA.response) == null ? void 0 : NA.data) == null ? void 0 : mA.desafioId, Dt = (K = (p = ZA == null ? void 0 : ZA.response) == null ? void 0 : p.data) == null ? void 0 : K.destino, dt = ((P = (b = ZA == null ? void 0 : ZA.response) == null ? void 0 : b.data) == null ? void 0 : P.tiempoVigencia) ?? 120, lt = (ZA == null ? void 0 : ZA.message) || "Ingrese el código recibido por SMS para continuar con Telegram.";
34012
34012
  Q.value = "sms_previo", u.value = _t ?? null, E.value = lt, C.value = Dt ? `Código enviado a ${Dt}` : "Se ha enviado un código de verificación por SMS a su número de celular para validar su línea antes de vincular Telegram.", n.value = "", G.value = !1, o.value = !1, Y.value = !0, CA(() => {
34013
- ZA("code", "");
34013
+ dA("code", "");
34014
34014
  }), CA(() => {
34015
34015
  var zt;
34016
34016
  c.value = Number(dt), (zt = i.value) == null || zt.reInit(Number(dt));
@@ -34024,36 +34024,36 @@ function VF(A) {
34024
34024
  });
34025
34025
  if (((V = (X = YA == null ? void 0 : YA.response) == null ? void 0 : X.data) == null ? void 0 : V.medioActualizado) === !0) {
34026
34026
  vA(v, !0), Q.value = "normal", u.value = null, m.value = null, R.value = "", h.value = !1, G.value = !1, o.value = !0, Y.value = !0;
34027
- let dA = null;
34027
+ let ZA = null;
34028
34028
  try {
34029
- dA = t.usaAuthNvEnLogin ? await Qa({
34029
+ ZA = t.usaAuthNvEnLogin ? await Qa({
34030
34030
  medio: Yt(Number(v)),
34031
34031
  usuarioId: Number(yA.value),
34032
- deviceId: kA(tA.usuario),
34032
+ deviceId: uA(tA.usuario),
34033
34033
  isLogin: !0,
34034
34034
  aplicacion: t.aplicacion
34035
34035
  }) : await la({
34036
34036
  medio: Number(v),
34037
34037
  usuarioId: Number(yA.value),
34038
- deviceId: kA(tA.usuario),
34038
+ deviceId: uA(tA.usuario),
34039
34039
  isLogin: !0,
34040
34040
  aplicacion: t.aplicacion
34041
34041
  });
34042
34042
  } catch (Dt) {
34043
34043
  throw Dt;
34044
34044
  }
34045
- if ($(dA)) return;
34046
- E.value = (dA == null ? void 0 : dA.message) || YA.message || "Confirmación de código", C.value = ((aA = (BA = dA == null ? void 0 : dA.response) == null ? void 0 : BA.data) == null ? void 0 : aA.mensajeServicio) || ((DA = (fA = YA == null ? void 0 : YA.response) == null ? void 0 : fA.data) == null ? void 0 : DA.mensajeServicio) || "", n.value = ((it = (oA = dA == null ? void 0 : dA.response) == null ? void 0 : oA.data) == null ? void 0 : it.url) ?? "", CA(() => {
34047
- ZA("code", "");
34045
+ if ($(ZA)) return;
34046
+ E.value = (ZA == null ? void 0 : ZA.message) || YA.message || "Confirmación de código", C.value = ((aA = (BA = ZA == null ? void 0 : ZA.response) == null ? void 0 : BA.data) == null ? void 0 : aA.mensajeServicio) || ((DA = (fA = YA == null ? void 0 : YA.response) == null ? void 0 : fA.data) == null ? void 0 : DA.mensajeServicio) || "", n.value = ((it = (oA = ZA == null ? void 0 : ZA.response) == null ? void 0 : oA.data) == null ? void 0 : it.url) ?? "", CA(() => {
34047
+ dA("code", "");
34048
34048
  });
34049
34049
  const _t = Number(
34050
- dA != null && dA.minutos ? dA.minutos * 60 : ((Jt = (st = dA == null ? void 0 : dA.response) == null ? void 0 : st.data) == null ? void 0 : Jt.tiempoVigencia) ?? (YA != null && YA.minutos ? YA.minutos * 60 : ((Ht = (Pt = YA == null ? void 0 : YA.response) == null ? void 0 : Pt.data) == null ? void 0 : Ht.tiempoVigencia) ?? 120)
34050
+ ZA != null && ZA.minutos ? ZA.minutos * 60 : ((Jt = (st = ZA == null ? void 0 : ZA.response) == null ? void 0 : st.data) == null ? void 0 : Jt.tiempoVigencia) ?? (YA != null && YA.minutos ? YA.minutos * 60 : ((Ht = (Pt = YA == null ? void 0 : YA.response) == null ? void 0 : Pt.data) == null ? void 0 : Ht.tiempoVigencia) ?? 120)
34051
34051
  );
34052
34052
  CA(() => {
34053
34053
  var Dt;
34054
34054
  (Dt = i.value) == null || Dt.reInit(_t);
34055
34055
  }), c.value = _t, lA.success(
34056
- `<p class="toast-title">Código enviado</p><p class="toast-description">${(dA == null ? void 0 : dA.message) || YA.message || "Medio verificado exitosamente"}</p>`,
34056
+ `<p class="toast-title">Código enviado</p><p class="toast-description">${(ZA == null ? void 0 : ZA.message) || YA.message || "Medio verificado exitosamente"}</p>`,
34057
34057
  {
34058
34058
  autoClose: 5e3,
34059
34059
  hideProgressBar: !0,
@@ -34066,10 +34066,10 @@ function VF(A) {
34066
34066
  }
34067
34067
  Q.value !== "telegram_bot" && (Q.value = "normal", u.value = null, m.value = null, R.value = ""), E.value = YA.message, G.value = !1, o.value = !1, Y.value = !0, (Kt = YA == null ? void 0 : YA.response) != null && Kt.data && !(YA != null && YA.error) ? (C.value = YA.response.data.mensajeServicio ?? "", n.value = YA.response.data.url ?? "") : (C.value = "", n.value = ""), CA(() => {
34068
34068
  var _t, Dt, dt;
34069
- const dA = Number(
34069
+ const ZA = Number(
34070
34070
  ((Dt = (_t = YA == null ? void 0 : YA.response) == null ? void 0 : _t.data) == null ? void 0 : Dt.tiempoVigencia) ?? ((YA == null ? void 0 : YA.minutos) != null ? YA.minutos * 60 : 120)
34071
34071
  );
34072
- c.value = dA, (dt = i.value) == null || dt.reInit(dA);
34072
+ c.value = ZA, (dt = i.value) == null || dt.reInit(ZA);
34073
34073
  });
34074
34074
  } catch (YA) {
34075
34075
  throw C.value = "", n.value = "", Y.value = !1, lA.error(
@@ -34100,13 +34100,13 @@ function VF(A) {
34100
34100
  }
34101
34101
  ), e.setLoading(!1), !0;
34102
34102
  }, eA = async ({ medio: v }) => {
34103
- var NA, mA, p, K, b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, dA, _t, Dt, dt, lt, zt, As, Oe, iA, Vt, rs, Js, gg, kg, HE, _E, $E;
34103
+ var NA, mA, p, K, b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, ZA, _t, Dt, dt, lt, zt, As, Oe, iA, Vt, rs, Js, gg, kg, HE, _E, $E;
34104
34104
  try {
34105
34105
  e.setLoading(!0);
34106
34106
  const O = await la({
34107
34107
  medio: Number(v),
34108
34108
  usuarioId: yA.value,
34109
- deviceId: kA(tA.usuario),
34109
+ deviceId: uA(tA.usuario),
34110
34110
  isLogin: !0,
34111
34111
  aplicacion: t.aplicacion
34112
34112
  });
@@ -34132,13 +34132,13 @@ function VF(A) {
34132
34132
  Qt = t.usaAuthNvEnLogin ? await Qa({
34133
34133
  medio: Yt(Number(v)),
34134
34134
  usuarioId: Number(yA.value),
34135
- deviceId: kA(tA.usuario),
34135
+ deviceId: uA(tA.usuario),
34136
34136
  isLogin: !0,
34137
34137
  aplicacion: t.aplicacion
34138
34138
  }) : await la({
34139
34139
  medio: Number(v),
34140
34140
  usuarioId: Number(yA.value),
34141
- deviceId: kA(tA.usuario),
34141
+ deviceId: uA(tA.usuario),
34142
34142
  isLogin: !0,
34143
34143
  aplicacion: t.aplicacion
34144
34144
  });
@@ -34147,7 +34147,7 @@ function VF(A) {
34147
34147
  }
34148
34148
  if ($(Qt)) return;
34149
34149
  E.value = (Qt == null ? void 0 : Qt.message) || O.message || "Confirmación de código", C.value = ((K = (p = Qt == null ? void 0 : Qt.response) == null ? void 0 : p.data) == null ? void 0 : K.mensajeServicio) || ((P = (b = O == null ? void 0 : O.response) == null ? void 0 : b.data) == null ? void 0 : P.mensajeServicio) || "", n.value = ((V = (X = Qt == null ? void 0 : Qt.response) == null ? void 0 : X.data) == null ? void 0 : V.url) ?? "", CA(() => {
34150
- ZA("code", "");
34150
+ dA("code", "");
34151
34151
  });
34152
34152
  const ts = Number(
34153
34153
  Qt != null && Qt.minutos ? Qt.minutos * 60 : ((aA = (BA = Qt == null ? void 0 : Qt.response) == null ? void 0 : BA.data) == null ? void 0 : aA.tiempoVigencia) ?? (O != null && O.minutos ? O.minutos * 60 : ((DA = (fA = O == null ? void 0 : O.response) == null ? void 0 : fA.data) == null ? void 0 : DA.tiempoVigencia) ?? 120)
@@ -34169,7 +34169,7 @@ function VF(A) {
34169
34169
  }
34170
34170
  if (Number(v) === rA.TELEGRAM && !!(((it = (oA = O == null ? void 0 : O.response) == null ? void 0 : oA.data) == null ? void 0 : it.requiereSms) ?? ((Jt = (st = O == null ? void 0 : O.response) == null ? void 0 : st.data) == null ? void 0 : Jt.requiere_sms) ?? ((Pt = O == null ? void 0 : O.response) == null ? void 0 : Pt.requiereSms) ?? ((Ht = O == null ? void 0 : O.data) == null ? void 0 : Ht.requiereSms) ?? (O == null ? void 0 : O.requiereSms))) {
34171
34171
  Q.value = "sms_previo", R.value = ((Ut = (Kt = O == null ? void 0 : O.response) == null ? void 0 : Kt.data) == null ? void 0 : Ut.url) ?? "";
34172
- let Qt = (dA = (YA = O == null ? void 0 : O.response) == null ? void 0 : YA.data) == null ? void 0 : dA.desafioId, ts = (Dt = (_t = O == null ? void 0 : O.response) == null ? void 0 : _t.data) == null ? void 0 : Dt.destino, De = (lt = (dt = O == null ? void 0 : O.response) == null ? void 0 : dt.data) == null ? void 0 : lt.tiempoVigencia, wg = O == null ? void 0 : O.message;
34172
+ let Qt = (ZA = (YA = O == null ? void 0 : O.response) == null ? void 0 : YA.data) == null ? void 0 : ZA.desafioId, ts = (Dt = (_t = O == null ? void 0 : O.response) == null ? void 0 : _t.data) == null ? void 0 : Dt.destino, De = (lt = (dt = O == null ? void 0 : O.response) == null ? void 0 : dt.data) == null ? void 0 : lt.tiempoVigencia, wg = O == null ? void 0 : O.message;
34173
34173
  if (!Qt)
34174
34174
  try {
34175
34175
  const vt = t.usaAuthNv ? await fi({ usuarioId: Number(yA.value) }) : await TI({ usuarioId: Number(yA.value) });
@@ -34178,7 +34178,7 @@ function VF(A) {
34178
34178
  throw vt;
34179
34179
  }
34180
34180
  u.value = Qt ?? null, E.value = wg || "Ingrese el código recibido por SMS para continuar con Telegram.", C.value = ts ? `Código enviado a ${ts}` : ((gg = (Js = O == null ? void 0 : O.response) == null ? void 0 : Js.data) == null ? void 0 : gg.mensajeServicio) || "Se ha enviado un código de verificación por SMS a su número de celular para validar su línea antes de vincular Telegram.", n.value = "", G.value = !1, o.value = !1, Y.value = !0, CA(() => {
34181
- ZA("code", "");
34181
+ dA("code", "");
34182
34182
  });
34183
34183
  const fB = Number(
34184
34184
  De ?? ((HE = (kg = O == null ? void 0 : O.response) == null ? void 0 : kg.data) == null ? void 0 : HE.tiempoVigencia) ?? ((O == null ? void 0 : O.minutos) ?? 2) * 60
@@ -34204,13 +34204,13 @@ function VF(A) {
34204
34204
  e.setLoading(!1);
34205
34205
  }
34206
34206
  }, j = async ({ medio: v }) => {
34207
- var NA, mA, p, K, b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, dA, _t, Dt, dt, lt, zt, As, Oe, iA, Vt, rs, Js, gg, kg, HE, _E, $E;
34207
+ var NA, mA, p, K, b, P, X, V, BA, aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, ZA, _t, Dt, dt, lt, zt, As, Oe, iA, Vt, rs, Js, gg, kg, HE, _E, $E;
34208
34208
  try {
34209
34209
  e.setLoading(!0);
34210
34210
  const O = await Qa({
34211
34211
  medio: Yt(Number(v)),
34212
34212
  usuarioId: yA.value,
34213
- deviceId: kA(tA.usuario),
34213
+ deviceId: uA(tA.usuario),
34214
34214
  isLogin: !0,
34215
34215
  aplicacion: t.aplicacion
34216
34216
  });
@@ -34222,13 +34222,13 @@ function VF(A) {
34222
34222
  Qt = t.usaAuthNvEnLogin ? await Qa({
34223
34223
  medio: Yt(Number(v)),
34224
34224
  usuarioId: Number(yA.value),
34225
- deviceId: kA(tA.usuario),
34225
+ deviceId: uA(tA.usuario),
34226
34226
  isLogin: !0,
34227
34227
  aplicacion: t.aplicacion
34228
34228
  }) : await la({
34229
34229
  medio: Number(v),
34230
34230
  usuarioId: Number(yA.value),
34231
- deviceId: kA(tA.usuario),
34231
+ deviceId: uA(tA.usuario),
34232
34232
  isLogin: !0,
34233
34233
  aplicacion: t.aplicacion
34234
34234
  });
@@ -34237,7 +34237,7 @@ function VF(A) {
34237
34237
  }
34238
34238
  if ($(Qt)) return;
34239
34239
  E.value = (Qt == null ? void 0 : Qt.message) || O.message || "Confirmación de código", C.value = ((K = (p = Qt == null ? void 0 : Qt.response) == null ? void 0 : p.data) == null ? void 0 : K.mensajeServicio) || ((P = (b = O == null ? void 0 : O.response) == null ? void 0 : b.data) == null ? void 0 : P.mensajeServicio) || "", n.value = ((V = (X = Qt == null ? void 0 : Qt.response) == null ? void 0 : X.data) == null ? void 0 : V.url) ?? "", CA(() => {
34240
- ZA("code", "");
34240
+ dA("code", "");
34241
34241
  });
34242
34242
  const ts = Number(
34243
34243
  Qt != null && Qt.minutos ? Qt.minutos * 60 : ((aA = (BA = Qt == null ? void 0 : Qt.response) == null ? void 0 : BA.data) == null ? void 0 : aA.tiempoVigencia) ?? (O != null && O.minutos ? O.minutos * 60 : ((DA = (fA = O == null ? void 0 : O.response) == null ? void 0 : fA.data) == null ? void 0 : DA.tiempoVigencia) ?? 120)
@@ -34259,7 +34259,7 @@ function VF(A) {
34259
34259
  }
34260
34260
  if (Number(v) === rA.TELEGRAM && !!(((it = (oA = O == null ? void 0 : O.response) == null ? void 0 : oA.data) == null ? void 0 : it.requiereSms) ?? ((Jt = (st = O == null ? void 0 : O.response) == null ? void 0 : st.data) == null ? void 0 : Jt.requiere_sms) ?? ((Pt = O == null ? void 0 : O.response) == null ? void 0 : Pt.requiereSms) ?? ((Ht = O == null ? void 0 : O.data) == null ? void 0 : Ht.requiereSms) ?? (O == null ? void 0 : O.requiereSms))) {
34261
34261
  Q.value = "sms_previo", R.value = ((Ut = (Kt = O == null ? void 0 : O.response) == null ? void 0 : Kt.data) == null ? void 0 : Ut.url) ?? "";
34262
- let Qt = (dA = (YA = O == null ? void 0 : O.response) == null ? void 0 : YA.data) == null ? void 0 : dA.desafioId, ts = (Dt = (_t = O == null ? void 0 : O.response) == null ? void 0 : _t.data) == null ? void 0 : Dt.destino, De = (lt = (dt = O == null ? void 0 : O.response) == null ? void 0 : dt.data) == null ? void 0 : lt.tiempoVigencia, wg = O == null ? void 0 : O.message;
34262
+ let Qt = (ZA = (YA = O == null ? void 0 : O.response) == null ? void 0 : YA.data) == null ? void 0 : ZA.desafioId, ts = (Dt = (_t = O == null ? void 0 : O.response) == null ? void 0 : _t.data) == null ? void 0 : Dt.destino, De = (lt = (dt = O == null ? void 0 : O.response) == null ? void 0 : dt.data) == null ? void 0 : lt.tiempoVigencia, wg = O == null ? void 0 : O.message;
34263
34263
  if (!Qt)
34264
34264
  try {
34265
34265
  const vt = t.usaAuthNv ? await fi({ usuarioId: Number(yA.value) }) : await TI({ usuarioId: Number(yA.value) });
@@ -34268,7 +34268,7 @@ function VF(A) {
34268
34268
  throw vt;
34269
34269
  }
34270
34270
  u.value = Qt ?? null, E.value = wg || "Ingrese el código recibido por SMS para continuar con Telegram.", C.value = ts ? `Código enviado a ${ts}` : ((gg = (Js = O == null ? void 0 : O.response) == null ? void 0 : Js.data) == null ? void 0 : gg.mensajeServicio) || "Se ha enviado un código de verificación por SMS a su número de celular para validar su línea antes de vincular Telegram.", n.value = "", G.value = !1, o.value = !1, Y.value = !0, CA(() => {
34271
- ZA("code", "");
34271
+ dA("code", "");
34272
34272
  });
34273
34273
  const fB = Number(
34274
34274
  De ?? ((HE = (kg = O == null ? void 0 : O.response) == null ? void 0 : kg.data) == null ? void 0 : HE.tiempoVigencia) ?? ((O == null ? void 0 : O.minutos) ?? 2) * 60
@@ -34312,14 +34312,14 @@ function VF(A) {
34312
34312
  dangerouslyHTMLString: !0
34313
34313
  }
34314
34314
  );
34315
- const dA = ((mA = (NA = YA == null ? void 0 : YA.response) == null ? void 0 : NA.data) == null ? void 0 : mA.smsVerificacionToken) || null;
34316
- dA && (m.value = dA), (K = (p = YA == null ? void 0 : YA.response) == null ? void 0 : p.data) != null && K.url && (R.value = YA.response.data.url);
34315
+ const ZA = ((mA = (NA = YA == null ? void 0 : YA.response) == null ? void 0 : NA.data) == null ? void 0 : mA.smsVerificacionToken) || null;
34316
+ ZA && (m.value = ZA), (K = (p = YA == null ? void 0 : YA.response) == null ? void 0 : p.data) != null && K.url && (R.value = YA.response.data.url);
34317
34317
  let _t = Number(((P = (b = YA == null ? void 0 : YA.response) == null ? void 0 : b.data) == null ? void 0 : P.tiempoVigencia) ?? 300);
34318
34318
  try {
34319
34319
  const Dt = {
34320
34320
  medio: t.usaAuthNvEnLogin ? Yt(rA.TELEGRAM) : rA.TELEGRAM,
34321
34321
  usuarioId: Number(yA.value),
34322
- ...dA ? { smsVerificacionToken: dA } : {}
34322
+ ...ZA ? { smsVerificacionToken: ZA } : {}
34323
34323
  }, dt = t.usaAuthNvEnLogin ? await JC(Dt) : await to(Dt);
34324
34324
  if (((V = (X = dt == null ? void 0 : dt.response) == null ? void 0 : X.data) == null ? void 0 : V.medioActualizado) === !0) {
34325
34325
  vA(rA.TELEGRAM, !0), B.verificadoTelegram = !0, Q.value = "normal", u.value = null, m.value = null, R.value = "", h.value = !1, G.value = !1, o.value = !0, Y.value = !0;
@@ -34328,13 +34328,13 @@ function VF(A) {
34328
34328
  zt = t.usaAuthNvEnLogin ? await Qa({
34329
34329
  medio: Yt(rA.TELEGRAM),
34330
34330
  usuarioId: Number(yA.value),
34331
- deviceId: kA(tA.usuario),
34331
+ deviceId: uA(tA.usuario),
34332
34332
  isLogin: !0,
34333
34333
  aplicacion: t.aplicacion
34334
34334
  }) : await la({
34335
34335
  medio: rA.TELEGRAM,
34336
34336
  usuarioId: Number(yA.value),
34337
- deviceId: kA(tA.usuario),
34337
+ deviceId: uA(tA.usuario),
34338
34338
  isLogin: !0,
34339
34339
  aplicacion: t.aplicacion
34340
34340
  });
@@ -34343,7 +34343,7 @@ function VF(A) {
34343
34343
  }
34344
34344
  if ($(zt)) return;
34345
34345
  E.value = (zt == null ? void 0 : zt.message) || dt.message || "Confirmación vía Telegram", C.value = ((aA = (BA = zt == null ? void 0 : zt.response) == null ? void 0 : BA.data) == null ? void 0 : aA.mensajeServicio) || ((DA = (fA = dt == null ? void 0 : dt.response) == null ? void 0 : fA.data) == null ? void 0 : DA.mensajeServicio) || "Se ha enviado un código de verificación a su cuenta de Telegram.", n.value = ((it = (oA = zt == null ? void 0 : zt.response) == null ? void 0 : oA.data) == null ? void 0 : it.url) ?? "", CA(() => {
34346
- ZA("code", "");
34346
+ dA("code", "");
34347
34347
  });
34348
34348
  const As = Number(
34349
34349
  zt != null && zt.minutos ? zt.minutos * 60 : ((Jt = (st = zt == null ? void 0 : zt.response) == null ? void 0 : st.data) == null ? void 0 : Jt.tiempoVigencia) ?? (dt != null && dt.minutos ? dt.minutos * 60 : ((Ht = (Pt = dt == null ? void 0 : dt.response) == null ? void 0 : Pt.data) == null ? void 0 : Ht.tiempoVigencia) ?? 120)
@@ -34372,7 +34372,7 @@ function VF(A) {
34372
34372
  throw Dt;
34373
34373
  }
34374
34374
  CA(() => {
34375
- ZA("code", "");
34375
+ dA("code", "");
34376
34376
  }), CA(() => {
34377
34377
  var Dt;
34378
34378
  c.value = _t, (Dt = i.value) == null || Dt.reInit(_t);
@@ -34381,8 +34381,8 @@ function VF(A) {
34381
34381
  Me({ error: Ut, setErrors: VA });
34382
34382
  const YA = Ds(Ut);
34383
34383
  return YA && ((Kt = i.value) != null && Kt.reInit ? i.value.reInit(YA) : CA(() => {
34384
- var dA;
34385
- (dA = i.value) == null || dA.reInit(YA);
34384
+ var ZA;
34385
+ (ZA = i.value) == null || ZA.reInit(YA);
34386
34386
  })), {
34387
34387
  error: !0,
34388
34388
  message: Ut == null ? void 0 : Ut.message,
@@ -34453,7 +34453,7 @@ function VF(A) {
34453
34453
  }, hA = () => {
34454
34454
  ne(), s.disconnect();
34455
34455
  }, _A = async () => {
34456
- const v = tA.usuario ?? "", NA = kA(v);
34456
+ const v = tA.usuario ?? "", NA = uA(v);
34457
34457
  t.usaAuthNvEnLogin ? await t.onConfirmarPushLoginNv({
34458
34458
  usuarioId: Number(yA.value),
34459
34459
  challengeId: Z.value,
@@ -34536,7 +34536,7 @@ function VF(A) {
34536
34536
  const v = {
34537
34537
  usuarioId: Number(yA.value),
34538
34538
  aplicacion: t.aplicacion,
34539
- deviceId: kA(tA.usuario)
34539
+ deviceId: uA(tA.usuario)
34540
34540
  };
34541
34541
  (t.usaAuthNvEnLogin ? ap(v) : Ep(v)).then((mA) => {
34542
34542
  var b;
@@ -34574,14 +34574,14 @@ function VF(A) {
34574
34574
  e.setLoading(!0), t.usaAuthNvEnLogin ? (await t.on2AuthLoginNv({
34575
34575
  otp: Number(v.code),
34576
34576
  numeroDocumento: v.usuario,
34577
- deviceId: kA(v.usuario),
34577
+ deviceId: uA(v.usuario),
34578
34578
  aplicacion: t.aplicacion,
34579
34579
  dispositivoConfianza: v.esDispositivoConfianza
34580
34580
  }), A("onLogin")) : (await t.on2AuthLogin({
34581
34581
  code: Number(v.code),
34582
34582
  usuarioId: yA.value,
34583
34583
  aplicacion: v.aplicacion,
34584
- codigoDispositivo: kA(v.usuario),
34584
+ codigoDispositivo: uA(v.usuario),
34585
34585
  esDispositivoConfianza: v.esDispositivoConfianza,
34586
34586
  usuario: v.usuario
34587
34587
  // codigoDispositivo: values?.codigoDispositivo ? values?.codigoDispositivo : undefined,
@@ -34615,13 +34615,13 @@ function VF(A) {
34615
34615
  const v = t.usaAuthNvEnLogin ? await Qa({
34616
34616
  medio: Yt(rA.TELEGRAM),
34617
34617
  usuarioId: Number(yA.value),
34618
- deviceId: kA(tA.usuario),
34618
+ deviceId: uA(tA.usuario),
34619
34619
  isLogin: !0,
34620
34620
  aplicacion: t.aplicacion
34621
34621
  }) : await la({
34622
34622
  medio: rA.TELEGRAM,
34623
34623
  usuarioId: Number(yA.value),
34624
- deviceId: kA(tA.usuario),
34624
+ deviceId: uA(tA.usuario),
34625
34625
  isLogin: !0,
34626
34626
  aplicacion: t.aplicacion
34627
34627
  });
@@ -34652,7 +34652,7 @@ function VF(A) {
34652
34652
  });
34653
34653
  Q.value = b.subPaso, E.value = b.message2Fa, C.value = b.message2FaContexto, n.value = b.url2FaContexto, CA(() => {
34654
34654
  var P;
34655
- ZA("code", ""), c.value = b.vigenciaSegundos, (P = i.value) == null || P.reInit(b.vigenciaSegundos);
34655
+ dA("code", ""), c.value = b.vigenciaSegundos, (P = i.value) == null || P.reInit(b.vigenciaSegundos);
34656
34656
  });
34657
34657
  } catch (mA) {
34658
34658
  if ((mA == null ? void 0 : mA.error) === !0 && Number((mA == null ? void 0 : mA.status) ?? ((NA = mA == null ? void 0 : mA.response) == null ? void 0 : NA.status)) === 403 && String((mA == null ? void 0 : mA.message) ?? "").toLowerCase().includes("confirme el sms")) {
@@ -34675,7 +34675,7 @@ function VF(A) {
34675
34675
  const v = {
34676
34676
  usuarioId: Number(yA.value),
34677
34677
  aplicacion: t.aplicacion,
34678
- deviceId: kA(tA.usuario),
34678
+ deviceId: uA(tA.usuario),
34679
34679
  smsVerificacionToken: m.value
34680
34680
  }, NA = t.usaAuthNvEnLogin ? await lp(v) : await Qp(v);
34681
34681
  w.value = !1, R.value = "", lA.success(
@@ -34717,7 +34717,7 @@ function VF(A) {
34717
34717
  showBtnByCode: g,
34718
34718
  refCounter: i,
34719
34719
  currentContacto: I,
34720
- setFieldValue: ZA,
34720
+ setFieldValue: dA,
34721
34721
  limpiarCodigoOtp: FA,
34722
34722
  message2Fa: E,
34723
34723
  steps: RA,
@@ -35321,7 +35321,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35321
35321
  gA.push($), $ += UA(eA);
35322
35322
  B.value = gA, n.value = $, C.value = Math.max(Q.length, 1);
35323
35323
  }
35324
- function ZA(gA) {
35324
+ function dA(gA) {
35325
35325
  const $ = Math.floor(gA / Cr) * Cr;
35326
35326
  for (let eA = $; eA >= 0; eA -= Cr)
35327
35327
  if (JA.has(eA)) return eA;
@@ -35353,11 +35353,11 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35353
35353
  eA.disposalType === 3 && (RA.respaldo = $.getImageData(0, 0, S, w)), yA($, eA), FA(u, gA);
35354
35354
  }
35355
35355
  }
35356
- function kA(gA) {
35356
+ function uA(gA) {
35357
35357
  if (I.value || H.value) return;
35358
35358
  const $ = R;
35359
35359
  Z = gA, y = performance.now(), nA(), W = window.setTimeout(() => {
35360
- I.value || H.value || $ !== R || (u = (u + 1) % Q.length, ot(), U = !0, E.value = u, kA(UA(Q[u])));
35360
+ I.value || H.value || $ !== R || (u = (u + 1) % Q.length, ot(), U = !0, E.value = u, uA(UA(Q[u])));
35361
35361
  }, gA);
35362
35362
  }
35363
35363
  function HA() {
@@ -35369,7 +35369,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35369
35369
  KA(E.value);
35370
35370
  return;
35371
35371
  }
35372
- kA(Z || UA(Q[u]));
35372
+ uA(Z || UA(Q[u]));
35373
35373
  }
35374
35374
  }
35375
35375
  function Yt() {
@@ -35384,7 +35384,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35384
35384
  if (!$ || !eA || Q.length === 0) return !0;
35385
35385
  const j = Math.max(0, Math.min(gA, Q.length - 1));
35386
35386
  if (!U || j < u) {
35387
- const jt = cA ? -1 : ZA(j), at = jt >= 0 ? JA.get(jt) : void 0;
35387
+ const jt = cA ? -1 : dA(j), at = jt >= 0 ? JA.get(jt) : void 0;
35388
35388
  at ? (eA.clearRect(0, 0, S, w), eA.drawImage(at, 0, 0), RA.respaldo = null, u = jt, U = !0) : (u = 0, U = !1, RA.respaldo = null);
35389
35389
  }
35390
35390
  if (U && j === u) return !0;
@@ -35404,7 +35404,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35404
35404
  KA(F);
35405
35405
  return;
35406
35406
  }
35407
- !I.value && !H.value && kA(Z || UA(Q[u]));
35407
+ !I.value && !H.value && uA(Z || UA(Q[u]));
35408
35408
  }));
35409
35409
  }
35410
35410
  function LA() {
@@ -35429,7 +35429,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35429
35429
  }
35430
35430
  EA(), u = 0, await CA();
35431
35431
  const eA = a.value;
35432
- !eA || $ !== R || Q.length === 0 || (eA.width = S, eA.height = w, i.value = !0, await CA(), $ === R && (ot(), U = !0, !I.value && $ === R && kA(UA(Q[u]))));
35432
+ !eA || $ !== R || Q.length === 0 || (eA.width = S, eA.height = w, i.value = !0, await CA(), $ === R && (ot(), U = !0, !I.value && $ === R && uA(UA(Q[u]))));
35433
35433
  }
35434
35434
  wt(
35435
35435
  () => [e.open, s.value],
@@ -35540,7 +35540,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35540
35540
  onChange: ht
35541
35541
  }, null, 40, Wv),
35542
35542
  M("span", Lv, GA(o.value) + " / " + GA(l.value), 1)
35543
- ])) : uA("", !0)
35543
+ ])) : kA("", !0)
35544
35544
  ]),
35545
35545
  _: 1
35546
35546
  })
@@ -35631,11 +35631,11 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35631
35631
  revalidandoTelegram: VA,
35632
35632
  pasarASmsTelegram: wA,
35633
35633
  onConfirmarSmsPrevioTelegram: EA,
35634
- onReenviarSmsPrevioTelegram: ZA,
35634
+ onReenviarSmsPrevioTelegram: dA,
35635
35635
  onReenviarCodigoTelegramVerificacion: FA,
35636
35636
  smsVerificacionTokenTelegram: yA,
35637
35637
  onDesvincularTelegramLogin: ot,
35638
- hayTelegramObservado: kA
35638
+ hayTelegramObservado: uA
35639
35639
  } = VF(g), HA = D(""), QA = D(!1), Yt = D(void 0);
35640
35640
  let vA = !1;
35641
35641
  QA.value = window.innerWidth <= 768;
@@ -35783,8 +35783,8 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35783
35783
  () => gA.value === rA.TELEGRAM && ["sms_previo", "telegram_bot", "telegram_otp"].includes(nA.value)
35784
35784
  ), Ft = T(() => gA.value !== rA.TELEGRAM || u.verificadoTelegram ? !1 : nA.value === "telegram_bot"), he = T(() => {
35785
35785
  var tt, SA;
35786
- return nA.value !== "telegram_otp" && nA.value !== "telegram_bot" || gA.value !== rA.TELEGRAM || u.verificadoTelegram ? !1 : kA.value || !!((SA = (tt = e.userState) == null ? void 0 : tt.user) != null && SA.telegramObservado);
35787
- }), ye = T(() => gA.value === rA.TELEGRAM && nA.value === "sms_previo" ? EA : gA.value === rA.TELEGRAM && !!u.verificadoTelegram ? c : RA.value ? JA : c), $e = T(() => gA.value === rA.TELEGRAM && nA.value === "sms_previo" ? ZA : gA.value === rA.TELEGRAM && (nA.value === "telegram_otp" || nA.value === "telegram_bot") ? FA : tA.value ? Y : void 0), us = T(() => {
35786
+ return nA.value !== "telegram_otp" && nA.value !== "telegram_bot" || gA.value !== rA.TELEGRAM || u.verificadoTelegram ? !1 : uA.value || !!((SA = (tt = e.userState) == null ? void 0 : tt.user) != null && SA.telegramObservado);
35787
+ }), ye = T(() => gA.value === rA.TELEGRAM && nA.value === "sms_previo" ? EA : gA.value === rA.TELEGRAM && !!u.verificadoTelegram ? c : RA.value ? JA : c), $e = T(() => gA.value === rA.TELEGRAM && nA.value === "sms_previo" ? dA : gA.value === rA.TELEGRAM && (nA.value === "telegram_otp" || nA.value === "telegram_bot") ? FA : tA.value ? Y : void 0), us = T(() => {
35788
35788
  if (gA.value === rA.TELEGRAM && !u.verificadoTelegram) {
35789
35789
  if (nA.value === "sms_previo")
35790
35790
  return "Paso 1 de 2: Verificación de línea móvil (SMS)";
@@ -35798,7 +35798,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35798
35798
  return (tt, SA) => (J(), L(Tt, null, [
35799
35799
  !s.value || r(C) > 0 ? (J(), L("div", Uv, [
35800
35800
  d(RD)
35801
- ])) : uA("", !0),
35801
+ ])) : kA("", !0),
35802
35802
  d(UM),
35803
35803
  M("div", Fv, [
35804
35804
  d(bB, {
@@ -35810,7 +35810,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35810
35810
  s.value && !QA.value ? (J(), L("h4", vv, [...SA[14] || (SA[14] = [
35811
35811
  M("i", { class: "pi pi-qrcode" }, null, -1),
35812
35812
  Ct(" Inicia sesión con código QR ", -1)
35813
- ])])) : uA("", !0),
35813
+ ])])) : kA("", !0),
35814
35814
  M("div", Kv, [
35815
35815
  M("div", Ov, [
35816
35816
  s.value && !QA.value ? (J(), L("img", {
@@ -35818,7 +35818,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35818
35818
  src: HA.value,
35819
35819
  alt: "Qr",
35820
35820
  class: ""
35821
- }, null, 8, Pv)) : uA("", !0),
35821
+ }, null, 8, Pv)) : kA("", !0),
35822
35822
  M("div", Vv, [
35823
35823
  LA.value ? (J(), L("div", {
35824
35824
  key: 0,
@@ -35843,7 +35843,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35843
35843
  M("br"),
35844
35844
  Ct("QR")
35845
35845
  ], -1)
35846
- ])])) : uA("", !0)
35846
+ ])])) : kA("", !0)
35847
35847
  ])
35848
35848
  ])
35849
35849
  ]),
@@ -35899,10 +35899,10 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35899
35899
  ])
35900
35900
  ])
35901
35901
  ], -1)
35902
- ])])) : uA("", !0),
35902
+ ])])) : kA("", !0),
35903
35903
  s.value ? (J(), L("div", Xv, [...SA[17] || (SA[17] = [
35904
35904
  M("span", { class: "fge-text-gray fge-lines" }, "O puede ingresar con", -1)
35905
- ])])) : uA("", !0),
35905
+ ])])) : kA("", !0),
35906
35906
  M("div", Hv, [
35907
35907
  M("div", _v, [
35908
35908
  SA[18] || (SA[18] = M("label", {
@@ -35965,7 +35965,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
35965
35965
  (...gt) => r(e).goRegistrarPage && r(e).goRegistrarPage(...gt))
35966
35966
  }, [...SA[22] || (SA[22] = [
35967
35967
  M("span", null, "Registrarse", -1)
35968
- ])])) : uA("", !0)
35968
+ ])])) : kA("", !0)
35969
35969
  ]),
35970
35970
  SA[24] || (SA[24] = M("div", { class: "msg-container" }, [
35971
35971
  M("span", { class: "fge-text-gray fge-lines" }, "O puede ingresar con")
@@ -36080,7 +36080,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
36080
36080
  ]),
36081
36081
  _: 1
36082
36082
  })
36083
- ])) : uA("", !0)
36083
+ ])) : kA("", !0)
36084
36084
  ]),
36085
36085
  inputs: N(() => [
36086
36086
  r(VA) ? (J(), L("button", {
@@ -36089,14 +36089,14 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
36089
36089
  class: "fge-link-primary-button",
36090
36090
  onClick: SA[6] || (SA[6] = //@ts-ignore
36091
36091
  (...gt) => r(wA) && r(wA)(...gt))
36092
- }, " No recibí el código. Verificar con SMS ")) : uA("", !0),
36092
+ }, " No recibí el código. Verificar con SMS ")) : kA("", !0),
36093
36093
  he.value ? (J(), L("button", {
36094
36094
  key: 1,
36095
36095
  type: "button",
36096
36096
  class: "fge-green-button w-full mt-2",
36097
36097
  onClick: SA[7] || (SA[7] = //@ts-ignore
36098
36098
  (...gt) => r(ot) && r(ot)(...gt))
36099
- }, " No recibí el código en Telegram — desvincular y volver a vincular ")) : uA("", !0),
36099
+ }, " No recibí el código en Telegram — desvincular y volver a vincular ")) : kA("", !0),
36100
36100
  r(H) ? (J(), L("div", IK, [...SA[29] || (SA[29] = [
36101
36101
  M("div", { class: "push-roma-banner-icon" }, [
36102
36102
  M("i", { class: "pi pi-mobile" })
@@ -36109,7 +36109,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
36109
36109
  Ct(" Revisa la notificación en tu teléfono ")
36110
36110
  ])
36111
36111
  ], -1)
36112
- ])])) : uA("", !0),
36112
+ ])])) : kA("", !0),
36113
36113
  M("div", EK, [
36114
36114
  M("div", CK, [
36115
36115
  r(y) && !mt.value ? (J(), L("div", nK, [
@@ -36207,7 +36207,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
36207
36207
  })
36208
36208
  ]),
36209
36209
  _: 1
36210
- })) : uA("", !0)
36210
+ })) : kA("", !0)
36211
36211
  ]))), 128))
36212
36212
  ]),
36213
36213
  _: 1
@@ -36216,7 +36216,7 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
36216
36216
  _: 1
36217
36217
  })
36218
36218
  ]),
36219
- eA.value > 0 ? (J(), L("p", MK, " Reenviar en " + GA(eA.value) + " segundos ", 1)) : uA("", !0)
36219
+ eA.value > 0 ? (J(), L("p", MK, " Reenviar en " + GA(eA.value) + " segundos ", 1)) : kA("", !0)
36220
36220
  ])) : (J(), L("div", rK, [
36221
36221
  M("button", {
36222
36222
  class: "fge-link-primary-button",
@@ -36228,10 +36228,10 @@ const pv = { class: "telegram-ayuda__cabecera" }, Nv = { class: "telegram-ayuda_
36228
36228
  M("span", null, "Seleccionar otros medios de verificación", -1)
36229
36229
  ])])
36230
36230
  ]))
36231
- ])) : uA("", !0)
36231
+ ])) : kA("", !0)
36232
36232
  ])
36233
36233
  ]),
36234
- xA.value ? uA("", !0) : (J(), L("div", YK, [
36234
+ xA.value ? kA("", !0) : (J(), L("div", YK, [
36235
36235
  M("div", GK, [
36236
36236
  M("label", cK, [
36237
36237
  d(r(m4), {
@@ -36368,7 +36368,7 @@ function JK() {
36368
36368
  keepValuesOnUnmount: !0
36369
36369
  }), EA = () => {
36370
36370
  VA("code", { value: "", touched: !1, errors: [] });
36371
- }, ZA = () => {
36371
+ }, dA = () => {
36372
36372
  E.value = E.value - 1, h.value = !1, w.value = "normal", u.value = null, m.value = null, R.value = "", nA();
36373
36373
  }, FA = {
36374
36374
  [rA.WHATSAPP]: "verificadoWhatsapp",
@@ -36388,7 +36388,7 @@ function JK() {
36388
36388
  [rA.EMAIL]: 3,
36389
36389
  [rA.WHATSAPP]: 4,
36390
36390
  [rA.SMS]: 5
36391
- })[hA] ?? hA, kA = (hA, _A) => {
36391
+ })[hA] ?? hA, uA = (hA, _A) => {
36392
36392
  const XA = FA[hA];
36393
36393
  XA && (o[XA] = _A);
36394
36394
  }, HA = () => {
@@ -36404,7 +36404,7 @@ function JK() {
36404
36404
  const pA = Number(PA == null ? void 0 : PA.medio);
36405
36405
  if (Number.isNaN(pA)) return;
36406
36406
  const pt = _A ? yA(pA) : pA;
36407
- kA(pt, !0);
36407
+ uA(pt, !0);
36408
36408
  });
36409
36409
  }, Yt = () => {
36410
36410
  lA.error(
@@ -36595,7 +36595,7 @@ function JK() {
36595
36595
  $A = (OA == null ? void 0 : OA.response) ?? OA, C.value = ((Gt = $A == null ? void 0 : $A.data) == null ? void 0 : Gt.usuarioId) ?? ((PA = OA == null ? void 0 : OA.data) == null ? void 0 : PA.usuarioId) ?? Y.value;
36596
36596
  }
36597
36597
  if (pA === rA.TELEGRAM) {
36598
- kA(rA.TELEGRAM, !0), o.verificadoTelegram = !0, w.value = "normal", u.value = null, m.value = null, R.value = "", f.value = "", F.value = "", k.value = !1, c.value = !1, l.value = !0, h.value = !0, wA("code", ""), lA.success(
36598
+ uA(rA.TELEGRAM, !0), o.verificadoTelegram = !0, w.value = "normal", u.value = null, m.value = null, R.value = "", f.value = "", F.value = "", k.value = !1, c.value = !1, l.value = !0, h.value = !0, wA("code", ""), lA.success(
36599
36599
  `<p class="toast-title">Telegram verificado</p><p class="toast-description">${($A == null ? void 0 : $A.message) || "Cuenta de Telegram vinculada exitosamente. Se envió el código para restablecer su contraseña."}</p>`,
36600
36600
  {
36601
36601
  autoClose: 5e3,
@@ -36697,7 +36697,7 @@ function JK() {
36697
36697
  ...P ? { smsVerificacionToken: P } : {}
36698
36698
  }, BA = p ? await JC(V) : await OG(V);
36699
36699
  if (((OA = ($A = BA == null ? void 0 : BA.response) == null ? void 0 : $A.data) == null ? void 0 : OA.medioActualizado) === !0) {
36700
- kA(rA.TELEGRAM, !0), o.verificadoTelegram = !0, w.value = "normal", u.value = null, m.value = null, R.value = "", k.value = !1, c.value = !1, l.value = !0, h.value = !0;
36700
+ uA(rA.TELEGRAM, !0), o.verificadoTelegram = !0, w.value = "normal", u.value = null, m.value = null, R.value = "", k.value = !1, c.value = !1, l.value = !0, h.value = !0;
36701
36701
  let aA = null;
36702
36702
  try {
36703
36703
  aA = p ? await Qa({
@@ -36850,7 +36850,7 @@ function JK() {
36850
36850
  steps: RA,
36851
36851
  mensaje2F: n,
36852
36852
  errors: UA,
36853
- onBackStep: ZA,
36853
+ onBackStep: dA,
36854
36854
  onEnviarCodigoAlBackend: q,
36855
36855
  onEnviarCodigoAlUsuario: ht,
36856
36856
  onEnviarMensaje: LA,
@@ -37063,7 +37063,7 @@ const bK = { class: "auth-title-container" }, DK = { class: "dialog-body" }, dK
37063
37063
  contexto: String(h.value ?? ""),
37064
37064
  url: String(Y.value ?? "")
37065
37065
  });
37066
- }, ZA = T(() => !(nA.value !== rA.TELEGRAM || l.verificadoTelegram || y.value === "sms_previo")), FA = T(() => nA.value === rA.TELEGRAM && y.value === "sms_previo" ? U : Q.value ? m : n), yA = T(() => nA.value === rA.TELEGRAM && y.value === "sms_previo" ? F : R.value ? C : void 0), ot = T(() => {
37066
+ }, dA = T(() => !(nA.value !== rA.TELEGRAM || l.verificadoTelegram || y.value === "sms_previo")), FA = T(() => nA.value === rA.TELEGRAM && y.value === "sms_previo" ? U : Q.value ? m : n), yA = T(() => nA.value === rA.TELEGRAM && y.value === "sms_previo" ? F : R.value ? C : void 0), ot = T(() => {
37067
37067
  if (nA.value === rA.TELEGRAM && !l.verificadoTelegram) {
37068
37068
  if (y.value === "sms_previo")
37069
37069
  return "Paso 1 de 2: Verificación de línea móvil (SMS)";
@@ -37071,7 +37071,7 @@ const bK = { class: "auth-title-container" }, DK = { class: "dialog-body" }, dK
37071
37071
  return "Paso 2 de 2: Confirmación vía Telegram";
37072
37072
  }
37073
37073
  return "";
37074
- }), kA = () => {
37074
+ }), uA = () => {
37075
37075
  k.value = !0;
37076
37076
  }, HA = async (vA) => {
37077
37077
  const KA = JA(vA);
@@ -37184,7 +37184,7 @@ const bK = { class: "auth-title-container" }, DK = { class: "dialog-body" }, dK
37184
37184
  M("span", null, GA(LA.label), 1)
37185
37185
  ], 8, OK))), 128))
37186
37186
  ]),
37187
- UA.value.length === 0 ? (J(), L("p", PK, " No hay otros medios verificados disponibles. ")) : uA("", !0),
37187
+ UA.value.length === 0 ? (J(), L("p", PK, " No hay otros medios verificados disponibles. ")) : kA("", !0),
37188
37188
  M("div", VK, [
37189
37189
  M("button", {
37190
37190
  type: "button",
@@ -37213,9 +37213,9 @@ const bK = { class: "auth-title-container" }, DK = { class: "dialog-body" }, dK
37213
37213
  "reenviar-mensaje": yA.value,
37214
37214
  mostrarReenviar: r(y) === "sms_previo" || r(R) && r(y) !== "telegram_bot",
37215
37215
  mostrarContadorExpiracion: r(y) === "telegram_bot" || r(RA) > 0,
37216
- isTelegram: ZA.value,
37216
+ isTelegram: dA.value,
37217
37217
  indicadorPaso: ot.value,
37218
- onFinishCount: kA
37218
+ onFinishCount: uA
37219
37219
  }, {
37220
37220
  inputs: N(() => [
37221
37221
  M("div", fK, [
@@ -37230,7 +37230,7 @@ const bK = { class: "auth-title-container" }, DK = { class: "dialog-body" }, dK
37230
37230
  M("span", null, "Seleccionar otros medios de verificación", -1)
37231
37231
  ])])
37232
37232
  ])
37233
- ])) : uA("", !0)
37233
+ ])) : kA("", !0)
37234
37234
  ])
37235
37235
  ])
37236
37236
  ]),
@@ -37362,16 +37362,16 @@ const oO = { class: "fge-login-container fge-auth-container" }, lO = { class: "l
37362
37362
  d(r(CO))
37363
37363
  ]),
37364
37364
  M("div", QO, [
37365
- r(s).isLoading ? (J(), sA(WB, { key: 0 })) : uA("", !0),
37365
+ r(s).isLoading ? (J(), sA(WB, { key: 0 })) : kA("", !0),
37366
37366
  M("div", MO, [
37367
37367
  M("div", YO, [
37368
- r(e).currentPage === "registrar" ? (J(), sA(K6, { key: 0 })) : uA("", !0),
37369
- r(e).currentPage === "recuperar-password" ? (J(), sA(AO, { key: 1 })) : uA("", !0),
37368
+ r(e).currentPage === "registrar" ? (J(), sA(K6, { key: 0 })) : kA("", !0),
37369
+ r(e).currentPage === "recuperar-password" ? (J(), sA(AO, { key: 1 })) : kA("", !0),
37370
37370
  r(e).currentPage === "login" ? (J(), sA(uK, {
37371
37371
  key: 2,
37372
37372
  onOnLogin: a,
37373
37373
  onOnError: I[0] || (I[0] = (E) => g("onLoginError"))
37374
- })) : uA("", !0)
37374
+ })) : kA("", !0)
37375
37375
  ])
37376
37376
  ]),
37377
37377
  M("div", GO, [
@@ -37468,7 +37468,7 @@ const uO = {
37468
37468
  ]),
37469
37469
  g.$slots.floatButton ? (J(), L("div", dO, [
37470
37470
  bA(g.$slots, "floatButton")
37471
- ])) : uA("", !0)
37471
+ ])) : kA("", !0)
37472
37472
  ])
37473
37473
  ]),
37474
37474
  M("div", null, [
@@ -37492,7 +37492,7 @@ const uO = {
37492
37492
  Ct(" Cambiar contraseña ")
37493
37493
  ], -1)
37494
37494
  ])])
37495
- ])) : uA("", !0)
37495
+ ])) : kA("", !0)
37496
37496
  ])
37497
37497
  ]);
37498
37498
  };
@@ -37536,12 +37536,12 @@ function tG() {
37536
37536
  message2Fa: W,
37537
37537
  message2FaContexto: Z,
37538
37538
  url2FaContexto: y
37539
- } = eB("profile"), f = D(), F = D(!1), U = D(!1), cA = D(!1), RA = D(!1), JA = D(!1), H = D(null), jA = D(null), UA = D(null), tA = D("normal"), nA = D(null), VA = D(null), wA = D(""), EA = D(!1), ZA = () => {
37539
+ } = eB("profile"), f = D(), F = D(!1), U = D(!1), cA = D(!1), RA = D(!1), JA = D(!1), H = D(null), jA = D(null), UA = D(null), tA = D("normal"), nA = D(null), VA = D(null), wA = D(""), EA = D(!1), dA = () => {
37540
37540
  var p;
37541
37541
  return `fge-profile-telegram-sms-${String(((p = s.userState.user) == null ? void 0 : p.id) ?? "current")}`;
37542
37542
  }, FA = (p, K = {}) => {
37543
37543
  typeof window > "u" || !nA.value || window.localStorage.setItem(
37544
- ZA(),
37544
+ dA(),
37545
37545
  JSON.stringify({
37546
37546
  desafioId: nA.value,
37547
37547
  destino: K.destino || null,
@@ -37552,12 +37552,12 @@ function tG() {
37552
37552
  })
37553
37553
  );
37554
37554
  }, yA = () => {
37555
- typeof window < "u" && window.localStorage.removeItem(ZA());
37555
+ typeof window < "u" && window.localStorage.removeItem(dA());
37556
37556
  }, ot = () => {
37557
37557
  var p, K;
37558
37558
  if (!(typeof window > "u"))
37559
37559
  try {
37560
- const b = JSON.parse(window.localStorage.getItem(ZA()) || "null"), P = b != null && b.expiresAt ? Math.ceil((b.expiresAt - Date.now()) / 1e3) : 0;
37560
+ const b = JSON.parse(window.localStorage.getItem(dA()) || "null"), P = b != null && b.expiresAt ? Math.ceil((b.expiresAt - Date.now()) / 1e3) : 0;
37561
37561
  if (!(b != null && b.desafioId) || P <= 0) {
37562
37562
  yA();
37563
37563
  return;
@@ -37569,7 +37569,7 @@ function tG() {
37569
37569
  } catch {
37570
37570
  yA();
37571
37571
  }
37572
- }, kA = D([
37572
+ }, uA = D([
37573
37573
  {
37574
37574
  name: "step1"
37575
37575
  },
@@ -37945,7 +37945,7 @@ function tG() {
37945
37945
  var p, K, b, P, X, V, BA, aA, fA;
37946
37946
  if (!cA.value) {
37947
37947
  if (typeof window < "u") {
37948
- const DA = JSON.parse(window.localStorage.getItem(ZA()) || "null"), oA = DA != null && DA.expiresAt ? Math.ceil((DA.expiresAt - Date.now()) / 1e3) : 0;
37948
+ const DA = JSON.parse(window.localStorage.getItem(dA()) || "null"), oA = DA != null && DA.expiresAt ? Math.ceil((DA.expiresAt - Date.now()) / 1e3) : 0;
37949
37949
  if (oA > 0)
37950
37950
  return m == null || m("telegram", oA), CA(() => {
37951
37951
  var it;
@@ -38057,7 +38057,7 @@ function tG() {
38057
38057
  }
38058
38058
  }
38059
38059
  }, Ft = async ({ medio: p, contacto: K }) => {
38060
- var aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, dA, _t, Dt, dt, lt, zt, As, Oe;
38060
+ var aA, fA, DA, oA, it, st, Jt, Pt, Ht, Kt, Ut, YA, ZA, _t, Dt, dt, lt, zt, As, Oe;
38061
38061
  const b = p === "email";
38062
38062
  if (b) {
38063
38063
  const { valid: iA } = await z("email");
@@ -38070,7 +38070,7 @@ function tG() {
38070
38070
  if (!iA) return;
38071
38071
  }
38072
38072
  if (P && (tA.value === "sms_previo" || tA.value === "telegram_bot" || tA.value === "telegram_otp") && (nA.value || VA.value) && nA.value && typeof window < "u") {
38073
- const iA = JSON.parse(window.localStorage.getItem(ZA()) || "null");
38073
+ const iA = JSON.parse(window.localStorage.getItem(dA()) || "null");
38074
38074
  (!(iA != null && iA.expiresAt) || iA.expiresAt <= Date.now()) && (nA.value = null, tA.value = "normal", yA());
38075
38075
  }
38076
38076
  if (P && (tA.value === "sms_previo" || tA.value === "telegram_bot" || tA.value === "telegram_otp") && (nA.value || VA.value)) {
@@ -38126,7 +38126,7 @@ function tG() {
38126
38126
  whatsapp: p === "whatsapp" ? 1 : (Kt = s.userState.user) == null ? void 0 : Kt.whatsapp,
38127
38127
  telegram: p === "telegram" ? 1 : (Ut = s.userState.user) == null ? void 0 : Ut.telegram,
38128
38128
  sms: p === "sms" ? 1 : (YA = s.userState.user) == null ? void 0 : YA.sms,
38129
- emailValidado: p === "email" ? 1 : (dA = s.userState.user) == null ? void 0 : dA.emailValidado,
38129
+ emailValidado: p === "email" ? 1 : (ZA = s.userState.user) == null ? void 0 : ZA.emailValidado,
38130
38130
  notificacionDefault: Vt
38131
38131
  }), et("medio", Vt), lA.success(
38132
38132
  `<p class="toast-title">Operación exitosa</p><p class="toast-description">${iA.message || "Medio verificado exitosamente"}</p>`,
@@ -38367,7 +38367,7 @@ function tG() {
38367
38367
  mediosVerificados: QA,
38368
38368
  currentContacto: G,
38369
38369
  currentStep: ks,
38370
- steps: kA,
38370
+ steps: uA,
38371
38371
  errors: LA,
38372
38372
  refCounter: l,
38373
38373
  isLoading: F,
@@ -38552,7 +38552,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
38552
38552
  key: 0,
38553
38553
  class: "fge-gray-button w-full mt-3",
38554
38554
  onClick: n[1] || (n[1] = (B) => r(g)())
38555
- }, " ir al perfil ")) : uA("", !0)
38555
+ }, " ir al perfil ")) : kA("", !0)
38556
38556
  ], 64));
38557
38557
  }
38558
38558
  }), UO = /* @__PURE__ */ Ne(TO, [["__scopeId", "data-v-f658d6bd"]]), FO = { class: "auth-radiogroup" }, vO = ["for"], KO = { class: "auth-btn-container margin-top" }, OO = {
@@ -38751,11 +38751,11 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
38751
38751
  tiempoRestanteSms: VA,
38752
38752
  isLoadingTelegram: wA,
38753
38753
  isLoadingEmail: EA,
38754
- isLoadingSms: ZA,
38754
+ isLoadingSms: dA,
38755
38755
  message2Fa: FA,
38756
38756
  message2FaContexto: yA,
38757
38757
  url2FaContexto: ot,
38758
- currentMedio: kA,
38758
+ currentMedio: uA,
38759
38759
  subPasoTelegram: HA,
38760
38760
  isTelegramParaEnviarCodigo: QA,
38761
38761
  mostrarDesvincularTelegramEnVerificacion: Yt,
@@ -38785,7 +38785,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
38785
38785
  } : z.value === "sms" ? {
38786
38786
  title: "Este celular aún no está verificado",
38787
38787
  desc: "Confirma el número antes de habilitar el envío de notificaciones.",
38788
- loading: ZA.value,
38788
+ loading: dA.value,
38789
38789
  counter: VA.value,
38790
38790
  btnText: "Verificar celular",
38791
38791
  action: () => cA({ medio: "sms", contacto: I.celular })
@@ -38800,7 +38800,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
38800
38800
  });
38801
38801
  return t({ cambiarPass: RA, goToActiveMediosStep: JA }), (eA, j) => (J(), L(Tt, null, [
38802
38802
  M("div", PO, [
38803
- r(c) ? (J(), sA(WB, { key: 0 })) : uA("", !0),
38803
+ r(c) ? (J(), sA(WB, { key: 0 })) : kA("", !0),
38804
38804
  M("div", VO, [
38805
38805
  d(RO, {
38806
38806
  "cambiar-password": r(B) === 0 ? r(RA) : void 0,
@@ -38851,13 +38851,13 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
38851
38851
  M("button", {
38852
38852
  type: "button",
38853
38853
  class: "fge-btn-verify-mini",
38854
- disabled: r(ZA) || r(VA) > 0,
38854
+ disabled: r(dA) || r(VA) > 0,
38855
38855
  onClick: j[0] || (j[0] = (zA) => r(cA)({ medio: "sms", contacto: r(I).celular }))
38856
38856
  }, [
38857
- r(ZA) ? (J(), L("i", sP)) : uA("", !0),
38857
+ r(dA) ? (J(), L("i", sP)) : kA("", !0),
38858
38858
  r(VA) > 0 ? (J(), L("span", gP, GA(r(VA)) + " seg.", 1)) : (J(), L("span", aP, "Verificar"))
38859
38859
  ], 8, eP)
38860
- ])) : uA("", !0),
38860
+ ])) : kA("", !0),
38861
38861
  d(me, {
38862
38862
  error: r(l).celular
38863
38863
  }, null, 8, ["error"])
@@ -38897,10 +38897,10 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
38897
38897
  disabled: r(EA) || r(nA) > 0,
38898
38898
  onClick: j[1] || (j[1] = (zA) => r(cA)({ medio: "email", contacto: r(I).email }))
38899
38899
  }, [
38900
- r(EA) ? (J(), L("i", oP)) : uA("", !0),
38900
+ r(EA) ? (J(), L("i", oP)) : kA("", !0),
38901
38901
  r(nA) > 0 ? (J(), L("span", lP, GA(r(nA)) + " seg.", 1)) : (J(), L("span", QP, "Verificar"))
38902
38902
  ], 8, BP)
38903
- ])) : uA("", !0),
38903
+ ])) : kA("", !0),
38904
38904
  d(me, {
38905
38905
  error: r(l).email
38906
38906
  }, null, 8, ["error"])
@@ -38948,7 +38948,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
38948
38948
  M("span", SP, GA(r(C).verificadoTelegram ? "Cuenta vinculada" : "Pendiente de verificación"), 1)
38949
38949
  ]),
38950
38950
  M("div", uP, [
38951
- r(C).verificadoTelegram ? uA("", !0) : (J(), sA(r($I), {
38951
+ r(C).verificadoTelegram ? kA("", !0) : (J(), sA(r($I), {
38952
38952
  key: 0,
38953
38953
  "delay-duration": 300
38954
38954
  }, {
@@ -39012,7 +39012,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39012
39012
  class: "pi pi-trash",
39013
39013
  "aria-hidden": "true"
39014
39014
  }, null, -1)
39015
- ])])) : uA("", !0),
39015
+ ])])) : kA("", !0),
39016
39016
  r(I).medio === "telegram" && r(C).verificadoTelegram ? (J(), L("i", kP)) : (J(), L("span", wP))
39017
39017
  ])
39018
39018
  ], 2),
@@ -39029,10 +39029,10 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39029
39029
  onClick: j[5] || (j[5] = //@ts-ignore
39030
39030
  (...zA) => $.value.action && $.value.action(...zA))
39031
39031
  }, [
39032
- $.value.loading ? (J(), L("i", DP)) : uA("", !0),
39032
+ $.value.loading ? (J(), L("i", DP)) : kA("", !0),
39033
39033
  M("span", null, GA($.value.btnText), 1)
39034
39034
  ], 8, bP)
39035
- ])) : uA("", !0),
39035
+ ])) : kA("", !0),
39036
39036
  M("div", {
39037
39037
  class: Zt(["fge-notify-item", {
39038
39038
  "fge-notify-item--active": r(I).medio === "sms",
@@ -39070,10 +39070,10 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39070
39070
  onClick: j[7] || (j[7] = //@ts-ignore
39071
39071
  (...zA) => $.value.action && $.value.action(...zA))
39072
39072
  }, [
39073
- $.value.loading ? (J(), L("i", LP)) : uA("", !0),
39073
+ $.value.loading ? (J(), L("i", LP)) : kA("", !0),
39074
39074
  M("span", null, GA($.value.btnText), 1)
39075
39075
  ], 8, WP)
39076
- ])) : uA("", !0),
39076
+ ])) : kA("", !0),
39077
39077
  M("div", {
39078
39078
  class: Zt(["fge-notify-item", {
39079
39079
  "fge-notify-item--active": r(I).medio === "email",
@@ -39108,10 +39108,10 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39108
39108
  onClick: j[9] || (j[9] = //@ts-ignore
39109
39109
  (...zA) => $.value.action && $.value.action(...zA))
39110
39110
  }, [
39111
- $.value.loading ? (J(), L("i", XP)) : uA("", !0),
39111
+ $.value.loading ? (J(), L("i", XP)) : kA("", !0),
39112
39112
  M("span", null, GA($.value.btnText), 1)
39113
39113
  ], 8, qP)
39114
- ])) : uA("", !0)
39114
+ ])) : kA("", !0)
39115
39115
  ])
39116
39116
  ], 64)) : (J(), L("div", HP, [...j[48] || (j[48] = [
39117
39117
  M("span", {
@@ -39159,7 +39159,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39159
39159
  url2FaContexto: r(ot),
39160
39160
  isTelegram: r(QA),
39161
39161
  indicadorPaso: r(vA),
39162
- mostrarReenviar: r(HA) === "sms_previo" || r(HA) === "telegram_otp" || r(kA) !== "telegram",
39162
+ mostrarReenviar: r(HA) === "sms_previo" || r(HA) === "telegram_otp" || r(uA) !== "telegram",
39163
39163
  mostrarContadorExpiracion: r(HA) === "telegram_bot",
39164
39164
  onFinishCount: r(ht)
39165
39165
  }, {
@@ -39170,7 +39170,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39170
39170
  class: "fge-green-button observed-telegram-relink-button w-full mt-2",
39171
39171
  onClick: j[12] || (j[12] = //@ts-ignore
39172
39172
  (...AA) => r(F) && r(F)(...AA))
39173
- }, " No recibo mensajes en Telegram — desvincular y volver a vincular ")) : uA("", !0)
39173
+ }, " No recibo mensajes en Telegram — desvincular y volver a vincular ")) : kA("", !0)
39174
39174
  ]),
39175
39175
  _: 1
39176
39176
  }, 8, ["refCounter", "error", "currentContacto", "cancelarFunction", "aceptarFunction", "reenviar-mensaje", "message2Fa", "message2FaContexto", "url2FaContexto", "isTelegram", "indicadorPaso", "mostrarReenviar", "mostrarContadorExpiracion", "onFinishCount"])
@@ -39237,7 +39237,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39237
39237
  ])
39238
39238
  ]),
39239
39239
  M("div", aV, [
39240
- r(i) === "forzar" && r(g) ? uA("", !0) : (J(), L("button", {
39240
+ r(i) === "forzar" && r(g) ? kA("", !0) : (J(), L("button", {
39241
39241
  key: 0,
39242
39242
  title: "Cancelar",
39243
39243
  onClick: j[14] || (j[14] = //@ts-ignore
@@ -39322,7 +39322,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39322
39322
  d(me, {
39323
39323
  error: r(l).celular
39324
39324
  }, null, 8, ["error"]),
39325
- r(C).verificadoTelegram ? uA("", !0) : (J(), L("button", {
39325
+ r(C).verificadoTelegram ? kA("", !0) : (J(), L("button", {
39326
39326
  key: 0,
39327
39327
  class: "fge-auth-primary-button w-full mt-3",
39328
39328
  onClick: j[17] || (j[17] = (zA) => r(cA)({ medio: "telegram", contacto: r(I).celular }))
@@ -39337,14 +39337,14 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39337
39337
  }, [...j[57] || (j[57] = [
39338
39338
  M("i", { class: "pi pi-trash" }, null, -1),
39339
39339
  M("span", null, "Desvincular Telegram", -1)
39340
- ])])) : uA("", !0),
39341
- r(C).verificadoSms ? uA("", !0) : (J(), L("button", {
39340
+ ])])) : kA("", !0),
39341
+ r(C).verificadoSms ? kA("", !0) : (J(), L("button", {
39342
39342
  key: 2,
39343
39343
  class: "fge-auth-primary-button w-full mt-3",
39344
39344
  onClick: j[19] || (j[19] = (zA) => r(cA)({ medio: "sms", contacto: r(I).celular }))
39345
39345
  }, [
39346
39346
  j[58] || (j[58] = Ct(" validar SMS ", -1)),
39347
- r(VA) > 0 ? (J(), L("span", CV, " (" + GA(r(VA)) + " seg.) ", 1)) : uA("", !0)
39347
+ r(VA) > 0 ? (J(), L("span", CV, " (" + GA(r(VA)) + " seg.) ", 1)) : kA("", !0)
39348
39348
  ]))
39349
39349
  ]),
39350
39350
  M("div", nV, [
@@ -39408,13 +39408,13 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39408
39408
  d(me, {
39409
39409
  error: r(l).email
39410
39410
  }, null, 8, ["error"]),
39411
- r(C).verificadoEmail ? uA("", !0) : (J(), L("button", {
39411
+ r(C).verificadoEmail ? kA("", !0) : (J(), L("button", {
39412
39412
  key: 0,
39413
39413
  class: "fge-auth-primary-button w-full mt-3",
39414
39414
  onClick: j[21] || (j[21] = (zA) => r(cA)({ medio: "email", contacto: r(I).email }))
39415
39415
  }, [
39416
39416
  j[60] || (j[60] = Ct(" validar correo electrónico ", -1)),
39417
- r(nA) > 0 ? (J(), L("span", BV, " (" + GA(r(nA)) + " seg.) ", 1)) : uA("", !0)
39417
+ r(nA) > 0 ? (J(), L("span", BV, " (" + GA(r(nA)) + " seg.) ", 1)) : kA("", !0)
39418
39418
  ]))
39419
39419
  ]),
39420
39420
  j[62] || (j[62] = M("br", null, null, -1)),
@@ -39442,7 +39442,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39442
39442
  autocomplete: "current-password",
39443
39443
  onKeyup: Gg(r(f), ["enter"])
39444
39444
  }, null, 8, ["modelValue", "onKeyup"]),
39445
- r(Y) ? (J(), L("span", QV, GA(r(Y)), 1)) : uA("", !0)
39445
+ r(Y) ? (J(), L("span", QV, GA(r(Y)), 1)) : kA("", !0)
39446
39446
  ])
39447
39447
  ]),
39448
39448
  M("div", MV, [
@@ -39478,7 +39478,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39478
39478
  autocomplete: "current-password",
39479
39479
  onKeyup: Gg(r(R), ["enter"])
39480
39480
  }, null, 8, ["modelValue", "onKeyup"]),
39481
- r(S) ? (J(), L("span", cV, GA(r(S)), 1)) : uA("", !0)
39481
+ r(S) ? (J(), L("span", cV, GA(r(S)), 1)) : kA("", !0)
39482
39482
  ])
39483
39483
  ]),
39484
39484
  M("div", SV, [
@@ -39495,7 +39495,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39495
39495
  onClick: j[27] || (j[27] = //@ts-ignore
39496
39496
  (...AA) => r(R) && r(R)(...AA))
39497
39497
  }, [
39498
- r(w) ? (J(), L("i", kV)) : uA("", !0),
39498
+ r(w) ? (J(), L("i", kV)) : kA("", !0),
39499
39499
  j[66] || (j[66] = Ct(" Aceptar ", -1))
39500
39500
  ], 8, uV)
39501
39501
  ])
@@ -39550,7 +39550,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39550
39550
  key: 0,
39551
39551
  class: "auth-sidebar-backdrop",
39552
39552
  onClick: g
39553
- })) : uA("", !0),
39553
+ })) : kA("", !0),
39554
39554
  d(B0, {
39555
39555
  name: "slide",
39556
39556
  mode: "out-in"
@@ -39562,7 +39562,7 @@ const xO = { class: "auth-title-container" }, jO = { class: "dialog-body" }, zO
39562
39562
  style: _g(e.noPadding ? { padding: "0" } : void 0)
39563
39563
  }, [
39564
39564
  bA(a.$slots, "default")
39565
- ], 4)) : uA("", !0)
39565
+ ], 4)) : kA("", !0)
39566
39566
  ]),
39567
39567
  _: 3
39568
39568
  })
@@ -39675,7 +39675,7 @@ const pV = {
39675
39675
  }, GA(A.confirmLabel), 1)
39676
39676
  ])
39677
39677
  ])
39678
- ])) : uA("", !0);
39678
+ ])) : kA("", !0);
39679
39679
  }
39680
39680
  }), vD = /* @__PURE__ */ Ne(jV, [["__scopeId", "data-v-1f89df6f"]]), zV = { class: "sidebar-header" }, WV = { class: "header-buttons" }, LV = {
39681
39681
  key: 1,
@@ -39852,7 +39852,7 @@ const pV = {
39852
39852
  noPadding: !0
39853
39853
  }, {
39854
39854
  default: N(() => [
39855
- r(g) ? (J(), sA(WB, { key: 0 })) : uA("", !0),
39855
+ r(g) ? (J(), sA(WB, { key: 0 })) : kA("", !0),
39856
39856
  M("div", zV, [
39857
39857
  w[4] || (w[4] = M("h3", null, "Dispositivos de confianza", -1)),
39858
39858
  M("div", WV, [
@@ -39869,7 +39869,7 @@ const pV = {
39869
39869
  }, "✕")
39870
39870
  ])
39871
39871
  ]),
39872
- r(a) ? (J(), L("div", LV, "Error al cargar dispositivos")) : uA("", !0),
39872
+ r(a) ? (J(), L("div", LV, "Error al cargar dispositivos")) : kA("", !0),
39873
39873
  d(vD, {
39874
39874
  open: C.value,
39875
39875
  "onUpdate:open": w[1] || (w[1] = (u) => C.value = u),
@@ -39925,10 +39925,10 @@ const pV = {
39925
39925
  M("i", { class: "pi pi-sign-out" }, null, -1)
39926
39926
  ])], 8, eq)
39927
39927
  ]))), 128))
39928
- ])) : uA("", !0),
39928
+ ])) : kA("", !0),
39929
39929
  !r(g) && !h.value.length ? (J(), L("div", sq, [...w[10] || (w[10] = [
39930
39930
  M("div", null, "No hay dispositivos de confianza registrados.", -1)
39931
- ])])) : uA("", !0)
39931
+ ])])) : kA("", !0)
39932
39932
  ]),
39933
39933
  !r(g) && h.value.length ? (J(), L("div", gq, [
39934
39934
  M("button", {
@@ -39939,7 +39939,7 @@ const pV = {
39939
39939
  class: "fge-delete-button",
39940
39940
  onClick: k
39941
39941
  }, " Eliminar todos los dispositivos ")
39942
- ])) : uA("", !0)
39942
+ ])) : kA("", !0)
39943
39943
  ]),
39944
39944
  _: 1
39945
39945
  }, 8, ["isOpen"]));
@@ -40162,7 +40162,7 @@ const Bq = { class: "sidebar-header" }, oq = { class: "header-title" }, lq = { c
40162
40162
  noPadding: !0
40163
40163
  }, {
40164
40164
  default: N(() => [
40165
- r(g) ? (J(), sA(WB, { key: 0 })) : uA("", !0),
40165
+ r(g) ? (J(), sA(WB, { key: 0 })) : kA("", !0),
40166
40166
  M("div", Bq, [
40167
40167
  M("div", oq, [
40168
40168
  u[4] || (u[4] = M("div", {
@@ -40228,7 +40228,7 @@ const Bq = { class: "sidebar-header" }, oq = { class: "header-title" }, lq = { c
40228
40228
  M("div", Jq, GA(m.dispositivo || m.navegador || m.aplicacion), 1),
40229
40229
  M("div", bq, [
40230
40230
  u[7] || (u[7] = M("span", { class: "badge badge-actual" }, "Actual", -1)),
40231
- m.ciudadania == 1 ? (J(), L("span", Dq, "Ciudadanía digital")) : uA("", !0)
40231
+ m.ciudadania == 1 ? (J(), L("span", Dq, "Ciudadanía digital")) : kA("", !0)
40232
40232
  ])
40233
40233
  ]),
40234
40234
  M("div", dq, GA(m.navegador) + " · " + GA(m.so), 1)
@@ -40264,7 +40264,7 @@ const Bq = { class: "sidebar-header" }, oq = { class: "header-title" }, lq = { c
40264
40264
  ])
40265
40265
  ]))), 128))
40266
40266
  ])
40267
- ])) : uA("", !0),
40267
+ ])) : kA("", !0),
40268
40268
  Y.value.length ? (J(), L("section", Uq, [
40269
40269
  u[22] || (u[22] = M("h4", { class: "group-title" }, "Otras sesiones", -1)),
40270
40270
  M("ul", Fq, [
@@ -40284,7 +40284,7 @@ const Bq = { class: "sidebar-header" }, oq = { class: "header-title" }, lq = { c
40284
40284
  M("div", Vq, [
40285
40285
  M("div", qq, [
40286
40286
  M("div", Xq, GA(m.dispositivo || m.navegador || m.aplicacion), 1),
40287
- m.ciudadania == 1 ? (J(), L("span", Hq, "Ciudadanía digital")) : uA("", !0)
40287
+ m.ciudadania == 1 ? (J(), L("span", Hq, "Ciudadanía digital")) : kA("", !0)
40288
40288
  ]),
40289
40289
  M("div", _q, GA(m.navegador) + " · " + GA(m.so), 1)
40290
40290
  ]),
@@ -40322,11 +40322,11 @@ const Bq = { class: "sidebar-header" }, oq = { class: "header-title" }, lq = { c
40322
40322
  ])], 8, EX)
40323
40323
  ]))), 128))
40324
40324
  ])
40325
- ])) : uA("", !0)
40326
- ])) : uA("", !0),
40325
+ ])) : kA("", !0)
40326
+ ])) : kA("", !0),
40327
40327
  !r(g) && !k.value.length ? (J(), L("div", CX, [...u[23] || (u[23] = [
40328
40328
  M("div", null, "No hay sesiones activas.", -1)
40329
- ])])) : uA("", !0)
40329
+ ])])) : kA("", !0)
40330
40330
  ]),
40331
40331
  !r(g) && k.value.length ? (J(), L("div", nX, [
40332
40332
  M("button", {
@@ -40337,7 +40337,7 @@ const Bq = { class: "sidebar-header" }, oq = { class: "header-title" }, lq = { c
40337
40337
  class: "fge-delete-button",
40338
40338
  onClick: c
40339
40339
  }, " Finalizar todas las sesiones ")
40340
- ])) : uA("", !0)
40340
+ ])) : kA("", !0)
40341
40341
  ]),
40342
40342
  _: 1
40343
40343
  }, 8, ["isOpen"]));
@@ -40403,7 +40403,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40403
40403
  default: N(() => [
40404
40404
  M("div", MX, [
40405
40405
  I[4] || (I[4] = M("p", null, "Aviso de Seguridad", -1)),
40406
- e.forzarCambioPassword ? uA("", !0) : (J(), sA(r(Qi), {
40406
+ e.forzarCambioPassword ? kA("", !0) : (J(), sA(r(Qi), {
40407
40407
  key: 0,
40408
40408
  class: "close-icon",
40409
40409
  "aria-label": "Close"
@@ -40427,7 +40427,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40427
40427
  I[6] || (I[6] = M("p", { class: "auth-modal-body-msg" }, "¡Gracias por tu colaboración!", -1))
40428
40428
  ]),
40429
40429
  M("div", uX, [
40430
- e.forzarCambioPassword ? uA("", !0) : (J(), sA(r(Qi), {
40430
+ e.forzarCambioPassword ? kA("", !0) : (J(), sA(r(Qi), {
40431
40431
  key: 0,
40432
40432
  class: "fge-gray-button w-full",
40433
40433
  "aria-label": "Close"
@@ -40554,29 +40554,28 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40554
40554
  const e = A, s = t, g = xt(), a = D(!1), i = T({
40555
40555
  get: () => e.open,
40556
40556
  set: (EA) => s("update:open", EA)
40557
- }), I = D(!1), E = D(1), C = D(!1), n = D("sms_previo"), B = D(!0), o = D(null), l = D(null), G = D(""), c = D(""), k = D(""), h = D(""), Y = D(""), Q = D(), S = D(Eu), w = D(null), u = T(
40558
- () => {
40559
- var EA;
40560
- return Number((EA = g.userState.user) == null ? void 0 : EA.verificarObservadoSegundos) === 0;
40561
- }
40562
- ), m = T(() => !u.value && S.value <= 0), { errors: R, setFieldValue: W, setFieldError: Z, validate: y } = qC({
40557
+ }), I = D(!1), E = D(1), C = D(!1), n = D("sms_previo"), B = D(!0), o = D(null), l = D(null), G = D(""), c = D(""), k = D(""), h = D(""), Y = D(""), Q = D(), S = D(Eu), w = D(null), u = T(() => {
40558
+ var dA;
40559
+ const EA = (dA = g.userState.user) == null ? void 0 : dA.verificarObservadoSegundos;
40560
+ return EA != null && Number(EA) === 0;
40561
+ }), m = T(() => !u.value && S.value <= 0), { errors: R, setFieldValue: W, setFieldError: Z, validate: y } = qC({
40563
40562
  initialValues: { codigo: "" }
40564
- }), f = (EA, ZA) => {
40565
- var FA, yA, ot, kA;
40566
- return ((yA = (FA = EA == null ? void 0 : EA.response) == null ? void 0 : FA.data) == null ? void 0 : yA.message) || ((ot = EA == null ? void 0 : EA.response) == null ? void 0 : ot.message) || ((kA = EA == null ? void 0 : EA.data) == null ? void 0 : kA.message) || (EA == null ? void 0 : EA.message) || ZA;
40567
- }, F = (EA, ZA) => {
40563
+ }), f = (EA, dA) => {
40564
+ var FA, yA, ot, uA;
40565
+ return ((yA = (FA = EA == null ? void 0 : EA.response) == null ? void 0 : FA.data) == null ? void 0 : yA.message) || ((ot = EA == null ? void 0 : EA.response) == null ? void 0 : ot.message) || ((uA = EA == null ? void 0 : EA.data) == null ? void 0 : uA.message) || (EA == null ? void 0 : EA.message) || dA;
40566
+ }, F = (EA, dA) => {
40568
40567
  lA.error(
40569
- `<p class="toast-title">Error</p><p class="toast-description">${f(EA, ZA)}</p>`,
40568
+ `<p class="toast-title">Error</p><p class="toast-description">${f(EA, dA)}</p>`,
40570
40569
  { dangerouslyHTMLString: !0 }
40571
40570
  );
40572
40571
  }, U = (EA) => {
40573
40572
  m.value || EA.preventDefault();
40574
40573
  }, cA = () => {
40575
- m.value && s("update:open", !1);
40574
+ s("update:open", !1);
40576
40575
  }, RA = () => {
40577
- var ZA;
40576
+ var dA;
40578
40577
  w.value && clearInterval(w.value);
40579
- const EA = Number((ZA = g.userState.user) == null ? void 0 : ZA.verificarObservadoSegundos);
40578
+ const EA = Number((dA = g.userState.user) == null ? void 0 : dA.verificarObservadoSegundos);
40580
40579
  if (S.value = u.value ? 0 : EA ? Number.isFinite(EA) && EA > 0 ? EA : 0 : Eu, S.value === 0) {
40581
40580
  w.value = null;
40582
40581
  return;
@@ -40585,13 +40584,13 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40585
40584
  S.value > 0 ? S.value -= 1 : w.value && (clearInterval(w.value), w.value = null);
40586
40585
  }, 1e3);
40587
40586
  }, JA = async () => {
40588
- var EA, ZA, FA, yA, ot, kA, HA, QA, Yt, vA, KA;
40587
+ var EA, dA, FA, yA, ot, uA, HA, QA, Yt, vA, KA;
40589
40588
  C.value = !0;
40590
40589
  try {
40591
40590
  const LA = await Gl({
40592
40591
  usuarioId: Number((EA = g.userState.user) == null ? void 0 : EA.id)
40593
40592
  });
40594
- return o.value = ((FA = (ZA = LA == null ? void 0 : LA.response) == null ? void 0 : ZA.data) == null ? void 0 : FA.desafioId) ?? o.value, Y.value = ((ot = (yA = LA == null ? void 0 : LA.response) == null ? void 0 : yA.data) == null ? void 0 : ot.celular) ?? "su número de celular", k.value = (LA == null ? void 0 : LA.message) || "Ingrese el código recibido por SMS para continuar con Telegram.", h.value = (HA = (kA = LA == null ? void 0 : LA.response) == null ? void 0 : kA.data) != null && HA.destino ? `Código enviado a ${LA.response.data.destino}` : "Código enviado por SMS", c.value = "", W("codigo", ""), (KA = (QA = Q.value) == null ? void 0 : QA.reInit) == null || KA.call(QA, Number(((vA = (Yt = LA == null ? void 0 : LA.response) == null ? void 0 : Yt.data) == null ? void 0 : vA.tiempoVigencia) ?? 120)), LA;
40593
+ return o.value = ((FA = (dA = LA == null ? void 0 : LA.response) == null ? void 0 : dA.data) == null ? void 0 : FA.desafioId) ?? o.value, Y.value = ((ot = (yA = LA == null ? void 0 : LA.response) == null ? void 0 : yA.data) == null ? void 0 : ot.celular) ?? "su número de celular", k.value = (LA == null ? void 0 : LA.message) || "Ingrese el código recibido por SMS para continuar con Telegram.", h.value = (HA = (uA = LA == null ? void 0 : LA.response) == null ? void 0 : uA.data) != null && HA.destino ? `Código enviado a ${LA.response.data.destino}` : "Código enviado por SMS", c.value = "", W("codigo", ""), (KA = (QA = Q.value) == null ? void 0 : QA.reInit) == null || KA.call(QA, Number(((vA = (Yt = LA == null ? void 0 : LA.response) == null ? void 0 : Yt.data) == null ? void 0 : vA.tiempoVigencia) ?? 120)), LA;
40595
40594
  } catch (LA) {
40596
40595
  throw F(LA, "No fue posible enviar el código SMS. Intente nuevamente."), LA;
40597
40596
  } finally {
@@ -40600,18 +40599,18 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40600
40599
  }, H = async () => {
40601
40600
  C.value || (I.value = !0, E.value = 1, n.value = "sms_previo", B.value = !0, await JA());
40602
40601
  }, jA = (EA) => {
40603
- var ZA;
40604
- return Number((EA == null ? void 0 : EA.status) ?? ((ZA = EA == null ? void 0 : EA.response) == null ? void 0 : ZA.status)) === 403 && String((EA == null ? void 0 : EA.message) || "").toLowerCase().includes("confirme el sms");
40602
+ var dA;
40603
+ return Number((EA == null ? void 0 : EA.status) ?? ((dA = EA == null ? void 0 : EA.response) == null ? void 0 : dA.status)) === 403 && String((EA == null ? void 0 : EA.message) || "").toLowerCase().includes("confirme el sms");
40605
40604
  }, UA = async () => {
40606
40605
  E.value = 1, n.value = "sms_previo", l.value = null, o.value = null, G.value = "", k.value = "Ingrese el código recibido por SMS para continuar con Telegram.", h.value = "Debe confirmar nuevamente el SMS para continuar.", c.value = "", W("codigo", ""), await JA();
40607
40606
  }, tA = async () => {
40608
40607
  n.value === "telegram_bot" && !C.value && await UA();
40609
40608
  }, nA = async () => {
40610
- var ot, kA, HA, QA, Yt, vA, KA;
40609
+ var ot, uA, HA, QA, Yt, vA, KA;
40611
40610
  const EA = await y();
40612
40611
  if (!EA.valid || C.value) return;
40613
- const ZA = String(c.value || ((ot = EA.values) == null ? void 0 : ot.codigo) || "").trim(), FA = E.value === 1 || n.value === "telegram_otp" ? 6 : 4;
40614
- if (!(FA === 6 ? /^\d{6}$/.test(ZA) : /^[a-zA-Z0-9]{4}$/.test(ZA))) {
40612
+ const dA = String(c.value || ((ot = EA.values) == null ? void 0 : ot.codigo) || "").trim(), FA = E.value === 1 || n.value === "telegram_otp" ? 6 : 4;
40613
+ if (!(FA === 6 ? /^\d{6}$/.test(dA) : /^[a-zA-Z0-9]{4}$/.test(dA))) {
40615
40614
  Z(
40616
40615
  "codigo",
40617
40616
  `Ingrese un código válido de ${FA} ${FA === 6 ? "dígitos" : "caracteres"}.`
@@ -40622,9 +40621,9 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40622
40621
  try {
40623
40622
  if (E.value === 1) {
40624
40623
  const LA = await Dk({
40625
- usuarioId: Number((kA = g.userState.user) == null ? void 0 : kA.id),
40624
+ usuarioId: Number((uA = g.userState.user) == null ? void 0 : uA.id),
40626
40625
  desafioId: String(o.value),
40627
- codigoSms: ZA
40626
+ codigoSms: dA
40628
40627
  });
40629
40628
  l.value = ((QA = (HA = LA == null ? void 0 : LA.response) == null ? void 0 : HA.data) == null ? void 0 : QA.smsVerificacionToken) ?? null;
40630
40629
  let ht;
@@ -40645,7 +40644,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40645
40644
  } else {
40646
40645
  await bk({
40647
40646
  medio: "telegram",
40648
- code_confirmacion: ZA,
40647
+ code_confirmacion: dA,
40649
40648
  smsVerificacionToken: l.value
40650
40649
  });
40651
40650
  const LA = (((KA = g.userState.user) == null ? void 0 : KA.mediosObservados) ?? []).filter(
@@ -40666,24 +40665,24 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40666
40665
  C.value = !1;
40667
40666
  }
40668
40667
  }, VA = async () => {
40669
- var EA, ZA, FA, yA;
40668
+ var EA, dA, FA, yA;
40670
40669
  if (!(C.value || !l.value)) {
40671
40670
  C.value = !0;
40672
40671
  try {
40673
- const ot = await up({ smsVerificacionToken: l.value }), kA = (((EA = g.userState.user) == null ? void 0 : EA.mediosObservados) ?? []).filter(
40672
+ const ot = await up({ smsVerificacionToken: l.value }), uA = (((EA = g.userState.user) == null ? void 0 : EA.mediosObservados) ?? []).filter(
40674
40673
  (Yt) => Number(Yt) !== 2
40675
40674
  );
40676
40675
  g.updateUserData({
40677
40676
  telegram: void 0,
40678
40677
  telegramObservado: !1,
40679
- mediosObservados: kA,
40680
- verificarObservado: kA.length > 0
40678
+ mediosObservados: uA,
40679
+ verificarObservado: uA.length > 0
40681
40680
  });
40682
40681
  const HA = await VI({
40683
40682
  medio: "telegram",
40684
40683
  smsVerificacionToken: l.value
40685
40684
  }), QA = si(HA, { tgBot: g.tgBot });
40686
- B.value = !1, n.value = QA.subPaso, k.value = QA.message2Fa || (ot == null ? void 0 : ot.message) || "", h.value = QA.message2FaContexto || "Código enviado con éxito", G.value = QA.url2FaContexto, c.value = "", W("codigo", ""), (FA = (ZA = Q.value) == null ? void 0 : ZA.reInit) == null || FA.call(ZA, QA.vigenciaSegundos);
40685
+ B.value = !1, n.value = QA.subPaso, k.value = QA.message2Fa || (ot == null ? void 0 : ot.message) || "", h.value = QA.message2FaContexto || "Código enviado con éxito", G.value = QA.url2FaContexto, c.value = "", W("codigo", ""), (FA = (dA = Q.value) == null ? void 0 : dA.reInit) == null || FA.call(dA, QA.vigenciaSegundos);
40687
40686
  } catch (ot) {
40688
40687
  lA.error(
40689
40688
  (ot == null ? void 0 : ot.message) || ((yA = ot == null ? void 0 : ot.response) == null ? void 0 : yA.message) || "No fue posible desvincular Telegram."
@@ -40693,7 +40692,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40693
40692
  }
40694
40693
  }
40695
40694
  }, wA = async () => {
40696
- var EA, ZA;
40695
+ var EA, dA;
40697
40696
  if (!C.value) {
40698
40697
  if (E.value === 1) {
40699
40698
  try {
@@ -40711,7 +40710,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40711
40710
  medio: "telegram",
40712
40711
  smsVerificacionToken: l.value
40713
40712
  }), yA = si(FA, { tgBot: g.tgBot });
40714
- return n.value = yA.subPaso, k.value = yA.message2Fa, h.value = yA.message2FaContexto, G.value = yA.url2FaContexto, c.value = "", W("codigo", ""), (ZA = (EA = Q.value) == null ? void 0 : EA.reInit) == null || ZA.call(EA, yA.vigenciaSegundos), lA.success(
40713
+ return n.value = yA.subPaso, k.value = yA.message2Fa, h.value = yA.message2FaContexto, G.value = yA.url2FaContexto, c.value = "", W("codigo", ""), (dA = (EA = Q.value) == null ? void 0 : EA.reInit) == null || dA.call(EA, yA.vigenciaSegundos), lA.success(
40715
40714
  '<p class="toast-title">Código reenviado</p><p class="toast-description">El código de Telegram fue reenviado.</p>',
40716
40715
  { dangerouslyHTMLString: !0 }
40717
40716
  ), FA;
@@ -40736,17 +40735,17 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40736
40735
  { immediate: !0 }
40737
40736
  ), ps(() => {
40738
40737
  w.value && (clearInterval(w.value), w.value = null);
40739
- }), (EA, ZA) => (J(), L(Tt, null, [
40738
+ }), (EA, dA) => (J(), L(Tt, null, [
40740
40739
  d(r(Si), {
40741
40740
  open: i.value,
40742
- "onUpdate:open": ZA[3] || (ZA[3] = (FA) => i.value = FA)
40741
+ "onUpdate:open": dA[3] || (dA[3] = (FA) => i.value = FA)
40743
40742
  }, {
40744
40743
  default: N(() => [
40745
40744
  d(r(ui), null, {
40746
40745
  default: N(() => [
40747
- d(r(wi), { class: "modal-overlay" }),
40746
+ d(r(wi), { class: "modal-overlay observed-medium-overlay" }),
40748
40747
  d(r(ki), {
40749
- class: "auth-modal-container",
40748
+ class: "auth-modal-container observed-medium-dialog",
40750
40749
  "aria-describedby": "observed-medium-dialog-description",
40751
40750
  onPointerDownOutside: U,
40752
40751
  onInteractOutside: U,
@@ -40756,16 +40755,15 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40756
40755
  d(r(hi), { class: "auth-dialog-title" }, {
40757
40756
  default: N(() => [
40758
40757
  M("div", DX, [
40759
- ZA[5] || (ZA[5] = M("p", null, "Verificación de seguridad", -1)),
40760
- m.value ? (J(), L("button", {
40761
- key: 0,
40758
+ dA[5] || (dA[5] = M("p", null, "Verificación de seguridad", -1)),
40759
+ M("button", {
40762
40760
  type: "button",
40763
40761
  class: "close-icon",
40764
40762
  "aria-label": "Cerrar",
40765
40763
  onClick: cA
40766
40764
  }, [
40767
40765
  d(r(bn))
40768
- ])) : uA("", !0)
40766
+ ])
40769
40767
  ])
40770
40768
  ]),
40771
40769
  _: 1
@@ -40787,8 +40785,8 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40787
40785
  "indicador-paso": E.value === 1 ? "Paso 1 de 2: Verificación de línea móvil (SMS)" : "Paso 2 de 2: Código en Telegram",
40788
40786
  "mostrar-reenviar": E.value === 1 || n.value === "telegram_otp",
40789
40787
  "mostrar-contador-expiracion": n.value === "telegram_bot",
40790
- "onUpdate:refCounter": ZA[1] || (ZA[1] = (FA) => Q.value = FA),
40791
- "onUpdate:codigo": ZA[2] || (ZA[2] = (FA) => c.value = FA),
40788
+ "onUpdate:refCounter": dA[1] || (dA[1] = (FA) => Q.value = FA),
40789
+ "onUpdate:codigo": dA[2] || (dA[2] = (FA) => c.value = FA),
40792
40790
  onFinishCount: tA
40793
40791
  }, {
40794
40792
  "telegram-extra": N(() => [
@@ -40803,8 +40801,8 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40803
40801
  type: "button",
40804
40802
  class: "telegram-instrucciones-btn",
40805
40803
  "aria-label": "Instrucciones Telegram",
40806
- onClick: ZA[0] || (ZA[0] = (FA) => a.value = !0)
40807
- }, [...ZA[8] || (ZA[8] = [
40804
+ onClick: dA[0] || (dA[0] = (FA) => a.value = !0)
40805
+ }, [...dA[8] || (dA[8] = [
40808
40806
  M("span", {
40809
40807
  class: "telegram-ayuda-icon",
40810
40808
  "aria-hidden": "true"
@@ -40821,7 +40819,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40821
40819
  "side-offset": 6
40822
40820
  }, {
40823
40821
  default: N(() => [
40824
- ZA[9] || (ZA[9] = Ct(" Instrucciones en la aplicación Telegram ", -1)),
40822
+ dA[9] || (dA[9] = Ct(" Instrucciones en la aplicación Telegram ", -1)),
40825
40823
  d(r(sE), {
40826
40824
  class: "arrow-svg",
40827
40825
  width: 10
@@ -40838,7 +40836,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40838
40836
  ]),
40839
40837
  _: 1
40840
40838
  })
40841
- ])) : uA("", !0)
40839
+ ])) : kA("", !0)
40842
40840
  ]),
40843
40841
  inputs: N(() => [
40844
40842
  E.value === 2 && B.value && n.value === "telegram_otp" ? (J(), L("button", {
@@ -40846,7 +40844,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40846
40844
  type: "button",
40847
40845
  class: "fge-green-button observed-telegram-relink-button w-full mt-2",
40848
40846
  onClick: VA
40849
- }, " No recibí el código en Telegram — desvincular y volver a vincular ")) : uA("", !0)
40847
+ }, " No recibí el código en Telegram — desvincular y volver a vincular ")) : kA("", !0)
40850
40848
  ]),
40851
40849
  _: 1
40852
40850
  }, 8, ["ref-counter", "error", "current-contacto", "cancelar-function", "message2-fa", "message2-fa-contexto", "url2-fa-contexto", "is-telegram", "indicador-paso", "mostrar-reenviar", "mostrar-contador-expiracion"])
@@ -40854,8 +40852,8 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40854
40852
  M("div", ZX, [
40855
40853
  d(PE, { mode: "gray" })
40856
40854
  ]),
40857
- ZA[6] || (ZA[6] = M("p", { class: "body-title" }, "Verifica tus medios de autenticación", -1)),
40858
- ZA[7] || (ZA[7] = M("p", {
40855
+ dA[6] || (dA[6] = M("p", { class: "body-title" }, "Verifica tus medios de autenticación", -1)),
40856
+ dA[7] || (dA[7] = M("p", {
40859
40857
  id: "observed-medium-dialog-description",
40860
40858
  class: "auth-modal-body-msg"
40861
40859
  }, " Tienes medios de autenticación pendientes de verificación. ", -1)),
@@ -40868,15 +40866,15 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40868
40866
  ]))), 128))
40869
40867
  ])
40870
40868
  ])),
40871
- C.value ? (J(), L("div", RX, [...ZA[10] || (ZA[10] = [
40869
+ C.value ? (J(), L("div", RX, [...dA[10] || (dA[10] = [
40872
40870
  M("span", {
40873
40871
  class: "observed-loading-spinner",
40874
40872
  "aria-hidden": "true"
40875
40873
  }, null, -1),
40876
40874
  M("span", null, "Procesando, espere un momento...", -1)
40877
- ])])) : uA("", !0),
40878
- I.value ? uA("", !0) : (J(), L("div", xX, [
40879
- u.value ? uA("", !0) : (J(), L("button", {
40875
+ ])])) : kA("", !0),
40876
+ I.value ? kA("", !0) : (J(), L("div", xX, [
40877
+ u.value ? kA("", !0) : (J(), L("button", {
40880
40878
  key: 0,
40881
40879
  type: "button",
40882
40880
  class: "fge-gray-button w-full",
@@ -40901,7 +40899,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40901
40899
  }, 8, ["open"]),
40902
40900
  d(b2, {
40903
40901
  open: a.value,
40904
- "onUpdate:open": ZA[4] || (ZA[4] = (FA) => a.value = FA),
40902
+ "onUpdate:open": dA[4] || (dA[4] = (FA) => a.value = FA),
40905
40903
  titulo: "Instrucciones en la aplicación Telegram",
40906
40904
  descripcion: "Siga los pasos en su aplicación Telegram para obtener el código de verificación.",
40907
40905
  imagen: r(uu),
@@ -40909,7 +40907,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
40909
40907
  }, null, 8, ["open", "imagen"])
40910
40908
  ], 64));
40911
40909
  }
40912
- }), LX = /* @__PURE__ */ Ne(WX, [["__scopeId", "data-v-e22fe8c4"]]), fX = { class: "item-container" }, TX = { class: "auth-name-container" }, UX = { class: "name" }, FX = { class: "profession" }, vX = /* @__PURE__ */ _({
40910
+ }), LX = /* @__PURE__ */ Ne(WX, [["__scopeId", "data-v-14041519"]]), fX = { class: "item-container" }, TX = { class: "auth-name-container" }, UX = { class: "name" }, FX = { class: "profession" }, vX = /* @__PURE__ */ _({
40913
40911
  __name: "FgeMenuItems",
40914
40912
  props: {
40915
40913
  showChangeMode: { type: Boolean, default: !1 },
@@ -41056,7 +41054,7 @@ const QX = { render: lX }, MX = { class: "auth-title-container" }, YX = { class:
41056
41054
  U[4] || (U[4] = M("span", { style: { "margin-left": "0.8rem" } }, "Cambiar modo", -1))
41057
41055
  ]),
41058
41056
  _: 1
41059
- })) : uA("", !0),
41057
+ })) : kA("", !0),
41060
41058
  d(r(iC), {
41061
41059
  class: "auth-menu-item",
41062
41060
  onClick: f