@tapni/auth 1.0.52 → 1.0.53
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 +10 -10
- package/dist/{Apps-WVb4S3LS.js → Apps-CZ2op1LG.js} +1 -1
- package/dist/{Billing-C8WFpUFn.js → Billing-DV1Hs3lz.js} +1 -1
- package/dist/{CustomApp-LUQvCaYr.js → CustomApp-BYs5VWm4.js} +1 -1
- package/dist/{QR-C6K2Z3Ey.js → QR-Df7yi4HX.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +4 -4
- package/dist/{install-Bwa_1dZE.js → install-CxwvMS0_.js} +201 -191
- package/package.json +65 -65
- package/src/App.vue +241 -258
- package/src/views/General.vue +10 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as Hr, readonly as xi, resolveComponent as rn, openBlock as O, createElementBlock as U, createElementVNode as _, toDisplayString as B, createCommentVNode as le, createVNode as gt, withCtx as et, createTextVNode as Ee, createStaticVNode as Ui, nextTick as So, withModifiers as Xe, normalizeStyle as
|
|
1
|
+
import { reactive as Hr, readonly as xi, resolveComponent as rn, openBlock as O, createElementBlock as U, createElementVNode as _, toDisplayString as B, createCommentVNode as le, createVNode as gt, withCtx as et, createTextVNode as Ee, createStaticVNode as Ui, nextTick as So, withModifiers as Xe, normalizeStyle as or, withDirectives as _e, withKeys as mn, vModelText as ct, vModelDynamic as fr, vShow as kt, createBlock as ze, normalizeClass as fn, vModelCheckbox as Io, defineComponent as ei, mergeModels as Ao, useModel as Bi, ref as wn, computed as Ro, watch as io, onMounted as Di, onBeforeUnmount as ji, renderSlot as Wt, Fragment as Fr, renderList as qr, Teleport as Hi, unref as Fi } from "vue";
|
|
2
2
|
import { createRouter as qi, createWebHistory as Ki, RouterView as Gi } from "vue-router";
|
|
3
3
|
import { createNamespacedHelpers as Vi, createStore as Qi } from "vuex";
|
|
4
4
|
import { Capacitor as Gn, registerPlugin as Ar, WebPlugin as $i } from "@capacitor/core";
|
|
@@ -7,7 +7,7 @@ import ao from "axios";
|
|
|
7
7
|
import { jwtDecode as ti } from "jwt-decode";
|
|
8
8
|
import { Device as Kr } from "@capacitor/device";
|
|
9
9
|
import { sha256 as ni } from "js-sha256";
|
|
10
|
-
import { Browser as
|
|
10
|
+
import { Browser as mr } from "@capacitor/browser";
|
|
11
11
|
import ri from "qr-code-styling";
|
|
12
12
|
import { sanitizeUrl as Yi } from "@braintree/sanitize-url";
|
|
13
13
|
function Wi(n) {
|
|
@@ -62,18 +62,18 @@ function Ji(n) {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var Xt = [], Un = !1, Cn,
|
|
65
|
+
var Xt = [], Un = !1, Cn, hr = -1;
|
|
66
66
|
function Xi() {
|
|
67
|
-
!Un || !Cn || (Un = !1, Cn.length ? Xt = Cn.concat(Xt) :
|
|
67
|
+
!Un || !Cn || (Un = !1, Cn.length ? Xt = Cn.concat(Xt) : hr = -1, Xt.length && ai());
|
|
68
68
|
}
|
|
69
69
|
function ai() {
|
|
70
70
|
if (!Un) {
|
|
71
71
|
var n = ii(Xi);
|
|
72
72
|
Un = !0;
|
|
73
73
|
for (var e = Xt.length; e; ) {
|
|
74
|
-
for (Cn = Xt, Xt = []; ++
|
|
75
|
-
Cn && Cn[
|
|
76
|
-
|
|
74
|
+
for (Cn = Xt, Xt = []; ++hr < e; )
|
|
75
|
+
Cn && Cn[hr].run();
|
|
76
|
+
hr = -1, e = Xt.length;
|
|
77
77
|
}
|
|
78
78
|
Cn = null, Un = !1, Ji(n);
|
|
79
79
|
}
|
|
@@ -1144,19 +1144,19 @@ co.write = function(n, e, t, r, o, i) {
|
|
|
1144
1144
|
throw new Error("BigInt not supported");
|
|
1145
1145
|
}
|
|
1146
1146
|
})(so);
|
|
1147
|
-
const bn = so.Buffer, la = so.Buffer,
|
|
1147
|
+
const bn = so.Buffer, la = so.Buffer, ur = Hr(/* @__PURE__ */ new Map()), ne = {
|
|
1148
1148
|
$on(n, e) {
|
|
1149
|
-
let t =
|
|
1150
|
-
t || (t = /* @__PURE__ */ new Set(),
|
|
1149
|
+
let t = ur.get(n);
|
|
1150
|
+
t || (t = /* @__PURE__ */ new Set(), ur.set(n, t)), t.add(e);
|
|
1151
1151
|
},
|
|
1152
1152
|
$emit(n, ...e) {
|
|
1153
|
-
const t =
|
|
1153
|
+
const t = ur.get(n);
|
|
1154
1154
|
if (t)
|
|
1155
1155
|
for (const r of t)
|
|
1156
1156
|
r(...e);
|
|
1157
1157
|
},
|
|
1158
1158
|
$off(n, e) {
|
|
1159
|
-
const t =
|
|
1159
|
+
const t = ur.get(n);
|
|
1160
1160
|
t && t.delete(e);
|
|
1161
1161
|
}
|
|
1162
1162
|
};
|
|
@@ -1391,7 +1391,7 @@ function wa(n, e, t, r, o, i) {
|
|
|
1391
1391
|
const lo = /* @__PURE__ */ an(fa, [["render", wa], ["__scopeId", "data-v-cb61958b"]]), ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1392
1392
|
__proto__: null,
|
|
1393
1393
|
default: lo
|
|
1394
|
-
}, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.
|
|
1394
|
+
}, Symbol.toStringTag, { value: "Module" })), Ca = "1.0.53", qn = {
|
|
1395
1395
|
getMe() {
|
|
1396
1396
|
return pe().get("/users/me");
|
|
1397
1397
|
},
|
|
@@ -5828,7 +5828,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5828
5828
|
app_region: "지역",
|
|
5829
5829
|
app_region_p: "맞춤형 결제 및 지원을 위해 지역을 선택하세요"
|
|
5830
5830
|
}
|
|
5831
|
-
}, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() =>
|
|
5831
|
+
}, Mo = () => Promise.resolve().then(() => ka), Ta = () => Promise.resolve().then(() => Rc), Sa = () => Promise.resolve().then(() => Al), Ia = () => Promise.resolve().then(() => ip), Aa = () => Promise.resolve().then(() => tl), Ra = () => Promise.resolve().then(() => ql), Pa = () => Promise.resolve().then(() => dp), Ma = () => import("./QR-Df7yi4HX.js"), Na = () => Promise.resolve().then(() => Ku), Oa = () => import("./Apps-CZ2op1LG.js"), La = () => import("./Billing-DV1Hs3lz.js"), za = () => import("./CustomApp-BYs5VWm4.js"), xa = () => Promise.resolve().then(() => Pd), Ua = [
|
|
5832
5832
|
{
|
|
5833
5833
|
path: "/welcome",
|
|
5834
5834
|
name: "AuthWelcome",
|
|
@@ -6821,11 +6821,11 @@ var b = {
|
|
|
6821
6821
|
ID_TOKEN_RESPONSE_TYPE: "id_token",
|
|
6822
6822
|
SHR_NONCE_VALIDITY: 240,
|
|
6823
6823
|
INVALID_INSTANCE: "invalid_instance"
|
|
6824
|
-
},
|
|
6824
|
+
}, ir = [
|
|
6825
6825
|
b.OPENID_SCOPE,
|
|
6826
6826
|
b.PROFILE_SCOPE,
|
|
6827
6827
|
b.OFFLINE_ACCESS_SCOPE
|
|
6828
|
-
], zo = Pr(
|
|
6828
|
+
], zo = Pr(ir, [
|
|
6829
6829
|
b.EMAIL_SCOPE
|
|
6830
6830
|
]), _t;
|
|
6831
6831
|
(function(n) {
|
|
@@ -6861,14 +6861,14 @@ var Ze = {
|
|
|
6861
6861
|
var xo = {
|
|
6862
6862
|
PLAIN: "plain",
|
|
6863
6863
|
S256: "S256"
|
|
6864
|
-
},
|
|
6864
|
+
}, gr;
|
|
6865
6865
|
(function(n) {
|
|
6866
6866
|
n.QUERY = "query", n.FRAGMENT = "fragment", n.FORM_POST = "form_post";
|
|
6867
|
-
})(
|
|
6868
|
-
var
|
|
6867
|
+
})(gr || (gr = {}));
|
|
6868
|
+
var _r;
|
|
6869
6869
|
(function(n) {
|
|
6870
6870
|
n.IMPLICIT_GRANT = "implicit", n.AUTHORIZATION_CODE_GRANT = "authorization_code", n.CLIENT_CREDENTIALS_GRANT = "client_credentials", n.RESOURCE_OWNER_PASSWORD_GRANT = "password", n.REFRESH_TOKEN_GRANT = "refresh_token", n.DEVICE_CODE_GRANT = "device_code", n.JWT_BEARER = "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
6871
|
-
})(
|
|
6871
|
+
})(_r || (_r = {}));
|
|
6872
6872
|
var Jt;
|
|
6873
6873
|
(function(n) {
|
|
6874
6874
|
n.MSSTS_ACCOUNT_TYPE = "MSSTS", n.ADFS_ACCOUNT_TYPE = "ADFS", n.MSAV1_ACCOUNT_TYPE = "MSA", n.GENERIC_ACCOUNT_TYPE = "Generic";
|
|
@@ -6920,10 +6920,10 @@ var Yn = {
|
|
|
6920
6920
|
}, Uo = {
|
|
6921
6921
|
INVALID_GRANT_ERROR: "invalid_grant",
|
|
6922
6922
|
CLIENT_MISMATCH_ERROR: "client_mismatch"
|
|
6923
|
-
},
|
|
6923
|
+
}, vr;
|
|
6924
6924
|
(function(n) {
|
|
6925
6925
|
n.username = "username", n.password = "password";
|
|
6926
|
-
})(
|
|
6926
|
+
})(vr || (vr = {}));
|
|
6927
6927
|
var Nn;
|
|
6928
6928
|
(function(n) {
|
|
6929
6929
|
n[n.httpSuccess = 200] = "httpSuccess", n[n.httpBadRequest = 400] = "httpBadRequest";
|
|
@@ -6945,7 +6945,7 @@ var Jr;
|
|
|
6945
6945
|
n.Jwt = "JWT", n.Jwk = "JWK", n.Pop = "pop";
|
|
6946
6946
|
})(Jr || (Jr = {}));
|
|
6947
6947
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
6948
|
-
var
|
|
6948
|
+
var dr = {
|
|
6949
6949
|
unexpectedError: {
|
|
6950
6950
|
code: "unexpected_error",
|
|
6951
6951
|
desc: "Unexpected error in authentication."
|
|
@@ -6965,14 +6965,14 @@ var ur = {
|
|
|
6965
6965
|
return e.prototype.setCorrelationId = function(t) {
|
|
6966
6966
|
this.correlationId = t;
|
|
6967
6967
|
}, e.createUnexpectedError = function(t) {
|
|
6968
|
-
return new e(
|
|
6968
|
+
return new e(dr.unexpectedError.code, dr.unexpectedError.desc + ": " + t);
|
|
6969
6969
|
}, e.createPostRequestFailed = function(t) {
|
|
6970
|
-
return new e(
|
|
6970
|
+
return new e(dr.postRequestFailed.code, dr.postRequestFailed.desc + ": " + t);
|
|
6971
6971
|
}, e;
|
|
6972
6972
|
}(Error)
|
|
6973
6973
|
);
|
|
6974
6974
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
6975
|
-
var
|
|
6975
|
+
var yr = {
|
|
6976
6976
|
createNewGuid: function() {
|
|
6977
6977
|
var n = "Crypto interface - createNewGuid() has not been implemented";
|
|
6978
6978
|
throw X.createUnexpectedError(n);
|
|
@@ -7746,7 +7746,7 @@ var Je = (
|
|
|
7746
7746
|
}()
|
|
7747
7747
|
);
|
|
7748
7748
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7749
|
-
function
|
|
7749
|
+
function br(n, e) {
|
|
7750
7750
|
if (Q.isEmpty(n))
|
|
7751
7751
|
throw $.createClientInfoEmptyError();
|
|
7752
7752
|
try {
|
|
@@ -7843,7 +7843,7 @@ var Qe = (
|
|
|
7843
7843
|
return s;
|
|
7844
7844
|
if (e)
|
|
7845
7845
|
try {
|
|
7846
|
-
var l =
|
|
7846
|
+
var l = br(e, o);
|
|
7847
7847
|
if (!Q.isEmpty(l.uid) && !Q.isEmpty(l.utid))
|
|
7848
7848
|
return "" + l.uid + He.CLIENT_INFO_SEPARATOR + l.utid;
|
|
7849
7849
|
} catch {
|
|
@@ -8394,9 +8394,9 @@ function Wa(n) {
|
|
|
8394
8394
|
systemOptions: ye(ye({}, bi), t),
|
|
8395
8395
|
loggerOptions: E,
|
|
8396
8396
|
cacheOptions: ye(ye({}, Ka), o),
|
|
8397
|
-
storageInterface: i || new Ha(e.clientId,
|
|
8397
|
+
storageInterface: i || new Ha(e.clientId, yr, new ho(E)),
|
|
8398
8398
|
networkInterface: a || Ga,
|
|
8399
|
-
cryptoInterface: s ||
|
|
8399
|
+
cryptoInterface: s || yr,
|
|
8400
8400
|
clientCredentials: l || Qa,
|
|
8401
8401
|
libraryInfo: ye(ye({}, Va), p),
|
|
8402
8402
|
telemetry: ye(ye({}, Ya), u),
|
|
@@ -8421,7 +8421,7 @@ var An = (
|
|
|
8421
8421
|
}(X)
|
|
8422
8422
|
);
|
|
8423
8423
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8424
|
-
var
|
|
8424
|
+
var wr = (
|
|
8425
8425
|
/** @class */
|
|
8426
8426
|
function() {
|
|
8427
8427
|
function n() {
|
|
@@ -8485,7 +8485,7 @@ var Xa = (
|
|
|
8485
8485
|
return se(this, function(a) {
|
|
8486
8486
|
switch (a.label) {
|
|
8487
8487
|
case 0:
|
|
8488
|
-
|
|
8488
|
+
wr.preProcess(this.cacheManager, e), a.label = 1;
|
|
8489
8489
|
case 1:
|
|
8490
8490
|
return a.trys.push([1, 3, , 4]), [4, this.networkClient.sendPostRequestAsync(t, r)];
|
|
8491
8491
|
case 2:
|
|
@@ -8493,7 +8493,7 @@ var Xa = (
|
|
|
8493
8493
|
case 3:
|
|
8494
8494
|
throw i = a.sent(), i instanceof X ? i : $.createNetworkError(t, i);
|
|
8495
8495
|
case 4:
|
|
8496
|
-
return
|
|
8496
|
+
return wr.postProcess(this.cacheManager, e, o), [2, o];
|
|
8497
8497
|
}
|
|
8498
8498
|
});
|
|
8499
8499
|
});
|
|
@@ -8558,12 +8558,12 @@ var Jn = (
|
|
|
8558
8558
|
}, n.prototype.addResponseTypeForTokenAndIdToken = function() {
|
|
8559
8559
|
this.parameters.set(ce.RESPONSE_TYPE, encodeURIComponent(b.TOKEN_RESPONSE_TYPE + " " + b.ID_TOKEN_RESPONSE_TYPE));
|
|
8560
8560
|
}, n.prototype.addResponseMode = function(e) {
|
|
8561
|
-
this.parameters.set(ce.RESPONSE_MODE, encodeURIComponent(e ||
|
|
8561
|
+
this.parameters.set(ce.RESPONSE_MODE, encodeURIComponent(e || gr.QUERY));
|
|
8562
8562
|
}, n.prototype.addNativeBroker = function() {
|
|
8563
8563
|
this.parameters.set(ce.NATIVE_BROKER, encodeURIComponent("1"));
|
|
8564
8564
|
}, n.prototype.addScopes = function(e, t) {
|
|
8565
8565
|
t === void 0 && (t = !0);
|
|
8566
|
-
var r = t ? Pr(e || [],
|
|
8566
|
+
var r = t ? Pr(e || [], ir) : e || [], o = new Je(r);
|
|
8567
8567
|
this.parameters.set(ce.SCOPE, encodeURIComponent(o.printScopes()));
|
|
8568
8568
|
}, n.prototype.addClientId = function(e) {
|
|
8569
8569
|
this.parameters.set(ce.CLIENT_ID, encodeURIComponent(e));
|
|
@@ -8644,9 +8644,9 @@ var Jn = (
|
|
|
8644
8644
|
values: t
|
|
8645
8645
|
}), JSON.stringify(r);
|
|
8646
8646
|
}, n.prototype.addUsername = function(e) {
|
|
8647
|
-
this.parameters.set(
|
|
8647
|
+
this.parameters.set(vr.username, encodeURIComponent(e));
|
|
8648
8648
|
}, n.prototype.addPassword = function(e) {
|
|
8649
|
-
this.parameters.set(
|
|
8649
|
+
this.parameters.set(vr.password, encodeURIComponent(e));
|
|
8650
8650
|
}, n.prototype.addPopToken = function(e) {
|
|
8651
8651
|
Q.isEmpty(e) || (this.parameters.set(ce.TOKEN_TYPE, ke.POP), this.parameters.set(ce.REQ_CNF, encodeURIComponent(e)));
|
|
8652
8652
|
}, n.prototype.addSshJwk = function(e) {
|
|
@@ -9034,10 +9034,10 @@ var R;
|
|
|
9034
9034
|
(function(n) {
|
|
9035
9035
|
n.AcquireTokenByCode = "acquireTokenByCode", n.AcquireTokenByRefreshToken = "acquireTokenByRefreshToken", n.AcquireTokenSilent = "acquireTokenSilent", n.AcquireTokenSilentAsync = "acquireTokenSilentAsync", n.AcquireTokenPopup = "acquireTokenPopup", n.CryptoOptsGetPublicKeyThumbprint = "cryptoOptsGetPublicKeyThumbprint", n.CryptoOptsSignJwt = "cryptoOptsSignJwt", n.SilentCacheClientAcquireToken = "silentCacheClientAcquireToken", n.SilentIframeClientAcquireToken = "silentIframeClientAcquireToken", n.SilentRefreshClientAcquireToken = "silentRefreshClientAcquireToken", n.SsoSilent = "ssoSilent", n.StandardInteractionClientGetDiscoveredAuthority = "standardInteractionClientGetDiscoveredAuthority", n.FetchAccountIdWithNativeBroker = "fetchAccountIdWithNativeBroker", n.NativeInteractionClientAcquireToken = "nativeInteractionClientAcquireToken", n.BaseClientCreateTokenRequestHeaders = "baseClientCreateTokenRequestHeaders", n.BrokerHandhshake = "brokerHandshake", n.AcquireTokenByRefreshTokenInBroker = "acquireTokenByRefreshTokenInBroker", n.AcquireTokenByBroker = "acquireTokenByBroker", n.RefreshTokenClientExecuteTokenRequest = "refreshTokenClientExecuteTokenRequest", n.RefreshTokenClientAcquireToken = "refreshTokenClientAcquireToken", n.RefreshTokenClientAcquireTokenWithCachedRefreshToken = "refreshTokenClientAcquireTokenWithCachedRefreshToken", n.RefreshTokenClientAcquireTokenByRefreshToken = "refreshTokenClientAcquireTokenByRefreshToken", n.RefreshTokenClientCreateTokenRequestBody = "refreshTokenClientCreateTokenRequestBody", n.AcquireTokenFromCache = "acquireTokenFromCache", n.AcquireTokenBySilentIframe = "acquireTokenBySilentIframe", n.InitializeBaseRequest = "initializeBaseRequest", n.InitializeSilentRequest = "initializeSilentRequest", n.InitializeClientApplication = "initializeClientApplication", n.SilentIframeClientTokenHelper = "silentIframeClientTokenHelper", n.SilentHandlerInitiateAuthRequest = "silentHandlerInitiateAuthRequest", n.SilentHandlerMonitorIframeForHash = "silentHandlerMonitorIframeForHash", n.SilentHandlerLoadFrame = "silentHandlerLoadFrame", n.StandardInteractionClientCreateAuthCodeClient = "standardInteractionClientCreateAuthCodeClient", n.StandardInteractionClientGetClientConfiguration = "standardInteractionClientGetClientConfiguration", n.StandardInteractionClientInitializeAuthorizationRequest = "standardInteractionClientInitializeAuthorizationRequest", n.StandardInteractionClientInitializeAuthorizationCodeRequest = "standardInteractionClientInitializeAuthorizationCodeRequest", n.GetAuthCodeUrl = "getAuthCodeUrl", n.HandleCodeResponseFromServer = "handleCodeResponseFromServer", n.HandleCodeResponseFromHash = "handleCodeResponseFromHash", n.UpdateTokenEndpointAuthority = "updateTokenEndpointAuthority", n.AuthClientAcquireToken = "authClientAcquireToken", n.AuthClientExecuteTokenRequest = "authClientExecuteTokenRequest", n.AuthClientCreateTokenRequestBody = "authClientCreateTokenRequestBody", n.AuthClientCreateQueryString = "authClientCreateQueryString", n.PopTokenGenerateCnf = "popTokenGenerateCnf", n.PopTokenGenerateKid = "popTokenGenerateKid", n.HandleServerTokenResponse = "handleServerTokenResponse", n.AuthorityFactoryCreateDiscoveredInstance = "authorityFactoryCreateDiscoveredInstance", n.AuthorityResolveEndpointsAsync = "authorityResolveEndpointsAsync", n.AuthorityGetCloudDiscoveryMetadataFromNetwork = "authorityGetCloudDiscoveryMetadataFromNetwork", n.AuthorityUpdateCloudDiscoveryMetadata = "authorityUpdateCloudDiscoveryMetadata", n.AuthorityGetEndpointMetadataFromNetwork = "authorityGetEndpointMetadataFromNetwork", n.AuthorityUpdateEndpointMetadata = "authorityUpdateEndpointMetadata", n.AuthorityUpdateMetadataWithRegionalInformation = "authorityUpdateMetadataWithRegionalInformation", n.RegionDiscoveryDetectRegion = "regionDiscoveryDetectRegion", n.RegionDiscoveryGetRegionFromIMDS = "regionDiscoveryGetRegionFromIMDS", n.RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion", n.AcquireTokenByCodeAsync = "acquireTokenByCodeAsync", n.GetEndpointMetadataFromNetwork = "getEndpointMetadataFromNetwork", n.GetCloudDiscoveryMetadataFromNetworkMeasurement = "getCloudDiscoveryMetadataFromNetworkMeasurement", n.HandleRedirectPromiseMeasurement = "handleRedirectPromiseMeasurement", n.UpdateCloudDiscoveryMetadataMeasurement = "updateCloudDiscoveryMetadataMeasurement", n.UsernamePasswordClientAcquireToken = "usernamePasswordClientAcquireToken", n.NativeMessageHandlerHandshake = "nativeMessageHandlerHandshake", n.ClearTokensAndKeysWithClaims = "clearTokensAndKeysWithClaims";
|
|
9036
9036
|
})(R || (R = {}));
|
|
9037
|
-
var
|
|
9037
|
+
var kr;
|
|
9038
9038
|
(function(n) {
|
|
9039
9039
|
n[n.NotStarted = 0] = "NotStarted", n[n.InProgress = 1] = "InProgress", n[n.Completed = 2] = "Completed";
|
|
9040
|
-
})(
|
|
9040
|
+
})(kr || (kr = {}));
|
|
9041
9041
|
var es = /* @__PURE__ */ new Set([
|
|
9042
9042
|
"accessTokenSize",
|
|
9043
9043
|
"durationMs",
|
|
@@ -9167,7 +9167,7 @@ var ts = (
|
|
|
9167
9167
|
}()
|
|
9168
9168
|
);
|
|
9169
9169
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9170
|
-
var
|
|
9170
|
+
var Cr = (
|
|
9171
9171
|
/** @class */
|
|
9172
9172
|
function() {
|
|
9173
9173
|
function n(e, t, r, o, i, a, s) {
|
|
@@ -9180,7 +9180,7 @@ var kr = (
|
|
|
9180
9180
|
throw $.createStateMismatchError();
|
|
9181
9181
|
if (e.error || e.error_description || e.suberror)
|
|
9182
9182
|
throw Mt.isInteractionRequiredError(e.error, e.error_description, e.suberror) ? new Mt(e.error || b.EMPTY_STRING, e.error_description, e.suberror, e.timestamp || b.EMPTY_STRING, e.trace_id || b.EMPTY_STRING, e.correlation_id || b.EMPTY_STRING, e.claims || b.EMPTY_STRING) : new An(e.error || b.EMPTY_STRING, e.error_description, e.suberror);
|
|
9183
|
-
e.client_info &&
|
|
9183
|
+
e.client_info && br(e.client_info, r);
|
|
9184
9184
|
}, n.prototype.validateTokenResponse = function(e) {
|
|
9185
9185
|
if (e.error || e.error_description || e.suberror) {
|
|
9186
9186
|
if (Mt.isInteractionRequiredError(e.error, e.error_description, e.suberror))
|
|
@@ -9331,7 +9331,7 @@ var wi = (
|
|
|
9331
9331
|
case 1:
|
|
9332
9332
|
return f = G.sent(), k = (s = f.headers) === null || s === void 0 ? void 0 : s[_t.X_MS_REQUEST_ID], E = (l = f.headers) === null || l === void 0 ? void 0 : l[_t.X_MS_HTTP_VERSION], E && (u == null || u.addStaticFields({
|
|
9333
9333
|
httpVerAuthority: E
|
|
9334
|
-
})), P = new
|
|
9334
|
+
})), P = new Cr(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin, this.performanceClient), P.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(R.HandleServerTokenResponse, t.correlationId), [2, P.handleServerTokenResponse(f.body, this.authority, m, t, r, void 0, void 0, void 0, k).then(function(x) {
|
|
9335
9335
|
return u == null || u.endMeasurement({
|
|
9336
9336
|
success: !0
|
|
9337
9337
|
}), x;
|
|
@@ -9346,7 +9346,7 @@ var wi = (
|
|
|
9346
9346
|
});
|
|
9347
9347
|
});
|
|
9348
9348
|
}, e.prototype.handleFragmentResponse = function(t, r) {
|
|
9349
|
-
var o = new
|
|
9349
|
+
var o = new Cr(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, null, null), i = new he(t), a = he.getDeserializedHash(i.getHash());
|
|
9350
9350
|
if (o.validateServerAuthorizationCodeResponse(a, r, this.cryptoUtils), !a.code)
|
|
9351
9351
|
throw $.createNoAuthCodeInServerResponseError();
|
|
9352
9352
|
return ye(ye({}, a), {
|
|
@@ -9369,7 +9369,7 @@ var wi = (
|
|
|
9369
9369
|
case 1:
|
|
9370
9370
|
if (l = k.sent(), p = void 0, r.clientInfo)
|
|
9371
9371
|
try {
|
|
9372
|
-
u =
|
|
9372
|
+
u = br(r.clientInfo, this.cryptoUtils), p = {
|
|
9373
9373
|
credential: "" + u.uid + He.CLIENT_INFO_SEPARATOR + u.utid,
|
|
9374
9374
|
type: mt.HOME_ACCOUNT_ID
|
|
9375
9375
|
};
|
|
@@ -9397,7 +9397,7 @@ var wi = (
|
|
|
9397
9397
|
return se(this, function(k) {
|
|
9398
9398
|
switch (k.label) {
|
|
9399
9399
|
case 0:
|
|
9400
|
-
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.AuthClientCreateTokenRequestBody, t.correlationId), i = new Jn(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : kn.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(
|
|
9400
|
+
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.AuthClientCreateTokenRequestBody, t.correlationId), i = new Jn(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : kn.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(_r.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== ke.POP ? [3, 2] : (s = new Dn(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(R.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
|
|
9401
9401
|
case 1:
|
|
9402
9402
|
return l = k.sent(), i.addPopToken(l.reqCnfString), [3, 3];
|
|
9403
9403
|
case 2:
|
|
@@ -9410,7 +9410,7 @@ var wi = (
|
|
|
9410
9410
|
case 3:
|
|
9411
9411
|
if (p = t.correlationId || this.config.cryptoInterface.createNewGuid(), i.addCorrelationId(p), (!Q.isEmptyObj(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && i.addClaims(t.claims, this.config.authOptions.clientCapabilities), u = void 0, t.clientInfo)
|
|
9412
9412
|
try {
|
|
9413
|
-
m =
|
|
9413
|
+
m = br(t.clientInfo, this.cryptoUtils), u = {
|
|
9414
9414
|
credential: "" + m.uid + He.CLIENT_INFO_SEPARATOR + m.utid,
|
|
9415
9415
|
type: mt.HOME_ACCOUNT_ID
|
|
9416
9416
|
};
|
|
@@ -9515,7 +9515,7 @@ var ki = (
|
|
|
9515
9515
|
refreshTokenSize: ((s = f.body.refresh_token) === null || s === void 0 ? void 0 : s.length) || 0
|
|
9516
9516
|
}), k && (u == null || u.addStaticFields({
|
|
9517
9517
|
httpVerToken: k
|
|
9518
|
-
})), E = (l = f.headers) === null || l === void 0 ? void 0 : l[_t.X_MS_REQUEST_ID], P = new
|
|
9518
|
+
})), E = (l = f.headers) === null || l === void 0 ? void 0 : l[_t.X_MS_REQUEST_ID], P = new Cr(this.config.authOptions.clientId, this.cacheManager, this.cryptoUtils, this.logger, this.config.serializableCache, this.config.persistencePlugin), P.validateTokenResponse(f.body), (p = this.performanceClient) === null || p === void 0 || p.setPreQueueTime(R.HandleServerTokenResponse, t.correlationId), [2, P.handleServerTokenResponse(f.body, this.authority, m, t, void 0, void 0, !0, t.forceCache, E).then(function(x) {
|
|
9519
9519
|
return u == null || u.endMeasurement({
|
|
9520
9520
|
success: !0
|
|
9521
9521
|
}), x;
|
|
@@ -9602,7 +9602,7 @@ var ki = (
|
|
|
9602
9602
|
return se(this, function(k) {
|
|
9603
9603
|
switch (k.label) {
|
|
9604
9604
|
case 0:
|
|
9605
|
-
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(R.BaseClientCreateTokenRequestHeaders, a), l = new Jn(), l.addClientId(this.config.authOptions.clientId), l.addScopes(t.scopes), l.addGrantType(
|
|
9605
|
+
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(R.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(R.BaseClientCreateTokenRequestHeaders, a), l = new Jn(), l.addClientId(this.config.authOptions.clientId), l.addScopes(t.scopes), l.addGrantType(_r.REFRESH_TOKEN_GRANT), l.addClientInfo(), l.addLibraryInfo(this.config.libraryInfo), l.addApplicationTelemetry(this.config.telemetry.application), l.addThrottling(), this.serverTelemetryManager && l.addServerTelemetry(this.serverTelemetryManager), l.addCorrelationId(a), l.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && l.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, l.addClientAssertion(p.assertion), l.addClientAssertionType(p.assertionType)), t.authenticationScheme !== ke.POP ? [3, 2] : (u = new Dn(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(R.PopTokenGenerateCnf, t.correlationId), [4, u.generateCnf(t)]);
|
|
9606
9606
|
case 1:
|
|
9607
9607
|
return m = k.sent(), l.addPopToken(m.reqCnfString), [3, 3];
|
|
9608
9608
|
case 2:
|
|
@@ -9704,7 +9704,7 @@ var ns = (
|
|
|
9704
9704
|
throw $.createAuthTimeNotFoundError();
|
|
9705
9705
|
Vt.checkMaxAge(i, r.maxAge);
|
|
9706
9706
|
}
|
|
9707
|
-
return [4,
|
|
9707
|
+
return [4, Cr.generateAuthenticationResult(this.cryptoUtils, this.authority, t, !0, r, o)];
|
|
9708
9708
|
case 1:
|
|
9709
9709
|
return [2, a.sent()];
|
|
9710
9710
|
}
|
|
@@ -10224,7 +10224,7 @@ Error Description: ` + p.message)), [2, null];
|
|
|
10224
10224
|
}()
|
|
10225
10225
|
);
|
|
10226
10226
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10227
|
-
var
|
|
10227
|
+
var Er = (
|
|
10228
10228
|
/** @class */
|
|
10229
10229
|
function() {
|
|
10230
10230
|
function n() {
|
|
@@ -10258,7 +10258,7 @@ var Cr = (
|
|
|
10258
10258
|
}()
|
|
10259
10259
|
);
|
|
10260
10260
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10261
|
-
var
|
|
10261
|
+
var Tr = (
|
|
10262
10262
|
/** @class */
|
|
10263
10263
|
function() {
|
|
10264
10264
|
function n() {
|
|
@@ -10296,7 +10296,7 @@ var ss = {
|
|
|
10296
10296
|
}
|
|
10297
10297
|
};
|
|
10298
10298
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10299
|
-
var
|
|
10299
|
+
var pr = {
|
|
10300
10300
|
missingKidError: {
|
|
10301
10301
|
code: "missing_kid_error",
|
|
10302
10302
|
desc: "The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."
|
|
@@ -10314,9 +10314,9 @@ var dr = {
|
|
|
10314
10314
|
return o.name = "JoseHeaderError", Object.setPrototypeOf(o, e.prototype), o;
|
|
10315
10315
|
}
|
|
10316
10316
|
return e.createMissingKidError = function() {
|
|
10317
|
-
return new e(
|
|
10317
|
+
return new e(pr.missingKidError.code, pr.missingKidError.desc);
|
|
10318
10318
|
}, e.createMissingAlgError = function() {
|
|
10319
|
-
return new e(
|
|
10319
|
+
return new e(pr.missingAlgError.code, pr.missingAlgError.desc);
|
|
10320
10320
|
}, e;
|
|
10321
10321
|
}(X)
|
|
10322
10322
|
);
|
|
@@ -10362,14 +10362,14 @@ var ls = (
|
|
|
10362
10362
|
var e = this.getLastRequests();
|
|
10363
10363
|
return e.cacheHits += 1, this.cacheManager.setServerTelemetry(this.telemetryCacheKey, e), e.cacheHits;
|
|
10364
10364
|
}, n.prototype.getLastRequests = function() {
|
|
10365
|
-
var e = new
|
|
10365
|
+
var e = new Tr(), t = this.cacheManager.getServerTelemetry(this.telemetryCacheKey);
|
|
10366
10366
|
return t || e;
|
|
10367
10367
|
}, n.prototype.clearTelemetryCache = function() {
|
|
10368
10368
|
var e = this.getLastRequests(), t = n.maxErrorsToSend(e), r = e.errors.length;
|
|
10369
10369
|
if (t === r)
|
|
10370
10370
|
this.cacheManager.removeItem(this.telemetryCacheKey);
|
|
10371
10371
|
else {
|
|
10372
|
-
var o = new
|
|
10372
|
+
var o = new Tr();
|
|
10373
10373
|
o.failedRequests = e.failedRequests.slice(t * 2), o.errors = e.errors.slice(t), this.cacheManager.setServerTelemetry(this.telemetryCacheKey, o);
|
|
10374
10374
|
}
|
|
10375
10375
|
}, n.maxErrorsToSend = function(e) {
|
|
@@ -10446,7 +10446,7 @@ var Ei = (
|
|
|
10446
10446
|
s.startMeasurement();
|
|
10447
10447
|
var l = {
|
|
10448
10448
|
eventId: this.generateId(),
|
|
10449
|
-
status:
|
|
10449
|
+
status: kr.InProgress,
|
|
10450
10450
|
authority: this.authority,
|
|
10451
10451
|
libraryName: this.libraryName,
|
|
10452
10452
|
libraryVersion: this.libraryVersion,
|
|
@@ -10491,7 +10491,7 @@ var Ei = (
|
|
|
10491
10491
|
var u = ye(ye({}, a), e), m = 0;
|
|
10492
10492
|
return (i = u.incompleteSubMeasurements) === null || i === void 0 || i.forEach(function(f) {
|
|
10493
10493
|
r.logger.trace("PerformanceClient: Incomplete submeasurement " + f.name + " found for " + e.name, u.correlationId), m++;
|
|
10494
|
-
}), u.incompleteSubMeasurements = void 0, u = ye(ye({}, u), { durationMs: Math.round(p), queuedTimeMs: l.totalQueueTime, queuedCount: l.totalQueueCount, queuedManuallyCompletedCount: l.manuallyCompletedCount, status:
|
|
10494
|
+
}), u.incompleteSubMeasurements = void 0, u = ye(ye({}, u), { durationMs: Math.round(p), queuedTimeMs: l.totalQueueTime, queuedCount: l.totalQueueCount, queuedManuallyCompletedCount: l.manuallyCompletedCount, status: kr.Completed, incompleteSubsCount: m }), this.truncateIntegralFields(u, this.getIntFields()), this.emitEvents([u], e.correlationId), u;
|
|
10495
10495
|
}, n.prototype.addStaticFields = function(e, t) {
|
|
10496
10496
|
this.logger.trace("PerformanceClient: Updating static fields");
|
|
10497
10497
|
var r = this.eventsByCorrelationId.get(t);
|
|
@@ -10927,7 +10927,7 @@ var Ko;
|
|
|
10927
10927
|
n.Startup = "startup", n.Login = "login", n.Logout = "logout", n.AcquireToken = "acquireToken", n.SsoSilent = "ssoSilent", n.HandleRedirect = "handleRedirect", n.None = "none";
|
|
10928
10928
|
})(Ko || (Ko = {}));
|
|
10929
10929
|
var Go = {
|
|
10930
|
-
scopes:
|
|
10930
|
+
scopes: ir
|
|
10931
10931
|
}, jn = "jwk", Vo;
|
|
10932
10932
|
(function(n) {
|
|
10933
10933
|
n.React = "@azure/msal-react", n.Angular = "@azure/msal-angular";
|
|
@@ -10970,7 +10970,7 @@ var it = {
|
|
|
10970
10970
|
code: "entropy_not_provided",
|
|
10971
10971
|
desc: "The available browser crypto interface requires entropy set via system.cryptoOptions.entropy configuration option."
|
|
10972
10972
|
}
|
|
10973
|
-
},
|
|
10973
|
+
}, Sr = (
|
|
10974
10974
|
/** @class */
|
|
10975
10975
|
function(n) {
|
|
10976
10976
|
$e(e, n);
|
|
@@ -11004,10 +11004,10 @@ var Qo = (
|
|
|
11004
11004
|
}
|
|
11005
11005
|
return n.prototype.validateWindowStorage = function(e) {
|
|
11006
11006
|
if (e !== xe.LocalStorage && e !== xe.SessionStorage)
|
|
11007
|
-
throw
|
|
11007
|
+
throw Sr.createStorageNotSupportedError(e);
|
|
11008
11008
|
var t = !!window[e];
|
|
11009
11009
|
if (!t)
|
|
11010
|
-
throw
|
|
11010
|
+
throw Sr.createStorageNotSupportedError(e);
|
|
11011
11011
|
}, n.prototype.getItem = function(e) {
|
|
11012
11012
|
return this.windowStorage.getItem(e);
|
|
11013
11013
|
}, n.prototype.setItem = function(e, t) {
|
|
@@ -11321,7 +11321,7 @@ var ro = (
|
|
|
11321
11321
|
if (!r)
|
|
11322
11322
|
return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"), null;
|
|
11323
11323
|
var o = this.validateAndParseJson(r);
|
|
11324
|
-
return !o || !
|
|
11324
|
+
return !o || !Tr.isServerTelemetryEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"), at.toObject(new Tr(), o));
|
|
11325
11325
|
}, e.prototype.setServerTelemetry = function(t, r) {
|
|
11326
11326
|
this.logger.trace("BrowserCacheManager.setServerTelemetry called"), this.setItem(t, JSON.stringify(r));
|
|
11327
11327
|
}, e.prototype.getAuthorityMetadata = function(t) {
|
|
@@ -11626,7 +11626,7 @@ var ro = (
|
|
|
11626
11626
|
cacheMigrationEnabled: !1,
|
|
11627
11627
|
claimsBasedCachingEnabled: !0
|
|
11628
11628
|
};
|
|
11629
|
-
return new ro(n, t,
|
|
11629
|
+
return new ro(n, t, yr, e);
|
|
11630
11630
|
};
|
|
11631
11631
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11632
11632
|
var Dr = "@azure/msal-browser", Zn = "2.38.3";
|
|
@@ -11938,11 +11938,11 @@ var Si = (
|
|
|
11938
11938
|
knownAuthorities: this.config.auth.knownAuthorities,
|
|
11939
11939
|
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
11940
11940
|
authorityMetadata: this.config.auth.authorityMetadata
|
|
11941
|
-
}, e ? (this.logger.verbose("Creating discovered authority with request authority"), [4,
|
|
11941
|
+
}, e ? (this.logger.verbose("Creating discovered authority with request authority"), [4, Er.createDiscoveredInstance(e, this.config.system.networkClient, this.browserStorage, t, this.logger)]) : [3, 2];
|
|
11942
11942
|
case 1:
|
|
11943
11943
|
return [2, r.sent()];
|
|
11944
11944
|
case 2:
|
|
11945
|
-
return this.logger.verbose("Creating discovered authority with configured authority"), [4,
|
|
11945
|
+
return this.logger.verbose("Creating discovered authority with configured authority"), [4, Er.createDiscoveredInstance(this.config.auth.authority, this.config.system.networkClient, this.browserStorage, t, this.logger)];
|
|
11946
11946
|
case 3:
|
|
11947
11947
|
return [2, r.sent()];
|
|
11948
11948
|
}
|
|
@@ -12070,7 +12070,7 @@ var Hn = (
|
|
|
12070
12070
|
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
12071
12071
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
12072
12072
|
skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
|
|
12073
|
-
}, s = t || this.config.auth.authority, l = rr.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(R.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4,
|
|
12073
|
+
}, s = t || this.config.auth.authority, l = rr.generateAuthority(s, r || this.config.auth.azureCloudOptions), this.logger.verbose("Creating discovered authority with configured authority", this.correlationId), this.performanceClient.setPreQueueTime(R.AuthorityFactoryCreateDiscoveredInstance, this.correlationId), [4, Er.createDiscoveredInstance(l, this.config.system.networkClient, this.browserStorage, a, this.logger, this.performanceClient, this.correlationId).then(function(u) {
|
|
12074
12074
|
return i.endMeasurement({
|
|
12075
12075
|
success: !0
|
|
12076
12076
|
}), u;
|
|
@@ -12096,7 +12096,7 @@ var Hn = (
|
|
|
12096
12096
|
interactionType: r
|
|
12097
12097
|
}, a = tn.setRequestState(this.browserCrypto, t && t.state || b.EMPTY_STRING, i), this.performanceClient.setPreQueueTime(R.InitializeBaseRequest, this.correlationId), l = [{}], [4, this.initializeBaseRequest(t)];
|
|
12098
12098
|
case 1:
|
|
12099
|
-
return s = J.apply(void 0, [J.apply(void 0, l.concat([m.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode:
|
|
12099
|
+
return s = J.apply(void 0, [J.apply(void 0, l.concat([m.sent()])), { redirectUri: o, state: a, nonce: t.nonce || this.browserCrypto.createNewGuid(), responseMode: gr.FRAGMENT }]), p = t.account || this.browserStorage.getActiveAccount(), p && (this.logger.verbose("Setting validated request account", this.correlationId), this.logger.verbosePii("Setting validated request account: " + p.homeAccountId, this.correlationId), s.account = p), Q.isEmpty(s.loginHint) && !p && (u = this.browserStorage.getLegacyLoginHint(), u && (s.loginHint = u)), [2, s];
|
|
12100
12100
|
}
|
|
12101
12101
|
});
|
|
12102
12102
|
});
|
|
@@ -12150,7 +12150,7 @@ var _o = (
|
|
|
12150
12150
|
return z(this, function(a) {
|
|
12151
12151
|
switch (a.label) {
|
|
12152
12152
|
case 0:
|
|
12153
|
-
return this.performanceClient.addQueueMeasurement(R.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), o = "https://" + e + "/" + t.tenant + "/", [4,
|
|
12153
|
+
return this.performanceClient.addQueueMeasurement(R.UpdateTokenEndpointAuthority, this.authCodeRequest.correlationId), o = "https://" + e + "/" + t.tenant + "/", [4, Er.createDiscoveredInstance(o, r, this.browserStorage, t.options, this.logger, this.performanceClient, this.authCodeRequest.correlationId)];
|
|
12154
12154
|
case 1:
|
|
12155
12155
|
return i = a.sent(), this.authModule.updateAuthority(i), [
|
|
12156
12156
|
2
|
|
@@ -12651,7 +12651,7 @@ var Bn = (
|
|
|
12651
12651
|
case 1:
|
|
12652
12652
|
E.sent(), E.label = 2;
|
|
12653
12653
|
case 2:
|
|
12654
|
-
return o = new he(r), o.validateAsUri(), i = t.scopes, a = Lo(t, ["scopes"]), s = new Je(i || []), s.appendScopes(
|
|
12654
|
+
return o = new he(r), o.validateAsUri(), i = t.scopes, a = Lo(t, ["scopes"]), s = new Je(i || []), s.appendScopes(ir), l = function() {
|
|
12655
12655
|
switch (k.apiId) {
|
|
12656
12656
|
case Ie.ssoSilent:
|
|
12657
12657
|
case Ie.acquireTokenSilent_silentFlow:
|
|
@@ -12943,7 +12943,7 @@ var gs = (
|
|
|
12943
12943
|
throw K.createNoCachedAuthorityError();
|
|
12944
12944
|
return this.performanceClient.setPreQueueTime(R.StandardInteractionClientCreateAuthCodeClient, i.correlationId), [4, this.createAuthCodeClient(o, p)];
|
|
12945
12945
|
case 1:
|
|
12946
|
-
return u = k.sent(), this.logger.verbose("Auth code client created"),
|
|
12946
|
+
return u = k.sent(), this.logger.verbose("Auth code client created"), wr.removeThrottle(this.browserStorage, this.config.auth.clientId, i), m = new $o(u, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, m.handleCodeResponseFromHash(t, r, u.authority, this.networkClient)];
|
|
12947
12947
|
case 2:
|
|
12948
12948
|
return [2, k.sent()];
|
|
12949
12949
|
}
|
|
@@ -13011,7 +13011,7 @@ var _s = (
|
|
|
13011
13011
|
}
|
|
13012
13012
|
return e.prototype.acquireToken = function(t) {
|
|
13013
13013
|
try {
|
|
13014
|
-
var r = this.generatePopupName(t.scopes ||
|
|
13014
|
+
var r = this.generatePopupName(t.scopes || ir, t.authority || this.config.auth.authority), o = t.popupWindowAttributes || {};
|
|
13015
13015
|
if (this.config.system.asyncPopups)
|
|
13016
13016
|
return this.logger.verbose("asyncPopups set to true, acquiring token"), this.acquireTokenPopupAsync(t, r, o);
|
|
13017
13017
|
this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");
|
|
@@ -13054,7 +13054,7 @@ var _s = (
|
|
|
13054
13054
|
popupWindowAttributes: o
|
|
13055
13055
|
}, P = this.initiateAuthRequest(f, E), this.eventHandler.emitEvent(oe.POPUP_OPENED, Y.Popup, { popupWindow: P }, null), [4, this.monitorPopupForHash(P)];
|
|
13056
13056
|
case 6:
|
|
13057
|
-
if (F = I.sent(), G = he.getDeserializedHash(F), x = this.validateAndExtractStateFromHash(G, Y.Popup, s.correlationId),
|
|
13057
|
+
if (F = I.sent(), G = he.getDeserializedHash(F), x = this.validateAndExtractStateFromHash(G, Y.Popup, s.correlationId), wr.removeThrottle(this.browserStorage, this.config.auth.clientId, l), G.accountId) {
|
|
13058
13058
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), m && m.endMeasurement({
|
|
13059
13059
|
success: !0,
|
|
13060
13060
|
isNativeBroker: !0
|
|
@@ -13874,7 +13874,7 @@ var Ns = "RSASSA-PKCS1-v1_5", Yo = "SHA-256", Os = 2048, Ls = new Uint8Array([1,
|
|
|
13874
13874
|
throw this.hasMsrCrypto() && this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"), this.logger.error("BrowserCrypto: No crypto interfaces available."), K.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");
|
|
13875
13875
|
if (this.subtleCrypto.initPrng) {
|
|
13876
13876
|
if (this.logger.verbose("BrowserCrypto: Interface requires entropy"), !(!((o = this.cryptoOptions) === null || o === void 0) && o.entropy))
|
|
13877
|
-
throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."),
|
|
13877
|
+
throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."), Sr.createEntropyNotProvided();
|
|
13878
13878
|
this.logger.verbose("BrowserCrypto: Entropy provided"), this.subtleCrypto.initPrng(this.cryptoOptions.entropy);
|
|
13879
13879
|
}
|
|
13880
13880
|
this.keygenAlgorithmOptions = {
|
|
@@ -14232,15 +14232,15 @@ var Wo = (
|
|
|
14232
14232
|
}()
|
|
14233
14233
|
);
|
|
14234
14234
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14235
|
-
var
|
|
14235
|
+
var Ir;
|
|
14236
14236
|
(function(n) {
|
|
14237
14237
|
n.asymmetricKeys = "asymmetricKeys", n.symmetricKeys = "symmetricKeys";
|
|
14238
|
-
})(
|
|
14238
|
+
})(Ir || (Ir = {}));
|
|
14239
14239
|
var xs = (
|
|
14240
14240
|
/** @class */
|
|
14241
14241
|
function() {
|
|
14242
14242
|
function n(e) {
|
|
14243
|
-
this.logger = e, this.asymmetricKeys = new Wo(this.logger,
|
|
14243
|
+
this.logger = e, this.asymmetricKeys = new Wo(this.logger, Ir.asymmetricKeys), this.symmetricKeys = new Wo(this.logger, Ir.symmetricKeys);
|
|
14244
14244
|
}
|
|
14245
14245
|
return n.prototype.clear = function() {
|
|
14246
14246
|
return L(this, void 0, void 0, function() {
|
|
@@ -14647,7 +14647,7 @@ var Fs = (
|
|
|
14647
14647
|
/** @class */
|
|
14648
14648
|
function() {
|
|
14649
14649
|
function n(e) {
|
|
14650
|
-
this.isBrowserEnvironment = typeof window < "u", this.config = ks(e, this.isBrowserEnvironment), this.initialized = !1, this.logger = new ho(this.config.system.loggerOptions, Dr, Zn), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.isBrowserEnvironment ? new Bs(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application, this.config.system.cryptoOptions) : new us(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application), this.browserCrypto = this.isBrowserEnvironment ? new Us(this.logger, this.performanceClient, this.config.system.cryptoOptions) :
|
|
14650
|
+
this.isBrowserEnvironment = typeof window < "u", this.config = ks(e, this.isBrowserEnvironment), this.initialized = !1, this.logger = new ho(this.config.system.loggerOptions, Dr, Zn), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.isBrowserEnvironment ? new Bs(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application, this.config.system.cryptoOptions) : new us(this.config.auth.clientId, this.config.auth.authority, this.logger, Dr, Zn, this.config.telemetry.application), this.browserCrypto = this.isBrowserEnvironment ? new Us(this.logger, this.performanceClient, this.config.system.cryptoOptions) : yr, this.eventHandler = new Ts(this.logger, this.browserCrypto), this.browserStorage = this.isBrowserEnvironment ? new ro(this.config.auth.clientId, this.config.cache, this.browserCrypto, this.logger) : hs(this.config.auth.clientId, this.logger);
|
|
14651
14651
|
var t = {
|
|
14652
14652
|
cacheLocation: xe.MemoryStorage,
|
|
14653
14653
|
temporaryCacheLocation: xe.MemoryStorage,
|
|
@@ -14985,7 +14985,7 @@ var Fs = (
|
|
|
14985
14985
|
return this.browserStorage.getActiveAccount();
|
|
14986
14986
|
}, n.prototype.preflightBrowserEnvironmentCheck = function(e, t) {
|
|
14987
14987
|
if (t === void 0 && (t = !0), this.logger.verbose("preflightBrowserEnvironmentCheck started"), Pe.blockNonBrowserEnvironment(this.isBrowserEnvironment), Pe.blockRedirectInIframe(e, this.config.system.allowRedirectInIframe), Pe.blockReloadInHiddenIframes(), Pe.blockAcquireTokenInPopups(), Pe.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), e === Y.Redirect && this.config.cache.cacheLocation === xe.MemoryStorage && !this.config.cache.storeAuthStateInCookie)
|
|
14988
|
-
throw
|
|
14988
|
+
throw Sr.createInMemoryRedirectUnavailableError();
|
|
14989
14989
|
(e === Y.Redirect || e === Y.Popup) && this.preflightInteractiveRequest(t);
|
|
14990
14990
|
}, n.prototype.preflightInteractiveRequest = function(e) {
|
|
14991
14991
|
this.logger.verbose("preflightInteractiveRequest called, validating app environment"), Pe.blockReloadInHiddenIframes(), e && this.browserStorage.setInteractionInProgress(!0);
|
|
@@ -15485,7 +15485,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15485
15485
|
window.addEventListener("message", async (u) => {
|
|
15486
15486
|
if (!this.allowedOriginsAuth.includes(u.origin)) return console.error("Origin is not allowed!");
|
|
15487
15487
|
u.data.type === "okta" && (p = u.data.code, await l.exchangeCode({ domain: n.domain, code: p, clientID: n.clientID }));
|
|
15488
|
-
}, { once: !0 }), this.isNative ? await
|
|
15488
|
+
}, { once: !0 }), this.isNative ? await mr.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
|
|
15489
15489
|
},
|
|
15490
15490
|
async handleOktaRedirect() {
|
|
15491
15491
|
let n = this.$route.query.code, e, t, r, o, i = { type: "okta" };
|
|
@@ -15494,7 +15494,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15494
15494
|
const a = new URLSearchParams(e);
|
|
15495
15495
|
t = a.get("client_id"), r = a.get("domain"), o = a.get("platform");
|
|
15496
15496
|
}
|
|
15497
|
-
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await
|
|
15497
|
+
window.opener ? (window.opener.postMessage(i, location.origin), window.close()) : (this.isNative && this.isiOS && await mr.close(), ne.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && t && r && await this.exchangeCode({ code: n, clientID: t, domain: r, platform: o }), localStorage.removeItem("pkce_code_verifier"), ne.$emit("ssoEvent", { name: "setLoading", data: !1 }));
|
|
15498
15498
|
}
|
|
15499
15499
|
}
|
|
15500
15500
|
}, Li = {
|
|
@@ -15539,7 +15539,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15539
15539
|
}
|
|
15540
15540
|
},
|
|
15541
15541
|
{ once: !0 }
|
|
15542
|
-
), this.isNative ? this.popupWindow = await
|
|
15542
|
+
), this.isNative ? this.popupWindow = await mr.open({ url: n, presentationStyle: "popover" }) : (this.checkInterval = setInterval(() => {
|
|
15543
15543
|
var s;
|
|
15544
15544
|
const i = localStorage.getItem("auth_code"), a = localStorage.getItem("pkce_code_verifier");
|
|
15545
15545
|
i && (clearInterval(this.checkInterval), localStorage.removeItem("auth_code"), localStorage.removeItem("pkce_code_verifier"), (s = window.parent) == null || s.postMessage({ code: i, state: this.$route.query.state, code_verifier: a }, "*"), a && (this.display === "npm" || this.display === "redirect") && this.exchangeAuthCode({ code: i, code_verifier: a }));
|
|
@@ -15551,7 +15551,7 @@ const Gs = Ar("MsAuthPlugin", {
|
|
|
15551
15551
|
if (this.$route.query.code && (n = this.$route.query.code), window.opener)
|
|
15552
15552
|
window.opener.postMessage({ type: "saml", code: n }, "*"), this.closeWindow();
|
|
15553
15553
|
else {
|
|
15554
|
-
if (this.isNative && this.isiOS && await
|
|
15554
|
+
if (this.isNative && this.isiOS && await mr.close(), ne.$emit("ssoEvent", { name: "setLoading", data: !0 }), n && ((this.display === "popup" || this.display === "npm") && (localStorage.setItem("auth_code", n), this.shouldCloseWindow = !0, (e = window.parent) == null || e.postMessage({ code: n, state: this.$route.query.state }, "*"), this.closeWindow()), this.display === "redirect" || location.host === "auth.tapni.com")) {
|
|
15555
15555
|
let t = "https://auth.tapni.com/callback/auth";
|
|
15556
15556
|
return this.realm === "dashboard" && (t = "https://business.tapni.com/login"), location.href = t + "?code=" + n + "&code_verifier=" + localStorage.getItem("pkce_code_verifier");
|
|
15557
15557
|
}
|
|
@@ -15777,7 +15777,7 @@ function Ac(n, e, t, r, o, i) {
|
|
|
15777
15777
|
class: "page-login content-boxed content-boxed-padding",
|
|
15778
15778
|
onSubmit: e[15] || (e[15] = Xe((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
15779
15779
|
autocomplete: "on",
|
|
15780
|
-
style:
|
|
15780
|
+
style: or(n.isModal ? "max-width: 500px;" : "")
|
|
15781
15781
|
}, [
|
|
15782
15782
|
n.isModal ? (O(), U("a", {
|
|
15783
15783
|
key: 0,
|
|
@@ -15838,7 +15838,7 @@ function Ac(n, e, t, r, o, i) {
|
|
|
15838
15838
|
required: "",
|
|
15839
15839
|
minlength: "8"
|
|
15840
15840
|
}, null, 8, ic), [
|
|
15841
|
-
[
|
|
15841
|
+
[fr, o.password]
|
|
15842
15842
|
]),
|
|
15843
15843
|
_("em", {
|
|
15844
15844
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword),
|
|
@@ -16263,7 +16263,7 @@ function Il(n, e, t, r, o, i) {
|
|
|
16263
16263
|
class: "page-login content-boxed content-boxed-padding",
|
|
16264
16264
|
onSubmit: e[11] || (e[11] = Xe((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16265
16265
|
autocomplete: "on",
|
|
16266
|
-
style:
|
|
16266
|
+
style: or(t.isModal ? "max-width: 500px;" : "")
|
|
16267
16267
|
}, [
|
|
16268
16268
|
t.isModal ? (O(), U("a", {
|
|
16269
16269
|
key: 0,
|
|
@@ -16350,7 +16350,7 @@ function Il(n, e, t, r, o, i) {
|
|
|
16350
16350
|
required: "",
|
|
16351
16351
|
minlength: "8"
|
|
16352
16352
|
}, null, 8, pl), [
|
|
16353
|
-
[
|
|
16353
|
+
[fr, o.password]
|
|
16354
16354
|
]),
|
|
16355
16355
|
_("em", {
|
|
16356
16356
|
onClick: e[6] || (e[6] = (s) => o.revealPassword = !o.revealPassword),
|
|
@@ -16530,7 +16530,7 @@ function Fl(n, e, t, r, o, i) {
|
|
|
16530
16530
|
return O(), U("form", {
|
|
16531
16531
|
class: "page-login content-boxed content-boxed-padding",
|
|
16532
16532
|
onSubmit: e[6] || (e[6] = Xe((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16533
|
-
style:
|
|
16533
|
+
style: or(t.isModal ? "max-width: 500px;" : "")
|
|
16534
16534
|
}, [
|
|
16535
16535
|
t.isModal ? (O(), U("a", {
|
|
16536
16536
|
key: 0,
|
|
@@ -16954,11 +16954,11 @@ var zi = { exports: {} };
|
|
|
16954
16954
|
var yt = E[Ke];
|
|
16955
16955
|
if (Ke < 16) var De = yt.high = 0 | F[G + 2 * Ke], ht = yt.low = 0 | F[G + 2 * Ke + 1];
|
|
16956
16956
|
else {
|
|
16957
|
-
var yn = E[Ke - 15], Ge = yn.high, Ut = yn.low, h = (Ge >>> 1 | Ut << 31) ^ (Ge >>> 8 | Ut << 24) ^ Ge >>> 7, c = (Ut >>> 1 | Ge << 31) ^ (Ut >>> 8 | Ge << 24) ^ (Ut >>> 7 | Ge << 25), d = E[Ke - 2], g = d.high, w = d.low, S = (g >>> 19 | w << 13) ^ (g << 3 | w >>> 29) ^ g >>> 6, M = (w >>> 19 | g << 13) ^ (w << 3 | g >>> 29) ^ (w >>> 6 | g << 26), ue = E[Ke - 7], Te = ue.high, be = ue.low, Se = E[Ke - 16], ve = Se.high,
|
|
16958
|
-
De = (De = (De = h + Te + ((ht = c + be) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((ht += M) >>> 0 < M >>> 0 ? 1 : 0)) + ve + ((ht +=
|
|
16957
|
+
var yn = E[Ke - 15], Ge = yn.high, Ut = yn.low, h = (Ge >>> 1 | Ut << 31) ^ (Ge >>> 8 | Ut << 24) ^ Ge >>> 7, c = (Ut >>> 1 | Ge << 31) ^ (Ut >>> 8 | Ge << 24) ^ (Ut >>> 7 | Ge << 25), d = E[Ke - 2], g = d.high, w = d.low, S = (g >>> 19 | w << 13) ^ (g << 3 | w >>> 29) ^ g >>> 6, M = (w >>> 19 | g << 13) ^ (w << 3 | g >>> 29) ^ (w >>> 6 | g << 26), ue = E[Ke - 7], Te = ue.high, be = ue.low, Se = E[Ke - 16], ve = Se.high, ar = Se.low;
|
|
16958
|
+
De = (De = (De = h + Te + ((ht = c + be) >>> 0 < c >>> 0 ? 1 : 0)) + S + ((ht += M) >>> 0 < M >>> 0 ? 1 : 0)) + ve + ((ht += ar) >>> 0 < ar >>> 0 ? 1 : 0), yt.high = De, yt.low = ht;
|
|
16959
16959
|
}
|
|
16960
|
-
var It, Nr = Ye & pt ^ ~Ye & xt,
|
|
16961
|
-
vn = xt, St = vt, xt = pt, vt = zt, pt = Ye, zt = Ne, Ye = Yt + (A = (A = (A = A + Nr + ((It +=
|
|
16960
|
+
var It, Nr = Ye & pt ^ ~Ye & xt, sr = Ne & zt ^ ~Ne & vt, Or = qe & Ot ^ qe & tt ^ Ot & tt, Lr = Be & Tt ^ Be & dt ^ Tt & dt, cr = (qe >>> 28 | Be << 4) ^ (qe << 30 | Be >>> 2) ^ (qe << 25 | Be >>> 7), lr = (Be >>> 28 | qe << 4) ^ (Be << 30 | qe >>> 2) ^ (Be << 25 | qe >>> 7), zr = (Ye >>> 14 | Ne << 18) ^ (Ye >>> 18 | Ne << 14) ^ (Ye << 23 | Ne >>> 9), xr = (Ne >>> 14 | Ye << 18) ^ (Ne >>> 18 | Ye << 14) ^ (Ne << 23 | Ye >>> 9), v = k[Ke], y = v.high, C = v.low, A = vn + zr + ((It = St + xr) >>> 0 < St >>> 0 ? 1 : 0), N = lr + Lr;
|
|
16961
|
+
vn = xt, St = vt, xt = pt, vt = zt, pt = Ye, zt = Ne, Ye = Yt + (A = (A = (A = A + Nr + ((It += sr) >>> 0 < sr >>> 0 ? 1 : 0)) + y + ((It += C) >>> 0 < C >>> 0 ? 1 : 0)) + De + ((It += ht) >>> 0 < ht >>> 0 ? 1 : 0)) + ((Ne = Lt + It | 0) >>> 0 < Lt >>> 0 ? 1 : 0) | 0, Yt = tt, Lt = dt, tt = Ot, dt = Tt, Ot = qe, Tt = Be, qe = A + (cr + Or + (N >>> 0 < lr >>> 0 ? 1 : 0)) + ((Be = It + N | 0) >>> 0 < It >>> 0 ? 1 : 0) | 0;
|
|
16962
16962
|
}
|
|
16963
16963
|
Ce = T.low = Ce + Be, T.high = re + qe + (Ce >>> 0 < Be >>> 0 ? 1 : 0), de = H.low = de + Tt, H.high = Le + Ot + (de >>> 0 < Tt >>> 0 ? 1 : 0), Et = V.low = Et + dt, V.high = Ue + tt + (Et >>> 0 < dt >>> 0 ? 1 : 0), ut = W.low = ut + Lt, W.high = Nt + Yt + (ut >>> 0 < Lt >>> 0 ? 1 : 0), sn = Z.low = sn + Ne, Z.high = gn + Ye + (sn >>> 0 < Ne >>> 0 ? 1 : 0), cn = I.low = cn + zt, I.high = _n + pt + (cn >>> 0 < zt >>> 0 ? 1 : 0), Re = te.low = Re + vt, te.high = Rn + xt + (Re >>> 0 < vt >>> 0 ? 1 : 0), $t = fe.low = $t + St, fe.high = Me + vn + ($t >>> 0 < St >>> 0 ? 1 : 0);
|
|
16964
16964
|
}, _doFinalize: function() {
|
|
@@ -17448,7 +17448,7 @@ var zi = { exports: {} };
|
|
|
17448
17448
|
var N = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 10;
|
|
17449
17449
|
return Se(N, this.allOptions());
|
|
17450
17450
|
} }]) && c(C.prototype, A), y;
|
|
17451
|
-
}(Ut),
|
|
17451
|
+
}(Ut), ar = s.a.lib.WordArray, It = function(v, y, C) {
|
|
17452
17452
|
var A = function(ge) {
|
|
17453
17453
|
switch (ge) {
|
|
17454
17454
|
case i.SHA1:
|
|
@@ -17462,26 +17462,26 @@ var zi = { exports: {} };
|
|
|
17462
17462
|
}
|
|
17463
17463
|
}(v), N = P.a.parse(C), q = P.a.parse(y);
|
|
17464
17464
|
return String(A(N, q));
|
|
17465
|
-
}, Nr = o(7),
|
|
17466
|
-
function
|
|
17467
|
-
return (
|
|
17465
|
+
}, Nr = o(7), sr = o.n(Nr), Or = o(8), Lr = o.n(Or);
|
|
17466
|
+
function cr(v) {
|
|
17467
|
+
return (cr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(y) {
|
|
17468
17468
|
return typeof y;
|
|
17469
17469
|
} : function(y) {
|
|
17470
17470
|
return y && typeof Symbol == "function" && y.constructor === Symbol && y !== Symbol.prototype ? "symbol" : typeof y;
|
|
17471
17471
|
})(v);
|
|
17472
17472
|
}
|
|
17473
17473
|
o.d(r, "hotp", function() {
|
|
17474
|
-
return
|
|
17474
|
+
return lr;
|
|
17475
17475
|
}), o.d(r, "totp", function() {
|
|
17476
17476
|
return zr;
|
|
17477
17477
|
}), o.d(r, "authenticator", function() {
|
|
17478
17478
|
return xr;
|
|
17479
|
-
}), (typeof window > "u" ? "undefined" :
|
|
17480
|
-
var
|
|
17481
|
-
var C =
|
|
17479
|
+
}), (typeof window > "u" ? "undefined" : cr(window)) === "object" && window.Buffer === void 0 && (window.Buffer = buffer.Buffer);
|
|
17480
|
+
var lr = new qe({ createDigest: It }), zr = new Ut({ createDigest: It }), xr = new ve({ createDigest: It, createRandomBytes: function(v, y) {
|
|
17481
|
+
var C = ar.random(v);
|
|
17482
17482
|
return bn.from(C.toString(), "hex").toString(y);
|
|
17483
17483
|
}, keyDecoder: function(v, y) {
|
|
17484
|
-
var C =
|
|
17484
|
+
var C = sr()(v.toUpperCase(), "RFC4648");
|
|
17485
17485
|
return bn.from(C).toString(y);
|
|
17486
17486
|
}, keyEncoder: function(v, y) {
|
|
17487
17487
|
return Lr()(bn.from(v, y), "RFC4648", { padding: !1 });
|
|
@@ -18166,7 +18166,7 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18166
18166
|
role: "listbox",
|
|
18167
18167
|
"aria-label": (Ce = I.aria) == null ? void 0 : Ce.labelledby,
|
|
18168
18168
|
"aria-multiselectable": I.isMulti,
|
|
18169
|
-
style:
|
|
18169
|
+
style: or({
|
|
18170
18170
|
width: t.teleport ? `${(Le = i.value) == null ? void 0 : Le.getBoundingClientRect().width}px` : "100%",
|
|
18171
18171
|
top: t.teleport ? Z().top : "unset",
|
|
18172
18172
|
left: t.teleport ? Z().left : "unset"
|
|
@@ -18249,20 +18249,30 @@ const rd = /* @__PURE__ */ Mr(ed, [["render", nd], ["__scopeId", "data-v-ed86631
|
|
|
18249
18249
|
}, [e, t] = await we(qn.updateAccount(n));
|
|
18250
18250
|
e ? this.errorHandler(e) : t.data.success && (this.successSnack(this.ssoLang[this.appLanguage].profile_update_success), await this.getAccountSettings()), this.loading = !1;
|
|
18251
18251
|
}
|
|
18252
|
+
},
|
|
18253
|
+
computed: {
|
|
18254
|
+
containerStyle() {
|
|
18255
|
+
return {
|
|
18256
|
+
height: this.isModal ? "90vh" : "auto"
|
|
18257
|
+
};
|
|
18258
|
+
}
|
|
18252
18259
|
}
|
|
18253
|
-
}, md = { class: "
|
|
18260
|
+
}, md = { class: "subheaderContainer full-top" }, gd = ["src"], _d = ["src"], vd = {
|
|
18254
18261
|
class: "center-text",
|
|
18255
18262
|
style: { "flex-grow": "1", "text-align": "center", margin: "0", "font-weight": "600" }
|
|
18256
|
-
},
|
|
18263
|
+
}, yd = { class: "container left-text" }, bd = { class: "center-text" }, wd = { class: "full-top bold small-bottom" }, kd = ["placeholder"], Cd = ["placeholder"], Ed = { class: "full-top bold" }, Td = { class: "full-top bold" }, Sd = {
|
|
18257
18264
|
type: "submit",
|
|
18258
18265
|
class: "button black-button button-full google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
18259
|
-
},
|
|
18266
|
+
}, Id = { key: 0 }, Ad = {
|
|
18260
18267
|
key: 1,
|
|
18261
18268
|
class: "button--loading button__loader"
|
|
18262
18269
|
};
|
|
18263
|
-
function
|
|
18270
|
+
function Rd(n, e, t, r, o, i) {
|
|
18264
18271
|
const a = rn("router-link"), s = rn("VueSelect");
|
|
18265
|
-
return O(), U("div",
|
|
18272
|
+
return O(), U("div", {
|
|
18273
|
+
class: "page-login content-boxed content-boxed-padding tapni-auth-general",
|
|
18274
|
+
style: or(i.containerStyle)
|
|
18275
|
+
}, [
|
|
18266
18276
|
t.isModal ? (O(), U("a", {
|
|
18267
18277
|
key: 0,
|
|
18268
18278
|
onClick: e[0] || (e[0] = (...l) => i.close && i.close(...l)),
|
|
@@ -18277,10 +18287,10 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18277
18287
|
})
|
|
18278
18288
|
], -1)
|
|
18279
18289
|
]))) : le("", !0),
|
|
18280
|
-
_("div",
|
|
18290
|
+
_("div", md, [
|
|
18281
18291
|
t.isModal ? (O(), U("div", {
|
|
18282
18292
|
key: 0,
|
|
18283
|
-
class: "
|
|
18293
|
+
class: "pointer left-button",
|
|
18284
18294
|
onClick: e[1] || (e[1] = (l) => n.$emit("update:viewProp", "AuthAccount"))
|
|
18285
18295
|
}, [
|
|
18286
18296
|
_("img", {
|
|
@@ -18289,7 +18299,7 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18289
18299
|
width: "20",
|
|
18290
18300
|
class: "btn-icon",
|
|
18291
18301
|
style: { rotate: "180deg" }
|
|
18292
|
-
}, null, 8,
|
|
18302
|
+
}, null, 8, gd)
|
|
18293
18303
|
])) : (O(), ze(a, {
|
|
18294
18304
|
key: 1,
|
|
18295
18305
|
to: "/account",
|
|
@@ -18302,19 +18312,19 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18302
18312
|
width: "20",
|
|
18303
18313
|
class: "btn-icon",
|
|
18304
18314
|
style: { rotate: "180deg" }
|
|
18305
|
-
}, null, 8,
|
|
18315
|
+
}, null, 8, _d)
|
|
18306
18316
|
]),
|
|
18307
18317
|
_: 1
|
|
18308
18318
|
})),
|
|
18309
|
-
_("h2",
|
|
18319
|
+
_("h2", vd, B(n.ssoLang[n.appLanguage].general), 1)
|
|
18310
18320
|
]),
|
|
18311
|
-
_("div",
|
|
18312
|
-
_("p",
|
|
18321
|
+
_("div", yd, [
|
|
18322
|
+
_("p", bd, B(n.ssoLang[n.appLanguage].general_p), 1),
|
|
18313
18323
|
_("form", {
|
|
18314
18324
|
class: "full-top",
|
|
18315
18325
|
onSubmit: e[6] || (e[6] = Xe((...l) => i.submitGeneralUpdate && i.submitGeneralUpdate(...l), ["prevent"]))
|
|
18316
18326
|
}, [
|
|
18317
|
-
_("h3",
|
|
18327
|
+
_("h3", wd, B(n.ssoLang[n.appLanguage].personal_details), 1),
|
|
18318
18328
|
_e(_("input", {
|
|
18319
18329
|
type: "text",
|
|
18320
18330
|
"onUpdate:modelValue": e[2] || (e[2] = (l) => n.account.name = l),
|
|
@@ -18322,7 +18332,7 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18322
18332
|
class: "edit-input h-40 lh-40 small-bottom",
|
|
18323
18333
|
required: "",
|
|
18324
18334
|
style: { width: "100%" }
|
|
18325
|
-
}, null, 8,
|
|
18335
|
+
}, null, 8, kd), [
|
|
18326
18336
|
[ct, n.account.name]
|
|
18327
18337
|
]),
|
|
18328
18338
|
_e(_("input", {
|
|
@@ -18333,10 +18343,10 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18333
18343
|
class: "bg-white edit-input h-40 lh-40 small-bottom",
|
|
18334
18344
|
required: "",
|
|
18335
18345
|
style: { width: "100%" }
|
|
18336
|
-
}, null, 8,
|
|
18346
|
+
}, null, 8, Cd), [
|
|
18337
18347
|
[ct, n.account.email]
|
|
18338
18348
|
]),
|
|
18339
|
-
_("h3",
|
|
18349
|
+
_("h3", Ed, B(n.ssoLang[n.appLanguage].app_region), 1),
|
|
18340
18350
|
n.account.billing ? (O(), ze(s, {
|
|
18341
18351
|
key: 0,
|
|
18342
18352
|
modelValue: n.account.billing.region,
|
|
@@ -18356,7 +18366,7 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18356
18366
|
placeholder: "Select region"
|
|
18357
18367
|
}, null, 8, ["modelValue"])) : le("", !0),
|
|
18358
18368
|
le("", !0),
|
|
18359
|
-
_("h3",
|
|
18369
|
+
_("h3", Td, B(n.ssoLang[n.appLanguage].app_language), 1),
|
|
18360
18370
|
gt(s, {
|
|
18361
18371
|
modelValue: n.account.lang,
|
|
18362
18372
|
"onUpdate:modelValue": e[5] || (e[5] = (l) => n.account.lang = l),
|
|
@@ -18375,17 +18385,17 @@ function Pd(n, e, t, r, o, i) {
|
|
|
18375
18385
|
placeholder: "Select language"
|
|
18376
18386
|
}, null, 8, ["modelValue", "options"]),
|
|
18377
18387
|
e[8] || (e[8] = _("p", null, "Translate the app on your preferred language.", -1)),
|
|
18378
|
-
_("button",
|
|
18379
|
-
o.loading ? (O(), U("span",
|
|
18388
|
+
_("button", Sd, [
|
|
18389
|
+
o.loading ? (O(), U("span", Ad)) : (O(), U("span", Id, B(n.ssoLang[n.appLanguage].save), 1))
|
|
18380
18390
|
])
|
|
18381
18391
|
], 32)
|
|
18382
18392
|
])
|
|
18383
|
-
]);
|
|
18393
|
+
], 4);
|
|
18384
18394
|
}
|
|
18385
|
-
const Co = /* @__PURE__ */ an(fd, [["render",
|
|
18395
|
+
const Co = /* @__PURE__ */ an(fd, [["render", Rd]]), Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18386
18396
|
__proto__: null,
|
|
18387
18397
|
default: Co
|
|
18388
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
18398
|
+
}, Symbol.toStringTag, { value: "Module" })), Md = {
|
|
18389
18399
|
name: "AuthReset",
|
|
18390
18400
|
mixins: [Qt],
|
|
18391
18401
|
data() {
|
|
@@ -18435,53 +18445,53 @@ const Co = /* @__PURE__ */ an(fd, [["render", Pd]]), Md = /* @__PURE__ */ Object
|
|
|
18435
18445
|
this.$storex.verifyEmail = n;
|
|
18436
18446
|
}
|
|
18437
18447
|
}
|
|
18438
|
-
},
|
|
18448
|
+
}, Nd = {
|
|
18439
18449
|
class: "bold no-bottom center-text text-[22px]",
|
|
18440
18450
|
style: { "margin-top": "63px" }
|
|
18441
|
-
},
|
|
18451
|
+
}, Od = { class: "page-login-field half-top color-black" }, Ld = ["placeholder"], zd = {
|
|
18442
18452
|
type: "submit",
|
|
18443
18453
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
18444
|
-
},
|
|
18454
|
+
}, xd = {
|
|
18445
18455
|
key: 0,
|
|
18446
18456
|
class: "uppercase"
|
|
18447
|
-
},
|
|
18457
|
+
}, Ud = {
|
|
18448
18458
|
key: 1,
|
|
18449
18459
|
class: "button--loading button__loader"
|
|
18450
|
-
},
|
|
18460
|
+
}, Bd = { class: "close-text center-text half-top color-black" }, Dd = ["innerHTML"], jd = ["href"], Hd = { class: "page-login-links" }, Fd = {
|
|
18451
18461
|
class: "bold no-bottom center-text",
|
|
18452
18462
|
style: { "margin-top": "63px" }
|
|
18453
|
-
},
|
|
18463
|
+
}, qd = { class: "half-bottom small-top center-text color-black" }, Kd = { class: "page-login-field half-top" }, Gd = ["type", "placeholder"], Vd = {
|
|
18454
18464
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
18455
18465
|
class: "responsive-image password-reveal-icon"
|
|
18456
|
-
},
|
|
18466
|
+
}, Qd = {
|
|
18457
18467
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
18458
18468
|
class: "responsive-image password-reveal-icon"
|
|
18459
|
-
},
|
|
18469
|
+
}, $d = { class: "page-login-field half-top" }, Yd = ["type", "placeholder"], Wd = {
|
|
18460
18470
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
18461
18471
|
class: "responsive-image password-reveal-icon"
|
|
18462
|
-
},
|
|
18472
|
+
}, Jd = {
|
|
18463
18473
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
18464
18474
|
class: "responsive-image password-reveal-icon"
|
|
18465
|
-
},
|
|
18475
|
+
}, Xd = {
|
|
18466
18476
|
type: "submit",
|
|
18467
18477
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
18468
|
-
},
|
|
18478
|
+
}, Zd = {
|
|
18469
18479
|
key: 0,
|
|
18470
18480
|
class: "uppercase"
|
|
18471
|
-
},
|
|
18481
|
+
}, ep = {
|
|
18472
18482
|
key: 1,
|
|
18473
18483
|
class: "button--loading button__loader"
|
|
18474
|
-
},
|
|
18475
|
-
function
|
|
18484
|
+
}, tp = { class: "close-text center-text half-top color-black" }, np = ["innerHTML"], rp = ["href"];
|
|
18485
|
+
function op(n, e, t, r, o, i) {
|
|
18476
18486
|
const a = rn("router-link");
|
|
18477
18487
|
return o.passwordChange ? (O(), U("form", {
|
|
18478
18488
|
key: 1,
|
|
18479
18489
|
class: "page-login content-boxed content-boxed-padding",
|
|
18480
18490
|
onSubmit: e[7] || (e[7] = Xe((...s) => i.changePw && i.changePw(...s), ["prevent"]))
|
|
18481
18491
|
}, [
|
|
18482
|
-
_("h3",
|
|
18483
|
-
_("p",
|
|
18484
|
-
_("div",
|
|
18492
|
+
_("h3", Fd, B(n.ssoLang[this.appLanguage].password_change), 1),
|
|
18493
|
+
_("p", qd, B(n.ssoLang[this.appLanguage].password_new), 1),
|
|
18494
|
+
_("div", Kd, [
|
|
18485
18495
|
e[14] || (e[14] = _("i", { style: { "padding-top": "15px" } }, [
|
|
18486
18496
|
_("img", {
|
|
18487
18497
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -18494,21 +18504,21 @@ function ip(n, e, t, r, o, i) {
|
|
|
18494
18504
|
type: o.revealPassword ? "text" : "password",
|
|
18495
18505
|
placeholder: n.ssoLang[this.appLanguage].password,
|
|
18496
18506
|
required: ""
|
|
18497
|
-
}, null, 8,
|
|
18498
|
-
[
|
|
18507
|
+
}, null, 8, Gd), [
|
|
18508
|
+
[fr, o.password]
|
|
18499
18509
|
]),
|
|
18500
18510
|
_("em", {
|
|
18501
18511
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
|
|
18502
18512
|
}, [
|
|
18503
|
-
_e(_("img",
|
|
18513
|
+
_e(_("img", Vd, null, 512), [
|
|
18504
18514
|
[kt, !o.revealPassword]
|
|
18505
18515
|
]),
|
|
18506
|
-
_e(_("img",
|
|
18516
|
+
_e(_("img", Qd, null, 512), [
|
|
18507
18517
|
[kt, o.revealPassword]
|
|
18508
18518
|
])
|
|
18509
18519
|
])
|
|
18510
18520
|
]),
|
|
18511
|
-
_("div",
|
|
18521
|
+
_("div", $d, [
|
|
18512
18522
|
e[15] || (e[15] = _("i", { style: { "padding-top": "15px" } }, [
|
|
18513
18523
|
_("img", {
|
|
18514
18524
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
@@ -18521,32 +18531,32 @@ function ip(n, e, t, r, o, i) {
|
|
|
18521
18531
|
type: o.revealPassword2 ? "text" : "password",
|
|
18522
18532
|
placeholder: n.ssoLang[this.appLanguage].password_repeat,
|
|
18523
18533
|
required: ""
|
|
18524
|
-
}, null, 8,
|
|
18525
|
-
[
|
|
18534
|
+
}, null, 8, Yd), [
|
|
18535
|
+
[fr, o.passwordRepeat]
|
|
18526
18536
|
]),
|
|
18527
18537
|
_("em", {
|
|
18528
18538
|
onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
|
|
18529
18539
|
}, [
|
|
18530
|
-
_e(_("img",
|
|
18540
|
+
_e(_("img", Wd, null, 512), [
|
|
18531
18541
|
[kt, !o.revealPassword2]
|
|
18532
18542
|
]),
|
|
18533
|
-
_e(_("img",
|
|
18543
|
+
_e(_("img", Jd, null, 512), [
|
|
18534
18544
|
[kt, o.revealPassword2]
|
|
18535
18545
|
])
|
|
18536
18546
|
])
|
|
18537
18547
|
]),
|
|
18538
|
-
_("button",
|
|
18539
|
-
o.submitted ? (O(), U("span",
|
|
18548
|
+
_("button", Xd, [
|
|
18549
|
+
o.submitted ? (O(), U("span", ep)) : (O(), U("span", Zd, B(n.ssoLang[this.appLanguage].password_change), 1))
|
|
18540
18550
|
]),
|
|
18541
18551
|
e[17] || (e[17] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
18542
|
-
_("p",
|
|
18552
|
+
_("p", tp, [
|
|
18543
18553
|
_("span", {
|
|
18544
18554
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p2
|
|
18545
|
-
}, null, 8,
|
|
18555
|
+
}, null, 8, np),
|
|
18546
18556
|
e[16] || (e[16] = Ee()),
|
|
18547
18557
|
_("a", {
|
|
18548
18558
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
18549
|
-
}, " support@tapni.com", 8,
|
|
18559
|
+
}, " support@tapni.com", 8, rp)
|
|
18550
18560
|
])
|
|
18551
18561
|
], 32)) : (O(), U("form", {
|
|
18552
18562
|
key: 0,
|
|
@@ -18554,9 +18564,9 @@ function ip(n, e, t, r, o, i) {
|
|
|
18554
18564
|
onSubmit: e[2] || (e[2] = Xe((...s) => i.resetEmail && i.resetEmail(...s), ["prevent"])),
|
|
18555
18565
|
autocomplete: "on"
|
|
18556
18566
|
}, [
|
|
18557
|
-
_("h3",
|
|
18567
|
+
_("h3", Nd, B(n.ssoLang[this.appLanguage].reset_password), 1),
|
|
18558
18568
|
e[11] || (e[11] = _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)),
|
|
18559
|
-
_("div",
|
|
18569
|
+
_("div", Od, [
|
|
18560
18570
|
e[8] || (e[8] = _("i", { style: { "padding-top": "10px", "margin-left": "10px" } }, [
|
|
18561
18571
|
_("img", {
|
|
18562
18572
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
@@ -18572,25 +18582,25 @@ function ip(n, e, t, r, o, i) {
|
|
|
18572
18582
|
type: "email",
|
|
18573
18583
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
18574
18584
|
required: ""
|
|
18575
|
-
}, null, 40,
|
|
18585
|
+
}, null, 40, Ld), [
|
|
18576
18586
|
[ct, o.email]
|
|
18577
18587
|
]),
|
|
18578
18588
|
e[9] || (e[9] = _("em", null, null, -1))
|
|
18579
18589
|
]),
|
|
18580
|
-
_("button",
|
|
18581
|
-
o.submitted ? (O(), U("span",
|
|
18590
|
+
_("button", zd, [
|
|
18591
|
+
o.submitted ? (O(), U("span", Ud)) : (O(), U("span", xd, B(n.ssoLang[this.appLanguage].reset_password), 1))
|
|
18582
18592
|
]),
|
|
18583
18593
|
e[12] || (e[12] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
18584
|
-
_("p",
|
|
18594
|
+
_("p", Bd, [
|
|
18585
18595
|
_("span", {
|
|
18586
18596
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p1
|
|
18587
|
-
}, null, 8,
|
|
18597
|
+
}, null, 8, Dd),
|
|
18588
18598
|
_("a", {
|
|
18589
18599
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
18590
|
-
}, " support@tapni.com", 8,
|
|
18600
|
+
}, " support@tapni.com", 8, jd)
|
|
18591
18601
|
]),
|
|
18592
18602
|
e[13] || (e[13] = _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)),
|
|
18593
|
-
_("div",
|
|
18603
|
+
_("div", Hd, [
|
|
18594
18604
|
gt(a, {
|
|
18595
18605
|
class: "create float-right",
|
|
18596
18606
|
to: "/verify"
|
|
@@ -18613,10 +18623,10 @@ function ip(n, e, t, r, o, i) {
|
|
|
18613
18623
|
])
|
|
18614
18624
|
], 32));
|
|
18615
18625
|
}
|
|
18616
|
-
const Eo = /* @__PURE__ */ an(
|
|
18626
|
+
const Eo = /* @__PURE__ */ an(Md, [["render", op], ["__scopeId", "data-v-707a4b16"]]), ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18617
18627
|
__proto__: null,
|
|
18618
18628
|
default: Eo
|
|
18619
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
18629
|
+
}, Symbol.toStringTag, { value: "Module" })), ap = {
|
|
18620
18630
|
name: "AuthCallback",
|
|
18621
18631
|
mixins: [Oi, Li, Qt],
|
|
18622
18632
|
data() {
|
|
@@ -18637,16 +18647,16 @@ const Eo = /* @__PURE__ */ an(Nd, [["render", ip], ["__scopeId", "data-v-707a4b1
|
|
|
18637
18647
|
return n = n.replace("http", "tapni"), n = n.replace("https", "tapni"), window.open(n);
|
|
18638
18648
|
}
|
|
18639
18649
|
}
|
|
18640
|
-
},
|
|
18650
|
+
}, sp = { class: "page-login content-boxed content-boxed-padding" }, cp = {
|
|
18641
18651
|
key: 0,
|
|
18642
18652
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
18643
|
-
},
|
|
18653
|
+
}, lp = {
|
|
18644
18654
|
key: 1,
|
|
18645
18655
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
18646
18656
|
};
|
|
18647
|
-
function
|
|
18648
|
-
return O(), U("div",
|
|
18649
|
-
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (O(), U("h5",
|
|
18657
|
+
function up(n, e, t, r, o, i) {
|
|
18658
|
+
return O(), U("div", sp, [
|
|
18659
|
+
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (O(), U("h5", cp, [
|
|
18650
18660
|
Ee(B(n.ssoLang[this.appLanguage].you_will_be_redirected), 1),
|
|
18651
18661
|
e[1] || (e[1] = _("br", null, null, -1)),
|
|
18652
18662
|
Ee(" " + B(n.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
|
|
@@ -18655,10 +18665,10 @@ function dp(n, e, t, r, o, i) {
|
|
|
18655
18665
|
style: { color: "blue", cursor: "pointer" }
|
|
18656
18666
|
}, B(n.ssoLang[this.appLanguage].click_here), 1),
|
|
18657
18667
|
e[2] || (e[2] = Ee(". "))
|
|
18658
|
-
])) : (O(), U("h4",
|
|
18668
|
+
])) : (O(), U("h4", lp, B(n.ssoLang[this.appLanguage].please_wait), 1))
|
|
18659
18669
|
]);
|
|
18660
18670
|
}
|
|
18661
|
-
const To = /* @__PURE__ */ an(
|
|
18671
|
+
const To = /* @__PURE__ */ an(ap, [["render", up]]), dp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18662
18672
|
__proto__: null,
|
|
18663
18673
|
default: To
|
|
18664
18674
|
}, Symbol.toStringTag, { value: "Module" })), un = Ar("Preferences", {
|
|
@@ -18767,7 +18777,7 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18767
18777
|
let t = JSON.parse(n);
|
|
18768
18778
|
return t !== void 0 ? t : e;
|
|
18769
18779
|
}
|
|
18770
|
-
},
|
|
18780
|
+
}, pp = {
|
|
18771
18781
|
name: "ReactiveStorage",
|
|
18772
18782
|
data() {
|
|
18773
18783
|
return {
|
|
@@ -18783,23 +18793,23 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18783
18793
|
await jr.setRaw(e);
|
|
18784
18794
|
}, { deep: !0 });
|
|
18785
18795
|
}
|
|
18786
|
-
},
|
|
18796
|
+
}, hp = { id: "ssoapp" }, fp = {
|
|
18787
18797
|
key: 0,
|
|
18788
18798
|
href: "/",
|
|
18789
18799
|
class: "header-logo"
|
|
18790
|
-
},
|
|
18800
|
+
}, mp = {
|
|
18791
18801
|
class: "snackbar snackbar-boxed",
|
|
18792
18802
|
id: "snackbar"
|
|
18793
|
-
},
|
|
18803
|
+
}, gp = {
|
|
18794
18804
|
class: "snack-body",
|
|
18795
18805
|
id: "errorSnack"
|
|
18796
|
-
},
|
|
18806
|
+
}, _p = { id: "errorMessage" }, vp = {
|
|
18797
18807
|
class: "snack-body",
|
|
18798
18808
|
id: "successSnack"
|
|
18799
|
-
},
|
|
18809
|
+
}, yp = { id: "successMessage" }, bp = {
|
|
18800
18810
|
store: uo,
|
|
18801
18811
|
name: "TapniAuth",
|
|
18802
|
-
mixins: [
|
|
18812
|
+
mixins: [pp, Qt],
|
|
18803
18813
|
data() {
|
|
18804
18814
|
return {
|
|
18805
18815
|
storeInterval: null,
|
|
@@ -18888,13 +18898,13 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18888
18898
|
deep: !0
|
|
18889
18899
|
}
|
|
18890
18900
|
}
|
|
18891
|
-
},
|
|
18901
|
+
}, wp = /* @__PURE__ */ Object.assign(bp, {
|
|
18892
18902
|
setup(n) {
|
|
18893
18903
|
return window.Buffer = la, document.addEventListener("DOMContentLoaded", function() {
|
|
18894
18904
|
const e = document.createElement("script");
|
|
18895
18905
|
e.src = "https://www.google.com/recaptcha/api.js?render=undefined", document.head.appendChild(e);
|
|
18896
|
-
}), (e, t) => (O(), U("div",
|
|
18897
|
-
e.display === "redirect" || e.renderView.includes("Auth") ? (O(), U("a",
|
|
18906
|
+
}), (e, t) => (O(), U("div", hp, [
|
|
18907
|
+
e.display === "redirect" || e.renderView.includes("Auth") ? (O(), U("a", fp, t[2] || (t[2] = [
|
|
18898
18908
|
_("img", {
|
|
18899
18909
|
src: "https://cdn.tapni.co/images/logo-dark.png",
|
|
18900
18910
|
class: "header-logo-img"
|
|
@@ -18923,9 +18933,9 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18923
18933
|
payload: n.payload,
|
|
18924
18934
|
"onUpdate:viewProp": e.setView
|
|
18925
18935
|
}, null, 8, ["isModal", "payload", "onUpdate:viewProp"])) : e.initialized && e.renderView === "AuthReset" ? (O(), ze(Eo, { key: 8 })) : e.initialized && e.renderView === "AuthCallback" ? (O(), ze(To, { key: 9 })) : e.display !== "npm" ? (O(), ze(Fi(Gi), { key: 10 })) : le("", !0),
|
|
18926
|
-
_("div",
|
|
18927
|
-
_("p",
|
|
18928
|
-
_("span",
|
|
18936
|
+
_("div", mp, [
|
|
18937
|
+
_("p", gp, [
|
|
18938
|
+
_("span", _p, B(e.ssoLang[e.appLanguage].error), 1),
|
|
18929
18939
|
_("a", {
|
|
18930
18940
|
onClick: t[0] || (t[0] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18931
18941
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
@@ -18936,8 +18946,8 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18936
18946
|
}, null, -1)
|
|
18937
18947
|
]))
|
|
18938
18948
|
]),
|
|
18939
|
-
_("p",
|
|
18940
|
-
_("span",
|
|
18949
|
+
_("p", vp, [
|
|
18950
|
+
_("span", yp, B(e.ssoLang[e.appLanguage].success), 1),
|
|
18941
18951
|
_("a", {
|
|
18942
18952
|
onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18943
18953
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
@@ -18951,9 +18961,9 @@ const To = /* @__PURE__ */ an(sp, [["render", dp]]), pp = /* @__PURE__ */ Object
|
|
|
18951
18961
|
])
|
|
18952
18962
|
]));
|
|
18953
18963
|
}
|
|
18954
|
-
}),
|
|
18964
|
+
}), zp = {
|
|
18955
18965
|
install: (n, { store: e, apiRoot: t }) => {
|
|
18956
|
-
n.component("TapniAuth",
|
|
18966
|
+
n.component("TapniAuth", wp), e.hasModule("auth") || e.registerModule("auth", uo), n.config.globalProperties.$apiRoot = t;
|
|
18957
18967
|
}
|
|
18958
18968
|
};
|
|
18959
18969
|
export {
|
|
@@ -18963,5 +18973,5 @@ export {
|
|
|
18963
18973
|
an as _,
|
|
18964
18974
|
pe as a,
|
|
18965
18975
|
nt as b,
|
|
18966
|
-
|
|
18976
|
+
zp as i
|
|
18967
18977
|
};
|