@supersoniks/concorde 4.9.98-visual-stack.2 → 4.9.98-visual-stack.4
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/build-infos.json +1 -1
- package/concorde-3d.bundle.js +1 -1
- package/concorde-3d.es.js +1 -1
- package/concorde-core.bundle.js +2 -2
- package/concorde-core.es.js +7 -2
- package/concorde-hugging-face-infer.bundle.js +1 -1
- package/concorde-hugging-face-infer.es.js +1 -1
- package/concorde-interactive.bundle.js +38 -43
- package/concorde-interactive.es.js +157 -146
- package/concorde-shader.bundle.js +1 -1
- package/concorde-shader.es.js +1 -1
- package/concorde-webgpu.bundle.js +1 -1
- package/concorde-webgpu.es.js +1 -1
- package/dist/concorde-3d.bundle.js +1 -1
- package/dist/concorde-3d.es.js +1 -1
- package/dist/concorde-core.bundle.js +2 -2
- package/dist/concorde-core.es.js +7 -2
- package/dist/concorde-hugging-face-infer.bundle.js +1 -1
- package/dist/concorde-hugging-face-infer.es.js +1 -1
- package/dist/concorde-interactive.bundle.js +38 -43
- package/dist/concorde-interactive.es.js +157 -146
- package/dist/concorde-shader.bundle.js +1 -1
- package/dist/concorde-shader.es.js +1 -1
- package/dist/concorde-webgpu.bundle.js +1 -1
- package/dist/concorde-webgpu.es.js +1 -1
- package/dist/js/core/components/functional/interactive/gesture.js +19 -6
- package/dist/js/core/components/functional/interactive/gesture.js.map +1 -1
- package/dist/js/core/components/functional/interactive/store.js +11 -3
- package/dist/js/core/components/functional/interactive/store.js.map +1 -1
- package/dist/js/core/mixins/Subscriber.js +6 -1
- package/dist/js/core/mixins/Subscriber.js.map +1 -1
- package/dist/types/core/components/functional/interactive/gesture.d.ts +2 -0
- package/dist/types/core/components/functional/interactive/gesture.d.ts.map +1 -1
- package/dist/types/core/components/functional/interactive/store.d.ts +2 -0
- package/dist/types/core/components/functional/interactive/store.d.ts.map +1 -1
- package/dist/types/core/mixins/Subscriber.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/components/functional/interactive/gesture.ts +20 -6
- package/src/core/components/functional/interactive/store.ts +9 -3
- package/src/core/mixins/Subscriber.ts +5 -1
- package/src/docs/_getting-started/cdn-addons.md +1 -0
- package/src/docs/navigation/navigation.ts +4 -0
- package/src/docs/search/docs-search.json +2513 -710
|
@@ -276,9 +276,9 @@ os.elementStyles = [], os.shadowRootOptions = { mode: "open" }, os[xs("elementPr
|
|
|
276
276
|
* Copyright 2017 Google LLC
|
|
277
277
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
278
278
|
*/
|
|
279
|
-
const Ir = globalThis, Ks = Ir.trustedTypes, tn = Ks ? Ks.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Mn = "$lit$",
|
|
279
|
+
const Ir = globalThis, Ks = Ir.trustedTypes, tn = Ks ? Ks.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Mn = "$lit$", jt = `lit$${Math.random().toFixed(9).slice(2)}$`, Rn = "?" + jt, Di = `<${Rn}>`, Zt = document, Ps = () => Zt.createComment(""), Ts = (r) => r === null || typeof r != "object" && typeof r != "function", Nr = Array.isArray, Oi = (r) => Nr(r) || typeof r?.[Symbol.iterator] == "function", lr = `[
|
|
280
280
|
\f\r]`, ys = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, sn = /-->/g, rn = />/g, Vt = RegExp(`>|${lr}(?:([^\\s"'>=/]+)(${lr}*=${lr}*(?:[^
|
|
281
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), nn = /'/g, on = /"/g, In = /^(?:script|style|textarea|title)$/i, Li = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), qe = Li(1),
|
|
281
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), nn = /'/g, on = /"/g, In = /^(?:script|style|textarea|title)$/i, Li = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), qe = Li(1), kt = Symbol.for("lit-noChange"), Ae = Symbol.for("lit-nothing"), an = /* @__PURE__ */ new WeakMap(), Jt = Zt.createTreeWalker(Zt, 129);
|
|
282
282
|
function Nn(r, e) {
|
|
283
283
|
if (!Nr(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
284
284
|
return tn !== void 0 ? tn.createHTML(e) : e;
|
|
@@ -291,7 +291,7 @@ const Fi = (r, e) => {
|
|
|
291
291
|
let C, $, k = -1, w = 0;
|
|
292
292
|
for (; w < d.length && (o.lastIndex = w, $ = o.exec(d), $ !== null); ) w = o.lastIndex, o === ys ? $[1] === "!--" ? o = sn : $[1] !== void 0 ? o = rn : $[2] !== void 0 ? (In.test($[2]) && (n = RegExp("</" + $[2], "g")), o = Vt) : $[3] !== void 0 && (o = Vt) : o === Vt ? $[0] === ">" ? (o = n ?? ys, k = -1) : $[1] === void 0 ? k = -2 : (k = o.lastIndex - $[2].length, C = $[1], o = $[3] === void 0 ? Vt : $[3] === '"' ? on : nn) : o === on || o === nn ? o = Vt : o === sn || o === rn ? o = ys : (o = Vt, n = void 0);
|
|
293
293
|
const E = o === Vt && r[h + 1].startsWith("/>") ? " " : "";
|
|
294
|
-
a += o === ys ? d + Di : k >= 0 ? (s.push(C), d.slice(0, k) + Mn + d.slice(k) +
|
|
294
|
+
a += o === ys ? d + Di : k >= 0 ? (s.push(C), d.slice(0, k) + Mn + d.slice(k) + jt + E) : d + jt + (k === -2 ? h : E);
|
|
295
295
|
}
|
|
296
296
|
return [Nn(r, a + (r[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
|
|
297
297
|
};
|
|
@@ -308,11 +308,11 @@ let _r = class Un {
|
|
|
308
308
|
for (; (n = Jt.nextNode()) !== null && d.length < h; ) {
|
|
309
309
|
if (n.nodeType === 1) {
|
|
310
310
|
if (n.hasAttributes()) for (const k of n.getAttributeNames()) if (k.endsWith(Mn)) {
|
|
311
|
-
const w = $[o++], E = n.getAttribute(k).split(
|
|
311
|
+
const w = $[o++], E = n.getAttribute(k).split(jt), O = /([.?@])?(.*)/.exec(w);
|
|
312
312
|
d.push({ type: 1, index: a, name: O[2], strings: E, ctor: O[1] === "." ? Ri : O[1] === "?" ? Ii : O[1] === "@" ? Ni : rr }), n.removeAttribute(k);
|
|
313
|
-
} else k.startsWith(
|
|
313
|
+
} else k.startsWith(jt) && (d.push({ type: 6, index: a }), n.removeAttribute(k));
|
|
314
314
|
if (In.test(n.tagName)) {
|
|
315
|
-
const k = n.textContent.split(
|
|
315
|
+
const k = n.textContent.split(jt), w = k.length - 1;
|
|
316
316
|
if (w > 0) {
|
|
317
317
|
n.textContent = Ks ? Ks.emptyScript : "";
|
|
318
318
|
for (let E = 0; E < w; E++) n.append(k[E], Ps()), Jt.nextNode(), d.push({ type: 2, index: ++a });
|
|
@@ -322,7 +322,7 @@ let _r = class Un {
|
|
|
322
322
|
} else if (n.nodeType === 8) if (n.data === Rn) d.push({ type: 2, index: a });
|
|
323
323
|
else {
|
|
324
324
|
let k = -1;
|
|
325
|
-
for (; (k = n.data.indexOf(
|
|
325
|
+
for (; (k = n.data.indexOf(jt, k + 1)) !== -1; ) d.push({ type: 7, index: a }), k += jt.length - 1;
|
|
326
326
|
}
|
|
327
327
|
a++;
|
|
328
328
|
}
|
|
@@ -333,7 +333,7 @@ let _r = class Un {
|
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
335
|
function ls(r, e, t = r, s) {
|
|
336
|
-
if (e ===
|
|
336
|
+
if (e === kt) return e;
|
|
337
337
|
let n = s !== void 0 ? t._$Co?.[s] : t._$Cl;
|
|
338
338
|
const a = Ts(e) ? void 0 : e._$litDirective$;
|
|
339
339
|
return n?.constructor !== a && (n?._$AO?.(!1), a === void 0 ? n = void 0 : (n = new a(r), n._$AT(r, t, s)), s !== void 0 ? (t._$Co ??= [])[s] = n : t._$Cl = n), n !== void 0 && (e = ls(r, n._$AS(r, e.values), n, s)), e;
|
|
@@ -385,7 +385,7 @@ class hs {
|
|
|
385
385
|
return this._$AB;
|
|
386
386
|
}
|
|
387
387
|
_$AI(e, t = this) {
|
|
388
|
-
e = ls(this, e, t), Ts(e) ? e === Ae || e == null || e === "" ? (this._$AH !== Ae && this._$AR(), this._$AH = Ae) : e !== this._$AH && e !==
|
|
388
|
+
e = ls(this, e, t), Ts(e) ? e === Ae || e == null || e === "" ? (this._$AH !== Ae && this._$AR(), this._$AH = Ae) : e !== this._$AH && e !== kt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Oi(e) ? this.k(e) : this._(e);
|
|
389
389
|
}
|
|
390
390
|
O(e) {
|
|
391
391
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -438,11 +438,11 @@ class rr {
|
|
|
438
438
|
_$AI(e, t = this, s, n) {
|
|
439
439
|
const a = this.strings;
|
|
440
440
|
let o = !1;
|
|
441
|
-
if (a === void 0) e = ls(this, e, t, 0), o = !Ts(e) || e !== this._$AH && e !==
|
|
441
|
+
if (a === void 0) e = ls(this, e, t, 0), o = !Ts(e) || e !== this._$AH && e !== kt, o && (this._$AH = e);
|
|
442
442
|
else {
|
|
443
443
|
const h = e;
|
|
444
444
|
let d, C;
|
|
445
|
-
for (e = a[0], d = 0; d < a.length - 1; d++) C = ls(this, h[s + d], t, d), C ===
|
|
445
|
+
for (e = a[0], d = 0; d < a.length - 1; d++) C = ls(this, h[s + d], t, d), C === kt && (C = this._$AH[d]), o ||= !Ts(C) || C !== this._$AH[d], C === Ae ? e = Ae : e !== Ae && (e += (C ?? "") + a[d + 1]), this._$AH[d] = C;
|
|
446
446
|
}
|
|
447
447
|
o && !n && this.j(e);
|
|
448
448
|
}
|
|
@@ -471,7 +471,7 @@ class Ni extends rr {
|
|
|
471
471
|
super(e, t, s, n, a), this.type = 5;
|
|
472
472
|
}
|
|
473
473
|
_$AI(e, t = this) {
|
|
474
|
-
if ((e = ls(this, e, t, 0) ?? Ae) ===
|
|
474
|
+
if ((e = ls(this, e, t, 0) ?? Ae) === kt) return;
|
|
475
475
|
const s = this._$AH, n = e === Ae && s !== Ae || e.capture !== s.capture || e.once !== s.once || e.passive !== s.passive, a = e !== Ae && (s === Ae || n);
|
|
476
476
|
n && this.element.removeEventListener(this.name, this, s), a && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
477
477
|
}
|
|
@@ -526,7 +526,7 @@ let Xe = class extends os {
|
|
|
526
526
|
super.disconnectedCallback(), this._$Do?.setConnected(!1);
|
|
527
527
|
}
|
|
528
528
|
render() {
|
|
529
|
-
return
|
|
529
|
+
return kt;
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
Xe._$litElement$ = !0, Xe.finalized = !0, Ur.litElementHydrateSupport?.({ LitElement: Xe });
|
|
@@ -580,7 +580,7 @@ function L(r) {
|
|
|
580
580
|
* Copyright 2017 Google LLC
|
|
581
581
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
582
582
|
*/
|
|
583
|
-
function
|
|
583
|
+
function yt(r) {
|
|
584
584
|
return L({ ...r, state: !0, attribute: !1 });
|
|
585
585
|
}
|
|
586
586
|
/**
|
|
@@ -1131,7 +1131,7 @@ function Gi() {
|
|
|
1131
1131
|
return P;
|
|
1132
1132
|
};
|
|
1133
1133
|
let Fe = null;
|
|
1134
|
-
function
|
|
1134
|
+
function bt(S, D, P) {
|
|
1135
1135
|
var I = 0, q = 0;
|
|
1136
1136
|
if (typeof P < "u") {
|
|
1137
1137
|
const le = parseInt(P);
|
|
@@ -1288,11 +1288,11 @@ function Gi() {
|
|
|
1288
1288
|
const Ge = !We(161) && We(130), Ct = We(84), ss = !Ct && We(72);
|
|
1289
1289
|
He = 0, "PHhmsf".split("").forEach((c) => at(J[c]));
|
|
1290
1290
|
const H = !We(23) && We(47), ft = (Ge ? "YD" : Ct ? "XxwF" : ss ? "XWF" : "YMD") + (H ? "Phmsf" : "Hmsf"), ps = this.environment.timestamp;
|
|
1291
|
-
let
|
|
1291
|
+
let wt = !1, Bt = !1;
|
|
1292
1292
|
if (ft.split("").forEach((c) => {
|
|
1293
1293
|
if (typeof J[c] > "u")
|
|
1294
|
-
|
|
1295
|
-
else if (
|
|
1294
|
+
wt ? (J[c] = "MDd".indexOf(c) !== -1 ? 1 : 0, Bt = !0) : J[c] = re(ps, c);
|
|
1295
|
+
else if (wt = !0, Bt)
|
|
1296
1296
|
throw {
|
|
1297
1297
|
code: "D3136"
|
|
1298
1298
|
};
|
|
@@ -1329,7 +1329,7 @@ function Gi() {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
function be(S, D, P) {
|
|
1331
1331
|
if (!(typeof S > "u"))
|
|
1332
|
-
return
|
|
1332
|
+
return bt.call(this, S, D, P);
|
|
1333
1333
|
}
|
|
1334
1334
|
return {
|
|
1335
1335
|
formatInteger: _,
|
|
@@ -1526,8 +1526,8 @@ function Gi() {
|
|
|
1526
1526
|
Ne += "$";
|
|
1527
1527
|
else {
|
|
1528
1528
|
if (Ee.groups.length > 0) {
|
|
1529
|
-
var
|
|
1530
|
-
typeof
|
|
1529
|
+
var _t = Ee.groups[Me - 1];
|
|
1530
|
+
typeof _t < "u" && (Ne += _t);
|
|
1531
1531
|
}
|
|
1532
1532
|
me += Me.toString().length;
|
|
1533
1533
|
}
|
|
@@ -1579,7 +1579,7 @@ function Gi() {
|
|
|
1579
1579
|
return l(i);
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
|
-
function
|
|
1582
|
+
function bt(i) {
|
|
1583
1583
|
if (!(typeof i > "u")) {
|
|
1584
1584
|
var l = typeof window < "u" ? (
|
|
1585
1585
|
/* istanbul ignore next */
|
|
@@ -1720,15 +1720,15 @@ function Gi() {
|
|
|
1720
1720
|
if (ze = te.charAt(ot), ne.indexOf(ze) !== -1 && ze !== v["exponent-separator"])
|
|
1721
1721
|
return te.substring(ot + 1);
|
|
1722
1722
|
return "";
|
|
1723
|
-
})(), $e = te.substring(De.length, te.length - Je.length), tt,
|
|
1724
|
-
it === -1 || it > te.length - Je.length ? (tt = $e,
|
|
1723
|
+
})(), $e = te.substring(De.length, te.length - Je.length), tt, Rt, st, Ht, it = te.indexOf(v["exponent-separator"], De.length);
|
|
1724
|
+
it === -1 || it > te.length - Je.length ? (tt = $e, Rt = void 0) : (tt = $e.substring(0, it), Rt = $e.substring(it + 1));
|
|
1725
1725
|
var dt = tt.indexOf(v["decimal-separator"]);
|
|
1726
1726
|
return dt === -1 ? (st = tt, Ht = Je) : (st = tt.substring(0, dt), Ht = tt.substring(dt + 1)), {
|
|
1727
1727
|
prefix: De,
|
|
1728
1728
|
suffix: Je,
|
|
1729
1729
|
activePart: $e,
|
|
1730
1730
|
mantissaPart: tt,
|
|
1731
|
-
exponentPart:
|
|
1731
|
+
exponentPart: Rt,
|
|
1732
1732
|
integerPart: st,
|
|
1733
1733
|
fractionalPart: Ht,
|
|
1734
1734
|
subpicture: te
|
|
@@ -1736,15 +1736,15 @@ function Gi() {
|
|
|
1736
1736
|
}, Ce = function(te) {
|
|
1737
1737
|
var De, Je, $e = te.subpicture, tt = $e.indexOf(v["decimal-separator"]);
|
|
1738
1738
|
tt !== $e.lastIndexOf(v["decimal-separator"]) && (De = "D3081"), $e.indexOf(v.percent) !== $e.lastIndexOf(v.percent) && (De = "D3082"), $e.indexOf(v["per-mille"]) !== $e.lastIndexOf(v["per-mille"]) && (De = "D3083"), $e.indexOf(v.percent) !== -1 && $e.indexOf(v["per-mille"]) !== -1 && (De = "D3084");
|
|
1739
|
-
var
|
|
1739
|
+
var Rt = !1;
|
|
1740
1740
|
for (Je = 0; Je < te.mantissaPart.length; Je++) {
|
|
1741
1741
|
var st = te.mantissaPart.charAt(Je);
|
|
1742
1742
|
if (x.indexOf(st) !== -1 || st === v.digit) {
|
|
1743
|
-
|
|
1743
|
+
Rt = !0;
|
|
1744
1744
|
break;
|
|
1745
1745
|
}
|
|
1746
1746
|
}
|
|
1747
|
-
|
|
1747
|
+
Rt || (De = "D3085");
|
|
1748
1748
|
var Ht = te.activePart.split("").map(function(ze) {
|
|
1749
1749
|
return ne.indexOf(ze) === -1 ? "p" : "a";
|
|
1750
1750
|
}).join("");
|
|
@@ -1781,7 +1781,7 @@ function Gi() {
|
|
|
1781
1781
|
if (Ve.indexOf(Et * ms) === -1)
|
|
1782
1782
|
return 0;
|
|
1783
1783
|
return ms;
|
|
1784
|
-
}, tt = $e(Je),
|
|
1784
|
+
}, tt = $e(Je), Rt = De(te.fractionalPart, !0), st = te.integerPart.split("").filter(function(Ve) {
|
|
1785
1785
|
return x.indexOf(Ve) !== -1;
|
|
1786
1786
|
}).length, Ht = st, it = te.fractionalPart.split(""), dt = it.filter(function(Ve) {
|
|
1787
1787
|
return x.indexOf(Ve) !== -1;
|
|
@@ -1798,7 +1798,7 @@ function Gi() {
|
|
|
1798
1798
|
minimumIntegerPartSize: st,
|
|
1799
1799
|
scalingFactor: Ht,
|
|
1800
1800
|
prefix: te.prefix,
|
|
1801
|
-
fractionalPartGroupingPositions:
|
|
1801
|
+
fractionalPartGroupingPositions: Rt,
|
|
1802
1802
|
minimumFactionalPartSize: dt,
|
|
1803
1803
|
maximumFactionalPartSize: ze,
|
|
1804
1804
|
minimumExponentSize: Kr,
|
|
@@ -1807,25 +1807,25 @@ function Gi() {
|
|
|
1807
1807
|
};
|
|
1808
1808
|
}, Ne = G.map(we);
|
|
1809
1809
|
Ne.forEach(Ce);
|
|
1810
|
-
var me = Ne.map(Ee), Me = v["minus-sign"], lt = v["zero-digit"], Ye = v["decimal-separator"],
|
|
1810
|
+
var me = Ne.map(Ee), Me = v["minus-sign"], lt = v["zero-digit"], Ye = v["decimal-separator"], _t = v["grouping-separator"];
|
|
1811
1811
|
me.length === 1 && (me.push(JSON.parse(JSON.stringify(me[0]))), me[1].prefix = Me + me[1].prefix);
|
|
1812
1812
|
var Ue;
|
|
1813
1813
|
i >= 0 ? Ue = me[0] : Ue = me[1];
|
|
1814
1814
|
var gs;
|
|
1815
1815
|
Ue.picture.indexOf(v.percent) !== -1 ? gs = i * 100 : Ue.picture.indexOf(v["per-mille"]) !== -1 ? gs = i * 1e3 : gs = i;
|
|
1816
|
-
var
|
|
1816
|
+
var Mt, ns;
|
|
1817
1817
|
if (Ue.minimumExponentSize === 0)
|
|
1818
|
-
|
|
1818
|
+
Mt = gs;
|
|
1819
1819
|
else {
|
|
1820
1820
|
var vi = Math.pow(10, Ue.scalingFactor), mi = Math.pow(10, Ue.scalingFactor - 1);
|
|
1821
|
-
if (
|
|
1822
|
-
for (; Math.abs(
|
|
1823
|
-
|
|
1824
|
-
for (; Math.abs(
|
|
1825
|
-
|
|
1821
|
+
if (Mt = gs, ns = 0, Mt !== 0) {
|
|
1822
|
+
for (; Math.abs(Mt) < mi; )
|
|
1823
|
+
Mt *= 10, ns -= 1;
|
|
1824
|
+
for (; Math.abs(Mt) > vi; )
|
|
1825
|
+
Mt /= 10, ns += 1;
|
|
1826
1826
|
}
|
|
1827
1827
|
}
|
|
1828
|
-
var yi = F(
|
|
1828
|
+
var yi = F(Mt, Ue.maximumFactionalPartSize), Gr = function(te, De) {
|
|
1829
1829
|
var Je = Math.abs(te).toFixed(De);
|
|
1830
1830
|
return lt !== "0" && (Je = Je.split("").map(function($e) {
|
|
1831
1831
|
return $e >= "0" && $e <= "9" ? x[$e.charCodeAt(0) - 48] : $e;
|
|
@@ -1839,13 +1839,13 @@ function Gi() {
|
|
|
1839
1839
|
var vs = Ue.minimumIntegerPartSize - Ke, Yr = Ue.minimumFactionalPartSize - (ae.length - Ke - 1);
|
|
1840
1840
|
if (ae = (vs > 0 ? new Array(vs + 1).join(lt) : "") + ae, ae = ae + (Yr > 0 ? new Array(Yr + 1).join(lt) : ""), Ke = ae.indexOf(Ye), Ue.regularGrouping > 0)
|
|
1841
1841
|
for (var bi = Math.floor((Ke - 1) / Ue.regularGrouping), Is = 1; Is <= bi; Is++)
|
|
1842
|
-
ae = [ae.slice(0, Ke - Is * Ue.regularGrouping),
|
|
1842
|
+
ae = [ae.slice(0, Ke - Is * Ue.regularGrouping), _t, ae.slice(Ke - Is * Ue.regularGrouping)].join("");
|
|
1843
1843
|
else
|
|
1844
1844
|
Ue.integerPartGroupingPositions.forEach(function(te) {
|
|
1845
|
-
ae = [ae.slice(0, Ke - te),
|
|
1845
|
+
ae = [ae.slice(0, Ke - te), _t, ae.slice(Ke - te)].join(""), Ke++;
|
|
1846
1846
|
});
|
|
1847
1847
|
if (Ke = ae.indexOf(Ye), Ue.fractionalPartGroupingPositions.forEach(function(te) {
|
|
1848
|
-
ae = [ae.slice(0, te + Ke + 1),
|
|
1848
|
+
ae = [ae.slice(0, te + Ke + 1), _t, ae.slice(te + Ke + 1)].join("");
|
|
1849
1849
|
}), Ke = ae.indexOf(Ye), (Ue.picture.indexOf(Ye) === -1 || Ke === ae.length - 1) && (ae = ae.substring(0, ae.length - 1)), typeof ns < "u") {
|
|
1850
1850
|
var Ns = Gr(ns, 0);
|
|
1851
1851
|
vs = Ue.minimumExponentSize - Ns.length, vs > 0 && (Ns = new Array(vs + 1).join(lt) + Ns), ae = ae + v["exponent-separator"] + (ns < 0 ? Me : "") + Ns;
|
|
@@ -2136,7 +2136,7 @@ function Gi() {
|
|
|
2136
2136
|
message: l || "$assert() statement failed"
|
|
2137
2137
|
};
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2139
|
+
function wt(i) {
|
|
2140
2140
|
if (i !== void 0)
|
|
2141
2141
|
return i === null ? "null" : d(i) ? "number" : typeof i == "string" ? "string" : typeof i == "boolean" ? "boolean" : Array.isArray(i) ? "array" : w(i) ? "function" : "object";
|
|
2142
2142
|
}
|
|
@@ -2253,12 +2253,12 @@ function Gi() {
|
|
|
2253
2253
|
each: Rs,
|
|
2254
2254
|
error: ft,
|
|
2255
2255
|
assert: ps,
|
|
2256
|
-
type:
|
|
2256
|
+
type: wt,
|
|
2257
2257
|
sort: Bt,
|
|
2258
2258
|
shuffle: c,
|
|
2259
2259
|
distinct: f,
|
|
2260
2260
|
base64encode: Fe,
|
|
2261
|
-
base64decode:
|
|
2261
|
+
base64decode: bt,
|
|
2262
2262
|
encodeUrlComponent: p,
|
|
2263
2263
|
encodeUrl: b,
|
|
2264
2264
|
decodeUrlComponent: W,
|
|
@@ -2461,7 +2461,7 @@ function Gi() {
|
|
|
2461
2461
|
case "*":
|
|
2462
2462
|
case "/":
|
|
2463
2463
|
case "%":
|
|
2464
|
-
i =
|
|
2464
|
+
i = bt(l, v, u);
|
|
2465
2465
|
break;
|
|
2466
2466
|
case "=":
|
|
2467
2467
|
case "!=":
|
|
@@ -2562,7 +2562,7 @@ function Gi() {
|
|
|
2562
2562
|
Fe(c[g], f);
|
|
2563
2563
|
});
|
|
2564
2564
|
}
|
|
2565
|
-
function
|
|
2565
|
+
function bt(c, f, g) {
|
|
2566
2566
|
var i;
|
|
2567
2567
|
if (typeof c < "u" && !k(c))
|
|
2568
2568
|
throw {
|
|
@@ -2718,8 +2718,8 @@ function Gi() {
|
|
|
2718
2718
|
let Me = l[Ne];
|
|
2719
2719
|
var lt = Me.data, Ye = g;
|
|
2720
2720
|
if (u) {
|
|
2721
|
-
var
|
|
2722
|
-
lt =
|
|
2721
|
+
var _t = D(Me.data, g);
|
|
2722
|
+
lt = _t["@"], delete _t["@"], Ye = N(g, _t);
|
|
2723
2723
|
}
|
|
2724
2724
|
return g.isParallelCall = me > 0, [Ne, await T(c.lhs[Me.exprIndex][1], lt, Ye)];
|
|
2725
2725
|
}));
|
|
@@ -3106,7 +3106,7 @@ function Gi() {
|
|
|
3106
3106
|
try {
|
|
3107
3107
|
var i = d(c, !1);
|
|
3108
3108
|
} catch (u) {
|
|
3109
|
-
throw
|
|
3109
|
+
throw wt(u), {
|
|
3110
3110
|
stack: new Error().stack,
|
|
3111
3111
|
code: "D3120",
|
|
3112
3112
|
value: u.message,
|
|
@@ -3116,7 +3116,7 @@ function Gi() {
|
|
|
3116
3116
|
try {
|
|
3117
3117
|
var l = await T(i, g, this.environment);
|
|
3118
3118
|
} catch (u) {
|
|
3119
|
-
throw
|
|
3119
|
+
throw wt(u), {
|
|
3120
3120
|
stack: new Error().stack,
|
|
3121
3121
|
code: "D3121",
|
|
3122
3122
|
value: u.message,
|
|
@@ -3257,7 +3257,7 @@ function Gi() {
|
|
|
3257
3257
|
D3140: "Malformed URL passed to ${{{functionName}}}(): {{value}}",
|
|
3258
3258
|
D3141: "{{{message}}}"
|
|
3259
3259
|
};
|
|
3260
|
-
function
|
|
3260
|
+
function wt(c) {
|
|
3261
3261
|
var f = ps[c.code];
|
|
3262
3262
|
if (typeof f < "u") {
|
|
3263
3263
|
var g = f.replace(/\{\{\{([^}]+)}}}/g, function() {
|
|
@@ -3273,7 +3273,7 @@ function Gi() {
|
|
|
3273
3273
|
try {
|
|
3274
3274
|
g = d(c, f && f.recover), i = g.errors, delete g.errors;
|
|
3275
3275
|
} catch (y) {
|
|
3276
|
-
throw
|
|
3276
|
+
throw wt(y), y;
|
|
3277
3277
|
}
|
|
3278
3278
|
var l = ft(_), u = /* @__PURE__ */ new Date();
|
|
3279
3279
|
return l.bind("now", H(function(y, v) {
|
|
@@ -3287,7 +3287,7 @@ function Gi() {
|
|
|
3287
3287
|
code: "S0500",
|
|
3288
3288
|
position: 0
|
|
3289
3289
|
};
|
|
3290
|
-
throw
|
|
3290
|
+
throw wt(U), U;
|
|
3291
3291
|
}
|
|
3292
3292
|
const z = ft(l);
|
|
3293
3293
|
for (const G of h.keys(v))
|
|
@@ -3327,7 +3327,7 @@ function Gi() {
|
|
|
3327
3327
|
try {
|
|
3328
3328
|
return ne = await T(g, y, z), typeof x == "function" && x(null, ne), ne;
|
|
3329
3329
|
} catch (G) {
|
|
3330
|
-
throw
|
|
3330
|
+
throw wt(G), G;
|
|
3331
3331
|
}
|
|
3332
3332
|
},
|
|
3333
3333
|
assign: function(y, v) {
|
|
@@ -4024,12 +4024,12 @@ function Gi() {
|
|
|
4024
4024
|
O = C(k), _();
|
|
4025
4025
|
var Fe = T(0);
|
|
4026
4026
|
if (E.id !== "(end)") {
|
|
4027
|
-
var
|
|
4027
|
+
var bt = {
|
|
4028
4028
|
code: "S0201",
|
|
4029
4029
|
position: E.position,
|
|
4030
4030
|
token: E.value
|
|
4031
4031
|
};
|
|
4032
|
-
M(
|
|
4032
|
+
M(bt);
|
|
4033
4033
|
}
|
|
4034
4034
|
if (Fe = re(Fe), Fe.type === "parent" || typeof Fe.seekingParent < "u")
|
|
4035
4035
|
throw {
|
|
@@ -4212,12 +4212,12 @@ function Gi() {
|
|
|
4212
4212
|
if (re !== "a" && pe !== Le.subtype)
|
|
4213
4213
|
Fe = !1;
|
|
4214
4214
|
else if (re === "a" && ce.length > 0) {
|
|
4215
|
-
var
|
|
4216
|
-
if (
|
|
4215
|
+
var bt = T(ce[0]);
|
|
4216
|
+
if (bt !== Le.subtype.charAt(0))
|
|
4217
4217
|
Fe = !1;
|
|
4218
4218
|
else {
|
|
4219
4219
|
var p = ce.filter(function(b) {
|
|
4220
|
-
return T(b) !==
|
|
4220
|
+
return T(b) !== bt;
|
|
4221
4221
|
});
|
|
4222
4222
|
Fe = p.length === 0;
|
|
4223
4223
|
}
|
|
@@ -4721,12 +4721,12 @@ function eo(r) {
|
|
|
4721
4721
|
function qs(r) {
|
|
4722
4722
|
return Object.prototype.hasOwnProperty.call(r, "__value");
|
|
4723
4723
|
}
|
|
4724
|
-
function
|
|
4724
|
+
function Nt(r) {
|
|
4725
4725
|
return typeof r == "object" && r !== null;
|
|
4726
4726
|
}
|
|
4727
4727
|
let cs = "sonic";
|
|
4728
4728
|
typeof __SONIC_PREFIX__ > "u" && (cs = "sonic");
|
|
4729
|
-
const hr = cs == "sonic" ? "publisher-proxies-data" : cs + "-publisher-proxies-data",
|
|
4729
|
+
const hr = cs == "sonic" ? "publisher-proxies-data" : cs + "-publisher-proxies-data", Ut = class Ut {
|
|
4730
4730
|
constructor(e, t, s) {
|
|
4731
4731
|
for (this._proxies_ = /* @__PURE__ */ new Map(), this._is_savable_ = !1, this._expiration_delay_ = 1e3 * 60 * 60 * 12, this._invalidate_on_page_show_ = !1, this._invalidateListeners_ = /* @__PURE__ */ new Set(), this._formInvalidateListeners_ = /* @__PURE__ */ new Set(), this._assignListeners_ = /* @__PURE__ */ new Set(), this._mutationListeners_ = /* @__PURE__ */ new Set(), this._fillListeners_ = /* @__PURE__ */ new Set(), this._templateFillListeners_ = /* @__PURE__ */ new Set(), this._lockInternalMutationPublishing_ = !1, this._instanceCounter_ = 0, this._assignmentId_ = 0, this._value_ = e, this.parent = t || null, this._parentKey_ = s, this.root = this, this._instanceCounter_ = 0; this.root.parent; )
|
|
4732
4732
|
this.root = this.root.parent;
|
|
@@ -4738,7 +4738,7 @@ const hr = cs == "sonic" ? "publisher-proxies-data" : cs + "-publisher-proxies-d
|
|
|
4738
4738
|
delete() {
|
|
4739
4739
|
for (const e in this._proxies_.keys())
|
|
4740
4740
|
e != "_parent_" && this._proxies_.get(e)?.delete();
|
|
4741
|
-
this._invalidateListeners_.clear(), this._formInvalidateListeners_.clear(), this._assignListeners_.clear(), this._mutationListeners_.clear(), this._fillListeners_.clear(), this._templateFillListeners_.clear(), this._proxies_.clear(),
|
|
4741
|
+
this._invalidateListeners_.clear(), this._formInvalidateListeners_.clear(), this._assignListeners_.clear(), this._mutationListeners_.clear(), this._fillListeners_.clear(), this._templateFillListeners_.clear(), this._proxies_.clear(), Ut.instances.delete(this._instanceCounter_);
|
|
4742
4742
|
}
|
|
4743
4743
|
/**
|
|
4744
4744
|
* Utile pour savoir si quelque chose est en écoute d'une modification sur le proxy via une des methodes associées
|
|
@@ -4883,9 +4883,9 @@ const hr = cs == "sonic" ? "publisher-proxies-data" : cs + "-publisher-proxies-d
|
|
|
4883
4883
|
* Assigne une nouvelle valeur au proxy ce qui déclenche la transmission de la donnée en fonction des "écouteurs" associés
|
|
4884
4884
|
*/
|
|
4885
4885
|
set(e, t = !1) {
|
|
4886
|
-
if (this._value_ === e ||
|
|
4886
|
+
if (this._value_ === e || Nt(this._value_) && Nt(e) && e && qs(this._value_) && qs(e) && this._value_.__value === e.__value || !Nt(e) && e === this._value_.__value)
|
|
4887
4887
|
return !0;
|
|
4888
|
-
this._value_ =
|
|
4888
|
+
this._value_ = Nt(e) ? e : { __value: e }, this._cachedGet_ = void 0;
|
|
4889
4889
|
const s = qs(this._value_);
|
|
4890
4890
|
if (this._parentKey_ && this.parent) {
|
|
4891
4891
|
const n = qs(this._value_) ? this._value_.__value : this._value_;
|
|
@@ -4914,9 +4914,9 @@ const hr = cs == "sonic" ? "publisher-proxies-data" : cs + "-publisher-proxies-d
|
|
|
4914
4914
|
}), this._publishAssignement_(), this.parent && this._parentKey_ && this.parent._publishDynamicFilling_(
|
|
4915
4915
|
this._parentKey_,
|
|
4916
4916
|
this._value_
|
|
4917
|
-
),
|
|
4917
|
+
), Nt(this._value_))
|
|
4918
4918
|
for (const n in this._value_) {
|
|
4919
|
-
const a = e[n], h =
|
|
4919
|
+
const a = e[n], h = Nt(a) ? a : { __value: a };
|
|
4920
4920
|
if (!this._proxies_.has(n)) {
|
|
4921
4921
|
this._publishDynamicFilling_(n, a);
|
|
4922
4922
|
continue;
|
|
@@ -4937,11 +4937,11 @@ const hr = cs == "sonic" ? "publisher-proxies-data" : cs + "-publisher-proxies-d
|
|
|
4937
4937
|
* retourner le webcomponent auquel le proxy est associé
|
|
4938
4938
|
*/
|
|
4939
4939
|
get $tag() {
|
|
4940
|
-
return this._instanceCounter_ || (
|
|
4940
|
+
return this._instanceCounter_ || (Ut.instancesCounter++, this._instanceCounter_ = Ut.instancesCounter), Ut.instances.set(this._instanceCounter_, this), "<" + cs + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + cs + "-publisher-proxy>";
|
|
4941
4941
|
}
|
|
4942
4942
|
};
|
|
4943
|
-
|
|
4944
|
-
let Zs =
|
|
4943
|
+
Ut.instances = /* @__PURE__ */ new Map(), Ut.instancesCounter = 0;
|
|
4944
|
+
let Zs = Ut;
|
|
4945
4945
|
const Xs = [];
|
|
4946
4946
|
function to(r) {
|
|
4947
4947
|
Xs.length > 0 && Xs[0].add(r);
|
|
@@ -5106,7 +5106,7 @@ const ye = class ye {
|
|
|
5106
5106
|
return new TextDecoder().decode(C);
|
|
5107
5107
|
}
|
|
5108
5108
|
};
|
|
5109
|
-
ye.buildDate = "
|
|
5109
|
+
ye.buildDate = "Sat Oct 03 2026 09:31:33 GMT+0200 (Central European Summer Time)", ye.changed = !1, ye.saving = !1, ye.saveId = 0, ye.instance = null, ye.instances = /* @__PURE__ */ new Map(), ye.pageShowHandlerInitialized = !1;
|
|
5110
5110
|
let Oe = ye;
|
|
5111
5111
|
if (typeof window < "u") {
|
|
5112
5112
|
const r = window, e = Ar + "PublisherManager", t = r[e] || Oe;
|
|
@@ -5189,7 +5189,7 @@ function io(r, e) {
|
|
|
5189
5189
|
return () => e().get();
|
|
5190
5190
|
if (!r._proxies_.has(s)) {
|
|
5191
5191
|
const n = r._value_[s], a = kr(
|
|
5192
|
-
|
|
5192
|
+
Nt(n) ? n : { __value: n },
|
|
5193
5193
|
r,
|
|
5194
5194
|
s
|
|
5195
5195
|
);
|
|
@@ -5224,7 +5224,7 @@ function io(r, e) {
|
|
|
5224
5224
|
);
|
|
5225
5225
|
o._proxies_.set("_parent_", e()), r._proxies_.set(s, o);
|
|
5226
5226
|
}
|
|
5227
|
-
return r._value_[s] !== n && (r._value_[s] = n, r._publishDynamicFilling_(s, n), r._proxies_.get(s)?.set(
|
|
5227
|
+
return r._value_[s] !== n && (r._value_[s] = n, r._publishDynamicFilling_(s, n), r._proxies_.get(s)?.set(Nt(n) ? n : { __value: n })), !0;
|
|
5228
5228
|
},
|
|
5229
5229
|
/**
|
|
5230
5230
|
* Autres propriétés classiques d'un objet implémentées par le proxy
|
|
@@ -5363,15 +5363,15 @@ function fo(r) {
|
|
|
5363
5363
|
function po(r) {
|
|
5364
5364
|
r.registerFunction("rand", Kn), r.registerFunction("randInt", ao), r.registerFunction("clamp", lo), r.registerFunction("range", co), r.registerFunction("set", uo), r.registerFunction("matrix", ho), r.registerFunction("rotate", fo);
|
|
5365
5365
|
}
|
|
5366
|
-
var go = Object.defineProperty, vo = Object.getOwnPropertyDescriptor,
|
|
5366
|
+
var go = Object.defineProperty, vo = Object.getOwnPropertyDescriptor, Ft = (r, e, t, s) => {
|
|
5367
5367
|
for (var n = s > 1 ? void 0 : s ? vo(e, t) : e, a = r.length - 1, o; a >= 0; a--)
|
|
5368
5368
|
(o = r[a]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
5369
5369
|
return s && n && go(e, t, n), n;
|
|
5370
5370
|
};
|
|
5371
5371
|
const mo = "sonic-store", yo = 256 * 1024, bo = 8;
|
|
5372
|
-
let
|
|
5372
|
+
let mt = class extends Xe {
|
|
5373
5373
|
constructor() {
|
|
5374
|
-
super(...arguments), this.id = "", this.dataProvider = "", this.initial = null, this.reducer = "", this.maxStateBytes = yo, this.budgetMs = bo, this.history = 0, this.state = null, this.queue = [], this.draining = !1, this.compiled = null, this.historyStack = [], this.lastError = null;
|
|
5374
|
+
super(...arguments), this.id = "", this.dataProvider = "", this.initial = null, this.reducer = "", this.maxStateBytes = yo, this.budgetMs = bo, this.history = 0, this.state = null, this.queue = [], this.draining = !1, this.compiled = null, this.historyStack = [], this.lastError = null, this.bootAction = "";
|
|
5375
5375
|
}
|
|
5376
5376
|
connectedCallback() {
|
|
5377
5377
|
super.connectedCallback(), this.bootstrap();
|
|
@@ -5393,11 +5393,13 @@ let kt = class extends Xe {
|
|
|
5393
5393
|
this.compileReducer(), this.state = this.clone(this.initial), this.historyStack = [], this.lastError = null, this.publish();
|
|
5394
5394
|
const r = {
|
|
5395
5395
|
id: this.id,
|
|
5396
|
-
dispatch: (
|
|
5396
|
+
dispatch: (t) => this.enqueue(t),
|
|
5397
5397
|
getState: () => this.state,
|
|
5398
5398
|
reset: () => this.reset()
|
|
5399
5399
|
};
|
|
5400
5400
|
wi(r);
|
|
5401
|
+
const e = (this.bootAction || "").trim();
|
|
5402
|
+
e && this.enqueue({ type: e, t: performance.now() });
|
|
5401
5403
|
}
|
|
5402
5404
|
compileReducer() {
|
|
5403
5405
|
this.compiled = null;
|
|
@@ -5436,14 +5438,14 @@ let kt = class extends Xe {
|
|
|
5436
5438
|
try {
|
|
5437
5439
|
for (; this.queue.length; ) {
|
|
5438
5440
|
const r = this.queue.shift();
|
|
5439
|
-
this.apply(r);
|
|
5441
|
+
await this.apply(r);
|
|
5440
5442
|
}
|
|
5441
5443
|
} finally {
|
|
5442
5444
|
this.draining = !1;
|
|
5443
5445
|
}
|
|
5444
5446
|
}
|
|
5445
5447
|
}
|
|
5446
|
-
apply(r) {
|
|
5448
|
+
async apply(r) {
|
|
5447
5449
|
if (!this.compiled) return;
|
|
5448
5450
|
const e = performance.now(), t = {
|
|
5449
5451
|
width: typeof window < "u" ? window.innerWidth : 0,
|
|
@@ -5460,7 +5462,7 @@ let kt = class extends Xe {
|
|
|
5460
5462
|
env: t
|
|
5461
5463
|
};
|
|
5462
5464
|
try {
|
|
5463
|
-
const a = this.compiled.evaluate(this.state, {
|
|
5465
|
+
const a = await this.compiled.evaluate(this.state, {
|
|
5464
5466
|
state: this.state,
|
|
5465
5467
|
action: s.action,
|
|
5466
5468
|
env: t
|
|
@@ -5517,35 +5519,38 @@ let kt = class extends Xe {
|
|
|
5517
5519
|
return qe``;
|
|
5518
5520
|
}
|
|
5519
5521
|
};
|
|
5520
|
-
|
|
5522
|
+
mt.styles = je`
|
|
5521
5523
|
:host {
|
|
5522
5524
|
display: contents;
|
|
5523
5525
|
}
|
|
5524
5526
|
`;
|
|
5525
|
-
|
|
5527
|
+
Ft([
|
|
5526
5528
|
L({ type: String })
|
|
5527
|
-
],
|
|
5528
|
-
|
|
5529
|
+
], mt.prototype, "id", 2);
|
|
5530
|
+
Ft([
|
|
5529
5531
|
L({ type: String })
|
|
5530
|
-
],
|
|
5531
|
-
|
|
5532
|
+
], mt.prototype, "dataProvider", 2);
|
|
5533
|
+
Ft([
|
|
5532
5534
|
L({ type: Object })
|
|
5533
|
-
],
|
|
5534
|
-
|
|
5535
|
+
], mt.prototype, "initial", 2);
|
|
5536
|
+
Ft([
|
|
5535
5537
|
L({ type: String })
|
|
5536
|
-
],
|
|
5537
|
-
|
|
5538
|
+
], mt.prototype, "reducer", 2);
|
|
5539
|
+
Ft([
|
|
5538
5540
|
L({ type: Number, attribute: "max-state-bytes" })
|
|
5539
|
-
],
|
|
5540
|
-
|
|
5541
|
+
], mt.prototype, "maxStateBytes", 2);
|
|
5542
|
+
Ft([
|
|
5541
5543
|
L({ type: Number, attribute: "budget-ms" })
|
|
5542
|
-
],
|
|
5543
|
-
|
|
5544
|
+
], mt.prototype, "budgetMs", 2);
|
|
5545
|
+
Ft([
|
|
5544
5546
|
L({ type: Number })
|
|
5545
|
-
],
|
|
5546
|
-
|
|
5547
|
+
], mt.prototype, "history", 2);
|
|
5548
|
+
Ft([
|
|
5549
|
+
L({ type: String, attribute: "boot-action" })
|
|
5550
|
+
], mt.prototype, "bootAction", 2);
|
|
5551
|
+
mt = Ft([
|
|
5547
5552
|
ht(mo)
|
|
5548
|
-
],
|
|
5553
|
+
], mt);
|
|
5549
5554
|
var wo = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, Xt = (r, e, t, s) => {
|
|
5550
5555
|
for (var n = s > 1 ? void 0 : s ? _o(e, t) : e, a = r.length - 1, o; a >= 0; a--)
|
|
5551
5556
|
(o = r[a]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
@@ -5788,7 +5793,7 @@ qt([
|
|
|
5788
5793
|
L({ type: Boolean, attribute: "dispatch-event" })
|
|
5789
5794
|
], St.prototype, "dispatchEventFlag", 2);
|
|
5790
5795
|
qt([
|
|
5791
|
-
|
|
5796
|
+
yt()
|
|
5792
5797
|
], St.prototype, "connected", 2);
|
|
5793
5798
|
St = qt([
|
|
5794
5799
|
ht(xo)
|
|
@@ -5842,13 +5847,14 @@ let Dt = class extends Xe {
|
|
|
5842
5847
|
})
|
|
5843
5848
|
);
|
|
5844
5849
|
}
|
|
5850
|
+
connectedCallback() {
|
|
5851
|
+
super.connectedCallback(), this.addEventListener("pointerdown", this.onDown), this.addEventListener("pointermove", this.onMove), this.addEventListener("pointerup", this.onUp), this.addEventListener("pointercancel", this.onUp);
|
|
5852
|
+
}
|
|
5853
|
+
disconnectedCallback() {
|
|
5854
|
+
this.removeEventListener("pointerdown", this.onDown), this.removeEventListener("pointermove", this.onMove), this.removeEventListener("pointerup", this.onUp), this.removeEventListener("pointercancel", this.onUp), this.longTimer != null && clearTimeout(this.longTimer), super.disconnectedCallback();
|
|
5855
|
+
}
|
|
5845
5856
|
render() {
|
|
5846
|
-
return qe`<slot
|
|
5847
|
-
@pointerdown=${this.onDown}
|
|
5848
|
-
@pointermove=${this.onMove}
|
|
5849
|
-
@pointerup=${this.onUp}
|
|
5850
|
-
@pointercancel=${this.onUp}
|
|
5851
|
-
></slot>`;
|
|
5857
|
+
return qe`<slot></slot>`;
|
|
5852
5858
|
}
|
|
5853
5859
|
};
|
|
5854
5860
|
Dt.styles = je`
|
|
@@ -5885,7 +5891,7 @@ var $o = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, fs = (r, e
|
|
|
5885
5891
|
return s && n && $o(e, t, n), n;
|
|
5886
5892
|
};
|
|
5887
5893
|
const Oo = "sonic-action";
|
|
5888
|
-
let
|
|
5894
|
+
let zt = class extends Xe {
|
|
5889
5895
|
constructor() {
|
|
5890
5896
|
super(...arguments), this.target = "", this.type = "", this.payload = null, this.holdRepeat = "", this.dispatchEventFlag = !1, this.holdTimer = null, this.holdInterval = null, this.onPointerDown = (r) => {
|
|
5891
5897
|
if (r.button != null && r.button !== 0) return;
|
|
@@ -5922,29 +5928,29 @@ let jt = class extends Xe {
|
|
|
5922
5928
|
></slot>`;
|
|
5923
5929
|
}
|
|
5924
5930
|
};
|
|
5925
|
-
|
|
5931
|
+
zt.styles = je`
|
|
5926
5932
|
:host {
|
|
5927
5933
|
display: contents;
|
|
5928
5934
|
}
|
|
5929
5935
|
`;
|
|
5930
5936
|
fs([
|
|
5931
5937
|
L({ type: String })
|
|
5932
|
-
],
|
|
5938
|
+
], zt.prototype, "target", 2);
|
|
5933
5939
|
fs([
|
|
5934
5940
|
L({ type: String })
|
|
5935
|
-
],
|
|
5941
|
+
], zt.prototype, "type", 2);
|
|
5936
5942
|
fs([
|
|
5937
5943
|
L({ type: Object })
|
|
5938
|
-
],
|
|
5944
|
+
], zt.prototype, "payload", 2);
|
|
5939
5945
|
fs([
|
|
5940
5946
|
L({ type: String, attribute: "hold-repeat" })
|
|
5941
|
-
],
|
|
5947
|
+
], zt.prototype, "holdRepeat", 2);
|
|
5942
5948
|
fs([
|
|
5943
5949
|
L({ type: Boolean, attribute: "dispatch-event" })
|
|
5944
|
-
],
|
|
5945
|
-
|
|
5950
|
+
], zt.prototype, "dispatchEventFlag", 2);
|
|
5951
|
+
zt = fs([
|
|
5946
5952
|
ht(Oo)
|
|
5947
|
-
],
|
|
5953
|
+
], zt);
|
|
5948
5954
|
var Lo = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, es = (r, e, t, s) => {
|
|
5949
5955
|
for (var n = s > 1 ? void 0 : s ? Fo(e, t) : e, a = r.length - 1, o; a >= 0; a--)
|
|
5950
5956
|
(o = r[a]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
@@ -6062,7 +6068,7 @@ Ot = es([
|
|
|
6062
6068
|
ht(Mo)
|
|
6063
6069
|
], Ot);
|
|
6064
6070
|
var Re;
|
|
6065
|
-
let
|
|
6071
|
+
let It = (Re = class {
|
|
6066
6072
|
static listen() {
|
|
6067
6073
|
if (!Re.listening)
|
|
6068
6074
|
return;
|
|
@@ -6186,7 +6192,7 @@ const Jn = "important", Ro = " !" + Jn, Zn = nr(class extends ir {
|
|
|
6186
6192
|
s.includes("-") || a ? t.setProperty(s, a ? n.slice(0, -11) : n, a ? Jn : "") : t[s] = n;
|
|
6187
6193
|
}
|
|
6188
6194
|
}
|
|
6189
|
-
return
|
|
6195
|
+
return kt;
|
|
6190
6196
|
}
|
|
6191
6197
|
});
|
|
6192
6198
|
var Io = Object.defineProperty, No = Object.getOwnPropertyDescriptor, pt = (r, e, t, s) => {
|
|
@@ -7472,7 +7478,7 @@ function si() {
|
|
|
7472
7478
|
a instanceof Element && (er(a), a.shadowRoot && Hr(a.shadowRoot), xr(a));
|
|
7473
7479
|
}).observe(document.documentElement, { childList: !0, subtree: !0 });
|
|
7474
7480
|
}
|
|
7475
|
-
const Xo = Qi, Qo = Uo, ea = or, ta = Sr, ri = Be, sa =
|
|
7481
|
+
const Xo = Qi, Qo = Uo, ea = or, ta = Sr, ri = Be, sa = It, ra = ct, na = $s, ia = Ho;
|
|
7476
7482
|
si();
|
|
7477
7483
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
7478
7484
|
window["concorde-utils"] = {
|
|
@@ -7688,16 +7694,16 @@ let xe = class extends ni(Xn(Xe)) {
|
|
|
7688
7694
|
set href(r) {
|
|
7689
7695
|
this._href = r ?? "";
|
|
7690
7696
|
const e = this._href.toString();
|
|
7691
|
-
e && e.indexOf("http") != 0 ?
|
|
7697
|
+
e && e.indexOf("http") != 0 ? It.onChange(this) : It.offChange(this), this.requestUpdate();
|
|
7692
7698
|
}
|
|
7693
7699
|
get href() {
|
|
7694
7700
|
return this._href;
|
|
7695
7701
|
}
|
|
7696
7702
|
handleNavigation(r) {
|
|
7697
|
-
r.preventDefault(),
|
|
7703
|
+
r.preventDefault(), It.changeFromComponent(this);
|
|
7698
7704
|
}
|
|
7699
7705
|
handleChange(r) {
|
|
7700
|
-
if (!(r?.type == "click" && this.autoRepeat) && (super.handleChange(), (this.pushState || this.goBack !== null) && (r?.preventDefault(), r?.stopPropagation(),
|
|
7706
|
+
if (!(r?.type == "click" && this.autoRepeat) && (super.handleChange(), (this.pushState || this.goBack !== null) && (r?.preventDefault(), r?.stopPropagation(), It.changeFromComponent(this)), this.hasAttribute("reset"))) {
|
|
7701
7707
|
const e = this.getAttribute("reset"), t = e ? Oe.get(e) : this.getFormPublisher();
|
|
7702
7708
|
t && t.set({});
|
|
7703
7709
|
}
|
|
@@ -7724,10 +7730,10 @@ let xe = class extends ni(Xn(Xe)) {
|
|
|
7724
7730
|
}
|
|
7725
7731
|
}
|
|
7726
7732
|
disconnectedCallback() {
|
|
7727
|
-
|
|
7733
|
+
It.offChange(this), super.disconnectedCallback();
|
|
7728
7734
|
}
|
|
7729
7735
|
willUpdate(r) {
|
|
7730
|
-
(r.has("href") || r.has("autoActive")) &&
|
|
7736
|
+
(r.has("href") || r.has("autoActive")) && It.updateComponentActiveState(this), r.has("location") && It.updateComponentActiveState(this);
|
|
7731
7737
|
}
|
|
7732
7738
|
render() {
|
|
7733
7739
|
const r = {
|
|
@@ -8189,10 +8195,10 @@ Te([
|
|
|
8189
8195
|
L({ type: Boolean, reflect: !0 })
|
|
8190
8196
|
], xe.prototype, "loading", 2);
|
|
8191
8197
|
Te([
|
|
8192
|
-
|
|
8198
|
+
yt()
|
|
8193
8199
|
], xe.prototype, "hasPrefix", 2);
|
|
8194
8200
|
Te([
|
|
8195
|
-
|
|
8201
|
+
yt()
|
|
8196
8202
|
], xe.prototype, "hasSuffix", 2);
|
|
8197
8203
|
Te([
|
|
8198
8204
|
zn({ flatten: !0, slot: "prefix" })
|
|
@@ -8225,7 +8231,7 @@ Te([
|
|
|
8225
8231
|
L({ type: Boolean, attribute: "data-aria-expanded" })
|
|
8226
8232
|
], xe.prototype, "sonicAriaExpanded", 2);
|
|
8227
8233
|
Te([
|
|
8228
|
-
|
|
8234
|
+
yt()
|
|
8229
8235
|
], xe.prototype, "location", 2);
|
|
8230
8236
|
xe = Te([
|
|
8231
8237
|
ht(ha)
|
|
@@ -8310,7 +8316,7 @@ const bn = (r, e, t) => {
|
|
|
8310
8316
|
const R = n[k++];
|
|
8311
8317
|
R !== null && pr(R);
|
|
8312
8318
|
}
|
|
8313
|
-
return this.ut = o, ga(r, d),
|
|
8319
|
+
return this.ut = o, ga(r, d), kt;
|
|
8314
8320
|
}
|
|
8315
8321
|
});
|
|
8316
8322
|
/**
|
|
@@ -8608,7 +8614,7 @@ class Cr extends ir {
|
|
|
8608
8614
|
}
|
|
8609
8615
|
render(e) {
|
|
8610
8616
|
if (e === Ae || e == null) return this._t = void 0, this.it = e;
|
|
8611
|
-
if (e ===
|
|
8617
|
+
if (e === kt) return e;
|
|
8612
8618
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
8613
8619
|
if (e === this.it) return this._t;
|
|
8614
8620
|
this.it = e;
|
|
@@ -8983,7 +8989,7 @@ Lt.styles = je`
|
|
|
8983
8989
|
}
|
|
8984
8990
|
`;
|
|
8985
8991
|
ts([
|
|
8986
|
-
|
|
8992
|
+
yt()
|
|
8987
8993
|
], Lt.prototype, "iconText", 2);
|
|
8988
8994
|
ts([
|
|
8989
8995
|
Vr({ type: String })
|
|
@@ -8996,11 +9002,11 @@ ts([
|
|
|
8996
9002
|
], Lt.prototype, "library", 2);
|
|
8997
9003
|
ts([
|
|
8998
9004
|
li("customIconLibraryPath", { dynamic: !0 }),
|
|
8999
|
-
|
|
9005
|
+
yt()
|
|
9000
9006
|
], Lt.prototype, "customIconLibraryPath", 2);
|
|
9001
9007
|
ts([
|
|
9002
9008
|
li("customIconDefaultPrefix", { dynamic: !0 }),
|
|
9003
|
-
|
|
9009
|
+
yt()
|
|
9004
9010
|
], Lt.prototype, "customIconDefaultPrefix", 2);
|
|
9005
9011
|
Lt = ts([
|
|
9006
9012
|
ht(Ua)
|
|
@@ -9575,13 +9581,13 @@ rt([
|
|
|
9575
9581
|
L({ attribute: !1 })
|
|
9576
9582
|
], Qe.prototype, "styleSheet", 2);
|
|
9577
9583
|
rt([
|
|
9578
|
-
|
|
9584
|
+
yt()
|
|
9579
9585
|
], Qe.prototype, "visible", 2);
|
|
9580
9586
|
rt([
|
|
9581
|
-
|
|
9587
|
+
yt()
|
|
9582
9588
|
], Qe.prototype, "_titleId", 2);
|
|
9583
9589
|
rt([
|
|
9584
|
-
|
|
9590
|
+
yt()
|
|
9585
9591
|
], Qe.prototype, "_dismissed", 2);
|
|
9586
9592
|
Qe = rt([
|
|
9587
9593
|
ht(tl)
|
|
@@ -10281,7 +10287,7 @@ const wl = (r) => {
|
|
|
10281
10287
|
}
|
|
10282
10288
|
/* eslint-enable @typescript-eslint/no-explicit-any*/
|
|
10283
10289
|
render(e, t = !1) {
|
|
10284
|
-
return this.useUnsafeHTML = t, this.key !== e && (this.key = e, this.isConnected && this.subscribe(e)),
|
|
10290
|
+
return this.useUnsafeHTML = t, this.key !== e && (this.key = e, this.isConnected && this.subscribe(e)), kt;
|
|
10285
10291
|
}
|
|
10286
10292
|
static async callApi(e, t, s = !0, n) {
|
|
10287
10293
|
if (await Oe.getInstance().isLocalStrorageReady, Pe.firstCall) {
|
|
@@ -10377,7 +10383,7 @@ Pe.publisher = Oe.get("sonic-wording", {
|
|
|
10377
10383
|
localStorageMode: "enabled"
|
|
10378
10384
|
}), Pe.firstCall = !0, Pe.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
10379
10385
|
let Es = Pe;
|
|
10380
|
-
var _l = Object.defineProperty, Al = Object.getOwnPropertyDescriptor,
|
|
10386
|
+
var _l = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, At = (r, e, t, s) => {
|
|
10381
10387
|
for (var n = s > 1 ? void 0 : s ? Al(e, t) : e, a = r.length - 1, o; a >= 0; a--)
|
|
10382
10388
|
(o = r[a]) && (n = (s ? o(e, t, n) : o(n)) || n);
|
|
10383
10389
|
return s && n && _l(e, t, n), n;
|
|
@@ -10411,7 +10417,12 @@ const kl = (r, e) => {
|
|
|
10411
10417
|
return this._props !== null || !this.publisher ? this._props : this.publisher.get();
|
|
10412
10418
|
}
|
|
10413
10419
|
set props(o) {
|
|
10414
|
-
typeof o == "string" && ["{", "["].includes(o.trim().charAt(0))
|
|
10420
|
+
if (typeof o == "string" && ["{", "["].includes(o.trim().charAt(0)))
|
|
10421
|
+
try {
|
|
10422
|
+
o = JSON.parse(o);
|
|
10423
|
+
} catch {
|
|
10424
|
+
}
|
|
10425
|
+
o != this._props && (this._props = o, this.publisher && this.publisher.get() != o && this.publisher.set(o), this.requestUpdate());
|
|
10415
10426
|
}
|
|
10416
10427
|
updated(o) {
|
|
10417
10428
|
super.updated(o);
|
|
@@ -10532,26 +10543,26 @@ const kl = (r, e) => {
|
|
|
10532
10543
|
this.publisher && (this._props && this.publisher.set(this._props), this.noAutoFill || this.publisher.startTemplateFilling(this), this.renderOnPropsInternalChange && this.publisher.onInternalMutation(this.requestUpdate), this.publisher.onAssign(this.onAssign));
|
|
10533
10544
|
}
|
|
10534
10545
|
}, n.instanceCounter = 0, n);
|
|
10535
|
-
return
|
|
10546
|
+
return At([
|
|
10536
10547
|
L({ type: Number })
|
|
10537
|
-
], t.prototype, "collectDependenciesVersion", 2),
|
|
10548
|
+
], t.prototype, "collectDependenciesVersion", 2), At([
|
|
10538
10549
|
L({ type: Boolean })
|
|
10539
|
-
], t.prototype, "displayContents", 2),
|
|
10550
|
+
], t.prototype, "displayContents", 2), At([
|
|
10540
10551
|
L({ type: Boolean })
|
|
10541
|
-
], t.prototype, "noAutoFill", 2),
|
|
10552
|
+
], t.prototype, "noAutoFill", 2), At([
|
|
10542
10553
|
L({ type: Boolean })
|
|
10543
|
-
], t.prototype, "forceAutoFill", 2),
|
|
10554
|
+
], t.prototype, "forceAutoFill", 2), At([
|
|
10544
10555
|
L({ type: Object })
|
|
10545
|
-
], t.prototype, "propertyMap", 2),
|
|
10556
|
+
], t.prototype, "propertyMap", 2), At([
|
|
10546
10557
|
L({ type: String, attribute: "data-title" })
|
|
10547
|
-
], t.prototype, "title", 2),
|
|
10558
|
+
], t.prototype, "title", 2), At([
|
|
10548
10559
|
L({ reflect: !0 })
|
|
10549
|
-
], t.prototype, "dataProvider", 2),
|
|
10560
|
+
], t.prototype, "dataProvider", 2), At([
|
|
10550
10561
|
L()
|
|
10551
|
-
], t.prototype, "bindPublisher", 2),
|
|
10562
|
+
], t.prototype, "bindPublisher", 2), At([
|
|
10552
10563
|
L()
|
|
10553
|
-
], t.prototype, "props", 1),
|
|
10554
|
-
|
|
10564
|
+
], t.prototype, "props", 1), At([
|
|
10565
|
+
yt()
|
|
10555
10566
|
], t.prototype, "shouldRenderLazy", 2), t;
|
|
10556
10567
|
};
|
|
10557
10568
|
var Sl = Object.defineProperty, xl = (r, e, t, s) => {
|