my-header-yichong 3.7.1 → 3.7.2
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/my-header.js +870 -846
- package/my-header.umd.cjs +15 -15
- package/package.json +1 -1
- package/style.css +1 -1
package/my-header.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { unref as w, getCurrentScope as Ra, onScopeDispose as La, ref as I, readonly as Fa, getCurrentInstance as De, onMounted as te, nextTick as Ge, watch as Z, defineComponent as B, openBlock as
|
|
1
|
+
import { unref as w, getCurrentScope as Ra, onScopeDispose as La, ref as I, readonly as Fa, getCurrentInstance as De, onMounted as te, nextTick as Ge, watch as Z, defineComponent as B, openBlock as T, createElementBlock as R, createElementVNode as m, warn as Xl, isVNode as lo, inject as Y, computed as C, isRef as kt, shallowRef as Cr, onBeforeUnmount as Ze, onBeforeMount as Ql, provide as se, renderSlot as ee, mergeProps as Xt, normalizeClass as ae, normalizeStyle as An, withDirectives as qe, cloneVNode as ja, Fragment as re, Text as ec, Comment as tc, createVNode as ne, createBlock as X, withCtx as W, createCommentVNode as L, toRef as rt, Teleport as co, Transition as It, vShow as Qt, onDeactivated as nc, toDisplayString as Q, resolveDynamicComponent as Tr, toHandlers as oc, reactive as en, h as V, watchEffect as Me, resolveComponent as rc, createTextVNode as ce, createApp as sc, toRefs as rr, shallowReactive as ac, withModifiers as uo, render as vs, onUnmounted as je, vModelText as Do, pushScopeId as tn, popScopeId as nn, hasInjectionContext as ic, markRaw as vn, effectScope as lc, isReactive as Or, toRaw as cc, renderList as Ve } from "vue";
|
|
2
2
|
function Da(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
@@ -312,8 +312,8 @@ function So(e, t, n) {
|
|
|
312
312
|
metaTokens: !0,
|
|
313
313
|
dots: !1,
|
|
314
314
|
indexes: !1
|
|
315
|
-
}, !1, function(
|
|
316
|
-
return !E.isUndefined(
|
|
315
|
+
}, !1, function(h, v) {
|
|
316
|
+
return !E.isUndefined(v[h]);
|
|
317
317
|
});
|
|
318
318
|
const o = n.metaTokens, r = n.visitor || u, s = n.dots, a = n.indexes, c = (n.Blob || typeof Blob < "u" && Blob) && E.isSpecCompliantForm(t);
|
|
319
319
|
if (!E.isFunction(r))
|
|
@@ -327,39 +327,39 @@ function So(e, t, n) {
|
|
|
327
327
|
throw new G("Blob is not supported. Use a Buffer instead.");
|
|
328
328
|
return E.isArrayBuffer(p) || E.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
329
329
|
}
|
|
330
|
-
function u(p,
|
|
331
|
-
let
|
|
332
|
-
if (p && !
|
|
333
|
-
if (E.endsWith(
|
|
334
|
-
|
|
335
|
-
else if (E.isArray(p) && Zc(p) || (E.isFileList(p) || E.endsWith(
|
|
336
|
-
return
|
|
330
|
+
function u(p, h, v) {
|
|
331
|
+
let b = p;
|
|
332
|
+
if (p && !v && typeof p == "object") {
|
|
333
|
+
if (E.endsWith(h, "{}"))
|
|
334
|
+
h = o ? h : h.slice(0, -2), p = JSON.stringify(p);
|
|
335
|
+
else if (E.isArray(p) && Zc(p) || (E.isFileList(p) || E.endsWith(h, "[]")) && (b = E.toArray(p)))
|
|
336
|
+
return h = Ja(h), b.forEach(function(P, $) {
|
|
337
337
|
!(E.isUndefined(P) || P === null) && t.append(
|
|
338
338
|
// eslint-disable-next-line no-nested-ternary
|
|
339
|
-
a === !0 ? _s([
|
|
339
|
+
a === !0 ? _s([h], $, s) : a === null ? h : h + "[]",
|
|
340
340
|
l(P)
|
|
341
341
|
);
|
|
342
342
|
}), !1;
|
|
343
343
|
}
|
|
344
|
-
return ar(p) ? !0 : (t.append(_s(
|
|
344
|
+
return ar(p) ? !0 : (t.append(_s(v, h, s), l(p)), !1);
|
|
345
345
|
}
|
|
346
346
|
const d = [], f = Object.assign(Yc, {
|
|
347
347
|
defaultVisitor: u,
|
|
348
348
|
convertValue: l,
|
|
349
349
|
isVisitable: ar
|
|
350
350
|
});
|
|
351
|
-
function g(p,
|
|
351
|
+
function g(p, h) {
|
|
352
352
|
if (!E.isUndefined(p)) {
|
|
353
353
|
if (d.indexOf(p) !== -1)
|
|
354
|
-
throw Error("Circular reference detected in " +
|
|
355
|
-
d.push(p), E.forEach(p, function(
|
|
356
|
-
(!(E.isUndefined(
|
|
354
|
+
throw Error("Circular reference detected in " + h.join("."));
|
|
355
|
+
d.push(p), E.forEach(p, function(b, S) {
|
|
356
|
+
(!(E.isUndefined(b) || b === null) && r.call(
|
|
357
357
|
t,
|
|
358
|
-
|
|
358
|
+
b,
|
|
359
359
|
E.isString(S) ? S.trim() : S,
|
|
360
|
-
|
|
360
|
+
h,
|
|
361
361
|
f
|
|
362
|
-
)) === !0 && g(
|
|
362
|
+
)) === !0 && g(b, h ? h.concat(S) : [S]);
|
|
363
363
|
}), d.pop();
|
|
364
364
|
}
|
|
365
365
|
}
|
|
@@ -1017,56 +1017,56 @@ const oi = (e) => {
|
|
|
1017
1017
|
let s = r.data;
|
|
1018
1018
|
const a = Fe.from(r.headers).normalize();
|
|
1019
1019
|
let { responseType: i, onUploadProgress: c, onDownloadProgress: l } = r, u, d, f, g, p;
|
|
1020
|
-
function
|
|
1020
|
+
function h() {
|
|
1021
1021
|
g && g(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
|
|
1022
1022
|
}
|
|
1023
|
-
let
|
|
1024
|
-
|
|
1025
|
-
function
|
|
1026
|
-
if (!
|
|
1023
|
+
let v = new XMLHttpRequest();
|
|
1024
|
+
v.open(r.method.toUpperCase(), r.url, !0), v.timeout = r.timeout;
|
|
1025
|
+
function b() {
|
|
1026
|
+
if (!v)
|
|
1027
1027
|
return;
|
|
1028
1028
|
const P = Fe.from(
|
|
1029
|
-
"getAllResponseHeaders" in
|
|
1030
|
-
),
|
|
1031
|
-
data: !i || i === "text" || i === "json" ?
|
|
1032
|
-
status:
|
|
1033
|
-
statusText:
|
|
1029
|
+
"getAllResponseHeaders" in v && v.getAllResponseHeaders()
|
|
1030
|
+
), O = {
|
|
1031
|
+
data: !i || i === "text" || i === "json" ? v.responseText : v.response,
|
|
1032
|
+
status: v.status,
|
|
1033
|
+
statusText: v.statusText,
|
|
1034
1034
|
headers: P,
|
|
1035
1035
|
config: e,
|
|
1036
|
-
request:
|
|
1036
|
+
request: v
|
|
1037
1037
|
};
|
|
1038
1038
|
ti(function(y) {
|
|
1039
|
-
n(y),
|
|
1039
|
+
n(y), h();
|
|
1040
1040
|
}, function(y) {
|
|
1041
|
-
o(y),
|
|
1042
|
-
},
|
|
1041
|
+
o(y), h();
|
|
1042
|
+
}, O), v = null;
|
|
1043
1043
|
}
|
|
1044
|
-
"onloadend" in
|
|
1045
|
-
!
|
|
1046
|
-
},
|
|
1047
|
-
|
|
1048
|
-
},
|
|
1049
|
-
o(new G("Network Error", G.ERR_NETWORK, e,
|
|
1050
|
-
},
|
|
1044
|
+
"onloadend" in v ? v.onloadend = b : v.onreadystatechange = function() {
|
|
1045
|
+
!v || v.readyState !== 4 || v.status === 0 && !(v.responseURL && v.responseURL.indexOf("file:") === 0) || setTimeout(b);
|
|
1046
|
+
}, v.onabort = function() {
|
|
1047
|
+
v && (o(new G("Request aborted", G.ECONNABORTED, e, v)), v = null);
|
|
1048
|
+
}, v.onerror = function() {
|
|
1049
|
+
o(new G("Network Error", G.ERR_NETWORK, e, v)), v = null;
|
|
1050
|
+
}, v.ontimeout = function() {
|
|
1051
1051
|
let $ = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
1052
|
-
const
|
|
1052
|
+
const O = r.transitional || Xa;
|
|
1053
1053
|
r.timeoutErrorMessage && ($ = r.timeoutErrorMessage), o(new G(
|
|
1054
1054
|
$,
|
|
1055
|
-
|
|
1055
|
+
O.clarifyTimeoutError ? G.ETIMEDOUT : G.ECONNABORTED,
|
|
1056
1056
|
e,
|
|
1057
|
-
|
|
1058
|
-
)),
|
|
1059
|
-
}, s === void 0 && a.setContentType(null), "setRequestHeader" in
|
|
1060
|
-
|
|
1061
|
-
}), E.isUndefined(r.withCredentials) || (
|
|
1062
|
-
|
|
1057
|
+
v
|
|
1058
|
+
)), v = null;
|
|
1059
|
+
}, s === void 0 && a.setContentType(null), "setRequestHeader" in v && E.forEach(a.toJSON(), function($, O) {
|
|
1060
|
+
v.setRequestHeader(O, $);
|
|
1061
|
+
}), E.isUndefined(r.withCredentials) || (v.withCredentials = !!r.withCredentials), i && i !== "json" && (v.responseType = r.responseType), l && ([f, p] = po(l, !0), v.addEventListener("progress", f)), c && v.upload && ([d, g] = po(c), v.upload.addEventListener("progress", d), v.upload.addEventListener("loadend", g)), (r.cancelToken || r.signal) && (u = (P) => {
|
|
1062
|
+
v && (o(!P || P.type ? new rn(null, e, v) : P), v.abort(), v = null);
|
|
1063
1063
|
}, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
|
|
1064
1064
|
const S = bu(r.url);
|
|
1065
1065
|
if (S && fe.protocols.indexOf(S) === -1) {
|
|
1066
1066
|
o(new G("Unsupported protocol " + S + ":", G.ERR_BAD_REQUEST, e));
|
|
1067
1067
|
return;
|
|
1068
1068
|
}
|
|
1069
|
-
|
|
1069
|
+
v.send(s || null);
|
|
1070
1070
|
});
|
|
1071
1071
|
}, Tu = (e, t) => {
|
|
1072
1072
|
const { length: n } = e = e ? e.filter(Boolean) : [];
|
|
@@ -1208,27 +1208,27 @@ const Nu = async (e) => {
|
|
|
1208
1208
|
} = oi(e);
|
|
1209
1209
|
l = l ? (l + "").toLowerCase() : "text";
|
|
1210
1210
|
let g = Ou([r, s && s.toAbortSignal()], a), p;
|
|
1211
|
-
const
|
|
1211
|
+
const h = g && g.unsubscribe && (() => {
|
|
1212
1212
|
g.unsubscribe();
|
|
1213
1213
|
});
|
|
1214
|
-
let
|
|
1214
|
+
let v;
|
|
1215
1215
|
try {
|
|
1216
|
-
if (c && Iu && n !== "get" && n !== "head" && (
|
|
1217
|
-
let
|
|
1216
|
+
if (c && Iu && n !== "get" && n !== "head" && (v = await Ru(u, o)) !== 0) {
|
|
1217
|
+
let O = new Request(t, {
|
|
1218
1218
|
method: "POST",
|
|
1219
1219
|
body: o,
|
|
1220
1220
|
duplex: "half"
|
|
1221
1221
|
}), M;
|
|
1222
|
-
if (E.isFormData(o) && (M =
|
|
1222
|
+
if (E.isFormData(o) && (M = O.headers.get("content-type")) && u.setContentType(M), O.body) {
|
|
1223
1223
|
const [y, F] = Ss(
|
|
1224
|
-
|
|
1224
|
+
v,
|
|
1225
1225
|
po(ks(c))
|
|
1226
1226
|
);
|
|
1227
|
-
o = Ts(
|
|
1227
|
+
o = Ts(O.body, Os, y, F);
|
|
1228
1228
|
}
|
|
1229
1229
|
}
|
|
1230
1230
|
E.isString(d) || (d = d ? "include" : "omit");
|
|
1231
|
-
const
|
|
1231
|
+
const b = "credentials" in Request.prototype;
|
|
1232
1232
|
p = new Request(t, {
|
|
1233
1233
|
...f,
|
|
1234
1234
|
signal: g,
|
|
@@ -1236,14 +1236,14 @@ const Nu = async (e) => {
|
|
|
1236
1236
|
headers: u.normalize().toJSON(),
|
|
1237
1237
|
body: o,
|
|
1238
1238
|
duplex: "half",
|
|
1239
|
-
credentials:
|
|
1239
|
+
credentials: b ? d : void 0
|
|
1240
1240
|
});
|
|
1241
1241
|
let S = await fetch(p);
|
|
1242
1242
|
const P = lr && (l === "stream" || l === "response");
|
|
1243
|
-
if (lr && (i || P &&
|
|
1244
|
-
const
|
|
1243
|
+
if (lr && (i || P && h)) {
|
|
1244
|
+
const O = {};
|
|
1245
1245
|
["status", "statusText", "headers"].forEach((z) => {
|
|
1246
|
-
|
|
1246
|
+
O[z] = S[z];
|
|
1247
1247
|
});
|
|
1248
1248
|
const M = E.toFiniteNumber(S.headers.get("content-length")), [y, F] = i && Ss(
|
|
1249
1249
|
M,
|
|
@@ -1251,15 +1251,15 @@ const Nu = async (e) => {
|
|
|
1251
1251
|
) || [];
|
|
1252
1252
|
S = new Response(
|
|
1253
1253
|
Ts(S.body, Os, y, () => {
|
|
1254
|
-
F && F(),
|
|
1254
|
+
F && F(), h && h();
|
|
1255
1255
|
}),
|
|
1256
|
-
|
|
1256
|
+
O
|
|
1257
1257
|
);
|
|
1258
1258
|
}
|
|
1259
1259
|
l = l || "text";
|
|
1260
1260
|
let $ = await fo[E.findKey(fo, l) || "text"](S, e);
|
|
1261
|
-
return !P &&
|
|
1262
|
-
ti(
|
|
1261
|
+
return !P && h && h(), await new Promise((O, M) => {
|
|
1262
|
+
ti(O, M, {
|
|
1263
1263
|
data: $,
|
|
1264
1264
|
headers: Fe.from(S.headers),
|
|
1265
1265
|
status: S.status,
|
|
@@ -1268,13 +1268,13 @@ const Nu = async (e) => {
|
|
|
1268
1268
|
request: p
|
|
1269
1269
|
});
|
|
1270
1270
|
});
|
|
1271
|
-
} catch (
|
|
1272
|
-
throw
|
|
1271
|
+
} catch (b) {
|
|
1272
|
+
throw h && h(), b && b.name === "TypeError" && /fetch/i.test(b.message) ? Object.assign(
|
|
1273
1273
|
new G("Network Error", G.ERR_NETWORK, e, p),
|
|
1274
1274
|
{
|
|
1275
|
-
cause:
|
|
1275
|
+
cause: b.cause || b
|
|
1276
1276
|
}
|
|
1277
|
-
) : G.from(
|
|
1277
|
+
) : G.from(b, b && b.code, e, p);
|
|
1278
1278
|
}
|
|
1279
1279
|
}), cr = {
|
|
1280
1280
|
http: Jc,
|
|
@@ -1452,12 +1452,12 @@ class ho {
|
|
|
1452
1452
|
), n.headers = Fe.concat(a, s);
|
|
1453
1453
|
const i = [];
|
|
1454
1454
|
let c = !0;
|
|
1455
|
-
this.interceptors.request.forEach(function(
|
|
1456
|
-
typeof
|
|
1455
|
+
this.interceptors.request.forEach(function(h) {
|
|
1456
|
+
typeof h.runWhen == "function" && h.runWhen(n) === !1 || (c = c && h.synchronous, i.unshift(h.fulfilled, h.rejected));
|
|
1457
1457
|
});
|
|
1458
1458
|
const l = [];
|
|
1459
|
-
this.interceptors.response.forEach(function(
|
|
1460
|
-
l.push(
|
|
1459
|
+
this.interceptors.response.forEach(function(h) {
|
|
1460
|
+
l.push(h.fulfilled, h.rejected);
|
|
1461
1461
|
});
|
|
1462
1462
|
let u, d = 0, f;
|
|
1463
1463
|
if (!c) {
|
|
@@ -1469,11 +1469,11 @@ class ho {
|
|
|
1469
1469
|
f = i.length;
|
|
1470
1470
|
let g = n;
|
|
1471
1471
|
for (d = 0; d < f; ) {
|
|
1472
|
-
const p = i[d++],
|
|
1472
|
+
const p = i[d++], h = i[d++];
|
|
1473
1473
|
try {
|
|
1474
1474
|
g = p(g);
|
|
1475
|
-
} catch (
|
|
1476
|
-
|
|
1475
|
+
} catch (v) {
|
|
1476
|
+
h.call(this, v);
|
|
1477
1477
|
break;
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
@@ -2303,11 +2303,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2303
2303
|
name: "ArrowDown",
|
|
2304
2304
|
__name: "arrow-down",
|
|
2305
2305
|
setup(e) {
|
|
2306
|
-
return (t, n) => (
|
|
2306
|
+
return (t, n) => (T(), R("svg", {
|
|
2307
2307
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2308
2308
|
viewBox: "0 0 1024 1024"
|
|
2309
2309
|
}, [
|
|
2310
|
-
|
|
2310
|
+
m("path", {
|
|
2311
2311
|
fill: "currentColor",
|
|
2312
2312
|
d: "M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"
|
|
2313
2313
|
})
|
|
@@ -2317,11 +2317,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2317
2317
|
name: "ArrowRight",
|
|
2318
2318
|
__name: "arrow-right",
|
|
2319
2319
|
setup(e) {
|
|
2320
|
-
return (t, n) => (
|
|
2320
|
+
return (t, n) => (T(), R("svg", {
|
|
2321
2321
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2322
2322
|
viewBox: "0 0 1024 1024"
|
|
2323
2323
|
}, [
|
|
2324
|
-
|
|
2324
|
+
m("path", {
|
|
2325
2325
|
fill: "currentColor",
|
|
2326
2326
|
d: "M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"
|
|
2327
2327
|
})
|
|
@@ -2331,11 +2331,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2331
2331
|
name: "CircleCloseFilled",
|
|
2332
2332
|
__name: "circle-close-filled",
|
|
2333
2333
|
setup(e) {
|
|
2334
|
-
return (t, n) => (
|
|
2334
|
+
return (t, n) => (T(), R("svg", {
|
|
2335
2335
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2336
2336
|
viewBox: "0 0 1024 1024"
|
|
2337
2337
|
}, [
|
|
2338
|
-
|
|
2338
|
+
m("path", {
|
|
2339
2339
|
fill: "currentColor",
|
|
2340
2340
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
|
|
2341
2341
|
})
|
|
@@ -2345,11 +2345,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2345
2345
|
name: "Close",
|
|
2346
2346
|
__name: "close",
|
|
2347
2347
|
setup(e) {
|
|
2348
|
-
return (t, n) => (
|
|
2348
|
+
return (t, n) => (T(), R("svg", {
|
|
2349
2349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2350
2350
|
viewBox: "0 0 1024 1024"
|
|
2351
2351
|
}, [
|
|
2352
|
-
|
|
2352
|
+
m("path", {
|
|
2353
2353
|
fill: "currentColor",
|
|
2354
2354
|
d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
|
|
2355
2355
|
})
|
|
@@ -2359,11 +2359,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2359
2359
|
name: "InfoFilled",
|
|
2360
2360
|
__name: "info-filled",
|
|
2361
2361
|
setup(e) {
|
|
2362
|
-
return (t, n) => (
|
|
2362
|
+
return (t, n) => (T(), R("svg", {
|
|
2363
2363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2364
2364
|
viewBox: "0 0 1024 1024"
|
|
2365
2365
|
}, [
|
|
2366
|
-
|
|
2366
|
+
m("path", {
|
|
2367
2367
|
fill: "currentColor",
|
|
2368
2368
|
d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
|
|
2369
2369
|
})
|
|
@@ -2373,11 +2373,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2373
2373
|
name: "More",
|
|
2374
2374
|
__name: "more",
|
|
2375
2375
|
setup(e) {
|
|
2376
|
-
return (t, n) => (
|
|
2376
|
+
return (t, n) => (T(), R("svg", {
|
|
2377
2377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2378
2378
|
viewBox: "0 0 1024 1024"
|
|
2379
2379
|
}, [
|
|
2380
|
-
|
|
2380
|
+
m("path", {
|
|
2381
2381
|
fill: "currentColor",
|
|
2382
2382
|
d: "M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"
|
|
2383
2383
|
})
|
|
@@ -2387,11 +2387,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2387
2387
|
name: "SuccessFilled",
|
|
2388
2388
|
__name: "success-filled",
|
|
2389
2389
|
setup(e) {
|
|
2390
|
-
return (t, n) => (
|
|
2390
|
+
return (t, n) => (T(), R("svg", {
|
|
2391
2391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2392
2392
|
viewBox: "0 0 1024 1024"
|
|
2393
2393
|
}, [
|
|
2394
|
-
|
|
2394
|
+
m("path", {
|
|
2395
2395
|
fill: "currentColor",
|
|
2396
2396
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
|
|
2397
2397
|
})
|
|
@@ -2401,11 +2401,11 @@ var zp = /* @__PURE__ */ B({
|
|
|
2401
2401
|
name: "WarningFilled",
|
|
2402
2402
|
__name: "warning-filled",
|
|
2403
2403
|
setup(e) {
|
|
2404
|
-
return (t, n) => (
|
|
2404
|
+
return (t, n) => (T(), R("svg", {
|
|
2405
2405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2406
2406
|
viewBox: "0 0 1024 1024"
|
|
2407
2407
|
}, [
|
|
2408
|
-
|
|
2408
|
+
m("path", {
|
|
2409
2409
|
fill: "currentColor",
|
|
2410
2410
|
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
|
|
2411
2411
|
})
|
|
@@ -2673,31 +2673,31 @@ const af = (e) => (t, n) => lf(t, n, w(e)), lf = (e, t, n) => Rp(n, e, e).replac
|
|
|
2673
2673
|
const n = zr(t);
|
|
2674
2674
|
return {
|
|
2675
2675
|
namespace: n,
|
|
2676
|
-
b: (
|
|
2677
|
-
e: (
|
|
2678
|
-
m: (
|
|
2679
|
-
be: (
|
|
2680
|
-
em: (
|
|
2681
|
-
bm: (
|
|
2682
|
-
bem: (
|
|
2683
|
-
is: (
|
|
2684
|
-
const
|
|
2685
|
-
return
|
|
2676
|
+
b: (h = "") => ft(n.value, e, h, "", ""),
|
|
2677
|
+
e: (h) => h ? ft(n.value, e, "", h, "") : "",
|
|
2678
|
+
m: (h) => h ? ft(n.value, e, "", "", h) : "",
|
|
2679
|
+
be: (h, v) => h && v ? ft(n.value, e, h, v, "") : "",
|
|
2680
|
+
em: (h, v) => h && v ? ft(n.value, e, "", h, v) : "",
|
|
2681
|
+
bm: (h, v) => h && v ? ft(n.value, e, h, "", v) : "",
|
|
2682
|
+
bem: (h, v, b) => h && v && b ? ft(n.value, e, h, v, b) : "",
|
|
2683
|
+
is: (h, ...v) => {
|
|
2684
|
+
const b = v.length >= 1 ? v[0] : !0;
|
|
2685
|
+
return h && b ? `${df}${h}` : "";
|
|
2686
2686
|
},
|
|
2687
|
-
cssVar: (
|
|
2688
|
-
const
|
|
2689
|
-
for (const
|
|
2690
|
-
|
|
2691
|
-
return
|
|
2687
|
+
cssVar: (h) => {
|
|
2688
|
+
const v = {};
|
|
2689
|
+
for (const b in h)
|
|
2690
|
+
h[b] && (v[`--${n.value}-${b}`] = h[b]);
|
|
2691
|
+
return v;
|
|
2692
2692
|
},
|
|
2693
|
-
cssVarName: (
|
|
2694
|
-
cssVarBlock: (
|
|
2695
|
-
const
|
|
2696
|
-
for (const
|
|
2697
|
-
|
|
2698
|
-
return
|
|
2693
|
+
cssVarName: (h) => `--${n.value}-${h}`,
|
|
2694
|
+
cssVarBlock: (h) => {
|
|
2695
|
+
const v = {};
|
|
2696
|
+
for (const b in h)
|
|
2697
|
+
h[b] && (v[`--${n.value}-${e}-${b}`] = h[b]);
|
|
2698
|
+
return v;
|
|
2699
2699
|
},
|
|
2700
|
-
cssVarBlockName: (
|
|
2700
|
+
cssVarBlockName: (h) => `--${n.value}-${e}-${h}`
|
|
2701
2701
|
};
|
|
2702
2702
|
}, pf = $o({
|
|
2703
2703
|
type: K(Boolean),
|
|
@@ -2718,36 +2718,36 @@ const af = (e) => (t, n) => lf(t, n, w(e)), lf = (e, t, n) => Rp(n, e, e).replac
|
|
|
2718
2718
|
onShow: u,
|
|
2719
2719
|
onHide: d
|
|
2720
2720
|
}) => {
|
|
2721
|
-
const f = De(), { emit: g } = f, p = f.props,
|
|
2721
|
+
const f = De(), { emit: g } = f, p = f.props, h = C(() => vt(p[n])), v = C(() => p[e] === null), b = (y) => {
|
|
2722
2722
|
a.value !== !0 && (a.value = !0, i && (i.value = y), vt(u) && u(y));
|
|
2723
2723
|
}, S = (y) => {
|
|
2724
2724
|
a.value !== !1 && (a.value = !1, i && (i.value = y), vt(d) && d(y));
|
|
2725
2725
|
}, P = (y) => {
|
|
2726
2726
|
if (p.disabled === !0 || vt(l) && !l())
|
|
2727
2727
|
return;
|
|
2728
|
-
const F =
|
|
2729
|
-
F && g(t, !0), (
|
|
2728
|
+
const F = h.value && ve;
|
|
2729
|
+
F && g(t, !0), (v.value || !F) && b(y);
|
|
2730
2730
|
}, $ = (y) => {
|
|
2731
2731
|
if (p.disabled === !0 || !ve)
|
|
2732
2732
|
return;
|
|
2733
|
-
const F =
|
|
2734
|
-
F && g(t, !1), (
|
|
2735
|
-
},
|
|
2736
|
-
yi(y) && (p.disabled && y ?
|
|
2733
|
+
const F = h.value && ve;
|
|
2734
|
+
F && g(t, !1), (v.value || !F) && S(y);
|
|
2735
|
+
}, O = (y) => {
|
|
2736
|
+
yi(y) && (p.disabled && y ? h.value && g(t, !1) : a.value !== y && (y ? b() : S()));
|
|
2737
2737
|
}, M = () => {
|
|
2738
2738
|
a.value ? $() : P();
|
|
2739
2739
|
};
|
|
2740
|
-
return Z(() => p[e],
|
|
2740
|
+
return Z(() => p[e], O), c && f.appContext.config.globalProperties.$route !== void 0 && Z(() => ({
|
|
2741
2741
|
...f.proxy.$route
|
|
2742
2742
|
}), () => {
|
|
2743
2743
|
c.value && a.value && $();
|
|
2744
2744
|
}), te(() => {
|
|
2745
|
-
|
|
2745
|
+
O(p[e]);
|
|
2746
2746
|
}), {
|
|
2747
2747
|
hide: $,
|
|
2748
2748
|
show: P,
|
|
2749
2749
|
toggle: M,
|
|
2750
|
-
hasUpdateHandler:
|
|
2750
|
+
hasUpdateHandler: h
|
|
2751
2751
|
};
|
|
2752
2752
|
},
|
|
2753
2753
|
useModelToggleProps: r,
|
|
@@ -2904,7 +2904,7 @@ var $f = function(e, t) {
|
|
|
2904
2904
|
function Mf(e) {
|
|
2905
2905
|
var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = We(n.placement), c = Gr(i), l = [we, $e].indexOf(i) >= 0, u = l ? "height" : "width";
|
|
2906
2906
|
if (!(!s || !a)) {
|
|
2907
|
-
var d = $f(r.padding, n), f = Wr(s), g = c === "y" ? _e : we, p = c === "y" ? Ae : $e,
|
|
2907
|
+
var d = $f(r.padding, n), f = Wr(s), g = c === "y" ? _e : we, p = c === "y" ? Ae : $e, h = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], v = a[c] - n.rects.reference[c], b = In(s), S = b ? c === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, P = h / 2 - v / 2, $ = d[g], O = S - f[u] - d[p], M = S / 2 - f[u] / 2 + P, y = _n($, M, O), F = c;
|
|
2908
2908
|
n.modifiersData[o] = (t = {}, t[F] = y, t.centerOffset = y - M, t);
|
|
2909
2909
|
}
|
|
2910
2910
|
}
|
|
@@ -2922,28 +2922,28 @@ function Lf(e) {
|
|
|
2922
2922
|
return { x: Gt(t * r) / r || 0, y: Gt(n * r) / r || 0 };
|
|
2923
2923
|
}
|
|
2924
2924
|
function Ys(e) {
|
|
2925
|
-
var t, n = e.popper, o = e.popperRect, r = e.placement, s = e.variation, a = e.offsets, i = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = a.x, g = f === void 0 ? 0 : f, p = a.y,
|
|
2926
|
-
g =
|
|
2927
|
-
var
|
|
2925
|
+
var t, n = e.popper, o = e.popperRect, r = e.placement, s = e.variation, a = e.offsets, i = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = a.x, g = f === void 0 ? 0 : f, p = a.y, h = p === void 0 ? 0 : p, v = typeof u == "function" ? u({ x: g, y: h }) : { x: g, y: h };
|
|
2926
|
+
g = v.x, h = v.y;
|
|
2927
|
+
var b = a.hasOwnProperty("x"), S = a.hasOwnProperty("y"), P = we, $ = _e, O = window;
|
|
2928
2928
|
if (l) {
|
|
2929
2929
|
var M = In(n), y = "clientHeight", F = "clientWidth";
|
|
2930
2930
|
if (M === He(n) && (M = ut(n), st(M).position !== "static" && i === "absolute" && (y = "scrollHeight", F = "scrollWidth")), M = M, r === _e || (r === we || r === $e) && s === Tn) {
|
|
2931
2931
|
$ = Ae;
|
|
2932
|
-
var z = d && M ===
|
|
2933
|
-
|
|
2932
|
+
var z = d && M === O && O.visualViewport ? O.visualViewport.height : M[y];
|
|
2933
|
+
h -= z - o.height, h *= c ? 1 : -1;
|
|
2934
2934
|
}
|
|
2935
2935
|
if (r === we || (r === _e || r === Ae) && s === Tn) {
|
|
2936
2936
|
P = $e;
|
|
2937
|
-
var k = d && M ===
|
|
2937
|
+
var k = d && M === O && O.visualViewport ? O.visualViewport.width : M[F];
|
|
2938
2938
|
g -= k - o.width, g *= c ? 1 : -1;
|
|
2939
2939
|
}
|
|
2940
2940
|
}
|
|
2941
|
-
var _ = Object.assign({ position: i }, l && Rf), x = u === !0 ? Lf({ x: g, y:
|
|
2942
|
-
if (g = x.x,
|
|
2941
|
+
var _ = Object.assign({ position: i }, l && Rf), x = u === !0 ? Lf({ x: g, y: h }) : { x: g, y: h };
|
|
2942
|
+
if (g = x.x, h = x.y, c) {
|
|
2943
2943
|
var N;
|
|
2944
|
-
return Object.assign({}, _, (N = {}, N[$] = S ? "0" : "", N[P] =
|
|
2944
|
+
return Object.assign({}, _, (N = {}, N[$] = S ? "0" : "", N[P] = b ? "0" : "", N.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + h + "px)" : "translate3d(" + g + "px, " + h + "px, 0)", N));
|
|
2945
2945
|
}
|
|
2946
|
-
return Object.assign({}, _, (t = {}, t[$] = S ?
|
|
2946
|
+
return Object.assign({}, _, (t = {}, t[$] = S ? h + "px" : "", t[P] = b ? g + "px" : "", t.transform = "", t));
|
|
2947
2947
|
}
|
|
2948
2948
|
function Ff(e) {
|
|
2949
2949
|
var t = e.state, n = e.options, o = n.gpuAcceleration, r = o === void 0 ? !0 : o, s = n.adaptive, a = s === void 0 ? !0 : s, i = n.roundOffsets, c = i === void 0 ? !0 : i, l = { placement: We(t.placement), variation: Jt(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: r, isFixed: t.options.strategy === "fixed" };
|
|
@@ -3058,7 +3058,7 @@ function Di(e) {
|
|
|
3058
3058
|
}
|
|
3059
3059
|
function On(e, t) {
|
|
3060
3060
|
t === void 0 && (t = {});
|
|
3061
|
-
var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? hf : s, i = n.rootBoundary, c = i === void 0 ? Ai : i, l = n.elementContext, u = l === void 0 ? hn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, g = n.padding, p = g === void 0 ? 0 : g,
|
|
3061
|
+
var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? hf : s, i = n.rootBoundary, c = i === void 0 ? Ai : i, l = n.elementContext, u = l === void 0 ? hn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, g = n.padding, p = g === void 0 ? 0 : g, h = Ni(typeof p != "number" ? p : Ri(p, Mn)), v = u === hn ? mf : hn, b = e.rects.popper, S = e.elements[f ? v : u], P = qf(Wt(S) ? S : S.contextElement || ut(e.elements.popper), a, c), $ = Kt(e.elements.reference), O = Di({ reference: $, element: b, strategy: "absolute", placement: r }), M = fr(Object.assign({}, b, O)), y = u === hn ? M : $, F = { top: P.top - y.top + h.top, bottom: y.bottom - P.bottom + h.bottom, left: P.left - y.left + h.left, right: y.right - P.right + h.right }, z = e.modifiersData.offset;
|
|
3062
3062
|
if (u === hn && z) {
|
|
3063
3063
|
var k = z[r];
|
|
3064
3064
|
Object.keys(F).forEach(function(_) {
|
|
@@ -3076,11 +3076,11 @@ function Wf(e, t) {
|
|
|
3076
3076
|
return l.indexOf(p) >= 0;
|
|
3077
3077
|
});
|
|
3078
3078
|
f.length === 0 && (f = d);
|
|
3079
|
-
var g = f.reduce(function(p,
|
|
3080
|
-
return p[
|
|
3079
|
+
var g = f.reduce(function(p, h) {
|
|
3080
|
+
return p[h] = On(e, { placement: h, boundary: r, rootBoundary: s, padding: a })[We(h)], p;
|
|
3081
3081
|
}, {});
|
|
3082
|
-
return Object.keys(g).sort(function(p,
|
|
3083
|
-
return g[p] - g[
|
|
3082
|
+
return Object.keys(g).sort(function(p, h) {
|
|
3083
|
+
return g[p] - g[h];
|
|
3084
3084
|
});
|
|
3085
3085
|
}
|
|
3086
3086
|
function Gf(e) {
|
|
@@ -3092,11 +3092,11 @@ function Gf(e) {
|
|
|
3092
3092
|
function Kf(e) {
|
|
3093
3093
|
var t = e.state, n = e.options, o = e.name;
|
|
3094
3094
|
if (!t.modifiersData[o]._skip) {
|
|
3095
|
-
for (var r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !0 : a, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, g = n.flipVariations, p = g === void 0 ? !0 : g,
|
|
3096
|
-
return dt.concat(We(Qe) === Ur ? Wf(t, { placement: Qe, boundary: u, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements:
|
|
3097
|
-
}, []),
|
|
3095
|
+
for (var r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !0 : a, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, g = n.flipVariations, p = g === void 0 ? !0 : g, h = n.allowedAutoPlacements, v = t.options.placement, b = We(v), S = b === v, P = c || (S || !p ? [ao(v)] : Gf(v)), $ = [v].concat(P).reduce(function(dt, Qe) {
|
|
3096
|
+
return dt.concat(We(Qe) === Ur ? Wf(t, { placement: Qe, boundary: u, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements: h }) : Qe);
|
|
3097
|
+
}, []), O = t.rects.reference, M = t.rects.popper, y = /* @__PURE__ */ new Map(), F = !0, z = $[0], k = 0; k < $.length; k++) {
|
|
3098
3098
|
var _ = $[k], x = We(_), N = Jt(_) === qt, U = [_e, Ae].indexOf(x) >= 0, q = U ? "width" : "height", H = On(t, { placement: _, boundary: u, rootBoundary: d, altBoundary: f, padding: l }), A = U ? N ? $e : we : N ? Ae : _e;
|
|
3099
|
-
|
|
3099
|
+
O[q] > M[q] && (A = ao(A));
|
|
3100
3100
|
var j = ao(A), J = [];
|
|
3101
3101
|
if (s && J.push(H[x] <= 0), i && J.push(H[A] <= 0, H[j] <= 0), J.every(function(dt) {
|
|
3102
3102
|
return dt;
|
|
@@ -3159,15 +3159,15 @@ function nh(e) {
|
|
|
3159
3159
|
return e === "x" ? "y" : "x";
|
|
3160
3160
|
}
|
|
3161
3161
|
function oh(e) {
|
|
3162
|
-
var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, g = f === void 0 ? !0 : f, p = n.tetherOffset,
|
|
3162
|
+
var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, g = f === void 0 ? !0 : f, p = n.tetherOffset, h = p === void 0 ? 0 : p, v = On(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), b = We(t.placement), S = Jt(t.placement), P = !S, $ = Gr(b), O = nh($), M = t.modifiersData.popperOffsets, y = t.rects.reference, F = t.rects.popper, z = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, k = typeof z == "number" ? { mainAxis: z, altAxis: z } : Object.assign({ mainAxis: 0, altAxis: 0 }, z), _ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, x = { x: 0, y: 0 };
|
|
3163
3163
|
if (M) {
|
|
3164
3164
|
if (s) {
|
|
3165
|
-
var N, U = $ === "y" ? _e : we, q = $ === "y" ? Ae : $e, H = $ === "y" ? "height" : "width", A = M[$], j = A +
|
|
3165
|
+
var N, U = $ === "y" ? _e : we, q = $ === "y" ? Ae : $e, H = $ === "y" ? "height" : "width", A = M[$], j = A + v[U], J = A - v[q], oe = g ? -F[H] / 2 : 0, Xe = S === qt ? y[H] : F[H], Ce = S === qt ? -F[H] : -y[H], Ln = t.elements.arrow, dt = g && Ln ? Wr(Ln) : { width: 0, height: 0 }, Qe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ii(), Fn = Qe[U], cn = Qe[q], Dt = _n(0, y[H], dt[H]), ql = P ? y[H] / 2 - oe - Dt - Fn - k.mainAxis : Xe - Dt - Fn - k.mainAxis, Wl = P ? -y[H] / 2 + oe + Dt + cn + k.mainAxis : Ce + Dt + cn + k.mainAxis, Fo = t.elements.arrow && In(t.elements.arrow), Gl = Fo ? $ === "y" ? Fo.clientTop || 0 : Fo.clientLeft || 0 : 0, ls = (N = _ == null ? void 0 : _[$]) != null ? N : 0, Kl = A + ql - ls - Gl, Jl = A + Wl - ls, cs = _n(g ? vo(j, Kl) : j, A, g ? Et(J, Jl) : J);
|
|
3166
3166
|
M[$] = cs, x[$] = cs - A;
|
|
3167
3167
|
}
|
|
3168
3168
|
if (i) {
|
|
3169
|
-
var us, Zl = $ === "x" ? _e : we, Yl = $ === "x" ? Ae : $e, pt = M[
|
|
3170
|
-
M[
|
|
3169
|
+
var us, Zl = $ === "x" ? _e : we, Yl = $ === "x" ? Ae : $e, pt = M[O], jn = O === "y" ? "height" : "width", ds = pt + v[Zl], ps = pt - v[Yl], jo = [_e, we].indexOf(b) !== -1, fs = (us = _ == null ? void 0 : _[O]) != null ? us : 0, hs = jo ? ds : pt - y[jn] - F[jn] - fs + k.altAxis, ms = jo ? pt + y[jn] + F[jn] - fs - k.altAxis : ps, gs = g && jo ? Af(hs, pt, ms) : _n(g ? hs : ds, pt, g ? ms : ps);
|
|
3170
|
+
M[O] = gs, x[O] = gs - pt;
|
|
3171
3171
|
}
|
|
3172
3172
|
t.modifiersData[o] = x;
|
|
3173
3173
|
}
|
|
@@ -3247,18 +3247,18 @@ function Yr(e) {
|
|
|
3247
3247
|
var t = e, n = t.defaultModifiers, o = n === void 0 ? [] : n, r = t.defaultOptions, s = r === void 0 ? na : r;
|
|
3248
3248
|
return function(a, i, c) {
|
|
3249
3249
|
c === void 0 && (c = s);
|
|
3250
|
-
var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, na, s), modifiersData: {}, elements: { reference: a, popper: i }, attributes: {}, styles: {} }, u = [], d = !1, f = { state: l, setOptions: function(
|
|
3251
|
-
var
|
|
3252
|
-
p(), l.options = Object.assign({}, s, l.options,
|
|
3253
|
-
var
|
|
3254
|
-
return l.orderedModifiers =
|
|
3250
|
+
var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, na, s), modifiersData: {}, elements: { reference: a, popper: i }, attributes: {}, styles: {} }, u = [], d = !1, f = { state: l, setOptions: function(h) {
|
|
3251
|
+
var v = typeof h == "function" ? h(l.options) : h;
|
|
3252
|
+
p(), l.options = Object.assign({}, s, l.options, v), l.scrollParents = { reference: Wt(a) ? wn(a) : a.contextElement ? wn(a.contextElement) : [], popper: wn(i) };
|
|
3253
|
+
var b = uh(ph([].concat(o, l.options.modifiers)));
|
|
3254
|
+
return l.orderedModifiers = b.filter(function(S) {
|
|
3255
3255
|
return S.enabled;
|
|
3256
3256
|
}), g(), f.update();
|
|
3257
3257
|
}, forceUpdate: function() {
|
|
3258
3258
|
if (!d) {
|
|
3259
|
-
var
|
|
3260
|
-
if (oa(
|
|
3261
|
-
l.rects = { reference: lh(
|
|
3259
|
+
var h = l.elements, v = h.reference, b = h.popper;
|
|
3260
|
+
if (oa(v, b)) {
|
|
3261
|
+
l.rects = { reference: lh(v, In(b), l.options.strategy === "fixed"), popper: Wr(b) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(F) {
|
|
3262
3262
|
return l.modifiersData[F.name] = Object.assign({}, F.data);
|
|
3263
3263
|
});
|
|
3264
3264
|
for (var S = 0; S < l.orderedModifiers.length; S++) {
|
|
@@ -3266,36 +3266,36 @@ function Yr(e) {
|
|
|
3266
3266
|
l.reset = !1, S = -1;
|
|
3267
3267
|
continue;
|
|
3268
3268
|
}
|
|
3269
|
-
var P = l.orderedModifiers[S], $ = P.fn,
|
|
3269
|
+
var P = l.orderedModifiers[S], $ = P.fn, O = P.options, M = O === void 0 ? {} : O, y = P.name;
|
|
3270
3270
|
typeof $ == "function" && (l = $({ state: l, options: M, name: y, instance: f }) || l);
|
|
3271
3271
|
}
|
|
3272
3272
|
}
|
|
3273
3273
|
}
|
|
3274
3274
|
}, update: dh(function() {
|
|
3275
|
-
return new Promise(function(
|
|
3276
|
-
f.forceUpdate(),
|
|
3275
|
+
return new Promise(function(h) {
|
|
3276
|
+
f.forceUpdate(), h(l);
|
|
3277
3277
|
});
|
|
3278
3278
|
}), destroy: function() {
|
|
3279
3279
|
p(), d = !0;
|
|
3280
3280
|
} };
|
|
3281
3281
|
if (!oa(a, i))
|
|
3282
3282
|
return f;
|
|
3283
|
-
f.setOptions(c).then(function(
|
|
3284
|
-
!d && c.onFirstUpdate && c.onFirstUpdate(
|
|
3283
|
+
f.setOptions(c).then(function(h) {
|
|
3284
|
+
!d && c.onFirstUpdate && c.onFirstUpdate(h);
|
|
3285
3285
|
});
|
|
3286
3286
|
function g() {
|
|
3287
|
-
l.orderedModifiers.forEach(function(
|
|
3288
|
-
var
|
|
3287
|
+
l.orderedModifiers.forEach(function(h) {
|
|
3288
|
+
var v = h.name, b = h.options, S = b === void 0 ? {} : b, P = h.effect;
|
|
3289
3289
|
if (typeof P == "function") {
|
|
3290
|
-
var $ = P({ state: l, name:
|
|
3290
|
+
var $ = P({ state: l, name: v, instance: f, options: S }), O = function() {
|
|
3291
3291
|
};
|
|
3292
|
-
u.push($ ||
|
|
3292
|
+
u.push($ || O);
|
|
3293
3293
|
}
|
|
3294
3294
|
});
|
|
3295
3295
|
}
|
|
3296
3296
|
function p() {
|
|
3297
|
-
u.forEach(function(
|
|
3298
|
-
return
|
|
3297
|
+
u.forEach(function(h) {
|
|
3298
|
+
return h();
|
|
3299
3299
|
}), u = [];
|
|
3300
3300
|
}
|
|
3301
3301
|
return f;
|
|
@@ -3613,7 +3613,7 @@ const $h = ue({
|
|
|
3613
3613
|
"--color": s
|
|
3614
3614
|
};
|
|
3615
3615
|
});
|
|
3616
|
-
return (r, s) => (
|
|
3616
|
+
return (r, s) => (T(), R("i", Xt({
|
|
3617
3617
|
class: w(n).b(),
|
|
3618
3618
|
style: w(o)
|
|
3619
3619
|
}, r.$attrs), [
|
|
@@ -3674,7 +3674,7 @@ const Qi = ue({
|
|
|
3674
3674
|
s.value = void 0;
|
|
3675
3675
|
}), t({
|
|
3676
3676
|
arrowRef: s
|
|
3677
|
-
}), (i, c) => (
|
|
3677
|
+
}), (i, c) => (T(), R("span", {
|
|
3678
3678
|
ref_key: "arrowRef",
|
|
3679
3679
|
ref: s,
|
|
3680
3680
|
class: ae(w(o).e("arrow")),
|
|
@@ -3816,7 +3816,7 @@ const tl = ue({
|
|
|
3816
3816
|
l == null || l(), l = void 0;
|
|
3817
3817
|
}), t({
|
|
3818
3818
|
triggerRef: r
|
|
3819
|
-
}), (u, d) => u.virtualTriggering ? L("v-if", !0) : (
|
|
3819
|
+
}), (u, d) => u.virtualTriggering ? L("v-if", !0) : (T(), X(w(zh), Xt({ key: 0 }, u.$attrs, {
|
|
3820
3820
|
"aria-controls": w(s),
|
|
3821
3821
|
"aria-describedby": w(a),
|
|
3822
3822
|
"aria-expanded": w(c),
|
|
@@ -3948,7 +3948,7 @@ const Xh = () => {
|
|
|
3948
3948
|
}, i = (p) => {
|
|
3949
3949
|
if (!e.loop && !e.trapped || a.paused)
|
|
3950
3950
|
return;
|
|
3951
|
-
const { key:
|
|
3951
|
+
const { key: h, altKey: v, ctrlKey: b, metaKey: S, currentTarget: P, shiftKey: $ } = p, { loop: O } = e, M = h === ge.tab && !v && !b && !S, y = document.activeElement;
|
|
3952
3952
|
if (M && y) {
|
|
3953
3953
|
const F = P, [z, k] = Zh(F);
|
|
3954
3954
|
if (z && k) {
|
|
@@ -3956,12 +3956,12 @@ const Xh = () => {
|
|
|
3956
3956
|
const x = Vn({
|
|
3957
3957
|
focusReason: s.value
|
|
3958
3958
|
});
|
|
3959
|
-
t("focusout-prevented", x), x.defaultPrevented || (p.preventDefault(),
|
|
3959
|
+
t("focusout-prevented", x), x.defaultPrevented || (p.preventDefault(), O && it(z, !0));
|
|
3960
3960
|
} else if ($ && [z, F].includes(y)) {
|
|
3961
3961
|
const x = Vn({
|
|
3962
3962
|
focusReason: s.value
|
|
3963
3963
|
});
|
|
3964
|
-
t("focusout-prevented", x), x.defaultPrevented || (p.preventDefault(),
|
|
3964
|
+
t("focusout-prevented", x), x.defaultPrevented || (p.preventDefault(), O && it(k, !0));
|
|
3965
3965
|
}
|
|
3966
3966
|
} else if (y === F) {
|
|
3967
3967
|
const x = Vn({
|
|
@@ -3976,33 +3976,33 @@ const Xh = () => {
|
|
|
3976
3976
|
onKeydown: i
|
|
3977
3977
|
}), Z(() => e.focusTrapEl, (p) => {
|
|
3978
3978
|
p && (n.value = p);
|
|
3979
|
-
}, { immediate: !0 }), Z([n], ([p], [
|
|
3980
|
-
p && (p.addEventListener("keydown", i), p.addEventListener("focusin", u), p.addEventListener("focusout", d)),
|
|
3979
|
+
}, { immediate: !0 }), Z([n], ([p], [h]) => {
|
|
3980
|
+
p && (p.addEventListener("keydown", i), p.addEventListener("focusin", u), p.addEventListener("focusout", d)), h && (h.removeEventListener("keydown", i), h.removeEventListener("focusin", u), h.removeEventListener("focusout", d));
|
|
3981
3981
|
});
|
|
3982
3982
|
const c = (p) => {
|
|
3983
3983
|
t(da, p);
|
|
3984
3984
|
}, l = (p) => t(pa, p), u = (p) => {
|
|
3985
|
-
const
|
|
3986
|
-
if (!
|
|
3985
|
+
const h = w(n);
|
|
3986
|
+
if (!h)
|
|
3987
3987
|
return;
|
|
3988
|
-
const
|
|
3989
|
-
e.trapped ||
|
|
3988
|
+
const v = p.target, b = p.relatedTarget, S = v && h.contains(v);
|
|
3989
|
+
e.trapped || b && h.contains(b) || (o = b), S && t("focusin", p), !a.paused && e.trapped && (S ? r = v : it(r, !0));
|
|
3990
3990
|
}, d = (p) => {
|
|
3991
|
-
const
|
|
3992
|
-
if (!(a.paused || !
|
|
3991
|
+
const h = w(n);
|
|
3992
|
+
if (!(a.paused || !h))
|
|
3993
3993
|
if (e.trapped) {
|
|
3994
|
-
const
|
|
3995
|
-
!kn(
|
|
3994
|
+
const v = p.relatedTarget;
|
|
3995
|
+
!kn(v) && !h.contains(v) && setTimeout(() => {
|
|
3996
3996
|
if (!a.paused && e.trapped) {
|
|
3997
|
-
const
|
|
3997
|
+
const b = Vn({
|
|
3998
3998
|
focusReason: s.value
|
|
3999
3999
|
});
|
|
4000
|
-
t("focusout-prevented",
|
|
4000
|
+
t("focusout-prevented", b), b.defaultPrevented || it(r, !0);
|
|
4001
4001
|
}
|
|
4002
4002
|
}, 0);
|
|
4003
4003
|
} else {
|
|
4004
|
-
const
|
|
4005
|
-
|
|
4004
|
+
const v = p.target;
|
|
4005
|
+
v && h.contains(v) || t("focusout", p);
|
|
4006
4006
|
}
|
|
4007
4007
|
};
|
|
4008
4008
|
async function f() {
|
|
@@ -4010,12 +4010,12 @@ const Xh = () => {
|
|
|
4010
4010
|
const p = w(n);
|
|
4011
4011
|
if (p) {
|
|
4012
4012
|
ma.push(a);
|
|
4013
|
-
const
|
|
4014
|
-
if (o =
|
|
4015
|
-
const
|
|
4016
|
-
p.addEventListener(Ko, c), p.dispatchEvent(
|
|
4013
|
+
const h = p.contains(document.activeElement) ? o : document.activeElement;
|
|
4014
|
+
if (o = h, !p.contains(h)) {
|
|
4015
|
+
const b = new Event(Ko, ua);
|
|
4016
|
+
p.addEventListener(Ko, c), p.dispatchEvent(b), b.defaultPrevented || Ge(() => {
|
|
4017
4017
|
let S = e.focusStartEl;
|
|
4018
|
-
ye(S) || (it(S), document.activeElement !== S && (S = "first")), S === "first" && Qh(nl(p), !0), (document.activeElement ===
|
|
4018
|
+
ye(S) || (it(S), document.activeElement !== S && (S = "first")), S === "first" && Qh(nl(p), !0), (document.activeElement === h || S === "container") && it(p);
|
|
4019
4019
|
});
|
|
4020
4020
|
}
|
|
4021
4021
|
}
|
|
@@ -4024,13 +4024,13 @@ const Xh = () => {
|
|
|
4024
4024
|
const p = w(n);
|
|
4025
4025
|
if (p) {
|
|
4026
4026
|
p.removeEventListener(Ko, c);
|
|
4027
|
-
const
|
|
4027
|
+
const h = new CustomEvent(Jo, {
|
|
4028
4028
|
...ua,
|
|
4029
4029
|
detail: {
|
|
4030
4030
|
focusReason: s.value
|
|
4031
4031
|
}
|
|
4032
4032
|
});
|
|
4033
|
-
p.addEventListener(Jo, l), p.dispatchEvent(
|
|
4033
|
+
p.addEventListener(Jo, l), p.dispatchEvent(h), !h.defaultPrevented && (s.value == "keyboard" || !em() || p.contains(document.activeElement)) && it(o ?? document.body), p.removeEventListener(Jo, l), ma.remove(a);
|
|
4034
4034
|
}
|
|
4035
4035
|
}
|
|
4036
4036
|
return te(() => {
|
|
@@ -4189,8 +4189,8 @@ const pm = 0, fm = (e) => {
|
|
|
4189
4189
|
name: "eventListeners",
|
|
4190
4190
|
enabled: !!e.visible
|
|
4191
4191
|
})), c = C(() => {
|
|
4192
|
-
var
|
|
4193
|
-
const S = w(s), P = (
|
|
4192
|
+
var b;
|
|
4193
|
+
const S = w(s), P = (b = w(a)) != null ? b : pm;
|
|
4194
4194
|
return {
|
|
4195
4195
|
name: "arrow",
|
|
4196
4196
|
enabled: !Lp(S),
|
|
@@ -4207,11 +4207,11 @@ const pm = 0, fm = (e) => {
|
|
|
4207
4207
|
w(c),
|
|
4208
4208
|
w(i)
|
|
4209
4209
|
])
|
|
4210
|
-
})), u = C(() => cm(e.referenceEl) || w(o)), { attributes: d, state: f, styles: g, update: p, forceUpdate:
|
|
4211
|
-
return Z(
|
|
4210
|
+
})), u = C(() => cm(e.referenceEl) || w(o)), { attributes: d, state: f, styles: g, update: p, forceUpdate: h, instanceRef: v } = gh(u, n, l);
|
|
4211
|
+
return Z(v, (b) => t.value = b), te(() => {
|
|
4212
4212
|
Z(() => {
|
|
4213
|
-
var
|
|
4214
|
-
return (
|
|
4213
|
+
var b;
|
|
4214
|
+
return (b = w(u)) == null ? void 0 : b.getBoundingClientRect();
|
|
4215
4215
|
}, () => {
|
|
4216
4216
|
p();
|
|
4217
4217
|
});
|
|
@@ -4219,11 +4219,11 @@ const pm = 0, fm = (e) => {
|
|
|
4219
4219
|
attributes: d,
|
|
4220
4220
|
arrowRef: s,
|
|
4221
4221
|
contentRef: n,
|
|
4222
|
-
instanceRef:
|
|
4222
|
+
instanceRef: v,
|
|
4223
4223
|
state: f,
|
|
4224
4224
|
styles: g,
|
|
4225
4225
|
role: r,
|
|
4226
|
-
forceUpdate:
|
|
4226
|
+
forceUpdate: h,
|
|
4227
4227
|
update: p
|
|
4228
4228
|
};
|
|
4229
4229
|
}, hm = (e, {
|
|
@@ -4289,17 +4289,17 @@ const pm = 0, fm = (e) => {
|
|
|
4289
4289
|
onFocusInTrap: c,
|
|
4290
4290
|
onFocusoutPrevented: l,
|
|
4291
4291
|
onReleaseRequested: u
|
|
4292
|
-
} = mm(o, n), { attributes: d, arrowRef: f, contentRef: g, styles: p, instanceRef:
|
|
4292
|
+
} = mm(o, n), { attributes: d, arrowRef: f, contentRef: g, styles: p, instanceRef: h, role: v, update: b } = fm(o), {
|
|
4293
4293
|
ariaModal: S,
|
|
4294
4294
|
arrowStyle: P,
|
|
4295
4295
|
contentAttrs: $,
|
|
4296
|
-
contentClass:
|
|
4296
|
+
contentClass: O,
|
|
4297
4297
|
contentStyle: M,
|
|
4298
4298
|
updateZIndex: y
|
|
4299
4299
|
} = hm(o, {
|
|
4300
4300
|
styles: p,
|
|
4301
4301
|
attributes: d,
|
|
4302
|
-
role:
|
|
4302
|
+
role: v
|
|
4303
4303
|
}), F = Y(la, void 0), z = I();
|
|
4304
4304
|
se(Yi, {
|
|
4305
4305
|
arrowStyle: P,
|
|
@@ -4312,7 +4312,7 @@ const pm = 0, fm = (e) => {
|
|
|
4312
4312
|
});
|
|
4313
4313
|
let k;
|
|
4314
4314
|
const _ = (N = !0) => {
|
|
4315
|
-
|
|
4315
|
+
b(), N && y();
|
|
4316
4316
|
}, x = () => {
|
|
4317
4317
|
_(!1), o.visible && o.focusOnShow ? s.value = !0 : o.visible === !1 && (s.value = !1);
|
|
4318
4318
|
};
|
|
@@ -4320,7 +4320,7 @@ const pm = 0, fm = (e) => {
|
|
|
4320
4320
|
Z(() => o.triggerTargetEl, (N, U) => {
|
|
4321
4321
|
k == null || k(), k = void 0;
|
|
4322
4322
|
const q = w(N || g.value), H = w(U || g.value);
|
|
4323
|
-
Cn(q) && (k = Z([
|
|
4323
|
+
Cn(q) && (k = Z([v, () => o.ariaLabel, S, () => o.id], (A) => {
|
|
4324
4324
|
["role", "aria-label", "aria-modal", "id"].forEach((j, J) => {
|
|
4325
4325
|
kn(A[J]) ? q.removeAttribute(j) : q.setAttribute(j, A[J]);
|
|
4326
4326
|
});
|
|
@@ -4332,15 +4332,15 @@ const pm = 0, fm = (e) => {
|
|
|
4332
4332
|
k == null || k(), k = void 0;
|
|
4333
4333
|
}), t({
|
|
4334
4334
|
popperContentRef: g,
|
|
4335
|
-
popperInstanceRef:
|
|
4335
|
+
popperInstanceRef: h,
|
|
4336
4336
|
updatePopper: _,
|
|
4337
4337
|
contentStyle: M
|
|
4338
|
-
}), (N, U) => (
|
|
4338
|
+
}), (N, U) => (T(), R("div", Xt({
|
|
4339
4339
|
ref_key: "contentRef",
|
|
4340
4340
|
ref: g
|
|
4341
4341
|
}, w($), {
|
|
4342
4342
|
style: w(M),
|
|
4343
|
-
class: w(
|
|
4343
|
+
class: w(O),
|
|
4344
4344
|
tabindex: "-1",
|
|
4345
4345
|
onMouseenter: U[0] || (U[0] = (q) => N.$emit("mouseenter", q)),
|
|
4346
4346
|
onMouseleave: U[1] || (U[1] = (q) => N.$emit("mouseleave", q))
|
|
@@ -4435,26 +4435,26 @@ const ym = Lt(jh), ts = Symbol("elTooltip"), rl = ue({
|
|
|
4435
4435
|
const n = e, o = le("tooltip"), { controlled: r, id: s, open: a, onOpen: i, onClose: c, onToggle: l } = Y(ts, void 0), u = I(null), d = () => {
|
|
4436
4436
|
if (w(r) || n.disabled)
|
|
4437
4437
|
return !0;
|
|
4438
|
-
}, f = rt(n, "trigger"), g = tt(d, Bt(f, "hover", i)), p = tt(d, Bt(f, "hover", c)),
|
|
4438
|
+
}, f = rt(n, "trigger"), g = tt(d, Bt(f, "hover", i)), p = tt(d, Bt(f, "hover", c)), h = tt(d, Bt(f, "click", ($) => {
|
|
4439
4439
|
$.button === 0 && l($);
|
|
4440
|
-
})),
|
|
4440
|
+
})), v = tt(d, Bt(f, "focus", i)), b = tt(d, Bt(f, "focus", c)), S = tt(d, Bt(f, "contextmenu", ($) => {
|
|
4441
4441
|
$.preventDefault(), l($);
|
|
4442
4442
|
})), P = tt(d, ($) => {
|
|
4443
|
-
const { code:
|
|
4444
|
-
n.triggerKeys.includes(
|
|
4443
|
+
const { code: O } = $;
|
|
4444
|
+
n.triggerKeys.includes(O) && ($.preventDefault(), l($));
|
|
4445
4445
|
});
|
|
4446
4446
|
return t({
|
|
4447
4447
|
triggerRef: u
|
|
4448
|
-
}), ($,
|
|
4448
|
+
}), ($, O) => (T(), X(w(qh), {
|
|
4449
4449
|
id: w(s),
|
|
4450
4450
|
"virtual-ref": $.virtualRef,
|
|
4451
4451
|
open: w(a),
|
|
4452
4452
|
"virtual-triggering": $.virtualTriggering,
|
|
4453
4453
|
class: ae(w(o).e("trigger")),
|
|
4454
|
-
onBlur: w(
|
|
4455
|
-
onClick: w(
|
|
4454
|
+
onBlur: w(b),
|
|
4455
|
+
onClick: w(h),
|
|
4456
4456
|
onContextmenu: w(S),
|
|
4457
|
-
onFocus: w(
|
|
4457
|
+
onFocus: w(v),
|
|
4458
4458
|
onMouseenter: w(g),
|
|
4459
4459
|
onMouseleave: w(p),
|
|
4460
4460
|
onKeydown: w(P)
|
|
@@ -4483,13 +4483,13 @@ const Pm = B({
|
|
|
4483
4483
|
onOpen: f,
|
|
4484
4484
|
onShow: g,
|
|
4485
4485
|
onHide: p,
|
|
4486
|
-
onBeforeShow:
|
|
4487
|
-
onBeforeHide:
|
|
4488
|
-
} = Y(ts, void 0),
|
|
4486
|
+
onBeforeShow: h,
|
|
4487
|
+
onBeforeHide: v
|
|
4488
|
+
} = Y(ts, void 0), b = C(() => n.transition || `${r.namespace.value}-fade-in-linear`), S = C(() => process.env.NODE_ENV === "test" ? !0 : n.persistent);
|
|
4489
4489
|
Ze(() => {
|
|
4490
4490
|
a.value = !0;
|
|
4491
4491
|
});
|
|
4492
|
-
const P = C(() => w(S) ? !0 : w(l)), $ = C(() => n.disabled ? !1 : w(l)),
|
|
4492
|
+
const P = C(() => w(S) ? !0 : w(l)), $ = C(() => n.disabled ? !1 : w(l)), O = C(() => n.appendTo || o.value), M = C(() => {
|
|
4493
4493
|
var A;
|
|
4494
4494
|
return (A = n.style) != null ? A : {};
|
|
4495
4495
|
}), y = C(() => !w(l)), F = () => {
|
|
@@ -4503,9 +4503,9 @@ const Pm = B({
|
|
|
4503
4503
|
w(u) === "hover" && d();
|
|
4504
4504
|
}), x = () => {
|
|
4505
4505
|
var A, j;
|
|
4506
|
-
(j = (A = s.value) == null ? void 0 : A.updatePopper) == null || j.call(A),
|
|
4506
|
+
(j = (A = s.value) == null ? void 0 : A.updatePopper) == null || j.call(A), h == null || h();
|
|
4507
4507
|
}, N = () => {
|
|
4508
|
-
|
|
4508
|
+
v == null || v();
|
|
4509
4509
|
}, U = () => {
|
|
4510
4510
|
g(), H = Ku(C(() => {
|
|
4511
4511
|
var A;
|
|
@@ -4528,19 +4528,19 @@ const Pm = B({
|
|
|
4528
4528
|
(j = (A = s.value) == null ? void 0 : A.updatePopper) == null || j.call(A);
|
|
4529
4529
|
}), t({
|
|
4530
4530
|
contentRef: s
|
|
4531
|
-
}), (A, j) => (
|
|
4531
|
+
}), (A, j) => (T(), X(co, {
|
|
4532
4532
|
disabled: !A.teleported,
|
|
4533
|
-
to: w(
|
|
4533
|
+
to: w(O)
|
|
4534
4534
|
}, [
|
|
4535
4535
|
ne(It, {
|
|
4536
|
-
name: w(
|
|
4536
|
+
name: w(b),
|
|
4537
4537
|
onAfterLeave: F,
|
|
4538
4538
|
onBeforeEnter: x,
|
|
4539
4539
|
onAfterEnter: U,
|
|
4540
4540
|
onBeforeLeave: N
|
|
4541
4541
|
}, {
|
|
4542
4542
|
default: W(() => [
|
|
4543
|
-
w(P) ? qe((
|
|
4543
|
+
w(P) ? qe((T(), X(w(bm), Xt({
|
|
4544
4544
|
key: 0,
|
|
4545
4545
|
id: w(c),
|
|
4546
4546
|
ref_key: "contentRef",
|
|
@@ -4593,9 +4593,9 @@ const Mm = ["innerHTML"], Im = { key: 1 }, Nm = B({
|
|
|
4593
4593
|
const o = e;
|
|
4594
4594
|
xh();
|
|
4595
4595
|
const r = yh(), s = I(), a = I(), i = () => {
|
|
4596
|
-
var
|
|
4596
|
+
var b;
|
|
4597
4597
|
const S = w(s);
|
|
4598
|
-
S && ((
|
|
4598
|
+
S && ((b = S.popperInstanceRef) == null || b.update());
|
|
4599
4599
|
}, c = I(!1), l = I(), { show: u, hide: d, hasUpdateHandler: f } = xm({
|
|
4600
4600
|
indicator: c,
|
|
4601
4601
|
toggleReason: l
|
|
@@ -4605,20 +4605,20 @@ const Mm = ["innerHTML"], Im = { key: 1 }, Nm = B({
|
|
|
4605
4605
|
autoClose: rt(o, "autoClose"),
|
|
4606
4606
|
open: u,
|
|
4607
4607
|
close: d
|
|
4608
|
-
}),
|
|
4608
|
+
}), h = C(() => yi(o.visible) && !f.value);
|
|
4609
4609
|
se(ts, {
|
|
4610
|
-
controlled:
|
|
4610
|
+
controlled: h,
|
|
4611
4611
|
id: r,
|
|
4612
4612
|
open: Fa(c),
|
|
4613
4613
|
trigger: rt(o, "trigger"),
|
|
4614
|
-
onOpen: (
|
|
4615
|
-
g(
|
|
4614
|
+
onOpen: (b) => {
|
|
4615
|
+
g(b);
|
|
4616
4616
|
},
|
|
4617
|
-
onClose: (
|
|
4618
|
-
p(
|
|
4617
|
+
onClose: (b) => {
|
|
4618
|
+
p(b);
|
|
4619
4619
|
},
|
|
4620
|
-
onToggle: (
|
|
4621
|
-
w(c) ? p(
|
|
4620
|
+
onToggle: (b) => {
|
|
4621
|
+
w(c) ? p(b) : g(b);
|
|
4622
4622
|
},
|
|
4623
4623
|
onShow: () => {
|
|
4624
4624
|
n("show", l.value);
|
|
@@ -4633,80 +4633,80 @@ const Mm = ["innerHTML"], Im = { key: 1 }, Nm = B({
|
|
|
4633
4633
|
n("before-hide", l.value);
|
|
4634
4634
|
},
|
|
4635
4635
|
updatePopper: i
|
|
4636
|
-
}), Z(() => o.disabled, (
|
|
4637
|
-
|
|
4636
|
+
}), Z(() => o.disabled, (b) => {
|
|
4637
|
+
b && c.value && (c.value = !1);
|
|
4638
4638
|
});
|
|
4639
|
-
const
|
|
4639
|
+
const v = (b) => {
|
|
4640
4640
|
var S, P;
|
|
4641
|
-
const $ = (P = (S = a.value) == null ? void 0 : S.contentRef) == null ? void 0 : P.popperContentRef,
|
|
4642
|
-
return $ && $.contains(
|
|
4641
|
+
const $ = (P = (S = a.value) == null ? void 0 : S.contentRef) == null ? void 0 : P.popperContentRef, O = (b == null ? void 0 : b.relatedTarget) || document.activeElement;
|
|
4642
|
+
return $ && $.contains(O);
|
|
4643
4643
|
};
|
|
4644
4644
|
return nc(() => c.value && d()), t({
|
|
4645
4645
|
popperRef: s,
|
|
4646
4646
|
contentRef: a,
|
|
4647
|
-
isFocusInsideContent:
|
|
4647
|
+
isFocusInsideContent: v,
|
|
4648
4648
|
updatePopper: i,
|
|
4649
4649
|
onOpen: g,
|
|
4650
4650
|
onClose: p,
|
|
4651
4651
|
hide: d
|
|
4652
|
-
}), (
|
|
4652
|
+
}), (b, S) => (T(), X(w(ym), {
|
|
4653
4653
|
ref_key: "popperRef",
|
|
4654
4654
|
ref: s,
|
|
4655
|
-
role:
|
|
4655
|
+
role: b.role
|
|
4656
4656
|
}, {
|
|
4657
4657
|
default: W(() => [
|
|
4658
4658
|
ne(Om, {
|
|
4659
|
-
disabled:
|
|
4660
|
-
trigger:
|
|
4661
|
-
"trigger-keys":
|
|
4662
|
-
"virtual-ref":
|
|
4663
|
-
"virtual-triggering":
|
|
4659
|
+
disabled: b.disabled,
|
|
4660
|
+
trigger: b.trigger,
|
|
4661
|
+
"trigger-keys": b.triggerKeys,
|
|
4662
|
+
"virtual-ref": b.virtualRef,
|
|
4663
|
+
"virtual-triggering": b.virtualTriggering
|
|
4664
4664
|
}, {
|
|
4665
4665
|
default: W(() => [
|
|
4666
|
-
|
|
4666
|
+
b.$slots.default ? ee(b.$slots, "default", { key: 0 }) : L("v-if", !0)
|
|
4667
4667
|
]),
|
|
4668
4668
|
_: 3
|
|
4669
4669
|
}, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
|
|
4670
4670
|
ne($m, {
|
|
4671
4671
|
ref_key: "contentRef",
|
|
4672
4672
|
ref: a,
|
|
4673
|
-
"aria-label":
|
|
4674
|
-
"boundaries-padding":
|
|
4675
|
-
content:
|
|
4676
|
-
disabled:
|
|
4677
|
-
effect:
|
|
4678
|
-
enterable:
|
|
4679
|
-
"fallback-placements":
|
|
4680
|
-
"hide-after":
|
|
4681
|
-
"gpu-acceleration":
|
|
4682
|
-
offset:
|
|
4683
|
-
persistent:
|
|
4684
|
-
"popper-class":
|
|
4685
|
-
"popper-style":
|
|
4686
|
-
placement:
|
|
4687
|
-
"popper-options":
|
|
4688
|
-
pure:
|
|
4689
|
-
"raw-content":
|
|
4690
|
-
"reference-el":
|
|
4691
|
-
"trigger-target-el":
|
|
4692
|
-
"show-after":
|
|
4693
|
-
strategy:
|
|
4694
|
-
teleported:
|
|
4695
|
-
transition:
|
|
4696
|
-
"virtual-triggering":
|
|
4697
|
-
"z-index":
|
|
4698
|
-
"append-to":
|
|
4673
|
+
"aria-label": b.ariaLabel,
|
|
4674
|
+
"boundaries-padding": b.boundariesPadding,
|
|
4675
|
+
content: b.content,
|
|
4676
|
+
disabled: b.disabled,
|
|
4677
|
+
effect: b.effect,
|
|
4678
|
+
enterable: b.enterable,
|
|
4679
|
+
"fallback-placements": b.fallbackPlacements,
|
|
4680
|
+
"hide-after": b.hideAfter,
|
|
4681
|
+
"gpu-acceleration": b.gpuAcceleration,
|
|
4682
|
+
offset: b.offset,
|
|
4683
|
+
persistent: b.persistent,
|
|
4684
|
+
"popper-class": b.popperClass,
|
|
4685
|
+
"popper-style": b.popperStyle,
|
|
4686
|
+
placement: b.placement,
|
|
4687
|
+
"popper-options": b.popperOptions,
|
|
4688
|
+
pure: b.pure,
|
|
4689
|
+
"raw-content": b.rawContent,
|
|
4690
|
+
"reference-el": b.referenceEl,
|
|
4691
|
+
"trigger-target-el": b.triggerTargetEl,
|
|
4692
|
+
"show-after": b.showAfter,
|
|
4693
|
+
strategy: b.strategy,
|
|
4694
|
+
teleported: b.teleported,
|
|
4695
|
+
transition: b.transition,
|
|
4696
|
+
"virtual-triggering": b.virtualTriggering,
|
|
4697
|
+
"z-index": b.zIndex,
|
|
4698
|
+
"append-to": b.appendTo
|
|
4699
4699
|
}, {
|
|
4700
4700
|
default: W(() => [
|
|
4701
|
-
ee(
|
|
4702
|
-
|
|
4701
|
+
ee(b.$slots, "content", {}, () => [
|
|
4702
|
+
b.rawContent ? (T(), R("span", {
|
|
4703
4703
|
key: 0,
|
|
4704
|
-
innerHTML:
|
|
4705
|
-
}, null, 8, Mm)) : (
|
|
4704
|
+
innerHTML: b.content
|
|
4705
|
+
}, null, 8, Mm)) : (T(), R("span", Im, Q(b.content), 1))
|
|
4706
4706
|
]),
|
|
4707
|
-
|
|
4707
|
+
b.showArrow ? (T(), X(w(Hh), {
|
|
4708
4708
|
key: 0,
|
|
4709
|
-
"arrow-offset":
|
|
4709
|
+
"arrow-offset": b.arrowOffset
|
|
4710
4710
|
}, null, 8, ["arrow-offset"])) : L("v-if", !0)
|
|
4711
4711
|
]),
|
|
4712
4712
|
_: 3
|
|
@@ -4742,7 +4742,7 @@ const al = Lt(Lm), Fm = ue({
|
|
|
4742
4742
|
const n = e, o = le("badge"), r = C(() => n.isDot ? "" : Ke(n.value) && Ke(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`);
|
|
4743
4743
|
return t({
|
|
4744
4744
|
content: r
|
|
4745
|
-
}), (s, a) => (
|
|
4745
|
+
}), (s, a) => (T(), R("div", {
|
|
4746
4746
|
class: ae(w(o).b())
|
|
4747
4747
|
}, [
|
|
4748
4748
|
ee(s.$slots, "default"),
|
|
@@ -4751,7 +4751,7 @@ const al = Lt(Lm), Fm = ue({
|
|
|
4751
4751
|
persisted: ""
|
|
4752
4752
|
}, {
|
|
4753
4753
|
default: W(() => [
|
|
4754
|
-
qe(
|
|
4754
|
+
qe(m("sup", {
|
|
4755
4755
|
class: ae([
|
|
4756
4756
|
w(o).e("content"),
|
|
4757
4757
|
w(o).em("content", s.type),
|
|
@@ -5323,7 +5323,7 @@ const ll = Symbol("rowContextKey"), ng = [
|
|
|
5323
5323
|
n.is(`justify-${t.justify}`, t.justify !== "start"),
|
|
5324
5324
|
n.is(`align-${t.align}`, !!t.align)
|
|
5325
5325
|
]);
|
|
5326
|
-
return (a, i) => (
|
|
5326
|
+
return (a, i) => (T(), X(Tr(a.tag), {
|
|
5327
5327
|
class: ae(w(s)),
|
|
5328
5328
|
style: An(w(r))
|
|
5329
5329
|
}, {
|
|
@@ -5396,7 +5396,7 @@ const lg = Lt(ig), cg = ue({
|
|
|
5396
5396
|
});
|
|
5397
5397
|
}), n.value && a.push(o.is("guttered")), [o.b(), a];
|
|
5398
5398
|
});
|
|
5399
|
-
return (a, i) => (
|
|
5399
|
+
return (a, i) => (T(), X(Tr(a.tag), {
|
|
5400
5400
|
class: ae(w(s)),
|
|
5401
5401
|
style: An(w(r))
|
|
5402
5402
|
}, {
|
|
@@ -5441,7 +5441,7 @@ const fg = Lt(pg), hg = B({
|
|
|
5441
5441
|
n(r);
|
|
5442
5442
|
}
|
|
5443
5443
|
};
|
|
5444
|
-
return (r, s) => (
|
|
5444
|
+
return (r, s) => (T(), X(It, Xt({
|
|
5445
5445
|
name: w(t).b()
|
|
5446
5446
|
}, oc(o)), {
|
|
5447
5447
|
default: W(() => [
|
|
@@ -5563,7 +5563,7 @@ const _g = B({
|
|
|
5563
5563
|
}
|
|
5564
5564
|
});
|
|
5565
5565
|
function wg(e, t, n, o, r, s) {
|
|
5566
|
-
return
|
|
5566
|
+
return T(), X(It, Xt({ mode: "out-in" }, e.listeners), {
|
|
5567
5567
|
default: W(() => [
|
|
5568
5568
|
ee(e.$slots, "default")
|
|
5569
5569
|
]),
|
|
@@ -5662,11 +5662,11 @@ var ns = B({
|
|
|
5662
5662
|
l || go(Gn, "can not inject sub menu");
|
|
5663
5663
|
const u = I({}), d = I({});
|
|
5664
5664
|
let f;
|
|
5665
|
-
const g = I(!1), p = I(),
|
|
5665
|
+
const g = I(!1), p = I(), h = I(null), v = C(() => F.value === "horizontal" && S.value ? "bottom-start" : "right-start"), b = C(() => F.value === "horizontal" && S.value || F.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? M.value ? e.expandOpenIcon : e.expandCloseIcon : Up : e.collapseCloseIcon && e.collapseOpenIcon ? M.value ? e.collapseOpenIcon : e.collapseCloseIcon : qp), S = C(() => l.level === 0), P = C(() => {
|
|
5666
5666
|
var H;
|
|
5667
5667
|
const A = (H = e.teleported) != null ? H : e.popperAppendToBody;
|
|
5668
5668
|
return A === void 0 ? S.value : A;
|
|
5669
|
-
}), $ = C(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`),
|
|
5669
|
+
}), $ = C(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), O = C(() => F.value === "horizontal" && S.value ? [
|
|
5670
5670
|
"bottom-start",
|
|
5671
5671
|
"bottom-end",
|
|
5672
5672
|
"top-start",
|
|
@@ -5695,7 +5695,7 @@ var ns = B({
|
|
|
5695
5695
|
active: y
|
|
5696
5696
|
}), k = ul(c.props, l.level + 1), _ = () => {
|
|
5697
5697
|
var H, A, j;
|
|
5698
|
-
return (j = (A = (H =
|
|
5698
|
+
return (j = (A = (H = h.value) == null ? void 0 : H.popperRef) == null ? void 0 : A.popperInstanceRef) == null ? void 0 : j.destroy();
|
|
5699
5699
|
}, x = (H) => {
|
|
5700
5700
|
H || _();
|
|
5701
5701
|
}, N = () => {
|
|
@@ -5744,10 +5744,10 @@ var ns = B({
|
|
|
5744
5744
|
transform: M.value ? e.expandCloseIcon && e.expandOpenIcon || e.collapseCloseIcon && e.collapseOpenIcon && c.props.collapse ? "none" : "rotateZ(180deg)" : "none"
|
|
5745
5745
|
}
|
|
5746
5746
|
}, {
|
|
5747
|
-
default: () => ye(
|
|
5747
|
+
default: () => ye(b.value) ? V(o.appContext.components[b.value]) : V(b.value)
|
|
5748
5748
|
})
|
|
5749
5749
|
], j = c.isMenuPopup ? V(al, {
|
|
5750
|
-
ref:
|
|
5750
|
+
ref: h,
|
|
5751
5751
|
visible: M.value,
|
|
5752
5752
|
effect: "light",
|
|
5753
5753
|
pure: !0,
|
|
@@ -5755,9 +5755,9 @@ var ns = B({
|
|
|
5755
5755
|
showArrow: !1,
|
|
5756
5756
|
persistent: !0,
|
|
5757
5757
|
popperClass: e.popperClass,
|
|
5758
|
-
placement:
|
|
5758
|
+
placement: v.value,
|
|
5759
5759
|
teleported: P.value,
|
|
5760
|
-
fallbackPlacements:
|
|
5760
|
+
fallbackPlacements: O.value,
|
|
5761
5761
|
transition: $.value,
|
|
5762
5762
|
gpuAcceleration: !1
|
|
5763
5763
|
}, {
|
|
@@ -5777,7 +5777,7 @@ var ns = B({
|
|
|
5777
5777
|
class: [
|
|
5778
5778
|
a.b(),
|
|
5779
5779
|
a.m("popup"),
|
|
5780
|
-
a.m(`popup-${
|
|
5780
|
+
a.m(`popup-${v.value}`)
|
|
5781
5781
|
],
|
|
5782
5782
|
style: k.value
|
|
5783
5783
|
}, [(J = t.default) == null ? void 0 : J.call(t)])
|
|
@@ -5869,26 +5869,26 @@ var Tg = B({
|
|
|
5869
5869
|
props: kg,
|
|
5870
5870
|
emits: Cg,
|
|
5871
5871
|
setup(e, { emit: t, slots: n, expose: o }) {
|
|
5872
|
-
const r = De(), s = r.appContext.config.globalProperties.$router, a = I(), i = le("menu"), c = le("sub-menu"), l = I(-1), u = I(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = I(e.defaultActive), f = I({}), g = I({}), p = C(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse),
|
|
5872
|
+
const r = De(), s = r.appContext.config.globalProperties.$router, a = I(), i = le("menu"), c = le("sub-menu"), l = I(-1), u = I(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = I(e.defaultActive), f = I({}), g = I({}), p = C(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), h = () => {
|
|
5873
5873
|
const _ = d.value && f.value[d.value];
|
|
5874
5874
|
if (!_ || e.mode === "horizontal" || e.collapse)
|
|
5875
5875
|
return;
|
|
5876
5876
|
_.indexPath.forEach((N) => {
|
|
5877
5877
|
const U = g.value[N];
|
|
5878
|
-
U &&
|
|
5878
|
+
U && v(N, U.indexPath);
|
|
5879
5879
|
});
|
|
5880
|
-
},
|
|
5880
|
+
}, v = (_, x) => {
|
|
5881
5881
|
u.value.includes(_) || (e.uniqueOpened && (u.value = u.value.filter((N) => x.includes(N))), u.value.push(_), t("open", _, x));
|
|
5882
|
-
},
|
|
5882
|
+
}, b = (_) => {
|
|
5883
5883
|
const x = u.value.indexOf(_);
|
|
5884
5884
|
x !== -1 && u.value.splice(x, 1);
|
|
5885
5885
|
}, S = (_, x) => {
|
|
5886
|
-
|
|
5886
|
+
b(_), t("close", _, x);
|
|
5887
5887
|
}, P = ({
|
|
5888
5888
|
index: _,
|
|
5889
5889
|
indexPath: x
|
|
5890
5890
|
}) => {
|
|
5891
|
-
u.value.includes(_) ? S(_, x) :
|
|
5891
|
+
u.value.includes(_) ? S(_, x) : v(_, x);
|
|
5892
5892
|
}, $ = (_) => {
|
|
5893
5893
|
(e.mode === "horizontal" || e.collapse) && (u.value = []);
|
|
5894
5894
|
const { index: x, indexPath: N } = _;
|
|
@@ -5898,7 +5898,7 @@ var Tg = B({
|
|
|
5898
5898
|
t("select", x, N, { index: x, indexPath: N, route: U }, q);
|
|
5899
5899
|
} else
|
|
5900
5900
|
d.value = x, t("select", x, N, { index: x, indexPath: N });
|
|
5901
|
-
},
|
|
5901
|
+
}, O = (_) => {
|
|
5902
5902
|
const x = f.value, N = x[_] || d.value && x[d.value] || x[e.defaultActive];
|
|
5903
5903
|
N ? d.value = N.index : d.value = _;
|
|
5904
5904
|
}, M = () => {
|
|
@@ -5928,10 +5928,10 @@ var Tg = B({
|
|
|
5928
5928
|
F ? _() : y(_)(), F = !1;
|
|
5929
5929
|
};
|
|
5930
5930
|
Z(() => e.defaultActive, (_) => {
|
|
5931
|
-
f.value[_] || (d.value = ""),
|
|
5931
|
+
f.value[_] || (d.value = ""), O(_);
|
|
5932
5932
|
}), Z(() => e.collapse, (_) => {
|
|
5933
5933
|
_ && (u.value = []);
|
|
5934
|
-
}), Z(f.value,
|
|
5934
|
+
}), Z(f.value, h);
|
|
5935
5935
|
let k;
|
|
5936
5936
|
Me(() => {
|
|
5937
5937
|
e.mode === "horizontal" && e.ellipsis ? k = pi(a, z).stop : k == null || k();
|
|
@@ -5957,7 +5957,7 @@ var Tg = B({
|
|
|
5957
5957
|
},
|
|
5958
5958
|
addSubMenu: _,
|
|
5959
5959
|
removeSubMenu: x,
|
|
5960
|
-
openMenu:
|
|
5960
|
+
openMenu: v,
|
|
5961
5961
|
closeMenu: S,
|
|
5962
5962
|
handleMenuItemClick: $,
|
|
5963
5963
|
handleSubMenuClick: P
|
|
@@ -5973,9 +5973,9 @@ var Tg = B({
|
|
|
5973
5973
|
}), o({
|
|
5974
5974
|
open: (x) => {
|
|
5975
5975
|
const { indexPath: N } = g.value[x];
|
|
5976
|
-
N.forEach((U) =>
|
|
5976
|
+
N.forEach((U) => v(U, N));
|
|
5977
5977
|
},
|
|
5978
|
-
close:
|
|
5978
|
+
close: b,
|
|
5979
5979
|
handleResize: z
|
|
5980
5980
|
}), () => {
|
|
5981
5981
|
var _, x;
|
|
@@ -6058,7 +6058,7 @@ const Og = ue({
|
|
|
6058
6058
|
});
|
|
6059
6059
|
function $g(e, t, n, o, r, s) {
|
|
6060
6060
|
const a = rc("el-tooltip");
|
|
6061
|
-
return
|
|
6061
|
+
return T(), R("li", {
|
|
6062
6062
|
class: ae([
|
|
6063
6063
|
e.nsMenuItem.b(),
|
|
6064
6064
|
e.nsMenuItem.is("active", e.active),
|
|
@@ -6068,7 +6068,7 @@ function $g(e, t, n, o, r, s) {
|
|
|
6068
6068
|
tabindex: "-1",
|
|
6069
6069
|
onClick: t[0] || (t[0] = (...i) => e.handleClick && e.handleClick(...i))
|
|
6070
6070
|
}, [
|
|
6071
|
-
e.parentMenu.type.name === "ElMenu" && e.rootMenu.props.collapse && e.$slots.title ? (
|
|
6071
|
+
e.parentMenu.type.name === "ElMenu" && e.rootMenu.props.collapse && e.$slots.title ? (T(), X(a, {
|
|
6072
6072
|
key: 0,
|
|
6073
6073
|
effect: e.rootMenu.props.popperEffect,
|
|
6074
6074
|
placement: "right",
|
|
@@ -6079,14 +6079,14 @@ function $g(e, t, n, o, r, s) {
|
|
|
6079
6079
|
ee(e.$slots, "title")
|
|
6080
6080
|
]),
|
|
6081
6081
|
default: W(() => [
|
|
6082
|
-
|
|
6082
|
+
m("div", {
|
|
6083
6083
|
class: ae(e.nsMenu.be("tooltip", "trigger"))
|
|
6084
6084
|
}, [
|
|
6085
6085
|
ee(e.$slots, "default")
|
|
6086
6086
|
], 2)
|
|
6087
6087
|
]),
|
|
6088
6088
|
_: 3
|
|
6089
|
-
}, 8, ["effect"])) : (
|
|
6089
|
+
}, 8, ["effect"])) : (T(), R(re, { key: 1 }, [
|
|
6090
6090
|
ee(e.$slots, "default"),
|
|
6091
6091
|
ee(e.$slots, "title")
|
|
6092
6092
|
], 64))
|
|
@@ -6105,17 +6105,17 @@ const Mg = {
|
|
|
6105
6105
|
}
|
|
6106
6106
|
});
|
|
6107
6107
|
function Rg(e, t, n, o, r, s) {
|
|
6108
|
-
return
|
|
6108
|
+
return T(), R("li", {
|
|
6109
6109
|
class: ae(e.ns.b())
|
|
6110
6110
|
}, [
|
|
6111
|
-
|
|
6111
|
+
m("div", {
|
|
6112
6112
|
class: ae(e.ns.e("title"))
|
|
6113
6113
|
}, [
|
|
6114
|
-
e.$slots.title ? ee(e.$slots, "title", { key: 1 }) : (
|
|
6114
|
+
e.$slots.title ? ee(e.$slots, "title", { key: 1 }) : (T(), R(re, { key: 0 }, [
|
|
6115
6115
|
ce(Q(e.title), 1)
|
|
6116
6116
|
], 64))
|
|
6117
6117
|
], 2),
|
|
6118
|
-
|
|
6118
|
+
m("ul", null, [
|
|
6119
6119
|
ee(e.$slots, "default")
|
|
6120
6120
|
])
|
|
6121
6121
|
], 2);
|
|
@@ -6164,15 +6164,15 @@ function jg(e) {
|
|
|
6164
6164
|
const l = B({
|
|
6165
6165
|
name: "ElLoading",
|
|
6166
6166
|
setup(f, { expose: g }) {
|
|
6167
|
-
const { ns: p, zIndex:
|
|
6167
|
+
const { ns: p, zIndex: h } = Ji("loading");
|
|
6168
6168
|
return g({
|
|
6169
6169
|
ns: p,
|
|
6170
|
-
zIndex:
|
|
6170
|
+
zIndex: h
|
|
6171
6171
|
}), () => {
|
|
6172
|
-
const
|
|
6172
|
+
const v = o.spinner || o.svg, b = V("svg", {
|
|
6173
6173
|
class: "circular",
|
|
6174
6174
|
viewBox: o.svgViewBox ? o.svgViewBox : "0 0 50 50",
|
|
6175
|
-
...
|
|
6175
|
+
...v ? { innerHTML: v } : {}
|
|
6176
6176
|
}, [
|
|
6177
6177
|
V("circle", {
|
|
6178
6178
|
class: "path",
|
|
@@ -6199,7 +6199,7 @@ function jg(e) {
|
|
|
6199
6199
|
}, [
|
|
6200
6200
|
V("div", {
|
|
6201
6201
|
class: p.b("spinner")
|
|
6202
|
-
}, [
|
|
6202
|
+
}, [b, S])
|
|
6203
6203
|
]), [[Qt, o.visible]])
|
|
6204
6204
|
])
|
|
6205
6205
|
});
|
|
@@ -6411,23 +6411,23 @@ const vr = function(e = {}) {
|
|
|
6411
6411
|
const f = C(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), g = C(() => {
|
|
6412
6412
|
const y = n.type;
|
|
6413
6413
|
return { [r.bm("icon", y)]: y && Ks[y] };
|
|
6414
|
-
}), p = C(() => n.icon || Ks[n.type] || ""),
|
|
6415
|
-
top: `${
|
|
6414
|
+
}), p = C(() => n.icon || Ks[n.type] || ""), h = C(() => qg(n.id)), v = C(() => Wg(n.id, n.offset) + h.value), b = C(() => u.value + v.value), S = C(() => ({
|
|
6415
|
+
top: `${v.value}px`,
|
|
6416
6416
|
zIndex: a.value
|
|
6417
6417
|
}));
|
|
6418
6418
|
function P() {
|
|
6419
6419
|
n.duration !== 0 && ({ stop: d } = dr(() => {
|
|
6420
|
-
|
|
6420
|
+
O();
|
|
6421
6421
|
}, n.duration));
|
|
6422
6422
|
}
|
|
6423
6423
|
function $() {
|
|
6424
6424
|
d == null || d();
|
|
6425
6425
|
}
|
|
6426
|
-
function
|
|
6426
|
+
function O() {
|
|
6427
6427
|
l.value = !1;
|
|
6428
6428
|
}
|
|
6429
6429
|
function M({ code: y }) {
|
|
6430
|
-
y === ge.esc &&
|
|
6430
|
+
y === ge.esc && O();
|
|
6431
6431
|
}
|
|
6432
6432
|
return te(() => {
|
|
6433
6433
|
P(), i(), l.value = !0;
|
|
@@ -6437,16 +6437,16 @@ const vr = function(e = {}) {
|
|
|
6437
6437
|
u.value = c.value.getBoundingClientRect().height;
|
|
6438
6438
|
}), t({
|
|
6439
6439
|
visible: l,
|
|
6440
|
-
bottom:
|
|
6441
|
-
close:
|
|
6442
|
-
}), (y, F) => (
|
|
6440
|
+
bottom: b,
|
|
6441
|
+
close: O
|
|
6442
|
+
}), (y, F) => (T(), X(It, {
|
|
6443
6443
|
name: w(r).b("fade"),
|
|
6444
6444
|
onBeforeLeave: y.onClose,
|
|
6445
6445
|
onAfterLeave: F[0] || (F[0] = (z) => y.$emit("destroy")),
|
|
6446
6446
|
persisted: ""
|
|
6447
6447
|
}, {
|
|
6448
6448
|
default: W(() => [
|
|
6449
|
-
qe(
|
|
6449
|
+
qe(m("div", {
|
|
6450
6450
|
id: y.id,
|
|
6451
6451
|
ref_key: "messageRef",
|
|
6452
6452
|
ref: c,
|
|
@@ -6462,37 +6462,37 @@ const vr = function(e = {}) {
|
|
|
6462
6462
|
onMouseenter: $,
|
|
6463
6463
|
onMouseleave: P
|
|
6464
6464
|
}, [
|
|
6465
|
-
y.repeatNum > 1 ? (
|
|
6465
|
+
y.repeatNum > 1 ? (T(), X(w(zm), {
|
|
6466
6466
|
key: 0,
|
|
6467
6467
|
value: y.repeatNum,
|
|
6468
6468
|
type: w(f),
|
|
6469
6469
|
class: ae(w(r).e("badge"))
|
|
6470
6470
|
}, null, 8, ["value", "type", "class"])) : L("v-if", !0),
|
|
6471
|
-
w(p) ? (
|
|
6471
|
+
w(p) ? (T(), X(w(yo), {
|
|
6472
6472
|
key: 1,
|
|
6473
6473
|
class: ae([w(r).e("icon"), w(g)])
|
|
6474
6474
|
}, {
|
|
6475
6475
|
default: W(() => [
|
|
6476
|
-
(
|
|
6476
|
+
(T(), X(Tr(w(p))))
|
|
6477
6477
|
]),
|
|
6478
6478
|
_: 1
|
|
6479
6479
|
}, 8, ["class"])) : L("v-if", !0),
|
|
6480
6480
|
ee(y.$slots, "default", {}, () => [
|
|
6481
|
-
y.dangerouslyUseHTMLString ? (
|
|
6481
|
+
y.dangerouslyUseHTMLString ? (T(), R(re, { key: 1 }, [
|
|
6482
6482
|
L(" Caution here, message could've been compromised, never use user's input as message "),
|
|
6483
|
-
|
|
6483
|
+
m("p", {
|
|
6484
6484
|
class: ae(w(r).e("content")),
|
|
6485
6485
|
innerHTML: y.message
|
|
6486
6486
|
}, null, 10, Kg)
|
|
6487
|
-
], 2112)) : (
|
|
6487
|
+
], 2112)) : (T(), R("p", {
|
|
6488
6488
|
key: 0,
|
|
6489
6489
|
class: ae(w(r).e("content"))
|
|
6490
6490
|
}, Q(y.message), 3))
|
|
6491
6491
|
]),
|
|
6492
|
-
y.showClose ? (
|
|
6492
|
+
y.showClose ? (T(), X(w(yo), {
|
|
6493
6493
|
key: 2,
|
|
6494
6494
|
class: ae(w(r).e("closeBtn")),
|
|
6495
|
-
onClick: uo(
|
|
6495
|
+
onClick: uo(O, ["stop"])
|
|
6496
6496
|
}, {
|
|
6497
6497
|
default: W(() => [
|
|
6498
6498
|
ne(w(o))
|
|
@@ -6790,13 +6790,13 @@ function tr({ props: e, attrs: t, slots: n, slot: o, name: r }) {
|
|
|
6790
6790
|
if (l = bl(l ?? []), Object.keys(c).length > 0 || Object.keys(t).length > 0) {
|
|
6791
6791
|
let [d, ...f] = l ?? [];
|
|
6792
6792
|
if (!l0(d) || f.length > 0)
|
|
6793
|
-
throw new Error(['Passing props on "template"!', "", `The current component <${r} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(c).concat(Object.keys(t)).map((
|
|
6794
|
-
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((
|
|
6793
|
+
throw new Error(['Passing props on "template"!', "", `The current component <${r} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(c).concat(Object.keys(t)).map((h) => h.trim()).filter((h, v, b) => b.indexOf(h) === v).sort((h, v) => h.localeCompare(v)).map((h) => ` - ${h}`).join(`
|
|
6794
|
+
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((h) => ` - ${h}`).join(`
|
|
6795
6795
|
`)].join(`
|
|
6796
6796
|
`));
|
|
6797
6797
|
let g = yl((a = d.props) != null ? a : {}, c), p = ja(d, g);
|
|
6798
|
-
for (let
|
|
6799
|
-
|
|
6798
|
+
for (let h in g)
|
|
6799
|
+
h.startsWith("on") && (p.props || (p.props = {}), p.props[h] = g[h]);
|
|
6800
6800
|
return p;
|
|
6801
6801
|
}
|
|
6802
6802
|
return Array.isArray(l) && l.length === 1 ? l[0] : l;
|
|
@@ -7117,7 +7117,7 @@ let mn = Object.assign(B({ name: "FocusTrap", props: { as: { type: [Object, Stri
|
|
|
7117
7117
|
let c = ss();
|
|
7118
7118
|
function l(g) {
|
|
7119
7119
|
let p = D(r);
|
|
7120
|
-
p && ((
|
|
7120
|
+
p && ((h) => h())(() => {
|
|
7121
7121
|
ke(c.value, { [Ee.Forwards]: () => {
|
|
7122
7122
|
Le(p, he.First, { skipElements: [g.relatedTarget] });
|
|
7123
7123
|
}, [Ee.Backwards]: () => {
|
|
@@ -7136,12 +7136,12 @@ let mn = Object.assign(B({ name: "FocusTrap", props: { as: { type: [Object, Stri
|
|
|
7136
7136
|
return;
|
|
7137
7137
|
let p = Cl(e.containers);
|
|
7138
7138
|
D(r) instanceof HTMLElement && p.add(D(r));
|
|
7139
|
-
let
|
|
7140
|
-
|
|
7139
|
+
let h = g.relatedTarget;
|
|
7140
|
+
h instanceof HTMLElement && h.dataset.headlessuiFocusGuard !== "true" && (Ol(p, h) || (u.value ? Le(D(r), ke(c.value, { [Ee.Forwards]: () => he.Next, [Ee.Backwards]: () => he.Previous }) | he.WrapAround, { relativeTo: g.target }) : g.target instanceof HTMLElement && St(g.target)));
|
|
7141
7141
|
}
|
|
7142
7142
|
return () => {
|
|
7143
|
-
let g = {}, p = { ref: r, onKeydown: d, onFocusout: f }, { features:
|
|
7144
|
-
return V(re, [!!(
|
|
7143
|
+
let g = {}, p = { ref: r, onKeydown: d, onFocusout: f }, { features: h, initialFocus: v, containers: b, ...S } = e;
|
|
7144
|
+
return V(re, [!!(h & 4) && V(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: $t.Focusable }), me({ ourProps: p, theirProps: { ...t, ...S }, slot: g, attrs: t, slots: n, name: "FocusTrap" }), !!(h & 4) && V(Yt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: $t.Focusable })]);
|
|
7145
7145
|
};
|
|
7146
7146
|
} }), { features: Tl }), mt = [];
|
|
7147
7147
|
x0(() => {
|
|
@@ -7500,10 +7500,10 @@ let Zn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", z0 = B({ name: "Dialog", inheri
|
|
|
7500
7500
|
throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
7501
7501
|
if (typeof l.value != "boolean")
|
|
7502
7502
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === Zn ? void 0 : e.open}`);
|
|
7503
|
-
let f = C(() => a.value && l.value ? 0 : 1), g = C(() => f.value === 0), p = C(() => i.value > 1),
|
|
7503
|
+
let f = C(() => a.value && l.value ? 0 : 1), g = C(() => f.value === 0), p = C(() => i.value > 1), h = Y(Er, null) !== null, [v, b] = $l(), { resolveContainers: S, mainTreeNodeRef: P, MainTreeNode: $ } = Rl({ portals: v, defaultContainers: [C(() => {
|
|
7504
7504
|
var A;
|
|
7505
7505
|
return (A = N.panelRef.value) != null ? A : u.value;
|
|
7506
|
-
})] }),
|
|
7506
|
+
})] }), O = C(() => p.value ? "parent" : "leaf"), M = C(() => c !== null ? (c.value & Re.Closing) === Re.Closing : !1), y = C(() => h || M.value ? !1 : g.value), F = C(() => {
|
|
7507
7507
|
var A, j, J;
|
|
7508
7508
|
return (J = Array.from((j = (A = d.value) == null ? void 0 : A.querySelectorAll("body > *")) != null ? j : []).find((oe) => oe.id === "headlessui-portal-root" ? !1 : oe.contains(D(P)) && oe instanceof HTMLElement)) != null ? J : null;
|
|
7509
7509
|
});
|
|
@@ -7530,7 +7530,7 @@ let Zn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", z0 = B({ name: "Dialog", inheri
|
|
|
7530
7530
|
as((s = d.value) == null ? void 0 : s.defaultView, "keydown", (A) => {
|
|
7531
7531
|
q.value && (A.defaultPrevented || A.key === nt.Escape && (A.preventDefault(), A.stopPropagation(), N.close()));
|
|
7532
7532
|
});
|
|
7533
|
-
let H = C(() => !(M.value || f.value !== 0 ||
|
|
7533
|
+
let H = C(() => !(M.value || f.value !== 0 || h));
|
|
7534
7534
|
return B0(d, H, (A) => {
|
|
7535
7535
|
var j;
|
|
7536
7536
|
return { containers: [...(j = A.containers) != null ? j : [], S] };
|
|
@@ -7549,7 +7549,7 @@ let Zn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", z0 = B({ name: "Dialog", inheri
|
|
|
7549
7549
|
J.observe(j), A(() => J.disconnect());
|
|
7550
7550
|
}), () => {
|
|
7551
7551
|
let { id: A, open: j, initialFocus: J, ...oe } = e, Xe = { ...n, ref: u, id: A, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": x.value, "aria-describedby": _.value }, Ce = { open: f.value === 0 };
|
|
7552
|
-
return V(_r, { force: !0 }, () => [V(Al, () => V(P0, { target: u.value }, () => V(_r, { force: !1 }, () => V(mn, { initialFocus: J, containers: S, features: g.value ? ke(
|
|
7552
|
+
return V(_r, { force: !0 }, () => [V(Al, () => V(P0, { target: u.value }, () => V(_r, { force: !1 }, () => V(mn, { initialFocus: J, containers: S, features: g.value ? ke(O.value, { parent: mn.features.RestoreFocus, leaf: mn.features.All & ~mn.features.FocusLock }) : mn.features.None }, () => V(b, {}, () => me({ ourProps: Xe, theirProps: { ...oe, ...n }, slot: Ce, attrs: n, slots: o, visible: f.value === 0, features: At.RenderStrategy | At.Static, name: "Dialog" })))))), V($)]);
|
|
7553
7553
|
};
|
|
7554
7554
|
} });
|
|
7555
7555
|
B({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${Pe()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
@@ -7615,40 +7615,40 @@ let Bl = B({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
7615
7615
|
let s = I(null);
|
|
7616
7616
|
o({ el: s, $el: s });
|
|
7617
7617
|
let a = I(1), i = I(null), c = I(null), l = I(null), u = I(null), d = C(() => Ye(s)), f = C(() => {
|
|
7618
|
-
var
|
|
7618
|
+
var O, M;
|
|
7619
7619
|
if (!D(i) || !D(u))
|
|
7620
7620
|
return !1;
|
|
7621
7621
|
for (let N of document.querySelectorAll("body > *"))
|
|
7622
7622
|
if (Number(N == null ? void 0 : N.contains(D(i))) ^ Number(N == null ? void 0 : N.contains(D(u))))
|
|
7623
7623
|
return !0;
|
|
7624
7624
|
let y = Ro(), F = y.indexOf(D(i)), z = (F + y.length - 1) % y.length, k = (F + 1) % y.length, _ = y[z], x = y[k];
|
|
7625
|
-
return !((
|
|
7625
|
+
return !((O = D(u)) != null && O.contains(_)) && !((M = D(u)) != null && M.contains(x));
|
|
7626
7626
|
}), g = { popoverState: a, buttonId: I(null), panelId: I(null), panel: u, button: i, isPortalled: f, beforePanelSentinel: c, afterPanelSentinel: l, togglePopover() {
|
|
7627
7627
|
a.value = ke(a.value, { [0]: 1, [1]: 0 });
|
|
7628
7628
|
}, closePopover() {
|
|
7629
7629
|
a.value !== 1 && (a.value = 1);
|
|
7630
|
-
}, close(
|
|
7630
|
+
}, close(O) {
|
|
7631
7631
|
g.closePopover();
|
|
7632
|
-
let M = (() =>
|
|
7632
|
+
let M = (() => O ? O instanceof HTMLElement ? O : O.value instanceof HTMLElement ? D(O) : D(g.button) : D(g.button))();
|
|
7633
7633
|
M == null || M.focus();
|
|
7634
7634
|
} };
|
|
7635
7635
|
se(Ll, g), d0(C(() => ke(a.value, { [0]: Re.Open, [1]: Re.Closed })));
|
|
7636
7636
|
let p = { buttonId: g.buttonId, panelId: g.panelId, close() {
|
|
7637
7637
|
g.closePopover();
|
|
7638
|
-
} },
|
|
7638
|
+
} }, h = jl(), v = h == null ? void 0 : h.registerPopover, [b, S] = $l(), P = Rl({ portals: b, defaultContainers: [i, u] });
|
|
7639
7639
|
function $() {
|
|
7640
|
-
var
|
|
7641
|
-
return (F =
|
|
7640
|
+
var O, M, y, F;
|
|
7641
|
+
return (F = h == null ? void 0 : h.isFocusWithinPopoverGroup()) != null ? F : ((O = d.value) == null ? void 0 : O.activeElement) && (((M = D(i)) == null ? void 0 : M.contains(d.value.activeElement)) || ((y = D(u)) == null ? void 0 : y.contains(d.value.activeElement)));
|
|
7642
7642
|
}
|
|
7643
|
-
return Me(() =>
|
|
7643
|
+
return Me(() => v == null ? void 0 : v(p)), as((r = d.value) == null ? void 0 : r.defaultView, "focus", (O) => {
|
|
7644
7644
|
var M, y;
|
|
7645
|
-
|
|
7646
|
-
}, !0), El(P.resolveContainers, (
|
|
7645
|
+
O.target !== window && O.target instanceof HTMLElement && a.value === 0 && ($() || i && u && (P.contains(O.target) || (M = D(g.beforePanelSentinel)) != null && M.contains(O.target) || (y = D(g.afterPanelSentinel)) != null && y.contains(O.target) || g.closePopover()));
|
|
7646
|
+
}, !0), El(P.resolveContainers, (O, M) => {
|
|
7647
7647
|
var y;
|
|
7648
|
-
g.closePopover(), wl(M, rs.Loose) || (
|
|
7648
|
+
g.closePopover(), wl(M, rs.Loose) || (O.preventDefault(), (y = D(i)) == null || y.focus());
|
|
7649
7649
|
}, C(() => a.value === 0)), () => {
|
|
7650
|
-
let
|
|
7651
|
-
return V(S, {}, () => me({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot:
|
|
7650
|
+
let O = { open: a.value === 0, close: g.close };
|
|
7651
|
+
return V(S, {}, () => me({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: O, slots: t, attrs: n, name: "Popover" }));
|
|
7652
7652
|
};
|
|
7653
7653
|
} }), W0 = B({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${Pe()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
|
|
7654
7654
|
let r = Lo("PopoverButton"), s = C(() => Ye(r.button));
|
|
@@ -7663,14 +7663,14 @@ let Bl = B({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
7663
7663
|
});
|
|
7664
7664
|
let f = p0(C(() => ({ as: e.as, type: t.type })), u);
|
|
7665
7665
|
function g(P) {
|
|
7666
|
-
var $,
|
|
7666
|
+
var $, O, M, y, F;
|
|
7667
7667
|
if (l.value) {
|
|
7668
7668
|
if (r.popoverState.value === 1)
|
|
7669
7669
|
return;
|
|
7670
7670
|
switch (P.key) {
|
|
7671
7671
|
case nt.Space:
|
|
7672
7672
|
case nt.Enter:
|
|
7673
|
-
P.preventDefault(), (
|
|
7673
|
+
P.preventDefault(), (O = ($ = P.target).click) == null || O.call($), r.closePopover(), (M = D(r.button)) == null || M.focus();
|
|
7674
7674
|
break;
|
|
7675
7675
|
}
|
|
7676
7676
|
} else
|
|
@@ -7691,25 +7691,25 @@ let Bl = B({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
7691
7691
|
function p(P) {
|
|
7692
7692
|
l.value || P.key === nt.Space && P.preventDefault();
|
|
7693
7693
|
}
|
|
7694
|
-
function
|
|
7695
|
-
var $,
|
|
7696
|
-
e.disabled || (l.value ? (r.closePopover(), ($ = D(r.button)) == null || $.focus()) : (P.preventDefault(), P.stopPropagation(), r.popoverState.value === 1 && (i == null || i(r.buttonId.value)), r.togglePopover(), (
|
|
7694
|
+
function h(P) {
|
|
7695
|
+
var $, O;
|
|
7696
|
+
e.disabled || (l.value ? (r.closePopover(), ($ = D(r.button)) == null || $.focus()) : (P.preventDefault(), P.stopPropagation(), r.popoverState.value === 1 && (i == null || i(r.buttonId.value)), r.togglePopover(), (O = D(r.button)) == null || O.focus()));
|
|
7697
7697
|
}
|
|
7698
|
-
function
|
|
7698
|
+
function v(P) {
|
|
7699
7699
|
P.preventDefault(), P.stopPropagation();
|
|
7700
7700
|
}
|
|
7701
|
-
let
|
|
7701
|
+
let b = ss();
|
|
7702
7702
|
function S() {
|
|
7703
7703
|
let P = D(r.panel);
|
|
7704
7704
|
if (!P)
|
|
7705
7705
|
return;
|
|
7706
7706
|
function $() {
|
|
7707
|
-
ke(
|
|
7707
|
+
ke(b.value, { [Ee.Forwards]: () => Le(P, he.First), [Ee.Backwards]: () => Le(P, he.Last) }) === Pn.Error && Le(Ro().filter((O) => O.dataset.headlessuiFocusGuard !== "true"), ke(b.value, { [Ee.Forwards]: he.Next, [Ee.Backwards]: he.Previous }), { relativeTo: D(r.button) });
|
|
7708
7708
|
}
|
|
7709
7709
|
$();
|
|
7710
7710
|
}
|
|
7711
7711
|
return () => {
|
|
7712
|
-
let P = r.popoverState.value === 0, $ = { open: P }, { id:
|
|
7712
|
+
let P = r.popoverState.value === 0, $ = { open: P }, { id: O, ...M } = e, y = l.value ? { ref: u, type: f.value, onKeydown: g, onClick: h } : { ref: u, id: O, type: f.value, "aria-expanded": e.disabled ? void 0 : r.popoverState.value === 0, "aria-controls": D(r.panel) ? r.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: g, onKeyup: p, onClick: h, onMousedown: v };
|
|
7713
7713
|
return V(re, [me({ ourProps: y, theirProps: { ...t, ...M }, slot: $, attrs: t, slots: n, name: "PopoverButton" }), P && !l.value && r.isPortalled.value && V(Yt, { id: d, features: $t.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: S })]);
|
|
7714
7714
|
};
|
|
7715
7715
|
} });
|
|
@@ -7730,54 +7730,54 @@ let G0 = B({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
7730
7730
|
}), je(() => {
|
|
7731
7731
|
s.panelId.value = null;
|
|
7732
7732
|
}), se(Dl, s.panelId), Me(() => {
|
|
7733
|
-
var
|
|
7733
|
+
var v, b;
|
|
7734
7734
|
if (!r || s.popoverState.value !== 0 || !s.panel)
|
|
7735
7735
|
return;
|
|
7736
|
-
let S = (
|
|
7737
|
-
(
|
|
7736
|
+
let S = (v = a.value) == null ? void 0 : v.activeElement;
|
|
7737
|
+
(b = D(s.panel)) != null && b.contains(S) || Le(D(s.panel), he.First);
|
|
7738
7738
|
});
|
|
7739
7739
|
let l = os(), u = C(() => l !== null ? (l.value & Re.Open) === Re.Open : s.popoverState.value === 0);
|
|
7740
|
-
function d(
|
|
7741
|
-
var
|
|
7742
|
-
switch (
|
|
7740
|
+
function d(v) {
|
|
7741
|
+
var b, S;
|
|
7742
|
+
switch (v.key) {
|
|
7743
7743
|
case nt.Escape:
|
|
7744
|
-
if (s.popoverState.value !== 0 || !D(s.panel) || a.value && !((
|
|
7744
|
+
if (s.popoverState.value !== 0 || !D(s.panel) || a.value && !((b = D(s.panel)) != null && b.contains(a.value.activeElement)))
|
|
7745
7745
|
return;
|
|
7746
|
-
|
|
7746
|
+
v.preventDefault(), v.stopPropagation(), s.closePopover(), (S = D(s.button)) == null || S.focus();
|
|
7747
7747
|
break;
|
|
7748
7748
|
}
|
|
7749
7749
|
}
|
|
7750
|
-
function f(
|
|
7751
|
-
var
|
|
7752
|
-
let M =
|
|
7753
|
-
M && D(s.panel) && ((
|
|
7750
|
+
function f(v) {
|
|
7751
|
+
var b, S, P, $, O;
|
|
7752
|
+
let M = v.relatedTarget;
|
|
7753
|
+
M && D(s.panel) && ((b = D(s.panel)) != null && b.contains(M) || (s.closePopover(), ((P = (S = D(s.beforePanelSentinel)) == null ? void 0 : S.contains) != null && P.call(S, M) || (O = ($ = D(s.afterPanelSentinel)) == null ? void 0 : $.contains) != null && O.call($, M)) && M.focus({ preventScroll: !0 })));
|
|
7754
7754
|
}
|
|
7755
7755
|
let g = ss();
|
|
7756
7756
|
function p() {
|
|
7757
|
-
let
|
|
7758
|
-
if (!
|
|
7757
|
+
let v = D(s.panel);
|
|
7758
|
+
if (!v)
|
|
7759
7759
|
return;
|
|
7760
|
-
function
|
|
7760
|
+
function b() {
|
|
7761
7761
|
ke(g.value, { [Ee.Forwards]: () => {
|
|
7762
7762
|
var S;
|
|
7763
|
-
Le(
|
|
7763
|
+
Le(v, he.First) === Pn.Error && ((S = D(s.afterPanelSentinel)) == null || S.focus());
|
|
7764
7764
|
}, [Ee.Backwards]: () => {
|
|
7765
7765
|
var S;
|
|
7766
7766
|
(S = D(s.button)) == null || S.focus({ preventScroll: !0 });
|
|
7767
7767
|
} });
|
|
7768
7768
|
}
|
|
7769
|
-
|
|
7769
|
+
b();
|
|
7770
7770
|
}
|
|
7771
|
-
function
|
|
7772
|
-
let
|
|
7773
|
-
if (!
|
|
7771
|
+
function h() {
|
|
7772
|
+
let v = D(s.panel);
|
|
7773
|
+
if (!v)
|
|
7774
7774
|
return;
|
|
7775
|
-
function
|
|
7775
|
+
function b() {
|
|
7776
7776
|
ke(g.value, { [Ee.Forwards]: () => {
|
|
7777
7777
|
let S = D(s.button), P = D(s.panel);
|
|
7778
7778
|
if (!S)
|
|
7779
7779
|
return;
|
|
7780
|
-
let $ = Ro(),
|
|
7780
|
+
let $ = Ro(), O = $.indexOf(S), M = $.slice(0, O + 1), y = [...$.slice(O + 1), ...M];
|
|
7781
7781
|
for (let F of y.slice())
|
|
7782
7782
|
if (F.dataset.headlessuiFocusGuard === "true" || P != null && P.contains(F)) {
|
|
7783
7783
|
let z = y.indexOf(F);
|
|
@@ -7786,16 +7786,16 @@ let G0 = B({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
7786
7786
|
Le(y, he.First, { sorted: !1 });
|
|
7787
7787
|
}, [Ee.Backwards]: () => {
|
|
7788
7788
|
var S;
|
|
7789
|
-
Le(
|
|
7789
|
+
Le(v, he.Previous) === Pn.Error && ((S = D(s.button)) == null || S.focus());
|
|
7790
7790
|
} });
|
|
7791
7791
|
}
|
|
7792
|
-
|
|
7792
|
+
b();
|
|
7793
7793
|
}
|
|
7794
7794
|
return () => {
|
|
7795
|
-
let
|
|
7796
|
-
return me({ ourProps: $, theirProps: { ...t, ...P }, attrs: t, slot:
|
|
7795
|
+
let v = { open: s.popoverState.value === 0, close: s.close }, { id: b, focus: S, ...P } = e, $ = { ref: s.panel, id: b, onKeydown: d, onFocusout: r && s.popoverState.value === 0 ? f : void 0, tabIndex: -1 };
|
|
7796
|
+
return me({ ourProps: $, theirProps: { ...t, ...P }, attrs: t, slot: v, slots: { ...n, default: (...O) => {
|
|
7797
7797
|
var M;
|
|
7798
|
-
return [V(re, [u.value && s.isPortalled.value && V(Yt, { id: i, ref: s.beforePanelSentinel, features: $t.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p }), (M = n.default) == null ? void 0 : M.call(n, ...
|
|
7798
|
+
return [V(re, [u.value && s.isPortalled.value && V(Yt, { id: i, ref: s.beforePanelSentinel, features: $t.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p }), (M = n.default) == null ? void 0 : M.call(n, ...O), u.value && s.isPortalled.value && V(Yt, { id: c, ref: s.afterPanelSentinel, features: $t.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: h })])];
|
|
7799
7799
|
} }, features: At.RenderStrategy | At.Static, visible: u.value, name: "PopoverPanel" });
|
|
7800
7800
|
};
|
|
7801
7801
|
} });
|
|
@@ -7818,8 +7818,8 @@ B({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div"
|
|
|
7818
7818
|
return !1;
|
|
7819
7819
|
let g = f.activeElement;
|
|
7820
7820
|
return (d = D(r)) != null && d.contains(g) ? !0 : s.value.some((p) => {
|
|
7821
|
-
var
|
|
7822
|
-
return ((
|
|
7821
|
+
var h, v;
|
|
7822
|
+
return ((h = f.getElementById(p.buttonId.value)) == null ? void 0 : h.contains(g)) || ((v = f.getElementById(p.panelId.value)) == null ? void 0 : v.contains(g));
|
|
7823
7823
|
});
|
|
7824
7824
|
}
|
|
7825
7825
|
function u(d) {
|
|
@@ -7829,7 +7829,7 @@ B({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div"
|
|
|
7829
7829
|
return se(Fl, { registerPopover: c, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: u }), () => me({ ourProps: { ref: r }, theirProps: e, slot: {}, attrs: t, slots: n, name: "PopoverGroup" });
|
|
7830
7830
|
} });
|
|
7831
7831
|
function K0(e, t) {
|
|
7832
|
-
return
|
|
7832
|
+
return T(), R("svg", {
|
|
7833
7833
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7834
7834
|
fill: "none",
|
|
7835
7835
|
viewBox: "0 0 24 24",
|
|
@@ -7837,7 +7837,7 @@ function K0(e, t) {
|
|
|
7837
7837
|
stroke: "currentColor",
|
|
7838
7838
|
"aria-hidden": "true"
|
|
7839
7839
|
}, [
|
|
7840
|
-
|
|
7840
|
+
m("path", {
|
|
7841
7841
|
"stroke-linecap": "round",
|
|
7842
7842
|
"stroke-linejoin": "round",
|
|
7843
7843
|
d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
|
|
@@ -7845,7 +7845,7 @@ function K0(e, t) {
|
|
|
7845
7845
|
]);
|
|
7846
7846
|
}
|
|
7847
7847
|
function J0(e, t) {
|
|
7848
|
-
return
|
|
7848
|
+
return T(), R("svg", {
|
|
7849
7849
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7850
7850
|
fill: "none",
|
|
7851
7851
|
viewBox: "0 0 24 24",
|
|
@@ -7853,7 +7853,7 @@ function J0(e, t) {
|
|
|
7853
7853
|
stroke: "currentColor",
|
|
7854
7854
|
"aria-hidden": "true"
|
|
7855
7855
|
}, [
|
|
7856
|
-
|
|
7856
|
+
m("path", {
|
|
7857
7857
|
"stroke-linecap": "round",
|
|
7858
7858
|
"stroke-linejoin": "round",
|
|
7859
7859
|
d: "M6 18L18 6M6 6l12 12"
|
|
@@ -8095,13 +8095,13 @@ const Ft = (e, t) => {
|
|
|
8095
8095
|
});
|
|
8096
8096
|
}
|
|
8097
8097
|
}
|
|
8098
|
-
}, jt = (e) => (tn("data-v-4682235c"), e = e(), nn(), e), Y0 = { class: "login-wapper" }, X0 = /* @__PURE__ */ jt(() => /* @__PURE__ */
|
|
8098
|
+
}, jt = (e) => (tn("data-v-4682235c"), e = e(), nn(), e), Y0 = { class: "login-wapper" }, X0 = /* @__PURE__ */ jt(() => /* @__PURE__ */ m(
|
|
8099
8099
|
"span",
|
|
8100
8100
|
null,
|
|
8101
8101
|
"Login here",
|
|
8102
8102
|
-1
|
|
8103
8103
|
/* HOISTED */
|
|
8104
|
-
)), Q0 = /* @__PURE__ */ jt(() => /* @__PURE__ */
|
|
8104
|
+
)), Q0 = /* @__PURE__ */ jt(() => /* @__PURE__ */ m(
|
|
8105
8105
|
"span",
|
|
8106
8106
|
null,
|
|
8107
8107
|
"Sign up here",
|
|
@@ -8110,7 +8110,7 @@ const Ft = (e, t) => {
|
|
|
8110
8110
|
)), ev = { class: "accounts" }, tv = {
|
|
8111
8111
|
class: "account",
|
|
8112
8112
|
style: { position: "relative" }
|
|
8113
|
-
}, nv = /* @__PURE__ */ jt(() => /* @__PURE__ */
|
|
8113
|
+
}, nv = /* @__PURE__ */ jt(() => /* @__PURE__ */ m(
|
|
8114
8114
|
"div",
|
|
8115
8115
|
{ id: "buttonDiv" },
|
|
8116
8116
|
null,
|
|
@@ -8130,15 +8130,15 @@ const Ft = (e, t) => {
|
|
|
8130
8130
|
key: 1,
|
|
8131
8131
|
class: "lastLogin",
|
|
8132
8132
|
style: { transform: "translate(-50%, -150%)" }
|
|
8133
|
-
}, lv = /* @__PURE__ */ jt(() => /* @__PURE__ */
|
|
8133
|
+
}, lv = /* @__PURE__ */ jt(() => /* @__PURE__ */ m(
|
|
8134
8134
|
"div",
|
|
8135
8135
|
{ class: "divider" },
|
|
8136
8136
|
[
|
|
8137
|
-
/* @__PURE__ */
|
|
8137
|
+
/* @__PURE__ */ m("div", null, "Or Email")
|
|
8138
8138
|
],
|
|
8139
8139
|
-1
|
|
8140
8140
|
/* HOISTED */
|
|
8141
|
-
)), cv = { class: "form-group" }, uv = /* @__PURE__ */ jt(() => /* @__PURE__ */
|
|
8141
|
+
)), cv = { class: "form-group" }, uv = /* @__PURE__ */ jt(() => /* @__PURE__ */ m(
|
|
8142
8142
|
"label",
|
|
8143
8143
|
{ for: "user_email" },
|
|
8144
8144
|
"Email",
|
|
@@ -8150,13 +8150,13 @@ const Ft = (e, t) => {
|
|
|
8150
8150
|
}, pv = {
|
|
8151
8151
|
key: 0,
|
|
8152
8152
|
class: "form-group"
|
|
8153
|
-
}, fv = /* @__PURE__ */ jt(() => /* @__PURE__ */
|
|
8153
|
+
}, fv = /* @__PURE__ */ jt(() => /* @__PURE__ */ m(
|
|
8154
8154
|
"label",
|
|
8155
8155
|
{ for: "user_name" },
|
|
8156
8156
|
"Username",
|
|
8157
8157
|
-1
|
|
8158
8158
|
/* HOISTED */
|
|
8159
|
-
)), hv = { class: "form-group" }, mv = /* @__PURE__ */ jt(() => /* @__PURE__ */
|
|
8159
|
+
)), hv = { class: "form-group" }, mv = /* @__PURE__ */ jt(() => /* @__PURE__ */ m(
|
|
8160
8160
|
"label",
|
|
8161
8161
|
{ for: "user_password" },
|
|
8162
8162
|
"Password",
|
|
@@ -8170,22 +8170,22 @@ const Ft = (e, t) => {
|
|
|
8170
8170
|
class: "link"
|
|
8171
8171
|
}, xv = ["href"];
|
|
8172
8172
|
function Ev(e, t, n, o, r, s) {
|
|
8173
|
-
return
|
|
8174
|
-
|
|
8173
|
+
return T(), R("div", Y0, [
|
|
8174
|
+
m(
|
|
8175
8175
|
"h1",
|
|
8176
8176
|
null,
|
|
8177
8177
|
Q(r.isSignup ? "Sign Up With " + r.appName : "Welcome! Please Login"),
|
|
8178
8178
|
1
|
|
8179
8179
|
/* TEXT */
|
|
8180
8180
|
),
|
|
8181
|
-
r.isSignup ? (
|
|
8181
|
+
r.isSignup ? (T(), R("div", {
|
|
8182
8182
|
key: 0,
|
|
8183
8183
|
class: "link",
|
|
8184
8184
|
onClick: t[0] || (t[0] = (...a) => s.handleToLogin && s.handleToLogin(...a))
|
|
8185
8185
|
}, [
|
|
8186
8186
|
ce("Already registered? "),
|
|
8187
8187
|
X0
|
|
8188
|
-
])) : (
|
|
8188
|
+
])) : (T(), R("div", {
|
|
8189
8189
|
key: 1,
|
|
8190
8190
|
class: "link",
|
|
8191
8191
|
onClick: t[1] || (t[1] = (...a) => s.handleToSignup && s.handleToSignup(...a))
|
|
@@ -8197,14 +8197,14 @@ function Ev(e, t, n, o, r, s) {
|
|
|
8197
8197
|
),
|
|
8198
8198
|
Q0
|
|
8199
8199
|
])),
|
|
8200
|
-
|
|
8200
|
+
m("div", ev, [
|
|
8201
8201
|
L(` <div class="account">
|
|
8202
8202
|
<div class="fb-login-button" scope="public_profile,email" data-width="255px" data-size="large" data-button-type="login_with" data-layout="default" data-auto-logout-link="false" data-use-continue-as="false" data-onlogin="checkLoginState"></div>
|
|
8203
8203
|
</div> `),
|
|
8204
|
-
|
|
8204
|
+
m("div", tv, [
|
|
8205
8205
|
nv,
|
|
8206
|
-
r.lastLoginType == "google_login" && !r.isSignup ? (
|
|
8207
|
-
r.lastSignupType == "google_signup" && r.isSignup ? (
|
|
8206
|
+
r.lastLoginType == "google_login" && !r.isSignup ? (T(), R("div", ov, "Last Login")) : L("v-if", !0),
|
|
8207
|
+
r.lastSignupType == "google_signup" && r.isSignup ? (T(), R("div", rv, "Last Sign up")) : L("v-if", !0)
|
|
8208
8208
|
]),
|
|
8209
8209
|
L(' <div class="account flew-row-v-center" style="padding: 0 12px;border-radius: 4px;" @click="handleFbLogin"> '),
|
|
8210
8210
|
L(` <img class="img" src="https://statics.imgkits.com/images/facebook_logo.png" alt="facebook logo" width="24" height="24" style="width: 24pxheight: 24px;margin: 8px 8px 8px 12px;">
|
|
@@ -8213,14 +8213,14 @@ function Ev(e, t, n, o, r, s) {
|
|
|
8213
8213
|
L(' <div style="flex: 1;margin-left: 5px;font-size: 14px;font-weight: 500;">Login With Facebook</div> '),
|
|
8214
8214
|
L(" </div> ")
|
|
8215
8215
|
]),
|
|
8216
|
-
|
|
8217
|
-
r.lastLoginType == "email_login" && !r.isSignup ? (
|
|
8218
|
-
r.lastSignupType == "email_signup" && r.isSignup ? (
|
|
8216
|
+
m("div", sv, [
|
|
8217
|
+
r.lastLoginType == "email_login" && !r.isSignup ? (T(), R("div", av, "Last Login")) : L("v-if", !0),
|
|
8218
|
+
r.lastSignupType == "email_signup" && r.isSignup ? (T(), R("div", iv, "Last Sign up")) : L("v-if", !0),
|
|
8219
8219
|
lv,
|
|
8220
|
-
|
|
8221
|
-
|
|
8220
|
+
m("div", null, [
|
|
8221
|
+
m("div", cv, [
|
|
8222
8222
|
uv,
|
|
8223
|
-
qe(
|
|
8223
|
+
qe(m(
|
|
8224
8224
|
"input",
|
|
8225
8225
|
{
|
|
8226
8226
|
id: "user_email",
|
|
@@ -8235,7 +8235,7 @@ function Ev(e, t, n, o, r, s) {
|
|
|
8235
8235
|
), [
|
|
8236
8236
|
[Do, r.email]
|
|
8237
8237
|
]),
|
|
8238
|
-
r.emailErrorHelp ? (
|
|
8238
|
+
r.emailErrorHelp ? (T(), R(
|
|
8239
8239
|
"p",
|
|
8240
8240
|
dv,
|
|
8241
8241
|
Q(r.emailErrorHelp),
|
|
@@ -8243,9 +8243,9 @@ function Ev(e, t, n, o, r, s) {
|
|
|
8243
8243
|
/* TEXT */
|
|
8244
8244
|
)) : L("v-if", !0)
|
|
8245
8245
|
]),
|
|
8246
|
-
r.isSignup ? (
|
|
8246
|
+
r.isSignup ? (T(), R("div", pv, [
|
|
8247
8247
|
fv,
|
|
8248
|
-
qe(
|
|
8248
|
+
qe(m(
|
|
8249
8249
|
"input",
|
|
8250
8250
|
{
|
|
8251
8251
|
id: "user_name",
|
|
@@ -8259,10 +8259,10 @@ function Ev(e, t, n, o, r, s) {
|
|
|
8259
8259
|
[Do, r.name]
|
|
8260
8260
|
])
|
|
8261
8261
|
])) : L("v-if", !0),
|
|
8262
|
-
|
|
8262
|
+
m("div", hv, [
|
|
8263
8263
|
mv,
|
|
8264
8264
|
L(' <input id="user_password" type="password" v-model="password" @input="handleInput"> '),
|
|
8265
|
-
qe(
|
|
8265
|
+
qe(m(
|
|
8266
8266
|
"input",
|
|
8267
8267
|
{
|
|
8268
8268
|
id: "user_password",
|
|
@@ -8277,26 +8277,26 @@ function Ev(e, t, n, o, r, s) {
|
|
|
8277
8277
|
), [
|
|
8278
8278
|
[Do, r.password]
|
|
8279
8279
|
]),
|
|
8280
|
-
r.passwordErrorHelp ? (
|
|
8280
|
+
r.passwordErrorHelp ? (T(), R("p", gv, [
|
|
8281
8281
|
ce(
|
|
8282
8282
|
Q(r.passwordErrorHelp) + " ",
|
|
8283
8283
|
1
|
|
8284
8284
|
/* TEXT */
|
|
8285
8285
|
),
|
|
8286
|
-
r.errCode == 2 ? (
|
|
8287
|
-
|
|
8286
|
+
r.errCode == 2 ? (T(), R("span", vv, [
|
|
8287
|
+
m("a", {
|
|
8288
8288
|
href: r.childPath + "/user/resend-verify",
|
|
8289
8289
|
target: "_blank"
|
|
8290
8290
|
}, "Resend email", 8, bv)
|
|
8291
8291
|
])) : L("v-if", !0)
|
|
8292
8292
|
])) : L("v-if", !0)
|
|
8293
8293
|
]),
|
|
8294
|
-
r.isSignup ? (
|
|
8294
|
+
r.isSignup ? (T(), R("button", {
|
|
8295
8295
|
key: 1,
|
|
8296
8296
|
class: "form-button",
|
|
8297
8297
|
disabled: r.disabled,
|
|
8298
8298
|
onClick: t[8] || (t[8] = (...a) => s.handleSignup && s.handleSignup(...a))
|
|
8299
|
-
}, "Create Your Account", 8, yv)) : (
|
|
8299
|
+
}, "Create Your Account", 8, yv)) : (T(), R("button", {
|
|
8300
8300
|
key: 2,
|
|
8301
8301
|
class: "form-button",
|
|
8302
8302
|
disabled: r.disabled,
|
|
@@ -8304,8 +8304,8 @@ function Ev(e, t, n, o, r, s) {
|
|
|
8304
8304
|
}, "Login", 8, _v))
|
|
8305
8305
|
])
|
|
8306
8306
|
]),
|
|
8307
|
-
r.isSignup ? L("v-if", !0) : (
|
|
8308
|
-
|
|
8307
|
+
r.isSignup ? L("v-if", !0) : (T(), R("div", wv, [
|
|
8308
|
+
m("a", {
|
|
8309
8309
|
href: r.childPath + "/user/password-reset",
|
|
8310
8310
|
target: "_blank"
|
|
8311
8311
|
}, "Forgot your password?", 8, xv),
|
|
@@ -8336,7 +8336,7 @@ const Sv = {
|
|
|
8336
8336
|
this.$emit("close");
|
|
8337
8337
|
}
|
|
8338
8338
|
}
|
|
8339
|
-
}, kv = (e) => (tn("data-v-47199182"), e = e(), nn(), e), Cv = { class: "background-cover" }, Tv = { class: "login-content" }, Ov = /* @__PURE__ */ kv(() => /* @__PURE__ */
|
|
8339
|
+
}, kv = (e) => (tn("data-v-47199182"), e = e(), nn(), e), Cv = { class: "background-cover" }, Tv = { class: "login-content" }, Ov = /* @__PURE__ */ kv(() => /* @__PURE__ */ m(
|
|
8340
8340
|
"svg",
|
|
8341
8341
|
{
|
|
8342
8342
|
t: "1641536858080",
|
|
@@ -8349,7 +8349,7 @@ const Sv = {
|
|
|
8349
8349
|
height: "32"
|
|
8350
8350
|
},
|
|
8351
8351
|
[
|
|
8352
|
-
/* @__PURE__ */
|
|
8352
|
+
/* @__PURE__ */ m("path", {
|
|
8353
8353
|
d: "M512 455.431L794.843 172.59a8 8 0 0 1 11.313 0l45.255 45.255a8 8 0 0 1 0 11.313L568.57 512 851.41 794.843a8 8 0 0 1 0 11.313l-45.255 45.255a8 8 0 0 1-11.313 0L512 568.57 229.157 851.41a8 8 0 0 1-11.313 0l-45.255-45.255a8 8 0 0 1 0-11.313L455.43 512 172.59 229.157a8 8 0 0 1 0-11.313l45.255-45.255a8 8 0 0 1 11.313 0L512 455.43z",
|
|
8354
8354
|
"p-id": "1478",
|
|
8355
8355
|
fill: "#2c2c2c"
|
|
@@ -8362,10 +8362,10 @@ const Sv = {
|
|
|
8362
8362
|
];
|
|
8363
8363
|
function Av(e, t, n, o, r, s) {
|
|
8364
8364
|
const a = Hl;
|
|
8365
|
-
return
|
|
8366
|
-
|
|
8365
|
+
return T(), R("div", Cv, [
|
|
8366
|
+
m("div", Tv, [
|
|
8367
8367
|
ne(a, { onSuccess: s.handleLoginSuccess }, null, 8, ["onSuccess"]),
|
|
8368
|
-
|
|
8368
|
+
m("div", {
|
|
8369
8369
|
class: "cancel",
|
|
8370
8370
|
onClick: t[0] || (t[0] = (...i) => s.handleClose && s.handleClose(...i))
|
|
8371
8371
|
}, Pv)
|
|
@@ -8470,9 +8470,9 @@ function kr(e, t, n = {}, o, r, s) {
|
|
|
8470
8470
|
let l, u, d = [], f = [], g;
|
|
8471
8471
|
const p = o.state.value[e];
|
|
8472
8472
|
!s && !p && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
|
|
8473
|
-
const
|
|
8474
|
-
let
|
|
8475
|
-
function
|
|
8473
|
+
const h = I({});
|
|
8474
|
+
let v;
|
|
8475
|
+
function b(k) {
|
|
8476
8476
|
let _;
|
|
8477
8477
|
l = u = !1, process.env.NODE_ENV !== "production" && (g = []), typeof k == "function" ? (k(o.state.value[e]), _ = {
|
|
8478
8478
|
type: xn.patchFunction,
|
|
@@ -8484,9 +8484,9 @@ function kr(e, t, n = {}, o, r, s) {
|
|
|
8484
8484
|
storeId: e,
|
|
8485
8485
|
events: g
|
|
8486
8486
|
});
|
|
8487
|
-
const x =
|
|
8487
|
+
const x = v = Symbol();
|
|
8488
8488
|
Ge().then(() => {
|
|
8489
|
-
|
|
8489
|
+
v === x && (l = !0);
|
|
8490
8490
|
}), u = !0, Ht(d, _, o.state.value[e]);
|
|
8491
8491
|
}
|
|
8492
8492
|
const S = s ? function() {
|
|
@@ -8529,17 +8529,17 @@ function kr(e, t, n = {}, o, r, s) {
|
|
|
8529
8529
|
return A instanceof Promise ? A.then((j) => (Ht(N, j), j)).catch((j) => (Ht(U, j), Promise.reject(j))) : (Ht(N, A), A);
|
|
8530
8530
|
};
|
|
8531
8531
|
}
|
|
8532
|
-
const
|
|
8532
|
+
const O = /* @__PURE__ */ vn({
|
|
8533
8533
|
actions: {},
|
|
8534
8534
|
getters: {},
|
|
8535
8535
|
state: [],
|
|
8536
|
-
hotState:
|
|
8536
|
+
hotState: h
|
|
8537
8537
|
}), M = {
|
|
8538
8538
|
_p: o,
|
|
8539
8539
|
// _s: scope,
|
|
8540
8540
|
$id: e,
|
|
8541
8541
|
$onAction: $a.bind(null, f),
|
|
8542
|
-
$patch:
|
|
8542
|
+
$patch: b,
|
|
8543
8543
|
$reset: S,
|
|
8544
8544
|
$subscribe(k, _ = {}) {
|
|
8545
8545
|
const x = $a(d, k, _.detached, () => N()), N = a.run(() => Z(() => o.state.value[e], (U) => {
|
|
@@ -8554,7 +8554,7 @@ function kr(e, t, n = {}, o, r, s) {
|
|
|
8554
8554
|
$dispose: P
|
|
8555
8555
|
}, y = en(process.env.NODE_ENV !== "production" || or ? Te(
|
|
8556
8556
|
{
|
|
8557
|
-
_hmrPayload:
|
|
8557
|
+
_hmrPayload: O,
|
|
8558
8558
|
_customProperties: vn(/* @__PURE__ */ new Set())
|
|
8559
8559
|
// devtools custom properties
|
|
8560
8560
|
},
|
|
@@ -8567,23 +8567,23 @@ function kr(e, t, n = {}, o, r, s) {
|
|
|
8567
8567
|
for (const k in z) {
|
|
8568
8568
|
const _ = z[k];
|
|
8569
8569
|
if (kt(_) && !Ma(_) || Or(_))
|
|
8570
|
-
process.env.NODE_ENV !== "production" && r ? Bn(
|
|
8570
|
+
process.env.NODE_ENV !== "production" && r ? Bn(h.value, k, rt(z, k)) : s || (p && Rv(_) && (kt(_) ? _.value = p[k] : Sr(_, p[k])), o.state.value[e][k] = _), process.env.NODE_ENV !== "production" && O.state.push(k);
|
|
8571
8571
|
else if (typeof _ == "function") {
|
|
8572
8572
|
const x = process.env.NODE_ENV !== "production" && r ? _ : $(k, _);
|
|
8573
|
-
z[k] = x, process.env.NODE_ENV !== "production" && (
|
|
8573
|
+
z[k] = x, process.env.NODE_ENV !== "production" && (O.actions[k] = _), i.actions[k] = _;
|
|
8574
8574
|
} else
|
|
8575
|
-
process.env.NODE_ENV !== "production" && Ma(_) && (
|
|
8575
|
+
process.env.NODE_ENV !== "production" && Ma(_) && (O.getters[k] = s ? (
|
|
8576
8576
|
// @ts-expect-error
|
|
8577
8577
|
n.getters[k]
|
|
8578
8578
|
) : _, is && (z._getters || // @ts-expect-error: same
|
|
8579
8579
|
(z._getters = vn([]))).push(k));
|
|
8580
8580
|
}
|
|
8581
8581
|
if (Te(y, z), Te(cc(y), z), Object.defineProperty(y, "$state", {
|
|
8582
|
-
get: () => process.env.NODE_ENV !== "production" && r ?
|
|
8582
|
+
get: () => process.env.NODE_ENV !== "production" && r ? h.value : o.state.value[e],
|
|
8583
8583
|
set: (k) => {
|
|
8584
8584
|
if (process.env.NODE_ENV !== "production" && r)
|
|
8585
8585
|
throw new Error("cannot set hotState");
|
|
8586
|
-
|
|
8586
|
+
b((_) => {
|
|
8587
8587
|
Te(_, k);
|
|
8588
8588
|
});
|
|
8589
8589
|
}
|
|
@@ -8702,7 +8702,7 @@ const jv = Lv("user", {
|
|
|
8702
8702
|
if (i && (window.g_app_jwt = i), o) {
|
|
8703
8703
|
let { free_cnt: c, is_subscribed: l, detail: u, monthly_usage_cnt: d } = r;
|
|
8704
8704
|
console.log(r, "subscription"), console.log(d, "monthly_usage_cnt"), c || (c = 0), u && u.ends_at && (l = new Date(u.ends_at) > /* @__PURE__ */ new Date());
|
|
8705
|
-
const f = s && s.detail || null, g = f && !0 || !1, p = l && u.name || g && f.name || "",
|
|
8705
|
+
const f = s && s.detail || null, g = f && !0 || !1, p = l && u.name || g && f.name || "", h = {
|
|
8706
8706
|
...o,
|
|
8707
8707
|
free_cnt: c,
|
|
8708
8708
|
monthly_usage_cnt: d,
|
|
@@ -8713,7 +8713,7 @@ const jv = Lv("user", {
|
|
|
8713
8713
|
isMember: !l && s,
|
|
8714
8714
|
drive: a
|
|
8715
8715
|
};
|
|
8716
|
-
this.user =
|
|
8716
|
+
this.user = h, window.userStatus = h;
|
|
8717
8717
|
}
|
|
8718
8718
|
t({ profile: o, subscription: r, is_subscribed: this.user && this.user.is_subscribed });
|
|
8719
8719
|
}, (o) => {
|
|
@@ -8733,18 +8733,18 @@ const jv = Lv("user", {
|
|
|
8733
8733
|
const i = this.user && this.user.free_cnt || 0, c = () => {
|
|
8734
8734
|
Sa(n).then(({ profile: l, subscription: u, team_subscription: d, drive: f, jwt: g }) => {
|
|
8735
8735
|
g && (window.g_app_jwt = g);
|
|
8736
|
-
let { free_cnt: p, is_subscribed:
|
|
8737
|
-
p || (p = 0),
|
|
8738
|
-
const
|
|
8739
|
-
if (t == "purchase" ? p > i :
|
|
8740
|
-
const
|
|
8741
|
-
if (this.user =
|
|
8736
|
+
let { free_cnt: p, is_subscribed: h, detail: v } = u;
|
|
8737
|
+
p || (p = 0), v && v.ends_at && (h = new Date(v.ends_at) > /* @__PURE__ */ new Date());
|
|
8738
|
+
const b = d && d.detail || null, S = b && !0 || !1, P = h && v.name || S && b.name || "";
|
|
8739
|
+
if (t == "purchase" ? p > i : h || S) {
|
|
8740
|
+
const O = { ...l, free_cnt: p, is_subscribed: h || S, subscribedType: P, detail: v || b, team_subscription: d, isMember: !h && d, drive: f };
|
|
8741
|
+
if (this.user = O, window.userStatus = O, window.opener) {
|
|
8742
8742
|
const M = {
|
|
8743
8743
|
type: "subscribed"
|
|
8744
8744
|
// token: profile.token,
|
|
8745
8745
|
// expire_at: profile.expire_at
|
|
8746
8746
|
};
|
|
8747
|
-
ml({ message: M, user:
|
|
8747
|
+
ml({ message: M, user: O }, "subscribed:success"), window.opener.postMessage(M, process.env.NODE_ENV == "development" ? "http://localhost:8080" : "*");
|
|
8748
8748
|
}
|
|
8749
8749
|
s.close(), d && d.quota > 1 ? this.isShowInvite = !0 : (this.isShowToast = !0, this.toastContent = t == "purchase" ? "purchased credits" : "upgraded to a member", setTimeout(() => {
|
|
8750
8750
|
this.isShowToast = !1;
|
|
@@ -8869,21 +8869,29 @@ const Dv = {
|
|
|
8869
8869
|
},
|
|
8870
8870
|
async handleCancelSubscription() {
|
|
8871
8871
|
this.user.detail && this.user.detail.stripe_plan ? this.showStripeConfirmDialog = !0 : this.showCancelDialog = !0;
|
|
8872
|
+
},
|
|
8873
|
+
// 格式化日期显示
|
|
8874
|
+
formatDate(e) {
|
|
8875
|
+
return e ? new Date(e).toLocaleDateString("en-US", {
|
|
8876
|
+
year: "numeric",
|
|
8877
|
+
month: "long",
|
|
8878
|
+
day: "numeric"
|
|
8879
|
+
}) : "";
|
|
8872
8880
|
}
|
|
8873
8881
|
}
|
|
8874
|
-
}, at = (e) => (tn("data-v-8580ad75"), e = e(), nn(), e), Bv = /* @__PURE__ */ at(() => /* @__PURE__ */
|
|
8882
|
+
}, at = (e) => (tn("data-v-8580ad75"), e = e(), nn(), e), Bv = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
8875
8883
|
"div",
|
|
8876
8884
|
{ class: "cancel-dialog-header" },
|
|
8877
8885
|
[
|
|
8878
|
-
/* @__PURE__ */
|
|
8879
|
-
/* @__PURE__ */
|
|
8886
|
+
/* @__PURE__ */ m("div", { class: "warning-icon-wrapper" }, [
|
|
8887
|
+
/* @__PURE__ */ m("svg", {
|
|
8880
8888
|
width: "24",
|
|
8881
8889
|
height: "24",
|
|
8882
8890
|
viewBox: "0 0 24 24",
|
|
8883
8891
|
fill: "none",
|
|
8884
8892
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8885
8893
|
}, [
|
|
8886
|
-
/* @__PURE__ */
|
|
8894
|
+
/* @__PURE__ */ m("path", {
|
|
8887
8895
|
d: "M12 9V13M12 17H12.01M5.07183 19H18.9282C20.4678 19 21.4301 17.3333 20.6603 16L13.7321 4C12.9623 2.66667 11.0377 2.66667 10.2679 4L3.33975 16C2.56995 17.3333 3.53223 19 5.07183 19Z",
|
|
8888
8896
|
stroke: "#DC2626",
|
|
8889
8897
|
"stroke-width": "2",
|
|
@@ -8892,25 +8900,25 @@ const Dv = {
|
|
|
8892
8900
|
})
|
|
8893
8901
|
])
|
|
8894
8902
|
]),
|
|
8895
|
-
/* @__PURE__ */
|
|
8903
|
+
/* @__PURE__ */ m("h3", null, "Cancel Subscription")
|
|
8896
8904
|
],
|
|
8897
8905
|
-1
|
|
8898
8906
|
/* HOISTED */
|
|
8899
|
-
)), Hv = /* @__PURE__ */ at(() => /* @__PURE__ */
|
|
8907
|
+
)), Hv = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
8900
8908
|
"div",
|
|
8901
8909
|
{ class: "cancel-dialog-body" },
|
|
8902
8910
|
[
|
|
8903
|
-
/* @__PURE__ */
|
|
8904
|
-
/* @__PURE__ */
|
|
8905
|
-
/* @__PURE__ */
|
|
8906
|
-
/* @__PURE__ */
|
|
8911
|
+
/* @__PURE__ */ m("p", { class: "cancel-dialog-text" }, "Are you sure you want to cancel your subscription? This action cannot be undone."),
|
|
8912
|
+
/* @__PURE__ */ m("div", { class: "info-box" }, [
|
|
8913
|
+
/* @__PURE__ */ m("div", { class: "info-box-header" }, [
|
|
8914
|
+
/* @__PURE__ */ m("svg", {
|
|
8907
8915
|
width: "20",
|
|
8908
8916
|
height: "20",
|
|
8909
8917
|
viewBox: "0 0 24 24",
|
|
8910
8918
|
fill: "none",
|
|
8911
8919
|
xmlns: "http://www.w3.org/2000/svg"
|
|
8912
8920
|
}, [
|
|
8913
|
-
/* @__PURE__ */
|
|
8921
|
+
/* @__PURE__ */ m("path", {
|
|
8914
8922
|
d: "M12 9V13M12 17H12.01M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z",
|
|
8915
8923
|
stroke: "#F59E0B",
|
|
8916
8924
|
"stroke-width": "2",
|
|
@@ -8918,9 +8926,9 @@ const Dv = {
|
|
|
8918
8926
|
"stroke-linejoin": "round"
|
|
8919
8927
|
})
|
|
8920
8928
|
]),
|
|
8921
|
-
/* @__PURE__ */
|
|
8929
|
+
/* @__PURE__ */ m("span", null, "What happens next?")
|
|
8922
8930
|
]),
|
|
8923
|
-
/* @__PURE__ */
|
|
8931
|
+
/* @__PURE__ */ m("p", { class: "info-box-text" }, "You'll keep access to all premium features until the end of your current billing period.")
|
|
8924
8932
|
])
|
|
8925
8933
|
],
|
|
8926
8934
|
-1
|
|
@@ -8939,7 +8947,7 @@ const Uv = { class: "user-center-content" }, Vv = { class: "user-info flew-row-v
|
|
|
8939
8947
|
"p-id": "10206",
|
|
8940
8948
|
width: "32",
|
|
8941
8949
|
height: "32"
|
|
8942
|
-
}, Zv = /* @__PURE__ */ at(() => /* @__PURE__ */
|
|
8950
|
+
}, Zv = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
8943
8951
|
"path",
|
|
8944
8952
|
{
|
|
8945
8953
|
d: "M319.786667 74.666667h384.490666A85.333333 85.333333 0 0 1 772.266667 108.458667l207.594666 273.834666a85.333333 85.333333 0 0 1-6.592 110.805334L573.866667 907.136a85.333333 85.333333 0 0 1-122.688 0.149333L50.88 494.144a85.333333 85.333333 0 0 1-6.805333-110.826667L251.733333 108.544A85.333333 85.333333 0 0 1 319.786667 74.666667z",
|
|
@@ -8951,7 +8959,7 @@ const Uv = { class: "user-center-content" }, Vv = { class: "user-info flew-row-v
|
|
|
8951
8959
|
null,
|
|
8952
8960
|
-1
|
|
8953
8961
|
/* HOISTED */
|
|
8954
|
-
)), Yv = /* @__PURE__ */ at(() => /* @__PURE__ */
|
|
8962
|
+
)), Yv = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
8955
8963
|
"path",
|
|
8956
8964
|
{
|
|
8957
8965
|
d: "M685.482667 350.72a32 32 0 0 1 47.445333 42.816l-2.197333 2.432-196.096 196.096a32 32 0 0 1-42.837334 2.197333l-2.432-2.197333-196.096-196.096a32 32 0 0 1 42.816-47.466667l2.432 2.197334L512 524.181333l173.482667-173.482666z",
|
|
@@ -8974,7 +8982,7 @@ const Uv = { class: "user-center-content" }, Vv = { class: "user-info flew-row-v
|
|
|
8974
8982
|
"p-id": "8080",
|
|
8975
8983
|
width: "32",
|
|
8976
8984
|
height: "32"
|
|
8977
|
-
}, e1 = /* @__PURE__ */ at(() => /* @__PURE__ */
|
|
8985
|
+
}, e1 = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
8978
8986
|
"path",
|
|
8979
8987
|
{
|
|
8980
8988
|
d: "M957.942003 407.418107c4.937452-6.197142 4.954849-15.143908-0.297782-21.406542L718.393185 100.883665c-1.357927-1.623987-2.981914-2.916423-4.738931-3.89368-2.765997-5.600555-8.532327-9.42772-15.193027-9.42772L326.247924 87.562265c-6.329149 0-11.978822 3.612271-14.877849 8.930393-2.15406 0.994654-4.142343 2.469238-5.733585 4.391007L66.386478 386.011564c-3.048429 3.628644-4.340865 8.16803-3.90903 12.541641-0.464581 4.391007 0.794086 8.964162 3.859911 12.625552L501.444085 929.709497c5.997598 7.175423 16.634866 8.037047 23.825638 2.02103 3.13234-2.650363 5.086855-6.145977 5.799076-9.841136 0.38067-0.379647 0.762363-0.777713 1.110287-1.209548L953.899944 418.089144C956.533934 414.956803 957.859116 411.17978 957.942003 407.418107zM520.830621 727.291344 754.099409 449.304076c8.963139-10.686387 25.00244-12.06171 35.754319-3.032056 10.852162 9.096169 12.211113 25.035186 3.230578 35.755342L542.071388 781.172509c-5.418406 6.445806-13.387915 9.509585-21.240767 8.930393-7.837502 0.579191-15.807011-2.484587-21.224394-8.930393L248.57489 482.027361c-8.979512-10.720156-7.605212-26.659173 3.247974-35.755342 10.769274-9.029654 26.774807-7.65433 35.754319 3.032056L520.830621 727.291344z",
|
|
@@ -8986,29 +8994,35 @@ const Uv = { class: "user-center-content" }, Vv = { class: "user-info flew-row-v
|
|
|
8986
8994
|
/* HOISTED */
|
|
8987
8995
|
)), t1 = [
|
|
8988
8996
|
e1
|
|
8989
|
-
], n1 =
|
|
8997
|
+
], n1 = {
|
|
8998
|
+
key: 2,
|
|
8999
|
+
class: "subscription-ends-info"
|
|
9000
|
+
}, o1 = { class: "ends-text" }, r1 = ["href"], s1 = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
8990
9001
|
"button",
|
|
8991
9002
|
{ class: "upgrade_btn" },
|
|
8992
9003
|
[
|
|
8993
|
-
/* @__PURE__ */
|
|
9004
|
+
/* @__PURE__ */ m("span", { class: "text-white" }, "Upgrade")
|
|
8994
9005
|
],
|
|
8995
9006
|
-1
|
|
8996
9007
|
/* HOISTED */
|
|
8997
|
-
)),
|
|
8998
|
-
|
|
8999
|
-
],
|
|
9008
|
+
)), a1 = [
|
|
9009
|
+
s1
|
|
9010
|
+
], i1 = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
9000
9011
|
"span",
|
|
9001
9012
|
null,
|
|
9002
9013
|
"Cancel",
|
|
9003
9014
|
-1
|
|
9004
9015
|
/* HOISTED */
|
|
9005
|
-
)),
|
|
9006
|
-
|
|
9007
|
-
],
|
|
9016
|
+
)), l1 = [
|
|
9017
|
+
i1
|
|
9018
|
+
], c1 = {
|
|
9019
|
+
key: 2,
|
|
9020
|
+
class: "cancelled-badge"
|
|
9021
|
+
}, u1 = ["href"], d1 = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
9008
9022
|
"div",
|
|
9009
9023
|
{ class: "user-item user-item-active flew-row-v-center" },
|
|
9010
9024
|
[
|
|
9011
|
-
/* @__PURE__ */
|
|
9025
|
+
/* @__PURE__ */ m("svg", {
|
|
9012
9026
|
t: "1661398041322",
|
|
9013
9027
|
class: "user-item-icon dashboard-icon",
|
|
9014
9028
|
viewBox: "0 0 1024 1024",
|
|
@@ -9018,23 +9032,23 @@ const Uv = { class: "user-center-content" }, Vv = { class: "user-info flew-row-v
|
|
|
9018
9032
|
width: "32",
|
|
9019
9033
|
height: "32"
|
|
9020
9034
|
}, [
|
|
9021
|
-
/* @__PURE__ */
|
|
9035
|
+
/* @__PURE__ */ m("path", {
|
|
9022
9036
|
d: "M763.733333 554.666667H725.333333v-85.333334h38.4c-17.066667-106.666667-102.4-192-209.066666-209.066666V298.666667h-85.333334v-38.4c-106.666667 17.066667-192 102.4-209.066666 209.066666H298.666667v85.333334h-38.4c17.066667 106.666667 102.4 192 209.066666 209.066666V725.333333h85.333334v38.4c106.666667-17.066667 192-102.4 209.066666-209.066666zM512 853.333333c-187.733333 0-341.333333-153.6-341.333333-341.333333s153.6-341.333333 341.333333-341.333333 341.333333 153.6 341.333333 341.333333-153.6 341.333333-341.333333 341.333333z m132.266667-477.866666l-106.666667 196.266666-89.6-89.6 196.266667-106.666666z m-324.266667-25.6l29.866667-29.866667 29.866666 29.866667-29.866666 29.866666-29.866667-29.866666z m320 320l29.866667-29.866667 29.866666 29.866667-29.866666 29.866666-29.866667-29.866666z m29.866667-349.866667l29.866666 29.866667-29.866666 29.866666-29.866667-29.866666 29.866667-29.866667zM349.866667 640l29.866666 29.866667-29.866666 29.866666-29.866667-29.866666 29.866667-29.866667z",
|
|
9023
9037
|
fill: "#969696",
|
|
9024
9038
|
"p-id": "6707"
|
|
9025
9039
|
})
|
|
9026
9040
|
]),
|
|
9027
|
-
/* @__PURE__ */
|
|
9041
|
+
/* @__PURE__ */ m("span", null, "Dashboard")
|
|
9028
9042
|
],
|
|
9029
9043
|
-1
|
|
9030
9044
|
/* HOISTED */
|
|
9031
|
-
)),
|
|
9032
|
-
|
|
9033
|
-
],
|
|
9045
|
+
)), p1 = [
|
|
9046
|
+
d1
|
|
9047
|
+
], f1 = ["href"], h1 = /* @__PURE__ */ at(() => /* @__PURE__ */ m(
|
|
9034
9048
|
"div",
|
|
9035
9049
|
{ class: "user-item user-item-active flew-row-v-center" },
|
|
9036
9050
|
[
|
|
9037
|
-
/* @__PURE__ */
|
|
9051
|
+
/* @__PURE__ */ m("svg", {
|
|
9038
9052
|
t: "1637049676350",
|
|
9039
9053
|
class: "user-item-icon",
|
|
9040
9054
|
viewBox: "0 0 1025 1024",
|
|
@@ -9044,72 +9058,72 @@ const Uv = { class: "user-center-content" }, Vv = { class: "user-info flew-row-v
|
|
|
9044
9058
|
width: "32",
|
|
9045
9059
|
height: "32"
|
|
9046
9060
|
}, [
|
|
9047
|
-
/* @__PURE__ */
|
|
9061
|
+
/* @__PURE__ */ m("path", {
|
|
9048
9062
|
d: "M1001.65696 463.424l-332.224-332.416C648.76096 110.4 624.05696 104.256 598.52096 113.792c-26.176 9.856-41.152 33.28-41.216 64.384L557.30496 328.32 492.28096 328.32 305.65696 328.384C266.48896 328.512 239.16096 355.712 239.03296 394.624c-0.128 78.4-0.128 156.736 0 235.072 0.128 37.696 27.776 65.28 65.792 65.664l252.48 0.064L557.24096 724.48c-0.128 40.768-0.256 81.408 0.576 122.112 0.256 15.936 6.528 33.28 16.256 45.184 11.904 14.656 28.224 22.72 45.952 22.72l0 0c17.536 0 35.2-8 49.728-22.464 110.848-110.72 221.568-221.504 332.288-332.352C1031.60896 530.176 1031.48096 493.248 1001.65696 463.424z",
|
|
9049
9063
|
"p-id": "5499",
|
|
9050
9064
|
fill: "#969696"
|
|
9051
9065
|
}),
|
|
9052
|
-
/* @__PURE__ */
|
|
9066
|
+
/* @__PURE__ */ m("path", {
|
|
9053
9067
|
d: "M387.70496 805.696 387.64096 805.696l-72.576 0.128-103.872-0.064c-52.48 0-82.624-30.144-82.624-82.688L128.56896 300.48c0-52.416 30.144-82.496 82.752-82.496l68.8-0.064 75.584 0.064 42.048-0.064c30.08 0 46.528-15.104 48.896-44.8 0.896-11.072 0.64-22.336 0.256-34.88C446.13696 106.944 428.60096 89.664 397.68896 89.6L321.33696 89.6C280.44096 89.6 239.54496 89.6 198.71296 89.856 186.16896 89.92 173.30496 91.328 160.44096 94.08 68.21696 113.728 0.88896 196.416 0.37696 290.688 0.12096 341.504 0.18496 392.384 0.24896 443.136l0.064 67.648L0.18496 581.76C0.12096 632.768-0.00704 683.712 0.44096 734.784c0.896 107.776 88.768 197.056 195.904 199.04 26.368 0.512 52.8 0.64 79.168 0.64l125.376-0.256c24.768 0 42.112-15.04 45.184-39.232 1.088-8.832 1.216-17.856 1.28-26.88l0-4.48c0.128-13.312 0.256-31.552-12.544-44.48C422.45696 806.784 404.66496 805.696 387.70496 805.696z",
|
|
9054
9068
|
"p-id": "5500",
|
|
9055
9069
|
fill: "#969696"
|
|
9056
9070
|
})
|
|
9057
9071
|
]),
|
|
9058
|
-
/* @__PURE__ */
|
|
9072
|
+
/* @__PURE__ */ m("span", null, "Logout")
|
|
9059
9073
|
],
|
|
9060
9074
|
-1
|
|
9061
9075
|
/* HOISTED */
|
|
9062
|
-
)),
|
|
9063
|
-
|
|
9076
|
+
)), m1 = [
|
|
9077
|
+
h1
|
|
9064
9078
|
];
|
|
9065
|
-
function
|
|
9066
|
-
var a, i;
|
|
9067
|
-
return
|
|
9079
|
+
function g1(e, t, n, o, r, s) {
|
|
9080
|
+
var a, i, c, l, u, d, f, g, p, h;
|
|
9081
|
+
return T(), R(
|
|
9068
9082
|
re,
|
|
9069
9083
|
null,
|
|
9070
9084
|
[
|
|
9071
9085
|
L(" Stripe 取消订阅确认弹窗 - 使用 Teleport 渲染到 body "),
|
|
9072
|
-
(
|
|
9073
|
-
r.showStripeConfirmDialog ? (
|
|
9086
|
+
(T(), X(co, { to: "body" }, [
|
|
9087
|
+
r.showStripeConfirmDialog ? (T(), R("div", {
|
|
9074
9088
|
key: 0,
|
|
9075
9089
|
class: "cancel-dialog-overlay",
|
|
9076
|
-
onClick: t[3] || (t[3] = (...
|
|
9090
|
+
onClick: t[3] || (t[3] = (...v) => s.closeStripeConfirmDialog && s.closeStripeConfirmDialog(...v))
|
|
9077
9091
|
}, [
|
|
9078
|
-
|
|
9092
|
+
m("div", {
|
|
9079
9093
|
class: "cancel-dialog stripe-confirm-dialog",
|
|
9080
9094
|
onClick: t[2] || (t[2] = uo(() => {
|
|
9081
9095
|
}, ["stop"]))
|
|
9082
9096
|
}, [
|
|
9083
9097
|
Bv,
|
|
9084
9098
|
Hv,
|
|
9085
|
-
|
|
9086
|
-
|
|
9099
|
+
m("div", zv, [
|
|
9100
|
+
m("button", {
|
|
9087
9101
|
class: "dialog-btn close-btn",
|
|
9088
|
-
onClick: t[0] || (t[0] = (...
|
|
9102
|
+
onClick: t[0] || (t[0] = (...v) => s.closeStripeConfirmDialog && s.closeStripeConfirmDialog(...v))
|
|
9089
9103
|
}, "Close"),
|
|
9090
|
-
|
|
9104
|
+
m("button", {
|
|
9091
9105
|
class: "dialog-btn cancel-subscription-btn",
|
|
9092
|
-
onClick: t[1] || (t[1] = (...
|
|
9106
|
+
onClick: t[1] || (t[1] = (...v) => s.confirmStripeCancellation && s.confirmStripeCancellation(...v))
|
|
9093
9107
|
}, "Cancel Subscription")
|
|
9094
9108
|
])
|
|
9095
9109
|
])
|
|
9096
9110
|
])) : L("v-if", !0)
|
|
9097
9111
|
])),
|
|
9098
9112
|
L(" 非 Stripe 取消订阅弹窗 - 使用 Teleport 渲染到 body "),
|
|
9099
|
-
(
|
|
9113
|
+
(T(), X(co, { to: "body" }, [
|
|
9100
9114
|
L(" 非stripe 暂时关闭了 "),
|
|
9101
9115
|
(r.showCancelDialog, L("v-if", !0))
|
|
9102
9116
|
])),
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9117
|
+
m("div", Uv, [
|
|
9118
|
+
m("div", Vv, [
|
|
9119
|
+
m("img", {
|
|
9106
9120
|
class: "user-avatar",
|
|
9107
9121
|
src: n.user.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
|
|
9108
9122
|
alt: "user avatar"
|
|
9109
9123
|
}, null, 8, qv),
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9124
|
+
m("div", null, [
|
|
9125
|
+
m("div", Wv, [
|
|
9126
|
+
m(
|
|
9113
9127
|
"span",
|
|
9114
9128
|
null,
|
|
9115
9129
|
Q(n.user.username),
|
|
@@ -9117,8 +9131,8 @@ function f1(e, t, n, o, r, s) {
|
|
|
9117
9131
|
/* TEXT */
|
|
9118
9132
|
)
|
|
9119
9133
|
]),
|
|
9120
|
-
|
|
9121
|
-
|
|
9134
|
+
m("div", Gv, [
|
|
9135
|
+
m(
|
|
9122
9136
|
"span",
|
|
9123
9137
|
null,
|
|
9124
9138
|
Q(n.user.email),
|
|
@@ -9135,49 +9149,59 @@ function f1(e, t, n, o, r, s) {
|
|
|
9135
9149
|
</div>
|
|
9136
9150
|
<div class="user-upgrade user-buy-credit"><span>Buy credit</span></div>
|
|
9137
9151
|
</div> `),
|
|
9138
|
-
|
|
9152
|
+
m("div", {
|
|
9139
9153
|
class: "user-item flew-row-v-center space-between",
|
|
9140
|
-
onClick: t[9] || (t[9] = (...
|
|
9154
|
+
onClick: t[9] || (t[9] = (...v) => s.handlePay && s.handlePay(...v))
|
|
9141
9155
|
}, [
|
|
9142
|
-
|
|
9143
|
-
n.user.is_subscribed ? (
|
|
9144
|
-
|
|
9156
|
+
m("div", Kv, [
|
|
9157
|
+
n.user.is_subscribed ? (T(), R("svg", Jv, Xv)) : (T(), R("svg", Qv, t1)),
|
|
9158
|
+
m(
|
|
9145
9159
|
"span",
|
|
9146
9160
|
null,
|
|
9147
9161
|
"My Plan: " + Q(n.user.is_subscribed ? "Premium Plan" : "free"),
|
|
9148
9162
|
1
|
|
9149
9163
|
/* TEXT */
|
|
9150
|
-
)
|
|
9164
|
+
),
|
|
9165
|
+
(i = (a = n.user) == null ? void 0 : a.detail) != null && i.cancelled && ((l = (c = n.user) == null ? void 0 : c.detail) != null && l.ends_at) ? (T(), R("div", n1, [
|
|
9166
|
+
m(
|
|
9167
|
+
"span",
|
|
9168
|
+
o1,
|
|
9169
|
+
"Ends on " + Q(s.formatDate(n.user.detail.ends_at)),
|
|
9170
|
+
1
|
|
9171
|
+
/* TEXT */
|
|
9172
|
+
)
|
|
9173
|
+
])) : L("v-if", !0)
|
|
9151
9174
|
]),
|
|
9152
|
-
n.user.is_subscribed ? L("v-if", !0) : (
|
|
9175
|
+
n.user.is_subscribed ? L("v-if", !0) : (T(), R("a", {
|
|
9153
9176
|
key: 0,
|
|
9154
9177
|
href: r.path + "/pricing",
|
|
9155
9178
|
target: "_self"
|
|
9156
|
-
},
|
|
9157
|
-
n.user.is_subscribed && ((
|
|
9179
|
+
}, a1, 8, r1)),
|
|
9180
|
+
n.user.is_subscribed && ((d = (u = n.user) == null ? void 0 : u.detail) != null && d.stripe_plan) && !((g = (f = n.user) == null ? void 0 : f.detail) != null && g.cancelled) ? (T(), R("button", {
|
|
9158
9181
|
key: 1,
|
|
9159
9182
|
class: "cancel_btn text-md rounded-xl py-2",
|
|
9160
|
-
onClick: t[8] || (t[8] = (...
|
|
9161
|
-
},
|
|
9183
|
+
onClick: t[8] || (t[8] = (...v) => s.handleCancelSubscription && s.handleCancelSubscription(...v))
|
|
9184
|
+
}, l1)) : L("v-if", !0),
|
|
9185
|
+
n.user.is_subscribed && ((h = (p = n.user) == null ? void 0 : p.detail) != null && h.cancelled) ? (T(), R("span", c1, " Cancelled ")) : L("v-if", !0)
|
|
9162
9186
|
]),
|
|
9163
|
-
|
|
9187
|
+
m("a", {
|
|
9164
9188
|
href: r.path + "/dashboard",
|
|
9165
9189
|
target: "_blank"
|
|
9166
|
-
},
|
|
9167
|
-
|
|
9190
|
+
}, p1, 8, u1),
|
|
9191
|
+
m("a", {
|
|
9168
9192
|
rel: "nofollow",
|
|
9169
9193
|
href: r.path + "/user/logout"
|
|
9170
|
-
},
|
|
9194
|
+
}, m1, 8, f1)
|
|
9171
9195
|
])
|
|
9172
9196
|
],
|
|
9173
9197
|
64
|
|
9174
9198
|
/* STABLE_FRAGMENT */
|
|
9175
9199
|
);
|
|
9176
9200
|
}
|
|
9177
|
-
const Na = /* @__PURE__ */ Ft(Dv, [["render",
|
|
9178
|
-
const
|
|
9201
|
+
const Na = /* @__PURE__ */ Ft(Dv, [["render", g1], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
|
|
9202
|
+
const v1 = {
|
|
9179
9203
|
props: ["content", "top"]
|
|
9180
|
-
},
|
|
9204
|
+
}, b1 = (e) => (tn("data-v-7b6def48"), e = e(), nn(), e), y1 = /* @__PURE__ */ b1(() => /* @__PURE__ */ m(
|
|
9181
9205
|
"svg",
|
|
9182
9206
|
{
|
|
9183
9207
|
t: "1637907583780",
|
|
@@ -9189,7 +9213,7 @@ const h1 = {
|
|
|
9189
9213
|
height: "32"
|
|
9190
9214
|
},
|
|
9191
9215
|
[
|
|
9192
|
-
/* @__PURE__ */
|
|
9216
|
+
/* @__PURE__ */ m("path", {
|
|
9193
9217
|
d: "M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z m-114.176-310.954667a53.333333 53.333333 0 0 0 75.434667 0l323.328-323.328a53.333333 53.333333 0 1 0-75.434667-75.434666l-287.914667 283.306666-128.853333-128.853333a53.333333 53.333333 0 1 0-75.434667 75.434667l168.874667 168.874666z",
|
|
9194
9218
|
fill: "#ffffff",
|
|
9195
9219
|
"p-id": "2290"
|
|
@@ -9198,16 +9222,16 @@ const h1 = {
|
|
|
9198
9222
|
-1
|
|
9199
9223
|
/* HOISTED */
|
|
9200
9224
|
));
|
|
9201
|
-
function
|
|
9202
|
-
return
|
|
9225
|
+
function _1(e, t, n, o, r, s) {
|
|
9226
|
+
return T(), R(
|
|
9203
9227
|
"div",
|
|
9204
9228
|
{
|
|
9205
9229
|
class: "toast-wrapper",
|
|
9206
9230
|
style: An({ top: n.top || "60PX" })
|
|
9207
9231
|
},
|
|
9208
9232
|
[
|
|
9209
|
-
|
|
9210
|
-
|
|
9233
|
+
y1,
|
|
9234
|
+
m(
|
|
9211
9235
|
"span",
|
|
9212
9236
|
null,
|
|
9213
9237
|
"Congratulations! you have successfully " + Q(n.content) + ".",
|
|
@@ -9219,12 +9243,12 @@ function v1(e, t, n, o, r, s) {
|
|
|
9219
9243
|
/* STYLE */
|
|
9220
9244
|
);
|
|
9221
9245
|
}
|
|
9222
|
-
const
|
|
9223
|
-
const
|
|
9246
|
+
const w1 = /* @__PURE__ */ Ft(v1, [["render", _1], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
|
|
9247
|
+
const x1 = { class: "background-cover" }, E1 = /* @__PURE__ */ m(
|
|
9224
9248
|
"div",
|
|
9225
9249
|
{ class: "invite-success" },
|
|
9226
9250
|
[
|
|
9227
|
-
/* @__PURE__ */
|
|
9251
|
+
/* @__PURE__ */ m("svg", {
|
|
9228
9252
|
t: "1658474740344",
|
|
9229
9253
|
viewBox: "0 0 1024 1024",
|
|
9230
9254
|
version: "1.1",
|
|
@@ -9233,12 +9257,12 @@ const y1 = { class: "background-cover" }, _1 = /* @__PURE__ */ h(
|
|
|
9233
9257
|
width: "32",
|
|
9234
9258
|
height: "32"
|
|
9235
9259
|
}, [
|
|
9236
|
-
/* @__PURE__ */
|
|
9260
|
+
/* @__PURE__ */ m("path", {
|
|
9237
9261
|
d: "M512 57.677643C261.084506 57.677643 57.677643 261.084506 57.677643 512s203.406863 454.322357 454.322357 454.322357 454.322357-203.406863 454.322357-454.322357S762.915494 57.677643 512 57.677643z",
|
|
9238
9262
|
fill: "#89B7FF",
|
|
9239
9263
|
"p-id": "3983"
|
|
9240
9264
|
}),
|
|
9241
|
-
/* @__PURE__ */
|
|
9265
|
+
/* @__PURE__ */ m("path", {
|
|
9242
9266
|
d: "M574.292742 467.479958c98.402496-98.402496 199.008277-157.332187 224.708547-131.631916 25.706482 25.706482-33.222322 126.311376-131.626592 224.714759-69.494461 69.494461-140.091009 119.304873-184.627023 133.519306-5.030378 2.413588-10.914385 3.680721-17.476326 3.871501-5.891106 0.594523-11.002232 0.199653-15.218024-1.247611-31.752873-5.672818-73.424527-30.023432-111.022364-67.622156-58.328069-58.327182-84.768388-126.443591-59.068118-152.143862 25.706482-25.706482 93.822003 0.733837 152.150073 59.061907 16.800166 16.800166 30.956035 34.414031 41.981338 51.592208 24.079085-36.552541 58.614683-78.530329 100.199376-120.114136z",
|
|
9243
9267
|
fill: "#FFFFFF",
|
|
9244
9268
|
"p-id": "3984"
|
|
@@ -9247,37 +9271,37 @@ const y1 = { class: "background-cover" }, _1 = /* @__PURE__ */ h(
|
|
|
9247
9271
|
],
|
|
9248
9272
|
-1
|
|
9249
9273
|
/* HOISTED */
|
|
9250
|
-
),
|
|
9274
|
+
), S1 = /* @__PURE__ */ m(
|
|
9251
9275
|
"div",
|
|
9252
9276
|
{ class: "invite-title" },
|
|
9253
9277
|
[
|
|
9254
|
-
/* @__PURE__ */
|
|
9278
|
+
/* @__PURE__ */ m("span", null, "Successfully subscribed!")
|
|
9255
9279
|
],
|
|
9256
9280
|
-1
|
|
9257
9281
|
/* HOISTED */
|
|
9258
|
-
),
|
|
9282
|
+
), k1 = /* @__PURE__ */ m(
|
|
9259
9283
|
"p",
|
|
9260
9284
|
{ class: "invite-desc" },
|
|
9261
9285
|
"You have successfully subscribed to the business plan and now you have the right to add licenses for partners.",
|
|
9262
9286
|
-1
|
|
9263
9287
|
/* HOISTED */
|
|
9264
|
-
),
|
|
9288
|
+
), C1 = /* @__PURE__ */ m(
|
|
9265
9289
|
"span",
|
|
9266
9290
|
null,
|
|
9267
9291
|
"Invite Partners Now",
|
|
9268
9292
|
-1
|
|
9269
9293
|
/* HOISTED */
|
|
9270
|
-
),
|
|
9271
|
-
|
|
9272
|
-
],
|
|
9294
|
+
), T1 = [
|
|
9295
|
+
C1
|
|
9296
|
+
], O1 = /* @__PURE__ */ m(
|
|
9273
9297
|
"span",
|
|
9274
9298
|
null,
|
|
9275
9299
|
"Invite Later",
|
|
9276
9300
|
-1
|
|
9277
9301
|
/* HOISTED */
|
|
9278
|
-
),
|
|
9279
|
-
|
|
9280
|
-
],
|
|
9302
|
+
), P1 = [
|
|
9303
|
+
O1
|
|
9304
|
+
], A1 = {
|
|
9281
9305
|
__name: "TeamInvite",
|
|
9282
9306
|
emits: ["cancel"],
|
|
9283
9307
|
setup(e, { emit: t }) {
|
|
@@ -9286,46 +9310,46 @@ const y1 = { class: "background-cover" }, _1 = /* @__PURE__ */ h(
|
|
|
9286
9310
|
}, r = () => {
|
|
9287
9311
|
t("cancel");
|
|
9288
9312
|
};
|
|
9289
|
-
return (s, a) => (
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9313
|
+
return (s, a) => (T(), R("div", x1, [
|
|
9314
|
+
m("div", { class: "invite-dialog" }, [
|
|
9315
|
+
E1,
|
|
9316
|
+
S1,
|
|
9317
|
+
k1,
|
|
9318
|
+
m("div", null, [
|
|
9319
|
+
m("div", {
|
|
9296
9320
|
class: "button button-up",
|
|
9297
9321
|
onClick: o
|
|
9298
|
-
},
|
|
9299
|
-
|
|
9322
|
+
}, T1),
|
|
9323
|
+
m("div", {
|
|
9300
9324
|
class: "button button-down",
|
|
9301
9325
|
onClick: r
|
|
9302
|
-
},
|
|
9326
|
+
}, P1)
|
|
9303
9327
|
])
|
|
9304
9328
|
])
|
|
9305
9329
|
]));
|
|
9306
9330
|
}
|
|
9307
|
-
},
|
|
9308
|
-
function
|
|
9309
|
-
return
|
|
9331
|
+
}, $1 = /* @__PURE__ */ Ft(A1, [["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
|
|
9332
|
+
function M1(e, t) {
|
|
9333
|
+
return T(), R("svg", {
|
|
9310
9334
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9311
9335
|
viewBox: "0 0 20 20",
|
|
9312
9336
|
fill: "currentColor",
|
|
9313
9337
|
"aria-hidden": "true"
|
|
9314
9338
|
}, [
|
|
9315
|
-
|
|
9339
|
+
m("path", {
|
|
9316
9340
|
"fill-rule": "evenodd",
|
|
9317
9341
|
d: "M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",
|
|
9318
9342
|
"clip-rule": "evenodd"
|
|
9319
9343
|
})
|
|
9320
9344
|
]);
|
|
9321
9345
|
}
|
|
9322
|
-
const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e),
|
|
9346
|
+
const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), I1 = /* @__PURE__ */ Rn(() => /* @__PURE__ */ m(
|
|
9323
9347
|
"span",
|
|
9324
9348
|
null,
|
|
9325
9349
|
"Our other apps",
|
|
9326
9350
|
-1
|
|
9327
9351
|
/* HOISTED */
|
|
9328
|
-
)),
|
|
9352
|
+
)), N1 = /* @__PURE__ */ Rn(() => /* @__PURE__ */ m(
|
|
9329
9353
|
"img",
|
|
9330
9354
|
{
|
|
9331
9355
|
src: "https://statics.imgkits.com/lsl_ali_icon4392779680.png ",
|
|
@@ -9334,7 +9358,7 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9334
9358
|
null,
|
|
9335
9359
|
-1
|
|
9336
9360
|
/* HOISTED */
|
|
9337
|
-
)),
|
|
9361
|
+
)), R1 = ["href"], L1 = ["src"], F1 = { class: "flex flex-col pl-1" }, j1 = { class: "text-lg font-semibold" }, D1 = { class: "text-gray-500 font-semibold text-sm truncate w-52" }, B1 = /* @__PURE__ */ Rn(() => /* @__PURE__ */ m(
|
|
9338
9362
|
"img",
|
|
9339
9363
|
{
|
|
9340
9364
|
style: { width: "20px", height: "20px", marginRight: "8px" },
|
|
@@ -9344,13 +9368,13 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9344
9368
|
null,
|
|
9345
9369
|
-1
|
|
9346
9370
|
/* HOISTED */
|
|
9347
|
-
)),
|
|
9371
|
+
)), H1 = ["href"], z1 = ["src"], U1 = {
|
|
9348
9372
|
key: 1,
|
|
9349
9373
|
class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
|
|
9350
|
-
},
|
|
9374
|
+
}, V1 = {
|
|
9351
9375
|
key: 2,
|
|
9352
9376
|
class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
|
|
9353
|
-
},
|
|
9377
|
+
}, q1 = /* @__PURE__ */ Rn(() => /* @__PURE__ */ m(
|
|
9354
9378
|
"svg",
|
|
9355
9379
|
{
|
|
9356
9380
|
class: "inline-block mr-2",
|
|
@@ -9362,46 +9386,46 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9362
9386
|
width: "20"
|
|
9363
9387
|
},
|
|
9364
9388
|
[
|
|
9365
|
-
/* @__PURE__ */
|
|
9389
|
+
/* @__PURE__ */ m("path", {
|
|
9366
9390
|
"data-v-8a1f9b8f": "",
|
|
9367
9391
|
d: "M0 0h192v192H0z",
|
|
9368
9392
|
fill: "none"
|
|
9369
9393
|
}),
|
|
9370
|
-
/* @__PURE__ */
|
|
9371
|
-
/* @__PURE__ */
|
|
9394
|
+
/* @__PURE__ */ m("defs", { "data-v-8a1f9b8f": "" }, [
|
|
9395
|
+
/* @__PURE__ */ m("path", {
|
|
9372
9396
|
"data-v-8a1f9b8f": "",
|
|
9373
9397
|
d: "M8 20v140c0 6.6 5.4 12 12 12h152c6.6 0 12-5.4 12-12V20H8zm108 32H76c-4.42 0-8-3.58-8-8s3.58-8 8-8h40c4.42 0 8 3.58 8 8s-3.58 8-8 8z",
|
|
9374
9398
|
id: "a"
|
|
9375
9399
|
})
|
|
9376
9400
|
]),
|
|
9377
|
-
/* @__PURE__ */
|
|
9401
|
+
/* @__PURE__ */ m("clipPath", {
|
|
9378
9402
|
"data-v-8a1f9b8f": "",
|
|
9379
9403
|
id: "b"
|
|
9380
9404
|
}, [
|
|
9381
|
-
/* @__PURE__ */
|
|
9405
|
+
/* @__PURE__ */ m("use", {
|
|
9382
9406
|
"data-v-8a1f9b8f": "",
|
|
9383
9407
|
overflow: "visible",
|
|
9384
9408
|
"xlink:href": "#a"
|
|
9385
9409
|
})
|
|
9386
9410
|
]),
|
|
9387
|
-
/* @__PURE__ */
|
|
9411
|
+
/* @__PURE__ */ m("path", {
|
|
9388
9412
|
"data-v-8a1f9b8f": "",
|
|
9389
9413
|
"clip-path": "url(#b)",
|
|
9390
9414
|
d: "M8 20h176v152H8z",
|
|
9391
9415
|
fill: "#eee"
|
|
9392
9416
|
}),
|
|
9393
|
-
/* @__PURE__ */
|
|
9417
|
+
/* @__PURE__ */ m("path", {
|
|
9394
9418
|
"data-v-8a1f9b8f": "",
|
|
9395
9419
|
"clip-path": "url(#b)",
|
|
9396
9420
|
d: "M116 36H76c-4.42 0-8 3.58-8 8s3.58 8 8 8h40c4.42 0 8-3.58 8-8s-3.58-8-8-8z",
|
|
9397
9421
|
fill: "#fff"
|
|
9398
9422
|
}),
|
|
9399
|
-
/* @__PURE__ */
|
|
9423
|
+
/* @__PURE__ */ m("g", {
|
|
9400
9424
|
"data-v-8a1f9b8f": "",
|
|
9401
9425
|
"clip-path": "url(#b)"
|
|
9402
9426
|
}, [
|
|
9403
|
-
/* @__PURE__ */
|
|
9404
|
-
/* @__PURE__ */
|
|
9427
|
+
/* @__PURE__ */ m("defs", { "data-v-8a1f9b8f": "" }, [
|
|
9428
|
+
/* @__PURE__ */ m("circle", {
|
|
9405
9429
|
"data-v-8a1f9b8f": "",
|
|
9406
9430
|
cx: "96",
|
|
9407
9431
|
cy: "160",
|
|
@@ -9409,46 +9433,46 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9409
9433
|
r: "76"
|
|
9410
9434
|
})
|
|
9411
9435
|
]),
|
|
9412
|
-
/* @__PURE__ */
|
|
9436
|
+
/* @__PURE__ */ m("clipPath", {
|
|
9413
9437
|
"data-v-8a1f9b8f": "",
|
|
9414
9438
|
id: "d"
|
|
9415
9439
|
}, [
|
|
9416
|
-
/* @__PURE__ */
|
|
9440
|
+
/* @__PURE__ */ m("use", {
|
|
9417
9441
|
"data-v-8a1f9b8f": "",
|
|
9418
9442
|
overflow: "visible",
|
|
9419
9443
|
"xlink:href": "#c"
|
|
9420
9444
|
})
|
|
9421
9445
|
]),
|
|
9422
|
-
/* @__PURE__ */
|
|
9446
|
+
/* @__PURE__ */ m("path", {
|
|
9423
9447
|
"data-v-8a1f9b8f": "",
|
|
9424
9448
|
"clip-path": "url(#d)",
|
|
9425
9449
|
d: "M32.07 84v93.27h34.01L96 125.45h76V84zm0 0v93.27h34.01L96 125.45h76V84z",
|
|
9426
9450
|
fill: "#DB4437"
|
|
9427
9451
|
}),
|
|
9428
|
-
/* @__PURE__ */
|
|
9452
|
+
/* @__PURE__ */ m("path", {
|
|
9429
9453
|
"data-v-8a1f9b8f": "",
|
|
9430
9454
|
"clip-path": "url(#d)",
|
|
9431
9455
|
d: "M20 236h72.34l33.58-33.58v-25.14l-59.84-.01L20 98.24zm0 0h72.34l33.58-33.58v-25.14l-59.84-.01L20 98.24z",
|
|
9432
9456
|
fill: "#0F9D58"
|
|
9433
9457
|
}),
|
|
9434
|
-
/* @__PURE__ */
|
|
9458
|
+
/* @__PURE__ */ m("path", {
|
|
9435
9459
|
"data-v-8a1f9b8f": "",
|
|
9436
9460
|
"clip-path": "url(#d)",
|
|
9437
9461
|
d: "M96 125.45l29.92 51.82L92.35 236H172V125.45zm0 0l29.92 51.82L92.35 236H172V125.45z",
|
|
9438
9462
|
fill: "#FFCD40"
|
|
9439
9463
|
}),
|
|
9440
|
-
/* @__PURE__ */
|
|
9464
|
+
/* @__PURE__ */ m("g", {
|
|
9441
9465
|
"data-v-8a1f9b8f": "",
|
|
9442
9466
|
"clip-path": "url(#d)"
|
|
9443
9467
|
}, [
|
|
9444
|
-
/* @__PURE__ */
|
|
9468
|
+
/* @__PURE__ */ m("circle", {
|
|
9445
9469
|
"data-v-8a1f9b8f": "",
|
|
9446
9470
|
cx: "96",
|
|
9447
9471
|
cy: "160",
|
|
9448
9472
|
fill: "#F1F1F1",
|
|
9449
9473
|
r: "34.55"
|
|
9450
9474
|
}),
|
|
9451
|
-
/* @__PURE__ */
|
|
9475
|
+
/* @__PURE__ */ m("circle", {
|
|
9452
9476
|
"data-v-8a1f9b8f": "",
|
|
9453
9477
|
cx: "96",
|
|
9454
9478
|
cy: "160",
|
|
@@ -9457,38 +9481,38 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9457
9481
|
})
|
|
9458
9482
|
])
|
|
9459
9483
|
]),
|
|
9460
|
-
/* @__PURE__ */
|
|
9484
|
+
/* @__PURE__ */ m("path", {
|
|
9461
9485
|
"data-v-8a1f9b8f": "",
|
|
9462
9486
|
"clip-path": "url(#b)",
|
|
9463
9487
|
d: "M8 20h176v76H8z",
|
|
9464
9488
|
fill: "#212121",
|
|
9465
9489
|
"fill-opacity": ".05"
|
|
9466
9490
|
}),
|
|
9467
|
-
/* @__PURE__ */
|
|
9491
|
+
/* @__PURE__ */ m("path", {
|
|
9468
9492
|
"data-v-8a1f9b8f": "",
|
|
9469
9493
|
d: "M8 95h176v1H8z",
|
|
9470
9494
|
fill: "#212121",
|
|
9471
9495
|
"fill-opacity": ".02"
|
|
9472
9496
|
}),
|
|
9473
|
-
/* @__PURE__ */
|
|
9497
|
+
/* @__PURE__ */ m("path", {
|
|
9474
9498
|
"data-v-8a1f9b8f": "",
|
|
9475
9499
|
d: "M8 96h176v1H8z",
|
|
9476
9500
|
fill: "#fff",
|
|
9477
9501
|
"fill-opacity": ".05"
|
|
9478
9502
|
}),
|
|
9479
|
-
/* @__PURE__ */
|
|
9503
|
+
/* @__PURE__ */ m("path", {
|
|
9480
9504
|
"data-v-8a1f9b8f": "",
|
|
9481
9505
|
d: "M116 52H76c-4.25 0-7.72-3.32-7.97-7.5-.02.17-.03.33-.03.5 0 4.42 3.58 8 8 8h40c4.42 0 8-3.58 8-8 0-.17-.01-.33-.03-.5-.25 4.18-3.72 7.5-7.97 7.5zM8 20v1h176v-1H8z",
|
|
9482
9506
|
fill: "#212121",
|
|
9483
9507
|
"fill-opacity": ".02"
|
|
9484
9508
|
}),
|
|
9485
|
-
/* @__PURE__ */
|
|
9509
|
+
/* @__PURE__ */ m("path", {
|
|
9486
9510
|
"data-v-8a1f9b8f": "",
|
|
9487
9511
|
d: "M76 36h40c4.25 0 7.72 3.32 7.97 7.5.01-.17.03-.33.03-.5 0-4.42-3.58-8-8-8H76c-4.42 0-8 3.58-8 8 0 .17.01.33.03.5.25-4.18 3.72-7.5 7.97-7.5zm96 135H20c-6.6 0-12-5.4-12-12v1c0 6.6 5.4 12 12 12h152c6.6 0 12-5.4 12-12v-1c0 6.6-5.4 12-12 12z",
|
|
9488
9512
|
fill: "#231F20",
|
|
9489
9513
|
"fill-opacity": ".1"
|
|
9490
9514
|
}),
|
|
9491
|
-
/* @__PURE__ */
|
|
9515
|
+
/* @__PURE__ */ m("radialGradient", {
|
|
9492
9516
|
"data-v-8a1f9b8f": "",
|
|
9493
9517
|
cx: "7.502",
|
|
9494
9518
|
cy: "19.344",
|
|
@@ -9496,20 +9520,20 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9496
9520
|
id: "e",
|
|
9497
9521
|
r: "227.596"
|
|
9498
9522
|
}, [
|
|
9499
|
-
/* @__PURE__ */
|
|
9523
|
+
/* @__PURE__ */ m("stop", {
|
|
9500
9524
|
"data-v-8a1f9b8f": "",
|
|
9501
9525
|
offset: "0",
|
|
9502
9526
|
"stop-color": "#fff",
|
|
9503
9527
|
"stop-opacity": ".1"
|
|
9504
9528
|
}),
|
|
9505
|
-
/* @__PURE__ */
|
|
9529
|
+
/* @__PURE__ */ m("stop", {
|
|
9506
9530
|
"data-v-8a1f9b8f": "",
|
|
9507
9531
|
offset: "1",
|
|
9508
9532
|
"stop-color": "#fff",
|
|
9509
9533
|
"stop-opacity": "0"
|
|
9510
9534
|
})
|
|
9511
9535
|
]),
|
|
9512
|
-
/* @__PURE__ */
|
|
9536
|
+
/* @__PURE__ */ m("path", {
|
|
9513
9537
|
"data-v-8a1f9b8f": "",
|
|
9514
9538
|
d: "M8 20v140c0 6.6 5.4 12 12 12h152c6.6 0 12-5.4 12-12V20H8zm108 32H76c-4.42 0-8-3.58-8-8s3.58-8 8-8h40c4.42 0 8 3.58 8 8s-3.58 8-8 8z",
|
|
9515
9539
|
fill: "url(#e)"
|
|
@@ -9517,13 +9541,13 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9517
9541
|
],
|
|
9518
9542
|
-1
|
|
9519
9543
|
/* HOISTED */
|
|
9520
|
-
)),
|
|
9544
|
+
)), W1 = ["href"], G1 = ["src"], K1 = {
|
|
9521
9545
|
key: 1,
|
|
9522
9546
|
class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
|
|
9523
|
-
},
|
|
9547
|
+
}, J1 = {
|
|
9524
9548
|
key: 2,
|
|
9525
9549
|
class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
|
|
9526
|
-
},
|
|
9550
|
+
}, Z1 = /* @__PURE__ */ Rn(() => /* @__PURE__ */ m(
|
|
9527
9551
|
"img",
|
|
9528
9552
|
{
|
|
9529
9553
|
style: { width: "20px", height: "20px", marginRight: "8px" },
|
|
@@ -9533,13 +9557,13 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9533
9557
|
null,
|
|
9534
9558
|
-1
|
|
9535
9559
|
/* HOISTED */
|
|
9536
|
-
)),
|
|
9560
|
+
)), Y1 = ["href"], X1 = ["src"], Q1 = {
|
|
9537
9561
|
key: 1,
|
|
9538
9562
|
class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
|
|
9539
|
-
},
|
|
9563
|
+
}, eb = {
|
|
9540
9564
|
key: 2,
|
|
9541
9565
|
class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
|
|
9542
|
-
},
|
|
9566
|
+
}, tb = {
|
|
9543
9567
|
__name: "MobileMoreApps",
|
|
9544
9568
|
props: {
|
|
9545
9569
|
hotApps: Array,
|
|
@@ -9554,7 +9578,7 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9554
9578
|
t.value = n.searchParams.get("from") || null;
|
|
9555
9579
|
}), (n, o) => {
|
|
9556
9580
|
const r = Fg, s = fg, a = lg;
|
|
9557
|
-
return
|
|
9581
|
+
return T(), X(a, { class: "tac" }, {
|
|
9558
9582
|
default: W(() => [
|
|
9559
9583
|
ne(s, { span: 12 }, {
|
|
9560
9584
|
default: W(() => [
|
|
@@ -9566,50 +9590,50 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9566
9590
|
index: "1"
|
|
9567
9591
|
}, {
|
|
9568
9592
|
title: W(() => [
|
|
9569
|
-
|
|
9593
|
+
I1
|
|
9570
9594
|
]),
|
|
9571
9595
|
default: W(() => [
|
|
9572
9596
|
ne(r, { index: "1-1" }, {
|
|
9573
9597
|
title: W(() => [
|
|
9574
|
-
|
|
9598
|
+
N1,
|
|
9575
9599
|
ce(" Hot Tools ")
|
|
9576
9600
|
]),
|
|
9577
9601
|
default: W(() => [
|
|
9578
|
-
(
|
|
9602
|
+
(T(!0), R(
|
|
9579
9603
|
re,
|
|
9580
9604
|
null,
|
|
9581
|
-
Ve(e.hotApps, (i, c) => (
|
|
9605
|
+
Ve(e.hotApps, (i, c) => (T(), X(w(Kn), {
|
|
9582
9606
|
class: "hot_item",
|
|
9583
9607
|
index: "1-1-" + c
|
|
9584
9608
|
}, {
|
|
9585
9609
|
default: W(() => [
|
|
9586
|
-
|
|
9610
|
+
m("a", {
|
|
9587
9611
|
target: "_blank",
|
|
9588
9612
|
href: i.app_url + (t.value ? "?from=" + t.value : ""),
|
|
9589
9613
|
class: "cursor-pointer flex items-center bg-gradient-to-r h-24 mb-6 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-96 p-3"
|
|
9590
9614
|
}, [
|
|
9591
|
-
|
|
9615
|
+
m("img", {
|
|
9592
9616
|
style: { height: "64px", width: "64px", marginRight: "4px", borderRadius: "4px" },
|
|
9593
9617
|
class: "h-16 w-16 mr-1 rounded",
|
|
9594
9618
|
src: i.icon
|
|
9595
|
-
}, null, 8,
|
|
9596
|
-
|
|
9597
|
-
|
|
9619
|
+
}, null, 8, L1),
|
|
9620
|
+
m("div", F1, [
|
|
9621
|
+
m(
|
|
9598
9622
|
"h3",
|
|
9599
|
-
|
|
9623
|
+
j1,
|
|
9600
9624
|
Q(i.name),
|
|
9601
9625
|
1
|
|
9602
9626
|
/* TEXT */
|
|
9603
9627
|
),
|
|
9604
|
-
|
|
9628
|
+
m(
|
|
9605
9629
|
"div",
|
|
9606
|
-
|
|
9630
|
+
D1,
|
|
9607
9631
|
Q(i.desc),
|
|
9608
9632
|
1
|
|
9609
9633
|
/* TEXT */
|
|
9610
9634
|
)
|
|
9611
9635
|
])
|
|
9612
|
-
], 8,
|
|
9636
|
+
], 8, R1)
|
|
9613
9637
|
]),
|
|
9614
9638
|
_: 2
|
|
9615
9639
|
/* DYNAMIC */
|
|
@@ -9623,36 +9647,36 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9623
9647
|
}),
|
|
9624
9648
|
ne(r, { index: "1-2" }, {
|
|
9625
9649
|
title: W(() => [
|
|
9626
|
-
|
|
9650
|
+
B1,
|
|
9627
9651
|
ce(" Google Workspace Tools ")
|
|
9628
9652
|
]),
|
|
9629
9653
|
default: W(() => [
|
|
9630
|
-
(
|
|
9654
|
+
(T(!0), R(
|
|
9631
9655
|
re,
|
|
9632
9656
|
null,
|
|
9633
|
-
Ve(e.workspaceTools, (i, c) => (
|
|
9657
|
+
Ve(e.workspaceTools, (i, c) => (T(), X(w(Kn), {
|
|
9634
9658
|
class: "flex items-center",
|
|
9635
9659
|
index: "1-2-" + c
|
|
9636
9660
|
}, {
|
|
9637
9661
|
default: W(() => [
|
|
9638
|
-
|
|
9662
|
+
m("a", {
|
|
9639
9663
|
href: t.value ? i.url + "?from=" + t.value : i.url,
|
|
9640
9664
|
class: "flex w-full items-center font-normal hover:underline p-2 hover:text-indigo-600",
|
|
9641
9665
|
target: "_blank"
|
|
9642
9666
|
}, [
|
|
9643
|
-
i.icon ? (
|
|
9667
|
+
i.icon ? (T(), R("img", {
|
|
9644
9668
|
key: 0,
|
|
9645
9669
|
class: "h-4 mr-2 w-4 inline-block",
|
|
9646
9670
|
src: i.icon
|
|
9647
|
-
}, null, 8,
|
|
9671
|
+
}, null, 8, z1)) : L("v-if", !0),
|
|
9648
9672
|
ce(
|
|
9649
9673
|
" " + Q(i.name) + " ",
|
|
9650
9674
|
1
|
|
9651
9675
|
/* TEXT */
|
|
9652
9676
|
),
|
|
9653
|
-
i.type == 1 ? (
|
|
9654
|
-
i.type == 2 ? (
|
|
9655
|
-
], 8,
|
|
9677
|
+
i.type == 1 ? (T(), R("span", U1, "Hot")) : L("v-if", !0),
|
|
9678
|
+
i.type == 2 ? (T(), R("span", V1, "AI")) : L("v-if", !0)
|
|
9679
|
+
], 8, H1)
|
|
9656
9680
|
]),
|
|
9657
9681
|
_: 2
|
|
9658
9682
|
/* DYNAMIC */
|
|
@@ -9666,36 +9690,36 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9666
9690
|
}),
|
|
9667
9691
|
ne(r, { index: "1-3" }, {
|
|
9668
9692
|
title: W(() => [
|
|
9669
|
-
|
|
9693
|
+
q1,
|
|
9670
9694
|
ce(" Chrome Extensions ")
|
|
9671
9695
|
]),
|
|
9672
9696
|
default: W(() => [
|
|
9673
|
-
(
|
|
9697
|
+
(T(!0), R(
|
|
9674
9698
|
re,
|
|
9675
9699
|
null,
|
|
9676
|
-
Ve(e.chrome_addon_tools, (i, c) => (
|
|
9700
|
+
Ve(e.chrome_addon_tools, (i, c) => (T(), X(w(Kn), {
|
|
9677
9701
|
class: "flex items-center",
|
|
9678
9702
|
index: "1-3-" + c
|
|
9679
9703
|
}, {
|
|
9680
9704
|
default: W(() => [
|
|
9681
|
-
|
|
9705
|
+
m("a", {
|
|
9682
9706
|
href: i.chrome_addon_url,
|
|
9683
9707
|
class: "w-full flex items-center font-normal hover:underline p-2 hover:text-indigo-600",
|
|
9684
9708
|
target: "_blank"
|
|
9685
9709
|
}, [
|
|
9686
|
-
i.icon ? (
|
|
9710
|
+
i.icon ? (T(), R("img", {
|
|
9687
9711
|
key: 0,
|
|
9688
9712
|
class: "h-4 mr-2 w-4 inline-block",
|
|
9689
9713
|
src: i.icon
|
|
9690
|
-
}, null, 8,
|
|
9714
|
+
}, null, 8, G1)) : L("v-if", !0),
|
|
9691
9715
|
ce(
|
|
9692
9716
|
" " + Q(i.name) + " ",
|
|
9693
9717
|
1
|
|
9694
9718
|
/* TEXT */
|
|
9695
9719
|
),
|
|
9696
|
-
i.type == 1 ? (
|
|
9697
|
-
i.type == 2 ? (
|
|
9698
|
-
], 8,
|
|
9720
|
+
i.type == 1 ? (T(), R("span", K1, "Hot")) : L("v-if", !0),
|
|
9721
|
+
i.type == 2 ? (T(), R("span", J1, "AI")) : L("v-if", !0)
|
|
9722
|
+
], 8, W1)
|
|
9699
9723
|
]),
|
|
9700
9724
|
_: 2
|
|
9701
9725
|
/* DYNAMIC */
|
|
@@ -9709,36 +9733,36 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9709
9733
|
}),
|
|
9710
9734
|
ne(r, { index: "1-4" }, {
|
|
9711
9735
|
title: W(() => [
|
|
9712
|
-
|
|
9736
|
+
Z1,
|
|
9713
9737
|
ce(" Edge Extensions ")
|
|
9714
9738
|
]),
|
|
9715
9739
|
default: W(() => [
|
|
9716
|
-
(
|
|
9740
|
+
(T(!0), R(
|
|
9717
9741
|
re,
|
|
9718
9742
|
null,
|
|
9719
|
-
Ve(e.edge_addon_tools, (i, c) => (
|
|
9743
|
+
Ve(e.edge_addon_tools, (i, c) => (T(), X(w(Kn), {
|
|
9720
9744
|
class: "flex items-center",
|
|
9721
9745
|
index: "1-4-" + c
|
|
9722
9746
|
}, {
|
|
9723
9747
|
default: W(() => [
|
|
9724
|
-
|
|
9748
|
+
m("a", {
|
|
9725
9749
|
href: i.edge_addon_url,
|
|
9726
9750
|
class: "w-full flex items-center font-normal hover:underline p-2 hover:text-indigo-600",
|
|
9727
9751
|
target: "_blank"
|
|
9728
9752
|
}, [
|
|
9729
|
-
i.icon ? (
|
|
9753
|
+
i.icon ? (T(), R("img", {
|
|
9730
9754
|
key: 0,
|
|
9731
9755
|
class: "h-4 mr-2 w-4 inline-block",
|
|
9732
9756
|
src: i.icon
|
|
9733
|
-
}, null, 8,
|
|
9757
|
+
}, null, 8, X1)) : L("v-if", !0),
|
|
9734
9758
|
ce(
|
|
9735
9759
|
" " + Q(i.name) + " ",
|
|
9736
9760
|
1
|
|
9737
9761
|
/* TEXT */
|
|
9738
9762
|
),
|
|
9739
|
-
i.type == 1 ? (
|
|
9740
|
-
i.type == 2 ? (
|
|
9741
|
-
], 8,
|
|
9763
|
+
i.type == 1 ? (T(), R("span", Q1, "Hot")) : L("v-if", !0),
|
|
9764
|
+
i.type == 2 ? (T(), R("span", eb, "AI")) : L("v-if", !0)
|
|
9765
|
+
], 8, Y1)
|
|
9742
9766
|
]),
|
|
9743
9767
|
_: 2
|
|
9744
9768
|
/* DYNAMIC */
|
|
@@ -9768,33 +9792,33 @@ const Rn = (e) => (tn("data-v-b9e2cd3f"), e = e(), nn(), e), A1 = /* @__PURE__ *
|
|
|
9768
9792
|
});
|
|
9769
9793
|
};
|
|
9770
9794
|
}
|
|
9771
|
-
},
|
|
9772
|
-
const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e),
|
|
9795
|
+
}, nb = /* @__PURE__ */ Ft(tb, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
|
|
9796
|
+
const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), ob = {
|
|
9773
9797
|
class: "flex items-center justify-between py-6 lg:px-0 px-6",
|
|
9774
9798
|
"aria-label": "Global"
|
|
9775
|
-
},
|
|
9799
|
+
}, rb = { class: "flex lg:flex-1" }, sb = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
9776
9800
|
"span",
|
|
9777
9801
|
{ class: "hidden items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" },
|
|
9778
9802
|
null,
|
|
9779
9803
|
-1
|
|
9780
9804
|
/* HOISTED */
|
|
9781
|
-
)),
|
|
9805
|
+
)), ab = ["href"], ib = ["src", "alt"], lb = { class: "pl-2 text-xl" }, cb = { class: "flex lg:hidden" }, ub = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
9782
9806
|
"span",
|
|
9783
9807
|
{ class: "sr-only" },
|
|
9784
9808
|
"Open main menu",
|
|
9785
9809
|
-1
|
|
9786
9810
|
/* HOISTED */
|
|
9787
|
-
)),
|
|
9811
|
+
)), db = { class: "hidden lg:flex lg:gap-x-12" }, pb = { class: "navigation-item inline-flex items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, fb = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
9788
9812
|
"span",
|
|
9789
9813
|
null,
|
|
9790
9814
|
"Our other apps",
|
|
9791
9815
|
-1
|
|
9792
9816
|
/* HOISTED */
|
|
9793
|
-
)),
|
|
9817
|
+
)), hb = { class: "hot w-1/4 border-r mr-10" }, mb = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
9794
9818
|
"div",
|
|
9795
9819
|
{ class: "py-3 text-sm font-bold flex items-center leading-6" },
|
|
9796
9820
|
[
|
|
9797
|
-
/* @__PURE__ */
|
|
9821
|
+
/* @__PURE__ */ m("img", {
|
|
9798
9822
|
src: "https://statics.imgkits.com/lsl_ali_icon4392779680.png ",
|
|
9799
9823
|
class: "h-[32px] mr-2 w-[32px] inline-block"
|
|
9800
9824
|
}),
|
|
@@ -9802,11 +9826,11 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
9802
9826
|
],
|
|
9803
9827
|
-1
|
|
9804
9828
|
/* HOISTED */
|
|
9805
|
-
)),
|
|
9829
|
+
)), gb = { class: "h-[300px] pt-5 w-[97%]" }, vb = ["href"], bb = ["src"], yb = { class: "flex flex-col pl-1" }, _b = { class: "text font-semibold" }, wb = { class: "text-gray-500 font-semibold text-sm" }, xb = { class: "flex w-1/4 border-r mr-10 flex-col" }, Eb = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
9806
9830
|
"div",
|
|
9807
9831
|
{ class: "py-3 text-sm font-bold flex items-center leading-6" },
|
|
9808
9832
|
[
|
|
9809
|
-
/* @__PURE__ */
|
|
9833
|
+
/* @__PURE__ */ m("img", {
|
|
9810
9834
|
src: "https://statics.imgkits.com/images/workspace_logo.png ",
|
|
9811
9835
|
class: "h-[32px] mr-2 w-[32px] inline-block"
|
|
9812
9836
|
}),
|
|
@@ -9814,17 +9838,17 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
9814
9838
|
],
|
|
9815
9839
|
-1
|
|
9816
9840
|
/* HOISTED */
|
|
9817
|
-
)),
|
|
9841
|
+
)), Sb = { class: "h-[300px] w-[98%] text-sm font-semibold leading-6 text-gray-900 pt-2" }, kb = ["href"], Cb = ["src"], Tb = {
|
|
9818
9842
|
key: 0,
|
|
9819
9843
|
class: "h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
|
|
9820
|
-
},
|
|
9844
|
+
}, Ob = {
|
|
9821
9845
|
key: 1,
|
|
9822
9846
|
class: "h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
|
|
9823
|
-
},
|
|
9847
|
+
}, Pb = { class: "flex w-1/4 border-r mr-10 flex-col" }, Ab = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
9824
9848
|
"div",
|
|
9825
9849
|
{ class: "py-3 text-sm font-bold flex items-center leading-6" },
|
|
9826
9850
|
[
|
|
9827
|
-
/* @__PURE__ */
|
|
9851
|
+
/* @__PURE__ */ m("svg", {
|
|
9828
9852
|
class: "inline-block mr-2",
|
|
9829
9853
|
"data-v-8a1f9b8f": "",
|
|
9830
9854
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -9833,46 +9857,46 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
9833
9857
|
viewBox: "0 0 192 192",
|
|
9834
9858
|
width: "32"
|
|
9835
9859
|
}, [
|
|
9836
|
-
/* @__PURE__ */
|
|
9860
|
+
/* @__PURE__ */ m("path", {
|
|
9837
9861
|
"data-v-8a1f9b8f": "",
|
|
9838
9862
|
d: "M0 0h192v192H0z",
|
|
9839
9863
|
fill: "none"
|
|
9840
9864
|
}),
|
|
9841
|
-
/* @__PURE__ */
|
|
9842
|
-
/* @__PURE__ */
|
|
9865
|
+
/* @__PURE__ */ m("defs", { "data-v-8a1f9b8f": "" }, [
|
|
9866
|
+
/* @__PURE__ */ m("path", {
|
|
9843
9867
|
"data-v-8a1f9b8f": "",
|
|
9844
9868
|
d: "M8 20v140c0 6.6 5.4 12 12 12h152c6.6 0 12-5.4 12-12V20H8zm108 32H76c-4.42 0-8-3.58-8-8s3.58-8 8-8h40c4.42 0 8 3.58 8 8s-3.58 8-8 8z",
|
|
9845
9869
|
id: "a"
|
|
9846
9870
|
})
|
|
9847
9871
|
]),
|
|
9848
|
-
/* @__PURE__ */
|
|
9872
|
+
/* @__PURE__ */ m("clipPath", {
|
|
9849
9873
|
"data-v-8a1f9b8f": "",
|
|
9850
9874
|
id: "b"
|
|
9851
9875
|
}, [
|
|
9852
|
-
/* @__PURE__ */
|
|
9876
|
+
/* @__PURE__ */ m("use", {
|
|
9853
9877
|
"data-v-8a1f9b8f": "",
|
|
9854
9878
|
overflow: "visible",
|
|
9855
9879
|
"xlink:href": "#a"
|
|
9856
9880
|
})
|
|
9857
9881
|
]),
|
|
9858
|
-
/* @__PURE__ */
|
|
9882
|
+
/* @__PURE__ */ m("path", {
|
|
9859
9883
|
"data-v-8a1f9b8f": "",
|
|
9860
9884
|
"clip-path": "url(#b)",
|
|
9861
9885
|
d: "M8 20h176v152H8z",
|
|
9862
9886
|
fill: "#eee"
|
|
9863
9887
|
}),
|
|
9864
|
-
/* @__PURE__ */
|
|
9888
|
+
/* @__PURE__ */ m("path", {
|
|
9865
9889
|
"data-v-8a1f9b8f": "",
|
|
9866
9890
|
"clip-path": "url(#b)",
|
|
9867
9891
|
d: "M116 36H76c-4.42 0-8 3.58-8 8s3.58 8 8 8h40c4.42 0 8-3.58 8-8s-3.58-8-8-8z",
|
|
9868
9892
|
fill: "#fff"
|
|
9869
9893
|
}),
|
|
9870
|
-
/* @__PURE__ */
|
|
9894
|
+
/* @__PURE__ */ m("g", {
|
|
9871
9895
|
"data-v-8a1f9b8f": "",
|
|
9872
9896
|
"clip-path": "url(#b)"
|
|
9873
9897
|
}, [
|
|
9874
|
-
/* @__PURE__ */
|
|
9875
|
-
/* @__PURE__ */
|
|
9898
|
+
/* @__PURE__ */ m("defs", { "data-v-8a1f9b8f": "" }, [
|
|
9899
|
+
/* @__PURE__ */ m("circle", {
|
|
9876
9900
|
"data-v-8a1f9b8f": "",
|
|
9877
9901
|
cx: "96",
|
|
9878
9902
|
cy: "160",
|
|
@@ -9880,46 +9904,46 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
9880
9904
|
r: "76"
|
|
9881
9905
|
})
|
|
9882
9906
|
]),
|
|
9883
|
-
/* @__PURE__ */
|
|
9907
|
+
/* @__PURE__ */ m("clipPath", {
|
|
9884
9908
|
"data-v-8a1f9b8f": "",
|
|
9885
9909
|
id: "d"
|
|
9886
9910
|
}, [
|
|
9887
|
-
/* @__PURE__ */
|
|
9911
|
+
/* @__PURE__ */ m("use", {
|
|
9888
9912
|
"data-v-8a1f9b8f": "",
|
|
9889
9913
|
overflow: "visible",
|
|
9890
9914
|
"xlink:href": "#c"
|
|
9891
9915
|
})
|
|
9892
9916
|
]),
|
|
9893
|
-
/* @__PURE__ */
|
|
9917
|
+
/* @__PURE__ */ m("path", {
|
|
9894
9918
|
"data-v-8a1f9b8f": "",
|
|
9895
9919
|
"clip-path": "url(#d)",
|
|
9896
9920
|
d: "M32.07 84v93.27h34.01L96 125.45h76V84zm0 0v93.27h34.01L96 125.45h76V84z",
|
|
9897
9921
|
fill: "#DB4437"
|
|
9898
9922
|
}),
|
|
9899
|
-
/* @__PURE__ */
|
|
9923
|
+
/* @__PURE__ */ m("path", {
|
|
9900
9924
|
"data-v-8a1f9b8f": "",
|
|
9901
9925
|
"clip-path": "url(#d)",
|
|
9902
9926
|
d: "M20 236h72.34l33.58-33.58v-25.14l-59.84-.01L20 98.24zm0 0h72.34l33.58-33.58v-25.14l-59.84-.01L20 98.24z",
|
|
9903
9927
|
fill: "#0F9D58"
|
|
9904
9928
|
}),
|
|
9905
|
-
/* @__PURE__ */
|
|
9929
|
+
/* @__PURE__ */ m("path", {
|
|
9906
9930
|
"data-v-8a1f9b8f": "",
|
|
9907
9931
|
"clip-path": "url(#d)",
|
|
9908
9932
|
d: "M96 125.45l29.92 51.82L92.35 236H172V125.45zm0 0l29.92 51.82L92.35 236H172V125.45z",
|
|
9909
9933
|
fill: "#FFCD40"
|
|
9910
9934
|
}),
|
|
9911
|
-
/* @__PURE__ */
|
|
9935
|
+
/* @__PURE__ */ m("g", {
|
|
9912
9936
|
"data-v-8a1f9b8f": "",
|
|
9913
9937
|
"clip-path": "url(#d)"
|
|
9914
9938
|
}, [
|
|
9915
|
-
/* @__PURE__ */
|
|
9939
|
+
/* @__PURE__ */ m("circle", {
|
|
9916
9940
|
"data-v-8a1f9b8f": "",
|
|
9917
9941
|
cx: "96",
|
|
9918
9942
|
cy: "160",
|
|
9919
9943
|
fill: "#F1F1F1",
|
|
9920
9944
|
r: "34.55"
|
|
9921
9945
|
}),
|
|
9922
|
-
/* @__PURE__ */
|
|
9946
|
+
/* @__PURE__ */ m("circle", {
|
|
9923
9947
|
"data-v-8a1f9b8f": "",
|
|
9924
9948
|
cx: "96",
|
|
9925
9949
|
cy: "160",
|
|
@@ -9928,38 +9952,38 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
9928
9952
|
})
|
|
9929
9953
|
])
|
|
9930
9954
|
]),
|
|
9931
|
-
/* @__PURE__ */
|
|
9955
|
+
/* @__PURE__ */ m("path", {
|
|
9932
9956
|
"data-v-8a1f9b8f": "",
|
|
9933
9957
|
"clip-path": "url(#b)",
|
|
9934
9958
|
d: "M8 20h176v76H8z",
|
|
9935
9959
|
fill: "#212121",
|
|
9936
9960
|
"fill-opacity": ".05"
|
|
9937
9961
|
}),
|
|
9938
|
-
/* @__PURE__ */
|
|
9962
|
+
/* @__PURE__ */ m("path", {
|
|
9939
9963
|
"data-v-8a1f9b8f": "",
|
|
9940
9964
|
d: "M8 95h176v1H8z",
|
|
9941
9965
|
fill: "#212121",
|
|
9942
9966
|
"fill-opacity": ".02"
|
|
9943
9967
|
}),
|
|
9944
|
-
/* @__PURE__ */
|
|
9968
|
+
/* @__PURE__ */ m("path", {
|
|
9945
9969
|
"data-v-8a1f9b8f": "",
|
|
9946
9970
|
d: "M8 96h176v1H8z",
|
|
9947
9971
|
fill: "#fff",
|
|
9948
9972
|
"fill-opacity": ".05"
|
|
9949
9973
|
}),
|
|
9950
|
-
/* @__PURE__ */
|
|
9974
|
+
/* @__PURE__ */ m("path", {
|
|
9951
9975
|
"data-v-8a1f9b8f": "",
|
|
9952
9976
|
d: "M116 52H76c-4.25 0-7.72-3.32-7.97-7.5-.02.17-.03.33-.03.5 0 4.42 3.58 8 8 8h40c4.42 0 8-3.58 8-8 0-.17-.01-.33-.03-.5-.25 4.18-3.72 7.5-7.97 7.5zM8 20v1h176v-1H8z",
|
|
9953
9977
|
fill: "#212121",
|
|
9954
9978
|
"fill-opacity": ".02"
|
|
9955
9979
|
}),
|
|
9956
|
-
/* @__PURE__ */
|
|
9980
|
+
/* @__PURE__ */ m("path", {
|
|
9957
9981
|
"data-v-8a1f9b8f": "",
|
|
9958
9982
|
d: "M76 36h40c4.25 0 7.72 3.32 7.97 7.5.01-.17.03-.33.03-.5 0-4.42-3.58-8-8-8H76c-4.42 0-8 3.58-8 8 0 .17.01.33.03.5.25-4.18 3.72-7.5 7.97-7.5zm96 135H20c-6.6 0-12-5.4-12-12v1c0 6.6 5.4 12 12 12h152c6.6 0 12-5.4 12-12v-1c0 6.6-5.4 12-12 12z",
|
|
9959
9983
|
fill: "#231F20",
|
|
9960
9984
|
"fill-opacity": ".1"
|
|
9961
9985
|
}),
|
|
9962
|
-
/* @__PURE__ */
|
|
9986
|
+
/* @__PURE__ */ m("radialGradient", {
|
|
9963
9987
|
"data-v-8a1f9b8f": "",
|
|
9964
9988
|
cx: "7.502",
|
|
9965
9989
|
cy: "19.344",
|
|
@@ -9967,20 +9991,20 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
9967
9991
|
id: "e",
|
|
9968
9992
|
r: "227.596"
|
|
9969
9993
|
}, [
|
|
9970
|
-
/* @__PURE__ */
|
|
9994
|
+
/* @__PURE__ */ m("stop", {
|
|
9971
9995
|
"data-v-8a1f9b8f": "",
|
|
9972
9996
|
offset: "0",
|
|
9973
9997
|
"stop-color": "#fff",
|
|
9974
9998
|
"stop-opacity": ".1"
|
|
9975
9999
|
}),
|
|
9976
|
-
/* @__PURE__ */
|
|
10000
|
+
/* @__PURE__ */ m("stop", {
|
|
9977
10001
|
"data-v-8a1f9b8f": "",
|
|
9978
10002
|
offset: "1",
|
|
9979
10003
|
"stop-color": "#fff",
|
|
9980
10004
|
"stop-opacity": "0"
|
|
9981
10005
|
})
|
|
9982
10006
|
]),
|
|
9983
|
-
/* @__PURE__ */
|
|
10007
|
+
/* @__PURE__ */ m("path", {
|
|
9984
10008
|
"data-v-8a1f9b8f": "",
|
|
9985
10009
|
d: "M8 20v140c0 6.6 5.4 12 12 12h152c6.6 0 12-5.4 12-12V20H8zm108 32H76c-4.42 0-8-3.58-8-8s3.58-8 8-8h40c4.42 0 8 3.58 8 8s-3.58 8-8 8z",
|
|
9986
10010
|
fill: "url(#e)"
|
|
@@ -9990,17 +10014,17 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
9990
10014
|
],
|
|
9991
10015
|
-1
|
|
9992
10016
|
/* HOISTED */
|
|
9993
|
-
)),
|
|
10017
|
+
)), $b = { class: "h-[300px] text-sm w-[98%] font-semibold leading-6 pt-2 text-gray-900" }, Mb = ["href"], Ib = ["src"], Nb = {
|
|
9994
10018
|
key: 0,
|
|
9995
10019
|
class: "h-4 font-normal flex items-center bg-[#f16a41] text-white rounded-sm px-1 text-center"
|
|
9996
|
-
},
|
|
10020
|
+
}, Rb = {
|
|
9997
10021
|
key: 1,
|
|
9998
10022
|
class: "h-4 font-normal flex items-center bg-[#5b4fff] text-white rounded-sm px-1 text-center"
|
|
9999
|
-
},
|
|
10023
|
+
}, Lb = { class: "flex w-1/4 mr-10 flex-col" }, Fb = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
10000
10024
|
"div",
|
|
10001
10025
|
{ class: "py-3 text-sm font-bold flex items-center leading-6" },
|
|
10002
10026
|
[
|
|
10003
|
-
/* @__PURE__ */
|
|
10027
|
+
/* @__PURE__ */ m("img", {
|
|
10004
10028
|
src: "https://statics.imgkits.com/images/edge_logo.png",
|
|
10005
10029
|
class: "inline-block w-[32px] h-[32px] mr-2"
|
|
10006
10030
|
}),
|
|
@@ -10008,46 +10032,46 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10008
10032
|
],
|
|
10009
10033
|
-1
|
|
10010
10034
|
/* HOISTED */
|
|
10011
|
-
)),
|
|
10035
|
+
)), jb = { class: "text-sm font-semibold leading-6 text-gray-900 pt-2" }, Db = ["href"], Bb = ["src"], Hb = {
|
|
10012
10036
|
key: 0,
|
|
10013
10037
|
class: "h-4 font-normal flex items-center bg-[#f16a41] text-white rounded-sm px-1 text-center"
|
|
10014
|
-
},
|
|
10038
|
+
}, zb = {
|
|
10015
10039
|
key: 1,
|
|
10016
10040
|
class: "h-4 font-normal flex items-center bg-[#5b4fff] text-white rounded-sm px-1 text-center"
|
|
10017
|
-
},
|
|
10041
|
+
}, Ub = ["onClick"], Vb = {
|
|
10018
10042
|
key: 0,
|
|
10019
10043
|
class: "hidden lg:flex lg:flex-1 lg:justify-end"
|
|
10020
|
-
},
|
|
10044
|
+
}, qb = { class: "mr-4" }, Wb = {
|
|
10021
10045
|
key: 1,
|
|
10022
10046
|
class: "hidden lg:flex lg:flex-1 lg:justify-end items-center"
|
|
10023
|
-
},
|
|
10047
|
+
}, Gb = { class: "mr-4" }, Kb = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
10024
10048
|
"span",
|
|
10025
10049
|
{ "aria-hidden": "true" },
|
|
10026
10050
|
null,
|
|
10027
10051
|
-1
|
|
10028
10052
|
/* HOISTED */
|
|
10029
|
-
)),
|
|
10053
|
+
)), Jb = { class: "hidden lg:flex lg:flex-1 lg:justify-end text-sm font-semibold leading-6 text-gray-900 items-center" }, Zb = { class: "mr-4" }, Yb = { class: "pr-4" }, Xb = ["src"], Qb = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
10030
10054
|
"div",
|
|
10031
10055
|
{ class: "open-icon" },
|
|
10032
10056
|
null,
|
|
10033
10057
|
-1
|
|
10034
10058
|
/* HOISTED */
|
|
10035
|
-
)),
|
|
10059
|
+
)), ey = { class: "user-center-dialog shadow-xl" }, ty = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
10036
10060
|
"div",
|
|
10037
10061
|
{ class: "fixed inset-0 z-50" },
|
|
10038
10062
|
null,
|
|
10039
10063
|
-1
|
|
10040
10064
|
/* HOISTED */
|
|
10041
|
-
)),
|
|
10065
|
+
)), ny = { class: "flex items-center justify-between" }, oy = ["href"], ry = { class: "sr-only" }, sy = ["src", "alt"], ay = /* @__PURE__ */ ze(() => /* @__PURE__ */ m(
|
|
10042
10066
|
"span",
|
|
10043
10067
|
{ class: "sr-only" },
|
|
10044
10068
|
"Close menu",
|
|
10045
10069
|
-1
|
|
10046
10070
|
/* HOISTED */
|
|
10047
|
-
)),
|
|
10071
|
+
)), iy = { class: "mt-6 flow-root" }, ly = { class: "-my-6 divide-y divide-gray-500/10" }, cy = { class: "space-y-2 py-6" }, uy = ["onClick"], dy = { class: "py-4" }, py = {
|
|
10048
10072
|
key: 0,
|
|
10049
10073
|
class: "py-6"
|
|
10050
|
-
},
|
|
10074
|
+
}, fy = {
|
|
10051
10075
|
__name: "Header",
|
|
10052
10076
|
props: {
|
|
10053
10077
|
isShenHe: {
|
|
@@ -10337,12 +10361,12 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10337
10361
|
}
|
|
10338
10362
|
]), u = I(n.isShenHe ? [{ name: "Privacy Policy", href: s + "/privacy", target: "_blank" }] : [{ name: "Pricing", href: s + "/pricing", target: "_self" }]), d = I(s || "/"), f = I(!1), g = I(null), p = (k, _) => {
|
|
10339
10363
|
window.app_type ? k = `${k}?from=${window.app_type}` : g.value && (k = `${k}?from=${g.value}`), _ === "_blank" ? window.open(k, "_blank") : window.location.href = k;
|
|
10340
|
-
},
|
|
10364
|
+
}, h = C(() => {
|
|
10341
10365
|
var k;
|
|
10342
10366
|
return (k = n.userStore) == null ? void 0 : k.user;
|
|
10343
|
-
}),
|
|
10367
|
+
}), v = () => {
|
|
10344
10368
|
n.userStore.showLogin(!0);
|
|
10345
|
-
},
|
|
10369
|
+
}, b = I(!1);
|
|
10346
10370
|
te(() => {
|
|
10347
10371
|
ka(s.substring(1), "chrome_addon").then((k) => {
|
|
10348
10372
|
c.value = k.data.slice(0, 6), c.value.push({ name: "More Chrome Extensions >", chrome_addon_url: "https://www.livepolls.app/chrome_addons", edge_addon_url: "https://www.livepolls.app/apps" }), l.value = k.data.slice(0, 6), l.value.push({ name: "More Edge Extensions >", edge_addon_url: "https://www.livepolls.app/edge_addons" });
|
|
@@ -10389,7 +10413,7 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10389
10413
|
function $() {
|
|
10390
10414
|
f.value = !0;
|
|
10391
10415
|
}
|
|
10392
|
-
function
|
|
10416
|
+
function O() {
|
|
10393
10417
|
f.value = !1;
|
|
10394
10418
|
}
|
|
10395
10419
|
function M() {
|
|
@@ -10413,60 +10437,60 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10413
10437
|
function z() {
|
|
10414
10438
|
n.userStore.hideInvite(!1);
|
|
10415
10439
|
}
|
|
10416
|
-
return (k, _) => (
|
|
10440
|
+
return (k, _) => (T(), R(
|
|
10417
10441
|
re,
|
|
10418
10442
|
null,
|
|
10419
10443
|
[
|
|
10420
|
-
|
|
10444
|
+
m(
|
|
10421
10445
|
"div",
|
|
10422
10446
|
{
|
|
10423
10447
|
class: ae(["h-[84px]", [e.z_index]])
|
|
10424
10448
|
},
|
|
10425
10449
|
[
|
|
10426
|
-
|
|
10450
|
+
m(
|
|
10427
10451
|
"div",
|
|
10428
10452
|
{
|
|
10429
10453
|
class: ae(["h-[84px] fixed top-0 left-0 w-full bg-white", [e.z_index]])
|
|
10430
10454
|
},
|
|
10431
10455
|
[
|
|
10432
|
-
|
|
10456
|
+
m(
|
|
10433
10457
|
"header",
|
|
10434
10458
|
{
|
|
10435
10459
|
class: ae(["absolute h-[84px] top-0 bg-white inset-x-0 z-30 mx-auto", [e.className]])
|
|
10436
10460
|
},
|
|
10437
10461
|
[
|
|
10438
10462
|
L(" nav "),
|
|
10439
|
-
|
|
10463
|
+
m("nav", ob, [
|
|
10440
10464
|
L(" 显示 当前项目产品logo和 名称 大小屏幕公用 "),
|
|
10441
|
-
|
|
10442
|
-
|
|
10443
|
-
|
|
10465
|
+
m("div", rb, [
|
|
10466
|
+
sb,
|
|
10467
|
+
m("a", {
|
|
10444
10468
|
href: d.value,
|
|
10445
10469
|
class: "-m-1.5 p-1.5 flex items-center",
|
|
10446
10470
|
id: "logo_link"
|
|
10447
10471
|
}, [
|
|
10448
|
-
|
|
10472
|
+
m("img", {
|
|
10449
10473
|
class: "h-8 w-auto",
|
|
10450
10474
|
src: r.value.logo,
|
|
10451
10475
|
alt: r.value.name
|
|
10452
|
-
}, null, 8,
|
|
10453
|
-
|
|
10476
|
+
}, null, 8, ib),
|
|
10477
|
+
m(
|
|
10454
10478
|
"span",
|
|
10455
|
-
|
|
10479
|
+
lb,
|
|
10456
10480
|
Q(r.value.name),
|
|
10457
10481
|
1
|
|
10458
10482
|
/* TEXT */
|
|
10459
10483
|
)
|
|
10460
|
-
], 8,
|
|
10484
|
+
], 8, ab)
|
|
10461
10485
|
]),
|
|
10462
10486
|
L(" 小屏幕 menu菜单栏 "),
|
|
10463
|
-
|
|
10464
|
-
|
|
10487
|
+
m("div", cb, [
|
|
10488
|
+
m("button", {
|
|
10465
10489
|
type: "button",
|
|
10466
10490
|
class: "-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",
|
|
10467
|
-
onClick: _[0] || (_[0] = (x) =>
|
|
10491
|
+
onClick: _[0] || (_[0] = (x) => b.value = !0)
|
|
10468
10492
|
}, [
|
|
10469
|
-
|
|
10493
|
+
ub,
|
|
10470
10494
|
ne(w(K0), {
|
|
10471
10495
|
class: "h-6 w-6",
|
|
10472
10496
|
"aria-hidden": "true"
|
|
@@ -10474,9 +10498,9 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10474
10498
|
])
|
|
10475
10499
|
]),
|
|
10476
10500
|
L(" lg>屏幕 显示 workspace 产品推荐的组件 "),
|
|
10477
|
-
|
|
10501
|
+
m("div", db, [
|
|
10478
10502
|
L(" 弹出菜单栏组件 "),
|
|
10479
|
-
e.isShenHe ? L("v-if", !0) : (
|
|
10503
|
+
e.isShenHe ? L("v-if", !0) : (T(), X(w(Bl), {
|
|
10480
10504
|
key: 0,
|
|
10481
10505
|
class: "relative bug_buuton_wrap",
|
|
10482
10506
|
id: "other_apps_popover"
|
|
@@ -10484,9 +10508,9 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10484
10508
|
default: W(() => [
|
|
10485
10509
|
ne(w(W0), { class: "bg-transparent border-0 outline-none" }, {
|
|
10486
10510
|
default: W(() => [
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
ne(w(
|
|
10511
|
+
m("div", pb, [
|
|
10512
|
+
fb,
|
|
10513
|
+
ne(w(M1), {
|
|
10490
10514
|
class: "h-5 w-5",
|
|
10491
10515
|
"aria-hidden": "true"
|
|
10492
10516
|
})
|
|
@@ -10507,80 +10531,80 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10507
10531
|
ne(w(G0), { class: "fixed mx-auto left-0 right-0 shadow-lg z-10 bg-white mt-5 flex w-screen ring-1 ring-gray-900/5" }, {
|
|
10508
10532
|
default: W(() => [
|
|
10509
10533
|
L(" 分三个模块 "),
|
|
10510
|
-
|
|
10534
|
+
m(
|
|
10511
10535
|
"div",
|
|
10512
10536
|
{
|
|
10513
10537
|
class: ae(["flex w-screen mx-auto px-10", [e.PopoverPanelClass]])
|
|
10514
10538
|
},
|
|
10515
10539
|
[
|
|
10516
|
-
|
|
10517
|
-
|
|
10540
|
+
m("div", hb, [
|
|
10541
|
+
mb,
|
|
10518
10542
|
L(" face_swap_ai.png "),
|
|
10519
|
-
|
|
10520
|
-
(
|
|
10543
|
+
m("div", gb, [
|
|
10544
|
+
(T(!0), R(
|
|
10521
10545
|
re,
|
|
10522
10546
|
null,
|
|
10523
|
-
Ve(a.value, (x, N) => (
|
|
10547
|
+
Ve(a.value, (x, N) => (T(), R("a", {
|
|
10524
10548
|
key: N,
|
|
10525
10549
|
target: "_blank",
|
|
10526
10550
|
href: x.url + (g.value ? "?from=" + g.value : ""),
|
|
10527
10551
|
class: "cursor-pointer flex items-center bg-gradient-to-r h-24 mb-6 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-60 xl:w-72 p-3"
|
|
10528
10552
|
}, [
|
|
10529
|
-
|
|
10553
|
+
m("img", {
|
|
10530
10554
|
class: "h-16 w-16 mr-1 rounded",
|
|
10531
10555
|
src: x.icon
|
|
10532
|
-
}, null, 8,
|
|
10533
|
-
|
|
10534
|
-
|
|
10556
|
+
}, null, 8, bb),
|
|
10557
|
+
m("div", yb, [
|
|
10558
|
+
m(
|
|
10535
10559
|
"h3",
|
|
10536
|
-
|
|
10560
|
+
_b,
|
|
10537
10561
|
Q(x.name),
|
|
10538
10562
|
1
|
|
10539
10563
|
/* TEXT */
|
|
10540
10564
|
),
|
|
10541
|
-
|
|
10565
|
+
m(
|
|
10542
10566
|
"div",
|
|
10543
|
-
|
|
10567
|
+
wb,
|
|
10544
10568
|
Q(x.desc),
|
|
10545
10569
|
1
|
|
10546
10570
|
/* TEXT */
|
|
10547
10571
|
)
|
|
10548
10572
|
])
|
|
10549
|
-
], 8,
|
|
10573
|
+
], 8, vb))),
|
|
10550
10574
|
128
|
|
10551
10575
|
/* KEYED_FRAGMENT */
|
|
10552
10576
|
))
|
|
10553
10577
|
])
|
|
10554
10578
|
]),
|
|
10555
10579
|
L(" workspace "),
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
(
|
|
10580
|
+
m("div", xb, [
|
|
10581
|
+
Eb,
|
|
10582
|
+
m("div", Sb, [
|
|
10583
|
+
(T(!0), R(
|
|
10560
10584
|
re,
|
|
10561
10585
|
null,
|
|
10562
|
-
Ve(i.value, (x, N) => (
|
|
10586
|
+
Ve(i.value, (x, N) => (T(), R("div", {
|
|
10563
10587
|
key: x.name,
|
|
10564
10588
|
class: "flex items-center"
|
|
10565
10589
|
}, [
|
|
10566
|
-
|
|
10590
|
+
m("a", {
|
|
10567
10591
|
href: g.value ? x.url + "?from=" + g.value : x.url,
|
|
10568
10592
|
class: "truncate font-normal hover:underline block p-2 hover:text-indigo-600",
|
|
10569
10593
|
target: "_blank"
|
|
10570
10594
|
}, [
|
|
10571
|
-
x.icon ? (
|
|
10595
|
+
x.icon ? (T(), R("img", {
|
|
10572
10596
|
key: 0,
|
|
10573
10597
|
class: "h-4 mr-2 w-4 inline-block",
|
|
10574
10598
|
src: x.icon
|
|
10575
|
-
}, null, 8,
|
|
10599
|
+
}, null, 8, Cb)) : L("v-if", !0),
|
|
10576
10600
|
ce(
|
|
10577
10601
|
" " + Q(x.name),
|
|
10578
10602
|
1
|
|
10579
10603
|
/* TEXT */
|
|
10580
10604
|
)
|
|
10581
|
-
], 8,
|
|
10582
|
-
x.type == 1 ? (
|
|
10583
|
-
x.type == 2 ? (
|
|
10605
|
+
], 8, kb),
|
|
10606
|
+
x.type == 1 ? (T(), R("span", Tb, "Hot")) : L("v-if", !0),
|
|
10607
|
+
x.type == 2 ? (T(), R("span", Ob, "AI")) : L("v-if", !0)
|
|
10584
10608
|
]))),
|
|
10585
10609
|
128
|
|
10586
10610
|
/* KEYED_FRAGMENT */
|
|
@@ -10588,34 +10612,34 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10588
10612
|
])
|
|
10589
10613
|
]),
|
|
10590
10614
|
L(" chrome_addon "),
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
(
|
|
10615
|
+
m("div", Pb, [
|
|
10616
|
+
Ab,
|
|
10617
|
+
m("div", $b, [
|
|
10618
|
+
(T(!0), R(
|
|
10595
10619
|
re,
|
|
10596
10620
|
null,
|
|
10597
|
-
Ve(c.value, (x, N) => (
|
|
10621
|
+
Ve(c.value, (x, N) => (T(), R("div", {
|
|
10598
10622
|
key: x.name,
|
|
10599
10623
|
class: "flex items-center"
|
|
10600
10624
|
}, [
|
|
10601
|
-
|
|
10625
|
+
m("a", {
|
|
10602
10626
|
href: x.chrome_addon_url,
|
|
10603
10627
|
class: "truncate font-normal hover:underline block p-2 hover:text-indigo-600",
|
|
10604
10628
|
target: "_blank"
|
|
10605
10629
|
}, [
|
|
10606
|
-
x.icon ? (
|
|
10630
|
+
x.icon ? (T(), R("img", {
|
|
10607
10631
|
key: 0,
|
|
10608
10632
|
class: "h-4 mr-2 w-4 inline-block",
|
|
10609
10633
|
src: x.icon
|
|
10610
|
-
}, null, 8,
|
|
10634
|
+
}, null, 8, Ib)) : L("v-if", !0),
|
|
10611
10635
|
ce(
|
|
10612
10636
|
" " + Q(x.name),
|
|
10613
10637
|
1
|
|
10614
10638
|
/* TEXT */
|
|
10615
10639
|
)
|
|
10616
|
-
], 8,
|
|
10617
|
-
x.type == 1 ? (
|
|
10618
|
-
x.type == 2 ? (
|
|
10640
|
+
], 8, Mb),
|
|
10641
|
+
x.type == 1 ? (T(), R("span", Nb, "Hot")) : L("v-if", !0),
|
|
10642
|
+
x.type == 2 ? (T(), R("span", Rb, "AI")) : L("v-if", !0)
|
|
10619
10643
|
]))),
|
|
10620
10644
|
128
|
|
10621
10645
|
/* KEYED_FRAGMENT */
|
|
@@ -10623,34 +10647,34 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10623
10647
|
])
|
|
10624
10648
|
]),
|
|
10625
10649
|
L(" edge_addon "),
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
10629
|
-
(
|
|
10650
|
+
m("div", Lb, [
|
|
10651
|
+
Fb,
|
|
10652
|
+
m("div", jb, [
|
|
10653
|
+
(T(!0), R(
|
|
10630
10654
|
re,
|
|
10631
10655
|
null,
|
|
10632
|
-
Ve(l.value, (x, N) => (
|
|
10656
|
+
Ve(l.value, (x, N) => (T(), R("div", {
|
|
10633
10657
|
key: x.name,
|
|
10634
10658
|
class: "flex items-center"
|
|
10635
10659
|
}, [
|
|
10636
|
-
|
|
10660
|
+
m("a", {
|
|
10637
10661
|
href: x.edge_addon_url,
|
|
10638
10662
|
class: "truncate hover:underline font-normal block p-2 hover:text-indigo-600",
|
|
10639
10663
|
target: "_blank"
|
|
10640
10664
|
}, [
|
|
10641
|
-
x.icon ? (
|
|
10665
|
+
x.icon ? (T(), R("img", {
|
|
10642
10666
|
key: 0,
|
|
10643
10667
|
class: "h-4 mr-2 w-4 inline-block",
|
|
10644
10668
|
src: x.icon
|
|
10645
|
-
}, null, 8,
|
|
10669
|
+
}, null, 8, Bb)) : L("v-if", !0),
|
|
10646
10670
|
ce(
|
|
10647
10671
|
" " + Q(x.name),
|
|
10648
10672
|
1
|
|
10649
10673
|
/* TEXT */
|
|
10650
10674
|
)
|
|
10651
|
-
], 8,
|
|
10652
|
-
x.type == 1 ? (
|
|
10653
|
-
x.type == 2 ? (
|
|
10675
|
+
], 8, Db),
|
|
10676
|
+
x.type == 1 ? (T(), R("span", Hb, "Hot")) : L("v-if", !0),
|
|
10677
|
+
x.type == 2 ? (T(), R("span", zb, "AI")) : L("v-if", !0)
|
|
10654
10678
|
]))),
|
|
10655
10679
|
128
|
|
10656
10680
|
/* KEYED_FRAGMENT */
|
|
@@ -10676,66 +10700,66 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10676
10700
|
L(" 产品slot "),
|
|
10677
10701
|
ee(k.$slots, "product-slot", {}, void 0, !0),
|
|
10678
10702
|
L(" 下面这个非菜单栏 "),
|
|
10679
|
-
(
|
|
10703
|
+
(T(!0), R(
|
|
10680
10704
|
re,
|
|
10681
10705
|
null,
|
|
10682
|
-
Ve(u.value, (x) => (
|
|
10706
|
+
Ve(u.value, (x) => (T(), R("a", {
|
|
10683
10707
|
key: x.name,
|
|
10684
10708
|
onClick: uo((N) => p(x.href, x.target), ["prevent"]),
|
|
10685
10709
|
class: "navigation-item inline-flex items-center text-sm h-7 leading-7 font-semibold text-gray-900"
|
|
10686
|
-
}, Q(x.name), 9,
|
|
10710
|
+
}, Q(x.name), 9, Ub))),
|
|
10687
10711
|
128
|
|
10688
10712
|
/* KEYED_FRAGMENT */
|
|
10689
10713
|
))
|
|
10690
10714
|
]),
|
|
10691
10715
|
L(" lg>屏幕 显示 非审核 显示login 已经登录显示用户信息 "),
|
|
10692
|
-
e.isShenHe ? (
|
|
10716
|
+
e.isShenHe ? (T(), R("div", Vb, [
|
|
10693
10717
|
L(" 语言选择slot "),
|
|
10694
|
-
|
|
10718
|
+
m("div", qb, [
|
|
10695
10719
|
ee(k.$slots, "language-selector", {}, void 0, !0)
|
|
10696
10720
|
])
|
|
10697
|
-
])) :
|
|
10721
|
+
])) : h.value ? (T(), R(
|
|
10698
10722
|
re,
|
|
10699
10723
|
{ key: 2 },
|
|
10700
10724
|
[
|
|
10701
10725
|
L(" 用户信息 "),
|
|
10702
|
-
|
|
10726
|
+
m("div", Jb, [
|
|
10703
10727
|
L(" 语言选择slot "),
|
|
10704
|
-
|
|
10728
|
+
m("div", Zb, [
|
|
10705
10729
|
ee(k.$slots, "language-selector", {}, void 0, !0)
|
|
10706
10730
|
]),
|
|
10707
|
-
|
|
10731
|
+
m(
|
|
10708
10732
|
"div",
|
|
10709
10733
|
{
|
|
10710
10734
|
class: "flex items-center",
|
|
10711
10735
|
onMouseenter: $,
|
|
10712
|
-
onMouseleave:
|
|
10736
|
+
onMouseleave: O
|
|
10713
10737
|
},
|
|
10714
10738
|
[
|
|
10715
|
-
|
|
10716
|
-
|
|
10739
|
+
m("div", Yb, [
|
|
10740
|
+
m(
|
|
10717
10741
|
"span",
|
|
10718
10742
|
null,
|
|
10719
|
-
Q(
|
|
10743
|
+
Q(h.value.username),
|
|
10720
10744
|
1
|
|
10721
10745
|
/* TEXT */
|
|
10722
10746
|
)
|
|
10723
10747
|
]),
|
|
10724
|
-
|
|
10748
|
+
m("img", {
|
|
10725
10749
|
class: "user-avatar h-10 rounded-full",
|
|
10726
|
-
src:
|
|
10750
|
+
src: h.value.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
|
|
10727
10751
|
alt: "user avatar"
|
|
10728
|
-
}, null, 8,
|
|
10729
|
-
|
|
10730
|
-
qe(
|
|
10752
|
+
}, null, 8, Xb),
|
|
10753
|
+
Qb,
|
|
10754
|
+
qe(m(
|
|
10731
10755
|
"div",
|
|
10732
10756
|
null,
|
|
10733
10757
|
[
|
|
10734
|
-
|
|
10758
|
+
m("div", ey, [
|
|
10735
10759
|
L(" 用户信息 移入菜单栏 "),
|
|
10736
|
-
|
|
10760
|
+
h.value ? (T(), X(Na, {
|
|
10737
10761
|
key: 0,
|
|
10738
|
-
user:
|
|
10762
|
+
user: h.value
|
|
10739
10763
|
}, null, 8, ["user"])) : L("v-if", !0)
|
|
10740
10764
|
])
|
|
10741
10765
|
],
|
|
@@ -10752,18 +10776,18 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10752
10776
|
],
|
|
10753
10777
|
2112
|
|
10754
10778
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
10755
|
-
)) : (
|
|
10779
|
+
)) : (T(), R("div", Wb, [
|
|
10756
10780
|
L(" 语言选择slot "),
|
|
10757
|
-
|
|
10781
|
+
m("div", Gb, [
|
|
10758
10782
|
ee(k.$slots, "language-selector", {}, void 0, !0)
|
|
10759
10783
|
]),
|
|
10760
|
-
|
|
10761
|
-
onClick:
|
|
10784
|
+
m("a", {
|
|
10785
|
+
onClick: v,
|
|
10762
10786
|
href: "javscript:void(0)",
|
|
10763
10787
|
class: "text-sm leading-6 rounded-3xl bg-indigo-600 px-8 py-1.5 font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
|
|
10764
10788
|
}, [
|
|
10765
10789
|
ce("Log in"),
|
|
10766
|
-
|
|
10790
|
+
Kb
|
|
10767
10791
|
])
|
|
10768
10792
|
]))
|
|
10769
10793
|
]),
|
|
@@ -10771,81 +10795,81 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10771
10795
|
ne(w(z0), {
|
|
10772
10796
|
as: "div",
|
|
10773
10797
|
class: "lg:hidden",
|
|
10774
|
-
onClose: _[2] || (_[2] = (x) =>
|
|
10775
|
-
open:
|
|
10798
|
+
onClose: _[2] || (_[2] = (x) => b.value = !1),
|
|
10799
|
+
open: b.value
|
|
10776
10800
|
}, {
|
|
10777
10801
|
default: W(() => [
|
|
10778
|
-
|
|
10802
|
+
ty,
|
|
10779
10803
|
ne(w(U0), { class: "fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10" }, {
|
|
10780
10804
|
default: W(() => [
|
|
10781
|
-
|
|
10782
|
-
|
|
10805
|
+
m("div", ny, [
|
|
10806
|
+
m("a", {
|
|
10783
10807
|
href: d.value,
|
|
10784
10808
|
class: "-m-1.5 p-1.5"
|
|
10785
10809
|
}, [
|
|
10786
|
-
|
|
10810
|
+
m(
|
|
10787
10811
|
"span",
|
|
10788
|
-
|
|
10812
|
+
ry,
|
|
10789
10813
|
Q(r.value.name),
|
|
10790
10814
|
1
|
|
10791
10815
|
/* TEXT */
|
|
10792
10816
|
),
|
|
10793
|
-
|
|
10817
|
+
m("img", {
|
|
10794
10818
|
class: "h-8 w-auto",
|
|
10795
10819
|
src: r.value.logo,
|
|
10796
10820
|
alt: r.value.name
|
|
10797
|
-
}, null, 8,
|
|
10798
|
-
], 8,
|
|
10799
|
-
|
|
10821
|
+
}, null, 8, sy)
|
|
10822
|
+
], 8, oy),
|
|
10823
|
+
m("button", {
|
|
10800
10824
|
type: "button",
|
|
10801
10825
|
class: "-m-2.5 rounded-md p-2.5 text-gray-700",
|
|
10802
|
-
onClick: _[1] || (_[1] = (x) =>
|
|
10826
|
+
onClick: _[1] || (_[1] = (x) => b.value = !1)
|
|
10803
10827
|
}, [
|
|
10804
|
-
|
|
10828
|
+
ay,
|
|
10805
10829
|
ne(w(J0), {
|
|
10806
10830
|
class: "h-6 w-6",
|
|
10807
10831
|
"aria-hidden": "true"
|
|
10808
10832
|
})
|
|
10809
10833
|
])
|
|
10810
10834
|
]),
|
|
10811
|
-
|
|
10812
|
-
|
|
10813
|
-
|
|
10814
|
-
ne(
|
|
10835
|
+
m("div", iy, [
|
|
10836
|
+
m("div", ly, [
|
|
10837
|
+
m("div", cy, [
|
|
10838
|
+
ne(nb, {
|
|
10815
10839
|
hotApps: a.value,
|
|
10816
10840
|
workspaceTools: i.value,
|
|
10817
10841
|
chrome_addon_tools: c.value,
|
|
10818
10842
|
edge_addon_tools: l.value
|
|
10819
10843
|
}, null, 8, ["hotApps", "workspaceTools", "chrome_addon_tools", "edge_addon_tools"]),
|
|
10820
|
-
(
|
|
10844
|
+
(T(!0), R(
|
|
10821
10845
|
re,
|
|
10822
10846
|
null,
|
|
10823
|
-
Ve(u.value, (x) => (
|
|
10847
|
+
Ve(u.value, (x) => (T(), R("a", {
|
|
10824
10848
|
key: x.name,
|
|
10825
10849
|
onClick: uo((N) => p(x.href, x.target), ["prevent"]),
|
|
10826
10850
|
class: "-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
|
|
10827
|
-
}, Q(x.name), 9,
|
|
10851
|
+
}, Q(x.name), 9, uy))),
|
|
10828
10852
|
128
|
|
10829
10853
|
/* KEYED_FRAGMENT */
|
|
10830
10854
|
))
|
|
10831
10855
|
]),
|
|
10832
10856
|
L(" 移动端语言选择slot "),
|
|
10833
|
-
|
|
10857
|
+
m("div", dy, [
|
|
10834
10858
|
ee(k.$slots, "language-selector-mobile", {}, void 0, !0)
|
|
10835
10859
|
]),
|
|
10836
|
-
|
|
10860
|
+
h.value ? (T(), R("div", {
|
|
10837
10861
|
key: 1,
|
|
10838
10862
|
class: "relative sm-user-center-dialog block ml-10 py-6 right flew-center",
|
|
10839
10863
|
onClick: M
|
|
10840
10864
|
}, [
|
|
10841
|
-
|
|
10865
|
+
h.value ? (T(), X(Na, {
|
|
10842
10866
|
key: 0,
|
|
10843
|
-
user:
|
|
10867
|
+
user: h.value
|
|
10844
10868
|
}, null, 8, ["user"])) : L("v-if", !0)
|
|
10845
|
-
])) : (
|
|
10846
|
-
|
|
10869
|
+
])) : (T(), R("div", py, [
|
|
10870
|
+
m("a", {
|
|
10847
10871
|
href: "#",
|
|
10848
|
-
onClick:
|
|
10872
|
+
onClick: v,
|
|
10849
10873
|
class: "-mx-3 block rounded-lg px-3 py-2.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
|
|
10850
10874
|
}, "Log in")
|
|
10851
10875
|
]))
|
|
@@ -10872,16 +10896,16 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10872
10896
|
/* CLASS */
|
|
10873
10897
|
),
|
|
10874
10898
|
L(" 引入登录 "),
|
|
10875
|
-
e.userStore.isShowLogin ? (
|
|
10899
|
+
e.userStore.isShowLogin ? (T(), X($v, {
|
|
10876
10900
|
key: 0,
|
|
10877
10901
|
onSuccess: S,
|
|
10878
10902
|
onClose: P
|
|
10879
10903
|
})) : L("v-if", !0),
|
|
10880
|
-
e.userStore.isShowToast ? (
|
|
10904
|
+
e.userStore.isShowToast ? (T(), X(w1, {
|
|
10881
10905
|
key: 1,
|
|
10882
10906
|
content: e.userStore.toastContent
|
|
10883
10907
|
}, null, 8, ["content"])) : L("v-if", !0),
|
|
10884
|
-
e.userStore.isShowInvite ? (
|
|
10908
|
+
e.userStore.isShowInvite ? (T(), X($1, {
|
|
10885
10909
|
key: 2,
|
|
10886
10910
|
onCancel: z
|
|
10887
10911
|
})) : L("v-if", !0)
|
|
@@ -10890,12 +10914,12 @@ const ze = (e) => (tn("data-v-c970699f"), e = e(), nn(), e), eb = {
|
|
|
10890
10914
|
/* STABLE_FRAGMENT */
|
|
10891
10915
|
));
|
|
10892
10916
|
}
|
|
10893
|
-
},
|
|
10917
|
+
}, hy = /* @__PURE__ */ Ft(fy, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/sen/Desktop/公司Code/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), yy = {
|
|
10894
10918
|
install(e) {
|
|
10895
|
-
e.component("my-header",
|
|
10919
|
+
e.component("my-header", hy);
|
|
10896
10920
|
}
|
|
10897
10921
|
};
|
|
10898
10922
|
export {
|
|
10899
|
-
|
|
10900
|
-
|
|
10923
|
+
hy as Header,
|
|
10924
|
+
yy as default
|
|
10901
10925
|
};
|