@pie-players/pie-tool-annotation-toolbar 1.0.0-beta.6 → 1.0.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/element-props.d.ts +14 -0
- package/dist/index.d.ts +9 -1
- package/dist/tool-annotation-toolbar.js +226 -223
- package/package.json +5 -5
|
@@ -2,14 +2,15 @@ import { coerceBooleanAttributes as na } from "@pie-players/pie-players-shared/u
|
|
|
2
2
|
import { HighlightColor as yt, catalogContextHolding as ra, composedClosest as ia, composedContains as wr, connectToolRegionScopeContext as oa, connectToolRuntimeContext as aa, connectToolShellContext as sa, findShellScopeHost as la, isShadowRootNode as Pr, isTTSStartFailure as fa, reportToolFailure as lr, resolveContentRegion as ua, retargetToTree as ca } from "@pie-players/pie-assessment-toolkit/tools/registration";
|
|
3
3
|
import { resolveInterfaceI18n as da } from "@pie-players/pie-players-shared/i18n/provider";
|
|
4
4
|
import { sanitizeSvgIcon as ha } from "@pie-players/pie-players-shared/security";
|
|
5
|
+
import { isComposingKeyEvent as va } from "@pie-players/pie-players-shared";
|
|
5
6
|
if (typeof window < "u") {
|
|
6
7
|
var si, li;
|
|
7
8
|
((si = (li = window).__svelte ?? (li.__svelte = {})).v ?? (si.v = /* @__PURE__ */ new Set())).add("5");
|
|
8
9
|
}
|
|
9
10
|
var Ve = {}, z = /* @__PURE__ */ Symbol("uninitialized");
|
|
10
|
-
var
|
|
11
|
+
var _a = "http://www.w3.org/2000/svg", pa = "http://www.w3.org/1998/Math/MathML", Li = Array.isArray, ga = Array.prototype.indexOf, tn = Array.prototype.includes, Yn = Array.from, Nn = Object.keys, nn = Object.defineProperty, ft = Object.getOwnPropertyDescriptor, ba = Object.getOwnPropertyDescriptors, wa = Object.prototype, ma = Array.prototype, Ni = Object.getPrototypeOf, fi = Object.isExtensible, ya = () => {
|
|
11
12
|
};
|
|
12
|
-
function
|
|
13
|
+
function ka(e) {
|
|
13
14
|
for (var t = 0; t < e.length; t++) e[t]();
|
|
14
15
|
}
|
|
15
16
|
function Pi() {
|
|
@@ -30,7 +31,7 @@ function rn(e) {
|
|
|
30
31
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
31
32
|
}, rn(e);
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
+
function $a(e, t) {
|
|
34
35
|
if (rn(e) != "object" || !e) return e;
|
|
35
36
|
var n = e[Symbol.toPrimitive];
|
|
36
37
|
if (n !== void 0) {
|
|
@@ -40,31 +41,31 @@ function ka(e, t) {
|
|
|
40
41
|
}
|
|
41
42
|
return (t === "string" ? String : Number)(e);
|
|
42
43
|
}
|
|
43
|
-
function
|
|
44
|
-
var t =
|
|
44
|
+
function Sa(e) {
|
|
45
|
+
var t = $a(e, "string");
|
|
45
46
|
return rn(t) == "symbol" ? t : t + "";
|
|
46
47
|
}
|
|
47
48
|
function q(e, t, n) {
|
|
48
|
-
return (t =
|
|
49
|
+
return (t = Sa(t)) in e ? Object.defineProperty(e, t, {
|
|
49
50
|
value: n,
|
|
50
51
|
enumerable: !0,
|
|
51
52
|
configurable: !0,
|
|
52
53
|
writable: !0
|
|
53
54
|
}) : e[t] = n, e;
|
|
54
55
|
}
|
|
55
|
-
var
|
|
56
|
+
var Dl = 1 << 24, _e = 1024, ce = 2048, pt = 4096, Ir = 8192, Ii = 16384, qr = 32768, mr = 1 << 25, Wr = 65536, jl = 1 << 17, Hl = 1 << 18, Lt = 1 << 19, Ea = 1 << 20, Zt = 1 << 25, ui = 1 << 21, Ta = 1 << 22, Pn = 1 << 23, Jt = /* @__PURE__ */ Symbol("$state"), qi = /* @__PURE__ */ Symbol("component"), Wi = /* @__PURE__ */ Symbol("legacy props"), Aa = /* @__PURE__ */ Symbol(""), xa = /* @__PURE__ */ Symbol("proxy path"), yr = /* @__PURE__ */ Symbol("attributes"), kr = /* @__PURE__ */ Symbol("class"), $r = /* @__PURE__ */ Symbol("style"), Rn = /* @__PURE__ */ Symbol("text");
|
|
56
57
|
var un = new class extends Error {
|
|
57
58
|
constructor(...t) {
|
|
58
59
|
super(...t), q(this, "name", "StaleReactionError"), q(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
|
|
59
60
|
}
|
|
60
|
-
}(),
|
|
61
|
-
function
|
|
61
|
+
}(), Ma = !!globalThis.document?.contentType && /* @__PURE__ */ globalThis.document.contentType.includes("xml");
|
|
62
|
+
function Ra() {
|
|
62
63
|
console.warn("https://svelte.dev/e/derived_inert");
|
|
63
64
|
}
|
|
64
65
|
function cn(e) {
|
|
65
66
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
+
function Ca() {
|
|
68
69
|
console.warn("https://svelte.dev/e/svelte_boundary_reset_noop");
|
|
69
70
|
}
|
|
70
71
|
var M = !1;
|
|
@@ -87,7 +88,7 @@ function zt(e) {
|
|
|
87
88
|
C = e;
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function Oa(e = 1) {
|
|
91
92
|
if (M) {
|
|
92
93
|
for (var t = e, n = C; t--; ) n = /* @__PURE__ */ Te(n);
|
|
93
94
|
C = n;
|
|
@@ -114,54 +115,54 @@ function Dr(e) {
|
|
|
114
115
|
function Di(e) {
|
|
115
116
|
return e === this.v;
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
+
function La(e, t) {
|
|
118
119
|
return e != e ? t == t : e !== t || e !== null && typeof e == "object" || typeof e == "function";
|
|
119
120
|
}
|
|
120
121
|
function ji(e) {
|
|
121
|
-
return !
|
|
122
|
+
return !La(e, this.v);
|
|
122
123
|
}
|
|
123
|
-
function
|
|
124
|
+
function Na() {
|
|
124
125
|
throw new Error("https://svelte.dev/e/async_derived_orphan");
|
|
125
126
|
}
|
|
126
|
-
function
|
|
127
|
+
function Pa(e, t, n) {
|
|
127
128
|
throw new Error("https://svelte.dev/e/each_key_duplicate");
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
+
function Ia(e) {
|
|
130
131
|
throw new Error("https://svelte.dev/e/effect_in_teardown");
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
+
function qa() {
|
|
133
134
|
throw new Error("https://svelte.dev/e/effect_in_unowned_derived");
|
|
134
135
|
}
|
|
135
|
-
function
|
|
136
|
+
function Wa(e) {
|
|
136
137
|
throw new Error("https://svelte.dev/e/effect_orphan");
|
|
137
138
|
}
|
|
138
|
-
function
|
|
139
|
+
function Da() {
|
|
139
140
|
throw new Error("https://svelte.dev/e/effect_update_depth_exceeded");
|
|
140
141
|
}
|
|
141
|
-
function
|
|
142
|
+
function ja() {
|
|
142
143
|
throw new Error("https://svelte.dev/e/hydration_failed");
|
|
143
144
|
}
|
|
144
|
-
function
|
|
145
|
+
function Ha(e) {
|
|
145
146
|
throw new Error("https://svelte.dev/e/props_invalid_value");
|
|
146
147
|
}
|
|
147
|
-
function
|
|
148
|
+
function Va() {
|
|
148
149
|
throw new Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
149
150
|
}
|
|
150
|
-
function
|
|
151
|
+
function Fa() {
|
|
151
152
|
throw new Error("https://svelte.dev/e/state_prototype_fixed");
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
+
function Ba() {
|
|
154
155
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
155
156
|
}
|
|
156
|
-
function
|
|
157
|
+
function za() {
|
|
157
158
|
throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror");
|
|
158
159
|
}
|
|
159
160
|
var Be = !1, Kn = !1;
|
|
160
161
|
function ci(e, t) {
|
|
161
|
-
return e.label = t,
|
|
162
|
+
return e.label = t, Ua(e.v, t), e;
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
-
return e?.[
|
|
164
|
+
function Ua(e, t) {
|
|
165
|
+
return e?.[xa]?.(t), e;
|
|
165
166
|
}
|
|
166
167
|
var F = null;
|
|
167
168
|
function Rt(e) {
|
|
@@ -200,7 +201,7 @@ function dn() {
|
|
|
200
201
|
var ot = [];
|
|
201
202
|
function Fi() {
|
|
202
203
|
var e = ot;
|
|
203
|
-
ot = [],
|
|
204
|
+
ot = [], ka(e);
|
|
204
205
|
}
|
|
205
206
|
function Je(e) {
|
|
206
207
|
if (ot.length === 0 && !Qt) {
|
|
@@ -211,12 +212,12 @@ function Je(e) {
|
|
|
211
212
|
}
|
|
212
213
|
ot.push(e);
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
+
function Ga() {
|
|
215
216
|
for (; ot.length > 0; ) Fi();
|
|
216
217
|
}
|
|
217
|
-
var
|
|
218
|
+
var Ya = ~(ce | pt | _e);
|
|
218
219
|
function j(e, t) {
|
|
219
|
-
e.f = e.f &
|
|
220
|
+
e.f = e.f & Ya | t;
|
|
220
221
|
}
|
|
221
222
|
function Hr(e) {
|
|
222
223
|
(e.f & 512) !== 0 || e.deps === null ? j(e, _e) : j(e, pt);
|
|
@@ -233,14 +234,14 @@ function Xn(e) {
|
|
|
233
234
|
ge(t), Ne(n);
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
|
-
function
|
|
237
|
+
function Ka(e, t, n, r) {
|
|
237
238
|
const i = dn() ? on : Vr;
|
|
238
239
|
var o = e.filter((h) => !h.settled), a = t.map(i);
|
|
239
240
|
if (n.length === 0 && o.length === 0) {
|
|
240
241
|
r(a);
|
|
241
242
|
return;
|
|
242
243
|
}
|
|
243
|
-
var f = A, c =
|
|
244
|
+
var f = A, c = Xa(), p = o.length === 1 ? o[0].promise : o.length > 1 ? Promise.all(o.map((h) => h.promise)) : null;
|
|
244
245
|
function _(h) {
|
|
245
246
|
if ((f.f & 16384) === 0) {
|
|
246
247
|
c();
|
|
@@ -258,7 +259,7 @@ function Ya(e, t, n, r) {
|
|
|
258
259
|
return;
|
|
259
260
|
}
|
|
260
261
|
function d() {
|
|
261
|
-
Promise.all(n.map((h) => /* @__PURE__ */
|
|
262
|
+
Promise.all(n.map((h) => /* @__PURE__ */ Ja(h))).then(_).catch((h) => Le(h, f)).finally(u);
|
|
262
263
|
}
|
|
263
264
|
p ? p.then(() => {
|
|
264
265
|
if ((f.f & 16384) !== 0) {
|
|
@@ -268,16 +269,16 @@ function Ya(e, t, n, r) {
|
|
|
268
269
|
c(), d(), qn();
|
|
269
270
|
}) : d();
|
|
270
271
|
}
|
|
271
|
-
function
|
|
272
|
+
function Xa() {
|
|
272
273
|
var e = A, t = R, n = F, r = x;
|
|
273
274
|
if (0) var i;
|
|
274
275
|
return function(a = !0) {
|
|
275
276
|
Ne(e), ge(t), Rt(n), a && (e.f & 16384) === 0 && (r?.activate(), r?.apply());
|
|
276
277
|
};
|
|
277
278
|
}
|
|
278
|
-
var
|
|
279
|
+
var Za = !1;
|
|
279
280
|
function qn(e = !0) {
|
|
280
|
-
|
|
281
|
+
Za = !1, Ne(null), ge(null), Rt(null), e && x?.deactivate();
|
|
281
282
|
}
|
|
282
283
|
function zi() {
|
|
283
284
|
var e = A, t = e.b, n = x, r = !!t?.is_rendered();
|
|
@@ -305,11 +306,11 @@ function on(e) {
|
|
|
305
306
|
}
|
|
306
307
|
var Ut = /* @__PURE__ */ Symbol("obsolete");
|
|
307
308
|
// @__NO_SIDE_EFFECTS__
|
|
308
|
-
function
|
|
309
|
+
function Ja(e, t, n) {
|
|
309
310
|
let r = A;
|
|
310
|
-
r === null &&
|
|
311
|
+
r === null && Na();
|
|
311
312
|
var i = void 0, o = _t(z), a = !R, f = /* @__PURE__ */ new Set();
|
|
312
|
-
return
|
|
313
|
+
return ps(() => {
|
|
313
314
|
var c = A, p = Pi();
|
|
314
315
|
i = p.promise;
|
|
315
316
|
try {
|
|
@@ -330,7 +331,7 @@ function Za(e, t, n) {
|
|
|
330
331
|
u?.(), f.delete(p), b !== Ut && (_.activate(), b ? (o.f |= Pn, Ct(o, b)) : ((o.f & 8388608) !== 0 && (o.f ^= Pn), Ct(o, h)), _.deactivate());
|
|
331
332
|
};
|
|
332
333
|
p.promise.then(d, (h) => d(null, h || "unknown"));
|
|
333
|
-
}),
|
|
334
|
+
}), hs(() => {
|
|
334
335
|
for (const c of f) c.reject(Ut);
|
|
335
336
|
}), new Promise((c) => {
|
|
336
337
|
function p(_) {
|
|
@@ -352,7 +353,7 @@ function Vr(e) {
|
|
|
352
353
|
const t = /* @__PURE__ */ on(e);
|
|
353
354
|
return t.equals = ji, t;
|
|
354
355
|
}
|
|
355
|
-
function
|
|
356
|
+
function Qa(e) {
|
|
356
357
|
var t = e.effects;
|
|
357
358
|
if (t !== null) {
|
|
358
359
|
e.effects = null;
|
|
@@ -362,10 +363,10 @@ function Ja(e) {
|
|
|
362
363
|
function Fr(e) {
|
|
363
364
|
var t, n = A, r = e.parent;
|
|
364
365
|
if (!Fe && r !== null && e.v !== z && (r.f & 24576) !== 0)
|
|
365
|
-
return
|
|
366
|
+
return Ra(), e.v;
|
|
366
367
|
Ne(r);
|
|
367
368
|
try {
|
|
368
|
-
|
|
369
|
+
Qa(e), t = $o(e);
|
|
369
370
|
} finally {
|
|
370
371
|
Ne(n);
|
|
371
372
|
}
|
|
@@ -379,11 +380,11 @@ function Ui(e) {
|
|
|
379
380
|
}
|
|
380
381
|
Fe || (te !== null ? (Gr() || x?.is_fork) && te.set(e, t) : Hr(e));
|
|
381
382
|
}
|
|
382
|
-
function
|
|
383
|
+
function es(e) {
|
|
383
384
|
if (e.effects !== null)
|
|
384
385
|
for (const t of e.effects) (t.teardown || t.ac) && (t.teardown?.(), t.ac !== null && Xn(() => {
|
|
385
386
|
t.ac.abort(un), t.ac = null;
|
|
386
|
-
}), t.fn !== null && (t.teardown =
|
|
387
|
+
}), t.fn !== null && (t.teardown = ya), ln(t, 0), Xr(t));
|
|
387
388
|
}
|
|
388
389
|
function Gi(e) {
|
|
389
390
|
if (e.effects !== null)
|
|
@@ -409,9 +410,9 @@ function l(e, t) {
|
|
|
409
410
|
return e.get($(e, t));
|
|
410
411
|
}
|
|
411
412
|
var Ki, Wn = null, kt = null, x = null, At = null, te = null, Sr = null, Qt = !1, fr = !1, an = null, Dn = null, Xi = 0;
|
|
412
|
-
var
|
|
413
|
+
var ts = 1, jn = /* @__PURE__ */ new WeakMap(), ut = /* @__PURE__ */ new WeakMap(), at = /* @__PURE__ */ new WeakMap(), Hn = /* @__PURE__ */ new WeakMap(), $n = /* @__PURE__ */ new WeakMap(), $t = /* @__PURE__ */ new WeakMap(), rt = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap(), me = /* @__PURE__ */ new WeakMap(), Er = /* @__PURE__ */ new WeakMap(), vt = /* @__PURE__ */ new WeakMap(), je = /* @__PURE__ */ new WeakMap(), Xe = /* @__PURE__ */ new WeakMap(), Cn = /* @__PURE__ */ new WeakMap(), Yt = /* @__PURE__ */ new WeakMap(), D = /* @__PURE__ */ new WeakSet(), gt = class Zi {
|
|
413
414
|
constructor() {
|
|
414
|
-
Br(this, D), q(this, "id",
|
|
415
|
+
Br(this, D), q(this, "id", ts++), E(this, jn, !1), q(this, "linked", !0), E(this, ut, null), E(this, at, null), q(this, "async_deriveds", /* @__PURE__ */ new Map()), q(this, "current", /* @__PURE__ */ new Map()), q(this, "previous", /* @__PURE__ */ new Map()), E(this, Hn, /* @__PURE__ */ new Set()), E(this, $n, /* @__PURE__ */ new Set()), E(this, $t, 0), E(this, rt, /* @__PURE__ */ new Map()), E(this, Gt, null), E(this, me, []), E(this, Er, []), E(this, vt, /* @__PURE__ */ new Set()), E(this, je, /* @__PURE__ */ new Set()), E(this, Xe, /* @__PURE__ */ new Map()), E(this, Cn, /* @__PURE__ */ new Set()), q(this, "is_fork", !1), E(this, Yt, !1), kt === null ? Wn = kt = this : (S(at, kt, this), S(ut, this, kt)), kt = this;
|
|
415
416
|
}
|
|
416
417
|
skip_effect(t) {
|
|
417
418
|
l(Xe, this).has(t) || l(Xe, this).set(t, {
|
|
@@ -564,7 +565,7 @@ function Vn() {
|
|
|
564
565
|
j(a, pt), this.schedule(a);
|
|
565
566
|
this.apply();
|
|
566
567
|
for (var e = an = [], t = [], n = Dn = []; l(me, this).length > 0; ) {
|
|
567
|
-
Xi++ > 1e3 && ($(D, this, Fn).call(this),
|
|
568
|
+
Xi++ > 1e3 && ($(D, this, Fn).call(this), os());
|
|
568
569
|
for (const a of $(D, this, Ji).call(this)) try {
|
|
569
570
|
$(D, this, Qi).call(this, a, e, t);
|
|
570
571
|
} catch (f) {
|
|
@@ -581,16 +582,16 @@ function Vn() {
|
|
|
581
582
|
n.length > 0 && $(D, x, Vn).call(x);
|
|
582
583
|
return;
|
|
583
584
|
}
|
|
584
|
-
const i = $(D, this,
|
|
585
|
+
const i = $(D, this, ns).call(this);
|
|
585
586
|
if (i) {
|
|
586
|
-
$(D, this, Kt).call(this, t), $(D, this, Kt).call(this, e), $(D, i,
|
|
587
|
+
$(D, this, Kt).call(this, t), $(D, this, Kt).call(this, e), $(D, i, rs).call(i, this);
|
|
587
588
|
return;
|
|
588
589
|
}
|
|
589
590
|
l(vt, this).clear(), l(je, this).clear();
|
|
590
591
|
for (const a of l(Hn, this)) a(this);
|
|
591
592
|
l(Hn, this).clear(), At = this, hi(t), hi(e), At = null, l(Gt, this)?.resolve();
|
|
592
593
|
var o = x;
|
|
593
|
-
if (l($t, this) === 0 && (l(me, this).length === 0 || o !== null) && ($(D, this, Fn).call(this), Be && ($(D, this,
|
|
594
|
+
if (l($t, this) === 0 && (l(me, this).length === 0 || o !== null) && ($(D, this, Fn).call(this), Be && ($(D, this, is).call(this), x = o)), l(me, this).length > 0)
|
|
594
595
|
if (o !== null) {
|
|
595
596
|
for (const a of l(me, this)) l(me, o).push(a);
|
|
596
597
|
S(me, this, []);
|
|
@@ -619,7 +620,7 @@ function Qi(e, t, n) {
|
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
622
|
}
|
|
622
|
-
function
|
|
623
|
+
function ns() {
|
|
623
624
|
for (var e = l(ut, this); e !== null; ) {
|
|
624
625
|
if (!e.is_fork) {
|
|
625
626
|
for (const [t, [, n]] of this.current) if (e.current.has(t) && !n) return e;
|
|
@@ -628,7 +629,7 @@ function ts() {
|
|
|
628
629
|
}
|
|
629
630
|
return null;
|
|
630
631
|
}
|
|
631
|
-
function
|
|
632
|
+
function rs(e) {
|
|
632
633
|
for (const [n, r] of e.current)
|
|
633
634
|
!this.previous.has(n) && e.previous.has(n) && this.previous.set(n, e.previous.get(n)), this.current.set(n, r);
|
|
634
635
|
for (const [n, r] of e.async_deriveds) {
|
|
@@ -654,7 +655,7 @@ function ns(e) {
|
|
|
654
655
|
function Kt(e) {
|
|
655
656
|
for (var t = 0; t < e.length; t += 1) Bi(e[t], l(vt, this), l(je, this));
|
|
656
657
|
}
|
|
657
|
-
function
|
|
658
|
+
function is() {
|
|
658
659
|
for (let _ = Wn; _ !== null; _ = l(at, _)) {
|
|
659
660
|
var e = _.id < this.id, t = [];
|
|
660
661
|
for (const [u, [d, h]] of this.current) {
|
|
@@ -709,21 +710,21 @@ function sn(e) {
|
|
|
709
710
|
try {
|
|
710
711
|
var r;
|
|
711
712
|
for (e && (sn(), r = e()); ; ) {
|
|
712
|
-
if (
|
|
713
|
+
if (Ga(), x === null) return r;
|
|
713
714
|
x.flush();
|
|
714
715
|
}
|
|
715
716
|
} finally {
|
|
716
717
|
Qt = t, At = n;
|
|
717
718
|
}
|
|
718
719
|
}
|
|
719
|
-
function
|
|
720
|
+
function os() {
|
|
720
721
|
if (0) {
|
|
721
722
|
var e;
|
|
722
723
|
for (const n of x.current.keys()) for (const [r, i] of n.updated ?? [])
|
|
723
724
|
var t;
|
|
724
725
|
}
|
|
725
726
|
try {
|
|
726
|
-
|
|
727
|
+
Da();
|
|
727
728
|
} catch (n) {
|
|
728
729
|
Le(n, Sr);
|
|
729
730
|
}
|
|
@@ -813,7 +814,7 @@ function io(e, t = !1, n = !0) {
|
|
|
813
814
|
return r;
|
|
814
815
|
}
|
|
815
816
|
function L(e, t, n = !1) {
|
|
816
|
-
R !== null && (!ye || (R.f & 131072) !== 0) && dn() && (R.f & 4325394) !== 0 && ($e === null || !$e.has(e)) &&
|
|
817
|
+
R !== null && (!ye || (R.f & 131072) !== 0) && dn() && (R.f & 4325394) !== 0 && ($e === null || !$e.has(e)) && Ba();
|
|
817
818
|
let r = n ? st(t) : t;
|
|
818
819
|
return Ct(e, r, Dn);
|
|
819
820
|
}
|
|
@@ -826,11 +827,11 @@ function Ct(e, t, n = null) {
|
|
|
826
827
|
const i = e;
|
|
827
828
|
(e.f & 2048) !== 0 && Fr(i), te === null && Hr(i);
|
|
828
829
|
}
|
|
829
|
-
e.wv = yo(), it = null, Tr = 0, oo(e, ce, n), it = null, dn() && A !== null && (A.f & 1024) !== 0 && (A.f & 96) === 0 && (ve === null ?
|
|
830
|
+
e.wv = yo(), it = null, Tr = 0, oo(e, ce, n), it = null, dn() && A !== null && (A.f & 1024) !== 0 && (A.f & 96) === 0 && (ve === null ? ws([e]) : ve.push(e)), !r.is_fork && Bn.size > 0 && !ro && as();
|
|
830
831
|
}
|
|
831
832
|
return t;
|
|
832
833
|
}
|
|
833
|
-
function
|
|
834
|
+
function as() {
|
|
834
835
|
ro = !1;
|
|
835
836
|
for (const e of Bn) {
|
|
836
837
|
(e.f & 1024) !== 0 && j(e, pt);
|
|
@@ -871,11 +872,11 @@ function oo(e, t, n) {
|
|
|
871
872
|
}
|
|
872
873
|
}
|
|
873
874
|
}
|
|
874
|
-
var
|
|
875
|
+
var ss = /^[a-zA-Z_$][a-zA-Z_$0-9]*$/;
|
|
875
876
|
function st(e) {
|
|
876
877
|
if (typeof e != "object" || e === null || Jt in e || qi in e) return e;
|
|
877
878
|
const t = Ni(e);
|
|
878
|
-
if (t !==
|
|
879
|
+
if (t !== wa && t !== ma) return e;
|
|
879
880
|
var n = /* @__PURE__ */ new Map(), r = Li(e), i = /* @__PURE__ */ V(0), o = null, a = ct, f = (u) => {
|
|
880
881
|
if (ct === a) return u();
|
|
881
882
|
var d = R, h = ct;
|
|
@@ -889,13 +890,13 @@ function st(e) {
|
|
|
889
890
|
function _(u) {
|
|
890
891
|
if (!p) {
|
|
891
892
|
p = !0, c = u, ci(i, `${c} version`);
|
|
892
|
-
for (const [d, h] of n) ci(h,
|
|
893
|
+
for (const [d, h] of n) ci(h, ls(c, d));
|
|
893
894
|
p = !1;
|
|
894
895
|
}
|
|
895
896
|
}
|
|
896
897
|
return new Proxy(e, {
|
|
897
898
|
defineProperty(u, d, h) {
|
|
898
|
-
(!("value" in h) || h.configurable === !1 || h.enumerable === !1 || h.writable === !1) &&
|
|
899
|
+
(!("value" in h) || h.configurable === !1 || h.enumerable === !1 || h.writable === !1) && Va();
|
|
899
900
|
var b = n.get(d);
|
|
900
901
|
return b === void 0 ? f(() => {
|
|
901
902
|
var w = /* @__PURE__ */ V(h.value, o);
|
|
@@ -982,17 +983,17 @@ function st(e) {
|
|
|
982
983
|
return d;
|
|
983
984
|
},
|
|
984
985
|
setPrototypeOf() {
|
|
985
|
-
|
|
986
|
+
Fa();
|
|
986
987
|
}
|
|
987
988
|
});
|
|
988
989
|
}
|
|
989
|
-
function
|
|
990
|
-
return typeof t == "symbol" ? `${e}[Symbol(${t.description ?? ""})]` :
|
|
990
|
+
function ls(e, t) {
|
|
991
|
+
return typeof t == "symbol" ? `${e}[Symbol(${t.description ?? ""})]` : ss.test(t) ? `${e}.${t}` : /^\d+$/.test(t) ? `${e}[${t}]` : `${e}['${t}']`;
|
|
991
992
|
}
|
|
992
|
-
var vi,
|
|
993
|
+
var vi, fs, ao, so, lo;
|
|
993
994
|
function Ar() {
|
|
994
995
|
if (vi === void 0) {
|
|
995
|
-
vi = window,
|
|
996
|
+
vi = window, fs = document, ao = /Firefox/.test(navigator.userAgent);
|
|
996
997
|
var e = Element.prototype, t = Node.prototype, n = Text.prototype;
|
|
997
998
|
so = ft(t, "firstChild").get, lo = ft(t, "nextSibling").get, fi(e) && (e[kr] = void 0, e[yr] = null, e[$r] = void 0, e.__e = void 0), fi(n) && (n[Rn] = void 0);
|
|
998
999
|
}
|
|
@@ -1066,7 +1067,7 @@ function Jn(e) {
|
|
|
1066
1067
|
for (; t !== null && t.nodeType === 3; )
|
|
1067
1068
|
t.remove(), e.nodeValue += t.nodeValue, t = e.nextSibling;
|
|
1068
1069
|
}
|
|
1069
|
-
function
|
|
1070
|
+
function us(e) {
|
|
1070
1071
|
var t = A;
|
|
1071
1072
|
if (t === null)
|
|
1072
1073
|
return R.f |= Pn, e;
|
|
@@ -1092,10 +1093,10 @@ function Le(e, t) {
|
|
|
1092
1093
|
throw e;
|
|
1093
1094
|
}
|
|
1094
1095
|
}
|
|
1095
|
-
function
|
|
1096
|
-
A === null && (R === null &&
|
|
1096
|
+
function cs(e) {
|
|
1097
|
+
A === null && (R === null && Wa(e), qa()), Fe && Ia(e);
|
|
1097
1098
|
}
|
|
1098
|
-
function
|
|
1099
|
+
function ds(e, t) {
|
|
1099
1100
|
var n = t.last;
|
|
1100
1101
|
n === null ? t.last = t.first = e : (n.next = e, e.prev = n, t.last = e);
|
|
1101
1102
|
}
|
|
@@ -1130,7 +1131,7 @@ function Pe(e, t) {
|
|
|
1130
1131
|
}
|
|
1131
1132
|
i.deps === null && i.teardown === null && i.nodes === null && i.first === i.last && (i.f & 524288) === 0 && (i = i.first, (e & 16) !== 0 && (e & 65536) !== 0 && i !== null && (i.f |= Wr));
|
|
1132
1133
|
}
|
|
1133
|
-
if (i !== null && (i.parent = n, n !== null &&
|
|
1134
|
+
if (i !== null && (i.parent = n, n !== null && ds(i, n), R !== null && (R.f & 2) !== 0 && (e & 64) === 0)) {
|
|
1134
1135
|
var o = R;
|
|
1135
1136
|
(o.effects ?? (o.effects = [])).push(i);
|
|
1136
1137
|
}
|
|
@@ -1139,12 +1140,12 @@ function Pe(e, t) {
|
|
|
1139
1140
|
function Gr() {
|
|
1140
1141
|
return R !== null && !ye;
|
|
1141
1142
|
}
|
|
1142
|
-
function
|
|
1143
|
+
function hs(e) {
|
|
1143
1144
|
const t = Pe(8, null);
|
|
1144
1145
|
return j(t, _e), t.teardown = e, t;
|
|
1145
1146
|
}
|
|
1146
1147
|
function Vt(e) {
|
|
1147
|
-
|
|
1148
|
+
cs("$effect");
|
|
1148
1149
|
var t = A.f;
|
|
1149
1150
|
if (!R && (t & 32) !== 0 && F !== null && !F.i) {
|
|
1150
1151
|
var n = F;
|
|
@@ -1152,16 +1153,16 @@ function Vt(e) {
|
|
|
1152
1153
|
} else return co(e);
|
|
1153
1154
|
}
|
|
1154
1155
|
function co(e) {
|
|
1155
|
-
return Pe(4 |
|
|
1156
|
+
return Pe(4 | Ea, e);
|
|
1156
1157
|
}
|
|
1157
|
-
function
|
|
1158
|
+
function vs(e) {
|
|
1158
1159
|
gt.ensure();
|
|
1159
1160
|
const t = Pe(64 | Lt, e);
|
|
1160
1161
|
return () => {
|
|
1161
1162
|
ne(t);
|
|
1162
1163
|
};
|
|
1163
1164
|
}
|
|
1164
|
-
function
|
|
1165
|
+
function _s(e) {
|
|
1165
1166
|
gt.ensure();
|
|
1166
1167
|
const t = Pe(64 | Lt, e);
|
|
1167
1168
|
return (n = {}) => new Promise((r) => {
|
|
@@ -1173,14 +1174,14 @@ function vs(e) {
|
|
|
1173
1174
|
function ho(e) {
|
|
1174
1175
|
return Pe(4, e);
|
|
1175
1176
|
}
|
|
1176
|
-
function
|
|
1177
|
-
return Pe(
|
|
1177
|
+
function ps(e) {
|
|
1178
|
+
return Pe(Ta | Lt, e);
|
|
1178
1179
|
}
|
|
1179
1180
|
function Yr(e, t = 0) {
|
|
1180
1181
|
return Pe(8 | t, e);
|
|
1181
1182
|
}
|
|
1182
1183
|
function We(e, t = [], n = [], r = []) {
|
|
1183
|
-
|
|
1184
|
+
Ka(r, t, n, (i) => {
|
|
1184
1185
|
Pe(8, () => {
|
|
1185
1186
|
e(...i.map(s));
|
|
1186
1187
|
});
|
|
@@ -1218,7 +1219,7 @@ function Xr(e, t = !1) {
|
|
|
1218
1219
|
(n.f & 64) !== 0 ? n.parent = null : ne(n, t), n = r;
|
|
1219
1220
|
}
|
|
1220
1221
|
}
|
|
1221
|
-
function
|
|
1222
|
+
function gs(e) {
|
|
1222
1223
|
for (var t = e.first; t !== null; ) {
|
|
1223
1224
|
var n = t.next;
|
|
1224
1225
|
(t.f & 32) === 0 && ne(t), t = n;
|
|
@@ -1292,7 +1293,7 @@ function Zr(e, t) {
|
|
|
1292
1293
|
t.append(n), n = i;
|
|
1293
1294
|
}
|
|
1294
1295
|
}
|
|
1295
|
-
var
|
|
1296
|
+
var bs = null, Fe = !1;
|
|
1296
1297
|
function _i(e) {
|
|
1297
1298
|
Fe = e;
|
|
1298
1299
|
}
|
|
@@ -1309,7 +1310,7 @@ function wo(e) {
|
|
|
1309
1310
|
R !== null && (!Be && (R.f & 2097152) !== 0 || (R.f & 2) !== 0) && ($e ?? ($e = /* @__PURE__ */ new Set())).add(e);
|
|
1310
1311
|
}
|
|
1311
1312
|
var re = null, se = 0, ve = null;
|
|
1312
|
-
function
|
|
1313
|
+
function ws(e) {
|
|
1313
1314
|
ve = e;
|
|
1314
1315
|
}
|
|
1315
1316
|
var mo = 1, lt = 0, ct = lt;
|
|
@@ -1357,7 +1358,7 @@ function $o(e) {
|
|
|
1357
1358
|
}
|
|
1358
1359
|
return (e.f & 8388608) !== 0 && (e.f ^= Pn), u;
|
|
1359
1360
|
} catch (b) {
|
|
1360
|
-
return gi(e),
|
|
1361
|
+
return gi(e), us(b);
|
|
1361
1362
|
} finally {
|
|
1362
1363
|
e.f ^= ui, re = t, se = n, ve = r, R = i, $e = o, Rt(a), ye = f, ct = c;
|
|
1363
1364
|
}
|
|
@@ -1376,10 +1377,10 @@ function gi(e) {
|
|
|
1376
1377
|
} else !n && t !== null && se < t.length && (ln(e, se), t.length = se);
|
|
1377
1378
|
return t;
|
|
1378
1379
|
}
|
|
1379
|
-
function
|
|
1380
|
+
function ms(e, t) {
|
|
1380
1381
|
let n = t.reactions;
|
|
1381
1382
|
if (n !== null) {
|
|
1382
|
-
var r =
|
|
1383
|
+
var r = ga.call(n, e);
|
|
1383
1384
|
if (r !== -1) {
|
|
1384
1385
|
var i = n.length - 1;
|
|
1385
1386
|
i === 0 ? n = t.reactions = null : (n[r] = n[i], n.pop());
|
|
@@ -1389,13 +1390,13 @@ function ws(e, t) {
|
|
|
1389
1390
|
var o = t;
|
|
1390
1391
|
(o.f & 512) !== 0 && (o.f ^= 512), o.v !== z && Hr(o), o.ac !== null && Xn(() => {
|
|
1391
1392
|
o.ac.abort(un), o.ac = null, j(o, ce);
|
|
1392
|
-
}),
|
|
1393
|
+
}), es(o), ln(o, 0);
|
|
1393
1394
|
}
|
|
1394
1395
|
}
|
|
1395
1396
|
function ln(e, t) {
|
|
1396
1397
|
var n = e.deps;
|
|
1397
1398
|
if (n !== null)
|
|
1398
|
-
for (var r = t; r < n.length; r++)
|
|
1399
|
+
for (var r = t; r < n.length; r++) ms(e, n[r]);
|
|
1399
1400
|
}
|
|
1400
1401
|
function Ot(e) {
|
|
1401
1402
|
var t = e.f;
|
|
@@ -1405,7 +1406,7 @@ function Ot(e) {
|
|
|
1405
1406
|
if (A = e, 0)
|
|
1406
1407
|
var r, i;
|
|
1407
1408
|
try {
|
|
1408
|
-
(t & 16777232) !== 0 ?
|
|
1409
|
+
(t & 16777232) !== 0 ? gs(e) : Xr(e), vo(e);
|
|
1409
1410
|
var o = $o(e);
|
|
1410
1411
|
if (e.teardown = typeof o == "function" ? o : null, e.wv = mo, 0)
|
|
1411
1412
|
for (var a of e.deps) ;
|
|
@@ -1414,7 +1415,7 @@ function Ot(e) {
|
|
|
1414
1415
|
}
|
|
1415
1416
|
}
|
|
1416
1417
|
}
|
|
1417
|
-
async function
|
|
1418
|
+
async function ys() {
|
|
1418
1419
|
if (Be) return new Promise((e) => {
|
|
1419
1420
|
requestAnimationFrame(() => e()), setTimeout(() => e());
|
|
1420
1421
|
});
|
|
@@ -1422,7 +1423,7 @@ async function ms() {
|
|
|
1422
1423
|
}
|
|
1423
1424
|
function s(e) {
|
|
1424
1425
|
var t = (e.f & 2) !== 0;
|
|
1425
|
-
if (
|
|
1426
|
+
if (bs?.add(e), R !== null && !ye && !(A !== null && (A.f & 16384) !== 0) && ($e === null || !$e.has(e))) {
|
|
1426
1427
|
var n = R.deps;
|
|
1427
1428
|
if ((R.f & 2097152) !== 0)
|
|
1428
1429
|
e.rv < lt && (e.rv = lt, re === null && n !== null && n[se] === e ? se++ : re === null ? re = [e] : re.push(e));
|
|
@@ -1481,7 +1482,7 @@ var Tt = /* @__PURE__ */ Symbol("events"), To = /* @__PURE__ */ new Set(), xr =
|
|
|
1481
1482
|
function Ge(e, t, n) {
|
|
1482
1483
|
(t[Tt] ?? (t[Tt] = {}))[e] = n;
|
|
1483
1484
|
}
|
|
1484
|
-
function
|
|
1485
|
+
function ks(e) {
|
|
1485
1486
|
for (var t = 0; t < e.length; t++) To.add(e[t]);
|
|
1486
1487
|
for (var n of xr) n(e);
|
|
1487
1488
|
}
|
|
@@ -1533,13 +1534,13 @@ function bi(e) {
|
|
|
1533
1534
|
}
|
|
1534
1535
|
}
|
|
1535
1536
|
}
|
|
1536
|
-
var
|
|
1537
|
-
function $s(e) {
|
|
1538
|
-
return ks?.createHTML(e) ?? e;
|
|
1539
|
-
}
|
|
1537
|
+
var $s = globalThis?.window?.trustedTypes && /* @__PURE__ */ globalThis.window.trustedTypes.createPolicy("svelte-trusted-html", { createHTML: (e) => e });
|
|
1540
1538
|
function Ss(e) {
|
|
1539
|
+
return $s?.createHTML(e) ?? e;
|
|
1540
|
+
}
|
|
1541
|
+
function Es(e) {
|
|
1541
1542
|
var t = Zn("template");
|
|
1542
|
-
return t.innerHTML =
|
|
1543
|
+
return t.innerHTML = Ss(e.replaceAll("<!>", "<!---->")), t.content;
|
|
1543
1544
|
}
|
|
1544
1545
|
function He(e, t) {
|
|
1545
1546
|
var n = A;
|
|
@@ -1556,7 +1557,7 @@ function Ie(e, t) {
|
|
|
1556
1557
|
return () => {
|
|
1557
1558
|
if (M)
|
|
1558
1559
|
return He(C, null), C;
|
|
1559
|
-
i === void 0 && (i =
|
|
1560
|
+
i === void 0 && (i = Es(o ? e : "<!>" + e), n || (i = /* @__PURE__ */ le(i)));
|
|
1560
1561
|
var a = r || ao ? document.importNode(i, !0) : i.cloneNode(!0);
|
|
1561
1562
|
if (n) {
|
|
1562
1563
|
var f = /* @__PURE__ */ le(a), c = a.lastChild;
|
|
@@ -1565,7 +1566,7 @@ function Ie(e, t) {
|
|
|
1565
1566
|
return a;
|
|
1566
1567
|
};
|
|
1567
1568
|
}
|
|
1568
|
-
function
|
|
1569
|
+
function Ts(e = "") {
|
|
1569
1570
|
if (!M) {
|
|
1570
1571
|
var t = fe(e + "");
|
|
1571
1572
|
return He(t, t), t;
|
|
@@ -1581,7 +1582,7 @@ function he(e, t) {
|
|
|
1581
1582
|
}
|
|
1582
1583
|
e !== null && e.before(t);
|
|
1583
1584
|
}
|
|
1584
|
-
var
|
|
1585
|
+
var As = [
|
|
1585
1586
|
"allowfullscreen",
|
|
1586
1587
|
"async",
|
|
1587
1588
|
"autofocus",
|
|
@@ -1610,8 +1611,8 @@ var Ts = [
|
|
|
1610
1611
|
"defer",
|
|
1611
1612
|
"disablepictureinpicture",
|
|
1612
1613
|
"disableremoteplayback"
|
|
1613
|
-
],
|
|
1614
|
-
...
|
|
1614
|
+
], Fl = [
|
|
1615
|
+
...As,
|
|
1615
1616
|
"formNoValidate",
|
|
1616
1617
|
"isMap",
|
|
1617
1618
|
"noModule",
|
|
@@ -1626,17 +1627,17 @@ var Ts = [
|
|
|
1626
1627
|
"allowFullscreen",
|
|
1627
1628
|
"disablePictureInPicture",
|
|
1628
1629
|
"disableRemotePlayback"
|
|
1629
|
-
],
|
|
1630
|
-
function
|
|
1631
|
-
return
|
|
1630
|
+
], xs = ["touchstart", "touchmove"];
|
|
1631
|
+
function Ms(e) {
|
|
1632
|
+
return xs.includes(e);
|
|
1632
1633
|
}
|
|
1633
|
-
var
|
|
1634
|
+
var Rs = [
|
|
1634
1635
|
"$state",
|
|
1635
1636
|
"$state.raw",
|
|
1636
1637
|
"$derived",
|
|
1637
1638
|
"$derived.by"
|
|
1638
|
-
],
|
|
1639
|
-
...
|
|
1639
|
+
], Bl = [
|
|
1640
|
+
...Rs,
|
|
1640
1641
|
"$state.eager",
|
|
1641
1642
|
"$state.snapshot",
|
|
1642
1643
|
"$props",
|
|
@@ -1652,7 +1653,7 @@ var Ms = [
|
|
|
1652
1653
|
"$inspect.trace",
|
|
1653
1654
|
"$host"
|
|
1654
1655
|
];
|
|
1655
|
-
function
|
|
1656
|
+
function Cs(e) {
|
|
1656
1657
|
let t = 0, n = _t(0), r;
|
|
1657
1658
|
return () => {
|
|
1658
1659
|
Gr() && (s(n), Yr(() => (t === 0 && (r = xt(() => e(() => en(n)))), t += 1, () => {
|
|
@@ -1662,13 +1663,13 @@ function Rs(e) {
|
|
|
1662
1663
|
})));
|
|
1663
1664
|
};
|
|
1664
1665
|
}
|
|
1665
|
-
var
|
|
1666
|
-
function
|
|
1667
|
-
new
|
|
1666
|
+
var Os = Wr | Lt;
|
|
1667
|
+
function Ls(e, t, n, r) {
|
|
1668
|
+
new Ns(e, t, n, r);
|
|
1668
1669
|
}
|
|
1669
|
-
var Se = /* @__PURE__ */ new WeakMap(), Mr = /* @__PURE__ */ new WeakMap(), Ce = /* @__PURE__ */ new WeakMap(), fn = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), Ee = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), ke = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap(), St = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), En = /* @__PURE__ */ new WeakMap(), Rr = /* @__PURE__ */ new WeakMap(), Cr = /* @__PURE__ */ new WeakMap(), et = /* @__PURE__ */ new WeakMap(), wi = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakSet(),
|
|
1670
|
+
var Se = /* @__PURE__ */ new WeakMap(), Mr = /* @__PURE__ */ new WeakMap(), Ce = /* @__PURE__ */ new WeakMap(), fn = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), Ee = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), ke = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap(), St = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), En = /* @__PURE__ */ new WeakMap(), Rr = /* @__PURE__ */ new WeakMap(), Cr = /* @__PURE__ */ new WeakMap(), et = /* @__PURE__ */ new WeakMap(), wi = /* @__PURE__ */ new WeakMap(), N = /* @__PURE__ */ new WeakSet(), Ns = class {
|
|
1670
1671
|
constructor(e, t, n, r) {
|
|
1671
|
-
Br(this, N), q(this, "parent", void 0), q(this, "is_pending", !1), q(this, "transform_error", void 0), E(this, Se, void 0), E(this, Mr, M ? C : null), E(this, Ce, void 0), E(this, fn, void 0), E(this, ie, void 0), E(this, Ee, null), E(this, ue, null), E(this, ke, null), E(this, Ze, null), E(this, St, 0), E(this, dt, 0), E(this, En, !1), E(this, Rr, /* @__PURE__ */ new Set()), E(this, Cr, /* @__PURE__ */ new Set()), E(this, et, null), E(this, wi,
|
|
1672
|
+
Br(this, N), q(this, "parent", void 0), q(this, "is_pending", !1), q(this, "transform_error", void 0), E(this, Se, void 0), E(this, Mr, M ? C : null), E(this, Ce, void 0), E(this, fn, void 0), E(this, ie, void 0), E(this, Ee, null), E(this, ue, null), E(this, ke, null), E(this, Ze, null), E(this, St, 0), E(this, dt, 0), E(this, En, !1), E(this, Rr, /* @__PURE__ */ new Set()), E(this, Cr, /* @__PURE__ */ new Set()), E(this, et, null), E(this, wi, Cs(() => (S(et, this, _t(l(St, this))), () => {
|
|
1672
1673
|
S(et, this, null);
|
|
1673
1674
|
}))), S(Se, this, e), S(Ce, this, t), S(fn, this, (i) => {
|
|
1674
1675
|
var o = A;
|
|
@@ -1680,10 +1681,10 @@ var Se = /* @__PURE__ */ new WeakMap(), Mr = /* @__PURE__ */ new WeakMap(), Ce =
|
|
|
1680
1681
|
const o = i === "[!";
|
|
1681
1682
|
if (i.startsWith("[?")) {
|
|
1682
1683
|
const a = JSON.parse(i.slice(2));
|
|
1683
|
-
$(N, this,
|
|
1684
|
-
} else o ? $(N, this,
|
|
1684
|
+
$(N, this, Is).call(this, a);
|
|
1685
|
+
} else o ? $(N, this, qs).call(this) : $(N, this, Ps).call(this);
|
|
1685
1686
|
} else $(N, this, xo).call(this);
|
|
1686
|
-
},
|
|
1687
|
+
}, Os)), M && S(Se, this, C);
|
|
1687
1688
|
}
|
|
1688
1689
|
defer_effect(e) {
|
|
1689
1690
|
Bi(e, l(Rr, this), l(Cr, this));
|
|
@@ -1709,14 +1710,14 @@ var Se = /* @__PURE__ */ new WeakMap(), Mr = /* @__PURE__ */ new WeakMap(), Ce =
|
|
|
1709
1710
|
})) : $(N, this, mi).call(this, e);
|
|
1710
1711
|
}
|
|
1711
1712
|
};
|
|
1712
|
-
function
|
|
1713
|
+
function Ps() {
|
|
1713
1714
|
try {
|
|
1714
1715
|
S(Ee, this, pe(() => l(fn, this).call(this, l(Se, this))));
|
|
1715
1716
|
} catch (e) {
|
|
1716
1717
|
this.error(e);
|
|
1717
1718
|
}
|
|
1718
1719
|
}
|
|
1719
|
-
function
|
|
1720
|
+
function Is(e) {
|
|
1720
1721
|
const t = l(Ce, this).failed, { reset: n, invoke_onerror: r } = $(N, this, Ao).call(this, e);
|
|
1721
1722
|
Je(r), t && S(ke, this, pe(() => {
|
|
1722
1723
|
t(l(Se, this), () => e, () => n);
|
|
@@ -1727,10 +1728,10 @@ function Ao(e) {
|
|
|
1727
1728
|
const r = () => {
|
|
1728
1729
|
if (!$(N, this, ht).call(this)) {
|
|
1729
1730
|
if (t) {
|
|
1730
|
-
|
|
1731
|
+
Ca();
|
|
1731
1732
|
return;
|
|
1732
1733
|
}
|
|
1733
|
-
t = !0, n &&
|
|
1734
|
+
t = !0, n && za(), l(ke, this) !== null && bt(l(ke, this), () => {
|
|
1734
1735
|
S(ke, this, null);
|
|
1735
1736
|
}), $(N, this, Jr).call(this, () => {
|
|
1736
1737
|
$(N, this, xo).call(this);
|
|
@@ -1752,7 +1753,7 @@ function Ao(e) {
|
|
|
1752
1753
|
function ht() {
|
|
1753
1754
|
return (l(ie, this).f & (Ii | mr)) !== 0;
|
|
1754
1755
|
}
|
|
1755
|
-
function
|
|
1756
|
+
function qs() {
|
|
1756
1757
|
const e = l(Ce, this).pending;
|
|
1757
1758
|
e && (this.is_pending = !0, S(ue, this, pe(() => e(l(Se, this)))), Je(() => {
|
|
1758
1759
|
if (!$(N, this, ht).call(this)) {
|
|
@@ -1817,7 +1818,7 @@ function Mo(e, t) {
|
|
|
1817
1818
|
}), l(Ze, this) && (l(Se, this).before(l(Ze, this)), S(Ze, this, null)));
|
|
1818
1819
|
}
|
|
1819
1820
|
function mi(e) {
|
|
1820
|
-
l(Ee, this) && (ne(l(Ee, this)), S(Ee, this, null)), l(ue, this) && (ne(l(ue, this)), S(ue, this, null)), l(ke, this) && (ne(l(ke, this)), S(ke, this, null)), M && (X(l(Mr, this)),
|
|
1821
|
+
l(Ee, this) && (ne(l(Ee, this)), S(Ee, this, null)), l(ue, this) && (ne(l(ue, this)), S(ue, this, null)), l(ke, this) && (ne(l(ke, this)), S(ke, this, null)), M && (X(l(Mr, this)), Oa(), X(In()));
|
|
1821
1822
|
let t = l(Ce, this).failed;
|
|
1822
1823
|
const n = (r) => {
|
|
1823
1824
|
if ($(N, this, ht).call(this)) return;
|
|
@@ -1854,7 +1855,7 @@ function Tn(e, t) {
|
|
|
1854
1855
|
function Ro(e, t) {
|
|
1855
1856
|
return Co(e, t);
|
|
1856
1857
|
}
|
|
1857
|
-
function
|
|
1858
|
+
function Ws(e, t) {
|
|
1858
1859
|
Ar(), t.intro = t.intro ?? !1;
|
|
1859
1860
|
const n = t.target, r = M, i = C;
|
|
1860
1861
|
try {
|
|
@@ -1869,7 +1870,7 @@ function qs(e, t) {
|
|
|
1869
1870
|
} catch (a) {
|
|
1870
1871
|
if (a instanceof Error && a.message.split(`
|
|
1871
1872
|
`).some((f) => f.startsWith("https://svelte.dev/e/"))) throw a;
|
|
1872
|
-
return a !== Ve && console.warn("Failed to hydrate: ", a), t.recover === !1 &&
|
|
1873
|
+
return a !== Ve && console.warn("Failed to hydrate: ", a), t.recover === !1 && ja(), Ar(), fo(n), De(!1), Ro(e, t);
|
|
1873
1874
|
} finally {
|
|
1874
1875
|
De(r), X(i);
|
|
1875
1876
|
}
|
|
@@ -1877,9 +1878,9 @@ function qs(e, t) {
|
|
|
1877
1878
|
var An = /* @__PURE__ */ new Map();
|
|
1878
1879
|
function Co(e, { target: t, anchor: n, props: r = {}, events: i, context: o, intro: a = !0, transformError: f }) {
|
|
1879
1880
|
Ar();
|
|
1880
|
-
var c = void 0, p =
|
|
1881
|
+
var c = void 0, p = _s(() => {
|
|
1881
1882
|
var _ = n ?? t.appendChild(fe());
|
|
1882
|
-
|
|
1883
|
+
Ls(_, { pending: () => {
|
|
1883
1884
|
} }, (h) => {
|
|
1884
1885
|
Hi({});
|
|
1885
1886
|
var b = F;
|
|
@@ -1892,7 +1893,7 @@ function Co(e, { target: t, anchor: n, props: r = {}, events: i, context: o, int
|
|
|
1892
1893
|
var w = h[b];
|
|
1893
1894
|
if (!u.has(w)) {
|
|
1894
1895
|
u.add(w);
|
|
1895
|
-
var g =
|
|
1896
|
+
var g = Ms(w);
|
|
1896
1897
|
for (const k of [t, document]) {
|
|
1897
1898
|
var y = An.get(k);
|
|
1898
1899
|
y === void 0 && (y = /* @__PURE__ */ new Map(), An.set(k, y));
|
|
@@ -1913,11 +1914,11 @@ function Co(e, { target: t, anchor: n, props: r = {}, events: i, context: o, int
|
|
|
1913
1914
|
return Or.set(c, p), c;
|
|
1914
1915
|
}
|
|
1915
1916
|
var Or = /* @__PURE__ */ new WeakMap();
|
|
1916
|
-
function
|
|
1917
|
+
function Ds(e, t) {
|
|
1917
1918
|
const n = Or.get(e);
|
|
1918
1919
|
return n ? (Or.delete(e), n(t)) : Promise.resolve();
|
|
1919
1920
|
}
|
|
1920
|
-
var qe = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), we = /* @__PURE__ */ new WeakMap(), Ft = /* @__PURE__ */ new WeakMap(), hr = /* @__PURE__ */ new WeakMap(), vr = /* @__PURE__ */ new WeakMap(), ki = /* @__PURE__ */ new WeakMap(),
|
|
1921
|
+
var qe = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), we = /* @__PURE__ */ new WeakMap(), Ft = /* @__PURE__ */ new WeakMap(), hr = /* @__PURE__ */ new WeakMap(), vr = /* @__PURE__ */ new WeakMap(), ki = /* @__PURE__ */ new WeakMap(), js = class {
|
|
1921
1922
|
constructor(e, t = !0) {
|
|
1922
1923
|
q(this, "anchor", void 0), E(this, qe, /* @__PURE__ */ new Map()), E(this, Ye, /* @__PURE__ */ new Map()), E(this, we, /* @__PURE__ */ new Map()), E(this, Ft, /* @__PURE__ */ new Set()), E(this, hr, !0), E(this, vr, (n) => {
|
|
1923
1924
|
if (l(qe, this).has(n)) {
|
|
@@ -1975,7 +1976,7 @@ var qe = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), we =
|
|
|
1975
1976
|
function tt(e, t, n = !1) {
|
|
1976
1977
|
var r;
|
|
1977
1978
|
M && (r = C, Mt());
|
|
1978
|
-
var i = new
|
|
1979
|
+
var i = new js(e), o = n ? Wr : 0;
|
|
1979
1980
|
function a(f, c) {
|
|
1980
1981
|
if (M) {
|
|
1981
1982
|
var p = Dr(r);
|
|
@@ -1994,10 +1995,10 @@ function tt(e, t, n = !1) {
|
|
|
1994
1995
|
}), f || a(-1, null);
|
|
1995
1996
|
}, o);
|
|
1996
1997
|
}
|
|
1997
|
-
function
|
|
1998
|
+
function Hs(e, t) {
|
|
1998
1999
|
return t;
|
|
1999
2000
|
}
|
|
2000
|
-
function
|
|
2001
|
+
function Vs(e, t, n) {
|
|
2001
2002
|
for (var r = [], i = t.length, o, a = t.length, f = 0; f < i; f++) {
|
|
2002
2003
|
let u = t[f];
|
|
2003
2004
|
bt(u, () => {
|
|
@@ -2053,7 +2054,7 @@ function $i(e, t, n, r, i, o = null) {
|
|
|
2053
2054
|
if ((w.effect.f & 16384) === 0) {
|
|
2054
2055
|
w.pending.delete(g);
|
|
2055
2056
|
var y = s(_);
|
|
2056
|
-
w.fallback = p,
|
|
2057
|
+
w.fallback = p, Fs(w, y, a, t, r), p !== null && (y.length === 0 ? (p.f & 33554432) === 0 ? zn(p) : (p.f ^= Zt, Xt(p, null, a)) : bt(p, () => {
|
|
2057
2058
|
p = null;
|
|
2058
2059
|
}));
|
|
2059
2060
|
}
|
|
@@ -2072,9 +2073,9 @@ function $i(e, t, n, r, i, o = null) {
|
|
|
2072
2073
|
if (0)
|
|
2073
2074
|
var wt;
|
|
2074
2075
|
var W = d ? null : f.get(Q);
|
|
2075
|
-
W ? (W.v && Ct(W.v, Y), W.i && Ct(W.i, H), G && T.unskip_effect(W.e)) : (W =
|
|
2076
|
+
W ? (W.v && Ct(W.v, Y), W.i && Ct(W.i, H), G && T.unskip_effect(W.e)) : (W = Bs(f, d ? a : xn ?? (xn = fe()), Y, Q, H, i, t, n), d || (W.e.f |= Zt), f.set(Q, W)), k.add(Q);
|
|
2076
2077
|
}
|
|
2077
|
-
if (y === 0 && o && !p && (d ? p = pe(() => o(a)) : (p = pe(() => o(xn ?? (xn = fe()))), p.f |= Zt)), y > k.size &&
|
|
2078
|
+
if (y === 0 && o && !p && (d ? p = pe(() => o(a)) : (p = pe(() => o(xn ?? (xn = fe()))), p.f |= Zt)), y > k.size && Pa("", "", ""), M && y > 0 && X(In()), !d)
|
|
2078
2079
|
if (u.set(T, k), G) {
|
|
2079
2080
|
for (const [ze, Nt] of f) k.has(ze) || T.skip_effect(Nt.e);
|
|
2080
2081
|
T.oncommit(h), T.ondiscard(b);
|
|
@@ -2093,7 +2094,7 @@ function Bt(e) {
|
|
|
2093
2094
|
for (; e !== null && (e.f & 32) === 0; ) e = e.next;
|
|
2094
2095
|
return e;
|
|
2095
2096
|
}
|
|
2096
|
-
function
|
|
2097
|
+
function Fs(e, t, n, r, i) {
|
|
2097
2098
|
var o = (r & 8) !== 0, a = t.length, f = e.items, c = Bt(e.effect.first), p, _ = null, u, d = [], h = [], b, w, g, y;
|
|
2098
2099
|
if (o) for (y = 0; y < a; y += 1)
|
|
2099
2100
|
b = t[y], w = i(b, y), g = f.get(w).e, (g.f & 33554432) === 0 && (g.nodes?.a?.measure(), (u ?? (u = /* @__PURE__ */ new Set())).add(g));
|
|
@@ -2143,7 +2144,7 @@ function Vs(e, t, n, r, i) {
|
|
|
2143
2144
|
for (y = 0; y < Q; y += 1) Y[y].nodes?.a?.measure();
|
|
2144
2145
|
for (y = 0; y < Q; y += 1) Y[y].nodes?.a?.fix();
|
|
2145
2146
|
}
|
|
2146
|
-
|
|
2147
|
+
Vs(e, Y, wt);
|
|
2147
2148
|
}
|
|
2148
2149
|
}
|
|
2149
2150
|
o && Je(() => {
|
|
@@ -2151,7 +2152,7 @@ function Vs(e, t, n, r, i) {
|
|
|
2151
2152
|
for (g of u) g.nodes?.a?.apply();
|
|
2152
2153
|
});
|
|
2153
2154
|
}
|
|
2154
|
-
function
|
|
2155
|
+
function Bs(e, t, n, r, i, o, a, f) {
|
|
2155
2156
|
var c = (a & 1) !== 0 ? (a & 16) === 0 ? /* @__PURE__ */ io(n, !1, !1) : _t(n) : null, p = (a & 2) !== 0 ? _t(i) : null;
|
|
2156
2157
|
return {
|
|
2157
2158
|
v: c,
|
|
@@ -2172,7 +2173,7 @@ function Xt(e, t, n) {
|
|
|
2172
2173
|
function Ke(e, t, n) {
|
|
2173
2174
|
t === null ? e.effect.first = n : t.next = n, n === null ? e.effect.last = t : n.prev = t;
|
|
2174
2175
|
}
|
|
2175
|
-
function
|
|
2176
|
+
function zs(e, t, n = !1, r = !1, i = !1, o = !1) {
|
|
2176
2177
|
var a = e, f = "";
|
|
2177
2178
|
if (n) {
|
|
2178
2179
|
var c = e;
|
|
@@ -2197,7 +2198,7 @@ function Bs(e, t, n = !1, r = !1, i = !1, o = !1) {
|
|
|
2197
2198
|
He(C, d), a = X(u);
|
|
2198
2199
|
return;
|
|
2199
2200
|
}
|
|
2200
|
-
var h = Zn(r ? "svg" : i ? "math" : "template", r ?
|
|
2201
|
+
var h = Zn(r ? "svg" : i ? "math" : "template", r ? _a : i ? pa : void 0);
|
|
2201
2202
|
h.innerHTML = f;
|
|
2202
2203
|
var b = r || i ? h : h.content;
|
|
2203
2204
|
if (He(/* @__PURE__ */ le(b), b.lastChild), r || i) for (; /* @__PURE__ */ le(b); ) a.before(/* @__PURE__ */ le(b));
|
|
@@ -2205,7 +2206,7 @@ function Bs(e, t, n = !1, r = !1, i = !1, o = !1) {
|
|
|
2205
2206
|
}
|
|
2206
2207
|
});
|
|
2207
2208
|
}
|
|
2208
|
-
function
|
|
2209
|
+
function Us(e, t) {
|
|
2209
2210
|
ho(() => {
|
|
2210
2211
|
e = A?.parent?.nodes?.start ?? e;
|
|
2211
2212
|
var n = e.getRootNode(), r = n.host ? n : n.head ?? n.ownerDocument.head;
|
|
@@ -2217,7 +2218,7 @@ function zs(e, t) {
|
|
|
2217
2218
|
}
|
|
2218
2219
|
var Si = [...`
|
|
2219
2220
|
\r\f \v\uFEFF`];
|
|
2220
|
-
function
|
|
2221
|
+
function Gs(e, t, n) {
|
|
2221
2222
|
var r = e == null ? "" : "" + e;
|
|
2222
2223
|
if (t && (r = r ? r + " " + t : t), n) {
|
|
2223
2224
|
for (var i of Object.keys(n)) if (n[i]) r = r ? r + " " + i : i;
|
|
@@ -2240,7 +2241,7 @@ function Ei(e, t = !1) {
|
|
|
2240
2241
|
function _r(e) {
|
|
2241
2242
|
return e[0] !== "-" || e[1] !== "-" ? e.toLowerCase() : e;
|
|
2242
2243
|
}
|
|
2243
|
-
function
|
|
2244
|
+
function Ys(e, t) {
|
|
2244
2245
|
if (t) {
|
|
2245
2246
|
var n = "", r, i;
|
|
2246
2247
|
if (Array.isArray(t) ? (r = t[0], i = t[1]) : r = t, e) {
|
|
@@ -2271,10 +2272,10 @@ function Gs(e, t) {
|
|
|
2271
2272
|
}
|
|
2272
2273
|
return e == null ? null : String(e);
|
|
2273
2274
|
}
|
|
2274
|
-
function
|
|
2275
|
+
function Ks(e, t, n, r, i, o) {
|
|
2275
2276
|
var a = e[kr];
|
|
2276
2277
|
if (M || a !== n || a === void 0) {
|
|
2277
|
-
var f =
|
|
2278
|
+
var f = Gs(n, r, o);
|
|
2278
2279
|
(!M || f !== e.getAttribute("class")) && (f == null ? e.removeAttribute("class") : t ? e.className = f : e.setAttribute("class", f)), e[kr] = n;
|
|
2279
2280
|
} else if (o && i !== o) for (var c in o) {
|
|
2280
2281
|
var p = !!o[c];
|
|
@@ -2291,33 +2292,33 @@ function pr(e, t = {}, n, r) {
|
|
|
2291
2292
|
function Ti(e, t, n, r) {
|
|
2292
2293
|
var i = e[$r];
|
|
2293
2294
|
if (M || i !== t) {
|
|
2294
|
-
var o =
|
|
2295
|
+
var o = Ys(t, r);
|
|
2295
2296
|
(!M || o !== e.getAttribute("style")) && (o == null ? e.removeAttribute("style") : e.style.cssText = o), e[$r] = t;
|
|
2296
2297
|
} else r && (Array.isArray(r) ? (pr(e, n?.[0], r[0]), pr(e, n?.[1], r[1], "important")) : pr(e, n, r));
|
|
2297
2298
|
return r;
|
|
2298
2299
|
}
|
|
2299
|
-
var
|
|
2300
|
+
var Xs = /* @__PURE__ */ Symbol("is custom element"), Zs = /* @__PURE__ */ Symbol("is html"), Js = Ma ? "link" : "LINK";
|
|
2300
2301
|
function U(e, t, n, r) {
|
|
2301
|
-
var i =
|
|
2302
|
-
if (M && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName ===
|
|
2302
|
+
var i = Qs(e);
|
|
2303
|
+
if (M && (i[t] = e.getAttribute(t), t === "src" || t === "srcset" || t === "href" && e.nodeName === Js)) {
|
|
2303
2304
|
r || void 0;
|
|
2304
2305
|
return;
|
|
2305
2306
|
}
|
|
2306
|
-
i[t] !== (i[t] = n) && (t === "loading" && (e[
|
|
2307
|
+
i[t] !== (i[t] = n) && (t === "loading" && (e[Aa] = n), n == null ? e.removeAttribute(t) : typeof n != "string" && el(e).has(t) ? e[t] = n : e.setAttribute(t, n));
|
|
2307
2308
|
}
|
|
2308
|
-
function
|
|
2309
|
+
function Qs(e) {
|
|
2309
2310
|
return e[yr] ?? (e[yr] = {
|
|
2310
|
-
[
|
|
2311
|
-
[
|
|
2311
|
+
[Xs]: e.nodeName.includes("-"),
|
|
2312
|
+
[Zs]: e.namespaceURI === "http://www.w3.org/1999/xhtml"
|
|
2312
2313
|
});
|
|
2313
2314
|
}
|
|
2314
2315
|
var Ai = /* @__PURE__ */ new Map();
|
|
2315
|
-
function
|
|
2316
|
+
function el(e) {
|
|
2316
2317
|
var t = e.getAttribute("is") || e.nodeName, n = Ai.get(t);
|
|
2317
2318
|
if (n) return n;
|
|
2318
2319
|
Ai.set(t, n = /* @__PURE__ */ new Set());
|
|
2319
2320
|
for (var r, i = e, o = Element.prototype; o !== i; ) {
|
|
2320
|
-
r =
|
|
2321
|
+
r = ba(i);
|
|
2321
2322
|
for (var a in r) r[a].set && a !== "innerHTML" && a !== "textContent" && a !== "innerText" && n.add(a);
|
|
2322
2323
|
i = Ni(i);
|
|
2323
2324
|
}
|
|
@@ -2329,14 +2330,14 @@ var Oo, Et = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(),
|
|
|
2329
2330
|
}
|
|
2330
2331
|
observe(e, t) {
|
|
2331
2332
|
var n = l(Et, this).get(e) || /* @__PURE__ */ new Set();
|
|
2332
|
-
return n.add(t), l(Et, this).set(e, n), $(xi, this,
|
|
2333
|
+
return n.add(t), l(Et, this).set(e, n), $(xi, this, tl).call(this).observe(e, l(gr, this)), () => {
|
|
2333
2334
|
var r = l(Et, this).get(e);
|
|
2334
2335
|
r.delete(t), r.size === 0 && (l(Et, this).delete(e), l(Gn, this).unobserve(e));
|
|
2335
2336
|
};
|
|
2336
2337
|
}
|
|
2337
2338
|
};
|
|
2338
2339
|
Oo = Lo;
|
|
2339
|
-
function
|
|
2340
|
+
function tl() {
|
|
2340
2341
|
return l(Gn, this) ?? S(Gn, this, new ResizeObserver((e) => {
|
|
2341
2342
|
for (var t of e) {
|
|
2342
2343
|
Oo.entries.set(t.target, t);
|
|
@@ -2369,7 +2370,7 @@ function Mi(e = jr(), t, n, r) {
|
|
|
2369
2370
|
}), e;
|
|
2370
2371
|
}
|
|
2371
2372
|
var Mn = !1;
|
|
2372
|
-
function
|
|
2373
|
+
function nl(e) {
|
|
2373
2374
|
var t = Mn;
|
|
2374
2375
|
try {
|
|
2375
2376
|
return Mn = !1, [e(), Mn];
|
|
@@ -2385,7 +2386,7 @@ function Ri(e, t, n, r) {
|
|
|
2385
2386
|
u = ft(e, t)?.set ?? (d && t in e ? (T) => e[t] = T : void 0);
|
|
2386
2387
|
}
|
|
2387
2388
|
var h, b = !1;
|
|
2388
|
-
o ? [h, b] =
|
|
2389
|
+
o ? [h, b] = nl(() => e[t]) : h = e[t], h === void 0 && r !== void 0 && (h = _(), u && (i && Ha(t), u(h)));
|
|
2389
2390
|
var w;
|
|
2390
2391
|
if (i ? w = () => {
|
|
2391
2392
|
var T = e[t];
|
|
@@ -2411,10 +2412,10 @@ function Ri(e, t, n, r) {
|
|
|
2411
2412
|
return Fe && y || (k.f & 16384) !== 0 ? P.v : s(P);
|
|
2412
2413
|
});
|
|
2413
2414
|
}
|
|
2414
|
-
function
|
|
2415
|
-
return new
|
|
2415
|
+
function rl(e) {
|
|
2416
|
+
return new il(e);
|
|
2416
2417
|
}
|
|
2417
|
-
var nt = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(),
|
|
2418
|
+
var nt = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), il = class {
|
|
2418
2419
|
constructor(e) {
|
|
2419
2420
|
E(this, nt, void 0), E(this, Me, void 0);
|
|
2420
2421
|
var t = /* @__PURE__ */ new Map(), n = (i, o) => {
|
|
@@ -2435,7 +2436,7 @@ var nt = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), rl =
|
|
|
2435
2436
|
return L(t.get(o) ?? n(o, a), a), Reflect.set(i, o, a);
|
|
2436
2437
|
}
|
|
2437
2438
|
});
|
|
2438
|
-
S(Me, this, (e.hydrate ?
|
|
2439
|
+
S(Me, this, (e.hydrate ? Ws : Ro)(e.component, {
|
|
2439
2440
|
target: e.target,
|
|
2440
2441
|
anchor: e.anchor,
|
|
2441
2442
|
props: r,
|
|
@@ -2457,7 +2458,7 @@ var nt = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), rl =
|
|
|
2457
2458
|
l(Me, this).$set = (i) => {
|
|
2458
2459
|
Object.assign(r, i);
|
|
2459
2460
|
}, l(Me, this).$destroy = () => {
|
|
2460
|
-
|
|
2461
|
+
Ds(l(Me, this));
|
|
2461
2462
|
};
|
|
2462
2463
|
}
|
|
2463
2464
|
$set(e) {
|
|
@@ -2500,14 +2501,14 @@ typeof HTMLElement == "function" && (No = class extends HTMLElement {
|
|
|
2500
2501
|
};
|
|
2501
2502
|
};
|
|
2502
2503
|
if (await Promise.resolve(), !this.$$cn || this.$$c) return;
|
|
2503
|
-
const t = {}, n =
|
|
2504
|
+
const t = {}, n = ol(this);
|
|
2504
2505
|
for (const r of this.$$s) r in n && (r === "default" && !this.$$d.children ? (this.$$d.children = e(r), t.default = !0) : t[r] = e(r));
|
|
2505
2506
|
for (const r of this.attributes) {
|
|
2506
2507
|
const i = this.$$g_p(r.name);
|
|
2507
2508
|
i in this.$$d || (this.$$d[i] = Ln(i, r.value, this.$$p_d, "toProp"));
|
|
2508
2509
|
}
|
|
2509
2510
|
for (const r in this.$$p_d) !(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
|
|
2510
|
-
this.$$c =
|
|
2511
|
+
this.$$c = rl({
|
|
2511
2512
|
component: this.$$ctor,
|
|
2512
2513
|
target: this.$$shadowRoot || this,
|
|
2513
2514
|
props: {
|
|
@@ -2515,7 +2516,7 @@ typeof HTMLElement == "function" && (No = class extends HTMLElement {
|
|
|
2515
2516
|
$$slots: t,
|
|
2516
2517
|
$$host: this
|
|
2517
2518
|
}
|
|
2518
|
-
}), this.$$me =
|
|
2519
|
+
}), this.$$me = vs(() => {
|
|
2519
2520
|
Yr(() => {
|
|
2520
2521
|
this.$$r = !0;
|
|
2521
2522
|
for (const r of Nn(this.$$c)) {
|
|
@@ -2572,13 +2573,13 @@ function Ln(e, t, n, r) {
|
|
|
2572
2573
|
return t;
|
|
2573
2574
|
}
|
|
2574
2575
|
}
|
|
2575
|
-
function
|
|
2576
|
+
function ol(e) {
|
|
2576
2577
|
const t = {};
|
|
2577
2578
|
return e.childNodes.forEach((n) => {
|
|
2578
2579
|
t[n.slot || "default"] = !0;
|
|
2579
2580
|
}), t;
|
|
2580
2581
|
}
|
|
2581
|
-
function
|
|
2582
|
+
function al(e, t, n, r, i, o) {
|
|
2582
2583
|
let a = class extends No {
|
|
2583
2584
|
constructor() {
|
|
2584
2585
|
super(e, n, i), this.$$p_d = t;
|
|
@@ -2604,10 +2605,10 @@ function ol(e, t, n, r, i, o) {
|
|
|
2604
2605
|
} });
|
|
2605
2606
|
}), o && (a = o(a)), e.element = a, a;
|
|
2606
2607
|
}
|
|
2607
|
-
function
|
|
2608
|
+
function sl(e) {
|
|
2608
2609
|
return e.key === "ContextMenu" ? !0 : e.key === "F10" && e.shiftKey === !0;
|
|
2609
2610
|
}
|
|
2610
|
-
function
|
|
2611
|
+
function ll({ key: e, activeIndex: t, count: n, direction: r }) {
|
|
2611
2612
|
if (n <= 0) return null;
|
|
2612
2613
|
const i = Nr(t, n), o = r === "rtl" ? "ArrowLeft" : "ArrowRight", a = r === "rtl" ? "ArrowRight" : "ArrowLeft";
|
|
2613
2614
|
return e === o ? (i + 1) % n : e === a ? (i - 1 + n) % n : e === "Home" ? 0 : e === "End" ? n - 1 : null;
|
|
@@ -2615,16 +2616,16 @@ function sl({ key: e, activeIndex: t, count: n, direction: r }) {
|
|
|
2615
2616
|
function Nr(e, t) {
|
|
2616
2617
|
return t <= 0 || !Number.isFinite(e) || e < 0 ? 0 : Math.min(Math.trunc(e), t - 1);
|
|
2617
2618
|
}
|
|
2618
|
-
function
|
|
2619
|
+
function fl(e, t) {
|
|
2619
2620
|
return e.bottom < 0 || e.top > t.height || e.right < 0 || e.left > t.width;
|
|
2620
2621
|
}
|
|
2621
|
-
var
|
|
2622
|
-
function
|
|
2622
|
+
var ul = 2e3;
|
|
2623
|
+
function cl(e, t, n = ul) {
|
|
2623
2624
|
if (e === null) return !1;
|
|
2624
2625
|
const r = t - e;
|
|
2625
2626
|
return r < 0 ? !0 : r < n;
|
|
2626
2627
|
}
|
|
2627
|
-
function
|
|
2628
|
+
function dl(e, t, n = {
|
|
2628
2629
|
width: 0,
|
|
2629
2630
|
height: 0
|
|
2630
2631
|
}, r = 8) {
|
|
@@ -2639,12 +2640,12 @@ function Ci(e, t, n, r) {
|
|
|
2639
2640
|
const i = n - t - r;
|
|
2640
2641
|
return i <= r ? r : Math.min(Math.max(e, r), i);
|
|
2641
2642
|
}
|
|
2642
|
-
function
|
|
2643
|
+
function hl(e) {
|
|
2643
2644
|
if (!e || typeof e != "object") return !1;
|
|
2644
2645
|
const t = e;
|
|
2645
2646
|
return !(typeof t.id != "string" || t.id.trim().length === 0 || typeof t.label != "string" || t.label.trim().length === 0 || t.label.length > 40 || typeof t.run != "function" || t.iconSvg !== void 0 && typeof t.iconSvg != "string" || t.tooltip !== void 0 && typeof t.tooltip != "string" || t.isAvailable !== void 0 && typeof t.isAvailable != "function");
|
|
2646
2647
|
}
|
|
2647
|
-
function
|
|
2648
|
+
function vl(e) {
|
|
2648
2649
|
if (typeof e.isAvailable != "function") return !0;
|
|
2649
2650
|
try {
|
|
2650
2651
|
return e.isAvailable() !== !1;
|
|
@@ -2652,11 +2653,11 @@ function hl(e) {
|
|
|
2652
2653
|
return console.warn(`[AnnotationToolbar] Selection action "${e.id}" failed its availability check:`, t), !1;
|
|
2653
2654
|
}
|
|
2654
2655
|
}
|
|
2655
|
-
function
|
|
2656
|
+
function _l(e) {
|
|
2656
2657
|
if (!Array.isArray(e)) return [];
|
|
2657
2658
|
const t = /* @__PURE__ */ new Set(), n = [];
|
|
2658
2659
|
return e.forEach((r, i) => {
|
|
2659
|
-
if (!
|
|
2660
|
+
if (!hl(r)) {
|
|
2660
2661
|
console.warn(`[AnnotationToolbar] Ignoring invalid selection action at index ${i}. Expected { id, label, run } with valid types.`);
|
|
2661
2662
|
return;
|
|
2662
2663
|
}
|
|
@@ -2664,10 +2665,10 @@ function vl(e) {
|
|
|
2664
2665
|
console.warn(`[AnnotationToolbar] Ignoring duplicate selection action id "${r.id}".`);
|
|
2665
2666
|
return;
|
|
2666
2667
|
}
|
|
2667
|
-
|
|
2668
|
+
vl(r) && (t.add(r.id), n.push(r));
|
|
2668
2669
|
}), n;
|
|
2669
2670
|
}
|
|
2670
|
-
function
|
|
2671
|
+
function pl(e, t) {
|
|
2671
2672
|
if (!e) return !1;
|
|
2672
2673
|
const n = t?.canRequestTool;
|
|
2673
2674
|
if (typeof n != "function") return !1;
|
|
@@ -2677,7 +2678,7 @@ function _l(e, t) {
|
|
|
2677
2678
|
return console.warn("[AnnotationToolbar] Read-aloud failed its availability check:", r), !1;
|
|
2678
2679
|
}
|
|
2679
2680
|
}
|
|
2680
|
-
var
|
|
2681
|
+
var gl = (e) => {
|
|
2681
2682
|
const t = [];
|
|
2682
2683
|
for (const n of e) {
|
|
2683
2684
|
let r = n?.getRootNode?.();
|
|
@@ -2685,7 +2686,7 @@ var pl = (e) => {
|
|
|
2685
2686
|
t.includes(r) || t.push(r), r = r.host.getRootNode?.();
|
|
2686
2687
|
}
|
|
2687
2688
|
return t;
|
|
2688
|
-
},
|
|
2689
|
+
}, bl = (e, t) => {
|
|
2689
2690
|
const n = e.getComposedRanges;
|
|
2690
2691
|
if (typeof n != "function" || t.length === 0) return null;
|
|
2691
2692
|
try {
|
|
@@ -2697,7 +2698,7 @@ var pl = (e) => {
|
|
|
2697
2698
|
return null;
|
|
2698
2699
|
}
|
|
2699
2700
|
}
|
|
2700
|
-
},
|
|
2701
|
+
}, wl = (e) => {
|
|
2701
2702
|
const { startContainer: t, startOffset: n, endContainer: r, endOffset: i } = e, o = t.ownerDocument;
|
|
2702
2703
|
if (!o) return null;
|
|
2703
2704
|
try {
|
|
@@ -2714,14 +2715,14 @@ var pl = (e) => {
|
|
|
2714
2715
|
} catch {
|
|
2715
2716
|
return null;
|
|
2716
2717
|
}
|
|
2717
|
-
},
|
|
2718
|
+
}, ml = (e) => {
|
|
2718
2719
|
if (e.rangeCount === 0) return null;
|
|
2719
|
-
const t = e.getRangeAt(0), n =
|
|
2720
|
+
const t = e.getRangeAt(0), n = bl(e, gl([
|
|
2720
2721
|
e.anchorNode,
|
|
2721
2722
|
e.focusNode,
|
|
2722
2723
|
t.startContainer,
|
|
2723
2724
|
t.endContainer
|
|
2724
|
-
])), r = n ?
|
|
2725
|
+
])), r = n ? wl(n) : null;
|
|
2725
2726
|
return !n || !r ? {
|
|
2726
2727
|
range: t,
|
|
2727
2728
|
text: e.toString()
|
|
@@ -2734,7 +2735,7 @@ var pl = (e) => {
|
|
|
2734
2735
|
if (!n) return null;
|
|
2735
2736
|
const r = ua(n, t);
|
|
2736
2737
|
return !wr(r, t) || !wr(r, e.endContainer) ? null : r;
|
|
2737
|
-
},
|
|
2738
|
+
}, yl = /* @__PURE__ */ Ie('<button class="pie-tool-annotation-toolbar__highlight-swatch svelte-1qnnvrt"><span class="pie-sr-only svelte-1qnnvrt"> </span></button>'), kl = /* @__PURE__ */ Ie('<div class="divider divider-horizontal mx-0 w-px svelte-1qnnvrt"></div> <button class="pie-tool-annotation-toolbar__button pie-tool-annotation-toolbar__button--icon svelte-1qnnvrt"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true" class="svelte-1qnnvrt"><path d="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z"></path></svg></button>', 1), $l = /* @__PURE__ */ Ie('<span class="pie-tool-annotation-toolbar__action-icon svelte-1qnnvrt" aria-hidden="true"></span>'), Sl = /* @__PURE__ */ Ie("<button><!></button>"), El = /* @__PURE__ */ Ie('<div class="divider divider-horizontal mx-0 w-px svelte-1qnnvrt"></div> <!>', 1), Tl = /* @__PURE__ */ Ie('<button class="pie-tool-annotation-toolbar__button pie-tool-annotation-toolbar__button--warning svelte-1qnnvrt"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true" class="svelte-1qnnvrt"><path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"></path></svg></button>'), Al = /* @__PURE__ */ Ie('<button class="pie-tool-annotation-toolbar__button pie-tool-annotation-toolbar__button--danger svelte-1qnnvrt"> </button>'), xl = /* @__PURE__ */ Ie('<div class="divider divider-horizontal mx-0 w-px svelte-1qnnvrt"></div> <!> <!>', 1), Ml = /* @__PURE__ */ Ie('<div class="pie-tool-annotation-toolbar notranslate svelte-1qnnvrt" role="toolbar" translate="no" tabindex="-1"><!> <button class="pie-tool-annotation-toolbar__button pie-tool-annotation-toolbar__button--icon svelte-1qnnvrt"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true" class="svelte-1qnnvrt"><path d="M5,21H19V19H5V21M12,17A6,6 0 0,0 18,11V3H15.5V11A3.5,3.5 0 0,1 12,14.5A3.5,3.5 0 0,1 8.5,11V3H6V11A6,6 0 0,0 12,17Z"></path></svg></button> <!> <!> <!></div>'), Rl = /* @__PURE__ */ Ie('<div style="display: none;" aria-hidden="true"></div> <!> <div role="status" aria-live="polite" aria-atomic="true" class="pie-sr-only svelte-1qnnvrt"> </div>', 1), Cl = {
|
|
2738
2739
|
hash: "svelte-1qnnvrt",
|
|
2739
2740
|
code: `.pie-tool-annotation-toolbar.svelte-1qnnvrt {position:fixed;z-index:4200;display:flex;gap:0.25rem;padding:0.5rem;border-radius:0.5rem;background:var(--pie-background, #fff);color:var(--pie-text, #111827);
|
|
2740
2741
|
/* WCAG 2.2 SC 1.4.11: this stroke is the only boundary between a floating
|
|
@@ -2774,8 +2775,8 @@ var pl = (e) => {
|
|
|
2774
2775
|
the box is set here to keep an action button the same height as the built-in
|
|
2775
2776
|
ones — a strip of mismatched buttons reads as broken. */.pie-tool-annotation-toolbar__action-icon.svelte-1qnnvrt {display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;}.pie-tool-annotation-toolbar__action-icon.svelte-1qnnvrt svg {width:100%;height:100%;}`
|
|
2776
2777
|
};
|
|
2777
|
-
function
|
|
2778
|
-
Hi(t, !0),
|
|
2778
|
+
function Ol(e, t) {
|
|
2779
|
+
Hi(t, !0), Us(e, Cl);
|
|
2779
2780
|
let n = Ri(t, "enabled", 7, !0), r = Ri(t, "selectionActions", 7, null);
|
|
2780
2781
|
const i = typeof window < "u", o = "annotationToolbar", a = 2e3, f = [
|
|
2781
2782
|
"button",
|
|
@@ -2829,7 +2830,7 @@ function Cl(e, t) {
|
|
|
2829
2830
|
function Qn(v) {
|
|
2830
2831
|
return v.length > c ? v.substring(0, c) + "..." : v;
|
|
2831
2832
|
}
|
|
2832
|
-
let vn = /* @__PURE__ */ de(() => (s(k).isVisible,
|
|
2833
|
+
let vn = /* @__PURE__ */ de(() => (s(k).isVisible, _l(r()))), er = /* @__PURE__ */ de(() => (s(k).isVisible, pl(s(h), s(_)?.toolkitCoordinator))), _n = /* @__PURE__ */ de(() => s(Y) > 0), pn = /* @__PURE__ */ de(() => s(Q) !== null), gn = /* @__PURE__ */ de(() => s(P)?.scopeElement || s(y)?.scopeElement || null);
|
|
2833
2834
|
function tr() {
|
|
2834
2835
|
const v = s(p)?.ownerDocument;
|
|
2835
2836
|
return s(gn) || v?.documentElement || document.documentElement;
|
|
@@ -2891,8 +2892,8 @@ function Cl(e, t) {
|
|
|
2891
2892
|
}));
|
|
2892
2893
|
}
|
|
2893
2894
|
function Qr(v = {}) {
|
|
2894
|
-
if (!n() || !i ||
|
|
2895
|
-
const m = window.getSelection(), O = m ?
|
|
2895
|
+
if (!n() || !i || cl(wt, Date.now())) return;
|
|
2896
|
+
const m = window.getSelection(), O = m ? ml(m) : null;
|
|
2896
2897
|
if (!O) return Qe();
|
|
2897
2898
|
const { range: I } = O, oe = O.text.trim();
|
|
2898
2899
|
if (!oe || !qo(I) || !Oi(I) || !Io(I.commonAncestorContainer)) return Qe();
|
|
@@ -2909,11 +2910,11 @@ function Cl(e, t) {
|
|
|
2909
2910
|
width: window.innerWidth || 0,
|
|
2910
2911
|
height: window.innerHeight || 0
|
|
2911
2912
|
};
|
|
2912
|
-
if (
|
|
2913
|
+
if (fl(m, O)) {
|
|
2913
2914
|
s(k).isVisible = !1;
|
|
2914
2915
|
return;
|
|
2915
2916
|
}
|
|
2916
|
-
s(k).isVisible = !0, s(k).toolbarPosition =
|
|
2917
|
+
s(k).isVisible = !0, s(k).toolbarPosition = dl(m, O, Do());
|
|
2917
2918
|
}
|
|
2918
2919
|
function Do() {
|
|
2919
2920
|
return s(g) ? {
|
|
@@ -3018,18 +3019,20 @@ function Cl(e, t) {
|
|
|
3018
3019
|
}
|
|
3019
3020
|
}
|
|
3020
3021
|
function ri(v) {
|
|
3021
|
-
if (v
|
|
3022
|
-
v.
|
|
3023
|
-
|
|
3022
|
+
if (!va(v)) {
|
|
3023
|
+
if (v.key === "Escape" && s(k).isVisible) {
|
|
3024
|
+
v.preventDefault(), Qe();
|
|
3025
|
+
return;
|
|
3026
|
+
}
|
|
3027
|
+
sl(v) && (s(k).isVisible || Qr({ force: !0 }), s(k).isVisible && (v.preventDefault(), ys().then(() => Ho())));
|
|
3024
3028
|
}
|
|
3025
|
-
al(v) && (s(k).isVisible || Qr({ force: !0 }), s(k).isVisible && (v.preventDefault(), ms().then(() => Ho())));
|
|
3026
3029
|
}
|
|
3027
3030
|
function Go(v) {
|
|
3028
3031
|
if (v.key === "Escape") {
|
|
3029
3032
|
v.preventDefault(), Qe();
|
|
3030
3033
|
return;
|
|
3031
3034
|
}
|
|
3032
|
-
const m = ar(), O =
|
|
3035
|
+
const m = ar(), O = ll({
|
|
3033
3036
|
key: v.key,
|
|
3034
3037
|
activeIndex: s(Ae),
|
|
3035
3038
|
count: m.length,
|
|
@@ -3097,18 +3100,18 @@ function Cl(e, t) {
|
|
|
3097
3100
|
set selectionActions(v = null) {
|
|
3098
3101
|
r(v), sn();
|
|
3099
3102
|
}
|
|
3100
|
-
}, ii =
|
|
3103
|
+
}, ii = Rl(), oi = Sn(ii);
|
|
3101
3104
|
Mi(oi, (v) => L(p, v), () => s(p));
|
|
3102
3105
|
var ai = xe(oi, 2), Xo = (v) => {
|
|
3103
|
-
var m =
|
|
3104
|
-
$i(O, 17, () => s(w),
|
|
3105
|
-
var B =
|
|
3106
|
+
var m = Ml(), O = On(m);
|
|
3107
|
+
$i(O, 17, () => s(w), Hs, (K, Z) => {
|
|
3108
|
+
var B = yl(), be = On(B), ee = ur(be, !0);
|
|
3106
3109
|
zt(B), We(() => {
|
|
3107
3110
|
Ti(B, `background-color: ${s(Z).hex ?? ""};`), U(B, "aria-label", s(Z).label), U(B, "title", s(Z).label), Tn(ee, s(Z).label);
|
|
3108
3111
|
}), Ge("click", B, () => ni(s(Z).name)), he(K, B);
|
|
3109
3112
|
});
|
|
3110
3113
|
var I = xe(O, 2), oe = xe(I, 2), Wt = (K) => {
|
|
3111
|
-
var Z =
|
|
3114
|
+
var Z = kl(), B = xe(Sn(Z), 2);
|
|
3112
3115
|
We((be, ee) => {
|
|
3113
3116
|
U(B, "aria-disabled", s(T)), U(B, "aria-label", be), U(B, "title", ee);
|
|
3114
3117
|
}, [() => s(u).t("tools.annotationToolbar.readAloudA11y"), () => s(u).t("tools.annotationToolbar.readAloud")]), Ge("click", B, Uo), he(K, Z);
|
|
@@ -3117,22 +3120,22 @@ function Cl(e, t) {
|
|
|
3117
3120
|
s(er) && K(Wt);
|
|
3118
3121
|
});
|
|
3119
3122
|
var kn = xe(oe, 2), Qo = (K) => {
|
|
3120
|
-
var Z =
|
|
3123
|
+
var Z = El(), B = xe(Sn(Z), 2);
|
|
3121
3124
|
$i(B, 17, () => s(vn), (be) => be.id, (be, ee) => {
|
|
3122
3125
|
const Dt = /* @__PURE__ */ de(() => Bo(s(ee)));
|
|
3123
|
-
var J =
|
|
3126
|
+
var J = Sl();
|
|
3124
3127
|
let ae;
|
|
3125
3128
|
var jt = On(J), Ht = (Ue) => {
|
|
3126
|
-
var mt =
|
|
3127
|
-
|
|
3129
|
+
var mt = $l();
|
|
3130
|
+
zs(mt, () => s(Dt), !0), zt(mt), he(Ue, mt);
|
|
3128
3131
|
}, sr = (Ue) => {
|
|
3129
|
-
var mt =
|
|
3132
|
+
var mt = Ts();
|
|
3130
3133
|
We(() => Tn(mt, s(ee).label)), he(Ue, mt);
|
|
3131
3134
|
};
|
|
3132
3135
|
tt(jt, (Ue) => {
|
|
3133
3136
|
s(Dt) ? Ue(Ht) : Ue(sr, -1);
|
|
3134
3137
|
}), zt(J), We(() => {
|
|
3135
|
-
ae =
|
|
3138
|
+
ae = Ks(J, 1, "pie-tool-annotation-toolbar__button svelte-1qnnvrt", null, ae, { "pie-tool-annotation-toolbar__button--icon": !!s(Dt) }), U(J, "data-pie-selection-action", s(ee).id), U(J, "aria-label", s(ee).label), U(J, "title", s(ee).tooltip || s(ee).label);
|
|
3136
3139
|
}), Ge("click", J, () => zo(s(ee))), he(be, J);
|
|
3137
3140
|
}), he(K, Z);
|
|
3138
3141
|
};
|
|
@@ -3140,8 +3143,8 @@ function Cl(e, t) {
|
|
|
3140
3143
|
s(vn).length > 0 && K(Qo);
|
|
3141
3144
|
});
|
|
3142
3145
|
var ea = xe(kn, 2), ta = (K) => {
|
|
3143
|
-
var Z =
|
|
3144
|
-
var ae =
|
|
3146
|
+
var Z = xl(), B = xe(Sn(Z), 2), be = (J) => {
|
|
3147
|
+
var ae = Tl();
|
|
3145
3148
|
We((jt, Ht) => {
|
|
3146
3149
|
U(ae, "aria-label", jt), U(ae, "title", Ht);
|
|
3147
3150
|
}, [() => s(u).t("tools.annotationToolbar.removeA11y"), () => s(u).t("tools.annotationToolbar.remove")]), Ge("click", ae, Vo), he(J, ae);
|
|
@@ -3150,7 +3153,7 @@ function Cl(e, t) {
|
|
|
3150
3153
|
s(pn) && J(be);
|
|
3151
3154
|
});
|
|
3152
3155
|
var ee = xe(B, 2), Dt = (J) => {
|
|
3153
|
-
var ae =
|
|
3156
|
+
var ae = Al(), jt = ur(ae, !0);
|
|
3154
3157
|
We((Ht, sr, Ue) => {
|
|
3155
3158
|
U(ae, "aria-label", Ht), U(ae, "title", sr), Tn(jt, Ue);
|
|
3156
3159
|
}, [
|
|
@@ -3181,21 +3184,21 @@ function Cl(e, t) {
|
|
|
3181
3184
|
var Zo = xe(ai, 2), Jo = ur(Zo, !0);
|
|
3182
3185
|
return We(() => Tn(Jo, s(H))), he(e, ii), Vi(Ko);
|
|
3183
3186
|
}
|
|
3184
|
-
|
|
3187
|
+
ks([
|
|
3185
3188
|
"keydown",
|
|
3186
3189
|
"focusout",
|
|
3187
3190
|
"click"
|
|
3188
3191
|
]);
|
|
3189
|
-
|
|
3192
|
+
Ll("pie-tool-annotation-toolbar", al(Ol, {
|
|
3190
3193
|
enabled: {
|
|
3191
3194
|
attribute: "enabled",
|
|
3192
3195
|
type: "Boolean"
|
|
3193
3196
|
},
|
|
3194
3197
|
selectionActions: { type: "Object" }
|
|
3195
3198
|
}, [], [], { mode: "open" }, na));
|
|
3196
|
-
function
|
|
3199
|
+
function Ll(e, t) {
|
|
3197
3200
|
customElements.get(e) || customElements.define(e, t);
|
|
3198
3201
|
}
|
|
3199
3202
|
export {
|
|
3200
|
-
|
|
3203
|
+
Ol as default
|
|
3201
3204
|
};
|