@tapni/auth 0.0.45 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { reactive as 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 w, 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";
1
+ import { reactive as Ce, readonly as Te, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as t, toDisplayString as d, 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 w, 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
2
  import { RouterView as Ae } from "vue-router";
3
3
  import g from "await-to-js";
4
4
  import Y from "axios";
@@ -13,7 +13,7 @@ import { Browser as H } from "@capacitor/browser";
13
13
  import qe from "qr-code-styling";
14
14
  import { sanitizeUrl as Me } from "@braintree/sanitize-url";
15
15
  import "@tapni/capacitor-reactive-localstorage-vue3";
16
- const Re = "0.0.44", m = (e, a = !1) => {
16
+ const Re = "0.0.46", m = (e, a = !1) => {
17
17
  const n = Re;
18
18
  let o = "https://api.tapni.co/v1/";
19
19
  location.hostname.includes("dev.") && (o = "https://api-dev.tapni.co/v1/");
@@ -35,9 +35,9 @@ const Re = "0.0.44", m = (e, a = !1) => {
35
35
  lang: e.appLanguage,
36
36
  realm: e.realm || "app"
37
37
  }), e.token && !a) {
38
- const u = te(e.token);
39
- if (u.exp - 30 < Math.floor(Date.now() / 1e3))
40
- return z.methods.refreshTokenAction(u).then(() => (r.headers = {
38
+ const p = te(e.token);
39
+ if (p.exp - 30 < Math.floor(Date.now() / 1e3))
40
+ return z.methods.refreshTokenAction(p).then(() => (r.headers = {
41
41
  ...r.headers,
42
42
  Authorization: `Bearer ${e.token}`
43
43
  }, r));
@@ -163,7 +163,7 @@ const y = {
163
163
  qrCodePooling(e, a) {
164
164
  return m(a).post("/company/login/qr", e);
165
165
  }
166
- }, U = Ce(/* @__PURE__ */ new Map()), d = {
166
+ }, U = Ce(/* @__PURE__ */ new Map()), u = {
167
167
  $on(e, a) {
168
168
  let n = U.get(e);
169
169
  n || (n = /* @__PURE__ */ new Set(), U.set(e, n)), n.add(a);
@@ -179,7 +179,7 @@ const y = {
179
179
  n && n.delete(a);
180
180
  }
181
181
  };
182
- Te(d);
182
+ Te(u);
183
183
  const ie = {
184
184
  state: {
185
185
  english: "English",
@@ -380,7 +380,7 @@ const ie = {
380
380
  logout: "Logout",
381
381
  version: "Version",
382
382
  configure: "Configure",
383
- unexpected_err: "Unexpected error occurred, please contact us at support@tapni.co",
383
+ unexpected_err: "Unexpected error occurred, please contact us at support@tapni.com",
384
384
  success_login: "Successfully logged in with another account.",
385
385
  password_reset_success: "Password reset code was sent to your email.",
386
386
  password_reseted_success: "Successfully changed password. You can log in now.",
@@ -451,7 +451,7 @@ const ie = {
451
451
  publish_profile_now: "Make your profile public now",
452
452
  link_add_p1: "Choose a link type",
453
453
  link_add_not_found: "No links found 🤷",
454
- link_add_not_found_p2: "If we missed your favourite platform, please drop us and email (<b>support@tapni.co</b>) or DM us on social media (<b>@tapni</b>)",
454
+ link_add_not_found_p2: "If we missed your favourite platform, please drop us and email (<b>support@tapni.com</b>) or DM us on social media (<b>@tapni</b>)",
455
455
  link_add_not_found_p3: "We will try our best to support all platforms 😉",
456
456
  featured: "Featured",
457
457
  social_media: "Social media",
@@ -836,7 +836,7 @@ const ie = {
836
836
  logout: "Ausloggen",
837
837
  version: "Version",
838
838
  configure: "Konfigurieren",
839
- unexpected_err: "Ein unerwarteter Fehler ist aufgetreten, bitte kontaktieren Sie uns unter support@tapni.co",
839
+ unexpected_err: "Ein unerwarteter Fehler ist aufgetreten, bitte kontaktieren Sie uns unter support@tapni.com",
840
840
  success_login: "Erfolgreich mit einem anderen Konto angemeldet.",
841
841
  password_reset_success: "Erfolgreich mit einem anderen Konto angemeldet.",
842
842
  password_reseted_success: "Passwort erfolgreich geändert. Sie können sich jetzt einloggen.",
@@ -907,7 +907,7 @@ const ie = {
907
907
  publish_profile_now: "Mach dein Profil jetzt öffentlich",
908
908
  link_add_p1: "Linktyp auswählen",
909
909
  link_add_not_found: "Keine Links gefunden 🤷",
910
- link_add_not_found_p2: "Wenn wir Ihre Lieblingsplattform verpasst haben, senden Sie uns bitte eine Email (<b>support@tapni.co</b>) oder eine DM in den sozialen Medien (<b>@tapni</b>).",
910
+ link_add_not_found_p2: "Wenn wir Ihre Lieblingsplattform verpasst haben, senden Sie uns bitte eine Email (<b>support@tapni.com</b>) oder eine DM in den sozialen Medien (<b>@tapni</b>).",
911
911
  link_add_not_found_p3: "Wir werden unser Bestes geben, um alle Plattformen zu unterstützen 😉",
912
912
  featured: "Populär",
913
913
  social_media: "Soziale Netzwerke",
@@ -1288,7 +1288,7 @@ const ie = {
1288
1288
  logout: "Salir",
1289
1289
  version: "Versión",
1290
1290
  configure: "Configurar",
1291
- unexpected_err: "Ha ocurrido un error, por favor contactanos en support@tapni.co",
1291
+ unexpected_err: "Ha ocurrido un error, por favor contactanos en support@tapni.com",
1292
1292
  success_login: "Has iniciado sesión con otra cuenta exitosamente.",
1293
1293
  password_reset_success: "Se ha enviado un código para restablecer la contraseña a tu correo.",
1294
1294
  password_reseted_success: "Cambio de contraseña exitoso. Ya puedes iniciar sesión.",
@@ -1359,7 +1359,7 @@ const ie = {
1359
1359
  publish_profile_now: "Haz tu perfil público ahora",
1360
1360
  link_add_p1: "Escoge un tipo de enlace",
1361
1361
  link_add_not_found: "Ningún enlace encontrado 🤷",
1362
- link_add_not_found_p2: "Si no encuentras tu plataforma favorita, mándanos un correo (<b>support@tapni.co</b>) o envíanos un mensaje en nuestras redes sociales (<b>@tapni</b>)",
1362
+ link_add_not_found_p2: "Si no encuentras tu plataforma favorita, mándanos un correo (<b>support@tapni.com</b>) o envíanos un mensaje en nuestras redes sociales (<b>@tapni</b>)",
1363
1363
  link_add_not_found_p3: "Haremos lo posible para incluir todas las plataformas 😉",
1364
1364
  featured: "Destacado",
1365
1365
  social_media: "Redes Sociales",
@@ -1745,7 +1745,7 @@ ou glissez-déposez si vous utilisez un ordinateur`,
1745
1745
  logout: "Se déconnecter",
1746
1746
  version: "Version",
1747
1747
  configure: "Configurez",
1748
- unexpected_err: "Une erreur inattendue s'est produite, veuillez nous contacter à support@tapni.co",
1748
+ unexpected_err: "Une erreur inattendue s'est produite, veuillez nous contacter à support@tapni.com",
1749
1749
  success_login: "Connecté avec succès avec un autre compte.",
1750
1750
  password_reset_success: "Le code de réinitialisation du mot de passe a été envoyé à votre email.",
1751
1751
  password_reseted_success: "Mot de passe modifié avec succès. Vous pouvez vous connecter maintenant.",
@@ -1759,7 +1759,7 @@ ou glissez-déposez si vous utilisez un ordinateur`,
1759
1759
  redirect_disabled: "Lien de redirection automatique désactivé",
1760
1760
  tag_active: "Produit maintenant actif.",
1761
1761
  tag_inactive: "Produit maintenant désactivé. Vos visiteurs vont atterrir sur tapni.co",
1762
- tag_removed: "Produit enlevé. Veuillez nous écrire à support@tapni.co",
1762
+ tag_removed: "Produit enlevé. Veuillez nous écrire à support@tapni.com",
1763
1763
  connection_accepted: "Demande de connexion acceptée.",
1764
1764
  connection_added: "Nouvelle connexion ajoutée avec succès",
1765
1765
  connection_exist: "Vous êtes déjà connecté à cet utilisateur",
@@ -1817,7 +1817,7 @@ Il n'y a aucun lien dans votre profil.`,
1817
1817
  publish_profile_now: "Rendez votre profil public maintenant",
1818
1818
  link_add_p1: "Choisissez un type de lien",
1819
1819
  link_add_not_found: "Aucun lien trouvé 🤷",
1820
- link_add_not_found_p2: "Si nous avons manqué votre plate-forme préférée, veuillez nous envoyer un courriel (<b> support@tapni.co </b>) ou un MP sur les réseaux sociaux (<b> @tapni </b>)",
1820
+ link_add_not_found_p2: "Si nous avons manqué votre plate-forme préférée, veuillez nous envoyer un courriel (<b> support@tapni.com </b>) ou un MP sur les réseaux sociaux (<b> @tapni </b>)",
1821
1821
  link_add_not_found_p3: "Nous ferons de notre mieux pour prendre en charge toutes les plateformes 😉",
1822
1822
  featured: "Les vedettes",
1823
1823
  social_media: "Réseaux sociaux",
@@ -2199,7 +2199,7 @@ Il n'y a aucun lien dans votre profil.`,
2199
2199
  logout: "Logout",
2200
2200
  version: "Versione",
2201
2201
  configure: "Configura",
2202
- unexpected_err: "Si è verificato un errore imprevisto, contattaci all'indirizzo support@tapni.co",
2202
+ unexpected_err: "Si è verificato un errore imprevisto, contattaci all'indirizzo support@tapni.com",
2203
2203
  success_login: "Accesso riuscito con un altro account.",
2204
2204
  password_reset_success: "Il codice di reimpostazione della password è stato inviato alla tua email.",
2205
2205
  password_reseted_success: "Password modificata con successo. Puoi accedere ora.",
@@ -2213,7 +2213,7 @@ Il n'y a aucun lien dans votre profil.`,
2213
2213
  redirect_disabled: "Reindirizzamento automatico Link disabilitato",
2214
2214
  tag_active: "Il tag è ora attivo. Facciamo i tap!",
2215
2215
  tag_inactive: "Il tag è ora disabilitato. I tuoi visitatori saranno reindirizzati su tapni.co",
2216
- tag_removed: "Tag rimossa. Scrivici a support@tapni.co",
2216
+ tag_removed: "Tag rimossa. Scrivici a support@tapni.com",
2217
2217
  connection_accepted: "Richiesta di connessione accettata.",
2218
2218
  connection_added: "Nuova connessione aggiunta con successo",
2219
2219
  connection_exist: "Sei già connesso a questo utente",
@@ -2270,7 +2270,7 @@ Il n'y a aucun lien dans votre profil.`,
2270
2270
  publish_profile_now: "Rendi pubblico il tuo profilo ora",
2271
2271
  link_add_p1: "Scegli un tipo di link",
2272
2272
  link_add_not_found: "Nessun link trovato 🤷",
2273
- link_add_not_found_p2: "Se abbiamo dimenticato la tua social piattaforma preferita, inviaci un'e-mail (<b>support@tapni.co</b>) o inviaci un messaggio DM sui social media (<b>@tapni</b>)",
2273
+ link_add_not_found_p2: "Se abbiamo dimenticato la tua social piattaforma preferita, inviaci un'e-mail (<b>support@tapni.com</b>) o inviaci un messaggio DM sui social media (<b>@tapni</b>)",
2274
2274
  link_add_not_found_p3: "Faremo del nostro meglio per supportare tutte le piattaforme 😉",
2275
2275
  featured: "In primo piano",
2276
2276
  social_media: "I Social media",
@@ -2648,7 +2648,7 @@ Il n'y a aucun lien dans votre profil.`,
2648
2648
  logout: "Odjavi se",
2649
2649
  version: "Verzija",
2650
2650
  configure: "Konfiguriši",
2651
- unexpected_err: "Došlo je do neočekivane greške, kontaktirajte nas na support@tapni.co",
2651
+ unexpected_err: "Došlo je do neočekivane greške, kontaktirajte nas na support@tapni.com",
2652
2652
  success_login: "Uspešno ste prijavljeni sa drugim nalogom.",
2653
2653
  password_reset_success: "Kod za resetovanje lozinke je poslat na vašu email adresu.",
2654
2654
  password_reseted_success: "Uspešno promenjena lozinka. Možete se prijaviti sada.",
@@ -2662,7 +2662,7 @@ Il n'y a aucun lien dans votre profil.`,
2662
2662
  redirect_disabled: "Link za automatsko preusmeravanje je onemogućen",
2663
2663
  tag_active: "Tag je sada aktivan. Preostaje samo da tapneš!",
2664
2664
  tag_inactive: "Tag je sada onemogućen. Tvoj posetioci će biti preusmereni na tapni.co",
2665
- tag_removed: "Tag je uklonjen. Pišite nam na support@tapni.co",
2665
+ tag_removed: "Tag je uklonjen. Pišite nam na support@tapni.com",
2666
2666
  connection_accepted: "Zahtev za povezivanje je prihvaćen",
2667
2667
  connection_added: "Nova konekcija uspešno dodata",
2668
2668
  connection_exist: "Konekcija već postoji",
@@ -2718,7 +2718,7 @@ Il n'y a aucun lien dans votre profil.`,
2718
2718
  publish_profile_now: "Učinite svoj profil sada javnim",
2719
2719
  link_add_p1: "Izaberite tip linka",
2720
2720
  link_add_not_found: "Nisu pronađeni linkovi 🤷",
2721
- link_add_not_found_p2: "Ako smo propustili vašu omiljenu platformu, javite nam se i pošaljite nam email (<b>support@tapni.co</b>) ili nam pošaljite DM na društvenim mrežama (<b>@tapni</b>)",
2721
+ link_add_not_found_p2: "Ako smo propustili vašu omiljenu platformu, javite nam se i pošaljite nam email (<b>support@tapni.com</b>) ili nam pošaljite DM na društvenim mrežama (<b>@tapni</b>)",
2722
2722
  link_add_not_found_p3: "Daćemo sve od sebe da podržimo sve platforme 😉",
2723
2723
  featured: "Istaknuto",
2724
2724
  social_media: "Društvene mreže",
@@ -3096,7 +3096,7 @@ Bize yazmaktan çekinmeyin`,
3096
3096
  logout: "Çıkış yap",
3097
3097
  version: "Sürüm",
3098
3098
  configure: "Ayarlayın",
3099
- unexpected_err: "Beklenmeyen bir hata oluştu, lütfen support@tapni.co adresinden bizimle iletişime geçin.",
3099
+ unexpected_err: "Beklenmeyen bir hata oluştu, lütfen support@tapni.com adresinden bizimle iletişime geçin.",
3100
3100
  success_login: "Başka bir hesapla başarıyla giriş yapıldı.",
3101
3101
  password_reset_success: "Parola sıfırlama kodu e-postanıza gönderildi.",
3102
3102
  password_reseted_success: "Şifre başarıyla değiştirildi. Şimdi giriş yapabilirsiniz.",
@@ -3110,7 +3110,7 @@ Bize yazmaktan çekinmeyin`,
3110
3110
  redirect_disabled: "Otomatik Yönlendirme Bağlantısı devre dışı",
3111
3111
  tag_active: "Tag şimdi aktif. Hadi başlayalım!",
3112
3112
  tag_inactive: "Tag şimdi devre dışı. Ziyaretçileriniz tapni.co'ya gelecek",
3113
- tag_removed: "Tag kaldırıldı. Lütfen bize support@tapni.co adresinden yazın.",
3113
+ tag_removed: "Tag kaldırıldı. Lütfen bize support@tapni.com adresinden yazın.",
3114
3114
  connection_accepted: "Bağlantı isteği kabul edildi.",
3115
3115
  connection_added: "Yeni bağlantı başarıyla eklendi",
3116
3116
  connection_exist: "Bu kullanıcıya zaten bağlısınız",
@@ -3167,7 +3167,7 @@ Bize yazmaktan çekinmeyin`,
3167
3167
  publish_profile_now: "Profilinizi şimdi herkese açık yapın",
3168
3168
  link_add_p1: "Bir link tipi seçin",
3169
3169
  link_add_not_found: "Link bulunamadı🤷",
3170
- link_add_not_found_p2: "Eğer favori platformunuzu kaçırdıysak lütfen bize e mail gönderin (<b>support@tapni.co</b>) ya da sosyal medya üzerinden meesaj atabilirsiniz (<b>@tapni</b>)",
3170
+ link_add_not_found_p2: "Eğer favori platformunuzu kaçırdıysak lütfen bize e mail gönderin (<b>support@tapni.com</b>) ya da sosyal medya üzerinden meesaj atabilirsiniz (<b>@tapni</b>)",
3171
3171
  link_add_not_found_p3: "Tüm platformları desteklemek için elimizden geleni yapıyoruz 😉",
3172
3172
  featured: "Önce çıkanlar",
3173
3173
  social_media: "Sosyal medya",
@@ -3542,7 +3542,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3542
3542
  logout: "退出",
3543
3543
  version: "版本",
3544
3544
  configure: "配置",
3545
- unexpected_err: "出现意外错误,请联系我们:support@tapni.co",
3545
+ unexpected_err: "出现意外错误,请联系我们:support@tapni.com",
3546
3546
  success_login: "成功使用其他帐户登录。",
3547
3547
  password_reset_success: "密码重置代码已发送到您的电子邮件。",
3548
3548
  password_reseted_success: "密码成功更改。您现在可以登录了。",
@@ -3613,7 +3613,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3613
3613
  publish_profile_now: "立即公开您的个人资料",
3614
3614
  link_add_p1: "选择链接类型",
3615
3615
  link_add_not_found: "未找到链接🤷",
3616
- link_add_not_found_p2: "如果我们遗漏了您最喜欢的平台,请给我们发送电子邮件(<b>support@tapni.co</b>)或在社交媒体上私信我们(<b>@tapni</b>)",
3616
+ link_add_not_found_p2: "如果我们遗漏了您最喜欢的平台,请给我们发送电子邮件(<b>support@tapni.com</b>)或在社交媒体上私信我们(<b>@tapni</b>)",
3617
3617
  link_add_not_found_p3: "我们将尽力支持所有平台😉",
3618
3618
  featured: "特色",
3619
3619
  social_media: "社交媒体",
@@ -3999,7 +3999,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3999
3999
  logout: "로그아웃",
4000
4000
  version: "버젼",
4001
4001
  configure: "설정하다",
4002
- unexpected_err: "예기치 않은 오류가 발생했습니다. 지원 센터에 문의하십시오.@tapni.co",
4002
+ unexpected_err: "예기치 않은 오류가 발생했습니다. 지원 센터에 문의하십시오.@tapni.com",
4003
4003
  success_login: "다른 계정으로 로그인했습니다.",
4004
4004
  password_reset_success: "비밀번호 재설정 코드가 이메일로 전송되었습니다.",
4005
4005
  password_reseted_success: "암호를 성공적으로 변경했습니다. 다시 로그인 해주세요.",
@@ -4013,7 +4013,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4013
4013
  redirect_disabled: "자동-회선 링크 사용",
4014
4014
  tag_active: "자동-회선 링크 사용 안함",
4015
4015
  tag_inactive: "이제 태그가 비활성화되었습니다. 당신의 방문자들은 tapni.co사이트에 들어가집니다.",
4016
- tag_removed: "태그가 제거되었습니다. 도움이 필요하시면 연락주세요@tapni.co",
4016
+ tag_removed: "태그가 제거되었습니다. 도움이 필요하시면 연락주세요@tapni.com",
4017
4017
  connection_accepted: "연결 요청을 수락했습니다.",
4018
4018
  connection_added: "새 연결이 성공적으로 추가되었습니다",
4019
4019
  connection_exist: "이 사용자와 이미 연결되어 있습니다",
@@ -4070,7 +4070,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4070
4070
  publish_profile_now: "지금 프로필을 공개하십시오.",
4071
4071
  link_add_p1: "링크 유형 선택",
4072
4072
  link_add_not_found: "링크를 찾을 수 없습니다. 🤷",
4073
- link_add_not_found_p2: "즐겨찾는 플랫폼을 놓치셨다면, 저희에게 이메일을 보내주시기 바랍니다. (<b>support@tapni.co</b>) 아니면 소셜 미디어로 DM을 해주세요.(<b>@tapni</b>)",
4073
+ link_add_not_found_p2: "즐겨찾는 플랫폼을 놓치셨다면, 저희에게 이메일을 보내주시기 바랍니다. (<b>support@tapni.com</b>) 아니면 소셜 미디어로 DM을 해주세요.(<b>@tapni</b>)",
4074
4074
  link_add_not_found_p3: "모든 플랫폼을 지원할 수 있도록 최선을 다하겠습니다. 😉",
4075
4075
  featured: "피처링",
4076
4076
  social_media: "소셜 미디어",
@@ -4381,7 +4381,7 @@ const z = {
4381
4381
  }
4382
4382
  },
4383
4383
  mounted() {
4384
- 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), Oe.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4384
+ this.$route.query.redirect_uri && (this.redirect_uri = this.$route.query.redirect_uri), this.$route.query.display && (this.display = this.$route.query.display), this.$route.query.state && (this.state = this.$route.query.state), this.$route.query.response_type && (this.response_type = this.$route.query.response_type), this.$route.query.realm && (this.$storage.realm = this.$route.query.realm), u.$on("updateLang", this.updateLang), Oe.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4385
4385
  },
4386
4386
  methods: {
4387
4387
  errorHandler(e) {
@@ -4447,7 +4447,7 @@ const z = {
4447
4447
  },
4448
4448
  async loginSetup(e) {
4449
4449
  var a, n;
4450
- e.data.refreshToken && this.setRefreshToken(e.data.refreshToken), e.data.token && this.setToken(e.data.token), ((n = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : n.ssoLang) !== this.appLanguage && d.$emit("ssoEvent", {
4450
+ e.data.refreshToken && this.setRefreshToken(e.data.refreshToken), e.data.token && this.setToken(e.data.token), ((n = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : n.ssoLang) !== this.appLanguage && u.$emit("ssoEvent", {
4451
4451
  name: "saveProfile",
4452
4452
  data: { lang: this.appLanguage, username: e.data.data.username }
4453
4453
  }), this.setLoggedInUserId(e.data.data.id), this.$storage.UserId = e.data.data.id, this.$storage.username = e.data.data.username, e.isModal === !0 && this.setLoggedInAccounts([
@@ -4484,7 +4484,7 @@ const z = {
4484
4484
  (a) => this.redirect_uri.startsWith(a)
4485
4485
  ))
4486
4486
  return console.log("Redirect URI not allowed");
4487
- location.href = -this.redirect_uri + "?code=" + e.data.auth_code + "&state=" + this.state;
4487
+ location.href = this.redirect_uri + "?code=" + e.data.auth_code + "&state=" + this.state;
4488
4488
  } else
4489
4489
  this.display === "popup" ? this.allowedOrigins.forEach((a) => {
4490
4490
  var n;
@@ -4492,7 +4492,7 @@ const z = {
4492
4492
  { code: e.data.auth_code, state: this.$route.query.state },
4493
4493
  a
4494
4494
  );
4495
- }) : this.display === "npm" && (d.$emit("ssoEvent", { name: "setLoading", data: !0 }), d.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: e.data.data.username } }), e.isModal && (d.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login)), this.$router.push("/" + e.data.data.username + "#edit"));
4495
+ }) : this.display === "npm" && (u.$emit("ssoEvent", { name: "setLoading", data: !0 }), u.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: e.data.data.username } }), e.isModal && (u.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login)), this.$router.push("/" + e.data.data.username + "#edit"));
4496
4496
  },
4497
4497
  async register(e) {
4498
4498
  const [a, n] = await g(
@@ -4600,7 +4600,7 @@ const z = {
4600
4600
  setLoggedInAccounts(e) {
4601
4601
  this.loggedInAccounts = {}, e.forEach((a) => {
4602
4602
  this.loggedInAccounts[a.username] = a;
4603
- }), d.$emit("ssoEvent", { name: "setLoggedInAccounts", data: e });
4603
+ }), u.$emit("ssoEvent", { name: "setLoggedInAccounts", data: e });
4604
4604
  },
4605
4605
  setLoggedInUserId(e) {
4606
4606
  this.loggedInUserId = e;
@@ -4613,10 +4613,10 @@ const z = {
4613
4613
  },
4614
4614
  setRefreshToken(e) {
4615
4615
  let a = this.getRefreshTokens();
4616
- e && !a.includes(e) ? a.unshift(e) : a = a.filter((n) => n !== this.refreshToken), a.length >= 1 ? this.refreshToken = a[0] : this.refreshToken = e, this.$storage.refreshTokens = a.join(","), d.$emit("ssoEvent", { name: "setRefreshToken", data: e });
4616
+ e && !a.includes(e) ? a.unshift(e) : a = a.filter((n) => n !== this.refreshToken), a.length >= 1 ? this.refreshToken = a[0] : this.refreshToken = e, this.$storage.refreshTokens = a.join(","), u.$emit("ssoEvent", { name: "setRefreshToken", data: e });
4617
4617
  },
4618
4618
  setToken(e) {
4619
- this.$storage.token = e, this.token = e, d.$emit("ssoEvent", { name: "setToken", data: e });
4619
+ this.$storage.token = e, this.token = e, u.$emit("ssoEvent", { name: "setToken", data: e });
4620
4620
  },
4621
4621
  setUserID(e) {
4622
4622
  this.$storage.UserId = e;
@@ -4647,12 +4647,17 @@ const z = {
4647
4647
  };
4648
4648
  },
4649
4649
  async mounted() {
4650
- document.getElementById("tapniVideo").play(), setTimeout(() => {
4651
- this.$storage.token ? this.$router.push(this.home) : d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4652
- }, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
4650
+ let e = document.getElementById("tapniVideo");
4651
+ e.addEventListener("canplay", function() {
4652
+ document.body.contains(e) && e.play().catch((a) => {
4653
+ console.log("Play was interrupted:", a);
4654
+ });
4655
+ }), setTimeout(() => {
4656
+ this.$storage.token ? this.$router.push(this.home) : u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4657
+ }, 1500), u.$emit("ssoEvent", { name: "setInitialize", data: !0 });
4653
4658
  },
4654
4659
  methods: {}
4655
- }, ue = (e) => (O("data-v-806183a1"), e = e(), B(), e), De = {
4660
+ }, ue = (e) => (O("data-v-c5cb659c"), e = e(), B(), e), De = {
4656
4661
  class: "page-login content-boxed content-boxed-padding center-text",
4657
4662
  style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
4658
4663
  }, Ue = ["autoplay"], Ke = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("source", {
@@ -4663,11 +4668,11 @@ const z = {
4663
4668
  ], 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" }, Ge = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), We = {
4664
4669
  key: 2,
4665
4670
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
4666
- }, Xe = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-806183a1><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-806183a1></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-806183a1><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-806183a1></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-806183a1><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-806183a1></a>', 3), Ye = [
4671
+ }, Xe = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a>', 3), Ye = [
4667
4672
  Xe
4668
4673
  ];
4669
4674
  function Ze(e, a, n, o, i, r) {
4670
- const u = V("router-link");
4675
+ const p = V("router-link");
4671
4676
  return c(), l("div", De, [
4672
4677
  t("video", {
4673
4678
  id: "tapniVideo",
@@ -4678,25 +4683,25 @@ function Ze(e, a, n, o, i, r) {
4678
4683
  style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
4679
4684
  autoplay: e.isNative
4680
4685
  }, $e, 8, Ue),
4681
- t("h1", He, p(e.ssoLang[this.appLanguage].welcome), 1),
4682
- t("p", Fe, p(e.ssoLang[this.appLanguage].welcome_p1), 1),
4686
+ t("h1", He, d(e.ssoLang[this.appLanguage].welcome), 1),
4687
+ t("p", Fe, d(e.ssoLang[this.appLanguage].welcome_p1), 1),
4683
4688
  h("", !0),
4684
4689
  h("", !0),
4685
- v(u, {
4690
+ v(p, {
4686
4691
  to: "register",
4687
4692
  exact: "",
4688
4693
  class: "button-center button button-90 google-button bg-tapni-grey pointer"
4689
4694
  }, {
4690
4695
  default: j(() => [
4691
- t("span", null, p(e.ssoLang[this.appLanguage].create_account), 1)
4696
+ t("span", null, d(e.ssoLang[this.appLanguage].create_account), 1)
4692
4697
  ]),
4693
4698
  _: 1
4694
4699
  }),
4695
4700
  t("div", Qe, [
4696
- v(u, { to: "/login" }, {
4701
+ v(p, { to: "/login" }, {
4697
4702
  default: j(() => [
4698
- f(p(e.ssoLang[this.appLanguage].already_registered) + "? ", 1),
4699
- t("b", null, p(e.ssoLang[this.appLanguage].sign_in), 1)
4703
+ f(d(e.ssoLang[this.appLanguage].already_registered) + "? ", 1),
4704
+ t("b", null, d(e.ssoLang[this.appLanguage].sign_in), 1)
4700
4705
  ]),
4701
4706
  _: 1
4702
4707
  }),
@@ -4705,7 +4710,7 @@ function Ze(e, a, n, o, i, r) {
4705
4710
  this.isNative ? h("", !0) : (c(), l("div", We, Ye))
4706
4711
  ]);
4707
4712
  }
4708
- const _e = /* @__PURE__ */ T(Be, [["render", Ze], ["__scopeId", "data-v-806183a1"]]), me = {
4713
+ const _e = /* @__PURE__ */ T(Be, [["render", Ze], ["__scopeId", "data-v-c5cb659c"]]), me = {
4709
4714
  data() {
4710
4715
  return {
4711
4716
  googleLoad: !1
@@ -4731,7 +4736,7 @@ const _e = /* @__PURE__ */ T(Be, [["render", Ze], ["__scopeId", "data-v-806183a1
4731
4736
  this.referral && (a.ref = this.referral), this.display === "popup" && (a.response_type = "code");
4732
4737
  const [o, i] = await g(y.googleSDK(a, this.$storage));
4733
4738
  if (o)
4734
- return this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4739
+ return this.googleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4735
4740
  if (i.data.success) {
4736
4741
  if (this.display === "popup")
4737
4742
  return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
@@ -4741,7 +4746,7 @@ const _e = /* @__PURE__ */ T(Be, [["render", Ze], ["__scopeId", "data-v-806183a1
4741
4746
  } else
4742
4747
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4743
4748
  } else
4744
- this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4749
+ this.googleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4745
4750
  }
4746
4751
  }
4747
4752
  };
@@ -4784,17 +4789,17 @@ const ge = {
4784
4789
  if (this.referral && (n.ref = this.referral), this.display === "popup" && (n.response_type = "code"), n.accessToken) {
4785
4790
  const [i, r] = await g(y.facebookSDK(n, this.$storage));
4786
4791
  if (i)
4787
- return this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
4792
+ return this.facebookLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
4788
4793
  if (r.data.success) {
4789
4794
  if (this.display === "popup")
4790
4795
  return (o = window.parent) == null ? void 0 : o.postMessage({ code: r.data.auth_code, state: this.$route.query.state }, "*");
4791
4796
  await this.loginSetup(r), this.getLoggedInAccounts(), this.$router.push("/" + r.data.data.username + "#edit"), setTimeout(() => {
4792
- this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4797
+ this.facebookLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4793
4798
  }, 1e3);
4794
4799
  } else
4795
4800
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4796
4801
  } else
4797
- this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4802
+ this.facebookLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4798
4803
  }
4799
4804
  }
4800
4805
  }, he = {
@@ -4824,17 +4829,17 @@ const ge = {
4824
4829
  this.referral && (a.response.ref = this.referral), this.display === "popup" && (a.response_type = "code");
4825
4830
  const [o, i] = await g(y.appleSDK(a.response, this.$storage));
4826
4831
  if (o)
4827
- return this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4832
+ return this.appleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4828
4833
  if (i.data.success) {
4829
4834
  if (this.display === "popup")
4830
4835
  return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
4831
- await this.loginSetup(i), this.getLoggedInAccounts(), this.$router.push("/" + i.data.data.username + "#edit"), setTimeout(() => {
4832
- this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4836
+ await this.loginSetup(i), this.getLoggedInAccounts(), this.loginSuccess({ ...i, isModal: !1 }), setTimeout(() => {
4837
+ this.appleLoad = !1;
4833
4838
  }, 1e3);
4834
4839
  } else
4835
4840
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4836
4841
  } else
4837
- this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4842
+ this.appleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4838
4843
  }
4839
4844
  }
4840
4845
  };
@@ -4854,7 +4859,7 @@ const F = {
4854
4859
  },
4855
4860
  methods: {
4856
4861
  async microsoftLogin(e, a = {}) {
4857
- var i, r, u;
4862
+ var i, r, p;
4858
4863
  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) || {});
4859
4864
  const [n, o] = await g(
4860
4865
  xe.login({
@@ -4874,23 +4879,23 @@ const F = {
4874
4879
  y.microsoftSDK(o, this.$storage)
4875
4880
  );
4876
4881
  if (s)
4877
- return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
4882
+ return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
4878
4883
  if (_.data.success) {
4879
4884
  if (this.display === "popup")
4880
- return (u = window.parent) == null ? void 0 : u.postMessage(
4885
+ return (p = window.parent) == null ? void 0 : p.postMessage(
4881
4886
  { code: _.data.auth_code, state: this.$route.query.state },
4882
4887
  "*"
4883
4888
  );
4884
- await this.loginSetup(_), this.getLoggedInAccounts(), this.$router.push("/" + _.data.data.username + "#edit"), setTimeout(() => {
4885
- this.microsoftLoad = !1, this.microsoftSSOLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4889
+ await this.loginSetup(_), this.getLoggedInAccounts(), this.loginSuccess({ ..._, isModal: !1 }), setTimeout(() => {
4890
+ this.microsoftLoad = !1, this.microsoftSSOLoad = !1;
4886
4891
  }, 1e3);
4887
4892
  } else
4888
4893
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4889
4894
  } else
4890
- this.microsoftLoad = !1, this.microsoftSSOLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
4895
+ this.microsoftLoad = !1, this.microsoftSSOLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4891
4896
  },
4892
4897
  ssoLogin() {
4893
- d.$emit("toggleSSOModal");
4898
+ u.$emit("toggleSSOModal");
4894
4899
  }
4895
4900
  }
4896
4901
  }, N = {
@@ -4907,8 +4912,8 @@ const F = {
4907
4912
  return null;
4908
4913
  },
4909
4914
  compareLangKeys() {
4910
- 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);
4911
- 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();
4915
+ 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), p = Object.keys(le.default.state), s = Object.keys(de.default.state);
4916
+ 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((_) => !p.includes(_))), console.log("In sr but not in en", p.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();
4912
4917
  },
4913
4918
  base64ImageToBlob(e) {
4914
4919
  const a = e.split(";base64,"), n = a[0].split(":")[1], o = window.atob(a[1]), i = new Uint8Array(o.length);
@@ -4925,9 +4930,9 @@ const F = {
4925
4930
  });
4926
4931
  },
4927
4932
  base64toFile(e, a) {
4928
- for (var n = e.split(","), o = n[0].match(/:(.*?);/)[1], i = atob(n[1]), r = i.length, u = new Uint8Array(r); r--; )
4929
- u[r] = i.charCodeAt(r);
4930
- return new File([u], a, { type: o });
4933
+ for (var n = e.split(","), o = n[0].match(/:(.*?);/)[1], i = atob(n[1]), r = i.length, p = new Uint8Array(r); r--; )
4934
+ p[r] = i.charCodeAt(r);
4935
+ return new File([p], a, { type: o });
4931
4936
  },
4932
4937
  fileToBase64(e) {
4933
4938
  new Promise((a, n) => {
@@ -4942,8 +4947,8 @@ const F = {
4942
4947
  cropCardScan(e, a) {
4943
4948
  const n = new window.Image(), o = document.createElement("canvas"), i = o.getContext("2d");
4944
4949
  n.src = "data:image/jpeg;base64," + e, n.onload = () => {
4945
- const r = n.width, u = n.width / 1.65, s = 0, _ = n.height / 2 - u / 2, L = r, q = u;
4946
- o.width = L, o.height = q, i.drawImage(n, s, _, r, u, 0, 0, L, q);
4950
+ const r = n.width, p = n.width / 1.65, s = 0, _ = n.height / 2 - p / 2, L = r, q = p;
4951
+ o.width = L, o.height = q, i.drawImage(n, s, _, r, p, 0, 0, L, q);
4947
4952
  const Z = o.toDataURL();
4948
4953
  return a(Z), Z;
4949
4954
  };
@@ -4973,8 +4978,8 @@ const F = {
4973
4978
  n = n.replace(/ /g, "+");
4974
4979
  const i = new TextEncoder(), r = new TextDecoder();
4975
4980
  e = i.encode(e), a = i.encode(a), n = o(n, storage);
4976
- const u = await window.crypto.subtle.importKey("raw", e, "AES-CBC", !0, ["encrypt", "decrypt"]);
4977
- let s = await window.crypto.subtle.decrypt({ name: "AES-CBC", iv: a }, u, n);
4981
+ const p = await window.crypto.subtle.importKey("raw", e, "AES-CBC", !0, ["encrypt", "decrypt"]);
4982
+ let s = await window.crypto.subtle.decrypt({ name: "AES-CBC", iv: a }, p, n);
4978
4983
  return s = r.decode(s), s = s.replace(/ /g, "+"), s = atob(s), s;
4979
4984
  } catch (o) {
4980
4985
  console.log(o);
@@ -5003,12 +5008,12 @@ const F = {
5003
5008
  localStorage.removeItem("pkce_code_verifier");
5004
5009
  let o = { accessToken: (i = n.data) == null ? void 0 : i.access_token, domain: e.domain };
5005
5010
  if (this.display === "popup" && (o.response_type = "code"), [a, n] = await g(y.oktaSDK(o, this.$storage)), a)
5006
- return this.oktaLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(a);
5011
+ return this.oktaLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(a);
5007
5012
  if (n.data.success) {
5008
5013
  if (this.display === "popup")
5009
5014
  return (r = window.parent) == null ? void 0 : r.postMessage({ code: n.data.auth_code, state: this.$route.query.state }, "*");
5010
5015
  await this.loginSetup(n), this.getLoggedInAccounts(), this.$router.push("/" + n.data.data.username + "#edit"), setTimeout(() => {
5011
- this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
5016
+ this.appleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
5012
5017
  }, 1e3);
5013
5018
  } else
5014
5019
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
@@ -5017,9 +5022,9 @@ const F = {
5017
5022
  const a = D.getPlatform() || "web";
5018
5023
  let n = btoa("domain=" + e.domain + "&client_id=" + e.clientID + "&platform=" + a + "&rand=" + N.generateRandomString(28)), o = N.generateRandomString(28);
5019
5024
  localStorage.setItem("pkce_code_verifier", o);
5020
- let i = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", u;
5021
- this.isNative ? u = "tapni://t.link/callback/okta" : u = location.origin + "/callback/okta";
5022
- 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;
5025
+ let i = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", p;
5026
+ this.isNative ? p = "tapni://t.link/callback/okta" : p = location.origin + "/callback/okta";
5027
+ let s = r + "?response_type=code&client_id=" + encodeURIComponent(e.clientID) + "&state=" + encodeURIComponent(n) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(p) + "&code_challenge=" + encodeURIComponent(i) + "&code_challenge_method=S256", _ = this, L;
5023
5028
  window.addEventListener("message", async (q) => {
5024
5029
  if (!this.allowedOrigins.includes(q.origin))
5025
5030
  return console.log("Origin is not allowed!");
@@ -5030,10 +5035,10 @@ const F = {
5030
5035
  let e = this.$route.query.code, a, n, o, i, r = { type: "okta" };
5031
5036
  if (e && (r.code = e), this.$route.query.state) {
5032
5037
  a = this.$route.query.state, a = atob(a);
5033
- const u = new URLSearchParams(a);
5034
- n = u.get("client_id"), o = u.get("domain"), i = u.get("platform");
5038
+ const p = new URLSearchParams(a);
5039
+ n = p.get("client_id"), o = p.get("domain"), i = p.get("platform");
5035
5040
  }
5036
- window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await H.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 }));
5041
+ window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await H.close(), u.$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"), u.$emit("ssoEvent", { name: "setLoading", data: !1 }));
5037
5042
  }
5038
5043
  }
5039
5044
  }, G = {
@@ -5201,7 +5206,7 @@ const F = {
5201
5206
  return await this.handleOktaRedirect();
5202
5207
  if (this.$route.path === "/login/callback/saml")
5203
5208
  return await this.handleSamlRedirect();
5204
- this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && d.$emit("ssoEvent", { name: "setLoading", data: !1 }), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
5209
+ this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && u.$emit("ssoEvent", { name: "setLoading", data: !1 }), u.$emit("ssoEvent", { name: "setInitialize", data: !0 });
5205
5210
  }
5206
5211
  },
5207
5212
  methods: {
@@ -5221,10 +5226,10 @@ const F = {
5221
5226
  n && console.error(n), this.submitted = !1, o === !0 && (this.emailOrUsername = "", this.password = "");
5222
5227
  },
5223
5228
  close() {
5224
- d.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5229
+ u.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5225
5230
  },
5226
5231
  createAccountModal() {
5227
- d.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
5232
+ u.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
5228
5233
  }
5229
5234
  },
5230
5235
  watch: {
@@ -5320,7 +5325,7 @@ const F = {
5320
5325
  class: "page-login-links"
5321
5326
  }, Fa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Qa = { class: "forgot center-text pointer small-top" }, Ga = /* @__PURE__ */ t("br", null, null, -1), Wa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
5322
5327
  function Xa(e, a, n, o, i, r) {
5323
- const u = V("router-link");
5328
+ const p = V("router-link");
5324
5329
  return c(), l("form", {
5325
5330
  class: "page-login content-boxed content-boxed-padding",
5326
5331
  onSubmit: a[13] || (a[13] = w((...s) => r.submit && r.submit(...s), ["prevent"])),
@@ -5333,7 +5338,7 @@ function Xa(e, a, n, o, i, r) {
5333
5338
  class: "color-black pull-right pointer",
5334
5339
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5335
5340
  }, ta)) : h("", !0),
5336
- t("h1", ia, p(this.ssoLang[this.appLanguage].login), 1),
5341
+ t("h1", ia, d(this.ssoLang[this.appLanguage].login), 1),
5337
5342
  oa,
5338
5343
  r.displayFormLogin ? (c(), l("span", ra, [
5339
5344
  t("div", sa, [
@@ -5379,7 +5384,7 @@ function Xa(e, a, n, o, i, r) {
5379
5384
  ])
5380
5385
  ]),
5381
5386
  t("button", ha, [
5382
- i.submitted ? (c(), l("span", va)) : (c(), l("span", fa, p(e.ssoLang[e.appLanguage].login), 1))
5387
+ i.submitted ? (c(), l("span", va)) : (c(), l("span", fa, d(e.ssoLang[e.appLanguage].login), 1))
5383
5388
  ])
5384
5389
  ])) : h("", !0),
5385
5390
  ka,
@@ -5389,7 +5394,7 @@ function Xa(e, a, n, o, i, r) {
5389
5394
  class: "button-center button button-90 google-button pointer"
5390
5395
  }, [
5391
5396
  ba,
5392
- e.appleLoad ? (c(), l("span", wa)) : (c(), l("span", ya, p(e.ssoLang[e.appLanguage].sign_in_with) + " Apple", 1))
5397
+ e.appleLoad ? (c(), l("span", wa)) : (c(), l("span", ya, d(e.ssoLang[e.appLanguage].sign_in_with) + " Apple", 1))
5393
5398
  ])) : h("", !0),
5394
5399
  e.displayGoogleLogin ? (c(), l("a", {
5395
5400
  key: 3,
@@ -5397,7 +5402,7 @@ function Xa(e, a, n, o, i, r) {
5397
5402
  class: "button-center button button-90 google-button pointer"
5398
5403
  }, [
5399
5404
  za,
5400
- e.googleLoad ? (c(), l("span", Sa)) : (c(), l("span", La, p(e.ssoLang[e.appLanguage].sign_in_with) + " Google", 1))
5405
+ e.googleLoad ? (c(), l("span", Sa)) : (c(), l("span", La, d(e.ssoLang[e.appLanguage].sign_in_with) + " Google", 1))
5401
5406
  ])) : h("", !0),
5402
5407
  e.displayFacebookLogin ? (c(), l("a", {
5403
5408
  key: 4,
@@ -5405,7 +5410,7 @@ function Xa(e, a, n, o, i, r) {
5405
5410
  class: "button-center button button-90 google-button pointer"
5406
5411
  }, [
5407
5412
  Ca,
5408
- e.facebookLoad ? (c(), l("span", ja)) : (c(), l("span", Ta, p(e.ssoLang[e.appLanguage].sign_in_with) + " Facebook", 1))
5413
+ e.facebookLoad ? (c(), l("span", ja)) : (c(), l("span", Ta, d(e.ssoLang[e.appLanguage].sign_in_with) + " Facebook", 1))
5409
5414
  ])) : h("", !0),
5410
5415
  e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
5411
5416
  key: 5,
@@ -5413,7 +5418,7 @@ function Xa(e, a, n, o, i, r) {
5413
5418
  class: "button-center button button-90 google-button pointer"
5414
5419
  }, [
5415
5420
  Pa,
5416
- e.microsoftLoad ? (c(), l("span", Ia)) : (c(), l("span", Aa, p(e.ssoLang[e.appLanguage].sign_in_with) + " Outlook", 1))
5421
+ e.microsoftLoad ? (c(), l("span", Ia)) : (c(), l("span", Aa, d(e.ssoLang[e.appLanguage].sign_in_with) + " Outlook", 1))
5417
5422
  ])),
5418
5423
  e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
5419
5424
  key: 6,
@@ -5421,7 +5426,7 @@ function Xa(e, a, n, o, i, r) {
5421
5426
  class: "button-center button button-90 google-button pointer"
5422
5427
  }, [
5423
5428
  Ea,
5424
- e.microsoftSSOLoad ? (c(), l("span", qa)) : (c(), l("span", xa, p(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1))
5429
+ e.microsoftSSOLoad ? (c(), l("span", qa)) : (c(), l("span", xa, d(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1))
5425
5430
  ])),
5426
5431
  e.displayMicrosoftSSOLogin ? (c(), l("a", {
5427
5432
  key: 7,
@@ -5429,7 +5434,7 @@ function Xa(e, a, n, o, i, r) {
5429
5434
  class: "button-center button button-90 google-button pointer"
5430
5435
  }, [
5431
5436
  Ma,
5432
- e.microsoftSSOLoad ? (c(), l("span", Ra, p(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1)) : (c(), l("span", Na))
5437
+ e.microsoftSSOLoad ? (c(), l("span", Ra, d(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1)) : (c(), l("span", Na))
5433
5438
  ])) : h("", !0),
5434
5439
  r.displayFormLogin ? h("", !0) : (c(), l("a", {
5435
5440
  key: 8,
@@ -5437,15 +5442,15 @@ function Xa(e, a, n, o, i, r) {
5437
5442
  class: "button-center button button-90 google-button pointer"
5438
5443
  }, [
5439
5444
  Va,
5440
- t("span", null, p(e.ssoLang[e.appLanguage].sign_in_with) + " Email", 1)
5445
+ t("span", null, d(e.ssoLang[e.appLanguage].sign_in_with) + " Email", 1)
5441
5446
  ])),
5442
5447
  Oa,
5443
5448
  t("p", Ba, [
5444
- f(p(e.ssoLang[e.appLanguage].terms_by_signing_in) + " ", 1),
5449
+ f(d(e.ssoLang[e.appLanguage].terms_by_signing_in) + " ", 1),
5445
5450
  Da,
5446
- t("a", Ua, p(e.ssoLang[this.appLanguage].terms_of_service), 1),
5447
- f(" " + p(e.ssoLang[e.appLanguage].and) + " ", 1),
5448
- t("a", Ka, p(e.ssoLang[this.appLanguage].privacy_policy), 1)
5451
+ t("a", Ua, d(e.ssoLang[this.appLanguage].terms_of_service), 1),
5452
+ f(" " + d(e.ssoLang[e.appLanguage].and) + " ", 1),
5453
+ t("a", Ka, d(e.ssoLang[this.appLanguage].privacy_policy), 1)
5449
5454
  ]),
5450
5455
  $a,
5451
5456
  n.isModal ? (c(), l("div", {
@@ -5454,29 +5459,29 @@ function Xa(e, a, n, o, i, r) {
5454
5459
  onClick: a[12] || (a[12] = (...s) => r.createAccountModal && r.createAccountModal(...s))
5455
5460
  }, [
5456
5461
  t("a", Qa, [
5457
- f(p(e.ssoLang[e.appLanguage].or) + " ", 1),
5462
+ f(d(e.ssoLang[e.appLanguage].or) + " ", 1),
5458
5463
  Ga,
5459
- f(" " + p(e.ssoLang[e.appLanguage].create_new_account), 1)
5464
+ f(" " + d(e.ssoLang[e.appLanguage].create_new_account), 1)
5460
5465
  ]),
5461
5466
  Wa
5462
5467
  ])) : (c(), l("div", Ha, [
5463
- r.displayRegisterLogin ? (c(), P(u, {
5468
+ r.displayRegisterLogin ? (c(), P(p, {
5464
5469
  key: 0,
5465
5470
  class: "forgot float-right",
5466
5471
  to: "/register"
5467
5472
  }, {
5468
5473
  default: j(() => [
5469
- f(p(e.ssoLang[e.appLanguage].create_account), 1)
5474
+ f(d(e.ssoLang[e.appLanguage].create_account), 1)
5470
5475
  ]),
5471
5476
  _: 1
5472
5477
  })) : h("", !0),
5473
- r.displayResetPasswordLogin ? (c(), P(u, {
5478
+ r.displayResetPasswordLogin ? (c(), P(p, {
5474
5479
  key: 1,
5475
5480
  class: "create float-left",
5476
5481
  to: "/reset"
5477
5482
  }, {
5478
5483
  default: j(() => [
5479
- f(p(e.ssoLang[e.appLanguage].reset_password), 1)
5484
+ f(d(e.ssoLang[e.appLanguage].reset_password), 1)
5480
5485
  ]),
5481
5486
  _: 1
5482
5487
  })) : h("", !0),
@@ -5510,7 +5515,7 @@ const fe = /* @__PURE__ */ T(aa, [["render", Xa]]), Ya = {
5510
5515
  };
5511
5516
  },
5512
5517
  mounted() {
5513
- this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.invitationCode = this.$route.query.ic || "", this.$route.query.username && (this.usernameRegister = !0, this.emailLogin = !0, this.username = this.$route.query.username), this.$route.query.ref ? this.referral = this.$route.query.ref : this.$storage.referral && (this.referral = this.$storage.referral));
5518
+ this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.invitationCode = this.$route.query.ic || "", this.$route.query.username && (this.usernameRegister = !0, this.emailLogin = !0, this.username = this.$route.query.username), this.$route.query.ref ? this.referral = this.$route.query.ref : this.$storage.referral && (this.referral = this.$storage.referral));
5514
5519
  },
5515
5520
  methods: {
5516
5521
  async submit() {
@@ -5534,13 +5539,13 @@ const fe = /* @__PURE__ */ T(aa, [["render", Xa]]), Ya = {
5534
5539
  captchaToken: await this.getCaptchaToken("account_verify"),
5535
5540
  ref: this.referral
5536
5541
  }, a = await this.register(e);
5537
- this.submitted = !1, a.data && a.data.success && (a.data.message === "SUCCESS_REGISTER" ? (this.isModal ? d.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : a.data.message === "SUCCESS_LOGIN" && (this.display === "npm" && (await this.loginSetup({ ...a, isModal: e.isModal }), this.getLoggedInAccounts()), await this.loginSuccess({ ...a, isModal: e.isModal })));
5542
+ this.submitted = !1, a.data && a.data.success && (a.data.message === "SUCCESS_REGISTER" ? (this.isModal ? u.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : a.data.message === "SUCCESS_LOGIN" && (this.display === "npm" && (await this.loginSetup({ ...a, isModal: e.isModal }), this.getLoggedInAccounts()), await this.loginSuccess({ ...a, isModal: e.isModal })));
5538
5543
  },
5539
5544
  close() {
5540
- d.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5545
+ u.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5541
5546
  },
5542
5547
  loginAccountModal() {
5543
- d.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
5548
+ u.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
5544
5549
  }
5545
5550
  },
5546
5551
  watch: {
@@ -5621,7 +5626,7 @@ const fe = /* @__PURE__ */ T(aa, [["render", Xa]]), Ya = {
5621
5626
  class: "page-login-links"
5622
5627
  }, 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);
5623
5628
  function $n(e, a, n, o, i, r) {
5624
- const u = V("router-link");
5629
+ const p = V("router-link");
5625
5630
  return c(), l("form", {
5626
5631
  class: "page-login content-boxed content-boxed-padding",
5627
5632
  onSubmit: a[12] || (a[12] = w((...s) => r.submit && r.submit(...s), ["prevent"])),
@@ -5634,10 +5639,10 @@ function $n(e, a, n, o, i, r) {
5634
5639
  class: "color-black pull-right pointer",
5635
5640
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5636
5641
  }, Ja)) : h("", !0),
5637
- t("h1", en, p(e.ssoLang[this.appLanguage].register), 1),
5642
+ t("h1", en, d(e.ssoLang[this.appLanguage].register), 1),
5638
5643
  t("p", an, [
5639
5644
  i.usernameRegister ? (c(), l("span", nn, [
5640
- f(" t.link/" + p(i.username) + " " + p(e.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
5645
+ f(" t.link/" + d(i.username) + " " + d(e.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
5641
5646
  tn
5642
5647
  ])) : h("", !0)
5643
5648
  ]),
@@ -5702,7 +5707,7 @@ function $n(e, a, n, o, i, r) {
5702
5707
  ])
5703
5708
  ]),
5704
5709
  t("button", kn, [
5705
- i.submitted ? (c(), l("span", yn)) : (c(), l("span", bn, p(i.formButtonText), 1))
5710
+ i.submitted ? (c(), l("span", yn)) : (c(), l("span", bn, d(i.formButtonText), 1))
5706
5711
  ])
5707
5712
  ])) : h("", !0),
5708
5713
  wn,
@@ -5712,14 +5717,14 @@ function $n(e, a, n, o, i, r) {
5712
5717
  class: "button-center button button-90 google-button pointer"
5713
5718
  }, [
5714
5719
  zn,
5715
- e.appleLoad ? (c(), l("span", Sn)) : (c(), l("span", Ln, p(e.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
5720
+ e.appleLoad ? (c(), l("span", Sn)) : (c(), l("span", Ln, d(e.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
5716
5721
  ])) : h("", !0),
5717
5722
  t("a", {
5718
5723
  onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
5719
5724
  class: "button-center button button-90 google-button pointer"
5720
5725
  }, [
5721
5726
  Cn,
5722
- e.googleLoad ? (c(), l("span", jn)) : (c(), l("span", Tn, p(e.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
5727
+ e.googleLoad ? (c(), l("span", jn)) : (c(), l("span", Tn, d(e.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
5723
5728
  ]),
5724
5729
  e.displayFacebookLogin ? (c(), l("a", {
5725
5730
  key: 3,
@@ -5727,7 +5732,7 @@ function $n(e, a, n, o, i, r) {
5727
5732
  class: "button-center button button-90 google-button pointer"
5728
5733
  }, [
5729
5734
  Pn,
5730
- e.facebookLoad ? (c(), l("span", In)) : (c(), l("span", An, p(e.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
5735
+ e.facebookLoad ? (c(), l("span", In)) : (c(), l("span", An, d(e.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
5731
5736
  ])) : h("", !0),
5732
5737
  i.emailLogin ? h("", !0) : (c(), l("a", {
5733
5738
  key: 4,
@@ -5735,15 +5740,15 @@ function $n(e, a, n, o, i, r) {
5735
5740
  class: "button-center button button-90 google-button pointer"
5736
5741
  }, [
5737
5742
  En,
5738
- t("span", null, p(e.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
5743
+ t("span", null, d(e.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
5739
5744
  ])),
5740
5745
  xn,
5741
5746
  t("p", qn, [
5742
- f(p(e.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
5747
+ f(d(e.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
5743
5748
  Mn,
5744
- t("a", Rn, p(e.ssoLang[this.appLanguage].terms_of_service), 1),
5745
- f(" " + p(e.ssoLang[this.appLanguage].and) + " ", 1),
5746
- t("a", Nn, p(e.ssoLang[this.appLanguage].privacy_policy), 1)
5749
+ t("a", Rn, d(e.ssoLang[this.appLanguage].terms_of_service), 1),
5750
+ f(" " + d(e.ssoLang[this.appLanguage].and) + " ", 1),
5751
+ t("a", Nn, d(e.ssoLang[this.appLanguage].privacy_policy), 1)
5747
5752
  ]),
5748
5753
  Vn,
5749
5754
  n.isModal ? (c(), l("div", {
@@ -5752,27 +5757,27 @@ function $n(e, a, n, o, i, r) {
5752
5757
  onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
5753
5758
  }, [
5754
5759
  t("a", Dn, [
5755
- f(p(e.ssoLang[this.appLanguage].or) + " ", 1),
5760
+ f(d(e.ssoLang[this.appLanguage].or) + " ", 1),
5756
5761
  Un,
5757
- f(" " + p(e.ssoLang[this.appLanguage].sign_in_with_new), 1)
5762
+ f(" " + d(e.ssoLang[this.appLanguage].sign_in_with_new), 1)
5758
5763
  ]),
5759
5764
  Kn
5760
5765
  ])) : (c(), l("div", On, [
5761
- v(u, {
5766
+ v(p, {
5762
5767
  class: "create float-right",
5763
5768
  to: "/verify"
5764
5769
  }, {
5765
5770
  default: j(() => [
5766
- f(p(e.ssoLang[this.appLanguage].verify_account), 1)
5771
+ f(d(e.ssoLang[this.appLanguage].verify_account), 1)
5767
5772
  ]),
5768
5773
  _: 1
5769
5774
  }),
5770
- v(u, {
5775
+ v(p, {
5771
5776
  class: "forgot float-left",
5772
5777
  to: "/login"
5773
5778
  }, {
5774
5779
  default: j(() => [
5775
- f(p(e.ssoLang[this.appLanguage].sign_in), 1)
5780
+ f(d(e.ssoLang[this.appLanguage].sign_in), 1)
5776
5781
  ]),
5777
5782
  _: 1
5778
5783
  }),
@@ -5805,7 +5810,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
5805
5810
  },
5806
5811
  methods: {
5807
5812
  init() {
5808
- this.isLoggedIn ? this.$router.push(this.home) : (this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), d.$emit("ssoEvent", { name: "setLoading", data: !1 }));
5813
+ this.isLoggedIn ? this.$router.push(this.home) : (this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), u.$emit("ssoEvent", { name: "setLoading", data: !1 }));
5809
5814
  },
5810
5815
  async submit() {
5811
5816
  if (this.code.length !== 6)
@@ -5820,13 +5825,13 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
5820
5825
  return !1;
5821
5826
  this.submitted = !0;
5822
5827
  let a = await this.verify(e);
5823
- this.submitted = !1, a && a.data && a.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", d.$emit("closeModal")), await this.loginSetup(a), this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + a.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
5828
+ this.submitted = !1, a && a.data && a.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", u.$emit("closeModal")), await this.loginSetup(a), this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + a.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
5824
5829
  },
5825
5830
  registerAccountModal() {
5826
- d.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
5831
+ u.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
5827
5832
  },
5828
5833
  close() {
5829
- d.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5834
+ u.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5830
5835
  }
5831
5836
  },
5832
5837
  watch: {
@@ -5843,7 +5848,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
5843
5848
  deep: !0
5844
5849
  }
5845
5850
  }
5846
- }, C = (e) => (O("data-v-a80e9eb1"), e = e(), B(), e), Fn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5851
+ }, C = (e) => (O("data-v-af1531aa"), e = e(), B(), e), Fn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5847
5852
  /* @__PURE__ */ t("img", {
5848
5853
  src: "https://cdn.tapni.co/icons/down-arrow.png",
5849
5854
  class: "responsive-image",
@@ -5875,12 +5880,12 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
5875
5880
  }, rt = {
5876
5881
  key: 1,
5877
5882
  class: "button--loading button__loader"
5878
- }, 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 = {
5883
+ }, 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.com?subject=Email Verification" }, " support@tapni.com", -1)), pt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), ut = {
5879
5884
  key: 1,
5880
5885
  class: "page-login-links"
5881
5886
  }, _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));
5882
5887
  function ft(e, a, n, o, i, r) {
5883
- const u = V("router-link");
5888
+ const p = V("router-link");
5884
5889
  return c(), l("form", {
5885
5890
  class: "page-login content-boxed content-boxed-padding",
5886
5891
  onSubmit: a[6] || (a[6] = w((...s) => r.submit && r.submit(...s), ["prevent"])),
@@ -5892,7 +5897,7 @@ function ft(e, a, n, o, i, r) {
5892
5897
  class: "color-black pull-right pointer",
5893
5898
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5894
5899
  }, Qn)) : h("", !0),
5895
- t("h1", Gn, p(e.ssoLang[this.appLanguage].verify_account), 1),
5900
+ t("h1", Gn, d(e.ssoLang[this.appLanguage].verify_account), 1),
5896
5901
  Wn,
5897
5902
  t("div", Xn, [
5898
5903
  Yn,
@@ -5925,7 +5930,7 @@ function ft(e, a, n, o, i, r) {
5925
5930
  tt
5926
5931
  ]),
5927
5932
  t("button", it, [
5928
- i.submitted ? (c(), l("span", rt)) : (c(), l("span", ot, p(e.ssoLang[this.appLanguage].verify_account), 1))
5933
+ i.submitted ? (c(), l("span", rt)) : (c(), l("span", ot, d(e.ssoLang[this.appLanguage].verify_account), 1))
5929
5934
  ]),
5930
5935
  st,
5931
5936
  t("p", ct, [
@@ -5941,27 +5946,27 @@ function ft(e, a, n, o, i, r) {
5941
5946
  onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
5942
5947
  }, [
5943
5948
  t("a", mt, [
5944
- f(p(e.ssoLang[this.appLanguage].or) + " ", 1),
5949
+ f(d(e.ssoLang[this.appLanguage].or) + " ", 1),
5945
5950
  gt,
5946
- f(" " + p(e.ssoLang[this.appLanguage].create_new_account), 1)
5951
+ f(" " + d(e.ssoLang[this.appLanguage].create_new_account), 1)
5947
5952
  ]),
5948
5953
  ht
5949
5954
  ])) : (c(), l("div", ut, [
5950
- v(u, {
5955
+ v(p, {
5951
5956
  class: "create float-right",
5952
5957
  to: "/register"
5953
5958
  }, {
5954
5959
  default: j(() => [
5955
- f(p(e.ssoLang[this.appLanguage].register), 1)
5960
+ f(d(e.ssoLang[this.appLanguage].register), 1)
5956
5961
  ]),
5957
5962
  _: 1
5958
5963
  }),
5959
- v(u, {
5964
+ v(p, {
5960
5965
  class: "forgot float-left",
5961
5966
  to: "/login"
5962
5967
  }, {
5963
5968
  default: j(() => [
5964
- f(p(e.ssoLang[this.appLanguage].sign_in), 1)
5969
+ f(d(e.ssoLang[this.appLanguage].sign_in), 1)
5965
5970
  ]),
5966
5971
  _: 1
5967
5972
  }),
@@ -5969,7 +5974,7 @@ function ft(e, a, n, o, i, r) {
5969
5974
  ]))
5970
5975
  ], 36);
5971
5976
  }
5972
- const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a80e9eb1"]]), vt = {
5977
+ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-af1531aa"]]), vt = {
5973
5978
  name: "AuthReset",
5974
5979
  mixins: [z],
5975
5980
  data() {
@@ -5987,7 +5992,7 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a80e9eb1
5987
5992
  };
5988
5993
  },
5989
5994
  mounted() {
5990
- this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.query.c && (this.code = this.$route.query.c, this.passwordChange = !0), this.$route.query.e && (this.email = this.$route.query.e), d.$emit("ssoEvent", { name: "setLoading", data: !1 });
5995
+ this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.query.c && (this.code = this.$route.query.c, this.passwordChange = !0), this.$route.query.e && (this.email = this.$route.query.e), u.$emit("ssoEvent", { name: "setLoading", data: !1 });
5991
5996
  },
5992
5997
  methods: {
5993
5998
  async resetEmail() {
@@ -6023,7 +6028,7 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a80e9eb1
6023
6028
  this.$storage.verifyEmail = e;
6024
6029
  }
6025
6030
  }
6026
- }, A = (e) => (O("data-v-7eff2bb3"), e = e(), B(), e), kt = {
6031
+ }, A = (e) => (O("data-v-4f85b89a"), e = e(), B(), e), kt = {
6027
6032
  class: "bold no-bottom center-text",
6028
6033
  style: { "margin-top": "63px" }
6029
6034
  }, 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" } }, [
@@ -6079,14 +6084,14 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-a80e9eb1
6079
6084
  class: "button--loading button__loader"
6080
6085
  }, 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"];
6081
6086
  function ei(e, a, n, o, i, r) {
6082
- const u = V("router-link");
6087
+ const p = V("router-link");
6083
6088
  return i.passwordChange ? (c(), l("form", {
6084
6089
  key: 1,
6085
6090
  class: "page-login content-boxed content-boxed-padding",
6086
6091
  onSubmit: a[7] || (a[7] = w((...s) => r.changePw && r.changePw(...s), ["prevent"]))
6087
6092
  }, [
6088
- t("h3", Mt, p(e.ssoLang[this.appLanguage].password_change), 1),
6089
- t("p", Rt, p(e.ssoLang[this.appLanguage].password_new), 1),
6093
+ t("h3", Mt, d(e.ssoLang[this.appLanguage].password_change), 1),
6094
+ t("p", Rt, d(e.ssoLang[this.appLanguage].password_new), 1),
6090
6095
  t("div", Nt, [
6091
6096
  Vt,
6092
6097
  k(t("input", {
@@ -6130,7 +6135,7 @@ function ei(e, a, n, o, i, r) {
6130
6135
  ])
6131
6136
  ]),
6132
6137
  t("button", Qt, [
6133
- i.submitted ? (c(), l("span", Wt)) : (c(), l("span", Gt, p(e.ssoLang[this.appLanguage].password_change), 1))
6138
+ i.submitted ? (c(), l("span", Wt)) : (c(), l("span", Gt, d(e.ssoLang[this.appLanguage].password_change), 1))
6134
6139
  ]),
6135
6140
  Xt,
6136
6141
  t("p", Yt, [
@@ -6139,8 +6144,8 @@ function ei(e, a, n, o, i, r) {
6139
6144
  }, null, 8, Zt),
6140
6145
  f(),
6141
6146
  t("a", {
6142
- href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLanguage].password_reset_t
6143
- }, " support@tapni.co", 8, Jt)
6147
+ href: "mailto:support@tapni.com?subject=" + e.ssoLang[this.appLanguage].password_reset_t
6148
+ }, " support@tapni.com", 8, Jt)
6144
6149
  ])
6145
6150
  ], 32)) : (c(), l("form", {
6146
6151
  key: 0,
@@ -6148,7 +6153,7 @@ function ei(e, a, n, o, i, r) {
6148
6153
  onSubmit: a[2] || (a[2] = w((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
6149
6154
  autocomplete: "on"
6150
6155
  }, [
6151
- t("h3", kt, p(e.ssoLang[this.appLanguage].reset_password), 1),
6156
+ t("h3", kt, d(e.ssoLang[this.appLanguage].reset_password), 1),
6152
6157
  bt,
6153
6158
  t("div", yt, [
6154
6159
  wt,
@@ -6166,7 +6171,7 @@ function ei(e, a, n, o, i, r) {
6166
6171
  Lt
6167
6172
  ]),
6168
6173
  t("button", St, [
6169
- i.submitted ? (c(), l("span", Tt)) : (c(), l("span", Ct, p(e.ssoLang[this.appLanguage].reset_password), 1))
6174
+ i.submitted ? (c(), l("span", Tt)) : (c(), l("span", Ct, d(e.ssoLang[this.appLanguage].reset_password), 1))
6170
6175
  ]),
6171
6176
  jt,
6172
6177
  t("p", Pt, [
@@ -6174,26 +6179,26 @@ function ei(e, a, n, o, i, r) {
6174
6179
  innerHTML: e.ssoLang[this.appLanguage].reset_password_p1
6175
6180
  }, null, 8, At),
6176
6181
  t("a", {
6177
- href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLanguage].password_reset_t
6178
- }, " support@tapni.co", 8, It)
6182
+ href: "mailto:support@tapni.com?subject=" + e.ssoLang[this.appLanguage].password_reset_t
6183
+ }, " support@tapni.com", 8, It)
6179
6184
  ]),
6180
6185
  Et,
6181
6186
  t("div", xt, [
6182
- v(u, {
6187
+ v(p, {
6183
6188
  class: "create float-right",
6184
6189
  to: "/verify"
6185
6190
  }, {
6186
6191
  default: j(() => [
6187
- f(p(e.ssoLang[this.appLanguage].verify_account), 1)
6192
+ f(d(e.ssoLang[this.appLanguage].verify_account), 1)
6188
6193
  ]),
6189
6194
  _: 1
6190
6195
  }),
6191
- v(u, {
6196
+ v(p, {
6192
6197
  class: "forgot float-left",
6193
6198
  to: "/login"
6194
6199
  }, {
6195
6200
  default: j(() => [
6196
- f(p(e.ssoLang[this.appLanguage].sign_in), 1)
6201
+ f(d(e.ssoLang[this.appLanguage].sign_in), 1)
6197
6202
  ]),
6198
6203
  _: 1
6199
6204
  }),
@@ -6201,7 +6206,7 @@ function ei(e, a, n, o, i, r) {
6201
6206
  ])
6202
6207
  ], 32));
6203
6208
  }
6204
- const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-7eff2bb3"]]), ai = {
6209
+ const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-4f85b89a"]]), ai = {
6205
6210
  name: "AuthCallback",
6206
6211
  mixins: [Q, G, z],
6207
6212
  data() {
@@ -6231,15 +6236,15 @@ const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-7eff2bb3
6231
6236
  function oi(e, a, n, o, i, r) {
6232
6237
  return c(), l("div", null, [
6233
6238
  (e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", ni, [
6234
- f(p(e.ssoLang[this.appLanguage].you_will_be_redirected), 1),
6239
+ f(d(e.ssoLang[this.appLanguage].you_will_be_redirected), 1),
6235
6240
  ti,
6236
- f(" " + p(e.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
6241
+ f(" " + d(e.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
6237
6242
  t("span", {
6238
- onClick: a[0] || (a[0] = (...u) => r.inAppRedirect && r.inAppRedirect(...u)),
6243
+ onClick: a[0] || (a[0] = (...p) => r.inAppRedirect && r.inAppRedirect(...p)),
6239
6244
  style: { color: "blue", cursor: "pointer" }
6240
- }, p(e.ssoLang[this.appLanguage].click_here), 1),
6245
+ }, d(e.ssoLang[this.appLanguage].click_here), 1),
6241
6246
  f(".")
6242
- ])) : (c(), l("h4", ii, p(e.ssoLang[this.appLanguage].please_wait), 1))
6247
+ ])) : (c(), l("h4", ii, d(e.ssoLang[this.appLanguage].please_wait), 1))
6243
6248
  ]);
6244
6249
  }
6245
6250
  const ye = /* @__PURE__ */ T(ai, [["render", oi]]), ri = {
@@ -6251,11 +6256,11 @@ const ye = /* @__PURE__ */ T(ai, [["render", oi]]), ri = {
6251
6256
  };
6252
6257
  },
6253
6258
  mounted() {
6254
- d.$on("closeModal", () => {
6259
+ u.$on("closeModal", () => {
6255
6260
  this.toggle = !1, window.document.body.style.overflow = "auto", window.document.body.style.height = "auto";
6256
- }), d.$on("openModalOverlay", () => {
6261
+ }), u.$on("openModalOverlay", () => {
6257
6262
  this.toggle = !0;
6258
- }), d.$on("toggleLanguageModal", this.toggleModal), d.$on("toggleSSOModal", this.toggleModal), d.$on("toggleSSOPickModal", this.toggleModal);
6263
+ }), u.$on("toggleLanguageModal", this.toggleModal), u.$on("toggleSSOModal", this.toggleModal), u.$on("toggleSSOPickModal", this.toggleModal);
6259
6264
  },
6260
6265
  methods: {
6261
6266
  toggleModal(e = !0) {
@@ -6263,14 +6268,14 @@ const ye = /* @__PURE__ */ T(ai, [["render", oi]]), ri = {
6263
6268
  },
6264
6269
  toggleEmit() {
6265
6270
  var e, a;
6266
- !this.isLoggedIn && ((a = (e = this.user) == null ? void 0 : e.lead_form) != null && a.forceFilling) || d.$emit("closeModal");
6271
+ !this.isLoggedIn && ((a = (e = this.user) == null ? void 0 : e.lead_form) != null && a.forceFilling) || u.$emit("closeModal");
6267
6272
  }
6268
6273
  }
6269
6274
  };
6270
6275
  function si(e, a, n, o, i, r) {
6271
6276
  return c(), l("div", {
6272
6277
  class: b({ "pointer delete-menu": !0, "delete-menu-active": i.toggle }),
6273
- onClick: a[0] || (a[0] = (...u) => r.toggleEmit && r.toggleEmit(...u))
6278
+ onClick: a[0] || (a[0] = (...p) => r.toggleEmit && r.toggleEmit(...p))
6274
6279
  }, null, 2);
6275
6280
  }
6276
6281
  const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa"]]), ci = {
@@ -6284,16 +6289,16 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
6284
6289
  };
6285
6290
  },
6286
6291
  mounted() {
6287
- d.$on("toggleSSOModal", this.toggleModal), d.$on("closeModal", () => {
6292
+ u.$on("toggleSSOModal", this.toggleModal), u.$on("closeModal", () => {
6288
6293
  this.toggle = !1;
6289
6294
  });
6290
6295
  },
6291
6296
  beforeDestroy() {
6292
- d._events.toggleSSOModal.pop();
6297
+ u._events.toggleSSOModal.pop();
6293
6298
  },
6294
6299
  methods: {
6295
6300
  forceClose() {
6296
- d.$emit("closeModal");
6301
+ u.$emit("closeModal");
6297
6302
  },
6298
6303
  close() {
6299
6304
  this.toggleModal();
@@ -6305,7 +6310,7 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
6305
6310
  let a;
6306
6311
  if (!(!e || e.error))
6307
6312
  if (a = Object.keys(e.sso), a.length)
6308
- a.length <= 1 ? (a[0] === "azure" && this.microsoftLogin("sso", e.sso.azure.sso), a[0] === "okta" && this.oktaLogin(e.sso.okta.sso), a[0] === "saml" && this.samlLogin(e.sso.saml.sso.loginUrl)) : (this.forceClose(), d.$emit("toggleSSOPickModal", {
6313
+ a.length <= 1 ? (a[0] === "azure" && this.microsoftLogin("sso", e.sso.azure.sso), a[0] === "okta" && this.oktaLogin(e.sso.okta.sso), a[0] === "saml" && this.samlLogin(e.sso.saml.sso.loginUrl)) : (this.forceClose(), u.$emit("toggleSSOPickModal", {
6309
6314
  sso: e.sso,
6310
6315
  email: this.email
6311
6316
  }));
@@ -6334,20 +6339,20 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
6334
6339
  };
6335
6340
  function fi(e, a, n, o, i, r) {
6336
6341
  return c(), l("form", {
6337
- onSubmit: a[3] || (a[3] = w((...u) => r.submit && r.submit(...u), ["prevent"])),
6342
+ onSubmit: a[3] || (a[3] = w((...p) => r.submit && r.submit(...p), ["prevent"])),
6338
6343
  class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
6339
6344
  style: { height: "auto", "margin-top": "-172.5px" }
6340
6345
  }, [
6341
6346
  t("a", {
6342
- onClick: a[0] || (a[0] = (...u) => r.forceClose && r.forceClose(...u)),
6347
+ onClick: a[0] || (a[0] = (...p) => r.forceClose && r.forceClose(...p)),
6343
6348
  class: "color-black pull-right pointer",
6344
6349
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6345
6350
  }, pi),
6346
- t("h3", ui, p(e.ssoLang[e.appLanguage].enter_company_email), 1),
6351
+ t("h3", ui, d(e.ssoLang[e.appLanguage].enter_company_email), 1),
6347
6352
  t("div", null, [
6348
6353
  k(t("input", {
6349
6354
  type: "text",
6350
- "onUpdate:modelValue": a[1] || (a[1] = (u) => i.email = u),
6355
+ "onUpdate:modelValue": a[1] || (a[1] = (p) => i.email = p),
6351
6356
  placeholder: e.ssoLang[this.appLanguage].email,
6352
6357
  autocomplete: "off",
6353
6358
  autocorrect: "off",
@@ -6363,7 +6368,7 @@ function fi(e, a, n, o, i, r) {
6363
6368
  ])
6364
6369
  ]),
6365
6370
  t("button", mi, [
6366
- i.loading ? (c(), l("span", hi)) : (c(), l("span", gi, p(e.ssoLang[e.appLanguage].continue), 1))
6371
+ i.loading ? (c(), l("span", hi)) : (c(), l("span", gi, d(e.ssoLang[e.appLanguage].continue), 1))
6367
6372
  ])
6368
6373
  ], 34);
6369
6374
  }
@@ -6381,16 +6386,16 @@ const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-11f19a09
6381
6386
  };
6382
6387
  },
6383
6388
  mounted() {
6384
- d.$on("toggleSSOPickModal", this.toggleModal), d.$on("closeModal", () => {
6389
+ u.$on("toggleSSOPickModal", this.toggleModal), u.$on("closeModal", () => {
6385
6390
  this.toggle = !1;
6386
6391
  });
6387
6392
  },
6388
6393
  beforeDestroy() {
6389
- d._events.toggleSSOPickModal.pop();
6394
+ u._events.toggleSSOPickModal.pop();
6390
6395
  },
6391
6396
  methods: {
6392
6397
  forceClose() {
6393
- d.$emit("closeModal");
6398
+ u.$emit("closeModal");
6394
6399
  },
6395
6400
  close() {
6396
6401
  this.toggleModal();
@@ -6430,7 +6435,7 @@ const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-11f19a09
6430
6435
  class: "button--loading button__loader"
6431
6436
  };
6432
6437
  function Ii(e, a, n, o, i, r) {
6433
- var u, s, _;
6438
+ var p, s, _;
6434
6439
  return c(), l("form", {
6435
6440
  onSubmit: a[4] || (a[4] = w(() => {
6436
6441
  }, ["prevent"])),
@@ -6442,14 +6447,14 @@ function Ii(e, a, n, o, i, r) {
6442
6447
  class: "color-black pull-right pointer",
6443
6448
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6444
6449
  }, bi),
6445
- t("h3", yi, p(e.ssoLang[e.appLanguage].select_sign_method), 1),
6446
- (u = i.sso) != null && u.azure ? (c(), l("a", {
6450
+ t("h3", yi, d(e.ssoLang[e.appLanguage].select_sign_method), 1),
6451
+ (p = i.sso) != null && p.azure ? (c(), l("a", {
6447
6452
  key: 0,
6448
6453
  onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
6449
6454
  class: "button-center button black-button button-90 google-button pointer"
6450
6455
  }, [
6451
6456
  wi,
6452
- i.azureLoad ? (c(), l("span", Li)) : (c(), l("span", zi, p(e.ssoLang[e.appLanguage].sign_in_with) + " Azure", 1))
6457
+ i.azureLoad ? (c(), l("span", Li)) : (c(), l("span", zi, d(e.ssoLang[e.appLanguage].sign_in_with) + " Azure", 1))
6453
6458
  ])) : h("", !0),
6454
6459
  (s = i.sso) != null && s.okta ? (c(), l("a", {
6455
6460
  key: 1,
@@ -6457,7 +6462,7 @@ function Ii(e, a, n, o, i, r) {
6457
6462
  class: "button-center button black-button button-90 google-button pointer"
6458
6463
  }, [
6459
6464
  Si,
6460
- i.oktaLoad ? (c(), l("span", Ti)) : (c(), l("span", Ci, p(e.ssoLang[e.appLanguage].sign_in_with) + " Okta", 1))
6465
+ i.oktaLoad ? (c(), l("span", Ti)) : (c(), l("span", Ci, d(e.ssoLang[e.appLanguage].sign_in_with) + " Okta", 1))
6461
6466
  ])) : h("", !0),
6462
6467
  (_ = i.sso) != null && _.saml ? (c(), l("a", {
6463
6468
  key: 2,
@@ -6465,7 +6470,7 @@ function Ii(e, a, n, o, i, r) {
6465
6470
  class: "button-center button black-button button-90 google-button pointer"
6466
6471
  }, [
6467
6472
  ji,
6468
- i.samlLoad ? (c(), l("span", Ai)) : (c(), l("span", Pi, p(e.ssoLang[e.appLanguage].sign_in_with) + " SAML", 1))
6473
+ i.samlLoad ? (c(), l("span", Ai)) : (c(), l("span", Pi, d(e.ssoLang[e.appLanguage].sign_in_with) + " SAML", 1))
6469
6474
  ])) : h("", !0)
6470
6475
  ], 34);
6471
6476
  }
@@ -6543,7 +6548,7 @@ const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-4f821f65
6543
6548
  methods: {}
6544
6549
  }, xi = ["src", "alt"], qi = ["src", "alt"], Mi = ["src", "alt"], Ri = ["src", "alt"];
6545
6550
  function Ni(e, a, n, o, i, r) {
6546
- var u, s;
6551
+ var p, s;
6547
6552
  return c(), l("a", {
6548
6553
  class: b(["disable-select", n.linkStyle + (n.disabled ? " opacity-50" : "")]),
6549
6554
  style: R(
@@ -6556,7 +6561,7 @@ function Ni(e, a, n, o, i, r) {
6556
6561
  "pulse pulse-border": n.pulse,
6557
6562
  "link-drag": n.editing
6558
6563
  }),
6559
- style: R({ ...(u = n.customLinkStyle) == null ? void 0 : u.linkIcon })
6564
+ style: R({ ...(p = n.customLinkStyle) == null ? void 0 : p.linkIcon })
6560
6565
  }, [
6561
6566
  !n.data.custom_icon && n.data.type !== "customlink" ? (c(), l("img", {
6562
6567
  key: 0,
@@ -6592,7 +6597,7 @@ function Ni(e, a, n, o, i, r) {
6592
6597
  t("span", {
6593
6598
  class: "link-text link-drag color-black",
6594
6599
  style: R({ color: (s = n.customLinkStyle) == null ? void 0 : s.color })
6595
- }, p(r.linkText), 5)
6600
+ }, d(r.linkText), 5)
6596
6601
  ], 6);
6597
6602
  }
6598
6603
  const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
@@ -6612,24 +6617,24 @@ const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
6612
6617
  };
6613
6618
  },
6614
6619
  async mounted() {
6615
- d.$on("toggleLanguageModal", this.toggleModal), d.$on("closeModal", () => {
6620
+ u.$on("toggleLanguageModal", this.toggleModal), u.$on("closeModal", () => {
6616
6621
  this.toggle = !1;
6617
6622
  });
6618
6623
  let e = this.isNative ? await $.getLanguageCode() : N.getFirstBrowserLanguage();
6619
6624
  e && Oi.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
6620
6625
  },
6621
6626
  beforeDestroy() {
6622
- d._events.toggleLanguageModal.pop();
6627
+ u._events.toggleLanguageModal.pop();
6623
6628
  },
6624
6629
  methods: {
6625
6630
  forceClose() {
6626
- d.$emit("closeModal");
6631
+ u.$emit("closeModal");
6627
6632
  },
6628
6633
  close() {
6629
6634
  this.forceClose();
6630
6635
  },
6631
6636
  async updateLanguage(e) {
6632
- d.$emit("updateLang", e), d.$emit("closeModal");
6637
+ u.$emit("updateLang", e), u.$emit("closeModal");
6633
6638
  },
6634
6639
  toggleModal() {
6635
6640
  this.toggle = !this.toggle;
@@ -6645,7 +6650,7 @@ const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
6645
6650
  Ui
6646
6651
  ], $i = { class: "bold center-text color-black small-bottom" };
6647
6652
  function Hi(e, a, n, o, i, r) {
6648
- const u = V("LinkIcon");
6653
+ const p = V("LinkIcon");
6649
6654
  return c(), l("div", {
6650
6655
  class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": i.toggle }]),
6651
6656
  style: { height: "auto", "max-height": "92vh", "margin-top": "-172.5px" }
@@ -6655,57 +6660,57 @@ function Hi(e, a, n, o, i, r) {
6655
6660
  class: "color-black pull-right pointer",
6656
6661
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6657
6662
  }, Ki),
6658
- t("h3", $i, p(e.ssoLang[e.appLanguage].app_language), 1),
6659
- v(u, {
6663
+ t("h3", $i, d(e.ssoLang[e.appLanguage].app_language), 1),
6664
+ v(p, {
6660
6665
  onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
6661
6666
  "link-style": "link-grid",
6662
6667
  data: { type: "lang/en", text: e.ssoLang[this.appLanguage].english },
6663
6668
  editing: !1,
6664
6669
  class: b({ "add-button": !0 })
6665
6670
  }, null, 8, ["data"]),
6666
- v(u, {
6671
+ v(p, {
6667
6672
  onClick: a[2] || (a[2] = (s) => r.updateLanguage("es")),
6668
6673
  "link-style": "link-grid",
6669
6674
  data: { type: "lang/es", text: e.ssoLang[this.appLanguage].spanish },
6670
6675
  editing: !1,
6671
6676
  class: b({ "add-button": !0 })
6672
6677
  }, null, 8, ["data"]),
6673
- v(u, {
6678
+ v(p, {
6674
6679
  onClick: a[3] || (a[3] = (s) => r.updateLanguage("de")),
6675
6680
  "link-style": "link-grid",
6676
6681
  data: { type: "lang/de", text: e.ssoLang[this.appLanguage].german },
6677
6682
  editing: !1,
6678
6683
  class: b({ "add-button": !0 })
6679
6684
  }, null, 8, ["data"]),
6680
- v(u, {
6685
+ v(p, {
6681
6686
  onClick: a[4] || (a[4] = (s) => r.updateLanguage("it")),
6682
6687
  "link-style": "link-grid",
6683
6688
  data: { type: "lang/it", text: e.ssoLang[this.appLanguage].italian },
6684
6689
  editing: !1,
6685
6690
  class: b({ "add-button": !0 })
6686
6691
  }, null, 8, ["data"]),
6687
- v(u, {
6692
+ v(p, {
6688
6693
  onClick: a[5] || (a[5] = (s) => r.updateLanguage("fr")),
6689
6694
  "link-style": "link-grid",
6690
6695
  data: { type: "lang/fr", text: e.ssoLang[this.appLanguage].french },
6691
6696
  editing: !1,
6692
6697
  class: b({ "add-button": !0 })
6693
6698
  }, null, 8, ["data"]),
6694
- v(u, {
6699
+ v(p, {
6695
6700
  onClick: a[6] || (a[6] = (s) => r.updateLanguage("kr")),
6696
6701
  "link-style": "link-grid",
6697
6702
  data: { type: "lang/kr", text: e.ssoLang[this.appLanguage].korean },
6698
6703
  editing: !1,
6699
6704
  class: b({ "add-button": !0 })
6700
6705
  }, null, 8, ["data"]),
6701
- v(u, {
6706
+ v(p, {
6702
6707
  onClick: a[7] || (a[7] = (s) => r.updateLanguage("sr")),
6703
6708
  "link-style": "link-grid",
6704
6709
  data: { type: "lang/sr", text: e.ssoLang[this.appLanguage].serbian },
6705
6710
  editing: !1,
6706
6711
  class: b({ "add-button": !0 })
6707
6712
  }, null, 8, ["data"]),
6708
- v(u, {
6713
+ v(p, {
6709
6714
  onClick: a[8] || (a[8] = (s) => r.updateLanguage("tr")),
6710
6715
  "link-style": "link-grid",
6711
6716
  data: { type: "lang/tr", text: e.ssoLang[this.appLanguage].turkish },
@@ -6781,7 +6786,7 @@ const Qi = { id: "ssoapp" }, Gi = {
6781
6786
  }
6782
6787
  },
6783
6788
  async mounted() {
6784
- this.applyBgStyle(), d.$on("ssoEvent", this.ssoOutgoingEvent), d.$on("ssoLogout", (e) => this.logout(e)), d.$on("getLoggedInAccounts", (e) => this.getLoggedInAccounts(e)), d.$on("refreshTokenAction", (e) => this.refreshTokenAction(e));
6789
+ this.applyBgStyle(), u.$on("ssoEvent", this.ssoOutgoingEvent), u.$on("ssoLogout", (e) => this.logout(e)), u.$on("getLoggedInAccounts", (e) => this.getLoggedInAccounts(e)), u.$on("refreshTokenAction", (e) => this.refreshTokenAction(e));
6785
6790
  },
6786
6791
  methods: {
6787
6792
  async init() {
@@ -6795,13 +6800,13 @@ const Qi = { id: "ssoapp" }, Gi = {
6795
6800
  this.$emit("ssoEvent", e);
6796
6801
  },
6797
6802
  ssoIncomingEvent(e) {
6798
- d.$emit(e.name, e.data);
6803
+ u.$emit(e.name, e.data);
6799
6804
  },
6800
6805
  applyBgStyle() {
6801
6806
  this.display === "redirect" ? document.getElementsByTagName("html")[0].style = "background: #dfeefe;" : document.getElementsByTagName("html")[0].style = "";
6802
6807
  },
6803
6808
  toggleLanguageModal() {
6804
- d.$emit("toggleLanguageModal", !0);
6809
+ u.$emit("toggleLanguageModal", !0);
6805
6810
  }
6806
6811
  },
6807
6812
  watch: {
@@ -6820,9 +6825,9 @@ const Qi = { id: "ssoapp" }, Gi = {
6820
6825
  key: 1,
6821
6826
  onClick: n[0] || (n[0] = (...o) => a.toggleLanguageModal && a.toggleLanguageModal(...o)),
6822
6827
  class: "font-18 no-border pointer color-black",
6823
- style: { position: "absolute", right: "20px", top: "-10px" }
6828
+ style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
6824
6829
  }, [
6825
- t("span", Yi, p(a.appLanguage.toUpperCase()), 1)
6830
+ t("span", Yi, d(a.appLanguage.toUpperCase()), 1)
6826
6831
  ])) : h("", !0),
6827
6832
  v(we),
6828
6833
  v(Se),
@@ -6840,14 +6845,14 @@ const Qi = { id: "ssoapp" }, Gi = {
6840
6845
  }, 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 })),
6841
6846
  t("div", Zi, [
6842
6847
  t("p", Ji, [
6843
- t("span", eo, p(a.ssoLang[a.appLanguage].error), 1),
6848
+ t("span", eo, d(a.ssoLang[a.appLanguage].error), 1),
6844
6849
  t("a", {
6845
6850
  onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
6846
6851
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
6847
6852
  }, no)
6848
6853
  ]),
6849
6854
  t("p", to, [
6850
- t("span", io, p(a.ssoLang[a.appLanguage].success), 1),
6855
+ t("span", io, d(a.ssoLang[a.appLanguage].success), 1),
6851
6856
  t("a", {
6852
6857
  onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
6853
6858
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }