@tapni/auth 0.0.94 → 0.0.95

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 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 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 U, 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 dn, 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";
@@ -14,7 +14,7 @@ const Ft = {
14
14
  setApiRootFromOptions(n) {
15
15
  Un = n;
16
16
  },
17
- instance(n, e = !1) {
17
+ instance(n, e = null) {
18
18
  const t = Xo;
19
19
  let r = "https://api.tapni.co/v1/";
20
20
  Un && (r = Un);
@@ -42,7 +42,7 @@ const Ft = {
42
42
  }), n && n.token && !e) {
43
43
  const a = qr(n.token);
44
44
  if (a.exp - 30 < Math.floor(Date.now() / 1e3))
45
- return ze.methods.refreshTokenAction({ ...a, refreshToken: n.refreshTokens ? n.refreshTokens.split(",")[0] : null }).then((s) => (i.headers = {
45
+ return e({ ...a, refreshToken: n.refreshTokens ? n.refreshTokens.split(",")[0] : null, storage: n }).then((s) => (i.headers = {
46
46
  ...i.headers,
47
47
  Authorization: `Bearer ${s}`
48
48
  }, i));
@@ -169,7 +169,7 @@ const Ne = {
169
169
  qrCodePooling(n, e) {
170
170
  return xn(e).post("/company/login/qr", n);
171
171
  }
172
- }, cn = Ko(/* @__PURE__ */ new Map()), U = {
172
+ }, cn = Ko(/* @__PURE__ */ new Map()), z = {
173
173
  $on(n, e) {
174
174
  let t = cn.get(n);
175
175
  t || (t = /* @__PURE__ */ new Set(), cn.set(n, t)), t.add(e);
@@ -185,7 +185,7 @@ const Ne = {
185
185
  t && t.delete(e);
186
186
  }
187
187
  };
188
- Go(U);
188
+ Go(z);
189
189
  const Fr = {
190
190
  state: {
191
191
  english: "English",
@@ -4330,7 +4330,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4330
4330
  }
4331
4331
  };
4332
4332
  var ti = { 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 };
4333
- const ze = {
4333
+ const De = {
4334
4334
  mixins: [ei],
4335
4335
  data() {
4336
4336
  return {
@@ -4388,7 +4388,7 @@ const ze = {
4388
4388
  }
4389
4389
  },
4390
4390
  mounted() {
4391
- this.$route.query.redirect_uri && (this.redirect_uri = this.$route.query.redirect_uri), this.$route.query.display && (this.display = this.$route.query.display), this.$route.query.state && (this.state = this.$route.query.state), this.$route.query.response_type && (this.response_type = this.$route.query.response_type), this.$route.query.realm && (this.$storage.realm = this.$route.query.realm), U.$on("updateLang", this.updateLang), ti.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4391
+ this.$route.query.redirect_uri && (this.redirect_uri = this.$route.query.redirect_uri), this.$route.query.display && (this.display = this.$route.query.display), this.$route.query.state && (this.state = this.$route.query.state), this.$route.query.response_type && (this.response_type = this.$route.query.response_type), this.$route.query.realm && (this.$storage.realm = this.$route.query.realm), z.$on("updateLang", this.updateLang), ti.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4392
4392
  },
4393
4393
  methods: {
4394
4394
  errorHandler(n) {
@@ -4463,14 +4463,14 @@ const ze = {
4463
4463
  ]);
4464
4464
  },
4465
4465
  async switchAccount(n) {
4466
- this.$storage.username = n, this.$storage.UserId = this.loggedInAccounts[n].id, this.setLoggedInUserId(this.loggedInAccounts[n].id), this.setRefreshToken(this.loggedInAccounts[n].refreshToken), await this.refreshTokenAction(this.loggedInAccounts[n]), U.$emit("ssoEvent", {
4466
+ this.$storage.username = n, this.$storage.UserId = this.loggedInAccounts[n].id, this.setLoggedInUserId(this.loggedInAccounts[n].id), this.setRefreshToken(this.loggedInAccounts[n].refreshToken), await this.refreshTokenAction(this.loggedInAccounts[n]), z.$emit("ssoEvent", {
4467
4467
  name: "switchAccount",
4468
4468
  data: { lang: this.appLanguage, username: n }
4469
4469
  });
4470
4470
  },
4471
4471
  async refreshTokenAction(n) {
4472
4472
  return new Promise(async (e, t) => {
4473
- if (!this.refreshToken || this.refreshing)
4473
+ if (!n.refreshToken || this.refreshing)
4474
4474
  return e(null);
4475
4475
  this.refreshing = !0;
4476
4476
  const [r, o] = await Z(
@@ -4478,11 +4478,11 @@ const ze = {
4478
4478
  id: n.id,
4479
4479
  refreshToken: n.refreshToken,
4480
4480
  refreshTokenAction: !0
4481
- }, this.$storage)
4481
+ }, n.storage)
4482
4482
  );
4483
4483
  if (r && r.response && r.response.data.error === "ACCESS_DENIED")
4484
4484
  return this.logout(!1), location.reload();
4485
- o && o.data ? (this.setToken(o.data.token), U.$emit("ssoEvent", { name: "setStorage", data: this.$storage }), e(o.data.token)) : t("Invalid response setToken"), this.refreshing = !1;
4485
+ o && o.data && (z.$emit("setToken", o.data.token), z.$emit("ssoEvent", { name: "setStorage", data: this.$storage }), e(o.data.token)), this.refreshing = !1;
4486
4486
  });
4487
4487
  },
4488
4488
  async login(n) {
@@ -4506,7 +4506,7 @@ const ze = {
4506
4506
  { code: n.data.auth_code, state: this.$route.query.state },
4507
4507
  e
4508
4508
  );
4509
- }) : this.display === "npm" && (U.$emit("ssoEvent", { name: "setLoading", data: !0 }), U.$emit("ssoEvent", { name: "setStorage", data: this.$storage }), U.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: n.data.data.username } }), n.isModal && (U.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login)), this.$router.push("/" + n.data.data.username + "#edit"));
4509
+ }) : this.display === "npm" && (z.$emit("ssoEvent", { name: "setLoading", data: !0 }), z.$emit("ssoEvent", { name: "setStorage", data: this.$storage }), z.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: n.data.data.username } }), n.isModal && (z.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login)), this.$router.push("/" + n.data.data.username + "#edit"));
4510
4510
  },
4511
4511
  async register(n) {
4512
4512
  const [e, t] = await Z(
@@ -4615,7 +4615,7 @@ const ze = {
4615
4615
  setLoggedInAccounts(n) {
4616
4616
  this.loggedInAccounts = {}, n.forEach((e) => {
4617
4617
  this.loggedInAccounts[e.username] = e;
4618
- }), U.$emit("ssoEvent", { name: "setLoggedInAccounts", data: n });
4618
+ }), z.$emit("ssoEvent", { name: "setLoggedInAccounts", data: n });
4619
4619
  },
4620
4620
  setLoggedInUserId(n) {
4621
4621
  this.loggedInUserId = n;
@@ -4655,7 +4655,7 @@ const ze = {
4655
4655
  return t;
4656
4656
  }, ni = {
4657
4657
  name: "AuthWelcome",
4658
- mixins: [ze],
4658
+ mixins: [De],
4659
4659
  data() {
4660
4660
  return {
4661
4661
  loading: !0
@@ -4668,7 +4668,7 @@ const ze = {
4668
4668
  console.log("Play was interrupted:", e);
4669
4669
  });
4670
4670
  }), setTimeout(() => {
4671
- this.$storage.token ? this.$router.push(this.home) : U.$emit("ssoEvent", { name: "setLoading", data: !1 });
4671
+ this.$storage.token ? this.$router.push(this.home) : z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4672
4672
  }, 2500);
4673
4673
  },
4674
4674
  methods: {}
@@ -4698,8 +4698,8 @@ function mi(n, e, t, r, o, i) {
4698
4698
  style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
4699
4699
  autoplay: n.isNative
4700
4700
  }, ai, 8, oi),
4701
- y("h1", si, z(n.ssoLang[this.appLanguage].welcome), 1),
4702
- y("p", ci, z(n.ssoLang[this.appLanguage].welcome_p1), 1),
4701
+ y("h1", si, U(n.ssoLang[this.appLanguage].welcome), 1),
4702
+ y("p", ci, U(n.ssoLang[this.appLanguage].welcome_p1), 1),
4703
4703
  te("", !0),
4704
4704
  te("", !0),
4705
4705
  ke(a, {
@@ -4708,15 +4708,15 @@ function mi(n, e, t, r, o, i) {
4708
4708
  class: "button-center button button-90 google-button bg-tapni-grey pointer"
4709
4709
  }, {
4710
4710
  default: nt(() => [
4711
- y("span", null, z(n.ssoLang[this.appLanguage].create_account), 1)
4711
+ y("span", null, U(n.ssoLang[this.appLanguage].create_account), 1)
4712
4712
  ]),
4713
4713
  _: 1
4714
4714
  }),
4715
4715
  y("div", li, [
4716
4716
  ke(a, { to: "/login" }, {
4717
4717
  default: nt(() => [
4718
- se(z(n.ssoLang[this.appLanguage].already_registered) + "? ", 1),
4719
- y("b", null, z(n.ssoLang[this.appLanguage].sign_in), 1)
4718
+ se(U(n.ssoLang[this.appLanguage].already_registered) + "? ", 1),
4719
+ y("b", null, U(n.ssoLang[this.appLanguage].sign_in), 1)
4720
4720
  ]),
4721
4721
  _: 1
4722
4722
  }),
@@ -4753,7 +4753,7 @@ const Jr = /* @__PURE__ */ We(ni, [["render", mi], ["__scopeId", "data-v-67088d6
4753
4753
  this.referral && (e.ref = this.referral), this.display === "popup" && (e.response_type = "code");
4754
4754
  const [r, o] = await Z(Ne.googleSDK(e, this.$storage));
4755
4755
  if (r)
4756
- return this.googleLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
4756
+ return this.googleLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
4757
4757
  if (o.data.success) {
4758
4758
  if (this.display === "popup")
4759
4759
  return (t = window.parent) == null ? void 0 : t.postMessage({ code: o.data.auth_code, state: this.$route.query.state }, "*");
@@ -4763,7 +4763,7 @@ const Jr = /* @__PURE__ */ We(ni, [["render", mi], ["__scopeId", "data-v-67088d6
4763
4763
  } else
4764
4764
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4765
4765
  } else
4766
- this.googleLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 });
4766
+ this.googleLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4767
4767
  }
4768
4768
  }
4769
4769
  }, fi = In("FacebookLogin", {
@@ -4808,17 +4808,17 @@ const Zr = {
4808
4808
  if (this.referral && (t.ref = this.referral), this.display === "popup" && (t.response_type = "code"), t && t.accessToken) {
4809
4809
  const [o, i] = await Z(Ne.facebookSDK(t, this.$storage));
4810
4810
  if (o)
4811
- return this.facebookLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4811
+ return this.facebookLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4812
4812
  if (i.data.success) {
4813
4813
  if (this.display === "popup")
4814
4814
  return (r = window.parent) == null ? void 0 : r.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
4815
4815
  await this.loginSetup(i), await this.getLoggedInAccounts(), this.$router.push("/" + i.data.data.username + "#edit"), setTimeout(() => {
4816
- this.facebookLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 });
4816
+ this.facebookLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4817
4817
  }, 1e3);
4818
4818
  } else
4819
4819
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4820
4820
  } else
4821
- this.facebookLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 });
4821
+ this.facebookLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4822
4822
  }
4823
4823
  }
4824
4824
  }, gi = In("SignInWithApple", {
@@ -4850,7 +4850,7 @@ const Zr = {
4850
4850
  this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
4851
4851
  const [r, o] = await Z(Ne.appleSDK(e.response, this.$storage));
4852
4852
  if (r)
4853
- return this.appleLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
4853
+ return this.appleLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
4854
4854
  if (o.data.success) {
4855
4855
  if (this.display === "popup")
4856
4856
  return (t = window.parent) == null ? void 0 : t.postMessage({ code: o.data.auth_code, state: this.$route.query.state }, "*");
@@ -4860,7 +4860,7 @@ const Zr = {
4860
4860
  } else
4861
4861
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4862
4862
  } else
4863
- this.appleLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 });
4863
+ this.appleLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 });
4864
4864
  }
4865
4865
  }
4866
4866
  };
@@ -5053,7 +5053,7 @@ var Fn = function(n, e) {
5053
5053
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
5054
5054
  }, Fn(n, e);
5055
5055
  };
5056
- function Ue(n, e) {
5056
+ function ze(n, e) {
5057
5057
  Fn(n, e);
5058
5058
  function t() {
5059
5059
  this.constructor = n;
@@ -5230,10 +5230,10 @@ var g = {
5230
5230
  g.OFFLINE_ACCESS_SCOPE
5231
5231
  ], Cr = Sn(an, [
5232
5232
  g.EMAIL_SCOPE
5233
- ]), De;
5233
+ ]), Be;
5234
5234
  (function(n) {
5235
5235
  n.CONTENT_TYPE = "Content-Type", n.RETRY_AFTER = "Retry-After", n.CCS_HEADER = "X-AnchorMailbox", n.WWWAuthenticate = "WWW-Authenticate", n.AuthenticationInfo = "Authentication-Info", n.X_MS_REQUEST_ID = "x-ms-request-id", n.X_MS_HTTP_VERSION = "x-ms-httpver";
5236
- })(De || (De = {}));
5236
+ })(Be || (Be = {}));
5237
5237
  var he;
5238
5238
  (function(n) {
5239
5239
  n.ID_TOKEN = "idtoken", n.CLIENT_INFO = "client.info", n.ADAL_ID_TOKEN = "adal.idtoken", n.ERROR = "error", n.ERROR_DESC = "error.description", n.ACTIVE_ACCOUNT = "active-account", n.ACTIVE_ACCOUNT_FILTERS = "active-account-filters";
@@ -5360,7 +5360,7 @@ var ln = {
5360
5360
  }, D = (
5361
5361
  /** @class */
5362
5362
  function(n) {
5363
- Ue(e, n);
5363
+ ze(e, n);
5364
5364
  function e(t, r, o) {
5365
5365
  var i = this, a = r ? t + ": " + r : t;
5366
5366
  return i = n.call(this, a) || this, Object.setPrototypeOf(i, e.prototype), i.errorCode = t || g.EMPTY_STRING, i.errorMessage = r || g.EMPTY_STRING, i.subError = o || g.EMPTY_STRING, i.name = "AuthError", i;
@@ -5642,7 +5642,7 @@ var R = {
5642
5642
  }, O = (
5643
5643
  /** @class */
5644
5644
  function(n) {
5645
- Ue(e, n);
5645
+ ze(e, n);
5646
5646
  function e(t, r) {
5647
5647
  var o = n.call(this, t, r) || this;
5648
5648
  return o.name = "ClientAuthError", Object.setPrototypeOf(o, e.prototype), o;
@@ -6009,7 +6009,7 @@ var F = {
6009
6009
  }, ie = (
6010
6010
  /** @class */
6011
6011
  function(n) {
6012
- Ue(e, n);
6012
+ ze(e, n);
6013
6013
  function e(t, r) {
6014
6014
  var o = n.call(this, t, r) || this;
6015
6015
  return o.name = "ClientConfigurationError", Object.setPrototypeOf(o, e.prototype), o;
@@ -6664,7 +6664,7 @@ var Me = (
6664
6664
  ), yi = (
6665
6665
  /** @class */
6666
6666
  function(n) {
6667
- Ue(e, n);
6667
+ ze(e, n);
6668
6668
  function e() {
6669
6669
  return n !== null && n.apply(this, arguments) || this;
6670
6670
  }
@@ -6818,7 +6818,7 @@ function Ri(n) {
6818
6818
  var bt = (
6819
6819
  /** @class */
6820
6820
  function(n) {
6821
- Ue(e, n);
6821
+ ze(e, n);
6822
6822
  function e(t, r, o) {
6823
6823
  var i = n.call(this, t, r, o) || this;
6824
6824
  return i.name = "ServerError", Object.setPrototypeOf(i, e.prototype), i;
@@ -6846,7 +6846,7 @@ var yn = (
6846
6846
  }, n.postProcess = function(e, t, r) {
6847
6847
  if (n.checkResponseStatus(r) || n.checkResponseForRetryAfter(r)) {
6848
6848
  var o = {
6849
- throttleTime: n.calculateThrottleTime(parseInt(r.headers[De.RETRY_AFTER])),
6849
+ throttleTime: n.calculateThrottleTime(parseInt(r.headers[Be.RETRY_AFTER])),
6850
6850
  error: r.body.error,
6851
6851
  errorCodes: r.body.error_codes,
6852
6852
  errorMessage: r.body.error_description,
@@ -6857,7 +6857,7 @@ var yn = (
6857
6857
  }, n.checkResponseStatus = function(e) {
6858
6858
  return e.status === 429 || e.status >= 500 && e.status < 600;
6859
6859
  }, n.checkResponseForRetryAfter = function(e) {
6860
- return e.headers ? e.headers.hasOwnProperty(De.RETRY_AFTER) && (e.status < 200 || e.status >= 300) : !1;
6860
+ return e.headers ? e.headers.hasOwnProperty(Be.RETRY_AFTER) && (e.status < 200 || e.status >= 300) : !1;
6861
6861
  }, n.calculateThrottleTime = function(e) {
6862
6862
  var t = e <= 0 ? 0 : e, r = Date.now() / 1e3;
6863
6863
  return Math.floor(Math.min(r + (t || Jt.DEFAULT_THROTTLE_TIME_SECONDS), r + Jt.DEFAULT_MAX_THROTTLE_TIME_SECONDS) * 1e3);
@@ -6907,10 +6907,10 @@ var Pi = (
6907
6907
  }()
6908
6908
  );
6909
6909
  /*! @azure/msal-common v13.3.1 2023-10-27 */
6910
- var Be;
6910
+ var xe;
6911
6911
  (function(n) {
6912
6912
  n.HOME_ACCOUNT_ID = "home_account_id", n.UPN = "UPN";
6913
- })(Be || (Be = {}));
6913
+ })(xe || (xe = {}));
6914
6914
  /*! @azure/msal-common v13.3.1 2023-10-27 */
6915
6915
  var ft = (
6916
6916
  /** @class */
@@ -6984,9 +6984,9 @@ var Zt = (
6984
6984
  }, n.prototype.addLoginHint = function(e) {
6985
6985
  this.parameters.set(Yt.LOGIN_HINT, encodeURIComponent(e));
6986
6986
  }, n.prototype.addCcsUpn = function(e) {
6987
- this.parameters.set(De.CCS_HEADER, encodeURIComponent("UPN:" + e));
6987
+ this.parameters.set(Be.CCS_HEADER, encodeURIComponent("UPN:" + e));
6988
6988
  }, n.prototype.addCcsOid = function(e) {
6989
- this.parameters.set(De.CCS_HEADER, encodeURIComponent("Oid:" + e.uid + "@" + e.utid));
6989
+ this.parameters.set(Be.CCS_HEADER, encodeURIComponent("Oid:" + e.uid + "@" + e.utid));
6990
6990
  }, n.prototype.addSid = function(e) {
6991
6991
  this.parameters.set(Yt.SID, encodeURIComponent(e));
6992
6992
  }, n.prototype.addClaims = function(e, t) {
@@ -7080,18 +7080,18 @@ var nr = (
7080
7080
  }
7081
7081
  return n.prototype.createTokenRequestHeaders = function(e) {
7082
7082
  var t = {};
7083
- if (t[De.CONTENT_TYPE] = g.URL_FORM_CONTENT_TYPE, !this.config.systemOptions.preventCorsPreflight && e)
7083
+ if (t[Be.CONTENT_TYPE] = g.URL_FORM_CONTENT_TYPE, !this.config.systemOptions.preventCorsPreflight && e)
7084
7084
  switch (e.type) {
7085
- case Be.HOME_ACCOUNT_ID:
7085
+ case xe.HOME_ACCOUNT_ID:
7086
7086
  try {
7087
7087
  var r = Pt(e.credential);
7088
- t[De.CCS_HEADER] = "Oid:" + r.uid + "@" + r.utid;
7088
+ t[Be.CCS_HEADER] = "Oid:" + r.uid + "@" + r.utid;
7089
7089
  } catch (o) {
7090
7090
  this.logger.verbose("Could not parse home account ID for CCS Header: " + o);
7091
7091
  }
7092
7092
  break;
7093
- case Be.UPN:
7094
- t[De.CCS_HEADER] = "UPN: " + e.credential;
7093
+ case xe.UPN:
7094
+ t[Be.CCS_HEADER] = "UPN: " + e.credential;
7095
7095
  break;
7096
7096
  }
7097
7097
  return t;
@@ -7175,7 +7175,7 @@ var rr = (
7175
7175
  var gt = (
7176
7176
  /** @class */
7177
7177
  function(n) {
7178
- Ue(e, n);
7178
+ ze(e, n);
7179
7179
  function e() {
7180
7180
  return n !== null && n.apply(this, arguments) || this;
7181
7181
  }
@@ -7214,7 +7214,7 @@ var Ke = (
7214
7214
  var _t = (
7215
7215
  /** @class */
7216
7216
  function(n) {
7217
- Ue(e, n);
7217
+ ze(e, n);
7218
7218
  function e() {
7219
7219
  return n !== null && n.apply(this, arguments) || this;
7220
7220
  }
@@ -7225,10 +7225,10 @@ var _t = (
7225
7225
  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(_) ? ne.BEARER : _, N && ($.requestedClaims = N, $.requestedClaimsHash = Q), ((X = $.tokenType) === null || X === void 0 ? void 0 : X.toLowerCase()) !== ne.BEARER.toLowerCase())
7226
7226
  switch ($.credentialType = H.ACCESS_TOKEN_WITH_AUTH_SCHEME, $.tokenType) {
7227
7227
  case ne.POP:
7228
- var xe = rt.extractTokenClaims(o, d);
7229
- if (!(!((G = xe == null ? void 0 : xe.cnf) === null || G === void 0) && G.kid))
7228
+ var Ue = rt.extractTokenClaims(o, d);
7229
+ if (!(!((G = Ue == null ? void 0 : Ue.cnf) === null || G === void 0) && G.kid))
7230
7230
  throw O.createTokenClaimsRequiredError();
7231
- $.keyId = xe.cnf.kid;
7231
+ $.keyId = Ue.cnf.kid;
7232
7232
  break;
7233
7233
  case ne.SSH:
7234
7234
  $.keyId = E;
@@ -7243,7 +7243,7 @@ var _t = (
7243
7243
  var Mt = (
7244
7244
  /** @class */
7245
7245
  function(n) {
7246
- Ue(e, n);
7246
+ ze(e, n);
7247
7247
  function e() {
7248
7248
  return n !== null && n.apply(this, arguments) || this;
7249
7249
  }
@@ -7278,7 +7278,7 @@ var Ir = [
7278
7278
  }, Ye = (
7279
7279
  /** @class */
7280
7280
  function(n) {
7281
- Ue(e, n);
7281
+ ze(e, n);
7282
7282
  function e(t, r, o, i, a, s, u) {
7283
7283
  var p = n.call(this, t, r, o) || this;
7284
7284
  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;
@@ -7658,7 +7658,7 @@ var wn = (
7658
7658
  }, n.generateAuthenticationResult = function(e, t, r, o, i, a, s, u, p) {
7659
7659
  var d, f, _;
7660
7660
  return j(this, void 0, void 0, function() {
7661
- var k, E, N, Q, X, G, $, Ae, xe, Ve, Ct;
7661
+ var k, E, N, Q, X, G, $, Ae, Ue, Ve, Ct;
7662
7662
  return K(this, function(ce) {
7663
7663
  switch (ce.label) {
7664
7664
  case 0:
@@ -7666,9 +7666,9 @@ var wn = (
7666
7666
  return [3, 4];
7667
7667
  if (r.accessToken.tokenType !== ne.POP)
7668
7668
  return [3, 2];
7669
- if (G = new xt(e), $ = r.accessToken, Ae = $.secret, xe = $.keyId, !xe)
7669
+ if (G = new xt(e), $ = r.accessToken, Ae = $.secret, Ue = $.keyId, !Ue)
7670
7670
  throw O.createKeyIdMissingError();
7671
- return [4, G.signPopToken(Ae, xe, i)];
7671
+ return [4, G.signPopToken(Ae, Ue, i)];
7672
7672
  case 1:
7673
7673
  return k = ce.sent(), [3, 3];
7674
7674
  case 2:
@@ -7708,7 +7708,7 @@ var wn = (
7708
7708
  var ro = (
7709
7709
  /** @class */
7710
7710
  function(n) {
7711
- Ue(e, n);
7711
+ ze(e, n);
7712
7712
  function e(t, r) {
7713
7713
  var o = n.call(this, t, r) || this;
7714
7714
  return o.includeRedirectUri = !0, o;
@@ -7737,7 +7737,7 @@ var ro = (
7737
7737
  throw O.createTokenRequestCannotBeMadeError();
7738
7738
  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)];
7739
7739
  case 1:
7740
- 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({
7740
+ return _ = X.sent(), k = (s = _.headers) === null || s === void 0 ? void 0 : s[Be.X_MS_REQUEST_ID], E = (u = _.headers) === null || u === void 0 ? void 0 : u[Be.X_MS_HTTP_VERSION], E && (d == null || d.addStaticFields({
7741
7741
  httpVerAuthority: E
7742
7742
  })), 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) {
7743
7743
  return d == null || d.endMeasurement({
@@ -7779,7 +7779,7 @@ var ro = (
7779
7779
  try {
7780
7780
  d = vn(r.clientInfo, this.cryptoUtils), p = {
7781
7781
  credential: "" + d.uid + fe.CLIENT_INFO_SEPARATOR + d.utid,
7782
- type: Be.HOME_ACCOUNT_ID
7782
+ type: xe.HOME_ACCOUNT_ID
7783
7783
  };
7784
7784
  } catch (E) {
7785
7785
  this.logger.verbose("Could not parse client info for CCS Header: " + E);
@@ -7820,7 +7820,7 @@ var ro = (
7820
7820
  try {
7821
7821
  f = vn(t.clientInfo, this.cryptoUtils), d = {
7822
7822
  credential: "" + f.uid + fe.CLIENT_INFO_SEPARATOR + f.utid,
7823
- type: Be.HOME_ACCOUNT_ID
7823
+ type: xe.HOME_ACCOUNT_ID
7824
7824
  };
7825
7825
  } catch (E) {
7826
7826
  this.logger.verbose("Could not parse client info for CCS Header: " + E);
@@ -7829,14 +7829,14 @@ var ro = (
7829
7829
  d = t.ccsCredential;
7830
7830
  if (this.config.systemOptions.preventCorsPreflight && d)
7831
7831
  switch (d.type) {
7832
- case Be.HOME_ACCOUNT_ID:
7832
+ case xe.HOME_ACCOUNT_ID:
7833
7833
  try {
7834
7834
  f = Pt(d.credential), i.addCcsOid(f);
7835
7835
  } catch (E) {
7836
7836
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
7837
7837
  }
7838
7838
  break;
7839
- case Be.UPN:
7839
+ case xe.UPN:
7840
7840
  i.addCcsUpn(d.credential);
7841
7841
  break;
7842
7842
  }
@@ -7907,7 +7907,7 @@ var ro = (
7907
7907
  var oo = (
7908
7908
  /** @class */
7909
7909
  function(n) {
7910
- Ue(e, n);
7910
+ ze(e, n);
7911
7911
  function e(t, r) {
7912
7912
  return n.call(this, t, r) || this;
7913
7913
  }
@@ -7920,11 +7920,11 @@ var oo = (
7920
7920
  case 0:
7921
7921
  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)];
7922
7922
  case 1:
7923
- return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[De.X_MS_HTTP_VERSION], d == null || d.addStaticFields({
7923
+ return _ = X.sent(), k = (a = _.headers) === null || a === void 0 ? void 0 : a[Be.X_MS_HTTP_VERSION], d == null || d.addStaticFields({
7924
7924
  refreshTokenSize: ((s = _.body.refresh_token) === null || s === void 0 ? void 0 : s.length) || 0
7925
7925
  }), k && (d == null || d.addStaticFields({
7926
7926
  httpVerToken: k
7927
- })), 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) {
7927
+ })), E = (u = _.headers) === null || u === void 0 ? void 0 : u[Be.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) {
7928
7928
  return d == null || d.endMeasurement({
7929
7929
  success: !0
7930
7930
  }), G;
@@ -7969,7 +7969,7 @@ var oo = (
7969
7969
  success: !0
7970
7970
  }), p = ee(ee({}, t), { refreshToken: u.secret, authenticationScheme: t.authenticationScheme || ne.BEARER, ccsCredential: {
7971
7971
  credential: t.account.homeAccountId,
7972
- type: Be.HOME_ACCOUNT_ID
7972
+ type: xe.HOME_ACCOUNT_ID
7973
7973
  } }), (a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(b.RefreshTokenClientAcquireToken, t.correlationId), [2, this.acquireToken(p)];
7974
7974
  });
7975
7975
  });
@@ -8026,14 +8026,14 @@ var oo = (
8026
8026
  case 3:
8027
8027
  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)
8028
8028
  switch (t.ccsCredential.type) {
8029
- case Be.HOME_ACCOUNT_ID:
8029
+ case xe.HOME_ACCOUNT_ID:
8030
8030
  try {
8031
8031
  _ = Pt(t.ccsCredential.credential), u.addCcsOid(_);
8032
8032
  } catch (E) {
8033
8033
  this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
8034
8034
  }
8035
8035
  break;
8036
- case Be.UPN:
8036
+ case xe.UPN:
8037
8037
  u.addCcsUpn(t.ccsCredential.credential);
8038
8038
  break;
8039
8039
  }
@@ -8050,7 +8050,7 @@ var oo = (
8050
8050
  var Oi = (
8051
8051
  /** @class */
8052
8052
  function(n) {
8053
- Ue(e, n);
8053
+ ze(e, n);
8054
8054
  function e(t, r) {
8055
8055
  return n.call(this, t, r) || this;
8056
8056
  }
@@ -8719,7 +8719,7 @@ var un = {
8719
8719
  }, Pr = (
8720
8720
  /** @class */
8721
8721
  function(n) {
8722
- Ue(e, n);
8722
+ ze(e, n);
8723
8723
  function e(t, r) {
8724
8724
  var o = n.call(this, t, r) || this;
8725
8725
  return o.name = "JoseHeaderError", Object.setPrototypeOf(o, e.prototype), o;
@@ -8966,7 +8966,7 @@ var Mr = (
8966
8966
  ), Fi = (
8967
8967
  /** @class */
8968
8968
  function(n) {
8969
- Ue(e, n);
8969
+ ze(e, n);
8970
8970
  function e() {
8971
8971
  return n !== null && n.apply(this, arguments) || this;
8972
8972
  }
@@ -9927,13 +9927,13 @@ var $n = (
9927
9927
  if (this.setTemporaryCache(p, o, !1), a) {
9928
9928
  var d = {
9929
9929
  credential: a.homeAccountId,
9930
- type: Be.HOME_ACCOUNT_ID
9930
+ type: xe.HOME_ACCOUNT_ID
9931
9931
  };
9932
9932
  this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9933
9933
  } else if (!L.isEmpty(i)) {
9934
9934
  var d = {
9935
9935
  credential: i,
9936
- type: Be.UPN
9936
+ type: xe.UPN
9937
9937
  };
9938
9938
  this.setTemporaryCache(J.CCS_CREDENTIAL, JSON.stringify(d), !0);
9939
9939
  }
@@ -11448,7 +11448,7 @@ var Wi = (
11448
11448
  }
11449
11449
  }, e.prototype.acquireTokenPopupAsync = function(t, r, o, i) {
11450
11450
  return T(this, void 0, void 0, function() {
11451
- var a, s, u, p, d, f, _, k, E, N, Q, X, G, $, Ae, xe, Ve, Ct = this;
11451
+ var a, s, u, p, d, f, _, k, E, N, Q, X, G, $, Ae, Ue, Ve, Ct = this;
11452
11452
  return I(this, function(ce) {
11453
11453
  switch (ce.label) {
11454
11454
  case 0:
@@ -11484,7 +11484,7 @@ var Wi = (
11484
11484
  }
11485
11485
  return [4, k.handleCodeResponseFromHash(Q, G, p.authority, this.networkClient)];
11486
11486
  case 7:
11487
- return xe = ce.sent(), [2, xe];
11487
+ return Ue = ce.sent(), [2, Ue];
11488
11488
  case 8:
11489
11489
  throw Ve = ce.sent(), i && i.close(), Ve instanceof D && Ve.setCorrelationId(this.correlationId), a.cacheFailedRequest(Ve), this.browserStorage.cleanRequestByState(s.state), Ve;
11490
11490
  case 9:
@@ -13685,7 +13685,7 @@ const An = {
13685
13685
  Ne.microsoftSDK(r, this.$storage)
13686
13686
  );
13687
13687
  if (s)
13688
- return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
13688
+ return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
13689
13689
  if (u.data.success) {
13690
13690
  if (this.display === "popup")
13691
13691
  return (a = window.parent) == null ? void 0 : a.postMessage(
@@ -13698,10 +13698,10 @@ const An = {
13698
13698
  } else
13699
13699
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
13700
13700
  } else
13701
- this.microsoftLoad = !1, this.microsoftSSOLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 });
13701
+ this.microsoftLoad = !1, this.microsoftSSOLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 });
13702
13702
  },
13703
13703
  ssoLogin() {
13704
- U.$emit("toggleSSOModal");
13704
+ z.$emit("toggleSSOModal");
13705
13705
  }
13706
13706
  }
13707
13707
  }, Ut = {
@@ -13814,12 +13814,12 @@ const An = {
13814
13814
  localStorage.removeItem("pkce_code_verifier");
13815
13815
  let r = { accessToken: (o = t.data) == null ? void 0 : o.access_token, domain: n.domain };
13816
13816
  if (this.display === "popup" && (r.response_type = "code"), [e, t] = await Z(Ne.oktaSDK(r, this.$storage)), e)
13817
- return this.oktaLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
13817
+ return this.oktaLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
13818
13818
  if (t.data.success) {
13819
13819
  if (this.display === "popup")
13820
13820
  return (i = window.parent) == null ? void 0 : i.postMessage({ code: t.data.auth_code, state: this.$route.query.state }, "*");
13821
13821
  await this.loginSetup(t), await this.getLoggedInAccounts(), this.$router.push("/" + t.data.data.username + "#edit"), setTimeout(() => {
13822
- this.appleLoad = !1, U.$emit("ssoEvent", { name: "setLoading", data: !1 });
13822
+ this.appleLoad = !1, z.$emit("ssoEvent", { name: "setLoading", data: !1 });
13823
13823
  }, 1e3);
13824
13824
  } else
13825
13825
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
@@ -13844,7 +13844,7 @@ const An = {
13844
13844
  const a = new URLSearchParams(e);
13845
13845
  t = a.get("client_id"), r = a.get("domain"), o = a.get("platform");
13846
13846
  }
13847
- window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isIOS && await hn.close(), U.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && t && r && await this.exchangeCode({ code: n, clientID: t, domain: r, platform: o }), localStorage.removeItem("pkce_code_verifier"), U.$emit("ssoEvent", { name: "setLoading", data: !1 }));
13847
+ window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isIOS && await hn.close(), z.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && t && r && await this.exchangeCode({ code: n, clientID: t, domain: r, platform: o }), localStorage.removeItem("pkce_code_verifier"), z.$emit("ssoEvent", { name: "setLoading", data: !1 }));
13848
13848
  }
13849
13849
  }
13850
13850
  };
@@ -13929,7 +13929,7 @@ ir.write = function(n, e, t, r, o, i) {
13929
13929
  */
13930
13930
  (function(n) {
13931
13931
  const e = Pn, t = ir, r = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
13932
- n.Buffer = d, n.SlowBuffer = xe, n.INSPECT_MAX_BYTES = 50;
13932
+ n.Buffer = d, n.SlowBuffer = Ue, n.INSPECT_MAX_BYTES = 50;
13933
13933
  const o = 2147483647;
13934
13934
  n.kMaxLength = o;
13935
13935
  const { Uint8Array: i, ArrayBuffer: a, SharedArrayBuffer: s } = globalThis;
@@ -14070,7 +14070,7 @@ ir.write = function(n, e, t, r, o, i) {
14070
14070
  throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes");
14071
14071
  return h | 0;
14072
14072
  }
14073
- function xe(h) {
14073
+ function Ue(h) {
14074
14074
  return +h != h && (h = 0), d.alloc(+h);
14075
14075
  }
14076
14076
  d.isBuffer = function(c) {
@@ -14938,12 +14938,12 @@ const La = fo.Buffer, Mn = {
14938
14938
  if (this.$route.query.code && (e.code = this.$route.query.code), window.opener)
14939
14939
  window.opener.postMessage(e, location.origin), window.close();
14940
14940
  else {
14941
- if (this.isNative && this.isIOS && await hn.close(), U.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (n = this.$route.query.code), console.log(this.display, { code: n }), n) {
14941
+ if (this.isNative && this.isIOS && await hn.close(), z.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (n = this.$route.query.code), console.log(this.display, { code: n }), n) {
14942
14942
  if (this.display === "popup")
14943
14943
  return (t = window.parent) == null ? void 0 : t.postMessage({ code: n, state: this.$route.query.state }, "*");
14944
14944
  await this.exchangeAuthCode({ code: n, code_verifier: localStorage.getItem("pkce_code_verifier") });
14945
14945
  }
14946
- localStorage.removeItem("pkce_code_verifier"), U.$emit("ssoEvent", { name: "setLoading", data: !1 });
14946
+ localStorage.removeItem("pkce_code_verifier"), z.$emit("ssoEvent", { name: "setLoading", data: !1 });
14947
14947
  }
14948
14948
  }
14949
14949
  }
@@ -15025,7 +15025,7 @@ const La = fo.Buffer, Mn = {
15025
15025
  }
15026
15026
  }, za = {
15027
15027
  name: "AuthLogin",
15028
- mixins: [Xr, Zr, eo, An, Rn, Mn, ze, Oa],
15028
+ mixins: [Xr, Zr, eo, An, Rn, Mn, De, Oa],
15029
15029
  props: {
15030
15030
  isModal: {
15031
15031
  type: Boolean,
@@ -15064,7 +15064,7 @@ const La = fo.Buffer, Mn = {
15064
15064
  return await this.handleOktaRedirect();
15065
15065
  if (this.$route.path === "/login/callback/saml")
15066
15066
  return await this.handleSamlRedirect();
15067
- this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && U.$emit("ssoEvent", { name: "setLoading", data: !1 });
15067
+ this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && z.$emit("ssoEvent", { name: "setLoading", data: !1 });
15068
15068
  }
15069
15069
  },
15070
15070
  methods: {
@@ -15084,10 +15084,10 @@ const La = fo.Buffer, Mn = {
15084
15084
  t && console.error(t), this.submitted = !1, r === !0 && (this.emailOrUsername = "", this.password = "");
15085
15085
  },
15086
15086
  close() {
15087
- U.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
15087
+ z.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
15088
15088
  },
15089
15089
  createAccountModal() {
15090
- U.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
15090
+ z.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
15091
15091
  }
15092
15092
  },
15093
15093
  watch: {
@@ -15196,7 +15196,7 @@ function Ps(n, e, t, r, o, i) {
15196
15196
  class: "color-black pull-right pointer",
15197
15197
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
15198
15198
  }, xa)) : te("", !0),
15199
- y("h1", Ba, z(this.ssoLang[this.appLanguage].login), 1),
15199
+ y("h1", Ba, U(this.ssoLang[this.appLanguage].login), 1),
15200
15200
  Da,
15201
15201
  i.displayFormLogin ? (S(), P("span", Ha, [
15202
15202
  y("div", qa, [
@@ -15242,7 +15242,7 @@ function Ps(n, e, t, r, o, i) {
15242
15242
  ])
15243
15243
  ]),
15244
15244
  y("button", $a, [
15245
- o.submitted ? (S(), P("span", Xa)) : (S(), P("span", Ja, z(n.ssoLang[n.appLanguage].login), 1))
15245
+ o.submitted ? (S(), P("span", Xa)) : (S(), P("span", Ja, U(n.ssoLang[n.appLanguage].login), 1))
15246
15246
  ])
15247
15247
  ])) : te("", !0),
15248
15248
  Za,
@@ -15252,7 +15252,7 @@ function Ps(n, e, t, r, o, i) {
15252
15252
  class: "button-center button button-90 google-button pointer"
15253
15253
  }, [
15254
15254
  es,
15255
- n.appleLoad ? (S(), P("span", ns)) : (S(), P("span", ts, z(n.ssoLang[n.appLanguage].sign_in_with) + " Apple", 1))
15255
+ n.appleLoad ? (S(), P("span", ns)) : (S(), P("span", ts, U(n.ssoLang[n.appLanguage].sign_in_with) + " Apple", 1))
15256
15256
  ])) : te("", !0),
15257
15257
  n.displayGoogleLogin ? (S(), P("a", {
15258
15258
  key: 3,
@@ -15260,7 +15260,7 @@ function Ps(n, e, t, r, o, i) {
15260
15260
  class: "button-center button button-90 google-button pointer"
15261
15261
  }, [
15262
15262
  rs,
15263
- n.googleLoad ? (S(), P("span", is)) : (S(), P("span", os, z(n.ssoLang[n.appLanguage].sign_in_with) + " Google", 1))
15263
+ n.googleLoad ? (S(), P("span", is)) : (S(), P("span", os, U(n.ssoLang[n.appLanguage].sign_in_with) + " Google", 1))
15264
15264
  ])) : te("", !0),
15265
15265
  n.displayFacebookLogin ? (S(), P("a", {
15266
15266
  key: 4,
@@ -15268,7 +15268,7 @@ function Ps(n, e, t, r, o, i) {
15268
15268
  class: "button-center button button-90 google-button pointer"
15269
15269
  }, [
15270
15270
  as,
15271
- n.facebookLoad ? (S(), P("span", cs)) : (S(), P("span", ss, z(n.ssoLang[n.appLanguage].sign_in_with) + " Facebook", 1))
15271
+ n.facebookLoad ? (S(), P("span", cs)) : (S(), P("span", ss, U(n.ssoLang[n.appLanguage].sign_in_with) + " Facebook", 1))
15272
15272
  ])) : te("", !0),
15273
15273
  n.displayMicrosoftSSOLogin ? te("", !0) : (S(), P("a", {
15274
15274
  key: 5,
@@ -15276,7 +15276,7 @@ function Ps(n, e, t, r, o, i) {
15276
15276
  class: "button-center button button-90 google-button pointer"
15277
15277
  }, [
15278
15278
  ls,
15279
- n.microsoftLoad ? (S(), P("span", ds)) : (S(), P("span", us, z(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15279
+ n.microsoftLoad ? (S(), P("span", ds)) : (S(), P("span", us, U(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
15280
15280
  ])),
15281
15281
  n.displayMicrosoftSSOLogin ? te("", !0) : (S(), P("a", {
15282
15282
  key: 6,
@@ -15284,7 +15284,7 @@ function Ps(n, e, t, r, o, i) {
15284
15284
  class: "button-center button button-90 google-button pointer"
15285
15285
  }, [
15286
15286
  ps,
15287
- n.microsoftSSOLoad ? (S(), P("span", ms)) : (S(), P("span", hs, z(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1))
15287
+ n.microsoftSSOLoad ? (S(), P("span", ms)) : (S(), P("span", hs, U(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1))
15288
15288
  ])),
15289
15289
  n.displayMicrosoftSSOLogin ? (S(), P("a", {
15290
15290
  key: 7,
@@ -15292,7 +15292,7 @@ function Ps(n, e, t, r, o, i) {
15292
15292
  class: "button-center button button-90 google-button pointer"
15293
15293
  }, [
15294
15294
  fs,
15295
- n.microsoftSSOLoad ? (S(), P("span", gs, z(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1)) : (S(), P("span", _s))
15295
+ n.microsoftSSOLoad ? (S(), P("span", gs, U(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1)) : (S(), P("span", _s))
15296
15296
  ])) : te("", !0),
15297
15297
  i.displayFormLogin ? te("", !0) : (S(), P("a", {
15298
15298
  key: 8,
@@ -15300,15 +15300,15 @@ function Ps(n, e, t, r, o, i) {
15300
15300
  class: "button-center button button-90 google-button pointer"
15301
15301
  }, [
15302
15302
  vs,
15303
- y("span", null, z(n.ssoLang[n.appLanguage].sign_in_with) + " Email", 1)
15303
+ y("span", null, U(n.ssoLang[n.appLanguage].sign_in_with) + " Email", 1)
15304
15304
  ])),
15305
15305
  ys,
15306
15306
  y("p", ks, [
15307
- se(z(n.ssoLang[n.appLanguage].terms_by_signing_in) + " ", 1),
15307
+ se(U(n.ssoLang[n.appLanguage].terms_by_signing_in) + " ", 1),
15308
15308
  ws,
15309
- y("a", bs, z(n.ssoLang[this.appLanguage].terms_of_service), 1),
15310
- se(" " + z(n.ssoLang[n.appLanguage].and) + " ", 1),
15311
- y("a", Cs, z(n.ssoLang[this.appLanguage].privacy_policy), 1)
15309
+ y("a", bs, U(n.ssoLang[this.appLanguage].terms_of_service), 1),
15310
+ se(" " + U(n.ssoLang[n.appLanguage].and) + " ", 1),
15311
+ y("a", Cs, U(n.ssoLang[this.appLanguage].privacy_policy), 1)
15312
15312
  ]),
15313
15313
  Es,
15314
15314
  t.isModal ? (S(), P("div", {
@@ -15317,9 +15317,9 @@ function Ps(n, e, t, r, o, i) {
15317
15317
  onClick: e[12] || (e[12] = (...s) => i.createAccountModal && i.createAccountModal(...s))
15318
15318
  }, [
15319
15319
  y("a", Ss, [
15320
- se(z(n.ssoLang[n.appLanguage].or) + " ", 1),
15320
+ se(U(n.ssoLang[n.appLanguage].or) + " ", 1),
15321
15321
  As,
15322
- se(" " + z(n.ssoLang[n.appLanguage].create_new_account), 1)
15322
+ se(" " + U(n.ssoLang[n.appLanguage].create_new_account), 1)
15323
15323
  ]),
15324
15324
  Rs
15325
15325
  ])) : (S(), P("div", Ts, [
@@ -15329,7 +15329,7 @@ function Ps(n, e, t, r, o, i) {
15329
15329
  to: "/register"
15330
15330
  }, {
15331
15331
  default: nt(() => [
15332
- se(z(n.ssoLang[n.appLanguage].create_account), 1)
15332
+ se(U(n.ssoLang[n.appLanguage].create_account), 1)
15333
15333
  ]),
15334
15334
  _: 1
15335
15335
  })) : te("", !0),
@@ -15339,7 +15339,7 @@ function Ps(n, e, t, r, o, i) {
15339
15339
  to: "/reset"
15340
15340
  }, {
15341
15341
  default: nt(() => [
15342
- se(z(n.ssoLang[n.appLanguage].reset_password), 1)
15342
+ se(U(n.ssoLang[n.appLanguage].reset_password), 1)
15343
15343
  ]),
15344
15344
  _: 1
15345
15345
  })) : te("", !0),
@@ -15349,7 +15349,7 @@ function Ps(n, e, t, r, o, i) {
15349
15349
  }
15350
15350
  const _o = /* @__PURE__ */ We(za, [["render", Ps]]), Ms = {
15351
15351
  name: "AuthRegister",
15352
- mixins: [Xr, Zr, eo, An, ze],
15352
+ mixins: [Xr, Zr, eo, An, De],
15353
15353
  props: {
15354
15354
  isModal: {
15355
15355
  type: Boolean,
@@ -15373,7 +15373,7 @@ const _o = /* @__PURE__ */ We(za, [["render", Ps]]), Ms = {
15373
15373
  };
15374
15374
  },
15375
15375
  mounted() {
15376
- this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && U.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.invitationCode = this.$route.query.ic || "", this.$route.query.username && (this.usernameRegister = !0, this.emailLogin = !0, this.username = this.$route.query.username), this.$route.query.ref ? this.referral = this.$route.query.ref : this.$storage.referral && (this.referral = this.$storage.referral));
15376
+ this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && z.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.invitationCode = this.$route.query.ic || "", this.$route.query.username && (this.usernameRegister = !0, this.emailLogin = !0, this.username = this.$route.query.username), this.$route.query.ref ? this.referral = this.$route.query.ref : this.$storage.referral && (this.referral = this.$storage.referral));
15377
15377
  },
15378
15378
  methods: {
15379
15379
  async submit() {
@@ -15397,13 +15397,13 @@ const _o = /* @__PURE__ */ We(za, [["render", Ps]]), Ms = {
15397
15397
  captchaToken: await this.getCaptchaToken("account_verify"),
15398
15398
  ref: this.referral
15399
15399
  }, e = await this.register(n);
15400
- this.submitted = !1, e.data && e.data.success && (e.data.message === "SUCCESS_REGISTER" ? (this.isModal ? U.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : e.data.message === "SUCCESS_LOGIN" && (this.display === "npm" && (await this.loginSetup({ ...e, isModal: n.isModal }), await this.getLoggedInAccounts()), await this.loginSuccess({ ...e, isModal: n.isModal })));
15400
+ this.submitted = !1, e.data && e.data.success && (e.data.message === "SUCCESS_REGISTER" ? (this.isModal ? z.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : e.data.message === "SUCCESS_LOGIN" && (this.display === "npm" && (await this.loginSetup({ ...e, isModal: n.isModal }), await this.getLoggedInAccounts()), await this.loginSuccess({ ...e, isModal: n.isModal })));
15401
15401
  },
15402
15402
  close() {
15403
- U.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
15403
+ z.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
15404
15404
  },
15405
15405
  loginAccountModal() {
15406
- U.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
15406
+ z.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
15407
15407
  }
15408
15408
  },
15409
15409
  watch: {
@@ -15497,10 +15497,10 @@ function Cc(n, e, t, r, o, i) {
15497
15497
  class: "color-black pull-right pointer",
15498
15498
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
15499
15499
  }, Ls)) : te("", !0),
15500
- y("h1", Os, z(n.ssoLang[this.appLanguage].register), 1),
15500
+ y("h1", Os, U(n.ssoLang[this.appLanguage].register), 1),
15501
15501
  y("p", zs, [
15502
15502
  o.usernameRegister ? (S(), P("span", Us, [
15503
- se(" t.link/" + z(o.username) + " " + z(n.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
15503
+ se(" t.link/" + U(o.username) + " " + U(n.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
15504
15504
  xs
15505
15505
  ])) : te("", !0)
15506
15506
  ]),
@@ -15565,7 +15565,7 @@ function Cc(n, e, t, r, o, i) {
15565
15565
  ])
15566
15566
  ]),
15567
15567
  y("button", Xs, [
15568
- o.submitted ? (S(), P("span", ec)) : (S(), P("span", Zs, z(o.formButtonText), 1))
15568
+ o.submitted ? (S(), P("span", ec)) : (S(), P("span", Zs, U(o.formButtonText), 1))
15569
15569
  ])
15570
15570
  ])) : te("", !0),
15571
15571
  tc,
@@ -15575,14 +15575,14 @@ function Cc(n, e, t, r, o, i) {
15575
15575
  class: "button-center button button-90 google-button pointer"
15576
15576
  }, [
15577
15577
  nc,
15578
- n.appleLoad ? (S(), P("span", oc)) : (S(), P("span", rc, z(n.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
15578
+ n.appleLoad ? (S(), P("span", oc)) : (S(), P("span", rc, U(n.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
15579
15579
  ])) : te("", !0),
15580
15580
  y("a", {
15581
15581
  onClick: e[8] || (e[8] = (...s) => n.googleLogin && n.googleLogin(...s)),
15582
15582
  class: "button-center button button-90 google-button pointer"
15583
15583
  }, [
15584
15584
  ic,
15585
- n.googleLoad ? (S(), P("span", sc)) : (S(), P("span", ac, z(n.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
15585
+ n.googleLoad ? (S(), P("span", sc)) : (S(), P("span", ac, U(n.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
15586
15586
  ]),
15587
15587
  n.displayFacebookLogin ? (S(), P("a", {
15588
15588
  key: 3,
@@ -15590,7 +15590,7 @@ function Cc(n, e, t, r, o, i) {
15590
15590
  class: "button-center button button-90 google-button pointer"
15591
15591
  }, [
15592
15592
  cc,
15593
- n.facebookLoad ? (S(), P("span", uc)) : (S(), P("span", lc, z(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15593
+ n.facebookLoad ? (S(), P("span", uc)) : (S(), P("span", lc, U(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
15594
15594
  ])) : te("", !0),
15595
15595
  o.emailLogin ? te("", !0) : (S(), P("a", {
15596
15596
  key: 4,
@@ -15598,15 +15598,15 @@ function Cc(n, e, t, r, o, i) {
15598
15598
  class: "button-center button button-90 google-button pointer"
15599
15599
  }, [
15600
15600
  dc,
15601
- y("span", null, z(n.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
15601
+ y("span", null, U(n.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
15602
15602
  ])),
15603
15603
  pc,
15604
15604
  y("p", hc, [
15605
- se(z(n.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
15605
+ se(U(n.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
15606
15606
  mc,
15607
- y("a", fc, z(n.ssoLang[this.appLanguage].terms_of_service), 1),
15608
- se(" " + z(n.ssoLang[this.appLanguage].and) + " ", 1),
15609
- y("a", gc, z(n.ssoLang[this.appLanguage].privacy_policy), 1)
15607
+ y("a", fc, U(n.ssoLang[this.appLanguage].terms_of_service), 1),
15608
+ se(" " + U(n.ssoLang[this.appLanguage].and) + " ", 1),
15609
+ y("a", gc, U(n.ssoLang[this.appLanguage].privacy_policy), 1)
15610
15610
  ]),
15611
15611
  _c,
15612
15612
  t.isModal ? (S(), P("div", {
@@ -15615,9 +15615,9 @@ function Cc(n, e, t, r, o, i) {
15615
15615
  onClick: e[11] || (e[11] = (...s) => i.loginAccountModal && i.loginAccountModal(...s))
15616
15616
  }, [
15617
15617
  y("a", kc, [
15618
- se(z(n.ssoLang[this.appLanguage].or) + " ", 1),
15618
+ se(U(n.ssoLang[this.appLanguage].or) + " ", 1),
15619
15619
  wc,
15620
- se(" " + z(n.ssoLang[this.appLanguage].sign_in_with_new), 1)
15620
+ se(" " + U(n.ssoLang[this.appLanguage].sign_in_with_new), 1)
15621
15621
  ]),
15622
15622
  bc
15623
15623
  ])) : (S(), P("div", vc, [
@@ -15626,7 +15626,7 @@ function Cc(n, e, t, r, o, i) {
15626
15626
  to: "/verify"
15627
15627
  }, {
15628
15628
  default: nt(() => [
15629
- se(z(n.ssoLang[this.appLanguage].verify_account), 1)
15629
+ se(U(n.ssoLang[this.appLanguage].verify_account), 1)
15630
15630
  ]),
15631
15631
  _: 1
15632
15632
  }),
@@ -15635,7 +15635,7 @@ function Cc(n, e, t, r, o, i) {
15635
15635
  to: "/login"
15636
15636
  }, {
15637
15637
  default: nt(() => [
15638
- se(z(n.ssoLang[this.appLanguage].sign_in), 1)
15638
+ se(U(n.ssoLang[this.appLanguage].sign_in), 1)
15639
15639
  ]),
15640
15640
  _: 1
15641
15641
  }),
@@ -15645,7 +15645,7 @@ function Cc(n, e, t, r, o, i) {
15645
15645
  }
15646
15646
  const vo = /* @__PURE__ */ We(Ms, [["render", Cc]]), Ec = {
15647
15647
  name: "AuthVerify",
15648
- mixins: [ze],
15648
+ mixins: [De],
15649
15649
  props: {
15650
15650
  isModal: {
15651
15651
  type: Boolean,
@@ -15668,7 +15668,7 @@ const vo = /* @__PURE__ */ We(Ms, [["render", Cc]]), Ec = {
15668
15668
  },
15669
15669
  methods: {
15670
15670
  init() {
15671
- this.isLoggedIn ? this.$router.push(this.home) : (this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), U.$emit("ssoEvent", { name: "setLoading", data: !1 }));
15671
+ this.isLoggedIn ? this.$router.push(this.home) : (this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), z.$emit("ssoEvent", { name: "setLoading", data: !1 }));
15672
15672
  },
15673
15673
  async submit() {
15674
15674
  if (this.code.length !== 6)
@@ -15683,13 +15683,13 @@ const vo = /* @__PURE__ */ We(Ms, [["render", Cc]]), Ec = {
15683
15683
  return !1;
15684
15684
  this.submitted = !0;
15685
15685
  let e = await this.verify(n);
15686
- this.submitted = !1, e && e.data && e.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", U.$emit("closeModal")), await this.loginSetup(e), await this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + e.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
15686
+ this.submitted = !1, e && e.data && e.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", z.$emit("closeModal")), await this.loginSetup(e), await this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + e.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
15687
15687
  },
15688
15688
  registerAccountModal() {
15689
- U.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
15689
+ z.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
15690
15690
  },
15691
15691
  close() {
15692
- U.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
15692
+ z.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
15693
15693
  }
15694
15694
  },
15695
15695
  watch: {
@@ -15755,7 +15755,7 @@ function $c(n, e, t, r, o, i) {
15755
15755
  class: "color-black pull-right pointer",
15756
15756
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
15757
15757
  }, Ic)) : te("", !0),
15758
- y("h1", Sc, z(n.ssoLang[this.appLanguage].verify_account), 1),
15758
+ y("h1", Sc, U(n.ssoLang[this.appLanguage].verify_account), 1),
15759
15759
  Ac,
15760
15760
  y("div", Rc, [
15761
15761
  Pc,
@@ -15788,7 +15788,7 @@ function $c(n, e, t, r, o, i) {
15788
15788
  Uc
15789
15789
  ]),
15790
15790
  y("button", xc, [
15791
- o.submitted ? (S(), P("span", Dc)) : (S(), P("span", Bc, z(n.ssoLang[this.appLanguage].verify_account), 1))
15791
+ o.submitted ? (S(), P("span", Dc)) : (S(), P("span", Bc, U(n.ssoLang[this.appLanguage].verify_account), 1))
15792
15792
  ]),
15793
15793
  Hc,
15794
15794
  y("p", qc, [
@@ -15804,9 +15804,9 @@ function $c(n, e, t, r, o, i) {
15804
15804
  onClick: e[5] || (e[5] = (...s) => i.registerAccountModal && i.registerAccountModal(...s))
15805
15805
  }, [
15806
15806
  y("a", Qc, [
15807
- se(z(n.ssoLang[this.appLanguage].or) + " ", 1),
15807
+ se(U(n.ssoLang[this.appLanguage].or) + " ", 1),
15808
15808
  Yc,
15809
- se(" " + z(n.ssoLang[this.appLanguage].create_new_account), 1)
15809
+ se(" " + U(n.ssoLang[this.appLanguage].create_new_account), 1)
15810
15810
  ]),
15811
15811
  Wc
15812
15812
  ])) : (S(), P("div", Gc, [
@@ -15815,7 +15815,7 @@ function $c(n, e, t, r, o, i) {
15815
15815
  to: "/register"
15816
15816
  }, {
15817
15817
  default: nt(() => [
15818
- se(z(n.ssoLang[this.appLanguage].register), 1)
15818
+ se(U(n.ssoLang[this.appLanguage].register), 1)
15819
15819
  ]),
15820
15820
  _: 1
15821
15821
  }),
@@ -15824,7 +15824,7 @@ function $c(n, e, t, r, o, i) {
15824
15824
  to: "/login"
15825
15825
  }, {
15826
15826
  default: nt(() => [
15827
- se(z(n.ssoLang[this.appLanguage].sign_in), 1)
15827
+ se(U(n.ssoLang[this.appLanguage].sign_in), 1)
15828
15828
  ]),
15829
15829
  _: 1
15830
15830
  }),
@@ -15834,7 +15834,7 @@ function $c(n, e, t, r, o, i) {
15834
15834
  }
15835
15835
  const yo = /* @__PURE__ */ We(Ec, [["render", $c], ["__scopeId", "data-v-75db7f02"]]), Jc = {
15836
15836
  name: "AuthReset",
15837
- mixins: [ze],
15837
+ mixins: [De],
15838
15838
  data() {
15839
15839
  return {
15840
15840
  loading: !0,
@@ -15850,7 +15850,7 @@ const yo = /* @__PURE__ */ We(Ec, [["render", $c], ["__scopeId", "data-v-75db7f0
15850
15850
  };
15851
15851
  },
15852
15852
  mounted() {
15853
- this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.query.c && (this.code = this.$route.query.c, this.passwordChange = !0), this.$route.query.e && (this.email = this.$route.query.e), U.$emit("ssoEvent", { name: "setLoading", data: !1 });
15853
+ this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.query.c && (this.code = this.$route.query.c, this.passwordChange = !0), this.$route.query.e && (this.email = this.$route.query.e), z.$emit("ssoEvent", { name: "setLoading", data: !1 });
15854
15854
  },
15855
15855
  methods: {
15856
15856
  async resetEmail() {
@@ -15948,8 +15948,8 @@ function Ll(n, e, t, r, o, i) {
15948
15948
  class: "page-login content-boxed content-boxed-padding",
15949
15949
  onSubmit: e[7] || (e[7] = Oe((...s) => i.changePw && i.changePw(...s), ["prevent"]))
15950
15950
  }, [
15951
- y("h3", ml, z(n.ssoLang[this.appLanguage].password_change), 1),
15952
- y("p", fl, z(n.ssoLang[this.appLanguage].password_new), 1),
15951
+ y("h3", ml, U(n.ssoLang[this.appLanguage].password_change), 1),
15952
+ y("p", fl, U(n.ssoLang[this.appLanguage].password_new), 1),
15953
15953
  y("div", gl, [
15954
15954
  _l,
15955
15955
  me(y("input", {
@@ -15993,7 +15993,7 @@ function Ll(n, e, t, r, o, i) {
15993
15993
  ])
15994
15994
  ]),
15995
15995
  y("button", Il, [
15996
- o.submitted ? (S(), P("span", Al)) : (S(), P("span", Sl, z(n.ssoLang[this.appLanguage].password_change), 1))
15996
+ o.submitted ? (S(), P("span", Al)) : (S(), P("span", Sl, U(n.ssoLang[this.appLanguage].password_change), 1))
15997
15997
  ]),
15998
15998
  Rl,
15999
15999
  y("p", Pl, [
@@ -16011,7 +16011,7 @@ function Ll(n, e, t, r, o, i) {
16011
16011
  onSubmit: e[2] || (e[2] = Oe((...s) => i.resetEmail && i.resetEmail(...s), ["prevent"])),
16012
16012
  autocomplete: "on"
16013
16013
  }, [
16014
- y("h3", Xc, z(n.ssoLang[this.appLanguage].reset_password), 1),
16014
+ y("h3", Xc, U(n.ssoLang[this.appLanguage].reset_password), 1),
16015
16015
  Zc,
16016
16016
  y("div", el, [
16017
16017
  tl,
@@ -16029,7 +16029,7 @@ function Ll(n, e, t, r, o, i) {
16029
16029
  rl
16030
16030
  ]),
16031
16031
  y("button", ol, [
16032
- o.submitted ? (S(), P("span", al)) : (S(), P("span", il, z(n.ssoLang[this.appLanguage].reset_password), 1))
16032
+ o.submitted ? (S(), P("span", al)) : (S(), P("span", il, U(n.ssoLang[this.appLanguage].reset_password), 1))
16033
16033
  ]),
16034
16034
  sl,
16035
16035
  y("p", cl, [
@@ -16047,7 +16047,7 @@ function Ll(n, e, t, r, o, i) {
16047
16047
  to: "/verify"
16048
16048
  }, {
16049
16049
  default: nt(() => [
16050
- se(z(n.ssoLang[this.appLanguage].verify_account), 1)
16050
+ se(U(n.ssoLang[this.appLanguage].verify_account), 1)
16051
16051
  ]),
16052
16052
  _: 1
16053
16053
  }),
@@ -16056,7 +16056,7 @@ function Ll(n, e, t, r, o, i) {
16056
16056
  to: "/login"
16057
16057
  }, {
16058
16058
  default: nt(() => [
16059
- se(z(n.ssoLang[this.appLanguage].sign_in), 1)
16059
+ se(U(n.ssoLang[this.appLanguage].sign_in), 1)
16060
16060
  ]),
16061
16061
  _: 1
16062
16062
  }),
@@ -16066,7 +16066,7 @@ function Ll(n, e, t, r, o, i) {
16066
16066
  }
16067
16067
  const ko = /* @__PURE__ */ We(Jc, [["render", Ll], ["__scopeId", "data-v-4f85b89a"]]), Ol = {
16068
16068
  name: "AuthCallback",
16069
- mixins: [Rn, Mn, ze],
16069
+ mixins: [Rn, Mn, De],
16070
16070
  data() {
16071
16071
  return {};
16072
16072
  },
@@ -16094,31 +16094,31 @@ const ko = /* @__PURE__ */ We(Jc, [["render", Ll], ["__scopeId", "data-v-4f85b89
16094
16094
  function Dl(n, e, t, r, o, i) {
16095
16095
  return S(), P("div", zl, [
16096
16096
  (n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (S(), P("h5", Ul, [
16097
- se(z(n.ssoLang[this.appLanguage].you_will_be_redirected), 1),
16097
+ se(U(n.ssoLang[this.appLanguage].you_will_be_redirected), 1),
16098
16098
  xl,
16099
- se(" " + z(n.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
16099
+ se(" " + U(n.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
16100
16100
  y("span", {
16101
16101
  onClick: e[0] || (e[0] = (...a) => i.inAppRedirect && i.inAppRedirect(...a)),
16102
16102
  style: { color: "blue", cursor: "pointer" }
16103
- }, z(n.ssoLang[this.appLanguage].click_here), 1),
16103
+ }, U(n.ssoLang[this.appLanguage].click_here), 1),
16104
16104
  se(".")
16105
- ])) : (S(), P("h4", Bl, z(n.ssoLang[this.appLanguage].please_wait), 1))
16105
+ ])) : (S(), P("h4", Bl, U(n.ssoLang[this.appLanguage].please_wait), 1))
16106
16106
  ]);
16107
16107
  }
16108
16108
  const wo = /* @__PURE__ */ We(Ol, [["render", Dl]]), Hl = {
16109
16109
  name: "ModalOverlay",
16110
- mixins: [ze],
16110
+ mixins: [De],
16111
16111
  data() {
16112
16112
  return {
16113
16113
  toggle: !1
16114
16114
  };
16115
16115
  },
16116
16116
  mounted() {
16117
- U.$on("closeModal", () => {
16117
+ z.$on("closeModal", () => {
16118
16118
  this.toggle = !1, window.document.body.style.overflow = "auto", window.document.body.style.height = "auto";
16119
- }), U.$on("openModalOverlay", () => {
16119
+ }), z.$on("openModalOverlay", () => {
16120
16120
  this.toggle = !0;
16121
- }), U.$on("toggleLanguageModal", this.toggleModal), U.$on("toggleSSOModal", this.toggleModal), U.$on("toggleSSOPickModal", this.toggleModal);
16121
+ }), z.$on("toggleLanguageModal", this.toggleModal), z.$on("toggleSSOModal", this.toggleModal), z.$on("toggleSSOPickModal", this.toggleModal);
16122
16122
  },
16123
16123
  methods: {
16124
16124
  toggleModal(n = !0) {
@@ -16126,7 +16126,7 @@ const wo = /* @__PURE__ */ We(Ol, [["render", Dl]]), Hl = {
16126
16126
  },
16127
16127
  toggleEmit() {
16128
16128
  var n, e;
16129
- !this.isLoggedIn && ((e = (n = this.user) == null ? void 0 : n.lead_form) != null && e.forceFilling) || U.$emit("closeModal");
16129
+ !this.isLoggedIn && ((e = (n = this.user) == null ? void 0 : n.lead_form) != null && e.forceFilling) || z.$emit("closeModal");
16130
16130
  }
16131
16131
  }
16132
16132
  };
@@ -16138,7 +16138,7 @@ function ql(n, e, t, r, o, i) {
16138
16138
  }
16139
16139
  const bo = /* @__PURE__ */ We(Hl, [["render", ql], ["__scopeId", "data-v-a128c2fa"]]), Fl = {
16140
16140
  name: "SSO",
16141
- mixins: [An, Rn, Mn, ze],
16141
+ mixins: [An, Rn, Mn, De],
16142
16142
  data() {
16143
16143
  return {
16144
16144
  toggle: !1,
@@ -16147,16 +16147,16 @@ const bo = /* @__PURE__ */ We(Hl, [["render", ql], ["__scopeId", "data-v-a128c2f
16147
16147
  };
16148
16148
  },
16149
16149
  mounted() {
16150
- U.$on("toggleSSOModal", this.toggleModal), U.$on("closeModal", () => {
16150
+ z.$on("toggleSSOModal", this.toggleModal), z.$on("closeModal", () => {
16151
16151
  this.toggle = !1;
16152
16152
  });
16153
16153
  },
16154
16154
  beforeDestroy() {
16155
- U._events.toggleSSOModal.pop();
16155
+ z._events.toggleSSOModal.pop();
16156
16156
  },
16157
16157
  methods: {
16158
16158
  forceClose() {
16159
- U.$emit("closeModal");
16159
+ z.$emit("closeModal");
16160
16160
  },
16161
16161
  close() {
16162
16162
  this.toggleModal();
@@ -16168,7 +16168,7 @@ const bo = /* @__PURE__ */ We(Hl, [["render", ql], ["__scopeId", "data-v-a128c2f
16168
16168
  let e;
16169
16169
  if (!(!n || n.error))
16170
16170
  if (e = Object.keys(n.sso), e.length)
16171
- e.length <= 1 ? (e[0] === "azure" && this.microsoftLogin("sso", n.sso.azure.sso), e[0] === "okta" && this.oktaLogin(n.sso.okta.sso), e[0] === "saml" && this.samlLogin(n.sso.saml.sso.loginUrl)) : (this.forceClose(), U.$emit("toggleSSOPickModal", {
16171
+ e.length <= 1 ? (e[0] === "azure" && this.microsoftLogin("sso", n.sso.azure.sso), e[0] === "okta" && this.oktaLogin(n.sso.okta.sso), e[0] === "saml" && this.samlLogin(n.sso.saml.sso.loginUrl)) : (this.forceClose(), z.$emit("toggleSSOPickModal", {
16172
16172
  sso: n.sso,
16173
16173
  email: this.email
16174
16174
  }));
@@ -16206,7 +16206,7 @@ function Jl(n, e, t, r, o, i) {
16206
16206
  class: "color-black pull-right pointer",
16207
16207
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16208
16208
  }, Gl),
16209
- y("h3", Vl, z(n.ssoLang[n.appLanguage].enter_company_email), 1),
16209
+ y("h3", Vl, U(n.ssoLang[n.appLanguage].enter_company_email), 1),
16210
16210
  y("div", null, [
16211
16211
  me(y("input", {
16212
16212
  type: "text",
@@ -16226,13 +16226,13 @@ function Jl(n, e, t, r, o, i) {
16226
16226
  ])
16227
16227
  ]),
16228
16228
  y("button", Yl, [
16229
- o.loading ? (S(), P("span", $l)) : (S(), P("span", Wl, z(n.ssoLang[n.appLanguage].continue), 1))
16229
+ o.loading ? (S(), P("span", $l)) : (S(), P("span", Wl, U(n.ssoLang[n.appLanguage].continue), 1))
16230
16230
  ])
16231
16231
  ], 34);
16232
16232
  }
16233
16233
  const Co = /* @__PURE__ */ We(Fl, [["render", Jl], ["__scopeId", "data-v-11f19a09"]]), Xl = {
16234
16234
  name: "SSOPick",
16235
- mixins: [An, Rn, Mn, ze],
16235
+ mixins: [An, Rn, Mn, De],
16236
16236
  data() {
16237
16237
  return {
16238
16238
  toggle: !1,
@@ -16244,16 +16244,16 @@ const Co = /* @__PURE__ */ We(Fl, [["render", Jl], ["__scopeId", "data-v-11f19a0
16244
16244
  };
16245
16245
  },
16246
16246
  mounted() {
16247
- U.$on("toggleSSOPickModal", this.toggleModal), U.$on("closeModal", () => {
16247
+ z.$on("toggleSSOPickModal", this.toggleModal), z.$on("closeModal", () => {
16248
16248
  this.toggle = !1;
16249
16249
  });
16250
16250
  },
16251
16251
  beforeDestroy() {
16252
- U._events.toggleSSOPickModal.pop();
16252
+ z._events.toggleSSOPickModal.pop();
16253
16253
  },
16254
16254
  methods: {
16255
16255
  forceClose() {
16256
- U.$emit("closeModal");
16256
+ z.$emit("closeModal");
16257
16257
  },
16258
16258
  close() {
16259
16259
  this.toggleModal();
@@ -16305,14 +16305,14 @@ function du(n, e, t, r, o, i) {
16305
16305
  class: "color-black pull-right pointer",
16306
16306
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16307
16307
  }, eu),
16308
- y("h3", tu, z(n.ssoLang[n.appLanguage].select_sign_method), 1),
16308
+ y("h3", tu, U(n.ssoLang[n.appLanguage].select_sign_method), 1),
16309
16309
  (a = o.sso) != null && a.azure ? (S(), P("a", {
16310
16310
  key: 0,
16311
16311
  onClick: e[1] || (e[1] = (p) => i.ssoLogin("azure")),
16312
16312
  class: "button-center button black-button button-90 google-button pointer"
16313
16313
  }, [
16314
16314
  nu,
16315
- o.azureLoad ? (S(), P("span", ou)) : (S(), P("span", ru, z(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16315
+ o.azureLoad ? (S(), P("span", ou)) : (S(), P("span", ru, U(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
16316
16316
  ])) : te("", !0),
16317
16317
  (s = o.sso) != null && s.okta ? (S(), P("a", {
16318
16318
  key: 1,
@@ -16320,7 +16320,7 @@ function du(n, e, t, r, o, i) {
16320
16320
  class: "button-center button black-button button-90 google-button pointer"
16321
16321
  }, [
16322
16322
  iu,
16323
- o.oktaLoad ? (S(), P("span", su)) : (S(), P("span", au, z(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16323
+ o.oktaLoad ? (S(), P("span", su)) : (S(), P("span", au, U(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
16324
16324
  ])) : te("", !0),
16325
16325
  (u = o.sso) != null && u.saml ? (S(), P("a", {
16326
16326
  key: 2,
@@ -16328,13 +16328,13 @@ function du(n, e, t, r, o, i) {
16328
16328
  class: "button-center button black-button button-90 google-button pointer"
16329
16329
  }, [
16330
16330
  cu,
16331
- o.samlLoad ? (S(), P("span", uu)) : (S(), P("span", lu, z(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16331
+ o.samlLoad ? (S(), P("span", uu)) : (S(), P("span", lu, U(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
16332
16332
  ])) : te("", !0)
16333
16333
  ], 34);
16334
16334
  }
16335
16335
  const Eo = /* @__PURE__ */ We(Xl, [["render", du], ["__scopeId", "data-v-4f821f65"]]), pu = {
16336
16336
  name: "LinkIcon",
16337
- mixins: [ze],
16337
+ mixins: [De],
16338
16338
  props: {
16339
16339
  linkAdding: {
16340
16340
  type: Boolean,
@@ -16455,7 +16455,7 @@ function _u(n, e, t, r, o, i) {
16455
16455
  y("span", {
16456
16456
  class: "link-text link-drag color-black",
16457
16457
  style: Ot({ color: (s = t.customLinkStyle) == null ? void 0 : s.color })
16458
- }, z(i.linkText), 5)
16458
+ }, U(i.linkText), 5)
16459
16459
  ], 6);
16460
16460
  }
16461
16461
  const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
@@ -16467,7 +16467,7 @@ const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16467
16467
  GOOGLE_ANALYTICS_ID: ""
16468
16468
  }, ku = {
16469
16469
  name: "Language",
16470
- mixins: [ze],
16470
+ mixins: [De],
16471
16471
  components: { LinkIcon: vu },
16472
16472
  data() {
16473
16473
  return {
@@ -16475,24 +16475,24 @@ const vu = /* @__PURE__ */ We(pu, [["render", _u]]), yu = {
16475
16475
  };
16476
16476
  },
16477
16477
  async mounted() {
16478
- U.$on("toggleLanguageModal", this.toggleModal), U.$on("closeModal", () => {
16478
+ z.$on("toggleLanguageModal", this.toggleModal), z.$on("closeModal", () => {
16479
16479
  this.toggle = !1;
16480
16480
  });
16481
16481
  let n = this.isNative ? await pn.getLanguageCode() : Ut.getFirstBrowserLanguage();
16482
16482
  n && yu.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
16483
16483
  },
16484
16484
  beforeDestroy() {
16485
- U._events.toggleLanguageModal.pop();
16485
+ z._events.toggleLanguageModal.pop();
16486
16486
  },
16487
16487
  methods: {
16488
16488
  forceClose() {
16489
- U.$emit("closeModal");
16489
+ z.$emit("closeModal");
16490
16490
  },
16491
16491
  close() {
16492
16492
  this.forceClose();
16493
16493
  },
16494
16494
  async updateLanguage(n) {
16495
- U.$emit("updateLang", n), U.$emit("closeModal");
16495
+ z.$emit("updateLang", n), z.$emit("closeModal");
16496
16496
  },
16497
16497
  toggleModal() {
16498
16498
  this.toggle = !this.toggle;
@@ -16518,7 +16518,7 @@ function Tu(n, e, t, r, o, i) {
16518
16518
  class: "color-black pull-right pointer",
16519
16519
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
16520
16520
  }, Cu),
16521
- y("h3", Eu, z(n.ssoLang[n.appLanguage].app_language), 1),
16521
+ y("h3", Eu, U(n.ssoLang[n.appLanguage].app_language), 1),
16522
16522
  ke(a, {
16523
16523
  onClick: e[1] || (e[1] = (s) => i.updateLanguage("en")),
16524
16524
  "link-style": "link-grid",
@@ -16610,7 +16610,7 @@ const Su = { id: "ssoapp" }, Au = {
16610
16610
  Du
16611
16611
  ], qu = {
16612
16612
  name: "TapniAuth",
16613
- mixins: [ze],
16613
+ mixins: [De],
16614
16614
  data() {
16615
16615
  return {
16616
16616
  isSetup: !1
@@ -16644,7 +16644,7 @@ const Su = { id: "ssoapp" }, Au = {
16644
16644
  }
16645
16645
  },
16646
16646
  async mounted() {
16647
- this.applyBgStyle(), U.$on("ssoEvent", this.ssoOutgoingEvent), U.$on("ssoLogout", (n) => this.logout(n)), U.$on("getLoggedInAccounts", (n) => this.getLoggedInAccounts(n)), U.$on("refreshTokenAction", (n) => this.refreshTokenAction(n)), U.$on("switchAccount", (n) => this.switchAccount(n));
16647
+ this.applyBgStyle(), z.$on("ssoEvent", this.ssoOutgoingEvent), z.$on("ssoLogout", (n) => this.logout(n)), z.$on("getLoggedInAccounts", (n) => this.getLoggedInAccounts(n)), z.$on("refreshTokenAction", (n) => this.refreshTokenAction({ ...n, storage: this.$storage })), z.$on("switchAccount", (n) => this.switchAccount(n)), z.$on("setToken", (n) => this.setToken(n));
16648
16648
  },
16649
16649
  methods: {
16650
16650
  async init() {
@@ -16658,13 +16658,13 @@ const Su = { id: "ssoapp" }, Au = {
16658
16658
  this.$emit("ssoEvent", n);
16659
16659
  },
16660
16660
  ssoIncomingEvent(n) {
16661
- U.$emit(n.name, n.data);
16661
+ z.$emit(n.name, n.data);
16662
16662
  },
16663
16663
  applyBgStyle() {
16664
16664
  this.display === "redirect" ? document.getElementsByTagName("html")[0].style = "background: #dfeefe;" : document.getElementsByTagName("html")[0].style = "";
16665
16665
  },
16666
16666
  toggleLanguageModal() {
16667
- U.$emit("toggleLanguageModal", !0);
16667
+ z.$emit("toggleLanguageModal", !0);
16668
16668
  }
16669
16669
  },
16670
16670
  watch: {
@@ -16690,7 +16690,7 @@ const Su = { id: "ssoapp" }, Au = {
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)
16693
+ y("span", Mu, U(e.appLanguage.toUpperCase()), 1)
16694
16694
  ])) : te("", !0),
16695
16695
  ke(bo),
16696
16696
  n.isModal ? te("", !0) : (S(), qe(To, { key: 2 })),
@@ -16708,14 +16708,14 @@ const Su = { id: "ssoapp" }, Au = {
16708
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
16709
  y("div", Nu, [
16710
16710
  y("p", Lu, [
16711
- y("span", Ou, z(e.ssoLang[e.appLanguage].error), 1),
16711
+ y("span", Ou, U(e.ssoLang[e.appLanguage].error), 1),
16712
16712
  y("a", {
16713
16713
  onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16714
16714
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
16715
16715
  }, Uu)
16716
16716
  ]),
16717
16717
  y("p", xu, [
16718
- y("span", Bu, z(e.ssoLang[e.appLanguage].success), 1),
16718
+ y("span", Bu, U(e.ssoLang[e.appLanguage].success), 1),
16719
16719
  y("a", {
16720
16720
  onClick: t[2] || (t[2] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
16721
16721
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
@@ -16726,7 +16726,7 @@ const Su = { id: "ssoapp" }, Au = {
16726
16726
  }
16727
16727
  }), Zu = {
16728
16728
  TapniAuth: Hr,
16729
- AuthMixin: ze,
16729
+ AuthMixin: De,
16730
16730
  install: (n, e) => {
16731
16731
  e && e.API_ROOT && Ft.setApiRootFromOptions(e.API_ROOT), n.component("TapniAuth", Hr);
16732
16732
  }