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