@tapni/auth 0.0.146 → 0.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +6 -6
- package/dist/{Account-VaMij17P.js → Account-S2F6XqAF.js} +1 -1
- package/dist/{QR-PX1lm_PL.js → QR-uP-Ix6PO.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +6 -6
- package/dist/{install-6j66n8dV.js → install-FJH3_VTq.js} +395 -379
- package/package.json +1 -1
- package/src/mixins/mfa-auth.mixin.js +1 -1
- package/src/store/auth.js +2 -0
- package/src/views/MFA.vue +5 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { reactive as Qr, readonly as Li, resolveComponent as Fn, openBlock as N, createElementBlock as
|
|
1
|
+
import { reactive as Qr, readonly as Li, resolveComponent as Fn, openBlock as N, createElementBlock as x, createElementVNode as _, toDisplayString as Q, createCommentVNode as pe, createVNode as De, withCtx as Gt, createTextVNode as ke, pushScopeId as qn, popScopeId as Kn, createStaticVNode as zi, nextTick as So, withModifiers as Ge, normalizeStyle as xn, withDirectives as Ie, withKeys as fn, vModelText as gn, vModelDynamic as _r, vShow as Jt, createBlock as ht, normalizeClass as Je, vModelCheckbox as xi, watch as Ui, unref as Bi } from "vue";
|
|
2
2
|
import { createRouter as Di, createWebHistory as Hi, RouterView as ji } from "vue-router";
|
|
3
3
|
import { createNamespacedHelpers as Fi, createStore as qi } from "vuex";
|
|
4
4
|
import { Capacitor as Yn, registerPlugin as ar, WebPlugin as Ki } from "@capacitor/core";
|
|
5
|
-
import
|
|
5
|
+
import fe from "await-to-js";
|
|
6
6
|
import co from "axios";
|
|
7
7
|
import { jwtDecode as Wo } from "jwt-decode";
|
|
8
8
|
import { Device as vr } from "@capacitor/device";
|
|
@@ -530,9 +530,9 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
530
530
|
return 0;
|
|
531
531
|
let R = S - b, se = g - d;
|
|
532
532
|
const we = Math.min(R, se), me = this.slice(b, S), be = c.slice(d, g);
|
|
533
|
-
for (let
|
|
534
|
-
if (me[
|
|
535
|
-
R = me[
|
|
533
|
+
for (let he = 0; he < we; ++he)
|
|
534
|
+
if (me[he] !== be[he]) {
|
|
535
|
+
R = me[he], se = be[he];
|
|
536
536
|
break;
|
|
537
537
|
}
|
|
538
538
|
return R < se ? -1 : se < R ? 1 : 0;
|
|
@@ -562,8 +562,8 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
562
562
|
return -1;
|
|
563
563
|
S = 2, R /= 2, se /= 2, d /= 2;
|
|
564
564
|
}
|
|
565
|
-
function we(be,
|
|
566
|
-
return S === 1 ? be[
|
|
565
|
+
function we(be, he) {
|
|
566
|
+
return S === 1 ? be[he] : be.readUInt16BE(he * S);
|
|
567
567
|
}
|
|
568
568
|
let me;
|
|
569
569
|
if (b) {
|
|
@@ -577,8 +577,8 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
577
577
|
} else
|
|
578
578
|
for (d + se > R && (d = R - se), me = d; me >= 0; me--) {
|
|
579
579
|
let be = !0;
|
|
580
|
-
for (let
|
|
581
|
-
if (we(h, me +
|
|
580
|
+
for (let he = 0; he < se; he++)
|
|
581
|
+
if (we(h, me + he) !== we(c, he)) {
|
|
582
582
|
be = !1;
|
|
583
583
|
break;
|
|
584
584
|
}
|
|
@@ -677,19 +677,19 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
677
677
|
const S = h[b];
|
|
678
678
|
let R = null, se = S > 239 ? 4 : S > 223 ? 3 : S > 191 ? 2 : 1;
|
|
679
679
|
if (b + se <= d) {
|
|
680
|
-
let we, me, be,
|
|
680
|
+
let we, me, be, he;
|
|
681
681
|
switch (se) {
|
|
682
682
|
case 1:
|
|
683
683
|
S < 128 && (R = S);
|
|
684
684
|
break;
|
|
685
685
|
case 2:
|
|
686
|
-
we = h[b + 1], (we & 192) === 128 && (
|
|
686
|
+
we = h[b + 1], (we & 192) === 128 && (he = (S & 31) << 6 | we & 63, he > 127 && (R = he));
|
|
687
687
|
break;
|
|
688
688
|
case 3:
|
|
689
|
-
we = h[b + 1], me = h[b + 2], (we & 192) === 128 && (me & 192) === 128 && (
|
|
689
|
+
we = h[b + 1], me = h[b + 2], (we & 192) === 128 && (me & 192) === 128 && (he = (S & 15) << 12 | (we & 63) << 6 | me & 63, he > 2047 && (he < 55296 || he > 57343) && (R = he));
|
|
690
690
|
break;
|
|
691
691
|
case 4:
|
|
692
|
-
we = h[b + 1], me = h[b + 2], be = h[b + 3], (we & 192) === 128 && (me & 192) === 128 && (be & 192) === 128 && (
|
|
692
|
+
we = h[b + 1], me = h[b + 2], be = h[b + 3], (we & 192) === 128 && (me & 192) === 128 && (be & 192) === 128 && (he = (S & 15) << 18 | (we & 63) << 12 | (me & 63) << 6 | be & 63, he > 65535 && he < 1114112 && (R = he));
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
R === null ? (R = 65533, se = 1) : R > 65535 && (R -= 65536, g.push(R >>> 10 & 1023 | 55296), R = 56320 | R & 1023), g.push(R), b += se;
|
|
@@ -1366,7 +1366,7 @@ const aa = {
|
|
|
1366
1366
|
];
|
|
1367
1367
|
function ka(n, e, t, r, o, i) {
|
|
1368
1368
|
const a = Fn("router-link");
|
|
1369
|
-
return N(),
|
|
1369
|
+
return N(), x("div", da, [
|
|
1370
1370
|
_("video", {
|
|
1371
1371
|
id: "tapniVideo",
|
|
1372
1372
|
muted: "",
|
|
@@ -1378,8 +1378,8 @@ function ka(n, e, t, r, o, i) {
|
|
|
1378
1378
|
}, fa, 8, pa),
|
|
1379
1379
|
_("h1", ga, Q(n.ssoLang[this.appLanguage].welcome), 1),
|
|
1380
1380
|
_("p", ma, Q(n.ssoLang[this.appLanguage].welcome_p1), 1),
|
|
1381
|
-
|
|
1382
|
-
|
|
1381
|
+
pe("", !0),
|
|
1382
|
+
pe("", !0),
|
|
1383
1383
|
De(a, {
|
|
1384
1384
|
to: "register",
|
|
1385
1385
|
exact: "",
|
|
@@ -1400,13 +1400,13 @@ function ka(n, e, t, r, o, i) {
|
|
|
1400
1400
|
}),
|
|
1401
1401
|
va
|
|
1402
1402
|
]),
|
|
1403
|
-
this.isNative ?
|
|
1403
|
+
this.isNative ? pe("", !0) : (N(), x("div", ya, ba))
|
|
1404
1404
|
]);
|
|
1405
1405
|
}
|
|
1406
1406
|
const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed484"]]), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1407
1407
|
__proto__: null,
|
|
1408
1408
|
default: po
|
|
1409
|
-
}, Symbol.toStringTag, { value: "Module" })), Ea = "0.0.
|
|
1409
|
+
}, Symbol.toStringTag, { value: "Module" })), Ea = "0.0.150", hr = {
|
|
1410
1410
|
getMe() {
|
|
1411
1411
|
return ce().get("/users/me");
|
|
1412
1412
|
},
|
|
@@ -5547,7 +5547,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5547
5547
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5548
5548
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5549
5549
|
}
|
|
5550
|
-
}, Ao = () => Promise.resolve().then(() => Ca), Sa = () => Promise.resolve().then(() => qc), Ia = () => Promise.resolve().then(() => Ul), Aa = () => Promise.resolve().then(() =>
|
|
5550
|
+
}, Ao = () => Promise.resolve().then(() => Ca), Sa = () => Promise.resolve().then(() => qc), Ia = () => Promise.resolve().then(() => Ul), Aa = () => Promise.resolve().then(() => wd), Ra = () => import("./Account-S2F6XqAF.js"), Pa = () => Promise.resolve().then(() => du), Ma = () => Promise.resolve().then(() => Id), Na = () => import("./QR-uP-Ix6PO.js"), Oa = () => Promise.resolve().then(() => xu), La = [
|
|
5551
5551
|
{
|
|
5552
5552
|
path: "/welcome",
|
|
5553
5553
|
name: "AuthWelcome",
|
|
@@ -5714,7 +5714,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5714
5714
|
},
|
|
5715
5715
|
actions: {
|
|
5716
5716
|
async getAccountSettings({ state: n, commit: e, dispatch: t }) {
|
|
5717
|
-
const [r, o] = await
|
|
5717
|
+
const [r, o] = await fe(
|
|
5718
5718
|
$e.getAccountSettings()
|
|
5719
5719
|
);
|
|
5720
5720
|
if (r)
|
|
@@ -5750,13 +5750,13 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5750
5750
|
document.getElementById("snackbar").classList.remove("show-snack"), document.getElementById("successSnack").classList.remove("active-snack"), document.getElementById("errorSnack").classList.remove("active-snack");
|
|
5751
5751
|
},
|
|
5752
5752
|
async eventLog({ commit: n, dispatch: e }, t) {
|
|
5753
|
-
const [r, o] = await
|
|
5753
|
+
const [r, o] = await fe(
|
|
5754
5754
|
hr.eventLog(t)
|
|
5755
5755
|
);
|
|
5756
5756
|
return r ? e("errorHandler", r) : o;
|
|
5757
5757
|
},
|
|
5758
5758
|
async maintenance({ commit: n }) {
|
|
5759
|
-
const [e, t] = await
|
|
5759
|
+
const [e, t] = await fe(
|
|
5760
5760
|
co.get("https://status.tapni.co/data/maintenance.json")
|
|
5761
5761
|
);
|
|
5762
5762
|
if (e)
|
|
@@ -5775,6 +5775,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5775
5775
|
{
|
|
5776
5776
|
id: t.data.data.id,
|
|
5777
5777
|
username: t.data.data.username,
|
|
5778
|
+
name: t.data.data.name,
|
|
5778
5779
|
refreshToken: t.data.refreshToken,
|
|
5779
5780
|
photo: t.data.data.photo
|
|
5780
5781
|
}
|
|
@@ -5791,7 +5792,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5791
5792
|
if (e.refreshing)
|
|
5792
5793
|
return null;
|
|
5793
5794
|
e.refreshing = !0;
|
|
5794
|
-
const [o, i] = await
|
|
5795
|
+
const [o, i] = await fe(
|
|
5795
5796
|
$e.refreshToken({
|
|
5796
5797
|
id: r.id,
|
|
5797
5798
|
refreshToken: t.refreshTokens[0],
|
|
@@ -5803,7 +5804,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5803
5804
|
i && i.data && n("setToken", i.data.token), e.refreshing = !1;
|
|
5804
5805
|
},
|
|
5805
5806
|
async login({ commit: n, state: e, dispatch: t }, r) {
|
|
5806
|
-
const [o, i] = await
|
|
5807
|
+
const [o, i] = await fe($e.login(r));
|
|
5807
5808
|
if (o)
|
|
5808
5809
|
return t("errorHandler", o);
|
|
5809
5810
|
if (i.data.success)
|
|
@@ -5824,6 +5825,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5824
5825
|
{
|
|
5825
5826
|
id: o.data.data.id,
|
|
5826
5827
|
username: o.data.data.username,
|
|
5828
|
+
name: o.data.data.name,
|
|
5827
5829
|
refreshToken: o.data.refreshToken,
|
|
5828
5830
|
photo: o.data.data.photo
|
|
5829
5831
|
}
|
|
@@ -5832,17 +5834,17 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5832
5834
|
}, 1500)), q.$emit("ssoEvent", { name: "redirect", data: "/" + o.data.data.username + "#edit" }));
|
|
5833
5835
|
},
|
|
5834
5836
|
async register({ commit: n, dispatch: e }, t) {
|
|
5835
|
-
const [r, o] = await
|
|
5837
|
+
const [r, o] = await fe(
|
|
5836
5838
|
$e.register(t)
|
|
5837
5839
|
);
|
|
5838
5840
|
return r ? e("errorHandler", r) : o;
|
|
5839
5841
|
},
|
|
5840
5842
|
async verify({ commit: n, dispatch: e }, t) {
|
|
5841
|
-
const [r, o] = await
|
|
5843
|
+
const [r, o] = await fe($e.verify(t));
|
|
5842
5844
|
return r ? e("errorHandler", r) : o;
|
|
5843
5845
|
},
|
|
5844
5846
|
async reset({ commit: n, state: e, getters: t, dispatch: r }, o) {
|
|
5845
|
-
const [i, a] = await
|
|
5847
|
+
const [i, a] = await fe(
|
|
5846
5848
|
$e.sendResetEmail(o)
|
|
5847
5849
|
);
|
|
5848
5850
|
if (i)
|
|
@@ -5850,25 +5852,25 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5850
5852
|
a.data.success && r("successSnack", e.ssoLang[t.appLanguage].password_reset_success);
|
|
5851
5853
|
},
|
|
5852
5854
|
async exchangeAuthCode({ commit: n, dispatch: e }, t) {
|
|
5853
|
-
const [r, o] = await
|
|
5855
|
+
const [r, o] = await fe($e.exchangeAuthCode(t));
|
|
5854
5856
|
if (r)
|
|
5855
5857
|
return e("errorHandler", r);
|
|
5856
5858
|
await e("loginSetup", o), await e("getLoggedInAccounts"), e("loginSuccess", o);
|
|
5857
5859
|
},
|
|
5858
5860
|
async changePassword({ commit: n, dispatch: e }, t) {
|
|
5859
|
-
const [r, o] = await
|
|
5861
|
+
const [r, o] = await fe(
|
|
5860
5862
|
$e.changePassword(t)
|
|
5861
5863
|
);
|
|
5862
5864
|
return r ? e("errorHandler", r) : o.data.success;
|
|
5863
5865
|
},
|
|
5864
5866
|
async newPassword({ commit: n, dispatch: e }, t) {
|
|
5865
|
-
const [r, o] = await
|
|
5867
|
+
const [r, o] = await fe(
|
|
5866
5868
|
hr.newPassword(t)
|
|
5867
5869
|
);
|
|
5868
5870
|
return r ? e("errorHandler", r) : o.data.success;
|
|
5869
5871
|
},
|
|
5870
5872
|
async deleteAccount({ commit: n, dispatch: e }, t) {
|
|
5871
|
-
const [r, o] = await
|
|
5873
|
+
const [r, o] = await fe(
|
|
5872
5874
|
hr.deleteAccount(t)
|
|
5873
5875
|
);
|
|
5874
5876
|
return r ? e("errorHandler", r) : o.data.success;
|
|
@@ -5887,19 +5889,19 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5887
5889
|
webViewVersion: r.webViewVersion
|
|
5888
5890
|
}
|
|
5889
5891
|
};
|
|
5890
|
-
const [i, a] = await
|
|
5892
|
+
const [i, a] = await fe(
|
|
5891
5893
|
Io.registerDevice(o)
|
|
5892
5894
|
);
|
|
5893
5895
|
return i ? e("errorHandler", i) : a;
|
|
5894
5896
|
},
|
|
5895
5897
|
async addFcmToken({ commit: n, dispatch: e }, t) {
|
|
5896
|
-
const [r, o] = await
|
|
5898
|
+
const [r, o] = await fe(
|
|
5897
5899
|
Io.addFcmToken(t)
|
|
5898
5900
|
);
|
|
5899
5901
|
return r ? e("errorHandler", r) : o;
|
|
5900
5902
|
},
|
|
5901
5903
|
async acceptCompanyInvitation({ commit: n, dispatch: e }, t) {
|
|
5902
|
-
const [r, o] = await
|
|
5904
|
+
const [r, o] = await fe(
|
|
5903
5905
|
$r.acceptCompanyInvitation(t)
|
|
5904
5906
|
);
|
|
5905
5907
|
return r ? e("errorHandler", r) : o;
|
|
@@ -5914,7 +5916,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5914
5916
|
});
|
|
5915
5917
|
},
|
|
5916
5918
|
async getCompanyBySSOEmail({ commit: n, dispatch: e }, t) {
|
|
5917
|
-
const [r, o] = await
|
|
5919
|
+
const [r, o] = await fe(
|
|
5918
5920
|
$r.getBySSOEmail(t.email)
|
|
5919
5921
|
);
|
|
5920
5922
|
if (r)
|
|
@@ -5924,7 +5926,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5924
5926
|
},
|
|
5925
5927
|
async getLoggedInAccounts({ commit: n, state: e, getters: t, dispatch: r }, o) {
|
|
5926
5928
|
if (t.refreshTokens && t.refreshTokens.length >= 1) {
|
|
5927
|
-
const [i, a] = await
|
|
5929
|
+
const [i, a] = await fe(
|
|
5928
5930
|
$e.getLoggedInAccounts({ refreshTokens: t.refreshTokens })
|
|
5929
5931
|
);
|
|
5930
5932
|
if (i)
|
|
@@ -5933,7 +5935,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5933
5935
|
}
|
|
5934
5936
|
},
|
|
5935
5937
|
async loginUsingQR({ commit: n, dispatch: e }, t) {
|
|
5936
|
-
const [r, o] = await
|
|
5938
|
+
const [r, o] = await fe(
|
|
5937
5939
|
hr.loginUsingQR(t)
|
|
5938
5940
|
);
|
|
5939
5941
|
return r ? e("errorHandler", r) : o.data.success;
|
|
@@ -6112,12 +6114,12 @@ const $e = {
|
|
|
6112
6114
|
async googleLogin() {
|
|
6113
6115
|
var t;
|
|
6114
6116
|
this.googleLoad = !0;
|
|
6115
|
-
let [n, e] = await
|
|
6117
|
+
let [n, e] = await fe(Ro.signIn());
|
|
6116
6118
|
if (n)
|
|
6117
6119
|
return this.googleLoad = !1;
|
|
6118
6120
|
if (this.referral && (e.ref = this.referral), e.authentication && (e.authentication.accessToken || e.authentication.idToken)) {
|
|
6119
6121
|
this.referral && (e.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6120
|
-
const [r, o] = await
|
|
6122
|
+
const [r, o] = await fe($e.googleSDK(e, this.$storex));
|
|
6121
6123
|
if (r)
|
|
6122
6124
|
return this.googleLoad = !1, q.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6123
6125
|
if (o.data.success) {
|
|
@@ -6168,11 +6170,11 @@ const pi = {
|
|
|
6168
6170
|
async facebookLogin() {
|
|
6169
6171
|
var r;
|
|
6170
6172
|
this.facebookLoad = !0;
|
|
6171
|
-
const n = ["email"], [e, t] = await
|
|
6173
|
+
const n = ["email"], [e, t] = await fe(xa.login({ permissions: n }));
|
|
6172
6174
|
if (e)
|
|
6173
6175
|
return this.facebookLoad = !1;
|
|
6174
6176
|
if (this.referral && (t.ref = this.referral), this.display === "popup" && (t.response_type = "code"), t && t.accessToken) {
|
|
6175
|
-
const [o, i] = await
|
|
6177
|
+
const [o, i] = await fe($e.facebookSDK(t, this.$storex));
|
|
6176
6178
|
if (o)
|
|
6177
6179
|
return this.facebookLoad = !1, q.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
|
|
6178
6180
|
if (i.data.success) {
|
|
@@ -6204,7 +6206,7 @@ const pi = {
|
|
|
6204
6206
|
async appleLogin() {
|
|
6205
6207
|
var t;
|
|
6206
6208
|
this.appleLoad = !0;
|
|
6207
|
-
const [n, e] = await
|
|
6209
|
+
const [n, e] = await fe(Ua.authorize({
|
|
6208
6210
|
clientId: "co.tapni.applelogin",
|
|
6209
6211
|
redirectURI: "https://" + window.location.host + "/login",
|
|
6210
6212
|
scopes: "email name"
|
|
@@ -6213,7 +6215,7 @@ const pi = {
|
|
|
6213
6215
|
return this.appleLoad = !1;
|
|
6214
6216
|
if (e.response.tokenData = Wo(e.response.identityToken), e && e.response && e.response.identityToken) {
|
|
6215
6217
|
this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6216
|
-
const [r, o] = await
|
|
6218
|
+
const [r, o] = await fe($e.appleSDK(e.response, this.$storex));
|
|
6217
6219
|
if (r)
|
|
6218
6220
|
return this.appleLoad = !1, q.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(r);
|
|
6219
6221
|
if (o.data.success) {
|
|
@@ -10349,7 +10351,7 @@ var Do = (
|
|
|
10349
10351
|
}(yi)
|
|
10350
10352
|
);
|
|
10351
10353
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10352
|
-
var
|
|
10354
|
+
var U = {
|
|
10353
10355
|
pkceNotGenerated: {
|
|
10354
10356
|
code: "pkce_not_created",
|
|
10355
10357
|
desc: "The PKCE code challenge and verifier could not be generated."
|
|
@@ -10539,96 +10541,96 @@ var x = {
|
|
|
10539
10541
|
return Object.setPrototypeOf(o, e.prototype), o.name = "BrowserAuthError", o;
|
|
10540
10542
|
}
|
|
10541
10543
|
return e.createPkceNotGeneratedError = function(t) {
|
|
10542
|
-
return new e(
|
|
10544
|
+
return new e(U.pkceNotGenerated.code, U.pkceNotGenerated.desc + " Detail:" + t);
|
|
10543
10545
|
}, e.createCryptoNotAvailableError = function(t) {
|
|
10544
|
-
return new e(
|
|
10546
|
+
return new e(U.cryptoDoesNotExist.code, U.cryptoDoesNotExist.desc + " Detail:" + t);
|
|
10545
10547
|
}, e.createHttpMethodNotImplementedError = function(t) {
|
|
10546
|
-
return new e(
|
|
10548
|
+
return new e(U.httpMethodNotImplementedError.code, U.httpMethodNotImplementedError.desc + " Given Method: " + t);
|
|
10547
10549
|
}, e.createEmptyNavigationUriError = function() {
|
|
10548
|
-
return new e(
|
|
10550
|
+
return new e(U.emptyNavigateUriError.code, U.emptyNavigateUriError.desc);
|
|
10549
10551
|
}, e.createEmptyHashError = function(t) {
|
|
10550
|
-
return new e(
|
|
10552
|
+
return new e(U.hashEmptyError.code, U.hashEmptyError.desc + " Given Url: " + t);
|
|
10551
10553
|
}, e.createHashDoesNotContainStateError = function() {
|
|
10552
|
-
return new e(
|
|
10554
|
+
return new e(U.hashDoesNotContainStateError.code, U.hashDoesNotContainStateError.desc);
|
|
10553
10555
|
}, e.createHashDoesNotContainKnownPropertiesError = function() {
|
|
10554
|
-
return new e(
|
|
10556
|
+
return new e(U.hashDoesNotContainKnownPropertiesError.code, U.hashDoesNotContainKnownPropertiesError.desc);
|
|
10555
10557
|
}, e.createUnableToParseStateError = function() {
|
|
10556
|
-
return new e(
|
|
10558
|
+
return new e(U.unableToParseStateError.code, U.unableToParseStateError.desc);
|
|
10557
10559
|
}, e.createStateInteractionTypeMismatchError = function() {
|
|
10558
|
-
return new e(
|
|
10560
|
+
return new e(U.stateInteractionTypeMismatchError.code, U.stateInteractionTypeMismatchError.desc);
|
|
10559
10561
|
}, e.createInteractionInProgressError = function() {
|
|
10560
|
-
return new e(
|
|
10562
|
+
return new e(U.interactionInProgress.code, U.interactionInProgress.desc);
|
|
10561
10563
|
}, e.createPopupWindowError = function(t) {
|
|
10562
|
-
var r =
|
|
10563
|
-
return r = V.isEmpty(t) ? r : r + " Details: " + t, new e(
|
|
10564
|
+
var r = U.popupWindowError.desc;
|
|
10565
|
+
return r = V.isEmpty(t) ? r : r + " Details: " + t, new e(U.popupWindowError.code, r);
|
|
10564
10566
|
}, e.createEmptyWindowCreatedError = function() {
|
|
10565
|
-
return new e(
|
|
10567
|
+
return new e(U.emptyWindowError.code, U.emptyWindowError.desc);
|
|
10566
10568
|
}, e.createUserCancelledError = function() {
|
|
10567
|
-
return new e(
|
|
10569
|
+
return new e(U.userCancelledError.code, U.userCancelledError.desc);
|
|
10568
10570
|
}, e.createMonitorPopupTimeoutError = function() {
|
|
10569
|
-
return new e(
|
|
10571
|
+
return new e(U.monitorPopupTimeoutError.code, U.monitorPopupTimeoutError.desc);
|
|
10570
10572
|
}, e.createMonitorIframeTimeoutError = function() {
|
|
10571
|
-
return new e(
|
|
10573
|
+
return new e(U.monitorIframeTimeoutError.code, U.monitorIframeTimeoutError.desc);
|
|
10572
10574
|
}, e.createRedirectInIframeError = function(t) {
|
|
10573
|
-
return new e(
|
|
10575
|
+
return new e(U.redirectInIframeError.code, U.redirectInIframeError.desc + " (window.parent !== window) => " + t);
|
|
10574
10576
|
}, e.createBlockReloadInHiddenIframeError = function() {
|
|
10575
|
-
return new e(
|
|
10577
|
+
return new e(U.blockTokenRequestsInHiddenIframeError.code, U.blockTokenRequestsInHiddenIframeError.desc);
|
|
10576
10578
|
}, e.createBlockAcquireTokenInPopupsError = function() {
|
|
10577
|
-
return new e(
|
|
10579
|
+
return new e(U.blockAcquireTokenInPopupsError.code, U.blockAcquireTokenInPopupsError.desc);
|
|
10578
10580
|
}, e.createIframeClosedPrematurelyError = function() {
|
|
10579
|
-
return new e(
|
|
10581
|
+
return new e(U.iframeClosedPrematurelyError.code, U.iframeClosedPrematurelyError.desc);
|
|
10580
10582
|
}, e.createSilentLogoutUnsupportedError = function() {
|
|
10581
|
-
return new e(
|
|
10583
|
+
return new e(U.silentLogoutUnsupportedError.code, U.silentLogoutUnsupportedError.desc);
|
|
10582
10584
|
}, e.createNoAccountError = function() {
|
|
10583
|
-
return new e(
|
|
10585
|
+
return new e(U.noAccountError.code, U.noAccountError.desc);
|
|
10584
10586
|
}, e.createSilentPromptValueError = function(t) {
|
|
10585
|
-
return new e(
|
|
10587
|
+
return new e(U.silentPromptValueError.code, U.silentPromptValueError.desc + " Given value: " + t);
|
|
10586
10588
|
}, e.createUnableToParseTokenRequestCacheError = function() {
|
|
10587
|
-
return new e(
|
|
10589
|
+
return new e(U.unableToParseTokenRequestCacheError.code, U.unableToParseTokenRequestCacheError.desc);
|
|
10588
10590
|
}, e.createNoTokenRequestCacheError = function() {
|
|
10589
|
-
return new e(
|
|
10591
|
+
return new e(U.noTokenRequestCacheError.code, U.noTokenRequestCacheError.desc);
|
|
10590
10592
|
}, e.createAuthRequestNotSetError = function() {
|
|
10591
|
-
return new e(
|
|
10593
|
+
return new e(U.authRequestNotSet.code, U.authRequestNotSet.desc);
|
|
10592
10594
|
}, e.createNoCachedAuthorityError = function() {
|
|
10593
|
-
return new e(
|
|
10595
|
+
return new e(U.noCachedAuthorityError.code, U.noCachedAuthorityError.desc);
|
|
10594
10596
|
}, e.createInvalidCacheTypeError = function() {
|
|
10595
|
-
return new e(
|
|
10597
|
+
return new e(U.invalidCacheType.code, "" + U.invalidCacheType.desc);
|
|
10596
10598
|
}, e.createNonBrowserEnvironmentError = function() {
|
|
10597
|
-
return new e(
|
|
10599
|
+
return new e(U.notInBrowserEnvironment.code, U.notInBrowserEnvironment.desc);
|
|
10598
10600
|
}, e.createDatabaseNotOpenError = function() {
|
|
10599
|
-
return new e(
|
|
10601
|
+
return new e(U.databaseNotOpen.code, U.databaseNotOpen.desc);
|
|
10600
10602
|
}, e.createNoNetworkConnectivityError = function() {
|
|
10601
|
-
return new e(
|
|
10603
|
+
return new e(U.noNetworkConnectivity.code, U.noNetworkConnectivity.desc);
|
|
10602
10604
|
}, e.createPostRequestFailedError = function(t, r) {
|
|
10603
|
-
return new e(
|
|
10605
|
+
return new e(U.postRequestFailed.code, U.postRequestFailed.desc + " | Network client threw: " + t + " | Attempted to reach: " + r.split("?")[0]);
|
|
10604
10606
|
}, e.createGetRequestFailedError = function(t, r) {
|
|
10605
|
-
return new e(
|
|
10607
|
+
return new e(U.getRequestFailed.code, U.getRequestFailed.desc + " | Network client threw: " + t + " | Attempted to reach: " + r.split("?")[0]);
|
|
10606
10608
|
}, e.createFailedToParseNetworkResponseError = function(t) {
|
|
10607
|
-
return new e(
|
|
10609
|
+
return new e(U.failedToParseNetworkResponse.code, U.failedToParseNetworkResponse.desc + " | Attempted to reach: " + t.split("?")[0]);
|
|
10608
10610
|
}, e.createUnableToLoadTokenError = function(t) {
|
|
10609
|
-
return new e(
|
|
10611
|
+
return new e(U.unableToLoadTokenError.code, U.unableToLoadTokenError.desc + " | " + t);
|
|
10610
10612
|
}, e.createSigningKeyNotFoundInStorageError = function(t) {
|
|
10611
|
-
return new e(
|
|
10613
|
+
return new e(U.signingKeyNotFoundInStorage.code, U.signingKeyNotFoundInStorage.desc + " | No match found for KeyId: " + t);
|
|
10612
10614
|
}, e.createAuthCodeRequiredError = function() {
|
|
10613
|
-
return new e(
|
|
10615
|
+
return new e(U.authCodeRequired.code, U.authCodeRequired.desc);
|
|
10614
10616
|
}, e.createAuthCodeOrNativeAccountIdRequiredError = function() {
|
|
10615
|
-
return new e(
|
|
10617
|
+
return new e(U.authCodeOrNativeAccountRequired.code, U.authCodeOrNativeAccountRequired.desc);
|
|
10616
10618
|
}, e.createSpaCodeAndNativeAccountIdPresentError = function() {
|
|
10617
|
-
return new e(
|
|
10619
|
+
return new e(U.spaCodeAndNativeAccountPresent.code, U.spaCodeAndNativeAccountPresent.desc);
|
|
10618
10620
|
}, e.createDatabaseUnavailableError = function() {
|
|
10619
|
-
return new e(
|
|
10621
|
+
return new e(U.databaseUnavailable.code, U.databaseUnavailable.desc);
|
|
10620
10622
|
}, e.createUnableToAcquireTokenFromNativePlatformError = function() {
|
|
10621
|
-
return new e(
|
|
10623
|
+
return new e(U.unableToAcquireTokenFromNativePlatform.code, U.unableToAcquireTokenFromNativePlatform.desc);
|
|
10622
10624
|
}, e.createNativeHandshakeTimeoutError = function() {
|
|
10623
|
-
return new e(
|
|
10625
|
+
return new e(U.nativeHandshakeTimeout.code, U.nativeHandshakeTimeout.desc);
|
|
10624
10626
|
}, e.createNativeExtensionNotInstalledError = function() {
|
|
10625
|
-
return new e(
|
|
10627
|
+
return new e(U.nativeExtensionNotInstalled.code, U.nativeExtensionNotInstalled.desc);
|
|
10626
10628
|
}, e.createNativeConnectionNotEstablishedError = function() {
|
|
10627
|
-
return new e(
|
|
10629
|
+
return new e(U.nativeConnectionNotEstablished.code, U.nativeConnectionNotEstablished.desc);
|
|
10628
10630
|
}, e.createNativeBrokerCalledBeforeInitialize = function() {
|
|
10629
|
-
return new e(
|
|
10631
|
+
return new e(U.nativeBrokerCalledBeforeInitialize.code, U.nativeBrokerCalledBeforeInitialize.desc);
|
|
10630
10632
|
}, e.createNativePromptParameterNotSupportedError = function() {
|
|
10631
|
-
return new e(
|
|
10633
|
+
return new e(U.nativePromptNotSupported.code, U.nativePromptNotSupported.desc);
|
|
10632
10634
|
}, e;
|
|
10633
10635
|
}(X)
|
|
10634
10636
|
);
|
|
@@ -11899,7 +11901,7 @@ var yo = (
|
|
|
11899
11901
|
try {
|
|
11900
11902
|
s = this.authModule.handleFragmentResponse(e, a);
|
|
11901
11903
|
} catch (p) {
|
|
11902
|
-
throw p instanceof In && p.subError ===
|
|
11904
|
+
throw p instanceof In && p.subError === U.userCancelledError.code ? F.createUserCancelledError() : p;
|
|
11903
11905
|
}
|
|
11904
11906
|
return this.performanceClient.setPreQueueTime(A.HandleCodeResponseFromServer, this.authCodeRequest.correlationId), [2, this.handleCodeResponseFromServer(s, t, r, o)];
|
|
11905
11907
|
});
|
|
@@ -12013,7 +12015,7 @@ var Ko = (
|
|
|
12013
12015
|
try {
|
|
12014
12016
|
u = this.authModule.handleFragmentResponse(t, s);
|
|
12015
12017
|
} catch (E) {
|
|
12016
|
-
throw E instanceof In && E.subError ===
|
|
12018
|
+
throw E instanceof In && E.subError === U.userCancelledError.code ? F.createUserCancelledError() : E;
|
|
12017
12019
|
}
|
|
12018
12020
|
return p = this.browserStorage.generateNonceKey(s), l = this.browserStorage.getTemporaryCache(p), this.authCodeRequest.code = u.code, u.cloud_instance_host_name ? [4, this.updateTokenEndpointAuthority(u.cloud_instance_host_name, o, i)] : [3, 2];
|
|
12019
12021
|
case 1:
|
|
@@ -12112,7 +12114,7 @@ var ki = (
|
|
|
12112
12114
|
fromCache: !0
|
|
12113
12115
|
}), [2, a];
|
|
12114
12116
|
case 4:
|
|
12115
|
-
throw s = u.sent(), s instanceof F && s.errorCode ===
|
|
12117
|
+
throw s = u.sent(), s instanceof F && s.errorCode === U.signingKeyNotFoundInStorage.code && this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."), r.endMeasurement({
|
|
12116
12118
|
errorCode: s instanceof X && s.errorCode || void 0,
|
|
12117
12119
|
subErrorCode: s instanceof X && s.subError || void 0,
|
|
12118
12120
|
success: !1
|
|
@@ -13883,7 +13885,7 @@ var Vo = (
|
|
|
13883
13885
|
this.inMemoryCache = new io(), this.indexedDBCache = new Ls(), this.logger = e, this.storeName = t;
|
|
13884
13886
|
}
|
|
13885
13887
|
return n.prototype.handleDatabaseAccessError = function(e) {
|
|
13886
|
-
if (e instanceof F && e.errorCode ===
|
|
13888
|
+
if (e instanceof F && e.errorCode === U.databaseUnavailable.code)
|
|
13887
13889
|
this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.");
|
|
13888
13890
|
else
|
|
13889
13891
|
throw e;
|
|
@@ -15029,7 +15031,7 @@ const Ks = ar("MsAuthPlugin", {
|
|
|
15029
15031
|
async microsoftLogin(n, e = {}) {
|
|
15030
15032
|
var o;
|
|
15031
15033
|
n === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0;
|
|
15032
|
-
const [t, r] = await
|
|
15034
|
+
const [t, r] = await fe(
|
|
15033
15035
|
Ks.login({
|
|
15034
15036
|
clientId: n === "sso" ? e.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
|
|
15035
15037
|
tenant: n === "sso" ? e.tenant : "consumers",
|
|
@@ -15043,7 +15045,7 @@ const Ks = ar("MsAuthPlugin", {
|
|
|
15043
15045
|
if (t)
|
|
15044
15046
|
return console.log("Error: " + JSON.stringify(t)), this.microsoftLoad = !1;
|
|
15045
15047
|
if (this.referral && (r.ref = this.referral), this.display === "popup" && (r.response_type = "code"), r && (r.accessToken || r.idToken)) {
|
|
15046
|
-
const [i, a] = await
|
|
15048
|
+
const [i, a] = await fe(
|
|
15047
15049
|
$e.microsoftSDK(r, this.$storex)
|
|
15048
15050
|
);
|
|
15049
15051
|
if (i)
|
|
@@ -15170,12 +15172,12 @@ const Ks = ar("MsAuthPlugin", {
|
|
|
15170
15172
|
methods: {
|
|
15171
15173
|
async exchangeCode(n) {
|
|
15172
15174
|
var o, i;
|
|
15173
|
-
let [e, t] = await
|
|
15175
|
+
let [e, t] = await fe(co.post(n.domain + "/v1/token", new URLSearchParams({ code: n.code, client_id: n.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") })));
|
|
15174
15176
|
if (e)
|
|
15175
15177
|
return this.errorHandler(e);
|
|
15176
15178
|
localStorage.removeItem("pkce_code_verifier");
|
|
15177
15179
|
let r = { accessToken: (o = t.data) == null ? void 0 : o.access_token, domain: n.domain };
|
|
15178
|
-
if (this.display === "popup" && (r.response_type = "code"), [e, t] = await
|
|
15180
|
+
if (this.display === "popup" && (r.response_type = "code"), [e, t] = await fe($e.oktaSDK(r, this.$storex)), e)
|
|
15179
15181
|
return this.oktaLoad = !1, q.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
15180
15182
|
if (t.data.success) {
|
|
15181
15183
|
if (this.display === "popup")
|
|
@@ -15599,8 +15601,8 @@ var Ii = { exports: {} };
|
|
|
15599
15601
|
if (je < 16)
|
|
15600
15602
|
var ze = vt.high = 0 | j[K + 2 * je], dt = vt.low = 0 | j[K + 2 * je + 1];
|
|
15601
15603
|
else {
|
|
15602
|
-
var yn = E[je - 15], Fe = yn.high, Ut = yn.low, h = (Fe >>> 1 | Ut << 31) ^ (Fe >>> 8 | Ut << 24) ^ Fe >>> 7, c = (Ut >>> 1 | Fe << 31) ^ (Ut >>> 8 | Fe << 24) ^ (Ut >>> 7 | Fe << 25), d = E[je - 2], g = d.high, b = d.low, S = (g >>> 19 | b << 13) ^ (g << 3 | b >>> 29) ^ g >>> 6, R = (b >>> 19 | g << 13) ^ (b << 3 | g >>> 29) ^ (b >>> 6 | g << 26), se = E[je - 7], we = se.high, me = se.low, be = E[je - 16],
|
|
15603
|
-
ze = (ze = (ze = h + we + ((dt = c + me) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((dt += R) >>> 0 < R >>> 0 ? 1 : 0)) +
|
|
15604
|
+
var yn = E[je - 15], Fe = yn.high, Ut = yn.low, h = (Fe >>> 1 | Ut << 31) ^ (Fe >>> 8 | Ut << 24) ^ Fe >>> 7, c = (Ut >>> 1 | Fe << 31) ^ (Ut >>> 8 | Fe << 24) ^ (Ut >>> 7 | Fe << 25), d = E[je - 2], g = d.high, b = d.low, S = (g >>> 19 | b << 13) ^ (g << 3 | b >>> 29) ^ g >>> 6, R = (b >>> 19 | g << 13) ^ (b << 3 | g >>> 29) ^ (b >>> 6 | g << 26), se = E[je - 7], we = se.high, me = se.low, be = E[je - 16], he = be.high, cr = be.low;
|
|
15605
|
+
ze = (ze = (ze = h + we + ((dt = c + me) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((dt += R) >>> 0 < R >>> 0 ? 1 : 0)) + he + ((dt += cr) >>> 0 < cr >>> 0 ? 1 : 0), vt.high = ze, vt.low = dt;
|
|
15604
15606
|
}
|
|
15605
15607
|
var St, Br = Ye & ut ^ ~Ye & xt, lr = Pe & zt ^ ~Pe & _t, Dr = He & Ot ^ He & et ^ Ot & et, Hr = Le & Et ^ Le & lt ^ Et & lt, ur = (He >>> 28 | Le << 4) ^ (He << 30 | Le >>> 2) ^ (He << 25 | Le >>> 7), dr = (Le >>> 28 | He << 4) ^ (Le << 30 | He >>> 2) ^ (Le << 25 | He >>> 7), jr = (Ye >>> 14 | Pe << 18) ^ (Ye >>> 18 | Pe << 14) ^ (Ye << 23 | Pe >>> 9), Fr = (Pe >>> 14 | Ye << 18) ^ (Pe >>> 18 | Ye << 14) ^ (Pe << 23 | Ye >>> 9), v = k[je], y = v.high, C = v.low, I = vn + jr + ((St = Tt + Fr) >>> 0 < Tt >>> 0 ? 1 : 0), M = dr + Hr;
|
|
15606
15608
|
vn = xt, Tt = _t, xt = ut, _t = zt, ut = Ye, zt = Pe, Ye = Wt + (I = (I = (I = I + Br + ((St += lr) >>> 0 < lr >>> 0 ? 1 : 0)) + y + ((St += C) >>> 0 < C >>> 0 ? 1 : 0)) + ze + ((St += dt) >>> 0 < dt >>> 0 ? 1 : 0)) + ((Pe = Lt + St | 0) >>> 0 < Lt >>> 0 ? 1 : 0) | 0, Wt = et, Lt = lt, et = Ot, lt = Et, Ot = He, Et = Le, He = I + (ur + Dr + (M >>> 0 < dr >>> 0 ? 1 : 0)) + ((Le = St + M | 0) >>> 0 < St >>> 0 ? 1 : 0) | 0;
|
|
@@ -16091,7 +16093,7 @@ var Ii = { exports: {} };
|
|
|
16091
16093
|
function be(v, y) {
|
|
16092
16094
|
return we(y.createRandomBytes(v, y.encoding), y);
|
|
16093
16095
|
}
|
|
16094
|
-
var
|
|
16096
|
+
var he = function(v) {
|
|
16095
16097
|
function y() {
|
|
16096
16098
|
return function(M, H) {
|
|
16097
16099
|
if (!(M instanceof H))
|
|
@@ -16153,7 +16155,7 @@ var Ii = { exports: {} };
|
|
|
16153
16155
|
}), o.d(r, "authenticator", function() {
|
|
16154
16156
|
return Fr;
|
|
16155
16157
|
}), (typeof window > "u" ? "undefined" : ur(window)) === "object" && window.Buffer === void 0 && (window.Buffer = buffer.Buffer);
|
|
16156
|
-
var dr = new He({ createDigest: St }), jr = new Ut({ createDigest: St }), Fr = new
|
|
16158
|
+
var dr = new He({ createDigest: St }), jr = new Ut({ createDigest: St }), Fr = new he({ createDigest: St, createRandomBytes: function(v, y) {
|
|
16157
16159
|
var C = cr.random(v);
|
|
16158
16160
|
return wn.from(C.toString(), "hex").toString(y);
|
|
16159
16161
|
}, keyDecoder: function(v, y) {
|
|
@@ -16191,7 +16193,7 @@ const Ai = {
|
|
|
16191
16193
|
}
|
|
16192
16194
|
},
|
|
16193
16195
|
async mounted() {
|
|
16194
|
-
this
|
|
16196
|
+
this.renderView === "AuthMFA" && (await this.getAccountSettings(), this.generateOTPQrCode()), q.$on("otpSubmitted", this.otpSubmitted);
|
|
16195
16197
|
},
|
|
16196
16198
|
methods: {
|
|
16197
16199
|
otpSubmitted(n) {
|
|
@@ -16286,7 +16288,7 @@ const Ai = {
|
|
|
16286
16288
|
},
|
|
16287
16289
|
async startQrCodePooling() {
|
|
16288
16290
|
this.poolingInterval = setInterval(async () => {
|
|
16289
|
-
const [n, e] = await
|
|
16291
|
+
const [n, e] = await fe($r.qrCodePooling({
|
|
16290
16292
|
qrToken: this.qrCodeHash
|
|
16291
16293
|
}, this.$storex));
|
|
16292
16294
|
if (n)
|
|
@@ -16357,7 +16359,7 @@ const Ai = {
|
|
|
16357
16359
|
// captchaToken: await this.getCaptchaToken('account_verify')
|
|
16358
16360
|
};
|
|
16359
16361
|
this.emailOrUsername.indexOf("@") !== -1 ? e.email = this.emailOrUsername : e.username = this.emailOrUsername;
|
|
16360
|
-
const [t, r] = await
|
|
16362
|
+
const [t, r] = await fe(this.login(e));
|
|
16361
16363
|
t && console.error(t), this.submitted = !1, r === !0 && (this.emailOrUsername = "", this.password = "");
|
|
16362
16364
|
},
|
|
16363
16365
|
close() {
|
|
@@ -16464,21 +16466,21 @@ const Ai = {
|
|
|
16464
16466
|
}, Bc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1), Dc = { class: "forgot center-text pointer small-top" }, Hc = /* @__PURE__ */ _("br", null, null, -1), jc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1);
|
|
16465
16467
|
function Fc(n, e, t, r, o, i) {
|
|
16466
16468
|
const a = Fn("router-link");
|
|
16467
|
-
return N(),
|
|
16469
|
+
return N(), x("form", {
|
|
16468
16470
|
class: "page-login content-boxed content-boxed-padding",
|
|
16469
16471
|
onSubmit: e[14] || (e[14] = Ge((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16470
16472
|
autocomplete: "on",
|
|
16471
16473
|
style: xn(t.isModal ? "max-width: 500px;" : "")
|
|
16472
16474
|
}, [
|
|
16473
|
-
t.isModal ? (N(),
|
|
16475
|
+
t.isModal ? (N(), x("a", {
|
|
16474
16476
|
key: 0,
|
|
16475
16477
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
16476
16478
|
class: "color-black pull-right pointer",
|
|
16477
16479
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
16478
|
-
}, Ys)) :
|
|
16480
|
+
}, Ys)) : pe("", !0),
|
|
16479
16481
|
_("h1", Ws, Q(this.ssoLang[this.appLanguage].login), 1),
|
|
16480
16482
|
$s,
|
|
16481
|
-
i.displayFormLogin ? (N(),
|
|
16483
|
+
i.displayFormLogin ? (N(), x("span", Js, [
|
|
16482
16484
|
_("div", Xs, [
|
|
16483
16485
|
Zs,
|
|
16484
16486
|
Ie(_("input", {
|
|
@@ -16522,59 +16524,59 @@ function Fc(n, e, t, r, o, i) {
|
|
|
16522
16524
|
])
|
|
16523
16525
|
]),
|
|
16524
16526
|
_("button", sc, [
|
|
16525
|
-
o.submitted ? (N(),
|
|
16527
|
+
o.submitted ? (N(), x("span", lc)) : (N(), x("span", cc, Q(n.ssoLang[n.appLanguage].login), 1))
|
|
16526
16528
|
])
|
|
16527
|
-
])) :
|
|
16529
|
+
])) : pe("", !0),
|
|
16528
16530
|
uc,
|
|
16529
|
-
n.displayAppleLogin ? (N(),
|
|
16531
|
+
n.displayAppleLogin ? (N(), x("a", {
|
|
16530
16532
|
key: 2,
|
|
16531
16533
|
onClick: e[5] || (e[5] = (...s) => n.appleLogin && n.appleLogin(...s)),
|
|
16532
16534
|
class: "button-center button button-90 google-button pointer"
|
|
16533
16535
|
}, [
|
|
16534
16536
|
dc,
|
|
16535
|
-
n.appleLoad ? (N(),
|
|
16536
|
-
])) :
|
|
16537
|
-
n.displayGoogleLogin ? (N(),
|
|
16537
|
+
n.appleLoad ? (N(), x("span", hc)) : (N(), x("span", pc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Apple", 1))
|
|
16538
|
+
])) : pe("", !0),
|
|
16539
|
+
n.displayGoogleLogin ? (N(), x("a", {
|
|
16538
16540
|
key: 3,
|
|
16539
16541
|
onClick: e[6] || (e[6] = (...s) => n.googleLogin && n.googleLogin(...s)),
|
|
16540
16542
|
class: "button-center button button-90 google-button pointer"
|
|
16541
16543
|
}, [
|
|
16542
16544
|
fc,
|
|
16543
|
-
n.googleLoad ? (N(),
|
|
16544
|
-
])) :
|
|
16545
|
-
n.displayFacebookLogin ? (N(),
|
|
16545
|
+
n.googleLoad ? (N(), x("span", mc)) : (N(), x("span", gc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Google", 1))
|
|
16546
|
+
])) : pe("", !0),
|
|
16547
|
+
n.displayFacebookLogin ? (N(), x("a", {
|
|
16546
16548
|
key: 4,
|
|
16547
16549
|
onClick: e[7] || (e[7] = (...s) => n.facebookLogin && n.facebookLogin(...s)),
|
|
16548
16550
|
class: "button-center button button-90 google-button pointer"
|
|
16549
16551
|
}, [
|
|
16550
16552
|
_c,
|
|
16551
|
-
n.facebookLoad ? (N(),
|
|
16552
|
-
])) :
|
|
16553
|
-
n.displayMicrosoftSSOLogin ?
|
|
16553
|
+
n.facebookLoad ? (N(), x("span", yc)) : (N(), x("span", vc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Facebook", 1))
|
|
16554
|
+
])) : pe("", !0),
|
|
16555
|
+
n.displayMicrosoftSSOLogin ? pe("", !0) : (N(), x("a", {
|
|
16554
16556
|
key: 5,
|
|
16555
16557
|
onClick: e[8] || (e[8] = (...s) => n.microsoftLogin && n.microsoftLogin(...s)),
|
|
16556
16558
|
class: "button-center button button-90 google-button pointer"
|
|
16557
16559
|
}, [
|
|
16558
16560
|
wc,
|
|
16559
|
-
n.microsoftLoad ? (N(),
|
|
16561
|
+
n.microsoftLoad ? (N(), x("span", kc)) : (N(), x("span", bc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
|
|
16560
16562
|
])),
|
|
16561
|
-
n.displayMicrosoftSSOLogin ?
|
|
16563
|
+
n.displayMicrosoftSSOLogin ? pe("", !0) : (N(), x("a", {
|
|
16562
16564
|
key: 6,
|
|
16563
16565
|
onClick: e[9] || (e[9] = (...s) => n.ssoLogin && n.ssoLogin(...s)),
|
|
16564
16566
|
class: "button-center button button-90 google-button pointer"
|
|
16565
16567
|
}, [
|
|
16566
16568
|
Cc,
|
|
16567
|
-
n.microsoftSSOLoad ? (N(),
|
|
16569
|
+
n.microsoftSSOLoad ? (N(), x("span", Tc)) : (N(), x("span", Ec, Q(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1))
|
|
16568
16570
|
])),
|
|
16569
|
-
n.displayMicrosoftSSOLogin ? (N(),
|
|
16571
|
+
n.displayMicrosoftSSOLogin ? (N(), x("a", {
|
|
16570
16572
|
key: 7,
|
|
16571
16573
|
onClick: e[10] || (e[10] = (s) => n.microsoftLogin("sso")),
|
|
16572
16574
|
class: "button-center button button-90 google-button pointer"
|
|
16573
16575
|
}, [
|
|
16574
16576
|
Sc,
|
|
16575
|
-
n.microsoftSSOLoad ? (N(),
|
|
16576
|
-
])) :
|
|
16577
|
-
i.displayFormLogin ?
|
|
16577
|
+
n.microsoftSSOLoad ? (N(), x("span", Ic, Q(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1)) : (N(), x("span", Ac))
|
|
16578
|
+
])) : pe("", !0),
|
|
16579
|
+
i.displayFormLogin ? pe("", !0) : (N(), x("a", {
|
|
16578
16580
|
key: 8,
|
|
16579
16581
|
onClick: e[11] || (e[11] = (s) => o.emailLogin = !0),
|
|
16580
16582
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -16582,14 +16584,14 @@ function Fc(n, e, t, r, o, i) {
|
|
|
16582
16584
|
Rc,
|
|
16583
16585
|
_("span", null, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Email", 1)
|
|
16584
16586
|
])),
|
|
16585
|
-
n.displayQRLogin ? (N(),
|
|
16587
|
+
n.displayQRLogin ? (N(), x("a", {
|
|
16586
16588
|
key: 9,
|
|
16587
16589
|
onClick: e[12] || (e[12] = (s) => n.$router.push("/qr")),
|
|
16588
16590
|
class: "button-center button button-90 google-button pointer"
|
|
16589
16591
|
}, [
|
|
16590
16592
|
Pc,
|
|
16591
16593
|
_("span", null, Q(n.ssoLang[n.appLanguage].sign_in_with) + " QR", 1)
|
|
16592
|
-
])) :
|
|
16594
|
+
])) : pe("", !0),
|
|
16593
16595
|
Mc,
|
|
16594
16596
|
_("p", Nc, [
|
|
16595
16597
|
ke(Q(n.ssoLang[n.appLanguage].terms_by_signing_in) + " ", 1),
|
|
@@ -16599,7 +16601,7 @@ function Fc(n, e, t, r, o, i) {
|
|
|
16599
16601
|
_("a", zc, Q(n.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
16600
16602
|
]),
|
|
16601
16603
|
xc,
|
|
16602
|
-
t.isModal ? (N(),
|
|
16604
|
+
t.isModal ? (N(), x("div", {
|
|
16603
16605
|
key: 11,
|
|
16604
16606
|
class: "page-login-links",
|
|
16605
16607
|
onClick: e[13] || (e[13] = (...s) => i.createAccountModal && i.createAccountModal(...s))
|
|
@@ -16610,7 +16612,7 @@ function Fc(n, e, t, r, o, i) {
|
|
|
16610
16612
|
ke(" " + Q(n.ssoLang[n.appLanguage].create_new_account), 1)
|
|
16611
16613
|
]),
|
|
16612
16614
|
jc
|
|
16613
|
-
])) : (N(),
|
|
16615
|
+
])) : (N(), x("div", Uc, [
|
|
16614
16616
|
i.displayRegisterLogin ? (N(), ht(a, {
|
|
16615
16617
|
key: 0,
|
|
16616
16618
|
class: "forgot float-right",
|
|
@@ -16620,7 +16622,7 @@ function Fc(n, e, t, r, o, i) {
|
|
|
16620
16622
|
ke(Q(n.ssoLang[n.appLanguage].create_account), 1)
|
|
16621
16623
|
]),
|
|
16622
16624
|
_: 1
|
|
16623
|
-
})) :
|
|
16625
|
+
})) : pe("", !0),
|
|
16624
16626
|
i.displayResetPasswordLogin ? (N(), ht(a, {
|
|
16625
16627
|
key: 1,
|
|
16626
16628
|
class: "create float-left",
|
|
@@ -16630,7 +16632,7 @@ function Fc(n, e, t, r, o, i) {
|
|
|
16630
16632
|
ke(Q(n.ssoLang[n.appLanguage].reset_password), 1)
|
|
16631
16633
|
]),
|
|
16632
16634
|
_: 1
|
|
16633
|
-
})) :
|
|
16635
|
+
})) : pe("", !0),
|
|
16634
16636
|
Bc
|
|
16635
16637
|
]))
|
|
16636
16638
|
], 36);
|
|
@@ -16776,26 +16778,26 @@ const wo = /* @__PURE__ */ mt(Vs, [["render", Fc]]), qc = /* @__PURE__ */ Object
|
|
|
16776
16778
|
}, Nl = /* @__PURE__ */ _("div", { class: "clear" }, null, -1), Ol = { class: "forgot center-text pointer small-top" }, Ll = /* @__PURE__ */ _("br", null, null, -1), zl = /* @__PURE__ */ _("div", { class: "clear" }, null, -1);
|
|
16777
16779
|
function xl(n, e, t, r, o, i) {
|
|
16778
16780
|
const a = Fn("router-link");
|
|
16779
|
-
return N(),
|
|
16781
|
+
return N(), x("form", {
|
|
16780
16782
|
class: "page-login content-boxed content-boxed-padding",
|
|
16781
16783
|
onSubmit: e[12] || (e[12] = Ge((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16782
16784
|
autocomplete: "on",
|
|
16783
16785
|
style: xn(t.isModal ? "max-width: 500px;" : "")
|
|
16784
16786
|
}, [
|
|
16785
|
-
t.isModal ? (N(),
|
|
16787
|
+
t.isModal ? (N(), x("a", {
|
|
16786
16788
|
key: 0,
|
|
16787
16789
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
16788
16790
|
class: "color-black pull-right pointer",
|
|
16789
16791
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
16790
|
-
}, Vc)) :
|
|
16792
|
+
}, Vc)) : pe("", !0),
|
|
16791
16793
|
_("h1", Qc, Q(n.ssoLang[this.appLanguage].register), 1),
|
|
16792
16794
|
_("p", Yc, [
|
|
16793
|
-
o.usernameRegister ? (N(),
|
|
16795
|
+
o.usernameRegister ? (N(), x("span", Wc, [
|
|
16794
16796
|
ke(" t.link/" + Q(o.username) + " " + Q(n.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
|
|
16795
16797
|
$c
|
|
16796
|
-
])) :
|
|
16798
|
+
])) : pe("", !0)
|
|
16797
16799
|
]),
|
|
16798
|
-
o.emailLogin ? (N(),
|
|
16800
|
+
o.emailLogin ? (N(), x("span", Jc, [
|
|
16799
16801
|
_("div", Xc, [
|
|
16800
16802
|
Zc,
|
|
16801
16803
|
Ie(_("input", {
|
|
@@ -16856,34 +16858,34 @@ function xl(n, e, t, r, o, i) {
|
|
|
16856
16858
|
])
|
|
16857
16859
|
]),
|
|
16858
16860
|
_("button", dl, [
|
|
16859
|
-
o.submitted ? (N(),
|
|
16861
|
+
o.submitted ? (N(), x("span", hl)) : (N(), x("span", pl, Q(o.formButtonText), 1))
|
|
16860
16862
|
])
|
|
16861
|
-
])) :
|
|
16863
|
+
])) : pe("", !0),
|
|
16862
16864
|
fl,
|
|
16863
|
-
n.displayAppleLogin ? (N(),
|
|
16865
|
+
n.displayAppleLogin ? (N(), x("a", {
|
|
16864
16866
|
key: 2,
|
|
16865
16867
|
onClick: e[7] || (e[7] = (...s) => n.appleLogin && n.appleLogin(...s)),
|
|
16866
16868
|
class: "button-center button button-90 google-button pointer"
|
|
16867
16869
|
}, [
|
|
16868
16870
|
gl,
|
|
16869
|
-
n.appleLoad ? (N(),
|
|
16870
|
-
])) :
|
|
16871
|
+
n.appleLoad ? (N(), x("span", _l)) : (N(), x("span", ml, Q(n.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
|
|
16872
|
+
])) : pe("", !0),
|
|
16871
16873
|
_("a", {
|
|
16872
16874
|
onClick: e[8] || (e[8] = (...s) => n.googleLogin && n.googleLogin(...s)),
|
|
16873
16875
|
class: "button-center button button-90 google-button pointer"
|
|
16874
16876
|
}, [
|
|
16875
16877
|
vl,
|
|
16876
|
-
n.googleLoad ? (N(),
|
|
16878
|
+
n.googleLoad ? (N(), x("span", wl)) : (N(), x("span", yl, Q(n.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
|
|
16877
16879
|
]),
|
|
16878
|
-
n.displayFacebookLogin ? (N(),
|
|
16880
|
+
n.displayFacebookLogin ? (N(), x("a", {
|
|
16879
16881
|
key: 3,
|
|
16880
16882
|
onClick: e[9] || (e[9] = (...s) => n.facebookLogin && n.facebookLogin(...s)),
|
|
16881
16883
|
class: "button-center button button-90 google-button pointer"
|
|
16882
16884
|
}, [
|
|
16883
16885
|
bl,
|
|
16884
|
-
n.facebookLoad ? (N(),
|
|
16885
|
-
])) :
|
|
16886
|
-
o.emailLogin ?
|
|
16886
|
+
n.facebookLoad ? (N(), x("span", Cl)) : (N(), x("span", kl, Q(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
|
|
16887
|
+
])) : pe("", !0),
|
|
16888
|
+
o.emailLogin ? pe("", !0) : (N(), x("a", {
|
|
16887
16889
|
key: 4,
|
|
16888
16890
|
onClick: e[10] || (e[10] = (s) => o.emailLogin = !0),
|
|
16889
16891
|
class: "button-center button button-90 google-button pointer"
|
|
@@ -16900,7 +16902,7 @@ function xl(n, e, t, r, o, i) {
|
|
|
16900
16902
|
_("a", Rl, Q(n.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
16901
16903
|
]),
|
|
16902
16904
|
Pl,
|
|
16903
|
-
t.isModal ? (N(),
|
|
16905
|
+
t.isModal ? (N(), x("div", {
|
|
16904
16906
|
key: 6,
|
|
16905
16907
|
class: "page-login-links",
|
|
16906
16908
|
onClick: e[11] || (e[11] = (...s) => i.loginAccountModal && i.loginAccountModal(...s))
|
|
@@ -16911,7 +16913,7 @@ function xl(n, e, t, r, o, i) {
|
|
|
16911
16913
|
ke(" " + Q(n.ssoLang[this.appLanguage].sign_in_with_new), 1)
|
|
16912
16914
|
]),
|
|
16913
16915
|
zl
|
|
16914
|
-
])) : (N(),
|
|
16916
|
+
])) : (N(), x("div", Ml, [
|
|
16915
16917
|
De(a, {
|
|
16916
16918
|
class: "create float-right",
|
|
16917
16919
|
to: "/verify"
|
|
@@ -17038,17 +17040,17 @@ const bo = /* @__PURE__ */ mt(Kc, [["render", xl]]), Ul = /* @__PURE__ */ Object
|
|
|
17038
17040
|
}, au = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), su = { class: "forgot center-text pointer small-top" }, cu = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("br", null, null, -1)), lu = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1));
|
|
17039
17041
|
function uu(n, e, t, r, o, i) {
|
|
17040
17042
|
const a = Fn("router-link");
|
|
17041
|
-
return N(),
|
|
17043
|
+
return N(), x("form", {
|
|
17042
17044
|
class: "page-login content-boxed content-boxed-padding",
|
|
17043
17045
|
onSubmit: e[6] || (e[6] = Ge((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
17044
17046
|
style: xn(t.isModal ? "max-width: 500px;" : "")
|
|
17045
17047
|
}, [
|
|
17046
|
-
t.isModal ? (N(),
|
|
17048
|
+
t.isModal ? (N(), x("a", {
|
|
17047
17049
|
key: 0,
|
|
17048
17050
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
17049
17051
|
class: "color-black pull-right pointer",
|
|
17050
17052
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
17051
|
-
}, Hl)) :
|
|
17053
|
+
}, Hl)) : pe("", !0),
|
|
17052
17054
|
_("h1", jl, Q(n.ssoLang[this.appLanguage].verify_account), 1),
|
|
17053
17055
|
Fl,
|
|
17054
17056
|
_("div", ql, [
|
|
@@ -17082,7 +17084,7 @@ function uu(n, e, t, r, o, i) {
|
|
|
17082
17084
|
$l
|
|
17083
17085
|
]),
|
|
17084
17086
|
_("button", Jl, [
|
|
17085
|
-
o.submitted ? (N(),
|
|
17087
|
+
o.submitted ? (N(), x("span", Zl)) : (N(), x("span", Xl, Q(n.ssoLang[this.appLanguage].verify_account), 1))
|
|
17086
17088
|
]),
|
|
17087
17089
|
eu,
|
|
17088
17090
|
_("p", tu, [
|
|
@@ -17092,7 +17094,7 @@ function uu(n, e, t, r, o, i) {
|
|
|
17092
17094
|
ru
|
|
17093
17095
|
]),
|
|
17094
17096
|
ou,
|
|
17095
|
-
t.isModal ? (N(),
|
|
17097
|
+
t.isModal ? (N(), x("div", {
|
|
17096
17098
|
key: 2,
|
|
17097
17099
|
class: "page-login-links",
|
|
17098
17100
|
onClick: e[5] || (e[5] = (...s) => i.registerAccountModal && i.registerAccountModal(...s))
|
|
@@ -17103,7 +17105,7 @@ function uu(n, e, t, r, o, i) {
|
|
|
17103
17105
|
ke(" " + Q(n.ssoLang[this.appLanguage].create_new_account), 1)
|
|
17104
17106
|
]),
|
|
17105
17107
|
lu
|
|
17106
|
-
])) : (N(),
|
|
17108
|
+
])) : (N(), x("div", iu, [
|
|
17107
17109
|
De(a, {
|
|
17108
17110
|
class: "create float-right",
|
|
17109
17111
|
to: "/register"
|
|
@@ -17149,51 +17151,65 @@ const ko = /* @__PURE__ */ mt(Bl, [["render", uu], ["__scopeId", "data-v-89d98ef
|
|
|
17149
17151
|
enable: this.mfaEnable
|
|
17150
17152
|
};
|
|
17151
17153
|
this.mfaEnable || delete n.otpSecret, this.loading = !0;
|
|
17152
|
-
const [e, t] = await
|
|
17154
|
+
const [e, t] = await fe($e.setMfa(n, this.$storex));
|
|
17153
17155
|
if (this.loading = !1, e)
|
|
17154
17156
|
return q.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(e);
|
|
17155
17157
|
t.data.success && (this.getAccountSettings(), this.successSnack(t.data.message));
|
|
17156
17158
|
}
|
|
17157
17159
|
}
|
|
17158
|
-
}, hu = { class: "page-login content-boxed content-boxed-padding" }, fu = /* @__PURE__ */ _("
|
|
17160
|
+
}, hu = { class: "page-login content-boxed content-boxed-padding" }, fu = /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17161
|
+
/* @__PURE__ */ _("img", {
|
|
17162
|
+
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17163
|
+
class: "responsive-image",
|
|
17164
|
+
style: { width: "35%" }
|
|
17165
|
+
})
|
|
17166
|
+
], -1), gu = [
|
|
17167
|
+
fu
|
|
17168
|
+
], mu = /* @__PURE__ */ _("h4", { style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "50px" } }, " 2-Step Verification ", -1), _u = /* @__PURE__ */ _("br", null, null, -1), vu = { class: "qrCodeLoginContainer center-text" }, yu = {
|
|
17159
17169
|
class: "ios-switch",
|
|
17160
17170
|
style: { display: "inline-block", float: "right" }
|
|
17161
|
-
},
|
|
17171
|
+
}, wu = /* @__PURE__ */ _("label", {
|
|
17162
17172
|
class: "ios-switch-label",
|
|
17163
17173
|
for: "mfa-open-switch"
|
|
17164
|
-
}, null, -1),
|
|
17174
|
+
}, null, -1), bu = /* @__PURE__ */ _("br", null, null, -1), ku = { style: { "text-align": "center" } }, Cu = /* @__PURE__ */ _("div", {
|
|
17165
17175
|
id: "qrCodeContainer",
|
|
17166
17176
|
class: "qrCodeRounded",
|
|
17167
17177
|
style: { "max-width": "100%" }
|
|
17168
|
-
}, null, -1),
|
|
17178
|
+
}, null, -1), Eu = /* @__PURE__ */ _("br", null, null, -1), Tu = /* @__PURE__ */ _("br", null, null, -1), Su = /* @__PURE__ */ _("br", null, null, -1), Iu = /* @__PURE__ */ _("div", { style: { margin: "0 auto", width: "85%", "text-align": "center" } }, [
|
|
17169
17179
|
/* @__PURE__ */ _("h5", { class: "" }, "Scan the QR code above or enter the secret key into your authenticator app."),
|
|
17170
17180
|
/* @__PURE__ */ _("br")
|
|
17171
|
-
], -1),
|
|
17181
|
+
], -1), Au = {
|
|
17172
17182
|
type: "submit",
|
|
17173
17183
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17174
|
-
},
|
|
17184
|
+
}, Ru = { key: 0 }, Pu = {
|
|
17175
17185
|
key: 1,
|
|
17176
17186
|
class: "button--loading button__loader"
|
|
17177
|
-
},
|
|
17187
|
+
}, Mu = {
|
|
17178
17188
|
key: 1,
|
|
17179
17189
|
style: { margin: "0 auto", width: "100%", "text-align": "center" }
|
|
17180
|
-
},
|
|
17190
|
+
}, Nu = {
|
|
17181
17191
|
key: 0,
|
|
17182
17192
|
class: ""
|
|
17183
|
-
},
|
|
17193
|
+
}, Ou = /* @__PURE__ */ _("br", null, null, -1), Lu = {
|
|
17184
17194
|
key: 1,
|
|
17185
17195
|
class: ""
|
|
17186
17196
|
};
|
|
17187
|
-
function
|
|
17188
|
-
return N(),
|
|
17189
|
-
|
|
17190
|
-
|
|
17191
|
-
|
|
17197
|
+
function zu(n, e, t, r, o, i) {
|
|
17198
|
+
return N(), x("div", hu, [
|
|
17199
|
+
n.isModal ? (N(), x("a", {
|
|
17200
|
+
key: 0,
|
|
17201
|
+
onClick: e[0] || (e[0] = (...a) => n.close && n.close(...a)),
|
|
17202
|
+
class: "color-black pull-right pointer",
|
|
17203
|
+
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
17204
|
+
}, gu)) : pe("", !0),
|
|
17205
|
+
mu,
|
|
17206
|
+
_u,
|
|
17207
|
+
_("div", vu, [
|
|
17192
17208
|
_("div", null, [
|
|
17193
17209
|
ke(" Enable Multi-Factor Authentication "),
|
|
17194
|
-
_("div",
|
|
17210
|
+
_("div", yu, [
|
|
17195
17211
|
Ie(_("input", {
|
|
17196
|
-
"onUpdate:modelValue": e[
|
|
17212
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => n.mfaEnable = a),
|
|
17197
17213
|
type: "checkbox",
|
|
17198
17214
|
name: "ios-switch",
|
|
17199
17215
|
class: "ios-switch-checkbox",
|
|
@@ -17201,55 +17217,55 @@ function Ou(n, e, t, r, o, i) {
|
|
|
17201
17217
|
}, null, 512), [
|
|
17202
17218
|
[xi, n.mfaEnable]
|
|
17203
17219
|
]),
|
|
17204
|
-
|
|
17220
|
+
wu
|
|
17205
17221
|
])
|
|
17206
17222
|
]),
|
|
17207
|
-
|
|
17208
|
-
Ie(_("div",
|
|
17209
|
-
|
|
17210
|
-
|
|
17223
|
+
bu,
|
|
17224
|
+
Ie(_("div", ku, [
|
|
17225
|
+
Cu,
|
|
17226
|
+
Eu,
|
|
17211
17227
|
_("p", {
|
|
17212
17228
|
class: "bold pointer font-16 underline",
|
|
17213
|
-
onClick: e[
|
|
17229
|
+
onClick: e[2] || (e[2] = (a) => n.copy(n.otpSecret))
|
|
17214
17230
|
}, Q(n.otpSecret), 1),
|
|
17215
|
-
|
|
17216
|
-
|
|
17217
|
-
|
|
17231
|
+
Tu,
|
|
17232
|
+
Su,
|
|
17233
|
+
Iu
|
|
17218
17234
|
], 512), [
|
|
17219
17235
|
[Jt, n.mfaEnable && !n.account.mfaEnabled]
|
|
17220
17236
|
]),
|
|
17221
|
-
n.account.mfaEnabled !== n.mfaEnable ? (N(),
|
|
17237
|
+
n.account.mfaEnabled !== n.mfaEnable ? (N(), x("form", {
|
|
17222
17238
|
key: 0,
|
|
17223
|
-
onSubmit: e[
|
|
17239
|
+
onSubmit: e[4] || (e[4] = Ge((...a) => n.validateMFA && n.validateMFA(...a), ["prevent"]))
|
|
17224
17240
|
}, [
|
|
17225
|
-
_("button",
|
|
17226
|
-
n.loading ? (N(),
|
|
17241
|
+
_("button", Au, [
|
|
17242
|
+
n.loading ? (N(), x("span", Pu)) : (N(), x("span", Ru, Q(n.ssoLang[n.appLanguage].continue), 1))
|
|
17227
17243
|
]),
|
|
17228
17244
|
_("a", {
|
|
17229
17245
|
href: "javascript:;",
|
|
17230
|
-
onClick: e[
|
|
17246
|
+
onClick: e[3] || (e[3] = (...a) => n.cancelMFA && n.cancelMFA(...a))
|
|
17231
17247
|
}, "Cancel")
|
|
17232
|
-
], 32)) : (N(),
|
|
17248
|
+
], 32)) : (N(), x("div", Mu, [
|
|
17233
17249
|
_("div", null, [
|
|
17234
|
-
n.mfaEnable ? (N(),
|
|
17250
|
+
n.mfaEnable ? (N(), x("h5", Nu, [
|
|
17235
17251
|
ke(" Your account is protected via "),
|
|
17236
|
-
|
|
17252
|
+
Ou,
|
|
17237
17253
|
ke(" multi-factor authentication (MFA) ✅ ")
|
|
17238
|
-
])) : (N(),
|
|
17254
|
+
])) : (N(), x("h5", Lu, "Protect your account from unauthorized access by enabling multi-factor authentication (MFA)")),
|
|
17239
17255
|
_("a", {
|
|
17240
17256
|
class: "half-top",
|
|
17241
17257
|
href: "javascript:;",
|
|
17242
|
-
onClick: e[
|
|
17258
|
+
onClick: e[5] || (e[5] = (...a) => n.cancelMFA && n.cancelMFA(...a))
|
|
17243
17259
|
}, "Go Back to Account Settings")
|
|
17244
17260
|
])
|
|
17245
17261
|
]))
|
|
17246
17262
|
])
|
|
17247
17263
|
]);
|
|
17248
17264
|
}
|
|
17249
|
-
const Co = /* @__PURE__ */ mt(pu, [["render",
|
|
17265
|
+
const Co = /* @__PURE__ */ mt(pu, [["render", zu]]), xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17250
17266
|
__proto__: null,
|
|
17251
17267
|
default: Co
|
|
17252
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17268
|
+
}, Symbol.toStringTag, { value: "Module" })), Uu = {
|
|
17253
17269
|
name: "AuthReset",
|
|
17254
17270
|
mixins: [at],
|
|
17255
17271
|
data() {
|
|
@@ -17303,135 +17319,135 @@ const Co = /* @__PURE__ */ mt(pu, [["render", Ou]]), Lu = /* @__PURE__ */ Object
|
|
|
17303
17319
|
this.$storex.verifyEmail = n;
|
|
17304
17320
|
}
|
|
17305
17321
|
}
|
|
17306
|
-
}, on = (n) => (qn("data-v-69a9cfa3"), n = n(), Kn(), n),
|
|
17322
|
+
}, on = (n) => (qn("data-v-69a9cfa3"), n = n(), Kn(), n), Bu = {
|
|
17307
17323
|
class: "bold no-bottom center-text",
|
|
17308
17324
|
style: { "margin-top": "63px" }
|
|
17309
|
-
},
|
|
17325
|
+
}, Du = /* @__PURE__ */ on(() => /* @__PURE__ */ _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), Hu = { class: "page-login-field half-top color-black" }, ju = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "10px", "margin-left": "10px" } }, [
|
|
17310
17326
|
/* @__PURE__ */ _("img", {
|
|
17311
17327
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
17312
17328
|
class: "responsive-image",
|
|
17313
17329
|
style: { width: "80%" }
|
|
17314
17330
|
})
|
|
17315
|
-
], -1)),
|
|
17331
|
+
], -1)), Fu = ["placeholder"], qu = /* @__PURE__ */ on(() => /* @__PURE__ */ _("em", null, null, -1)), Ku = {
|
|
17316
17332
|
type: "submit",
|
|
17317
17333
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
17318
|
-
},
|
|
17334
|
+
}, Gu = {
|
|
17319
17335
|
key: 0,
|
|
17320
17336
|
class: "uppercase"
|
|
17321
|
-
},
|
|
17337
|
+
}, Vu = {
|
|
17322
17338
|
key: 1,
|
|
17323
17339
|
class: "button--loading button__loader"
|
|
17324
|
-
},
|
|
17340
|
+
}, Qu = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Yu = { class: "close-text center-text half-top color-black" }, Wu = ["innerHTML"], $u = ["href"], Ju = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Xu = { class: "page-login-links" }, Zu = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), ed = {
|
|
17325
17341
|
class: "bold no-bottom center-text",
|
|
17326
17342
|
style: { "margin-top": "63px" }
|
|
17327
|
-
},
|
|
17343
|
+
}, td = { class: "half-bottom small-top center-text color-black" }, nd = { class: "page-login-field half-top" }, rd = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
17328
17344
|
/* @__PURE__ */ _("img", {
|
|
17329
17345
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
17330
17346
|
class: "responsive-image",
|
|
17331
17347
|
style: { width: "50%" }
|
|
17332
17348
|
})
|
|
17333
|
-
], -1)),
|
|
17349
|
+
], -1)), od = ["type", "placeholder"], id = {
|
|
17334
17350
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
17335
17351
|
class: "responsive-image password-reveal-icon"
|
|
17336
|
-
},
|
|
17352
|
+
}, ad = {
|
|
17337
17353
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
17338
17354
|
class: "responsive-image password-reveal-icon"
|
|
17339
|
-
},
|
|
17355
|
+
}, sd = { class: "page-login-field half-top" }, cd = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
17340
17356
|
/* @__PURE__ */ _("img", {
|
|
17341
17357
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
17342
17358
|
class: "responsive-image",
|
|
17343
17359
|
style: { width: "50%" }
|
|
17344
17360
|
})
|
|
17345
|
-
], -1)),
|
|
17361
|
+
], -1)), ld = ["type", "placeholder"], ud = {
|
|
17346
17362
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
17347
17363
|
class: "responsive-image password-reveal-icon"
|
|
17348
|
-
},
|
|
17364
|
+
}, dd = {
|
|
17349
17365
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
17350
17366
|
class: "responsive-image password-reveal-icon"
|
|
17351
|
-
},
|
|
17367
|
+
}, pd = {
|
|
17352
17368
|
type: "submit",
|
|
17353
17369
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
17354
|
-
},
|
|
17370
|
+
}, hd = {
|
|
17355
17371
|
key: 0,
|
|
17356
17372
|
class: "uppercase"
|
|
17357
|
-
},
|
|
17373
|
+
}, fd = {
|
|
17358
17374
|
key: 1,
|
|
17359
17375
|
class: "button--loading button__loader"
|
|
17360
|
-
},
|
|
17361
|
-
function
|
|
17376
|
+
}, gd = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), md = { class: "close-text center-text half-top color-black" }, _d = ["innerHTML"], vd = ["href"];
|
|
17377
|
+
function yd(n, e, t, r, o, i) {
|
|
17362
17378
|
const a = Fn("router-link");
|
|
17363
|
-
return o.passwordChange ? (N(),
|
|
17379
|
+
return o.passwordChange ? (N(), x("form", {
|
|
17364
17380
|
key: 1,
|
|
17365
17381
|
class: "page-login content-boxed content-boxed-padding",
|
|
17366
17382
|
onSubmit: e[7] || (e[7] = Ge((...s) => i.changePw && i.changePw(...s), ["prevent"]))
|
|
17367
17383
|
}, [
|
|
17368
|
-
_("h3",
|
|
17369
|
-
_("p",
|
|
17370
|
-
_("div",
|
|
17371
|
-
|
|
17384
|
+
_("h3", ed, Q(n.ssoLang[this.appLanguage].password_change), 1),
|
|
17385
|
+
_("p", td, Q(n.ssoLang[this.appLanguage].password_new), 1),
|
|
17386
|
+
_("div", nd, [
|
|
17387
|
+
rd,
|
|
17372
17388
|
Ie(_("input", {
|
|
17373
17389
|
"onUpdate:modelValue": e[3] || (e[3] = (s) => o.password = s),
|
|
17374
17390
|
type: o.revealPassword ? "text" : "password",
|
|
17375
17391
|
placeholder: n.ssoLang[this.appLanguage].password,
|
|
17376
17392
|
required: ""
|
|
17377
|
-
}, null, 8,
|
|
17393
|
+
}, null, 8, od), [
|
|
17378
17394
|
[_r, o.password]
|
|
17379
17395
|
]),
|
|
17380
17396
|
_("em", {
|
|
17381
17397
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
|
|
17382
17398
|
}, [
|
|
17383
|
-
Ie(_("img",
|
|
17399
|
+
Ie(_("img", id, null, 512), [
|
|
17384
17400
|
[Jt, !o.revealPassword]
|
|
17385
17401
|
]),
|
|
17386
|
-
Ie(_("img",
|
|
17402
|
+
Ie(_("img", ad, null, 512), [
|
|
17387
17403
|
[Jt, o.revealPassword]
|
|
17388
17404
|
])
|
|
17389
17405
|
])
|
|
17390
17406
|
]),
|
|
17391
|
-
_("div",
|
|
17392
|
-
|
|
17407
|
+
_("div", sd, [
|
|
17408
|
+
cd,
|
|
17393
17409
|
Ie(_("input", {
|
|
17394
17410
|
"onUpdate:modelValue": e[5] || (e[5] = (s) => o.passwordRepeat = s),
|
|
17395
17411
|
type: o.revealPassword2 ? "text" : "password",
|
|
17396
17412
|
placeholder: n.ssoLang[this.appLanguage].password_repeat,
|
|
17397
17413
|
required: ""
|
|
17398
|
-
}, null, 8,
|
|
17414
|
+
}, null, 8, ld), [
|
|
17399
17415
|
[_r, o.passwordRepeat]
|
|
17400
17416
|
]),
|
|
17401
17417
|
_("em", {
|
|
17402
17418
|
onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
|
|
17403
17419
|
}, [
|
|
17404
|
-
Ie(_("img",
|
|
17420
|
+
Ie(_("img", ud, null, 512), [
|
|
17405
17421
|
[Jt, !o.revealPassword2]
|
|
17406
17422
|
]),
|
|
17407
|
-
Ie(_("img",
|
|
17423
|
+
Ie(_("img", dd, null, 512), [
|
|
17408
17424
|
[Jt, o.revealPassword2]
|
|
17409
17425
|
])
|
|
17410
17426
|
])
|
|
17411
17427
|
]),
|
|
17412
|
-
_("button",
|
|
17413
|
-
o.submitted ? (N(),
|
|
17428
|
+
_("button", pd, [
|
|
17429
|
+
o.submitted ? (N(), x("span", fd)) : (N(), x("span", hd, Q(n.ssoLang[this.appLanguage].password_change), 1))
|
|
17414
17430
|
]),
|
|
17415
|
-
|
|
17416
|
-
_("p",
|
|
17431
|
+
gd,
|
|
17432
|
+
_("p", md, [
|
|
17417
17433
|
_("span", {
|
|
17418
17434
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p2
|
|
17419
|
-
}, null, 8,
|
|
17435
|
+
}, null, 8, _d),
|
|
17420
17436
|
ke(),
|
|
17421
17437
|
_("a", {
|
|
17422
17438
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17423
|
-
}, " support@tapni.com", 8,
|
|
17439
|
+
}, " support@tapni.com", 8, vd)
|
|
17424
17440
|
])
|
|
17425
|
-
], 32)) : (N(),
|
|
17441
|
+
], 32)) : (N(), x("form", {
|
|
17426
17442
|
key: 0,
|
|
17427
17443
|
class: "page-login content-boxed content-boxed-padding",
|
|
17428
17444
|
onSubmit: e[2] || (e[2] = Ge((...s) => i.resetEmail && i.resetEmail(...s), ["prevent"])),
|
|
17429
17445
|
autocomplete: "on"
|
|
17430
17446
|
}, [
|
|
17431
|
-
_("h3",
|
|
17432
|
-
|
|
17433
|
-
_("div",
|
|
17434
|
-
|
|
17447
|
+
_("h3", Bu, Q(n.ssoLang[this.appLanguage].reset_password), 1),
|
|
17448
|
+
Du,
|
|
17449
|
+
_("div", Hu, [
|
|
17450
|
+
ju,
|
|
17435
17451
|
Ie(_("input", {
|
|
17436
17452
|
id: "emailInput",
|
|
17437
17453
|
"onUpdate:modelValue": e[0] || (e[0] = (s) => o.email = s),
|
|
@@ -17440,25 +17456,25 @@ function _d(n, e, t, r, o, i) {
|
|
|
17440
17456
|
type: "email",
|
|
17441
17457
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
17442
17458
|
required: ""
|
|
17443
|
-
}, null, 40,
|
|
17459
|
+
}, null, 40, Fu), [
|
|
17444
17460
|
[gn, o.email]
|
|
17445
17461
|
]),
|
|
17446
|
-
|
|
17462
|
+
qu
|
|
17447
17463
|
]),
|
|
17448
|
-
_("button",
|
|
17449
|
-
o.submitted ? (N(),
|
|
17464
|
+
_("button", Ku, [
|
|
17465
|
+
o.submitted ? (N(), x("span", Vu)) : (N(), x("span", Gu, Q(n.ssoLang[this.appLanguage].reset_password), 1))
|
|
17450
17466
|
]),
|
|
17451
|
-
|
|
17452
|
-
_("p",
|
|
17467
|
+
Qu,
|
|
17468
|
+
_("p", Yu, [
|
|
17453
17469
|
_("span", {
|
|
17454
17470
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p1
|
|
17455
|
-
}, null, 8,
|
|
17471
|
+
}, null, 8, Wu),
|
|
17456
17472
|
_("a", {
|
|
17457
17473
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17458
|
-
}, " support@tapni.com", 8,
|
|
17474
|
+
}, " support@tapni.com", 8, $u)
|
|
17459
17475
|
]),
|
|
17460
|
-
|
|
17461
|
-
_("div",
|
|
17476
|
+
Ju,
|
|
17477
|
+
_("div", Xu, [
|
|
17462
17478
|
De(a, {
|
|
17463
17479
|
class: "create float-right",
|
|
17464
17480
|
to: "/verify"
|
|
@@ -17477,14 +17493,14 @@ function _d(n, e, t, r, o, i) {
|
|
|
17477
17493
|
]),
|
|
17478
17494
|
_: 1
|
|
17479
17495
|
}),
|
|
17480
|
-
|
|
17496
|
+
Zu
|
|
17481
17497
|
])
|
|
17482
17498
|
], 32));
|
|
17483
17499
|
}
|
|
17484
|
-
const Eo = /* @__PURE__ */ mt(
|
|
17500
|
+
const Eo = /* @__PURE__ */ mt(Uu, [["render", yd], ["__scopeId", "data-v-69a9cfa3"]]), wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17485
17501
|
__proto__: null,
|
|
17486
17502
|
default: Eo
|
|
17487
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17503
|
+
}, Symbol.toStringTag, { value: "Module" })), bd = {
|
|
17488
17504
|
name: "AuthCallback",
|
|
17489
17505
|
mixins: [zr, xr, at],
|
|
17490
17506
|
data() {
|
|
@@ -17504,31 +17520,31 @@ const Eo = /* @__PURE__ */ mt(zu, [["render", _d], ["__scopeId", "data-v-69a9cfa
|
|
|
17504
17520
|
return n = n.replace("http", "tapni"), n = n.replace("https", "tapni"), window.open(n);
|
|
17505
17521
|
}
|
|
17506
17522
|
}
|
|
17507
|
-
},
|
|
17523
|
+
}, kd = { class: "page-login content-boxed content-boxed-padding" }, Cd = {
|
|
17508
17524
|
key: 0,
|
|
17509
17525
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
17510
|
-
},
|
|
17526
|
+
}, Ed = /* @__PURE__ */ _("br", null, null, -1), Td = {
|
|
17511
17527
|
key: 1,
|
|
17512
17528
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
17513
17529
|
};
|
|
17514
|
-
function
|
|
17515
|
-
return N(),
|
|
17516
|
-
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (N(),
|
|
17530
|
+
function Sd(n, e, t, r, o, i) {
|
|
17531
|
+
return N(), x("div", kd, [
|
|
17532
|
+
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (N(), x("h5", Cd, [
|
|
17517
17533
|
ke(Q(n.ssoLang[this.appLanguage].you_will_be_redirected), 1),
|
|
17518
|
-
|
|
17534
|
+
Ed,
|
|
17519
17535
|
ke(" " + Q(n.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
|
|
17520
17536
|
_("span", {
|
|
17521
17537
|
onClick: e[0] || (e[0] = (...a) => i.inAppRedirect && i.inAppRedirect(...a)),
|
|
17522
17538
|
style: { color: "blue", cursor: "pointer" }
|
|
17523
17539
|
}, Q(n.ssoLang[this.appLanguage].click_here), 1),
|
|
17524
17540
|
ke(".")
|
|
17525
|
-
])) : (N(),
|
|
17541
|
+
])) : (N(), x("h4", Td, Q(n.ssoLang[this.appLanguage].please_wait), 1))
|
|
17526
17542
|
]);
|
|
17527
17543
|
}
|
|
17528
|
-
const To = /* @__PURE__ */ mt(
|
|
17544
|
+
const To = /* @__PURE__ */ mt(bd, [["render", Sd]]), Id = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17529
17545
|
__proto__: null,
|
|
17530
17546
|
default: To
|
|
17531
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17547
|
+
}, Symbol.toStringTag, { value: "Module" })), Ad = {
|
|
17532
17548
|
name: "ModalOverlay",
|
|
17533
17549
|
mixins: [at],
|
|
17534
17550
|
data() {
|
|
@@ -17553,13 +17569,13 @@ const To = /* @__PURE__ */ mt(yd, [["render", Ed]]), Td = /* @__PURE__ */ Object
|
|
|
17553
17569
|
}
|
|
17554
17570
|
}
|
|
17555
17571
|
};
|
|
17556
|
-
function
|
|
17557
|
-
return N(),
|
|
17572
|
+
function Rd(n, e, t, r, o, i) {
|
|
17573
|
+
return N(), x("div", {
|
|
17558
17574
|
class: Je({ "pointer delete-menu": !0, "delete-menu-active": o.toggle }),
|
|
17559
17575
|
onClick: e[0] || (e[0] = (...a) => i.toggleEmit && i.toggleEmit(...a))
|
|
17560
17576
|
}, null, 2);
|
|
17561
17577
|
}
|
|
17562
|
-
const Ri = /* @__PURE__ */ mt(
|
|
17578
|
+
const Ri = /* @__PURE__ */ mt(Ad, [["render", Rd], ["__scopeId", "data-v-17c95816"]]), Pd = {
|
|
17563
17579
|
name: "SSO",
|
|
17564
17580
|
mixins: [Lr, zr, xr, at],
|
|
17565
17581
|
data() {
|
|
@@ -17602,24 +17618,24 @@ const Ri = /* @__PURE__ */ mt(Sd, [["render", Id], ["__scopeId", "data-v-17c9581
|
|
|
17602
17618
|
this.toggle = !this.toggle;
|
|
17603
17619
|
}
|
|
17604
17620
|
}
|
|
17605
|
-
},
|
|
17621
|
+
}, Md = (n) => (qn("data-v-11f19a09"), n = n(), Kn(), n), Nd = /* @__PURE__ */ Md(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17606
17622
|
/* @__PURE__ */ _("img", {
|
|
17607
17623
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17608
17624
|
class: "responsive-image",
|
|
17609
17625
|
style: { width: "45%" }
|
|
17610
17626
|
})
|
|
17611
|
-
], -1)),
|
|
17612
|
-
|
|
17613
|
-
],
|
|
17627
|
+
], -1)), Od = [
|
|
17628
|
+
Nd
|
|
17629
|
+
], Ld = { class: "bold center-text color-black half-top half-bottom" }, zd = ["placeholder"], xd = {
|
|
17614
17630
|
type: "submit",
|
|
17615
17631
|
class: "button black-button white-button button-full",
|
|
17616
17632
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
17617
|
-
},
|
|
17633
|
+
}, Ud = { key: 0 }, Bd = {
|
|
17618
17634
|
key: 1,
|
|
17619
17635
|
class: "button--loading button__loader"
|
|
17620
17636
|
};
|
|
17621
|
-
function
|
|
17622
|
-
return N(),
|
|
17637
|
+
function Dd(n, e, t, r, o, i) {
|
|
17638
|
+
return N(), x("form", {
|
|
17623
17639
|
onSubmit: e[3] || (e[3] = Ge((...a) => i.submit && i.submit(...a), ["prevent"])),
|
|
17624
17640
|
class: Je(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
17625
17641
|
style: { height: "auto", "margin-top": "-172.5px" }
|
|
@@ -17628,8 +17644,8 @@ function Ud(n, e, t, r, o, i) {
|
|
|
17628
17644
|
onClick: e[0] || (e[0] = (...a) => i.forceClose && i.forceClose(...a)),
|
|
17629
17645
|
class: "color-black pull-right pointer",
|
|
17630
17646
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
17631
|
-
},
|
|
17632
|
-
_("h3",
|
|
17647
|
+
}, Od),
|
|
17648
|
+
_("h3", Ld, Q(n.ssoLang[n.appLanguage].enter_company_email), 1),
|
|
17633
17649
|
_("div", null, [
|
|
17634
17650
|
Ie(_("input", {
|
|
17635
17651
|
type: "text",
|
|
@@ -17644,16 +17660,16 @@ function Ud(n, e, t, r, o, i) {
|
|
|
17644
17660
|
required: "",
|
|
17645
17661
|
onKeydown: e[2] || (e[2] = fn(Ge(() => {
|
|
17646
17662
|
}, ["prevent"]), ["space"]))
|
|
17647
|
-
}, null, 40,
|
|
17663
|
+
}, null, 40, zd), [
|
|
17648
17664
|
[gn, o.email]
|
|
17649
17665
|
])
|
|
17650
17666
|
]),
|
|
17651
|
-
_("button",
|
|
17652
|
-
o.loading ? (N(),
|
|
17667
|
+
_("button", xd, [
|
|
17668
|
+
o.loading ? (N(), x("span", Bd)) : (N(), x("span", Ud, Q(n.ssoLang[n.appLanguage].continue), 1))
|
|
17653
17669
|
])
|
|
17654
17670
|
], 34);
|
|
17655
17671
|
}
|
|
17656
|
-
const Pi = /* @__PURE__ */ mt(
|
|
17672
|
+
const Pi = /* @__PURE__ */ mt(Pd, [["render", Dd], ["__scopeId", "data-v-11f19a09"]]), Hd = {
|
|
17657
17673
|
name: "OTP",
|
|
17658
17674
|
mixins: [at],
|
|
17659
17675
|
data() {
|
|
@@ -17687,24 +17703,24 @@ const Pi = /* @__PURE__ */ mt(Ad, [["render", Ud], ["__scopeId", "data-v-11f19a0
|
|
|
17687
17703
|
this.toggle = !this.toggle;
|
|
17688
17704
|
}
|
|
17689
17705
|
}
|
|
17690
|
-
},
|
|
17706
|
+
}, jd = /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17691
17707
|
/* @__PURE__ */ _("img", {
|
|
17692
17708
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17693
17709
|
class: "responsive-image",
|
|
17694
17710
|
style: { width: "45%" }
|
|
17695
17711
|
})
|
|
17696
|
-
], -1),
|
|
17697
|
-
|
|
17698
|
-
],
|
|
17712
|
+
], -1), Fd = [
|
|
17713
|
+
jd
|
|
17714
|
+
], qd = ["src"], Kd = { class: "bold center-text color-black half-top half-bottom" }, Gd = ["innerHTML"], Vd = ["placeholder"], Qd = {
|
|
17699
17715
|
type: "submit",
|
|
17700
17716
|
class: "button black-button white-button button-full",
|
|
17701
17717
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
17702
|
-
},
|
|
17718
|
+
}, Yd = { key: 0 }, Wd = {
|
|
17703
17719
|
key: 1,
|
|
17704
17720
|
class: "button--loading button__loader"
|
|
17705
|
-
},
|
|
17706
|
-
function
|
|
17707
|
-
return N(),
|
|
17721
|
+
}, $d = { class: "close-text center-text half-top color-black" }, Jd = ["innerHTML"], Xd = /* @__PURE__ */ _("a", { href: "mailto:support@tapni.com?subject=MFA Authentication Problem" }, " support@tapni.com", -1);
|
|
17722
|
+
function Zd(n, e, t, r, o, i) {
|
|
17723
|
+
return N(), x("form", {
|
|
17708
17724
|
onSubmit: e[3] || (e[3] = Ge((...a) => i.submit && i.submit(...a), ["prevent"])),
|
|
17709
17725
|
class: Je(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
17710
17726
|
style: { height: "auto", "margin-top": "-172.5px" }
|
|
@@ -17713,17 +17729,17 @@ function Jd(n, e, t, r, o, i) {
|
|
|
17713
17729
|
onClick: e[0] || (e[0] = (...a) => i.forceClose && i.forceClose(...a)),
|
|
17714
17730
|
class: "color-black pull-right pointer",
|
|
17715
17731
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
17716
|
-
},
|
|
17732
|
+
}, Fd),
|
|
17717
17733
|
_("img", {
|
|
17718
17734
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
17719
17735
|
class: "small-bottom",
|
|
17720
17736
|
style: { margin: "0 auto", "margin-top": "2px", "margin-bottom": "15px", width: "40px" }
|
|
17721
|
-
}, null, 8,
|
|
17722
|
-
_("h3",
|
|
17737
|
+
}, null, 8, qd),
|
|
17738
|
+
_("h3", Kd, Q(n.ssoLang[n.appLanguage].otp_title), 1),
|
|
17723
17739
|
_("p", {
|
|
17724
17740
|
class: "half-top full-bottom padding-left padding-right",
|
|
17725
17741
|
innerHTML: n.ssoLang[n.appLanguage].otp_subtitle
|
|
17726
|
-
}, null, 8,
|
|
17742
|
+
}, null, 8, Gd),
|
|
17727
17743
|
_("div", null, [
|
|
17728
17744
|
Ie(_("input", {
|
|
17729
17745
|
type: "text",
|
|
@@ -17734,22 +17750,22 @@ function Jd(n, e, t, r, o, i) {
|
|
|
17734
17750
|
required: "",
|
|
17735
17751
|
onKeydown: e[2] || (e[2] = fn(Ge(() => {
|
|
17736
17752
|
}, ["prevent"]), ["space"]))
|
|
17737
|
-
}, null, 40,
|
|
17753
|
+
}, null, 40, Vd), [
|
|
17738
17754
|
[gn, o.otp]
|
|
17739
17755
|
])
|
|
17740
17756
|
]),
|
|
17741
|
-
_("button",
|
|
17742
|
-
o.loading ? (N(),
|
|
17757
|
+
_("button", Qd, [
|
|
17758
|
+
o.loading ? (N(), x("span", Wd)) : (N(), x("span", Yd, Q(n.ssoLang[n.appLanguage].continue), 1))
|
|
17743
17759
|
]),
|
|
17744
|
-
_("p",
|
|
17760
|
+
_("p", $d, [
|
|
17745
17761
|
_("span", {
|
|
17746
17762
|
innerHTML: n.ssoLang[this.appLanguage].otp_p1
|
|
17747
|
-
}, null, 8,
|
|
17748
|
-
|
|
17763
|
+
}, null, 8, Jd),
|
|
17764
|
+
Xd
|
|
17749
17765
|
])
|
|
17750
17766
|
], 34);
|
|
17751
17767
|
}
|
|
17752
|
-
const Mi = /* @__PURE__ */ mt(
|
|
17768
|
+
const Mi = /* @__PURE__ */ mt(Hd, [["render", Zd]]), ep = {
|
|
17753
17769
|
name: "SSOPick",
|
|
17754
17770
|
mixins: [Lr, zr, xr, at],
|
|
17755
17771
|
data() {
|
|
@@ -17784,36 +17800,36 @@ const Mi = /* @__PURE__ */ mt(Bd, [["render", Jd]]), Xd = {
|
|
|
17784
17800
|
this.azureLoad = !1, this.oktaLoad = !1, this.samlLoad = !1, this.sso = null, this.email = null, n && (this.sso = n.sso, this.email = n.email), this.toggle = !this.toggle;
|
|
17785
17801
|
}
|
|
17786
17802
|
}
|
|
17787
|
-
}, Ur = (n) => (qn("data-v-4f821f65"), n = n(), Kn(), n),
|
|
17803
|
+
}, Ur = (n) => (qn("data-v-4f821f65"), n = n(), Kn(), n), tp = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17788
17804
|
/* @__PURE__ */ _("img", {
|
|
17789
17805
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17790
17806
|
class: "responsive-image",
|
|
17791
17807
|
style: { width: "45%" }
|
|
17792
17808
|
})
|
|
17793
|
-
], -1)),
|
|
17794
|
-
|
|
17795
|
-
],
|
|
17809
|
+
], -1)), np = [
|
|
17810
|
+
tp
|
|
17811
|
+
], rp = { class: "bold center-text color-black half-top half-bottom" }, op = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("img", {
|
|
17796
17812
|
src: "https://cdn.tapni.co/icons/azure.png",
|
|
17797
17813
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17798
|
-
}, null, -1)),
|
|
17814
|
+
}, null, -1)), ip = { key: 0 }, ap = {
|
|
17799
17815
|
key: 1,
|
|
17800
17816
|
class: "button--loading button__loader"
|
|
17801
|
-
},
|
|
17817
|
+
}, sp = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("img", {
|
|
17802
17818
|
src: "https://cdn.tapni.co/icons/okta.png",
|
|
17803
17819
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17804
|
-
}, null, -1)),
|
|
17820
|
+
}, null, -1)), cp = { key: 0 }, lp = {
|
|
17805
17821
|
key: 1,
|
|
17806
17822
|
class: "button--loading button__loader"
|
|
17807
|
-
},
|
|
17823
|
+
}, up = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("img", {
|
|
17808
17824
|
src: "https://cdn.tapni.co/icons/saml.png",
|
|
17809
17825
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17810
|
-
}, null, -1)),
|
|
17826
|
+
}, null, -1)), dp = { key: 0 }, pp = {
|
|
17811
17827
|
key: 1,
|
|
17812
17828
|
class: "button--loading button__loader"
|
|
17813
17829
|
};
|
|
17814
|
-
function
|
|
17830
|
+
function hp(n, e, t, r, o, i) {
|
|
17815
17831
|
var a, s, u;
|
|
17816
|
-
return N(),
|
|
17832
|
+
return N(), x("form", {
|
|
17817
17833
|
onSubmit: e[4] || (e[4] = Ge(() => {
|
|
17818
17834
|
}, ["prevent"])),
|
|
17819
17835
|
class: Je(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
@@ -17823,35 +17839,35 @@ function dp(n, e, t, r, o, i) {
|
|
|
17823
17839
|
onClick: e[0] || (e[0] = (...p) => i.forceClose && i.forceClose(...p)),
|
|
17824
17840
|
class: "color-black pull-right pointer",
|
|
17825
17841
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
17826
|
-
},
|
|
17827
|
-
_("h3",
|
|
17828
|
-
(a = o.sso) != null && a.azure ? (N(),
|
|
17842
|
+
}, np),
|
|
17843
|
+
_("h3", rp, Q(n.ssoLang[n.appLanguage].select_sign_method), 1),
|
|
17844
|
+
(a = o.sso) != null && a.azure ? (N(), x("a", {
|
|
17829
17845
|
key: 0,
|
|
17830
17846
|
onClick: e[1] || (e[1] = (p) => i.ssoLogin("azure")),
|
|
17831
17847
|
class: "button-center button black-button button-90 google-button pointer"
|
|
17832
17848
|
}, [
|
|
17833
|
-
|
|
17834
|
-
o.azureLoad ? (N(),
|
|
17835
|
-
])) :
|
|
17836
|
-
(s = o.sso) != null && s.okta ? (N(),
|
|
17849
|
+
op,
|
|
17850
|
+
o.azureLoad ? (N(), x("span", ap)) : (N(), x("span", ip, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
|
|
17851
|
+
])) : pe("", !0),
|
|
17852
|
+
(s = o.sso) != null && s.okta ? (N(), x("a", {
|
|
17837
17853
|
key: 1,
|
|
17838
17854
|
onClick: e[2] || (e[2] = (p) => i.ssoLogin("okta")),
|
|
17839
17855
|
class: "button-center button black-button button-90 google-button pointer"
|
|
17840
17856
|
}, [
|
|
17841
|
-
|
|
17842
|
-
o.oktaLoad ? (N(),
|
|
17843
|
-
])) :
|
|
17844
|
-
(u = o.sso) != null && u.saml ? (N(),
|
|
17857
|
+
sp,
|
|
17858
|
+
o.oktaLoad ? (N(), x("span", lp)) : (N(), x("span", cp, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
|
|
17859
|
+
])) : pe("", !0),
|
|
17860
|
+
(u = o.sso) != null && u.saml ? (N(), x("a", {
|
|
17845
17861
|
key: 2,
|
|
17846
17862
|
onClick: e[3] || (e[3] = (p) => i.ssoLogin("saml")),
|
|
17847
17863
|
class: "button-center button black-button button-90 google-button pointer"
|
|
17848
17864
|
}, [
|
|
17849
|
-
|
|
17850
|
-
o.samlLoad ? (N(),
|
|
17851
|
-
])) :
|
|
17865
|
+
up,
|
|
17866
|
+
o.samlLoad ? (N(), x("span", pp)) : (N(), x("span", dp, Q(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
|
|
17867
|
+
])) : pe("", !0)
|
|
17852
17868
|
], 34);
|
|
17853
17869
|
}
|
|
17854
|
-
const Ni = /* @__PURE__ */ mt(
|
|
17870
|
+
const Ni = /* @__PURE__ */ mt(ep, [["render", hp], ["__scopeId", "data-v-4f821f65"]]), fp = {
|
|
17855
17871
|
name: "LinkIcon",
|
|
17856
17872
|
mixins: [at],
|
|
17857
17873
|
props: {
|
|
@@ -17923,10 +17939,10 @@ const Ni = /* @__PURE__ */ mt(Xd, [["render", dp], ["__scopeId", "data-v-4f821f6
|
|
|
17923
17939
|
}
|
|
17924
17940
|
},
|
|
17925
17941
|
methods: {}
|
|
17926
|
-
},
|
|
17927
|
-
function
|
|
17942
|
+
}, gp = ["src", "alt"], mp = ["src", "alt"], _p = ["src", "alt"], vp = ["src", "alt"];
|
|
17943
|
+
function yp(n, e, t, r, o, i) {
|
|
17928
17944
|
var a, s;
|
|
17929
|
-
return N(),
|
|
17945
|
+
return N(), x("a", {
|
|
17930
17946
|
class: Je(["disable-select", t.linkStyle + (t.disabled ? " opacity-50" : "")]),
|
|
17931
17947
|
style: xn(
|
|
17932
17948
|
(t.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible;"
|
|
@@ -17940,28 +17956,28 @@ function _p(n, e, t, r, o, i) {
|
|
|
17940
17956
|
}),
|
|
17941
17957
|
style: xn({ ...(a = t.customLinkStyle) == null ? void 0 : a.linkIcon })
|
|
17942
17958
|
}, [
|
|
17943
|
-
!t.data.custom_icon && t.data.type !== "customlink" ? (N(),
|
|
17959
|
+
!t.data.custom_icon && t.data.type !== "customlink" ? (N(), x("img", {
|
|
17944
17960
|
key: 0,
|
|
17945
17961
|
src: "https://cdn.tapni.co/icons/" + t.data.type + ".png",
|
|
17946
17962
|
class: "responsive-image",
|
|
17947
17963
|
alt: t.data.text,
|
|
17948
17964
|
onLoad: e[0] || (e[0] = (u) => n.$emit("loaded")),
|
|
17949
17965
|
onError: e[1] || (e[1] = (u) => n.$emit("loaded"))
|
|
17950
|
-
}, null, 40,
|
|
17966
|
+
}, null, 40, gp)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (N(), x("img", {
|
|
17951
17967
|
key: 1,
|
|
17952
17968
|
src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
|
|
17953
17969
|
class: "responsive-image",
|
|
17954
17970
|
alt: t.data.text,
|
|
17955
17971
|
onLoad: e[2] || (e[2] = (u) => n.$emit("loaded")),
|
|
17956
17972
|
onError: e[3] || (e[3] = (u) => n.$emit("loaded"))
|
|
17957
|
-
}, null, 40,
|
|
17973
|
+
}, null, 40, mp)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (N(), x("img", {
|
|
17958
17974
|
key: 2,
|
|
17959
17975
|
src: "https://cdn.tapni.co/icons/customlink.png",
|
|
17960
17976
|
class: "responsive-image",
|
|
17961
17977
|
alt: t.data.text,
|
|
17962
17978
|
onLoad: e[4] || (e[4] = (u) => n.$emit("loaded")),
|
|
17963
17979
|
onError: e[5] || (e[5] = (u) => n.$emit("loaded"))
|
|
17964
|
-
}, null, 40,
|
|
17980
|
+
}, null, 40, _p)) : (N(), x("img", {
|
|
17965
17981
|
key: 3,
|
|
17966
17982
|
src: t.data.style.custom_icon,
|
|
17967
17983
|
style: { "border-radius": "22.46%" },
|
|
@@ -17969,7 +17985,7 @@ function _p(n, e, t, r, o, i) {
|
|
|
17969
17985
|
alt: t.data.text,
|
|
17970
17986
|
onLoad: e[6] || (e[6] = (u) => n.$emit("loaded")),
|
|
17971
17987
|
onError: e[7] || (e[7] = (u) => n.$emit("loaded"))
|
|
17972
|
-
}, null, 40,
|
|
17988
|
+
}, null, 40, vp))
|
|
17973
17989
|
], 6),
|
|
17974
17990
|
_("span", {
|
|
17975
17991
|
class: "link-text link-drag color-black",
|
|
@@ -17977,17 +17993,17 @@ function _p(n, e, t, r, o, i) {
|
|
|
17977
17993
|
}, Q(i.linkText), 5)
|
|
17978
17994
|
], 6);
|
|
17979
17995
|
}
|
|
17980
|
-
const
|
|
17996
|
+
const wp = /* @__PURE__ */ mt(fp, [["render", yp]]), bp = {
|
|
17981
17997
|
ANDROID_VERSION: "5.6",
|
|
17982
17998
|
IOS_VERSION: "5.6",
|
|
17983
17999
|
WEB_VERSION: "5.6.0",
|
|
17984
18000
|
SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
|
|
17985
18001
|
METAPIXEL_ID: "1203678696914368",
|
|
17986
18002
|
GOOGLE_ANALYTICS_ID: ""
|
|
17987
|
-
},
|
|
18003
|
+
}, kp = {
|
|
17988
18004
|
name: "Language",
|
|
17989
18005
|
mixins: [at],
|
|
17990
|
-
components: { LinkIcon:
|
|
18006
|
+
components: { LinkIcon: wp },
|
|
17991
18007
|
data() {
|
|
17992
18008
|
return {
|
|
17993
18009
|
toggle: !1
|
|
@@ -17998,7 +18014,7 @@ const vp = /* @__PURE__ */ mt(pp, [["render", _p]]), yp = {
|
|
|
17998
18014
|
this.toggle = !1;
|
|
17999
18015
|
});
|
|
18000
18016
|
let n = this.isNative ? await vr.getLanguageCode() : Dn.getFirstBrowserLanguage();
|
|
18001
|
-
n &&
|
|
18017
|
+
n && bp.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
|
|
18002
18018
|
},
|
|
18003
18019
|
beforeDestroy() {
|
|
18004
18020
|
q._events.toggleSSOLanguageModal.pop();
|
|
@@ -18017,18 +18033,18 @@ const vp = /* @__PURE__ */ mt(pp, [["render", _p]]), yp = {
|
|
|
18017
18033
|
this.toggle = !this.toggle;
|
|
18018
18034
|
}
|
|
18019
18035
|
}
|
|
18020
|
-
},
|
|
18036
|
+
}, Cp = (n) => (qn("data-v-a49a90e5"), n = n(), Kn(), n), Ep = /* @__PURE__ */ Cp(() => /* @__PURE__ */ _("i", { class: "font-17 fa color-black" }, [
|
|
18021
18037
|
/* @__PURE__ */ _("img", {
|
|
18022
18038
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
18023
18039
|
class: "fa responsive-image",
|
|
18024
18040
|
style: { width: "45%" }
|
|
18025
18041
|
})
|
|
18026
|
-
], -1)),
|
|
18027
|
-
|
|
18028
|
-
],
|
|
18029
|
-
function
|
|
18042
|
+
], -1)), Tp = [
|
|
18043
|
+
Ep
|
|
18044
|
+
], Sp = { class: "bold center-text color-black small-bottom" };
|
|
18045
|
+
function Ip(n, e, t, r, o, i) {
|
|
18030
18046
|
const a = Fn("LinkIcon");
|
|
18031
|
-
return N(),
|
|
18047
|
+
return N(), x("div", {
|
|
18032
18048
|
class: Je(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
18033
18049
|
style: { height: "auto", "max-height": "92vh", "margin-top": "-172.5px" }
|
|
18034
18050
|
}, [
|
|
@@ -18036,8 +18052,8 @@ function Tp(n, e, t, r, o, i) {
|
|
|
18036
18052
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
18037
18053
|
class: "color-black pull-right pointer",
|
|
18038
18054
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
18039
|
-
},
|
|
18040
|
-
_("h3",
|
|
18055
|
+
}, Tp),
|
|
18056
|
+
_("h3", Sp, Q(n.ssoLang[n.appLanguage].app_language), 1),
|
|
18041
18057
|
De(a, {
|
|
18042
18058
|
onClick: e[1] || (e[1] = (s) => i.updateLanguage("en")),
|
|
18043
18059
|
"link-style": "link-grid",
|
|
@@ -18096,7 +18112,7 @@ function Tp(n, e, t, r, o, i) {
|
|
|
18096
18112
|
}, null, 8, ["data"])
|
|
18097
18113
|
], 2);
|
|
18098
18114
|
}
|
|
18099
|
-
const Oi = /* @__PURE__ */ mt(
|
|
18115
|
+
const Oi = /* @__PURE__ */ mt(kp, [["render", Ip], ["__scopeId", "data-v-a49a90e5"]]), un = ar("Preferences", {
|
|
18100
18116
|
web: () => import("./web-AImUTDQQ.js").then((n) => new n.PreferencesWeb())
|
|
18101
18117
|
}), At = {
|
|
18102
18118
|
async setObject(n, e) {
|
|
@@ -18202,7 +18218,7 @@ const Oi = /* @__PURE__ */ mt(wp, [["render", Tp], ["__scopeId", "data-v-a49a90e
|
|
|
18202
18218
|
let t = JSON.parse(n);
|
|
18203
18219
|
return t !== void 0 ? t : e;
|
|
18204
18220
|
}
|
|
18205
|
-
},
|
|
18221
|
+
}, Ap = {
|
|
18206
18222
|
name: "ReactiveStorage",
|
|
18207
18223
|
data() {
|
|
18208
18224
|
return {
|
|
@@ -18219,40 +18235,40 @@ const Oi = /* @__PURE__ */ mt(wp, [["render", Tp], ["__scopeId", "data-v-a49a90e
|
|
|
18219
18235
|
}, { deep: !0 });
|
|
18220
18236
|
}
|
|
18221
18237
|
};
|
|
18222
|
-
var
|
|
18223
|
-
const
|
|
18238
|
+
var Rp = { 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 };
|
|
18239
|
+
const Pp = { id: "ssoapp" }, Mp = {
|
|
18224
18240
|
key: 0,
|
|
18225
18241
|
href: "/",
|
|
18226
18242
|
class: "header-logo"
|
|
18227
|
-
},
|
|
18243
|
+
}, Np = /* @__PURE__ */ _("img", {
|
|
18228
18244
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuqnKLyqMplKo/ntWGo0JuuwLurbK8ypI4C78imIYQQL2DDdIntyluU+bftbQEAuU/lpyrTqNCLQQtb2UGBD7ZdeH8bFIQQQvyCjdSfVHok8FnDbV4/Tu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QJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
|
|
18229
18245
|
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
18230
18246
|
class: "header-logo-img"
|
|
18231
|
-
}, null, -1),
|
|
18232
|
-
|
|
18233
|
-
],
|
|
18247
|
+
}, null, -1), Op = [
|
|
18248
|
+
Np
|
|
18249
|
+
], Lp = { class: "lang-icon" }, zp = {
|
|
18234
18250
|
class: "snackbar snackbar-boxed",
|
|
18235
18251
|
id: "snackbar"
|
|
18236
|
-
},
|
|
18252
|
+
}, xp = {
|
|
18237
18253
|
class: "snack-body",
|
|
18238
18254
|
id: "errorSnack"
|
|
18239
|
-
},
|
|
18255
|
+
}, Up = { id: "errorMessage" }, Bp = /* @__PURE__ */ _("img", {
|
|
18240
18256
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
18241
18257
|
style: { width: "100%" }
|
|
18242
|
-
}, null, -1),
|
|
18243
|
-
|
|
18244
|
-
],
|
|
18258
|
+
}, null, -1), Dp = [
|
|
18259
|
+
Bp
|
|
18260
|
+
], Hp = {
|
|
18245
18261
|
class: "snack-body",
|
|
18246
18262
|
id: "successSnack"
|
|
18247
|
-
},
|
|
18263
|
+
}, jp = { id: "successMessage" }, Fp = /* @__PURE__ */ _("img", {
|
|
18248
18264
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
18249
18265
|
style: { width: "100%" }
|
|
18250
|
-
}, null, -1),
|
|
18251
|
-
|
|
18252
|
-
],
|
|
18266
|
+
}, null, -1), qp = [
|
|
18267
|
+
Fp
|
|
18268
|
+
], Kp = {
|
|
18253
18269
|
store: ho,
|
|
18254
18270
|
name: "TapniAuth",
|
|
18255
|
-
mixins: [
|
|
18271
|
+
mixins: [Ap, at],
|
|
18256
18272
|
data() {
|
|
18257
18273
|
return {
|
|
18258
18274
|
storeInterval: null,
|
|
@@ -18351,25 +18367,25 @@ const Ap = { id: "ssoapp" }, Rp = {
|
|
|
18351
18367
|
deep: !0
|
|
18352
18368
|
}
|
|
18353
18369
|
}
|
|
18354
|
-
},
|
|
18370
|
+
}, Gp = /* @__PURE__ */ Object.assign(Kp, {
|
|
18355
18371
|
setup(n) {
|
|
18356
18372
|
return window.Buffer = ia, document.addEventListener("DOMContentLoaded", function() {
|
|
18357
18373
|
const e = document.createElement("script");
|
|
18358
|
-
e.src = `https://www.google.com/recaptcha/api.js?render=${
|
|
18359
|
-
}), (e, t) => (N(),
|
|
18360
|
-
e.display === "redirect" || e.renderView.includes("Auth") ? (N(),
|
|
18361
|
-
e.display === "redirect" ? (N(),
|
|
18374
|
+
e.src = `https://www.google.com/recaptcha/api.js?render=${Rp.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
|
|
18375
|
+
}), (e, t) => (N(), x("div", Pp, [
|
|
18376
|
+
e.display === "redirect" || e.renderView.includes("Auth") ? (N(), x("a", Mp, Op)) : pe("", !0),
|
|
18377
|
+
e.display === "redirect" ? (N(), x("a", {
|
|
18362
18378
|
key: 1,
|
|
18363
18379
|
onClick: t[0] || (t[0] = (...r) => e.toggleSSOLanguageModal && e.toggleSSOLanguageModal(...r)),
|
|
18364
18380
|
class: "font-18 no-border pointer color-black",
|
|
18365
18381
|
style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
|
|
18366
18382
|
}, [
|
|
18367
|
-
_("span",
|
|
18368
|
-
])) :
|
|
18383
|
+
_("span", Lp, Q(e.appLanguage.toUpperCase()), 1)
|
|
18384
|
+
])) : pe("", !0),
|
|
18369
18385
|
De(Ri),
|
|
18370
|
-
n.isModal ?
|
|
18371
|
-
n.isModal ?
|
|
18372
|
-
n.isModal ?
|
|
18386
|
+
n.isModal ? pe("", !0) : (N(), ht(Oi, { key: 2 })),
|
|
18387
|
+
n.isModal ? pe("", !0) : (N(), ht(Pi, { key: 3 })),
|
|
18388
|
+
n.isModal ? pe("", !0) : (N(), ht(Ni, { key: 4 })),
|
|
18373
18389
|
De(Mi),
|
|
18374
18390
|
e.initialized && e.renderView === "AuthWelcome" ? (N(), ht(po, { key: 5 })) : e.initialized && e.renderView === "AuthLogin" ? (N(), ht(wo, {
|
|
18375
18391
|
key: 6,
|
|
@@ -18384,28 +18400,28 @@ const Ap = { id: "ssoapp" }, Rp = {
|
|
|
18384
18400
|
key: 9,
|
|
18385
18401
|
isModal: n.isModal,
|
|
18386
18402
|
payload: n.payload
|
|
18387
|
-
}, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(), ht(Eo, { key: 10 })) : e.initialized && e.renderView === "AuthCallback" ? (N(), ht(To, { key: 11 })) : e.display !== "npm" ? (N(), ht(Bi(ji), { key: 12 })) :
|
|
18388
|
-
_("div",
|
|
18389
|
-
_("p",
|
|
18390
|
-
_("span",
|
|
18403
|
+
}, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(), ht(Eo, { key: 10 })) : e.initialized && e.renderView === "AuthCallback" ? (N(), ht(To, { key: 11 })) : e.display !== "npm" ? (N(), ht(Bi(ji), { key: 12 })) : pe("", !0),
|
|
18404
|
+
_("div", zp, [
|
|
18405
|
+
_("p", xp, [
|
|
18406
|
+
_("span", Up, Q(e.ssoLang[e.appLanguage].error), 1),
|
|
18391
18407
|
_("a", {
|
|
18392
18408
|
onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18393
18409
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
18394
|
-
},
|
|
18410
|
+
}, Dp)
|
|
18395
18411
|
]),
|
|
18396
|
-
_("p",
|
|
18397
|
-
_("span",
|
|
18412
|
+
_("p", Hp, [
|
|
18413
|
+
_("span", jp, Q(e.ssoLang[e.appLanguage].success), 1),
|
|
18398
18414
|
_("a", {
|
|
18399
18415
|
onClick: t[2] || (t[2] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18400
18416
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
18401
|
-
},
|
|
18417
|
+
}, qp)
|
|
18402
18418
|
])
|
|
18403
18419
|
])
|
|
18404
18420
|
]));
|
|
18405
18421
|
}
|
|
18406
|
-
}),
|
|
18422
|
+
}), oh = {
|
|
18407
18423
|
install: (n, { store: e, apiRoot: t }) => {
|
|
18408
|
-
n.component("TapniAuth",
|
|
18424
|
+
n.component("TapniAuth", Gp), e.hasModule("auth") || e.registerModule("auth", ho), n.config.globalProperties.$apiRoot = t;
|
|
18409
18425
|
}
|
|
18410
18426
|
};
|
|
18411
18427
|
export {
|
|
@@ -18413,5 +18429,5 @@ export {
|
|
|
18413
18429
|
q as E,
|
|
18414
18430
|
Gs as Q,
|
|
18415
18431
|
mt as _,
|
|
18416
|
-
|
|
18432
|
+
oh as i
|
|
18417
18433
|
};
|