@luizleon/sf.prefeiturasp.vuecomponents 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.es.js CHANGED
@@ -480,13 +480,13 @@ const Hr = ["disabled", "tabindex"], jr = ["data-color"], Ht = /* @__PURE__ */ N
480
480
  t.style.removeProperty("transition"), t.style.width = "100%";
481
481
  const n = parseInt(window.getComputedStyle(t).width), o = e / n * 100;
482
482
  t.style.removeProperty("transition"), t.style.width = `${o}%`;
483
- }, Ho = () => typeof window > "u" || typeof document > "u", is = 100, B = {}, as = () => {
484
- B.previousActiveElement && B.previousActiveElement.focus ? (B.previousActiveElement.focus(), B.previousActiveElement = null) : document.body && document.body.focus();
483
+ }, Ho = () => typeof window > "u" || typeof document > "u", is = 100, M = {}, as = () => {
484
+ M.previousActiveElement && M.previousActiveElement.focus ? (M.previousActiveElement.focus(), M.previousActiveElement = null) : document.body && document.body.focus();
485
485
  }, cs = (t) => new Promise((e) => {
486
486
  if (!t)
487
487
  return e();
488
488
  const n = window.scrollX, o = window.scrollY;
489
- B.restoreFocusTimeout = setTimeout(() => {
489
+ M.restoreFocusTimeout = setTimeout(() => {
490
490
  as(), e();
491
491
  }, is), window.scrollTo(n, o);
492
492
  }), ls = `
@@ -529,7 +529,7 @@ const Hr = ["disabled", "tabindex"], jr = ["data-color"], Ht = /* @__PURE__ */ N
529
529
  [l["no-backdrop"], l["toast-shown"], l["has-column"]]
530
530
  ), !0) : !1;
531
531
  }, We = () => {
532
- B.currentInstance.resetValidationMessage();
532
+ M.currentInstance.resetValidationMessage();
533
533
  }, ds = () => {
534
534
  const t = V(), e = $e(t, l.input), n = $e(t, l.file), o = t.querySelector(`.${l.range} input`), i = t.querySelector(`.${l.range} output`), c = $e(t, l.select), w = t.querySelector(`.${l.checkbox} input`), L = $e(t, l.textarea);
535
535
  e.oninput = We, n.onchange = We, c.onchange = We, w.onchange = We, L.oninput = We, o.oninput = () => {
@@ -611,13 +611,13 @@ function xs(t, e) {
611
611
  const Cs = (t, e) => {
612
612
  const n = se();
613
613
  n && (As(n, e.backdrop), _s(n, e.position), xs(n, e.grow), Ee(n, e, "container"));
614
- }, U = {
614
+ }, D = {
615
615
  awaitingPromise: /* @__PURE__ */ new WeakMap(),
616
616
  promise: /* @__PURE__ */ new WeakMap(),
617
617
  innerParams: /* @__PURE__ */ new WeakMap(),
618
618
  domCache: /* @__PURE__ */ new WeakMap()
619
619
  }, Es = ["input", "file", "range", "select", "radio", "checkbox", "textarea"], Ts = (t, e) => {
620
- const n = V(), o = U.innerParams.get(t), i = !o || e.input !== o.input;
620
+ const n = V(), o = D.innerParams.get(t), i = !o || e.input !== o.input;
621
621
  Es.forEach((c) => {
622
622
  const w = l[c], L = $e(n, w);
623
623
  Is(c, e.inputAttributes), L.className = w, i && ie(L);
@@ -706,7 +706,7 @@ const Rs = (t, e) => {
706
706
  const n = Sn();
707
707
  re(n, e.closeButtonHtml), Ee(n, e, "closeButton"), Jt(n, e.showCloseButton), n.setAttribute("aria-label", e.closeButtonAriaLabel);
708
708
  }, Bs = (t, e) => {
709
- const n = U.innerParams.get(t), o = Lt();
709
+ const n = D.innerParams.get(t), o = Lt();
710
710
  if (n && e.icon === n.icon) {
711
711
  so(o, e), ro(o, e);
712
712
  return;
@@ -948,7 +948,7 @@ const ii = () => {
948
948
  const i = window.getComputedStyle(document.body).overflowY;
949
949
  vi(e, n, t), setTimeout(() => {
950
950
  gi(e, n);
951
- }, qo), In() && (bi(e, t.scrollbarPadding, i), Ks()), !Yt() && !B.previousActiveElement && (B.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), Oe(e, l["no-transition"]);
951
+ }, qo), In() && (bi(e, t.scrollbarPadding, i), Ks()), !Yt() && !M.previousActiveElement && (M.previousActiveElement = document.activeElement), typeof t.didOpen == "function" && setTimeout(() => t.didOpen(n)), Oe(e, l["no-transition"]);
952
952
  }, Ko = (t) => {
953
953
  const e = V();
954
954
  if (t.target !== e)
@@ -1011,7 +1011,7 @@ const ii = () => {
1011
1011
  const w = c[0], L = c[1];
1012
1012
  if (Array.isArray(L)) {
1013
1013
  const u = document.createElement("optgroup");
1014
- u.label = w, u.disabled = !1, o.appendChild(u), L.forEach((D) => i(u, D[1], D[0]));
1014
+ u.label = w, u.disabled = !1, o.appendChild(u), L.forEach((F) => i(u, F[1], F[0]));
1015
1015
  } else
1016
1016
  i(o, L, w);
1017
1017
  }), o.focus();
@@ -1019,10 +1019,10 @@ const ii = () => {
1019
1019
  radio: (t, e, n) => {
1020
1020
  const o = $e(t, l.radio);
1021
1021
  e.forEach((c) => {
1022
- const w = c[0], L = c[1], u = document.createElement("input"), D = document.createElement("label");
1022
+ const w = c[0], L = c[1], u = document.createElement("input"), F = document.createElement("label");
1023
1023
  u.type = "radio", u.name = l.radio, u.value = w, co(w, n.inputValue) && (u.checked = !0);
1024
1024
  const W = document.createElement("span");
1025
- re(W, L), W.className = l.label, D.appendChild(u), D.appendChild(W), o.appendChild(D);
1025
+ re(W, L), W.className = l.label, F.appendChild(u), F.appendChild(W), o.appendChild(F);
1026
1026
  });
1027
1027
  const i = o.querySelectorAll("input");
1028
1028
  i.length && i[0].focus();
@@ -1038,10 +1038,10 @@ const ii = () => {
1038
1038
  }), e;
1039
1039
  }, co = (t, e) => e && e.toString() === t.toString();
1040
1040
  function lo() {
1041
- const t = U.innerParams.get(this);
1041
+ const t = D.innerParams.get(this);
1042
1042
  if (!t)
1043
1043
  return;
1044
- const e = U.domCache.get(this);
1044
+ const e = D.domCache.get(this);
1045
1045
  ie(e.loader), Yt() ? t.icon && te(Lt()) : Si(e), Oe([e.popup, e.actions], l.loading), e.popup.removeAttribute("aria-busy"), e.popup.removeAttribute("data-loading"), e.confirmButton.disabled = !1, e.denyButton.disabled = !1, e.cancelButton.disabled = !1;
1046
1046
  }
1047
1047
  const Si = (t) => {
@@ -1049,7 +1049,7 @@ const Si = (t) => {
1049
1049
  e.length ? te(e[0], "inline-block") : rs() && ie(t.actions);
1050
1050
  };
1051
1051
  function Li(t) {
1052
- const e = U.innerParams.get(t || this), n = U.domCache.get(t || this);
1052
+ const e = D.innerParams.get(t || this), n = D.domCache.get(t || this);
1053
1053
  return n ? Pn(n.popup, e.input) : null;
1054
1054
  }
1055
1055
  const Et = {
@@ -1069,7 +1069,7 @@ const Et = {
1069
1069
  return e = e + n, e === o.length ? e = 0 : e === -1 && (e = o.length - 1), o[e].focus();
1070
1070
  V().focus();
1071
1071
  }, Jo = ["ArrowRight", "ArrowDown"], Fi = ["ArrowLeft", "ArrowUp"], Bi = (t, e, n) => {
1072
- const o = U.innerParams.get(t);
1072
+ const o = D.innerParams.get(t);
1073
1073
  o && (e.isComposing || e.keyCode === 229 || (o.stopKeydownPropagation && e.stopPropagation(), e.key === "Enter" ? Mi(t, e, o) : e.key === "Tab" ? Ui(e, o) : [...Jo, ...Fi].includes(e.key) ? Di(e.key) : e.key === "Escape" && Ni(e, o, n)));
1074
1074
  }, Mi = (t, e, n) => {
1075
1075
  if (qt(n.allowEnterKey) && e.target && t.getInput() && e.target.outerHTML === t.getInput().outerHTML) {
@@ -1103,7 +1103,7 @@ const Et = {
1103
1103
  qt(e.allowEscapeKey) && (t.preventDefault(), n(ht.esc));
1104
1104
  };
1105
1105
  function Xo(t, e, n, o) {
1106
- Yt() ? uo(t, o) : (cs(n).then(() => uo(t, o)), Yo(B)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), In() && (ai(), pi(), Vo()), $i();
1106
+ Yt() ? uo(t, o) : (cs(n).then(() => uo(t, o)), Yo(M)), /^((?!chrome|android).)*safari/i.test(navigator.userAgent) ? (e.setAttribute("style", "display:none !important"), e.removeAttribute("class"), e.innerHTML = "") : e.remove(), In() && (ai(), pi(), Vo()), $i();
1107
1107
  }
1108
1108
  function $i() {
1109
1109
  Oe(
@@ -1117,13 +1117,13 @@ function Mt(t) {
1117
1117
  this.isAwaitingPromise() ? t.isDismissed || (Rt(this), e(t)) : n && e(t);
1118
1118
  }
1119
1119
  function Hi() {
1120
- return !!U.awaitingPromise.get(this);
1120
+ return !!D.awaitingPromise.get(this);
1121
1121
  }
1122
1122
  const ji = (t) => {
1123
1123
  const e = V();
1124
1124
  if (!e)
1125
1125
  return !1;
1126
- const n = U.innerParams.get(t);
1126
+ const n = D.innerParams.get(t);
1127
1127
  if (!n || De(e, n.hideClass.popup))
1128
1128
  return !1;
1129
1129
  Oe(e, n.showClass.popup), H(e, n.hideClass.popup);
@@ -1135,7 +1135,7 @@ function zi(t) {
1135
1135
  Rt(this), e && e(t);
1136
1136
  }
1137
1137
  const Rt = (t) => {
1138
- t.isAwaitingPromise() && (U.awaitingPromise.delete(t), U.innerParams.get(t) || t._destroy());
1138
+ t.isAwaitingPromise() && (D.awaitingPromise.delete(t), D.innerParams.get(t) || t._destroy());
1139
1139
  }, Vi = (t) => typeof t > "u" ? {
1140
1140
  isConfirmed: !1,
1141
1141
  isDenied: !1,
@@ -1151,14 +1151,14 @@ const Rt = (t) => {
1151
1151
  const o = se(), i = Ct && $o(e);
1152
1152
  typeof n.willClose == "function" && n.willClose(e), i ? qi(t, e, o, n.returnFocus, n.didClose) : Xo(t, o, n.returnFocus, n.didClose);
1153
1153
  }, qi = (t, e, n, o, i) => {
1154
- B.swalCloseEventFinishedCallback = Xo.bind(
1154
+ M.swalCloseEventFinishedCallback = Xo.bind(
1155
1155
  null,
1156
1156
  t,
1157
1157
  n,
1158
1158
  o,
1159
1159
  i
1160
1160
  ), e.addEventListener(Ct, function(c) {
1161
- c.target === e && (B.swalCloseEventFinishedCallback(), delete B.swalCloseEventFinishedCallback);
1161
+ c.target === e && (M.swalCloseEventFinishedCallback(), delete M.swalCloseEventFinishedCallback);
1162
1162
  });
1163
1163
  }, uo = (t, e) => {
1164
1164
  setTimeout(() => {
@@ -1166,7 +1166,7 @@ const Rt = (t) => {
1166
1166
  });
1167
1167
  };
1168
1168
  function Zo(t, e, n) {
1169
- const o = U.domCache.get(t);
1169
+ const o = D.domCache.get(t);
1170
1170
  e.forEach((i) => {
1171
1171
  o[i].disabled = n;
1172
1172
  });
@@ -1194,28 +1194,28 @@ function Ji() {
1194
1194
  return Qo(this.getInput(), !0);
1195
1195
  }
1196
1196
  function Xi(t) {
1197
- const e = U.domCache.get(this), n = U.innerParams.get(this);
1197
+ const e = D.domCache.get(this), n = D.innerParams.get(this);
1198
1198
  re(e.validationMessage, t), e.validationMessage.className = l["validation-message"], n.customClass && n.customClass.validationMessage && H(e.validationMessage, n.customClass.validationMessage), te(e.validationMessage);
1199
1199
  const o = this.getInput();
1200
1200
  o && (o.setAttribute("aria-invalid", !0), o.setAttribute("aria-describedby", l["validation-message"]), Do(o), H(o, l.inputerror));
1201
1201
  }
1202
1202
  function Zi() {
1203
- const t = U.domCache.get(this);
1203
+ const t = D.domCache.get(this);
1204
1204
  t.validationMessage && ie(t.validationMessage);
1205
1205
  const e = this.getInput();
1206
1206
  e && (e.removeAttribute("aria-invalid"), e.removeAttribute("aria-describedby"), Oe(e, l.inputerror));
1207
1207
  }
1208
1208
  function Qi() {
1209
- return U.domCache.get(this).progressSteps;
1209
+ return D.domCache.get(this).progressSteps;
1210
1210
  }
1211
1211
  function ea(t) {
1212
- const e = V(), n = U.innerParams.get(this);
1212
+ const e = V(), n = D.innerParams.get(this);
1213
1213
  if (!e || De(e, n.hideClass.popup))
1214
1214
  return be(
1215
1215
  "You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup."
1216
1216
  );
1217
1217
  const o = ta(t), i = Object.assign({}, n, o);
1218
- zo(this, i), U.innerParams.set(this, i), Object.defineProperties(this, {
1218
+ zo(this, i), D.innerParams.set(this, i), Object.defineProperties(this, {
1219
1219
  params: {
1220
1220
  value: Object.assign({}, this.params, t),
1221
1221
  writable: !1,
@@ -1234,17 +1234,17 @@ If you think this parameter should be updatable, request it here: https://github
1234
1234
  }), e;
1235
1235
  };
1236
1236
  function na() {
1237
- const t = U.domCache.get(this), e = U.innerParams.get(this);
1237
+ const t = D.domCache.get(this), e = D.innerParams.get(this);
1238
1238
  if (!e) {
1239
1239
  er(this);
1240
1240
  return;
1241
1241
  }
1242
- t.popup && B.swalCloseEventFinishedCallback && (B.swalCloseEventFinishedCallback(), delete B.swalCloseEventFinishedCallback), B.deferDisposalTimer && (clearTimeout(B.deferDisposalTimer), delete B.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), oa(this);
1242
+ t.popup && M.swalCloseEventFinishedCallback && (M.swalCloseEventFinishedCallback(), delete M.swalCloseEventFinishedCallback), M.deferDisposalTimer && (clearTimeout(M.deferDisposalTimer), delete M.deferDisposalTimer), typeof e.didDestroy == "function" && e.didDestroy(), oa(this);
1243
1243
  }
1244
1244
  const oa = (t) => {
1245
- er(t), delete t.params, delete B.keydownHandler, delete B.keydownTarget, delete B.currentInstance;
1245
+ er(t), delete t.params, delete M.keydownHandler, delete M.keydownTarget, delete M.currentInstance;
1246
1246
  }, er = (t) => {
1247
- t.isAwaitingPromise() ? (an(U, t), U.awaitingPromise.set(t, !0)) : (an(Et, t), an(U, t));
1247
+ t.isAwaitingPromise() ? (an(D, t), D.awaitingPromise.set(t, !0)) : (an(Et, t), an(D, t));
1248
1248
  }, an = (t, e) => {
1249
1249
  for (const n in t)
1250
1250
  t[n].delete(e);
@@ -1270,15 +1270,15 @@ const oa = (t) => {
1270
1270
  showValidationMessage: Xi,
1271
1271
  update: ea
1272
1272
  }, Symbol.toStringTag, { value: "Module" })), ra = (t) => {
1273
- const e = U.innerParams.get(t);
1273
+ const e = D.innerParams.get(t);
1274
1274
  t.disableButtons(), e.input ? nr(t, "confirm") : Mn(t, !0);
1275
1275
  }, sa = (t) => {
1276
- const e = U.innerParams.get(t);
1276
+ const e = D.innerParams.get(t);
1277
1277
  t.disableButtons(), e.returnInputValueOnDeny ? nr(t, "deny") : Bn(t, !1);
1278
1278
  }, ia = (t, e) => {
1279
1279
  t.disableButtons(), e(ht.cancel);
1280
1280
  }, nr = (t, e) => {
1281
- const n = U.innerParams.get(t);
1281
+ const n = D.innerParams.get(t);
1282
1282
  if (!n.input)
1283
1283
  return Ye(
1284
1284
  `The "input" parameter is needed to be set when using returnInputValueOn${Cn(e)}`
@@ -1286,15 +1286,15 @@ const oa = (t) => {
1286
1286
  const o = ki(t, n);
1287
1287
  n.inputValidator ? aa(t, o, e) : t.getInput().checkValidity() ? e === "deny" ? Bn(t, o) : Mn(t, o) : (t.enableButtons(), t.showValidationMessage(n.validationMessage));
1288
1288
  }, aa = (t, e, n) => {
1289
- const o = U.innerParams.get(t);
1289
+ const o = D.innerParams.get(t);
1290
1290
  t.disableInput(), Promise.resolve().then(
1291
1291
  () => Tt(o.inputValidator(e, o.validationMessage))
1292
1292
  ).then((c) => {
1293
1293
  t.enableButtons(), t.enableInput(), c ? t.showValidationMessage(c) : n === "deny" ? Bn(t, e) : Mn(t, e);
1294
1294
  });
1295
1295
  }, Bn = (t, e) => {
1296
- const n = U.innerParams.get(t || globalThis);
1297
- n.showLoaderOnDeny && dt(He()), n.preDeny ? (U.awaitingPromise.set(t || globalThis, !0), Promise.resolve().then(
1296
+ const n = D.innerParams.get(t || globalThis);
1297
+ n.showLoaderOnDeny && dt(He()), n.preDeny ? (D.awaitingPromise.set(t || globalThis, !0), Promise.resolve().then(
1298
1298
  () => Tt(n.preDeny(e, n.validationMessage))
1299
1299
  ).then((i) => {
1300
1300
  i === !1 ? (t.hideLoading(), Rt(t)) : t.closePopup({ isDenied: !0, value: typeof i > "u" ? e : i });
@@ -1304,17 +1304,17 @@ const oa = (t) => {
1304
1304
  }, or = (t, e) => {
1305
1305
  t.rejectPromise(e);
1306
1306
  }, Mn = (t, e) => {
1307
- const n = U.innerParams.get(t || globalThis);
1308
- n.showLoaderOnConfirm && dt(), n.preConfirm ? (t.resetValidationMessage(), U.awaitingPromise.set(t || globalThis, !0), Promise.resolve().then(
1307
+ const n = D.innerParams.get(t || globalThis);
1308
+ n.showLoaderOnConfirm && dt(), n.preConfirm ? (t.resetValidationMessage(), D.awaitingPromise.set(t || globalThis, !0), Promise.resolve().then(
1309
1309
  () => Tt(n.preConfirm(e, n.validationMessage))
1310
1310
  ).then((i) => {
1311
1311
  _e(Kt()) || i === !1 ? (t.hideLoading(), Rt(t)) : fo(t, typeof i > "u" ? e : i);
1312
1312
  }).catch((i) => or(t || globalThis, i))) : fo(t, e);
1313
1313
  }, ca = (t, e, n) => {
1314
- U.innerParams.get(t).toast ? la(t, e, n) : (da(e), fa(e), ha(t, e, n));
1314
+ D.innerParams.get(t).toast ? la(t, e, n) : (da(e), fa(e), ha(t, e, n));
1315
1315
  }, la = (t, e, n) => {
1316
1316
  e.popup.onclick = () => {
1317
- const o = U.innerParams.get(t);
1317
+ const o = D.innerParams.get(t);
1318
1318
  o && (ua(o) || o.timer || o.input) || n(ht.close);
1319
1319
  };
1320
1320
  }, ua = (t) => t.showConfirmButton || t.showDenyButton || t.showCancelButton || t.showCloseButton;
@@ -1333,7 +1333,7 @@ const da = (t) => {
1333
1333
  };
1334
1334
  }, ha = (t, e, n) => {
1335
1335
  e.container.onclick = (o) => {
1336
- const i = U.innerParams.get(t);
1336
+ const i = D.innerParams.get(t);
1337
1337
  if (zt) {
1338
1338
  zt = !1;
1339
1339
  return;
@@ -1359,23 +1359,23 @@ function ba(t) {
1359
1359
  }
1360
1360
  return e;
1361
1361
  }
1362
- const va = () => B.timeout && B.timeout.getTimerLeft(), rr = () => {
1363
- if (B.timeout)
1364
- return ss(), B.timeout.stop();
1362
+ const va = () => M.timeout && M.timeout.getTimerLeft(), rr = () => {
1363
+ if (M.timeout)
1364
+ return ss(), M.timeout.stop();
1365
1365
  }, sr = () => {
1366
- if (B.timeout) {
1367
- const t = B.timeout.start();
1366
+ if (M.timeout) {
1367
+ const t = M.timeout.start();
1368
1368
  return Rn(t), t;
1369
1369
  }
1370
1370
  }, ya = () => {
1371
- const t = B.timeout;
1371
+ const t = M.timeout;
1372
1372
  return t && (t.running ? rr() : sr());
1373
1373
  }, wa = (t) => {
1374
- if (B.timeout) {
1375
- const e = B.timeout.increase(t);
1374
+ if (M.timeout) {
1375
+ const e = M.timeout.increase(t);
1376
1376
  return Rn(e, !0), e;
1377
1377
  }
1378
- }, ka = () => B.timeout && B.timeout.isRunning();
1378
+ }, ka = () => M.timeout && M.timeout.isRunning();
1379
1379
  let po = !1;
1380
1380
  const vn = {};
1381
1381
  function Aa(t = "data-swal-template") {
@@ -1446,28 +1446,28 @@ class pt {
1446
1446
  }
1447
1447
  });
1448
1448
  const o = this._main(this.params);
1449
- U.promise.set(this, o);
1449
+ D.promise.set(this, o);
1450
1450
  }
1451
1451
  _main(e, n = {}) {
1452
- Zr(Object.assign({}, n, e)), B.currentInstance && (B.currentInstance._destroy(), In() && Vo()), B.currentInstance = this;
1452
+ Zr(Object.assign({}, n, e)), M.currentInstance && (M.currentInstance._destroy(), In() && Vo()), M.currentInstance = this;
1453
1453
  const o = Ea(e, n);
1454
- ri(o), Object.freeze(o), B.timeout && (B.timeout.stop(), delete B.timeout), clearTimeout(B.restoreFocusTimeout);
1454
+ ri(o), Object.freeze(o), M.timeout && (M.timeout.stop(), delete M.timeout), clearTimeout(M.restoreFocusTimeout);
1455
1455
  const i = Ta(this);
1456
- return zo(this, o), U.innerParams.set(this, o), Ca(this, i, o);
1456
+ return zo(this, o), D.innerParams.set(this, o), Ca(this, i, o);
1457
1457
  }
1458
1458
  // `catch` cannot be the name of a module export, so we define our thenable methods here instead
1459
1459
  then(e) {
1460
- return U.promise.get(this).then(e);
1460
+ return D.promise.get(this).then(e);
1461
1461
  }
1462
1462
  finally(e) {
1463
- return U.promise.get(this).finally(e);
1463
+ return D.promise.get(this).finally(e);
1464
1464
  }
1465
1465
  }
1466
1466
  const Ca = (t, e, n) => new Promise((o, i) => {
1467
1467
  const c = (w) => {
1468
1468
  t.closePopup({ isDismissed: !0, dismiss: w });
1469
1469
  };
1470
- Et.swalPromiseResolve.set(t, o), Et.swalPromiseReject.set(t, i), e.confirmButton.onclick = () => ra(t), e.denyButton.onclick = () => sa(t), e.cancelButton.onclick = () => ia(t, c), e.closeButton.onclick = () => c(ht.close), ca(t, e, c), Oi(t, B, n, c), wi(t, n), mi(n), Sa(B, n, c), La(e, n), setTimeout(() => {
1470
+ Et.swalPromiseResolve.set(t, o), Et.swalPromiseReject.set(t, i), e.confirmButton.onclick = () => ra(t), e.denyButton.onclick = () => sa(t), e.cancelButton.onclick = () => ia(t, c), e.closeButton.onclick = () => c(ht.close), ca(t, e, c), Oi(t, M, n, c), wi(t, n), mi(n), Sa(M, n, c), La(e, n), setTimeout(() => {
1471
1471
  e.container.scrollTop = 0;
1472
1472
  });
1473
1473
  }), Ea = (t, e) => {
@@ -1486,7 +1486,7 @@ const Ca = (t, e, n) => new Promise((o, i) => {
1486
1486
  validationMessage: Kt(),
1487
1487
  progressSteps: Mo()
1488
1488
  };
1489
- return U.domCache.set(t, e), e;
1489
+ return D.domCache.set(t, e), e;
1490
1490
  }, Sa = (t, e, n) => {
1491
1491
  const o = Gt();
1492
1492
  ie(o), e.timer && (t.timeout = new si(() => {
@@ -1558,7 +1558,7 @@ function Ua(t) {
1558
1558
  return kn(t, n);
1559
1559
  };
1560
1560
  }
1561
- function M(t, e) {
1561
+ function U(t, e) {
1562
1562
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : $t;
1563
1563
  mo && mo(t, null);
1564
1564
  let o = e.length;
@@ -1648,7 +1648,7 @@ function dr() {
1648
1648
  HTMLTemplateElement: w,
1649
1649
  Node: L,
1650
1650
  Element: u,
1651
- NodeFilter: D,
1651
+ NodeFilter: F,
1652
1652
  NamedNodeMap: W = t.NamedNodeMap || t.MozNamedAttrMap,
1653
1653
  HTMLFormElement: Y,
1654
1654
  DOMParser: ae,
@@ -1673,7 +1673,7 @@ function dr() {
1673
1673
  MUSTACHE_EXPR: y,
1674
1674
  ERB_EXPR: O,
1675
1675
  TMPLIT_EXPR: p,
1676
- DATA_ATTR: F,
1676
+ DATA_ATTR: B,
1677
1677
  ARIA_ATTR: q,
1678
1678
  IS_SCRIPT_OR_DATA: J,
1679
1679
  ATTR_WHITESPACE: G
@@ -1681,9 +1681,9 @@ function dr() {
1681
1681
  let {
1682
1682
  IS_ALLOWED_URI: ce
1683
1683
  } = ko, P = null;
1684
- const fe = M({}, [...bo, ...ln, ...un, ...dn, ...vo]);
1684
+ const fe = U({}, [...bo, ...ln, ...un, ...dn, ...vo]);
1685
1685
  let r = null;
1686
- const a = M({}, [...yo, ...fn, ...wo, ...Nt]);
1686
+ const a = U({}, [...yo, ...fn, ...wo, ...Nt]);
1687
1687
  let d = Object.seal(cr(null, {
1688
1688
  tagNameCheck: {
1689
1689
  writable: !0,
@@ -1706,13 +1706,13 @@ function dr() {
1706
1706
  })), g = null, h = null, x = !0, m = !0, b = !1, E = !0, C = !1, R = !1, $ = !1, he = !1, le = !1, ee = !1, Pe = !1, Un = !0, Dn = !1;
1707
1707
  const mr = "user-content-";
1708
1708
  let Zt = !0, mt = !1, Ze = {}, Qe = null;
1709
- const Nn = M({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
1709
+ const Nn = U({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
1710
1710
  let $n = null;
1711
- const Hn = M({}, ["audio", "video", "img", "source", "image", "track"]);
1711
+ const Hn = U({}, ["audio", "video", "img", "source", "image", "track"]);
1712
1712
  let Qt = null;
1713
- const jn = M({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ot = "http://www.w3.org/1998/Math/MathML", Ft = "http://www.w3.org/2000/svg", Be = "http://www.w3.org/1999/xhtml";
1713
+ const jn = U({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ot = "http://www.w3.org/1998/Math/MathML", Ft = "http://www.w3.org/2000/svg", Be = "http://www.w3.org/1999/xhtml";
1714
1714
  let et = Be, en = !1, tn = null;
1715
- const gr = M({}, [Ot, Ft, Be], cn);
1715
+ const gr = U({}, [Ot, Ft, Be], cn);
1716
1716
  let je = null;
1717
1717
  const br = ["application/xhtml+xml", "text/html"], vr = "text/html";
1718
1718
  let Q = null, tt = null;
@@ -1722,21 +1722,21 @@ function dr() {
1722
1722
  let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1723
1723
  if (!(tt && tt === s)) {
1724
1724
  if ((!s || typeof s != "object") && (s = {}), s = ot(s), je = // eslint-disable-next-line unicorn/prefer-includes
1725
- br.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? je = vr : je = s.PARSER_MEDIA_TYPE, Q = je === "application/xhtml+xml" ? cn : $t, P = "ALLOWED_TAGS" in s ? M({}, s.ALLOWED_TAGS, Q) : fe, r = "ALLOWED_ATTR" in s ? M({}, s.ALLOWED_ATTR, Q) : a, tn = "ALLOWED_NAMESPACES" in s ? M({}, s.ALLOWED_NAMESPACES, cn) : gr, Qt = "ADD_URI_SAFE_ATTR" in s ? M(
1725
+ br.indexOf(s.PARSER_MEDIA_TYPE) === -1 ? je = vr : je = s.PARSER_MEDIA_TYPE, Q = je === "application/xhtml+xml" ? cn : $t, P = "ALLOWED_TAGS" in s ? U({}, s.ALLOWED_TAGS, Q) : fe, r = "ALLOWED_ATTR" in s ? U({}, s.ALLOWED_ATTR, Q) : a, tn = "ALLOWED_NAMESPACES" in s ? U({}, s.ALLOWED_NAMESPACES, cn) : gr, Qt = "ADD_URI_SAFE_ATTR" in s ? U(
1726
1726
  ot(jn),
1727
1727
  // eslint-disable-line indent
1728
1728
  s.ADD_URI_SAFE_ATTR,
1729
1729
  // eslint-disable-line indent
1730
1730
  Q
1731
1731
  // eslint-disable-line indent
1732
- ) : jn, $n = "ADD_DATA_URI_TAGS" in s ? M(
1732
+ ) : jn, $n = "ADD_DATA_URI_TAGS" in s ? U(
1733
1733
  ot(Hn),
1734
1734
  // eslint-disable-line indent
1735
1735
  s.ADD_DATA_URI_TAGS,
1736
1736
  // eslint-disable-line indent
1737
1737
  Q
1738
1738
  // eslint-disable-line indent
1739
- ) : Hn, Qe = "FORBID_CONTENTS" in s ? M({}, s.FORBID_CONTENTS, Q) : Nn, g = "FORBID_TAGS" in s ? M({}, s.FORBID_TAGS, Q) : {}, h = "FORBID_ATTR" in s ? M({}, s.FORBID_ATTR, Q) : {}, Ze = "USE_PROFILES" in s ? s.USE_PROFILES : !1, x = s.ALLOW_ARIA_ATTR !== !1, m = s.ALLOW_DATA_ATTR !== !1, b = s.ALLOW_UNKNOWN_PROTOCOLS || !1, E = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, C = s.SAFE_FOR_TEMPLATES || !1, R = s.WHOLE_DOCUMENT || !1, le = s.RETURN_DOM || !1, ee = s.RETURN_DOM_FRAGMENT || !1, Pe = s.RETURN_TRUSTED_TYPE || !1, he = s.FORCE_BODY || !1, Un = s.SANITIZE_DOM !== !1, Dn = s.SANITIZE_NAMED_PROPS || !1, Zt = s.KEEP_CONTENT !== !1, mt = s.IN_PLACE || !1, ce = s.ALLOWED_URI_REGEXP || lr, et = s.NAMESPACE || Be, d = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && zn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (d.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && zn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (d.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (d.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), C && (m = !1), ee && (le = !0), Ze && (P = M({}, [...vo]), r = [], Ze.html === !0 && (M(P, bo), M(r, yo)), Ze.svg === !0 && (M(P, ln), M(r, fn), M(r, Nt)), Ze.svgFilters === !0 && (M(P, un), M(r, fn), M(r, Nt)), Ze.mathMl === !0 && (M(P, dn), M(r, wo), M(r, Nt))), s.ADD_TAGS && (P === fe && (P = ot(P)), M(P, s.ADD_TAGS, Q)), s.ADD_ATTR && (r === a && (r = ot(r)), M(r, s.ADD_ATTR, Q)), s.ADD_URI_SAFE_ATTR && M(Qt, s.ADD_URI_SAFE_ATTR, Q), s.FORBID_CONTENTS && (Qe === Nn && (Qe = ot(Qe)), M(Qe, s.FORBID_CONTENTS, Q)), Zt && (P["#text"] = !0), R && M(P, ["html", "head", "body"]), P.table && (M(P, ["tbody"]), delete g.tbody), s.TRUSTED_TYPES_POLICY) {
1739
+ ) : Hn, Qe = "FORBID_CONTENTS" in s ? U({}, s.FORBID_CONTENTS, Q) : Nn, g = "FORBID_TAGS" in s ? U({}, s.FORBID_TAGS, Q) : {}, h = "FORBID_ATTR" in s ? U({}, s.FORBID_ATTR, Q) : {}, Ze = "USE_PROFILES" in s ? s.USE_PROFILES : !1, x = s.ALLOW_ARIA_ATTR !== !1, m = s.ALLOW_DATA_ATTR !== !1, b = s.ALLOW_UNKNOWN_PROTOCOLS || !1, E = s.ALLOW_SELF_CLOSE_IN_ATTR !== !1, C = s.SAFE_FOR_TEMPLATES || !1, R = s.WHOLE_DOCUMENT || !1, le = s.RETURN_DOM || !1, ee = s.RETURN_DOM_FRAGMENT || !1, Pe = s.RETURN_TRUSTED_TYPE || !1, he = s.FORCE_BODY || !1, Un = s.SANITIZE_DOM !== !1, Dn = s.SANITIZE_NAMED_PROPS || !1, Zt = s.KEEP_CONTENT !== !1, mt = s.IN_PLACE || !1, ce = s.ALLOWED_URI_REGEXP || lr, et = s.NAMESPACE || Be, d = s.CUSTOM_ELEMENT_HANDLING || {}, s.CUSTOM_ELEMENT_HANDLING && zn(s.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (d.tagNameCheck = s.CUSTOM_ELEMENT_HANDLING.tagNameCheck), s.CUSTOM_ELEMENT_HANDLING && zn(s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (d.attributeNameCheck = s.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), s.CUSTOM_ELEMENT_HANDLING && typeof s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (d.allowCustomizedBuiltInElements = s.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), C && (m = !1), ee && (le = !0), Ze && (P = U({}, [...vo]), r = [], Ze.html === !0 && (U(P, bo), U(r, yo)), Ze.svg === !0 && (U(P, ln), U(r, fn), U(r, Nt)), Ze.svgFilters === !0 && (U(P, un), U(r, fn), U(r, Nt)), Ze.mathMl === !0 && (U(P, dn), U(r, wo), U(r, Nt))), s.ADD_TAGS && (P === fe && (P = ot(P)), U(P, s.ADD_TAGS, Q)), s.ADD_ATTR && (r === a && (r = ot(r)), U(r, s.ADD_ATTR, Q)), s.ADD_URI_SAFE_ATTR && U(Qt, s.ADD_URI_SAFE_ATTR, Q), s.FORBID_CONTENTS && (Qe === Nn && (Qe = ot(Qe)), U(Qe, s.FORBID_CONTENTS, Q)), Zt && (P["#text"] = !0), R && U(P, ["html", "head", "body"]), P.table && (U(P, ["tbody"]), delete g.tbody), s.TRUSTED_TYPES_POLICY) {
1740
1740
  if (typeof s.TRUSTED_TYPES_POLICY.createHTML != "function")
1741
1741
  throw yt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1742
1742
  if (typeof s.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -1746,10 +1746,10 @@ function dr() {
1746
1746
  N === void 0 && (N = Ga(z, i)), N !== null && typeof ye == "string" && (ye = N.createHTML(""));
1747
1747
  ue && ue(s), tt = s;
1748
1748
  }
1749
- }, Vn = M({}, ["mi", "mo", "mn", "ms", "mtext"]), Wn = M({}, ["foreignobject", "desc", "title", "annotation-xml"]), wr = M({}, ["title", "style", "font", "a", "script"]), Bt = M({}, ln);
1750
- M(Bt, un), M(Bt, Da);
1751
- const on = M({}, dn);
1752
- M(on, Na);
1749
+ }, Vn = U({}, ["mi", "mo", "mn", "ms", "mtext"]), Wn = U({}, ["foreignobject", "desc", "title", "annotation-xml"]), wr = U({}, ["title", "style", "font", "a", "script"]), Bt = U({}, ln);
1750
+ U(Bt, un), U(Bt, Da);
1751
+ const on = U({}, dn);
1752
+ U(on, Na);
1753
1753
  const kr = function(s) {
1754
1754
  let v = de(s);
1755
1755
  (!v || !v.tagName) && (v = {
@@ -1819,7 +1819,7 @@ function dr() {
1819
1819
  s.ownerDocument || s,
1820
1820
  s,
1821
1821
  // eslint-disable-next-line no-bitwise
1822
- D.SHOW_ELEMENT | D.SHOW_COMMENT | D.SHOW_TEXT,
1822
+ F.SHOW_ELEMENT | F.SHOW_COMMENT | F.SHOW_TEXT,
1823
1823
  null
1824
1824
  );
1825
1825
  }, Ar = function(s) {
@@ -1861,7 +1861,7 @@ function dr() {
1861
1861
  }, Jn = function(s, v, T) {
1862
1862
  if (Un && (v === "id" || v === "name") && (T in n || T in yr))
1863
1863
  return !1;
1864
- if (!(m && !h[v] && we(F, v))) {
1864
+ if (!(m && !h[v] && we(B, v))) {
1865
1865
  if (!(x && we(q, v))) {
1866
1866
  if (!r[v] || h[v]) {
1867
1867
  if (
@@ -2059,19 +2059,19 @@ const Ja = new Ya(), Xa = () => Ja, Za = ["data-cor"], Qa = /* @__PURE__ */ Ne({
2059
2059
  }
2060
2060
  function w() {
2061
2061
  const u = sessionStorage.getItem("name");
2062
- let D = "?";
2062
+ let F = "?";
2063
2063
  if (!u)
2064
- return D;
2064
+ return F;
2065
2065
  const W = u.split(" ").filter((ae) => ae.length > 0).map((ae) => ae[0].toUpperCase()), Y = Math.min(2, W.length);
2066
- return D = W.slice(0, Y).join(""), D.length > 0 ? D : "?";
2066
+ return F = W.slice(0, Y).join(""), F.length > 0 ? F : "?";
2067
2067
  }
2068
2068
  const L = Sr(() => {
2069
- const u = o.value[0], D = u === "?" ? 0 : (u.charCodeAt(0) - 64) % 19;
2070
- return Math.max(D, 0);
2069
+ const u = o.value[0], F = u === "?" ? 0 : (u.charCodeAt(0) - 64) % 19;
2070
+ return Math.max(F, 0);
2071
2071
  });
2072
2072
  return Wt(() => {
2073
2073
  o.value = w();
2074
- }), (u, D) => (X(), Ae("div", {
2074
+ }), (u, F) => (X(), Ae("div", {
2075
2075
  id: "sf-header-avatar",
2076
2076
  "data-cor": L.value,
2077
2077
  onClick: c
@@ -2202,11 +2202,11 @@ const An = (() => new ic())(), ac = /* @__PURE__ */ Lr('<svg xmlns="http://www.w
2202
2202
  to: e.href,
2203
2203
  custom: ""
2204
2204
  }, {
2205
- default: Eo(({ href: L, navigate: u, isExactActive: D, isActive: W }) => [
2205
+ default: Eo(({ href: L, navigate: u, isExactActive: F, isActive: W }) => [
2206
2206
  j("a", {
2207
2207
  class: "sf-navmenulink",
2208
2208
  href: L,
2209
- "data-active": e.exact ? D : W,
2209
+ "data-active": e.exact ? F : W,
2210
2210
  onClick: (Y) => o(Y, u)
2211
2211
  }, [
2212
2212
  e.icon ? (X(), ut(Ht, {
@@ -2325,8 +2325,8 @@ const An = (() => new ic())(), ac = /* @__PURE__ */ Lr('<svg xmlns="http://www.w
2325
2325
  L();
2326
2326
  }), i = it(!1), c = it(!1);
2327
2327
  function w(u = !1) {
2328
- const D = n.value.clientWidth;
2329
- n.value.scrollLeft += u ? -D : D;
2328
+ const F = n.value.clientWidth;
2329
+ n.value.scrollLeft += u ? -F : F;
2330
2330
  }
2331
2331
  function L() {
2332
2332
  const u = n.value.scrollWidth - n.value.clientWidth;
@@ -2343,12 +2343,12 @@ const An = (() => new ic())(), ac = /* @__PURE__ */ Lr('<svg xmlns="http://www.w
2343
2343
  ), o.unobserve(n.value), o.disconnect();
2344
2344
  } catch {
2345
2345
  }
2346
- }), (u, D) => {
2346
+ }), (u, F) => {
2347
2347
  const W = Co("RouterLink");
2348
2348
  return X(), Ae("div", kc, [
2349
2349
  j("div", {
2350
2350
  class: ke(["left-arrow", { active: i.value }]),
2351
- onClick: D[0] || (D[0] = (Y) => w(!0))
2351
+ onClick: F[0] || (F[0] = (Y) => w(!0))
2352
2352
  }, _c, 2),
2353
2353
  j("ul", {
2354
2354
  ref_key: "trackerContainer",
@@ -2378,7 +2378,7 @@ const An = (() => new ic())(), ac = /* @__PURE__ */ Lr('<svg xmlns="http://www.w
2378
2378
  ], 512),
2379
2379
  j("div", {
2380
2380
  class: ke(["right-arrow", { active: c.value }]),
2381
- onClick: D[1] || (D[1] = (Y) => w())
2381
+ onClick: F[1] || (F[1] = (Y) => w())
2382
2382
  }, Tc, 2)
2383
2383
  ]);
2384
2384
  };
@@ -2527,7 +2527,7 @@ const Hc = {}, jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2527
2527
  o.JS_SHA256_NO_WINDOW && (n = !1);
2528
2528
  var i = !n && typeof self == "object", c = !o.JS_SHA256_NO_NODE_JS && typeof process == "object" && process.versions && process.versions.node;
2529
2529
  c ? o = Ic : i && (o = self);
2530
- var w = !o.JS_SHA256_NO_COMMON_JS && !0 && t.exports, L = !o.JS_SHA256_NO_ARRAY_BUFFER && typeof ArrayBuffer < "u", u = "0123456789abcdef".split(""), D = [-2147483648, 8388608, 32768, 128], W = [24, 16, 8, 0], Y = [
2530
+ var w = !o.JS_SHA256_NO_COMMON_JS && !0 && t.exports, L = !o.JS_SHA256_NO_ARRAY_BUFFER && typeof ArrayBuffer < "u", u = "0123456789abcdef".split(""), F = [-2147483648, 8388608, 32768, 128], W = [24, 16, 8, 0], Y = [
2531
2531
  1116352408,
2532
2532
  1899447441,
2533
2533
  3049323471,
@@ -2677,22 +2677,22 @@ const Hc = {}, jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2677
2677
  if (!this.finalized) {
2678
2678
  this.finalized = !0;
2679
2679
  var f = this.blocks, A = this.lastByteIndex;
2680
- f[16] = this.block, f[A >> 2] |= D[A & 3], this.block = f[16], A >= 56 && (this.hashed || this.hash(), f[0] = this.block, f[16] = f[1] = f[2] = f[3] = f[4] = f[5] = f[6] = f[7] = f[8] = f[9] = f[10] = f[11] = f[12] = f[13] = f[14] = f[15] = 0), f[14] = this.hBytes << 3 | this.bytes >>> 29, f[15] = this.bytes << 3, this.hash();
2680
+ f[16] = this.block, f[A >> 2] |= F[A & 3], this.block = f[16], A >= 56 && (this.hashed || this.hash(), f[0] = this.block, f[16] = f[1] = f[2] = f[3] = f[4] = f[5] = f[6] = f[7] = f[8] = f[9] = f[10] = f[11] = f[12] = f[13] = f[14] = f[15] = 0), f[14] = this.hBytes << 3 | this.bytes >>> 29, f[15] = this.bytes << 3, this.hash();
2681
2681
  }
2682
2682
  }, N.prototype.hash = function() {
2683
- var f = this.h0, A = this.h1, I = this.h2, _ = this.h3, k = this.h4, y = this.h5, O = this.h6, p = this.h7, F = this.blocks, q, J, G, ce, P, fe, r, a, d, g, h;
2683
+ var f = this.h0, A = this.h1, I = this.h2, _ = this.h3, k = this.h4, y = this.h5, O = this.h6, p = this.h7, B = this.blocks, q, J, G, ce, P, fe, r, a, d, g, h;
2684
2684
  for (q = 16; q < 64; ++q)
2685
- P = F[q - 15], J = (P >>> 7 | P << 25) ^ (P >>> 18 | P << 14) ^ P >>> 3, P = F[q - 2], G = (P >>> 17 | P << 15) ^ (P >>> 19 | P << 13) ^ P >>> 10, F[q] = F[q - 16] + J + F[q - 7] + G << 0;
2685
+ P = B[q - 15], J = (P >>> 7 | P << 25) ^ (P >>> 18 | P << 14) ^ P >>> 3, P = B[q - 2], G = (P >>> 17 | P << 15) ^ (P >>> 19 | P << 13) ^ P >>> 10, B[q] = B[q - 16] + J + B[q - 7] + G << 0;
2686
2686
  for (h = A & I, q = 0; q < 64; q += 4)
2687
- this.first ? (this.is224 ? (a = 300032, P = F[0] - 1413257819, p = P - 150054599 << 0, _ = P + 24177077 << 0) : (a = 704751109, P = F[0] - 210244248, p = P - 1521486534 << 0, _ = P + 143694565 << 0), this.first = !1) : (J = (f >>> 2 | f << 30) ^ (f >>> 13 | f << 19) ^ (f >>> 22 | f << 10), G = (k >>> 6 | k << 26) ^ (k >>> 11 | k << 21) ^ (k >>> 25 | k << 7), a = f & A, ce = a ^ f & I ^ h, r = k & y ^ ~k & O, P = p + G + r + Y[q] + F[q], fe = J + ce, p = _ + P << 0, _ = P + fe << 0), J = (_ >>> 2 | _ << 30) ^ (_ >>> 13 | _ << 19) ^ (_ >>> 22 | _ << 10), G = (p >>> 6 | p << 26) ^ (p >>> 11 | p << 21) ^ (p >>> 25 | p << 7), d = _ & f, ce = d ^ _ & A ^ a, r = p & k ^ ~p & y, P = O + G + r + Y[q + 1] + F[q + 1], fe = J + ce, O = I + P << 0, I = P + fe << 0, J = (I >>> 2 | I << 30) ^ (I >>> 13 | I << 19) ^ (I >>> 22 | I << 10), G = (O >>> 6 | O << 26) ^ (O >>> 11 | O << 21) ^ (O >>> 25 | O << 7), g = I & _, ce = g ^ I & f ^ d, r = O & p ^ ~O & k, P = y + G + r + Y[q + 2] + F[q + 2], fe = J + ce, y = A + P << 0, A = P + fe << 0, J = (A >>> 2 | A << 30) ^ (A >>> 13 | A << 19) ^ (A >>> 22 | A << 10), G = (y >>> 6 | y << 26) ^ (y >>> 11 | y << 21) ^ (y >>> 25 | y << 7), h = A & I, ce = h ^ A & _ ^ g, r = y & O ^ ~y & p, P = k + G + r + Y[q + 3] + F[q + 3], fe = J + ce, k = f + P << 0, f = P + fe << 0, this.chromeBugWorkAround = !0;
2687
+ this.first ? (this.is224 ? (a = 300032, P = B[0] - 1413257819, p = P - 150054599 << 0, _ = P + 24177077 << 0) : (a = 704751109, P = B[0] - 210244248, p = P - 1521486534 << 0, _ = P + 143694565 << 0), this.first = !1) : (J = (f >>> 2 | f << 30) ^ (f >>> 13 | f << 19) ^ (f >>> 22 | f << 10), G = (k >>> 6 | k << 26) ^ (k >>> 11 | k << 21) ^ (k >>> 25 | k << 7), a = f & A, ce = a ^ f & I ^ h, r = k & y ^ ~k & O, P = p + G + r + Y[q] + B[q], fe = J + ce, p = _ + P << 0, _ = P + fe << 0), J = (_ >>> 2 | _ << 30) ^ (_ >>> 13 | _ << 19) ^ (_ >>> 22 | _ << 10), G = (p >>> 6 | p << 26) ^ (p >>> 11 | p << 21) ^ (p >>> 25 | p << 7), d = _ & f, ce = d ^ _ & A ^ a, r = p & k ^ ~p & y, P = O + G + r + Y[q + 1] + B[q + 1], fe = J + ce, O = I + P << 0, I = P + fe << 0, J = (I >>> 2 | I << 30) ^ (I >>> 13 | I << 19) ^ (I >>> 22 | I << 10), G = (O >>> 6 | O << 26) ^ (O >>> 11 | O << 21) ^ (O >>> 25 | O << 7), g = I & _, ce = g ^ I & f ^ d, r = O & p ^ ~O & k, P = y + G + r + Y[q + 2] + B[q + 2], fe = J + ce, y = A + P << 0, A = P + fe << 0, J = (A >>> 2 | A << 30) ^ (A >>> 13 | A << 19) ^ (A >>> 22 | A << 10), G = (y >>> 6 | y << 26) ^ (y >>> 11 | y << 21) ^ (y >>> 25 | y << 7), h = A & I, ce = h ^ A & _ ^ g, r = y & O ^ ~y & p, P = k + G + r + Y[q + 3] + B[q + 3], fe = J + ce, k = f + P << 0, f = P + fe << 0, this.chromeBugWorkAround = !0;
2688
2688
  this.h0 = this.h0 + f << 0, this.h1 = this.h1 + A << 0, this.h2 = this.h2 + I << 0, this.h3 = this.h3 + _ << 0, this.h4 = this.h4 + k << 0, this.h5 = this.h5 + y << 0, this.h6 = this.h6 + O << 0, this.h7 = this.h7 + p << 0;
2689
2689
  }, N.prototype.hex = function() {
2690
2690
  this.finalize();
2691
- var f = this.h0, A = this.h1, I = this.h2, _ = this.h3, k = this.h4, y = this.h5, O = this.h6, p = this.h7, F = u[f >> 28 & 15] + u[f >> 24 & 15] + u[f >> 20 & 15] + u[f >> 16 & 15] + u[f >> 12 & 15] + u[f >> 8 & 15] + u[f >> 4 & 15] + u[f & 15] + u[A >> 28 & 15] + u[A >> 24 & 15] + u[A >> 20 & 15] + u[A >> 16 & 15] + u[A >> 12 & 15] + u[A >> 8 & 15] + u[A >> 4 & 15] + u[A & 15] + u[I >> 28 & 15] + u[I >> 24 & 15] + u[I >> 20 & 15] + u[I >> 16 & 15] + u[I >> 12 & 15] + u[I >> 8 & 15] + u[I >> 4 & 15] + u[I & 15] + u[_ >> 28 & 15] + u[_ >> 24 & 15] + u[_ >> 20 & 15] + u[_ >> 16 & 15] + u[_ >> 12 & 15] + u[_ >> 8 & 15] + u[_ >> 4 & 15] + u[_ & 15] + u[k >> 28 & 15] + u[k >> 24 & 15] + u[k >> 20 & 15] + u[k >> 16 & 15] + u[k >> 12 & 15] + u[k >> 8 & 15] + u[k >> 4 & 15] + u[k & 15] + u[y >> 28 & 15] + u[y >> 24 & 15] + u[y >> 20 & 15] + u[y >> 16 & 15] + u[y >> 12 & 15] + u[y >> 8 & 15] + u[y >> 4 & 15] + u[y & 15] + u[O >> 28 & 15] + u[O >> 24 & 15] + u[O >> 20 & 15] + u[O >> 16 & 15] + u[O >> 12 & 15] + u[O >> 8 & 15] + u[O >> 4 & 15] + u[O & 15];
2692
- return this.is224 || (F += u[p >> 28 & 15] + u[p >> 24 & 15] + u[p >> 20 & 15] + u[p >> 16 & 15] + u[p >> 12 & 15] + u[p >> 8 & 15] + u[p >> 4 & 15] + u[p & 15]), F;
2691
+ var f = this.h0, A = this.h1, I = this.h2, _ = this.h3, k = this.h4, y = this.h5, O = this.h6, p = this.h7, B = u[f >> 28 & 15] + u[f >> 24 & 15] + u[f >> 20 & 15] + u[f >> 16 & 15] + u[f >> 12 & 15] + u[f >> 8 & 15] + u[f >> 4 & 15] + u[f & 15] + u[A >> 28 & 15] + u[A >> 24 & 15] + u[A >> 20 & 15] + u[A >> 16 & 15] + u[A >> 12 & 15] + u[A >> 8 & 15] + u[A >> 4 & 15] + u[A & 15] + u[I >> 28 & 15] + u[I >> 24 & 15] + u[I >> 20 & 15] + u[I >> 16 & 15] + u[I >> 12 & 15] + u[I >> 8 & 15] + u[I >> 4 & 15] + u[I & 15] + u[_ >> 28 & 15] + u[_ >> 24 & 15] + u[_ >> 20 & 15] + u[_ >> 16 & 15] + u[_ >> 12 & 15] + u[_ >> 8 & 15] + u[_ >> 4 & 15] + u[_ & 15] + u[k >> 28 & 15] + u[k >> 24 & 15] + u[k >> 20 & 15] + u[k >> 16 & 15] + u[k >> 12 & 15] + u[k >> 8 & 15] + u[k >> 4 & 15] + u[k & 15] + u[y >> 28 & 15] + u[y >> 24 & 15] + u[y >> 20 & 15] + u[y >> 16 & 15] + u[y >> 12 & 15] + u[y >> 8 & 15] + u[y >> 4 & 15] + u[y & 15] + u[O >> 28 & 15] + u[O >> 24 & 15] + u[O >> 20 & 15] + u[O >> 16 & 15] + u[O >> 12 & 15] + u[O >> 8 & 15] + u[O >> 4 & 15] + u[O & 15];
2692
+ return this.is224 || (B += u[p >> 28 & 15] + u[p >> 24 & 15] + u[p >> 20 & 15] + u[p >> 16 & 15] + u[p >> 12 & 15] + u[p >> 8 & 15] + u[p >> 4 & 15] + u[p & 15]), B;
2693
2693
  }, N.prototype.toString = N.prototype.hex, N.prototype.digest = function() {
2694
2694
  this.finalize();
2695
- var f = this.h0, A = this.h1, I = this.h2, _ = this.h3, k = this.h4, y = this.h5, O = this.h6, p = this.h7, F = [
2695
+ var f = this.h0, A = this.h1, I = this.h2, _ = this.h3, k = this.h4, y = this.h5, O = this.h6, p = this.h7, B = [
2696
2696
  f >> 24 & 255,
2697
2697
  f >> 16 & 255,
2698
2698
  f >> 8 & 255,
@@ -2722,7 +2722,7 @@ const Hc = {}, jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2722
2722
  O >> 8 & 255,
2723
2723
  O & 255
2724
2724
  ];
2725
- return this.is224 || F.push(p >> 24 & 255, p >> 16 & 255, p >> 8 & 255, p & 255), F;
2725
+ return this.is224 || B.push(p >> 24 & 255, p >> 16 & 255, p >> 8 & 255, p & 255), B;
2726
2726
  }, N.prototype.array = N.prototype.digest, N.prototype.arrayBuffer = function() {
2727
2727
  this.finalize();
2728
2728
  var f = new ArrayBuffer(this.is224 ? 28 : 32), A = new DataView(f);
@@ -2731,9 +2731,9 @@ const Hc = {}, jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2731
2731
  function ye(f, A, I) {
2732
2732
  var _, k = typeof f;
2733
2733
  if (k === "string") {
2734
- var y = [], O = f.length, p = 0, F;
2734
+ var y = [], O = f.length, p = 0, B;
2735
2735
  for (_ = 0; _ < O; ++_)
2736
- F = f.charCodeAt(_), F < 128 ? y[p++] = F : F < 2048 ? (y[p++] = 192 | F >> 6, y[p++] = 128 | F & 63) : F < 55296 || F >= 57344 ? (y[p++] = 224 | F >> 12, y[p++] = 128 | F >> 6 & 63, y[p++] = 128 | F & 63) : (F = 65536 + ((F & 1023) << 10 | f.charCodeAt(++_) & 1023), y[p++] = 240 | F >> 18, y[p++] = 128 | F >> 12 & 63, y[p++] = 128 | F >> 6 & 63, y[p++] = 128 | F & 63);
2736
+ B = f.charCodeAt(_), B < 128 ? y[p++] = B : B < 2048 ? (y[p++] = 192 | B >> 6, y[p++] = 128 | B & 63) : B < 55296 || B >= 57344 ? (y[p++] = 224 | B >> 12, y[p++] = 128 | B >> 6 & 63, y[p++] = 128 | B & 63) : (B = 65536 + ((B & 1023) << 10 | f.charCodeAt(++_) & 1023), y[p++] = 240 | B >> 18, y[p++] = 128 | B >> 12 & 63, y[p++] = 128 | B >> 6 & 63, y[p++] = 128 | B & 63);
2737
2737
  f = y;
2738
2738
  } else if (k === "object") {
2739
2739
  if (f === null)
@@ -2824,7 +2824,7 @@ function pr(t) {
2824
2824
  interval: 5
2825
2825
  }, w = document.getElementsByTagName("script"), L = 0; L < w.length; L++)
2826
2826
  (w[L].src.indexOf("keycloak.js") !== -1 || w[L].src.indexOf("keycloak.min.js") !== -1) && w[L].src.indexOf("version=") !== -1 && (e.iframeVersion = w[L].src.substring(w[L].src.indexOf("version=") + 8).split("&")[0]);
2827
- var u = !0, D = fe(console.info), W = fe(console.warn);
2827
+ var u = !0, F = fe(console.info), W = fe(console.warn);
2828
2828
  e.init = function(r) {
2829
2829
  if (e.didInitialize)
2830
2830
  throw new Error("A 'Keycloak' instance can only be initialized once.");
@@ -2888,7 +2888,7 @@ function pr(t) {
2888
2888
  switch (r.onLoad) {
2889
2889
  case "check-sso":
2890
2890
  c.enable ? O().then(function() {
2891
- F().then(function($) {
2891
+ B().then(function($) {
2892
2892
  $ ? g.setSuccess() : e.silentCheckSsoRedirectUri ? C() : E(!1);
2893
2893
  }).catch(function($) {
2894
2894
  g.setError($);
@@ -2911,7 +2911,7 @@ function pr(t) {
2911
2911
  g.setError(C);
2912
2912
  });
2913
2913
  r ? r.token && r.refreshToken ? (Z(r.token, r.refreshToken, r.idToken), c.enable ? O().then(function() {
2914
- F().then(function(C) {
2914
+ B().then(function(C) {
2915
2915
  C ? (e.onAuthSuccess && e.onAuthSuccess(), g.setSuccess(), p()) : g.setSuccess();
2916
2916
  }).catch(function(C) {
2917
2917
  g.setError(C);
@@ -3035,7 +3035,7 @@ function pr(t) {
3035
3035
  if (!e.tokenParsed || !e.refreshToken && e.flow != "implicit")
3036
3036
  throw "Not authenticated";
3037
3037
  if (e.timeSkew == null)
3038
- return D("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"), !0;
3038
+ return F("[KEYCLOAK] Unable to determine if token is expired as timeskew is not set"), !0;
3039
3039
  var a = e.tokenParsed.exp - Math.ceil((/* @__PURE__ */ new Date()).getTime() / 1e3) + e.timeSkew;
3040
3040
  if (r) {
3041
3041
  if (isNaN(r))
@@ -3050,7 +3050,7 @@ function pr(t) {
3050
3050
  r = r || 5;
3051
3051
  var d = function() {
3052
3052
  var h = !1;
3053
- if (r == -1 ? (h = !0, D("[KEYCLOAK] Refreshing token: forced refresh")) : (!e.tokenParsed || e.isTokenExpired(r)) && (h = !0, D("[KEYCLOAK] Refreshing token: token expired")), !h)
3053
+ if (r == -1 ? (h = !0, F("[KEYCLOAK] Refreshing token: forced refresh")) : (!e.tokenParsed || e.isTokenExpired(r)) && (h = !0, F("[KEYCLOAK] Refreshing token: token expired")), !h)
3054
3054
  a.setSuccess(!1);
3055
3055
  else {
3056
3056
  var x = "grant_type=refresh_token&refresh_token=" + e.refreshToken, m = e.endpoints.token();
@@ -3061,7 +3061,7 @@ function pr(t) {
3061
3061
  b.onreadystatechange = function() {
3062
3062
  if (b.readyState == 4)
3063
3063
  if (b.status == 200) {
3064
- D("[KEYCLOAK] Token refreshed"), E = (E + (/* @__PURE__ */ new Date()).getTime()) / 2;
3064
+ F("[KEYCLOAK] Token refreshed"), E = (E + (/* @__PURE__ */ new Date()).getTime()) / 2;
3065
3065
  var C = JSON.parse(b.responseText);
3066
3066
  Z(C.access_token, C.refresh_token, C.id_token, E), e.onAuthRefreshSuccess && e.onAuthRefreshSuccess();
3067
3067
  for (var R = o.pop(); R != null; R = o.pop())
@@ -3076,7 +3076,7 @@ function pr(t) {
3076
3076
  }
3077
3077
  };
3078
3078
  if (c.enable) {
3079
- var g = F();
3079
+ var g = B();
3080
3080
  g.then(function() {
3081
3081
  d();
3082
3082
  }).catch(function(h) {
@@ -3118,7 +3118,7 @@ function pr(t) {
3118
3118
  }, C.send(b);
3119
3119
  }
3120
3120
  function R($, he, le, ee) {
3121
- x = (x + (/* @__PURE__ */ new Date()).getTime()) / 2, Z($, he, le, x), u && (e.tokenParsed && e.tokenParsed.nonce != r.storedNonce || e.refreshTokenParsed && e.refreshTokenParsed.nonce != r.storedNonce || e.idTokenParsed && e.idTokenParsed.nonce != r.storedNonce) ? (D("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), a && a.setError()) : ee && (e.onAuthSuccess && e.onAuthSuccess(), a && a.setSuccess());
3121
+ x = (x + (/* @__PURE__ */ new Date()).getTime()) / 2, Z($, he, le, x), u && (e.tokenParsed && e.tokenParsed.nonce != r.storedNonce || e.refreshTokenParsed && e.refreshTokenParsed.nonce != r.storedNonce || e.idTokenParsed && e.idTokenParsed.nonce != r.storedNonce) ? (F("[KEYCLOAK] Invalid nonce, clearing token"), e.clearToken(), a && a.setError()) : ee && (e.onAuthSuccess && e.onAuthSuccess(), a && a.setSuccess());
3122
3122
  }
3123
3123
  }
3124
3124
  function N(r) {
@@ -3226,9 +3226,9 @@ function pr(t) {
3226
3226
  }
3227
3227
  function Z(r, a, d, g) {
3228
3228
  if (e.tokenTimeoutHandle && (clearTimeout(e.tokenTimeoutHandle), e.tokenTimeoutHandle = null), a ? (e.refreshToken = a, e.refreshTokenParsed = pn(a)) : (delete e.refreshToken, delete e.refreshTokenParsed), d ? (e.idToken = d, e.idTokenParsed = pn(d)) : (delete e.idToken, delete e.idTokenParsed), r) {
3229
- if (e.token = r, e.tokenParsed = pn(r), e.sessionId = e.tokenParsed.session_state, e.authenticated = !0, e.subject = e.tokenParsed.sub, e.realmAccess = e.tokenParsed.realm_access, e.resourceAccess = e.tokenParsed.resource_access, g && (e.timeSkew = Math.floor(g / 1e3) - e.tokenParsed.iat), e.timeSkew != null && (D("[KEYCLOAK] Estimated time difference between browser and server is " + e.timeSkew + " seconds"), e.onTokenExpired)) {
3229
+ if (e.token = r, e.tokenParsed = pn(r), e.sessionId = e.tokenParsed.session_state, e.authenticated = !0, e.subject = e.tokenParsed.sub, e.realmAccess = e.tokenParsed.realm_access, e.resourceAccess = e.tokenParsed.resource_access, g && (e.timeSkew = Math.floor(g / 1e3) - e.tokenParsed.iat), e.timeSkew != null && (F("[KEYCLOAK] Estimated time difference between browser and server is " + e.timeSkew + " seconds"), e.onTokenExpired)) {
3230
3230
  var h = (e.tokenParsed.exp - (/* @__PURE__ */ new Date()).getTime() / 1e3 + e.timeSkew) * 1e3;
3231
- D("[KEYCLOAK] Token expires in " + Math.round(h / 1e3) + " s"), h <= 0 ? e.onTokenExpired() : e.tokenTimeoutHandle = setTimeout(e.onTokenExpired, h);
3231
+ F("[KEYCLOAK] Token expires in " + Math.round(h / 1e3) + " s"), h <= 0 ? e.onTokenExpired() : e.tokenTimeoutHandle = setTimeout(e.onTokenExpired, h);
3232
3232
  }
3233
3233
  } else
3234
3234
  delete e.token, delete e.tokenParsed, delete e.subject, delete e.realmAccess, delete e.resourceAccess, e.authenticated = !1;
@@ -3326,12 +3326,12 @@ function pr(t) {
3326
3326
  }
3327
3327
  function p() {
3328
3328
  c.enable && e.token && setTimeout(function() {
3329
- F().then(function(r) {
3329
+ B().then(function(r) {
3330
3330
  r && p();
3331
3331
  });
3332
3332
  }, c.interval * 1e3);
3333
3333
  }
3334
- function F() {
3334
+ function B() {
3335
3335
  var r = k();
3336
3336
  if (c.iframe && c.iframeOrigin) {
3337
3337
  var a = e.clientId + " " + (e.sessionId ? e.sessionId : "");
@@ -3574,11 +3574,11 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
3574
3574
  }
3575
3575
  }
3576
3576
  function Kc(t) {
3577
- const e = new pr(t), n = {}, o = (w, L) => {
3578
- e.init({ onLoad: "login-required" }).then(async (u) => {
3579
- u && await i(), w();
3580
- }).catch((u) => {
3581
- L(u);
3577
+ const e = new pr(t), n = {}, o = (w, L, u) => {
3578
+ e.init(w).then(async (F) => {
3579
+ F && await i(), L();
3580
+ }).catch((F) => {
3581
+ u(F);
3582
3582
  });
3583
3583
  }, i = async () => {
3584
3584
  const w = await e.loadUserInfo();