@dimina-kit/devtools 0.4.0-dev.20260907055341 → 0.5.0-dev.20260908120530
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/README.md +1 -1
- package/dist/main/app/window-runtime-services.d.ts +12 -12
- package/dist/main/app/window-runtime-services.js +34 -15
- package/dist/main/index.bundle.js +6307 -6050
- package/dist/main/services/elements-forward/index.d.ts +2 -2
- package/dist/main/services/elements-forward/index.js +6 -6
- package/dist/main/services/network-forward/body-cache.d.ts +2 -0
- package/dist/main/services/network-forward/body-cache.js +4 -0
- package/dist/main/services/network-forward/global-body-gate.d.ts +1 -1
- package/dist/main/services/network-forward/global-body-gate.js +4 -4
- package/dist/main/services/network-forward/http.d.ts +47 -0
- package/dist/main/services/network-forward/http.js +162 -0
- package/dist/main/services/network-forward/index.d.ts +19 -13
- package/dist/main/services/network-forward/index.js +220 -134
- package/dist/main/services/network-forward/request-ids.d.ts +5 -0
- package/dist/main/services/network-forward/request-ids.js +5 -0
- package/dist/main/services/safe-area/index.d.ts +7 -9
- package/dist/main/services/safe-area/index.js +7 -14
- package/dist/main/services/views/native-simulator-view.js +7 -8
- package/dist/main/services/workbench-context.d.ts +3 -3
- package/dist/main/services/workbench-context.js +7 -1
- package/dist/native-host/render/render.js +525 -482
- package/dist/native-host/service/service.js +2 -2
- package/dist/preload/shared/api-compat.js +63 -41
- package/dist/preload/windows/main.cjs +15 -1
- package/dist/preload/windows/main.cjs.map +2 -2
- package/dist/preload/windows/simulator.cjs +55 -134
- package/dist/preload/windows/simulator.cjs.map +4 -4
- package/dist/preload/windows/simulator.js +55 -134
- package/dist/renderer/assets/workbench-C0Jkdlps.js +5 -0
- package/dist/renderer/entries/workbench/index.html +1 -1
- package/dist/shared/types.d.ts +2 -0
- package/dist/simulator/assets/device-shell-DucLepkm.js +431 -0
- package/dist/simulator/assets/simulator-B4rbcOVt.js +10 -0
- package/dist/simulator/assets/simulator-ui-i3GCc7YJ.js +2 -0
- package/dist/simulator/simulator.html +2 -2
- package/package.json +12 -12
- package/dist/renderer/assets/workbench-BLJ0wKsg.js +0 -5
- package/dist/shared/request-core.d.ts +0 -2
- package/dist/shared/request-core.js +0 -2
- package/dist/simulator/assets/device-shell-pxnZZp10.js +0 -431
- package/dist/simulator/assets/simulator-Dwp7lnvu.js +0 -10
- package/dist/simulator/assets/simulator-ui-B2ddJB1R.js +0 -2
|
@@ -151,9 +151,9 @@ function x(e, t) {
|
|
|
151
151
|
}
|
|
152
152
|
return n;
|
|
153
153
|
}
|
|
154
|
-
var S = typeof window < "u" && typeof navigator < "u", C = S && /Android/i.test(navigator.userAgent),
|
|
154
|
+
var S = typeof window < "u" && typeof navigator < "u", C = S && /Android/i.test(navigator.userAgent), ee = S && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
155
155
|
S && /OpenHarmony|harmony/.test(navigator.userAgent), S && /Android|iPad|iPhone|iPod|OpenHarmony|harmony|Mobile/.test(navigator.userAgent), typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
156
|
-
function
|
|
156
|
+
function w(e) {
|
|
157
157
|
if (typeof e != "object" || !e) return e;
|
|
158
158
|
let t = /* @__PURE__ */ new WeakMap();
|
|
159
159
|
function n(e) {
|
|
@@ -171,18 +171,18 @@ function T(e) {
|
|
|
171
171
|
}
|
|
172
172
|
return n(e);
|
|
173
173
|
}
|
|
174
|
-
var
|
|
174
|
+
var T = {}, E = 1, D = 2;
|
|
175
175
|
function te(e, n, r) {
|
|
176
176
|
if (typeof e != "string") throw TypeError("require args must be a string");
|
|
177
|
-
let i =
|
|
177
|
+
let i = T[e];
|
|
178
178
|
if (!i) throw Error(`module ${e} not found`);
|
|
179
|
-
if (i.status ===
|
|
179
|
+
if (i.status === E) {
|
|
180
180
|
i.status = D;
|
|
181
181
|
let n = { exports: {} }, a;
|
|
182
182
|
try {
|
|
183
183
|
i.factory && (a = i.factory.call(null, te, n, n.exports));
|
|
184
184
|
} catch (n) {
|
|
185
|
-
i.status =
|
|
185
|
+
i.status = E;
|
|
186
186
|
let a = `
|
|
187
187
|
name: ${n.name}
|
|
188
188
|
msg: ${n.message}
|
|
@@ -230,34 +230,34 @@ var ne = new class {
|
|
|
230
230
|
t.keep && delete this.callbacks[e];
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
|
-
}(), O = "dd-canvas-contract-change",
|
|
234
|
-
function
|
|
233
|
+
}(), O = "dd-canvas-contract-change", k = "__ddCanvasNode", A = 33554432, re = 4096, ie = A / 4, ae = Math.floor(A / 4 / 4);
|
|
234
|
+
function oe(e) {
|
|
235
235
|
let t = Number(e);
|
|
236
236
|
if (!Number.isFinite(t)) return null;
|
|
237
237
|
let n = Math.abs(Math.trunc(t));
|
|
238
238
|
return Number.isSafeInteger(n) ? n : null;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
let i =
|
|
242
|
-
return i === null || a === null ? "pixel dimensions must be finite non-zero safe integers" : i > 4096 || a > 4096 ? r ? "pixel dimensions exceed the maximum transferable pixel data" : "pixel dimensions exceed the maximum canvas bitmap" : i === 0 || a === 0 ? n ? null : "pixel dimensions must be finite non-zero safe integers" : i > Math.floor((r ?
|
|
240
|
+
function se(e, t, { allowZero: n = !1, transferable: r = !1 } = {}) {
|
|
241
|
+
let i = oe(e), a = oe(t);
|
|
242
|
+
return i === null || a === null ? "pixel dimensions must be finite non-zero safe integers" : i > 4096 || a > 4096 ? r ? "pixel dimensions exceed the maximum transferable pixel data" : "pixel dimensions exceed the maximum canvas bitmap" : i === 0 || a === 0 ? n ? null : "pixel dimensions must be finite non-zero safe integers" : i > Math.floor((r ? ae : 8388608) / a) ? r ? "pixel dimensions exceed the maximum transferable pixel data" : "pixel dimensions exceed the maximum canvas bitmap" : null;
|
|
243
243
|
}
|
|
244
|
-
var
|
|
245
|
-
function
|
|
244
|
+
var ce = "__dimina_data_function_reference__", le = 1;
|
|
245
|
+
function ue(e) {
|
|
246
246
|
return {
|
|
247
|
-
[
|
|
248
|
-
version:
|
|
247
|
+
[ce]: e,
|
|
248
|
+
version: le
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
return typeof e == "object" && !!e && e.version ===
|
|
251
|
+
function de(e) {
|
|
252
|
+
return typeof e == "object" && !!e && e.version === le && typeof e[ce] == "string" && Object.keys(e).length === 2;
|
|
253
253
|
}
|
|
254
|
-
function
|
|
255
|
-
return
|
|
254
|
+
function fe(e) {
|
|
255
|
+
return de(e) ? e[ce] : void 0;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function pe(e, { mapFunction: t, mapReference: n } = {}, r = /* @__PURE__ */ new WeakMap()) {
|
|
258
258
|
if (typeof e == "function") return t ? t(e) : e;
|
|
259
259
|
if (typeof e != "object" || !e) return e;
|
|
260
|
-
if (
|
|
260
|
+
if (de(e)) return n ? n(e) : e;
|
|
261
261
|
if (e instanceof Date || e instanceof RegExp || e instanceof ArrayBuffer || ArrayBuffer.isView(e)) return e;
|
|
262
262
|
if (!Array.isArray(e)) {
|
|
263
263
|
let t = Object.getPrototypeOf(e);
|
|
@@ -266,13 +266,13 @@ function me(e, { mapFunction: t, mapReference: n } = {}, r = /* @__PURE__ */ new
|
|
|
266
266
|
if (r.has(e)) return r.get(e);
|
|
267
267
|
let i = Array.isArray(e) ? [] : {};
|
|
268
268
|
r.set(e, i);
|
|
269
|
-
for (let a of Object.keys(e)) i[a] =
|
|
269
|
+
for (let a of Object.keys(e)) i[a] = pe(e[a], {
|
|
270
270
|
mapFunction: t,
|
|
271
271
|
mapReference: n
|
|
272
272
|
}, r);
|
|
273
273
|
return i;
|
|
274
274
|
}
|
|
275
|
-
var
|
|
275
|
+
var me = /* @__PURE__ */ new Set([
|
|
276
276
|
String,
|
|
277
277
|
Number,
|
|
278
278
|
Boolean,
|
|
@@ -280,28 +280,28 @@ var he = /* @__PURE__ */ new Set([
|
|
|
280
280
|
Array,
|
|
281
281
|
null
|
|
282
282
|
]);
|
|
283
|
+
function he(e) {
|
|
284
|
+
return me.has(e);
|
|
285
|
+
}
|
|
283
286
|
function ge(e) {
|
|
284
|
-
return
|
|
287
|
+
return e === String ? "" : e === Number ? 0 : e === Boolean ? !1 : e === Array ? [] : null;
|
|
285
288
|
}
|
|
286
289
|
function _e(e) {
|
|
287
|
-
return e
|
|
290
|
+
return Array.isArray(e) ? e.filter(he) : [];
|
|
288
291
|
}
|
|
289
292
|
function ve(e) {
|
|
290
|
-
return Array.isArray(e) ? e.filter(ge) : [];
|
|
291
|
-
}
|
|
292
|
-
function ye(e) {
|
|
293
293
|
let t, n = [], r;
|
|
294
|
-
return
|
|
294
|
+
return he(e) ? t = e : e && typeof e == "object" && (t = e.type, n = _e(e.optionalTypes), r = e.value), he(t) || (t = n[0] ?? null), r === void 0 && (r = ge(t)), {
|
|
295
295
|
type: t,
|
|
296
296
|
optionalTypes: n,
|
|
297
|
-
value:
|
|
297
|
+
value: w(r)
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function ye(e) {
|
|
301
301
|
return Array.isArray(e);
|
|
302
302
|
}
|
|
303
303
|
function be(e) {
|
|
304
|
-
return
|
|
304
|
+
return ye(e) && e?.constructor?.name === Array.name;
|
|
305
305
|
}
|
|
306
306
|
function xe(e, t) {
|
|
307
307
|
return e === String ? typeof t == "string" : e === Number ? Number.isFinite(t) : e === Boolean ? typeof t == "boolean" : e === Object ? t !== null && t?.constructor === Object : e === Array ? be(t) : t !== void 0;
|
|
@@ -310,7 +310,7 @@ function Se(e, t) {
|
|
|
310
310
|
typeof e == "function" && e(t);
|
|
311
311
|
}
|
|
312
312
|
function Ce(e, t, { absent: n = !1, warn: r } = {}) {
|
|
313
|
-
if (n) return
|
|
313
|
+
if (n) return w(e.value);
|
|
314
314
|
for (let n of e.optionalTypes || []) if (xe(n, t)) return t;
|
|
315
315
|
let i = e.type;
|
|
316
316
|
if (i === String) return t == null ? (Se(r, "property received type-uncompatible value: expected <String> but get null value. Used empty string instead."), "") : (typeof t == "object" && Se(r, "property received type-uncompatible value: expected <String> but got object-typed value. Forcely converted."), String(t));
|
|
@@ -320,7 +320,7 @@ function Ce(e, t, { absent: n = !1, warn: r } = {}) {
|
|
|
320
320
|
} catch {}
|
|
321
321
|
return Se(r, `property received type-uncompatible value: expected <Number> but ${typeof t == "number" ? "got NaN or Infinity" : "got non-number value"}. Used 0 instead.`), 0;
|
|
322
322
|
}
|
|
323
|
-
return i === Boolean ? !!t : i === Array ?
|
|
323
|
+
return i === Boolean ? !!t : i === Array ? ye(t) ? t : (Se(r, "property received type-uncompatible value: expected <Array> but got non-array value. Used empty array instead."), []) : i === Object ? typeof t == "object" ? t : (Se(r, "property received type-uncompatible value: expected <Object> but got non-object value. Used null instead."), null) : t === void 0 ? null : t;
|
|
324
324
|
}
|
|
325
325
|
function we(e, t = {}, { isAbsent: n, warn: r } = {}) {
|
|
326
326
|
let i = {};
|
|
@@ -362,11 +362,11 @@ var Ee = /* @__PURE__ */ new Map();
|
|
|
362
362
|
function De(e) {
|
|
363
363
|
if (Ee.has(e)) return Ee.get(e);
|
|
364
364
|
let t = function() {};
|
|
365
|
-
return Object.defineProperty(t, "toJSON", { value: () =>
|
|
365
|
+
return Object.defineProperty(t, "toJSON", { value: () => ue(e) }), Ee.set(e, t), t;
|
|
366
366
|
}
|
|
367
367
|
function Oe(e) {
|
|
368
|
-
return
|
|
369
|
-
return De(
|
|
368
|
+
return pe(e, { mapReference(e) {
|
|
369
|
+
return De(fe(e));
|
|
370
370
|
} });
|
|
371
371
|
}
|
|
372
372
|
var ke = new class e {
|
|
@@ -388,7 +388,7 @@ var ke = new class e {
|
|
|
388
388
|
window.DiminaRenderBridge.publish(JSON.stringify(e));
|
|
389
389
|
}
|
|
390
390
|
invoke(t) {
|
|
391
|
-
return C ||
|
|
391
|
+
return C || ee ? e.prototype.invoke = function(e) {
|
|
392
392
|
window.DiminaRenderBridge.invoke(JSON.stringify(e));
|
|
393
393
|
} : e.prototype.invoke = function(e) {
|
|
394
394
|
window.DiminaRenderBridge.invoke(e);
|
|
@@ -433,7 +433,7 @@ var ke = new class e {
|
|
|
433
433
|
let t = {}, n = {};
|
|
434
434
|
for (let r in e) {
|
|
435
435
|
let i = e[r], a = (Array.isArray(i.type) ? i.type : [i.type]).map((e) => this.convertStringToType(e));
|
|
436
|
-
t[r] =
|
|
436
|
+
t[r] = ve({
|
|
437
437
|
type: a[0],
|
|
438
438
|
optionalTypes: a.slice(1),
|
|
439
439
|
value: i.default
|
|
@@ -2458,7 +2458,7 @@ var co = !0;
|
|
|
2458
2458
|
function lo(e) {
|
|
2459
2459
|
let t = mo(e), n = e.proxy, r = e.ctx;
|
|
2460
2460
|
co = !1, t.beforeCreate && fo(t.beforeCreate, e, "bc");
|
|
2461
|
-
let { data: i, computed: a, methods: o, watch: s, provide: c, inject: l, created: u, beforeMount: d, mounted: f, beforeUpdate: p, updated: m, activated: h, deactivated: g, beforeDestroy: _, beforeUnmount: v, destroyed: y, unmounted: b, render: x, renderTracked: S, renderTriggered: C, errorCaptured:
|
|
2461
|
+
let { data: i, computed: a, methods: o, watch: s, provide: c, inject: l, created: u, beforeMount: d, mounted: f, beforeUpdate: p, updated: m, activated: h, deactivated: g, beforeDestroy: _, beforeUnmount: v, destroyed: y, unmounted: b, render: x, renderTracked: S, renderTriggered: C, errorCaptured: ee, serverPrefetch: w, expose: T, inheritAttrs: E, components: D, directives: te, filters: ne } = t, O = process.env.NODE_ENV === "production" ? null : so();
|
|
2462
2462
|
if (process.env.NODE_ENV !== "production") {
|
|
2463
2463
|
let [t] = e.propsOptions;
|
|
2464
2464
|
if (t) for (let e in t) O("Props", e);
|
|
@@ -2507,13 +2507,13 @@ function lo(e) {
|
|
|
2507
2507
|
});
|
|
2508
2508
|
}
|
|
2509
2509
|
u && fo(u, e, "c");
|
|
2510
|
-
function
|
|
2510
|
+
function k(e, t) {
|
|
2511
2511
|
N(t) ? t.forEach((t) => e(t.bind(n))) : t && e(t.bind(n));
|
|
2512
2512
|
}
|
|
2513
|
-
if (
|
|
2514
|
-
if (
|
|
2513
|
+
if (k(Da, d), k(Oa, f), k(ka, p), k(Aa, m), k(xa, h), k(Sa, g), k(Ia, ee), k(Fa, S), k(Pa, C), k(ja, v), k(Ma, b), k(Na, w), N(T)) {
|
|
2514
|
+
if (T.length) {
|
|
2515
2515
|
let t = e.exposed ||= {};
|
|
2516
|
-
|
|
2516
|
+
T.forEach((e) => {
|
|
2517
2517
|
Object.defineProperty(t, e, {
|
|
2518
2518
|
get: () => n[e],
|
|
2519
2519
|
set: (t) => n[e] = t,
|
|
@@ -2522,7 +2522,7 @@ function lo(e) {
|
|
|
2522
2522
|
});
|
|
2523
2523
|
} else e.exposed ||= {};
|
|
2524
2524
|
}
|
|
2525
|
-
x && e.render === Ie && (e.render = x),
|
|
2525
|
+
x && e.render === Ie && (e.render = x), E != null && (e.inheritAttrs = E), D && (e.components = D), te && (e.directives = te), w && pa(e);
|
|
2526
2526
|
}
|
|
2527
2527
|
function uo(e, t, n = Ie) {
|
|
2528
2528
|
N(e) && (e = yo(e));
|
|
@@ -3125,7 +3125,7 @@ function Ds(e, t) {
|
|
|
3125
3125
|
n.__VUE__ = !0, process.env.NODE_ENV !== "production" && Si(n.__VUE_DEVTOOLS_GLOBAL_HOOK__, n);
|
|
3126
3126
|
let { insert: r, remove: i, patchProp: a, createElement: o, createText: s, createComment: c, setText: l, setElementText: u, parentNode: d, nextSibling: f, setScopeId: p = Ie, insertStaticContent: m } = e, h = (e, t, n, r = null, i = null, a = null, o = void 0, s = null, c = process.env.NODE_ENV !== "production" && oi ? !1 : !!t.dynamicChildren) => {
|
|
3127
3127
|
if (e === t) return;
|
|
3128
|
-
e && !cc(e, t) && (r =
|
|
3128
|
+
e && !cc(e, t) && (r = pe(e), ce(e, i, a, !0), e = null), t.patchFlag === -2 && (c = !1, t.dynamicChildren = null);
|
|
3129
3129
|
let { type: l, ref: u, shapeFlag: d } = t;
|
|
3130
3130
|
switch (l) {
|
|
3131
3131
|
case Zs:
|
|
@@ -3140,7 +3140,7 @@ function Ds(e, t) {
|
|
|
3140
3140
|
case Xs:
|
|
3141
3141
|
te(e, t, n, r, i, a, o, s, c);
|
|
3142
3142
|
break;
|
|
3143
|
-
default: d & 1 ? S(e, t, n, r, i, a, o, s, c) : d & 6 ? ne(e, t, n, r, i, a, o, s, c) : d & 64 || d & 128 ? l.process(e, t, n, r, i, a, o, s, c,
|
|
3143
|
+
default: d & 1 ? S(e, t, n, r, i, a, o, s, c) : d & 6 ? ne(e, t, n, r, i, a, o, s, c) : d & 64 || d & 128 ? l.process(e, t, n, r, i, a, o, s, c, ge) : process.env.NODE_ENV !== "production" && B("Invalid VNode type:", l, `(${typeof l})`);
|
|
3144
3144
|
}
|
|
3145
3145
|
u != null && i ? _a(u, e && e.ref, a, t || e, !t) : u == null && e && e.ref != null && _a(e.ref, null, a, e, !0);
|
|
3146
3146
|
}, g = (e, t, n, i) => {
|
|
@@ -3171,14 +3171,14 @@ function Ds(e, t) {
|
|
|
3171
3171
|
else {
|
|
3172
3172
|
let n = e.el && e.el._isVueCE ? e.el : null;
|
|
3173
3173
|
try {
|
|
3174
|
-
n && n._beginPatch(),
|
|
3174
|
+
n && n._beginPatch(), T(e, t, i, a, o, s, c);
|
|
3175
3175
|
} finally {
|
|
3176
3176
|
n && n._endPatch();
|
|
3177
3177
|
}
|
|
3178
3178
|
}
|
|
3179
3179
|
}, C = (e, t, n, i, s, c, l, d) => {
|
|
3180
3180
|
let f, p, { props: m, shapeFlag: h, transition: g, dirs: _ } = e;
|
|
3181
|
-
if (f = e.el = o(e.type, c, m && m.is, m), h & 8 ? u(f, e.children) : h & 16 &&
|
|
3181
|
+
if (f = e.el = o(e.type, c, m && m.is, m), h & 8 ? u(f, e.children) : h & 16 && w(e.children, f, null, i, s, Os(e, c), l, d), _ && Bi(e, null, i, "created"), ee(f, e, e.scopeId, l, i), m) {
|
|
3182
3182
|
for (let e in m) e !== "value" && !$e(e) && a(f, e, null, m[e], c, i);
|
|
3183
3183
|
"value" in m && a(f, "value", null, m.value, c), (p = m.onVnodeBeforeMount) && Cc(p, i, e);
|
|
3184
3184
|
}
|
|
@@ -3196,27 +3196,27 @@ function Ds(e, t) {
|
|
|
3196
3196
|
}
|
|
3197
3197
|
}, s);
|
|
3198
3198
|
}
|
|
3199
|
-
},
|
|
3199
|
+
}, ee = (e, t, n, r, i) => {
|
|
3200
3200
|
if (n && p(e, n), r) for (let t = 0; t < r.length; t++) p(e, r[t]);
|
|
3201
3201
|
if (i) {
|
|
3202
3202
|
let n = i.subTree;
|
|
3203
3203
|
if (process.env.NODE_ENV !== "production" && n.patchFlag > 0 && n.patchFlag & 2048 && (n = Lo(n.children) || n), t === n || Is(n.type) && (n.ssContent === t || n.ssFallback === t)) {
|
|
3204
3204
|
let t = i.vnode;
|
|
3205
|
-
|
|
3205
|
+
ee(e, t, t.scopeId, t.slotScopeIds, i.parent);
|
|
3206
3206
|
}
|
|
3207
3207
|
}
|
|
3208
|
-
},
|
|
3208
|
+
}, w = (e, t, n, r, i, a, o, s, c = 0) => {
|
|
3209
3209
|
for (let l = c; l < e.length; l++) {
|
|
3210
3210
|
let c = e[l] = s ? xc(e[l]) : bc(e[l]);
|
|
3211
3211
|
h(null, c, t, n, r, i, a, o, s);
|
|
3212
3212
|
}
|
|
3213
|
-
},
|
|
3213
|
+
}, T = (e, t, n, r, i, o, s) => {
|
|
3214
3214
|
let c = t.el = e.el;
|
|
3215
3215
|
process.env.NODE_ENV !== "production" && (c.__vnode = t);
|
|
3216
3216
|
let { patchFlag: l, dynamicChildren: d, dirs: f } = t;
|
|
3217
3217
|
l |= e.patchFlag & 16;
|
|
3218
3218
|
let p = e.props || j, m = t.props || j, h;
|
|
3219
|
-
if (n && ks(n, !1), (h = m.onVnodeBeforeUpdate) && Cc(h, n, t, e), f && Bi(t, e, n, "beforeUpdate"), n && ks(n, !0), (process.env.NODE_ENV !== "production" && oi || d && (!e.dynamicChildren || e.dynamicChildren.length !== d.length)) && (l = 0, s = !1, d = null), (p.innerHTML && m.innerHTML == null || p.textContent && m.textContent == null) && u(c, ""), d ? (
|
|
3219
|
+
if (n && ks(n, !1), (h = m.onVnodeBeforeUpdate) && Cc(h, n, t, e), f && Bi(t, e, n, "beforeUpdate"), n && ks(n, !0), (process.env.NODE_ENV !== "production" && oi || d && (!e.dynamicChildren || e.dynamicChildren.length !== d.length)) && (l = 0, s = !1, d = null), (p.innerHTML && m.innerHTML == null || p.textContent && m.textContent == null) && u(c, ""), d ? (E(e.dynamicChildren, d, c, n, r, Os(t, i), o), process.env.NODE_ENV !== "production" && js(e, t)) : s || ie(e, t, c, null, n, r, Os(t, i), o, !1), l > 0) {
|
|
3220
3220
|
if (l & 16) D(c, p, m, n, i);
|
|
3221
3221
|
else if (l & 2 && p.class !== m.class && a(c, "class", null, m.class, i), l & 4 && a(c, "style", p.style, m.style, i), l & 8) {
|
|
3222
3222
|
let e = t.dynamicProps;
|
|
@@ -3230,7 +3230,7 @@ function Ds(e, t) {
|
|
|
3230
3230
|
((h = m.onVnodeUpdated) || f) && Ts(() => {
|
|
3231
3231
|
h && Cc(h, n, t, e), f && Bi(t, e, n, "updated");
|
|
3232
3232
|
}, r);
|
|
3233
|
-
},
|
|
3233
|
+
}, E = (e, t, n, r, i, a, o) => {
|
|
3234
3234
|
for (let s = 0; s < t.length; s++) {
|
|
3235
3235
|
let c = e[s], l = t[s], u = c.el && (c.type === Xs || !cc(c, l) || c.shapeFlag & 198) ? d(c.el) : n;
|
|
3236
3236
|
h(c, l, u, null, r, i, a, o, !0);
|
|
@@ -3247,35 +3247,35 @@ function Ds(e, t) {
|
|
|
3247
3247
|
}
|
|
3248
3248
|
}, te = (e, t, n, i, a, o, c, l, u) => {
|
|
3249
3249
|
let d = t.el = e ? e.el : s(""), f = t.anchor = e ? e.anchor : s(""), { patchFlag: p, dynamicChildren: m, slotScopeIds: h } = t;
|
|
3250
|
-
process.env.NODE_ENV !== "production" && (oi || p & 2048) && (p = 0, u = !1, m = null), h && (l = l ? l.concat(h) : h), e == null ? (r(d, n, i), r(f, n, i),
|
|
3250
|
+
process.env.NODE_ENV !== "production" && (oi || p & 2048) && (p = 0, u = !1, m = null), h && (l = l ? l.concat(h) : h), e == null ? (r(d, n, i), r(f, n, i), w(t.children || [], n, f, a, o, c, l, u)) : p > 0 && p & 64 && m && e.dynamicChildren && e.dynamicChildren.length === m.length ? (E(e.dynamicChildren, m, n, a, o, c, l), process.env.NODE_ENV === "production" ? (t.key != null || a && t === a.subTree) && js(e, t, !0) : js(e, t)) : ie(e, t, n, f, a, o, c, l, u);
|
|
3251
3251
|
}, ne = (e, t, n, r, i, a, o, s, c) => {
|
|
3252
|
-
t.slotScopeIds = s, e == null ? t.shapeFlag & 512 ? i.ctx.activate(t, n, r, o, c) : O(t, n, r, i, a, o, c) :
|
|
3252
|
+
t.slotScopeIds = s, e == null ? t.shapeFlag & 512 ? i.ctx.activate(t, n, r, o, c) : O(t, n, r, i, a, o, c) : k(e, t, c);
|
|
3253
3253
|
}, O = (e, t, n, r, i, a, o) => {
|
|
3254
3254
|
let s = e.component = Ec(e, r, i);
|
|
3255
|
-
if (process.env.NODE_ENV !== "production" && s.type.__hmrId && ui(s), process.env.NODE_ENV !== "production" && (Or(e), xs(s, "mount")), ba(e) && (s.ctx.renderer =
|
|
3256
|
-
if (i && i.registerDep(s,
|
|
3255
|
+
if (process.env.NODE_ENV !== "production" && s.type.__hmrId && ui(s), process.env.NODE_ENV !== "production" && (Or(e), xs(s, "mount")), ba(e) && (s.ctx.renderer = ge), process.env.NODE_ENV !== "production" && xs(s, "init"), Lc(s, !1, o), process.env.NODE_ENV !== "production" && Ss(s, "init"), process.env.NODE_ENV !== "production" && oi && (e.el = null), s.asyncDep) {
|
|
3256
|
+
if (i && i.registerDep(s, A, o), !e.el) {
|
|
3257
3257
|
let r = s.subTree = pc(Qs);
|
|
3258
3258
|
_(null, r, t, n), e.placeholder = r.el;
|
|
3259
3259
|
}
|
|
3260
|
-
} else
|
|
3260
|
+
} else A(s, e, t, n, i, a, o);
|
|
3261
3261
|
process.env.NODE_ENV !== "production" && (kr(), Ss(s, "mount"));
|
|
3262
|
-
},
|
|
3262
|
+
}, k = (e, t, n) => {
|
|
3263
3263
|
let r = t.component = e.component;
|
|
3264
3264
|
if (Vo(e, t, n)) {
|
|
3265
3265
|
if (r.asyncDep && !r.asyncResolved) {
|
|
3266
|
-
process.env.NODE_ENV !== "production" && Or(t),
|
|
3266
|
+
process.env.NODE_ENV !== "production" && Or(t), re(r, t, n), process.env.NODE_ENV !== "production" && kr();
|
|
3267
3267
|
return;
|
|
3268
3268
|
}
|
|
3269
3269
|
r.next = t, r.update();
|
|
3270
3270
|
} else t.el = e.el, r.vnode = t;
|
|
3271
|
-
},
|
|
3271
|
+
}, A = (e, t, n, r, i, a, o) => {
|
|
3272
3272
|
let s = () => {
|
|
3273
3273
|
if (e.isMounted) {
|
|
3274
3274
|
let { next: t, bu: n, u: r, parent: s, vnode: c } = e;
|
|
3275
3275
|
{
|
|
3276
3276
|
let n = Ns(e);
|
|
3277
3277
|
if (n) {
|
|
3278
|
-
t && (t.el = c.el,
|
|
3278
|
+
t && (t.el = c.el, re(e, t, o)), n.asyncDep.then(() => {
|
|
3279
3279
|
Ts(() => {
|
|
3280
3280
|
e.isUnmounted || l();
|
|
3281
3281
|
}, i);
|
|
@@ -3284,16 +3284,16 @@ function Ds(e, t) {
|
|
|
3284
3284
|
}
|
|
3285
3285
|
}
|
|
3286
3286
|
let u = t, f;
|
|
3287
|
-
process.env.NODE_ENV !== "production" && Or(t || e.vnode), ks(e, !1), t ? (t.el = c.el,
|
|
3287
|
+
process.env.NODE_ENV !== "production" && Or(t || e.vnode), ks(e, !1), t ? (t.el = c.el, re(e, t, o)) : t = c, n && lt(n), (f = t.props && t.props.onVnodeBeforeUpdate) && Cc(f, s, t, c), ks(e, !0), process.env.NODE_ENV !== "production" && xs(e, "render");
|
|
3288
3288
|
let p = Fo(e);
|
|
3289
3289
|
process.env.NODE_ENV !== "production" && Ss(e, "render");
|
|
3290
3290
|
let m = e.subTree;
|
|
3291
|
-
e.subTree = p, process.env.NODE_ENV !== "production" && xs(e, "patch"), h(m, p, d(m.el),
|
|
3291
|
+
e.subTree = p, process.env.NODE_ENV !== "production" && xs(e, "patch"), h(m, p, d(m.el), pe(m), e, i, a), process.env.NODE_ENV !== "production" && Ss(e, "patch"), t.el = p.el, u === null && Wo(e, p.el), r && Ts(r, i), (f = t.props && t.props.onVnodeUpdated) && Ts(() => Cc(f, s, t, c), i), process.env.NODE_ENV !== "production" && Ei(e), process.env.NODE_ENV !== "production" && kr();
|
|
3292
3292
|
} else {
|
|
3293
3293
|
let o, { el: s, props: c } = t, { bm: l, m: u, parent: d, root: f, type: p } = e, m = ya(t);
|
|
3294
|
-
if (ks(e, !1), l && lt(l), !m && (o = c && c.onVnodeBeforeMount) && Cc(o, d, t), ks(e, !0), s &&
|
|
3294
|
+
if (ks(e, !1), l && lt(l), !m && (o = c && c.onVnodeBeforeMount) && Cc(o, d, t), ks(e, !0), s && ve) {
|
|
3295
3295
|
let t = () => {
|
|
3296
|
-
process.env.NODE_ENV !== "production" && xs(e, "render"), e.subTree = Fo(e), process.env.NODE_ENV !== "production" && Ss(e, "render"), process.env.NODE_ENV !== "production" && xs(e, "hydrate"),
|
|
3296
|
+
process.env.NODE_ENV !== "production" && xs(e, "render"), e.subTree = Fo(e), process.env.NODE_ENV !== "production" && Ss(e, "render"), process.env.NODE_ENV !== "production" && xs(e, "hydrate"), ve(s, e.subTree, e, i, null), process.env.NODE_ENV !== "production" && Ss(e, "hydrate");
|
|
3297
3297
|
};
|
|
3298
3298
|
m && p.__asyncHydrate ? p.__asyncHydrate(s, e, t) : t();
|
|
3299
3299
|
} else {
|
|
@@ -3313,32 +3313,32 @@ function Ds(e, t) {
|
|
|
3313
3313
|
e.scope.off();
|
|
3314
3314
|
let l = e.update = c.run.bind(c), u = e.job = c.runIfDirty.bind(c);
|
|
3315
3315
|
u.i = e, u.id = e.uid, c.scheduler = () => Qr(u), ks(e, !0), process.env.NODE_ENV !== "production" && (c.onTrack = e.rtc ? (t) => lt(e.rtc, t) : void 0, c.onTrigger = e.rtg ? (t) => lt(e.rtg, t) : void 0), l();
|
|
3316
|
-
},
|
|
3316
|
+
}, re = (e, t, n) => {
|
|
3317
3317
|
t.component = e;
|
|
3318
3318
|
let r = e.vnode.props;
|
|
3319
3319
|
e.vnode = t, e.next = null, Xo(e, t.props, r, n), vs(e, t.children, n), sn(), ti(e), cn();
|
|
3320
|
-
},
|
|
3320
|
+
}, ie = (e, t, n, r, i, a, o, s, c = !1) => {
|
|
3321
3321
|
let l = e && e.children, d = e ? e.shapeFlag : 0, f = t.children, { patchFlag: p, shapeFlag: m } = t;
|
|
3322
3322
|
if (p > 0) {
|
|
3323
3323
|
if (p & 128) {
|
|
3324
|
-
|
|
3324
|
+
oe(l, f, n, r, i, a, o, s, c);
|
|
3325
3325
|
return;
|
|
3326
3326
|
}
|
|
3327
3327
|
if (p & 256) {
|
|
3328
|
-
|
|
3328
|
+
ae(l, f, n, r, i, a, o, s, c);
|
|
3329
3329
|
return;
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
|
-
m & 8 ? (d & 16 &&
|
|
3333
|
-
},
|
|
3332
|
+
m & 8 ? (d & 16 && fe(l, i, a), f !== l && u(n, f)) : d & 16 ? m & 16 ? oe(l, f, n, r, i, a, o, s, c) : fe(l, i, a, !0) : (d & 8 && u(n, ""), m & 16 && w(f, n, r, i, a, o, s, c));
|
|
3333
|
+
}, ae = (e, t, n, r, i, a, o, s, c) => {
|
|
3334
3334
|
e ||= Fe, t ||= Fe;
|
|
3335
3335
|
let l = e.length, u = t.length, d = Math.min(l, u), f = 0;
|
|
3336
3336
|
for (; f < d; f++) {
|
|
3337
3337
|
let r = t[f] = c ? xc(t[f]) : bc(t[f]);
|
|
3338
3338
|
h(e[f], r, n, null, i, a, o, s, c);
|
|
3339
3339
|
}
|
|
3340
|
-
l > u ?
|
|
3341
|
-
},
|
|
3340
|
+
l > u ? fe(e, i, a, !0, !1, d) : w(t, n, r, i, a, o, s, c, d);
|
|
3341
|
+
}, oe = (e, t, n, r, i, a, o, s, c) => {
|
|
3342
3342
|
let l = 0, u = t.length, d = e.length - 1, f = u - 1;
|
|
3343
3343
|
for (; l <= d && l <= f;) {
|
|
3344
3344
|
let r = e[l], u = t[l] = c ? xc(t[l]) : bc(t[l]);
|
|
@@ -3357,7 +3357,7 @@ function Ds(e, t) {
|
|
|
3357
3357
|
let e = f + 1, d = e < u ? t[e].el : r;
|
|
3358
3358
|
for (; l <= f;) h(null, t[l] = c ? xc(t[l]) : bc(t[l]), n, d, i, a, o, s, c), l++;
|
|
3359
3359
|
}
|
|
3360
|
-
} else if (l > f) for (; l <= d;)
|
|
3360
|
+
} else if (l > f) for (; l <= d;) ce(e[l], i, a, !0), l++;
|
|
3361
3361
|
else {
|
|
3362
3362
|
let p = l, m = l, g = /* @__PURE__ */ new Map();
|
|
3363
3363
|
for (l = m; l <= f; l++) {
|
|
@@ -3369,7 +3369,7 @@ function Ds(e, t) {
|
|
|
3369
3369
|
for (l = p; l <= d; l++) {
|
|
3370
3370
|
let r = e[l];
|
|
3371
3371
|
if (v >= y) {
|
|
3372
|
-
|
|
3372
|
+
ce(r, i, a, !0);
|
|
3373
3373
|
continue;
|
|
3374
3374
|
}
|
|
3375
3375
|
let u;
|
|
@@ -3378,18 +3378,18 @@ function Ds(e, t) {
|
|
|
3378
3378
|
u = _;
|
|
3379
3379
|
break;
|
|
3380
3380
|
}
|
|
3381
|
-
u === void 0 ?
|
|
3381
|
+
u === void 0 ? ce(r, i, a, !0) : (S[u - m] = l + 1, u >= x ? x = u : b = !0, h(r, t[u], n, null, i, a, o, s, c), v++);
|
|
3382
3382
|
}
|
|
3383
3383
|
let C = b ? Ms(S) : Fe;
|
|
3384
3384
|
for (_ = C.length - 1, l = y - 1; l >= 0; l--) {
|
|
3385
3385
|
let e = m + l, d = t[e], f = t[e + 1], p = e + 1 < u ? f.el || Fs(f) : r;
|
|
3386
|
-
S[l] === 0 ? h(null, d, n, p, i, a, o, s, c) : b && (_ < 0 || l !== C[_] ?
|
|
3386
|
+
S[l] === 0 ? h(null, d, n, p, i, a, o, s, c) : b && (_ < 0 || l !== C[_] ? se(d, n, p, 2) : _--);
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
|
-
},
|
|
3389
|
+
}, se = (e, t, n, a, o = null) => {
|
|
3390
3390
|
let { el: s, type: c, transition: l, children: u, shapeFlag: d } = e;
|
|
3391
3391
|
if (d & 6) {
|
|
3392
|
-
|
|
3392
|
+
se(e.component.subTree, t, n, a);
|
|
3393
3393
|
return;
|
|
3394
3394
|
}
|
|
3395
3395
|
if (d & 128) {
|
|
@@ -3397,12 +3397,12 @@ function Ds(e, t) {
|
|
|
3397
3397
|
return;
|
|
3398
3398
|
}
|
|
3399
3399
|
if (d & 64) {
|
|
3400
|
-
c.move(e, t, n,
|
|
3400
|
+
c.move(e, t, n, ge);
|
|
3401
3401
|
return;
|
|
3402
3402
|
}
|
|
3403
3403
|
if (c === Xs) {
|
|
3404
3404
|
r(s, t, n);
|
|
3405
|
-
for (let e = 0; e < u.length; e++)
|
|
3405
|
+
for (let e = 0; e < u.length; e++) se(u[e], t, n, a);
|
|
3406
3406
|
r(e.anchor, t, n);
|
|
3407
3407
|
return;
|
|
3408
3408
|
}
|
|
@@ -3424,31 +3424,31 @@ function Ds(e, t) {
|
|
|
3424
3424
|
o ? o(s, u, d) : d();
|
|
3425
3425
|
}
|
|
3426
3426
|
} else r(s, t, n);
|
|
3427
|
-
},
|
|
3427
|
+
}, ce = (e, t, n, r = !1, i = !1) => {
|
|
3428
3428
|
let { type: a, props: o, ref: s, children: c, dynamicChildren: l, shapeFlag: u, patchFlag: d, dirs: f, cacheIndex: p, memo: m } = e;
|
|
3429
3429
|
if (d === -2 && (i = !1), s != null && (sn(), _a(s, null, n, e, !0), cn()), p != null && (t.renderCache[p] = void 0), u & 256) {
|
|
3430
3430
|
t.ctx.deactivate(e);
|
|
3431
3431
|
return;
|
|
3432
3432
|
}
|
|
3433
3433
|
let h = u & 1 && f, g = !ya(e), _;
|
|
3434
|
-
if (g && (_ = o && o.onVnodeBeforeUnmount) && Cc(_, t, e), u & 6)
|
|
3434
|
+
if (g && (_ = o && o.onVnodeBeforeUnmount) && Cc(_, t, e), u & 6) de(e.component, n, r);
|
|
3435
3435
|
else {
|
|
3436
3436
|
if (u & 128) {
|
|
3437
3437
|
e.suspense.unmount(n, r);
|
|
3438
3438
|
return;
|
|
3439
3439
|
}
|
|
3440
|
-
h && Bi(e, null, t, "beforeUnmount"), u & 64 ? e.type.remove(e, t, n,
|
|
3440
|
+
h && Bi(e, null, t, "beforeUnmount"), u & 64 ? e.type.remove(e, t, n, ge, r) : l && !l.hasOnce && (a !== Xs || d > 0 && d & 64) ? fe(l, t, n, !1, !0) : (a === Xs && d & 384 || !i && u & 16) && fe(c, t, n), r && le(e);
|
|
3441
3441
|
}
|
|
3442
3442
|
let v = m != null && p == null;
|
|
3443
3443
|
(g && (_ = o && o.onVnodeUnmounted) || h || v) && Ts(() => {
|
|
3444
3444
|
_ && Cc(_, t, e), h && Bi(e, null, t, "unmounted"), v && (e.el = null);
|
|
3445
3445
|
}, n);
|
|
3446
|
-
},
|
|
3446
|
+
}, le = (e) => {
|
|
3447
3447
|
let { type: t, el: n, anchor: r, transition: a } = e;
|
|
3448
3448
|
if (t === Xs) {
|
|
3449
3449
|
process.env.NODE_ENV !== "production" && e.patchFlag > 0 && e.patchFlag & 2048 && a && !a.persisted ? e.children.forEach((e) => {
|
|
3450
|
-
e.type === Qs ? i(e.el) :
|
|
3451
|
-
}) :
|
|
3450
|
+
e.type === Qs ? i(e.el) : le(e);
|
|
3451
|
+
}) : ue(n, r);
|
|
3452
3452
|
return;
|
|
3453
3453
|
}
|
|
3454
3454
|
if (t === $s) {
|
|
@@ -3462,42 +3462,42 @@ function Ds(e, t) {
|
|
|
3462
3462
|
let { leave: t, delayLeave: r } = a, i = () => t(n, o);
|
|
3463
3463
|
r ? r(e.el, o, i) : i();
|
|
3464
3464
|
} else o();
|
|
3465
|
-
},
|
|
3465
|
+
}, ue = (e, t) => {
|
|
3466
3466
|
let n;
|
|
3467
3467
|
for (; e !== t;) n = f(e), i(e), e = n;
|
|
3468
3468
|
i(t);
|
|
3469
|
-
},
|
|
3469
|
+
}, de = (e, t, n) => {
|
|
3470
3470
|
process.env.NODE_ENV !== "production" && e.type.__hmrId && di(e);
|
|
3471
3471
|
let { bum: r, scope: i, job: a, subTree: o, um: s, m: c, a: l } = e;
|
|
3472
|
-
Ps(c), Ps(l), r && lt(r), i.stop(), a && (a.flags |= 8,
|
|
3472
|
+
Ps(c), Ps(l), r && lt(r), i.stop(), a && (a.flags |= 8, ce(o, e, t, n)), s && Ts(s, t), Ts(() => {
|
|
3473
3473
|
e.isUnmounted = !0;
|
|
3474
3474
|
}, t), process.env.NODE_ENV !== "production" && Oi(e);
|
|
3475
|
-
},
|
|
3476
|
-
for (let o = a; o < e.length; o++)
|
|
3477
|
-
},
|
|
3478
|
-
if (e.shapeFlag & 6) return
|
|
3475
|
+
}, fe = (e, t, n, r = !1, i = !1, a = 0) => {
|
|
3476
|
+
for (let o = a; o < e.length; o++) ce(e[o], t, n, r, i);
|
|
3477
|
+
}, pe = (e) => {
|
|
3478
|
+
if (e.shapeFlag & 6) return pe(e.component.subTree);
|
|
3479
3479
|
if (e.shapeFlag & 128) return e.suspense.next();
|
|
3480
3480
|
let t = f(e.anchor || e.el), n = t && t[Yi];
|
|
3481
3481
|
return n ? f(n) : t;
|
|
3482
|
-
},
|
|
3482
|
+
}, me = !1, he = (e, t, n) => {
|
|
3483
3483
|
let r;
|
|
3484
|
-
e == null ? t._vnode && (
|
|
3485
|
-
},
|
|
3484
|
+
e == null ? t._vnode && (ce(t._vnode, null, null, !0), r = t._vnode.component) : h(t._vnode || null, e, t, null, null, null, n), t._vnode = e, me ||= (me = !0, ti(r), ni(), !1);
|
|
3485
|
+
}, ge = {
|
|
3486
3486
|
p: h,
|
|
3487
|
-
um:
|
|
3488
|
-
m:
|
|
3489
|
-
r:
|
|
3487
|
+
um: ce,
|
|
3488
|
+
m: se,
|
|
3489
|
+
r: le,
|
|
3490
3490
|
mt: O,
|
|
3491
|
-
mc:
|
|
3492
|
-
pc:
|
|
3493
|
-
pbc:
|
|
3494
|
-
n:
|
|
3491
|
+
mc: w,
|
|
3492
|
+
pc: ie,
|
|
3493
|
+
pbc: E,
|
|
3494
|
+
n: pe,
|
|
3495
3495
|
o: e
|
|
3496
|
-
},
|
|
3497
|
-
return t && ([
|
|
3498
|
-
render:
|
|
3499
|
-
hydrate:
|
|
3500
|
-
createApp: Eo(
|
|
3496
|
+
}, _e, ve;
|
|
3497
|
+
return t && ([_e, ve] = t(ge)), {
|
|
3498
|
+
render: he,
|
|
3499
|
+
hydrate: _e,
|
|
3500
|
+
createApp: Eo(he, _e)
|
|
3501
3501
|
};
|
|
3502
3502
|
}
|
|
3503
3503
|
function Os({ type: e, props: t }, n) {
|
|
@@ -5153,8 +5153,8 @@ function dd(e, t, n = {}) {
|
|
|
5153
5153
|
if (!n.takeOver) return () => {};
|
|
5154
5154
|
t.__ddGestureDetach();
|
|
5155
5155
|
}
|
|
5156
|
-
let { longPressThreshold: r = 350, moveThreshold: i = 10, getRelativeElement: a = null, tapHandler: o = null, disableScroll: s = !1, resolveTarget: c = null } = n, l = null, u = 0, d = 0, f = 0, p = 0, m = !1, h = [], g = [], _ = null, v = !1, y = !1, b = !1, x = 0, S = !0, C = !1,
|
|
5157
|
-
function
|
|
5156
|
+
let { longPressThreshold: r = 350, moveThreshold: i = 10, getRelativeElement: a = null, tapHandler: o = null, disableScroll: s = !1, resolveTarget: c = null } = n, l = null, u = 0, d = 0, f = 0, p = 0, m = !1, h = [], g = [], _ = null, v = !1, y = !1, b = !1, x = 0, S = !0, C = !1, ee = [], w = null, T = null, E = /* @__PURE__ */ new Set(), D = null, te = null, ne = null, O = (e) => Qu(e, a);
|
|
5157
|
+
function k(e, n, r) {
|
|
5158
5158
|
return {
|
|
5159
5159
|
target: c ? c(r.target) : r.target,
|
|
5160
5160
|
currentTarget: t,
|
|
@@ -5174,9 +5174,9 @@ function dd(e, t, n = {}) {
|
|
|
5174
5174
|
composedPath: () => n?.composedPath?.() || []
|
|
5175
5175
|
};
|
|
5176
5176
|
}
|
|
5177
|
-
function
|
|
5177
|
+
function A(t, n, r, i) {
|
|
5178
5178
|
if (!S || id(n, t)) return;
|
|
5179
|
-
let a =
|
|
5179
|
+
let a = k(t, n, r);
|
|
5180
5180
|
if (t === "tap" && o) {
|
|
5181
5181
|
o({
|
|
5182
5182
|
event: a,
|
|
@@ -5191,10 +5191,10 @@ function dd(e, t, n = {}) {
|
|
|
5191
5191
|
info: e
|
|
5192
5192
|
});
|
|
5193
5193
|
}
|
|
5194
|
-
function
|
|
5194
|
+
function re() {
|
|
5195
5195
|
l &&= (clearTimeout(l), null);
|
|
5196
5196
|
}
|
|
5197
|
-
function
|
|
5197
|
+
function ie(e, t, n, r) {
|
|
5198
5198
|
return {
|
|
5199
5199
|
target: _ ?? e?.target,
|
|
5200
5200
|
touches: t,
|
|
@@ -5205,108 +5205,108 @@ function dd(e, t, n = {}) {
|
|
|
5205
5205
|
pageY: r?.pageY
|
|
5206
5206
|
};
|
|
5207
5207
|
}
|
|
5208
|
-
function
|
|
5209
|
-
y = !0,
|
|
5208
|
+
function ae(e, t) {
|
|
5209
|
+
y = !0, A("canceltap", e, ie(e, h, g, t));
|
|
5210
5210
|
}
|
|
5211
|
-
function
|
|
5211
|
+
function oe(t, n, i, a) {
|
|
5212
5212
|
_ = t?.target ?? null, ne = td(t);
|
|
5213
5213
|
let o = ne;
|
|
5214
5214
|
u = a.clientX, d = a.clientY, f = a.clientX, p = a.clientY, m = !0, h = O(n), g = O(i), v = !1, y = !1, b = !1;
|
|
5215
5215
|
let s = ++x;
|
|
5216
|
-
|
|
5216
|
+
re(), l = setTimeout(() => {
|
|
5217
5217
|
if (l = null, !S || s !== x || v) return;
|
|
5218
|
-
let n =
|
|
5219
|
-
|
|
5220
|
-
}, r),
|
|
5218
|
+
let n = ie(t, h, g, a);
|
|
5219
|
+
A("longtap", t, n), S && s === x && (A("longpress", t, n), S && s === x && Ku(e, "longpress") && (b = !0, o.tapSuppressed = !0));
|
|
5220
|
+
}, r), A("touchstart", t, ie(t, h, g));
|
|
5221
5221
|
}
|
|
5222
|
-
function
|
|
5222
|
+
function se(e) {
|
|
5223
5223
|
return Math.abs(e.clientX - u) > i || Math.abs(e.clientY - d) > i;
|
|
5224
5224
|
}
|
|
5225
|
-
function
|
|
5225
|
+
function ce(e, t, n, r) {
|
|
5226
5226
|
let i = x;
|
|
5227
|
-
|
|
5227
|
+
se(r) && (v || (v = !0, re())), i === x && (f = r.clientX, p = r.clientY, A("touchmove", e, ie(e, O(t), O(n))), i === x && v && ae(e, r));
|
|
5228
5228
|
}
|
|
5229
|
-
function
|
|
5230
|
-
|
|
5231
|
-
let a = !v && !b && !ne?.tapSuppressed, o =
|
|
5232
|
-
y ||= c, ne = null, _ = null,
|
|
5233
|
-
a &&
|
|
5229
|
+
function le(e, t, n, r, i = null) {
|
|
5230
|
+
re(), !v && i && se(i) && (v = !0);
|
|
5231
|
+
let a = !v && !b && !ne?.tapSuppressed, o = ie(e, O(t), O(n)), s = ie(e, h, g, r), c = v && !y;
|
|
5232
|
+
y ||= c, ne = null, _ = null, A("touchend", e, o), c && A("canceltap", e, s), nd(e, () => {
|
|
5233
|
+
a && A("tap", e, s);
|
|
5234
5234
|
});
|
|
5235
5235
|
}
|
|
5236
|
-
function
|
|
5237
|
-
|
|
5238
|
-
let i =
|
|
5239
|
-
y = !0, ne = null, _ = null,
|
|
5236
|
+
function ue(e, t, n, r) {
|
|
5237
|
+
re();
|
|
5238
|
+
let i = ie(e, O(t), O(n)), a = ie(e, h, g, r), o = !y;
|
|
5239
|
+
y = !0, ne = null, _ = null, A("touchcancel", e, i), o && A("canceltap", e, a);
|
|
5240
5240
|
}
|
|
5241
|
-
function
|
|
5242
|
-
let n = Zu(t.changedTouches, t.touches), r =
|
|
5243
|
-
|
|
5241
|
+
function de(e, t) {
|
|
5242
|
+
let n = Zu(t.changedTouches, t.touches), r = ie(t, O(t.touches), O(t.changedTouches), n);
|
|
5243
|
+
T === null && (r.target = t.target), A(e, t, r);
|
|
5244
5244
|
}
|
|
5245
|
-
function
|
|
5246
|
-
for (let t of ad(e,
|
|
5245
|
+
function fe(e) {
|
|
5246
|
+
for (let t of ad(e, T ?? Xu.identifier)) E.delete(t);
|
|
5247
5247
|
}
|
|
5248
|
-
function
|
|
5249
|
-
|
|
5248
|
+
function pe() {
|
|
5249
|
+
E.size || (w = null, m = !1);
|
|
5250
5250
|
}
|
|
5251
|
-
function
|
|
5252
|
-
if (
|
|
5251
|
+
function me(e) {
|
|
5252
|
+
if (w === "pointer") return;
|
|
5253
5253
|
let t = Zu(e.changedTouches, e.touches);
|
|
5254
|
-
for (let n of ad(e, t.identifier))
|
|
5255
|
-
if (
|
|
5256
|
-
|
|
5254
|
+
for (let n of ad(e, t.identifier)) E.add(n);
|
|
5255
|
+
if (w === null) {
|
|
5256
|
+
w = "touch", E.size <= 1 ? (T = t.identifier, oe(e, e.touches, e.changedTouches, t)) : (T = null, f = t.clientX, p = t.clientY, m = !0, de("touchstart", e));
|
|
5257
5257
|
return;
|
|
5258
5258
|
}
|
|
5259
5259
|
let n = x;
|
|
5260
|
-
|
|
5260
|
+
de("touchstart", e), n === x && T !== null && (E.size > 1 || t.identifier !== T) && re();
|
|
5261
5261
|
}
|
|
5262
|
-
function
|
|
5263
|
-
if (
|
|
5264
|
-
let r = od(
|
|
5265
|
-
|
|
5262
|
+
function he(n) {
|
|
5263
|
+
if (w === "pointer") return;
|
|
5264
|
+
let r = od(T, n.touches, n.changedTouches) || Zu(n.touches, n.changedTouches), i = (typeof s == "function" ? s() : s) || qu(e, "touchmove") && (!m || ld(n, r, t, f, p));
|
|
5265
|
+
w !== "touch" || T === null ? (f = r.clientX, p = r.clientY, m = !0, de("touchmove", n)) : ce(n, n.touches, n.changedTouches, r), i && n.cancelable && n.preventDefault();
|
|
5266
5266
|
}
|
|
5267
|
-
function
|
|
5268
|
-
if (
|
|
5269
|
-
let t = od(
|
|
5270
|
-
|
|
5267
|
+
function ge(e) {
|
|
5268
|
+
if (w === "pointer") return;
|
|
5269
|
+
let t = od(T, e.changedTouches), n = T !== null && !e.changedTouches?.length && !e.touches?.length;
|
|
5270
|
+
fe(e), T === null || !t && !n ? (pe(), de("touchend", e), nd(e, () => {})) : (T = null, pe(), le(e, e.touches, e.changedTouches, t || Xu, t)), je(e);
|
|
5271
5271
|
}
|
|
5272
|
-
function
|
|
5273
|
-
if (
|
|
5274
|
-
let t = od(
|
|
5275
|
-
|
|
5272
|
+
function _e(e) {
|
|
5273
|
+
if (w === "pointer") return;
|
|
5274
|
+
let t = od(T, e.changedTouches), n = T !== null && !e.changedTouches?.length && !e.touches?.length;
|
|
5275
|
+
fe(e), T === null || !t && !n ? (pe(), de("touchcancel", e)) : (T = null, pe(), x += 1, ue(e, e.touches, e.changedTouches, t || Xu)), je(e);
|
|
5276
5276
|
}
|
|
5277
|
-
function
|
|
5278
|
-
D = null, te = null,
|
|
5277
|
+
function ve() {
|
|
5278
|
+
D = null, te = null, w === "pointer" && (w = null), document.removeEventListener("pointermove", be), document.removeEventListener("pointerup", Se), document.removeEventListener("pointercancel", Ce), window.removeEventListener("blur", xe);
|
|
5279
5279
|
}
|
|
5280
|
-
function
|
|
5281
|
-
if (e.pointerType === "touch" || (e.button ?? 0) !== 0 ||
|
|
5282
|
-
|
|
5280
|
+
function ye(e) {
|
|
5281
|
+
if (e.pointerType === "touch" || (e.button ?? 0) !== 0 || w !== null) return;
|
|
5282
|
+
w = "pointer", D = e.pointerId;
|
|
5283
5283
|
let t = ud(e);
|
|
5284
|
-
te = t, document.addEventListener("pointermove", be), document.addEventListener("pointerup", Se), document.addEventListener("pointercancel", Ce), window.addEventListener("blur", xe),
|
|
5284
|
+
te = t, document.addEventListener("pointermove", be), document.addEventListener("pointerup", Se), document.addEventListener("pointercancel", Ce), window.addEventListener("blur", xe), oe(e, [t], [t], t);
|
|
5285
5285
|
}
|
|
5286
5286
|
function be(e) {
|
|
5287
5287
|
if (D === null || e.pointerId !== D) return;
|
|
5288
5288
|
let t = ud(e);
|
|
5289
|
-
te = t,
|
|
5289
|
+
te = t, ce(e, [t], [t], t);
|
|
5290
5290
|
}
|
|
5291
5291
|
function xe(e) {
|
|
5292
5292
|
if (D === null) return;
|
|
5293
5293
|
let t = te || Xu;
|
|
5294
|
-
|
|
5294
|
+
ve(), x += 1, ue(e, [], [t], t), je(e);
|
|
5295
5295
|
}
|
|
5296
5296
|
function Se(e) {
|
|
5297
5297
|
if (D === null || e.pointerId !== D) return;
|
|
5298
5298
|
let t = ud(e);
|
|
5299
|
-
|
|
5299
|
+
ve(), le(e, [], [t], t, t), je(e);
|
|
5300
5300
|
}
|
|
5301
5301
|
function Ce(e) {
|
|
5302
5302
|
if (D === null || e.pointerId !== D) return;
|
|
5303
5303
|
let t = ud(e);
|
|
5304
|
-
|
|
5304
|
+
ve(), x += 1, ue(e, [], [t], t), je(e);
|
|
5305
5305
|
}
|
|
5306
5306
|
function we(e) {
|
|
5307
5307
|
if (e.detail > 0) return;
|
|
5308
5308
|
let t = ud(e), n = O([t]);
|
|
5309
|
-
|
|
5309
|
+
A("tap", e, {
|
|
5310
5310
|
target: e.target,
|
|
5311
5311
|
touches: n,
|
|
5312
5312
|
changedTouches: n,
|
|
@@ -5316,7 +5316,7 @@ function dd(e, t, n = {}) {
|
|
|
5316
5316
|
}
|
|
5317
5317
|
function Te(e) {
|
|
5318
5318
|
let { sourceEvent: t } = e.detail || {};
|
|
5319
|
-
|
|
5319
|
+
A("tap", e, {
|
|
5320
5320
|
target: e.target,
|
|
5321
5321
|
touches: O(t?.touches),
|
|
5322
5322
|
changedTouches: O(t?.changedTouches),
|
|
@@ -5327,18 +5327,18 @@ function dd(e, t, n = {}) {
|
|
|
5327
5327
|
});
|
|
5328
5328
|
}
|
|
5329
5329
|
let Ee = qu(e, "touchmove"), De = typeof s == "function" ? s() : s, Oe = qu(e, "touchend"), ke = qu(e, "touchcancel");
|
|
5330
|
-
t.addEventListener("touchstart",
|
|
5330
|
+
t.addEventListener("touchstart", me, { passive: !0 }), t.addEventListener("touchmove", he, { passive: !Ee && !De }), t.addEventListener("touchend", ge, { passive: !Oe }), t.addEventListener("touchcancel", _e, { passive: !ke }), t.addEventListener("pointerdown", ye), t.addEventListener("click", we), t.addEventListener($u, Te);
|
|
5331
5331
|
function Ae() {
|
|
5332
|
-
if (S) for (S = !1, C = !1, x += 1,
|
|
5332
|
+
if (S) for (S = !1, C = !1, x += 1, re(), T = null, w = null, E.clear(), ve(), t.__ddGestureDetach === Me && delete t.__ddGestureDetach, t.removeEventListener("touchstart", me, { passive: !0 }), t.removeEventListener("touchmove", he, { passive: !Ee && !De }), t.removeEventListener("touchend", ge, { passive: !Oe }), t.removeEventListener("touchcancel", _e, { passive: !ke }), t.removeEventListener("pointerdown", ye), t.removeEventListener("click", we), t.removeEventListener($u, Te); ee.length;) ee.shift()();
|
|
5333
5333
|
}
|
|
5334
5334
|
function je(e) {
|
|
5335
|
-
if (C &&
|
|
5335
|
+
if (C && w === null) {
|
|
5336
5336
|
if (!e) {
|
|
5337
5337
|
Ae();
|
|
5338
5338
|
return;
|
|
5339
5339
|
}
|
|
5340
5340
|
nd(e, () => {
|
|
5341
|
-
C &&
|
|
5341
|
+
C && w === null && Ae();
|
|
5342
5342
|
});
|
|
5343
5343
|
}
|
|
5344
5344
|
}
|
|
@@ -5347,8 +5347,8 @@ function dd(e, t, n = {}) {
|
|
|
5347
5347
|
n?.();
|
|
5348
5348
|
return;
|
|
5349
5349
|
}
|
|
5350
|
-
if (e &&
|
|
5351
|
-
C = !0, t &&
|
|
5350
|
+
if (e && w !== null) {
|
|
5351
|
+
C = !0, t && re(), n && ee.push(n);
|
|
5352
5352
|
return;
|
|
5353
5353
|
}
|
|
5354
5354
|
Ae(), n?.();
|
|
@@ -5945,7 +5945,7 @@ var Zd = ["id"], Qd = {
|
|
|
5945
5945
|
l = requestAnimationFrame(C);
|
|
5946
5946
|
}
|
|
5947
5947
|
}
|
|
5948
|
-
async function
|
|
5948
|
+
async function ee() {
|
|
5949
5949
|
S();
|
|
5950
5950
|
let e = p;
|
|
5951
5951
|
if (!navigator.mediaDevices?.getUserMedia || !r.value) {
|
|
@@ -5972,7 +5972,7 @@ var Zd = ["id"], Qd = {
|
|
|
5972
5972
|
}
|
|
5973
5973
|
return Oa(() => {
|
|
5974
5974
|
if (vu) {
|
|
5975
|
-
|
|
5975
|
+
ee();
|
|
5976
5976
|
return;
|
|
5977
5977
|
}
|
|
5978
5978
|
if (a.value) {
|
|
@@ -5992,7 +5992,7 @@ var Zd = ["id"], Qd = {
|
|
|
5992
5992
|
});
|
|
5993
5993
|
}
|
|
5994
5994
|
}), H(() => g(), () => _("propsUpdate"), { deep: !0 }), H(() => [t.mode, t.devicePosition], () => {
|
|
5995
|
-
vu &&
|
|
5995
|
+
vu && ee();
|
|
5996
5996
|
}), ja(() => {
|
|
5997
5997
|
S(), u && cancelAnimationFrame(u), c?.disconnect(), window.removeEventListener("resize", b), window.removeEventListener("scroll", b, !0), _("componentUnmount"), f = !1, o.splice(0).forEach((e) => e());
|
|
5998
5998
|
}), (t, i) => (W(), G("div", q({
|
|
@@ -7550,12 +7550,12 @@ var qf = [
|
|
|
7550
7550
|
}, y = {
|
|
7551
7551
|
width: 0,
|
|
7552
7552
|
height: 0
|
|
7553
|
-
}, b = null, x = 0, S = 1, C = 0,
|
|
7553
|
+
}, b = null, x = 0, S = 1, C = 0, ee = 0, w = 0, T = 0, E = 0, D = null, te;
|
|
7554
7554
|
Oa(() => {
|
|
7555
7555
|
te = a?.({
|
|
7556
|
-
start:
|
|
7557
|
-
move:
|
|
7558
|
-
end:
|
|
7556
|
+
start: k,
|
|
7557
|
+
move: A,
|
|
7558
|
+
end: re
|
|
7559
7559
|
}), D = new ResizeObserver(() => {
|
|
7560
7560
|
requestAnimationFrame(() => {
|
|
7561
7561
|
ne();
|
|
@@ -7585,7 +7585,7 @@ var qf = [
|
|
|
7585
7585
|
y: r
|
|
7586
7586
|
};
|
|
7587
7587
|
}
|
|
7588
|
-
function
|
|
7588
|
+
function k(e) {
|
|
7589
7589
|
if (n.disabled) {
|
|
7590
7590
|
Z("touchstart", {
|
|
7591
7591
|
event: e,
|
|
@@ -7603,12 +7603,12 @@ var qf = [
|
|
|
7603
7603
|
}
|
|
7604
7604
|
h = !0;
|
|
7605
7605
|
let t = e.touches ? e.touches[0] : e;
|
|
7606
|
-
c = t.clientX - d.value, l = t.clientY - f.value, C = t.clientX,
|
|
7606
|
+
c = t.clientX - d.value, l = t.clientY - f.value, C = t.clientX, ee = t.clientY, w = e.timeStamp || performance.now(), T = 0, E = 0, Z("touchstart", {
|
|
7607
7607
|
event: e,
|
|
7608
7608
|
info: i
|
|
7609
7609
|
});
|
|
7610
7610
|
}
|
|
7611
|
-
function
|
|
7611
|
+
function A(e) {
|
|
7612
7612
|
if (g && e.touches?.length >= 2) {
|
|
7613
7613
|
e.cancelable && e.preventDefault();
|
|
7614
7614
|
let [t, r] = e.touches, a = Math.hypot(r.clientX - t.clientX, r.clientY - t.clientY), o = Math.min(Math.max(S * a / Math.max(x, 1), n.scaleMin, .5), n.scaleMax, 10);
|
|
@@ -7631,8 +7631,8 @@ var qf = [
|
|
|
7631
7631
|
return;
|
|
7632
7632
|
}
|
|
7633
7633
|
e.stopPropagation(), b && cancelAnimationFrame(b), b = requestAnimationFrame(() => {
|
|
7634
|
-
let t = e.touches ? e.touches[0].clientX : e.clientX, a = e.touches ? e.touches[0].clientY : e.clientY, o = e.timeStamp || performance.now(), s = Math.max(o -
|
|
7635
|
-
|
|
7634
|
+
let t = e.touches ? e.touches[0].clientX : e.clientX, a = e.touches ? e.touches[0].clientY : e.clientY, o = e.timeStamp || performance.now(), s = Math.max(o - w, 1);
|
|
7635
|
+
T = (t - C) / s, E = (a - ee) / s, C = t, ee = a, w = o;
|
|
7636
7636
|
let u = t - c, p = a - l, m = O(u, p), h = (e, t) => t + (e - t) / Math.max(n.damping / 5, 1), g = n.outOfBounds && m.x !== u ? h(u, m.x) : m.x, v = n.outOfBounds && m.y !== p ? h(p, m.y) : m.y;
|
|
7637
7637
|
_ = !0, n.direction === "horizontal" ? (d.value = g, r("update:x", g)) : n.direction === "vertical" ? (f.value = v, r("update:y", v)) : n.direction === "all" && (d.value = g, f.value = v, r("update:x", g), r("update:y", v)), n.direction !== "none" && Z("change", {
|
|
7638
7638
|
event: e,
|
|
@@ -7645,7 +7645,7 @@ var qf = [
|
|
|
7645
7645
|
});
|
|
7646
7646
|
});
|
|
7647
7647
|
}
|
|
7648
|
-
function
|
|
7648
|
+
function re(e) {
|
|
7649
7649
|
if (n.disabled) {
|
|
7650
7650
|
Z("touchend", {
|
|
7651
7651
|
event: e,
|
|
@@ -7664,7 +7664,7 @@ var qf = [
|
|
|
7664
7664
|
h = !1, _ = !1;
|
|
7665
7665
|
let t = O(d.value, f.value), a = t.x, o = t.y, s = t.x !== d.value || t.y !== f.value ? "out-of-bounds" : "";
|
|
7666
7666
|
if (!s && n.inertia) {
|
|
7667
|
-
let e = 180 / Math.max(n.friction, .01), t = O(d.value +
|
|
7667
|
+
let e = 180 / Math.max(n.friction, .01), t = O(d.value + T * e, f.value + E * e);
|
|
7668
7668
|
a = t.x, o = t.y, s = a !== d.value || o !== f.value ? "friction" : "";
|
|
7669
7669
|
}
|
|
7670
7670
|
m.value = n.animation && s ? `${Math.max(120, 600 / Math.max(n.damping / 10, 1))}ms` : "0s", s && (d.value = a, f.value = o, r("update:x", a), r("update:y", o), Z("change", {
|
|
@@ -7697,14 +7697,14 @@ var qf = [
|
|
|
7697
7697
|
class: ["dd-movable-view", [`direction-${e.direction}`]],
|
|
7698
7698
|
"aria-dropeffect": "move",
|
|
7699
7699
|
"aria-label": "可移动",
|
|
7700
|
-
onTouchstart:
|
|
7701
|
-
onTouchmove:
|
|
7702
|
-
onTouchend:
|
|
7703
|
-
onTouchcancel:
|
|
7704
|
-
onMousedown:
|
|
7705
|
-
onMousemove:
|
|
7706
|
-
onMouseup:
|
|
7707
|
-
onMouseleave:
|
|
7700
|
+
onTouchstart: k,
|
|
7701
|
+
onTouchmove: A,
|
|
7702
|
+
onTouchend: re,
|
|
7703
|
+
onTouchcancel: re,
|
|
7704
|
+
onMousedown: k,
|
|
7705
|
+
onMousemove: A,
|
|
7706
|
+
onMouseup: re,
|
|
7707
|
+
onMouseleave: re
|
|
7708
7708
|
}), [K("div", {
|
|
7709
7709
|
ref_key: "movableViewContent",
|
|
7710
7710
|
ref: s,
|
|
@@ -8441,19 +8441,19 @@ var qf = [
|
|
|
8441
8441
|
if (e === 2 && t[2]) return h.value[2].indexOf(t[2]);
|
|
8442
8442
|
}
|
|
8443
8443
|
return 0;
|
|
8444
|
-
},
|
|
8444
|
+
}, ee = (e, n, r) => {
|
|
8445
8445
|
let a = i.value.split("-");
|
|
8446
8446
|
n === 0 ? a[0] = h.value[0][r] : n === 1 ? a[1] = h.value[1][r] : n === 2 && (a[2] = h.value[2][r]), t.fields === "year" ? i.value = a[0] : t.fields === "month" ? i.value = `${a[0]}-${a[1]}` : i.value = a.join("-");
|
|
8447
|
-
},
|
|
8448
|
-
function
|
|
8447
|
+
}, w = /* @__PURE__ */ R(null);
|
|
8448
|
+
function T({ event: e }) {
|
|
8449
8449
|
t.disabled || (Z("tap", {
|
|
8450
8450
|
event: e,
|
|
8451
8451
|
info: c
|
|
8452
8452
|
}), o());
|
|
8453
8453
|
}
|
|
8454
|
-
return Ed(c,
|
|
8454
|
+
return Ed(c, w, { tapHandler: T }), (t, r) => (W(), G(Xs, null, [K("div", q({
|
|
8455
8455
|
ref_key: "rootRef",
|
|
8456
|
-
ref:
|
|
8456
|
+
ref: w
|
|
8457
8457
|
}, t.$attrs, { class: "dd-picker" }), [U(t.$slots, "default")], 16), z(n) ? (W(), G("div", {
|
|
8458
8458
|
key: 0,
|
|
8459
8459
|
class: "dd-picker-overlay",
|
|
@@ -8498,7 +8498,7 @@ var qf = [
|
|
|
8498
8498
|
key: t,
|
|
8499
8499
|
options: e,
|
|
8500
8500
|
value: C(t),
|
|
8501
|
-
onChange: (e, n) =>
|
|
8501
|
+
onChange: (e, n) => ee(e, t, n)
|
|
8502
8502
|
}, null, 8, [
|
|
8503
8503
|
"options",
|
|
8504
8504
|
"value",
|
|
@@ -8521,40 +8521,47 @@ var qf = [
|
|
|
8521
8521
|
autoFill: { type: String }
|
|
8522
8522
|
},
|
|
8523
8523
|
setup(e) {
|
|
8524
|
-
let t = e, n = -1, r = /* @__PURE__ */ R(null), i = /* @__PURE__ */ R([...t.value || []]);
|
|
8525
|
-
|
|
8524
|
+
let t = e, n = -1, r = /* @__PURE__ */ R(null), i = /* @__PURE__ */ R(0), a = /* @__PURE__ */ R(0), o = /* @__PURE__ */ R([...t.value || []]), s;
|
|
8525
|
+
function c() {
|
|
8526
|
+
i.value = r.value?.offsetHeight || 0, a.value++;
|
|
8527
|
+
}
|
|
8528
|
+
Vi("getPickerHeight", () => i.value), Vi("pickerHeight", i), Vi("pickerLayoutVersion", a), Vi("pickerItemStyle", J(() => ({
|
|
8526
8529
|
indicatorStyle: t.indicatorStyle,
|
|
8527
8530
|
indicatorClass: t.indicatorClass,
|
|
8528
8531
|
maskStyle: t.maskStyle,
|
|
8529
8532
|
maskClass: t.maskClass
|
|
8530
|
-
}))), Vi("itemValue",
|
|
8531
|
-
|
|
8533
|
+
}))), Vi("itemValue", o), Vi("pickerImmediateChange", J(() => t.immediateChange)), Vi("getItemIndex", () => ++n), Vi("setPickerValue", (e, t) => {
|
|
8534
|
+
o.value[e] = t;
|
|
8532
8535
|
}), H(() => t.value, (e = []) => {
|
|
8533
|
-
|
|
8536
|
+
o.value = [...e];
|
|
8534
8537
|
}, { deep: !0 });
|
|
8535
|
-
let
|
|
8538
|
+
let l = X();
|
|
8536
8539
|
Vi("pickerEvent", (e, t) => {
|
|
8537
|
-
let n = e === "change" ? { value: [...
|
|
8540
|
+
let n = e === "change" ? { value: [...o.value] } : {};
|
|
8538
8541
|
Z(e, {
|
|
8539
8542
|
event: t,
|
|
8540
|
-
info:
|
|
8543
|
+
info: l,
|
|
8541
8544
|
currentTarget: r.value,
|
|
8542
8545
|
detail: n
|
|
8543
8546
|
});
|
|
8544
8547
|
});
|
|
8545
|
-
let
|
|
8546
|
-
H(
|
|
8548
|
+
let u = V("collectFormValue", void 0), d = V("registerFormControl", void 0);
|
|
8549
|
+
H(o, (e) => u?.(t.name, [...e]), {
|
|
8547
8550
|
deep: !0,
|
|
8548
8551
|
immediate: !0
|
|
8549
8552
|
});
|
|
8550
|
-
let
|
|
8553
|
+
let f = d?.({
|
|
8551
8554
|
getName: () => t.name,
|
|
8552
|
-
getValue: () => [...
|
|
8555
|
+
getValue: () => [...o.value],
|
|
8553
8556
|
reset: () => {
|
|
8554
|
-
|
|
8557
|
+
o.value = [...t.value || []];
|
|
8555
8558
|
}
|
|
8556
8559
|
});
|
|
8557
|
-
return
|
|
8560
|
+
return Oa(() => {
|
|
8561
|
+
c(), document.addEventListener("pageReRender", c), window.ResizeObserver && r.value && (s = new ResizeObserver(c), s.observe(r.value));
|
|
8562
|
+
}), ja(() => {
|
|
8563
|
+
s?.disconnect(), document.removeEventListener("pageReRender", c), f?.();
|
|
8564
|
+
}), (e, t) => (W(), G("div", q({
|
|
8558
8565
|
ref_key: "pickerView",
|
|
8559
8566
|
ref: r
|
|
8560
8567
|
}, e.$attrs, { class: "dd-picker-view" }), [U(e.$slots, "default")], 16));
|
|
@@ -8565,59 +8572,70 @@ var qf = [
|
|
|
8565
8572
|
}, Zp = {
|
|
8566
8573
|
__name: "PickerViewColumn",
|
|
8567
8574
|
setup(e) {
|
|
8568
|
-
let t = /* @__PURE__ */ R(null), n = /* @__PURE__ */ R(null), r = /* @__PURE__ */ R(null), i = /* @__PURE__ */ R(0), a = /* @__PURE__ */ R("0.2s"), o = V("pickerItemStyle", J(() => ({}))), s = V("pickerEvent", void 0), c = V("pickerImmediateChange", J(() => !1)), l = V("getPickerHeight", () => 0), u = V("getItemIndex", () => 0)(),
|
|
8569
|
-
d?.(u, C.value);
|
|
8570
|
-
function E(e) {
|
|
8571
|
-
ne(), s?.("pickstart", e), g = !0, a.value = "0s", _ = e.touches ? e.touches[0].clientY : e.clientY, w = t.value.offsetHeight, y = C.value, b = !1, x = 0, v = -C.value * w;
|
|
8572
|
-
}
|
|
8575
|
+
let t = /* @__PURE__ */ R(null), n = /* @__PURE__ */ R(null), r = /* @__PURE__ */ R(null), i = /* @__PURE__ */ R(0), a = /* @__PURE__ */ R("0.2s"), o = V("pickerItemStyle", J(() => ({}))), s = V("pickerEvent", void 0), c = V("pickerImmediateChange", J(() => !1)), l = V("getPickerHeight", () => 0), u = V("pickerLayoutVersion", /* @__PURE__ */ R(0)), d = V("getItemIndex", () => 0)(), f = V("setPickerValue", void 0), p = V("itemValue", /* @__PURE__ */ R(Array.from({ length: d }).fill(0))), m = J(() => o.value.indicatorClass), h = J(() => o.value.maskClass), g = /* @__PURE__ */ R("34px"), _ = !1, v = 0, y = 0, b = 0, x = !1, S = 0, C = -1;
|
|
8573
8576
|
function ee(e) {
|
|
8574
|
-
|
|
8577
|
+
let t = Math.max(Number(e) || 0, 0);
|
|
8578
|
+
return C < 0 ? t : Math.min(t, C);
|
|
8575
8579
|
}
|
|
8580
|
+
let w = /* @__PURE__ */ R(ee(p.value[d])), T = 0, E;
|
|
8576
8581
|
function D(e) {
|
|
8577
|
-
|
|
8578
|
-
for (; t && t.parentElement !== r.value;) t = t.parentElement;
|
|
8579
|
-
return !t || t.parentElement !== r.value ? -1 : Array.from(r.value.children).indexOf(t);
|
|
8582
|
+
k(), s?.("pickstart", e), _ = !0, a.value = "0s", v = e.touches ? e.touches[0].clientY : e.clientY, T = t.value.offsetHeight, b = w.value, x = !1, S = 0, y = -w.value * T;
|
|
8580
8583
|
}
|
|
8581
8584
|
function te(e) {
|
|
8582
|
-
|
|
8583
|
-
g = !1, a.value = "0.2s", S = Math.max((r.value?.children.length || 1) - 1, 0);
|
|
8584
|
-
let t = Math.abs(x) < 3 ? D(e) : -1;
|
|
8585
|
-
t >= 0 ? (C.value = t, i.value = -C.value * w) : v < 0 ? (C.value = Math.min(S, Math.abs(Math.round(v / w))), i.value = -C.value * w) : (C.value = 0, i.value = 0), d?.(u, C.value), b = C.value !== y, c.value && b && s?.("change", e), T = e, (a.value === "0s" || v === -C.value * w) && ne();
|
|
8585
|
+
_ && (S = (e.touches ? e.touches[0].clientY : e.clientY) - v, y = S - w.value * T, i.value = y);
|
|
8586
8586
|
}
|
|
8587
|
-
function ne() {
|
|
8588
|
-
|
|
8589
|
-
|
|
8590
|
-
|
|
8587
|
+
function ne(e) {
|
|
8588
|
+
let t = e.target;
|
|
8589
|
+
for (; t && t.parentElement !== r.value;) t = t.parentElement;
|
|
8590
|
+
return !t || t.parentElement !== r.value ? -1 : Array.from(r.value.children).indexOf(t);
|
|
8591
8591
|
}
|
|
8592
|
-
|
|
8593
|
-
|
|
8594
|
-
|
|
8592
|
+
function O(e) {
|
|
8593
|
+
if (!_) return;
|
|
8594
|
+
_ = !1, a.value = "0.2s", C = Math.max((r.value?.children.length || 1) - 1, 0);
|
|
8595
|
+
let t = Math.abs(S) < 3 ? ne(e) : -1;
|
|
8596
|
+
t >= 0 ? (w.value = t, i.value = -w.value * T) : y < 0 ? (w.value = Math.min(C, Math.abs(Math.round(y / T))), i.value = -w.value * T) : (w.value = 0, i.value = 0), f?.(d, w.value), x = w.value !== b, c.value && x && s?.("change", e), E = e, (a.value === "0s" || y === -w.value * T) && k();
|
|
8597
|
+
}
|
|
8598
|
+
function k() {
|
|
8599
|
+
if (!E) return;
|
|
8600
|
+
let e = E;
|
|
8601
|
+
E = void 0, !c.value && x && s?.("change", e), x = !1, s?.("pickend", e);
|
|
8602
|
+
}
|
|
8603
|
+
H(() => p.value[d], (e) => {
|
|
8604
|
+
let t = ee(e);
|
|
8605
|
+
w.value = t, i.value = -t * T;
|
|
8595
8606
|
});
|
|
8596
|
-
function
|
|
8597
|
-
if (!t.value || !n.value || !r.value || !
|
|
8598
|
-
let e =
|
|
8599
|
-
|
|
8600
|
-
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
|
|
8607
|
+
function A() {
|
|
8608
|
+
if (!t.value || !n.value || !r.value || !T) return;
|
|
8609
|
+
let e = l();
|
|
8610
|
+
if (e <= 0) return;
|
|
8611
|
+
let i = (e - T) / 2;
|
|
8612
|
+
t.value.style.cssText = o.value.indicatorStyle || "", t.value.style.height = `${T}px`, t.value.style.top = `${i}px`, n.value.style.cssText = o.value.maskStyle || "", n.value.style.backgroundSize = `100% ${i}px`, Array.from(r.value.children).forEach((e) => {
|
|
8613
|
+
e.style.height = `${T}px`;
|
|
8614
|
+
}), r.value.style.paddingTop = `${i}px`;
|
|
8615
|
+
}
|
|
8616
|
+
function re() {
|
|
8617
|
+
if (!t.value || !r.value) return;
|
|
8618
|
+
let e = t.value.offsetHeight;
|
|
8619
|
+
e > 0 && (T = e), C = Math.max(r.value.children.length - 1, 0), w.value = ee(p.value[d]), f?.(d, w.value), A(), i.value = -w.value * T;
|
|
8620
|
+
}
|
|
8621
|
+
return H(o, () => A(), { deep: !0 }), H(u, () => re()), Oa(async () => {
|
|
8604
8622
|
await Xr(), t.value.style.cssText = o.value.indicatorStyle || "";
|
|
8605
8623
|
let e = r.value.firstElementChild;
|
|
8606
8624
|
if (e) {
|
|
8607
8625
|
let n = window.getComputedStyle(e), r = Number.parseFloat(n.lineHeight), i = Number.parseFloat(n.fontSize) || 16;
|
|
8608
|
-
|
|
8626
|
+
g.value = `${Number.isFinite(r) ? r : i * 1.2}px`, t.value.style.height = g.value;
|
|
8609
8627
|
}
|
|
8610
|
-
|
|
8628
|
+
T = t.value.offsetHeight || Number.parseFloat(g.value) || 34, re(), a.value = "0s";
|
|
8611
8629
|
}), (e, o) => (W(), G("div", q(e.$attrs, { class: "dd-picker-view-column" }), [K("div", Xp, [
|
|
8612
8630
|
K("div", {
|
|
8613
8631
|
ref_key: "maskRef",
|
|
8614
8632
|
ref: n,
|
|
8615
|
-
class: bt(["dd-picker__mask", z(
|
|
8633
|
+
class: bt(["dd-picker__mask", z(h)])
|
|
8616
8634
|
}, null, 2),
|
|
8617
8635
|
K("div", {
|
|
8618
8636
|
ref_key: "indicatorRef",
|
|
8619
8637
|
ref: t,
|
|
8620
|
-
class: bt(["dd-picker__indicator", z(
|
|
8638
|
+
class: bt(["dd-picker__indicator", z(m)])
|
|
8621
8639
|
}, null, 2),
|
|
8622
8640
|
K("div", {
|
|
8623
8641
|
ref_key: "contentRef",
|
|
@@ -8627,15 +8645,15 @@ var qf = [
|
|
|
8627
8645
|
"--duration": z(a),
|
|
8628
8646
|
transform: `translateY(${z(i)}px)`
|
|
8629
8647
|
}),
|
|
8630
|
-
onTransitionend: Yl(
|
|
8631
|
-
onTouchstart:
|
|
8632
|
-
onTouchmove: Yl(
|
|
8633
|
-
onTouchend: Yl(
|
|
8634
|
-
onTouchcancel:
|
|
8635
|
-
onMousedown:
|
|
8636
|
-
onMousemove: Yl(
|
|
8637
|
-
onMouseup:
|
|
8638
|
-
onMouseleave:
|
|
8648
|
+
onTransitionend: Yl(k, ["self"]),
|
|
8649
|
+
onTouchstart: D,
|
|
8650
|
+
onTouchmove: Yl(te, ["prevent"]),
|
|
8651
|
+
onTouchend: Yl(O, ["prevent"]),
|
|
8652
|
+
onTouchcancel: O,
|
|
8653
|
+
onMousedown: D,
|
|
8654
|
+
onMousemove: Yl(te, ["prevent"]),
|
|
8655
|
+
onMouseup: O,
|
|
8656
|
+
onMouseleave: O
|
|
8639
8657
|
}, [U(e.$slots, "default")], 36)
|
|
8640
8658
|
])], 16));
|
|
8641
8659
|
}
|
|
@@ -9171,34 +9189,34 @@ function zh() {
|
|
|
9171
9189
|
e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
|
|
9172
9190
|
let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = rh(d, "cloneNode"), p = rh(d, "remove"), m = rh(d, "removeAttributeNode"), h = rh(d, "nextSibling"), g = rh(d, "childNodes"), _ = rh(d, "parentNode"), v = rh(d, "shadowRoot"), y = rh(d, "attributes"), b = o && o.prototype ? rh(o.prototype, "nodeType") : null, x = o && o.prototype ? rh(o.prototype, "nodeName") : null, S = o && o.prototype ? rh(o.prototype, "ownerDocument") : null, C = function(e) {
|
|
9173
9191
|
return b ? b(e) : e.nodeType;
|
|
9174
|
-
},
|
|
9192
|
+
}, ee = function(e) {
|
|
9175
9193
|
return x ? x(e) : e.nodeName;
|
|
9176
9194
|
};
|
|
9177
9195
|
if (typeof a == "function") {
|
|
9178
9196
|
let e = n.createElement("template");
|
|
9179
9197
|
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
9180
9198
|
}
|
|
9181
|
-
let
|
|
9199
|
+
let w, T = "", E, D = !1, te = 0, ne = function() {
|
|
9182
9200
|
if (te > 0) throw Zm("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
|
|
9183
9201
|
}, O = function(e) {
|
|
9184
9202
|
ne(), te++;
|
|
9185
9203
|
try {
|
|
9186
|
-
return
|
|
9204
|
+
return w.createHTML(e);
|
|
9187
9205
|
} finally {
|
|
9188
9206
|
te--;
|
|
9189
9207
|
}
|
|
9190
|
-
},
|
|
9208
|
+
}, k = function(e) {
|
|
9191
9209
|
ne(), te++;
|
|
9192
9210
|
try {
|
|
9193
|
-
return
|
|
9211
|
+
return w.createScriptURL(e);
|
|
9194
9212
|
} finally {
|
|
9195
9213
|
te--;
|
|
9196
9214
|
}
|
|
9197
|
-
},
|
|
9198
|
-
return D ||= (
|
|
9199
|
-
},
|
|
9200
|
-
t.isSupported = typeof xm == "function" && typeof _ == "function" &&
|
|
9201
|
-
let
|
|
9215
|
+
}, A = function() {
|
|
9216
|
+
return D ||= (E = Fh(u, i), !0), E;
|
|
9217
|
+
}, re = n, ie = re.implementation, ae = re.createNodeIterator, oe = re.createDocumentFragment, se = re.getElementsByTagName, ce = r.importNode, le = Ih();
|
|
9218
|
+
t.isSupported = typeof xm == "function" && typeof _ == "function" && ie && ie.createHTMLDocument !== void 0;
|
|
9219
|
+
let ue = gh, de = _h, fe = vh, pe = yh, me = bh, he = Sh, ge = Ch, _e = Th, ve = xh, ye = null, be = $({}, [
|
|
9202
9220
|
...ah,
|
|
9203
9221
|
...oh,
|
|
9204
9222
|
...sh,
|
|
@@ -9284,29 +9302,29 @@ function zh() {
|
|
|
9284
9302
|
}, dt = function() {
|
|
9285
9303
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
9286
9304
|
if (ct && ct === e) return;
|
|
9287
|
-
(!e || typeof e != "object") && (e = {}), e = th(e), at = ot.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, st = at === "application/xhtml+xml" ? zm : Rm,
|
|
9305
|
+
(!e || typeof e != "object") && (e = {}), e = th(e), at = ot.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, st = at === "application/xhtml+xml" ? zm : Rm, ye = Lh(e, "ALLOWED_TAGS", be, { transform: st }), xe = Lh(e, "ALLOWED_ATTR", Se, { transform: st }), Qe = Lh(e, "ALLOWED_NAMESPACES", $e, { transform: zm }), Ke = Lh(e, "ADD_URI_SAFE_ATTR", I, {
|
|
9288
9306
|
transform: st,
|
|
9289
9307
|
base: I
|
|
9290
9308
|
}), P = Lh(e, "ADD_DATA_URI_TAGS", F, {
|
|
9291
9309
|
transform: st,
|
|
9292
9310
|
base: F
|
|
9293
|
-
}), We = Lh(e, "FORBID_CONTENTS", Ge, { transform: st }), we = Lh(e, "FORBID_TAGS", th({}), { transform: st }), Te = Lh(e, "FORBID_ATTR", th({}), { transform: st }), Ue = Jm(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? th(e.USE_PROFILES) : e.USE_PROFILES : !1, De = e.ALLOW_ARIA_ATTR !== !1, Oe = e.ALLOW_DATA_ATTR !== !1, ke = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ae = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, je = e.SAFE_FOR_TEMPLATES || !1, Me = e.SAFE_FOR_XML !== !1, Ne = e.WHOLE_DOCUMENT || !1, Le = e.RETURN_DOM || !1, Re = e.RETURN_DOM_FRAGMENT || !1, ze = e.RETURN_TRUSTED_TYPE || !1, Ie = e.FORCE_BODY || !1, Be = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, M = e.KEEP_CONTENT !== !1, N = e.IN_PLACE || !1,
|
|
9311
|
+
}), We = Lh(e, "FORBID_CONTENTS", Ge, { transform: st }), we = Lh(e, "FORBID_TAGS", th({}), { transform: st }), Te = Lh(e, "FORBID_ATTR", th({}), { transform: st }), Ue = Jm(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? th(e.USE_PROFILES) : e.USE_PROFILES : !1, De = e.ALLOW_ARIA_ATTR !== !1, Oe = e.ALLOW_DATA_ATTR !== !1, ke = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ae = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, je = e.SAFE_FOR_TEMPLATES || !1, Me = e.SAFE_FOR_XML !== !1, Ne = e.WHOLE_DOCUMENT || !1, Le = e.RETURN_DOM || !1, Re = e.RETURN_DOM_FRAGMENT || !1, ze = e.RETURN_TRUSTED_TYPE || !1, Ie = e.FORCE_BODY || !1, Be = e.SANITIZE_DOM !== !1, Ve = e.SANITIZE_NAMED_PROPS || !1, M = e.KEEP_CONTENT !== !1, N = e.IN_PLACE || !1, ve = ih(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : xh, Xe = typeof e.NAMESPACE == "string" ? e.NAMESPACE : Ye, tt = Rh(e, "MATHML_TEXT_INTEGRATION_POINTS", () => $({}, et)), rt = Rh(e, "HTML_INTEGRATION_POINTS", () => $({}, nt));
|
|
9294
9312
|
let t = Rh(e, "CUSTOM_ELEMENT_HANDLING", () => Om(null));
|
|
9295
|
-
if (Ce = Om(null), Jm(t, "tagNameCheck") && ut(t.tagNameCheck) && (Ce.tagNameCheck = t.tagNameCheck), Jm(t, "attributeNameCheck") && ut(t.attributeNameCheck) && (Ce.attributeNameCheck = t.attributeNameCheck), Jm(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (Ce.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), Dm(Ce), je && (Oe = !1), Re && (Le = !0), Ue && (
|
|
9313
|
+
if (Ce = Om(null), Jm(t, "tagNameCheck") && ut(t.tagNameCheck) && (Ce.tagNameCheck = t.tagNameCheck), Jm(t, "attributeNameCheck") && ut(t.attributeNameCheck) && (Ce.attributeNameCheck = t.attributeNameCheck), Jm(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (Ce.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), Dm(Ce), je && (Oe = !1), Re && (Le = !0), Ue && (ye = $({}, dh), xe = Om(null), Ue.html === !0 && ($(ye, ah), $(xe, fh)), Ue.svg === !0 && ($(ye, oh), $(xe, ph), $(xe, hh)), Ue.svgFilters === !0 && ($(ye, sh), $(xe, ph), $(xe, hh)), Ue.mathMl === !0 && ($(ye, lh), $(xe, mh), $(xe, hh))), Ee.tagCheck = null, Ee.attributeCheck = null, Jm(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? Ee.tagCheck = e.ADD_TAGS : Lm(e.ADD_TAGS) && (ye === be && (ye = th(ye)), $(ye, e.ADD_TAGS, st))), Jm(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? Ee.attributeCheck = e.ADD_ATTR : Lm(e.ADD_ATTR) && (xe === Se && (xe = th(xe)), $(xe, e.ADD_ATTR, st))), Jm(e, "ADD_FORBID_CONTENTS") && Lm(e.ADD_FORBID_CONTENTS) && (We === Ge && (We = th(We)), $(We, e.ADD_FORBID_CONTENTS, st)), M && (ye["#text"] = !0), Ne && $(ye, [
|
|
9296
9314
|
"html",
|
|
9297
9315
|
"head",
|
|
9298
9316
|
"body"
|
|
9299
|
-
]),
|
|
9317
|
+
]), ye.table && ($(ye, ["tbody"]), delete we.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
9300
9318
|
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Zm("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
9301
9319
|
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Zm("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
9302
|
-
let t =
|
|
9303
|
-
|
|
9320
|
+
let t = w;
|
|
9321
|
+
w = e.TRUSTED_TYPES_POLICY;
|
|
9304
9322
|
try {
|
|
9305
|
-
|
|
9323
|
+
T = O("");
|
|
9306
9324
|
} catch (e) {
|
|
9307
|
-
throw
|
|
9325
|
+
throw w = t, e;
|
|
9308
9326
|
}
|
|
9309
|
-
} else e.TRUSTED_TYPES_POLICY === null ? (
|
|
9327
|
+
} else e.TRUSTED_TYPES_POLICY === null ? (w = void 0, T = "") : (w === void 0 && (w = A()), w && typeof T == "string" && (T = O("")));
|
|
9310
9328
|
Em && Em(e), ct = e;
|
|
9311
9329
|
}, ft = $({}, [
|
|
9312
9330
|
...oh,
|
|
@@ -9412,7 +9430,7 @@ function zh() {
|
|
|
9412
9430
|
continue;
|
|
9413
9431
|
}
|
|
9414
9432
|
if (n === Ah.element) {
|
|
9415
|
-
let t = e, n = st(
|
|
9433
|
+
let t = e, n = st(ee(e));
|
|
9416
9434
|
try {
|
|
9417
9435
|
t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && wt("for", n) && t.removeAttribute("for");
|
|
9418
9436
|
} catch {}
|
|
@@ -9428,26 +9446,26 @@ function zh() {
|
|
|
9428
9446
|
r = t && t[0];
|
|
9429
9447
|
}
|
|
9430
9448
|
at === "application/xhtml+xml" && Xe === Ye && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
9431
|
-
let i =
|
|
9449
|
+
let i = w ? O(e) : e;
|
|
9432
9450
|
if (Xe === Ye) try {
|
|
9433
9451
|
t = new l().parseFromString(i, at);
|
|
9434
9452
|
} catch {}
|
|
9435
9453
|
if (!t || !t.documentElement) {
|
|
9436
|
-
t =
|
|
9454
|
+
t = ie.createDocument(Xe, "template", null);
|
|
9437
9455
|
try {
|
|
9438
|
-
t.documentElement.innerHTML = Ze ?
|
|
9456
|
+
t.documentElement.innerHTML = Ze ? T : i;
|
|
9439
9457
|
} catch {}
|
|
9440
9458
|
}
|
|
9441
9459
|
let a = t.body || t.documentElement;
|
|
9442
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Xe === Ye ?
|
|
9460
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Xe === Ye ? se.call(t, Ne ? "html" : "body")[0] : Ne ? t.documentElement : a;
|
|
9443
9461
|
}, Dt = function(e) {
|
|
9444
9462
|
let t = S ? S(e) : e.ownerDocument;
|
|
9445
|
-
return
|
|
9463
|
+
return ae.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
|
|
9446
9464
|
}, Ot = function(e) {
|
|
9447
|
-
return e = Vm(e,
|
|
9465
|
+
return e = Vm(e, ue, " "), e = Vm(e, de, " "), e = Vm(e, fe, " "), e;
|
|
9448
9466
|
}, kt = function(e) {
|
|
9449
9467
|
e.normalize();
|
|
9450
|
-
let t = S ? S(e) : e.ownerDocument, n =
|
|
9468
|
+
let t = S ? S(e) : e.ownerDocument, n = ae.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
|
|
9451
9469
|
for (; r;) r.data = Ot(r.data), r = n.nextNode();
|
|
9452
9470
|
let i = e.querySelectorAll?.call(e, "template");
|
|
9453
9471
|
i && Mm(i, (e) => {
|
|
@@ -9498,28 +9516,28 @@ function zh() {
|
|
|
9498
9516
|
}, Rt = function(e, t) {
|
|
9499
9517
|
return e === t || _(e) !== null ? !1 : (N && Ct(e), !0);
|
|
9500
9518
|
}, zt = function(e, n) {
|
|
9501
|
-
if (Nt(
|
|
9519
|
+
if (Nt(le.beforeSanitizeElements, e, null), Rt(e, n)) return !0;
|
|
9502
9520
|
if (At(e)) return vt(e), !0;
|
|
9503
|
-
let r = st(
|
|
9504
|
-
if (
|
|
9521
|
+
let r = st(ee(e));
|
|
9522
|
+
if (ye = Lt(le.uponSanitizeElement, ye, be, j), Nt(le.uponSanitizeElement, e, {
|
|
9505
9523
|
tagName: r,
|
|
9506
|
-
allowedTags:
|
|
9524
|
+
allowedTags: ye
|
|
9507
9525
|
}), Rt(e, n)) return !0;
|
|
9508
9526
|
if (Pt(e, r)) return vt(e), !0;
|
|
9509
|
-
if (we[r] || !(Ee.tagCheck instanceof Function && Ee.tagCheck(r)) && !
|
|
9527
|
+
if (we[r] || !(Ee.tagCheck instanceof Function && Ee.tagCheck(r)) && !ye[r]) {
|
|
9510
9528
|
let t = It(e, r, n);
|
|
9511
|
-
return t === !1 && Nt(
|
|
9529
|
+
return t === !1 && Nt(le.afterSanitizeElements, e, null), t;
|
|
9512
9530
|
}
|
|
9513
9531
|
if (C(e) === Ah.element && !_t(e) || (r === "noscript" || r === "noembed" || r === "noframes") && Xm(Oh, e.innerHTML)) return vt(e), !0;
|
|
9514
9532
|
if (je && e.nodeType === Ah.text) {
|
|
9515
9533
|
let n = Ot(e.textContent);
|
|
9516
9534
|
e.textContent !== n && (Fm(t.removed, { element: e.cloneNode() }), e.textContent = n);
|
|
9517
9535
|
}
|
|
9518
|
-
return Nt(
|
|
9536
|
+
return Nt(le.afterSanitizeElements, e, null), !1;
|
|
9519
9537
|
}, Bt = function(e, t, r) {
|
|
9520
9538
|
if (Te[t] || wt(t, e) || Be && (t === "id" || t === "name") && (r in n || r in lt)) return !1;
|
|
9521
9539
|
let i = xe[t] || Ee.attributeCheck instanceof Function && Ee.attributeCheck(t, e);
|
|
9522
|
-
return Oe && Xm(
|
|
9540
|
+
return Oe && Xm(pe, t) || De && Xm(me, t) ? !0 : i ? Ke[t] || Xm(ve, Vm(r, ge, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Hm(r, "data:") === 0 && P[e] || ke && !Xm(he, Vm(r, ge, "")) ? !0 : !r : Ht(e) && Ft(Ce.tagNameCheck, e) && Ft(Ce.attributeNameCheck, t, e) || t === "is" && Ce.allowCustomizedBuiltInElements && Ft(Ce.tagNameCheck, r);
|
|
9523
9541
|
}, Vt = $({}, [
|
|
9524
9542
|
"annotation-xml",
|
|
9525
9543
|
"color-profile",
|
|
@@ -9530,11 +9548,11 @@ function zh() {
|
|
|
9530
9548
|
"font-face-uri",
|
|
9531
9549
|
"missing-glyph"
|
|
9532
9550
|
]), Ht = function(e) {
|
|
9533
|
-
return !Vt[Rm(e)] && Xm(
|
|
9551
|
+
return !Vt[Rm(e)] && Xm(_e, e);
|
|
9534
9552
|
}, Ut = function(e, t, n, r) {
|
|
9535
|
-
if (
|
|
9553
|
+
if (w && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
|
|
9536
9554
|
case "TrustedHTML": return O(r);
|
|
9537
|
-
case "TrustedScriptURL": return
|
|
9555
|
+
case "TrustedScriptURL": return k(r);
|
|
9538
9556
|
}
|
|
9539
9557
|
return r;
|
|
9540
9558
|
}, Wt = function(e, t, n, r) {
|
|
@@ -9544,10 +9562,10 @@ function zh() {
|
|
|
9544
9562
|
return xt(t, e), !1;
|
|
9545
9563
|
}
|
|
9546
9564
|
}, Gt = function(e) {
|
|
9547
|
-
Nt(
|
|
9565
|
+
Nt(le.beforeSanitizeAttributes, e, null);
|
|
9548
9566
|
let n = e.attributes;
|
|
9549
9567
|
if (!n || At(e)) return;
|
|
9550
|
-
xe = Lt(
|
|
9568
|
+
xe = Lt(le.uponSanitizeAttribute, xe, Se, Fe);
|
|
9551
9569
|
let r = {
|
|
9552
9570
|
attrName: "",
|
|
9553
9571
|
attrValue: "",
|
|
@@ -9557,7 +9575,7 @@ function zh() {
|
|
|
9557
9575
|
}, i = n.length, a = st(e.nodeName);
|
|
9558
9576
|
for (; i--;) {
|
|
9559
9577
|
let o = n[i], s = o.name, c = o.namespaceURI, l = o.value, u = st(s), d = l, f = s === "value" ? d : Um(d), p = !1;
|
|
9560
|
-
if (r.attrName = u, r.attrValue = f, r.keepAttr = !0, r.forceKeepAttr = void 0, Nt(
|
|
9578
|
+
if (r.attrName = u, r.attrValue = f, r.keepAttr = !0, r.forceKeepAttr = void 0, Nt(le.uponSanitizeAttribute, e, r), f = r.attrValue, Ve && (u === "id" || u === "name") && Hm(f, He) !== 0 && (xt(s, e, o), f = He + f, p = !0), Me && Xm(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
|
|
9561
9579
|
xt(s, e, o);
|
|
9562
9580
|
continue;
|
|
9563
9581
|
}
|
|
@@ -9581,14 +9599,14 @@ function zh() {
|
|
|
9581
9599
|
f = Ut(a, u, c, f), f !== d && Wt(e, s, c, f) && p && Pm(t.removed);
|
|
9582
9600
|
}
|
|
9583
9601
|
}
|
|
9584
|
-
Nt(
|
|
9602
|
+
Nt(le.afterSanitizeAttributes, e, null);
|
|
9585
9603
|
}, Kt = function(e) {
|
|
9586
9604
|
let t = null, n = Dt(e);
|
|
9587
|
-
for (Nt(
|
|
9605
|
+
for (Nt(le.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Nt(le.uponSanitizeShadowNode, t, null), zt(t, e), Gt(t), jt(t.content) && Kt(t.content), C(t) === Ah.element) {
|
|
9588
9606
|
let e = v(t);
|
|
9589
9607
|
jt(e) && (qt(e), Kt(e));
|
|
9590
9608
|
}
|
|
9591
|
-
Nt(
|
|
9609
|
+
Nt(le.afterSanitizeShadowDOM, e, null);
|
|
9592
9610
|
}, qt = function(e) {
|
|
9593
9611
|
let t = [{
|
|
9594
9612
|
node: e,
|
|
@@ -9631,14 +9649,14 @@ function zh() {
|
|
|
9631
9649
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
|
|
9632
9650
|
if (Ze = !e, Ze && (e = "<!-->"), typeof e != "string" && !Mt(e) && (e = nh(e), typeof e != "string")) throw Zm("dirty is not a string, aborting");
|
|
9633
9651
|
if (!t.isSupported) return e;
|
|
9634
|
-
Pe ? (
|
|
9652
|
+
Pe ? (ye = j, xe = Fe) : dt(n), (le.uponSanitizeElement.length > 0 || le.uponSanitizeAttribute.length > 0) && (ye = th(ye)), le.uponSanitizeAttribute.length > 0 && (xe = th(xe)), t.removed = [];
|
|
9635
9653
|
let c = N && typeof e != "string" && Mt(e);
|
|
9636
9654
|
if (c) {
|
|
9637
9655
|
Tt(e);
|
|
9638
|
-
let t =
|
|
9656
|
+
let t = ee(e);
|
|
9639
9657
|
if (typeof t == "string") {
|
|
9640
9658
|
let n = st(t);
|
|
9641
|
-
if (!
|
|
9659
|
+
if (!ye[n] || we[n]) throw bt(e), Zm("root node is forbidden and cannot be sanitized in-place");
|
|
9642
9660
|
}
|
|
9643
9661
|
if (At(e)) throw bt(e), Zm("root node is clobbered and cannot be sanitized in-place");
|
|
9644
9662
|
try {
|
|
@@ -9648,8 +9666,8 @@ function zh() {
|
|
|
9648
9666
|
}
|
|
9649
9667
|
} else if (Mt(e)) i = Et("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === Ah.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), qt(i);
|
|
9650
9668
|
else {
|
|
9651
|
-
if (!Le && !je && !Ne && e.indexOf("<") === -1) return
|
|
9652
|
-
if (i = Et(e), !i) return Le ? null : ze ?
|
|
9669
|
+
if (!Le && !je && !Ne && e.indexOf("<") === -1) return w && ze ? O(e) : e;
|
|
9670
|
+
if (i = Et(e), !i) return Le ? null : ze ? T : "";
|
|
9653
9671
|
}
|
|
9654
9672
|
i && Ie && vt(i.firstChild);
|
|
9655
9673
|
let l = c ? e : i;
|
|
@@ -9665,35 +9683,35 @@ function zh() {
|
|
|
9665
9683
|
e.element && Ct(e.element);
|
|
9666
9684
|
}), je && kt(e), e;
|
|
9667
9685
|
if (Le) {
|
|
9668
|
-
if (je && kt(i), Re) for (s =
|
|
9686
|
+
if (je && kt(i), Re) for (s = oe.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
|
|
9669
9687
|
else s = i;
|
|
9670
|
-
return (xe.shadowroot || xe.shadowrootmode) && (s =
|
|
9688
|
+
return (xe.shadowroot || xe.shadowrootmode) && (s = ce.call(r, s, !0)), s;
|
|
9671
9689
|
}
|
|
9672
9690
|
let u = Ne ? i.outerHTML : i.innerHTML;
|
|
9673
|
-
return Ne &&
|
|
9691
|
+
return Ne && ye["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && Xm(wh, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), je && (u = Ot(u)), w && ze ? O(u) : u;
|
|
9674
9692
|
}, t.setConfig = function() {
|
|
9675
9693
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
9676
|
-
dt(e), Pe = !0, j =
|
|
9694
|
+
dt(e), Pe = !0, j = ye, Fe = xe;
|
|
9677
9695
|
}, t.clearConfig = function() {
|
|
9678
|
-
ct = null, Pe = !1, j = null, Fe = null,
|
|
9696
|
+
ct = null, Pe = !1, j = null, Fe = null, w = E, T = "";
|
|
9679
9697
|
}, t.isValidAttribute = function(e, t, n) {
|
|
9680
9698
|
ct || dt({});
|
|
9681
9699
|
let r = st(e), i = st(t);
|
|
9682
9700
|
return Bt(r, i, n);
|
|
9683
9701
|
}, t.addHook = function(e, t) {
|
|
9684
|
-
typeof t == "function" && Jm(
|
|
9702
|
+
typeof t == "function" && Jm(le, e) && Fm(le[e], t);
|
|
9685
9703
|
}, t.removeHook = function(e, t) {
|
|
9686
|
-
if (Jm(
|
|
9704
|
+
if (Jm(le, e)) {
|
|
9687
9705
|
if (t !== void 0) {
|
|
9688
|
-
let n = Nm(
|
|
9689
|
-
return n === -1 ? void 0 : Im(
|
|
9706
|
+
let n = Nm(le[e], t);
|
|
9707
|
+
return n === -1 ? void 0 : Im(le[e], n, 1)[0];
|
|
9690
9708
|
}
|
|
9691
|
-
return Pm(
|
|
9709
|
+
return Pm(le[e]);
|
|
9692
9710
|
}
|
|
9693
9711
|
}, t.removeHooks = function(e) {
|
|
9694
|
-
Jm(
|
|
9712
|
+
Jm(le, e) && (le[e] = []);
|
|
9695
9713
|
}, t.removeAllHooks = function() {
|
|
9696
|
-
|
|
9714
|
+
le = Ih();
|
|
9697
9715
|
}, t;
|
|
9698
9716
|
}
|
|
9699
9717
|
var Bh = zh(), Vh = /* @__PURE__ */ "a.abbr.address.article.aside.b.bdi.bdo.big.blockquote.br.caption.center.cite.code.col.colgroup.dd.del.div.dl.dt.em.fieldset.font.footer.h1.h2.h3.h4.h5.h6.header.hr.i.img.ins.label.legend.li.mark.nav.ol.p.pre.q.rt.ruby.s.section.small.span.strong.sub.sup.table.tbody.td.tfoot.th.thead.tr.tt.u.ul".split("."), Hh = new Set(Vh), Uh = {
|
|
@@ -10158,7 +10176,7 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10158
10176
|
};
|
|
10159
10177
|
}
|
|
10160
10178
|
function S(e) {
|
|
10161
|
-
g && !t.disabled && (e.cancelable && e.preventDefault(),
|
|
10179
|
+
g && !t.disabled && (e.cancelable && e.preventDefault(), ee(e));
|
|
10162
10180
|
}
|
|
10163
10181
|
function C(e) {
|
|
10164
10182
|
let n = (e.touches?.[0] ?? e.changedTouches?.[0])?.clientX ?? e.clientX, r = s.value?.getBoundingClientRect();
|
|
@@ -10166,7 +10184,7 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10166
10184
|
let i = o((n - r.left) / r.width * f.value + Number(t.min));
|
|
10167
10185
|
return i !== l.value && (l.value = i, u?.(t.name, i)), i;
|
|
10168
10186
|
}
|
|
10169
|
-
function
|
|
10187
|
+
function ee(e, t = "changing") {
|
|
10170
10188
|
let r = C(e);
|
|
10171
10189
|
r !== null && Z(t, {
|
|
10172
10190
|
event: x(e),
|
|
@@ -10174,7 +10192,7 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10174
10192
|
detail: { value: r }
|
|
10175
10193
|
});
|
|
10176
10194
|
}
|
|
10177
|
-
function
|
|
10195
|
+
function w(e) {
|
|
10178
10196
|
if (!g || t.disabled) return;
|
|
10179
10197
|
g = !1;
|
|
10180
10198
|
let r = C(e), i = _;
|
|
@@ -10184,7 +10202,7 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10184
10202
|
detail: { value: r }
|
|
10185
10203
|
});
|
|
10186
10204
|
}
|
|
10187
|
-
function
|
|
10205
|
+
function T(e) {
|
|
10188
10206
|
if (t.disabled) return;
|
|
10189
10207
|
let r = l.value, i = C(e);
|
|
10190
10208
|
i !== null && i !== r && Z("change", {
|
|
@@ -10193,20 +10211,20 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10193
10211
|
detail: { value: i }
|
|
10194
10212
|
});
|
|
10195
10213
|
}
|
|
10196
|
-
function
|
|
10214
|
+
function E(e) {
|
|
10197
10215
|
let t = (e.touches?.[0] ?? e.changedTouches?.[0])?.clientX ?? e.clientX, n = s.value?.getBoundingClientRect();
|
|
10198
10216
|
return !n?.width || t === void 0 ? !1 : t >= n.left && t <= n.left + n.width;
|
|
10199
10217
|
}
|
|
10200
10218
|
function D({ event: e }) {
|
|
10201
|
-
t.disabled || (!g &&
|
|
10219
|
+
t.disabled || (!g && E(e) && T(e), Z("tap", {
|
|
10202
10220
|
event: e,
|
|
10203
10221
|
info: n
|
|
10204
10222
|
}));
|
|
10205
10223
|
}
|
|
10206
10224
|
return Ed(n, c, { tapHandler: D }), Oa(() => {
|
|
10207
|
-
window.addEventListener("mousemove", S), window.addEventListener("mouseup",
|
|
10225
|
+
window.addEventListener("mousemove", S), window.addEventListener("mouseup", w), window.addEventListener("touchmove", S, { passive: !1 }), window.addEventListener("touchend", w), window.addEventListener("touchcancel", w);
|
|
10208
10226
|
}), ja(() => {
|
|
10209
|
-
window.removeEventListener("mousemove", S), window.removeEventListener("mouseup",
|
|
10227
|
+
window.removeEventListener("mousemove", S), window.removeEventListener("mouseup", w), window.removeEventListener("touchmove", S), window.removeEventListener("touchend", w), window.removeEventListener("touchcancel", w);
|
|
10210
10228
|
}), (t, n) => (W(), G("div", q({
|
|
10211
10229
|
id: e.id,
|
|
10212
10230
|
ref_key: "sliderRoot",
|
|
@@ -10359,7 +10377,7 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10359
10377
|
let f = /* @__PURE__ */ R(null), p = /* @__PURE__ */ R(null), m = 0, h = 0, g = !1, _ = !1, v = !1, y = {
|
|
10360
10378
|
width: 0,
|
|
10361
10379
|
height: 0
|
|
10362
|
-
}, b = 0, x = 0, S = 0, C = 0,
|
|
10380
|
+
}, b = 0, x = 0, S = 0, C = 0, ee = 0, w, T, E = "", D = /* @__PURE__ */ R({
|
|
10363
10381
|
transform: t.vertical ? `translateY(-${t.current}00%)` : `translateX(-${t.current}00%)`,
|
|
10364
10382
|
transition: `transform ${t.duration}ms ease`,
|
|
10365
10383
|
flexDirection: t.vertical ? "column" : "row"
|
|
@@ -10371,42 +10389,42 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10371
10389
|
case "easeInOutCubic": return "ease-in-out";
|
|
10372
10390
|
default: return "ease-in";
|
|
10373
10391
|
}
|
|
10374
|
-
}), O = J(() => Math.max(1, Number(t.displayMultipleItems) || 1)),
|
|
10375
|
-
function
|
|
10392
|
+
}), O = J(() => Math.max(1, Number(t.displayMultipleItems) || 1)), k = J(() => t.circular && i.value > O.value), A = J(() => Math.max(i.value - O.value, 0)), re = J(() => o.value.length > 0 || s.value.length > 0);
|
|
10393
|
+
function ie(e) {
|
|
10376
10394
|
let t = i.value;
|
|
10377
10395
|
if (!t) return 0;
|
|
10378
10396
|
let n = Math.round(Number(e) || 0);
|
|
10379
|
-
return
|
|
10397
|
+
return k.value ? (n % t + t) % t : Math.min(Math.max(n, 0), A.value);
|
|
10380
10398
|
}
|
|
10381
|
-
function
|
|
10382
|
-
return
|
|
10399
|
+
function ae(e = c.value) {
|
|
10400
|
+
return ie(e);
|
|
10383
10401
|
}
|
|
10384
|
-
function
|
|
10385
|
-
let t = a.value[
|
|
10402
|
+
function oe(e = c.value) {
|
|
10403
|
+
let t = a.value[ae(e)];
|
|
10386
10404
|
return t?.props?.itemId ?? t?.props?.["item-id"] ?? "";
|
|
10387
10405
|
}
|
|
10388
|
-
function
|
|
10406
|
+
function se(e) {
|
|
10389
10407
|
return a.value.findIndex((t) => (t?.props?.itemId ?? t?.props?.["item-id"] ?? "") === e);
|
|
10390
10408
|
}
|
|
10391
|
-
function
|
|
10392
|
-
let t =
|
|
10409
|
+
function ce(e) {
|
|
10410
|
+
let t = ae(), n = O.value;
|
|
10393
10411
|
return t <= e && e < t + n || e < t + n - i.value;
|
|
10394
10412
|
}
|
|
10395
|
-
function
|
|
10396
|
-
return { backgroundColor:
|
|
10413
|
+
function le(e) {
|
|
10414
|
+
return { backgroundColor: ce(e) ? t.indicatorActiveColor : t.indicatorColor };
|
|
10397
10415
|
}
|
|
10398
10416
|
Wi(() => {
|
|
10399
10417
|
if (r.default) {
|
|
10400
10418
|
let e = u(r.default());
|
|
10401
|
-
i.value = e.length, a.value = e,
|
|
10419
|
+
i.value = e.length, a.value = e, k.value ? (o.value = d(e.slice(-O.value), "leading"), s.value = d(e.slice(0, O.value), "trailing")) : (o.value = [], s.value = []);
|
|
10402
10420
|
} else i.value = 0, a.value = [], o.value = [], s.value = [];
|
|
10403
10421
|
t.autoplay ? Te() : Ee();
|
|
10404
10422
|
});
|
|
10405
|
-
function
|
|
10423
|
+
function ue(e, t) {
|
|
10406
10424
|
let n = e / Math.max(t, 16);
|
|
10407
10425
|
return Math.sign(n) * Math.abs(n) ** 1.05;
|
|
10408
10426
|
}
|
|
10409
|
-
function
|
|
10427
|
+
function de(e, n, r) {
|
|
10410
10428
|
if (v) {
|
|
10411
10429
|
g && r.cancelable && r.preventDefault();
|
|
10412
10430
|
return;
|
|
@@ -10414,36 +10432,36 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10414
10432
|
let i = Math.abs(e), a = Math.abs(n);
|
|
10415
10433
|
i < 2 && a < 2 || (t.vertical ? (g = i < a, g && r.cancelable && r.preventDefault()) : (g = i > a, g && i > a && r.cancelable && r.preventDefault()), v = !0);
|
|
10416
10434
|
}
|
|
10417
|
-
function
|
|
10435
|
+
function fe() {
|
|
10418
10436
|
if (!f.value || !p.value) return;
|
|
10419
10437
|
let e = t.previousMargin ? Su(t.previousMargin) : "", n = t.nextMargin ? Su(t.nextMargin) : "", r = `${Math.abs(100 / O.value)}%`;
|
|
10420
10438
|
t.vertical ? (f.value.style.left = 0, f.value.style.right = 0, f.value.style.top = e, f.value.style.bottom = n, p.value.style.width = "100%", p.value.style.height = r) : (f.value.style.left = e, f.value.style.right = n, f.value.style.top = 0, f.value.style.bottom = 0, p.value.style.height = "100%", p.value.style.width = r);
|
|
10421
10439
|
}
|
|
10422
|
-
function
|
|
10423
|
-
if (!t.snapToEdge ||
|
|
10440
|
+
function pe(e) {
|
|
10441
|
+
if (!t.snapToEdge || k.value || i.value < 2 || !f.value || !p.value) return e;
|
|
10424
10442
|
let n = t.vertical ? "offsetTop" : "offsetLeft", r = t.vertical ? "offsetHeight" : "offsetWidth", a = p.value[r] || 1;
|
|
10425
10443
|
if (e === 0 && t.previousMargin) return f.value[n] / a;
|
|
10426
|
-
if (e ===
|
|
10444
|
+
if (e === A.value && t.nextMargin) {
|
|
10427
10445
|
let e = f.value.parentElement[r] - f.value[n] - f.value[r];
|
|
10428
|
-
return
|
|
10446
|
+
return A.value - e / a;
|
|
10429
10447
|
}
|
|
10430
10448
|
return e;
|
|
10431
10449
|
}
|
|
10432
|
-
function
|
|
10433
|
-
let n =
|
|
10434
|
-
return t ? n :
|
|
10450
|
+
function me(e, t = !1) {
|
|
10451
|
+
let n = re.value ? e + o.value.length : e;
|
|
10452
|
+
return t ? n : pe(n);
|
|
10435
10453
|
}
|
|
10436
|
-
function
|
|
10437
|
-
let r =
|
|
10454
|
+
function he(e, n = !1) {
|
|
10455
|
+
let r = me(e, n);
|
|
10438
10456
|
D.value.transform = `translate${t.vertical ? "Y" : "X"}(-${r * 100}%)`;
|
|
10439
10457
|
}
|
|
10440
|
-
function
|
|
10441
|
-
(!
|
|
10458
|
+
function ge(e) {
|
|
10459
|
+
(!k.value || e !== -1 && e !== i.value) && (e = ie(e)), e !== c.value && (c.value = e, Ce(), Z("change", {
|
|
10442
10460
|
info: n,
|
|
10443
10461
|
detail: {
|
|
10444
|
-
current:
|
|
10445
|
-
currentItemId:
|
|
10446
|
-
source:
|
|
10462
|
+
current: ae(e),
|
|
10463
|
+
currentItemId: oe(e),
|
|
10464
|
+
source: E
|
|
10447
10465
|
}
|
|
10448
10466
|
}));
|
|
10449
10467
|
}
|
|
@@ -10459,105 +10477,105 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10459
10477
|
() => t.snapToEdge,
|
|
10460
10478
|
() => t.interval
|
|
10461
10479
|
], ([e, t, n, r, i, a, o, s, u, d], [f, p, m, h, g, _, v, y, b, x]) => {
|
|
10462
|
-
f !== e && (D.value.flexDirection = e ? "column" : "row",
|
|
10463
|
-
let S = r ?
|
|
10464
|
-
r !== h && S >= 0 && !l ? (
|
|
10480
|
+
f !== e && (D.value.flexDirection = e ? "column" : "row", fe(), Ce(), D.value.transition = "none"), (p !== t || x !== d) && (t ? Te() : Ee()), y !== s && (c.value = ie(c.value), fe(), Ce(), D.value.transition = "none");
|
|
10481
|
+
let S = r ? se(r) : -1;
|
|
10482
|
+
r !== h && S >= 0 && !l ? (E = "", ge(S)) : n !== c.value && !l && !r && (E = "", ge(n)), (g !== i || a !== _ || b !== u) && (fe(), Ce(), D.value.transition = "none"), v !== o && (c.value = ie(c.value), Ce(), D.value.transition = "none");
|
|
10465
10483
|
}), H(i, () => {
|
|
10466
|
-
let e = t.currentItemId ?
|
|
10467
|
-
e >= 0 && (c.value = e), c.value !== -1 && c.value !== i.value && (c.value =
|
|
10484
|
+
let e = t.currentItemId ? se(t.currentItemId) : -1;
|
|
10485
|
+
e >= 0 && (c.value = e), c.value !== -1 && c.value !== i.value && (c.value = ie(c.value)), p.value && (he(c.value), D.value.transition = "none");
|
|
10468
10486
|
});
|
|
10469
|
-
function
|
|
10487
|
+
function _e(e) {
|
|
10470
10488
|
if (!e.touches && e.button !== 0) return;
|
|
10471
|
-
_ = !0, Ee(),
|
|
10489
|
+
_ = !0, Ee(), w &&= (cancelAnimationFrame(w), void 0), D.value.transition && D.value.transition !== "none" && Se({ type: "transitionend" }), D.value.transition = "none", S = Date.now(), g = !1, v = !1, m = e.touches ? e.touches[0].clientX : e.clientX, h = e.touches ? e.touches[0].clientY : e.clientY, b = 0, x = 0, y = {
|
|
10472
10490
|
width: p.value.offsetWidth,
|
|
10473
10491
|
height: p.value.offsetHeight
|
|
10474
10492
|
};
|
|
10475
10493
|
let t = p.value.getBoundingClientRect();
|
|
10476
|
-
C = t.x,
|
|
10494
|
+
C = t.x, ee = t.y;
|
|
10477
10495
|
}
|
|
10478
|
-
function
|
|
10479
|
-
_ && (b = (e.touches ? e.touches[0].clientX : e.clientX) - m, x = (e.touches ? e.touches[0].clientY : e.clientY) - h,
|
|
10496
|
+
function ve(e) {
|
|
10497
|
+
_ && (b = (e.touches ? e.touches[0].clientX : e.clientX) - m, x = (e.touches ? e.touches[0].clientY : e.clientY) - h, de(b, x, e), g && (w && cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
10480
10498
|
let e = t.vertical ? x : b, n = t.vertical ? y.height : y.width, r = e / n;
|
|
10481
|
-
if (e *= 1.1, !
|
|
10482
|
-
let t = c.value === 0, n = c.value ===
|
|
10499
|
+
if (e *= 1.1, !k.value) {
|
|
10500
|
+
let t = c.value === 0, n = c.value === A.value;
|
|
10483
10501
|
if (t && e > 0 || n && e < 0) {
|
|
10484
10502
|
let t = .6 - .3 / (Math.abs(r) + .8);
|
|
10485
10503
|
e *= t;
|
|
10486
10504
|
}
|
|
10487
10505
|
}
|
|
10488
10506
|
if (t.vertical) {
|
|
10489
|
-
let t = -
|
|
10507
|
+
let t = -me(c.value) * 100 + e / y.height * 100;
|
|
10490
10508
|
D.value.transform = `translateY(${t}%)`;
|
|
10491
10509
|
} else {
|
|
10492
|
-
let t = -
|
|
10510
|
+
let t = -me(c.value) * 100 + e / y.width * 100;
|
|
10493
10511
|
D.value.transform = `translateX(${t}%)`;
|
|
10494
10512
|
}
|
|
10495
10513
|
})));
|
|
10496
10514
|
}
|
|
10497
|
-
function
|
|
10515
|
+
function ye() {
|
|
10498
10516
|
if (!_) return;
|
|
10499
10517
|
if (_ = !1, v = !1, !g) {
|
|
10500
|
-
|
|
10518
|
+
he(c.value), Te();
|
|
10501
10519
|
return;
|
|
10502
10520
|
}
|
|
10503
10521
|
let e = Date.now() - S;
|
|
10504
|
-
|
|
10522
|
+
w &&= (cancelAnimationFrame(w), void 0);
|
|
10505
10523
|
let n = t.vertical ? x : b;
|
|
10506
10524
|
if (n === 0) {
|
|
10507
10525
|
g = !1, Te();
|
|
10508
10526
|
return;
|
|
10509
10527
|
}
|
|
10510
|
-
let r =
|
|
10511
|
-
let e =
|
|
10512
|
-
u = Math.abs(r) > .5 || o > .3 ? "cubic-bezier(0.175, 0.885, 0.32, 1.275)" : e ? "cubic-bezier(0.34, 1.56, 0.64, 1)" : ne.value, D.value.transition = `transform ${l}ms ${u}`,
|
|
10528
|
+
let r = ue(n, e), a = t.vertical ? y.height : y.width, o = Math.abs(n) / a, s = () => {
|
|
10529
|
+
let e = re.value ? c.value === -1 || c.value === i.value : c.value === 0 || c.value === A.value, n = Math.min(Math.max(Math.abs(r) * 2.5, .6), 2), a = Math.min(Math.max(o * 1.8, .5), 1.5), s = n * .7 + a * .3, l = Math.max(Math.min(Math.round(t.duration / s), t.duration), 150), u;
|
|
10530
|
+
u = Math.abs(r) > .5 || o > .3 ? "cubic-bezier(0.175, 0.885, 0.32, 1.275)" : e ? "cubic-bezier(0.34, 1.56, 0.64, 1)" : ne.value, D.value.transition = `transform ${l}ms ${u}`, he(c.value);
|
|
10513
10531
|
};
|
|
10514
10532
|
if (i.value > O.value) {
|
|
10515
10533
|
if (Math.abs(r) > .15 || o > .15) {
|
|
10516
10534
|
let e = Math.min(Math.max(Math.abs(r) * 3.5, .8), 4), i = Math.min(Math.max(o * 1.8, .6), 1.8), a = e * .8 + i * .2, c = Math.max(Math.min(Math.round(t.duration / a), t.duration), 100), l;
|
|
10517
|
-
l = Math.abs(r) > .8 ? "cubic-bezier(0.25, 0.1, 0.25, 1.0)" : ne.value, D.value.transition = `transform ${c}ms ${l}`,
|
|
10535
|
+
l = Math.abs(r) > .8 ? "cubic-bezier(0.25, 0.1, 0.25, 1.0)" : ne.value, D.value.transition = `transform ${c}ms ${l}`, E = "touch", n > 0 ? xe(s) : be(s);
|
|
10518
10536
|
} else s();
|
|
10519
10537
|
} else s();
|
|
10520
10538
|
g = !1, Te();
|
|
10521
10539
|
}
|
|
10522
10540
|
function be(e) {
|
|
10523
|
-
let t =
|
|
10541
|
+
let t = k.value ? c.value + 1 : Math.min(c.value + 1, A.value);
|
|
10524
10542
|
if (t === c.value) {
|
|
10525
10543
|
e?.();
|
|
10526
10544
|
return;
|
|
10527
10545
|
}
|
|
10528
|
-
l = !0,
|
|
10546
|
+
l = !0, ge(t);
|
|
10529
10547
|
}
|
|
10530
10548
|
function xe(e) {
|
|
10531
|
-
let t =
|
|
10549
|
+
let t = k.value ? c.value - 1 : Math.max(c.value - 1, 0);
|
|
10532
10550
|
if (t === c.value) {
|
|
10533
10551
|
e?.();
|
|
10534
10552
|
return;
|
|
10535
10553
|
}
|
|
10536
|
-
l = !0,
|
|
10554
|
+
l = !0, ge(t);
|
|
10537
10555
|
}
|
|
10538
10556
|
function Se(e) {
|
|
10539
|
-
l = !1,
|
|
10557
|
+
l = !1, k.value && (c.value === i.value ? (c.value = 0, he(0, !0), D.value.transition = "none") : c.value === -1 && (c.value = i.value - 1, he(c.value, !0), D.value.transition = "none")), w &&= (cancelAnimationFrame(w), void 0), Z("animationfinish", {
|
|
10540
10558
|
event: e,
|
|
10541
10559
|
info: n,
|
|
10542
10560
|
detail: {
|
|
10543
|
-
current:
|
|
10544
|
-
currentItemId:
|
|
10545
|
-
source:
|
|
10561
|
+
current: ae(),
|
|
10562
|
+
currentItemId: oe(),
|
|
10563
|
+
source: E
|
|
10546
10564
|
}
|
|
10547
10565
|
});
|
|
10548
10566
|
}
|
|
10549
10567
|
function Ce() {
|
|
10550
|
-
if (
|
|
10568
|
+
if (w &&= (cancelAnimationFrame(w), void 0), p.value) {
|
|
10551
10569
|
let e = p.value.getBoundingClientRect();
|
|
10552
|
-
C = e.x,
|
|
10570
|
+
C = e.x, ee = e.y;
|
|
10553
10571
|
}
|
|
10554
|
-
|
|
10572
|
+
he(c.value), D.value.transition = `transform ${t.duration}ms ${ne.value}`, w = requestAnimationFrame(we);
|
|
10555
10573
|
}
|
|
10556
10574
|
function we() {
|
|
10557
|
-
|
|
10575
|
+
w &&= (cancelAnimationFrame(w), void 0);
|
|
10558
10576
|
let e = p.value.getBoundingClientRect();
|
|
10559
10577
|
if (t.vertical) {
|
|
10560
|
-
let t =
|
|
10578
|
+
let t = ee - e.y;
|
|
10561
10579
|
Z("transition", {
|
|
10562
10580
|
info: n,
|
|
10563
10581
|
detail: {
|
|
@@ -10577,31 +10595,31 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10577
10595
|
}
|
|
10578
10596
|
}
|
|
10579
10597
|
function Te() {
|
|
10580
|
-
Ee(), t.autoplay && i.value > O.value && (
|
|
10581
|
-
g || (
|
|
10598
|
+
Ee(), t.autoplay && i.value > O.value && (T = setInterval(() => {
|
|
10599
|
+
g || (E = "autoplay", l = !0, k.value ? ge(c.value + 1) : ge(c.value < A.value ? c.value + 1 : 0));
|
|
10582
10600
|
}, t.interval));
|
|
10583
10601
|
}
|
|
10584
10602
|
function Ee() {
|
|
10585
|
-
|
|
10603
|
+
T &&= (clearInterval(T), null);
|
|
10586
10604
|
}
|
|
10587
10605
|
return Oa(() => {
|
|
10588
|
-
|
|
10589
|
-
let e = t.currentItemId ?
|
|
10590
|
-
c.value =
|
|
10606
|
+
fe();
|
|
10607
|
+
let e = t.currentItemId ? se(t.currentItemId) : -1;
|
|
10608
|
+
c.value = ie(e >= 0 ? e : c.value), he(c.value), D.value.transition = "none", Te();
|
|
10591
10609
|
}), ja(() => {
|
|
10592
|
-
Ee(), cancelAnimationFrame(
|
|
10610
|
+
Ee(), cancelAnimationFrame(w), w = null;
|
|
10593
10611
|
}), (n, r) => (W(), G("div", q(n.$attrs, { class: ["dd-swiper", { "dd-swiper-skip-hidden": e.skipHiddenItemLayout }] }), [K("div", {
|
|
10594
10612
|
class: "dd-swiper-wrapper",
|
|
10595
10613
|
style: ht(z(te)),
|
|
10596
10614
|
"aria-label": t.vertical ? "可竖向滚动" : "可横向滚动",
|
|
10597
|
-
onTouchstart:
|
|
10598
|
-
onTouchmove:
|
|
10599
|
-
onTouchend:
|
|
10600
|
-
onTouchcancel:
|
|
10601
|
-
onMousedown:
|
|
10602
|
-
onMousemove:
|
|
10603
|
-
onMouseup:
|
|
10604
|
-
onMouseleave:
|
|
10615
|
+
onTouchstart: _e,
|
|
10616
|
+
onTouchmove: ve,
|
|
10617
|
+
onTouchend: ye,
|
|
10618
|
+
onTouchcancel: ye,
|
|
10619
|
+
onMousedown: _e,
|
|
10620
|
+
onMousemove: ve,
|
|
10621
|
+
onMouseup: ye,
|
|
10622
|
+
onMouseleave: ye
|
|
10605
10623
|
}, [K("div", {
|
|
10606
10624
|
ref_key: "swiperSliders",
|
|
10607
10625
|
ref: f,
|
|
@@ -10631,8 +10649,8 @@ var qh = ["innerHTML"], Jh = {
|
|
|
10631
10649
|
}, [(W(!0), G(Xs, null, Ga(z(i), (e) => (W(), G("div", {
|
|
10632
10650
|
key: e,
|
|
10633
10651
|
"data-dot-index": e - 1,
|
|
10634
|
-
class: bt(["dd-swiper-dot", { "dd-swiper-dot-active":
|
|
10635
|
-
style: ht(
|
|
10652
|
+
class: bt(["dd-swiper-dot", { "dd-swiper-dot-active": ce(e - 1) }]),
|
|
10653
|
+
style: ht(le(e - 1))
|
|
10636
10654
|
}, null, 14, fg))), 128))], 2)) : yc("", !0)], 44, dg)], 16));
|
|
10637
10655
|
}
|
|
10638
10656
|
}, mg = /* @__PURE__ */ Y({ default: () => hg }), hg = Q(pg), gg = ["item-id"], _g = {
|
|
@@ -12007,7 +12025,7 @@ function x_(e) {
|
|
|
12007
12025
|
Qg.map((e) => e.__tagName);
|
|
12008
12026
|
//#endregion
|
|
12009
12027
|
//#region src/core/canvas-export-limits.js
|
|
12010
|
-
var S_ =
|
|
12028
|
+
var S_ = ie, C_ = re;
|
|
12011
12029
|
function w_(e, t) {
|
|
12012
12030
|
let n = Number(e);
|
|
12013
12031
|
return Number.isFinite(n) && n > 0 ? n : t;
|
|
@@ -12388,12 +12406,12 @@ function pv(e) {
|
|
|
12388
12406
|
}
|
|
12389
12407
|
function mv(e) {
|
|
12390
12408
|
if (pv(e)) return e;
|
|
12391
|
-
let t = e?.[
|
|
12409
|
+
let t = e?.[k];
|
|
12392
12410
|
return pv(t) && e.contains?.(t) ? t : null;
|
|
12393
12411
|
}
|
|
12394
12412
|
var hv = new class {
|
|
12395
12413
|
constructor() {
|
|
12396
|
-
this.app = null, this.pageId = null, this.instance = /* @__PURE__ */ new Map(), this.moduleIds = /* @__PURE__ */ new WeakMap(), this.moduleRootIds = /* @__PURE__ */ new WeakMap(), this.setupData = /* @__PURE__ */ new Map(), this.initializedModules = /* @__PURE__ */ new Set(), this.preInitUpdates = /* @__PURE__ */ new Map(), this.intersectionObservers = /* @__PURE__ */ new Map(), this.mediaQueryObservers = /* @__PURE__ */ new Map(), this.componentAnimations = /* @__PURE__ */ new Map(), this.performanceObservers = /* @__PURE__ */ new Map(), this.canvasNodes = /* @__PURE__ */ new Map(), this.canvasResources = /* @__PURE__ */ new Map(), this.canvasRafIds = /* @__PURE__ */ new Map(), this.canvasCapabilities = null, this.canvasDrawQueues = /* @__PURE__ */ new WeakMap(), this.canvasBatchFrames = /* @__PURE__ */ new WeakMap(), this.canvasScopeQueues = /* @__PURE__ */ new Map(), this.canvasImageTimeout = 1e4, this._pendingSetups = /* @__PURE__ */ new Map(), this._instanceWaiters = /* @__PURE__ */ new Map(), this.handleBeforeUnload = this.handleBeforeUnload.bind(this), this.installVueRuntimeHelpers(), window.addEventListener("beforeunload", this.handleBeforeUnload);
|
|
12414
|
+
this.app = null, this.pageId = null, this.instance = /* @__PURE__ */ new Map(), this.moduleIds = /* @__PURE__ */ new WeakMap(), this.moduleRootIds = /* @__PURE__ */ new WeakMap(), this.setupData = /* @__PURE__ */ new Map(), this.initializedModules = /* @__PURE__ */ new Set(), this.preInitUpdates = /* @__PURE__ */ new Map(), this.intersectionObservers = /* @__PURE__ */ new Map(), this.mediaQueryObservers = /* @__PURE__ */ new Map(), this.componentAnimations = /* @__PURE__ */ new Map(), this.performanceObservers = /* @__PURE__ */ new Map(), this.canvasNodes = /* @__PURE__ */ new Map(), this.canvasResources = /* @__PURE__ */ new Map(), this.canvasRafIds = /* @__PURE__ */ new Map(), this.canvasCapabilities = null, this.resourceLoadIds = /* @__PURE__ */ new Map(), this._pageReRenderPending = !1, this.canvasDrawQueues = /* @__PURE__ */ new WeakMap(), this.canvasBatchFrames = /* @__PURE__ */ new WeakMap(), this.canvasScopeQueues = /* @__PURE__ */ new Map(), this.canvasImageTimeout = 1e4, this._pendingSetups = /* @__PURE__ */ new Map(), this._instanceWaiters = /* @__PURE__ */ new Map(), this.handleBeforeUnload = this.handleBeforeUnload.bind(this), this.installVueRuntimeHelpers(), window.addEventListener("beforeunload", this.handleBeforeUnload);
|
|
12397
12415
|
}
|
|
12398
12416
|
installVueRuntimeHelpers(e = window) {
|
|
12399
12417
|
Object.assign(e, Q_);
|
|
@@ -12411,20 +12429,28 @@ var hv = new class {
|
|
|
12411
12429
|
this.performanceObservers.clear();
|
|
12412
12430
|
for (let e of [...this.canvasNodes.keys()]) this.disposeCanvasNode(e);
|
|
12413
12431
|
for (let e of this.canvasRafIds.values()) cancelAnimationFrame(e);
|
|
12414
|
-
this.canvasRafIds.clear(), this.canvasScopeQueues.clear();
|
|
12432
|
+
this.canvasRafIds.clear(), this.canvasScopeQueues.clear(), this.resourceLoadIds.clear();
|
|
12433
|
+
}
|
|
12434
|
+
registerResourceLoad(e, t) {
|
|
12435
|
+
e && (typeof t == "string" && t ? this.resourceLoadIds.set(e, t) : this.resourceLoadIds.delete(e));
|
|
12436
|
+
}
|
|
12437
|
+
createDomReadyBody(e, t = this.resourceLoadIds.get(e)) {
|
|
12438
|
+
let n = { bridgeId: e };
|
|
12439
|
+
return typeof t == "string" && t && (n.resourceLoadId = t), n;
|
|
12415
12440
|
}
|
|
12416
12441
|
syncReactiveState(e, t = {}) {
|
|
12417
12442
|
for (let n in e) n in t || delete e[n];
|
|
12418
12443
|
Object.assign(e, t);
|
|
12419
12444
|
}
|
|
12420
12445
|
firstRender(e) {
|
|
12421
|
-
let { bridgeId: t, pagePath: n, pageId: r, query: i } = e,
|
|
12446
|
+
let { bridgeId: t, pagePath: n, pageId: r, query: i, resourceLoadId: a } = e, o = this.makeOptions({
|
|
12422
12447
|
path: n,
|
|
12423
12448
|
bridgeId: t,
|
|
12424
12449
|
pageId: r,
|
|
12425
|
-
query: i
|
|
12450
|
+
query: i,
|
|
12451
|
+
resourceLoadId: a
|
|
12426
12452
|
});
|
|
12427
|
-
this.app != null && this.app.unmount(), this.app = tu(
|
|
12453
|
+
this.app != null && this.app.unmount(), this.app = tu(o.app), this.app.use(x_), this.registerTplComponentsByPath(e.pagePath, t), this.app.mount(document.body);
|
|
12428
12454
|
}
|
|
12429
12455
|
registerTplComponentsByPath(e, t, n = /* @__PURE__ */ new Set()) {
|
|
12430
12456
|
if (n.has(e)) return;
|
|
@@ -12456,39 +12482,39 @@ var hv = new class {
|
|
|
12456
12482
|
};
|
|
12457
12483
|
}
|
|
12458
12484
|
makeOptions(e) {
|
|
12459
|
-
let { path: t, bridgeId: n, pageId: r } = e,
|
|
12485
|
+
let { path: t, bridgeId: n, pageId: r, resourceLoadId: i } = e, a = Me.getModuleByPath(t), { id: o, appStyleScopeId: s, sharedStyleScopeIds: c = [], usingComponents: l, componentPlaceholder: u = {}, tplComponents: d, customTabBar: f } = a.moduleInfo, p = a.moduleInfo.render, m = f?.componentName, h = typeof m == "string" && Object.prototype.hasOwnProperty.call(l || {}, m);
|
|
12460
12486
|
this.pageId = r;
|
|
12461
|
-
let
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
...
|
|
12465
|
-
].filter(Boolean),
|
|
12487
|
+
let g = this, _ = "dd-page", v = `data-v-${o}`, y = [
|
|
12488
|
+
s ? `data-v-${s}` : null,
|
|
12489
|
+
v,
|
|
12490
|
+
...c.map((e) => `data-v-${e}`)
|
|
12491
|
+
].filter(Boolean), b = this.createComponent(t, n, l, /* @__PURE__ */ new Map(), u), x = this.createDomReadyBody(n, i);
|
|
12466
12492
|
return {
|
|
12467
|
-
id:
|
|
12468
|
-
tplComponents:
|
|
12493
|
+
id: o,
|
|
12494
|
+
tplComponents: d,
|
|
12469
12495
|
app: {
|
|
12470
12496
|
render: () => {
|
|
12471
|
-
let e = za(
|
|
12497
|
+
let e = za(_);
|
|
12472
12498
|
return Zc(Rs, { onResolve: () => {
|
|
12473
12499
|
ke.invoke({
|
|
12474
12500
|
type: "domReady",
|
|
12475
12501
|
target: "container",
|
|
12476
|
-
body:
|
|
12502
|
+
body: x
|
|
12477
12503
|
});
|
|
12478
12504
|
} }, { default: () => Zc(e) });
|
|
12479
12505
|
},
|
|
12480
|
-
components: { [
|
|
12506
|
+
components: { [_]: {
|
|
12481
12507
|
name: t,
|
|
12482
|
-
__scopeId:
|
|
12508
|
+
__scopeId: v,
|
|
12483
12509
|
async setup(e, { expose: r }) {
|
|
12484
12510
|
r();
|
|
12485
12511
|
let i = Oc();
|
|
12486
|
-
Vi("bridgeId", n), Vi("path", t), Vi(t, { id:
|
|
12487
|
-
id:
|
|
12488
|
-
sId:
|
|
12512
|
+
Vi("bridgeId", n), Vi("path", t), Vi(t, { id: g.pageId }), Vi("info", {
|
|
12513
|
+
id: g.pageId,
|
|
12514
|
+
sId: v
|
|
12489
12515
|
});
|
|
12490
12516
|
let a = i.proxy;
|
|
12491
|
-
a.__page__ = !0,
|
|
12517
|
+
a.__page__ = !0, g.setModuleInstance(g.pageId, a);
|
|
12492
12518
|
let o = () => {}, s = () => {}, c = !1, l = () => {
|
|
12493
12519
|
c ||= (window.requestAnimationFrame(() => {
|
|
12494
12520
|
ke.send({
|
|
@@ -12496,20 +12522,27 @@ var hv = new class {
|
|
|
12496
12522
|
target: "service",
|
|
12497
12523
|
body: {
|
|
12498
12524
|
bridgeId: n,
|
|
12499
|
-
moduleId:
|
|
12525
|
+
moduleId: g.pageId,
|
|
12500
12526
|
scrollTop: window.scrollY
|
|
12501
12527
|
}
|
|
12502
12528
|
}), c = !1;
|
|
12503
12529
|
}), !0);
|
|
12504
12530
|
};
|
|
12505
12531
|
Oa(() => {
|
|
12506
|
-
s = q_(
|
|
12532
|
+
s = q_(y), o = K_(G_(i.subTree), y, v), window.addEventListener("scroll", l, { passive: !0 }), Xr(() => {
|
|
12507
12533
|
ke.send({
|
|
12534
|
+
type: "pageAttached",
|
|
12535
|
+
target: "service",
|
|
12536
|
+
body: {
|
|
12537
|
+
bridgeId: n,
|
|
12538
|
+
moduleId: g.pageId
|
|
12539
|
+
}
|
|
12540
|
+
}), ke.send({
|
|
12508
12541
|
type: "pageReady",
|
|
12509
12542
|
target: "service",
|
|
12510
12543
|
body: {
|
|
12511
12544
|
bridgeId: n,
|
|
12512
|
-
moduleId:
|
|
12545
|
+
moduleId: g.pageId
|
|
12513
12546
|
}
|
|
12514
12547
|
});
|
|
12515
12548
|
});
|
|
@@ -12517,14 +12550,14 @@ var hv = new class {
|
|
|
12517
12550
|
o(), s(), window.removeEventListener("scroll", l);
|
|
12518
12551
|
});
|
|
12519
12552
|
let { data: u, templateData: d } = P_();
|
|
12520
|
-
|
|
12521
|
-
let f = await ke.wait(
|
|
12522
|
-
return
|
|
12553
|
+
g.setupData.set(g.pageId, u);
|
|
12554
|
+
let f = await ke.wait(g.pageId);
|
|
12555
|
+
return g.applyInitialData(g.pageId, u, f), d;
|
|
12523
12556
|
},
|
|
12524
|
-
components:
|
|
12525
|
-
render:
|
|
12526
|
-
return Zc(Xs, null, [
|
|
12527
|
-
} :
|
|
12557
|
+
components: b,
|
|
12558
|
+
render: h ? function(...e) {
|
|
12559
|
+
return Zc(Xs, null, [p.apply(this, e), Zc(za(`dd-${m}`))]);
|
|
12560
|
+
} : p
|
|
12528
12561
|
} }
|
|
12529
12562
|
}
|
|
12530
12563
|
};
|
|
@@ -12661,13 +12694,13 @@ var hv = new class {
|
|
|
12661
12694
|
});
|
|
12662
12695
|
let C = l.proxy;
|
|
12663
12696
|
s.setModuleInstance(S, C);
|
|
12664
|
-
let
|
|
12697
|
+
let ee = () => we(p.propertySchemas, Z_(p.propertySchemas, X_(p.propertySchemas, hd(r), l.vnode), l.vnode), {
|
|
12665
12698
|
isAbsent: (e) => !J_(l.vnode.props, e) && !(e === "style" && J_(l.vnode.props, N_)),
|
|
12666
12699
|
warn: (e) => console.warn("[system]", "[render]", e)
|
|
12667
|
-
}),
|
|
12668
|
-
for (let [e, t] of Object.entries(p.props ?? {})) t.cls &&
|
|
12669
|
-
Vi("externalClasses",
|
|
12670
|
-
let
|
|
12700
|
+
}), w = [];
|
|
12701
|
+
for (let [e, t] of Object.entries(p.props ?? {})) t.cls && w.push(e);
|
|
12702
|
+
Vi("externalClasses", w);
|
|
12703
|
+
let T = z_(i), E = ee(), D = Object.keys(p.propertySchemas || {}).filter((e) => J_(l.vnode.props, e) || e === "style" && J_(l.vnode.props, N_)), te = ke.waitAndSend(S, {
|
|
12671
12704
|
type: "mC",
|
|
12672
12705
|
target: "service",
|
|
12673
12706
|
body: {
|
|
@@ -12677,17 +12710,17 @@ var hv = new class {
|
|
|
12677
12710
|
isCustomTabBar: _ === !0,
|
|
12678
12711
|
pageId: h,
|
|
12679
12712
|
parentId: d,
|
|
12680
|
-
eventAttr:
|
|
12713
|
+
eventAttr: T,
|
|
12681
12714
|
targetInfo: {
|
|
12682
12715
|
dataset: x(i, hd),
|
|
12683
12716
|
id: i.id,
|
|
12684
12717
|
class: i.class
|
|
12685
12718
|
},
|
|
12686
|
-
properties:
|
|
12719
|
+
properties: E,
|
|
12687
12720
|
propertyNames: D,
|
|
12688
12721
|
propBindings: null
|
|
12689
12722
|
}
|
|
12690
|
-
}), ne = !1, O,
|
|
12723
|
+
}), ne = !1, O, k = () => {
|
|
12691
12724
|
ne || (ne = !0, O?.());
|
|
12692
12725
|
};
|
|
12693
12726
|
s._pendingSetups.set(S, new Promise((e) => O = e)), Oa(() => {
|
|
@@ -12718,9 +12751,9 @@ var hv = new class {
|
|
|
12718
12751
|
});
|
|
12719
12752
|
});
|
|
12720
12753
|
});
|
|
12721
|
-
let
|
|
12754
|
+
let A;
|
|
12722
12755
|
Ma(() => {
|
|
12723
|
-
|
|
12756
|
+
A?.();
|
|
12724
12757
|
let e = G_(l.subTree);
|
|
12725
12758
|
s.unregisterModuleRoots(S, e), ke.send({
|
|
12726
12759
|
type: "mU",
|
|
@@ -12729,22 +12762,22 @@ var hv = new class {
|
|
|
12729
12762
|
bridgeId: t,
|
|
12730
12763
|
moduleId: S
|
|
12731
12764
|
}
|
|
12732
|
-
}), s.deleteModuleInstance(S), s.setupData.delete(S), s.initializedModules.delete(S), s.preInitUpdates.delete(S), s._pendingSetups.delete(S),
|
|
12765
|
+
}), s.deleteModuleInstance(S), s.setupData.delete(S), s.initializedModules.delete(S), s.preInitUpdates.delete(S), s._pendingSetups.delete(S), k();
|
|
12733
12766
|
});
|
|
12734
|
-
let { data:
|
|
12735
|
-
s.setupData.set(S,
|
|
12736
|
-
getName: () => Object.prototype.hasOwnProperty.call(
|
|
12737
|
-
getValue: () => Object.prototype.hasOwnProperty.call(
|
|
12767
|
+
let { data: re, templateData: ie } = P_();
|
|
12768
|
+
s.setupData.set(S, re), p.builtinBehaviors?.has("wx://form-field") && (A = V("registerFormControl", void 0)?.({
|
|
12769
|
+
getName: () => Object.prototype.hasOwnProperty.call(re, "name") ? re.name : r.name,
|
|
12770
|
+
getValue: () => Object.prototype.hasOwnProperty.call(re, "value") ? re.value : r.value
|
|
12738
12771
|
}));
|
|
12739
|
-
let
|
|
12772
|
+
let ae = E, oe = !0;
|
|
12740
12773
|
H(() => hd(r), () => {
|
|
12741
|
-
let e =
|
|
12742
|
-
if (Object.assign(
|
|
12743
|
-
|
|
12774
|
+
let e = oe ? E : ee();
|
|
12775
|
+
if (Object.assign(re, e), oe) {
|
|
12776
|
+
oe = !1;
|
|
12744
12777
|
return;
|
|
12745
12778
|
}
|
|
12746
|
-
let r = Object.entries(e).reduce((e, [t, r]) => (n(r,
|
|
12747
|
-
|
|
12779
|
+
let r = Object.entries(e).reduce((e, [t, r]) => (n(r, ae[t]) || (e[t] = r), e), {});
|
|
12780
|
+
ae = e, Object.keys(r).length !== 0 && ke.send({
|
|
12748
12781
|
type: "t",
|
|
12749
12782
|
target: "service",
|
|
12750
12783
|
body: {
|
|
@@ -12755,8 +12788,8 @@ var hv = new class {
|
|
|
12755
12788
|
}
|
|
12756
12789
|
});
|
|
12757
12790
|
}, { immediate: !0 });
|
|
12758
|
-
let
|
|
12759
|
-
return s._pendingSetups.delete(S),
|
|
12791
|
+
let se = await te;
|
|
12792
|
+
return s._pendingSetups.delete(S), k(), s.applyInitialData(S, re, se), ie;
|
|
12760
12793
|
},
|
|
12761
12794
|
render(...e) {
|
|
12762
12795
|
return L_(p.moduleInfo.render.apply(this, e), b, m);
|
|
@@ -12784,6 +12817,12 @@ var hv = new class {
|
|
|
12784
12817
|
}
|
|
12785
12818
|
e && this.refreshProxyAccess(t, a);
|
|
12786
12819
|
} else console.warn("[system]", "[render]", `module ${t} is not exist.`);
|
|
12820
|
+
this.schedulePageReRender();
|
|
12821
|
+
}
|
|
12822
|
+
schedulePageReRender() {
|
|
12823
|
+
this._pageReRenderPending || (this._pageReRenderPending = !0, Xr(() => {
|
|
12824
|
+
this._pageReRenderPending = !1, document.dispatchEvent(new CustomEvent("pageReRender"));
|
|
12825
|
+
}));
|
|
12787
12826
|
}
|
|
12788
12827
|
updateModules(e) {
|
|
12789
12828
|
let { bridgeId: t, updates: n = [], callbackIds: r = [] } = e;
|
|
@@ -12867,7 +12906,7 @@ var hv = new class {
|
|
|
12867
12906
|
});
|
|
12868
12907
|
}
|
|
12869
12908
|
registerCanvasNode(e, t = e.getAttribute?.("type") || "2d") {
|
|
12870
|
-
let n = this.getCanvasNodeId(e), r = !this.canvasNodes.has(n), i = e.getBoundingClientRect?.(), a = Math.round(i?.width || 0), o = Math.round(i?.height || 0), s =
|
|
12909
|
+
let n = this.getCanvasNodeId(e), r = !this.canvasNodes.has(n), i = e.getBoundingClientRect?.(), a = Math.round(i?.width || 0), o = Math.round(i?.height || 0), s = se(a, o, { allowZero: !0 });
|
|
12871
12910
|
return r && !s && a > 0 && o > 0 && (e.width !== a && (e.width = a), e.height !== o && (e.height = o)), r && this.canvasNodes.set(n, {
|
|
12872
12911
|
canvas: e,
|
|
12873
12912
|
contexts: /* @__PURE__ */ new Map(),
|
|
@@ -12882,7 +12921,7 @@ var hv = new class {
|
|
|
12882
12921
|
};
|
|
12883
12922
|
}
|
|
12884
12923
|
createOffscreenCanvas({ bridgeId: e, params: t }) {
|
|
12885
|
-
let { nodeId: n, width: r = 300, height: i = 150, type: a = "2d" } = t, o =
|
|
12924
|
+
let { nodeId: n, width: r = 300, height: i = 150, type: a = "2d" } = t, o = se(r, i, { allowZero: !0 });
|
|
12886
12925
|
if (o) {
|
|
12887
12926
|
console.warn("[system]", "[render]", `createOffscreenCanvas ${n} rejected: ${o}`);
|
|
12888
12927
|
return;
|
|
@@ -12897,7 +12936,7 @@ var hv = new class {
|
|
|
12897
12936
|
}), (a === "webgl" || a === "experimental-webgl" || a === "webgl2") && this.publishCanvasCapabilities(e);
|
|
12898
12937
|
}
|
|
12899
12938
|
createGameCanvas({ bridgeId: e, params: t }) {
|
|
12900
|
-
let { nodeId: n, width: r = 300, height: i = 150, type: a = "2d" } = t, o =
|
|
12939
|
+
let { nodeId: n, width: r = 300, height: i = 150, type: a = "2d" } = t, o = se(r, i, { allowZero: !0 });
|
|
12901
12940
|
if (o) {
|
|
12902
12941
|
console.warn("[system]", "[render]", `createGameCanvas ${n} rejected: ${o}`);
|
|
12903
12942
|
return;
|
|
@@ -12979,7 +13018,11 @@ var hv = new class {
|
|
|
12979
13018
|
for (let [e, t] of l) s.removeEventListener(e, t);
|
|
12980
13019
|
s.remove();
|
|
12981
13020
|
}
|
|
12982
|
-
}), this.publishCanvasCapabilities(e)
|
|
13021
|
+
}), this.publishCanvasCapabilities(e), ke.invoke({
|
|
13022
|
+
type: "domReady",
|
|
13023
|
+
target: "container",
|
|
13024
|
+
body: this.createDomReadyBody(e)
|
|
13025
|
+
});
|
|
12983
13026
|
}
|
|
12984
13027
|
disposeCanvasNode(e, t) {
|
|
12985
13028
|
let n = this.canvasNodes.get(e);
|
|
@@ -13010,7 +13053,7 @@ var hv = new class {
|
|
|
13010
13053
|
}
|
|
13011
13054
|
if (e.__canvasArrayBuffer) return new Uint8Array(e.data || []).buffer;
|
|
13012
13055
|
if (e.__canvasImageData) {
|
|
13013
|
-
let n =
|
|
13056
|
+
let n = se(e.width, e.height, { transferable: !0 });
|
|
13014
13057
|
if (n) throw RangeError(n);
|
|
13015
13058
|
let r = t?.createImageData?.(e.width, e.height);
|
|
13016
13059
|
if (!r?.data) throw TypeError("target context cannot create ImageData");
|
|
@@ -13040,7 +13083,7 @@ var hv = new class {
|
|
|
13040
13083
|
switch (t.op) {
|
|
13041
13084
|
case "setCanvasProperty":
|
|
13042
13085
|
if (t.prop === "width" || t.prop === "height") {
|
|
13043
|
-
let n =
|
|
13086
|
+
let n = se(t.prop === "width" ? t.value : e.canvas.width, t.prop === "height" ? t.value : e.canvas.height, { allowZero: !0 });
|
|
13044
13087
|
if (n) throw RangeError(n);
|
|
13045
13088
|
}
|
|
13046
13089
|
e.canvas[t.prop] = t.value;
|
|
@@ -13102,7 +13145,7 @@ var hv = new class {
|
|
|
13102
13145
|
if (typeof r != "function" && !i) break;
|
|
13103
13146
|
let a = (t.args || []).map((e) => this.resolveCanvasArg(e, n));
|
|
13104
13147
|
if (t.method === "putImageData" && a[0]?.data instanceof Uint8ClampedArray && Object.prototype.toString.call(a[0]) !== "[object ImageData]") {
|
|
13105
|
-
let e = a[0], t =
|
|
13148
|
+
let e = a[0], t = se(e.width, e.height, { transferable: !0 });
|
|
13106
13149
|
if (t) throw RangeError(t);
|
|
13107
13150
|
let r = n.createImageData(e.width, e.height);
|
|
13108
13151
|
if (r.data.length !== e.data.length) throw RangeError("ImageData data length does not match its dimensions");
|
|
@@ -13243,7 +13286,7 @@ var hv = new class {
|
|
|
13243
13286
|
case "getImageData": {
|
|
13244
13287
|
let e = this.getCanvasResource(t.contextId);
|
|
13245
13288
|
if (e) {
|
|
13246
|
-
let r =
|
|
13289
|
+
let r = se(t.width, t.height, { transferable: !0 });
|
|
13247
13290
|
if (r) throw RangeError(r);
|
|
13248
13291
|
let i = e.getImageData(t.x, t.y, t.width, t.height), a = t.resultEnvelope ? {
|
|
13249
13292
|
__canvasImageData: !0,
|
|
@@ -13460,7 +13503,7 @@ var hv = new class {
|
|
|
13460
13503
|
});
|
|
13461
13504
|
}
|
|
13462
13505
|
ensureCanvasResolution(e) {
|
|
13463
|
-
let t = e.getBoundingClientRect(), n = Math.max(Math.round(t.width), 1), r = Math.max(Math.round(t.height), 1), i =
|
|
13506
|
+
let t = e.getBoundingClientRect(), n = Math.max(Math.round(t.width), 1), r = Math.max(Math.round(t.height), 1), i = se(n, r);
|
|
13464
13507
|
if (i) throw RangeError(i);
|
|
13465
13508
|
let a = !1;
|
|
13466
13509
|
return e.width !== n && (e.width = n, a = !0), e.height !== r && (e.height = r, a = !0), a;
|
|
@@ -13695,7 +13738,7 @@ var hv = new class {
|
|
|
13695
13738
|
this.triggerCanvasFailure(e, t, `canvasGetImageData:fail canvas ${t.canvasId} not found`);
|
|
13696
13739
|
return;
|
|
13697
13740
|
}
|
|
13698
|
-
let i =
|
|
13741
|
+
let i = se(t.width, t.height, { transferable: !0 });
|
|
13699
13742
|
if (i) {
|
|
13700
13743
|
this.triggerCanvasFailure(e, t, `canvasGetImageData:fail ${i}`);
|
|
13701
13744
|
return;
|
|
@@ -13725,7 +13768,7 @@ var hv = new class {
|
|
|
13725
13768
|
this.triggerCanvasFailure(e, t, `canvasPutImageData:fail canvas ${t.canvasId} not found`);
|
|
13726
13769
|
return;
|
|
13727
13770
|
}
|
|
13728
|
-
let i =
|
|
13771
|
+
let i = se(t.width, t.height, { transferable: !0 });
|
|
13729
13772
|
if (i) {
|
|
13730
13773
|
this.triggerCanvasFailure(e, t, `canvasPutImageData:fail ${i}`);
|
|
13731
13774
|
return;
|
|
@@ -13907,7 +13950,7 @@ var hv = new class {
|
|
|
13907
13950
|
init() {
|
|
13908
13951
|
this.message.on("loadResource", (e) => {
|
|
13909
13952
|
let { bridgeId: t, appId: n, pagePath: r, root: i = ".", baseUrl: a = "/", resourceLoadId: o, runtimeType: s } = e;
|
|
13910
|
-
Me.loadResource({
|
|
13953
|
+
hv.registerResourceLoad(t, o), Me.loadResource({
|
|
13911
13954
|
bridgeId: t,
|
|
13912
13955
|
appId: n,
|
|
13913
13956
|
pagePath: r,
|