@camstack/addon-training 0.1.85 → 0.1.86

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 (22) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +22 -0
  3. package/dist/{MotionZonesSettings-DTU9fMJZ.mjs → MotionZonesSettings-BG7GaCP3.mjs} +2 -2
  4. package/dist/{PrivacyMaskSettings-8MmRT5Ow.mjs → PrivacyMaskSettings-3YeMlpoK.mjs} +2 -2
  5. package/dist/{SceneMonitorEditor-qbsyyldN.mjs → SceneMonitorEditor-kqH1G0Cr.mjs} +1 -1
  6. package/dist/_stub.js +314 -314
  7. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-_MdKeniv.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_training_page-c0Ob1wgu.mjs} +3 -3
  8. package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-KFCv11RH.mjs +26 -0
  9. package/dist/{dist-vmoGj7S3.mjs → dist-CUYMVsX0.mjs} +144 -7
  10. package/dist/{dist-DIvqaK45.js → dist-CnS9QrjX.js} +144 -7
  11. package/dist/{hostInit-BKy0E1EU.mjs → hostInit-CbURjD_R.mjs} +2 -2
  12. package/dist/index.js +1 -1
  13. package/dist/orchestrator/training.addon.js +1 -1
  14. package/dist/orchestrator/training.addon.mjs +1 -1
  15. package/dist/{player-overlays-B_I7m2Ml.mjs → player-overlays-DAvLTZcu.mjs} +1 -1
  16. package/dist/providers/modal/training-modal.addon.js +1 -1
  17. package/dist/providers/modal/training-modal.addon.mjs +1 -1
  18. package/dist/remoteEntry.js +1 -1
  19. package/dist/{responsive-BlFhgdjv.mjs → responsive-DmbkULC5.mjs} +1 -1
  20. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BH-X_-uQ.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DCgnRlU9.mjs} +1 -1
  21. package/package.json +4 -2
  22. package/dist/_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CHXZ7Vwy.mjs +0 -26
package/dist/_stub.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import "./virtualExposes-0m8NqEDE.mjs";
2
- import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-BH-X_-uQ.mjs";
2
+ import { a as e, i as t, o as n, r } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_training_page__remoteEntry_js-DCgnRlU9.mjs";
3
3
  import { C as i, S as a, _ as o, a as s, b as c, d as l, f as u, g as d, h as f, i as p, l as m, m as h, n as g, p as _, r as v, t as y, u as b, v as x, w as S, x as C, y as w } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react__loadShare__.js-CEvdvp1T.mjs";
4
4
  import { i as T, n as E, r as D, t as O } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DnrbBvrw.mjs";
5
5
  import { n as k, r as A, t as j } from "./ui-text-CqJgUCKX.mjs";
6
- import { $ as M, A as N, B as P, C as F, E as I, F as L, G as R, H as z, I as ee, J as B, K as V, L as te, M as ne, N as H, O as re, P as ie, Q as ae, R as oe, S as se, T as ce, U as le, V as ue, W as de, X as fe, Y as pe, Z as me, _ as he, a as ge, b as _e, c as ve, ct as ye, d as be, et as U, f as xe, g as Se, h as Ce, i as we, it as W, j as Te, k as Ee, l as De, lt as Oe, m as ke, n as Ae, nt as je, o as Me, ot as Ne, p as Pe, q as Fe, r as Ie, rt as Le, s as Re, st as ze, t as Be, tt as G, u as Ve, v as He, w as Ue, x as We, y as Ge, z as Ke } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CHXZ7Vwy.mjs";
6
+ import { $ as M, A as N, B as P, C as F, D as I, E as L, F as R, G as z, H as ee, I as B, J as V, K as te, L as ne, M as H, N as re, P as ie, Q as ae, R as oe, S as se, T as ce, U as le, V as ue, W as de, X as fe, Y as pe, Z as me, _ as he, a as ge, at as U, b as _e, c as ve, ct as ye, d as be, et as xe, f as Se, g as Ce, h as we, i as Te, it as Ee, j as De, k as Oe, l as ke, lt as Ae, m as je, n as Me, nt as W, o as Ne, p as Pe, q as Fe, r as Ie, rt as Le, s as Re, st as ze, t as Be, tt as G, u as Ve, v as He, w as Ue, x as We, y as Ge, z as Ke } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-KFCv11RH.mjs";
7
7
  import { $n as qe, $t as Je, A as Ye, An as Xe, At as Ze, B as Qe, Bn as $e, Bt as et, C as tt, Cn as nt, Ct as rt, D as it, Dn as at, Dt as ot, E as st, En as ct, Et as lt, F as ut, Fn as dt, Ft as ft, G as pt, Gn as mt, Gt as ht, H as gt, Hn as _t, Ht as vt, I as yt, In as bt, It as xt, J as St, Jn as Ct, Jt as wt, K as Tt, Kn as Et, Kt as Dt, L as Ot, Ln as kt, Lt as At, Mn as jt, Mt, N as Nt, Nn as Pt, Nt as Ft, O as It, On as Lt, Ot as Rt, P as zt, Pn as Bt, Pt as Vt, Q as Ht, Qn as Ut, Qt as Wt, R as Gt, Rn as Kt, Rt as qt, S as Jt, Sn as Yt, St as Xt, T as Zt, Tn as Qt, Tt as $t, U as en, Un as tn, Ut as nn, V as rn, Vn as an, Vt as on, W as sn, Wn as cn, Wt as ln, X as un, Xn as dn, Xt as fn, Y as pn, Yn as mn, Yt as hn, Z as gn, Zn as _n, Zt as vn, _ as yn, _n as bn, _t as xn, a as Sn, an as Cn, ar as wn, at as Tn, b as En, bn as Dn, bt as On, c as kn, cn as An, cr as jn, ct as Mn, d as Nn, dn as Pn, dr as Fn, dt as In, en as Ln, er as Rn, et as zn, f as Bn, fn as Vn, fr as Hn, ft as Un, g as Wn, gn as Gn, gt as Kn, h as qn, hn as Jn, ht as Yn, i as Xn, in as Zn, ir as Qn, it as $n, j as er, jn as tr, jt as nr, k as rr, kn as ir, kt as ar, l as or, ln as sr, lr as cr, lt as lr, m as ur, mn as dr, mr as fr, mt as pr, n as mr, nn as hr, nr as gr, nt as _r, o as vr, on as yr, or as br, ot as xr, p as Sr, pn as Cr, pr as wr, pt as Tr, q as Er, qn as Dr, qt as Or, r as kr, rn as Ar, rr as jr, rt as Mr, s as Nr, sn as Pr, sr as Fr, st as Ir, t as Lr, tn as Rr, tr as zr, tt as Br, u as Vr, un as Hr, ur as Ur, ut as Wr, v as Gr, vn as Kr, vt as qr, w as Jr, wn as Yr, wt as Xr, x as Zr, xn as Qr, xt as $r, y as ei, yn as ti, yt as ni, z as ri, zn as ii, zt as ai } from "./zoom-out-DzQMgNQw.mjs";
8
8
  import { n as oi, r as si, t as ci } from "./rotate-ccw-Cu6tGrgG.mjs";
9
9
  import { n as li, t as ui } from "./chevron-right-cA8Hucbi.mjs";
@@ -11,13 +11,13 @@ import { r as di, t as fi } from "./square-ZPUterXM.mjs";
11
11
  import { t as pi } from "./grid-2x2-CHuMzRxF.mjs";
12
12
  import { t as mi } from "./trash-2-BKfuhsgY.mjs";
13
13
  import { n as hi, t as gi } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BkvDudqY.mjs";
14
- import { a as _i, c as vi, d as yi, f as bi, g as xi, h as Si, i as Ci, l as wi, m as Ti, n as Ei, o as Di, p as Oi, r as ki, s as Ai, t as ji, u as Mi } from "./responsive-BlFhgdjv.mjs";
14
+ import { a as _i, c as vi, d as yi, f as bi, g as xi, h as Si, i as Ci, l as wi, m as Ti, n as Ei, o as Di, p as Oi, r as ki, s as Ai, t as ji, u as Mi } from "./responsive-DmbkULC5.mjs";
15
15
  import { n as Ni, t as Pi } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_2_dom__loadShare__.js-DAZkHxxU.mjs";
16
16
  import { n as Fi, r as Ii, t as Li } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DpjirGmB.mjs";
17
17
  import { t as Ri } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.js-CHqN9NLt.mjs";
18
18
  import { t as zi } from "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.js-CFCVuRAs.mjs";
19
19
  import { c as Bi, s as Vi } from "./scene-monitor-copy-Cqfs4Vng.mjs";
20
- import { n as Hi, r as Ui } from "./player-overlays-B_I7m2Ml.mjs";
20
+ import { n as Hi, r as Ui } from "./player-overlays-DAvLTZcu.mjs";
21
21
  import "./_virtual_mf___mfe_internal__addon_training_page__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.js-ZeT4eUYy.mjs";
22
22
  //#region ../ui-library/src/trpc-react.ts
23
23
  S();
@@ -96,459 +96,459 @@ function Xi(e, t) {
96
96
  };
97
97
  }
98
98
  var Zi = {
99
- [G.Camera]: {
99
+ [W.Camera]: {
100
100
  icon: si,
101
101
  labelKey: "uiLibrary.deviceMeta.type.camera",
102
102
  labelFallback: "Camera"
103
103
  },
104
- [G.Hub]: {
104
+ [W.Hub]: {
105
105
  icon: $t,
106
106
  labelKey: "uiLibrary.deviceMeta.type.hub",
107
107
  labelFallback: "Hub"
108
108
  },
109
- [G.Light]: {
109
+ [W.Light]: {
110
110
  icon: Or,
111
111
  labelKey: "uiLibrary.deviceMeta.type.light",
112
112
  labelFallback: "Light"
113
113
  },
114
- [G.Siren]: {
114
+ [W.Siren]: {
115
115
  icon: sn,
116
116
  labelKey: "uiLibrary.deviceMeta.type.siren",
117
117
  labelFallback: "Siren"
118
118
  },
119
- [G.Switch]: {
119
+ [W.Switch]: {
120
120
  icon: rr,
121
121
  labelKey: "uiLibrary.deviceMeta.type.switch",
122
122
  labelFallback: "Switch"
123
123
  },
124
- [G.Sensor]: {
124
+ [W.Sensor]: {
125
125
  icon: fr,
126
126
  labelKey: "uiLibrary.deviceMeta.type.sensor",
127
127
  labelFallback: "Sensor"
128
128
  },
129
- [G.Thermostat]: {
129
+ [W.Thermostat]: {
130
130
  icon: er,
131
131
  labelKey: "uiLibrary.deviceMeta.type.thermostat",
132
132
  labelFallback: "Thermostat"
133
133
  },
134
- [G.Climate]: {
134
+ [W.Climate]: {
135
135
  icon: wr,
136
136
  labelKey: "uiLibrary.deviceMeta.type.climate",
137
137
  labelFallback: "Air conditioner"
138
138
  },
139
- [G.Button]: {
139
+ [W.Button]: {
140
140
  icon: bt,
141
141
  labelKey: "uiLibrary.deviceMeta.type.button",
142
142
  labelFallback: "Button"
143
143
  },
144
- [G.EventEmitter]: {
144
+ [W.EventEmitter]: {
145
145
  icon: kr,
146
146
  labelKey: "uiLibrary.deviceMeta.type.eventEmitter",
147
147
  labelFallback: "Event Emitter"
148
148
  },
149
- [G.Update]: {
149
+ [W.Update]: {
150
150
  icon: Tn,
151
151
  labelKey: "uiLibrary.deviceMeta.type.update",
152
152
  labelFallback: "Update"
153
153
  },
154
- [G.Generic]: {
154
+ [W.Generic]: {
155
155
  icon: Ct,
156
156
  labelKey: "uiLibrary.deviceMeta.type.generic",
157
157
  labelFallback: "Generic"
158
158
  },
159
- [G.Notifier]: {
159
+ [W.Notifier]: {
160
160
  icon: Rn,
161
161
  labelKey: "uiLibrary.deviceMeta.type.notifier",
162
162
  labelFallback: "Notifier"
163
163
  },
164
- [G.Script]: {
164
+ [W.Script]: {
165
165
  icon: Ht,
166
166
  labelKey: "uiLibrary.deviceMeta.type.script",
167
167
  labelFallback: "Script"
168
168
  },
169
- [G.Automation]: {
169
+ [W.Automation]: {
170
170
  icon: vr,
171
171
  labelKey: "uiLibrary.deviceMeta.type.automation",
172
172
  labelFallback: "Automation"
173
173
  },
174
- [G.Lock]: {
174
+ [W.Lock]: {
175
175
  icon: on,
176
176
  labelKey: "uiLibrary.deviceMeta.type.lock",
177
177
  labelFallback: "Lock"
178
178
  },
179
- [G.Cover]: {
179
+ [W.Cover]: {
180
180
  icon: _n,
181
181
  labelKey: "uiLibrary.deviceMeta.type.cover",
182
182
  labelFallback: "Cover"
183
183
  },
184
- [G.Valve]: {
184
+ [W.Valve]: {
185
185
  icon: Kn,
186
186
  labelKey: "uiLibrary.deviceMeta.type.valve",
187
187
  labelFallback: "Valve"
188
188
  },
189
- [G.Humidifier]: {
189
+ [W.Humidifier]: {
190
190
  icon: Vr,
191
191
  labelKey: "uiLibrary.deviceMeta.type.humidifier",
192
192
  labelFallback: "Humidifier"
193
193
  },
194
- [G.WaterHeater]: {
194
+ [W.WaterHeater]: {
195
195
  icon: wn,
196
196
  labelKey: "uiLibrary.deviceMeta.type.waterHeater",
197
197
  labelFallback: "Water heater"
198
198
  },
199
- [G.Fan]: {
199
+ [W.Fan]: {
200
200
  icon: dr,
201
201
  labelKey: "uiLibrary.deviceMeta.type.fan",
202
202
  labelFallback: "Fan"
203
203
  },
204
- [G.MediaPlayer]: {
204
+ [W.MediaPlayer]: {
205
205
  icon: Ft,
206
206
  labelKey: "uiLibrary.deviceMeta.type.mediaPlayer",
207
207
  labelFallback: "Media player"
208
208
  },
209
- [G.AlarmPanel]: {
209
+ [W.AlarmPanel]: {
210
210
  icon: St,
211
211
  labelKey: "uiLibrary.deviceMeta.type.alarmPanel",
212
212
  labelFallback: "Alarm panel"
213
213
  },
214
- [G.Control]: {
214
+ [W.Control]: {
215
215
  icon: rn,
216
216
  labelKey: "uiLibrary.deviceMeta.type.control",
217
217
  labelFallback: "Control"
218
218
  },
219
- [G.Presence]: {
219
+ [W.Presence]: {
220
220
  icon: ai,
221
221
  labelKey: "uiLibrary.deviceMeta.type.presence",
222
222
  labelFallback: "Presence"
223
223
  },
224
- [G.Weather]: {
224
+ [W.Weather]: {
225
225
  icon: at,
226
226
  labelKey: "uiLibrary.deviceMeta.type.weather",
227
227
  labelFallback: "Weather"
228
228
  },
229
- [G.Vacuum]: {
229
+ [W.Vacuum]: {
230
230
  icon: mn,
231
231
  labelKey: "uiLibrary.deviceMeta.type.vacuum",
232
232
  labelFallback: "Vacuum"
233
233
  },
234
- [G.LawnMower]: {
234
+ [W.LawnMower]: {
235
235
  icon: it,
236
236
  labelKey: "uiLibrary.deviceMeta.type.lawnMower",
237
237
  labelFallback: "Lawn mower"
238
238
  },
239
- [G.Container]: {
239
+ [W.Container]: {
240
240
  icon: Ct,
241
241
  labelKey: "uiLibrary.deviceMeta.type.container",
242
242
  labelFallback: "Container"
243
243
  },
244
- [G.Image]: {
244
+ [W.Image]: {
245
245
  icon: Je,
246
246
  labelKey: "uiLibrary.deviceMeta.type.image",
247
247
  labelFallback: "Image"
248
248
  },
249
- [G.PetFeeder]: {
249
+ [W.PetFeeder]: {
250
250
  icon: dn,
251
251
  labelKey: "uiLibrary.deviceMeta.type.petFeeder",
252
252
  labelFallback: "Pet feeder"
253
253
  },
254
- [G.Dishwasher]: {
254
+ [W.Dishwasher]: {
255
255
  icon: Vr,
256
256
  labelKey: "uiLibrary.deviceMeta.type.dishwasher",
257
257
  labelFallback: "Dishwasher"
258
258
  }
259
259
  }, Qi = {
260
- [U.Siren]: {
260
+ [G.Siren]: {
261
261
  icon: sn,
262
262
  labelKey: "uiLibrary.deviceMeta.role.siren",
263
263
  labelFallback: "Siren"
264
264
  },
265
- [U.Floodlight]: {
265
+ [G.Floodlight]: {
266
266
  icon: Or,
267
267
  labelKey: "uiLibrary.deviceMeta.role.floodlight",
268
268
  labelFallback: "Floodlight"
269
269
  },
270
- [U.Spotlight]: {
270
+ [G.Spotlight]: {
271
271
  icon: sr,
272
272
  labelKey: "uiLibrary.deviceMeta.role.spotlight",
273
273
  labelFallback: "Spotlight"
274
274
  },
275
- [U.PirSensor]: {
275
+ [G.PirSensor]: {
276
276
  icon: lr,
277
277
  labelKey: "uiLibrary.deviceMeta.role.pirSensor",
278
278
  labelFallback: "PIR sensor"
279
279
  },
280
- [U.Chime]: {
280
+ [G.Chime]: {
281
281
  icon: Rn,
282
282
  labelKey: "uiLibrary.deviceMeta.role.chime",
283
283
  labelFallback: "Chime"
284
284
  },
285
- [U.Autotrack]: {
285
+ [G.Autotrack]: {
286
286
  icon: nt,
287
287
  labelKey: "uiLibrary.deviceMeta.role.autotrack",
288
288
  labelFallback: "Auto-track"
289
289
  },
290
- [U.Nightvision]: {
290
+ [G.Nightvision]: {
291
291
  icon: Mt,
292
292
  labelKey: "uiLibrary.deviceMeta.role.nightvision",
293
293
  labelFallback: "Night vision"
294
294
  },
295
- [U.PrivacyMask]: {
295
+ [G.PrivacyMask]: {
296
296
  icon: di,
297
297
  labelKey: "uiLibrary.deviceMeta.role.privacyMask",
298
298
  labelFallback: "Privacy mask"
299
299
  },
300
- [U.Doorbell]: {
300
+ [G.Doorbell]: {
301
301
  icon: Qr,
302
302
  labelKey: "uiLibrary.deviceMeta.role.doorbell",
303
303
  labelFallback: "Doorbell"
304
304
  },
305
- [U.CoverBlind]: {
305
+ [G.CoverBlind]: {
306
306
  icon: _n,
307
307
  labelKey: "uiLibrary.deviceMeta.role.coverBlind",
308
308
  labelFallback: "Blind"
309
309
  },
310
- [U.CoverShutter]: {
310
+ [G.CoverShutter]: {
311
311
  icon: _n,
312
312
  labelKey: "uiLibrary.deviceMeta.role.coverShutter",
313
313
  labelFallback: "Shutter"
314
314
  },
315
- [U.CoverAwning]: {
315
+ [G.CoverAwning]: {
316
316
  icon: _n,
317
317
  labelKey: "uiLibrary.deviceMeta.role.coverAwning",
318
318
  labelFallback: "Awning"
319
319
  },
320
- [U.CoverCurtain]: {
320
+ [G.CoverCurtain]: {
321
321
  icon: _n,
322
322
  labelKey: "uiLibrary.deviceMeta.role.coverCurtain",
323
323
  labelFallback: "Curtain"
324
324
  },
325
- [U.CoverGarage]: {
325
+ [G.CoverGarage]: {
326
326
  icon: Qr,
327
327
  labelKey: "uiLibrary.deviceMeta.role.coverGarage",
328
328
  labelFallback: "Garage door"
329
329
  },
330
- [U.CoverGate]: {
330
+ [G.CoverGate]: {
331
331
  icon: Qr,
332
332
  labelKey: "uiLibrary.deviceMeta.role.coverGate",
333
333
  labelFallback: "Gate"
334
334
  },
335
- [U.CoverDoor]: {
335
+ [G.CoverDoor]: {
336
336
  icon: Dn,
337
337
  labelKey: "uiLibrary.deviceMeta.role.coverDoor",
338
338
  labelFallback: "Door"
339
339
  },
340
- [U.CoverWindow]: {
340
+ [G.CoverWindow]: {
341
341
  icon: _n,
342
342
  labelKey: "uiLibrary.deviceMeta.role.coverWindow",
343
343
  labelFallback: "Window"
344
344
  },
345
- [U.BinaryHelper]: {
345
+ [G.BinaryHelper]: {
346
346
  icon: rr,
347
347
  labelKey: "uiLibrary.deviceMeta.role.binaryHelper",
348
348
  labelFallback: "Binary helper"
349
349
  },
350
- [U.Outlet]: {
350
+ [G.Outlet]: {
351
351
  icon: Un,
352
352
  labelKey: "uiLibrary.deviceMeta.role.outlet",
353
353
  labelFallback: "Outlet"
354
354
  },
355
- [U.MotionSensor]: {
355
+ [G.MotionSensor]: {
356
356
  icon: An,
357
357
  labelKey: "uiLibrary.deviceMeta.role.motionSensor",
358
358
  labelFallback: "Motion sensor"
359
359
  },
360
- [U.ContactSensor]: {
360
+ [G.ContactSensor]: {
361
361
  icon: Dn,
362
362
  labelKey: "uiLibrary.deviceMeta.role.contactSensor",
363
363
  labelFallback: "Contact sensor"
364
364
  },
365
- [U.LeakSensor]: {
365
+ [G.LeakSensor]: {
366
366
  icon: Kr,
367
367
  labelKey: "uiLibrary.deviceMeta.role.leakSensor",
368
368
  labelFallback: "Leak sensor"
369
369
  },
370
- [U.SmokeSensor]: {
370
+ [G.SmokeSensor]: {
371
371
  icon: Hn,
372
372
  labelKey: "uiLibrary.deviceMeta.role.smokeSensor",
373
373
  labelFallback: "Smoke sensor"
374
374
  },
375
- [U.COSensor]: {
375
+ [G.COSensor]: {
376
376
  icon: Nr,
377
377
  labelKey: "uiLibrary.deviceMeta.role.cOSensor",
378
378
  labelFallback: "CO sensor"
379
379
  },
380
- [U.GasSensor]: {
380
+ [G.GasSensor]: {
381
381
  icon: Pn,
382
382
  labelKey: "uiLibrary.deviceMeta.role.gasSensor",
383
383
  labelFallback: "Gas sensor"
384
384
  },
385
- [U.TamperSensor]: {
385
+ [G.TamperSensor]: {
386
386
  icon: St,
387
387
  labelKey: "uiLibrary.deviceMeta.role.tamperSensor",
388
388
  labelFallback: "Tamper sensor"
389
389
  },
390
- [U.VibrationSensor]: {
390
+ [G.VibrationSensor]: {
391
391
  icon: ur,
392
392
  labelKey: "uiLibrary.deviceMeta.role.vibrationSensor",
393
393
  labelFallback: "Vibration sensor"
394
394
  },
395
- [U.ConnectivitySensor]: {
395
+ [G.ConnectivitySensor]: {
396
396
  icon: kn,
397
397
  labelKey: "uiLibrary.deviceMeta.role.connectivitySensor",
398
398
  labelFallback: "Connectivity"
399
399
  },
400
- [U.SoundSensor]: {
400
+ [G.SoundSensor]: {
401
401
  icon: Sr,
402
402
  labelKey: "uiLibrary.deviceMeta.role.soundSensor",
403
403
  labelFallback: "Sound sensor"
404
404
  },
405
- [U.BinarySensor]: {
405
+ [G.BinarySensor]: {
406
406
  icon: rr,
407
407
  labelKey: "uiLibrary.deviceMeta.role.binarySensor",
408
408
  labelFallback: "Binary sensor"
409
409
  },
410
- [U.TemperatureSensor]: {
410
+ [G.TemperatureSensor]: {
411
411
  icon: er,
412
412
  labelKey: "uiLibrary.deviceMeta.role.temperatureSensor",
413
413
  labelFallback: "Temperature"
414
414
  },
415
- [U.HumiditySensor]: {
415
+ [G.HumiditySensor]: {
416
416
  icon: bn,
417
417
  labelKey: "uiLibrary.deviceMeta.role.humiditySensor",
418
418
  labelFallback: "Humidity"
419
419
  },
420
- [U.AmbientLightSensor]: {
420
+ [G.AmbientLightSensor]: {
421
421
  icon: ut,
422
422
  labelKey: "uiLibrary.deviceMeta.role.ambientLightSensor",
423
423
  labelFallback: "Ambient light"
424
424
  },
425
- [U.PressureSensor]: {
425
+ [G.PressureSensor]: {
426
426
  icon: Pr,
427
427
  labelKey: "uiLibrary.deviceMeta.role.pressureSensor",
428
428
  labelFallback: "Pressure"
429
429
  },
430
- [U.WindSensor]: {
430
+ [G.WindSensor]: {
431
431
  icon: Nr,
432
432
  labelKey: "uiLibrary.deviceMeta.role.windSensor",
433
433
  labelFallback: "Wind"
434
434
  },
435
- [U.RainSensor]: {
435
+ [G.RainSensor]: {
436
436
  icon: ir,
437
437
  labelKey: "uiLibrary.deviceMeta.role.rainSensor",
438
438
  labelFallback: "Rain"
439
439
  },
440
- [U.UvSensor]: {
440
+ [G.UvSensor]: {
441
441
  icon: yt,
442
442
  labelKey: "uiLibrary.deviceMeta.role.uvSensor",
443
443
  labelFallback: "UV index"
444
444
  },
445
- [U.SolarRadiationSensor]: {
445
+ [G.SolarRadiationSensor]: {
446
446
  icon: zt,
447
447
  labelKey: "uiLibrary.deviceMeta.role.solarRadiationSensor",
448
448
  labelFallback: "Solar radiation"
449
449
  },
450
- [U.SoilMoistureSensor]: {
450
+ [G.SoilMoistureSensor]: {
451
451
  icon: Ot,
452
452
  labelKey: "uiLibrary.deviceMeta.role.soilMoistureSensor",
453
453
  labelFallback: "Soil moisture"
454
454
  },
455
- [U.PowerSensor]: {
455
+ [G.PowerSensor]: {
456
456
  icon: kr,
457
457
  labelKey: "uiLibrary.deviceMeta.role.powerSensor",
458
458
  labelFallback: "Power"
459
459
  },
460
- [U.EnergySensor]: {
460
+ [G.EnergySensor]: {
461
461
  icon: kr,
462
462
  labelKey: "uiLibrary.deviceMeta.role.energySensor",
463
463
  labelFallback: "Energy"
464
464
  },
465
- [U.VoltageSensor]: {
465
+ [G.VoltageSensor]: {
466
466
  icon: kr,
467
467
  labelKey: "uiLibrary.deviceMeta.role.voltageSensor",
468
468
  labelFallback: "Voltage"
469
469
  },
470
- [U.CurrentSensor]: {
470
+ [G.CurrentSensor]: {
471
471
  icon: kr,
472
472
  labelKey: "uiLibrary.deviceMeta.role.currentSensor",
473
473
  labelFallback: "Current"
474
474
  },
475
- [U.AirQualitySensor]: {
475
+ [G.AirQualitySensor]: {
476
476
  icon: Nr,
477
477
  labelKey: "uiLibrary.deviceMeta.role.airQualitySensor",
478
478
  labelFallback: "Air quality"
479
479
  },
480
- [U.BatterySensor]: {
480
+ [G.BatterySensor]: {
481
481
  icon: Pr,
482
482
  labelKey: "uiLibrary.deviceMeta.role.batterySensor",
483
483
  labelFallback: "Battery"
484
484
  },
485
- [U.NumericSensor]: {
485
+ [G.NumericSensor]: {
486
486
  icon: hr,
487
487
  labelKey: "uiLibrary.deviceMeta.role.numericSensor",
488
488
  labelFallback: "Numeric sensor"
489
489
  },
490
- [U.EnumSensor]: {
490
+ [G.EnumSensor]: {
491
491
  icon: ln,
492
492
  labelKey: "uiLibrary.deviceMeta.role.enumSensor",
493
493
  labelFallback: "Enum sensor"
494
494
  },
495
- [U.DateTimeSensor]: {
495
+ [G.DateTimeSensor]: {
496
496
  icon: jt,
497
497
  labelKey: "uiLibrary.deviceMeta.role.dateTimeSensor",
498
498
  labelFallback: "Date / time"
499
499
  },
500
- [U.GenericSensor]: {
500
+ [G.GenericSensor]: {
501
501
  icon: Pr,
502
502
  labelKey: "uiLibrary.deviceMeta.role.genericSensor",
503
503
  labelFallback: "Sensor"
504
504
  },
505
- [U.NumericControl]: {
505
+ [G.NumericControl]: {
506
506
  icon: rn,
507
507
  labelKey: "uiLibrary.deviceMeta.role.numericControl",
508
508
  labelFallback: "Numeric control"
509
509
  },
510
- [U.SelectControl]: {
510
+ [G.SelectControl]: {
511
511
  icon: Dt,
512
512
  labelKey: "uiLibrary.deviceMeta.role.selectControl",
513
513
  labelFallback: "Select control"
514
514
  },
515
- [U.TextControl]: {
515
+ [G.TextControl]: {
516
516
  icon: Zr,
517
517
  labelKey: "uiLibrary.deviceMeta.role.textControl",
518
518
  labelFallback: "Text control"
519
519
  },
520
- [U.DateTimeControl]: {
520
+ [G.DateTimeControl]: {
521
521
  icon: jt,
522
522
  labelKey: "uiLibrary.deviceMeta.role.dateTimeControl",
523
523
  labelFallback: "Date / time control"
524
524
  },
525
- [U.MobilePushNotifier]: {
525
+ [G.MobilePushNotifier]: {
526
526
  icon: Qe,
527
527
  labelKey: "uiLibrary.deviceMeta.role.mobilePushNotifier",
528
528
  labelFallback: "Mobile push"
529
529
  },
530
- [U.MessagingNotifier]: {
530
+ [G.MessagingNotifier]: {
531
531
  icon: ft,
532
532
  labelKey: "uiLibrary.deviceMeta.role.messagingNotifier",
533
533
  labelFallback: "Messaging"
534
534
  },
535
- [U.EmailNotifier]: {
535
+ [G.EmailNotifier]: {
536
536
  icon: et,
537
537
  labelKey: "uiLibrary.deviceMeta.role.emailNotifier",
538
538
  labelFallback: "Email"
539
539
  },
540
- [U.GenericNotifier]: {
540
+ [G.GenericNotifier]: {
541
541
  icon: Rn,
542
542
  labelKey: "uiLibrary.deviceMeta.role.genericNotifier",
543
543
  labelFallback: "Notifier"
544
544
  }
545
- }, $i = new Set(Object.values(G));
546
- new Set(Object.values(U));
545
+ }, $i = new Set(Object.values(W));
546
+ new Set(Object.values(G));
547
547
  function ea(e) {
548
548
  return $i.has(e);
549
549
  }
550
- var ta = Zi[G.Generic];
551
- Qi[U.GenericSensor];
550
+ var ta = Zi[W.Generic];
551
+ Qi[G.GenericSensor];
552
552
  function na(e, t = k) {
553
553
  return ea(e) ? Xi(Zi[e] ?? ta, t) : Xi(ta, t);
554
554
  }
@@ -617,7 +617,7 @@ var ra = {
617
617
  type: Zr
618
618
  };
619
619
  function ia(e) {
620
- return Object.values(G).map((t) => {
620
+ return Object.values(W).map((t) => {
621
621
  let n = na(t, e);
622
622
  return {
623
623
  id: t,
@@ -645,7 +645,7 @@ function fa() {
645
645
  }), oa) : Promise.reject(sa) : Promise.resolve();
646
646
  }
647
647
  function pa(e) {
648
- let t = se(e);
648
+ let t = F(e);
649
649
  if (t === void 0) return;
650
650
  let n = ra[t];
651
651
  if (n !== void 0) return n;
@@ -2602,12 +2602,12 @@ function ps(e) {
2602
2602
  return e.kind === "header" ? cs : ls;
2603
2603
  }
2604
2604
  function ms(e, t) {
2605
- return e.trim().length > 0 ? fs(V(e, t).map((e) => e.entry.key)).map((e, t) => ({
2605
+ return e.trim().length > 0 ? fs(Fe(e, t).map((e) => e.entry.key)).map((e, t) => ({
2606
2606
  kind: "tiles",
2607
2607
  id: `r${t}`,
2608
2608
  keys: e
2609
- })) : ze.flatMap((e) => {
2610
- let t = H(e).map((e) => e.key);
2609
+ })) : ye.flatMap((e) => {
2610
+ let t = ie(e).map((e) => e.key);
2611
2611
  return [{
2612
2612
  kind: "header",
2613
2613
  id: `h-${e}`,
@@ -2630,12 +2630,12 @@ function hs(e, t, n, r) {
2630
2630
  padBottom: Math.max(0, n - (t[s] ?? n))
2631
2631
  };
2632
2632
  }
2633
- function gs({ value: e, onPick: t, fallbackGlyph: n, labels: r, extraWords: i, clearGlyph: a, labelFor: o, categoryLabel: s = ne, disabled: c = !1 }) {
2633
+ function gs({ value: e, onPick: t, fallbackGlyph: n, labels: r, extraWords: i, clearGlyph: a, labelFor: o, categoryLabel: s = re, disabled: c = !1 }) {
2634
2634
  let [u, f] = w(!1), [p, m] = w(""), [h, g] = w(0), _ = x(null), v = _a();
2635
2635
  l(() => {
2636
2636
  u && fa().catch(() => void 0);
2637
2637
  }, [u]);
2638
- let y = se(e), b = d(() => ms(p, i), [p, i]), { offsets: S, total: C } = d(() => {
2638
+ let y = F(e), b = d(() => ms(p, i), [p, i]), { offsets: S, total: C } = d(() => {
2639
2639
  let e = [], t = 0;
2640
2640
  for (let n of b) e.push(t), t += ps(n);
2641
2641
  return {
@@ -2737,7 +2737,7 @@ function _s(e) {
2737
2737
  };
2738
2738
  }
2739
2739
  function vs({ label: e, value: t, defaultKey: n, disabled: r, onChange: i }) {
2740
- let a = _a(), o = de(t, n), s = a(n) ?? Er;
2740
+ let a = _a(), o = z(t, n), s = a(n) ?? Er;
2741
2741
  return /* @__PURE__ */ D("div", {
2742
2742
  className: "flex items-center gap-2",
2743
2743
  children: [/* @__PURE__ */ E(gs, {
@@ -3011,17 +3011,17 @@ var Fs = p(({ className: e, options: t, disabled: n, ...r }, i) => /* @__PURE__
3011
3011
  Fs.displayName = "Select", S();
3012
3012
  var Is = "••••••••", Ls = 5e3, Rs = xi("camstack:secret-reveal", null);
3013
3013
  function zs(e) {
3014
- return e === null || te(e) || ee(e);
3014
+ return e === null || oe(e) || ne(e);
3015
3015
  }
3016
3016
  function Bs(e, t, n) {
3017
- return e.kind === "untouched" ? t : e.text.length === 0 ? n ? be : t : e.text === e.revealed ? t : e.text;
3017
+ return e.kind === "untouched" ? t : e.text.length === 0 ? n ? Se : t : e.text === e.revealed ? t : e.text;
3018
3018
  }
3019
3019
  function Vs(e) {
3020
3020
  return typeof e == "string" && e.length > 0 ? {
3021
3021
  kind: "visible",
3022
3022
  text: e,
3023
3023
  revealed: null
3024
- } : ee(e) ? {
3024
+ } : ne(e) ? {
3025
3025
  kind: "visible",
3026
3026
  text: "",
3027
3027
  revealed: null
@@ -3031,7 +3031,7 @@ function Hs(e, t, n, r) {
3031
3031
  return e.kind === "untouched" ? t ? Is : n : e.text.length === 0 && t ? r("uiLibrary.configSecretField.removedOnSave", "Removed on save") : n;
3032
3032
  }
3033
3033
  function Us({ field: e, value: t, onChange: n, disabled: r, multiline: i }) {
3034
- let a = A(), o = b(Rs), [s] = w(() => te(t) ? t : null), [c] = w(() => te(t) || ee(t)), [u, d] = w(() => Vs(t)), [f, p] = w(!1), [m, h] = w(!1), [g, _] = w(null);
3034
+ let a = A(), o = b(Rs), [s] = w(() => oe(t) ? t : null), [c] = w(() => oe(t) || ne(t)), [u, d] = w(() => Vs(t)), [f, p] = w(!1), [m, h] = w(!1), [g, _] = w(null);
3035
3035
  l(() => {
3036
3036
  if (g === null) return;
3037
3037
  let e = setTimeout(() => _(null), Ls);
@@ -3076,7 +3076,7 @@ function Us({ field: e, value: t, onChange: n, disabled: r, multiline: i }) {
3076
3076
  })
3077
3077
  });
3078
3078
  }
3079
- K.accessories.setChildHidden.useMutation, K.accessories.getStatus.useQuery, K.addonPages.listPages.useQuery, K.addons.list.useQuery, K.addons.getLogs.useQuery, K.addons.listPackages.useQuery, K.addons.installPackage.useMutation, K.addons.installFromWorkspace.useMutation, K.addons.isWorkspaceAvailable.useQuery, K.addons.listWorkspacePackages.useQuery, K.addons.uninstallPackage.useMutation, K.addons.listInstallations.useQuery, K.addons.reloadPackages.useMutation, K.addons.searchAvailable.useQuery, K.addons.listUpdates.useQuery, K.addons.updatePackage.useMutation, K.addons.rollbackPackage.useMutation, K.addons.forceRefresh.useMutation, K.addons.restartServer.useMutation, K.addons.getLastRestart.useQuery, K.addons.listFrameworkPackages.useQuery, K.addons.listCapabilityProviders.useQuery, K.addons.setCapabilityProviderEnabled.useMutation, K.addons.getVersions.useQuery, K.addons.restartAddon.useMutation, K.addons.retryLoad.useMutation, K.addons.getAutoUpdateSettings.useQuery, K.addons.setAutoUpdateSettings.useMutation, K.addons.getAddonAutoUpdate.useQuery, K.addons.setAddonAutoUpdate.useMutation, K.addons.applyAutoUpdateToAll.useMutation, K.addons.custom.useMutation, K.addons.startJob.useMutation, K.addons.getJob.useQuery, K.addons.listJobs.useQuery, K.addons.cancelJob.useMutation, K.addons.onAddonLogs.useSubscription, K.addonSettings.getGlobalSettings.useQuery, K.addonSettings.updateGlobalSettings.useMutation, K.addonSettings.getIntegrationSettings.useQuery, K.addonSettings.getDeviceSettings.useQuery, K.addonSettings.updateDeviceSettings.useMutation, K.addonWidgets.listWidgets.useQuery, K.airQualitySensor.getStatus.useQuery, K.alarmPanel.arm.useMutation, K.alarmPanel.disarm.useMutation, K.alarmPanel.trigger.useMutation, K.alarmPanel.getStatus.useQuery, K.alerts.emit.useMutation, K.alerts.update.useMutation, K.alerts.list.useQuery, K.alerts.getUnreadCount.useQuery, K.alerts.markRead.useMutation, K.alerts.markAllRead.useMutation, K.alerts.dismiss.useMutation, K.ambientLightSensor.getStatus.useQuery, K.audioAnalysis.resolveDeviceSettings.useQuery, K.audioAnalysis.getDeviceSettingsContribution.useQuery, K.audioAnalysis.getDeviceLiveContribution.useQuery, K.audioAnalysis.applyDeviceSettingsPatch.useMutation, K.audioAnalyzer.analyseChunk.useMutation, K.audioAnalyzer.classify.useQuery, K.audioAnalyzer.attachDevice.useMutation, K.audioAnalyzer.detachDevice.useMutation, K.audioAnalyzer.isReady.useQuery, K.audioAnalyzer.dispose.useMutation, K.audioAnalyzer.reprobeAudioEngine.useMutation, K.audioCodec.listSupportedCodecs.useQuery, K.audioCodec.canHandle.useQuery, K.audioCodec.createDecodeSession.useMutation, K.audioCodec.createEncodeSession.useMutation, K.audioCodec.closeSession.useMutation, K.audioCodec.pushEncodedFrame.useMutation, K.audioCodec.pullPcm.useQuery, K.audioCodec.pushPcm.useMutation, K.audioCodec.pullEncoded.useQuery, K.audioCodec.flushEncode.useMutation, K.audioCodec.listActiveSessions.useQuery, K.audioMetrics.getCurrentSnapshot.useQuery, K.audioMetrics.getHistory.useQuery, K.automationControl.enable.useMutation, K.automationControl.disable.useMutation, K.automationControl.trigger.useMutation, K.automationControl.getStatus.useQuery, K.backup.listDestinations.useQuery, K.backup.trigger.useMutation, K.backup.listRuns.useQuery, K.backup.cancel.useMutation, K.backup.list.useQuery, K.backup.listLocations.useQuery, K.backup.getEntries.useQuery, K.backup.restore.useMutation, K.backup.getEncryption.useQuery, K.backup.setupEncryption.useMutation, K.backup.disableEncryption.useMutation, K.backup.checkBackupKey.useMutation, K.backup.delete.useMutation, K.backup.listArchives.useQuery, K.backup.upsertDestinationPolicy.useMutation, K.backup.previewSchedule.useQuery, K.backup.listSchedules.useQuery, K.backup.listAvailableDatabases.useQuery, K.backup.upsertSchedule.useMutation, K.backup.deleteSchedule.useMutation, K.battery.wakeForStream.useMutation, K.battery.getStatus.useQuery, K.binary.getStatus.useQuery, K.brightness.setBrightness.useMutation, K.brightness.getStatus.useQuery, K.broker.list.useQuery, K.broker.get.useQuery, K.broker.listProviders.useQuery, K.broker.add.useMutation, K.broker.remove.useMutation, K.broker.testConnection.useMutation, K.broker.getSettings.useQuery, K.broker.setSettings.useMutation, K.broker.getBrokerConfig.useQuery, K.broker.getSettingsSchema.useQuery, K.broker.testSettings.useMutation, K.broker.publish.useMutation, K.broker.subscribe.useMutation, K.broker.unsubscribe.useMutation, K.broker.getState.useQuery, K.broker.getStatus.useQuery, K.button.press.useMutation, K.calendars.listCalendars.useQuery, K.calendars.listEvents.useQuery, K.calendars.getPreferences.useQuery, K.calendars.setCalendarPreference.useMutation, K.cameraCredentials.getCredentials.useQuery, K.cameraCredentials.getStatus.useQuery, K.cameraGridLayout.getLayout.useQuery, K.cameraGridLayout.saveLayout.useMutation, K.cameraGridLayout.getDeviceSettingsContribution.useQuery, K.cameraGridLayout.getDeviceLiveContribution.useQuery, K.cameraGridLayout.applyDeviceSettingsPatch.useMutation, K.cameraPipelineConfig.getDeviceSettingsContribution.useQuery, K.cameraPipelineConfig.getDeviceLiveContribution.useQuery, K.cameraPipelineConfig.applyDeviceSettingsPatch.useMutation, K.cameraStreams.getCameraStreams.useQuery, K.cameraStreams.getBrokerStreams.useQuery, K.cameraStreams.getRtspEntries.useQuery, K.cameraStreams.getProfileRtspEntries.useQuery, K.cameraStreams.pickStream.useQuery, K.carbonMonoxide.getStatus.useQuery, K.climateControl.setMode.useMutation, K.climateControl.setFanMode.useMutation, K.climateControl.setPreset.useMutation, K.climateControl.setTarget.useMutation, K.climateControl.setTargetRange.useMutation, K.climateControl.setTargetHumidity.useMutation, K.climateControl.setSwingVertical.useMutation, K.climateControl.setSwingHorizontal.useMutation, K.climateControl.getStatus.useQuery, K.color.setColor.useMutation, K.color.getStatus.useQuery, K.connectionTest.testSettings.useMutation, K.connectionTest.describeTest.useQuery, K.connectivity.getStatus.useQuery, K.consumables.reset.useMutation, K.consumables.getStatus.useQuery, K.contact.getStatus.useQuery, K.control.setValue.useMutation, K.control.getStatus.useQuery, K.coreBlocks.list.useQuery, K.coreBlocks.get.useQuery, K.coreBlocks.create.useMutation, K.coreBlocks.update.useMutation, K.coreBlocks.delete.useMutation, K.coreBlocks.setEnabled.useMutation, K.coreBlocks.restart.useMutation, K.coreBlocks.compile.useMutation, K.coreBlocks.getBlockSettings.useQuery, K.coreBlocks.updateBlockSettings.useMutation, K.coreBlocks.migrateRawSecrets.useMutation, K.coreBlocks.getTypeDefs.useQuery, K.coreBlocks.createComposition.useMutation, K.coreBlocks.updateComposition.useMutation, K.coreBlocks.getComposition.useQuery, K.coreBlocks.listCompositions.useQuery, K.coreBlocks.getCustomization.useQuery, K.coreBlocks.listComposableCaps.useQuery, K.coreBlocks.validateComposition.useMutation, K.cover.open.useMutation, K.cover.close.useMutation, K.cover.stop.useMutation, K.cover.setPosition.useMutation, K.cover.setTiltPosition.useMutation, K.cover.getStatus.useQuery, K.dayNight.getOptions.useQuery, K.dayNight.setSettings.useMutation, K.dayNight.getStatus.useQuery, K.decoder.getInfo.useQuery, K.decoder.reprobeHwaccel.useMutation, K.detectionPipeline.getDeviceSettingsContribution.useQuery, K.detectionPipeline.getDeviceLiveContribution.useQuery, K.detectionPipeline.applyDeviceSettingsPatch.useMutation, K.deviceAdminLink.getAdminLink.useQuery, K.deviceAdoption.listCandidateFilters.useQuery, K.deviceAdoption.listCandidates.useQuery, K.deviceAdoption.getCandidate.useQuery, K.deviceAdoption.refresh.useMutation, K.deviceAdoption.adopt.useMutation, K.deviceAdoption.release.useMutation, K.deviceAdoption.resync.useMutation, K.deviceAdoption.getStatus.useQuery, K.deviceCredentials.listDeviceCredentials.useQuery, K.deviceCredentials.startEnrollment.useMutation, K.deviceCredentials.revokeDeviceCredential.useMutation, K.deviceCredentials.getDeviceCertificateSettings.useQuery, K.deviceCredentials.setDeviceCertificateSettings.useMutation, K.deviceCredentials.deleteDeviceCredential.useMutation, K.deviceCredentials.getDeviceCaStatus.useQuery, K.deviceCredentials.renameDeviceCredential.useMutation, K.deviceDiscovery.listDiscovered.useQuery, K.deviceDiscovery.refreshDiscovery.useMutation, K.deviceDiscovery.adoptDevice.useMutation, K.deviceDiscovery.releaseDevice.useMutation, K.deviceDiscovery.getStatus.useQuery, K.deviceExport.getStatus.useQuery, K.deviceExport.listSupportedDeviceKinds.useQuery, K.deviceExport.listExposedDevices.useQuery, K.deviceExport.exposeDevice.useMutation, K.deviceExport.unexposeDevice.useMutation, K.deviceExport.getDeviceSettingsContribution.useQuery, K.deviceExport.getDeviceLiveContribution.useQuery, K.deviceExport.applyDeviceSettingsPatch.useMutation, K.deviceExtension.listSources.useQuery;
3079
+ K.accessories.setChildHidden.useMutation, K.accessories.getStatus.useQuery, K.addonPages.listPages.useQuery, K.addons.list.useQuery, K.addons.getLogs.useQuery, K.addons.listPackages.useQuery, K.addons.installPackage.useMutation, K.addons.installFromWorkspace.useMutation, K.addons.isWorkspaceAvailable.useQuery, K.addons.listWorkspacePackages.useQuery, K.addons.uninstallPackage.useMutation, K.addons.listInstallations.useQuery, K.addons.reloadPackages.useMutation, K.addons.searchAvailable.useQuery, K.addons.listUpdates.useQuery, K.addons.updatePackage.useMutation, K.addons.rollbackPackage.useMutation, K.addons.forceRefresh.useMutation, K.addons.restartServer.useMutation, K.addons.getLastRestart.useQuery, K.addons.listFrameworkPackages.useQuery, K.addons.listCapabilityProviders.useQuery, K.addons.setCapabilityProviderEnabled.useMutation, K.addons.getVersions.useQuery, K.addons.getPackageDocs.useQuery, K.addons.restartAddon.useMutation, K.addons.retryLoad.useMutation, K.addons.getAutoUpdateSettings.useQuery, K.addons.setAutoUpdateSettings.useMutation, K.addons.getAddonAutoUpdate.useQuery, K.addons.setAddonAutoUpdate.useMutation, K.addons.applyAutoUpdateToAll.useMutation, K.addons.custom.useMutation, K.addons.startJob.useMutation, K.addons.getJob.useQuery, K.addons.listJobs.useQuery, K.addons.cancelJob.useMutation, K.addons.onAddonLogs.useSubscription, K.addonSettings.getGlobalSettings.useQuery, K.addonSettings.updateGlobalSettings.useMutation, K.addonSettings.getIntegrationSettings.useQuery, K.addonSettings.getDeviceSettings.useQuery, K.addonSettings.updateDeviceSettings.useMutation, K.addonWidgets.listWidgets.useQuery, K.airQualitySensor.getStatus.useQuery, K.alarmPanel.arm.useMutation, K.alarmPanel.disarm.useMutation, K.alarmPanel.trigger.useMutation, K.alarmPanel.getStatus.useQuery, K.alerts.emit.useMutation, K.alerts.update.useMutation, K.alerts.list.useQuery, K.alerts.getUnreadCount.useQuery, K.alerts.markRead.useMutation, K.alerts.markAllRead.useMutation, K.alerts.dismiss.useMutation, K.ambientLightSensor.getStatus.useQuery, K.audioAnalysis.resolveDeviceSettings.useQuery, K.audioAnalysis.getDeviceSettingsContribution.useQuery, K.audioAnalysis.getDeviceLiveContribution.useQuery, K.audioAnalysis.applyDeviceSettingsPatch.useMutation, K.audioAnalyzer.analyseChunk.useMutation, K.audioAnalyzer.classify.useQuery, K.audioAnalyzer.attachDevice.useMutation, K.audioAnalyzer.detachDevice.useMutation, K.audioAnalyzer.isReady.useQuery, K.audioAnalyzer.dispose.useMutation, K.audioAnalyzer.reprobeAudioEngine.useMutation, K.audioCodec.listSupportedCodecs.useQuery, K.audioCodec.canHandle.useQuery, K.audioCodec.createDecodeSession.useMutation, K.audioCodec.createEncodeSession.useMutation, K.audioCodec.closeSession.useMutation, K.audioCodec.pushEncodedFrame.useMutation, K.audioCodec.pullPcm.useQuery, K.audioCodec.pushPcm.useMutation, K.audioCodec.pullEncoded.useQuery, K.audioCodec.flushEncode.useMutation, K.audioCodec.listActiveSessions.useQuery, K.audioMetrics.getCurrentSnapshot.useQuery, K.audioMetrics.getHistory.useQuery, K.automationControl.enable.useMutation, K.automationControl.disable.useMutation, K.automationControl.trigger.useMutation, K.automationControl.getStatus.useQuery, K.backup.listDestinations.useQuery, K.backup.trigger.useMutation, K.backup.listRuns.useQuery, K.backup.cancel.useMutation, K.backup.list.useQuery, K.backup.listLocations.useQuery, K.backup.getEntries.useQuery, K.backup.restore.useMutation, K.backup.getEncryption.useQuery, K.backup.setupEncryption.useMutation, K.backup.disableEncryption.useMutation, K.backup.checkBackupKey.useMutation, K.backup.delete.useMutation, K.backup.listArchives.useQuery, K.backup.upsertDestinationPolicy.useMutation, K.backup.previewSchedule.useQuery, K.backup.listSchedules.useQuery, K.backup.listAvailableDatabases.useQuery, K.backup.upsertSchedule.useMutation, K.backup.deleteSchedule.useMutation, K.battery.wakeForStream.useMutation, K.battery.getStatus.useQuery, K.binary.getStatus.useQuery, K.brightness.setBrightness.useMutation, K.brightness.getStatus.useQuery, K.broker.list.useQuery, K.broker.get.useQuery, K.broker.listProviders.useQuery, K.broker.add.useMutation, K.broker.remove.useMutation, K.broker.testConnection.useMutation, K.broker.getSettings.useQuery, K.broker.setSettings.useMutation, K.broker.getBrokerConfig.useQuery, K.broker.getSettingsSchema.useQuery, K.broker.testSettings.useMutation, K.broker.publish.useMutation, K.broker.subscribe.useMutation, K.broker.unsubscribe.useMutation, K.broker.getState.useQuery, K.broker.getStatus.useQuery, K.button.press.useMutation, K.calendars.listCalendars.useQuery, K.calendars.listEvents.useQuery, K.calendars.getPreferences.useQuery, K.calendars.setCalendarPreference.useMutation, K.cameraCredentials.getCredentials.useQuery, K.cameraCredentials.getStatus.useQuery, K.cameraGridLayout.getLayout.useQuery, K.cameraGridLayout.saveLayout.useMutation, K.cameraGridLayout.getDeviceSettingsContribution.useQuery, K.cameraGridLayout.getDeviceLiveContribution.useQuery, K.cameraGridLayout.applyDeviceSettingsPatch.useMutation, K.cameraPipelineConfig.getDeviceSettingsContribution.useQuery, K.cameraPipelineConfig.getDeviceLiveContribution.useQuery, K.cameraPipelineConfig.applyDeviceSettingsPatch.useMutation, K.cameraStreams.getCameraStreams.useQuery, K.cameraStreams.getBrokerStreams.useQuery, K.cameraStreams.getRtspEntries.useQuery, K.cameraStreams.getProfileRtspEntries.useQuery, K.cameraStreams.pickStream.useQuery, K.carbonMonoxide.getStatus.useQuery, K.climateControl.setMode.useMutation, K.climateControl.setFanMode.useMutation, K.climateControl.setPreset.useMutation, K.climateControl.setTarget.useMutation, K.climateControl.setTargetRange.useMutation, K.climateControl.setTargetHumidity.useMutation, K.climateControl.setSwingVertical.useMutation, K.climateControl.setSwingHorizontal.useMutation, K.climateControl.getStatus.useQuery, K.color.setColor.useMutation, K.color.getStatus.useQuery, K.connectionTest.testSettings.useMutation, K.connectionTest.describeTest.useQuery, K.connectivity.getStatus.useQuery, K.consumables.reset.useMutation, K.consumables.getStatus.useQuery, K.contact.getStatus.useQuery, K.control.setValue.useMutation, K.control.getStatus.useQuery, K.coreBlocks.list.useQuery, K.coreBlocks.get.useQuery, K.coreBlocks.create.useMutation, K.coreBlocks.update.useMutation, K.coreBlocks.delete.useMutation, K.coreBlocks.setEnabled.useMutation, K.coreBlocks.restart.useMutation, K.coreBlocks.compile.useMutation, K.coreBlocks.getBlockSettings.useQuery, K.coreBlocks.updateBlockSettings.useMutation, K.coreBlocks.migrateRawSecrets.useMutation, K.coreBlocks.getTypeDefs.useQuery, K.coreBlocks.createComposition.useMutation, K.coreBlocks.updateComposition.useMutation, K.coreBlocks.getComposition.useQuery, K.coreBlocks.listCompositions.useQuery, K.coreBlocks.getCustomization.useQuery, K.coreBlocks.listComposableCaps.useQuery, K.coreBlocks.validateComposition.useMutation, K.cover.open.useMutation, K.cover.close.useMutation, K.cover.stop.useMutation, K.cover.setPosition.useMutation, K.cover.setTiltPosition.useMutation, K.cover.getStatus.useQuery, K.dayNight.getOptions.useQuery, K.dayNight.setSettings.useMutation, K.dayNight.getStatus.useQuery, K.decoder.getInfo.useQuery, K.decoder.reprobeHwaccel.useMutation, K.detectionPipeline.getDeviceSettingsContribution.useQuery, K.detectionPipeline.getDeviceLiveContribution.useQuery, K.detectionPipeline.applyDeviceSettingsPatch.useMutation, K.deviceAdminLink.getAdminLink.useQuery, K.deviceAdoption.listCandidateFilters.useQuery, K.deviceAdoption.listCandidates.useQuery, K.deviceAdoption.getCandidate.useQuery, K.deviceAdoption.refresh.useMutation, K.deviceAdoption.adopt.useMutation, K.deviceAdoption.release.useMutation, K.deviceAdoption.resync.useMutation, K.deviceAdoption.getStatus.useQuery, K.deviceCredentials.listDeviceCredentials.useQuery, K.deviceCredentials.startEnrollment.useMutation, K.deviceCredentials.revokeDeviceCredential.useMutation, K.deviceCredentials.getDeviceCertificateSettings.useQuery, K.deviceCredentials.setDeviceCertificateSettings.useMutation, K.deviceCredentials.deleteDeviceCredential.useMutation, K.deviceCredentials.getDeviceCaStatus.useQuery, K.deviceCredentials.renameDeviceCredential.useMutation, K.deviceDiscovery.listDiscovered.useQuery, K.deviceDiscovery.refreshDiscovery.useMutation, K.deviceDiscovery.adoptDevice.useMutation, K.deviceDiscovery.releaseDevice.useMutation, K.deviceDiscovery.getStatus.useQuery, K.deviceExport.getStatus.useQuery, K.deviceExport.listSupportedDeviceKinds.useQuery, K.deviceExport.listExposedDevices.useQuery, K.deviceExport.exposeDevice.useMutation, K.deviceExport.unexposeDevice.useMutation, K.deviceExport.getDeviceSettingsContribution.useQuery, K.deviceExport.getDeviceLiveContribution.useQuery, K.deviceExport.applyDeviceSettingsPatch.useMutation, K.deviceExtension.listSources.useQuery;
3080
3080
  var Ws = K.deviceExtension.listSlots.useQuery, Gs = K.deviceExtension.listCandidates.useQuery, Ks = K.deviceExtension.setSlot.useMutation;
3081
3081
  K.deviceHistory.listSeries.useQuery, K.deviceHistory.listNodeSeries.useQuery, K.deviceHistory.query.useQuery, K.deviceHistory.queryNode.useQuery, K.deviceHistory.queryMany.useQuery, K.deviceHistory.declareSeries.useMutation, K.deviceHistory.record.useMutation, K.deviceHistory.recordBuckets.useMutation, K.deviceHistory.getDeviceEnabled.useQuery, K.deviceHistory.setDeviceEnabled.useMutation, K.deviceHistory.getStatus.useQuery, K.deviceHistory.listOrphanSeries.useQuery, K.deviceHistory.deleteOrphanSeries.useMutation, K.deviceManager.allocateDeviceId.useMutation, K.deviceManager.migrateDevice.useMutation, K.deviceManager.registerDevice.useMutation, K.deviceManager.removeDevice.useMutation, K.deviceManager.persistConfig.useMutation, K.deviceManager.loadConfig.useQuery, K.deviceManager.loadRuntimeState.useQuery, K.deviceManager.loadMeta.useQuery, K.deviceManager.setName.useMutation, K.deviceManager.setLocation.useMutation, K.deviceManager.setType.useMutation, K.deviceManager.setIntegrationId.useMutation, K.deviceManager.setLinkDeviceId.useMutation, K.deviceManager.setPrimaryChildEntityId.useMutation, K.deviceManager.setChildLayout.useMutation, K.deviceManager.setDisplay.useMutation;
3082
3082
  var qs = K.deviceManager.getRoleDisplayDefaults.useQuery;
@@ -3086,7 +3086,7 @@ K.deviceManager.getChildren.useQuery, K.deviceManager.getChildrenBatch.useQuery,
3086
3086
  var Xs = K.deviceManager.getBindings.useQuery;
3087
3087
  K.deviceManager.getBindingsBatch.useQuery, K.deviceManager.getAllBindings.useQuery, K.deviceManager.listDeviceIdsByCaps.useQuery, K.deviceManager.setWrapperActive.useMutation, K.deviceManager.getWrapperActivation.useQuery, K.deviceManager.listWrappersForCap.useQuery, K.deviceManager.listBindableCapsForDeviceType.useQuery, K.deviceManager.getDeviceSettingsAggregate.useQuery, K.deviceManager.getDeviceLiveInfoAggregate.useQuery, K.deviceManager.getDeviceAggregate.useQuery, K.deviceManager.runDeviceAction.useMutation, K.deviceManager.updateDeviceField.useMutation, K.deviceManager.updateDeviceFieldsBatch.useMutation, K.deviceManager.discoverDevices.useMutation, K.deviceManager.adoptDevice.useMutation, K.deviceManager.getCreationSchema.useQuery, K.deviceManager.createDevice.useMutation, K.deviceManager.testCreationField.useMutation, K.deviceManager.adoptionListCandidateFilters.useQuery, K.deviceManager.adoptionListCandidates.useQuery, K.deviceManager.adoptionRefresh.useMutation, K.deviceManager.adoptionAdopt.useMutation, K.deviceManager.adoptionRelease.useMutation, K.deviceManager.adoptionStartJob.useMutation, K.deviceManager.adoptionListJobs.useQuery, K.deviceManager.adoptionCancelJob.useMutation, K.deviceManager.adoptionResync.useMutation, K.deviceManager.discoveryProviders.useQuery, K.deviceManager.discoverAllProviders.useMutation, K.deviceManager.discoverProvider.useMutation, K.deviceManager.providerCreationType.useQuery, K.deviceManager.providerDiscoveryParamsSchema.useQuery, K.deviceManager.testField.useMutation, K.deviceManager.getDeviceStatusAggregate.useQuery, K.deviceManager.getDeviceStatusAggregateBatch.useQuery, K.deviceOps.getStreamSources.useQuery, K.deviceOps.getConfigEntries.useQuery, K.deviceOps.setConfig.useMutation, K.deviceOps.runAction.useMutation, K.deviceOps.removeDevice.useMutation, K.deviceOps.getSettingsSchema.useQuery, K.deviceOps.getRawState.useQuery, K.deviceProvider.start.useMutation, K.deviceProvider.stop.useMutation, K.deviceProvider.getStatus.useQuery, K.deviceProvider.getDevices.useQuery, K.deviceProvider.reloadDevice.useMutation, K.deviceProvider.supportsDiscovery.useQuery, K.deviceProvider.discoverDevices.useMutation, K.deviceProvider.getDiscoveryParamsSchema.useQuery, K.deviceProvider.getManualCreationType.useQuery, K.deviceProvider.adoptDiscoveredDevice.useMutation, K.deviceProvider.supportsManualCreation.useQuery, K.deviceProvider.getChildCreationSchema.useQuery, K.deviceProvider.createDevice.useMutation, K.deviceProvider.testCreationField.useMutation;
3088
3088
  var Zs = K.deviceState.getSnapshot.useQuery;
3089
- K.deviceState.getCapSlice.useQuery, K.deviceState.getAllSnapshots.useQuery, K.deviceState.setCapSlice.useMutation, K.deviceState.claimFields.useMutation, K.deviceState.patchOwnedFields.useMutation, K.deviceState.releaseClaim.useMutation, K.deviceState.listClaims.useQuery, K.deviceState.getNativeCapSlice.useQuery, K.deviceStatus.getStatus.useQuery, K.dishwasher.start.useMutation, K.dishwasher.pause.useMutation, K.dishwasher.resume.useMutation, K.dishwasher.stop.useMutation, K.dishwasher.setProgram.useMutation, K.dishwasher.setPower.useMutation, K.dishwasher.setHalfLoad.useMutation, K.dishwasher.setHygienePlus.useMutation, K.dishwasher.setExtraDry.useMutation, K.dishwasher.setIntensiveZone.useMutation, K.dishwasher.setVarioSpeedPlus.useMutation, K.dishwasher.setChildLock.useMutation, K.dishwasher.setOption.useMutation, K.dishwasher.getOptions.useQuery, K.dishwasher.getStatus.useQuery, K.displayPalette.getPalette.useQuery, K.displayPalette.listPresets.useQuery, K.displayPalette.setPalette.useMutation, K.doorbell.getStatus.useQuery, K.enumSensor.getStatus.useQuery, K.eventEmitter.getStatus.useQuery, K.faceGallery.listIdentities.useQuery, K.faceGallery.createIdentity.useMutation, K.faceGallery.renameIdentity.useMutation, K.faceGallery.deleteIdentity.useMutation, K.faceGallery.listIdentitySamples.useQuery, K.faceGallery.auditIdentitySamples.useQuery, K.faceGallery.removeSample.useMutation, K.faceGallery.listRecentFaces.useQuery, K.faceGallery.getFaceByTrack.useQuery, K.faceGallery.getFaceMedia.useQuery, K.faceGallery.assignFace.useMutation, K.faceGallery.unassignFace.useMutation, K.faceGallery.deleteFace.useMutation, K.faceGallery.assignFaces.useMutation, K.faceGallery.unassignFaces.useMutation, K.faceGallery.suggestFaceClusters.useQuery, K.fanControl.setPercentage.useMutation, K.fanControl.setPreset.useMutation, K.fanControl.setDirection.useMutation, K.fanControl.setOscillating.useMutation, K.fanControl.getStatus.useQuery, K.featureProbe.getStatus.useQuery, K.flood.getStatus.useQuery, K.gas.getStatus.useQuery, K.groupStatus.getStatus.useQuery, K.heatingValve.getStatus.useQuery, K.humidifier.setOn.useMutation, K.humidifier.setTargetHumidity.useMutation, K.humidifier.setMode.useMutation, K.humidifier.getStatus.useQuery, K.humiditySensor.getStatus.useQuery, K.image.getStatus.useQuery, K.imageSettings.getOptions.useQuery, K.imageSettings.setSettings.useMutation, K.imageSettings.getStatus.useQuery, K.integrations.list.useQuery, K.integrations.get.useQuery, K.integrations.getByAddonId.useQuery, K.integrations.create.useMutation, K.integrations.update.useMutation, K.integrations.delete.useMutation, K.integrations.getSettings.useQuery, K.integrations.setSettings.useMutation, K.integrations.getAvailableTypes.useQuery, K.integrations.testConnection.useMutation, K.intercom.startSession.useMutation, K.intercom.handleAnswer.useMutation, K.intercom.stopSession.useMutation, K.intercom.startTalkSession.useMutation, K.intercom.pushTalkAudio.useMutation, K.intercom.endTalkSession.useMutation, K.intercom.getStatus.useQuery, K.keychainAdmin.status.useQuery, K.keychainAdmin.listSecrets.useQuery, K.keychainAdmin.listAudit.useQuery, K.keychainAdmin.reveal.useMutation, K.keychainAdmin.setSystemSecret.useMutation, K.keychainAdmin.importSecret.useMutation, K.keychainAdmin.deleteOrphans.useMutation, K.keychainAdmin.rotateMasterKey.useMutation, K.keychainAdmin.purgeRetiredKeys.useMutation, K.keychainAdmin.downloadRecoveryKey.useMutation, K.keychainAdmin.resetKeychain.useMutation, K.keychainAdmin.resetReport.useQuery, K.keychainAdmin.acknowledgeReset.useMutation, K.lawnMowerControl.startMowing.useMutation, K.lawnMowerControl.pause.useMutation, K.lawnMowerControl.dock.useMutation, K.lawnMowerControl.getStatus.useQuery, K.llm.generate.useMutation, K.llm.generateVision.useMutation, K.llm.cancel.useMutation, K.llm.listProfileKinds.useQuery, K.llm.listProfiles.useQuery, K.llm.upsertProfile.useMutation, K.llm.migrateRawSecrets.useMutation, K.llm.deleteProfile.useMutation, K.llm.testProfile.useMutation, K.llm.listModels.useMutation, K.llm.getDefaults.useQuery, K.llm.setDefault.useMutation, K.llm.getUsage.useQuery, K.llm.listModelCatalog.useQuery, K.llm.listRuntimeNodes.useQuery, K.llm.listNodeModels.useQuery, K.llm.resolveModelRef.useMutation, K.llm.installModel.useMutation, K.llm.deleteModel.useMutation, K.llm.getRuntimeStatus.useQuery, K.llm.startRuntime.useMutation, K.llm.stopRuntime.useMutation, K.localNetwork.list.useQuery, K.localNetwork.getPreferred.useQuery, K.localNetwork.getConnectionEndpoints.useQuery, K.localNetwork.getNotificationEndpoint.useQuery, K.localNetwork.setNotificationEndpoint.useMutation, K.localNetwork.getViewerEndpoints.useQuery, K.localNetwork.setViewerEndpoints.useMutation, K.localNetwork.getAddresses.useQuery, K.localNetwork.addCustomAddress.useMutation, K.localNetwork.removeCustomAddress.useMutation, K.localNetwork.setAddressRole.useMutation, K.localNetwork.getHubAddresses.useQuery, K.localNetwork.getAllowedAddresses.useQuery, K.localNetwork.setAllowedAddresses.useMutation, K.localNetwork.resetAllowlistToBestMatch.useMutation, K.localNetwork.getTlsStatus.useQuery, K.localNetwork.regenerateCertificate.useMutation, K.localNetwork.uploadCertificate.useMutation, K.localNetwork.downloadCa.useQuery, K.localNetwork.useStoredUploadedCertificate.useMutation, K.localNetwork.revertToGeneratedCertificate.useMutation, K.lockControl.lock.useMutation, K.lockControl.unlock.useMutation, K.lockControl.open.useMutation, K.lockControl.getStatus.useQuery, K.mediaPlayer.play.useMutation, K.mediaPlayer.pause.useMutation, K.mediaPlayer.stop.useMutation, K.mediaPlayer.next.useMutation, K.mediaPlayer.previous.useMutation, K.mediaPlayer.seek.useMutation, K.mediaPlayer.setVolume.useMutation, K.mediaPlayer.setMute.useMutation, K.mediaPlayer.setShuffle.useMutation, K.mediaPlayer.setRepeat.useMutation, K.mediaPlayer.selectSource.useMutation, K.mediaPlayer.playMedia.useMutation, K.mediaPlayer.getStatus.useQuery, K.meshNetwork.getStatus.useQuery, K.meshNetwork.join.useMutation, K.meshNetwork.startLogin.useMutation, K.meshNetwork.leave.useMutation, K.meshNetwork.logout.useMutation, K.meshNetwork.listPeers.useQuery, K.meshNetwork.testConnection.useMutation, K.metricsProvider.collectSnapshot.useQuery, K.metricsProvider.getCached.useQuery, K.metricsProvider.getCurrent.useQuery, K.metricsProvider.getDiskSpace.useQuery, K.metricsProvider.getGpuInfo.useQuery, K.metricsProvider.getCpuTemperature.useQuery, K.metricsProvider.getProcessStats.useQuery, K.metricsProvider.listAddonInstances.useQuery, K.metricsProvider.getAddonStats.useQuery, K.metricsProvider.listNodeProcesses.useQuery, K.metricsProvider.getLoadSeries.useQuery, K.motion.isDetected.useQuery, K.motion.getStatus.useQuery, K.motionDetection.analyze.useMutation, K.motionDetection.removeCamera.useMutation, K.motionDetection.reset.useMutation, K.motionDetection.getDeviceSettingsContribution.useQuery, K.motionDetection.getDeviceLiveContribution.useQuery, K.motionDetection.applyDeviceSettingsPatch.useMutation, K.motionTrigger.setMotionTrigger.useMutation, K.motionTrigger.getStatus.useQuery, K.motionZones.getOptions.useQuery, K.motionZones.setZone.useMutation, K.motionZones.getStatus.useQuery, K.mqttBroker.listBrokers.useQuery, K.mqttBroker.getBrokerConfig.useQuery, K.mqttBroker.addBroker.useMutation, K.mqttBroker.removeBroker.useMutation, K.mqttBroker.testConnection.useMutation, K.mqttBroker.startEmbeddedBroker.useMutation, K.mqttBroker.stopEmbeddedBroker.useMutation, K.mqttBroker.getStatus.useQuery, K.nativeObjectDetection.getOptions.useQuery, K.nativeObjectDetection.setSettings.useMutation, K.nativeObjectDetection.setEnabled.useMutation, K.nativeObjectDetection.getStatus.useQuery, K.navigation.move.useMutation, K.navigation.stop.useMutation, K.navigation.goToPoint.useMutation, K.navigation.listActions.useQuery, K.navigation.runAction.useMutation, K.navigation.playSound.useMutation, K.navigation.setLightOn.useMutation, K.navigation.setLightMode.useMutation, K.navigation.setLightLevel.useMutation, K.navigation.getFeatures.useQuery, K.navigation.getStatus.useQuery, K.networkAccess.start.useMutation, K.networkAccess.stop.useMutation, K.networkAccess.getEndpoint.useQuery, K.networkAccess.getStatus.useQuery, K.networkAccess.listEndpoints.useQuery, K.networkLink.getStatus.useQuery, K.networkQuality.getDeviceStats.useQuery, K.networkQuality.getAllStats.useQuery, K.networkQuality.reportClientStats.useMutation, K.nodes.topology.useQuery, K.nodes.directory.useQuery, K.nodes.deployAddon.useMutation, K.nodes.undeployAddon.useMutation, K.nodes.restartAddon.useMutation, K.nodes.restartProcess.useMutation, K.nodes.restartNode.useMutation, K.nodes.shutdownNode.useMutation, K.nodes.renameNode.useMutation, K.nodes.clusterAddonStatus.useQuery, K.nodes.getCapUsageGraph.useQuery, K.nodes.getNodeAddons.useQuery, K.nodes.setProcessLogLevel.useMutation, K.nodes.executeQuery.useMutation;
3089
+ K.deviceState.getCapSlice.useQuery, K.deviceState.getAllSnapshots.useQuery, K.deviceState.setCapSlice.useMutation, K.deviceState.claimFields.useMutation, K.deviceState.patchOwnedFields.useMutation, K.deviceState.releaseClaim.useMutation, K.deviceState.listClaims.useQuery, K.deviceState.getNativeCapSlice.useQuery, K.deviceStatus.getStatus.useQuery, K.dishwasher.start.useMutation, K.dishwasher.pause.useMutation, K.dishwasher.resume.useMutation, K.dishwasher.stop.useMutation, K.dishwasher.setProgram.useMutation, K.dishwasher.setPower.useMutation, K.dishwasher.setHalfLoad.useMutation, K.dishwasher.setHygienePlus.useMutation, K.dishwasher.setExtraDry.useMutation, K.dishwasher.setIntensiveZone.useMutation, K.dishwasher.setVarioSpeedPlus.useMutation, K.dishwasher.setChildLock.useMutation, K.dishwasher.setOption.useMutation, K.dishwasher.getOptions.useQuery, K.dishwasher.getStatus.useQuery, K.displayPalette.getPalette.useQuery, K.displayPalette.listPresets.useQuery, K.displayPalette.setPalette.useMutation, K.doorbell.getStatus.useQuery, K.enumSensor.getStatus.useQuery, K.eventEmitter.getStatus.useQuery, K.faceGallery.listIdentities.useQuery, K.faceGallery.createIdentity.useMutation, K.faceGallery.renameIdentity.useMutation, K.faceGallery.deleteIdentity.useMutation, K.faceGallery.listIdentitySamples.useQuery, K.faceGallery.auditIdentitySamples.useQuery, K.faceGallery.removeSample.useMutation, K.faceGallery.listRecentFaces.useQuery, K.faceGallery.getFaceByTrack.useQuery, K.faceGallery.getFaceMedia.useQuery, K.faceGallery.assignFace.useMutation, K.faceGallery.unassignFace.useMutation, K.faceGallery.deleteFace.useMutation, K.faceGallery.assignFaces.useMutation, K.faceGallery.unassignFaces.useMutation, K.faceGallery.suggestFaceClusters.useQuery, K.fanControl.setPercentage.useMutation, K.fanControl.setPreset.useMutation, K.fanControl.setDirection.useMutation, K.fanControl.setOscillating.useMutation, K.fanControl.getStatus.useQuery, K.featureProbe.getStatus.useQuery, K.flood.getStatus.useQuery, K.gas.getStatus.useQuery, K.groupCommands.getStatus.useQuery, K.groupStatus.getStatus.useQuery, K.heatingValve.getStatus.useQuery, K.humidifier.setOn.useMutation, K.humidifier.setTargetHumidity.useMutation, K.humidifier.setMode.useMutation, K.humidifier.getStatus.useQuery, K.humiditySensor.getStatus.useQuery, K.image.getStatus.useQuery, K.imageSettings.getOptions.useQuery, K.imageSettings.setSettings.useMutation, K.imageSettings.getStatus.useQuery, K.integrations.list.useQuery, K.integrations.get.useQuery, K.integrations.getByAddonId.useQuery, K.integrations.create.useMutation, K.integrations.update.useMutation, K.integrations.delete.useMutation, K.integrations.getSettings.useQuery, K.integrations.setSettings.useMutation, K.integrations.getAvailableTypes.useQuery, K.integrations.testConnection.useMutation, K.intercom.startSession.useMutation, K.intercom.handleAnswer.useMutation, K.intercom.stopSession.useMutation, K.intercom.startTalkSession.useMutation, K.intercom.pushTalkAudio.useMutation, K.intercom.endTalkSession.useMutation, K.intercom.getStatus.useQuery, K.keychainAdmin.status.useQuery, K.keychainAdmin.listSecrets.useQuery, K.keychainAdmin.listAudit.useQuery, K.keychainAdmin.reveal.useMutation, K.keychainAdmin.setSystemSecret.useMutation, K.keychainAdmin.importSecret.useMutation, K.keychainAdmin.deleteOrphans.useMutation, K.keychainAdmin.rotateMasterKey.useMutation, K.keychainAdmin.purgeRetiredKeys.useMutation, K.keychainAdmin.downloadRecoveryKey.useMutation, K.keychainAdmin.resetKeychain.useMutation, K.keychainAdmin.resetReport.useQuery, K.keychainAdmin.acknowledgeReset.useMutation, K.lawnMowerControl.startMowing.useMutation, K.lawnMowerControl.pause.useMutation, K.lawnMowerControl.dock.useMutation, K.lawnMowerControl.getStatus.useQuery, K.llm.generate.useMutation, K.llm.generateVision.useMutation, K.llm.cancel.useMutation, K.llm.listProfileKinds.useQuery, K.llm.listProfiles.useQuery, K.llm.upsertProfile.useMutation, K.llm.migrateRawSecrets.useMutation, K.llm.deleteProfile.useMutation, K.llm.testProfile.useMutation, K.llm.listModels.useMutation, K.llm.getDefaults.useQuery, K.llm.setDefault.useMutation, K.llm.getUsage.useQuery, K.llm.listModelCatalog.useQuery, K.llm.listRuntimeNodes.useQuery, K.llm.listNodeModels.useQuery, K.llm.resolveModelRef.useMutation, K.llm.installModel.useMutation, K.llm.deleteModel.useMutation, K.llm.getRuntimeStatus.useQuery, K.llm.startRuntime.useMutation, K.llm.stopRuntime.useMutation, K.localNetwork.list.useQuery, K.localNetwork.getPreferred.useQuery, K.localNetwork.getConnectionEndpoints.useQuery, K.localNetwork.getNotificationEndpoint.useQuery, K.localNetwork.setNotificationEndpoint.useMutation, K.localNetwork.getViewerEndpoints.useQuery, K.localNetwork.setViewerEndpoints.useMutation, K.localNetwork.getAddresses.useQuery, K.localNetwork.addCustomAddress.useMutation, K.localNetwork.removeCustomAddress.useMutation, K.localNetwork.setAddressRole.useMutation, K.localNetwork.getHubAddresses.useQuery, K.localNetwork.getAllowedAddresses.useQuery, K.localNetwork.setAllowedAddresses.useMutation, K.localNetwork.resetAllowlistToBestMatch.useMutation, K.localNetwork.getTlsStatus.useQuery, K.localNetwork.regenerateCertificate.useMutation, K.localNetwork.uploadCertificate.useMutation, K.localNetwork.downloadCa.useQuery, K.localNetwork.useStoredUploadedCertificate.useMutation, K.localNetwork.revertToGeneratedCertificate.useMutation, K.lockControl.lock.useMutation, K.lockControl.unlock.useMutation, K.lockControl.open.useMutation, K.lockControl.getStatus.useQuery, K.mediaPlayer.play.useMutation, K.mediaPlayer.pause.useMutation, K.mediaPlayer.stop.useMutation, K.mediaPlayer.next.useMutation, K.mediaPlayer.previous.useMutation, K.mediaPlayer.seek.useMutation, K.mediaPlayer.setVolume.useMutation, K.mediaPlayer.setMute.useMutation, K.mediaPlayer.setShuffle.useMutation, K.mediaPlayer.setRepeat.useMutation, K.mediaPlayer.selectSource.useMutation, K.mediaPlayer.playMedia.useMutation, K.mediaPlayer.getStatus.useQuery, K.meshNetwork.getStatus.useQuery, K.meshNetwork.join.useMutation, K.meshNetwork.startLogin.useMutation, K.meshNetwork.leave.useMutation, K.meshNetwork.logout.useMutation, K.meshNetwork.listPeers.useQuery, K.meshNetwork.testConnection.useMutation, K.metricsProvider.collectSnapshot.useQuery, K.metricsProvider.getCached.useQuery, K.metricsProvider.getCurrent.useQuery, K.metricsProvider.getDiskSpace.useQuery, K.metricsProvider.getGpuInfo.useQuery, K.metricsProvider.getCpuTemperature.useQuery, K.metricsProvider.getProcessStats.useQuery, K.metricsProvider.listAddonInstances.useQuery, K.metricsProvider.getAddonStats.useQuery, K.metricsProvider.listNodeProcesses.useQuery, K.metricsProvider.getLoadSeries.useQuery, K.motion.isDetected.useQuery, K.motion.getStatus.useQuery, K.motionDetection.analyze.useMutation, K.motionDetection.removeCamera.useMutation, K.motionDetection.reset.useMutation, K.motionDetection.getDeviceSettingsContribution.useQuery, K.motionDetection.getDeviceLiveContribution.useQuery, K.motionDetection.applyDeviceSettingsPatch.useMutation, K.motionTrigger.setMotionTrigger.useMutation, K.motionTrigger.getStatus.useQuery, K.motionZones.getOptions.useQuery, K.motionZones.setZone.useMutation, K.motionZones.getStatus.useQuery, K.mqttBroker.listBrokers.useQuery, K.mqttBroker.getBrokerConfig.useQuery, K.mqttBroker.addBroker.useMutation, K.mqttBroker.removeBroker.useMutation, K.mqttBroker.testConnection.useMutation, K.mqttBroker.startEmbeddedBroker.useMutation, K.mqttBroker.stopEmbeddedBroker.useMutation, K.mqttBroker.getStatus.useQuery, K.nativeObjectDetection.getOptions.useQuery, K.nativeObjectDetection.setSettings.useMutation, K.nativeObjectDetection.setEnabled.useMutation, K.nativeObjectDetection.getStatus.useQuery, K.navigation.move.useMutation, K.navigation.stop.useMutation, K.navigation.goToPoint.useMutation, K.navigation.listActions.useQuery, K.navigation.runAction.useMutation, K.navigation.playSound.useMutation, K.navigation.setLightOn.useMutation, K.navigation.setLightMode.useMutation, K.navigation.setLightLevel.useMutation, K.navigation.getFeatures.useQuery, K.navigation.getStatus.useQuery, K.networkAccess.start.useMutation, K.networkAccess.stop.useMutation, K.networkAccess.getEndpoint.useQuery, K.networkAccess.getStatus.useQuery, K.networkAccess.listEndpoints.useQuery, K.networkLink.getStatus.useQuery, K.networkQuality.getDeviceStats.useQuery, K.networkQuality.getAllStats.useQuery, K.networkQuality.reportClientStats.useMutation, K.nodes.topology.useQuery, K.nodes.directory.useQuery, K.nodes.deployAddon.useMutation, K.nodes.undeployAddon.useMutation, K.nodes.restartAddon.useMutation, K.nodes.restartProcess.useMutation, K.nodes.restartNode.useMutation, K.nodes.shutdownNode.useMutation, K.nodes.renameNode.useMutation, K.nodes.clusterAddonStatus.useQuery, K.nodes.getCapUsageGraph.useQuery, K.nodes.getNodeAddons.useQuery, K.nodes.setProcessLogLevel.useMutation, K.nodes.executeQuery.useMutation;
3090
3090
  var Qs = K.notificationOutput.listTargetKinds.useQuery, $s = K.notificationOutput.listTargets.useQuery;
3091
3091
  K.notificationOutput.getTarget.useQuery, K.notificationOutput.discoverTargets.useQuery, K.notificationOutput.probeTargetConfig.useMutation, K.notificationOutput.send.useMutation, K.notificationOutput.testTarget.useMutation, K.notificationOutput.upsertTarget.useMutation, K.notificationOutput.deleteTarget.useMutation, K.notificationOutput.setTargetEnabled.useMutation, K.notificationRules.listRules.useQuery, K.notificationRules.getRule.useQuery, K.notificationRules.createRule.useMutation, K.notificationRules.updateRule.useMutation, K.notificationRules.deleteRule.useMutation, K.notificationRules.setRuleEnabled.useMutation, K.notificationRules.listSequences.useQuery, K.notificationRules.getSequence.useQuery, K.notificationRules.createSequence.useMutation, K.notificationRules.updateSequence.useMutation, K.notificationRules.deleteSequence.useMutation, K.notificationRules.getClipRetentionAsks.useQuery, K.notificationRules.listDeviceMutes.useQuery, K.notificationRules.setDeviceMuted.useMutation, K.notificationRules.testRule.useMutation, K.notificationRules.previewStateSummary.useMutation, K.notificationRules.getConditionCatalog.useQuery, K.notificationRules.getTemplateCatalog.useQuery, K.notificationRules.previewTemplate.useMutation, K.notificationRules.getHistory.useQuery, K.notificationRules.getRuleLastRuns.useQuery, K.notificationRules.resolveArtifactUrl.useQuery, K.notificationRules.listSnoozes.useQuery, K.notificationRules.createSnooze.useMutation, K.notificationRules.cancelSnooze.useMutation, K.notificationRules.getAlarmConfig.useQuery, K.notificationRules.setAlarmConfig.useMutation, K.notificationRules.createAlarmProfile.useMutation, K.notificationRules.renameAlarmProfile.useMutation, K.notificationRules.deleteAlarmProfile.useMutation, K.notificationRules.activateAlarmProfile.useMutation, K.notificationRules.getAlarmSensors.useQuery, K.notifier.send.useMutation, K.notifier.cancel.useMutation, K.notifier.getStatus.useQuery, K.numericSensor.getStatus.useQuery, K.oidcConnections.connectionFormSchema.useQuery, K.oidcConnections.listConnections.useQuery, K.oidcConnections.createConnection.useMutation, K.oidcConnections.updateConnection.useMutation, K.oidcConnections.deleteConnection.useMutation, K.osd.setOverlay.useMutation, K.osd.getStatus.useQuery, K.osdManager.getDeviceOsd.useQuery, K.osdManager.getSourceCatalog.useQuery, K.osdManager.getConditionSupport.useQuery, K.osdManager.setSlotBinding.useMutation, K.osdManager.clearSlotBinding.useMutation, K.osdManager.setSlotCameraEnabled.useMutation, K.osdManager.copyDeviceConfiguration.useMutation, K.osdManager.previewSlot.useMutation, K.osdManager.renderDevice.useMutation, K.osdManager.listTemplates.useQuery, K.osdManager.upsertTemplate.useMutation, K.osdManager.deleteTemplate.useMutation, K.petFeeder.feed.useMutation, K.petFeeder.cancelFeed.useMutation, K.petFeeder.resetDesiccant.useMutation, K.petFeeder.markFoodReplenished.useMutation, K.petFeeder.callPet.useMutation, K.petFeeder.playSound.useMutation, K.petFeeder.setChildLock.useMutation, K.petFeeder.setIndicatorLight.useMutation, K.petFeeder.setFeedSound.useMutation, K.petFeeder.setVolume.useMutation, K.petFeeder.getStatus.useQuery, K.pipelineAnalytics.getActiveTracks.useQuery, K.pipelineAnalytics.getTrack.useQuery, K.pipelineAnalytics.listTracks.useQuery, K.pipelineAnalytics.listRecentTracks.useQuery, K.pipelineAnalytics.clearTracks.useMutation;
3092
3092
  var ec = K.pipelineAnalytics.getMotionEvents.useQuery, tc = K.pipelineAnalytics.getObjectEvents.useQuery, nc = K.pipelineAnalytics.getAudioEvents.useQuery;
@@ -3271,7 +3271,7 @@ function qc(e, t) {
3271
3271
  return e.location === t;
3272
3272
  }
3273
3273
  function Jc(e, t) {
3274
- let n = le(t.map((e) => ({
3274
+ let n = de(t.map((e) => ({
3275
3275
  id: e.id,
3276
3276
  stableId: e.stableId,
3277
3277
  type: e.type,
@@ -3284,7 +3284,7 @@ function Yc(e, t) {
3284
3284
  if (t == null || t.length === 0) return /* @__PURE__ */ new Set();
3285
3285
  let n = new Map(e.map((e) => [e.id, e])), r = /* @__PURE__ */ new Map();
3286
3286
  for (let t of e) t.parentDeviceId === null || t.parentDeviceId === void 0 || r.set(t.parentDeviceId, [...r.get(t.parentDeviceId) ?? [], t]);
3287
- let i = (e) => e !== void 0 && e.type === G.Container, a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set();
3287
+ let i = (e) => e !== void 0 && e.type === W.Container, a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set();
3288
3288
  for (let r of e) {
3289
3289
  if (i(r)) {
3290
3290
  qc(r, t) && a.add(r.id);
@@ -4021,7 +4021,7 @@ function Ml(e) {
4021
4021
  ]
4022
4022
  }, a.value);
4023
4023
  }) });
4024
- let ge = ie.length, _e = n === "single" && e.singleDisplay === "field" && te.length > 0;
4024
+ let ge = ie.length, U = n === "single" && e.singleDisplay === "field" && te.length > 0;
4025
4025
  return /* @__PURE__ */ D("div", {
4026
4026
  className: "min-w-0 space-y-1",
4027
4027
  "data-testid": h,
@@ -4063,8 +4063,8 @@ function Ml(e) {
4063
4063
  "aria-expanded": M,
4064
4064
  "aria-controls": b,
4065
4065
  className: "min-w-0 flex-1 bg-transparent text-xs text-foreground outline-none placeholder:text-foreground-disabled",
4066
- value: _e && !M && k === "" ? te[0]?.label ?? "" : k,
4067
- placeholder: _e ? te[0]?.label ?? "" : pe,
4066
+ value: U && !M && k === "" ? te[0]?.label ?? "" : k,
4067
+ placeholder: U ? te[0]?.label ?? "" : pe,
4068
4068
  disabled: v,
4069
4069
  onChange: (e) => {
4070
4070
  j(e.target.value), N(!0), F(0);
@@ -4370,7 +4370,7 @@ function ql(e) {
4370
4370
  return typeof e == "object" && !!e && !Array.isArray(e);
4371
4371
  }
4372
4372
  function Jl(e) {
4373
- return typeof e == "string" ? e.trim().length > 0 : !!(te(e) || oe(e));
4373
+ return typeof e == "string" ? e.trim().length > 0 : !!(oe(e) || Ke(e));
4374
4374
  }
4375
4375
  function Yl(e) {
4376
4376
  return typeof e == "string" && e.trim().length > 0 ? e.trim() : "";
@@ -4463,7 +4463,7 @@ function tu({ field: e, values: t, disabled: n, onAction: r, onChangeMany: i })
4463
4463
  await r(e.signOutAction, e.key, {});
4464
4464
  let t = { [e.accountKey]: "" };
4465
4465
  e.countKey !== void 0 && (t[e.countKey] = 0), e.choiceKey !== void 0 && (t[e.choiceKey] = ""), e.countFromKey !== void 0 && (t[e.countFromKey] = []);
4466
- for (let n of e.secretKeys) t[n] = be;
4466
+ for (let n of e.secretKeys) t[n] = Se;
4467
4467
  i?.(t), y([]), s("idle"), l(null), p("");
4468
4468
  } catch (e) {
4469
4469
  h(e instanceof Error ? e.message : String(e));
@@ -5056,7 +5056,7 @@ var Gu = {
5056
5056
  y: 0,
5057
5057
  width: 1,
5058
5058
  height: 1
5059
- }, Ku = 16, qu = { type: G.Camera }, Ju = { touchAction: "none" }, Yu = "absolute flex h-6 w-6 items-center justify-center", Xu = [
5059
+ }, Ku = 16, qu = { type: W.Camera }, Ju = { touchAction: "none" }, Yu = "absolute flex h-6 w-6 items-center justify-center", Xu = [
5060
5060
  "nw",
5061
5061
  "n",
5062
5062
  "ne",
@@ -5714,7 +5714,7 @@ function yd(e) {
5714
5714
  function bd(e) {
5715
5715
  return I(e) === "waste" ? vd(e) : yd(e);
5716
5716
  }
5717
- pe.exclude(["full"]).options;
5717
+ fe.exclude(["full"]).options;
5718
5718
  function xd({ level: e, name: t, label: n, size: r = "md", className: i }) {
5719
5719
  let a = A(), o = n ?? _d(e, a);
5720
5720
  return /* @__PURE__ */ E(fl, {
@@ -5742,7 +5742,7 @@ function Cd(e, t) {
5742
5742
  one: "{{count}} cycle",
5743
5743
  other: "{{count}} cycles"
5744
5744
  }, { count: t.value });
5745
- let n = Te({
5745
+ let n = H({
5746
5746
  value: t.value,
5747
5747
  quantity: "duration",
5748
5748
  precision: 0
@@ -5768,7 +5768,7 @@ function Ed(e) {
5768
5768
  }
5769
5769
  function Dd({ item: e, warn: t, children: n }) {
5770
5770
  return /* @__PURE__ */ E("div", {
5771
- "data-form": ce(e),
5771
+ "data-form": L(e),
5772
5772
  className: `flex gap-2.5 rounded-md border p-3 ${t ? "border-warning/40 bg-warning/5" : "border-border-subtle"}`,
5773
5773
  children: n
5774
5774
  });
@@ -5904,7 +5904,7 @@ function Pd({ item: e }) {
5904
5904
  });
5905
5905
  }
5906
5906
  function Fd(e) {
5907
- switch (ce(e.item)) {
5907
+ switch (L(e.item)) {
5908
5908
  case "part": return /* @__PURE__ */ E(kd, { ...e });
5909
5909
  case "tank":
5910
5910
  case "bin": return /* @__PURE__ */ E(Ad, { item: e.item });
@@ -7398,9 +7398,9 @@ async function Mp(e, t, n = k) {
7398
7398
  function Np(e, t) {
7399
7399
  let n = e.headers.get("retry-after"), r = n === null ? NaN : Number(n);
7400
7400
  return {
7401
- code: e.headers.get(he) ?? void 0,
7402
- reason: e.headers.get(He) ?? t("uiLibrary.clipThumbnail.noReason", "no reason given"),
7403
- disposition: e.headers.get(Ce) ?? void 0,
7401
+ code: e.headers.get(He) ?? void 0,
7402
+ reason: e.headers.get(Ge) ?? t("uiLibrary.clipThumbnail.noReason", "no reason given"),
7403
+ disposition: e.headers.get(he) ?? void 0,
7404
7404
  retryAfterMs: Number.isFinite(r) && r > 0 ? r * 1e3 : null
7405
7405
  };
7406
7406
  }
@@ -7912,7 +7912,7 @@ function om(e, t) {
7912
7912
  let n = e.slot;
7913
7913
  return t.some((e) => e === n);
7914
7914
  }
7915
- function sm(e, t = Le, n = k) {
7915
+ function sm(e, t = Ee, n = k) {
7916
7916
  let r = (e) => t.indexOf(e);
7917
7917
  if (e.status === "pending") return { kind: "pending" };
7918
7918
  if (e.status === "error") return {
@@ -8102,7 +8102,7 @@ function wm({ options: e, tracked: t, nameOf: n, onToggle: r }) {
8102
8102
  });
8103
8103
  }
8104
8104
  function Tm({ deviceId: e, row: t, onSaved: n, readOnly: r = !1 }) {
8105
- let i = A(), a = je[t.slot].descriptor, o = t.value.deviceIds, s = fm(t.value), c = t.impliedSources ?? [], l = c.map((e) => e.deviceId), u = t.sources.filter((e) => e.health === "unavailable").map((e) => e.deviceId), [d, f] = w(!1), [p, m] = w(o), [h, g] = w(s ?? []), [_, v] = w(""), [y, b] = w(null), x = Gs({
8105
+ let i = A(), a = Le[t.slot].descriptor, o = t.value.deviceIds, s = fm(t.value), c = t.impliedSources ?? [], l = c.map((e) => e.deviceId), u = t.sources.filter((e) => e.health === "unavailable").map((e) => e.deviceId), [d, f] = w(!1), [p, m] = w(o), [h, g] = w(s ?? []), [_, v] = w(""), [y, b] = w(null), x = Gs({
8106
8106
  deviceId: e,
8107
8107
  slotRef: t.slotRef
8108
8108
  }, { enabled: d }), S = Ks(), C = x.data?.candidates ?? [], T = (e) => C.find((t) => t.deviceId === e)?.name ?? t.sources.find((t) => t.deviceId === e)?.name ?? c.find((t) => t.deviceId === e)?.name ?? i("uiLibrary.associationSlotCard.deviceN", "Device {{id}}", { id: e }), O = (e) => {
@@ -8660,16 +8660,16 @@ function Lm({ deviceId: e }) {
8660
8660
  type: "range",
8661
8661
  "aria-label": t("uiLibrary.navigationPanel.lightLevel", "Light level"),
8662
8662
  className: "flex-1",
8663
- min: Ae,
8664
- max: Be,
8663
+ min: Ie,
8664
+ max: Me,
8665
8665
  step: 1,
8666
- value: c?.lightLevel ?? Be,
8666
+ value: c?.lightLevel ?? Me,
8667
8667
  disabled: i.busy,
8668
8668
  onChange: (e) => void i.setLightLevel(Number(e.target.value))
8669
8669
  }),
8670
8670
  l && /* @__PURE__ */ E("span", {
8671
8671
  className: "text-[10px] text-foreground-subtle w-8 text-right",
8672
- children: c?.lightLevel ?? Be
8672
+ children: c?.lightLevel ?? Me
8673
8673
  })
8674
8674
  ]
8675
8675
  })]
@@ -9405,7 +9405,7 @@ function rh({ bands: e, onChange: t, sensorContext: n }) {
9405
9405
  })]
9406
9406
  });
9407
9407
  }
9408
- var ih = Object.keys(xe);
9408
+ var ih = Object.keys(Pe);
9409
9409
  function ah(e, t) {
9410
9410
  return {
9411
9411
  type: "device-multiselect",
@@ -9413,7 +9413,7 @@ function ah(e, t) {
9413
9413
  label: e("uiLibrary.recordingBands.sensors", "Sensors"),
9414
9414
  description: e("uiLibrary.recordingBands.sensorsHint", "Sensors whose ACTIVE edge starts a recording — a contact opening, a PIR firing. Same-location devices are suggested first."),
9415
9415
  placeholder: e("uiLibrary.recordingBands.addSensor", "Add a sensor…"),
9416
- maxItems: Oe,
9416
+ maxItems: Ae,
9417
9417
  deviceFilter: {
9418
9418
  caps: ih,
9419
9419
  types: ["sensor"],
@@ -9514,7 +9514,7 @@ function sh({ band: e, onChange: t, onRemove: n, sensorContext: r }) {
9514
9514
  /* @__PURE__ */ E("input", {
9515
9515
  type: "checkbox",
9516
9516
  checked: e.triggers?.audioThresholdDbfs != null,
9517
- onChange: (e) => o({ audioThresholdDbfs: e.target.checked ? Me : void 0 })
9517
+ onChange: (e) => o({ audioThresholdDbfs: e.target.checked ? Re : void 0 })
9518
9518
  }),
9519
9519
  i("uiLibrary.recordingBands.audioAbove", "Audio above threshold"),
9520
9520
  e.triggers?.audioThresholdDbfs == null ? null : /* @__PURE__ */ E("input", {
@@ -9535,7 +9535,7 @@ function sh({ band: e, onChange: t, onRemove: n, sensorContext: r }) {
9535
9535
  children: [/* @__PURE__ */ E("span", {
9536
9536
  className: "text-foreground-subtle",
9537
9537
  children: i("uiLibrary.recordingBands.objects", "Objects")
9538
- }), Ne.map((t) => {
9538
+ }), ze.map((t) => {
9539
9539
  let n = e.triggers?.objectClasses ?? [], r = n.includes(t);
9540
9540
  return /* @__PURE__ */ E("button", {
9541
9541
  type: "button",
@@ -9568,7 +9568,7 @@ function sh({ band: e, onChange: t, onRemove: n, sensorContext: r }) {
9568
9568
  type: "number",
9569
9569
  min: 0,
9570
9570
  value: e.postBufferSec ?? "",
9571
- placeholder: String(me.postBufferSec),
9571
+ placeholder: String(ae.postBufferSec),
9572
9572
  onChange: (e) => t({ postBufferSec: oh(e.target.value) }),
9573
9573
  className: "w-16 rounded-md border border-border bg-background px-1 py-1 text-xs"
9574
9574
  }),
@@ -9620,11 +9620,11 @@ function uh({ initial: e, availableProfiles: t, saving: n, onSave: r, sensorCont
9620
9620
  ...f,
9621
9621
  ...e
9622
9622
  }
9623
- }), m = (e) => e === "" ? void 0 : Number(e), h = re({
9623
+ }), m = (e) => e === "" ? void 0 : Number(e), h = Oe({
9624
9624
  enabled: c || o.length > 0,
9625
9625
  bands: o,
9626
9626
  deviceDecision: c
9627
- }), g = i?.deviceSignal, _ = g === "present" || c, v = R(t, u.profiles), y = (e) => {
9627
+ }), g = i?.deviceSignal, _ = g === "present" || c, v = te(t, u.profiles), y = (e) => {
9628
9628
  let t = v.includes(e) ? v.filter((t) => t !== e) : [...v, e];
9629
9629
  d({
9630
9630
  ...u,
@@ -9641,7 +9641,7 @@ function uh({ initial: e, availableProfiles: t, saving: n, onSave: r, sensorCont
9641
9641
  }
9642
9642
  l(!1), e !== h && s([Ym(e)]);
9643
9643
  }, x = () => {
9644
- let e = t.length > 0 ? R(t, u.profiles) : u.profiles ? [...u.profiles] : void 0;
9644
+ let e = t.length > 0 ? te(t, u.profiles) : u.profiles ? [...u.profiles] : void 0;
9645
9645
  r({
9646
9646
  enabled: c || o.length > 0,
9647
9647
  bands: c ? [] : o,
@@ -9650,7 +9650,7 @@ function uh({ initial: e, availableProfiles: t, saving: n, onSave: r, sensorCont
9650
9650
  segmentSeconds: u.segmentSeconds,
9651
9651
  retention: u.retention
9652
9652
  });
9653
- }, S = ke.filter((e) => t.includes(e));
9653
+ }, S = we.filter((e) => t.includes(e));
9654
9654
  return /* @__PURE__ */ D("div", {
9655
9655
  className: "space-y-4",
9656
9656
  children: [
@@ -10483,7 +10483,7 @@ function Yh({ deviceId: e }) {
10483
10483
  ae((e) => Qd(e, oe, n));
10484
10484
  }, [oe]), de = ef(ie.toMs - ie.fromMs), fe = wc({
10485
10485
  deviceId: e,
10486
- provider: Re,
10486
+ provider: ve,
10487
10487
  fromMs: ie.fromMs,
10488
10488
  toMs: ie.toMs
10489
10489
  }), pe = rc({
@@ -10491,46 +10491,46 @@ function Yh({ deviceId: e }) {
10491
10491
  since: ie.fromMs,
10492
10492
  until: ie.toMs,
10493
10493
  bucketMs: de
10494
- }), me = fe.data?.read === "unreadable", he = fe.data?.read === "read" ? fe.data.ranges : qh, ge = d(() => Bh(he), [he]), _e = d(() => Gd(pe.data ?? [], ie.fromMs, de), [
10494
+ }), me = fe.data?.read === "unreadable", he = fe.data?.read === "read" ? fe.data.ranges : qh, ge = d(() => Bh(he), [he]), U = d(() => Gd(pe.data ?? [], ie.fromMs, de), [
10495
10495
  pe.data,
10496
10496
  ie.fromMs,
10497
10497
  de
10498
- ]), ve = i === null ? void 0 : _e.find((e) => e.index === i), ye = ve !== void 0, be = ve?.startMs ?? 0, U = ve ? Math.min(ve.endMs, ie.toMs) : 0, xe = tc({
10498
+ ]), _e = i === null ? void 0 : U.find((e) => e.index === i), ye = _e !== void 0, be = _e?.startMs ?? 0, xe = _e ? Math.min(_e.endMs, ie.toMs) : 0, Se = tc({
10499
10499
  deviceId: e,
10500
10500
  since: be,
10501
- until: U,
10501
+ until: xe,
10502
10502
  limit: V,
10503
10503
  projection: "slim"
10504
- }, { enabled: ye && z.has("object") }), Se = ec({
10504
+ }, { enabled: ye && z.has("object") }), Ce = ec({
10505
10505
  deviceId: e,
10506
10506
  since: be,
10507
- until: U,
10507
+ until: xe,
10508
10508
  limit: V,
10509
10509
  projection: "slim"
10510
- }, { enabled: ye && z.has("motion") }), Ce = nc({
10510
+ }, { enabled: ye && z.has("motion") }), we = nc({
10511
10511
  deviceId: e,
10512
10512
  since: be,
10513
- until: U,
10513
+ until: xe,
10514
10514
  limit: V,
10515
10515
  projection: "slim"
10516
- }, { enabled: ye && z.has("audio") }), we = d(() => {
10517
- if (!ve) return [];
10516
+ }, { enabled: ye && z.has("audio") }), Te = d(() => {
10517
+ if (!_e) return [];
10518
10518
  let e = [];
10519
- if (z.has("object")) for (let t of xe.data ?? []) e.push({
10519
+ if (z.has("object")) for (let t of Se.data ?? []) e.push({
10520
10520
  id: String(t.id),
10521
10521
  timestamp: t.timestamp,
10522
10522
  kind: "object",
10523
10523
  label: t.label ?? t.className,
10524
10524
  mediaUrl: t.mediaUrl
10525
10525
  });
10526
- if (z.has("motion")) for (let n of Se.data ?? []) e.push({
10526
+ if (z.has("motion")) for (let n of Ce.data ?? []) e.push({
10527
10527
  id: String(n.id),
10528
10528
  timestamp: n.timestamp,
10529
10529
  kind: "motion",
10530
10530
  label: t("uiLibrary.recordingTimeline.motionClip", "Motion ({{count}})", { count: n.regionCount }),
10531
10531
  mediaUrl: n.mediaUrl
10532
10532
  });
10533
- if (z.has("audio")) for (let n of Ce.data ?? []) e.push({
10533
+ if (z.has("audio")) for (let n of we.data ?? []) e.push({
10534
10534
  id: String(n.id),
10535
10535
  timestamp: n.timestamp,
10536
10536
  kind: "audio",
@@ -10539,24 +10539,24 @@ function Yh({ deviceId: e }) {
10539
10539
  });
10540
10540
  return e.toSorted((e, t) => t.timestamp - e.timestamp);
10541
10541
  }, [
10542
- ve,
10542
+ _e,
10543
10543
  z,
10544
- xe.data,
10545
10544
  Se.data,
10546
10545
  Ce.data,
10546
+ we.data,
10547
10547
  t
10548
- ]), W = d(() => !!(z.has("object") && (xe.data?.length ?? 0) === V || z.has("motion") && (Se.data?.length ?? 0) === V || z.has("audio") && (Ce.data?.length ?? 0) === V), [
10548
+ ]), Ee = d(() => !!(z.has("object") && (Se.data?.length ?? 0) === V || z.has("motion") && (Ce.data?.length ?? 0) === V || z.has("audio") && (we.data?.length ?? 0) === V), [
10549
10549
  z,
10550
- xe.data,
10551
10550
  Se.data,
10552
10551
  Ce.data,
10552
+ we.data,
10553
10553
  V
10554
- ]), Te = m(async (t, i, a, o, c) => {
10554
+ ]), De = m(async (t, i, a, o, c) => {
10555
10555
  u(t), p(null);
10556
10556
  try {
10557
10557
  let t = await n.trpcClient.recording.getPlayback.query({
10558
10558
  deviceId: e,
10559
- provider: Re,
10559
+ provider: ve,
10560
10560
  fromMs: i,
10561
10561
  toMs: a
10562
10562
  });
@@ -10573,7 +10573,7 @@ function Yh({ deviceId: e }) {
10573
10573
  n,
10574
10574
  e,
10575
10575
  r
10576
- ]), Ee = m((e) => {
10576
+ ]), Oe = m((e) => {
10577
10577
  let t = qd(e, ge);
10578
10578
  if (!t) return;
10579
10579
  if (C.current) {
@@ -10586,18 +10586,18 @@ function Yh({ deviceId: e }) {
10586
10586
  hour: "2-digit",
10587
10587
  minute: "2-digit"
10588
10588
  })}`;
10589
- Te(`seek:${t.fromMs}`, t.fromMs, t.toMs, n, t.fromMs);
10589
+ De(`seek:${t.fromMs}`, t.fromMs, t.toMs, n, t.fromMs);
10590
10590
  }, [
10591
10591
  ge,
10592
- Te,
10592
+ De,
10593
10593
  P
10594
- ]), De = m(() => {
10594
+ ]), ke = m(() => {
10595
10595
  j("timeline");
10596
- }, [j]), Oe = m((e) => {
10596
+ }, [j]), Ae = m((e) => {
10597
10597
  M(e, "timeline");
10598
- }, [M]), ke = m((e) => {
10598
+ }, [M]), je = m((e) => {
10599
10599
  N(qd(e, ge)?.fromMs ?? e, "timeline");
10600
- }, [ge, N]), Ae = m((e) => {
10600
+ }, [ge, N]), Me = m((e) => {
10601
10601
  if (C.current) {
10602
10602
  P(e.timestamp - Gh, "timeline");
10603
10603
  return;
@@ -10606,10 +10606,10 @@ function Yh({ deviceId: e }) {
10606
10606
  hour: "2-digit",
10607
10607
  minute: "2-digit"
10608
10608
  })}`;
10609
- Te(`${e.kind}:${e.id}`, e.timestamp - Gh, e.timestamp + Kh, t, e.timestamp);
10610
- }, [Te, P]), je = m((e) => {
10609
+ De(`${e.kind}:${e.id}`, e.timestamp - Gh, e.timestamp + Kh, t, e.timestamp);
10610
+ }, [De, P]), W = m((e) => {
10611
10611
  a((t) => t === e ? null : e);
10612
- }, []), Me = fe.isLoading, Ne = pe.isLoading, Pe = (xe.isLoading || Se.isLoading || Ce.isLoading) && ye, Fe = d(() => tf(ie.fromMs, ie.toMs, 5), [ie.fromMs, ie.toMs]), Ie = S ? k.scrubbing ? k.scrubEpoch : k.playheadEpoch : o, Le = S && (_ === "playing" || _ === "paused");
10612
+ }, []), Ne = fe.isLoading, Pe = pe.isLoading, Fe = (Se.isLoading || Ce.isLoading || we.isLoading) && ye, Ie = d(() => tf(ie.fromMs, ie.toMs, 5), [ie.fromMs, ie.toMs]), Le = S ? k.scrubbing ? k.scrubEpoch : k.playheadEpoch : o, Re = S && (_ === "playing" || _ === "paused");
10613
10613
  return /* @__PURE__ */ D("div", {
10614
10614
  className: "space-y-3",
10615
10615
  children: [
@@ -10636,7 +10636,7 @@ function Yh({ deviceId: e }) {
10636
10636
  className: "flex justify-end",
10637
10637
  children: /* @__PURE__ */ E(Nh, {
10638
10638
  deviceId: e,
10639
- epochMs: Ie
10639
+ epochMs: Le
10640
10640
  })
10641
10641
  }),
10642
10642
  h.channelOpen ? /* @__PURE__ */ D("div", {
@@ -10652,7 +10652,7 @@ function Yh({ deviceId: e }) {
10652
10652
  className: "tabular-nums text-foreground-subtle",
10653
10653
  children: new Date(v).toLocaleTimeString()
10654
10654
  }) : null,
10655
- Le ? /* @__PURE__ */ D("button", {
10655
+ Re ? /* @__PURE__ */ D("button", {
10656
10656
  type: "button",
10657
10657
  "data-testid": "frame-push-rate-toggle",
10658
10658
  onClick: R,
@@ -10688,19 +10688,19 @@ function Yh({ deviceId: e }) {
10688
10688
  children: [/* @__PURE__ */ E("div", {
10689
10689
  className: "text-[10px] font-semibold uppercase tracking-wider text-foreground-subtle",
10690
10690
  children: t("uiLibrary.recordingTimeline.recorded", "Recorded")
10691
- }), Me ? /* @__PURE__ */ E("div", { className: "h-5 animate-pulse rounded bg-background/40" }) : ge.length === 0 ? /* @__PURE__ */ E(of, {
10691
+ }), Ne ? /* @__PURE__ */ E("div", { className: "h-5 animate-pulse rounded bg-background/40" }) : ge.length === 0 ? /* @__PURE__ */ E(of, {
10692
10692
  icon: Vn,
10693
10693
  title: t("uiLibrary.recordingTimeline.noRecordings", "No recordings for this window.")
10694
10694
  }) : /* @__PURE__ */ E(Ph, {
10695
10695
  windowFrom: ie.fromMs,
10696
10696
  windowTo: ie.toMs,
10697
10697
  spans: ge,
10698
- playheadMs: Ie,
10699
- onSeek: Ee,
10698
+ playheadMs: Le,
10699
+ onSeek: Oe,
10700
10700
  ...S ? {
10701
- onScrubStart: De,
10702
- onScrubMove: Oe,
10703
- onScrubEnd: ke
10701
+ onScrubStart: ke,
10702
+ onScrubMove: Ae,
10703
+ onScrubEnd: je
10704
10704
  } : {}
10705
10705
  })]
10706
10706
  }),
@@ -10709,17 +10709,17 @@ function Yh({ deviceId: e }) {
10709
10709
  children: [/* @__PURE__ */ E("div", {
10710
10710
  className: "text-[10px] font-semibold uppercase tracking-wider text-foreground-subtle",
10711
10711
  children: t("uiLibrary.recordingTimeline.density", "Events · density")
10712
- }), Ne ? /* @__PURE__ */ E("div", { className: "h-6 animate-pulse rounded bg-background/40" }) : /* @__PURE__ */ E(pp, {
10712
+ }), Pe ? /* @__PURE__ */ E("div", { className: "h-6 animate-pulse rounded bg-background/40" }) : /* @__PURE__ */ E(pp, {
10713
10713
  windowFrom: ie.fromMs,
10714
10714
  windowTo: ie.toMs,
10715
- buckets: _e,
10715
+ buckets: U,
10716
10716
  selectedIndex: i,
10717
- onSelectBucket: je
10717
+ onSelectBucket: W
10718
10718
  })]
10719
10719
  }),
10720
10720
  /* @__PURE__ */ E("div", {
10721
10721
  className: "relative h-3",
10722
- children: Fe.map((e) => /* @__PURE__ */ E("span", {
10722
+ children: Ie.map((e) => /* @__PURE__ */ E("span", {
10723
10723
  className: "absolute -translate-x-1/2 text-[9px] text-foreground-subtle",
10724
10724
  style: { left: `${e.pct}%` },
10725
10725
  children: e.label
@@ -10727,14 +10727,14 @@ function Yh({ deviceId: e }) {
10727
10727
  })
10728
10728
  ]
10729
10729
  }),
10730
- ve ? /* @__PURE__ */ E(zh, {
10731
- clips: we,
10732
- loading: Pe,
10730
+ _e ? /* @__PURE__ */ E(zh, {
10731
+ clips: Te,
10732
+ loading: Fe,
10733
10733
  busyKey: c,
10734
- onPlay: Ae,
10734
+ onPlay: Me,
10735
10735
  enabledKinds: z,
10736
10736
  onToggleKind: B,
10737
- hasMore: W,
10737
+ hasMore: Ee,
10738
10738
  onLoadMore: ne
10739
10739
  }) : /* @__PURE__ */ E("p", {
10740
10740
  className: "text-[11px] text-foreground-subtle",
@@ -10748,7 +10748,7 @@ function Yh({ deviceId: e }) {
10748
10748
  S();
10749
10749
  var Xh = 1440 * 60 * 1e3;
10750
10750
  function Zh({ deviceId: e }) {
10751
- let t = A(), n = Fi(), r = Oc({ deviceId: e }), i = Tc({ deviceId: e }), a = Ys({ deviceId: e }).data?.location ?? null, o = Xs({ deviceId: e }), s = o.status === "pending" ? "pending" : o.status === "error" ? "unknown" : o.data.entries.some((e) => e.capName === "recording-signal") ? "present" : "absent", c = Ec(), l = Dc(), { data: u } = kc(void 0, { staleTime: 3e4 }), f = d(() => Fe(u ?? [], e).map((e) => e.profile), [u, e]), p = (t) => {
10751
+ let t = A(), n = Fi(), r = Oc({ deviceId: e }), i = Tc({ deviceId: e }), a = Ys({ deviceId: e }).data?.location ?? null, o = Xs({ deviceId: e }), s = o.status === "pending" ? "pending" : o.status === "error" ? "unknown" : o.data.entries.some((e) => e.capName === "recording-signal") ? "present" : "absent", c = Ec(), l = Dc(), { data: u } = kc(void 0, { staleTime: 3e4 }), f = d(() => V(u ?? [], e).map((e) => e.profile), [u, e]), p = (t) => {
10752
10752
  c.mutate({
10753
10753
  deviceId: e,
10754
10754
  config: t
@@ -10765,10 +10765,10 @@ function Zh({ deviceId: e }) {
10765
10765
  l
10766
10766
  ]), g = d(() => Date.now(), []), _ = wc({
10767
10767
  deviceId: e,
10768
- provider: Re,
10768
+ provider: ve,
10769
10769
  fromMs: g - Xh,
10770
10770
  toMs: g
10771
- }), v = r.data ? Ve.safeParse(r.data) : null, y = v?.success ? v.data : null, b = i.data ? De.safeParse(i.data) : null, x = b?.success ? b.data : null, S = _.data?.read === "unreadable", C = _.data?.read === "read" ? _.data.ranges : [], w = C.reduce((e, t) => e + Math.max(0, t.endMs - t.startMs), 0), T = y?.enabled === !0 && y.activeMode === "continuous";
10771
+ }), v = r.data ? be.safeParse(r.data) : null, y = v?.success ? v.data : null, b = i.data ? Ve.safeParse(i.data) : null, x = b?.success ? b.data : null, S = _.data?.read === "unreadable", C = _.data?.read === "read" ? _.data.ranges : [], w = C.reduce((e, t) => e + Math.max(0, t.endMs - t.startMs), 0), T = y?.enabled === !0 && y.activeMode === "continuous";
10772
10772
  return /* @__PURE__ */ D("div", {
10773
10773
  className: "space-y-3",
10774
10774
  children: [/* @__PURE__ */ E(Ui, {
@@ -10855,8 +10855,8 @@ function Zh({ deviceId: e }) {
10855
10855
  //#region ../ui-library/src/widgets/host-widgets.ts
10856
10856
  S();
10857
10857
  var Qh = {
10858
- "host/motion-zones-grid": s(() => import("./MotionZonesSettings-DTU9fMJZ.mjs").then((e) => ({ default: e.MotionZonesSettings }))),
10859
- "host/privacy-mask-grid": s(() => import("./PrivacyMaskSettings-8MmRT5Ow.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))),
10858
+ "host/motion-zones-grid": s(() => import("./MotionZonesSettings-BG7GaCP3.mjs").then((e) => ({ default: e.MotionZonesSettings }))),
10859
+ "host/privacy-mask-grid": s(() => import("./PrivacyMaskSettings-3YeMlpoK.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))),
10860
10860
  "host/ptz-panel": Gm,
10861
10861
  "host/navigation-panel": Lm,
10862
10862
  "host/consumables-panel": Vd,
@@ -11903,18 +11903,18 @@ function Mg({ value: e, size: t = jg, className: n, alt: r }) {
11903
11903
  var Ng = "w-full rounded-md border border-border bg-background px-2.5 py-1.5 text-xs text-foreground focus:border-primary focus:ring-1 focus:ring-primary/30 outline-none disabled:opacity-50 disabled:cursor-not-allowed";
11904
11904
  function Pg({ value: e, onChange: t, disabled: n }) {
11905
11905
  let r = A(), i = [];
11906
- for (let e of Pe) i.includes(e.region) || i.push(e.region);
11906
+ for (let e of je) i.includes(e.region) || i.push(e.region);
11907
11907
  return /* @__PURE__ */ D("select", {
11908
11908
  className: Ng,
11909
11909
  value: e,
11910
11910
  disabled: n,
11911
11911
  onChange: (e) => t(e.target.value),
11912
- children: [!N(e) && /* @__PURE__ */ E("option", {
11912
+ children: [!De(e) && /* @__PURE__ */ E("option", {
11913
11913
  value: "",
11914
11914
  children: r("uiLibrary.timezoneSelector.select", "— Select timezone —")
11915
11915
  }), i.map((e) => /* @__PURE__ */ E("optgroup", {
11916
11916
  label: e,
11917
- children: Pe.filter((t) => t.region === e).map((e) => /* @__PURE__ */ E("option", {
11917
+ children: je.filter((t) => t.region === e).map((e) => /* @__PURE__ */ E("option", {
11918
11918
  value: e.id,
11919
11919
  children: e.label
11920
11920
  }, e.id))
@@ -11947,7 +11947,7 @@ function Rg({ label: e, description: t, required: n, span: r, htmlFor: i, childr
11947
11947
  });
11948
11948
  }
11949
11949
  function zg({ field: e, value: t, onChange: n, disabled: r, translationFn: i, multiline: a, children: o }) {
11950
- let s = ie(e), [c, l] = w(() => s && zs(t)), u = s && te(t);
11950
+ let s = R(e), [c, l] = w(() => s && zs(t)), u = s && oe(t);
11951
11951
  return u && !c && l(!0), !c && !u ? /* @__PURE__ */ E(O, { children: o }) : /* @__PURE__ */ E(Rg, {
11952
11952
  label: "label" in e ? e.label : void 0,
11953
11953
  description: "description" in e ? e.description : void 0,
@@ -12879,7 +12879,7 @@ function h_(e, t) {
12879
12879
  let n = { ...e.paramsStatic };
12880
12880
  if (e.paramsFromForm) for (let [r, i] of Object.entries(e.paramsFromForm)) {
12881
12881
  let e = t[i];
12882
- e != null && e !== "" && !ee(e) && (n[r] = e);
12882
+ e != null && e !== "" && !ne(e) && (n[r] = e);
12883
12883
  }
12884
12884
  return n;
12885
12885
  }
@@ -14696,12 +14696,12 @@ function Zv(e, t, n = Bv) {
14696
14696
  }
14697
14697
  //#endregion
14698
14698
  //#region ../ui-library/src/composites/detection-colors.ts
14699
- var Qv = _e(), $v = new Set([
14699
+ var Qv = We(), $v = new Set([
14700
14700
  "live",
14701
14701
  "recording",
14702
14702
  "heatmapScrub"
14703
14703
  ]);
14704
- Object.freeze(Object.fromEntries(Ie.filter((e) => !$v.has(e)).map((e) => [e, P(Qv.swatches, Qv.fallbacks, e)])));
14704
+ Object.freeze(Object.fromEntries(Te.filter((e) => !$v.has(e)).map((e) => [e, ue(Qv.swatches, Qv.fallbacks, e)])));
14705
14705
  function ey(e) {
14706
14706
  let t = e[0];
14707
14707
  if (t === void 0) throw Error("display palette has no fallback colour");
@@ -14709,7 +14709,7 @@ function ey(e) {
14709
14709
  }
14710
14710
  //#endregion
14711
14711
  //#region ../ui-library/src/composites/detection-result-tree.tsx
14712
- ey(Qv.fallbacks), S(), _e(), g({ status: "absent" }), S(), S();
14712
+ ey(Qv.fallbacks), S(), We(), g({ status: "absent" }), S(), S();
14713
14713
  //#endregion
14714
14714
  //#region ../../node_modules/superjson/dist/double-indexed-kv.js
14715
14715
  var ty = class {
@@ -15174,30 +15174,30 @@ var ub = class {
15174
15174
  this.allowedErrorProps.push(...e);
15175
15175
  }
15176
15176
  };
15177
- ub.defaultInstance = new ub(), ub.serialize = ub.defaultInstance.serialize.bind(ub.defaultInstance), ub.deserialize = ub.defaultInstance.deserialize.bind(ub.defaultInstance), ub.stringify = ub.defaultInstance.stringify.bind(ub.defaultInstance), ub.parse = ub.defaultInstance.parse.bind(ub.defaultInstance), ub.registerClass = ub.defaultInstance.registerClass.bind(ub.defaultInstance), ub.registerSymbol = ub.defaultInstance.registerSymbol.bind(ub.defaultInstance), ub.registerCustom = ub.defaultInstance.registerCustom.bind(ub.defaultInstance), ub.allowErrorProps = ub.defaultInstance.allowErrorProps.bind(ub.defaultInstance), ub.serialize, ub.deserialize, ub.stringify, ub.parse, ub.registerClass, ub.registerCustom, ub.registerSymbol, ub.allowErrorProps, S(), g(null), S(), S(), S(), g(null), S(), S(), S(), S(), S(), W.AddonStarted, W.AddonInstalled, W.AddonRestarted, W.AddonUpdated, W.AddonStopped, W.AddonUninstalled, W.AddonCrashed, W.AddonError, W.DetectionPhaseTransition, W.DetectionResult, W.DetectionEvent, W.DetectionCameraNative, W.ProviderMotion, W.MotionOnMotionChanged, W.MotionAnalysis, W.MotionZonesRaw, W.ProviderDetection, W.PipelineAudioInferenceResult, W.AgentOnline, W.AgentOffline, W.DeviceRegistered, W.DeviceUnregistered, W.DeviceStateChanged, W.EventEmitted;
15178
- var db = Object.freeze([...z()]), fb = Object.freeze([
15179
- W.PipelineCameraMetricsSnapshot,
15180
- W.PipelineRunnerLoadSnapshot,
15181
- W.PipelineEngineMetricsSnapshot,
15182
- W.PipelineInferenceResult,
15183
- W.PipelineTrace,
15184
- W.PipelineProgress,
15185
- W.StreamBrokerMetricsSnapshot,
15186
- W.MetricsNodeResourcesSnapshot,
15187
- W.MetricsNodeProcessesSnapshot,
15188
- W.ClusterTopologySnapshot,
15189
- W.MotionAnalysis,
15190
- W.MotionZonesRaw,
15191
- W.DetectionResult,
15192
- W.PipelineAudioInferenceResult,
15193
- W.PlatformProbePhase,
15194
- W.BenchmarkProgress,
15195
- W.ModelDownloadProgress,
15196
- W.ProviderMotion
15177
+ ub.defaultInstance = new ub(), ub.serialize = ub.defaultInstance.serialize.bind(ub.defaultInstance), ub.deserialize = ub.defaultInstance.deserialize.bind(ub.defaultInstance), ub.stringify = ub.defaultInstance.stringify.bind(ub.defaultInstance), ub.parse = ub.defaultInstance.parse.bind(ub.defaultInstance), ub.registerClass = ub.defaultInstance.registerClass.bind(ub.defaultInstance), ub.registerSymbol = ub.defaultInstance.registerSymbol.bind(ub.defaultInstance), ub.registerCustom = ub.defaultInstance.registerCustom.bind(ub.defaultInstance), ub.allowErrorProps = ub.defaultInstance.allowErrorProps.bind(ub.defaultInstance), ub.serialize, ub.deserialize, ub.stringify, ub.parse, ub.registerClass, ub.registerCustom, ub.registerSymbol, ub.allowErrorProps, S(), g(null), S(), S(), S(), g(null), S(), S(), S(), S(), S(), U.AddonStarted, U.AddonInstalled, U.AddonRestarted, U.AddonUpdated, U.AddonStopped, U.AddonUninstalled, U.AddonCrashed, U.AddonError, U.DetectionPhaseTransition, U.DetectionResult, U.DetectionEvent, U.DetectionCameraNative, U.ProviderMotion, U.MotionOnMotionChanged, U.MotionAnalysis, U.MotionZonesRaw, U.ProviderDetection, U.PipelineAudioInferenceResult, U.AgentOnline, U.AgentOffline, U.DeviceRegistered, U.DeviceUnregistered, U.DeviceStateChanged, U.EventEmitted;
15178
+ var db = Object.freeze([...le()]), fb = Object.freeze([
15179
+ U.PipelineCameraMetricsSnapshot,
15180
+ U.PipelineRunnerLoadSnapshot,
15181
+ U.PipelineEngineMetricsSnapshot,
15182
+ U.PipelineInferenceResult,
15183
+ U.PipelineTrace,
15184
+ U.PipelineProgress,
15185
+ U.StreamBrokerMetricsSnapshot,
15186
+ U.MetricsNodeResourcesSnapshot,
15187
+ U.MetricsNodeProcessesSnapshot,
15188
+ U.ClusterTopologySnapshot,
15189
+ U.MotionAnalysis,
15190
+ U.MotionZonesRaw,
15191
+ U.DetectionResult,
15192
+ U.PipelineAudioInferenceResult,
15193
+ U.PlatformProbePhase,
15194
+ U.BenchmarkProgress,
15195
+ U.ModelDownloadProgress,
15196
+ U.ProviderMotion
15197
15197
  ]), pb = new Set(fb);
15198
15198
  //#endregion
15199
15199
  //#region ../ui-library/src/composites/device-controls/atoms.tsx
15200
- Object.freeze(db.filter((e) => !pb.has(e))), S(), Object.freeze([...new Set(ye.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), S(), S();
15200
+ Object.freeze(db.filter((e) => !pb.has(e))), S(), Object.freeze([...new Set(Be.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), S(), S();
15201
15201
  function mb({ value: e, unit: t, onDelta: n }) {
15202
15202
  let r = A();
15203
15203
  return /* @__PURE__ */ D("div", {
@@ -15475,7 +15475,7 @@ function Fb({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
15475
15475
  slice: (e) => e.state.lockControl
15476
15476
  }), { display: l, applyOptimistic: u } = Nb(s, { enabled: r ?? !0 }), [d, f] = w(null), [p, m] = w(!1), [h, g] = w(null);
15477
15477
  if (l === void 0) return null;
15478
- let _ = l.state === "locked" || l.state === "locking", v = !c || l.state === "jammed", y = i?.includes(M.LockOpen) === !0, b = n === "compact", x = () => {
15478
+ let _ = l.state === "locked" || l.state === "locking", v = !c || l.state === "jammed", y = i?.includes(xe.LockOpen) === !0, b = n === "compact", x = () => {
15479
15479
  u({ state: "locking" }), o?.lock({});
15480
15480
  }, S = () => {
15481
15481
  u({ state: "unlocking" }), o?.unlock({});
@@ -15514,14 +15514,14 @@ function Fb({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
15514
15514
  m(!1);
15515
15515
  }
15516
15516
  }
15517
- }, N = _ ? a("uiLibrary.lockPanel.unlock", "Unlock") : a("uiLibrary.lockPanel.lock", "Lock"), P = d === "open" ? a("uiLibrary.lockPanel.openDoorTitle", "Open door?") : a("uiLibrary.lockPanel.unlockTitle", "Unlock device?"), F = d === "open" ? a("uiLibrary.lockPanel.openDoorBody", "This will release the latch and open the door.") : a("uiLibrary.lockPanel.unlockBody", "This will unlock the device."), I = d === "open" ? a("uiLibrary.lockPanel.confirmOpen", "Confirm open") : a("uiLibrary.lockPanel.confirmUnlock", "Confirm unlock"), L = E(d === "open" ? Dn : vt, { className: "h-4 w-4 text-amber-400" });
15517
+ }, M = _ ? a("uiLibrary.lockPanel.unlock", "Unlock") : a("uiLibrary.lockPanel.lock", "Lock"), N = d === "open" ? a("uiLibrary.lockPanel.openDoorTitle", "Open door?") : a("uiLibrary.lockPanel.unlockTitle", "Unlock device?"), P = d === "open" ? a("uiLibrary.lockPanel.openDoorBody", "This will release the latch and open the door.") : a("uiLibrary.lockPanel.unlockBody", "This will unlock the device."), F = d === "open" ? a("uiLibrary.lockPanel.confirmOpen", "Confirm open") : a("uiLibrary.lockPanel.confirmUnlock", "Confirm unlock"), I = E(d === "open" ? Dn : vt, { className: "h-4 w-4 text-amber-400" });
15518
15518
  return /* @__PURE__ */ D("div", {
15519
15519
  className: Y("inline-flex items-center", n === "full" ? "gap-2" : "gap-1"),
15520
15520
  children: [
15521
15521
  /* @__PURE__ */ D("button", {
15522
15522
  type: "button",
15523
- "aria-label": N,
15524
- title: l.state === "jammed" ? a("uiLibrary.lockPanel.jammed", "Jammed") : N,
15523
+ "aria-label": M,
15524
+ title: l.state === "jammed" ? a("uiLibrary.lockPanel.jammed", "Jammed") : M,
15525
15525
  disabled: v,
15526
15526
  onClick: (e) => {
15527
15527
  e.stopPropagation(), T();
@@ -15551,8 +15551,8 @@ function Fb({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
15551
15551
  children: [
15552
15552
  /* @__PURE__ */ D(Th, { children: [/* @__PURE__ */ D(Oh, {
15553
15553
  className: "flex items-center gap-2",
15554
- children: [L, P]
15555
- }), /* @__PURE__ */ E(kh, { children: F })] }),
15554
+ children: [I, N]
15555
+ }), /* @__PURE__ */ E(kh, { children: P })] }),
15556
15556
  h !== null && /* @__PURE__ */ E("div", {
15557
15557
  className: "mt-2 px-3 py-2 rounded border border-danger/40 bg-danger/10 text-xs text-danger",
15558
15558
  children: h
@@ -15568,12 +15568,12 @@ function Fb({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
15568
15568
  type: "button",
15569
15569
  variant: "danger",
15570
15570
  size: "sm",
15571
- "aria-label": I,
15571
+ "aria-label": F,
15572
15572
  disabled: p,
15573
15573
  onClick: () => {
15574
15574
  j();
15575
15575
  },
15576
- children: [p && /* @__PURE__ */ E(nn, { className: "h-3.5 w-3.5 animate-spin" }), I]
15576
+ children: [p && /* @__PURE__ */ E(nn, { className: "h-3.5 w-3.5 animate-spin" }), F]
15577
15577
  })] })
15578
15578
  ]
15579
15579
  })
@@ -16165,7 +16165,7 @@ function Qb(e, t) {
16165
16165
  //#endregion
16166
16166
  //#region ../ui-library/src/lib/resolve-sensor-display.ts
16167
16167
  function $b(e) {
16168
- if (e !== void 0) return Ke(e) ?? e;
16168
+ if (e !== void 0) return P(e) ?? e;
16169
16169
  }
16170
16170
  function ex(e) {
16171
16171
  if (e.quantity !== void 0) {
@@ -16177,15 +16177,15 @@ function ex(e) {
16177
16177
  }
16178
16178
  }
16179
16179
  function tx(e) {
16180
- let t = e.capName === void 0 ? void 0 : e.display?.perCap?.[e.capName], n = t?.precision ?? e.display?.precision ?? e.roleDefault?.precision ?? e.declarationPrecision, r = ex(e), i = e.preference ?? fe, a = r === void 0 ? void 0 : Ge(r), o = r === void 0 ? void 0 : Ee(r, i), s = $b(t?.unit ?? e.display?.unit ?? e.roleDefault?.unit), c = s !== void 0 && a !== void 0 && s !== a && We(a, s), l = c ? s : o ?? "", u = r === "duration" || r === "information" || r === "duration-ms", d = (e) => u || a === void 0 || l.length === 0 || l === a ? e : B(e, a, l) ?? e;
16180
+ let t = e.capName === void 0 ? void 0 : e.display?.perCap?.[e.capName], n = t?.precision ?? e.display?.precision ?? e.roleDefault?.precision ?? e.declarationPrecision, r = ex(e), i = e.preference ?? me, a = r === void 0 ? void 0 : _e(r), o = r === void 0 ? void 0 : N(r, i), s = $b(t?.unit ?? e.display?.unit ?? e.roleDefault?.unit), c = s !== void 0 && a !== void 0 && s !== a && se(a, s), l = c ? s : o ?? "", u = r === "duration" || r === "information" || r === "duration-ms", d = (e) => u || a === void 0 || l.length === 0 || l === a ? e : pe(e, a, l) ?? e;
16181
16181
  return {
16182
16182
  unit: l,
16183
16183
  precision: n,
16184
16184
  toDisplayValue: d,
16185
- fromDisplayValue: (e) => u || a === void 0 || l.length === 0 || l === a ? e : B(e, l, a) ?? e,
16185
+ fromDisplayValue: (e) => u || a === void 0 || l.length === 0 || l === a ? e : pe(e, l, a) ?? e,
16186
16186
  format: (e) => {
16187
16187
  if (r !== void 0 && !c) {
16188
- let t = Te({
16188
+ let t = H({
16189
16189
  value: e,
16190
16190
  quantity: r,
16191
16191
  preference: i,
@@ -16436,7 +16436,7 @@ function hx({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
16436
16436
  slice: (e) => e.state.control
16437
16437
  }), { display: l, applyOptimistic: u } = Nb(s, { enabled: i ?? !0 });
16438
16438
  if (l === void 0) return null;
16439
- let d = !c, f = a?.sourceInfo?.quantity, p = L(f) && f !== "device" && f !== "none" ? f : void 0;
16439
+ let d = !c, f = a?.sourceInfo?.quantity, p = B(f) && f !== "device" && f !== "none" ? f : void 0;
16440
16440
  return /* @__PURE__ */ E("div", {
16441
16441
  "data-kind": l.kind,
16442
16442
  className: "inline-flex min-w-0 max-w-full items-center gap-1 rounded border border-border px-2 py-1 transition-colors",
@@ -16921,7 +16921,7 @@ function Fx({ trpc: e, deviceId: t, features: n, optimistic: r }) {
16921
16921
  slice: (e) => e.state.cover
16922
16922
  }), { display: c, applyOptimistic: l } = Nb(o, { enabled: r ?? !0 });
16923
16923
  if (a === void 0) return null;
16924
- let u = !s, d = (n ?? []).includes(M.CoverPositionable), f = (n ?? []).includes(M.CoverTilt), p = Dx(c?.state), m = c?.position ?? null, h = m !== null, g = c?.state === "open" || c?.state === "opening", _ = (e, t) => {
16924
+ let u = !s, d = (n ?? []).includes(xe.CoverPositionable), f = (n ?? []).includes(xe.CoverTilt), p = Dx(c?.state), m = c?.position ?? null, h = m !== null, g = c?.state === "open" || c?.state === "opening", _ = (e, t) => {
16925
16925
  u || !e || (t !== void 0 && l(t), e({}));
16926
16926
  }, v = (e) => {
16927
16927
  u || (l({ position: e }), a?.setPosition({ position: e }));
@@ -17174,7 +17174,7 @@ function Kx(e) {
17174
17174
  return t !== void 0 && Hx(t, n) ? {
17175
17175
  kind: "value",
17176
17176
  slice: n
17177
- } : e.addonId === Ue && e.snapshotStatus === "success" ? { kind: "quiet" } : { kind: "awaiting" };
17177
+ } : e.addonId === ce && e.snapshotStatus === "success" ? { kind: "quiet" } : { kind: "awaiting" };
17178
17178
  }
17179
17179
  //#endregion
17180
17180
  //#region ../ui-library/src/composites/device-controls/sensor-hero-card.tsx
@@ -18542,7 +18542,7 @@ function LS({ label: e, busy: t, variant: n, onClick: r, children: i }) {
18542
18542
  function RS({ trpc: e, deviceId: t, features: n, optimistic: r }) {
18543
18543
  let i = A(), { cap: a, slice: o, available: s } = AS(e, t), { display: c, applyOptimistic: l } = Nb(o, { enabled: r ?? !0 });
18544
18544
  if (a === void 0) return null;
18545
- let u = !s, d = (n ?? []).includes(M.ValvePositionable), f = Dx(c?.state), p = kS(c?.state, i), m = c?.position ?? null, h = m !== null, g = (e, t) => {
18545
+ let u = !s, d = (n ?? []).includes(xe.ValvePositionable), f = Dx(c?.state), p = kS(c?.state, i), m = c?.position ?? null, h = m !== null, g = (e, t) => {
18546
18546
  u || !e || (t !== void 0 && l(t), e({}));
18547
18547
  }, _ = (e) => {
18548
18548
  u || (l({ position: e }), a.setPosition({ position: e }));
@@ -19306,7 +19306,7 @@ function $S(e, t) {
19306
19306
  }
19307
19307
  function eC(e, t) {
19308
19308
  if (e === null) return "—";
19309
- let n = Te({
19309
+ let n = H({
19310
19310
  value: e,
19311
19311
  quantity: t,
19312
19312
  precision: 0
@@ -19616,7 +19616,7 @@ function aC({ icon: e, label: t, value: n }) {
19616
19616
  function oC({ trpc: e, deviceId: t }) {
19617
19617
  let n = A(), { slice: r } = $S(e, t);
19618
19618
  if (r === void 0) return null;
19619
- let i = XS(r.condition, n), a = ZS(r.condition), o = r.temperature === null ? void 0 : Te({
19619
+ let i = XS(r.condition, n), a = ZS(r.condition), o = r.temperature === null ? void 0 : H({
19620
19620
  value: r.temperature,
19621
19621
  quantity: "temperature",
19622
19622
  precision: 0
@@ -19639,7 +19639,7 @@ function oC({ trpc: e, deviceId: t }) {
19639
19639
  }),
19640
19640
  /* @__PURE__ */ E("span", {
19641
19641
  className: "text-base text-foreground-subtle",
19642
- children: o === void 0 ? Te({
19642
+ children: o === void 0 ? H({
19643
19643
  value: 0,
19644
19644
  quantity: "temperature"
19645
19645
  }).unit : o.unit
@@ -19836,7 +19836,7 @@ function mC({ trpc: e, deviceId: t, deviceName: n }) {
19836
19836
  S();
19837
19837
  var hC = 20, gC = 9, _C = "#f59e0b", vC = "#ef4444";
19838
19838
  function yC(e, t) {
19839
- let n = Te({
19839
+ let n = H({
19840
19840
  value: t,
19841
19841
  quantity: "duration"
19842
19842
  });
@@ -19846,7 +19846,7 @@ function yC(e, t) {
19846
19846
  });
19847
19847
  }
19848
19848
  function bC(e) {
19849
- return Math.min(we, Math.max(ge, e));
19849
+ return Math.min(ge, Math.max(Ne, e));
19850
19850
  }
19851
19851
  var xC = "\n@keyframes pf-eat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(2px)} }\n@keyframes pf-pulse { 0%,100%{opacity:.55} 50%{opacity:1} }\n@media (prefers-reduced-motion: reduce) {\n .pf-eat, .pf-pulse { animation: none !important; }\n}\n";
19852
19852
  function SC({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
@@ -20145,7 +20145,7 @@ function wC({ icon: e, label: t }) {
20145
20145
  });
20146
20146
  }
20147
20147
  function TC({ grams: e, low: t, eating: n }) {
20148
- let r = A(), i = Math.min(1, Math.max(0, (e ?? 0) / we)), a = t ? vC : _C, o = 52 - i * 24;
20148
+ let r = A(), i = Math.min(1, Math.max(0, (e ?? 0) / ge)), a = t ? vC : _C, o = 52 - i * 24;
20149
20149
  return /* @__PURE__ */ D("svg", {
20150
20150
  width: 72,
20151
20151
  height: 72,
@@ -20211,7 +20211,7 @@ function EC({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
20211
20211
  /* @__PURE__ */ E(DC, {
20212
20212
  label: a("uiLibrary.petFeeder.decreasePortion", "Decrease {{label}} portion", { label: e }),
20213
20213
  symbol: "−",
20214
- disabled: n || t <= ge,
20214
+ disabled: n || t <= Ne,
20215
20215
  onClick: () => r(bC(t - 1))
20216
20216
  }),
20217
20217
  /* @__PURE__ */ D("span", {
@@ -20224,7 +20224,7 @@ function EC({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
20224
20224
  /* @__PURE__ */ E(DC, {
20225
20225
  label: a("uiLibrary.petFeeder.increasePortion", "Increase {{label}} portion", { label: e }),
20226
20226
  symbol: "+",
20227
- disabled: n || t >= we,
20227
+ disabled: n || t >= ge,
20228
20228
  onClick: () => r(bC(t + 1))
20229
20229
  })
20230
20230
  ]
@@ -21563,7 +21563,7 @@ function Mw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
21563
21563
  slice: (e) => e.state.lockControl
21564
21564
  }), { display: s, applyOptimistic: c } = Nb(a, { enabled: r ?? !0 });
21565
21565
  if (i === void 0 || s === void 0) return null;
21566
- let l = Ew(s.state), u = Dw(s.state) || !o, d = n?.includes(M.LockOpen) === !0, f = () => {
21566
+ let l = Ew(s.state), u = Dw(s.state) || !o, d = n?.includes(xe.LockOpen) === !0, f = () => {
21567
21567
  u || (l ? (c({ state: "unlocking" }), i.unlock({})) : (c({ state: "locking" }), i.lock({})));
21568
21568
  }, p = () => {
21569
21569
  u || i.open({});
@@ -21621,7 +21621,7 @@ function Bw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
21621
21621
  slice: (e) => e.state.color
21622
21622
  }), c = Nb(a.slice, { enabled: r ?? !0 }), l = Nb(o.slice, { enabled: r ?? !0 }), u = Nb(s.slice, { enabled: r ?? !0 });
21623
21623
  if (a.cap === void 0 || c.display === void 0) return null;
21624
- let d = c.display.on === !0, f = !a.available, p = l.display?.percentage ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? Rw : zw, _ = (n?.includes(M.LightColorMired) ?? !1) && s.cap !== void 0, v = u.display?.mireds, y = !s.available;
21624
+ let d = c.display.on === !0, f = !a.available, p = l.display?.percentage ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? Rw : zw, _ = (n?.includes(xe.LightColorMired) ?? !1) && s.cap !== void 0, v = u.display?.mireds, y = !s.available;
21625
21625
  return /* @__PURE__ */ D("div", {
21626
21626
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-4",
21627
21627
  children: [
@@ -21746,7 +21746,7 @@ function Uw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
21746
21746
  slice: (e) => e.state.fanControl
21747
21747
  }), s = Nb(a.slice, { enabled: r ?? !0 }), c = Nb(o.slice, { enabled: r ?? !0 });
21748
21748
  if (a.cap === void 0 || s.display === void 0) return null;
21749
- let l = s.display.on === !0, u = !a.available, d = c.display?.percentage ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? Vw : Hw, h = n?.includes(M.FanSpeed) ?? !1, g = (n?.includes(M.FanOscillating) ?? !1) && o.cap !== void 0, _ = c.display?.availablePresets ?? [], v = (n?.includes(M.FanPreset) ?? !1) && o.cap !== void 0 && _.length > 0, y = c.display?.preset ?? "", b = c.display?.oscillating === !0, x = () => {
21749
+ let l = s.display.on === !0, u = !a.available, d = c.display?.percentage ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? Vw : Hw, h = n?.includes(xe.FanSpeed) ?? !1, g = (n?.includes(xe.FanOscillating) ?? !1) && o.cap !== void 0, _ = c.display?.availablePresets ?? [], v = (n?.includes(xe.FanPreset) ?? !1) && o.cap !== void 0 && _.length > 0, y = c.display?.preset ?? "", b = c.display?.oscillating === !0, x = () => {
21750
21750
  if (u) return;
21751
21751
  let e = !l;
21752
21752
  s.applyOptimistic({ on: e }), a.cap?.setState({ on: e });
@@ -21936,7 +21936,7 @@ function Xw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
21936
21936
  slice: (e) => e.state.mediaPlayer
21937
21937
  }), { display: c, applyOptimistic: l } = Nb(o, { enabled: r ?? !0 });
21938
21938
  if (a === void 0 || c === void 0) return null;
21939
- let u = !s, d = Gw(c.state), f = (n?.includes(M.MediaPlayerSeek) ?? !1) && c.durationMs !== null && c.durationMs > 0, p = n?.includes(M.MediaPlayerNext) ?? !1, m = n?.includes(M.MediaPlayerPrevious) ?? !1, h = (n?.includes(M.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
21939
+ let u = !s, d = Gw(c.state), f = (n?.includes(xe.MediaPlayerSeek) ?? !1) && c.durationMs !== null && c.durationMs > 0, p = n?.includes(xe.MediaPlayerNext) ?? !1, m = n?.includes(xe.MediaPlayerPrevious) ?? !1, h = (n?.includes(xe.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
21940
21940
  u || (d === "play" ? (l({ state: "playing" }), a.play({})) : (l({ state: "paused" }), a.pause({})));
21941
21941
  }, _ = c.currentMedia?.artist ?? c.currentMedia?.album ?? null, v = Kw(c.positionMs, c.durationMs), y = c.volumeLevel ?? 0;
21942
21942
  return /* @__PURE__ */ D("div", {
@@ -22830,7 +22830,7 @@ var zT = {
22830
22830
  HeroCard: Lx
22831
22831
  }
22832
22832
  };
22833
- Object.fromEntries(Object.values(G).map((e) => [e, zT[ae[e]]])), G.Cover, G.Valve, G.Thermostat, G.Climate, G.Control, G.Button, G.MediaPlayer, G.AlarmPanel, G.Lock, G.Vacuum, G.LawnMower, G.Humidifier, G.Switch, G.Siren, G.Light, G.Fan, G.WaterHeater, G.Sensor, G.Presence, G.EventEmitter, G.Notifier, G.Script, G.Automation, G.Camera, G.Hub, G.Update, G.Generic, G.Weather, G.Container, G.Image, G.PetFeeder, G.Dishwasher, new Set(Object.values(G));
22833
+ Object.fromEntries(Object.values(W).map((e) => [e, zT[M[e]]])), W.Cover, W.Valve, W.Thermostat, W.Climate, W.Control, W.Button, W.MediaPlayer, W.AlarmPanel, W.Lock, W.Vacuum, W.LawnMower, W.Humidifier, W.Switch, W.Siren, W.Light, W.Fan, W.WaterHeater, W.Sensor, W.Presence, W.EventEmitter, W.Notifier, W.Script, W.Automation, W.Camera, W.Hub, W.Update, W.Generic, W.Weather, W.Container, W.Image, W.PetFeeder, W.Dishwasher, new Set(Object.values(W));
22834
22834
  //#endregion
22835
22835
  //#region ../ui-library/src/lib/format-last-seen.ts
22836
22836
  var BT = 1e3;
@@ -26084,7 +26084,7 @@ function DM({ storageKey: e, options: t, defaultSize: n }) {
26084
26084
  }
26085
26085
  //#endregion
26086
26086
  //#region ../ui-library/src/composites/device-item/index.tsx
26087
- S(), S(), S(), g(null), S(), new Set([G.Sensor, G.Presence]), S(), g({}), S(), S(), Object.freeze([]), S(), S(), S(), xi("camstack:device-quick-detail", null), S(), S();
26087
+ S(), S(), S(), g(null), S(), new Set([W.Sensor, W.Presence]), S(), g({}), S(), S(), Object.freeze([]), S(), S(), S(), xi("camstack:device-quick-detail", null), S(), S();
26088
26088
  //#endregion
26089
26089
  //#region ../ui-library/src/composites/device-list/page-size-select.tsx
26090
26090
  function OM(e, t = k) {
@@ -28167,7 +28167,7 @@ function yF(e, t) {
28167
28167
  translate: (t, n) => pF(e, iF(), t, n)
28168
28168
  };
28169
28169
  }
28170
- S(), s(() => import("./MaskShapeCanvas-HNL0xNpy.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), s(() => import("./MotionZonesSettings-DTU9fMJZ.mjs").then((e) => ({ default: e.MotionZonesSettings }))), s(() => import("./SceneMonitorEditor-qbsyyldN.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), s(() => import("./PrivacyMaskSettings-8MmRT5Ow.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
28170
+ S(), s(() => import("./MaskShapeCanvas-HNL0xNpy.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), s(() => import("./MotionZonesSettings-BG7GaCP3.mjs").then((e) => ({ default: e.MotionZonesSettings }))), s(() => import("./SceneMonitorEditor-kqH1G0Cr.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), s(() => import("./PrivacyMaskSettings-3YeMlpoK.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
28171
28171
  //#endregion
28172
28172
  //#region src/i18n/index.ts
28173
28173
  var { useT: bF, Trans: xF, translate: SF } = yF("training", {
@@ -29599,7 +29599,7 @@ var mI = [
29599
29599
  ];
29600
29600
  function hI() {
29601
29601
  let e = { draft: 0 };
29602
- for (let t of ve) e[t] = 0;
29602
+ for (let t of ke) e[t] = 0;
29603
29603
  return e;
29604
29604
  }
29605
29605
  function gI(e, t) {
@@ -29610,7 +29610,7 @@ function gI(e, t) {
29610
29610
  ...e.label === void 0 ? {} : { label: e.label },
29611
29611
  kind: e.kind,
29612
29612
  origin: e.origin ?? null
29613
- })), r = n.some((e) => e.origin === null), i = F(n, t.map(jF), e.dismissed, { inferRemoved: r }), a = /* @__PURE__ */ new Map(), o = [], s = hI();
29613
+ })), r = n.some((e) => e.origin === null), i = Ue(n, t.map(jF), e.dismissed, { inferRemoved: r }), a = /* @__PURE__ */ new Map(), o = [], s = hI();
29614
29614
  for (let e of i.boxes) {
29615
29615
  if (s[e.status] += 1, e.status === "removed") {
29616
29616
  if (e.origin === void 0) continue;
@@ -31288,23 +31288,23 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31288
31288
  let { t: u } = bF(), f = x(null), p = e.find((e) => e.frameId === t), h = p?.deviceId ?? null, g = LL(() => PF([], [])), { editor: _, setEditor: v, resetEditor: y, selectOnly: b } = g, S = bL(), [C, T] = w(null), [k, A] = w(!0), [j, M] = w(!1), [N, P] = w(!1), [F, I] = w(null), L = sc({ frameIds: [t] }), R = d(() => e.map((e) => e.frameId), [e]), z = sc({ frameIds: R }, {
31289
31289
  enabled: R.length > 0,
31290
31290
  staleTime: 6e4
31291
- }), ee = d(() => yI(z.data ?? []), [z.data]), B = EF(p?.imageUrl === void 0 ? void 0 : Bi(p.imageUrl)), V = oc(), te = cc(), ne = uc(), { detector: H, schema: re } = wL(h), ie = x({
31291
+ }), B = d(() => yI(z.data ?? []), [z.data]), V = EF(p?.imageUrl === void 0 ? void 0 : Bi(p.imageUrl)), te = oc(), ne = cc(), H = uc(), { detector: re, schema: ie } = wL(h), ae = x({
31292
31292
  stored: L.data,
31293
31293
  copy: p
31294
31294
  });
31295
- ie.current = {
31295
+ ae.current = {
31296
31296
  stored: L.data,
31297
31297
  copy: p
31298
31298
  };
31299
- let ae = x(XF(PF([], []))), oe = ZF(_, ae.current), se = x(oe);
31300
- se.current = oe;
31301
- let ce = x(null), le = x(!1), de = p !== void 0;
31299
+ let oe = x(XF(PF([], []))), se = ZF(_, oe.current), ce = x(se);
31300
+ ce.current = se;
31301
+ let le = x(null), ue = x(!1), de = p !== void 0;
31302
31302
  l(() => {
31303
- let e = ce.current === t;
31304
- if (e && se.current && !le.current) return;
31305
- le.current = !1, ce.current = t, e || (S.fit(), T(null), I(null));
31306
- let { stored: n, copy: r } = ie.current, i = PF((n ?? []).filter((e) => e.mediaKey === t), r?.pipelineBoxes ?? [], r?.dismissed ?? []);
31307
- ae.current = XF(i), y(i);
31303
+ let e = le.current === t;
31304
+ if (e && ce.current && !ue.current) return;
31305
+ ue.current = !1, le.current = t, e || (S.fit(), T(null), I(null));
31306
+ let { stored: n, copy: r } = ae.current, i = PF((n ?? []).filter((e) => e.mediaKey === t), r?.pipelineBoxes ?? [], r?.dismissed ?? []);
31307
+ oe.current = XF(i), y(i);
31308
31308
  }, [
31309
31309
  t,
31310
31310
  L.dataUpdatedAt,
@@ -31312,35 +31312,35 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31312
31312
  y,
31313
31313
  S.fit
31314
31314
  ]), l(() => {
31315
- s?.(oe);
31316
- }, [oe, s]);
31315
+ s?.(se);
31316
+ }, [se, s]);
31317
31317
  let fe = d(() => gI(_, p?.pipelineBoxes ?? []), [_, p?.pipelineBoxes]);
31318
31318
  l(() => {
31319
31319
  T((e) => pI(e, _.boxes.map((e) => e.key)));
31320
31320
  }, [_.boxes]);
31321
- let pe = HL(oe), me = m(async (e) => {
31322
- p !== void 0 && (await ne.mutateAsync({
31321
+ let pe = HL(se), me = m(async (e) => {
31322
+ p !== void 0 && (await H.mutateAsync({
31323
31323
  ...CF(p),
31324
31324
  complete: e
31325
31325
  }), await a());
31326
31326
  }, [
31327
31327
  p,
31328
- ne,
31328
+ H,
31329
31329
  a
31330
31330
  ]), he = m(async (e) => {
31331
31331
  if (p === void 0) return;
31332
- if (c(null), H.kind !== "resolved") {
31333
- c(u(`assistGap.${H.gap}`));
31332
+ if (c(null), re.kind !== "resolved") {
31333
+ c(u(`assistGap.${re.gap}`));
31334
31334
  return;
31335
31335
  }
31336
- let t = await V.mutateAsync({
31336
+ let t = await te.mutateAsync({
31337
31337
  ...CF(p),
31338
31338
  subject: e === "package" ? { kind: "package" } : {
31339
31339
  kind: "objects",
31340
- modelId: H.modelId,
31341
- minScore: H.minScore
31340
+ modelId: re.modelId,
31341
+ minScore: re.minScore
31342
31342
  },
31343
- nodeId: H.nodeId
31343
+ nodeId: re.nodeId
31344
31344
  });
31345
31345
  if (t.kind === "refused") {
31346
31346
  c(t.reason === "no-zone" ? u("workbench.noZone") : t.detail === void 0 ? u("workbench.refused", { reason: t.reason }) : u("workbench.refusedDetail", {
@@ -31373,54 +31373,54 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31373
31373
  ].join(" — ")}. ${u("workbench.proposalsTail")}`);
31374
31374
  }, [
31375
31375
  p,
31376
- V,
31377
- H,
31376
+ te,
31377
+ re,
31378
31378
  _,
31379
31379
  v,
31380
31380
  c,
31381
31381
  u
31382
31382
  ]), ge = m((e) => {
31383
31383
  v((t) => IF(t, e, UL));
31384
- }, [v]), [_e, ve] = w(!1), ye = m(async () => {
31384
+ }, [v]), [U, _e] = w(!1), ve = m(async () => {
31385
31385
  if (p === void 0) return;
31386
31386
  let e = KF(_);
31387
- ve(!0);
31387
+ _e(!0);
31388
31388
  try {
31389
- await te.mutateAsync({
31389
+ await ne.mutateAsync({
31390
31390
  ...CF(p),
31391
31391
  annotations: [...JF(_)],
31392
31392
  dismissed: [...YF(_)],
31393
31393
  ...p.revision === void 0 ? {} : { expectedRevision: p.revision }
31394
- }), le.current = !0, I(null), await L.refetch(), z.refetch();
31394
+ }), ue.current = !0, I(null), await L.refetch(), z.refetch();
31395
31395
  } catch (e) {
31396
- let t = ue(e instanceof Error ? e.message : "");
31396
+ let t = ee(e instanceof Error ? e.message : "");
31397
31397
  if (t === null) throw e;
31398
31398
  I(t.currentRevision);
31399
31399
  return;
31400
31400
  } finally {
31401
- ve(!1);
31401
+ _e(!1);
31402
31402
  }
31403
31403
  await o?.(), c(e > 0 ? u("workbench.savedWithDrafts", { count: e }) : u("workbench.saved"));
31404
31404
  }, [
31405
31405
  p,
31406
31406
  _,
31407
- te,
31407
+ ne,
31408
31408
  L,
31409
31409
  z,
31410
31410
  o,
31411
31411
  c,
31412
31412
  u
31413
- ]), be = m(async () => {
31414
- le.current = !0, I(null), await Promise.all([L.refetch(), o?.()]);
31415
- }, [L, o]), U = B.src, xe = FI(_.boxes) && p !== void 0, Se = KF(_), Ce = (e) => r(e) ? (pe(() => {
31413
+ ]), ye = m(async () => {
31414
+ ue.current = !0, I(null), await Promise.all([L.refetch(), o?.()]);
31415
+ }, [L, o]), be = V.src, xe = FI(_.boxes) && p !== void 0, Se = KF(_), Ce = (e) => r(e) ? (pe(() => {
31416
31416
  i(e);
31417
31417
  }), !0) : !1;
31418
- VL(!_e, {
31418
+ VL(!U, {
31419
31419
  history: g,
31420
31420
  onNextFrame: () => Ce(1),
31421
31421
  onPrevFrame: () => Ce(-1),
31422
- onToggleComplete: () => p === void 0 || ne.isPending ? !1 : (me(!p.complete), !0),
31423
- onSave: () => !xe || _e || !oe ? !1 : (ye(), !0),
31422
+ onToggleComplete: () => p === void 0 || H.isPending ? !1 : (me(!p.complete), !0),
31423
+ onSave: () => !xe || U || !se ? !1 : (ve(), !0),
31424
31424
  onZoomIn: S.zoomIn,
31425
31425
  onZoomOut: S.zoomOut,
31426
31426
  onZoomFit: S.fit
@@ -31454,7 +31454,7 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31454
31454
  /* @__PURE__ */ D(X, {
31455
31455
  variant: "secondary",
31456
31456
  size: "sm",
31457
- disabled: V.isPending || H.kind !== "resolved",
31457
+ disabled: te.isPending || re.kind !== "resolved",
31458
31458
  onClick: () => void he("objects"),
31459
31459
  children: [/* @__PURE__ */ E(Gt, { className: "h-3 w-3" }), /* @__PURE__ */ E("span", {
31460
31460
  className: "ml-1",
@@ -31464,7 +31464,7 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31464
31464
  /* @__PURE__ */ D(X, {
31465
31465
  variant: "secondary",
31466
31466
  size: "sm",
31467
- disabled: V.isPending || H.kind !== "resolved",
31467
+ disabled: te.isPending || re.kind !== "resolved",
31468
31468
  onClick: () => void he("package"),
31469
31469
  children: [/* @__PURE__ */ E(Gt, { className: "h-3 w-3" }), /* @__PURE__ */ E("span", {
31470
31470
  className: "ml-1",
@@ -31475,11 +31475,11 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31475
31475
  }),
31476
31476
  /* @__PURE__ */ E("p", {
31477
31477
  className: "shrink-0 border-b border-border px-3 py-1 text-[11px] text-foreground-subtle",
31478
- children: H.kind === "resolved" ? u("workbench.proposalsFrom", {
31479
- model: H.modelId,
31480
- score: H.minScore.toFixed(2),
31481
- node: H.nodeId
31482
- }) : u(`assistGap.${H.gap}`)
31478
+ children: re.kind === "resolved" ? u("workbench.proposalsFrom", {
31479
+ model: re.modelId,
31480
+ score: re.minScore.toFixed(2),
31481
+ node: re.nodeId
31482
+ }) : u(`assistGap.${re.gap}`)
31483
31483
  }),
31484
31484
  p !== void 0 && /* @__PURE__ */ D("div", {
31485
31485
  className: "shrink-0 border-b border-border",
@@ -31500,8 +31500,8 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31500
31500
  children: /* @__PURE__ */ E(YI, {
31501
31501
  frame: p,
31502
31502
  history: g,
31503
- detector: H,
31504
- schema: re,
31503
+ detector: re,
31504
+ schema: ie,
31505
31505
  setNotice: c
31506
31506
  })
31507
31507
  })]
@@ -31514,7 +31514,7 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31514
31514
  review: fe,
31515
31515
  showRemoved: k,
31516
31516
  hover: C,
31517
- vocabulary: ee,
31517
+ vocabulary: B,
31518
31518
  onHover: T,
31519
31519
  onSelect: (e) => {
31520
31520
  b((t) => UF(t, e));
@@ -31543,14 +31543,14 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31543
31543
  return /* @__PURE__ */ D("div", {
31544
31544
  ref: f,
31545
31545
  "data-testid": "retrain-workbench",
31546
- className: `flex min-h-0 flex-1 flex-col gap-2 p-2 sm:p-3 ${_e ? "pointer-events-none opacity-70" : ""}`,
31547
- "aria-busy": _e,
31546
+ className: `flex min-h-0 flex-1 flex-col gap-2 p-2 sm:p-3 ${U ? "pointer-events-none opacity-70" : ""}`,
31547
+ "aria-busy": U,
31548
31548
  children: [
31549
31549
  /* @__PURE__ */ E(CL, {
31550
31550
  review: fe,
31551
31551
  savedCounts: p?.review?.summary.counts ?? null,
31552
31552
  savedApproximate: p?.review?.summary.approximate ?? !1,
31553
- dirty: oe,
31553
+ dirty: se,
31554
31554
  showRemoved: k,
31555
31555
  onShowRemovedChange: A
31556
31556
  }),
@@ -31564,7 +31564,7 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31564
31564
  }), /* @__PURE__ */ E(X, {
31565
31565
  variant: "secondary",
31566
31566
  size: "sm",
31567
- onClick: () => void be(),
31567
+ onClick: () => void ye(),
31568
31568
  children: u("workbench.reload")
31569
31569
  })]
31570
31570
  }),
@@ -31587,11 +31587,11 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31587
31587
  onUndo: g.undo,
31588
31588
  onRedo: g.redo
31589
31589
  }),
31590
- U === null || p === void 0 ? /* @__PURE__ */ E("div", {
31590
+ be === null || p === void 0 ? /* @__PURE__ */ E("div", {
31591
31591
  className: "flex flex-1 items-center justify-center gap-2 p-6 text-xs text-foreground-subtle",
31592
- children: B.failed ? u("workbench.couldNotLoad") : /* @__PURE__ */ D(O, { children: [/* @__PURE__ */ E(nn, { className: "h-3.5 w-3.5 animate-spin" }), u("workbench.loading")] })
31592
+ children: V.failed ? u("workbench.couldNotLoad") : /* @__PURE__ */ D(O, { children: [/* @__PURE__ */ E(nn, { className: "h-3.5 w-3.5 animate-spin" }), u("workbench.loading")] })
31593
31593
  }) : /* @__PURE__ */ E(vL, {
31594
- imageSrc: U,
31594
+ imageSrc: be,
31595
31595
  imageWidth: p.width,
31596
31596
  imageHeight: p.height,
31597
31597
  boxes: _.boxes,
@@ -31624,12 +31624,12 @@ function WL({ frames: e, activeFrameId: t, framePosition: n, canStep: r, onStep:
31624
31624
  v((e) => BF(e));
31625
31625
  },
31626
31626
  complete: p?.complete === !0,
31627
- completeDisabled: p === void 0 || ne.isPending,
31627
+ completeDisabled: p === void 0 || H.isPending,
31628
31628
  onCompleteChange: (e) => void me(e),
31629
31629
  canSave: xe,
31630
- saving: _e,
31631
- dirty: oe,
31632
- onSave: () => void ye()
31630
+ saving: U,
31631
+ dirty: se,
31632
+ onSave: () => void ve()
31633
31633
  })
31634
31634
  ]
31635
31635
  }), we]
@@ -34192,9 +34192,9 @@ function Uz(e) {
34192
34192
  }
34193
34193
  function Wz(e, t) {
34194
34194
  if (t) return typeof e == "string" && e.length > 0 ? e : void 0;
34195
- if (ee(e)) return be;
34195
+ if (ne(e)) return Se;
34196
34196
  if (typeof e == "string" && e.length > 0) return e;
34197
- te(e);
34197
+ oe(e);
34198
34198
  }
34199
34199
  function Gz({ trpc: e, navigate: t, createRequested: n = !1, onCreateConsumed: r }) {
34200
34200
  let { t: i } = bF(), a = Ud("training-provider"), o = au(), s = aN({
@@ -34464,7 +34464,7 @@ function Gz({ trpc: e, navigate: t, createRequested: n = !1, onCreateConsumed: r
34464
34464
  description: i("providers.absent.description"),
34465
34465
  action: /* @__PURE__ */ E(X, {
34466
34466
  variant: "outline",
34467
- onClick: () => t(Se("training-provider")),
34467
+ onClick: () => t(Ce("training-provider")),
34468
34468
  children: i("providers.absent.addons")
34469
34469
  })
34470
34470
  });