@ai-ecoverse/slicc-spectrum 1.0.0 → 1.2.0

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.
Files changed (160) hide show
  1. package/README.md +86 -3
  2. package/dist/chunk-364Y2XOJ.js +28 -0
  3. package/dist/chunk-364Y2XOJ.js.map +7 -0
  4. package/dist/chunk-4GQ6THC2.js +18 -0
  5. package/dist/chunk-4GQ6THC2.js.map +7 -0
  6. package/dist/chunk-5OVGH7HO.js +28 -0
  7. package/dist/chunk-5OVGH7HO.js.map +7 -0
  8. package/dist/chunk-5XWUZJTT.js +8 -0
  9. package/dist/chunk-5XWUZJTT.js.map +7 -0
  10. package/dist/chunk-64K5VONJ.js +11 -0
  11. package/dist/chunk-64K5VONJ.js.map +7 -0
  12. package/dist/chunk-6A6NIESE.js +9 -0
  13. package/dist/chunk-6A6NIESE.js.map +7 -0
  14. package/dist/chunk-6JNYNXUQ.js +180 -0
  15. package/dist/chunk-6JNYNXUQ.js.map +7 -0
  16. package/dist/chunk-6JYCQXDO.js +8 -0
  17. package/dist/chunk-6JYCQXDO.js.map +7 -0
  18. package/dist/chunk-6N3GZNXH.js +181 -0
  19. package/dist/chunk-6N3GZNXH.js.map +7 -0
  20. package/dist/chunk-6ODADG7T.js +8 -0
  21. package/dist/chunk-6ODADG7T.js.map +7 -0
  22. package/dist/chunk-6T3O5K6R.js +8 -0
  23. package/dist/chunk-6T3O5K6R.js.map +7 -0
  24. package/dist/chunk-7PY7B3ZW.js +59 -0
  25. package/dist/chunk-7PY7B3ZW.js.map +7 -0
  26. package/dist/chunk-AXQFWXYZ.js +19 -0
  27. package/dist/chunk-AXQFWXYZ.js.map +7 -0
  28. package/dist/chunk-BDOI3WEE.js +8 -0
  29. package/dist/chunk-BDOI3WEE.js.map +7 -0
  30. package/dist/chunk-BHAGWMDD.js +8 -0
  31. package/dist/chunk-BHAGWMDD.js.map +7 -0
  32. package/dist/chunk-C7X653JJ.js +8 -0
  33. package/dist/chunk-C7X653JJ.js.map +7 -0
  34. package/dist/chunk-CGS66GRP.js +11 -0
  35. package/dist/chunk-CGS66GRP.js.map +7 -0
  36. package/dist/chunk-CONYKGKV.js +11 -0
  37. package/dist/chunk-CONYKGKV.js.map +7 -0
  38. package/dist/chunk-CU7BC2RI.js +11 -0
  39. package/dist/chunk-CU7BC2RI.js.map +7 -0
  40. package/dist/chunk-EN3XGF2M.js +26 -0
  41. package/dist/chunk-EN3XGF2M.js.map +7 -0
  42. package/dist/chunk-ER3HU7OE.js +22 -0
  43. package/dist/chunk-ER3HU7OE.js.map +7 -0
  44. package/dist/chunk-EX57SDII.js +8 -0
  45. package/dist/chunk-EX57SDII.js.map +7 -0
  46. package/dist/chunk-GKXQPI4G.js +8 -0
  47. package/dist/chunk-GKXQPI4G.js.map +7 -0
  48. package/dist/chunk-HBUX7E54.js +234 -0
  49. package/dist/chunk-HBUX7E54.js.map +7 -0
  50. package/dist/chunk-I2NMYJ25.js +17 -0
  51. package/dist/chunk-I2NMYJ25.js.map +7 -0
  52. package/dist/chunk-I4OYHPAU.js +11 -0
  53. package/dist/chunk-I4OYHPAU.js.map +7 -0
  54. package/dist/chunk-IBQ4O4NO.js +13 -0
  55. package/dist/chunk-IBQ4O4NO.js.map +7 -0
  56. package/dist/chunk-J3QOBXZJ.js +1093 -0
  57. package/dist/chunk-J3QOBXZJ.js.map +7 -0
  58. package/dist/chunk-JASEW37G.js +411 -0
  59. package/dist/chunk-JASEW37G.js.map +7 -0
  60. package/dist/chunk-JBYBW627.js +8 -0
  61. package/dist/chunk-JBYBW627.js.map +7 -0
  62. package/dist/chunk-JWTAKXQS.js +8 -0
  63. package/dist/chunk-JWTAKXQS.js.map +7 -0
  64. package/dist/chunk-KMP5HO3E.js +11 -0
  65. package/dist/chunk-KMP5HO3E.js.map +7 -0
  66. package/dist/chunk-KWPU2PY3.js +14 -0
  67. package/dist/chunk-KWPU2PY3.js.map +7 -0
  68. package/dist/chunk-KYBD6ZRT.js +8 -0
  69. package/dist/chunk-KYBD6ZRT.js.map +7 -0
  70. package/dist/chunk-LBXW6XNL.js +18 -0
  71. package/dist/chunk-LBXW6XNL.js.map +7 -0
  72. package/dist/chunk-LDR4U5KX.js +8 -0
  73. package/dist/chunk-LDR4U5KX.js.map +7 -0
  74. package/dist/chunk-LII3WY6Y.js +11 -0
  75. package/dist/chunk-LII3WY6Y.js.map +7 -0
  76. package/dist/chunk-LY7WVBCB.js +10 -0
  77. package/dist/chunk-LY7WVBCB.js.map +7 -0
  78. package/dist/chunk-MJVAL555.js +8 -0
  79. package/dist/chunk-MJVAL555.js.map +7 -0
  80. package/dist/chunk-NLDFGCIL.js +11 -0
  81. package/dist/chunk-NLDFGCIL.js.map +7 -0
  82. package/dist/chunk-OFQ56DAN.js +2638 -0
  83. package/dist/chunk-OFQ56DAN.js.map +7 -0
  84. package/dist/chunk-S5EGO4NA.js +11 -0
  85. package/dist/chunk-S5EGO4NA.js.map +7 -0
  86. package/dist/chunk-T2LAT2D6.js +168 -0
  87. package/dist/chunk-T2LAT2D6.js.map +7 -0
  88. package/dist/chunk-T5NHW4KC.js +23 -0
  89. package/dist/chunk-T5NHW4KC.js.map +7 -0
  90. package/dist/chunk-TAZBKRHT.js +10 -0
  91. package/dist/chunk-TAZBKRHT.js.map +7 -0
  92. package/dist/chunk-TK4ZJ7LA.js +5346 -0
  93. package/dist/chunk-TK4ZJ7LA.js.map +7 -0
  94. package/dist/chunk-TS7SL372.js +687 -0
  95. package/dist/chunk-TS7SL372.js.map +7 -0
  96. package/dist/chunk-UCIBH53C.js +11 -0
  97. package/dist/chunk-UCIBH53C.js.map +7 -0
  98. package/dist/chunk-XZM23TK4.js +11 -0
  99. package/dist/chunk-XZM23TK4.js.map +7 -0
  100. package/dist/chunk-Y4Z7K443.js +64 -0
  101. package/dist/chunk-Y4Z7K443.js.map +7 -0
  102. package/dist/chunk-YPQKCWWG.js +19 -0
  103. package/dist/chunk-YPQKCWWG.js.map +7 -0
  104. package/dist/chunk-YX6SI5VA.js +11 -0
  105. package/dist/chunk-YX6SI5VA.js.map +7 -0
  106. package/dist/chunk-ZMBN6APP.js +11 -0
  107. package/dist/chunk-ZMBN6APP.js.map +7 -0
  108. package/dist/fonts/source-code-pro-latin-400-normal.woff2 +0 -0
  109. package/dist/fonts/source-code-pro-latin-600-normal.woff2 +0 -0
  110. package/dist/slicc-dummy.js +2811 -0
  111. package/dist/slicc-dummy.js.map +7 -0
  112. package/dist/slicc-terminal.js +7 -5369
  113. package/dist/slicc-terminal.js.map +4 -4
  114. package/dist/slicc-ui.js +61411 -0
  115. package/dist/slicc-ui.js.map +7 -0
  116. package/dist/types/app/agents.d.ts +11 -0
  117. package/dist/types/app/app.d.ts +34 -0
  118. package/dist/types/app/base.d.ts +35 -0
  119. package/dist/types/app/browser.d.ts +25 -0
  120. package/dist/types/app/changes.d.ts +24 -0
  121. package/dist/types/app/chat.d.ts +11 -0
  122. package/dist/types/app/composer.d.ts +69 -0
  123. package/dist/types/app/files.d.ts +56 -0
  124. package/dist/types/app/fonts.d.ts +3 -0
  125. package/dist/types/app/freezer.d.ts +11 -0
  126. package/dist/types/app/markdown.d.ts +33 -0
  127. package/dist/types/app/memory.d.ts +39 -0
  128. package/dist/types/app/messages.d.ts +21 -0
  129. package/dist/types/app/monitor.d.ts +11 -0
  130. package/dist/types/app/panels.d.ts +39 -0
  131. package/dist/types/app/settings.d.ts +21 -0
  132. package/dist/types/app/spectrum.d.ts +37 -0
  133. package/dist/types/app/sprinkle.d.ts +18 -0
  134. package/dist/types/app/terminals.d.ts +25 -0
  135. package/dist/types/app/tray.d.ts +25 -0
  136. package/dist/types/components/code-view.d.ts +47 -0
  137. package/dist/types/components/dock.d.ts +24 -0
  138. package/dist/types/components/file-tree.d.ts +18 -0
  139. package/dist/types/components/sheets.d.ts +1 -0
  140. package/dist/types/dummy/agent.d.ts +32 -0
  141. package/dist/types/dummy/browser.d.ts +15 -0
  142. package/dist/types/dummy/clock.d.ts +5 -0
  143. package/dist/types/dummy/extras.d.ts +8 -0
  144. package/dist/types/dummy/files.d.ts +14 -0
  145. package/dist/types/dummy/fixtures.d.ts +12 -0
  146. package/dist/types/dummy/index.d.ts +6 -0
  147. package/dist/types/dummy/memory.d.ts +9 -0
  148. package/dist/types/dummy/monitor.d.ts +9 -0
  149. package/dist/types/dummy/script.d.ts +29 -0
  150. package/dist/types/dummy/settings.d.ts +13 -0
  151. package/dist/types/dummy/shell.d.ts +16 -0
  152. package/dist/types/dummy/showcase.d.ts +6 -0
  153. package/dist/types/dummy/sprinkles.d.ts +9 -0
  154. package/dist/types/dummy/terminals.d.ts +15 -0
  155. package/dist/types/dummy/tray.d.ts +10 -0
  156. package/dist/types/dummy.d.ts +2 -0
  157. package/dist/types/model/emitter.d.ts +9 -0
  158. package/dist/types/model/types.d.ts +455 -0
  159. package/dist/types/ui.d.ts +23 -0
  160. package/package.json +34 -11
@@ -0,0 +1,687 @@
1
+ // node_modules/lit-html/lit-html.js
2
+ var t = globalThis;
3
+ var i = (t3) => t3;
4
+ var s = t.trustedTypes;
5
+ var e = s ? s.createPolicy("lit-html", { createHTML: (t3) => t3 }) : void 0;
6
+ var h = "$lit$";
7
+ var o = `lit$${Math.random().toFixed(9).slice(2)}$`;
8
+ var n = "?" + o;
9
+ var r = `<${n}>`;
10
+ var l = document;
11
+ var c = () => l.createComment("");
12
+ var a = (t3) => null === t3 || "object" != typeof t3 && "function" != typeof t3;
13
+ var u = Array.isArray;
14
+ var d = (t3) => u(t3) || "function" == typeof t3?.[Symbol.iterator];
15
+ var f = "[ \n\f\r]";
16
+ var v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
17
+ var _ = /-->/g;
18
+ var m = />/g;
19
+ var p = RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^
20
+ \f\r"'\`<>=]|("|')|))|$)`, "g");
21
+ var g = /'/g;
22
+ var $ = /"/g;
23
+ var y = /^(?:script|style|textarea|title)$/i;
24
+ var x = (t3) => (i5, ...s4) => ({ _$litType$: t3, strings: i5, values: s4 });
25
+ var b = x(1);
26
+ var w = x(2);
27
+ var T = x(3);
28
+ var E = /* @__PURE__ */ Symbol.for("lit-noChange");
29
+ var A = /* @__PURE__ */ Symbol.for("lit-nothing");
30
+ var C = /* @__PURE__ */ new WeakMap();
31
+ var P = l.createTreeWalker(l, 129);
32
+ function V(t3, i5) {
33
+ if (!u(t3) || !t3.hasOwnProperty("raw")) throw Error("invalid template strings array");
34
+ return void 0 !== e ? e.createHTML(i5) : i5;
35
+ }
36
+ var N = (t3, i5) => {
37
+ const s4 = t3.length - 1, e6 = [];
38
+ let n5, l3 = 2 === i5 ? "<svg>" : 3 === i5 ? "<math>" : "", c4 = v;
39
+ for (let i6 = 0; i6 < s4; i6++) {
40
+ const s5 = t3[i6];
41
+ let a3, u3, d3 = -1, f3 = 0;
42
+ for (; f3 < s5.length && (c4.lastIndex = f3, u3 = c4.exec(s5), null !== u3); ) f3 = c4.lastIndex, c4 === v ? "!--" === u3[1] ? c4 = _ : void 0 !== u3[1] ? c4 = m : void 0 !== u3[2] ? (y.test(u3[2]) && (n5 = RegExp("</" + u3[2], "g")), c4 = p) : void 0 !== u3[3] && (c4 = p) : c4 === p ? ">" === u3[0] ? (c4 = n5 ?? v, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? p : '"' === u3[3] ? $ : g) : c4 === $ || c4 === g ? c4 = p : c4 === _ || c4 === m ? c4 = v : (c4 = p, n5 = void 0);
43
+ const x2 = c4 === p && t3[i6 + 1].startsWith("/>") ? " " : "";
44
+ l3 += c4 === v ? s5 + r : d3 >= 0 ? (e6.push(a3), s5.slice(0, d3) + h + s5.slice(d3) + o + x2) : s5 + o + (-2 === d3 ? i6 : x2);
45
+ }
46
+ return [V(t3, l3 + (t3[s4] || "<?>") + (2 === i5 ? "</svg>" : 3 === i5 ? "</math>" : "")), e6];
47
+ };
48
+ var S = class _S {
49
+ constructor({ strings: t3, _$litType$: i5 }, e6) {
50
+ let r5;
51
+ this.parts = [];
52
+ let l3 = 0, a3 = 0;
53
+ const u3 = t3.length - 1, d3 = this.parts, [f3, v2] = N(t3, i5);
54
+ if (this.el = _S.createElement(f3, e6), P.currentNode = this.el.content, 2 === i5 || 3 === i5) {
55
+ const t4 = this.el.content.firstChild;
56
+ t4.replaceWith(...t4.childNodes);
57
+ }
58
+ for (; null !== (r5 = P.nextNode()) && d3.length < u3; ) {
59
+ if (1 === r5.nodeType) {
60
+ if (r5.hasAttributes()) for (const t4 of r5.getAttributeNames()) if (t4.endsWith(h)) {
61
+ const i6 = v2[a3++], s4 = r5.getAttribute(t4).split(o), e7 = /([.?@])?(.*)/.exec(i6);
62
+ d3.push({ type: 1, index: l3, name: e7[2], strings: s4, ctor: "." === e7[1] ? I : "?" === e7[1] ? L : "@" === e7[1] ? z : H }), r5.removeAttribute(t4);
63
+ } else t4.startsWith(o) && (d3.push({ type: 6, index: l3 }), r5.removeAttribute(t4));
64
+ if (y.test(r5.tagName)) {
65
+ const t4 = r5.textContent.split(o), i6 = t4.length - 1;
66
+ if (i6 > 0) {
67
+ r5.textContent = s ? s.emptyScript : "";
68
+ for (let s4 = 0; s4 < i6; s4++) r5.append(t4[s4], c()), P.nextNode(), d3.push({ type: 2, index: ++l3 });
69
+ r5.append(t4[i6], c());
70
+ }
71
+ }
72
+ } else if (8 === r5.nodeType) if (r5.data === n) d3.push({ type: 2, index: l3 });
73
+ else {
74
+ let t4 = -1;
75
+ for (; -1 !== (t4 = r5.data.indexOf(o, t4 + 1)); ) d3.push({ type: 7, index: l3 }), t4 += o.length - 1;
76
+ }
77
+ l3++;
78
+ }
79
+ }
80
+ static createElement(t3, i5) {
81
+ const s4 = l.createElement("template");
82
+ return s4.innerHTML = t3, s4;
83
+ }
84
+ };
85
+ function M(t3, i5, s4 = t3, e6) {
86
+ if (i5 === E) return i5;
87
+ let h3 = void 0 !== e6 ? s4._$Co?.[e6] : s4._$Cl;
88
+ const o6 = a(i5) ? void 0 : i5._$litDirective$;
89
+ return h3?.constructor !== o6 && (h3?._$AO?.(false), void 0 === o6 ? h3 = void 0 : (h3 = new o6(t3), h3._$AT(t3, s4, e6)), void 0 !== e6 ? (s4._$Co ??= [])[e6] = h3 : s4._$Cl = h3), void 0 !== h3 && (i5 = M(t3, h3._$AS(t3, i5.values), h3, e6)), i5;
90
+ }
91
+ var R = class {
92
+ constructor(t3, i5) {
93
+ this._$AV = [], this._$AN = void 0, this._$AD = t3, this._$AM = i5;
94
+ }
95
+ get parentNode() {
96
+ return this._$AM.parentNode;
97
+ }
98
+ get _$AU() {
99
+ return this._$AM._$AU;
100
+ }
101
+ u(t3) {
102
+ const { el: { content: i5 }, parts: s4 } = this._$AD, e6 = (t3?.creationScope ?? l).importNode(i5, true);
103
+ P.currentNode = e6;
104
+ let h3 = P.nextNode(), o6 = 0, n5 = 0, r5 = s4[0];
105
+ for (; void 0 !== r5; ) {
106
+ if (o6 === r5.index) {
107
+ let i6;
108
+ 2 === r5.type ? i6 = new k(h3, h3.nextSibling, this, t3) : 1 === r5.type ? i6 = new r5.ctor(h3, r5.name, r5.strings, this, t3) : 6 === r5.type && (i6 = new Z(h3, this, t3)), this._$AV.push(i6), r5 = s4[++n5];
109
+ }
110
+ o6 !== r5?.index && (h3 = P.nextNode(), o6++);
111
+ }
112
+ return P.currentNode = l, e6;
113
+ }
114
+ p(t3) {
115
+ let i5 = 0;
116
+ for (const s4 of this._$AV) void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t3, s4, i5), i5 += s4.strings.length - 2) : s4._$AI(t3[i5])), i5++;
117
+ }
118
+ };
119
+ var k = class _k {
120
+ get _$AU() {
121
+ return this._$AM?._$AU ?? this._$Cv;
122
+ }
123
+ constructor(t3, i5, s4, e6) {
124
+ this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t3, this._$AB = i5, this._$AM = s4, this.options = e6, this._$Cv = e6?.isConnected ?? true;
125
+ }
126
+ get parentNode() {
127
+ let t3 = this._$AA.parentNode;
128
+ const i5 = this._$AM;
129
+ return void 0 !== i5 && 11 === t3?.nodeType && (t3 = i5.parentNode), t3;
130
+ }
131
+ get startNode() {
132
+ return this._$AA;
133
+ }
134
+ get endNode() {
135
+ return this._$AB;
136
+ }
137
+ _$AI(t3, i5 = this) {
138
+ t3 = M(this, t3, i5), a(t3) ? t3 === A || null == t3 || "" === t3 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t3 !== this._$AH && t3 !== E && this._(t3) : void 0 !== t3._$litType$ ? this.$(t3) : void 0 !== t3.nodeType ? this.T(t3) : d(t3) ? this.k(t3) : this._(t3);
139
+ }
140
+ O(t3) {
141
+ return this._$AA.parentNode.insertBefore(t3, this._$AB);
142
+ }
143
+ T(t3) {
144
+ this._$AH !== t3 && (this._$AR(), this._$AH = this.O(t3));
145
+ }
146
+ _(t3) {
147
+ this._$AH !== A && a(this._$AH) ? this._$AA.nextSibling.data = t3 : this.T(l.createTextNode(t3)), this._$AH = t3;
148
+ }
149
+ $(t3) {
150
+ const { values: i5, _$litType$: s4 } = t3, e6 = "number" == typeof s4 ? this._$AC(t3) : (void 0 === s4.el && (s4.el = S.createElement(V(s4.h, s4.h[0]), this.options)), s4);
151
+ if (this._$AH?._$AD === e6) this._$AH.p(i5);
152
+ else {
153
+ const t4 = new R(e6, this), s5 = t4.u(this.options);
154
+ t4.p(i5), this.T(s5), this._$AH = t4;
155
+ }
156
+ }
157
+ _$AC(t3) {
158
+ let i5 = C.get(t3.strings);
159
+ return void 0 === i5 && C.set(t3.strings, i5 = new S(t3)), i5;
160
+ }
161
+ k(t3) {
162
+ u(this._$AH) || (this._$AH = [], this._$AR());
163
+ const i5 = this._$AH;
164
+ let s4, e6 = 0;
165
+ for (const h3 of t3) e6 === i5.length ? i5.push(s4 = new _k(this.O(c()), this.O(c()), this, this.options)) : s4 = i5[e6], s4._$AI(h3), e6++;
166
+ e6 < i5.length && (this._$AR(s4 && s4._$AB.nextSibling, e6), i5.length = e6);
167
+ }
168
+ _$AR(t3 = this._$AA.nextSibling, s4) {
169
+ for (this._$AP?.(false, true, s4); t3 !== this._$AB; ) {
170
+ const s5 = i(t3).nextSibling;
171
+ i(t3).remove(), t3 = s5;
172
+ }
173
+ }
174
+ setConnected(t3) {
175
+ void 0 === this._$AM && (this._$Cv = t3, this._$AP?.(t3));
176
+ }
177
+ };
178
+ var H = class {
179
+ get tagName() {
180
+ return this.element.tagName;
181
+ }
182
+ get _$AU() {
183
+ return this._$AM._$AU;
184
+ }
185
+ constructor(t3, i5, s4, e6, h3) {
186
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t3, this.name = i5, this._$AM = e6, this.options = h3, s4.length > 2 || "" !== s4[0] || "" !== s4[1] ? (this._$AH = Array(s4.length - 1).fill(new String()), this.strings = s4) : this._$AH = A;
187
+ }
188
+ _$AI(t3, i5 = this, s4, e6) {
189
+ const h3 = this.strings;
190
+ let o6 = false;
191
+ if (void 0 === h3) t3 = M(this, t3, i5, 0), o6 = !a(t3) || t3 !== this._$AH && t3 !== E, o6 && (this._$AH = t3);
192
+ else {
193
+ const e7 = t3;
194
+ let n5, r5;
195
+ for (t3 = h3[0], n5 = 0; n5 < h3.length - 1; n5++) r5 = M(this, e7[s4 + n5], i5, n5), r5 === E && (r5 = this._$AH[n5]), o6 ||= !a(r5) || r5 !== this._$AH[n5], r5 === A ? t3 = A : t3 !== A && (t3 += (r5 ?? "") + h3[n5 + 1]), this._$AH[n5] = r5;
196
+ }
197
+ o6 && !e6 && this.j(t3);
198
+ }
199
+ j(t3) {
200
+ t3 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t3 ?? "");
201
+ }
202
+ };
203
+ var I = class extends H {
204
+ constructor() {
205
+ super(...arguments), this.type = 3;
206
+ }
207
+ j(t3) {
208
+ this.element[this.name] = t3 === A ? void 0 : t3;
209
+ }
210
+ };
211
+ var L = class extends H {
212
+ constructor() {
213
+ super(...arguments), this.type = 4;
214
+ }
215
+ j(t3) {
216
+ this.element.toggleAttribute(this.name, !!t3 && t3 !== A);
217
+ }
218
+ };
219
+ var z = class extends H {
220
+ constructor(t3, i5, s4, e6, h3) {
221
+ super(t3, i5, s4, e6, h3), this.type = 5;
222
+ }
223
+ _$AI(t3, i5 = this) {
224
+ if ((t3 = M(this, t3, i5, 0) ?? A) === E) return;
225
+ const s4 = this._$AH, e6 = t3 === A && s4 !== A || t3.capture !== s4.capture || t3.once !== s4.once || t3.passive !== s4.passive, h3 = t3 !== A && (s4 === A || e6);
226
+ e6 && this.element.removeEventListener(this.name, this, s4), h3 && this.element.addEventListener(this.name, this, t3), this._$AH = t3;
227
+ }
228
+ handleEvent(t3) {
229
+ "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t3) : this._$AH.handleEvent(t3);
230
+ }
231
+ };
232
+ var Z = class {
233
+ constructor(t3, i5, s4) {
234
+ this.element = t3, this.type = 6, this._$AN = void 0, this._$AM = i5, this.options = s4;
235
+ }
236
+ get _$AU() {
237
+ return this._$AM._$AU;
238
+ }
239
+ _$AI(t3) {
240
+ M(this, t3);
241
+ }
242
+ };
243
+ var j = { M: h, P: o, A: n, C: 1, L: N, R, D: d, V: M, I: k, H, N: L, U: z, B: I, F: Z };
244
+ var B = t.litHtmlPolyfillSupport;
245
+ B?.(S, k), (t.litHtmlVersions ??= []).push("3.3.3");
246
+ var D = (t3, i5, s4) => {
247
+ const e6 = s4?.renderBefore ?? i5;
248
+ let h3 = e6._$litPart$;
249
+ if (void 0 === h3) {
250
+ const t4 = s4?.renderBefore ?? null;
251
+ e6._$litPart$ = h3 = new k(i5.insertBefore(c(), t4), t4, void 0, s4 ?? {});
252
+ }
253
+ return h3._$AI(t3), h3;
254
+ };
255
+
256
+ // node_modules/@lit/reactive-element/css-tag.js
257
+ var t2 = globalThis;
258
+ var e2 = t2.ShadowRoot && (void 0 === t2.ShadyCSS || t2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
259
+ var s2 = /* @__PURE__ */ Symbol();
260
+ var o2 = /* @__PURE__ */ new WeakMap();
261
+ var n2 = class {
262
+ constructor(t3, e6, o6) {
263
+ if (this._$cssResult$ = true, o6 !== s2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
264
+ this.cssText = t3, this.t = e6;
265
+ }
266
+ get styleSheet() {
267
+ let t3 = this.o;
268
+ const s4 = this.t;
269
+ if (e2 && void 0 === t3) {
270
+ const e6 = void 0 !== s4 && 1 === s4.length;
271
+ e6 && (t3 = o2.get(s4)), void 0 === t3 && ((this.o = t3 = new CSSStyleSheet()).replaceSync(this.cssText), e6 && o2.set(s4, t3));
272
+ }
273
+ return t3;
274
+ }
275
+ toString() {
276
+ return this.cssText;
277
+ }
278
+ };
279
+ var r2 = (t3) => new n2("string" == typeof t3 ? t3 : t3 + "", void 0, s2);
280
+ var i2 = (t3, ...e6) => {
281
+ const o6 = 1 === t3.length ? t3[0] : e6.reduce((e7, s4, o7) => e7 + ((t4) => {
282
+ if (true === t4._$cssResult$) return t4.cssText;
283
+ if ("number" == typeof t4) return t4;
284
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + t4 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
285
+ })(s4) + t3[o7 + 1], t3[0]);
286
+ return new n2(o6, t3, s2);
287
+ };
288
+ var S2 = (s4, o6) => {
289
+ if (e2) s4.adoptedStyleSheets = o6.map((t3) => t3 instanceof CSSStyleSheet ? t3 : t3.styleSheet);
290
+ else for (const e6 of o6) {
291
+ const o7 = document.createElement("style"), n5 = t2.litNonce;
292
+ void 0 !== n5 && o7.setAttribute("nonce", n5), o7.textContent = e6.cssText, s4.appendChild(o7);
293
+ }
294
+ };
295
+ var c2 = e2 ? (t3) => t3 : (t3) => t3 instanceof CSSStyleSheet ? ((t4) => {
296
+ let e6 = "";
297
+ for (const s4 of t4.cssRules) e6 += s4.cssText;
298
+ return r2(e6);
299
+ })(t3) : t3;
300
+
301
+ // node_modules/@lit/reactive-element/reactive-element.js
302
+ var { is: i3, defineProperty: e3, getOwnPropertyDescriptor: h2, getOwnPropertyNames: r3, getOwnPropertySymbols: o3, getPrototypeOf: n3 } = Object;
303
+ var a2 = globalThis;
304
+ var c3 = a2.trustedTypes;
305
+ var l2 = c3 ? c3.emptyScript : "";
306
+ var p2 = a2.reactiveElementPolyfillSupport;
307
+ var d2 = (t3, s4) => t3;
308
+ var u2 = { toAttribute(t3, s4) {
309
+ switch (s4) {
310
+ case Boolean:
311
+ t3 = t3 ? l2 : null;
312
+ break;
313
+ case Object:
314
+ case Array:
315
+ t3 = null == t3 ? t3 : JSON.stringify(t3);
316
+ }
317
+ return t3;
318
+ }, fromAttribute(t3, s4) {
319
+ let i5 = t3;
320
+ switch (s4) {
321
+ case Boolean:
322
+ i5 = null !== t3;
323
+ break;
324
+ case Number:
325
+ i5 = null === t3 ? null : Number(t3);
326
+ break;
327
+ case Object:
328
+ case Array:
329
+ try {
330
+ i5 = JSON.parse(t3);
331
+ } catch (t4) {
332
+ i5 = null;
333
+ }
334
+ }
335
+ return i5;
336
+ } };
337
+ var f2 = (t3, s4) => !i3(t3, s4);
338
+ var b2 = { attribute: true, type: String, converter: u2, reflect: false, useDefault: false, hasChanged: f2 };
339
+ Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), a2.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
340
+ var y2 = class extends HTMLElement {
341
+ static addInitializer(t3) {
342
+ this._$Ei(), (this.l ??= []).push(t3);
343
+ }
344
+ static get observedAttributes() {
345
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
346
+ }
347
+ static createProperty(t3, s4 = b2) {
348
+ if (s4.state && (s4.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t3) && ((s4 = Object.create(s4)).wrapped = true), this.elementProperties.set(t3, s4), !s4.noAccessor) {
349
+ const i5 = /* @__PURE__ */ Symbol(), h3 = this.getPropertyDescriptor(t3, i5, s4);
350
+ void 0 !== h3 && e3(this.prototype, t3, h3);
351
+ }
352
+ }
353
+ static getPropertyDescriptor(t3, s4, i5) {
354
+ const { get: e6, set: r5 } = h2(this.prototype, t3) ?? { get() {
355
+ return this[s4];
356
+ }, set(t4) {
357
+ this[s4] = t4;
358
+ } };
359
+ return { get: e6, set(s5) {
360
+ const h3 = e6?.call(this);
361
+ r5?.call(this, s5), this.requestUpdate(t3, h3, i5);
362
+ }, configurable: true, enumerable: true };
363
+ }
364
+ static getPropertyOptions(t3) {
365
+ return this.elementProperties.get(t3) ?? b2;
366
+ }
367
+ static _$Ei() {
368
+ if (this.hasOwnProperty(d2("elementProperties"))) return;
369
+ const t3 = n3(this);
370
+ t3.finalize(), void 0 !== t3.l && (this.l = [...t3.l]), this.elementProperties = new Map(t3.elementProperties);
371
+ }
372
+ static finalize() {
373
+ if (this.hasOwnProperty(d2("finalized"))) return;
374
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d2("properties"))) {
375
+ const t4 = this.properties, s4 = [...r3(t4), ...o3(t4)];
376
+ for (const i5 of s4) this.createProperty(i5, t4[i5]);
377
+ }
378
+ const t3 = this[Symbol.metadata];
379
+ if (null !== t3) {
380
+ const s4 = litPropertyMetadata.get(t3);
381
+ if (void 0 !== s4) for (const [t4, i5] of s4) this.elementProperties.set(t4, i5);
382
+ }
383
+ this._$Eh = /* @__PURE__ */ new Map();
384
+ for (const [t4, s4] of this.elementProperties) {
385
+ const i5 = this._$Eu(t4, s4);
386
+ void 0 !== i5 && this._$Eh.set(i5, t4);
387
+ }
388
+ this.elementStyles = this.finalizeStyles(this.styles);
389
+ }
390
+ static finalizeStyles(s4) {
391
+ const i5 = [];
392
+ if (Array.isArray(s4)) {
393
+ const e6 = new Set(s4.flat(1 / 0).reverse());
394
+ for (const s5 of e6) i5.unshift(c2(s5));
395
+ } else void 0 !== s4 && i5.push(c2(s4));
396
+ return i5;
397
+ }
398
+ static _$Eu(t3, s4) {
399
+ const i5 = s4.attribute;
400
+ return false === i5 ? void 0 : "string" == typeof i5 ? i5 : "string" == typeof t3 ? t3.toLowerCase() : void 0;
401
+ }
402
+ constructor() {
403
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
404
+ }
405
+ _$Ev() {
406
+ this._$ES = new Promise((t3) => this.enableUpdating = t3), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t3) => t3(this));
407
+ }
408
+ addController(t3) {
409
+ (this._$EO ??= /* @__PURE__ */ new Set()).add(t3), void 0 !== this.renderRoot && this.isConnected && t3.hostConnected?.();
410
+ }
411
+ removeController(t3) {
412
+ this._$EO?.delete(t3);
413
+ }
414
+ _$E_() {
415
+ const t3 = /* @__PURE__ */ new Map(), s4 = this.constructor.elementProperties;
416
+ for (const i5 of s4.keys()) this.hasOwnProperty(i5) && (t3.set(i5, this[i5]), delete this[i5]);
417
+ t3.size > 0 && (this._$Ep = t3);
418
+ }
419
+ createRenderRoot() {
420
+ const t3 = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
421
+ return S2(t3, this.constructor.elementStyles), t3;
422
+ }
423
+ connectedCallback() {
424
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t3) => t3.hostConnected?.());
425
+ }
426
+ enableUpdating(t3) {
427
+ }
428
+ disconnectedCallback() {
429
+ this._$EO?.forEach((t3) => t3.hostDisconnected?.());
430
+ }
431
+ attributeChangedCallback(t3, s4, i5) {
432
+ this._$AK(t3, i5);
433
+ }
434
+ _$ET(t3, s4) {
435
+ const i5 = this.constructor.elementProperties.get(t3), e6 = this.constructor._$Eu(t3, i5);
436
+ if (void 0 !== e6 && true === i5.reflect) {
437
+ const h3 = (void 0 !== i5.converter?.toAttribute ? i5.converter : u2).toAttribute(s4, i5.type);
438
+ this._$Em = t3, null == h3 ? this.removeAttribute(e6) : this.setAttribute(e6, h3), this._$Em = null;
439
+ }
440
+ }
441
+ _$AK(t3, s4) {
442
+ const i5 = this.constructor, e6 = i5._$Eh.get(t3);
443
+ if (void 0 !== e6 && this._$Em !== e6) {
444
+ const t4 = i5.getPropertyOptions(e6), h3 = "function" == typeof t4.converter ? { fromAttribute: t4.converter } : void 0 !== t4.converter?.fromAttribute ? t4.converter : u2;
445
+ this._$Em = e6;
446
+ const r5 = h3.fromAttribute(s4, t4.type);
447
+ this[e6] = r5 ?? this._$Ej?.get(e6) ?? r5, this._$Em = null;
448
+ }
449
+ }
450
+ requestUpdate(t3, s4, i5, e6 = false, h3) {
451
+ if (void 0 !== t3) {
452
+ const r5 = this.constructor;
453
+ if (false === e6 && (h3 = this[t3]), i5 ??= r5.getPropertyOptions(t3), !((i5.hasChanged ?? f2)(h3, s4) || i5.useDefault && i5.reflect && h3 === this._$Ej?.get(t3) && !this.hasAttribute(r5._$Eu(t3, i5)))) return;
454
+ this.C(t3, s4, i5);
455
+ }
456
+ false === this.isUpdatePending && (this._$ES = this._$EP());
457
+ }
458
+ C(t3, s4, { useDefault: i5, reflect: e6, wrapped: h3 }, r5) {
459
+ i5 && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t3) && (this._$Ej.set(t3, r5 ?? s4 ?? this[t3]), true !== h3 || void 0 !== r5) || (this._$AL.has(t3) || (this.hasUpdated || i5 || (s4 = void 0), this._$AL.set(t3, s4)), true === e6 && this._$Em !== t3 && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t3));
460
+ }
461
+ async _$EP() {
462
+ this.isUpdatePending = true;
463
+ try {
464
+ await this._$ES;
465
+ } catch (t4) {
466
+ Promise.reject(t4);
467
+ }
468
+ const t3 = this.scheduleUpdate();
469
+ return null != t3 && await t3, !this.isUpdatePending;
470
+ }
471
+ scheduleUpdate() {
472
+ return this.performUpdate();
473
+ }
474
+ performUpdate() {
475
+ if (!this.isUpdatePending) return;
476
+ if (!this.hasUpdated) {
477
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
478
+ for (const [t5, s5] of this._$Ep) this[t5] = s5;
479
+ this._$Ep = void 0;
480
+ }
481
+ const t4 = this.constructor.elementProperties;
482
+ if (t4.size > 0) for (const [s5, i5] of t4) {
483
+ const { wrapped: t5 } = i5, e6 = this[s5];
484
+ true !== t5 || this._$AL.has(s5) || void 0 === e6 || this.C(s5, void 0, i5, e6);
485
+ }
486
+ }
487
+ let t3 = false;
488
+ const s4 = this._$AL;
489
+ try {
490
+ t3 = this.shouldUpdate(s4), t3 ? (this.willUpdate(s4), this._$EO?.forEach((t4) => t4.hostUpdate?.()), this.update(s4)) : this._$EM();
491
+ } catch (s5) {
492
+ throw t3 = false, this._$EM(), s5;
493
+ }
494
+ t3 && this._$AE(s4);
495
+ }
496
+ willUpdate(t3) {
497
+ }
498
+ _$AE(t3) {
499
+ this._$EO?.forEach((t4) => t4.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t3)), this.updated(t3);
500
+ }
501
+ _$EM() {
502
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
503
+ }
504
+ get updateComplete() {
505
+ return this.getUpdateComplete();
506
+ }
507
+ getUpdateComplete() {
508
+ return this._$ES;
509
+ }
510
+ shouldUpdate(t3) {
511
+ return true;
512
+ }
513
+ update(t3) {
514
+ this._$Eq &&= this._$Eq.forEach((t4) => this._$ET(t4, this[t4])), this._$EM();
515
+ }
516
+ updated(t3) {
517
+ }
518
+ firstUpdated(t3) {
519
+ }
520
+ };
521
+ y2.elementStyles = [], y2.shadowRootOptions = { mode: "open" }, y2[d2("elementProperties")] = /* @__PURE__ */ new Map(), y2[d2("finalized")] = /* @__PURE__ */ new Map(), p2?.({ ReactiveElement: y2 }), (a2.reactiveElementVersions ??= []).push("2.1.2");
522
+
523
+ // node_modules/@lit/reactive-element/decorators/property.js
524
+ var o4 = { attribute: true, type: String, converter: u2, reflect: false, hasChanged: f2 };
525
+ var r4 = (t3 = o4, e6, r5) => {
526
+ const { kind: n5, metadata: i5 } = r5;
527
+ let s4 = globalThis.litPropertyMetadata.get(i5);
528
+ if (void 0 === s4 && globalThis.litPropertyMetadata.set(i5, s4 = /* @__PURE__ */ new Map()), "setter" === n5 && ((t3 = Object.create(t3)).wrapped = true), s4.set(r5.name, t3), "accessor" === n5) {
529
+ const { name: o6 } = r5;
530
+ return { set(r6) {
531
+ const n6 = e6.get.call(this);
532
+ e6.set.call(this, r6), this.requestUpdate(o6, n6, t3, true, r6);
533
+ }, init(e7) {
534
+ return void 0 !== e7 && this.C(o6, void 0, t3, e7), e7;
535
+ } };
536
+ }
537
+ if ("setter" === n5) {
538
+ const { name: o6 } = r5;
539
+ return function(r6) {
540
+ const n6 = this[o6];
541
+ e6.call(this, r6), this.requestUpdate(o6, n6, t3, true, r6);
542
+ };
543
+ }
544
+ throw Error("Unsupported decorator location: " + n5);
545
+ };
546
+ function n4(t3) {
547
+ return (e6, o6) => "object" == typeof o6 ? r4(t3, e6, o6) : ((t4, e7, o7) => {
548
+ const r5 = e7.hasOwnProperty(o7);
549
+ return e7.constructor.createProperty(o7, t4), r5 ? Object.getOwnPropertyDescriptor(e7, o7) : void 0;
550
+ })(t3, e6, o6);
551
+ }
552
+
553
+ // node_modules/@lit/reactive-element/decorators/base.js
554
+ var e4 = (e6, t3, c4) => (c4.configurable = true, c4.enumerable = true, Reflect.decorate && "object" != typeof t3 && Object.defineProperty(e6, t3, c4), c4);
555
+
556
+ // node_modules/@lit/reactive-element/decorators/query.js
557
+ function e5(e6, r5) {
558
+ return (n5, s4, i5) => {
559
+ const o6 = (t3) => t3.renderRoot?.querySelector(e6) ?? null;
560
+ if (r5) {
561
+ const { get: e7, set: r6 } = "object" == typeof s4 ? n5 : i5 ?? /* @__PURE__ */ (() => {
562
+ const t3 = /* @__PURE__ */ Symbol();
563
+ return { get() {
564
+ return this[t3];
565
+ }, set(e8) {
566
+ this[t3] = e8;
567
+ } };
568
+ })();
569
+ return e4(n5, s4, { get() {
570
+ let t3 = e7.call(this);
571
+ return void 0 === t3 && (t3 = o6(this), (null !== t3 || this.hasUpdated) && r6.call(this, t3)), t3;
572
+ } });
573
+ }
574
+ return e4(n5, s4, { get() {
575
+ return o6(this);
576
+ } });
577
+ };
578
+ }
579
+
580
+ // node_modules/lit-element/lit-element.js
581
+ var s3 = globalThis;
582
+ var i4 = class extends y2 {
583
+ constructor() {
584
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
585
+ }
586
+ createRenderRoot() {
587
+ const t3 = super.createRenderRoot();
588
+ return this.renderOptions.renderBefore ??= t3.firstChild, t3;
589
+ }
590
+ update(t3) {
591
+ const r5 = this.render();
592
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t3), this._$Do = D(r5, this.renderRoot, this.renderOptions);
593
+ }
594
+ connectedCallback() {
595
+ super.connectedCallback(), this._$Do?.setConnected(true);
596
+ }
597
+ disconnectedCallback() {
598
+ super.disconnectedCallback(), this._$Do?.setConnected(false);
599
+ }
600
+ render() {
601
+ return E;
602
+ }
603
+ };
604
+ i4._$litElement$ = true, i4["finalized"] = true, s3.litElementHydrateSupport?.({ LitElement: i4 });
605
+ var o5 = s3.litElementPolyfillSupport;
606
+ o5?.({ LitElement: i4 });
607
+ (s3.litElementVersions ??= []).push("4.2.2");
608
+
609
+ // node_modules/@spectrum-web-components/base/src/version.js
610
+ var version = "1.12.4";
611
+
612
+ // node_modules/@spectrum-web-components/base/src/Base.js
613
+ function SpectrumMixin(o6) {
614
+ class n5 extends o6 {
615
+ get isLTR() {
616
+ return getComputedStyle(this).direction !== "rtl";
617
+ }
618
+ hasVisibleFocusInTree() {
619
+ const s4 = ((r5 = document) => {
620
+ var a3;
621
+ let e6 = r5.activeElement;
622
+ for (; e6 != null && e6.shadowRoot && e6.shadowRoot.activeElement; ) e6 = e6.shadowRoot.activeElement;
623
+ const i5 = e6 ? [e6] : [];
624
+ for (; e6; ) {
625
+ const t3 = e6.assignedSlot || e6.parentElement || ((a3 = e6.getRootNode()) == null ? void 0 : a3.host);
626
+ t3 && i5.push(t3), e6 = t3;
627
+ }
628
+ return i5;
629
+ })(this.getRootNode())[0];
630
+ return s4 ? s4.matches(":focus-visible") || s4.matches(".focus-visible") : false;
631
+ }
632
+ }
633
+ return n5;
634
+ }
635
+ var SpectrumElement = class extends SpectrumMixin(i4) {
636
+ get dir() {
637
+ var n5;
638
+ return (n5 = getComputedStyle(this).direction) != null ? n5 : "ltr";
639
+ }
640
+ };
641
+ SpectrumElement.VERSION = version;
642
+
643
+ export {
644
+ version,
645
+ i2 as i,
646
+ b,
647
+ w,
648
+ T,
649
+ E,
650
+ A,
651
+ j,
652
+ D,
653
+ i4 as i2,
654
+ SpectrumElement,
655
+ n4 as n,
656
+ e4 as e,
657
+ e5 as e2
658
+ };
659
+ /*! Bundled license information:
660
+
661
+ lit-html/lit-html.js:
662
+ @lit/reactive-element/reactive-element.js:
663
+ @lit/reactive-element/decorators/property.js:
664
+ @lit/reactive-element/decorators/base.js:
665
+ @lit/reactive-element/decorators/query.js:
666
+ lit-element/lit-element.js:
667
+ (**
668
+ * @license
669
+ * Copyright 2017 Google LLC
670
+ * SPDX-License-Identifier: BSD-3-Clause
671
+ *)
672
+
673
+ @lit/reactive-element/css-tag.js:
674
+ (**
675
+ * @license
676
+ * Copyright 2019 Google LLC
677
+ * SPDX-License-Identifier: BSD-3-Clause
678
+ *)
679
+
680
+ lit-html/is-server.js:
681
+ (**
682
+ * @license
683
+ * Copyright 2022 Google LLC
684
+ * SPDX-License-Identifier: BSD-3-Clause
685
+ *)
686
+ */
687
+ //# sourceMappingURL=chunk-TS7SL372.js.map