akpm-knowledge-base-chat 1.0.37 → 1.0.39
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 +479 -479
- package/package.json +1 -1
package/CDN/akb-chat.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* Version: 1.0.
|
|
1
|
+
/* Version: 1.0.39 */
|
|
2
2
|
var Ca = Object.defineProperty;
|
|
3
3
|
var mi = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
5
5
|
};
|
|
6
6
|
var ja = (t, e, n) => e in t ? Ca(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
7
7
|
var L = (t, e, n) => ja(t, typeof e != "symbol" ? e + "" : e, n), bi = (t, e, n) => e.has(t) || mi("Cannot " + n);
|
|
8
|
-
var
|
|
8
|
+
var Pe = (t, e, n) => (bi(t, e, "read from private field"), n ? n.call(t) : e.get(t)), vr = (t, e, n) => e.has(t) ? mi("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), gr = (t, e, n, r) => (bi(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
|
|
9
9
|
const Aa = "5";
|
|
10
10
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Aa);
|
|
11
|
-
const qr = 1, Br = 2,
|
|
11
|
+
const qr = 1, Br = 2, Wi = 4, Ra = 8, La = 16, Pa = 1, Oa = 2, Xi = 4, Fa = 8, Ma = 16, Da = 4, qa = 1, Ba = 2, Ji = "[", Nr = "[!", Yr = "]", qt = {}, Oe = Symbol();
|
|
12
12
|
function Na(t) {
|
|
13
13
|
return t.endsWith("capture") && t !== "gotpointercapture" && t !== "lostpointercapture";
|
|
14
14
|
}
|
|
@@ -59,7 +59,7 @@ function Va(t) {
|
|
|
59
59
|
return Ga.includes(t);
|
|
60
60
|
}
|
|
61
61
|
const kr = !1;
|
|
62
|
-
var Jn = Array.isArray,
|
|
62
|
+
var Jn = Array.isArray, Wa = Array.prototype.indexOf, Ur = Array.from, On = Object.keys, Fn = Object.defineProperty, $t = Object.getOwnPropertyDescriptor, Qi = Object.getOwnPropertyDescriptors, Xa = Object.prototype, Ja = Array.prototype, Hr = Object.getPrototypeOf;
|
|
63
63
|
function Qa(t) {
|
|
64
64
|
return typeof t == "function";
|
|
65
65
|
}
|
|
@@ -72,7 +72,7 @@ function Mn(t) {
|
|
|
72
72
|
for (var e = 0; e < t.length; e++)
|
|
73
73
|
t[e]();
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const Ne = 2, Ki = 4, mn = 8, Qn = 16, st = 32, Ct = 64, Dn = 128, jt = 256, qn = 512, Te = 1024, vt = 2048, At = 4096, Ke = 8192, Vt = 16384, es = 32768, Kn = 65536, eo = 1 << 17, to = 1 << 19, ts = 1 << 20, ht = Symbol("$state"), ns = Symbol("legacy props"), no = Symbol("");
|
|
76
76
|
function rs(t) {
|
|
77
77
|
return t === this.v;
|
|
78
78
|
}
|
|
@@ -112,11 +112,11 @@ function ho() {
|
|
|
112
112
|
function po() {
|
|
113
113
|
throw new Error("https://svelte.dev/e/state_unsafe_mutation");
|
|
114
114
|
}
|
|
115
|
-
let
|
|
115
|
+
let Wt = !1, vo = !1;
|
|
116
116
|
function go() {
|
|
117
|
-
|
|
117
|
+
Wt = !0;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function Fe(t, e) {
|
|
120
120
|
var n = {
|
|
121
121
|
f: 0,
|
|
122
122
|
// TODO ideally we could skip this altogether, but it causes type errors
|
|
@@ -129,20 +129,20 @@ function Pe(t, e) {
|
|
|
129
129
|
return n;
|
|
130
130
|
}
|
|
131
131
|
function ie(t) {
|
|
132
|
-
return /* @__PURE__ */ is(
|
|
132
|
+
return /* @__PURE__ */ is(Fe(t));
|
|
133
133
|
}
|
|
134
134
|
// @__NO_SIDE_EFFECTS__
|
|
135
135
|
function er(t, e = !1) {
|
|
136
136
|
var r;
|
|
137
|
-
const n =
|
|
138
|
-
return e || (n.equals = Zr),
|
|
137
|
+
const n = Fe(t);
|
|
138
|
+
return e || (n.equals = Zr), Wt && se !== null && se.l !== null && ((r = se.l).s ?? (r.s = [])).push(n), n;
|
|
139
139
|
}
|
|
140
140
|
function wt(t, e = !1) {
|
|
141
141
|
return /* @__PURE__ */ is(/* @__PURE__ */ er(t, e));
|
|
142
142
|
}
|
|
143
143
|
// @__NO_SIDE_EFFECTS__
|
|
144
144
|
function is(t) {
|
|
145
|
-
return ce !== null && ce.f &
|
|
145
|
+
return ce !== null && ce.f & Ne && (et === null ? Co([t]) : et.push(t)), t;
|
|
146
146
|
}
|
|
147
147
|
function mr(t, e) {
|
|
148
148
|
return $(
|
|
@@ -151,19 +151,19 @@ function mr(t, e) {
|
|
|
151
151
|
), e;
|
|
152
152
|
}
|
|
153
153
|
function $(t, e) {
|
|
154
|
-
return ce !== null && !xt && xn() && ce.f & (
|
|
154
|
+
return ce !== null && !xt && xn() && ce.f & (Ne | Qn) && // If the source was created locally within the current derived, then
|
|
155
155
|
// we allow the mutation.
|
|
156
156
|
(et === null || !et.includes(t)) && po(), yr(t, e);
|
|
157
157
|
}
|
|
158
158
|
function yr(t, e) {
|
|
159
|
-
return t.equals(e) || (t.v, t.v = e, t.wv = ys(), ss(t, vt), xn() && Q !== null && Q.f &
|
|
159
|
+
return t.equals(e) || (t.v, t.v = e, t.wv = ys(), ss(t, vt), xn() && Q !== null && Q.f & Te && !(Q.f & (st | Ct)) && (ct === null ? jo([t]) : ct.push(t))), e;
|
|
160
160
|
}
|
|
161
161
|
function ss(t, e) {
|
|
162
162
|
var n = t.reactions;
|
|
163
163
|
if (n !== null)
|
|
164
164
|
for (var r = xn(), i = n.length, s = 0; s < i; s++) {
|
|
165
165
|
var a = n[s], o = a.f;
|
|
166
|
-
o & vt || !r && a === Q || (
|
|
166
|
+
o & vt || !r && a === Q || (Ve(a, e), o & (Te | jt) && (o & Ne ? ss(
|
|
167
167
|
/** @type {Derived} */
|
|
168
168
|
a,
|
|
169
169
|
At
|
|
@@ -176,31 +176,31 @@ function ss(t, e) {
|
|
|
176
176
|
function tr(t) {
|
|
177
177
|
console.warn("https://svelte.dev/e/hydration_mismatch");
|
|
178
178
|
}
|
|
179
|
-
let
|
|
179
|
+
let X = !1;
|
|
180
180
|
function ft(t) {
|
|
181
|
-
|
|
181
|
+
X = t;
|
|
182
182
|
}
|
|
183
183
|
let K;
|
|
184
|
-
function
|
|
184
|
+
function Ze(t) {
|
|
185
185
|
if (t === null)
|
|
186
186
|
throw tr(), qt;
|
|
187
187
|
return K = t;
|
|
188
188
|
}
|
|
189
189
|
function Yt() {
|
|
190
|
-
return
|
|
190
|
+
return Ze(
|
|
191
191
|
/** @type {TemplateNode} */
|
|
192
192
|
/* @__PURE__ */ at(K)
|
|
193
193
|
);
|
|
194
194
|
}
|
|
195
195
|
function I(t) {
|
|
196
|
-
if (
|
|
196
|
+
if (X) {
|
|
197
197
|
if (/* @__PURE__ */ at(K) !== null)
|
|
198
198
|
throw tr(), qt;
|
|
199
199
|
K = t;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
function mo(t = 1) {
|
|
203
|
-
if (
|
|
203
|
+
if (X) {
|
|
204
204
|
for (var e = t, n = K; e--; )
|
|
205
205
|
n = /** @type {TemplateNode} */
|
|
206
206
|
/* @__PURE__ */ at(n);
|
|
@@ -230,10 +230,10 @@ function P(t, e = null, n) {
|
|
|
230
230
|
if (typeof t != "object" || t === null || ht in t)
|
|
231
231
|
return t;
|
|
232
232
|
const r = Hr(t);
|
|
233
|
-
if (r !==
|
|
233
|
+
if (r !== Xa && r !== Ja)
|
|
234
234
|
return t;
|
|
235
|
-
var i = /* @__PURE__ */ new Map(), s = Jn(t), a =
|
|
236
|
-
s && i.set("length",
|
|
235
|
+
var i = /* @__PURE__ */ new Map(), s = Jn(t), a = Fe(0);
|
|
236
|
+
s && i.set("length", Fe(
|
|
237
237
|
/** @type {any[]} */
|
|
238
238
|
t.length
|
|
239
239
|
));
|
|
@@ -245,12 +245,12 @@ function P(t, e = null, n) {
|
|
|
245
245
|
defineProperty(l, c, u) {
|
|
246
246
|
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && uo();
|
|
247
247
|
var d = i.get(c);
|
|
248
|
-
return d === void 0 ? (d =
|
|
248
|
+
return d === void 0 ? (d = Fe(u.value), i.set(c, d)) : $(d, P(u.value, o)), !0;
|
|
249
249
|
},
|
|
250
250
|
deleteProperty(l, c) {
|
|
251
251
|
var u = i.get(c);
|
|
252
252
|
if (u === void 0)
|
|
253
|
-
c in l && i.set(c,
|
|
253
|
+
c in l && i.set(c, Fe(Oe));
|
|
254
254
|
else {
|
|
255
255
|
if (s && typeof c == "string") {
|
|
256
256
|
var d = (
|
|
@@ -259,7 +259,7 @@ function P(t, e = null, n) {
|
|
|
259
259
|
), f = Number(c);
|
|
260
260
|
Number.isInteger(f) && f < d.v && $(d, f);
|
|
261
261
|
}
|
|
262
|
-
$(u,
|
|
262
|
+
$(u, Oe), wi(a);
|
|
263
263
|
}
|
|
264
264
|
return !0;
|
|
265
265
|
},
|
|
@@ -268,9 +268,9 @@ function P(t, e = null, n) {
|
|
|
268
268
|
if (c === ht)
|
|
269
269
|
return t;
|
|
270
270
|
var d = i.get(c), f = c in l;
|
|
271
|
-
if (d === void 0 && (!f || (b = $t(l, c)) != null && b.writable) && (d =
|
|
271
|
+
if (d === void 0 && (!f || (b = $t(l, c)) != null && b.writable) && (d = Fe(P(f ? l[c] : Oe, o)), i.set(c, d)), d !== void 0) {
|
|
272
272
|
var h = p(d);
|
|
273
|
-
return h ===
|
|
273
|
+
return h === Oe ? void 0 : h;
|
|
274
274
|
}
|
|
275
275
|
return Reflect.get(l, c, u);
|
|
276
276
|
},
|
|
@@ -281,7 +281,7 @@ function P(t, e = null, n) {
|
|
|
281
281
|
d && (u.value = p(d));
|
|
282
282
|
} else if (u === void 0) {
|
|
283
283
|
var f = i.get(c), h = f == null ? void 0 : f.v;
|
|
284
|
-
if (f !== void 0 && h !==
|
|
284
|
+
if (f !== void 0 && h !== Oe)
|
|
285
285
|
return {
|
|
286
286
|
enumerable: !0,
|
|
287
287
|
configurable: !0,
|
|
@@ -295,11 +295,11 @@ function P(t, e = null, n) {
|
|
|
295
295
|
var h;
|
|
296
296
|
if (c === ht)
|
|
297
297
|
return !0;
|
|
298
|
-
var u = i.get(c), d = u !== void 0 && u.v !==
|
|
298
|
+
var u = i.get(c), d = u !== void 0 && u.v !== Oe || Reflect.has(l, c);
|
|
299
299
|
if (u !== void 0 || Q !== null && (!d || (h = $t(l, c)) != null && h.writable)) {
|
|
300
|
-
u === void 0 && (u =
|
|
300
|
+
u === void 0 && (u = Fe(d ? P(l[c], o) : Oe), i.set(c, u));
|
|
301
301
|
var f = p(u);
|
|
302
|
-
if (f ===
|
|
302
|
+
if (f === Oe)
|
|
303
303
|
return !1;
|
|
304
304
|
}
|
|
305
305
|
return d;
|
|
@@ -311,9 +311,9 @@ function P(t, e = null, n) {
|
|
|
311
311
|
for (var b = u; b < /** @type {Source<number>} */
|
|
312
312
|
f.v; b += 1) {
|
|
313
313
|
var m = i.get(b + "");
|
|
314
|
-
m !== void 0 ? $(m,
|
|
314
|
+
m !== void 0 ? $(m, Oe) : b in l && (m = Fe(Oe), i.set(b + "", m));
|
|
315
315
|
}
|
|
316
|
-
f === void 0 ? (!h || (C = $t(l, c)) != null && C.writable) && (f =
|
|
316
|
+
f === void 0 ? (!h || (C = $t(l, c)) != null && C.writable) && (f = Fe(void 0), $(f, P(u, o)), i.set(c, f)) : (h = f.v !== Oe, $(f, P(u, o)));
|
|
317
317
|
var S = Reflect.getOwnPropertyDescriptor(l, c);
|
|
318
318
|
if (S != null && S.set && S.set.call(d, u), !h) {
|
|
319
319
|
if (s && typeof c == "string") {
|
|
@@ -331,10 +331,10 @@ function P(t, e = null, n) {
|
|
|
331
331
|
p(a);
|
|
332
332
|
var c = Reflect.ownKeys(l).filter((f) => {
|
|
333
333
|
var h = i.get(f);
|
|
334
|
-
return h === void 0 || h.v !==
|
|
334
|
+
return h === void 0 || h.v !== Oe;
|
|
335
335
|
});
|
|
336
336
|
for (var [u, d] of i)
|
|
337
|
-
d.v !==
|
|
337
|
+
d.v !== Oe && !(u in l) && c.push(u);
|
|
338
338
|
return c;
|
|
339
339
|
},
|
|
340
340
|
setPrototypeOf() {
|
|
@@ -364,7 +364,7 @@ function Ut(t = "") {
|
|
|
364
364
|
return document.createTextNode(t);
|
|
365
365
|
}
|
|
366
366
|
// @__NO_SIDE_EFFECTS__
|
|
367
|
-
function
|
|
367
|
+
function De(t) {
|
|
368
368
|
return as.call(t);
|
|
369
369
|
}
|
|
370
370
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -372,25 +372,25 @@ function at(t) {
|
|
|
372
372
|
return os.call(t);
|
|
373
373
|
}
|
|
374
374
|
function j(t, e) {
|
|
375
|
-
if (!
|
|
376
|
-
return /* @__PURE__ */
|
|
375
|
+
if (!X)
|
|
376
|
+
return /* @__PURE__ */ De(t);
|
|
377
377
|
var n = (
|
|
378
378
|
/** @type {TemplateNode} */
|
|
379
|
-
/* @__PURE__ */
|
|
379
|
+
/* @__PURE__ */ De(K)
|
|
380
380
|
);
|
|
381
381
|
if (n === null)
|
|
382
382
|
n = K.appendChild(Ut());
|
|
383
383
|
else if (e && n.nodeType !== 3) {
|
|
384
384
|
var r = Ut();
|
|
385
|
-
return n == null || n.before(r),
|
|
385
|
+
return n == null || n.before(r), Ze(r), r;
|
|
386
386
|
}
|
|
387
|
-
return
|
|
387
|
+
return Ze(n), n;
|
|
388
388
|
}
|
|
389
389
|
function fe(t, e) {
|
|
390
|
-
if (!
|
|
390
|
+
if (!X) {
|
|
391
391
|
var n = (
|
|
392
392
|
/** @type {DocumentFragment} */
|
|
393
|
-
/* @__PURE__ */
|
|
393
|
+
/* @__PURE__ */ De(
|
|
394
394
|
/** @type {Node} */
|
|
395
395
|
t
|
|
396
396
|
)
|
|
@@ -400,18 +400,18 @@ function fe(t, e) {
|
|
|
400
400
|
return K;
|
|
401
401
|
}
|
|
402
402
|
function B(t, e = 1, n = !1) {
|
|
403
|
-
let r =
|
|
403
|
+
let r = X ? K : t;
|
|
404
404
|
for (var i; e--; )
|
|
405
405
|
i = r, r = /** @type {TemplateNode} */
|
|
406
406
|
/* @__PURE__ */ at(r);
|
|
407
|
-
if (!
|
|
407
|
+
if (!X)
|
|
408
408
|
return r;
|
|
409
409
|
var s = r == null ? void 0 : r.nodeType;
|
|
410
410
|
if (n && s !== 3) {
|
|
411
411
|
var a = Ut();
|
|
412
|
-
return r === null ? i == null || i.after(a) : r.before(a),
|
|
412
|
+
return r === null ? i == null || i.after(a) : r.before(a), Ze(a), a;
|
|
413
413
|
}
|
|
414
|
-
return
|
|
414
|
+
return Ze(r), /** @type {TemplateNode} */
|
|
415
415
|
r;
|
|
416
416
|
}
|
|
417
417
|
function Gr(t) {
|
|
@@ -419,9 +419,9 @@ function Gr(t) {
|
|
|
419
419
|
}
|
|
420
420
|
// @__NO_SIDE_EFFECTS__
|
|
421
421
|
function Ht(t) {
|
|
422
|
-
var e =
|
|
422
|
+
var e = Ne | vt;
|
|
423
423
|
Q === null ? e |= jt : Q.f |= ts;
|
|
424
|
-
var n = ce !== null && ce.f &
|
|
424
|
+
var n = ce !== null && ce.f & Ne ? (
|
|
425
425
|
/** @type {Derived} */
|
|
426
426
|
ce
|
|
427
427
|
) : null;
|
|
@@ -454,7 +454,7 @@ function cs(t) {
|
|
|
454
454
|
t.children = null;
|
|
455
455
|
for (var n = 0; n < e.length; n += 1) {
|
|
456
456
|
var r = e[n];
|
|
457
|
-
r.f &
|
|
457
|
+
r.f & Ne ? Vr(
|
|
458
458
|
/** @type {Derived} */
|
|
459
459
|
r
|
|
460
460
|
) : nt(
|
|
@@ -466,7 +466,7 @@ function cs(t) {
|
|
|
466
466
|
}
|
|
467
467
|
function wo(t) {
|
|
468
468
|
for (var e = t.parent; e !== null; ) {
|
|
469
|
-
if (!(e.f &
|
|
469
|
+
if (!(e.f & Ne))
|
|
470
470
|
return (
|
|
471
471
|
/** @type {Effect} */
|
|
472
472
|
e
|
|
@@ -477,20 +477,20 @@ function wo(t) {
|
|
|
477
477
|
}
|
|
478
478
|
function us(t) {
|
|
479
479
|
var e, n = Q;
|
|
480
|
-
|
|
480
|
+
Ge(wo(t));
|
|
481
481
|
try {
|
|
482
482
|
cs(t), e = Ss(t);
|
|
483
483
|
} finally {
|
|
484
|
-
|
|
484
|
+
Ge(n);
|
|
485
485
|
}
|
|
486
486
|
return e;
|
|
487
487
|
}
|
|
488
488
|
function ds(t) {
|
|
489
|
-
var e = us(t), n = (St || t.f & jt) && t.deps !== null ? At :
|
|
490
|
-
|
|
489
|
+
var e = us(t), n = (St || t.f & jt) && t.deps !== null ? At : Te;
|
|
490
|
+
Ve(t, n), t.equals(e) || (t.v = e, t.wv = ys());
|
|
491
491
|
}
|
|
492
492
|
function Vr(t) {
|
|
493
|
-
cs(t), pn(t, 0),
|
|
493
|
+
cs(t), pn(t, 0), Ve(t, Vt), t.v = t.children = t.deps = t.ctx = t.reactions = null;
|
|
494
494
|
}
|
|
495
495
|
function fs(t) {
|
|
496
496
|
Q === null && ce === null && ao(), ce !== null && ce.f & jt && so(), Jr && io();
|
|
@@ -528,7 +528,7 @@ function Rt(t, e, n, r = !0) {
|
|
|
528
528
|
}
|
|
529
529
|
} else e !== null && sr(a);
|
|
530
530
|
var l = n && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (ts | Dn)) === 0;
|
|
531
|
-
if (!l && !i && r && (s !== null && xo(a, s), ce !== null && ce.f &
|
|
531
|
+
if (!l && !i && r && (s !== null && xo(a, s), ce !== null && ce.f & Ne)) {
|
|
532
532
|
var c = (
|
|
533
533
|
/** @type {Derived} */
|
|
534
534
|
ce
|
|
@@ -539,7 +539,7 @@ function Rt(t, e, n, r = !0) {
|
|
|
539
539
|
}
|
|
540
540
|
function _o(t) {
|
|
541
541
|
const e = Rt(mn, null, !1);
|
|
542
|
-
return
|
|
542
|
+
return Ve(e, Te), e.teardown = t, e;
|
|
543
543
|
}
|
|
544
544
|
function Et(t) {
|
|
545
545
|
fs();
|
|
@@ -555,7 +555,7 @@ function Et(t) {
|
|
|
555
555
|
reaction: ce
|
|
556
556
|
});
|
|
557
557
|
} else {
|
|
558
|
-
var r =
|
|
558
|
+
var r = Xt(t);
|
|
559
559
|
return r;
|
|
560
560
|
}
|
|
561
561
|
}
|
|
@@ -576,7 +576,7 @@ function zo(t) {
|
|
|
576
576
|
}) : (nt(e), r(void 0));
|
|
577
577
|
});
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function Xt(t) {
|
|
580
580
|
return Rt(Ki, t, !1);
|
|
581
581
|
}
|
|
582
582
|
function bn(t, e) {
|
|
@@ -597,7 +597,7 @@ function wn() {
|
|
|
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 &
|
|
600
|
+
n.f & Te && Ve(n, At), Kt(n) && ir(n), e.ran = !1;
|
|
601
601
|
}
|
|
602
602
|
t.l.r2.v = !1;
|
|
603
603
|
}
|
|
@@ -661,7 +661,7 @@ function nt(t, e = !0) {
|
|
|
661
661
|
}
|
|
662
662
|
n = !0;
|
|
663
663
|
}
|
|
664
|
-
vs(t, e && !n), ps(t), pn(t, 0),
|
|
664
|
+
vs(t, e && !n), ps(t), pn(t, 0), Ve(t, Vt);
|
|
665
665
|
var a = t.transitions;
|
|
666
666
|
if (a !== null)
|
|
667
667
|
for (const l of a)
|
|
@@ -676,7 +676,7 @@ function gs(t) {
|
|
|
676
676
|
}
|
|
677
677
|
function Bn(t, e) {
|
|
678
678
|
var n = [];
|
|
679
|
-
|
|
679
|
+
Wr(t, n, !0), ms(n, () => {
|
|
680
680
|
nt(t), e && e();
|
|
681
681
|
});
|
|
682
682
|
}
|
|
@@ -689,14 +689,14 @@ function ms(t, e) {
|
|
|
689
689
|
} else
|
|
690
690
|
e();
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function Wr(t, e, n) {
|
|
693
693
|
if (!(t.f & Ke)) {
|
|
694
694
|
if (t.f ^= Ke, t.transitions !== null)
|
|
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
698
|
var i = r.next, s = (r.f & Kn) !== 0 || (r.f & st) !== 0;
|
|
699
|
-
|
|
699
|
+
Wr(r, e, s ? n : !1), r = i;
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
702
|
}
|
|
@@ -705,7 +705,7 @@ function Nn(t) {
|
|
|
705
705
|
}
|
|
706
706
|
function bs(t, e) {
|
|
707
707
|
if (t.f & Ke) {
|
|
708
|
-
t.f ^= Ke, t.f &
|
|
708
|
+
t.f ^= Ke, t.f & Te || (t.f ^= Te), Kt(t) && (Ve(t, vt), sr(t));
|
|
709
709
|
for (var n = t.first; n !== null; ) {
|
|
710
710
|
var r = n.next, i = (n.f & Kn) !== 0 || (n.f & st) !== 0;
|
|
711
711
|
bs(n, i ? e : !1), n = r;
|
|
@@ -736,7 +736,7 @@ function Eo(t) {
|
|
|
736
736
|
function To() {
|
|
737
737
|
Yn && ws(), Un && xs();
|
|
738
738
|
}
|
|
739
|
-
function
|
|
739
|
+
function Xr(t) {
|
|
740
740
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
741
741
|
}
|
|
742
742
|
const _s = 0, Io = 1;
|
|
@@ -753,14 +753,14 @@ function rt(t) {
|
|
|
753
753
|
ce = t;
|
|
754
754
|
}
|
|
755
755
|
let Q = null;
|
|
756
|
-
function
|
|
756
|
+
function Ge(t) {
|
|
757
757
|
Q = t;
|
|
758
758
|
}
|
|
759
759
|
let et = null;
|
|
760
760
|
function Co(t) {
|
|
761
761
|
et = t;
|
|
762
762
|
}
|
|
763
|
-
let
|
|
763
|
+
let Me = null, Be = 0, ct = null;
|
|
764
764
|
function jo(t) {
|
|
765
765
|
ct = t;
|
|
766
766
|
}
|
|
@@ -769,7 +769,7 @@ function ys() {
|
|
|
769
769
|
return ++ks;
|
|
770
770
|
}
|
|
771
771
|
function xn() {
|
|
772
|
-
return !
|
|
772
|
+
return !Wt || se !== null && se.l === null;
|
|
773
773
|
}
|
|
774
774
|
function Kt(t) {
|
|
775
775
|
var c;
|
|
@@ -795,7 +795,7 @@ function Kt(t) {
|
|
|
795
795
|
), s.wv > t.wv)
|
|
796
796
|
return !0;
|
|
797
797
|
}
|
|
798
|
-
(!r || Q !== null && !St) &&
|
|
798
|
+
(!r || Q !== null && !St) && Ve(t, Te);
|
|
799
799
|
}
|
|
800
800
|
return !1;
|
|
801
801
|
}
|
|
@@ -832,12 +832,12 @@ function zs(t, e, n = 0) {
|
|
|
832
832
|
if (r !== null)
|
|
833
833
|
for (var i = 0; i < r.length; i++) {
|
|
834
834
|
var s = r[i];
|
|
835
|
-
s.f &
|
|
835
|
+
s.f & Ne ? zs(
|
|
836
836
|
/** @type {Derived} */
|
|
837
837
|
s,
|
|
838
838
|
e,
|
|
839
839
|
n + 1
|
|
840
|
-
) : e === s && (n === 0 ?
|
|
840
|
+
) : e === s && (n === 0 ? Ve(s, vt) : s.f & Te && Ve(s, At), sr(
|
|
841
841
|
/** @type {Effect} */
|
|
842
842
|
s
|
|
843
843
|
));
|
|
@@ -845,26 +845,26 @@ function zs(t, e, n = 0) {
|
|
|
845
845
|
}
|
|
846
846
|
function Ss(t) {
|
|
847
847
|
var h;
|
|
848
|
-
var e =
|
|
849
|
-
|
|
850
|
-
null,
|
|
848
|
+
var e = Me, n = Be, r = ct, i = ce, s = St, a = et, o = se, l = xt, c = t.f;
|
|
849
|
+
Me = /** @type {null | Value[]} */
|
|
850
|
+
null, Be = 0, ct = null, ce = c & (st | Ct) ? null : t, St = !Bt && (c & jt) !== 0, et = null, se = t.ctx, xt = !1, Hn++;
|
|
851
851
|
try {
|
|
852
852
|
var u = (
|
|
853
853
|
/** @type {Function} */
|
|
854
854
|
(0, t.fn)()
|
|
855
855
|
), d = t.deps;
|
|
856
|
-
if (
|
|
856
|
+
if (Me !== null) {
|
|
857
857
|
var f;
|
|
858
|
-
if (pn(t,
|
|
859
|
-
for (d.length =
|
|
860
|
-
d[
|
|
858
|
+
if (pn(t, Be), d !== null && Be > 0)
|
|
859
|
+
for (d.length = Be + Me.length, f = 0; f < Me.length; f++)
|
|
860
|
+
d[Be + f] = Me[f];
|
|
861
861
|
else
|
|
862
|
-
t.deps = d =
|
|
862
|
+
t.deps = d = Me;
|
|
863
863
|
if (!St)
|
|
864
|
-
for (f =
|
|
864
|
+
for (f = Be; f < d.length; f++)
|
|
865
865
|
((h = d[f]).reactions ?? (h.reactions = [])).push(t);
|
|
866
|
-
} else d !== null &&
|
|
867
|
-
if (xn() && ct !== null && !(t.f & (
|
|
866
|
+
} else d !== null && Be < d.length && (pn(t, Be), d.length = Be);
|
|
867
|
+
if (xn() && ct !== null && !(t.f & (Ne | At | vt)))
|
|
868
868
|
for (f = 0; f < /** @type {Source[]} */
|
|
869
869
|
ct.length; f++)
|
|
870
870
|
zs(
|
|
@@ -874,22 +874,22 @@ function Ss(t) {
|
|
|
874
874
|
);
|
|
875
875
|
return i !== null && Hn++, u;
|
|
876
876
|
} finally {
|
|
877
|
-
|
|
877
|
+
Me = e, Be = n, ct = r, ce = i, St = s, et = a, se = o, xt = l;
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
function Lo(t, e) {
|
|
881
881
|
let n = e.reactions;
|
|
882
882
|
if (n !== null) {
|
|
883
|
-
var r =
|
|
883
|
+
var r = Wa.call(n, t);
|
|
884
884
|
if (r !== -1) {
|
|
885
885
|
var i = n.length - 1;
|
|
886
886
|
i === 0 ? n = e.reactions = null : (n[r] = n[i], n.pop());
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
|
-
n === null && e.f &
|
|
889
|
+
n === null && e.f & Ne && // 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
|
-
(
|
|
892
|
+
(Me === null || !Me.includes(e)) && (Ve(e, At), e.f & (jt | qn) || (e.f ^= qn), pn(
|
|
893
893
|
/** @type {Derived} **/
|
|
894
894
|
e,
|
|
895
895
|
0
|
|
@@ -904,7 +904,7 @@ function pn(t, e) {
|
|
|
904
904
|
function ir(t) {
|
|
905
905
|
var e = t.f;
|
|
906
906
|
if (!(e & Vt)) {
|
|
907
|
-
|
|
907
|
+
Ve(t, Te);
|
|
908
908
|
var n = Q, r = se;
|
|
909
909
|
Q = t;
|
|
910
910
|
try {
|
|
@@ -943,7 +943,7 @@ function Es(t) {
|
|
|
943
943
|
try {
|
|
944
944
|
for (var r = 0; r < e; r++) {
|
|
945
945
|
var i = t[r];
|
|
946
|
-
i.f &
|
|
946
|
+
i.f & Te || (i.f ^= Te);
|
|
947
947
|
var s = [];
|
|
948
948
|
Ts(i, s), Po(s);
|
|
949
949
|
}
|
|
@@ -977,8 +977,8 @@ function sr(t) {
|
|
|
977
977
|
e = e.parent;
|
|
978
978
|
var n = e.f;
|
|
979
979
|
if (n & (Ct | st)) {
|
|
980
|
-
if (!(n &
|
|
981
|
-
e.f ^=
|
|
980
|
+
if (!(n & Te)) return;
|
|
981
|
+
e.f ^= Te;
|
|
982
982
|
}
|
|
983
983
|
}
|
|
984
984
|
zt.push(e);
|
|
@@ -986,11 +986,11 @@ function sr(t) {
|
|
|
986
986
|
function Ts(t, e) {
|
|
987
987
|
var n = t.first, r = [];
|
|
988
988
|
e: for (; n !== null; ) {
|
|
989
|
-
var i = n.f, s = (i & st) !== 0, a = s && (i &
|
|
989
|
+
var i = n.f, s = (i & st) !== 0, a = s && (i & Te) !== 0, o = n.next;
|
|
990
990
|
if (!a && !(i & Ke))
|
|
991
991
|
if (i & mn) {
|
|
992
992
|
if (s)
|
|
993
|
-
n.f ^=
|
|
993
|
+
n.f ^= Te;
|
|
994
994
|
else
|
|
995
995
|
try {
|
|
996
996
|
Kt(n) && ir(n);
|
|
@@ -1038,7 +1038,7 @@ async function Fo() {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
function p(t) {
|
|
1040
1040
|
var u;
|
|
1041
|
-
var e = t.f, n = (e &
|
|
1041
|
+
var e = t.f, n = (e & Ne) !== 0;
|
|
1042
1042
|
if (n && e & Vt) {
|
|
1043
1043
|
var r = us(
|
|
1044
1044
|
/** @type {Derived} */
|
|
@@ -1052,14 +1052,14 @@ function p(t) {
|
|
|
1052
1052
|
if (ce !== null && !xt) {
|
|
1053
1053
|
et !== null && et.includes(t) && ho();
|
|
1054
1054
|
var i = ce.deps;
|
|
1055
|
-
t.rv < Hn && (t.rv = Hn,
|
|
1055
|
+
t.rv < Hn && (t.rv = Hn, Me === null && i !== null && i[Be] === t ? Be++ : Me === null ? Me = [t] : Me.push(t));
|
|
1056
1056
|
} else if (n && /** @type {Derived} */
|
|
1057
1057
|
t.deps === null)
|
|
1058
1058
|
for (var s = (
|
|
1059
1059
|
/** @type {Derived} */
|
|
1060
1060
|
t
|
|
1061
1061
|
), a = s.parent, o = s; a !== null; )
|
|
1062
|
-
if (a.f &
|
|
1062
|
+
if (a.f & Ne) {
|
|
1063
1063
|
var l = (
|
|
1064
1064
|
/** @type {Derived} */
|
|
1065
1065
|
a
|
|
@@ -1085,7 +1085,7 @@ function it(t) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
1087
|
const Mo = -7169;
|
|
1088
|
-
function
|
|
1088
|
+
function Ve(t, e) {
|
|
1089
1089
|
t.f = t.f & Mo | e;
|
|
1090
1090
|
}
|
|
1091
1091
|
function Tr(t, e = 1) {
|
|
@@ -1101,11 +1101,11 @@ function U(t, e = !1, n) {
|
|
|
1101
1101
|
s: t,
|
|
1102
1102
|
x: null,
|
|
1103
1103
|
l: null
|
|
1104
|
-
},
|
|
1104
|
+
}, Wt && !e && (se.l = {
|
|
1105
1105
|
s: null,
|
|
1106
1106
|
u: null,
|
|
1107
1107
|
r1: [],
|
|
1108
|
-
r2:
|
|
1108
|
+
r2: Fe(!1)
|
|
1109
1109
|
});
|
|
1110
1110
|
}
|
|
1111
1111
|
function H(t) {
|
|
@@ -1119,10 +1119,10 @@ function H(t) {
|
|
|
1119
1119
|
try {
|
|
1120
1120
|
for (var i = 0; i < a.length; i++) {
|
|
1121
1121
|
var s = a[i];
|
|
1122
|
-
|
|
1122
|
+
Ge(s.effect), rt(s.reaction), Xt(s.fn);
|
|
1123
1123
|
}
|
|
1124
1124
|
} finally {
|
|
1125
|
-
|
|
1125
|
+
Ge(n), rt(r);
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
1128
|
se = e.p, e.m = !0;
|
|
@@ -1173,7 +1173,7 @@ function Do(t, e) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
}
|
|
1175
1175
|
function qo(t) {
|
|
1176
|
-
|
|
1176
|
+
X && /* @__PURE__ */ De(t) !== null && Gr(t);
|
|
1177
1177
|
}
|
|
1178
1178
|
let zi = !1;
|
|
1179
1179
|
function Is() {
|
|
@@ -1197,11 +1197,11 @@ function Is() {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
function Cs(t) {
|
|
1199
1199
|
var e = ce, n = Q;
|
|
1200
|
-
rt(null),
|
|
1200
|
+
rt(null), Ge(null);
|
|
1201
1201
|
try {
|
|
1202
1202
|
return t();
|
|
1203
1203
|
} finally {
|
|
1204
|
-
rt(e),
|
|
1204
|
+
rt(e), Ge(n);
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
function js(t, e, n, r = n) {
|
|
@@ -1263,7 +1263,7 @@ function on(t) {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
});
|
|
1265
1265
|
var u = ce, d = Q;
|
|
1266
|
-
rt(null),
|
|
1266
|
+
rt(null), Ge(null);
|
|
1267
1267
|
try {
|
|
1268
1268
|
for (var f, h = []; s !== null; ) {
|
|
1269
1269
|
var b = s.assignedSlot || s.parentNode || /** @type {any} */
|
|
@@ -1292,7 +1292,7 @@ function on(t) {
|
|
|
1292
1292
|
throw f;
|
|
1293
1293
|
}
|
|
1294
1294
|
} finally {
|
|
1295
|
-
t.__root = e, delete t.currentTarget, rt(u),
|
|
1295
|
+
t.__root = e, delete t.currentTarget, rt(u), Ge(d);
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
@@ -1311,10 +1311,10 @@ function tt(t, e) {
|
|
|
1311
1311
|
function z(t, e) {
|
|
1312
1312
|
var n = (e & qa) !== 0, r = (e & Ba) !== 0, i, s = !t.startsWith("<!>");
|
|
1313
1313
|
return () => {
|
|
1314
|
-
if (
|
|
1314
|
+
if (X)
|
|
1315
1315
|
return tt(K, null), K;
|
|
1316
1316
|
i === void 0 && (i = Qr(s ? t : "<!>" + t), n || (i = /** @type {Node} */
|
|
1317
|
-
/* @__PURE__ */
|
|
1317
|
+
/* @__PURE__ */ De(i)));
|
|
1318
1318
|
var a = (
|
|
1319
1319
|
/** @type {TemplateNode} */
|
|
1320
1320
|
r ? document.importNode(i, !0) : i.cloneNode(!0)
|
|
@@ -1322,7 +1322,7 @@ function z(t, e) {
|
|
|
1322
1322
|
if (n) {
|
|
1323
1323
|
var o = (
|
|
1324
1324
|
/** @type {TemplateNode} */
|
|
1325
|
-
/* @__PURE__ */
|
|
1325
|
+
/* @__PURE__ */ De(a)
|
|
1326
1326
|
), l = (
|
|
1327
1327
|
/** @type {TemplateNode} */
|
|
1328
1328
|
a.lastChild
|
|
@@ -1337,7 +1337,7 @@ function z(t, e) {
|
|
|
1337
1337
|
function No(t, e, n = "svg") {
|
|
1338
1338
|
var r = !t.startsWith("<!>"), i = `<${n}>${r ? t : "<!>" + t}</${n}>`, s;
|
|
1339
1339
|
return () => {
|
|
1340
|
-
if (
|
|
1340
|
+
if (X)
|
|
1341
1341
|
return tt(K, null), K;
|
|
1342
1342
|
if (!s) {
|
|
1343
1343
|
var a = (
|
|
@@ -1345,10 +1345,10 @@ function No(t, e, n = "svg") {
|
|
|
1345
1345
|
Qr(i)
|
|
1346
1346
|
), o = (
|
|
1347
1347
|
/** @type {Element} */
|
|
1348
|
-
/* @__PURE__ */
|
|
1348
|
+
/* @__PURE__ */ De(a)
|
|
1349
1349
|
);
|
|
1350
1350
|
s = /** @type {Element} */
|
|
1351
|
-
/* @__PURE__ */
|
|
1351
|
+
/* @__PURE__ */ De(o);
|
|
1352
1352
|
}
|
|
1353
1353
|
var l = (
|
|
1354
1354
|
/** @type {TemplateNode} */
|
|
@@ -1357,14 +1357,14 @@ function No(t, e, n = "svg") {
|
|
|
1357
1357
|
return tt(l, l), l;
|
|
1358
1358
|
};
|
|
1359
1359
|
}
|
|
1360
|
-
function
|
|
1361
|
-
if (
|
|
1360
|
+
function me() {
|
|
1361
|
+
if (X)
|
|
1362
1362
|
return tt(K, null), K;
|
|
1363
1363
|
var t = document.createDocumentFragment(), e = document.createComment(""), n = Ut();
|
|
1364
1364
|
return t.append(e, n), tt(e, n), t;
|
|
1365
1365
|
}
|
|
1366
1366
|
function x(t, e) {
|
|
1367
|
-
if (
|
|
1367
|
+
if (X) {
|
|
1368
1368
|
Q.nodes_end = K, Yt();
|
|
1369
1369
|
return;
|
|
1370
1370
|
}
|
|
@@ -1383,18 +1383,18 @@ function Ls(t, e) {
|
|
|
1383
1383
|
}
|
|
1384
1384
|
function Yo(t, e) {
|
|
1385
1385
|
Sr(), e.intro = e.intro ?? !1;
|
|
1386
|
-
const n = e.target, r =
|
|
1386
|
+
const n = e.target, r = X, i = K;
|
|
1387
1387
|
try {
|
|
1388
1388
|
for (var s = (
|
|
1389
1389
|
/** @type {TemplateNode} */
|
|
1390
|
-
/* @__PURE__ */
|
|
1390
|
+
/* @__PURE__ */ De(n)
|
|
1391
1391
|
); s && (s.nodeType !== 8 || /** @type {Comment} */
|
|
1392
1392
|
s.data !== Ji); )
|
|
1393
1393
|
s = /** @type {TemplateNode} */
|
|
1394
1394
|
/* @__PURE__ */ at(s);
|
|
1395
1395
|
if (!s)
|
|
1396
1396
|
throw qt;
|
|
1397
|
-
ft(!0),
|
|
1397
|
+
ft(!0), Ze(
|
|
1398
1398
|
/** @type {Comment} */
|
|
1399
1399
|
s
|
|
1400
1400
|
), Yt();
|
|
@@ -1409,7 +1409,7 @@ function Yo(t, e) {
|
|
|
1409
1409
|
return e.recover === !1 && lo(), Sr(), Gr(n), ft(!1), Ls(t, e);
|
|
1410
1410
|
throw a;
|
|
1411
1411
|
} finally {
|
|
1412
|
-
ft(r),
|
|
1412
|
+
ft(r), Ze(i);
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
1415
|
const Dt = /* @__PURE__ */ new Map();
|
|
@@ -1439,11 +1439,11 @@ function Ps(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
|
|
|
1439
1439
|
);
|
|
1440
1440
|
f.c = s;
|
|
1441
1441
|
}
|
|
1442
|
-
i && (r.$$events = i),
|
|
1442
|
+
i && (r.$$events = i), X && tt(
|
|
1443
1443
|
/** @type {TemplateNode} */
|
|
1444
1444
|
d,
|
|
1445
1445
|
null
|
|
1446
|
-
), jr = a, c = t(d, r) || {}, jr = !0,
|
|
1446
|
+
), jr = a, c = t(d, r) || {}, jr = !0, X && (Q.nodes_end = K), s && H();
|
|
1447
1447
|
}), () => {
|
|
1448
1448
|
var b;
|
|
1449
1449
|
for (var f of o) {
|
|
@@ -1465,19 +1465,19 @@ function Uo(t, e) {
|
|
|
1465
1465
|
return n ? (Ar.delete(t), n(e)) : Promise.resolve();
|
|
1466
1466
|
}
|
|
1467
1467
|
function q(t, e, n = !1) {
|
|
1468
|
-
|
|
1469
|
-
var r = t, i = null, s = null, a =
|
|
1468
|
+
X && Yt();
|
|
1469
|
+
var r = t, i = null, s = null, a = Oe, o = n ? Kn : 0, l = !1;
|
|
1470
1470
|
const c = (d, f = !0) => {
|
|
1471
1471
|
l = !0, u(f, d);
|
|
1472
1472
|
}, u = (d, f) => {
|
|
1473
1473
|
if (a === (a = d)) return;
|
|
1474
1474
|
let h = !1;
|
|
1475
|
-
if (
|
|
1475
|
+
if (X) {
|
|
1476
1476
|
const b = (
|
|
1477
1477
|
/** @type {Comment} */
|
|
1478
1478
|
r.data === Nr
|
|
1479
1479
|
);
|
|
1480
|
-
!!a === b && (r = zr(),
|
|
1480
|
+
!!a === b && (r = zr(), Ze(r), ft(!1), h = !0);
|
|
1481
1481
|
}
|
|
1482
1482
|
a ? (i ? Nn(i) : f && (i = Zt(() => f(r))), s && Bn(s, () => {
|
|
1483
1483
|
s = null;
|
|
@@ -1487,14 +1487,14 @@ function q(t, e, n = !1) {
|
|
|
1487
1487
|
};
|
|
1488
1488
|
nr(() => {
|
|
1489
1489
|
l = !1, e(c), l || u(null, null);
|
|
1490
|
-
}, o),
|
|
1490
|
+
}, o), X && (r = K);
|
|
1491
1491
|
}
|
|
1492
|
-
function
|
|
1492
|
+
function Ie(t, e) {
|
|
1493
1493
|
return e;
|
|
1494
1494
|
}
|
|
1495
1495
|
function Ho(t, e, n, r) {
|
|
1496
1496
|
for (var i = [], s = e.length, a = 0; a < s; a++)
|
|
1497
|
-
|
|
1497
|
+
Wr(e[a].e, i, !0);
|
|
1498
1498
|
var o = s > 0 && i.length === 0 && n !== null;
|
|
1499
1499
|
if (o) {
|
|
1500
1500
|
var l = (
|
|
@@ -1514,19 +1514,19 @@ function Ho(t, e, n, r) {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
});
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1518
|
-
var a = t, o = { flags: e, items: /* @__PURE__ */ new Map(), first: null }, l = (e &
|
|
1517
|
+
function Ce(t, e, n, r, i, s = null) {
|
|
1518
|
+
var a = t, o = { flags: e, items: /* @__PURE__ */ new Map(), first: null }, l = (e & Wi) !== 0;
|
|
1519
1519
|
if (l) {
|
|
1520
1520
|
var c = (
|
|
1521
1521
|
/** @type {Element} */
|
|
1522
1522
|
t
|
|
1523
1523
|
);
|
|
1524
|
-
a =
|
|
1524
|
+
a = X ? Ze(
|
|
1525
1525
|
/** @type {Comment | Text} */
|
|
1526
|
-
/* @__PURE__ */
|
|
1526
|
+
/* @__PURE__ */ De(c)
|
|
1527
1527
|
) : c.appendChild(Ut());
|
|
1528
1528
|
}
|
|
1529
|
-
|
|
1529
|
+
X && Yt();
|
|
1530
1530
|
var u = null, d = !1, f = /* @__PURE__ */ ls(() => {
|
|
1531
1531
|
var h = n();
|
|
1532
1532
|
return Jn(h) ? h : h == null ? [] : Ur(h);
|
|
@@ -1537,14 +1537,14 @@ function Ie(t, e, n, r, i, s = null) {
|
|
|
1537
1537
|
return;
|
|
1538
1538
|
d = b === 0;
|
|
1539
1539
|
let m = !1;
|
|
1540
|
-
if (
|
|
1540
|
+
if (X) {
|
|
1541
1541
|
var S = (
|
|
1542
1542
|
/** @type {Comment} */
|
|
1543
1543
|
a.data === Nr
|
|
1544
1544
|
);
|
|
1545
|
-
S !== (b === 0) && (a = zr(),
|
|
1545
|
+
S !== (b === 0) && (a = zr(), Ze(a), ft(!1), m = !0);
|
|
1546
1546
|
}
|
|
1547
|
-
if (
|
|
1547
|
+
if (X) {
|
|
1548
1548
|
for (var k = null, _, C = 0; C < b; C++) {
|
|
1549
1549
|
if (K.nodeType === 8 && /** @type {Comment} */
|
|
1550
1550
|
K.data === Yr) {
|
|
@@ -1565,9 +1565,9 @@ function Ie(t, e, n, r, i, s = null) {
|
|
|
1565
1565
|
e
|
|
1566
1566
|
), o.items.set(y, _), k = _;
|
|
1567
1567
|
}
|
|
1568
|
-
b > 0 &&
|
|
1568
|
+
b > 0 && Ze(zr());
|
|
1569
1569
|
}
|
|
1570
|
-
if (!
|
|
1570
|
+
if (!X) {
|
|
1571
1571
|
var w = (
|
|
1572
1572
|
/** @type {Effect} */
|
|
1573
1573
|
ce
|
|
@@ -1585,7 +1585,7 @@ function Ie(t, e, n, r, i, s = null) {
|
|
|
1585
1585
|
s !== null && (b === 0 ? u ? Nn(u) : u = Zt(() => s(a)) : u !== null && Bn(u, () => {
|
|
1586
1586
|
u = null;
|
|
1587
1587
|
})), m && ft(!0), p(f);
|
|
1588
|
-
}),
|
|
1588
|
+
}), X && (a = K);
|
|
1589
1589
|
}
|
|
1590
1590
|
function Zo(t, e, n, r, i, s, a, o) {
|
|
1591
1591
|
var le, de, ee, oe;
|
|
@@ -1617,12 +1617,12 @@ function Zo(t, e, n, r, i, s, a, o) {
|
|
|
1617
1617
|
if (k.length < _.length) {
|
|
1618
1618
|
var R = _[0], F;
|
|
1619
1619
|
m = R.prev;
|
|
1620
|
-
var
|
|
1620
|
+
var W = k[0], ae = k[k.length - 1];
|
|
1621
1621
|
for (F = 0; F < k.length; F += 1)
|
|
1622
1622
|
Si(k[F], R, n);
|
|
1623
1623
|
for (F = 0; F < _.length; F += 1)
|
|
1624
1624
|
b.delete(_[F]);
|
|
1625
|
-
bt(e,
|
|
1625
|
+
bt(e, W.prev, ae.next), bt(e, m, W), bt(e, ae, R), h = R, m = ae, w -= 1, k = [], _ = [];
|
|
1626
1626
|
} else
|
|
1627
1627
|
b.delete(y), Si(y, h, n), bt(e, y.prev, y.next), bt(e, y, m === null ? e.first : m.next), bt(e, m, y), m = y;
|
|
1628
1628
|
continue;
|
|
@@ -1640,14 +1640,14 @@ function Zo(t, e, n, r, i, s, a, o) {
|
|
|
1640
1640
|
(s || !(h.e.f & Ke)) && M.push(h), h = h.next;
|
|
1641
1641
|
var N = M.length;
|
|
1642
1642
|
if (N > 0) {
|
|
1643
|
-
var
|
|
1643
|
+
var ve = i & Wi && u === 0 ? n : null;
|
|
1644
1644
|
if (l) {
|
|
1645
1645
|
for (w = 0; w < N; w += 1)
|
|
1646
1646
|
(ee = M[w].a) == null || ee.measure();
|
|
1647
1647
|
for (w = 0; w < N; w += 1)
|
|
1648
1648
|
(oe = M[w].a) == null || oe.fix();
|
|
1649
1649
|
}
|
|
1650
|
-
Ho(e, M,
|
|
1650
|
+
Ho(e, M, ve, d);
|
|
1651
1651
|
}
|
|
1652
1652
|
}
|
|
1653
1653
|
l && Qt(() => {
|
|
@@ -1665,7 +1665,7 @@ function Go(t, e, n, r) {
|
|
|
1665
1665
|
) : t.i = n;
|
|
1666
1666
|
}
|
|
1667
1667
|
function Os(t, e, n, r, i, s, a, o, l, c) {
|
|
1668
|
-
var u = (l & qr) !== 0, d = (l & La) === 0, f = u ? d ? /* @__PURE__ */ er(i) :
|
|
1668
|
+
var u = (l & qr) !== 0, d = (l & La) === 0, f = u ? d ? /* @__PURE__ */ er(i) : Fe(i) : i, h = l & Br ? Fe(a) : a, b = {
|
|
1669
1669
|
i: h,
|
|
1670
1670
|
v: f,
|
|
1671
1671
|
k: s,
|
|
@@ -1676,7 +1676,7 @@ function Os(t, e, n, r, i, s, a, o, l, c) {
|
|
|
1676
1676
|
next: r
|
|
1677
1677
|
};
|
|
1678
1678
|
try {
|
|
1679
|
-
return b.e = Zt(() => o(t, f, h),
|
|
1679
|
+
return b.e = Zt(() => o(t, f, h), X), b.e.prev = n && n.e, b.e.next = r && r.e, n === null ? e.first = b : (n.next = b, n.e.next = b.e), r !== null && (r.prev = b, r.e.prev = b.e), b;
|
|
1680
1680
|
} finally {
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
@@ -1705,11 +1705,11 @@ function Rr(t, e, n, r, i) {
|
|
|
1705
1705
|
var s = t, a = "", o;
|
|
1706
1706
|
nr(() => {
|
|
1707
1707
|
if (a === (a = e() ?? "")) {
|
|
1708
|
-
|
|
1708
|
+
X && Yt();
|
|
1709
1709
|
return;
|
|
1710
1710
|
}
|
|
1711
1711
|
o !== void 0 && (nt(o), o = void 0), a !== "" && (o = Zt(() => {
|
|
1712
|
-
if (
|
|
1712
|
+
if (X) {
|
|
1713
1713
|
K.data;
|
|
1714
1714
|
for (var l = Yt(), c = l; l !== null && (l.nodeType !== 8 || /** @type {Comment} */
|
|
1715
1715
|
l.data !== ""); )
|
|
@@ -1717,23 +1717,23 @@ function Rr(t, e, n, r, i) {
|
|
|
1717
1717
|
/* @__PURE__ */ at(l);
|
|
1718
1718
|
if (l === null)
|
|
1719
1719
|
throw tr(), qt;
|
|
1720
|
-
tt(K, c), s =
|
|
1720
|
+
tt(K, c), s = Ze(l);
|
|
1721
1721
|
return;
|
|
1722
1722
|
}
|
|
1723
1723
|
var u = a + "";
|
|
1724
1724
|
n && (u = `<svg>${u}</svg>`);
|
|
1725
1725
|
var d = Qr(u);
|
|
1726
1726
|
if ((n || r) && (d = /** @type {Element} */
|
|
1727
|
-
/* @__PURE__ */
|
|
1727
|
+
/* @__PURE__ */ De(d)), tt(
|
|
1728
1728
|
/** @type {TemplateNode} */
|
|
1729
|
-
/* @__PURE__ */
|
|
1729
|
+
/* @__PURE__ */ De(d),
|
|
1730
1730
|
/** @type {TemplateNode} */
|
|
1731
1731
|
d.lastChild
|
|
1732
1732
|
), n || r)
|
|
1733
|
-
for (; /* @__PURE__ */
|
|
1733
|
+
for (; /* @__PURE__ */ De(d); )
|
|
1734
1734
|
s.before(
|
|
1735
1735
|
/** @type {Node} */
|
|
1736
|
-
/* @__PURE__ */
|
|
1736
|
+
/* @__PURE__ */ De(d)
|
|
1737
1737
|
);
|
|
1738
1738
|
else
|
|
1739
1739
|
s.before(d);
|
|
@@ -1775,8 +1775,8 @@ function Vo() {
|
|
|
1775
1775
|
function Ms(t) {
|
|
1776
1776
|
return typeof t == "object" ? Vo(t) : t ?? "";
|
|
1777
1777
|
}
|
|
1778
|
-
function
|
|
1779
|
-
if (
|
|
1778
|
+
function Wo(t) {
|
|
1779
|
+
if (X) {
|
|
1780
1780
|
var e = !1, n = () => {
|
|
1781
1781
|
if (!e) {
|
|
1782
1782
|
if (e = !0, t.hasAttribute("value")) {
|
|
@@ -1792,7 +1792,7 @@ function Xo(t) {
|
|
|
1792
1792
|
t.__on_r = n, Eo(n), Is();
|
|
1793
1793
|
}
|
|
1794
1794
|
}
|
|
1795
|
-
function
|
|
1795
|
+
function Xo(t, e) {
|
|
1796
1796
|
var n = t.__attributes ?? (t.__attributes = {});
|
|
1797
1797
|
n.value === (n.value = // treat null and undefined the same for the initial value
|
|
1798
1798
|
e ?? void 0) || // @ts-expect-error
|
|
@@ -1804,7 +1804,7 @@ function Jo(t, e) {
|
|
|
1804
1804
|
}
|
|
1805
1805
|
function D(t, e, n, r) {
|
|
1806
1806
|
var i = t.__attributes ?? (t.__attributes = {});
|
|
1807
|
-
|
|
1807
|
+
X && (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[no] = n), n == null ? t.removeAttribute(e) : typeof n != "string" && Ds(t).includes(e) ? t[e] = n : t.setAttribute(e, n));
|
|
1808
1808
|
}
|
|
1809
1809
|
function $i(t, e, n, r, i = !1, s = !1, a = !1) {
|
|
1810
1810
|
var o = e || {}, l = t.tagName === "OPTION";
|
|
@@ -1879,7 +1879,7 @@ function $i(t, e, n, r, i = !1, s = !1, a = !1) {
|
|
|
1879
1879
|
}
|
|
1880
1880
|
} else
|
|
1881
1881
|
t.removeAttribute(k);
|
|
1882
|
-
else S || u.includes(m) && (s || typeof _ != "string") ? t[m] = _ : typeof _ != "function" && (
|
|
1882
|
+
else S || u.includes(m) && (s || typeof _ != "string") ? t[m] = _ : typeof _ != "function" && (X && (m === "src" || m === "href" || m === "srcset") || D(t, m, _));
|
|
1883
1883
|
}
|
|
1884
1884
|
k === "style" && "__styles" in t && (t.__styles = {});
|
|
1885
1885
|
}
|
|
@@ -1902,7 +1902,7 @@ function Ds(t) {
|
|
|
1902
1902
|
}
|
|
1903
1903
|
function Qe(t, e, n) {
|
|
1904
1904
|
var r = t.__className, i = Qo(e, n);
|
|
1905
|
-
|
|
1905
|
+
X && t.className === i ? t.__className = i : (r !== i || X && t.className !== i) && (e == null && !n ? t.removeAttribute("class") : t.className = i, t.__className = i);
|
|
1906
1906
|
}
|
|
1907
1907
|
function Qo(t, e) {
|
|
1908
1908
|
return (t ?? "") + (e ? " " + e : "");
|
|
@@ -1972,14 +1972,14 @@ function _n(t, e, n, r) {
|
|
|
1972
1972
|
var i = (t & Da) !== 0, s = "both", a, o = e.inert, l = e.style.overflow, c, u;
|
|
1973
1973
|
function d() {
|
|
1974
1974
|
var S = ce, k = Q;
|
|
1975
|
-
rt(null),
|
|
1975
|
+
rt(null), Ge(null);
|
|
1976
1976
|
try {
|
|
1977
1977
|
return a ?? (a = n()(e, (r == null ? void 0 : r()) ?? /** @type {P} */
|
|
1978
1978
|
{}, {
|
|
1979
1979
|
direction: s
|
|
1980
1980
|
}));
|
|
1981
1981
|
} finally {
|
|
1982
|
-
rt(S),
|
|
1982
|
+
rt(S), Ge(k);
|
|
1983
1983
|
}
|
|
1984
1984
|
}
|
|
1985
1985
|
var f = {
|
|
@@ -2012,7 +2012,7 @@ function _n(t, e, n, r) {
|
|
|
2012
2012
|
;
|
|
2013
2013
|
b = !m || (m.f & es) !== 0;
|
|
2014
2014
|
}
|
|
2015
|
-
b &&
|
|
2015
|
+
b && Xt(() => {
|
|
2016
2016
|
it(() => f.in());
|
|
2017
2017
|
});
|
|
2018
2018
|
}
|
|
@@ -2102,7 +2102,7 @@ function rl(t, e, n = e) {
|
|
|
2102
2102
|
}
|
|
2103
2103
|
}), // If we are hydrating and the value has since changed,
|
|
2104
2104
|
// then use the updated value from the input instead.
|
|
2105
|
-
(
|
|
2105
|
+
(X && t.defaultValue !== t.value || // If defaultValue is set, then value == defaultValue
|
|
2106
2106
|
// TODO Svelte 6: remove input.value check and set to empty string?
|
|
2107
2107
|
it(e) == null && t.value) && n(br(t) ? wr(t.value) : t.value), Jt(() => {
|
|
2108
2108
|
var i = e();
|
|
@@ -2129,7 +2129,7 @@ function Bs(t, e, n) {
|
|
|
2129
2129
|
(!n || e !== void 0) && (t.selectedIndex = -1);
|
|
2130
2130
|
}
|
|
2131
2131
|
function il(t, e) {
|
|
2132
|
-
|
|
2132
|
+
Xt(() => {
|
|
2133
2133
|
var n = new MutationObserver(() => {
|
|
2134
2134
|
var r = t.__value;
|
|
2135
2135
|
Bs(t, r);
|
|
@@ -2161,7 +2161,7 @@ function sl(t, e, n = e) {
|
|
|
2161
2161
|
a = o && cn(o);
|
|
2162
2162
|
}
|
|
2163
2163
|
n(a);
|
|
2164
|
-
}),
|
|
2164
|
+
}), Xt(() => {
|
|
2165
2165
|
var i = e();
|
|
2166
2166
|
if (Bs(t, i, r), r && i === void 0) {
|
|
2167
2167
|
var s = t.querySelector(":checked");
|
|
@@ -2181,7 +2181,7 @@ function Ii(t, e) {
|
|
|
2181
2181
|
return t === e || (t == null ? void 0 : t[ht]) === e;
|
|
2182
2182
|
}
|
|
2183
2183
|
function Ns(t = {}, e, n, r) {
|
|
2184
|
-
return
|
|
2184
|
+
return Xt(() => {
|
|
2185
2185
|
var i, s;
|
|
2186
2186
|
return Jt(() => {
|
|
2187
2187
|
i = s, s = [], it(() => {
|
|
@@ -2194,7 +2194,7 @@ function Ns(t = {}, e, n, r) {
|
|
|
2194
2194
|
};
|
|
2195
2195
|
}), t;
|
|
2196
2196
|
}
|
|
2197
|
-
function
|
|
2197
|
+
function qe(t = !1) {
|
|
2198
2198
|
const e = (
|
|
2199
2199
|
/** @type {ComponentContextLegacy} */
|
|
2200
2200
|
se
|
|
@@ -2233,7 +2233,7 @@ function Ci(t, e) {
|
|
|
2233
2233
|
e();
|
|
2234
2234
|
}
|
|
2235
2235
|
function Kr(t) {
|
|
2236
|
-
se === null &&
|
|
2236
|
+
se === null && Xr(), Wt && se.l !== null ? ul(se).m.push(t) : Et(() => {
|
|
2237
2237
|
const e = it(t);
|
|
2238
2238
|
if (typeof e == "function") return (
|
|
2239
2239
|
/** @type {() => void} */
|
|
@@ -2242,14 +2242,14 @@ function Kr(t) {
|
|
|
2242
2242
|
});
|
|
2243
2243
|
}
|
|
2244
2244
|
function ol(t) {
|
|
2245
|
-
se === null &&
|
|
2245
|
+
se === null && Xr(), Kr(() => () => it(t));
|
|
2246
2246
|
}
|
|
2247
2247
|
function ll(t, e, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
2248
2248
|
return new CustomEvent(t, { detail: e, bubbles: n, cancelable: r });
|
|
2249
2249
|
}
|
|
2250
2250
|
function cl() {
|
|
2251
2251
|
const t = se;
|
|
2252
|
-
return t === null &&
|
|
2252
|
+
return t === null && Xr(), (e, n, r) => {
|
|
2253
2253
|
var s;
|
|
2254
2254
|
const i = (
|
|
2255
2255
|
/** @type {Record<string, Function | Function[]>} */
|
|
@@ -2302,7 +2302,7 @@ const fl = {
|
|
|
2302
2302
|
},
|
|
2303
2303
|
/** @type {string} */
|
|
2304
2304
|
e,
|
|
2305
|
-
|
|
2305
|
+
Xi
|
|
2306
2306
|
)), t.special[e](n), Tr(t.version), !0;
|
|
2307
2307
|
},
|
|
2308
2308
|
getOwnPropertyDescriptor(t, e) {
|
|
@@ -2324,20 +2324,20 @@ const fl = {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
};
|
|
2326
2326
|
function hl(t, e) {
|
|
2327
|
-
return new Proxy({ props: t, exclude: e, special: {}, version:
|
|
2327
|
+
return new Proxy({ props: t, exclude: e, special: {}, version: Fe(0) }, fl);
|
|
2328
2328
|
}
|
|
2329
2329
|
function ji(t) {
|
|
2330
2330
|
for (var e = Q, n = Q; e !== null && !(e.f & (st | Ct)); )
|
|
2331
2331
|
e = e.parent;
|
|
2332
2332
|
try {
|
|
2333
|
-
return
|
|
2333
|
+
return Ge(e), t();
|
|
2334
2334
|
} finally {
|
|
2335
|
-
|
|
2335
|
+
Ge(n);
|
|
2336
2336
|
}
|
|
2337
2337
|
}
|
|
2338
2338
|
function g(t, e, n, r) {
|
|
2339
2339
|
var A;
|
|
2340
|
-
var i = (n & Pa) !== 0, s = !
|
|
2340
|
+
var i = (n & Pa) !== 0, s = !Wt || (n & Oa) !== 0, a = (n & Fa) !== 0, o = (n & Ma) !== 0, l = !1, c;
|
|
2341
2341
|
a ? [c, l] = dl(() => (
|
|
2342
2342
|
/** @type {V} */
|
|
2343
2343
|
t[e]
|
|
@@ -2374,7 +2374,7 @@ function g(t, e, n, r) {
|
|
|
2374
2374
|
void 0), R === void 0 ? f : R;
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
2377
|
-
if (!(n &
|
|
2377
|
+
if (!(n & Xi))
|
|
2378
2378
|
return S;
|
|
2379
2379
|
if (d) {
|
|
2380
2380
|
var _ = t.$$legacy;
|
|
@@ -2390,8 +2390,8 @@ function g(t, e, n, r) {
|
|
|
2390
2390
|
);
|
|
2391
2391
|
return i || (w.equals = Zr), function(R, F) {
|
|
2392
2392
|
if (arguments.length > 0) {
|
|
2393
|
-
const
|
|
2394
|
-
return w.equals(
|
|
2393
|
+
const W = F ? p(w) : s && a ? P(R) : R;
|
|
2394
|
+
return w.equals(W) || (C = !0, $(y, W), b && f !== void 0 && (f = W), it(() => p(w))), R;
|
|
2395
2395
|
}
|
|
2396
2396
|
return p(w);
|
|
2397
2397
|
};
|
|
@@ -2399,7 +2399,7 @@ function g(t, e, n, r) {
|
|
|
2399
2399
|
function pl(t) {
|
|
2400
2400
|
return new vl(t);
|
|
2401
2401
|
}
|
|
2402
|
-
var ut,
|
|
2402
|
+
var ut, Ye;
|
|
2403
2403
|
class vl {
|
|
2404
2404
|
/**
|
|
2405
2405
|
* @param {ComponentConstructorOptions & {
|
|
@@ -2410,7 +2410,7 @@ class vl {
|
|
|
2410
2410
|
/** @type {any} */
|
|
2411
2411
|
vr(this, ut);
|
|
2412
2412
|
/** @type {Record<string, any>} */
|
|
2413
|
-
vr(this,
|
|
2413
|
+
vr(this, Ye);
|
|
2414
2414
|
var s;
|
|
2415
2415
|
var n = /* @__PURE__ */ new Map(), r = (a, o) => {
|
|
2416
2416
|
var l = /* @__PURE__ */ er(o);
|
|
@@ -2430,7 +2430,7 @@ class vl {
|
|
|
2430
2430
|
}
|
|
2431
2431
|
}
|
|
2432
2432
|
);
|
|
2433
|
-
gr(this,
|
|
2433
|
+
gr(this, Ye, (e.hydrate ? Yo : Ls)(e.component, {
|
|
2434
2434
|
target: e.target,
|
|
2435
2435
|
anchor: e.anchor,
|
|
2436
2436
|
props: i,
|
|
@@ -2438,27 +2438,27 @@ class vl {
|
|
|
2438
2438
|
intro: e.intro ?? !1,
|
|
2439
2439
|
recover: e.recover
|
|
2440
2440
|
})), (!((s = e == null ? void 0 : e.props) != null && s.$$host) || e.sync === !1) && v(), gr(this, ut, i.$$events);
|
|
2441
|
-
for (const a of Object.keys(
|
|
2441
|
+
for (const a of Object.keys(Pe(this, Ye)))
|
|
2442
2442
|
a === "$set" || a === "$destroy" || a === "$on" || Fn(this, a, {
|
|
2443
2443
|
get() {
|
|
2444
|
-
return
|
|
2444
|
+
return Pe(this, Ye)[a];
|
|
2445
2445
|
},
|
|
2446
2446
|
/** @param {any} value */
|
|
2447
2447
|
set(o) {
|
|
2448
|
-
|
|
2448
|
+
Pe(this, Ye)[a] = o;
|
|
2449
2449
|
},
|
|
2450
2450
|
enumerable: !0
|
|
2451
2451
|
});
|
|
2452
|
-
|
|
2452
|
+
Pe(this, Ye).$set = /** @param {Record<string, any>} next */
|
|
2453
2453
|
(a) => {
|
|
2454
2454
|
Object.assign(i, a);
|
|
2455
|
-
},
|
|
2456
|
-
Uo(
|
|
2455
|
+
}, Pe(this, Ye).$destroy = () => {
|
|
2456
|
+
Uo(Pe(this, Ye));
|
|
2457
2457
|
};
|
|
2458
2458
|
}
|
|
2459
2459
|
/** @param {Record<string, any>} props */
|
|
2460
2460
|
$set(e) {
|
|
2461
|
-
|
|
2461
|
+
Pe(this, Ye).$set(e);
|
|
2462
2462
|
}
|
|
2463
2463
|
/**
|
|
2464
2464
|
* @param {string} event
|
|
@@ -2466,20 +2466,20 @@ class vl {
|
|
|
2466
2466
|
* @returns {any}
|
|
2467
2467
|
*/
|
|
2468
2468
|
$on(e, n) {
|
|
2469
|
-
|
|
2469
|
+
Pe(this, ut)[e] = Pe(this, ut)[e] || [];
|
|
2470
2470
|
const r = (...i) => n.call(this, ...i);
|
|
2471
|
-
return
|
|
2472
|
-
|
|
2471
|
+
return Pe(this, ut)[e].push(r), () => {
|
|
2472
|
+
Pe(this, ut)[e] = Pe(this, ut)[e].filter(
|
|
2473
2473
|
/** @param {any} fn */
|
|
2474
2474
|
(i) => i !== r
|
|
2475
2475
|
);
|
|
2476
2476
|
};
|
|
2477
2477
|
}
|
|
2478
2478
|
$destroy() {
|
|
2479
|
-
|
|
2479
|
+
Pe(this, Ye).$destroy();
|
|
2480
2480
|
}
|
|
2481
2481
|
}
|
|
2482
|
-
ut = new WeakMap(),
|
|
2482
|
+
ut = new WeakMap(), Ye = new WeakMap();
|
|
2483
2483
|
let Ys;
|
|
2484
2484
|
typeof HTMLElement == "function" && (Ys = class extends HTMLElement {
|
|
2485
2485
|
/**
|
|
@@ -3058,7 +3058,7 @@ const Ol = async (t) => {
|
|
|
3058
3058
|
function: "edit"
|
|
3059
3059
|
});
|
|
3060
3060
|
}, Ml = async () => {
|
|
3061
|
-
let t = J.getEnvironmentId(), e = `https://${Zs(t)}.aksiliasuite.com/api/v1/operatore
|
|
3061
|
+
let t = J.getEnvironmentId(), e = `https://${Zs(t)}.aksiliasuite.com/api/v1/operatore`;
|
|
3062
3062
|
t == "aks_svi" && (e = "https://hyena-popular-caiman.ngrok-free.app/api/v1/operatore");
|
|
3063
3063
|
const n = await fetch(e, {
|
|
3064
3064
|
headers: {
|
|
@@ -3319,7 +3319,7 @@ const Vl = {
|
|
|
3319
3319
|
}
|
|
3320
3320
|
}`
|
|
3321
3321
|
};
|
|
3322
|
-
function
|
|
3322
|
+
function Wl(t, e) {
|
|
3323
3323
|
U(e, !1), V(t, Vl);
|
|
3324
3324
|
let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), i = g(e, "pause", 12, !1), s = g(e, "ballTopLeft", 12, "#FF3E00"), a = g(e, "ballTopRight", 12, "#F8B334"), o = g(e, "ballBottomLeft", 12, "#40B3FF"), l = g(e, "ballBottomRight", 12, "#676778"), c = g(e, "duration", 12, "1.5s");
|
|
3325
3325
|
var u = Gl(), d = j(u), f = j(d), h = j(f), b = j(h);
|
|
@@ -3383,7 +3383,7 @@ function Xl(t, e) {
|
|
|
3383
3383
|
});
|
|
3384
3384
|
}
|
|
3385
3385
|
Z(
|
|
3386
|
-
|
|
3386
|
+
Wl,
|
|
3387
3387
|
{
|
|
3388
3388
|
size: {},
|
|
3389
3389
|
unit: {},
|
|
@@ -3406,8 +3406,8 @@ const ze = /[a-zA-Z]/, ri = (t, e) => {
|
|
|
3406
3406
|
}), t = r;
|
|
3407
3407
|
}
|
|
3408
3408
|
return `rgba(${(t.match(/.{2}/g) || []).map((r) => parseInt(r, 16)).join(", ")}, ${e})`;
|
|
3409
|
-
},
|
|
3410
|
-
var
|
|
3409
|
+
}, We = (t, e = 0) => [...Array(t).keys()].map((n) => n + e);
|
|
3410
|
+
var Xl = /* @__PURE__ */ z('<div class="circle svelte-1bsg8wv"></div>'), Jl = /* @__PURE__ */ z('<div class="wrapper svelte-1bsg8wv"></div>');
|
|
3411
3411
|
const Ql = {
|
|
3412
3412
|
hash: "svelte-1bsg8wv",
|
|
3413
3413
|
code: `.wrapper.svelte-1bsg8wv {position:relative;width:var(--size);height:var(--size);}.circle.svelte-1bsg8wv {position:absolute;width:var(--size);height:var(--size);background-color:var(--color);border-radius:100%;opacity:0.6;top:0;left:0;animation-fill-mode:both;
|
|
@@ -3426,10 +3426,10 @@ function Kl(t, e) {
|
|
|
3426
3426
|
var u;
|
|
3427
3427
|
U(e, !1), V(t, Ql);
|
|
3428
3428
|
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), o = ((u = i().match(ze)) == null ? void 0 : u[0]) ?? "s", l = i().replace(ze, "");
|
|
3429
|
-
|
|
3429
|
+
qe();
|
|
3430
3430
|
var c = Jl();
|
|
3431
|
-
return
|
|
3432
|
-
var h =
|
|
3431
|
+
return Ce(c, 5, () => We(2, 1), Ie, (d, f) => {
|
|
3432
|
+
var h = Xl();
|
|
3433
3433
|
O(() => {
|
|
3434
3434
|
D(h, "style", `animation: ${i() ?? ""} ${(p(f) === 1 ? `${(+l - 0.1) / 2}${o}` : "0s") ?? ""} infinite ease-in-out`), G(h, "pause-animation", a());
|
|
3435
3435
|
}), x(d, h);
|
|
@@ -3661,7 +3661,7 @@ function nc(t, e) {
|
|
|
3661
3661
|
`width: ${r()}`,
|
|
3662
3662
|
`height: ${r()}`
|
|
3663
3663
|
].join(";"));
|
|
3664
|
-
}), wn(),
|
|
3664
|
+
}), wn(), qe();
|
|
3665
3665
|
var a = ec();
|
|
3666
3666
|
return O(() => {
|
|
3667
3667
|
D(a, "style", `--duration: ${i() ?? ""}; ${p(n) ?? ""}`), G(a, "pause-animation", s());
|
|
@@ -3894,9 +3894,9 @@ function fc(t, e) {
|
|
|
3894
3894
|
var u;
|
|
3895
3895
|
U(e, !1), V(t, dc);
|
|
3896
3896
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.2s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = i().match(ze)) == null ? void 0 : u[0]) ?? "s", l = i().replace(ze, "");
|
|
3897
|
-
|
|
3897
|
+
qe();
|
|
3898
3898
|
var c = uc();
|
|
3899
|
-
return
|
|
3899
|
+
return Ce(c, 5, () => We(5, 1), Ie, (d, f) => {
|
|
3900
3900
|
var h = cc();
|
|
3901
3901
|
O(() => {
|
|
3902
3902
|
D(h, "style", `animation-delay: ${(p(f) - 1) * (+l / 12)}${o ?? ""}`), G(h, "pause-animation", a());
|
|
@@ -3993,9 +3993,9 @@ function gc(t, e) {
|
|
|
3993
3993
|
() => {
|
|
3994
3994
|
$(o, ri(n(), 0.2));
|
|
3995
3995
|
}
|
|
3996
|
-
), wn(),
|
|
3996
|
+
), wn(), qe();
|
|
3997
3997
|
var l = pc();
|
|
3998
|
-
return
|
|
3998
|
+
return Ce(l, 5, () => We(2, 1), Ie, (c, u) => {
|
|
3999
3999
|
var d = hc();
|
|
4000
4000
|
O(() => {
|
|
4001
4001
|
Qe(d, `lines small-lines ${p(u) ?? ""} svelte-bnawe9`), D(d, "style", `--color: ${n() ?? ""}; --duration: ${i() ?? ""};`), G(d, "pause-animation", a());
|
|
@@ -4069,9 +4069,9 @@ function xc(t, e) {
|
|
|
4069
4069
|
var u;
|
|
4070
4070
|
U(e, !1), V(t, wc);
|
|
4071
4071
|
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), o = ((u = i().match(ze)) == null ? void 0 : u[0]) ?? "s", l = i().replace(ze, "");
|
|
4072
|
-
|
|
4072
|
+
qe();
|
|
4073
4073
|
var c = bc();
|
|
4074
|
-
return
|
|
4074
|
+
return Ce(c, 5, () => We(3, 1), Ie, (d, f) => {
|
|
4075
4075
|
var h = mc();
|
|
4076
4076
|
O(() => {
|
|
4077
4077
|
D(h, "style", `animation-delay: ${+l / 3 * (p(f) - 1) + o};`), G(h, "pause-animation", a());
|
|
@@ -4149,9 +4149,9 @@ const yc = {
|
|
|
4149
4149
|
function zc(t, e) {
|
|
4150
4150
|
U(e, !1), V(t, yc);
|
|
4151
4151
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "2s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
4152
|
-
|
|
4152
|
+
qe();
|
|
4153
4153
|
var o = kc();
|
|
4154
|
-
return
|
|
4154
|
+
return Ce(o, 5, () => We(2, 1), Ie, (l, c) => {
|
|
4155
4155
|
var u = _c();
|
|
4156
4156
|
O(() => {
|
|
4157
4157
|
Qe(u, `border ${p(c) ?? ""} svelte-kxapcj`), G(u, "pause-animation", a());
|
|
@@ -4241,9 +4241,9 @@ function Tc(t, e) {
|
|
|
4241
4241
|
var u;
|
|
4242
4242
|
U(e, !1), V(t, Ec);
|
|
4243
4243
|
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), o = ((u = i().match(ze)) == null ? void 0 : u[0]) ?? "s", l = i().replace(ze, "");
|
|
4244
|
-
|
|
4244
|
+
qe();
|
|
4245
4245
|
var c = $c();
|
|
4246
|
-
return
|
|
4246
|
+
return Ce(c, 5, () => We(3, 1), Ie, (d, f) => {
|
|
4247
4247
|
var h = Sc();
|
|
4248
4248
|
O(() => {
|
|
4249
4249
|
D(h, "style", `--dotSize:${+s() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${p(f) * (+l / 10)}${o ?? ""};`), G(h, "pause-animation", a());
|
|
@@ -4463,9 +4463,9 @@ function ii(t, e) {
|
|
|
4463
4463
|
var u;
|
|
4464
4464
|
U(e, !1), V(t, Fc);
|
|
4465
4465
|
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), o = ((u = i().match(ze)) == null ? void 0 : u[0]) ?? "s", l = i().replace(ze, "");
|
|
4466
|
-
|
|
4466
|
+
qe();
|
|
4467
4467
|
var c = Oc();
|
|
4468
|
-
return
|
|
4468
|
+
return Ce(c, 5, () => We(3, 0), Ie, (d, f) => {
|
|
4469
4469
|
var h = Pc();
|
|
4470
4470
|
O(() => {
|
|
4471
4471
|
D(h, "style", `animation-delay: ${p(f) * (+l / 10)}${o ?? ""}; left: ${p(f) * (+s() / 3 + +s() / 15) + r()};`), G(h, "pause-animation", a());
|
|
@@ -4537,9 +4537,9 @@ function Bc(t, e) {
|
|
|
4537
4537
|
var u;
|
|
4538
4538
|
U(e, !1), V(t, qc);
|
|
4539
4539
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "2.5s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((u = i().match(ze)) == null ? void 0 : u[0]) ?? "s", l = i().replace(ze, "");
|
|
4540
|
-
|
|
4540
|
+
qe();
|
|
4541
4541
|
var c = Dc();
|
|
4542
|
-
return
|
|
4542
|
+
return Ce(c, 5, () => We(6, 0), Ie, (d, f) => {
|
|
4543
4543
|
var h = Mc();
|
|
4544
4544
|
O(() => {
|
|
4545
4545
|
D(h, "style", `animation-delay: ${p(f) * (+l / 25)}${o ?? ""}; width: ${p(f) * (+s() / 6) + r()}; height: ${p(f) * (+s() / 6) / 2 + r()}; `), G(h, "pause-animation", a());
|
|
@@ -4616,9 +4616,9 @@ function Hc(t, e) {
|
|
|
4616
4616
|
var d;
|
|
4617
4617
|
U(e, !1), V(t, Uc);
|
|
4618
4618
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "2s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((d = i().match(ze)) == null ? void 0 : d[0]) ?? "s", l = i().replace(ze, "");
|
|
4619
|
-
|
|
4619
|
+
qe();
|
|
4620
4620
|
var c = Yc(), u = j(c);
|
|
4621
|
-
return
|
|
4621
|
+
return Ce(u, 5, () => We(2, 0), Ie, (f, h) => {
|
|
4622
4622
|
var b = Nc();
|
|
4623
4623
|
O(() => {
|
|
4624
4624
|
D(b, "style", `animation-delay: ${(p(h) === 1 ? `${+l / 2}${o}` : "0s") ?? ""}; ${(p(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(p(h) === 1 ? "top: auto;" : "") ?? ""}`), G(b, "pause-animation", a());
|
|
@@ -4747,8 +4747,8 @@ Z(
|
|
|
4747
4747
|
[],
|
|
4748
4748
|
!0
|
|
4749
4749
|
);
|
|
4750
|
-
var
|
|
4751
|
-
const
|
|
4750
|
+
var Wc = /* @__PURE__ */ z('<div class="wrapper svelte-5bpnhx"><div class="shadow svelte-5bpnhx"></div></div>');
|
|
4751
|
+
const Xc = {
|
|
4752
4752
|
hash: "svelte-5bpnhx",
|
|
4753
4753
|
code: `.wrapper.svelte-5bpnhx {position:relative;display:flex;justify-content:center;align-items:center;width:var(--size);height:var(--size);}.shadow.svelte-5bpnhx {color:var(--color);font-size:var(--size);overflow:hidden;width:var(--size);height:var(--size);border-radius:50%;margin:28px auto;position:relative;transform:translateZ(0);
|
|
4754
4754
|
animation: svelte-5bpnhx-load var(--duration) infinite ease, svelte-5bpnhx-round var(--duration) infinite ease;}.pause-animation.svelte-5bpnhx {animation-play-state:paused;}
|
|
@@ -4790,9 +4790,9 @@ const Wc = {
|
|
|
4790
4790
|
}`
|
|
4791
4791
|
};
|
|
4792
4792
|
function Jc(t, e) {
|
|
4793
|
-
U(e, !1), V(t,
|
|
4793
|
+
U(e, !1), V(t, Xc);
|
|
4794
4794
|
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);
|
|
4795
|
-
var o =
|
|
4795
|
+
var o = Wc(), l = j(o);
|
|
4796
4796
|
return I(o), O(() => {
|
|
4797
4797
|
D(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), G(l, "pause-animation", a());
|
|
4798
4798
|
}), x(t, o), H({
|
|
@@ -4946,7 +4946,7 @@ function ru(t, e) {
|
|
|
4946
4946
|
() => {
|
|
4947
4947
|
$(o, ri(n(), 0.6));
|
|
4948
4948
|
}
|
|
4949
|
-
), wn(),
|
|
4949
|
+
), wn(), qe();
|
|
4950
4950
|
var l = tu(), c = j(l);
|
|
4951
4951
|
return I(l), O(() => {
|
|
4952
4952
|
D(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(o) ?? ""}; --duration: ${i() ?? ""};`), G(c, "pause-animation", a());
|
|
@@ -5154,9 +5154,9 @@ function hu(t, e) {
|
|
|
5154
5154
|
var u;
|
|
5155
5155
|
U(e, !1), V(t, fu);
|
|
5156
5156
|
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), o = ((u = i().match(ze)) == null ? void 0 : u[0]) ?? "s", l = i().replace(ze, "");
|
|
5157
|
-
|
|
5157
|
+
qe();
|
|
5158
5158
|
var c = du();
|
|
5159
|
-
return
|
|
5159
|
+
return Ce(c, 5, () => We(10, 0), Ie, (d, f) => {
|
|
5160
5160
|
var h = uu();
|
|
5161
5161
|
O(() => {
|
|
5162
5162
|
D(h, "style", `left: ${p(f) * (+s() / 5 + (+s() / 15 - +s() / 100)) + r()}; animation-delay: ${p(f) * (+l / 8.3)}${o ?? ""};`), G(h, "pause-animation", a());
|
|
@@ -5238,9 +5238,9 @@ function mu(t, e) {
|
|
|
5238
5238
|
() => {
|
|
5239
5239
|
$(c, ri(n(), 1));
|
|
5240
5240
|
}
|
|
5241
|
-
), wn(),
|
|
5241
|
+
), wn(), qe();
|
|
5242
5242
|
var u = vu();
|
|
5243
|
-
return
|
|
5243
|
+
return Ce(u, 5, () => We(2, 1), Ie, (f, h) => {
|
|
5244
5244
|
var b = pu();
|
|
5245
5245
|
O(() => {
|
|
5246
5246
|
D(b, "style", `animation-delay: ${(p(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +l + o};`), G(b, "pause-animation", a());
|
|
@@ -5465,64 +5465,64 @@ function Gs(t, e) {
|
|
|
5465
5465
|
var u = Fu(), d = j(u), f = j(d), h = B(j(f), 2);
|
|
5466
5466
|
h.__click = o, I(f);
|
|
5467
5467
|
var b = B(f, 2), m = j(b), S = j(m), k = B(j(S), 2);
|
|
5468
|
-
|
|
5468
|
+
Wo(k), k.__input = [zu, a, c], I(S), I(m);
|
|
5469
5469
|
var _ = B(m, 2), C = j(_);
|
|
5470
5470
|
{
|
|
5471
5471
|
var E = (w) => {
|
|
5472
5472
|
var A = Su(), R = j(A);
|
|
5473
5473
|
ii(R, { size: "30", color: "#295dcf" }), mo(2), I(A), x(w, A);
|
|
5474
5474
|
}, y = (w) => {
|
|
5475
|
-
var A =
|
|
5475
|
+
var A = me(), R = fe(A);
|
|
5476
5476
|
{
|
|
5477
5477
|
var F = (ae) => {
|
|
5478
5478
|
var M = $u();
|
|
5479
5479
|
x(ae, M);
|
|
5480
|
-
},
|
|
5481
|
-
var M =
|
|
5480
|
+
}, W = (ae) => {
|
|
5481
|
+
var M = me(), N = fe(M);
|
|
5482
5482
|
{
|
|
5483
|
-
var
|
|
5483
|
+
var ve = (de) => {
|
|
5484
5484
|
var ee = Eu();
|
|
5485
5485
|
x(de, ee);
|
|
5486
5486
|
}, le = (de) => {
|
|
5487
5487
|
var ee = Ou();
|
|
5488
|
-
|
|
5489
|
-
var
|
|
5490
|
-
|
|
5491
|
-
var he = j(
|
|
5488
|
+
Ce(ee, 21, () => p(i), Ie, (oe, te) => {
|
|
5489
|
+
var Ee = Pu();
|
|
5490
|
+
Ee.__click = [Tu, l, te];
|
|
5491
|
+
var he = j(Ee), ge = j(he);
|
|
5492
5492
|
{
|
|
5493
|
-
var
|
|
5493
|
+
var Se = ($e) => {
|
|
5494
5494
|
var T = Iu();
|
|
5495
|
-
x(
|
|
5496
|
-
},
|
|
5497
|
-
var T =
|
|
5495
|
+
x($e, T);
|
|
5496
|
+
}, xe = ($e) => {
|
|
5497
|
+
var T = me(), Y = fe(T);
|
|
5498
5498
|
{
|
|
5499
|
-
var _e = (
|
|
5500
|
-
var
|
|
5501
|
-
x(
|
|
5502
|
-
}, ue = (
|
|
5503
|
-
var
|
|
5499
|
+
var _e = (we) => {
|
|
5500
|
+
var pe = Cu();
|
|
5501
|
+
x(we, pe);
|
|
5502
|
+
}, ue = (we) => {
|
|
5503
|
+
var pe = me(), ke = fe(pe);
|
|
5504
5504
|
{
|
|
5505
5505
|
var ot = (gt) => {
|
|
5506
5506
|
var Pt = ju();
|
|
5507
5507
|
x(gt, Pt);
|
|
5508
5508
|
}, yn = (gt) => {
|
|
5509
|
-
var Pt =
|
|
5509
|
+
var Pt = me(), zn = fe(Pt);
|
|
5510
5510
|
{
|
|
5511
5511
|
var dr = (lt) => {
|
|
5512
5512
|
var ye = Au();
|
|
5513
5513
|
x(lt, ye);
|
|
5514
5514
|
}, fr = (lt) => {
|
|
5515
|
-
var ye =
|
|
5515
|
+
var ye = me(), Re = fe(ye);
|
|
5516
5516
|
{
|
|
5517
5517
|
var yt = (mt) => {
|
|
5518
|
-
var
|
|
5519
|
-
x(mt,
|
|
5518
|
+
var Xe = Ru();
|
|
5519
|
+
x(mt, Xe);
|
|
5520
5520
|
}, hr = (mt) => {
|
|
5521
|
-
var
|
|
5522
|
-
x(mt,
|
|
5521
|
+
var Xe = Lu();
|
|
5522
|
+
x(mt, Xe);
|
|
5523
5523
|
};
|
|
5524
5524
|
q(
|
|
5525
|
-
|
|
5525
|
+
Re,
|
|
5526
5526
|
(mt) => {
|
|
5527
5527
|
p(te).title.split(".").pop() === "akd" ? mt(yt) : mt(hr, !1);
|
|
5528
5528
|
},
|
|
@@ -5549,31 +5549,31 @@ function Gs(t, e) {
|
|
|
5549
5549
|
!0
|
|
5550
5550
|
);
|
|
5551
5551
|
}
|
|
5552
|
-
x(
|
|
5552
|
+
x(we, pe);
|
|
5553
5553
|
};
|
|
5554
5554
|
q(
|
|
5555
5555
|
Y,
|
|
5556
|
-
(
|
|
5557
|
-
p(te).title.split(".").pop() === "docx" ?
|
|
5556
|
+
(we) => {
|
|
5557
|
+
p(te).title.split(".").pop() === "docx" ? we(_e) : we(ue, !1);
|
|
5558
5558
|
},
|
|
5559
5559
|
!0
|
|
5560
5560
|
);
|
|
5561
5561
|
}
|
|
5562
|
-
x(
|
|
5562
|
+
x($e, T);
|
|
5563
5563
|
};
|
|
5564
|
-
q(
|
|
5565
|
-
p(te).title.split(".").pop() === "pdf" ?
|
|
5564
|
+
q(ge, ($e) => {
|
|
5565
|
+
p(te).title.split(".").pop() === "pdf" ? $e(Se) : $e(xe, !1);
|
|
5566
5566
|
});
|
|
5567
5567
|
}
|
|
5568
5568
|
I(he);
|
|
5569
|
-
var
|
|
5570
|
-
I(
|
|
5569
|
+
var be = B(he, 2), je = j(be), Ae = j(je, !0);
|
|
5570
|
+
I(je), I(be), I(Ee), O(() => Tt(Ae, p(te).title)), x(oe, Ee);
|
|
5571
5571
|
}), I(ee), x(de, ee);
|
|
5572
5572
|
};
|
|
5573
5573
|
q(
|
|
5574
5574
|
N,
|
|
5575
5575
|
(de) => {
|
|
5576
|
-
p(i).length === 0 ? de(
|
|
5576
|
+
p(i).length === 0 ? de(ve) : de(le, !1);
|
|
5577
5577
|
},
|
|
5578
5578
|
!0
|
|
5579
5579
|
);
|
|
@@ -5583,7 +5583,7 @@ function Gs(t, e) {
|
|
|
5583
5583
|
q(
|
|
5584
5584
|
R,
|
|
5585
5585
|
(ae) => {
|
|
5586
|
-
p(a).length < 3 ? ae(F) : ae(
|
|
5586
|
+
p(a).length < 3 ? ae(F) : ae(W, !1);
|
|
5587
5587
|
},
|
|
5588
5588
|
!0
|
|
5589
5589
|
);
|
|
@@ -5594,7 +5594,7 @@ function Gs(t, e) {
|
|
|
5594
5594
|
p(s) ? w(E) : w(y, !1);
|
|
5595
5595
|
});
|
|
5596
5596
|
}
|
|
5597
|
-
return I(_), I(b), I(d), I(u), O(() =>
|
|
5597
|
+
return I(_), I(b), I(d), I(u), O(() => Xo(k, p(a))), x(t, u), H({
|
|
5598
5598
|
get attachments() {
|
|
5599
5599
|
return n();
|
|
5600
5600
|
},
|
|
@@ -5618,7 +5618,7 @@ var qu = (t, e) => {
|
|
|
5618
5618
|
t.key === "Enter" && e();
|
|
5619
5619
|
}, Bu = /* @__PURE__ */ z('<div class="dropdown-content svelte-13r2zha"><button><i class="fa-solid fa-book svelte-13r2zha"></i> <span>Knowledge Base</span></button> <button><i class="fa-solid fa-file-circle-plus svelte-13r2zha"></i> <span>Scegli file</span></button></div>'), Nu = (t, e) => {
|
|
5620
5620
|
$(e, !1);
|
|
5621
|
-
}, Yu = /* @__PURE__ */ z('<button class="remove-btn svelte-13r2zha" aria-label="Remove Knowledge Base"><i class="fa-solid fa-xmark svelte-13r2zha"></i></button>'), Uu = /* @__PURE__ */ z('<div class="attachment-item svelte-13r2zha" aria-label="Toggle Knowledge Base" title="Knowledge Base"><i class="fa-solid fa-book"></i> <span class="attachment-title svelte-13r2zha">KB</span> <!></div>'), Hu = /* @__PURE__ */ z('<i class="fa-solid fa-file-pdf svelte-13r2zha"></i>'), Zu = /* @__PURE__ */ z('<i class="fa-solid fa-file-word svelte-13r2zha"></i>'), Gu = /* @__PURE__ */ z('<i class="fa-solid fa-file-excel svelte-13r2zha"></i>'), Vu = /* @__PURE__ */ z('<i class="fa-solid fa-file-powerpoint svelte-13r2zha"></i>'),
|
|
5621
|
+
}, Yu = /* @__PURE__ */ z('<button class="remove-btn svelte-13r2zha" aria-label="Remove Knowledge Base"><i class="fa-solid fa-xmark svelte-13r2zha"></i></button>'), Uu = /* @__PURE__ */ z('<div class="attachment-item svelte-13r2zha" aria-label="Toggle Knowledge Base" title="Knowledge Base"><i class="fa-solid fa-book"></i> <span class="attachment-title svelte-13r2zha">KB</span> <!></div>'), Hu = /* @__PURE__ */ z('<i class="fa-solid fa-file-pdf svelte-13r2zha"></i>'), Zu = /* @__PURE__ */ z('<i class="fa-solid fa-file-word svelte-13r2zha"></i>'), Gu = /* @__PURE__ */ z('<i class="fa-solid fa-file-excel svelte-13r2zha"></i>'), Vu = /* @__PURE__ */ z('<i class="fa-solid fa-file-powerpoint svelte-13r2zha"></i>'), Wu = /* @__PURE__ */ z('<i class="fa-solid fa-passport svelte-13r2zha"></i>'), Xu = /* @__PURE__ */ z('<i class="fa-solid fa-file svelte-13r2zha"></i>'), Ju = /* @__PURE__ */ z('<div class="attachment-title noopen-file-button svelte-13r2zha" title="Documento comune"> </div>'), Qu = (t, e, n, r, i) => {
|
|
5622
5622
|
e(n(), r(), i());
|
|
5623
5623
|
}, Ku = /* @__PURE__ */ z('<button class="attachment-title open-file-button svelte-13r2zha"> </button>'), ed = (t, e, n) => {
|
|
5624
5624
|
delete p(e)[n()];
|
|
@@ -5679,27 +5679,27 @@ function Vs(t, e) {
|
|
|
5679
5679
|
Et(() => {
|
|
5680
5680
|
Object.keys(p(o)).length > 0 && $(a, !0);
|
|
5681
5681
|
});
|
|
5682
|
-
var R = sd(), F = fe(R),
|
|
5683
|
-
qo(ae), ae.__keyup = [qu, S], I(
|
|
5684
|
-
var M = B(
|
|
5682
|
+
var R = sd(), F = fe(R), W = j(F), ae = j(W);
|
|
5683
|
+
qo(ae), ae.__keyup = [qu, S], I(W);
|
|
5684
|
+
var M = B(W, 2), N = j(M), ve = j(N), le = j(ve);
|
|
5685
5685
|
le.__click = [Du, w];
|
|
5686
5686
|
var de = B(le, 2);
|
|
5687
5687
|
{
|
|
5688
5688
|
var ee = (T) => {
|
|
5689
5689
|
var Y = Bu(), _e = j(Y);
|
|
5690
|
-
_e.__click = function(...
|
|
5690
|
+
_e.__click = function(...pe) {
|
|
5691
5691
|
var ke;
|
|
5692
5692
|
(ke = p(a) ? () => {
|
|
5693
|
-
} : _) == null || ke.apply(this,
|
|
5693
|
+
} : _) == null || ke.apply(this, pe);
|
|
5694
5694
|
};
|
|
5695
|
-
var ue = B(_e, 2),
|
|
5695
|
+
var ue = B(_e, 2), we = /* @__PURE__ */ Ht(() => Object.keys(p(o)).length < 2 ? k : () => {
|
|
5696
5696
|
});
|
|
5697
|
-
ue.__click = function(...
|
|
5697
|
+
ue.__click = function(...pe) {
|
|
5698
5698
|
var ke;
|
|
5699
|
-
(ke = p(
|
|
5699
|
+
(ke = p(we)) == null || ke.apply(this, pe);
|
|
5700
5700
|
}, I(Y), O(
|
|
5701
|
-
(
|
|
5702
|
-
Qe(_e, `${`dropdown-option ${p(a) ? "option-disabled" : ""}` ?? ""} svelte-13r2zha`), Qe(ue, `${
|
|
5701
|
+
(pe) => {
|
|
5702
|
+
Qe(_e, `${`dropdown-option ${p(a) ? "option-disabled" : ""}` ?? ""} svelte-13r2zha`), Qe(ue, `${pe ?? ""} svelte-13r2zha`);
|
|
5703
5703
|
},
|
|
5704
5704
|
[
|
|
5705
5705
|
() => `dropdown-option ${Object.keys(p(o)).length < 2 ? "" : "option-disabled"}`
|
|
@@ -5710,60 +5710,60 @@ function Vs(t, e) {
|
|
|
5710
5710
|
p(w) && T(ee);
|
|
5711
5711
|
});
|
|
5712
5712
|
}
|
|
5713
|
-
I(
|
|
5714
|
-
var oe = B(
|
|
5713
|
+
I(ve);
|
|
5714
|
+
var oe = B(ve, 2), te = j(oe);
|
|
5715
5715
|
{
|
|
5716
|
-
var
|
|
5716
|
+
var Ee = (T) => {
|
|
5717
5717
|
var Y = Uu(), _e = B(j(Y), 4);
|
|
5718
5718
|
{
|
|
5719
|
-
var ue = (
|
|
5720
|
-
var
|
|
5721
|
-
|
|
5719
|
+
var ue = (we) => {
|
|
5720
|
+
var pe = Yu();
|
|
5721
|
+
pe.__click = [Nu, a], x(we, pe);
|
|
5722
5722
|
};
|
|
5723
|
-
q(_e, (
|
|
5724
|
-
Object.keys(p(o)).length === 0 &&
|
|
5723
|
+
q(_e, (we) => {
|
|
5724
|
+
Object.keys(p(o)).length === 0 && we(ue);
|
|
5725
5725
|
});
|
|
5726
5726
|
}
|
|
5727
5727
|
I(Y), x(T, Y);
|
|
5728
5728
|
};
|
|
5729
5729
|
q(te, (T) => {
|
|
5730
|
-
p(a) && T(
|
|
5730
|
+
p(a) && T(Ee);
|
|
5731
5731
|
});
|
|
5732
5732
|
}
|
|
5733
5733
|
var he = B(te, 2);
|
|
5734
|
-
|
|
5735
|
-
let _e = () => p(Y)[0], ue = () => p(Y)[1].title,
|
|
5734
|
+
Ce(he, 17, () => Object.entries(p(o)), Ie, (T, Y) => {
|
|
5735
|
+
let _e = () => p(Y)[0], ue = () => p(Y)[1].title, we = () => p(Y)[1].ext_id, pe = () => p(Y)[1].gendoc_id, ke = () => p(Y)[1].isCommon;
|
|
5736
5736
|
var ot = td(), yn = j(ot);
|
|
5737
5737
|
{
|
|
5738
5738
|
var gt = (ye) => {
|
|
5739
|
-
var
|
|
5740
|
-
x(ye,
|
|
5739
|
+
var Re = Hu();
|
|
5740
|
+
x(ye, Re);
|
|
5741
5741
|
}, Pt = (ye) => {
|
|
5742
|
-
var
|
|
5742
|
+
var Re = me(), yt = fe(Re);
|
|
5743
5743
|
{
|
|
5744
|
-
var hr = (
|
|
5744
|
+
var hr = (Xe) => {
|
|
5745
5745
|
var Sn = Zu();
|
|
5746
|
-
x(
|
|
5747
|
-
}, mt = (
|
|
5748
|
-
var Sn =
|
|
5746
|
+
x(Xe, Sn);
|
|
5747
|
+
}, mt = (Xe) => {
|
|
5748
|
+
var Sn = me(), _a = fe(Sn);
|
|
5749
5749
|
{
|
|
5750
5750
|
var ka = (Ot) => {
|
|
5751
5751
|
var $n = Gu();
|
|
5752
5752
|
x(Ot, $n);
|
|
5753
5753
|
}, ya = (Ot) => {
|
|
5754
|
-
var $n =
|
|
5754
|
+
var $n = me(), za = fe($n);
|
|
5755
5755
|
{
|
|
5756
5756
|
var Sa = (Ft) => {
|
|
5757
5757
|
var En = Vu();
|
|
5758
5758
|
x(Ft, En);
|
|
5759
5759
|
}, $a = (Ft) => {
|
|
5760
|
-
var En =
|
|
5760
|
+
var En = me(), Ea = fe(En);
|
|
5761
5761
|
{
|
|
5762
5762
|
var Ta = (Mt) => {
|
|
5763
|
-
var pr =
|
|
5763
|
+
var pr = Wu();
|
|
5764
5764
|
x(Mt, pr);
|
|
5765
5765
|
}, Ia = (Mt) => {
|
|
5766
|
-
var pr =
|
|
5766
|
+
var pr = Xu();
|
|
5767
5767
|
x(Mt, pr);
|
|
5768
5768
|
};
|
|
5769
5769
|
q(
|
|
@@ -5794,17 +5794,17 @@ function Vs(t, e) {
|
|
|
5794
5794
|
!0
|
|
5795
5795
|
);
|
|
5796
5796
|
}
|
|
5797
|
-
x(
|
|
5797
|
+
x(Xe, Sn);
|
|
5798
5798
|
};
|
|
5799
5799
|
q(
|
|
5800
5800
|
yt,
|
|
5801
|
-
(
|
|
5802
|
-
ue().split(".").pop() === "docx" ?
|
|
5801
|
+
(Xe) => {
|
|
5802
|
+
ue().split(".").pop() === "docx" ? Xe(hr) : Xe(mt, !1);
|
|
5803
5803
|
},
|
|
5804
5804
|
!0
|
|
5805
5805
|
);
|
|
5806
5806
|
}
|
|
5807
|
-
x(ye,
|
|
5807
|
+
x(ye, Re);
|
|
5808
5808
|
};
|
|
5809
5809
|
q(yn, (ye) => {
|
|
5810
5810
|
ue().split(".").pop() === "pdf" ? ye(gt) : ye(Pt, !1);
|
|
@@ -5813,19 +5813,19 @@ function Vs(t, e) {
|
|
|
5813
5813
|
var zn = B(yn, 2);
|
|
5814
5814
|
{
|
|
5815
5815
|
var dr = (ye) => {
|
|
5816
|
-
var
|
|
5817
|
-
I(
|
|
5816
|
+
var Re = Ju(), yt = j(Re, !0);
|
|
5817
|
+
I(Re), O(() => Tt(yt, ue())), x(ye, Re);
|
|
5818
5818
|
}, fr = (ye) => {
|
|
5819
|
-
var
|
|
5820
|
-
|
|
5819
|
+
var Re = Ku();
|
|
5820
|
+
Re.__click = [
|
|
5821
5821
|
Qu,
|
|
5822
5822
|
y,
|
|
5823
|
-
|
|
5823
|
+
we,
|
|
5824
5824
|
ue,
|
|
5825
|
-
|
|
5825
|
+
pe
|
|
5826
5826
|
];
|
|
5827
|
-
var yt = j(
|
|
5828
|
-
I(
|
|
5827
|
+
var yt = j(Re, !0);
|
|
5828
|
+
I(Re), O(() => Tt(yt, ue())), x(ye, Re);
|
|
5829
5829
|
};
|
|
5830
5830
|
q(zn, (ye) => {
|
|
5831
5831
|
ke() ? ye(dr) : ye(fr, !1);
|
|
@@ -5836,40 +5836,40 @@ function Vs(t, e) {
|
|
|
5836
5836
|
Qe(ot, `${`attachment-item ${ke() ? "common" : ""}` ?? ""} svelte-13r2zha`), D(ot, "title", ue()), Qe(lt, `${`remove-btn ${ke() ? "common" : ""}` ?? ""} svelte-13r2zha`);
|
|
5837
5837
|
}), x(T, ot);
|
|
5838
5838
|
}), I(oe), Ns(oe, (T) => f = T, () => f);
|
|
5839
|
-
var
|
|
5839
|
+
var ge = B(oe, 2), Se = j(ge);
|
|
5840
5840
|
{
|
|
5841
|
-
var
|
|
5841
|
+
var xe = (T) => {
|
|
5842
5842
|
var Y = nd();
|
|
5843
5843
|
Y.__click = m, x(T, Y);
|
|
5844
|
-
},
|
|
5845
|
-
var Y =
|
|
5844
|
+
}, be = (T) => {
|
|
5845
|
+
var Y = me(), _e = fe(Y);
|
|
5846
5846
|
{
|
|
5847
|
-
var ue = (
|
|
5847
|
+
var ue = (pe) => {
|
|
5848
5848
|
var ke = rd(), ot = j(ke);
|
|
5849
|
-
ii(ot, { size: "20", color: "white" }), I(ke), x(
|
|
5850
|
-
},
|
|
5849
|
+
ii(ot, { size: "20", color: "white" }), I(ke), x(pe, ke);
|
|
5850
|
+
}, we = (pe) => {
|
|
5851
5851
|
var ke = id();
|
|
5852
|
-
ke.__click = b, x(
|
|
5852
|
+
ke.__click = b, x(pe, ke);
|
|
5853
5853
|
};
|
|
5854
5854
|
q(
|
|
5855
5855
|
_e,
|
|
5856
|
-
(
|
|
5857
|
-
p(d) ?
|
|
5856
|
+
(pe) => {
|
|
5857
|
+
p(d) ? pe(ue) : pe(we, !1);
|
|
5858
5858
|
},
|
|
5859
5859
|
!0
|
|
5860
5860
|
);
|
|
5861
5861
|
}
|
|
5862
5862
|
x(T, Y);
|
|
5863
5863
|
};
|
|
5864
|
-
q(
|
|
5865
|
-
p(u) ? T(
|
|
5864
|
+
q(Se, (T) => {
|
|
5865
|
+
p(u) ? T(xe) : T(be, !1);
|
|
5866
5866
|
});
|
|
5867
5867
|
}
|
|
5868
|
-
var
|
|
5869
|
-
|
|
5870
|
-
var
|
|
5868
|
+
var je = B(Se, 2);
|
|
5869
|
+
je.__click = S, I(ge), I(N), I(M), I(F);
|
|
5870
|
+
var Ae = B(F, 2);
|
|
5871
5871
|
{
|
|
5872
|
-
var
|
|
5872
|
+
var $e = (T) => {
|
|
5873
5873
|
Gs(T, {
|
|
5874
5874
|
get attachments() {
|
|
5875
5875
|
return p(o);
|
|
@@ -5885,8 +5885,8 @@ function Vs(t, e) {
|
|
|
5885
5885
|
}
|
|
5886
5886
|
});
|
|
5887
5887
|
};
|
|
5888
|
-
q(
|
|
5889
|
-
p(A) && T(
|
|
5888
|
+
q(Ae, (T) => {
|
|
5889
|
+
p(A) && T($e);
|
|
5890
5890
|
});
|
|
5891
5891
|
}
|
|
5892
5892
|
return O(() => Qe(le, `${`btn aks-btn-answer aks-btn-rounded ${p(w) ? "aks-btn-ans-selected" : ""}` ?? ""} svelte-13r2zha`)), rl(ae, () => p(s), (T) => $(s, T)), Bo("wheel", oe, h), _n(3, F, () => ei, () => ({ duration: 300, delay: 200 })), x(t, R), H({
|
|
@@ -5922,7 +5922,7 @@ Z(
|
|
|
5922
5922
|
[],
|
|
5923
5923
|
!0
|
|
5924
5924
|
);
|
|
5925
|
-
const
|
|
5925
|
+
const Ws = /^[a-z0-9]+(-[a-z0-9]+)*$/, or = (t, e, n, r = "") => {
|
|
5926
5926
|
const i = t.split(":");
|
|
5927
5927
|
if (t.slice(0, 1) === "@") {
|
|
5928
5928
|
if (i.length < 2 || i.length > 3)
|
|
@@ -5960,7 +5960,7 @@ const Xs = /^[a-z0-9]+(-[a-z0-9]+)*$/, or = (t, e, n, r = "") => {
|
|
|
5960
5960
|
return null;
|
|
5961
5961
|
}, Ln = (t, e) => t ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
|
|
5962
5962
|
// Check name: cannot be empty
|
|
5963
|
-
((e && t.prefix === "" || t.prefix) && t.name) : !1,
|
|
5963
|
+
((e && t.prefix === "" || t.prefix) && t.name) : !1, Xs = Object.freeze(
|
|
5964
5964
|
{
|
|
5965
5965
|
left: 0,
|
|
5966
5966
|
top: 0,
|
|
@@ -5972,7 +5972,7 @@ const Xs = /^[a-z0-9]+(-[a-z0-9]+)*$/, or = (t, e, n, r = "") => {
|
|
|
5972
5972
|
vFlip: !1,
|
|
5973
5973
|
hFlip: !1
|
|
5974
5974
|
}), lr = Object.freeze({
|
|
5975
|
-
...
|
|
5975
|
+
...Xs,
|
|
5976
5976
|
...Gn
|
|
5977
5977
|
}), Pr = Object.freeze({
|
|
5978
5978
|
...lr,
|
|
@@ -6034,7 +6034,7 @@ const ud = {
|
|
|
6034
6034
|
provider: "",
|
|
6035
6035
|
aliases: {},
|
|
6036
6036
|
not_found: {},
|
|
6037
|
-
...
|
|
6037
|
+
...Xs
|
|
6038
6038
|
};
|
|
6039
6039
|
function xr(t, e) {
|
|
6040
6040
|
for (const n in e)
|
|
@@ -6580,7 +6580,7 @@ function Nd(t, e, n, r) {
|
|
|
6580
6580
|
}
|
|
6581
6581
|
function E(w, A, R) {
|
|
6582
6582
|
const F = A !== "success";
|
|
6583
|
-
switch (f = f.filter((
|
|
6583
|
+
switch (f = f.filter((W) => W !== w), l) {
|
|
6584
6584
|
case "pending":
|
|
6585
6585
|
break;
|
|
6586
6586
|
case "failed":
|
|
@@ -6599,11 +6599,11 @@ function Nd(t, e, n, r) {
|
|
|
6599
6599
|
return;
|
|
6600
6600
|
}
|
|
6601
6601
|
if (b(), C(), !t.random) {
|
|
6602
|
-
const
|
|
6603
|
-
|
|
6602
|
+
const W = t.resources.indexOf(w.resource);
|
|
6603
|
+
W !== -1 && W !== t.index && (t.index = W);
|
|
6604
6604
|
}
|
|
6605
|
-
l = "completed", h.forEach((
|
|
6606
|
-
|
|
6605
|
+
l = "completed", h.forEach((W) => {
|
|
6606
|
+
W(R);
|
|
6607
6607
|
});
|
|
6608
6608
|
}
|
|
6609
6609
|
function y() {
|
|
@@ -6710,7 +6710,7 @@ function Hd(t) {
|
|
|
6710
6710
|
function Zd(t) {
|
|
6711
6711
|
const e = [], n = [];
|
|
6712
6712
|
return t.forEach((r) => {
|
|
6713
|
-
(r.match(
|
|
6713
|
+
(r.match(Ws) ? e : n).push(r);
|
|
6714
6714
|
}), {
|
|
6715
6715
|
valid: e,
|
|
6716
6716
|
invalid: n
|
|
@@ -6775,7 +6775,7 @@ function Gd(t, e) {
|
|
|
6775
6775
|
const { valid: a, invalid: o } = Zd(i);
|
|
6776
6776
|
if (o.length && rn(t, o, null), !a.length)
|
|
6777
6777
|
return;
|
|
6778
|
-
const l = r.match(
|
|
6778
|
+
const l = r.match(Ws) ? Fr(n) : null;
|
|
6779
6779
|
if (!l) {
|
|
6780
6780
|
rn(t, a, null);
|
|
6781
6781
|
return;
|
|
@@ -6819,7 +6819,7 @@ const Vd = (t, e) => {
|
|
|
6819
6819
|
c.length && Gd(l, c);
|
|
6820
6820
|
}), e ? Dd(e, r, s) : Mi;
|
|
6821
6821
|
};
|
|
6822
|
-
function
|
|
6822
|
+
function Wd(t, e) {
|
|
6823
6823
|
const n = {
|
|
6824
6824
|
...t
|
|
6825
6825
|
};
|
|
@@ -6829,9 +6829,9 @@ function Xd(t, e) {
|
|
|
6829
6829
|
}
|
|
6830
6830
|
return n;
|
|
6831
6831
|
}
|
|
6832
|
-
const
|
|
6832
|
+
const Xd = /[\s,]+/;
|
|
6833
6833
|
function Jd(t, e) {
|
|
6834
|
-
e.split(
|
|
6834
|
+
e.split(Xd).forEach((n) => {
|
|
6835
6835
|
switch (n.trim()) {
|
|
6836
6836
|
case "horizontal":
|
|
6837
6837
|
t.hFlip = !0;
|
|
@@ -6915,7 +6915,7 @@ function af(t) {
|
|
|
6915
6915
|
return t + (t.match(/^[-0-9.]+$/) ? "px" : "");
|
|
6916
6916
|
}
|
|
6917
6917
|
function of(t, e) {
|
|
6918
|
-
const n =
|
|
6918
|
+
const n = Wd(qi, e), r = e.mode || "svg", i = r === "svg" ? { ...rf } : {};
|
|
6919
6919
|
t.body.indexOf("xlink:") === -1 && delete i["xmlns:xlink"];
|
|
6920
6920
|
let s = typeof e.style == "string" ? e.style : "";
|
|
6921
6921
|
for (let k in e) {
|
|
@@ -7075,11 +7075,11 @@ function gn(t, e) {
|
|
|
7075
7075
|
const f = !!n.ssr || p(i), h = lf(n.icon, p(r), f, l, o);
|
|
7076
7076
|
$(a, h ? Yi(h.data, n) : null), p(a) && h.classes && mr(a, p(a).attributes.class = (typeof n.class == "string" ? n.class + " " : "") + h.classes.join(" "));
|
|
7077
7077
|
}
|
|
7078
|
-
), wn(),
|
|
7079
|
-
var c =
|
|
7078
|
+
), wn(), qe();
|
|
7079
|
+
var c = me(), u = fe(c);
|
|
7080
7080
|
{
|
|
7081
7081
|
var d = (f) => {
|
|
7082
|
-
var h =
|
|
7082
|
+
var h = me(), b = fe(h);
|
|
7083
7083
|
{
|
|
7084
7084
|
var m = (k) => {
|
|
7085
7085
|
var _ = cf();
|
|
@@ -7128,13 +7128,13 @@ function ne(t, e = "") {
|
|
|
7128
7128
|
const r = {
|
|
7129
7129
|
replace: (i, s) => {
|
|
7130
7130
|
let a = typeof s == "string" ? s : s.source;
|
|
7131
|
-
return a = a.replace(
|
|
7131
|
+
return a = a.replace(Le.caret, "$1"), n = n.replace(i, a), r;
|
|
7132
7132
|
},
|
|
7133
7133
|
getRegex: () => new RegExp(n, e)
|
|
7134
7134
|
};
|
|
7135
7135
|
return r;
|
|
7136
7136
|
}
|
|
7137
|
-
const
|
|
7137
|
+
const Le = {
|
|
7138
7138
|
codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
|
|
7139
7139
|
outputLinkReplace: /\\([\[\]])/g,
|
|
7140
7140
|
indentCodeCompensation: /^(\s+)(?:```)/,
|
|
@@ -7275,15 +7275,15 @@ const Ae = {
|
|
|
7275
7275
|
}, Hi = (t) => Yf[t];
|
|
7276
7276
|
function Je(t, e) {
|
|
7277
7277
|
if (e) {
|
|
7278
|
-
if (
|
|
7279
|
-
return t.replace(
|
|
7280
|
-
} else if (
|
|
7281
|
-
return t.replace(
|
|
7278
|
+
if (Le.escapeTest.test(t))
|
|
7279
|
+
return t.replace(Le.escapeReplace, Hi);
|
|
7280
|
+
} else if (Le.escapeTestNoEncode.test(t))
|
|
7281
|
+
return t.replace(Le.escapeReplaceNoEncode, Hi);
|
|
7282
7282
|
return t;
|
|
7283
7283
|
}
|
|
7284
7284
|
function Zi(t) {
|
|
7285
7285
|
try {
|
|
7286
|
-
t = encodeURI(t).replace(
|
|
7286
|
+
t = encodeURI(t).replace(Le.percentDecode, "%");
|
|
7287
7287
|
} catch {
|
|
7288
7288
|
return null;
|
|
7289
7289
|
}
|
|
@@ -7291,12 +7291,12 @@ function Zi(t) {
|
|
|
7291
7291
|
}
|
|
7292
7292
|
function Gi(t, e) {
|
|
7293
7293
|
var s;
|
|
7294
|
-
const n = t.replace(
|
|
7294
|
+
const n = t.replace(Le.findPipe, (a, o, l) => {
|
|
7295
7295
|
let c = !1, u = o;
|
|
7296
7296
|
for (; --u >= 0 && l[u] === "\\"; )
|
|
7297
7297
|
c = !c;
|
|
7298
7298
|
return c ? "|" : " |";
|
|
7299
|
-
}), r = n.split(
|
|
7299
|
+
}), r = n.split(Le.splitPipe);
|
|
7300
7300
|
let i = 0;
|
|
7301
7301
|
if (r[0].trim() || r.shift(), r.length > 0 && !((s = r.at(-1)) != null && s.trim()) && r.pop(), e)
|
|
7302
7302
|
if (r.length > e)
|
|
@@ -7305,7 +7305,7 @@ function Gi(t, e) {
|
|
|
7305
7305
|
for (; r.length < e; )
|
|
7306
7306
|
r.push("");
|
|
7307
7307
|
for (; i < r.length; i++)
|
|
7308
|
-
r[i] = r[i].trim().replace(
|
|
7308
|
+
r[i] = r[i].trim().replace(Le.slashPipe, "|");
|
|
7309
7309
|
return r;
|
|
7310
7310
|
}
|
|
7311
7311
|
function an(t, e, n) {
|
|
@@ -7367,7 +7367,7 @@ function Hf(t, e, n) {
|
|
|
7367
7367
|
}).join(`
|
|
7368
7368
|
`);
|
|
7369
7369
|
}
|
|
7370
|
-
class
|
|
7370
|
+
class Wn {
|
|
7371
7371
|
// set by the lexer
|
|
7372
7372
|
constructor(e) {
|
|
7373
7373
|
L(this, "options");
|
|
@@ -7851,20 +7851,20 @@ ${d}` : d;
|
|
|
7851
7851
|
}
|
|
7852
7852
|
}
|
|
7853
7853
|
}
|
|
7854
|
-
class
|
|
7854
|
+
class Ue {
|
|
7855
7855
|
constructor(e) {
|
|
7856
7856
|
L(this, "tokens");
|
|
7857
7857
|
L(this, "options");
|
|
7858
7858
|
L(this, "state");
|
|
7859
7859
|
L(this, "tokenizer");
|
|
7860
7860
|
L(this, "inlineQueue");
|
|
7861
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Lt, this.options.tokenizer = this.options.tokenizer || new
|
|
7861
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Lt, this.options.tokenizer = this.options.tokenizer || new Wn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
7862
7862
|
inLink: !1,
|
|
7863
7863
|
inRawBlock: !1,
|
|
7864
7864
|
top: !0
|
|
7865
7865
|
};
|
|
7866
7866
|
const n = {
|
|
7867
|
-
other:
|
|
7867
|
+
other: Le,
|
|
7868
7868
|
block: Cn.normal,
|
|
7869
7869
|
inline: sn.normal
|
|
7870
7870
|
};
|
|
@@ -7883,19 +7883,19 @@ class Ye {
|
|
|
7883
7883
|
* Static Lex Method
|
|
7884
7884
|
*/
|
|
7885
7885
|
static lex(e, n) {
|
|
7886
|
-
return new
|
|
7886
|
+
return new Ue(n).lex(e);
|
|
7887
7887
|
}
|
|
7888
7888
|
/**
|
|
7889
7889
|
* Static Lex Inline Method
|
|
7890
7890
|
*/
|
|
7891
7891
|
static lexInline(e, n) {
|
|
7892
|
-
return new
|
|
7892
|
+
return new Ue(n).inlineTokens(e);
|
|
7893
7893
|
}
|
|
7894
7894
|
/**
|
|
7895
7895
|
* Preprocessing
|
|
7896
7896
|
*/
|
|
7897
7897
|
lex(e) {
|
|
7898
|
-
e = e.replace(
|
|
7898
|
+
e = e.replace(Le.carriageReturn, `
|
|
7899
7899
|
`), this.blockTokens(e, this.tokens);
|
|
7900
7900
|
for (let n = 0; n < this.inlineQueue.length; n++) {
|
|
7901
7901
|
const r = this.inlineQueue[n];
|
|
@@ -7905,7 +7905,7 @@ class Ye {
|
|
|
7905
7905
|
}
|
|
7906
7906
|
blockTokens(e, n = [], r = !1) {
|
|
7907
7907
|
var i, s, a;
|
|
7908
|
-
for (this.options.pedantic && (e = e.replace(
|
|
7908
|
+
for (this.options.pedantic && (e = e.replace(Le.tabCharGlobal, " ").replace(Le.spaceLine, "")); e; ) {
|
|
7909
7909
|
let o;
|
|
7910
7910
|
if ((s = (i = this.options.extensions) == null ? void 0 : i.block) != null && s.some((c) => (o = c.call({ lexer: this }, e, n)) ? (e = e.substring(o.raw.length), n.push(o), !0) : !1))
|
|
7911
7911
|
continue;
|
|
@@ -8096,7 +8096,7 @@ class Ye {
|
|
|
8096
8096
|
return n;
|
|
8097
8097
|
}
|
|
8098
8098
|
}
|
|
8099
|
-
class
|
|
8099
|
+
class Xn {
|
|
8100
8100
|
// set by the parser
|
|
8101
8101
|
constructor(e) {
|
|
8102
8102
|
L(this, "options");
|
|
@@ -8108,7 +8108,7 @@ class Wn {
|
|
|
8108
8108
|
}
|
|
8109
8109
|
code({ text: e, lang: n, escaped: r }) {
|
|
8110
8110
|
var a;
|
|
8111
|
-
const i = (a = (n || "").match(
|
|
8111
|
+
const i = (a = (n || "").match(Le.notSpaceStart)) == null ? void 0 : a[0], s = e.replace(Le.endingNewline, "") + `
|
|
8112
8112
|
`;
|
|
8113
8113
|
return i ? '<pre><code class="language-' + Je(i) + '">' + (r ? s : Je(s, !0)) + `</code></pre>
|
|
8114
8114
|
` : "<pre><code>" + (r ? s : Je(s, !0)) + `</code></pre>
|
|
@@ -8261,24 +8261,24 @@ class gi {
|
|
|
8261
8261
|
return "";
|
|
8262
8262
|
}
|
|
8263
8263
|
}
|
|
8264
|
-
class
|
|
8264
|
+
class He {
|
|
8265
8265
|
constructor(e) {
|
|
8266
8266
|
L(this, "options");
|
|
8267
8267
|
L(this, "renderer");
|
|
8268
8268
|
L(this, "textRenderer");
|
|
8269
|
-
this.options = e || Lt, this.options.renderer = this.options.renderer || new
|
|
8269
|
+
this.options = e || Lt, this.options.renderer = this.options.renderer || new Xn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new gi();
|
|
8270
8270
|
}
|
|
8271
8271
|
/**
|
|
8272
8272
|
* Static Parse Method
|
|
8273
8273
|
*/
|
|
8274
8274
|
static parse(e, n) {
|
|
8275
|
-
return new
|
|
8275
|
+
return new He(n).parse(e);
|
|
8276
8276
|
}
|
|
8277
8277
|
/**
|
|
8278
8278
|
* Static Parse Inline Method
|
|
8279
8279
|
*/
|
|
8280
8280
|
static parseInline(e, n) {
|
|
8281
|
-
return new
|
|
8281
|
+
return new He(n).parseInline(e);
|
|
8282
8282
|
}
|
|
8283
8283
|
/**
|
|
8284
8284
|
* Parse Loop
|
|
@@ -8452,13 +8452,13 @@ class dn {
|
|
|
8452
8452
|
* Provide function to tokenize markdown
|
|
8453
8453
|
*/
|
|
8454
8454
|
provideLexer() {
|
|
8455
|
-
return this.block ?
|
|
8455
|
+
return this.block ? Ue.lex : Ue.lexInline;
|
|
8456
8456
|
}
|
|
8457
8457
|
/**
|
|
8458
8458
|
* Provide function to parse tokens
|
|
8459
8459
|
*/
|
|
8460
8460
|
provideParser() {
|
|
8461
|
-
return this.block ?
|
|
8461
|
+
return this.block ? He.parse : He.parseInline;
|
|
8462
8462
|
}
|
|
8463
8463
|
}
|
|
8464
8464
|
L(dn, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
@@ -8472,11 +8472,11 @@ class Zf {
|
|
|
8472
8472
|
L(this, "options", this.setOptions);
|
|
8473
8473
|
L(this, "parse", this.parseMarkdown(!0));
|
|
8474
8474
|
L(this, "parseInline", this.parseMarkdown(!1));
|
|
8475
|
-
L(this, "Parser",
|
|
8476
|
-
L(this, "Renderer",
|
|
8475
|
+
L(this, "Parser", He);
|
|
8476
|
+
L(this, "Renderer", Xn);
|
|
8477
8477
|
L(this, "TextRenderer", gi);
|
|
8478
|
-
L(this, "Lexer",
|
|
8479
|
-
L(this, "Tokenizer",
|
|
8478
|
+
L(this, "Lexer", Ue);
|
|
8479
|
+
L(this, "Tokenizer", Wn);
|
|
8480
8480
|
L(this, "Hooks", dn);
|
|
8481
8481
|
this.use(...e);
|
|
8482
8482
|
}
|
|
@@ -8534,7 +8534,7 @@ class Zf {
|
|
|
8534
8534
|
}
|
|
8535
8535
|
"childTokens" in s && s.childTokens && (n.childTokens[s.name] = s.childTokens);
|
|
8536
8536
|
}), i.extensions = n), r.renderer) {
|
|
8537
|
-
const s = this.defaults.renderer || new
|
|
8537
|
+
const s = this.defaults.renderer || new Xn(this.defaults);
|
|
8538
8538
|
for (const a in r.renderer) {
|
|
8539
8539
|
if (!(a in s))
|
|
8540
8540
|
throw new Error(`renderer '${a}' does not exist`);
|
|
@@ -8549,7 +8549,7 @@ class Zf {
|
|
|
8549
8549
|
i.renderer = s;
|
|
8550
8550
|
}
|
|
8551
8551
|
if (r.tokenizer) {
|
|
8552
|
-
const s = this.defaults.tokenizer || new
|
|
8552
|
+
const s = this.defaults.tokenizer || new Wn(this.defaults);
|
|
8553
8553
|
for (const a in r.tokenizer) {
|
|
8554
8554
|
if (!(a in s))
|
|
8555
8555
|
throw new Error(`tokenizer '${a}' does not exist`);
|
|
@@ -8597,10 +8597,10 @@ class Zf {
|
|
|
8597
8597
|
return this.defaults = { ...this.defaults, ...e }, this;
|
|
8598
8598
|
}
|
|
8599
8599
|
lexer(e, n) {
|
|
8600
|
-
return
|
|
8600
|
+
return Ue.lex(e, n ?? this.defaults);
|
|
8601
8601
|
}
|
|
8602
8602
|
parser(e, n) {
|
|
8603
|
-
return
|
|
8603
|
+
return He.parse(e, n ?? this.defaults);
|
|
8604
8604
|
}
|
|
8605
8605
|
parseMarkdown(e) {
|
|
8606
8606
|
return (r, i) => {
|
|
@@ -8612,7 +8612,7 @@ class Zf {
|
|
|
8612
8612
|
if (typeof r != "string")
|
|
8613
8613
|
return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(r) + ", string expected"));
|
|
8614
8614
|
a.hooks && (a.hooks.options = a, a.hooks.block = e);
|
|
8615
|
-
const l = a.hooks ? a.hooks.provideLexer() : e ?
|
|
8615
|
+
const l = a.hooks ? a.hooks.provideLexer() : e ? Ue.lex : Ue.lexInline, c = a.hooks ? a.hooks.provideParser() : e ? He.parse : He.parseInline;
|
|
8616
8616
|
if (a.async)
|
|
8617
8617
|
return Promise.resolve(a.hooks ? a.hooks.preprocess(r) : r).then((u) => l(u, a)).then((u) => a.hooks ? a.hooks.processAllTokens(u) : u).then((u) => a.walkTokens ? Promise.all(this.walkTokens(u, a.walkTokens)).then(() => u) : u).then((u) => c(u, a)).then((u) => a.hooks ? a.hooks.postprocess(u) : u).catch(o);
|
|
8618
8618
|
try {
|
|
@@ -8655,13 +8655,13 @@ re.walkTokens = function(t, e) {
|
|
|
8655
8655
|
return It.walkTokens(t, e);
|
|
8656
8656
|
};
|
|
8657
8657
|
re.parseInline = It.parseInline;
|
|
8658
|
-
re.Parser =
|
|
8659
|
-
re.parser =
|
|
8660
|
-
re.Renderer =
|
|
8658
|
+
re.Parser = He;
|
|
8659
|
+
re.parser = He.parse;
|
|
8660
|
+
re.Renderer = Xn;
|
|
8661
8661
|
re.TextRenderer = gi;
|
|
8662
|
-
re.Lexer =
|
|
8663
|
-
re.lexer =
|
|
8664
|
-
re.Tokenizer =
|
|
8662
|
+
re.Lexer = Ue;
|
|
8663
|
+
re.lexer = Ue.lex;
|
|
8664
|
+
re.Tokenizer = Wn;
|
|
8665
8665
|
re.Hooks = dn;
|
|
8666
8666
|
re.parse = re;
|
|
8667
8667
|
re.options;
|
|
@@ -8669,14 +8669,14 @@ re.setOptions;
|
|
|
8669
8669
|
re.use;
|
|
8670
8670
|
re.walkTokens;
|
|
8671
8671
|
re.parseInline;
|
|
8672
|
-
|
|
8673
|
-
|
|
8672
|
+
He.parse;
|
|
8673
|
+
Ue.lex;
|
|
8674
8674
|
const Gf = (t, e) => {
|
|
8675
8675
|
e(!e());
|
|
8676
8676
|
};
|
|
8677
8677
|
var Vf = (t, e, n, r, i, s) => {
|
|
8678
8678
|
e() || n(r(), i(), s());
|
|
8679
|
-
},
|
|
8679
|
+
}, Wf = /* @__PURE__ */ z('<i class="fa-solid fa-file-pdf svelte-1w7hgzh" style="color: #f0463c;"></i>'), Xf = /* @__PURE__ */ z('<i class="fa-solid fa-file-word svelte-1w7hgzh" style="color: #305b9a;"></i>'), Jf = /* @__PURE__ */ z('<i class="fa-solid fa-file-excel svelte-1w7hgzh" style="color: #0c7540;"></i>'), Qf = /* @__PURE__ */ z('<i class="fa-solid fa-file-powerpoint svelte-1w7hgzh" style="color: #d14b2b;"></i>'), Kf = /* @__PURE__ */ z('<i class="fa-solid fa-passport svelte-1w7hgzh" style="color: #ff9800"></i>'), eh = /* @__PURE__ */ z('<i class="fa-solid fa-file svelte-1w7hgzh"></i>'), th = /* @__PURE__ */ z('<button aria-label="Visualizza allegato"><!> <span class="svelte-1w7hgzh"> </span></button>'), nh = /* @__PURE__ */ z('<div class="dropdown-content svelte-1w7hgzh"></div>'), rh = /* @__PURE__ */ z('<div class="dropdown svelte-1w7hgzh"><button class="allegatibtn svelte-1w7hgzh" aria-label="Visualizza allegati"> </button> <!></div>'), ih = /* @__PURE__ */ z('<div class="message-attachments"><!></div>');
|
|
8680
8680
|
const sh = {
|
|
8681
8681
|
hash: "svelte-1w7hgzh",
|
|
8682
8682
|
code: ".dropdown.svelte-1w7hgzh {position:relative;display:inline-block;}.allegatibtn.svelte-1w7hgzh {display:flex;align-items:center;padding:8px 12px;background:#d5ddea;color:#333;border:none;border-radius:8px;cursor:pointer;font-size:14px;transition:200ms;border-radius:0 0 10px 10px;}.allegatibtn.svelte-1w7hgzh:hover {background:#e9ecef;color:#295dcf;}.dropdown-content.svelte-1w7hgzh {position:absolute;bottom:100%;left:5px;margin-bottom:5px;background:white;border:1px solid #e9ecef;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.4);min-width:180px;z-index:1000;}.dropdown-option.svelte-1w7hgzh {display:flex;align-items:center;width:100%;padding:10px 15px;border:none;background:white;color:#333;cursor:pointer;transition:all 0.2s;border-radius:0;}.dropdown-option.common.svelte-1w7hgzh {color:#8fa1c9;cursor:default;}.dropdown-option.svelte-1w7hgzh:first-child {border-top-left-radius:8px;border-top-right-radius:8px;}.dropdown-option.svelte-1w7hgzh:last-child {border-bottom-left-radius:8px;border-bottom-right-radius:8px;}.dropdown-option.svelte-1w7hgzh:hover {background:#f8f9fa;color:#295dcf;}.dropdown-option.common.svelte-1w7hgzh:hover {background:white;color:#8fa1c9;}.dropdown-option.svelte-1w7hgzh i:where(.svelte-1w7hgzh) {margin-right:10px;width:16px;text-align:center;}.dropdown-option.svelte-1w7hgzh span:where(.svelte-1w7hgzh) {font-size:14px;}"
|
|
@@ -8698,7 +8698,7 @@ function ma(t, e) {
|
|
|
8698
8698
|
{
|
|
8699
8699
|
var h = (b) => {
|
|
8700
8700
|
var m = nh();
|
|
8701
|
-
|
|
8701
|
+
Ce(m, 21, r, Ie, (S, k) => {
|
|
8702
8702
|
let _ = () => p(k).filename, C = () => p(k).external_id, E = () => p(k).gendoc_id, y = () => p(k).isCommon;
|
|
8703
8703
|
var w = th();
|
|
8704
8704
|
w.__click = [
|
|
@@ -8712,35 +8712,35 @@ function ma(t, e) {
|
|
|
8712
8712
|
var A = j(w);
|
|
8713
8713
|
{
|
|
8714
8714
|
var R = (M) => {
|
|
8715
|
-
var N =
|
|
8715
|
+
var N = Wf();
|
|
8716
8716
|
x(M, N);
|
|
8717
8717
|
}, F = (M) => {
|
|
8718
|
-
var N =
|
|
8718
|
+
var N = me(), ve = fe(N);
|
|
8719
8719
|
{
|
|
8720
8720
|
var le = (ee) => {
|
|
8721
|
-
var oe =
|
|
8721
|
+
var oe = Xf();
|
|
8722
8722
|
x(ee, oe);
|
|
8723
8723
|
}, de = (ee) => {
|
|
8724
|
-
var oe =
|
|
8724
|
+
var oe = me(), te = fe(oe);
|
|
8725
8725
|
{
|
|
8726
|
-
var
|
|
8727
|
-
var
|
|
8728
|
-
x(
|
|
8729
|
-
}, he = (
|
|
8730
|
-
var
|
|
8726
|
+
var Ee = (ge) => {
|
|
8727
|
+
var Se = Jf();
|
|
8728
|
+
x(ge, Se);
|
|
8729
|
+
}, he = (ge) => {
|
|
8730
|
+
var Se = me(), xe = fe(Se);
|
|
8731
8731
|
{
|
|
8732
|
-
var
|
|
8733
|
-
var
|
|
8734
|
-
x(
|
|
8735
|
-
},
|
|
8736
|
-
var
|
|
8732
|
+
var be = (Ae) => {
|
|
8733
|
+
var $e = Qf();
|
|
8734
|
+
x(Ae, $e);
|
|
8735
|
+
}, je = (Ae) => {
|
|
8736
|
+
var $e = me(), T = fe($e);
|
|
8737
8737
|
{
|
|
8738
8738
|
var Y = (ue) => {
|
|
8739
|
-
var
|
|
8740
|
-
x(ue,
|
|
8739
|
+
var we = Kf();
|
|
8740
|
+
x(ue, we);
|
|
8741
8741
|
}, _e = (ue) => {
|
|
8742
|
-
var
|
|
8743
|
-
x(ue,
|
|
8742
|
+
var we = eh();
|
|
8743
|
+
x(ue, we);
|
|
8744
8744
|
};
|
|
8745
8745
|
q(
|
|
8746
8746
|
T,
|
|
@@ -8750,22 +8750,22 @@ function ma(t, e) {
|
|
|
8750
8750
|
!0
|
|
8751
8751
|
);
|
|
8752
8752
|
}
|
|
8753
|
-
x(
|
|
8753
|
+
x(Ae, $e);
|
|
8754
8754
|
};
|
|
8755
8755
|
q(
|
|
8756
|
-
|
|
8757
|
-
(
|
|
8758
|
-
_().split(".").pop() === "pptx" ?
|
|
8756
|
+
xe,
|
|
8757
|
+
(Ae) => {
|
|
8758
|
+
_().split(".").pop() === "pptx" ? Ae(be) : Ae(je, !1);
|
|
8759
8759
|
},
|
|
8760
8760
|
!0
|
|
8761
8761
|
);
|
|
8762
8762
|
}
|
|
8763
|
-
x(
|
|
8763
|
+
x(ge, Se);
|
|
8764
8764
|
};
|
|
8765
8765
|
q(
|
|
8766
8766
|
te,
|
|
8767
|
-
(
|
|
8768
|
-
_().split(".").pop() === "xlsx" ?
|
|
8767
|
+
(ge) => {
|
|
8768
|
+
_().split(".").pop() === "xlsx" ? ge(Ee) : ge(he, !1);
|
|
8769
8769
|
},
|
|
8770
8770
|
!0
|
|
8771
8771
|
);
|
|
@@ -8773,7 +8773,7 @@ function ma(t, e) {
|
|
|
8773
8773
|
x(ee, oe);
|
|
8774
8774
|
};
|
|
8775
8775
|
q(
|
|
8776
|
-
|
|
8776
|
+
ve,
|
|
8777
8777
|
(ee) => {
|
|
8778
8778
|
_().split(".").pop() === "docx" ? ee(le) : ee(de, !1);
|
|
8779
8779
|
},
|
|
@@ -8786,8 +8786,8 @@ function ma(t, e) {
|
|
|
8786
8786
|
_().split(".").pop() === "pdf" ? M(R) : M(F, !1);
|
|
8787
8787
|
});
|
|
8788
8788
|
}
|
|
8789
|
-
var
|
|
8790
|
-
I(
|
|
8789
|
+
var W = B(A, 2), ae = j(W, !0);
|
|
8790
|
+
I(W), I(w), O(() => {
|
|
8791
8791
|
Qe(w, `${`dropdown-option ${y() ? "common" : ""}` ?? ""} svelte-1w7hgzh`), D(w, "title", `${y() ? "Documento comune" : "Visualizza allegato"}`), Tt(ae, _());
|
|
8792
8792
|
}), x(S, w);
|
|
8793
8793
|
}), I(m), x(b, m);
|
|
@@ -8848,29 +8848,29 @@ function ba(t, e) {
|
|
|
8848
8848
|
s(), n(), d();
|
|
8849
8849
|
});
|
|
8850
8850
|
var h = ph(), b = B(j(h), 2);
|
|
8851
|
-
|
|
8852
|
-
var w =
|
|
8851
|
+
Ce(b, 17, n, Ie, (E, y) => {
|
|
8852
|
+
var w = me(), A = fe(w);
|
|
8853
8853
|
{
|
|
8854
8854
|
var R = (F) => {
|
|
8855
|
-
var
|
|
8856
|
-
Rr(
|
|
8855
|
+
var W = uh(), ae = j(W), M = j(ae), N = j(M), ve = j(N);
|
|
8856
|
+
Rr(ve, () => p(y).html ?? re.parseInline(p(y).content), !1, !1), I(N), I(M);
|
|
8857
8857
|
var le = B(M, 2);
|
|
8858
8858
|
{
|
|
8859
8859
|
var de = (te) => {
|
|
8860
|
-
var
|
|
8860
|
+
var Ee = me(), he = fe(Ee);
|
|
8861
8861
|
{
|
|
8862
|
-
var
|
|
8863
|
-
var
|
|
8864
|
-
|
|
8865
|
-
},
|
|
8866
|
-
var
|
|
8867
|
-
|
|
8862
|
+
var ge = (xe) => {
|
|
8863
|
+
var be = oh();
|
|
8864
|
+
be.__click = [ah, l, c], x(xe, be);
|
|
8865
|
+
}, Se = (xe) => {
|
|
8866
|
+
var be = ch();
|
|
8867
|
+
be.__click = [lh, f, y], x(xe, be);
|
|
8868
8868
|
};
|
|
8869
|
-
q(he, (
|
|
8870
|
-
p(c) ?
|
|
8869
|
+
q(he, (xe) => {
|
|
8870
|
+
p(c) ? xe(ge) : xe(Se, !1);
|
|
8871
8871
|
});
|
|
8872
8872
|
}
|
|
8873
|
-
x(te,
|
|
8873
|
+
x(te, Ee);
|
|
8874
8874
|
};
|
|
8875
8875
|
q(le, (te) => {
|
|
8876
8876
|
p(y).sentByUser || te(de);
|
|
@@ -8893,7 +8893,7 @@ function ba(t, e) {
|
|
|
8893
8893
|
p(y).attachments.length > 0 && te(oe);
|
|
8894
8894
|
});
|
|
8895
8895
|
}
|
|
8896
|
-
I(
|
|
8896
|
+
I(W), O(() => Qe(M, Ms(p(y).sentByUser ? "message-sent" : "message-received"), "svelte-1frgo02")), x(F, W);
|
|
8897
8897
|
};
|
|
8898
8898
|
q(A, (F) => {
|
|
8899
8899
|
p(y).content != "" && F(R);
|
|
@@ -8908,7 +8908,7 @@ function ba(t, e) {
|
|
|
8908
8908
|
Rr(R, s, !1, !1), I(A), I(w);
|
|
8909
8909
|
var F = B(w, 2);
|
|
8910
8910
|
{
|
|
8911
|
-
var
|
|
8911
|
+
var W = (ae) => {
|
|
8912
8912
|
gn(ae, {
|
|
8913
8913
|
icon: "svg-spinners:90-ring-with-bg",
|
|
8914
8914
|
width: "25px",
|
|
@@ -8917,16 +8917,16 @@ function ba(t, e) {
|
|
|
8917
8917
|
});
|
|
8918
8918
|
};
|
|
8919
8919
|
q(F, (ae) => {
|
|
8920
|
-
r() && ae(
|
|
8920
|
+
r() && ae(W);
|
|
8921
8921
|
});
|
|
8922
8922
|
}
|
|
8923
8923
|
I(y), x(E, y);
|
|
8924
8924
|
}, k = (E) => {
|
|
8925
|
-
var y =
|
|
8925
|
+
var y = me(), w = fe(y);
|
|
8926
8926
|
{
|
|
8927
8927
|
var A = (R) => {
|
|
8928
|
-
var F = fh(),
|
|
8929
|
-
gn(
|
|
8928
|
+
var F = fh(), W = j(F);
|
|
8929
|
+
gn(W, {
|
|
8930
8930
|
icon: "svg-spinners:3-dots-bounce",
|
|
8931
8931
|
width: "25px",
|
|
8932
8932
|
height: "25px",
|
|
@@ -9128,7 +9128,7 @@ function wa(t, e) {
|
|
|
9128
9128
|
{
|
|
9129
9129
|
var u = (d) => {
|
|
9130
9130
|
var f = Sh(), h = B(j(f), 2);
|
|
9131
|
-
|
|
9131
|
+
Ce(h, 21, i, Ie, (b, m) => {
|
|
9132
9132
|
var S = zh(), k = j(S);
|
|
9133
9133
|
k.__click = [kh, r, m, a];
|
|
9134
9134
|
var _ = j(k), C = j(_, !0);
|
|
@@ -9183,7 +9183,7 @@ Z(
|
|
|
9183
9183
|
[],
|
|
9184
9184
|
!0
|
|
9185
9185
|
);
|
|
9186
|
-
var Th = /* @__PURE__ */ z('<div class="loading-placeholder svelte-
|
|
9186
|
+
var Th = /* @__PURE__ */ z('<div class="loading-placeholder svelte-1p82do8"><!></div>'), Ih = /* @__PURE__ */ z('<!> <div class="resize-border-left svelte-1p82do8"></div> <div class="resize-border-top svelte-1p82do8"></div> <div class="resize-handle svelte-1p82do8"><!></div> <!> <!> <!>', 1), Ch = /* @__PURE__ */ z('<div class="chat svelte-1p82do8"><!></div>'), jh = (t, e, n) => {
|
|
9187
9187
|
p(e) ? p(n) ? ($(n, !1), setTimeout(
|
|
9188
9188
|
() => {
|
|
9189
9189
|
$(e, !1);
|
|
@@ -9192,21 +9192,21 @@ var Th = /* @__PURE__ */ z('<div class="loading-placeholder svelte-jnr2v2"><!></
|
|
|
9192
9192
|
)) : $(e, !1) : $(e, !0);
|
|
9193
9193
|
}, Ah = /* @__PURE__ */ z('<div class="external-div"><!> <button><i class="fa-solid fa-comment-nodes"></i><span class="d-none d-md-inline ps-2">Assistente AI</span></button></div>');
|
|
9194
9194
|
const Rh = {
|
|
9195
|
-
hash: "svelte-
|
|
9196
|
-
code: ".loading-placeholder.svelte-
|
|
9195
|
+
hash: "svelte-1p82do8",
|
|
9196
|
+
code: ".loading-placeholder.svelte-1p82do8 {display:flex;justify-content:center;align-items:center;height:100%;}.chat.svelte-1p82do8 {position:fixed;bottom:0;right:0;width:75%;height:90%;min-width:300px;min-height:400px;border-radius:15px;display:flex;flex-direction:column;margin:30px;padding:10px;background:#295dcf;box-shadow:0 0 10px rgba(0, 0, 0, 0.1);resize:none;overflow:visible;z-index:1000;}.resize-handle.svelte-1p82do8 {position:absolute;top:-2px;left:-2px;cursor:nw-resize;z-index:1002;display:flex;align-items:flex-start;justify-content:flex-start;}.resize-border-left.svelte-1p82do8 {position:absolute;top:0;left:-2px;width:4px;height:100%;cursor:ew-resize;z-index:1001;background:transparent;}.resize-border-top.svelte-1p82do8 {position:absolute;top:-2px;left:0;width:100%;height:4px;cursor:ns-resize;z-index:1001;background:transparent;}.no-select.svelte-1p82do8 {user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;}"
|
|
9197
9197
|
};
|
|
9198
9198
|
function xa(t, e) {
|
|
9199
9199
|
U(e, !0), V(t, Rh);
|
|
9200
9200
|
let n = ie(!1), r = ie(!1), i = ie("it"), s = ie(""), a = ie(null), o = ie(P([])), l = ie(P([])), c = ie(!1), u = ie(!0), d = ie(P(new Audio())), f = ie(!0), h = ie(""), b = ie("");
|
|
9201
9201
|
const m = (M) => {
|
|
9202
9202
|
$(b, p(b) + M);
|
|
9203
|
-
}, S = async (M, N,
|
|
9203
|
+
}, S = async (M, N, ve = []) => {
|
|
9204
9204
|
if ($(h, ""), $(c, !0), $(l, P([
|
|
9205
9205
|
...p(l),
|
|
9206
9206
|
new _t((/* @__PURE__ */ new Date()).getTime(), !0, M, M)
|
|
9207
9207
|
])), p(l).length == 2 && ($(a, P(await ln.newChat())), $(o, P([...p(o), p(a)])), p(a).messages = p(l)), p(a))
|
|
9208
9208
|
try {
|
|
9209
|
-
await ln.sendMessage(p(a)._id, M, N,
|
|
9209
|
+
await ln.sendMessage(p(a)._id, M, N, ve, m, p(i)), $(a, P(await ln.getChat(p(a)._id))), $(b, ""), $(l, P([
|
|
9210
9210
|
...p(l),
|
|
9211
9211
|
p(a).messages[p(a).messages.length - 1]
|
|
9212
9212
|
])), p(f) || ni.getAudio(p(a).messages[p(a).messages.length - 1].content, p(i)).then((le) => {
|
|
@@ -9224,11 +9224,11 @@ function xa(t, e) {
|
|
|
9224
9224
|
});
|
|
9225
9225
|
const k = () => {
|
|
9226
9226
|
p(n) && ln.getChats().then((M) => {
|
|
9227
|
-
$(o, P(M.sort((N,
|
|
9228
|
-
if (N.messages.length === 0 &&
|
|
9227
|
+
$(o, P(M.sort((N, ve) => {
|
|
9228
|
+
if (N.messages.length === 0 && ve.messages.length === 0) return 0;
|
|
9229
9229
|
if (N.messages.length === 0) return 1;
|
|
9230
|
-
if (
|
|
9231
|
-
const le = N.messages[N.messages.length - 1], de =
|
|
9230
|
+
if (ve.messages.length === 0) return -1;
|
|
9231
|
+
const le = N.messages[N.messages.length - 1], de = ve.messages[ve.messages.length - 1], ee = (le == null ? void 0 : le.timeStamp) || 0;
|
|
9232
9232
|
return ((de == null ? void 0 : de.timeStamp) || 0) - ee;
|
|
9233
9233
|
})));
|
|
9234
9234
|
});
|
|
@@ -9246,22 +9246,22 @@ function xa(t, e) {
|
|
|
9246
9246
|
const de = N.closest(".resize-handle"), ee = N.classList.contains("resize-border-left"), oe = N.classList.contains("resize-border-top"), te = (he) => {
|
|
9247
9247
|
if (!_) return;
|
|
9248
9248
|
he.preventDefault();
|
|
9249
|
-
const
|
|
9249
|
+
const ge = document.querySelector(".chat"), Se = window.innerWidth * 0.75, xe = window.innerHeight * 0.9;
|
|
9250
9250
|
if (ee) {
|
|
9251
|
-
const
|
|
9252
|
-
|
|
9251
|
+
const be = C - he.clientX, je = Math.min(Math.max(y + be, 300), Se);
|
|
9252
|
+
ge.style.width = `${je}px`;
|
|
9253
9253
|
} else if (oe) {
|
|
9254
|
-
const
|
|
9255
|
-
|
|
9254
|
+
const be = E - he.clientY, je = Math.min(Math.max(w + be, 400), xe);
|
|
9255
|
+
ge.style.height = `${je}px`;
|
|
9256
9256
|
} else if (de) {
|
|
9257
|
-
const
|
|
9258
|
-
|
|
9257
|
+
const be = C - he.clientX, je = E - he.clientY, Ae = Math.min(Math.max(y + be, 300), Se), $e = Math.min(Math.max(w + je, 400), xe);
|
|
9258
|
+
ge.style.width = `${Ae}px`, ge.style.height = `${$e}px`;
|
|
9259
9259
|
}
|
|
9260
|
-
},
|
|
9260
|
+
}, Ee = () => {
|
|
9261
9261
|
var he;
|
|
9262
|
-
_ = !1, (he = document.querySelector(".chat")) == null || he.classList.remove("no-select"), document.removeEventListener("mousemove", te), document.removeEventListener("mouseup",
|
|
9262
|
+
_ = !1, (he = document.querySelector(".chat")) == null || he.classList.remove("no-select"), document.removeEventListener("mousemove", te), document.removeEventListener("mouseup", Ee);
|
|
9263
9263
|
};
|
|
9264
|
-
document.addEventListener("mousemove", te), document.addEventListener("mouseup",
|
|
9264
|
+
document.addEventListener("mousemove", te), document.addEventListener("mouseup", Ee);
|
|
9265
9265
|
}
|
|
9266
9266
|
}
|
|
9267
9267
|
Kr(async () => {
|
|
@@ -9276,10 +9276,10 @@ function xa(t, e) {
|
|
|
9276
9276
|
});
|
|
9277
9277
|
var R = Ah(), F = j(R);
|
|
9278
9278
|
{
|
|
9279
|
-
var
|
|
9279
|
+
var W = (M) => {
|
|
9280
9280
|
var N = Ch();
|
|
9281
9281
|
N.__mousedown = A;
|
|
9282
|
-
var
|
|
9282
|
+
var ve = j(N);
|
|
9283
9283
|
{
|
|
9284
9284
|
var le = (ee) => {
|
|
9285
9285
|
var oe = Th(), te = j(oe);
|
|
@@ -9290,11 +9290,11 @@ function xa(t, e) {
|
|
|
9290
9290
|
color: "white"
|
|
9291
9291
|
}), I(oe), x(ee, oe);
|
|
9292
9292
|
}, de = (ee) => {
|
|
9293
|
-
var oe =
|
|
9293
|
+
var oe = me(), te = fe(oe);
|
|
9294
9294
|
{
|
|
9295
|
-
var
|
|
9296
|
-
var
|
|
9297
|
-
wa(
|
|
9295
|
+
var Ee = (he) => {
|
|
9296
|
+
var ge = Ih(), Se = fe(ge);
|
|
9297
|
+
wa(Se, {
|
|
9298
9298
|
get showHistory() {
|
|
9299
9299
|
return p(r);
|
|
9300
9300
|
},
|
|
@@ -9320,8 +9320,8 @@ function xa(t, e) {
|
|
|
9320
9320
|
$(h, P(T));
|
|
9321
9321
|
}
|
|
9322
9322
|
});
|
|
9323
|
-
var
|
|
9324
|
-
gn(
|
|
9323
|
+
var xe = B(Se, 6), be = j(xe);
|
|
9324
|
+
gn(be, {
|
|
9325
9325
|
icon: "hugeicons:resize-field",
|
|
9326
9326
|
width: "25px",
|
|
9327
9327
|
height: "25px",
|
|
@@ -9329,9 +9329,9 @@ function xa(t, e) {
|
|
|
9329
9329
|
vFlip: !0,
|
|
9330
9330
|
color: "white",
|
|
9331
9331
|
style: "margin: 2px 0 0 2px;"
|
|
9332
|
-
}), I(
|
|
9333
|
-
var
|
|
9334
|
-
Hs(
|
|
9332
|
+
}), I(xe);
|
|
9333
|
+
var je = B(xe, 2);
|
|
9334
|
+
Hs(je, {
|
|
9335
9335
|
get show() {
|
|
9336
9336
|
return p(n);
|
|
9337
9337
|
},
|
|
@@ -9375,8 +9375,8 @@ function xa(t, e) {
|
|
|
9375
9375
|
$(h, P(T));
|
|
9376
9376
|
}
|
|
9377
9377
|
});
|
|
9378
|
-
var
|
|
9379
|
-
ba(
|
|
9378
|
+
var Ae = B(je, 2);
|
|
9379
|
+
ba(Ae, {
|
|
9380
9380
|
get messages() {
|
|
9381
9381
|
return p(l);
|
|
9382
9382
|
},
|
|
@@ -9408,8 +9408,8 @@ function xa(t, e) {
|
|
|
9408
9408
|
$(i, P(T));
|
|
9409
9409
|
}
|
|
9410
9410
|
});
|
|
9411
|
-
var
|
|
9412
|
-
Vs(
|
|
9411
|
+
var $e = B(Ae, 2);
|
|
9412
|
+
Vs($e, {
|
|
9413
9413
|
sendMessage: S,
|
|
9414
9414
|
get loading() {
|
|
9415
9415
|
return p(c);
|
|
@@ -9423,30 +9423,30 @@ function xa(t, e) {
|
|
|
9423
9423
|
set languageSelected(T) {
|
|
9424
9424
|
$(i, P(T));
|
|
9425
9425
|
}
|
|
9426
|
-
}), x(he,
|
|
9426
|
+
}), x(he, ge);
|
|
9427
9427
|
};
|
|
9428
9428
|
q(
|
|
9429
9429
|
te,
|
|
9430
9430
|
(he) => {
|
|
9431
|
-
p(a) && he(
|
|
9431
|
+
p(a) && he(Ee);
|
|
9432
9432
|
},
|
|
9433
9433
|
!0
|
|
9434
9434
|
);
|
|
9435
9435
|
}
|
|
9436
9436
|
x(ee, oe);
|
|
9437
9437
|
};
|
|
9438
|
-
q(
|
|
9438
|
+
q(ve, (ee) => {
|
|
9439
9439
|
p(u) ? ee(le) : ee(de, !1);
|
|
9440
9440
|
});
|
|
9441
9441
|
}
|
|
9442
9442
|
I(N), _n(3, N, () => bl, () => ({ y: 50, duration: 500 })), x(M, N);
|
|
9443
9443
|
};
|
|
9444
9444
|
q(F, (M) => {
|
|
9445
|
-
p(n) && M(
|
|
9445
|
+
p(n) && M(W);
|
|
9446
9446
|
});
|
|
9447
9447
|
}
|
|
9448
9448
|
var ae = B(F, 2);
|
|
9449
|
-
ae.__click = [jh, n, r], I(R), O(() => Qe(ae, `${`btn ${p(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-
|
|
9449
|
+
ae.__click = [jh, n, r], I(R), O(() => Qe(ae, `${`btn ${p(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-1p82do8`)), x(t, R), H();
|
|
9450
9450
|
}
|
|
9451
9451
|
kt(["mousedown", "click"]);
|
|
9452
9452
|
Z(xa, {}, [], [], !0);
|