dccxx-s3-explorer 1.0.117 → 1.0.118
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 +150 -151
- package/dist/s3-explorer.js.map +1 -1
- package/dist/s3-explorer.umd.cjs +9 -9
- package/dist/s3-explorer.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/s3-explorer.js
CHANGED
|
@@ -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 At {
|
|
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 = At.canonicalizeUri(e));
|
|
1000
1000
|
}
|
|
1001
1001
|
/**
|
|
1002
1002
|
* Ensure urls are lower case and end with a / character.
|
|
@@ -1037,7 +1037,7 @@ class It {
|
|
|
1037
1037
|
* @param url
|
|
1038
1038
|
*/
|
|
1039
1039
|
static removeHashFromUrl(e) {
|
|
1040
|
-
return
|
|
1040
|
+
return At.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 It {
|
|
|
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), At.constructAuthorityUriFromObject(n);
|
|
1050
1050
|
}
|
|
1051
1051
|
/**
|
|
1052
1052
|
* Parses out the components from a url string.
|
|
@@ -1073,13 +1073,13 @@ class It {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
static getAbsoluteUrl(e, n) {
|
|
1075
1075
|
if (e[0] === we.FORWARD_SLASH) {
|
|
1076
|
-
const o = new
|
|
1076
|
+
const o = new At(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 At(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 At(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 || [];
|
|
@@ -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 At(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 At(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 At(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 At(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 && At.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 At(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 = At.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 At(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 At(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 At(s) : void 0, m = p == null ? void 0 : p.getUrlComponents();
|
|
3641
3641
|
return this.cryptoUtils.signJwt({
|
|
3642
3642
|
at: e,
|
|
3643
3643
|
ts: hr(),
|
|
@@ -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 At.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 = At.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 {
|
|
@@ -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 = At.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
|
/**
|
|
@@ -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 At.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 At(window.location.href).getUrlComponents();
|
|
4864
4864
|
return `${e.Protocol}//${e.HostNameAndPort}/`;
|
|
4865
4865
|
}
|
|
4866
4866
|
function q2() {
|
|
4867
|
-
if (
|
|
4867
|
+
if (At.hashContainsKnownProperties(window.location.hash) && yy())
|
|
4868
4868
|
throw $e(nT);
|
|
4869
4869
|
}
|
|
4870
4870
|
function Y2(t) {
|
|
@@ -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 At.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(At.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;
|
|
@@ -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 = At.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 = At.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri, Pi())) : (this.logger.verbose("Setting postLogoutRedirectUri to current page", n.correlationId), n.postLogoutRedirectUri = At.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
|
|
@@ -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 At(n);
|
|
7772
7772
|
return r.validateAsUri(), r;
|
|
7773
7773
|
}
|
|
7774
7774
|
getPrompt(e) {
|
|
@@ -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 = At.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 = At.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 At.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]", 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",
|
|
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", St = "\\ufe20-\\ufe2f", sl = "\\u20d0-\\u20ff", op = rp + St + 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, It = "(?:" + [pl + oi + "?", oi, Ba, zs, fl].join("|") + ")", Ks = RegExp(Gr, "g"), sp = RegExp(oi, "g"), Ga = RegExp(hl + "(?=" + hl + ")|" + It + 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,
|
|
@@ -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, Rt = Do && !0 && t && !t.nodeType && t, dp = Rt && Rt.exports === Do, vr = dp && js.process, En = function() {
|
|
14661
14661
|
try {
|
|
14662
|
-
var X =
|
|
14662
|
+
var X = Rt && Rt.require && Rt.require("util").types;
|
|
14663
14663
|
return X || vr && vr.binding && vr.binding("util");
|
|
14664
14664
|
} catch {
|
|
14665
14665
|
}
|
|
@@ -14935,11 +14935,11 @@ 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, 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,
|
|
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, Et = 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
14941
|
}(), $o = Zi.toString, Tp = ic.call(Nt), fi = ln._, Sp = _l(
|
|
14942
|
-
"^" + ic.call(
|
|
14942
|
+
"^" + ic.call(Et).replace(il, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
14943
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
14945
|
var a = ls(Nt, "defineProperty");
|
|
@@ -14951,7 +14951,7 @@ Hf.exports;
|
|
|
14951
14951
|
if (an(a) && !lt(a) && !(a instanceof bt)) {
|
|
14952
14952
|
if (a instanceof Yr)
|
|
14953
14953
|
return a;
|
|
14954
|
-
if (
|
|
14954
|
+
if (Et.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 Et.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 : Et.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 || Et.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
|
+
(!(Et.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--; )
|
|
@@ -15388,7 +15388,7 @@ Hf.exports;
|
|
|
15388
15388
|
return a > c;
|
|
15389
15389
|
}
|
|
15390
15390
|
function ZR(a, c) {
|
|
15391
|
-
return a != null &&
|
|
15391
|
+
return a != null && Et.call(a, c);
|
|
15392
15392
|
}
|
|
15393
15393
|
function ek(a, c) {
|
|
15394
15394
|
return a != null && c in Nt(a);
|
|
@@ -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 && Et.call(a, "__wrapped__"), tt = Ee && Et.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);
|
|
@@ -15510,7 +15510,7 @@ Hf.exports;
|
|
|
15510
15510
|
return Uo(a);
|
|
15511
15511
|
var c = [];
|
|
15512
15512
|
for (var f in Nt(a))
|
|
15513
|
-
|
|
15513
|
+
Et.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 || !Et.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__" && !Et.call(a, "__proto__") || (T === "constructor" || T === "prototype") && f < v - 1)
|
|
15773
15773
|
return !1;
|
|
15774
15774
|
}
|
|
15775
15775
|
var N = yb(a, c);
|
|
@@ -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]) && !Et.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;
|
|
@@ -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 : Et.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 = Et.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 = Et.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 = Et.call(a, pi), f = a[pi];
|
|
16355
16355
|
try {
|
|
16356
16356
|
a[pi] = n;
|
|
16357
16357
|
var v = !0;
|
|
@@ -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" && Et.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)) : {};
|
|
@@ -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
|
+
Et.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
|
+
Et.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;
|
|
@@ -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) && Et.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);
|
|
@@ -17299,7 +17299,7 @@ Hf.exports;
|
|
|
17299
17299
|
if (Pl(a))
|
|
17300
17300
|
return !Mp(a).length;
|
|
17301
17301
|
for (var f in a)
|
|
17302
|
-
if (
|
|
17302
|
+
if (Et.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 = Et.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;
|
|
@@ -17452,7 +17452,7 @@ Hf.exports;
|
|
|
17452
17452
|
return;
|
|
17453
17453
|
}
|
|
17454
17454
|
for (var f in c)
|
|
17455
|
-
|
|
17455
|
+
Et.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) {
|
|
@@ -17470,7 +17470,7 @@ Hf.exports;
|
|
|
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]) && !Et.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)), Et.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);
|
|
@@ -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=" + (Et.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 = Et.call(c, "variable") && c.variable;
|
|
17717
17717
|
if (!tt)
|
|
17718
17718
|
Ee = `with (obj) {
|
|
17719
17719
|
` + Ee + `
|
|
@@ -17969,7 +17969,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
17969
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
|
+
Et.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
|
+
Et.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
|
+
Rt ? ((Rt.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 Tt = cn("LoaderCircle", [
|
|
18300
18300
|
["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]
|
|
18301
18301
|
]);
|
|
18302
18302
|
/**
|
|
@@ -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(Tt, { 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(Tt, { 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(Tt, { 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(Tt, { 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(Tt, { 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" }),
|
|
@@ -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(Tt, { 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(Tt, { 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(Tt, { 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(Tt, { 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(Tt, { className: "h-4 w-4 animate-spin" }) : "Lưu thay đổi"
|
|
32661
32661
|
}
|
|
32662
32662
|
)
|
|
32663
32663
|
] })
|
|
@@ -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 [St, 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([]), [It, 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,
|
|
@@ -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(), Rt = (() => {
|
|
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 = (Rt == null ? void 0 : Rt.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
|
+
(It == null ? void 0 : It.hostname) || "",
|
|
33167
|
+
(It == null ? void 0 : It.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: (It == null ? void 0 : It.hostname) || "",
|
|
33185
|
+
sitePath: (It == null ? void 0 : It.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 = Rt == null ? void 0 : Rt.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 = Rt == null ? void 0 : Rt.id, U = (await Le.post(`${e}/api/list-file-one-drive`, {
|
|
33365
33365
|
folderId: C,
|
|
33366
33366
|
userId: M
|
|
33367
33367
|
})).data.map(
|
|
@@ -33762,7 +33762,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
33762
33762
|
{ position: "bottom-right" }
|
|
33763
33763
|
);
|
|
33764
33764
|
}
|
|
33765
|
-
},
|
|
33765
|
+
}, Et = 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 (Rt != null && Rt.id && _n.append(
|
|
33907
33907
|
"metadata",
|
|
33908
33908
|
JSON.stringify({
|
|
33909
|
-
creator:
|
|
33910
|
-
creatorId:
|
|
33909
|
+
creator: Rt.username,
|
|
33910
|
+
creatorId: Rt.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
|
+
...(Rt == null ? void 0 : Rt.role) !== "MASTER_ADMIN" && (Rt == null ? void 0 : Rt.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(Tt, { 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
|
+
St && /* @__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 ${St.status === "COMPLETE" ? "text-green-600" : St.status === "FAILED" ? "text-red-600" : "text-yellow-600"}`,
|
|
34815
34815
|
children: [
|
|
34816
|
-
|
|
34816
|
+
St.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
|
+
St.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
|
+
St.status !== "COMPLETE" && St.status !== "FAILED" && St.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(St.status)
|
|
34874
34874
|
]
|
|
34875
34875
|
}
|
|
34876
34876
|
)
|
|
34877
34877
|
] }) }),
|
|
34878
|
-
|
|
34878
|
+
St.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: St.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: St.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: St.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: St.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: St.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: St.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: St.statistics.numberOfDocumentsFailed })
|
|
34908
34908
|
] })
|
|
34909
34909
|
] })
|
|
34910
34910
|
] }),
|
|
@@ -34913,58 +34913,57 @@ 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
|
+
St.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
|
+
St.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
|
+
St.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
|
+
St.node ? /* @__PURE__ */ h("span", { className: "text-gray-100", children: St.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
|
+
St.index_name ? /* @__PURE__ */ h("span", { className: "text-gray-100", children: St.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
|
+
St.is_still_in_stock ? "Còn" : "Không"
|
|
34942
34942
|
] })
|
|
34943
34943
|
] }),
|
|
34944
|
-
|
|
34944
|
+
St.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: St.errorMessage })
|
|
34947
34947
|
] }),
|
|
34948
|
-
|
|
34948
|
+
St.failureReasons && St.failureReasons.length > 0 && /* @__PURE__ */ h(
|
|
34949
34949
|
TK,
|
|
34950
34950
|
{
|
|
34951
|
-
failureReasons:
|
|
34951
|
+
failureReasons: St.failureReasons,
|
|
34952
34952
|
onNavigateToFile: Sp
|
|
34953
34953
|
}
|
|
34954
34954
|
)
|
|
34955
34955
|
] }) })
|
|
34956
34956
|
] }) }),
|
|
34957
|
-
// canEditDocument((fileSystem as any)?.prefixPermission)
|
|
34957
|
+
// canEditDocument((fileSystem as any)?.prefixPermission)
|
|
34958
34958
|
// && (
|
|
34959
|
-
/* @__PURE__ */ P("div", { className: "relative", ref: ln, children: [
|
|
34959
|
+
`${Rt == null ? void 0 : Rt.role}`.toUpperCase() !== "USER" && /* @__PURE__ */ P("div", { className: "relative", ref: ln, children: [
|
|
34960
34960
|
/* @__PURE__ */ P(
|
|
34961
34961
|
ze,
|
|
34962
34962
|
{
|
|
34963
34963
|
variant: "outline",
|
|
34964
34964
|
size: "sm",
|
|
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
|
|
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",
|
|
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 === "/"),
|
|
34968
34967
|
children: [
|
|
34969
34968
|
/* @__PURE__ */ h(vF, { className: "w-4 h-4" }),
|
|
34970
34969
|
"Add file"
|
|
@@ -35264,7 +35263,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35264
35263
|
disabled: V,
|
|
35265
35264
|
className: "s3-explr-confirm-delete-btn",
|
|
35266
35265
|
children: V ? /* @__PURE__ */ P(yt, { children: [
|
|
35267
|
-
/* @__PURE__ */ h(
|
|
35266
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35268
35267
|
"Đang xóa..."
|
|
35269
35268
|
] }) : "Xóa đã chọn"
|
|
35270
35269
|
}
|
|
@@ -35300,7 +35299,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35300
35299
|
disabled: q,
|
|
35301
35300
|
className: "s3-explr-create-btn",
|
|
35302
35301
|
children: [
|
|
35303
|
-
q && /* @__PURE__ */ h(
|
|
35302
|
+
q && /* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35304
35303
|
q ? "Đang tạo..." : "Tạo"
|
|
35305
35304
|
]
|
|
35306
35305
|
}
|
|
@@ -35320,7 +35319,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35320
35319
|
C.target.closest(".stop-icon-wrapper") ? (C.stopPropagation(), os()) : Gi(!0);
|
|
35321
35320
|
},
|
|
35322
35321
|
children: [
|
|
35323
|
-
/* @__PURE__ */ h(
|
|
35322
|
+
/* @__PURE__ */ h(Tt, { className: "h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35324
35323
|
(() => {
|
|
35325
35324
|
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;
|
|
35326
35325
|
let z = "Đang xử lý";
|
|
@@ -35446,7 +35445,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35446
35445
|
),
|
|
35447
35446
|
Ve ? /* @__PURE__ */ h(rr, { delayDuration: 0, children: /* @__PURE__ */ P(or, { children: [
|
|
35448
35447
|
/* @__PURE__ */ h(ir, { asChild: !0, children: /* @__PURE__ */ h("span", { children: /* @__PURE__ */ P(ze, { disabled: !0, className: "s3-explr-crawl-btn", children: [
|
|
35449
|
-
/* @__PURE__ */ h(
|
|
35448
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35450
35449
|
"Đang thu thập..."
|
|
35451
35450
|
] }) }) }),
|
|
35452
35451
|
/* @__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." })
|
|
@@ -35463,7 +35462,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35463
35462
|
disabled: Be || !D.trim(),
|
|
35464
35463
|
className: "s3-explr-crawl-btn",
|
|
35465
35464
|
children: Be ? /* @__PURE__ */ P(yt, { children: [
|
|
35466
|
-
/* @__PURE__ */ h(
|
|
35465
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35467
35466
|
"Đang thu thập..."
|
|
35468
35467
|
] }) : "Bắt đầu thu thập"
|
|
35469
35468
|
}
|
|
@@ -35632,7 +35631,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35632
35631
|
),
|
|
35633
35632
|
Ve ? /* @__PURE__ */ h(rr, { delayDuration: 0, children: /* @__PURE__ */ P(or, { children: [
|
|
35634
35633
|
/* @__PURE__ */ h(ir, { asChild: !0, children: /* @__PURE__ */ h("span", { children: /* @__PURE__ */ P(ze, { disabled: !0, className: "s3-explr-crawl-btn", children: [
|
|
35635
|
-
/* @__PURE__ */ h(
|
|
35634
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35636
35635
|
"Đang thu thập..."
|
|
35637
35636
|
] }) }) }),
|
|
35638
35637
|
/* @__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." })
|
|
@@ -35649,7 +35648,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
35649
35648
|
disabled: Be || !D.trim(),
|
|
35650
35649
|
className: "s3-explr-crawl-btn",
|
|
35651
35650
|
children: Be ? /* @__PURE__ */ P(yt, { children: [
|
|
35652
|
-
/* @__PURE__ */ h(
|
|
35651
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
35653
35652
|
"Đang thu thập..."
|
|
35654
35653
|
] }) : "Bắt đầu thu thập"
|
|
35655
35654
|
}
|
|
@@ -36013,7 +36012,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36013
36012
|
/* @__PURE__ */ h(
|
|
36014
36013
|
ze,
|
|
36015
36014
|
{
|
|
36016
|
-
onClick:
|
|
36015
|
+
onClick: Et,
|
|
36017
36016
|
disabled: qs || Un || dt == null,
|
|
36018
36017
|
className: "bg-[#1682fe] hover:bg-[#0f6cd4] text-white rounded-md px-4 py-2 transition-colors",
|
|
36019
36018
|
children: qs ? "Đang đồng bộ..." : "Đồng bộ + bật tự động cho thư mục này"
|
|
@@ -36179,7 +36178,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36179
36178
|
}
|
|
36180
36179
|
) }),
|
|
36181
36180
|
/* @__PURE__ */ P("div", { className: "flex items-center gap-2", children: [
|
|
36182
|
-
|
|
36181
|
+
It && /* @__PURE__ */ h(
|
|
36183
36182
|
"button",
|
|
36184
36183
|
{
|
|
36185
36184
|
onClick: () => Ks(null),
|
|
@@ -36203,7 +36202,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36203
36202
|
),
|
|
36204
36203
|
/* @__PURE__ */ h("h2", { className: "text-lg font-semibold", children: "My SharePoint" })
|
|
36205
36204
|
] }),
|
|
36206
|
-
|
|
36205
|
+
It && /* @__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: [
|
|
36207
36206
|
R > 0 && /* @__PURE__ */ h(Wl, { className: "sharepoint-breadcrumb-separator" }),
|
|
36208
36207
|
/* @__PURE__ */ h(Ac, { className: "sharepoint-breadcrumb-item", children: /* @__PURE__ */ h(
|
|
36209
36208
|
Ic,
|
|
@@ -36215,7 +36214,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36215
36214
|
) })
|
|
36216
36215
|
] }, R)) }) })
|
|
36217
36216
|
] }),
|
|
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." }) :
|
|
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." }) : It ? [...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) => {
|
|
36219
36218
|
const R = hp(
|
|
36220
36219
|
C,
|
|
36221
36220
|
ai,
|
|
@@ -36243,8 +36242,8 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36243
36242
|
onClick: () => Za(
|
|
36244
36243
|
C.id,
|
|
36245
36244
|
C.name,
|
|
36246
|
-
(
|
|
36247
|
-
(
|
|
36245
|
+
(It == null ? void 0 : It.hostname) || "",
|
|
36246
|
+
(It == null ? void 0 : It.sitePath) || ""
|
|
36248
36247
|
)
|
|
36249
36248
|
}
|
|
36250
36249
|
) : /* @__PURE__ */ h(Sg, { className: "text-gray-500 w-5 h-5" }),
|
|
@@ -36257,8 +36256,8 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36257
36256
|
C.isFolder && Za(
|
|
36258
36257
|
C.id,
|
|
36259
36258
|
C.name,
|
|
36260
|
-
(
|
|
36261
|
-
(
|
|
36259
|
+
(It == null ? void 0 : It.hostname) || "",
|
|
36260
|
+
(It == null ? void 0 : It.sitePath) || ""
|
|
36262
36261
|
);
|
|
36263
36262
|
},
|
|
36264
36263
|
children: C.name
|
|
@@ -36307,7 +36306,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36307
36306
|
},
|
|
36308
36307
|
C.id
|
|
36309
36308
|
)) }) }),
|
|
36310
|
-
/* @__PURE__ */ h("div", { className: "mt-4 flex flex-wrap justify-end gap-2", children:
|
|
36309
|
+
/* @__PURE__ */ h("div", { className: "mt-4 flex flex-wrap justify-end gap-2", children: It && /* @__PURE__ */ P(yt, { children: [
|
|
36311
36310
|
/* @__PURE__ */ h(
|
|
36312
36311
|
ze,
|
|
36313
36312
|
{
|
|
@@ -36325,7 +36324,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36325
36324
|
),
|
|
36326
36325
|
/* @__PURE__ */ h(ze, { onClick: () => Ks(null), children: "Quay lại" })
|
|
36327
36326
|
] }) }),
|
|
36328
|
-
|
|
36327
|
+
It && /* @__PURE__ */ P(
|
|
36329
36328
|
"button",
|
|
36330
36329
|
{
|
|
36331
36330
|
onClick: () => vl((C) => !C),
|
|
@@ -36414,7 +36413,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36414
36413
|
" "
|
|
36415
36414
|
] }) }),
|
|
36416
36415
|
/* @__PURE__ */ h(Ni, { className: "s3-explr-dialog-description", children: ep ? /* @__PURE__ */ P("div", { className: "flex items-center justify-center py-4", children: [
|
|
36417
|
-
/* @__PURE__ */ h(
|
|
36416
|
+
/* @__PURE__ */ h(Tt, { className: "h-6 w-6 animate-spin" }),
|
|
36418
36417
|
/* @__PURE__ */ h("span", { className: "ml-2", children: "Đang tải thông tin flows..." })
|
|
36419
36418
|
] }) : /* @__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: [
|
|
36420
36419
|
/* @__PURE__ */ h("thead", { children: /* @__PURE__ */ P("tr", { className: "bg-gray-100", children: [
|
|
@@ -36468,7 +36467,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36468
36467
|
disabled: gr,
|
|
36469
36468
|
className: "s3-explr-confirm-delete-btn",
|
|
36470
36469
|
children: gr ? /* @__PURE__ */ P(yt, { children: [
|
|
36471
|
-
/* @__PURE__ */ h(
|
|
36470
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36472
36471
|
"Đang xóa..."
|
|
36473
36472
|
] }) : "Xóa"
|
|
36474
36473
|
}
|
|
@@ -36520,7 +36519,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36520
36519
|
)
|
|
36521
36520
|
] }) }) }),
|
|
36522
36521
|
!te.isFolder && /* @__PURE__ */ P(yt, { children: [
|
|
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(
|
|
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(Tt, { 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: [
|
|
36524
36523
|
/* @__PURE__ */ h(
|
|
36525
36524
|
Tr,
|
|
36526
36525
|
{
|
|
@@ -36544,7 +36543,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36544
36543
|
}
|
|
36545
36544
|
)
|
|
36546
36545
|
] }) }) }),
|
|
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(
|
|
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(Tt, { 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: [
|
|
36548
36547
|
/* @__PURE__ */ P(
|
|
36549
36548
|
Tr,
|
|
36550
36549
|
{
|
|
@@ -36613,7 +36612,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36613
36612
|
disabled: nn || wn,
|
|
36614
36613
|
className: "s3-explr-save-btn",
|
|
36615
36614
|
children: nn ? /* @__PURE__ */ P(yt, { children: [
|
|
36616
|
-
/* @__PURE__ */ h(
|
|
36615
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36617
36616
|
"Đang lưu..."
|
|
36618
36617
|
] }) : "Lưu thay đổi"
|
|
36619
36618
|
}
|
|
@@ -36624,7 +36623,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36624
36623
|
disabled: nn || wn,
|
|
36625
36624
|
className: "s3-explr-save-btn",
|
|
36626
36625
|
children: nn ? /* @__PURE__ */ P(yt, { children: [
|
|
36627
|
-
/* @__PURE__ */ h(
|
|
36626
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36628
36627
|
"Đang lưu..."
|
|
36629
36628
|
] }) : "Lưu thay đổi"
|
|
36630
36629
|
}
|
|
@@ -36637,7 +36636,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36637
36636
|
disabled: Me || !ne.trim() || ne.trim() === (te == null ? void 0 : te.name),
|
|
36638
36637
|
className: "s3-explr-rename-btn",
|
|
36639
36638
|
children: Me ? /* @__PURE__ */ P(yt, { children: [
|
|
36640
|
-
/* @__PURE__ */ h(
|
|
36639
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin s3-explr-loader" }),
|
|
36641
36640
|
"Đang đổi tên..."
|
|
36642
36641
|
] }) : "Đổi tên"
|
|
36643
36642
|
}
|
|
@@ -36657,7 +36656,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36657
36656
|
/* @__PURE__ */ h(jn, { className: "s3-explr-dialog-header", children: /* @__PURE__ */ h(Wn, { className: "s3-explr-dialog-title", children: "Xem tập tin" }) }),
|
|
36658
36657
|
_e && /* @__PURE__ */ P(zm, { value: "view", children: [
|
|
36659
36658
|
/* @__PURE__ */ h(Vf, { className: "grid w-full grid-cols-1 ", children: !_e.isFolder && hs(_e) && /* @__PURE__ */ h(ys, { value: "view", children: "Nội dung" }) }),
|
|
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(
|
|
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(Tt, { 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(Tt, { 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!" }) }) }) }) })
|
|
36661
36660
|
] }),
|
|
36662
36661
|
/* @__PURE__ */ h(to, { className: "s3-explr-dialog-footer", children: /* @__PURE__ */ h(
|
|
36663
36662
|
ze,
|
|
@@ -36759,7 +36758,7 @@ const d6 = {}, u6 = "AIzaSyDCtiG2RJwhgbsW_nsFd-XGm3GzuL_eYhQ", y0 = "34576445787
|
|
|
36759
36758
|
}
|
|
36760
36759
|
),
|
|
36761
36760
|
co ? /* @__PURE__ */ h(Ar, { children: /* @__PURE__ */ P("div", { className: "flex items-center gap-2 px-4", children: [
|
|
36762
|
-
/* @__PURE__ */ h(
|
|
36761
|
+
/* @__PURE__ */ h(Tt, { className: "h-4 w-4 animate-spin" }),
|
|
36763
36762
|
/* @__PURE__ */ h("span", { className: "text-sm", children: "Đang tải..." })
|
|
36764
36763
|
] }) }) : Array.from({ length: Yi.totalPages }, (C, R) => {
|
|
36765
36764
|
const M = R + 1, Y = Yi.totalPages;
|
|
@@ -38191,7 +38190,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38191
38190
|
)
|
|
38192
38191
|
] })
|
|
38193
38192
|
] }),
|
|
38194
|
-
/* @__PURE__ */ h("div", { className: "flex justify-end", children: /* @__PURE__ */ h(ze, { disabled: W, type: "submit", variant: "default", children: W ? /* @__PURE__ */ h(
|
|
38193
|
+
/* @__PURE__ */ h("div", { className: "flex justify-end", children: /* @__PURE__ */ h(ze, { disabled: W, type: "submit", variant: "default", children: W ? /* @__PURE__ */ h(Tt, { className: "h-4 w-4 animate-spin" }) : "Ok" }) })
|
|
38195
38194
|
]
|
|
38196
38195
|
}
|
|
38197
38196
|
)
|
|
@@ -38207,7 +38206,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38207
38206
|
onClick: Re,
|
|
38208
38207
|
disabled: Ae,
|
|
38209
38208
|
className: "w-[70px] px-2 py-0.5 h-7",
|
|
38210
|
-
children: Ae ? /* @__PURE__ */ h(
|
|
38209
|
+
children: Ae ? /* @__PURE__ */ h(Tt, { className: "h-4 w-4 animate-spin" }) : H === "unpublish" ? "Publish" : "Unpublish"
|
|
38211
38210
|
}
|
|
38212
38211
|
)
|
|
38213
38212
|
] });
|
|
@@ -38268,7 +38267,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38268
38267
|
onClick: () => d(q),
|
|
38269
38268
|
isActive: l === q,
|
|
38270
38269
|
className: `cursor-pointer ${r ? "pointer-events-none" : ""}`,
|
|
38271
|
-
children: m === q ? /* @__PURE__ */ h(
|
|
38270
|
+
children: m === q ? /* @__PURE__ */ h(Tt, { className: "h-4 w-4 animate-spin" }) : q
|
|
38272
38271
|
}
|
|
38273
38272
|
) }, q)
|
|
38274
38273
|
] })),
|
|
@@ -38363,7 +38362,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38363
38362
|
/* @__PURE__ */ h(Ko, { children: "Trạng Thái" }),
|
|
38364
38363
|
/* @__PURE__ */ h(Ko, { children: "Thao Tác" })
|
|
38365
38364
|
] }) }),
|
|
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(
|
|
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(Tt, { className: "w-6 h-6 animate-spin mx-auto" }) }) }) : r.map((A) => {
|
|
38367
38366
|
var $, j;
|
|
38368
38367
|
return /* @__PURE__ */ P(To, { children: [
|
|
38369
38368
|
/* @__PURE__ */ h(Sr, { className: "!w-[100px]", children: A.id }),
|
|
@@ -38394,7 +38393,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38394
38393
|
disabled: m.has(A.id.toString()),
|
|
38395
38394
|
className: "h-[32px]",
|
|
38396
38395
|
children: m.has(A.id.toString()) ? /* @__PURE__ */ P(yt, { children: [
|
|
38397
|
-
/* @__PURE__ */ h(
|
|
38396
|
+
/* @__PURE__ */ h(Tt, { className: "mr-2 h-4 w-4 animate-spin" }),
|
|
38398
38397
|
"Đang thử lại..."
|
|
38399
38398
|
] }) : "Thử Lại"
|
|
38400
38399
|
}
|
|
@@ -38420,7 +38419,7 @@ const bR = ({ className: t, children: e, content: n, side: r }) => {
|
|
|
38420
38419
|
onClick: () => n(A),
|
|
38421
38420
|
isActive: e === A,
|
|
38422
38421
|
className: `cursor-pointer ${u !== null ? "pointer-events-none" : ""}`,
|
|
38423
|
-
children: u === A ? /* @__PURE__ */ h(
|
|
38422
|
+
children: u === A ? /* @__PURE__ */ h(Tt, { className: "h-4 w-4 animate-spin" }) : A
|
|
38424
38423
|
}
|
|
38425
38424
|
) }, A)
|
|
38426
38425
|
] })),
|