@tapni/auth 0.0.22 → 0.0.24

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,21 +1,21 @@
1
- import { reactive as Ce, readonly as Se, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as i, toDisplayString as p, createCommentVNode as h, createVNode as v, withCtx as j, createTextVNode as f, pushScopeId as O, popScopeId as B, createStaticVNode as Te, nextTick as Z, withModifiers as y, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as U, vShow as I, createBlock as P, normalizeClass as b, unref as je } from "vue";
2
- import { RouterView as Pe } from "vue-router";
1
+ import { reactive as Ce, readonly as Te, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as t, toDisplayString as p, createCommentVNode as h, createVNode as v, withCtx as j, createTextVNode as f, pushScopeId as O, popScopeId as B, createStaticVNode as je, nextTick as J, withModifiers as y, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as K, vShow as I, createBlock as P, normalizeClass as b, unref as Pe } from "vue";
2
+ import { RouterView as Ae } from "vue-router";
3
3
  import g from "await-to-js";
4
- import K from "axios";
5
- import { jwtDecode as ae } from "jwt-decode";
6
- import { Device as H } from "@capacitor/device";
7
- import { StorageMixin as Ae } from "@tapni/capacitor-reactive-localstorage-vue3";
8
- import { GoogleAuth as J } from "@codetrix-studio/capacitor-google-auth";
4
+ import H from "axios";
5
+ import { jwtDecode as te } from "jwt-decode";
6
+ import { Device as F } from "@capacitor/device";
7
+ import { Capacitor as D } from "@capacitor/core";
8
+ import { GoogleAuth as ee } from "@codetrix-studio/capacitor-google-auth";
9
9
  import { FacebookLogin as Ie } from "@capacitor-community/facebook-login";
10
10
  import { SignInWithApple as Ee } from "@capacitor-community/apple-sign-in";
11
11
  import { MsAuthPlugin as xe } from "@recognizebv/capacitor-plugin-msauth";
12
- import { Capacitor as ne } from "@capacitor/core";
13
- import { Browser as F } from "@capacitor/browser";
12
+ import { Browser as Q } from "@capacitor/browser";
14
13
  import qe from "qr-code-styling";
15
14
  import { sanitizeUrl as Me } from "@braintree/sanitize-url";
16
- const Re = "0.0.21", m = (e, a = !1) => {
17
- const n = Re;
18
- let o = K.create({
15
+ import Re from "@tapni/capacitor-reactive-localstorage-vue3";
16
+ const Ne = "0.0.23", m = (e, a = !1) => {
17
+ const n = Ne;
18
+ let o = H.create({
19
19
  baseURL: "https://api.tapni.co/v1/",
20
20
  headers: {
21
21
  Authorization: `Bearer ${e.token}`,
@@ -23,24 +23,24 @@ const Re = "0.0.21", m = (e, a = !1) => {
23
23
  "X-Client-Version": n.version
24
24
  }
25
25
  });
26
- return o.interceptors.request.use(async function(t) {
27
- if (["post", "put", "delete"].includes(t.method.toLowerCase()) ? t.data = {
28
- ...t.data,
26
+ return o.interceptors.request.use(async function(i) {
27
+ if (["post", "put", "delete"].includes(i.method.toLowerCase()) ? i.data = {
28
+ ...i.data,
29
29
  lang: e.appLang,
30
30
  realm: e.realm || "app"
31
- } : t.method.toLowerCase() === "get" && (t.params = {
32
- ...t.params,
31
+ } : i.method.toLowerCase() === "get" && (i.params = {
32
+ ...i.params,
33
33
  lang: e.appLang,
34
34
  realm: e.realm || "app"
35
35
  }), e.token && !a) {
36
- const r = ae(e.token);
36
+ const r = te(e.token);
37
37
  if (r.exp - 30 < Math.floor(Date.now() / 1e3))
38
- return z.methods.refreshTokenAction(r).then(() => (t.headers = {
39
- ...t.headers,
38
+ return z.methods.refreshTokenAction(r).then(() => (i.headers = {
39
+ ...i.headers,
40
40
  Authorization: `Bearer ${e.token}`
41
- }, t));
41
+ }, i));
42
42
  }
43
- return t;
43
+ return i;
44
44
  }), o;
45
45
  }, M = {
46
46
  getMe() {
@@ -84,7 +84,7 @@ const Re = "0.0.21", m = (e, a = !1) => {
84
84
  loginUsingQR(e, a) {
85
85
  return m(a).post("/users/qr/login", e);
86
86
  }
87
- }, ee = {
87
+ }, ae = {
88
88
  registerDevice(e, a) {
89
89
  return m(a).post("/devices/add", e);
90
90
  },
@@ -92,17 +92,17 @@ const Re = "0.0.21", m = (e, a = !1) => {
92
92
  return m(a).post("/devices/fcm/add", e);
93
93
  }
94
94
  };
95
- let C;
96
- H.getId().then((e) => C = e.uuid);
95
+ let S;
96
+ F.getId().then((e) => S = e.uuid);
97
97
  const w = {
98
98
  register(e, a) {
99
- return e.device_id = C, m(a).post("/users/register", e);
99
+ return e.device_id = S, m(a).post("/users/register", e);
100
100
  },
101
101
  login(e, a) {
102
- return e.device_id = C, m(a).post("/users/login", e);
102
+ return e.device_id = S, m(a).post("/users/login", e);
103
103
  },
104
104
  logout(e, a) {
105
- return e.device_id = C, m(a).post("/users/logout", e);
105
+ return e.device_id = S, m(a).post("/users/logout", e);
106
106
  },
107
107
  refreshToken(e, a) {
108
108
  return m(a, !0).get(`/users/refresh-token?UserId=${e.id}&token=${e.refreshToken}`);
@@ -111,7 +111,7 @@ const w = {
111
111
  return m(a).post("/users/tokens", e);
112
112
  },
113
113
  sendResetEmail(e, a) {
114
- return e.device_id = C, m(a).post("/users/reset", e);
114
+ return e.device_id = S, m(a).post("/users/reset", e);
115
115
  },
116
116
  changePassword(e, a) {
117
117
  return m(a).put("/users/password", e, {
@@ -125,25 +125,25 @@ const w = {
125
125
  return m(e).get("/users/google/url");
126
126
  },
127
127
  google(e, a) {
128
- return e.device_id = C, m(a).post("/users/google", e);
128
+ return e.device_id = S, m(a).post("/users/google", e);
129
129
  },
130
130
  facebook(e, a) {
131
- return e.device_id = C, m(a).post("/users/facebook", e);
131
+ return e.device_id = S, m(a).post("/users/facebook", e);
132
132
  },
133
133
  googleSDK(e, a) {
134
- return e.device_id = C, m(a).post("/users/google/sdk", e);
134
+ return e.device_id = S, m(a).post("/users/google/sdk", e);
135
135
  },
136
136
  facebookSDK(e, a) {
137
- return e.device_id = C, m(a).post("/users/facebook/sdk", e);
137
+ return e.device_id = S, m(a).post("/users/facebook/sdk", e);
138
138
  },
139
139
  appleSDK(e, a) {
140
- return e.device_id = C, m(a).post("/users/apple/sdk", e);
140
+ return e.device_id = S, m(a).post("/users/apple/sdk", e);
141
141
  },
142
142
  microsoftSDK(e, a) {
143
- return e.device_id = C, m(a).post("/users/microsoft/sdk", e);
143
+ return e.device_id = S, m(a).post("/users/microsoft/sdk", e);
144
144
  },
145
145
  oktaSDK(e, a) {
146
- return e.device_id = C, m(a).post("/users/okta/sdk", e);
146
+ return e.device_id = S, m(a).post("/users/okta/sdk", e);
147
147
  },
148
148
  samlLoginUrl(e, a) {
149
149
  return m(a).post("/saml/url", e);
@@ -158,23 +158,23 @@ const w = {
158
158
  qrCodePooling(e, a) {
159
159
  return m(a).post("/company/login/qr", e);
160
160
  }
161
- }, D = Ce(/* @__PURE__ */ new Map()), d = {
161
+ }, U = Ce(/* @__PURE__ */ new Map()), d = {
162
162
  $on(e, a) {
163
- let n = D.get(e);
164
- n || (n = /* @__PURE__ */ new Set(), D.set(e, n)), n.add(a);
163
+ let n = U.get(e);
164
+ n || (n = /* @__PURE__ */ new Set(), U.set(e, n)), n.add(a);
165
165
  },
166
166
  $emit(e, ...a) {
167
- const n = D.get(e);
167
+ const n = U.get(e);
168
168
  if (n)
169
169
  for (const o of n)
170
170
  o(...a);
171
171
  },
172
172
  $off(e, a) {
173
- const n = D.get(e);
173
+ const n = U.get(e);
174
174
  n && n.delete(a);
175
175
  }
176
176
  };
177
- Se(d);
177
+ Te(d);
178
178
  const ie = {
179
179
  state: {
180
180
  english: "English",
@@ -632,7 +632,7 @@ const ie = {
632
632
  choose_other_login_methods: "Choose other login methods",
633
633
  no_sso_logins: "Your company does not use SSO login, please contact your administrator"
634
634
  }
635
- }, te = {
635
+ }, oe = {
636
636
  state: {
637
637
  english: "Englisch",
638
638
  spanish: "Spanisch",
@@ -1084,7 +1084,7 @@ const ie = {
1084
1084
  choose_other_login_methods: "Wählen Sie andere Anmeldeverfahren",
1085
1085
  no_sso_logins: "Ihr Unternehmen verwendet keine SSO-Anmeldung. Bitte wenden Sie sich an Ihren Administrator"
1086
1086
  }
1087
- }, oe = {
1087
+ }, re = {
1088
1088
  state: {
1089
1089
  english: "Inglés",
1090
1090
  spanish: "Español",
@@ -1540,7 +1540,7 @@ const ie = {
1540
1540
  choose_other_login_methods: "Elige otros métodos de inicio de sesión",
1541
1541
  no_sso_logins: "Su empresa no utiliza el inicio de sesión SSO. Comuníquese con su administrador"
1542
1542
  }
1543
- }, re = {
1543
+ }, se = {
1544
1544
  state: {
1545
1545
  english: "Anglais",
1546
1546
  spanish: "Espagnol",
@@ -1998,7 +1998,7 @@ Il n'y a aucun lien dans votre profil.`,
1998
1998
  choose_other_login_methods: "Choisissez d'autres méthodes de connexion",
1999
1999
  no_sso_logins: "Votre entreprise n'utilise pas de login SSO, veuillez contacter votre administrateur"
2000
2000
  }
2001
- }, se = {
2001
+ }, ce = {
2002
2002
  state: {
2003
2003
  english: "Inglese",
2004
2004
  spanish: "Spagnolo",
@@ -2451,7 +2451,7 @@ Il n'y a aucun lien dans votre profil.`,
2451
2451
  choose_other_login_methods: "Scegli altri metodi di accesso",
2452
2452
  no_sso_logins: "La tua azienda non utilizza l'accesso SSO, contatta il tuo amministratore"
2453
2453
  }
2454
- }, ce = {
2454
+ }, le = {
2455
2455
  state: {
2456
2456
  english: "Engleski",
2457
2457
  spanish: "Španski",
@@ -2896,7 +2896,7 @@ Il n'y a aucun lien dans votre profil.`,
2896
2896
  choose_other_login_methods: "Izaberite druge metode prijavljivanja",
2897
2897
  no_sso_logins: "Vaša kompanija ne koristi SSO prijavu, kontaktirajte svog administratora"
2898
2898
  }
2899
- }, le = {
2899
+ }, de = {
2900
2900
  state: {
2901
2901
  english: "İngilizce",
2902
2902
  spanish: "İspanyolca",
@@ -3346,7 +3346,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3346
3346
  choose_other_login_methods: "Diğer giriş yöntemlerini seçin",
3347
3347
  no_sso_logins: "Şirketiniz SSO girişini kullanmıyor, lütfen yöneticinizle iletişime geçin"
3348
3348
  }
3349
- }, Ne = {
3349
+ }, Ve = {
3350
3350
  state: {
3351
3351
  english: "英文",
3352
3352
  spanish: "西班牙文",
@@ -3794,7 +3794,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3794
3794
  choose_other_login_methods: "选择其他登录方法",
3795
3795
  no_sso_logins: "您的公司不使用 SSO 登录。 请联系您的管理员"
3796
3796
  }
3797
- }, de = {
3797
+ }, pe = {
3798
3798
  state: {
3799
3799
  english: "영어",
3800
3800
  spanish: "스페인어",
@@ -4251,10 +4251,76 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4251
4251
  choose_other_login_methods: "다른 로그인 방법 선택하기",
4252
4252
  no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
4253
4253
  }
4254
+ }, Oe = {
4255
+ computed: {
4256
+ home() {
4257
+ return this.storage.token && this.storage.username ? "/" + this.storage.username : "/welcome";
4258
+ },
4259
+ isAndroid() {
4260
+ return /Android/i.test(navigator.userAgent) || D.getPlatform() === "android";
4261
+ },
4262
+ isiOS() {
4263
+ return [
4264
+ "iPad Simulator",
4265
+ "iPhone Simulator",
4266
+ "iPod Simulator",
4267
+ "iPad",
4268
+ "iPhone",
4269
+ "iPod"
4270
+ ].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || D.getPlatform() === "ios";
4271
+ },
4272
+ isNative() {
4273
+ return D.isNativePlatform();
4274
+ }
4275
+ },
4276
+ methods: {
4277
+ errorHandler(e) {
4278
+ return e && e.response && e.response.data && e.response.data.error && ((e.response.data.error === "ACCESS_DENIED" || e.response.data.error === "TOKEN_EXPIRED") && this.logout(), !e.response.data.error.includes("Network Error") && !e.response.data.error.includes("Cannot read properties") && this.errorSnack(e.response.data.error)), e;
4279
+ },
4280
+ errorSnack(e) {
4281
+ let a = document.getElementById("snackbar"), n = document.getElementById("errorMessage"), o = document.getElementById("errorSnack");
4282
+ n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
4283
+ o.classList.remove("active-snack"), a.classList.remove("show-snack");
4284
+ }, 3e3);
4285
+ },
4286
+ successSnack(e) {
4287
+ let a = document.getElementById("snackbar"), n = document.getElementById("successMessage"), o = document.getElementById("successSnack");
4288
+ n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
4289
+ o.classList.remove("active-snack"), a.classList.remove("show-snack");
4290
+ }, 3e3);
4291
+ },
4292
+ closeSnacks() {
4293
+ document.getElementById("snackbar").classList.remove("show-snack"), document.getElementById("successSnack").classList.remove("active-snack"), document.getElementById("errorSnack").classList.remove("active-snack");
4294
+ },
4295
+ tapsEmoji(e) {
4296
+ return e < 10 ? "" : e <= 50 ? "🔥" : e <= 100 ? "💥" : e <= 300 ? "💎" : e > 300 ? "🚀" : "";
4297
+ },
4298
+ /** Function which checks if provided object is empty */
4299
+ isEmpty(e) {
4300
+ if (!e)
4301
+ return !0;
4302
+ for (let a in e)
4303
+ if (e.hasOwnProperty(a))
4304
+ return !1;
4305
+ return JSON.stringify(e) === JSON.stringify({});
4306
+ },
4307
+ /** Copy string to clipboard */
4308
+ copy(e = "") {
4309
+ const a = document.createElement("textarea");
4310
+ a.value = e, a.setAttribute("readonly", ""), a.style.position = "absolute", a.style.left = "-9999px", document.body.appendChild(a), a.select(), document.execCommand("copy"), document.body.removeChild(a), this.successSnack(this.ssoLang[this.appLang].copied);
4311
+ },
4312
+ async getCaptchaToken(e) {
4313
+ try {
4314
+ return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", { action: e });
4315
+ } catch (a) {
4316
+ return console.log(a), null;
4317
+ }
4318
+ }
4319
+ }
4254
4320
  };
4255
- var Ve = { 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 };
4321
+ var Be = { 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 };
4256
4322
  const z = {
4257
- mixins: [Ae],
4323
+ mixins: [Oe],
4258
4324
  data() {
4259
4325
  return {
4260
4326
  appLanguage: "en",
@@ -4267,14 +4333,14 @@ const z = {
4267
4333
  loggedInAccounts: {},
4268
4334
  ssoLang: {
4269
4335
  en: ie.state,
4270
- de: te.state,
4271
- es: oe.state,
4272
- fr: re.state,
4273
- it: se.state,
4274
- sr: ce.state,
4275
- tr: le.state,
4276
- cn: Ne.state,
4277
- kr: de.state
4336
+ de: oe.state,
4337
+ es: re.state,
4338
+ fr: se.state,
4339
+ it: ce.state,
4340
+ sr: le.state,
4341
+ tr: de.state,
4342
+ cn: Ve.state,
4343
+ kr: pe.state
4278
4344
  },
4279
4345
  display: "npm",
4280
4346
  redirect_uri: "https://t.link/callback/auth",
@@ -4313,7 +4379,7 @@ const z = {
4313
4379
  }
4314
4380
  },
4315
4381
  mounted() {
4316
- 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), d.$on("updateLang", this.updateLang), Ve.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4382
+ 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), d.$on("updateLang", this.updateLang), Be.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4317
4383
  },
4318
4384
  methods: {
4319
4385
  errorHandler(e) {
@@ -4347,7 +4413,7 @@ const z = {
4347
4413
  },
4348
4414
  async maintenance() {
4349
4415
  const [e, a] = await g(
4350
- K.get("https://status.tapni.co/data/maintenance.json")
4416
+ H.get("https://status.tapni.co/data/maintenance.json")
4351
4417
  );
4352
4418
  if (e)
4353
4419
  return console.error(e);
@@ -4446,7 +4512,7 @@ const z = {
4446
4512
  },
4447
4513
  async exchangeAuthCode(e) {
4448
4514
  const [a, n] = await g(
4449
- K.post("https://api.tapni.co/v1/users/auth-code", {
4515
+ H.post("https://api.tapni.co/v1/users/auth-code", {
4450
4516
  code: e.code,
4451
4517
  code_verifier: e.code_verifier
4452
4518
  })
@@ -4474,7 +4540,7 @@ const z = {
4474
4540
  return a ? this.errorHandler(a) : n.data.success;
4475
4541
  },
4476
4542
  async registerDevice() {
4477
- const e = await H.getId(), a = await H.getInfo();
4543
+ const e = await F.getId(), a = await F.getInfo();
4478
4544
  let n = {
4479
4545
  device_id: e.uuid,
4480
4546
  platform: a.platform,
@@ -4487,14 +4553,14 @@ const z = {
4487
4553
  webViewVersion: a.webViewVersion
4488
4554
  }
4489
4555
  };
4490
- const [o, t] = await g(
4491
- ee.registerDevice(n, this.storage)
4556
+ const [o, i] = await g(
4557
+ ae.registerDevice(n, this.storage)
4492
4558
  );
4493
- return o ? this.errorHandler(o) : t;
4559
+ return o ? this.errorHandler(o) : i;
4494
4560
  },
4495
4561
  async addFcmToken(e) {
4496
4562
  const [a, n] = await g(
4497
- ee.addFcmToken(e, this.storage)
4563
+ ae.addFcmToken(e, this.storage)
4498
4564
  );
4499
4565
  return a ? this.errorHandler(a) : n;
4500
4566
  },
@@ -4572,10 +4638,10 @@ const z = {
4572
4638
  }
4573
4639
  }, T = (e, a) => {
4574
4640
  const n = e.__vccOpts || e;
4575
- for (const [o, t] of a)
4576
- n[o] = t;
4641
+ for (const [o, i] of a)
4642
+ n[o] = i;
4577
4643
  return n;
4578
- }, Oe = {
4644
+ }, De = {
4579
4645
  name: "AuthWelcome",
4580
4646
  mixins: [z],
4581
4647
  data() {
@@ -4589,24 +4655,24 @@ const z = {
4589
4655
  }, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
4590
4656
  },
4591
4657
  methods: {}
4592
- }, pe = (e) => (O("data-v-bf520ec5"), e = e(), B(), e), Be = {
4658
+ }, ue = (e) => (O("data-v-bf520ec5"), e = e(), B(), e), Ue = {
4593
4659
  class: "page-login content-boxed content-boxed-padding center-text",
4594
4660
  style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
4595
- }, De = ["autoplay"], Ue = /* @__PURE__ */ pe(() => /* @__PURE__ */ i("source", {
4661
+ }, Ke = ["autoplay"], He = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("source", {
4596
4662
  src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
4597
4663
  type: "video/mp4"
4598
- }, null, -1)), Ke = [
4599
- Ue
4600
- ], He = { class: "bold full-top no-bottom center-text" }, Fe = { class: "full-bottom half-top center-text color-black font-16" }, Qe = { class: "page-login-links center-text" }, $e = /* @__PURE__ */ pe(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), Ge = {
4664
+ }, null, -1)), Fe = [
4665
+ He
4666
+ ], Qe = { class: "bold full-top no-bottom center-text" }, $e = { class: "full-bottom half-top center-text color-black font-16" }, Ge = { class: "page-login-links center-text" }, We = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), Xe = {
4601
4667
  key: 2,
4602
4668
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
4603
- }, We = /* @__PURE__ */ Te('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a>', 3), Ye = [
4604
- We
4669
+ }, Ye = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a>', 3), Ze = [
4670
+ Ye
4605
4671
  ];
4606
- function Xe(e, a, n, o, t, r) {
4672
+ function Je(e, a, n, o, i, r) {
4607
4673
  const u = V("router-link");
4608
- return c(), l("div", Be, [
4609
- i("video", {
4674
+ return c(), l("div", Ue, [
4675
+ t("video", {
4610
4676
  id: "tapniVideo",
4611
4677
  muted: "",
4612
4678
  loop: "",
@@ -4614,9 +4680,9 @@ function Xe(e, a, n, o, t, r) {
4614
4680
  width: "350",
4615
4681
  style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
4616
4682
  autoplay: e.isNative
4617
- }, Ke, 8, De),
4618
- i("h1", He, p(e.ssoLang[this.appLang].welcome), 1),
4619
- i("p", Fe, p(e.ssoLang[this.appLang].welcome_p1), 1),
4683
+ }, Fe, 8, Ke),
4684
+ t("h1", Qe, p(e.ssoLang[this.appLang].welcome), 1),
4685
+ t("p", $e, p(e.ssoLang[this.appLang].welcome_p1), 1),
4620
4686
  h("", !0),
4621
4687
  h("", !0),
4622
4688
  v(u, {
@@ -4625,24 +4691,24 @@ function Xe(e, a, n, o, t, r) {
4625
4691
  class: "button-center button button-90 google-button bg-tapni-grey pointer"
4626
4692
  }, {
4627
4693
  default: j(() => [
4628
- i("span", null, p(e.ssoLang[this.appLang].create_account), 1)
4694
+ t("span", null, p(e.ssoLang[this.appLang].create_account), 1)
4629
4695
  ]),
4630
4696
  _: 1
4631
4697
  }),
4632
- i("div", Qe, [
4698
+ t("div", Ge, [
4633
4699
  v(u, { to: "/login" }, {
4634
4700
  default: j(() => [
4635
4701
  f(p(e.ssoLang[this.appLang].already_registered) + "? ", 1),
4636
- i("b", null, p(e.ssoLang[this.appLang].sign_in), 1)
4702
+ t("b", null, p(e.ssoLang[this.appLang].sign_in), 1)
4637
4703
  ]),
4638
4704
  _: 1
4639
4705
  }),
4640
- $e
4706
+ We
4641
4707
  ]),
4642
- this.isNative ? h("", !0) : (c(), l("div", Ge, Ye))
4708
+ this.isNative ? h("", !0) : (c(), l("div", Xe, Ze))
4643
4709
  ]);
4644
4710
  }
4645
- const ue = /* @__PURE__ */ T(Oe, [["render", Xe], ["__scopeId", "data-v-bf520ec5"]]), _e = {
4711
+ const _e = /* @__PURE__ */ T(De, [["render", Je], ["__scopeId", "data-v-bf520ec5"]]), me = {
4646
4712
  data() {
4647
4713
  return {
4648
4714
  googleLoad: !1
@@ -4655,24 +4721,24 @@ const ue = /* @__PURE__ */ T(Oe, [["render", Xe], ["__scopeId", "data-v-bf520ec5
4655
4721
  }
4656
4722
  },
4657
4723
  mounted() {
4658
- J.initialize();
4724
+ ee.initialize();
4659
4725
  },
4660
4726
  methods: {
4661
4727
  async googleLogin() {
4662
4728
  var n;
4663
4729
  this.googleLoad = !0;
4664
- let [e, a] = await g(J.signIn());
4730
+ let [e, a] = await g(ee.signIn());
4665
4731
  if (e)
4666
4732
  return this.googleLoad = !1;
4667
4733
  if (this.referral && (a.ref = this.referral), a.authentication && (a.authentication.accessToken || a.authentication.idToken)) {
4668
4734
  this.referral && (a.ref = this.referral), this.display === "popup" && (a.response_type = "code");
4669
- const [o, t] = await g(w.googleSDK(a, this.storage));
4735
+ const [o, i] = await g(w.googleSDK(a, this.storage));
4670
4736
  if (o)
4671
4737
  return this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4672
- if (t.data.success) {
4738
+ if (i.data.success) {
4673
4739
  if (this.display === "popup")
4674
- return (n = window.parent) == null ? void 0 : n.postMessage({ code: t.data.auth_code, state: this.$route.query.state }, "*");
4675
- await this.loginSetup(t), this.getLoggedInAccounts(), this.$router.push("/" + t.data.data.username + "#edit"), setTimeout(() => {
4740
+ return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
4741
+ await this.loginSetup(i), this.getLoggedInAccounts(), this.$router.push("/" + i.data.data.username + "#edit"), setTimeout(() => {
4676
4742
  this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4677
4743
  }, 1e3);
4678
4744
  } else
@@ -4694,10 +4760,10 @@ window.fbAsyncInit = function() {
4694
4760
  });
4695
4761
  };
4696
4762
  (function(e, a, n) {
4697
- var o, t = e.getElementsByTagName(a)[0];
4698
- e.getElementById(n) || (o = e.createElement(a), o.id = n, o.src = "https://connect.facebook.net/en_US/sdk.js", t.parentNode.insertBefore(o, t));
4763
+ var o, i = e.getElementsByTagName(a)[0];
4764
+ e.getElementById(n) || (o = e.createElement(a), o.id = n, o.src = "https://connect.facebook.net/en_US/sdk.js", i.parentNode.insertBefore(o, i));
4699
4765
  })(document, "script", "facebook-jssdk");
4700
- const me = {
4766
+ const ge = {
4701
4767
  data() {
4702
4768
  return {
4703
4769
  facebookLoad: !1
@@ -4719,9 +4785,9 @@ const me = {
4719
4785
  if (a)
4720
4786
  return this.facebookLoad = !1;
4721
4787
  if (this.referral && (n.ref = this.referral), this.display === "popup" && (n.response_type = "code"), n.accessToken) {
4722
- const [t, r] = await g(w.facebookSDK(n, this.storage));
4723
- if (t)
4724
- return this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(t);
4788
+ const [i, r] = await g(w.facebookSDK(n, this.storage));
4789
+ if (i)
4790
+ return this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
4725
4791
  if (r.data.success) {
4726
4792
  if (this.display === "popup")
4727
4793
  return (o = window.parent) == null ? void 0 : o.postMessage({ code: r.data.auth_code, state: this.$route.query.state }, "*");
@@ -4734,7 +4800,7 @@ const me = {
4734
4800
  this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4735
4801
  }
4736
4802
  }
4737
- }, ge = {
4803
+ }, he = {
4738
4804
  data() {
4739
4805
  return {
4740
4806
  appleLoad: !1
@@ -4757,15 +4823,15 @@ const me = {
4757
4823
  }));
4758
4824
  if (e)
4759
4825
  return this.appleLoad = !1;
4760
- if (a.response.tokenData = ae(a.response.identityToken), a && a.response && a.response.identityToken) {
4826
+ if (a.response.tokenData = te(a.response.identityToken), a && a.response && a.response.identityToken) {
4761
4827
  this.referral && (a.response.ref = this.referral), this.display === "popup" && (a.response_type = "code");
4762
- const [o, t] = await g(w.appleSDK(a.response, this.storage));
4828
+ const [o, i] = await g(w.appleSDK(a.response, this.storage));
4763
4829
  if (o)
4764
4830
  return this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4765
- if (t.data.success) {
4831
+ if (i.data.success) {
4766
4832
  if (this.display === "popup")
4767
- return (n = window.parent) == null ? void 0 : n.postMessage({ code: t.data.auth_code, state: this.$route.query.state }, "*");
4768
- await this.loginSetup(t), this.getLoggedInAccounts(), this.$router.push("/" + t.data.data.username + "#edit"), setTimeout(() => {
4833
+ return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
4834
+ await this.loginSetup(i), this.getLoggedInAccounts(), this.$router.push("/" + i.data.data.username + "#edit"), setTimeout(() => {
4769
4835
  this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4770
4836
  }, 1e3);
4771
4837
  } else
@@ -4775,8 +4841,8 @@ const me = {
4775
4841
  }
4776
4842
  }
4777
4843
  };
4778
- var Ze = { 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 };
4779
- const Q = {
4844
+ var ea = { 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 };
4845
+ const $ = {
4780
4846
  data() {
4781
4847
  return {
4782
4848
  microsoftLoad: !1,
@@ -4791,8 +4857,8 @@ const Q = {
4791
4857
  },
4792
4858
  methods: {
4793
4859
  async microsoftLogin(e, a = {}) {
4794
- var t, r, u;
4795
- e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(a).length || (a = ((r = (t = this.ssoCompany.sso) == null ? void 0 : t.azure) == null ? void 0 : r.sso) || {});
4860
+ var i, r, u;
4861
+ e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(a).length || (a = ((r = (i = this.ssoCompany.sso) == null ? void 0 : i.azure) == null ? void 0 : r.sso) || {});
4796
4862
  const [n, o] = await g(
4797
4863
  xe.login({
4798
4864
  clientId: e === "sso" ? a.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
@@ -4801,7 +4867,7 @@ const Q = {
4801
4867
  knownAuthorities: [],
4802
4868
  keyHash: "4+5wCp8QcLptlO0aeP5RDTTOWyg=",
4803
4869
  // Android,
4804
- redirectUri: Ze.NODE_ENV === "development" ? `${window.location.origin}/login` : "https://" + window.location.host + "/login"
4870
+ redirectUri: ea.NODE_ENV === "development" ? `${window.location.origin}/login` : "https://" + window.location.host + "/login"
4805
4871
  })
4806
4872
  );
4807
4873
  if (n)
@@ -4844,14 +4910,14 @@ const Q = {
4844
4910
  return null;
4845
4911
  },
4846
4912
  compareLangKeys() {
4847
- const e = Object.keys(ie.default.state), a = Object.keys(te.default.state), n = Object.keys(oe.default.state), o = Object.keys(de.default.state), t = Object.keys(se.default.state), r = Object.keys(re.default.state), u = Object.keys(ce.default.state), s = Object.keys(le.default.state);
4848
- console.log("In en but not in de", e.filter((_) => !a.includes(_))), console.log("In de but not in en", a.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in es", e.filter((_) => !n.includes(_))), console.log("In es but not in en", n.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in kr", e.filter((_) => !o.includes(_))), console.log("In kr but not in en", o.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in it", e.filter((_) => !t.includes(_))), console.log("In it but not in en", t.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in fr", e.filter((_) => !r.includes(_))), console.log("In fr but not in en", r.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in sr", e.filter((_) => !u.includes(_))), console.log("In sr but not in en", u.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in tr", e.filter((_) => !s.includes(_))), console.log("In tr but not in en", s.filter((_) => !e.includes(_))), console.log();
4913
+ const e = Object.keys(ie.default.state), a = Object.keys(oe.default.state), n = Object.keys(re.default.state), o = Object.keys(pe.default.state), i = Object.keys(ce.default.state), r = Object.keys(se.default.state), u = Object.keys(le.default.state), s = Object.keys(de.default.state);
4914
+ console.log("In en but not in de", e.filter((_) => !a.includes(_))), console.log("In de but not in en", a.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in es", e.filter((_) => !n.includes(_))), console.log("In es but not in en", n.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in kr", e.filter((_) => !o.includes(_))), console.log("In kr but not in en", o.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in it", e.filter((_) => !i.includes(_))), console.log("In it but not in en", i.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in fr", e.filter((_) => !r.includes(_))), console.log("In fr but not in en", r.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in sr", e.filter((_) => !u.includes(_))), console.log("In sr but not in en", u.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in tr", e.filter((_) => !s.includes(_))), console.log("In tr but not in en", s.filter((_) => !e.includes(_))), console.log();
4849
4915
  },
4850
4916
  base64ImageToBlob(e) {
4851
- const a = e.split(";base64,"), n = a[0].split(":")[1], o = window.atob(a[1]), t = new Uint8Array(o.length);
4917
+ const a = e.split(";base64,"), n = a[0].split(":")[1], o = window.atob(a[1]), i = new Uint8Array(o.length);
4852
4918
  for (let r = 0; r < o.length; ++r)
4853
- t[r] = o.charCodeAt(r);
4854
- return new Blob([t], { type: n });
4919
+ i[r] = o.charCodeAt(r);
4920
+ return new Blob([i], { type: n });
4855
4921
  },
4856
4922
  blobToBase64(e) {
4857
4923
  const a = new FileReader();
@@ -4862,14 +4928,14 @@ const Q = {
4862
4928
  });
4863
4929
  },
4864
4930
  base64toFile(e, a) {
4865
- for (var n = e.split(","), o = n[0].match(/:(.*?);/)[1], t = atob(n[1]), r = t.length, u = new Uint8Array(r); r--; )
4866
- u[r] = t.charCodeAt(r);
4931
+ for (var n = e.split(","), o = n[0].match(/:(.*?);/)[1], i = atob(n[1]), r = i.length, u = new Uint8Array(r); r--; )
4932
+ u[r] = i.charCodeAt(r);
4867
4933
  return new File([u], a, { type: o });
4868
4934
  },
4869
4935
  fileToBase64(e) {
4870
4936
  new Promise((a, n) => {
4871
4937
  const o = new FileReader();
4872
- o.readAsDataURL(e), o.onload = () => a(o.result), o.onerror = (t) => n(t);
4938
+ o.readAsDataURL(e), o.onload = () => a(o.result), o.onerror = (i) => n(i);
4873
4939
  });
4874
4940
  },
4875
4941
  getUTMParams(e, a) {
@@ -4877,12 +4943,12 @@ const Q = {
4877
4943
  return e.utm_source && (n.utm_source = e.utm_source), e.utm_medium && (n.utm_medium = e.utm_medium), e.utm_campaign && (n.utm_campaign = e.utm_campaign), e.utm_term && (n.utm_term = e.utm_term), e.utm_content && (n.utm_content = e.utm_content), n;
4878
4944
  },
4879
4945
  cropCardScan(e, a) {
4880
- const n = new window.Image(), o = document.createElement("canvas"), t = o.getContext("2d");
4946
+ const n = new window.Image(), o = document.createElement("canvas"), i = o.getContext("2d");
4881
4947
  n.src = "data:image/jpeg;base64," + e, n.onload = () => {
4882
4948
  const r = n.width, u = n.width / 1.65, s = 0, _ = n.height / 2 - u / 2, L = r, q = u;
4883
- o.width = L, o.height = q, t.drawImage(n, s, _, r, u, 0, 0, L, q);
4884
- const X = o.toDataURL();
4885
- return a(X), X;
4949
+ o.width = L, o.height = q, i.drawImage(n, s, _, r, u, 0, 0, L, q);
4950
+ const Z = o.toDataURL();
4951
+ return a(Z), Z;
4886
4952
  };
4887
4953
  },
4888
4954
  generateRandomString(e) {
@@ -4894,22 +4960,22 @@ const Q = {
4894
4960
  return btoa(String.fromCharCode.apply(null, new Uint8Array(o))).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4895
4961
  },
4896
4962
  encryptAES(e, a, n) {
4897
- let t = new TextEncoder().encode(n, storage);
4963
+ let i = new TextEncoder().encode(n, storage);
4898
4964
  return window.crypto.subtle.encrypt(
4899
4965
  {
4900
4966
  name: "AES-CBC",
4901
4967
  iv: a
4902
4968
  },
4903
4969
  e,
4904
- t
4970
+ i
4905
4971
  );
4906
4972
  },
4907
4973
  async decryptAES(e, a, n) {
4908
4974
  try {
4909
4975
  const o = (_) => Uint8Array.from(atob(_), (L) => L.charCodeAt(0));
4910
4976
  n = n.replace(/ /g, "+");
4911
- const t = new TextEncoder(), r = new TextDecoder();
4912
- e = t.encode(e), a = t.encode(a), n = o(n, storage);
4977
+ const i = new TextEncoder(), r = new TextDecoder();
4978
+ e = i.encode(e), a = i.encode(a), n = o(n, storage);
4913
4979
  const u = await window.crypto.subtle.importKey("raw", e, "AES-CBC", !0, ["encrypt", "decrypt"]);
4914
4980
  let s = await window.crypto.subtle.decrypt({ name: "AES-CBC", iv: a }, u, n);
4915
4981
  return s = r.decode(s), s = s.replace(/ /g, "+"), s = atob(s), s;
@@ -4917,7 +4983,7 @@ const Q = {
4917
4983
  console.log(o);
4918
4984
  }
4919
4985
  }
4920
- }, $ = {
4986
+ }, G = {
4921
4987
  data() {
4922
4988
  return {
4923
4989
  oktaAuth: null
@@ -4933,12 +4999,12 @@ const Q = {
4933
4999
  },
4934
5000
  methods: {
4935
5001
  async exchangeCode(e) {
4936
- var t, r;
4937
- let [a, n] = await g(K.post(e.domain + "/v1/token", new URLSearchParams({ code: e.code, client_id: e.clientID, grant_type: "authorization_code", redirect_uri: this.isNative ? "tapni://t.link/callback/okta" : location.origin + "/callback/okta", code_verifier: localStorage.getItem("pkce_code_verifier") })));
5002
+ var i, r;
5003
+ let [a, n] = await g(H.post(e.domain + "/v1/token", new URLSearchParams({ code: e.code, client_id: e.clientID, grant_type: "authorization_code", redirect_uri: this.isNative ? "tapni://t.link/callback/okta" : location.origin + "/callback/okta", code_verifier: localStorage.getItem("pkce_code_verifier") })));
4938
5004
  if (a)
4939
5005
  return this.errorHandler(a);
4940
5006
  localStorage.removeItem("pkce_code_verifier");
4941
- let o = { accessToken: (t = n.data) == null ? void 0 : t.access_token, domain: e.domain };
5007
+ let o = { accessToken: (i = n.data) == null ? void 0 : i.access_token, domain: e.domain };
4942
5008
  if (this.display === "popup" && (o.response_type = "code"), [a, n] = await g(w.oktaSDK(o, this.storage)), a)
4943
5009
  return this.oktaLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(a);
4944
5010
  if (n.data.success) {
@@ -4951,29 +5017,29 @@ const Q = {
4951
5017
  this.errorSnack(this.ssoLang[this.appLang].unexpected_err);
4952
5018
  },
4953
5019
  async oktaLogin(e) {
4954
- const a = ne.getPlatform() || "web";
5020
+ const a = D.getPlatform() || "web";
4955
5021
  let n = btoa("domain=" + e.domain + "&client_id=" + e.clientID + "&platform=" + a + "&rand=" + N.generateRandomString(28)), o = N.generateRandomString(28);
4956
5022
  localStorage.setItem("pkce_code_verifier", o);
4957
- let t = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", u;
5023
+ let i = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", u;
4958
5024
  this.isNative ? u = "tapni://t.link/callback/okta" : u = location.origin + "/callback/okta";
4959
- let s = r + "?response_type=code&client_id=" + encodeURIComponent(e.clientID) + "&state=" + encodeURIComponent(n) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(u) + "&code_challenge=" + encodeURIComponent(t) + "&code_challenge_method=S256", _ = this, L;
5025
+ let s = r + "?response_type=code&client_id=" + encodeURIComponent(e.clientID) + "&state=" + encodeURIComponent(n) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(u) + "&code_challenge=" + encodeURIComponent(i) + "&code_challenge_method=S256", _ = this, L;
4960
5026
  window.addEventListener("message", async (q) => {
4961
5027
  if (!this.allowedOrigins.includes(q.origin))
4962
5028
  return console.log("Origin is not allowed!");
4963
5029
  q.data.type === "okta" && (L = q.data.code, await _.exchangeCode({ domain: e.domain, code: L, clientID: e.clientID }));
4964
- }, { once: !0 }), this.isNative ? await F.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
5030
+ }, { once: !0 }), this.isNative ? await Q.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
4965
5031
  },
4966
5032
  async handleOktaRedirect() {
4967
- let e = this.$route.query.code, a, n, o, t, r = { type: "okta" };
5033
+ let e = this.$route.query.code, a, n, o, i, r = { type: "okta" };
4968
5034
  if (e && (r.code = e), this.$route.query.state) {
4969
5035
  a = this.$route.query.state, a = atob(a);
4970
5036
  const u = new URLSearchParams(a);
4971
- n = u.get("client_id"), o = u.get("domain"), t = u.get("platform");
5037
+ n = u.get("client_id"), o = u.get("domain"), i = u.get("platform");
4972
5038
  }
4973
- window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await F.close(), d.$emit("ssoEvent", { name: "setLoading", data: !0 }), e && n && o && await this.exchangeCode({ code: e, clientID: n, domain: o, platform: t }), localStorage.removeItem("pkce_code_verifier"), d.$emit("ssoEvent", { name: "setLoading", data: !1 }));
5039
+ window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await Q.close(), d.$emit("ssoEvent", { name: "setLoading", data: !0 }), e && n && o && await this.exchangeCode({ code: e, clientID: n, domain: o, platform: i }), localStorage.removeItem("pkce_code_verifier"), d.$emit("ssoEvent", { name: "setLoading", data: !1 }));
4974
5040
  }
4975
5041
  }
4976
- }, G = {
5042
+ }, W = {
4977
5043
  data() {
4978
5044
  return {
4979
5045
  code_verifier: "",
@@ -4991,20 +5057,20 @@ const Q = {
4991
5057
  methods: {
4992
5058
  async samlLogin(e) {
4993
5059
  this.code_verifier = N.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await N.pkceChallengeFromVerifier(this.code_verifier);
4994
- const a = ne.getPlatform();
5060
+ const a = D.getPlatform();
4995
5061
  let n = Buffer.from(`code_challenge=${this.code_challenge}&platform=${a}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.storage.realm}`).toString("base64");
4996
5062
  e = `${e}&RelayState=${n}`;
4997
5063
  let o = this;
4998
- window.addEventListener("message", async (t) => {
5064
+ window.addEventListener("message", async (i) => {
4999
5065
  var r;
5000
- if (!this.allowedOrigins.includes(t.origin))
5066
+ if (!this.allowedOrigins.includes(i.origin))
5001
5067
  return console.log("Origin is not allowed!");
5002
- if (t.data.type === "saml" && t.data.code) {
5068
+ if (i.data.type === "saml" && i.data.code) {
5003
5069
  if (this.display === "popup")
5004
- return (r = window.parent) == null ? void 0 : r.postMessage({ code: t.data.code, state: this.$route.query.state, code_verifier: localStorage.getItem("pkce_code_verifier") }, "*");
5005
- await o.exchangeAuthCode({ code: t.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
5070
+ return (r = window.parent) == null ? void 0 : r.postMessage({ code: i.data.code, state: this.$route.query.state, code_verifier: localStorage.getItem("pkce_code_verifier") }, "*");
5071
+ await o.exchangeAuthCode({ code: i.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
5006
5072
  }
5007
- }, { once: !0 }), this.isNative ? await F.open({ url: e, presentationStyle: "popover" }) : window.open(e, "popup", "width=600,height=600");
5073
+ }, { once: !0 }), this.isNative ? await Q.open({ url: e, presentationStyle: "popover" }) : window.open(e, "popup", "width=600,height=600");
5008
5074
  },
5009
5075
  async handleSamlRedirect() {
5010
5076
  var n;
@@ -5012,7 +5078,7 @@ const Q = {
5012
5078
  if (this.$route.query.code && (a.code = this.$route.query.code), window.opener)
5013
5079
  window.opener.postMessage(a, location.origin), window.close();
5014
5080
  else {
5015
- if (this.isNative && this.isIOS && await F.close(), EventBus.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (e = this.$route.query.code), e) {
5081
+ if (this.isNative && this.isIOS && await Q.close(), EventBus.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (e = this.$route.query.code), e) {
5016
5082
  if (this.display === "popup")
5017
5083
  return (n = window.parent) == null ? void 0 : n.postMessage({ code: e, state: this.$route.query.state }, "*");
5018
5084
  await this.exchangeAuthCode({ code: e, code_verifier: localStorage.getItem("pkce_code_verifier") });
@@ -5021,7 +5087,7 @@ const Q = {
5021
5087
  }
5022
5088
  }
5023
5089
  }
5024
- }, Je = {
5090
+ }, aa = {
5025
5091
  data() {
5026
5092
  return {
5027
5093
  isQrCodeLogin: !1,
@@ -5043,14 +5109,14 @@ const Q = {
5043
5109
  },
5044
5110
  methods: {
5045
5111
  async changeLoginToQr() {
5046
- this.isQrCodeLogin = !0, await Z(), await this.initQrCodeLogin();
5112
+ this.isQrCodeLogin = !0, await J(), await this.initQrCodeLogin();
5047
5113
  },
5048
5114
  generateRandomHash() {
5049
5115
  const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", a = e.length;
5050
5116
  let n = "";
5051
5117
  const o = new Uint32Array(32);
5052
- return window.crypto.getRandomValues(o), o.forEach((t) => {
5053
- n += e.charAt(t % a);
5118
+ return window.crypto.getRandomValues(o), o.forEach((i) => {
5119
+ n += e.charAt(i % a);
5054
5120
  }), n;
5055
5121
  },
5056
5122
  refreshQrCode() {
@@ -5092,14 +5158,14 @@ const Q = {
5092
5158
  }, 2e3);
5093
5159
  },
5094
5160
  async initQrCodeLogin() {
5095
- this.refreshQrCode(), await Z(), await this.startQrCodePooling(), this.qrCodeRefreshInterval = setInterval(() => {
5161
+ this.refreshQrCode(), await J(), await this.startQrCodePooling(), this.qrCodeRefreshInterval = setInterval(() => {
5096
5162
  this.refreshQrCode();
5097
5163
  }, 6e4);
5098
5164
  }
5099
5165
  }
5100
- }, ea = {
5166
+ }, na = {
5101
5167
  name: "AuthLogin",
5102
- mixins: [_e, me, ge, Q, $, G, z, Je],
5168
+ mixins: [me, ge, he, $, G, W, z, aa],
5103
5169
  props: {
5104
5170
  isModal: {
5105
5171
  type: Boolean,
@@ -5164,12 +5230,12 @@ const Q = {
5164
5230
  d.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
5165
5231
  },
5166
5232
  async bum() {
5167
- this.storage.token = "321213";
5233
+ this.$storage.token = "321213";
5168
5234
  }
5169
5235
  },
5170
5236
  watch: {
5171
5237
  emailOrUsername(e) {
5172
- e.includes("@") && (this.storage.verifyEmail = e);
5238
+ e.includes("@") && (this.$storage.verifyEmail = e);
5173
5239
  },
5174
5240
  "$route.path": async function(e) {
5175
5241
  if (e === "/login/callback/okta")
@@ -5178,85 +5244,85 @@ const Q = {
5178
5244
  return await this.handleSamlRedirect();
5179
5245
  }
5180
5246
  }
5181
- }, aa = /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
5182
- /* @__PURE__ */ i("img", {
5247
+ }, ta = /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5248
+ /* @__PURE__ */ t("img", {
5183
5249
  src: "https://cdn.tapni.co/icons/down-arrow.png",
5184
5250
  class: "responsive-image",
5185
5251
  style: { width: "35%" }
5186
5252
  })
5187
- ], -1), na = [
5188
- aa
5189
- ], ia = /* @__PURE__ */ i("p", { class: "half-bottom small-top center-text color-black" }, null, -1), ta = { key: 1 }, oa = { class: "page-login-field half-top" }, ra = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
5190
- /* @__PURE__ */ i("img", {
5253
+ ], -1), ia = [
5254
+ ta
5255
+ ], oa = /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1), ra = { key: 1 }, sa = { class: "page-login-field half-top" }, ca = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5256
+ /* @__PURE__ */ t("img", {
5191
5257
  src: "https://cdn.tapni.co/icons/user.png",
5192
5258
  class: "responsive-image",
5193
5259
  style: { width: "50%" }
5194
5260
  })
5195
- ], -1), sa = ["placeholder"], ca = /* @__PURE__ */ i("em", null, null, -1), la = { class: "page-login-field half-bottom" }, da = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
5196
- /* @__PURE__ */ i("img", {
5261
+ ], -1), la = ["placeholder"], da = /* @__PURE__ */ t("em", null, null, -1), pa = { class: "page-login-field half-bottom" }, ua = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5262
+ /* @__PURE__ */ t("img", {
5197
5263
  src: "https://cdn.tapni.co/icons/padlock.png",
5198
5264
  class: "responsive-image",
5199
5265
  style: { width: "50%" }
5200
5266
  })
5201
- ], -1), pa = ["type", "placeholder"], ua = {
5267
+ ], -1), _a = ["type", "placeholder"], ma = {
5202
5268
  src: "https://cdn.tapni.co/icons/reveal-password.png",
5203
5269
  class: "responsive-image password-reveal-icon"
5204
- }, _a = {
5270
+ }, ga = {
5205
5271
  src: "https://cdn.tapni.co/icons/hide-password.png",
5206
5272
  class: "responsive-image password-reveal-icon"
5207
- }, ma = {
5273
+ }, ha = {
5208
5274
  type: "submit",
5209
5275
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
5210
- }, ga = { key: 0 }, ha = {
5276
+ }, fa = { key: 0 }, va = {
5211
5277
  key: 1,
5212
5278
  class: "button--loading button__loader"
5213
- }, fa = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), va = /* @__PURE__ */ i("img", {
5279
+ }, ka = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), ba = /* @__PURE__ */ t("img", {
5214
5280
  src: "https://cdn.tapni.co/icons/apple-logo.png",
5215
5281
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
5216
- }, null, -1), ka = { key: 0 }, ba = {
5282
+ }, null, -1), ya = { key: 0 }, wa = {
5217
5283
  key: 1,
5218
5284
  class: "button--loading button__loader"
5219
- }, ya = /* @__PURE__ */ i("img", {
5285
+ }, za = /* @__PURE__ */ t("img", {
5220
5286
  src: "https://cdn.tapni.co/icons/g-logo.png",
5221
5287
  style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
5222
- }, null, -1), wa = { key: 0 }, za = {
5288
+ }, null, -1), La = { key: 0 }, Sa = {
5223
5289
  key: 1,
5224
5290
  class: "button--loading-black button__loader"
5225
- }, La = /* @__PURE__ */ i("img", {
5291
+ }, Ca = /* @__PURE__ */ t("img", {
5226
5292
  src: "https://cdn.tapni.co/icons/facebook-blue.png",
5227
5293
  style: { position: "absolute", "margin-left": "-9px", padding: "10px 0", height: "100%" }
5228
- }, null, -1), Ca = { key: 0 }, Sa = {
5294
+ }, null, -1), Ta = { key: 0 }, ja = {
5229
5295
  key: 1,
5230
5296
  class: "button--loading-black button__loader"
5231
- }, Ta = /* @__PURE__ */ i("img", {
5297
+ }, Pa = /* @__PURE__ */ t("img", {
5232
5298
  src: "https://cdn.tapni.co/icons/outlook.png",
5233
5299
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
5234
- }, null, -1), ja = { key: 0 }, Pa = {
5300
+ }, null, -1), Aa = { key: 0 }, Ia = {
5235
5301
  key: 1,
5236
5302
  class: "button--loading-black button__loader"
5237
- }, Aa = /* @__PURE__ */ i("img", {
5303
+ }, Ea = /* @__PURE__ */ t("img", {
5238
5304
  src: "https://cdn.tapni.co/icons/sso-key.png",
5239
5305
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
5240
- }, null, -1), Ia = { key: 0 }, Ea = {
5306
+ }, null, -1), xa = { key: 0 }, qa = {
5241
5307
  key: 1,
5242
5308
  class: "button--loading-black button__loader"
5243
- }, xa = /* @__PURE__ */ i("img", {
5309
+ }, Ma = /* @__PURE__ */ t("img", {
5244
5310
  src: "https://cdn.tapni.co/icons/sso-key.png",
5245
5311
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
5246
- }, null, -1), qa = { key: 0 }, Ma = {
5312
+ }, null, -1), Ra = { key: 0 }, Na = {
5247
5313
  key: 1,
5248
5314
  class: "button--loading-black button__loader"
5249
- }, Ra = /* @__PURE__ */ i("img", {
5315
+ }, Va = /* @__PURE__ */ t("img", {
5250
5316
  src: "https://cdn.tapni.co/icons/mail.png",
5251
5317
  style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
5252
- }, null, -1), Na = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Va = { class: "close-text center-text half-top color-black" }, Oa = /* @__PURE__ */ i("br", null, null, -1), Ba = {
5318
+ }, null, -1), Oa = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ba = { class: "close-text center-text half-top color-black" }, Da = /* @__PURE__ */ t("br", null, null, -1), Ua = {
5253
5319
  class: "",
5254
5320
  href: "https://tapni.co/policies/terms-of-service"
5255
- }, Da = { href: "https://tapni.co/policies/privacy-policy" }, Ua = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ka = {
5321
+ }, Ka = { href: "https://tapni.co/policies/privacy-policy" }, Ha = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Fa = {
5256
5322
  key: 9,
5257
5323
  class: "page-login-links"
5258
- }, Ha = /* @__PURE__ */ i("div", { class: "clear" }, null, -1), Fa = { class: "forgot center-text pointer small-top" }, Qa = /* @__PURE__ */ i("br", null, null, -1), $a = /* @__PURE__ */ i("div", { class: "clear" }, null, -1);
5259
- function Ga(e, a, n, o, t, r) {
5324
+ }, Qa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), $a = { class: "forgot center-text pointer small-top" }, Ga = /* @__PURE__ */ t("br", null, null, -1), Wa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
5325
+ function Xa(e, a, n, o, i, r) {
5260
5326
  const u = V("router-link");
5261
5327
  return c(), l("form", {
5262
5328
  class: "page-login content-boxed content-boxed-padding",
@@ -5269,18 +5335,18 @@ function Ga(e, a, n, o, t, r) {
5269
5335
  onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
5270
5336
  class: "color-black pull-right pointer",
5271
5337
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5272
- }, na)) : h("", !0),
5273
- i("h1", {
5338
+ }, ia)) : h("", !0),
5339
+ t("h1", {
5274
5340
  class: "bold no-bottom center-text",
5275
5341
  style: { "margin-top": "63px" },
5276
5342
  onClick: a[1] || (a[1] = (...s) => r.bum && r.bum(...s))
5277
5343
  }, p(this.ssoLang[this.appLang].login), 1),
5278
- ia,
5279
- r.displayFormLogin ? (c(), l("span", ta, [
5280
- i("div", oa, [
5281
- ra,
5282
- k(i("input", {
5283
- "onUpdate:modelValue": a[2] || (a[2] = (s) => t.emailOrUsername = s),
5344
+ oa,
5345
+ r.displayFormLogin ? (c(), l("span", ra, [
5346
+ t("div", sa, [
5347
+ ca,
5348
+ k(t("input", {
5349
+ "onUpdate:modelValue": a[2] || (a[2] = (s) => i.emailOrUsername = s),
5284
5350
  onKeydown: a[3] || (a[3] = E(y(() => {
5285
5351
  }, ["prevent"]), ["space"])),
5286
5352
  autocorrect: "off",
@@ -5290,117 +5356,117 @@ function Ga(e, a, n, o, t, r) {
5290
5356
  name: "email",
5291
5357
  placeholder: e.ssoLang[this.appLang].email_username,
5292
5358
  required: ""
5293
- }, null, 40, sa), [
5294
- [x, t.emailOrUsername]
5359
+ }, null, 40, la), [
5360
+ [x, i.emailOrUsername]
5295
5361
  ]),
5296
- ca
5362
+ da
5297
5363
  ]),
5298
- i("div", la, [
5299
- da,
5300
- k(i("input", {
5301
- "onUpdate:modelValue": a[4] || (a[4] = (s) => t.password = s),
5302
- type: t.revealPassword ? "text" : "password",
5364
+ t("div", pa, [
5365
+ ua,
5366
+ k(t("input", {
5367
+ "onUpdate:modelValue": a[4] || (a[4] = (s) => i.password = s),
5368
+ type: i.revealPassword ? "text" : "password",
5303
5369
  placeholder: e.ssoLang[this.appLang].password,
5304
5370
  name: "password",
5305
5371
  required: "",
5306
5372
  minlength: "8"
5307
- }, null, 8, pa), [
5308
- [U, t.password]
5373
+ }, null, 8, _a), [
5374
+ [K, i.password]
5309
5375
  ]),
5310
- i("em", {
5311
- onClick: a[5] || (a[5] = (s) => t.revealPassword = !t.revealPassword),
5376
+ t("em", {
5377
+ onClick: a[5] || (a[5] = (s) => i.revealPassword = !i.revealPassword),
5312
5378
  class: "pointer"
5313
5379
  }, [
5314
- k(i("img", ua, null, 512), [
5315
- [I, !t.revealPassword]
5380
+ k(t("img", ma, null, 512), [
5381
+ [I, !i.revealPassword]
5316
5382
  ]),
5317
- k(i("img", _a, null, 512), [
5318
- [I, t.revealPassword]
5383
+ k(t("img", ga, null, 512), [
5384
+ [I, i.revealPassword]
5319
5385
  ])
5320
5386
  ])
5321
5387
  ]),
5322
- i("button", ma, [
5323
- t.submitted ? (c(), l("span", ha)) : (c(), l("span", ga, p(e.ssoLang[e.appLang].login), 1))
5388
+ t("button", ha, [
5389
+ i.submitted ? (c(), l("span", va)) : (c(), l("span", fa, p(e.ssoLang[e.appLang].login), 1))
5324
5390
  ])
5325
5391
  ])) : h("", !0),
5326
- fa,
5392
+ ka,
5327
5393
  e.displayAppleLogin ? (c(), l("a", {
5328
5394
  key: 2,
5329
5395
  onClick: a[6] || (a[6] = (...s) => e.appleLogin && e.appleLogin(...s)),
5330
5396
  class: "button-center button button-90 google-button pointer"
5331
5397
  }, [
5332
- va,
5333
- e.appleLoad ? (c(), l("span", ba)) : (c(), l("span", ka, p(e.ssoLang[e.appLang].sign_in_with) + " Apple", 1))
5398
+ ba,
5399
+ e.appleLoad ? (c(), l("span", wa)) : (c(), l("span", ya, p(e.ssoLang[e.appLang].sign_in_with) + " Apple", 1))
5334
5400
  ])) : h("", !0),
5335
5401
  e.displayGoogleLogin ? (c(), l("a", {
5336
5402
  key: 3,
5337
5403
  onClick: a[7] || (a[7] = (...s) => e.googleLogin && e.googleLogin(...s)),
5338
5404
  class: "button-center button button-90 google-button pointer"
5339
5405
  }, [
5340
- ya,
5341
- e.googleLoad ? (c(), l("span", za)) : (c(), l("span", wa, p(e.ssoLang[e.appLang].sign_in_with) + " Google", 1))
5406
+ za,
5407
+ e.googleLoad ? (c(), l("span", Sa)) : (c(), l("span", La, p(e.ssoLang[e.appLang].sign_in_with) + " Google", 1))
5342
5408
  ])) : h("", !0),
5343
5409
  e.displayFacebookLogin ? (c(), l("a", {
5344
5410
  key: 4,
5345
5411
  onClick: a[8] || (a[8] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
5346
5412
  class: "button-center button button-90 google-button pointer"
5347
5413
  }, [
5348
- La,
5349
- e.facebookLoad ? (c(), l("span", Sa)) : (c(), l("span", Ca, p(e.ssoLang[e.appLang].sign_in_with) + " Facebook", 1))
5414
+ Ca,
5415
+ e.facebookLoad ? (c(), l("span", ja)) : (c(), l("span", Ta, p(e.ssoLang[e.appLang].sign_in_with) + " Facebook", 1))
5350
5416
  ])) : h("", !0),
5351
5417
  e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
5352
5418
  key: 5,
5353
5419
  onClick: a[9] || (a[9] = (...s) => e.microsoftLogin && e.microsoftLogin(...s)),
5354
5420
  class: "button-center button button-90 google-button pointer"
5355
5421
  }, [
5356
- Ta,
5357
- e.microsoftLoad ? (c(), l("span", Pa)) : (c(), l("span", ja, p(e.ssoLang[e.appLang].sign_in_with) + " Outlook", 1))
5422
+ Pa,
5423
+ e.microsoftLoad ? (c(), l("span", Ia)) : (c(), l("span", Aa, p(e.ssoLang[e.appLang].sign_in_with) + " Outlook", 1))
5358
5424
  ])),
5359
5425
  e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
5360
5426
  key: 6,
5361
5427
  onClick: a[10] || (a[10] = (...s) => e.ssoLogin && e.ssoLogin(...s)),
5362
5428
  class: "button-center button button-90 google-button pointer"
5363
5429
  }, [
5364
- Aa,
5365
- e.microsoftSSOLoad ? (c(), l("span", Ea)) : (c(), l("span", Ia, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1))
5430
+ Ea,
5431
+ e.microsoftSSOLoad ? (c(), l("span", qa)) : (c(), l("span", xa, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1))
5366
5432
  ])),
5367
5433
  e.displayMicrosoftSSOLogin ? (c(), l("a", {
5368
5434
  key: 7,
5369
5435
  onClick: a[11] || (a[11] = (s) => e.microsoftLogin("sso")),
5370
5436
  class: "button-center button button-90 google-button pointer"
5371
5437
  }, [
5372
- xa,
5373
- e.microsoftSSOLoad ? (c(), l("span", qa, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1)) : (c(), l("span", Ma))
5438
+ Ma,
5439
+ e.microsoftSSOLoad ? (c(), l("span", Ra, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1)) : (c(), l("span", Na))
5374
5440
  ])) : h("", !0),
5375
5441
  r.displayFormLogin ? h("", !0) : (c(), l("a", {
5376
5442
  key: 8,
5377
- onClick: a[12] || (a[12] = (s) => t.emailLogin = !0),
5443
+ onClick: a[12] || (a[12] = (s) => i.emailLogin = !0),
5378
5444
  class: "button-center button button-90 google-button pointer"
5379
5445
  }, [
5380
- Ra,
5381
- i("span", null, p(e.ssoLang[e.appLang].sign_in_with) + " Email", 1)
5446
+ Va,
5447
+ t("span", null, p(e.ssoLang[e.appLang].sign_in_with) + " Email", 1)
5382
5448
  ])),
5383
- Na,
5384
- i("p", Va, [
5449
+ Oa,
5450
+ t("p", Ba, [
5385
5451
  f(p(e.ssoLang[e.appLang].terms_by_signing_in) + " ", 1),
5386
- Oa,
5387
- i("a", Ba, p(e.ssoLang[this.appLang].terms_of_service), 1),
5452
+ Da,
5453
+ t("a", Ua, p(e.ssoLang[this.appLang].terms_of_service), 1),
5388
5454
  f(" " + p(e.ssoLang[e.appLang].and) + " ", 1),
5389
- i("a", Da, p(e.ssoLang[this.appLang].privacy_policy), 1)
5455
+ t("a", Ka, p(e.ssoLang[this.appLang].privacy_policy), 1)
5390
5456
  ]),
5391
- Ua,
5457
+ Ha,
5392
5458
  n.isModal ? (c(), l("div", {
5393
5459
  key: 10,
5394
5460
  class: "page-login-links",
5395
5461
  onClick: a[13] || (a[13] = (...s) => r.createAccountModal && r.createAccountModal(...s))
5396
5462
  }, [
5397
- i("a", Fa, [
5463
+ t("a", $a, [
5398
5464
  f(p(e.ssoLang[e.appLang].or) + " ", 1),
5399
- Qa,
5465
+ Ga,
5400
5466
  f(" " + p(e.ssoLang[e.appLang].create_new_account), 1)
5401
5467
  ]),
5402
- $a
5403
- ])) : (c(), l("div", Ka, [
5468
+ Wa
5469
+ ])) : (c(), l("div", Fa, [
5404
5470
  r.displayRegisterLogin ? (c(), P(u, {
5405
5471
  key: 0,
5406
5472
  class: "forgot float-right",
@@ -5421,13 +5487,13 @@ function Ga(e, a, n, o, t, r) {
5421
5487
  ]),
5422
5488
  _: 1
5423
5489
  })) : h("", !0),
5424
- Ha
5490
+ Qa
5425
5491
  ]))
5426
5492
  ], 36);
5427
5493
  }
5428
- const he = /* @__PURE__ */ T(ea, [["render", Ga]]), Wa = {
5494
+ const fe = /* @__PURE__ */ T(na, [["render", Xa]]), Ya = {
5429
5495
  name: "AuthRegister",
5430
- mixins: [_e, me, ge, Q, z],
5496
+ mixins: [me, ge, he, $, z],
5431
5497
  props: {
5432
5498
  isModal: {
5433
5499
  type: Boolean,
@@ -5492,76 +5558,76 @@ const he = /* @__PURE__ */ T(ea, [["render", Ga]]), Wa = {
5492
5558
  this.storage.referral = e;
5493
5559
  }
5494
5560
  }
5495
- }, Ya = /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
5496
- /* @__PURE__ */ i("img", {
5561
+ }, Za = /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5562
+ /* @__PURE__ */ t("img", {
5497
5563
  src: "https://cdn.tapni.co/icons/down-arrow.png",
5498
5564
  class: "responsive-image",
5499
5565
  style: { width: "35%" }
5500
5566
  })
5501
- ], -1), Xa = [
5502
- Ya
5503
- ], Za = {
5567
+ ], -1), Ja = [
5568
+ Za
5569
+ ], en = {
5504
5570
  class: "bold no-bottom center-text",
5505
5571
  style: { "margin-top": "63px" }
5506
- }, Ja = { class: "half-bottom small-top center-text color-black" }, en = { key: 0 }, an = /* @__PURE__ */ i("br", null, null, -1), nn = { key: 1 }, tn = { class: "page-login-field half-top" }, on = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
5507
- /* @__PURE__ */ i("img", {
5572
+ }, an = { class: "half-bottom small-top center-text color-black" }, nn = { key: 0 }, tn = /* @__PURE__ */ t("br", null, null, -1), on = { key: 1 }, rn = { class: "page-login-field half-top" }, sn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5573
+ /* @__PURE__ */ t("img", {
5508
5574
  src: "https://cdn.tapni.co/icons/mail.png",
5509
5575
  class: "responsive-image",
5510
5576
  style: { width: "60%" }
5511
5577
  })
5512
- ], -1), rn = ["placeholder"], sn = /* @__PURE__ */ i("em", null, null, -1), cn = { class: "page-login-field half-top" }, ln = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
5513
- /* @__PURE__ */ i("img", {
5578
+ ], -1), cn = ["placeholder"], ln = /* @__PURE__ */ t("em", null, null, -1), dn = { class: "page-login-field half-top" }, pn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5579
+ /* @__PURE__ */ t("img", {
5514
5580
  src: "https://cdn.tapni.co/icons/user.png",
5515
5581
  class: "responsive-image",
5516
5582
  style: { width: "50%" }
5517
5583
  })
5518
- ], -1), dn = ["placeholder", "disabled"], pn = /* @__PURE__ */ i("em", null, null, -1), un = { class: "page-login-field half-top half-bottom" }, _n = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
5519
- /* @__PURE__ */ i("img", {
5584
+ ], -1), un = ["placeholder", "disabled"], _n = /* @__PURE__ */ t("em", null, null, -1), mn = { class: "page-login-field half-top half-bottom" }, gn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5585
+ /* @__PURE__ */ t("img", {
5520
5586
  src: "https://cdn.tapni.co/icons/padlock.png",
5521
5587
  class: "responsive-image",
5522
5588
  style: { width: "50%" }
5523
5589
  })
5524
- ], -1), mn = ["type", "placeholder"], gn = {
5590
+ ], -1), hn = ["type", "placeholder"], fn = {
5525
5591
  src: "https://cdn.tapni.co/icons/reveal-password.png",
5526
5592
  class: "responsive-image password-reveal-icon"
5527
- }, hn = {
5593
+ }, vn = {
5528
5594
  src: "https://cdn.tapni.co/icons/hide-password.png",
5529
5595
  class: "responsive-image password-reveal-icon"
5530
- }, fn = {
5596
+ }, kn = {
5531
5597
  type: "submit",
5532
5598
  class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
5533
- }, vn = { key: 0 }, kn = {
5599
+ }, bn = { key: 0 }, yn = {
5534
5600
  key: 1,
5535
5601
  class: "button--loading button__loader"
5536
- }, bn = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), yn = /* @__PURE__ */ i("img", {
5602
+ }, wn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), zn = /* @__PURE__ */ t("img", {
5537
5603
  src: "https://cdn.tapni.co/icons/apple-logo.png",
5538
5604
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
5539
- }, null, -1), wn = { key: 0 }, zn = {
5605
+ }, null, -1), Ln = { key: 0 }, Sn = {
5540
5606
  key: 1,
5541
5607
  class: "button--loading button__loader"
5542
- }, Ln = /* @__PURE__ */ i("img", {
5608
+ }, Cn = /* @__PURE__ */ t("img", {
5543
5609
  src: "https://cdn.tapni.co/icons/g-logo.png",
5544
5610
  style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
5545
- }, null, -1), Cn = { key: 0 }, Sn = {
5611
+ }, null, -1), Tn = { key: 0 }, jn = {
5546
5612
  key: 1,
5547
5613
  class: "button--loading button__loader"
5548
- }, Tn = /* @__PURE__ */ i("img", {
5614
+ }, Pn = /* @__PURE__ */ t("img", {
5549
5615
  src: "https://cdn.tapni.co/icons/facebook-blue.png",
5550
5616
  style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
5551
- }, null, -1), jn = { key: 0 }, Pn = {
5617
+ }, null, -1), An = { key: 0 }, In = {
5552
5618
  key: 1,
5553
5619
  class: "button--loading button__loader"
5554
- }, An = /* @__PURE__ */ i("img", {
5620
+ }, En = /* @__PURE__ */ t("img", {
5555
5621
  src: "https://cdn.tapni.co/icons/mail.png",
5556
5622
  style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
5557
- }, null, -1), In = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), En = { class: "close-text center-text half-top color-black" }, xn = /* @__PURE__ */ i("br", null, null, -1), qn = {
5623
+ }, null, -1), xn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), qn = { class: "close-text center-text half-top color-black" }, Mn = /* @__PURE__ */ t("br", null, null, -1), Rn = {
5558
5624
  class: "",
5559
5625
  href: "https://tapni.co/policies/terms-of-service"
5560
- }, Mn = { href: "https://tapni.co/policies/privacy-policy" }, Rn = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Nn = {
5626
+ }, Nn = { href: "https://tapni.co/policies/privacy-policy" }, Vn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), On = {
5561
5627
  key: 5,
5562
5628
  class: "page-login-links"
5563
- }, Vn = /* @__PURE__ */ i("div", { class: "clear" }, null, -1), On = { class: "forgot center-text pointer small-top" }, Bn = /* @__PURE__ */ i("br", null, null, -1), Dn = /* @__PURE__ */ i("div", { class: "clear" }, null, -1);
5564
- function Un(e, a, n, o, t, r) {
5629
+ }, Bn = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Dn = { class: "forgot center-text pointer small-top" }, Un = /* @__PURE__ */ t("br", null, null, -1), Kn = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
5630
+ function Hn(e, a, n, o, i, r) {
5565
5631
  const u = V("router-link");
5566
5632
  return c(), l("form", {
5567
5633
  class: "page-login content-boxed content-boxed-padding",
@@ -5574,34 +5640,34 @@ function Un(e, a, n, o, t, r) {
5574
5640
  onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
5575
5641
  class: "color-black pull-right pointer",
5576
5642
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5577
- }, Xa)) : h("", !0),
5578
- i("h1", Za, p(e.ssoLang[this.appLang].register), 1),
5579
- i("p", Ja, [
5580
- t.usernameRegister ? (c(), l("span", en, [
5581
- f(" t.link/" + p(t.username) + " " + p(e.ssoLang[this.appLang].username_is_free) + " ✅ ", 1),
5582
- an
5643
+ }, Ja)) : h("", !0),
5644
+ t("h1", en, p(e.ssoLang[this.appLang].register), 1),
5645
+ t("p", an, [
5646
+ i.usernameRegister ? (c(), l("span", nn, [
5647
+ f(" t.link/" + p(i.username) + " " + p(e.ssoLang[this.appLang].username_is_free) + " ✅ ", 1),
5648
+ tn
5583
5649
  ])) : h("", !0)
5584
5650
  ]),
5585
- t.emailLogin ? (c(), l("span", nn, [
5586
- i("div", tn, [
5587
- on,
5588
- k(i("input", {
5589
- "onUpdate:modelValue": a[1] || (a[1] = (s) => t.email = s),
5651
+ i.emailLogin ? (c(), l("span", on, [
5652
+ t("div", rn, [
5653
+ sn,
5654
+ k(t("input", {
5655
+ "onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
5590
5656
  onKeydown: a[2] || (a[2] = E(y(() => {
5591
5657
  }, ["prevent"]), ["space"])),
5592
5658
  type: "email",
5593
5659
  placeholder: e.ssoLang[this.appLang].email,
5594
5660
  name: "email",
5595
5661
  required: ""
5596
- }, null, 40, rn), [
5597
- [x, t.email]
5662
+ }, null, 40, cn), [
5663
+ [x, i.email]
5598
5664
  ]),
5599
- sn
5665
+ ln
5600
5666
  ]),
5601
- i("div", cn, [
5602
- ln,
5603
- k(i("input", {
5604
- "onUpdate:modelValue": a[3] || (a[3] = (s) => t.username = s),
5667
+ t("div", dn, [
5668
+ pn,
5669
+ k(t("input", {
5670
+ "onUpdate:modelValue": a[3] || (a[3] = (s) => i.username = s),
5605
5671
  onKeydown: a[4] || (a[4] = E(y(() => {
5606
5672
  }, ["prevent"]), ["space"])),
5607
5673
  type: "text",
@@ -5611,94 +5677,94 @@ function Un(e, a, n, o, t, r) {
5611
5677
  placeholder: e.ssoLang[this.appLang].username,
5612
5678
  name: "username",
5613
5679
  required: "",
5614
- disabled: t.usernameRegister,
5615
- class: b({ "input-disabled": t.usernameRegister })
5616
- }, null, 42, dn), [
5617
- [x, t.username]
5680
+ disabled: i.usernameRegister,
5681
+ class: b({ "input-disabled": i.usernameRegister })
5682
+ }, null, 42, un), [
5683
+ [x, i.username]
5618
5684
  ]),
5619
- pn
5685
+ _n
5620
5686
  ]),
5621
- i("div", un, [
5622
- _n,
5623
- k(i("input", {
5624
- "onUpdate:modelValue": a[5] || (a[5] = (s) => t.password = s),
5625
- type: t.revealPassword ? "text" : "password",
5687
+ t("div", mn, [
5688
+ gn,
5689
+ k(t("input", {
5690
+ "onUpdate:modelValue": a[5] || (a[5] = (s) => i.password = s),
5691
+ type: i.revealPassword ? "text" : "password",
5626
5692
  placeholder: e.ssoLang[this.appLang].password,
5627
5693
  name: "password",
5628
5694
  required: "",
5629
5695
  minlength: "8"
5630
- }, null, 8, mn), [
5631
- [U, t.password]
5696
+ }, null, 8, hn), [
5697
+ [K, i.password]
5632
5698
  ]),
5633
- i("em", {
5634
- onClick: a[6] || (a[6] = (s) => t.revealPassword = !t.revealPassword),
5699
+ t("em", {
5700
+ onClick: a[6] || (a[6] = (s) => i.revealPassword = !i.revealPassword),
5635
5701
  class: "pointer"
5636
5702
  }, [
5637
- k(i("img", gn, null, 512), [
5638
- [I, !t.revealPassword]
5703
+ k(t("img", fn, null, 512), [
5704
+ [I, !i.revealPassword]
5639
5705
  ]),
5640
- k(i("img", hn, null, 512), [
5641
- [I, t.revealPassword]
5706
+ k(t("img", vn, null, 512), [
5707
+ [I, i.revealPassword]
5642
5708
  ])
5643
5709
  ])
5644
5710
  ]),
5645
- i("button", fn, [
5646
- t.submitted ? (c(), l("span", kn)) : (c(), l("span", vn, p(t.formButtonText), 1))
5711
+ t("button", kn, [
5712
+ i.submitted ? (c(), l("span", yn)) : (c(), l("span", bn, p(i.formButtonText), 1))
5647
5713
  ])
5648
5714
  ])) : h("", !0),
5649
- bn,
5715
+ wn,
5650
5716
  e.displayAppleLogin ? (c(), l("a", {
5651
5717
  key: 2,
5652
5718
  onClick: a[7] || (a[7] = (...s) => e.appleLogin && e.appleLogin(...s)),
5653
5719
  class: "button-center button button-90 google-button pointer"
5654
5720
  }, [
5655
- yn,
5656
- e.appleLoad ? (c(), l("span", zn)) : (c(), l("span", wn, p(e.ssoLang[this.appLang].sign_up_with) + " Apple", 1))
5721
+ zn,
5722
+ e.appleLoad ? (c(), l("span", Sn)) : (c(), l("span", Ln, p(e.ssoLang[this.appLang].sign_up_with) + " Apple", 1))
5657
5723
  ])) : h("", !0),
5658
- i("a", {
5724
+ t("a", {
5659
5725
  onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
5660
5726
  class: "button-center button button-90 google-button pointer"
5661
5727
  }, [
5662
- Ln,
5663
- e.googleLoad ? (c(), l("span", Sn)) : (c(), l("span", Cn, p(e.ssoLang[this.appLang].sign_up_with) + " Google", 1))
5728
+ Cn,
5729
+ e.googleLoad ? (c(), l("span", jn)) : (c(), l("span", Tn, p(e.ssoLang[this.appLang].sign_up_with) + " Google", 1))
5664
5730
  ]),
5665
5731
  e.displayFacebookLogin ? (c(), l("a", {
5666
5732
  key: 3,
5667
5733
  onClick: a[9] || (a[9] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
5668
5734
  class: "button-center button button-90 google-button pointer"
5669
5735
  }, [
5670
- Tn,
5671
- e.facebookLoad ? (c(), l("span", Pn)) : (c(), l("span", jn, p(e.ssoLang[this.appLang].sign_up_with) + " Facebook", 1))
5736
+ Pn,
5737
+ e.facebookLoad ? (c(), l("span", In)) : (c(), l("span", An, p(e.ssoLang[this.appLang].sign_up_with) + " Facebook", 1))
5672
5738
  ])) : h("", !0),
5673
- t.emailLogin ? h("", !0) : (c(), l("a", {
5739
+ i.emailLogin ? h("", !0) : (c(), l("a", {
5674
5740
  key: 4,
5675
- onClick: a[10] || (a[10] = (s) => t.emailLogin = !0),
5741
+ onClick: a[10] || (a[10] = (s) => i.emailLogin = !0),
5676
5742
  class: "button-center button button-90 google-button pointer"
5677
5743
  }, [
5678
- An,
5679
- i("span", null, p(e.ssoLang[this.appLang].sign_up_with) + " Email", 1)
5744
+ En,
5745
+ t("span", null, p(e.ssoLang[this.appLang].sign_up_with) + " Email", 1)
5680
5746
  ])),
5681
- In,
5682
- i("p", En, [
5747
+ xn,
5748
+ t("p", qn, [
5683
5749
  f(p(e.ssoLang[this.appLang].terms_by_registering) + " ", 1),
5684
- xn,
5685
- i("a", qn, p(e.ssoLang[this.appLang].terms_of_service), 1),
5750
+ Mn,
5751
+ t("a", Rn, p(e.ssoLang[this.appLang].terms_of_service), 1),
5686
5752
  f(" " + p(e.ssoLang[this.appLang].and) + " ", 1),
5687
- i("a", Mn, p(e.ssoLang[this.appLang].privacy_policy), 1)
5753
+ t("a", Nn, p(e.ssoLang[this.appLang].privacy_policy), 1)
5688
5754
  ]),
5689
- Rn,
5755
+ Vn,
5690
5756
  n.isModal ? (c(), l("div", {
5691
5757
  key: 6,
5692
5758
  class: "page-login-links",
5693
5759
  onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
5694
5760
  }, [
5695
- i("a", On, [
5761
+ t("a", Dn, [
5696
5762
  f(p(e.ssoLang[this.appLang].or) + " ", 1),
5697
- Bn,
5763
+ Un,
5698
5764
  f(" " + p(e.ssoLang[this.appLang].sign_in_with_new), 1)
5699
5765
  ]),
5700
- Dn
5701
- ])) : (c(), l("div", Nn, [
5766
+ Kn
5767
+ ])) : (c(), l("div", On, [
5702
5768
  v(u, {
5703
5769
  class: "create float-right",
5704
5770
  to: "/verify"
@@ -5717,11 +5783,11 @@ function Un(e, a, n, o, t, r) {
5717
5783
  ]),
5718
5784
  _: 1
5719
5785
  }),
5720
- Vn
5786
+ Bn
5721
5787
  ]))
5722
5788
  ], 36);
5723
5789
  }
5724
- const fe = /* @__PURE__ */ T(Wa, [["render", Un]]), Kn = {
5790
+ const ve = /* @__PURE__ */ T(Ya, [["render", Hn]]), Fn = {
5725
5791
  name: "AuthVerify",
5726
5792
  mixins: [z],
5727
5793
  props: {
@@ -5784,43 +5850,43 @@ const fe = /* @__PURE__ */ T(Wa, [["render", Un]]), Kn = {
5784
5850
  deep: !0
5785
5851
  }
5786
5852
  }
5787
- }, S = (e) => (O("data-v-2fd511e2"), e = e(), B(), e), Hn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
5788
- /* @__PURE__ */ i("img", {
5853
+ }, C = (e) => (O("data-v-2fd511e2"), e = e(), B(), e), Qn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5854
+ /* @__PURE__ */ t("img", {
5789
5855
  src: "https://cdn.tapni.co/icons/down-arrow.png",
5790
5856
  class: "responsive-image",
5791
5857
  style: { width: "35%" }
5792
5858
  })
5793
- ], -1)), Fn = [
5794
- Hn
5795
- ], Qn = {
5859
+ ], -1)), $n = [
5860
+ Qn
5861
+ ], Gn = {
5796
5862
  class: "bold no-bottom center-text",
5797
5863
  style: { "margin-top": "63px" }
5798
- }, $n = /* @__PURE__ */ S(() => /* @__PURE__ */ i("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Gn = { class: "page-login-field half-top" }, Wn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
5799
- /* @__PURE__ */ i("img", {
5864
+ }, Wn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Xn = { class: "page-login-field half-top" }, Yn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
5865
+ /* @__PURE__ */ t("img", {
5800
5866
  src: "https://cdn.tapni.co/icons/mail.png",
5801
5867
  class: "responsive-image",
5802
5868
  style: { width: "80%" }
5803
5869
  })
5804
- ], -1)), Yn = ["placeholder"], Xn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("em", null, null, -1)), Zn = { class: "page-login-field half-top" }, Jn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
5805
- /* @__PURE__ */ i("img", {
5870
+ ], -1)), Zn = ["placeholder"], Jn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), et = { class: "page-login-field half-top" }, at = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
5871
+ /* @__PURE__ */ t("img", {
5806
5872
  src: "https://cdn.tapni.co/icons/password2.png",
5807
5873
  class: "responsive-image",
5808
5874
  style: { width: "100%" }
5809
5875
  })
5810
- ], -1)), ei = ["placeholder"], ai = /* @__PURE__ */ S(() => /* @__PURE__ */ i("em", null, null, -1)), ni = {
5876
+ ], -1)), nt = ["placeholder"], tt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), it = {
5811
5877
  type: "submit",
5812
5878
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
5813
- }, ii = {
5879
+ }, ot = {
5814
5880
  key: 0,
5815
5881
  class: "uppercase"
5816
- }, ti = {
5882
+ }, rt = {
5817
5883
  key: 1,
5818
5884
  class: "button--loading button__loader"
5819
- }, oi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), ri = { class: "close-text center-text half-top color-black" }, si = ["innerHTML"], ci = /* @__PURE__ */ S(() => /* @__PURE__ */ i("a", { href: "mailto:support@tapni.co?subject=Email Verification" }, " support@tapni.co", -1)), li = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), di = {
5885
+ }, st = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), ct = { class: "close-text center-text half-top color-black" }, lt = ["innerHTML"], dt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("a", { href: "mailto:support@tapni.co?subject=Email Verification" }, " support@tapni.co", -1)), pt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), ut = {
5820
5886
  key: 1,
5821
5887
  class: "page-login-links"
5822
- }, pi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), ui = { class: "forgot center-text pointer small-top" }, _i = /* @__PURE__ */ S(() => /* @__PURE__ */ i("br", null, null, -1)), mi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1));
5823
- function gi(e, a, n, o, t, r) {
5888
+ }, _t = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), mt = { class: "forgot center-text pointer small-top" }, gt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("br", null, null, -1)), ht = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1));
5889
+ function ft(e, a, n, o, i, r) {
5824
5890
  const u = V("router-link");
5825
5891
  return c(), l("form", {
5826
5892
  class: "page-login content-boxed content-boxed-padding",
@@ -5832,62 +5898,62 @@ function gi(e, a, n, o, t, r) {
5832
5898
  onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
5833
5899
  class: "color-black pull-right pointer",
5834
5900
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5835
- }, Fn)) : h("", !0),
5836
- i("h1", Qn, p(e.ssoLang[this.appLang].verify_account), 1),
5837
- $n,
5838
- i("div", Gn, [
5839
- Wn,
5840
- k(i("input", {
5901
+ }, $n)) : h("", !0),
5902
+ t("h1", Gn, p(e.ssoLang[this.appLang].verify_account), 1),
5903
+ Wn,
5904
+ t("div", Xn, [
5905
+ Yn,
5906
+ k(t("input", {
5841
5907
  id: "emailInput",
5842
- "onUpdate:modelValue": a[1] || (a[1] = (s) => t.email = s),
5908
+ "onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
5843
5909
  onKeydown: a[2] || (a[2] = E(y(() => {
5844
5910
  }, ["prevent"]), ["space"])),
5845
5911
  type: "email",
5846
5912
  placeholder: e.ssoLang[this.appLang].email,
5847
5913
  required: ""
5848
- }, null, 40, Yn), [
5849
- [x, t.email]
5914
+ }, null, 40, Zn), [
5915
+ [x, i.email]
5850
5916
  ]),
5851
- Xn
5917
+ Jn
5852
5918
  ]),
5853
- i("div", Zn, [
5854
- Jn,
5855
- k(i("input", {
5919
+ t("div", et, [
5920
+ at,
5921
+ k(t("input", {
5856
5922
  id: "codeInput",
5857
- "onUpdate:modelValue": a[3] || (a[3] = (s) => t.code = s),
5923
+ "onUpdate:modelValue": a[3] || (a[3] = (s) => i.code = s),
5858
5924
  onKeydown: a[4] || (a[4] = E(y(() => {
5859
5925
  }, ["prevent"]), ["space"])),
5860
5926
  type: "tel",
5861
5927
  placeholder: e.ssoLang[this.appLang].code,
5862
5928
  required: ""
5863
- }, null, 40, ei), [
5864
- [x, t.code]
5929
+ }, null, 40, nt), [
5930
+ [x, i.code]
5865
5931
  ]),
5866
- ai
5932
+ tt
5867
5933
  ]),
5868
- i("button", ni, [
5869
- t.submitted ? (c(), l("span", ti)) : (c(), l("span", ii, p(e.ssoLang[this.appLang].verify_account), 1))
5934
+ t("button", it, [
5935
+ i.submitted ? (c(), l("span", rt)) : (c(), l("span", ot, p(e.ssoLang[this.appLang].verify_account), 1))
5870
5936
  ]),
5871
- oi,
5872
- i("p", ri, [
5873
- i("span", {
5937
+ st,
5938
+ t("p", ct, [
5939
+ t("span", {
5874
5940
  innerHTML: e.ssoLang[this.appLang].verify_account_p1
5875
- }, null, 8, si),
5876
- ci
5941
+ }, null, 8, lt),
5942
+ dt
5877
5943
  ]),
5878
- li,
5944
+ pt,
5879
5945
  n.isModal ? (c(), l("div", {
5880
5946
  key: 2,
5881
5947
  class: "page-login-links",
5882
5948
  onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
5883
5949
  }, [
5884
- i("a", ui, [
5950
+ t("a", mt, [
5885
5951
  f(p(e.ssoLang[this.appLang].or) + " ", 1),
5886
- _i,
5952
+ gt,
5887
5953
  f(" " + p(e.ssoLang[this.appLang].create_new_account), 1)
5888
5954
  ]),
5889
- mi
5890
- ])) : (c(), l("div", di, [
5955
+ ht
5956
+ ])) : (c(), l("div", ut, [
5891
5957
  v(u, {
5892
5958
  class: "create float-right",
5893
5959
  to: "/register"
@@ -5906,11 +5972,11 @@ function gi(e, a, n, o, t, r) {
5906
5972
  ]),
5907
5973
  _: 1
5908
5974
  }),
5909
- pi
5975
+ _t
5910
5976
  ]))
5911
5977
  ], 36);
5912
5978
  }
5913
- const ve = /* @__PURE__ */ T(Kn, [["render", gi], ["__scopeId", "data-v-2fd511e2"]]), hi = {
5979
+ const ke = /* @__PURE__ */ T(Fn, [["render", ft], ["__scopeId", "data-v-2fd511e2"]]), vt = {
5914
5980
  name: "AuthReset",
5915
5981
  mixins: [z],
5916
5982
  data() {
@@ -5964,124 +6030,124 @@ const ve = /* @__PURE__ */ T(Kn, [["render", gi], ["__scopeId", "data-v-2fd511e2
5964
6030
  this.storage.verifyEmail = e;
5965
6031
  }
5966
6032
  }
5967
- }, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e), fi = {
6033
+ }, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e), kt = {
5968
6034
  class: "bold no-bottom center-text",
5969
6035
  style: { "margin-top": "63px" }
5970
- }, vi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), ki = { class: "page-login-field half-top color-black" }, bi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
5971
- /* @__PURE__ */ i("img", {
6036
+ }, bt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), yt = { class: "page-login-field half-top color-black" }, wt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
6037
+ /* @__PURE__ */ t("img", {
5972
6038
  src: "https://cdn.tapni.co/icons/mail.png",
5973
6039
  class: "responsive-image",
5974
6040
  style: { width: "80%" }
5975
6041
  })
5976
- ], -1)), yi = ["placeholder"], wi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("em", null, null, -1)), zi = {
6042
+ ], -1)), zt = ["placeholder"], Lt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("em", null, null, -1)), St = {
5977
6043
  type: "submit",
5978
6044
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
5979
- }, Li = {
6045
+ }, Ct = {
5980
6046
  key: 0,
5981
6047
  class: "uppercase"
5982
- }, Ci = {
6048
+ }, Tt = {
5983
6049
  key: 1,
5984
6050
  class: "button--loading button__loader"
5985
- }, Si = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Ti = { class: "close-text center-text half-top color-black" }, ji = ["innerHTML"], Pi = ["href"], Ai = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Ii = { class: "page-login-links" }, Ei = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), xi = {
6051
+ }, jt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Pt = { class: "close-text center-text half-top color-black" }, At = ["innerHTML"], It = ["href"], Et = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), xt = { class: "page-login-links" }, qt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), Mt = {
5986
6052
  class: "bold no-bottom center-text",
5987
6053
  style: { "margin-top": "63px" }
5988
- }, qi = { class: "half-bottom small-top center-text color-black" }, Mi = { class: "page-login-field half-top" }, Ri = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
5989
- /* @__PURE__ */ i("img", {
6054
+ }, Rt = { class: "half-bottom small-top center-text color-black" }, Nt = { class: "page-login-field half-top" }, Vt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
6055
+ /* @__PURE__ */ t("img", {
5990
6056
  src: "https://cdn.tapni.co/icons/padlock.png",
5991
6057
  class: "responsive-image",
5992
6058
  style: { width: "50%" }
5993
6059
  })
5994
- ], -1)), Ni = ["type", "placeholder"], Vi = {
6060
+ ], -1)), Ot = ["type", "placeholder"], Bt = {
5995
6061
  src: "https://cdn.tapni.co/icons/reveal-password.png",
5996
6062
  class: "responsive-image password-reveal-icon"
5997
- }, Oi = {
6063
+ }, Dt = {
5998
6064
  src: "https://cdn.tapni.co/icons/hide-password.png",
5999
6065
  class: "responsive-image password-reveal-icon"
6000
- }, Bi = { class: "page-login-field half-top" }, Di = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
6001
- /* @__PURE__ */ i("img", {
6066
+ }, Ut = { class: "page-login-field half-top" }, Kt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
6067
+ /* @__PURE__ */ t("img", {
6002
6068
  src: "https://cdn.tapni.co/icons/padlock.png",
6003
6069
  class: "responsive-image",
6004
6070
  style: { width: "50%" }
6005
6071
  })
6006
- ], -1)), Ui = ["type", "placeholder"], Ki = {
6072
+ ], -1)), Ht = ["type", "placeholder"], Ft = {
6007
6073
  src: "https://cdn.tapni.co/icons/reveal-password.png",
6008
6074
  class: "responsive-image password-reveal-icon"
6009
- }, Hi = {
6075
+ }, Qt = {
6010
6076
  src: "https://cdn.tapni.co/icons/hide-password.png",
6011
6077
  class: "responsive-image password-reveal-icon"
6012
- }, Fi = {
6078
+ }, $t = {
6013
6079
  type: "submit",
6014
6080
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
6015
- }, Qi = {
6081
+ }, Gt = {
6016
6082
  key: 0,
6017
6083
  class: "uppercase"
6018
- }, $i = {
6084
+ }, Wt = {
6019
6085
  key: 1,
6020
6086
  class: "button--loading button__loader"
6021
- }, Gi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Wi = { class: "close-text center-text half-top color-black" }, Yi = ["innerHTML"], Xi = ["href"];
6022
- function Zi(e, a, n, o, t, r) {
6087
+ }, Xt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Yt = { class: "close-text center-text half-top color-black" }, Zt = ["innerHTML"], Jt = ["href"];
6088
+ function ei(e, a, n, o, i, r) {
6023
6089
  const u = V("router-link");
6024
- return t.passwordChange ? (c(), l("form", {
6090
+ return i.passwordChange ? (c(), l("form", {
6025
6091
  key: 1,
6026
6092
  class: "page-login content-boxed content-boxed-padding",
6027
6093
  onSubmit: a[7] || (a[7] = y((...s) => r.changePw && r.changePw(...s), ["prevent"]))
6028
6094
  }, [
6029
- i("h3", xi, p(e.ssoLang[this.appLang].password_change), 1),
6030
- i("p", qi, p(e.ssoLang[this.appLang].password_new), 1),
6031
- i("div", Mi, [
6032
- Ri,
6033
- k(i("input", {
6034
- "onUpdate:modelValue": a[3] || (a[3] = (s) => t.password = s),
6035
- type: t.revealPassword ? "text" : "password",
6095
+ t("h3", Mt, p(e.ssoLang[this.appLang].password_change), 1),
6096
+ t("p", Rt, p(e.ssoLang[this.appLang].password_new), 1),
6097
+ t("div", Nt, [
6098
+ Vt,
6099
+ k(t("input", {
6100
+ "onUpdate:modelValue": a[3] || (a[3] = (s) => i.password = s),
6101
+ type: i.revealPassword ? "text" : "password",
6036
6102
  placeholder: e.ssoLang[this.appLang].password,
6037
6103
  required: ""
6038
- }, null, 8, Ni), [
6039
- [U, t.password]
6104
+ }, null, 8, Ot), [
6105
+ [K, i.password]
6040
6106
  ]),
6041
- i("em", {
6042
- onClick: a[4] || (a[4] = (s) => t.revealPassword = !t.revealPassword)
6107
+ t("em", {
6108
+ onClick: a[4] || (a[4] = (s) => i.revealPassword = !i.revealPassword)
6043
6109
  }, [
6044
- k(i("img", Vi, null, 512), [
6045
- [I, !t.revealPassword]
6110
+ k(t("img", Bt, null, 512), [
6111
+ [I, !i.revealPassword]
6046
6112
  ]),
6047
- k(i("img", Oi, null, 512), [
6048
- [I, t.revealPassword]
6113
+ k(t("img", Dt, null, 512), [
6114
+ [I, i.revealPassword]
6049
6115
  ])
6050
6116
  ])
6051
6117
  ]),
6052
- i("div", Bi, [
6053
- Di,
6054
- k(i("input", {
6055
- "onUpdate:modelValue": a[5] || (a[5] = (s) => t.passwordRepeat = s),
6056
- type: t.revealPassword2 ? "text" : "password",
6118
+ t("div", Ut, [
6119
+ Kt,
6120
+ k(t("input", {
6121
+ "onUpdate:modelValue": a[5] || (a[5] = (s) => i.passwordRepeat = s),
6122
+ type: i.revealPassword2 ? "text" : "password",
6057
6123
  placeholder: e.ssoLang[this.appLang].password_repeat,
6058
6124
  required: ""
6059
- }, null, 8, Ui), [
6060
- [U, t.passwordRepeat]
6125
+ }, null, 8, Ht), [
6126
+ [K, i.passwordRepeat]
6061
6127
  ]),
6062
- i("em", {
6063
- onClick: a[6] || (a[6] = (s) => t.revealPassword2 = !t.revealPassword2)
6128
+ t("em", {
6129
+ onClick: a[6] || (a[6] = (s) => i.revealPassword2 = !i.revealPassword2)
6064
6130
  }, [
6065
- k(i("img", Ki, null, 512), [
6066
- [I, !t.revealPassword2]
6131
+ k(t("img", Ft, null, 512), [
6132
+ [I, !i.revealPassword2]
6067
6133
  ]),
6068
- k(i("img", Hi, null, 512), [
6069
- [I, t.revealPassword2]
6134
+ k(t("img", Qt, null, 512), [
6135
+ [I, i.revealPassword2]
6070
6136
  ])
6071
6137
  ])
6072
6138
  ]),
6073
- i("button", Fi, [
6074
- t.submitted ? (c(), l("span", $i)) : (c(), l("span", Qi, p(e.ssoLang[this.appLang].password_change), 1))
6139
+ t("button", $t, [
6140
+ i.submitted ? (c(), l("span", Wt)) : (c(), l("span", Gt, p(e.ssoLang[this.appLang].password_change), 1))
6075
6141
  ]),
6076
- Gi,
6077
- i("p", Wi, [
6078
- i("span", {
6142
+ Xt,
6143
+ t("p", Yt, [
6144
+ t("span", {
6079
6145
  innerHTML: e.ssoLang[this.appLang].reset_password_p2
6080
- }, null, 8, Yi),
6146
+ }, null, 8, Zt),
6081
6147
  f(),
6082
- i("a", {
6148
+ t("a", {
6083
6149
  href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
6084
- }, " support@tapni.co", 8, Xi)
6150
+ }, " support@tapni.co", 8, Jt)
6085
6151
  ])
6086
6152
  ], 32)) : (c(), l("form", {
6087
6153
  key: 0,
@@ -6089,37 +6155,37 @@ function Zi(e, a, n, o, t, r) {
6089
6155
  onSubmit: a[2] || (a[2] = y((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
6090
6156
  autocomplete: "on"
6091
6157
  }, [
6092
- i("h3", fi, p(e.ssoLang[this.appLang].reset_password), 1),
6093
- vi,
6094
- i("div", ki, [
6095
- bi,
6096
- k(i("input", {
6158
+ t("h3", kt, p(e.ssoLang[this.appLang].reset_password), 1),
6159
+ bt,
6160
+ t("div", yt, [
6161
+ wt,
6162
+ k(t("input", {
6097
6163
  id: "emailInput",
6098
- "onUpdate:modelValue": a[0] || (a[0] = (s) => t.email = s),
6164
+ "onUpdate:modelValue": a[0] || (a[0] = (s) => i.email = s),
6099
6165
  onKeydown: a[1] || (a[1] = E(y(() => {
6100
6166
  }, ["prevent"]), ["space"])),
6101
6167
  type: "email",
6102
6168
  placeholder: e.ssoLang[this.appLang].email,
6103
6169
  required: ""
6104
- }, null, 40, yi), [
6105
- [x, t.email]
6170
+ }, null, 40, zt), [
6171
+ [x, i.email]
6106
6172
  ]),
6107
- wi
6173
+ Lt
6108
6174
  ]),
6109
- i("button", zi, [
6110
- t.submitted ? (c(), l("span", Ci)) : (c(), l("span", Li, p(e.ssoLang[this.appLang].reset_password), 1))
6175
+ t("button", St, [
6176
+ i.submitted ? (c(), l("span", Tt)) : (c(), l("span", Ct, p(e.ssoLang[this.appLang].reset_password), 1))
6111
6177
  ]),
6112
- Si,
6113
- i("p", Ti, [
6114
- i("span", {
6178
+ jt,
6179
+ t("p", Pt, [
6180
+ t("span", {
6115
6181
  innerHTML: e.ssoLang[this.appLang].reset_password_p1
6116
- }, null, 8, ji),
6117
- i("a", {
6182
+ }, null, 8, At),
6183
+ t("a", {
6118
6184
  href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
6119
- }, " support@tapni.co", 8, Pi)
6185
+ }, " support@tapni.co", 8, It)
6120
6186
  ]),
6121
- Ai,
6122
- i("div", Ii, [
6187
+ Et,
6188
+ t("div", xt, [
6123
6189
  v(u, {
6124
6190
  class: "create float-right",
6125
6191
  to: "/verify"
@@ -6138,13 +6204,13 @@ function Zi(e, a, n, o, t, r) {
6138
6204
  ]),
6139
6205
  _: 1
6140
6206
  }),
6141
- Ei
6207
+ qt
6142
6208
  ])
6143
6209
  ], 32));
6144
6210
  }
6145
- const ke = /* @__PURE__ */ T(hi, [["render", Zi], ["__scopeId", "data-v-220c28f9"]]), Ji = {
6211
+ const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-220c28f9"]]), ai = {
6146
6212
  name: "AuthCallback",
6147
- mixins: [$, G, z],
6213
+ mixins: [G, W, z],
6148
6214
  data() {
6149
6215
  return {};
6150
6216
  },
@@ -6162,28 +6228,28 @@ const ke = /* @__PURE__ */ T(hi, [["render", Zi], ["__scopeId", "data-v-220c28f9
6162
6228
  return e = e.replace("http", "tapni"), e = e.replace("https", "tapni"), window.open(e);
6163
6229
  }
6164
6230
  }
6165
- }, et = {
6231
+ }, ni = {
6166
6232
  key: 0,
6167
6233
  style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
6168
- }, at = /* @__PURE__ */ i("br", null, null, -1), nt = {
6234
+ }, ti = /* @__PURE__ */ t("br", null, null, -1), ii = {
6169
6235
  key: 1,
6170
6236
  style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
6171
6237
  };
6172
- function it(e, a, n, o, t, r) {
6238
+ function oi(e, a, n, o, i, r) {
6173
6239
  return c(), l("div", null, [
6174
- (e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", et, [
6240
+ (e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", ni, [
6175
6241
  f(p(e.ssoLang[this.appLang].you_will_be_redirected), 1),
6176
- at,
6242
+ ti,
6177
6243
  f(" " + p(e.ssoLang[this.appLang].if_redirect_not_directly) + ", ", 1),
6178
- i("span", {
6244
+ t("span", {
6179
6245
  onClick: a[0] || (a[0] = (...u) => r.inAppRedirect && r.inAppRedirect(...u)),
6180
6246
  style: { color: "blue", cursor: "pointer" }
6181
6247
  }, p(e.ssoLang[this.appLang].click_here), 1),
6182
6248
  f(".")
6183
- ])) : (c(), l("h4", nt, p(e.ssoLang[this.appLang].please_wait), 1))
6249
+ ])) : (c(), l("h4", ii, p(e.ssoLang[this.appLang].please_wait), 1))
6184
6250
  ]);
6185
6251
  }
6186
- const be = /* @__PURE__ */ T(Ji, [["render", it]]), tt = {
6252
+ const ye = /* @__PURE__ */ T(ai, [["render", oi]]), ri = {
6187
6253
  name: "ModalOverlay",
6188
6254
  mixins: [z],
6189
6255
  data() {
@@ -6208,15 +6274,15 @@ const be = /* @__PURE__ */ T(Ji, [["render", it]]), tt = {
6208
6274
  }
6209
6275
  }
6210
6276
  };
6211
- function ot(e, a, n, o, t, r) {
6277
+ function si(e, a, n, o, i, r) {
6212
6278
  return c(), l("div", {
6213
- class: b({ "pointer delete-menu": !0, "delete-menu-active": t.toggle }),
6279
+ class: b({ "pointer delete-menu": !0, "delete-menu-active": i.toggle }),
6214
6280
  onClick: a[0] || (a[0] = (...u) => r.toggleEmit && r.toggleEmit(...u))
6215
6281
  }, null, 2);
6216
6282
  }
6217
- const ye = /* @__PURE__ */ T(tt, [["render", ot], ["__scopeId", "data-v-a128c2fa"]]), rt = {
6283
+ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa"]]), ci = {
6218
6284
  name: "SSO",
6219
- mixins: [Q, $, G, z],
6285
+ mixins: [$, G, W, z],
6220
6286
  data() {
6221
6287
  return {
6222
6288
  toggle: !1,
@@ -6257,38 +6323,38 @@ const ye = /* @__PURE__ */ T(tt, [["render", ot], ["__scopeId", "data-v-a128c2fa
6257
6323
  this.toggle = !this.toggle;
6258
6324
  }
6259
6325
  }
6260
- }, st = (e) => (O("data-v-256337c2"), e = e(), B(), e), ct = /* @__PURE__ */ st(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
6261
- /* @__PURE__ */ i("img", {
6326
+ }, li = (e) => (O("data-v-256337c2"), e = e(), B(), e), di = /* @__PURE__ */ li(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
6327
+ /* @__PURE__ */ t("img", {
6262
6328
  src: "https://cdn.tapni.co/icons/down-arrow.png",
6263
6329
  class: "responsive-image",
6264
6330
  style: { width: "45%" }
6265
6331
  })
6266
- ], -1)), lt = [
6267
- ct
6268
- ], dt = { class: "bold center-text color-black half-top half-bottom" }, pt = ["placeholder"], ut = {
6332
+ ], -1)), pi = [
6333
+ di
6334
+ ], ui = { class: "bold center-text color-black half-top half-bottom" }, _i = ["placeholder"], mi = {
6269
6335
  type: "submit",
6270
6336
  class: "button black-button white-button button-full",
6271
6337
  style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
6272
- }, _t = { key: 0 }, mt = {
6338
+ }, gi = { key: 0 }, hi = {
6273
6339
  key: 1,
6274
6340
  class: "button--loading button__loader"
6275
6341
  };
6276
- function gt(e, a, n, o, t, r) {
6342
+ function fi(e, a, n, o, i, r) {
6277
6343
  return c(), l("form", {
6278
6344
  onSubmit: a[3] || (a[3] = y((...u) => r.submit && r.submit(...u), ["prevent"])),
6279
- class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": t.toggle }]),
6345
+ class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
6280
6346
  style: { height: "auto", "margin-top": "-172.5px" }
6281
6347
  }, [
6282
- i("a", {
6348
+ t("a", {
6283
6349
  onClick: a[0] || (a[0] = (...u) => r.forceClose && r.forceClose(...u)),
6284
6350
  class: "color-black pull-right pointer",
6285
6351
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6286
- }, lt),
6287
- i("h3", dt, p(e.ssoLang[e.appLang].enter_company_email), 1),
6288
- i("div", null, [
6289
- k(i("input", {
6352
+ }, pi),
6353
+ t("h3", ui, p(e.ssoLang[e.appLang].enter_company_email), 1),
6354
+ t("div", null, [
6355
+ k(t("input", {
6290
6356
  type: "text",
6291
- "onUpdate:modelValue": a[1] || (a[1] = (u) => t.email = u),
6357
+ "onUpdate:modelValue": a[1] || (a[1] = (u) => i.email = u),
6292
6358
  placeholder: e.ssoLang[this.appLang].email,
6293
6359
  autocomplete: "off",
6294
6360
  autocorrect: "off",
@@ -6299,18 +6365,18 @@ function gt(e, a, n, o, t, r) {
6299
6365
  required: "",
6300
6366
  onKeydown: a[2] || (a[2] = E(y(() => {
6301
6367
  }, ["prevent"]), ["space"]))
6302
- }, null, 40, pt), [
6303
- [x, t.email]
6368
+ }, null, 40, _i), [
6369
+ [x, i.email]
6304
6370
  ])
6305
6371
  ]),
6306
- i("button", ut, [
6307
- t.loading ? (c(), l("span", mt)) : (c(), l("span", _t, p(e.ssoLang[e.appLang].continue), 1))
6372
+ t("button", mi, [
6373
+ i.loading ? (c(), l("span", hi)) : (c(), l("span", gi, p(e.ssoLang[e.appLang].continue), 1))
6308
6374
  ])
6309
6375
  ], 34);
6310
6376
  }
6311
- const we = /* @__PURE__ */ T(rt, [["render", gt], ["__scopeId", "data-v-256337c2"]]), ht = {
6377
+ const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-256337c2"]]), vi = {
6312
6378
  name: "SSOPick",
6313
- mixins: [Q, $, G, z],
6379
+ mixins: [$, G, W, z],
6314
6380
  data() {
6315
6381
  return {
6316
6382
  toggle: !1,
@@ -6343,74 +6409,74 @@ const we = /* @__PURE__ */ T(rt, [["render", gt], ["__scopeId", "data-v-256337c2
6343
6409
  this.azureLoad = !1, this.oktaLoad = !1, this.samlLoad = !1, this.sso = null, this.email = null, e && (this.sso = e.sso, this.email = e.email), this.toggle = !this.toggle;
6344
6410
  }
6345
6411
  }
6346
- }, W = (e) => (O("data-v-33bfb54b"), e = e(), B(), e), ft = /* @__PURE__ */ W(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
6347
- /* @__PURE__ */ i("img", {
6412
+ }, X = (e) => (O("data-v-33bfb54b"), e = e(), B(), e), ki = /* @__PURE__ */ X(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
6413
+ /* @__PURE__ */ t("img", {
6348
6414
  src: "https://cdn.tapni.co/icons/down-arrow.png",
6349
6415
  class: "responsive-image",
6350
6416
  style: { width: "45%" }
6351
6417
  })
6352
- ], -1)), vt = [
6353
- ft
6354
- ], kt = { class: "bold center-text color-black half-top half-bottom" }, bt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
6418
+ ], -1)), bi = [
6419
+ ki
6420
+ ], yi = { class: "bold center-text color-black half-top half-bottom" }, wi = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
6355
6421
  src: "https://cdn.tapni.co/icons/azure.png",
6356
6422
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
6357
- }, null, -1)), yt = { key: 0 }, wt = {
6423
+ }, null, -1)), zi = { key: 0 }, Li = {
6358
6424
  key: 1,
6359
6425
  class: "button--loading button__loader"
6360
- }, zt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
6426
+ }, Si = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
6361
6427
  src: "https://cdn.tapni.co/icons/okta.png",
6362
6428
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
6363
- }, null, -1)), Lt = { key: 0 }, Ct = {
6429
+ }, null, -1)), Ci = { key: 0 }, Ti = {
6364
6430
  key: 1,
6365
6431
  class: "button--loading button__loader"
6366
- }, St = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
6432
+ }, ji = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
6367
6433
  src: "https://cdn.tapni.co/icons/saml.png",
6368
6434
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
6369
- }, null, -1)), Tt = { key: 0 }, jt = {
6435
+ }, null, -1)), Pi = { key: 0 }, Ai = {
6370
6436
  key: 1,
6371
6437
  class: "button--loading button__loader"
6372
6438
  };
6373
- function Pt(e, a, n, o, t, r) {
6439
+ function Ii(e, a, n, o, i, r) {
6374
6440
  var u, s, _;
6375
6441
  return c(), l("form", {
6376
6442
  onSubmit: a[4] || (a[4] = y(() => {
6377
6443
  }, ["prevent"])),
6378
- class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": t.toggle }]),
6444
+ class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
6379
6445
  style: { height: "auto", "margin-top": "-172.5px" }
6380
6446
  }, [
6381
- i("a", {
6447
+ t("a", {
6382
6448
  onClick: a[0] || (a[0] = (...L) => r.forceClose && r.forceClose(...L)),
6383
6449
  class: "color-black pull-right pointer",
6384
6450
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6385
- }, vt),
6386
- i("h3", kt, p(e.ssoLang[e.appLang].select_sign_method), 1),
6387
- (u = t.sso) != null && u.azure ? (c(), l("a", {
6451
+ }, bi),
6452
+ t("h3", yi, p(e.ssoLang[e.appLang].select_sign_method), 1),
6453
+ (u = i.sso) != null && u.azure ? (c(), l("a", {
6388
6454
  key: 0,
6389
6455
  onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
6390
6456
  class: "button-center button black-button button-90 google-button pointer"
6391
6457
  }, [
6392
- bt,
6393
- t.azureLoad ? (c(), l("span", wt)) : (c(), l("span", yt, p(e.ssoLang[e.appLang].sign_in_with) + " Azure", 1))
6458
+ wi,
6459
+ i.azureLoad ? (c(), l("span", Li)) : (c(), l("span", zi, p(e.ssoLang[e.appLang].sign_in_with) + " Azure", 1))
6394
6460
  ])) : h("", !0),
6395
- (s = t.sso) != null && s.okta ? (c(), l("a", {
6461
+ (s = i.sso) != null && s.okta ? (c(), l("a", {
6396
6462
  key: 1,
6397
6463
  onClick: a[2] || (a[2] = (L) => r.ssoLogin("okta")),
6398
6464
  class: "button-center button black-button button-90 google-button pointer"
6399
6465
  }, [
6400
- zt,
6401
- t.oktaLoad ? (c(), l("span", Ct)) : (c(), l("span", Lt, p(e.ssoLang[e.appLang].sign_in_with) + " Okta", 1))
6466
+ Si,
6467
+ i.oktaLoad ? (c(), l("span", Ti)) : (c(), l("span", Ci, p(e.ssoLang[e.appLang].sign_in_with) + " Okta", 1))
6402
6468
  ])) : h("", !0),
6403
- (_ = t.sso) != null && _.saml ? (c(), l("a", {
6469
+ (_ = i.sso) != null && _.saml ? (c(), l("a", {
6404
6470
  key: 2,
6405
6471
  onClick: a[3] || (a[3] = (L) => r.ssoLogin("saml")),
6406
6472
  class: "button-center button black-button button-90 google-button pointer"
6407
6473
  }, [
6408
- St,
6409
- t.samlLoad ? (c(), l("span", jt)) : (c(), l("span", Tt, p(e.ssoLang[e.appLang].sign_in_with) + " SAML", 1))
6474
+ ji,
6475
+ i.samlLoad ? (c(), l("span", Ai)) : (c(), l("span", Pi, p(e.ssoLang[e.appLang].sign_in_with) + " SAML", 1))
6410
6476
  ])) : h("", !0)
6411
6477
  ], 34);
6412
6478
  }
6413
- const ze = /* @__PURE__ */ T(ht, [["render", Pt], ["__scopeId", "data-v-33bfb54b"]]), At = {
6479
+ const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-33bfb54b"]]), Ei = {
6414
6480
  name: "LinkIcon",
6415
6481
  mixins: [z],
6416
6482
  props: {
@@ -6482,8 +6548,8 @@ const ze = /* @__PURE__ */ T(ht, [["render", Pt], ["__scopeId", "data-v-33bfb54b
6482
6548
  }
6483
6549
  },
6484
6550
  methods: {}
6485
- }, It = ["src", "alt"], Et = ["src", "alt"], xt = ["src", "alt"], qt = ["src", "alt"];
6486
- function Mt(e, a, n, o, t, r) {
6551
+ }, xi = ["src", "alt"], qi = ["src", "alt"], Mi = ["src", "alt"], Ri = ["src", "alt"];
6552
+ function Ni(e, a, n, o, i, r) {
6487
6553
  var u, s;
6488
6554
  return c(), l("a", {
6489
6555
  class: b(["disable-select", n.linkStyle + (n.disabled ? " opacity-50" : "")]),
@@ -6491,7 +6557,7 @@ function Mt(e, a, n, o, t, r) {
6491
6557
  (n.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible;"
6492
6558
  )
6493
6559
  }, [
6494
- i("span", {
6560
+ t("span", {
6495
6561
  class: b({
6496
6562
  "user-link-img": !0,
6497
6563
  "pulse pulse-border": n.pulse,
@@ -6506,21 +6572,21 @@ function Mt(e, a, n, o, t, r) {
6506
6572
  alt: n.data.text,
6507
6573
  onLoad: a[0] || (a[0] = (_) => e.$emit("loaded")),
6508
6574
  onError: a[1] || (a[1] = (_) => e.$emit("loaded"))
6509
- }, null, 40, It)) : !n.data.custom_icon && n.data.type === "customlink" && n.linkAdding ? (c(), l("img", {
6575
+ }, null, 40, xi)) : !n.data.custom_icon && n.data.type === "customlink" && n.linkAdding ? (c(), l("img", {
6510
6576
  key: 1,
6511
6577
  src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
6512
6578
  class: "responsive-image",
6513
6579
  alt: n.data.text,
6514
6580
  onLoad: a[2] || (a[2] = (_) => e.$emit("loaded")),
6515
6581
  onError: a[3] || (a[3] = (_) => e.$emit("loaded"))
6516
- }, null, 40, Et)) : !n.data.custom_icon && n.data.type === "customlink" && !n.linkAdding ? (c(), l("img", {
6582
+ }, null, 40, qi)) : !n.data.custom_icon && n.data.type === "customlink" && !n.linkAdding ? (c(), l("img", {
6517
6583
  key: 2,
6518
6584
  src: "https://cdn.tapni.co/icons/customlink.png",
6519
6585
  class: "responsive-image",
6520
6586
  alt: n.data.text,
6521
6587
  onLoad: a[4] || (a[4] = (_) => e.$emit("loaded")),
6522
6588
  onError: a[5] || (a[5] = (_) => e.$emit("loaded"))
6523
- }, null, 40, xt)) : (c(), l("img", {
6589
+ }, null, 40, Mi)) : (c(), l("img", {
6524
6590
  key: 3,
6525
6591
  src: n.data.style.custom_icon,
6526
6592
  style: { "border-radius": "22.46%" },
@@ -6528,25 +6594,25 @@ function Mt(e, a, n, o, t, r) {
6528
6594
  alt: n.data.text,
6529
6595
  onLoad: a[6] || (a[6] = (_) => e.$emit("loaded")),
6530
6596
  onError: a[7] || (a[7] = (_) => e.$emit("loaded"))
6531
- }, null, 40, qt))
6597
+ }, null, 40, Ri))
6532
6598
  ], 6),
6533
- i("span", {
6599
+ t("span", {
6534
6600
  class: "link-text link-drag color-black",
6535
6601
  style: R({ color: (s = n.customLinkStyle) == null ? void 0 : s.color })
6536
6602
  }, p(r.linkText), 5)
6537
6603
  ], 6);
6538
6604
  }
6539
- const Rt = /* @__PURE__ */ T(At, [["render", Mt]]), Nt = {
6605
+ const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
6540
6606
  ANDROID_VERSION: "5.6",
6541
6607
  IOS_VERSION: "5.6",
6542
6608
  WEB_VERSION: "5.6.0",
6543
6609
  SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
6544
6610
  METAPIXEL_ID: "1203678696914368",
6545
6611
  GOOGLE_ANALYTICS_ID: ""
6546
- }, Vt = {
6612
+ }, Bi = {
6547
6613
  name: "Language",
6548
6614
  mixins: [z],
6549
- components: { LinkIcon: Rt },
6615
+ components: { LinkIcon: Vi },
6550
6616
  data() {
6551
6617
  return {
6552
6618
  toggle: !1
@@ -6556,8 +6622,8 @@ const Rt = /* @__PURE__ */ T(At, [["render", Mt]]), Nt = {
6556
6622
  d.$on("toggleLanguageModal", this.toggleModal), d.$on("closeModal", () => {
6557
6623
  this.toggle = !1;
6558
6624
  });
6559
- let e = this.isNative ? await H.getLanguageCode() : N.getFirstBrowserLanguage();
6560
- e && Nt.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
6625
+ let e = this.isNative ? await F.getLanguageCode() : N.getFirstBrowserLanguage();
6626
+ e && Oi.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
6561
6627
  },
6562
6628
  beforeDestroy() {
6563
6629
  d._events.toggleLanguageModal.pop();
@@ -6576,27 +6642,27 @@ const Rt = /* @__PURE__ */ T(At, [["render", Mt]]), Nt = {
6576
6642
  this.toggle = !this.toggle;
6577
6643
  }
6578
6644
  }
6579
- }, Ot = (e) => (O("data-v-e5a7ac07"), e = e(), B(), e), Bt = /* @__PURE__ */ Ot(() => /* @__PURE__ */ i("i", { class: "font-17 fa color-black" }, [
6580
- /* @__PURE__ */ i("img", {
6645
+ }, Di = (e) => (O("data-v-e5a7ac07"), e = e(), B(), e), Ui = /* @__PURE__ */ Di(() => /* @__PURE__ */ t("i", { class: "font-17 fa color-black" }, [
6646
+ /* @__PURE__ */ t("img", {
6581
6647
  src: "https://cdn.tapni.co/icons/down-arrow.png",
6582
6648
  class: "fa responsive-image",
6583
6649
  style: { width: "45%" }
6584
6650
  })
6585
- ], -1)), Dt = [
6586
- Bt
6587
- ], Ut = { class: "bold center-text color-black small-bottom" };
6588
- function Kt(e, a, n, o, t, r) {
6651
+ ], -1)), Ki = [
6652
+ Ui
6653
+ ], Hi = { class: "bold center-text color-black small-bottom" };
6654
+ function Fi(e, a, n, o, i, r) {
6589
6655
  const u = V("LinkIcon");
6590
6656
  return c(), l("div", {
6591
- class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": t.toggle }]),
6657
+ class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": i.toggle }]),
6592
6658
  style: { height: "auto", "max-height": "92vh", "margin-top": "-172.5px" }
6593
6659
  }, [
6594
- i("a", {
6660
+ t("a", {
6595
6661
  onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
6596
6662
  class: "color-black pull-right pointer",
6597
6663
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6598
- }, Dt),
6599
- i("h3", Ut, p(e.ssoLang[e.appLang].app_language), 1),
6664
+ }, Ki),
6665
+ t("h3", Hi, p(e.ssoLang[e.appLang].app_language), 1),
6600
6666
  v(u, {
6601
6667
  onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
6602
6668
  "link-style": "link-grid",
@@ -6655,38 +6721,38 @@ function Kt(e, a, n, o, t, r) {
6655
6721
  }, null, 8, ["data"])
6656
6722
  ], 2);
6657
6723
  }
6658
- const Le = /* @__PURE__ */ T(Vt, [["render", Kt], ["__scopeId", "data-v-e5a7ac07"]]);
6659
- var Ht = { 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 };
6660
- const Ft = { id: "ssoapp" }, Qt = {
6724
+ const Se = /* @__PURE__ */ T(Bi, [["render", Fi], ["__scopeId", "data-v-e5a7ac07"]]);
6725
+ var Qi = { 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 };
6726
+ const $i = { id: "ssoapp" }, Gi = {
6661
6727
  key: 0,
6662
6728
  href: "/",
6663
6729
  class: "header-logo"
6664
- }, $t = /* @__PURE__ */ i("img", {
6730
+ }, Wi = /* @__PURE__ */ t("img", {
6665
6731
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlY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joTbiTmM62u8tMoFL58em0GupvAmhQif5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
6666
6732
  onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
6667
6733
  class: "header-logo-img"
6668
- }, null, -1), Gt = [
6669
- $t
6670
- ], Wt = { class: "lang-icon" }, Yt = {
6734
+ }, null, -1), Xi = [
6735
+ Wi
6736
+ ], Yi = { class: "lang-icon" }, Zi = {
6671
6737
  class: "snackbar snackbar-boxed",
6672
6738
  id: "snackbar"
6673
- }, Xt = {
6739
+ }, Ji = {
6674
6740
  class: "snack-body",
6675
6741
  id: "errorSnack"
6676
- }, Zt = { id: "errorMessage" }, Jt = /* @__PURE__ */ i("img", {
6742
+ }, eo = { id: "errorMessage" }, ao = /* @__PURE__ */ t("img", {
6677
6743
  src: "https://cdn.tapni.co/icons/notification-close.png",
6678
6744
  style: { width: "100%" }
6679
- }, null, -1), eo = [
6680
- Jt
6681
- ], ao = {
6745
+ }, null, -1), no = [
6746
+ ao
6747
+ ], to = {
6682
6748
  class: "snack-body",
6683
6749
  id: "successSnack"
6684
- }, no = { id: "successMessage" }, io = /* @__PURE__ */ i("img", {
6750
+ }, io = { id: "successMessage" }, oo = /* @__PURE__ */ t("img", {
6685
6751
  src: "https://cdn.tapni.co/icons/notification-close.png",
6686
6752
  style: { width: "100%" }
6687
- }, null, -1), to = [
6688
- io
6689
- ], oo = {
6753
+ }, null, -1), ro = [
6754
+ oo
6755
+ ], so = {
6690
6756
  name: "TapniAuth",
6691
6757
  mixins: [z],
6692
6758
  data() {
@@ -6695,16 +6761,16 @@ const Ft = { id: "ssoapp" }, Qt = {
6695
6761
  };
6696
6762
  },
6697
6763
  components: {
6698
- Language: Le,
6699
- SSOPick: ze,
6700
- SSO: we,
6701
- ModalOverlay: ye,
6702
- AuthCallback: be,
6703
- AuthReset: ke,
6704
- AuthVerify: ve,
6705
- AuthRegister: fe,
6706
- AuthLogin: he,
6707
- AuthWelcome: ue
6764
+ Language: Se,
6765
+ SSOPick: Le,
6766
+ SSO: ze,
6767
+ ModalOverlay: we,
6768
+ AuthCallback: ye,
6769
+ AuthReset: be,
6770
+ AuthVerify: ke,
6771
+ AuthRegister: ve,
6772
+ AuthLogin: fe,
6773
+ AuthWelcome: _e
6708
6774
  },
6709
6775
  props: {
6710
6776
  view: {
@@ -6746,54 +6812,59 @@ const Ft = { id: "ssoapp" }, Qt = {
6746
6812
  this.applyBgStyle();
6747
6813
  }
6748
6814
  }
6749
- }, wo = /* @__PURE__ */ Object.assign(oo, {
6815
+ }, ne = /* @__PURE__ */ Object.assign(so, {
6750
6816
  setup(e) {
6751
6817
  return document.addEventListener("DOMContentLoaded", function() {
6752
6818
  const a = document.createElement("script");
6753
- a.src = `https://www.google.com/recaptcha/api.js?render=${Ht.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(a);
6754
- }), (a, n) => (c(), l("div", Ft, [
6755
- a.display === "redirect" ? (c(), l("a", Qt, Gt)) : h("", !0),
6819
+ a.src = `https://www.google.com/recaptcha/api.js?render=${Qi.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(a);
6820
+ }), (a, n) => (c(), l("div", $i, [
6821
+ a.display === "redirect" ? (c(), l("a", Gi, Xi)) : h("", !0),
6756
6822
  a.display === "redirect" ? (c(), l("a", {
6757
6823
  key: 1,
6758
6824
  onClick: n[0] || (n[0] = (...o) => a.toggleLanguageModal && a.toggleLanguageModal(...o)),
6759
6825
  class: "font-18 no-border pointer color-black",
6760
6826
  style: { position: "absolute", right: "20px", top: "-10px" }
6761
6827
  }, [
6762
- i("span", Wt, p(a.appLang.toUpperCase()), 1)
6828
+ t("span", Yi, p(a.appLang.toUpperCase()), 1)
6763
6829
  ])) : h("", !0),
6764
- v(ye),
6765
- v(Le),
6766
6830
  v(we),
6831
+ v(Se),
6767
6832
  v(ze),
6768
- a.initialized && a.renderView === "AuthWelcome" ? (c(), P(ue, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(he, {
6833
+ v(Le),
6834
+ a.initialized && a.renderView === "AuthWelcome" ? (c(), P(_e, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(fe, {
6769
6835
  key: 3,
6770
6836
  isModal: e.isModal
6771
- }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(fe, {
6837
+ }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(ve, {
6772
6838
  key: 4,
6773
6839
  isModal: e.isModal
6774
- }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(ve, {
6840
+ }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(ke, {
6775
6841
  key: 5,
6776
6842
  isModal: e.isModal
6777
- }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(ke, { key: 6 })) : a.initialized && a.renderView === "AuthCallback" ? (c(), P(be, { key: 7 })) : (c(), P(je(Pe), { key: 8 })),
6778
- i("div", Yt, [
6779
- i("p", Xt, [
6780
- i("span", Zt, p(a.ssoLang[a.appLang].error), 1),
6781
- i("a", {
6843
+ }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(be, { key: 6 })) : a.initialized && a.renderView === "AuthCallback" ? (c(), P(ye, { key: 7 })) : (c(), P(Pe(Ae), { key: 8 })),
6844
+ t("div", Zi, [
6845
+ t("p", Ji, [
6846
+ t("span", eo, p(a.ssoLang[a.appLang].error), 1),
6847
+ t("a", {
6782
6848
  onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
6783
6849
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
6784
- }, eo)
6850
+ }, no)
6785
6851
  ]),
6786
- i("p", ao, [
6787
- i("span", no, p(a.ssoLang[a.appLang].success), 1),
6788
- i("a", {
6852
+ t("p", to, [
6853
+ t("span", io, p(a.ssoLang[a.appLang].success), 1),
6854
+ t("a", {
6789
6855
  onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
6790
6856
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
6791
- }, to)
6857
+ }, ro)
6792
6858
  ])
6793
6859
  ])
6794
6860
  ]));
6795
6861
  }
6796
- });
6862
+ }), Lo = {
6863
+ TapniAuth: ne,
6864
+ install: (e, a) => {
6865
+ e.component("TapniAuth", ne), e.config.globalProperties.$storage === void 0 && e.use(Re, a);
6866
+ }
6867
+ };
6797
6868
  export {
6798
- wo as TapniAuth
6869
+ Lo as default
6799
6870
  };