@tapni/auth 0.0.86 → 0.0.87

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.
@@ -1,4 +1,4 @@
1
- import { reactive as Ko, readonly as Go, resolveComponent as Dt, openBlock as S, createElementBlock as P, createElementVNode as y, toDisplayString as z, createCommentVNode as ne, createVNode as ke, withCtx as nt, createTextVNode as se, pushScopeId as Ht, popScopeId as qt, createStaticVNode as Vo, nextTick as vr, withModifiers as Oe, normalizeStyle as Ot, withDirectives as me, withKeys as kt, vModelText as wt, vModelDynamic as dn, vShow as mt, createBlock as qe, normalizeClass as Ie, unref as Qo } from "vue";
1
+ import { reactive as Ko, readonly as Go, resolveComponent as Dt, openBlock as S, createElementBlock as P, createElementVNode as y, toDisplayString as z, createCommentVNode as te, createVNode as ke, withCtx as nt, createTextVNode as se, pushScopeId as Ht, popScopeId as qt, createStaticVNode as Vo, nextTick as vr, withModifiers as Oe, normalizeStyle as Ot, withDirectives as me, withKeys as kt, vModelText as wt, vModelDynamic as un, vShow as mt, createBlock as qe, normalizeClass as Ie, unref as Qo } from "vue";
2
2
  import { RouterView as Yo } from "vue-router";
3
3
  import Z from "await-to-js";
4
4
  import Xn from "axios";
@@ -8,7 +8,7 @@ import { Capacitor as Qt, registerPlugin as In, WebPlugin as Wo } from "@capacit
8
8
  import { Browser as hn } from "@capacitor/browser";
9
9
  import $o from "qr-code-styling";
10
10
  import { sanitizeUrl as Jo } from "@braintree/sanitize-url";
11
- const Xo = "0.0.86";
11
+ const Xo = "0.0.87";
12
12
  let Un;
13
13
  const Ft = {
14
14
  setApiRootFromOptions(n) {
@@ -39,9 +39,9 @@ const Ft = {
39
39
  lang: n.appLanguage,
40
40
  realm: n.realm || "app"
41
41
  } : {}
42
- }), console.log("before interceptor enter", n, e), n && n.token && !e) {
42
+ }), n && n.token && !e) {
43
43
  const a = qr(n.token);
44
- if (console.log("interceptor enter", a, a.exp - 30 < Math.floor(Date.now() / 1e3)), a.exp - 30 < Math.floor(Date.now() / 1e3))
44
+ if (a.exp - 30 < Math.floor(Date.now() / 1e3))
45
45
  return ze.methods.refreshTokenAction(a).then((s) => (i.headers = {
46
46
  ...i.headers,
47
47
  Authorization: `Bearer ${s}`
@@ -4682,7 +4682,7 @@ const ze = {
4682
4682
  type: "video/mp4"
4683
4683
  }, null, -1)), ai = [
4684
4684
  ii
4685
- ], si = { class: "bold full-top no-bottom center-text" }, ci = { class: "full-bottom half-top center-text color-black font-16" }, li = { class: "page-login-links center-text" }, ui = /* @__PURE__ */ $r(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), di = {
4685
+ ], si = { class: "bold full-top no-bottom center-text" }, ci = { class: "full-bottom half-top center-text color-black font-16" }, li = { class: "page-login-links center-text" }, di = /* @__PURE__ */ $r(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), ui = {
4686
4686
  key: 2,
4687
4687
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
4688
4688
  }, pi = /* @__PURE__ */ Vo('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-67088d6f><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-67088d6f></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-67088d6f><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-67088d6f></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-67088d6f><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-67088d6f></a>', 3), hi = [
@@ -4702,8 +4702,8 @@ function mi(n, e, t, r, o, i) {
4702
4702
  }, ai, 8, oi),
4703
4703
  y("h1", si, z(n.ssoLang[this.appLanguage].welcome), 1),
4704
4704
  y("p", ci, z(n.ssoLang[this.appLanguage].welcome_p1), 1),
4705
- ne("", !0),
4706
- ne("", !0),
4705
+ te("", !0),
4706
+ te("", !0),
4707
4707
  ke(a, {
4708
4708
  to: "register",
4709
4709
  exact: "",
@@ -4722,9 +4722,9 @@ function mi(n, e, t, r, o, i) {
4722
4722
  ]),
4723
4723
  _: 1
4724
4724
  }),
4725
- ui
4725
+ di
4726
4726
  ]),
4727
- this.isNative ? ne("", !0) : (S(), P("div", di, hi))
4727
+ this.isNative ? te("", !0) : (S(), P("div", ui, hi))
4728
4728
  ]);
4729
4729
  }
4730
4730
  const Jr = /* @__PURE__ */ We(ni, [["render", mi], ["__scopeId", "data-v-67088d6f"]]), wr = In("GoogleAuth", {
@@ -4922,22 +4922,22 @@ function T(n, e, t, r) {
4922
4922
  });
4923
4923
  }
4924
4924
  return new (t || (t = Promise))(function(i, a) {
4925
- function s(d) {
4925
+ function s(u) {
4926
4926
  try {
4927
- p(r.next(d));
4927
+ p(r.next(u));
4928
4928
  } catch (f) {
4929
4929
  a(f);
4930
4930
  }
4931
4931
  }
4932
- function u(d) {
4932
+ function d(u) {
4933
4933
  try {
4934
- p(r.throw(d));
4934
+ p(r.throw(u));
4935
4935
  } catch (f) {
4936
4936
  a(f);
4937
4937
  }
4938
4938
  }
4939
- function p(d) {
4940
- d.done ? i(d.value) : o(d.value).then(s, u);
4939
+ function p(u) {
4940
+ u.done ? i(u.value) : o(u.value).then(s, d);
4941
4941
  }
4942
4942
  p((r = r.apply(n, e || [])).next());
4943
4943
  });
@@ -4952,11 +4952,11 @@ function I(n, e) {
4952
4952
  return this;
4953
4953
  }), a;
4954
4954
  function s(p) {
4955
- return function(d) {
4956
- return u([p, d]);
4955
+ return function(u) {
4956
+ return d([p, u]);
4957
4957
  };
4958
4958
  }
4959
- function u(p) {
4959
+ function d(p) {
4960
4960
  if (r)
4961
4961
  throw new TypeError("Generator is already executing.");
4962
4962
  for (; t; )
@@ -4997,8 +4997,8 @@ function I(n, e) {
4997
4997
  continue;
4998
4998
  }
4999
4999
  p = e.call(n, t);
5000
- } catch (d) {
5001
- p = [6, d], o = 0;
5000
+ } catch (u) {
5001
+ p = [6, u], o = 0;
5002
5002
  } finally {
5003
5003
  r = i = 0;
5004
5004
  }
@@ -5079,22 +5079,22 @@ function j(n, e, t, r) {
5079
5079
  });
5080
5080
  }
5081
5081
  return new (t || (t = Promise))(function(i, a) {
5082
- function s(d) {
5082
+ function s(u) {
5083
5083
  try {
5084
- p(r.next(d));
5084
+ p(r.next(u));
5085
5085
  } catch (f) {
5086
5086
  a(f);
5087
5087
  }
5088
5088
  }
5089
- function u(d) {
5089
+ function d(u) {
5090
5090
  try {
5091
- p(r.throw(d));
5091
+ p(r.throw(u));
5092
5092
  } catch (f) {
5093
5093
  a(f);
5094
5094
  }
5095
5095
  }
5096
- function p(d) {
5097
- d.done ? i(d.value) : o(d.value).then(s, u);
5096
+ function p(u) {
5097
+ u.done ? i(u.value) : o(u.value).then(s, d);
5098
5098
  }
5099
5099
  p((r = r.apply(n, e || [])).next());
5100
5100
  });
@@ -5109,11 +5109,11 @@ function K(n, e) {
5109
5109
  return this;
5110
5110
  }), a;
5111
5111
  function s(p) {
5112
- return function(d) {
5113
- return u([p, d]);
5112
+ return function(u) {
5113
+ return d([p, u]);
5114
5114
  };
5115
5115
  }
5116
- function u(p) {
5116
+ function d(p) {
5117
5117
  if (r)
5118
5118
  throw new TypeError("Generator is already executing.");
5119
5119
  for (; t; )
@@ -5154,8 +5154,8 @@ function K(n, e) {
5154
5154
  continue;
5155
5155
  }
5156
5156
  p = e.call(n, t);
5157
- } catch (d) {
5158
- p = [6, d], o = 0;
5157
+ } catch (u) {
5158
+ p = [6, u], o = 0;
5159
5159
  } finally {
5160
5160
  r = i = 0;
5161
5161
  }
@@ -5309,10 +5309,10 @@ var ye = {
5309
5309
  OVERFLOW_TRUE: "1",
5310
5310
  OVERFLOW_FALSE: "0",
5311
5311
  UNKNOWN_ERROR: "unknown_error"
5312
- }, te;
5312
+ }, ne;
5313
5313
  (function(n) {
5314
5314
  n.BEARER = "Bearer", n.POP = "pop", n.SSH = "ssh-cert";
5315
- })(te || (te = {}));
5315
+ })(ne || (ne = {}));
5316
5316
  var Jt = {
5317
5317
  // Default time to throttle RequestThumbprint in seconds
5318
5318
  DEFAULT_THROTTLE_TIME_SECONDS: 60,
@@ -5333,10 +5333,10 @@ var Rt;
5333
5333
  (function(n) {
5334
5334
  n[n.httpSuccess = 200] = "httpSuccess", n[n.httpBadRequest = 400] = "httpBadRequest";
5335
5335
  })(Rt || (Rt = {}));
5336
- var dt;
5336
+ var ut;
5337
5337
  (function(n) {
5338
5338
  n.FAILED_AUTO_DETECTION = "1", n.INTERNAL_CACHE = "2", n.ENVIRONMENT_VARIABLE = "3", n.IMDS = "4";
5339
- })(dt || (dt = {}));
5339
+ })(ut || (ut = {}));
5340
5340
  var Xt;
5341
5341
  (function(n) {
5342
5342
  n.CONFIGURED_MATCHES_DETECTED = "1", n.CONFIGURED_NO_AUTO_DETECTION = "2", n.CONFIGURED_NOT_DETECTED = "3", n.AUTO_DETECTION_REQUESTED_SUCCESSFUL = "4", n.AUTO_DETECTION_REQUESTED_FAILED = "5";
@@ -5782,8 +5782,8 @@ var L = (
5782
5782
  };
5783
5783
  return r.forEach(function(i) {
5784
5784
  if (i.trim()) {
5785
- var a = i.split(/=(.+)/g, 2), s = a[0], u = a[1];
5786
- s && u && (t[o(s)] = o(u));
5785
+ var a = i.split(/=(.+)/g, 2), s = a[0], d = a[1];
5786
+ s && d && (t[o(s)] = o(d));
5787
5787
  }
5788
5788
  }), t;
5789
5789
  }, n.trimArrayEntries = function(e) {
@@ -6223,34 +6223,34 @@ var we = (
6223
6223
  e.tenantId || g.EMPTY_STRING
6224
6224
  ];
6225
6225
  return t.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
6226
- }, n.createAccount = function(e, t, r, o, i, a, s, u) {
6227
- var p, d, f, _, k, E, N = new n();
6228
- N.authorityType = ot.MSSTS_ACCOUNT_TYPE, N.clientInfo = e, N.homeAccountId = t, N.nativeAccountId = u;
6226
+ }, n.createAccount = function(e, t, r, o, i, a, s, d) {
6227
+ var p, u, f, _, k, E, N = new n();
6228
+ N.authorityType = ot.MSSTS_ACCOUNT_TYPE, N.clientInfo = e, N.homeAccountId = t, N.nativeAccountId = d;
6229
6229
  var Q = s || o && o.getPreferredCache();
6230
6230
  if (!Q)
6231
6231
  throw O.createInvalidCacheEnvironmentError();
6232
6232
  if (N.environment = Q, N.realm = ((p = r == null ? void 0 : r.claims) === null || p === void 0 ? void 0 : p.tid) || g.EMPTY_STRING, r) {
6233
- N.idTokenClaims = r.claims, N.localAccountId = ((d = r == null ? void 0 : r.claims) === null || d === void 0 ? void 0 : d.oid) || ((f = r == null ? void 0 : r.claims) === null || f === void 0 ? void 0 : f.sub) || g.EMPTY_STRING;
6233
+ N.idTokenClaims = r.claims, N.localAccountId = ((u = r == null ? void 0 : r.claims) === null || u === void 0 ? void 0 : u.oid) || ((f = r == null ? void 0 : r.claims) === null || f === void 0 ? void 0 : f.sub) || g.EMPTY_STRING;
6234
6234
  var X = (_ = r == null ? void 0 : r.claims) === null || _ === void 0 ? void 0 : _.preferred_username, G = !((k = r == null ? void 0 : r.claims) === null || k === void 0) && k.emails ? r.claims.emails[0] : null;
6235
6235
  N.username = X || G || g.EMPTY_STRING, N.name = (E = r == null ? void 0 : r.claims) === null || E === void 0 ? void 0 : E.name;
6236
6236
  }
6237
6237
  return N.cloudGraphHostName = i, N.msGraphHost = a, N;
6238
6238
  }, n.createGenericAccount = function(e, t, r, o, i, a) {
6239
- var s, u, p, d, f = new n();
6239
+ var s, d, p, u, f = new n();
6240
6240
  f.authorityType = r && r.authorityType === Se.Adfs ? ot.ADFS_ACCOUNT_TYPE : ot.GENERIC_ACCOUNT_TYPE, f.homeAccountId = e, f.realm = g.EMPTY_STRING;
6241
6241
  var _ = a || r && r.getPreferredCache();
6242
6242
  if (!_)
6243
6243
  throw O.createInvalidCacheEnvironmentError();
6244
- return t && (f.localAccountId = ((s = t == null ? void 0 : t.claims) === null || s === void 0 ? void 0 : s.oid) || ((u = t == null ? void 0 : t.claims) === null || u === void 0 ? void 0 : u.sub) || g.EMPTY_STRING, f.username = ((p = t == null ? void 0 : t.claims) === null || p === void 0 ? void 0 : p.upn) || g.EMPTY_STRING, f.name = ((d = t == null ? void 0 : t.claims) === null || d === void 0 ? void 0 : d.name) || g.EMPTY_STRING, f.idTokenClaims = t == null ? void 0 : t.claims), f.environment = _, f.cloudGraphHostName = o, f.msGraphHost = i, f;
6244
+ return t && (f.localAccountId = ((s = t == null ? void 0 : t.claims) === null || s === void 0 ? void 0 : s.oid) || ((d = t == null ? void 0 : t.claims) === null || d === void 0 ? void 0 : d.sub) || g.EMPTY_STRING, f.username = ((p = t == null ? void 0 : t.claims) === null || p === void 0 ? void 0 : p.upn) || g.EMPTY_STRING, f.name = ((u = t == null ? void 0 : t.claims) === null || u === void 0 ? void 0 : u.name) || g.EMPTY_STRING, f.idTokenClaims = t == null ? void 0 : t.claims), f.environment = _, f.cloudGraphHostName = o, f.msGraphHost = i, f;
6245
6245
  }, n.generateHomeAccountId = function(e, t, r, o, i) {
6246
6246
  var a, s = !((a = i == null ? void 0 : i.claims) === null || a === void 0) && a.sub ? i.claims.sub : g.EMPTY_STRING;
6247
6247
  if (t === Se.Adfs || t === Se.Dsts)
6248
6248
  return s;
6249
6249
  if (e)
6250
6250
  try {
6251
- var u = vn(e, o);
6252
- if (!L.isEmpty(u.uid) && !L.isEmpty(u.utid))
6253
- return "" + u.uid + fe.CLIENT_INFO_SEPARATOR + u.utid;
6251
+ var d = vn(e, o);
6252
+ if (!L.isEmpty(d.uid) && !L.isEmpty(d.utid))
6253
+ return "" + d.uid + fe.CLIENT_INFO_SEPARATOR + d.utid;
6254
6254
  } catch {
6255
6255
  }
6256
6256
  return r.verbose("No client info in response"), s;
@@ -6351,12 +6351,12 @@ var Me = (
6351
6351
  realm: e.realm,
6352
6352
  tokenType: e.tokenType,
6353
6353
  requestedClaimsHash: e.requestedClaimsHash
6354
- }, r = this.getTokenKeys(), o = Ee.fromString(e.target), i = [], r.accessToken.forEach(function(u) {
6355
- if (a.accessTokenKeyMatchesFilter(u, t, !1)) {
6356
- var p = a.getAccessTokenCredential(u);
6354
+ }, r = this.getTokenKeys(), o = Ee.fromString(e.target), i = [], r.accessToken.forEach(function(d) {
6355
+ if (a.accessTokenKeyMatchesFilter(d, t, !1)) {
6356
+ var p = a.getAccessTokenCredential(d);
6357
6357
  if (p && a.credentialMatchesFilter(p, t)) {
6358
- var d = Ee.fromString(p.target);
6359
- d.intersectingScopeSets(o) && i.push(a.removeAccessToken(u));
6358
+ var u = Ee.fromString(p.target);
6359
+ u.intersectingScopeSets(o) && i.push(a.removeAccessToken(d));
6360
6360
  }
6361
6361
  }
6362
6362
  }), [4, Promise.all(i)];
@@ -6392,7 +6392,7 @@ var Me = (
6392
6392
  return !1;
6393
6393
  return !0;
6394
6394
  }, n.prototype.credentialMatchesFilter = function(e, t) {
6395
- return !(t.clientId && !this.matchClientId(e, t.clientId) || t.userAssertionHash && !this.matchUserAssertionHash(e, t.userAssertionHash) || typeof t.homeAccountId == "string" && !this.matchHomeAccountId(e, t.homeAccountId) || t.environment && !this.matchEnvironment(e, t.environment) || t.realm && !this.matchRealm(e, t.realm) || t.credentialType && !this.matchCredentialType(e, t.credentialType) || t.familyId && !this.matchFamilyId(e, t.familyId) || t.target && !this.matchTarget(e, t.target) || (t.requestedClaimsHash || e.requestedClaimsHash) && e.requestedClaimsHash !== t.requestedClaimsHash || e.credentialType === H.ACCESS_TOKEN_WITH_AUTH_SCHEME && (t.tokenType && !this.matchTokenType(e, t.tokenType) || t.tokenType === te.SSH && t.keyId && !this.matchKeyId(e, t.keyId)));
6395
+ return !(t.clientId && !this.matchClientId(e, t.clientId) || t.userAssertionHash && !this.matchUserAssertionHash(e, t.userAssertionHash) || typeof t.homeAccountId == "string" && !this.matchHomeAccountId(e, t.homeAccountId) || t.environment && !this.matchEnvironment(e, t.environment) || t.realm && !this.matchRealm(e, t.realm) || t.credentialType && !this.matchCredentialType(e, t.credentialType) || t.familyId && !this.matchFamilyId(e, t.familyId) || t.target && !this.matchTarget(e, t.target) || (t.requestedClaimsHash || e.requestedClaimsHash) && e.requestedClaimsHash !== t.requestedClaimsHash || e.credentialType === H.ACCESS_TOKEN_WITH_AUTH_SCHEME && (t.tokenType && !this.matchTokenType(e, t.tokenType) || t.tokenType === ne.SSH && t.keyId && !this.matchKeyId(e, t.keyId)));
6396
6396
  }, n.prototype.getAppMetadataFilteredBy = function(e) {
6397
6397
  return this.getAppMetadataFilteredByInternal(e.environment, e.clientId);
6398
6398
  }, n.prototype.getAppMetadataFilteredByInternal = function(e, t) {
@@ -6479,7 +6479,7 @@ var Me = (
6479
6479
  ];
6480
6480
  if (t.credentialType.toLowerCase() !== H.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())
6481
6481
  return [3, 4];
6482
- if (t.tokenType !== te.POP)
6482
+ if (t.tokenType !== ne.POP)
6483
6483
  return [3, 4];
6484
6484
  if (r = t, o = r.keyId, !o)
6485
6485
  return [3, 4];
@@ -6501,12 +6501,12 @@ var Me = (
6501
6501
  e.isAppMetadata(r) && e.removeItem(r);
6502
6502
  }), !0;
6503
6503
  }, n.prototype.readCacheRecord = function(e, t, r) {
6504
- var o = this.getTokenKeys(), i = this.readAccountFromCache(e), a = this.getIdToken(e, o), s = this.getAccessToken(e, t, o), u = this.getRefreshToken(e, !1, o), p = this.readAppMetadataFromCache(r);
6504
+ var o = this.getTokenKeys(), i = this.readAccountFromCache(e), a = this.getIdToken(e, o), s = this.getAccessToken(e, t, o), d = this.getRefreshToken(e, !1, o), p = this.readAppMetadataFromCache(r);
6505
6505
  return i && a && (i.idTokenClaims = new rt(a.secret, this.cryptoImpl).claims), {
6506
6506
  account: i,
6507
6507
  idToken: a,
6508
6508
  accessToken: s,
6509
- refreshToken: u,
6509
+ refreshToken: d,
6510
6510
  appMetadata: p
6511
6511
  };
6512
6512
  }, n.prototype.readAccountFromCache = function(e) {
@@ -6543,7 +6543,7 @@ var Me = (
6543
6543
  }, n.prototype.getAccessToken = function(e, t, r) {
6544
6544
  var o = this;
6545
6545
  this.commonLogger.trace("CacheManager - getAccessToken called");
6546
- var i = Ee.createSearchScopes(t.scopes), a = t.authenticationScheme || te.BEARER, s = a && a.toLowerCase() !== te.BEARER.toLowerCase() ? H.ACCESS_TOKEN_WITH_AUTH_SCHEME : H.ACCESS_TOKEN, u = {
6546
+ var i = Ee.createSearchScopes(t.scopes), a = t.authenticationScheme || ne.BEARER, s = a && a.toLowerCase() !== ne.BEARER.toLowerCase() ? H.ACCESS_TOKEN_WITH_AUTH_SCHEME : H.ACCESS_TOKEN, d = {
6547
6547
  homeAccountId: e.homeAccountId,
6548
6548
  environment: e.environment,
6549
6549
  credentialType: s,
@@ -6553,17 +6553,17 @@ var Me = (
6553
6553
  tokenType: a,
6554
6554
  keyId: t.sshKid,
6555
6555
  requestedClaimsHash: t.requestedClaimsHash
6556
- }, p = r && r.accessToken || this.getTokenKeys().accessToken, d = [];
6556
+ }, p = r && r.accessToken || this.getTokenKeys().accessToken, u = [];
6557
6557
  p.forEach(function(_) {
6558
- if (o.accessTokenKeyMatchesFilter(_, u, !0)) {
6558
+ if (o.accessTokenKeyMatchesFilter(_, d, !0)) {
6559
6559
  var k = o.getAccessTokenCredential(_);
6560
- k && o.credentialMatchesFilter(k, u) && d.push(k);
6560
+ k && o.credentialMatchesFilter(k, d) && u.push(k);
6561
6561
  }
6562
6562
  });
6563
- var f = d.length;
6564
- return f < 1 ? (this.commonLogger.info("CacheManager:getAccessToken - No token found"), null) : f > 1 ? (this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"), d.forEach(function(_) {
6563
+ var f = u.length;
6564
+ return f < 1 ? (this.commonLogger.info("CacheManager:getAccessToken - No token found"), null) : f > 1 ? (this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"), u.forEach(function(_) {
6565
6565
  o.removeAccessToken(_.generateCredentialKey());
6566
- }), null) : (this.commonLogger.info("CacheManager:getAccessToken - Returning access token"), d[0]);
6566
+ }), null) : (this.commonLogger.info("CacheManager:getAccessToken - Returning access token"), u[0]);
6567
6567
  }, n.prototype.accessTokenKeyMatchesFilter = function(e, t, r) {
6568
6568
  var o = e.toLowerCase();
6569
6569
  if (t.clientId && o.indexOf(t.clientId.toLowerCase()) === -1 || t.homeAccountId && o.indexOf(t.homeAccountId.toLowerCase()) === -1 || t.realm && o.indexOf(t.realm.toLowerCase()) === -1 || t.requestedClaimsHash && o.indexOf(t.requestedClaimsHash.toLowerCase()) === -1)
@@ -6593,15 +6593,15 @@ var Me = (
6593
6593
  credentialType: H.REFRESH_TOKEN,
6594
6594
  clientId: this.clientId,
6595
6595
  familyId: i
6596
- }, s = r && r.refreshToken || this.getTokenKeys().refreshToken, u = [];
6597
- s.forEach(function(d) {
6598
- if (o.refreshTokenKeyMatchesFilter(d, a)) {
6599
- var f = o.getRefreshTokenCredential(d);
6600
- f && o.credentialMatchesFilter(f, a) && u.push(f);
6596
+ }, s = r && r.refreshToken || this.getTokenKeys().refreshToken, d = [];
6597
+ s.forEach(function(u) {
6598
+ if (o.refreshTokenKeyMatchesFilter(u, a)) {
6599
+ var f = o.getRefreshTokenCredential(u);
6600
+ f && o.credentialMatchesFilter(f, a) && d.push(f);
6601
6601
  }
6602
6602
  });
6603
- var p = u.length;
6604
- return p < 1 ? (this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."), null) : (this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"), u[0]);
6603
+ var p = d.length;
6604
+ return p < 1 ? (this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."), null) : (this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"), d[0]);
6605
6605
  }, n.prototype.refreshTokenKeyMatchesFilter = function(e, t) {
6606
6606
  var r = e.toLowerCase();
6607
6607
  return !(t.familyId && r.indexOf(t.familyId.toLowerCase()) === -1 || !t.familyId && t.clientId && r.indexOf(t.clientId.toLowerCase()) === -1 || t.homeAccountId && r.indexOf(t.homeAccountId.toLowerCase()) === -1);
@@ -6796,7 +6796,7 @@ var ki = 300, no = {
6796
6796
  }
6797
6797
  };
6798
6798
  function Ai(n) {
6799
- var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, u = n.clientCredentials, p = n.libraryInfo, d = n.telemetry, f = n.serverTelemetryManager, _ = n.persistencePlugin, k = n.serializableCache, E = ee(ee({}, wi), r);
6799
+ var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, d = n.clientCredentials, p = n.libraryInfo, u = n.telemetry, f = n.serverTelemetryManager, _ = n.persistencePlugin, k = n.serializableCache, E = ee(ee({}, wi), r);
6800
6800
  return {
6801
6801
  authOptions: Ri(e),
6802
6802
  systemOptions: ee(ee({}, no), t),
@@ -6805,9 +6805,9 @@ function Ai(n) {
6805
6805
  storageInterface: i || new yi(e.clientId, _n, new er(E)),
6806
6806
  networkInterface: a || Ci,
6807
6807
  cryptoInterface: s || _n,
6808
- clientCredentials: u || Ti,
6808
+ clientCredentials: d || Ti,
6809
6809
  libraryInfo: ee(ee({}, Ei), p),
6810
- telemetry: ee(ee({}, Si), d),
6810
+ telemetry: ee(ee({}, Si), u),
6811
6811
  serverTelemetryManager: f || null,
6812
6812
  persistencePlugin: _ || null,
6813
6813
  serializableCache: k || null
@@ -7056,9 +7056,9 @@ var Zt = (
7056
7056
  }, n.prototype.addPassword = function(e) {
7057
7057
  this.parameters.set(gn.password, encodeURIComponent(e));
7058
7058
  }, n.prototype.addPopToken = function(e) {
7059
- L.isEmpty(e) || (this.parameters.set(V.TOKEN_TYPE, te.POP), this.parameters.set(V.REQ_CNF, encodeURIComponent(e)));
7059
+ L.isEmpty(e) || (this.parameters.set(V.TOKEN_TYPE, ne.POP), this.parameters.set(V.REQ_CNF, encodeURIComponent(e)));
7060
7060
  }, n.prototype.addSshJwk = function(e) {
7061
- L.isEmpty(e) || (this.parameters.set(V.TOKEN_TYPE, te.SSH), this.parameters.set(V.REQ_CNF, encodeURIComponent(e)));
7061
+ L.isEmpty(e) || (this.parameters.set(V.TOKEN_TYPE, ne.SSH), this.parameters.set(V.REQ_CNF, encodeURIComponent(e)));
7062
7062
  }, n.prototype.addServerTelemetry = function(e) {
7063
7063
  this.parameters.set(V.X_CLIENT_CURR_TELEM, e.generateCurrentRequestHeaderValue()), this.parameters.set(V.X_CLIENT_LAST_TELEM, e.generateLastRequestHeaderValue());
7064
7064
  }, n.prototype.addThrottling = function() {
@@ -7145,15 +7145,15 @@ var rr = (
7145
7145
  default:
7146
7146
  throw O.createUnexpectedCredentialTypeError();
7147
7147
  }
7148
- }, n.generateCredentialCacheKey = function(e, t, r, o, i, a, s, u, p) {
7149
- var d = [
7148
+ }, n.generateCredentialCacheKey = function(e, t, r, o, i, a, s, d, p) {
7149
+ var u = [
7150
7150
  this.generateAccountIdForCacheKey(e, t),
7151
7151
  this.generateCredentialIdForCacheKey(r, o, i, s),
7152
7152
  this.generateTargetForCacheKey(a),
7153
7153
  this.generateClaimsHashForCacheKey(p),
7154
- this.generateSchemeForCacheKey(u)
7154
+ this.generateSchemeForCacheKey(d)
7155
7155
  ];
7156
- return d.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
7156
+ return u.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
7157
7157
  }, n.generateAccountIdForCacheKey = function(e, t) {
7158
7158
  var r = [e, t];
7159
7159
  return r.join(fe.CACHE_KEY_SEPARATOR).toLowerCase();
@@ -7169,7 +7169,7 @@ var rr = (
7169
7169
  }, n.generateClaimsHashForCacheKey = function(e) {
7170
7170
  return (e || g.EMPTY_STRING).toLowerCase();
7171
7171
  }, n.generateSchemeForCacheKey = function(e) {
7172
- return e && e.toLowerCase() !== te.BEARER.toLowerCase() ? e.toLowerCase() : g.EMPTY_STRING;
7172
+ return e && e.toLowerCase() !== ne.BEARER.toLowerCase() ? e.toLowerCase() : g.EMPTY_STRING;
7173
7173
  }, n;
7174
7174
  }()
7175
7175
  );
@@ -7220,19 +7220,19 @@ var _t = (
7220
7220
  function e() {
7221
7221
  return n !== null && n.apply(this, arguments) || this;
7222
7222
  }
7223
- return e.createAccessTokenEntity = function(t, r, o, i, a, s, u, p, d, f, _, k, E, N, Q) {
7223
+ return e.createAccessTokenEntity = function(t, r, o, i, a, s, d, p, u, f, _, k, E, N, Q) {
7224
7224
  var X, G, $ = new e();
7225
7225
  $.homeAccountId = t, $.credentialType = H.ACCESS_TOKEN, $.secret = o;
7226
7226
  var Ae = Ke.nowSeconds();
7227
- if ($.cachedAt = Ae.toString(), $.expiresOn = u.toString(), $.extendedExpiresOn = p.toString(), f && ($.refreshOn = f.toString()), $.environment = r, $.clientId = i, $.realm = a, $.target = s, $.userAssertionHash = k, $.tokenType = L.isEmpty(_) ? te.BEARER : _, N && ($.requestedClaims = N, $.requestedClaimsHash = Q), ((X = $.tokenType) === null || X === void 0 ? void 0 : X.toLowerCase()) !== te.BEARER.toLowerCase())
7227
+ if ($.cachedAt = Ae.toString(), $.expiresOn = d.toString(), $.extendedExpiresOn = p.toString(), f && ($.refreshOn = f.toString()), $.environment = r, $.clientId = i, $.realm = a, $.target = s, $.userAssertionHash = k, $.tokenType = L.isEmpty(_) ? ne.BEARER : _, N && ($.requestedClaims = N, $.requestedClaimsHash = Q), ((X = $.tokenType) === null || X === void 0 ? void 0 : X.toLowerCase()) !== ne.BEARER.toLowerCase())
7228
7228
  switch ($.credentialType = H.ACCESS_TOKEN_WITH_AUTH_SCHEME, $.tokenType) {
7229
- case te.POP:
7230
- var xe = rt.extractTokenClaims(o, d);
7229
+ case ne.POP:
7230
+ var xe = rt.extractTokenClaims(o, u);
7231
7231
  if (!(!((G = xe == null ? void 0 : xe.cnf) === null || G === void 0) && G.kid))
7232
7232
  throw O.createTokenClaimsRequiredError();
7233
7233
  $.keyId = xe.cnf.kid;
7234
7234
  break;
7235
- case te.SSH:
7235
+ case ne.SSH:
7236
7236
  $.keyId = E;
7237
7237
  }
7238
7238
  return $;
@@ -7250,8 +7250,8 @@ var Mt = (
7250
7250
  return n !== null && n.apply(this, arguments) || this;
7251
7251
  }
7252
7252
  return e.createRefreshTokenEntity = function(t, r, o, i, a, s) {
7253
- var u = new e();
7254
- return u.clientId = i, u.credentialType = H.REFRESH_TOKEN, u.environment = r, u.homeAccountId = t, u.secret = o, u.userAssertionHash = s, a && (u.familyId = a), u;
7253
+ var d = new e();
7254
+ return d.clientId = i, d.credentialType = H.REFRESH_TOKEN, d.environment = r, d.homeAccountId = t, d.secret = o, d.userAssertionHash = s, a && (d.familyId = a), d;
7255
7255
  }, e.isRefreshTokenEntity = function(t) {
7256
7256
  return t ? t.hasOwnProperty("homeAccountId") && t.hasOwnProperty("environment") && t.hasOwnProperty("credentialType") && t.hasOwnProperty("clientId") && t.hasOwnProperty("secret") && t.credentialType === H.REFRESH_TOKEN : !1;
7257
7257
  }, e;
@@ -7281,13 +7281,13 @@ var Ir = [
7281
7281
  /** @class */
7282
7282
  function(n) {
7283
7283
  Ue(e, n);
7284
- function e(t, r, o, i, a, s, u) {
7284
+ function e(t, r, o, i, a, s, d) {
7285
7285
  var p = n.call(this, t, r, o) || this;
7286
- return Object.setPrototypeOf(p, e.prototype), p.timestamp = i || g.EMPTY_STRING, p.traceId = a || g.EMPTY_STRING, p.correlationId = s || g.EMPTY_STRING, p.claims = u || g.EMPTY_STRING, p.name = "InteractionRequiredAuthError", p;
7286
+ return Object.setPrototypeOf(p, e.prototype), p.timestamp = i || g.EMPTY_STRING, p.traceId = a || g.EMPTY_STRING, p.correlationId = s || g.EMPTY_STRING, p.claims = d || g.EMPTY_STRING, p.name = "InteractionRequiredAuthError", p;
7287
7287
  }
7288
7288
  return e.isInteractionRequiredError = function(t, r, o) {
7289
- var i = !!t && Ir.indexOf(t) > -1, a = !!o && Mi.indexOf(o) > -1, s = !!r && Ir.some(function(u) {
7290
- return r.indexOf(u) > -1;
7289
+ var i = !!t && Ir.indexOf(t) > -1, a = !!o && Mi.indexOf(o) > -1, s = !!r && Ir.some(function(d) {
7290
+ return r.indexOf(d) > -1;
7291
7291
  });
7292
7292
  return i || s || a;
7293
7293
  }, e.createNoTokensFoundError = function() {
@@ -7336,8 +7336,8 @@ var st = (
7336
7336
  userRequestState: L.isEmpty(i) ? g.EMPTY_STRING : i,
7337
7337
  libraryState: s
7338
7338
  };
7339
- } catch (u) {
7340
- throw O.createInvalidStateError(t, u);
7339
+ } catch (d) {
7340
+ throw O.createInvalidStateError(t, d);
7341
7341
  }
7342
7342
  }, n;
7343
7343
  }()
@@ -7510,11 +7510,11 @@ var xt = (
7510
7510
  });
7511
7511
  }, n.prototype.signPayload = function(e, t, r, o) {
7512
7512
  return j(this, void 0, void 0, function() {
7513
- var i, a, s, u, p, d;
7513
+ var i, a, s, d, p, u;
7514
7514
  return K(this, function(f) {
7515
7515
  switch (f.label) {
7516
7516
  case 0:
7517
- return i = r.resourceRequestMethod, a = r.resourceRequestUri, s = r.shrClaims, u = r.shrNonce, p = a ? new W(a) : void 0, d = p == null ? void 0 : p.getUrlComponents(), [4, this.cryptoUtils.signJwt(ee({ at: e, ts: Ke.nowSeconds(), m: i == null ? void 0 : i.toUpperCase(), u: d == null ? void 0 : d.HostNameAndPort, nonce: u || this.cryptoUtils.createNewGuid(), p: d == null ? void 0 : d.AbsolutePath, q: d != null && d.QueryString ? [[], d.QueryString] : void 0, client_claims: s || void 0 }, o), t, r.correlationId)];
7517
+ return i = r.resourceRequestMethod, a = r.resourceRequestUri, s = r.shrClaims, d = r.shrNonce, p = a ? new W(a) : void 0, u = p == null ? void 0 : p.getUrlComponents(), [4, this.cryptoUtils.signJwt(ee({ at: e, ts: Ke.nowSeconds(), m: i == null ? void 0 : i.toUpperCase(), u: u == null ? void 0 : u.HostNameAndPort, nonce: d || this.cryptoUtils.createNewGuid(), p: u == null ? void 0 : u.AbsolutePath, q: u != null && u.QueryString ? [[], u.QueryString] : void 0, client_claims: s || void 0 }, o), t, r.correlationId)];
7518
7518
  case 1:
7519
7519
  return [2, f.sent()];
7520
7520
  }
@@ -7596,14 +7596,14 @@ var wn = (
7596
7596
  var t = e.error_codes + " - [" + e.timestamp + "]: " + e.error_description + " - Correlation ID: " + e.correlation_id + " - Trace ID: " + e.trace_id;
7597
7597
  throw new bt(e.error, t, e.suberror);
7598
7598
  }
7599
- }, n.prototype.handleServerTokenResponse = function(e, t, r, o, i, a, s, u, p) {
7600
- var d;
7599
+ }, n.prototype.handleServerTokenResponse = function(e, t, r, o, i, a, s, d, p) {
7600
+ var u;
7601
7601
  return j(this, void 0, void 0, function() {
7602
7602
  var f, _, k, E, N, Q, X;
7603
7603
  return K(this, function(G) {
7604
7604
  switch (G.label) {
7605
7605
  case 0:
7606
- if ((d = this.performanceClient) === null || d === void 0 || d.addQueueMeasurement(b.HandleServerTokenResponse, e.correlation_id), e.id_token) {
7606
+ if ((u = this.performanceClient) === null || u === void 0 || u.addQueueMeasurement(b.HandleServerTokenResponse, e.correlation_id), e.id_token) {
7607
7607
  if (f = new rt(e.id_token || g.EMPTY_STRING, this.cryptoObj), i && !L.isEmpty(i.nonce) && f.claims.nonce !== i.nonce)
7608
7608
  throw O.createNonceMismatchError();
7609
7609
  if (o.maxAge || o.maxAge === 0) {
@@ -7618,7 +7618,7 @@ var wn = (
7618
7618
  case 2:
7619
7619
  G.sent(), G.label = 3;
7620
7620
  case 3:
7621
- return s && !u && E.account && (Q = E.account.generateAccountKey(), X = this.cacheStorage.getAccount(Q), !X) ? (this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"), [2, n.generateAuthenticationResult(this.cryptoObj, t, E, !1, o, f, k, void 0, p)]) : [4, this.cacheStorage.saveCacheRecord(E)];
7621
+ return s && !d && E.account && (Q = E.account.generateAccountKey(), X = this.cacheStorage.getAccount(Q), !X) ? (this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"), [2, n.generateAuthenticationResult(this.cryptoObj, t, E, !1, o, f, k, void 0, p)]) : [4, this.cacheStorage.saveCacheRecord(E)];
7622
7622
  case 4:
7623
7623
  return G.sent(), [3, 8];
7624
7624
  case 5:
@@ -7636,20 +7636,20 @@ var wn = (
7636
7636
  });
7637
7637
  });
7638
7638
  }, n.prototype.generateCacheRecord = function(e, t, r, o, i, a, s) {
7639
- var u = t.getPreferredCache();
7640
- if (L.isEmpty(u))
7639
+ var d = t.getPreferredCache();
7640
+ if (L.isEmpty(d))
7641
7641
  throw O.createInvalidCacheEnvironmentError();
7642
- var p, d;
7643
- !L.isEmpty(e.id_token) && i && (p = gt.createIdTokenEntity(this.homeAccountIdentifier, u, e.id_token || g.EMPTY_STRING, this.clientId, i.claims.tid || g.EMPTY_STRING), d = this.generateAccountEntity(e, i, t, s));
7642
+ var p, u;
7643
+ !L.isEmpty(e.id_token) && i && (p = gt.createIdTokenEntity(this.homeAccountIdentifier, d, e.id_token || g.EMPTY_STRING, this.clientId, i.claims.tid || g.EMPTY_STRING), u = this.generateAccountEntity(e, i, t, s));
7644
7644
  var f = null;
7645
7645
  if (!L.isEmpty(e.access_token)) {
7646
7646
  var _ = e.scope ? Ee.fromString(e.scope) : new Ee(o.scopes || []), k = (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, E = (typeof e.ext_expires_in == "string" ? parseInt(e.ext_expires_in, 10) : e.ext_expires_in) || 0, N = (typeof e.refresh_in == "string" ? parseInt(e.refresh_in, 10) : e.refresh_in) || void 0, Q = r + k, X = Q + E, G = N && N > 0 ? r + N : void 0;
7647
- f = _t.createAccessTokenEntity(this.homeAccountIdentifier, u, e.access_token || g.EMPTY_STRING, this.clientId, i ? i.claims.tid || g.EMPTY_STRING : t.tenant, _.printScopes(), Q, X, this.cryptoObj, G, e.token_type, a, e.key_id, o.claims, o.requestedClaimsHash);
7647
+ f = _t.createAccessTokenEntity(this.homeAccountIdentifier, d, e.access_token || g.EMPTY_STRING, this.clientId, i ? i.claims.tid || g.EMPTY_STRING : t.tenant, _.printScopes(), Q, X, this.cryptoObj, G, e.token_type, a, e.key_id, o.claims, o.requestedClaimsHash);
7648
7648
  }
7649
7649
  var $ = null;
7650
- L.isEmpty(e.refresh_token) || ($ = Mt.createRefreshTokenEntity(this.homeAccountIdentifier, u, e.refresh_token || g.EMPTY_STRING, this.clientId, e.foci, a));
7650
+ L.isEmpty(e.refresh_token) || ($ = Mt.createRefreshTokenEntity(this.homeAccountIdentifier, d, e.refresh_token || g.EMPTY_STRING, this.clientId, e.foci, a));
7651
7651
  var Ae = null;
7652
- return L.isEmpty(e.foci) || (Ae = Vn.createAppMetadataEntity(this.clientId, u, e.foci)), new en(d, p, f, $, Ae);
7652
+ return L.isEmpty(e.foci) || (Ae = Vn.createAppMetadataEntity(this.clientId, d, e.foci)), new en(u, p, f, $, Ae);
7653
7653
  }, n.prototype.generateAccountEntity = function(e, t, r, o) {
7654
7654
  var i = r.authorityType, a = o ? o.cloud_graph_host_name : g.EMPTY_STRING, s = o ? o.msgraph_host : g.EMPTY_STRING;
7655
7655
  if (i === Se.Adfs)
@@ -7657,8 +7657,8 @@ var wn = (
7657
7657
  if (L.isEmpty(e.client_info) && r.protocolMode === "AAD")
7658
7658
  throw O.createClientInfoEmptyError();
7659
7659
  return e.client_info ? we.createAccount(e.client_info, this.homeAccountIdentifier, t, r, a, s) : we.createGenericAccount(this.homeAccountIdentifier, t, r, a, s);
7660
- }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, u, p) {
7661
- var d, f, _;
7660
+ }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, d, p) {
7661
+ var u, f, _;
7662
7662
  return j(this, void 0, void 0, function() {
7663
7663
  var k, E, N, Q, X, G, $, Ae, xe, Ve, Ct;
7664
7664
  return K(this, function(ce) {
@@ -7666,7 +7666,7 @@ var wn = (
7666
7666
  case 0:
7667
7667
  if (k = g.EMPTY_STRING, E = [], N = null, X = g.EMPTY_STRING, !r.accessToken)
7668
7668
  return [3, 4];
7669
- if (r.accessToken.tokenType !== te.POP)
7669
+ if (r.accessToken.tokenType !== ne.POP)
7670
7670
  return [3, 2];
7671
7671
  if (G = new xt(e), $ = r.accessToken, Ae = $.secret, xe = $.keyId, !xe)
7672
7672
  throw O.createKeyIdMissingError();
@@ -7678,7 +7678,7 @@ var wn = (
7678
7678
  case 3:
7679
7679
  E = Ee.fromString(r.accessToken.target).asArray(), N = new Date(Number(r.accessToken.expiresOn) * 1e3), Q = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3), ce.label = 4;
7680
7680
  case 4:
7681
- return r.appMetadata && (X = r.appMetadata.familyId === Wt ? Wt : g.EMPTY_STRING), Ve = (a == null ? void 0 : a.claims.oid) || (a == null ? void 0 : a.claims.sub) || g.EMPTY_STRING, Ct = (a == null ? void 0 : a.claims.tid) || g.EMPTY_STRING, u != null && u.spa_accountid && r.account && (r.account.nativeAccountId = u == null ? void 0 : u.spa_accountid), [2, {
7681
+ return r.appMetadata && (X = r.appMetadata.familyId === Wt ? Wt : g.EMPTY_STRING), Ve = (a == null ? void 0 : a.claims.oid) || (a == null ? void 0 : a.claims.sub) || g.EMPTY_STRING, Ct = (a == null ? void 0 : a.claims.tid) || g.EMPTY_STRING, d != null && d.spa_accountid && r.account && (r.account.nativeAccountId = d == null ? void 0 : d.spa_accountid), [2, {
7682
7682
  authority: t.canonicalAuthority,
7683
7683
  uniqueId: Ve,
7684
7684
  tenantId: Ct,
@@ -7693,11 +7693,11 @@ var wn = (
7693
7693
  requestId: p || g.EMPTY_STRING,
7694
7694
  extExpiresOn: Q,
7695
7695
  familyId: X,
7696
- tokenType: ((d = r.accessToken) === null || d === void 0 ? void 0 : d.tokenType) || g.EMPTY_STRING,
7696
+ tokenType: ((u = r.accessToken) === null || u === void 0 ? void 0 : u.tokenType) || g.EMPTY_STRING,
7697
7697
  state: s ? s.userRequestState : g.EMPTY_STRING,
7698
7698
  cloudGraphHostName: ((f = r.account) === null || f === void 0 ? void 0 : f.cloudGraphHostName) || g.EMPTY_STRING,
7699
7699
  msGraphHost: ((_ = r.account) === null || _ === void 0 ? void 0 : _.msGraphHost) || g.EMPTY_STRING,
7700
- code: u == null ? void 0 : u.spa_code,
7700
+ code: d == null ? void 0 : d.spa_code,
7701
7701
  fromNativeBroker: !1
7702
7702
  }];
7703
7703
  }
@@ -7729,24 +7729,24 @@ var ro = (
7729
7729
  });
7730
7730
  });
7731
7731
  }, e.prototype.acquireToken = function(t, r) {
7732
- var o, i, a, s, u, p;
7732
+ var o, i, a, s, d, p;
7733
7733
  return j(this, void 0, void 0, function() {
7734
- var d, f, _, k, E, N, Q = this;
7734
+ var u, f, _, k, E, N, Q = this;
7735
7735
  return K(this, function(X) {
7736
7736
  switch (X.label) {
7737
7737
  case 0:
7738
7738
  if (!t || !t.code)
7739
7739
  throw O.createTokenRequestCannotBeMadeError();
7740
- return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.AuthClientAcquireToken, t.correlationId), d = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement("AuthCodeClientAcquireToken", t.correlationId), this.logger.info("in acquireToken call in auth-code client"), f = Ke.nowSeconds(), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.AuthClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(this.authority, t)];
7740
+ return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.AuthClientAcquireToken, t.correlationId), u = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement("AuthCodeClientAcquireToken", t.correlationId), this.logger.info("in acquireToken call in auth-code client"), f = Ke.nowSeconds(), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.AuthClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(this.authority, t)];
7741
7741
  case 1:
7742
- return _ = X.sent(), k = (s = _.headers) === null || s === void 0 ? void 0 : s[De.X_MS_REQUEST_ID], E = (u = _.headers) === null || u === void 0 ? void 0 : u[De.X_MS_HTTP_VERSION], E && (d == null || d.addStaticFields({
7742
+ return _ = X.sent(), k = (s = _.headers) === null || s === void 0 ? void 0 : s[De.X_MS_REQUEST_ID], E = (d = _.headers) === null || d === void 0 ? void 0 : d[De.X_MS_HTTP_VERSION], E && (u == null || u.addStaticFields({
7743
7743
  httpVerAuthority: E
7744
7744
  })), N = new wn(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient), N.validateTokenResponse(_.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(b.HandleServerTokenResponse, t.correlationId), [2, N.handleServerTokenResponse(_.body, this.authority, f, t, r, void 0, void 0, void 0, k).then(function(G) {
7745
- return d == null || d.endMeasurement({
7745
+ return u == null || u.endMeasurement({
7746
7746
  success: !0
7747
7747
  }), G;
7748
7748
  }).catch(function(G) {
7749
- throw Q.logger.verbose("Error in fetching token in ACC", t.correlationId), d == null || d.endMeasurement({
7749
+ throw Q.logger.verbose("Error in fetching token in ACC", t.correlationId), u == null || u.endMeasurement({
7750
7750
  errorCode: G.errorCode,
7751
7751
  subErrorCode: G.subError,
7752
7752
  success: !1
@@ -7771,16 +7771,16 @@ var ro = (
7771
7771
  }, e.prototype.executeTokenRequest = function(t, r) {
7772
7772
  var o, i;
7773
7773
  return j(this, void 0, void 0, function() {
7774
- var a, s, u, p, d, f, _;
7774
+ var a, s, d, p, u, f, _;
7775
7775
  return K(this, function(k) {
7776
7776
  switch (k.label) {
7777
7777
  case 0:
7778
7778
  return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.AuthClientExecuteTokenRequest, r.correlationId), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.AuthClientCreateTokenRequestBody, r.correlationId), a = this.createTokenQueryParameters(r), s = W.appendQueryString(t.tokenEndpoint, a), [4, this.createTokenRequestBody(r)];
7779
7779
  case 1:
7780
- if (u = k.sent(), p = void 0, r.clientInfo)
7780
+ if (d = k.sent(), p = void 0, r.clientInfo)
7781
7781
  try {
7782
- d = vn(r.clientInfo, this.cryptoUtils), p = {
7783
- credential: "" + d.uid + fe.CLIENT_INFO_SEPARATOR + d.utid,
7782
+ u = vn(r.clientInfo, this.cryptoUtils), p = {
7783
+ credential: "" + u.uid + fe.CLIENT_INFO_SEPARATOR + u.utid,
7784
7784
  type: Be.HOME_ACCOUNT_ID
7785
7785
  };
7786
7786
  } catch (E) {
@@ -7796,31 +7796,31 @@ var ro = (
7796
7796
  resourceRequestUri: r.resourceRequestUri,
7797
7797
  shrClaims: r.shrClaims,
7798
7798
  sshKid: r.sshKid
7799
- }, [2, this.executePostToTokenEndpoint(s, u, f, _)];
7799
+ }, [2, this.executePostToTokenEndpoint(s, d, f, _)];
7800
7800
  }
7801
7801
  });
7802
7802
  });
7803
7803
  }, e.prototype.createTokenRequestBody = function(t) {
7804
7804
  var r, o;
7805
7805
  return j(this, void 0, void 0, function() {
7806
- var i, a, s, u, p, d, f, f, _;
7806
+ var i, a, s, d, p, u, f, f, _;
7807
7807
  return K(this, function(k) {
7808
7808
  switch (k.label) {
7809
7809
  case 0:
7810
- return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.AuthClientCreateTokenRequestBody, t.correlationId), i = new Zt(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : ft.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(fn.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== te.POP ? [3, 2] : (s = new xt(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
7810
+ return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.AuthClientCreateTokenRequestBody, t.correlationId), i = new Zt(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : ft.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(fn.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== ne.POP ? [3, 2] : (s = new xt(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
7811
7811
  case 1:
7812
- return u = k.sent(), i.addPopToken(u.reqCnfString), [3, 3];
7812
+ return d = k.sent(), i.addPopToken(d.reqCnfString), [3, 3];
7813
7813
  case 2:
7814
- if (t.authenticationScheme === te.SSH)
7814
+ if (t.authenticationScheme === ne.SSH)
7815
7815
  if (t.sshJwk)
7816
7816
  i.addSshJwk(t.sshJwk);
7817
7817
  else
7818
7818
  throw ie.createMissingSshJwkError();
7819
7819
  k.label = 3;
7820
7820
  case 3:
7821
- if (p = t.correlationId || this.config.cryptoInterface.createNewGuid(), i.addCorrelationId(p), (!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && i.addClaims(t.claims, this.config.authOptions.clientCapabilities), d = void 0, t.clientInfo)
7821
+ if (p = t.correlationId || this.config.cryptoInterface.createNewGuid(), i.addCorrelationId(p), (!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && i.addClaims(t.claims, this.config.authOptions.clientCapabilities), u = void 0, t.clientInfo)
7822
7822
  try {
7823
- f = vn(t.clientInfo, this.cryptoUtils), d = {
7823
+ f = vn(t.clientInfo, this.cryptoUtils), u = {
7824
7824
  credential: "" + f.uid + fe.CLIENT_INFO_SEPARATOR + f.utid,
7825
7825
  type: Be.HOME_ACCOUNT_ID
7826
7826
  };
@@ -7828,18 +7828,18 @@ var ro = (
7828
7828
  this.logger.verbose("Could not parse client info for CCS Header: " + E);
7829
7829
  }
7830
7830
  else
7831
- d = t.ccsCredential;
7832
- if (this.config.systemOptions.preventCorsPreflight && d)
7833
- switch (d.type) {
7831
+ u = t.ccsCredential;
7832
+ if (this.config.systemOptions.preventCorsPreflight && u)
7833
+ switch (u.type) {
7834
7834
  case Be.HOME_ACCOUNT_ID:
7835
7835
  try {
7836
- f = Pt(d.credential), i.addCcsOid(f);
7836
+ f = Pt(u.credential), i.addCcsOid(f);
7837
7837
  } catch (E) {
7838
7838
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
7839
7839
  }
7840
7840
  break;
7841
7841
  case Be.UPN:
7842
- i.addCcsUpn(d.credential);
7842
+ i.addCcsUpn(u.credential);
7843
7843
  break;
7844
7844
  }
7845
7845
  return t.tokenBodyParameters && i.addExtraQueryParameters(t.tokenBodyParameters), t.enableSpaAuthorizationCode && (!t.tokenBodyParameters || !t.tokenBodyParameters[V.RETURN_SPA_CODE]) && i.addExtraQueryParameters((_ = {}, _[V.RETURN_SPA_CODE] = "1", _)), [2, i.createQueryString()];
@@ -7849,7 +7849,7 @@ var ro = (
7849
7849
  }, e.prototype.createAuthCodeUrlQueryString = function(t) {
7850
7850
  var r;
7851
7851
  return j(this, void 0, void 0, function() {
7852
- var o, i, a, s, u, p, p, p, d, f;
7852
+ var o, i, a, s, d, p, p, p, u, f;
7853
7853
  return K(this, function(_) {
7854
7854
  switch (_.label) {
7855
7855
  case 0:
@@ -7857,8 +7857,8 @@ var ro = (
7857
7857
  if (t.sid && t.prompt === Te.NONE)
7858
7858
  this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"), o.addSid(t.sid);
7859
7859
  else if (t.account) {
7860
- if (s = this.extractAccountSid(t.account), u = this.extractLoginHint(t.account), u) {
7861
- this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"), o.addLoginHint(u);
7860
+ if (s = this.extractAccountSid(t.account), d = this.extractLoginHint(t.account), d) {
7861
+ this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"), o.addLoginHint(d);
7862
7862
  try {
7863
7863
  p = Pt(t.account.homeAccountId), o.addCcsOid(p);
7864
7864
  } catch {
@@ -7885,7 +7885,7 @@ var ro = (
7885
7885
  t.loginHint && (this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"), o.addLoginHint(t.loginHint), o.addCcsUpn(t.loginHint));
7886
7886
  else
7887
7887
  this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");
7888
- return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!L.isEmpty(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && o.addClaims(t.claims, this.config.authOptions.clientCapabilities), t.extraQueryParameters && o.addExtraQueryParameters(t.extraQueryParameters), t.nativeBroker ? (o.addNativeBroker(), t.authenticationScheme !== te.POP ? [3, 2] : (d = new xt(this.cryptoUtils), [4, d.generateCnf(t)])) : [3, 2];
7888
+ return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!L.isEmpty(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && o.addClaims(t.claims, this.config.authOptions.clientCapabilities), t.extraQueryParameters && o.addExtraQueryParameters(t.extraQueryParameters), t.nativeBroker ? (o.addNativeBroker(), t.authenticationScheme !== ne.POP ? [3, 2] : (u = new xt(this.cryptoUtils), [4, u.generateCnf(t)])) : [3, 2];
7889
7889
  case 1:
7890
7890
  f = _.sent(), o.addPopToken(f.reqCnfString), _.label = 2;
7891
7891
  case 2:
@@ -7914,24 +7914,24 @@ var oo = (
7914
7914
  return n.call(this, t, r) || this;
7915
7915
  }
7916
7916
  return e.prototype.acquireToken = function(t) {
7917
- var r, o, i, a, s, u, p;
7917
+ var r, o, i, a, s, d, p;
7918
7918
  return j(this, void 0, void 0, function() {
7919
- var d, f, _, k, E, N, Q = this;
7919
+ var u, f, _, k, E, N, Q = this;
7920
7920
  return K(this, function(X) {
7921
7921
  switch (X.label) {
7922
7922
  case 0:
7923
- return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), d = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireToken called", t.correlationId), f = Ke.nowSeconds(), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(t, this.authority)];
7923
+ return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), u = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.RefreshTokenClientAcquireToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireToken called", t.correlationId), f = Ke.nowSeconds(), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), [4, this.executeTokenRequest(t, this.authority)];
7924
7924
  case 1:
7925
- return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[De.X_MS_HTTP_VERSION], d == null || d.addStaticFields({
7925
+ return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[De.X_MS_HTTP_VERSION], u == null || u.addStaticFields({
7926
7926
  refreshTokenSize: ((s = _.body.refresh_token) === null || s === void 0 ? void 0 : s.length) || 0
7927
- }), k && (d == null || d.addStaticFields({
7927
+ }), k && (u == null || u.addStaticFields({
7928
7928
  httpVerToken: k
7929
- })), E = (u = _.headers) === null || u === void 0 ? void 0 : u[De.X_MS_REQUEST_ID], N = new wn(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), N.validateTokenResponse(_.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(b.HandleServerTokenResponse, t.correlationId), [2, N.handleServerTokenResponse(_.body, this.authority, f, t, void 0, void 0, !0, t.forceCache, E).then(function(G) {
7930
- return d == null || d.endMeasurement({
7929
+ })), E = (d = _.headers) === null || d === void 0 ? void 0 : d[De.X_MS_REQUEST_ID], N = new wn(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), N.validateTokenResponse(_.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(b.HandleServerTokenResponse, t.correlationId), [2, N.handleServerTokenResponse(_.body, this.authority, f, t, void 0, void 0, !0, t.forceCache, E).then(function(G) {
7930
+ return u == null || u.endMeasurement({
7931
7931
  success: !0
7932
7932
  }), G;
7933
7933
  }).catch(function(G) {
7934
- throw Q.logger.verbose("Error in fetching refresh token", t.correlationId), d == null || d.endMeasurement({
7934
+ throw Q.logger.verbose("Error in fetching refresh token", t.correlationId), u == null || u.endMeasurement({
7935
7935
  errorCode: G.errorCode,
7936
7936
  subErrorCode: G.subError,
7937
7937
  success: !1
@@ -7943,8 +7943,8 @@ var oo = (
7943
7943
  }, e.prototype.acquireTokenByRefreshToken = function(t) {
7944
7944
  var r, o, i, a;
7945
7945
  return j(this, void 0, void 0, function() {
7946
- var s, u, p;
7947
- return K(this, function(d) {
7946
+ var s, d, p;
7947
+ return K(this, function(u) {
7948
7948
  if (!t)
7949
7949
  throw ie.createEmptyTokenRequestError();
7950
7950
  if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), !t.account)
@@ -7953,7 +7953,7 @@ var oo = (
7953
7953
  try {
7954
7954
  return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
7955
7955
  } catch (f) {
7956
- if (u = f instanceof Ye && f.errorCode === Nt.noTokensFoundError.code, p = f instanceof bt && f.errorCode === Tr.INVALID_GRANT_ERROR && f.subError === Tr.CLIENT_MISMATCH_ERROR, u || p)
7956
+ if (d = f instanceof Ye && f.errorCode === Nt.noTokensFoundError.code, p = f instanceof bt && f.errorCode === Tr.INVALID_GRANT_ERROR && f.subError === Tr.CLIENT_MISMATCH_ERROR, d || p)
7957
7957
  return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
7958
7958
  throw f;
7959
7959
  }
@@ -7963,13 +7963,13 @@ var oo = (
7963
7963
  }, e.prototype.acquireTokenWithCachedRefreshToken = function(t, r) {
7964
7964
  var o, i, a;
7965
7965
  return j(this, void 0, void 0, function() {
7966
- var s, u, p;
7967
- return K(this, function(d) {
7968
- if ((o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called", t.correlationId), u = this.cacheManager.getRefreshToken(t.account, r), !u)
7966
+ var s, d, p;
7967
+ return K(this, function(u) {
7968
+ if ((o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called", t.correlationId), d = this.cacheManager.getRefreshToken(t.account, r), !d)
7969
7969
  throw s == null || s.discardMeasurement(), Ye.createNoTokensFoundError();
7970
7970
  return s == null || s.endMeasurement({
7971
7971
  success: !0
7972
- }), p = ee(ee({}, t), { refreshToken: u.secret, authenticationScheme: t.authenticationScheme || te.BEARER, ccsCredential: {
7972
+ }), p = ee(ee({}, t), { refreshToken: d.secret, authenticationScheme: t.authenticationScheme || ne.BEARER, ccsCredential: {
7973
7973
  credential: t.account.homeAccountId,
7974
7974
  type: Be.HOME_ACCOUNT_ID
7975
7975
  } }), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientAcquireToken, t.correlationId), [2, this.acquireToken(p)];
@@ -7978,13 +7978,13 @@ var oo = (
7978
7978
  }, e.prototype.executeTokenRequest = function(t, r) {
7979
7979
  var o, i, a;
7980
7980
  return j(this, void 0, void 0, function() {
7981
- var s, u, p, d, f, _;
7981
+ var s, d, p, u, f, _;
7982
7982
  return K(this, function(k) {
7983
7983
  switch (k.label) {
7984
7984
  case 0:
7985
- return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), u = this.createTokenQueryParameters(t), p = W.appendQueryString(r.tokenEndpoint, u), [4, this.createTokenRequestBody(t)];
7985
+ return (o = this.performanceClient) === null || o === void 0 || o.addQueueMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), s = (i = this.performanceClient) === null || i === void 0 ? void 0 : i.startMeasurement(b.RefreshTokenClientExecuteTokenRequest, t.correlationId), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), d = this.createTokenQueryParameters(t), p = W.appendQueryString(r.tokenEndpoint, d), [4, this.createTokenRequestBody(t)];
7986
7986
  case 1:
7987
- return d = k.sent(), f = this.createTokenRequestHeaders(t.ccsCredential), _ = {
7987
+ return u = k.sent(), f = this.createTokenRequestHeaders(t.ccsCredential), _ = {
7988
7988
  clientId: this.config.authOptions.clientId,
7989
7989
  authority: r.canonicalAuthority,
7990
7990
  scopes: t.scopes,
@@ -7994,7 +7994,7 @@ var oo = (
7994
7994
  resourceRequestUri: t.resourceRequestUri,
7995
7995
  shrClaims: t.shrClaims,
7996
7996
  sshKid: t.sshKid
7997
- }, [2, this.executePostToTokenEndpoint(p, d, f, _).then(function(E) {
7997
+ }, [2, this.executePostToTokenEndpoint(p, u, f, _).then(function(E) {
7998
7998
  return s == null || s.endMeasurement({
7999
7999
  success: !0
8000
8000
  }), E;
@@ -8009,39 +8009,39 @@ var oo = (
8009
8009
  }, e.prototype.createTokenRequestBody = function(t) {
8010
8010
  var r, o, i;
8011
8011
  return j(this, void 0, void 0, function() {
8012
- var a, s, u, p, d, f, _;
8012
+ var a, s, d, p, u, f, _;
8013
8013
  return K(this, function(k) {
8014
8014
  switch (k.label) {
8015
8015
  case 0:
8016
- return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.BaseClientCreateTokenRequestHeaders, a), u = new Zt(), u.addClientId(this.config.authOptions.clientId), u.addScopes(t.scopes), u.addGrantType(fn.REFRESH_TOKEN_GRANT), u.addClientInfo(), u.addLibraryInfo(this.config.libraryInfo), u.addApplicationTelemetry(this.config.telemetry.application), u.addThrottling(), this.serverTelemetryManager && u.addServerTelemetry(this.serverTelemetryManager), u.addCorrelationId(a), u.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && u.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, u.addClientAssertion(p.assertion), u.addClientAssertionType(p.assertionType)), t.authenticationScheme !== te.POP ? [3, 2] : (d = new xt(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.PopTokenGenerateCnf, t.correlationId), [4, d.generateCnf(t)]);
8016
+ return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(b.BaseClientCreateTokenRequestHeaders, a), d = new Zt(), d.addClientId(this.config.authOptions.clientId), d.addScopes(t.scopes), d.addGrantType(fn.REFRESH_TOKEN_GRANT), d.addClientInfo(), d.addLibraryInfo(this.config.libraryInfo), d.addApplicationTelemetry(this.config.telemetry.application), d.addThrottling(), this.serverTelemetryManager && d.addServerTelemetry(this.serverTelemetryManager), d.addCorrelationId(a), d.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && d.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, d.addClientAssertion(p.assertion), d.addClientAssertionType(p.assertionType)), t.authenticationScheme !== ne.POP ? [3, 2] : (u = new xt(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.PopTokenGenerateCnf, t.correlationId), [4, u.generateCnf(t)]);
8017
8017
  case 1:
8018
- return f = k.sent(), u.addPopToken(f.reqCnfString), [3, 3];
8018
+ return f = k.sent(), d.addPopToken(f.reqCnfString), [3, 3];
8019
8019
  case 2:
8020
- if (t.authenticationScheme === te.SSH)
8020
+ if (t.authenticationScheme === ne.SSH)
8021
8021
  if (t.sshJwk)
8022
- u.addSshJwk(t.sshJwk);
8022
+ d.addSshJwk(t.sshJwk);
8023
8023
  else
8024
8024
  throw s == null || s.endMeasurement({
8025
8025
  success: !1
8026
8026
  }), ie.createMissingSshJwkError();
8027
8027
  k.label = 3;
8028
8028
  case 3:
8029
- if ((!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && u.addClaims(t.claims, this.config.authOptions.clientCapabilities), this.config.systemOptions.preventCorsPreflight && t.ccsCredential)
8029
+ if ((!L.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && d.addClaims(t.claims, this.config.authOptions.clientCapabilities), this.config.systemOptions.preventCorsPreflight && t.ccsCredential)
8030
8030
  switch (t.ccsCredential.type) {
8031
8031
  case Be.HOME_ACCOUNT_ID:
8032
8032
  try {
8033
- _ = Pt(t.ccsCredential.credential), u.addCcsOid(_);
8033
+ _ = Pt(t.ccsCredential.credential), d.addCcsOid(_);
8034
8034
  } catch (E) {
8035
8035
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
8036
8036
  }
8037
8037
  break;
8038
8038
  case Be.UPN:
8039
- u.addCcsUpn(t.ccsCredential.credential);
8039
+ d.addCcsUpn(t.ccsCredential.credential);
8040
8040
  break;
8041
8041
  }
8042
8042
  return s == null || s.endMeasurement({
8043
8043
  success: !0
8044
- }), [2, u.createQueryString()];
8044
+ }), [2, d.createQueryString()];
8045
8045
  }
8046
8046
  });
8047
8047
  });
@@ -8080,9 +8080,9 @@ var Oi = (
8080
8080
  }, e.prototype.acquireCachedToken = function(t) {
8081
8081
  var r, o, i, a, s;
8082
8082
  return j(this, void 0, void 0, function() {
8083
- var u, p;
8084
- return K(this, function(d) {
8085
- switch (d.label) {
8083
+ var d, p;
8084
+ return K(this, function(u) {
8085
+ switch (u.label) {
8086
8086
  case 0:
8087
8087
  if (!t)
8088
8088
  throw ie.createEmptyTokenRequestError();
@@ -8092,7 +8092,7 @@ var Oi = (
8092
8092
  throw (o = this.serverTelemetryManager) === null || o === void 0 || o.setCacheOutcome(ht.CLAIMS_REQUESTED_CACHE_SKIPPED), this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because claims-based caching is disabled and claims were requested."), O.createRefreshRequiredError();
8093
8093
  if (!t.account)
8094
8094
  throw O.createNoAccountInSilentRequestError();
8095
- if (u = t.authority || this.authority.getPreferredCache(), p = this.cacheManager.readCacheRecord(t.account, t, u), p.accessToken) {
8095
+ if (d = t.authority || this.authority.getPreferredCache(), p = this.cacheManager.readCacheRecord(t.account, t, d), p.accessToken) {
8096
8096
  if (Ke.wasClockTurnedBack(p.accessToken.cachedAt) || Ke.isTokenExpired(p.accessToken.expiresOn, this.config.systemOptions.tokenRenewalOffsetSeconds))
8097
8097
  throw (a = this.serverTelemetryManager) === null || a === void 0 || a.setCacheOutcome(ht.CACHED_ACCESS_TOKEN_EXPIRED), this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within " + this.config.systemOptions.tokenRenewalOffsetSeconds + " seconds."), O.createRefreshRequiredError();
8098
8098
  if (p.accessToken.refreshOn && Ke.isTokenExpired(p.accessToken.refreshOn, 0))
@@ -8101,7 +8101,7 @@ var Oi = (
8101
8101
  throw (i = this.serverTelemetryManager) === null || i === void 0 || i.setCacheOutcome(ht.NO_CACHED_ACCESS_TOKEN), this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."), O.createRefreshRequiredError();
8102
8102
  return this.config.serverTelemetryManager && this.config.serverTelemetryManager.incrementCacheHits(), [4, this.generateResultFromCacheRecord(p, t)];
8103
8103
  case 1:
8104
- return [2, d.sent()];
8104
+ return [2, u.sent()];
8105
8105
  }
8106
8106
  });
8107
8107
  });
@@ -8176,31 +8176,31 @@ var Bi = (
8176
8176
  return n.prototype.detectRegion = function(e, t) {
8177
8177
  var r, o, i, a;
8178
8178
  return j(this, void 0, void 0, function() {
8179
- var s, u, p, d, f;
8179
+ var s, d, p, u, f;
8180
8180
  return K(this, function(_) {
8181
8181
  switch (_.label) {
8182
8182
  case 0:
8183
8183
  if ((r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(b.RegionDiscoveryDetectRegion, this.correlationId), s = e, s)
8184
8184
  return [3, 8];
8185
- u = n.IMDS_OPTIONS, _.label = 1;
8185
+ d = n.IMDS_OPTIONS, _.label = 1;
8186
8186
  case 1:
8187
- return _.trys.push([1, 6, , 7]), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(g.IMDS_VERSION, u)];
8187
+ return _.trys.push([1, 6, , 7]), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(g.IMDS_VERSION, d)];
8188
8188
  case 2:
8189
- return p = _.sent(), p.status === Rt.httpSuccess && (s = p.body, t.region_source = dt.IMDS), p.status !== Rt.httpBadRequest ? [3, 5] : ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RegionDiscoveryGetCurrentVersion, this.correlationId), [4, this.getCurrentVersion(u)]);
8189
+ return p = _.sent(), p.status === Rt.httpSuccess && (s = p.body, t.region_source = ut.IMDS), p.status !== Rt.httpBadRequest ? [3, 5] : ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.RegionDiscoveryGetCurrentVersion, this.correlationId), [4, this.getCurrentVersion(d)]);
8190
8190
  case 3:
8191
- return d = _.sent(), d ? ((a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(d, u)]) : (t.region_source = dt.FAILED_AUTO_DETECTION, [2, null]);
8191
+ return u = _.sent(), u ? ((a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(u, d)]) : (t.region_source = ut.FAILED_AUTO_DETECTION, [2, null]);
8192
8192
  case 4:
8193
- f = _.sent(), f.status === Rt.httpSuccess && (s = f.body, t.region_source = dt.IMDS), _.label = 5;
8193
+ f = _.sent(), f.status === Rt.httpSuccess && (s = f.body, t.region_source = ut.IMDS), _.label = 5;
8194
8194
  case 5:
8195
8195
  return [3, 7];
8196
8196
  case 6:
8197
- return _.sent(), t.region_source = dt.FAILED_AUTO_DETECTION, [2, null];
8197
+ return _.sent(), t.region_source = ut.FAILED_AUTO_DETECTION, [2, null];
8198
8198
  case 7:
8199
8199
  return [3, 9];
8200
8200
  case 8:
8201
- t.region_source = dt.ENVIRONMENT_VARIABLE, _.label = 9;
8201
+ t.region_source = ut.ENVIRONMENT_VARIABLE, _.label = 9;
8202
8202
  case 9:
8203
- return s || (t.region_source = dt.FAILED_AUTO_DETECTION), [2, s || null];
8203
+ return s || (t.region_source = ut.FAILED_AUTO_DETECTION), [2, s || null];
8204
8204
  }
8205
8205
  });
8206
8206
  });
@@ -8398,13 +8398,13 @@ var on = (
8398
8398
  return e.replace(/{tenant}|{tenantid}/g, this.tenant);
8399
8399
  }, n.prototype.replacePath = function(e) {
8400
8400
  var t = this, r = e, o = new W(this.metadata.canonical_authority), i = o.getUrlComponents(), a = i.PathSegments, s = this.canonicalAuthorityUrlComponents.PathSegments;
8401
- return s.forEach(function(u, p) {
8402
- var d = a[p];
8401
+ return s.forEach(function(d, p) {
8402
+ var u = a[p];
8403
8403
  if (p === 0 && t.canReplaceTenant(i)) {
8404
8404
  var f = new W(t.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];
8405
- d !== f && (t.logger.verbose("Replacing tenant domain name " + d + " with id " + f), d = f);
8405
+ u !== f && (t.logger.verbose("Replacing tenant domain name " + u + " with id " + f), u = f);
8406
8406
  }
8407
- u !== d && (r = r.replace("/" + d + "/", "/" + u + "/"));
8407
+ d !== u && (r = r.replace("/" + u + "/", "/" + d + "/"));
8408
8408
  }), this.replaceTenant(r);
8409
8409
  }, Object.defineProperty(n.prototype, "defaultOpenIdConfigurationEndpoint", {
8410
8410
  /**
@@ -8421,14 +8421,14 @@ var on = (
8421
8421
  var e, t, r;
8422
8422
  return j(this, void 0, void 0, function() {
8423
8423
  var o, i, a, s;
8424
- return K(this, function(u) {
8425
- switch (u.label) {
8424
+ return K(this, function(d) {
8425
+ switch (d.label) {
8426
8426
  case 0:
8427
8427
  return (e = this.performanceClient) === null || e === void 0 || e.addQueueMeasurement(b.AuthorityResolveEndpointsAsync, this.correlationId), o = this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort), o || (o = new Qn(), o.updateCanonicalAuthority(this.canonicalAuthority)), (t = this.performanceClient) === null || t === void 0 || t.setPreQueueTime(b.AuthorityUpdateCloudDiscoveryMetadata, this.correlationId), [4, this.updateCloudDiscoveryMetadata(o)];
8428
8428
  case 1:
8429
- return i = u.sent(), this.canonicalAuthority = this.canonicalAuthority.replace(this.hostnameAndPort, o.preferred_network), (r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityUpdateEndpointMetadata, this.correlationId), [4, this.updateEndpointMetadata(o)];
8429
+ return i = d.sent(), this.canonicalAuthority = this.canonicalAuthority.replace(this.hostnameAndPort, o.preferred_network), (r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityUpdateEndpointMetadata, this.correlationId), [4, this.updateEndpointMetadata(o)];
8430
8430
  case 2:
8431
- return a = u.sent(), i !== Fe.CACHE && a !== Fe.CACHE && (o.resetExpiresAt(), o.updateCanonicalAuthority(this.canonicalAuthority)), s = this.cacheManager.generateAuthorityMetadataCacheKey(o.preferred_cache), this.cacheManager.setAuthorityMetadata(s, o), this.metadata = o, [
8431
+ return a = d.sent(), i !== Fe.CACHE && a !== Fe.CACHE && (o.resetExpiresAt(), o.updateCanonicalAuthority(this.canonicalAuthority)), s = this.cacheManager.generateAuthorityMetadataCacheKey(o.preferred_cache), this.cacheManager.setAuthorityMetadata(s, o), this.metadata = o, [
8432
8432
  2
8433
8433
  /*return*/
8434
8434
  ];
@@ -8438,21 +8438,21 @@ var on = (
8438
8438
  }, n.prototype.updateEndpointMetadata = function(e) {
8439
8439
  var t, r, o, i, a, s;
8440
8440
  return j(this, void 0, void 0, function() {
8441
- var u, p;
8442
- return K(this, function(d) {
8443
- switch (d.label) {
8441
+ var d, p;
8442
+ return K(this, function(u) {
8443
+ switch (u.label) {
8444
8444
  case 0:
8445
- return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(b.AuthorityUpdateEndpointMetadata, this.correlationId), u = this.getEndpointMetadataFromConfig(), u ? (e.updateEndpointMetadata(u, !1), [2, Fe.CONFIG]) : this.isAuthoritySameType(e) && e.endpointsFromNetwork && !e.isExpired() ? [2, Fe.CACHE] : ((r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityGetEndpointMetadataFromNetwork, this.correlationId), [4, this.getEndpointMetadataFromNetwork()]);
8445
+ return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(b.AuthorityUpdateEndpointMetadata, this.correlationId), d = this.getEndpointMetadataFromConfig(), d ? (e.updateEndpointMetadata(d, !1), [2, Fe.CONFIG]) : this.isAuthoritySameType(e) && e.endpointsFromNetwork && !e.isExpired() ? [2, Fe.CACHE] : ((r = this.performanceClient) === null || r === void 0 || r.setPreQueueTime(b.AuthorityGetEndpointMetadataFromNetwork, this.correlationId), [4, this.getEndpointMetadataFromNetwork()]);
8446
8446
  case 1:
8447
- return u = d.sent(), u ? !((o = this.authorityOptions.azureRegionConfiguration) === null || o === void 0) && o.azureRegion ? ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), [4, this.updateMetadataWithRegionalInformation(u)]) : [3, 3] : [3, 4];
8447
+ return d = u.sent(), d ? !((o = this.authorityOptions.azureRegionConfiguration) === null || o === void 0) && o.azureRegion ? ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), [4, this.updateMetadataWithRegionalInformation(d)]) : [3, 3] : [3, 4];
8448
8448
  case 2:
8449
- u = d.sent(), d.label = 3;
8449
+ d = u.sent(), u.label = 3;
8450
8450
  case 3:
8451
- return e.updateEndpointMetadata(u, !0), [2, Fe.NETWORK];
8451
+ return e.updateEndpointMetadata(d, !0), [2, Fe.NETWORK];
8452
8452
  case 4:
8453
8453
  return p = this.getEndpointMetadataFromHardcodedValues(), p && !this.authorityOptions.skipAuthorityMetadataCache ? !((a = this.authorityOptions.azureRegionConfiguration) === null || a === void 0) && a.azureRegion ? ((s = this.performanceClient) === null || s === void 0 || s.setPreQueueTime(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), [4, this.updateMetadataWithRegionalInformation(p)]) : [3, 6] : [3, 7];
8454
8454
  case 5:
8455
- p = d.sent(), d.label = 6;
8455
+ p = u.sent(), u.label = 6;
8456
8456
  case 6:
8457
8457
  return e.updateEndpointMetadata(p, !1), [2, Fe.HARDCODED_VALUES];
8458
8458
  case 7:
@@ -8499,14 +8499,14 @@ var on = (
8499
8499
  var t, r, o, i;
8500
8500
  return j(this, void 0, void 0, function() {
8501
8501
  var a, s;
8502
- return K(this, function(u) {
8503
- switch (u.label) {
8502
+ return K(this, function(d) {
8503
+ switch (d.label) {
8504
8504
  case 0:
8505
8505
  return (t = this.performanceClient) === null || t === void 0 || t.addQueueMeasurement(b.AuthorityUpdateMetadataWithRegionalInformation, this.correlationId), a = (r = this.authorityOptions.azureRegionConfiguration) === null || r === void 0 ? void 0 : r.azureRegion, a ? a !== g.AZURE_REGION_AUTO_DISCOVER_FLAG ? (this.regionDiscoveryMetadata.region_outcome = Xt.CONFIGURED_NO_AUTO_DETECTION, this.regionDiscoveryMetadata.region_used = a, [2, n.replaceWithRegionalInformation(e, a)]) : ((o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(b.RegionDiscoveryDetectRegion, this.correlationId), [4, this.regionDiscovery.detectRegion((i = this.authorityOptions.azureRegionConfiguration) === null || i === void 0 ? void 0 : i.environmentRegion, this.regionDiscoveryMetadata)]) : [3, 2];
8506
8506
  case 1:
8507
- if (s = u.sent(), s)
8507
+ if (s = d.sent(), s)
8508
8508
  return this.regionDiscoveryMetadata.region_outcome = Xt.AUTO_DETECTION_REQUESTED_SUCCESSFUL, this.regionDiscoveryMetadata.region_used = s, [2, n.replaceWithRegionalInformation(e, s)];
8509
- this.regionDiscoveryMetadata.region_outcome = Xt.AUTO_DETECTION_REQUESTED_FAILED, u.label = 2;
8509
+ this.regionDiscoveryMetadata.region_outcome = Xt.AUTO_DETECTION_REQUESTED_FAILED, d.label = 2;
8510
8510
  case 2:
8511
8511
  return [2, e];
8512
8512
  }
@@ -8548,15 +8548,15 @@ var on = (
8548
8548
  }, n.prototype.getCloudDiscoveryMetadataFromNetwork = function() {
8549
8549
  var e;
8550
8550
  return j(this, void 0, void 0, function() {
8551
- var t, r, o, i, a, s, u, p;
8552
- return K(this, function(d) {
8553
- switch (d.label) {
8551
+ var t, r, o, i, a, s, d, p;
8552
+ return K(this, function(u) {
8553
+ switch (u.label) {
8554
8554
  case 0:
8555
- (e = this.performanceClient) === null || e === void 0 || e.addQueueMeasurement(b.AuthorityGetCloudDiscoveryMetadataFromNetwork, this.correlationId), t = "" + g.AAD_INSTANCE_DISCOVERY_ENDPT + this.canonicalAuthority + "oauth2/v2.0/authorize", r = {}, o = null, d.label = 1;
8555
+ (e = this.performanceClient) === null || e === void 0 || e.addQueueMeasurement(b.AuthorityGetCloudDiscoveryMetadataFromNetwork, this.correlationId), t = "" + g.AAD_INSTANCE_DISCOVERY_ENDPT + this.canonicalAuthority + "oauth2/v2.0/authorize", r = {}, o = null, u.label = 1;
8556
8556
  case 1:
8557
- return d.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
8557
+ return u.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
8558
8558
  case 2:
8559
- if (i = d.sent(), a = void 0, s = void 0, Ui(i.body))
8559
+ if (i = u.sent(), a = void 0, s = void 0, Ui(i.body))
8560
8560
  a = i.body, s = a.metadata, this.logger.verbosePii("tenant_discovery_endpoint is: " + a.tenant_discovery_endpoint);
8561
8561
  else if (xi(i.body)) {
8562
8562
  if (this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: " + i.status), a = i.body, a.error === g.INVALID_INSTANCE)
@@ -8566,9 +8566,9 @@ var on = (
8566
8566
  return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"), [2, null];
8567
8567
  return this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."), o = n.getCloudDiscoveryMetadataFromNetworkResponse(s, this.hostnameAndPort), [3, 4];
8568
8568
  case 3:
8569
- return u = d.sent(), u instanceof D ? this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata.
8570
- Error: ` + u.errorCode + `
8571
- Error Description: ` + u.errorMessage) : (p = u, this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
8569
+ return d = u.sent(), d instanceof D ? this.logger.error(`There was a network error while attempting to get the cloud discovery instance metadata.
8570
+ Error: ` + d.errorCode + `
8571
+ Error Description: ` + d.errorMessage) : (p = d, this.logger.error(`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.
8572
8572
  Error: ` + p.name + `
8573
8573
  Error Description: ` + p.message)), [2, null];
8574
8574
  case 4:
@@ -8644,17 +8644,17 @@ var bn = (
8644
8644
  }
8645
8645
  return n.createDiscoveredInstance = function(e, t, r, o, i, a, s) {
8646
8646
  return j(this, void 0, void 0, function() {
8647
- var u, p, d;
8647
+ var d, p, u;
8648
8648
  return K(this, function(f) {
8649
8649
  switch (f.label) {
8650
8650
  case 0:
8651
- a == null || a.addQueueMeasurement(b.AuthorityFactoryCreateDiscoveredInstance, s), u = on.transformCIAMAuthority(e), p = n.createInstance(u, t, r, o, i, a, s), f.label = 1;
8651
+ a == null || a.addQueueMeasurement(b.AuthorityFactoryCreateDiscoveredInstance, s), d = on.transformCIAMAuthority(e), p = n.createInstance(d, t, r, o, i, a, s), f.label = 1;
8652
8652
  case 1:
8653
8653
  return f.trys.push([1, 3, , 4]), a == null || a.setPreQueueTime(b.AuthorityResolveEndpointsAsync, s), [4, p.resolveEndpointsAsync()];
8654
8654
  case 2:
8655
8655
  return f.sent(), [2, p];
8656
8656
  case 3:
8657
- throw d = f.sent(), O.createEndpointDiscoveryIncompleteError(d);
8657
+ throw u = f.sent(), O.createEndpointDiscoveryIncompleteError(u);
8658
8658
  case 4:
8659
8659
  return [
8660
8660
  2
@@ -8709,7 +8709,7 @@ var Di = {
8709
8709
  }
8710
8710
  };
8711
8711
  /*! @azure/msal-common v13.3.1 2023-10-27 */
8712
- var un = {
8712
+ var dn = {
8713
8713
  missingKidError: {
8714
8714
  code: "missing_kid_error",
8715
8715
  desc: "The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."
@@ -8727,9 +8727,9 @@ var un = {
8727
8727
  return o.name = "JoseHeaderError", Object.setPrototypeOf(o, e.prototype), o;
8728
8728
  }
8729
8729
  return e.createMissingKidError = function() {
8730
- return new e(un.missingKidError.code, un.missingKidError.desc);
8730
+ return new e(dn.missingKidError.code, dn.missingKidError.desc);
8731
8731
  }, e.createMissingAlgError = function() {
8732
- return new e(un.missingAlgError.code, un.missingAlgError.desc);
8732
+ return new e(dn.missingAlgError.code, dn.missingAlgError.desc);
8733
8733
  }, e;
8734
8734
  }(D)
8735
8735
  );
@@ -8788,8 +8788,8 @@ var qi = (
8788
8788
  }, n.maxErrorsToSend = function(e) {
8789
8789
  var t, r = 0, o = 0, i = e.errors.length;
8790
8790
  for (t = 0; t < i; t++) {
8791
- var a = e.failedRequests[2 * t] || g.EMPTY_STRING, s = e.failedRequests[2 * t + 1] || g.EMPTY_STRING, u = e.errors[t] || g.EMPTY_STRING;
8792
- if (o += a.toString().length + s.toString().length + u.length + 3, o < ye.MAX_LAST_HEADER_BYTES)
8791
+ var a = e.failedRequests[2 * t] || g.EMPTY_STRING, s = e.failedRequests[2 * t + 1] || g.EMPTY_STRING, d = e.errors[t] || g.EMPTY_STRING;
8792
+ if (o += a.toString().length + s.toString().length + d.length + 3, o < ye.MAX_LAST_HEADER_BYTES)
8793
8793
  r += 1;
8794
8794
  else
8795
8795
  break;
@@ -8857,7 +8857,7 @@ var ao = (
8857
8857
  t || this.logger.info("PerformanceClient: No correlation id provided for " + e + ", generating", a), this.logger.trace("PerformanceClient: Performance measurement started for " + e, a);
8858
8858
  var s = this.startPerformanceMeasuremeant(e, a);
8859
8859
  s.startMeasurement();
8860
- var u = {
8860
+ var d = {
8861
8861
  eventId: this.generateId(),
8862
8862
  status: kn.InProgress,
8863
8863
  authority: this.authority,
@@ -8870,41 +8870,41 @@ var ao = (
8870
8870
  appName: (o = this.applicationTelemetry) === null || o === void 0 ? void 0 : o.appName,
8871
8871
  appVersion: (i = this.applicationTelemetry) === null || i === void 0 ? void 0 : i.appVersion
8872
8872
  };
8873
- return this.cacheEventByCorrelationId(u), {
8873
+ return this.cacheEventByCorrelationId(d), {
8874
8874
  endMeasurement: function(p) {
8875
- return r.endMeasurement(ee(ee({}, u), p), s);
8875
+ return r.endMeasurement(ee(ee({}, d), p), s);
8876
8876
  },
8877
8877
  discardMeasurement: function() {
8878
- return r.discardMeasurements(u.correlationId);
8878
+ return r.discardMeasurements(d.correlationId);
8879
8879
  },
8880
8880
  addStaticFields: function(p) {
8881
- return r.addStaticFields(p, u.correlationId);
8881
+ return r.addStaticFields(p, d.correlationId);
8882
8882
  },
8883
8883
  increment: function(p) {
8884
- return r.increment(p, u.correlationId);
8884
+ return r.increment(p, d.correlationId);
8885
8885
  },
8886
8886
  measurement: s,
8887
- event: u
8887
+ event: d
8888
8888
  };
8889
8889
  }, n.prototype.endMeasurement = function(e, t) {
8890
8890
  var r = this, o, i, a = this.eventsByCorrelationId.get(e.correlationId);
8891
8891
  if (!a)
8892
8892
  return this.logger.trace("PerformanceClient: Measurement not found for " + e.eventId, e.correlationId), null;
8893
- var s = e.eventId === a.eventId, u = {
8893
+ var s = e.eventId === a.eventId, d = {
8894
8894
  totalQueueTime: 0,
8895
8895
  totalQueueCount: 0,
8896
8896
  manuallyCompletedCount: 0
8897
8897
  };
8898
- s ? (u = this.getQueueInfo(e.correlationId), this.discardCache(a.correlationId)) : (o = a.incompleteSubMeasurements) === null || o === void 0 || o.delete(e.eventId), t == null || t.endMeasurement();
8898
+ s ? (d = this.getQueueInfo(e.correlationId), this.discardCache(a.correlationId)) : (o = a.incompleteSubMeasurements) === null || o === void 0 || o.delete(e.eventId), t == null || t.endMeasurement();
8899
8899
  var p = t == null ? void 0 : t.flushMeasurement();
8900
8900
  if (!p)
8901
8901
  return this.logger.trace("PerformanceClient: Performance measurement not taken", a.correlationId), null;
8902
8902
  if (this.logger.trace("PerformanceClient: Performance measurement ended for " + e.name + ": " + p + " ms", e.correlationId), !s)
8903
8903
  return a[e.name + "DurationMs"] = Math.floor(p), ee({}, a);
8904
- var d = ee(ee({}, a), e), f = 0;
8905
- return (i = d.incompleteSubMeasurements) === null || i === void 0 || i.forEach(function(_) {
8906
- r.logger.trace("PerformanceClient: Incomplete submeasurement " + _.name + " found for " + e.name, d.correlationId), f++;
8907
- }), d.incompleteSubMeasurements = void 0, d = ee(ee({}, d), { durationMs: Math.round(p), queuedTimeMs: u.totalQueueTime, queuedCount: u.totalQueueCount, queuedManuallyCompletedCount: u.manuallyCompletedCount, status: kn.Completed, incompleteSubsCount: f }), this.truncateIntegralFields(d, this.getIntFields()), this.emitEvents([d], e.correlationId), d;
8904
+ var u = ee(ee({}, a), e), f = 0;
8905
+ return (i = u.incompleteSubMeasurements) === null || i === void 0 || i.forEach(function(_) {
8906
+ r.logger.trace("PerformanceClient: Incomplete submeasurement " + _.name + " found for " + e.name, u.correlationId), f++;
8907
+ }), u.incompleteSubMeasurements = void 0, u = ee(ee({}, u), { durationMs: Math.round(p), queuedTimeMs: d.totalQueueTime, queuedCount: d.totalQueueCount, queuedManuallyCompletedCount: d.manuallyCompletedCount, status: kn.Completed, incompleteSubsCount: f }), this.truncateIntegralFields(u, this.getIntFields()), this.emitEvents([u], e.correlationId), u;
8908
8908
  }, n.prototype.addStaticFields = function(e, t) {
8909
8909
  this.logger.trace("PerformanceClient: Updating static fields");
8910
8910
  var r = this.eventsByCorrelationId.get(t);
@@ -9517,7 +9517,7 @@ var $n = (
9517
9517
  return this.internalStorage;
9518
9518
  }
9519
9519
  }, e.prototype.migrateCacheEntries = function() {
9520
- var t = this, r = g.CACHE_PREFIX + "." + he.ID_TOKEN, o = g.CACHE_PREFIX + "." + he.CLIENT_INFO, i = g.CACHE_PREFIX + "." + he.ERROR, a = g.CACHE_PREFIX + "." + he.ERROR_DESC, s = this.browserStorage.getItem(r), u = this.browserStorage.getItem(o), p = this.browserStorage.getItem(i), d = this.browserStorage.getItem(a), f = [s, u, p, d], _ = [he.ID_TOKEN, he.CLIENT_INFO, he.ERROR, he.ERROR_DESC];
9520
+ var t = this, r = g.CACHE_PREFIX + "." + he.ID_TOKEN, o = g.CACHE_PREFIX + "." + he.CLIENT_INFO, i = g.CACHE_PREFIX + "." + he.ERROR, a = g.CACHE_PREFIX + "." + he.ERROR_DESC, s = this.browserStorage.getItem(r), d = this.browserStorage.getItem(o), p = this.browserStorage.getItem(i), u = this.browserStorage.getItem(a), f = [s, d, p, u], _ = [he.ID_TOKEN, he.CLIENT_INFO, he.ERROR, he.ERROR_DESC];
9521
9521
  _.forEach(function(k, E) {
9522
9522
  return t.migrateCacheEntry(k, f[E]);
9523
9523
  });
@@ -9536,33 +9536,33 @@ var $n = (
9536
9536
  if (t.isCredentialKey(a)) {
9537
9537
  var s = t.getItem(a);
9538
9538
  if (s) {
9539
- var u = t.validateAndParseJson(s);
9540
- if (u && u.hasOwnProperty("credentialType"))
9541
- switch (u.credentialType) {
9539
+ var d = t.validateAndParseJson(s);
9540
+ if (d && d.hasOwnProperty("credentialType"))
9541
+ switch (d.credentialType) {
9542
9542
  case H.ID_TOKEN:
9543
- if (gt.isIdTokenEntity(u)) {
9543
+ if (gt.isIdTokenEntity(d)) {
9544
9544
  t.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - idToken with key: " + a + " found, saving key to token key map");
9545
- var p = Me.toObject(new gt(), u), d = t.updateCredentialCacheKey(a, p);
9546
- t.addTokenKey(d, H.ID_TOKEN);
9545
+ var p = Me.toObject(new gt(), d), u = t.updateCredentialCacheKey(a, p);
9546
+ t.addTokenKey(u, H.ID_TOKEN);
9547
9547
  return;
9548
9548
  } else
9549
9549
  t.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."), t.logger.tracePii("BrowserCacheManager:createKeyMaps - failed idToken validation on key: " + a);
9550
9550
  break;
9551
9551
  case H.ACCESS_TOKEN:
9552
9552
  case H.ACCESS_TOKEN_WITH_AUTH_SCHEME:
9553
- if (_t.isAccessTokenEntity(u)) {
9553
+ if (_t.isAccessTokenEntity(d)) {
9554
9554
  t.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - accessToken with key: " + a + " found, saving key to token key map");
9555
- var f = Me.toObject(new _t(), u), d = t.updateCredentialCacheKey(a, f);
9556
- t.addTokenKey(d, H.ACCESS_TOKEN);
9555
+ var f = Me.toObject(new _t(), d), u = t.updateCredentialCacheKey(a, f);
9556
+ t.addTokenKey(u, H.ACCESS_TOKEN);
9557
9557
  return;
9558
9558
  } else
9559
9559
  t.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."), t.logger.tracePii("BrowserCacheManager:createKeyMaps - failed accessToken validation on key: " + a);
9560
9560
  break;
9561
9561
  case H.REFRESH_TOKEN:
9562
- if (Mt.isRefreshTokenEntity(u)) {
9562
+ if (Mt.isRefreshTokenEntity(d)) {
9563
9563
  t.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - refreshToken with key: " + a + " found, saving key to token key map");
9564
- var _ = Me.toObject(new Mt(), u), d = t.updateCredentialCacheKey(a, _);
9565
- t.addTokenKey(d, H.REFRESH_TOKEN);
9564
+ var _ = Me.toObject(new Mt(), d), u = t.updateCredentialCacheKey(a, _);
9565
+ t.addTokenKey(u, H.REFRESH_TOKEN);
9566
9566
  return;
9567
9567
  } else
9568
9568
  t.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."), t.logger.tracePii("BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: " + a);
@@ -9923,21 +9923,21 @@ var $n = (
9923
9923
  this.logger.trace("BrowserCacheManager.updateCacheEntries called");
9924
9924
  var s = this.generateStateKey(t);
9925
9925
  this.setTemporaryCache(s, t, !1);
9926
- var u = this.generateNonceKey(t);
9927
- this.setTemporaryCache(u, r, !1);
9926
+ var d = this.generateNonceKey(t);
9927
+ this.setTemporaryCache(d, r, !1);
9928
9928
  var p = this.generateAuthorityKey(t);
9929
9929
  if (this.setTemporaryCache(p, o, !1), a) {
9930
- var d = {
9930
+ var u = {
9931
9931
  credential: a.homeAccountId,
9932
9932
  type: Be.HOME_ACCOUNT_ID
9933
9933
  };
9934
- this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9934
+ this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(u), !0);
9935
9935
  } else if (!L.isEmpty(i)) {
9936
- var d = {
9936
+ var u = {
9937
9937
  credential: i,
9938
9938
  type: Be.UPN
9939
9939
  };
9940
- this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9940
+ this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(u), !0);
9941
9941
  }
9942
9942
  }, e.prototype.resetRequestCache = function(t) {
9943
9943
  var r = this;
@@ -10159,9 +10159,9 @@ var Qi = (
10159
10159
  ), o.setXhrHeaders(s, r), s.onload = function() {
10160
10160
  (s.status < 200 || s.status >= 300) && (t === Ze.POST ? a(M.createPostRequestFailedError("Failed with status " + s.status, e)) : a(M.createGetRequestFailedError("Failed with status " + s.status, e)));
10161
10161
  try {
10162
- var u = JSON.parse(s.responseText), p = {
10162
+ var d = JSON.parse(s.responseText), p = {
10163
10163
  headers: o.getHeaderDict(s),
10164
- body: u,
10164
+ body: d,
10165
10165
  status: s.status
10166
10166
  };
10167
10167
  i(p);
@@ -10187,14 +10187,14 @@ var Qi = (
10187
10187
  }, n.prototype.getHeaderDict = function(e) {
10188
10188
  var t = e.getAllResponseHeaders(), r = t.trim().split(/[\r\n]+/), o = {};
10189
10189
  return r.forEach(function(i) {
10190
- var a = i.split(": "), s = a.shift(), u = a.join(": ");
10191
- s && u && (o[s] = u);
10190
+ var a = i.split(": "), s = a.shift(), d = a.join(": ");
10191
+ s && d && (o[s] = d);
10192
10192
  }), o;
10193
10193
  }, n;
10194
10194
  }()
10195
10195
  );
10196
10196
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
10197
- var de = (
10197
+ var ue = (
10198
10198
  /** @class */
10199
10199
  function() {
10200
10200
  function n() {
@@ -10242,8 +10242,8 @@ var de = (
10242
10242
  var co = (
10243
10243
  /** @class */
10244
10244
  function() {
10245
- function n(e, t, r, o, i, a, s, u, p) {
10246
- this.config = e, this.browserStorage = t, this.browserCrypto = r, this.networkClient = this.config.system.networkClient, this.eventHandler = i, this.navigationClient = a, this.nativeMessageHandler = u, this.correlationId = p || this.browserCrypto.createNewGuid(), this.logger = o.clone(Qe.MSAL_SKU, tn, this.correlationId), this.performanceClient = s;
10245
+ function n(e, t, r, o, i, a, s, d, p) {
10246
+ this.config = e, this.browserStorage = t, this.browserCrypto = r, this.networkClient = this.config.system.networkClient, this.eventHandler = i, this.navigationClient = a, this.nativeMessageHandler = d, this.correlationId = p || this.browserCrypto.createNewGuid(), this.logger = o.clone(Qe.MSAL_SKU, tn, this.correlationId), this.performanceClient = s;
10247
10247
  }
10248
10248
  return n.prototype.clearCacheOnLogout = function(e) {
10249
10249
  return T(this, void 0, void 0, function() {
@@ -10292,9 +10292,9 @@ var co = (
10292
10292
  authority: r,
10293
10293
  scopes: o
10294
10294
  }), !i.authenticationScheme)
10295
- i.authenticationScheme = te.BEARER, this.logger.verbose(`Authentication Scheme wasn't explicitly set in request, defaulting to "Bearer" request`);
10295
+ i.authenticationScheme = ne.BEARER, this.logger.verbose(`Authentication Scheme wasn't explicitly set in request, defaulting to "Bearer" request`);
10296
10296
  else {
10297
- if (i.authenticationScheme === te.SSH) {
10297
+ if (i.authenticationScheme === ne.SSH) {
10298
10298
  if (!e.sshJwk)
10299
10299
  throw ie.createMissingSshJwkError();
10300
10300
  if (!e.sshKid)
@@ -10312,8 +10312,8 @@ var co = (
10312
10312
  });
10313
10313
  }, n.prototype.getRedirectUri = function(e) {
10314
10314
  this.logger.verbose("getRedirectUri called");
10315
- var t = e || this.config.auth.redirectUri || de.getCurrentUri();
10316
- return W.getAbsoluteUrl(t, de.getCurrentUri());
10315
+ var t = e || this.config.auth.redirectUri || ue.getCurrentUri();
10316
+ return W.getAbsoluteUrl(t, ue.getCurrentUri());
10317
10317
  }, n.prototype.validateRequestAuthority = function(e, t) {
10318
10318
  return T(this, void 0, void 0, function() {
10319
10319
  var r;
@@ -10399,7 +10399,7 @@ var jt = (
10399
10399
  this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");
10400
10400
  else
10401
10401
  this.logger.verbose("logoutHint will not be set since no logout request was configured");
10402
- return !t || t.postLogoutRedirectUri !== null ? t && t.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(t.postLogoutRedirectUri, de.getCurrentUri())) : this.config.auth.postLogoutRedirectUri === null ? this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect", r.correlationId) : this.config.auth.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to configured uri", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri, de.getCurrentUri())) : (this.logger.verbose("Setting postLogoutRedirectUri to current page", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(de.getCurrentUri(), de.getCurrentUri())) : this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri", r.correlationId), r;
10402
+ return !t || t.postLogoutRedirectUri !== null ? t && t.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(t.postLogoutRedirectUri, ue.getCurrentUri())) : this.config.auth.postLogoutRedirectUri === null ? this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect", r.correlationId) : this.config.auth.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to configured uri", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri, ue.getCurrentUri())) : (this.logger.verbose("Setting postLogoutRedirectUri to current page", r.correlationId), r.postLogoutRedirectUri = W.getAbsoluteUrl(ue.getCurrentUri(), ue.getCurrentUri())) : this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri", r.correlationId), r;
10403
10403
  }, e.prototype.getLogoutHintFromIdTokenClaims = function(t) {
10404
10404
  var r = t.idTokenClaims;
10405
10405
  if (r) {
@@ -10475,7 +10475,7 @@ var jt = (
10475
10475
  }, e.prototype.getDiscoveredAuthority = function(t, r) {
10476
10476
  var o;
10477
10477
  return T(this, void 0, void 0, function() {
10478
- var i, a, s, u;
10478
+ var i, a, s, d;
10479
10479
  return I(this, function(p) {
10480
10480
  switch (p.label) {
10481
10481
  case 0:
@@ -10485,16 +10485,16 @@ var jt = (
10485
10485
  cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
10486
10486
  authorityMetadata: this.config.auth.authorityMetadata,
10487
10487
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
10488
- }, s = t || this.config.auth.authority, u = on.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(b.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4, bn.createDiscoveredInstance(u, this.config.system.networkClient, this.browserStorage, a, this.logger, this.performanceClient, this.correlationId).then(function(d) {
10488
+ }, s = t || this.config.auth.authority, d = on.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(b.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4, bn.createDiscoveredInstance(d, this.config.system.networkClient, this.browserStorage, a, this.logger, this.performanceClient, this.correlationId).then(function(u) {
10489
10489
  return i.endMeasurement({
10490
10490
  success: !0
10491
- }), d;
10492
- }).catch(function(d) {
10491
+ }), u;
10492
+ }).catch(function(u) {
10493
10493
  throw i.endMeasurement({
10494
- errorCode: d.errorCode,
10495
- subErrorCode: d.subError,
10494
+ errorCode: u.errorCode,
10495
+ subErrorCode: u.subError,
10496
10496
  success: !1
10497
- }), d;
10497
+ }), u;
10498
10498
  })];
10499
10499
  case 1:
10500
10500
  return [2, p.sent()];
@@ -10503,15 +10503,15 @@ var jt = (
10503
10503
  });
10504
10504
  }, e.prototype.initializeAuthorizationRequest = function(t, r) {
10505
10505
  return T(this, void 0, void 0, function() {
10506
- var o, i, a, s, u, p, d;
10506
+ var o, i, a, s, d, p, u;
10507
10507
  return I(this, function(f) {
10508
10508
  switch (f.label) {
10509
10509
  case 0:
10510
10510
  return this.performanceClient.addQueueMeasurement(b.StandardInteractionClientInitializeAuthorizationRequest, this.correlationId), this.logger.verbose("initializeAuthorizationRequest called", this.correlationId), o = this.getRedirectUri(t.redirectUri), i = {
10511
10511
  interactionType: r
10512
- }, a = st.setRequestState(this.browserCrypto, t && t.state || g.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(b.InitializeBaseRequest, this.correlationId), u = [{}], [4, this.initializeBaseRequest(t)];
10512
+ }, a = st.setRequestState(this.browserCrypto, t && t.state || g.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(b.InitializeBaseRequest, this.correlationId), d = [{}], [4, this.initializeBaseRequest(t)];
10513
10513
  case 1:
10514
- return s = B.apply(void 0, [B.apply(void 0, u.concat([f.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode: mn.FRAGMENT }]), p = t.account || this.browserStorage.getActiveAccount(), p && (this.logger.verbose("Setting validated request account", this.correlationId), this.logger.verbosePii("Setting validated request account: " + p.homeAccountId, this.correlationId), s.account = p), L.isEmpty(s.loginHint) && !p && (d = this.browserStorage.getLegacyLoginHint(), d && (s.loginHint = d)), [2, s];
10514
+ return s = B.apply(void 0, [B.apply(void 0, d.concat([f.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode: mn.FRAGMENT }]), p = t.account || this.browserStorage.getActiveAccount(), p && (this.logger.verbose("Setting validated request account", this.correlationId), this.logger.verbosePii("Setting validated request account: " + p.homeAccountId, this.correlationId), s.account = p), L.isEmpty(s.loginHint) && !p && (u = this.browserStorage.getLegacyLoginHint(), u && (s.loginHint = u)), [2, s];
10515
10515
  }
10516
10516
  });
10517
10517
  });
@@ -10528,7 +10528,7 @@ var or = (
10528
10528
  return n.prototype.handleCodeResponseFromHash = function(e, t, r, o) {
10529
10529
  return T(this, void 0, void 0, function() {
10530
10530
  var i, a, s;
10531
- return I(this, function(u) {
10531
+ return I(this, function(d) {
10532
10532
  if (this.performanceClient.addQueueMeasurement(b.HandleCodeResponseFromHash, this.authCodeRequest.correlationId), this.logger.verbose("InteractionHandler.handleCodeResponse called"), L.isEmpty(e))
10533
10533
  throw M.createEmptyHashError(e);
10534
10534
  if (i = this.browserStorage.generateStateKey(t), a = this.browserStorage.getTemporaryCache(i), !a)
@@ -10543,17 +10543,17 @@ var or = (
10543
10543
  });
10544
10544
  }, n.prototype.handleCodeResponseFromServer = function(e, t, r, o, i) {
10545
10545
  return i === void 0 && (i = !0), T(this, void 0, void 0, function() {
10546
- var a, s, u, p, d, f;
10546
+ var a, s, d, p, u, f;
10547
10547
  return I(this, function(_) {
10548
10548
  switch (_.label) {
10549
10549
  case 0:
10550
10550
  if (this.performanceClient.addQueueMeasurement(b.HandleCodeResponseFromServer, this.authCodeRequest.correlationId), this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"), a = this.browserStorage.generateStateKey(t), s = this.browserStorage.getTemporaryCache(a), !s)
10551
10551
  throw O.createStateNotFoundError("Cached State");
10552
- return u = this.browserStorage.generateNonceKey(s), p = this.browserStorage.getTemporaryCache(u), this.authCodeRequest.code = e.code, e.cloud_instance_host_name ? (this.performanceClient.setPreQueueTime(b.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), [4, this.updateTokenEndpointAuthority(e.cloud_instance_host_name, r, o)]) : [3, 2];
10552
+ return d = this.browserStorage.generateNonceKey(s), p = this.browserStorage.getTemporaryCache(d), this.authCodeRequest.code = e.code, e.cloud_instance_host_name ? (this.performanceClient.setPreQueueTime(b.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), [4, this.updateTokenEndpointAuthority(e.cloud_instance_host_name, r, o)]) : [3, 2];
10553
10553
  case 1:
10554
10554
  _.sent(), _.label = 2;
10555
10555
  case 2:
10556
- return i && (e.nonce = p || void 0), e.state = s, e.client_info ? this.authCodeRequest.clientInfo = e.client_info : (d = this.checkCcsCredentials(), d && (this.authCodeRequest.ccsCredential = d)), this.performanceClient.setPreQueueTime(b.AuthClientAcquireToken, this.authCodeRequest.correlationId), [4, this.authModule.acquireToken(this.authCodeRequest, e)];
10556
+ return i && (e.nonce = p || void 0), e.state = s, e.client_info ? this.authCodeRequest.clientInfo = e.client_info : (u = this.checkCcsCredentials(), u && (this.authCodeRequest.ccsCredential = u)), this.performanceClient.setPreQueueTime(b.AuthClientAcquireToken, this.authCodeRequest.correlationId), [4, this.authModule.acquireToken(this.authCodeRequest, e)];
10557
10557
  case 3:
10558
10558
  return f = _.sent(), this.browserStorage.cleanRequestByState(t), [2, f];
10559
10559
  }
@@ -10592,8 +10592,8 @@ var Ur = (
10592
10592
  function(n) {
10593
10593
  be(e, n);
10594
10594
  function e(t, r, o, i, a, s) {
10595
- var u = n.call(this, t, r, o, i, s) || this;
10596
- return u.browserCrypto = a, u;
10595
+ var d = n.call(this, t, r, o, i, s) || this;
10596
+ return d.browserCrypto = a, d;
10597
10597
  }
10598
10598
  return e.prototype.initiateAuthRequest = function(t, r) {
10599
10599
  return T(this, void 0, void 0, function() {
@@ -10639,7 +10639,7 @@ var Ur = (
10639
10639
  });
10640
10640
  }, e.prototype.handleCodeResponseFromHash = function(t, r, o, i) {
10641
10641
  return T(this, void 0, void 0, function() {
10642
- var a, s, u, p, d, f, _;
10642
+ var a, s, d, p, u, f, _;
10643
10643
  return I(this, function(k) {
10644
10644
  switch (k.label) {
10645
10645
  case 0:
@@ -10648,15 +10648,15 @@ var Ur = (
10648
10648
  if (this.browserStorage.setInteractionInProgress(!1), a = this.browserStorage.generateStateKey(r), s = this.browserStorage.getTemporaryCache(a), !s)
10649
10649
  throw O.createStateNotFoundError("Cached State");
10650
10650
  try {
10651
- u = this.authModule.handleFragmentResponse(t, s);
10651
+ d = this.authModule.handleFragmentResponse(t, s);
10652
10652
  } catch (E) {
10653
10653
  throw E instanceof bt && E.subError === A.userCancelledError.code ? M.createUserCancelledError() : E;
10654
10654
  }
10655
- return p = this.browserStorage.generateNonceKey(s), d = this.browserStorage.getTemporaryCache(p), this.authCodeRequest.code = u.code, u.cloud_instance_host_name ? [4, this.updateTokenEndpointAuthority(u.cloud_instance_host_name, o, i)] : [3, 2];
10655
+ return p = this.browserStorage.generateNonceKey(s), u = this.browserStorage.getTemporaryCache(p), this.authCodeRequest.code = d.code, d.cloud_instance_host_name ? [4, this.updateTokenEndpointAuthority(d.cloud_instance_host_name, o, i)] : [3, 2];
10656
10656
  case 1:
10657
10657
  k.sent(), k.label = 2;
10658
10658
  case 2:
10659
- return u.nonce = d || void 0, u.state = s, u.client_info ? this.authCodeRequest.clientInfo = u.client_info : (f = this.checkCcsCredentials(), f && (this.authCodeRequest.ccsCredential = f)), [4, this.authModule.acquireToken(this.authCodeRequest, u)];
10659
+ return d.nonce = u || void 0, d.state = s, d.client_info ? this.authCodeRequest.clientInfo = d.client_info : (f = this.checkCcsCredentials(), f && (this.authCodeRequest.ccsCredential = f)), [4, this.authModule.acquireToken(this.authCodeRequest, d)];
10660
10660
  case 3:
10661
10661
  return _ = k.sent(), this.browserStorage.cleanRequestByState(r), [2, _];
10662
10662
  }
@@ -10735,21 +10735,21 @@ var lo = (
10735
10735
  return e.prototype.acquireToken = function(t) {
10736
10736
  return T(this, void 0, void 0, function() {
10737
10737
  var r, o, i, a, s;
10738
- return I(this, function(u) {
10739
- switch (u.label) {
10738
+ return I(this, function(d) {
10739
+ switch (d.label) {
10740
10740
  case 0:
10741
10741
  return r = this.performanceClient.startMeasurement(b.SilentCacheClientAcquireToken, t.correlationId), o = this.initializeServerTelemetryManager(oe.acquireTokenSilent_silentFlow), [4, this.createSilentFlowClient(o, t.authority, t.azureCloudOptions)];
10742
10742
  case 1:
10743
- i = u.sent(), this.logger.verbose("Silent auth client created"), u.label = 2;
10743
+ i = d.sent(), this.logger.verbose("Silent auth client created"), d.label = 2;
10744
10744
  case 2:
10745
- return u.trys.push([2, 4, , 5]), [4, i.acquireCachedToken(t)];
10745
+ return d.trys.push([2, 4, , 5]), [4, i.acquireCachedToken(t)];
10746
10746
  case 3:
10747
- return a = u.sent(), r.endMeasurement({
10747
+ return a = d.sent(), r.endMeasurement({
10748
10748
  success: !0,
10749
10749
  fromCache: !0
10750
10750
  }), [2, a];
10751
10751
  case 4:
10752
- throw s = u.sent(), s instanceof M && s.errorCode === A.signingKeyNotFoundInStorage.code && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), r.endMeasurement({
10752
+ throw s = d.sent(), s instanceof M && s.errorCode === A.signingKeyNotFoundInStorage.code && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), r.endMeasurement({
10753
10753
  errorCode: s instanceof D && s.errorCode || void 0,
10754
10754
  subErrorCode: s instanceof D && s.subError || void 0,
10755
10755
  success: !1
@@ -10796,36 +10796,36 @@ var zt = (
10796
10796
  /** @class */
10797
10797
  function(n) {
10798
10798
  be(e, n);
10799
- function e(t, r, o, i, a, s, u, p, d, f, _, k) {
10800
- var E = n.call(this, t, r, o, i, a, s, p, d, k) || this;
10801
- return E.apiId = u, E.accountId = f, E.nativeMessageHandler = d, E.nativeStorageManager = _, E.silentCacheClient = new lo(t, E.nativeStorageManager, o, i, a, s, p, d, k), E;
10799
+ function e(t, r, o, i, a, s, d, p, u, f, _, k) {
10800
+ var E = n.call(this, t, r, o, i, a, s, p, u, k) || this;
10801
+ return E.apiId = d, E.accountId = f, E.nativeMessageHandler = u, E.nativeStorageManager = _, E.silentCacheClient = new lo(t, E.nativeStorageManager, o, i, a, s, p, u, k), E;
10802
10802
  }
10803
10803
  return e.prototype.acquireToken = function(t) {
10804
10804
  return T(this, void 0, void 0, function() {
10805
- var r, o, i, a, s, u, p;
10806
- return I(this, function(d) {
10807
- switch (d.label) {
10805
+ var r, o, i, a, s, d, p;
10806
+ return I(this, function(u) {
10807
+ switch (u.label) {
10808
10808
  case 0:
10809
10809
  return this.logger.trace("NativeInteractionClient - acquireToken called."), r = this.performanceClient.startMeasurement(b.NativeInteractionClientAcquireToken, t.correlationId), o = Ke.nowSeconds(), [4, this.initializeNativeRequest(t)];
10810
10810
  case 1:
10811
- i = d.sent(), d.label = 2;
10811
+ i = u.sent(), u.label = 2;
10812
10812
  case 2:
10813
- return d.trys.push([2, 4, , 5]), [4, this.acquireTokensFromCache(this.accountId, i)];
10813
+ return u.trys.push([2, 4, , 5]), [4, this.acquireTokensFromCache(this.accountId, i)];
10814
10814
  case 3:
10815
- return a = d.sent(), r.endMeasurement({
10815
+ return a = u.sent(), r.endMeasurement({
10816
10816
  success: !0,
10817
10817
  isNativeBroker: !1,
10818
10818
  fromCache: !0
10819
10819
  }), [2, a];
10820
10820
  case 4:
10821
- return d.sent(), this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"), [3, 5];
10821
+ return u.sent(), this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"), [3, 5];
10822
10822
  case 5:
10823
10823
  return s = {
10824
10824
  method: at.GetToken,
10825
10825
  request: i
10826
10826
  }, [4, this.nativeMessageHandler.sendMessage(s)];
10827
10827
  case 6:
10828
- return u = d.sent(), p = this.validateNativeResponse(u), [2, this.handleNativeResponse(p, i, o).then(function(f) {
10828
+ return d = u.sent(), p = this.validateNativeResponse(d), [2, this.handleNativeResponse(p, i, o).then(function(f) {
10829
10829
  return r.endMeasurement({
10830
10830
  success: !0,
10831
10831
  isNativeBroker: !0,
@@ -10853,20 +10853,20 @@ var zt = (
10853
10853
  }, e.prototype.acquireTokensFromCache = function(t, r) {
10854
10854
  return T(this, void 0, void 0, function() {
10855
10855
  var o, i, a, s;
10856
- return I(this, function(u) {
10857
- switch (u.label) {
10856
+ return I(this, function(d) {
10857
+ switch (d.label) {
10858
10858
  case 0:
10859
10859
  if (!t)
10860
10860
  throw this.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"), O.createNoAccountFoundError();
10861
10861
  if (o = this.browserStorage.getAccountInfoFilteredBy({ nativeAccountId: t }), !o)
10862
10862
  throw O.createNoAccountFoundError();
10863
- u.label = 1;
10863
+ d.label = 1;
10864
10864
  case 1:
10865
- return u.trys.push([1, 3, , 4]), i = this.createSilentCacheRequest(r, o), [4, this.silentCacheClient.acquireToken(i)];
10865
+ return d.trys.push([1, 3, , 4]), i = this.createSilentCacheRequest(r, o), [4, this.silentCacheClient.acquireToken(i)];
10866
10866
  case 2:
10867
- return a = u.sent(), [2, a];
10867
+ return a = d.sent(), [2, a];
10868
10868
  case 3:
10869
- throw s = u.sent(), s;
10869
+ throw s = d.sent(), s;
10870
10870
  case 4:
10871
10871
  return [
10872
10872
  2
@@ -10877,7 +10877,7 @@ var zt = (
10877
10877
  });
10878
10878
  }, e.prototype.acquireTokenRedirect = function(t) {
10879
10879
  return T(this, void 0, void 0, function() {
10880
- var r, o, i, a, s, u;
10880
+ var r, o, i, a, s, d;
10881
10881
  return I(this, function(p) {
10882
10882
  switch (p.label) {
10883
10883
  case 0:
@@ -10900,7 +10900,7 @@ var zt = (
10900
10900
  apiId: oe.acquireTokenRedirect,
10901
10901
  timeout: this.config.system.redirectNavigationTimeout,
10902
10902
  noHistory: !1
10903
- }, u = this.config.auth.navigateToLoginRequestUrl ? window.location.href : this.getRedirectUri(t.redirectUri), [4, this.navigationClient.navigateExternal(u, s)];
10903
+ }, d = this.config.auth.navigateToLoginRequestUrl ? window.location.href : this.getRedirectUri(t.redirectUri), [4, this.navigationClient.navigateExternal(d, s)];
10904
10904
  case 6:
10905
10905
  return p.sent(), [
10906
10906
  2
@@ -10911,9 +10911,9 @@ var zt = (
10911
10911
  });
10912
10912
  }, e.prototype.handleRedirectPromise = function() {
10913
10913
  return T(this, void 0, void 0, function() {
10914
- var t, r, o, i, a, s, u, p;
10915
- return I(this, function(d) {
10916
- switch (d.label) {
10914
+ var t, r, o, i, a, s, d, p;
10915
+ return I(this, function(u) {
10916
+ switch (u.label) {
10917
10917
  case 0:
10918
10918
  if (this.logger.trace("NativeInteractionClient - handleRedirectPromise called."), !this.browserStorage.isInteractionInProgress(!0))
10919
10919
  return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
@@ -10922,13 +10922,13 @@ var zt = (
10922
10922
  r = t.prompt, o = br(t, ["prompt"]), r && this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."), this.browserStorage.removeItem(this.browserStorage.generateCacheKey(J.NATIVE_REQUEST)), i = {
10923
10923
  method: at.GetToken,
10924
10924
  request: o
10925
- }, a = Ke.nowSeconds(), d.label = 1;
10925
+ }, a = Ke.nowSeconds(), u.label = 1;
10926
10926
  case 1:
10927
- return d.trys.push([1, 3, , 4]), this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."), [4, this.nativeMessageHandler.sendMessage(i)];
10927
+ return u.trys.push([1, 3, , 4]), this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."), [4, this.nativeMessageHandler.sendMessage(i)];
10928
10928
  case 2:
10929
- return s = d.sent(), this.validateNativeResponse(s), u = this.handleNativeResponse(s, o, a), this.browserStorage.setInteractionInProgress(!1), [2, u];
10929
+ return s = u.sent(), this.validateNativeResponse(s), d = this.handleNativeResponse(s, o, a), this.browserStorage.setInteractionInProgress(!1), [2, d];
10930
10930
  case 3:
10931
- throw p = d.sent(), this.browserStorage.setInteractionInProgress(!1), p;
10931
+ throw p = u.sent(), this.browserStorage.setInteractionInProgress(!1), p;
10932
10932
  case 4:
10933
10933
  return [
10934
10934
  2
@@ -10941,7 +10941,7 @@ var zt = (
10941
10941
  return this.logger.trace("NativeInteractionClient - logout called."), Promise.reject("Logout not implemented yet");
10942
10942
  }, e.prototype.handleNativeResponse = function(t, r, o) {
10943
10943
  return T(this, void 0, void 0, function() {
10944
- var i, a, s, u, p, d;
10944
+ var i, a, s, d, p, u;
10945
10945
  return I(this, function(f) {
10946
10946
  switch (f.label) {
10947
10947
  case 0:
@@ -10949,9 +10949,9 @@ var zt = (
10949
10949
  throw tt.createUserSwitchError();
10950
10950
  return [4, this.getDiscoveredAuthority(r.authority)];
10951
10951
  case 1:
10952
- return i = f.sent(), a = i.getPreferredCache(), s = this.createIdTokenObj(t), u = this.createHomeAccountIdentifier(t, s), p = this.createAccountEntity(t, u, s, a), [4, this.generateAuthenticationResult(t, r, s, p, i.canonicalAuthority, o)];
10952
+ return i = f.sent(), a = i.getPreferredCache(), s = this.createIdTokenObj(t), d = this.createHomeAccountIdentifier(t, s), p = this.createAccountEntity(t, d, s, a), [4, this.generateAuthenticationResult(t, r, s, p, i.canonicalAuthority, o)];
10953
10953
  case 2:
10954
- return d = f.sent(), this.cacheAccount(p), this.cacheNativeTokens(t, r, u, p, s, d.accessToken, d.tenantId, o), [2, d];
10954
+ return u = f.sent(), this.cacheAccount(p), this.cacheNativeTokens(t, r, d, p, s, u.accessToken, u.tenantId, o), [2, u];
10955
10955
  }
10956
10956
  });
10957
10957
  });
@@ -10970,7 +10970,7 @@ var zt = (
10970
10970
  return I(this, function(a) {
10971
10971
  switch (a.label) {
10972
10972
  case 0:
10973
- if (r.tokenType !== te.POP)
10973
+ if (r.tokenType !== ne.POP)
10974
10974
  return [3, 2];
10975
10975
  if (t.shr)
10976
10976
  return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"), [2, t.shr];
@@ -10991,13 +10991,13 @@ var zt = (
10991
10991
  });
10992
10992
  }, e.prototype.generateAuthenticationResult = function(t, r, o, i, a, s) {
10993
10993
  return T(this, void 0, void 0, function() {
10994
- var u, p, d, f, _, k, E, N;
10994
+ var d, p, u, f, _, k, E, N;
10995
10995
  return I(this, function(Q) {
10996
10996
  switch (Q.label) {
10997
10997
  case 0:
10998
- return u = this.addTelemetryFromNativeResponse(t), p = t.scope ? Ee.fromString(t.scope) : Ee.fromString(r.scope), d = t.account.properties || {}, f = d.UID || o.claims.oid || o.claims.sub || g.EMPTY_STRING, _ = d.TenantId || o.claims.tid || g.EMPTY_STRING, [4, this.generatePopAccessToken(t, r)];
10998
+ return d = this.addTelemetryFromNativeResponse(t), p = t.scope ? Ee.fromString(t.scope) : Ee.fromString(r.scope), u = t.account.properties || {}, f = u.UID || o.claims.oid || o.claims.sub || g.EMPTY_STRING, _ = u.TenantId || o.claims.tid || g.EMPTY_STRING, [4, this.generatePopAccessToken(t, r)];
10999
10999
  case 1:
11000
- return k = Q.sent(), E = r.tokenType === te.POP ? te.POP : te.BEARER, N = {
11000
+ return k = Q.sent(), E = r.tokenType === ne.POP ? ne.POP : ne.BEARER, N = {
11001
11001
  authority: a,
11002
11002
  uniqueId: f,
11003
11003
  tenantId: _,
@@ -11006,7 +11006,7 @@ var zt = (
11006
11006
  idToken: t.id_token,
11007
11007
  idTokenClaims: o.claims,
11008
11008
  accessToken: k,
11009
- fromCache: u ? this.isResponseFromCache(u) : !1,
11009
+ fromCache: d ? this.isResponseFromCache(d) : !1,
11010
11010
  expiresOn: new Date(Number(s + t.expires_in) * 1e3),
11011
11011
  tokenType: E,
11012
11012
  correlationId: this.correlationId,
@@ -11021,8 +11021,8 @@ var zt = (
11021
11021
  this.browserStorage.setAccount(t), this.browserStorage.removeAccountContext(t).catch(function(o) {
11022
11022
  r.logger.error("Error occurred while removing account context from browser storage. " + o);
11023
11023
  });
11024
- }, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, u, p) {
11025
- var d = gt.createIdTokenEntity(o, r.authority, t.id_token || g.EMPTY_STRING, r.clientId, a.claims.tid || g.EMPTY_STRING), f = r.tokenType === te.POP ? g.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, _ = p + f, k = this.generateScopes(t, r), E = _t.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || g.EMPTY_STRING : u, k.printScopes(), _, 0, this.browserCrypto), N = new en(i, d, E);
11024
+ }, e.prototype.cacheNativeTokens = function(t, r, o, i, a, s, d, p) {
11025
+ var u = gt.createIdTokenEntity(o, r.authority, t.id_token || g.EMPTY_STRING, r.clientId, a.claims.tid || g.EMPTY_STRING), f = r.tokenType === ne.POP ? g.SHR_NONCE_VALIDITY : (typeof t.expires_in == "string" ? parseInt(t.expires_in, 10) : t.expires_in) || 0, _ = p + f, k = this.generateScopes(t, r), E = _t.createAccessTokenEntity(o, r.authority, s, r.clientId, a ? a.claims.tid || g.EMPTY_STRING : d, k.printScopes(), _, 0, this.browserCrypto), N = new en(i, u, E);
11026
11026
  this.nativeStorageManager.saveCacheRecord(N);
11027
11027
  }, e.prototype.addTelemetryFromNativeResponse = function(t) {
11028
11028
  var r = this.getMATSFromResponse(t);
@@ -11059,7 +11059,7 @@ var zt = (
11059
11059
  return typeof t.is_cached > "u" ? (this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."), !1) : !!t.is_cached;
11060
11060
  }, e.prototype.initializeNativeRequest = function(t) {
11061
11061
  return T(this, void 0, void 0, function() {
11062
- var r, o, i, a, s, u, p, d, f, _, k = this;
11062
+ var r, o, i, a, s, d, p, u, f, _, k = this;
11063
11063
  return I(this, function(E) {
11064
11064
  switch (E.label) {
11065
11065
  case 0:
@@ -11067,7 +11067,7 @@ var zt = (
11067
11067
  case 1:
11068
11068
  E.sent(), E.label = 2;
11069
11069
  case 2:
11070
- return o = new W(r), o.validateAsUri(), i = t.scopes, a = br(t, ["scopes"]), s = new Ee(i || []), s.appendScopes(an), u = function() {
11070
+ return o = new W(r), o.validateAsUri(), i = t.scopes, a = br(t, ["scopes"]), s = new Ee(i || []), s.appendScopes(an), d = function() {
11071
11071
  switch (k.apiId) {
11072
11072
  case oe.ssoSilent:
11073
11073
  case oe.acquireTokenSilent_silentFlow:
@@ -11091,19 +11091,19 @@ var zt = (
11091
11091
  authority: o.urlString,
11092
11092
  scope: s.printScopes(),
11093
11093
  redirectUri: this.getRedirectUri(t.redirectUri),
11094
- prompt: u(),
11094
+ prompt: d(),
11095
11095
  correlationId: this.correlationId,
11096
11096
  tokenType: t.authenticationScheme,
11097
11097
  windowTitleSubstring: document.title,
11098
11098
  extraParameters: B(B(B({}, t.extraQueryParameters), t.tokenQueryParameters), { telemetry: Vt.MATS_TELEMETRY }),
11099
11099
  extendedExpiryToken: !1
11100
11100
  // Make this configurable?
11101
- }), t.authenticationScheme !== te.POP ? [3, 4] : (d = {
11101
+ }), t.authenticationScheme !== ne.POP ? [3, 4] : (u = {
11102
11102
  resourceRequestUri: t.resourceRequestUri,
11103
11103
  resourceRequestMethod: t.resourceRequestMethod,
11104
11104
  shrClaims: t.shrClaims,
11105
11105
  shrNonce: t.shrNonce
11106
- }, f = new xt(this.browserCrypto), [4, f.generateCnf(d)]);
11106
+ }, f = new xt(this.browserCrypto), [4, f.generateCnf(u)]);
11107
11107
  case 3:
11108
11108
  _ = E.sent(), p.reqCnf = _.reqCnfString, p.keyId = _.kid, E.label = 4;
11109
11109
  case 4:
@@ -11225,8 +11225,8 @@ var yt = (
11225
11225
  return t.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"), !1;
11226
11226
  if (o)
11227
11227
  switch (o) {
11228
- case te.BEARER:
11229
- case te.POP:
11228
+ case ne.BEARER:
11229
+ case ne.POP:
11230
11230
  return t.trace("isNativeAvailable: authenticationScheme is supported, returning true"), !0;
11231
11231
  default:
11232
11232
  return t.trace("isNativeAvailable: authenticationScheme is not supported, returning false"), !1;
@@ -11240,13 +11240,13 @@ var Yi = (
11240
11240
  /** @class */
11241
11241
  function(n) {
11242
11242
  be(e, n);
11243
- function e(t, r, o, i, a, s, u, p, d, f) {
11244
- var _ = n.call(this, t, r, o, i, a, s, u, d, f) || this;
11243
+ function e(t, r, o, i, a, s, d, p, u, f) {
11244
+ var _ = n.call(this, t, r, o, i, a, s, d, u, f) || this;
11245
11245
  return _.nativeStorage = p, _;
11246
11246
  }
11247
11247
  return e.prototype.acquireToken = function(t) {
11248
11248
  return T(this, void 0, void 0, function() {
11249
- var r, o, i, a, s, u, p, d, f, _ = this;
11249
+ var r, o, i, a, s, d, p, u, f, _ = this;
11250
11250
  return I(this, function(k) {
11251
11251
  switch (k.label) {
11252
11252
  case 0:
@@ -11260,12 +11260,12 @@ var Yi = (
11260
11260
  case 3:
11261
11261
  return a = k.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(o, r.authority, r.azureCloudOptions)];
11262
11262
  case 4:
11263
- return s = k.sent(), this.logger.verbose("Auth code client created"), u = new Ur(s, this.browserStorage, a, this.logger, this.browserCrypto, this.performanceClient), [4, s.getAuthCodeUrl(B(B({}, r), { nativeBroker: yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme) }))];
11263
+ return s = k.sent(), this.logger.verbose("Auth code client created"), d = new Ur(s, this.browserStorage, a, this.logger, this.browserCrypto, this.performanceClient), [4, s.getAuthCodeUrl(B(B({}, r), { nativeBroker: yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme) }))];
11264
11264
  case 5:
11265
- return p = k.sent(), d = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + d), window.addEventListener("pageshow", i), [4, u.initiateAuthRequest(p, {
11265
+ return p = k.sent(), u = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + u), window.addEventListener("pageshow", i), [4, d.initiateAuthRequest(p, {
11266
11266
  navigationClient: this.navigationClient,
11267
11267
  redirectTimeout: this.config.system.redirectNavigationTimeout,
11268
- redirectStartPage: d,
11268
+ redirectStartPage: u,
11269
11269
  onRedirectNavigate: t.onRedirectNavigate
11270
11270
  })];
11271
11271
  case 6:
@@ -11282,7 +11282,7 @@ var Yi = (
11282
11282
  });
11283
11283
  }, e.prototype.handleRedirectPromise = function(t) {
11284
11284
  return T(this, void 0, void 0, function() {
11285
- var r, o, i, a, s, u, p, d, f, _, k, E;
11285
+ var r, o, i, a, s, d, p, u, f, _, k, E;
11286
11286
  return I(this, function(N) {
11287
11287
  switch (N.label) {
11288
11288
  case 0:
@@ -11298,17 +11298,17 @@ var Yi = (
11298
11298
  } catch (Q) {
11299
11299
  return this.logger.info("handleRedirectPromise was unable to extract state due to: " + Q), this.browserStorage.cleanRequestByInteractionType(x.Redirect), [2, null];
11300
11300
  }
11301
- return s = this.browserStorage.getTemporaryCache(J.ORIGIN_URI, !0) || g.EMPTY_STRING, u = W.removeHashFromUrl(s), p = W.removeHashFromUrl(window.location.href), u === p && this.config.auth.navigateToLoginRequestUrl ? (this.logger.verbose("Current page is loginRequestUrl, handling hash"), [4, this.handleHash(o, i, r)]) : [3, 3];
11301
+ return s = this.browserStorage.getTemporaryCache(J.ORIGIN_URI, !0) || g.EMPTY_STRING, d = W.removeHashFromUrl(s), p = W.removeHashFromUrl(window.location.href), d === p && this.config.auth.navigateToLoginRequestUrl ? (this.logger.verbose("Current page is loginRequestUrl, handling hash"), [4, this.handleHash(o, i, r)]) : [3, 3];
11302
11302
  case 2:
11303
- return d = N.sent(), s.indexOf("#") > -1 && de.replaceHash(s), [2, d];
11303
+ return u = N.sent(), s.indexOf("#") > -1 && ue.replaceHash(s), [2, u];
11304
11304
  case 3:
11305
11305
  return this.config.auth.navigateToLoginRequestUrl ? [3, 4] : (this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"), [2, this.handleHash(o, i, r)]);
11306
11306
  case 4:
11307
- return !de.isInIframe() || this.config.system.allowRedirectInIframe ? (this.browserStorage.setTemporaryCache(J.URL_HASH, o, !0), f = {
11307
+ return !ue.isInIframe() || this.config.system.allowRedirectInIframe ? (this.browserStorage.setTemporaryCache(J.URL_HASH, o, !0), f = {
11308
11308
  apiId: oe.handleRedirectPromise,
11309
11309
  timeout: this.config.system.redirectNavigationTimeout,
11310
11310
  noHistory: !0
11311
- }, _ = !0, !s || s === "null" ? (k = de.getHomepage(), this.browserStorage.setTemporaryCache(J.ORIGIN_URI, k, !0), this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"), [4, this.navigationClient.navigateInternal(k, f)]) : [3, 6]) : [3, 9];
11311
+ }, _ = !0, !s || s === "null" ? (k = ue.getHomepage(), this.browserStorage.setTemporaryCache(J.ORIGIN_URI, k, !0), this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"), [4, this.navigationClient.navigateInternal(k, f)]) : [3, 6]) : [3, 9];
11312
11312
  case 5:
11313
11313
  return _ = N.sent(), [3, 8];
11314
11314
  case 6:
@@ -11335,20 +11335,20 @@ var Yi = (
11335
11335
  this.logger.verbose("getRedirectResponseHash called");
11336
11336
  var r = W.hashContainsKnownProperties(t);
11337
11337
  if (r)
11338
- return de.clearHash(window), this.logger.verbose("Hash contains known properties, returning response hash"), t;
11338
+ return ue.clearHash(window), this.logger.verbose("Hash contains known properties, returning response hash"), t;
11339
11339
  var o = this.browserStorage.getTemporaryCache(J.URL_HASH, !0);
11340
11340
  return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(J.URL_HASH)), this.logger.verbose("Hash does not contain known properties, returning cached hash"), o;
11341
11341
  }, e.prototype.handleHash = function(t, r, o) {
11342
11342
  return T(this, void 0, void 0, function() {
11343
- var i, a, s, u, p, d, f, _ = this;
11343
+ var i, a, s, d, p, u, f, _ = this;
11344
11344
  return I(this, function(k) {
11345
11345
  switch (k.label) {
11346
11346
  case 0:
11347
11347
  if (i = this.browserStorage.getCachedRequest(r, this.browserCrypto), this.logger.verbose("handleHash called, retrieved cached request"), a = W.getDeserializedHash(t), a.accountId) {
11348
11348
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
11349
11349
  throw M.createNativeConnectionNotEstablishedError();
11350
- return s = new zt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), u = st.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken(B(B({}, i), {
11351
- state: u,
11350
+ return s = new zt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), d = st.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken(B(B({}, i), {
11351
+ state: d,
11352
11352
  prompt: void 0
11353
11353
  // Server should handle the prompt, ideally native broker can do this part silently
11354
11354
  })).finally(function() {
@@ -11359,7 +11359,7 @@ var Yi = (
11359
11359
  throw M.createNoCachedAuthorityError();
11360
11360
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, i.correlationId), [4, this.createAuthCodeClient(o, p)];
11361
11361
  case 1:
11362
- return d = k.sent(), this.logger.verbose("Auth code client created"), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, i), f = new Ur(d, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, f.handleCodeResponseFromHash(t, r, d.authority, this.networkClient)];
11362
+ return u = k.sent(), this.logger.verbose("Auth code client created"), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, i), f = new Ur(u, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, f.handleCodeResponseFromHash(t, r, u.authority, this.networkClient)];
11363
11363
  case 2:
11364
11364
  return [2, k.sent()];
11365
11365
  }
@@ -11367,41 +11367,41 @@ var Yi = (
11367
11367
  });
11368
11368
  }, e.prototype.logout = function(t) {
11369
11369
  return T(this, void 0, void 0, function() {
11370
- var r, o, i, a, s, u, p;
11371
- return I(this, function(d) {
11372
- switch (d.label) {
11370
+ var r, o, i, a, s, d, p;
11371
+ return I(this, function(u) {
11372
+ switch (u.label) {
11373
11373
  case 0:
11374
- this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(oe.logout), d.label = 1;
11374
+ this.logger.verbose("logoutRedirect called"), r = this.initializeLogoutRequest(t), o = this.initializeServerTelemetryManager(oe.logout), u.label = 1;
11375
11375
  case 1:
11376
- return d.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(q.LOGOUT_START, x.Redirect, t), [4, this.clearCacheOnLogout(r.account)];
11376
+ return u.trys.push([1, 10, , 11]), this.eventHandler.emitEvent(q.LOGOUT_START, x.Redirect, t), [4, this.clearCacheOnLogout(r.account)];
11377
11377
  case 2:
11378
- return d.sent(), i = {
11378
+ return u.sent(), i = {
11379
11379
  apiId: oe.logout,
11380
11380
  timeout: this.config.system.redirectNavigationTimeout,
11381
11381
  noHistory: !1
11382
11382
  }, this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, r.correlationId), [4, this.createAuthCodeClient(o, t && t.authority)];
11383
11383
  case 3:
11384
- return a = d.sent(), this.logger.verbose("Auth code client created"), s = a.getLogoutUri(r), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Redirect, r), t && typeof t.onRedirectNavigate == "function" ? (u = t.onRedirectNavigate(s), u === !1 ? [3, 5] : (this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)])) : [3, 7];
11384
+ return a = u.sent(), this.logger.verbose("Auth code client created"), s = a.getLogoutUri(r), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Redirect, r), t && typeof t.onRedirectNavigate == "function" ? (d = t.onRedirectNavigate(s), d === !1 ? [3, 5] : (this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"), this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)])) : [3, 7];
11385
11385
  case 4:
11386
- return d.sent(), [
11386
+ return u.sent(), [
11387
11387
  2
11388
11388
  /*return*/
11389
11389
  ];
11390
11390
  case 5:
11391
- this.browserStorage.setInteractionInProgress(!1), this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"), d.label = 6;
11391
+ this.browserStorage.setInteractionInProgress(!1), this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"), u.label = 6;
11392
11392
  case 6:
11393
11393
  return [3, 9];
11394
11394
  case 7:
11395
11395
  return this.browserStorage.getInteractionInProgress() || this.browserStorage.setInteractionInProgress(!0), [4, this.navigationClient.navigateExternal(s, i)];
11396
11396
  case 8:
11397
- return d.sent(), [
11397
+ return u.sent(), [
11398
11398
  2
11399
11399
  /*return*/
11400
11400
  ];
11401
11401
  case 9:
11402
11402
  return [3, 11];
11403
11403
  case 10:
11404
- throw p = d.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Redirect, null, p), this.eventHandler.emitEvent(q.LOGOUT_END, x.Redirect), p;
11404
+ throw p = u.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Redirect, null, p), this.eventHandler.emitEvent(q.LOGOUT_END, x.Redirect), p;
11405
11405
  case 11:
11406
11406
  return this.eventHandler.emitEvent(q.LOGOUT_END, x.Redirect), [
11407
11407
  2
@@ -11412,7 +11412,7 @@ var Yi = (
11412
11412
  });
11413
11413
  }, e.prototype.getRedirectStartPage = function(t) {
11414
11414
  var r = t || window.location.href;
11415
- return W.getAbsoluteUrl(r, de.getCurrentUri());
11415
+ return W.getAbsoluteUrl(r, ue.getCurrentUri());
11416
11416
  }, e;
11417
11417
  }(jt)
11418
11418
  );
@@ -11421,8 +11421,8 @@ var Wi = (
11421
11421
  /** @class */
11422
11422
  function(n) {
11423
11423
  be(e, n);
11424
- function e(t, r, o, i, a, s, u, p, d, f) {
11425
- var _ = n.call(this, t, r, o, i, a, s, u, d, f) || this;
11424
+ function e(t, r, o, i, a, s, d, p, u, f) {
11425
+ var _ = n.call(this, t, r, o, i, a, s, d, u, f) || this;
11426
11426
  return _.unloadWindow = _.unloadWindow.bind(_), _.nativeStorage = p, _;
11427
11427
  }
11428
11428
  return e.prototype.acquireToken = function(t) {
@@ -11443,14 +11443,14 @@ var Wi = (
11443
11443
  if (this.config.system.asyncPopups)
11444
11444
  return this.logger.verbose("asyncPopups set to true"), this.logoutPopupAsync(r, o, s, i, void 0, a);
11445
11445
  this.logger.verbose("asyncPopup set to false, opening popup");
11446
- var u = this.openSizedPopup("about:blank", o, s);
11447
- return this.logoutPopupAsync(r, o, s, i, u, a);
11446
+ var d = this.openSizedPopup("about:blank", o, s);
11447
+ return this.logoutPopupAsync(r, o, s, i, d, a);
11448
11448
  } catch (p) {
11449
11449
  return Promise.reject(p);
11450
11450
  }
11451
11451
  }, e.prototype.acquireTokenPopupAsync = function(t, r, o, i) {
11452
11452
  return T(this, void 0, void 0, function() {
11453
- var a, s, u, p, d, f, _, k, E, N, Q, X, G, $, Ae, xe, Ve, Ct = this;
11453
+ var a, s, d, p, u, f, _, k, E, N, Q, X, G, $, Ae, xe, Ve, Ct = this;
11454
11454
  return I(this, function(ce) {
11455
11455
  switch (ce.label) {
11456
11456
  case 0:
@@ -11460,17 +11460,17 @@ var Wi = (
11460
11460
  case 2:
11461
11461
  return ce.trys.push([2, 8, , 9]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationCodeRequest, t.correlationId), [4, this.initializeAuthorizationCodeRequest(s)];
11462
11462
  case 3:
11463
- return u = ce.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
11463
+ return d = ce.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(a, s.authority, s.azureCloudOptions)];
11464
11464
  case 4:
11465
- return p = ce.sent(), this.logger.verbose("Auth code client created"), d = yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme), f = void 0, d && (f = this.performanceClient.startMeasurement(b.FetchAccountIdWithNativeBroker, t.correlationId)), [4, p.getAuthCodeUrl(B(B({}, s), { nativeBroker: d }))];
11465
+ return p = ce.sent(), this.logger.verbose("Auth code client created"), u = yt.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme), f = void 0, u && (f = this.performanceClient.startMeasurement(b.FetchAccountIdWithNativeBroker, t.correlationId)), [4, p.getAuthCodeUrl(B(B({}, s), { nativeBroker: u }))];
11466
11466
  case 5:
11467
- return _ = ce.sent(), k = new or(p, this.browserStorage, u, this.logger, this.performanceClient), E = {
11467
+ return _ = ce.sent(), k = new or(p, this.browserStorage, d, this.logger, this.performanceClient), E = {
11468
11468
  popup: i,
11469
11469
  popupName: r,
11470
11470
  popupWindowAttributes: o
11471
11471
  }, N = this.initiateAuthRequest(_, E), this.eventHandler.emitEvent(q.POPUP_OPENED, x.Popup, { popupWindow: N }, null), [4, this.monitorPopupForHash(N)];
11472
11472
  case 6:
11473
- if (Q = ce.sent(), X = W.getDeserializedHash(Q), G = this.validateAndExtractStateFromHash(X, x.Popup, s.correlationId), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, u), X.accountId) {
11473
+ if (Q = ce.sent(), X = W.getDeserializedHash(Q), G = this.validateAndExtractStateFromHash(X, x.Popup, s.correlationId), yn.removeThrottle(this.browserStorage, this.config.auth.clientId, d), X.accountId) {
11474
11474
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), f && f.endMeasurement({
11475
11475
  success: !0,
11476
11476
  isNativeBroker: !0
@@ -11499,25 +11499,25 @@ var Wi = (
11499
11499
  });
11500
11500
  }, e.prototype.logoutPopupAsync = function(t, r, o, i, a, s) {
11501
11501
  return T(this, void 0, void 0, function() {
11502
- var u, p, d, f, _, k, E;
11502
+ var d, p, u, f, _, k, E;
11503
11503
  return I(this, function(N) {
11504
11504
  switch (N.label) {
11505
11505
  case 0:
11506
- this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(q.LOGOUT_START, x.Popup, t), u = this.initializeServerTelemetryManager(oe.logoutPopup), N.label = 1;
11506
+ this.logger.verbose("logoutPopupAsync called"), this.eventHandler.emitEvent(q.LOGOUT_START, x.Popup, t), d = this.initializeServerTelemetryManager(oe.logoutPopup), N.label = 1;
11507
11507
  case 1:
11508
11508
  return N.trys.push([1, 5, , 6]), [4, this.clearCacheOnLogout(t.account)];
11509
11509
  case 2:
11510
- return N.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(u, i)];
11510
+ return N.sent(), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(d, i)];
11511
11511
  case 3:
11512
- return p = N.sent(), this.logger.verbose("Auth code client created"), d = p.getLogoutUri(t), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Popup, t), f = this.openPopup(d, { popupName: r, popupWindowAttributes: o, popup: a }), this.eventHandler.emitEvent(q.POPUP_OPENED, x.Popup, { popupWindow: f }, null), [4, this.waitForLogoutPopup(f)];
11512
+ return p = N.sent(), this.logger.verbose("Auth code client created"), u = p.getLogoutUri(t), this.eventHandler.emitEvent(q.LOGOUT_SUCCESS, x.Popup, t), f = this.openPopup(u, { popupName: r, popupWindowAttributes: o, popup: a }), this.eventHandler.emitEvent(q.POPUP_OPENED, x.Popup, { popupWindow: f }, null), [4, this.waitForLogoutPopup(f)];
11513
11513
  case 4:
11514
11514
  return N.sent(), s ? (_ = {
11515
11515
  apiId: oe.logoutPopup,
11516
11516
  timeout: this.config.system.redirectNavigationTimeout,
11517
11517
  noHistory: !1
11518
- }, k = W.getAbsoluteUrl(s, de.getCurrentUri()), this.logger.verbose("Redirecting main window to url specified in the request"), this.logger.verbosePii("Redirecting main window to: " + k), this.navigationClient.navigateInternal(k, _)) : this.logger.verbose("No main window navigation requested"), [3, 6];
11518
+ }, k = W.getAbsoluteUrl(s, ue.getCurrentUri()), this.logger.verbose("Redirecting main window to url specified in the request"), this.logger.verbosePii("Redirecting main window to: " + k), this.navigationClient.navigateInternal(k, _)) : this.logger.verbose("No main window navigation requested"), [3, 6];
11519
11519
  case 5:
11520
- throw E = N.sent(), a && a.close(), E instanceof D && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Popup, null, E), this.eventHandler.emitEvent(q.LOGOUT_END, x.Popup), u.cacheFailedRequest(E), E;
11520
+ throw E = N.sent(), a && a.close(), E instanceof D && E.setCorrelationId(this.correlationId), this.browserStorage.setInteractionInProgress(!1), this.eventHandler.emitEvent(q.LOGOUT_FAILURE, x.Popup, null, E), this.eventHandler.emitEvent(q.LOGOUT_END, x.Popup), d.cacheFailedRequest(E), E;
11521
11521
  case 6:
11522
11522
  return this.eventHandler.emitEvent(q.LOGOUT_END, x.Popup), [
11523
11523
  2
@@ -11535,17 +11535,17 @@ var Wi = (
11535
11535
  return new Promise(function(o, i) {
11536
11536
  var a = r.config.system.windowHashTimeout / r.config.system.pollIntervalMilliseconds, s = 0;
11537
11537
  r.logger.verbose("PopupHandler.monitorPopupForHash - polling started");
11538
- var u = setInterval(function() {
11538
+ var d = setInterval(function() {
11539
11539
  if (t.closed) {
11540
- r.logger.error("PopupHandler.monitorPopupForHash - window closed"), r.cleanPopup(), clearInterval(u), i(M.createUserCancelledError());
11540
+ r.logger.error("PopupHandler.monitorPopupForHash - window closed"), r.cleanPopup(), clearInterval(d), i(M.createUserCancelledError());
11541
11541
  return;
11542
11542
  }
11543
- var p = g.EMPTY_STRING, d = g.EMPTY_STRING;
11543
+ var p = g.EMPTY_STRING, u = g.EMPTY_STRING;
11544
11544
  try {
11545
- p = t.location.href, d = t.location.hash;
11545
+ p = t.location.href, u = t.location.hash;
11546
11546
  } catch {
11547
11547
  }
11548
- L.isEmpty(p) || p === "about:blank" || (r.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"), s++, d ? (r.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"), clearInterval(u), r.cleanPopup(t), W.hashContainsKnownProperties(d) ? (r.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."), o(d)) : (r.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."), r.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: " + d), i(M.createHashDoesNotContainKnownPropertiesError()))) : s > a && (r.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"), clearInterval(u), i(M.createMonitorPopupTimeoutError())));
11548
+ L.isEmpty(p) || p === "about:blank" || (r.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"), s++, u ? (r.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"), clearInterval(d), r.cleanPopup(t), W.hashContainsKnownProperties(u) ? (r.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."), o(u)) : (r.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."), r.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: " + u), i(M.createHashDoesNotContainKnownPropertiesError()))) : s > a && (r.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"), clearInterval(d), i(M.createMonitorPopupTimeoutError())));
11549
11549
  }, r.config.system.pollIntervalMilliseconds);
11550
11550
  });
11551
11551
  }, e.prototype.waitForLogoutPopup = function(t) {
@@ -11572,8 +11572,8 @@ var Wi = (
11572
11572
  throw this.logger.error("error opening popup " + i.message), this.browserStorage.setInteractionInProgress(!1), M.createPopupWindowError(i.toString());
11573
11573
  }
11574
11574
  }, e.prototype.openSizedPopup = function(t, r, o) {
11575
- var i, a, s, u, p = window.screenLeft ? window.screenLeft : window.screenX, d = window.screenTop ? window.screenTop : window.screenY, f = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, _ = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, k = (i = o.popupSize) === null || i === void 0 ? void 0 : i.width, E = (a = o.popupSize) === null || a === void 0 ? void 0 : a.height, N = (s = o.popupPosition) === null || s === void 0 ? void 0 : s.top, Q = (u = o.popupPosition) === null || u === void 0 ? void 0 : u.left;
11576
- return (!k || k < 0 || k > f) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), k = Qe.POPUP_WIDTH), (!E || E < 0 || E > _) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), E = Qe.POPUP_HEIGHT), (!N || N < 0 || N > _) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), N = Math.max(0, _ / 2 - Qe.POPUP_HEIGHT / 2 + d)), (!Q || Q < 0 || Q > f) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), Q = Math.max(0, f / 2 - Qe.POPUP_WIDTH / 2 + p)), window.open(t, r, "width=" + k + ", height=" + E + ", top=" + N + ", left=" + Q + ", scrollbars=yes");
11575
+ var i, a, s, d, p = window.screenLeft ? window.screenLeft : window.screenX, u = window.screenTop ? window.screenTop : window.screenY, f = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth, _ = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight, k = (i = o.popupSize) === null || i === void 0 ? void 0 : i.width, E = (a = o.popupSize) === null || a === void 0 ? void 0 : a.height, N = (s = o.popupPosition) === null || s === void 0 ? void 0 : s.top, Q = (d = o.popupPosition) === null || d === void 0 ? void 0 : d.left;
11576
+ return (!k || k < 0 || k > f) && (this.logger.verbose("Default popup window width used. Window width not configured or invalid."), k = Qe.POPUP_WIDTH), (!E || E < 0 || E > _) && (this.logger.verbose("Default popup window height used. Window height not configured or invalid."), E = Qe.POPUP_HEIGHT), (!N || N < 0 || N > _) && (this.logger.verbose("Default popup window top position used. Window top not configured or invalid."), N = Math.max(0, _ / 2 - Qe.POPUP_HEIGHT / 2 + u)), (!Q || Q < 0 || Q > f) && (this.logger.verbose("Default popup window left position used. Window left not configured or invalid."), Q = Math.max(0, f / 2 - Qe.POPUP_WIDTH / 2 + p)), window.open(t, r, "width=" + k + ", height=" + E + ", top=" + N + ", left=" + Q + ", scrollbars=yes");
11577
11577
  }, e.prototype.unloadWindow = function(t) {
11578
11578
  this.browserStorage.cleanRequestByInteractionType(x.Popup), this.currentWindow && this.currentWindow.close(), t.preventDefault();
11579
11579
  }, e.prototype.cleanPopup = function(t) {
@@ -11632,21 +11632,21 @@ function ea(n, e) {
11632
11632
  // Default cache migration to true if cache location is localStorage since entries are preserved across tabs/windows. Migration has little to no benefit in sessionStorage and memoryStorage
11633
11633
  cacheMigrationEnabled: !!(r && r.cacheLocation === pe.LocalStorage),
11634
11634
  claimsBasedCachingEnabled: !0
11635
- }, u = {
11635
+ }, d = {
11636
11636
  // eslint-disable-next-line @typescript-eslint/no-empty-function
11637
11637
  loggerCallback: function() {
11638
11638
  },
11639
11639
  logLevel: ve.Info,
11640
11640
  piiLoggingEnabled: !1
11641
11641
  }, p = B(B({}, no), {
11642
- loggerOptions: u,
11643
- networkClient: e ? de.getBrowserNetworkClient() : Di,
11642
+ loggerOptions: d,
11643
+ networkClient: e ? ue.getBrowserNetworkClient() : Di,
11644
11644
  navigationClient: new $i(),
11645
11645
  loadFrameTimeout: 0,
11646
11646
  // If loadFrameTimeout is provided, use that as default.
11647
11647
  windowHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || Ji,
11648
11648
  iframeHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || Jn,
11649
- navigateFrameWait: e && de.detectIEOrEdge() ? 500 : 0,
11649
+ navigateFrameWait: e && ue.detectIEOrEdge() ? 500 : 0,
11650
11650
  redirectNavigationTimeout: Xi,
11651
11651
  asyncPopups: !1,
11652
11652
  allowRedirectInIframe: !1,
@@ -11657,7 +11657,7 @@ function ea(n, e) {
11657
11657
  useMsrCrypto: !1,
11658
11658
  entropy: void 0
11659
11659
  }
11660
- }), d = B(B({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || u }), f = {
11660
+ }), u = B(B({}, o), { loggerOptions: (o == null ? void 0 : o.loggerOptions) || d }), f = {
11661
11661
  application: {
11662
11662
  appName: g.EMPTY_STRING,
11663
11663
  appVersion: g.EMPTY_STRING
@@ -11665,7 +11665,7 @@ function ea(n, e) {
11665
11665
  }, _ = {
11666
11666
  auth: B(B({}, a), t),
11667
11667
  cache: B(B({}, s), r),
11668
- system: B(B({}, p), d),
11668
+ system: B(B({}, p), u),
11669
11669
  telemetry: B(B({}, f), i)
11670
11670
  };
11671
11671
  return _;
@@ -11676,8 +11676,8 @@ var uo = (
11676
11676
  function(n) {
11677
11677
  be(e, n);
11678
11678
  function e(t, r, o, i, a, s) {
11679
- var u = n.call(this, t, r, o, i, s) || this;
11680
- return u.navigateFrameWait = a.navigateFrameWait, u.pollIntervalMilliseconds = a.pollIntervalMilliseconds, u;
11679
+ var d = n.call(this, t, r, o, i, s) || this;
11680
+ return d.navigateFrameWait = a.navigateFrameWait, d.pollIntervalMilliseconds = a.pollIntervalMilliseconds, d;
11681
11681
  }
11682
11682
  return e.prototype.initiateAuthRequest = function(t) {
11683
11683
  return T(this, void 0, void 0, function() {
@@ -11698,17 +11698,17 @@ var uo = (
11698
11698
  var o = this;
11699
11699
  return this.performanceClient.addQueueMeasurement(b.SilentHandlerMonitorIframeForHash, this.authCodeRequest.correlationId), new Promise(function(i, a) {
11700
11700
  r < Jn && o.logger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower (" + r + "ms) than the default (" + Jn + "ms). This may result in timeouts.");
11701
- var s = window.performance.now(), u = s + r, p = setInterval(function() {
11702
- if (window.performance.now() > u) {
11701
+ var s = window.performance.now(), d = s + r, p = setInterval(function() {
11702
+ if (window.performance.now() > d) {
11703
11703
  o.removeHiddenIframe(t), clearInterval(p), a(M.createMonitorIframeTimeoutError());
11704
11704
  return;
11705
11705
  }
11706
- var d = g.EMPTY_STRING, f = t.contentWindow;
11706
+ var u = g.EMPTY_STRING, f = t.contentWindow;
11707
11707
  try {
11708
- d = f ? f.location.href : g.EMPTY_STRING;
11708
+ u = f ? f.location.href : g.EMPTY_STRING;
11709
11709
  } catch {
11710
11710
  }
11711
- if (!L.isEmpty(d)) {
11711
+ if (!L.isEmpty(u)) {
11712
11712
  var _ = f ? f.location.hash : g.EMPTY_STRING;
11713
11713
  if (W.hashContainsKnownProperties(_)) {
11714
11714
  o.removeHiddenIframe(t), clearInterval(p), i(_);
@@ -11745,15 +11745,15 @@ var ta = (
11745
11745
  /** @class */
11746
11746
  function(n) {
11747
11747
  be(e, n);
11748
- function e(t, r, o, i, a, s, u, p, d, f, _) {
11748
+ function e(t, r, o, i, a, s, d, p, u, f, _) {
11749
11749
  var k = n.call(this, t, r, o, i, a, s, p, f, _) || this;
11750
- return k.apiId = u, k.nativeStorage = d, k;
11750
+ return k.apiId = d, k.nativeStorage = u, k;
11751
11751
  }
11752
11752
  return e.prototype.acquireToken = function(t) {
11753
11753
  return T(this, void 0, void 0, function() {
11754
11754
  var r, o, i, a, s;
11755
- return I(this, function(u) {
11756
- switch (u.label) {
11755
+ return I(this, function(d) {
11756
+ switch (d.label) {
11757
11757
  case 0:
11758
11758
  if (this.performanceClient.addQueueMeasurement(b.SilentIframeClientAcquireToken, t.correlationId), this.logger.verbose("acquireTokenByIframe called"), r = this.performanceClient.startMeasurement(b.SilentIframeClientAcquireToken, t.correlationId), L.isEmpty(t.loginHint) && L.isEmpty(t.sid) && (!t.account || L.isEmpty(t.account.username)) && this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."), t.prompt && t.prompt !== Te.NONE && t.prompt !== Te.NO_SESSION)
11759
11759
  throw r.endMeasurement({
@@ -11761,11 +11761,11 @@ var ta = (
11761
11761
  }), M.createSilentPromptValueError(t.prompt);
11762
11762
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(B(B({}, t), { prompt: t.prompt || Te.NONE }), x.Silent)];
11763
11763
  case 1:
11764
- o = u.sent(), this.browserStorage.updateCacheEntries(o.state, o.nonce, o.authority, o.loginHint || g.EMPTY_STRING, o.account || null), i = this.initializeServerTelemetryManager(this.apiId), u.label = 2;
11764
+ o = d.sent(), this.browserStorage.updateCacheEntries(o.state, o.nonce, o.authority, o.loginHint || g.EMPTY_STRING, o.account || null), i = this.initializeServerTelemetryManager(this.apiId), d.label = 2;
11765
11765
  case 2:
11766
- return u.trys.push([2, 5, , 6]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(i, o.authority, o.azureCloudOptions)];
11766
+ return d.trys.push([2, 5, , 6]), this.performanceClient.setPreQueueTime(b.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(i, o.authority, o.azureCloudOptions)];
11767
11767
  case 3:
11768
- return a = u.sent(), this.logger.verbose("Auth code client created"), this.performanceClient.setPreQueueTime(b.SilentIframeClientTokenHelper, t.correlationId), [4, this.silentTokenHelper(a, o).then(function(p) {
11768
+ return a = d.sent(), this.logger.verbose("Auth code client created"), this.performanceClient.setPreQueueTime(b.SilentIframeClientTokenHelper, t.correlationId), [4, this.silentTokenHelper(a, o).then(function(p) {
11769
11769
  return r.endMeasurement({
11770
11770
  success: !0,
11771
11771
  fromCache: !1,
@@ -11773,9 +11773,9 @@ var ta = (
11773
11773
  }), p;
11774
11774
  })];
11775
11775
  case 4:
11776
- return [2, u.sent()];
11776
+ return [2, d.sent()];
11777
11777
  case 5:
11778
- throw s = u.sent(), s instanceof D && s.setCorrelationId(this.correlationId), i.cacheFailedRequest(s), this.browserStorage.cleanRequestByState(o.state), r.endMeasurement({
11778
+ throw s = d.sent(), s instanceof D && s.setCorrelationId(this.correlationId), i.cacheFailedRequest(s), this.browserStorage.cleanRequestByState(o.state), r.endMeasurement({
11779
11779
  errorCode: s instanceof D && s.errorCode || void 0,
11780
11780
  subErrorCode: s instanceof D && s.subError || void 0,
11781
11781
  success: !1
@@ -11792,7 +11792,7 @@ var ta = (
11792
11792
  return Promise.reject(M.createSilentLogoutUnsupportedError());
11793
11793
  }, e.prototype.silentTokenHelper = function(t, r) {
11794
11794
  return T(this, void 0, void 0, function() {
11795
- var o, i, a, s, u, p, d, f, _, k = this;
11795
+ var o, i, a, s, d, p, u, f, _, k = this;
11796
11796
  return I(this, function(E) {
11797
11797
  switch (E.label) {
11798
11798
  case 0:
@@ -11804,14 +11804,14 @@ var ta = (
11804
11804
  case 3:
11805
11805
  return s = E.sent(), this.performanceClient.setPreQueueTime(b.SilentHandlerMonitorIframeForHash, r.correlationId), [4, a.monitorIframeForHash(s, this.config.system.iframeHashTimeout)];
11806
11806
  case 4:
11807
- if (u = E.sent(), p = W.getDeserializedHash(u), d = this.validateAndExtractStateFromHash(p, x.Silent, o.correlationId), p.accountId) {
11807
+ if (d = E.sent(), p = W.getDeserializedHash(d), u = this.validateAndExtractStateFromHash(p, x.Silent, o.correlationId), p.accountId) {
11808
11808
  if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
11809
11809
  throw M.createNativeConnectionNotEstablishedError();
11810
- return f = new zt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), _ = st.parseRequestState(this.browserCrypto, d).userRequestState, [2, f.acquireToken(B(B({}, r), { state: _, prompt: r.prompt || Te.NONE })).finally(function() {
11811
- k.browserStorage.cleanRequestByState(d);
11810
+ return f = new zt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), _ = st.parseRequestState(this.browserCrypto, u).userRequestState, [2, f.acquireToken(B(B({}, r), { state: _, prompt: r.prompt || Te.NONE })).finally(function() {
11811
+ k.browserStorage.cleanRequestByState(u);
11812
11812
  })];
11813
11813
  }
11814
- return this.performanceClient.setPreQueueTime(b.HandleCodeResponseFromHash, r.correlationId), [2, a.handleCodeResponseFromHash(u, d, t.authority, this.networkClient)];
11814
+ return this.performanceClient.setPreQueueTime(b.HandleCodeResponseFromHash, r.correlationId), [2, a.handleCodeResponseFromHash(d, u, t.authority, this.networkClient)];
11815
11815
  }
11816
11816
  });
11817
11817
  });
@@ -11828,7 +11828,7 @@ var na = (
11828
11828
  }
11829
11829
  return e.prototype.acquireToken = function(t) {
11830
11830
  return T(this, void 0, void 0, function() {
11831
- var r, o, i, a, s, u = this;
11831
+ var r, o, i, a, s, d = this;
11832
11832
  return I(this, function(p) {
11833
11833
  switch (p.label) {
11834
11834
  case 0:
@@ -11836,18 +11836,18 @@ var na = (
11836
11836
  case 1:
11837
11837
  return r = B.apply(void 0, o.concat([p.sent()])), i = this.performanceClient.startMeasurement(b.SilentRefreshClientAcquireToken, r.correlationId), a = this.initializeServerTelemetryManager(oe.acquireTokenSilent_silentFlow), [4, this.createRefreshTokenClient(a, r.authority, r.azureCloudOptions)];
11838
11838
  case 2:
11839
- return s = p.sent(), this.logger.verbose("Refresh token client created"), this.performanceClient.setPreQueueTime(b.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), [2, s.acquireTokenByRefreshToken(r).then(function(d) {
11839
+ return s = p.sent(), this.logger.verbose("Refresh token client created"), this.performanceClient.setPreQueueTime(b.RefreshTokenClientAcquireTokenByRefreshToken, t.correlationId), [2, s.acquireTokenByRefreshToken(r).then(function(u) {
11840
11840
  return i.endMeasurement({
11841
11841
  success: !0,
11842
- fromCache: d.fromCache,
11843
- requestId: d.requestId
11844
- }), d;
11845
- }).catch(function(d) {
11846
- throw d instanceof D && d.setCorrelationId(u.correlationId), a.cacheFailedRequest(d), i.endMeasurement({
11847
- errorCode: d.errorCode,
11848
- subErrorCode: d.subError,
11842
+ fromCache: u.fromCache,
11843
+ requestId: u.requestId
11844
+ }), u;
11845
+ }).catch(function(u) {
11846
+ throw u instanceof D && u.setCorrelationId(d.correlationId), a.cacheFailedRequest(u), i.endMeasurement({
11847
+ errorCode: u.errorCode,
11848
+ subErrorCode: u.subError,
11849
11849
  success: !1
11850
- }), d;
11850
+ }), u;
11851
11851
  })];
11852
11852
  }
11853
11853
  });
@@ -11898,8 +11898,8 @@ var ra = (
11898
11898
  error: o || null,
11899
11899
  timestamp: Date.now()
11900
11900
  };
11901
- this.logger.info("Emitting event: " + e), this.eventCallbacks.forEach(function(s, u) {
11902
- i.logger.verbose("Emitting event to callback " + u + ": " + e), s.apply(null, [a]);
11901
+ this.logger.info("Emitting event: " + e), this.eventCallbacks.forEach(function(s, d) {
11902
+ i.logger.verbose("Emitting event to callback " + d + ": " + e), s.apply(null, [a]);
11903
11903
  });
11904
11904
  }
11905
11905
  }, n.prototype.handleAccountCacheChange = function(e) {
@@ -11962,8 +11962,8 @@ var ct = (
11962
11962
  return n.stringToUtf8Arr = function(e) {
11963
11963
  for (var t, r = 0, o = e.length, i = 0; i < o; i++)
11964
11964
  t = e.charCodeAt(i), r += t < 128 ? 1 : t < 2048 ? 2 : t < 65536 ? 3 : t < 2097152 ? 4 : t < 67108864 ? 5 : 6;
11965
- for (var a = new Uint8Array(r), s = 0, u = 0; s < r; u++)
11966
- t = e.charCodeAt(u), t < 128 ? a[s++] = t : t < 2048 ? (a[s++] = 192 + (t >>> 6), a[s++] = 128 + (t & 63)) : t < 65536 ? (a[s++] = 224 + (t >>> 12), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 2097152 ? (a[s++] = 240 + (t >>> 18), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 67108864 ? (a[s++] = 248 + (t >>> 24), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : (a[s++] = 252 + (t >>> 30), a[s++] = 128 + (t >>> 24 & 63), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63));
11965
+ for (var a = new Uint8Array(r), s = 0, d = 0; s < r; d++)
11966
+ t = e.charCodeAt(d), t < 128 ? a[s++] = t : t < 2048 ? (a[s++] = 192 + (t >>> 6), a[s++] = 128 + (t & 63)) : t < 65536 ? (a[s++] = 224 + (t >>> 12), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 2097152 ? (a[s++] = 240 + (t >>> 18), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : t < 67108864 ? (a[s++] = 248 + (t >>> 24), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63)) : (a[s++] = 252 + (t >>> 30), a[s++] = 128 + (t >>> 24 & 63), a[s++] = 128 + (t >>> 18 & 63), a[s++] = 128 + (t >>> 12 & 63), a[s++] = 128 + (t >>> 6 & 63), a[s++] = 128 + (t & 63));
11967
11967
  return a;
11968
11968
  }, n.stringToArrayBuffer = function(e) {
11969
11969
  for (var t = new ArrayBuffer(e.length), r = new Uint8Array(t), o = 0; o < e.length; o++)
@@ -12043,10 +12043,10 @@ var oa = (
12043
12043
  var r = this.base64DecToArr(t);
12044
12044
  return ct.utf8ArrToString(r);
12045
12045
  }, n.prototype.base64DecToArr = function(e, t) {
12046
- for (var r = e.replace(/[^A-Za-z0-9\+\/]/g, g.EMPTY_STRING), o = r.length, i = t ? Math.ceil((o * 3 + 1 >>> 2) / t) * t : o * 3 + 1 >>> 2, a = new Uint8Array(i), s = void 0, u = void 0, p = 0, d = 0, f = 0; f < o; f++)
12047
- if (u = f & 3, p |= this.b64ToUint6(r.charCodeAt(f)) << 18 - 6 * u, u === 3 || o - f === 1) {
12048
- for (s = 0; s < 3 && d < i; s++, d++)
12049
- a[d] = p >>> (16 >>> s & 24) & 255;
12046
+ for (var r = e.replace(/[^A-Za-z0-9\+\/]/g, g.EMPTY_STRING), o = r.length, i = t ? Math.ceil((o * 3 + 1 >>> 2) / t) * t : o * 3 + 1 >>> 2, a = new Uint8Array(i), s = void 0, d = void 0, p = 0, u = 0, f = 0; f < o; f++)
12047
+ if (d = f & 3, p |= this.b64ToUint6(r.charCodeAt(f)) << 18 - 6 * d, d === 3 || o - f === 1) {
12048
+ for (s = 0; s < 3 && u < i; s++, u++)
12049
+ a[u] = p >>> (16 >>> s & 24) & 255;
12050
12050
  p = 0;
12051
12051
  }
12052
12052
  return a;
@@ -12205,10 +12205,10 @@ var la = (
12205
12205
  return I(this, function(o) {
12206
12206
  return [2, new Promise(function(i, a) {
12207
12207
  var s = window.msCrypto.subtle.generateKey(e, t, r);
12208
- s.addEventListener("complete", function(u) {
12209
- i(u.target.result);
12210
- }), s.addEventListener("error", function(u) {
12211
- a(u);
12208
+ s.addEventListener("complete", function(d) {
12209
+ i(d.target.result);
12210
+ }), s.addEventListener("error", function(d) {
12211
+ a(d);
12212
12212
  });
12213
12213
  })];
12214
12214
  });
@@ -12219,9 +12219,9 @@ var la = (
12219
12219
  return [2, new Promise(function(r, o) {
12220
12220
  var i = window.msCrypto.subtle.exportKey(Bt, e);
12221
12221
  i.addEventListener("complete", function(a) {
12222
- var s = a.target.result, u = ct.utf8ArrToString(new Uint8Array(s)).replace(/\r/g, g.EMPTY_STRING).replace(/\n/g, g.EMPTY_STRING).replace(/\t/g, g.EMPTY_STRING).split(" ").join(g.EMPTY_STRING).replace("\0", g.EMPTY_STRING);
12222
+ var s = a.target.result, d = ct.utf8ArrToString(new Uint8Array(s)).replace(/\r/g, g.EMPTY_STRING).replace(/\n/g, g.EMPTY_STRING).replace(/\t/g, g.EMPTY_STRING).split(" ").join(g.EMPTY_STRING).replace("\0", g.EMPTY_STRING);
12223
12223
  try {
12224
- r(JSON.parse(u));
12224
+ r(JSON.parse(d));
12225
12225
  } catch (p) {
12226
12226
  o(p);
12227
12227
  }
@@ -12235,11 +12235,11 @@ var la = (
12235
12235
  return T(this, void 0, void 0, function() {
12236
12236
  var i, a;
12237
12237
  return I(this, function(s) {
12238
- return i = ct.getSortedObjectString(e), a = ct.stringToArrayBuffer(i), [2, new Promise(function(u, p) {
12239
- var d = window.msCrypto.subtle.importKey(Bt, a, t, r, o);
12240
- d.addEventListener("complete", function(f) {
12241
- u(f.target.result);
12242
- }), d.addEventListener("error", function(f) {
12238
+ return i = ct.getSortedObjectString(e), a = ct.stringToArrayBuffer(i), [2, new Promise(function(d, p) {
12239
+ var u = window.msCrypto.subtle.importKey(Bt, a, t, r, o);
12240
+ u.addEventListener("complete", function(f) {
12241
+ d(f.target.result);
12242
+ }), u.addEventListener("error", function(f) {
12243
12243
  p(f);
12244
12244
  });
12245
12245
  })];
@@ -12250,10 +12250,10 @@ var la = (
12250
12250
  return I(this, function(o) {
12251
12251
  return [2, new Promise(function(i, a) {
12252
12252
  var s = window.msCrypto.subtle.sign(e, t, r);
12253
- s.addEventListener("complete", function(u) {
12254
- i(u.target.result);
12255
- }), s.addEventListener("error", function(u) {
12256
- a(u);
12253
+ s.addEventListener("complete", function(d) {
12254
+ i(d.target.result);
12255
+ }), s.addEventListener("error", function(d) {
12256
+ a(d);
12257
12257
  });
12258
12258
  })];
12259
12259
  });
@@ -12275,7 +12275,7 @@ var la = (
12275
12275
  }()
12276
12276
  );
12277
12277
  /*! @azure/msal-browser v2.38.3 2023-10-27 */
12278
- var ua = "RSASSA-PKCS1-v1_5", xr = "SHA-256", da = 2048, pa = new Uint8Array([1, 0, 1]), mo = (
12278
+ var da = "RSASSA-PKCS1-v1_5", xr = "SHA-256", ua = 2048, pa = new Uint8Array([1, 0, 1]), mo = (
12279
12279
  /** @class */
12280
12280
  function() {
12281
12281
  function n(e, t) {
@@ -12294,9 +12294,9 @@ var ua = "RSASSA-PKCS1-v1_5", xr = "SHA-256", da = 2048, pa = new Uint8Array([1,
12294
12294
  this.logger.verbose("BrowserCrypto: Entropy provided"), this.subtleCrypto.initPrng(this.cryptoOptions.entropy);
12295
12295
  }
12296
12296
  this.keygenAlgorithmOptions = {
12297
- name: ua,
12297
+ name: da,
12298
12298
  hash: xr,
12299
- modulusLength: da,
12299
+ modulusLength: ua,
12300
12300
  publicExponent: pa
12301
12301
  };
12302
12302
  }
@@ -12397,11 +12397,11 @@ var ha = (
12397
12397
  return r.sent(), [2, new Promise(function(o, i) {
12398
12398
  if (!t.db)
12399
12399
  return i(M.createDatabaseNotOpenError());
12400
- var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), u = s.get(e);
12401
- u.addEventListener("success", function(p) {
12402
- var d = p;
12403
- t.closeConnection(), o(d.target.result);
12404
- }), u.addEventListener("error", function(p) {
12400
+ var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), d = s.get(e);
12401
+ d.addEventListener("success", function(p) {
12402
+ var u = p;
12403
+ t.closeConnection(), o(u.target.result);
12404
+ }), d.addEventListener("error", function(p) {
12405
12405
  t.closeConnection(), i(p);
12406
12406
  });
12407
12407
  })];
@@ -12419,11 +12419,11 @@ var ha = (
12419
12419
  return o.sent(), [2, new Promise(function(i, a) {
12420
12420
  if (!r.db)
12421
12421
  return a(M.createDatabaseNotOpenError());
12422
- var s = r.db.transaction([r.tableName], "readwrite"), u = s.objectStore(r.tableName), p = u.put(t, e);
12422
+ var s = r.db.transaction([r.tableName], "readwrite"), d = s.objectStore(r.tableName), p = d.put(t, e);
12423
12423
  p.addEventListener("success", function() {
12424
12424
  r.closeConnection(), i();
12425
- }), p.addEventListener("error", function(d) {
12426
- r.closeConnection(), a(d);
12425
+ }), p.addEventListener("error", function(u) {
12426
+ r.closeConnection(), a(u);
12427
12427
  });
12428
12428
  })];
12429
12429
  }
@@ -12440,10 +12440,10 @@ var ha = (
12440
12440
  return r.sent(), [2, new Promise(function(o, i) {
12441
12441
  if (!t.db)
12442
12442
  return i(M.createDatabaseNotOpenError());
12443
- var a = t.db.transaction([t.tableName], "readwrite"), s = a.objectStore(t.tableName), u = s.delete(e);
12444
- u.addEventListener("success", function() {
12443
+ var a = t.db.transaction([t.tableName], "readwrite"), s = a.objectStore(t.tableName), d = s.delete(e);
12444
+ d.addEventListener("success", function() {
12445
12445
  t.closeConnection(), o();
12446
- }), u.addEventListener("error", function(p) {
12446
+ }), d.addEventListener("error", function(p) {
12447
12447
  t.closeConnection(), i(p);
12448
12448
  });
12449
12449
  })];
@@ -12462,11 +12462,11 @@ var ha = (
12462
12462
  if (!e.db)
12463
12463
  return o(M.createDatabaseNotOpenError());
12464
12464
  var i = e.db.transaction([e.tableName], "readonly"), a = i.objectStore(e.tableName), s = a.getAllKeys();
12465
- s.addEventListener("success", function(u) {
12466
- var p = u;
12465
+ s.addEventListener("success", function(d) {
12466
+ var p = d;
12467
12467
  e.closeConnection(), r(p.target.result);
12468
- }), s.addEventListener("error", function(u) {
12469
- e.closeConnection(), o(u);
12468
+ }), s.addEventListener("error", function(d) {
12469
+ e.closeConnection(), o(d);
12470
12470
  });
12471
12471
  })];
12472
12472
  }
@@ -12483,11 +12483,11 @@ var ha = (
12483
12483
  return r.sent(), [2, new Promise(function(o, i) {
12484
12484
  if (!t.db)
12485
12485
  return i(M.createDatabaseNotOpenError());
12486
- var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), u = s.count(e);
12487
- u.addEventListener("success", function(p) {
12488
- var d = p;
12489
- t.closeConnection(), o(d.target.result === 1);
12490
- }), u.addEventListener("error", function(p) {
12486
+ var a = t.db.transaction([t.tableName], "readonly"), s = a.objectStore(t.tableName), d = s.count(e);
12487
+ d.addEventListener("success", function(p) {
12488
+ var u = p;
12489
+ t.closeConnection(), o(u.target.result === 1);
12490
+ }), d.addEventListener("error", function(p) {
12491
12491
  t.closeConnection(), i(p);
12492
12492
  });
12493
12493
  })];
@@ -12707,7 +12707,7 @@ var fa = (
12707
12707
  }, n.prototype.getPublicKeyThumbprint = function(e) {
12708
12708
  var t;
12709
12709
  return T(this, void 0, void 0, function() {
12710
- var r, o, i, a, s, u, p, d;
12710
+ var r, o, i, a, s, d, p, u;
12711
12711
  return I(this, function(f) {
12712
12712
  switch (f.label) {
12713
12713
  case 0:
@@ -12721,12 +12721,12 @@ var fa = (
12721
12721
  n: i.n
12722
12722
  }, s = ct.getSortedObjectString(a), [4, this.hashString(s)];
12723
12723
  case 3:
12724
- return u = f.sent(), [4, this.browserCrypto.exportJwk(o.privateKey)];
12724
+ return d = f.sent(), [4, this.browserCrypto.exportJwk(o.privateKey)];
12725
12725
  case 4:
12726
12726
  return p = f.sent(), [4, this.browserCrypto.importJwk(p, !1, ["sign"])];
12727
12727
  case 5:
12728
- return d = f.sent(), [4, this.cache.asymmetricKeys.setItem(u, {
12729
- privateKey: d,
12728
+ return u = f.sent(), [4, this.cache.asymmetricKeys.setItem(d, {
12729
+ privateKey: u,
12730
12730
  publicKey: o.publicKey,
12731
12731
  requestMethod: e.resourceRequestMethod,
12732
12732
  requestUri: e.resourceRequestUri
@@ -12734,7 +12734,7 @@ var fa = (
12734
12734
  case 6:
12735
12735
  return f.sent(), r && r.endMeasurement({
12736
12736
  success: !0
12737
- }), [2, u];
12737
+ }), [2, d];
12738
12738
  }
12739
12739
  });
12740
12740
  });
@@ -12766,7 +12766,7 @@ var fa = (
12766
12766
  }, n.prototype.signJwt = function(e, t, r) {
12767
12767
  var o;
12768
12768
  return T(this, void 0, void 0, function() {
12769
- var i, a, s, u, p, d, f, _, k, E, N, Q, X;
12769
+ var i, a, s, d, p, u, f, _, k, E, N, Q, X;
12770
12770
  return I(this, function(G) {
12771
12771
  switch (G.label) {
12772
12772
  case 0:
@@ -12776,8 +12776,8 @@ var fa = (
12776
12776
  throw M.createSigningKeyNotFoundInStorageError(t);
12777
12777
  return [4, this.browserCrypto.exportJwk(a.publicKey)];
12778
12778
  case 2:
12779
- return s = G.sent(), u = ct.getSortedObjectString(s), p = this.b64Encode.urlEncode(JSON.stringify({ kid: t })), d = Hi.getShrHeaderString({ kid: p, alg: s.alg }), f = this.b64Encode.urlEncode(d), e.cnf = {
12780
- jwk: JSON.parse(u)
12779
+ return s = G.sent(), d = ct.getSortedObjectString(s), p = this.b64Encode.urlEncode(JSON.stringify({ kid: t })), u = Hi.getShrHeaderString({ kid: p, alg: s.alg }), f = this.b64Encode.urlEncode(u), e.cnf = {
12780
+ jwk: JSON.parse(d)
12781
12781
  }, _ = this.b64Encode.urlEncode(JSON.stringify(e)), k = f + "." + _, E = ct.stringToArrayBuffer(k), [4, this.browserCrypto.sign(a.privateKey, E)];
12782
12782
  case 3:
12783
12783
  return N = G.sent(), Q = this.b64Encode.urlEncodeArr(new Uint8Array(N)), X = k + "." + Q, i && i.endMeasurement({
@@ -12856,9 +12856,9 @@ var ga = (
12856
12856
  /** @class */
12857
12857
  function(n) {
12858
12858
  be(e, n);
12859
- function e(t, r, o, i, a, s, u) {
12859
+ function e(t, r, o, i, a, s, d) {
12860
12860
  var p = n.call(this, t, r, o, i, a, s) || this;
12861
- return p.browserCrypto = new mo(p.logger, u), p.guidGenerator = new po(p.browserCrypto), p;
12861
+ return p.browserCrypto = new mo(p.logger, d), p.guidGenerator = new po(p.browserCrypto), p;
12862
12862
  }
12863
12863
  return e.prototype.startPerformanceMeasuremeant = function(t, r) {
12864
12864
  return new Dr(t, r);
@@ -12877,8 +12877,8 @@ var ga = (
12877
12877
  }, e.prototype.startMeasurement = function(t, r) {
12878
12878
  var o = this, i = this.getPageVisibility(), a = n.prototype.startMeasurement.call(this, t, r);
12879
12879
  return B(B({}, a), { endMeasurement: function(s) {
12880
- var u = a.endMeasurement(B({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
12881
- return o.deleteIncompleteSubMeasurements(a), u;
12880
+ var d = a.endMeasurement(B({ startPageVisibility: i, endPageVisibility: o.getPageVisibility() }, s));
12881
+ return o.deleteIncompleteSubMeasurements(a), d;
12882
12882
  }, discardMeasurement: function() {
12883
12883
  a.discardMeasurement(), o.deleteIncompleteSubMeasurements(a), a.measurement.flushMeasurement();
12884
12884
  } });
@@ -12904,8 +12904,8 @@ var ga = (
12904
12904
  }
12905
12905
  var a = n.prototype.getPreQueueTime.call(this, t, r);
12906
12906
  if (a) {
12907
- var s = window.performance.now(), u = o || n.prototype.calculateQueuedTime.call(this, a, s);
12908
- return n.prototype.addQueueMeasurement.call(this, t, r, u, i);
12907
+ var s = window.performance.now(), d = o || n.prototype.calculateQueuedTime.call(this, a, s);
12908
+ return n.prototype.addQueueMeasurement.call(this, t, r, d, i);
12909
12909
  }
12910
12910
  }, e;
12911
12911
  }(ao)
@@ -12925,14 +12925,14 @@ var _a = (
12925
12925
  var s = this.loadAccount(o, e.account.environment, void 0, void 0, e.account.homeAccountId);
12926
12926
  i = new en(s, this.loadIdToken(o, s.homeAccountId, e.account.environment, e.account.tenantId), this.loadAccessToken(e, t, s.homeAccountId, e.account.environment, e.account.tenantId, r), this.loadRefreshToken(e, t, s.homeAccountId, e.account.environment));
12927
12927
  } else if (e.authority) {
12928
- var u = on.generateAuthority(e.authority, e.azureCloudOptions), p = {
12928
+ var d = on.generateAuthority(e.authority, e.azureCloudOptions), p = {
12929
12929
  protocolMode: this.config.auth.protocolMode,
12930
12930
  knownAuthorities: this.config.auth.knownAuthorities,
12931
12931
  cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
12932
12932
  authorityMetadata: this.config.auth.authorityMetadata,
12933
12933
  skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
12934
12934
  };
12935
- if (a = new on(u, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
12935
+ if (a = new on(d, this.config.system.networkClient, this.storage, p, this.logger), r.clientInfo) {
12936
12936
  this.logger.trace("TokenCache - homeAccountId from options");
12937
12937
  var s = this.loadAccount(o, a.hostnameAndPort, r.clientInfo, a.authorityType);
12938
12938
  i = new en(s, this.loadIdToken(o, s.homeAccountId, a.hostnameAndPort, a.tenant), this.loadAccessToken(e, t, s.homeAccountId, a.hostnameAndPort, a.tenant, r), this.loadRefreshToken(e, t, s.homeAccountId, a.hostnameAndPort));
@@ -12965,9 +12965,9 @@ var _a = (
12965
12965
  throw M.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");
12966
12966
  if (!a.extendedExpiresOn)
12967
12967
  throw M.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");
12968
- var s = new Ee(e.scopes).printScopes(), u = a.expiresOn || t.expires_in + (/* @__PURE__ */ new Date()).getTime() / 1e3, p = a.extendedExpiresOn, d = _t.createAccessTokenEntity(r, o, t.access_token, this.config.auth.clientId, i, s, u, p, this.cryptoObj);
12968
+ var s = new Ee(e.scopes).printScopes(), d = a.expiresOn || t.expires_in + (/* @__PURE__ */ new Date()).getTime() / 1e3, p = a.extendedExpiresOn, u = _t.createAccessTokenEntity(r, o, t.access_token, this.config.auth.clientId, i, s, d, p, this.cryptoObj);
12969
12969
  if (this.isBrowserEnvironment)
12970
- return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(d), d;
12970
+ return this.logger.verbose("TokenCache - loading access token"), this.storage.setAccessTokenCredential(u), u;
12971
12971
  throw M.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
12972
12972
  }, n.prototype.loadRefreshToken = function(e, t, r, o) {
12973
12973
  if (!t.refresh_token)
@@ -12977,8 +12977,8 @@ var _a = (
12977
12977
  return this.logger.verbose("TokenCache - loading refresh token"), this.storage.setRefreshTokenCredential(i), i;
12978
12978
  throw M.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
12979
12979
  }, n.prototype.generateAuthenticationResult = function(e, t, r, o) {
12980
- var i, a, s, u = g.EMPTY_STRING, p = [], d = null, f;
12981
- r != null && r.accessToken && (u = r.accessToken.secret, p = Ee.fromString(r.accessToken.target).asArray(), d = new Date(Number(r.accessToken.expiresOn) * 1e3), f = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3));
12980
+ var i, a, s, d = g.EMPTY_STRING, p = [], u = null, f;
12981
+ r != null && r.accessToken && (d = r.accessToken.secret, p = Ee.fromString(r.accessToken.target).asArray(), u = new Date(Number(r.accessToken.expiresOn) * 1e3), f = new Date(Number(r.accessToken.extendedExpiresOn) * 1e3));
12982
12982
  var _ = (t == null ? void 0 : t.claims.oid) || (t == null ? void 0 : t.claims.sub) || g.EMPTY_STRING, k = (t == null ? void 0 : t.claims.tid) || g.EMPTY_STRING;
12983
12983
  return {
12984
12984
  authority: o ? o.canonicalAuthority : g.EMPTY_STRING,
@@ -12988,9 +12988,9 @@ var _a = (
12988
12988
  account: r != null && r.account ? r.account.getAccountInfo() : null,
12989
12989
  idToken: t ? t.rawToken : g.EMPTY_STRING,
12990
12990
  idTokenClaims: t ? t.claims : {},
12991
- accessToken: u,
12991
+ accessToken: d,
12992
12992
  fromCache: !0,
12993
- expiresOn: d,
12993
+ expiresOn: u,
12994
12994
  correlationId: e.correlationId || g.EMPTY_STRING,
12995
12995
  requestId: g.EMPTY_STRING,
12996
12996
  extExpiresOn: f,
@@ -13022,32 +13022,32 @@ var ya = (
13022
13022
  /** @class */
13023
13023
  function(n) {
13024
13024
  be(e, n);
13025
- function e(t, r, o, i, a, s, u, p, d, f) {
13026
- var _ = n.call(this, t, r, o, i, a, s, p, d, f) || this;
13027
- return _.apiId = u, _;
13025
+ function e(t, r, o, i, a, s, d, p, u, f) {
13026
+ var _ = n.call(this, t, r, o, i, a, s, p, u, f) || this;
13027
+ return _.apiId = d, _;
13028
13028
  }
13029
13029
  return e.prototype.acquireToken = function(t) {
13030
13030
  return T(this, void 0, void 0, function() {
13031
- var r, o, i, a, s, u, p;
13032
- return I(this, function(d) {
13033
- switch (d.label) {
13031
+ var r, o, i, a, s, d, p;
13032
+ return I(this, function(u) {
13033
+ switch (u.label) {
13034
13034
  case 0:
13035
13035
  if (this.logger.trace("SilentAuthCodeClient.acquireToken called"), !t.code)
13036
13036
  throw M.createAuthCodeRequiredError();
13037
13037
  return this.performanceClient.setPreQueueTime(b.StandardInteractionClientInitializeAuthorizationRequest, t.correlationId), [4, this.initializeAuthorizationRequest(t, x.Silent)];
13038
13038
  case 1:
13039
- r = d.sent(), this.browserStorage.updateCacheEntries(r.state, r.nonce, r.authority, r.loginHint || g.EMPTY_STRING, r.account || null), o = this.initializeServerTelemetryManager(this.apiId), d.label = 2;
13039
+ r = u.sent(), this.browserStorage.updateCacheEntries(r.state, r.nonce, r.authority, r.loginHint || g.EMPTY_STRING, r.account || null), o = this.initializeServerTelemetryManager(this.apiId), u.label = 2;
13040
13040
  case 2:
13041
- return d.trys.push([2, 4, , 5]), i = B(B({}, r), { code: t.code }), this.performanceClient.setPreQueueTime(b.StandardInteractionClientGetClientConfiguration, t.correlationId), [4, this.getClientConfiguration(o, r.authority)];
13041
+ return u.trys.push([2, 4, , 5]), i = B(B({}, r), { code: t.code }), this.performanceClient.setPreQueueTime(b.StandardInteractionClientGetClientConfiguration, t.correlationId), [4, this.getClientConfiguration(o, r.authority)];
13042
13042
  case 3:
13043
- return a = d.sent(), s = new va(a), this.logger.verbose("Auth code client created"), u = new uo(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, u.handleCodeResponseFromServer({
13043
+ return a = u.sent(), s = new va(a), this.logger.verbose("Auth code client created"), d = new uo(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, d.handleCodeResponseFromServer({
13044
13044
  code: t.code,
13045
13045
  msgraph_host: t.msGraphHost,
13046
13046
  cloud_graph_host_name: t.cloudGraphHostName,
13047
13047
  cloud_instance_host_name: t.cloudInstanceHostName
13048
13048
  }, r.state, s.authority, this.networkClient, !1)];
13049
13049
  case 4:
13050
- throw p = d.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.browserStorage.cleanRequestByState(r.state), p;
13050
+ throw p = u.sent(), p instanceof D && p.setCorrelationId(this.correlationId), o.cacheFailedRequest(p), this.browserStorage.cleanRequestByState(r.state), p;
13051
13051
  case 5:
13052
13052
  return [
13053
13053
  2
@@ -13111,32 +13111,32 @@ var ka = (
13111
13111
  });
13112
13112
  }, n.prototype.handleRedirectPromise = function(e) {
13113
13113
  return T(this, void 0, void 0, function() {
13114
- var t, r, o, i, a, s, u, p, d = this;
13114
+ var t, r, o, i, a, s, d, p, u = this;
13115
13115
  return I(this, function(f) {
13116
- return this.logger.verbose("handleRedirectPromise called"), de.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || g.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(q.HANDLE_REDIRECT_START, x.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && yt.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new zt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.handleRedirectPromise, this.performanceClient, this.nativeExtensionProvider, i.accountId, this.nativeInternalStorage, i.correlationId), a = s.handleRedirectPromise()) : (this.logger.trace("handleRedirectPromise - acquiring token from web flow"), u = this.browserStorage.getTemporaryCache(J.CORRELATION_ID, !0) || g.EMPTY_STRING, p = this.createRedirectClient(u), a = p.handleRedirectPromise(e)), o = a.then(function(_) {
13116
+ return this.logger.verbose("handleRedirectPromise called"), ue.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || g.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(q.HANDLE_REDIRECT_START, x.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && yt.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new zt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.handleRedirectPromise, this.performanceClient, this.nativeExtensionProvider, i.accountId, this.nativeInternalStorage, i.correlationId), a = s.handleRedirectPromise()) : (this.logger.trace("handleRedirectPromise - acquiring token from web flow"), d = this.browserStorage.getTemporaryCache(J.CORRELATION_ID, !0) || g.EMPTY_STRING, p = this.createRedirectClient(d), a = p.handleRedirectPromise(e)), o = a.then(function(_) {
13117
13117
  if (_) {
13118
- var k = t.length < d.getAllAccounts().length;
13119
- k ? (d.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Redirect, _), d.logger.verbose("handleRedirectResponse returned result, login success")) : (d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Redirect, _), d.logger.verbose("handleRedirectResponse returned result, acquire token success"));
13118
+ var k = t.length < u.getAllAccounts().length;
13119
+ k ? (u.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Redirect, _), u.logger.verbose("handleRedirectResponse returned result, login success")) : (u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Redirect, _), u.logger.verbose("handleRedirectResponse returned result, acquire token success"));
13120
13120
  }
13121
- return d.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13121
+ return u.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13122
13122
  }).catch(function(_) {
13123
- throw t.length > 0 ? d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Redirect, null, _) : d.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Redirect, null, _), d.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13123
+ throw t.length > 0 ? u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Redirect, null, _) : u.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Redirect, null, _), u.eventHandler.emitEvent(q.HANDLE_REDIRECT_END, x.Redirect), _;
13124
13124
  }), this.redirectResponse.set(r, o)) : this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"), [2, o]) : (this.logger.verbose("handleRedirectPromise returns null, not browser environment"), [2, null]);
13125
13125
  });
13126
13126
  });
13127
13127
  }, n.prototype.acquireTokenRedirect = function(e) {
13128
13128
  return T(this, void 0, void 0, function() {
13129
13129
  var t, r, o, i, a, s = this;
13130
- return I(this, function(u) {
13130
+ return I(this, function(d) {
13131
13131
  return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(x.Redirect), r = this.getAllAccounts().length > 0, r ? this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_START, x.Redirect, e) : this.eventHandler.emitEvent(q.LOGIN_START, x.Redirect, e), this.nativeExtensionProvider && this.canUseNative(e) ? (i = new zt(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, oe.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), o = i.acquireTokenRedirect(e).catch(function(p) {
13132
13132
  if (p instanceof tt && p.isFatal()) {
13133
13133
  s.nativeExtensionProvider = void 0;
13134
- var d = s.createRedirectClient(e.correlationId);
13135
- return d.acquireToken(e);
13134
+ var u = s.createRedirectClient(e.correlationId);
13135
+ return u.acquireToken(e);
13136
13136
  } else if (p instanceof Ye) {
13137
13137
  s.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");
13138
- var d = s.createRedirectClient(e.correlationId);
13139
- return d.acquireToken(e);
13138
+ var u = s.createRedirectClient(e.correlationId);
13139
+ return u.acquireToken(e);
13140
13140
  }
13141
13141
  throw s.browserStorage.setInteractionInProgress(!1), p;
13142
13142
  })) : (a = this.createRedirectClient(e.correlationId), o = a.acquireToken(e)), [2, o.catch(function(p) {
@@ -13148,50 +13148,50 @@ var ka = (
13148
13148
  var t = this, r = this.getRequestCorrelationId(e), o = this.performanceClient.startMeasurement(b.AcquireTokenPopup, r);
13149
13149
  try {
13150
13150
  this.logger.verbose("acquireTokenPopup called", r), this.preflightBrowserEnvironmentCheck(x.Popup);
13151
- } catch (u) {
13152
- return Promise.reject(u);
13151
+ } catch (d) {
13152
+ return Promise.reject(d);
13153
13153
  }
13154
13154
  var i = this.getAllAccounts();
13155
13155
  i.length > 0 ? this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_START, x.Popup, e) : this.eventHandler.emitEvent(q.LOGIN_START, x.Popup, e);
13156
13156
  var a;
13157
13157
  if (this.canUseNative(e))
13158
- a = this.acquireTokenNative(e, oe.acquireTokenPopup).then(function(u) {
13158
+ a = this.acquireTokenNative(e, oe.acquireTokenPopup).then(function(d) {
13159
13159
  return t.browserStorage.setInteractionInProgress(!1), o.endMeasurement({
13160
13160
  success: !0,
13161
13161
  isNativeBroker: !0,
13162
- requestId: u.requestId
13163
- }), u;
13164
- }).catch(function(u) {
13165
- if (u instanceof tt && u.isFatal()) {
13162
+ requestId: d.requestId
13163
+ }), d;
13164
+ }).catch(function(d) {
13165
+ if (d instanceof tt && d.isFatal()) {
13166
13166
  t.nativeExtensionProvider = void 0;
13167
13167
  var p = t.createPopupClient(e.correlationId);
13168
13168
  return p.acquireToken(e);
13169
- } else if (u instanceof Ye) {
13169
+ } else if (d instanceof Ye) {
13170
13170
  t.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");
13171
13171
  var p = t.createPopupClient(e.correlationId);
13172
13172
  return p.acquireToken(e);
13173
13173
  }
13174
- throw t.browserStorage.setInteractionInProgress(!1), u;
13174
+ throw t.browserStorage.setInteractionInProgress(!1), d;
13175
13175
  });
13176
13176
  else {
13177
13177
  var s = this.createPopupClient(e.correlationId);
13178
13178
  a = s.acquireToken(e);
13179
13179
  }
13180
- return a.then(function(u) {
13180
+ return a.then(function(d) {
13181
13181
  var p = i.length < t.getAllAccounts().length;
13182
- return p ? t.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Popup, u) : t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Popup, u), o.addStaticFields({
13183
- accessTokenSize: u.accessToken.length,
13184
- idTokenSize: u.idToken.length
13182
+ return p ? t.eventHandler.emitEvent(q.LOGIN_SUCCESS, x.Popup, d) : t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Popup, d), o.addStaticFields({
13183
+ accessTokenSize: d.accessToken.length,
13184
+ idTokenSize: d.idToken.length
13185
13185
  }), o.endMeasurement({
13186
13186
  success: !0,
13187
- requestId: u.requestId
13188
- }), u;
13189
- }).catch(function(u) {
13190
- return i.length > 0 ? t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Popup, null, u) : t.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Popup, null, u), o.endMeasurement({
13191
- errorCode: u.errorCode,
13192
- subErrorCode: u.subError,
13187
+ requestId: d.requestId
13188
+ }), d;
13189
+ }).catch(function(d) {
13190
+ return i.length > 0 ? t.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Popup, null, d) : t.eventHandler.emitEvent(q.LOGIN_FAILURE, x.Popup, null, d), o.endMeasurement({
13191
+ errorCode: d.errorCode,
13192
+ subErrorCode: d.subError,
13193
13193
  success: !1
13194
- }), Promise.reject(u);
13194
+ }), Promise.reject(d);
13195
13195
  });
13196
13196
  }, n.prototype.trackPageVisibilityWithMeasurement = function() {
13197
13197
  var e = this.ssoSilentMeasurement || this.acquireTokenByCodeAsyncMeasurement;
@@ -13202,7 +13202,7 @@ var ka = (
13202
13202
  var t;
13203
13203
  return T(this, void 0, void 0, function() {
13204
13204
  var r, o, i, a, s = this;
13205
- return I(this, function(u) {
13205
+ return I(this, function(d) {
13206
13206
  return r = this.getRequestCorrelationId(e), o = B(B({}, e), {
13207
13207
  // will be PromptValue.NONE or PromptValue.NO_SESSION
13208
13208
  prompt: e.prompt,
@@ -13212,13 +13212,13 @@ var ka = (
13212
13212
  }), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), this.logger.verbose("ssoSilent called", r), this.eventHandler.emitEvent(q.SSO_SILENT_START, x.Silent, o), this.canUseNative(o) ? i = this.acquireTokenNative(o, oe.ssoSilent).catch(function(p) {
13213
13213
  if (p instanceof tt && p.isFatal()) {
13214
13214
  s.nativeExtensionProvider = void 0;
13215
- var d = s.createSilentIframeClient(o.correlationId);
13216
- return d.acquireToken(o);
13215
+ var u = s.createSilentIframeClient(o.correlationId);
13216
+ return u.acquireToken(o);
13217
13217
  }
13218
13218
  throw p;
13219
13219
  }) : (a = this.createSilentIframeClient(o.correlationId), i = a.acquireToken(o)), [2, i.then(function(p) {
13220
- var d, f;
13221
- return s.eventHandler.emitEvent(q.SSO_SILENT_SUCCESS, x.Silent, p), (d = s.ssoSilentMeasurement) === null || d === void 0 || d.addStaticFields({
13220
+ var u, f;
13221
+ return s.eventHandler.emitEvent(q.SSO_SILENT_SUCCESS, x.Silent, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.addStaticFields({
13222
13222
  accessTokenSize: p.accessToken.length,
13223
13223
  idTokenSize: p.idToken.length
13224
13224
  }), (f = s.ssoSilentMeasurement) === null || f === void 0 || f.endMeasurement({
@@ -13227,8 +13227,8 @@ var ka = (
13227
13227
  requestId: p.requestId
13228
13228
  }), p;
13229
13229
  }).catch(function(p) {
13230
- var d;
13231
- throw s.eventHandler.emitEvent(q.SSO_SILENT_FAILURE, x.Silent, null, p), (d = s.ssoSilentMeasurement) === null || d === void 0 || d.endMeasurement({
13230
+ var u;
13231
+ throw s.eventHandler.emitEvent(q.SSO_SILENT_FAILURE, x.Silent, null, p), (u = s.ssoSilentMeasurement) === null || u === void 0 || u.endMeasurement({
13232
13232
  errorCode: p.errorCode,
13233
13233
  subErrorCode: p.subError,
13234
13234
  success: !1
@@ -13247,36 +13247,36 @@ var ka = (
13247
13247
  if (e.code && e.nativeAccountId)
13248
13248
  throw M.createSpaCodeAndNativeAccountIdPresentError();
13249
13249
  if (e.code)
13250
- return o = e.code, i = this.hybridAuthCodeResponses.get(o), i ? (this.logger.verbose("Existing acquireTokenByCode request found", e.correlationId), r.discardMeasurement()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), i = this.acquireTokenByCodeAsync(B(B({}, e), { correlationId: t })).then(function(u) {
13251
- return a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_SUCCESS, x.Silent, u), a.hybridAuthCodeResponses.delete(o), r.addStaticFields({
13252
- accessTokenSize: u.accessToken.length,
13253
- idTokenSize: u.idToken.length
13250
+ return o = e.code, i = this.hybridAuthCodeResponses.get(o), i ? (this.logger.verbose("Existing acquireTokenByCode request found", e.correlationId), r.discardMeasurement()) : (this.logger.verbose("Initiating new acquireTokenByCode request", t), i = this.acquireTokenByCodeAsync(B(B({}, e), { correlationId: t })).then(function(d) {
13251
+ return a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_SUCCESS, x.Silent, d), a.hybridAuthCodeResponses.delete(o), r.addStaticFields({
13252
+ accessTokenSize: d.accessToken.length,
13253
+ idTokenSize: d.idToken.length
13254
13254
  }), r.endMeasurement({
13255
13255
  success: !0,
13256
- isNativeBroker: u.fromNativeBroker,
13257
- requestId: u.requestId
13258
- }), u;
13259
- }).catch(function(u) {
13260
- throw a.hybridAuthCodeResponses.delete(o), a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, u), r.endMeasurement({
13261
- errorCode: u.errorCode,
13262
- subErrorCode: u.subError,
13256
+ isNativeBroker: d.fromNativeBroker,
13257
+ requestId: d.requestId
13258
+ }), d;
13259
+ }).catch(function(d) {
13260
+ throw a.hybridAuthCodeResponses.delete(o), a.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, d), r.endMeasurement({
13261
+ errorCode: d.errorCode,
13262
+ subErrorCode: d.subError,
13263
13263
  success: !1
13264
- }), u;
13264
+ }), d;
13265
13265
  }), this.hybridAuthCodeResponses.set(o, i)), [2, i];
13266
13266
  if (e.nativeAccountId) {
13267
13267
  if (this.canUseNative(e, e.nativeAccountId))
13268
- return [2, this.acquireTokenNative(e, oe.acquireTokenByCode, e.nativeAccountId).catch(function(u) {
13269
- throw u instanceof tt && u.isFatal() && (a.nativeExtensionProvider = void 0), u;
13268
+ return [2, this.acquireTokenNative(e, oe.acquireTokenByCode, e.nativeAccountId).catch(function(d) {
13269
+ throw d instanceof tt && d.isFatal() && (a.nativeExtensionProvider = void 0), d;
13270
13270
  })];
13271
13271
  throw M.createUnableToAcquireTokenFromNativePlatformError();
13272
13272
  } else
13273
13273
  throw M.createAuthCodeOrNativeAccountIdRequiredError();
13274
- } catch (u) {
13275
- throw this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, u), r.endMeasurement({
13276
- errorCode: u instanceof D && u.errorCode || void 0,
13277
- subErrorCode: u instanceof D && u.subError || void 0,
13274
+ } catch (d) {
13275
+ throw this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_BY_CODE_FAILURE, x.Silent, null, d), r.endMeasurement({
13276
+ errorCode: d instanceof D && d.errorCode || void 0,
13277
+ subErrorCode: d instanceof D && d.subError || void 0,
13278
13278
  success: !1
13279
- }), u;
13279
+ }), d;
13280
13280
  }
13281
13281
  return [
13282
13282
  2
@@ -13294,16 +13294,16 @@ var ka = (
13294
13294
  return this.logger.trace("acquireTokenByCodeAsync called", e.correlationId), this.acquireTokenByCodeAsyncMeasurement = this.performanceClient.startMeasurement(b.AcquireTokenByCodeAsync, e.correlationId), (t = this.acquireTokenByCodeAsyncMeasurement) === null || t === void 0 || t.increment({
13295
13295
  visibilityChangeCount: 0
13296
13296
  }), document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement), r = this.createSilentAuthCodeClient(e.correlationId), [4, r.acquireToken(e).then(function(s) {
13297
- var u;
13298
- return (u = i.acquireTokenByCodeAsyncMeasurement) === null || u === void 0 || u.endMeasurement({
13297
+ var d;
13298
+ return (d = i.acquireTokenByCodeAsyncMeasurement) === null || d === void 0 || d.endMeasurement({
13299
13299
  success: !0,
13300
13300
  fromCache: s.fromCache,
13301
13301
  isNativeBroker: s.fromNativeBroker,
13302
13302
  requestId: s.requestId
13303
13303
  }), s;
13304
13304
  }).catch(function(s) {
13305
- var u;
13306
- throw (u = i.acquireTokenByCodeAsyncMeasurement) === null || u === void 0 || u.endMeasurement({
13305
+ var d;
13306
+ throw (d = i.acquireTokenByCodeAsyncMeasurement) === null || d === void 0 || d.endMeasurement({
13307
13307
  errorCode: s.errorCode,
13308
13308
  subErrorCode: s.subError,
13309
13309
  success: !1
@@ -13404,11 +13404,11 @@ var ka = (
13404
13404
  }, n.prototype.getActiveAccount = function() {
13405
13405
  return this.browserStorage.getActiveAccount();
13406
13406
  }, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
13407
- if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), de.blockNonBrowserEnvironment(this.isBrowserEnvironment), de.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), de.blockReloadInHiddenIframes(), de.blockAcquireTokenInPopups(), de.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === x.Redirect && this.config.cache.cacheLocation === pe.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
13407
+ if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), ue.blockNonBrowserEnvironment(this.isBrowserEnvironment), ue.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), ue.blockReloadInHiddenIframes(), ue.blockAcquireTokenInPopups(), ue.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === x.Redirect && this.config.cache.cacheLocation === pe.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
13408
13408
  throw En.createInMemoryRedirectUnavailableError();
13409
13409
  (e === x.Redirect || e === x.Popup) && this.preflightInteractiveRequest(t);
13410
13410
  }, n.prototype.preflightInteractiveRequest = function(e) {
13411
- this.logger.verbose("preflightInteractiveRequest called, validating app environment"), de.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
13411
+ this.logger.verbose("preflightInteractiveRequest called, validating app environment"), ue.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
13412
13412
  }, n.prototype.acquireTokenNative = function(e, t, r) {
13413
13413
  return T(this, void 0, void 0, function() {
13414
13414
  var o;
@@ -13497,7 +13497,7 @@ var wa = (
13497
13497
  return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup(B({ correlationId: r }, t || Lr));
13498
13498
  }, e.prototype.acquireTokenSilent = function(t) {
13499
13499
  return T(this, void 0, void 0, function() {
13500
- var r, o, i, a, s, u, p, d = this;
13500
+ var r, o, i, a, s, d, p, u = this;
13501
13501
  return I(this, function(f) {
13502
13502
  if (r = this.getRequestCorrelationId(t), o = this.performanceClient.startMeasurement(b.AcquireTokenSilent, r), o.addStaticFields({
13503
13503
  cacheLookupPolicy: t.cacheLookupPolicy
@@ -13514,8 +13514,8 @@ var wa = (
13514
13514
  resourceRequestUri: t.resourceRequestUri,
13515
13515
  shrClaims: t.shrClaims,
13516
13516
  sshKid: t.sshKid
13517
- }, s = JSON.stringify(a), u = this.activeSilentTokenRequests.get(s), typeof u > "u" ? (this.logger.verbose("acquireTokenSilent called for the first time, storing active request", r), this.performanceClient.setPreQueueTime(b.AcquireTokenSilentAsync, r), p = this.acquireTokenSilentAsync(B(B({}, t), { correlationId: r }), i).then(function(_) {
13518
- return d.activeSilentTokenRequests.delete(s), o.addStaticFields({
13517
+ }, s = JSON.stringify(a), d = this.activeSilentTokenRequests.get(s), typeof d > "u" ? (this.logger.verbose("acquireTokenSilent called for the first time, storing active request", r), this.performanceClient.setPreQueueTime(b.AcquireTokenSilentAsync, r), p = this.acquireTokenSilentAsync(B(B({}, t), { correlationId: r }), i).then(function(_) {
13518
+ return u.activeSilentTokenRequests.delete(s), o.addStaticFields({
13519
13519
  accessTokenSize: _.accessToken.length,
13520
13520
  idTokenSize: _.idToken.length
13521
13521
  }), o.endMeasurement({
@@ -13526,12 +13526,12 @@ var wa = (
13526
13526
  requestId: _.requestId
13527
13527
  }), _;
13528
13528
  }).catch(function(_) {
13529
- throw d.activeSilentTokenRequests.delete(s), o.endMeasurement({
13529
+ throw u.activeSilentTokenRequests.delete(s), o.endMeasurement({
13530
13530
  errorCode: _.errorCode,
13531
13531
  subErrorCode: _.subError,
13532
13532
  success: !1
13533
13533
  }), _;
13534
- }), this.activeSilentTokenRequests.set(s, p), [2, p]) : (this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", r), o.discardMeasurement(), [2, u]);
13534
+ }), this.activeSilentTokenRequests.set(s, p), [2, p]) : (this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", r), o.discardMeasurement(), [2, d]);
13535
13535
  });
13536
13536
  });
13537
13537
  }, e.prototype.trackPageVisibility = function() {
@@ -13541,14 +13541,14 @@ var wa = (
13541
13541
  }, e.prototype.acquireTokenSilentAsync = function(t, r) {
13542
13542
  var o;
13543
13543
  return T(this, void 0, void 0, function() {
13544
- var i, a, s, u, p, d = this;
13544
+ var i, a, s, d, p, u = this;
13545
13545
  return I(this, function(f) {
13546
13546
  switch (f.label) {
13547
13547
  case 0:
13548
13548
  return this.performanceClient.addQueueMeasurement(b.AcquireTokenSilentAsync, t.correlationId), this.eventHandler.emitEvent(q.ACQUIRE_TOKEN_START, x.Silent, t), this.astsAsyncMeasurement = this.performanceClient.startMeasurement(b.AcquireTokenSilentAsync, t.correlationId), (o = this.astsAsyncMeasurement) === null || o === void 0 || o.increment({
13549
13549
  visibilityChangeCount: 0
13550
13550
  }), document.addEventListener("visibilitychange", this.trackPageVisibility), yt.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider, t.authenticationScheme) && r.nativeAccountId ? (this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"), a = B(B({}, t), { account: r }), i = this.acquireTokenNative(a, oe.acquireTokenSilent_silentFlow).catch(function(_) {
13551
- return T(d, void 0, void 0, function() {
13551
+ return T(u, void 0, void 0, function() {
13552
13552
  var k;
13553
13553
  return I(this, function(E) {
13554
13554
  if (_ instanceof tt && _.isFatal())
@@ -13560,23 +13560,23 @@ var wa = (
13560
13560
  case 1:
13561
13561
  return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"), s = this.createSilentCacheClient(t.correlationId), this.performanceClient.setPreQueueTime(b.InitializeSilentRequest, t.correlationId), [4, s.initializeSilentRequest(t, r)];
13562
13562
  case 2:
13563
- u = f.sent(), p = B(B({}, t), {
13563
+ d = f.sent(), p = B(B({}, t), {
13564
13564
  // set the request's CacheLookupPolicy to Default if it was not optionally passed in
13565
13565
  cacheLookupPolicy: t.cacheLookupPolicy || Le.Default
13566
- }), this.performanceClient.setPreQueueTime(b.AcquireTokenFromCache, u.correlationId), i = this.acquireTokenFromCache(s, u, p).catch(function(_) {
13566
+ }), this.performanceClient.setPreQueueTime(b.AcquireTokenFromCache, d.correlationId), i = this.acquireTokenFromCache(s, d, p).catch(function(_) {
13567
13567
  if (p.cacheLookupPolicy === Le.AccessToken)
13568
13568
  throw _;
13569
- return de.blockReloadInHiddenIframes(), d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_NETWORK_START, x.Silent, u), d.performanceClient.setPreQueueTime(b.AcquireTokenByRefreshToken, u.correlationId), d.acquireTokenByRefreshToken(u, p).catch(function(k) {
13569
+ return ue.blockReloadInHiddenIframes(), u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_NETWORK_START, x.Silent, d), u.performanceClient.setPreQueueTime(b.AcquireTokenByRefreshToken, d.correlationId), u.acquireTokenByRefreshToken(d, p).catch(function(k) {
13570
13570
  var E = k instanceof bt, N = k instanceof Ye, Q = k.errorCode === Nt.noTokensFoundError.code, X = k.errorCode === Qe.INVALID_GRANT_ERROR;
13571
13571
  if ((!E || !X || N || p.cacheLookupPolicy === Le.AccessTokenAndRefreshToken || p.cacheLookupPolicy === Le.RefreshToken) && p.cacheLookupPolicy !== Le.Skip && !Q)
13572
13572
  throw k;
13573
- return d.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), d.performanceClient.setPreQueueTime(b.AcquireTokenBySilentIframe, u.correlationId), d.acquireTokenBySilentIframe(u);
13573
+ return u.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), u.performanceClient.setPreQueueTime(b.AcquireTokenBySilentIframe, d.correlationId), u.acquireTokenBySilentIframe(d);
13574
13574
  });
13575
13575
  }), f.label = 3;
13576
13576
  case 3:
13577
13577
  return [2, i.then(function(_) {
13578
13578
  var k;
13579
- return d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Silent, _), (k = d.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13579
+ return u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_SUCCESS, x.Silent, _), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13580
13580
  success: !0,
13581
13581
  fromCache: _.fromCache,
13582
13582
  isNativeBroker: _.fromNativeBroker,
@@ -13584,13 +13584,13 @@ var wa = (
13584
13584
  }), _;
13585
13585
  }).catch(function(_) {
13586
13586
  var k;
13587
- throw d.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Silent, null, _), (k = d.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13587
+ throw u.eventHandler.emitEvent(q.ACQUIRE_TOKEN_FAILURE, x.Silent, null, _), (k = u.astsAsyncMeasurement) === null || k === void 0 || k.endMeasurement({
13588
13588
  errorCode: _.errorCode,
13589
13589
  subErrorCode: _.subError,
13590
13590
  success: !1
13591
13591
  }), _;
13592
13592
  }).finally(function() {
13593
- document.removeEventListener("visibilitychange", d.trackPageVisibility);
13593
+ document.removeEventListener("visibilitychange", u.trackPageVisibility);
13594
13594
  })];
13595
13595
  }
13596
13596
  });
@@ -13683,18 +13683,18 @@ const An = {
13683
13683
  if (t)
13684
13684
  return console.log("Error: " + JSON.stringify(t)), this.microsoftLoad = !1;
13685
13685
  if (this.referral && (r.ref = this.referral), this.display === "popup" && (r.response_type = "code"), r && (r.accessToken || r.idToken)) {
13686
- const [s, u] = await Z(
13686
+ const [s, d] = await Z(
13687
13687
  Ne.microsoftSDK(r, this.$storage)
13688
13688
  );
13689
13689
  if (s)
13690
13690
  return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
13691
- if (u.data.success) {
13691
+ if (d.data.success) {
13692
13692
  if (this.display === "popup")
13693
13693
  return (a = window.parent) == null ? void 0 : a.postMessage(
13694
- { code: u.data.auth_code, state: this.$route.query.state },
13694
+ { code: d.data.auth_code, state: this.$route.query.state },
13695
13695
  "*"
13696
13696
  );
13697
- await this.loginSetup(u), await this.getLoggedInAccounts(), this.loginSuccess({ ...u, isModal: this.isModal }), setTimeout(() => {
13697
+ await this.loginSetup(d), await this.getLoggedInAccounts(), this.loginSuccess({ ...d, isModal: this.isModal }), setTimeout(() => {
13698
13698
  this.microsoftLoad = !1, this.microsoftSSOLoad = !1;
13699
13699
  }, 1e3);
13700
13700
  } else
@@ -13721,7 +13721,7 @@ const An = {
13721
13721
  },
13722
13722
  compareLangKeys() {
13723
13723
  const n = Object.keys(Fr.default.state), e = Object.keys(jr.default.state), t = Object.keys(Kr.default.state), r = Object.keys(Wr.default.state), o = Object.keys(Vr.default.state), i = Object.keys(Gr.default.state), a = Object.keys(Qr.default.state), s = Object.keys(Yr.default.state);
13724
- console.log("In en but not in de", n.filter((u) => !e.includes(u))), console.log("In de but not in en", e.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in es", n.filter((u) => !t.includes(u))), console.log("In es but not in en", t.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in kr", n.filter((u) => !r.includes(u))), console.log("In kr but not in en", r.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in it", n.filter((u) => !o.includes(u))), console.log("In it but not in en", o.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in fr", n.filter((u) => !i.includes(u))), console.log("In fr but not in en", i.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in sr", n.filter((u) => !a.includes(u))), console.log("In sr but not in en", a.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in tr", n.filter((u) => !s.includes(u))), console.log("In tr but not in en", s.filter((u) => !n.includes(u))), console.log();
13724
+ console.log("In en but not in de", n.filter((d) => !e.includes(d))), console.log("In de but not in en", e.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in es", n.filter((d) => !t.includes(d))), console.log("In es but not in en", t.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in kr", n.filter((d) => !r.includes(d))), console.log("In kr but not in en", r.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in it", n.filter((d) => !o.includes(d))), console.log("In it but not in en", o.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in fr", n.filter((d) => !i.includes(d))), console.log("In fr but not in en", i.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in sr", n.filter((d) => !a.includes(d))), console.log("In sr but not in en", a.filter((d) => !n.includes(d))), console.log(), console.log("In en but not in tr", n.filter((d) => !s.includes(d))), console.log("In tr but not in en", s.filter((d) => !n.includes(d))), console.log();
13725
13725
  },
13726
13726
  base64ImageToBlob(n) {
13727
13727
  const e = n.split(";base64,"), t = e[0].split(":")[1], r = window.atob(e[1]), o = new Uint8Array(r.length);
@@ -13755,8 +13755,8 @@ const An = {
13755
13755
  cropCardScan(n, e) {
13756
13756
  const t = new window.Image(), r = document.createElement("canvas"), o = r.getContext("2d");
13757
13757
  t.src = "data:image/jpeg;base64," + n, t.onload = () => {
13758
- const i = t.width, a = t.width / 1.65, s = 0, u = t.height / 2 - a / 2, p = i, d = a;
13759
- r.width = p, r.height = d, o.drawImage(t, s, u, i, a, 0, 0, p, d);
13758
+ const i = t.width, a = t.width / 1.65, s = 0, d = t.height / 2 - a / 2, p = i, u = a;
13759
+ r.width = p, r.height = u, o.drawImage(t, s, d, i, a, 0, 0, p, u);
13760
13760
  const f = r.toDataURL();
13761
13761
  return e(f), f;
13762
13762
  };
@@ -13782,7 +13782,7 @@ const An = {
13782
13782
  },
13783
13783
  async decryptAES(n, e, t) {
13784
13784
  try {
13785
- const r = (u) => Uint8Array.from(atob(u), (p) => p.charCodeAt(0));
13785
+ const r = (d) => Uint8Array.from(atob(d), (p) => p.charCodeAt(0));
13786
13786
  t = t.replace(/ /g, "+");
13787
13787
  const o = new TextEncoder(), i = new TextDecoder();
13788
13788
  n = o.encode(n), e = o.encode(e), t = r(t, storage);
@@ -13832,11 +13832,11 @@ const An = {
13832
13832
  localStorage.setItem("pkce_code_verifier", r);
13833
13833
  let o = await Ut.pkceChallengeFromVerifier(r), i = n.domain + "/v1/authorize", a;
13834
13834
  this.isNative ? a = "tapni://t.link/callback/okta" : a = location.origin + "/callback/okta";
13835
- let s = i + "?response_type=code&client_id=" + encodeURIComponent(n.clientID) + "&state=" + encodeURIComponent(t) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(a) + "&code_challenge=" + encodeURIComponent(o) + "&code_challenge_method=S256", u = this, p;
13836
- window.addEventListener("message", async (d) => {
13837
- if (!this.allowedOrigins.includes(d.origin))
13835
+ let s = i + "?response_type=code&client_id=" + encodeURIComponent(n.clientID) + "&state=" + encodeURIComponent(t) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(a) + "&code_challenge=" + encodeURIComponent(o) + "&code_challenge_method=S256", d = this, p;
13836
+ window.addEventListener("message", async (u) => {
13837
+ if (!this.allowedOrigins.includes(u.origin))
13838
13838
  return console.log("Origin is not allowed!");
13839
- d.data.type === "okta" && (p = d.data.code, await u.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
13839
+ u.data.type === "okta" && (p = u.data.code, await d.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
13840
13840
  }, { once: !0 }), this.isNative ? await hn.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
13841
13841
  },
13842
13842
  async handleOktaRedirect() {
@@ -13876,10 +13876,10 @@ function Aa(n, e, t) {
13876
13876
  return (e + t) * 3 / 4 - t;
13877
13877
  }
13878
13878
  function Ra(n) {
13879
- var e, t = go(n), r = t[0], o = t[1], i = new Ta(Aa(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, u;
13880
- for (u = 0; u < s; u += 4)
13881
- e = je[n.charCodeAt(u)] << 18 | je[n.charCodeAt(u + 1)] << 12 | je[n.charCodeAt(u + 2)] << 6 | je[n.charCodeAt(u + 3)], i[a++] = e >> 16 & 255, i[a++] = e >> 8 & 255, i[a++] = e & 255;
13882
- return o === 2 && (e = je[n.charCodeAt(u)] << 2 | je[n.charCodeAt(u + 1)] >> 4, i[a++] = e & 255), o === 1 && (e = je[n.charCodeAt(u)] << 10 | je[n.charCodeAt(u + 1)] << 4 | je[n.charCodeAt(u + 2)] >> 2, i[a++] = e >> 8 & 255, i[a++] = e & 255), i;
13879
+ var e, t = go(n), r = t[0], o = t[1], i = new Ta(Aa(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, d;
13880
+ for (d = 0; d < s; d += 4)
13881
+ e = je[n.charCodeAt(d)] << 18 | je[n.charCodeAt(d + 1)] << 12 | je[n.charCodeAt(d + 2)] << 6 | je[n.charCodeAt(d + 3)], i[a++] = e >> 16 & 255, i[a++] = e >> 8 & 255, i[a++] = e & 255;
13882
+ return o === 2 && (e = je[n.charCodeAt(d)] << 2 | je[n.charCodeAt(d + 1)] >> 4, i[a++] = e & 255), o === 1 && (e = je[n.charCodeAt(d)] << 10 | je[n.charCodeAt(d + 1)] << 4 | je[n.charCodeAt(d + 2)] >> 2, i[a++] = e >> 8 & 255, i[a++] = e & 255), i;
13883
13883
  }
13884
13884
  function Pa(n) {
13885
13885
  return et[n >> 18 & 63] + et[n >> 12 & 63] + et[n >> 6 & 63] + et[n & 63];
@@ -13901,23 +13901,23 @@ function Na(n) {
13901
13901
  var ir = {};
13902
13902
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
13903
13903
  ir.read = function(n, e, t, r, o) {
13904
- var i, a, s = o * 8 - r - 1, u = (1 << s) - 1, p = u >> 1, d = -7, f = t ? o - 1 : 0, _ = t ? -1 : 1, k = n[e + f];
13905
- for (f += _, i = k & (1 << -d) - 1, k >>= -d, d += s; d > 0; i = i * 256 + n[e + f], f += _, d -= 8)
13904
+ var i, a, s = o * 8 - r - 1, d = (1 << s) - 1, p = d >> 1, u = -7, f = t ? o - 1 : 0, _ = t ? -1 : 1, k = n[e + f];
13905
+ for (f += _, i = k & (1 << -u) - 1, k >>= -u, u += s; u > 0; i = i * 256 + n[e + f], f += _, u -= 8)
13906
13906
  ;
13907
- for (a = i & (1 << -d) - 1, i >>= -d, d += r; d > 0; a = a * 256 + n[e + f], f += _, d -= 8)
13907
+ for (a = i & (1 << -u) - 1, i >>= -u, u += r; u > 0; a = a * 256 + n[e + f], f += _, u -= 8)
13908
13908
  ;
13909
13909
  if (i === 0)
13910
13910
  i = 1 - p;
13911
13911
  else {
13912
- if (i === u)
13912
+ if (i === d)
13913
13913
  return a ? NaN : (k ? -1 : 1) * (1 / 0);
13914
13914
  a = a + Math.pow(2, r), i = i - p;
13915
13915
  }
13916
13916
  return (k ? -1 : 1) * a * Math.pow(2, i - r);
13917
13917
  };
13918
13918
  ir.write = function(n, e, t, r, o, i) {
13919
- var a, s, u, p = i * 8 - o - 1, d = (1 << p) - 1, f = d >> 1, _ = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, k = r ? 0 : i - 1, E = r ? 1 : -1, N = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
13920
- for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, a = d) : (a = Math.floor(Math.log(e) / Math.LN2), e * (u = Math.pow(2, -a)) < 1 && (a--, u *= 2), a + f >= 1 ? e += _ / u : e += _ * Math.pow(2, 1 - f), e * u >= 2 && (a++, u /= 2), a + f >= d ? (s = 0, a = d) : a + f >= 1 ? (s = (e * u - 1) * Math.pow(2, o), a = a + f) : (s = e * Math.pow(2, f - 1) * Math.pow(2, o), a = 0)); o >= 8; n[t + k] = s & 255, k += E, s /= 256, o -= 8)
13919
+ var a, s, d, p = i * 8 - o - 1, u = (1 << p) - 1, f = u >> 1, _ = o === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, k = r ? 0 : i - 1, E = r ? 1 : -1, N = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
13920
+ for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, a = u) : (a = Math.floor(Math.log(e) / Math.LN2), e * (d = Math.pow(2, -a)) < 1 && (a--, d *= 2), a + f >= 1 ? e += _ / d : e += _ * Math.pow(2, 1 - f), e * d >= 2 && (a++, d /= 2), a + f >= u ? (s = 0, a = u) : a + f >= 1 ? (s = (e * d - 1) * Math.pow(2, o), a = a + f) : (s = e * Math.pow(2, f - 1) * Math.pow(2, o), a = 0)); o >= 8; n[t + k] = s & 255, k += E, s /= 256, o -= 8)
13921
13921
  ;
13922
13922
  for (a = a << o | s, p += o; p > 0; n[t + k] = a & 255, k += E, a /= 256, p -= 8)
13923
13923
  ;
@@ -13931,14 +13931,14 @@ ir.write = function(n, e, t, r, o, i) {
13931
13931
  */
13932
13932
  (function(n) {
13933
13933
  const e = Pn, t = ir, r = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
13934
- n.Buffer = d, n.SlowBuffer = xe, n.INSPECT_MAX_BYTES = 50;
13934
+ n.Buffer = u, n.SlowBuffer = xe, n.INSPECT_MAX_BYTES = 50;
13935
13935
  const o = 2147483647;
13936
13936
  n.kMaxLength = o;
13937
13937
  const { Uint8Array: i, ArrayBuffer: a, SharedArrayBuffer: s } = globalThis;
13938
- d.TYPED_ARRAY_SUPPORT = u(), !d.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
13938
+ u.TYPED_ARRAY_SUPPORT = d(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
13939
13939
  "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
13940
13940
  );
13941
- function u() {
13941
+ function d() {
13942
13942
  try {
13943
13943
  const h = new i(1), c = { foo: function() {
13944
13944
  return 42;
@@ -13948,16 +13948,16 @@ ir.write = function(n, e, t, r, o, i) {
13948
13948
  return !1;
13949
13949
  }
13950
13950
  }
13951
- Object.defineProperty(d.prototype, "parent", {
13951
+ Object.defineProperty(u.prototype, "parent", {
13952
13952
  enumerable: !0,
13953
13953
  get: function() {
13954
- if (d.isBuffer(this))
13954
+ if (u.isBuffer(this))
13955
13955
  return this.buffer;
13956
13956
  }
13957
- }), Object.defineProperty(d.prototype, "offset", {
13957
+ }), Object.defineProperty(u.prototype, "offset", {
13958
13958
  enumerable: !0,
13959
13959
  get: function() {
13960
- if (d.isBuffer(this))
13960
+ if (u.isBuffer(this))
13961
13961
  return this.byteOffset;
13962
13962
  }
13963
13963
  });
@@ -13965,9 +13965,9 @@ ir.write = function(n, e, t, r, o, i) {
13965
13965
  if (h > o)
13966
13966
  throw new RangeError('The value "' + h + '" is invalid for option "size"');
13967
13967
  const c = new i(h);
13968
- return Object.setPrototypeOf(c, d.prototype), c;
13968
+ return Object.setPrototypeOf(c, u.prototype), c;
13969
13969
  }
13970
- function d(h, c, l) {
13970
+ function u(h, c, l) {
13971
13971
  if (typeof h == "number") {
13972
13972
  if (typeof c == "string")
13973
13973
  throw new TypeError(
@@ -13977,7 +13977,7 @@ ir.write = function(n, e, t, r, o, i) {
13977
13977
  }
13978
13978
  return f(h, c, l);
13979
13979
  }
13980
- d.poolSize = 8192;
13980
+ u.poolSize = 8192;
13981
13981
  function f(h, c, l) {
13982
13982
  if (typeof h == "string")
13983
13983
  return N(h, c);
@@ -13995,19 +13995,19 @@ ir.write = function(n, e, t, r, o, i) {
13995
13995
  );
13996
13996
  const m = h.valueOf && h.valueOf();
13997
13997
  if (m != null && m !== h)
13998
- return d.from(m, c, l);
13998
+ return u.from(m, c, l);
13999
13999
  const v = $(h);
14000
14000
  if (v)
14001
14001
  return v;
14002
14002
  if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof h[Symbol.toPrimitive] == "function")
14003
- return d.from(h[Symbol.toPrimitive]("string"), c, l);
14003
+ return u.from(h[Symbol.toPrimitive]("string"), c, l);
14004
14004
  throw new TypeError(
14005
14005
  "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof h
14006
14006
  );
14007
14007
  }
14008
- d.from = function(h, c, l) {
14008
+ u.from = function(h, c, l) {
14009
14009
  return f(h, c, l);
14010
- }, Object.setPrototypeOf(d.prototype, i.prototype), Object.setPrototypeOf(d, i);
14010
+ }, Object.setPrototypeOf(u.prototype, i.prototype), Object.setPrototypeOf(u, i);
14011
14011
  function _(h) {
14012
14012
  if (typeof h != "number")
14013
14013
  throw new TypeError('"size" argument must be of type number');
@@ -14017,19 +14017,19 @@ ir.write = function(n, e, t, r, o, i) {
14017
14017
  function k(h, c, l) {
14018
14018
  return _(h), h <= 0 ? p(h) : c !== void 0 ? typeof l == "string" ? p(h).fill(c, l) : p(h).fill(c) : p(h);
14019
14019
  }
14020
- d.alloc = function(h, c, l) {
14020
+ u.alloc = function(h, c, l) {
14021
14021
  return k(h, c, l);
14022
14022
  };
14023
14023
  function E(h) {
14024
14024
  return _(h), p(h < 0 ? 0 : Ae(h) | 0);
14025
14025
  }
14026
- d.allocUnsafe = function(h) {
14026
+ u.allocUnsafe = function(h) {
14027
14027
  return E(h);
14028
- }, d.allocUnsafeSlow = function(h) {
14028
+ }, u.allocUnsafeSlow = function(h) {
14029
14029
  return E(h);
14030
14030
  };
14031
14031
  function N(h, c) {
14032
- if ((typeof c != "string" || c === "") && (c = "utf8"), !d.isEncoding(c))
14032
+ if ((typeof c != "string" || c === "") && (c = "utf8"), !u.isEncoding(c))
14033
14033
  throw new TypeError("Unknown encoding: " + c);
14034
14034
  const l = Ve(h, c) | 0;
14035
14035
  let m = p(l);
@@ -14055,10 +14055,10 @@ ir.write = function(n, e, t, r, o, i) {
14055
14055
  if (h.byteLength < c + (l || 0))
14056
14056
  throw new RangeError('"length" is outside of buffer bounds');
14057
14057
  let m;
14058
- return c === void 0 && l === void 0 ? m = new i(h) : l === void 0 ? m = new i(h, c) : m = new i(h, c, l), Object.setPrototypeOf(m, d.prototype), m;
14058
+ return c === void 0 && l === void 0 ? m = new i(h) : l === void 0 ? m = new i(h, c) : m = new i(h, c, l), Object.setPrototypeOf(m, u.prototype), m;
14059
14059
  }
14060
14060
  function $(h) {
14061
- if (d.isBuffer(h)) {
14061
+ if (u.isBuffer(h)) {
14062
14062
  const c = Ae(h.length) | 0, l = p(c);
14063
14063
  return l.length === 0 || h.copy(l, 0, 0, c), l;
14064
14064
  }
@@ -14073,12 +14073,12 @@ ir.write = function(n, e, t, r, o, i) {
14073
14073
  return h | 0;
14074
14074
  }
14075
14075
  function xe(h) {
14076
- return +h != h && (h = 0), d.alloc(+h);
14076
+ return +h != h && (h = 0), u.alloc(+h);
14077
14077
  }
14078
- d.isBuffer = function(c) {
14079
- return c != null && c._isBuffer === !0 && c !== d.prototype;
14080
- }, d.compare = function(c, l) {
14081
- if ($e(c, i) && (c = d.from(c, c.offset, c.byteLength)), $e(l, i) && (l = d.from(l, l.offset, l.byteLength)), !d.isBuffer(c) || !d.isBuffer(l))
14078
+ u.isBuffer = function(c) {
14079
+ return c != null && c._isBuffer === !0 && c !== u.prototype;
14080
+ }, u.compare = function(c, l) {
14081
+ if ($e(c, i) && (c = u.from(c, c.offset, c.byteLength)), $e(l, i) && (l = u.from(l, l.offset, l.byteLength)), !u.isBuffer(c) || !u.isBuffer(l))
14082
14082
  throw new TypeError(
14083
14083
  'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
14084
14084
  );
@@ -14091,7 +14091,7 @@ ir.write = function(n, e, t, r, o, i) {
14091
14091
  break;
14092
14092
  }
14093
14093
  return m < v ? -1 : v < m ? 1 : 0;
14094
- }, d.isEncoding = function(c) {
14094
+ }, u.isEncoding = function(c) {
14095
14095
  switch (String(c).toLowerCase()) {
14096
14096
  case "hex":
14097
14097
  case "utf8":
@@ -14108,26 +14108,26 @@ ir.write = function(n, e, t, r, o, i) {
14108
14108
  default:
14109
14109
  return !1;
14110
14110
  }
14111
- }, d.concat = function(c, l) {
14111
+ }, u.concat = function(c, l) {
14112
14112
  if (!Array.isArray(c))
14113
14113
  throw new TypeError('"list" argument must be an Array of Buffers');
14114
14114
  if (c.length === 0)
14115
- return d.alloc(0);
14115
+ return u.alloc(0);
14116
14116
  let m;
14117
14117
  if (l === void 0)
14118
14118
  for (l = 0, m = 0; m < c.length; ++m)
14119
14119
  l += c[m].length;
14120
- const v = d.allocUnsafe(l);
14120
+ const v = u.allocUnsafe(l);
14121
14121
  let w = 0;
14122
14122
  for (m = 0; m < c.length; ++m) {
14123
14123
  let C = c[m];
14124
14124
  if ($e(C, i))
14125
- w + C.length > v.length ? (d.isBuffer(C) || (C = d.from(C)), C.copy(v, w)) : i.prototype.set.call(
14125
+ w + C.length > v.length ? (u.isBuffer(C) || (C = u.from(C)), C.copy(v, w)) : i.prototype.set.call(
14126
14126
  v,
14127
14127
  C,
14128
14128
  w
14129
14129
  );
14130
- else if (d.isBuffer(C))
14130
+ else if (u.isBuffer(C))
14131
14131
  C.copy(v, w);
14132
14132
  else
14133
14133
  throw new TypeError('"list" argument must be an Array of Buffers');
@@ -14136,7 +14136,7 @@ ir.write = function(n, e, t, r, o, i) {
14136
14136
  return v;
14137
14137
  };
14138
14138
  function Ve(h, c) {
14139
- if (d.isBuffer(h))
14139
+ if (u.isBuffer(h))
14140
14140
  return h.length;
14141
14141
  if (a.isView(h) || $e(h, a))
14142
14142
  return h.byteLength;
@@ -14172,7 +14172,7 @@ ir.write = function(n, e, t, r, o, i) {
14172
14172
  c = ("" + c).toLowerCase(), v = !0;
14173
14173
  }
14174
14174
  }
14175
- d.byteLength = Ve;
14175
+ u.byteLength = Ve;
14176
14176
  function Ct(h, c, l) {
14177
14177
  let m = !1;
14178
14178
  if ((c === void 0 || c < 0) && (c = 0), c > this.length || ((l === void 0 || l > this.length) && (l = this.length), l <= 0) || (l >>>= 0, c >>>= 0, l <= c))
@@ -14202,45 +14202,45 @@ ir.write = function(n, e, t, r, o, i) {
14202
14202
  h = (h + "").toLowerCase(), m = !0;
14203
14203
  }
14204
14204
  }
14205
- d.prototype._isBuffer = !0;
14205
+ u.prototype._isBuffer = !0;
14206
14206
  function ce(h, c, l) {
14207
14207
  const m = h[c];
14208
14208
  h[c] = h[l], h[l] = m;
14209
14209
  }
14210
- d.prototype.swap16 = function() {
14210
+ u.prototype.swap16 = function() {
14211
14211
  const c = this.length;
14212
14212
  if (c % 2 !== 0)
14213
14213
  throw new RangeError("Buffer size must be a multiple of 16-bits");
14214
14214
  for (let l = 0; l < c; l += 2)
14215
14215
  ce(this, l, l + 1);
14216
14216
  return this;
14217
- }, d.prototype.swap32 = function() {
14217
+ }, u.prototype.swap32 = function() {
14218
14218
  const c = this.length;
14219
14219
  if (c % 4 !== 0)
14220
14220
  throw new RangeError("Buffer size must be a multiple of 32-bits");
14221
14221
  for (let l = 0; l < c; l += 4)
14222
14222
  ce(this, l, l + 3), ce(this, l + 1, l + 2);
14223
14223
  return this;
14224
- }, d.prototype.swap64 = function() {
14224
+ }, u.prototype.swap64 = function() {
14225
14225
  const c = this.length;
14226
14226
  if (c % 8 !== 0)
14227
14227
  throw new RangeError("Buffer size must be a multiple of 64-bits");
14228
14228
  for (let l = 0; l < c; l += 8)
14229
14229
  ce(this, l, l + 7), ce(this, l + 1, l + 6), ce(this, l + 2, l + 5), ce(this, l + 3, l + 4);
14230
14230
  return this;
14231
- }, d.prototype.toString = function() {
14231
+ }, u.prototype.toString = function() {
14232
14232
  const c = this.length;
14233
14233
  return c === 0 ? "" : arguments.length === 0 ? cr(this, 0, c) : Ct.apply(this, arguments);
14234
- }, d.prototype.toLocaleString = d.prototype.toString, d.prototype.equals = function(c) {
14235
- if (!d.isBuffer(c))
14234
+ }, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(c) {
14235
+ if (!u.isBuffer(c))
14236
14236
  throw new TypeError("Argument must be a Buffer");
14237
- return this === c ? !0 : d.compare(this, c) === 0;
14238
- }, d.prototype.inspect = function() {
14237
+ return this === c ? !0 : u.compare(this, c) === 0;
14238
+ }, u.prototype.inspect = function() {
14239
14239
  let c = "";
14240
14240
  const l = n.INSPECT_MAX_BYTES;
14241
14241
  return c = this.toString("hex", 0, l).replace(/(.{2})/g, "$1 ").trim(), this.length > l && (c += " ... "), "<Buffer " + c + ">";
14242
- }, r && (d.prototype[r] = d.prototype.inspect), d.prototype.compare = function(c, l, m, v, w) {
14243
- if ($e(c, i) && (c = d.from(c, c.offset, c.byteLength)), !d.isBuffer(c))
14242
+ }, r && (u.prototype[r] = u.prototype.inspect), u.prototype.compare = function(c, l, m, v, w) {
14243
+ if ($e(c, i) && (c = u.from(c, c.offset, c.byteLength)), !u.isBuffer(c))
14244
14244
  throw new TypeError(
14245
14245
  'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof c
14246
14246
  );
@@ -14255,10 +14255,10 @@ ir.write = function(n, e, t, r, o, i) {
14255
14255
  if (l >>>= 0, m >>>= 0, v >>>= 0, w >>>= 0, this === c)
14256
14256
  return 0;
14257
14257
  let C = w - v, Y = m - l;
14258
- const le = Math.min(C, Y), ae = this.slice(v, w), ue = c.slice(l, m);
14258
+ const le = Math.min(C, Y), ae = this.slice(v, w), de = c.slice(l, m);
14259
14259
  for (let re = 0; re < le; ++re)
14260
- if (ae[re] !== ue[re]) {
14261
- C = ae[re], Y = ue[re];
14260
+ if (ae[re] !== de[re]) {
14261
+ C = ae[re], Y = de[re];
14262
14262
  break;
14263
14263
  }
14264
14264
  return C < Y ? -1 : Y < C ? 1 : 0;
@@ -14275,7 +14275,7 @@ ir.write = function(n, e, t, r, o, i) {
14275
14275
  l = 0;
14276
14276
  else
14277
14277
  return -1;
14278
- if (typeof c == "string" && (c = d.from(c, m)), d.isBuffer(c))
14278
+ if (typeof c == "string" && (c = u.from(c, m)), u.isBuffer(c))
14279
14279
  return c.length === 0 ? -1 : sr(h, c, l, m, v);
14280
14280
  if (typeof c == "number")
14281
14281
  return c = c & 255, typeof i.prototype.indexOf == "function" ? v ? i.prototype.indexOf.call(h, c, l) : i.prototype.lastIndexOf.call(h, c, l) : sr(h, [c], l, m, v);
@@ -14288,36 +14288,36 @@ ir.write = function(n, e, t, r, o, i) {
14288
14288
  return -1;
14289
14289
  w = 2, C /= 2, Y /= 2, l /= 2;
14290
14290
  }
14291
- function le(ue, re) {
14292
- return w === 1 ? ue[re] : ue.readUInt16BE(re * w);
14291
+ function le(de, re) {
14292
+ return w === 1 ? de[re] : de.readUInt16BE(re * w);
14293
14293
  }
14294
14294
  let ae;
14295
14295
  if (v) {
14296
- let ue = -1;
14296
+ let de = -1;
14297
14297
  for (ae = l; ae < C; ae++)
14298
- if (le(h, ae) === le(c, ue === -1 ? 0 : ae - ue)) {
14299
- if (ue === -1 && (ue = ae), ae - ue + 1 === Y)
14300
- return ue * w;
14298
+ if (le(h, ae) === le(c, de === -1 ? 0 : ae - de)) {
14299
+ if (de === -1 && (de = ae), ae - de + 1 === Y)
14300
+ return de * w;
14301
14301
  } else
14302
- ue !== -1 && (ae -= ae - ue), ue = -1;
14302
+ de !== -1 && (ae -= ae - de), de = -1;
14303
14303
  } else
14304
14304
  for (l + Y > C && (l = C - Y), ae = l; ae >= 0; ae--) {
14305
- let ue = !0;
14305
+ let de = !0;
14306
14306
  for (let re = 0; re < Y; re++)
14307
14307
  if (le(h, ae + re) !== le(c, re)) {
14308
- ue = !1;
14308
+ de = !1;
14309
14309
  break;
14310
14310
  }
14311
- if (ue)
14311
+ if (de)
14312
14312
  return ae;
14313
14313
  }
14314
14314
  return -1;
14315
14315
  }
14316
- d.prototype.includes = function(c, l, m) {
14316
+ u.prototype.includes = function(c, l, m) {
14317
14317
  return this.indexOf(c, l, m) !== -1;
14318
- }, d.prototype.indexOf = function(c, l, m) {
14318
+ }, u.prototype.indexOf = function(c, l, m) {
14319
14319
  return ar(this, c, l, m, !0);
14320
- }, d.prototype.lastIndexOf = function(c, l, m) {
14320
+ }, u.prototype.lastIndexOf = function(c, l, m) {
14321
14321
  return ar(this, c, l, m, !1);
14322
14322
  };
14323
14323
  function Io(h, c, l, m) {
@@ -14347,7 +14347,7 @@ ir.write = function(n, e, t, r, o, i) {
14347
14347
  function Po(h, c, l, m) {
14348
14348
  return sn(qo(c, h.length - l), h, l, m);
14349
14349
  }
14350
- d.prototype.write = function(c, l, m, v) {
14350
+ u.prototype.write = function(c, l, m, v) {
14351
14351
  if (l === void 0)
14352
14352
  v = "utf8", m = this.length, l = 0;
14353
14353
  else if (m === void 0 && typeof l == "string")
@@ -14386,7 +14386,7 @@ ir.write = function(n, e, t, r, o, i) {
14386
14386
  throw new TypeError("Unknown encoding: " + v);
14387
14387
  v = ("" + v).toLowerCase(), C = !0;
14388
14388
  }
14389
- }, d.prototype.toJSON = function() {
14389
+ }, u.prototype.toJSON = function() {
14390
14390
  return {
14391
14391
  type: "Buffer",
14392
14392
  data: Array.prototype.slice.call(this._arr || this, 0)
@@ -14403,7 +14403,7 @@ ir.write = function(n, e, t, r, o, i) {
14403
14403
  const w = h[v];
14404
14404
  let C = null, Y = w > 239 ? 4 : w > 223 ? 3 : w > 191 ? 2 : 1;
14405
14405
  if (v + Y <= l) {
14406
- let le, ae, ue, re;
14406
+ let le, ae, de, re;
14407
14407
  switch (Y) {
14408
14408
  case 1:
14409
14409
  w < 128 && (C = w);
@@ -14415,7 +14415,7 @@ ir.write = function(n, e, t, r, o, i) {
14415
14415
  le = h[v + 1], ae = h[v + 2], (le & 192) === 128 && (ae & 192) === 128 && (re = (w & 15) << 12 | (le & 63) << 6 | ae & 63, re > 2047 && (re < 55296 || re > 57343) && (C = re));
14416
14416
  break;
14417
14417
  case 4:
14418
- le = h[v + 1], ae = h[v + 2], ue = h[v + 3], (le & 192) === 128 && (ae & 192) === 128 && (ue & 192) === 128 && (re = (w & 15) << 18 | (le & 63) << 12 | (ae & 63) << 6 | ue & 63, re > 65535 && re < 1114112 && (C = re));
14418
+ le = h[v + 1], ae = h[v + 2], de = h[v + 3], (le & 192) === 128 && (ae & 192) === 128 && (de & 192) === 128 && (re = (w & 15) << 18 | (le & 63) << 12 | (ae & 63) << 6 | de & 63, re > 65535 && re < 1114112 && (C = re));
14419
14419
  }
14420
14420
  }
14421
14421
  C === null ? (C = 65533, Y = 1) : C > 65535 && (C -= 65536, m.push(C >>> 10 & 1023 | 55296), C = 56320 | C & 1023), m.push(C), v += Y;
@@ -14464,11 +14464,11 @@ ir.write = function(n, e, t, r, o, i) {
14464
14464
  v += String.fromCharCode(m[w] + m[w + 1] * 256);
14465
14465
  return v;
14466
14466
  }
14467
- d.prototype.slice = function(c, l) {
14467
+ u.prototype.slice = function(c, l) {
14468
14468
  const m = this.length;
14469
14469
  c = ~~c, l = l === void 0 ? m : ~~l, c < 0 ? (c += m, c < 0 && (c = 0)) : c > m && (c = m), l < 0 ? (l += m, l < 0 && (l = 0)) : l > m && (l = m), l < c && (l = c);
14470
14470
  const v = this.subarray(c, l);
14471
- return Object.setPrototypeOf(v, d.prototype), v;
14471
+ return Object.setPrototypeOf(v, u.prototype), v;
14472
14472
  };
14473
14473
  function ge(h, c, l) {
14474
14474
  if (h % 1 !== 0 || h < 0)
@@ -14476,97 +14476,97 @@ ir.write = function(n, e, t, r, o, i) {
14476
14476
  if (h + c > l)
14477
14477
  throw new RangeError("Trying to access beyond buffer length");
14478
14478
  }
14479
- d.prototype.readUintLE = d.prototype.readUIntLE = function(c, l, m) {
14479
+ u.prototype.readUintLE = u.prototype.readUIntLE = function(c, l, m) {
14480
14480
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14481
14481
  let v = this[c], w = 1, C = 0;
14482
14482
  for (; ++C < l && (w *= 256); )
14483
14483
  v += this[c + C] * w;
14484
14484
  return v;
14485
- }, d.prototype.readUintBE = d.prototype.readUIntBE = function(c, l, m) {
14485
+ }, u.prototype.readUintBE = u.prototype.readUIntBE = function(c, l, m) {
14486
14486
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14487
14487
  let v = this[c + --l], w = 1;
14488
14488
  for (; l > 0 && (w *= 256); )
14489
14489
  v += this[c + --l] * w;
14490
14490
  return v;
14491
- }, d.prototype.readUint8 = d.prototype.readUInt8 = function(c, l) {
14491
+ }, u.prototype.readUint8 = u.prototype.readUInt8 = function(c, l) {
14492
14492
  return c = c >>> 0, l || ge(c, 1, this.length), this[c];
14493
- }, d.prototype.readUint16LE = d.prototype.readUInt16LE = function(c, l) {
14493
+ }, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(c, l) {
14494
14494
  return c = c >>> 0, l || ge(c, 2, this.length), this[c] | this[c + 1] << 8;
14495
- }, d.prototype.readUint16BE = d.prototype.readUInt16BE = function(c, l) {
14495
+ }, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(c, l) {
14496
14496
  return c = c >>> 0, l || ge(c, 2, this.length), this[c] << 8 | this[c + 1];
14497
- }, d.prototype.readUint32LE = d.prototype.readUInt32LE = function(c, l) {
14497
+ }, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(c, l) {
14498
14498
  return c = c >>> 0, l || ge(c, 4, this.length), (this[c] | this[c + 1] << 8 | this[c + 2] << 16) + this[c + 3] * 16777216;
14499
- }, d.prototype.readUint32BE = d.prototype.readUInt32BE = function(c, l) {
14499
+ }, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(c, l) {
14500
14500
  return c = c >>> 0, l || ge(c, 4, this.length), this[c] * 16777216 + (this[c + 1] << 16 | this[c + 2] << 8 | this[c + 3]);
14501
- }, d.prototype.readBigUInt64LE = ut(function(c) {
14501
+ }, u.prototype.readBigUInt64LE = dt(function(c) {
14502
14502
  c = c >>> 0, Tt(c, "offset");
14503
14503
  const l = this[c], m = this[c + 7];
14504
14504
  (l === void 0 || m === void 0) && Kt(c, this.length - 8);
14505
14505
  const v = l + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24, w = this[++c] + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + m * 2 ** 24;
14506
14506
  return BigInt(v) + (BigInt(w) << BigInt(32));
14507
- }), d.prototype.readBigUInt64BE = ut(function(c) {
14507
+ }), u.prototype.readBigUInt64BE = dt(function(c) {
14508
14508
  c = c >>> 0, Tt(c, "offset");
14509
14509
  const l = this[c], m = this[c + 7];
14510
14510
  (l === void 0 || m === void 0) && Kt(c, this.length - 8);
14511
14511
  const v = l * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c], w = this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + m;
14512
14512
  return (BigInt(v) << BigInt(32)) + BigInt(w);
14513
- }), d.prototype.readIntLE = function(c, l, m) {
14513
+ }), u.prototype.readIntLE = function(c, l, m) {
14514
14514
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14515
14515
  let v = this[c], w = 1, C = 0;
14516
14516
  for (; ++C < l && (w *= 256); )
14517
14517
  v += this[c + C] * w;
14518
14518
  return w *= 128, v >= w && (v -= Math.pow(2, 8 * l)), v;
14519
- }, d.prototype.readIntBE = function(c, l, m) {
14519
+ }, u.prototype.readIntBE = function(c, l, m) {
14520
14520
  c = c >>> 0, l = l >>> 0, m || ge(c, l, this.length);
14521
14521
  let v = l, w = 1, C = this[c + --v];
14522
14522
  for (; v > 0 && (w *= 256); )
14523
14523
  C += this[c + --v] * w;
14524
14524
  return w *= 128, C >= w && (C -= Math.pow(2, 8 * l)), C;
14525
- }, d.prototype.readInt8 = function(c, l) {
14525
+ }, u.prototype.readInt8 = function(c, l) {
14526
14526
  return c = c >>> 0, l || ge(c, 1, this.length), this[c] & 128 ? (255 - this[c] + 1) * -1 : this[c];
14527
- }, d.prototype.readInt16LE = function(c, l) {
14527
+ }, u.prototype.readInt16LE = function(c, l) {
14528
14528
  c = c >>> 0, l || ge(c, 2, this.length);
14529
14529
  const m = this[c] | this[c + 1] << 8;
14530
14530
  return m & 32768 ? m | 4294901760 : m;
14531
- }, d.prototype.readInt16BE = function(c, l) {
14531
+ }, u.prototype.readInt16BE = function(c, l) {
14532
14532
  c = c >>> 0, l || ge(c, 2, this.length);
14533
14533
  const m = this[c + 1] | this[c] << 8;
14534
14534
  return m & 32768 ? m | 4294901760 : m;
14535
- }, d.prototype.readInt32LE = function(c, l) {
14535
+ }, u.prototype.readInt32LE = function(c, l) {
14536
14536
  return c = c >>> 0, l || ge(c, 4, this.length), this[c] | this[c + 1] << 8 | this[c + 2] << 16 | this[c + 3] << 24;
14537
- }, d.prototype.readInt32BE = function(c, l) {
14537
+ }, u.prototype.readInt32BE = function(c, l) {
14538
14538
  return c = c >>> 0, l || ge(c, 4, this.length), this[c] << 24 | this[c + 1] << 16 | this[c + 2] << 8 | this[c + 3];
14539
- }, d.prototype.readBigInt64LE = ut(function(c) {
14539
+ }, u.prototype.readBigInt64LE = dt(function(c) {
14540
14540
  c = c >>> 0, Tt(c, "offset");
14541
14541
  const l = this[c], m = this[c + 7];
14542
14542
  (l === void 0 || m === void 0) && Kt(c, this.length - 8);
14543
14543
  const v = this[c + 4] + this[c + 5] * 2 ** 8 + this[c + 6] * 2 ** 16 + (m << 24);
14544
14544
  return (BigInt(v) << BigInt(32)) + BigInt(l + this[++c] * 2 ** 8 + this[++c] * 2 ** 16 + this[++c] * 2 ** 24);
14545
- }), d.prototype.readBigInt64BE = ut(function(c) {
14545
+ }), u.prototype.readBigInt64BE = dt(function(c) {
14546
14546
  c = c >>> 0, Tt(c, "offset");
14547
14547
  const l = this[c], m = this[c + 7];
14548
14548
  (l === void 0 || m === void 0) && Kt(c, this.length - 8);
14549
14549
  const v = (l << 24) + // Overflow
14550
14550
  this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + this[++c];
14551
14551
  return (BigInt(v) << BigInt(32)) + BigInt(this[++c] * 2 ** 24 + this[++c] * 2 ** 16 + this[++c] * 2 ** 8 + m);
14552
- }), d.prototype.readFloatLE = function(c, l) {
14552
+ }), u.prototype.readFloatLE = function(c, l) {
14553
14553
  return c = c >>> 0, l || ge(c, 4, this.length), t.read(this, c, !0, 23, 4);
14554
- }, d.prototype.readFloatBE = function(c, l) {
14554
+ }, u.prototype.readFloatBE = function(c, l) {
14555
14555
  return c = c >>> 0, l || ge(c, 4, this.length), t.read(this, c, !1, 23, 4);
14556
- }, d.prototype.readDoubleLE = function(c, l) {
14556
+ }, u.prototype.readDoubleLE = function(c, l) {
14557
14557
  return c = c >>> 0, l || ge(c, 8, this.length), t.read(this, c, !0, 52, 8);
14558
- }, d.prototype.readDoubleBE = function(c, l) {
14558
+ }, u.prototype.readDoubleBE = function(c, l) {
14559
14559
  return c = c >>> 0, l || ge(c, 8, this.length), t.read(this, c, !1, 52, 8);
14560
14560
  };
14561
14561
  function Re(h, c, l, m, v, w) {
14562
- if (!d.isBuffer(h))
14562
+ if (!u.isBuffer(h))
14563
14563
  throw new TypeError('"buffer" argument must be a Buffer instance');
14564
14564
  if (c > v || c < w)
14565
14565
  throw new RangeError('"value" argument is out of bounds');
14566
14566
  if (l + m > h.length)
14567
14567
  throw new RangeError("Index out of range");
14568
14568
  }
14569
- d.prototype.writeUintLE = d.prototype.writeUIntLE = function(c, l, m, v) {
14569
+ u.prototype.writeUintLE = u.prototype.writeUIntLE = function(c, l, m, v) {
14570
14570
  if (c = +c, l = l >>> 0, m = m >>> 0, !v) {
14571
14571
  const Y = Math.pow(2, 8 * m) - 1;
14572
14572
  Re(this, c, l, m, Y, 0);
@@ -14575,7 +14575,7 @@ ir.write = function(n, e, t, r, o, i) {
14575
14575
  for (this[l] = c & 255; ++C < m && (w *= 256); )
14576
14576
  this[l + C] = c / w & 255;
14577
14577
  return l + m;
14578
- }, d.prototype.writeUintBE = d.prototype.writeUIntBE = function(c, l, m, v) {
14578
+ }, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(c, l, m, v) {
14579
14579
  if (c = +c, l = l >>> 0, m = m >>> 0, !v) {
14580
14580
  const Y = Math.pow(2, 8 * m) - 1;
14581
14581
  Re(this, c, l, m, Y, 0);
@@ -14584,36 +14584,36 @@ ir.write = function(n, e, t, r, o, i) {
14584
14584
  for (this[l + w] = c & 255; --w >= 0 && (C *= 256); )
14585
14585
  this[l + w] = c / C & 255;
14586
14586
  return l + m;
14587
- }, d.prototype.writeUint8 = d.prototype.writeUInt8 = function(c, l, m) {
14587
+ }, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(c, l, m) {
14588
14588
  return c = +c, l = l >>> 0, m || Re(this, c, l, 1, 255, 0), this[l] = c & 255, l + 1;
14589
- }, d.prototype.writeUint16LE = d.prototype.writeUInt16LE = function(c, l, m) {
14589
+ }, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(c, l, m) {
14590
14590
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 65535, 0), this[l] = c & 255, this[l + 1] = c >>> 8, l + 2;
14591
- }, d.prototype.writeUint16BE = d.prototype.writeUInt16BE = function(c, l, m) {
14591
+ }, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(c, l, m) {
14592
14592
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 65535, 0), this[l] = c >>> 8, this[l + 1] = c & 255, l + 2;
14593
- }, d.prototype.writeUint32LE = d.prototype.writeUInt32LE = function(c, l, m) {
14593
+ }, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(c, l, m) {
14594
14594
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 4294967295, 0), this[l + 3] = c >>> 24, this[l + 2] = c >>> 16, this[l + 1] = c >>> 8, this[l] = c & 255, l + 4;
14595
- }, d.prototype.writeUint32BE = d.prototype.writeUInt32BE = function(c, l, m) {
14595
+ }, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(c, l, m) {
14596
14596
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 4294967295, 0), this[l] = c >>> 24, this[l + 1] = c >>> 16, this[l + 2] = c >>> 8, this[l + 3] = c & 255, l + 4;
14597
14597
  };
14598
- function ur(h, c, l, m, v) {
14598
+ function dr(h, c, l, m, v) {
14599
14599
  gr(c, m, v, h, l, 7);
14600
14600
  let w = Number(c & BigInt(4294967295));
14601
14601
  h[l++] = w, w = w >> 8, h[l++] = w, w = w >> 8, h[l++] = w, w = w >> 8, h[l++] = w;
14602
14602
  let C = Number(c >> BigInt(32) & BigInt(4294967295));
14603
14603
  return h[l++] = C, C = C >> 8, h[l++] = C, C = C >> 8, h[l++] = C, C = C >> 8, h[l++] = C, l;
14604
14604
  }
14605
- function dr(h, c, l, m, v) {
14605
+ function ur(h, c, l, m, v) {
14606
14606
  gr(c, m, v, h, l, 7);
14607
14607
  let w = Number(c & BigInt(4294967295));
14608
14608
  h[l + 7] = w, w = w >> 8, h[l + 6] = w, w = w >> 8, h[l + 5] = w, w = w >> 8, h[l + 4] = w;
14609
14609
  let C = Number(c >> BigInt(32) & BigInt(4294967295));
14610
14610
  return h[l + 3] = C, C = C >> 8, h[l + 2] = C, C = C >> 8, h[l + 1] = C, C = C >> 8, h[l] = C, l + 8;
14611
14611
  }
14612
- d.prototype.writeBigUInt64LE = ut(function(c, l = 0) {
14613
- return ur(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14614
- }), d.prototype.writeBigUInt64BE = ut(function(c, l = 0) {
14612
+ u.prototype.writeBigUInt64LE = dt(function(c, l = 0) {
14615
14613
  return dr(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14616
- }), d.prototype.writeIntLE = function(c, l, m, v) {
14614
+ }), u.prototype.writeBigUInt64BE = dt(function(c, l = 0) {
14615
+ return ur(this, c, l, BigInt(0), BigInt("0xffffffffffffffff"));
14616
+ }), u.prototype.writeIntLE = function(c, l, m, v) {
14617
14617
  if (c = +c, l = l >>> 0, !v) {
14618
14618
  const le = Math.pow(2, 8 * m - 1);
14619
14619
  Re(this, c, l, m, le - 1, -le);
@@ -14622,7 +14622,7 @@ ir.write = function(n, e, t, r, o, i) {
14622
14622
  for (this[l] = c & 255; ++w < m && (C *= 256); )
14623
14623
  c < 0 && Y === 0 && this[l + w - 1] !== 0 && (Y = 1), this[l + w] = (c / C >> 0) - Y & 255;
14624
14624
  return l + m;
14625
- }, d.prototype.writeIntBE = function(c, l, m, v) {
14625
+ }, u.prototype.writeIntBE = function(c, l, m, v) {
14626
14626
  if (c = +c, l = l >>> 0, !v) {
14627
14627
  const le = Math.pow(2, 8 * m - 1);
14628
14628
  Re(this, c, l, m, le - 1, -le);
@@ -14631,20 +14631,20 @@ ir.write = function(n, e, t, r, o, i) {
14631
14631
  for (this[l + w] = c & 255; --w >= 0 && (C *= 256); )
14632
14632
  c < 0 && Y === 0 && this[l + w + 1] !== 0 && (Y = 1), this[l + w] = (c / C >> 0) - Y & 255;
14633
14633
  return l + m;
14634
- }, d.prototype.writeInt8 = function(c, l, m) {
14634
+ }, u.prototype.writeInt8 = function(c, l, m) {
14635
14635
  return c = +c, l = l >>> 0, m || Re(this, c, l, 1, 127, -128), c < 0 && (c = 255 + c + 1), this[l] = c & 255, l + 1;
14636
- }, d.prototype.writeInt16LE = function(c, l, m) {
14636
+ }, u.prototype.writeInt16LE = function(c, l, m) {
14637
14637
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 32767, -32768), this[l] = c & 255, this[l + 1] = c >>> 8, l + 2;
14638
- }, d.prototype.writeInt16BE = function(c, l, m) {
14638
+ }, u.prototype.writeInt16BE = function(c, l, m) {
14639
14639
  return c = +c, l = l >>> 0, m || Re(this, c, l, 2, 32767, -32768), this[l] = c >>> 8, this[l + 1] = c & 255, l + 2;
14640
- }, d.prototype.writeInt32LE = function(c, l, m) {
14640
+ }, u.prototype.writeInt32LE = function(c, l, m) {
14641
14641
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 2147483647, -2147483648), this[l] = c & 255, this[l + 1] = c >>> 8, this[l + 2] = c >>> 16, this[l + 3] = c >>> 24, l + 4;
14642
- }, d.prototype.writeInt32BE = function(c, l, m) {
14642
+ }, u.prototype.writeInt32BE = function(c, l, m) {
14643
14643
  return c = +c, l = l >>> 0, m || Re(this, c, l, 4, 2147483647, -2147483648), c < 0 && (c = 4294967295 + c + 1), this[l] = c >>> 24, this[l + 1] = c >>> 16, this[l + 2] = c >>> 8, this[l + 3] = c & 255, l + 4;
14644
- }, d.prototype.writeBigInt64LE = ut(function(c, l = 0) {
14645
- return ur(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14646
- }), d.prototype.writeBigInt64BE = ut(function(c, l = 0) {
14644
+ }, u.prototype.writeBigInt64LE = dt(function(c, l = 0) {
14647
14645
  return dr(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14646
+ }), u.prototype.writeBigInt64BE = dt(function(c, l = 0) {
14647
+ return ur(this, c, l, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
14648
14648
  });
14649
14649
  function pr(h, c, l, m, v, w) {
14650
14650
  if (l + m > h.length)
@@ -14655,20 +14655,20 @@ ir.write = function(n, e, t, r, o, i) {
14655
14655
  function hr(h, c, l, m, v) {
14656
14656
  return c = +c, l = l >>> 0, v || pr(h, c, l, 4), t.write(h, c, l, m, 23, 4), l + 4;
14657
14657
  }
14658
- d.prototype.writeFloatLE = function(c, l, m) {
14658
+ u.prototype.writeFloatLE = function(c, l, m) {
14659
14659
  return hr(this, c, l, !0, m);
14660
- }, d.prototype.writeFloatBE = function(c, l, m) {
14660
+ }, u.prototype.writeFloatBE = function(c, l, m) {
14661
14661
  return hr(this, c, l, !1, m);
14662
14662
  };
14663
14663
  function mr(h, c, l, m, v) {
14664
14664
  return c = +c, l = l >>> 0, v || pr(h, c, l, 8), t.write(h, c, l, m, 52, 8), l + 8;
14665
14665
  }
14666
- d.prototype.writeDoubleLE = function(c, l, m) {
14666
+ u.prototype.writeDoubleLE = function(c, l, m) {
14667
14667
  return mr(this, c, l, !0, m);
14668
- }, d.prototype.writeDoubleBE = function(c, l, m) {
14668
+ }, u.prototype.writeDoubleBE = function(c, l, m) {
14669
14669
  return mr(this, c, l, !1, m);
14670
- }, d.prototype.copy = function(c, l, m, v) {
14671
- if (!d.isBuffer(c))
14670
+ }, u.prototype.copy = function(c, l, m, v) {
14671
+ if (!u.isBuffer(c))
14672
14672
  throw new TypeError("argument should be a Buffer");
14673
14673
  if (m || (m = 0), !v && v !== 0 && (v = this.length), l >= c.length && (l = c.length), l || (l = 0), v > 0 && v < m && (v = m), v === m || c.length === 0 || this.length === 0)
14674
14674
  return 0;
@@ -14685,11 +14685,11 @@ ir.write = function(n, e, t, r, o, i) {
14685
14685
  this.subarray(m, v),
14686
14686
  l
14687
14687
  ), w;
14688
- }, d.prototype.fill = function(c, l, m, v) {
14688
+ }, u.prototype.fill = function(c, l, m, v) {
14689
14689
  if (typeof c == "string") {
14690
14690
  if (typeof l == "string" ? (v = l, l = 0, m = this.length) : typeof m == "string" && (v = m, m = this.length), v !== void 0 && typeof v != "string")
14691
14691
  throw new TypeError("encoding must be a string");
14692
- if (typeof v == "string" && !d.isEncoding(v))
14692
+ if (typeof v == "string" && !u.isEncoding(v))
14693
14693
  throw new TypeError("Unknown encoding: " + v);
14694
14694
  if (c.length === 1) {
14695
14695
  const C = c.charCodeAt(0);
@@ -14707,7 +14707,7 @@ ir.write = function(n, e, t, r, o, i) {
14707
14707
  for (w = l; w < m; ++w)
14708
14708
  this[w] = c;
14709
14709
  else {
14710
- const C = d.isBuffer(c) ? c : d.from(c, v), Y = C.length;
14710
+ const C = u.isBuffer(c) ? c : u.from(c, v), Y = C.length;
14711
14711
  if (Y === 0)
14712
14712
  throw new TypeError('The value "' + c + '" is invalid for argument "value"');
14713
14713
  for (w = 0; w < m - l; ++w)
@@ -14894,7 +14894,7 @@ ir.write = function(n, e, t, r, o, i) {
14894
14894
  }
14895
14895
  return c;
14896
14896
  }();
14897
- function ut(h) {
14897
+ function dt(h) {
14898
14898
  return typeof BigInt > "u" ? jo : h;
14899
14899
  }
14900
14900
  function jo() {
@@ -15159,7 +15159,7 @@ const La = fo.Buffer, Mn = {
15159
15159
  }, ls = /* @__PURE__ */ y("img", {
15160
15160
  src: "https://cdn.tapni.co/icons/outlook.png",
15161
15161
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
15162
- }, null, -1), us = { key: 0 }, ds = {
15162
+ }, null, -1), ds = { key: 0 }, us = {
15163
15163
  key: 1,
15164
15164
  class: "button--loading-black button__loader"
15165
15165
  }, ps = /* @__PURE__ */ y("img", {
@@ -15197,7 +15197,7 @@ function Ps(n, e, t, r, o, i) {
15197
15197
  onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
15198
15198
  class: "color-black pull-right pointer",
15199
15199
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
15200
- }, xa)) : ne("", !0),
15200
+ }, xa)) : te("", !0),
15201
15201
  y("h1", Ba, z(this.ssoLang[this.appLanguage].login), 1),
15202
15202
  Da,
15203
15203
  i.displayFormLogin ? (S(), P("span", Ha, [
@@ -15229,7 +15229,7 @@ function Ps(n, e, t, r, o, i) {
15229
15229
  required: "",
15230
15230
  minlength: "8"
15231
15231
  }, null, 8, Qa), [
15232
- [dn, o.password]
15232
+ [un, o.password]
15233
15233
  ]),
15234
15234
  y("em", {
15235
15235
  onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword),
@@ -15246,7 +15246,7 @@ function Ps(n, e, t, r, o, i) {
15246
15246
  y("button", $a, [
15247
15247
  o.submitted ? (S(), P("span", Xa)) : (S(), P("span", Ja, z(n.ssoLang[n.appLanguage].login), 1))
15248
15248
  ])
15249
- ])) : ne("", !0),
15249
+ ])) : te("", !0),
15250
15250
  Za,
15251
15251
  n.displayAppleLogin ? (S(), P("a", {
15252
15252
  key: 2,
@@ -15255,7 +15255,7 @@ function Ps(n, e, t, r, o, i) {
15255
15255
  }, [
15256
15256
  es,
15257
15257
  n.appleLoad ? (S(), P("span", ns)) : (S(), P("span", ts, z(n.ssoLang[n.appLanguage].sign_in_with) + " Apple", 1))
15258
- ])) : ne("", !0),
15258
+ ])) : te("", !0),
15259
15259
  n.displayGoogleLogin ? (S(), P("a", {
15260
15260
  key: 3,
15261
15261
  onClick: e[6] || (e[6] = (...s) => n.googleLogin && n.googleLogin(...s)),
@@ -15263,7 +15263,7 @@ function Ps(n, e, t, r, o, i) {
15263
15263
  }, [
15264
15264
  rs,
15265
15265
  n.googleLoad ? (S(), P("span", is)) : (S(), P("span", os, z(n.ssoLang[n.appLanguage].sign_in_with) + " Google", 1))
15266
- ])) : ne("", !0),
15266
+ ])) : te("", !0),
15267
15267
  n.displayFacebookLogin ? (S(), P("a", {
15268
15268
  key: 4,
15269
15269
  onClick: e[7] || (e[7] = (...s) => n.facebookLogin && n.facebookLogin(...s)),
@@ -15271,16 +15271,16 @@ function Ps(n, e, t, r, o, i) {
15271
15271
  }, [
15272
15272
  as,
15273
15273
  n.facebookLoad ? (S(), P("span", cs)) : (S(), P("span", ss, z(n.ssoLang[n.appLanguage].sign_in_with) + " Facebook", 1))
15274
- ])) : ne("", !0),
15275
- n.displayMicrosoftSSOLogin ? ne("", !0) : (S(), P("a", {
15274
+ ])) : te("", !0),
15275
+ n.displayMicrosoftSSOLogin ? te("", !0) : (S(), P("a", {
15276
15276
  key: 5,
15277
15277
  onClick: e[8] || (e[8] = (...s) => n.microsoftLogin && n.microsoftLogin(...s)),
15278
15278
  class: "button-center button button-90 google-button pointer"
15279
15279
  }, [
15280
15280
  ls,
15281
- n.microsoftLoad ? (S(), P("span", ds)) : (S(), P("span", us, z(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15281
+ n.microsoftLoad ? (S(), P("span", us)) : (S(), P("span", ds, z(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15282
15282
  ])),
15283
- n.displayMicrosoftSSOLogin ? ne("", !0) : (S(), P("a", {
15283
+ n.displayMicrosoftSSOLogin ? te("", !0) : (S(), P("a", {
15284
15284
  key: 6,
15285
15285
  onClick: e[9] || (e[9] = (...s) => n.ssoLogin && n.ssoLogin(...s)),
15286
15286
  class: "button-center button button-90 google-button pointer"
@@ -15295,8 +15295,8 @@ function Ps(n, e, t, r, o, i) {
15295
15295
  }, [
15296
15296
  fs,
15297
15297
  n.microsoftSSOLoad ? (S(), P("span", gs, z(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1)) : (S(), P("span", _s))
15298
- ])) : ne("", !0),
15299
- i.displayFormLogin ? ne("", !0) : (S(), P("a", {
15298
+ ])) : te("", !0),
15299
+ i.displayFormLogin ? te("", !0) : (S(), P("a", {
15300
15300
  key: 8,
15301
15301
  onClick: e[11] || (e[11] = (s) => o.emailLogin = !0),
15302
15302
  class: "button-center button button-90 google-button pointer"
@@ -15334,7 +15334,7 @@ function Ps(n, e, t, r, o, i) {
15334
15334
  se(z(n.ssoLang[n.appLanguage].create_account), 1)
15335
15335
  ]),
15336
15336
  _: 1
15337
- })) : ne("", !0),
15337
+ })) : te("", !0),
15338
15338
  i.displayResetPasswordLogin ? (S(), qe(a, {
15339
15339
  key: 1,
15340
15340
  class: "create float-left",
@@ -15344,7 +15344,7 @@ function Ps(n, e, t, r, o, i) {
15344
15344
  se(z(n.ssoLang[n.appLanguage].reset_password), 1)
15345
15345
  ]),
15346
15346
  _: 1
15347
- })) : ne("", !0),
15347
+ })) : te("", !0),
15348
15348
  Is
15349
15349
  ]))
15350
15350
  ], 36);
@@ -15472,10 +15472,10 @@ const _o = /* @__PURE__ */ We(za, [["render", Ps]]), Ms = {
15472
15472
  }, cc = /* @__PURE__ */ y("img", {
15473
15473
  src: "https://cdn.tapni.co/icons/facebook-blue.png",
15474
15474
  style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
15475
- }, null, -1), lc = { key: 0 }, uc = {
15475
+ }, null, -1), lc = { key: 0 }, dc = {
15476
15476
  key: 1,
15477
15477
  class: "button--loading button__loader"
15478
- }, dc = /* @__PURE__ */ y("img", {
15478
+ }, uc = /* @__PURE__ */ y("img", {
15479
15479
  src: "https://cdn.tapni.co/icons/mail.png",
15480
15480
  style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
15481
15481
  }, null, -1), pc = /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), hc = { class: "close-text center-text half-top color-black" }, mc = /* @__PURE__ */ y("br", null, null, -1), fc = {
@@ -15498,13 +15498,13 @@ function Cc(n, e, t, r, o, i) {
15498
15498
  onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
15499
15499
  class: "color-black pull-right pointer",
15500
15500
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
15501
- }, Ls)) : ne("", !0),
15501
+ }, Ls)) : te("", !0),
15502
15502
  y("h1", Os, z(n.ssoLang[this.appLanguage].register), 1),
15503
15503
  y("p", zs, [
15504
15504
  o.usernameRegister ? (S(), P("span", Us, [
15505
15505
  se(" t.link/" + z(o.username) + " " + z(n.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
15506
15506
  xs
15507
- ])) : ne("", !0)
15507
+ ])) : te("", !0)
15508
15508
  ]),
15509
15509
  o.emailLogin ? (S(), P("span", Bs, [
15510
15510
  y("div", Ds, [
@@ -15552,7 +15552,7 @@ function Cc(n, e, t, r, o, i) {
15552
15552
  required: "",
15553
15553
  minlength: "8"
15554
15554
  }, null, 8, Ws), [
15555
- [dn, o.password]
15555
+ [un, o.password]
15556
15556
  ]),
15557
15557
  y("em", {
15558
15558
  onClick: e[6] || (e[6] = (s) => o.revealPassword = !o.revealPassword),
@@ -15569,7 +15569,7 @@ function Cc(n, e, t, r, o, i) {
15569
15569
  y("button", Xs, [
15570
15570
  o.submitted ? (S(), P("span", ec)) : (S(), P("span", Zs, z(o.formButtonText), 1))
15571
15571
  ])
15572
- ])) : ne("", !0),
15572
+ ])) : te("", !0),
15573
15573
  tc,
15574
15574
  n.displayAppleLogin ? (S(), P("a", {
15575
15575
  key: 2,
@@ -15578,7 +15578,7 @@ function Cc(n, e, t, r, o, i) {
15578
15578
  }, [
15579
15579
  nc,
15580
15580
  n.appleLoad ? (S(), P("span", oc)) : (S(), P("span", rc, z(n.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
15581
- ])) : ne("", !0),
15581
+ ])) : te("", !0),
15582
15582
  y("a", {
15583
15583
  onClick: e[8] || (e[8] = (...s) => n.googleLogin && n.googleLogin(...s)),
15584
15584
  class: "button-center button button-90 google-button pointer"
@@ -15592,14 +15592,14 @@ function Cc(n, e, t, r, o, i) {
15592
15592
  class: "button-center button button-90 google-button pointer"
15593
15593
  }, [
15594
15594
  cc,
15595
- n.facebookLoad ? (S(), P("span", uc)) : (S(), P("span", lc, z(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15596
- ])) : ne("", !0),
15597
- o.emailLogin ? ne("", !0) : (S(), P("a", {
15595
+ n.facebookLoad ? (S(), P("span", dc)) : (S(), P("span", lc, z(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15596
+ ])) : te("", !0),
15597
+ o.emailLogin ? te("", !0) : (S(), P("a", {
15598
15598
  key: 4,
15599
15599
  onClick: e[10] || (e[10] = (s) => o.emailLogin = !0),
15600
15600
  class: "button-center button button-90 google-button pointer"
15601
15601
  }, [
15602
- dc,
15602
+ uc,
15603
15603
  y("span", null, z(n.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
15604
15604
  ])),
15605
15605
  pc,
@@ -15756,7 +15756,7 @@ function $c(n, e, t, r, o, i) {
15756
15756
  onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
15757
15757
  class: "color-black pull-right pointer",
15758
15758
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
15759
- }, Ic)) : ne("", !0),
15759
+ }, Ic)) : te("", !0),
15760
15760
  y("h1", Sc, z(n.ssoLang[this.appLanguage].verify_account), 1),
15761
15761
  Ac,
15762
15762
  y("div", Rc, [
@@ -15906,7 +15906,7 @@ const yo = /* @__PURE__ */ We(Ec, [["render", $c], ["__scopeId", "data-v-75db7f0
15906
15906
  }, al = {
15907
15907
  key: 1,
15908
15908
  class: "button--loading button__loader"
15909
- }, sl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), cl = { class: "close-text center-text half-top color-black" }, ll = ["innerHTML"], ul = ["href"], dl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), pl = { class: "page-login-links" }, hl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), ml = {
15909
+ }, sl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), cl = { class: "close-text center-text half-top color-black" }, ll = ["innerHTML"], dl = ["href"], ul = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), pl = { class: "page-login-links" }, hl = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("div", { class: "clear" }, null, -1)), ml = {
15910
15910
  class: "bold no-bottom center-text",
15911
15911
  style: { "margin-top": "63px" }
15912
15912
  }, fl = { class: "half-bottom small-top center-text color-black" }, gl = { class: "page-login-field half-top" }, _l = /* @__PURE__ */ lt(() => /* @__PURE__ */ y("i", { style: { "padding-top": "15px" } }, [
@@ -15960,7 +15960,7 @@ function Ll(n, e, t, r, o, i) {
15960
15960
  placeholder: n.ssoLang[this.appLanguage].password,
15961
15961
  required: ""
15962
15962
  }, null, 8, vl), [
15963
- [dn, o.password]
15963
+ [un, o.password]
15964
15964
  ]),
15965
15965
  y("em", {
15966
15966
  onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
@@ -15981,7 +15981,7 @@ function Ll(n, e, t, r, o, i) {
15981
15981
  placeholder: n.ssoLang[this.appLanguage].password_repeat,
15982
15982
  required: ""
15983
15983
  }, null, 8, Cl), [
15984
- [dn, o.passwordRepeat]
15984
+ [un, o.passwordRepeat]
15985
15985
  ]),
15986
15986
  y("em", {
15987
15987
  onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
@@ -16040,9 +16040,9 @@ function Ll(n, e, t, r, o, i) {
16040
16040
  }, null, 8, ll),
16041
16041
  y("a", {
16042
16042
  href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
16043
- }, " support@tapni.com", 8, ul)
16043
+ }, " support@tapni.com", 8, dl)
16044
16044
  ]),
16045
- dl,
16045
+ ul,
16046
16046
  y("div", pl, [
16047
16047
  ke(a, {
16048
16048
  class: "create float-right",
@@ -16273,29 +16273,29 @@ const Co = /* @__PURE__ */ We(Fl, [["render", Jl], ["__scopeId", "data-v-11f19a0
16273
16273
  class: "responsive-image",
16274
16274
  style: { width: "45%" }
16275
16275
  })
16276
- ], -1)), eu = [
16276
+ ], -1)), ed = [
16277
16277
  Zl
16278
- ], tu = { class: "bold center-text color-black half-top half-bottom" }, nu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16278
+ ], td = { class: "bold center-text color-black half-top half-bottom" }, nd = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16279
16279
  src: "https://cdn.tapni.co/icons/azure.png",
16280
16280
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16281
- }, null, -1)), ru = { key: 0 }, ou = {
16281
+ }, null, -1)), rd = { key: 0 }, od = {
16282
16282
  key: 1,
16283
16283
  class: "button--loading button__loader"
16284
- }, iu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16284
+ }, id = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16285
16285
  src: "https://cdn.tapni.co/icons/okta.png",
16286
16286
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16287
- }, null, -1)), au = { key: 0 }, su = {
16287
+ }, null, -1)), ad = { key: 0 }, sd = {
16288
16288
  key: 1,
16289
16289
  class: "button--loading button__loader"
16290
- }, cu = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16290
+ }, cd = /* @__PURE__ */ Nn(() => /* @__PURE__ */ y("img", {
16291
16291
  src: "https://cdn.tapni.co/icons/saml.png",
16292
16292
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
16293
- }, null, -1)), lu = { key: 0 }, uu = {
16293
+ }, null, -1)), ld = { key: 0 }, dd = {
16294
16294
  key: 1,
16295
16295
  class: "button--loading button__loader"
16296
16296
  };
16297
- function du(n, e, t, r, o, i) {
16298
- var a, s, u;
16297
+ function ud(n, e, t, r, o, i) {
16298
+ var a, s, d;
16299
16299
  return S(), P("form", {
16300
16300
  onSubmit: e[4] || (e[4] = Oe(() => {
16301
16301
  }, ["prevent"])),
@@ -16306,35 +16306,35 @@ function du(n, e, t, r, o, i) {
16306
16306
  onClick: e[0] || (e[0] = (...p) => i.forceClose && i.forceClose(...p)),
16307
16307
  class: "color-black pull-right pointer",
16308
16308
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16309
- }, eu),
16310
- y("h3", tu, z(n.ssoLang[n.appLanguage].select_sign_method), 1),
16309
+ }, ed),
16310
+ y("h3", td, z(n.ssoLang[n.appLanguage].select_sign_method), 1),
16311
16311
  (a = o.sso) != null && a.azure ? (S(), P("a", {
16312
16312
  key: 0,
16313
16313
  onClick: e[1] || (e[1] = (p) => i.ssoLogin("azure")),
16314
16314
  class: "button-center button black-button button-90 google-button pointer"
16315
16315
  }, [
16316
- nu,
16317
- o.azureLoad ? (S(), P("span", ou)) : (S(), P("span", ru, z(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16318
- ])) : ne("", !0),
16316
+ nd,
16317
+ o.azureLoad ? (S(), P("span", od)) : (S(), P("span", rd, z(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16318
+ ])) : te("", !0),
16319
16319
  (s = o.sso) != null && s.okta ? (S(), P("a", {
16320
16320
  key: 1,
16321
16321
  onClick: e[2] || (e[2] = (p) => i.ssoLogin("okta")),
16322
16322
  class: "button-center button black-button button-90 google-button pointer"
16323
16323
  }, [
16324
- iu,
16325
- o.oktaLoad ? (S(), P("span", su)) : (S(), P("span", au, z(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16326
- ])) : ne("", !0),
16327
- (u = o.sso) != null && u.saml ? (S(), P("a", {
16324
+ id,
16325
+ o.oktaLoad ? (S(), P("span", sd)) : (S(), P("span", ad, z(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16326
+ ])) : te("", !0),
16327
+ (d = o.sso) != null && d.saml ? (S(), P("a", {
16328
16328
  key: 2,
16329
16329
  onClick: e[3] || (e[3] = (p) => i.ssoLogin("saml")),
16330
16330
  class: "button-center button black-button button-90 google-button pointer"
16331
16331
  }, [
16332
- cu,
16333
- o.samlLoad ? (S(), P("span", uu)) : (S(), P("span", lu, z(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16334
- ])) : ne("", !0)
16332
+ cd,
16333
+ o.samlLoad ? (S(), P("span", dd)) : (S(), P("span", ld, z(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16334
+ ])) : te("", !0)
16335
16335
  ], 34);
16336
16336
  }
16337
- const Eo = /* @__PURE__ */ We(Xl, [["render", du], ["__scopeId", "data-v-4f821f65"]]), pu = {
16337
+ const Eo = /* @__PURE__ */ We(Xl, [["render", ud], ["__scopeId", "data-v-4f821f65"]]), pd = {
16338
16338
  name: "LinkIcon",
16339
16339
  mixins: [ze],
16340
16340
  props: {
@@ -16406,8 +16406,8 @@ const Eo = /* @__PURE__ */ We(Xl, [["render", du], ["__scopeId", "data-v-4f821f6
16406
16406
  }
16407
16407
  },
16408
16408
  methods: {}
16409
- }, hu = ["src", "alt"], mu = ["src", "alt"], fu = ["src", "alt"], gu = ["src", "alt"];
16410
- function _u(n, e, t, r, o, i) {
16409
+ }, hd = ["src", "alt"], md = ["src", "alt"], fd = ["src", "alt"], gd = ["src", "alt"];
16410
+ function _d(n, e, t, r, o, i) {
16411
16411
  var a, s;
16412
16412
  return S(), P("a", {
16413
16413
  class: Ie(["disable-select", t.linkStyle + (t.disabled ? " opacity-50" : "")]),
@@ -16428,31 +16428,31 @@ function _u(n, e, t, r, o, i) {
16428
16428
  src: "https://cdn.tapni.co/icons/" + t.data.type + ".png",
16429
16429
  class: "responsive-image",
16430
16430
  alt: t.data.text,
16431
- onLoad: e[0] || (e[0] = (u) => n.$emit("loaded")),
16432
- onError: e[1] || (e[1] = (u) => n.$emit("loaded"))
16433
- }, null, 40, hu)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (S(), P("img", {
16431
+ onLoad: e[0] || (e[0] = (d) => n.$emit("loaded")),
16432
+ onError: e[1] || (e[1] = (d) => n.$emit("loaded"))
16433
+ }, null, 40, hd)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (S(), P("img", {
16434
16434
  key: 1,
16435
16435
  src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
16436
16436
  class: "responsive-image",
16437
16437
  alt: t.data.text,
16438
- onLoad: e[2] || (e[2] = (u) => n.$emit("loaded")),
16439
- onError: e[3] || (e[3] = (u) => n.$emit("loaded"))
16440
- }, null, 40, mu)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (S(), P("img", {
16438
+ onLoad: e[2] || (e[2] = (d) => n.$emit("loaded")),
16439
+ onError: e[3] || (e[3] = (d) => n.$emit("loaded"))
16440
+ }, null, 40, md)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (S(), P("img", {
16441
16441
  key: 2,
16442
16442
  src: "https://cdn.tapni.co/icons/customlink.png",
16443
16443
  class: "responsive-image",
16444
16444
  alt: t.data.text,
16445
- onLoad: e[4] || (e[4] = (u) => n.$emit("loaded")),
16446
- onError: e[5] || (e[5] = (u) => n.$emit("loaded"))
16447
- }, null, 40, fu)) : (S(), P("img", {
16445
+ onLoad: e[4] || (e[4] = (d) => n.$emit("loaded")),
16446
+ onError: e[5] || (e[5] = (d) => n.$emit("loaded"))
16447
+ }, null, 40, fd)) : (S(), P("img", {
16448
16448
  key: 3,
16449
16449
  src: t.data.style.custom_icon,
16450
16450
  style: { "border-radius": "22.46%" },
16451
16451
  class: "responsive-image",
16452
16452
  alt: t.data.text,
16453
- onLoad: e[6] || (e[6] = (u) => n.$emit("loaded")),
16454
- onError: e[7] || (e[7] = (u) => n.$emit("loaded"))
16455
- }, null, 40, gu))
16453
+ onLoad: e[6] || (e[6] = (d) => n.$emit("loaded")),
16454
+ onError: e[7] || (e[7] = (d) => n.$emit("loaded"))
16455
+ }, null, 40, gd))
16456
16456
  ], 6),
16457
16457
  y("span", {
16458
16458
  class: "link-text link-drag color-black",
@@ -16460,17 +16460,17 @@ function _u(n, e, t, r, o, i) {
16460
16460
  }, z(i.linkText), 5)
16461
16461
  ], 6);
16462
16462
  }
16463
- const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16463
+ const vd = /* @__PURE__ */ We(pd, [["render", _d]]), yd = {
16464
16464
  ANDROID_VERSION: "5.6",
16465
16465
  IOS_VERSION: "5.6",
16466
16466
  WEB_VERSION: "5.6.0",
16467
16467
  SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
16468
16468
  METAPIXEL_ID: "1203678696914368",
16469
16469
  GOOGLE_ANALYTICS_ID: ""
16470
- }, ku = {
16470
+ }, kd = {
16471
16471
  name: "Language",
16472
16472
  mixins: [ze],
16473
- components: { LinkIcon: vu },
16473
+ components: { LinkIcon: vd },
16474
16474
  data() {
16475
16475
  return {
16476
16476
  toggle: !1
@@ -16481,7 +16481,7 @@ const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16481
16481
  this.toggle = !1;
16482
16482
  });
16483
16483
  let n = this.isNative ? await pn.getLanguageCode() : Ut.getFirstBrowserLanguage();
16484
- n && yu.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
16484
+ n && yd.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
16485
16485
  },
16486
16486
  beforeDestroy() {
16487
16487
  U._events.toggleLanguageModal.pop();
@@ -16500,16 +16500,16 @@ const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16500
16500
  this.toggle = !this.toggle;
16501
16501
  }
16502
16502
  }
16503
- }, wu = (n) => (Ht("data-v-34a6b7b2"), n = n(), qt(), n), bu = /* @__PURE__ */ wu(() => /* @__PURE__ */ y("i", { class: "font-17 fa color-black" }, [
16503
+ }, wd = (n) => (Ht("data-v-34a6b7b2"), n = n(), qt(), n), bd = /* @__PURE__ */ wd(() => /* @__PURE__ */ y("i", { class: "font-17 fa color-black" }, [
16504
16504
  /* @__PURE__ */ y("img", {
16505
16505
  src: "https://cdn.tapni.co/icons/down-arrow.png",
16506
16506
  class: "fa responsive-image",
16507
16507
  style: { width: "45%" }
16508
16508
  })
16509
- ], -1)), Cu = [
16510
- bu
16511
- ], Eu = { class: "bold center-text color-black small-bottom" };
16512
- function Tu(n, e, t, r, o, i) {
16509
+ ], -1)), Cd = [
16510
+ bd
16511
+ ], Ed = { class: "bold center-text color-black small-bottom" };
16512
+ function Td(n, e, t, r, o, i) {
16513
16513
  const a = Dt("LinkIcon");
16514
16514
  return S(), P("div", {
16515
16515
  class: Ie(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": o.toggle }]),
@@ -16519,8 +16519,8 @@ function Tu(n, e, t, r, o, i) {
16519
16519
  onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
16520
16520
  class: "color-black pull-right pointer",
16521
16521
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16522
- }, Cu),
16523
- y("h3", Eu, z(n.ssoLang[n.appLanguage].app_language), 1),
16522
+ }, Cd),
16523
+ y("h3", Ed, z(n.ssoLang[n.appLanguage].app_language), 1),
16524
16524
  ke(a, {
16525
16525
  onClick: e[1] || (e[1] = (s) => i.updateLanguage("en")),
16526
16526
  "link-style": "link-grid",
@@ -16579,38 +16579,38 @@ function Tu(n, e, t, r, o, i) {
16579
16579
  }, null, 8, ["data"])
16580
16580
  ], 2);
16581
16581
  }
16582
- const To = /* @__PURE__ */ We(ku, [["render", Tu], ["__scopeId", "data-v-34a6b7b2"]]);
16583
- var Iu = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
16584
- const Su = { id: "ssoapp" }, Au = {
16582
+ const To = /* @__PURE__ */ We(kd, [["render", Td], ["__scopeId", "data-v-34a6b7b2"]]);
16583
+ var Id = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
16584
+ const Sd = { id: "ssoapp" }, Ad = {
16585
16585
  key: 0,
16586
16586
  href: "/",
16587
16587
  class: "header-logo"
16588
- }, Ru = /* @__PURE__ */ y("img", {
16588
+ }, Rd = /* @__PURE__ */ y("img", {
16589
16589
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuqnKLyqMplKo/ntWGo0JuuwLurbK8ypI4C78imIYQQL2DDdIntyluU+bftbQEAuU/lpyrTqNCLQQtb2UGBD7ZdeH8bFIQQQvyCjdSfVHok8FnDbV4/TuUOKvT8gXborbKDDZwdTYG3YdMQQkimHKpyo8paCX5mJ5Xbxdk+/YYKPW4wMPrWUeA72f9b890hhJBgOEyc0VtaNkmXijOiu5wKPT5gyHahKfA+whMKQggJlQGmaNM2MP6tymyVu2JvsOqCDZDNVEao9KMyJ4SQYGljynxdD8+CzdQV4q5dqdAjYgXfE0IICZ4fiztJ9UVXcae3VOgNsIvKgRyXhBBCyqCzyo8yeO7BKgOp0Fdna5U/q9wmzvWLEEIIaQr7q2ySwXNxV38EFfrKwOXrQXERfNqq/FWcBTkhhBCyJg7PeDHRiQrdgWP2+8VZk5dAhLUbxY9xAyGEkHhBNLitMnx+N3EnzIVX6FDm94q7/6jvZ7dL8YzwCCGENJ0tZOWcGFmVodAKvaTMuzTyO3upXMnxSgghpAE2D6AMW8XaeEko9EFNUOYljlU5iWOWEEJIPfQMoAxdYm28ShU6lPmYMhsAofa+y3FLCCFkFUII+FVbRIVezs58Va5S2Z1jlxBCSB1CCP5VFWvjNVeh72zKfL1m/j3SkN6ksinHLyGEEGNWAGWYWSSFDmU+pgJlXqKHfU53jmFCCCHK1ADK8HpRFHpSyrwE3AP+IC4ADSGEkGLzssq8jMvwXBEU+rZS2TF7Q+wtOclFSwghpCLezlihTlF5Me8KHcfjiACXlsP/USrnciwTQkjhyTIv+X0qi/Ou0D9UeTTlspwh2cbwJYQQEoZCfzuD5y4SF6Y8WqrLqOgRKr9QWZZief6osg/HMyGEFBZsIK/I4Lk3qEwqgkIH8A+8WOUga/A0QFCBUSrbcUwTQkhhgUJ/wePzZqiMjL3RmuO2Biv3/VTeSKlMyNT2J8k+QD8hhJBswKnwCSpLPDxrubiw5LOLqNDBs+IixT2dUrn6q9wtLgBNklTxPSGEkCh4SuXElJ/xmTjbrYfy0GCVhH7FamY3lVtSKttglcuohAkhpLBcq3JaSp+9VOVQcam9c0GlyVmwukGildNTKt+RKr/mmCaEkMJyoemCJG23PlD5lspf8tRQSeVDv0Dlh5KO/x7SrZ7AMU0IIYUFFujIU36nVJ4NDTFVcGX817w1UnWCn3W1ytdU3kqhnL8RF1GOEEJIMUHilkNUdhFnOF1OiFgcrz9semS4yrQ8NlDSuWdhxIC779ut0ZMs52hbMEyo4HN4H08IIXHzjEk3lYNVhqr0VdlApZ1Ka3HXwa+qvKbyT5UH7d+5Jo1k8ojwM0zlOpXvJPi5HVVuVtlXZTrHNCGEFBqkOf2tSSvTEWuL847C9e+bkm4gtOCoTulzPxXnCnB2wp/bz5R6O45lQgghBnbkH4kLEINob68XTZmnqdBLnGOK/dMEPxNH+TjSb80xTAghhPhR6OBWlT3FHY8kxf4qF7H7CCGEEH8KHYxTGSKVGbStyk8k/ShChBBCCBX6KiD2+1dVbkvwMy9R2baM36eVOyGEECr0BFigcpgkZywHV7ZX2I2EZAoXyoQEQMuMngtjOVgkXirO3aA5XK9yjLi0riR84FKCDHobq3Q3aaGymThXk1X7cbl9D+4n82284N9TVeaKyyXwnrjgErVs3tRY1/poW+vDLiqbqKyjsp7KWnX662OTd8QFAUG//btOn5H0N2jwxe4jLsHVFuJ8tfEetbW+amHz/jJ7d9AvM+zf8Nt+w/pvAZuTCr0cLleZLM5ifb0y/xZR6X4YeNsWeaHRSWV7lU1VvmITS2+VzpKcyyE8Jz4RF5kQASNetgnpFfvKhV7zFTj6DkGcdlDZUqVrhZ+JhddL4tyJkKnxMXGxtEnlYO5EOushtujqa4ut5rLU+utFcbZPY8XlJV/KpqZCXxOPioupe6+tKJsCEt/HENv9Gyo9m3EC0cJWyz+z3U4sYNcGG4l9bHLZMOXntTXBcwauMiFBcTwhLiXis6b4SeNjbjdxySoOtJOUJMGucZiJ2GkL+geJMR5RmcMuKAu47O6hcoQtvDon+NnYxfcwGW7fm6IyRly41ZcyqnPpdGGFnS4s5zBYnVDuvrCju9VWmo2BdKqVWLbvZhNJDAyzBU/IYMGyry1esDBrH2AZZ1uf/03l71Je/OckQbaoH0k6R5lo9+tMyqHa+u5UlQEZtQsyaI0yeTWQMYN5ZidJNn5Gab7FAv+nKuObeXpSo/JjcadevllmO3bk1njA0zPPN73Q2tpumS3acf22RCo/icNC4U1bHH2eXKympkZGjx7N1UGFoLOQKrW2AbksgWfs3sjnhybnBNxXOIr9gymn2ogE0aPOEnev6JvzUq7b5WWWBycpEwPqG0ym8IDZMoDxPS7luh5WZnla2oLw9YD66/E6Jy5p8oSHukChdyg9EAq9trY2SqkOSEkgdN/J4tKlrnpfc6WtSovErgGWaZCtzHGMfXSgO/LGwJ3+2eJsN7B43Njjs9O+02/qu4xd3jV2WjEgoL7BDuxQlX+p3CLuLjgr0u6rcq46dzDlOcrGbyhgc4QrLZys9oi4L0rPyIVhbXWAZUKg/REqC+3/WLUXMR/6NhntJOsDx4/32c5lb4nfTQnW2rBRgAHdSHFW9rHTlIkPu3IYOB0TcB/iCBRJnZ4TFw2yUw7f7abc/6J/TlF5UpxNSohU2WkDAobtJ4QKvQHuUNlLXOCY70sx3ZJKluJZsontDMbZC5s3f2NYA58uzqL3/3Ks0PGen2q78p4R9c0vxKXJ/GrOxt2aFl8w9LxH5VcSR84KlHeMvUuECr1enrIV6qIC98/uGa68kVQHx5+4u2uR83bupXKXOLuAdXJWN/Qd3DwvjHRBtrk4S/iL5Quf9zyDBReMYQ+IUJfgtAvXJS2FUKF7UlQxsUsGz1zPlNvNUn58gNiBXQCMcLbKSX1wtQCbhx/k4L39uTj/9b45Hn872vjbIuI64LrkpoIsvoJU6AjQcojKUHFHvIgyhGhQHQqwMwsdvNg+DWEwBuBOc1CB23w7lQclTKPEct9t7JaG5ahvBotzmxqaw3GHoDBwreydg7p82zYExDM4Grlyle/B93KBfYWPKIKbIIQjwgF+Yt8rhXXEzz6QL6J24e8YoSs5EFUNBmnTPTwLR+vXCo/LAKzfcewJq+s/R1oHWLIfkMO+6WY7dewE78xJnWCrAuPf9XPUTwhShLgCZ3I68avQV8jKR++lCFylgbYm4G62xJT7PFPqs03B43vvrrIQKC0U5tnf4f+Mxd0wu0qyGerqA8Y3p7CpV3s3brHxfW9kZYdXyPcL0DeIQHdZ5HWB6yci5vXPYT+dIS6W/92cTvy9GJXSyqRDGX8DpQ+3NBi8zTHlDqU/077OtUHwBrvo83v0VqZY0phMcEIzgs1cL21McSC85oTAy1paFCMM7kUF6Bu8E78Xd4oVc32RoGpAjvsJbsjjbWNHIlDozaFDnQVAQ3dGUOqjEn5ujFa+/cRlu5qUQt/DeOUgvgaNAsMyHLvj/vatgMsJ1yFYhP9OkkuAEwMX2qbg+ojKXLqWxF3zMTnvn01swfVdTiXpE7KVe1Ukn+lj0bVzwp+JK5XbqMybTA9bXIZsX4A7y8kpjJUYuEqcvUMswEYDBq8jC9I/cIHdm9NIsRV6GmWL9a4+aX90JFeo4fAvCxy7n8pmCJJWtuDaKZLyImAWghn1LlAfnSt0ZaNCJ58D/9SkjlFhAHcsm7RZ/L9kH72P1A9OnZAiq0cEZcXcVjSXYMSkP4zDtLhKkz7wX4DYAEkEm4BrGq3Zmw8WVSPZDMECZX4tNwPBciz7hgqdOAZX+PedqMwTAXeBX2czBAsS0DCmeJgMFN6lU6EnSMzJRSqNXAavgT0kbJ9QWP8ujaAvTpb8JarJE1Dou7AZgt2lk5QI2WqXCn1lBtgue24FnwFfUBjDIbb3OSpdM6gH/OmnirPIRgQ8pMn80BT5fPt5T6trF/vaz1b3XwpkEYrQo8PFheok4YEMZb+2fvqMzREUMC6Fe+UUNgUVepFByEvkSP9HArtghAVFvHLcN+7poexLrdyIiDXWFHljE+3ker4HC9kvi0urCzeYrBNYHE2FHjSweD/RFDsJh7b2DlOhp0DIR+6MKb46QxL8rBni7hsRJnReSuXF595su+s9bQExtZm7JiwKEEYSVvqwmIXf9VMZ9gXuArcuyLhDCGcE1XlbXDTHOZHsfGEz0rMgfYT+wAncG7ZgRl99GmhZDxBSOKW5EbtnNXaTZK2ssVu/QuUh27XvkeDkcofKaeKS+iQNJiq4KN0jLgLVeRmMl7VsQfRSzsYYwjE/o/JP20Uh/8I0W5xVmSAk7rri0utiUYN0s5vZrrhDQHVBspOfqPw0Z32E9/YFlcfFhSRG/yy2vlpifYTN2sa2oMG7gSu70nF31hs5BD/C9dlrnNKTZ7m4gCuhSRqhHIcFWtemCnZGG6Q0DnDFcbp8kSynuTLBdtA+6S4uO5rv/ijnhOCcgMcVFMQj4jKY9aqwH5COeWJAdcPJTrmxA/4ZaD9hsXWrLZyqmvmOw1jwFlP8WdalqaFgH/NQFpxqtC89sKamRmpra6OUUI7csaNDspb3VV6xY9lJKTwndstkGIl9JcWF3fn2wj/bzM9AIoYhNqH7BKcA+9lpg0+wcNky8jF1jymIYaYsZlTYDwjDikBIuGIZG0D9EEXupBxsvGCvMdAWXeOleVEvl9si9HDro8cyrM+uQhInrSP3ZSofmaKGVfa7Nphwr/OBrQ5xJ1eybsb359vucK79PWn4lOGBFD//eXHWwWeJC3XalEUfMuTBcn50hu2CMXWCjTlfR6xQFrupvBzhOJpo7ZSGHUJpxw/5psrF4oIjZcWB4jwlpkbYT4tsQXJtwp/7b5tLzrB33ffmDguKtSQON9WoFHpju9Zamyjxgn5syhYT5izbTeNn0+37C01Jf2r/fs86a7EU03UE90OP2qRfLV/cP1Y38v8Wdb7fos7X9e0r7i7X9lB29BuO3x9WuVoaz9WMRdmhNnmHwEnW5sd7et7gDE4GKgHvIuwwfmXvb9rcbTvBi23RlwWI8HesxHeXPltcEKPnUvp8zO/n2jvsewxvKs5zhymyE1boj9iLvcB21XNsJTvPds3v2I659P/lbLYm8aS4+8Sk8bmShqvZQHvpf1LP4g+LOfhjTw6s7XGyACMgH8k6to5opwELddxdPu75uTjBQZrQZ2yB2CaDumPReaFtRGIAV441nt6tK8UZOZ7nsX5wX+tNhU4qYU/xZ/Txx5y13V42GZbqh1X9tgGXd5DtRtPuZyyGN2tCebI2ipslYbjZ7WEbhyzaoKlRyrI2ipuZ0bv1N8/1PLEJZaJRXIRGcb7waRS3ImdtB9c2WAvfbrvREeLu4ULlaXE+8GmD3Xn/wPsOR7ffkDBc7HA6cJC4E0HfjJDwDWPRLgdk9G4hpPE8j8/rIyRRqNCp0MsBxotH2I70vgjKe5WnfugXcBvMstOV8QGV6QlxR/C+wfXRdoGPWdzzP5fRs3HVeoPH521OFUyFHgsrclov7M7fjKSs/1IZ5+E5vQIeg9+XMIPf3Cbp2Jisab7bN+DxCi+R6zMuwyjxZ8S8thAqdCp0UgY+fG03DrTuF6j8PeC+gYHcTZ6feWCg8x6O2s8LoBz/EXdd5QPkr1+HUxQVegzUsgmCwMdRc/cA6w0/8/Mj6B/EW/dp6YwEPyHe3V4m4cQzeMjTc5AVby1OUVTo3KHHCfzD4ROMeN+d68h6tlLHEVxHcRanrRJ6pg83JcTK7hRYWyOOwOIIxgT65yKPz4O71M6BtQE8Rq4JqDy+duitpY51OamcomU0o1GcnwkTCSH6ijOe6ylf5Dfvaj9vUWdlXgqkU3IxA4h1gAhZcN+BId4McYGNcHeP0MAIYNTUoCiw8P7IFg5p1rl1QH0A96NHIhozcPFEONLBnp6HsKM3B1T/v9g4DwUExZrrYZGKhf36Ulm4YVJghc4devIgSMg2NkliQkbmrW4J7bDrs4JdbIoed30weEPoUgThmN/AZyy0xUGaCr1KwnKHuiSyMYTAVQj64uu+f3ub+0IIMY1F7KjA+uM9e8d8nDq1o6qgQo+BPN+hQ1nj2PJgcS5RfT0vIPqYHGjfw+QDlxu4Q40Rdxe5ok4/pN0XLQJ6l2AE+GSEY+pBcUe9gzw8C6k7uweyM4QnxsTA+gInZMi/sYWnuYRQoXOHngE4HjtM5UjbiYdCNxNEIUOiCQTlQAzxu2xiSrsv6l4hZM2oiN+XUZ4UOnaFGwei0O8PdPE/m/MkFTrJ50DF5IdMZkeLM2ALfUwPMDnTdqs+XGNCmJQxCT8c8TiDcpvjaYz1EX/GX40xNtC+mO/xNIBQoQdPHo7cce/8M3EBQDpFWH4czw8r0JiDPcGHEZcfCxIkBDrIw7NCiGsPC/9JgfbFB9z4xEc160uF3gDIY427vdMiVeZFZGwO6uAr7On6AdR1soSb/W0+XycqOBK/QsfxNHIjw5VmU3ZjVExgHZpMCPH3pwXcD0v5OsUHj9xJXRBF61YJP4EFWR0ctechtzR2rT58oFsEUNeXAu4H3m1zh04iBj7kT1KZR8sM8XfvmSY4gn7Hw3MQlTDrYEAvc9gSKnSSNIeIiy7WmU0RLYtzUg/sDH0Y9pXCDWcFIiPO5LAlScLQr+RrKjdKWKFLSfm8laO6+DAUQ7jeLOOIfyxxeyQQ7tBJYOCY/U4q81wwO0d1WeThGQgE1CHDOs4TWpITKnSSEAh9eYPwmD0v5MmI6TMPz4BRXKuM+4s+2IQKPRJCP96/VvzGYCekqdR6ekaWrqWLhZbkhAo9GkI2UvqFyr7sIr7LBWaFp5OAxnbotewGwkkgDj4KtFzwNT+V3ZM78mQH4UPRQZl/ymFDqNDjxecxeKg7dIZyzSeb5KgubT08A5HQFmVYR3rckMSh21p6hGjwsr24HOYhsFDlNXFRwWaICyYyy75fZe3XRZzxHthMZUOVXirrShiRvkJiwxzVZTNPC+4lGW+mMM557E6o0CMgRIOXn0u2lr0IpDFG5TFxSTjeKbOdqk2ZYze6o7jc2QPFGfcVXcH3FpdwJPZocR08LU6wePw4AIVOCBV6BIS2Q8eu5+sZPXuKyqUqo8X531bSph+avKByjTh/4i1VhqvUiLMRKKJtCCKf9cmBQu+p0s3Dc97PeHfcggqdpLFKJMXYoX9HpZ3nZ+JI8wxx8eGvr1CZNwTuQp9XOdees4s4l7wiRuHqlYM6DPC00cg6sh536IQKnTv0ZvfzcM/PhJX/PiojxZ+B4DKV8SrH2q79FJVJBRpzQ3JQh109PSfryHrcoRMq9AopqlHc5qbgfDHNdspPZFhnTNiXiItVP6cg4xt1bRtx+Tuq7O7pWa8GMBdRoRMq9EgI6ch9J/FnDAerdRzvTwmk7rhjL0qsethJ7Bxx+YeKv2uDEBQ6IVTokRCSO8ogj886UeXZgOoOn/sOBRp334247CM8PQeGg9M5RREq9LjxGRlqWUD13srTcx5WuTmwPu9VsN3QN8S5sMVGP/Fn5/GmxO8NQEjhFbrP6G3tAqkz7iU39vSs8wPs8+0KNsbXVjkhwnLjZMfX/f+rQggVevS863GXPjiQOiMIi49AHfALHxdgn+9awPf6eJVtIyovggQd4/F5j3HqJ1To8YPIUPM9PWsvCePuFjs2H369T0l4wXS+ZMqiaMAA8qyIynumx7kI8dv/wamfUKHHD4KNvOPpWZtKdpHZ6uIrEcsrAfY37mTbFfTdPlDl2xGU88fiN5Xvv1Re59RPqNDzwZsen4VdUpeM6+vrlGBGYP0MQ7iagr/fvxM/iU6aC05PRnp+5gOc9gkVen7w6R8Ny93fZlxfXz7YoYW6xZXHzgV/v5GsBV4HHQMsG+w6rvdcNlwJPchpn1Ch54f/eH7e4Sp/kuyOfn3lfO4SUB9jd34KX+//7YIR275VQGXqoXK/+I1eCHDc/gKHBKFCzw9TxX/QF9xlPqOyv7jIZT7xlYTiywH1MYKr7M7X+38cqnJHIEodXheIV5CFO+HfOBRInili+lTs0GHAtYXn526tcq89/z6VCeL84hfZ1yUmnzVjUYbPmNnAz5faAibt4CqhuIf1UrmAr/ZqfNPG3/dU3suoDPA6uEtcbgHfIFnQzRwGhAo9X0BhPp6BQi+xldQfuQ1KF9HlynX9wh35ayrbS/0ueQvE+d6nfeQPv2dY9k/PeDxfJ/4C6cQGst+NVTlC/IfnPVjlapXOGdUdi5k3OQRInilqLPcQLV2xg25lCrocKe18tmngc5F17H0P5Ydx0/EZt+EolWF8rRtlc1Pqp4kfg8mNVG5SuTNDZb7MFhOEUKHnkKfF392yL4Y28P1FHncmR4l/Q6fSzvzXEndiEp+0ERemF7niD5F0TuoQ0Ogke0bW/YI7+4nsdkKFnk8+sZc8TzRmBObLVW9t241t6LHeMDKEF8HP+DqXTR+V21X+LS6Weo8EPrO/ynmmyC9VWTeAev6OXU2o0PPN3Tmrz1fEHW/Wx9Oey4HFUncPz4IdxJPi7mdJZe0IpTdZ5SHbWSMXwQbSuGV8tS3e9lA5Q+UJcW5hv/TU/00BRniPsItJEWhZ4LrjHn2chJNEpVJwPwnDtFn1/AwW9UvFn8vcVqbUj05pMYF6/EjlHAkzaEqstFfZ0wTMFXc1VbKKn2a/002c8WYX2+WvE2h94DVyEbuVUKEXg8tzpNDFFHp9Bn/TbTL26Sve33Zs14g7gp2TwGdCccCnGsfDm/P1TZ1OsnIugNgMDq9SeZ7dSIpCdcHr/2dxAV/ywg4NfB+78zszKA920ki+8aLKxeJC4TZnjMKH/1fi4gdcTWVOmsB0GzOEcIdeEHBsCOvov+SkPgNtRzW3np/B+AnhUNtnUC74hf/clDusjceKy3j1qji3uo+sL7ADx9VBX/sbHN3vZAq8FV9XUgYnS3YBdAihQs8IGMfhmHqfHNQFd5sIqflEPT9D8BmEvjwkw/LB73mwrHzNgaA3n5hCR2Y43IlXcViSCviDyj1sBlI0qtkEn4Od67yc1GVIIz+7LsDythVnKY0d+dpU5qRCcC1zKpuBUKEXl5fFGW7lgaGN/Aw797vZ3SSnIMzxCHFXOIRQoRcYBMH4aw7qgSP3jRr5+VniksEQkjcQqfA5NgOhQidIjgLf5pcirweMygY18nOcRlzI7iY5AwvV0WwGQoVOSrwrLhNV7Ed2u63h57Dsf5bdTXLC71XOZTMQKnSyKghduZ/KBxHXYZs1/BwJW34o7s4xz7zOhUvuuUWcUSshVOhsgnoZb0r9/UjLD7/t9dfwO4ighdCsK3LahwiBi4Q1R3I455Y/isvktpRNQQgVemNMNKU+JcKyQ5lv14TfQ/S4M3PYdwis8y2Vt8VPzu9QwIkLwhkjQtobOa8rjtiP4jRFCBV6U4HF7NfERTaLjV2b+HvIi31GjvoMMeOHi8vCVjQ+VjldnB/2UZLPKxUkXEGq3LM4PRFChV4uM8UlpThb5bOIyr1LGb87UvLhhw+7h6+rPFXg97n0TiPmQI3ky0XxQ3Gpcn/DaYkQKvTmskxcqk64g8WSvQkJTTYq4/dx9H5kxAoAyhxXJOM5XP/HgyoHmSKMHeQ0R/KhMexWQqjQk+A52/keJy6pSMisKy6dajncIO6o/pXI+gX2DkPtK1mZ+61PX4u0/PDIOE1lb8m/XQAhVOiewQ72GtsBny3uSD5UhjTjbybYouWGSPrjJpWvSpzGi76YJC5r3Z2RlRvXBkjkg0BIK9iNhFChpwWOeHEM/2WV76k8LS7aXOwKHcBKHMfvOMKeHGj7I0MbDL+OUJnP4bhGECwJmfYOl/DdMaeKuyvfU1xcCEIIFboXkKXtRlOeO9puAkfWywIoG/KJd6/g73FcixzrJ0hYuaVxj7q9OD/kNeEre1ssWeJuFXcXjbZbEljZZqicqDJA5a4M36EqT88IecyE8t6wL8qA+dCTA0eCE03OVukn7u5ykE1Q8A3v5LlM64iz0K/k+ByuT1eIO6492XZ4G2XUxtPF+ViXkwYWngmz7IVdkdI7ND+QBVxTectON9COv1TZN8PFPU61cM1zlbjkSCGkMcbpG06pFqX0+a1tgVwb8BhZaOM6rdOvKnt31rSohBvqJ1aeNFjL+iIXVzrMPe0HDJouKj3ERXHr4GkAYeJ4UZL1o8ciAQZKh9qCxcci5XlbVIxuxovdQqW9hzIuWEOf4nom7SA+sOfYwibAcoA9yA9U9rcx6mtxdp/K7abQQ5pQ25uySVPhrpCw4wRgzmrrYdGB93l5AH2xsPSMmpoaGT06zjw/3KH7YantEmfZ5BUzn9huHbKBKfU97SSij00ElfKpLURgl/CQymNreOkbY3kgu76QQYbB48UFpIG3wD72tZ8kF2kPfYBMf+NUHhAXY//TgHennLPCCKnLvqBCJ554z3bNkFYqvVS2FHd3/yWV3uLSuXa2lXaLOn9baxMGfKRxvAmXpCm2G4e8LbRs9g12jPebYG7oaTv+baw/N1FZz3ZuPev0JxZNuNrA8ekc+4qxMU3cvTiuoSbZgraWzUwIFToJG0zor5ncU+f7mPRxLN+uAYU+N+CdWpGBTcDrJqVgLiXjoTbiTmM62u8tMoFL58em0GupvAmhQif5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
16590
16590
  onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
16591
16591
  class: "header-logo-img"
16592
- }, null, -1), Pu = [
16593
- Ru
16594
- ], Mu = { class: "lang-icon" }, Nu = {
16592
+ }, null, -1), Pd = [
16593
+ Rd
16594
+ ], Md = { class: "lang-icon" }, Nd = {
16595
16595
  class: "snackbar snackbar-boxed",
16596
16596
  id: "snackbar"
16597
- }, Lu = {
16597
+ }, Ld = {
16598
16598
  class: "snack-body",
16599
16599
  id: "errorSnack"
16600
- }, Ou = { id: "errorMessage" }, zu = /* @__PURE__ */ y("img", {
16600
+ }, Od = { id: "errorMessage" }, zd = /* @__PURE__ */ y("img", {
16601
16601
  src: "https://cdn.tapni.co/icons/notification-close.png",
16602
16602
  style: { width: "100%" }
16603
- }, null, -1), Uu = [
16604
- zu
16605
- ], xu = {
16603
+ }, null, -1), Ud = [
16604
+ zd
16605
+ ], xd = {
16606
16606
  class: "snack-body",
16607
16607
  id: "successSnack"
16608
- }, Bu = { id: "successMessage" }, Du = /* @__PURE__ */ y("img", {
16608
+ }, Bd = { id: "successMessage" }, Dd = /* @__PURE__ */ y("img", {
16609
16609
  src: "https://cdn.tapni.co/icons/notification-close.png",
16610
16610
  style: { width: "100%" }
16611
- }, null, -1), Hu = [
16612
- Du
16613
- ], qu = {
16611
+ }, null, -1), Hd = [
16612
+ Dd
16613
+ ], qd = {
16614
16614
  name: "TapniAuth",
16615
16615
  mixins: [ze],
16616
16616
  data() {
@@ -16677,25 +16677,25 @@ const Su = { id: "ssoapp" }, Au = {
16677
16677
  n && this.display === "npm" && this.init();
16678
16678
  }
16679
16679
  }
16680
- }, Hr = /* @__PURE__ */ Object.assign(qu, {
16680
+ }, Hr = /* @__PURE__ */ Object.assign(qd, {
16681
16681
  setup(n) {
16682
16682
  return document.addEventListener("DOMContentLoaded", function() {
16683
16683
  const e = document.createElement("script");
16684
- e.src = `https://www.google.com/recaptcha/api.js?render=${Iu.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
16685
- }), (e, t) => (S(), P("div", Su, [
16686
- e.display === "redirect" ? (S(), P("a", Au, Pu)) : ne("", !0),
16684
+ e.src = `https://www.google.com/recaptcha/api.js?render=${Id.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
16685
+ }), (e, t) => (S(), P("div", Sd, [
16686
+ e.display === "redirect" ? (S(), P("a", Ad, Pd)) : te("", !0),
16687
16687
  e.display === "redirect" ? (S(), P("a", {
16688
16688
  key: 1,
16689
16689
  onClick: t[0] || (t[0] = (...r) => e.toggleLanguageModal && e.toggleLanguageModal(...r)),
16690
16690
  class: "font-18 no-border pointer color-black",
16691
16691
  style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
16692
16692
  }, [
16693
- y("span", Mu, z(e.appLanguage.toUpperCase()), 1)
16694
- ])) : ne("", !0),
16693
+ y("span", Md, z(e.appLanguage.toUpperCase()), 1)
16694
+ ])) : te("", !0),
16695
16695
  ke(bo),
16696
- n.isModal ? ne("", !0) : (S(), qe(To, { key: 2 })),
16697
- n.isModal ? ne("", !0) : (S(), qe(Co, { key: 3 })),
16698
- n.isModal ? ne("", !0) : (S(), qe(Eo, { key: 4 })),
16696
+ n.isModal ? te("", !0) : (S(), qe(To, { key: 2 })),
16697
+ n.isModal ? te("", !0) : (S(), qe(Co, { key: 3 })),
16698
+ n.isModal ? te("", !0) : (S(), qe(Eo, { key: 4 })),
16699
16699
  e.initialized && e.renderView === "AuthWelcome" ? (S(), qe(Jr, { key: 5 })) : e.initialized && e.renderView === "AuthLogin" ? (S(), qe(_o, {
16700
16700
  key: 6,
16701
16701
  isModal: n.isModal
@@ -16705,29 +16705,26 @@ const Su = { id: "ssoapp" }, Au = {
16705
16705
  }, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthVerify" ? (S(), qe(yo, {
16706
16706
  key: 8,
16707
16707
  isModal: n.isModal
16708
- }, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthReset" ? (S(), qe(ko, { key: 9 })) : e.initialized && e.renderView === "AuthCallback" ? (S(), qe(wo, { key: 10 })) : (S(), qe(Qo(Yo), {
16709
- key: 11,
16710
- name: "authRouterView"
16711
- })),
16712
- y("div", Nu, [
16713
- y("p", Lu, [
16714
- y("span", Ou, z(e.ssoLang[e.appLanguage].error), 1),
16708
+ }, null, 8, ["isModal"])) : e.initialized && e.renderView === "AuthReset" ? (S(), qe(ko, { key: 9 })) : e.initialized && e.renderView === "AuthCallback" ? (S(), qe(wo, { key: 10 })) : e.display !== "npm" ? (S(), qe(Qo(Yo), { key: 11 })) : te("", !0),
16709
+ y("div", Nd, [
16710
+ y("p", Ld, [
16711
+ y("span", Od, z(e.ssoLang[e.appLanguage].error), 1),
16715
16712
  y("a", {
16716
16713
  onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16717
16714
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
16718
- }, Uu)
16715
+ }, Ud)
16719
16716
  ]),
16720
- y("p", xu, [
16721
- y("span", Bu, z(e.ssoLang[e.appLanguage].success), 1),
16717
+ y("p", xd, [
16718
+ y("span", Bd, z(e.ssoLang[e.appLanguage].success), 1),
16722
16719
  y("a", {
16723
16720
  onClick: t[2] || (t[2] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16724
16721
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
16725
- }, Hu)
16722
+ }, Hd)
16726
16723
  ])
16727
16724
  ])
16728
16725
  ]));
16729
16726
  }
16730
- }), Zu = {
16727
+ }), Zd = {
16731
16728
  TapniAuth: Hr,
16732
16729
  AuthMixin: ze,
16733
16730
  install: (n, e) => {
@@ -16735,5 +16732,5 @@ const Su = { id: "ssoapp" }, Au = {
16735
16732
  }
16736
16733
  };
16737
16734
  export {
16738
- Zu as default
16735
+ Zd as default
16739
16736
  };