akpm-knowledge-base-chat 1.0.69 → 1.0.70
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 +219 -219
- package/package.json +1 -1
package/CDN/akb-chat.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* Version: 1.0.
|
|
1
|
+
/* Version: 1.0.70 */
|
|
2
2
|
var ro = Object.defineProperty;
|
|
3
|
-
var
|
|
3
|
+
var qi = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
5
5
|
};
|
|
6
6
|
var io = (t, e, n) => e in t ? ro(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
7
|
-
var R = (t, e, n) => io(t, typeof e != "symbol" ? e + "" : e, n), Ni = (t, e, n) => e.has(t) ||
|
|
8
|
-
var Qe = (t, e, n) => (Ni(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Mr = (t, e, n) => e.has(t) ?
|
|
7
|
+
var R = (t, e, n) => io(t, typeof e != "symbol" ? e + "" : e, n), Ni = (t, e, n) => e.has(t) || qi("Cannot " + n);
|
|
8
|
+
var Qe = (t, e, n) => (Ni(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Mr = (t, e, n) => e.has(t) ? qi("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), Dr = (t, e, n, r) => (Ni(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
|
|
9
9
|
const so = "5";
|
|
10
10
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(so);
|
|
11
11
|
const ci = 1, ui = 2, _s = 4, ao = 8, oo = 16, lo = 1, co = 2, xs = 4, uo = 8, fo = 16, ho = 4, po = 1, vo = 2, ys = "[", di = "[!", fi = "]", vn = {}, Ke = Symbol();
|
|
@@ -103,10 +103,10 @@ function Oo(t) {
|
|
|
103
103
|
function Mo() {
|
|
104
104
|
throw new Error("https://svelte.dev/e/state_descriptors_fixed");
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Do() {
|
|
107
107
|
throw new Error("https://svelte.dev/e/state_prototype_fixed");
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function qo() {
|
|
110
110
|
throw new Error("https://svelte.dev/e/state_unsafe_local_read");
|
|
111
111
|
}
|
|
112
112
|
function No() {
|
|
@@ -144,7 +144,7 @@ function Ut(t, e = !1) {
|
|
|
144
144
|
function Is(t) {
|
|
145
145
|
return ke !== null && ke.f & st && (_t === null ? nl([t]) : _t.push(t)), t;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function qr(t, e) {
|
|
148
148
|
return x(
|
|
149
149
|
t,
|
|
150
150
|
$t(() => p(t))
|
|
@@ -330,7 +330,7 @@ function P(t, e = null, n) {
|
|
|
330
330
|
return c;
|
|
331
331
|
},
|
|
332
332
|
setPrototypeOf() {
|
|
333
|
-
|
|
333
|
+
Do();
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
);
|
|
@@ -391,7 +391,7 @@ function ge(t, e) {
|
|
|
391
391
|
}
|
|
392
392
|
return de;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function q(t, e = 1, n = !1) {
|
|
395
395
|
let r = ae ? de : t;
|
|
396
396
|
for (var i; e--; )
|
|
397
397
|
i = r, r = /** @type {TemplateNode} */
|
|
@@ -608,7 +608,7 @@ function Sr(t, e = 0) {
|
|
|
608
608
|
function wn(t, e = !0) {
|
|
609
609
|
return on(Gn | St, t, !0, e);
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function Ds(t) {
|
|
612
612
|
var e = t.teardown;
|
|
613
613
|
if (e !== null) {
|
|
614
614
|
const n = wi, r = ke;
|
|
@@ -620,7 +620,7 @@ function qs(t) {
|
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function qs(t) {
|
|
624
624
|
var e = t.deriveds;
|
|
625
625
|
if (e !== null) {
|
|
626
626
|
t.deriveds = null;
|
|
@@ -653,12 +653,12 @@ function yt(t, e = !0) {
|
|
|
653
653
|
}
|
|
654
654
|
n = !0;
|
|
655
655
|
}
|
|
656
|
-
Ns(t, e && !n),
|
|
656
|
+
Ns(t, e && !n), qs(t), Bn(t, 0), ht(t, yn);
|
|
657
657
|
var a = t.transitions;
|
|
658
658
|
if (a !== null)
|
|
659
659
|
for (const l of a)
|
|
660
660
|
l.stop();
|
|
661
|
-
|
|
661
|
+
Ds(t);
|
|
662
662
|
var o = t.parent;
|
|
663
663
|
o !== null && o.first !== null && Bs(t), t.next = t.prev = t.teardown = t.ctx = t.deps = t.fn = t.nodes_start = t.nodes_end = null;
|
|
664
664
|
}
|
|
@@ -732,7 +732,7 @@ function ki(t) {
|
|
|
732
732
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
733
733
|
}
|
|
734
734
|
const Gs = 0, tl = 1;
|
|
735
|
-
let nr = !1, rr = Gs,
|
|
735
|
+
let nr = !1, rr = Gs, qn = !1, Nn = null, gn = !1, wi = !1;
|
|
736
736
|
function Hi(t) {
|
|
737
737
|
gn = t;
|
|
738
738
|
}
|
|
@@ -900,7 +900,7 @@ function Cr(t) {
|
|
|
900
900
|
var n = oe, r = me;
|
|
901
901
|
oe = t;
|
|
902
902
|
try {
|
|
903
|
-
e & xr ? Xo(t) : Ns(t),
|
|
903
|
+
e & xr ? Xo(t) : Ns(t), qs(t), Ds(t);
|
|
904
904
|
var i = Xs(t);
|
|
905
905
|
t.teardown = typeof i == "function" ? i : null, t.wv = Ws;
|
|
906
906
|
var s = t.deps, a;
|
|
@@ -958,13 +958,13 @@ function ol(t) {
|
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
960
|
function ll() {
|
|
961
|
-
if (
|
|
961
|
+
if (qn = !1, mn > 1001)
|
|
962
962
|
return;
|
|
963
963
|
const t = Qt;
|
|
964
|
-
Qt = [], Ks(t),
|
|
964
|
+
Qt = [], Ks(t), qn || (mn = 0, Nn = null);
|
|
965
965
|
}
|
|
966
966
|
function Er(t) {
|
|
967
|
-
rr === Gs && (
|
|
967
|
+
rr === Gs && (qn || (qn = !0, queueMicrotask(ll))), Nn = t;
|
|
968
968
|
for (var e = t; e.parent !== null; ) {
|
|
969
969
|
e = e.parent;
|
|
970
970
|
var n = e.f;
|
|
@@ -1018,7 +1018,7 @@ function v(t) {
|
|
|
1018
1018
|
try {
|
|
1019
1019
|
Qs();
|
|
1020
1020
|
const i = [];
|
|
1021
|
-
rr = tl, Qt = i,
|
|
1021
|
+
rr = tl, Qt = i, qn = !1, Ks(n);
|
|
1022
1022
|
var r = t == null ? void 0 : t();
|
|
1023
1023
|
return el(), (Qt.length > 0 || i.length > 0) && v(), mn = 0, Nn = null, r;
|
|
1024
1024
|
} finally {
|
|
@@ -1042,7 +1042,7 @@ function p(t) {
|
|
|
1042
1042
|
), r;
|
|
1043
1043
|
}
|
|
1044
1044
|
if (ke !== null && !Zt) {
|
|
1045
|
-
_t !== null && _t.includes(t) &&
|
|
1045
|
+
_t !== null && _t.includes(t) && qo();
|
|
1046
1046
|
var i = ke.deps;
|
|
1047
1047
|
t.rv < gr && (t.rv = gr, tt === null && i !== null && i[it] === t ? it++ : tt === null ? tt = [t] : tt.push(t));
|
|
1048
1048
|
} else if (n && /** @type {Derived} */
|
|
@@ -1544,13 +1544,13 @@ function Ye(t, e, n, r, i, s = null) {
|
|
|
1544
1544
|
de, b = !0, Lt(!1);
|
|
1545
1545
|
break;
|
|
1546
1546
|
}
|
|
1547
|
-
var
|
|
1547
|
+
var D = h[E], w = r(D, E);
|
|
1548
1548
|
_ = la(
|
|
1549
1549
|
de,
|
|
1550
1550
|
o,
|
|
1551
1551
|
$,
|
|
1552
1552
|
null,
|
|
1553
|
-
|
|
1553
|
+
D,
|
|
1554
1554
|
w,
|
|
1555
1555
|
E,
|
|
1556
1556
|
i,
|
|
@@ -1581,12 +1581,12 @@ function Ye(t, e, n, r, i, s = null) {
|
|
|
1581
1581
|
}
|
|
1582
1582
|
function bl(t, e, n, r, i, s, a, o) {
|
|
1583
1583
|
var Fe, Ne, ue, we;
|
|
1584
|
-
var l = (i & ao) !== 0, c = (i & (ci | ui)) !== 0, u = t.length, d = e.items, f = e.first, h = f, m, b = null, S, $ = [], _ = [], E,
|
|
1584
|
+
var l = (i & ao) !== 0, c = (i & (ci | ui)) !== 0, u = t.length, d = e.items, f = e.first, h = f, m, b = null, S, $ = [], _ = [], E, D, w, z;
|
|
1585
1585
|
if (l)
|
|
1586
1586
|
for (z = 0; z < u; z += 1)
|
|
1587
|
-
E = t[z],
|
|
1587
|
+
E = t[z], D = a(E, z), w = d.get(D), w !== void 0 && ((Fe = w.a) == null || Fe.measure(), (S ?? (S = /* @__PURE__ */ new Set())).add(w));
|
|
1588
1588
|
for (z = 0; z < u; z += 1) {
|
|
1589
|
-
if (E = t[z],
|
|
1589
|
+
if (E = t[z], D = a(E, z), w = d.get(D), w === void 0) {
|
|
1590
1590
|
var I = h ? (
|
|
1591
1591
|
/** @type {TemplateNode} */
|
|
1592
1592
|
h.e.nodes_start
|
|
@@ -1597,11 +1597,11 @@ function bl(t, e, n, r, i, s, a, o) {
|
|
|
1597
1597
|
b,
|
|
1598
1598
|
b === null ? e.first : b.next,
|
|
1599
1599
|
E,
|
|
1600
|
-
|
|
1600
|
+
D,
|
|
1601
1601
|
z,
|
|
1602
1602
|
r,
|
|
1603
1603
|
i
|
|
1604
|
-
), d.set(
|
|
1604
|
+
), d.set(D, b), $ = [], _ = [], h = b.next;
|
|
1605
1605
|
continue;
|
|
1606
1606
|
}
|
|
1607
1607
|
if (c && kl(w, E, z, i), w.e.f & wt && (hr(w.e), l && ((Ne = w.a) == null || Ne.unfix(), (S ?? (S = /* @__PURE__ */ new Set())).delete(w))), w !== h) {
|
|
@@ -1619,7 +1619,7 @@ function bl(t, e, n, r, i, s, a, o) {
|
|
|
1619
1619
|
m.delete(w), Wi(w, h, n), Bt(e, w.prev, w.next), Bt(e, w, b === null ? e.first : b.next), Bt(e, b, w), b = w;
|
|
1620
1620
|
continue;
|
|
1621
1621
|
}
|
|
1622
|
-
for ($ = [], _ = []; h !== null && h.k !==
|
|
1622
|
+
for ($ = [], _ = []; h !== null && h.k !== D; )
|
|
1623
1623
|
(s || !(h.e.f & wt)) && (m ?? (m = /* @__PURE__ */ new Set())).add(h), _.push(h), h = h.next;
|
|
1624
1624
|
if (h === null)
|
|
1625
1625
|
continue;
|
|
@@ -1819,12 +1819,12 @@ function Ji(t, e, n, r, i = !1, s = !1, a = !1) {
|
|
|
1819
1819
|
var h = $[0] + $[1];
|
|
1820
1820
|
if (h !== "$$") {
|
|
1821
1821
|
if (h === "on") {
|
|
1822
|
-
const E = {},
|
|
1822
|
+
const E = {}, D = "$$" + $;
|
|
1823
1823
|
let w = $.slice(2);
|
|
1824
1824
|
var m = bo(w);
|
|
1825
1825
|
if (go(w) && (w = w.slice(0, -7), E.capture = !0), !m && f) {
|
|
1826
1826
|
if (_ != null) continue;
|
|
1827
|
-
t.removeEventListener(w, o[
|
|
1827
|
+
t.removeEventListener(w, o[D], E), o[D] = null;
|
|
1828
1828
|
}
|
|
1829
1829
|
if (_ != null)
|
|
1830
1830
|
if (m)
|
|
@@ -1833,7 +1833,7 @@ function Ji(t, e, n, r, i = !1, s = !1, a = !1) {
|
|
|
1833
1833
|
let z = function(I) {
|
|
1834
1834
|
o[$].call(this, I);
|
|
1835
1835
|
};
|
|
1836
|
-
o[
|
|
1836
|
+
o[D] = sa(w, t, z, E);
|
|
1837
1837
|
}
|
|
1838
1838
|
else m && (t[`__${w}`] = void 0);
|
|
1839
1839
|
} else if ($ === "style" && _ != null)
|
|
@@ -1863,11 +1863,11 @@ function Ji(t, e, n, r, i = !1, s = !1, a = !1) {
|
|
|
1863
1863
|
t
|
|
1864
1864
|
);
|
|
1865
1865
|
if (b === "value") {
|
|
1866
|
-
let
|
|
1867
|
-
E.removeAttribute(b), E.defaultValue =
|
|
1866
|
+
let D = E.defaultValue;
|
|
1867
|
+
E.removeAttribute(b), E.defaultValue = D;
|
|
1868
1868
|
} else {
|
|
1869
|
-
let
|
|
1870
|
-
E.removeAttribute(b), E.defaultChecked =
|
|
1869
|
+
let D = E.defaultChecked;
|
|
1870
|
+
E.removeAttribute(b), E.defaultChecked = D;
|
|
1871
1871
|
}
|
|
1872
1872
|
} else
|
|
1873
1873
|
t.removeAttribute($);
|
|
@@ -2049,13 +2049,13 @@ function ri(t, e, n, r, i) {
|
|
|
2049
2049
|
e.duration * Math.abs($)
|
|
2050
2050
|
), E = [];
|
|
2051
2051
|
if (_ > 0) {
|
|
2052
|
-
var
|
|
2052
|
+
var D = !1;
|
|
2053
2053
|
if (c)
|
|
2054
2054
|
for (var w = Math.ceil(_ / 16.666666666666668), z = 0; z <= w; z += 1) {
|
|
2055
2055
|
var I = S + $ * d(z / w), O = Xi(c(I, 1 - I));
|
|
2056
|
-
E.push(O),
|
|
2056
|
+
E.push(O), D || (D = O.overflow === "hidden");
|
|
2057
2057
|
}
|
|
2058
|
-
|
|
2058
|
+
D && (t.style.overflow = "hidden"), m = () => {
|
|
2059
2059
|
var Y = (
|
|
2060
2060
|
/** @type {number} */
|
|
2061
2061
|
/** @type {globalThis.Animation} */
|
|
@@ -2315,7 +2315,7 @@ const Ml = {
|
|
|
2315
2315
|
return Reflect.ownKeys(t.props).filter((e) => !t.exclude.includes(e));
|
|
2316
2316
|
}
|
|
2317
2317
|
};
|
|
2318
|
-
function
|
|
2318
|
+
function Dl(t, e) {
|
|
2319
2319
|
return new Proxy({ props: t, exclude: e, special: {}, version: et(0) }, Ml);
|
|
2320
2320
|
}
|
|
2321
2321
|
function es(t) {
|
|
@@ -2374,10 +2374,10 @@ function g(t, e, n, r) {
|
|
|
2374
2374
|
return arguments.length > 0 ? ((!s || !Y || _ || l) && d(Y ? S() : O), O) : S();
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
2377
|
-
var E = !1,
|
|
2377
|
+
var E = !1, D = !1, w = /* @__PURE__ */ zr(c), z = es(
|
|
2378
2378
|
() => /* @__PURE__ */ gt(() => {
|
|
2379
2379
|
var O = S(), Y = p(w);
|
|
2380
|
-
return E ? (E = !1,
|
|
2380
|
+
return E ? (E = !1, D = !0, Y) : (D = !1, w.v = O);
|
|
2381
2381
|
})
|
|
2382
2382
|
);
|
|
2383
2383
|
return i || (z.equals = vi), function(O, Y) {
|
|
@@ -2388,7 +2388,7 @@ function g(t, e, n, r) {
|
|
|
2388
2388
|
return p(z);
|
|
2389
2389
|
};
|
|
2390
2390
|
}
|
|
2391
|
-
function
|
|
2391
|
+
function ql(t) {
|
|
2392
2392
|
return new Nl(t);
|
|
2393
2393
|
}
|
|
2394
2394
|
var At, lt;
|
|
@@ -2422,14 +2422,14 @@ class Nl {
|
|
|
2422
2422
|
}
|
|
2423
2423
|
}
|
|
2424
2424
|
);
|
|
2425
|
-
|
|
2425
|
+
Dr(this, lt, (e.hydrate ? vl : aa)(e.component, {
|
|
2426
2426
|
target: e.target,
|
|
2427
2427
|
anchor: e.anchor,
|
|
2428
2428
|
props: i,
|
|
2429
2429
|
context: e.context,
|
|
2430
2430
|
intro: e.intro ?? !1,
|
|
2431
2431
|
recover: e.recover
|
|
2432
|
-
})), (!((s = e == null ? void 0 : e.props) != null && s.$$host) || e.sync === !1) && v(),
|
|
2432
|
+
})), (!((s = e == null ? void 0 : e.props) != null && s.$$host) || e.sync === !1) && v(), Dr(this, At, i.$$events);
|
|
2433
2433
|
for (const a of Object.keys(Qe(this, lt)))
|
|
2434
2434
|
a === "$set" || a === "$destroy" || a === "$on" || lr(this, a, {
|
|
2435
2435
|
get() {
|
|
@@ -2545,7 +2545,7 @@ typeof HTMLElement == "function" && (pa = class extends HTMLElement {
|
|
|
2545
2545
|
}
|
|
2546
2546
|
for (const i in this.$$p_d)
|
|
2547
2547
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
2548
|
-
this.$$c =
|
|
2548
|
+
this.$$c = ql({
|
|
2549
2549
|
component: this.$$ctor,
|
|
2550
2550
|
target: this.shadowRoot || this,
|
|
2551
2551
|
props: {
|
|
@@ -2856,7 +2856,7 @@ function ns(t) {
|
|
|
2856
2856
|
function Jl(t) {
|
|
2857
2857
|
return Gl.includes(t);
|
|
2858
2858
|
}
|
|
2859
|
-
const Vl = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", Xl = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", Ql = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", Kl = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", ec = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", tc = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", nc = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", rc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", ic = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", sc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", ac = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, oc = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", lc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", cc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", uc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", dc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", fc = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", pc = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Documenti", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Ricerca in corso...", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Inserisci almeno 3 caratteri per iniziare la ricerca", kc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna normativa trovata", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun documento trovato", _c = /* @__NO_SIDE_EFFECTS__ */ () => "Riproduci", xc = /* @__NO_SIDE_EFFECTS__ */ () => "Pausa", yc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante l'invio del messaggio. Riprova.", zc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna chat attiva. Crea una nuova chat per iniziare.", $c = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante il caricamento del nome utente.", Sc = /* @__NO_SIDE_EFFECTS__ */ () => "Manuale Suite", Tc = /* @__NO_SIDE_EFFECTS__ */ () => "Ferma", Cc = /* @__NO_SIDE_EFFECTS__ */ () => "AI Assistant", Ec = /* @__NO_SIDE_EFFECTS__ */ () => "Type your message here...", Ic = /* @__NO_SIDE_EFFECTS__ */ () => "Add attachment", Ac = /* @__NO_SIDE_EFFECTS__ */ () => "Normatives", Rc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", Lc = /* @__NO_SIDE_EFFECTS__ */ () => "Choose", jc = /* @__NO_SIDE_EFFECTS__ */ () => "Common Document", Pc = /* @__NO_SIDE_EFFECTS__ */ () => "Stop recording", Fc = /* @__NO_SIDE_EFFECTS__ */ () => "Start recording", Oc = /* @__NO_SIDE_EFFECTS__ */ () => "Send message", Mc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Are you sure you want to delete the chat: ${t.chatTitle}?`,
|
|
2859
|
+
const Vl = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", Xl = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", Ql = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", Kl = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", ec = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", tc = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", nc = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", rc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", ic = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", sc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", ac = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, oc = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", lc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", cc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", uc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", dc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", fc = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", pc = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Documenti", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Ricerca in corso...", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Inserisci almeno 3 caratteri per iniziare la ricerca", kc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna normativa trovata", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun documento trovato", _c = /* @__NO_SIDE_EFFECTS__ */ () => "Riproduci", xc = /* @__NO_SIDE_EFFECTS__ */ () => "Pausa", yc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante l'invio del messaggio. Riprova.", zc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna chat attiva. Crea una nuova chat per iniziare.", $c = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante il caricamento del nome utente.", Sc = /* @__NO_SIDE_EFFECTS__ */ () => "Manuale Suite", Tc = /* @__NO_SIDE_EFFECTS__ */ () => "Ferma", Cc = /* @__NO_SIDE_EFFECTS__ */ () => "AI Assistant", Ec = /* @__NO_SIDE_EFFECTS__ */ () => "Type your message here...", Ic = /* @__NO_SIDE_EFFECTS__ */ () => "Add attachment", Ac = /* @__NO_SIDE_EFFECTS__ */ () => "Normatives", Rc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", Lc = /* @__NO_SIDE_EFFECTS__ */ () => "Choose", jc = /* @__NO_SIDE_EFFECTS__ */ () => "Common Document", Pc = /* @__NO_SIDE_EFFECTS__ */ () => "Stop recording", Fc = /* @__NO_SIDE_EFFECTS__ */ () => "Start recording", Oc = /* @__NO_SIDE_EFFECTS__ */ () => "Send message", Mc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Are you sure you want to delete the chat: ${t.chatTitle}?`, Dc = /* @__NO_SIDE_EFFECTS__ */ () => "New Chat", qc = /* @__NO_SIDE_EFFECTS__ */ () => "History", Nc = /* @__NO_SIDE_EFFECTS__ */ () => "Unmute", Bc = /* @__NO_SIDE_EFFECTS__ */ () => "Mute", Uc = /* @__NO_SIDE_EFFECTS__ */ () => "Show history", Yc = /* @__NO_SIDE_EFFECTS__ */ () => "Close", Hc = /* @__NO_SIDE_EFFECTS__ */ () => "Sources", Zc = /* @__NO_SIDE_EFFECTS__ */ () => "View attachment", Gc = /* @__NO_SIDE_EFFECTS__ */ () => "Search", Wc = /* @__NO_SIDE_EFFECTS__ */ () => "Documents", Jc = /* @__NO_SIDE_EFFECTS__ */ () => "Search in progress...", Vc = /* @__NO_SIDE_EFFECTS__ */ () => "Please enter at least 3 characters to start the search", Xc = /* @__NO_SIDE_EFFECTS__ */ () => "No normative found", Qc = /* @__NO_SIDE_EFFECTS__ */ () => "No document found", Kc = /* @__NO_SIDE_EFFECTS__ */ () => "Play", eu = /* @__NO_SIDE_EFFECTS__ */ () => "Pause", tu = /* @__NO_SIDE_EFFECTS__ */ () => "Error sending message. Please try again.", nu = /* @__NO_SIDE_EFFECTS__ */ () => "No active chat. Please create a new chat to get started.", ru = /* @__NO_SIDE_EFFECTS__ */ () => "Error loading username.", iu = /* @__NO_SIDE_EFFECTS__ */ () => "Suite Manual", su = /* @__NO_SIDE_EFFECTS__ */ () => "Stop", au = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2860
2860
|
en: Cc,
|
|
2861
2861
|
it: Vl
|
|
2862
2862
|
})[e.languageTag ?? ie()](), ou = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
@@ -2890,10 +2890,10 @@ const Vl = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", Xl = /* @__NO_SIDE_
|
|
|
2890
2890
|
en: Mc,
|
|
2891
2891
|
it: ac
|
|
2892
2892
|
})[e.languageTag ?? ie()](t), ba = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2893
|
-
en:
|
|
2893
|
+
en: Dc,
|
|
2894
2894
|
it: oc
|
|
2895
2895
|
})[e.languageTag ?? ie()](), ka = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2896
|
-
en:
|
|
2896
|
+
en: qc,
|
|
2897
2897
|
it: lc
|
|
2898
2898
|
})[e.languageTag ?? ie()](), vu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2899
2899
|
en: Nc,
|
|
@@ -2970,11 +2970,11 @@ function _a(t, e) {
|
|
|
2970
2970
|
let n = g(e, "show", 15, !1), r = g(e, "showHistory", 15), i = g(e, "actChat", 15), s = g(e, "muted", 15), a = g(e, "languageSelected", 15), o = g(e, "username", 15), l = g(e, "error", 15), c = g(e, "newChat", 7);
|
|
2971
2971
|
Ir(() => {
|
|
2972
2972
|
});
|
|
2973
|
-
var u = Ou(), d = C(u), f = C(d), h =
|
|
2973
|
+
var u = Ou(), d = C(u), f = C(d), h = q(C(f), 2), m = C(h);
|
|
2974
2974
|
m.value = (m.__value = "it") == null ? "" : "it";
|
|
2975
|
-
var b =
|
|
2975
|
+
var b = q(m);
|
|
2976
2976
|
b.value = (b.__value = "en") == null ? "" : "en", y(h), y(f);
|
|
2977
|
-
var S =
|
|
2977
|
+
var S = q(f, 2), $ = C(S);
|
|
2978
2978
|
{
|
|
2979
2979
|
var _ = (I) => {
|
|
2980
2980
|
var O = Ru();
|
|
@@ -2992,17 +2992,17 @@ function _a(t, e) {
|
|
|
2992
2992
|
s() ? I(_) : I(E, !1);
|
|
2993
2993
|
});
|
|
2994
2994
|
}
|
|
2995
|
-
var
|
|
2996
|
-
|
|
2995
|
+
var D = q($, 2);
|
|
2996
|
+
D.__click = function(...I) {
|
|
2997
2997
|
var O;
|
|
2998
2998
|
(O = c()) == null || O.apply(this, I);
|
|
2999
2999
|
};
|
|
3000
|
-
var w = D
|
|
3000
|
+
var w = q(D, 2);
|
|
3001
3001
|
w.__click = [Pu, r];
|
|
3002
|
-
var z =
|
|
3002
|
+
var z = q(w, 2);
|
|
3003
3003
|
return z.__click = [Fu, r, n], y(S), y(d), y(u), F(
|
|
3004
3004
|
(I, O, Y, W) => {
|
|
3005
|
-
M(
|
|
3005
|
+
M(D, "title", I), M(w, "title", O), M(w, "aria-label", Y), M(z, "title", W), M(z, "aria-label", W);
|
|
3006
3006
|
},
|
|
3007
3007
|
[
|
|
3008
3008
|
() => /* @__PURE__ */ ba(),
|
|
@@ -3078,9 +3078,9 @@ ne(
|
|
|
3078
3078
|
[],
|
|
3079
3079
|
!0
|
|
3080
3080
|
);
|
|
3081
|
-
const
|
|
3081
|
+
const Du = () => {
|
|
3082
3082
|
switch (H.getEnvironmentId()) {
|
|
3083
|
-
case "
|
|
3083
|
+
case "aks_svi":
|
|
3084
3084
|
return "http://localhost:8080";
|
|
3085
3085
|
case "aks_qua":
|
|
3086
3086
|
return "https://aks-knowledge-base-back-65440859697.europe-west1.run.app";
|
|
@@ -3089,7 +3089,7 @@ const qu = () => {
|
|
|
3089
3089
|
default:
|
|
3090
3090
|
return "https://aks-knowledge-base-back-573906316236.europe-west1.run.app";
|
|
3091
3091
|
}
|
|
3092
|
-
},
|
|
3092
|
+
}, qu = () => {
|
|
3093
3093
|
const e = document.cookie.split(";").find((n) => n.includes("akb-chat-token"));
|
|
3094
3094
|
return e ? e.split("=")[1] : "";
|
|
3095
3095
|
}, Nu = () => {
|
|
@@ -3101,8 +3101,8 @@ const qu = () => {
|
|
|
3101
3101
|
}, Uu = (t) => {
|
|
3102
3102
|
document.cookie = `akb-chat-forge-pinned=${t}; path=/; max-age=31536000; SameSite=Lax`;
|
|
3103
3103
|
}, H = {
|
|
3104
|
-
getUrl:
|
|
3105
|
-
getToken:
|
|
3104
|
+
getUrl: Du,
|
|
3105
|
+
getToken: qu,
|
|
3106
3106
|
getEnvironmentId: Nu,
|
|
3107
3107
|
getForgeButtonsPinned: Bu,
|
|
3108
3108
|
setForgeButtonsPinned: Uu
|
|
@@ -3586,13 +3586,13 @@ function dd(t, e) {
|
|
|
3586
3586
|
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");
|
|
3587
3587
|
var u = cd(), d = C(u), f = C(d), h = C(f), m = C(h);
|
|
3588
3588
|
y(h);
|
|
3589
|
-
var b =
|
|
3589
|
+
var b = q(h, 2), S = C(b);
|
|
3590
3590
|
y(b);
|
|
3591
|
-
var $ =
|
|
3591
|
+
var $ = q(b, 2), _ = C($);
|
|
3592
3592
|
y($);
|
|
3593
|
-
var E =
|
|
3593
|
+
var E = q($, 2), D = C(E);
|
|
3594
3594
|
return y(E), y(f), y(d), y(u), F(() => {
|
|
3595
|
-
M(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${s() ?? ""}; --ballTopRightColor: ${a() ?? ""}; --ballBottomLeftColor: ${o() ?? ""}; --ballBottomRightColor: ${l() ?? ""}; --duration: ${c() ?? ""};`), te(f, "pause-animation", i()), te(m, "pause-animation", i()), te(S, "pause-animation", i()), te(_, "pause-animation", i()), te(
|
|
3595
|
+
M(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${s() ?? ""}; --ballTopRightColor: ${a() ?? ""}; --ballBottomLeftColor: ${o() ?? ""}; --ballBottomRightColor: ${l() ?? ""}; --duration: ${c() ?? ""};`), te(f, "pause-animation", i()), te(m, "pause-animation", i()), te(S, "pause-animation", i()), te(_, "pause-animation", i()), te(D, "pause-animation", i());
|
|
3596
3596
|
}), k(t, u), ee({
|
|
3597
3597
|
get size() {
|
|
3598
3598
|
return n();
|
|
@@ -3660,7 +3660,7 @@ ne(
|
|
|
3660
3660
|
[],
|
|
3661
3661
|
!0
|
|
3662
3662
|
);
|
|
3663
|
-
const
|
|
3663
|
+
const qe = /[a-zA-Z]/, Si = (t, e) => {
|
|
3664
3664
|
if (t[0] === "#" && (t = t.slice(1)), t.length === 3) {
|
|
3665
3665
|
let r = "";
|
|
3666
3666
|
t.split("").forEach((i) => {
|
|
@@ -3687,7 +3687,7 @@ const pd = {
|
|
|
3687
3687
|
function vd(t, e) {
|
|
3688
3688
|
var u;
|
|
3689
3689
|
K(e, !1), se(t, pd);
|
|
3690
|
-
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(
|
|
3690
|
+
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(qe)) == null ? void 0 : u[0]) ?? "s", l = i().replace(qe, "");
|
|
3691
3691
|
rt();
|
|
3692
3692
|
var c = hd();
|
|
3693
3693
|
return Ye(c, 5, () => mt(2, 1), Ue, (d, f) => {
|
|
@@ -4155,7 +4155,7 @@ const Td = {
|
|
|
4155
4155
|
function Cd(t, e) {
|
|
4156
4156
|
var u;
|
|
4157
4157
|
K(e, !1), se(t, Td);
|
|
4158
|
-
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(
|
|
4158
|
+
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(qe)) == null ? void 0 : u[0]) ?? "s", l = i().replace(qe, "");
|
|
4159
4159
|
rt();
|
|
4160
4160
|
var c = Sd();
|
|
4161
4161
|
return Ye(c, 5, () => mt(5, 1), Ue, (d, f) => {
|
|
@@ -4330,7 +4330,7 @@ const Pd = {
|
|
|
4330
4330
|
function Fd(t, e) {
|
|
4331
4331
|
var u;
|
|
4332
4332
|
K(e, !1), se(t, Pd);
|
|
4333
|
-
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(
|
|
4333
|
+
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(qe)) == null ? void 0 : u[0]) ?? "s", l = i().replace(qe, "");
|
|
4334
4334
|
rt();
|
|
4335
4335
|
var c = jd();
|
|
4336
4336
|
return Ye(c, 5, () => mt(3, 1), Ue, (d, f) => {
|
|
@@ -4385,7 +4385,7 @@ ne(
|
|
|
4385
4385
|
!0
|
|
4386
4386
|
);
|
|
4387
4387
|
var Od = /* @__PURE__ */ T("<div></div>"), Md = /* @__PURE__ */ T('<div class="wrapper svelte-kxapcj"></div>');
|
|
4388
|
-
const
|
|
4388
|
+
const Dd = {
|
|
4389
4389
|
hash: "svelte-kxapcj",
|
|
4390
4390
|
code: `.wrapper.svelte-kxapcj {position:relative;width:var(--size);height:var(--size);}.border.svelte-kxapcj {border-color:var(--color);position:absolute;top:0px;left:0px;width:var(--size);height:var(--size);opacity:0.4;perspective:800px;border-width:6px;border-style:solid;border-image:initial;border-radius:100%;}.border.\\31.svelte-kxapcj {
|
|
4391
4391
|
animation: var(--duration) linear 0s infinite normal none running svelte-kxapcj-ringOne;}.border.\\32.svelte-kxapcj {
|
|
@@ -4408,8 +4408,8 @@ const qd = {
|
|
|
4408
4408
|
}
|
|
4409
4409
|
}`
|
|
4410
4410
|
};
|
|
4411
|
-
function
|
|
4412
|
-
K(e, !1), se(t,
|
|
4411
|
+
function qd(t, e) {
|
|
4412
|
+
K(e, !1), se(t, Dd);
|
|
4413
4413
|
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);
|
|
4414
4414
|
rt();
|
|
4415
4415
|
var o = Md();
|
|
@@ -4452,7 +4452,7 @@ function Dd(t, e) {
|
|
|
4452
4452
|
});
|
|
4453
4453
|
}
|
|
4454
4454
|
ne(
|
|
4455
|
-
|
|
4455
|
+
qd,
|
|
4456
4456
|
{
|
|
4457
4457
|
color: {},
|
|
4458
4458
|
unit: {},
|
|
@@ -4502,7 +4502,7 @@ const Ud = {
|
|
|
4502
4502
|
function Yd(t, e) {
|
|
4503
4503
|
var u;
|
|
4504
4504
|
K(e, !1), se(t, Ud);
|
|
4505
|
-
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(
|
|
4505
|
+
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(qe)) == null ? void 0 : u[0]) ?? "s", l = i().replace(qe, "");
|
|
4506
4506
|
rt();
|
|
4507
4507
|
var c = Bd();
|
|
4508
4508
|
return Ye(c, 5, () => mt(3, 1), Ue, (d, f) => {
|
|
@@ -4724,7 +4724,7 @@ const Kd = {
|
|
|
4724
4724
|
function Ti(t, e) {
|
|
4725
4725
|
var u;
|
|
4726
4726
|
K(e, !1), se(t, Kd);
|
|
4727
|
-
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(
|
|
4727
|
+
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(qe)) == null ? void 0 : u[0]) ?? "s", l = i().replace(qe, "");
|
|
4728
4728
|
rt();
|
|
4729
4729
|
var c = Qd();
|
|
4730
4730
|
return Ye(c, 5, () => mt(3, 0), Ue, (d, f) => {
|
|
@@ -4798,7 +4798,7 @@ const nf = {
|
|
|
4798
4798
|
function rf(t, e) {
|
|
4799
4799
|
var u;
|
|
4800
4800
|
K(e, !1), se(t, nf);
|
|
4801
|
-
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(
|
|
4801
|
+
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(qe)) == null ? void 0 : u[0]) ?? "s", l = i().replace(qe, "");
|
|
4802
4802
|
rt();
|
|
4803
4803
|
var c = tf();
|
|
4804
4804
|
return Ye(c, 5, () => mt(6, 0), Ue, (d, f) => {
|
|
@@ -4877,7 +4877,7 @@ const of = {
|
|
|
4877
4877
|
function lf(t, e) {
|
|
4878
4878
|
var d;
|
|
4879
4879
|
K(e, !1), se(t, of);
|
|
4880
|
-
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(
|
|
4880
|
+
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(qe)) == null ? void 0 : d[0]) ?? "s", l = i().replace(qe, "");
|
|
4881
4881
|
rt();
|
|
4882
4882
|
var c = af(), u = C(c);
|
|
4883
4883
|
return Ye(u, 5, () => mt(2, 0), Ue, (f, h) => {
|
|
@@ -5118,7 +5118,7 @@ const gf = {
|
|
|
5118
5118
|
function mf(t, e) {
|
|
5119
5119
|
K(e, !1), se(t, gf);
|
|
5120
5120
|
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 = +s() / 7, l = +s() / 2 - o / 2;
|
|
5121
|
-
var c = vf(), u = C(c), d =
|
|
5121
|
+
var c = vf(), u = C(c), d = q(u, 2);
|
|
5122
5122
|
return y(c), F(() => {
|
|
5123
5123
|
M(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${l ?? ""}${r() ?? ""}; --duration: ${i() ?? ""};`), te(c, "pause-animation", a()), te(u, "pause-animation", a()), te(d, "pause-animation", a());
|
|
5124
5124
|
}), k(t, c), ee({
|
|
@@ -5415,7 +5415,7 @@ const Ef = {
|
|
|
5415
5415
|
function If(t, e) {
|
|
5416
5416
|
var u;
|
|
5417
5417
|
K(e, !1), se(t, Ef);
|
|
5418
|
-
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(
|
|
5418
|
+
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(qe)) == null ? void 0 : u[0]) ?? "s", l = i().replace(qe, "");
|
|
5419
5419
|
rt();
|
|
5420
5420
|
var c = Cf();
|
|
5421
5421
|
return Ye(c, 5, () => mt(10, 0), Ue, (d, f) => {
|
|
@@ -5494,7 +5494,7 @@ const Lf = {
|
|
|
5494
5494
|
function jf(t, e) {
|
|
5495
5495
|
var d;
|
|
5496
5496
|
K(e, !1), se(t, Lf);
|
|
5497
|
-
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 = ((d = i().match(
|
|
5497
|
+
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 = ((d = i().match(qe)) == null ? void 0 : d[0]) ?? "s", l = i().replace(qe, ""), c = Ut();
|
|
5498
5498
|
Wn(
|
|
5499
5499
|
() => En(n()),
|
|
5500
5500
|
() => {
|
|
@@ -5620,7 +5620,7 @@ ne(
|
|
|
5620
5620
|
!0
|
|
5621
5621
|
);
|
|
5622
5622
|
var Mf = /* @__PURE__ */ T('<div class="wrapper svelte-1ju64u"></div>');
|
|
5623
|
-
const
|
|
5623
|
+
const Df = {
|
|
5624
5624
|
hash: "svelte-1ju64u",
|
|
5625
5625
|
code: `.wrapper.svelte-1ju64u {width:var(--size);height:calc(var(--size) * 1.5);margin-left:var(--size);margin-top:var(--size);background:var(--color);display:inline-block;position:relative;box-sizing:border-box;
|
|
5626
5626
|
animation: svelte-1ju64u-bump var(--duration) ease-in infinite alternate;}.wrapper.svelte-1ju64u::after {content:'';box-sizing:border-box;left:50%;bottom:100%;transform:translate(-50%, 0);position:absolute;border:var(--size) solid transparent;border-bottom-color:var(--color);}.pause-animation.svelte-1ju64u {animation-play-state:paused;}
|
|
@@ -5633,8 +5633,8 @@ const qf = {
|
|
|
5633
5633
|
}
|
|
5634
5634
|
}`
|
|
5635
5635
|
};
|
|
5636
|
-
function
|
|
5637
|
-
K(e, !1), se(t,
|
|
5636
|
+
function qf(t, e) {
|
|
5637
|
+
K(e, !1), se(t, Df);
|
|
5638
5638
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.4s"), s = g(e, "size", 12, "15"), a = g(e, "pause", 12, !1);
|
|
5639
5639
|
var o = Mf();
|
|
5640
5640
|
return F(() => {
|
|
@@ -5673,7 +5673,7 @@ function Df(t, e) {
|
|
|
5673
5673
|
});
|
|
5674
5674
|
}
|
|
5675
5675
|
ne(
|
|
5676
|
-
|
|
5676
|
+
qf,
|
|
5677
5677
|
{
|
|
5678
5678
|
color: {},
|
|
5679
5679
|
unit: {},
|
|
@@ -5776,9 +5776,9 @@ function xa(t, e) {
|
|
|
5776
5776
|
};
|
|
5777
5777
|
var m = sh(), b = C(m), S = C(b), $ = C(S), _ = C($);
|
|
5778
5778
|
y($);
|
|
5779
|
-
var E =
|
|
5779
|
+
var E = q($, 2);
|
|
5780
5780
|
E.__click = u, y(S);
|
|
5781
|
-
var
|
|
5781
|
+
var D = q(S, 2), w = C(D), z = C(w), I = q(C(z), 2);
|
|
5782
5782
|
_l(I), I.__input = [
|
|
5783
5783
|
Nf,
|
|
5784
5784
|
c,
|
|
@@ -5786,18 +5786,18 @@ function xa(t, e) {
|
|
|
5786
5786
|
f,
|
|
5787
5787
|
h
|
|
5788
5788
|
], y(z), y(w);
|
|
5789
|
-
var O =
|
|
5789
|
+
var O = q(w, 2), Y = C(O);
|
|
5790
5790
|
{
|
|
5791
5791
|
var W = (N) => {
|
|
5792
5792
|
var le = Bf(), Pe = C(le);
|
|
5793
5793
|
Ti(Pe, { size: "30", color: "#295dcf" });
|
|
5794
|
-
var Fe =
|
|
5794
|
+
var Fe = q(Pe, 2), Ne = C(Fe, !0);
|
|
5795
5795
|
y(Fe), y(le), F((ue) => Le(Ne, ue), [() => /* @__PURE__ */ _u()]), k(N, le);
|
|
5796
5796
|
}, he = (N) => {
|
|
5797
5797
|
var le = be(), Pe = ge(le);
|
|
5798
5798
|
{
|
|
5799
5799
|
var Fe = (ue) => {
|
|
5800
|
-
var we = Uf(), ye =
|
|
5800
|
+
var we = Uf(), ye = q(C(we), 2), Je = C(ye, !0);
|
|
5801
5801
|
y(ye), y(we), F((pt) => Le(Je, pt), [() => /* @__PURE__ */ xu()]), k(ue, we);
|
|
5802
5802
|
}, Ne = (ue) => {
|
|
5803
5803
|
var we = be(), ye = ge(we);
|
|
@@ -5805,8 +5805,8 @@ function xa(t, e) {
|
|
|
5805
5805
|
var Je = (Ce) => {
|
|
5806
5806
|
var ze = be(), _e = ge(ze);
|
|
5807
5807
|
{
|
|
5808
|
-
var
|
|
5809
|
-
var G = Yf(), Q =
|
|
5808
|
+
var De = (U) => {
|
|
5809
|
+
var G = Yf(), Q = q(C(G), 2), J = C(Q, !0);
|
|
5810
5810
|
y(Q), y(G), F((X) => Le(J, X), [() => /* @__PURE__ */ yu()]), k(U, G);
|
|
5811
5811
|
}, Ge = (U) => {
|
|
5812
5812
|
var G = Gf();
|
|
@@ -5815,7 +5815,7 @@ function xa(t, e) {
|
|
|
5815
5815
|
X.__click = [Hf, d, J];
|
|
5816
5816
|
var pe = C(X), $e = C(pe);
|
|
5817
5817
|
y(pe);
|
|
5818
|
-
var Ee =
|
|
5818
|
+
var Ee = q(pe, 2), Ie = C(Ee), Ae = C(Ie, !0);
|
|
5819
5819
|
y(Ie), y(Ee), y(X), F(
|
|
5820
5820
|
(Oe) => {
|
|
5821
5821
|
Be($e, Xn(p(s).icon), "svelte-m8ylyl"), M($e, "style", `color: ${p(s).color}`), Le(Ae, Oe);
|
|
@@ -5825,15 +5825,15 @@ function xa(t, e) {
|
|
|
5825
5825
|
}), y(G), k(U, G);
|
|
5826
5826
|
};
|
|
5827
5827
|
B(_e, (U) => {
|
|
5828
|
-
p(o).length === 0 ? U(
|
|
5828
|
+
p(o).length === 0 ? U(De) : U(Ge, !1);
|
|
5829
5829
|
});
|
|
5830
5830
|
}
|
|
5831
5831
|
k(Ce, ze);
|
|
5832
5832
|
}, pt = (Ce) => {
|
|
5833
5833
|
var ze = be(), _e = ge(ze);
|
|
5834
5834
|
{
|
|
5835
|
-
var
|
|
5836
|
-
var G = Wf(), Q =
|
|
5835
|
+
var De = (U) => {
|
|
5836
|
+
var G = Wf(), Q = q(C(G), 2), J = C(Q, !0);
|
|
5837
5837
|
y(Q), y(G), F((X) => Le(J, X), [() => /* @__PURE__ */ zu()]), k(U, G);
|
|
5838
5838
|
}, Ge = (U) => {
|
|
5839
5839
|
var G = ih();
|
|
@@ -5870,20 +5870,20 @@ function xa(t, e) {
|
|
|
5870
5870
|
var Ct = eh();
|
|
5871
5871
|
k(Mt, Ct);
|
|
5872
5872
|
}, Fr = (Mt) => {
|
|
5873
|
-
var Ct = be(),
|
|
5873
|
+
var Ct = be(), Dt = ge(Ct);
|
|
5874
5874
|
{
|
|
5875
|
-
var Et = (
|
|
5875
|
+
var Et = (qt) => {
|
|
5876
5876
|
var Nt = th();
|
|
5877
|
-
k(
|
|
5878
|
-
}, Or = (
|
|
5877
|
+
k(qt, Nt);
|
|
5878
|
+
}, Or = (qt) => {
|
|
5879
5879
|
var Nt = nh();
|
|
5880
|
-
k(
|
|
5880
|
+
k(qt, Nt);
|
|
5881
5881
|
};
|
|
5882
5882
|
B(
|
|
5883
|
-
|
|
5884
|
-
(
|
|
5883
|
+
Dt,
|
|
5884
|
+
(qt) => {
|
|
5885
5885
|
var Nt;
|
|
5886
|
-
((Nt = p(J).title.split(".").pop()) == null ? void 0 : Nt.toLowerCase()) === "akd" ?
|
|
5886
|
+
((Nt = p(J).title.split(".").pop()) == null ? void 0 : Nt.toLowerCase()) === "akd" ? qt(Et) : qt(Or, !1);
|
|
5887
5887
|
},
|
|
5888
5888
|
!0
|
|
5889
5889
|
);
|
|
@@ -5939,9 +5939,9 @@ function xa(t, e) {
|
|
|
5939
5939
|
});
|
|
5940
5940
|
}
|
|
5941
5941
|
y(pe);
|
|
5942
|
-
var Ae =
|
|
5942
|
+
var Ae = q(pe, 2), Oe = C(Ae), A = C(Oe, !0);
|
|
5943
5943
|
y(Oe);
|
|
5944
|
-
var L =
|
|
5944
|
+
var L = q(Oe, 2), V = C(L, !0);
|
|
5945
5945
|
y(L), y(Ae), y(X), F(
|
|
5946
5946
|
(Z) => {
|
|
5947
5947
|
Le(A, Z), Le(V, p(J).path && p(J).path !== "" ? p(J).path : "root");
|
|
@@ -5955,7 +5955,7 @@ function xa(t, e) {
|
|
|
5955
5955
|
B(
|
|
5956
5956
|
_e,
|
|
5957
5957
|
(U) => {
|
|
5958
|
-
p(a).length === 0 ? U(
|
|
5958
|
+
p(a).length === 0 ? U(De) : U(Ge, !1);
|
|
5959
5959
|
},
|
|
5960
5960
|
!0
|
|
5961
5961
|
);
|
|
@@ -5986,7 +5986,7 @@ function xa(t, e) {
|
|
|
5986
5986
|
p(l) ? N(W) : N(he, !1);
|
|
5987
5987
|
});
|
|
5988
5988
|
}
|
|
5989
|
-
return y(O), y(
|
|
5989
|
+
return y(O), y(D), y(b), y(m), F(
|
|
5990
5990
|
(N, le, Pe) => {
|
|
5991
5991
|
Le(_, `${N ?? ""}
|
|
5992
5992
|
${le ?? ""}`), M(I, "placeholder", `${N ?? ""} ${Pe ?? ""} (min 3 caratteri)...`), xl(I, p(c));
|
|
@@ -6084,7 +6084,7 @@ function ya(t, e) {
|
|
|
6084
6084
|
if (i()) return;
|
|
6085
6085
|
const A = Object.keys(l()).map((L) => l()[L].ext_id);
|
|
6086
6086
|
n()(p(c), a(), o(), A), x(c, ""), l({});
|
|
6087
|
-
},
|
|
6087
|
+
}, D = () => {
|
|
6088
6088
|
console.log("Seleziona file"), I(), O();
|
|
6089
6089
|
}, w = (A) => {
|
|
6090
6090
|
a(A), o(!1), l({}), I();
|
|
@@ -6103,11 +6103,11 @@ function ya(t, e) {
|
|
|
6103
6103
|
});
|
|
6104
6104
|
var N = Lh(), le = ge(N), Pe = C(le), Fe = C(Pe);
|
|
6105
6105
|
fl(Fe), Fe.__keyup = [lh, E], y(Pe);
|
|
6106
|
-
var Ne =
|
|
6106
|
+
var Ne = q(Pe, 2), ue = C(Ne), we = C(ue), ye = C(we);
|
|
6107
6107
|
ye.__click = [oh, W];
|
|
6108
6108
|
var Je = C(ye);
|
|
6109
6109
|
y(ye);
|
|
6110
|
-
var pt =
|
|
6110
|
+
var pt = q(ye, 2);
|
|
6111
6111
|
{
|
|
6112
6112
|
var Ce = (A) => {
|
|
6113
6113
|
var L = ch(), V = C(L);
|
|
@@ -6118,7 +6118,7 @@ function ya(t, e) {
|
|
|
6118
6118
|
} : () => {
|
|
6119
6119
|
}) == null || xe.apply(this, je);
|
|
6120
6120
|
};
|
|
6121
|
-
var Z =
|
|
6121
|
+
var Z = q(V, 2);
|
|
6122
6122
|
Z.__click = function(...je) {
|
|
6123
6123
|
var xe;
|
|
6124
6124
|
(xe = a() != "normative" ? () => {
|
|
@@ -6126,21 +6126,21 @@ function ya(t, e) {
|
|
|
6126
6126
|
} : () => {
|
|
6127
6127
|
}) == null || xe.apply(this, je);
|
|
6128
6128
|
};
|
|
6129
|
-
var Se =
|
|
6129
|
+
var Se = q(C(Z), 2), Re = C(Se, !0);
|
|
6130
6130
|
y(Se), y(Z);
|
|
6131
|
-
var j =
|
|
6131
|
+
var j = q(Z, 2);
|
|
6132
6132
|
j.__click = function(...je) {
|
|
6133
6133
|
var xe;
|
|
6134
6134
|
(xe = o() ? () => {
|
|
6135
6135
|
} : z) == null || xe.apply(this, je);
|
|
6136
6136
|
};
|
|
6137
|
-
var ve =
|
|
6137
|
+
var ve = q(j, 2), He = /* @__PURE__ */ gt(() => Object.keys(l()).length < 2 ? D : () => {
|
|
6138
6138
|
});
|
|
6139
6139
|
ve.__click = function(...je) {
|
|
6140
6140
|
var xe;
|
|
6141
6141
|
(xe = p(He)) == null || xe.apply(this, je);
|
|
6142
6142
|
};
|
|
6143
|
-
var Ve =
|
|
6143
|
+
var Ve = q(C(ve), 2), Jt = C(Ve);
|
|
6144
6144
|
y(Ve), y(ve), y(L), F(
|
|
6145
6145
|
(je, xe, at) => {
|
|
6146
6146
|
Be(V, `${`dropdown-option ${a() == "suite" ? "option-disabled" : ""}` ?? ""} svelte-18sfhki`), Be(Z, `${`dropdown-option ${a() == "normative" ? "option-disabled" : ""}` ?? ""} svelte-18sfhki`), Le(Re, je), Be(j, `${`dropdown-option ${o() ? "option-disabled" : ""}` ?? ""} svelte-18sfhki`), Be(ve, `${xe ?? ""} svelte-18sfhki`), Le(Jt, `${at ?? ""}
|
|
@@ -6158,12 +6158,12 @@ function ya(t, e) {
|
|
|
6158
6158
|
});
|
|
6159
6159
|
}
|
|
6160
6160
|
y(we);
|
|
6161
|
-
var ze =
|
|
6161
|
+
var ze = q(we, 2), _e = C(ze);
|
|
6162
6162
|
{
|
|
6163
|
-
var
|
|
6164
|
-
var L = fh(), V = C(L), Z =
|
|
6163
|
+
var De = (A) => {
|
|
6164
|
+
var L = fh(), V = C(L), Z = q(V, 2), Se = C(Z, !0);
|
|
6165
6165
|
y(Z);
|
|
6166
|
-
var Re =
|
|
6166
|
+
var Re = q(Z, 2);
|
|
6167
6167
|
{
|
|
6168
6168
|
var j = (ve) => {
|
|
6169
6169
|
var He = dh();
|
|
@@ -6178,13 +6178,13 @@ function ya(t, e) {
|
|
|
6178
6178
|
}), k(A, L);
|
|
6179
6179
|
};
|
|
6180
6180
|
B(_e, (A) => {
|
|
6181
|
-
a() !== "" && A(
|
|
6181
|
+
a() !== "" && A(De);
|
|
6182
6182
|
});
|
|
6183
6183
|
}
|
|
6184
|
-
var Ge =
|
|
6184
|
+
var Ge = q(_e, 2);
|
|
6185
6185
|
{
|
|
6186
6186
|
var U = (A) => {
|
|
6187
|
-
var L = vh(), V =
|
|
6187
|
+
var L = vh(), V = q(C(L), 4);
|
|
6188
6188
|
{
|
|
6189
6189
|
var Z = (Se) => {
|
|
6190
6190
|
var Re = ph();
|
|
@@ -6200,7 +6200,7 @@ function ya(t, e) {
|
|
|
6200
6200
|
o() && A(U);
|
|
6201
6201
|
});
|
|
6202
6202
|
}
|
|
6203
|
-
var G =
|
|
6203
|
+
var G = q(Ge, 2);
|
|
6204
6204
|
Ye(G, 17, () => Object.entries(l()), Ue, (A, L) => {
|
|
6205
6205
|
let V = () => p(L)[0], Z = () => p(L)[1].title, Se = () => p(L)[1].ext_id, Re = () => p(L)[1].gendoc_id, j = () => p(L)[1].isCommon;
|
|
6206
6206
|
var ve = Th(), He = C(ve);
|
|
@@ -6217,13 +6217,13 @@ function ya(t, e) {
|
|
|
6217
6217
|
}, vt = (Ot) => {
|
|
6218
6218
|
var Tt = be(), Fr = ge(Tt);
|
|
6219
6219
|
{
|
|
6220
|
-
var Mt = (
|
|
6220
|
+
var Mt = (Dt) => {
|
|
6221
6221
|
var Et = bh();
|
|
6222
|
-
k(
|
|
6223
|
-
}, Ct = (
|
|
6222
|
+
k(Dt, Et);
|
|
6223
|
+
}, Ct = (Dt) => {
|
|
6224
6224
|
var Et = be(), Or = ge(Et);
|
|
6225
6225
|
{
|
|
6226
|
-
var
|
|
6226
|
+
var qt = (cn) => {
|
|
6227
6227
|
var Vt = kh();
|
|
6228
6228
|
k(cn, Vt);
|
|
6229
6229
|
}, Nt = (cn) => {
|
|
@@ -6268,18 +6268,18 @@ function ya(t, e) {
|
|
|
6268
6268
|
Or,
|
|
6269
6269
|
(cn) => {
|
|
6270
6270
|
var Vt;
|
|
6271
|
-
((Vt = Z().split(".").pop()) == null ? void 0 : Vt.toLowerCase()) === "xlsx" ? cn(
|
|
6271
|
+
((Vt = Z().split(".").pop()) == null ? void 0 : Vt.toLowerCase()) === "xlsx" ? cn(qt) : cn(Nt, !1);
|
|
6272
6272
|
},
|
|
6273
6273
|
!0
|
|
6274
6274
|
);
|
|
6275
6275
|
}
|
|
6276
|
-
k(
|
|
6276
|
+
k(Dt, Et);
|
|
6277
6277
|
};
|
|
6278
6278
|
B(
|
|
6279
6279
|
Fr,
|
|
6280
|
-
(
|
|
6280
|
+
(Dt) => {
|
|
6281
6281
|
var Et;
|
|
6282
|
-
((Et = Z().split(".").pop()) == null ? void 0 : Et.toLowerCase()) === "docx" ?
|
|
6282
|
+
((Et = Z().split(".").pop()) == null ? void 0 : Et.toLowerCase()) === "docx" ? Dt(Mt) : Dt(Ct, !1);
|
|
6283
6283
|
},
|
|
6284
6284
|
!0
|
|
6285
6285
|
);
|
|
@@ -6301,7 +6301,7 @@ function ya(t, e) {
|
|
|
6301
6301
|
j() ? Me(Ve) : Me(Jt, !1);
|
|
6302
6302
|
});
|
|
6303
6303
|
}
|
|
6304
|
-
var je =
|
|
6304
|
+
var je = q(He, 2);
|
|
6305
6305
|
{
|
|
6306
6306
|
var xe = (Me) => {
|
|
6307
6307
|
var Te = yh(), Xe = C(Te, !0);
|
|
@@ -6330,7 +6330,7 @@ function ya(t, e) {
|
|
|
6330
6330
|
j() ? Me(xe) : Me(at, !1);
|
|
6331
6331
|
});
|
|
6332
6332
|
}
|
|
6333
|
-
var ot =
|
|
6333
|
+
var ot = q(je, 2);
|
|
6334
6334
|
ot.__click = [Sh, l, V], y(ve), F(
|
|
6335
6335
|
(Me) => {
|
|
6336
6336
|
Be(ve, `${`attachment-item ${j() ? "common" : ""}` ?? ""} svelte-18sfhki`), M(ve, "title", Me), Be(ot, `${`remove-btn ${j() ? "common" : ""}` ?? ""} svelte-18sfhki`);
|
|
@@ -6340,7 +6340,7 @@ function ya(t, e) {
|
|
|
6340
6340
|
]
|
|
6341
6341
|
), k(A, ve);
|
|
6342
6342
|
}), y(ze), ha(ze, (A) => b = A, () => b);
|
|
6343
|
-
var Q =
|
|
6343
|
+
var Q = q(ze, 2), J = C(Q);
|
|
6344
6344
|
{
|
|
6345
6345
|
var X = (A) => {
|
|
6346
6346
|
var L = Ch();
|
|
@@ -6369,7 +6369,7 @@ function ya(t, e) {
|
|
|
6369
6369
|
p(h) ? A(X) : A(pe, !1);
|
|
6370
6370
|
});
|
|
6371
6371
|
}
|
|
6372
|
-
var $e =
|
|
6372
|
+
var $e = q(J, 2);
|
|
6373
6373
|
{
|
|
6374
6374
|
var Ee = (A) => {
|
|
6375
6375
|
var L = Ah();
|
|
@@ -6386,7 +6386,7 @@ function ya(t, e) {
|
|
|
6386
6386
|
});
|
|
6387
6387
|
}
|
|
6388
6388
|
y(Q), y(ue), y(Ne), y(le);
|
|
6389
|
-
var Ae =
|
|
6389
|
+
var Ae = q(le, 2);
|
|
6390
6390
|
{
|
|
6391
6391
|
var Oe = (A) => {
|
|
6392
6392
|
xa(A, {
|
|
@@ -6640,7 +6640,7 @@ function Ta(t) {
|
|
|
6640
6640
|
return e;
|
|
6641
6641
|
}
|
|
6642
6642
|
const as = /* @__PURE__ */ Object.create(null);
|
|
6643
|
-
function
|
|
6643
|
+
function Dh(t, e) {
|
|
6644
6644
|
return {
|
|
6645
6645
|
provider: t,
|
|
6646
6646
|
prefix: e,
|
|
@@ -6650,14 +6650,14 @@ function qh(t, e) {
|
|
|
6650
6650
|
}
|
|
6651
6651
|
function xn(t, e) {
|
|
6652
6652
|
const n = as[t] || (as[t] = /* @__PURE__ */ Object.create(null));
|
|
6653
|
-
return n[e] || (n[e] =
|
|
6653
|
+
return n[e] || (n[e] = Dh(t, e));
|
|
6654
6654
|
}
|
|
6655
6655
|
function Ca(t, e) {
|
|
6656
6656
|
return Ta(e) ? Sa(e, (n, r) => {
|
|
6657
6657
|
r ? t.icons[n] = r : t.missing.add(n);
|
|
6658
6658
|
}) : [];
|
|
6659
6659
|
}
|
|
6660
|
-
function
|
|
6660
|
+
function qh(t, e, n) {
|
|
6661
6661
|
try {
|
|
6662
6662
|
if (typeof n.body == "string")
|
|
6663
6663
|
return t.icons[e] = { ...n }, !0;
|
|
@@ -6681,7 +6681,7 @@ function Bh(t, e) {
|
|
|
6681
6681
|
if (!n)
|
|
6682
6682
|
return !1;
|
|
6683
6683
|
const r = xn(n.provider, n.prefix);
|
|
6684
|
-
return e ?
|
|
6684
|
+
return e ? qh(r, n.name, e) : (r.missing.add(n.name), !0);
|
|
6685
6685
|
}
|
|
6686
6686
|
function Uh(t, e) {
|
|
6687
6687
|
if (typeof t != "object")
|
|
@@ -6781,11 +6781,11 @@ function Vh(t, e) {
|
|
|
6781
6781
|
), S.push("scale(-1 1)"), i.top = i.left = 0) : _ && (S.push(
|
|
6782
6782
|
"translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
|
|
6783
6783
|
), S.push("scale(1 -1)"), i.top = i.left = 0);
|
|
6784
|
-
let
|
|
6784
|
+
let D;
|
|
6785
6785
|
switch (E < 0 && (E -= Math.floor(E / 4) * 4), E = E % 4, E) {
|
|
6786
6786
|
case 1:
|
|
6787
|
-
|
|
6788
|
-
"rotate(90 " +
|
|
6787
|
+
D = i.height / 2 + i.top, S.unshift(
|
|
6788
|
+
"rotate(90 " + D.toString() + " " + D.toString() + ")"
|
|
6789
6789
|
);
|
|
6790
6790
|
break;
|
|
6791
6791
|
case 2:
|
|
@@ -6794,12 +6794,12 @@ function Vh(t, e) {
|
|
|
6794
6794
|
);
|
|
6795
6795
|
break;
|
|
6796
6796
|
case 3:
|
|
6797
|
-
|
|
6798
|
-
"rotate(-90 " +
|
|
6797
|
+
D = i.width / 2 + i.left, S.unshift(
|
|
6798
|
+
"rotate(-90 " + D.toString() + " " + D.toString() + ")"
|
|
6799
6799
|
);
|
|
6800
6800
|
break;
|
|
6801
6801
|
}
|
|
6802
|
-
E % 2 === 1 && (i.left !== i.top && (
|
|
6802
|
+
E % 2 === 1 && (i.left !== i.top && (D = i.left, i.left = i.top, i.top = D), i.width !== i.height && (D = i.width, i.width = i.height, i.height = D)), S.length && (s = Wh(
|
|
6803
6803
|
s,
|
|
6804
6804
|
'<g transform="' + S.join(" ") + '">',
|
|
6805
6805
|
"</g>"
|
|
@@ -7139,7 +7139,7 @@ function gp(t, e, n, r) {
|
|
|
7139
7139
|
z.status === "pending" && (z.status = "aborted");
|
|
7140
7140
|
}), f = [];
|
|
7141
7141
|
}
|
|
7142
|
-
function
|
|
7142
|
+
function D(z, I, O) {
|
|
7143
7143
|
const Y = I !== "success";
|
|
7144
7144
|
switch (f = f.filter((W) => W !== z), l) {
|
|
7145
7145
|
case "pending":
|
|
@@ -7186,7 +7186,7 @@ function gp(t, e, n, r) {
|
|
|
7186
7186
|
status: "pending",
|
|
7187
7187
|
resource: z,
|
|
7188
7188
|
callback: (O, Y) => {
|
|
7189
|
-
|
|
7189
|
+
D(I, O, Y);
|
|
7190
7190
|
}
|
|
7191
7191
|
};
|
|
7192
7192
|
f.push(I), c++, d = setTimeout(w, t.rotate), n(z, e, I.callback);
|
|
@@ -7602,7 +7602,7 @@ function vs(t, e) {
|
|
|
7602
7602
|
}
|
|
7603
7603
|
var Fp = /* @__PURE__ */ pl("<svg><!></svg>"), Op = /* @__PURE__ */ T("<span></span>");
|
|
7604
7604
|
function Zn(t, e) {
|
|
7605
|
-
const n =
|
|
7605
|
+
const n = Dl(e, [
|
|
7606
7606
|
"children",
|
|
7607
7607
|
"$$slots",
|
|
7608
7608
|
"$$events",
|
|
@@ -7628,13 +7628,13 @@ function Zn(t, e) {
|
|
|
7628
7628
|
Ir(() => {
|
|
7629
7629
|
x(i, !0);
|
|
7630
7630
|
}), Ll(() => {
|
|
7631
|
-
|
|
7631
|
+
qr(r, p(r).destroyed = !0), p(r).loading && (p(r).loading.abort(), qr(r, p(r).loading = null));
|
|
7632
7632
|
}), Wn(
|
|
7633
7633
|
() => (p(s), En(n), p(i), p(r), p(a), vs),
|
|
7634
7634
|
() => {
|
|
7635
7635
|
p(s);
|
|
7636
7636
|
const f = !!n.ssr || p(i), h = Pp(n.icon, p(r), f, l, o);
|
|
7637
|
-
x(a, h ? vs(h.data, n) : null), p(a) && h.classes &&
|
|
7637
|
+
x(a, h ? vs(h.data, n) : null), p(a) && h.classes && qr(a, p(a).attributes.class = (typeof n.class == "string" ? n.class + " " : "") + h.classes.join(" "));
|
|
7638
7638
|
}
|
|
7639
7639
|
), Jn(), rt();
|
|
7640
7640
|
var c = be(), u = ge(c);
|
|
@@ -7645,8 +7645,8 @@ function Zn(t, e) {
|
|
|
7645
7645
|
var b = ($) => {
|
|
7646
7646
|
var _ = Fp();
|
|
7647
7647
|
let E;
|
|
7648
|
-
var
|
|
7649
|
-
ni(
|
|
7648
|
+
var D = C(_);
|
|
7649
|
+
ni(D, () => p(a).body, !0, !1), y(_), F(() => E = Ji(_, E, { ...p(a).attributes }, void 0, !0)), k($, _);
|
|
7650
7650
|
}, S = ($) => {
|
|
7651
7651
|
var _ = Op();
|
|
7652
7652
|
let E;
|
|
@@ -7752,11 +7752,11 @@ const We = {
|
|
|
7752
7752
|
fencesBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:\`\`\`|~~~)`),
|
|
7753
7753
|
headingBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}#`),
|
|
7754
7754
|
htmlBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
7755
|
-
}, Mp = /^(?:[ \t]*(?:\n|$))+/,
|
|
7755
|
+
}, Mp = /^(?:[ \t]*(?:\n|$))+/, Dp = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, qp = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Qn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Np = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Ri = /(?:[*+-]|\d{1,9}[.)])/, Fa = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Oa = ce(Fa).replace(/bull/g, Ri).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Bp = ce(Fa).replace(/bull/g, Ri).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Li = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Up = /^[^\n]+/, ji = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Yp = ce(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", ji).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Hp = ce(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Ri).getRegex(), jr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Pi = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Zp = ce("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Pi).replace("tag", jr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ma = ce(Li).replace("hr", Qn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", jr).getRegex(), Gp = ce(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Ma).getRegex(), Fi = {
|
|
7756
7756
|
blockquote: Gp,
|
|
7757
|
-
code:
|
|
7757
|
+
code: Dp,
|
|
7758
7758
|
def: Yp,
|
|
7759
|
-
fences:
|
|
7759
|
+
fences: qp,
|
|
7760
7760
|
heading: Np,
|
|
7761
7761
|
hr: Qn,
|
|
7762
7762
|
html: Zp,
|
|
@@ -7781,13 +7781,13 @@ const We = {
|
|
|
7781
7781
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
7782
7782
|
paragraph: ce(Li).replace("hr", Qn).replace("heading", ` *#{1,6} *[^
|
|
7783
7783
|
]`).replace("lheading", Oa).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
7784
|
-
}, Vp = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Xp = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
|
|
7784
|
+
}, Vp = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Xp = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Da = /^( {2,}|\\)\n(?!\s*$)/, Qp = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Pr = /[\p{P}\p{S}]/u, Oi = /[\s\p{P}\p{S}]/u, qa = /[^\s\p{P}\p{S}]/u, Kp = ce(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Oi).getRegex(), Na = /(?!~)[\p{P}\p{S}]/u, ev = /(?!~)[\s\p{P}\p{S}]/u, tv = /(?:[^\s\p{P}\p{S}]|~)/u, nv = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ba = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, rv = ce(Ba, "u").replace(/punct/g, Pr).getRegex(), iv = ce(Ba, "u").replace(/punct/g, Na).getRegex(), Ua = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", sv = ce(Ua, "gu").replace(/notPunctSpace/g, qa).replace(/punctSpace/g, Oi).replace(/punct/g, Pr).getRegex(), av = ce(Ua, "gu").replace(/notPunctSpace/g, tv).replace(/punctSpace/g, ev).replace(/punct/g, Na).getRegex(), ov = ce("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, qa).replace(/punctSpace/g, Oi).replace(/punct/g, Pr).getRegex(), lv = ce(/\\(punct)/, "gu").replace(/punct/g, Pr).getRegex(), cv = ce(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), uv = ce(Pi).replace("(?:-->|$)", "-->").getRegex(), dv = ce("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", uv).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), br = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, fv = ce(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", br).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ya = ce(/^!?\[(label)\]\[(ref)\]/).replace("label", br).replace("ref", ji).getRegex(), Ha = ce(/^!?\[(ref)\](?:\[\])?/).replace("ref", ji).getRegex(), hv = ce("reflink|nolink(?!\\()", "g").replace("reflink", Ya).replace("nolink", Ha).getRegex(), Mi = {
|
|
7785
7785
|
_backpedal: Mn,
|
|
7786
7786
|
// only used for GFM url
|
|
7787
7787
|
anyPunctuation: lv,
|
|
7788
7788
|
autolink: cv,
|
|
7789
7789
|
blockSkip: nv,
|
|
7790
|
-
br:
|
|
7790
|
+
br: Da,
|
|
7791
7791
|
code: Xp,
|
|
7792
7792
|
del: Mn,
|
|
7793
7793
|
emStrongLDelim: rv,
|
|
@@ -7816,7 +7816,7 @@ const We = {
|
|
|
7816
7816
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
7817
7817
|
}, vv = {
|
|
7818
7818
|
...li,
|
|
7819
|
-
br: ce(
|
|
7819
|
+
br: ce(Da).replace("{2,}", "*").getRegex(),
|
|
7820
7820
|
text: ce(li.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
7821
7821
|
}, tr = {
|
|
7822
7822
|
normal: Fi,
|
|
@@ -8075,18 +8075,18 @@ ${d}` : d;
|
|
|
8075
8075
|
`, 1)[0], m = !f.trim(), b = 0;
|
|
8076
8076
|
if (this.options.pedantic ? (b = 2, d = f.trimStart()) : m ? b = n[1].length + 1 : (b = n[2].search(this.rules.other.nonSpaceChar), b = b > 4 ? 1 : b, d = f.slice(b), b += n[1].length), m && this.rules.other.blankLine.test(h) && (u += h + `
|
|
8077
8077
|
`, e = e.substring(h.length + 1), c = !0), !c) {
|
|
8078
|
-
const _ = this.rules.other.nextBulletRegex(b), E = this.rules.other.hrRegex(b),
|
|
8078
|
+
const _ = this.rules.other.nextBulletRegex(b), E = this.rules.other.hrRegex(b), D = this.rules.other.fencesBeginRegex(b), w = this.rules.other.headingBeginRegex(b), z = this.rules.other.htmlBeginRegex(b);
|
|
8079
8079
|
for (; e; ) {
|
|
8080
8080
|
const I = e.split(`
|
|
8081
8081
|
`, 1)[0];
|
|
8082
8082
|
let O;
|
|
8083
|
-
if (h = I, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), O = h) : O = h.replace(this.rules.other.tabCharGlobal, " "),
|
|
8083
|
+
if (h = I, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), O = h) : O = h.replace(this.rules.other.tabCharGlobal, " "), D.test(h) || w.test(h) || z.test(h) || _.test(h) || E.test(h))
|
|
8084
8084
|
break;
|
|
8085
8085
|
if (O.search(this.rules.other.nonSpaceChar) >= b || !h.trim())
|
|
8086
8086
|
d += `
|
|
8087
8087
|
` + O.slice(b);
|
|
8088
8088
|
else {
|
|
8089
|
-
if (m || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 ||
|
|
8089
|
+
if (m || f.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || D.test(f) || w.test(f) || E.test(f))
|
|
8090
8090
|
break;
|
|
8091
8091
|
d += `
|
|
8092
8092
|
` + h;
|
|
@@ -8792,7 +8792,7 @@ ${e}</tr>
|
|
|
8792
8792
|
return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : kt(e.text);
|
|
8793
8793
|
}
|
|
8794
8794
|
}
|
|
8795
|
-
class
|
|
8795
|
+
class Di {
|
|
8796
8796
|
// no need for block level renderers
|
|
8797
8797
|
strong({ text: e }) {
|
|
8798
8798
|
return e;
|
|
@@ -8827,7 +8827,7 @@ class ut {
|
|
|
8827
8827
|
R(this, "options");
|
|
8828
8828
|
R(this, "renderer");
|
|
8829
8829
|
R(this, "textRenderer");
|
|
8830
|
-
this.options = e || ln, this.options.renderer = this.options.renderer || new wr(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new
|
|
8830
|
+
this.options = e || ln, this.options.renderer = this.options.renderer || new wr(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Di();
|
|
8831
8831
|
}
|
|
8832
8832
|
/**
|
|
8833
8833
|
* Static Parse Method
|
|
@@ -8985,7 +8985,7 @@ class ut {
|
|
|
8985
8985
|
return r;
|
|
8986
8986
|
}
|
|
8987
8987
|
}
|
|
8988
|
-
class
|
|
8988
|
+
class Dn {
|
|
8989
8989
|
constructor(e) {
|
|
8990
8990
|
R(this, "options");
|
|
8991
8991
|
R(this, "block");
|
|
@@ -9022,7 +9022,7 @@ class qn {
|
|
|
9022
9022
|
return this.block ? ut.parse : ut.parseInline;
|
|
9023
9023
|
}
|
|
9024
9024
|
}
|
|
9025
|
-
R(
|
|
9025
|
+
R(Dn, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
9026
9026
|
"preprocess",
|
|
9027
9027
|
"postprocess",
|
|
9028
9028
|
"processAllTokens"
|
|
@@ -9035,10 +9035,10 @@ class kv {
|
|
|
9035
9035
|
R(this, "parseInline", this.parseMarkdown(!1));
|
|
9036
9036
|
R(this, "Parser", ut);
|
|
9037
9037
|
R(this, "Renderer", wr);
|
|
9038
|
-
R(this, "TextRenderer",
|
|
9038
|
+
R(this, "TextRenderer", Di);
|
|
9039
9039
|
R(this, "Lexer", ct);
|
|
9040
9040
|
R(this, "Tokenizer", kr);
|
|
9041
|
-
R(this, "Hooks",
|
|
9041
|
+
R(this, "Hooks", Dn);
|
|
9042
9042
|
this.use(...e);
|
|
9043
9043
|
}
|
|
9044
9044
|
/**
|
|
@@ -9125,14 +9125,14 @@ class kv {
|
|
|
9125
9125
|
i.tokenizer = s;
|
|
9126
9126
|
}
|
|
9127
9127
|
if (r.hooks) {
|
|
9128
|
-
const s = this.defaults.hooks || new
|
|
9128
|
+
const s = this.defaults.hooks || new Dn();
|
|
9129
9129
|
for (const a in r.hooks) {
|
|
9130
9130
|
if (!(a in s))
|
|
9131
9131
|
throw new Error(`hook '${a}' does not exist`);
|
|
9132
9132
|
if (["options", "block"].includes(a))
|
|
9133
9133
|
continue;
|
|
9134
9134
|
const o = a, l = r.hooks[o], c = s[o];
|
|
9135
|
-
|
|
9135
|
+
Dn.passThroughHooks.has(a) ? s[o] = (u) => {
|
|
9136
9136
|
if (this.defaults.async)
|
|
9137
9137
|
return Promise.resolve(l.call(s, u)).then((f) => c.call(s, f));
|
|
9138
9138
|
const d = l.call(s, u);
|
|
@@ -9219,11 +9219,11 @@ fe.parseInline = nn.parseInline;
|
|
|
9219
9219
|
fe.Parser = ut;
|
|
9220
9220
|
fe.parser = ut.parse;
|
|
9221
9221
|
fe.Renderer = wr;
|
|
9222
|
-
fe.TextRenderer =
|
|
9222
|
+
fe.TextRenderer = Di;
|
|
9223
9223
|
fe.Lexer = ct;
|
|
9224
9224
|
fe.lexer = ct.lex;
|
|
9225
9225
|
fe.Tokenizer = kr;
|
|
9226
|
-
fe.Hooks =
|
|
9226
|
+
fe.Hooks = Dn;
|
|
9227
9227
|
fe.parse = fe;
|
|
9228
9228
|
fe.options;
|
|
9229
9229
|
fe.setOptions;
|
|
@@ -9281,11 +9281,11 @@ function Za(t, e) {
|
|
|
9281
9281
|
m.__click = [wv, n];
|
|
9282
9282
|
var b = C(m);
|
|
9283
9283
|
y(m);
|
|
9284
|
-
var S =
|
|
9284
|
+
var S = q(m, 2);
|
|
9285
9285
|
{
|
|
9286
9286
|
var $ = (_) => {
|
|
9287
9287
|
var E = Rv();
|
|
9288
|
-
Ye(E, 21, r, Ue, (
|
|
9288
|
+
Ye(E, 21, r, Ue, (D, w) => {
|
|
9289
9289
|
let z = () => p(w).filename, I = () => p(w).external_id, O = () => p(w).path, Y = () => p(w).gendoc_id, W = () => p(w).isCommon, he = () => p(w).commonType;
|
|
9290
9290
|
var N = Av();
|
|
9291
9291
|
const le = /* @__PURE__ */ gt(() => z().split(".").pop()), Pe = /* @__PURE__ */ gt(() => z().includes(".") && p(le) !== z()), Fe = /* @__PURE__ */ gt(() => `${I()}-${z()}`);
|
|
@@ -9305,10 +9305,10 @@ function Za(t, e) {
|
|
|
9305
9305
|
var Ne = C(N);
|
|
9306
9306
|
{
|
|
9307
9307
|
var ue = (_e) => {
|
|
9308
|
-
var
|
|
9309
|
-
k(_e,
|
|
9308
|
+
var De = xv();
|
|
9309
|
+
k(_e, De);
|
|
9310
9310
|
}, we = (_e) => {
|
|
9311
|
-
var
|
|
9311
|
+
var De = be(), Ge = ge(De);
|
|
9312
9312
|
{
|
|
9313
9313
|
var U = (Q) => {
|
|
9314
9314
|
var J = yv();
|
|
@@ -9418,34 +9418,34 @@ function Za(t, e) {
|
|
|
9418
9418
|
!0
|
|
9419
9419
|
);
|
|
9420
9420
|
}
|
|
9421
|
-
k(_e,
|
|
9421
|
+
k(_e, De);
|
|
9422
9422
|
};
|
|
9423
9423
|
B(Ne, (_e) => {
|
|
9424
9424
|
p(s)[p(Fe)] ? _e(ue) : _e(we, !1);
|
|
9425
9425
|
});
|
|
9426
9426
|
}
|
|
9427
|
-
var ye =
|
|
9427
|
+
var ye = q(Ne, 2), Je = C(ye), pt = C(Je, !0);
|
|
9428
9428
|
y(Je);
|
|
9429
|
-
var Ce =
|
|
9429
|
+
var Ce = q(Je, 2);
|
|
9430
9430
|
{
|
|
9431
9431
|
var ze = (_e) => {
|
|
9432
|
-
var
|
|
9433
|
-
y(Ge), y(
|
|
9432
|
+
var De = Iv(), Ge = C(De), U = C(Ge, !0);
|
|
9433
|
+
y(Ge), y(De), F(() => Le(U, O() !== "" ? O() : "root /")), k(_e, De);
|
|
9434
9434
|
};
|
|
9435
9435
|
B(Ce, (_e) => {
|
|
9436
9436
|
W() || _e(ze);
|
|
9437
9437
|
});
|
|
9438
9438
|
}
|
|
9439
9439
|
y(ye), y(N), F(
|
|
9440
|
-
(_e,
|
|
9441
|
-
Be(N, `${`dropdown-option ${i() < 50 && he() !== "suite" ? "common" : ""}` ?? ""} svelte-1imtnoy`), M(N, "aria-label", _e), M(N, "title",
|
|
9440
|
+
(_e, De, Ge) => {
|
|
9441
|
+
Be(N, `${`dropdown-option ${i() < 50 && he() !== "suite" ? "common" : ""}` ?? ""} svelte-1imtnoy`), M(N, "aria-label", _e), M(N, "title", De), N.disabled = p(s)[p(Fe)], Le(pt, Ge);
|
|
9442
9442
|
},
|
|
9443
9443
|
[
|
|
9444
9444
|
() => /* @__PURE__ */ rs(),
|
|
9445
9445
|
() => `${W() ? pn(he()).name : /* @__PURE__ */ rs()}`,
|
|
9446
9446
|
() => W() ? z().split(".")[0] : z()
|
|
9447
9447
|
]
|
|
9448
|
-
), k(
|
|
9448
|
+
), k(D, N);
|
|
9449
9449
|
}), y(E), k(_, E);
|
|
9450
9450
|
};
|
|
9451
9451
|
B(S, (_) => {
|
|
@@ -9494,7 +9494,7 @@ ne(
|
|
|
9494
9494
|
const Fv = (t, e, n) => {
|
|
9495
9495
|
p(e).pause(), x(n, !1);
|
|
9496
9496
|
};
|
|
9497
|
-
var Ov = /* @__PURE__ */ T('<button aria-label="Pause message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-1qmk846"><i class="fa-solid fa-pause"></i></button>'), Mv = (t, e, n) => e(p(n)),
|
|
9497
|
+
var Ov = /* @__PURE__ */ T('<button aria-label="Pause message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-1qmk846"><i class="fa-solid fa-pause"></i></button>'), Mv = (t, e, n) => e(p(n)), Dv = /* @__PURE__ */ T('<button aria-label="Play message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-1qmk846"><i class="fa-solid fa-play"></i></button>'), qv = /* @__PURE__ */ T('<div><div class="message-plus-play svelte-1qmk846"><div><div class="message-content svelte-1qmk846"><!></div></div> <!></div> <!></div>'), Nv = /* @__PURE__ */ T('<div class="message-plus-play svelte-1qmk846"><div class="message-received svelte-1qmk846"><div class="message-content svelte-1qmk846"><!></div></div> <!></div>'), Bv = /* @__PURE__ */ T('<div class="loading svelte-1qmk846"><!></div>'), Uv = /* @__PURE__ */ T('<div class="alert alert-danger"> </div>'), Yv = /* @__PURE__ */ T('<div class="chat-body svelte-1qmk846"><div class="empty-placeholder svelte-1qmk846"></div> <!> <!> <!></div>');
|
|
9498
9498
|
const Hv = {
|
|
9499
9499
|
hash: "svelte-1qmk846",
|
|
9500
9500
|
code: `.empty-placeholder.svelte-1qmk846 {height:100%;}.chat-body.svelte-1qmk846 {display:flex;flex-direction:column;gap:10px;overflow-y:auto;height:100%;padding:10px;}.chat-body.svelte-1qmk846::-webkit-scrollbar {width:8px;}.chat-body.svelte-1qmk846::-webkit-scrollbar-track {background:rgba(255, 255, 255, 0.2); /* Sfondo semi-trasparente */border-radius:10px;}.chat-body.svelte-1qmk846::-webkit-scrollbar-thumb {background:rgba(\r
|
|
@@ -9519,11 +9519,11 @@ function Ga(t, e) {
|
|
|
9519
9519
|
Ht(() => {
|
|
9520
9520
|
s(), n(), f();
|
|
9521
9521
|
});
|
|
9522
|
-
var m = Yv(), b =
|
|
9522
|
+
var m = Yv(), b = q(C(m), 2);
|
|
9523
9523
|
Ye(b, 17, n, Ue, (w, z, I) => {
|
|
9524
|
-
var O =
|
|
9524
|
+
var O = qv(), Y = C(O), W = C(Y), he = C(W), N = C(he);
|
|
9525
9525
|
ni(N, () => p(z).html ?? fe.parseInline(p(z).content), !1, !1), y(he), y(W);
|
|
9526
|
-
var le =
|
|
9526
|
+
var le = q(W, 2);
|
|
9527
9527
|
{
|
|
9528
9528
|
var Pe = (ue) => {
|
|
9529
9529
|
var we = be(), ye = ge(we);
|
|
@@ -9532,7 +9532,7 @@ function Ga(t, e) {
|
|
|
9532
9532
|
var ze = Ov();
|
|
9533
9533
|
ze.__click = [Fv, c, u], F((_e) => M(ze, "title", _e), [() => /* @__PURE__ */ Su()]), k(Ce, ze);
|
|
9534
9534
|
}, pt = (Ce) => {
|
|
9535
|
-
var ze =
|
|
9535
|
+
var ze = Dv();
|
|
9536
9536
|
ze.__click = [Mv, h, z], F((_e) => M(ze, "title", _e), [() => /* @__PURE__ */ $u()]), k(Ce, ze);
|
|
9537
9537
|
};
|
|
9538
9538
|
B(ye, (Ce) => {
|
|
@@ -9546,7 +9546,7 @@ function Ga(t, e) {
|
|
|
9546
9546
|
});
|
|
9547
9547
|
}
|
|
9548
9548
|
y(Y);
|
|
9549
|
-
var Fe =
|
|
9549
|
+
var Fe = q(Y, 2);
|
|
9550
9550
|
{
|
|
9551
9551
|
var Ne = (ue) => {
|
|
9552
9552
|
Za(ue, {
|
|
@@ -9573,12 +9573,12 @@ function Ga(t, e) {
|
|
|
9573
9573
|
}
|
|
9574
9574
|
y(O), F(() => Be(W, Xn(p(z).sentByUser ? "message-sent" : "message-received"), "svelte-1qmk846")), k(w, O);
|
|
9575
9575
|
});
|
|
9576
|
-
var S =
|
|
9576
|
+
var S = q(b, 2);
|
|
9577
9577
|
{
|
|
9578
9578
|
var $ = (w) => {
|
|
9579
9579
|
var z = Nv(), I = C(z), O = C(I), Y = C(O);
|
|
9580
9580
|
ni(Y, s, !1, !1), y(O), y(I);
|
|
9581
|
-
var W =
|
|
9581
|
+
var W = q(I, 2);
|
|
9582
9582
|
{
|
|
9583
9583
|
var he = (N) => {
|
|
9584
9584
|
Zn(N, {
|
|
@@ -9619,14 +9619,14 @@ function Ga(t, e) {
|
|
|
9619
9619
|
s().length > 0 ? w($) : w(_, !1);
|
|
9620
9620
|
});
|
|
9621
9621
|
}
|
|
9622
|
-
var E =
|
|
9622
|
+
var E = q(S, 2);
|
|
9623
9623
|
{
|
|
9624
|
-
var
|
|
9624
|
+
var D = (w) => {
|
|
9625
9625
|
var z = Uv(), I = C(z, !0);
|
|
9626
9626
|
y(z), F(() => Le(I, i())), k(w, z);
|
|
9627
9627
|
};
|
|
9628
9628
|
B(E, (w) => {
|
|
9629
|
-
i() != "" && w(
|
|
9629
|
+
i() != "" && w(D);
|
|
9630
9630
|
});
|
|
9631
9631
|
}
|
|
9632
9632
|
return y(m), ha(m, (w) => x(l, w), () => p(l)), _n(3, m, () => Ar, () => ({ duration: 300, delay: 100 })), k(t, m), ee({
|
|
@@ -9829,13 +9829,13 @@ function Ja(t, e) {
|
|
|
9829
9829
|
var d = (f) => {
|
|
9830
9830
|
var h = tg(), m = C(h), b = C(m, !0);
|
|
9831
9831
|
y(m);
|
|
9832
|
-
var S =
|
|
9832
|
+
var S = q(m, 2);
|
|
9833
9833
|
Ye(S, 21, i, Ue, ($, _) => {
|
|
9834
|
-
var E = eg(),
|
|
9835
|
-
|
|
9836
|
-
var w = C(
|
|
9837
|
-
y(w), y(
|
|
9838
|
-
var I = D
|
|
9834
|
+
var E = eg(), D = C(E);
|
|
9835
|
+
D.__click = [Qv, r, _, o];
|
|
9836
|
+
var w = C(D), z = C(w, !0);
|
|
9837
|
+
y(w), y(D);
|
|
9838
|
+
var I = q(D, 2);
|
|
9839
9839
|
I.__click = [Kv, l, _], y(E), F(() => {
|
|
9840
9840
|
M(E, "style", r()._id === p(_)._id ? "background: #295dcf; cursor: default;" : ""), Le(z, p(_).title);
|
|
9841
9841
|
}), k($, E);
|
|
@@ -9906,7 +9906,7 @@ function Va(t, e) {
|
|
|
9906
9906
|
const $ = (U) => {
|
|
9907
9907
|
x(b, p(b) + U);
|
|
9908
9908
|
};
|
|
9909
|
-
let _ = re(""), E = re(!0),
|
|
9909
|
+
let _ = re(""), E = re(!0), D = re(P({})), w = re(!0), z = re(!1);
|
|
9910
9910
|
Ht(() => {
|
|
9911
9911
|
p(z) && H.setForgeButtonsPinned(p(w));
|
|
9912
9912
|
});
|
|
@@ -10004,7 +10004,7 @@ function Va(t, e) {
|
|
|
10004
10004
|
Yt.firstMessage(p(i), p(s), p(_))
|
|
10005
10005
|
]))), x(m, "");
|
|
10006
10006
|
}, we = (U) => {
|
|
10007
|
-
p(_) !== U && (x(E, !1), x(_, P(U)), ue()), Ne(), x(
|
|
10007
|
+
p(_) !== U && (x(E, !1), x(_, P(U)), ue()), Ne(), x(D, P({}));
|
|
10008
10008
|
};
|
|
10009
10009
|
Ir(async () => {
|
|
10010
10010
|
try {
|
|
@@ -10066,7 +10066,7 @@ function Va(t, e) {
|
|
|
10066
10066
|
x(m, P(j));
|
|
10067
10067
|
}
|
|
10068
10068
|
});
|
|
10069
|
-
var L =
|
|
10069
|
+
var L = q(A, 6), V = C(L);
|
|
10070
10070
|
Zn(V, {
|
|
10071
10071
|
icon: "hugeicons:resize-field",
|
|
10072
10072
|
width: "25px",
|
|
@@ -10076,7 +10076,7 @@ function Va(t, e) {
|
|
|
10076
10076
|
color: "white",
|
|
10077
10077
|
style: "margin: 2px 0 0 2px;"
|
|
10078
10078
|
}), y(L);
|
|
10079
|
-
var Z =
|
|
10079
|
+
var Z = q(L, 2);
|
|
10080
10080
|
_a(Z, {
|
|
10081
10081
|
newChat: ue,
|
|
10082
10082
|
get show() {
|
|
@@ -10122,7 +10122,7 @@ function Va(t, e) {
|
|
|
10122
10122
|
x(m, P(j));
|
|
10123
10123
|
}
|
|
10124
10124
|
});
|
|
10125
|
-
var Se =
|
|
10125
|
+
var Se = q(Z, 2);
|
|
10126
10126
|
Ga(Se, {
|
|
10127
10127
|
get messages() {
|
|
10128
10128
|
return p(c);
|
|
@@ -10161,7 +10161,7 @@ function Va(t, e) {
|
|
|
10161
10161
|
x(a, P(j));
|
|
10162
10162
|
}
|
|
10163
10163
|
});
|
|
10164
|
-
var Re =
|
|
10164
|
+
var Re = q(Se, 2);
|
|
10165
10165
|
ya(Re, {
|
|
10166
10166
|
sendMessage: I,
|
|
10167
10167
|
stopMessage: O,
|
|
@@ -10190,10 +10190,10 @@ function Va(t, e) {
|
|
|
10190
10190
|
x(E, P(j));
|
|
10191
10191
|
},
|
|
10192
10192
|
get attachments() {
|
|
10193
|
-
return p(
|
|
10193
|
+
return p(D);
|
|
10194
10194
|
},
|
|
10195
10195
|
set attachments(j) {
|
|
10196
|
-
x(
|
|
10196
|
+
x(D, P(j));
|
|
10197
10197
|
}
|
|
10198
10198
|
}), k(Ae, Oe);
|
|
10199
10199
|
};
|
|
@@ -10217,29 +10217,29 @@ function Va(t, e) {
|
|
|
10217
10217
|
p(n) && U(pt);
|
|
10218
10218
|
});
|
|
10219
10219
|
}
|
|
10220
|
-
var Ce =
|
|
10220
|
+
var Ce = q(Je, 2);
|
|
10221
10221
|
Ce.__click = [
|
|
10222
10222
|
ig,
|
|
10223
10223
|
E,
|
|
10224
10224
|
_,
|
|
10225
10225
|
ue,
|
|
10226
10226
|
Ne,
|
|
10227
|
-
|
|
10227
|
+
D
|
|
10228
10228
|
];
|
|
10229
|
-
var ze =
|
|
10229
|
+
var ze = q(C(Ce)), _e = C(ze, !0);
|
|
10230
10230
|
y(ze), y(Ce);
|
|
10231
|
-
var
|
|
10231
|
+
var De = q(Ce, 2);
|
|
10232
10232
|
{
|
|
10233
10233
|
var Ge = (U) => {
|
|
10234
10234
|
var G = dg(), Q = C(G);
|
|
10235
10235
|
Q.__click = [lg, w];
|
|
10236
|
-
var J =
|
|
10236
|
+
var J = q(Q, 2), X = C(J), pe = C(X, !0);
|
|
10237
10237
|
y(X);
|
|
10238
|
-
var $e =
|
|
10238
|
+
var $e = q(X, 2);
|
|
10239
10239
|
$e.__click = [cg, we], y(J);
|
|
10240
|
-
var Ee =
|
|
10240
|
+
var Ee = q(J, 2), Ie = C(Ee), Ae = C(Ie, !0);
|
|
10241
10241
|
y(Ie);
|
|
10242
|
-
var Oe =
|
|
10242
|
+
var Oe = q(Ie, 2);
|
|
10243
10243
|
Oe.__click = [ug, we], y(Ee), y(G), F(
|
|
10244
10244
|
(A, L) => {
|
|
10245
10245
|
te(G, "visible", p(w)), M(Q, "aria-label", p(w) ? "unpin forge buttons" : "pin forge buttons"), te(Q, "pinned", p(w)), Le(pe, A), Le(Ae, L);
|
|
@@ -10250,7 +10250,7 @@ function Va(t, e) {
|
|
|
10250
10250
|
]
|
|
10251
10251
|
), _n(3, G, () => Ar), k(U, G);
|
|
10252
10252
|
};
|
|
10253
|
-
B(
|
|
10253
|
+
B(De, (U) => {
|
|
10254
10254
|
p(n) || U(Ge);
|
|
10255
10255
|
});
|
|
10256
10256
|
}
|