@pie-players/pie-tool-tts-inline 0.1.6 → 0.1.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/tool-tts-inline.js +196 -196
- package/package.json +5 -5
package/dist/tool-tts-inline.js
CHANGED
|
@@ -2,8 +2,8 @@ import { connectToolRuntimeContext as rr, connectToolShellContext as ir, connect
|
|
|
2
2
|
const or = "5";
|
|
3
3
|
typeof window < "u" && ((window.__svelte ??= {}).v ??= /* @__PURE__ */ new Set()).add(or);
|
|
4
4
|
const ar = 2, pt = "[", gt = "[!", Jt = "]", Te = {}, C = /* @__PURE__ */ Symbol(), Xt = "http://www.w3.org/1999/xhtml", ot = !1;
|
|
5
|
-
var fr = Array.isArray, ur = Array.prototype.indexOf, xe = Array.prototype.includes, cr = Array.from, Je = Object.keys, Xe = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, hr = Object.getOwnPropertyDescriptors, dr = Object.prototype,
|
|
6
|
-
const
|
|
5
|
+
var fr = Array.isArray, ur = Array.prototype.indexOf, xe = Array.prototype.includes, cr = Array.from, Je = Object.keys, Xe = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, hr = Object.getOwnPropertyDescriptors, dr = Object.prototype, vr = Array.prototype, Zt = Object.getPrototypeOf, It = Object.isExtensible;
|
|
6
|
+
const _r = () => {
|
|
7
7
|
};
|
|
8
8
|
function pr(e) {
|
|
9
9
|
for (var t = 0; t < e.length; t++)
|
|
@@ -63,13 +63,13 @@ function ye(e) {
|
|
|
63
63
|
y = e;
|
|
64
64
|
}
|
|
65
65
|
let b;
|
|
66
|
-
function
|
|
66
|
+
function K(e) {
|
|
67
67
|
if (e === null)
|
|
68
68
|
throw nt(), Te;
|
|
69
69
|
return b = e;
|
|
70
70
|
}
|
|
71
71
|
function wt() {
|
|
72
|
-
return
|
|
72
|
+
return K(/* @__PURE__ */ le(b));
|
|
73
73
|
}
|
|
74
74
|
function it(e) {
|
|
75
75
|
if (y) {
|
|
@@ -123,7 +123,7 @@ function Ir(e, t) {
|
|
|
123
123
|
function Mr(e) {
|
|
124
124
|
return !Ir(e, this.v);
|
|
125
125
|
}
|
|
126
|
-
let
|
|
126
|
+
let Pr = !1, B = null;
|
|
127
127
|
function ke(e) {
|
|
128
128
|
B = e;
|
|
129
129
|
}
|
|
@@ -154,22 +154,22 @@ function ln(e) {
|
|
|
154
154
|
function on() {
|
|
155
155
|
return !0;
|
|
156
156
|
}
|
|
157
|
-
let
|
|
157
|
+
let ve = [];
|
|
158
158
|
function an() {
|
|
159
|
-
var e =
|
|
160
|
-
|
|
159
|
+
var e = ve;
|
|
160
|
+
ve = [], pr(e);
|
|
161
161
|
}
|
|
162
162
|
function pe(e) {
|
|
163
|
-
if (
|
|
164
|
-
var t =
|
|
163
|
+
if (ve.length === 0 && !Pe) {
|
|
164
|
+
var t = ve;
|
|
165
165
|
queueMicrotask(() => {
|
|
166
|
-
t ===
|
|
166
|
+
t === ve && an();
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
ve.push(e);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
172
|
-
for (;
|
|
171
|
+
function Dr() {
|
|
172
|
+
for (; ve.length > 0; )
|
|
173
173
|
an();
|
|
174
174
|
}
|
|
175
175
|
function fn(e) {
|
|
@@ -215,7 +215,7 @@ function cn(e, t, n) {
|
|
|
215
215
|
(e.f & O) !== 0 ? t.add(e) : (e.f & G) !== 0 && n.add(e), un(e.deps), x(e, z);
|
|
216
216
|
}
|
|
217
217
|
const Ve = /* @__PURE__ */ new Set();
|
|
218
|
-
let E = null, Y = null, M = [], rt = null, ut = !1,
|
|
218
|
+
let E = null, Y = null, M = [], rt = null, ut = !1, Pe = !1;
|
|
219
219
|
class re {
|
|
220
220
|
committed = !1;
|
|
221
221
|
/**
|
|
@@ -312,10 +312,10 @@ class re {
|
|
|
312
312
|
if (this.is_deferred()) {
|
|
313
313
|
this.#f(r), this.#f(n);
|
|
314
314
|
for (const [i, s] of this.#i)
|
|
315
|
-
|
|
315
|
+
_n(i, s);
|
|
316
316
|
} else {
|
|
317
317
|
for (const i of this.#e) i();
|
|
318
|
-
this.#e.clear(), this.#n === 0 && this.#h(), E = null,
|
|
318
|
+
this.#e.clear(), this.#n === 0 && this.#h(), E = null, Pt(r), Pt(n), this.#l?.resolve();
|
|
319
319
|
}
|
|
320
320
|
Y = null;
|
|
321
321
|
}
|
|
@@ -459,7 +459,7 @@ class re {
|
|
|
459
459
|
static ensure() {
|
|
460
460
|
if (E === null) {
|
|
461
461
|
const t = E = new re();
|
|
462
|
-
Ve.add(E),
|
|
462
|
+
Ve.add(E), Pe || pe(() => {
|
|
463
463
|
E === t && t.flush();
|
|
464
464
|
});
|
|
465
465
|
}
|
|
@@ -469,17 +469,17 @@ class re {
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
function Oe(e) {
|
|
472
|
-
var t =
|
|
473
|
-
|
|
472
|
+
var t = Pe;
|
|
473
|
+
Pe = !0;
|
|
474
474
|
try {
|
|
475
475
|
for (var n; ; ) {
|
|
476
|
-
if (
|
|
476
|
+
if (Dr(), M.length === 0 && (E?.flush(), M.length === 0))
|
|
477
477
|
return rt = null, /** @type {T} */
|
|
478
478
|
n;
|
|
479
479
|
hn();
|
|
480
480
|
}
|
|
481
481
|
} finally {
|
|
482
|
-
|
|
482
|
+
Pe = t;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
function hn() {
|
|
@@ -506,7 +506,7 @@ function Fr() {
|
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
508
|
let te = null;
|
|
509
|
-
function
|
|
509
|
+
function Pt(e) {
|
|
510
510
|
var t = e.length;
|
|
511
511
|
if (t !== 0) {
|
|
512
512
|
for (var n = 0; n < t; ) {
|
|
@@ -540,20 +540,20 @@ function dn(e, t, n, r) {
|
|
|
540
540
|
t,
|
|
541
541
|
n,
|
|
542
542
|
r
|
|
543
|
-
) : (s & (mt | se)) !== 0 && (s & O) === 0 &&
|
|
543
|
+
) : (s & (mt | se)) !== 0 && (s & O) === 0 && vn(i, t, r) && (x(i, O), q(
|
|
544
544
|
/** @type {Effect} */
|
|
545
545
|
i
|
|
546
546
|
));
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function vn(e, t, n) {
|
|
550
550
|
const r = n.get(e);
|
|
551
551
|
if (r !== void 0) return r;
|
|
552
552
|
if (e.deps !== null)
|
|
553
553
|
for (const i of e.deps) {
|
|
554
554
|
if (xe.call(t, i))
|
|
555
555
|
return !0;
|
|
556
|
-
if ((i.f & R) !== 0 &&
|
|
556
|
+
if ((i.f & R) !== 0 && vn(
|
|
557
557
|
/** @type {Derived} */
|
|
558
558
|
i,
|
|
559
559
|
t,
|
|
@@ -580,19 +580,19 @@ function q(e) {
|
|
|
580
580
|
}
|
|
581
581
|
M.push(t);
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function _n(e, t) {
|
|
584
584
|
if (!((e.f & Z) !== 0 && (e.f & z) !== 0)) {
|
|
585
585
|
(e.f & O) !== 0 ? t.d.push(e) : (e.f & G) !== 0 && t.m.push(e), x(e, z);
|
|
586
586
|
for (var n = e.first; n !== null; )
|
|
587
|
-
|
|
587
|
+
_n(n, t), n = n.next;
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
function jr(e) {
|
|
591
591
|
let t = 0, n = He(0), r;
|
|
592
592
|
return () => {
|
|
593
|
-
xt() && (c(n), St(() => (t === 0 && (r = Fn(() => e(() =>
|
|
593
|
+
xt() && (c(n), St(() => (t === 0 && (r = Fn(() => e(() => De(n)))), t += 1, () => {
|
|
594
594
|
pe(() => {
|
|
595
|
-
t -= 1, t === 0 && (r?.(), r = void 0,
|
|
595
|
+
t -= 1, t === 0 && (r?.(), r = void 0, De(n));
|
|
596
596
|
});
|
|
597
597
|
})));
|
|
598
598
|
};
|
|
@@ -629,7 +629,7 @@ class Vr {
|
|
|
629
629
|
/** @type {Set<Effect>} */
|
|
630
630
|
#d = /* @__PURE__ */ new Set();
|
|
631
631
|
/** @type {Set<Effect>} */
|
|
632
|
-
#
|
|
632
|
+
#v = /* @__PURE__ */ new Set();
|
|
633
633
|
/**
|
|
634
634
|
* A source containing the number of pending async deriveds/expressions.
|
|
635
635
|
* Only created if `$effect.pending()` is used inside the boundary,
|
|
@@ -676,7 +676,7 @@ class Vr {
|
|
|
676
676
|
const t = this.#n.pending;
|
|
677
677
|
t && (this.is_pending = !0, this.#r = oe(() => t(this.#e)), pe(() => {
|
|
678
678
|
var n = this.#a = document.createDocumentFragment(), r = ie();
|
|
679
|
-
n.append(r), this.#o = this.#
|
|
679
|
+
n.append(r), this.#o = this.#_(() => (re.ensure(), oe(() => this.#s(r)))), this.#f === 0 && (this.#e.before(n), this.#a = null, Le(
|
|
680
680
|
/** @type {Effect} */
|
|
681
681
|
this.#r,
|
|
682
682
|
() => {
|
|
@@ -708,7 +708,7 @@ class Vr {
|
|
|
708
708
|
* @param {Effect} effect
|
|
709
709
|
*/
|
|
710
710
|
defer_effect(t) {
|
|
711
|
-
cn(t, this.#d, this.#
|
|
711
|
+
cn(t, this.#d, this.#v);
|
|
712
712
|
}
|
|
713
713
|
/**
|
|
714
714
|
* Returns `false` if the effect exists inside a boundary whose pending snippet is shown
|
|
@@ -724,7 +724,7 @@ class Vr {
|
|
|
724
724
|
* @template T
|
|
725
725
|
* @param {() => T} fn
|
|
726
726
|
*/
|
|
727
|
-
#
|
|
727
|
+
#_(t) {
|
|
728
728
|
var n = m, r = g, i = B;
|
|
729
729
|
X(this.#l), V(this.#l), ke(this.#l.ctx);
|
|
730
730
|
try {
|
|
@@ -749,9 +749,9 @@ class Vr {
|
|
|
749
749
|
this.is_pending = !1;
|
|
750
750
|
for (const n of this.#d)
|
|
751
751
|
x(n, O), q(n);
|
|
752
|
-
for (const n of this.#
|
|
752
|
+
for (const n of this.#v)
|
|
753
753
|
x(n, G), q(n);
|
|
754
|
-
this.#d.clear(), this.#
|
|
754
|
+
this.#d.clear(), this.#v.clear(), this.#r && Le(this.#r, () => {
|
|
755
755
|
this.#r = null;
|
|
756
756
|
}), this.#a && (this.#e.before(this.#a), this.#a = null);
|
|
757
757
|
}
|
|
@@ -779,10 +779,10 @@ class Vr {
|
|
|
779
779
|
let r = this.#n.failed;
|
|
780
780
|
if (!n && !r)
|
|
781
781
|
throw t;
|
|
782
|
-
this.#o && (
|
|
782
|
+
this.#o && (D(this.#o), this.#o = null), this.#r && (D(this.#r), this.#r = null), this.#i && (D(this.#i), this.#i = null), y && (K(
|
|
783
783
|
/** @type {TemplateNode} */
|
|
784
784
|
this.#t
|
|
785
|
-
), Rr(),
|
|
785
|
+
), Rr(), K(nn()));
|
|
786
786
|
var i = !1, s = !1;
|
|
787
787
|
const l = () => {
|
|
788
788
|
if (i) {
|
|
@@ -791,7 +791,7 @@ class Vr {
|
|
|
791
791
|
}
|
|
792
792
|
i = !0, s && Cr(), this.#i !== null && Le(this.#i, () => {
|
|
793
793
|
this.#i = null;
|
|
794
|
-
}), this.#
|
|
794
|
+
}), this.#_(() => {
|
|
795
795
|
re.ensure(), this.#p();
|
|
796
796
|
});
|
|
797
797
|
};
|
|
@@ -801,7 +801,7 @@ class Vr {
|
|
|
801
801
|
} catch (o) {
|
|
802
802
|
ze(o, this.#l && this.#l.parent);
|
|
803
803
|
}
|
|
804
|
-
r && (this.#i = this.#
|
|
804
|
+
r && (this.#i = this.#_(() => {
|
|
805
805
|
re.ensure();
|
|
806
806
|
try {
|
|
807
807
|
return oe(() => {
|
|
@@ -841,8 +841,8 @@ function Yr(e, t, n, r) {
|
|
|
841
841
|
a();
|
|
842
842
|
try {
|
|
843
843
|
r(u);
|
|
844
|
-
} catch (
|
|
845
|
-
(o.f & ne) === 0 && ze(
|
|
844
|
+
} catch (_) {
|
|
845
|
+
(o.f & ne) === 0 && ze(_, o);
|
|
846
846
|
}
|
|
847
847
|
l?.deactivate(), ct();
|
|
848
848
|
}
|
|
@@ -913,8 +913,8 @@ function Ur(e, t, n) {
|
|
|
913
913
|
Promise.resolve(e()).then(f.resolve, f.reject).then(() => {
|
|
914
914
|
h === E && h.committed && h.deactivate(), ct();
|
|
915
915
|
});
|
|
916
|
-
} catch (
|
|
917
|
-
f.reject(
|
|
916
|
+
} catch (_) {
|
|
917
|
+
f.reject(_), ct();
|
|
918
918
|
}
|
|
919
919
|
var h = (
|
|
920
920
|
/** @type {Batch} */
|
|
@@ -924,11 +924,11 @@ function Ur(e, t, n) {
|
|
|
924
924
|
var d = i.is_rendered();
|
|
925
925
|
i.update_pending_count(1), h.increment(d), a.get(h)?.reject(de), a.delete(h), a.set(h, f);
|
|
926
926
|
}
|
|
927
|
-
const u = (
|
|
928
|
-
if (h.activate(),
|
|
929
|
-
|
|
927
|
+
const u = (_, v = void 0) => {
|
|
928
|
+
if (h.activate(), v)
|
|
929
|
+
v !== de && (l.f |= ae, Ze(l, v));
|
|
930
930
|
else {
|
|
931
|
-
(l.f & ae) !== 0 && (l.f ^= ae), Ze(l,
|
|
931
|
+
(l.f & ae) !== 0 && (l.f ^= ae), Ze(l, _);
|
|
932
932
|
for (const [w, $] of a) {
|
|
933
933
|
if (a.delete(w), w === h) break;
|
|
934
934
|
$.reject(de);
|
|
@@ -936,7 +936,7 @@ function Ur(e, t, n) {
|
|
|
936
936
|
}
|
|
937
937
|
o && (i.update_pending_count(-1), h.decrement(d));
|
|
938
938
|
};
|
|
939
|
-
f.promise.then(u, (
|
|
939
|
+
f.promise.then(u, (_) => u(null, _ || "unknown"));
|
|
940
940
|
}), ri(() => {
|
|
941
941
|
for (const f of a.values())
|
|
942
942
|
f.reject(de);
|
|
@@ -960,13 +960,13 @@ function Gr(e) {
|
|
|
960
960
|
if (t !== null) {
|
|
961
961
|
e.effects = null;
|
|
962
962
|
for (var n = 0; n < t.length; n += 1)
|
|
963
|
-
|
|
963
|
+
D(
|
|
964
964
|
/** @type {Effect} */
|
|
965
965
|
t[n]
|
|
966
966
|
);
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
function
|
|
969
|
+
function Kr(e) {
|
|
970
970
|
for (var t = e.parent; t !== null; ) {
|
|
971
971
|
if ((t.f & R) === 0)
|
|
972
972
|
return (t.f & ne) === 0 ? (
|
|
@@ -979,9 +979,9 @@ function Wr(e) {
|
|
|
979
979
|
}
|
|
980
980
|
function yt(e) {
|
|
981
981
|
var t, n = m;
|
|
982
|
-
X(
|
|
982
|
+
X(Kr(e));
|
|
983
983
|
try {
|
|
984
|
-
e.f &= ~me, Gr(e), t =
|
|
984
|
+
e.f &= ~me, Gr(e), t = Pn(e);
|
|
985
985
|
} finally {
|
|
986
986
|
X(n);
|
|
987
987
|
}
|
|
@@ -995,10 +995,10 @@ function pn(e) {
|
|
|
995
995
|
}
|
|
996
996
|
ue || (Y !== null ? (xt() || E?.is_fork) && Y.set(e, t) : bt(e));
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function Wr(e) {
|
|
999
999
|
if (e.effects !== null)
|
|
1000
1000
|
for (const t of e.effects)
|
|
1001
|
-
(t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(de), t.teardown =
|
|
1001
|
+
(t.teardown || t.ac) && (t.teardown?.(), t.ac?.abort(de), t.teardown = _r, t.ac = null, je(t, 0), kt(t));
|
|
1002
1002
|
}
|
|
1003
1003
|
function gn(e) {
|
|
1004
1004
|
if (e.effects !== null)
|
|
@@ -1059,7 +1059,7 @@ function Xr() {
|
|
|
1059
1059
|
(e.f & z) !== 0 && x(e, G), Be(e) && Ae(e);
|
|
1060
1060
|
ht.clear();
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1062
|
+
function De(e) {
|
|
1063
1063
|
p(e, e.v + 1);
|
|
1064
1064
|
}
|
|
1065
1065
|
function wn(e, t) {
|
|
@@ -1086,7 +1086,7 @@ function Ie(e) {
|
|
|
1086
1086
|
if (typeof e != "object" || e === null || Ge in e)
|
|
1087
1087
|
return e;
|
|
1088
1088
|
const t = Zt(e);
|
|
1089
|
-
if (t !== dr && t !==
|
|
1089
|
+
if (t !== dr && t !== vr)
|
|
1090
1090
|
return e;
|
|
1091
1091
|
var n = /* @__PURE__ */ new Map(), r = fr(e), i = /* @__PURE__ */ N(0), s = ge, l = (o) => {
|
|
1092
1092
|
if (ge === s)
|
|
@@ -1116,10 +1116,10 @@ function Ie(e) {
|
|
|
1116
1116
|
if (f === void 0) {
|
|
1117
1117
|
if (a in o) {
|
|
1118
1118
|
const h = l(() => /* @__PURE__ */ N(C));
|
|
1119
|
-
n.set(a, h),
|
|
1119
|
+
n.set(a, h), De(i);
|
|
1120
1120
|
}
|
|
1121
1121
|
} else
|
|
1122
|
-
p(f, C),
|
|
1122
|
+
p(f, C), De(i);
|
|
1123
1123
|
return !0;
|
|
1124
1124
|
},
|
|
1125
1125
|
get(o, a, f) {
|
|
@@ -1127,8 +1127,8 @@ function Ie(e) {
|
|
|
1127
1127
|
return e;
|
|
1128
1128
|
var h = n.get(a), d = a in o;
|
|
1129
1129
|
if (h === void 0 && (!d || Ee(o, a)?.writable) && (h = l(() => {
|
|
1130
|
-
var
|
|
1131
|
-
return
|
|
1130
|
+
var _ = Ie(d ? o[a] : C), v = /* @__PURE__ */ N(_);
|
|
1131
|
+
return v;
|
|
1132
1132
|
}), n.set(a, h)), h !== void 0) {
|
|
1133
1133
|
var u = c(h);
|
|
1134
1134
|
return u === C ? void 0 : u;
|
|
@@ -1158,8 +1158,8 @@ function Ie(e) {
|
|
|
1158
1158
|
var f = n.get(a), h = f !== void 0 && f.v !== C || Reflect.has(o, a);
|
|
1159
1159
|
if (f !== void 0 || m !== null && (!h || Ee(o, a)?.writable)) {
|
|
1160
1160
|
f === void 0 && (f = l(() => {
|
|
1161
|
-
var u = h ? Ie(o[a]) : C,
|
|
1162
|
-
return
|
|
1161
|
+
var u = h ? Ie(o[a]) : C, _ = /* @__PURE__ */ N(u);
|
|
1162
|
+
return _;
|
|
1163
1163
|
}), n.set(a, f));
|
|
1164
1164
|
var d = c(f);
|
|
1165
1165
|
if (d === C)
|
|
@@ -1170,10 +1170,10 @@ function Ie(e) {
|
|
|
1170
1170
|
set(o, a, f, h) {
|
|
1171
1171
|
var d = n.get(a), u = a in o;
|
|
1172
1172
|
if (r && a === "length")
|
|
1173
|
-
for (var
|
|
1174
|
-
d.v;
|
|
1175
|
-
var
|
|
1176
|
-
|
|
1173
|
+
for (var _ = f; _ < /** @type {Source<number>} */
|
|
1174
|
+
d.v; _ += 1) {
|
|
1175
|
+
var v = n.get(_ + "");
|
|
1176
|
+
v !== void 0 ? p(v, C) : _ in o && (v = l(() => /* @__PURE__ */ N(C)), n.set(_ + "", v));
|
|
1177
1177
|
}
|
|
1178
1178
|
if (d === void 0)
|
|
1179
1179
|
(!u || Ee(o, a)?.writable) && (d = l(() => /* @__PURE__ */ N(void 0)), p(d, Ie(f)), n.set(a, d));
|
|
@@ -1191,7 +1191,7 @@ function Ie(e) {
|
|
|
1191
1191
|
), T = Number(a);
|
|
1192
1192
|
Number.isInteger(T) && T >= k.v && p(k, T + 1);
|
|
1193
1193
|
}
|
|
1194
|
-
|
|
1194
|
+
De(i);
|
|
1195
1195
|
}
|
|
1196
1196
|
return !0;
|
|
1197
1197
|
},
|
|
@@ -1211,10 +1211,10 @@ function Ie(e) {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
);
|
|
1213
1213
|
}
|
|
1214
|
-
var
|
|
1214
|
+
var Dt, bn, $n, yn;
|
|
1215
1215
|
function dt() {
|
|
1216
|
-
if (
|
|
1217
|
-
|
|
1216
|
+
if (Dt === void 0) {
|
|
1217
|
+
Dt = window, bn = /Firefox/.test(navigator.userAgent);
|
|
1218
1218
|
var e = Element.prototype, t = Node.prototype, n = Text.prototype;
|
|
1219
1219
|
$n = Ee(t, "firstChild").get, yn = Ee(t, "nextSibling").get, It(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), It(n) && (n.__t = void 0);
|
|
1220
1220
|
}
|
|
@@ -1244,12 +1244,12 @@ function st(e, t) {
|
|
|
1244
1244
|
n = b.appendChild(ie());
|
|
1245
1245
|
else if (t && n.nodeType !== et) {
|
|
1246
1246
|
var r = ie();
|
|
1247
|
-
return n?.before(r),
|
|
1247
|
+
return n?.before(r), K(r), r;
|
|
1248
1248
|
}
|
|
1249
1249
|
return t && Tt(
|
|
1250
1250
|
/** @type {Text} */
|
|
1251
1251
|
n
|
|
1252
|
-
),
|
|
1252
|
+
), K(n), n;
|
|
1253
1253
|
}
|
|
1254
1254
|
function Zr(e, t = !1) {
|
|
1255
1255
|
if (!y) {
|
|
@@ -1259,7 +1259,7 @@ function Zr(e, t = !1) {
|
|
|
1259
1259
|
if (t) {
|
|
1260
1260
|
if (b?.nodeType !== et) {
|
|
1261
1261
|
var r = ie();
|
|
1262
|
-
return b?.before(r),
|
|
1262
|
+
return b?.before(r), K(r), r;
|
|
1263
1263
|
}
|
|
1264
1264
|
Tt(
|
|
1265
1265
|
/** @type {Text} */
|
|
@@ -1278,14 +1278,14 @@ function Lt(e, t = 1, n = !1) {
|
|
|
1278
1278
|
if (n) {
|
|
1279
1279
|
if (r?.nodeType !== et) {
|
|
1280
1280
|
var s = ie();
|
|
1281
|
-
return r === null ? i?.after(s) : r.before(s),
|
|
1281
|
+
return r === null ? i?.after(s) : r.before(s), K(s), s;
|
|
1282
1282
|
}
|
|
1283
1283
|
Tt(
|
|
1284
1284
|
/** @type {Text} */
|
|
1285
1285
|
r
|
|
1286
1286
|
);
|
|
1287
1287
|
}
|
|
1288
|
-
return
|
|
1288
|
+
return K(r), r;
|
|
1289
1289
|
}
|
|
1290
1290
|
function Qr(e) {
|
|
1291
1291
|
e.textContent = "";
|
|
@@ -1349,7 +1349,7 @@ function Q(e, t, n) {
|
|
|
1349
1349
|
try {
|
|
1350
1350
|
Ae(i);
|
|
1351
1351
|
} catch (o) {
|
|
1352
|
-
throw
|
|
1352
|
+
throw D(i), o;
|
|
1353
1353
|
}
|
|
1354
1354
|
else t !== null && q(i);
|
|
1355
1355
|
var s = i;
|
|
@@ -1392,7 +1392,7 @@ function ii(e) {
|
|
|
1392
1392
|
re.ensure();
|
|
1393
1393
|
const t = Q(ce | $e, e, !0);
|
|
1394
1394
|
return () => {
|
|
1395
|
-
|
|
1395
|
+
D(t);
|
|
1396
1396
|
};
|
|
1397
1397
|
}
|
|
1398
1398
|
function si(e) {
|
|
@@ -1400,8 +1400,8 @@ function si(e) {
|
|
|
1400
1400
|
const t = Q(ce | $e, e, !0);
|
|
1401
1401
|
return (n = {}) => new Promise((r) => {
|
|
1402
1402
|
n.outro ? Le(t, () => {
|
|
1403
|
-
|
|
1404
|
-
}) : (
|
|
1403
|
+
D(t), r(void 0);
|
|
1404
|
+
}) : (D(t), r(void 0));
|
|
1405
1405
|
});
|
|
1406
1406
|
}
|
|
1407
1407
|
function xn(e) {
|
|
@@ -1445,16 +1445,16 @@ function kt(e, t = !1) {
|
|
|
1445
1445
|
i.abort(de);
|
|
1446
1446
|
});
|
|
1447
1447
|
var r = n.next;
|
|
1448
|
-
(n.f & ce) !== 0 ? n.parent = null :
|
|
1448
|
+
(n.f & ce) !== 0 ? n.parent = null : D(n, t), n = r;
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
1451
|
function oi(e) {
|
|
1452
1452
|
for (var t = e.first; t !== null; ) {
|
|
1453
1453
|
var n = t.next;
|
|
1454
|
-
(t.f & Z) === 0 &&
|
|
1454
|
+
(t.f & Z) === 0 && D(t), t = n;
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function D(e, t = !0) {
|
|
1458
1458
|
var n = !1;
|
|
1459
1459
|
(t || (e.f & tn) !== 0) && e.nodes !== null && e.nodes.end !== null && (ai(
|
|
1460
1460
|
e.nodes.start,
|
|
@@ -1483,7 +1483,7 @@ function Le(e, t, n = !0) {
|
|
|
1483
1483
|
var r = [];
|
|
1484
1484
|
An(e, r, !0);
|
|
1485
1485
|
var i = () => {
|
|
1486
|
-
n &&
|
|
1486
|
+
n && D(e), t && t();
|
|
1487
1487
|
}, s = r.length;
|
|
1488
1488
|
if (s > 0) {
|
|
1489
1489
|
var l = () => --s || i();
|
|
@@ -1531,7 +1531,7 @@ function Nn(e, t) {
|
|
|
1531
1531
|
t.append(n), n = i;
|
|
1532
1532
|
}
|
|
1533
1533
|
}
|
|
1534
|
-
let
|
|
1534
|
+
let Ke = !1, ue = !1;
|
|
1535
1535
|
function jt(e) {
|
|
1536
1536
|
ue = e;
|
|
1537
1537
|
}
|
|
@@ -1547,11 +1547,11 @@ let H = null;
|
|
|
1547
1547
|
function Rn(e) {
|
|
1548
1548
|
g !== null && (H === null ? H = [e] : H.push(e));
|
|
1549
1549
|
}
|
|
1550
|
-
let
|
|
1550
|
+
let P = null, L = 0, F = null;
|
|
1551
1551
|
function ui(e) {
|
|
1552
1552
|
F = e;
|
|
1553
1553
|
}
|
|
1554
|
-
let On = 1,
|
|
1554
|
+
let On = 1, _e = 0, ge = _e;
|
|
1555
1555
|
function Ht(e) {
|
|
1556
1556
|
ge = e;
|
|
1557
1557
|
}
|
|
@@ -1599,10 +1599,10 @@ function Mn(e, t, n = !0) {
|
|
|
1599
1599
|
));
|
|
1600
1600
|
}
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1603
|
-
var t =
|
|
1604
|
-
|
|
1605
|
-
null, L = 0, F = null, g = (f & (Z | ce)) === 0 ? e : null, H = null, ke(e.ctx), U = !1, ge = ++
|
|
1602
|
+
function Pn(e) {
|
|
1603
|
+
var t = P, n = L, r = F, i = g, s = H, l = B, o = U, a = ge, f = e.f;
|
|
1604
|
+
P = /** @type {null | Value[]} */
|
|
1605
|
+
null, L = 0, F = null, g = (f & (Z | ce)) === 0 ? e : null, H = null, ke(e.ctx), U = !1, ge = ++_e, e.ac !== null && (En(() => {
|
|
1606
1606
|
e.ac.abort(de);
|
|
1607
1607
|
}), e.ac = null);
|
|
1608
1608
|
try {
|
|
@@ -1612,33 +1612,33 @@ function Dn(e) {
|
|
|
1612
1612
|
e.fn
|
|
1613
1613
|
), d = h();
|
|
1614
1614
|
e.f |= Ce;
|
|
1615
|
-
var u = e.deps,
|
|
1616
|
-
if (
|
|
1617
|
-
var
|
|
1618
|
-
if (
|
|
1619
|
-
for (u.length = L +
|
|
1620
|
-
u[L +
|
|
1615
|
+
var u = e.deps, _ = E?.is_fork;
|
|
1616
|
+
if (P !== null) {
|
|
1617
|
+
var v;
|
|
1618
|
+
if (_ || je(e, L), u !== null && L > 0)
|
|
1619
|
+
for (u.length = L + P.length, v = 0; v < P.length; v++)
|
|
1620
|
+
u[L + v] = P[v];
|
|
1621
1621
|
else
|
|
1622
|
-
e.deps = u =
|
|
1622
|
+
e.deps = u = P;
|
|
1623
1623
|
if (xt() && (e.f & j) !== 0)
|
|
1624
|
-
for (
|
|
1625
|
-
(u[
|
|
1626
|
-
} else !
|
|
1624
|
+
for (v = L; v < u.length; v++)
|
|
1625
|
+
(u[v].reactions ??= []).push(e);
|
|
1626
|
+
} else !_ && u !== null && L < u.length && (je(e, L), u.length = L);
|
|
1627
1627
|
if (on() && F !== null && !U && u !== null && (e.f & (R | G | O)) === 0)
|
|
1628
|
-
for (
|
|
1629
|
-
F.length;
|
|
1628
|
+
for (v = 0; v < /** @type {Source[]} */
|
|
1629
|
+
F.length; v++)
|
|
1630
1630
|
Mn(
|
|
1631
|
-
F[
|
|
1631
|
+
F[v],
|
|
1632
1632
|
/** @type {Effect} */
|
|
1633
1633
|
e
|
|
1634
1634
|
);
|
|
1635
1635
|
if (i !== null && i !== e) {
|
|
1636
|
-
if (
|
|
1636
|
+
if (_e++, i.deps !== null)
|
|
1637
1637
|
for (let w = 0; w < n; w += 1)
|
|
1638
|
-
i.deps[w].rv =
|
|
1638
|
+
i.deps[w].rv = _e;
|
|
1639
1639
|
if (t !== null)
|
|
1640
1640
|
for (const w of t)
|
|
1641
|
-
w.rv =
|
|
1641
|
+
w.rv = _e;
|
|
1642
1642
|
F !== null && (r === null ? r = F : r.push(.../** @type {Source[]} */
|
|
1643
1643
|
F));
|
|
1644
1644
|
}
|
|
@@ -1646,7 +1646,7 @@ function Dn(e) {
|
|
|
1646
1646
|
} catch (w) {
|
|
1647
1647
|
return fn(w);
|
|
1648
1648
|
} finally {
|
|
1649
|
-
e.f ^= ft,
|
|
1649
|
+
e.f ^= ft, P = t, L = n, F = r, g = i, H = s, ke(l), U = o, ge = a;
|
|
1650
1650
|
}
|
|
1651
1651
|
}
|
|
1652
1652
|
function ci(e, t) {
|
|
@@ -1661,12 +1661,12 @@ function ci(e, t) {
|
|
|
1661
1661
|
if (n === null && (t.f & R) !== 0 && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
1662
1662
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
1663
1663
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
1664
|
-
(
|
|
1664
|
+
(P === null || !xe.call(P, t))) {
|
|
1665
1665
|
var s = (
|
|
1666
1666
|
/** @type {Derived} */
|
|
1667
1667
|
t
|
|
1668
1668
|
);
|
|
1669
|
-
(s.f & j) !== 0 && (s.f ^= j, s.f &= ~me), bt(s),
|
|
1669
|
+
(s.f & j) !== 0 && (s.f ^= j, s.f &= ~me), bt(s), Wr(s), je(s, 0);
|
|
1670
1670
|
}
|
|
1671
1671
|
}
|
|
1672
1672
|
function je(e, t) {
|
|
@@ -1679,16 +1679,16 @@ function Ae(e) {
|
|
|
1679
1679
|
var t = e.f;
|
|
1680
1680
|
if ((t & ne) === 0) {
|
|
1681
1681
|
x(e, z);
|
|
1682
|
-
var n = m, r =
|
|
1683
|
-
m = e,
|
|
1682
|
+
var n = m, r = Ke;
|
|
1683
|
+
m = e, Ke = !0;
|
|
1684
1684
|
try {
|
|
1685
1685
|
(t & (se | en)) !== 0 ? oi(e) : kt(e), kn(e);
|
|
1686
|
-
var i =
|
|
1686
|
+
var i = Pn(e);
|
|
1687
1687
|
e.teardown = typeof i == "function" ? i : null, e.wv = On;
|
|
1688
1688
|
var s;
|
|
1689
|
-
ot &&
|
|
1689
|
+
ot && Pr && (e.f & O) !== 0 && e.deps;
|
|
1690
1690
|
} finally {
|
|
1691
|
-
|
|
1691
|
+
Ke = r, m = n;
|
|
1692
1692
|
}
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
@@ -1699,7 +1699,7 @@ function c(e) {
|
|
|
1699
1699
|
if (!r && (H === null || !xe.call(H, e))) {
|
|
1700
1700
|
var i = g.deps;
|
|
1701
1701
|
if ((g.f & ft) !== 0)
|
|
1702
|
-
e.rv <
|
|
1702
|
+
e.rv < _e && (e.rv = _e, P === null && i !== null && i[L] === e ? L++ : P === null ? P = [e] : P.push(e));
|
|
1703
1703
|
else {
|
|
1704
1704
|
(g.deps ??= []).push(e);
|
|
1705
1705
|
var s = e.reactions;
|
|
@@ -1718,8 +1718,8 @@ function c(e) {
|
|
|
1718
1718
|
var o = l.v;
|
|
1719
1719
|
return ((l.f & z) === 0 && l.reactions !== null || Ln(l)) && (o = yt(l)), fe.set(l, o), o;
|
|
1720
1720
|
}
|
|
1721
|
-
var a = (l.f & j) === 0 && !U && g !== null && (
|
|
1722
|
-
Be(l) && (a && (l.f |= j), pn(l)), a && !f && (gn(l),
|
|
1721
|
+
var a = (l.f & j) === 0 && !U && g !== null && (Ke || (g.f & j) !== 0), f = (l.f & Ce) === 0;
|
|
1722
|
+
Be(l) && (a && (l.f |= j), pn(l)), a && !f && (gn(l), Dn(l));
|
|
1723
1723
|
}
|
|
1724
1724
|
if (Y?.has(e))
|
|
1725
1725
|
return Y.get(e);
|
|
@@ -1727,13 +1727,13 @@ function c(e) {
|
|
|
1727
1727
|
throw e.v;
|
|
1728
1728
|
return e.v;
|
|
1729
1729
|
}
|
|
1730
|
-
function
|
|
1730
|
+
function Dn(e) {
|
|
1731
1731
|
if (e.f |= j, e.deps !== null)
|
|
1732
1732
|
for (const t of e.deps)
|
|
1733
1733
|
(t.reactions ??= []).push(e), (t.f & R) !== 0 && (t.f & j) === 0 && (gn(
|
|
1734
1734
|
/** @type {Derived} */
|
|
1735
1735
|
t
|
|
1736
|
-
),
|
|
1736
|
+
), Dn(
|
|
1737
1737
|
/** @type {Derived} */
|
|
1738
1738
|
t
|
|
1739
1739
|
));
|
|
@@ -1757,14 +1757,14 @@ function Fn(e) {
|
|
|
1757
1757
|
U = t;
|
|
1758
1758
|
}
|
|
1759
1759
|
}
|
|
1760
|
-
const Me = /* @__PURE__ */ Symbol("events"), jn = /* @__PURE__ */ new Set(),
|
|
1760
|
+
const Me = /* @__PURE__ */ Symbol("events"), jn = /* @__PURE__ */ new Set(), vt = /* @__PURE__ */ new Set();
|
|
1761
1761
|
function Bt(e, t, n) {
|
|
1762
1762
|
(t[Me] ??= {})[e] = n;
|
|
1763
1763
|
}
|
|
1764
1764
|
function hi(e) {
|
|
1765
1765
|
for (var t = 0; t < e.length; t++)
|
|
1766
1766
|
jn.add(e[t]);
|
|
1767
|
-
for (var n of
|
|
1767
|
+
for (var n of vt)
|
|
1768
1768
|
n(e);
|
|
1769
1769
|
}
|
|
1770
1770
|
let Vt = null;
|
|
@@ -1801,8 +1801,8 @@ function Yt(e) {
|
|
|
1801
1801
|
var h = g, d = m;
|
|
1802
1802
|
V(null), X(null);
|
|
1803
1803
|
try {
|
|
1804
|
-
for (var u,
|
|
1805
|
-
var
|
|
1804
|
+
for (var u, _ = []; s !== null; ) {
|
|
1805
|
+
var v = s.assignedSlot || s.parentNode || /** @type {any} */
|
|
1806
1806
|
s.host || null;
|
|
1807
1807
|
try {
|
|
1808
1808
|
var w = s[Me]?.[r];
|
|
@@ -1811,14 +1811,14 @@ function Yt(e) {
|
|
|
1811
1811
|
// -> the target could not have been disabled because it emits the event in the first place
|
|
1812
1812
|
e.target === s) && w.call(s, e);
|
|
1813
1813
|
} catch ($) {
|
|
1814
|
-
u ?
|
|
1814
|
+
u ? _.push($) : u = $;
|
|
1815
1815
|
}
|
|
1816
|
-
if (e.cancelBubble ||
|
|
1816
|
+
if (e.cancelBubble || v === t || v === null)
|
|
1817
1817
|
break;
|
|
1818
|
-
s =
|
|
1818
|
+
s = v;
|
|
1819
1819
|
}
|
|
1820
1820
|
if (u) {
|
|
1821
|
-
for (let $ of
|
|
1821
|
+
for (let $ of _)
|
|
1822
1822
|
queueMicrotask(() => {
|
|
1823
1823
|
throw $;
|
|
1824
1824
|
});
|
|
@@ -1836,7 +1836,7 @@ const di = (
|
|
|
1836
1836
|
createHTML: (e) => e
|
|
1837
1837
|
})
|
|
1838
1838
|
);
|
|
1839
|
-
function
|
|
1839
|
+
function vi(e) {
|
|
1840
1840
|
return (
|
|
1841
1841
|
/** @type {string} */
|
|
1842
1842
|
di?.createHTML(e) ?? e
|
|
@@ -1844,7 +1844,7 @@ function _i(e) {
|
|
|
1844
1844
|
}
|
|
1845
1845
|
function Hn(e, t = !1) {
|
|
1846
1846
|
var n = Et("template");
|
|
1847
|
-
return e = e.replaceAll("<!>", "<!---->"), n.innerHTML = t ?
|
|
1847
|
+
return e = e.replaceAll("<!>", "<!---->"), n.innerHTML = t ? vi(e) : e, n.content;
|
|
1848
1848
|
}
|
|
1849
1849
|
function be(e, t) {
|
|
1850
1850
|
var n = (
|
|
@@ -1869,7 +1869,7 @@ function Bn(e, t) {
|
|
|
1869
1869
|
};
|
|
1870
1870
|
}
|
|
1871
1871
|
// @__NO_SIDE_EFFECTS__
|
|
1872
|
-
function
|
|
1872
|
+
function _i(e, t, n = "svg") {
|
|
1873
1873
|
var r = !e.startsWith("<!>"), i = `<${n}>${r ? e : "<!>" + e}</${n}>`, s;
|
|
1874
1874
|
return () => {
|
|
1875
1875
|
if (y)
|
|
@@ -1894,7 +1894,7 @@ function vi(e, t, n = "svg") {
|
|
|
1894
1894
|
}
|
|
1895
1895
|
// @__NO_SIDE_EFFECTS__
|
|
1896
1896
|
function zt(e, t) {
|
|
1897
|
-
return /* @__PURE__ */
|
|
1897
|
+
return /* @__PURE__ */ _i(e, t, "svg");
|
|
1898
1898
|
}
|
|
1899
1899
|
function pi() {
|
|
1900
1900
|
if (y)
|
|
@@ -1936,7 +1936,7 @@ function bi(e, t) {
|
|
|
1936
1936
|
s = /* @__PURE__ */ le(s);
|
|
1937
1937
|
if (!s)
|
|
1938
1938
|
throw Te;
|
|
1939
|
-
ye(!0),
|
|
1939
|
+
ye(!0), K(
|
|
1940
1940
|
/** @type {Comment} */
|
|
1941
1941
|
s
|
|
1942
1942
|
);
|
|
@@ -1949,7 +1949,7 @@ function bi(e, t) {
|
|
|
1949
1949
|
throw l;
|
|
1950
1950
|
return l !== Te && console.warn("Failed to hydrate: ", l), t.recover === !1 && Sr(), dt(), Qr(n), ye(!1), Vn(e, t);
|
|
1951
1951
|
} finally {
|
|
1952
|
-
ye(r),
|
|
1952
|
+
ye(r), K(i);
|
|
1953
1953
|
}
|
|
1954
1954
|
}
|
|
1955
1955
|
const qe = /* @__PURE__ */ new Map();
|
|
@@ -1966,11 +1966,11 @@ function Yn(e, { target: t, anchor: n, props: r = {}, events: i, context: s, int
|
|
|
1966
1966
|
},
|
|
1967
1967
|
(u) => {
|
|
1968
1968
|
sn({});
|
|
1969
|
-
var
|
|
1969
|
+
var _ = (
|
|
1970
1970
|
/** @type {ComponentContext} */
|
|
1971
1971
|
B
|
|
1972
1972
|
);
|
|
1973
|
-
if (s && (
|
|
1973
|
+
if (s && (_.c = s), i && (r.$$events = i), y && be(
|
|
1974
1974
|
/** @type {TemplateNode} */
|
|
1975
1975
|
u,
|
|
1976
1976
|
null
|
|
@@ -1981,41 +1981,41 @@ function Yn(e, { target: t, anchor: n, props: r = {}, events: i, context: s, int
|
|
|
1981
1981
|
}
|
|
1982
1982
|
);
|
|
1983
1983
|
var h = /* @__PURE__ */ new Set(), d = (u) => {
|
|
1984
|
-
for (var
|
|
1985
|
-
var
|
|
1986
|
-
if (!h.has(
|
|
1987
|
-
h.add(
|
|
1988
|
-
var w = mi(
|
|
1984
|
+
for (var _ = 0; _ < u.length; _++) {
|
|
1985
|
+
var v = u[_];
|
|
1986
|
+
if (!h.has(v)) {
|
|
1987
|
+
h.add(v);
|
|
1988
|
+
var w = mi(v);
|
|
1989
1989
|
for (const T of [t, document]) {
|
|
1990
1990
|
var $ = qe.get(T);
|
|
1991
1991
|
$ === void 0 && ($ = /* @__PURE__ */ new Map(), qe.set(T, $));
|
|
1992
|
-
var k = $.get(
|
|
1993
|
-
k === void 0 ? (T.addEventListener(
|
|
1992
|
+
var k = $.get(v);
|
|
1993
|
+
k === void 0 ? (T.addEventListener(v, Yt, { passive: w }), $.set(v, 1)) : $.set(v, k + 1);
|
|
1994
1994
|
}
|
|
1995
1995
|
}
|
|
1996
1996
|
}
|
|
1997
1997
|
};
|
|
1998
|
-
return d(cr(jn)),
|
|
1998
|
+
return d(cr(jn)), vt.add(d), () => {
|
|
1999
1999
|
for (var u of h)
|
|
2000
2000
|
for (const w of [t, document]) {
|
|
2001
|
-
var
|
|
2001
|
+
var _ = (
|
|
2002
2002
|
/** @type {Map<string, number>} */
|
|
2003
2003
|
qe.get(w)
|
|
2004
|
-
),
|
|
2004
|
+
), v = (
|
|
2005
2005
|
/** @type {number} */
|
|
2006
|
-
|
|
2006
|
+
_.get(u)
|
|
2007
2007
|
);
|
|
2008
|
-
--
|
|
2008
|
+
--v == 0 ? (w.removeEventListener(u, Yt), _.delete(u), _.size === 0 && qe.delete(w)) : _.set(u, v);
|
|
2009
2009
|
}
|
|
2010
|
-
|
|
2010
|
+
vt.delete(d), f !== n && f.parentNode?.removeChild(f);
|
|
2011
2011
|
};
|
|
2012
2012
|
});
|
|
2013
|
-
return
|
|
2013
|
+
return _t.set(o, a), o;
|
|
2014
2014
|
}
|
|
2015
|
-
let
|
|
2015
|
+
let _t = /* @__PURE__ */ new WeakMap();
|
|
2016
2016
|
function $i(e, t) {
|
|
2017
|
-
const n =
|
|
2018
|
-
return n ? (
|
|
2017
|
+
const n = _t.get(e);
|
|
2018
|
+
return n ? (_t.delete(e), n(t)) : Promise.resolve();
|
|
2019
2019
|
}
|
|
2020
2020
|
class yi {
|
|
2021
2021
|
/** @type {TemplateNode} */
|
|
@@ -2080,7 +2080,7 @@ class yi {
|
|
|
2080
2080
|
if (this.#e.delete(s), s === t)
|
|
2081
2081
|
break;
|
|
2082
2082
|
const o = this.#n.get(l);
|
|
2083
|
-
o && (
|
|
2083
|
+
o && (D(o.effect), this.#n.delete(l));
|
|
2084
2084
|
}
|
|
2085
2085
|
for (const [s, l] of this.#t) {
|
|
2086
2086
|
if (s === n || this.#s.has(s)) continue;
|
|
@@ -2089,7 +2089,7 @@ class yi {
|
|
|
2089
2089
|
var f = document.createDocumentFragment();
|
|
2090
2090
|
Nn(l, f), f.append(ie()), this.#n.set(s, { effect: l, fragment: f });
|
|
2091
2091
|
} else
|
|
2092
|
-
|
|
2092
|
+
D(l);
|
|
2093
2093
|
this.#s.delete(s), this.#t.delete(s);
|
|
2094
2094
|
};
|
|
2095
2095
|
this.#l || !r ? (this.#s.add(s), Le(l, o, !1)) : o();
|
|
@@ -2103,7 +2103,7 @@ class yi {
|
|
|
2103
2103
|
this.#e.delete(t);
|
|
2104
2104
|
const n = Array.from(this.#e.values());
|
|
2105
2105
|
for (const [r, i] of this.#n)
|
|
2106
|
-
n.includes(r) || (
|
|
2106
|
+
n.includes(r) || (D(i.effect), this.#n.delete(r));
|
|
2107
2107
|
};
|
|
2108
2108
|
/**
|
|
2109
2109
|
*
|
|
@@ -2146,7 +2146,7 @@ function lt(e, t, n = !1) {
|
|
|
2146
2146
|
var a;
|
|
2147
2147
|
if (h === pt ? a = 0 : h === gt ? a = !1 : a = parseInt(h.substring(1)), l !== a) {
|
|
2148
2148
|
var f = nn();
|
|
2149
|
-
|
|
2149
|
+
K(f), r.anchor = f, ye(!1), r.ensure(l, o), ye(!0);
|
|
2150
2150
|
return;
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
@@ -2221,11 +2221,11 @@ function zi(e) {
|
|
|
2221
2221
|
}
|
|
2222
2222
|
);
|
|
2223
2223
|
}
|
|
2224
|
-
var
|
|
2224
|
+
var Kt = /* @__PURE__ */ new Map();
|
|
2225
2225
|
function Ai(e) {
|
|
2226
|
-
var t = e.getAttribute("is") || e.nodeName, n =
|
|
2226
|
+
var t = e.getAttribute("is") || e.nodeName, n = Kt.get(t);
|
|
2227
2227
|
if (n) return n;
|
|
2228
|
-
|
|
2228
|
+
Kt.set(t, n = []);
|
|
2229
2229
|
for (var r, i = e, s = Element.prototype; s !== i; ) {
|
|
2230
2230
|
r = hr(i);
|
|
2231
2231
|
for (var l in r)
|
|
@@ -2234,7 +2234,7 @@ function Ai(e) {
|
|
|
2234
2234
|
}
|
|
2235
2235
|
return n;
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function Wt(e, t) {
|
|
2238
2238
|
return e === t || e?.[Ge] === t;
|
|
2239
2239
|
}
|
|
2240
2240
|
function Ci(e = {}, t, n, r) {
|
|
@@ -2242,11 +2242,11 @@ function Ci(e = {}, t, n, r) {
|
|
|
2242
2242
|
var i, s;
|
|
2243
2243
|
return St(() => {
|
|
2244
2244
|
i = s, s = [], Fn(() => {
|
|
2245
|
-
e !== n(...s) && (t(e, ...s), i &&
|
|
2245
|
+
e !== n(...s) && (t(e, ...s), i && Wt(n(...i), e) && t(null, ...i));
|
|
2246
2246
|
});
|
|
2247
2247
|
}), () => {
|
|
2248
2248
|
pe(() => {
|
|
2249
|
-
s &&
|
|
2249
|
+
s && Wt(n(...s), e) && t(null, ...s);
|
|
2250
2250
|
});
|
|
2251
2251
|
};
|
|
2252
2252
|
}), e;
|
|
@@ -2273,10 +2273,10 @@ function Ue(e, t, n, r) {
|
|
|
2273
2273
|
);
|
|
2274
2274
|
return (
|
|
2275
2275
|
/** @type {() => V} */
|
|
2276
|
-
(function(u,
|
|
2276
|
+
(function(u, _) {
|
|
2277
2277
|
if (arguments.length > 0) {
|
|
2278
|
-
const
|
|
2279
|
-
return p(h,
|
|
2278
|
+
const v = _ ? c(h) : u;
|
|
2279
|
+
return p(h, v), f = !0, i !== void 0 && (i = v), u;
|
|
2280
2280
|
}
|
|
2281
2281
|
return ue && f || (d.f & ne) !== 0 ? h.v : c(h);
|
|
2282
2282
|
})
|
|
@@ -2433,7 +2433,7 @@ typeof HTMLElement == "function" && (qn = class extends HTMLElement {
|
|
|
2433
2433
|
r in n && (r === "default" && !this.$$d.children ? (this.$$d.children = e(r), t.default = !0) : t[r] = e(r));
|
|
2434
2434
|
for (const r of this.attributes) {
|
|
2435
2435
|
const i = this.$$g_p(r.name);
|
|
2436
|
-
i in this.$$d || (this.$$d[i] =
|
|
2436
|
+
i in this.$$d || (this.$$d[i] = We(i, r.value, this.$$p_d, "toProp"));
|
|
2437
2437
|
}
|
|
2438
2438
|
for (const r in this.$$p_d)
|
|
2439
2439
|
!(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
|
|
@@ -2451,7 +2451,7 @@ typeof HTMLElement == "function" && (qn = class extends HTMLElement {
|
|
|
2451
2451
|
for (const r of Je(this.$$c)) {
|
|
2452
2452
|
if (!this.$$p_d[r]?.reflect) continue;
|
|
2453
2453
|
this.$$d[r] = this.$$c[r];
|
|
2454
|
-
const i =
|
|
2454
|
+
const i = We(
|
|
2455
2455
|
r,
|
|
2456
2456
|
this.$$d[r],
|
|
2457
2457
|
this.$$p_d,
|
|
@@ -2478,7 +2478,7 @@ typeof HTMLElement == "function" && (qn = class extends HTMLElement {
|
|
|
2478
2478
|
* @param {string} newValue
|
|
2479
2479
|
*/
|
|
2480
2480
|
attributeChangedCallback(e, t, n) {
|
|
2481
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
2481
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = We(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
2482
2482
|
}
|
|
2483
2483
|
disconnectedCallback() {
|
|
2484
2484
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -2494,7 +2494,7 @@ typeof HTMLElement == "function" && (qn = class extends HTMLElement {
|
|
|
2494
2494
|
) || e;
|
|
2495
2495
|
}
|
|
2496
2496
|
});
|
|
2497
|
-
function
|
|
2497
|
+
function We(e, t, n, r) {
|
|
2498
2498
|
const i = n[e]?.type;
|
|
2499
2499
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
2500
2500
|
return t;
|
|
@@ -2550,7 +2550,7 @@ function Ii(e, t, n, r, i, s) {
|
|
|
2550
2550
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
2551
2551
|
},
|
|
2552
2552
|
set(a) {
|
|
2553
|
-
a =
|
|
2553
|
+
a = We(o, a, t), this.$$d[o] = a;
|
|
2554
2554
|
var f = this.$$c;
|
|
2555
2555
|
if (f) {
|
|
2556
2556
|
var h = Ee(f, o)?.get;
|
|
@@ -2567,18 +2567,18 @@ function Ii(e, t, n, r, i, s) {
|
|
|
2567
2567
|
}), e.element = /** @type {any} */
|
|
2568
2568
|
l, l;
|
|
2569
2569
|
}
|
|
2570
|
-
var Mi = /* @__PURE__ */ zt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pie-tool-tts-inline__icon svelte-18mzc0g" aria-hidden="true"><path d="M8 5v14l11-7z" class="svelte-18mzc0g"></path></svg>'),
|
|
2570
|
+
var Mi = /* @__PURE__ */ zt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pie-tool-tts-inline__icon svelte-18mzc0g" aria-hidden="true"><path d="M8 5v14l11-7z" class="svelte-18mzc0g"></path></svg>'), Pi = /* @__PURE__ */ zt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pie-tool-tts-inline__icon svelte-18mzc0g" aria-hidden="true"><path d="M6 19h4V5H6v14zm8-14v14h4V5h-4z" class="svelte-18mzc0g"></path></svg>'), Di = /* @__PURE__ */ zt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pie-tool-tts-inline__icon svelte-18mzc0g" aria-hidden="true"><path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z" class="svelte-18mzc0g"></path></svg>'), Li = /* @__PURE__ */ Bn('<button type="button" aria-label="Stop reading"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="pie-tool-tts-inline__icon svelte-18mzc0g" aria-hidden="true"><path d="M6 6h12v12H6z" class="svelte-18mzc0g"></path></svg></button>'), Fi = /* @__PURE__ */ Bn('<div class="pie-tool-tts-inline svelte-18mzc0g"><button type="button"><!></button> <!> <div class="pie-sr-only svelte-18mzc0g" role="status" aria-live="polite" aria-atomic="true"> </div></div>');
|
|
2571
2571
|
const ji = {
|
|
2572
2572
|
hash: "svelte-18mzc0g",
|
|
2573
2573
|
code: `.pie-tool-tts-inline.svelte-18mzc0g {display:inline-flex;align-items:center;gap:0.25rem;}.pie-tool-tts-inline__button.svelte-18mzc0g {display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--pie-border, #ccc);background-color:var(--pie-background, white);color:var(--pie-text, #333);border-radius:4px;cursor:pointer;transition:background-color 0.15s ease,
|
|
2574
2574
|
transform 0.1s ease,
|
|
2575
2575
|
box-shadow 0.15s ease;padding:0.25rem;position:relative;}.pie-tool-tts-inline__button.svelte-18mzc0g:hover:not(:disabled) {background-color:var(--pie-secondary-background, #f5f5f5);transform:translateY(-1px);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.pie-tool-tts-inline__button.svelte-18mzc0g:active:not(:disabled) {transform:translateY(0);box-shadow:none;}
|
|
2576
2576
|
|
|
2577
|
-
/* Focus indicator - WCAG 2.4.7, 2.4.13 */.pie-tool-tts-inline__button.svelte-18mzc0g:focus-visible {outline:2px solid #0066cc;outline-offset:2px;box-shadow:0 0 0 4px
|
|
2578
|
-
animation: svelte-18mzc0g-pulse 1.5s ease-in-out infinite;}.pie-tool-tts-inline__button--paused.svelte-18mzc0g {background-color:
|
|
2577
|
+
/* Focus indicator - WCAG 2.4.7, 2.4.13 */.pie-tool-tts-inline__button.svelte-18mzc0g:focus-visible {outline:2px solid var(--pie-button-focus-outline, var(--pie-primary, #0066cc));outline-offset:2px;box-shadow:0 0 0 4px color-mix(in srgb, var(--pie-primary, #0066cc) 22%, transparent);z-index:1;}.pie-tool-tts-inline__button--speaking.svelte-18mzc0g {background-color:var(--pie-primary, #1976d2);color:white;border-color:var(--pie-primary, #1976d2);
|
|
2578
|
+
animation: svelte-18mzc0g-pulse 1.5s ease-in-out infinite;}.pie-tool-tts-inline__button--paused.svelte-18mzc0g {background-color:color-mix(in srgb, var(--pie-missing, #ff9800) 18%, transparent);}.pie-tool-tts-inline__button--stop.svelte-18mzc0g {background-color:transparent;}.pie-tool-tts-inline__button--stop.svelte-18mzc0g:hover:not(:disabled) {background-color:color-mix(in srgb, var(--pie-incorrect, #f44336) 12%, transparent);}.pie-tool-tts-inline__button--stop.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {color:var(--pie-incorrect-icon, #c62828);}.pie-tool-tts-inline__button.svelte-18mzc0g:disabled {cursor:not-allowed;opacity:0.6;}
|
|
2579
2579
|
|
|
2580
2580
|
/* Size variants */.pie-tool-tts-inline__button--sm.svelte-18mzc0g {width:1.5rem;height:1.5rem;
|
|
2581
|
-
/* Increase padding to meet 44px touch target - WCAG 2.5.2 */padding:0.625rem;}.pie-tool-tts-inline__button--sm.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1rem;height:1rem;}.pie-tool-tts-inline__button--md.svelte-18mzc0g {width:2rem;height:2rem;}.pie-tool-tts-inline__button--md.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1.25rem;height:1.25rem;}.pie-tool-tts-inline__button--lg.svelte-18mzc0g {width:2.5rem;height:2.5rem;}.pie-tool-tts-inline__button--lg.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1.5rem;height:1.5rem;}.pie-tool-tts-inline__icon.svelte-18mzc0g {fill:currentColor;color
|
|
2581
|
+
/* Increase padding to meet 44px touch target - WCAG 2.5.2 */padding:0.625rem;}.pie-tool-tts-inline__button--sm.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1rem;height:1rem;}.pie-tool-tts-inline__button--md.svelte-18mzc0g {width:2rem;height:2rem;}.pie-tool-tts-inline__button--md.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1.25rem;height:1.25rem;}.pie-tool-tts-inline__button--lg.svelte-18mzc0g {width:2.5rem;height:2.5rem;}.pie-tool-tts-inline__button--lg.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {width:1.5rem;height:1.5rem;}.pie-tool-tts-inline__icon.svelte-18mzc0g {fill:currentColor;color:var(--pie-button-color, var(--pie-text, #555));}.pie-tool-tts-inline__button.svelte-18mzc0g:hover:not(:disabled) .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {color:var(--pie-primary, #667eea);}.pie-tool-tts-inline__button--speaking.svelte-18mzc0g .pie-tool-tts-inline__icon:where(.svelte-18mzc0g) {color:var(--pie-white, #fff);}
|
|
2582
2582
|
|
|
2583
2583
|
@keyframes svelte-18mzc0g-pulse {
|
|
2584
2584
|
0%,
|
|
@@ -2609,7 +2609,7 @@ function Hi(e, t) {
|
|
|
2609
2609
|
), i = Ue(t, "language", 7, "en-US"), s = Ue(t, "size", 7, "md");
|
|
2610
2610
|
const l = typeof window < "u";
|
|
2611
2611
|
let o = /* @__PURE__ */ N(void 0), a = /* @__PURE__ */ N(null), f = /* @__PURE__ */ N(null), h = /* @__PURE__ */ N(null);
|
|
2612
|
-
const d = /* @__PURE__ */ Re(() => c(a)?.toolCoordinator), u = /* @__PURE__ */ Re(() => c(a)?.ttsService),
|
|
2612
|
+
const d = /* @__PURE__ */ Re(() => c(a)?.toolCoordinator), u = /* @__PURE__ */ Re(() => c(a)?.ttsService), _ = /* @__PURE__ */ Re(() => c(a)?.highlightCoordinator), v = /* @__PURE__ */ Re(() => c(h)?.scopeElement || c(f)?.scopeElement || null);
|
|
2613
2613
|
let w = /* @__PURE__ */ N(null), $ = /* @__PURE__ */ N(null), k = /* @__PURE__ */ N(!1), T = /* @__PURE__ */ N(!1), Ne = /* @__PURE__ */ N("");
|
|
2614
2614
|
Ye(() => {
|
|
2615
2615
|
if (c(o))
|
|
@@ -2642,12 +2642,12 @@ function Hi(e, t) {
|
|
|
2642
2642
|
return;
|
|
2643
2643
|
}
|
|
2644
2644
|
try {
|
|
2645
|
-
if (p(k, !0), p(T, !1), p(Ne, "Reading started"), !c(
|
|
2645
|
+
if (p(k, !0), p(T, !1), p(Ne, "Reading started"), !c(v)) {
|
|
2646
2646
|
console.warn("[TTS Inline] No target container found from shell scope context"), p(k, !1);
|
|
2647
2647
|
return;
|
|
2648
2648
|
}
|
|
2649
2649
|
const S = document.createRange();
|
|
2650
|
-
S.selectNodeContents(c(
|
|
2650
|
+
S.selectNodeContents(c(v));
|
|
2651
2651
|
const ee = S.toString(), A = ee.trim().replace(/\s+/g, " ");
|
|
2652
2652
|
if (console.log("[TTS Inline] Text extraction:", {
|
|
2653
2653
|
rawLength: ee.length,
|
|
@@ -2657,21 +2657,21 @@ function Hi(e, t) {
|
|
|
2657
2657
|
console.warn("[TTS Inline] No text content found"), p(k, !1);
|
|
2658
2658
|
return;
|
|
2659
2659
|
}
|
|
2660
|
-
c(
|
|
2660
|
+
c(_) && c(u).setHighlightCoordinator && c(u).setHighlightCoordinator(c(_)), await c(u).speak(A, {
|
|
2661
2661
|
catalogId: r() || void 0,
|
|
2662
2662
|
language: i(),
|
|
2663
|
-
contentElement: c(
|
|
2664
|
-
}), p(k, !1), p(T, !1), c(
|
|
2663
|
+
contentElement: c(v)
|
|
2664
|
+
}), p(k, !1), p(T, !1), c(_) && c(_).clearTTS();
|
|
2665
2665
|
} catch (S) {
|
|
2666
|
-
console.error("[TTS Inline] Error:", S), p(k, !1), p(T, !1), c(
|
|
2666
|
+
console.error("[TTS Inline] Error:", S), p(k, !1), p(T, !1), c(_) && c(_).clearTTS();
|
|
2667
2667
|
}
|
|
2668
2668
|
}
|
|
2669
2669
|
}
|
|
2670
2670
|
function Gn() {
|
|
2671
|
-
c(u) && (c(u).stop(), p(k, !1), p(T, !1), p(Ne, "Reading stopped"), c(
|
|
2671
|
+
c(u) && (c(u).stop(), p(k, !1), p(T, !1), p(Ne, "Reading stopped"), c(_) && c(_).clearTTS());
|
|
2672
2672
|
}
|
|
2673
2673
|
const At = /* @__PURE__ */ Re(() => s() === "sm" ? "pie-tool-tts-inline__button--sm" : s() === "lg" ? "pie-tool-tts-inline__button--lg" : "pie-tool-tts-inline__button--md");
|
|
2674
|
-
var
|
|
2674
|
+
var Kn = {
|
|
2675
2675
|
get toolId() {
|
|
2676
2676
|
return n();
|
|
2677
2677
|
},
|
|
@@ -2696,7 +2696,7 @@ function Hi(e, t) {
|
|
|
2696
2696
|
set size(S = "md") {
|
|
2697
2697
|
s(S), Oe();
|
|
2698
2698
|
}
|
|
2699
|
-
}, Ct = pi(),
|
|
2699
|
+
}, Ct = pi(), Wn = Zr(Ct);
|
|
2700
2700
|
{
|
|
2701
2701
|
var Jn = (S) => {
|
|
2702
2702
|
var ee = Fi(), A = st(ee);
|
|
@@ -2704,14 +2704,14 @@ function Hi(e, t) {
|
|
|
2704
2704
|
var Xn = st(A);
|
|
2705
2705
|
{
|
|
2706
2706
|
var Zn = (I) => {
|
|
2707
|
-
var
|
|
2708
|
-
he(I,
|
|
2707
|
+
var W = Mi();
|
|
2708
|
+
he(I, W);
|
|
2709
2709
|
}, Qn = (I) => {
|
|
2710
|
-
var
|
|
2711
|
-
he(I,
|
|
2710
|
+
var W = Pi();
|
|
2711
|
+
he(I, W);
|
|
2712
2712
|
}, er = (I) => {
|
|
2713
|
-
var
|
|
2714
|
-
he(I,
|
|
2713
|
+
var W = Di();
|
|
2714
|
+
he(I, W);
|
|
2715
2715
|
};
|
|
2716
2716
|
lt(Xn, (I) => {
|
|
2717
2717
|
c(T) ? I(Zn) : c(k) ? I(Qn, 1) : I(er, !1);
|
|
@@ -2721,10 +2721,10 @@ function Hi(e, t) {
|
|
|
2721
2721
|
var Rt = Lt(A, 2);
|
|
2722
2722
|
{
|
|
2723
2723
|
var tr = (I) => {
|
|
2724
|
-
var
|
|
2724
|
+
var W = Li();
|
|
2725
2725
|
Ft(() => {
|
|
2726
|
-
Ut(
|
|
2727
|
-
}), Bt("click",
|
|
2726
|
+
Ut(W, 1, `pie-tool-tts-inline__button pie-tool-tts-inline__button--stop ${c(At) ?? ""}`, "svelte-18mzc0g"), W.disabled = !c(u);
|
|
2727
|
+
}), Bt("click", W, Gn), he(I, W);
|
|
2728
2728
|
};
|
|
2729
2729
|
lt(Rt, (I) => {
|
|
2730
2730
|
(c(k) || c(T)) && I(tr);
|
|
@@ -2738,11 +2738,11 @@ function Hi(e, t) {
|
|
|
2738
2738
|
}), Gt(A, "aria-label", c(T) ? "Resume reading" : c(k) ? "Pause reading" : "Read aloud"), Gt(A, "aria-pressed", c(k) || c(T)), A.disabled = !c(u), wi(nr, c(Ne));
|
|
2739
2739
|
}), Bt("click", A, Un), he(S, ee);
|
|
2740
2740
|
};
|
|
2741
|
-
lt(
|
|
2741
|
+
lt(Wn, (S) => {
|
|
2742
2742
|
l && S(Jn);
|
|
2743
2743
|
});
|
|
2744
2744
|
}
|
|
2745
|
-
return he(e, Ct), ln(
|
|
2745
|
+
return he(e, Ct), ln(Kn);
|
|
2746
2746
|
}
|
|
2747
2747
|
hi(["click"]);
|
|
2748
2748
|
customElements.define("pie-tool-tts-inline", Ii(
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-players/pie-tool-tts-inline",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/tool-tts-inline.js",
|
|
7
|
-
"types": "./dist/
|
|
7
|
+
"types": "./dist/tool-tts-inline.svelte.d.ts",
|
|
8
8
|
"unpkg": "./dist/tool-tts-inline.js",
|
|
9
9
|
"jsdelivr": "./dist/tool-tts-inline.js",
|
|
10
10
|
"publishConfig": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
|
-
"types": "./dist/
|
|
20
|
+
"types": "./dist/tool-tts-inline.svelte.d.ts",
|
|
21
21
|
"import": "./dist/tool-tts-inline.js"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"lint": "biome check ."
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@pie-players/pie-assessment-toolkit": "0.2.
|
|
35
|
-
"@pie-players/pie-context": "0.1.
|
|
34
|
+
"@pie-players/pie-assessment-toolkit": "0.2.10",
|
|
35
|
+
"@pie-players/pie-context": "0.1.2",
|
|
36
36
|
"daisyui": "^5.5.18"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|