my-header-yichong 2.1.4 → 2.1.5
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 +564 -564
- package/my-header.umd.cjs +9 -9
- package/package.json +2 -1
package/my-header.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { warn as Pr, inject as H, ref as O, computed as x, unref as z, isRef as Se, getCurrentInstance as
|
|
1
|
+
import { warn as Pr, inject as H, ref as O, computed as x, unref as z, isRef as Se, getCurrentInstance as ot, provide as re, reactive as hn, defineComponent as U, h as j, Transition as fo, withCtx as be, withDirectives as Xe, createVNode as ue, vShow as po, createApp as Or, toRefs as Qt, nextTick as Qe, cloneVNode as Cr, Fragment as ve, onMounted as K, watchEffect as se, onUnmounted as oe, watch as rt, Teleport as Tr, shallowRef as ho, openBlock as A, createElementBlock as L, createElementVNode as g, toDisplayString as J, createTextVNode as mt, createCommentVNode as B, vModelText as Mt, pushScopeId as st, popScopeId as at, hasInjectionContext as Nr, markRaw as Ke, effectScope as Ar, isReactive as mn, toRef as Ut, toRaw as Lr, getCurrentScope as kr, onScopeDispose as $r, normalizeStyle as Fr, normalizeClass as Rr, createBlock as Le, renderList as Ht } from "vue";
|
|
2
2
|
function mo(e, t) {
|
|
3
3
|
return function() {
|
|
4
4
|
return e.apply(t, arguments);
|
|
5
5
|
};
|
|
6
6
|
}
|
|
7
|
-
const { toString:
|
|
8
|
-
const n =
|
|
7
|
+
const { toString: Dr } = Object.prototype, { getPrototypeOf: vn } = Object, Pt = ((e) => (t) => {
|
|
8
|
+
const n = Dr.call(t);
|
|
9
9
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) =>
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), de = (e) => (e = e.toLowerCase(), (t) => Pt(t) === e), Ot = (e) => (t) => typeof t === e, { isArray: je } = Array, et = Ot("undefined");
|
|
11
11
|
function jr(e) {
|
|
12
12
|
return e !== null && !et(e) && e.constructor !== null && !et(e.constructor) && Q(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
@@ -16,17 +16,17 @@ function Ir(e) {
|
|
|
16
16
|
let t;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && vo(e.buffer), t;
|
|
18
18
|
}
|
|
19
|
-
const Br =
|
|
20
|
-
if (
|
|
19
|
+
const Br = Ot("string"), Q = Ot("function"), go = Ot("number"), Ct = (e) => e !== null && typeof e == "object", Mr = (e) => e === !0 || e === !1, vt = (e) => {
|
|
20
|
+
if (Pt(e) !== "object")
|
|
21
21
|
return !1;
|
|
22
22
|
const t = vn(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
24
|
-
}, Ur = de("Date"), Hr = de("File"), Vr = de("Blob"), zr = de("FileList"), qr = (e) =>
|
|
24
|
+
}, Ur = de("Date"), Hr = de("File"), Vr = de("Blob"), zr = de("FileList"), qr = (e) => Ct(e) && Q(e.pipe), Gr = (e) => {
|
|
25
25
|
let t;
|
|
26
|
-
return e && (typeof FormData == "function" && e instanceof FormData || Q(e.append) && ((t =
|
|
26
|
+
return e && (typeof FormData == "function" && e instanceof FormData || Q(e.append) && ((t = Pt(e)) === "formdata" || // detect form-data instance
|
|
27
27
|
t === "object" && Q(e.toString) && e.toString() === "[object FormData]"));
|
|
28
28
|
}, Wr = de("URLSearchParams"), Jr = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
|
-
function
|
|
29
|
+
function it(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
30
30
|
if (e === null || typeof e > "u")
|
|
31
31
|
return;
|
|
32
32
|
let o, r;
|
|
@@ -50,16 +50,16 @@ function yo(e, t) {
|
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
52
|
const bo = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), wo = (e) => !et(e) && e !== bo;
|
|
53
|
-
function
|
|
53
|
+
function en() {
|
|
54
54
|
const { caseless: e } = wo(this) && this || {}, t = {}, n = (o, r) => {
|
|
55
55
|
const s = e && yo(t, r) || r;
|
|
56
|
-
|
|
56
|
+
vt(t[s]) && vt(o) ? t[s] = en(t[s], o) : vt(o) ? t[s] = en({}, o) : je(o) ? t[s] = o.slice() : t[s] = o;
|
|
57
57
|
};
|
|
58
58
|
for (let o = 0, r = arguments.length; o < r; o++)
|
|
59
|
-
arguments[o] &&
|
|
59
|
+
arguments[o] && it(arguments[o], n);
|
|
60
60
|
return t;
|
|
61
61
|
}
|
|
62
|
-
const Kr = (e, t, n, { allOwnKeys: o } = {}) => (
|
|
62
|
+
const Kr = (e, t, n, { allOwnKeys: o } = {}) => (it(t, (r, s) => {
|
|
63
63
|
n && Q(r) ? e[s] = mo(r, n) : e[s] = r;
|
|
64
64
|
}, { allOwnKeys: o }), e), Yr = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Xr = (e, t, n, o) => {
|
|
65
65
|
e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -110,9 +110,9 @@ const Kr = (e, t, n, { allOwnKeys: o } = {}) => (at(t, (r, s) => {
|
|
|
110
110
|
function(n, o, r) {
|
|
111
111
|
return o.toUpperCase() + r;
|
|
112
112
|
}
|
|
113
|
-
),
|
|
113
|
+
), kn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), as = de("RegExp"), _o = (e, t) => {
|
|
114
114
|
const n = Object.getOwnPropertyDescriptors(e), o = {};
|
|
115
|
-
|
|
115
|
+
it(n, (r, s) => {
|
|
116
116
|
t(r, s, e) !== !1 && (o[s] = r);
|
|
117
117
|
}), Object.defineProperties(e, o);
|
|
118
118
|
}, is = (e) => {
|
|
@@ -138,10 +138,10 @@ const Kr = (e, t, n, { allOwnKeys: o } = {}) => (at(t, (r, s) => {
|
|
|
138
138
|
};
|
|
139
139
|
return je(e) ? o(e) : o(String(e).split(t)), n;
|
|
140
140
|
}, us = () => {
|
|
141
|
-
}, cs = (e, t) => (e = +e, Number.isFinite(e) ? e : t),
|
|
141
|
+
}, cs = (e, t) => (e = +e, Number.isFinite(e) ? e : t), Vt = "abcdefghijklmnopqrstuvwxyz", $n = "0123456789", Eo = {
|
|
142
142
|
DIGIT: $n,
|
|
143
|
-
ALPHA:
|
|
144
|
-
ALPHA_DIGIT:
|
|
143
|
+
ALPHA: Vt,
|
|
144
|
+
ALPHA_DIGIT: Vt + Vt.toUpperCase() + $n
|
|
145
145
|
}, ds = (e = 16, t = Eo.ALPHA_DIGIT) => {
|
|
146
146
|
let n = "";
|
|
147
147
|
const { length: o } = t;
|
|
@@ -154,13 +154,13 @@ function fs(e) {
|
|
|
154
154
|
}
|
|
155
155
|
const ps = (e) => {
|
|
156
156
|
const t = new Array(10), n = (o, r) => {
|
|
157
|
-
if (
|
|
157
|
+
if (Ct(o)) {
|
|
158
158
|
if (t.indexOf(o) >= 0)
|
|
159
159
|
return;
|
|
160
160
|
if (!("toJSON" in o)) {
|
|
161
161
|
t[r] = o;
|
|
162
162
|
const s = je(o) ? [] : {};
|
|
163
|
-
return
|
|
163
|
+
return it(o, (a, i) => {
|
|
164
164
|
const d = n(a, r + 1);
|
|
165
165
|
!et(d) && (s[i] = d);
|
|
166
166
|
}), t[r] = void 0, s;
|
|
@@ -169,7 +169,7 @@ const ps = (e) => {
|
|
|
169
169
|
return o;
|
|
170
170
|
};
|
|
171
171
|
return n(e, 0);
|
|
172
|
-
}, hs = de("AsyncFunction"), ms = (e) => e && (
|
|
172
|
+
}, hs = de("AsyncFunction"), ms = (e) => e && (Ct(e) || Q(e)) && Q(e.then) && Q(e.catch), h = {
|
|
173
173
|
isArray: je,
|
|
174
174
|
isArrayBuffer: vo,
|
|
175
175
|
isBuffer: jr,
|
|
@@ -178,8 +178,8 @@ const ps = (e) => {
|
|
|
178
178
|
isString: Br,
|
|
179
179
|
isNumber: go,
|
|
180
180
|
isBoolean: Mr,
|
|
181
|
-
isObject:
|
|
182
|
-
isPlainObject:
|
|
181
|
+
isObject: Ct,
|
|
182
|
+
isPlainObject: vt,
|
|
183
183
|
isUndefined: et,
|
|
184
184
|
isDate: Ur,
|
|
185
185
|
isFile: Hr,
|
|
@@ -190,22 +190,22 @@ const ps = (e) => {
|
|
|
190
190
|
isURLSearchParams: Wr,
|
|
191
191
|
isTypedArray: ts,
|
|
192
192
|
isFileList: zr,
|
|
193
|
-
forEach:
|
|
194
|
-
merge:
|
|
193
|
+
forEach: it,
|
|
194
|
+
merge: en,
|
|
195
195
|
extend: Kr,
|
|
196
196
|
trim: Jr,
|
|
197
197
|
stripBOM: Yr,
|
|
198
198
|
inherits: Xr,
|
|
199
199
|
toFlatObject: Zr,
|
|
200
|
-
kindOf:
|
|
200
|
+
kindOf: Pt,
|
|
201
201
|
kindOfTest: de,
|
|
202
202
|
endsWith: Qr,
|
|
203
203
|
toArray: es,
|
|
204
204
|
forEachEntry: ns,
|
|
205
205
|
matchAll: os,
|
|
206
206
|
isHTMLForm: rs,
|
|
207
|
-
hasOwnProperty:
|
|
208
|
-
hasOwnProp:
|
|
207
|
+
hasOwnProperty: kn,
|
|
208
|
+
hasOwnProp: kn,
|
|
209
209
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
210
210
|
reduceDescriptors: _o,
|
|
211
211
|
freezeMethods: is,
|
|
@@ -223,10 +223,10 @@ const ps = (e) => {
|
|
|
223
223
|
isAsyncFn: hs,
|
|
224
224
|
isThenable: ms
|
|
225
225
|
};
|
|
226
|
-
function
|
|
226
|
+
function k(e, t, n, o, r) {
|
|
227
227
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), o && (this.request = o), r && (this.response = r);
|
|
228
228
|
}
|
|
229
|
-
h.inherits(
|
|
229
|
+
h.inherits(k, Error, {
|
|
230
230
|
toJSON: function() {
|
|
231
231
|
return {
|
|
232
232
|
// Standard
|
|
@@ -247,7 +247,7 @@ h.inherits(L, Error, {
|
|
|
247
247
|
};
|
|
248
248
|
}
|
|
249
249
|
});
|
|
250
|
-
const So =
|
|
250
|
+
const So = k.prototype, xo = {};
|
|
251
251
|
[
|
|
252
252
|
"ERR_BAD_OPTION_VALUE",
|
|
253
253
|
"ERR_BAD_OPTION",
|
|
@@ -265,16 +265,16 @@ const So = L.prototype, xo = {};
|
|
|
265
265
|
].forEach((e) => {
|
|
266
266
|
xo[e] = { value: e };
|
|
267
267
|
});
|
|
268
|
-
Object.defineProperties(
|
|
268
|
+
Object.defineProperties(k, xo);
|
|
269
269
|
Object.defineProperty(So, "isAxiosError", { value: !0 });
|
|
270
|
-
|
|
270
|
+
k.from = (e, t, n, o, r, s) => {
|
|
271
271
|
const a = Object.create(So);
|
|
272
272
|
return h.toFlatObject(e, a, function(d) {
|
|
273
273
|
return d !== Error.prototype;
|
|
274
|
-
}, (i) => i !== "isAxiosError"),
|
|
274
|
+
}, (i) => i !== "isAxiosError"), k.call(a, e.message, t, n, o, r), a.cause = e, a.name = e.name, s && Object.assign(a, s), a;
|
|
275
275
|
};
|
|
276
276
|
const vs = null;
|
|
277
|
-
function
|
|
277
|
+
function tn(e) {
|
|
278
278
|
return h.isPlainObject(e) || h.isArray(e);
|
|
279
279
|
}
|
|
280
280
|
function Po(e) {
|
|
@@ -286,12 +286,12 @@ function Fn(e, t, n) {
|
|
|
286
286
|
}).join(n ? "." : "") : t;
|
|
287
287
|
}
|
|
288
288
|
function gs(e) {
|
|
289
|
-
return h.isArray(e) && !e.some(
|
|
289
|
+
return h.isArray(e) && !e.some(tn);
|
|
290
290
|
}
|
|
291
291
|
const ys = h.toFlatObject(h, {}, null, function(t) {
|
|
292
292
|
return /^is[A-Z]/.test(t);
|
|
293
293
|
});
|
|
294
|
-
function
|
|
294
|
+
function Tt(e, t, n) {
|
|
295
295
|
if (!h.isObject(e))
|
|
296
296
|
throw new TypeError("target must be an object");
|
|
297
297
|
t = t || new FormData(), n = h.toFlatObject(n, {
|
|
@@ -304,21 +304,21 @@ function Ot(e, t, n) {
|
|
|
304
304
|
const o = n.metaTokens, r = n.visitor || c, s = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && h.isSpecCompliantForm(t);
|
|
305
305
|
if (!h.isFunction(r))
|
|
306
306
|
throw new TypeError("visitor must be a function");
|
|
307
|
-
function l(
|
|
308
|
-
if (
|
|
307
|
+
function l(m) {
|
|
308
|
+
if (m === null)
|
|
309
309
|
return "";
|
|
310
|
-
if (h.isDate(
|
|
311
|
-
return
|
|
312
|
-
if (!d && h.isBlob(
|
|
313
|
-
throw new
|
|
314
|
-
return h.isArrayBuffer(
|
|
315
|
-
}
|
|
316
|
-
function c(
|
|
317
|
-
let w =
|
|
318
|
-
if (
|
|
310
|
+
if (h.isDate(m))
|
|
311
|
+
return m.toISOString();
|
|
312
|
+
if (!d && h.isBlob(m))
|
|
313
|
+
throw new k("Blob is not supported. Use a Buffer instead.");
|
|
314
|
+
return h.isArrayBuffer(m) || h.isTypedArray(m) ? d && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
|
|
315
|
+
}
|
|
316
|
+
function c(m, p, b) {
|
|
317
|
+
let w = m;
|
|
318
|
+
if (m && !b && typeof m == "object") {
|
|
319
319
|
if (h.endsWith(p, "{}"))
|
|
320
|
-
p = o ? p : p.slice(0, -2),
|
|
321
|
-
else if (h.isArray(
|
|
320
|
+
p = o ? p : p.slice(0, -2), m = JSON.stringify(m);
|
|
321
|
+
else if (h.isArray(m) && gs(m) || (h.isFileList(m) || h.endsWith(p, "[]")) && (w = h.toArray(m)))
|
|
322
322
|
return p = Po(p), w.forEach(function(C, F) {
|
|
323
323
|
!(h.isUndefined(C) || C === null) && t.append(
|
|
324
324
|
// eslint-disable-next-line no-nested-ternary
|
|
@@ -327,33 +327,33 @@ function Ot(e, t, n) {
|
|
|
327
327
|
);
|
|
328
328
|
}), !1;
|
|
329
329
|
}
|
|
330
|
-
return
|
|
330
|
+
return tn(m) ? !0 : (t.append(Fn(b, p, s), l(m)), !1);
|
|
331
331
|
}
|
|
332
332
|
const u = [], f = Object.assign(ys, {
|
|
333
333
|
defaultVisitor: c,
|
|
334
334
|
convertValue: l,
|
|
335
|
-
isVisitable:
|
|
335
|
+
isVisitable: tn
|
|
336
336
|
});
|
|
337
|
-
function m
|
|
338
|
-
if (!h.isUndefined(
|
|
339
|
-
if (u.indexOf(
|
|
337
|
+
function v(m, p) {
|
|
338
|
+
if (!h.isUndefined(m)) {
|
|
339
|
+
if (u.indexOf(m) !== -1)
|
|
340
340
|
throw Error("Circular reference detected in " + p.join("."));
|
|
341
|
-
u.push(
|
|
341
|
+
u.push(m), h.forEach(m, function(w, N) {
|
|
342
342
|
(!(h.isUndefined(w) || w === null) && r.call(
|
|
343
343
|
t,
|
|
344
344
|
w,
|
|
345
345
|
h.isString(N) ? N.trim() : N,
|
|
346
346
|
p,
|
|
347
347
|
f
|
|
348
|
-
)) === !0 &&
|
|
348
|
+
)) === !0 && v(w, p ? p.concat(N) : [N]);
|
|
349
349
|
}), u.pop();
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
352
|
if (!h.isObject(e))
|
|
353
353
|
throw new TypeError("data must be an object");
|
|
354
|
-
return
|
|
354
|
+
return v(e), t;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function Rn(e) {
|
|
357
357
|
const t = {
|
|
358
358
|
"!": "%21",
|
|
359
359
|
"'": "%27",
|
|
@@ -368,7 +368,7 @@ function Dn(e) {
|
|
|
368
368
|
});
|
|
369
369
|
}
|
|
370
370
|
function gn(e, t) {
|
|
371
|
-
this._pairs = [], e &&
|
|
371
|
+
this._pairs = [], e && Tt(e, this, t);
|
|
372
372
|
}
|
|
373
373
|
const Oo = gn.prototype;
|
|
374
374
|
Oo.append = function(t, n) {
|
|
@@ -376,8 +376,8 @@ Oo.append = function(t, n) {
|
|
|
376
376
|
};
|
|
377
377
|
Oo.toString = function(t) {
|
|
378
378
|
const n = t ? function(o) {
|
|
379
|
-
return t.call(this, o,
|
|
380
|
-
} :
|
|
379
|
+
return t.call(this, o, Rn);
|
|
380
|
+
} : Rn;
|
|
381
381
|
return this._pairs.map(function(r) {
|
|
382
382
|
return n(r[0]) + "=" + n(r[1]);
|
|
383
383
|
}, "").join("&");
|
|
@@ -450,7 +450,7 @@ class ws {
|
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
|
-
const
|
|
453
|
+
const Dn = ws, To = {
|
|
454
454
|
silentJSONParsing: !0,
|
|
455
455
|
forcedJSONParsing: !0,
|
|
456
456
|
clarifyTimeoutError: !1
|
|
@@ -470,7 +470,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
470
470
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
471
471
|
};
|
|
472
472
|
function Os(e, t) {
|
|
473
|
-
return
|
|
473
|
+
return Tt(e, new ce.classes.URLSearchParams(), Object.assign({
|
|
474
474
|
visitor: function(n, o, r, s) {
|
|
475
475
|
return ce.isNode && h.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
476
476
|
}
|
|
@@ -505,7 +505,7 @@ function No(e) {
|
|
|
505
505
|
const Ns = {
|
|
506
506
|
"Content-Type": void 0
|
|
507
507
|
};
|
|
508
|
-
function
|
|
508
|
+
function As(e, t, n) {
|
|
509
509
|
if (h.isString(e))
|
|
510
510
|
try {
|
|
511
511
|
return (t || JSON.parse)(e), h.trim(e);
|
|
@@ -515,7 +515,7 @@ function ks(e, t, n) {
|
|
|
515
515
|
}
|
|
516
516
|
return (n || JSON.stringify)(e);
|
|
517
517
|
}
|
|
518
|
-
const
|
|
518
|
+
const Nt = {
|
|
519
519
|
transitional: To,
|
|
520
520
|
adapter: ["xhr", "http"],
|
|
521
521
|
transformRequest: [function(t, n) {
|
|
@@ -534,24 +534,24 @@ const Ct = {
|
|
|
534
534
|
return Os(t, this.formSerializer).toString();
|
|
535
535
|
if ((i = h.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
|
|
536
536
|
const d = this.env && this.env.FormData;
|
|
537
|
-
return
|
|
537
|
+
return Tt(
|
|
538
538
|
i ? { "files[]": t } : t,
|
|
539
539
|
d && new d(),
|
|
540
540
|
this.formSerializer
|
|
541
541
|
);
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
|
-
return s || r ? (n.setContentType("application/json", !1),
|
|
544
|
+
return s || r ? (n.setContentType("application/json", !1), As(t)) : t;
|
|
545
545
|
}],
|
|
546
546
|
transformResponse: [function(t) {
|
|
547
|
-
const n = this.transitional ||
|
|
547
|
+
const n = this.transitional || Nt.transitional, o = n && n.forcedJSONParsing, r = this.responseType === "json";
|
|
548
548
|
if (t && h.isString(t) && (o && !this.responseType || r)) {
|
|
549
549
|
const a = !(n && n.silentJSONParsing) && r;
|
|
550
550
|
try {
|
|
551
551
|
return JSON.parse(t);
|
|
552
552
|
} catch (i) {
|
|
553
553
|
if (a)
|
|
554
|
-
throw i.name === "SyntaxError" ?
|
|
554
|
+
throw i.name === "SyntaxError" ? k.from(i, k.ERR_BAD_RESPONSE, this, null, this.response) : i;
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
return t;
|
|
@@ -579,12 +579,12 @@ const Ct = {
|
|
|
579
579
|
}
|
|
580
580
|
};
|
|
581
581
|
h.forEach(["delete", "get", "head"], function(t) {
|
|
582
|
-
|
|
582
|
+
Nt.headers[t] = {};
|
|
583
583
|
});
|
|
584
584
|
h.forEach(["post", "put", "patch"], function(t) {
|
|
585
|
-
|
|
585
|
+
Nt.headers[t] = h.merge(Ns);
|
|
586
586
|
});
|
|
587
|
-
const yn =
|
|
587
|
+
const yn = Nt, Ls = h.toObjectSet([
|
|
588
588
|
"age",
|
|
589
589
|
"authorization",
|
|
590
590
|
"content-length",
|
|
@@ -602,19 +602,19 @@ const yn = Ct, As = h.toObjectSet([
|
|
|
602
602
|
"referer",
|
|
603
603
|
"retry-after",
|
|
604
604
|
"user-agent"
|
|
605
|
-
]),
|
|
605
|
+
]), ks = (e) => {
|
|
606
606
|
const t = {};
|
|
607
607
|
let n, o, r;
|
|
608
608
|
return e && e.split(`
|
|
609
609
|
`).forEach(function(a) {
|
|
610
|
-
r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), o = a.substring(r + 1).trim(), !(!n || t[n] &&
|
|
610
|
+
r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), o = a.substring(r + 1).trim(), !(!n || t[n] && Ls[n]) && (n === "set-cookie" ? t[n] ? t[n].push(o) : t[n] = [o] : t[n] = t[n] ? t[n] + ", " + o : o);
|
|
611
611
|
}), t;
|
|
612
612
|
}, jn = Symbol("internals");
|
|
613
613
|
function Ve(e) {
|
|
614
614
|
return e && String(e).trim().toLowerCase();
|
|
615
615
|
}
|
|
616
|
-
function
|
|
617
|
-
return e === !1 || e == null ? e : h.isArray(e) ? e.map(
|
|
616
|
+
function gt(e) {
|
|
617
|
+
return e === !1 || e == null ? e : h.isArray(e) ? e.map(gt) : String(e);
|
|
618
618
|
}
|
|
619
619
|
function $s(e) {
|
|
620
620
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -624,7 +624,7 @@ function $s(e) {
|
|
|
624
624
|
return t;
|
|
625
625
|
}
|
|
626
626
|
const Fs = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
627
|
-
function
|
|
627
|
+
function zt(e, t, n, o, r) {
|
|
628
628
|
if (h.isFunction(o))
|
|
629
629
|
return o.call(this, t, n);
|
|
630
630
|
if (r && (t = n), !!h.isString(t)) {
|
|
@@ -634,10 +634,10 @@ function Ht(e, t, n, o, r) {
|
|
|
634
634
|
return o.test(t);
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function Rs(e) {
|
|
638
638
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, o) => n.toUpperCase() + o);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Ds(e, t) {
|
|
641
641
|
const n = h.toCamelCase(" " + t);
|
|
642
642
|
["get", "set", "has"].forEach((o) => {
|
|
643
643
|
Object.defineProperty(e, o + n, {
|
|
@@ -648,7 +648,7 @@ function Rs(e, t) {
|
|
|
648
648
|
});
|
|
649
649
|
});
|
|
650
650
|
}
|
|
651
|
-
class
|
|
651
|
+
class At {
|
|
652
652
|
constructor(t) {
|
|
653
653
|
t && this.set(t);
|
|
654
654
|
}
|
|
@@ -659,10 +659,10 @@ class Tt {
|
|
|
659
659
|
if (!c)
|
|
660
660
|
throw new Error("header name must be a non-empty string");
|
|
661
661
|
const u = h.findKey(r, c);
|
|
662
|
-
(!u || r[u] === void 0 || l === !0 || l === void 0 && r[u] !== !1) && (r[u || d] =
|
|
662
|
+
(!u || r[u] === void 0 || l === !0 || l === void 0 && r[u] !== !1) && (r[u || d] = gt(i));
|
|
663
663
|
}
|
|
664
664
|
const a = (i, d) => h.forEach(i, (l, c) => s(l, c, d));
|
|
665
|
-
return h.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : h.isString(t) && (t = t.trim()) && !Fs(t) ? a(
|
|
665
|
+
return h.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : h.isString(t) && (t = t.trim()) && !Fs(t) ? a(ks(t), n) : t != null && s(n, t, o), this;
|
|
666
666
|
}
|
|
667
667
|
get(t, n) {
|
|
668
668
|
if (t = Ve(t), t) {
|
|
@@ -684,7 +684,7 @@ class Tt {
|
|
|
684
684
|
has(t, n) {
|
|
685
685
|
if (t = Ve(t), t) {
|
|
686
686
|
const o = h.findKey(this, t);
|
|
687
|
-
return !!(o && this[o] !== void 0 && (!n ||
|
|
687
|
+
return !!(o && this[o] !== void 0 && (!n || zt(this, this[o], o, n)));
|
|
688
688
|
}
|
|
689
689
|
return !1;
|
|
690
690
|
}
|
|
@@ -694,7 +694,7 @@ class Tt {
|
|
|
694
694
|
function s(a) {
|
|
695
695
|
if (a = Ve(a), a) {
|
|
696
696
|
const i = h.findKey(o, a);
|
|
697
|
-
i && (!n ||
|
|
697
|
+
i && (!n || zt(o, o[i], i, n)) && (delete o[i], r = !0);
|
|
698
698
|
}
|
|
699
699
|
}
|
|
700
700
|
return h.isArray(t) ? t.forEach(s) : s(t), r;
|
|
@@ -704,7 +704,7 @@ class Tt {
|
|
|
704
704
|
let o = n.length, r = !1;
|
|
705
705
|
for (; o--; ) {
|
|
706
706
|
const s = n[o];
|
|
707
|
-
(!t ||
|
|
707
|
+
(!t || zt(this, this[s], s, t, !0)) && (delete this[s], r = !0);
|
|
708
708
|
}
|
|
709
709
|
return r;
|
|
710
710
|
}
|
|
@@ -713,11 +713,11 @@ class Tt {
|
|
|
713
713
|
return h.forEach(this, (r, s) => {
|
|
714
714
|
const a = h.findKey(o, s);
|
|
715
715
|
if (a) {
|
|
716
|
-
n[a] =
|
|
716
|
+
n[a] = gt(r), delete n[s];
|
|
717
717
|
return;
|
|
718
718
|
}
|
|
719
|
-
const i = t ?
|
|
720
|
-
i !== s && delete n[s], n[i] =
|
|
719
|
+
const i = t ? Rs(s) : String(s).trim();
|
|
720
|
+
i !== s && delete n[s], n[i] = gt(r), o[i] = !0;
|
|
721
721
|
}), this;
|
|
722
722
|
}
|
|
723
723
|
concat(...t) {
|
|
@@ -752,36 +752,36 @@ class Tt {
|
|
|
752
752
|
}).accessors, r = this.prototype;
|
|
753
753
|
function s(a) {
|
|
754
754
|
const i = Ve(a);
|
|
755
|
-
o[i] || (
|
|
755
|
+
o[i] || (Ds(r, a), o[i] = !0);
|
|
756
756
|
}
|
|
757
757
|
return h.isArray(t) ? t.forEach(s) : s(t), this;
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
|
-
|
|
761
|
-
h.freezeMethods(
|
|
762
|
-
h.freezeMethods(
|
|
763
|
-
const he =
|
|
764
|
-
function
|
|
760
|
+
At.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
761
|
+
h.freezeMethods(At.prototype);
|
|
762
|
+
h.freezeMethods(At);
|
|
763
|
+
const he = At;
|
|
764
|
+
function qt(e, t) {
|
|
765
765
|
const n = this || yn, o = t || n, r = he.from(o.headers);
|
|
766
766
|
let s = o.data;
|
|
767
767
|
return h.forEach(e, function(i) {
|
|
768
768
|
s = i.call(n, s, r.normalize(), t ? t.status : void 0);
|
|
769
769
|
}), r.normalize(), s;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function Ao(e) {
|
|
772
772
|
return !!(e && e.__CANCEL__);
|
|
773
773
|
}
|
|
774
|
-
function
|
|
775
|
-
|
|
774
|
+
function lt(e, t, n) {
|
|
775
|
+
k.call(this, e ?? "canceled", k.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
776
776
|
}
|
|
777
|
-
h.inherits(
|
|
777
|
+
h.inherits(lt, k, {
|
|
778
778
|
__CANCEL__: !0
|
|
779
779
|
});
|
|
780
780
|
function js(e, t, n) {
|
|
781
781
|
const o = n.config.validateStatus;
|
|
782
|
-
!n.status || !o || o(n.status) ? e(n) : t(new
|
|
782
|
+
!n.status || !o || o(n.status) ? e(n) : t(new k(
|
|
783
783
|
"Request failed with status code " + n.status,
|
|
784
|
-
[
|
|
784
|
+
[k.ERR_BAD_REQUEST, k.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
785
785
|
n.config,
|
|
786
786
|
n.request,
|
|
787
787
|
n
|
|
@@ -824,7 +824,7 @@ function Bs(e) {
|
|
|
824
824
|
function Ms(e, t) {
|
|
825
825
|
return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Lo(e, t) {
|
|
828
828
|
return e && !Bs(t) ? Ms(e, t) : t;
|
|
829
829
|
}
|
|
830
830
|
const Us = ce.isStandardBrowserEnv ? (
|
|
@@ -875,8 +875,8 @@ function Vs(e, t) {
|
|
|
875
875
|
f += n[u++], u = u % e;
|
|
876
876
|
if (r = (r + 1) % e, r === s && (s = (s + 1) % e), l - a < t)
|
|
877
877
|
return;
|
|
878
|
-
const
|
|
879
|
-
return
|
|
878
|
+
const v = c && l - c;
|
|
879
|
+
return v ? Math.round(f * 1e3 / v) : void 0;
|
|
880
880
|
};
|
|
881
881
|
}
|
|
882
882
|
function In(e, t) {
|
|
@@ -908,21 +908,21 @@ const zs = typeof XMLHttpRequest < "u", qs = zs && function(e) {
|
|
|
908
908
|
h.isFormData(r) && (ce.isStandardBrowserEnv || ce.isStandardBrowserWebWorkerEnv ? s.setContentType(!1) : s.setContentType("multipart/form-data;", !1));
|
|
909
909
|
let l = new XMLHttpRequest();
|
|
910
910
|
if (e.auth) {
|
|
911
|
-
const
|
|
912
|
-
s.set("Authorization", "Basic " + btoa(
|
|
911
|
+
const v = e.auth.username || "", m = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
912
|
+
s.set("Authorization", "Basic " + btoa(v + ":" + m));
|
|
913
913
|
}
|
|
914
|
-
const c =
|
|
914
|
+
const c = Lo(e.baseURL, e.url);
|
|
915
915
|
l.open(e.method.toUpperCase(), Co(c, e.params, e.paramsSerializer), !0), l.timeout = e.timeout;
|
|
916
916
|
function u() {
|
|
917
917
|
if (!l)
|
|
918
918
|
return;
|
|
919
|
-
const
|
|
919
|
+
const v = he.from(
|
|
920
920
|
"getAllResponseHeaders" in l && l.getAllResponseHeaders()
|
|
921
921
|
), p = {
|
|
922
922
|
data: !a || a === "text" || a === "json" ? l.responseText : l.response,
|
|
923
923
|
status: l.status,
|
|
924
924
|
statusText: l.statusText,
|
|
925
|
-
headers:
|
|
925
|
+
headers: v,
|
|
926
926
|
config: e,
|
|
927
927
|
request: l
|
|
928
928
|
};
|
|
@@ -935,39 +935,39 @@ const zs = typeof XMLHttpRequest < "u", qs = zs && function(e) {
|
|
|
935
935
|
if ("onloadend" in l ? l.onloadend = u : l.onreadystatechange = function() {
|
|
936
936
|
!l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(u);
|
|
937
937
|
}, l.onabort = function() {
|
|
938
|
-
l && (o(new
|
|
938
|
+
l && (o(new k("Request aborted", k.ECONNABORTED, e, l)), l = null);
|
|
939
939
|
}, l.onerror = function() {
|
|
940
|
-
o(new
|
|
940
|
+
o(new k("Network Error", k.ERR_NETWORK, e, l)), l = null;
|
|
941
941
|
}, l.ontimeout = function() {
|
|
942
|
-
let
|
|
942
|
+
let m = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
943
943
|
const p = e.transitional || To;
|
|
944
|
-
e.timeoutErrorMessage && (
|
|
945
|
-
|
|
946
|
-
p.clarifyTimeoutError ?
|
|
944
|
+
e.timeoutErrorMessage && (m = e.timeoutErrorMessage), o(new k(
|
|
945
|
+
m,
|
|
946
|
+
p.clarifyTimeoutError ? k.ETIMEDOUT : k.ECONNABORTED,
|
|
947
947
|
e,
|
|
948
948
|
l
|
|
949
949
|
)), l = null;
|
|
950
950
|
}, ce.isStandardBrowserEnv) {
|
|
951
|
-
const
|
|
952
|
-
|
|
951
|
+
const v = (e.withCredentials || Us(c)) && e.xsrfCookieName && Is.read(e.xsrfCookieName);
|
|
952
|
+
v && s.set(e.xsrfHeaderName, v);
|
|
953
953
|
}
|
|
954
|
-
r === void 0 && s.setContentType(null), "setRequestHeader" in l && h.forEach(s.toJSON(), function(
|
|
955
|
-
l.setRequestHeader(p,
|
|
956
|
-
}), h.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", In(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", In(e.onUploadProgress)), (e.cancelToken || e.signal) && (i = (
|
|
957
|
-
l && (o(!
|
|
954
|
+
r === void 0 && s.setContentType(null), "setRequestHeader" in l && h.forEach(s.toJSON(), function(m, p) {
|
|
955
|
+
l.setRequestHeader(p, m);
|
|
956
|
+
}), h.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", In(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", In(e.onUploadProgress)), (e.cancelToken || e.signal) && (i = (v) => {
|
|
957
|
+
l && (o(!v || v.type ? new lt(null, e, l) : v), l.abort(), l = null);
|
|
958
958
|
}, e.cancelToken && e.cancelToken.subscribe(i), e.signal && (e.signal.aborted ? i() : e.signal.addEventListener("abort", i)));
|
|
959
959
|
const f = Hs(c);
|
|
960
960
|
if (f && ce.protocols.indexOf(f) === -1) {
|
|
961
|
-
o(new
|
|
961
|
+
o(new k("Unsupported protocol " + f + ":", k.ERR_BAD_REQUEST, e));
|
|
962
962
|
return;
|
|
963
963
|
}
|
|
964
964
|
l.send(r || null);
|
|
965
965
|
});
|
|
966
|
-
},
|
|
966
|
+
}, yt = {
|
|
967
967
|
http: vs,
|
|
968
968
|
xhr: qs
|
|
969
969
|
};
|
|
970
|
-
h.forEach(
|
|
970
|
+
h.forEach(yt, (e, t) => {
|
|
971
971
|
if (e) {
|
|
972
972
|
try {
|
|
973
973
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -981,37 +981,37 @@ const Gs = {
|
|
|
981
981
|
e = h.isArray(e) ? e : [e];
|
|
982
982
|
const { length: t } = e;
|
|
983
983
|
let n, o;
|
|
984
|
-
for (let r = 0; r < t && (n = e[r], !(o = h.isString(n) ?
|
|
984
|
+
for (let r = 0; r < t && (n = e[r], !(o = h.isString(n) ? yt[n.toLowerCase()] : n)); r++)
|
|
985
985
|
;
|
|
986
986
|
if (!o)
|
|
987
|
-
throw o === !1 ? new
|
|
987
|
+
throw o === !1 ? new k(
|
|
988
988
|
`Adapter ${n} is not supported by the environment`,
|
|
989
989
|
"ERR_NOT_SUPPORT"
|
|
990
990
|
) : new Error(
|
|
991
|
-
h.hasOwnProp(
|
|
991
|
+
h.hasOwnProp(yt, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
|
|
992
992
|
);
|
|
993
993
|
if (!h.isFunction(o))
|
|
994
994
|
throw new TypeError("adapter is not a function");
|
|
995
995
|
return o;
|
|
996
996
|
},
|
|
997
|
-
adapters:
|
|
997
|
+
adapters: yt
|
|
998
998
|
};
|
|
999
|
-
function
|
|
999
|
+
function Gt(e) {
|
|
1000
1000
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1001
|
-
throw new
|
|
1001
|
+
throw new lt(null, e);
|
|
1002
1002
|
}
|
|
1003
1003
|
function Bn(e) {
|
|
1004
|
-
return
|
|
1004
|
+
return Gt(e), e.headers = he.from(e.headers), e.data = qt.call(
|
|
1005
1005
|
e,
|
|
1006
1006
|
e.transformRequest
|
|
1007
1007
|
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Gs.getAdapter(e.adapter || yn.adapter)(e).then(function(o) {
|
|
1008
|
-
return
|
|
1008
|
+
return Gt(e), o.data = qt.call(
|
|
1009
1009
|
e,
|
|
1010
1010
|
e.transformResponse,
|
|
1011
1011
|
o
|
|
1012
1012
|
), o.headers = he.from(o.headers), o;
|
|
1013
1013
|
}, function(o) {
|
|
1014
|
-
return
|
|
1014
|
+
return Ao(o) || (Gt(e), o && o.response && (o.response.data = qt.call(
|
|
1015
1015
|
e,
|
|
1016
1016
|
e.transformResponse,
|
|
1017
1017
|
o.response
|
|
@@ -1084,7 +1084,7 @@ function Fe(e, t) {
|
|
|
1084
1084
|
h.isUndefined(f) && u !== i || (n[c] = f);
|
|
1085
1085
|
}), n;
|
|
1086
1086
|
}
|
|
1087
|
-
const
|
|
1087
|
+
const ko = "1.4.0", bn = {};
|
|
1088
1088
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1089
1089
|
bn[e] = function(o) {
|
|
1090
1090
|
return typeof o === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -1093,13 +1093,13 @@ const Lo = "1.4.0", bn = {};
|
|
|
1093
1093
|
const Un = {};
|
|
1094
1094
|
bn.transitional = function(t, n, o) {
|
|
1095
1095
|
function r(s, a) {
|
|
1096
|
-
return "[Axios v" +
|
|
1096
|
+
return "[Axios v" + ko + "] Transitional option '" + s + "'" + a + (o ? ". " + o : "");
|
|
1097
1097
|
}
|
|
1098
1098
|
return (s, a, i) => {
|
|
1099
1099
|
if (t === !1)
|
|
1100
|
-
throw new
|
|
1100
|
+
throw new k(
|
|
1101
1101
|
r(a, " has been removed" + (n ? " in " + n : "")),
|
|
1102
|
-
|
|
1102
|
+
k.ERR_DEPRECATED
|
|
1103
1103
|
);
|
|
1104
1104
|
return n && !Un[a] && (Un[a] = !0, console.warn(
|
|
1105
1105
|
r(
|
|
@@ -1111,7 +1111,7 @@ bn.transitional = function(t, n, o) {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
function Ws(e, t, n) {
|
|
1113
1113
|
if (typeof e != "object")
|
|
1114
|
-
throw new
|
|
1114
|
+
throw new k("options must be an object", k.ERR_BAD_OPTION_VALUE);
|
|
1115
1115
|
const o = Object.keys(e);
|
|
1116
1116
|
let r = o.length;
|
|
1117
1117
|
for (; r-- > 0; ) {
|
|
@@ -1119,22 +1119,22 @@ function Ws(e, t, n) {
|
|
|
1119
1119
|
if (a) {
|
|
1120
1120
|
const i = e[s], d = i === void 0 || a(i, s, e);
|
|
1121
1121
|
if (d !== !0)
|
|
1122
|
-
throw new
|
|
1122
|
+
throw new k("option " + s + " must be " + d, k.ERR_BAD_OPTION_VALUE);
|
|
1123
1123
|
continue;
|
|
1124
1124
|
}
|
|
1125
1125
|
if (n !== !0)
|
|
1126
|
-
throw new
|
|
1126
|
+
throw new k("Unknown option " + s, k.ERR_BAD_OPTION);
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
|
-
const
|
|
1129
|
+
const nn = {
|
|
1130
1130
|
assertOptions: Ws,
|
|
1131
1131
|
validators: bn
|
|
1132
|
-
}, me =
|
|
1133
|
-
class
|
|
1132
|
+
}, me = nn.validators;
|
|
1133
|
+
class _t {
|
|
1134
1134
|
constructor(t) {
|
|
1135
1135
|
this.defaults = t, this.interceptors = {
|
|
1136
|
-
request: new
|
|
1137
|
-
response: new
|
|
1136
|
+
request: new Dn(),
|
|
1137
|
+
response: new Dn()
|
|
1138
1138
|
};
|
|
1139
1139
|
}
|
|
1140
1140
|
/**
|
|
@@ -1148,13 +1148,13 @@ class bt {
|
|
|
1148
1148
|
request(t, n) {
|
|
1149
1149
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Fe(this.defaults, n);
|
|
1150
1150
|
const { transitional: o, paramsSerializer: r, headers: s } = n;
|
|
1151
|
-
o !== void 0 &&
|
|
1151
|
+
o !== void 0 && nn.assertOptions(o, {
|
|
1152
1152
|
silentJSONParsing: me.transitional(me.boolean),
|
|
1153
1153
|
forcedJSONParsing: me.transitional(me.boolean),
|
|
1154
1154
|
clarifyTimeoutError: me.transitional(me.boolean)
|
|
1155
1155
|
}, !1), r != null && (h.isFunction(r) ? n.paramsSerializer = {
|
|
1156
1156
|
serialize: r
|
|
1157
|
-
} :
|
|
1157
|
+
} : nn.assertOptions(r, {
|
|
1158
1158
|
encode: me.function,
|
|
1159
1159
|
serialize: me.function
|
|
1160
1160
|
}, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -1164,8 +1164,8 @@ class bt {
|
|
|
1164
1164
|
s[n.method]
|
|
1165
1165
|
), a && h.forEach(
|
|
1166
1166
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1167
|
-
(
|
|
1168
|
-
delete s[
|
|
1167
|
+
(m) => {
|
|
1168
|
+
delete s[m];
|
|
1169
1169
|
}
|
|
1170
1170
|
), n.headers = he.concat(a, s);
|
|
1171
1171
|
const i = [];
|
|
@@ -1179,26 +1179,26 @@ class bt {
|
|
|
1179
1179
|
});
|
|
1180
1180
|
let c, u = 0, f;
|
|
1181
1181
|
if (!d) {
|
|
1182
|
-
const
|
|
1183
|
-
for (
|
|
1184
|
-
c = c.then(
|
|
1182
|
+
const m = [Bn.bind(this), void 0];
|
|
1183
|
+
for (m.unshift.apply(m, i), m.push.apply(m, l), f = m.length, c = Promise.resolve(n); u < f; )
|
|
1184
|
+
c = c.then(m[u++], m[u++]);
|
|
1185
1185
|
return c;
|
|
1186
1186
|
}
|
|
1187
1187
|
f = i.length;
|
|
1188
|
-
let
|
|
1188
|
+
let v = n;
|
|
1189
1189
|
for (u = 0; u < f; ) {
|
|
1190
|
-
const
|
|
1190
|
+
const m = i[u++], p = i[u++];
|
|
1191
1191
|
try {
|
|
1192
|
-
|
|
1192
|
+
v = m(v);
|
|
1193
1193
|
} catch (b) {
|
|
1194
1194
|
p.call(this, b);
|
|
1195
1195
|
break;
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
1198
|
try {
|
|
1199
|
-
c = Bn.call(this,
|
|
1200
|
-
} catch (
|
|
1201
|
-
return Promise.reject(
|
|
1199
|
+
c = Bn.call(this, v);
|
|
1200
|
+
} catch (m) {
|
|
1201
|
+
return Promise.reject(m);
|
|
1202
1202
|
}
|
|
1203
1203
|
for (u = 0, f = l.length; u < f; )
|
|
1204
1204
|
c = c.then(l[u++], l[u++]);
|
|
@@ -1206,12 +1206,12 @@ class bt {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
getUri(t) {
|
|
1208
1208
|
t = Fe(this.defaults, t);
|
|
1209
|
-
const n =
|
|
1209
|
+
const n = Lo(t.baseURL, t.url);
|
|
1210
1210
|
return Co(n, t.params, t.paramsSerializer);
|
|
1211
1211
|
}
|
|
1212
1212
|
}
|
|
1213
1213
|
h.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1214
|
-
|
|
1214
|
+
_t.prototype[t] = function(n, o) {
|
|
1215
1215
|
return this.request(Fe(o || {}, {
|
|
1216
1216
|
method: t,
|
|
1217
1217
|
url: n,
|
|
@@ -1232,9 +1232,9 @@ h.forEach(["post", "put", "patch"], function(t) {
|
|
|
1232
1232
|
}));
|
|
1233
1233
|
};
|
|
1234
1234
|
}
|
|
1235
|
-
|
|
1235
|
+
_t.prototype[t] = n(), _t.prototype[t + "Form"] = n(!0);
|
|
1236
1236
|
});
|
|
1237
|
-
const
|
|
1237
|
+
const bt = _t;
|
|
1238
1238
|
class wn {
|
|
1239
1239
|
constructor(t) {
|
|
1240
1240
|
if (typeof t != "function")
|
|
@@ -1260,7 +1260,7 @@ class wn {
|
|
|
1260
1260
|
o.unsubscribe(s);
|
|
1261
1261
|
}, a;
|
|
1262
1262
|
}, t(function(s, a, i) {
|
|
1263
|
-
o.reason || (o.reason = new
|
|
1263
|
+
o.reason || (o.reason = new lt(s, a, i), n(o.reason));
|
|
1264
1264
|
});
|
|
1265
1265
|
}
|
|
1266
1266
|
/**
|
|
@@ -1312,7 +1312,7 @@ function Ks(e) {
|
|
|
1312
1312
|
function Ys(e) {
|
|
1313
1313
|
return h.isObject(e) && e.isAxiosError === !0;
|
|
1314
1314
|
}
|
|
1315
|
-
const
|
|
1315
|
+
const on = {
|
|
1316
1316
|
Continue: 100,
|
|
1317
1317
|
SwitchingProtocols: 101,
|
|
1318
1318
|
Processing: 102,
|
|
@@ -1377,24 +1377,24 @@ const tn = {
|
|
|
1377
1377
|
NotExtended: 510,
|
|
1378
1378
|
NetworkAuthenticationRequired: 511
|
|
1379
1379
|
};
|
|
1380
|
-
Object.entries(
|
|
1381
|
-
|
|
1380
|
+
Object.entries(on).forEach(([e, t]) => {
|
|
1381
|
+
on[t] = e;
|
|
1382
1382
|
});
|
|
1383
|
-
const Xs =
|
|
1383
|
+
const Xs = on;
|
|
1384
1384
|
function $o(e) {
|
|
1385
|
-
const t = new
|
|
1386
|
-
return h.extend(n,
|
|
1385
|
+
const t = new bt(e), n = mo(bt.prototype.request, t);
|
|
1386
|
+
return h.extend(n, bt.prototype, t, { allOwnKeys: !0 }), h.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
|
|
1387
1387
|
return $o(Fe(e, r));
|
|
1388
1388
|
}, n;
|
|
1389
1389
|
}
|
|
1390
1390
|
const M = $o(yn);
|
|
1391
|
-
M.Axios =
|
|
1392
|
-
M.CanceledError =
|
|
1391
|
+
M.Axios = bt;
|
|
1392
|
+
M.CanceledError = lt;
|
|
1393
1393
|
M.CancelToken = Js;
|
|
1394
|
-
M.isCancel =
|
|
1395
|
-
M.VERSION =
|
|
1396
|
-
M.toFormData =
|
|
1397
|
-
M.AxiosError =
|
|
1394
|
+
M.isCancel = Ao;
|
|
1395
|
+
M.VERSION = ko;
|
|
1396
|
+
M.toFormData = Tt;
|
|
1397
|
+
M.AxiosError = k;
|
|
1398
1398
|
M.Cancel = M.CanceledError;
|
|
1399
1399
|
M.all = function(t) {
|
|
1400
1400
|
return Promise.all(t);
|
|
@@ -1415,7 +1415,7 @@ const Zs = M, Fo = Zs.create({
|
|
|
1415
1415
|
});
|
|
1416
1416
|
Fo.interceptors.request.use((e) => (console.log(e), e), (e) => Promise.reject(e));
|
|
1417
1417
|
Fo.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
|
|
1418
|
-
const
|
|
1418
|
+
const Wt = "@", ze = window.localStorage, Hn = {
|
|
1419
1419
|
number: {
|
|
1420
1420
|
save: (e) => e,
|
|
1421
1421
|
parse: (e) => Number.parseFloat(e)
|
|
@@ -1437,7 +1437,7 @@ const qt = "@", ze = window.localStorage, Hn = {
|
|
|
1437
1437
|
function Vn(e) {
|
|
1438
1438
|
return Hn[e] || Hn.default;
|
|
1439
1439
|
}
|
|
1440
|
-
const
|
|
1440
|
+
const dt = {
|
|
1441
1441
|
get(e) {
|
|
1442
1442
|
let t = ze.getItem(e);
|
|
1443
1443
|
if (t) {
|
|
@@ -1454,10 +1454,10 @@ const ct = {
|
|
|
1454
1454
|
put(e, t, n) {
|
|
1455
1455
|
const o = typeof t, r = Vn(o);
|
|
1456
1456
|
if (!n)
|
|
1457
|
-
t = o +
|
|
1457
|
+
t = o + Wt + encodeURIComponent(r.save(t));
|
|
1458
1458
|
else {
|
|
1459
1459
|
let s = n * 24 * 60 * 60 * 1e3 + (/* @__PURE__ */ new Date()).getTime();
|
|
1460
|
-
t = o +
|
|
1460
|
+
t = o + Wt + encodeURIComponent(r.save(t)) + Wt + s;
|
|
1461
1461
|
}
|
|
1462
1462
|
ze.setItem(e, t);
|
|
1463
1463
|
},
|
|
@@ -1469,10 +1469,10 @@ const ct = {
|
|
|
1469
1469
|
}
|
|
1470
1470
|
};
|
|
1471
1471
|
var Qs = !1;
|
|
1472
|
-
function
|
|
1472
|
+
function ft(e, t, n) {
|
|
1473
1473
|
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1475
|
+
function Jt(e, t) {
|
|
1476
1476
|
if (Array.isArray(e)) {
|
|
1477
1477
|
e.splice(t, 1);
|
|
1478
1478
|
return;
|
|
@@ -1484,10 +1484,10 @@ const _n = typeof window < "u";
|
|
|
1484
1484
|
_n && ((zn = window == null ? void 0 : window.navigator) != null && zn.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1485
1485
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
1486
1486
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1487
|
-
const ea = Object.prototype.hasOwnProperty, qn = (e, t) => ea.call(e, t), En = (e) => typeof e == "string",
|
|
1487
|
+
const ea = Object.prototype.hasOwnProperty, qn = (e, t) => ea.call(e, t), En = (e) => typeof e == "string", Lt = (e) => e !== null && typeof e == "object", Ro = (e) => {
|
|
1488
1488
|
const t = /* @__PURE__ */ Object.create(null);
|
|
1489
1489
|
return (n) => t[n] || (t[n] = e(n));
|
|
1490
|
-
}, ta = /-(\w)/g, na =
|
|
1490
|
+
}, ta = /-(\w)/g, na = Ro((e) => e.replace(ta, (t, n) => n ? n.toUpperCase() : "")), oa = /\B([A-Z])/g, ra = Ro(
|
|
1491
1491
|
(e) => e.replace(oa, "-$1").toLowerCase()
|
|
1492
1492
|
);
|
|
1493
1493
|
var sa = typeof global == "object" && global && global.Object === Object && global;
|
|
@@ -1495,8 +1495,8 @@ const aa = sa;
|
|
|
1495
1495
|
var ia = typeof self == "object" && self && self.Object === Object && self, la = aa || ia || Function("return this")();
|
|
1496
1496
|
const Sn = la;
|
|
1497
1497
|
var ua = Sn.Symbol;
|
|
1498
|
-
const
|
|
1499
|
-
var
|
|
1498
|
+
const Re = ua;
|
|
1499
|
+
var Do = Object.prototype, ca = Do.hasOwnProperty, da = Do.toString, qe = Re ? Re.toStringTag : void 0;
|
|
1500
1500
|
function fa(e) {
|
|
1501
1501
|
var t = ca.call(e, qe), n = e[qe];
|
|
1502
1502
|
try {
|
|
@@ -1511,7 +1511,7 @@ var pa = Object.prototype, ha = pa.toString;
|
|
|
1511
1511
|
function ma(e) {
|
|
1512
1512
|
return ha.call(e);
|
|
1513
1513
|
}
|
|
1514
|
-
var va = "[object Null]", ga = "[object Undefined]", Gn =
|
|
1514
|
+
var va = "[object Null]", ga = "[object Undefined]", Gn = Re ? Re.toStringTag : void 0;
|
|
1515
1515
|
function jo(e) {
|
|
1516
1516
|
return e == null ? e === void 0 ? ga : va : Gn && Gn in Object(e) ? fa(e) : ma(e);
|
|
1517
1517
|
}
|
|
@@ -1529,7 +1529,7 @@ function wa(e, t) {
|
|
|
1529
1529
|
}
|
|
1530
1530
|
var _a = Array.isArray;
|
|
1531
1531
|
const Pn = _a;
|
|
1532
|
-
var Ea = 1 / 0, Wn =
|
|
1532
|
+
var Ea = 1 / 0, Wn = Re ? Re.prototype : void 0, Jn = Wn ? Wn.toString : void 0;
|
|
1533
1533
|
function Io(e) {
|
|
1534
1534
|
if (typeof e == "string")
|
|
1535
1535
|
return e;
|
|
@@ -1552,19 +1552,19 @@ function Ca(e) {
|
|
|
1552
1552
|
return t == xa || t == Pa || t == Sa || t == Oa;
|
|
1553
1553
|
}
|
|
1554
1554
|
var Ta = Sn["__core-js_shared__"];
|
|
1555
|
-
const
|
|
1555
|
+
const Kt = Ta;
|
|
1556
1556
|
var Kn = function() {
|
|
1557
|
-
var e = /[^.]+$/.exec(
|
|
1557
|
+
var e = /[^.]+$/.exec(Kt && Kt.keys && Kt.keys.IE_PROTO || "");
|
|
1558
1558
|
return e ? "Symbol(src)_1." + e : "";
|
|
1559
1559
|
}();
|
|
1560
1560
|
function Na(e) {
|
|
1561
1561
|
return !!Kn && Kn in e;
|
|
1562
1562
|
}
|
|
1563
|
-
var
|
|
1564
|
-
function
|
|
1563
|
+
var Aa = Function.prototype, La = Aa.toString;
|
|
1564
|
+
function ka(e) {
|
|
1565
1565
|
if (e != null) {
|
|
1566
1566
|
try {
|
|
1567
|
-
return
|
|
1567
|
+
return La.call(e);
|
|
1568
1568
|
} catch {
|
|
1569
1569
|
}
|
|
1570
1570
|
try {
|
|
@@ -1574,14 +1574,14 @@ function La(e) {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
return "";
|
|
1576
1576
|
}
|
|
1577
|
-
var $a = /[\\^$.*+?()[\]{}|]/g, Fa = /^\[object .+?Constructor\]$/,
|
|
1577
|
+
var $a = /[\\^$.*+?()[\]{}|]/g, Fa = /^\[object .+?Constructor\]$/, Ra = Function.prototype, Da = Object.prototype, ja = Ra.toString, Ia = Da.hasOwnProperty, Ba = RegExp(
|
|
1578
1578
|
"^" + ja.call(Ia).replace($a, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1579
1579
|
);
|
|
1580
1580
|
function Ma(e) {
|
|
1581
1581
|
if (!Bo(e) || Na(e))
|
|
1582
1582
|
return !1;
|
|
1583
1583
|
var t = Ca(e) ? Ba : Fa;
|
|
1584
|
-
return t.test(
|
|
1584
|
+
return t.test(ka(e));
|
|
1585
1585
|
}
|
|
1586
1586
|
function Ua(e, t) {
|
|
1587
1587
|
return e == null ? void 0 : e[t];
|
|
@@ -1693,22 +1693,22 @@ function hi(e) {
|
|
|
1693
1693
|
var t = typeof e;
|
|
1694
1694
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1696
|
+
function $t(e, t) {
|
|
1697
1697
|
var n = e.__data__;
|
|
1698
1698
|
return hi(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
1699
1699
|
}
|
|
1700
1700
|
function mi(e) {
|
|
1701
|
-
var t =
|
|
1701
|
+
var t = $t(this, e).delete(e);
|
|
1702
1702
|
return this.size -= t ? 1 : 0, t;
|
|
1703
1703
|
}
|
|
1704
1704
|
function vi(e) {
|
|
1705
|
-
return
|
|
1705
|
+
return $t(this, e).get(e);
|
|
1706
1706
|
}
|
|
1707
1707
|
function gi(e) {
|
|
1708
|
-
return
|
|
1708
|
+
return $t(this, e).has(e);
|
|
1709
1709
|
}
|
|
1710
1710
|
function yi(e, t) {
|
|
1711
|
-
var n =
|
|
1711
|
+
var n = $t(this, e), o = n.size;
|
|
1712
1712
|
return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
|
|
1713
1713
|
}
|
|
1714
1714
|
function Te(e) {
|
|
@@ -1764,17 +1764,17 @@ function Ni(e) {
|
|
|
1764
1764
|
var t = e + "";
|
|
1765
1765
|
return t == "0" && 1 / e == -Ti ? "-0" : t;
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function Ai(e, t) {
|
|
1768
1768
|
t = Ci(t, e);
|
|
1769
1769
|
for (var n = 0, o = t.length; e != null && n < o; )
|
|
1770
1770
|
e = e[Ni(t[n++])];
|
|
1771
1771
|
return n && n == o ? e : void 0;
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1774
|
-
var o = e == null ? void 0 :
|
|
1773
|
+
function Li(e, t, n) {
|
|
1774
|
+
var o = e == null ? void 0 : Ai(e, t);
|
|
1775
1775
|
return o === void 0 ? n : o;
|
|
1776
1776
|
}
|
|
1777
|
-
const
|
|
1777
|
+
const ki = (e) => typeof e == "number", Yn = (e) => Object.keys(e);
|
|
1778
1778
|
class $i extends Error {
|
|
1779
1779
|
constructor(t) {
|
|
1780
1780
|
super(t), this.name = "ElementPlusError";
|
|
@@ -1788,7 +1788,7 @@ function Fi(e, t) {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
const Uo = (e = "") => e.split(" ").filter((t) => !!t.trim()), Xn = (e, t) => {
|
|
1790
1790
|
!e || !t.trim() || e.classList.add(...Uo(t));
|
|
1791
|
-
},
|
|
1791
|
+
}, Et = (e, t) => {
|
|
1792
1792
|
!e || !t.trim() || e.classList.remove(...Uo(t));
|
|
1793
1793
|
}, Ge = (e, t) => {
|
|
1794
1794
|
var n;
|
|
@@ -1805,8 +1805,8 @@ const Uo = (e = "") => e.split(" ").filter((t) => !!t.trim()), Xn = (e, t) => {
|
|
|
1805
1805
|
} catch {
|
|
1806
1806
|
return e.style[o];
|
|
1807
1807
|
}
|
|
1808
|
-
}, Ho = "__epPropKey",
|
|
1809
|
-
if (!
|
|
1808
|
+
}, Ho = "__epPropKey", Ri = (e) => Lt(e) && !!e[Ho], Di = (e, t) => {
|
|
1809
|
+
if (!Lt(e) || Ri(e))
|
|
1810
1810
|
return e;
|
|
1811
1811
|
const { values: n, required: o, default: r, type: s, validator: a } = e, d = {
|
|
1812
1812
|
type: s,
|
|
@@ -1814,7 +1814,7 @@ const Uo = (e = "") => e.split(" ").filter((t) => !!t.trim()), Xn = (e, t) => {
|
|
|
1814
1814
|
validator: n || a ? (l) => {
|
|
1815
1815
|
let c = !1, u = [];
|
|
1816
1816
|
if (n && (u = Array.from(n), qn(e, "default") && u.push(r), c || (c = u.includes(l))), a && (c || (c = a(l))), !c && u.length > 0) {
|
|
1817
|
-
const f = [...new Set(u)].map((
|
|
1817
|
+
const f = [...new Set(u)].map((v) => JSON.stringify(v)).join(", ");
|
|
1818
1818
|
Pr(`Invalid prop: validation failed${t ? ` for prop "${t}"` : ""}. Expected one of [${f}], got value ${JSON.stringify(l)}.`);
|
|
1819
1819
|
}
|
|
1820
1820
|
return c;
|
|
@@ -1985,7 +1985,7 @@ var Ii = {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
1987
|
};
|
|
1988
|
-
const Bi = (e) => (t, n) => Mi(t, n, z(e)), Mi = (e, t, n) =>
|
|
1988
|
+
const Bi = (e) => (t, n) => Mi(t, n, z(e)), Mi = (e, t, n) => Li(n, e, e).replace(/\{(\w+)\}/g, (o, r) => {
|
|
1989
1989
|
var s;
|
|
1990
1990
|
return `${(s = t == null ? void 0 : t[r]) != null ? s : `{${r}}`}`;
|
|
1991
1991
|
}), Ui = (e) => {
|
|
@@ -1998,12 +1998,12 @@ const Bi = (e) => (t, n) => Mi(t, n, z(e)), Mi = (e, t, n) => Ai(n, e, e).replac
|
|
|
1998
1998
|
}, Vo = Symbol("localeContextKey"), Hi = (e) => {
|
|
1999
1999
|
const t = e || H(Vo, O());
|
|
2000
2000
|
return Ui(x(() => t.value || Ii));
|
|
2001
|
-
},
|
|
2001
|
+
}, wt = "el", Vi = "is-", ye = (e, t, n, o, r) => {
|
|
2002
2002
|
let s = `${e}-${t}`;
|
|
2003
2003
|
return n && (s += `-${n}`), o && (s += `__${o}`), r && (s += `--${r}`), s;
|
|
2004
2004
|
}, zo = Symbol("namespaceContextKey"), zi = (e) => {
|
|
2005
|
-
const t = e || H(zo, O(
|
|
2006
|
-
return x(() => z(t) ||
|
|
2005
|
+
const t = e || (ot() ? H(zo, O(wt)) : O(wt));
|
|
2006
|
+
return x(() => z(t) || wt);
|
|
2007
2007
|
}, qi = (e, t) => {
|
|
2008
2008
|
const n = zi(t);
|
|
2009
2009
|
return {
|
|
@@ -2035,9 +2035,9 @@ const Bi = (e) => (t, n) => Mi(t, n, z(e)), Mi = (e, t, n) => Ai(n, e, e).replac
|
|
|
2035
2035
|
cssVarBlockName: (p) => `--${n.value}-${e}-${p}`
|
|
2036
2036
|
};
|
|
2037
2037
|
}, Zn = O(0), qo = 2e3, Go = Symbol("zIndexContextKey"), Gi = (e) => {
|
|
2038
|
-
const t = e || H(Go, void 0), n = x(() => {
|
|
2038
|
+
const t = e || (ot() ? H(Go, void 0) : void 0), n = x(() => {
|
|
2039
2039
|
const s = z(t);
|
|
2040
|
-
return
|
|
2040
|
+
return ki(s) ? s : qo;
|
|
2041
2041
|
}), o = x(() => n.value + Zn.value);
|
|
2042
2042
|
return {
|
|
2043
2043
|
initialZIndex: n,
|
|
@@ -2045,14 +2045,14 @@ const Bi = (e) => (t, n) => Mi(t, n, z(e)), Mi = (e, t, n) => Ai(n, e, e).replac
|
|
|
2045
2045
|
nextZIndex: () => (Zn.value++, o.value)
|
|
2046
2046
|
};
|
|
2047
2047
|
};
|
|
2048
|
-
|
|
2048
|
+
Di({
|
|
2049
2049
|
type: String,
|
|
2050
2050
|
values: ji,
|
|
2051
2051
|
required: !1
|
|
2052
2052
|
});
|
|
2053
|
-
const Wi = Symbol("size"), Wo = Symbol(),
|
|
2053
|
+
const Wi = Symbol("size"), Wo = Symbol(), St = O();
|
|
2054
2054
|
function Jo(e, t = void 0) {
|
|
2055
|
-
const n =
|
|
2055
|
+
const n = ot() ? H(Wo, St) : St;
|
|
2056
2056
|
return e ? x(() => {
|
|
2057
2057
|
var o, r;
|
|
2058
2058
|
return (r = (o = n.value) == null ? void 0 : o[e]) != null ? r : t;
|
|
@@ -2061,7 +2061,7 @@ function Jo(e, t = void 0) {
|
|
|
2061
2061
|
function Ji(e, t) {
|
|
2062
2062
|
const n = Jo(), o = qi(e, x(() => {
|
|
2063
2063
|
var i;
|
|
2064
|
-
return ((i = n.value) == null ? void 0 : i.namespace) ||
|
|
2064
|
+
return ((i = n.value) == null ? void 0 : i.namespace) || wt;
|
|
2065
2065
|
})), r = Hi(x(() => {
|
|
2066
2066
|
var i;
|
|
2067
2067
|
return (i = n.value) == null ? void 0 : i.locale;
|
|
@@ -2081,7 +2081,7 @@ function Ji(e, t) {
|
|
|
2081
2081
|
}
|
|
2082
2082
|
const Ki = (e, t, n = !1) => {
|
|
2083
2083
|
var o;
|
|
2084
|
-
const r = !!
|
|
2084
|
+
const r = !!ot(), s = r ? Jo() : void 0, a = (o = t == null ? void 0 : t.provide) != null ? o : r ? re : void 0;
|
|
2085
2085
|
if (!a) {
|
|
2086
2086
|
Fi("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
2087
2087
|
return;
|
|
@@ -2092,7 +2092,7 @@ const Ki = (e, t, n = !1) => {
|
|
|
2092
2092
|
});
|
|
2093
2093
|
return a(Wo, i), a(Vo, x(() => i.value.locale)), a(zo, x(() => i.value.namespace)), a(Go, x(() => i.value.zIndex)), a(Wi, {
|
|
2094
2094
|
size: x(() => i.value.size || "")
|
|
2095
|
-
}), (n || !
|
|
2095
|
+
}), (n || !St.value) && (St.value = i.value), i;
|
|
2096
2096
|
}, Yi = (e, t) => {
|
|
2097
2097
|
var n;
|
|
2098
2098
|
const o = [.../* @__PURE__ */ new Set([...Yn(e), ...Yn(t)])], r = {};
|
|
@@ -2112,16 +2112,16 @@ function Xi(e) {
|
|
|
2112
2112
|
o.text = f;
|
|
2113
2113
|
}
|
|
2114
2114
|
function s() {
|
|
2115
|
-
const f = o.parent,
|
|
2115
|
+
const f = o.parent, v = u.ns;
|
|
2116
2116
|
if (!f.vLoadingAddClassList) {
|
|
2117
|
-
let
|
|
2118
|
-
|
|
2117
|
+
let m = f.getAttribute("loading-number");
|
|
2118
|
+
m = Number.parseInt(m) - 1, m ? f.setAttribute("loading-number", m.toString()) : (Et(f, v.bm("parent", "relative")), f.removeAttribute("loading-number")), Et(f, v.bm("parent", "hidden"));
|
|
2119
2119
|
}
|
|
2120
2120
|
a(), c.unmount();
|
|
2121
2121
|
}
|
|
2122
2122
|
function a() {
|
|
2123
|
-
var f,
|
|
2124
|
-
(
|
|
2123
|
+
var f, v;
|
|
2124
|
+
(v = (f = u.$el) == null ? void 0 : f.parentNode) == null || v.removeChild(u.$el);
|
|
2125
2125
|
}
|
|
2126
2126
|
function i() {
|
|
2127
2127
|
var f;
|
|
@@ -2135,10 +2135,10 @@ function Xi(e) {
|
|
|
2135
2135
|
}
|
|
2136
2136
|
const l = U({
|
|
2137
2137
|
name: "ElLoading",
|
|
2138
|
-
setup(f, { expose:
|
|
2139
|
-
const { ns:
|
|
2140
|
-
return
|
|
2141
|
-
ns:
|
|
2138
|
+
setup(f, { expose: v }) {
|
|
2139
|
+
const { ns: m, zIndex: p } = Ji("loading");
|
|
2140
|
+
return v({
|
|
2141
|
+
ns: m,
|
|
2142
2142
|
zIndex: p
|
|
2143
2143
|
}), () => {
|
|
2144
2144
|
const b = o.spinner || o.svg, w = j("svg", {
|
|
@@ -2153,9 +2153,9 @@ function Xi(e) {
|
|
|
2153
2153
|
r: "20",
|
|
2154
2154
|
fill: "none"
|
|
2155
2155
|
})
|
|
2156
|
-
]), N = o.text ? j("p", { class:
|
|
2156
|
+
]), N = o.text ? j("p", { class: m.b("text") }, [o.text]) : void 0;
|
|
2157
2157
|
return j(fo, {
|
|
2158
|
-
name:
|
|
2158
|
+
name: m.b("fade"),
|
|
2159
2159
|
onAfterLeave: d
|
|
2160
2160
|
}, {
|
|
2161
2161
|
default: be(() => [
|
|
@@ -2164,13 +2164,13 @@ function Xi(e) {
|
|
|
2164
2164
|
backgroundColor: o.background || ""
|
|
2165
2165
|
},
|
|
2166
2166
|
class: [
|
|
2167
|
-
|
|
2167
|
+
m.b("mask"),
|
|
2168
2168
|
o.customClass,
|
|
2169
2169
|
o.fullscreen ? "is-fullscreen" : ""
|
|
2170
2170
|
]
|
|
2171
2171
|
}, [
|
|
2172
2172
|
j("div", {
|
|
2173
|
-
class:
|
|
2173
|
+
class: m.b("spinner")
|
|
2174
2174
|
}, [w, N])
|
|
2175
2175
|
]), [[po, o.visible]])
|
|
2176
2176
|
])
|
|
@@ -2179,7 +2179,7 @@ function Xi(e) {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
}), c = Or(l), u = c.mount(document.createElement("div"));
|
|
2181
2181
|
return {
|
|
2182
|
-
...
|
|
2182
|
+
...Qt(o),
|
|
2183
2183
|
setText: r,
|
|
2184
2184
|
removeElLoadingChild: a,
|
|
2185
2185
|
close: i,
|
|
@@ -2190,23 +2190,23 @@ function Xi(e) {
|
|
|
2190
2190
|
}
|
|
2191
2191
|
};
|
|
2192
2192
|
}
|
|
2193
|
-
let
|
|
2194
|
-
const
|
|
2193
|
+
let pt;
|
|
2194
|
+
const rn = function(e = {}) {
|
|
2195
2195
|
if (!_n)
|
|
2196
2196
|
return;
|
|
2197
2197
|
const t = Zi(e);
|
|
2198
|
-
if (t.fullscreen &&
|
|
2199
|
-
return
|
|
2198
|
+
if (t.fullscreen && pt)
|
|
2199
|
+
return pt;
|
|
2200
2200
|
const n = Xi({
|
|
2201
2201
|
...t,
|
|
2202
2202
|
closed: () => {
|
|
2203
2203
|
var r;
|
|
2204
|
-
(r = t.closed) == null || r.call(t), t.fullscreen && (
|
|
2204
|
+
(r = t.closed) == null || r.call(t), t.fullscreen && (pt = void 0);
|
|
2205
2205
|
}
|
|
2206
2206
|
});
|
|
2207
2207
|
Qi(t, t.parent, n), Qn(t, t.parent, n), t.parent.vLoadingAddClassList = () => Qn(t, t.parent, n);
|
|
2208
2208
|
let o = t.parent.getAttribute("loading-number");
|
|
2209
|
-
return o ? o = `${Number.parseInt(o) + 1}` : o = "1", t.parent.setAttribute("loading-number", o), t.parent.appendChild(n.$el), Qe(() => n.visible.value = t.visible), t.fullscreen && (
|
|
2209
|
+
return o ? o = `${Number.parseInt(o) + 1}` : o = "1", t.parent.setAttribute("loading-number", o), t.parent.appendChild(n.$el), Qe(() => n.visible.value = t.visible), t.fullscreen && (pt = n), n;
|
|
2210
2210
|
}, Zi = (e) => {
|
|
2211
2211
|
var t, n, o, r;
|
|
2212
2212
|
let s;
|
|
@@ -2241,12 +2241,12 @@ const on = function(e = {}) {
|
|
|
2241
2241
|
n.$el.style[s] = a;
|
|
2242
2242
|
}, Qn = (e, t, n) => {
|
|
2243
2243
|
const o = n.vm.ns || n.vm._.exposed.ns;
|
|
2244
|
-
["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ?
|
|
2245
|
-
},
|
|
2244
|
+
["absolute", "fixed", "sticky"].includes(n.originalPosition.value) ? Et(t, o.bm("parent", "relative")) : Xn(t, o.bm("parent", "relative")), e.fullscreen && e.lock ? Xn(t, o.bm("parent", "hidden")) : Et(t, o.bm("parent", "hidden"));
|
|
2245
|
+
}, sn = Symbol("ElLoading"), eo = (e, t) => {
|
|
2246
2246
|
var n, o, r, s;
|
|
2247
|
-
const a = t.instance, i = (f) =>
|
|
2248
|
-
const
|
|
2249
|
-
return
|
|
2247
|
+
const a = t.instance, i = (f) => Lt(t.value) ? t.value[f] : void 0, d = (f) => {
|
|
2248
|
+
const v = En(f) && (a == null ? void 0 : a[f]) || f;
|
|
2249
|
+
return v && O(v);
|
|
2250
2250
|
}, l = (f) => d(i(f) || e.getAttribute(`element-loading-${ra(f)}`)), c = (n = i("fullscreen")) != null ? n : t.modifiers.fullscreen, u = {
|
|
2251
2251
|
text: l("text"),
|
|
2252
2252
|
svg: l("svg"),
|
|
@@ -2259,9 +2259,9 @@ const on = function(e = {}) {
|
|
|
2259
2259
|
body: (r = i("body")) != null ? r : t.modifiers.body,
|
|
2260
2260
|
lock: (s = i("lock")) != null ? s : t.modifiers.lock
|
|
2261
2261
|
};
|
|
2262
|
-
e[
|
|
2262
|
+
e[sn] = {
|
|
2263
2263
|
options: u,
|
|
2264
|
-
instance:
|
|
2264
|
+
instance: rn(u)
|
|
2265
2265
|
};
|
|
2266
2266
|
}, el = (e, t) => {
|
|
2267
2267
|
for (const n of Object.keys(t))
|
|
@@ -2271,26 +2271,26 @@ const on = function(e = {}) {
|
|
|
2271
2271
|
t.value && eo(e, t);
|
|
2272
2272
|
},
|
|
2273
2273
|
updated(e, t) {
|
|
2274
|
-
const n = e[
|
|
2275
|
-
t.oldValue !== t.value && (t.value && !t.oldValue ? eo(e, t) : t.value && t.oldValue ?
|
|
2274
|
+
const n = e[sn];
|
|
2275
|
+
t.oldValue !== t.value && (t.value && !t.oldValue ? eo(e, t) : t.value && t.oldValue ? Lt(t.value) && el(t.value, n.options) : n == null || n.instance.close());
|
|
2276
2276
|
},
|
|
2277
2277
|
unmounted(e) {
|
|
2278
2278
|
var t;
|
|
2279
|
-
(t = e[
|
|
2279
|
+
(t = e[sn]) == null || t.instance.close();
|
|
2280
2280
|
}
|
|
2281
2281
|
}, $e = {
|
|
2282
2282
|
install(e) {
|
|
2283
|
-
e.directive("loading", to), e.config.globalProperties.$loading =
|
|
2283
|
+
e.directive("loading", to), e.config.globalProperties.$loading = rn;
|
|
2284
2284
|
},
|
|
2285
2285
|
directive: to,
|
|
2286
|
-
service:
|
|
2286
|
+
service: rn
|
|
2287
2287
|
};
|
|
2288
|
-
function
|
|
2288
|
+
function ut() {
|
|
2289
2289
|
let e = "";
|
|
2290
2290
|
return typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (e = app_config.base_url || ""), e;
|
|
2291
2291
|
}
|
|
2292
2292
|
function tl() {
|
|
2293
|
-
const e = Yo(), t =
|
|
2293
|
+
const e = Yo(), t = ut();
|
|
2294
2294
|
return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : "recorder";
|
|
2295
2295
|
}
|
|
2296
2296
|
function Ko(e, t) {
|
|
@@ -2331,9 +2331,9 @@ function Be({ url: e, data: t = null, method: n = "GET", headers: o = null, cach
|
|
|
2331
2331
|
u(new Response("timeout", { status: 504, statusText: "timeout" })), a && a.abort();
|
|
2332
2332
|
}, 6e4);
|
|
2333
2333
|
});
|
|
2334
|
-
return Promise.race([c(), fetch(e, l).then((u) => u.json())]).then((u) => (console.log(u), u.success == !0 || u.ok === 0 || u.code == 0 ? (r && (s ?
|
|
2334
|
+
return Promise.race([c(), fetch(e, l).then((u) => u.json())]).then((u) => (console.log(u), u.success == !0 || u.ok === 0 || u.code == 0 ? (r && (s ? dt.put(r, u.data, s) : dt.put(r, u.data)), (u.message || u.message == 0) && (window.g_message = u.message), Promise.resolve(u.data)) : u && u.image || u && u.GOOGLE_ACCESS_TOKEN ? (r && (s ? dt.put(r, u, s) : dt.put(r, u)), Promise.resolve(u)) : u.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : Promise.reject(u.message || u.msg && u || "failed, please check your network and try again"))).catch((u) => Promise.reject(u));
|
|
2335
2335
|
}
|
|
2336
|
-
let Me =
|
|
2336
|
+
let Me = ut();
|
|
2337
2337
|
function no(e = !1) {
|
|
2338
2338
|
const t = {
|
|
2339
2339
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
@@ -2413,24 +2413,24 @@ function G({ visible: e = !0, features: t = 0, ourProps: n, theirProps: o, ...r
|
|
|
2413
2413
|
var s;
|
|
2414
2414
|
let a = Qo(o, n), i = Object.assign(r, { props: a });
|
|
2415
2415
|
if (e || t & 2 && a.static)
|
|
2416
|
-
return
|
|
2416
|
+
return Yt(i);
|
|
2417
2417
|
if (t & 1) {
|
|
2418
2418
|
let d = (s = a.unmount) == null || s ? 0 : 1;
|
|
2419
2419
|
return X(d, { [0]() {
|
|
2420
2420
|
return null;
|
|
2421
2421
|
}, [1]() {
|
|
2422
|
-
return
|
|
2422
|
+
return Yt({ ...r, props: { ...a, hidden: !0, style: { display: "none" } } });
|
|
2423
2423
|
} });
|
|
2424
2424
|
}
|
|
2425
|
-
return
|
|
2425
|
+
return Yt(i);
|
|
2426
2426
|
}
|
|
2427
|
-
function
|
|
2427
|
+
function Yt({ props: e, attrs: t, slots: n, slot: o, name: r }) {
|
|
2428
2428
|
var s, a;
|
|
2429
2429
|
let { as: i, ...d } = il(e, ["unmount", "static"]), l = (s = n.default) == null ? void 0 : s.call(n, o), c = {};
|
|
2430
2430
|
if (o) {
|
|
2431
2431
|
let u = !1, f = [];
|
|
2432
|
-
for (let [
|
|
2433
|
-
typeof
|
|
2432
|
+
for (let [v, m] of Object.entries(o))
|
|
2433
|
+
typeof m == "boolean" && (u = !0), m === !0 && f.push(v);
|
|
2434
2434
|
u && (c["data-headlessui-state"] = f.join(" "));
|
|
2435
2435
|
}
|
|
2436
2436
|
if (i === "template") {
|
|
@@ -2441,10 +2441,10 @@ function Jt({ props: e, attrs: t, slots: n, slot: o, name: r }) {
|
|
|
2441
2441
|
`), "", "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((p) => ` - ${p}`).join(`
|
|
2442
2442
|
`)].join(`
|
|
2443
2443
|
`));
|
|
2444
|
-
let
|
|
2445
|
-
for (let p in
|
|
2446
|
-
p.startsWith("on") && (
|
|
2447
|
-
return
|
|
2444
|
+
let v = Qo((a = u.props) != null ? a : {}, d), m = Cr(u, v);
|
|
2445
|
+
for (let p in v)
|
|
2446
|
+
p.startsWith("on") && (m.props || (m.props = {}), m.props[p] = v[p]);
|
|
2447
|
+
return m;
|
|
2448
2448
|
}
|
|
2449
2449
|
return Array.isArray(l) && l.length === 1 ? l[0] : l;
|
|
2450
2450
|
}
|
|
@@ -2544,9 +2544,9 @@ class ml {
|
|
|
2544
2544
|
return typeof window > "u" || typeof document > "u" ? "server" : "client";
|
|
2545
2545
|
}
|
|
2546
2546
|
}
|
|
2547
|
-
let
|
|
2547
|
+
let Ft = new ml();
|
|
2548
2548
|
function fe(e) {
|
|
2549
|
-
if (
|
|
2549
|
+
if (Ft.isServer)
|
|
2550
2550
|
return null;
|
|
2551
2551
|
if (e instanceof Node)
|
|
2552
2552
|
return e.ownerDocument;
|
|
@@ -2557,20 +2557,20 @@ function fe(e) {
|
|
|
2557
2557
|
}
|
|
2558
2558
|
return document;
|
|
2559
2559
|
}
|
|
2560
|
-
let
|
|
2560
|
+
let an = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
2561
2561
|
var q = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(q || {}), nt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(nt || {}), vl = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(vl || {});
|
|
2562
|
-
function
|
|
2563
|
-
return e == null ? [] : Array.from(e.querySelectorAll(
|
|
2562
|
+
function Rt(e = document.body) {
|
|
2563
|
+
return e == null ? [] : Array.from(e.querySelectorAll(an)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
2564
2564
|
}
|
|
2565
2565
|
var Tn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Tn || {});
|
|
2566
2566
|
function tr(e, t = 0) {
|
|
2567
2567
|
var n;
|
|
2568
2568
|
return e === ((n = fe(e)) == null ? void 0 : n.body) ? !1 : X(t, { [0]() {
|
|
2569
|
-
return e.matches(
|
|
2569
|
+
return e.matches(an);
|
|
2570
2570
|
}, [1]() {
|
|
2571
2571
|
let o = e;
|
|
2572
2572
|
for (; o !== null; ) {
|
|
2573
|
-
if (o.matches(
|
|
2573
|
+
if (o.matches(an))
|
|
2574
2574
|
return !0;
|
|
2575
2575
|
o = o.parentElement;
|
|
2576
2576
|
}
|
|
@@ -2602,8 +2602,8 @@ function wl(e, t = (n) => n) {
|
|
|
2602
2602
|
}
|
|
2603
2603
|
function ne(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] } = {}) {
|
|
2604
2604
|
var s;
|
|
2605
|
-
let a = (s = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? s : document, i = Array.isArray(e) ? n ? wl(e) : e :
|
|
2606
|
-
r.length > 0 && i.length > 1 && (i = i.filter((
|
|
2605
|
+
let a = (s = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? s : document, i = Array.isArray(e) ? n ? wl(e) : e : Rt(e);
|
|
2606
|
+
r.length > 0 && i.length > 1 && (i = i.filter((m) => !r.includes(m))), o = o ?? a.activeElement;
|
|
2607
2607
|
let d = (() => {
|
|
2608
2608
|
if (t & 5)
|
|
2609
2609
|
return 1;
|
|
@@ -2620,30 +2620,30 @@ function ne(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] }
|
|
|
2620
2620
|
if (t & 8)
|
|
2621
2621
|
return i.length - 1;
|
|
2622
2622
|
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
2623
|
-
})(), c = t & 32 ? { preventScroll: !0 } : {}, u = 0, f = i.length,
|
|
2623
|
+
})(), c = t & 32 ? { preventScroll: !0 } : {}, u = 0, f = i.length, v;
|
|
2624
2624
|
do {
|
|
2625
2625
|
if (u >= f || u + f <= 0)
|
|
2626
2626
|
return 0;
|
|
2627
|
-
let
|
|
2627
|
+
let m = l + u;
|
|
2628
2628
|
if (t & 16)
|
|
2629
|
-
|
|
2629
|
+
m = (m + f) % f;
|
|
2630
2630
|
else {
|
|
2631
|
-
if (
|
|
2631
|
+
if (m < 0)
|
|
2632
2632
|
return 3;
|
|
2633
|
-
if (
|
|
2633
|
+
if (m >= f)
|
|
2634
2634
|
return 1;
|
|
2635
2635
|
}
|
|
2636
|
-
|
|
2637
|
-
} while (
|
|
2638
|
-
return t & 6 && bl(
|
|
2636
|
+
v = i[m], v == null || v.focus(c), u += d;
|
|
2637
|
+
} while (v !== a.activeElement);
|
|
2638
|
+
return t & 6 && bl(v) && v.select(), 2;
|
|
2639
2639
|
}
|
|
2640
2640
|
function so(e, t, n) {
|
|
2641
|
-
|
|
2641
|
+
Ft.isServer || se((o) => {
|
|
2642
2642
|
document.addEventListener(e, t, n), o(() => document.removeEventListener(e, t, n));
|
|
2643
2643
|
});
|
|
2644
2644
|
}
|
|
2645
2645
|
function nr(e, t, n) {
|
|
2646
|
-
|
|
2646
|
+
Ft.isServer || se((o) => {
|
|
2647
2647
|
window.addEventListener(e, t, n), o(() => window.removeEventListener(e, t, n));
|
|
2648
2648
|
});
|
|
2649
2649
|
}
|
|
@@ -2675,7 +2675,7 @@ function or(e, t, n = x(() => !0)) {
|
|
|
2675
2675
|
}, !0), nr("blur", (s) => o(s, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
2676
2676
|
}
|
|
2677
2677
|
var Oe = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(Oe || {});
|
|
2678
|
-
let
|
|
2678
|
+
let De = U({ name: "Hidden", props: { as: { type: [Object, String], default: "div" }, features: { type: Number, default: 1 } }, setup(e, { slots: t, attrs: n }) {
|
|
2679
2679
|
return () => {
|
|
2680
2680
|
let { features: o, ...r } = e, s = { "aria-hidden": (o & 2) === 2 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(o & 4) === 4 && (o & 2) !== 2 && { display: "none" } } };
|
|
2681
2681
|
return G({ ourProps: s, theirProps: r, slot: {}, attrs: n, slots: t, name: "Hidden" });
|
|
@@ -2725,8 +2725,8 @@ function Nn() {
|
|
|
2725
2725
|
t.key === "Tab" && (e.value = t.shiftKey ? 1 : 0);
|
|
2726
2726
|
}), e;
|
|
2727
2727
|
}
|
|
2728
|
-
function
|
|
2729
|
-
|
|
2728
|
+
function An(e, t, n, o) {
|
|
2729
|
+
Ft.isServer || se((r) => {
|
|
2730
2730
|
e = e ?? window, e.addEventListener(t, n, o), r(() => e.removeEventListener(t, n, o));
|
|
2731
2731
|
});
|
|
2732
2732
|
}
|
|
@@ -2762,33 +2762,33 @@ let We = Object.assign(U({ name: "FocusTrap", props: { as: { type: [Object, Stri
|
|
|
2762
2762
|
let i = Pl({ ownerDocument: s, container: r, initialFocus: x(() => e.initialFocus) }, x(() => a.value && !!(e.features & 2)));
|
|
2763
2763
|
Ol({ ownerDocument: s, container: r, containers: e.containers, previousActiveElement: i }, x(() => a.value && !!(e.features & 8)));
|
|
2764
2764
|
let d = Nn();
|
|
2765
|
-
function l(
|
|
2766
|
-
let
|
|
2767
|
-
|
|
2765
|
+
function l(v) {
|
|
2766
|
+
let m = E(r);
|
|
2767
|
+
m && ((p) => p())(() => {
|
|
2768
2768
|
X(d.value, { [Y.Forwards]: () => {
|
|
2769
|
-
ne(
|
|
2769
|
+
ne(m, q.First, { skipElements: [v.relatedTarget] });
|
|
2770
2770
|
}, [Y.Backwards]: () => {
|
|
2771
|
-
ne(
|
|
2771
|
+
ne(m, q.Last, { skipElements: [v.relatedTarget] });
|
|
2772
2772
|
} });
|
|
2773
2773
|
});
|
|
2774
2774
|
}
|
|
2775
2775
|
let c = O(!1);
|
|
2776
|
-
function u(
|
|
2777
|
-
|
|
2776
|
+
function u(v) {
|
|
2777
|
+
v.key === "Tab" && (c.value = !0, requestAnimationFrame(() => {
|
|
2778
2778
|
c.value = !1;
|
|
2779
2779
|
}));
|
|
2780
2780
|
}
|
|
2781
|
-
function f(
|
|
2781
|
+
function f(v) {
|
|
2782
2782
|
if (!a.value)
|
|
2783
2783
|
return;
|
|
2784
|
-
let
|
|
2785
|
-
E(r) instanceof HTMLElement &&
|
|
2786
|
-
let p =
|
|
2787
|
-
p instanceof HTMLElement && p.dataset.headlessuiFocusGuard !== "true" && (lr(
|
|
2784
|
+
let m = ar(e.containers);
|
|
2785
|
+
E(r) instanceof HTMLElement && m.add(E(r));
|
|
2786
|
+
let p = v.relatedTarget;
|
|
2787
|
+
p instanceof HTMLElement && p.dataset.headlessuiFocusGuard !== "true" && (lr(m, p) || (c.value ? ne(E(r), X(d.value, { [Y.Forwards]: () => q.Next, [Y.Backwards]: () => q.Previous }) | q.WrapAround, { relativeTo: v.target }) : v.target instanceof HTMLElement && Ee(v.target)));
|
|
2788
2788
|
}
|
|
2789
2789
|
return () => {
|
|
2790
|
-
let
|
|
2791
|
-
return j(ve, [!!(p & 4) && j(
|
|
2790
|
+
let v = {}, m = { ref: r, onKeydown: u, onFocusout: f }, { features: p, initialFocus: b, containers: w, ...N } = e;
|
|
2791
|
+
return j(ve, [!!(p & 4) && j(De, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Oe.Focusable }), G({ ourProps: m, theirProps: { ...t, ...N }, slot: v, attrs: t, slots: n, name: "FocusTrap" }), !!(p & 4) && j(De, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Oe.Focusable })]);
|
|
2792
2792
|
};
|
|
2793
2793
|
} }), { features: ir }), we = [];
|
|
2794
2794
|
El(() => {
|
|
@@ -2799,7 +2799,7 @@ El(() => {
|
|
|
2799
2799
|
});
|
|
2800
2800
|
function Sl(e) {
|
|
2801
2801
|
let t = O(we.slice());
|
|
2802
|
-
return
|
|
2802
|
+
return rt([e], ([n], [o]) => {
|
|
2803
2803
|
o === !0 && n === !1 ? sr(() => {
|
|
2804
2804
|
t.value.splice(0);
|
|
2805
2805
|
}) : o === !1 && n === !0 && (t.value = we.slice());
|
|
@@ -2822,7 +2822,7 @@ function xl({ ownerDocument: e }, t) {
|
|
|
2822
2822
|
function Pl({ ownerDocument: e, container: t, initialFocus: n }, o) {
|
|
2823
2823
|
let r = O(null), s = O(!1);
|
|
2824
2824
|
return K(() => s.value = !0), oe(() => s.value = !1), K(() => {
|
|
2825
|
-
|
|
2825
|
+
rt([t, n, o], (a, i) => {
|
|
2826
2826
|
if (a.every((l, c) => (i == null ? void 0 : i[c]) === l) || !o.value)
|
|
2827
2827
|
return;
|
|
2828
2828
|
let d = E(t);
|
|
@@ -2847,7 +2847,7 @@ function Pl({ ownerDocument: e, container: t, initialFocus: n }, o) {
|
|
|
2847
2847
|
}
|
|
2848
2848
|
function Ol({ ownerDocument: e, container: t, containers: n, previousActiveElement: o }, r) {
|
|
2849
2849
|
var s;
|
|
2850
|
-
|
|
2850
|
+
An((s = e.value) == null ? void 0 : s.defaultView, "focus", (a) => {
|
|
2851
2851
|
if (!r.value)
|
|
2852
2852
|
return;
|
|
2853
2853
|
let i = ar(n);
|
|
@@ -2865,7 +2865,7 @@ function lr(e, t) {
|
|
|
2865
2865
|
return !0;
|
|
2866
2866
|
return !1;
|
|
2867
2867
|
}
|
|
2868
|
-
let
|
|
2868
|
+
let Xt = /* @__PURE__ */ new Map(), Je = /* @__PURE__ */ new Map();
|
|
2869
2869
|
function ao(e, t = O(!0)) {
|
|
2870
2870
|
se((n) => {
|
|
2871
2871
|
var o;
|
|
@@ -2881,18 +2881,18 @@ function ao(e, t = O(!0)) {
|
|
|
2881
2881
|
let i = (a = Je.get(r)) != null ? a : 1;
|
|
2882
2882
|
if (i === 1 ? Je.delete(r) : Je.set(r, i - 1), i !== 1)
|
|
2883
2883
|
return;
|
|
2884
|
-
let d =
|
|
2885
|
-
d && (d["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", d["aria-hidden"]), r.inert = d.inert,
|
|
2884
|
+
let d = Xt.get(r);
|
|
2885
|
+
d && (d["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", d["aria-hidden"]), r.inert = d.inert, Xt.delete(r));
|
|
2886
2886
|
});
|
|
2887
2887
|
let s = (o = Je.get(r)) != null ? o : 0;
|
|
2888
|
-
Je.set(r, s + 1), s === 0 && (
|
|
2888
|
+
Je.set(r, s + 1), s === 0 && (Xt.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0);
|
|
2889
2889
|
});
|
|
2890
2890
|
}
|
|
2891
2891
|
let ur = Symbol("ForcePortalRootContext");
|
|
2892
2892
|
function Cl() {
|
|
2893
2893
|
return H(ur, !1);
|
|
2894
2894
|
}
|
|
2895
|
-
let
|
|
2895
|
+
let ln = U({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: n }) {
|
|
2896
2896
|
return re(ur, e.force), () => {
|
|
2897
2897
|
let { force: o, ...r } = e;
|
|
2898
2898
|
return G({ theirProps: r, ourProps: {}, slot: {}, slots: t, attrs: n, name: "ForcePortalRoot" });
|
|
@@ -2916,7 +2916,7 @@ let cr = U({ name: "Portal", props: { as: { type: [Object, String], default: "di
|
|
|
2916
2916
|
se(() => {
|
|
2917
2917
|
s || a != null && (i.value = a.resolveTarget());
|
|
2918
2918
|
});
|
|
2919
|
-
let d = H(
|
|
2919
|
+
let d = H(un, null);
|
|
2920
2920
|
return K(() => {
|
|
2921
2921
|
let l = E(o);
|
|
2922
2922
|
l && d && oe(d.register(l));
|
|
@@ -2930,9 +2930,9 @@ let cr = U({ name: "Portal", props: { as: { type: [Object, String], default: "di
|
|
|
2930
2930
|
let l = { ref: o, "data-headlessui-portal": "" };
|
|
2931
2931
|
return j(Tr, { to: i.value }, G({ ourProps: l, theirProps: e, slot: {}, attrs: n, slots: t, name: "Portal" }));
|
|
2932
2932
|
};
|
|
2933
|
-
} }),
|
|
2933
|
+
} }), un = Symbol("PortalParentContext");
|
|
2934
2934
|
function dr() {
|
|
2935
|
-
let e = H(
|
|
2935
|
+
let e = H(un, null), t = O([]);
|
|
2936
2936
|
function n(s) {
|
|
2937
2937
|
return t.value.push(s), e && e.register(s), () => o(s);
|
|
2938
2938
|
}
|
|
@@ -2942,7 +2942,7 @@ function dr() {
|
|
|
2942
2942
|
}
|
|
2943
2943
|
let r = { register: n, unregister: o, portals: t };
|
|
2944
2944
|
return [t, U({ name: "PortalWrapper", setup(s, { slots: a }) {
|
|
2945
|
-
return re(
|
|
2945
|
+
return re(un, r), () => {
|
|
2946
2946
|
var i;
|
|
2947
2947
|
return (i = a.default) == null ? void 0 : i.call(a);
|
|
2948
2948
|
};
|
|
@@ -2957,18 +2957,18 @@ let fr = Symbol("PortalGroupContext"), Nl = U({ name: "PortalGroup", props: { as
|
|
|
2957
2957
|
return G({ theirProps: s, ourProps: {}, slot: {}, attrs: t, slots: n, name: "PortalGroup" });
|
|
2958
2958
|
};
|
|
2959
2959
|
} }), pr = Symbol("StackContext");
|
|
2960
|
-
var
|
|
2961
|
-
function
|
|
2960
|
+
var cn = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(cn || {});
|
|
2961
|
+
function Al() {
|
|
2962
2962
|
return H(pr, () => {
|
|
2963
2963
|
});
|
|
2964
2964
|
}
|
|
2965
|
-
function
|
|
2966
|
-
let r =
|
|
2965
|
+
function Ll({ type: e, enabled: t, element: n, onUpdate: o }) {
|
|
2966
|
+
let r = Al();
|
|
2967
2967
|
function s(...a) {
|
|
2968
2968
|
o == null || o(...a), r(...a);
|
|
2969
2969
|
}
|
|
2970
2970
|
K(() => {
|
|
2971
|
-
|
|
2971
|
+
rt(t, (a, i) => {
|
|
2972
2972
|
a ? s(0, e, n) : i === !0 && s(1, e, n);
|
|
2973
2973
|
}, { immediate: !0, flush: "sync" });
|
|
2974
2974
|
}), oe(() => {
|
|
@@ -2976,7 +2976,7 @@ function Al({ type: e, enabled: t, element: n, onUpdate: o }) {
|
|
|
2976
2976
|
}), re(pr, s);
|
|
2977
2977
|
}
|
|
2978
2978
|
let hr = Symbol("DescriptionContext");
|
|
2979
|
-
function
|
|
2979
|
+
function kl() {
|
|
2980
2980
|
let e = H(hr, null);
|
|
2981
2981
|
if (e === null)
|
|
2982
2982
|
throw new Error("Missing parent");
|
|
@@ -2993,7 +2993,7 @@ function $l({ slot: e = O({}), name: t = "Description", props: n = {} } = {}) {
|
|
|
2993
2993
|
return re(hr, { register: r, slot: e, name: t, props: n }), x(() => o.value.length > 0 ? o.value.join(" ") : void 0);
|
|
2994
2994
|
}
|
|
2995
2995
|
U({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${ee()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
2996
|
-
let o =
|
|
2996
|
+
let o = kl();
|
|
2997
2997
|
return K(() => oe(o.register(e.id))), () => {
|
|
2998
2998
|
let { name: r = "Description", slot: s = O({}), props: a = {} } = o, { id: i, ...d } = e, l = { ...Object.entries(a).reduce((c, [u, f]) => Object.assign(c, { [u]: z(f) }), {}), id: i };
|
|
2999
2999
|
return G({ ourProps: l, theirProps: d, slot: s.value, attrs: t, slots: n, name: r });
|
|
@@ -3005,7 +3005,7 @@ function Fl(e) {
|
|
|
3005
3005
|
t.value = e.getSnapshot();
|
|
3006
3006
|
})), t;
|
|
3007
3007
|
}
|
|
3008
|
-
function
|
|
3008
|
+
function Rl(e, t) {
|
|
3009
3009
|
let n = e(), o = /* @__PURE__ */ new Set();
|
|
3010
3010
|
return { getSnapshot() {
|
|
3011
3011
|
return n;
|
|
@@ -3016,7 +3016,7 @@ function Dl(e, t) {
|
|
|
3016
3016
|
a && (n = a, o.forEach((i) => i()));
|
|
3017
3017
|
} };
|
|
3018
3018
|
}
|
|
3019
|
-
function
|
|
3019
|
+
function Dl() {
|
|
3020
3020
|
let e;
|
|
3021
3021
|
return { before({ doc: t }) {
|
|
3022
3022
|
var n;
|
|
@@ -3067,7 +3067,7 @@ function Bl(e) {
|
|
|
3067
3067
|
Object.assign(t, n(t));
|
|
3068
3068
|
return t;
|
|
3069
3069
|
}
|
|
3070
|
-
let _e =
|
|
3070
|
+
let _e = Rl(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
|
|
3071
3071
|
var n;
|
|
3072
3072
|
let o = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: rr(), meta: /* @__PURE__ */ new Set() };
|
|
3073
3073
|
return o.count++, o.meta.add(t), this.set(e, o), this;
|
|
@@ -3075,7 +3075,7 @@ let _e = Dl(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
|
|
|
3075
3075
|
let n = this.get(e);
|
|
3076
3076
|
return n && (n.count--, n.meta.delete(t)), this;
|
|
3077
3077
|
}, SCROLL_PREVENT({ doc: e, d: t, meta: n }) {
|
|
3078
|
-
let o = { doc: e, d: t, meta: Bl(n) }, r = [jl(),
|
|
3078
|
+
let o = { doc: e, d: t, meta: Bl(n) }, r = [jl(), Dl(), Il()];
|
|
3079
3079
|
r.forEach(({ before: s }) => s == null ? void 0 : s(o)), r.forEach(({ after: s }) => s == null ? void 0 : s(o));
|
|
3080
3080
|
}, SCROLL_ALLOW({ d: e }) {
|
|
3081
3081
|
e.dispose();
|
|
@@ -3096,7 +3096,7 @@ function Ml(e, t, n) {
|
|
|
3096
3096
|
let s = e.value ? o.value.get(e.value) : void 0;
|
|
3097
3097
|
return s ? s.count > 0 : !1;
|
|
3098
3098
|
});
|
|
3099
|
-
return
|
|
3099
|
+
return rt([e, t], ([s, a], [i], d) => {
|
|
3100
3100
|
if (!s || !a)
|
|
3101
3101
|
return;
|
|
3102
3102
|
_e.dispatch("PUSH", s, n);
|
|
@@ -3123,84 +3123,84 @@ function mr({ defaultContainers: e = [], portals: t } = {}) {
|
|
|
3123
3123
|
return { resolveContainers: r, contains(s) {
|
|
3124
3124
|
return r().some((a) => a.contains(s));
|
|
3125
3125
|
}, mainTreeNodeRef: n, MainTreeNode() {
|
|
3126
|
-
return j(
|
|
3126
|
+
return j(De, { features: Oe.Hidden, ref: n });
|
|
3127
3127
|
} };
|
|
3128
3128
|
}
|
|
3129
3129
|
var Ul = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Ul || {});
|
|
3130
|
-
let
|
|
3131
|
-
function
|
|
3132
|
-
let t = H(
|
|
3130
|
+
let dn = Symbol("DialogContext");
|
|
3131
|
+
function ct(e) {
|
|
3132
|
+
let t = H(dn, null);
|
|
3133
3133
|
if (t === null) {
|
|
3134
3134
|
let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
|
|
3135
|
-
throw Error.captureStackTrace && Error.captureStackTrace(n,
|
|
3135
|
+
throw Error.captureStackTrace && Error.captureStackTrace(n, ct), n;
|
|
3136
3136
|
}
|
|
3137
3137
|
return t;
|
|
3138
3138
|
}
|
|
3139
|
-
let
|
|
3139
|
+
let ht = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Hl = U({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: ht }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${ee()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: o, expose: r }) {
|
|
3140
3140
|
var s;
|
|
3141
3141
|
let a = O(!1);
|
|
3142
3142
|
K(() => {
|
|
3143
3143
|
a.value = !0;
|
|
3144
3144
|
});
|
|
3145
|
-
let i = O(0), d = Cn(), l = x(() => e.open ===
|
|
3146
|
-
if (r({ el: c, $el: c }), !(e.open !==
|
|
3145
|
+
let i = O(0), d = Cn(), l = x(() => e.open === ht && d !== null ? (d.value & te.Open) === te.Open : e.open), c = O(null), u = x(() => fe(c));
|
|
3146
|
+
if (r({ el: c, $el: c }), !(e.open !== ht || d !== null))
|
|
3147
3147
|
throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
3148
3148
|
if (typeof l.value != "boolean")
|
|
3149
|
-
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value ===
|
|
3150
|
-
let f = x(() => a.value && l.value ? 0 : 1),
|
|
3149
|
+
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === ht ? void 0 : e.open}`);
|
|
3150
|
+
let f = x(() => a.value && l.value ? 0 : 1), v = x(() => f.value === 0), m = x(() => i.value > 1), p = H(dn, null) !== null, [b, w] = dr(), { resolveContainers: N, mainTreeNodeRef: C, MainTreeNode: F } = mr({ portals: b, defaultContainers: [x(() => {
|
|
3151
3151
|
var $;
|
|
3152
3152
|
return ($ = I.panelRef.value) != null ? $ : c.value;
|
|
3153
|
-
})] }), S = x(() =>
|
|
3154
|
-
var $,
|
|
3155
|
-
return (ie = Array.from((
|
|
3153
|
+
})] }), S = x(() => m.value ? "parent" : "leaf"), T = x(() => d !== null ? (d.value & te.Closing) === te.Closing : !1), y = x(() => p || T.value ? !1 : v.value), V = x(() => {
|
|
3154
|
+
var $, R, ie;
|
|
3155
|
+
return (ie = Array.from((R = ($ = u.value) == null ? void 0 : $.querySelectorAll("body > *")) != null ? R : []).find((le) => le.id === "headlessui-portal-root" ? !1 : le.contains(E(C)) && le instanceof HTMLElement)) != null ? ie : null;
|
|
3156
3156
|
});
|
|
3157
3157
|
ao(V, y);
|
|
3158
|
-
let W = x(() =>
|
|
3159
|
-
var $,
|
|
3160
|
-
return (ie = Array.from((
|
|
3158
|
+
let W = x(() => m.value ? !0 : v.value), P = x(() => {
|
|
3159
|
+
var $, R, ie;
|
|
3160
|
+
return (ie = Array.from((R = ($ = u.value) == null ? void 0 : $.querySelectorAll("[data-headlessui-portal]")) != null ? R : []).find((le) => le.contains(E(C)) && le instanceof HTMLElement)) != null ? ie : null;
|
|
3161
3161
|
});
|
|
3162
|
-
ao(P, W),
|
|
3163
|
-
if (
|
|
3164
|
-
return X($, { [
|
|
3162
|
+
ao(P, W), Ll({ type: "Dialog", enabled: x(() => f.value === 0), element: c, onUpdate: ($, R) => {
|
|
3163
|
+
if (R === "Dialog")
|
|
3164
|
+
return X($, { [cn.Add]: () => i.value += 1, [cn.Remove]: () => i.value -= 1 });
|
|
3165
3165
|
} });
|
|
3166
|
-
let _ = $l({ name: "DialogDescription", slot: x(() => ({ open: l.value })) }),
|
|
3167
|
-
|
|
3166
|
+
let _ = $l({ name: "DialogDescription", slot: x(() => ({ open: l.value })) }), D = O(null), I = { titleId: D, panelRef: O(null), dialogState: f, setTitleId($) {
|
|
3167
|
+
D.value !== $ && (D.value = $);
|
|
3168
3168
|
}, close() {
|
|
3169
3169
|
t("close", !1);
|
|
3170
3170
|
} };
|
|
3171
|
-
re(
|
|
3172
|
-
let ge = x(() => !(!
|
|
3173
|
-
or(N, ($,
|
|
3174
|
-
I.close(), Qe(() =>
|
|
3171
|
+
re(dn, I);
|
|
3172
|
+
let ge = x(() => !(!v.value || m.value));
|
|
3173
|
+
or(N, ($, R) => {
|
|
3174
|
+
I.close(), Qe(() => R == null ? void 0 : R.focus());
|
|
3175
3175
|
}, ge);
|
|
3176
|
-
let
|
|
3177
|
-
|
|
3178
|
-
|
|
3176
|
+
let jt = x(() => !(m.value || f.value !== 0));
|
|
3177
|
+
An((s = u.value) == null ? void 0 : s.defaultView, "keydown", ($) => {
|
|
3178
|
+
jt.value && ($.defaultPrevented || $.key === pe.Escape && ($.preventDefault(), $.stopPropagation(), I.close()));
|
|
3179
3179
|
});
|
|
3180
|
-
let
|
|
3181
|
-
return Ml(u,
|
|
3182
|
-
var
|
|
3183
|
-
return { containers: [...(
|
|
3180
|
+
let It = x(() => !(T.value || f.value !== 0 || p));
|
|
3181
|
+
return Ml(u, It, ($) => {
|
|
3182
|
+
var R;
|
|
3183
|
+
return { containers: [...(R = $.containers) != null ? R : [], N] };
|
|
3184
3184
|
}), se(($) => {
|
|
3185
3185
|
if (f.value !== 0)
|
|
3186
3186
|
return;
|
|
3187
|
-
let
|
|
3188
|
-
if (!
|
|
3187
|
+
let R = E(c);
|
|
3188
|
+
if (!R)
|
|
3189
3189
|
return;
|
|
3190
3190
|
let ie = new ResizeObserver((le) => {
|
|
3191
|
-
for (let
|
|
3192
|
-
let
|
|
3193
|
-
|
|
3191
|
+
for (let Bt of le) {
|
|
3192
|
+
let Ae = Bt.target.getBoundingClientRect();
|
|
3193
|
+
Ae.x === 0 && Ae.y === 0 && Ae.width === 0 && Ae.height === 0 && I.close();
|
|
3194
3194
|
}
|
|
3195
3195
|
});
|
|
3196
|
-
ie.observe(
|
|
3196
|
+
ie.observe(R), $(() => ie.disconnect());
|
|
3197
3197
|
}), () => {
|
|
3198
|
-
let { id: $, open:
|
|
3199
|
-
return j(
|
|
3198
|
+
let { id: $, open: R, initialFocus: ie, ...le } = e, Bt = { ...n, ref: c, id: $, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": D.value, "aria-describedby": _.value }, Ae = { open: f.value === 0 };
|
|
3199
|
+
return j(ln, { force: !0 }, () => [j(cr, () => j(Nl, { target: c.value }, () => j(ln, { force: !1 }, () => j(We, { initialFocus: ie, containers: N, features: v.value ? X(S.value, { parent: We.features.RestoreFocus, leaf: We.features.All & ~We.features.FocusLock }) : We.features.None }, () => j(w, {}, () => G({ ourProps: Bt, theirProps: { ...le, ...n }, slot: Ae, attrs: n, slots: o, visible: f.value === 0, features: Pe.RenderStrategy | Pe.Static, name: "Dialog" })))))), j(F)]);
|
|
3200
3200
|
};
|
|
3201
3201
|
} });
|
|
3202
3202
|
U({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${ee()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
3203
|
-
let o =
|
|
3203
|
+
let o = ct("DialogOverlay");
|
|
3204
3204
|
function r(s) {
|
|
3205
3205
|
s.target === s.currentTarget && (s.preventDefault(), s.stopPropagation(), o.close());
|
|
3206
3206
|
}
|
|
@@ -3210,17 +3210,17 @@ U({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
|
|
|
3210
3210
|
};
|
|
3211
3211
|
} });
|
|
3212
3212
|
U({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
|
|
3213
|
-
let r =
|
|
3213
|
+
let r = ct("DialogBackdrop"), s = O(null);
|
|
3214
3214
|
return o({ el: s, $el: s }), K(() => {
|
|
3215
3215
|
if (r.panelRef.value === null)
|
|
3216
3216
|
throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
|
|
3217
3217
|
}), () => {
|
|
3218
3218
|
let { id: a, ...i } = e, d = { id: a, ref: s, "aria-hidden": !0 };
|
|
3219
|
-
return j(
|
|
3219
|
+
return j(ln, { force: !0 }, () => j(cr, () => G({ ourProps: d, theirProps: { ...t, ...i }, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
|
|
3220
3220
|
};
|
|
3221
3221
|
} });
|
|
3222
3222
|
let Vl = U({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${ee()}` } }, setup(e, { attrs: t, slots: n, expose: o }) {
|
|
3223
|
-
let r =
|
|
3223
|
+
let r = ct("DialogPanel");
|
|
3224
3224
|
o({ el: r.panelRef, $el: r.panelRef });
|
|
3225
3225
|
function s(a) {
|
|
3226
3226
|
a.stopPropagation();
|
|
@@ -3231,7 +3231,7 @@ let Vl = U({ name: "DialogPanel", props: { as: { type: [Object, String], default
|
|
|
3231
3231
|
};
|
|
3232
3232
|
} });
|
|
3233
3233
|
U({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${ee()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
3234
|
-
let o =
|
|
3234
|
+
let o = ct("DialogTitle");
|
|
3235
3235
|
return K(() => {
|
|
3236
3236
|
o.setTitleId(e.id), oe(() => o.setTitleId(null));
|
|
3237
3237
|
}), () => {
|
|
@@ -3241,11 +3241,11 @@ U({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" },
|
|
|
3241
3241
|
} });
|
|
3242
3242
|
var zl = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(zl || {});
|
|
3243
3243
|
let vr = Symbol("PopoverContext");
|
|
3244
|
-
function
|
|
3244
|
+
function Dt(e) {
|
|
3245
3245
|
let t = H(vr, null);
|
|
3246
3246
|
if (t === null) {
|
|
3247
3247
|
let n = new Error(`<${e} /> is missing a parent <${wr.name} /> component.`);
|
|
3248
|
-
throw Error.captureStackTrace && Error.captureStackTrace(n,
|
|
3248
|
+
throw Error.captureStackTrace && Error.captureStackTrace(n, Dt), n;
|
|
3249
3249
|
}
|
|
3250
3250
|
return t;
|
|
3251
3251
|
}
|
|
@@ -3268,37 +3268,37 @@ let wr = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
3268
3268
|
for (let I of document.querySelectorAll("body > *"))
|
|
3269
3269
|
if (Number(I == null ? void 0 : I.contains(E(i))) ^ Number(I == null ? void 0 : I.contains(E(c))))
|
|
3270
3270
|
return !0;
|
|
3271
|
-
let y =
|
|
3272
|
-
return !((S = E(c)) != null && S.contains(_)) && !((T = E(c)) != null && T.contains(
|
|
3273
|
-
}),
|
|
3271
|
+
let y = Rt(), V = y.indexOf(E(i)), W = (V + y.length - 1) % y.length, P = (V + 1) % y.length, _ = y[W], D = y[P];
|
|
3272
|
+
return !((S = E(c)) != null && S.contains(_)) && !((T = E(c)) != null && T.contains(D));
|
|
3273
|
+
}), v = { popoverState: a, buttonId: O(null), panelId: O(null), panel: c, button: i, isPortalled: f, beforePanelSentinel: d, afterPanelSentinel: l, togglePopover() {
|
|
3274
3274
|
a.value = X(a.value, { [0]: 1, [1]: 0 });
|
|
3275
3275
|
}, closePopover() {
|
|
3276
3276
|
a.value !== 1 && (a.value = 1);
|
|
3277
3277
|
}, close(S) {
|
|
3278
|
-
|
|
3279
|
-
let T = (() => S ? S instanceof HTMLElement ? S : S.value instanceof HTMLElement ? E(S) : E(
|
|
3278
|
+
v.closePopover();
|
|
3279
|
+
let T = (() => S ? S instanceof HTMLElement ? S : S.value instanceof HTMLElement ? E(S) : E(v.button) : E(v.button))();
|
|
3280
3280
|
T == null || T.focus();
|
|
3281
3281
|
} };
|
|
3282
|
-
re(vr,
|
|
3283
|
-
let
|
|
3284
|
-
|
|
3282
|
+
re(vr, v), dl(x(() => X(a.value, { [0]: te.Open, [1]: te.Closed })));
|
|
3283
|
+
let m = { buttonId: v.buttonId, panelId: v.panelId, close() {
|
|
3284
|
+
v.closePopover();
|
|
3285
3285
|
} }, p = yr(), b = p == null ? void 0 : p.registerPopover, [w, N] = dr(), C = mr({ portals: w, defaultContainers: [i, c] });
|
|
3286
3286
|
function F() {
|
|
3287
3287
|
var S, T, y, V;
|
|
3288
3288
|
return (V = p == null ? void 0 : p.isFocusWithinPopoverGroup()) != null ? V : ((S = u.value) == null ? void 0 : S.activeElement) && (((T = E(i)) == null ? void 0 : T.contains(u.value.activeElement)) || ((y = E(c)) == null ? void 0 : y.contains(u.value.activeElement)));
|
|
3289
3289
|
}
|
|
3290
|
-
return se(() => b == null ? void 0 : b(
|
|
3290
|
+
return se(() => b == null ? void 0 : b(m)), An((r = u.value) == null ? void 0 : r.defaultView, "focus", (S) => {
|
|
3291
3291
|
var T, y;
|
|
3292
|
-
S.target !== window && S.target instanceof HTMLElement && a.value === 0 && (F() || i && c && (C.contains(S.target) || (T = E(
|
|
3292
|
+
S.target !== window && S.target instanceof HTMLElement && a.value === 0 && (F() || i && c && (C.contains(S.target) || (T = E(v.beforePanelSentinel)) != null && T.contains(S.target) || (y = E(v.afterPanelSentinel)) != null && y.contains(S.target) || v.closePopover()));
|
|
3293
3293
|
}, !0), or(C.resolveContainers, (S, T) => {
|
|
3294
3294
|
var y;
|
|
3295
|
-
|
|
3295
|
+
v.closePopover(), tr(T, Tn.Loose) || (S.preventDefault(), (y = E(i)) == null || y.focus());
|
|
3296
3296
|
}, x(() => a.value === 0)), () => {
|
|
3297
|
-
let S = { open: a.value === 0, close:
|
|
3297
|
+
let S = { open: a.value === 0, close: v.close };
|
|
3298
3298
|
return j(N, {}, () => G({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: S, slots: t, attrs: n, name: "Popover" }));
|
|
3299
3299
|
};
|
|
3300
3300
|
} }), Gl = U({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
|
|
3301
|
-
let r =
|
|
3301
|
+
let r = Dt("PopoverButton"), s = x(() => fe(r.button));
|
|
3302
3302
|
o({ el: r.button, $el: r.button }), K(() => {
|
|
3303
3303
|
r.buttonId.value = e.id;
|
|
3304
3304
|
}), oe(() => {
|
|
@@ -3309,7 +3309,7 @@ let wr = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
3309
3309
|
r.button.value = c.value;
|
|
3310
3310
|
});
|
|
3311
3311
|
let f = fl(x(() => ({ as: e.as, type: t.type })), c);
|
|
3312
|
-
function
|
|
3312
|
+
function v(C) {
|
|
3313
3313
|
var F, S, T, y, V;
|
|
3314
3314
|
if (l.value) {
|
|
3315
3315
|
if (r.popoverState.value === 1)
|
|
@@ -3335,7 +3335,7 @@ let wr = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
3335
3335
|
break;
|
|
3336
3336
|
}
|
|
3337
3337
|
}
|
|
3338
|
-
function
|
|
3338
|
+
function m(C) {
|
|
3339
3339
|
l.value || C.key === pe.Space && C.preventDefault();
|
|
3340
3340
|
}
|
|
3341
3341
|
function p(C) {
|
|
@@ -3351,17 +3351,17 @@ let wr = U({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
3351
3351
|
if (!C)
|
|
3352
3352
|
return;
|
|
3353
3353
|
function F() {
|
|
3354
|
-
X(w.value, { [Y.Forwards]: () => ne(C, q.First), [Y.Backwards]: () => ne(C, q.Last) }) === nt.Error && ne(
|
|
3354
|
+
X(w.value, { [Y.Forwards]: () => ne(C, q.First), [Y.Backwards]: () => ne(C, q.Last) }) === nt.Error && ne(Rt().filter((S) => S.dataset.headlessuiFocusGuard !== "true"), X(w.value, { [Y.Forwards]: q.Next, [Y.Backwards]: q.Previous }), { relativeTo: E(r.button) });
|
|
3355
3355
|
}
|
|
3356
3356
|
F();
|
|
3357
3357
|
}
|
|
3358
3358
|
return () => {
|
|
3359
|
-
let C = r.popoverState.value === 0, F = { open: C }, { id: S, ...T } = e, y = l.value ? { ref: c, type: f.value, onKeydown:
|
|
3360
|
-
return j(ve, [G({ ourProps: y, theirProps: { ...t, ...T }, slot: F, attrs: t, slots: n, name: "PopoverButton" }), C && !l.value && r.isPortalled.value && j(
|
|
3359
|
+
let C = r.popoverState.value === 0, F = { open: C }, { id: S, ...T } = e, y = l.value ? { ref: c, type: f.value, onKeydown: v, onClick: p } : { ref: c, id: S, type: f.value, "aria-expanded": e.disabled ? void 0 : r.popoverState.value === 0, "aria-controls": E(r.panel) ? r.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: v, onKeyup: m, onClick: p, onMousedown: b };
|
|
3360
|
+
return j(ve, [G({ ourProps: y, theirProps: { ...t, ...T }, slot: F, attrs: t, slots: n, name: "PopoverButton" }), C && !l.value && r.isPortalled.value && j(De, { id: u, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: N })]);
|
|
3361
3361
|
};
|
|
3362
3362
|
} });
|
|
3363
3363
|
U({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 } }, setup(e, { attrs: t, slots: n }) {
|
|
3364
|
-
let o =
|
|
3364
|
+
let o = Dt("PopoverOverlay"), r = `headlessui-popover-overlay-${ee()}`, s = Cn(), a = x(() => s !== null ? (s.value & te.Open) === te.Open : o.popoverState.value === 0);
|
|
3365
3365
|
function i() {
|
|
3366
3366
|
o.closePopover();
|
|
3367
3367
|
}
|
|
@@ -3371,7 +3371,7 @@ U({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
|
|
|
3371
3371
|
};
|
|
3372
3372
|
} });
|
|
3373
3373
|
let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, focus: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-popover-panel-${ee()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
|
|
3374
|
-
let { focus: r } = e, s =
|
|
3374
|
+
let { focus: r } = e, s = Dt("PopoverPanel"), a = x(() => fe(s.panel)), i = `headlessui-focus-sentinel-before-${ee()}`, d = `headlessui-focus-sentinel-after-${ee()}`;
|
|
3375
3375
|
o({ el: s.panel, $el: s.panel }), K(() => {
|
|
3376
3376
|
s.panelId.value = e.id;
|
|
3377
3377
|
}), oe(() => {
|
|
@@ -3399,13 +3399,13 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
3399
3399
|
let T = b.relatedTarget;
|
|
3400
3400
|
T && E(s.panel) && ((w = E(s.panel)) != null && w.contains(T) || (s.closePopover(), ((C = (N = E(s.beforePanelSentinel)) == null ? void 0 : N.contains) != null && C.call(N, T) || (S = (F = E(s.afterPanelSentinel)) == null ? void 0 : F.contains) != null && S.call(F, T)) && T.focus({ preventScroll: !0 })));
|
|
3401
3401
|
}
|
|
3402
|
-
let
|
|
3403
|
-
function
|
|
3402
|
+
let v = Nn();
|
|
3403
|
+
function m() {
|
|
3404
3404
|
let b = E(s.panel);
|
|
3405
3405
|
if (!b)
|
|
3406
3406
|
return;
|
|
3407
3407
|
function w() {
|
|
3408
|
-
X(
|
|
3408
|
+
X(v.value, { [Y.Forwards]: () => {
|
|
3409
3409
|
var N;
|
|
3410
3410
|
ne(b, q.First) === nt.Error && ((N = E(s.afterPanelSentinel)) == null || N.focus());
|
|
3411
3411
|
}, [Y.Backwards]: () => {
|
|
@@ -3420,11 +3420,11 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
3420
3420
|
if (!b)
|
|
3421
3421
|
return;
|
|
3422
3422
|
function w() {
|
|
3423
|
-
X(
|
|
3423
|
+
X(v.value, { [Y.Forwards]: () => {
|
|
3424
3424
|
let N = E(s.button), C = E(s.panel);
|
|
3425
3425
|
if (!N)
|
|
3426
3426
|
return;
|
|
3427
|
-
let F =
|
|
3427
|
+
let F = Rt(), S = F.indexOf(N), T = F.slice(0, S + 1), y = [...F.slice(S + 1), ...T];
|
|
3428
3428
|
for (let V of y.slice())
|
|
3429
3429
|
if (V.dataset.headlessuiFocusGuard === "true" || C != null && C.contains(V)) {
|
|
3430
3430
|
let W = y.indexOf(V);
|
|
@@ -3442,7 +3442,7 @@ let Wl = U({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
3442
3442
|
let b = { open: s.popoverState.value === 0, close: s.close }, { id: w, focus: N, ...C } = e, F = { ref: s.panel, id: w, onKeydown: u, onFocusout: r && s.popoverState.value === 0 ? f : void 0, tabIndex: -1 };
|
|
3443
3443
|
return G({ ourProps: F, theirProps: { ...t, ...C }, attrs: t, slot: b, slots: { ...n, default: (...S) => {
|
|
3444
3444
|
var T;
|
|
3445
|
-
return [j(ve, [c.value && s.isPortalled.value && j(
|
|
3445
|
+
return [j(ve, [c.value && s.isPortalled.value && j(De, { id: i, ref: s.beforePanelSentinel, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: m }), (T = n.default) == null ? void 0 : T.call(n, ...S), c.value && s.isPortalled.value && j(De, { id: d, ref: s.afterPanelSentinel, features: Oe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p })])];
|
|
3446
3446
|
} }, features: Pe.RenderStrategy | Pe.Static, visible: c.value, name: "PopoverPanel" });
|
|
3447
3447
|
};
|
|
3448
3448
|
} });
|
|
@@ -3463,10 +3463,10 @@ U({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div"
|
|
|
3463
3463
|
let f = a.value;
|
|
3464
3464
|
if (!f)
|
|
3465
3465
|
return !1;
|
|
3466
|
-
let
|
|
3467
|
-
return (u = E(r)) != null && u.contains(
|
|
3466
|
+
let v = f.activeElement;
|
|
3467
|
+
return (u = E(r)) != null && u.contains(v) ? !0 : s.value.some((m) => {
|
|
3468
3468
|
var p, b;
|
|
3469
|
-
return ((p = f.getElementById(
|
|
3469
|
+
return ((p = f.getElementById(m.buttonId.value)) == null ? void 0 : p.contains(v)) || ((b = f.getElementById(m.panelId.value)) == null ? void 0 : b.contains(v));
|
|
3470
3470
|
});
|
|
3471
3471
|
}
|
|
3472
3472
|
function c(u) {
|
|
@@ -3476,7 +3476,7 @@ U({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div"
|
|
|
3476
3476
|
return re(gr, { registerPopover: d, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: c }), () => G({ ourProps: { ref: r }, theirProps: e, slot: {}, attrs: t, slots: n, name: "PopoverGroup" });
|
|
3477
3477
|
} });
|
|
3478
3478
|
function Jl(e, t) {
|
|
3479
|
-
return
|
|
3479
|
+
return A(), L("svg", {
|
|
3480
3480
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3481
3481
|
fill: "none",
|
|
3482
3482
|
viewBox: "0 0 24 24",
|
|
@@ -3492,7 +3492,7 @@ function Jl(e, t) {
|
|
|
3492
3492
|
]);
|
|
3493
3493
|
}
|
|
3494
3494
|
function Kl(e, t) {
|
|
3495
|
-
return
|
|
3495
|
+
return A(), L("svg", {
|
|
3496
3496
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3497
3497
|
fill: "none",
|
|
3498
3498
|
viewBox: "0 0 24 24",
|
|
@@ -3686,7 +3686,7 @@ const Ue = (e, t) => {
|
|
|
3686
3686
|
console.log(e, 4);
|
|
3687
3687
|
}
|
|
3688
3688
|
}
|
|
3689
|
-
}, ae = (e) => (
|
|
3689
|
+
}, ae = (e) => (st("data-v-4682235c"), e = e(), at(), e), Xl = { class: "login-wapper" }, Zl = /* @__PURE__ */ ae(() => /* @__PURE__ */ g(
|
|
3690
3690
|
"span",
|
|
3691
3691
|
null,
|
|
3692
3692
|
"Login here",
|
|
@@ -3798,7 +3798,7 @@ const Ue = (e, t) => {
|
|
|
3798
3798
|
/* HOISTED */
|
|
3799
3799
|
));
|
|
3800
3800
|
function wu(e, t, n, o, r, s) {
|
|
3801
|
-
return
|
|
3801
|
+
return A(), L("div", Xl, [
|
|
3802
3802
|
g(
|
|
3803
3803
|
"h1",
|
|
3804
3804
|
null,
|
|
@@ -3806,19 +3806,19 @@ function wu(e, t, n, o, r, s) {
|
|
|
3806
3806
|
1
|
|
3807
3807
|
/* TEXT */
|
|
3808
3808
|
),
|
|
3809
|
-
r.isSignup ? (
|
|
3809
|
+
r.isSignup ? (A(), L("div", {
|
|
3810
3810
|
key: 0,
|
|
3811
3811
|
class: "link",
|
|
3812
3812
|
onClick: t[0] || (t[0] = (...a) => s.handleToLogin && s.handleToLogin(...a))
|
|
3813
3813
|
}, [
|
|
3814
|
-
|
|
3814
|
+
mt("Already registered? "),
|
|
3815
3815
|
Zl
|
|
3816
|
-
])) : (
|
|
3816
|
+
])) : (A(), L("div", {
|
|
3817
3817
|
key: 1,
|
|
3818
3818
|
class: "link",
|
|
3819
3819
|
onClick: t[1] || (t[1] = (...a) => s.handleToSignup && s.handleToSignup(...a))
|
|
3820
3820
|
}, [
|
|
3821
|
-
|
|
3821
|
+
mt(
|
|
3822
3822
|
"New to " + J(r.appName) + "? ",
|
|
3823
3823
|
1
|
|
3824
3824
|
/* TEXT */
|
|
@@ -3858,9 +3858,9 @@ function wu(e, t, n, o, r, s) {
|
|
|
3858
3858
|
544
|
|
3859
3859
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
3860
3860
|
), [
|
|
3861
|
-
[
|
|
3861
|
+
[Mt, r.email]
|
|
3862
3862
|
]),
|
|
3863
|
-
r.emailErrorHelp ? (
|
|
3863
|
+
r.emailErrorHelp ? (A(), L(
|
|
3864
3864
|
"p",
|
|
3865
3865
|
iu,
|
|
3866
3866
|
J(r.emailErrorHelp),
|
|
@@ -3868,7 +3868,7 @@ function wu(e, t, n, o, r, s) {
|
|
|
3868
3868
|
/* TEXT */
|
|
3869
3869
|
)) : B("v-if", !0)
|
|
3870
3870
|
]),
|
|
3871
|
-
r.isSignup ? (
|
|
3871
|
+
r.isSignup ? (A(), L("div", lu, [
|
|
3872
3872
|
uu,
|
|
3873
3873
|
Xe(g(
|
|
3874
3874
|
"input",
|
|
@@ -3881,7 +3881,7 @@ function wu(e, t, n, o, r, s) {
|
|
|
3881
3881
|
512
|
|
3882
3882
|
/* NEED_PATCH */
|
|
3883
3883
|
), [
|
|
3884
|
-
[
|
|
3884
|
+
[Mt, r.name]
|
|
3885
3885
|
])
|
|
3886
3886
|
])) : B("v-if", !0),
|
|
3887
3887
|
g("div", cu, [
|
|
@@ -3898,30 +3898,30 @@ function wu(e, t, n, o, r, s) {
|
|
|
3898
3898
|
544
|
|
3899
3899
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
3900
3900
|
), [
|
|
3901
|
-
[
|
|
3901
|
+
[Mt, r.password]
|
|
3902
3902
|
]),
|
|
3903
|
-
r.passwordErrorHelp ? (
|
|
3904
|
-
|
|
3903
|
+
r.passwordErrorHelp ? (A(), L("p", fu, [
|
|
3904
|
+
mt(
|
|
3905
3905
|
J(r.passwordErrorHelp) + " ",
|
|
3906
3906
|
1
|
|
3907
3907
|
/* TEXT */
|
|
3908
3908
|
),
|
|
3909
|
-
r.errCode == 2 ? (
|
|
3909
|
+
r.errCode == 2 ? (A(), L("span", pu, mu)) : B("v-if", !0)
|
|
3910
3910
|
])) : B("v-if", !0)
|
|
3911
3911
|
]),
|
|
3912
|
-
r.isSignup ? (
|
|
3912
|
+
r.isSignup ? (A(), L("button", {
|
|
3913
3913
|
key: 1,
|
|
3914
3914
|
class: "form-button",
|
|
3915
3915
|
disabled: r.disabled,
|
|
3916
3916
|
onClick: t[9] || (t[9] = (...a) => s.handleSignup && s.handleSignup(...a))
|
|
3917
|
-
}, "Create Your Account", 8, vu)) : (
|
|
3917
|
+
}, "Create Your Account", 8, vu)) : (A(), L("button", {
|
|
3918
3918
|
key: 2,
|
|
3919
3919
|
class: "form-button",
|
|
3920
3920
|
disabled: r.disabled,
|
|
3921
3921
|
onClick: t[10] || (t[10] = (...a) => s.handleLogin && s.handleLogin(...a))
|
|
3922
3922
|
}, "Login", 8, gu))
|
|
3923
3923
|
]),
|
|
3924
|
-
r.isSignup ? B("v-if", !0) : (
|
|
3924
|
+
r.isSignup ? B("v-if", !0) : (A(), L("div", yu, [
|
|
3925
3925
|
bu,
|
|
3926
3926
|
B(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
|
|
3927
3927
|
])),
|
|
@@ -3930,7 +3930,7 @@ function wu(e, t, n, o, r, s) {
|
|
|
3930
3930
|
</div> `)
|
|
3931
3931
|
]);
|
|
3932
3932
|
}
|
|
3933
|
-
const _r = /* @__PURE__ */ Ue(Yl, [["render", wu], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/
|
|
3933
|
+
const _r = /* @__PURE__ */ Ue(Yl, [["render", wu], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/a123/Desktop/project-gongshi/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
|
|
3934
3934
|
const _u = {
|
|
3935
3935
|
data() {
|
|
3936
3936
|
return {};
|
|
@@ -3950,7 +3950,7 @@ const _u = {
|
|
|
3950
3950
|
this.$emit("close");
|
|
3951
3951
|
}
|
|
3952
3952
|
}
|
|
3953
|
-
}, Eu = (e) => (
|
|
3953
|
+
}, Eu = (e) => (st("data-v-47199182"), e = e(), at(), e), Su = { class: "background-cover" }, xu = { class: "login-content" }, Pu = /* @__PURE__ */ Eu(() => /* @__PURE__ */ g(
|
|
3954
3954
|
"svg",
|
|
3955
3955
|
{
|
|
3956
3956
|
t: "1641536858080",
|
|
@@ -3976,7 +3976,7 @@ const _u = {
|
|
|
3976
3976
|
];
|
|
3977
3977
|
function Cu(e, t, n, o, r, s) {
|
|
3978
3978
|
const a = _r;
|
|
3979
|
-
return
|
|
3979
|
+
return A(), L("div", Su, [
|
|
3980
3980
|
g("div", xu, [
|
|
3981
3981
|
ue(a, { onSuccess: s.handleLoginSuccess }, null, 8, ["onSuccess"]),
|
|
3982
3982
|
g("div", {
|
|
@@ -3986,14 +3986,14 @@ function Cu(e, t, n, o, r, s) {
|
|
|
3986
3986
|
])
|
|
3987
3987
|
]);
|
|
3988
3988
|
}
|
|
3989
|
-
const Tu = /* @__PURE__ */ Ue(_u, [["render", Cu], ["__scopeId", "data-v-47199182"], ["__file", "/Users/
|
|
3989
|
+
const Tu = /* @__PURE__ */ Ue(_u, [["render", Cu], ["__scopeId", "data-v-47199182"], ["__file", "/Users/a123/Desktop/project-gongshi/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
|
|
3990
3990
|
/*!
|
|
3991
3991
|
* pinia v2.1.4
|
|
3992
3992
|
* (c) 2023 Eduardo San Martin Morote
|
|
3993
3993
|
* @license MIT
|
|
3994
3994
|
*/
|
|
3995
3995
|
let Ye;
|
|
3996
|
-
const
|
|
3996
|
+
const xt = (e) => Ye = e, Nu = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
3997
3997
|
/* istanbul ignore next */
|
|
3998
3998
|
Symbol()
|
|
3999
3999
|
);
|
|
@@ -4004,7 +4004,7 @@ var Ze;
|
|
|
4004
4004
|
(function(e) {
|
|
4005
4005
|
e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
|
|
4006
4006
|
})(Ze || (Ze = {}));
|
|
4007
|
-
const
|
|
4007
|
+
const Ln = typeof window < "u", Zt = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && Ln;
|
|
4008
4008
|
function Er(e, t) {
|
|
4009
4009
|
for (const n in t) {
|
|
4010
4010
|
const o = t[n];
|
|
@@ -4023,30 +4023,30 @@ function io(e, t, n, o = Sr) {
|
|
|
4023
4023
|
const s = e.indexOf(t);
|
|
4024
4024
|
s > -1 && (e.splice(s, 1), o());
|
|
4025
4025
|
};
|
|
4026
|
-
return !n &&
|
|
4026
|
+
return !n && kr() && $r(r), r;
|
|
4027
4027
|
}
|
|
4028
|
-
function
|
|
4028
|
+
function ke(e, ...t) {
|
|
4029
4029
|
e.slice().forEach((n) => {
|
|
4030
4030
|
n(...t);
|
|
4031
4031
|
});
|
|
4032
4032
|
}
|
|
4033
|
-
const
|
|
4034
|
-
function
|
|
4033
|
+
const Au = (e) => e();
|
|
4034
|
+
function fn(e, t) {
|
|
4035
4035
|
e instanceof Map && t instanceof Map && t.forEach((n, o) => e.set(o, n)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
4036
4036
|
for (const n in t) {
|
|
4037
4037
|
if (!t.hasOwnProperty(n))
|
|
4038
4038
|
continue;
|
|
4039
4039
|
const o = t[n], r = e[n];
|
|
4040
|
-
Ce(r) && Ce(o) && e.hasOwnProperty(n) && !Se(o) && !mn(o) ? e[n] =
|
|
4040
|
+
Ce(r) && Ce(o) && e.hasOwnProperty(n) && !Se(o) && !mn(o) ? e[n] = fn(r, o) : e[n] = o;
|
|
4041
4041
|
}
|
|
4042
4042
|
return e;
|
|
4043
4043
|
}
|
|
4044
|
-
const
|
|
4044
|
+
const Lu = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
4045
4045
|
/* istanbul ignore next */
|
|
4046
4046
|
Symbol()
|
|
4047
4047
|
);
|
|
4048
|
-
function
|
|
4049
|
-
return !Ce(e) || !e.hasOwnProperty(
|
|
4048
|
+
function ku(e) {
|
|
4049
|
+
return !Ce(e) || !e.hasOwnProperty(Lu);
|
|
4050
4050
|
}
|
|
4051
4051
|
const { assign: Z } = Object;
|
|
4052
4052
|
function lo(e) {
|
|
@@ -4059,17 +4059,17 @@ function uo(e, t, n, o) {
|
|
|
4059
4059
|
!i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
|
|
4060
4060
|
const c = process.env.NODE_ENV !== "production" && o ? (
|
|
4061
4061
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
4062
|
-
|
|
4063
|
-
) :
|
|
4062
|
+
Qt(O(r ? r() : {}).value)
|
|
4063
|
+
) : Qt(n.state.value[e]);
|
|
4064
4064
|
return Z(c, s, Object.keys(a || {}).reduce((u, f) => (process.env.NODE_ENV !== "production" && f in c && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), u[f] = Ke(x(() => {
|
|
4065
|
-
|
|
4066
|
-
const
|
|
4067
|
-
return a[f].call(
|
|
4065
|
+
xt(n);
|
|
4066
|
+
const v = n._s.get(e);
|
|
4067
|
+
return a[f].call(v, v);
|
|
4068
4068
|
})), u), {}));
|
|
4069
4069
|
}
|
|
4070
|
-
return d =
|
|
4070
|
+
return d = pn(e, l, t, n, o, !0), d;
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function pn(e, t, n = {}, o, r, s) {
|
|
4073
4073
|
let a;
|
|
4074
4074
|
const i = Z({ actions: {} }, n);
|
|
4075
4075
|
if (process.env.NODE_ENV !== "production" && !o._e.active)
|
|
@@ -4079,34 +4079,34 @@ function fn(e, t, n = {}, o, r, s) {
|
|
|
4079
4079
|
// flush: 'post',
|
|
4080
4080
|
};
|
|
4081
4081
|
process.env.NODE_ENV !== "production" && !Qs && (d.onTrigger = (P) => {
|
|
4082
|
-
l ?
|
|
4082
|
+
l ? v = P : l == !1 && !y._hotUpdating && (Array.isArray(v) ? v.push(P) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
4083
4083
|
});
|
|
4084
|
-
let l, c, u = [], f = [],
|
|
4085
|
-
const
|
|
4086
|
-
!s && !
|
|
4084
|
+
let l, c, u = [], f = [], v;
|
|
4085
|
+
const m = o.state.value[e];
|
|
4086
|
+
!s && !m && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
|
|
4087
4087
|
const p = O({});
|
|
4088
4088
|
let b;
|
|
4089
4089
|
function w(P) {
|
|
4090
4090
|
let _;
|
|
4091
|
-
l = c = !1, process.env.NODE_ENV !== "production" && (
|
|
4091
|
+
l = c = !1, process.env.NODE_ENV !== "production" && (v = []), typeof P == "function" ? (P(o.state.value[e]), _ = {
|
|
4092
4092
|
type: Ze.patchFunction,
|
|
4093
4093
|
storeId: e,
|
|
4094
|
-
events:
|
|
4095
|
-
}) : (
|
|
4094
|
+
events: v
|
|
4095
|
+
}) : (fn(o.state.value[e], P), _ = {
|
|
4096
4096
|
type: Ze.patchObject,
|
|
4097
4097
|
payload: P,
|
|
4098
4098
|
storeId: e,
|
|
4099
|
-
events:
|
|
4099
|
+
events: v
|
|
4100
4100
|
});
|
|
4101
|
-
const
|
|
4101
|
+
const D = b = Symbol();
|
|
4102
4102
|
Qe().then(() => {
|
|
4103
|
-
b ===
|
|
4104
|
-
}), c = !0,
|
|
4103
|
+
b === D && (l = !0);
|
|
4104
|
+
}), c = !0, ke(u, _, o.state.value[e]);
|
|
4105
4105
|
}
|
|
4106
4106
|
const N = s ? function() {
|
|
4107
|
-
const { state: _ } = n,
|
|
4107
|
+
const { state: _ } = n, D = _ ? _() : {};
|
|
4108
4108
|
this.$patch((I) => {
|
|
4109
|
-
Z(I,
|
|
4109
|
+
Z(I, D);
|
|
4110
4110
|
});
|
|
4111
4111
|
} : (
|
|
4112
4112
|
/* istanbul ignore next */
|
|
@@ -4119,28 +4119,28 @@ function fn(e, t, n = {}, o, r, s) {
|
|
|
4119
4119
|
}
|
|
4120
4120
|
function F(P, _) {
|
|
4121
4121
|
return function() {
|
|
4122
|
-
|
|
4123
|
-
const
|
|
4124
|
-
function
|
|
4125
|
-
I.push(
|
|
4122
|
+
xt(o);
|
|
4123
|
+
const D = Array.from(arguments), I = [], ge = [];
|
|
4124
|
+
function jt(R) {
|
|
4125
|
+
I.push(R);
|
|
4126
4126
|
}
|
|
4127
|
-
function
|
|
4128
|
-
ge.push(
|
|
4127
|
+
function It(R) {
|
|
4128
|
+
ge.push(R);
|
|
4129
4129
|
}
|
|
4130
|
-
|
|
4131
|
-
args:
|
|
4130
|
+
ke(f, {
|
|
4131
|
+
args: D,
|
|
4132
4132
|
name: P,
|
|
4133
4133
|
store: y,
|
|
4134
|
-
after:
|
|
4135
|
-
onError:
|
|
4134
|
+
after: jt,
|
|
4135
|
+
onError: It
|
|
4136
4136
|
});
|
|
4137
4137
|
let $;
|
|
4138
4138
|
try {
|
|
4139
|
-
$ = _.apply(this && this.$id === e ? this : y,
|
|
4140
|
-
} catch (
|
|
4141
|
-
throw
|
|
4139
|
+
$ = _.apply(this && this.$id === e ? this : y, D);
|
|
4140
|
+
} catch (R) {
|
|
4141
|
+
throw ke(ge, R), R;
|
|
4142
4142
|
}
|
|
4143
|
-
return $ instanceof Promise ? $.then((
|
|
4143
|
+
return $ instanceof Promise ? $.then((R) => (ke(I, R), R)).catch((R) => (ke(ge, R), Promise.reject(R))) : (ke(I, $), $);
|
|
4144
4144
|
};
|
|
4145
4145
|
}
|
|
4146
4146
|
const S = /* @__PURE__ */ Ke({
|
|
@@ -4156,17 +4156,17 @@ function fn(e, t, n = {}, o, r, s) {
|
|
|
4156
4156
|
$patch: w,
|
|
4157
4157
|
$reset: N,
|
|
4158
4158
|
$subscribe(P, _ = {}) {
|
|
4159
|
-
const
|
|
4159
|
+
const D = io(u, P, _.detached, () => I()), I = a.run(() => rt(() => o.state.value[e], (ge) => {
|
|
4160
4160
|
(_.flush === "sync" ? c : l) && P({
|
|
4161
4161
|
storeId: e,
|
|
4162
4162
|
type: Ze.direct,
|
|
4163
|
-
events:
|
|
4163
|
+
events: v
|
|
4164
4164
|
}, ge);
|
|
4165
4165
|
}, Z({}, d, _)));
|
|
4166
|
-
return
|
|
4166
|
+
return D;
|
|
4167
4167
|
},
|
|
4168
4168
|
$dispose: C
|
|
4169
|
-
}, y = hn(process.env.NODE_ENV !== "production" ||
|
|
4169
|
+
}, y = hn(process.env.NODE_ENV !== "production" || Zt ? Z(
|
|
4170
4170
|
{
|
|
4171
4171
|
_hmrPayload: S,
|
|
4172
4172
|
_customProperties: Ke(/* @__PURE__ */ new Set())
|
|
@@ -4177,22 +4177,22 @@ function fn(e, t, n = {}, o, r, s) {
|
|
|
4177
4177
|
// setupStore
|
|
4178
4178
|
) : T);
|
|
4179
4179
|
o._s.set(e, y);
|
|
4180
|
-
const V = o._a && o._a.runWithContext ||
|
|
4180
|
+
const V = o._a && o._a.runWithContext || Au, W = o._e.run(() => (a = Ar(), V(() => a.run(t))));
|
|
4181
4181
|
for (const P in W) {
|
|
4182
4182
|
const _ = W[P];
|
|
4183
4183
|
if (Se(_) && !lo(_) || mn(_))
|
|
4184
|
-
process.env.NODE_ENV !== "production" && r ?
|
|
4184
|
+
process.env.NODE_ENV !== "production" && r ? ft(p.value, P, Ut(W, P)) : s || (m && ku(_) && (Se(_) ? _.value = m[P] : fn(_, m[P])), o.state.value[e][P] = _), process.env.NODE_ENV !== "production" && S.state.push(P);
|
|
4185
4185
|
else if (typeof _ == "function") {
|
|
4186
|
-
const
|
|
4187
|
-
W[P] =
|
|
4186
|
+
const D = process.env.NODE_ENV !== "production" && r ? _ : F(P, _);
|
|
4187
|
+
W[P] = D, process.env.NODE_ENV !== "production" && (S.actions[P] = _), i.actions[P] = _;
|
|
4188
4188
|
} else
|
|
4189
4189
|
process.env.NODE_ENV !== "production" && lo(_) && (S.getters[P] = s ? (
|
|
4190
4190
|
// @ts-expect-error
|
|
4191
4191
|
n.getters[P]
|
|
4192
|
-
) : _,
|
|
4192
|
+
) : _, Ln && (W._getters || // @ts-expect-error: same
|
|
4193
4193
|
(W._getters = Ke([]))).push(P));
|
|
4194
4194
|
}
|
|
4195
|
-
if (Z(y, W), Z(
|
|
4195
|
+
if (Z(y, W), Z(Lr(y), W), Object.defineProperty(y, "$state", {
|
|
4196
4196
|
get: () => process.env.NODE_ENV !== "production" && r ? p.value : o.state.value[e],
|
|
4197
4197
|
set: (P) => {
|
|
4198
4198
|
if (process.env.NODE_ENV !== "production" && r)
|
|
@@ -4204,32 +4204,32 @@ function fn(e, t, n = {}, o, r, s) {
|
|
|
4204
4204
|
}), process.env.NODE_ENV !== "production" && (y._hotUpdate = Ke((P) => {
|
|
4205
4205
|
y._hotUpdating = !0, P._hmrPayload.state.forEach((_) => {
|
|
4206
4206
|
if (_ in y.$state) {
|
|
4207
|
-
const
|
|
4208
|
-
typeof
|
|
4207
|
+
const D = P.$state[_], I = y.$state[_];
|
|
4208
|
+
typeof D == "object" && Ce(D) && Ce(I) ? Er(D, I) : P.$state[_] = I;
|
|
4209
4209
|
}
|
|
4210
|
-
|
|
4210
|
+
ft(y, _, Ut(P.$state, _));
|
|
4211
4211
|
}), Object.keys(y.$state).forEach((_) => {
|
|
4212
|
-
_ in P.$state ||
|
|
4213
|
-
}), l = !1, c = !1, o.state.value[e] =
|
|
4212
|
+
_ in P.$state || Jt(y, _);
|
|
4213
|
+
}), l = !1, c = !1, o.state.value[e] = Ut(P._hmrPayload, "hotState"), c = !0, Qe().then(() => {
|
|
4214
4214
|
l = !0;
|
|
4215
4215
|
});
|
|
4216
4216
|
for (const _ in P._hmrPayload.actions) {
|
|
4217
|
-
const
|
|
4218
|
-
|
|
4217
|
+
const D = P[_];
|
|
4218
|
+
ft(y, _, F(_, D));
|
|
4219
4219
|
}
|
|
4220
4220
|
for (const _ in P._hmrPayload.getters) {
|
|
4221
|
-
const
|
|
4221
|
+
const D = P._hmrPayload.getters[_], I = s ? (
|
|
4222
4222
|
// special handling of options api
|
|
4223
|
-
x(() => (
|
|
4224
|
-
) :
|
|
4225
|
-
|
|
4223
|
+
x(() => (xt(o), D.call(y, y)))
|
|
4224
|
+
) : D;
|
|
4225
|
+
ft(y, _, I);
|
|
4226
4226
|
}
|
|
4227
4227
|
Object.keys(y._hmrPayload.getters).forEach((_) => {
|
|
4228
|
-
_ in P._hmrPayload.getters ||
|
|
4228
|
+
_ in P._hmrPayload.getters || Jt(y, _);
|
|
4229
4229
|
}), Object.keys(y._hmrPayload.actions).forEach((_) => {
|
|
4230
|
-
_ in P._hmrPayload.actions ||
|
|
4230
|
+
_ in P._hmrPayload.actions || Jt(y, _);
|
|
4231
4231
|
}), y._hmrPayload = P._hmrPayload, y._getters = P._getters, y._hotUpdating = !1;
|
|
4232
|
-
})),
|
|
4232
|
+
})), Zt) {
|
|
4233
4233
|
const P = {
|
|
4234
4234
|
writable: !0,
|
|
4235
4235
|
configurable: !0,
|
|
@@ -4241,14 +4241,14 @@ function fn(e, t, n = {}, o, r, s) {
|
|
|
4241
4241
|
});
|
|
4242
4242
|
}
|
|
4243
4243
|
return o._p.forEach((P) => {
|
|
4244
|
-
if (
|
|
4244
|
+
if (Zt) {
|
|
4245
4245
|
const _ = a.run(() => P({
|
|
4246
4246
|
store: y,
|
|
4247
4247
|
app: o._a,
|
|
4248
4248
|
pinia: o,
|
|
4249
4249
|
options: i
|
|
4250
4250
|
}));
|
|
4251
|
-
Object.keys(_ || {}).forEach((
|
|
4251
|
+
Object.keys(_ || {}).forEach((D) => y._customProperties.add(D)), Z(y, _);
|
|
4252
4252
|
} else
|
|
4253
4253
|
Z(y, a.run(() => P({
|
|
4254
4254
|
store: y,
|
|
@@ -4258,7 +4258,7 @@ function fn(e, t, n = {}, o, r, s) {
|
|
|
4258
4258
|
})));
|
|
4259
4259
|
}), process.env.NODE_ENV !== "production" && y.$state && typeof y.$state == "object" && typeof y.$state.constructor == "function" && !y.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
4260
4260
|
state: () => new MyClass()
|
|
4261
|
-
Found in store "${y.$id}".`),
|
|
4261
|
+
Found in store "${y.$id}".`), m && s && n.hydrate && n.hydrate(y.$state, m), l = !0, c = !0, y;
|
|
4262
4262
|
}
|
|
4263
4263
|
function $u(e, t, n) {
|
|
4264
4264
|
let o, r;
|
|
@@ -4271,23 +4271,23 @@ function $u(e, t, n) {
|
|
|
4271
4271
|
const l = Nr();
|
|
4272
4272
|
if (i = // in test mode, ignore the argument provided as we can always retrieve a
|
|
4273
4273
|
// pinia instance with getActivePinia()
|
|
4274
|
-
(process.env.NODE_ENV === "test" && Ye && Ye._testing ? null : i) || (l ? H(Nu, null) : null), i &&
|
|
4274
|
+
(process.env.NODE_ENV === "test" && Ye && Ye._testing ? null : i) || (l ? H(Nu, null) : null), i && xt(i), process.env.NODE_ENV !== "production" && !Ye)
|
|
4275
4275
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
|
|
4276
4276
|
const pinia = createPinia()
|
|
4277
4277
|
app.use(pinia)
|
|
4278
4278
|
This will fail in production.`);
|
|
4279
|
-
i = Ye, i._s.has(o) || (s ?
|
|
4279
|
+
i = Ye, i._s.has(o) || (s ? pn(o, t, r, i) : uo(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
|
|
4280
4280
|
const c = i._s.get(o);
|
|
4281
4281
|
if (process.env.NODE_ENV !== "production" && d) {
|
|
4282
|
-
const u = "__hot:" + o, f = s ?
|
|
4282
|
+
const u = "__hot:" + o, f = s ? pn(u, t, r, i, !0) : uo(u, Z({}, r), i, !0);
|
|
4283
4283
|
d._hotUpdate(f), delete i.state.value[u], i._s.delete(u);
|
|
4284
4284
|
}
|
|
4285
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
4286
|
-
const u =
|
|
4285
|
+
if (process.env.NODE_ENV !== "production" && Ln) {
|
|
4286
|
+
const u = ot();
|
|
4287
4287
|
if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
|
|
4288
4288
|
!d) {
|
|
4289
|
-
const f = u.proxy,
|
|
4290
|
-
|
|
4289
|
+
const f = u.proxy, v = "_pStores" in f ? f._pStores : f._pStores = {};
|
|
4290
|
+
v[o] = c;
|
|
4291
4291
|
}
|
|
4292
4292
|
}
|
|
4293
4293
|
return c;
|
|
@@ -4301,7 +4301,7 @@ function Fu(e, t) {
|
|
|
4301
4301
|
return e(this.$pinia)[t[o]](...r);
|
|
4302
4302
|
}, n), {});
|
|
4303
4303
|
}
|
|
4304
|
-
const
|
|
4304
|
+
const Ru = $u("user", {
|
|
4305
4305
|
state: () => ({
|
|
4306
4306
|
user: null,
|
|
4307
4307
|
isShowLogin: !1,
|
|
@@ -4316,8 +4316,8 @@ const Du = $u("user", {
|
|
|
4316
4316
|
if (o) {
|
|
4317
4317
|
let { free_cnt: i, is_subscribed: d, detail: l } = r;
|
|
4318
4318
|
i || (i = 0), l && l.ends_at && (d = new Date(l.ends_at) > /* @__PURE__ */ new Date());
|
|
4319
|
-
const c = s && s.detail || null, u = c &&
|
|
4320
|
-
this.user =
|
|
4319
|
+
const c = s && s.detail || null, u = c && !0 || !1, f = d && l.name || u && c.name || "", v = { ...o, free_cnt: i, is_subscribed: d || u, subscribedType: f, detail: l || c, team_subscription: s, isMember: !d && s, drive: a };
|
|
4320
|
+
this.user = v, window.userStatus = v;
|
|
4321
4321
|
}
|
|
4322
4322
|
t({ profile: o, subscription: r });
|
|
4323
4323
|
}, (o) => {
|
|
@@ -4338,9 +4338,9 @@ const Du = $u("user", {
|
|
|
4338
4338
|
no(n).then(({ profile: a, subscription: i, team_subscription: d, drive: l }) => {
|
|
4339
4339
|
let { free_cnt: c, is_subscribed: u, detail: f } = i;
|
|
4340
4340
|
c || (c = 0), f && f.ends_at && (u = new Date(f.ends_at) > /* @__PURE__ */ new Date());
|
|
4341
|
-
const
|
|
4342
|
-
if (u ||
|
|
4343
|
-
const b = { ...a, free_cnt: c, is_subscribed: u ||
|
|
4341
|
+
const v = d && d.detail || null, m = v && !0 || !1, p = u && f.name || m && v.name || "";
|
|
4342
|
+
if (u || m || t == "purchase" && c) {
|
|
4343
|
+
const b = { ...a, free_cnt: c, is_subscribed: u || m, subscribedType: p, detail: f || v, team_subscription: d, isMember: !u && d, drive: l };
|
|
4344
4344
|
if (this.user = b, window.userStatus = b, window.opener) {
|
|
4345
4345
|
const w = {
|
|
4346
4346
|
type: "subscribed"
|
|
@@ -4372,9 +4372,9 @@ const Du = $u("user", {
|
|
|
4372
4372
|
}
|
|
4373
4373
|
}
|
|
4374
4374
|
});
|
|
4375
|
-
let xr =
|
|
4375
|
+
let xr = ut();
|
|
4376
4376
|
console.log("childPath3", xr);
|
|
4377
|
-
const
|
|
4377
|
+
const Du = {
|
|
4378
4378
|
props: ["user", "from"],
|
|
4379
4379
|
data() {
|
|
4380
4380
|
return {
|
|
@@ -4382,12 +4382,12 @@ const Ru = {
|
|
|
4382
4382
|
};
|
|
4383
4383
|
},
|
|
4384
4384
|
methods: {
|
|
4385
|
-
...Fu(
|
|
4385
|
+
...Fu(Ru, ["logout"]),
|
|
4386
4386
|
handlePay() {
|
|
4387
4387
|
console.log("user", this.user), this.user.is_subscribed || this.$emit("subscribe");
|
|
4388
4388
|
}
|
|
4389
4389
|
}
|
|
4390
|
-
}, He = (e) => (
|
|
4390
|
+
}, He = (e) => (st("data-v-8580ad75"), e = e(), at(), e), ju = { class: "user-center-content" }, Iu = { class: "user-info flew-row-v-center" }, Bu = ["src"], Mu = {
|
|
4391
4391
|
class: "user-name",
|
|
4392
4392
|
style: { color: "#000" }
|
|
4393
4393
|
}, Uu = { class: "user-email" }, Hu = { class: "flew-row-v-center" }, Vu = {
|
|
@@ -4517,7 +4517,7 @@ const Ru = {
|
|
|
4517
4517
|
oc
|
|
4518
4518
|
];
|
|
4519
4519
|
function sc(e, t, n, o, r, s) {
|
|
4520
|
-
return
|
|
4520
|
+
return A(), L("div", ju, [
|
|
4521
4521
|
g("div", Iu, [
|
|
4522
4522
|
g("img", {
|
|
4523
4523
|
class: "user-avatar",
|
|
@@ -4557,7 +4557,7 @@ function sc(e, t, n, o, r, s) {
|
|
|
4557
4557
|
onClick: t[0] || (t[0] = (...a) => s.handlePay && s.handlePay(...a))
|
|
4558
4558
|
}, [
|
|
4559
4559
|
g("div", Hu, [
|
|
4560
|
-
n.user.is_subscribed ? (
|
|
4560
|
+
n.user.is_subscribed ? (A(), L("svg", Vu, Gu)) : (A(), L("svg", Wu, Ku)),
|
|
4561
4561
|
g(
|
|
4562
4562
|
"span",
|
|
4563
4563
|
null,
|
|
@@ -4566,24 +4566,24 @@ function sc(e, t, n, o, r, s) {
|
|
|
4566
4566
|
/* TEXT */
|
|
4567
4567
|
)
|
|
4568
4568
|
]),
|
|
4569
|
-
!n.user.is_subscribed && n.from == "addon" ? (
|
|
4569
|
+
!n.user.is_subscribed && n.from == "addon" ? (A(), L("div", Yu, Zu)) : B("v-if", !0)
|
|
4570
4570
|
]),
|
|
4571
|
-
n.from != "addon" ? (
|
|
4571
|
+
n.from != "addon" ? (A(), L("a", {
|
|
4572
4572
|
key: 0,
|
|
4573
4573
|
href: r.path + "/dashboard",
|
|
4574
4574
|
target: "_blank"
|
|
4575
4575
|
}, tc, 8, Qu)) : B("v-if", !0),
|
|
4576
|
-
n.from != "addon" ? (
|
|
4576
|
+
n.from != "addon" ? (A(), L("a", {
|
|
4577
4577
|
key: 1,
|
|
4578
4578
|
rel: "nofollow",
|
|
4579
4579
|
href: r.path + "/user/logout"
|
|
4580
4580
|
}, rc, 8, nc)) : B("v-if", !0)
|
|
4581
4581
|
]);
|
|
4582
4582
|
}
|
|
4583
|
-
const co = /* @__PURE__ */ Ue(
|
|
4583
|
+
const co = /* @__PURE__ */ Ue(Du, [["render", sc], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/a123/Desktop/project-gongshi/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
|
|
4584
4584
|
const ac = {
|
|
4585
4585
|
props: ["content", "top"]
|
|
4586
|
-
}, ic = (e) => (
|
|
4586
|
+
}, ic = (e) => (st("data-v-7b6def48"), e = e(), at(), e), lc = /* @__PURE__ */ ic(() => /* @__PURE__ */ g(
|
|
4587
4587
|
"svg",
|
|
4588
4588
|
{
|
|
4589
4589
|
t: "1637907583780",
|
|
@@ -4605,7 +4605,7 @@ const ac = {
|
|
|
4605
4605
|
/* HOISTED */
|
|
4606
4606
|
));
|
|
4607
4607
|
function uc(e, t, n, o, r, s) {
|
|
4608
|
-
return
|
|
4608
|
+
return A(), L(
|
|
4609
4609
|
"div",
|
|
4610
4610
|
{
|
|
4611
4611
|
class: "toast-wrapper",
|
|
@@ -4625,7 +4625,7 @@ function uc(e, t, n, o, r, s) {
|
|
|
4625
4625
|
/* STYLE */
|
|
4626
4626
|
);
|
|
4627
4627
|
}
|
|
4628
|
-
const cc = /* @__PURE__ */ Ue(ac, [["render", uc], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/
|
|
4628
|
+
const cc = /* @__PURE__ */ Ue(ac, [["render", uc], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/a123/Desktop/project-gongshi/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
|
|
4629
4629
|
const dc = { class: "background-cover" }, fc = /* @__PURE__ */ g(
|
|
4630
4630
|
"div",
|
|
4631
4631
|
{ class: "invite-success" },
|
|
@@ -4687,12 +4687,12 @@ const dc = { class: "background-cover" }, fc = /* @__PURE__ */ g(
|
|
|
4687
4687
|
__name: "TeamInvite",
|
|
4688
4688
|
emits: ["cancel"],
|
|
4689
4689
|
setup(e, { emit: t }) {
|
|
4690
|
-
const n =
|
|
4690
|
+
const n = ut(), o = () => {
|
|
4691
4691
|
t("cancel"), location.href = n + "/dashboard";
|
|
4692
4692
|
}, r = () => {
|
|
4693
4693
|
t("cancel");
|
|
4694
4694
|
};
|
|
4695
|
-
return (s, a) => (
|
|
4695
|
+
return (s, a) => (A(), L("div", dc, [
|
|
4696
4696
|
g("div", { class: "invite-dialog" }, [
|
|
4697
4697
|
fc,
|
|
4698
4698
|
pc,
|
|
@@ -4710,9 +4710,9 @@ const dc = { class: "background-cover" }, fc = /* @__PURE__ */ g(
|
|
|
4710
4710
|
])
|
|
4711
4711
|
]));
|
|
4712
4712
|
}
|
|
4713
|
-
}, wc = /* @__PURE__ */ Ue(bc, [["__file", "/Users/
|
|
4713
|
+
}, wc = /* @__PURE__ */ Ue(bc, [["__file", "/Users/a123/Desktop/project-gongshi/xiaochengxu/liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
|
|
4714
4714
|
function _c(e, t) {
|
|
4715
|
-
return
|
|
4715
|
+
return A(), L("svg", {
|
|
4716
4716
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4717
4717
|
viewBox: "0 0 20 20",
|
|
4718
4718
|
fill: "currentColor",
|
|
@@ -4725,7 +4725,7 @@ function _c(e, t) {
|
|
|
4725
4725
|
})
|
|
4726
4726
|
]);
|
|
4727
4727
|
}
|
|
4728
|
-
const Ne = (e) => (
|
|
4728
|
+
const Ne = (e) => (st("data-v-c970699f"), e = e(), at(), e), Ec = {
|
|
4729
4729
|
class: "flex items-center justify-between py-6 lg:px-0 px-6",
|
|
4730
4730
|
"aria-label": "Global"
|
|
4731
4731
|
}, Sc = { class: "flex lg:flex-1" }, xc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
|
|
@@ -4740,13 +4740,13 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4740
4740
|
"Open main menu",
|
|
4741
4741
|
-1
|
|
4742
4742
|
/* HOISTED */
|
|
4743
|
-
)),
|
|
4743
|
+
)), Ac = { class: "hidden lg:flex lg:gap-x-12" }, Lc = { class: "navigation-item inline-flex items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, kc = /* @__PURE__ */ Ne(() => /* @__PURE__ */ g(
|
|
4744
4744
|
"span",
|
|
4745
4745
|
null,
|
|
4746
4746
|
"Apps",
|
|
4747
4747
|
-1
|
|
4748
4748
|
/* HOISTED */
|
|
4749
|
-
)), $c = { class: "w-56 shrink rounded-xl bg-white p-4 text-sm font-semibold leading-6 text-gray-900 shadow-lg ring-1 ring-gray-900/5" }, Fc = ["href"],
|
|
4749
|
+
)), $c = { class: "w-56 shrink rounded-xl bg-white p-4 text-sm font-semibold leading-6 text-gray-900 shadow-lg ring-1 ring-gray-900/5" }, Fc = ["href"], Rc = ["href", "target"], Dc = {
|
|
4750
4750
|
key: 0,
|
|
4751
4751
|
class: "hidden lg:flex lg:flex-1 lg:justify-end"
|
|
4752
4752
|
}, jc = {
|
|
@@ -4820,12 +4820,12 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4820
4820
|
name: "Video Translator"
|
|
4821
4821
|
};
|
|
4822
4822
|
typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (o = app_config), console.log("appInfo", o);
|
|
4823
|
-
const r = O(o), s =
|
|
4824
|
-
{ name: "Live Poll Maker for Slides", href: "https://
|
|
4825
|
-
{ name: "Geocode for Sheets", href: "https://
|
|
4826
|
-
{ name: "Slides Translator", href: "https://
|
|
4827
|
-
{ name: "Screen&Audio Recorder", href: "https://
|
|
4828
|
-
{ name: "ChatGPT Slides Maker", href: "https://
|
|
4823
|
+
const r = O(o), s = ut(), a = [
|
|
4824
|
+
{ name: "Live Poll Maker for Slides", href: "https://www.livepolls.app/polls-google-slides" },
|
|
4825
|
+
{ name: "Geocode for Sheets", href: "https://www.livepolls.app/geocode" },
|
|
4826
|
+
{ name: "Slides Translator", href: "https://www.livepolls.app/slides_translator" },
|
|
4827
|
+
{ name: "Screen&Audio Recorder", href: "https://recorder.livepolls.app/recorder" },
|
|
4828
|
+
{ name: "ChatGPT Slides Maker", href: "https://www.livepolls.app/ai_slide_generator" },
|
|
4829
4829
|
{ name: "More Apps >", href: "https://www.livepolls.app/apps" }
|
|
4830
4830
|
], i = O(
|
|
4831
4831
|
n.isShenHe ? [
|
|
@@ -4845,8 +4845,8 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4845
4845
|
}
|
|
4846
4846
|
);
|
|
4847
4847
|
});
|
|
4848
|
-
async function
|
|
4849
|
-
|
|
4848
|
+
async function v() {
|
|
4849
|
+
m();
|
|
4850
4850
|
const S = $e.service({
|
|
4851
4851
|
text: "logining...",
|
|
4852
4852
|
background: "rgba(0, 0, 0, 0.7)"
|
|
@@ -4858,7 +4858,7 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4858
4858
|
S.close();
|
|
4859
4859
|
}
|
|
4860
4860
|
}
|
|
4861
|
-
function
|
|
4861
|
+
function m() {
|
|
4862
4862
|
n.userStore.showLogin(!1);
|
|
4863
4863
|
}
|
|
4864
4864
|
function p() {
|
|
@@ -4889,14 +4889,14 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4889
4889
|
function F() {
|
|
4890
4890
|
n.userStore.hideInvite(!1);
|
|
4891
4891
|
}
|
|
4892
|
-
return (S, T) => (
|
|
4892
|
+
return (S, T) => (A(), L(
|
|
4893
4893
|
ve,
|
|
4894
4894
|
null,
|
|
4895
4895
|
[
|
|
4896
4896
|
g(
|
|
4897
4897
|
"header",
|
|
4898
4898
|
{
|
|
4899
|
-
class:
|
|
4899
|
+
class: Rr(["absolute inset-x-0 px-1 top-0 z-30 mx-auto", [e.className]])
|
|
4900
4900
|
},
|
|
4901
4901
|
[
|
|
4902
4902
|
g("nav", Ec, [
|
|
@@ -4933,16 +4933,16 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4933
4933
|
})
|
|
4934
4934
|
])
|
|
4935
4935
|
]),
|
|
4936
|
-
g("div",
|
|
4937
|
-
e.isShenHe ? B("v-if", !0) : (
|
|
4936
|
+
g("div", Ac, [
|
|
4937
|
+
e.isShenHe ? B("v-if", !0) : (A(), Le(z(wr), {
|
|
4938
4938
|
key: 0,
|
|
4939
4939
|
class: "relative"
|
|
4940
4940
|
}, {
|
|
4941
4941
|
default: be(() => [
|
|
4942
4942
|
ue(z(Gl), null, {
|
|
4943
4943
|
default: be(() => [
|
|
4944
|
-
g("div",
|
|
4945
|
-
|
|
4944
|
+
g("div", Lc, [
|
|
4945
|
+
kc,
|
|
4946
4946
|
ue(z(_c), {
|
|
4947
4947
|
class: "h-5 w-5",
|
|
4948
4948
|
"aria-hidden": "true"
|
|
@@ -4964,10 +4964,10 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4964
4964
|
ue(z(Wl), { class: "absolute left-1/2 z-10 mt-5 flex w-screen max-w-min -translate-x-1/2 px-4" }, {
|
|
4965
4965
|
default: be(() => [
|
|
4966
4966
|
g("div", $c, [
|
|
4967
|
-
(
|
|
4967
|
+
(A(), L(
|
|
4968
4968
|
ve,
|
|
4969
4969
|
null,
|
|
4970
|
-
|
|
4970
|
+
Ht(a, (y) => g("a", {
|
|
4971
4971
|
key: y.name,
|
|
4972
4972
|
href: y.href,
|
|
4973
4973
|
class: "block p-2 hover:text-indigo-600",
|
|
@@ -4989,20 +4989,20 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
4989
4989
|
_: 1
|
|
4990
4990
|
/* STABLE */
|
|
4991
4991
|
})),
|
|
4992
|
-
(
|
|
4992
|
+
(A(!0), L(
|
|
4993
4993
|
ve,
|
|
4994
4994
|
null,
|
|
4995
|
-
|
|
4995
|
+
Ht(i.value, (y) => (A(), L("a", {
|
|
4996
4996
|
key: y.name,
|
|
4997
4997
|
href: y.href,
|
|
4998
4998
|
target: y.target,
|
|
4999
4999
|
class: "navigation-item inline-flex items-center text-sm h-7 leading-7 font-semibold text-gray-900"
|
|
5000
|
-
}, J(y.name), 9,
|
|
5000
|
+
}, J(y.name), 9, Rc))),
|
|
5001
5001
|
128
|
|
5002
5002
|
/* KEYED_FRAGMENT */
|
|
5003
5003
|
))
|
|
5004
5004
|
]),
|
|
5005
|
-
e.isShenHe ? (
|
|
5005
|
+
e.isShenHe ? (A(), L("div", Dc)) : c.value ? (A(), L("div", Bc, [
|
|
5006
5006
|
g(
|
|
5007
5007
|
"div",
|
|
5008
5008
|
{
|
|
@@ -5031,7 +5031,7 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
5031
5031
|
null,
|
|
5032
5032
|
[
|
|
5033
5033
|
g("div", Vc, [
|
|
5034
|
-
c.value ? (
|
|
5034
|
+
c.value ? (A(), Le(co, {
|
|
5035
5035
|
key: 0,
|
|
5036
5036
|
user: c.value
|
|
5037
5037
|
}, null, 8, ["user"])) : B("v-if", !0)
|
|
@@ -5046,13 +5046,13 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
5046
5046
|
32
|
|
5047
5047
|
/* HYDRATE_EVENTS */
|
|
5048
5048
|
)
|
|
5049
|
-
])) : (
|
|
5049
|
+
])) : (A(), L("div", jc, [
|
|
5050
5050
|
g("a", {
|
|
5051
5051
|
onClick: u,
|
|
5052
5052
|
href: "javscript:void(0)",
|
|
5053
5053
|
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"
|
|
5054
5054
|
}, [
|
|
5055
|
-
|
|
5055
|
+
mt("Log in"),
|
|
5056
5056
|
Ic
|
|
5057
5057
|
])
|
|
5058
5058
|
]))
|
|
@@ -5100,11 +5100,11 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
5100
5100
|
g("div", Yc, [
|
|
5101
5101
|
g("div", Xc, [
|
|
5102
5102
|
g("div", Zc, [
|
|
5103
|
-
e.isShenHe ? B("v-if", !0) : (
|
|
5104
|
-
(
|
|
5103
|
+
e.isShenHe ? B("v-if", !0) : (A(), L("a", Qc, "More Extensions")),
|
|
5104
|
+
(A(!0), L(
|
|
5105
5105
|
ve,
|
|
5106
5106
|
null,
|
|
5107
|
-
|
|
5107
|
+
Ht(i.value, (y) => (A(), L("a", {
|
|
5108
5108
|
key: y.name,
|
|
5109
5109
|
href: y.href,
|
|
5110
5110
|
target: y.target,
|
|
@@ -5114,16 +5114,16 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
5114
5114
|
/* KEYED_FRAGMENT */
|
|
5115
5115
|
))
|
|
5116
5116
|
]),
|
|
5117
|
-
c.value ? (
|
|
5117
|
+
c.value ? (A(), L("div", {
|
|
5118
5118
|
key: 1,
|
|
5119
5119
|
class: "relative sm-user-center-dialog py-6 right flew-center",
|
|
5120
5120
|
onClick: w
|
|
5121
5121
|
}, [
|
|
5122
|
-
c.value ? (
|
|
5122
|
+
c.value ? (A(), Le(co, {
|
|
5123
5123
|
key: 0,
|
|
5124
5124
|
user: c.value
|
|
5125
5125
|
}, null, 8, ["user"])) : B("v-if", !0)
|
|
5126
|
-
])) : (
|
|
5126
|
+
])) : (A(), L("div", td, [
|
|
5127
5127
|
g("a", {
|
|
5128
5128
|
href: "#",
|
|
5129
5129
|
onClick: u,
|
|
@@ -5145,16 +5145,16 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
5145
5145
|
/* CLASS */
|
|
5146
5146
|
),
|
|
5147
5147
|
B(" 引入登录 "),
|
|
5148
|
-
e.userStore.isShowLogin ? (
|
|
5148
|
+
e.userStore.isShowLogin ? (A(), Le(Tu, {
|
|
5149
5149
|
key: 0,
|
|
5150
|
-
onSuccess:
|
|
5151
|
-
onClose:
|
|
5150
|
+
onSuccess: v,
|
|
5151
|
+
onClose: m
|
|
5152
5152
|
})) : B("v-if", !0),
|
|
5153
|
-
e.userStore.isShowToast ? (
|
|
5153
|
+
e.userStore.isShowToast ? (A(), Le(cc, {
|
|
5154
5154
|
key: 1,
|
|
5155
5155
|
content: e.userStore.toastContent
|
|
5156
5156
|
}, null, 8, ["content"])) : B("v-if", !0),
|
|
5157
|
-
e.userStore.isShowInvite ? (
|
|
5157
|
+
e.userStore.isShowInvite ? (A(), Le(wc, {
|
|
5158
5158
|
key: 2,
|
|
5159
5159
|
onCancel: F
|
|
5160
5160
|
})) : B("v-if", !0)
|
|
@@ -5163,7 +5163,7 @@ const Ne = (e) => (rt("data-v-c970699f"), e = e(), st(), e), Ec = {
|
|
|
5163
5163
|
/* STABLE_FRAGMENT */
|
|
5164
5164
|
));
|
|
5165
5165
|
}
|
|
5166
|
-
}, od = /* @__PURE__ */ Ue(nd, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/
|
|
5166
|
+
}, od = /* @__PURE__ */ Ue(nd, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/a123/Desktop/project-gongshi/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), sd = {
|
|
5167
5167
|
install(e) {
|
|
5168
5168
|
e.component("my-header", od);
|
|
5169
5169
|
}
|