dccxx-s3-explorer 1.0.116 → 1.0.117
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/s3-explorer.js +281 -280
- package/dist/s3-explorer.js.map +1 -1
- package/dist/s3-explorer.umd.cjs +15 -15
- package/dist/s3-explorer.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/s3-explorer.js
CHANGED
|
@@ -150,7 +150,7 @@ const we = {
|
|
|
150
150
|
OVERFLOW_TRUE: "1",
|
|
151
151
|
OVERFLOW_FALSE: "0",
|
|
152
152
|
UNKNOWN_ERROR: "unknown_error"
|
|
153
|
-
},
|
|
153
|
+
}, Dt = {
|
|
154
154
|
BEARER: "Bearer",
|
|
155
155
|
POP: "pop",
|
|
156
156
|
SSH: "ssh-cert"
|
|
@@ -989,14 +989,14 @@ function fC(t) {
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
/*! @azure/msal-common v15.17.0 2026-03-18 */
|
|
992
|
-
class
|
|
992
|
+
class It {
|
|
993
993
|
get urlString() {
|
|
994
994
|
return this._urlString;
|
|
995
995
|
}
|
|
996
996
|
constructor(e) {
|
|
997
997
|
if (this._urlString = e, !this._urlString)
|
|
998
998
|
throw Ft(r_);
|
|
999
|
-
e.includes("#") || (this._urlString =
|
|
999
|
+
e.includes("#") || (this._urlString = It.canonicalizeUri(e));
|
|
1000
1000
|
}
|
|
1001
1001
|
/**
|
|
1002
1002
|
* Ensure urls are lower case and end with a / character.
|
|
@@ -1037,7 +1037,7 @@ class At {
|
|
|
1037
1037
|
* @param url
|
|
1038
1038
|
*/
|
|
1039
1039
|
static removeHashFromUrl(e) {
|
|
1040
|
-
return
|
|
1040
|
+
return It.canonicalizeUri(e.split("#")[0]);
|
|
1041
1041
|
}
|
|
1042
1042
|
/**
|
|
1043
1043
|
* Given a url like https://a:b/common/d?e=f#g, and a tenantId, returns https://a:b/tenantId/d
|
|
@@ -1046,7 +1046,7 @@ class At {
|
|
|
1046
1046
|
*/
|
|
1047
1047
|
replaceTenantPath(e) {
|
|
1048
1048
|
const n = this.getUrlComponents(), r = n.PathSegments;
|
|
1049
|
-
return e && r.length !== 0 && (r[0] === wa.COMMON || r[0] === wa.ORGANIZATIONS) && (r[0] = e),
|
|
1049
|
+
return e && r.length !== 0 && (r[0] === wa.COMMON || r[0] === wa.ORGANIZATIONS) && (r[0] = e), It.constructAuthorityUriFromObject(n);
|
|
1050
1050
|
}
|
|
1051
1051
|
/**
|
|
1052
1052
|
* Parses out the components from a url string.
|
|
@@ -1073,13 +1073,13 @@ class At {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
static getAbsoluteUrl(e, n) {
|
|
1075
1075
|
if (e[0] === we.FORWARD_SLASH) {
|
|
1076
|
-
const o = new
|
|
1076
|
+
const o = new It(n).getUrlComponents();
|
|
1077
1077
|
return o.Protocol + "//" + o.HostNameAndPort + e;
|
|
1078
1078
|
}
|
|
1079
1079
|
return e;
|
|
1080
1080
|
}
|
|
1081
1081
|
static constructAuthorityUriFromObject(e) {
|
|
1082
|
-
return new
|
|
1082
|
+
return new It(e.Protocol + "//" + e.HostNameAndPort + "/" + e.PathSegments.join("/"));
|
|
1083
1083
|
}
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Check if the hash of the URL string contains known properties
|
|
@@ -1201,7 +1201,7 @@ function DM(t, e) {
|
|
|
1201
1201
|
let n;
|
|
1202
1202
|
const r = t.canonicalAuthority;
|
|
1203
1203
|
if (r) {
|
|
1204
|
-
const i = new
|
|
1204
|
+
const i = new It(r).getUrlComponents().HostNameAndPort;
|
|
1205
1205
|
n = pC(i, (o = t.cloudDiscoveryMetadata) == null ? void 0 : o.metadata, Ur.CONFIG, e) || pC(i, Fv.metadata, Ur.HARDCODED_VALUES, e) || t.knownAuthorities;
|
|
1206
1206
|
}
|
|
1207
1207
|
return n || [];
|
|
@@ -1380,7 +1380,7 @@ class bm {
|
|
|
1380
1380
|
* @returns
|
|
1381
1381
|
*/
|
|
1382
1382
|
credentialMatchesFilter(e, n) {
|
|
1383
|
-
return !(n.clientId && !this.matchClientId(e, n.clientId) || n.userAssertionHash && !this.matchUserAssertionHash(e, n.userAssertionHash) || typeof n.homeAccountId == "string" && !this.matchHomeAccountId(e, n.homeAccountId) || n.environment && !this.matchEnvironment(e, n.environment) || n.realm && !this.matchRealm(e, n.realm) || n.credentialType && !this.matchCredentialType(e, n.credentialType) || n.familyId && !this.matchFamilyId(e, n.familyId) || n.target && !this.matchTarget(e, n.target) || (n.requestedClaimsHash || e.requestedClaimsHash) && e.requestedClaimsHash !== n.requestedClaimsHash || e.credentialType === Mn.ACCESS_TOKEN_WITH_AUTH_SCHEME && (n.tokenType && !this.matchTokenType(e, n.tokenType) || n.tokenType ===
|
|
1383
|
+
return !(n.clientId && !this.matchClientId(e, n.clientId) || n.userAssertionHash && !this.matchUserAssertionHash(e, n.userAssertionHash) || typeof n.homeAccountId == "string" && !this.matchHomeAccountId(e, n.homeAccountId) || n.environment && !this.matchEnvironment(e, n.environment) || n.realm && !this.matchRealm(e, n.realm) || n.credentialType && !this.matchCredentialType(e, n.credentialType) || n.familyId && !this.matchFamilyId(e, n.familyId) || n.target && !this.matchTarget(e, n.target) || (n.requestedClaimsHash || e.requestedClaimsHash) && e.requestedClaimsHash !== n.requestedClaimsHash || e.credentialType === Mn.ACCESS_TOKEN_WITH_AUTH_SCHEME && (n.tokenType && !this.matchTokenType(e, n.tokenType) || n.tokenType === Dt.SSH && n.keyId && !this.matchKeyId(e, n.keyId)));
|
|
1384
1384
|
}
|
|
1385
1385
|
/**
|
|
1386
1386
|
* retrieve appMetadata matching all provided filters; if no filter is set, get all appMetadata
|
|
@@ -1449,7 +1449,7 @@ class bm {
|
|
|
1449
1449
|
*/
|
|
1450
1450
|
removeAccessToken(e, n) {
|
|
1451
1451
|
const r = this.getAccessTokenCredential(e, n);
|
|
1452
|
-
if (this.removeItem(e, n), this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, n), !r || r.credentialType.toLowerCase() !== Mn.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase() || r.tokenType !==
|
|
1452
|
+
if (this.removeItem(e, n), this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, n), !r || r.credentialType.toLowerCase() !== Mn.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase() || r.tokenType !== Dt.POP)
|
|
1453
1453
|
return;
|
|
1454
1454
|
const o = r.keyId;
|
|
1455
1455
|
o && this.cryptoImpl.removeTokenBindingKey(o).catch(() => {
|
|
@@ -1556,7 +1556,7 @@ class bm {
|
|
|
1556
1556
|
getAccessToken(e, n, r, o) {
|
|
1557
1557
|
const i = n.correlationId;
|
|
1558
1558
|
this.commonLogger.trace("CacheManager - getAccessToken called", i);
|
|
1559
|
-
const s = Sn.createSearchScopes(n.scopes), l = n.authenticationScheme ||
|
|
1559
|
+
const s = Sn.createSearchScopes(n.scopes), l = n.authenticationScheme || Dt.BEARER, d = l.toLowerCase() !== Dt.BEARER.toLowerCase() ? Mn.ACCESS_TOKEN_WITH_AUTH_SCHEME : Mn.ACCESS_TOKEN, u = {
|
|
1560
1560
|
homeAccountId: e.homeAccountId,
|
|
1561
1561
|
environment: e.environment,
|
|
1562
1562
|
credentialType: d,
|
|
@@ -2464,10 +2464,10 @@ function P_(t, e) {
|
|
|
2464
2464
|
}), JSON.stringify(n);
|
|
2465
2465
|
}
|
|
2466
2466
|
function qv(t, e) {
|
|
2467
|
-
e && (t.set(T_,
|
|
2467
|
+
e && (t.set(T_, Dt.POP), t.set(S_, e));
|
|
2468
2468
|
}
|
|
2469
2469
|
function O_(t, e) {
|
|
2470
|
-
e && (t.set(T_,
|
|
2470
|
+
e && (t.set(T_, Dt.SSH), t.set(S_, e));
|
|
2471
2471
|
}
|
|
2472
2472
|
function M_(t, e) {
|
|
2473
2473
|
t.set(fD, e.generateCurrentRequestHeaderValue()), t.set(hD, e.generateLastRequestHeaderValue());
|
|
@@ -2657,19 +2657,19 @@ function lh(t, e, n, r, o, i, s, l, d, u, p, m, y, g, x) {
|
|
|
2657
2657
|
clientId: r,
|
|
2658
2658
|
realm: o,
|
|
2659
2659
|
target: i,
|
|
2660
|
-
tokenType: p ||
|
|
2660
|
+
tokenType: p || Dt.BEARER,
|
|
2661
2661
|
lastUpdatedAt: Date.now().toString()
|
|
2662
2662
|
// Set the last updated time to now
|
|
2663
2663
|
};
|
|
2664
|
-
if (m && (w.userAssertionHash = m), u && (w.refreshOn = u.toString()), g && (w.requestedClaims = g, w.requestedClaimsHash = x), ((b = w.tokenType) == null ? void 0 : b.toLowerCase()) !==
|
|
2664
|
+
if (m && (w.userAssertionHash = m), u && (w.refreshOn = u.toString()), g && (w.requestedClaims = g, w.requestedClaimsHash = x), ((b = w.tokenType) == null ? void 0 : b.toLowerCase()) !== Dt.BEARER.toLowerCase())
|
|
2665
2665
|
switch (w.credentialType = Mn.ACCESS_TOKEN_WITH_AUTH_SCHEME, w.tokenType) {
|
|
2666
|
-
case
|
|
2666
|
+
case Dt.POP:
|
|
2667
2667
|
const E = Jo(n, d);
|
|
2668
2668
|
if (!((S = E == null ? void 0 : E.cnf) != null && S.kid))
|
|
2669
2669
|
throw ke(Q0);
|
|
2670
2670
|
w.keyId = E.cnf.kid;
|
|
2671
2671
|
break;
|
|
2672
|
-
case
|
|
2672
|
+
case Dt.SSH:
|
|
2673
2673
|
w.keyId = y;
|
|
2674
2674
|
}
|
|
2675
2675
|
return w;
|
|
@@ -2786,7 +2786,7 @@ class cr {
|
|
|
2786
2786
|
* Sets canonical authority.
|
|
2787
2787
|
*/
|
|
2788
2788
|
set canonicalAuthority(e) {
|
|
2789
|
-
this._canonicalAuthority = new
|
|
2789
|
+
this._canonicalAuthority = new It(e), this._canonicalAuthority.validateAsUri(), this._canonicalAuthorityUrlComponents = null;
|
|
2790
2790
|
}
|
|
2791
2791
|
/**
|
|
2792
2792
|
* Get authority components.
|
|
@@ -2875,11 +2875,11 @@ class cr {
|
|
|
2875
2875
|
*/
|
|
2876
2876
|
replacePath(e) {
|
|
2877
2877
|
let n = e;
|
|
2878
|
-
const o = new
|
|
2878
|
+
const o = new It(this.metadata.canonical_authority).getUrlComponents(), i = o.PathSegments;
|
|
2879
2879
|
return this.canonicalAuthorityUrlComponents.PathSegments.forEach((l, d) => {
|
|
2880
2880
|
let u = i[d];
|
|
2881
2881
|
if (d === 0 && this.canReplaceTenant(o)) {
|
|
2882
|
-
const p = new
|
|
2882
|
+
const p = new It(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];
|
|
2883
2883
|
u !== p && (this.logger.verbose(`Replacing tenant domain name ${u} with id ${p}`), u = p);
|
|
2884
2884
|
}
|
|
2885
2885
|
l !== u && (n = n.replace(`/${u}/`, `/${l}/`));
|
|
@@ -3003,7 +3003,7 @@ class cr {
|
|
|
3003
3003
|
* @param metadataEntity
|
|
3004
3004
|
*/
|
|
3005
3005
|
isAuthoritySameType(e) {
|
|
3006
|
-
return new
|
|
3006
|
+
return new It(e.canonical_authority).getUrlComponents().PathSegments.length === this.canonicalAuthorityUrlComponents.PathSegments.length;
|
|
3007
3007
|
}
|
|
3008
3008
|
/**
|
|
3009
3009
|
* Parse authorityMetadata config option
|
|
@@ -3152,7 +3152,7 @@ Error Description: ${s.message}`);
|
|
|
3152
3152
|
* Helper function to determine if this host is included in the knownAuthorities config option
|
|
3153
3153
|
*/
|
|
3154
3154
|
isInKnownAuthorities() {
|
|
3155
|
-
return this.authorityOptions.knownAuthorities.filter((n) => n &&
|
|
3155
|
+
return this.authorityOptions.knownAuthorities.filter((n) => n && It.getDomainFromUrl(n).toLowerCase() === this.hostnameAndPort).length > 0;
|
|
3156
3156
|
}
|
|
3157
3157
|
/**
|
|
3158
3158
|
* helper function to populate the authority based on azureCloudOptions
|
|
@@ -3218,12 +3218,12 @@ Error Description: ${s.message}`);
|
|
|
3218
3218
|
* @param region string
|
|
3219
3219
|
*/
|
|
3220
3220
|
static buildRegionalAuthorityString(e, n, r) {
|
|
3221
|
-
const o = new
|
|
3221
|
+
const o = new It(e);
|
|
3222
3222
|
o.validateAsUri();
|
|
3223
3223
|
const i = o.getUrlComponents();
|
|
3224
3224
|
let s = `${n}.${i.HostNameAndPort}`;
|
|
3225
3225
|
this.isPublicCloudAuthority(i.HostNameAndPort) && (s = `${n}.${we.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);
|
|
3226
|
-
const l =
|
|
3226
|
+
const l = It.constructAuthorityUriFromObject({
|
|
3227
3227
|
...o.getUrlComponents(),
|
|
3228
3228
|
HostNameAndPort: s
|
|
3229
3229
|
}).urlString;
|
|
@@ -3250,7 +3250,7 @@ Error Description: ${s.message}`);
|
|
|
3250
3250
|
*/
|
|
3251
3251
|
static transformCIAMAuthority(e) {
|
|
3252
3252
|
let n = e;
|
|
3253
|
-
const o = new
|
|
3253
|
+
const o = new It(e).getUrlComponents();
|
|
3254
3254
|
if (o.PathSegments.length === 0 && o.HostNameAndPort.endsWith(we.CIAM_AUTH_URL)) {
|
|
3255
3255
|
const i = o.HostNameAndPort.split(".")[0];
|
|
3256
3256
|
n = `${n}${i}${we.AAD_TENANT_DOMAIN_SUFFIX}`;
|
|
@@ -3267,7 +3267,7 @@ cr.reservedTenantDomains = /* @__PURE__ */ new Set([
|
|
|
3267
3267
|
]);
|
|
3268
3268
|
function t2(t) {
|
|
3269
3269
|
var o;
|
|
3270
|
-
const r = (o = new
|
|
3270
|
+
const r = (o = new It(t).getUrlComponents().PathSegments.slice(-1)[0]) == null ? void 0 : o.toLowerCase();
|
|
3271
3271
|
switch (r) {
|
|
3272
3272
|
case wa.COMMON:
|
|
3273
3273
|
case wa.ORGANIZATIONS:
|
|
@@ -3637,7 +3637,7 @@ class Vc {
|
|
|
3637
3637
|
* @returns
|
|
3638
3638
|
*/
|
|
3639
3639
|
async signPayload(e, n, r, o) {
|
|
3640
|
-
const { resourceRequestMethod: i, resourceRequestUri: s, shrClaims: l, shrNonce: d, shrOptions: u } = r, p = s ? new
|
|
3640
|
+
const { resourceRequestMethod: i, resourceRequestUri: s, shrClaims: l, shrNonce: d, shrOptions: u } = r, p = s ? new It(s) : void 0, m = p == null ? void 0 : p.getUrlComponents();
|
|
3641
3641
|
return this.cryptoUtils.signJwt({
|
|
3642
3642
|
at: e,
|
|
3643
3643
|
ts: hr(),
|
|
@@ -3804,7 +3804,7 @@ ${s}`);
|
|
|
3804
3804
|
var I, O, A, $, j;
|
|
3805
3805
|
let p = we.EMPTY_STRING, m = [], y = null, g, x, w = we.EMPTY_STRING;
|
|
3806
3806
|
if (r.accessToken) {
|
|
3807
|
-
if (r.accessToken.tokenType ===
|
|
3807
|
+
if (r.accessToken.tokenType === Dt.POP && !i.popKid) {
|
|
3808
3808
|
const q = new Vc(e), { secret: Z, keyId: W } = r.accessToken;
|
|
3809
3809
|
if (!W)
|
|
3810
3810
|
throw ke(Av);
|
|
@@ -3903,7 +3903,7 @@ class z_ extends Qv {
|
|
|
3903
3903
|
if (!e)
|
|
3904
3904
|
throw Ft(a_);
|
|
3905
3905
|
const n = this.createLogoutUrlQueryString(e);
|
|
3906
|
-
return
|
|
3906
|
+
return It.appendQueryString(this.authority.endSessionEndpoint, n);
|
|
3907
3907
|
}
|
|
3908
3908
|
/**
|
|
3909
3909
|
* Executes POST request to token endpoint
|
|
@@ -3913,7 +3913,7 @@ class z_ extends Qv {
|
|
|
3913
3913
|
async executeTokenRequest(e, n) {
|
|
3914
3914
|
var u;
|
|
3915
3915
|
(u = this.performanceClient) == null || u.addQueueMeasurement(B.AuthClientExecuteTokenRequest, n.correlationId);
|
|
3916
|
-
const r = this.createTokenQueryParameters(n), o =
|
|
3916
|
+
const r = this.createTokenQueryParameters(n), o = It.appendQueryString(e.tokenEndpoint, r), i = await he(this.createTokenRequestBody.bind(this), B.AuthClientCreateTokenRequestBody, this.logger, this.performanceClient, n.correlationId)(n);
|
|
3917
3917
|
let s;
|
|
3918
3918
|
if (n.clientInfo)
|
|
3919
3919
|
try {
|
|
@@ -3944,11 +3944,11 @@ class z_ extends Qv {
|
|
|
3944
3944
|
const l = this.config.clientCredentials.clientAssertion;
|
|
3945
3945
|
I_(n, await B_(l.assertion, this.config.authOptions.clientId, e.resourceRequestUri)), R_(n, l.assertionType);
|
|
3946
3946
|
}
|
|
3947
|
-
if (k_(n, D0.AUTHORIZATION_CODE_GRANT), Wv(n), e.authenticationScheme ===
|
|
3947
|
+
if (k_(n, D0.AUTHORIZATION_CODE_GRANT), Wv(n), e.authenticationScheme === Dt.POP) {
|
|
3948
3948
|
const l = new Vc(this.cryptoUtils, this.performanceClient);
|
|
3949
3949
|
let d;
|
|
3950
3950
|
e.popKid ? d = this.cryptoUtils.encodeKid(e.popKid) : d = (await he(l.generateCnf.bind(l), B.PopTokenGenerateCnf, this.logger, this.performanceClient, e.correlationId)(e, this.logger)).reqCnfString, qv(n, d);
|
|
3951
|
-
} else if (e.authenticationScheme ===
|
|
3951
|
+
} else if (e.authenticationScheme === Dt.SSH)
|
|
3952
3952
|
if (e.sshJwk)
|
|
3953
3953
|
O_(n, e.sshJwk);
|
|
3954
3954
|
else
|
|
@@ -4049,7 +4049,7 @@ class u2 extends Qv {
|
|
|
4049
4049
|
const i = {
|
|
4050
4050
|
...e,
|
|
4051
4051
|
refreshToken: o.secret,
|
|
4052
|
-
authenticationScheme: e.authenticationScheme ||
|
|
4052
|
+
authenticationScheme: e.authenticationScheme || Dt.BEARER,
|
|
4053
4053
|
ccsCredential: {
|
|
4054
4054
|
credential: e.account.homeAccountId,
|
|
4055
4055
|
type: _o.HOME_ACCOUNT_ID
|
|
@@ -4074,7 +4074,7 @@ class u2 extends Qv {
|
|
|
4074
4074
|
async executeTokenRequest(e, n) {
|
|
4075
4075
|
var d;
|
|
4076
4076
|
(d = this.performanceClient) == null || d.addQueueMeasurement(B.RefreshTokenClientExecuteTokenRequest, e.correlationId);
|
|
4077
|
-
const r = this.createTokenQueryParameters(e), o =
|
|
4077
|
+
const r = this.createTokenQueryParameters(e), o = It.appendQueryString(n.tokenEndpoint, r), i = await he(this.createTokenRequestBody.bind(this), B.RefreshTokenClientCreateTokenRequestBody, this.logger, this.performanceClient, e.correlationId)(e), s = this.createTokenRequestHeaders(e.ccsCredential), l = uh(this.config.authOptions.clientId, e);
|
|
4078
4078
|
return he(this.executePostToTokenEndpoint.bind(this), B.RefreshTokenClientExecutePostToTokenEndpoint, this.logger, this.performanceClient, e.correlationId)(o, i, s, l, e.correlationId, B.RefreshTokenClientExecutePostToTokenEndpoint);
|
|
4079
4079
|
}
|
|
4080
4080
|
/**
|
|
@@ -4089,11 +4089,11 @@ class u2 extends Qv {
|
|
|
4089
4089
|
const l = this.config.clientCredentials.clientAssertion;
|
|
4090
4090
|
I_(n, await B_(l.assertion, this.config.authOptions.clientId, e.resourceRequestUri)), R_(n, l.assertionType);
|
|
4091
4091
|
}
|
|
4092
|
-
if (e.authenticationScheme ===
|
|
4092
|
+
if (e.authenticationScheme === Dt.POP) {
|
|
4093
4093
|
const l = new Vc(this.cryptoUtils, this.performanceClient);
|
|
4094
4094
|
let d;
|
|
4095
4095
|
e.popKid ? d = this.cryptoUtils.encodeKid(e.popKid) : d = (await he(l.generateCnf.bind(l), B.PopTokenGenerateCnf, this.logger, this.performanceClient, e.correlationId)(e, this.logger)).reqCnfString, qv(n, d);
|
|
4096
|
-
} else if (e.authenticationScheme ===
|
|
4096
|
+
} else if (e.authenticationScheme === Dt.SSH)
|
|
4097
4097
|
if (e.sshJwk)
|
|
4098
4098
|
O_(n, e.sshJwk);
|
|
4099
4099
|
else
|
|
@@ -4231,7 +4231,7 @@ function p2(t, e, n, r) {
|
|
|
4231
4231
|
}
|
|
4232
4232
|
function ey(t, e, n, r) {
|
|
4233
4233
|
const o = id(e, n, r);
|
|
4234
|
-
return
|
|
4234
|
+
return It.appendQueryString(t.authorizationEndpoint, o);
|
|
4235
4235
|
}
|
|
4236
4236
|
function g2(t, e) {
|
|
4237
4237
|
if (ty(t, e), !t.code)
|
|
@@ -4860,11 +4860,11 @@ function Pi() {
|
|
|
4860
4860
|
return typeof window < "u" && window.location ? window.location.href.split("?")[0].split("#")[0] : "";
|
|
4861
4861
|
}
|
|
4862
4862
|
function W2() {
|
|
4863
|
-
const e = new
|
|
4863
|
+
const e = new It(window.location.href).getUrlComponents();
|
|
4864
4864
|
return `${e.Protocol}//${e.HostNameAndPort}/`;
|
|
4865
4865
|
}
|
|
4866
4866
|
function q2() {
|
|
4867
|
-
if (
|
|
4867
|
+
if (It.hashContainsKnownProperties(window.location.hash) && yy())
|
|
4868
4868
|
throw $e(nT);
|
|
4869
4869
|
}
|
|
4870
4870
|
function Y2(t) {
|
|
@@ -6667,7 +6667,7 @@ class Am extends bm {
|
|
|
6667
6667
|
* @returns
|
|
6668
6668
|
*/
|
|
6669
6669
|
generateCredentialKey(e) {
|
|
6670
|
-
const n = e.credentialType === Mn.REFRESH_TOKEN && e.familyId || e.clientId, r = e.tokenType && e.tokenType.toLowerCase() !==
|
|
6670
|
+
const n = e.credentialType === Mn.REFRESH_TOKEN && e.familyId || e.clientId, r = e.tokenType && e.tokenType.toLowerCase() !== Dt.BEARER.toLowerCase() ? e.tokenType.toLowerCase() : "";
|
|
6671
6671
|
return [
|
|
6672
6672
|
`${Yn}.${zn}`,
|
|
6673
6673
|
e.homeAccountId,
|
|
@@ -6997,7 +6997,7 @@ class FT {
|
|
|
6997
6997
|
getRedirectUri(e) {
|
|
6998
6998
|
this.logger.verbose("getRedirectUri called");
|
|
6999
6999
|
const n = e || this.config.auth.redirectUri;
|
|
7000
|
-
return
|
|
7000
|
+
return It.getAbsoluteUrl(n, Pi());
|
|
7001
7001
|
}
|
|
7002
7002
|
/**
|
|
7003
7003
|
*
|
|
@@ -7036,7 +7036,7 @@ class FT {
|
|
|
7036
7036
|
cloudDiscoveryMetadata: this.config.auth.cloudDiscoveryMetadata,
|
|
7037
7037
|
authorityMetadata: this.config.auth.authorityMetadata,
|
|
7038
7038
|
skipAuthorityMetadataCache: this.config.auth.skipAuthorityMetadataCache
|
|
7039
|
-
}, i = e.requestAuthority || this.config.auth.authority, s = r != null && r.length ? r === "true" : this.config.auth.instanceAware, l = n && s ? this.config.auth.authority.replace(
|
|
7039
|
+
}, i = e.requestAuthority || this.config.auth.authority, s = r != null && r.length ? r === "true" : this.config.auth.instanceAware, l = n && s ? this.config.auth.authority.replace(It.getDomainFromUrl(i), n.environment) : i, d = cr.generateAuthority(l, e.requestAzureCloudOptions || this.config.auth.azureCloudOptions), u = await he(Yv, B.AuthorityFactoryCreateDiscoveredInstance, this.logger, this.performanceClient, this.correlationId)(d, this.config.system.networkClient, this.browserStorage, o, this.logger, this.correlationId, this.performanceClient);
|
|
7040
7040
|
if (n && !u.isAlias(n.environment))
|
|
7041
7041
|
throw Ft(f_);
|
|
7042
7042
|
return u;
|
|
@@ -7052,9 +7052,9 @@ async function Cy(t, e, n, r) {
|
|
|
7052
7052
|
scopes: i
|
|
7053
7053
|
};
|
|
7054
7054
|
if (!s.authenticationScheme)
|
|
7055
|
-
s.authenticationScheme =
|
|
7055
|
+
s.authenticationScheme = Dt.BEARER, r.verbose(`Authentication Scheme wasn't explicitly set in request, defaulting to "Bearer" request`);
|
|
7056
7056
|
else {
|
|
7057
|
-
if (s.authenticationScheme ===
|
|
7057
|
+
if (s.authenticationScheme === Dt.SSH) {
|
|
7058
7058
|
if (!t.sshJwk)
|
|
7059
7059
|
throw Ft(oh);
|
|
7060
7060
|
if (!t.sshKid)
|
|
@@ -7109,7 +7109,7 @@ class Jc extends FT {
|
|
|
7109
7109
|
this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");
|
|
7110
7110
|
else
|
|
7111
7111
|
this.logger.verbose("logoutHint will not be set since no logout request was configured");
|
|
7112
|
-
return !e || e.postLogoutRedirectUri !== null ? e && e.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", n.correlationId), n.postLogoutRedirectUri =
|
|
7112
|
+
return !e || e.postLogoutRedirectUri !== null ? e && e.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request", n.correlationId), n.postLogoutRedirectUri = It.getAbsoluteUrl(e.postLogoutRedirectUri, Pi())) : this.config.auth.postLogoutRedirectUri === null ? this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect", n.correlationId) : this.config.auth.postLogoutRedirectUri ? (this.logger.verbose("Setting postLogoutRedirectUri to configured uri", n.correlationId), n.postLogoutRedirectUri = It.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri, Pi())) : (this.logger.verbose("Setting postLogoutRedirectUri to current page", n.correlationId), n.postLogoutRedirectUri = It.getAbsoluteUrl(Pi(), Pi())) : this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri", n.correlationId), n;
|
|
7113
7113
|
}
|
|
7114
7114
|
/**
|
|
7115
7115
|
* Parses login_hint ID Token Claim out of AccountInfo object to be used as
|
|
@@ -7592,7 +7592,7 @@ class lf extends FT {
|
|
|
7592
7592
|
* @param response
|
|
7593
7593
|
*/
|
|
7594
7594
|
async generatePopAccessToken(e, n) {
|
|
7595
|
-
if (n.tokenType ===
|
|
7595
|
+
if (n.tokenType === Dt.POP && n.signPopToken) {
|
|
7596
7596
|
if (e.shr)
|
|
7597
7597
|
return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"), e.shr;
|
|
7598
7598
|
const r = new Vc(this.browserCrypto), o = {
|
|
@@ -7626,7 +7626,7 @@ class lf extends FT {
|
|
|
7626
7626
|
e.id_token
|
|
7627
7627
|
);
|
|
7628
7628
|
y.nativeAccountId !== e.account.id && (y.nativeAccountId = e.account.id);
|
|
7629
|
-
const g = await this.generatePopAccessToken(e, n), x = n.tokenType ===
|
|
7629
|
+
const g = await this.generatePopAccessToken(e, n), x = n.tokenType === Dt.POP ? Dt.POP : Dt.BEARER;
|
|
7630
7630
|
return {
|
|
7631
7631
|
authority: i,
|
|
7632
7632
|
uniqueId: p,
|
|
@@ -7663,14 +7663,14 @@ class lf extends FT {
|
|
|
7663
7663
|
* @param reqTimestamp
|
|
7664
7664
|
*/
|
|
7665
7665
|
cacheNativeTokens(e, n, r, o, i, s, l) {
|
|
7666
|
-
const d = ch(r, n.authority, e.id_token || "", n.clientId, o.tid || ""), u = n.tokenType ===
|
|
7666
|
+
const d = ch(r, n.authority, e.id_token || "", n.clientId, o.tid || ""), u = n.tokenType === Dt.POP ? we.SHR_NONCE_VALIDITY : (typeof e.expires_in == "string" ? parseInt(e.expires_in, 10) : e.expires_in) || 0, p = l + u, m = this.generateScopes(e.scope, n.scope), y = lh(r, n.authority, i, n.clientId, o.tid || s, m.printScopes(), p, 0, ur, void 0, n.tokenType, void 0, n.keyId), g = {
|
|
7667
7667
|
idToken: d,
|
|
7668
7668
|
accessToken: y
|
|
7669
7669
|
};
|
|
7670
7670
|
return this.nativeStorageManager.saveCacheRecord(g, this.correlationId, Zo(o), this.apiId, n.storeInCache);
|
|
7671
7671
|
}
|
|
7672
7672
|
getExpiresInValue(e, n) {
|
|
7673
|
-
return e ===
|
|
7673
|
+
return e === Dt.POP ? we.SHR_NONCE_VALIDITY : (typeof n == "string" ? parseInt(n, 10) : n) || 0;
|
|
7674
7674
|
}
|
|
7675
7675
|
addTelemetryFromNativeResponse(e) {
|
|
7676
7676
|
const n = this.getMATSFromResponse(e);
|
|
@@ -7743,7 +7743,7 @@ class lf extends FT {
|
|
|
7743
7743
|
};
|
|
7744
7744
|
if (u.signPopToken && e.popKid)
|
|
7745
7745
|
throw $e(yT);
|
|
7746
|
-
if (this.handleExtraBrokerParams(u), u.extraParameters = u.extraParameters || {}, u.extraParameters.telemetry = ro.MATS_TELEMETRY, e.authenticationScheme ===
|
|
7746
|
+
if (this.handleExtraBrokerParams(u), u.extraParameters = u.extraParameters || {}, u.extraParameters.telemetry = ro.MATS_TELEMETRY, e.authenticationScheme === Dt.POP) {
|
|
7747
7747
|
const p = {
|
|
7748
7748
|
resourceRequestUri: e.resourceRequestUri,
|
|
7749
7749
|
resourceRequestMethod: e.resourceRequestMethod,
|
|
@@ -7768,7 +7768,7 @@ class lf extends FT {
|
|
|
7768
7768
|
requestAzureCloudOptions: e.azureCloudOptions,
|
|
7769
7769
|
account: e.account
|
|
7770
7770
|
});
|
|
7771
|
-
const r = new
|
|
7771
|
+
const r = new It(n);
|
|
7772
7772
|
return r.validateAsUri(), r;
|
|
7773
7773
|
}
|
|
7774
7774
|
getPrompt(e) {
|
|
@@ -7847,7 +7847,7 @@ async function xy(t, e, n, r, o) {
|
|
|
7847
7847
|
cpu: ""
|
|
7848
7848
|
}), t.auth.protocolMode !== Ir.OIDC && Gv(i, t.telemetry.application), n.platformBroker && (PD(i), o.addFields({
|
|
7849
7849
|
isPlatformAuthorizeRequest: !0
|
|
7850
|
-
}, n.correlationId), n.authenticationScheme ===
|
|
7850
|
+
}, n.correlationId), n.authenticationScheme === Dt.POP)) {
|
|
7851
7851
|
const s = new Di(r, o), l = new Vc(s);
|
|
7852
7852
|
let d;
|
|
7853
7853
|
n.popKid ? d = s.encodeKid(n.popKid) : d = (await he(l.generateCnf.bind(l), B.PopTokenGenerateCnf, r, o, n.correlationId)(n, r)).reqCnfString, qv(i, d);
|
|
@@ -8233,8 +8233,8 @@ function ld(t, e, n, r) {
|
|
|
8233
8233
|
return e.trace("isPlatformAuthAllowed: Platform auth provider is not initialized, returning false"), !1;
|
|
8234
8234
|
if (r)
|
|
8235
8235
|
switch (r) {
|
|
8236
|
-
case
|
|
8237
|
-
case
|
|
8236
|
+
case Dt.BEARER:
|
|
8237
|
+
case Dt.POP:
|
|
8238
8238
|
return e.trace("isPlatformAuthAllowed: authenticationScheme is supported, returning true"), !0;
|
|
8239
8239
|
default:
|
|
8240
8240
|
return e.trace("isPlatformAuthAllowed: authenticationScheme is not supported, returning false"), !1;
|
|
@@ -8406,7 +8406,7 @@ class BL extends Jc {
|
|
|
8406
8406
|
apiId: xt.logoutPopup,
|
|
8407
8407
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
8408
8408
|
noHistory: !1
|
|
8409
|
-
}, g =
|
|
8409
|
+
}, g = It.getAbsoluteUrl(o, Pi());
|
|
8410
8410
|
await this.navigationClient.navigateInternal(g, y);
|
|
8411
8411
|
}
|
|
8412
8412
|
(l = n.popup) == null || l.close();
|
|
@@ -8422,7 +8422,7 @@ class BL extends Jc {
|
|
|
8422
8422
|
apiId: xt.logoutPopup,
|
|
8423
8423
|
timeout: this.config.system.redirectNavigationTimeout,
|
|
8424
8424
|
noHistory: !1
|
|
8425
|
-
}, g =
|
|
8425
|
+
}, g = It.getAbsoluteUrl(o, Pi());
|
|
8426
8426
|
this.logger.verbose("Redirecting main window to url specified in the request"), this.logger.verbosePii(`Redirecting main window to: ${g}`), await this.navigationClient.navigateInternal(g, y);
|
|
8427
8427
|
} else
|
|
8428
8428
|
this.logger.verbose("No main window navigation requested");
|
|
@@ -8790,7 +8790,7 @@ class VL extends Jc {
|
|
|
8790
8790
|
*/
|
|
8791
8791
|
getRedirectStartPage(e) {
|
|
8792
8792
|
const n = e || window.location.href;
|
|
8793
|
-
return
|
|
8793
|
+
return It.getAbsoluteUrl(n, Pi());
|
|
8794
8794
|
}
|
|
8795
8795
|
}
|
|
8796
8796
|
/*! @azure/msal-browser v4.30.0 2026-03-18 */
|
|
@@ -14401,7 +14401,7 @@ Hf.exports;
|
|
|
14401
14401
|
["partial", $],
|
|
14402
14402
|
["partialRight", j],
|
|
14403
14403
|
["rearg", Z]
|
|
14404
|
-
], ie = "[object Arguments]", ne = "[object Array]", ve = "[object AsyncFunction]", Pe = "[object Boolean]", Se = "[object Date]", Me = "[object DOMException]", ge = "[object Error]", qe = "[object Function]", _t = "[object GeneratorFunction]",
|
|
14404
|
+
], ie = "[object Arguments]", ne = "[object Array]", ve = "[object AsyncFunction]", Pe = "[object Boolean]", Se = "[object Date]", Me = "[object DOMException]", ge = "[object Error]", qe = "[object Function]", _t = "[object GeneratorFunction]", kt = "[object Map]", Ht = "[object Number]", wn = "[object Null]", jt = "[object Object]", nn = "[object Promise]", Nr = "[object Proxy]", Fn = "[object RegExp]", gn = "[object Set]", Pr = "[object String]", F = "[object Symbol]", D = "[object Undefined]", K = "[object WeakMap]", Te = "[object WeakSet]", xe = "[object ArrayBuffer]", Ce = "[object DataView]", Oe = "[object Float32Array]", Be = "[object Float64Array]", at = "[object Int8Array]", Bt = "[object Int16Array]", Wt = "[object Int32Array]", qt = "[object Uint8Array]", bn = "[object Uint8ClampedArray]", gr = "[object Uint16Array]", Or = "[object Uint32Array]", Cn = /\b__p \+= '';/g, No = /\b(__p \+=) '' \+/g, Xn = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Po = /&(?:amp|lt|gt|quot|#39);/g, rl = /[&<>"']/g, ol = RegExp(Po.source), Ve = RegExp(rl.source), Kr = /<%-([\s\S]+?)%>/g, Ud = /<%([\s\S]+?)%>/g, ao = /<%=([\s\S]+?)%>/g, Ma = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Da = /^\w*$/, Ls = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, il = /[\\^$.*+?()[\]{}|]/g, La = RegExp(il.source), Vi = /^\s+/, Hd = /\s/, Zh = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Bd = /\{\n\/\* \[wrapped with (.+)\] \*/, ep = /,? & /, zd = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Fa = /[()=,{}\[\]\/\s]/, Vd = /\\(\\)?/g, $a = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, al = /\w*$/, Fs = /^[-+]0x[0-9a-f]+$/i, tp = /^0b[01]+$/i, ri = /^\[object .+?Constructor\]$/, Kd = /^0o[0-7]+$/i, $s = /^(?:0|[1-9]\d*)$/, Us = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ki = /($^)/, np = /['\n\r\u2028\u2029\\]/g, Gi = "\\ud800-\\udfff", rp = "\\u0300-\\u036f", Et = "\\ufe20-\\ufe2f", sl = "\\u20d0-\\u20ff", op = rp + Et + sl, Gd = "\\u2700-\\u27bf", ip = "a-z\\xdf-\\xf6\\xf8-\\xff", cl = "\\xac\\xb1\\xd7\\xf7", jd = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Hs = "\\u2000-\\u206f", ll = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", dl = "A-Z\\xc0-\\xd6\\xd8-\\xde", Bs = "\\ufe0e\\ufe0f", ul = cl + jd + Hs + ll, Gr = "['’]", fl = "[" + Gi + "]", Wd = "[" + ul + "]", oi = "[" + op + "]", ii = "\\d+", Ua = "[" + Gd + "]", Ha = "[" + ip + "]", Oo = "[^" + Gi + ul + ii + Gd + ip + dl + "]", hl = "\\ud83c[\\udffb-\\udfff]", ji = "(?:" + oi + "|" + hl + ")", pl = "[^" + Gi + "]", Ba = "(?:\\ud83c[\\udde6-\\uddff]){2}", zs = "[\\ud800-\\udbff][\\udc00-\\udfff]", Mo = "[" + dl + "]", ai = "\\u200d", si = "(?:" + Ha + "|" + Oo + ")", Vs = "(?:" + Mo + "|" + Oo + ")", ci = "(?:" + Gr + "(?:d|ll|m|re|s|t|ve))?", Wi = "(?:" + Gr + "(?:D|LL|M|RE|S|T|VE))?", za = ji + "?", Va = "[" + Bs + "]?", gl = "(?:" + ai + "(?:" + [pl, Ba, zs].join("|") + ")" + Va + za + ")*", qi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ka = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ml = Va + za + gl, ap = "(?:" + [Ua, Ba, zs].join("|") + ")" + ml, Rt = "(?:" + [pl + oi + "?", oi, Ba, zs, fl].join("|") + ")", Ks = RegExp(Gr, "g"), sp = RegExp(oi, "g"), Ga = RegExp(hl + "(?=" + hl + ")|" + Rt + ml, "g"), cp = RegExp([
|
|
14405
14405
|
Mo + "?" + Ha + "+" + ci + "(?=" + [Wd, Mo, "$"].join("|") + ")",
|
|
14406
14406
|
Vs + "+" + Wi + "(?=" + [Wd, Mo + si, "$"].join("|") + ")",
|
|
14407
14407
|
Mo + "?" + si + "+" + ci,
|
|
@@ -14442,9 +14442,9 @@ Hf.exports;
|
|
|
14442
14442
|
"parseInt",
|
|
14443
14443
|
"setTimeout"
|
|
14444
14444
|
], xw = -1, Vt = {};
|
|
14445
|
-
Vt[Oe] = Vt[Be] = Vt[at] = Vt[Bt] = Vt[Wt] = Vt[qt] = Vt[bn] = Vt[gr] = Vt[Or] = !0, Vt[ie] = Vt[ne] = Vt[xe] = Vt[Pe] = Vt[Ce] = Vt[Se] = Vt[ge] = Vt[qe] = Vt[
|
|
14446
|
-
var
|
|
14447
|
-
|
|
14445
|
+
Vt[Oe] = Vt[Be] = Vt[at] = Vt[Bt] = Vt[Wt] = Vt[qt] = Vt[bn] = Vt[gr] = Vt[Or] = !0, Vt[ie] = Vt[ne] = Vt[xe] = Vt[Pe] = Vt[Ce] = Vt[Se] = Vt[ge] = Vt[qe] = Vt[kt] = Vt[Ht] = Vt[jt] = Vt[Fn] = Vt[gn] = Vt[Pr] = Vt[K] = !1;
|
|
14446
|
+
var Lt = {};
|
|
14447
|
+
Lt[ie] = Lt[ne] = Lt[xe] = Lt[Ce] = Lt[Pe] = Lt[Se] = Lt[Oe] = Lt[Be] = Lt[at] = Lt[Bt] = Lt[Wt] = Lt[kt] = Lt[Ht] = Lt[jt] = Lt[Fn] = Lt[gn] = Lt[Pr] = Lt[F] = Lt[qt] = Lt[bn] = Lt[gr] = Lt[Or] = !0, Lt[ge] = Lt[qe] = Lt[K] = !1;
|
|
14448
14448
|
var mr = {
|
|
14449
14449
|
// Latin-1 Supplement block.
|
|
14450
14450
|
À: "A",
|
|
@@ -14657,9 +14657,9 @@ Hf.exports;
|
|
|
14657
14657
|
"\r": "r",
|
|
14658
14658
|
"\u2028": "u2028",
|
|
14659
14659
|
"\u2029": "u2029"
|
|
14660
|
-
}, Yi = parseFloat, xn = parseInt, js = typeof Qo == "object" && Qo && Qo.Object === Object && Qo, lo = typeof self == "object" && self && self.Object === Object && self, ln = js || lo || Function("return this")(), Do = e && !e.nodeType && e,
|
|
14660
|
+
}, Yi = parseFloat, xn = parseInt, js = typeof Qo == "object" && Qo && Qo.Object === Object && Qo, lo = typeof self == "object" && self && self.Object === Object && self, ln = js || lo || Function("return this")(), Do = e && !e.nodeType && e, Tt = Do && !0 && t && !t.nodeType && t, dp = Tt && Tt.exports === Do, vr = dp && js.process, En = function() {
|
|
14661
14661
|
try {
|
|
14662
|
-
var X =
|
|
14662
|
+
var X = Tt && Tt.require && Tt.require("util").types;
|
|
14663
14663
|
return X || vr && vr.binding && vr.binding("util");
|
|
14664
14664
|
} catch {
|
|
14665
14665
|
}
|
|
@@ -14792,8 +14792,8 @@ Hf.exports;
|
|
|
14792
14792
|
};
|
|
14793
14793
|
}
|
|
14794
14794
|
function ec(X, pe, de, Ue, rt) {
|
|
14795
|
-
return rt(X, function(ft, dn,
|
|
14796
|
-
de = Ue ? (Ue = !1, ft) : pe(de, ft, dn,
|
|
14795
|
+
return rt(X, function(ft, dn, Nt) {
|
|
14796
|
+
de = Ue ? (Ue = !1, ft) : pe(de, ft, dn, Nt);
|
|
14797
14797
|
}), de;
|
|
14798
14798
|
}
|
|
14799
14799
|
function tu(X, pe) {
|
|
@@ -14935,23 +14935,23 @@ Hf.exports;
|
|
|
14935
14935
|
}
|
|
14936
14936
|
var Cp = function X(pe) {
|
|
14937
14937
|
pe = pe == null ? ln : ui.defaults(ln.Object(), pe, ui.pick(ln, vl));
|
|
14938
|
-
var de = pe.Array, Ue = pe.Date, rt = pe.Error, ft = pe.Function, dn = pe.Math,
|
|
14938
|
+
var de = pe.Array, Ue = pe.Date, rt = pe.Error, ft = pe.Function, dn = pe.Math, Nt = pe.Object, _l = pe.RegExp, xp = pe.String, un = pe.TypeError, rc = de.prototype, _p = ft.prototype, Zi = Nt.prototype, oc = pe["__core-js_shared__"], ic = _p.toString, At = Zi.hasOwnProperty, cu = 0, fo = function() {
|
|
14939
14939
|
var a = /[^.]+$/.exec(oc && oc.keys && oc.keys.IE_PROTO || "");
|
|
14940
14940
|
return a ? "Symbol(src)_1." + a : "";
|
|
14941
|
-
}(), $o = Zi.toString, Tp = ic.call(
|
|
14942
|
-
"^" + ic.call(
|
|
14943
|
-
), ac = dp ? pe.Buffer : n, qr = pe.Symbol, sc = pe.Uint8Array, lu = ac ? ac.allocUnsafe : n, hi = xl(
|
|
14941
|
+
}(), $o = Zi.toString, Tp = ic.call(Nt), fi = ln._, Sp = _l(
|
|
14942
|
+
"^" + ic.call(At).replace(il, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
14943
|
+
), ac = dp ? pe.Buffer : n, qr = pe.Symbol, sc = pe.Uint8Array, lu = ac ? ac.allocUnsafe : n, hi = xl(Nt.getPrototypeOf, Nt), du = Nt.create, uu = Zi.propertyIsEnumerable, cc = rc.splice, Tl = qr ? qr.isConcatSpreadable : n, ea = qr ? qr.iterator : n, pi = qr ? qr.toStringTag : n, ns = function() {
|
|
14944
14944
|
try {
|
|
14945
|
-
var a = ls(
|
|
14945
|
+
var a = ls(Nt, "defineProperty");
|
|
14946
14946
|
return a({}, "", {}), a;
|
|
14947
14947
|
} catch {
|
|
14948
14948
|
}
|
|
14949
|
-
}(), Sl = pe.clearTimeout !== ln.clearTimeout && pe.clearTimeout, fu = Ue && Ue.now !== ln.Date.now && Ue.now, Ep = pe.setTimeout !== ln.setTimeout && pe.setTimeout, lc = dn.ceil, rs = dn.floor, os =
|
|
14949
|
+
}(), Sl = pe.clearTimeout !== ln.clearTimeout && pe.clearTimeout, fu = Ue && Ue.now !== ln.Date.now && Ue.now, Ep = pe.setTimeout !== ln.setTimeout && pe.setTimeout, lc = dn.ceil, rs = dn.floor, os = Nt.getOwnPropertySymbols, hu = ac ? ac.isBuffer : n, pu = pe.isFinite, gi = rc.join, Uo = xl(Nt.keys, Nt), Yt = dn.max, An = dn.min, gu = Ue.now, mu = pe.parseInt, C = dn.random, R = rc.reverse, M = ls(pe, "DataView"), Y = ls(pe, "Map"), U = ls(pe, "Promise"), z = ls(pe, "Set"), se = ls(pe, "WeakMap"), Ie = ls(Nt, "create"), Fe = se && new se(), We = {}, ct = ds(M), rn = ds(Y), en = ds(U), kn = ds(z), _n = ds(se), Qt = qr ? qr.prototype : n, on = Qt ? Qt.valueOf : n, ta = Qt ? Qt.toString : n;
|
|
14950
14950
|
function k(a) {
|
|
14951
14951
|
if (an(a) && !lt(a) && !(a instanceof bt)) {
|
|
14952
14952
|
if (a instanceof Yr)
|
|
14953
14953
|
return a;
|
|
14954
|
-
if (
|
|
14954
|
+
if (At.call(a, "__wrapped__"))
|
|
14955
14955
|
return _b(a);
|
|
14956
14956
|
}
|
|
14957
14957
|
return new Yr(a);
|
|
@@ -15077,11 +15077,11 @@ Hf.exports;
|
|
|
15077
15077
|
var f = c[a];
|
|
15078
15078
|
return f === u ? n : f;
|
|
15079
15079
|
}
|
|
15080
|
-
return
|
|
15080
|
+
return At.call(c, a) ? c[a] : n;
|
|
15081
15081
|
}
|
|
15082
15082
|
function AR(a) {
|
|
15083
15083
|
var c = this.__data__;
|
|
15084
|
-
return Ie ? c[a] !== n :
|
|
15084
|
+
return Ie ? c[a] !== n : At.call(c, a);
|
|
15085
15085
|
}
|
|
15086
15086
|
function IR(a, c) {
|
|
15087
15087
|
var f = this.__data__;
|
|
@@ -15189,7 +15189,7 @@ Hf.exports;
|
|
|
15189
15189
|
function _w(a, c) {
|
|
15190
15190
|
var f = lt(a), v = !f && us(a), T = !f && !v && aa(a), N = !f && !v && !T && pc(a), L = f || v || T || N, G = L ? Ja(a.length, xp) : [], ee = G.length;
|
|
15191
15191
|
for (var ye in a)
|
|
15192
|
-
(c ||
|
|
15192
|
+
(c || At.call(a, ye)) && !(L && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
15193
15193
|
(ye == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
15194
15194
|
T && (ye == "offset" || ye == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
15195
15195
|
N && (ye == "buffer" || ye == "byteLength" || ye == "byteOffset") || // Skip index properties.
|
|
@@ -15211,7 +15211,7 @@ Hf.exports;
|
|
|
15211
15211
|
}
|
|
15212
15212
|
function El(a, c, f) {
|
|
15213
15213
|
var v = a[c];
|
|
15214
|
-
(!(
|
|
15214
|
+
(!(At.call(a, c) && go(v, f)) || f === n && !(c in a)) && Ho(a, c, f);
|
|
15215
15215
|
}
|
|
15216
15216
|
function yu(a, c) {
|
|
15217
15217
|
for (var f = a.length; f--; )
|
|
@@ -15264,7 +15264,7 @@ Hf.exports;
|
|
|
15264
15264
|
if (L = ee || De ? {} : pb(a), !G)
|
|
15265
15265
|
return ee ? Ek(a, YR(L, a)) : Sk(a, Sw(L, a));
|
|
15266
15266
|
} else {
|
|
15267
|
-
if (!
|
|
15267
|
+
if (!Lt[Ee])
|
|
15268
15268
|
return T ? a : {};
|
|
15269
15269
|
L = $k(a, Ee, G);
|
|
15270
15270
|
}
|
|
@@ -15293,7 +15293,7 @@ Hf.exports;
|
|
|
15293
15293
|
var v = f.length;
|
|
15294
15294
|
if (a == null)
|
|
15295
15295
|
return !v;
|
|
15296
|
-
for (a =
|
|
15296
|
+
for (a = Nt(a); v--; ) {
|
|
15297
15297
|
var T = f[v], N = c[T], L = a[T];
|
|
15298
15298
|
if (L === n && !(T in a) || !N(L))
|
|
15299
15299
|
return !1;
|
|
@@ -15382,16 +15382,16 @@ Hf.exports;
|
|
|
15382
15382
|
return lt(a) ? v : Wr(v, f(a));
|
|
15383
15383
|
}
|
|
15384
15384
|
function er(a) {
|
|
15385
|
-
return a == null ? a === n ? D : wn : pi && pi in
|
|
15385
|
+
return a == null ? a === n ? D : wn : pi && pi in Nt(a) ? Mk(a) : Wk(a);
|
|
15386
15386
|
}
|
|
15387
15387
|
function Np(a, c) {
|
|
15388
15388
|
return a > c;
|
|
15389
15389
|
}
|
|
15390
15390
|
function ZR(a, c) {
|
|
15391
|
-
return a != null &&
|
|
15391
|
+
return a != null && At.call(a, c);
|
|
15392
15392
|
}
|
|
15393
15393
|
function ek(a, c) {
|
|
15394
|
-
return a != null && c in
|
|
15394
|
+
return a != null && c in Nt(a);
|
|
15395
15395
|
}
|
|
15396
15396
|
function tk(a, c, f) {
|
|
15397
15397
|
return a >= An(c, f) && a < Yt(c, f);
|
|
@@ -15451,7 +15451,7 @@ Hf.exports;
|
|
|
15451
15451
|
if (De && !be)
|
|
15452
15452
|
return N || (N = new ho()), L || pc(a) ? ub(a, c, f, v, T, N) : Pk(a, c, ee, f, v, T, N);
|
|
15453
15453
|
if (!(f & w)) {
|
|
15454
|
-
var je = be &&
|
|
15454
|
+
var je = be && At.call(a, "__wrapped__"), tt = Ee && At.call(c, "__wrapped__");
|
|
15455
15455
|
if (je || tt) {
|
|
15456
15456
|
var gt = je ? a.value() : a, Je = tt ? c.value() : c;
|
|
15457
15457
|
return N || (N = new ho()), T(gt, Je, f, v, N);
|
|
@@ -15460,13 +15460,13 @@ Hf.exports;
|
|
|
15460
15460
|
return De ? (N || (N = new ho()), Ok(a, c, f, v, T, N)) : !1;
|
|
15461
15461
|
}
|
|
15462
15462
|
function ak(a) {
|
|
15463
|
-
return an(a) && Hn(a) ==
|
|
15463
|
+
return an(a) && Hn(a) == kt;
|
|
15464
15464
|
}
|
|
15465
15465
|
function Op(a, c, f, v) {
|
|
15466
15466
|
var T = f.length, N = T, L = !v;
|
|
15467
15467
|
if (a == null)
|
|
15468
15468
|
return !N;
|
|
15469
|
-
for (a =
|
|
15469
|
+
for (a = Nt(a); T--; ) {
|
|
15470
15470
|
var G = f[T];
|
|
15471
15471
|
if (L && G[2] ? G[1] !== a[G[0]] : !(G[0] in a))
|
|
15472
15472
|
return !1;
|
|
@@ -15509,8 +15509,8 @@ Hf.exports;
|
|
|
15509
15509
|
if (!Pl(a))
|
|
15510
15510
|
return Uo(a);
|
|
15511
15511
|
var c = [];
|
|
15512
|
-
for (var f in
|
|
15513
|
-
|
|
15512
|
+
for (var f in Nt(a))
|
|
15513
|
+
At.call(a, f) && f != "constructor" && c.push(f);
|
|
15514
15514
|
return c;
|
|
15515
15515
|
}
|
|
15516
15516
|
function dk(a) {
|
|
@@ -15518,7 +15518,7 @@ Hf.exports;
|
|
|
15518
15518
|
return jk(a);
|
|
15519
15519
|
var c = Pl(a), f = [];
|
|
15520
15520
|
for (var v in a)
|
|
15521
|
-
v == "constructor" && (c || !
|
|
15521
|
+
v == "constructor" && (c || !At.call(a, v)) || f.push(v);
|
|
15522
15522
|
return f;
|
|
15523
15523
|
}
|
|
15524
15524
|
function Dp(a, c) {
|
|
@@ -15769,7 +15769,7 @@ Hf.exports;
|
|
|
15769
15769
|
return !0;
|
|
15770
15770
|
for (; ++f < v; ) {
|
|
15771
15771
|
var T = po(c[f]);
|
|
15772
|
-
if (T === "__proto__" && !
|
|
15772
|
+
if (T === "__proto__" && !At.call(a, "__proto__") || (T === "constructor" || T === "prototype") && f < v - 1)
|
|
15773
15773
|
return !1;
|
|
15774
15774
|
}
|
|
15775
15775
|
var N = yb(a, c);
|
|
@@ -15812,7 +15812,7 @@ Hf.exports;
|
|
|
15812
15812
|
return typeof a == "function" ? a : Cr;
|
|
15813
15813
|
}
|
|
15814
15814
|
function oa(a, c) {
|
|
15815
|
-
return lt(a) ? a : Xp(a, c) ? [a] : xb(
|
|
15815
|
+
return lt(a) ? a : Xp(a, c) ? [a] : xb(Pt(a));
|
|
15816
15816
|
}
|
|
15817
15817
|
var bk = vt;
|
|
15818
15818
|
function ia(a, c, f) {
|
|
@@ -15841,7 +15841,7 @@ Hf.exports;
|
|
|
15841
15841
|
return c.lastIndex = a.lastIndex, c;
|
|
15842
15842
|
}
|
|
15843
15843
|
function _k(a) {
|
|
15844
|
-
return on ?
|
|
15844
|
+
return on ? Nt(on.call(a)) : {};
|
|
15845
15845
|
}
|
|
15846
15846
|
function Qw(a, c) {
|
|
15847
15847
|
var f = c ? Kp(a.buffer) : a.buffer;
|
|
@@ -15917,7 +15917,7 @@ Hf.exports;
|
|
|
15917
15917
|
function uc(a) {
|
|
15918
15918
|
return vt(function(c, f) {
|
|
15919
15919
|
var v = -1, T = f.length, N = T > 1 ? f[T - 1] : n, L = T > 2 ? f[2] : n;
|
|
15920
|
-
for (N = a.length > 3 && typeof N == "function" ? (T--, N) : n, L && tr(f[0], f[1], L) && (N = T < 3 ? n : N, T = 1), c =
|
|
15920
|
+
for (N = a.length > 3 && typeof N == "function" ? (T--, N) : n, L && tr(f[0], f[1], L) && (N = T < 3 ? n : N, T = 1), c = Nt(c); ++v < T; ) {
|
|
15921
15921
|
var G = f[v];
|
|
15922
15922
|
G && a(c, G, v, N);
|
|
15923
15923
|
}
|
|
@@ -15930,14 +15930,14 @@ Hf.exports;
|
|
|
15930
15930
|
return f;
|
|
15931
15931
|
if (!wr(f))
|
|
15932
15932
|
return a(f, v);
|
|
15933
|
-
for (var T = f.length, N = c ? T : -1, L =
|
|
15933
|
+
for (var T = f.length, N = c ? T : -1, L = Nt(f); (c ? N-- : ++N < T) && v(L[N], N, L) !== !1; )
|
|
15934
15934
|
;
|
|
15935
15935
|
return f;
|
|
15936
15936
|
};
|
|
15937
15937
|
}
|
|
15938
15938
|
function tb(a) {
|
|
15939
15939
|
return function(c, f, v) {
|
|
15940
|
-
for (var T = -1, N =
|
|
15940
|
+
for (var T = -1, N = Nt(c), L = v(c), G = L.length; G--; ) {
|
|
15941
15941
|
var ee = L[a ? G : ++T];
|
|
15942
15942
|
if (f(N[ee], ee, N) === !1)
|
|
15943
15943
|
break;
|
|
@@ -15955,7 +15955,7 @@ Hf.exports;
|
|
|
15955
15955
|
}
|
|
15956
15956
|
function nb(a) {
|
|
15957
15957
|
return function(c) {
|
|
15958
|
-
c =
|
|
15958
|
+
c = Pt(c);
|
|
15959
15959
|
var f = Xi(c) ? Mr(c) : n, v = f ? f[0] : c.charAt(0), T = f ? ia(f, 1).join("") : c.slice(1);
|
|
15960
15960
|
return v[a]() + T;
|
|
15961
15961
|
};
|
|
@@ -16016,7 +16016,7 @@ Hf.exports;
|
|
|
16016
16016
|
}
|
|
16017
16017
|
function rb(a) {
|
|
16018
16018
|
return function(c, f, v) {
|
|
16019
|
-
var T =
|
|
16019
|
+
var T = Nt(c);
|
|
16020
16020
|
if (!wr(c)) {
|
|
16021
16021
|
var N = et(f, 3);
|
|
16022
16022
|
c = In(c), f = function(G) {
|
|
@@ -16157,8 +16157,8 @@ Hf.exports;
|
|
|
16157
16157
|
var c = dn[a];
|
|
16158
16158
|
return function(f, v) {
|
|
16159
16159
|
if (f = Zr(f), v = v == null ? 0 : An(ht(v), 292), v && pu(f)) {
|
|
16160
|
-
var T = (
|
|
16161
|
-
return T = (
|
|
16160
|
+
var T = (Pt(f) + "e").split("e"), N = c(T[0] + "e" + (+T[1] + v));
|
|
16161
|
+
return T = (Pt(N) + "e").split("e"), +(T[0] + "e" + (+T[1] - v));
|
|
16162
16162
|
}
|
|
16163
16163
|
return c(f);
|
|
16164
16164
|
};
|
|
@@ -16169,7 +16169,7 @@ Hf.exports;
|
|
|
16169
16169
|
function cb(a) {
|
|
16170
16170
|
return function(c) {
|
|
16171
16171
|
var f = Hn(c);
|
|
16172
|
-
return f ==
|
|
16172
|
+
return f == kt ? Cl(c) : f == gn ? mp(c) : bl(c, a(c));
|
|
16173
16173
|
};
|
|
16174
16174
|
}
|
|
16175
16175
|
function yi(a, c, f, v, T, N, L, G) {
|
|
@@ -16200,7 +16200,7 @@ Hf.exports;
|
|
|
16200
16200
|
return bb(gt(tt, je), a, c);
|
|
16201
16201
|
}
|
|
16202
16202
|
function lb(a, c, f, v) {
|
|
16203
|
-
return a === n || go(a, Zi[f]) && !
|
|
16203
|
+
return a === n || go(a, Zi[f]) && !At.call(v, f) ? c : a;
|
|
16204
16204
|
}
|
|
16205
16205
|
function db(a, c, f, v, T, N) {
|
|
16206
16206
|
return tn(a) && tn(c) && (N.set(c, a), Cu(a, c, n, db, N), N.delete(c)), a;
|
|
@@ -16258,7 +16258,7 @@ Hf.exports;
|
|
|
16258
16258
|
case Fn:
|
|
16259
16259
|
case Pr:
|
|
16260
16260
|
return a == c + "";
|
|
16261
|
-
case
|
|
16261
|
+
case kt:
|
|
16262
16262
|
var G = Cl;
|
|
16263
16263
|
case gn:
|
|
16264
16264
|
var ee = v & w;
|
|
@@ -16282,7 +16282,7 @@ Hf.exports;
|
|
|
16282
16282
|
return !1;
|
|
16283
16283
|
for (var Ee = ee; Ee--; ) {
|
|
16284
16284
|
var De = G[Ee];
|
|
16285
|
-
if (!(L ? De in c :
|
|
16285
|
+
if (!(L ? De in c : At.call(c, De)))
|
|
16286
16286
|
return !1;
|
|
16287
16287
|
}
|
|
16288
16288
|
var je = N.get(a), tt = N.get(c);
|
|
@@ -16320,7 +16320,7 @@ Hf.exports;
|
|
|
16320
16320
|
return Fe.get(a);
|
|
16321
16321
|
} : gg;
|
|
16322
16322
|
function Ru(a) {
|
|
16323
|
-
for (var c = a.name + "", f = We[c], v =
|
|
16323
|
+
for (var c = a.name + "", f = We[c], v = At.call(We, c) ? f.length : 0; v--; ) {
|
|
16324
16324
|
var T = f[v], N = T.func;
|
|
16325
16325
|
if (N == null || N == a)
|
|
16326
16326
|
return T.name;
|
|
@@ -16328,7 +16328,7 @@ Hf.exports;
|
|
|
16328
16328
|
return c;
|
|
16329
16329
|
}
|
|
16330
16330
|
function hc(a) {
|
|
16331
|
-
var c =
|
|
16331
|
+
var c = At.call(k, "placeholder") ? k : a;
|
|
16332
16332
|
return c.placeholder;
|
|
16333
16333
|
}
|
|
16334
16334
|
function et() {
|
|
@@ -16351,7 +16351,7 @@ Hf.exports;
|
|
|
16351
16351
|
return Ow(f) ? f : n;
|
|
16352
16352
|
}
|
|
16353
16353
|
function Mk(a) {
|
|
16354
|
-
var c =
|
|
16354
|
+
var c = At.call(a, pi), f = a[pi];
|
|
16355
16355
|
try {
|
|
16356
16356
|
a[pi] = n;
|
|
16357
16357
|
var v = !0;
|
|
@@ -16361,7 +16361,7 @@ Hf.exports;
|
|
|
16361
16361
|
return v && (c ? a[pi] = f : delete a[pi]), T;
|
|
16362
16362
|
}
|
|
16363
16363
|
var Jp = os ? function(a) {
|
|
16364
|
-
return a == null ? [] : (a =
|
|
16364
|
+
return a == null ? [] : (a = Nt(a), uo(os(a), function(c) {
|
|
16365
16365
|
return uu.call(a, c);
|
|
16366
16366
|
}));
|
|
16367
16367
|
} : mg, fb = os ? function(a) {
|
|
@@ -16369,14 +16369,14 @@ Hf.exports;
|
|
|
16369
16369
|
Wr(c, Jp(a)), a = hi(a);
|
|
16370
16370
|
return c;
|
|
16371
16371
|
} : mg, Hn = er;
|
|
16372
|
-
(M && Hn(new M(new ArrayBuffer(1))) != Ce || Y && Hn(new Y()) !=
|
|
16372
|
+
(M && Hn(new M(new ArrayBuffer(1))) != Ce || Y && Hn(new Y()) != kt || U && Hn(U.resolve()) != nn || z && Hn(new z()) != gn || se && Hn(new se()) != K) && (Hn = function(a) {
|
|
16373
16373
|
var c = er(a), f = c == jt ? a.constructor : n, v = f ? ds(f) : "";
|
|
16374
16374
|
if (v)
|
|
16375
16375
|
switch (v) {
|
|
16376
16376
|
case ct:
|
|
16377
16377
|
return Ce;
|
|
16378
16378
|
case rn:
|
|
16379
|
-
return
|
|
16379
|
+
return kt;
|
|
16380
16380
|
case en:
|
|
16381
16381
|
return nn;
|
|
16382
16382
|
case kn:
|
|
@@ -16422,7 +16422,7 @@ Hf.exports;
|
|
|
16422
16422
|
}
|
|
16423
16423
|
function Fk(a) {
|
|
16424
16424
|
var c = a.length, f = new a.constructor(c);
|
|
16425
|
-
return c && typeof a[0] == "string" &&
|
|
16425
|
+
return c && typeof a[0] == "string" && At.call(a, "index") && (f.index = a.index, f.input = a.input), f;
|
|
16426
16426
|
}
|
|
16427
16427
|
function pb(a) {
|
|
16428
16428
|
return typeof a.constructor == "function" && !Pl(a) ? dc(hi(a)) : {};
|
|
@@ -16447,7 +16447,7 @@ Hf.exports;
|
|
|
16447
16447
|
case gr:
|
|
16448
16448
|
case Or:
|
|
16449
16449
|
return Qw(a, f);
|
|
16450
|
-
case
|
|
16450
|
+
case kt:
|
|
16451
16451
|
return new v();
|
|
16452
16452
|
case Ht:
|
|
16453
16453
|
case Pr:
|
|
@@ -16486,7 +16486,7 @@ Hf.exports;
|
|
|
16486
16486
|
if (lt(a))
|
|
16487
16487
|
return !1;
|
|
16488
16488
|
var f = typeof a;
|
|
16489
|
-
return f == "number" || f == "symbol" || f == "boolean" || a == null || Lr(a) ? !0 : Da.test(a) || !Ma.test(a) || c != null && a in
|
|
16489
|
+
return f == "number" || f == "symbol" || f == "boolean" || a == null || Lr(a) ? !0 : Da.test(a) || !Ma.test(a) || c != null && a in Nt(c);
|
|
16490
16490
|
}
|
|
16491
16491
|
function Bk(a) {
|
|
16492
16492
|
var c = typeof a;
|
|
@@ -16514,7 +16514,7 @@ Hf.exports;
|
|
|
16514
16514
|
}
|
|
16515
16515
|
function mb(a, c) {
|
|
16516
16516
|
return function(f) {
|
|
16517
|
-
return f == null ? !1 : f[a] === c && (c !== n || a in
|
|
16517
|
+
return f == null ? !1 : f[a] === c && (c !== n || a in Nt(f));
|
|
16518
16518
|
};
|
|
16519
16519
|
}
|
|
16520
16520
|
function Kk(a) {
|
|
@@ -16538,7 +16538,7 @@ Hf.exports;
|
|
|
16538
16538
|
function jk(a) {
|
|
16539
16539
|
var c = [];
|
|
16540
16540
|
if (a != null)
|
|
16541
|
-
for (var f in
|
|
16541
|
+
for (var f in Nt(a))
|
|
16542
16542
|
c.push(f);
|
|
16543
16543
|
return c;
|
|
16544
16544
|
}
|
|
@@ -16964,7 +16964,7 @@ Hf.exports;
|
|
|
16964
16964
|
return jw(this.__wrapped__, this.__actions__);
|
|
16965
16965
|
}
|
|
16966
16966
|
var aP = Tu(function(a, c, f) {
|
|
16967
|
-
|
|
16967
|
+
At.call(a, f) ? ++a[f] : Ho(a, f, 1);
|
|
16968
16968
|
});
|
|
16969
16969
|
function sP(a, c, f) {
|
|
16970
16970
|
var v = lt(a) ? qs : JR;
|
|
@@ -16993,7 +16993,7 @@ Hf.exports;
|
|
|
16993
16993
|
return f(a, et(c, 3));
|
|
16994
16994
|
}
|
|
16995
16995
|
var pP = Tu(function(a, c, f) {
|
|
16996
|
-
|
|
16996
|
+
At.call(a, f) ? a[f].push(c) : Ho(a, f, [c]);
|
|
16997
16997
|
});
|
|
16998
16998
|
function gP(a, c, f, v) {
|
|
16999
16999
|
a = wr(a) ? a : gc(a), f = f && !v ? ht(f) : 0;
|
|
@@ -17051,7 +17051,7 @@ Hf.exports;
|
|
|
17051
17051
|
if (wr(a))
|
|
17052
17052
|
return $u(a) ? Fo(a) : a.length;
|
|
17053
17053
|
var c = Hn(a);
|
|
17054
|
-
return c ==
|
|
17054
|
+
return c == kt || c == gn ? a.size : Mp(a).length;
|
|
17055
17055
|
}
|
|
17056
17056
|
function AP(a, c, f) {
|
|
17057
17057
|
var v = lt(a) ? Qs : wk;
|
|
@@ -17273,7 +17273,7 @@ Hf.exports;
|
|
|
17273
17273
|
}), us = Pw(/* @__PURE__ */ function() {
|
|
17274
17274
|
return arguments;
|
|
17275
17275
|
}()) ? Pw : function(a) {
|
|
17276
|
-
return an(a) &&
|
|
17276
|
+
return an(a) && At.call(a, "callee") && !uu.call(a, "callee");
|
|
17277
17277
|
}, lt = de.isArray, YP = qd ? Zn(qd) : rk;
|
|
17278
17278
|
function wr(a) {
|
|
17279
17279
|
return a != null && Fu(a.length) && !Ci(a);
|
|
@@ -17294,12 +17294,12 @@ Hf.exports;
|
|
|
17294
17294
|
if (wr(a) && (lt(a) || typeof a == "string" || typeof a.splice == "function" || aa(a) || pc(a) || us(a)))
|
|
17295
17295
|
return !a.length;
|
|
17296
17296
|
var c = Hn(a);
|
|
17297
|
-
if (c ==
|
|
17297
|
+
if (c == kt || c == gn)
|
|
17298
17298
|
return !a.size;
|
|
17299
17299
|
if (Pl(a))
|
|
17300
17300
|
return !Mp(a).length;
|
|
17301
17301
|
for (var f in a)
|
|
17302
|
-
if (
|
|
17302
|
+
if (At.call(a, f))
|
|
17303
17303
|
return !1;
|
|
17304
17304
|
return !0;
|
|
17305
17305
|
}
|
|
@@ -17369,7 +17369,7 @@ Hf.exports;
|
|
|
17369
17369
|
var c = hi(a);
|
|
17370
17370
|
if (c === null)
|
|
17371
17371
|
return !0;
|
|
17372
|
-
var f =
|
|
17372
|
+
var f = At.call(c, "constructor") && c.constructor;
|
|
17373
17373
|
return typeof f == "function" && f instanceof f && ic.call(f) == Tp;
|
|
17374
17374
|
}
|
|
17375
17375
|
var sg = qa ? Zn(qa) : sk;
|
|
@@ -17403,7 +17403,7 @@ Hf.exports;
|
|
|
17403
17403
|
return $u(a) ? Mr(a) : yr(a);
|
|
17404
17404
|
if (ea && a[ea])
|
|
17405
17405
|
return gp(a[ea]());
|
|
17406
|
-
var c = Hn(a), f = c ==
|
|
17406
|
+
var c = Hn(a), f = c == kt ? Cl : c == gn ? ts : gc;
|
|
17407
17407
|
return f(a);
|
|
17408
17408
|
}
|
|
17409
17409
|
function xi(a) {
|
|
@@ -17443,7 +17443,7 @@ Hf.exports;
|
|
|
17443
17443
|
function g1(a) {
|
|
17444
17444
|
return a ? ss(ht(a), -fe, fe) : a === 0 ? a : 0;
|
|
17445
17445
|
}
|
|
17446
|
-
function
|
|
17446
|
+
function Pt(a) {
|
|
17447
17447
|
return a == null ? "" : Dr(a);
|
|
17448
17448
|
}
|
|
17449
17449
|
var m1 = uc(function(a, c) {
|
|
@@ -17452,7 +17452,7 @@ Hf.exports;
|
|
|
17452
17452
|
return;
|
|
17453
17453
|
}
|
|
17454
17454
|
for (var f in c)
|
|
17455
|
-
|
|
17455
|
+
At.call(c, f) && El(a, f, c[f]);
|
|
17456
17456
|
}), Wb = uc(function(a, c) {
|
|
17457
17457
|
zo(c, br(c), a);
|
|
17458
17458
|
}), qb = uc(function(a, c, f, v) {
|
|
@@ -17465,12 +17465,12 @@ Hf.exports;
|
|
|
17465
17465
|
return c == null ? f : Sw(f, c);
|
|
17466
17466
|
}
|
|
17467
17467
|
var w1 = vt(function(a, c) {
|
|
17468
|
-
a =
|
|
17468
|
+
a = Nt(a);
|
|
17469
17469
|
var f = -1, v = c.length, T = v > 2 ? c[2] : n;
|
|
17470
17470
|
for (T && tr(c[0], c[1], T) && (v = 1); ++f < v; )
|
|
17471
17471
|
for (var N = c[f], L = br(N), G = -1, ee = L.length; ++G < ee; ) {
|
|
17472
17472
|
var ye = L[G], be = a[ye];
|
|
17473
|
-
(be === n || go(be, Zi[ye]) && !
|
|
17473
|
+
(be === n || go(be, Zi[ye]) && !At.call(a, ye)) && (a[ye] = N[ye]);
|
|
17474
17474
|
}
|
|
17475
17475
|
return a;
|
|
17476
17476
|
}), b1 = vt(function(a) {
|
|
@@ -17513,7 +17513,7 @@ Hf.exports;
|
|
|
17513
17513
|
var k1 = ib(function(a, c, f) {
|
|
17514
17514
|
c != null && typeof c.toString != "function" && (c = $o.call(c)), a[c] = f;
|
|
17515
17515
|
}, fg(Cr)), N1 = ib(function(a, c, f) {
|
|
17516
|
-
c != null && typeof c.toString != "function" && (c = $o.call(c)),
|
|
17516
|
+
c != null && typeof c.toString != "function" && (c = $o.call(c)), At.call(a, c) ? a[c].push(f) : a[c] = [f];
|
|
17517
17517
|
}, et), P1 = vt(Il);
|
|
17518
17518
|
function In(a) {
|
|
17519
17519
|
return wr(a) ? _w(a) : Mp(a);
|
|
@@ -17627,23 +17627,23 @@ Hf.exports;
|
|
|
17627
17627
|
return c = c.toLowerCase(), a + (f ? Zb(c) : c);
|
|
17628
17628
|
});
|
|
17629
17629
|
function Zb(a) {
|
|
17630
|
-
return ug(
|
|
17630
|
+
return ug(Pt(a).toLowerCase());
|
|
17631
17631
|
}
|
|
17632
17632
|
function eC(a) {
|
|
17633
|
-
return a =
|
|
17633
|
+
return a = Pt(a), a && a.replace(Us, es).replace(sp, "");
|
|
17634
17634
|
}
|
|
17635
17635
|
function J1(a, c, f) {
|
|
17636
|
-
a =
|
|
17636
|
+
a = Pt(a), c = Dr(c);
|
|
17637
17637
|
var v = a.length;
|
|
17638
17638
|
f = f === n ? v : ss(ht(f), 0, v);
|
|
17639
17639
|
var T = f;
|
|
17640
17640
|
return f -= c.length, f >= 0 && a.slice(f, T) == c;
|
|
17641
17641
|
}
|
|
17642
17642
|
function X1(a) {
|
|
17643
|
-
return a =
|
|
17643
|
+
return a = Pt(a), a && Ve.test(a) ? a.replace(rl, fp) : a;
|
|
17644
17644
|
}
|
|
17645
17645
|
function Z1(a) {
|
|
17646
|
-
return a =
|
|
17646
|
+
return a = Pt(a), a && La.test(a) ? a.replace(il, "\\$&") : a;
|
|
17647
17647
|
}
|
|
17648
17648
|
var eO = fc(function(a, c, f) {
|
|
17649
17649
|
return a + (f ? "-" : "") + c.toLowerCase();
|
|
@@ -17651,7 +17651,7 @@ Hf.exports;
|
|
|
17651
17651
|
return a + (f ? " " : "") + c.toLowerCase();
|
|
17652
17652
|
}), nO = nb("toLowerCase");
|
|
17653
17653
|
function rO(a, c, f) {
|
|
17654
|
-
a =
|
|
17654
|
+
a = Pt(a), c = ht(c);
|
|
17655
17655
|
var v = c ? Fo(a) : 0;
|
|
17656
17656
|
if (!c || v >= c)
|
|
17657
17657
|
return a;
|
|
@@ -17659,40 +17659,40 @@ Hf.exports;
|
|
|
17659
17659
|
return Au(rs(T), f) + a + Au(lc(T), f);
|
|
17660
17660
|
}
|
|
17661
17661
|
function oO(a, c, f) {
|
|
17662
|
-
a =
|
|
17662
|
+
a = Pt(a), c = ht(c);
|
|
17663
17663
|
var v = c ? Fo(a) : 0;
|
|
17664
17664
|
return c && v < c ? a + Au(c - v, f) : a;
|
|
17665
17665
|
}
|
|
17666
17666
|
function iO(a, c, f) {
|
|
17667
|
-
a =
|
|
17667
|
+
a = Pt(a), c = ht(c);
|
|
17668
17668
|
var v = c ? Fo(a) : 0;
|
|
17669
17669
|
return c && v < c ? Au(c - v, f) + a : a;
|
|
17670
17670
|
}
|
|
17671
17671
|
function aO(a, c, f) {
|
|
17672
|
-
return f || c == null ? c = 0 : c && (c = +c), mu(
|
|
17672
|
+
return f || c == null ? c = 0 : c && (c = +c), mu(Pt(a).replace(Vi, ""), c || 0);
|
|
17673
17673
|
}
|
|
17674
17674
|
function sO(a, c, f) {
|
|
17675
|
-
return (f ? tr(a, c, f) : c === n) ? c = 1 : c = ht(c), $p(
|
|
17675
|
+
return (f ? tr(a, c, f) : c === n) ? c = 1 : c = ht(c), $p(Pt(a), c);
|
|
17676
17676
|
}
|
|
17677
17677
|
function cO() {
|
|
17678
|
-
var a = arguments, c =
|
|
17678
|
+
var a = arguments, c = Pt(a[0]);
|
|
17679
17679
|
return a.length < 3 ? c : c.replace(a[1], a[2]);
|
|
17680
17680
|
}
|
|
17681
17681
|
var lO = fc(function(a, c, f) {
|
|
17682
17682
|
return a + (f ? "_" : "") + c.toLowerCase();
|
|
17683
17683
|
});
|
|
17684
17684
|
function dO(a, c, f) {
|
|
17685
|
-
return f && typeof f != "number" && tr(a, c, f) && (c = f = n), f = f === n ? Ae : f >>> 0, f ? (a =
|
|
17685
|
+
return f && typeof f != "number" && tr(a, c, f) && (c = f = n), f = f === n ? Ae : f >>> 0, f ? (a = Pt(a), a && (typeof c == "string" || c != null && !sg(c)) && (c = Dr(c), !c && Xi(a)) ? ia(Mr(a), 0, f) : a.split(c, f)) : [];
|
|
17686
17686
|
}
|
|
17687
17687
|
var uO = fc(function(a, c, f) {
|
|
17688
17688
|
return a + (f ? " " : "") + ug(c);
|
|
17689
17689
|
});
|
|
17690
17690
|
function fO(a, c, f) {
|
|
17691
|
-
return a =
|
|
17691
|
+
return a = Pt(a), f = f == null ? 0 : ss(ht(f), 0, a.length), c = Dr(c), a.slice(f, f + c.length) == c;
|
|
17692
17692
|
}
|
|
17693
17693
|
function hO(a, c, f) {
|
|
17694
17694
|
var v = k.templateSettings;
|
|
17695
|
-
f && tr(a, c, f) && (c = n), a =
|
|
17695
|
+
f && tr(a, c, f) && (c = n), a = Pt(a), c = cg({}, c, v, lb);
|
|
17696
17696
|
var T = cg({}, c.imports, v.imports, lb), N = In(T), L = tc(T, N);
|
|
17697
17697
|
Un(N, function(Je) {
|
|
17698
17698
|
if (Fa.test(Je))
|
|
@@ -17701,7 +17701,7 @@ Hf.exports;
|
|
|
17701
17701
|
var G, ee, ye = 0, be = c.interpolate || Ki, Ee = "__p += '", De = _l(
|
|
17702
17702
|
(c.escape || Ki).source + "|" + be.source + "|" + (be === ao ? $a : Ki).source + "|" + (c.evaluate || Ki).source + "|$",
|
|
17703
17703
|
"g"
|
|
17704
|
-
), je = "//# sourceURL=" + (
|
|
17704
|
+
), je = "//# sourceURL=" + (At.call(c, "sourceURL") ? (c.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++xw + "]") + `
|
|
17705
17705
|
`;
|
|
17706
17706
|
a.replace(De, function(Je, wt, Ct, Fr, nr, $r) {
|
|
17707
17707
|
return Ct || (Ct = Fr), Ee += a.slice(ye, $r).replace(np, iu), wt && (G = !0, Ee += `' +
|
|
@@ -17713,7 +17713,7 @@ __p += '`), Ct && (Ee += `' +
|
|
|
17713
17713
|
'`), ye = $r + Je.length, Je;
|
|
17714
17714
|
}), Ee += `';
|
|
17715
17715
|
`;
|
|
17716
|
-
var tt =
|
|
17716
|
+
var tt = At.call(c, "variable") && c.variable;
|
|
17717
17717
|
if (!tt)
|
|
17718
17718
|
Ee = `with (obj) {
|
|
17719
17719
|
` + Ee + `
|
|
@@ -17736,13 +17736,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17736
17736
|
return gt;
|
|
17737
17737
|
}
|
|
17738
17738
|
function pO(a) {
|
|
17739
|
-
return
|
|
17739
|
+
return Pt(a).toLowerCase();
|
|
17740
17740
|
}
|
|
17741
17741
|
function gO(a) {
|
|
17742
|
-
return
|
|
17742
|
+
return Pt(a).toUpperCase();
|
|
17743
17743
|
}
|
|
17744
17744
|
function mO(a, c, f) {
|
|
17745
|
-
if (a =
|
|
17745
|
+
if (a = Pt(a), a && (f || c === n))
|
|
17746
17746
|
return nu(a);
|
|
17747
17747
|
if (!a || !(c = Dr(c)))
|
|
17748
17748
|
return a;
|
|
@@ -17750,7 +17750,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17750
17750
|
return ia(v, N, L).join("");
|
|
17751
17751
|
}
|
|
17752
17752
|
function vO(a, c, f) {
|
|
17753
|
-
if (a =
|
|
17753
|
+
if (a = Pt(a), a && (f || c === n))
|
|
17754
17754
|
return a.slice(0, su(a) + 1);
|
|
17755
17755
|
if (!a || !(c = Dr(c)))
|
|
17756
17756
|
return a;
|
|
@@ -17758,7 +17758,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17758
17758
|
return ia(v, 0, T).join("");
|
|
17759
17759
|
}
|
|
17760
17760
|
function yO(a, c, f) {
|
|
17761
|
-
if (a =
|
|
17761
|
+
if (a = Pt(a), a && (f || c === n))
|
|
17762
17762
|
return a.replace(Vi, "");
|
|
17763
17763
|
if (!a || !(c = Dr(c)))
|
|
17764
17764
|
return a;
|
|
@@ -17771,7 +17771,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17771
17771
|
var T = "separator" in c ? c.separator : T;
|
|
17772
17772
|
f = "length" in c ? ht(c.length) : f, v = "omission" in c ? Dr(c.omission) : v;
|
|
17773
17773
|
}
|
|
17774
|
-
a =
|
|
17774
|
+
a = Pt(a);
|
|
17775
17775
|
var N = a.length;
|
|
17776
17776
|
if (Xi(a)) {
|
|
17777
17777
|
var L = Mr(a);
|
|
@@ -17788,7 +17788,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17788
17788
|
if (L && (G += ee.length - G), sg(T)) {
|
|
17789
17789
|
if (a.slice(G).search(T)) {
|
|
17790
17790
|
var ye, be = ee;
|
|
17791
|
-
for (T.global || (T = _l(T.source,
|
|
17791
|
+
for (T.global || (T = _l(T.source, Pt(al.exec(T)) + "g")), T.lastIndex = 0; ye = T.exec(be); )
|
|
17792
17792
|
var Ee = ye.index;
|
|
17793
17793
|
ee = ee.slice(0, Ee === n ? G : Ee);
|
|
17794
17794
|
}
|
|
@@ -17799,13 +17799,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17799
17799
|
return ee + v;
|
|
17800
17800
|
}
|
|
17801
17801
|
function bO(a) {
|
|
17802
|
-
return a =
|
|
17802
|
+
return a = Pt(a), a && ol.test(a) ? a.replace(Po, yp) : a;
|
|
17803
17803
|
}
|
|
17804
17804
|
var CO = fc(function(a, c, f) {
|
|
17805
17805
|
return a + (f ? " " : "") + c.toUpperCase();
|
|
17806
17806
|
}), ug = nb("toUpperCase");
|
|
17807
17807
|
function tC(a, c, f) {
|
|
17808
|
-
return a =
|
|
17808
|
+
return a = Pt(a), c = f ? n : c, c === n ? pp(a) ? bp(a) : Xd(a) : a.match(c) || [];
|
|
17809
17809
|
}
|
|
17810
17810
|
var nC = vt(function(a, c) {
|
|
17811
17811
|
try {
|
|
@@ -17926,11 +17926,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17926
17926
|
return T;
|
|
17927
17927
|
}
|
|
17928
17928
|
function KO(a) {
|
|
17929
|
-
return lt(a) ? dt(a, po) : Lr(a) ? [a] : yr(xb(
|
|
17929
|
+
return lt(a) ? dt(a, po) : Lr(a) ? [a] : yr(xb(Pt(a)));
|
|
17930
17930
|
}
|
|
17931
17931
|
function GO(a) {
|
|
17932
17932
|
var c = ++cu;
|
|
17933
|
-
return
|
|
17933
|
+
return Pt(a) + c;
|
|
17934
17934
|
}
|
|
17935
17935
|
var jO = Eu(function(a, c) {
|
|
17936
17936
|
return a + c;
|
|
@@ -17966,10 +17966,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17966
17966
|
function aM(a, c) {
|
|
17967
17967
|
return a && a.length ? wl(a, et(c, 2)) : 0;
|
|
17968
17968
|
}
|
|
17969
|
-
return k.after = RP, k.ary = Ob, k.assign = m1, k.assignIn = Wb, k.assignInWith = qb, k.assignWith = cg, k.at = v1, k.before = Mb, k.bind = og, k.bindAll = xO, k.bindKey = Db, k.castArray = BP, k.chain = kb, k.chunk = Qk, k.compact = Jk, k.concat = Xk, k.cond = _O, k.conforms = TO, k.constant = fg, k.countBy = aP, k.create = y1, k.curry = Lb, k.curryRight = Fb, k.debounce = $b, k.defaults = w1, k.defaultsDeep = b1, k.defer = kP, k.delay = NP, k.difference = Zk, k.differenceBy = eN, k.differenceWith = tN, k.drop = nN, k.dropRight = rN, k.dropRightWhile = oN, k.dropWhile = iN, k.fill = aN, k.filter = cP, k.flatMap = uP, k.flatMapDeep = fP, k.flatMapDepth = hP, k.flatten = Eb, k.flattenDeep = sN, k.flattenDepth = cN, k.flip = PP, k.flow = EO, k.flowRight = AO, k.fromPairs = lN, k.functions = A1, k.functionsIn = I1, k.groupBy = pP, k.initial = uN, k.intersection = fN, k.intersectionBy = hN, k.intersectionWith = pN, k.invert = k1, k.invertBy = N1, k.invokeMap = mP, k.iteratee = hg, k.keyBy = vP, k.keys = In, k.keysIn = br, k.map = Ou, k.mapKeys = O1, k.mapValues = M1, k.matches = IO, k.matchesProperty = RO, k.memoize = Du, k.merge = D1, k.mergeWith = Yb, k.method = kO, k.methodOf = NO, k.mixin = pg, k.negate = Lu, k.nthArg = OO, k.omit = L1, k.omitBy = F1, k.once = OP, k.orderBy = yP, k.over = MO, k.overArgs = MP, k.overEvery = DO, k.overSome = LO, k.partial = ig, k.partialRight = Ub, k.partition = wP, k.pick = $1, k.pickBy = Qb, k.property = rC, k.propertyOf = FO, k.pull = yN, k.pullAll = Ib, k.pullAllBy = wN, k.pullAllWith = bN, k.pullAt = CN, k.range = $O, k.rangeRight = UO, k.rearg = DP, k.reject = xP, k.remove = xN, k.rest = LP, k.reverse = ng, k.sampleSize = TP, k.set = H1, k.setWith = B1, k.shuffle = SP, k.slice = _N, k.sortBy = IP, k.sortedUniq = kN, k.sortedUniqBy = NN, k.split = dO, k.spread = FP, k.tail = PN, k.take = ON, k.takeRight = MN, k.takeRightWhile = DN, k.takeWhile = LN, k.tap = JN, k.throttle = $P, k.thru = Pu, k.toArray = Kb, k.toPairs = Jb, k.toPairsIn = Xb, k.toPath = KO, k.toPlainObject = jb, k.transform = z1, k.unary = UP, k.union = FN, k.unionBy = $N, k.unionWith = UN, k.uniq = HN, k.uniqBy = BN, k.uniqWith = zN, k.unset = V1, k.unzip = rg, k.unzipWith = Rb, k.update = K1, k.updateWith = G1, k.values = gc, k.valuesIn = j1, k.without = VN, k.words = tC, k.wrap = HP, k.xor = KN, k.xorBy = GN, k.xorWith = jN, k.zip = WN, k.zipObject = qN, k.zipObjectDeep = YN, k.zipWith = QN, k.entries = Jb, k.entriesIn = Xb, k.extend = Wb, k.extendWith = qb, pg(k, k), k.add = jO, k.attempt = nC, k.camelCase = Q1, k.capitalize = Zb, k.ceil = WO, k.clamp = W1, k.clone = zP, k.cloneDeep = KP, k.cloneDeepWith = GP, k.cloneWith = VP, k.conformsTo = jP, k.deburr = eC, k.defaultTo = SO, k.divide = qO, k.endsWith = J1, k.eq = go, k.escape = X1, k.escapeRegExp = Z1, k.every = sP, k.find = lP, k.findIndex = Tb, k.findKey = C1, k.findLast = dP, k.findLastIndex = Sb, k.findLastKey = x1, k.floor = YO, k.forEach = Nb, k.forEachRight = Pb, k.forIn = _1, k.forInRight = T1, k.forOwn = S1, k.forOwnRight = E1, k.get = lg, k.gt = WP, k.gte = qP, k.has = R1, k.hasIn = dg, k.head = Ab, k.identity = Cr, k.includes = gP, k.indexOf = dN, k.inRange = q1, k.invoke = P1, k.isArguments = us, k.isArray = lt, k.isArrayBuffer = YP, k.isArrayLike = wr, k.isArrayLikeObject = fn, k.isBoolean = QP, k.isBuffer = aa, k.isDate = JP, k.isElement = XP, k.isEmpty = ZP, k.isEqual = e1, k.isEqualWith = t1, k.isError = ag, k.isFinite = n1, k.isFunction = Ci, k.isInteger = Hb, k.isLength = Fu, k.isMap = Bb, k.isMatch = r1, k.isMatchWith = o1, k.isNaN = i1, k.isNative = a1, k.isNil = c1, k.isNull = s1, k.isNumber = zb, k.isObject = tn, k.isObjectLike = an, k.isPlainObject = Ml, k.isRegExp = sg, k.isSafeInteger = l1, k.isSet = Vb, k.isString = $u, k.isSymbol = Lr, k.isTypedArray = pc, k.isUndefined = d1, k.isWeakMap = u1, k.isWeakSet = f1, k.join = gN, k.kebabCase = eO, k.last = Xr, k.lastIndexOf = mN, k.lowerCase = tO, k.lowerFirst = nO, k.lt = h1, k.lte = p1, k.max = QO, k.maxBy = JO, k.mean = XO, k.meanBy = ZO, k.min = eM, k.minBy = tM, k.stubArray = mg, k.stubFalse = vg, k.stubObject = HO, k.stubString = BO, k.stubTrue = zO, k.multiply = nM, k.nth = vN, k.noConflict = PO, k.noop = gg, k.now = Mu, k.pad = rO, k.padEnd = oO, k.padStart = iO, k.parseInt = aO, k.random = Y1, k.reduce = bP, k.reduceRight = CP, k.repeat = sO, k.replace = cO, k.result = U1, k.round = rM, k.runInContext = X, k.sample = _P, k.size = EP, k.snakeCase = lO, k.some = AP, k.sortedIndex = TN, k.sortedIndexBy = SN, k.sortedIndexOf = EN, k.sortedLastIndex = AN, k.sortedLastIndexBy = IN, k.sortedLastIndexOf = RN, k.startCase = uO, k.startsWith = fO, k.subtract = oM, k.sum = iM, k.sumBy = aM, k.template = hO, k.times = VO, k.toFinite = xi, k.toInteger = ht, k.toLength = Gb, k.toLower = pO, k.toNumber = Zr, k.toSafeInteger = g1, k.toString =
|
|
17969
|
+
return k.after = RP, k.ary = Ob, k.assign = m1, k.assignIn = Wb, k.assignInWith = qb, k.assignWith = cg, k.at = v1, k.before = Mb, k.bind = og, k.bindAll = xO, k.bindKey = Db, k.castArray = BP, k.chain = kb, k.chunk = Qk, k.compact = Jk, k.concat = Xk, k.cond = _O, k.conforms = TO, k.constant = fg, k.countBy = aP, k.create = y1, k.curry = Lb, k.curryRight = Fb, k.debounce = $b, k.defaults = w1, k.defaultsDeep = b1, k.defer = kP, k.delay = NP, k.difference = Zk, k.differenceBy = eN, k.differenceWith = tN, k.drop = nN, k.dropRight = rN, k.dropRightWhile = oN, k.dropWhile = iN, k.fill = aN, k.filter = cP, k.flatMap = uP, k.flatMapDeep = fP, k.flatMapDepth = hP, k.flatten = Eb, k.flattenDeep = sN, k.flattenDepth = cN, k.flip = PP, k.flow = EO, k.flowRight = AO, k.fromPairs = lN, k.functions = A1, k.functionsIn = I1, k.groupBy = pP, k.initial = uN, k.intersection = fN, k.intersectionBy = hN, k.intersectionWith = pN, k.invert = k1, k.invertBy = N1, k.invokeMap = mP, k.iteratee = hg, k.keyBy = vP, k.keys = In, k.keysIn = br, k.map = Ou, k.mapKeys = O1, k.mapValues = M1, k.matches = IO, k.matchesProperty = RO, k.memoize = Du, k.merge = D1, k.mergeWith = Yb, k.method = kO, k.methodOf = NO, k.mixin = pg, k.negate = Lu, k.nthArg = OO, k.omit = L1, k.omitBy = F1, k.once = OP, k.orderBy = yP, k.over = MO, k.overArgs = MP, k.overEvery = DO, k.overSome = LO, k.partial = ig, k.partialRight = Ub, k.partition = wP, k.pick = $1, k.pickBy = Qb, k.property = rC, k.propertyOf = FO, k.pull = yN, k.pullAll = Ib, k.pullAllBy = wN, k.pullAllWith = bN, k.pullAt = CN, k.range = $O, k.rangeRight = UO, k.rearg = DP, k.reject = xP, k.remove = xN, k.rest = LP, k.reverse = ng, k.sampleSize = TP, k.set = H1, k.setWith = B1, k.shuffle = SP, k.slice = _N, k.sortBy = IP, k.sortedUniq = kN, k.sortedUniqBy = NN, k.split = dO, k.spread = FP, k.tail = PN, k.take = ON, k.takeRight = MN, k.takeRightWhile = DN, k.takeWhile = LN, k.tap = JN, k.throttle = $P, k.thru = Pu, k.toArray = Kb, k.toPairs = Jb, k.toPairsIn = Xb, k.toPath = KO, k.toPlainObject = jb, k.transform = z1, k.unary = UP, k.union = FN, k.unionBy = $N, k.unionWith = UN, k.uniq = HN, k.uniqBy = BN, k.uniqWith = zN, k.unset = V1, k.unzip = rg, k.unzipWith = Rb, k.update = K1, k.updateWith = G1, k.values = gc, k.valuesIn = j1, k.without = VN, k.words = tC, k.wrap = HP, k.xor = KN, k.xorBy = GN, k.xorWith = jN, k.zip = WN, k.zipObject = qN, k.zipObjectDeep = YN, k.zipWith = QN, k.entries = Jb, k.entriesIn = Xb, k.extend = Wb, k.extendWith = qb, pg(k, k), k.add = jO, k.attempt = nC, k.camelCase = Q1, k.capitalize = Zb, k.ceil = WO, k.clamp = W1, k.clone = zP, k.cloneDeep = KP, k.cloneDeepWith = GP, k.cloneWith = VP, k.conformsTo = jP, k.deburr = eC, k.defaultTo = SO, k.divide = qO, k.endsWith = J1, k.eq = go, k.escape = X1, k.escapeRegExp = Z1, k.every = sP, k.find = lP, k.findIndex = Tb, k.findKey = C1, k.findLast = dP, k.findLastIndex = Sb, k.findLastKey = x1, k.floor = YO, k.forEach = Nb, k.forEachRight = Pb, k.forIn = _1, k.forInRight = T1, k.forOwn = S1, k.forOwnRight = E1, k.get = lg, k.gt = WP, k.gte = qP, k.has = R1, k.hasIn = dg, k.head = Ab, k.identity = Cr, k.includes = gP, k.indexOf = dN, k.inRange = q1, k.invoke = P1, k.isArguments = us, k.isArray = lt, k.isArrayBuffer = YP, k.isArrayLike = wr, k.isArrayLikeObject = fn, k.isBoolean = QP, k.isBuffer = aa, k.isDate = JP, k.isElement = XP, k.isEmpty = ZP, k.isEqual = e1, k.isEqualWith = t1, k.isError = ag, k.isFinite = n1, k.isFunction = Ci, k.isInteger = Hb, k.isLength = Fu, k.isMap = Bb, k.isMatch = r1, k.isMatchWith = o1, k.isNaN = i1, k.isNative = a1, k.isNil = c1, k.isNull = s1, k.isNumber = zb, k.isObject = tn, k.isObjectLike = an, k.isPlainObject = Ml, k.isRegExp = sg, k.isSafeInteger = l1, k.isSet = Vb, k.isString = $u, k.isSymbol = Lr, k.isTypedArray = pc, k.isUndefined = d1, k.isWeakMap = u1, k.isWeakSet = f1, k.join = gN, k.kebabCase = eO, k.last = Xr, k.lastIndexOf = mN, k.lowerCase = tO, k.lowerFirst = nO, k.lt = h1, k.lte = p1, k.max = QO, k.maxBy = JO, k.mean = XO, k.meanBy = ZO, k.min = eM, k.minBy = tM, k.stubArray = mg, k.stubFalse = vg, k.stubObject = HO, k.stubString = BO, k.stubTrue = zO, k.multiply = nM, k.nth = vN, k.noConflict = PO, k.noop = gg, k.now = Mu, k.pad = rO, k.padEnd = oO, k.padStart = iO, k.parseInt = aO, k.random = Y1, k.reduce = bP, k.reduceRight = CP, k.repeat = sO, k.replace = cO, k.result = U1, k.round = rM, k.runInContext = X, k.sample = _P, k.size = EP, k.snakeCase = lO, k.some = AP, k.sortedIndex = TN, k.sortedIndexBy = SN, k.sortedIndexOf = EN, k.sortedLastIndex = AN, k.sortedLastIndexBy = IN, k.sortedLastIndexOf = RN, k.startCase = uO, k.startsWith = fO, k.subtract = oM, k.sum = iM, k.sumBy = aM, k.template = hO, k.times = VO, k.toFinite = xi, k.toInteger = ht, k.toLength = Gb, k.toLower = pO, k.toNumber = Zr, k.toSafeInteger = g1, k.toString = Pt, k.toUpper = gO, k.trim = mO, k.trimEnd = vO, k.trimStart = yO, k.truncate = wO, k.unescape = bO, k.uniqueId = GO, k.upperCase = CO, k.upperFirst = ug, k.each = Nb, k.eachRight = Pb, k.first = Ab, pg(k, function() {
|
|
17970
17970
|
var a = {};
|
|
17971
17971
|
return Bo(k, function(c, f) {
|
|
17972
|
-
|
|
17972
|
+
At.call(k.prototype, f) || (a[f] = c);
|
|
17973
17973
|
}), a;
|
|
17974
17974
|
}(), { chain: !1 }), k.VERSION = r, Un(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(a) {
|
|
17975
17975
|
k[a].placeholder = k;
|
|
@@ -18055,14 +18055,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18055
18055
|
var f = k[c];
|
|
18056
18056
|
if (f) {
|
|
18057
18057
|
var v = f.name + "";
|
|
18058
|
-
|
|
18058
|
+
At.call(We, v) || (We[v] = []), We[v].push({ name: c, func: f });
|
|
18059
18059
|
}
|
|
18060
18060
|
}), We[Su(n, E).name] = [{
|
|
18061
18061
|
name: "wrapper",
|
|
18062
18062
|
func: n
|
|
18063
18063
|
}], bt.prototype.clone = CR, bt.prototype.reverse = xR, bt.prototype.value = _R, k.prototype.at = XN, k.prototype.chain = ZN, k.prototype.commit = eP, k.prototype.next = tP, k.prototype.plant = rP, k.prototype.reverse = oP, k.prototype.toJSON = k.prototype.valueOf = k.prototype.value = iP, k.prototype.first = k.prototype.head, ea && (k.prototype[ea] = nP), k;
|
|
18064
18064
|
}, ui = Cp();
|
|
18065
|
-
|
|
18065
|
+
Tt ? ((Tt.exports = ui)._ = ui, Do._ = ui) : ln._ = ui;
|
|
18066
18066
|
}).call(Qo);
|
|
18067
18067
|
})(Hf, Hf.exports);
|
|
18068
18068
|
var Bf = Hf.exports;
|
|
@@ -18296,7 +18296,7 @@ const t3 = cn("Globe", [
|
|
|
18296
18296
|
* This source code is licensed under the ISC license.
|
|
18297
18297
|
* See the LICENSE file in the root directory of this source tree.
|
|
18298
18298
|
*/
|
|
18299
|
-
const
|
|
18299
|
+
const St = cn("LoaderCircle", [
|
|
18300
18300
|
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
18301
18301
|
]);
|
|
18302
18302
|
/**
|
|
@@ -25136,9 +25136,9 @@ var nw = "PopperContent", [BB, zB] = CA(nw), EA = _.forwardRef(
|
|
|
25136
25136
|
d && MB({ ...me }),
|
|
25137
25137
|
DB({
|
|
25138
25138
|
...me,
|
|
25139
|
-
apply: ({ elements: qe, rects: _t, availableWidth:
|
|
25139
|
+
apply: ({ elements: qe, rects: _t, availableWidth: kt, availableHeight: Ht }) => {
|
|
25140
25140
|
const { width: wn, height: jt } = _t.reference, nn = qe.floating.style;
|
|
25141
|
-
nn.setProperty("--radix-popper-available-width", `${
|
|
25141
|
+
nn.setProperty("--radix-popper-available-width", `${kt}px`), nn.setProperty("--radix-popper-available-height", `${Ht}px`), nn.setProperty("--radix-popper-anchor-width", `${wn}px`), nn.setProperty("--radix-popper-anchor-height", `${jt}px`);
|
|
25142
25142
|
}
|
|
25143
25143
|
}),
|
|
25144
25144
|
O && FB({ element: O, padding: l }),
|
|
@@ -28355,7 +28355,7 @@ const _K = (t, e) => {
|
|
|
28355
28355
|
] }, u)) })
|
|
28356
28356
|
] });
|
|
28357
28357
|
};
|
|
28358
|
-
var nv = { exports: {} }, rf = { exports: {} },
|
|
28358
|
+
var nv = { exports: {} }, rf = { exports: {} }, Ot = {};
|
|
28359
28359
|
/** @license React v16.13.1
|
|
28360
28360
|
* react-is.production.min.js
|
|
28361
28361
|
*
|
|
@@ -28366,7 +28366,7 @@ var nv = { exports: {} }, rf = { exports: {} }, Pt = {};
|
|
|
28366
28366
|
*/
|
|
28367
28367
|
var Wx;
|
|
28368
28368
|
function SK() {
|
|
28369
|
-
if (Wx) return
|
|
28369
|
+
if (Wx) return Ot;
|
|
28370
28370
|
Wx = 1;
|
|
28371
28371
|
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, o = t ? Symbol.for("react.strict_mode") : 60108, i = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, l = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, p = t ? Symbol.for("react.forward_ref") : 60112, m = t ? Symbol.for("react.suspense") : 60113, y = t ? Symbol.for("react.suspense_list") : 60120, g = t ? Symbol.for("react.memo") : 60115, x = t ? Symbol.for("react.lazy") : 60116, w = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, S = t ? Symbol.for("react.responder") : 60118, E = t ? Symbol.for("react.scope") : 60119;
|
|
28372
28372
|
function I(A) {
|
|
@@ -28402,35 +28402,35 @@ function SK() {
|
|
|
28402
28402
|
function O(A) {
|
|
28403
28403
|
return I(A) === u;
|
|
28404
28404
|
}
|
|
28405
|
-
return
|
|
28405
|
+
return Ot.AsyncMode = d, Ot.ConcurrentMode = u, Ot.ContextConsumer = l, Ot.ContextProvider = s, Ot.Element = e, Ot.ForwardRef = p, Ot.Fragment = r, Ot.Lazy = x, Ot.Memo = g, Ot.Portal = n, Ot.Profiler = i, Ot.StrictMode = o, Ot.Suspense = m, Ot.isAsyncMode = function(A) {
|
|
28406
28406
|
return O(A) || I(A) === d;
|
|
28407
|
-
},
|
|
28407
|
+
}, Ot.isConcurrentMode = O, Ot.isContextConsumer = function(A) {
|
|
28408
28408
|
return I(A) === l;
|
|
28409
|
-
},
|
|
28409
|
+
}, Ot.isContextProvider = function(A) {
|
|
28410
28410
|
return I(A) === s;
|
|
28411
|
-
},
|
|
28411
|
+
}, Ot.isElement = function(A) {
|
|
28412
28412
|
return typeof A == "object" && A !== null && A.$$typeof === e;
|
|
28413
|
-
},
|
|
28413
|
+
}, Ot.isForwardRef = function(A) {
|
|
28414
28414
|
return I(A) === p;
|
|
28415
|
-
},
|
|
28415
|
+
}, Ot.isFragment = function(A) {
|
|
28416
28416
|
return I(A) === r;
|
|
28417
|
-
},
|
|
28417
|
+
}, Ot.isLazy = function(A) {
|
|
28418
28418
|
return I(A) === x;
|
|
28419
|
-
},
|
|
28419
|
+
}, Ot.isMemo = function(A) {
|
|
28420
28420
|
return I(A) === g;
|
|
28421
|
-
},
|
|
28421
|
+
}, Ot.isPortal = function(A) {
|
|
28422
28422
|
return I(A) === n;
|
|
28423
|
-
},
|
|
28423
|
+
}, Ot.isProfiler = function(A) {
|
|
28424
28424
|
return I(A) === i;
|
|
28425
|
-
},
|
|
28425
|
+
}, Ot.isStrictMode = function(A) {
|
|
28426
28426
|
return I(A) === o;
|
|
28427
|
-
},
|
|
28427
|
+
}, Ot.isSuspense = function(A) {
|
|
28428
28428
|
return I(A) === m;
|
|
28429
|
-
},
|
|
28429
|
+
}, Ot.isValidElementType = function(A) {
|
|
28430
28430
|
return typeof A == "string" || typeof A == "function" || A === r || A === u || A === i || A === o || A === m || A === y || typeof A == "object" && A !== null && (A.$$typeof === x || A.$$typeof === g || A.$$typeof === s || A.$$typeof === l || A.$$typeof === p || A.$$typeof === b || A.$$typeof === S || A.$$typeof === E || A.$$typeof === w);
|
|
28431
|
-
},
|
|
28431
|
+
}, Ot.typeOf = I, Ot;
|
|
28432
28432
|
}
|
|
28433
|
-
var
|
|
28433
|
+
var Mt = {};
|
|
28434
28434
|
/** @license React v16.13.1
|
|
28435
28435
|
* react-is.development.js
|
|
28436
28436
|
*
|
|
@@ -28462,14 +28462,14 @@ function EK() {
|
|
|
28462
28462
|
case m:
|
|
28463
28463
|
return _t;
|
|
28464
28464
|
default:
|
|
28465
|
-
var
|
|
28466
|
-
switch (
|
|
28465
|
+
var kt = _t && _t.$$typeof;
|
|
28466
|
+
switch (kt) {
|
|
28467
28467
|
case l:
|
|
28468
28468
|
case p:
|
|
28469
28469
|
case x:
|
|
28470
28470
|
case g:
|
|
28471
28471
|
case s:
|
|
28472
|
-
return
|
|
28472
|
+
return kt;
|
|
28473
28473
|
default:
|
|
28474
28474
|
return qe;
|
|
28475
28475
|
}
|
|
@@ -28519,8 +28519,8 @@ function EK() {
|
|
|
28519
28519
|
function Me(ge) {
|
|
28520
28520
|
return O(ge) === m;
|
|
28521
28521
|
}
|
|
28522
|
-
|
|
28523
|
-
}()),
|
|
28522
|
+
Mt.AsyncMode = A, Mt.ConcurrentMode = $, Mt.ContextConsumer = j, Mt.ContextProvider = q, Mt.Element = Z, Mt.ForwardRef = W, Mt.Fragment = ae, Mt.Lazy = ce, Mt.Memo = me, Mt.Portal = V, Mt.Profiler = Q, Mt.StrictMode = J, Mt.Suspense = ue, Mt.isAsyncMode = fe, Mt.isConcurrentMode = H, Mt.isContextConsumer = te, Mt.isContextProvider = Ae, Mt.isElement = _e, Mt.isForwardRef = Re, Mt.isFragment = Ne, Mt.isLazy = ie, Mt.isMemo = ne, Mt.isPortal = ve, Mt.isProfiler = Pe, Mt.isStrictMode = Se, Mt.isSuspense = Me, Mt.isValidElementType = I, Mt.typeOf = O;
|
|
28523
|
+
}()), Mt;
|
|
28524
28524
|
}
|
|
28525
28525
|
var Yx;
|
|
28526
28526
|
function CI() {
|
|
@@ -31050,7 +31050,7 @@ function OI() {
|
|
|
31050
31050
|
}), ce(), Q.current.value = null, Q.current.click());
|
|
31051
31051
|
}, [fe, ce, me, S, Me, ne, ae, l]), _t = On(function(D) {
|
|
31052
31052
|
!V.current || !V.current.isEqualNode(D.target) || (D.key === " " || D.key === "Enter" || D.keyCode === 32 || D.keyCode === 13) && (D.preventDefault(), qe());
|
|
31053
|
-
}, [V, qe]),
|
|
31053
|
+
}, [V, qe]), kt = On(function() {
|
|
31054
31054
|
fe({
|
|
31055
31055
|
type: "focus"
|
|
31056
31056
|
});
|
|
@@ -31073,7 +31073,7 @@ function OI() {
|
|
|
31073
31073
|
var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, K = D.refKey, Te = K === void 0 ? "ref" : K, xe = D.role, Ce = D.onKeyDown, Oe = D.onFocus, Be = D.onBlur, at = D.onClick, Bt = D.onDragEnter, Wt = D.onDragOver, qt = D.onDragLeave, bn = D.onDrop, gr = Jf(D, vG);
|
|
31074
31074
|
return Gt(Gt(av({
|
|
31075
31075
|
onKeyDown: nn(Vo(Ce, _t)),
|
|
31076
|
-
onFocus: nn(Vo(Oe,
|
|
31076
|
+
onFocus: nn(Vo(Oe, kt)),
|
|
31077
31077
|
onBlur: nn(Vo(Be, Ht)),
|
|
31078
31078
|
onClick: jt(Vo(at, wn)),
|
|
31079
31079
|
onDragEnter: Nr(Vo(Bt, ve)),
|
|
@@ -31085,7 +31085,7 @@ function OI() {
|
|
|
31085
31085
|
tabIndex: 0
|
|
31086
31086
|
} : {}), gr);
|
|
31087
31087
|
};
|
|
31088
|
-
}, [V, _t,
|
|
31088
|
+
}, [V, _t, kt, Ht, wn, ve, Pe, Se, ge, A, $, r]), Pr = On(function(D) {
|
|
31089
31089
|
D.stopPropagation();
|
|
31090
31090
|
}, []), F = no(function() {
|
|
31091
31091
|
return function() {
|
|
@@ -31259,20 +31259,20 @@ function IG({
|
|
|
31259
31259
|
if (!g || g.total === 0 && g.completed === 0)
|
|
31260
31260
|
return {
|
|
31261
31261
|
text: "Đang khởi tạo và phân tích website...",
|
|
31262
|
-
icon: /* @__PURE__ */ h(
|
|
31262
|
+
icon: /* @__PURE__ */ h(St, { className: "h-5 w-5 animate-spin text-blue-500" }),
|
|
31263
31263
|
color: "text-blue-600"
|
|
31264
31264
|
};
|
|
31265
31265
|
if (g.status === "completed" && g.isProcessing)
|
|
31266
31266
|
return {
|
|
31267
31267
|
text: `Đang lưu dữ liệu...${g.completed && g.total ? ` (${g.completed}/${g.total} tệp)` : ""}${Q}`,
|
|
31268
|
-
icon: /* @__PURE__ */ h(
|
|
31268
|
+
icon: /* @__PURE__ */ h(St, { className: "h-5 w-5 animate-spin text-blue-500" }),
|
|
31269
31269
|
color: "text-blue-600"
|
|
31270
31270
|
};
|
|
31271
31271
|
switch (g.status) {
|
|
31272
31272
|
case "scraping":
|
|
31273
31273
|
return {
|
|
31274
31274
|
text: g.isProcessing ? `Đang thu thập nội dung trang...${Q}` : `Đang quét cấu trúc website...${Q}`,
|
|
31275
|
-
icon: /* @__PURE__ */ h(
|
|
31275
|
+
icon: /* @__PURE__ */ h(St, { className: "h-5 w-5 animate-spin text-blue-500" }),
|
|
31276
31276
|
color: "text-blue-600"
|
|
31277
31277
|
};
|
|
31278
31278
|
case "completed":
|
|
@@ -31296,7 +31296,7 @@ function IG({
|
|
|
31296
31296
|
default:
|
|
31297
31297
|
return {
|
|
31298
31298
|
text: `Đang xử lý...${Q}`,
|
|
31299
|
-
icon: /* @__PURE__ */ h(
|
|
31299
|
+
icon: /* @__PURE__ */ h(St, { className: "h-5 w-5 animate-spin text-blue-500" }),
|
|
31300
31300
|
color: "text-blue-600"
|
|
31301
31301
|
};
|
|
31302
31302
|
}
|
|
@@ -31370,7 +31370,7 @@ function IG({
|
|
|
31370
31370
|
}
|
|
31371
31371
|
),
|
|
31372
31372
|
/* @__PURE__ */ h(ze, { variant: "destructive", size: "sm", onClick: q, disabled: l, children: l ? /* @__PURE__ */ P(yt, { children: [
|
|
31373
|
-
/* @__PURE__ */ h(
|
|
31373
|
+
/* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin mr-2" }),
|
|
31374
31374
|
"Đang dừng..."
|
|
31375
31375
|
] }) : "Xác nhận" })
|
|
31376
31376
|
] }) : W && /* @__PURE__ */ h(ze, { variant: "destructive", onClick: () => s(!0), children: "Dừng thu thập" }),
|
|
@@ -31855,20 +31855,20 @@ var HG = "SelectItemAlignedPosition", KI = _.forwardRef((t, e) => {
|
|
|
31855
31855
|
if (i.trigger && i.valueNode && l && u && w && b && S) {
|
|
31856
31856
|
const j = i.trigger.getBoundingClientRect(), q = u.getBoundingClientRect(), Z = i.valueNode.getBoundingClientRect(), W = S.getBoundingClientRect();
|
|
31857
31857
|
if (i.dir !== "rtl") {
|
|
31858
|
-
const Me = W.left - q.left, ge = Z.left - Me, qe = j.left - ge, _t = j.width + qe,
|
|
31858
|
+
const Me = W.left - q.left, ge = Z.left - Me, qe = j.left - ge, _t = j.width + qe, kt = Math.max(_t, q.width), Ht = window.innerWidth - yo, wn = p0(ge, [
|
|
31859
31859
|
yo,
|
|
31860
31860
|
// Prevents the content from going off the starting edge of the
|
|
31861
31861
|
// viewport. It may still go off the ending edge, but this can be
|
|
31862
31862
|
// controlled by the user since they may want to manage overflow in a
|
|
31863
31863
|
// specific way.
|
|
31864
31864
|
// https://github.com/radix-ui/primitives/issues/2049
|
|
31865
|
-
Math.max(yo, Ht -
|
|
31865
|
+
Math.max(yo, Ht - kt)
|
|
31866
31866
|
]);
|
|
31867
31867
|
l.style.minWidth = _t + "px", l.style.left = wn + "px";
|
|
31868
31868
|
} else {
|
|
31869
|
-
const Me = q.right - W.right, ge = window.innerWidth - Z.right - Me, qe = window.innerWidth - j.right - ge, _t = j.width + qe,
|
|
31869
|
+
const Me = q.right - W.right, ge = window.innerWidth - Z.right - Me, qe = window.innerWidth - j.right - ge, _t = j.width + qe, kt = Math.max(_t, q.width), Ht = window.innerWidth - yo, wn = p0(ge, [
|
|
31870
31870
|
yo,
|
|
31871
|
-
Math.max(yo, Ht -
|
|
31871
|
+
Math.max(yo, Ht - kt)
|
|
31872
31872
|
]);
|
|
31873
31873
|
l.style.minWidth = _t + "px", l.style.right = wn + "px";
|
|
31874
31874
|
}
|
|
@@ -32494,7 +32494,7 @@ function c6({
|
|
|
32494
32494
|
onChange: (ie) => d(ie.target.value)
|
|
32495
32495
|
}
|
|
32496
32496
|
),
|
|
32497
|
-
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(
|
|
32497
|
+
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(St, { className: "h-10 w-10 animate-spin text-muted-foreground" }) }) : Q.length === 0 ? /* @__PURE__ */ h("p", { className: "text-muted-foreground italic text-center h-full flex items-center justify-center", children: "Không tìm thấy người dùng." }) : /* @__PURE__ */ h("ul", { className: "space-y-2", children: Q.map((ie) => /* @__PURE__ */ h(
|
|
32498
32498
|
"li",
|
|
32499
32499
|
{
|
|
32500
32500
|
onClick: () => te(ie.id),
|
|
@@ -32528,7 +32528,7 @@ function c6({
|
|
|
32528
32528
|
onChange: (ie) => y(ie.target.value)
|
|
32529
32529
|
}
|
|
32530
32530
|
),
|
|
32531
|
-
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(
|
|
32531
|
+
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(St, { className: "h-10 w-10 animate-spin text-muted-foreground" }) }) : ue.length === 0 ? /* @__PURE__ */ h("p", { className: "text-muted-foreground italic text-center h-full flex items-center justify-center", children: "Chưa chia sẻ với người dùng nào." }) : /* @__PURE__ */ h("ul", { className: "space-y-2", children: ue.map((ie) => /* @__PURE__ */ P(
|
|
32532
32532
|
"li",
|
|
32533
32533
|
{
|
|
32534
32534
|
className: "flex items-center justify-between gap-4 hover:bg-accent p-2 rounded-md transition-colors",
|
|
@@ -32579,7 +32579,7 @@ function c6({
|
|
|
32579
32579
|
onChange: (ie) => p(ie.target.value)
|
|
32580
32580
|
}
|
|
32581
32581
|
),
|
|
32582
|
-
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(
|
|
32582
|
+
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(St, { className: "h-10 w-10 animate-spin text-muted-foreground" }) }) : J.length === 0 ? /* @__PURE__ */ h("p", { className: "text-muted-foreground italic text-center h-full flex items-center justify-center", children: "Không tìm thấy nhóm." }) : /* @__PURE__ */ h("ul", { className: "space-y-2", children: J.map((ie) => /* @__PURE__ */ P(
|
|
32583
32583
|
"li",
|
|
32584
32584
|
{
|
|
32585
32585
|
onClick: () => Ae(ie),
|
|
@@ -32615,7 +32615,7 @@ function c6({
|
|
|
32615
32615
|
onChange: (ie) => x(ie.target.value)
|
|
32616
32616
|
}
|
|
32617
32617
|
),
|
|
32618
|
-
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(
|
|
32618
|
+
/* @__PURE__ */ h("div", { className: Ne, children: q ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ h(St, { className: "h-10 w-10 animate-spin text-muted-foreground" }) }) : re.length === 0 ? /* @__PURE__ */ h("p", { className: "text-muted-foreground italic text-center h-full flex items-center justify-center", children: "Chưa chia sẻ với nhóm nào." }) : /* @__PURE__ */ h("ul", { className: "space-y-2", children: re.map((ie) => /* @__PURE__ */ P(
|
|
32619
32619
|
"li",
|
|
32620
32620
|
{
|
|
32621
32621
|
className: "flex items-center justify-between gap-4 hover:bg-accent p-2 rounded-md transition-colors",
|
|
@@ -32657,7 +32657,7 @@ function c6({
|
|
|
32657
32657
|
onClick: Re,
|
|
32658
32658
|
disabled: S.length === 0 || W,
|
|
32659
32659
|
className: "w-[120px] justify-center",
|
|
32660
|
-
children: W ? /* @__PURE__ */ h(
|
|
32660
|
+
children: W ? /* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin" }) : "Lưu thay đổi"
|
|
32661
32661
|
}
|
|
32662
32662
|
)
|
|
32663
32663
|
] })
|
|
@@ -32856,7 +32856,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
32856
32856
|
idCreator: u
|
|
32857
32857
|
}) => {
|
|
32858
32858
|
var gu, mu;
|
|
32859
|
-
const [p, m] = le([]), [y, g] = le(""), [x, w] = le(new Set(d)), [b, S] = le(n), [E, I] = le(""), [O, A] = le(!1), [$, j] = le(""), [q, Z] = le(!1), [W, ae] = le(null), [ce, me] = le(null), [V, Q] = le(!1), [J, ue] = le(!1), [, re] = le(null), fe = Tn(null), { toast: H } = kd(), [te, Ae] = le(null), [_e, Re] = le(null), [Ne, ie] = le(null), [ne, ve] = le(""), [Pe, Se] = le(!1), [Me, ge] = le(!1), [qe, _t] = le(/* @__PURE__ */ new Set()), [
|
|
32859
|
+
const [p, m] = le([]), [y, g] = le(""), [x, w] = le(new Set(d)), [b, S] = le(n), [E, I] = le(""), [O, A] = le(!1), [$, j] = le(""), [q, Z] = le(!1), [W, ae] = le(null), [ce, me] = le(null), [V, Q] = le(!1), [J, ue] = le(!1), [, re] = le(null), fe = Tn(null), { toast: H } = kd(), [te, Ae] = le(null), [_e, Re] = le(null), [Ne, ie] = le(null), [ne, ve] = le(""), [Pe, Se] = le(!1), [Me, ge] = le(!1), [qe, _t] = le(/* @__PURE__ */ new Set()), [kt, Ht] = le(""), [wn, jt] = le(!1), [nn, Nr] = le(!1), [Fn, gn] = le("rename"), [Pr, F] = le(!1), [D, K] = le(""), [Te, xe] = le("1"), [Ce, Oe] = le("10"), [Be, at] = le(!1), [Bt, Wt] = le(!1), [qt, bn] = le(!1), [gr, Or] = le(!1), [Cn, No] = le(1), [Xn, Po] = le(1), [rl, ol] = le(!1), { currentJob: Ve, elapsedTime: Kr, setCurrentJob: Ud } = f6(e), [ao, Ma] = le(null), [Da, Ls] = le(""), [il, La] = le(!1), [Vi, Hd] = le(""), [Zh, Bd] = le(!1), [ep, zd] = le(!1), [Fa, Vd] = le([]), [$a, al] = le(!1), [Fs, tp] = le(""), ri = Tn({}), [Kd, $s] = le(null), [Us, Ki] = le(null), [np, Gi] = le(!1);
|
|
32860
32860
|
st(() => {
|
|
32861
32861
|
Ve && Ve.status && Gi(!0);
|
|
32862
32862
|
}, [Ve == null ? void 0 : Ve.id]);
|
|
@@ -32887,13 +32887,13 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
32887
32887
|
}, [Vi]), st(() => {
|
|
32888
32888
|
console.log("pre selected files", d);
|
|
32889
32889
|
}, [d]);
|
|
32890
|
-
const [
|
|
32890
|
+
const [Et, sl] = le(null), [op, Gd] = le(!1), [ip, cl] = le(!1), [jd, Hs] = le(!1), [ll, dl] = le([]), [Bs, ul] = le([]), [Gr, fl] = le([
|
|
32891
32891
|
{ id: "root", name: "OneDrive" }
|
|
32892
32892
|
]), [Wd, oi] = le(!1), [ii, Ua] = le([]), [Ha, Oo] = le(
|
|
32893
32893
|
/* @__PURE__ */ new Set()
|
|
32894
32894
|
), [hl, ji] = le(!1), [pl, Ba] = le([]), [zs, Mo] = le([]), [ai, si] = le([]), [Vs, ci] = le(
|
|
32895
32895
|
/* @__PURE__ */ new Set()
|
|
32896
|
-
), [Wi, za] = le([{ id: "root", name: "SharePoint" }]), [Va, gl] = le(/* @__PURE__ */ new Map()), [qi, Ka] = le(!1), [ml, ap] = le([]), [
|
|
32896
|
+
), [Wi, za] = le([{ id: "root", name: "SharePoint" }]), [Va, gl] = le(/* @__PURE__ */ new Map()), [qi, Ka] = le(!1), [ml, ap] = le([]), [Rt, Ks] = le(null), [sp, Ga] = le(!1), [cp, Gs] = le(!1), [so, vl] = le(!1), Lt = new URL(window.location.href).searchParams.get("prefix") || "" || E || n, {
|
|
32897
32897
|
data: mr,
|
|
32898
32898
|
isLoading: co,
|
|
32899
32899
|
error: lp,
|
|
@@ -32902,7 +32902,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
32902
32902
|
refetch: xn
|
|
32903
32903
|
} = p6(
|
|
32904
32904
|
e,
|
|
32905
|
-
|
|
32905
|
+
Lt,
|
|
32906
32906
|
l,
|
|
32907
32907
|
y,
|
|
32908
32908
|
Cn,
|
|
@@ -32912,7 +32912,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
32912
32912
|
x,
|
|
32913
32913
|
ri,
|
|
32914
32914
|
w
|
|
32915
|
-
), [js, lo] = le(!1), ln = Tn(null), Do = Ra(),
|
|
32915
|
+
), [js, lo] = le(!1), ln = Tn(null), Do = Ra(), Tt = (() => {
|
|
32916
32916
|
const C = localStorage.getItem("dataLogin");
|
|
32917
32917
|
try {
|
|
32918
32918
|
if (C) {
|
|
@@ -32923,7 +32923,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
32923
32923
|
return null;
|
|
32924
32924
|
}
|
|
32925
32925
|
return null;
|
|
32926
|
-
})(), vr = (
|
|
32926
|
+
})(), vr = (Tt == null ? void 0 : Tt.id) || "0299b2b0-980a-4d5c-8692-bc69e3b576e2", En = { id: "root", name: "My Drive" }, [qd, li] = le(!1), [Wa, qa] = le(!1), [Qi, Ws] = le([
|
|
32927
32927
|
En
|
|
32928
32928
|
]), [$n, Yd] = le([]), [Un, Qd] = le(!1), [qs, uo] = le(!1), [jr, Ys] = le([]), [dt, Wr] = le(null), [Ji, Jd] = le(!1), [Qs, Ya] = le(!1), [up, Xd] = le(null), [Zd, Qa] = le(null), [di, eu] = le(null), [yl, Js] = le(!1), [, Xs] = le(!1), [Zs, ec] = le(!1), [tu, wl] = le(null), Ja = jr.find((C) => C.id === dt) ?? null, bl = (Ja == null ? void 0 : Ja.syncedFolders) ?? [];
|
|
32929
32929
|
st(() => {
|
|
@@ -33163,8 +33163,8 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33163
33163
|
R && Za(
|
|
33164
33164
|
R,
|
|
33165
33165
|
"SharePoint",
|
|
33166
|
-
(
|
|
33167
|
-
(
|
|
33166
|
+
(Rt == null ? void 0 : Rt.hostname) || "",
|
|
33167
|
+
(Rt == null ? void 0 : Rt.sitePath) || ""
|
|
33168
33168
|
);
|
|
33169
33169
|
}, Cl = async (C, R, M) => {
|
|
33170
33170
|
const Y = localStorage.getItem("sharepoint_access_token");
|
|
@@ -33181,8 +33181,8 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33181
33181
|
prefix: R,
|
|
33182
33182
|
folders: [],
|
|
33183
33183
|
files: [],
|
|
33184
|
-
hostname: (
|
|
33185
|
-
sitePath: (
|
|
33184
|
+
hostname: (Rt == null ? void 0 : Rt.hostname) || "",
|
|
33185
|
+
sitePath: (Rt == null ? void 0 : Rt.sitePath) || "",
|
|
33186
33186
|
isAutoUpdateKB: so,
|
|
33187
33187
|
refreshAccessToken: localStorage.getItem("refresh_sharepoint_access_token") || "",
|
|
33188
33188
|
excludedIds: Array.from(M)
|
|
@@ -33350,7 +33350,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33350
33350
|
}
|
|
33351
33351
|
}, wp = async (C) => {
|
|
33352
33352
|
try {
|
|
33353
|
-
const R =
|
|
33353
|
+
const R = Tt == null ? void 0 : Tt.id, M = await Le.post(`${e}/api/get-one-drive-access-token`, {
|
|
33354
33354
|
authorizationCode: C,
|
|
33355
33355
|
userId: R
|
|
33356
33356
|
}), { accessToken: Y, refreshToken: U } = M.data;
|
|
@@ -33361,7 +33361,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33361
33361
|
}, nc = async (C, R) => {
|
|
33362
33362
|
try {
|
|
33363
33363
|
oi(!0);
|
|
33364
|
-
const M =
|
|
33364
|
+
const M = Tt == null ? void 0 : Tt.id, U = (await Le.post(`${e}/api/list-file-one-drive`, {
|
|
33365
33365
|
folderId: C,
|
|
33366
33366
|
userId: M
|
|
33367
33367
|
})).data.map(
|
|
@@ -33574,7 +33574,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33574
33574
|
}
|
|
33575
33575
|
}, dn = () => {
|
|
33576
33576
|
Js(!0), ft();
|
|
33577
|
-
},
|
|
33577
|
+
}, Nt = async (C, R, M) => {
|
|
33578
33578
|
var Y, U;
|
|
33579
33579
|
eu(`${C}:${R}`);
|
|
33580
33580
|
try {
|
|
@@ -33762,7 +33762,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33762
33762
|
{ position: "bottom-right" }
|
|
33763
33763
|
);
|
|
33764
33764
|
}
|
|
33765
|
-
},
|
|
33765
|
+
}, At = async () => {
|
|
33766
33766
|
var R, M, Y, U, z;
|
|
33767
33767
|
if (dt == null) {
|
|
33768
33768
|
He.error("Chưa chọn tài khoản Google Drive để đồng bộ.", { position: "bottom-right" });
|
|
@@ -33903,11 +33903,11 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33903
33903
|
return;
|
|
33904
33904
|
}
|
|
33905
33905
|
const _n = new FormData();
|
|
33906
|
-
if (
|
|
33906
|
+
if (Tt != null && Tt.id && _n.append(
|
|
33907
33907
|
"metadata",
|
|
33908
33908
|
JSON.stringify({
|
|
33909
|
-
creator:
|
|
33910
|
-
creatorId:
|
|
33909
|
+
creator: Tt.username,
|
|
33910
|
+
creatorId: Tt.id,
|
|
33911
33911
|
DataSource: "Tệp tải lên"
|
|
33912
33912
|
})
|
|
33913
33913
|
), M === "folder" && C[0]) {
|
|
@@ -34127,7 +34127,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34127
34127
|
return C = C.filter((M) => M.key.endsWith("/") ? !R(M.key) : !0), C;
|
|
34128
34128
|
}, ns = no(() => {
|
|
34129
34129
|
const C = [
|
|
34130
|
-
...(
|
|
34130
|
+
...(Tt == null ? void 0 : Tt.role) !== "MASTER_ADMIN" && (Tt == null ? void 0 : Tt.role) !== "SITE_ADMIN" && (b === "" || b === "/") ? [] : [
|
|
34131
34131
|
{
|
|
34132
34132
|
id: "select",
|
|
34133
34133
|
header: () => {
|
|
@@ -34386,7 +34386,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34386
34386
|
onClick: () => cc([R.original.key]),
|
|
34387
34387
|
className: "h-8 w-8 p-0",
|
|
34388
34388
|
disabled: !y6(R.original.permission) || qe.has(R.original.key),
|
|
34389
|
-
children: qe.has(R.original.key) ? /* @__PURE__ */ h(
|
|
34389
|
+
children: qe.has(R.original.key) ? /* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin" }) : /* @__PURE__ */ h(oF, { className: "h-4 w-4" })
|
|
34390
34390
|
}
|
|
34391
34391
|
) }),
|
|
34392
34392
|
/* @__PURE__ */ h(Vn, { children: "Tải xuống" })
|
|
@@ -34804,16 +34804,16 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34804
34804
|
]
|
|
34805
34805
|
}
|
|
34806
34806
|
) }),
|
|
34807
|
-
|
|
34807
|
+
Et && /* @__PURE__ */ h(Vn, { side: "right", sideOffset: 5, children: /* @__PURE__ */ P("div", { className: "space-y-2 p-3 max-w-md", children: [
|
|
34808
34808
|
/* @__PURE__ */ h("p", { className: "font-semibold text-lg border-b pb-1", children: "Thông tin đồng bộ" }),
|
|
34809
34809
|
/* @__PURE__ */ h("div", { className: "space-y-1", children: /* @__PURE__ */ P("p", { className: "flex items-center gap-2", children: [
|
|
34810
34810
|
/* @__PURE__ */ h("span", { className: "font-medium", children: "Trạng thái:" }),
|
|
34811
34811
|
/* @__PURE__ */ P(
|
|
34812
34812
|
"span",
|
|
34813
34813
|
{
|
|
34814
|
-
className: `flex items-center gap-1 font-semibold ${
|
|
34814
|
+
className: `flex items-center gap-1 font-semibold ${Et.status === "COMPLETE" ? "text-green-600" : Et.status === "FAILED" ? "text-red-600" : "text-yellow-600"}`,
|
|
34815
34815
|
children: [
|
|
34816
|
-
|
|
34816
|
+
Et.status === "COMPLETE" && /* @__PURE__ */ h(
|
|
34817
34817
|
"svg",
|
|
34818
34818
|
{
|
|
34819
34819
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34832,7 +34832,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34832
34832
|
)
|
|
34833
34833
|
}
|
|
34834
34834
|
),
|
|
34835
|
-
|
|
34835
|
+
Et.status === "FAILED" && /* @__PURE__ */ h(
|
|
34836
34836
|
"svg",
|
|
34837
34837
|
{
|
|
34838
34838
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34851,7 +34851,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34851
34851
|
)
|
|
34852
34852
|
}
|
|
34853
34853
|
),
|
|
34854
|
-
|
|
34854
|
+
Et.status !== "COMPLETE" && Et.status !== "FAILED" && Et.status !== "STOPPED" && /* @__PURE__ */ h(
|
|
34855
34855
|
"svg",
|
|
34856
34856
|
{
|
|
34857
34857
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -34870,41 +34870,41 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34870
34870
|
)
|
|
34871
34871
|
}
|
|
34872
34872
|
),
|
|
34873
|
-
j3(
|
|
34873
|
+
j3(Et.status)
|
|
34874
34874
|
]
|
|
34875
34875
|
}
|
|
34876
34876
|
)
|
|
34877
34877
|
] }) }),
|
|
34878
|
-
|
|
34878
|
+
Et.statistics && /* @__PURE__ */ P("div", { className: "space-y-1 border-t pt-2", children: [
|
|
34879
34879
|
/* @__PURE__ */ h("p", { className: "font-medium text-gray-50", children: "Thống kê xử lý:" }),
|
|
34880
34880
|
/* @__PURE__ */ P("div", { className: "grid grid-cols-2 gap-x-4 gap-y-1 text-sm", children: [
|
|
34881
34881
|
/* @__PURE__ */ P("div", { className: "flex justify-between", children: [
|
|
34882
34882
|
/* @__PURE__ */ h("span", { children: "Tài liệu quét:" }),
|
|
34883
|
-
/* @__PURE__ */ h("span", { className: "font-medium", children:
|
|
34883
|
+
/* @__PURE__ */ h("span", { className: "font-medium", children: Et.statistics.numberOfDocumentsScanned })
|
|
34884
34884
|
] }),
|
|
34885
34885
|
/* @__PURE__ */ P("div", { className: "flex justify-between", children: [
|
|
34886
34886
|
/* @__PURE__ */ h("span", { children: "Metadata quét:" }),
|
|
34887
|
-
/* @__PURE__ */ h("span", { className: "font-medium", children:
|
|
34887
|
+
/* @__PURE__ */ h("span", { className: "font-medium", children: Et.statistics.numberOfMetadataDocumentsScanned })
|
|
34888
34888
|
] }),
|
|
34889
34889
|
/* @__PURE__ */ P("div", { className: "flex justify-between", children: [
|
|
34890
34890
|
/* @__PURE__ */ h("span", { children: "Tài liệu mới:" }),
|
|
34891
|
-
/* @__PURE__ */ h("span", { className: "font-medium text-green-600", children:
|
|
34891
|
+
/* @__PURE__ */ h("span", { className: "font-medium text-green-600", children: Et.statistics.numberOfNewDocumentsIndexed })
|
|
34892
34892
|
] }),
|
|
34893
34893
|
/* @__PURE__ */ P("div", { className: "flex justify-between", children: [
|
|
34894
34894
|
/* @__PURE__ */ h("span", { children: "Tài liệu sửa:" }),
|
|
34895
|
-
/* @__PURE__ */ h("span", { className: "font-medium text-blue-600", children:
|
|
34895
|
+
/* @__PURE__ */ h("span", { className: "font-medium text-blue-600", children: Et.statistics.numberOfModifiedDocumentsIndexed })
|
|
34896
34896
|
] }),
|
|
34897
34897
|
/* @__PURE__ */ P("div", { className: "flex justify-between", children: [
|
|
34898
34898
|
/* @__PURE__ */ h("span", { children: "Metadata sửa:" }),
|
|
34899
|
-
/* @__PURE__ */ h("span", { className: "font-medium text-blue-600", children:
|
|
34899
|
+
/* @__PURE__ */ h("span", { className: "font-medium text-blue-600", children: Et.statistics.numberOfMetadataDocumentsModified })
|
|
34900
34900
|
] }),
|
|
34901
34901
|
/* @__PURE__ */ P("div", { className: "flex justify-between", children: [
|
|
34902
34902
|
/* @__PURE__ */ h("span", { children: "Tài liệu xóa:" }),
|
|
34903
|
-
/* @__PURE__ */ h("span", { className: "font-medium text-orange-600", children:
|
|
34903
|
+
/* @__PURE__ */ h("span", { className: "font-medium text-orange-600", children: Et.statistics.numberOfDocumentsDeleted })
|
|
34904
34904
|
] }),
|
|
34905
34905
|
/* @__PURE__ */ P("div", { className: "flex justify-between col-span-2", children: [
|
|
34906
34906
|
/* @__PURE__ */ h("span", { children: "Tài liệu lỗi:" }),
|
|
34907
|
-
/* @__PURE__ */ h("span", { className: "font-medium text-red-600", children:
|
|
34907
|
+
/* @__PURE__ */ h("span", { className: "font-medium text-red-600", children: Et.statistics.numberOfDocumentsFailed })
|
|
34908
34908
|
] })
|
|
34909
34909
|
] })
|
|
34910
34910
|
] }),
|
|
@@ -34913,42 +34913,42 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34913
34913
|
/* @__PURE__ */ P("p", { children: [
|
|
34914
34914
|
/* @__PURE__ */ h("span", { className: "font-medium", children: "DataSource ID:" }),
|
|
34915
34915
|
" ",
|
|
34916
|
-
|
|
34916
|
+
Et.dataSourceId
|
|
34917
34917
|
] }),
|
|
34918
34918
|
/* @__PURE__ */ P("p", { children: [
|
|
34919
34919
|
/* @__PURE__ */ h("span", { className: "font-medium", children: "Ingestion Job ID:" }),
|
|
34920
34920
|
" ",
|
|
34921
|
-
|
|
34921
|
+
Et.ingestionJobId
|
|
34922
34922
|
] }),
|
|
34923
34923
|
/* @__PURE__ */ P("p", { children: [
|
|
34924
34924
|
/* @__PURE__ */ h("span", { className: "font-medium", children: "Knowledge Base ID:" }),
|
|
34925
34925
|
" ",
|
|
34926
|
-
|
|
34926
|
+
Et.knowledgeBaseId
|
|
34927
34927
|
] }),
|
|
34928
34928
|
/* @__PURE__ */ P("p", { className: "break-all", children: [
|
|
34929
34929
|
/* @__PURE__ */ h("span", { className: "font-medium", children: "OpenSearch Node:" }),
|
|
34930
34930
|
" ",
|
|
34931
|
-
|
|
34931
|
+
Et.node ? /* @__PURE__ */ h("span", { className: "text-gray-100", children: Et.node }) : /* @__PURE__ */ h("span", { className: "italic text-gray-400", children: "Chưa có" })
|
|
34932
34932
|
] }),
|
|
34933
34933
|
/* @__PURE__ */ P("p", { className: "break-all", children: [
|
|
34934
34934
|
/* @__PURE__ */ h("span", { className: "font-medium", children: "Index Name:" }),
|
|
34935
34935
|
" ",
|
|
34936
|
-
|
|
34936
|
+
Et.index_name ? /* @__PURE__ */ h("span", { className: "text-gray-100", children: Et.index_name }) : /* @__PURE__ */ h("span", { className: "italic text-gray-400", children: "Chưa có" })
|
|
34937
34937
|
] }),
|
|
34938
34938
|
/* @__PURE__ */ P("p", { children: [
|
|
34939
34939
|
/* @__PURE__ */ h("span", { className: "font-medium", children: "Job trong queue:" }),
|
|
34940
34940
|
" ",
|
|
34941
|
-
|
|
34941
|
+
Et.is_still_in_stock ? "Còn" : "Không"
|
|
34942
34942
|
] })
|
|
34943
34943
|
] }),
|
|
34944
|
-
|
|
34944
|
+
Et.errorMessage && /* @__PURE__ */ P("div", { className: "border-t pt-2", children: [
|
|
34945
34945
|
/* @__PURE__ */ h("p", { className: "text-red-600 font-medium", children: "Lỗi:" }),
|
|
34946
|
-
/* @__PURE__ */ h("p", { className: "text-red-600 text-sm bg-red-50 p-2 rounded", children:
|
|
34946
|
+
/* @__PURE__ */ h("p", { className: "text-red-600 text-sm bg-red-50 p-2 rounded", children: Et.errorMessage })
|
|
34947
34947
|
] }),
|
|
34948
|
-
|
|
34948
|
+
Et.failureReasons && Et.failureReasons.length > 0 && /* @__PURE__ */ h(
|
|
34949
34949
|
TK,
|
|
34950
34950
|
{
|
|
34951
|
-
failureReasons:
|
|
34951
|
+
failureReasons: Et.failureReasons,
|
|
34952
34952
|
onNavigateToFile: Sp
|
|
34953
34953
|
}
|
|
34954
34954
|
)
|
|
@@ -34964,6 +34964,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
34964
34964
|
size: "sm",
|
|
34965
34965
|
className: "flex items-center gap-2 s3-explr-add-file-btn bg-[#1682fe] hover:bg-[#0f6cd4] text-white rounded-md px-4 py-2 transition-colors aria-disabled:hidden",
|
|
34966
34966
|
onClick: () => lo((C) => !C),
|
|
34967
|
+
"aria-disabled": (Tt == null ? void 0 : Tt.role) !== "MASTER_ADMIN" && (Tt == null ? void 0 : Tt.role) !== "SITE_ADMIN" && (b === "" || b === "/"),
|
|
34967
34968
|
children: [
|
|
34968
34969
|
/* @__PURE__ */ h(vF, { className: "w-4 h-4" }),
|
|
34969
34970
|
"Add file"
|
|
@@ -35263,7 +35264,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35263
35264
|
disabled: V,
|
|
35264
35265
|
className: "s3-explr-confirm-delete-btn",
|
|
35265
35266
|
children: V ? /* @__PURE__ */ P(yt, { children: [
|
|
35266
|
-
/* @__PURE__ */ h(
|
|
35267
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35267
35268
|
"Đang xóa..."
|
|
35268
35269
|
] }) : "Xóa đã chọn"
|
|
35269
35270
|
}
|
|
@@ -35299,7 +35300,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35299
35300
|
disabled: q,
|
|
35300
35301
|
className: "s3-explr-create-btn",
|
|
35301
35302
|
children: [
|
|
35302
|
-
q && /* @__PURE__ */ h(
|
|
35303
|
+
q && /* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35303
35304
|
q ? "Đang tạo..." : "Tạo"
|
|
35304
35305
|
]
|
|
35305
35306
|
}
|
|
@@ -35319,7 +35320,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35319
35320
|
C.target.closest(".stop-icon-wrapper") ? (C.stopPropagation(), os()) : Gi(!0);
|
|
35320
35321
|
},
|
|
35321
35322
|
children: [
|
|
35322
|
-
/* @__PURE__ */ h(
|
|
35323
|
+
/* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35323
35324
|
(() => {
|
|
35324
35325
|
const C = Math.floor(Kr / 3600), R = Math.floor(Kr % 3600 / 60), M = Kr % 60, Y = C > 0 ? `${C}h${R}m${M}s` : R > 0 ? `${R}m${M}s` : `${M}s`, U = Ve == null ? void 0 : Ve.status;
|
|
35325
35326
|
let z = "Đang xử lý";
|
|
@@ -35445,7 +35446,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35445
35446
|
),
|
|
35446
35447
|
Ve ? /* @__PURE__ */ h(rr, { delayDuration: 0, children: /* @__PURE__ */ P(or, { children: [
|
|
35447
35448
|
/* @__PURE__ */ h(ir, { asChild: !0, children: /* @__PURE__ */ h("span", { children: /* @__PURE__ */ P(ze, { disabled: !0, className: "s3-explr-crawl-btn", children: [
|
|
35448
|
-
/* @__PURE__ */ h(
|
|
35449
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35449
35450
|
"Đang thu thập..."
|
|
35450
35451
|
] }) }) }),
|
|
35451
35452
|
/* @__PURE__ */ h(Vn, { side: "top", sideOffset: 5, children: "Đang có một tiến trình thu thập đang chạy. Vui lòng chờ hoàn thành trước khi bắt đầu mới." })
|
|
@@ -35462,7 +35463,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35462
35463
|
disabled: Be || !D.trim(),
|
|
35463
35464
|
className: "s3-explr-crawl-btn",
|
|
35464
35465
|
children: Be ? /* @__PURE__ */ P(yt, { children: [
|
|
35465
|
-
/* @__PURE__ */ h(
|
|
35466
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35466
35467
|
"Đang thu thập..."
|
|
35467
35468
|
] }) : "Bắt đầu thu thập"
|
|
35468
35469
|
}
|
|
@@ -35631,7 +35632,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35631
35632
|
),
|
|
35632
35633
|
Ve ? /* @__PURE__ */ h(rr, { delayDuration: 0, children: /* @__PURE__ */ P(or, { children: [
|
|
35633
35634
|
/* @__PURE__ */ h(ir, { asChild: !0, children: /* @__PURE__ */ h("span", { children: /* @__PURE__ */ P(ze, { disabled: !0, className: "s3-explr-crawl-btn", children: [
|
|
35634
|
-
/* @__PURE__ */ h(
|
|
35635
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35635
35636
|
"Đang thu thập..."
|
|
35636
35637
|
] }) }) }),
|
|
35637
35638
|
/* @__PURE__ */ h(Vn, { side: "top", sideOffset: 5, children: "Đang có một tiến trình thu thập đang chạy. Vui lòng chờ hoàn thành trước khi bắt đầu mới." })
|
|
@@ -35648,7 +35649,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35648
35649
|
disabled: Be || !D.trim(),
|
|
35649
35650
|
className: "s3-explr-crawl-btn",
|
|
35650
35651
|
children: Be ? /* @__PURE__ */ P(yt, { children: [
|
|
35651
|
-
/* @__PURE__ */ h(
|
|
35652
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35652
35653
|
"Đang thu thập..."
|
|
35653
35654
|
] }) : "Bắt đầu thu thập"
|
|
35654
35655
|
}
|
|
@@ -35965,7 +35966,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35965
35966
|
{
|
|
35966
35967
|
title: "Ngừng đồng bộ realtime cho thư mục này",
|
|
35967
35968
|
disabled: di === `${dt}:${C.folder_id}`,
|
|
35968
|
-
onClick: () => dt != null && void
|
|
35969
|
+
onClick: () => dt != null && void Nt(
|
|
35969
35970
|
dt,
|
|
35970
35971
|
C.folder_id,
|
|
35971
35972
|
C.folder_name || C.prefix
|
|
@@ -36012,7 +36013,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36012
36013
|
/* @__PURE__ */ h(
|
|
36013
36014
|
ze,
|
|
36014
36015
|
{
|
|
36015
|
-
onClick:
|
|
36016
|
+
onClick: At,
|
|
36016
36017
|
disabled: qs || Un || dt == null,
|
|
36017
36018
|
className: "bg-[#1682fe] hover:bg-[#0f6cd4] text-white rounded-md px-4 py-2 transition-colors",
|
|
36018
36019
|
children: qs ? "Đang đồng bộ..." : "Đồng bộ + bật tự động cho thư mục này"
|
|
@@ -36137,7 +36138,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36137
36138
|
{
|
|
36138
36139
|
title: "Ngừng đồng bộ realtime cho thư mục này",
|
|
36139
36140
|
disabled: di === `${C.id}:${se.folder_id}`,
|
|
36140
|
-
onClick: () => void
|
|
36141
|
+
onClick: () => void Nt(
|
|
36141
36142
|
C.id,
|
|
36142
36143
|
se.folder_id,
|
|
36143
36144
|
se.folder_name || se.prefix
|
|
@@ -36178,7 +36179,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36178
36179
|
}
|
|
36179
36180
|
) }),
|
|
36180
36181
|
/* @__PURE__ */ P("div", { className: "flex items-center gap-2", children: [
|
|
36181
|
-
|
|
36182
|
+
Rt && /* @__PURE__ */ h(
|
|
36182
36183
|
"button",
|
|
36183
36184
|
{
|
|
36184
36185
|
onClick: () => Ks(null),
|
|
@@ -36202,7 +36203,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36202
36203
|
),
|
|
36203
36204
|
/* @__PURE__ */ h("h2", { className: "text-lg font-semibold", children: "My SharePoint" })
|
|
36204
36205
|
] }),
|
|
36205
|
-
|
|
36206
|
+
Rt && /* @__PURE__ */ h(Gl, { className: "sharepoint-breadcrumb", children: /* @__PURE__ */ h(jl, { className: "sharepoint-breadcrumb-list", children: Wi.map((C, R) => /* @__PURE__ */ P("div", { className: "flex items-center", children: [
|
|
36206
36207
|
R > 0 && /* @__PURE__ */ h(Wl, { className: "sharepoint-breadcrumb-separator" }),
|
|
36207
36208
|
/* @__PURE__ */ h(Ac, { className: "sharepoint-breadcrumb-item", children: /* @__PURE__ */ h(
|
|
36208
36209
|
Ic,
|
|
@@ -36214,7 +36215,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36214
36215
|
) })
|
|
36215
36216
|
] }, R)) }) })
|
|
36216
36217
|
] }),
|
|
36217
|
-
/* @__PURE__ */ h("div", { className: "space-y-2 mt-4 flex-1 overflow-y-auto", children: hl ? /* @__PURE__ */ h("div", { className: "text-sm text-gray-500", children: "Đang tải nội dung thư mục... Vui lòng đợi." }) :
|
|
36218
|
+
/* @__PURE__ */ h("div", { className: "space-y-2 mt-4 flex-1 overflow-y-auto", children: hl ? /* @__PURE__ */ h("div", { className: "text-sm text-gray-500", children: "Đang tải nội dung thư mục... Vui lòng đợi." }) : Rt ? [...zs, ...pl].length === 0 ? /* @__PURE__ */ h("div", { className: "text-sm text-gray-500", children: "Không có thư mục hoặc tệp nào." }) : [...zs, ...pl].map((C) => {
|
|
36218
36219
|
const R = hp(
|
|
36219
36220
|
C,
|
|
36220
36221
|
ai,
|
|
@@ -36242,8 +36243,8 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36242
36243
|
onClick: () => Za(
|
|
36243
36244
|
C.id,
|
|
36244
36245
|
C.name,
|
|
36245
|
-
(
|
|
36246
|
-
(
|
|
36246
|
+
(Rt == null ? void 0 : Rt.hostname) || "",
|
|
36247
|
+
(Rt == null ? void 0 : Rt.sitePath) || ""
|
|
36247
36248
|
)
|
|
36248
36249
|
}
|
|
36249
36250
|
) : /* @__PURE__ */ h(Sg, { className: "text-gray-500 w-5 h-5" }),
|
|
@@ -36256,8 +36257,8 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36256
36257
|
C.isFolder && Za(
|
|
36257
36258
|
C.id,
|
|
36258
36259
|
C.name,
|
|
36259
|
-
(
|
|
36260
|
-
(
|
|
36260
|
+
(Rt == null ? void 0 : Rt.hostname) || "",
|
|
36261
|
+
(Rt == null ? void 0 : Rt.sitePath) || ""
|
|
36261
36262
|
);
|
|
36262
36263
|
},
|
|
36263
36264
|
children: C.name
|
|
@@ -36306,7 +36307,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36306
36307
|
},
|
|
36307
36308
|
C.id
|
|
36308
36309
|
)) }) }),
|
|
36309
|
-
/* @__PURE__ */ h("div", { className: "mt-4 flex flex-wrap justify-end gap-2", children:
|
|
36310
|
+
/* @__PURE__ */ h("div", { className: "mt-4 flex flex-wrap justify-end gap-2", children: Rt && /* @__PURE__ */ P(yt, { children: [
|
|
36310
36311
|
/* @__PURE__ */ h(
|
|
36311
36312
|
ze,
|
|
36312
36313
|
{
|
|
@@ -36324,7 +36325,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36324
36325
|
),
|
|
36325
36326
|
/* @__PURE__ */ h(ze, { onClick: () => Ks(null), children: "Quay lại" })
|
|
36326
36327
|
] }) }),
|
|
36327
|
-
|
|
36328
|
+
Rt && /* @__PURE__ */ P(
|
|
36328
36329
|
"button",
|
|
36329
36330
|
{
|
|
36330
36331
|
onClick: () => vl((C) => !C),
|
|
@@ -36413,7 +36414,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36413
36414
|
" "
|
|
36414
36415
|
] }) }),
|
|
36415
36416
|
/* @__PURE__ */ h(Ni, { className: "s3-explr-dialog-description", children: ep ? /* @__PURE__ */ P("div", { className: "flex items-center justify-center py-4", children: [
|
|
36416
|
-
/* @__PURE__ */ h(
|
|
36417
|
+
/* @__PURE__ */ h(St, { className: "h-6 w-6 animate-spin" }),
|
|
36417
36418
|
/* @__PURE__ */ h("span", { className: "ml-2", children: "Đang tải thông tin flows..." })
|
|
36418
36419
|
] }) : /* @__PURE__ */ h("div", { children: Fa && Array.isArray(Fa) && Fa.length > 0 ? /* @__PURE__ */ h("div", { className: "max-h-[400px] overflow-y-auto", children: /* @__PURE__ */ P("table", { className: "w-full border-collapse", children: [
|
|
36419
36420
|
/* @__PURE__ */ h("thead", { children: /* @__PURE__ */ P("tr", { className: "bg-gray-100", children: [
|
|
@@ -36467,7 +36468,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36467
36468
|
disabled: gr,
|
|
36468
36469
|
className: "s3-explr-confirm-delete-btn",
|
|
36469
36470
|
children: gr ? /* @__PURE__ */ P(yt, { children: [
|
|
36470
|
-
/* @__PURE__ */ h(
|
|
36471
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36471
36472
|
"Đang xóa..."
|
|
36472
36473
|
] }) : "Xóa"
|
|
36473
36474
|
}
|
|
@@ -36519,7 +36520,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36519
36520
|
)
|
|
36520
36521
|
] }) }) }),
|
|
36521
36522
|
!te.isFolder && /* @__PURE__ */ P(yt, { children: [
|
|
36522
|
-
(hs(te) || _r(te)) && /* @__PURE__ */ h(ma, { value: "edit", children: /* @__PURE__ */ h("div", { className: "space-y-4 py-4", children: wn ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center py-10", children: /* @__PURE__ */ h(
|
|
36523
|
+
(hs(te) || _r(te)) && /* @__PURE__ */ h(ma, { value: "edit", children: /* @__PURE__ */ h("div", { className: "space-y-4 py-4", children: wn ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center py-10", children: /* @__PURE__ */ h(St, { className: "h-6 w-6 animate-spin text-muted-foreground" }) }) : /* @__PURE__ */ P("div", { className: "max-h-[70dvh] overflow-auto rounded-md border px-4 py-3 bg-muted/30", children: [
|
|
36523
36524
|
/* @__PURE__ */ h(
|
|
36524
36525
|
Tr,
|
|
36525
36526
|
{
|
|
@@ -36532,18 +36533,18 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36532
36533
|
vd,
|
|
36533
36534
|
{
|
|
36534
36535
|
id: "content",
|
|
36535
|
-
value:
|
|
36536
|
+
value: kt,
|
|
36536
36537
|
onChange: (C) => Ht(C.target.value),
|
|
36537
36538
|
placeholder: _r(te) ? "Chưa có nội dung OCR..." : "Nhập nội dung tập tin",
|
|
36538
36539
|
className: "font-mono text-sm resize-none min-h-[200px] w-full",
|
|
36539
36540
|
disabled: nn,
|
|
36540
36541
|
style: { height: "auto", maxHeight: "60vh" },
|
|
36541
|
-
rows: Math.max(10,
|
|
36542
|
+
rows: Math.max(10, kt.split(`
|
|
36542
36543
|
`).length + 1)
|
|
36543
36544
|
}
|
|
36544
36545
|
)
|
|
36545
36546
|
] }) }) }),
|
|
36546
|
-
/* @__PURE__ */ h(ma, { value: "edit-metadata", children: /* @__PURE__ */ h("div", { className: "space-y-4 py-4", children: wn ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ h(
|
|
36547
|
+
/* @__PURE__ */ h(ma, { value: "edit-metadata", children: /* @__PURE__ */ h("div", { className: "space-y-4 py-4", children: wn ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ h(St, { className: "h-6 w-6 animate-spin" }) }) : /* @__PURE__ */ h("div", { className: "h-[70dvh] min-h-[500px] overflow-hidden overflow-y-auto pb-3 px-1", children: Ne && typeof Ne == "object" && Object.entries(Ne).map(([C, R], M) => /* @__PURE__ */ P("div", { className: "pb-3 flex flex-col gap-2", children: [
|
|
36547
36548
|
/* @__PURE__ */ P(
|
|
36548
36549
|
Tr,
|
|
36549
36550
|
{
|
|
@@ -36608,11 +36609,11 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36608
36609
|
Fn === "edit" ? /* @__PURE__ */ h(
|
|
36609
36610
|
ze,
|
|
36610
36611
|
{
|
|
36611
|
-
onClick: () => te && Ep(te,
|
|
36612
|
+
onClick: () => te && Ep(te, kt),
|
|
36612
36613
|
disabled: nn || wn,
|
|
36613
36614
|
className: "s3-explr-save-btn",
|
|
36614
36615
|
children: nn ? /* @__PURE__ */ P(yt, { children: [
|
|
36615
|
-
/* @__PURE__ */ h(
|
|
36616
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36616
36617
|
"Đang lưu..."
|
|
36617
36618
|
] }) : "Lưu thay đổi"
|
|
36618
36619
|
}
|
|
@@ -36623,7 +36624,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36623
36624
|
disabled: nn || wn,
|
|
36624
36625
|
className: "s3-explr-save-btn",
|
|
36625
36626
|
children: nn ? /* @__PURE__ */ P(yt, { children: [
|
|
36626
|
-
/* @__PURE__ */ h(
|
|
36627
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36627
36628
|
"Đang lưu..."
|
|
36628
36629
|
] }) : "Lưu thay đổi"
|
|
36629
36630
|
}
|
|
@@ -36636,7 +36637,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36636
36637
|
disabled: Me || !ne.trim() || ne.trim() === (te == null ? void 0 : te.name),
|
|
36637
36638
|
className: "s3-explr-rename-btn",
|
|
36638
36639
|
children: Me ? /* @__PURE__ */ P(yt, { children: [
|
|
36639
|
-
/* @__PURE__ */ h(
|
|
36640
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36640
36641
|
"Đang đổi tên..."
|
|
36641
36642
|
] }) : "Đổi tên"
|
|
36642
36643
|
}
|
|
@@ -36656,7 +36657,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36656
36657
|
/* @__PURE__ */ h(jn, { className: "s3-explr-dialog-header", children: /* @__PURE__ */ h(Wn, { className: "s3-explr-dialog-title", children: "Xem tập tin" }) }),
|
|
36657
36658
|
_e && /* @__PURE__ */ P(zm, { value: "view", children: [
|
|
36658
36659
|
/* @__PURE__ */ h(Vf, { className: "grid w-full grid-cols-1 ", children: !_e.isFolder && hs(_e) && /* @__PURE__ */ h(ys, { value: "view", children: "Nội dung" }) }),
|
|
36659
|
-
!_e.isFolder && hs(_e) ? /* @__PURE__ */ h(ma, { value: "view", children: /* @__PURE__ */ h("div", { className: "space-y-4 py-4", children: wn ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ h(
|
|
36660
|
+
!_e.isFolder && hs(_e) ? /* @__PURE__ */ h(ma, { value: "view", children: /* @__PURE__ */ h("div", { className: "space-y-4 py-4", children: wn ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ h(St, { className: "h-6 w-6 animate-spin" }) }) : /* @__PURE__ */ h("div", { className: "overflow-hidden overflow-y-auto pb-3 px-1", children: /* @__PURE__ */ h("div", { className: "rounded-md bg-muted p-4 font-mono text-sm overflow-auto max-h-[60vh] border", children: /* @__PURE__ */ h("pre", { className: "whitespace-pre-wrap break-words", children: kt }) }) }) }) }) : /* @__PURE__ */ h(ma, { value: "view", children: /* @__PURE__ */ h("div", { className: "space-y-4 py-4", children: wn ? /* @__PURE__ */ h("div", { className: "flex items-center justify-center py-4", children: /* @__PURE__ */ h(St, { className: "h-6 w-6 animate-spin" }) }) : /* @__PURE__ */ h("div", { className: "overflow-hidden overflow-y-auto pb-3 px-1", children: /* @__PURE__ */ h("div", { className: "rounded-md bg-muted p-4 font-mono text-sm overflow-auto max-h-[60vh] border", children: /* @__PURE__ */ h("pre", { className: "whitespace-pre-wrap break-words", children: "Định dạng file không xem trực tiếp được, hãy tải file về để xem!" }) }) }) }) })
|
|
36660
36661
|
] }),
|
|
36661
36662
|
/* @__PURE__ */ h(to, { className: "s3-explr-dialog-footer", children: /* @__PURE__ */ h(
|
|
36662
36663
|
ze,
|
|
@@ -36758,7 +36759,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36758
36759
|
}
|
|
36759
36760
|
),
|
|
36760
36761
|
co ? /* @__PURE__ */ h(Ar, { children: /* @__PURE__ */ P("div", { className: "flex items-center gap-2 px-4", children: [
|
|
36761
|
-
/* @__PURE__ */ h(
|
|
36762
|
+
/* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin" }),
|
|
36762
36763
|
/* @__PURE__ */ h("span", { className: "text-sm", children: "Đang tải..." })
|
|
36763
36764
|
] }) }) : Array.from({ length: Yi.totalPages }, (C, R) => {
|
|
36764
36765
|
const M = R + 1, Y = Yi.totalPages;
|
|
@@ -37683,7 +37684,7 @@ function V6(t = {}) {
|
|
|
37683
37684
|
K = Ke(r, F, {}), K._f && (K._f.mount = !1), (e.shouldUnregister || D.shouldUnregister) && !(x6(l.array, F) && s.action) && l.unMount.add(F);
|
|
37684
37685
|
}
|
|
37685
37686
|
};
|
|
37686
|
-
}, _t = () => e.shouldFocusError && rd(r, Ae, l.mount),
|
|
37687
|
+
}, _t = () => e.shouldFocusError && rd(r, Ae, l.mount), kt = (F) => {
|
|
37687
37688
|
Go(F) && (g.state.next({ disabled: F }), rd(r, (D, K) => {
|
|
37688
37689
|
const Te = Ke(r, K);
|
|
37689
37690
|
Te && (D.disabled = Te._f.disabled || F, Array.isArray(Te._f.refs) && Te._f.refs.forEach((xe) => {
|
|
@@ -37825,7 +37826,7 @@ function V6(t = {}) {
|
|
|
37825
37826
|
});
|
|
37826
37827
|
}),
|
|
37827
37828
|
_removeUnmounted: me,
|
|
37828
|
-
_disableForm:
|
|
37829
|
+
_disableForm: kt,
|
|
37829
37830
|
_subjects: g,
|
|
37830
37831
|
_proxyFormState: m,
|
|
37831
37832
|
get _fields() {
|
|
@@ -38190,7 +38191,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38190
38191
|
)
|
|
38191
38192
|
] })
|
|
38192
38193
|
] }),
|
|
38193
|
-
/* @__PURE__ */ h("div", { className: "flex justify-end", children: /* @__PURE__ */ h(ze, { disabled: W, type: "submit", variant: "default", children: W ? /* @__PURE__ */ h(
|
|
38194
|
+
/* @__PURE__ */ h("div", { className: "flex justify-end", children: /* @__PURE__ */ h(ze, { disabled: W, type: "submit", variant: "default", children: W ? /* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin" }) : "Ok" }) })
|
|
38194
38195
|
]
|
|
38195
38196
|
}
|
|
38196
38197
|
)
|
|
@@ -38206,7 +38207,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38206
38207
|
onClick: Re,
|
|
38207
38208
|
disabled: Ae,
|
|
38208
38209
|
className: "w-[70px] px-2 py-0.5 h-7",
|
|
38209
|
-
children: Ae ? /* @__PURE__ */ h(
|
|
38210
|
+
children: Ae ? /* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin" }) : H === "unpublish" ? "Publish" : "Unpublish"
|
|
38210
38211
|
}
|
|
38211
38212
|
)
|
|
38212
38213
|
] });
|
|
@@ -38267,7 +38268,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38267
38268
|
onClick: () => d(q),
|
|
38268
38269
|
isActive: l === q,
|
|
38269
38270
|
className: `cursor-pointer ${r ? "pointer-events-none" : ""}`,
|
|
38270
|
-
children: m === q ? /* @__PURE__ */ h(
|
|
38271
|
+
children: m === q ? /* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin" }) : q
|
|
38271
38272
|
}
|
|
38272
38273
|
) }, q)
|
|
38273
38274
|
] })),
|
|
@@ -38362,7 +38363,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38362
38363
|
/* @__PURE__ */ h(Ko, { children: "Trạng Thái" }),
|
|
38363
38364
|
/* @__PURE__ */ h(Ko, { children: "Thao Tác" })
|
|
38364
38365
|
] }) }),
|
|
38365
|
-
/* @__PURE__ */ h(Nh, { children: l && r.length === 0 ? /* @__PURE__ */ h(To, { children: /* @__PURE__ */ h(Sr, { colSpan: 7, className: "text-center py-4", children: /* @__PURE__ */ h(
|
|
38366
|
+
/* @__PURE__ */ h(Nh, { children: l && r.length === 0 ? /* @__PURE__ */ h(To, { children: /* @__PURE__ */ h(Sr, { colSpan: 7, className: "text-center py-4", children: /* @__PURE__ */ h(St, { className: "w-6 h-6 animate-spin mx-auto" }) }) }) : r.map((A) => {
|
|
38366
38367
|
var $, j;
|
|
38367
38368
|
return /* @__PURE__ */ P(To, { children: [
|
|
38368
38369
|
/* @__PURE__ */ h(Sr, { className: "!w-[100px]", children: A.id }),
|
|
@@ -38393,7 +38394,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38393
38394
|
disabled: m.has(A.id.toString()),
|
|
38394
38395
|
className: "h-[32px]",
|
|
38395
38396
|
children: m.has(A.id.toString()) ? /* @__PURE__ */ P(yt, { children: [
|
|
38396
|
-
/* @__PURE__ */ h(
|
|
38397
|
+
/* @__PURE__ */ h(St, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
38397
38398
|
"Đang thử lại..."
|
|
38398
38399
|
] }) : "Thử Lại"
|
|
38399
38400
|
}
|
|
@@ -38419,7 +38420,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38419
38420
|
onClick: () => n(A),
|
|
38420
38421
|
isActive: e === A,
|
|
38421
38422
|
className: `cursor-pointer ${u !== null ? "pointer-events-none" : ""}`,
|
|
38422
|
-
children: u === A ? /* @__PURE__ */ h(
|
|
38423
|
+
children: u === A ? /* @__PURE__ */ h(St, { className: "h-4 w-4 animate-spin" }) : A
|
|
38423
38424
|
}
|
|
38424
38425
|
) }, A)
|
|
38425
38426
|
] })),
|