akpm-knowledge-base-chat 1.0.44 → 1.0.45
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/CDN/akb-chat.js +475 -470
- package/package.json +1 -1
package/CDN/akb-chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Version: 1.0.
|
|
1
|
+
/* Version: 1.0.45 */
|
|
2
2
|
var Na = Object.defineProperty;
|
|
3
3
|
var Ai = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
@@ -59,20 +59,20 @@ function so(t) {
|
|
|
59
59
|
return io.includes(t);
|
|
60
60
|
}
|
|
61
61
|
const Or = !1;
|
|
62
|
-
var
|
|
62
|
+
var sr = Array.isArray, ao = Array.prototype.indexOf, ri = Array.from, Un = Object.keys, Hn = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, fs = Object.getOwnPropertyDescriptors, oo = Object.prototype, lo = Array.prototype, ii = Object.getPrototypeOf;
|
|
63
63
|
function co(t) {
|
|
64
64
|
return typeof t == "function";
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const dn = () => {
|
|
67
67
|
};
|
|
68
68
|
function uo(t) {
|
|
69
69
|
return t();
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Zn(t) {
|
|
72
72
|
for (var e = 0; e < t.length; e++)
|
|
73
73
|
t[e]();
|
|
74
74
|
}
|
|
75
|
-
const Je = 2, hs = 4,
|
|
75
|
+
const Je = 2, hs = 4, En = 8, ar = 16, pt = 32, Mt = 64, Gn = 128, Nt = 256, Jn = 512, Le = 1024, St = 2048, Bt = 4096, ot = 8192, nn = 16384, ps = 32768, or = 65536, fo = 1 << 17, ho = 1 << 19, vs = 1 << 20, kt = Symbol("$state"), gs = Symbol("legacy props"), po = Symbol("");
|
|
76
76
|
function ms(t) {
|
|
77
77
|
return t === this.v;
|
|
78
78
|
}
|
|
@@ -132,13 +132,13 @@ function re(t) {
|
|
|
132
132
|
return /* @__PURE__ */ bs(Me(t));
|
|
133
133
|
}
|
|
134
134
|
// @__NO_SIDE_EFFECTS__
|
|
135
|
-
function
|
|
135
|
+
function lr(t, e = !1) {
|
|
136
136
|
var r;
|
|
137
137
|
const n = Me(t);
|
|
138
138
|
return e || (n.equals = si), rn && le !== null && le.l !== null && ((r = le.l).s ?? (r.s = [])).push(n), n;
|
|
139
139
|
}
|
|
140
140
|
function It(t, e = !1) {
|
|
141
|
-
return /* @__PURE__ */ bs(/* @__PURE__ */
|
|
141
|
+
return /* @__PURE__ */ bs(/* @__PURE__ */ lr(t, e));
|
|
142
142
|
}
|
|
143
143
|
// @__NO_SIDE_EFFECTS__
|
|
144
144
|
function bs(t) {
|
|
@@ -151,29 +151,29 @@ function Ir(t, e) {
|
|
|
151
151
|
), e;
|
|
152
152
|
}
|
|
153
153
|
function z(t, e) {
|
|
154
|
-
return pe !== null && !At &&
|
|
154
|
+
return pe !== null && !At && An() && pe.f & (Je | ar) && // If the source was created locally within the current derived, then
|
|
155
155
|
// we allow the mutation.
|
|
156
156
|
(lt === null || !lt.includes(t)) && So(), Pr(t, e);
|
|
157
157
|
}
|
|
158
158
|
function Pr(t, e) {
|
|
159
|
-
return t.equals(e) || (t.v, t.v = e, t.wv = Fs(), ws(t, St),
|
|
159
|
+
return t.equals(e) || (t.v, t.v = e, t.wv = Fs(), ws(t, St), An() && ee !== null && ee.f & Le && !(ee.f & (pt | Mt)) && (bt === null ? Bo([t]) : bt.push(t))), e;
|
|
160
160
|
}
|
|
161
161
|
function ws(t, e) {
|
|
162
162
|
var n = t.reactions;
|
|
163
163
|
if (n !== null)
|
|
164
|
-
for (var r =
|
|
164
|
+
for (var r = An(), i = n.length, s = 0; s < i; s++) {
|
|
165
165
|
var a = n[s], l = a.f;
|
|
166
166
|
l & St || !r && a === ee || (nt(a, e), l & (Le | Nt) && (l & Je ? ws(
|
|
167
167
|
/** @type {Derived} */
|
|
168
168
|
a,
|
|
169
169
|
Bt
|
|
170
|
-
) :
|
|
170
|
+
) : hr(
|
|
171
171
|
/** @type {Effect} */
|
|
172
172
|
a
|
|
173
173
|
)));
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function cr(t) {
|
|
177
177
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
178
178
|
}
|
|
179
179
|
let Q = !1;
|
|
@@ -183,7 +183,7 @@ function xt(t) {
|
|
|
183
183
|
let ne;
|
|
184
184
|
function et(t) {
|
|
185
185
|
if (t === null)
|
|
186
|
-
throw
|
|
186
|
+
throw cr(), Jt;
|
|
187
187
|
return ne = t;
|
|
188
188
|
}
|
|
189
189
|
function Xt() {
|
|
@@ -195,7 +195,7 @@ function Xt() {
|
|
|
195
195
|
function T(t) {
|
|
196
196
|
if (Q) {
|
|
197
197
|
if (/* @__PURE__ */ vt(ne) !== null)
|
|
198
|
-
throw
|
|
198
|
+
throw cr(), Jt;
|
|
199
199
|
ne = t;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
@@ -232,7 +232,7 @@ function j(t, e = null, n) {
|
|
|
232
232
|
const r = ii(t);
|
|
233
233
|
if (r !== oo && r !== lo)
|
|
234
234
|
return t;
|
|
235
|
-
var i = /* @__PURE__ */ new Map(), s =
|
|
235
|
+
var i = /* @__PURE__ */ new Map(), s = sr(t), a = Me(0);
|
|
236
236
|
s && i.set("length", Me(
|
|
237
237
|
/** @type {any[]} */
|
|
238
238
|
t.length
|
|
@@ -490,7 +490,7 @@ function Ss(t) {
|
|
|
490
490
|
nt(t, n), t.equals(e) || (t.v = e, t.wv = Fs());
|
|
491
491
|
}
|
|
492
492
|
function oi(t) {
|
|
493
|
-
ys(t),
|
|
493
|
+
ys(t), yn(t, 0), nt(t, nn), t.v = t.children = t.deps = t.ctx = t.reactions = null;
|
|
494
494
|
}
|
|
495
495
|
function $s(t) {
|
|
496
496
|
ee === null && pe === null && bo(), pe !== null && pe.f & Nt && mo(), ui && go();
|
|
@@ -520,14 +520,14 @@ function Yt(t, e, n, r = !0) {
|
|
|
520
520
|
if (n) {
|
|
521
521
|
var l = Vt;
|
|
522
522
|
try {
|
|
523
|
-
Pi(!0),
|
|
523
|
+
Pi(!0), fr(a), a.f |= ps;
|
|
524
524
|
} catch (u) {
|
|
525
525
|
throw dt(a), u;
|
|
526
526
|
} finally {
|
|
527
527
|
Pi(l);
|
|
528
528
|
}
|
|
529
|
-
} else e !== null &&
|
|
530
|
-
var o = n && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (vs |
|
|
529
|
+
} else e !== null && hr(a);
|
|
530
|
+
var o = n && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (vs | Gn)) === 0;
|
|
531
531
|
if (!o && !i && r && (s !== null && Ao(a, s), pe !== null && pe.f & Je)) {
|
|
532
532
|
var c = (
|
|
533
533
|
/** @type {Derived} */
|
|
@@ -538,7 +538,7 @@ function Yt(t, e, n, r = !0) {
|
|
|
538
538
|
return a;
|
|
539
539
|
}
|
|
540
540
|
function jo(t) {
|
|
541
|
-
const e = Yt(
|
|
541
|
+
const e = Yt(En, null, !1);
|
|
542
542
|
return nt(e, Le), e.teardown = t, e;
|
|
543
543
|
}
|
|
544
544
|
function qt(t) {
|
|
@@ -571,7 +571,7 @@ function Lo(t) {
|
|
|
571
571
|
function Oo(t) {
|
|
572
572
|
const e = Yt(Mt, t, !0);
|
|
573
573
|
return (n = {}) => new Promise((r) => {
|
|
574
|
-
n.outro ?
|
|
574
|
+
n.outro ? Vn(e, () => {
|
|
575
575
|
dt(e), r(void 0);
|
|
576
576
|
}) : (dt(e), r(void 0));
|
|
577
577
|
});
|
|
@@ -579,7 +579,7 @@ function Oo(t) {
|
|
|
579
579
|
function sn(t) {
|
|
580
580
|
return Yt(hs, t, !1);
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function Cn(t, e) {
|
|
583
583
|
var n = (
|
|
584
584
|
/** @type {ComponentContextLegacy} */
|
|
585
585
|
le
|
|
@@ -588,7 +588,7 @@ function En(t, e) {
|
|
|
588
588
|
t(), !r.ran && (r.ran = !0, z(n.l.r2, !0), ht(e));
|
|
589
589
|
});
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function In() {
|
|
592
592
|
var t = (
|
|
593
593
|
/** @type {ComponentContextLegacy} */
|
|
594
594
|
le
|
|
@@ -597,24 +597,24 @@ function Cn() {
|
|
|
597
597
|
if (p(t.l.r2)) {
|
|
598
598
|
for (var e of t.l.r1) {
|
|
599
599
|
var n = e.effect;
|
|
600
|
-
n.f & Le && nt(n, Bt), ln(n) &&
|
|
600
|
+
n.f & Le && nt(n, Bt), ln(n) && fr(n), e.ran = !1;
|
|
601
601
|
}
|
|
602
602
|
t.l.r2.v = !1;
|
|
603
603
|
}
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
606
|
function an(t) {
|
|
607
|
-
return Yt(
|
|
607
|
+
return Yt(En, t, !0);
|
|
608
608
|
}
|
|
609
609
|
function L(t, e = [], n = Kt) {
|
|
610
610
|
const r = e.map(n);
|
|
611
|
-
return
|
|
611
|
+
return ur(() => t(...r.map(p)));
|
|
612
612
|
}
|
|
613
|
-
function
|
|
614
|
-
return Yt(
|
|
613
|
+
function ur(t, e = 0) {
|
|
614
|
+
return Yt(En | ar | e, t, !0);
|
|
615
615
|
}
|
|
616
616
|
function en(t, e = !0) {
|
|
617
|
-
return Yt(
|
|
617
|
+
return Yt(En | pt, t, !0, e);
|
|
618
618
|
}
|
|
619
619
|
function Ts(t) {
|
|
620
620
|
var e = t.teardown;
|
|
@@ -661,7 +661,7 @@ function dt(t, e = !0) {
|
|
|
661
661
|
}
|
|
662
662
|
n = !0;
|
|
663
663
|
}
|
|
664
|
-
Cs(t, e && !n), Es(t),
|
|
664
|
+
Cs(t, e && !n), Es(t), yn(t, 0), nt(t, nn);
|
|
665
665
|
var a = t.transitions;
|
|
666
666
|
if (a !== null)
|
|
667
667
|
for (const o of a)
|
|
@@ -674,7 +674,7 @@ function Is(t) {
|
|
|
674
674
|
var e = t.parent, n = t.prev, r = t.next;
|
|
675
675
|
n !== null && (n.next = r), r !== null && (r.prev = n), e !== null && (e.first === t && (e.first = r), e.last === t && (e.last = n));
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function Vn(t, e) {
|
|
678
678
|
var n = [];
|
|
679
679
|
li(t, n, !0), As(n, () => {
|
|
680
680
|
dt(t), e && e();
|
|
@@ -695,19 +695,19 @@ function li(t, e, n) {
|
|
|
695
695
|
for (const a of t.transitions)
|
|
696
696
|
(a.is_global || n) && e.push(a);
|
|
697
697
|
for (var r = t.first; r !== null; ) {
|
|
698
|
-
var i = r.next, s = (r.f &
|
|
698
|
+
var i = r.next, s = (r.f & or) !== 0 || (r.f & pt) !== 0;
|
|
699
699
|
li(r, e, s ? n : !1), r = i;
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Wn(t) {
|
|
704
704
|
js(t, !0);
|
|
705
705
|
}
|
|
706
706
|
function js(t, e) {
|
|
707
707
|
if (t.f & ot) {
|
|
708
|
-
t.f ^= ot, t.f & Le || (t.f ^= Le), ln(t) && (nt(t, St),
|
|
708
|
+
t.f ^= ot, t.f & Le || (t.f ^= Le), ln(t) && (nt(t, St), hr(t));
|
|
709
709
|
for (var n = t.first; n !== null; ) {
|
|
710
|
-
var r = n.next, i = (n.f &
|
|
710
|
+
var r = n.next, i = (n.f & or) !== 0 || (n.f & pt) !== 0;
|
|
711
711
|
js(n, i ? e : !1), n = r;
|
|
712
712
|
}
|
|
713
713
|
if (t.transitions !== null)
|
|
@@ -716,31 +716,31 @@ function js(t, e) {
|
|
|
716
716
|
}
|
|
717
717
|
}
|
|
718
718
|
const Fo = typeof requestIdleCallback > "u" ? (t) => setTimeout(t, 1) : requestIdleCallback;
|
|
719
|
-
let
|
|
719
|
+
let Xn = !1, Qn = !1, Dr = [], Mr = [];
|
|
720
720
|
function Rs() {
|
|
721
|
-
|
|
721
|
+
Xn = !1;
|
|
722
722
|
const t = Dr.slice();
|
|
723
|
-
Dr = [],
|
|
723
|
+
Dr = [], Zn(t);
|
|
724
724
|
}
|
|
725
725
|
function Ls() {
|
|
726
|
-
|
|
726
|
+
Qn = !1;
|
|
727
727
|
const t = Mr.slice();
|
|
728
|
-
Mr = [],
|
|
728
|
+
Mr = [], Zn(t);
|
|
729
729
|
}
|
|
730
730
|
function on(t) {
|
|
731
|
-
|
|
731
|
+
Xn || (Xn = !0, queueMicrotask(Rs)), Dr.push(t);
|
|
732
732
|
}
|
|
733
733
|
function qo(t) {
|
|
734
|
-
|
|
734
|
+
Qn || (Qn = !0, Fo(Ls)), Mr.push(t);
|
|
735
735
|
}
|
|
736
736
|
function Do() {
|
|
737
|
-
|
|
737
|
+
Xn && Rs(), Qn && Ls();
|
|
738
738
|
}
|
|
739
739
|
function ci(t) {
|
|
740
740
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
741
741
|
}
|
|
742
742
|
const Os = 0, Mo = 1;
|
|
743
|
-
let
|
|
743
|
+
let Dn = !1, Mn = Os, xn = !1, kn = null, Vt = !1, ui = !1;
|
|
744
744
|
function Pi(t) {
|
|
745
745
|
Vt = t;
|
|
746
746
|
}
|
|
@@ -764,11 +764,11 @@ let Ne = null, Ge = 0, bt = null;
|
|
|
764
764
|
function Bo(t) {
|
|
765
765
|
bt = t;
|
|
766
766
|
}
|
|
767
|
-
let Ps = 1,
|
|
767
|
+
let Ps = 1, Kn = 0, Pt = !1, le = null;
|
|
768
768
|
function Fs() {
|
|
769
769
|
return ++Ps;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function An() {
|
|
772
772
|
return !rn || le !== null && le.l === null;
|
|
773
773
|
}
|
|
774
774
|
function ln(t) {
|
|
@@ -779,11 +779,11 @@ function ln(t) {
|
|
|
779
779
|
if (e & Bt) {
|
|
780
780
|
var n = t.deps, r = (e & Nt) !== 0;
|
|
781
781
|
if (n !== null) {
|
|
782
|
-
var i, s, a = (e &
|
|
782
|
+
var i, s, a = (e & Jn) !== 0, l = r && ee !== null && !Pt, o = n.length;
|
|
783
783
|
if (a || l) {
|
|
784
784
|
for (i = 0; i < o; i++)
|
|
785
785
|
s = n[i], (a || !((c = s == null ? void 0 : s.reactions) != null && c.includes(t))) && (s.reactions ?? (s.reactions = [])).push(t);
|
|
786
|
-
a && (t.f ^=
|
|
786
|
+
a && (t.f ^= Jn);
|
|
787
787
|
}
|
|
788
788
|
for (i = 0; i < o; i++)
|
|
789
789
|
if (s = n[i], ln(
|
|
@@ -801,27 +801,27 @@ function ln(t) {
|
|
|
801
801
|
}
|
|
802
802
|
function Yo(t, e) {
|
|
803
803
|
for (var n = e; n !== null; ) {
|
|
804
|
-
if (n.f &
|
|
804
|
+
if (n.f & Gn)
|
|
805
805
|
try {
|
|
806
806
|
n.fn(t);
|
|
807
807
|
return;
|
|
808
808
|
} catch {
|
|
809
|
-
n.f ^=
|
|
809
|
+
n.f ^= Gn;
|
|
810
810
|
}
|
|
811
811
|
n = n.parent;
|
|
812
812
|
}
|
|
813
|
-
throw
|
|
813
|
+
throw Dn = !1, t;
|
|
814
814
|
}
|
|
815
815
|
function Uo(t) {
|
|
816
|
-
return (t.f & nn) === 0 && (t.parent === null || (t.parent.f &
|
|
816
|
+
return (t.f & nn) === 0 && (t.parent === null || (t.parent.f & Gn) === 0);
|
|
817
817
|
}
|
|
818
|
-
function
|
|
819
|
-
if (
|
|
820
|
-
if (n === null && (
|
|
818
|
+
function dr(t, e, n, r) {
|
|
819
|
+
if (Dn) {
|
|
820
|
+
if (n === null && (Dn = !1), Uo(e))
|
|
821
821
|
throw t;
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
|
-
n !== null && (
|
|
824
|
+
n !== null && (Dn = !0);
|
|
825
825
|
{
|
|
826
826
|
Yo(t, e);
|
|
827
827
|
return;
|
|
@@ -837,7 +837,7 @@ function qs(t, e, n = 0) {
|
|
|
837
837
|
s,
|
|
838
838
|
e,
|
|
839
839
|
n + 1
|
|
840
|
-
) : e === s && (n === 0 ? nt(s, St) : s.f & Le && nt(s, Bt),
|
|
840
|
+
) : e === s && (n === 0 ? nt(s, St) : s.f & Le && nt(s, Bt), hr(
|
|
841
841
|
/** @type {Effect} */
|
|
842
842
|
s
|
|
843
843
|
));
|
|
@@ -847,7 +847,7 @@ function Ds(t) {
|
|
|
847
847
|
var h;
|
|
848
848
|
var e = Ne, n = Ge, r = bt, i = pe, s = Pt, a = lt, l = le, o = At, c = t.f;
|
|
849
849
|
Ne = /** @type {null | Value[]} */
|
|
850
|
-
null, Ge = 0, bt = null, pe = c & (pt | Mt) ? null : t, Pt = !Vt && (c & Nt) !== 0, lt = null, le = t.ctx, At = !1,
|
|
850
|
+
null, Ge = 0, bt = null, pe = c & (pt | Mt) ? null : t, Pt = !Vt && (c & Nt) !== 0, lt = null, le = t.ctx, At = !1, Kn++;
|
|
851
851
|
try {
|
|
852
852
|
var u = (
|
|
853
853
|
/** @type {Function} */
|
|
@@ -855,7 +855,7 @@ function Ds(t) {
|
|
|
855
855
|
), d = t.deps;
|
|
856
856
|
if (Ne !== null) {
|
|
857
857
|
var f;
|
|
858
|
-
if (
|
|
858
|
+
if (yn(t, Ge), d !== null && Ge > 0)
|
|
859
859
|
for (d.length = Ge + Ne.length, f = 0; f < Ne.length; f++)
|
|
860
860
|
d[Ge + f] = Ne[f];
|
|
861
861
|
else
|
|
@@ -863,8 +863,8 @@ function Ds(t) {
|
|
|
863
863
|
if (!Pt)
|
|
864
864
|
for (f = Ge; f < d.length; f++)
|
|
865
865
|
((h = d[f]).reactions ?? (h.reactions = [])).push(t);
|
|
866
|
-
} else d !== null && Ge < d.length && (
|
|
867
|
-
if (
|
|
866
|
+
} else d !== null && Ge < d.length && (yn(t, Ge), d.length = Ge);
|
|
867
|
+
if (An() && bt !== null && !(t.f & (Je | Bt | St)))
|
|
868
868
|
for (f = 0; f < /** @type {Source[]} */
|
|
869
869
|
bt.length; f++)
|
|
870
870
|
qs(
|
|
@@ -872,7 +872,7 @@ function Ds(t) {
|
|
|
872
872
|
/** @type {Effect} */
|
|
873
873
|
t
|
|
874
874
|
);
|
|
875
|
-
return i !== null &&
|
|
875
|
+
return i !== null && Kn++, u;
|
|
876
876
|
} finally {
|
|
877
877
|
Ne = e, Ge = n, bt = r, pe = i, Pt = s, lt = a, le = l, At = o;
|
|
878
878
|
}
|
|
@@ -889,32 +889,32 @@ function Ho(t, e) {
|
|
|
889
889
|
n === null && e.f & Je && // Destroying a child effect while updating a parent effect can cause a dependency to appear
|
|
890
890
|
// to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
|
|
891
891
|
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
|
|
892
|
-
(Ne === null || !Ne.includes(e)) && (nt(e, Bt), e.f & (Nt |
|
|
892
|
+
(Ne === null || !Ne.includes(e)) && (nt(e, Bt), e.f & (Nt | Jn) || (e.f ^= Jn), yn(
|
|
893
893
|
/** @type {Derived} **/
|
|
894
894
|
e,
|
|
895
895
|
0
|
|
896
896
|
));
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function yn(t, e) {
|
|
899
899
|
var n = t.deps;
|
|
900
900
|
if (n !== null)
|
|
901
901
|
for (var r = e; r < n.length; r++)
|
|
902
902
|
Ho(t, n[r]);
|
|
903
903
|
}
|
|
904
|
-
function
|
|
904
|
+
function fr(t) {
|
|
905
905
|
var e = t.f;
|
|
906
906
|
if (!(e & nn)) {
|
|
907
907
|
nt(t, Le);
|
|
908
908
|
var n = ee, r = le;
|
|
909
909
|
ee = t;
|
|
910
910
|
try {
|
|
911
|
-
e &
|
|
911
|
+
e & ar ? Po(t) : Cs(t), Es(t), Ts(t);
|
|
912
912
|
var i = Ds(t);
|
|
913
913
|
t.teardown = typeof i == "function" ? i : null, t.wv = Ps;
|
|
914
914
|
var s = t.deps, a;
|
|
915
915
|
Or && $o && t.f & St;
|
|
916
916
|
} catch (l) {
|
|
917
|
-
|
|
917
|
+
dr(l, t, n, r || t.ctx);
|
|
918
918
|
} finally {
|
|
919
919
|
ee = n;
|
|
920
920
|
}
|
|
@@ -926,8 +926,8 @@ function Ms() {
|
|
|
926
926
|
try {
|
|
927
927
|
wo();
|
|
928
928
|
} catch (t) {
|
|
929
|
-
if (
|
|
930
|
-
|
|
929
|
+
if (kn !== null)
|
|
930
|
+
dr(t, kn, null);
|
|
931
931
|
else
|
|
932
932
|
throw t;
|
|
933
933
|
}
|
|
@@ -959,20 +959,20 @@ function Zo(t) {
|
|
|
959
959
|
var r = t[n];
|
|
960
960
|
if (!(r.f & (nn | ot)))
|
|
961
961
|
try {
|
|
962
|
-
ln(r) && (
|
|
962
|
+
ln(r) && (fr(r), r.deps === null && r.first === null && r.nodes_start === null && (r.teardown === null ? Is(r) : r.fn = null));
|
|
963
963
|
} catch (i) {
|
|
964
|
-
|
|
964
|
+
dr(i, r, null, r.ctx);
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
}
|
|
968
968
|
function Go() {
|
|
969
|
-
if (
|
|
969
|
+
if (xn = !1, Wt > 1001)
|
|
970
970
|
return;
|
|
971
971
|
const t = Ot;
|
|
972
|
-
Ot = [], Ns(t),
|
|
972
|
+
Ot = [], Ns(t), xn || (Wt = 0, kn = null);
|
|
973
973
|
}
|
|
974
|
-
function
|
|
975
|
-
|
|
974
|
+
function hr(t) {
|
|
975
|
+
Mn === Os && (xn || (xn = !0, queueMicrotask(Go))), kn = t;
|
|
976
976
|
for (var e = t; e.parent !== null; ) {
|
|
977
977
|
e = e.parent;
|
|
978
978
|
var n = e.f;
|
|
@@ -988,14 +988,14 @@ function Bs(t, e) {
|
|
|
988
988
|
e: for (; n !== null; ) {
|
|
989
989
|
var i = n.f, s = (i & pt) !== 0, a = s && (i & Le) !== 0, l = n.next;
|
|
990
990
|
if (!a && !(i & ot))
|
|
991
|
-
if (i &
|
|
991
|
+
if (i & En) {
|
|
992
992
|
if (s)
|
|
993
993
|
n.f ^= Le;
|
|
994
994
|
else
|
|
995
995
|
try {
|
|
996
|
-
ln(n) &&
|
|
996
|
+
ln(n) && fr(n);
|
|
997
997
|
} catch (d) {
|
|
998
|
-
|
|
998
|
+
dr(d, n, null, n.ctx);
|
|
999
999
|
}
|
|
1000
1000
|
var o = n.first;
|
|
1001
1001
|
if (o !== null) {
|
|
@@ -1022,15 +1022,15 @@ function Bs(t, e) {
|
|
|
1022
1022
|
o = r[u], e.push(o), Bs(o, e);
|
|
1023
1023
|
}
|
|
1024
1024
|
function v(t) {
|
|
1025
|
-
var e =
|
|
1025
|
+
var e = Mn, n = Ot;
|
|
1026
1026
|
try {
|
|
1027
1027
|
Ms();
|
|
1028
1028
|
const i = [];
|
|
1029
|
-
|
|
1029
|
+
Mn = Mo, Ot = i, xn = !1, Ns(n);
|
|
1030
1030
|
var r = t == null ? void 0 : t();
|
|
1031
|
-
return Do(), (Ot.length > 0 || i.length > 0) && v(), Wt = 0,
|
|
1031
|
+
return Do(), (Ot.length > 0 || i.length > 0) && v(), Wt = 0, kn = null, r;
|
|
1032
1032
|
} finally {
|
|
1033
|
-
|
|
1033
|
+
Mn = e, Ot = n;
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
1036
|
async function Jo() {
|
|
@@ -1052,7 +1052,7 @@ function p(t) {
|
|
|
1052
1052
|
if (pe !== null && !At) {
|
|
1053
1053
|
lt !== null && lt.includes(t) && zo();
|
|
1054
1054
|
var i = pe.deps;
|
|
1055
|
-
t.rv <
|
|
1055
|
+
t.rv < Kn && (t.rv = Kn, Ne === null && i !== null && i[Ge] === t ? Ge++ : Ne === null ? Ne = [t] : Ne.push(t));
|
|
1056
1056
|
} else if (n && /** @type {Derived} */
|
|
1057
1057
|
t.deps === null)
|
|
1058
1058
|
for (var s = (
|
|
@@ -1214,7 +1214,7 @@ function Hs(t, e, n, r = n) {
|
|
|
1214
1214
|
const Zs = /* @__PURE__ */ new Set(), Yr = /* @__PURE__ */ new Set();
|
|
1215
1215
|
function Gs(t, e, n, r) {
|
|
1216
1216
|
function i(s) {
|
|
1217
|
-
if (r.capture ||
|
|
1217
|
+
if (r.capture || gn.call(e, s), !s.cancelBubble)
|
|
1218
1218
|
return Us(() => n.call(this, s));
|
|
1219
1219
|
}
|
|
1220
1220
|
return t.startsWith("pointer") || t.startsWith("touch") || t === "wheel" ? on(() => {
|
|
@@ -1233,7 +1233,7 @@ function jt(t) {
|
|
|
1233
1233
|
for (var n of Yr)
|
|
1234
1234
|
n(t);
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1236
|
+
function gn(t) {
|
|
1237
1237
|
var _;
|
|
1238
1238
|
var e = this, n = (
|
|
1239
1239
|
/** @type {Node} */
|
|
@@ -1256,7 +1256,7 @@ function vn(t) {
|
|
|
1256
1256
|
}
|
|
1257
1257
|
if (s = /** @type {Element} */
|
|
1258
1258
|
i[a] || t.target, s !== e) {
|
|
1259
|
-
|
|
1259
|
+
Hn(t, "currentTarget", {
|
|
1260
1260
|
configurable: !0,
|
|
1261
1261
|
get() {
|
|
1262
1262
|
return s || n;
|
|
@@ -1272,7 +1272,7 @@ function vn(t) {
|
|
|
1272
1272
|
var m = s["__" + r];
|
|
1273
1273
|
if (m !== void 0 && !/** @type {any} */
|
|
1274
1274
|
s.disabled)
|
|
1275
|
-
if (
|
|
1275
|
+
if (sr(m)) {
|
|
1276
1276
|
var [$, ...y] = m;
|
|
1277
1277
|
$.apply(s, [t, ...y]);
|
|
1278
1278
|
} else
|
|
@@ -1401,7 +1401,7 @@ function el(t, e) {
|
|
|
1401
1401
|
const a = Vs(t, { ...e, anchor: s });
|
|
1402
1402
|
if (ne === null || ne.nodeType !== 8 || /** @type {Comment} */
|
|
1403
1403
|
ne.data !== ni)
|
|
1404
|
-
throw
|
|
1404
|
+
throw cr(), Jt;
|
|
1405
1405
|
return xt(!1), /** @type {Exports} */
|
|
1406
1406
|
a;
|
|
1407
1407
|
} catch (a) {
|
|
@@ -1421,9 +1421,9 @@ function Vs(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
|
|
|
1421
1421
|
if (!l.has(h)) {
|
|
1422
1422
|
l.add(h);
|
|
1423
1423
|
var b = so(h);
|
|
1424
|
-
e.addEventListener(h,
|
|
1424
|
+
e.addEventListener(h, gn, { passive: b });
|
|
1425
1425
|
var m = Gt.get(h);
|
|
1426
|
-
m === void 0 ? (document.addEventListener(h,
|
|
1426
|
+
m === void 0 ? (document.addEventListener(h, gn, { passive: b }), Gt.set(h, 1)) : Gt.set(h, m + 1);
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
1429
|
};
|
|
@@ -1447,12 +1447,12 @@ function Vs(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
|
|
|
1447
1447
|
}), () => {
|
|
1448
1448
|
var b;
|
|
1449
1449
|
for (var f of l) {
|
|
1450
|
-
e.removeEventListener(f,
|
|
1450
|
+
e.removeEventListener(f, gn);
|
|
1451
1451
|
var h = (
|
|
1452
1452
|
/** @type {number} */
|
|
1453
1453
|
Gt.get(f)
|
|
1454
1454
|
);
|
|
1455
|
-
--h === 0 ? (document.removeEventListener(f,
|
|
1455
|
+
--h === 0 ? (document.removeEventListener(f, gn), Gt.delete(f)) : Gt.set(f, h);
|
|
1456
1456
|
}
|
|
1457
1457
|
Yr.delete(o), d !== n && ((b = d.parentNode) == null || b.removeChild(d));
|
|
1458
1458
|
};
|
|
@@ -1466,7 +1466,7 @@ function tl(t, e) {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
function N(t, e, n = !1) {
|
|
1468
1468
|
Q && Xt();
|
|
1469
|
-
var r = t, i = null, s = null, a = De, l = n ?
|
|
1469
|
+
var r = t, i = null, s = null, a = De, l = n ? or : 0, o = !1;
|
|
1470
1470
|
const c = (d, f = !0) => {
|
|
1471
1471
|
o = !0, u(f, d);
|
|
1472
1472
|
}, u = (d, f) => {
|
|
@@ -1479,13 +1479,13 @@ function N(t, e, n = !1) {
|
|
|
1479
1479
|
);
|
|
1480
1480
|
!!a === b && (r = Fr(), et(r), xt(!1), h = !0);
|
|
1481
1481
|
}
|
|
1482
|
-
a ? (i ?
|
|
1482
|
+
a ? (i ? Wn(i) : f && (i = en(() => f(r))), s && Vn(s, () => {
|
|
1483
1483
|
s = null;
|
|
1484
|
-
})) : (s ?
|
|
1484
|
+
})) : (s ? Wn(s) : f && (s = en(() => f(r))), i && Vn(i, () => {
|
|
1485
1485
|
i = null;
|
|
1486
1486
|
})), h && xt(!0);
|
|
1487
1487
|
};
|
|
1488
|
-
|
|
1488
|
+
ur(() => {
|
|
1489
1489
|
o = !1, e(c), o || u(null, null);
|
|
1490
1490
|
}, l), Q && (r = ne);
|
|
1491
1491
|
}
|
|
@@ -1529,9 +1529,9 @@ function je(t, e, n, r, i, s = null) {
|
|
|
1529
1529
|
Q && Xt();
|
|
1530
1530
|
var u = null, d = !1, f = /* @__PURE__ */ ks(() => {
|
|
1531
1531
|
var h = n();
|
|
1532
|
-
return
|
|
1532
|
+
return sr(h) ? h : h == null ? [] : ri(h);
|
|
1533
1533
|
});
|
|
1534
|
-
|
|
1534
|
+
ur(() => {
|
|
1535
1535
|
var h = p(f), b = h.length;
|
|
1536
1536
|
if (d && b === 0)
|
|
1537
1537
|
return;
|
|
@@ -1582,7 +1582,7 @@ function je(t, e, n, r, i, s = null) {
|
|
|
1582
1582
|
r
|
|
1583
1583
|
);
|
|
1584
1584
|
}
|
|
1585
|
-
s !== null && (b === 0 ? u ?
|
|
1585
|
+
s !== null && (b === 0 ? u ? Wn(u) : u = en(() => s(a)) : u !== null && Vn(u, () => {
|
|
1586
1586
|
u = null;
|
|
1587
1587
|
})), m && xt(!0), p(f);
|
|
1588
1588
|
}), Q && (a = ne);
|
|
@@ -1612,16 +1612,16 @@ function rl(t, e, n, r, i, s, a, l) {
|
|
|
1612
1612
|
), d.set(E, m), y = [], _ = [], h = m.next;
|
|
1613
1613
|
continue;
|
|
1614
1614
|
}
|
|
1615
|
-
if (c && il(x, C, k, i), x.e.f & ot && (
|
|
1615
|
+
if (c && il(x, C, k, i), x.e.f & ot && (Wn(x.e), o && ((se = x.a) == null || se.unfix(), ($ ?? ($ = /* @__PURE__ */ new Set())).delete(x))), x !== h) {
|
|
1616
1616
|
if (b !== void 0 && b.has(x)) {
|
|
1617
1617
|
if (y.length < _.length) {
|
|
1618
|
-
var R = _[0],
|
|
1618
|
+
var R = _[0], Y;
|
|
1619
1619
|
m = R.prev;
|
|
1620
1620
|
var te = y[0], q = y[y.length - 1];
|
|
1621
|
-
for (
|
|
1622
|
-
Di(y[
|
|
1623
|
-
for (
|
|
1624
|
-
b.delete(_[
|
|
1621
|
+
for (Y = 0; Y < y.length; Y += 1)
|
|
1622
|
+
Di(y[Y], R, n);
|
|
1623
|
+
for (Y = 0; Y < _.length; Y += 1)
|
|
1624
|
+
b.delete(_[Y]);
|
|
1625
1625
|
Ct(e, te.prev, q.next), Ct(e, m, te), Ct(e, q, R), h = R, m = q, k -= 1, y = [], _ = [];
|
|
1626
1626
|
} else
|
|
1627
1627
|
b.delete(x), Di(x, h, n), Ct(e, x.prev, x.next), Ct(e, x, m === null ? e.first : m.next), Ct(e, m, x), m = x;
|
|
@@ -1640,14 +1640,14 @@ function rl(t, e, n, r, i, s, a, l) {
|
|
|
1640
1640
|
(s || !(h.e.f & ot)) && D.push(h), h = h.next;
|
|
1641
1641
|
var U = D.length;
|
|
1642
1642
|
if (U > 0) {
|
|
1643
|
-
var
|
|
1643
|
+
var me = i & cs && u === 0 ? n : null;
|
|
1644
1644
|
if (o) {
|
|
1645
1645
|
for (k = 0; k < U; k += 1)
|
|
1646
1646
|
(ue = D[k].a) == null || ue.measure();
|
|
1647
1647
|
for (k = 0; k < U; k += 1)
|
|
1648
1648
|
(ve = D[k].a) == null || ve.fix();
|
|
1649
1649
|
}
|
|
1650
|
-
nl(e, D,
|
|
1650
|
+
nl(e, D, me, d);
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
1653
|
o && on(() => {
|
|
@@ -1665,7 +1665,7 @@ function il(t, e, n, r) {
|
|
|
1665
1665
|
) : t.i = n;
|
|
1666
1666
|
}
|
|
1667
1667
|
function Ws(t, e, n, r, i, s, a, l, o, c) {
|
|
1668
|
-
var u = (o & Kr) !== 0, d = (o & Ha) === 0, f = u ? d ? /* @__PURE__ */
|
|
1668
|
+
var u = (o & Kr) !== 0, d = (o & Ha) === 0, f = u ? d ? /* @__PURE__ */ lr(i) : Me(i) : i, h = o & ei ? Me(a) : a, b = {
|
|
1669
1669
|
i: h,
|
|
1670
1670
|
v: f,
|
|
1671
1671
|
k: s,
|
|
@@ -1703,7 +1703,7 @@ function Ct(t, e, n) {
|
|
|
1703
1703
|
}
|
|
1704
1704
|
function Zr(t, e, n, r, i) {
|
|
1705
1705
|
var s = t, a = "", l;
|
|
1706
|
-
|
|
1706
|
+
ur(() => {
|
|
1707
1707
|
if (a === (a = e() ?? "")) {
|
|
1708
1708
|
Q && Xt();
|
|
1709
1709
|
return;
|
|
@@ -1716,7 +1716,7 @@ function Zr(t, e, n, r, i) {
|
|
|
1716
1716
|
c = o, o = /** @type {TemplateNode} */
|
|
1717
1717
|
/* @__PURE__ */ vt(o);
|
|
1718
1718
|
if (o === null)
|
|
1719
|
-
throw
|
|
1719
|
+
throw cr(), Jt;
|
|
1720
1720
|
ct(ne, c), s = et(o);
|
|
1721
1721
|
return;
|
|
1722
1722
|
}
|
|
@@ -1781,11 +1781,11 @@ function al(t) {
|
|
|
1781
1781
|
if (!e) {
|
|
1782
1782
|
if (e = !0, t.hasAttribute("value")) {
|
|
1783
1783
|
var r = t.value;
|
|
1784
|
-
|
|
1784
|
+
B(t, "value", null), t.value = r;
|
|
1785
1785
|
}
|
|
1786
1786
|
if (t.hasAttribute("checked")) {
|
|
1787
1787
|
var i = t.checked;
|
|
1788
|
-
|
|
1788
|
+
B(t, "checked", null), t.checked = i;
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
1791
|
};
|
|
@@ -1802,7 +1802,7 @@ function ol(t, e) {
|
|
|
1802
1802
|
function ll(t, e) {
|
|
1803
1803
|
e ? t.hasAttribute("selected") || t.setAttribute("selected", "") : t.removeAttribute("selected");
|
|
1804
1804
|
}
|
|
1805
|
-
function
|
|
1805
|
+
function B(t, e, n, r) {
|
|
1806
1806
|
var i = t.__attributes ?? (t.__attributes = {});
|
|
1807
1807
|
Q && (i[e] = t.getAttribute(e), e === "src" || e === "srcset" || e === "href" && t.nodeName === "LINK") || i[e] !== (i[e] = n) && (e === "style" && "__styles" in t && (t.__styles = {}), e === "loading" && (t[po] = n), n == null ? t.removeAttribute(e) : typeof n != "string" && Ks(t).includes(e) ? t[e] = n : t.setAttribute(e, n));
|
|
1808
1808
|
}
|
|
@@ -1879,7 +1879,7 @@ function Mi(t, e, n, r, i = !1, s = !1, a = !1) {
|
|
|
1879
1879
|
}
|
|
1880
1880
|
} else
|
|
1881
1881
|
t.removeAttribute(y);
|
|
1882
|
-
else $ || u.includes(m) && (s || typeof _ != "string") ? t[m] = _ : typeof _ != "function" && (Q && (m === "src" || m === "href" || m === "srcset") ||
|
|
1882
|
+
else $ || u.includes(m) && (s || typeof _ != "string") ? t[m] = _ : typeof _ != "function" && (Q && (m === "src" || m === "href" || m === "srcset") || B(t, m, _));
|
|
1883
1883
|
}
|
|
1884
1884
|
y === "style" && "__styles" in t && (t.__styles = {});
|
|
1885
1885
|
}
|
|
@@ -1944,7 +1944,7 @@ function dl(t) {
|
|
|
1944
1944
|
}
|
|
1945
1945
|
};
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function Pn(t, e) {
|
|
1948
1948
|
t.dispatchEvent(new CustomEvent(e));
|
|
1949
1949
|
}
|
|
1950
1950
|
function fl(t) {
|
|
@@ -1968,7 +1968,7 @@ function Bi(t) {
|
|
|
1968
1968
|
return e;
|
|
1969
1969
|
}
|
|
1970
1970
|
const hl = (t) => t;
|
|
1971
|
-
function
|
|
1971
|
+
function jn(t, e, n, r) {
|
|
1972
1972
|
var i = (t & Wa) !== 0, s = "both", a, l = e.inert, o = e.style.overflow, c, u;
|
|
1973
1973
|
function d() {
|
|
1974
1974
|
var $ = pe, y = ee;
|
|
@@ -1985,13 +1985,13 @@ function An(t, e, n, r) {
|
|
|
1985
1985
|
var f = {
|
|
1986
1986
|
is_global: i,
|
|
1987
1987
|
in() {
|
|
1988
|
-
e.inert = l,
|
|
1989
|
-
|
|
1988
|
+
e.inert = l, Pn(e, "introstart"), c = Gr(e, d(), u, 1, () => {
|
|
1989
|
+
Pn(e, "introend"), c == null || c.abort(), c = a = void 0, e.style.overflow = o;
|
|
1990
1990
|
});
|
|
1991
1991
|
},
|
|
1992
1992
|
out($) {
|
|
1993
|
-
e.inert = !0,
|
|
1994
|
-
|
|
1993
|
+
e.inert = !0, Pn(e, "outrostart"), u = Gr(e, d(), c, 0, () => {
|
|
1994
|
+
Pn(e, "outroend"), $ == null || $();
|
|
1995
1995
|
});
|
|
1996
1996
|
},
|
|
1997
1997
|
stop: () => {
|
|
@@ -2007,8 +2007,8 @@ function An(t, e, n, r) {
|
|
|
2007
2007
|
for (var m = (
|
|
2008
2008
|
/** @type {Effect | null} */
|
|
2009
2009
|
h.parent
|
|
2010
|
-
); m && m.f &
|
|
2011
|
-
for (; (m = m.parent) && !(m.f &
|
|
2010
|
+
); m && m.f & or; )
|
|
2011
|
+
for (; (m = m.parent) && !(m.f & ar); )
|
|
2012
2012
|
;
|
|
2013
2013
|
b = !m || (m.f & ps) !== 0;
|
|
2014
2014
|
}
|
|
@@ -2037,9 +2037,9 @@ function Gr(t, e, n, r, i) {
|
|
|
2037
2037
|
}
|
|
2038
2038
|
if (n == null || n.deactivate(), !(e != null && e.duration))
|
|
2039
2039
|
return i(), {
|
|
2040
|
-
abort:
|
|
2041
|
-
deactivate:
|
|
2042
|
-
reset:
|
|
2040
|
+
abort: dn,
|
|
2041
|
+
deactivate: dn,
|
|
2042
|
+
reset: dn,
|
|
2043
2043
|
t: () => r
|
|
2044
2044
|
};
|
|
2045
2045
|
const { delay: o = 0, css: c, tick: u, easing: d = hl } = e;
|
|
@@ -2064,16 +2064,16 @@ function Gr(t, e, n, r, i) {
|
|
|
2064
2064
|
C.push(R), E || (E = R.overflow === "hidden");
|
|
2065
2065
|
}
|
|
2066
2066
|
E && (t.style.overflow = "hidden"), b = () => {
|
|
2067
|
-
var
|
|
2067
|
+
var Y = (
|
|
2068
2068
|
/** @type {number} */
|
|
2069
2069
|
/** @type {globalThis.Animation} */
|
|
2070
2070
|
m.currentTime
|
|
2071
2071
|
);
|
|
2072
|
-
return $ + y * d(
|
|
2072
|
+
return $ + y * d(Y / _);
|
|
2073
2073
|
}, u && dl(() => {
|
|
2074
2074
|
if (m.playState !== "running") return !1;
|
|
2075
|
-
var
|
|
2076
|
-
return u(
|
|
2075
|
+
var Y = b();
|
|
2076
|
+
return u(Y, 1 - Y), !0;
|
|
2077
2077
|
});
|
|
2078
2078
|
}
|
|
2079
2079
|
m = t.animate(C, { duration: _, fill: "forwards" }), m.onfinish = () => {
|
|
@@ -2081,10 +2081,10 @@ function Gr(t, e, n, r, i) {
|
|
|
2081
2081
|
};
|
|
2082
2082
|
}, {
|
|
2083
2083
|
abort: () => {
|
|
2084
|
-
m && (m.cancel(), m.effect = null, m.onfinish =
|
|
2084
|
+
m && (m.cancel(), m.effect = null, m.onfinish = dn);
|
|
2085
2085
|
},
|
|
2086
2086
|
deactivate: () => {
|
|
2087
|
-
i =
|
|
2087
|
+
i = dn;
|
|
2088
2088
|
},
|
|
2089
2089
|
reset: () => {
|
|
2090
2090
|
r === 0 && (u == null || u(1, 0));
|
|
@@ -2093,7 +2093,7 @@ function Gr(t, e, n, r, i) {
|
|
|
2093
2093
|
};
|
|
2094
2094
|
}
|
|
2095
2095
|
function pl(t, e, n = e) {
|
|
2096
|
-
var r =
|
|
2096
|
+
var r = An();
|
|
2097
2097
|
Hs(t, "input", (i) => {
|
|
2098
2098
|
var s = i ? t.defaultValue : t.value;
|
|
2099
2099
|
if (s = Ar(t) ? jr(s) : s, n(s), r && s !== (s = e())) {
|
|
@@ -2120,7 +2120,7 @@ function ta(t, e, n) {
|
|
|
2120
2120
|
if (t.multiple)
|
|
2121
2121
|
return ml(t, e);
|
|
2122
2122
|
for (var r of t.options) {
|
|
2123
|
-
var i =
|
|
2123
|
+
var i = bn(r);
|
|
2124
2124
|
if (Co(i, e)) {
|
|
2125
2125
|
r.selected = !0;
|
|
2126
2126
|
return;
|
|
@@ -2154,27 +2154,27 @@ function gl(t, e, n = e) {
|
|
|
2154
2154
|
Hs(t, "change", (i) => {
|
|
2155
2155
|
var s = i ? "[selected]" : ":checked", a;
|
|
2156
2156
|
if (t.multiple)
|
|
2157
|
-
a = [].map.call(t.querySelectorAll(s),
|
|
2157
|
+
a = [].map.call(t.querySelectorAll(s), bn);
|
|
2158
2158
|
else {
|
|
2159
2159
|
var l = t.querySelector(s) ?? // will fall back to first non-disabled option if no option is selected
|
|
2160
2160
|
t.querySelector("option:not([disabled])");
|
|
2161
|
-
a = l &&
|
|
2161
|
+
a = l && bn(l);
|
|
2162
2162
|
}
|
|
2163
2163
|
n(a);
|
|
2164
2164
|
}), sn(() => {
|
|
2165
2165
|
var i = e();
|
|
2166
2166
|
if (ta(t, i, r), r && i === void 0) {
|
|
2167
2167
|
var s = t.querySelector(":checked");
|
|
2168
|
-
s !== null && (i =
|
|
2168
|
+
s !== null && (i = bn(s), n(i));
|
|
2169
2169
|
}
|
|
2170
2170
|
t.__value = i, r = !1;
|
|
2171
2171
|
}), vl(t);
|
|
2172
2172
|
}
|
|
2173
2173
|
function ml(t, e) {
|
|
2174
2174
|
for (var n of t.options)
|
|
2175
|
-
n.selected = ~e.indexOf(
|
|
2175
|
+
n.selected = ~e.indexOf(bn(n));
|
|
2176
2176
|
}
|
|
2177
|
-
function
|
|
2177
|
+
function bn(t) {
|
|
2178
2178
|
return "__value" in t ? t.__value : t.value;
|
|
2179
2179
|
}
|
|
2180
2180
|
function Yi(t, e) {
|
|
@@ -2216,7 +2216,7 @@ function Ye(t = !1) {
|
|
|
2216
2216
|
r = () => p(a);
|
|
2217
2217
|
}
|
|
2218
2218
|
n.b.length && Ro(() => {
|
|
2219
|
-
Ui(e, r),
|
|
2219
|
+
Ui(e, r), Zn(n.b);
|
|
2220
2220
|
}), qt(() => {
|
|
2221
2221
|
const i = ht(() => n.m.map(uo));
|
|
2222
2222
|
return () => {
|
|
@@ -2224,7 +2224,7 @@ function Ye(t = !1) {
|
|
|
2224
2224
|
typeof s == "function" && s();
|
|
2225
2225
|
};
|
|
2226
2226
|
}), n.a.length && qt(() => {
|
|
2227
|
-
Ui(e, r),
|
|
2227
|
+
Ui(e, r), Zn(n.a);
|
|
2228
2228
|
});
|
|
2229
2229
|
}
|
|
2230
2230
|
function Ui(t, e) {
|
|
@@ -2259,7 +2259,7 @@ function _l() {
|
|
|
2259
2259
|
]
|
|
2260
2260
|
);
|
|
2261
2261
|
if (i) {
|
|
2262
|
-
const a =
|
|
2262
|
+
const a = sr(i) ? i.slice() : [i], l = wl(
|
|
2263
2263
|
/** @type {string} */
|
|
2264
2264
|
e,
|
|
2265
2265
|
n,
|
|
@@ -2279,13 +2279,13 @@ function xl(t) {
|
|
|
2279
2279
|
);
|
|
2280
2280
|
return e.u ?? (e.u = { a: [], b: [], m: [] });
|
|
2281
2281
|
}
|
|
2282
|
-
let
|
|
2282
|
+
let Fn = !1;
|
|
2283
2283
|
function kl(t) {
|
|
2284
|
-
var e =
|
|
2284
|
+
var e = Fn;
|
|
2285
2285
|
try {
|
|
2286
|
-
return
|
|
2286
|
+
return Fn = !1, [t(), Fn];
|
|
2287
2287
|
} finally {
|
|
2288
|
-
|
|
2288
|
+
Fn = e;
|
|
2289
2289
|
}
|
|
2290
2290
|
}
|
|
2291
2291
|
const yl = {
|
|
@@ -2378,19 +2378,19 @@ function g(t, e, n, r) {
|
|
|
2378
2378
|
return $;
|
|
2379
2379
|
if (d) {
|
|
2380
2380
|
var _ = t.$$legacy;
|
|
2381
|
-
return function(R,
|
|
2382
|
-
return arguments.length > 0 ? ((!s || !
|
|
2381
|
+
return function(R, Y) {
|
|
2382
|
+
return arguments.length > 0 ? ((!s || !Y || _ || o) && d(Y ? $() : R), R) : $();
|
|
2383
2383
|
};
|
|
2384
2384
|
}
|
|
2385
|
-
var C = !1, E = !1, x = /* @__PURE__ */
|
|
2385
|
+
var C = !1, E = !1, x = /* @__PURE__ */ lr(c), k = Hi(
|
|
2386
2386
|
() => /* @__PURE__ */ Kt(() => {
|
|
2387
|
-
var R = $(),
|
|
2388
|
-
return C ? (C = !1, E = !0,
|
|
2387
|
+
var R = $(), Y = p(x);
|
|
2388
|
+
return C ? (C = !1, E = !0, Y) : (E = !1, x.v = R);
|
|
2389
2389
|
})
|
|
2390
2390
|
);
|
|
2391
|
-
return i || (k.equals = si), function(R,
|
|
2391
|
+
return i || (k.equals = si), function(R, Y) {
|
|
2392
2392
|
if (arguments.length > 0) {
|
|
2393
|
-
const te =
|
|
2393
|
+
const te = Y ? p(k) : s && a ? j(R) : R;
|
|
2394
2394
|
return k.equals(te) || (C = !0, z(x, te), b && f !== void 0 && (f = te), ht(() => p(k))), R;
|
|
2395
2395
|
}
|
|
2396
2396
|
return p(k);
|
|
@@ -2413,7 +2413,7 @@ class $l {
|
|
|
2413
2413
|
Er(this, Xe);
|
|
2414
2414
|
var s;
|
|
2415
2415
|
var n = /* @__PURE__ */ new Map(), r = (a, l) => {
|
|
2416
|
-
var o = /* @__PURE__ */
|
|
2416
|
+
var o = /* @__PURE__ */ lr(l);
|
|
2417
2417
|
return n.set(a, o), o;
|
|
2418
2418
|
};
|
|
2419
2419
|
const i = new Proxy(
|
|
@@ -2439,7 +2439,7 @@ class $l {
|
|
|
2439
2439
|
recover: e.recover
|
|
2440
2440
|
})), (!((s = e == null ? void 0 : e.props) != null && s.$$host) || e.sync === !1) && v(), Cr(this, wt, i.$$events);
|
|
2441
2441
|
for (const a of Object.keys(qe(this, Xe)))
|
|
2442
|
-
a === "$set" || a === "$destroy" || a === "$on" ||
|
|
2442
|
+
a === "$set" || a === "$destroy" || a === "$on" || Hn(this, a, {
|
|
2443
2443
|
get() {
|
|
2444
2444
|
return qe(this, Xe)[a];
|
|
2445
2445
|
},
|
|
@@ -2549,7 +2549,7 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
|
|
|
2549
2549
|
i in r && (i === "default" && !this.$$d.children ? (this.$$d.children = e(i), n.default = !0) : n[i] = e(i));
|
|
2550
2550
|
for (const i of this.attributes) {
|
|
2551
2551
|
const s = this.$$g_p(i.name);
|
|
2552
|
-
s in this.$$d || (this.$$d[s] =
|
|
2552
|
+
s in this.$$d || (this.$$d[s] = Nn(s, i.value, this.$$p_d, "toProp"));
|
|
2553
2553
|
}
|
|
2554
2554
|
for (const i in this.$$p_d)
|
|
2555
2555
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -2565,10 +2565,10 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
|
|
|
2565
2565
|
an(() => {
|
|
2566
2566
|
var i;
|
|
2567
2567
|
this.$$r = !0;
|
|
2568
|
-
for (const s of
|
|
2568
|
+
for (const s of Un(this.$$c)) {
|
|
2569
2569
|
if (!((i = this.$$p_d[s]) != null && i.reflect)) continue;
|
|
2570
2570
|
this.$$d[s] = this.$$c[s];
|
|
2571
|
-
const a =
|
|
2571
|
+
const a = Nn(
|
|
2572
2572
|
s,
|
|
2573
2573
|
this.$$d[s],
|
|
2574
2574
|
this.$$p_d,
|
|
@@ -2596,7 +2596,7 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
|
|
|
2596
2596
|
*/
|
|
2597
2597
|
attributeChangedCallback(e, n, r) {
|
|
2598
2598
|
var i;
|
|
2599
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
2599
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Nn(e, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [e]: this.$$d[e] }));
|
|
2600
2600
|
}
|
|
2601
2601
|
disconnectedCallback() {
|
|
2602
2602
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -2607,12 +2607,12 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
|
|
|
2607
2607
|
* @param {string} attribute_name
|
|
2608
2608
|
*/
|
|
2609
2609
|
$$g_p(e) {
|
|
2610
|
-
return
|
|
2610
|
+
return Un(this.$$p_d).find(
|
|
2611
2611
|
(n) => this.$$p_d[n].attribute === e || !this.$$p_d[n].attribute && n.toLowerCase() === e
|
|
2612
2612
|
) || e;
|
|
2613
2613
|
}
|
|
2614
2614
|
});
|
|
2615
|
-
function
|
|
2615
|
+
function Nn(t, e, n, r) {
|
|
2616
2616
|
var s;
|
|
2617
2617
|
const i = (s = n[t]) == null ? void 0 : s.type;
|
|
2618
2618
|
if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !r || !n[t])
|
|
@@ -2657,19 +2657,19 @@ function V(t, e, n, r, i, s) {
|
|
|
2657
2657
|
super(t, n, i), this.$$p_d = e;
|
|
2658
2658
|
}
|
|
2659
2659
|
static get observedAttributes() {
|
|
2660
|
-
return
|
|
2660
|
+
return Un(e).map(
|
|
2661
2661
|
(l) => (e[l].attribute || l).toLowerCase()
|
|
2662
2662
|
);
|
|
2663
2663
|
}
|
|
2664
2664
|
};
|
|
2665
|
-
return
|
|
2666
|
-
|
|
2665
|
+
return Un(e).forEach((l) => {
|
|
2666
|
+
Hn(a.prototype, l, {
|
|
2667
2667
|
get() {
|
|
2668
2668
|
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
2669
2669
|
},
|
|
2670
2670
|
set(o) {
|
|
2671
2671
|
var d;
|
|
2672
|
-
o =
|
|
2672
|
+
o = Nn(l, o, e), this.$$d[l] = o;
|
|
2673
2673
|
var c = this.$$c;
|
|
2674
2674
|
if (c) {
|
|
2675
2675
|
var u = (d = Ft(c, l)) == null ? void 0 : d.get;
|
|
@@ -2678,7 +2678,7 @@ function V(t, e, n, r, i, s) {
|
|
|
2678
2678
|
}
|
|
2679
2679
|
});
|
|
2680
2680
|
}), r.forEach((l) => {
|
|
2681
|
-
|
|
2681
|
+
Hn(a.prototype, l, {
|
|
2682
2682
|
get() {
|
|
2683
2683
|
var o;
|
|
2684
2684
|
return (o = this.$$c) == null ? void 0 : o[l];
|
|
@@ -2866,10 +2866,10 @@ function sa(t, e) {
|
|
|
2866
2866
|
{
|
|
2867
2867
|
var y = (k) => {
|
|
2868
2868
|
var F = Rl();
|
|
2869
|
-
|
|
2869
|
+
B(F, "title", "Attiva volume"), F.__click = [jl, s], w(k, F);
|
|
2870
2870
|
}, _ = (k) => {
|
|
2871
2871
|
var F = Ol();
|
|
2872
|
-
|
|
2872
|
+
B(F, "title", "Muta"), F.__click = [Ll, s], w(k, F);
|
|
2873
2873
|
};
|
|
2874
2874
|
N($, (k) => {
|
|
2875
2875
|
s() ? k(y) : k(_, !1);
|
|
@@ -2886,7 +2886,7 @@ function sa(t, e) {
|
|
|
2886
2886
|
var E = H(C, 2);
|
|
2887
2887
|
E.__click = [Pl, r];
|
|
2888
2888
|
var x = H(E, 2);
|
|
2889
|
-
return x.__click = [Fl, r, n], T(m), T(u), T(c), gl(f, a),
|
|
2889
|
+
return x.__click = [Fl, r, n], T(m), T(u), T(c), gl(f, a), jn(3, c, () => hi, () => ({ duration: 300 })), w(t, c), G({
|
|
2890
2890
|
get show() {
|
|
2891
2891
|
return n();
|
|
2892
2892
|
},
|
|
@@ -2969,7 +2969,7 @@ const Ml = () => {
|
|
|
2969
2969
|
getToken: Nl,
|
|
2970
2970
|
getEnvironmentId: Bl
|
|
2971
2971
|
};
|
|
2972
|
-
class
|
|
2972
|
+
class zn {
|
|
2973
2973
|
constructor(e, n, r, i, s, a, l, o = "", c = !1, u = (/* @__PURE__ */ new Date()).getTime(), d = "loading") {
|
|
2974
2974
|
A(this, "_id");
|
|
2975
2975
|
A(this, "title");
|
|
@@ -3000,13 +3000,13 @@ class yn {
|
|
|
3000
3000
|
};
|
|
3001
3001
|
}
|
|
3002
3002
|
static fromJson(e) {
|
|
3003
|
-
return new
|
|
3003
|
+
return new zn(e._id, e.title, e.companyId, e.private, e.externalId, e.idArchivio, e.hash, e.gendocId, e.isCommon, e.createdAt, e.checked);
|
|
3004
3004
|
}
|
|
3005
3005
|
static fromJsonArray(e) {
|
|
3006
|
-
return e.map((n) =>
|
|
3006
|
+
return e.map((n) => zn.fromJson(n));
|
|
3007
3007
|
}
|
|
3008
3008
|
}
|
|
3009
|
-
class
|
|
3009
|
+
class er {
|
|
3010
3010
|
constructor(e, n, r, i, s, a, l = (/* @__PURE__ */ new Date()).getTime()) {
|
|
3011
3011
|
A(this, "_id");
|
|
3012
3012
|
A(this, "title");
|
|
@@ -3029,10 +3029,10 @@ class Kn {
|
|
|
3029
3029
|
};
|
|
3030
3030
|
}
|
|
3031
3031
|
static fromJson(e) {
|
|
3032
|
-
return new
|
|
3032
|
+
return new er(e._id, e.title, e.externalId, e.idArchivio, e.isArchived, e.status, e.createdAt);
|
|
3033
3033
|
}
|
|
3034
3034
|
static fromJsonArray(e) {
|
|
3035
|
-
return e.map((n) =>
|
|
3035
|
+
return e.map((n) => er.fromJson(n));
|
|
3036
3036
|
}
|
|
3037
3037
|
}
|
|
3038
3038
|
const aa = (t) => {
|
|
@@ -3097,7 +3097,7 @@ const Gl = async (t) => {
|
|
|
3097
3097
|
});
|
|
3098
3098
|
if (!e.ok)
|
|
3099
3099
|
throw new Error("Failed to fetch documents");
|
|
3100
|
-
return (await e.json()).map((r) =>
|
|
3100
|
+
return (await e.json()).map((r) => zn.fromJson(r));
|
|
3101
3101
|
}, Jl = async (t, e, n) => {
|
|
3102
3102
|
if (e.endsWith(".akd")) {
|
|
3103
3103
|
if (!n)
|
|
@@ -3136,8 +3136,8 @@ const Gl = async (t) => {
|
|
|
3136
3136
|
});
|
|
3137
3137
|
if (!e.ok)
|
|
3138
3138
|
throw new Error("Failed to fetch normative");
|
|
3139
|
-
return (await e.json()).map((r) =>
|
|
3140
|
-
},
|
|
3139
|
+
return (await e.json()).map((r) => er.fromJson(r));
|
|
3140
|
+
}, Sn = {
|
|
3141
3141
|
getDocuments: Gl,
|
|
3142
3142
|
getDocumentPage: Jl,
|
|
3143
3143
|
getNormative: Wl,
|
|
@@ -3201,7 +3201,7 @@ function tc(t, e) {
|
|
|
3201
3201
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.75s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
3202
3202
|
var l = Kl();
|
|
3203
3203
|
return L(() => {
|
|
3204
|
-
|
|
3204
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`), W(l, "pause-animation", a());
|
|
3205
3205
|
}), w(t, l), G({
|
|
3206
3206
|
get color() {
|
|
3207
3207
|
return n();
|
|
@@ -3273,7 +3273,7 @@ function ic(t, e) {
|
|
|
3273
3273
|
let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), i = g(e, "pause", 12, !1), s = g(e, "colorOuter", 12, "#FF3E00"), a = g(e, "colorCenter", 12, "#40B3FF"), l = g(e, "colorInner", 12, "#676778"), o = g(e, "durationMultiplier", 12, 1), c = g(e, "durationOuter", 28, () => `${o() * 2}s`), u = g(e, "durationInner", 28, () => `${o() * 1.5}s`), d = g(e, "durationCenter", 28, () => `${o() * 3}s`);
|
|
3274
3274
|
var f = nc();
|
|
3275
3275
|
return L(() => {
|
|
3276
|
-
|
|
3276
|
+
B(f, "style", `--size: ${n() ?? ""}${r() ?? ""}; --colorInner: ${l() ?? ""}; --colorCenter: ${a() ?? ""}; --colorOuter: ${s() ?? ""}; --durationInner: ${u() ?? ""}; --durationCenter: ${d() ?? ""}; --durationOuter: ${c() ?? ""};`), W(f, "pause-animation", i());
|
|
3277
3277
|
}), w(t, f), G({
|
|
3278
3278
|
get size() {
|
|
3279
3279
|
return n();
|
|
@@ -3398,7 +3398,7 @@ function oc(t, e) {
|
|
|
3398
3398
|
T(y);
|
|
3399
3399
|
var C = H(y, 2), E = I(C);
|
|
3400
3400
|
return T(C), T(f), T(d), T(u), L(() => {
|
|
3401
|
-
|
|
3401
|
+
B(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${s() ?? ""}; --ballTopRightColor: ${a() ?? ""}; --ballBottomLeftColor: ${l() ?? ""}; --ballBottomRightColor: ${o() ?? ""}; --duration: ${c() ?? ""};`), W(f, "pause-animation", i()), W(b, "pause-animation", i()), W($, "pause-animation", i()), W(_, "pause-animation", i()), W(E, "pause-animation", i());
|
|
3402
3402
|
}), w(t, u), G({
|
|
3403
3403
|
get size() {
|
|
3404
3404
|
return n();
|
|
@@ -3499,9 +3499,9 @@ function dc(t, e) {
|
|
|
3499
3499
|
return je(c, 5, () => it(2, 1), Ae, (d, f) => {
|
|
3500
3500
|
var h = lc();
|
|
3501
3501
|
L(() => {
|
|
3502
|
-
|
|
3502
|
+
B(h, "style", `animation: ${i() ?? ""} ${(p(f) === 1 ? `${(+o - 0.1) / 2}${l}` : "0s") ?? ""} infinite ease-in-out`), W(h, "pause-animation", a());
|
|
3503
3503
|
}), w(d, h);
|
|
3504
|
-
}), T(c), L(() =>
|
|
3504
|
+
}), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}`)), w(t, c), G({
|
|
3505
3505
|
get color() {
|
|
3506
3506
|
return n();
|
|
3507
3507
|
},
|
|
@@ -3724,15 +3724,15 @@ function pc(t, e) {
|
|
|
3724
3724
|
Z(e, !1), X(t, hc);
|
|
3725
3725
|
const n = It();
|
|
3726
3726
|
let r = g(e, "size", 12, "40px"), i = g(e, "duration", 12, "3s"), s = g(e, "pause", 12, !1);
|
|
3727
|
-
|
|
3727
|
+
Cn(() => cn(r()), () => {
|
|
3728
3728
|
z(n, [
|
|
3729
3729
|
`width: ${r()}`,
|
|
3730
3730
|
`height: ${r()}`
|
|
3731
3731
|
].join(";"));
|
|
3732
|
-
}),
|
|
3732
|
+
}), In(), Ye();
|
|
3733
3733
|
var a = fc();
|
|
3734
3734
|
return L(() => {
|
|
3735
|
-
|
|
3735
|
+
B(a, "style", `--duration: ${i() ?? ""}; ${p(n) ?? ""}`), W(a, "pause-animation", s());
|
|
3736
3736
|
}), w(t, a), G({
|
|
3737
3737
|
get size() {
|
|
3738
3738
|
return r();
|
|
@@ -3775,7 +3775,7 @@ function mc(t, e) {
|
|
|
3775
3775
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
3776
3776
|
var l = vc(), o = I(l);
|
|
3777
3777
|
return T(l), L(() => {
|
|
3778
|
-
|
|
3778
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
|
|
3779
3779
|
}), w(t, l), G({
|
|
3780
3780
|
get color() {
|
|
3781
3781
|
return n();
|
|
@@ -3888,7 +3888,7 @@ function _c(t, e) {
|
|
|
3888
3888
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "4s"), s = g(e, "size", 12, "60"), a = g(e, "stroke", 28, () => +s() / 12 + r()), l = g(e, "pause", 12, !1);
|
|
3889
3889
|
var o = bc(), c = I(o);
|
|
3890
3890
|
return T(o), L(() => {
|
|
3891
|
-
|
|
3891
|
+
B(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --stroke: ${a() ?? ""}; --floatSize: ${s() ?? ""}; --duration: ${i() ?? ""}`), W(c, "pause-animation", l());
|
|
3892
3892
|
}), w(t, o), G({
|
|
3893
3893
|
get color() {
|
|
3894
3894
|
return n();
|
|
@@ -3967,9 +3967,9 @@ function zc(t, e) {
|
|
|
3967
3967
|
return je(c, 5, () => it(5, 1), Ae, (d, f) => {
|
|
3968
3968
|
var h = xc();
|
|
3969
3969
|
L(() => {
|
|
3970
|
-
|
|
3970
|
+
B(h, "style", `animation-delay: ${(p(f) - 1) * (+o / 12)}${l ?? ""}`), W(h, "pause-animation", a());
|
|
3971
3971
|
}), w(d, h);
|
|
3972
|
-
}), T(c), L(() =>
|
|
3972
|
+
}), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`)), w(t, c), G({
|
|
3973
3973
|
get color() {
|
|
3974
3974
|
return n();
|
|
3975
3975
|
},
|
|
@@ -4056,19 +4056,19 @@ const Tc = {
|
|
|
4056
4056
|
function Ec(t, e) {
|
|
4057
4057
|
Z(e, !1), X(t, Tc);
|
|
4058
4058
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "2.1s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = It();
|
|
4059
|
-
|
|
4059
|
+
Cn(
|
|
4060
4060
|
() => cn(n()),
|
|
4061
4061
|
() => {
|
|
4062
4062
|
z(l, mi(n(), 0.2));
|
|
4063
4063
|
}
|
|
4064
|
-
),
|
|
4064
|
+
), In(), Ye();
|
|
4065
4065
|
var o = $c();
|
|
4066
4066
|
return je(o, 5, () => it(2, 1), Ae, (c, u) => {
|
|
4067
4067
|
var d = Sc();
|
|
4068
4068
|
L(() => {
|
|
4069
|
-
Oe(d, `lines small-lines ${p(u) ?? ""} svelte-bnawe9`),
|
|
4069
|
+
Oe(d, `lines small-lines ${p(u) ?? ""} svelte-bnawe9`), B(d, "style", `--color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(d, "pause-animation", a());
|
|
4070
4070
|
}), w(c, d);
|
|
4071
|
-
}), T(o), L(() =>
|
|
4071
|
+
}), T(o), L(() => B(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --rgba:${p(l) ?? ""}`)), w(t, o), G({
|
|
4072
4072
|
get color() {
|
|
4073
4073
|
return n();
|
|
4074
4074
|
},
|
|
@@ -4142,9 +4142,9 @@ function jc(t, e) {
|
|
|
4142
4142
|
return je(c, 5, () => it(3, 1), Ae, (d, f) => {
|
|
4143
4143
|
var h = Cc();
|
|
4144
4144
|
L(() => {
|
|
4145
|
-
|
|
4145
|
+
B(h, "style", `animation-delay: ${+o / 3 * (p(f) - 1) + l};`), W(h, "pause-animation", a());
|
|
4146
4146
|
}), w(d, h);
|
|
4147
|
-
}), T(c), L(() =>
|
|
4147
|
+
}), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
|
|
4148
4148
|
get color() {
|
|
4149
4149
|
return n();
|
|
4150
4150
|
},
|
|
@@ -4224,7 +4224,7 @@ function Pc(t, e) {
|
|
|
4224
4224
|
L(() => {
|
|
4225
4225
|
Oe(u, `border ${p(c) ?? ""} svelte-kxapcj`), W(u, "pause-animation", a());
|
|
4226
4226
|
}), w(o, u);
|
|
4227
|
-
}), T(l), L(() =>
|
|
4227
|
+
}), T(l), L(() => B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, l), G({
|
|
4228
4228
|
get color() {
|
|
4229
4229
|
return n();
|
|
4230
4230
|
},
|
|
@@ -4314,9 +4314,9 @@ function Mc(t, e) {
|
|
|
4314
4314
|
return je(c, 5, () => it(3, 1), Ae, (d, f) => {
|
|
4315
4315
|
var h = Fc();
|
|
4316
4316
|
L(() => {
|
|
4317
|
-
|
|
4317
|
+
B(h, "style", `--dotSize:${+s() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${p(f) * (+o / 10)}${l ?? ""};`), W(h, "pause-animation", a());
|
|
4318
4318
|
}), w(d, h);
|
|
4319
|
-
}), T(c), L(() =>
|
|
4319
|
+
}), T(c), L(() => B(c, "style", `--size:${s() ?? ""}${r() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
|
|
4320
4320
|
get color() {
|
|
4321
4321
|
return n();
|
|
4322
4322
|
},
|
|
@@ -4391,7 +4391,7 @@ function Yc(t, e) {
|
|
|
4391
4391
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "3s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4392
4392
|
var l = Nc(), o = I(l);
|
|
4393
4393
|
return T(l), L(() => {
|
|
4394
|
-
|
|
4394
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
|
|
4395
4395
|
}), w(t, l), G({
|
|
4396
4396
|
get color() {
|
|
4397
4397
|
return n();
|
|
@@ -4463,7 +4463,7 @@ function Zc(t, e) {
|
|
|
4463
4463
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.25s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4464
4464
|
var l = Uc(), o = I(l);
|
|
4465
4465
|
return T(l), L(() => {
|
|
4466
|
-
|
|
4466
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
|
|
4467
4467
|
}), w(t, l), G({
|
|
4468
4468
|
get color() {
|
|
4469
4469
|
return n();
|
|
@@ -4536,9 +4536,9 @@ function bi(t, e) {
|
|
|
4536
4536
|
return je(c, 5, () => it(3, 0), Ae, (d, f) => {
|
|
4537
4537
|
var h = Gc();
|
|
4538
4538
|
L(() => {
|
|
4539
|
-
|
|
4539
|
+
B(h, "style", `animation-delay: ${p(f) * (+o / 10)}${l ?? ""}; left: ${p(f) * (+s() / 3 + +s() / 15) + r()};`), W(h, "pause-animation", a());
|
|
4540
4540
|
}), w(d, h);
|
|
4541
|
-
}), T(c), L(() =>
|
|
4541
|
+
}), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`)), w(t, c), G({
|
|
4542
4542
|
get color() {
|
|
4543
4543
|
return n();
|
|
4544
4544
|
},
|
|
@@ -4610,9 +4610,9 @@ function Kc(t, e) {
|
|
|
4610
4610
|
return je(c, 5, () => it(6, 0), Ae, (d, f) => {
|
|
4611
4611
|
var h = Wc();
|
|
4612
4612
|
L(() => {
|
|
4613
|
-
|
|
4613
|
+
B(h, "style", `animation-delay: ${p(f) * (+o / 25)}${l ?? ""}; width: ${p(f) * (+s() / 6) + r()}; height: ${p(f) * (+s() / 6) / 2 + r()}; `), W(h, "pause-animation", a());
|
|
4614
4614
|
}), w(d, h);
|
|
4615
|
-
}), T(c), L(() =>
|
|
4615
|
+
}), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --motionOne: ${-s() / 5}${r() ?? ""}; --motionTwo: ${+s() / 4}${r() ?? ""}; --motionThree: ${-s() / 5}${r() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
|
|
4616
4616
|
get color() {
|
|
4617
4617
|
return n();
|
|
4618
4618
|
},
|
|
@@ -4689,10 +4689,10 @@ function ru(t, e) {
|
|
|
4689
4689
|
return je(u, 5, () => it(2, 0), Ae, (f, h) => {
|
|
4690
4690
|
var b = eu();
|
|
4691
4691
|
L(() => {
|
|
4692
|
-
|
|
4692
|
+
B(b, "style", `animation-delay: ${(p(h) === 1 ? `${+o / 2}${l}` : "0s") ?? ""}; ${(p(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(p(h) === 1 ? "top: auto;" : "") ?? ""}`), W(b, "pause-animation", a());
|
|
4693
4693
|
}), w(f, b);
|
|
4694
4694
|
}), T(u), T(c), L(() => {
|
|
4695
|
-
|
|
4695
|
+
B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(u, "pause-animation", a());
|
|
4696
4696
|
}), w(t, c), G({
|
|
4697
4697
|
get color() {
|
|
4698
4698
|
return n();
|
|
@@ -4768,7 +4768,7 @@ function au(t, e) {
|
|
|
4768
4768
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "3s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4769
4769
|
var l = iu();
|
|
4770
4770
|
return L(() => {
|
|
4771
|
-
|
|
4771
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
|
|
4772
4772
|
}), w(t, l), G({
|
|
4773
4773
|
get color() {
|
|
4774
4774
|
return n();
|
|
@@ -4862,7 +4862,7 @@ function cu(t, e) {
|
|
|
4862
4862
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.7s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4863
4863
|
var l = ou(), o = I(l);
|
|
4864
4864
|
return T(l), L(() => {
|
|
4865
|
-
|
|
4865
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
|
|
4866
4866
|
}), w(t, l), G({
|
|
4867
4867
|
get color() {
|
|
4868
4868
|
return n();
|
|
@@ -4926,7 +4926,7 @@ function fu(t, e) {
|
|
|
4926
4926
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.6s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = +s() / 7, o = +s() / 2 - l / 2;
|
|
4927
4927
|
var c = uu(), u = I(c), d = H(u, 2);
|
|
4928
4928
|
return T(c), L(() => {
|
|
4929
|
-
|
|
4929
|
+
B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${o ?? ""}${r() ?? ""}; --duration: ${i() ?? ""};`), W(c, "pause-animation", a()), W(u, "pause-animation", a()), W(d, "pause-animation", a());
|
|
4930
4930
|
}), w(t, c), G({
|
|
4931
4931
|
get color() {
|
|
4932
4932
|
return n();
|
|
@@ -5009,15 +5009,15 @@ const pu = {
|
|
|
5009
5009
|
function vu(t, e) {
|
|
5010
5010
|
Z(e, !1), X(t, pu);
|
|
5011
5011
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.3s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = It();
|
|
5012
|
-
|
|
5012
|
+
Cn(
|
|
5013
5013
|
() => cn(n()),
|
|
5014
5014
|
() => {
|
|
5015
5015
|
z(l, mi(n(), 0.6));
|
|
5016
5016
|
}
|
|
5017
|
-
),
|
|
5017
|
+
), In(), Ye();
|
|
5018
5018
|
var o = hu(), c = I(o);
|
|
5019
5019
|
return T(o), L(() => {
|
|
5020
|
-
|
|
5020
|
+
B(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(l) ?? ""}; --duration: ${i() ?? ""};`), W(c, "pause-animation", a());
|
|
5021
5021
|
}), w(t, o), G({
|
|
5022
5022
|
get color() {
|
|
5023
5023
|
return n();
|
|
@@ -5086,7 +5086,7 @@ function bu(t, e) {
|
|
|
5086
5086
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.5s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
5087
5087
|
var l = gu();
|
|
5088
5088
|
return L(() => {
|
|
5089
|
-
|
|
5089
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
|
|
5090
5090
|
}), w(t, l), G({
|
|
5091
5091
|
get color() {
|
|
5092
5092
|
return n();
|
|
@@ -5153,7 +5153,7 @@ function xu(t, e) {
|
|
|
5153
5153
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "8s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
5154
5154
|
var l = wu();
|
|
5155
5155
|
return L(() => {
|
|
5156
|
-
|
|
5156
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration:${i() ?? ""}`), W(l, "pause-animation", a());
|
|
5157
5157
|
}), w(t, l), G({
|
|
5158
5158
|
get color() {
|
|
5159
5159
|
return n();
|
|
@@ -5227,9 +5227,9 @@ function Su(t, e) {
|
|
|
5227
5227
|
return je(c, 5, () => it(10, 0), Ae, (d, f) => {
|
|
5228
5228
|
var h = ku();
|
|
5229
5229
|
L(() => {
|
|
5230
|
-
|
|
5230
|
+
B(h, "style", `left: ${p(f) * (+s() / 5 + (+s() / 15 - +s() / 100)) + r()}; animation-delay: ${p(f) * (+o / 8.3)}${l ?? ""};`), W(h, "pause-animation", a());
|
|
5231
5231
|
}), w(d, h);
|
|
5232
|
-
}), T(c), L(() =>
|
|
5232
|
+
}), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
|
|
5233
5233
|
get color() {
|
|
5234
5234
|
return n();
|
|
5235
5235
|
},
|
|
@@ -5301,19 +5301,19 @@ function Cu(t, e) {
|
|
|
5301
5301
|
var d;
|
|
5302
5302
|
Z(e, !1), X(t, Eu);
|
|
5303
5303
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = ((d = i().match(Ce)) == null ? void 0 : d[0]) ?? "s", o = i().replace(Ce, ""), c = It();
|
|
5304
|
-
|
|
5304
|
+
Cn(
|
|
5305
5305
|
() => cn(n()),
|
|
5306
5306
|
() => {
|
|
5307
5307
|
z(c, mi(n(), 1));
|
|
5308
5308
|
}
|
|
5309
|
-
),
|
|
5309
|
+
), In(), Ye();
|
|
5310
5310
|
var u = Tu();
|
|
5311
5311
|
return je(u, 5, () => it(2, 1), Ae, (f, h) => {
|
|
5312
5312
|
var b = $u();
|
|
5313
5313
|
L(() => {
|
|
5314
|
-
|
|
5314
|
+
B(b, "style", `animation-delay: ${(p(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +o + l};`), W(b, "pause-animation", a());
|
|
5315
5315
|
}), w(f, b);
|
|
5316
|
-
}), T(u), L(() =>
|
|
5316
|
+
}), T(u), L(() => B(u, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(c) ?? ""}; --duration: ${i() ?? ""}`)), w(t, u), G({
|
|
5317
5317
|
get color() {
|
|
5318
5318
|
return n();
|
|
5319
5319
|
},
|
|
@@ -5378,7 +5378,7 @@ function ju(t, e) {
|
|
|
5378
5378
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.4s"), s = g(e, "size", 12, "15"), a = g(e, "pause", 12, !1);
|
|
5379
5379
|
var l = Iu();
|
|
5380
5380
|
return L(() => {
|
|
5381
|
-
|
|
5381
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
|
|
5382
5382
|
}), w(t, l), G({
|
|
5383
5383
|
get color() {
|
|
5384
5384
|
return n();
|
|
@@ -5444,7 +5444,7 @@ function Ou(t, e) {
|
|
|
5444
5444
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.4s"), s = g(e, "size", 12, "15"), a = g(e, "pause", 12, !1);
|
|
5445
5445
|
var l = Ru();
|
|
5446
5446
|
return L(() => {
|
|
5447
|
-
|
|
5447
|
+
B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
|
|
5448
5448
|
}), w(t, l), G({
|
|
5449
5449
|
get color() {
|
|
5450
5450
|
return n();
|
|
@@ -5511,7 +5511,7 @@ function oa(t, e) {
|
|
|
5511
5511
|
const c = () => {
|
|
5512
5512
|
r(!1), z(o, ""), z(s, j([])), z(a, j([]));
|
|
5513
5513
|
}, u = (q) => {
|
|
5514
|
-
q instanceof
|
|
5514
|
+
q instanceof zn ? n(
|
|
5515
5515
|
n()[q._id] = {
|
|
5516
5516
|
title: q.title,
|
|
5517
5517
|
ext_id: q.externalId,
|
|
@@ -5535,7 +5535,7 @@ function oa(t, e) {
|
|
|
5535
5535
|
}
|
|
5536
5536
|
z(l, !0);
|
|
5537
5537
|
try {
|
|
5538
|
-
z(a, j(await
|
|
5538
|
+
z(a, j(await Sn.getNormative(q)));
|
|
5539
5539
|
} catch (D) {
|
|
5540
5540
|
console.error("Errore nella ricerca normativa:", D), z(a, j([]));
|
|
5541
5541
|
} finally {
|
|
@@ -5548,7 +5548,7 @@ function oa(t, e) {
|
|
|
5548
5548
|
}
|
|
5549
5549
|
z(l, !0);
|
|
5550
5550
|
try {
|
|
5551
|
-
z(s, j(await
|
|
5551
|
+
z(s, j(await Sn.getDocuments(q)));
|
|
5552
5552
|
} catch (D) {
|
|
5553
5553
|
console.error("Errore nella ricerca documenti:", D), z(s, j([]));
|
|
5554
5554
|
} finally {
|
|
@@ -5569,22 +5569,22 @@ function oa(t, e) {
|
|
|
5569
5569
|
], T(x), T(E);
|
|
5570
5570
|
var F = H(E, 2), R = I(F);
|
|
5571
5571
|
{
|
|
5572
|
-
var
|
|
5572
|
+
var Y = (q) => {
|
|
5573
5573
|
var D = Fu(), U = I(D);
|
|
5574
5574
|
bi(U, { size: "30", color: "#295dcf" }), Eo(2), T(D), w(q, D);
|
|
5575
5575
|
}, te = (q) => {
|
|
5576
5576
|
var D = he(), U = oe(D);
|
|
5577
5577
|
{
|
|
5578
|
-
var
|
|
5578
|
+
var me = (se) => {
|
|
5579
5579
|
var ue = qu();
|
|
5580
5580
|
w(se, ue);
|
|
5581
5581
|
}, _e = (se) => {
|
|
5582
5582
|
var ue = he(), ve = oe(ue);
|
|
5583
5583
|
{
|
|
5584
5584
|
var de = (fe) => {
|
|
5585
|
-
var
|
|
5585
|
+
var Ee = he(), xe = oe(Ee);
|
|
5586
5586
|
{
|
|
5587
|
-
var
|
|
5587
|
+
var be = (ce) => {
|
|
5588
5588
|
var ye = Du();
|
|
5589
5589
|
w(ce, ye);
|
|
5590
5590
|
}, ke = (ce) => {
|
|
@@ -5597,14 +5597,14 @@ function oa(t, e) {
|
|
|
5597
5597
|
}), T(ye), w(ce, ye);
|
|
5598
5598
|
};
|
|
5599
5599
|
N(xe, (ce) => {
|
|
5600
|
-
p(a).length === 0 ? ce(
|
|
5600
|
+
p(a).length === 0 ? ce(be) : ce(ke, !1);
|
|
5601
5601
|
});
|
|
5602
5602
|
}
|
|
5603
|
-
w(fe,
|
|
5603
|
+
w(fe, Ee);
|
|
5604
5604
|
}, Ie = (fe) => {
|
|
5605
|
-
var
|
|
5605
|
+
var Ee = he(), xe = oe(Ee);
|
|
5606
5606
|
{
|
|
5607
|
-
var
|
|
5607
|
+
var be = (ce) => {
|
|
5608
5608
|
var ye = Yu();
|
|
5609
5609
|
w(ce, ye);
|
|
5610
5610
|
}, ke = (ce) => {
|
|
@@ -5615,24 +5615,24 @@ function oa(t, e) {
|
|
|
5615
5615
|
var st = I(Fe), $t = I(st);
|
|
5616
5616
|
{
|
|
5617
5617
|
var P = (K) => {
|
|
5618
|
-
var
|
|
5619
|
-
w(K,
|
|
5618
|
+
var ge = Hu();
|
|
5619
|
+
w(K, ge);
|
|
5620
5620
|
}, M = (K) => {
|
|
5621
|
-
var
|
|
5621
|
+
var ge = he(), rt = oe(ge);
|
|
5622
5622
|
{
|
|
5623
5623
|
var Ve = (Tt) => {
|
|
5624
5624
|
var Rt = Zu();
|
|
5625
5625
|
w(Tt, Rt);
|
|
5626
5626
|
}, We = (Tt) => {
|
|
5627
|
-
var Rt = he(),
|
|
5627
|
+
var Rt = he(), br = oe(Rt);
|
|
5628
5628
|
{
|
|
5629
|
-
var
|
|
5630
|
-
var
|
|
5631
|
-
w($e,
|
|
5632
|
-
},
|
|
5633
|
-
var
|
|
5629
|
+
var wr = ($e) => {
|
|
5630
|
+
var Te = Gu();
|
|
5631
|
+
w($e, Te);
|
|
5632
|
+
}, Ln = ($e) => {
|
|
5633
|
+
var Te = he(), Lt = oe(Te);
|
|
5634
5634
|
{
|
|
5635
|
-
var
|
|
5635
|
+
var un = (Ue) => {
|
|
5636
5636
|
var gt = Ju();
|
|
5637
5637
|
w(Ue, gt);
|
|
5638
5638
|
}, _r = (Ue) => {
|
|
@@ -5674,17 +5674,17 @@ function oa(t, e) {
|
|
|
5674
5674
|
N(
|
|
5675
5675
|
Lt,
|
|
5676
5676
|
(Ue) => {
|
|
5677
|
-
p(O).title.split(".").pop() === "xlsx" ? Ue(
|
|
5677
|
+
p(O).title.split(".").pop() === "xlsx" ? Ue(un) : Ue(_r, !1);
|
|
5678
5678
|
},
|
|
5679
5679
|
!0
|
|
5680
5680
|
);
|
|
5681
5681
|
}
|
|
5682
|
-
w($e,
|
|
5682
|
+
w($e, Te);
|
|
5683
5683
|
};
|
|
5684
5684
|
N(
|
|
5685
|
-
|
|
5685
|
+
br,
|
|
5686
5686
|
($e) => {
|
|
5687
|
-
p(O).title.split(".").pop() === "docx" ? $e(
|
|
5687
|
+
p(O).title.split(".").pop() === "docx" ? $e(wr) : $e(Ln, !1);
|
|
5688
5688
|
},
|
|
5689
5689
|
!0
|
|
5690
5690
|
);
|
|
@@ -5699,15 +5699,15 @@ function oa(t, e) {
|
|
|
5699
5699
|
!0
|
|
5700
5700
|
);
|
|
5701
5701
|
}
|
|
5702
|
-
w(K,
|
|
5702
|
+
w(K, ge);
|
|
5703
5703
|
};
|
|
5704
5704
|
N($t, (K) => {
|
|
5705
5705
|
p(O).isCommon ? K(P) : K(M, !1);
|
|
5706
5706
|
});
|
|
5707
5707
|
}
|
|
5708
5708
|
T(st);
|
|
5709
|
-
var ze = H(st, 2),
|
|
5710
|
-
T(
|
|
5709
|
+
var ze = H(st, 2), we = I(ze), Se = I(we, !0);
|
|
5710
|
+
T(we), T(ze), T(Fe), L((K) => ut(Se, K), [
|
|
5711
5711
|
() => p(O).isCommon ? p(O).title.split(".")[0] : p(O).title
|
|
5712
5712
|
]), w(Re, Fe);
|
|
5713
5713
|
}), T(ye), w(ce, ye);
|
|
@@ -5715,12 +5715,12 @@ function oa(t, e) {
|
|
|
5715
5715
|
N(
|
|
5716
5716
|
xe,
|
|
5717
5717
|
(ce) => {
|
|
5718
|
-
p(s).length === 0 ? ce(
|
|
5718
|
+
p(s).length === 0 ? ce(be) : ce(ke, !1);
|
|
5719
5719
|
},
|
|
5720
5720
|
!0
|
|
5721
5721
|
);
|
|
5722
5722
|
}
|
|
5723
|
-
w(fe,
|
|
5723
|
+
w(fe, Ee);
|
|
5724
5724
|
};
|
|
5725
5725
|
N(
|
|
5726
5726
|
ve,
|
|
@@ -5735,7 +5735,7 @@ function oa(t, e) {
|
|
|
5735
5735
|
N(
|
|
5736
5736
|
U,
|
|
5737
5737
|
(se) => {
|
|
5738
|
-
p(o).length < 3 ? se(
|
|
5738
|
+
p(o).length < 3 ? se(me) : se(_e, !1);
|
|
5739
5739
|
},
|
|
5740
5740
|
!0
|
|
5741
5741
|
);
|
|
@@ -5743,11 +5743,11 @@ function oa(t, e) {
|
|
|
5743
5743
|
w(q, D);
|
|
5744
5744
|
};
|
|
5745
5745
|
N(R, (q) => {
|
|
5746
|
-
p(l) ? q(
|
|
5746
|
+
p(l) ? q(Y) : q(te, !1);
|
|
5747
5747
|
});
|
|
5748
5748
|
}
|
|
5749
5749
|
return T(F), T(C), T(b), T(h), L(() => {
|
|
5750
|
-
ut(y, `Cerca ${(i() ? "Normative" : "Documenti") ?? ""}`),
|
|
5750
|
+
ut(y, `Cerca ${(i() ? "Normative" : "Documenti") ?? ""}`), B(k, "placeholder", `Cerca ${(i() ? "Normative" : "Documenti") ?? ""} (min 3 caratteri)...`), ol(k, p(o));
|
|
5751
5751
|
}), w(t, h), G({
|
|
5752
5752
|
get attachments() {
|
|
5753
5753
|
return n();
|
|
@@ -5790,7 +5790,7 @@ var rd = (t, e) => {
|
|
|
5790
5790
|
z(e, !1);
|
|
5791
5791
|
}, ad = /* @__PURE__ */ S('<button class="remove-btn svelte-12zt47u" aria-label="Remove Normative"><i class="fa-solid fa-xmark svelte-12zt47u"></i></button>'), od = /* @__PURE__ */ S('<div class="attachment-item svelte-12zt47u" aria-label="Toggle Normative" title="Normative" style="background-color: #28853d;"><i class="fa-solid fa-book-open"></i> <span class="attachment-title svelte-12zt47u">Normative</span> <!></div>'), ld = (t, e) => {
|
|
5792
5792
|
z(e, !1);
|
|
5793
|
-
}, cd = /* @__PURE__ */ S('<button class="remove-btn svelte-12zt47u" aria-label="Remove Knowledge Base"><i class="fa-solid fa-xmark svelte-12zt47u"></i></button>'), ud = /* @__PURE__ */ S('<div class="attachment-item svelte-12zt47u" aria-label="Toggle Knowledge Base" title="Knowledge Base" style="background-color: #295dcf;"><i class="fa-solid fa-book"></i> <span class="attachment-title svelte-12zt47u">KB</span> <!></div>'), dd = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), fd = /* @__PURE__ */ S('<i class="fa-solid fa-file-pdf svelte-12zt47u"></i>'), hd = /* @__PURE__ */ S('<i class="fa-solid fa-file-word svelte-12zt47u"></i>'), pd = /* @__PURE__ */ S('<i class="fa-solid fa-file-excel svelte-12zt47u"></i>'), vd = /* @__PURE__ */ S('<i class="fa-solid fa-file-powerpoint svelte-12zt47u"></i>'), gd = /* @__PURE__ */ S('<i class="fa-solid fa-passport svelte-12zt47u"></i>'), md = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), bd = /* @__PURE__ */ S('<div class="attachment-title noopen-file-button svelte-12zt47u"
|
|
5793
|
+
}, cd = /* @__PURE__ */ S('<button class="remove-btn svelte-12zt47u" aria-label="Remove Knowledge Base"><i class="fa-solid fa-xmark svelte-12zt47u"></i></button>'), ud = /* @__PURE__ */ S('<div class="attachment-item svelte-12zt47u" aria-label="Toggle Knowledge Base" title="Knowledge Base" style="background-color: #295dcf;"><i class="fa-solid fa-book"></i> <span class="attachment-title svelte-12zt47u">KB</span> <!></div>'), dd = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), fd = /* @__PURE__ */ S('<i class="fa-solid fa-file-pdf svelte-12zt47u"></i>'), hd = /* @__PURE__ */ S('<i class="fa-solid fa-file-word svelte-12zt47u"></i>'), pd = /* @__PURE__ */ S('<i class="fa-solid fa-file-excel svelte-12zt47u"></i>'), vd = /* @__PURE__ */ S('<i class="fa-solid fa-file-powerpoint svelte-12zt47u"></i>'), gd = /* @__PURE__ */ S('<i class="fa-solid fa-passport svelte-12zt47u"></i>'), md = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), bd = /* @__PURE__ */ S('<div class="attachment-title noopen-file-button svelte-12zt47u"> </div>'), wd = (t, e, n, r, i) => {
|
|
5794
5794
|
e(n(), r(), i());
|
|
5795
5795
|
}, _d = /* @__PURE__ */ S("<button> </button>"), xd = (t, e, n) => {
|
|
5796
5796
|
delete p(e)[n()];
|
|
@@ -5845,17 +5845,17 @@ function la(t, e) {
|
|
|
5845
5845
|
}, x = () => {
|
|
5846
5846
|
z(R, !1);
|
|
5847
5847
|
}, k = () => {
|
|
5848
|
-
z(
|
|
5848
|
+
z(Y, !0);
|
|
5849
5849
|
}, F = async (P, M, ze) => {
|
|
5850
|
-
await
|
|
5850
|
+
await Sn.getDocumentPage(P, M, ze);
|
|
5851
5851
|
};
|
|
5852
|
-
let R = re(!1),
|
|
5852
|
+
let R = re(!1), Y = re(!1);
|
|
5853
5853
|
qt(() => {
|
|
5854
5854
|
Object.keys(p(o)).length > 0 && (p(a) || z(l, !0));
|
|
5855
5855
|
});
|
|
5856
5856
|
var te = $d(), q = oe(te), D = I(q), U = I(D);
|
|
5857
5857
|
Xo(U), U.__keyup = [rd, y], T(D);
|
|
5858
|
-
var
|
|
5858
|
+
var me = H(D, 2), _e = I(me), se = I(_e), ue = I(se);
|
|
5859
5859
|
ue.__click = [nd, R];
|
|
5860
5860
|
var ve = H(ue, 2);
|
|
5861
5861
|
{
|
|
@@ -5866,22 +5866,22 @@ function la(t, e) {
|
|
|
5866
5866
|
(We = p(a) ? () => {
|
|
5867
5867
|
} : C) == null || We.apply(this, Ve);
|
|
5868
5868
|
};
|
|
5869
|
-
var
|
|
5870
|
-
|
|
5869
|
+
var we = H(ze, 2);
|
|
5870
|
+
we.__click = function(...Ve) {
|
|
5871
5871
|
var We;
|
|
5872
5872
|
(We = p(l) ? () => {
|
|
5873
5873
|
} : E) == null || We.apply(this, Ve);
|
|
5874
5874
|
};
|
|
5875
|
-
var Se = H(
|
|
5875
|
+
var Se = H(we, 2), K = /* @__PURE__ */ Kt(() => Object.keys(p(o)).length < 2 ? _ : () => {
|
|
5876
5876
|
});
|
|
5877
5877
|
Se.__click = function(...Ve) {
|
|
5878
5878
|
var We;
|
|
5879
5879
|
(We = p(K)) == null || We.apply(this, Ve);
|
|
5880
5880
|
};
|
|
5881
|
-
var
|
|
5882
|
-
T(
|
|
5881
|
+
var ge = H(I(Se), 2), rt = I(ge);
|
|
5882
|
+
T(ge), T(Se), T(M), L(
|
|
5883
5883
|
(Ve) => {
|
|
5884
|
-
Oe(ze, `${`dropdown-option ${p(a) ? "option-disabled" : ""}` ?? ""} svelte-12zt47u`), Oe(
|
|
5884
|
+
Oe(ze, `${`dropdown-option ${p(a) ? "option-disabled" : ""}` ?? ""} svelte-12zt47u`), Oe(we, `${`dropdown-option ${p(l) ? "option-disabled" : ""}` ?? ""} svelte-12zt47u`), Oe(Se, `${Ve ?? ""} svelte-12zt47u`), ut(rt, `Scegli ${(p(a) ? "Normativa" : "File") ?? ""}`);
|
|
5885
5885
|
},
|
|
5886
5886
|
[
|
|
5887
5887
|
() => `dropdown-option ${Object.keys(p(o)).length < 2 ? "" : "option-disabled"}`
|
|
@@ -5895,54 +5895,54 @@ function la(t, e) {
|
|
|
5895
5895
|
T(se);
|
|
5896
5896
|
var Ie = H(se, 2), fe = I(Ie);
|
|
5897
5897
|
{
|
|
5898
|
-
var
|
|
5898
|
+
var Ee = (P) => {
|
|
5899
5899
|
var M = od(), ze = H(I(M), 4);
|
|
5900
5900
|
{
|
|
5901
|
-
var
|
|
5901
|
+
var we = (Se) => {
|
|
5902
5902
|
var K = ad();
|
|
5903
5903
|
K.__click = [sd, a], w(Se, K);
|
|
5904
5904
|
};
|
|
5905
5905
|
N(ze, (Se) => {
|
|
5906
|
-
Object.keys(p(o)).length === 0 && Se(
|
|
5906
|
+
Object.keys(p(o)).length === 0 && Se(we);
|
|
5907
5907
|
});
|
|
5908
5908
|
}
|
|
5909
5909
|
T(M), w(P, M);
|
|
5910
5910
|
};
|
|
5911
5911
|
N(fe, (P) => {
|
|
5912
|
-
p(a) && P(
|
|
5912
|
+
p(a) && P(Ee);
|
|
5913
5913
|
});
|
|
5914
5914
|
}
|
|
5915
5915
|
var xe = H(fe, 2);
|
|
5916
5916
|
{
|
|
5917
|
-
var
|
|
5917
|
+
var be = (P) => {
|
|
5918
5918
|
var M = ud(), ze = H(I(M), 4);
|
|
5919
5919
|
{
|
|
5920
|
-
var
|
|
5920
|
+
var we = (Se) => {
|
|
5921
5921
|
var K = cd();
|
|
5922
5922
|
K.__click = [ld, l], w(Se, K);
|
|
5923
5923
|
};
|
|
5924
5924
|
N(ze, (Se) => {
|
|
5925
|
-
Object.keys(p(o)).length === 0 && Se(
|
|
5925
|
+
Object.keys(p(o)).length === 0 && Se(we);
|
|
5926
5926
|
});
|
|
5927
5927
|
}
|
|
5928
5928
|
T(M), w(P, M);
|
|
5929
5929
|
};
|
|
5930
5930
|
N(xe, (P) => {
|
|
5931
|
-
p(l) && P(
|
|
5931
|
+
p(l) && P(be);
|
|
5932
5932
|
});
|
|
5933
5933
|
}
|
|
5934
5934
|
var ke = H(xe, 2);
|
|
5935
5935
|
je(ke, 17, () => Object.entries(p(o)), Ae, (P, M) => {
|
|
5936
|
-
let ze = () => p(M)[0],
|
|
5936
|
+
let ze = () => p(M)[0], we = () => p(M)[1].title, Se = () => p(M)[1].ext_id, K = () => p(M)[1].gendoc_id, ge = () => p(M)[1].isCommon;
|
|
5937
5937
|
var rt = kd(), Ve = I(rt);
|
|
5938
5938
|
{
|
|
5939
5939
|
var We = ($e) => {
|
|
5940
|
-
var
|
|
5941
|
-
w($e,
|
|
5940
|
+
var Te = dd();
|
|
5941
|
+
w($e, Te);
|
|
5942
5942
|
}, Tt = ($e) => {
|
|
5943
|
-
var
|
|
5943
|
+
var Te = he(), Lt = oe(Te);
|
|
5944
5944
|
{
|
|
5945
|
-
var
|
|
5945
|
+
var un = (Ue) => {
|
|
5946
5946
|
var gt = fd();
|
|
5947
5947
|
w(Ue, gt);
|
|
5948
5948
|
}, _r = (Ue) => {
|
|
@@ -5961,10 +5961,10 @@ function la(t, e) {
|
|
|
5961
5961
|
var Et = he(), Oa = oe(Et);
|
|
5962
5962
|
{
|
|
5963
5963
|
var Pa = (Ht) => {
|
|
5964
|
-
var
|
|
5965
|
-
w(Ht,
|
|
5964
|
+
var On = vd();
|
|
5965
|
+
w(Ht, On);
|
|
5966
5966
|
}, Fa = (Ht) => {
|
|
5967
|
-
var
|
|
5967
|
+
var On = he(), qa = oe(On);
|
|
5968
5968
|
{
|
|
5969
5969
|
var Da = (Zt) => {
|
|
5970
5970
|
var Tr = gd();
|
|
@@ -5976,17 +5976,17 @@ function la(t, e) {
|
|
|
5976
5976
|
N(
|
|
5977
5977
|
qa,
|
|
5978
5978
|
(Zt) => {
|
|
5979
|
-
|
|
5979
|
+
we().split(".").pop() === "akd" ? Zt(Da) : Zt(Ma, !1);
|
|
5980
5980
|
},
|
|
5981
5981
|
!0
|
|
5982
5982
|
);
|
|
5983
5983
|
}
|
|
5984
|
-
w(Ht,
|
|
5984
|
+
w(Ht, On);
|
|
5985
5985
|
};
|
|
5986
5986
|
N(
|
|
5987
5987
|
Oa,
|
|
5988
5988
|
(Ht) => {
|
|
5989
|
-
|
|
5989
|
+
we().split(".").pop() === "pptx" ? Ht(Pa) : Ht(Fa, !1);
|
|
5990
5990
|
},
|
|
5991
5991
|
!0
|
|
5992
5992
|
);
|
|
@@ -5996,7 +5996,7 @@ function la(t, e) {
|
|
|
5996
5996
|
N(
|
|
5997
5997
|
zr,
|
|
5998
5998
|
(Ze) => {
|
|
5999
|
-
|
|
5999
|
+
we().split(".").pop() === "xlsx" ? Ze(Sr) : Ze($r, !1);
|
|
6000
6000
|
},
|
|
6001
6001
|
!0
|
|
6002
6002
|
);
|
|
@@ -6006,7 +6006,7 @@ function la(t, e) {
|
|
|
6006
6006
|
N(
|
|
6007
6007
|
xr,
|
|
6008
6008
|
(He) => {
|
|
6009
|
-
|
|
6009
|
+
we().split(".").pop() === "docx" ? He(kr) : He(yr, !1);
|
|
6010
6010
|
},
|
|
6011
6011
|
!0
|
|
6012
6012
|
);
|
|
@@ -6016,41 +6016,46 @@ function la(t, e) {
|
|
|
6016
6016
|
N(
|
|
6017
6017
|
Lt,
|
|
6018
6018
|
(Ue) => {
|
|
6019
|
-
|
|
6019
|
+
we().split(".").pop() === "pdf" ? Ue(un) : Ue(_r, !1);
|
|
6020
6020
|
},
|
|
6021
6021
|
!0
|
|
6022
6022
|
);
|
|
6023
6023
|
}
|
|
6024
|
-
w($e,
|
|
6024
|
+
w($e, Te);
|
|
6025
6025
|
};
|
|
6026
6026
|
N(Ve, ($e) => {
|
|
6027
|
-
|
|
6027
|
+
ge() ? $e(We) : $e(Tt, !1);
|
|
6028
6028
|
});
|
|
6029
6029
|
}
|
|
6030
6030
|
var Rt = H(Ve, 2);
|
|
6031
6031
|
{
|
|
6032
|
-
var
|
|
6033
|
-
var
|
|
6034
|
-
T(
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6032
|
+
var br = ($e) => {
|
|
6033
|
+
var Te = bd(), Lt = I(Te, !0);
|
|
6034
|
+
T(Te), L(
|
|
6035
|
+
(un) => {
|
|
6036
|
+
B(Te, "title", p(a) ? "Normativa" : "Documento comune"), ut(Lt, un);
|
|
6037
|
+
},
|
|
6038
|
+
[() => we().split(".")[0]]
|
|
6039
|
+
), w($e, Te);
|
|
6040
|
+
}, wr = ($e) => {
|
|
6041
|
+
var Te = _d();
|
|
6042
|
+
Oe(Te, "attachment-title open-file-button svelte-12zt47u"), Te.__click = [
|
|
6038
6043
|
wd,
|
|
6039
6044
|
F,
|
|
6040
6045
|
Se,
|
|
6041
|
-
|
|
6046
|
+
we,
|
|
6042
6047
|
K
|
|
6043
6048
|
];
|
|
6044
|
-
var Lt = I(
|
|
6045
|
-
T(
|
|
6049
|
+
var Lt = I(Te, !0);
|
|
6050
|
+
T(Te), L(() => ut(Lt, we())), w($e, Te);
|
|
6046
6051
|
};
|
|
6047
6052
|
N(Rt, ($e) => {
|
|
6048
|
-
|
|
6053
|
+
ge() ? $e(br) : $e(wr, !1);
|
|
6049
6054
|
});
|
|
6050
6055
|
}
|
|
6051
|
-
var
|
|
6052
|
-
|
|
6053
|
-
Oe(rt, `${`attachment-item ${
|
|
6056
|
+
var Ln = H(Rt, 2);
|
|
6057
|
+
Ln.__click = [xd, o, ze], T(rt), L(() => {
|
|
6058
|
+
Oe(rt, `${`attachment-item ${ge() ? "common" : ""}` ?? ""} svelte-12zt47u`), B(rt, "title", we()), Oe(Ln, `${`remove-btn ${ge() ? "common" : ""}` ?? ""} svelte-12zt47u`);
|
|
6054
6059
|
}), w(P, rt);
|
|
6055
6060
|
}), T(Ie), na(Ie, (P) => h = P, () => h);
|
|
6056
6061
|
var ce = H(Ie, 2), ye = I(ce);
|
|
@@ -6061,17 +6066,17 @@ function la(t, e) {
|
|
|
6061
6066
|
}, O = (P) => {
|
|
6062
6067
|
var M = he(), ze = oe(M);
|
|
6063
6068
|
{
|
|
6064
|
-
var
|
|
6065
|
-
var
|
|
6066
|
-
bi(rt, { size: "20", color: "white" }), T(
|
|
6069
|
+
var we = (K) => {
|
|
6070
|
+
var ge = zd(), rt = I(ge);
|
|
6071
|
+
bi(rt, { size: "20", color: "white" }), T(ge), L(() => Oe(ge, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`)), w(K, ge);
|
|
6067
6072
|
}, Se = (K) => {
|
|
6068
|
-
var
|
|
6069
|
-
|
|
6073
|
+
var ge = Sd();
|
|
6074
|
+
ge.__click = m, L(() => Oe(ge, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`)), w(K, ge);
|
|
6070
6075
|
};
|
|
6071
6076
|
N(
|
|
6072
6077
|
ze,
|
|
6073
6078
|
(K) => {
|
|
6074
|
-
p(f) ? K(
|
|
6079
|
+
p(f) ? K(we) : K(Se, !1);
|
|
6075
6080
|
},
|
|
6076
6081
|
!0
|
|
6077
6082
|
);
|
|
@@ -6083,7 +6088,7 @@ function la(t, e) {
|
|
|
6083
6088
|
});
|
|
6084
6089
|
}
|
|
6085
6090
|
var Fe = H(ye, 2);
|
|
6086
|
-
Fe.__click = y, T(ce), T(_e), T(
|
|
6091
|
+
Fe.__click = y, T(ce), T(_e), T(me), T(q);
|
|
6087
6092
|
var st = H(q, 2);
|
|
6088
6093
|
{
|
|
6089
6094
|
var $t = (P) => {
|
|
@@ -6095,10 +6100,10 @@ function la(t, e) {
|
|
|
6095
6100
|
z(o, j(M));
|
|
6096
6101
|
},
|
|
6097
6102
|
get showDocumentSearchModal() {
|
|
6098
|
-
return p(
|
|
6103
|
+
return p(Y);
|
|
6099
6104
|
},
|
|
6100
6105
|
set showDocumentSearchModal(M) {
|
|
6101
|
-
z(
|
|
6106
|
+
z(Y, j(M));
|
|
6102
6107
|
},
|
|
6103
6108
|
get normativeSelected() {
|
|
6104
6109
|
return p(a);
|
|
@@ -6109,12 +6114,12 @@ function la(t, e) {
|
|
|
6109
6114
|
});
|
|
6110
6115
|
};
|
|
6111
6116
|
N(st, (P) => {
|
|
6112
|
-
p(
|
|
6117
|
+
p(Y) && P($t);
|
|
6113
6118
|
});
|
|
6114
6119
|
}
|
|
6115
6120
|
return L(() => {
|
|
6116
6121
|
Oe(ue, `${`btn aks-btn-answer aks-btn-rounded ${p(R) ? "aks-btn-ans-selected" : ""}` ?? ""} svelte-12zt47u`), Oe(Fe, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`);
|
|
6117
|
-
}), pl(U, () => p(s), (P) => z(s, P)), Qo("wheel", Ie, b),
|
|
6122
|
+
}), pl(U, () => p(s), (P) => z(s, P)), Qo("wheel", Ie, b), jn(3, q, () => hi, () => ({ duration: 300, delay: 200 })), w(t, te), G({
|
|
6118
6123
|
get sendMessage() {
|
|
6119
6124
|
return n();
|
|
6120
6125
|
},
|
|
@@ -6147,7 +6152,7 @@ V(
|
|
|
6147
6152
|
[],
|
|
6148
6153
|
!0
|
|
6149
6154
|
);
|
|
6150
|
-
const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/,
|
|
6155
|
+
const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, pr = (t, e, n, r = "") => {
|
|
6151
6156
|
const i = t.split(":");
|
|
6152
6157
|
if (t.slice(0, 1) === "@") {
|
|
6153
6158
|
if (i.length < 2 || i.length > 3)
|
|
@@ -6163,7 +6168,7 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
|
|
|
6163
6168
|
prefix: o,
|
|
6164
6169
|
name: l
|
|
6165
6170
|
};
|
|
6166
|
-
return e && !
|
|
6171
|
+
return e && !Bn(c) ? null : c;
|
|
6167
6172
|
}
|
|
6168
6173
|
const s = i[0], a = s.split("-");
|
|
6169
6174
|
if (a.length > 1) {
|
|
@@ -6172,7 +6177,7 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
|
|
|
6172
6177
|
prefix: a.shift(),
|
|
6173
6178
|
name: a.join("-")
|
|
6174
6179
|
};
|
|
6175
|
-
return e && !
|
|
6180
|
+
return e && !Bn(l) ? null : l;
|
|
6176
6181
|
}
|
|
6177
6182
|
if (n && r === "") {
|
|
6178
6183
|
const l = {
|
|
@@ -6180,10 +6185,10 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
|
|
|
6180
6185
|
prefix: "",
|
|
6181
6186
|
name: s
|
|
6182
6187
|
};
|
|
6183
|
-
return e && !
|
|
6188
|
+
return e && !Bn(l, n) ? null : l;
|
|
6184
6189
|
}
|
|
6185
6190
|
return null;
|
|
6186
|
-
},
|
|
6191
|
+
}, Bn = (t, e) => t ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
6187
6192
|
// Check name: cannot be empty
|
|
6188
6193
|
((e && t.prefix === "" || t.prefix) && t.name) : !1, ua = Object.freeze(
|
|
6189
6194
|
{
|
|
@@ -6192,15 +6197,15 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
|
|
|
6192
6197
|
width: 16,
|
|
6193
6198
|
height: 16
|
|
6194
6199
|
}
|
|
6195
|
-
),
|
|
6200
|
+
), tr = Object.freeze({
|
|
6196
6201
|
rotate: 0,
|
|
6197
6202
|
vFlip: !1,
|
|
6198
6203
|
hFlip: !1
|
|
6199
|
-
}),
|
|
6204
|
+
}), vr = Object.freeze({
|
|
6200
6205
|
...ua,
|
|
6201
|
-
...
|
|
6206
|
+
...tr
|
|
6202
6207
|
}), Jr = Object.freeze({
|
|
6203
|
-
...
|
|
6208
|
+
...vr,
|
|
6204
6209
|
body: "",
|
|
6205
6210
|
hidden: !1
|
|
6206
6211
|
});
|
|
@@ -6213,7 +6218,7 @@ function Ed(t, e) {
|
|
|
6213
6218
|
function Gi(t, e) {
|
|
6214
6219
|
const n = Ed(t, e);
|
|
6215
6220
|
for (const r in Jr)
|
|
6216
|
-
r in
|
|
6221
|
+
r in tr ? r in t && !(r in n) && (n[r] = tr[r]) : r in e ? n[r] = e[r] : r in t && (n[r] = t[r]);
|
|
6217
6222
|
return n;
|
|
6218
6223
|
}
|
|
6219
6224
|
function Cd(t, e) {
|
|
@@ -6329,19 +6334,19 @@ function Rd(t, e, n) {
|
|
|
6329
6334
|
}
|
|
6330
6335
|
return !1;
|
|
6331
6336
|
}
|
|
6332
|
-
let
|
|
6337
|
+
let $n = !1;
|
|
6333
6338
|
function pa(t) {
|
|
6334
|
-
return typeof t == "boolean" && (
|
|
6339
|
+
return typeof t == "boolean" && ($n = t), $n;
|
|
6335
6340
|
}
|
|
6336
6341
|
function Ld(t) {
|
|
6337
|
-
const e = typeof t == "string" ?
|
|
6342
|
+
const e = typeof t == "string" ? pr(t, !0, $n) : t;
|
|
6338
6343
|
if (e) {
|
|
6339
6344
|
const n = tn(e.provider, e.prefix), r = e.name;
|
|
6340
6345
|
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
|
6341
6346
|
}
|
|
6342
6347
|
}
|
|
6343
6348
|
function Od(t, e) {
|
|
6344
|
-
const n =
|
|
6349
|
+
const n = pr(t, !0, $n);
|
|
6345
6350
|
if (!n)
|
|
6346
6351
|
return !1;
|
|
6347
6352
|
const r = tn(n.provider, n.prefix);
|
|
@@ -6350,14 +6355,14 @@ function Od(t, e) {
|
|
|
6350
6355
|
function Pd(t, e) {
|
|
6351
6356
|
if (typeof t != "object")
|
|
6352
6357
|
return !1;
|
|
6353
|
-
if (typeof e != "string" && (e = t.provider || ""),
|
|
6358
|
+
if (typeof e != "string" && (e = t.provider || ""), $n && !e && !t.prefix) {
|
|
6354
6359
|
let i = !1;
|
|
6355
6360
|
return fa(t) && (t.prefix = "", da(t, (s, a) => {
|
|
6356
6361
|
Od(s, a) && (i = !0);
|
|
6357
6362
|
})), i;
|
|
6358
6363
|
}
|
|
6359
6364
|
const n = t.prefix;
|
|
6360
|
-
if (!
|
|
6365
|
+
if (!Bn({
|
|
6361
6366
|
provider: e,
|
|
6362
6367
|
prefix: n,
|
|
6363
6368
|
name: "a"
|
|
@@ -6373,7 +6378,7 @@ const va = Object.freeze({
|
|
|
6373
6378
|
// Dimensions
|
|
6374
6379
|
...va,
|
|
6375
6380
|
// Transformations
|
|
6376
|
-
...
|
|
6381
|
+
...tr
|
|
6377
6382
|
}), Fd = /(-?[0-9.]*[0-9]+[0-9.]*)/g, qd = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
|
|
6378
6383
|
function Vi(t, e, n) {
|
|
6379
6384
|
if (e === 1)
|
|
@@ -6425,7 +6430,7 @@ function Nd(t, e, n) {
|
|
|
6425
6430
|
const Bd = (t) => t === "unset" || t === "undefined" || t === "none";
|
|
6426
6431
|
function Yd(t, e) {
|
|
6427
6432
|
const n = {
|
|
6428
|
-
...
|
|
6433
|
+
...vr,
|
|
6429
6434
|
...t
|
|
6430
6435
|
}, r = {
|
|
6431
6436
|
...ga,
|
|
@@ -6535,14 +6540,14 @@ function wi(t) {
|
|
|
6535
6540
|
dataAfterTimeout: t.dataAfterTimeout !== !1
|
|
6536
6541
|
};
|
|
6537
6542
|
}
|
|
6538
|
-
const _i = /* @__PURE__ */ Object.create(null),
|
|
6543
|
+
const _i = /* @__PURE__ */ Object.create(null), fn = [
|
|
6539
6544
|
"https://api.simplesvg.com",
|
|
6540
6545
|
"https://api.unisvg.com"
|
|
6541
|
-
],
|
|
6542
|
-
for (;
|
|
6543
|
-
|
|
6546
|
+
], Yn = [];
|
|
6547
|
+
for (; fn.length > 0; )
|
|
6548
|
+
fn.length === 1 || Math.random() > 0.5 ? Yn.push(fn.shift()) : Yn.push(fn.pop());
|
|
6544
6549
|
_i[""] = wi({
|
|
6545
|
-
resources: ["https://api.iconify.design"].concat(
|
|
6550
|
+
resources: ["https://api.iconify.design"].concat(Yn)
|
|
6546
6551
|
});
|
|
6547
6552
|
function Vd(t, e) {
|
|
6548
6553
|
const n = wi(e);
|
|
@@ -6744,7 +6749,7 @@ function of(t, e, n) {
|
|
|
6744
6749
|
function lf(t, e = !0, n = !1) {
|
|
6745
6750
|
const r = [];
|
|
6746
6751
|
return t.forEach((i) => {
|
|
6747
|
-
const s = typeof i == "string" ?
|
|
6752
|
+
const s = typeof i == "string" ? pr(i, e, n) : i;
|
|
6748
6753
|
s && r.push(s);
|
|
6749
6754
|
}), r;
|
|
6750
6755
|
}
|
|
@@ -6804,12 +6809,12 @@ function uf(t, e, n, r) {
|
|
|
6804
6809
|
}), f = [];
|
|
6805
6810
|
}
|
|
6806
6811
|
function E(k, F, R) {
|
|
6807
|
-
const
|
|
6812
|
+
const Y = F !== "success";
|
|
6808
6813
|
switch (f = f.filter((te) => te !== k), o) {
|
|
6809
6814
|
case "pending":
|
|
6810
6815
|
break;
|
|
6811
6816
|
case "failed":
|
|
6812
|
-
if (
|
|
6817
|
+
if (Y || !t.dataAfterTimeout)
|
|
6813
6818
|
return;
|
|
6814
6819
|
break;
|
|
6815
6820
|
default:
|
|
@@ -6819,7 +6824,7 @@ function uf(t, e, n, r) {
|
|
|
6819
6824
|
u = R, _();
|
|
6820
6825
|
return;
|
|
6821
6826
|
}
|
|
6822
|
-
if (
|
|
6827
|
+
if (Y) {
|
|
6823
6828
|
u = R, f.length || (a.length ? x() : _());
|
|
6824
6829
|
return;
|
|
6825
6830
|
}
|
|
@@ -6849,8 +6854,8 @@ function uf(t, e, n, r) {
|
|
|
6849
6854
|
const F = {
|
|
6850
6855
|
status: "pending",
|
|
6851
6856
|
resource: k,
|
|
6852
|
-
callback: (R,
|
|
6853
|
-
E(F, R,
|
|
6857
|
+
callback: (R, Y) => {
|
|
6858
|
+
E(F, R, Y);
|
|
6854
6859
|
}
|
|
6855
6860
|
};
|
|
6856
6861
|
f.push(F), c++, d = setTimeout(x, t.rotate), n(k, e, F.callback);
|
|
@@ -6941,7 +6946,7 @@ function pf(t) {
|
|
|
6941
6946
|
invalid: n
|
|
6942
6947
|
};
|
|
6943
6948
|
}
|
|
6944
|
-
function
|
|
6949
|
+
function hn(t, e, n) {
|
|
6945
6950
|
function r() {
|
|
6946
6951
|
const i = t.pendingIcons;
|
|
6947
6952
|
e.forEach((s) => {
|
|
@@ -6977,7 +6982,7 @@ function vf(t, e) {
|
|
|
6977
6982
|
Ki(
|
|
6978
6983
|
t.loadIcons(i, r, n),
|
|
6979
6984
|
(u) => {
|
|
6980
|
-
|
|
6985
|
+
hn(t, i, u);
|
|
6981
6986
|
}
|
|
6982
6987
|
);
|
|
6983
6988
|
return;
|
|
@@ -6992,22 +6997,22 @@ function vf(t, e) {
|
|
|
6992
6997
|
[u]: f
|
|
6993
6998
|
}
|
|
6994
6999
|
} : null;
|
|
6995
|
-
|
|
7000
|
+
hn(t, [u], h);
|
|
6996
7001
|
});
|
|
6997
7002
|
});
|
|
6998
7003
|
return;
|
|
6999
7004
|
}
|
|
7000
7005
|
const { valid: a, invalid: l } = pf(i);
|
|
7001
|
-
if (l.length &&
|
|
7006
|
+
if (l.length && hn(t, l, null), !a.length)
|
|
7002
7007
|
return;
|
|
7003
7008
|
const o = r.match(ca) ? Wr(n) : null;
|
|
7004
7009
|
if (!o) {
|
|
7005
|
-
|
|
7010
|
+
hn(t, a, null);
|
|
7006
7011
|
return;
|
|
7007
7012
|
}
|
|
7008
7013
|
o.prepare(n, r, a).forEach((u) => {
|
|
7009
7014
|
ff(n, u, (d) => {
|
|
7010
|
-
|
|
7015
|
+
hn(t, u.icons, d);
|
|
7011
7016
|
});
|
|
7012
7017
|
});
|
|
7013
7018
|
}));
|
|
@@ -7244,9 +7249,9 @@ function Cf(t, e, n, r, i) {
|
|
|
7244
7249
|
e.loading && (e.loading.abort(), e.loading = null);
|
|
7245
7250
|
}
|
|
7246
7251
|
if (typeof t == "object" && t !== null && typeof t.body == "string")
|
|
7247
|
-
return e.name = "", s(), { data: { ...
|
|
7252
|
+
return e.name = "", s(), { data: { ...vr, ...t } };
|
|
7248
7253
|
let a;
|
|
7249
|
-
if (typeof t != "string" || (a =
|
|
7254
|
+
if (typeof t != "string" || (a = pr(t, !1, !0)) === null)
|
|
7250
7255
|
return s(), null;
|
|
7251
7256
|
const l = Ld(a);
|
|
7252
7257
|
if (!l)
|
|
@@ -7260,12 +7265,12 @@ function Cf(t, e, n, r, i) {
|
|
|
7260
7265
|
}
|
|
7261
7266
|
function rs(t, e) {
|
|
7262
7267
|
return t ? Ef({
|
|
7263
|
-
...
|
|
7268
|
+
...vr,
|
|
7264
7269
|
...t
|
|
7265
7270
|
}, e) : null;
|
|
7266
7271
|
}
|
|
7267
7272
|
var If = /* @__PURE__ */ Ko("<svg><!></svg>"), Af = /* @__PURE__ */ S("<span></span>");
|
|
7268
|
-
function
|
|
7273
|
+
function Tn(t, e) {
|
|
7269
7274
|
const n = zl(e, [
|
|
7270
7275
|
"children",
|
|
7271
7276
|
"$$slots",
|
|
@@ -7293,14 +7298,14 @@ function $n(t, e) {
|
|
|
7293
7298
|
z(i, !0);
|
|
7294
7299
|
}), bl(() => {
|
|
7295
7300
|
Ir(r, p(r).destroyed = !0), p(r).loading && (p(r).loading.abort(), Ir(r, p(r).loading = null));
|
|
7296
|
-
}),
|
|
7301
|
+
}), Cn(
|
|
7297
7302
|
() => (p(s), cn(n), p(i), p(r), p(a), rs),
|
|
7298
7303
|
() => {
|
|
7299
7304
|
p(s);
|
|
7300
7305
|
const f = !!n.ssr || p(i), h = Cf(n.icon, p(r), f, o, l);
|
|
7301
7306
|
z(a, h ? rs(h.data, n) : null), p(a) && h.classes && Ir(a, p(a).attributes.class = (typeof n.class == "string" ? n.class + " " : "") + h.classes.join(" "));
|
|
7302
7307
|
}
|
|
7303
|
-
),
|
|
7308
|
+
), In(), Ye();
|
|
7304
7309
|
var c = he(), u = oe(c);
|
|
7305
7310
|
{
|
|
7306
7311
|
var d = (f) => {
|
|
@@ -7328,7 +7333,7 @@ function $n(t, e) {
|
|
|
7328
7333
|
}
|
|
7329
7334
|
w(t, c), G();
|
|
7330
7335
|
}
|
|
7331
|
-
V(
|
|
7336
|
+
V(Tn, {}, [], [], !0);
|
|
7332
7337
|
function ki() {
|
|
7333
7338
|
return {
|
|
7334
7339
|
async: !1,
|
|
@@ -7347,7 +7352,7 @@ let Ut = ki();
|
|
|
7347
7352
|
function _a(t) {
|
|
7348
7353
|
Ut = t;
|
|
7349
7354
|
}
|
|
7350
|
-
const
|
|
7355
|
+
const wn = { exec: () => null };
|
|
7351
7356
|
function ie(t, e = "") {
|
|
7352
7357
|
let n = typeof t == "string" ? t : t.source;
|
|
7353
7358
|
const r = {
|
|
@@ -7416,44 +7421,44 @@ const Pe = {
|
|
|
7416
7421
|
fencesBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:\`\`\`|~~~)`),
|
|
7417
7422
|
headingBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}#`),
|
|
7418
7423
|
htmlBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
7419
|
-
}, jf = /^(?:[ \t]*(?:\n|$))+/, Rf = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Lf = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
|
|
7424
|
+
}, jf = /^(?:[ \t]*(?:\n|$))+/, Rf = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Lf = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Rn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Of = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, yi = /(?:[*+-]|\d{1,9}[.)])/, xa = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ka = ie(xa).replace(/bull/g, yi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Pf = ie(xa).replace(/bull/g, yi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), zi = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Ff = /^[^\n]+/, Si = /(?!\s*\])(?:\\.|[^\[\]\\])+/, qf = ie(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Si).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Df = ie(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, yi).getRegex(), gr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", $i = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Mf = ie("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", $i).replace("tag", gr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ya = ie(zi).replace("hr", Rn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", gr).getRegex(), Nf = ie(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ya).getRegex(), Ti = {
|
|
7420
7425
|
blockquote: Nf,
|
|
7421
7426
|
code: Rf,
|
|
7422
7427
|
def: qf,
|
|
7423
7428
|
fences: Lf,
|
|
7424
7429
|
heading: Of,
|
|
7425
|
-
hr:
|
|
7430
|
+
hr: Rn,
|
|
7426
7431
|
html: Mf,
|
|
7427
7432
|
lheading: ka,
|
|
7428
7433
|
list: Df,
|
|
7429
7434
|
newline: jf,
|
|
7430
7435
|
paragraph: ya,
|
|
7431
|
-
table:
|
|
7436
|
+
table: wn,
|
|
7432
7437
|
text: Ff
|
|
7433
|
-
}, is = ie("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",
|
|
7438
|
+
}, is = ie("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Rn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", gr).getRegex(), Bf = {
|
|
7434
7439
|
...Ti,
|
|
7435
7440
|
lheading: Pf,
|
|
7436
7441
|
table: is,
|
|
7437
|
-
paragraph: ie(zi).replace("hr",
|
|
7442
|
+
paragraph: ie(zi).replace("hr", Rn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", is).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", gr).getRegex()
|
|
7438
7443
|
}, Yf = {
|
|
7439
7444
|
...Ti,
|
|
7440
7445
|
html: ie(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", $i).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
7441
7446
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
7442
7447
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
7443
|
-
fences:
|
|
7448
|
+
fences: wn,
|
|
7444
7449
|
// fences not supported
|
|
7445
7450
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
7446
|
-
paragraph: ie(zi).replace("hr",
|
|
7451
|
+
paragraph: ie(zi).replace("hr", Rn).replace("heading", ` *#{1,6} *[^
|
|
7447
7452
|
]`).replace("lheading", ka).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
7448
|
-
}, Uf = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Hf = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, za = /^( {2,}|\\)\n(?!\s*$)/, Zf = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
|
|
7449
|
-
_backpedal:
|
|
7453
|
+
}, Uf = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Hf = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, za = /^( {2,}|\\)\n(?!\s*$)/, Zf = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, mr = /[\p{P}\p{S}]/u, Ei = /[\s\p{P}\p{S}]/u, Sa = /[^\s\p{P}\p{S}]/u, Gf = ie(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ei).getRegex(), $a = /(?!~)[\p{P}\p{S}]/u, Jf = /(?!~)[\s\p{P}\p{S}]/u, Vf = /(?:[^\s\p{P}\p{S}]|~)/u, Wf = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ta = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Xf = ie(Ta, "u").replace(/punct/g, mr).getRegex(), Qf = ie(Ta, "u").replace(/punct/g, $a).getRegex(), Ea = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kf = ie(Ea, "gu").replace(/notPunctSpace/g, Sa).replace(/punctSpace/g, Ei).replace(/punct/g, mr).getRegex(), eh = ie(Ea, "gu").replace(/notPunctSpace/g, Vf).replace(/punctSpace/g, Jf).replace(/punct/g, $a).getRegex(), th = ie("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Sa).replace(/punctSpace/g, Ei).replace(/punct/g, mr).getRegex(), nh = ie(/\\(punct)/, "gu").replace(/punct/g, mr).getRegex(), rh = ie(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), ih = ie($i).replace("(?:-->|$)", "-->").getRegex(), sh = ie("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", ih).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), nr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, ah = ie(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", nr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ca = ie(/^!?\[(label)\]\[(ref)\]/).replace("label", nr).replace("ref", Si).getRegex(), Ia = ie(/^!?\[(ref)\](?:\[\])?/).replace("ref", Si).getRegex(), oh = ie("reflink|nolink(?!\\()", "g").replace("reflink", Ca).replace("nolink", Ia).getRegex(), Ci = {
|
|
7454
|
+
_backpedal: wn,
|
|
7450
7455
|
// only used for GFM url
|
|
7451
7456
|
anyPunctuation: nh,
|
|
7452
7457
|
autolink: rh,
|
|
7453
7458
|
blockSkip: Wf,
|
|
7454
7459
|
br: za,
|
|
7455
7460
|
code: Hf,
|
|
7456
|
-
del:
|
|
7461
|
+
del: wn,
|
|
7457
7462
|
emStrongLDelim: Xf,
|
|
7458
7463
|
emStrongRDelimAst: Kf,
|
|
7459
7464
|
emStrongRDelimUnd: th,
|
|
@@ -7465,11 +7470,11 @@ const Pe = {
|
|
|
7465
7470
|
reflinkSearch: oh,
|
|
7466
7471
|
tag: sh,
|
|
7467
7472
|
text: Zf,
|
|
7468
|
-
url:
|
|
7473
|
+
url: wn
|
|
7469
7474
|
}, lh = {
|
|
7470
7475
|
...Ci,
|
|
7471
|
-
link: ie(/^!?\[(label)\]\((.*?)\)/).replace("label",
|
|
7472
|
-
reflink: ie(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",
|
|
7476
|
+
link: ie(/^!?\[(label)\]\((.*?)\)/).replace("label", nr).getRegex(),
|
|
7477
|
+
reflink: ie(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", nr).getRegex()
|
|
7473
7478
|
}, Qr = {
|
|
7474
7479
|
...Ci,
|
|
7475
7480
|
emStrongRDelimAst: eh,
|
|
@@ -7482,11 +7487,11 @@ const Pe = {
|
|
|
7482
7487
|
...Qr,
|
|
7483
7488
|
br: ie(za).replace("{2,}", "*").getRegex(),
|
|
7484
7489
|
text: ie(Qr.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
7485
|
-
},
|
|
7490
|
+
}, qn = {
|
|
7486
7491
|
normal: Ti,
|
|
7487
7492
|
gfm: Bf,
|
|
7488
7493
|
pedantic: Yf
|
|
7489
|
-
},
|
|
7494
|
+
}, pn = {
|
|
7490
7495
|
normal: Ci,
|
|
7491
7496
|
gfm: Qr,
|
|
7492
7497
|
breaks: ch,
|
|
@@ -7533,7 +7538,7 @@ function os(t, e) {
|
|
|
7533
7538
|
r[i] = r[i].trim().replace(Pe.slashPipe, "|");
|
|
7534
7539
|
return r;
|
|
7535
7540
|
}
|
|
7536
|
-
function
|
|
7541
|
+
function vn(t, e, n) {
|
|
7537
7542
|
const r = t.length;
|
|
7538
7543
|
if (r === 0)
|
|
7539
7544
|
return "";
|
|
@@ -7592,7 +7597,7 @@ function fh(t, e, n) {
|
|
|
7592
7597
|
}).join(`
|
|
7593
7598
|
`);
|
|
7594
7599
|
}
|
|
7595
|
-
class
|
|
7600
|
+
class rr {
|
|
7596
7601
|
// set by the lexer
|
|
7597
7602
|
constructor(e) {
|
|
7598
7603
|
A(this, "options");
|
|
@@ -7617,7 +7622,7 @@ class nr {
|
|
|
7617
7622
|
type: "code",
|
|
7618
7623
|
raw: n[0],
|
|
7619
7624
|
codeBlockStyle: "indented",
|
|
7620
|
-
text: this.options.pedantic ? r :
|
|
7625
|
+
text: this.options.pedantic ? r : vn(r, `
|
|
7621
7626
|
`)
|
|
7622
7627
|
};
|
|
7623
7628
|
}
|
|
@@ -7639,7 +7644,7 @@ class nr {
|
|
|
7639
7644
|
if (n) {
|
|
7640
7645
|
let r = n[2].trim();
|
|
7641
7646
|
if (this.rules.other.endingHash.test(r)) {
|
|
7642
|
-
const i =
|
|
7647
|
+
const i = vn(r, "#");
|
|
7643
7648
|
(this.options.pedantic || !i || this.rules.other.endingSpaceChar.test(i)) && (r = i.trim());
|
|
7644
7649
|
}
|
|
7645
7650
|
return {
|
|
@@ -7656,14 +7661,14 @@ class nr {
|
|
|
7656
7661
|
if (n)
|
|
7657
7662
|
return {
|
|
7658
7663
|
type: "hr",
|
|
7659
|
-
raw:
|
|
7664
|
+
raw: vn(n[0], `
|
|
7660
7665
|
`)
|
|
7661
7666
|
};
|
|
7662
7667
|
}
|
|
7663
7668
|
blockquote(e) {
|
|
7664
7669
|
const n = this.rules.block.blockquote.exec(e);
|
|
7665
7670
|
if (n) {
|
|
7666
|
-
let r =
|
|
7671
|
+
let r = vn(n[0], `
|
|
7667
7672
|
`).split(`
|
|
7668
7673
|
`), i = "", s = "";
|
|
7669
7674
|
const a = [];
|
|
@@ -7907,7 +7912,7 @@ ${d}` : d;
|
|
|
7907
7912
|
if (!this.options.pedantic && this.rules.other.startAngleBracket.test(r)) {
|
|
7908
7913
|
if (!this.rules.other.endAngleBracket.test(r))
|
|
7909
7914
|
return;
|
|
7910
|
-
const a =
|
|
7915
|
+
const a = vn(r.slice(0, -1), "\\");
|
|
7911
7916
|
if ((r.length - a.length) % 2 === 0)
|
|
7912
7917
|
return;
|
|
7913
7918
|
} else {
|
|
@@ -8083,25 +8088,25 @@ class Qe {
|
|
|
8083
8088
|
A(this, "state");
|
|
8084
8089
|
A(this, "tokenizer");
|
|
8085
8090
|
A(this, "inlineQueue");
|
|
8086
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Ut, this.options.tokenizer = this.options.tokenizer || new
|
|
8091
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Ut, this.options.tokenizer = this.options.tokenizer || new rr(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
8087
8092
|
inLink: !1,
|
|
8088
8093
|
inRawBlock: !1,
|
|
8089
8094
|
top: !0
|
|
8090
8095
|
};
|
|
8091
8096
|
const n = {
|
|
8092
8097
|
other: Pe,
|
|
8093
|
-
block:
|
|
8094
|
-
inline:
|
|
8098
|
+
block: qn.normal,
|
|
8099
|
+
inline: pn.normal
|
|
8095
8100
|
};
|
|
8096
|
-
this.options.pedantic ? (n.block =
|
|
8101
|
+
this.options.pedantic ? (n.block = qn.pedantic, n.inline = pn.pedantic) : this.options.gfm && (n.block = qn.gfm, this.options.breaks ? n.inline = pn.breaks : n.inline = pn.gfm), this.tokenizer.rules = n;
|
|
8097
8102
|
}
|
|
8098
8103
|
/**
|
|
8099
8104
|
* Expose Rules
|
|
8100
8105
|
*/
|
|
8101
8106
|
static get rules() {
|
|
8102
8107
|
return {
|
|
8103
|
-
block:
|
|
8104
|
-
inline:
|
|
8108
|
+
block: qn,
|
|
8109
|
+
inline: pn
|
|
8105
8110
|
};
|
|
8106
8111
|
}
|
|
8107
8112
|
/**
|
|
@@ -8321,7 +8326,7 @@ class Qe {
|
|
|
8321
8326
|
return n;
|
|
8322
8327
|
}
|
|
8323
8328
|
}
|
|
8324
|
-
class
|
|
8329
|
+
class ir {
|
|
8325
8330
|
// set by the parser
|
|
8326
8331
|
constructor(e) {
|
|
8327
8332
|
A(this, "options");
|
|
@@ -8491,7 +8496,7 @@ class Ke {
|
|
|
8491
8496
|
A(this, "options");
|
|
8492
8497
|
A(this, "renderer");
|
|
8493
8498
|
A(this, "textRenderer");
|
|
8494
|
-
this.options = e || Ut, this.options.renderer = this.options.renderer || new
|
|
8499
|
+
this.options = e || Ut, this.options.renderer = this.options.renderer || new ir(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ii();
|
|
8495
8500
|
}
|
|
8496
8501
|
/**
|
|
8497
8502
|
* Static Parse Method
|
|
@@ -8649,7 +8654,7 @@ class Ke {
|
|
|
8649
8654
|
return r;
|
|
8650
8655
|
}
|
|
8651
8656
|
}
|
|
8652
|
-
class
|
|
8657
|
+
class _n {
|
|
8653
8658
|
constructor(e) {
|
|
8654
8659
|
A(this, "options");
|
|
8655
8660
|
A(this, "block");
|
|
@@ -8686,7 +8691,7 @@ class wn {
|
|
|
8686
8691
|
return this.block ? Ke.parse : Ke.parseInline;
|
|
8687
8692
|
}
|
|
8688
8693
|
}
|
|
8689
|
-
A(
|
|
8694
|
+
A(_n, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
8690
8695
|
"preprocess",
|
|
8691
8696
|
"postprocess",
|
|
8692
8697
|
"processAllTokens"
|
|
@@ -8698,11 +8703,11 @@ class hh {
|
|
|
8698
8703
|
A(this, "parse", this.parseMarkdown(!0));
|
|
8699
8704
|
A(this, "parseInline", this.parseMarkdown(!1));
|
|
8700
8705
|
A(this, "Parser", Ke);
|
|
8701
|
-
A(this, "Renderer",
|
|
8706
|
+
A(this, "Renderer", ir);
|
|
8702
8707
|
A(this, "TextRenderer", Ii);
|
|
8703
8708
|
A(this, "Lexer", Qe);
|
|
8704
|
-
A(this, "Tokenizer",
|
|
8705
|
-
A(this, "Hooks",
|
|
8709
|
+
A(this, "Tokenizer", rr);
|
|
8710
|
+
A(this, "Hooks", _n);
|
|
8706
8711
|
this.use(...e);
|
|
8707
8712
|
}
|
|
8708
8713
|
/**
|
|
@@ -8759,7 +8764,7 @@ class hh {
|
|
|
8759
8764
|
}
|
|
8760
8765
|
"childTokens" in s && s.childTokens && (n.childTokens[s.name] = s.childTokens);
|
|
8761
8766
|
}), i.extensions = n), r.renderer) {
|
|
8762
|
-
const s = this.defaults.renderer || new
|
|
8767
|
+
const s = this.defaults.renderer || new ir(this.defaults);
|
|
8763
8768
|
for (const a in r.renderer) {
|
|
8764
8769
|
if (!(a in s))
|
|
8765
8770
|
throw new Error(`renderer '${a}' does not exist`);
|
|
@@ -8774,7 +8779,7 @@ class hh {
|
|
|
8774
8779
|
i.renderer = s;
|
|
8775
8780
|
}
|
|
8776
8781
|
if (r.tokenizer) {
|
|
8777
|
-
const s = this.defaults.tokenizer || new
|
|
8782
|
+
const s = this.defaults.tokenizer || new rr(this.defaults);
|
|
8778
8783
|
for (const a in r.tokenizer) {
|
|
8779
8784
|
if (!(a in s))
|
|
8780
8785
|
throw new Error(`tokenizer '${a}' does not exist`);
|
|
@@ -8789,14 +8794,14 @@ class hh {
|
|
|
8789
8794
|
i.tokenizer = s;
|
|
8790
8795
|
}
|
|
8791
8796
|
if (r.hooks) {
|
|
8792
|
-
const s = this.defaults.hooks || new
|
|
8797
|
+
const s = this.defaults.hooks || new _n();
|
|
8793
8798
|
for (const a in r.hooks) {
|
|
8794
8799
|
if (!(a in s))
|
|
8795
8800
|
throw new Error(`hook '${a}' does not exist`);
|
|
8796
8801
|
if (["options", "block"].includes(a))
|
|
8797
8802
|
continue;
|
|
8798
8803
|
const l = a, o = r.hooks[l], c = s[l];
|
|
8799
|
-
|
|
8804
|
+
_n.passThroughHooks.has(a) ? s[l] = (u) => {
|
|
8800
8805
|
if (this.defaults.async)
|
|
8801
8806
|
return Promise.resolve(o.call(s, u)).then((f) => c.call(s, f));
|
|
8802
8807
|
const d = o.call(s, u);
|
|
@@ -8882,12 +8887,12 @@ ae.walkTokens = function(t, e) {
|
|
|
8882
8887
|
ae.parseInline = Dt.parseInline;
|
|
8883
8888
|
ae.Parser = Ke;
|
|
8884
8889
|
ae.parser = Ke.parse;
|
|
8885
|
-
ae.Renderer =
|
|
8890
|
+
ae.Renderer = ir;
|
|
8886
8891
|
ae.TextRenderer = Ii;
|
|
8887
8892
|
ae.Lexer = Qe;
|
|
8888
8893
|
ae.lexer = Qe.lex;
|
|
8889
|
-
ae.Tokenizer =
|
|
8890
|
-
ae.Hooks =
|
|
8894
|
+
ae.Tokenizer = rr;
|
|
8895
|
+
ae.Hooks = _n;
|
|
8891
8896
|
ae.parse = ae;
|
|
8892
8897
|
ae.options;
|
|
8893
8898
|
ae.setOptions;
|
|
@@ -8910,7 +8915,7 @@ function Aa(t, e) {
|
|
|
8910
8915
|
Z(e, !0), X(t, Th);
|
|
8911
8916
|
let n = g(e, "isDropdownOpen", 15), r = g(e, "attachmentList", 15);
|
|
8912
8917
|
const i = async (o, c, u) => {
|
|
8913
|
-
await
|
|
8918
|
+
await Sn.getDocumentPage(o, c, u);
|
|
8914
8919
|
};
|
|
8915
8920
|
var s = $h(), a = I(s);
|
|
8916
8921
|
{
|
|
@@ -8936,11 +8941,11 @@ function Aa(t, e) {
|
|
|
8936
8941
|
];
|
|
8937
8942
|
var R = I(F);
|
|
8938
8943
|
{
|
|
8939
|
-
var
|
|
8940
|
-
var
|
|
8941
|
-
L(() =>
|
|
8944
|
+
var Y = (U) => {
|
|
8945
|
+
var me = gh();
|
|
8946
|
+
L(() => B(me, "style", k() == "Normativa" ? "color: #28853d" : k() == "Documento Comune" ? "color: #295DCF" : "")), w(U, me);
|
|
8942
8947
|
}, te = (U) => {
|
|
8943
|
-
var
|
|
8948
|
+
var me = he(), _e = oe(me);
|
|
8944
8949
|
{
|
|
8945
8950
|
var se = (ve) => {
|
|
8946
8951
|
var de = mh();
|
|
@@ -8949,10 +8954,10 @@ function Aa(t, e) {
|
|
|
8949
8954
|
var de = he(), Ie = oe(de);
|
|
8950
8955
|
{
|
|
8951
8956
|
var fe = (xe) => {
|
|
8952
|
-
var
|
|
8953
|
-
w(xe,
|
|
8954
|
-
},
|
|
8955
|
-
var
|
|
8957
|
+
var be = bh();
|
|
8958
|
+
w(xe, be);
|
|
8959
|
+
}, Ee = (xe) => {
|
|
8960
|
+
var be = he(), ke = oe(be);
|
|
8956
8961
|
{
|
|
8957
8962
|
var ce = (Re) => {
|
|
8958
8963
|
var O = wh();
|
|
@@ -8966,17 +8971,17 @@ function Aa(t, e) {
|
|
|
8966
8971
|
}, $t = (P) => {
|
|
8967
8972
|
var M = he(), ze = oe(M);
|
|
8968
8973
|
{
|
|
8969
|
-
var
|
|
8970
|
-
var
|
|
8971
|
-
w(K,
|
|
8974
|
+
var we = (K) => {
|
|
8975
|
+
var ge = xh();
|
|
8976
|
+
w(K, ge);
|
|
8972
8977
|
}, Se = (K) => {
|
|
8973
|
-
var
|
|
8974
|
-
w(K,
|
|
8978
|
+
var ge = kh();
|
|
8979
|
+
w(K, ge);
|
|
8975
8980
|
};
|
|
8976
8981
|
N(
|
|
8977
8982
|
ze,
|
|
8978
8983
|
(K) => {
|
|
8979
|
-
_().split(".").pop() === "akd" ? K(
|
|
8984
|
+
_().split(".").pop() === "akd" ? K(we) : K(Se, !1);
|
|
8980
8985
|
},
|
|
8981
8986
|
!0
|
|
8982
8987
|
);
|
|
@@ -9001,12 +9006,12 @@ function Aa(t, e) {
|
|
|
9001
9006
|
!0
|
|
9002
9007
|
);
|
|
9003
9008
|
}
|
|
9004
|
-
w(xe,
|
|
9009
|
+
w(xe, be);
|
|
9005
9010
|
};
|
|
9006
9011
|
N(
|
|
9007
9012
|
Ie,
|
|
9008
9013
|
(xe) => {
|
|
9009
|
-
_().split(".").pop() === "docx" ? xe(fe) : xe(
|
|
9014
|
+
_().split(".").pop() === "docx" ? xe(fe) : xe(Ee, !1);
|
|
9010
9015
|
},
|
|
9011
9016
|
!0
|
|
9012
9017
|
);
|
|
@@ -9021,16 +9026,16 @@ function Aa(t, e) {
|
|
|
9021
9026
|
!0
|
|
9022
9027
|
);
|
|
9023
9028
|
}
|
|
9024
|
-
w(U,
|
|
9029
|
+
w(U, me);
|
|
9025
9030
|
};
|
|
9026
9031
|
N(R, (U) => {
|
|
9027
|
-
x() ? U(
|
|
9032
|
+
x() ? U(Y) : U(te, !1);
|
|
9028
9033
|
});
|
|
9029
9034
|
}
|
|
9030
9035
|
var q = H(R, 2), D = I(q, !0);
|
|
9031
9036
|
T(q), T(F), L(
|
|
9032
9037
|
(U) => {
|
|
9033
|
-
Oe(F, `${`dropdown-option ${x() ? "common" : ""}` ?? ""} svelte-q27oe3`),
|
|
9038
|
+
Oe(F, `${`dropdown-option ${x() ? "common" : ""}` ?? ""} svelte-q27oe3`), B(F, "title", `${x() ? k() : "Visualizza allegato"}`), ut(D, U);
|
|
9034
9039
|
},
|
|
9035
9040
|
[
|
|
9036
9041
|
() => x() ? _().split(".")[0] : _()
|
|
@@ -9097,23 +9102,23 @@ function ja(t, e) {
|
|
|
9097
9102
|
je(b, 17, n, Ae, (E, x) => {
|
|
9098
9103
|
var k = he(), F = oe(k);
|
|
9099
9104
|
{
|
|
9100
|
-
var R = (
|
|
9101
|
-
var te = jh(), q = I(te), D = I(q), U = I(D),
|
|
9102
|
-
Zr(
|
|
9105
|
+
var R = (Y) => {
|
|
9106
|
+
var te = jh(), q = I(te), D = I(q), U = I(D), me = I(U);
|
|
9107
|
+
Zr(me, () => p(x).html ?? ae.parseInline(p(x).content), !1, !1), T(U), T(D);
|
|
9103
9108
|
var _e = H(D, 2);
|
|
9104
9109
|
{
|
|
9105
9110
|
var se = (de) => {
|
|
9106
9111
|
var Ie = he(), fe = oe(Ie);
|
|
9107
9112
|
{
|
|
9108
|
-
var
|
|
9113
|
+
var Ee = (be) => {
|
|
9109
9114
|
var ke = Ch();
|
|
9110
|
-
ke.__click = [Eh, o, c], w(
|
|
9111
|
-
}, xe = (
|
|
9115
|
+
ke.__click = [Eh, o, c], w(be, ke);
|
|
9116
|
+
}, xe = (be) => {
|
|
9112
9117
|
var ke = Ah();
|
|
9113
|
-
ke.__click = [Ih, f, x], w(
|
|
9118
|
+
ke.__click = [Ih, f, x], w(be, ke);
|
|
9114
9119
|
};
|
|
9115
|
-
N(fe, (
|
|
9116
|
-
p(c) ?
|
|
9120
|
+
N(fe, (be) => {
|
|
9121
|
+
p(c) ? be(Ee) : be(xe, !1);
|
|
9117
9122
|
});
|
|
9118
9123
|
}
|
|
9119
9124
|
w(de, Ie);
|
|
@@ -9139,10 +9144,10 @@ function ja(t, e) {
|
|
|
9139
9144
|
p(x).attachments && p(x).attachments.length > 0 && de(ve);
|
|
9140
9145
|
});
|
|
9141
9146
|
}
|
|
9142
|
-
T(te), L(() => Oe(D, Qs(p(x).sentByUser ? "message-sent" : "message-received"), "svelte-1i332th")), w(
|
|
9147
|
+
T(te), L(() => Oe(D, Qs(p(x).sentByUser ? "message-sent" : "message-received"), "svelte-1i332th")), w(Y, te);
|
|
9143
9148
|
};
|
|
9144
|
-
N(F, (
|
|
9145
|
-
p(x).content != "" &&
|
|
9149
|
+
N(F, (Y) => {
|
|
9150
|
+
p(x).content != "" && Y(R);
|
|
9146
9151
|
});
|
|
9147
9152
|
}
|
|
9148
9153
|
w(E, k);
|
|
@@ -9152,17 +9157,17 @@ function ja(t, e) {
|
|
|
9152
9157
|
var $ = (E) => {
|
|
9153
9158
|
var x = Rh(), k = I(x), F = I(k), R = I(F);
|
|
9154
9159
|
Zr(R, s, !1, !1), T(F), T(k);
|
|
9155
|
-
var
|
|
9160
|
+
var Y = H(k, 2);
|
|
9156
9161
|
{
|
|
9157
9162
|
var te = (q) => {
|
|
9158
|
-
|
|
9163
|
+
Tn(q, {
|
|
9159
9164
|
icon: "svg-spinners:90-ring-with-bg",
|
|
9160
9165
|
width: "25px",
|
|
9161
9166
|
height: "25px",
|
|
9162
9167
|
color: "white"
|
|
9163
9168
|
});
|
|
9164
9169
|
};
|
|
9165
|
-
N(
|
|
9170
|
+
N(Y, (q) => {
|
|
9166
9171
|
r() && q(te);
|
|
9167
9172
|
});
|
|
9168
9173
|
}
|
|
@@ -9171,13 +9176,13 @@ function ja(t, e) {
|
|
|
9171
9176
|
var x = he(), k = oe(x);
|
|
9172
9177
|
{
|
|
9173
9178
|
var F = (R) => {
|
|
9174
|
-
var
|
|
9175
|
-
|
|
9179
|
+
var Y = Lh(), te = I(Y);
|
|
9180
|
+
Tn(te, {
|
|
9176
9181
|
icon: "svg-spinners:3-dots-bounce",
|
|
9177
9182
|
width: "25px",
|
|
9178
9183
|
height: "25px",
|
|
9179
9184
|
color: "white"
|
|
9180
|
-
}), T(
|
|
9185
|
+
}), T(Y), w(R, Y);
|
|
9181
9186
|
};
|
|
9182
9187
|
N(
|
|
9183
9188
|
k,
|
|
@@ -9203,7 +9208,7 @@ function ja(t, e) {
|
|
|
9203
9208
|
i() != "" && E(C);
|
|
9204
9209
|
});
|
|
9205
9210
|
}
|
|
9206
|
-
return T(h), na(h, (E) => z(l, E), () => p(l)),
|
|
9211
|
+
return T(h), na(h, (E) => z(l, E), () => p(l)), jn(3, h, () => hi, () => ({ duration: 300, delay: 100 })), w(t, h), G({
|
|
9207
9212
|
get messages() {
|
|
9208
9213
|
return n();
|
|
9209
9214
|
},
|
|
@@ -9340,7 +9345,7 @@ const qh = async (t) => {
|
|
|
9340
9345
|
}
|
|
9341
9346
|
})).ok)
|
|
9342
9347
|
throw new Error("Failed to delete chat");
|
|
9343
|
-
},
|
|
9348
|
+
}, mn = {
|
|
9344
9349
|
getChat: qh,
|
|
9345
9350
|
getChats: Dh,
|
|
9346
9351
|
newChat: Mh,
|
|
@@ -9366,7 +9371,7 @@ function Ra(t, e) {
|
|
|
9366
9371
|
const a = (d) => {
|
|
9367
9372
|
r(d), s("");
|
|
9368
9373
|
}, l = (d, f) => {
|
|
9369
|
-
confirm('Sei sicuro di voler eliminare la chat: "' + f + '"?') &&
|
|
9374
|
+
confirm('Sei sicuro di voler eliminare la chat: "' + f + '"?') && mn.deleteChat(d).then(() => {
|
|
9370
9375
|
i(i().filter((h) => h._id !== d)), r()._id === d && r(new zt("", "", "", "New Chat", [yt.firstMessage()]));
|
|
9371
9376
|
});
|
|
9372
9377
|
};
|
|
@@ -9381,9 +9386,9 @@ function Ra(t, e) {
|
|
|
9381
9386
|
T(_), T(y);
|
|
9382
9387
|
var E = H(y, 2);
|
|
9383
9388
|
E.__click = [Hh, l, m], T($), L(() => {
|
|
9384
|
-
|
|
9389
|
+
B($, "style", r()._id === p(m)._id ? "background: #295dcf; cursor: default;" : ""), ut(C, p(m).title);
|
|
9385
9390
|
}), w(b, $);
|
|
9386
|
-
}), T(h), T(f),
|
|
9391
|
+
}), T(h), T(f), jn(3, f, () => Il, () => ({ duration: 600 })), w(d, f);
|
|
9387
9392
|
};
|
|
9388
9393
|
N(c, (d) => {
|
|
9389
9394
|
n() && d(u);
|
|
@@ -9446,13 +9451,13 @@ function La(t, e) {
|
|
|
9446
9451
|
let n = re(!1), r = re(!1), i = re("it"), s = re(""), a = re(null), l = re(j([])), o = re(j([])), c = re(!1), u = re(!0), d = re(j(new Audio())), f = re(!0), h = re(""), b = re("");
|
|
9447
9452
|
const m = (D) => {
|
|
9448
9453
|
z(b, p(b) + D);
|
|
9449
|
-
}, $ = async (D, U,
|
|
9454
|
+
}, $ = async (D, U, me, _e = []) => {
|
|
9450
9455
|
if (z(h, ""), z(c, !0), z(o, j([
|
|
9451
9456
|
...p(o),
|
|
9452
9457
|
new yt((/* @__PURE__ */ new Date()).getTime(), !0, D, D)
|
|
9453
|
-
])), p(o).length == 2 && (z(a, j(await
|
|
9458
|
+
])), p(o).length == 2 && (z(a, j(await mn.newChat())), z(l, j([...p(l), p(a)])), p(a).messages = p(o)), p(a))
|
|
9454
9459
|
try {
|
|
9455
|
-
await
|
|
9460
|
+
await mn.sendMessage(p(a)._id, D, U, me, _e, m, p(i)), z(a, j(await mn.getChat(p(a)._id))), z(b, ""), z(o, j([
|
|
9456
9461
|
...p(o),
|
|
9457
9462
|
p(a).messages[p(a).messages.length - 1]
|
|
9458
9463
|
])), p(f) || gi.getAudio(p(a).messages[p(a).messages.length - 1].content, p(i)).then((se) => {
|
|
@@ -9469,12 +9474,12 @@ function La(t, e) {
|
|
|
9469
9474
|
p(f) && p(d).pause();
|
|
9470
9475
|
});
|
|
9471
9476
|
const y = () => {
|
|
9472
|
-
p(n) &&
|
|
9473
|
-
z(l, j(D.sort((U,
|
|
9474
|
-
if (U.messages.length === 0 &&
|
|
9477
|
+
p(n) && mn.getChats().then((D) => {
|
|
9478
|
+
z(l, j(D.sort((U, me) => {
|
|
9479
|
+
if (U.messages.length === 0 && me.messages.length === 0) return 0;
|
|
9475
9480
|
if (U.messages.length === 0) return 1;
|
|
9476
|
-
if (
|
|
9477
|
-
const _e = U.messages[U.messages.length - 1], se =
|
|
9481
|
+
if (me.messages.length === 0) return -1;
|
|
9482
|
+
const _e = U.messages[U.messages.length - 1], se = me.messages[me.messages.length - 1], ue = (_e == null ? void 0 : _e.timeStamp) || 0;
|
|
9478
9483
|
return ((se == null ? void 0 : se.timeStamp) || 0) - ue;
|
|
9479
9484
|
})));
|
|
9480
9485
|
});
|
|
@@ -9492,16 +9497,16 @@ function La(t, e) {
|
|
|
9492
9497
|
const se = U.closest(".resize-handle"), ue = U.classList.contains("resize-border-left"), ve = U.classList.contains("resize-border-top"), de = (fe) => {
|
|
9493
9498
|
if (!_) return;
|
|
9494
9499
|
fe.preventDefault();
|
|
9495
|
-
const
|
|
9500
|
+
const Ee = document.querySelector(".chat"), xe = window.innerWidth * 0.75, be = window.innerHeight * 0.9;
|
|
9496
9501
|
if (ue) {
|
|
9497
9502
|
const ke = C - fe.clientX, ce = Math.min(Math.max(x + ke, 300), xe);
|
|
9498
|
-
|
|
9503
|
+
Ee.style.width = `${ce}px`;
|
|
9499
9504
|
} else if (ve) {
|
|
9500
|
-
const ke = E - fe.clientY, ce = Math.min(Math.max(k + ke, 400),
|
|
9501
|
-
|
|
9505
|
+
const ke = E - fe.clientY, ce = Math.min(Math.max(k + ke, 400), be);
|
|
9506
|
+
Ee.style.height = `${ce}px`;
|
|
9502
9507
|
} else if (se) {
|
|
9503
|
-
const ke = C - fe.clientX, ce = E - fe.clientY, ye = Math.min(Math.max(x + ke, 300), xe), Re = Math.min(Math.max(k + ce, 400),
|
|
9504
|
-
|
|
9508
|
+
const ke = C - fe.clientX, ce = E - fe.clientY, ye = Math.min(Math.max(x + ke, 300), xe), Re = Math.min(Math.max(k + ce, 400), be);
|
|
9509
|
+
Ee.style.width = `${ye}px`, Ee.style.height = `${Re}px`;
|
|
9505
9510
|
}
|
|
9506
9511
|
}, Ie = () => {
|
|
9507
9512
|
var fe;
|
|
@@ -9512,7 +9517,7 @@ function La(t, e) {
|
|
|
9512
9517
|
}
|
|
9513
9518
|
fi(async () => {
|
|
9514
9519
|
try {
|
|
9515
|
-
const D = await
|
|
9520
|
+
const D = await Sn.getUsername();
|
|
9516
9521
|
z(s, j(D));
|
|
9517
9522
|
const U = yt.firstMessage(p(i), p(s));
|
|
9518
9523
|
z(o, j([U])), z(a, j(new zt("", "", "", "New Chat", [U]))), z(u, !1);
|
|
@@ -9520,16 +9525,16 @@ function La(t, e) {
|
|
|
9520
9525
|
console.error("Failed to load username", D), z(h, "Failed to load username"), z(u, !1);
|
|
9521
9526
|
}
|
|
9522
9527
|
});
|
|
9523
|
-
var R = ep(),
|
|
9528
|
+
var R = ep(), Y = I(R);
|
|
9524
9529
|
{
|
|
9525
9530
|
var te = (D) => {
|
|
9526
9531
|
var U = Qh();
|
|
9527
9532
|
U.__mousedown = F;
|
|
9528
|
-
var
|
|
9533
|
+
var me = I(U);
|
|
9529
9534
|
{
|
|
9530
9535
|
var _e = (ue) => {
|
|
9531
9536
|
var ve = Wh(), de = I(ve);
|
|
9532
|
-
|
|
9537
|
+
Tn(de, {
|
|
9533
9538
|
icon: "svg-spinners:270-ring-with-bg",
|
|
9534
9539
|
width: "50px",
|
|
9535
9540
|
height: "50px",
|
|
@@ -9539,7 +9544,7 @@ function La(t, e) {
|
|
|
9539
9544
|
var ve = he(), de = oe(ve);
|
|
9540
9545
|
{
|
|
9541
9546
|
var Ie = (fe) => {
|
|
9542
|
-
var
|
|
9547
|
+
var Ee = Xh(), xe = oe(Ee);
|
|
9543
9548
|
Ra(xe, {
|
|
9544
9549
|
get showHistory() {
|
|
9545
9550
|
return p(r);
|
|
@@ -9566,8 +9571,8 @@ function La(t, e) {
|
|
|
9566
9571
|
z(h, j(O));
|
|
9567
9572
|
}
|
|
9568
9573
|
});
|
|
9569
|
-
var
|
|
9570
|
-
|
|
9574
|
+
var be = H(xe, 6), ke = I(be);
|
|
9575
|
+
Tn(ke, {
|
|
9571
9576
|
icon: "hugeicons:resize-field",
|
|
9572
9577
|
width: "25px",
|
|
9573
9578
|
height: "25px",
|
|
@@ -9575,8 +9580,8 @@ function La(t, e) {
|
|
|
9575
9580
|
vFlip: !0,
|
|
9576
9581
|
color: "white",
|
|
9577
9582
|
style: "margin: 2px 0 0 2px;"
|
|
9578
|
-
}), T(
|
|
9579
|
-
var ce = H(
|
|
9583
|
+
}), T(be);
|
|
9584
|
+
var ce = H(be, 2);
|
|
9580
9585
|
sa(ce, {
|
|
9581
9586
|
get show() {
|
|
9582
9587
|
return p(n);
|
|
@@ -9669,7 +9674,7 @@ function La(t, e) {
|
|
|
9669
9674
|
set languageSelected(O) {
|
|
9670
9675
|
z(i, j(O));
|
|
9671
9676
|
}
|
|
9672
|
-
}), w(fe,
|
|
9677
|
+
}), w(fe, Ee);
|
|
9673
9678
|
};
|
|
9674
9679
|
N(
|
|
9675
9680
|
de,
|
|
@@ -9681,17 +9686,17 @@ function La(t, e) {
|
|
|
9681
9686
|
}
|
|
9682
9687
|
w(ue, ve);
|
|
9683
9688
|
};
|
|
9684
|
-
N(
|
|
9689
|
+
N(me, (ue) => {
|
|
9685
9690
|
p(u) ? ue(_e) : ue(se, !1);
|
|
9686
9691
|
});
|
|
9687
9692
|
}
|
|
9688
|
-
T(U),
|
|
9693
|
+
T(U), jn(3, U, () => Cl, () => ({ y: 50, duration: 500 })), w(D, U);
|
|
9689
9694
|
};
|
|
9690
|
-
N(
|
|
9695
|
+
N(Y, (D) => {
|
|
9691
9696
|
p(n) && D(te);
|
|
9692
9697
|
});
|
|
9693
9698
|
}
|
|
9694
|
-
var q = H(
|
|
9699
|
+
var q = H(Y, 2);
|
|
9695
9700
|
q.__click = [Kh, n, r], T(R), L(() => Oe(q, `${`btn ${p(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-1p82do8`)), w(t, R), G();
|
|
9696
9701
|
}
|
|
9697
9702
|
jt(["mousedown", "click"]);
|