@camstack/addon-export-hap 0.1.1

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 (44) hide show
  1. package/dist/@mf-types/compiled-types/page/HomeKitOverviewPage.d.ts +24 -0
  2. package/dist/@mf-types/compiled-types/page/HomeKitOverviewPage.d.ts.map +1 -0
  3. package/dist/@mf-types/compiled-types/page/page.d.ts +12 -0
  4. package/dist/@mf-types/compiled-types/page/page.d.ts.map +1 -0
  5. package/dist/@mf-types/page.d.ts +2 -0
  6. package/dist/@mf-types.d.ts +3 -0
  7. package/dist/@mf-types.zip +0 -0
  8. package/dist/__mfe_internal__addon_export_hap_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-B7qZNHZC.mjs +12 -0
  9. package/dist/__mfe_internal__addon_export_hap_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-B3wGuKgV.mjs +12 -0
  10. package/dist/__mfe_internal__addon_export_hap_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-D4zYQtXk.mjs +73 -0
  11. package/dist/__mfe_internal__addon_export_hap_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-DrrRnQpW.mjs +42 -0
  12. package/dist/__mfe_internal__addon_export_hap_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-BEeMNLCX.mjs +46 -0
  13. package/dist/__mfe_internal__addon_export_hap_page__loadShare__react__loadShare__.mjs-BPYrKf_3.mjs +56 -0
  14. package/dist/__mfe_internal__addon_export_hap_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-x684zh94.mjs +18 -0
  15. package/dist/__mfe_internal__addon_export_hap_page__loadShare__react_mf_2_dom__loadShare__.mjs-CHMNar3q.mjs +28 -0
  16. package/dist/__mfe_internal__addon_export_hap_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-CM8j15CX.mjs +18 -0
  17. package/dist/_stub.js +3223 -0
  18. package/dist/_virtual_mf-localSharedImportMap___mfe_internal__addon_export_hap_page-Cq9F5QFd.mjs +156 -0
  19. package/dist/addon-export-hap.css +3 -0
  20. package/dist/browser-i_dCVxwk.mjs +1227 -0
  21. package/dist/client-COVrSAyU.mjs +7592 -0
  22. package/dist/dist-BLWGlNFD.mjs +2483 -0
  23. package/dist/dist-Bna6cbWX.mjs +17192 -0
  24. package/dist/dist-C_M8X1vZ.mjs +1260 -0
  25. package/dist/dist-C_kcZj9a.mjs +12848 -0
  26. package/dist/dist-DOK7aZoj.mjs +662 -0
  27. package/dist/dist-RCwIG6iQ.mjs +2229 -0
  28. package/dist/export-hap.addon.js +57821 -0
  29. package/dist/export-hap.addon.js.map +1 -0
  30. package/dist/export-hap.addon.mjs +57807 -0
  31. package/dist/export-hap.addon.mjs.map +1 -0
  32. package/dist/getErrorShape-BPSzUA7W-m6tLWUI0.mjs +189 -0
  33. package/dist/hostInit-CPk5kMR8.mjs +144 -0
  34. package/dist/index.js +9 -0
  35. package/dist/index.mjs +2 -0
  36. package/dist/jsx-runtime-C-bO5vlp.mjs +22 -0
  37. package/dist/modern-DN59UY0v.mjs +2184 -0
  38. package/dist/react-Bl6eCS2o.mjs +293 -0
  39. package/dist/react-dom-lYY58-MR.mjs +131 -0
  40. package/dist/remoteEntry.js +83 -0
  41. package/dist/rolldown-runtime-DC4cgjXG.mjs +20 -0
  42. package/dist/schemas-DswVYZsq.mjs +3483 -0
  43. package/dist/virtualExposes-Biq8M5a-.mjs +27 -0
  44. package/package.json +93 -0
package/dist/_stub.js ADDED
@@ -0,0 +1,3223 @@
1
+ import { a as e } from "./rolldown-runtime-DC4cgjXG.mjs";
2
+ import { a as t, d as n, h as r, i, l as a, n as o, o as s, r as c, t as l, u } from "./__mfe_internal__addon_export_hap_page__loadShare__react__loadShare__.mjs-BPYrKf_3.mjs";
3
+ import { n as d, r as f, t as ee } from "./__mfe_internal__addon_export_hap_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-x684zh94.mjs";
4
+ import "./dist-RCwIG6iQ.mjs";
5
+ import { r as p } from "./__mfe_internal__addon_export_hap_page__loadShare__react_mf_2_dom__loadShare__.mjs-CHMNar3q.mjs";
6
+ import "./__mfe_internal__addon_export_hap_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-CM8j15CX.mjs";
7
+ import "./__mfe_internal__addon_export_hap_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-D4zYQtXk.mjs";
8
+ import "./__mfe_internal__addon_export_hap_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-DrrRnQpW.mjs";
9
+ import { t as m } from "./__mfe_internal__addon_export_hap_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-BEeMNLCX.mjs";
10
+ import { c as te, n as h, r as g, t as _ } from "./__mfe_internal__addon_export_hap_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-B3wGuKgV.mjs";
11
+ import "./__mfe_internal__addon_export_hap_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-B7qZNHZC.mjs";
12
+ import { h as v } from "./schemas-DswVYZsq.mjs";
13
+ //#endregion
14
+ //#region ../ui-library/src/theme/use-theme-mode.ts
15
+ r(), l(null), r();
16
+ //#endregion
17
+ //#region ../../node_modules/clsx/dist/clsx.mjs
18
+ function y(e) {
19
+ var t, n, r = "";
20
+ if (typeof e == "string" || typeof e == "number") r += e;
21
+ else if (typeof e == "object") if (Array.isArray(e)) {
22
+ var i = e.length;
23
+ for (t = 0; t < i; t++) e[t] && (n = y(e[t])) && (r && (r += " "), r += n);
24
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
25
+ return r;
26
+ }
27
+ function b() {
28
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = y(e)) && (r && (r += " "), r += t);
29
+ return r;
30
+ }
31
+ //#endregion
32
+ //#region ../../node_modules/tailwind-merge/dist/bundle-mjs.mjs
33
+ var x = (e, t) => {
34
+ let n = Array(e.length + t.length);
35
+ for (let t = 0; t < e.length; t++) n[t] = e[t];
36
+ for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
37
+ return n;
38
+ }, S = (e, t) => ({
39
+ classGroupId: e,
40
+ validator: t
41
+ }), C = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
42
+ nextPart: e,
43
+ validators: t,
44
+ classGroupId: n
45
+ }), w = "-", ne = [], re = "arbitrary..", ie = (e) => {
46
+ let t = E(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
47
+ return {
48
+ getClassGroupId: (e) => {
49
+ if (e.startsWith("[") && e.endsWith("]")) return T(e);
50
+ let n = e.split(w);
51
+ return ae(n, +(n[0] === "" && n.length > 1), t);
52
+ },
53
+ getConflictingClassGroupIds: (e, t) => {
54
+ if (t) {
55
+ let t = r[e], i = n[e];
56
+ return t ? i ? x(i, t) : t : i || ne;
57
+ }
58
+ return n[e] || ne;
59
+ }
60
+ };
61
+ }, ae = (e, t, n) => {
62
+ if (e.length - t === 0) return n.classGroupId;
63
+ let r = e[t], i = n.nextPart.get(r);
64
+ if (i) {
65
+ let n = ae(e, t + 1, i);
66
+ if (n) return n;
67
+ }
68
+ let a = n.validators;
69
+ if (a === null) return;
70
+ let o = t === 0 ? e.join(w) : e.slice(t).join(w), s = a.length;
71
+ for (let e = 0; e < s; e++) {
72
+ let t = a[e];
73
+ if (t.validator(o)) return t.classGroupId;
74
+ }
75
+ }, T = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
76
+ let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
77
+ return r ? re + r : void 0;
78
+ })(), E = (e) => {
79
+ let { theme: t, classGroups: n } = e;
80
+ return D(n, t);
81
+ }, D = (e, t) => {
82
+ let n = C();
83
+ for (let r in e) {
84
+ let i = e[r];
85
+ O(i, n, r, t);
86
+ }
87
+ return n;
88
+ }, O = (e, t, n, r) => {
89
+ let i = e.length;
90
+ for (let a = 0; a < i; a++) {
91
+ let i = e[a];
92
+ oe(i, t, n, r);
93
+ }
94
+ }, oe = (e, t, n, r) => {
95
+ if (typeof e == "string") {
96
+ k(e, t, n);
97
+ return;
98
+ }
99
+ if (typeof e == "function") {
100
+ se(e, t, n, r);
101
+ return;
102
+ }
103
+ ce(e, t, n, r);
104
+ }, k = (e, t, n) => {
105
+ let r = e === "" ? t : le(t, e);
106
+ r.classGroupId = n;
107
+ }, se = (e, t, n, r) => {
108
+ if (ue(e)) {
109
+ O(e(r), t, n, r);
110
+ return;
111
+ }
112
+ t.validators === null && (t.validators = []), t.validators.push(S(n, e));
113
+ }, ce = (e, t, n, r) => {
114
+ let i = Object.entries(e), a = i.length;
115
+ for (let e = 0; e < a; e++) {
116
+ let [a, o] = i[e];
117
+ O(o, le(t, a), n, r);
118
+ }
119
+ }, le = (e, t) => {
120
+ let n = e, r = t.split(w), i = r.length;
121
+ for (let e = 0; e < i; e++) {
122
+ let t = r[e], i = n.nextPart.get(t);
123
+ i || (i = C(), n.nextPart.set(t, i)), n = i;
124
+ }
125
+ return n;
126
+ }, ue = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, A = (e) => {
127
+ if (e < 1) return {
128
+ get: () => void 0,
129
+ set: () => {}
130
+ };
131
+ let t = 0, n = Object.create(null), r = Object.create(null), i = (i, a) => {
132
+ n[i] = a, t++, t > e && (t = 0, r = n, n = Object.create(null));
133
+ };
134
+ return {
135
+ get(e) {
136
+ let t = n[e];
137
+ if (t !== void 0) return t;
138
+ if ((t = r[e]) !== void 0) return i(e, t), t;
139
+ },
140
+ set(e, t) {
141
+ e in n ? n[e] = t : i(e, t);
142
+ }
143
+ };
144
+ }, j = "!", M = ":", de = [], N = (e, t, n, r, i) => ({
145
+ modifiers: e,
146
+ hasImportantModifier: t,
147
+ baseClassName: n,
148
+ maybePostfixModifierPosition: r,
149
+ isExternal: i
150
+ }), fe = (e) => {
151
+ let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
152
+ let t = [], n = 0, r = 0, i = 0, a, o = e.length;
153
+ for (let s = 0; s < o; s++) {
154
+ let o = e[s];
155
+ if (n === 0 && r === 0) {
156
+ if (o === M) {
157
+ t.push(e.slice(i, s)), i = s + 1;
158
+ continue;
159
+ }
160
+ if (o === "/") {
161
+ a = s;
162
+ continue;
163
+ }
164
+ }
165
+ o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
166
+ }
167
+ let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
168
+ s.endsWith(j) ? (c = s.slice(0, -1), l = !0) : s.startsWith(j) && (c = s.slice(1), l = !0);
169
+ let u = a && a > i ? a - i : void 0;
170
+ return N(t, l, c, u);
171
+ };
172
+ if (t) {
173
+ let e = t + M, n = r;
174
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : N(de, !1, t, void 0, !0);
175
+ }
176
+ if (n) {
177
+ let e = r;
178
+ r = (t) => n({
179
+ className: t,
180
+ parseClassName: e
181
+ });
182
+ }
183
+ return r;
184
+ }, pe = (e) => {
185
+ let t = /* @__PURE__ */ new Map();
186
+ return e.orderSensitiveModifiers.forEach((e, n) => {
187
+ t.set(e, 1e6 + n);
188
+ }), (e) => {
189
+ let n = [], r = [];
190
+ for (let i = 0; i < e.length; i++) {
191
+ let a = e[i], o = a[0] === "[", s = t.has(a);
192
+ o || s ? (r.length > 0 && (r.sort(), n.push(...r), r = []), n.push(a)) : r.push(a);
193
+ }
194
+ return r.length > 0 && (r.sort(), n.push(...r)), n;
195
+ };
196
+ }, me = (e) => ({
197
+ cache: A(e.cacheSize),
198
+ parseClassName: fe(e),
199
+ sortModifiers: pe(e),
200
+ ...ie(e)
201
+ }), he = /\s+/, ge = (e, t) => {
202
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a } = t, o = [], s = e.trim().split(he), c = "";
203
+ for (let e = s.length - 1; e >= 0; --e) {
204
+ let t = s[e], { isExternal: l, modifiers: u, hasImportantModifier: d, baseClassName: f, maybePostfixModifierPosition: ee } = n(t);
205
+ if (l) {
206
+ c = t + (c.length > 0 ? " " + c : c);
207
+ continue;
208
+ }
209
+ let p = !!ee, m = r(p ? f.substring(0, ee) : f);
210
+ if (!m) {
211
+ if (!p) {
212
+ c = t + (c.length > 0 ? " " + c : c);
213
+ continue;
214
+ }
215
+ if (m = r(f), !m) {
216
+ c = t + (c.length > 0 ? " " + c : c);
217
+ continue;
218
+ }
219
+ p = !1;
220
+ }
221
+ let te = u.length === 0 ? "" : u.length === 1 ? u[0] : a(u).join(":"), h = d ? te + j : te, g = h + m;
222
+ if (o.indexOf(g) > -1) continue;
223
+ o.push(g);
224
+ let _ = i(m, p);
225
+ for (let e = 0; e < _.length; ++e) {
226
+ let t = _[e];
227
+ o.push(h + t);
228
+ }
229
+ c = t + (c.length > 0 ? " " + c : c);
230
+ }
231
+ return c;
232
+ }, _e = (...e) => {
233
+ let t = 0, n, r, i = "";
234
+ for (; t < e.length;) (n = e[t++]) && (r = ve(n)) && (i && (i += " "), i += r);
235
+ return i;
236
+ }, ve = (e) => {
237
+ if (typeof e == "string") return e;
238
+ let t, n = "";
239
+ for (let r = 0; r < e.length; r++) e[r] && (t = ve(e[r])) && (n && (n += " "), n += t);
240
+ return n;
241
+ }, ye = (e, ...t) => {
242
+ let n, r, i, a, o = (o) => (n = me(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
243
+ let t = r(e);
244
+ if (t) return t;
245
+ let a = ge(e, n);
246
+ return i(e, a), a;
247
+ };
248
+ return a = o, (...e) => a(_e(...e));
249
+ }, be = [], P = (e) => {
250
+ let t = (t) => t[e] || be;
251
+ return t.isThemeGetter = !0, t;
252
+ }, xe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Se = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ce = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, we = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Te = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ee = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, De = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Oe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, F = (e) => Ce.test(e), I = (e) => !!e && !Number.isNaN(Number(e)), L = (e) => !!e && Number.isInteger(Number(e)), ke = (e) => e.endsWith("%") && I(e.slice(0, -1)), R = (e) => we.test(e), Ae = () => !0, je = (e) => Te.test(e) && !Ee.test(e), Me = () => !1, Ne = (e) => De.test(e), Pe = (e) => Oe.test(e), Fe = (e) => !z(e) && !V(e), Ie = (e) => H(e, Qe, Me), z = (e) => xe.test(e), B = (e) => H(e, $e, je), Le = (e) => H(e, et, I), Re = (e) => H(e, nt, Ae), ze = (e) => H(e, tt, Me), Be = (e) => H(e, Xe, Me), Ve = (e) => H(e, Ze, Pe), He = (e) => H(e, rt, Ne), V = (e) => Se.test(e), Ue = (e) => U(e, $e), We = (e) => U(e, tt), Ge = (e) => U(e, Xe), Ke = (e) => U(e, Qe), qe = (e) => U(e, Ze), Je = (e) => U(e, rt, !0), Ye = (e) => U(e, nt, !0), H = (e, t, n) => {
253
+ let r = xe.exec(e);
254
+ return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
255
+ }, U = (e, t, n = !1) => {
256
+ let r = Se.exec(e);
257
+ return r ? r[1] ? t(r[1]) : n : !1;
258
+ }, Xe = (e) => e === "position" || e === "percentage", Ze = (e) => e === "image" || e === "url", Qe = (e) => e === "length" || e === "size" || e === "bg-size", $e = (e) => e === "length", et = (e) => e === "number", tt = (e) => e === "family-name", nt = (e) => e === "number" || e === "weight", rt = (e) => e === "shadow", it = /* @__PURE__ */ ye(() => {
259
+ let e = P("color"), t = P("font"), n = P("text"), r = P("font-weight"), i = P("tracking"), a = P("leading"), o = P("breakpoint"), s = P("container"), c = P("spacing"), l = P("radius"), u = P("shadow"), d = P("inset-shadow"), f = P("text-shadow"), ee = P("drop-shadow"), p = P("blur"), m = P("perspective"), te = P("aspect"), h = P("ease"), g = P("animate"), _ = () => [
260
+ "auto",
261
+ "avoid",
262
+ "all",
263
+ "avoid-page",
264
+ "page",
265
+ "left",
266
+ "right",
267
+ "column"
268
+ ], v = () => [
269
+ "center",
270
+ "top",
271
+ "bottom",
272
+ "left",
273
+ "right",
274
+ "top-left",
275
+ "left-top",
276
+ "top-right",
277
+ "right-top",
278
+ "bottom-right",
279
+ "right-bottom",
280
+ "bottom-left",
281
+ "left-bottom"
282
+ ], y = () => [
283
+ ...v(),
284
+ V,
285
+ z
286
+ ], b = () => [
287
+ "auto",
288
+ "hidden",
289
+ "clip",
290
+ "visible",
291
+ "scroll"
292
+ ], x = () => [
293
+ "auto",
294
+ "contain",
295
+ "none"
296
+ ], S = () => [
297
+ V,
298
+ z,
299
+ c
300
+ ], C = () => [
301
+ F,
302
+ "full",
303
+ "auto",
304
+ ...S()
305
+ ], w = () => [
306
+ L,
307
+ "none",
308
+ "subgrid",
309
+ V,
310
+ z
311
+ ], ne = () => [
312
+ "auto",
313
+ { span: [
314
+ "full",
315
+ L,
316
+ V,
317
+ z
318
+ ] },
319
+ L,
320
+ V,
321
+ z
322
+ ], re = () => [
323
+ L,
324
+ "auto",
325
+ V,
326
+ z
327
+ ], ie = () => [
328
+ "auto",
329
+ "min",
330
+ "max",
331
+ "fr",
332
+ V,
333
+ z
334
+ ], ae = () => [
335
+ "start",
336
+ "end",
337
+ "center",
338
+ "between",
339
+ "around",
340
+ "evenly",
341
+ "stretch",
342
+ "baseline",
343
+ "center-safe",
344
+ "end-safe"
345
+ ], T = () => [
346
+ "start",
347
+ "end",
348
+ "center",
349
+ "stretch",
350
+ "center-safe",
351
+ "end-safe"
352
+ ], E = () => ["auto", ...S()], D = () => [
353
+ F,
354
+ "auto",
355
+ "full",
356
+ "dvw",
357
+ "dvh",
358
+ "lvw",
359
+ "lvh",
360
+ "svw",
361
+ "svh",
362
+ "min",
363
+ "max",
364
+ "fit",
365
+ ...S()
366
+ ], O = () => [
367
+ F,
368
+ "screen",
369
+ "full",
370
+ "dvw",
371
+ "lvw",
372
+ "svw",
373
+ "min",
374
+ "max",
375
+ "fit",
376
+ ...S()
377
+ ], oe = () => [
378
+ F,
379
+ "screen",
380
+ "full",
381
+ "lh",
382
+ "dvh",
383
+ "lvh",
384
+ "svh",
385
+ "min",
386
+ "max",
387
+ "fit",
388
+ ...S()
389
+ ], k = () => [
390
+ e,
391
+ V,
392
+ z
393
+ ], se = () => [
394
+ ...v(),
395
+ Ge,
396
+ Be,
397
+ { position: [V, z] }
398
+ ], ce = () => ["no-repeat", { repeat: [
399
+ "",
400
+ "x",
401
+ "y",
402
+ "space",
403
+ "round"
404
+ ] }], le = () => [
405
+ "auto",
406
+ "cover",
407
+ "contain",
408
+ Ke,
409
+ Ie,
410
+ { size: [V, z] }
411
+ ], ue = () => [
412
+ ke,
413
+ Ue,
414
+ B
415
+ ], A = () => [
416
+ "",
417
+ "none",
418
+ "full",
419
+ l,
420
+ V,
421
+ z
422
+ ], j = () => [
423
+ "",
424
+ I,
425
+ Ue,
426
+ B
427
+ ], M = () => [
428
+ "solid",
429
+ "dashed",
430
+ "dotted",
431
+ "double"
432
+ ], de = () => [
433
+ "normal",
434
+ "multiply",
435
+ "screen",
436
+ "overlay",
437
+ "darken",
438
+ "lighten",
439
+ "color-dodge",
440
+ "color-burn",
441
+ "hard-light",
442
+ "soft-light",
443
+ "difference",
444
+ "exclusion",
445
+ "hue",
446
+ "saturation",
447
+ "color",
448
+ "luminosity"
449
+ ], N = () => [
450
+ I,
451
+ ke,
452
+ Ge,
453
+ Be
454
+ ], fe = () => [
455
+ "",
456
+ "none",
457
+ p,
458
+ V,
459
+ z
460
+ ], pe = () => [
461
+ "none",
462
+ I,
463
+ V,
464
+ z
465
+ ], me = () => [
466
+ "none",
467
+ I,
468
+ V,
469
+ z
470
+ ], he = () => [
471
+ I,
472
+ V,
473
+ z
474
+ ], ge = () => [
475
+ F,
476
+ "full",
477
+ ...S()
478
+ ];
479
+ return {
480
+ cacheSize: 500,
481
+ theme: {
482
+ animate: [
483
+ "spin",
484
+ "ping",
485
+ "pulse",
486
+ "bounce"
487
+ ],
488
+ aspect: ["video"],
489
+ blur: [R],
490
+ breakpoint: [R],
491
+ color: [Ae],
492
+ container: [R],
493
+ "drop-shadow": [R],
494
+ ease: [
495
+ "in",
496
+ "out",
497
+ "in-out"
498
+ ],
499
+ font: [Fe],
500
+ "font-weight": [
501
+ "thin",
502
+ "extralight",
503
+ "light",
504
+ "normal",
505
+ "medium",
506
+ "semibold",
507
+ "bold",
508
+ "extrabold",
509
+ "black"
510
+ ],
511
+ "inset-shadow": [R],
512
+ leading: [
513
+ "none",
514
+ "tight",
515
+ "snug",
516
+ "normal",
517
+ "relaxed",
518
+ "loose"
519
+ ],
520
+ perspective: [
521
+ "dramatic",
522
+ "near",
523
+ "normal",
524
+ "midrange",
525
+ "distant",
526
+ "none"
527
+ ],
528
+ radius: [R],
529
+ shadow: [R],
530
+ spacing: ["px", I],
531
+ text: [R],
532
+ "text-shadow": [R],
533
+ tracking: [
534
+ "tighter",
535
+ "tight",
536
+ "normal",
537
+ "wide",
538
+ "wider",
539
+ "widest"
540
+ ]
541
+ },
542
+ classGroups: {
543
+ aspect: [{ aspect: [
544
+ "auto",
545
+ "square",
546
+ F,
547
+ z,
548
+ V,
549
+ te
550
+ ] }],
551
+ container: ["container"],
552
+ columns: [{ columns: [
553
+ I,
554
+ z,
555
+ V,
556
+ s
557
+ ] }],
558
+ "break-after": [{ "break-after": _() }],
559
+ "break-before": [{ "break-before": _() }],
560
+ "break-inside": [{ "break-inside": [
561
+ "auto",
562
+ "avoid",
563
+ "avoid-page",
564
+ "avoid-column"
565
+ ] }],
566
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
567
+ box: [{ box: ["border", "content"] }],
568
+ display: [
569
+ "block",
570
+ "inline-block",
571
+ "inline",
572
+ "flex",
573
+ "inline-flex",
574
+ "table",
575
+ "inline-table",
576
+ "table-caption",
577
+ "table-cell",
578
+ "table-column",
579
+ "table-column-group",
580
+ "table-footer-group",
581
+ "table-header-group",
582
+ "table-row-group",
583
+ "table-row",
584
+ "flow-root",
585
+ "grid",
586
+ "inline-grid",
587
+ "contents",
588
+ "list-item",
589
+ "hidden"
590
+ ],
591
+ sr: ["sr-only", "not-sr-only"],
592
+ float: [{ float: [
593
+ "right",
594
+ "left",
595
+ "none",
596
+ "start",
597
+ "end"
598
+ ] }],
599
+ clear: [{ clear: [
600
+ "left",
601
+ "right",
602
+ "both",
603
+ "none",
604
+ "start",
605
+ "end"
606
+ ] }],
607
+ isolation: ["isolate", "isolation-auto"],
608
+ "object-fit": [{ object: [
609
+ "contain",
610
+ "cover",
611
+ "fill",
612
+ "none",
613
+ "scale-down"
614
+ ] }],
615
+ "object-position": [{ object: y() }],
616
+ overflow: [{ overflow: b() }],
617
+ "overflow-x": [{ "overflow-x": b() }],
618
+ "overflow-y": [{ "overflow-y": b() }],
619
+ overscroll: [{ overscroll: x() }],
620
+ "overscroll-x": [{ "overscroll-x": x() }],
621
+ "overscroll-y": [{ "overscroll-y": x() }],
622
+ position: [
623
+ "static",
624
+ "fixed",
625
+ "absolute",
626
+ "relative",
627
+ "sticky"
628
+ ],
629
+ inset: [{ inset: C() }],
630
+ "inset-x": [{ "inset-x": C() }],
631
+ "inset-y": [{ "inset-y": C() }],
632
+ start: [{
633
+ "inset-s": C(),
634
+ start: C()
635
+ }],
636
+ end: [{
637
+ "inset-e": C(),
638
+ end: C()
639
+ }],
640
+ "inset-bs": [{ "inset-bs": C() }],
641
+ "inset-be": [{ "inset-be": C() }],
642
+ top: [{ top: C() }],
643
+ right: [{ right: C() }],
644
+ bottom: [{ bottom: C() }],
645
+ left: [{ left: C() }],
646
+ visibility: [
647
+ "visible",
648
+ "invisible",
649
+ "collapse"
650
+ ],
651
+ z: [{ z: [
652
+ L,
653
+ "auto",
654
+ V,
655
+ z
656
+ ] }],
657
+ basis: [{ basis: [
658
+ F,
659
+ "full",
660
+ "auto",
661
+ s,
662
+ ...S()
663
+ ] }],
664
+ "flex-direction": [{ flex: [
665
+ "row",
666
+ "row-reverse",
667
+ "col",
668
+ "col-reverse"
669
+ ] }],
670
+ "flex-wrap": [{ flex: [
671
+ "nowrap",
672
+ "wrap",
673
+ "wrap-reverse"
674
+ ] }],
675
+ flex: [{ flex: [
676
+ I,
677
+ F,
678
+ "auto",
679
+ "initial",
680
+ "none",
681
+ z
682
+ ] }],
683
+ grow: [{ grow: [
684
+ "",
685
+ I,
686
+ V,
687
+ z
688
+ ] }],
689
+ shrink: [{ shrink: [
690
+ "",
691
+ I,
692
+ V,
693
+ z
694
+ ] }],
695
+ order: [{ order: [
696
+ L,
697
+ "first",
698
+ "last",
699
+ "none",
700
+ V,
701
+ z
702
+ ] }],
703
+ "grid-cols": [{ "grid-cols": w() }],
704
+ "col-start-end": [{ col: ne() }],
705
+ "col-start": [{ "col-start": re() }],
706
+ "col-end": [{ "col-end": re() }],
707
+ "grid-rows": [{ "grid-rows": w() }],
708
+ "row-start-end": [{ row: ne() }],
709
+ "row-start": [{ "row-start": re() }],
710
+ "row-end": [{ "row-end": re() }],
711
+ "grid-flow": [{ "grid-flow": [
712
+ "row",
713
+ "col",
714
+ "dense",
715
+ "row-dense",
716
+ "col-dense"
717
+ ] }],
718
+ "auto-cols": [{ "auto-cols": ie() }],
719
+ "auto-rows": [{ "auto-rows": ie() }],
720
+ gap: [{ gap: S() }],
721
+ "gap-x": [{ "gap-x": S() }],
722
+ "gap-y": [{ "gap-y": S() }],
723
+ "justify-content": [{ justify: [...ae(), "normal"] }],
724
+ "justify-items": [{ "justify-items": [...T(), "normal"] }],
725
+ "justify-self": [{ "justify-self": ["auto", ...T()] }],
726
+ "align-content": [{ content: ["normal", ...ae()] }],
727
+ "align-items": [{ items: [...T(), { baseline: ["", "last"] }] }],
728
+ "align-self": [{ self: [
729
+ "auto",
730
+ ...T(),
731
+ { baseline: ["", "last"] }
732
+ ] }],
733
+ "place-content": [{ "place-content": ae() }],
734
+ "place-items": [{ "place-items": [...T(), "baseline"] }],
735
+ "place-self": [{ "place-self": ["auto", ...T()] }],
736
+ p: [{ p: S() }],
737
+ px: [{ px: S() }],
738
+ py: [{ py: S() }],
739
+ ps: [{ ps: S() }],
740
+ pe: [{ pe: S() }],
741
+ pbs: [{ pbs: S() }],
742
+ pbe: [{ pbe: S() }],
743
+ pt: [{ pt: S() }],
744
+ pr: [{ pr: S() }],
745
+ pb: [{ pb: S() }],
746
+ pl: [{ pl: S() }],
747
+ m: [{ m: E() }],
748
+ mx: [{ mx: E() }],
749
+ my: [{ my: E() }],
750
+ ms: [{ ms: E() }],
751
+ me: [{ me: E() }],
752
+ mbs: [{ mbs: E() }],
753
+ mbe: [{ mbe: E() }],
754
+ mt: [{ mt: E() }],
755
+ mr: [{ mr: E() }],
756
+ mb: [{ mb: E() }],
757
+ ml: [{ ml: E() }],
758
+ "space-x": [{ "space-x": S() }],
759
+ "space-x-reverse": ["space-x-reverse"],
760
+ "space-y": [{ "space-y": S() }],
761
+ "space-y-reverse": ["space-y-reverse"],
762
+ size: [{ size: D() }],
763
+ "inline-size": [{ inline: ["auto", ...O()] }],
764
+ "min-inline-size": [{ "min-inline": ["auto", ...O()] }],
765
+ "max-inline-size": [{ "max-inline": ["none", ...O()] }],
766
+ "block-size": [{ block: ["auto", ...oe()] }],
767
+ "min-block-size": [{ "min-block": ["auto", ...oe()] }],
768
+ "max-block-size": [{ "max-block": ["none", ...oe()] }],
769
+ w: [{ w: [
770
+ s,
771
+ "screen",
772
+ ...D()
773
+ ] }],
774
+ "min-w": [{ "min-w": [
775
+ s,
776
+ "screen",
777
+ "none",
778
+ ...D()
779
+ ] }],
780
+ "max-w": [{ "max-w": [
781
+ s,
782
+ "screen",
783
+ "none",
784
+ "prose",
785
+ { screen: [o] },
786
+ ...D()
787
+ ] }],
788
+ h: [{ h: [
789
+ "screen",
790
+ "lh",
791
+ ...D()
792
+ ] }],
793
+ "min-h": [{ "min-h": [
794
+ "screen",
795
+ "lh",
796
+ "none",
797
+ ...D()
798
+ ] }],
799
+ "max-h": [{ "max-h": [
800
+ "screen",
801
+ "lh",
802
+ ...D()
803
+ ] }],
804
+ "font-size": [{ text: [
805
+ "base",
806
+ n,
807
+ Ue,
808
+ B
809
+ ] }],
810
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
811
+ "font-style": ["italic", "not-italic"],
812
+ "font-weight": [{ font: [
813
+ r,
814
+ Ye,
815
+ Re
816
+ ] }],
817
+ "font-stretch": [{ "font-stretch": [
818
+ "ultra-condensed",
819
+ "extra-condensed",
820
+ "condensed",
821
+ "semi-condensed",
822
+ "normal",
823
+ "semi-expanded",
824
+ "expanded",
825
+ "extra-expanded",
826
+ "ultra-expanded",
827
+ ke,
828
+ z
829
+ ] }],
830
+ "font-family": [{ font: [
831
+ We,
832
+ ze,
833
+ t
834
+ ] }],
835
+ "font-features": [{ "font-features": [z] }],
836
+ "fvn-normal": ["normal-nums"],
837
+ "fvn-ordinal": ["ordinal"],
838
+ "fvn-slashed-zero": ["slashed-zero"],
839
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
840
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
841
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
842
+ tracking: [{ tracking: [
843
+ i,
844
+ V,
845
+ z
846
+ ] }],
847
+ "line-clamp": [{ "line-clamp": [
848
+ I,
849
+ "none",
850
+ V,
851
+ Le
852
+ ] }],
853
+ leading: [{ leading: [a, ...S()] }],
854
+ "list-image": [{ "list-image": [
855
+ "none",
856
+ V,
857
+ z
858
+ ] }],
859
+ "list-style-position": [{ list: ["inside", "outside"] }],
860
+ "list-style-type": [{ list: [
861
+ "disc",
862
+ "decimal",
863
+ "none",
864
+ V,
865
+ z
866
+ ] }],
867
+ "text-alignment": [{ text: [
868
+ "left",
869
+ "center",
870
+ "right",
871
+ "justify",
872
+ "start",
873
+ "end"
874
+ ] }],
875
+ "placeholder-color": [{ placeholder: k() }],
876
+ "text-color": [{ text: k() }],
877
+ "text-decoration": [
878
+ "underline",
879
+ "overline",
880
+ "line-through",
881
+ "no-underline"
882
+ ],
883
+ "text-decoration-style": [{ decoration: [...M(), "wavy"] }],
884
+ "text-decoration-thickness": [{ decoration: [
885
+ I,
886
+ "from-font",
887
+ "auto",
888
+ V,
889
+ B
890
+ ] }],
891
+ "text-decoration-color": [{ decoration: k() }],
892
+ "underline-offset": [{ "underline-offset": [
893
+ I,
894
+ "auto",
895
+ V,
896
+ z
897
+ ] }],
898
+ "text-transform": [
899
+ "uppercase",
900
+ "lowercase",
901
+ "capitalize",
902
+ "normal-case"
903
+ ],
904
+ "text-overflow": [
905
+ "truncate",
906
+ "text-ellipsis",
907
+ "text-clip"
908
+ ],
909
+ "text-wrap": [{ text: [
910
+ "wrap",
911
+ "nowrap",
912
+ "balance",
913
+ "pretty"
914
+ ] }],
915
+ indent: [{ indent: S() }],
916
+ "vertical-align": [{ align: [
917
+ "baseline",
918
+ "top",
919
+ "middle",
920
+ "bottom",
921
+ "text-top",
922
+ "text-bottom",
923
+ "sub",
924
+ "super",
925
+ V,
926
+ z
927
+ ] }],
928
+ whitespace: [{ whitespace: [
929
+ "normal",
930
+ "nowrap",
931
+ "pre",
932
+ "pre-line",
933
+ "pre-wrap",
934
+ "break-spaces"
935
+ ] }],
936
+ break: [{ break: [
937
+ "normal",
938
+ "words",
939
+ "all",
940
+ "keep"
941
+ ] }],
942
+ wrap: [{ wrap: [
943
+ "break-word",
944
+ "anywhere",
945
+ "normal"
946
+ ] }],
947
+ hyphens: [{ hyphens: [
948
+ "none",
949
+ "manual",
950
+ "auto"
951
+ ] }],
952
+ content: [{ content: [
953
+ "none",
954
+ V,
955
+ z
956
+ ] }],
957
+ "bg-attachment": [{ bg: [
958
+ "fixed",
959
+ "local",
960
+ "scroll"
961
+ ] }],
962
+ "bg-clip": [{ "bg-clip": [
963
+ "border",
964
+ "padding",
965
+ "content",
966
+ "text"
967
+ ] }],
968
+ "bg-origin": [{ "bg-origin": [
969
+ "border",
970
+ "padding",
971
+ "content"
972
+ ] }],
973
+ "bg-position": [{ bg: se() }],
974
+ "bg-repeat": [{ bg: ce() }],
975
+ "bg-size": [{ bg: le() }],
976
+ "bg-image": [{ bg: [
977
+ "none",
978
+ {
979
+ linear: [
980
+ { to: [
981
+ "t",
982
+ "tr",
983
+ "r",
984
+ "br",
985
+ "b",
986
+ "bl",
987
+ "l",
988
+ "tl"
989
+ ] },
990
+ L,
991
+ V,
992
+ z
993
+ ],
994
+ radial: [
995
+ "",
996
+ V,
997
+ z
998
+ ],
999
+ conic: [
1000
+ L,
1001
+ V,
1002
+ z
1003
+ ]
1004
+ },
1005
+ qe,
1006
+ Ve
1007
+ ] }],
1008
+ "bg-color": [{ bg: k() }],
1009
+ "gradient-from-pos": [{ from: ue() }],
1010
+ "gradient-via-pos": [{ via: ue() }],
1011
+ "gradient-to-pos": [{ to: ue() }],
1012
+ "gradient-from": [{ from: k() }],
1013
+ "gradient-via": [{ via: k() }],
1014
+ "gradient-to": [{ to: k() }],
1015
+ rounded: [{ rounded: A() }],
1016
+ "rounded-s": [{ "rounded-s": A() }],
1017
+ "rounded-e": [{ "rounded-e": A() }],
1018
+ "rounded-t": [{ "rounded-t": A() }],
1019
+ "rounded-r": [{ "rounded-r": A() }],
1020
+ "rounded-b": [{ "rounded-b": A() }],
1021
+ "rounded-l": [{ "rounded-l": A() }],
1022
+ "rounded-ss": [{ "rounded-ss": A() }],
1023
+ "rounded-se": [{ "rounded-se": A() }],
1024
+ "rounded-ee": [{ "rounded-ee": A() }],
1025
+ "rounded-es": [{ "rounded-es": A() }],
1026
+ "rounded-tl": [{ "rounded-tl": A() }],
1027
+ "rounded-tr": [{ "rounded-tr": A() }],
1028
+ "rounded-br": [{ "rounded-br": A() }],
1029
+ "rounded-bl": [{ "rounded-bl": A() }],
1030
+ "border-w": [{ border: j() }],
1031
+ "border-w-x": [{ "border-x": j() }],
1032
+ "border-w-y": [{ "border-y": j() }],
1033
+ "border-w-s": [{ "border-s": j() }],
1034
+ "border-w-e": [{ "border-e": j() }],
1035
+ "border-w-bs": [{ "border-bs": j() }],
1036
+ "border-w-be": [{ "border-be": j() }],
1037
+ "border-w-t": [{ "border-t": j() }],
1038
+ "border-w-r": [{ "border-r": j() }],
1039
+ "border-w-b": [{ "border-b": j() }],
1040
+ "border-w-l": [{ "border-l": j() }],
1041
+ "divide-x": [{ "divide-x": j() }],
1042
+ "divide-x-reverse": ["divide-x-reverse"],
1043
+ "divide-y": [{ "divide-y": j() }],
1044
+ "divide-y-reverse": ["divide-y-reverse"],
1045
+ "border-style": [{ border: [
1046
+ ...M(),
1047
+ "hidden",
1048
+ "none"
1049
+ ] }],
1050
+ "divide-style": [{ divide: [
1051
+ ...M(),
1052
+ "hidden",
1053
+ "none"
1054
+ ] }],
1055
+ "border-color": [{ border: k() }],
1056
+ "border-color-x": [{ "border-x": k() }],
1057
+ "border-color-y": [{ "border-y": k() }],
1058
+ "border-color-s": [{ "border-s": k() }],
1059
+ "border-color-e": [{ "border-e": k() }],
1060
+ "border-color-bs": [{ "border-bs": k() }],
1061
+ "border-color-be": [{ "border-be": k() }],
1062
+ "border-color-t": [{ "border-t": k() }],
1063
+ "border-color-r": [{ "border-r": k() }],
1064
+ "border-color-b": [{ "border-b": k() }],
1065
+ "border-color-l": [{ "border-l": k() }],
1066
+ "divide-color": [{ divide: k() }],
1067
+ "outline-style": [{ outline: [
1068
+ ...M(),
1069
+ "none",
1070
+ "hidden"
1071
+ ] }],
1072
+ "outline-offset": [{ "outline-offset": [
1073
+ I,
1074
+ V,
1075
+ z
1076
+ ] }],
1077
+ "outline-w": [{ outline: [
1078
+ "",
1079
+ I,
1080
+ Ue,
1081
+ B
1082
+ ] }],
1083
+ "outline-color": [{ outline: k() }],
1084
+ shadow: [{ shadow: [
1085
+ "",
1086
+ "none",
1087
+ u,
1088
+ Je,
1089
+ He
1090
+ ] }],
1091
+ "shadow-color": [{ shadow: k() }],
1092
+ "inset-shadow": [{ "inset-shadow": [
1093
+ "none",
1094
+ d,
1095
+ Je,
1096
+ He
1097
+ ] }],
1098
+ "inset-shadow-color": [{ "inset-shadow": k() }],
1099
+ "ring-w": [{ ring: j() }],
1100
+ "ring-w-inset": ["ring-inset"],
1101
+ "ring-color": [{ ring: k() }],
1102
+ "ring-offset-w": [{ "ring-offset": [I, B] }],
1103
+ "ring-offset-color": [{ "ring-offset": k() }],
1104
+ "inset-ring-w": [{ "inset-ring": j() }],
1105
+ "inset-ring-color": [{ "inset-ring": k() }],
1106
+ "text-shadow": [{ "text-shadow": [
1107
+ "none",
1108
+ f,
1109
+ Je,
1110
+ He
1111
+ ] }],
1112
+ "text-shadow-color": [{ "text-shadow": k() }],
1113
+ opacity: [{ opacity: [
1114
+ I,
1115
+ V,
1116
+ z
1117
+ ] }],
1118
+ "mix-blend": [{ "mix-blend": [
1119
+ ...de(),
1120
+ "plus-darker",
1121
+ "plus-lighter"
1122
+ ] }],
1123
+ "bg-blend": [{ "bg-blend": de() }],
1124
+ "mask-clip": [{ "mask-clip": [
1125
+ "border",
1126
+ "padding",
1127
+ "content",
1128
+ "fill",
1129
+ "stroke",
1130
+ "view"
1131
+ ] }, "mask-no-clip"],
1132
+ "mask-composite": [{ mask: [
1133
+ "add",
1134
+ "subtract",
1135
+ "intersect",
1136
+ "exclude"
1137
+ ] }],
1138
+ "mask-image-linear-pos": [{ "mask-linear": [I] }],
1139
+ "mask-image-linear-from-pos": [{ "mask-linear-from": N() }],
1140
+ "mask-image-linear-to-pos": [{ "mask-linear-to": N() }],
1141
+ "mask-image-linear-from-color": [{ "mask-linear-from": k() }],
1142
+ "mask-image-linear-to-color": [{ "mask-linear-to": k() }],
1143
+ "mask-image-t-from-pos": [{ "mask-t-from": N() }],
1144
+ "mask-image-t-to-pos": [{ "mask-t-to": N() }],
1145
+ "mask-image-t-from-color": [{ "mask-t-from": k() }],
1146
+ "mask-image-t-to-color": [{ "mask-t-to": k() }],
1147
+ "mask-image-r-from-pos": [{ "mask-r-from": N() }],
1148
+ "mask-image-r-to-pos": [{ "mask-r-to": N() }],
1149
+ "mask-image-r-from-color": [{ "mask-r-from": k() }],
1150
+ "mask-image-r-to-color": [{ "mask-r-to": k() }],
1151
+ "mask-image-b-from-pos": [{ "mask-b-from": N() }],
1152
+ "mask-image-b-to-pos": [{ "mask-b-to": N() }],
1153
+ "mask-image-b-from-color": [{ "mask-b-from": k() }],
1154
+ "mask-image-b-to-color": [{ "mask-b-to": k() }],
1155
+ "mask-image-l-from-pos": [{ "mask-l-from": N() }],
1156
+ "mask-image-l-to-pos": [{ "mask-l-to": N() }],
1157
+ "mask-image-l-from-color": [{ "mask-l-from": k() }],
1158
+ "mask-image-l-to-color": [{ "mask-l-to": k() }],
1159
+ "mask-image-x-from-pos": [{ "mask-x-from": N() }],
1160
+ "mask-image-x-to-pos": [{ "mask-x-to": N() }],
1161
+ "mask-image-x-from-color": [{ "mask-x-from": k() }],
1162
+ "mask-image-x-to-color": [{ "mask-x-to": k() }],
1163
+ "mask-image-y-from-pos": [{ "mask-y-from": N() }],
1164
+ "mask-image-y-to-pos": [{ "mask-y-to": N() }],
1165
+ "mask-image-y-from-color": [{ "mask-y-from": k() }],
1166
+ "mask-image-y-to-color": [{ "mask-y-to": k() }],
1167
+ "mask-image-radial": [{ "mask-radial": [V, z] }],
1168
+ "mask-image-radial-from-pos": [{ "mask-radial-from": N() }],
1169
+ "mask-image-radial-to-pos": [{ "mask-radial-to": N() }],
1170
+ "mask-image-radial-from-color": [{ "mask-radial-from": k() }],
1171
+ "mask-image-radial-to-color": [{ "mask-radial-to": k() }],
1172
+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1173
+ "mask-image-radial-size": [{ "mask-radial": [{
1174
+ closest: ["side", "corner"],
1175
+ farthest: ["side", "corner"]
1176
+ }] }],
1177
+ "mask-image-radial-pos": [{ "mask-radial-at": v() }],
1178
+ "mask-image-conic-pos": [{ "mask-conic": [I] }],
1179
+ "mask-image-conic-from-pos": [{ "mask-conic-from": N() }],
1180
+ "mask-image-conic-to-pos": [{ "mask-conic-to": N() }],
1181
+ "mask-image-conic-from-color": [{ "mask-conic-from": k() }],
1182
+ "mask-image-conic-to-color": [{ "mask-conic-to": k() }],
1183
+ "mask-mode": [{ mask: [
1184
+ "alpha",
1185
+ "luminance",
1186
+ "match"
1187
+ ] }],
1188
+ "mask-origin": [{ "mask-origin": [
1189
+ "border",
1190
+ "padding",
1191
+ "content",
1192
+ "fill",
1193
+ "stroke",
1194
+ "view"
1195
+ ] }],
1196
+ "mask-position": [{ mask: se() }],
1197
+ "mask-repeat": [{ mask: ce() }],
1198
+ "mask-size": [{ mask: le() }],
1199
+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1200
+ "mask-image": [{ mask: [
1201
+ "none",
1202
+ V,
1203
+ z
1204
+ ] }],
1205
+ filter: [{ filter: [
1206
+ "",
1207
+ "none",
1208
+ V,
1209
+ z
1210
+ ] }],
1211
+ blur: [{ blur: fe() }],
1212
+ brightness: [{ brightness: [
1213
+ I,
1214
+ V,
1215
+ z
1216
+ ] }],
1217
+ contrast: [{ contrast: [
1218
+ I,
1219
+ V,
1220
+ z
1221
+ ] }],
1222
+ "drop-shadow": [{ "drop-shadow": [
1223
+ "",
1224
+ "none",
1225
+ ee,
1226
+ Je,
1227
+ He
1228
+ ] }],
1229
+ "drop-shadow-color": [{ "drop-shadow": k() }],
1230
+ grayscale: [{ grayscale: [
1231
+ "",
1232
+ I,
1233
+ V,
1234
+ z
1235
+ ] }],
1236
+ "hue-rotate": [{ "hue-rotate": [
1237
+ I,
1238
+ V,
1239
+ z
1240
+ ] }],
1241
+ invert: [{ invert: [
1242
+ "",
1243
+ I,
1244
+ V,
1245
+ z
1246
+ ] }],
1247
+ saturate: [{ saturate: [
1248
+ I,
1249
+ V,
1250
+ z
1251
+ ] }],
1252
+ sepia: [{ sepia: [
1253
+ "",
1254
+ I,
1255
+ V,
1256
+ z
1257
+ ] }],
1258
+ "backdrop-filter": [{ "backdrop-filter": [
1259
+ "",
1260
+ "none",
1261
+ V,
1262
+ z
1263
+ ] }],
1264
+ "backdrop-blur": [{ "backdrop-blur": fe() }],
1265
+ "backdrop-brightness": [{ "backdrop-brightness": [
1266
+ I,
1267
+ V,
1268
+ z
1269
+ ] }],
1270
+ "backdrop-contrast": [{ "backdrop-contrast": [
1271
+ I,
1272
+ V,
1273
+ z
1274
+ ] }],
1275
+ "backdrop-grayscale": [{ "backdrop-grayscale": [
1276
+ "",
1277
+ I,
1278
+ V,
1279
+ z
1280
+ ] }],
1281
+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1282
+ I,
1283
+ V,
1284
+ z
1285
+ ] }],
1286
+ "backdrop-invert": [{ "backdrop-invert": [
1287
+ "",
1288
+ I,
1289
+ V,
1290
+ z
1291
+ ] }],
1292
+ "backdrop-opacity": [{ "backdrop-opacity": [
1293
+ I,
1294
+ V,
1295
+ z
1296
+ ] }],
1297
+ "backdrop-saturate": [{ "backdrop-saturate": [
1298
+ I,
1299
+ V,
1300
+ z
1301
+ ] }],
1302
+ "backdrop-sepia": [{ "backdrop-sepia": [
1303
+ "",
1304
+ I,
1305
+ V,
1306
+ z
1307
+ ] }],
1308
+ "border-collapse": [{ border: ["collapse", "separate"] }],
1309
+ "border-spacing": [{ "border-spacing": S() }],
1310
+ "border-spacing-x": [{ "border-spacing-x": S() }],
1311
+ "border-spacing-y": [{ "border-spacing-y": S() }],
1312
+ "table-layout": [{ table: ["auto", "fixed"] }],
1313
+ caption: [{ caption: ["top", "bottom"] }],
1314
+ transition: [{ transition: [
1315
+ "",
1316
+ "all",
1317
+ "colors",
1318
+ "opacity",
1319
+ "shadow",
1320
+ "transform",
1321
+ "none",
1322
+ V,
1323
+ z
1324
+ ] }],
1325
+ "transition-behavior": [{ transition: ["normal", "discrete"] }],
1326
+ duration: [{ duration: [
1327
+ I,
1328
+ "initial",
1329
+ V,
1330
+ z
1331
+ ] }],
1332
+ ease: [{ ease: [
1333
+ "linear",
1334
+ "initial",
1335
+ h,
1336
+ V,
1337
+ z
1338
+ ] }],
1339
+ delay: [{ delay: [
1340
+ I,
1341
+ V,
1342
+ z
1343
+ ] }],
1344
+ animate: [{ animate: [
1345
+ "none",
1346
+ g,
1347
+ V,
1348
+ z
1349
+ ] }],
1350
+ backface: [{ backface: ["hidden", "visible"] }],
1351
+ perspective: [{ perspective: [
1352
+ m,
1353
+ V,
1354
+ z
1355
+ ] }],
1356
+ "perspective-origin": [{ "perspective-origin": y() }],
1357
+ rotate: [{ rotate: pe() }],
1358
+ "rotate-x": [{ "rotate-x": pe() }],
1359
+ "rotate-y": [{ "rotate-y": pe() }],
1360
+ "rotate-z": [{ "rotate-z": pe() }],
1361
+ scale: [{ scale: me() }],
1362
+ "scale-x": [{ "scale-x": me() }],
1363
+ "scale-y": [{ "scale-y": me() }],
1364
+ "scale-z": [{ "scale-z": me() }],
1365
+ "scale-3d": ["scale-3d"],
1366
+ skew: [{ skew: he() }],
1367
+ "skew-x": [{ "skew-x": he() }],
1368
+ "skew-y": [{ "skew-y": he() }],
1369
+ transform: [{ transform: [
1370
+ V,
1371
+ z,
1372
+ "",
1373
+ "none",
1374
+ "gpu",
1375
+ "cpu"
1376
+ ] }],
1377
+ "transform-origin": [{ origin: y() }],
1378
+ "transform-style": [{ transform: ["3d", "flat"] }],
1379
+ translate: [{ translate: ge() }],
1380
+ "translate-x": [{ "translate-x": ge() }],
1381
+ "translate-y": [{ "translate-y": ge() }],
1382
+ "translate-z": [{ "translate-z": ge() }],
1383
+ "translate-none": ["translate-none"],
1384
+ accent: [{ accent: k() }],
1385
+ appearance: [{ appearance: ["none", "auto"] }],
1386
+ "caret-color": [{ caret: k() }],
1387
+ "color-scheme": [{ scheme: [
1388
+ "normal",
1389
+ "dark",
1390
+ "light",
1391
+ "light-dark",
1392
+ "only-dark",
1393
+ "only-light"
1394
+ ] }],
1395
+ cursor: [{ cursor: [
1396
+ "auto",
1397
+ "default",
1398
+ "pointer",
1399
+ "wait",
1400
+ "text",
1401
+ "move",
1402
+ "help",
1403
+ "not-allowed",
1404
+ "none",
1405
+ "context-menu",
1406
+ "progress",
1407
+ "cell",
1408
+ "crosshair",
1409
+ "vertical-text",
1410
+ "alias",
1411
+ "copy",
1412
+ "no-drop",
1413
+ "grab",
1414
+ "grabbing",
1415
+ "all-scroll",
1416
+ "col-resize",
1417
+ "row-resize",
1418
+ "n-resize",
1419
+ "e-resize",
1420
+ "s-resize",
1421
+ "w-resize",
1422
+ "ne-resize",
1423
+ "nw-resize",
1424
+ "se-resize",
1425
+ "sw-resize",
1426
+ "ew-resize",
1427
+ "ns-resize",
1428
+ "nesw-resize",
1429
+ "nwse-resize",
1430
+ "zoom-in",
1431
+ "zoom-out",
1432
+ V,
1433
+ z
1434
+ ] }],
1435
+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1436
+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],
1437
+ resize: [{ resize: [
1438
+ "none",
1439
+ "",
1440
+ "y",
1441
+ "x"
1442
+ ] }],
1443
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1444
+ "scroll-m": [{ "scroll-m": S() }],
1445
+ "scroll-mx": [{ "scroll-mx": S() }],
1446
+ "scroll-my": [{ "scroll-my": S() }],
1447
+ "scroll-ms": [{ "scroll-ms": S() }],
1448
+ "scroll-me": [{ "scroll-me": S() }],
1449
+ "scroll-mbs": [{ "scroll-mbs": S() }],
1450
+ "scroll-mbe": [{ "scroll-mbe": S() }],
1451
+ "scroll-mt": [{ "scroll-mt": S() }],
1452
+ "scroll-mr": [{ "scroll-mr": S() }],
1453
+ "scroll-mb": [{ "scroll-mb": S() }],
1454
+ "scroll-ml": [{ "scroll-ml": S() }],
1455
+ "scroll-p": [{ "scroll-p": S() }],
1456
+ "scroll-px": [{ "scroll-px": S() }],
1457
+ "scroll-py": [{ "scroll-py": S() }],
1458
+ "scroll-ps": [{ "scroll-ps": S() }],
1459
+ "scroll-pe": [{ "scroll-pe": S() }],
1460
+ "scroll-pbs": [{ "scroll-pbs": S() }],
1461
+ "scroll-pbe": [{ "scroll-pbe": S() }],
1462
+ "scroll-pt": [{ "scroll-pt": S() }],
1463
+ "scroll-pr": [{ "scroll-pr": S() }],
1464
+ "scroll-pb": [{ "scroll-pb": S() }],
1465
+ "scroll-pl": [{ "scroll-pl": S() }],
1466
+ "snap-align": [{ snap: [
1467
+ "start",
1468
+ "end",
1469
+ "center",
1470
+ "align-none"
1471
+ ] }],
1472
+ "snap-stop": [{ snap: ["normal", "always"] }],
1473
+ "snap-type": [{ snap: [
1474
+ "none",
1475
+ "x",
1476
+ "y",
1477
+ "both"
1478
+ ] }],
1479
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1480
+ touch: [{ touch: [
1481
+ "auto",
1482
+ "none",
1483
+ "manipulation"
1484
+ ] }],
1485
+ "touch-x": [{ "touch-pan": [
1486
+ "x",
1487
+ "left",
1488
+ "right"
1489
+ ] }],
1490
+ "touch-y": [{ "touch-pan": [
1491
+ "y",
1492
+ "up",
1493
+ "down"
1494
+ ] }],
1495
+ "touch-pz": ["touch-pinch-zoom"],
1496
+ select: [{ select: [
1497
+ "none",
1498
+ "text",
1499
+ "all",
1500
+ "auto"
1501
+ ] }],
1502
+ "will-change": [{ "will-change": [
1503
+ "auto",
1504
+ "scroll",
1505
+ "contents",
1506
+ "transform",
1507
+ V,
1508
+ z
1509
+ ] }],
1510
+ fill: [{ fill: ["none", ...k()] }],
1511
+ "stroke-w": [{ stroke: [
1512
+ I,
1513
+ Ue,
1514
+ B,
1515
+ Le
1516
+ ] }],
1517
+ stroke: [{ stroke: ["none", ...k()] }],
1518
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1519
+ },
1520
+ conflictingClassGroups: {
1521
+ overflow: ["overflow-x", "overflow-y"],
1522
+ overscroll: ["overscroll-x", "overscroll-y"],
1523
+ inset: [
1524
+ "inset-x",
1525
+ "inset-y",
1526
+ "inset-bs",
1527
+ "inset-be",
1528
+ "start",
1529
+ "end",
1530
+ "top",
1531
+ "right",
1532
+ "bottom",
1533
+ "left"
1534
+ ],
1535
+ "inset-x": ["right", "left"],
1536
+ "inset-y": ["top", "bottom"],
1537
+ flex: [
1538
+ "basis",
1539
+ "grow",
1540
+ "shrink"
1541
+ ],
1542
+ gap: ["gap-x", "gap-y"],
1543
+ p: [
1544
+ "px",
1545
+ "py",
1546
+ "ps",
1547
+ "pe",
1548
+ "pbs",
1549
+ "pbe",
1550
+ "pt",
1551
+ "pr",
1552
+ "pb",
1553
+ "pl"
1554
+ ],
1555
+ px: ["pr", "pl"],
1556
+ py: ["pt", "pb"],
1557
+ m: [
1558
+ "mx",
1559
+ "my",
1560
+ "ms",
1561
+ "me",
1562
+ "mbs",
1563
+ "mbe",
1564
+ "mt",
1565
+ "mr",
1566
+ "mb",
1567
+ "ml"
1568
+ ],
1569
+ mx: ["mr", "ml"],
1570
+ my: ["mt", "mb"],
1571
+ size: ["w", "h"],
1572
+ "font-size": ["leading"],
1573
+ "fvn-normal": [
1574
+ "fvn-ordinal",
1575
+ "fvn-slashed-zero",
1576
+ "fvn-figure",
1577
+ "fvn-spacing",
1578
+ "fvn-fraction"
1579
+ ],
1580
+ "fvn-ordinal": ["fvn-normal"],
1581
+ "fvn-slashed-zero": ["fvn-normal"],
1582
+ "fvn-figure": ["fvn-normal"],
1583
+ "fvn-spacing": ["fvn-normal"],
1584
+ "fvn-fraction": ["fvn-normal"],
1585
+ "line-clamp": ["display", "overflow"],
1586
+ rounded: [
1587
+ "rounded-s",
1588
+ "rounded-e",
1589
+ "rounded-t",
1590
+ "rounded-r",
1591
+ "rounded-b",
1592
+ "rounded-l",
1593
+ "rounded-ss",
1594
+ "rounded-se",
1595
+ "rounded-ee",
1596
+ "rounded-es",
1597
+ "rounded-tl",
1598
+ "rounded-tr",
1599
+ "rounded-br",
1600
+ "rounded-bl"
1601
+ ],
1602
+ "rounded-s": ["rounded-ss", "rounded-es"],
1603
+ "rounded-e": ["rounded-se", "rounded-ee"],
1604
+ "rounded-t": ["rounded-tl", "rounded-tr"],
1605
+ "rounded-r": ["rounded-tr", "rounded-br"],
1606
+ "rounded-b": ["rounded-br", "rounded-bl"],
1607
+ "rounded-l": ["rounded-tl", "rounded-bl"],
1608
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
1609
+ "border-w": [
1610
+ "border-w-x",
1611
+ "border-w-y",
1612
+ "border-w-s",
1613
+ "border-w-e",
1614
+ "border-w-bs",
1615
+ "border-w-be",
1616
+ "border-w-t",
1617
+ "border-w-r",
1618
+ "border-w-b",
1619
+ "border-w-l"
1620
+ ],
1621
+ "border-w-x": ["border-w-r", "border-w-l"],
1622
+ "border-w-y": ["border-w-t", "border-w-b"],
1623
+ "border-color": [
1624
+ "border-color-x",
1625
+ "border-color-y",
1626
+ "border-color-s",
1627
+ "border-color-e",
1628
+ "border-color-bs",
1629
+ "border-color-be",
1630
+ "border-color-t",
1631
+ "border-color-r",
1632
+ "border-color-b",
1633
+ "border-color-l"
1634
+ ],
1635
+ "border-color-x": ["border-color-r", "border-color-l"],
1636
+ "border-color-y": ["border-color-t", "border-color-b"],
1637
+ translate: [
1638
+ "translate-x",
1639
+ "translate-y",
1640
+ "translate-none"
1641
+ ],
1642
+ "translate-none": [
1643
+ "translate",
1644
+ "translate-x",
1645
+ "translate-y",
1646
+ "translate-z"
1647
+ ],
1648
+ "scroll-m": [
1649
+ "scroll-mx",
1650
+ "scroll-my",
1651
+ "scroll-ms",
1652
+ "scroll-me",
1653
+ "scroll-mbs",
1654
+ "scroll-mbe",
1655
+ "scroll-mt",
1656
+ "scroll-mr",
1657
+ "scroll-mb",
1658
+ "scroll-ml"
1659
+ ],
1660
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
1661
+ "scroll-my": ["scroll-mt", "scroll-mb"],
1662
+ "scroll-p": [
1663
+ "scroll-px",
1664
+ "scroll-py",
1665
+ "scroll-ps",
1666
+ "scroll-pe",
1667
+ "scroll-pbs",
1668
+ "scroll-pbe",
1669
+ "scroll-pt",
1670
+ "scroll-pr",
1671
+ "scroll-pb",
1672
+ "scroll-pl"
1673
+ ],
1674
+ "scroll-px": ["scroll-pr", "scroll-pl"],
1675
+ "scroll-py": ["scroll-pt", "scroll-pb"],
1676
+ touch: [
1677
+ "touch-x",
1678
+ "touch-y",
1679
+ "touch-pz"
1680
+ ],
1681
+ "touch-x": ["touch"],
1682
+ "touch-y": ["touch"],
1683
+ "touch-pz": ["touch"]
1684
+ },
1685
+ conflictingClassGroupModifiers: { "font-size": ["leading"] },
1686
+ orderSensitiveModifiers: [
1687
+ "*",
1688
+ "**",
1689
+ "after",
1690
+ "backdrop",
1691
+ "before",
1692
+ "details-content",
1693
+ "file",
1694
+ "first-letter",
1695
+ "first-line",
1696
+ "marker",
1697
+ "placeholder",
1698
+ "selection"
1699
+ ]
1700
+ };
1701
+ });
1702
+ //#endregion
1703
+ //#region ../ui-library/src/lib/cn.ts
1704
+ function W(...e) {
1705
+ return it(b(e));
1706
+ }
1707
+ //#endregion
1708
+ //#region ../ui-library/src/lib/shared-context.ts
1709
+ r();
1710
+ function G(e, t) {
1711
+ if (typeof globalThis > "u") return l(t);
1712
+ let n = globalThis.__camstackSharedContexts, r = n ?? /* @__PURE__ */ new Map();
1713
+ n || (globalThis.__camstackSharedContexts = r);
1714
+ let i = r.get(e);
1715
+ if (i) return i;
1716
+ let a = l(t);
1717
+ return r.set(e, a), a;
1718
+ }
1719
+ r(), p();
1720
+ //#endregion
1721
+ //#region ../ui-library/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
1722
+ var at = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), ot = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), st = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), ct = (e) => {
1723
+ let t = st(e);
1724
+ return t.charAt(0).toUpperCase() + t.slice(1);
1725
+ }, lt = {
1726
+ xmlns: "http://www.w3.org/2000/svg",
1727
+ width: 24,
1728
+ height: 24,
1729
+ viewBox: "0 0 24 24",
1730
+ fill: "none",
1731
+ stroke: "currentColor",
1732
+ strokeWidth: 2,
1733
+ strokeLinecap: "round",
1734
+ strokeLinejoin: "round"
1735
+ }, ut = (e) => {
1736
+ for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
1737
+ return !1;
1738
+ };
1739
+ //#endregion
1740
+ //#region ../ui-library/node_modules/lucide-react/dist/esm/Icon.js
1741
+ r();
1742
+ var dt = c(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: s, ...c }, l) => o("svg", {
1743
+ ref: l,
1744
+ ...lt,
1745
+ width: t,
1746
+ height: t,
1747
+ stroke: e,
1748
+ strokeWidth: r ? Number(n) * 24 / Number(t) : n,
1749
+ className: at("lucide", i),
1750
+ ...!a && !ut(c) && { "aria-hidden": "true" },
1751
+ ...c
1752
+ }, [...s.map(([e, t]) => o(e, t)), ...Array.isArray(a) ? a : [a]]));
1753
+ //#endregion
1754
+ //#region ../ui-library/node_modules/lucide-react/dist/esm/createLucideIcon.js
1755
+ r();
1756
+ var K = (e, t) => {
1757
+ let n = c(({ className: n, ...r }, i) => o(dt, {
1758
+ ref: i,
1759
+ iconNode: t,
1760
+ className: at(`lucide-${ot(ct(e))}`, `lucide-${e}`, n),
1761
+ ...r
1762
+ }));
1763
+ return n.displayName = ct(e), n;
1764
+ };
1765
+ K("activity", [["path", {
1766
+ d: "M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",
1767
+ key: "169zse"
1768
+ }]]);
1769
+ var ft = K("chevron-down", [["path", {
1770
+ d: "m6 9 6 6 6-6",
1771
+ key: "qrunsl"
1772
+ }]]);
1773
+ K("circle-alert", [
1774
+ ["circle", {
1775
+ cx: "12",
1776
+ cy: "12",
1777
+ r: "10",
1778
+ key: "1mglay"
1779
+ }],
1780
+ ["line", {
1781
+ x1: "12",
1782
+ x2: "12",
1783
+ y1: "8",
1784
+ y2: "12",
1785
+ key: "1pkeuh"
1786
+ }],
1787
+ ["line", {
1788
+ x1: "12",
1789
+ x2: "12.01",
1790
+ y1: "16",
1791
+ y2: "16",
1792
+ key: "4dfq90"
1793
+ }]
1794
+ ]), K("download", [
1795
+ ["path", {
1796
+ d: "M12 15V3",
1797
+ key: "m9g1x1"
1798
+ }],
1799
+ ["path", {
1800
+ d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
1801
+ key: "ih7n3h"
1802
+ }],
1803
+ ["path", {
1804
+ d: "m7 10 5 5 5-5",
1805
+ key: "brsn70"
1806
+ }]
1807
+ ]), K("eye", [["path", {
1808
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
1809
+ key: "1nclc0"
1810
+ }], ["circle", {
1811
+ cx: "12",
1812
+ cy: "12",
1813
+ r: "3",
1814
+ key: "1v7zrd"
1815
+ }]]), K("mic", [
1816
+ ["path", {
1817
+ d: "M12 19v3",
1818
+ key: "npa21l"
1819
+ }],
1820
+ ["path", {
1821
+ d: "M19 10v2a7 7 0 0 1-14 0v-2",
1822
+ key: "1vc78b"
1823
+ }],
1824
+ ["rect", {
1825
+ x: "9",
1826
+ y: "2",
1827
+ width: "6",
1828
+ height: "13",
1829
+ rx: "3",
1830
+ key: "s6n7sd"
1831
+ }]
1832
+ ]), K("play", [["path", {
1833
+ d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
1834
+ key: "10ikf1"
1835
+ }]]), K("refresh-cw", [
1836
+ ["path", {
1837
+ d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",
1838
+ key: "v9h5vc"
1839
+ }],
1840
+ ["path", {
1841
+ d: "M21 3v5h-5",
1842
+ key: "1q7to0"
1843
+ }],
1844
+ ["path", {
1845
+ d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",
1846
+ key: "3uifl3"
1847
+ }],
1848
+ ["path", {
1849
+ d: "M8 16H3v5",
1850
+ key: "1cv678"
1851
+ }]
1852
+ ]), K("scan", [
1853
+ ["path", {
1854
+ d: "M3 7V5a2 2 0 0 1 2-2h2",
1855
+ key: "aa7l1z"
1856
+ }],
1857
+ ["path", {
1858
+ d: "M17 3h2a2 2 0 0 1 2 2v2",
1859
+ key: "4qcy5o"
1860
+ }],
1861
+ ["path", {
1862
+ d: "M21 17v2a2 2 0 0 1-2 2h-2",
1863
+ key: "6vwrx8"
1864
+ }],
1865
+ ["path", {
1866
+ d: "M7 21H5a2 2 0 0 1-2-2v-2",
1867
+ key: "ioqczr"
1868
+ }]
1869
+ ]), K("square", [["rect", {
1870
+ width: "18",
1871
+ height: "18",
1872
+ x: "3",
1873
+ y: "3",
1874
+ rx: "2",
1875
+ key: "afitv7"
1876
+ }]]), K("target", [
1877
+ ["circle", {
1878
+ cx: "12",
1879
+ cy: "12",
1880
+ r: "10",
1881
+ key: "1mglay"
1882
+ }],
1883
+ ["circle", {
1884
+ cx: "12",
1885
+ cy: "12",
1886
+ r: "6",
1887
+ key: "1vlfrh"
1888
+ }],
1889
+ ["circle", {
1890
+ cx: "12",
1891
+ cy: "12",
1892
+ r: "2",
1893
+ key: "1c9p78"
1894
+ }]
1895
+ ]), K("trash-2", [
1896
+ ["path", {
1897
+ d: "M10 11v6",
1898
+ key: "nco0om"
1899
+ }],
1900
+ ["path", {
1901
+ d: "M14 11v6",
1902
+ key: "outv1u"
1903
+ }],
1904
+ ["path", {
1905
+ d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",
1906
+ key: "miytrc"
1907
+ }],
1908
+ ["path", {
1909
+ d: "M3 6h18",
1910
+ key: "d0wm0j"
1911
+ }],
1912
+ ["path", {
1913
+ d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",
1914
+ key: "e791ji"
1915
+ }]
1916
+ ]), K("triangle-alert", [
1917
+ ["path", {
1918
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
1919
+ key: "wmoenq"
1920
+ }],
1921
+ ["path", {
1922
+ d: "M12 9v4",
1923
+ key: "juzpu7"
1924
+ }],
1925
+ ["path", {
1926
+ d: "M12 17h.01",
1927
+ key: "p32p05"
1928
+ }]
1929
+ ]), K("upload", [
1930
+ ["path", {
1931
+ d: "M12 3v12",
1932
+ key: "1x0j5s"
1933
+ }],
1934
+ ["path", {
1935
+ d: "m17 8-5-5-5 5",
1936
+ key: "7q97r8"
1937
+ }],
1938
+ ["path", {
1939
+ d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
1940
+ key: "ih7n3h"
1941
+ }]
1942
+ ]), K("zap", [["path", {
1943
+ d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",
1944
+ key: "1xq2db"
1945
+ }]]);
1946
+ var pt = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, mt = b, q = (e, t) => (n) => {
1947
+ if (t?.variants == null) return mt(e, n?.class, n?.className);
1948
+ let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
1949
+ let t = n?.[e], a = i?.[e];
1950
+ if (t === null) return null;
1951
+ let o = pt(t) || pt(a);
1952
+ return r[e][o];
1953
+ }), o = n && Object.entries(n).reduce((e, t) => {
1954
+ let [n, r] = t;
1955
+ return r === void 0 || (e[n] = r), e;
1956
+ }, {});
1957
+ return mt(e, a, t?.compoundVariants?.reduce((e, t) => {
1958
+ let { class: n, className: r, ...a } = t;
1959
+ return Object.entries(a).every((e) => {
1960
+ let [t, n] = e;
1961
+ return Array.isArray(n) ? n.includes({
1962
+ ...i,
1963
+ ...o
1964
+ }[t]) : {
1965
+ ...i,
1966
+ ...o
1967
+ }[t] === n;
1968
+ }) ? [
1969
+ ...e,
1970
+ n,
1971
+ r
1972
+ ] : e;
1973
+ }, []), n?.class, n?.className);
1974
+ };
1975
+ //#endregion
1976
+ //#region ../ui-library/src/primitives/button.tsx
1977
+ r();
1978
+ var ht = q("inline-flex items-center justify-center rounded-md font-medium transition-colors cursor-pointer disabled:opacity-50 disabled:pointer-events-none", {
1979
+ variants: {
1980
+ variant: {
1981
+ primary: "bg-primary text-primary-foreground hover:bg-primary/90",
1982
+ secondary: "bg-surface text-foreground hover:bg-surface-hover",
1983
+ ghost: "hover:bg-surface-hover text-foreground-muted",
1984
+ danger: "bg-danger text-white hover:bg-danger/90",
1985
+ outline: "border border-border bg-transparent hover:bg-surface-hover"
1986
+ },
1987
+ size: {
1988
+ sm: "h-7 px-2.5 text-xs gap-1.5",
1989
+ md: "h-8 px-3 text-sm gap-2",
1990
+ lg: "h-9 px-4 text-sm gap-2"
1991
+ }
1992
+ },
1993
+ defaultVariants: {
1994
+ variant: "primary",
1995
+ size: "sm"
1996
+ }
1997
+ }), J = c(({ className: e, variant: t, size: n, ...r }, i) => /* @__PURE__ */ d("button", {
1998
+ ref: i,
1999
+ className: W(ht({
2000
+ variant: t,
2001
+ size: n
2002
+ }), e),
2003
+ ...r
2004
+ }));
2005
+ //#endregion
2006
+ //#region ../ui-library/src/primitives/icon-button.tsx
2007
+ J.displayName = "Button", r();
2008
+ var gt = q("inline-flex items-center justify-center rounded-md font-medium transition-colors cursor-pointer disabled:opacity-50 disabled:pointer-events-none", {
2009
+ variants: {
2010
+ variant: {
2011
+ primary: "bg-primary text-primary-foreground hover:bg-primary/90",
2012
+ secondary: "bg-surface text-foreground hover:bg-surface-hover",
2013
+ ghost: "hover:bg-surface-hover text-foreground-muted",
2014
+ danger: "bg-danger text-white hover:bg-danger/90",
2015
+ outline: "border border-border bg-transparent hover:bg-surface-hover"
2016
+ },
2017
+ size: {
2018
+ sm: "h-7 w-7",
2019
+ md: "h-8 w-8",
2020
+ lg: "h-9 w-9"
2021
+ }
2022
+ },
2023
+ defaultVariants: {
2024
+ variant: "primary",
2025
+ size: "sm"
2026
+ }
2027
+ }), _t = c(({ className: e, variant: t, size: n, icon: r, ...i }, a) => /* @__PURE__ */ d("button", {
2028
+ ref: a,
2029
+ className: W(gt({
2030
+ variant: t,
2031
+ size: n
2032
+ }), e),
2033
+ ...i,
2034
+ children: /* @__PURE__ */ d(r, { className: "h-4 w-4" })
2035
+ }));
2036
+ //#endregion
2037
+ //#region ../ui-library/src/primitives/badge.tsx
2038
+ _t.displayName = "IconButton", r();
2039
+ var vt = q("inline-flex items-center rounded-full text-xs font-medium px-2 py-0.5", {
2040
+ variants: {
2041
+ variant: {
2042
+ default: "bg-surface-hover text-foreground",
2043
+ success: "bg-success/15 text-success",
2044
+ warning: "bg-warning/15 text-warning",
2045
+ danger: "bg-danger/15 text-danger",
2046
+ info: "bg-info/15 text-info"
2047
+ },
2048
+ styleVariant: {
2049
+ solid: "",
2050
+ outline: "border bg-transparent"
2051
+ }
2052
+ },
2053
+ defaultVariants: {
2054
+ variant: "default",
2055
+ styleVariant: "solid"
2056
+ }
2057
+ }), yt = c(({ className: e, variant: t, style: n, ...r }, i) => /* @__PURE__ */ d("span", {
2058
+ ref: i,
2059
+ className: W(vt({
2060
+ variant: t,
2061
+ styleVariant: n
2062
+ }), e),
2063
+ ...r
2064
+ }));
2065
+ //#endregion
2066
+ //#region ../ui-library/src/primitives/card.tsx
2067
+ yt.displayName = "Badge", r();
2068
+ var bt = q("rounded-lg p-3", {
2069
+ variants: { variant: {
2070
+ flat: "bg-surface",
2071
+ bordered: "bg-surface border border-border"
2072
+ } },
2073
+ defaultVariants: { variant: "bordered" }
2074
+ }), xt = c(({ className: e, variant: t, ...n }, r) => /* @__PURE__ */ d("div", {
2075
+ ref: r,
2076
+ className: W(bt({ variant: t }), e),
2077
+ ...n
2078
+ }));
2079
+ //#endregion
2080
+ //#region ../ui-library/src/primitives/label.tsx
2081
+ xt.displayName = "Card", r();
2082
+ var St = c(({ className: e, ...t }, n) => /* @__PURE__ */ d("label", {
2083
+ ref: n,
2084
+ className: W("text-[10px] uppercase tracking-wider text-foreground-muted font-medium", e),
2085
+ ...t
2086
+ }));
2087
+ //#endregion
2088
+ //#region ../ui-library/src/primitives/separator.tsx
2089
+ St.displayName = "Label", r();
2090
+ var Ct = q("", {
2091
+ variants: { orientation: {
2092
+ horizontal: "h-px w-full bg-border-subtle",
2093
+ vertical: "w-px h-full bg-border-subtle"
2094
+ } },
2095
+ defaultVariants: { orientation: "horizontal" }
2096
+ }), wt = c(({ className: e, orientation: t, ...n }, r) => /* @__PURE__ */ d("div", {
2097
+ ref: r,
2098
+ role: "separator",
2099
+ className: W(Ct({ orientation: t }), e),
2100
+ ...n
2101
+ }));
2102
+ //#endregion
2103
+ //#region ../ui-library/src/primitives/skeleton.tsx
2104
+ wt.displayName = "Separator", r();
2105
+ var Tt = c(({ className: e, ...t }, n) => /* @__PURE__ */ d("div", {
2106
+ ref: n,
2107
+ className: W("animate-pulse bg-surface-hover rounded-md h-4 w-full", e),
2108
+ ...t
2109
+ }));
2110
+ //#endregion
2111
+ //#region ../ui-library/src/primitives/input.tsx
2112
+ Tt.displayName = "Skeleton", r();
2113
+ var Et = q("h-7 w-full px-2.5 text-xs bg-surface border rounded-md text-foreground placeholder:text-foreground-subtle focus:outline-none focus:ring-1 focus:ring-primary transition-colors", {
2114
+ variants: { state: {
2115
+ default: "border-border",
2116
+ error: "border-danger"
2117
+ } },
2118
+ defaultVariants: { state: "default" }
2119
+ }), Dt = c(({ className: e, state: t, leftSlot: n, rightSlot: r, ...i }, a) => n || r ? /* @__PURE__ */ f("div", {
2120
+ className: "relative flex items-center w-full",
2121
+ children: [
2122
+ n && /* @__PURE__ */ d("div", {
2123
+ className: "absolute left-2.5 flex items-center pointer-events-none",
2124
+ children: n
2125
+ }),
2126
+ /* @__PURE__ */ d("input", {
2127
+ ref: a,
2128
+ className: W(Et({ state: t }), n ? "pl-7" : "", r ? "pr-7" : "", e),
2129
+ ...i
2130
+ }),
2131
+ r && /* @__PURE__ */ d("div", {
2132
+ className: "absolute right-2.5 flex items-center pointer-events-none",
2133
+ children: r
2134
+ })
2135
+ ]
2136
+ }) : /* @__PURE__ */ d("input", {
2137
+ ref: a,
2138
+ className: W(Et({ state: t }), e),
2139
+ ...i
2140
+ }));
2141
+ //#endregion
2142
+ //#region ../ui-library/src/primitives/select.tsx
2143
+ Dt.displayName = "Input", r();
2144
+ var Ot = c(({ className: e, options: t, ...n }, r) => /* @__PURE__ */ f("div", {
2145
+ className: "relative w-full",
2146
+ children: [/* @__PURE__ */ d("select", {
2147
+ ref: r,
2148
+ className: W("h-7 w-full px-2.5 text-xs bg-surface border border-border rounded-md text-foreground appearance-none pr-7 focus:outline-none focus:ring-1 focus:ring-primary", e),
2149
+ ...n,
2150
+ children: t.map((e) => /* @__PURE__ */ d("option", {
2151
+ value: e.value,
2152
+ children: e.label
2153
+ }, e.value))
2154
+ }), /* @__PURE__ */ d("div", {
2155
+ className: "absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none text-foreground-muted",
2156
+ children: /* @__PURE__ */ d(ft, { className: "h-3.5 w-3.5" })
2157
+ })]
2158
+ }));
2159
+ //#endregion
2160
+ //#region ../ui-library/src/primitives/checkbox.tsx
2161
+ Ot.displayName = "Select", r();
2162
+ var kt = c(({ className: e, ...t }, n) => /* @__PURE__ */ d("input", {
2163
+ ref: n,
2164
+ type: "checkbox",
2165
+ className: W("w-3.5 h-3.5 rounded-sm border border-border accent-primary", e),
2166
+ ...t
2167
+ }));
2168
+ //#endregion
2169
+ //#region ../ui-library/src/primitives/switch.tsx
2170
+ kt.displayName = "Checkbox", r();
2171
+ var At = c(({ className: e, checked: t, onCheckedChange: n, label: r, ...i }, a) => /* @__PURE__ */ f("button", {
2172
+ ref: a,
2173
+ role: "switch",
2174
+ "aria-checked": t,
2175
+ type: "button",
2176
+ onClick: () => n(!t),
2177
+ className: W("inline-flex items-center gap-2", e),
2178
+ ...i,
2179
+ children: [/* @__PURE__ */ d("span", {
2180
+ className: W("w-8 h-4 rounded-full transition-colors", t ? "bg-primary" : "bg-surface-hover"),
2181
+ children: /* @__PURE__ */ d("span", { className: W("block w-3.5 h-3.5 rounded-full bg-white transition-transform", t ? "translate-x-4" : "translate-x-0.5") })
2182
+ }), r && /* @__PURE__ */ d("span", {
2183
+ className: "text-xs text-foreground",
2184
+ children: r
2185
+ })]
2186
+ }));
2187
+ //#endregion
2188
+ //#region ../ui-library/src/primitives/dialog.tsx
2189
+ At.displayName = "Switch", r();
2190
+ var jt = l(null);
2191
+ function Mt() {
2192
+ let e = t(jt);
2193
+ if (!e) throw Error("Dialog compound components must be used within <Dialog>");
2194
+ return e;
2195
+ }
2196
+ var Nt = q("bg-background-elevated border border-border rounded-lg p-4 backdrop:bg-black/50 backdrop:backdrop-blur-sm max-w-[calc(100vw-2rem)] max-h-[calc(100dvh-2rem)] overflow-y-auto", {
2197
+ variants: { width: {
2198
+ sm: "max-w-sm",
2199
+ md: "max-w-md",
2200
+ lg: "max-w-lg"
2201
+ } },
2202
+ defaultVariants: { width: "md" }
2203
+ }), Pt = c(({ className: e, width: t, children: n, ...r }, i) => {
2204
+ let { open: a, setOpen: o, contentId: c } = Mt(), l = u(null), f = i ?? l;
2205
+ return s(() => {
2206
+ let e = f.current;
2207
+ e && (a && !e.open && e.showModal(), !a && e.open && e.close());
2208
+ }, [a, f]), /* @__PURE__ */ d("dialog", {
2209
+ ref: f,
2210
+ id: c,
2211
+ className: W(Nt({ width: t }), "w-full", e),
2212
+ onClick: (e) => {
2213
+ e.target === e.currentTarget && o(!1);
2214
+ },
2215
+ onClose: () => o(!1),
2216
+ ...r,
2217
+ children: n
2218
+ });
2219
+ });
2220
+ //#endregion
2221
+ //#region ../ui-library/src/primitives/scroll-area.tsx
2222
+ Pt.displayName = "DialogContent", r(), p(), l(null), r(), l(null), r(), r(), r(), l(null), r(), l(null), r();
2223
+ var Ft = c(({ className: e, ...t }, n) => /* @__PURE__ */ d("div", {
2224
+ ref: n,
2225
+ className: W("overflow-auto [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:bg-surface-hover [&::-webkit-scrollbar-thumb]:rounded-full", e),
2226
+ ...t
2227
+ }));
2228
+ //#endregion
2229
+ //#region ../ui-library/src/composites/breadcrumb.tsx
2230
+ Ft.displayName = "ScrollArea", r(), r(), r();
2231
+ //#endregion
2232
+ //#region ../ui-library/src/composites/data-table.tsx
2233
+ var It = {
2234
+ left: "text-left",
2235
+ right: "text-right",
2236
+ center: "text-center"
2237
+ };
2238
+ function Lt({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480, emptyMessage: a, className: o, bordered: s = !0, rowClassName: c }) {
2239
+ return t.length === 0 && a ? /* @__PURE__ */ d("div", {
2240
+ className: `rounded-lg ${s ? "border border-border" : ""} bg-surface px-3 py-4 text-xs text-foreground-subtle text-center ${o ?? ""}`,
2241
+ children: a
2242
+ }) : t.length === 0 ? null : /* @__PURE__ */ d("div", {
2243
+ className: `rounded-lg ${s ? "border border-border" : ""} bg-surface overflow-x-auto ${o ?? ""}`,
2244
+ children: /* @__PURE__ */ f("table", {
2245
+ className: "w-full text-xs",
2246
+ style: { minWidth: `${i}px` },
2247
+ children: [/* @__PURE__ */ d("thead", {
2248
+ className: "bg-surface",
2249
+ children: /* @__PURE__ */ d("tr", { children: e.map((e) => {
2250
+ let t = e.align ?? "left", n = e.nowrap ?? !0;
2251
+ return /* @__PURE__ */ d("th", {
2252
+ className: [
2253
+ "px-3 py-2 text-foreground-subtle font-medium bg-surface border-b border-border",
2254
+ It[t],
2255
+ n ? "whitespace-nowrap" : "",
2256
+ e.width ?? ""
2257
+ ].filter(Boolean).join(" "),
2258
+ children: e.headerRender ? e.headerRender() : e.header
2259
+ }, e.key);
2260
+ }) })
2261
+ }), /* @__PURE__ */ d("tbody", { children: t.map((t, i) => {
2262
+ let a = n ? n(t, i) : i, o = c?.(t, i) ?? "", s = r !== void 0;
2263
+ return /* @__PURE__ */ d("tr", {
2264
+ onClick: s ? () => r(t, i) : void 0,
2265
+ className: [s ? "cursor-pointer hover:bg-primary/5" : "hover:bg-primary/5", o].filter(Boolean).join(" "),
2266
+ children: e.map((e) => {
2267
+ let n = e.align ?? "left", r = e.nowrap ?? !1;
2268
+ return /* @__PURE__ */ d("td", {
2269
+ className: [
2270
+ "px-3 py-2 text-foreground border-b border-border",
2271
+ It[n],
2272
+ r ? "whitespace-nowrap" : ""
2273
+ ].filter(Boolean).join(" "),
2274
+ children: e.render(t, i)
2275
+ }, e.key);
2276
+ })
2277
+ }, a);
2278
+ }) })]
2279
+ })
2280
+ });
2281
+ }
2282
+ //#endregion
2283
+ //#region ../ui-library/src/composites/pipeline-tree-matrix.tsx
2284
+ r(), r(), r(), r();
2285
+ //#endregion
2286
+ //#region ../ui-library/src/trpc-react.ts
2287
+ var Rt = typeof globalThis < "u" ? globalThis.__camstackTrpcReact : void 0, Y = Rt ?? m();
2288
+ //#endregion
2289
+ //#region ../ui-library/src/composites/version-badge.tsx
2290
+ typeof globalThis < "u" && !Rt && (globalThis.__camstackTrpcReact = Y), r(), G("camstack:system", null), r(), r(), r(), r();
2291
+ //#endregion
2292
+ //#region ../ui-library/src/composites/empty-state.tsx
2293
+ function zt({ icon: e, title: t, description: n, action: r, className: i }) {
2294
+ return /* @__PURE__ */ f("div", {
2295
+ className: W("flex flex-col items-center justify-center gap-3 py-12", i),
2296
+ children: [
2297
+ e && /* @__PURE__ */ d(e, {
2298
+ className: "h-12 w-12 text-foreground-subtle",
2299
+ "aria-hidden": "true"
2300
+ }),
2301
+ /* @__PURE__ */ f("div", {
2302
+ className: "flex flex-col items-center gap-1 text-center",
2303
+ children: [/* @__PURE__ */ d("p", {
2304
+ className: "text-foreground-muted text-sm font-medium",
2305
+ children: t
2306
+ }), n && /* @__PURE__ */ d("p", {
2307
+ className: "text-foreground-subtle text-xs max-w-xs",
2308
+ children: n
2309
+ })]
2310
+ }),
2311
+ r && /* @__PURE__ */ d("div", {
2312
+ className: "mt-1",
2313
+ children: r
2314
+ })
2315
+ ]
2316
+ });
2317
+ }
2318
+ //#endregion
2319
+ //#region ../ui-library/src/composites/detection-result-tree.tsx
2320
+ r(), G("camstack:confirm-dialog", null), r(), r(), r(), r(), r(), r(), p(), r(), Object.freeze([]), r(), p(), r(), r(), p(), r(), r(), r(), r(), r(), r(), r();
2321
+ //#endregion
2322
+ //#region ../../node_modules/superjson/dist/double-indexed-kv.js
2323
+ var Bt = class {
2324
+ constructor() {
2325
+ this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
2326
+ }
2327
+ set(e, t) {
2328
+ this.keyToValue.set(e, t), this.valueToKey.set(t, e);
2329
+ }
2330
+ getByKey(e) {
2331
+ return this.keyToValue.get(e);
2332
+ }
2333
+ getByValue(e) {
2334
+ return this.valueToKey.get(e);
2335
+ }
2336
+ clear() {
2337
+ this.keyToValue.clear(), this.valueToKey.clear();
2338
+ }
2339
+ }, Vt = class {
2340
+ constructor(e) {
2341
+ this.generateIdentifier = e, this.kv = new Bt();
2342
+ }
2343
+ register(e, t) {
2344
+ this.kv.getByValue(e) || (t ||= this.generateIdentifier(e), this.kv.set(t, e));
2345
+ }
2346
+ clear() {
2347
+ this.kv.clear();
2348
+ }
2349
+ getIdentifier(e) {
2350
+ return this.kv.getByValue(e);
2351
+ }
2352
+ getValue(e) {
2353
+ return this.kv.getByKey(e);
2354
+ }
2355
+ }, Ht = class extends Vt {
2356
+ constructor() {
2357
+ super((e) => e.name), this.classToAllowedProps = /* @__PURE__ */ new Map();
2358
+ }
2359
+ register(e, t) {
2360
+ typeof t == "object" ? (t.allowProps && this.classToAllowedProps.set(e, t.allowProps), super.register(e, t.identifier)) : super.register(e, t);
2361
+ }
2362
+ getAllowedProps(e) {
2363
+ return this.classToAllowedProps.get(e);
2364
+ }
2365
+ };
2366
+ //#endregion
2367
+ //#region ../../node_modules/superjson/dist/util.js
2368
+ function Ut(e) {
2369
+ if ("values" in Object) return Object.values(e);
2370
+ let t = [];
2371
+ for (let n in e) e.hasOwnProperty(n) && t.push(e[n]);
2372
+ return t;
2373
+ }
2374
+ function Wt(e, t) {
2375
+ let n = Ut(e);
2376
+ if ("find" in n) return n.find(t);
2377
+ let r = n;
2378
+ for (let e = 0; e < r.length; e++) {
2379
+ let n = r[e];
2380
+ if (t(n)) return n;
2381
+ }
2382
+ }
2383
+ function Gt(e, t) {
2384
+ Object.entries(e).forEach(([e, n]) => t(n, e));
2385
+ }
2386
+ function Kt(e, t) {
2387
+ return e.indexOf(t) !== -1;
2388
+ }
2389
+ function qt(e, t) {
2390
+ for (let n = 0; n < e.length; n++) {
2391
+ let r = e[n];
2392
+ if (t(r)) return r;
2393
+ }
2394
+ }
2395
+ //#endregion
2396
+ //#region ../../node_modules/superjson/dist/custom-transformer-registry.js
2397
+ var Jt = class {
2398
+ constructor() {
2399
+ this.transfomers = {};
2400
+ }
2401
+ register(e) {
2402
+ this.transfomers[e.name] = e;
2403
+ }
2404
+ findApplicable(e) {
2405
+ return Wt(this.transfomers, (t) => t.isApplicable(e));
2406
+ }
2407
+ findByName(e) {
2408
+ return this.transfomers[e];
2409
+ }
2410
+ }, Yt = (e) => Object.prototype.toString.call(e).slice(8, -1), Xt = (e) => e === void 0, Zt = (e) => e === null, Qt = (e) => typeof e != "object" || !e || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, $t = (e) => Qt(e) && Object.keys(e).length === 0, X = (e) => Array.isArray(e), en = (e) => typeof e == "string", tn = (e) => typeof e == "number" && !isNaN(e), nn = (e) => typeof e == "boolean", rn = (e) => e instanceof RegExp, an = (e) => e instanceof Map, on = (e) => e instanceof Set, sn = (e) => Yt(e) === "Symbol", cn = (e) => e instanceof Date && !isNaN(e.valueOf()), ln = (e) => e instanceof Error, un = (e) => typeof e == "number" && isNaN(e), dn = (e) => nn(e) || Zt(e) || Xt(e) || tn(e) || en(e) || sn(e), fn = (e) => typeof e == "bigint", pn = (e) => e === Infinity || e === -Infinity, mn = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), hn = (e) => e instanceof URL, gn = (e) => e.replace(/\\/g, "\\\\").replace(/\./g, "\\."), _n = (e) => e.map(String).map(gn).join("."), vn = (e, t) => {
2411
+ let n = [], r = "";
2412
+ for (let i = 0; i < e.length; i++) {
2413
+ let a = e.charAt(i);
2414
+ if (!t && a === "\\") {
2415
+ let t = e.charAt(i + 1);
2416
+ if (t === "\\") {
2417
+ r += "\\", i++;
2418
+ continue;
2419
+ } else if (t !== ".") throw Error("invalid path");
2420
+ }
2421
+ if (a === "\\" && e.charAt(i + 1) === ".") {
2422
+ r += ".", i++;
2423
+ continue;
2424
+ }
2425
+ if (a === ".") {
2426
+ n.push(r), r = "";
2427
+ continue;
2428
+ }
2429
+ r += a;
2430
+ }
2431
+ let i = r;
2432
+ return n.push(i), n;
2433
+ };
2434
+ //#endregion
2435
+ //#region ../../node_modules/superjson/dist/transformer.js
2436
+ function Z(e, t, n, r) {
2437
+ return {
2438
+ isApplicable: e,
2439
+ annotation: t,
2440
+ transform: n,
2441
+ untransform: r
2442
+ };
2443
+ }
2444
+ var yn = [
2445
+ Z(Xt, "undefined", () => null, () => void 0),
2446
+ Z(fn, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
2447
+ Z(cn, "Date", (e) => e.toISOString(), (e) => new Date(e)),
2448
+ Z(ln, "Error", (e, t) => {
2449
+ let n = {
2450
+ name: e.name,
2451
+ message: e.message
2452
+ };
2453
+ return "cause" in e && (n.cause = e.cause), t.allowedErrorProps.forEach((t) => {
2454
+ n[t] = e[t];
2455
+ }), n;
2456
+ }, (e, t) => {
2457
+ let n = Error(e.message, { cause: e.cause });
2458
+ return n.name = e.name, n.stack = e.stack, t.allowedErrorProps.forEach((t) => {
2459
+ n[t] = e[t];
2460
+ }), n;
2461
+ }),
2462
+ Z(rn, "regexp", (e) => "" + e, (e) => {
2463
+ let t = e.slice(1, e.lastIndexOf("/")), n = e.slice(e.lastIndexOf("/") + 1);
2464
+ return new RegExp(t, n);
2465
+ }),
2466
+ Z(on, "set", (e) => [...e.values()], (e) => new Set(e)),
2467
+ Z(an, "map", (e) => [...e.entries()], (e) => new Map(e)),
2468
+ Z((e) => un(e) || pn(e), "number", (e) => un(e) ? "NaN" : e > 0 ? "Infinity" : "-Infinity", Number),
2469
+ Z((e) => e === 0 && 1 / e == -Infinity, "number", () => "-0", Number),
2470
+ Z(hn, "URL", (e) => e.toString(), (e) => new URL(e))
2471
+ ];
2472
+ function bn(e, t, n, r) {
2473
+ return {
2474
+ isApplicable: e,
2475
+ annotation: t,
2476
+ transform: n,
2477
+ untransform: r
2478
+ };
2479
+ }
2480
+ var xn = bn((e, t) => sn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
2481
+ let r = n.symbolRegistry.getValue(t[1]);
2482
+ if (!r) throw Error("Trying to deserialize unknown symbol");
2483
+ return r;
2484
+ }), Sn = [
2485
+ Int8Array,
2486
+ Uint8Array,
2487
+ Int16Array,
2488
+ Uint16Array,
2489
+ Int32Array,
2490
+ Uint32Array,
2491
+ Float32Array,
2492
+ Float64Array,
2493
+ Uint8ClampedArray
2494
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Cn = bn(mn, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
2495
+ let n = Sn[t[1]];
2496
+ if (!n) throw Error("Trying to deserialize unknown typed array");
2497
+ return new n(e);
2498
+ });
2499
+ function wn(e, t) {
2500
+ return e?.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
2501
+ }
2502
+ var Tn = bn(wn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
2503
+ let n = t.classRegistry.getAllowedProps(e.constructor);
2504
+ if (!n) return { ...e };
2505
+ let r = {};
2506
+ return n.forEach((t) => {
2507
+ r[t] = e[t];
2508
+ }), r;
2509
+ }, (e, t, n) => {
2510
+ let r = n.classRegistry.getValue(t[1]);
2511
+ if (!r) throw Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);
2512
+ return Object.assign(Object.create(r.prototype), e);
2513
+ }), En = bn((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
2514
+ let r = n.customTransformerRegistry.findByName(t[1]);
2515
+ if (!r) throw Error("Trying to deserialize unknown custom value");
2516
+ return r.deserialize(e);
2517
+ }), Dn = [
2518
+ Tn,
2519
+ xn,
2520
+ En,
2521
+ Cn
2522
+ ], On = (e, t) => {
2523
+ let n = qt(Dn, (n) => n.isApplicable(e, t));
2524
+ if (n) return {
2525
+ value: n.transform(e, t),
2526
+ type: n.annotation(e, t)
2527
+ };
2528
+ let r = qt(yn, (n) => n.isApplicable(e, t));
2529
+ if (r) return {
2530
+ value: r.transform(e, t),
2531
+ type: r.annotation
2532
+ };
2533
+ }, kn = {};
2534
+ yn.forEach((e) => {
2535
+ kn[e.annotation] = e;
2536
+ });
2537
+ var An = (e, t, n) => {
2538
+ if (X(t)) switch (t[0]) {
2539
+ case "symbol": return xn.untransform(e, t, n);
2540
+ case "class": return Tn.untransform(e, t, n);
2541
+ case "custom": return En.untransform(e, t, n);
2542
+ case "typed-array": return Cn.untransform(e, t, n);
2543
+ default: throw Error("Unknown transformation: " + t);
2544
+ }
2545
+ else {
2546
+ let r = kn[t];
2547
+ if (!r) throw Error("Unknown transformation: " + t);
2548
+ return r.untransform(e, n);
2549
+ }
2550
+ }, jn = (e, t) => {
2551
+ if (t > e.size) throw Error("index out of bounds");
2552
+ let n = e.keys();
2553
+ for (; t > 0;) n.next(), t--;
2554
+ return n.next().value;
2555
+ };
2556
+ function Mn(e) {
2557
+ if (Kt(e, "__proto__")) throw Error("__proto__ is not allowed as a property");
2558
+ if (Kt(e, "prototype")) throw Error("prototype is not allowed as a property");
2559
+ if (Kt(e, "constructor")) throw Error("constructor is not allowed as a property");
2560
+ }
2561
+ var Nn = (e, t) => {
2562
+ Mn(t);
2563
+ for (let n = 0; n < t.length; n++) {
2564
+ let r = t[n];
2565
+ if (on(e)) e = jn(e, +r);
2566
+ else if (an(e)) {
2567
+ let i = +r, a = +t[++n] == 0 ? "key" : "value", o = jn(e, i);
2568
+ switch (a) {
2569
+ case "key":
2570
+ e = o;
2571
+ break;
2572
+ case "value":
2573
+ e = e.get(o);
2574
+ break;
2575
+ }
2576
+ } else e = e[r];
2577
+ }
2578
+ return e;
2579
+ }, Pn = (e, t, n) => {
2580
+ if (Mn(t), t.length === 0) return n(e);
2581
+ let r = e;
2582
+ for (let e = 0; e < t.length - 1; e++) {
2583
+ let n = t[e];
2584
+ if (X(r)) {
2585
+ let e = +n;
2586
+ r = r[e];
2587
+ } else if (Qt(r)) r = r[n];
2588
+ else if (on(r)) {
2589
+ let e = +n;
2590
+ r = jn(r, e);
2591
+ } else if (an(r)) {
2592
+ if (e === t.length - 2) break;
2593
+ let i = +n, a = +t[++e] == 0 ? "key" : "value", o = jn(r, i);
2594
+ switch (a) {
2595
+ case "key":
2596
+ r = o;
2597
+ break;
2598
+ case "value":
2599
+ r = r.get(o);
2600
+ break;
2601
+ }
2602
+ }
2603
+ }
2604
+ let i = t[t.length - 1];
2605
+ if (X(r) ? r[+i] = n(r[+i]) : Qt(r) && (r[i] = n(r[i])), on(r)) {
2606
+ let e = jn(r, +i), t = n(e);
2607
+ e !== t && (r.delete(e), r.add(t));
2608
+ }
2609
+ if (an(r)) {
2610
+ let e = +t[t.length - 2], a = jn(r, e);
2611
+ switch (+i == 0 ? "key" : "value") {
2612
+ case "key": {
2613
+ let e = n(a);
2614
+ r.set(e, r.get(a)), e !== a && r.delete(a);
2615
+ break;
2616
+ }
2617
+ case "value":
2618
+ r.set(a, n(r.get(a)));
2619
+ break;
2620
+ }
2621
+ }
2622
+ return e;
2623
+ }, Fn = (e) => e < 1;
2624
+ function In(e, t, n, r = []) {
2625
+ if (!e) return;
2626
+ let i = Fn(n);
2627
+ if (!X(e)) {
2628
+ Gt(e, (e, a) => In(e, t, n, [...r, ...vn(a, i)]));
2629
+ return;
2630
+ }
2631
+ let [a, o] = e;
2632
+ o && Gt(o, (e, a) => {
2633
+ In(e, t, n, [...r, ...vn(a, i)]);
2634
+ }), t(a, r);
2635
+ }
2636
+ function Ln(e, t, n, r) {
2637
+ return In(t, (t, n) => {
2638
+ e = Pn(e, n, (e) => An(e, t, r));
2639
+ }, n), e;
2640
+ }
2641
+ function Rn(e, t, n) {
2642
+ let r = Fn(n);
2643
+ function i(t, n) {
2644
+ let i = Nn(e, vn(n, r));
2645
+ t.map((e) => vn(e, r)).forEach((t) => {
2646
+ e = Pn(e, t, () => i);
2647
+ });
2648
+ }
2649
+ if (X(t)) {
2650
+ let [n, a] = t;
2651
+ n.forEach((t) => {
2652
+ e = Pn(e, vn(t, r), () => e);
2653
+ }), a && Gt(a, i);
2654
+ } else Gt(t, i);
2655
+ return e;
2656
+ }
2657
+ var zn = (e, t) => Qt(e) || X(e) || an(e) || on(e) || ln(e) || wn(e, t);
2658
+ function Bn(e, t, n) {
2659
+ let r = n.get(e);
2660
+ r ? r.push(t) : n.set(e, [t]);
2661
+ }
2662
+ function Vn(e, t) {
2663
+ let n = {}, r;
2664
+ return e.forEach((e) => {
2665
+ if (e.length <= 1) return;
2666
+ t || (e = e.map((e) => e.map(String)).sort((e, t) => e.length - t.length));
2667
+ let [i, ...a] = e;
2668
+ i.length === 0 ? r = a.map(_n) : n[_n(i)] = a.map(_n);
2669
+ }), r ? $t(n) ? [r] : [r, n] : $t(n) ? void 0 : n;
2670
+ }
2671
+ var Hn = (e, t, n, r, i = [], a = [], o = /* @__PURE__ */ new Map()) => {
2672
+ let s = dn(e);
2673
+ if (!s) {
2674
+ Bn(e, i, t);
2675
+ let n = o.get(e);
2676
+ if (n) return r ? { transformedValue: null } : n;
2677
+ }
2678
+ if (!zn(e, n)) {
2679
+ let t = On(e, n), r = t ? {
2680
+ transformedValue: t.value,
2681
+ annotations: [t.type]
2682
+ } : { transformedValue: e };
2683
+ return s || o.set(e, r), r;
2684
+ }
2685
+ if (Kt(a, e)) return { transformedValue: null };
2686
+ let c = On(e, n), l = c?.value ?? e, u = X(l) ? [] : {}, d = {};
2687
+ Gt(l, (s, c) => {
2688
+ if (c === "__proto__" || c === "constructor" || c === "prototype") throw Error(`Detected property ${c}. This is a prototype pollution risk, please remove it from your object.`);
2689
+ let l = Hn(s, t, n, r, [...i, c], [...a, e], o);
2690
+ u[c] = l.transformedValue, X(l.annotations) ? d[gn(c)] = l.annotations : Qt(l.annotations) && Gt(l.annotations, (e, t) => {
2691
+ d[gn(c) + "." + t] = e;
2692
+ });
2693
+ });
2694
+ let f = $t(d) ? {
2695
+ transformedValue: u,
2696
+ annotations: c ? [c.type] : void 0
2697
+ } : {
2698
+ transformedValue: u,
2699
+ annotations: c ? [c.type, d] : d
2700
+ };
2701
+ return s || o.set(e, f), f;
2702
+ };
2703
+ //#endregion
2704
+ //#region ../../node_modules/is-what/dist/getType.js
2705
+ function Un(e) {
2706
+ return Object.prototype.toString.call(e).slice(8, -1);
2707
+ }
2708
+ //#endregion
2709
+ //#region ../../node_modules/is-what/dist/isArray.js
2710
+ function Wn(e) {
2711
+ return Un(e) === "Array";
2712
+ }
2713
+ //#endregion
2714
+ //#region ../../node_modules/is-what/dist/isPlainObject.js
2715
+ function Gn(e) {
2716
+ if (Un(e) !== "Object") return !1;
2717
+ let t = Object.getPrototypeOf(e);
2718
+ return !!t && t.constructor === Object && t === Object.prototype;
2719
+ }
2720
+ //#endregion
2721
+ //#region ../../node_modules/copy-anything/dist/index.js
2722
+ function Kn(e, t, n, r, i) {
2723
+ let a = {}.propertyIsEnumerable.call(r, t) ? "enumerable" : "nonenumerable";
2724
+ a === "enumerable" && (e[t] = n), i && a === "nonenumerable" && Object.defineProperty(e, t, {
2725
+ value: n,
2726
+ enumerable: !1,
2727
+ writable: !0,
2728
+ configurable: !0
2729
+ });
2730
+ }
2731
+ function qn(e, t = {}) {
2732
+ if (Wn(e)) return e.map((e) => qn(e, t));
2733
+ if (!Gn(e)) return e;
2734
+ let n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
2735
+ return [...n, ...r].reduce((n, r) => {
2736
+ if (r === "__proto__" || Wn(t.props) && !t.props.includes(r)) return n;
2737
+ let i = e[r];
2738
+ return Kn(n, r, qn(i, t), e, t.nonenumerable), n;
2739
+ }, {});
2740
+ }
2741
+ //#endregion
2742
+ //#region ../../node_modules/superjson/dist/index.js
2743
+ var Q = class {
2744
+ constructor({ dedupe: e = !1 } = {}) {
2745
+ this.classRegistry = new Ht(), this.symbolRegistry = new Vt((e) => e.description ?? ""), this.customTransformerRegistry = new Jt(), this.allowedErrorProps = [], this.dedupe = e;
2746
+ }
2747
+ serialize(e) {
2748
+ let t = /* @__PURE__ */ new Map(), n = Hn(e, t, this, this.dedupe), r = { json: n.transformedValue };
2749
+ n.annotations && (r.meta = {
2750
+ ...r.meta,
2751
+ values: n.annotations
2752
+ });
2753
+ let i = Vn(t, this.dedupe);
2754
+ return i && (r.meta = {
2755
+ ...r.meta,
2756
+ referentialEqualities: i
2757
+ }), r.meta && (r.meta.v = 1), r;
2758
+ }
2759
+ deserialize(e, t) {
2760
+ let { json: n, meta: r } = e, i = t?.inPlace ? n : qn(n);
2761
+ return r?.values && (i = Ln(i, r.values, r.v ?? 0, this)), r?.referentialEqualities && (i = Rn(i, r.referentialEqualities, r.v ?? 0)), i;
2762
+ }
2763
+ stringify(e) {
2764
+ return JSON.stringify(this.serialize(e));
2765
+ }
2766
+ parse(e) {
2767
+ return this.deserialize(JSON.parse(e), { inPlace: !0 });
2768
+ }
2769
+ registerClass(e, t) {
2770
+ this.classRegistry.register(e, t);
2771
+ }
2772
+ registerSymbol(e, t) {
2773
+ this.symbolRegistry.register(e, t);
2774
+ }
2775
+ registerCustom(e, t) {
2776
+ this.customTransformerRegistry.register({
2777
+ name: t,
2778
+ ...e
2779
+ });
2780
+ }
2781
+ allowErrorProps(...e) {
2782
+ this.allowedErrorProps.push(...e);
2783
+ }
2784
+ };
2785
+ Q.defaultInstance = new Q(), Q.serialize = Q.defaultInstance.serialize.bind(Q.defaultInstance), Q.deserialize = Q.defaultInstance.deserialize.bind(Q.defaultInstance), Q.stringify = Q.defaultInstance.stringify.bind(Q.defaultInstance), Q.parse = Q.defaultInstance.parse.bind(Q.defaultInstance), Q.registerClass = Q.defaultInstance.registerClass.bind(Q.defaultInstance), Q.registerSymbol = Q.defaultInstance.registerSymbol.bind(Q.defaultInstance), Q.registerCustom = Q.defaultInstance.registerCustom.bind(Q.defaultInstance), Q.allowErrorProps = Q.defaultInstance.allowErrorProps.bind(Q.defaultInstance), Q.serialize, Q.deserialize, Q.stringify, Q.parse, Q.registerClass, Q.registerCustom, Q.registerSymbol, Q.allowErrorProps, r(), r(), l(null), r(), r(), G("camstack:custom-field-renderers", {}), r(), G("camstack:device-context", null), Y.accessories.getStatus.useQuery, Y.addonPages.listPages.useQuery, Y.addons.list.useQuery, Y.addons.getLogs.useQuery, Y.addons.listPackages.useQuery, Y.addons.installPackage.useMutation, Y.addons.installFromWorkspace.useMutation, Y.addons.isWorkspaceAvailable.useQuery, Y.addons.listWorkspacePackages.useQuery, Y.addons.uninstallPackage.useMutation, Y.addons.reloadPackages.useMutation, Y.addons.searchAvailable.useQuery, Y.addons.listUpdates.useQuery, Y.addons.updatePackage.useMutation, Y.addons.rollbackPackage.useMutation, Y.addons.forceRefresh.useMutation, Y.addons.restartServer.useMutation, Y.addons.getVersions.useQuery, Y.addons.restartAddon.useMutation, Y.addons.retryLoad.useMutation, Y.addons.getAutoUpdateSettings.useQuery, Y.addons.setAutoUpdateSettings.useMutation, Y.addons.getAddonAutoUpdate.useQuery, Y.addons.setAddonAutoUpdate.useMutation, Y.addons.applyAutoUpdateToAll.useMutation, Y.addons.custom.useMutation, Y.addons.onAddonLogs.useSubscription, Y.addonSettings.getGlobalSettings.useQuery, Y.addonSettings.updateGlobalSettings.useMutation, Y.addonSettings.getDeviceSettings.useQuery, Y.addonSettings.updateDeviceSettings.useMutation, Y.addonWidgets.listWidgets.useQuery, Y.alerts.emit.useMutation, Y.alerts.update.useMutation, Y.alerts.list.useQuery, Y.alerts.getUnreadCount.useQuery, Y.alerts.markRead.useMutation, Y.alerts.markAllRead.useMutation, Y.alerts.dismiss.useMutation, Y.audioAnalysis.resolveDeviceSettings.useQuery, Y.audioAnalysis.getDeviceSettingsContribution.useQuery, Y.audioAnalysis.getDeviceLiveContribution.useQuery, Y.audioAnalysis.applyDeviceSettingsPatch.useMutation, Y.audioAnalyzer.analyseChunk.useMutation, Y.audioAnalyzer.classify.useQuery, Y.audioAnalyzer.isReady.useQuery, Y.audioAnalyzer.dispose.useMutation, Y.audioAnalyzer.reprobeAudioEngine.useMutation, Y.audioCodec.listSupportedCodecs.useQuery, Y.audioCodec.canHandle.useQuery, Y.audioCodec.createDecodeSession.useMutation, Y.audioCodec.createEncodeSession.useMutation, Y.audioCodec.closeSession.useMutation, Y.audioCodec.pushEncodedFrame.useMutation, Y.audioCodec.pullPcm.useQuery, Y.audioCodec.pushPcm.useMutation, Y.audioCodec.pullEncoded.useQuery, Y.audioCodec.flushEncode.useMutation, Y.audioCodec.listActiveSessions.useQuery, Y.audioMetrics.getCurrentSnapshot.useQuery, Y.audioMetrics.getHistory.useQuery, Y.authentication.listProviders.useQuery, Y.authentication.setProviderEnabled.useMutation, Y.backup.listDestinations.useQuery, Y.backup.trigger.useMutation, Y.backup.list.useQuery, Y.backup.listLocations.useQuery, Y.backup.getEntries.useQuery, Y.backup.restore.useMutation, Y.backup.delete.useMutation, Y.backup.listArchives.useQuery, Y.backup.upsertDestinationPolicy.useMutation, Y.backup.previewSchedule.useQuery, Y.battery.getStatus.useQuery, Y.brightness.setBrightness.useMutation, Y.brightness.getStatus.useQuery, Y.cameraCredentials.getCredentials.useQuery, Y.cameraCredentials.getStatus.useQuery, Y.cameraStreams.getCameraStreams.useQuery, Y.cameraStreams.getBrokerStreams.useQuery, Y.cameraStreams.getRtspEntries.useQuery, Y.decoder.supportsCodec.useQuery, Y.decoder.getInfo.useQuery, Y.decoder.createSession.useQuery, Y.decoder.destroySession.useQuery, Y.decoder.pushPacket.useQuery, Y.decoder.openStream.useQuery, Y.decoder.pullFrames.useQuery, Y.decoder.updateConfig.useQuery, Y.decoder.getStats.useQuery, Y.decoder.listActiveSessions.useQuery, Y.decoder.reprobeHwaccel.useMutation, Y.detectionPipeline.getDeviceSettingsContribution.useQuery, Y.detectionPipeline.getDeviceLiveContribution.useQuery, Y.detectionPipeline.applyDeviceSettingsPatch.useMutation, Y.deviceDiscovery.listDiscovered.useQuery, Y.deviceDiscovery.refreshDiscovery.useMutation, Y.deviceDiscovery.adoptDevice.useMutation, Y.deviceDiscovery.releaseDevice.useMutation, Y.deviceDiscovery.getStatus.useQuery, Y.deviceExport.getStatus.useQuery, Y.deviceExport.listSupportedDeviceKinds.useQuery, Y.deviceExport.listExposedDevices.useQuery, Y.deviceExport.exposeDevice.useMutation, Y.deviceExport.unexposeDevice.useMutation, Y.deviceExport.getDeviceSettingsContribution.useQuery, Y.deviceExport.getDeviceLiveContribution.useQuery, Y.deviceExport.applyDeviceSettingsPatch.useMutation, Y.deviceManager.allocateDeviceId.useMutation, Y.deviceManager.registerDevice.useMutation, Y.deviceManager.removeDevice.useMutation, Y.deviceManager.persistConfig.useMutation, Y.deviceManager.loadConfig.useQuery, Y.deviceManager.loadRuntimeState.useQuery, Y.deviceManager.loadMeta.useQuery, Y.deviceManager.setName.useMutation, Y.deviceManager.setLocation.useMutation, Y.deviceManager.setMetadata.useMutation, Y.deviceManager.listLocations.useQuery, Y.deviceManager.addLocation.useMutation, Y.deviceManager.removeLocation.useMutation, Y.deviceManager.setDisabled.useMutation, Y.deviceManager.listPersistedByAddon.useQuery, Y.deviceManager.listAll.useQuery, Y.deviceManager.getDevice.useQuery, Y.deviceManager.getChildren.useQuery, Y.deviceManager.getStreamSources.useQuery, Y.deviceManager.getConfigSchema.useQuery, Y.deviceManager.getSettingsSchema.useQuery, Y.deviceManager.updateConfig.useMutation, Y.deviceManager.enable.useMutation, Y.deviceManager.disable.useMutation, Y.deviceManager.remove.useMutation, Y.deviceManager.getStreamProfileMap.useQuery, Y.deviceManager.setStreamProfileMap.useMutation, Y.deviceManager.probeStreams.useMutation, Y.deviceManager.getBindings.useQuery, Y.deviceManager.getAllBindings.useQuery, Y.deviceManager.setWrapperActive.useMutation, Y.deviceManager.listWrappersForCap.useQuery, Y.deviceManager.listBindableCapsForDeviceType.useQuery, Y.deviceManager.getDeviceSettingsAggregate.useQuery, Y.deviceManager.getDeviceLiveInfoAggregate.useQuery, Y.deviceManager.getDeviceAggregate.useQuery, Y.deviceManager.updateDeviceField.useMutation, Y.deviceManager.updateDeviceFieldsBatch.useMutation, Y.deviceManager.discoverDevices.useMutation, Y.deviceManager.adoptDevice.useMutation, Y.deviceManager.getCreationSchema.useQuery, Y.deviceManager.createDevice.useMutation, Y.deviceManager.testCreationField.useMutation, Y.deviceManager.testField.useMutation, Y.deviceManager.getDeviceStatusAggregate.useQuery, Y.deviceOps.getStreamSources.useQuery, Y.deviceOps.getConfigEntries.useQuery, Y.deviceOps.setConfig.useMutation, Y.deviceOps.removeDevice.useMutation, Y.deviceOps.getSettingsSchema.useQuery, Y.deviceProvider.start.useMutation, Y.deviceProvider.stop.useMutation, Y.deviceProvider.getStatus.useQuery, Y.deviceProvider.getDevices.useQuery, Y.deviceProvider.supportsDiscovery.useQuery, Y.deviceProvider.discoverDevices.useMutation, Y.deviceProvider.adoptDiscoveredDevice.useMutation, Y.deviceProvider.supportsManualCreation.useQuery, Y.deviceProvider.getChildCreationSchema.useQuery, Y.deviceProvider.createDevice.useMutation, Y.deviceProvider.testCreationField.useMutation, Y.deviceState.getSnapshot.useQuery, Y.deviceState.getCapSlice.useQuery, Y.deviceState.getAllSnapshots.useQuery, Y.deviceState.setCapSlice.useMutation, Y.deviceStatus.getStatus.useQuery, Y.doorbell.getStatus.useQuery, Y.events.getEvents.useQuery, Y.events.getEventThumbnail.useQuery, Y.events.getEventClipUrl.useQuery, Y.featureProbe.getStatus.useQuery, Y.integrations.list.useQuery, Y.integrations.get.useQuery, Y.integrations.getByAddonId.useQuery, Y.integrations.create.useMutation, Y.integrations.update.useMutation, Y.integrations.delete.useMutation, Y.integrations.getSettings.useQuery, Y.integrations.setSettings.useMutation, Y.integrations.getAvailableTypes.useQuery, Y.integrations.testConnection.useMutation, Y.intercom.startSession.useMutation, Y.intercom.handleAnswer.useMutation, Y.intercom.stopSession.useMutation, Y.intercom.startTalkSession.useMutation, Y.intercom.pushTalkPcm.useMutation, Y.intercom.endTalkSession.useMutation, Y.intercom.getStatus.useQuery, Y.localNetwork.list.useQuery, Y.localNetwork.getPreferred.useQuery, Y.localNetwork.getConnectionEndpoints.useQuery, Y.localNetwork.getAllowedAddresses.useQuery, Y.localNetwork.setAllowedAddresses.useMutation, Y.localNetwork.resetAllowlistToBestMatch.useMutation, Y.meshNetwork.getStatus.useQuery, Y.meshNetwork.join.useMutation, Y.meshNetwork.startLogin.useMutation, Y.meshNetwork.leave.useMutation, Y.meshNetwork.listPeers.useQuery, Y.meshNetwork.testConnection.useMutation, Y.meshOrchestrator.listProviders.useQuery, Y.meshOrchestrator.joinProvider.useMutation, Y.meshOrchestrator.leaveProvider.useMutation, Y.metricsProvider.collectSnapshot.useQuery, Y.metricsProvider.getCached.useQuery, Y.metricsProvider.getCurrent.useQuery, Y.metricsProvider.getDiskSpace.useQuery, Y.metricsProvider.getGpuInfo.useQuery, Y.metricsProvider.getCpuTemperature.useQuery, Y.metricsProvider.getProcessStats.useQuery, Y.metricsProvider.listAddonInstances.useQuery, Y.metricsProvider.getAddonStats.useQuery, Y.metricsProvider.listNodeProcesses.useQuery, Y.metricsProvider.killProcess.useMutation, Y.motion.isDetected.useQuery, Y.motion.getStatus.useQuery, Y.motionDetection.analyze.useMutation, Y.motionDetection.removeCamera.useMutation, Y.motionDetection.reset.useMutation, Y.motionDetection.getDeviceSettingsContribution.useQuery, Y.motionDetection.getDeviceLiveContribution.useQuery, Y.motionDetection.applyDeviceSettingsPatch.useMutation, Y.motionTrigger.setMotionTrigger.useMutation, Y.motionTrigger.getStatus.useQuery, Y.mqttBroker.listBrokers.useQuery, Y.mqttBroker.getBrokerConfig.useQuery, Y.mqttBroker.addBroker.useMutation, Y.mqttBroker.removeBroker.useMutation, Y.mqttBroker.testConnection.useMutation, Y.mqttBroker.startEmbeddedBroker.useMutation, Y.mqttBroker.stopEmbeddedBroker.useMutation, Y.mqttBroker.getStatus.useQuery, Y.nativeObjectDetection.getStatus.useQuery, Y.networkQuality.getDeviceStats.useQuery, Y.networkQuality.getAllStats.useQuery, Y.networkQuality.reportClientStats.useMutation, Y.nodes.topology.useQuery, Y.nodes.deployAddon.useMutation, Y.nodes.undeployAddon.useMutation, Y.nodes.restartAddon.useMutation, Y.nodes.restartProcess.useMutation, Y.nodes.restartNode.useMutation, Y.nodes.shutdownNode.useMutation, Y.nodes.renameNode.useMutation, Y.nodes.clusterAddonStatus.useQuery, Y.nodes.setProcessLogLevel.useMutation, Y.nodes.executeQuery.useMutation, Y.notificationOutput.send.useMutation, Y.notificationOutput.sendTest.useMutation, Y.osd.setOverlay.useMutation, Y.osd.getStatus.useQuery, Y.pipelineAnalytics.getActiveTracks.useQuery, Y.pipelineAnalytics.getTrack.useQuery, Y.pipelineAnalytics.listTracks.useQuery, Y.pipelineAnalytics.clearTracks.useMutation, Y.pipelineAnalytics.getMotionEvents.useQuery, Y.pipelineAnalytics.getObjectEvents.useQuery, Y.pipelineAnalytics.getAudioEvents.useQuery, Y.pipelineAnalytics.getEventMedia.useQuery, Y.pipelineAnalytics.getTrackMedia.useQuery, Y.pipelineAnalytics.getDeviceSettingsContribution.useQuery, Y.pipelineAnalytics.getDeviceLiveContribution.useQuery, Y.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, Y.pipelineExecutor.getAvailableEngines.useQuery, Y.pipelineExecutor.getSelectedEngine.useQuery, Y.pipelineExecutor.getDefaultSteps.useQuery, Y.pipelineExecutor.reprobeEngine.useMutation, Y.pipelineExecutor.getVideoPipelineSteps.useQuery, Y.pipelineExecutor.setVideoPipelineSteps.useMutation, Y.pipelineExecutor.getSchema.useQuery, Y.pipelineExecutor.getGlobalSteps.useQuery, Y.pipelineExecutor.getGlobalPipelineConfig.useQuery, Y.pipelineExecutor.getOrchestratorConfigSchema.useQuery, Y.pipelineExecutor.listTemplates.useQuery, Y.pipelineExecutor.saveTemplate.useMutation, Y.pipelineExecutor.updateTemplate.useMutation, Y.pipelineExecutor.deleteTemplate.useMutation, Y.pipelineExecutor.getCapabilities.useQuery, Y.pipelineExecutor.getAddonModels.useQuery, Y.pipelineExecutor.downloadModel.useMutation, Y.pipelineExecutor.deleteModel.useMutation, Y.pipelineExecutor.detect.useQuery, Y.pipelineExecutor.runPipeline.useMutation, Y.pipelineExecutor.runPipelineBatch.useMutation, Y.pipelineExecutor.cacheFrameInPool.useMutation, Y.pipelineExecutor.inferCached.useMutation, Y.pipelineExecutor.uncacheFrame.useMutation, Y.pipelineExecutor.getEffectiveTuning.useQuery, Y.pipelineExecutor.listLoadedEngines.useQuery, Y.pipelineExecutor.spinEngine.useMutation, Y.pipelineExecutor.killEngine.useMutation, Y.pipelineExecutor.listReferenceImages.useQuery, Y.pipelineExecutor.getReferenceImage.useQuery, Y.pipelineExecutor.getReferenceAudioFiles.useQuery, Y.pipelineExecutor.getReferenceAudio.useQuery, Y.pipelineExecutor.getAudioCapabilities.useQuery, Y.pipelineExecutor.runAudioTest.useMutation, Y.pipelineExecutor.getDetectionConfigSchema.useQuery, Y.pipelineOrchestrator.assignPipeline.useMutation, Y.pipelineOrchestrator.unassignPipeline.useMutation, Y.pipelineOrchestrator.rebalance.useMutation, Y.pipelineOrchestrator.getPipelineAssignments.useQuery, Y.pipelineOrchestrator.getPipelineAssignment.useQuery, Y.pipelineOrchestrator.getAgentLoad.useQuery, Y.pipelineOrchestrator.getGlobalMetrics.useQuery, Y.pipelineOrchestrator.getCameraMetrics.useQuery, Y.pipelineOrchestrator.getCapabilityBindings.useQuery, Y.pipelineOrchestrator.setCapabilityBinding.useMutation, Y.pipelineOrchestrator.assignDecoder.useMutation, Y.pipelineOrchestrator.unassignDecoder.useMutation, Y.pipelineOrchestrator.getDecoderAssignments.useQuery, Y.pipelineOrchestrator.assignAudio.useMutation, Y.pipelineOrchestrator.unassignAudio.useMutation, Y.pipelineOrchestrator.getAudioAssignment.useQuery, Y.pipelineOrchestrator.getAudioNodeLoad.useQuery, Y.pipelineOrchestrator.getAudioAssignments.useQuery, Y.pipelineOrchestrator.getDecoderAssignment.useQuery, Y.pipelineOrchestrator.getAgentSettings.useQuery, Y.pipelineOrchestrator.listAgentSettings.useQuery, Y.pipelineOrchestrator.setAgentAddonDefaults.useMutation, Y.pipelineOrchestrator.removeAgentSettings.useMutation, Y.pipelineOrchestrator.getCameraSettings.useQuery, Y.pipelineOrchestrator.setCameraStepToggle.useMutation, Y.pipelineOrchestrator.getCameraStepOverrides.useQuery, Y.pipelineOrchestrator.setCameraStepOverride.useMutation, Y.pipelineOrchestrator.setCameraPipelineForAgent.useMutation, Y.pipelineOrchestrator.resolvePipeline.useQuery, Y.pipelineOrchestrator.listTemplates.useQuery, Y.pipelineOrchestrator.saveTemplate.useMutation, Y.pipelineOrchestrator.updateTemplate.useMutation, Y.pipelineOrchestrator.deleteTemplate.useMutation, Y.pipelineOrchestrator.getDeviceSettingsContribution.useQuery, Y.pipelineOrchestrator.getDeviceLiveContribution.useQuery, Y.pipelineOrchestrator.applyDeviceSettingsPatch.useMutation, Y.pipelineRunner.attachCamera.useMutation, Y.pipelineRunner.detachCamera.useMutation, Y.pipelineRunner.reportMotion.useMutation, Y.pipelineRunner.getLocalLoad.useQuery, Y.pipelineRunner.getLocalMetrics.useQuery, Y.pipelineRunner.getCameraMetrics.useQuery, Y.pipelineRunner.getAllCameraMetrics.useQuery, Y.pipelineRunner.getLocalCameras.useQuery, Y.platformProbe.getCapabilities.useQuery, Y.platformProbe.getHardware.useQuery, Y.platformProbe.resolveInferenceConfig.useQuery, Y.platformProbe.resolveHwAccel.useQuery, Y.platformProbe.getHardwareEncoders.useQuery, Y.platformProbe.refreshHardwareEncoders.useMutation, Y.ptz.move.useMutation, Y.ptz.continuousMove.useMutation, Y.ptz.stop.useMutation, Y.ptz.getPresets.useQuery, Y.ptz.goToPreset.useMutation, Y.ptz.goHome.useMutation, Y.ptz.getPosition.useQuery, Y.ptz.getStatus.useQuery, Y.ptzAutotrack.getStatus.useQuery, Y.ptzAutotrack.setEnabled.useMutation, Y.ptzAutotrack.getSettings.useQuery, Y.ptzAutotrack.setSettings.useMutation, Y.reboot.reboot.useMutation, Y.recording.getSegments.useQuery, Y.recording.getPlaybackUrl.useQuery, Y.recording.getThumbnailAt.useQuery, Y.recordingEngine.getStatus.useQuery, Y.recordingEngine.enable.useMutation, Y.recordingEngine.disable.useMutation, Y.recordingEngine.getConfig.useQuery, Y.recordingEngine.updateConfig.useMutation, Y.recordingEngine.getPlaylist.useQuery, Y.recordingEngine.getThumbnail.useQuery, Y.recordingEngine.getSegments.useQuery, Y.recordingEngine.getAvailability.useQuery, Y.recordingEngine.estimateStorage.useQuery, Y.recordingEngine.estimateGlobalStorage.useQuery, Y.recordingEngine.getStorageUsage.useQuery, Y.recordingEngine.setPolicy.useMutation, Y.recordingEngine.getPolicy.useQuery, Y.recordingEngine.getPolicyStatus.useQuery, Y.recordingEngine.getRetentionConfig.useQuery, Y.recordingEngine.updateRetentionConfig.useMutation, Y.recordingEngine.getMotionStats.useQuery, Y.remoteAccess.listProviders.useQuery, Y.remoteAccess.startProvider.useMutation, Y.remoteAccess.stopProvider.useMutation, Y.settingsStore.get.useQuery, Y.settingsStore.set.useMutation, Y.settingsStore.query.useQuery, Y.settingsStore.insert.useMutation, Y.settingsStore.update.useMutation, Y.settingsStore.delete.useMutation, Y.settingsStore.count.useQuery, Y.settingsStore.isEmpty.useQuery, Y.settingsStore.declareCollection.useMutation, Y.snapshot.getSnapshot.useQuery, Y.snapshot.invalidateCache.useMutation, Y.snapshot.getStatus.useQuery, Y.snapshot.getDeviceSettingsContribution.useQuery, Y.snapshot.getDeviceLiveContribution.useQuery, Y.snapshot.applyDeviceSettingsPatch.useMutation, Y.snapshotProvider.supportsDevice.useQuery, Y.snapshotProvider.getSnapshot.useQuery, Y.storage.resolve.useQuery, Y.storage.write.useMutation, Y.storage.read.useQuery, Y.storage.exists.useQuery, Y.storage.list.useQuery, Y.storage.delete.useMutation, Y.storage.getAvailableSpace.useQuery, Y.storage.beginUpload.useMutation, Y.storage.writeChunk.useMutation, Y.storage.finalizeUpload.useMutation, Y.storage.abortUpload.useMutation, Y.storage.beginDownload.useMutation, Y.storage.readChunk.useQuery, Y.storage.endDownload.useMutation, Y.storage.listLocations.useQuery, Y.storage.getDefaultLocation.useQuery, Y.storage.upsertLocation.useMutation, Y.storage.deleteLocation.useMutation, Y.storage.testLocation.useQuery, Y.storage.listProviders.useQuery, Y.storage.testConfig.useQuery, Y.streamBroker.publishCameraStream.useMutation, Y.streamBroker.retractCameraStream.useMutation, Y.streamBroker.assignProfile.useMutation, Y.streamBroker.unassignProfile.useMutation, Y.streamBroker.listAllCameraStreams.useQuery, Y.streamBroker.listAllProfileSlots.useQuery, Y.streamBroker.getBrokerStats.useQuery, Y.streamBroker.listClients.useQuery, Y.streamBroker.killClient.useMutation, Y.streamBroker.restartProfile.useMutation, Y.streamBroker.getStreamUrl.useQuery, Y.streamBroker.getStreamWithCodec.useMutation, Y.streamBroker.releaseStreamWithCodec.useMutation, Y.streamBroker.getBroker.useQuery, Y.streamBroker.setPreBufferDuration.useMutation, Y.streamBroker.getPreBufferInfo.useQuery, Y.streamBroker.getRtspPort.useQuery, Y.streamBroker.getAllRtspEntries.useQuery, Y.streamBroker.getRtspEntry.useQuery, Y.streamBroker.regenerateRtspToken.useMutation, Y.streamBroker.setRtspEnabled.useMutation, Y.streamBroker.isRtspEnabled.useQuery, Y.streamBroker.getDeviceSettingsContribution.useQuery, Y.streamBroker.getDeviceLiveContribution.useQuery, Y.streamBroker.applyDeviceSettingsPatch.useMutation, Y.switch.setState.useMutation, Y.switch.getStatus.useQuery, Y.system.info.useQuery, Y.system.health.useQuery, Y.system.featureFlags.useQuery, Y.system.networkAddresses.useQuery, Y.system.getRetentionConfig.useQuery, Y.system.setRetentionConfig.useMutation, Y.system.forceRetentionCleanup.useMutation, Y.toast.onToast.useSubscription, Y.turnOrchestrator.listProviders.useQuery, Y.turnOrchestrator.getAllServers.useQuery, Y.turnOrchestrator.setProviderEnabled.useMutation, Y.turnProvider.getTurnServers.useQuery, Y.userManagement.listUsers.useQuery, Y.userManagement.createUser.useMutation, Y.userManagement.updateUser.useMutation, Y.userManagement.deleteUser.useMutation, Y.userManagement.resetPassword.useMutation, Y.userManagement.setUserScopes.useMutation, Y.userManagement.validateCredentials.useMutation, Y.userManagement.listApiKeys.useQuery, Y.userManagement.createApiKey.useMutation, Y.userManagement.revokeApiKey.useMutation, Y.userManagement.validateApiKey.useMutation, Y.userManagement.createScopedToken.useMutation, Y.userManagement.revokeScopedToken.useMutation, Y.userManagement.validateScopedToken.useQuery, Y.userManagement.listScopedTokens.useQuery, Y.userManagement.setupTotp.useMutation, Y.userManagement.confirmTotp.useMutation, Y.userManagement.disableTotp.useMutation, Y.userManagement.getTotpStatus.useQuery, Y.userManagement.verifyTotp.useMutation, Y.webrtcSession.listStreams.useQuery, Y.webrtcSession.createSession.useMutation, Y.webrtcSession.handleOffer.useMutation, Y.webrtcSession.handleAnswer.useMutation, Y.webrtcSession.closeSession.useMutation, Y.webrtcSession.hasAdaptiveBitrate.useQuery, Y.zoneAnalytics.getCurrentSnapshot.useQuery, Y.zoneAnalytics.getZoneHistory.useQuery, Y.zoneAnalytics.getCameraHistory.useQuery, Y.zoneAnalytics.getUnzonedHistory.useQuery, Y.zoneRules.listRules.useQuery, Y.zoneRules.setRules.useMutation, Y.zones.listZones.useQuery, Y.zones.addZone.useMutation, Y.zones.removeZone.useMutation, Y.zones.updateZone.useMutation, r(), G("camstack:widget-registry", null), r(), r(), r(), r(), r(), r(), G("camstack:player-overlays-state", null), G("camstack:player-overlays-actions", null), r(), r(), r(), r(), r(), r(), r(), r(), g.AddonStarted, g.AddonInstalled, g.AddonRestarted, g.AddonUpdated, g.AddonStopped, g.AddonUninstalled, g.AddonCrashed, g.AddonError, g.DetectionPhaseTransition, g.DetectionResult, g.DetectionEvent, g.DetectionCameraNative, g.ProviderMotion, g.MotionOnMotionChanged, g.MotionAnalysis, g.MotionZonesRaw, g.ProviderDetection, g.PipelineAudioInferenceResult, g.AgentOnline, g.AgentOffline, g.DeviceRegistered, g.DeviceUnregistered, g.DeviceStateChanged;
2786
+ var Jn = Object.freeze([...new Set(Object.values(g))].sort()), Yn = Object.freeze([
2787
+ g.PipelineCameraMetricsSnapshot,
2788
+ g.PipelineRunnerLoadSnapshot,
2789
+ g.PipelineEngineMetricsSnapshot,
2790
+ g.PipelineInferenceResult,
2791
+ g.PipelineTrace,
2792
+ g.PipelineProgress,
2793
+ g.StreamBrokerMetricsSnapshot,
2794
+ g.MetricsNodeResourcesSnapshot,
2795
+ g.MetricsNodeProcessesSnapshot,
2796
+ g.ClusterTopologySnapshot,
2797
+ g.MotionAnalysis,
2798
+ g.MotionZonesRaw,
2799
+ g.DetectionResult,
2800
+ g.PipelineAudioInferenceResult,
2801
+ g.PlatformProbePhase,
2802
+ g.BenchmarkProgress,
2803
+ g.ModelDownloadProgress
2804
+ ]), Xn = new Set(Yn);
2805
+ //#endregion
2806
+ //#region ../ui-library/src/hooks/use-event-invalidation.ts
2807
+ Object.freeze(Jn.filter((e) => !Xn.has(e))), r(), r(), Object.freeze([...new Set(h.filter((e) => e.scope === "device").map((e) => e.name))].sort()), r(), r(), r(), r(), r(), r(), r(), G("camstack:zone-editing", null), r(), r(), r(), r(), r(), r();
2808
+ //#endregion
2809
+ //#region node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
2810
+ var Zn = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Qn = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), $n = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), er = (e) => {
2811
+ let t = $n(e);
2812
+ return t.charAt(0).toUpperCase() + t.slice(1);
2813
+ }, tr = {
2814
+ xmlns: "http://www.w3.org/2000/svg",
2815
+ width: 24,
2816
+ height: 24,
2817
+ viewBox: "0 0 24 24",
2818
+ fill: "none",
2819
+ stroke: "currentColor",
2820
+ strokeWidth: 2,
2821
+ strokeLinecap: "round",
2822
+ strokeLinejoin: "round"
2823
+ }, nr = (e) => {
2824
+ for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
2825
+ return !1;
2826
+ };
2827
+ //#endregion
2828
+ //#region node_modules/lucide-react/dist/esm/Icon.js
2829
+ r();
2830
+ var rr = c(({ color: e = "currentColor", size: t = 24, strokeWidth: n = 2, absoluteStrokeWidth: r, className: i = "", children: a, iconNode: s, ...c }, l) => o("svg", {
2831
+ ref: l,
2832
+ ...tr,
2833
+ width: t,
2834
+ height: t,
2835
+ stroke: e,
2836
+ strokeWidth: r ? Number(n) * 24 / Number(t) : n,
2837
+ className: Zn("lucide", i),
2838
+ ...!a && !nr(c) && { "aria-hidden": "true" },
2839
+ ...c
2840
+ }, [...s.map(([e, t]) => o(e, t)), ...Array.isArray(a) ? a : [a]]));
2841
+ //#endregion
2842
+ //#region node_modules/lucide-react/dist/esm/createLucideIcon.js
2843
+ r();
2844
+ var $ = (e, t) => {
2845
+ let n = c(({ className: n, ...r }, i) => o(rr, {
2846
+ ref: i,
2847
+ iconNode: t,
2848
+ className: Zn(`lucide-${Qn(er(e))}`, `lucide-${e}`, n),
2849
+ ...r
2850
+ }));
2851
+ return n.displayName = er(e), n;
2852
+ }, ir = $("copy", [["rect", {
2853
+ width: "14",
2854
+ height: "14",
2855
+ x: "8",
2856
+ y: "8",
2857
+ rx: "2",
2858
+ ry: "2",
2859
+ key: "17jyea"
2860
+ }], ["path", {
2861
+ d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",
2862
+ key: "zix9uf"
2863
+ }]]), ar = $("external-link", [
2864
+ ["path", {
2865
+ d: "M15 3h6v6",
2866
+ key: "1q9fwt"
2867
+ }],
2868
+ ["path", {
2869
+ d: "M10 14 21 3",
2870
+ key: "gplh6r"
2871
+ }],
2872
+ ["path", {
2873
+ d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",
2874
+ key: "a6xqqp"
2875
+ }]
2876
+ ]), or = $("house", [["path", {
2877
+ d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",
2878
+ key: "5wwlr5"
2879
+ }], ["path", {
2880
+ d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
2881
+ key: "r6nss1"
2882
+ }]]), sr = $("key-round", [["path", {
2883
+ d: "M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",
2884
+ key: "1s6t7t"
2885
+ }], ["circle", {
2886
+ cx: "16.5",
2887
+ cy: "7.5",
2888
+ r: ".5",
2889
+ fill: "currentColor",
2890
+ key: "w0ekpg"
2891
+ }]]), cr = $("loader-circle", [["path", {
2892
+ d: "M21 12a9 9 0 1 1-6.219-8.56",
2893
+ key: "13zald"
2894
+ }]]), lr = $("plus", [["path", {
2895
+ d: "M5 12h14",
2896
+ key: "1ays0h"
2897
+ }], ["path", {
2898
+ d: "M12 5v14",
2899
+ key: "s699le"
2900
+ }]]), ur = $("shield-alert", [
2901
+ ["path", {
2902
+ d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
2903
+ key: "oel41y"
2904
+ }],
2905
+ ["path", {
2906
+ d: "M12 8v4",
2907
+ key: "1got3b"
2908
+ }],
2909
+ ["path", {
2910
+ d: "M12 16h.01",
2911
+ key: "1drbdi"
2912
+ }]
2913
+ ]), dr = $("shield-check", [["path", {
2914
+ d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",
2915
+ key: "oel41y"
2916
+ }], ["path", {
2917
+ d: "m9 12 2 2 4-4",
2918
+ key: "dzmm74"
2919
+ }]]), fr = $("unlink-2", [["path", {
2920
+ d: "M15 7h2a5 5 0 0 1 0 10h-2m-6 0H7A5 5 0 0 1 7 7h2",
2921
+ key: "1re2ne"
2922
+ }]]);
2923
+ //#endregion
2924
+ //#region src/page/HomeKitOverviewPage.tsx
2925
+ r();
2926
+ var pr = v(_), mr = "export-hap";
2927
+ function hr({ trpc: t, navigate: r }) {
2928
+ let [o, c] = n(null), [l, u] = n("unlinked"), [p, m] = n(0), [h, g] = n([]), [_, v] = n(null), [y, b] = n(!0), [x, S] = n(null), C = i(async () => {
2929
+ try {
2930
+ b(!0), S(null);
2931
+ let [e, n, r] = await Promise.all([
2932
+ t.addonSettings.getGlobalSettings.query({ addonId: mr }),
2933
+ t.deviceExport.getStatus.query({ nodeId: "hub" }),
2934
+ t.deviceExport.listExposedDevices.query({ nodeId: "hub" })
2935
+ ]), i = te.parse(n), a = pr.parse(r);
2936
+ c(br(e)), u(i.linkState), m(i.exposedDeviceCount), g(a.map((e) => ({
2937
+ deviceId: e.deviceId,
2938
+ displayName: e.exposedAs ?? `Device ${e.deviceId}`,
2939
+ streamPreference: "auto",
2940
+ status: i.linkState
2941
+ })));
2942
+ } catch (e) {
2943
+ S(e instanceof Error ? e.message : "Failed to load HomeKit status");
2944
+ } finally {
2945
+ b(!1);
2946
+ }
2947
+ }, [t]);
2948
+ s(() => {
2949
+ C();
2950
+ }, [C]), s(() => {
2951
+ let t = !1;
2952
+ if (!o?.setupURI) {
2953
+ v(null);
2954
+ return;
2955
+ }
2956
+ return (async () => {
2957
+ try {
2958
+ let n = await (await import("./browser-i_dCVxwk.mjs").then((t) => /* @__PURE__ */ e(t.default))).default.toDataURL(o.setupURI ?? "", {
2959
+ width: 240,
2960
+ margin: 2,
2961
+ errorCorrectionLevel: "M"
2962
+ });
2963
+ t || v(n);
2964
+ } catch {
2965
+ t || v(null);
2966
+ }
2967
+ })(), () => {
2968
+ t = !0;
2969
+ };
2970
+ }, [o?.setupURI]);
2971
+ let w = i((e) => {
2972
+ navigator.clipboard?.writeText(e);
2973
+ }, []), ne = i(async (e) => {
2974
+ try {
2975
+ await t.deviceExport.unexposeDevice.mutate({
2976
+ deviceId: e,
2977
+ nodeId: "hub"
2978
+ }), await C();
2979
+ } catch (e) {
2980
+ S(e instanceof Error ? e.message : "Unexpose failed");
2981
+ }
2982
+ }, [t, C]), re = a(() => _r(l), [l]);
2983
+ return /* @__PURE__ */ f("div", {
2984
+ className: "p-6 space-y-6",
2985
+ children: [
2986
+ /* @__PURE__ */ f("header", {
2987
+ className: "flex items-start gap-3",
2988
+ children: [/* @__PURE__ */ d("div", {
2989
+ className: "h-10 w-10 rounded-lg bg-primary/10 text-primary flex items-center justify-center shrink-0",
2990
+ children: /* @__PURE__ */ d(or, { className: "h-5 w-5" })
2991
+ }), /* @__PURE__ */ f("div", {
2992
+ className: "min-w-0",
2993
+ children: [/* @__PURE__ */ d("h1", {
2994
+ className: "text-xl font-semibold text-foreground",
2995
+ children: "HomeKit Export"
2996
+ }), /* @__PURE__ */ d("p", {
2997
+ className: "text-sm text-foreground-subtle mt-1",
2998
+ children: "Publishes a HomeKit (HAP) bridge so iOS Home can pair with exposed CamStack devices."
2999
+ })]
3000
+ })]
3001
+ }),
3002
+ x && /* @__PURE__ */ d(xt, {
3003
+ className: "border-danger/40",
3004
+ children: /* @__PURE__ */ f("div", {
3005
+ className: "p-4 text-sm text-danger flex items-center gap-2",
3006
+ children: [/* @__PURE__ */ d(ur, { className: "h-4 w-4 shrink-0" }), x]
3007
+ })
3008
+ }),
3009
+ /* @__PURE__ */ d(xt, { children: /* @__PURE__ */ f("div", {
3010
+ className: "p-4 space-y-4",
3011
+ children: [
3012
+ /* @__PURE__ */ f("div", {
3013
+ className: "flex items-center justify-between gap-3",
3014
+ children: [/* @__PURE__ */ f("div", {
3015
+ className: "flex items-center gap-2 min-w-0",
3016
+ children: [/* @__PURE__ */ d("h2", {
3017
+ className: "text-sm font-semibold text-foreground truncate",
3018
+ children: "Bridge"
3019
+ }), re]
3020
+ }), /* @__PURE__ */ d(J, {
3021
+ size: "sm",
3022
+ variant: "ghost",
3023
+ onClick: () => void C(),
3024
+ disabled: y,
3025
+ children: y ? /* @__PURE__ */ d(cr, { className: "h-3.5 w-3.5 animate-spin" }) : "Refresh"
3026
+ })]
3027
+ }),
3028
+ y && !o && /* @__PURE__ */ d("div", {
3029
+ className: "flex items-center justify-center py-10 text-foreground-subtle",
3030
+ children: /* @__PURE__ */ d(cr, { className: "h-5 w-5 animate-spin" })
3031
+ }),
3032
+ o && /* @__PURE__ */ f("div", {
3033
+ className: "grid grid-cols-1 md:grid-cols-[1fr_auto] gap-6",
3034
+ children: [/* @__PURE__ */ f("div", {
3035
+ className: "space-y-3 min-w-0",
3036
+ children: [
3037
+ /* @__PURE__ */ d(gr, {
3038
+ label: "Bridge name",
3039
+ value: o.bridgeName
3040
+ }),
3041
+ /* @__PURE__ */ d(gr, {
3042
+ label: "Setup code (PIN)",
3043
+ value: o.identity.pincode || "—",
3044
+ icon: sr,
3045
+ copyValue: o.identity.pincode || void 0,
3046
+ onCopy: w
3047
+ }),
3048
+ /* @__PURE__ */ d(gr, {
3049
+ label: "Bridge port",
3050
+ value: String(o.port || "auto (random)"),
3051
+ muted: !0
3052
+ }),
3053
+ /* @__PURE__ */ d(gr, {
3054
+ label: "Bridge username (MAC)",
3055
+ value: o.identity.username || "—",
3056
+ muted: !0
3057
+ })
3058
+ ]
3059
+ }), /* @__PURE__ */ d("div", {
3060
+ className: "flex flex-col items-center gap-2",
3061
+ children: _ ? /* @__PURE__ */ f(ee, { children: [/* @__PURE__ */ d("img", {
3062
+ src: _,
3063
+ alt: "HomeKit setup QR",
3064
+ className: "h-40 w-40 rounded-lg bg-white p-2"
3065
+ }), /* @__PURE__ */ d("span", {
3066
+ className: "text-xs text-foreground-subtle",
3067
+ children: "Scan with iOS Home app"
3068
+ })] }) : o.setupURI ? /* @__PURE__ */ d("span", {
3069
+ className: "text-xs text-foreground-subtle",
3070
+ children: "Generating QR…"
3071
+ }) : /* @__PURE__ */ d("span", {
3072
+ className: "text-xs text-foreground-subtle text-center max-w-[12rem]",
3073
+ children: "Bridge not started yet — QR appears once HAP is online."
3074
+ })
3075
+ })]
3076
+ })
3077
+ ]
3078
+ }) }),
3079
+ /* @__PURE__ */ f("div", {
3080
+ className: "space-y-2",
3081
+ children: [/* @__PURE__ */ d("div", {
3082
+ className: "flex items-center justify-between",
3083
+ children: /* @__PURE__ */ f("h2", {
3084
+ className: "text-sm font-semibold text-foreground",
3085
+ children: [
3086
+ "Exposed devices (",
3087
+ p,
3088
+ ")"
3089
+ ]
3090
+ })
3091
+ }), h.length === 0 ? /* @__PURE__ */ d(xt, { children: /* @__PURE__ */ d(zt, {
3092
+ icon: dr,
3093
+ title: "No devices exposed yet",
3094
+ description: "Expose a camera to HomeKit from its device-details page.",
3095
+ action: /* @__PURE__ */ f(J, {
3096
+ size: "sm",
3097
+ variant: "primary",
3098
+ onClick: () => r("/devices"),
3099
+ children: [/* @__PURE__ */ d(lr, { className: "h-3.5 w-3.5 mr-1" }), "Expose a device"]
3100
+ })
3101
+ }) }) : /* @__PURE__ */ d(Lt, {
3102
+ columns: [
3103
+ {
3104
+ key: "device",
3105
+ header: "Device",
3106
+ render: (e) => /* @__PURE__ */ f("div", {
3107
+ className: "flex flex-col",
3108
+ children: [/* @__PURE__ */ d("span", {
3109
+ className: "text-foreground font-medium",
3110
+ children: e.displayName
3111
+ }), /* @__PURE__ */ f("span", {
3112
+ className: "text-foreground-subtle text-xs font-mono",
3113
+ children: ["#", e.deviceId]
3114
+ })]
3115
+ })
3116
+ },
3117
+ {
3118
+ key: "status",
3119
+ header: "Status",
3120
+ render: (e) => /* @__PURE__ */ d(yt, {
3121
+ variant: vr(e.status),
3122
+ children: yr(e.status)
3123
+ })
3124
+ },
3125
+ {
3126
+ key: "stream",
3127
+ header: "Stream",
3128
+ render: (e) => /* @__PURE__ */ d("span", {
3129
+ className: "text-xs text-foreground-subtle font-mono",
3130
+ children: e.streamPreference === "auto" ? "Auto" : e.streamPreference
3131
+ })
3132
+ },
3133
+ {
3134
+ key: "actions",
3135
+ header: "",
3136
+ align: "right",
3137
+ render: (e) => /* @__PURE__ */ f("div", {
3138
+ className: "flex items-center justify-end gap-2",
3139
+ children: [/* @__PURE__ */ f(J, {
3140
+ size: "sm",
3141
+ variant: "ghost",
3142
+ onClick: () => r(`/devices/${e.deviceId}`),
3143
+ children: [/* @__PURE__ */ d(ar, { className: "h-3.5 w-3.5 mr-1" }), "Open"]
3144
+ }), /* @__PURE__ */ f(J, {
3145
+ size: "sm",
3146
+ variant: "ghost",
3147
+ onClick: () => void ne(e.deviceId),
3148
+ children: [/* @__PURE__ */ d(fr, { className: "h-3.5 w-3.5 mr-1" }), "Unexpose"]
3149
+ })]
3150
+ })
3151
+ }
3152
+ ],
3153
+ rows: h,
3154
+ rowKey: (e) => e.deviceId
3155
+ })]
3156
+ })
3157
+ ]
3158
+ });
3159
+ }
3160
+ function gr({ label: e, value: t, muted: n, icon: r, copyValue: i, onCopy: a }) {
3161
+ return /* @__PURE__ */ f("div", {
3162
+ className: "flex items-center justify-between gap-3 text-sm",
3163
+ children: [/* @__PURE__ */ f("div", {
3164
+ className: "flex items-center gap-2 text-foreground-subtle min-w-0",
3165
+ children: [r && /* @__PURE__ */ d(r, { className: "h-3.5 w-3.5 shrink-0" }), /* @__PURE__ */ d("span", {
3166
+ className: "truncate",
3167
+ children: e
3168
+ })]
3169
+ }), /* @__PURE__ */ f("div", {
3170
+ className: "flex items-center gap-2 min-w-0",
3171
+ children: [/* @__PURE__ */ d("span", {
3172
+ className: n ? "text-foreground-subtle font-mono text-xs truncate" : "text-foreground font-mono truncate",
3173
+ children: t
3174
+ }), i && a && /* @__PURE__ */ d(J, {
3175
+ size: "sm",
3176
+ variant: "ghost",
3177
+ onClick: () => a(i),
3178
+ "aria-label": `Copy ${e}`,
3179
+ children: /* @__PURE__ */ d(ir, { className: "h-3.5 w-3.5" })
3180
+ })]
3181
+ })]
3182
+ });
3183
+ }
3184
+ function _r(e) {
3185
+ return /* @__PURE__ */ d(yt, {
3186
+ variant: vr(e),
3187
+ children: yr(e)
3188
+ });
3189
+ }
3190
+ function vr(e) {
3191
+ return e === "linked" ? "success" : e === "error" ? "danger" : "warning";
3192
+ }
3193
+ function yr(e) {
3194
+ return e === "linked" ? "Paired" : e === "unlinked" ? "Unpaired" : e === "error" ? "Error" : e;
3195
+ }
3196
+ function br(e) {
3197
+ if (!e || typeof e != "object") return null;
3198
+ let t = e.sections ?? [], n = /* @__PURE__ */ new Map();
3199
+ for (let e of t) {
3200
+ let t = e.fields ?? [];
3201
+ for (let e of t) {
3202
+ let t = e.key, r = e.value;
3203
+ typeof t == "string" && n.set(t, r);
3204
+ }
3205
+ }
3206
+ let r = n.get("identity"), i = r && typeof r == "object" ? r : {};
3207
+ return {
3208
+ bridgeName: typeof n.get("bridgeName") == "string" ? n.get("bridgeName") : "CamStack Bridge",
3209
+ port: typeof n.get("port") == "number" ? n.get("port") : 0,
3210
+ identity: {
3211
+ username: i.username ?? "",
3212
+ pincode: i.pincode ?? "",
3213
+ uuid: i.uuid ?? ""
3214
+ },
3215
+ setupURI: typeof n.get("setupURI") == "string" ? n.get("setupURI") : void 0,
3216
+ paired: typeof n.get("paired") == "boolean" ? n.get("paired") : void 0
3217
+ };
3218
+ }
3219
+ //#endregion
3220
+ //#region src/page/page.tsx
3221
+ var xr = hr;
3222
+ //#endregion
3223
+ export { xr as default };