@camstack/addon-model-studio 1.1.304 → 1.1.306

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 (18) hide show
  1. package/dist/{MotionZonesSettings-DBGT8Nj8.mjs → MotionZonesSettings-BdAF3Lx2.mjs} +2 -2
  2. package/dist/{PrivacyMaskSettings-CLQVQM7P.mjs → PrivacyMaskSettings-bRMKWnGr.mjs} +4 -4
  3. package/dist/{SceneMonitorEditor-Bh49Hy9u.mjs → SceneMonitorEditor-DffVOhzN.mjs} +3 -3
  4. package/dist/_stub.js +628 -627
  5. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-C21hMYtP.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DVVRygHY.mjs} +3 -3
  6. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CsIeC3fr.mjs +26 -0
  7. package/dist/{hostInit-ZZzTzmNI.mjs → hostInit-fNjQtgdi.mjs} +2 -2
  8. package/dist/model-studio.addon.js +399 -40
  9. package/dist/model-studio.addon.mjs +399 -40
  10. package/dist/{player-overlays-Cyvfs2Sv.mjs → player-overlays-BQux3aXS.mjs} +1 -1
  11. package/dist/remoteEntry.js +1 -1
  12. package/dist/{responsive-m4ExMXS1.mjs → responsive-BOS8RfJa.mjs} +1 -1
  13. package/dist/{scene-monitor-copy-BQJaiY--.mjs → scene-monitor-copy-CaVNQakt.mjs} +1 -1
  14. package/dist/{square-CfhGQSpr.mjs → square-DCA-7eaY.mjs} +1 -1
  15. package/dist/{trash-2-a_u-D224.mjs → trash-2-DYZFq4gu.mjs} +1 -1
  16. package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D2OpYesY.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CWXLGHpz.mjs} +1 -1
  17. package/package.json +1 -1
  18. package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-ClO1ZruD.mjs +0 -26
package/dist/_stub.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import "./virtualExposes-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D2OpYesY.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CWXLGHpz.mjs";
3
3
  import { S as e, _ as t, a as n, b as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, r as p, t as m, u as h, v as g, y as _ } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
4
4
  import { n as v, r as y, t as b } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
5
5
  import { n as x, r as S, t as C } from "./ui-text-BqZa5BNK.mjs";
6
- import { $ as w, A as T, B as ee, C as te, D as ne, E as re, F as E, G as ie, H as D, I as ae, J as oe, K as se, L as O, M as ce, N as le, O as k, P as ue, Q as de, R as fe, S as A, T as pe, U as me, V as he, W as ge, X as _e, Y as ve, Z as ye, _ as be, a as xe, at as j, c as Se, d as Ce, dt as we, et as Te, f as Ee, ft as De, g as Oe, h as ke, i as Ae, it as je, j as Me, k as Ne, l as Pe, lt as Fe, m as Ie, n as Le, nt as Re, o as ze, ot as M, p as Be, q as Ve, r as He, rt as Ue, s as We, st as N, t as Ge, tt as Ke, u as qe, ut as Je, v as Ye, w as Xe, x as Ze, y as Qe, z as $e } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-ClO1ZruD.mjs";
7
- import { _ as P, a as et, c as tt, f as nt, g as rt, h as it, i as at, l as ot, m as st, o as ct, p as lt, r as ut, s as dt, t as ft, u as pt } from "./responsive-m4ExMXS1.mjs";
8
- import { d as mt, l as ht, u as gt } from "./scene-monitor-copy-BQJaiY--.mjs";
9
- import { i as _t, r as vt } from "./player-overlays-Cyvfs2Sv.mjs";
10
- import { r as yt, t as bt } from "./square-CfhGQSpr.mjs";
11
- import { t as xt } from "./trash-2-a_u-D224.mjs";
6
+ import { $ as w, A as T, B as ee, C as E, D as te, E as ne, F as D, G as re, H as O, I as ie, J as ae, K as oe, L as k, M as se, N as ce, O as le, P as ue, Q as de, R as A, T as fe, U as pe, V as me, W as he, X as ge, Y as _e, Z as ve, _ as ye, a as be, at as xe, b as Se, c as Ce, ct as j, d as we, dt as Te, et as Ee, f as De, ft as Oe, g as ke, h as Ae, i as je, it as Me, j as Ne, k as Pe, l as Fe, lt as M, m as Ie, n as Le, nt as Re, o as ze, ot as Be, p as Ve, q as He, r as Ue, rt as We, s as Ge, st as N, t as Ke, tt as qe, u as Je, v as Ye, w as Xe, x as Ze, y as Qe, z as $e } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CsIeC3fr.mjs";
7
+ import { _ as P, a as et, c as tt, f as nt, g as rt, h as it, i as at, l as ot, m as st, o as ct, p as lt, r as ut, s as dt, t as ft, u as pt } from "./responsive-BOS8RfJa.mjs";
8
+ import { d as mt, l as ht, u as gt } from "./scene-monitor-copy-CaVNQakt.mjs";
9
+ import { i as _t, r as vt } from "./player-overlays-BQux3aXS.mjs";
10
+ import { r as yt, t as bt } from "./square-DCA-7eaY.mjs";
11
+ import { t as xt } from "./trash-2-DYZFq4gu.mjs";
12
12
  import { t as St } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.js-BvzT760A.mjs";
13
13
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_2_dom__loadShare__.js-C8Ar0nzL.mjs";
14
14
  import "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-B-9Pn2K0.mjs";
@@ -2462,474 +2462,474 @@ function oi(e, t) {
2462
2462
  };
2463
2463
  }
2464
2464
  var si = {
2465
- [M.Camera]: {
2465
+ [j.Camera]: {
2466
2466
  icon: mt,
2467
2467
  labelKey: "uiLibrary.deviceMeta.type.camera",
2468
2468
  labelFallback: "Camera"
2469
2469
  },
2470
- [M.Hub]: {
2470
+ [j.Hub]: {
2471
2471
  icon: Yn,
2472
2472
  labelKey: "uiLibrary.deviceMeta.type.hub",
2473
2473
  labelFallback: "Hub"
2474
2474
  },
2475
- [M.Light]: {
2475
+ [j.Light]: {
2476
2476
  icon: Mn,
2477
2477
  labelKey: "uiLibrary.deviceMeta.type.light",
2478
2478
  labelFallback: "Light"
2479
2479
  },
2480
- [M.Siren]: {
2480
+ [j.Siren]: {
2481
2481
  icon: gr,
2482
2482
  labelKey: "uiLibrary.deviceMeta.type.siren",
2483
2483
  labelFallback: "Siren"
2484
2484
  },
2485
- [M.Switch]: {
2485
+ [j.Switch]: {
2486
2486
  icon: Ar,
2487
2487
  labelKey: "uiLibrary.deviceMeta.type.switch",
2488
2488
  labelFallback: "Switch"
2489
2489
  },
2490
- [M.Sensor]: {
2490
+ [j.Sensor]: {
2491
2491
  icon: Ct,
2492
2492
  labelKey: "uiLibrary.deviceMeta.type.sensor",
2493
2493
  labelFallback: "Sensor"
2494
2494
  },
2495
- [M.Thermostat]: {
2495
+ [j.Thermostat]: {
2496
2496
  icon: Or,
2497
2497
  labelKey: "uiLibrary.deviceMeta.type.thermostat",
2498
2498
  labelFallback: "Thermostat"
2499
2499
  },
2500
- [M.Climate]: {
2500
+ [j.Climate]: {
2501
2501
  icon: wt,
2502
2502
  labelKey: "uiLibrary.deviceMeta.type.climate",
2503
2503
  labelFallback: "Air conditioner"
2504
2504
  },
2505
- [M.Button]: {
2505
+ [j.Button]: {
2506
2506
  icon: Zt,
2507
2507
  labelKey: "uiLibrary.deviceMeta.type.button",
2508
2508
  labelFallback: "Button"
2509
2509
  },
2510
- [M.EventEmitter]: {
2510
+ [j.EventEmitter]: {
2511
2511
  icon: Zr,
2512
2512
  labelKey: "uiLibrary.deviceMeta.type.eventEmitter",
2513
2513
  labelFallback: "Event Emitter"
2514
2514
  },
2515
- [M.Update]: {
2515
+ [j.Update]: {
2516
2516
  icon: cr,
2517
2517
  labelKey: "uiLibrary.deviceMeta.type.update",
2518
2518
  labelFallback: "Update"
2519
2519
  },
2520
- [M.Generic]: {
2520
+ [j.Generic]: {
2521
2521
  icon: zt,
2522
2522
  labelKey: "uiLibrary.deviceMeta.type.generic",
2523
2523
  labelFallback: "Generic"
2524
2524
  },
2525
- [M.Notifier]: {
2525
+ [j.Notifier]: {
2526
2526
  icon: Nt,
2527
2527
  labelKey: "uiLibrary.deviceMeta.type.notifier",
2528
2528
  labelFallback: "Notifier"
2529
2529
  },
2530
- [M.Script]: {
2530
+ [j.Script]: {
2531
2531
  icon: ur,
2532
2532
  labelKey: "uiLibrary.deviceMeta.type.script",
2533
2533
  labelFallback: "Script"
2534
2534
  },
2535
- [M.Automation]: {
2535
+ [j.Automation]: {
2536
2536
  icon: Yr,
2537
2537
  labelKey: "uiLibrary.deviceMeta.type.automation",
2538
2538
  labelFallback: "Automation"
2539
2539
  },
2540
- [M.Lock]: {
2540
+ [j.Lock]: {
2541
2541
  icon: Ln,
2542
2542
  labelKey: "uiLibrary.deviceMeta.type.lock",
2543
2543
  labelFallback: "Lock"
2544
2544
  },
2545
- [M.Cover]: {
2545
+ [j.Cover]: {
2546
2546
  icon: It,
2547
2547
  labelKey: "uiLibrary.deviceMeta.type.cover",
2548
2548
  labelFallback: "Cover"
2549
2549
  },
2550
- [M.Valve]: {
2550
+ [j.Valve]: {
2551
2551
  icon: tr,
2552
2552
  labelKey: "uiLibrary.deviceMeta.type.valve",
2553
2553
  labelFallback: "Valve"
2554
2554
  },
2555
- [M.Humidifier]: {
2555
+ [j.Humidifier]: {
2556
2556
  icon: Gr,
2557
2557
  labelKey: "uiLibrary.deviceMeta.type.humidifier",
2558
2558
  labelFallback: "Humidifier"
2559
2559
  },
2560
- [M.WaterHeater]: {
2560
+ [j.WaterHeater]: {
2561
2561
  icon: kt,
2562
2562
  labelKey: "uiLibrary.deviceMeta.type.waterHeater",
2563
2563
  labelFallback: "Water heater"
2564
2564
  },
2565
- [M.Fan]: {
2565
+ [j.Fan]: {
2566
2566
  icon: vn,
2567
2567
  labelKey: "uiLibrary.deviceMeta.type.fan",
2568
2568
  labelFallback: "Fan"
2569
2569
  },
2570
- [M.MediaPlayer]: {
2570
+ [j.MediaPlayer]: {
2571
2571
  icon: Hn,
2572
2572
  labelKey: "uiLibrary.deviceMeta.type.mediaPlayer",
2573
2573
  labelFallback: "Media player"
2574
2574
  },
2575
- [M.AlarmPanel]: {
2575
+ [j.AlarmPanel]: {
2576
2576
  icon: fr,
2577
2577
  labelKey: "uiLibrary.deviceMeta.type.alarmPanel",
2578
2578
  labelFallback: "Alarm panel"
2579
2579
  },
2580
- [M.Control]: {
2580
+ [j.Control]: {
2581
2581
  icon: yr,
2582
2582
  labelKey: "uiLibrary.deviceMeta.type.control",
2583
2583
  labelFallback: "Control"
2584
2584
  },
2585
- [M.Presence]: {
2585
+ [j.Presence]: {
2586
2586
  icon: zn,
2587
2587
  labelKey: "uiLibrary.deviceMeta.type.presence",
2588
2588
  labelFallback: "Presence"
2589
2589
  },
2590
- [M.Weather]: {
2590
+ [j.Weather]: {
2591
2591
  icon: an,
2592
2592
  labelKey: "uiLibrary.deviceMeta.type.weather",
2593
2593
  labelFallback: "Weather"
2594
2594
  },
2595
- [M.Vacuum]: {
2595
+ [j.Vacuum]: {
2596
2596
  icon: Rt,
2597
2597
  labelKey: "uiLibrary.deviceMeta.type.vacuum",
2598
2598
  labelFallback: "Vacuum"
2599
2599
  },
2600
- [M.LawnMower]: {
2600
+ [j.LawnMower]: {
2601
2601
  icon: Mr,
2602
2602
  labelKey: "uiLibrary.deviceMeta.type.lawnMower",
2603
2603
  labelFallback: "Lawn mower"
2604
2604
  },
2605
- [M.Container]: {
2605
+ [j.Container]: {
2606
2606
  icon: zt,
2607
2607
  labelKey: "uiLibrary.deviceMeta.type.container",
2608
2608
  labelFallback: "Container"
2609
2609
  },
2610
- [M.Image]: {
2610
+ [j.Image]: {
2611
2611
  icon: On,
2612
2612
  labelKey: "uiLibrary.deviceMeta.type.image",
2613
2613
  labelFallback: "Image"
2614
2614
  },
2615
- [M.PetFeeder]: {
2615
+ [j.PetFeeder]: {
2616
2616
  icon: Lt,
2617
2617
  labelKey: "uiLibrary.deviceMeta.type.petFeeder",
2618
2618
  labelFallback: "Pet feeder"
2619
2619
  },
2620
- [M.Dishwasher]: {
2620
+ [j.Dishwasher]: {
2621
2621
  icon: Gr,
2622
2622
  labelKey: "uiLibrary.deviceMeta.type.dishwasher",
2623
2623
  labelFallback: "Dishwasher"
2624
2624
  },
2625
- [M.Washer]: {
2625
+ [j.Washer]: {
2626
2626
  icon: Wr,
2627
2627
  labelKey: "uiLibrary.deviceMeta.type.washer",
2628
2628
  labelFallback: "Washing machine"
2629
2629
  },
2630
- [M.Dryer]: {
2630
+ [j.Dryer]: {
2631
2631
  icon: Jr,
2632
2632
  labelKey: "uiLibrary.deviceMeta.type.dryer",
2633
2633
  labelFallback: "Dryer"
2634
2634
  }
2635
2635
  }, ci = {
2636
- [j.Siren]: {
2636
+ [N.Siren]: {
2637
2637
  icon: gr,
2638
2638
  labelKey: "uiLibrary.deviceMeta.role.siren",
2639
2639
  labelFallback: "Siren"
2640
2640
  },
2641
- [j.Floodlight]: {
2641
+ [N.Floodlight]: {
2642
2642
  icon: Mn,
2643
2643
  labelKey: "uiLibrary.deviceMeta.role.floodlight",
2644
2644
  labelFallback: "Floodlight"
2645
2645
  },
2646
- [j.Spotlight]: {
2646
+ [N.Spotlight]: {
2647
2647
  icon: xn,
2648
2648
  labelKey: "uiLibrary.deviceMeta.role.spotlight",
2649
2649
  labelFallback: "Spotlight"
2650
2650
  },
2651
- [j.PirSensor]: {
2651
+ [N.PirSensor]: {
2652
2652
  icon: or,
2653
2653
  labelKey: "uiLibrary.deviceMeta.role.pirSensor",
2654
2654
  labelFallback: "PIR sensor"
2655
2655
  },
2656
- [j.Chime]: {
2656
+ [N.Chime]: {
2657
2657
  icon: Nt,
2658
2658
  labelKey: "uiLibrary.deviceMeta.role.chime",
2659
2659
  labelFallback: "Chime"
2660
2660
  },
2661
- [j.Autotrack]: {
2661
+ [N.Autotrack]: {
2662
2662
  icon: un,
2663
2663
  labelKey: "uiLibrary.deviceMeta.role.autotrack",
2664
2664
  labelFallback: "Auto-track"
2665
2665
  },
2666
- [j.Nightvision]: {
2666
+ [N.Nightvision]: {
2667
2667
  icon: Un,
2668
2668
  labelKey: "uiLibrary.deviceMeta.role.nightvision",
2669
2669
  labelFallback: "Night vision"
2670
2670
  },
2671
- [j.PrivacyMask]: {
2671
+ [N.PrivacyMask]: {
2672
2672
  icon: yt,
2673
2673
  labelKey: "uiLibrary.deviceMeta.role.privacyMask",
2674
2674
  labelFallback: "Privacy mask"
2675
2675
  },
2676
- [j.Doorbell]: {
2676
+ [N.Doorbell]: {
2677
2677
  icon: fn,
2678
2678
  labelKey: "uiLibrary.deviceMeta.role.doorbell",
2679
2679
  labelFallback: "Doorbell"
2680
2680
  },
2681
- [j.CoverBlind]: {
2681
+ [N.CoverBlind]: {
2682
2682
  icon: It,
2683
2683
  labelKey: "uiLibrary.deviceMeta.role.coverBlind",
2684
2684
  labelFallback: "Blind"
2685
2685
  },
2686
- [j.CoverShutter]: {
2686
+ [N.CoverShutter]: {
2687
2687
  icon: It,
2688
2688
  labelKey: "uiLibrary.deviceMeta.role.coverShutter",
2689
2689
  labelFallback: "Shutter"
2690
2690
  },
2691
- [j.CoverAwning]: {
2691
+ [N.CoverAwning]: {
2692
2692
  icon: It,
2693
2693
  labelKey: "uiLibrary.deviceMeta.role.coverAwning",
2694
2694
  labelFallback: "Awning"
2695
2695
  },
2696
- [j.CoverCurtain]: {
2696
+ [N.CoverCurtain]: {
2697
2697
  icon: It,
2698
2698
  labelKey: "uiLibrary.deviceMeta.role.coverCurtain",
2699
2699
  labelFallback: "Curtain"
2700
2700
  },
2701
- [j.CoverGarage]: {
2701
+ [N.CoverGarage]: {
2702
2702
  icon: fn,
2703
2703
  labelKey: "uiLibrary.deviceMeta.role.coverGarage",
2704
2704
  labelFallback: "Garage door"
2705
2705
  },
2706
- [j.CoverGate]: {
2706
+ [N.CoverGate]: {
2707
2707
  icon: fn,
2708
2708
  labelKey: "uiLibrary.deviceMeta.role.coverGate",
2709
2709
  labelFallback: "Gate"
2710
2710
  },
2711
- [j.CoverDoor]: {
2711
+ [N.CoverDoor]: {
2712
2712
  icon: pn,
2713
2713
  labelKey: "uiLibrary.deviceMeta.role.coverDoor",
2714
2714
  labelFallback: "Door"
2715
2715
  },
2716
- [j.CoverWindow]: {
2716
+ [N.CoverWindow]: {
2717
2717
  icon: It,
2718
2718
  labelKey: "uiLibrary.deviceMeta.role.coverWindow",
2719
2719
  labelFallback: "Window"
2720
2720
  },
2721
- [j.BinaryHelper]: {
2721
+ [N.BinaryHelper]: {
2722
2722
  icon: Ar,
2723
2723
  labelKey: "uiLibrary.deviceMeta.role.binaryHelper",
2724
2724
  labelFallback: "Binary helper"
2725
2725
  },
2726
- [j.Outlet]: {
2726
+ [N.Outlet]: {
2727
2727
  icon: ir,
2728
2728
  labelKey: "uiLibrary.deviceMeta.role.outlet",
2729
2729
  labelFallback: "Outlet"
2730
2730
  },
2731
- [j.MotionSensor]: {
2731
+ [N.MotionSensor]: {
2732
2732
  icon: Sn,
2733
2733
  labelKey: "uiLibrary.deviceMeta.role.motionSensor",
2734
2734
  labelFallback: "Motion sensor"
2735
2735
  },
2736
- [j.ContactSensor]: {
2736
+ [N.ContactSensor]: {
2737
2737
  icon: pn,
2738
2738
  labelKey: "uiLibrary.deviceMeta.role.contactSensor",
2739
2739
  labelFallback: "Contact sensor"
2740
2740
  },
2741
- [j.LeakSensor]: {
2741
+ [N.LeakSensor]: {
2742
2742
  icon: hn,
2743
2743
  labelKey: "uiLibrary.deviceMeta.role.leakSensor",
2744
2744
  labelFallback: "Leak sensor"
2745
2745
  },
2746
- [j.SmokeSensor]: {
2746
+ [N.SmokeSensor]: {
2747
2747
  icon: Tt,
2748
2748
  labelKey: "uiLibrary.deviceMeta.role.smokeSensor",
2749
2749
  labelFallback: "Smoke sensor"
2750
2750
  },
2751
- [j.COSensor]: {
2751
+ [N.COSensor]: {
2752
2752
  icon: Jr,
2753
2753
  labelKey: "uiLibrary.deviceMeta.role.cOSensor",
2754
2754
  labelFallback: "CO sensor"
2755
2755
  },
2756
- [j.GasSensor]: {
2756
+ [N.GasSensor]: {
2757
2757
  icon: bn,
2758
2758
  labelKey: "uiLibrary.deviceMeta.role.gasSensor",
2759
2759
  labelFallback: "Gas sensor"
2760
2760
  },
2761
- [j.TamperSensor]: {
2761
+ [N.TamperSensor]: {
2762
2762
  icon: fr,
2763
2763
  labelKey: "uiLibrary.deviceMeta.role.tamperSensor",
2764
2764
  labelFallback: "Tamper sensor"
2765
2765
  },
2766
- [j.VibrationSensor]: {
2766
+ [N.VibrationSensor]: {
2767
2767
  icon: Vr,
2768
2768
  labelKey: "uiLibrary.deviceMeta.role.vibrationSensor",
2769
2769
  labelFallback: "Vibration sensor"
2770
2770
  },
2771
- [j.ConnectivitySensor]: {
2771
+ [N.ConnectivitySensor]: {
2772
2772
  icon: qr,
2773
2773
  labelKey: "uiLibrary.deviceMeta.role.connectivitySensor",
2774
2774
  labelFallback: "Connectivity"
2775
2775
  },
2776
- [j.SoundSensor]: {
2776
+ [N.SoundSensor]: {
2777
2777
  icon: Hr,
2778
2778
  labelKey: "uiLibrary.deviceMeta.role.soundSensor",
2779
2779
  labelFallback: "Sound sensor"
2780
2780
  },
2781
- [j.BinarySensor]: {
2781
+ [N.BinarySensor]: {
2782
2782
  icon: Ar,
2783
2783
  labelKey: "uiLibrary.deviceMeta.role.binarySensor",
2784
2784
  labelFallback: "Binary sensor"
2785
2785
  },
2786
- [j.TemperatureSensor]: {
2786
+ [N.TemperatureSensor]: {
2787
2787
  icon: Or,
2788
2788
  labelKey: "uiLibrary.deviceMeta.role.temperatureSensor",
2789
2789
  labelFallback: "Temperature"
2790
2790
  },
2791
- [j.HumiditySensor]: {
2791
+ [N.HumiditySensor]: {
2792
2792
  icon: gn,
2793
2793
  labelKey: "uiLibrary.deviceMeta.role.humiditySensor",
2794
2794
  labelFallback: "Humidity"
2795
2795
  },
2796
- [j.AmbientLightSensor]: {
2796
+ [N.AmbientLightSensor]: {
2797
2797
  icon: Tr,
2798
2798
  labelKey: "uiLibrary.deviceMeta.role.ambientLightSensor",
2799
2799
  labelFallback: "Ambient light"
2800
2800
  },
2801
- [j.PressureSensor]: {
2801
+ [N.PressureSensor]: {
2802
2802
  icon: Cn,
2803
2803
  labelKey: "uiLibrary.deviceMeta.role.pressureSensor",
2804
2804
  labelFallback: "Pressure"
2805
2805
  },
2806
- [j.WindSensor]: {
2806
+ [N.WindSensor]: {
2807
2807
  icon: Jr,
2808
2808
  labelKey: "uiLibrary.deviceMeta.role.windSensor",
2809
2809
  labelFallback: "Wind"
2810
2810
  },
2811
- [j.RainSensor]: {
2811
+ [N.RainSensor]: {
2812
2812
  icon: nn,
2813
2813
  labelKey: "uiLibrary.deviceMeta.role.rainSensor",
2814
2814
  labelFallback: "Rain"
2815
2815
  },
2816
- [j.UvSensor]: {
2816
+ [N.UvSensor]: {
2817
2817
  icon: wr,
2818
2818
  labelKey: "uiLibrary.deviceMeta.role.uvSensor",
2819
2819
  labelFallback: "UV index"
2820
2820
  },
2821
- [j.SolarRadiationSensor]: {
2821
+ [N.SolarRadiationSensor]: {
2822
2822
  icon: Er,
2823
2823
  labelKey: "uiLibrary.deviceMeta.role.solarRadiationSensor",
2824
2824
  labelFallback: "Solar radiation"
2825
2825
  },
2826
- [j.SoilMoistureSensor]: {
2826
+ [N.SoilMoistureSensor]: {
2827
2827
  icon: Cr,
2828
2828
  labelKey: "uiLibrary.deviceMeta.role.soilMoistureSensor",
2829
2829
  labelFallback: "Soil moisture"
2830
2830
  },
2831
- [j.PowerSensor]: {
2831
+ [N.PowerSensor]: {
2832
2832
  icon: Zr,
2833
2833
  labelKey: "uiLibrary.deviceMeta.role.powerSensor",
2834
2834
  labelFallback: "Power"
2835
2835
  },
2836
- [j.EnergySensor]: {
2836
+ [N.EnergySensor]: {
2837
2837
  icon: Zr,
2838
2838
  labelKey: "uiLibrary.deviceMeta.role.energySensor",
2839
2839
  labelFallback: "Energy"
2840
2840
  },
2841
- [j.VoltageSensor]: {
2841
+ [N.VoltageSensor]: {
2842
2842
  icon: Zr,
2843
2843
  labelKey: "uiLibrary.deviceMeta.role.voltageSensor",
2844
2844
  labelFallback: "Voltage"
2845
2845
  },
2846
- [j.CurrentSensor]: {
2846
+ [N.CurrentSensor]: {
2847
2847
  icon: Zr,
2848
2848
  labelKey: "uiLibrary.deviceMeta.role.currentSensor",
2849
2849
  labelFallback: "Current"
2850
2850
  },
2851
- [j.AirQualitySensor]: {
2851
+ [N.AirQualitySensor]: {
2852
2852
  icon: Jr,
2853
2853
  labelKey: "uiLibrary.deviceMeta.role.airQualitySensor",
2854
2854
  labelFallback: "Air quality"
2855
2855
  },
2856
- [j.BatterySensor]: {
2856
+ [N.BatterySensor]: {
2857
2857
  icon: Cn,
2858
2858
  labelKey: "uiLibrary.deviceMeta.role.batterySensor",
2859
2859
  labelFallback: "Battery"
2860
2860
  },
2861
- [j.NumericSensor]: {
2861
+ [N.NumericSensor]: {
2862
2862
  icon: Tn,
2863
2863
  labelKey: "uiLibrary.deviceMeta.role.numericSensor",
2864
2864
  labelFallback: "Numeric sensor"
2865
2865
  },
2866
- [j.EnumSensor]: {
2866
+ [N.EnumSensor]: {
2867
2867
  icon: Pn,
2868
2868
  labelKey: "uiLibrary.deviceMeta.role.enumSensor",
2869
2869
  labelFallback: "Enum sensor"
2870
2870
  },
2871
- [j.DateTimeSensor]: {
2871
+ [N.DateTimeSensor]: {
2872
2872
  icon: $t,
2873
2873
  labelKey: "uiLibrary.deviceMeta.role.dateTimeSensor",
2874
2874
  labelFallback: "Date / time"
2875
2875
  },
2876
- [j.GenericSensor]: {
2876
+ [N.GenericSensor]: {
2877
2877
  icon: Cn,
2878
2878
  labelKey: "uiLibrary.deviceMeta.role.genericSensor",
2879
2879
  labelFallback: "Sensor"
2880
2880
  },
2881
- [j.NumericControl]: {
2881
+ [N.NumericControl]: {
2882
2882
  icon: yr,
2883
2883
  labelKey: "uiLibrary.deviceMeta.role.numericControl",
2884
2884
  labelFallback: "Numeric control"
2885
2885
  },
2886
- [j.SelectControl]: {
2886
+ [N.SelectControl]: {
2887
2887
  icon: Nn,
2888
2888
  labelKey: "uiLibrary.deviceMeta.role.selectControl",
2889
2889
  labelFallback: "Select control"
2890
2890
  },
2891
- [j.TextControl]: {
2891
+ [N.TextControl]: {
2892
2892
  icon: Ir,
2893
2893
  labelKey: "uiLibrary.deviceMeta.role.textControl",
2894
2894
  labelFallback: "Text control"
2895
2895
  },
2896
- [j.DateTimeControl]: {
2896
+ [N.DateTimeControl]: {
2897
2897
  icon: $t,
2898
2898
  labelKey: "uiLibrary.deviceMeta.role.dateTimeControl",
2899
2899
  labelFallback: "Date / time control"
2900
2900
  },
2901
- [j.MobilePushNotifier]: {
2901
+ [N.MobilePushNotifier]: {
2902
2902
  icon: br,
2903
2903
  labelKey: "uiLibrary.deviceMeta.role.mobilePushNotifier",
2904
2904
  labelFallback: "Mobile push"
2905
2905
  },
2906
- [j.MessagingNotifier]: {
2906
+ [N.MessagingNotifier]: {
2907
2907
  icon: Vn,
2908
2908
  labelKey: "uiLibrary.deviceMeta.role.messagingNotifier",
2909
2909
  labelFallback: "Messaging"
2910
2910
  },
2911
- [j.EmailNotifier]: {
2911
+ [N.EmailNotifier]: {
2912
2912
  icon: Rn,
2913
2913
  labelKey: "uiLibrary.deviceMeta.role.emailNotifier",
2914
2914
  labelFallback: "Email"
2915
2915
  },
2916
- [j.GenericNotifier]: {
2916
+ [N.GenericNotifier]: {
2917
2917
  icon: Nt,
2918
2918
  labelKey: "uiLibrary.deviceMeta.role.genericNotifier",
2919
2919
  labelFallback: "Notifier"
2920
2920
  }
2921
- }, li = new Set(Object.values(M));
2922
- new Set(Object.values(j));
2921
+ }, li = new Set(Object.values(j));
2922
+ new Set(Object.values(N));
2923
2923
  function ui(e) {
2924
2924
  return li.has(e);
2925
2925
  }
2926
- var di = si[M.Generic];
2927
- ci[j.GenericSensor];
2926
+ var di = si[j.Generic];
2927
+ ci[N.GenericSensor];
2928
2928
  function fi(e, t = x) {
2929
2929
  return ui(e) ? oi(si[e] ?? di, t) : oi(di, t);
2930
2930
  }
2931
2931
  function pi(e) {
2932
- return Object.values(M).map((t) => {
2932
+ return Object.values(j).map((t) => {
2933
2933
  let n = fi(t, e);
2934
2934
  return {
2935
2935
  id: t,
@@ -3246,7 +3246,7 @@ var gi = (e, t) => {
3246
3246
  "subgrid",
3247
3247
  R,
3248
3248
  L
3249
- ], te = () => [
3249
+ ], E = () => [
3250
3250
  "auto",
3251
3251
  { span: [
3252
3252
  "full",
@@ -3257,19 +3257,19 @@ var gi = (e, t) => {
3257
3257
  aa,
3258
3258
  R,
3259
3259
  L
3260
- ], ne = () => [
3260
+ ], te = () => [
3261
3261
  aa,
3262
3262
  "auto",
3263
3263
  R,
3264
3264
  L
3265
- ], re = () => [
3265
+ ], ne = () => [
3266
3266
  "auto",
3267
3267
  "min",
3268
3268
  "max",
3269
3269
  "fr",
3270
3270
  R,
3271
3271
  L
3272
- ], E = () => [
3272
+ ], D = () => [
3273
3273
  "start",
3274
3274
  "end",
3275
3275
  "center",
@@ -3280,14 +3280,14 @@ var gi = (e, t) => {
3280
3280
  "baseline",
3281
3281
  "center-safe",
3282
3282
  "end-safe"
3283
- ], ie = () => [
3283
+ ], re = () => [
3284
3284
  "start",
3285
3285
  "end",
3286
3286
  "center",
3287
3287
  "stretch",
3288
3288
  "center-safe",
3289
3289
  "end-safe"
3290
- ], D = () => ["auto", ...w()], ae = () => [
3290
+ ], O = () => ["auto", ...w()], ie = () => [
3291
3291
  ia,
3292
3292
  "auto",
3293
3293
  "full",
@@ -3301,7 +3301,7 @@ var gi = (e, t) => {
3301
3301
  "max",
3302
3302
  "fit",
3303
3303
  ...w()
3304
- ], oe = () => [
3304
+ ], ae = () => [
3305
3305
  ia,
3306
3306
  "screen",
3307
3307
  "full",
@@ -3312,7 +3312,7 @@ var gi = (e, t) => {
3312
3312
  "max",
3313
3313
  "fit",
3314
3314
  ...w()
3315
- ], se = () => [
3315
+ ], oe = () => [
3316
3316
  ia,
3317
3317
  "screen",
3318
3318
  "full",
@@ -3324,22 +3324,22 @@ var gi = (e, t) => {
3324
3324
  "max",
3325
3325
  "fit",
3326
3326
  ...w()
3327
- ], O = () => [
3327
+ ], k = () => [
3328
3328
  e,
3329
3329
  R,
3330
3330
  L
3331
- ], ce = () => [
3331
+ ], se = () => [
3332
3332
  ...b(),
3333
3333
  Ta,
3334
3334
  ba,
3335
3335
  { position: [R, L] }
3336
- ], le = () => ["no-repeat", { repeat: [
3336
+ ], ce = () => ["no-repeat", { repeat: [
3337
3337
  "",
3338
3338
  "x",
3339
3339
  "y",
3340
3340
  "space",
3341
3341
  "round"
3342
- ] }], k = () => [
3342
+ ] }], le = () => [
3343
3343
  "auto",
3344
3344
  "cover",
3345
3345
  "contain",
@@ -3357,12 +3357,12 @@ var gi = (e, t) => {
3357
3357
  l,
3358
3358
  R,
3359
3359
  L
3360
- ], fe = () => [
3360
+ ], A = () => [
3361
3361
  "",
3362
3362
  I,
3363
3363
  Ca,
3364
3364
  ga
3365
- ], A = () => [
3365
+ ], fe = () => [
3366
3366
  "solid",
3367
3367
  "dashed",
3368
3368
  "dotted",
@@ -3647,13 +3647,13 @@ var gi = (e, t) => {
3647
3647
  L
3648
3648
  ] }],
3649
3649
  "grid-cols": [{ "grid-cols": ee() }],
3650
- "col-start-end": [{ col: te() }],
3651
- "col-start": [{ "col-start": ne() }],
3652
- "col-end": [{ "col-end": ne() }],
3650
+ "col-start-end": [{ col: E() }],
3651
+ "col-start": [{ "col-start": te() }],
3652
+ "col-end": [{ "col-end": te() }],
3653
3653
  "grid-rows": [{ "grid-rows": ee() }],
3654
- "row-start-end": [{ row: te() }],
3655
- "row-start": [{ "row-start": ne() }],
3656
- "row-end": [{ "row-end": ne() }],
3654
+ "row-start-end": [{ row: E() }],
3655
+ "row-start": [{ "row-start": te() }],
3656
+ "row-end": [{ "row-end": te() }],
3657
3657
  "grid-flow": [{ "grid-flow": [
3658
3658
  "row",
3659
3659
  "col",
@@ -3661,24 +3661,24 @@ var gi = (e, t) => {
3661
3661
  "row-dense",
3662
3662
  "col-dense"
3663
3663
  ] }],
3664
- "auto-cols": [{ "auto-cols": re() }],
3665
- "auto-rows": [{ "auto-rows": re() }],
3664
+ "auto-cols": [{ "auto-cols": ne() }],
3665
+ "auto-rows": [{ "auto-rows": ne() }],
3666
3666
  gap: [{ gap: w() }],
3667
3667
  "gap-x": [{ "gap-x": w() }],
3668
3668
  "gap-y": [{ "gap-y": w() }],
3669
- "justify-content": [{ justify: [...E(), "normal"] }],
3670
- "justify-items": [{ "justify-items": [...ie(), "normal"] }],
3671
- "justify-self": [{ "justify-self": ["auto", ...ie()] }],
3672
- "align-content": [{ content: ["normal", ...E()] }],
3673
- "align-items": [{ items: [...ie(), { baseline: ["", "last"] }] }],
3669
+ "justify-content": [{ justify: [...D(), "normal"] }],
3670
+ "justify-items": [{ "justify-items": [...re(), "normal"] }],
3671
+ "justify-self": [{ "justify-self": ["auto", ...re()] }],
3672
+ "align-content": [{ content: ["normal", ...D()] }],
3673
+ "align-items": [{ items: [...re(), { baseline: ["", "last"] }] }],
3674
3674
  "align-self": [{ self: [
3675
3675
  "auto",
3676
- ...ie(),
3676
+ ...re(),
3677
3677
  { baseline: ["", "last"] }
3678
3678
  ] }],
3679
- "place-content": [{ "place-content": E() }],
3680
- "place-items": [{ "place-items": [...ie(), "baseline"] }],
3681
- "place-self": [{ "place-self": ["auto", ...ie()] }],
3679
+ "place-content": [{ "place-content": D() }],
3680
+ "place-items": [{ "place-items": [...re(), "baseline"] }],
3681
+ "place-self": [{ "place-self": ["auto", ...re()] }],
3682
3682
  p: [{ p: w() }],
3683
3683
  px: [{ px: w() }],
3684
3684
  py: [{ py: w() }],
@@ -3690,38 +3690,38 @@ var gi = (e, t) => {
3690
3690
  pr: [{ pr: w() }],
3691
3691
  pb: [{ pb: w() }],
3692
3692
  pl: [{ pl: w() }],
3693
- m: [{ m: D() }],
3694
- mx: [{ mx: D() }],
3695
- my: [{ my: D() }],
3696
- ms: [{ ms: D() }],
3697
- me: [{ me: D() }],
3698
- mbs: [{ mbs: D() }],
3699
- mbe: [{ mbe: D() }],
3700
- mt: [{ mt: D() }],
3701
- mr: [{ mr: D() }],
3702
- mb: [{ mb: D() }],
3703
- ml: [{ ml: D() }],
3693
+ m: [{ m: O() }],
3694
+ mx: [{ mx: O() }],
3695
+ my: [{ my: O() }],
3696
+ ms: [{ ms: O() }],
3697
+ me: [{ me: O() }],
3698
+ mbs: [{ mbs: O() }],
3699
+ mbe: [{ mbe: O() }],
3700
+ mt: [{ mt: O() }],
3701
+ mr: [{ mr: O() }],
3702
+ mb: [{ mb: O() }],
3703
+ ml: [{ ml: O() }],
3704
3704
  "space-x": [{ "space-x": w() }],
3705
3705
  "space-x-reverse": ["space-x-reverse"],
3706
3706
  "space-y": [{ "space-y": w() }],
3707
3707
  "space-y-reverse": ["space-y-reverse"],
3708
- size: [{ size: ae() }],
3709
- "inline-size": [{ inline: ["auto", ...oe()] }],
3710
- "min-inline-size": [{ "min-inline": ["auto", ...oe()] }],
3711
- "max-inline-size": [{ "max-inline": ["none", ...oe()] }],
3712
- "block-size": [{ block: ["auto", ...se()] }],
3713
- "min-block-size": [{ "min-block": ["auto", ...se()] }],
3714
- "max-block-size": [{ "max-block": ["none", ...se()] }],
3708
+ size: [{ size: ie() }],
3709
+ "inline-size": [{ inline: ["auto", ...ae()] }],
3710
+ "min-inline-size": [{ "min-inline": ["auto", ...ae()] }],
3711
+ "max-inline-size": [{ "max-inline": ["none", ...ae()] }],
3712
+ "block-size": [{ block: ["auto", ...oe()] }],
3713
+ "min-block-size": [{ "min-block": ["auto", ...oe()] }],
3714
+ "max-block-size": [{ "max-block": ["none", ...oe()] }],
3715
3715
  w: [{ w: [
3716
3716
  s,
3717
3717
  "screen",
3718
- ...ae()
3718
+ ...ie()
3719
3719
  ] }],
3720
3720
  "min-w": [{ "min-w": [
3721
3721
  s,
3722
3722
  "screen",
3723
3723
  "none",
3724
- ...ae()
3724
+ ...ie()
3725
3725
  ] }],
3726
3726
  "max-w": [{ "max-w": [
3727
3727
  s,
@@ -3729,23 +3729,23 @@ var gi = (e, t) => {
3729
3729
  "none",
3730
3730
  "prose",
3731
3731
  { screen: [o] },
3732
- ...ae()
3732
+ ...ie()
3733
3733
  ] }],
3734
3734
  h: [{ h: [
3735
3735
  "screen",
3736
3736
  "lh",
3737
- ...ae()
3737
+ ...ie()
3738
3738
  ] }],
3739
3739
  "min-h": [{ "min-h": [
3740
3740
  "screen",
3741
3741
  "lh",
3742
3742
  "none",
3743
- ...ae()
3743
+ ...ie()
3744
3744
  ] }],
3745
3745
  "max-h": [{ "max-h": [
3746
3746
  "screen",
3747
3747
  "lh",
3748
- ...ae()
3748
+ ...ie()
3749
3749
  ] }],
3750
3750
  "font-size": [{ text: [
3751
3751
  "base",
@@ -3818,15 +3818,15 @@ var gi = (e, t) => {
3818
3818
  "start",
3819
3819
  "end"
3820
3820
  ] }],
3821
- "placeholder-color": [{ placeholder: O() }],
3822
- "text-color": [{ text: O() }],
3821
+ "placeholder-color": [{ placeholder: k() }],
3822
+ "text-color": [{ text: k() }],
3823
3823
  "text-decoration": [
3824
3824
  "underline",
3825
3825
  "overline",
3826
3826
  "line-through",
3827
3827
  "no-underline"
3828
3828
  ],
3829
- "text-decoration-style": [{ decoration: [...A(), "wavy"] }],
3829
+ "text-decoration-style": [{ decoration: [...fe(), "wavy"] }],
3830
3830
  "text-decoration-thickness": [{ decoration: [
3831
3831
  I,
3832
3832
  "from-font",
@@ -3834,7 +3834,7 @@ var gi = (e, t) => {
3834
3834
  R,
3835
3835
  ga
3836
3836
  ] }],
3837
- "text-decoration-color": [{ decoration: O() }],
3837
+ "text-decoration-color": [{ decoration: k() }],
3838
3838
  "underline-offset": [{ "underline-offset": [
3839
3839
  I,
3840
3840
  "auto",
@@ -3921,9 +3921,9 @@ var gi = (e, t) => {
3921
3921
  "padding",
3922
3922
  "content"
3923
3923
  ] }],
3924
- "bg-position": [{ bg: ce() }],
3925
- "bg-repeat": [{ bg: le() }],
3926
- "bg-size": [{ bg: k() }],
3924
+ "bg-position": [{ bg: se() }],
3925
+ "bg-repeat": [{ bg: ce() }],
3926
+ "bg-size": [{ bg: le() }],
3927
3927
  "bg-image": [{ bg: [
3928
3928
  "none",
3929
3929
  {
@@ -3956,13 +3956,13 @@ var gi = (e, t) => {
3956
3956
  Da,
3957
3957
  xa
3958
3958
  ] }],
3959
- "bg-color": [{ bg: O() }],
3959
+ "bg-color": [{ bg: k() }],
3960
3960
  "gradient-from-pos": [{ from: ue() }],
3961
3961
  "gradient-via-pos": [{ via: ue() }],
3962
3962
  "gradient-to-pos": [{ to: ue() }],
3963
- "gradient-from": [{ from: O() }],
3964
- "gradient-via": [{ via: O() }],
3965
- "gradient-to": [{ to: O() }],
3963
+ "gradient-from": [{ from: k() }],
3964
+ "gradient-via": [{ via: k() }],
3965
+ "gradient-to": [{ to: k() }],
3966
3966
  rounded: [{ rounded: de() }],
3967
3967
  "rounded-s": [{ "rounded-s": de() }],
3968
3968
  "rounded-e": [{ "rounded-e": de() }],
@@ -3978,45 +3978,45 @@ var gi = (e, t) => {
3978
3978
  "rounded-tr": [{ "rounded-tr": de() }],
3979
3979
  "rounded-br": [{ "rounded-br": de() }],
3980
3980
  "rounded-bl": [{ "rounded-bl": de() }],
3981
- "border-w": [{ border: fe() }],
3982
- "border-w-x": [{ "border-x": fe() }],
3983
- "border-w-y": [{ "border-y": fe() }],
3984
- "border-w-s": [{ "border-s": fe() }],
3985
- "border-w-e": [{ "border-e": fe() }],
3986
- "border-w-bs": [{ "border-bs": fe() }],
3987
- "border-w-be": [{ "border-be": fe() }],
3988
- "border-w-t": [{ "border-t": fe() }],
3989
- "border-w-r": [{ "border-r": fe() }],
3990
- "border-w-b": [{ "border-b": fe() }],
3991
- "border-w-l": [{ "border-l": fe() }],
3992
- "divide-x": [{ "divide-x": fe() }],
3981
+ "border-w": [{ border: A() }],
3982
+ "border-w-x": [{ "border-x": A() }],
3983
+ "border-w-y": [{ "border-y": A() }],
3984
+ "border-w-s": [{ "border-s": A() }],
3985
+ "border-w-e": [{ "border-e": A() }],
3986
+ "border-w-bs": [{ "border-bs": A() }],
3987
+ "border-w-be": [{ "border-be": A() }],
3988
+ "border-w-t": [{ "border-t": A() }],
3989
+ "border-w-r": [{ "border-r": A() }],
3990
+ "border-w-b": [{ "border-b": A() }],
3991
+ "border-w-l": [{ "border-l": A() }],
3992
+ "divide-x": [{ "divide-x": A() }],
3993
3993
  "divide-x-reverse": ["divide-x-reverse"],
3994
- "divide-y": [{ "divide-y": fe() }],
3994
+ "divide-y": [{ "divide-y": A() }],
3995
3995
  "divide-y-reverse": ["divide-y-reverse"],
3996
3996
  "border-style": [{ border: [
3997
- ...A(),
3997
+ ...fe(),
3998
3998
  "hidden",
3999
3999
  "none"
4000
4000
  ] }],
4001
4001
  "divide-style": [{ divide: [
4002
- ...A(),
4002
+ ...fe(),
4003
4003
  "hidden",
4004
4004
  "none"
4005
4005
  ] }],
4006
- "border-color": [{ border: O() }],
4007
- "border-color-x": [{ "border-x": O() }],
4008
- "border-color-y": [{ "border-y": O() }],
4009
- "border-color-s": [{ "border-s": O() }],
4010
- "border-color-e": [{ "border-e": O() }],
4011
- "border-color-bs": [{ "border-bs": O() }],
4012
- "border-color-be": [{ "border-be": O() }],
4013
- "border-color-t": [{ "border-t": O() }],
4014
- "border-color-r": [{ "border-r": O() }],
4015
- "border-color-b": [{ "border-b": O() }],
4016
- "border-color-l": [{ "border-l": O() }],
4017
- "divide-color": [{ divide: O() }],
4006
+ "border-color": [{ border: k() }],
4007
+ "border-color-x": [{ "border-x": k() }],
4008
+ "border-color-y": [{ "border-y": k() }],
4009
+ "border-color-s": [{ "border-s": k() }],
4010
+ "border-color-e": [{ "border-e": k() }],
4011
+ "border-color-bs": [{ "border-bs": k() }],
4012
+ "border-color-be": [{ "border-be": k() }],
4013
+ "border-color-t": [{ "border-t": k() }],
4014
+ "border-color-r": [{ "border-r": k() }],
4015
+ "border-color-b": [{ "border-b": k() }],
4016
+ "border-color-l": [{ "border-l": k() }],
4017
+ "divide-color": [{ divide: k() }],
4018
4018
  "outline-style": [{ outline: [
4019
- ...A(),
4019
+ ...fe(),
4020
4020
  "none",
4021
4021
  "hidden"
4022
4022
  ] }],
@@ -4031,7 +4031,7 @@ var gi = (e, t) => {
4031
4031
  Ca,
4032
4032
  ga
4033
4033
  ] }],
4034
- "outline-color": [{ outline: O() }],
4034
+ "outline-color": [{ outline: k() }],
4035
4035
  shadow: [{ shadow: [
4036
4036
  "",
4037
4037
  "none",
@@ -4039,28 +4039,28 @@ var gi = (e, t) => {
4039
4039
  Oa,
4040
4040
  Sa
4041
4041
  ] }],
4042
- "shadow-color": [{ shadow: O() }],
4042
+ "shadow-color": [{ shadow: k() }],
4043
4043
  "inset-shadow": [{ "inset-shadow": [
4044
4044
  "none",
4045
4045
  d,
4046
4046
  Oa,
4047
4047
  Sa
4048
4048
  ] }],
4049
- "inset-shadow-color": [{ "inset-shadow": O() }],
4050
- "ring-w": [{ ring: fe() }],
4049
+ "inset-shadow-color": [{ "inset-shadow": k() }],
4050
+ "ring-w": [{ ring: A() }],
4051
4051
  "ring-w-inset": ["ring-inset"],
4052
- "ring-color": [{ ring: O() }],
4052
+ "ring-color": [{ ring: k() }],
4053
4053
  "ring-offset-w": [{ "ring-offset": [I, ga] }],
4054
- "ring-offset-color": [{ "ring-offset": O() }],
4055
- "inset-ring-w": [{ "inset-ring": fe() }],
4056
- "inset-ring-color": [{ "inset-ring": O() }],
4054
+ "ring-offset-color": [{ "ring-offset": k() }],
4055
+ "inset-ring-w": [{ "inset-ring": A() }],
4056
+ "inset-ring-color": [{ "inset-ring": k() }],
4057
4057
  "text-shadow": [{ "text-shadow": [
4058
4058
  "none",
4059
4059
  f,
4060
4060
  Oa,
4061
4061
  Sa
4062
4062
  ] }],
4063
- "text-shadow-color": [{ "text-shadow": O() }],
4063
+ "text-shadow-color": [{ "text-shadow": k() }],
4064
4064
  opacity: [{ opacity: [
4065
4065
  I,
4066
4066
  R,
@@ -4089,37 +4089,37 @@ var gi = (e, t) => {
4089
4089
  "mask-image-linear-pos": [{ "mask-linear": [I] }],
4090
4090
  "mask-image-linear-from-pos": [{ "mask-linear-from": me() }],
4091
4091
  "mask-image-linear-to-pos": [{ "mask-linear-to": me() }],
4092
- "mask-image-linear-from-color": [{ "mask-linear-from": O() }],
4093
- "mask-image-linear-to-color": [{ "mask-linear-to": O() }],
4092
+ "mask-image-linear-from-color": [{ "mask-linear-from": k() }],
4093
+ "mask-image-linear-to-color": [{ "mask-linear-to": k() }],
4094
4094
  "mask-image-t-from-pos": [{ "mask-t-from": me() }],
4095
4095
  "mask-image-t-to-pos": [{ "mask-t-to": me() }],
4096
- "mask-image-t-from-color": [{ "mask-t-from": O() }],
4097
- "mask-image-t-to-color": [{ "mask-t-to": O() }],
4096
+ "mask-image-t-from-color": [{ "mask-t-from": k() }],
4097
+ "mask-image-t-to-color": [{ "mask-t-to": k() }],
4098
4098
  "mask-image-r-from-pos": [{ "mask-r-from": me() }],
4099
4099
  "mask-image-r-to-pos": [{ "mask-r-to": me() }],
4100
- "mask-image-r-from-color": [{ "mask-r-from": O() }],
4101
- "mask-image-r-to-color": [{ "mask-r-to": O() }],
4100
+ "mask-image-r-from-color": [{ "mask-r-from": k() }],
4101
+ "mask-image-r-to-color": [{ "mask-r-to": k() }],
4102
4102
  "mask-image-b-from-pos": [{ "mask-b-from": me() }],
4103
4103
  "mask-image-b-to-pos": [{ "mask-b-to": me() }],
4104
- "mask-image-b-from-color": [{ "mask-b-from": O() }],
4105
- "mask-image-b-to-color": [{ "mask-b-to": O() }],
4104
+ "mask-image-b-from-color": [{ "mask-b-from": k() }],
4105
+ "mask-image-b-to-color": [{ "mask-b-to": k() }],
4106
4106
  "mask-image-l-from-pos": [{ "mask-l-from": me() }],
4107
4107
  "mask-image-l-to-pos": [{ "mask-l-to": me() }],
4108
- "mask-image-l-from-color": [{ "mask-l-from": O() }],
4109
- "mask-image-l-to-color": [{ "mask-l-to": O() }],
4108
+ "mask-image-l-from-color": [{ "mask-l-from": k() }],
4109
+ "mask-image-l-to-color": [{ "mask-l-to": k() }],
4110
4110
  "mask-image-x-from-pos": [{ "mask-x-from": me() }],
4111
4111
  "mask-image-x-to-pos": [{ "mask-x-to": me() }],
4112
- "mask-image-x-from-color": [{ "mask-x-from": O() }],
4113
- "mask-image-x-to-color": [{ "mask-x-to": O() }],
4112
+ "mask-image-x-from-color": [{ "mask-x-from": k() }],
4113
+ "mask-image-x-to-color": [{ "mask-x-to": k() }],
4114
4114
  "mask-image-y-from-pos": [{ "mask-y-from": me() }],
4115
4115
  "mask-image-y-to-pos": [{ "mask-y-to": me() }],
4116
- "mask-image-y-from-color": [{ "mask-y-from": O() }],
4117
- "mask-image-y-to-color": [{ "mask-y-to": O() }],
4116
+ "mask-image-y-from-color": [{ "mask-y-from": k() }],
4117
+ "mask-image-y-to-color": [{ "mask-y-to": k() }],
4118
4118
  "mask-image-radial": [{ "mask-radial": [R, L] }],
4119
4119
  "mask-image-radial-from-pos": [{ "mask-radial-from": me() }],
4120
4120
  "mask-image-radial-to-pos": [{ "mask-radial-to": me() }],
4121
- "mask-image-radial-from-color": [{ "mask-radial-from": O() }],
4122
- "mask-image-radial-to-color": [{ "mask-radial-to": O() }],
4121
+ "mask-image-radial-from-color": [{ "mask-radial-from": k() }],
4122
+ "mask-image-radial-to-color": [{ "mask-radial-to": k() }],
4123
4123
  "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
4124
4124
  "mask-image-radial-size": [{ "mask-radial": [{
4125
4125
  closest: ["side", "corner"],
@@ -4129,8 +4129,8 @@ var gi = (e, t) => {
4129
4129
  "mask-image-conic-pos": [{ "mask-conic": [I] }],
4130
4130
  "mask-image-conic-from-pos": [{ "mask-conic-from": me() }],
4131
4131
  "mask-image-conic-to-pos": [{ "mask-conic-to": me() }],
4132
- "mask-image-conic-from-color": [{ "mask-conic-from": O() }],
4133
- "mask-image-conic-to-color": [{ "mask-conic-to": O() }],
4132
+ "mask-image-conic-from-color": [{ "mask-conic-from": k() }],
4133
+ "mask-image-conic-to-color": [{ "mask-conic-to": k() }],
4134
4134
  "mask-mode": [{ mask: [
4135
4135
  "alpha",
4136
4136
  "luminance",
@@ -4144,9 +4144,9 @@ var gi = (e, t) => {
4144
4144
  "stroke",
4145
4145
  "view"
4146
4146
  ] }],
4147
- "mask-position": [{ mask: ce() }],
4148
- "mask-repeat": [{ mask: le() }],
4149
- "mask-size": [{ mask: k() }],
4147
+ "mask-position": [{ mask: se() }],
4148
+ "mask-repeat": [{ mask: ce() }],
4149
+ "mask-size": [{ mask: le() }],
4150
4150
  "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
4151
4151
  "mask-image": [{ mask: [
4152
4152
  "none",
@@ -4177,7 +4177,7 @@ var gi = (e, t) => {
4177
4177
  Oa,
4178
4178
  Sa
4179
4179
  ] }],
4180
- "drop-shadow-color": [{ "drop-shadow": O() }],
4180
+ "drop-shadow-color": [{ "drop-shadow": k() }],
4181
4181
  grayscale: [{ grayscale: [
4182
4182
  "",
4183
4183
  I,
@@ -4337,9 +4337,9 @@ var gi = (e, t) => {
4337
4337
  R,
4338
4338
  L
4339
4339
  ] }],
4340
- accent: [{ accent: O() }],
4340
+ accent: [{ accent: k() }],
4341
4341
  appearance: [{ appearance: ["none", "auto"] }],
4342
- "caret-color": [{ caret: O() }],
4342
+ "caret-color": [{ caret: k() }],
4343
4343
  "color-scheme": [{ scheme: [
4344
4344
  "normal",
4345
4345
  "dark",
@@ -4397,8 +4397,8 @@ var gi = (e, t) => {
4397
4397
  "x"
4398
4398
  ] }],
4399
4399
  "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
4400
- "scrollbar-thumb-color": [{ "scrollbar-thumb": O() }],
4401
- "scrollbar-track-color": [{ "scrollbar-track": O() }],
4400
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": k() }],
4401
+ "scrollbar-track-color": [{ "scrollbar-track": k() }],
4402
4402
  "scrollbar-gutter": [{ "scrollbar-gutter": [
4403
4403
  "auto",
4404
4404
  "stable",
@@ -4475,14 +4475,14 @@ var gi = (e, t) => {
4475
4475
  R,
4476
4476
  L
4477
4477
  ] }],
4478
- fill: [{ fill: ["none", ...O()] }],
4478
+ fill: [{ fill: ["none", ...k()] }],
4479
4479
  "stroke-w": [{ stroke: [
4480
4480
  I,
4481
4481
  Ca,
4482
4482
  ga,
4483
4483
  _a
4484
4484
  ] }],
4485
- stroke: [{ stroke: ["none", ...O()] }],
4485
+ stroke: [{ stroke: ["none", ...k()] }],
4486
4486
  "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
4487
4487
  },
4488
4488
  conflictingClassGroups: {
@@ -4888,7 +4888,7 @@ F.deviceManager.setRoleDisplayDefaults.useMutation, F.deviceManager.getWireableF
4888
4888
  var ro = F.deviceManager.getDevice.useQuery;
4889
4889
  F.deviceManager.getChildren.useQuery, F.deviceManager.getChildrenBatch.useQuery, F.deviceManager.getLinkedDevices.useQuery, F.deviceManager.getLinkedDevicesBatch.useQuery, F.deviceManager.getStreamSources.useQuery, F.deviceManager.getConfigSchema.useQuery, F.deviceManager.getSettingsSchema.useQuery, F.deviceManager.updateConfig.useMutation, F.deviceManager.enable.useMutation, F.deviceManager.disable.useMutation, F.deviceManager.remove.useMutation, F.deviceManager.listDeletedSince.useQuery, F.deviceManager.cleanupDeletedDevicesData.useMutation, F.deviceManager.removeByIntegration.useMutation, F.deviceManager.getStreamProfileMap.useQuery, F.deviceManager.setStreamProfileMap.useMutation, F.deviceManager.probeStreams.useMutation, F.deviceManager.getBindings.useQuery, F.deviceManager.getBindingsBatch.useQuery, F.deviceManager.getAllBindings.useQuery, F.deviceManager.listDeviceIdsByCaps.useQuery, F.deviceManager.setWrapperActive.useMutation, F.deviceManager.getWrapperActivation.useQuery, F.deviceManager.listWrappersForCap.useQuery, F.deviceManager.listBindableCapsForDeviceType.useQuery, F.deviceManager.getDeviceSettingsAggregate.useQuery, F.deviceManager.getDeviceLiveInfoAggregate.useQuery, F.deviceManager.getDeviceAggregate.useQuery, F.deviceManager.runDeviceAction.useMutation, F.deviceManager.updateDeviceField.useMutation, F.deviceManager.updateDeviceFieldsBatch.useMutation, F.deviceManager.discoverDevices.useMutation, F.deviceManager.adoptDevice.useMutation, F.deviceManager.getCreationSchema.useQuery, F.deviceManager.createDevice.useMutation, F.deviceManager.testCreationField.useMutation, F.deviceManager.adoptionListCandidateFilters.useQuery, F.deviceManager.adoptionListCandidates.useQuery, F.deviceManager.adoptionRefresh.useMutation, F.deviceManager.adoptionAdopt.useMutation, F.deviceManager.adoptionRelease.useMutation, F.deviceManager.adoptionStartJob.useMutation, F.deviceManager.adoptionListJobs.useQuery, F.deviceManager.adoptionCancelJob.useMutation, F.deviceManager.adoptionResync.useMutation, F.deviceManager.discoveryProviders.useQuery, F.deviceManager.discoverAllProviders.useMutation, F.deviceManager.discoverProvider.useMutation, F.deviceManager.providerCreationType.useQuery, F.deviceManager.providerDiscoveryParamsSchema.useQuery, F.deviceManager.testField.useMutation, F.deviceManager.getDeviceStatusAggregate.useQuery, F.deviceManager.getDeviceStatusAggregateBatch.useQuery, F.deviceOps.getStreamSources.useQuery, F.deviceOps.getConfigEntries.useQuery, F.deviceOps.setConfig.useMutation, F.deviceOps.runAction.useMutation, F.deviceOps.removeDevice.useMutation, F.deviceOps.getSettingsSchema.useQuery, F.deviceOps.getRawState.useQuery, F.deviceProvider.start.useMutation, F.deviceProvider.stop.useMutation, F.deviceProvider.getStatus.useQuery, F.deviceProvider.getDevices.useQuery, F.deviceProvider.reloadDevice.useMutation, F.deviceProvider.supportsDiscovery.useQuery, F.deviceProvider.discoverDevices.useMutation, F.deviceProvider.getDiscoveryParamsSchema.useQuery, F.deviceProvider.getManualCreationType.useQuery, F.deviceProvider.adoptDiscoveredDevice.useMutation, F.deviceProvider.supportsManualCreation.useQuery, F.deviceProvider.getChildCreationSchema.useQuery, F.deviceProvider.createDevice.useMutation, F.deviceProvider.testCreationField.useMutation;
4890
4890
  var io = F.deviceState.getSnapshot.useQuery;
4891
- F.deviceState.getCapSlice.useQuery, F.deviceState.getAllSnapshots.useQuery, F.deviceState.setCapSlice.useMutation, F.deviceState.claimFields.useMutation, F.deviceState.patchOwnedFields.useMutation, F.deviceState.releaseClaim.useMutation, F.deviceState.listClaims.useQuery, F.deviceState.getNativeCapSlice.useQuery, F.deviceStatus.getStatus.useQuery, F.dishwasher.start.useMutation, F.dishwasher.pause.useMutation, F.dishwasher.resume.useMutation, F.dishwasher.stop.useMutation, F.dishwasher.setProgram.useMutation, F.dishwasher.setPower.useMutation, F.dishwasher.setHalfLoad.useMutation, F.dishwasher.setHygienePlus.useMutation, F.dishwasher.setExtraDry.useMutation, F.dishwasher.setIntensiveZone.useMutation, F.dishwasher.setVarioSpeedPlus.useMutation, F.dishwasher.setChildLock.useMutation, F.dishwasher.setOption.useMutation, F.dishwasher.getOptions.useQuery, F.dishwasher.getStatus.useQuery, F.displayPalette.getPalette.useQuery, F.displayPalette.listPresets.useQuery, F.displayPalette.setPalette.useMutation, F.doorbell.getStatus.useQuery, F.enumSensor.getStatus.useQuery, F.eventEmitter.getStatus.useQuery, F.faceGallery.listIdentities.useQuery, F.faceGallery.createIdentity.useMutation, F.faceGallery.renameIdentity.useMutation, F.faceGallery.deleteIdentity.useMutation, F.faceGallery.listIdentitySamples.useQuery, F.faceGallery.auditIdentitySamples.useQuery, F.faceGallery.removeSample.useMutation, F.faceGallery.listRecentFaces.useQuery, F.faceGallery.getFaceByTrack.useQuery, F.faceGallery.getFaceMedia.useQuery, F.faceGallery.assignFace.useMutation, F.faceGallery.unassignFace.useMutation, F.faceGallery.deleteFace.useMutation, F.faceGallery.assignFaces.useMutation, F.faceGallery.unassignFaces.useMutation, F.faceGallery.suggestFaceClusters.useQuery, F.fanControl.setPercentage.useMutation, F.fanControl.setPreset.useMutation, F.fanControl.setDirection.useMutation, F.fanControl.setOscillating.useMutation, F.fanControl.getStatus.useQuery, F.featureProbe.getStatus.useQuery, F.flood.getStatus.useQuery, F.gas.getStatus.useQuery, F.groupCommands.getStatus.useQuery, F.groupStatus.getStatus.useQuery, F.heatingValve.getStatus.useQuery, F.humidifier.setOn.useMutation, F.humidifier.setTargetHumidity.useMutation, F.humidifier.setMode.useMutation, F.humidifier.getStatus.useQuery, F.humiditySensor.getStatus.useQuery, F.image.getStatus.useQuery, F.imageSettings.getOptions.useQuery, F.imageSettings.setSettings.useMutation, F.imageSettings.getStatus.useQuery, F.integrations.list.useQuery, F.integrations.get.useQuery, F.integrations.getByAddonId.useQuery, F.integrations.create.useMutation, F.integrations.update.useMutation, F.integrations.delete.useMutation, F.integrations.getSettings.useQuery, F.integrations.setSettings.useMutation, F.integrations.getAvailableTypes.useQuery, F.integrations.testConnection.useMutation, F.intercom.startSession.useMutation, F.intercom.handleAnswer.useMutation, F.intercom.stopSession.useMutation, F.intercom.startTalkSession.useMutation, F.intercom.pushTalkAudio.useMutation, F.intercom.endTalkSession.useMutation, F.intercom.getStatus.useQuery, F.keychainAdmin.status.useQuery, F.keychainAdmin.listSecrets.useQuery, F.keychainAdmin.listAudit.useQuery, F.keychainAdmin.reveal.useMutation, F.keychainAdmin.setSystemSecret.useMutation, F.keychainAdmin.importSecret.useMutation, F.keychainAdmin.deleteOrphans.useMutation, F.keychainAdmin.rotateMasterKey.useMutation, F.keychainAdmin.purgeRetiredKeys.useMutation, F.keychainAdmin.downloadRecoveryKey.useMutation, F.keychainAdmin.resetKeychain.useMutation, F.keychainAdmin.resetReport.useQuery, F.keychainAdmin.acknowledgeReset.useMutation, F.lawnMowerControl.startMowing.useMutation, F.lawnMowerControl.pause.useMutation, F.lawnMowerControl.dock.useMutation, F.lawnMowerControl.getStatus.useQuery, F.llm.generate.useMutation, F.llm.generateVision.useMutation, F.llm.cancel.useMutation, F.llm.listProfileKinds.useQuery, F.llm.listProfiles.useQuery, F.llm.upsertProfile.useMutation, F.llm.migrateRawSecrets.useMutation, F.llm.deleteProfile.useMutation, F.llm.testProfile.useMutation, F.llm.listModels.useMutation, F.llm.getDefaults.useQuery, F.llm.setDefault.useMutation, F.llm.getUsage.useQuery, F.llm.listModelCatalog.useQuery, F.llm.listRuntimeNodes.useQuery, F.llm.listNodeModels.useQuery, F.llm.resolveModelRef.useMutation, F.llm.installModel.useMutation, F.llm.deleteModel.useMutation, F.llm.getRuntimeStatus.useQuery, F.llm.startRuntime.useMutation, F.llm.stopRuntime.useMutation, F.localNetwork.list.useQuery, F.localNetwork.getPreferred.useQuery, F.localNetwork.getConnectionEndpoints.useQuery, F.localNetwork.getNotificationEndpoint.useQuery, F.localNetwork.setNotificationEndpoint.useMutation, F.localNetwork.getViewerEndpoints.useQuery, F.localNetwork.setViewerEndpoints.useMutation, F.localNetwork.getAddresses.useQuery, F.localNetwork.addCustomAddress.useMutation, F.localNetwork.removeCustomAddress.useMutation, F.localNetwork.setAddressRole.useMutation, F.localNetwork.getHubAddresses.useQuery, F.localNetwork.getAllowedAddresses.useQuery, F.localNetwork.setAllowedAddresses.useMutation, F.localNetwork.resetAllowlistToBestMatch.useMutation, F.localNetwork.getTlsStatus.useQuery, F.localNetwork.regenerateCertificate.useMutation, F.localNetwork.uploadCertificate.useMutation, F.localNetwork.downloadCa.useQuery, F.localNetwork.useStoredUploadedCertificate.useMutation, F.localNetwork.revertToGeneratedCertificate.useMutation, F.lockControl.lock.useMutation, F.lockControl.unlock.useMutation, F.lockControl.open.useMutation, F.lockControl.getStatus.useQuery, F.mediaPlayer.play.useMutation, F.mediaPlayer.pause.useMutation, F.mediaPlayer.stop.useMutation, F.mediaPlayer.next.useMutation, F.mediaPlayer.previous.useMutation, F.mediaPlayer.seek.useMutation, F.mediaPlayer.setVolume.useMutation, F.mediaPlayer.setMute.useMutation, F.mediaPlayer.setShuffle.useMutation, F.mediaPlayer.setRepeat.useMutation, F.mediaPlayer.selectSource.useMutation, F.mediaPlayer.playMedia.useMutation, F.mediaPlayer.getStatus.useQuery, F.meshNetwork.getStatus.useQuery, F.meshNetwork.join.useMutation, F.meshNetwork.startLogin.useMutation, F.meshNetwork.leave.useMutation, F.meshNetwork.logout.useMutation, F.meshNetwork.listPeers.useQuery, F.meshNetwork.testConnection.useMutation, F.metricsProvider.collectSnapshot.useQuery, F.metricsProvider.getCached.useQuery, F.metricsProvider.getCurrent.useQuery, F.metricsProvider.getDiskSpace.useQuery, F.metricsProvider.getGpuInfo.useQuery, F.metricsProvider.getCpuTemperature.useQuery, F.metricsProvider.getProcessStats.useQuery, F.metricsProvider.listAddonInstances.useQuery, F.metricsProvider.getAddonStats.useQuery, F.metricsProvider.listNodeProcesses.useQuery, F.metricsProvider.getLoadSeries.useQuery, F.motion.isDetected.useQuery, F.motion.getStatus.useQuery, F.motionDetection.analyze.useMutation, F.motionDetection.removeCamera.useMutation, F.motionDetection.reset.useMutation, F.motionDetection.getDeviceSettingsContribution.useQuery, F.motionDetection.getDeviceLiveContribution.useQuery, F.motionDetection.applyDeviceSettingsPatch.useMutation, F.motionTrigger.setMotionTrigger.useMutation, F.motionTrigger.getStatus.useQuery, F.motionZones.getOptions.useQuery, F.motionZones.setZone.useMutation, F.motionZones.getStatus.useQuery, F.mqttBroker.listBrokers.useQuery, F.mqttBroker.getBrokerConfig.useQuery, F.mqttBroker.addBroker.useMutation, F.mqttBroker.removeBroker.useMutation, F.mqttBroker.testConnection.useMutation, F.mqttBroker.startEmbeddedBroker.useMutation, F.mqttBroker.stopEmbeddedBroker.useMutation, F.mqttBroker.getStatus.useQuery, F.nativeObjectDetection.getOptions.useQuery, F.nativeObjectDetection.setSettings.useMutation, F.nativeObjectDetection.setEnabled.useMutation, F.nativeObjectDetection.getStatus.useQuery, F.navigation.move.useMutation, F.navigation.stop.useMutation, F.navigation.goToPoint.useMutation, F.navigation.listActions.useQuery, F.navigation.runAction.useMutation, F.navigation.playSound.useMutation, F.navigation.setLightOn.useMutation, F.navigation.setLightMode.useMutation, F.navigation.setLightLevel.useMutation, F.navigation.getFeatures.useQuery, F.navigation.getStatus.useQuery, F.networkAccess.start.useMutation, F.networkAccess.stop.useMutation, F.networkAccess.getEndpoint.useQuery, F.networkAccess.getStatus.useQuery, F.networkAccess.listEndpoints.useQuery, F.networkLink.getStatus.useQuery, F.networkQuality.getDeviceStats.useQuery, F.networkQuality.getAllStats.useQuery, F.networkQuality.reportClientStats.useMutation, F.nodes.topology.useQuery, F.nodes.directory.useQuery, F.nodes.deployAddon.useMutation, F.nodes.undeployAddon.useMutation, F.nodes.restartAddon.useMutation, F.nodes.restartProcess.useMutation, F.nodes.restartNode.useMutation, F.nodes.shutdownNode.useMutation, F.nodes.renameNode.useMutation, F.nodes.clusterAddonStatus.useQuery, F.nodes.getCapUsageGraph.useQuery, F.nodes.getNodeAddons.useQuery, F.nodes.setProcessLogLevel.useMutation, F.nodes.executeQuery.useMutation, F.notificationOutput.listTargetKinds.useQuery, F.notificationOutput.listTargets.useQuery, F.notificationOutput.getTarget.useQuery, F.notificationOutput.discoverTargets.useQuery, F.notificationOutput.probeTargetConfig.useMutation, F.notificationOutput.send.useMutation, F.notificationOutput.testTarget.useMutation, F.notificationOutput.upsertTarget.useMutation, F.notificationOutput.deleteTarget.useMutation, F.notificationOutput.setTargetEnabled.useMutation, F.notificationRules.listRules.useQuery, F.notificationRules.getRule.useQuery, F.notificationRules.createRule.useMutation, F.notificationRules.updateRule.useMutation, F.notificationRules.deleteRule.useMutation, F.notificationRules.setRuleEnabled.useMutation, F.notificationRules.listSequences.useQuery, F.notificationRules.getSequence.useQuery, F.notificationRules.createSequence.useMutation, F.notificationRules.updateSequence.useMutation, F.notificationRules.deleteSequence.useMutation, F.notificationRules.getClipRetentionAsks.useQuery, F.notificationRules.listDeviceMutes.useQuery, F.notificationRules.setDeviceMuted.useMutation, F.notificationRules.testRule.useMutation, F.notificationRules.previewStateSummary.useMutation, F.notificationRules.getConditionCatalog.useQuery, F.notificationRules.getTemplateCatalog.useQuery, F.notificationRules.previewTemplate.useMutation, F.notificationRules.getHistory.useQuery, F.notificationRules.getRuleLastRuns.useQuery, F.notificationRules.resolveArtifactUrl.useQuery, F.notificationRules.listSnoozes.useQuery, F.notificationRules.createSnooze.useMutation, F.notificationRules.cancelSnooze.useMutation, F.notificationRules.getAlarmConfig.useQuery, F.notificationRules.setAlarmConfig.useMutation, F.notificationRules.createAlarmProfile.useMutation, F.notificationRules.renameAlarmProfile.useMutation, F.notificationRules.deleteAlarmProfile.useMutation, F.notificationRules.activateAlarmProfile.useMutation, F.notificationRules.getAlarmSensors.useQuery, F.notifier.send.useMutation, F.notifier.cancel.useMutation, F.notifier.getStatus.useQuery, F.numericSensor.getStatus.useQuery, F.oidcConnections.connectionFormSchema.useQuery, F.oidcConnections.listConnections.useQuery, F.oidcConnections.createConnection.useMutation, F.oidcConnections.updateConnection.useMutation, F.oidcConnections.deleteConnection.useMutation, F.osd.setOverlay.useMutation, F.osd.getStatus.useQuery, F.osdManager.getDeviceOsd.useQuery, F.osdManager.getSourceCatalog.useQuery, F.osdManager.getConditionSupport.useQuery, F.osdManager.setSlotBinding.useMutation, F.osdManager.clearSlotBinding.useMutation, F.osdManager.setSlotCameraEnabled.useMutation, F.osdManager.copyDeviceConfiguration.useMutation, F.osdManager.previewSlot.useMutation, F.osdManager.renderDevice.useMutation, F.osdManager.listTemplates.useQuery, F.osdManager.upsertTemplate.useMutation, F.osdManager.deleteTemplate.useMutation, F.petFeeder.feed.useMutation, F.petFeeder.cancelFeed.useMutation, F.petFeeder.resetDesiccant.useMutation, F.petFeeder.markFoodReplenished.useMutation, F.petFeeder.callPet.useMutation, F.petFeeder.playSound.useMutation, F.petFeeder.setChildLock.useMutation, F.petFeeder.setIndicatorLight.useMutation, F.petFeeder.setFeedSound.useMutation, F.petFeeder.setVolume.useMutation, F.petFeeder.getStatus.useQuery, F.pipelineAnalytics.getActiveTracks.useQuery, F.pipelineAnalytics.getTrack.useQuery, F.pipelineAnalytics.listTracks.useQuery, F.pipelineAnalytics.listRecentTracks.useQuery, F.pipelineAnalytics.clearTracks.useMutation, F.pipelineAnalytics.getMotionEvents.useQuery, F.pipelineAnalytics.getObjectEvents.useQuery, F.pipelineAnalytics.getAudioEvents.useQuery, F.pipelineAnalytics.listEventKinds.useQuery, F.pipelineAnalytics.listEventKindsBatch.useQuery, F.pipelineAnalytics.getSensorEvents.useQuery, F.pipelineAnalytics.getKeyEvents.useQuery, F.pipelineAnalytics.getKeyEventsBatch.useQuery, F.pipelineAnalytics.readLongTermSeries.useQuery, F.pipelineAnalytics.getEventDensity.useQuery, F.pipelineAnalytics.getEventDensityBatch.useQuery, F.pipelineAnalytics.pruneEventsBefore.useMutation, F.pipelineAnalytics.pruneTracksBefore.useMutation, F.pipelineAnalytics.wipeAllAnalytics.useMutation, F.pipelineAnalytics.reconcileFromDisk.useMutation, F.pipelineAnalytics.deleteTracks.useMutation, F.pipelineAnalytics.setTrackFlags.useMutation, F.pipelineAnalytics.listArchivedDebugNotes.useQuery, F.pipelineAnalytics.setTrackRelation.useMutation, F.pipelineAnalytics.clearTrackRelation.useMutation, F.pipelineAnalytics.setTrackPurity.useMutation, F.pipelineAnalytics.listTrackRelations.useQuery, F.pipelineAnalytics.listBirthDecisions.useQuery, F.pipelineAnalytics.getEventStoreFootprint.useQuery, F.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, F.pipelineAnalytics.pruneEvents.useMutation, F.pipelineAnalytics.deleteDeviceEvents.useMutation, F.pipelineAnalytics.pauseForStorageMigration.useMutation, F.pipelineAnalytics.resumeForStorageMigration.useMutation, F.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, F.pipelineAnalytics.startStorageMigrationMove.useMutation, F.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, F.pipelineAnalytics.cancelStorageMigrationMove.useMutation, F.pipelineAnalytics.relocateMedia.useMutation, F.pipelineAnalytics.countUnstampedEventMedia.useQuery, F.pipelineAnalytics.countRelocatableMedia.useQuery, F.pipelineAnalytics.listRelocateMediaJobs.useQuery, F.pipelineAnalytics.cancelRelocateMedia.useMutation, F.pipelineAnalytics.listOpsLog.useQuery, F.pipelineAnalytics.reclaimDebugMedia.useMutation, F.pipelineAnalytics.getMediaReclaimStatus.useQuery, F.pipelineAnalytics.getTrainingExportSummary.useQuery, F.pipelineAnalytics.getTrainingExportUrl.useQuery, F.pipelineAnalytics.listRetrainStaging.useQuery, F.pipelineAnalytics.listRetrainCorpusPage.useQuery, F.pipelineAnalytics.getRetrainCorpusKpi.useQuery, F.pipelineAnalytics.listRetrainFrames.useQuery, F.pipelineAnalytics.selectRetrainFrames.useMutation, F.pipelineAnalytics.deselectRetrainFrame.useMutation, F.pipelineAnalytics.getRetrainFrameImage.useQuery, F.pipelineAnalytics.proposeRetrainAnnotations.useMutation, F.pipelineAnalytics.listRetrainAnnotations.useQuery, F.pipelineAnalytics.saveRetrainAnnotations.useMutation, F.pipelineAnalytics.backfillRetrainOrigins.useMutation, F.pipelineAnalytics.completeRetrainTrack.useMutation, F.pipelineAnalytics.restageRetrainTrack.useMutation, F.pipelineAnalytics.getRetrainExportUrl.useQuery, F.pipelineAnalytics.setRetrainFrameComplete.useMutation, F.pipelineAnalytics.writeRetrainArchive.useMutation, F.pipelineAnalytics.offerRetrainArchive.useMutation, F.pipelineAnalytics.listRetrainAssistProfiles.useQuery, F.pipelineAnalytics.proposeRetrainAnnotationsWithLlm.useMutation, F.pipelineAnalytics.createRetrainCollection.useMutation, F.pipelineAnalytics.listRetrainCollections.useQuery, F.pipelineAnalytics.resolveRetrainTrainingCorpus.useQuery, F.pipelineAnalytics.renameRetrainCollection.useMutation, F.pipelineAnalytics.deleteRetrainCollection.useMutation, F.pipelineAnalytics.addRetrainFrameFromRecording.useMutation, F.pipelineAnalytics.addRetrainFramesToCollection.useMutation, F.pipelineAnalytics.removeRetrainFrameFromCollection.useMutation, F.pipelineAnalytics.listRetrainCollectionFrames.useQuery, F.pipelineAnalytics.getEventMedia.useQuery, F.pipelineAnalytics.getTrackMedia.useQuery, F.pipelineAnalytics.listTrackMedia.useQuery, F.pipelineAnalytics.listEventMedia.useQuery, F.pipelineAnalytics.ownersWithMedia.useQuery, F.pipelineAnalytics.searchObjectEvents.useQuery, F.pipelineAnalytics.wipeObjectEmbeddings.useMutation, F.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, F.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, F.pipelineAnalytics.getDeviceSettingsContribution.useQuery, F.pipelineAnalytics.getDeviceLiveContribution.useQuery, F.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, F.pipelineExecutor.getAvailableEngines.useQuery, F.pipelineExecutor.getSelectedEngine.useQuery, F.pipelineExecutor.getEngineProvisioning.useQuery, F.pipelineExecutor.getVideoPipelineSteps.useQuery, F.pipelineExecutor.setVideoPipelineSteps.useMutation, F.pipelineExecutor.getInferenceDeviceHealth.useQuery, F.pipelineExecutor.rearmInferenceDevice.useMutation, F.pipelineExecutor.getSchema.useQuery, F.pipelineExecutor.getOrchestratorConfigSchema.useQuery, F.pipelineExecutor.validatePipeline.useQuery, F.pipelineExecutor.getCapabilities.useQuery, F.pipelineExecutor.getAddonModels.useQuery, F.pipelineExecutor.downloadModel.useMutation, F.pipelineExecutor.deleteModel.useMutation, F.pipelineExecutor.runPipeline.useMutation, F.pipelineExecutor.runPipelineBatch.useMutation, F.pipelineExecutor.cacheFrameInPool.useMutation, F.pipelineExecutor.inferCached.useMutation, F.pipelineExecutor.uncacheFrame.useMutation, F.pipelineExecutor.getEffectiveTuning.useQuery, F.pipelineExecutor.listLoadedEngines.useQuery, F.pipelineExecutor.spinEngine.useMutation, F.pipelineExecutor.killEngine.useMutation, F.pipelineExecutor.listReferenceImages.useQuery, F.pipelineExecutor.getReferenceImage.useQuery, F.pipelineExecutor.getReferenceAudioFiles.useQuery, F.pipelineExecutor.getReferenceAudio.useQuery, F.pipelineExecutor.getAudioCapabilities.useQuery, F.pipelineExecutor.runAudioTest.useMutation, F.pipelineExecutor.getDetectionConfigSchema.useQuery, F.pipelineOrchestrator.requestOccupancyLook.useMutation, F.pipelineOrchestrator.pauseForStorageMigration.useMutation, F.pipelineOrchestrator.resumeForStorageMigration.useMutation, F.pipelineOrchestrator.assignPipeline.useMutation, F.pipelineOrchestrator.unassignPipeline.useMutation, F.pipelineOrchestrator.setPipelineDevicePin.useMutation, F.pipelineOrchestrator.getPipelineDevicePin.useQuery, F.pipelineOrchestrator.rebalance.useMutation, F.pipelineOrchestrator.getPipelineAssignments.useQuery, F.pipelineOrchestrator.getPipelineAssignment.useQuery, F.pipelineOrchestrator.getAgentLoad.useQuery, F.pipelineOrchestrator.getClusterModelChoice.useQuery, F.pipelineOrchestrator.getGlobalMetrics.useQuery, F.pipelineOrchestrator.getCameraMetrics.useQuery, F.pipelineOrchestrator.getCapabilityBindings.useQuery, F.pipelineOrchestrator.setCapabilityBinding.useMutation, F.pipelineOrchestrator.getIngestOwner.useQuery, F.pipelineOrchestrator.assignAudio.useMutation, F.pipelineOrchestrator.unassignAudio.useMutation, F.pipelineOrchestrator.getAudioAssignment.useQuery, F.pipelineOrchestrator.getAudioNodeLoad.useQuery, F.pipelineOrchestrator.getAudioAssignments.useQuery, F.pipelineOrchestrator.getAgentSettings.useQuery;
4891
+ F.deviceState.getCapSlice.useQuery, F.deviceState.getAllSnapshots.useQuery, F.deviceState.setCapSlice.useMutation, F.deviceState.claimFields.useMutation, F.deviceState.patchOwnedFields.useMutation, F.deviceState.releaseClaim.useMutation, F.deviceState.listClaims.useQuery, F.deviceState.getNativeCapSlice.useQuery, F.deviceStatus.getStatus.useQuery, F.dishwasher.start.useMutation, F.dishwasher.pause.useMutation, F.dishwasher.resume.useMutation, F.dishwasher.stop.useMutation, F.dishwasher.setProgram.useMutation, F.dishwasher.setPower.useMutation, F.dishwasher.setHalfLoad.useMutation, F.dishwasher.setHygienePlus.useMutation, F.dishwasher.setExtraDry.useMutation, F.dishwasher.setIntensiveZone.useMutation, F.dishwasher.setVarioSpeedPlus.useMutation, F.dishwasher.setChildLock.useMutation, F.dishwasher.setOption.useMutation, F.dishwasher.getOptions.useQuery, F.dishwasher.getStatus.useQuery, F.displayPalette.getPalette.useQuery, F.displayPalette.listPresets.useQuery, F.displayPalette.setPalette.useMutation, F.doorbell.getStatus.useQuery, F.enumSensor.getStatus.useQuery, F.eventEmitter.getStatus.useQuery, F.faceGallery.listIdentities.useQuery, F.faceGallery.createIdentity.useMutation, F.faceGallery.renameIdentity.useMutation, F.faceGallery.deleteIdentity.useMutation, F.faceGallery.listIdentitySamples.useQuery, F.faceGallery.auditIdentitySamples.useQuery, F.faceGallery.removeSample.useMutation, F.faceGallery.listRecentFaces.useQuery, F.faceGallery.getFaceByTrack.useQuery, F.faceGallery.getFaceMedia.useQuery, F.faceGallery.assignFace.useMutation, F.faceGallery.unassignFace.useMutation, F.faceGallery.deleteFace.useMutation, F.faceGallery.assignFaces.useMutation, F.faceGallery.unassignFaces.useMutation, F.faceGallery.suggestFaceClusters.useQuery, F.fanControl.setPercentage.useMutation, F.fanControl.setPreset.useMutation, F.fanControl.setDirection.useMutation, F.fanControl.setOscillating.useMutation, F.fanControl.getStatus.useQuery, F.featureProbe.getStatus.useQuery, F.flood.getStatus.useQuery, F.gas.getStatus.useQuery, F.groupActive.getStatus.useQuery, F.groupCommands.getStatus.useQuery, F.groupStatus.getStatus.useQuery, F.heatingValve.getStatus.useQuery, F.humidifier.setOn.useMutation, F.humidifier.setTargetHumidity.useMutation, F.humidifier.setMode.useMutation, F.humidifier.getStatus.useQuery, F.humiditySensor.getStatus.useQuery, F.image.getStatus.useQuery, F.imageSettings.getOptions.useQuery, F.imageSettings.setSettings.useMutation, F.imageSettings.getStatus.useQuery, F.integrations.list.useQuery, F.integrations.get.useQuery, F.integrations.getByAddonId.useQuery, F.integrations.create.useMutation, F.integrations.update.useMutation, F.integrations.delete.useMutation, F.integrations.getSettings.useQuery, F.integrations.setSettings.useMutation, F.integrations.getAvailableTypes.useQuery, F.integrations.testConnection.useMutation, F.intercom.startSession.useMutation, F.intercom.handleAnswer.useMutation, F.intercom.stopSession.useMutation, F.intercom.startTalkSession.useMutation, F.intercom.pushTalkAudio.useMutation, F.intercom.endTalkSession.useMutation, F.intercom.getStatus.useQuery, F.keychainAdmin.status.useQuery, F.keychainAdmin.listSecrets.useQuery, F.keychainAdmin.listAudit.useQuery, F.keychainAdmin.reveal.useMutation, F.keychainAdmin.setSystemSecret.useMutation, F.keychainAdmin.importSecret.useMutation, F.keychainAdmin.deleteOrphans.useMutation, F.keychainAdmin.rotateMasterKey.useMutation, F.keychainAdmin.purgeRetiredKeys.useMutation, F.keychainAdmin.downloadRecoveryKey.useMutation, F.keychainAdmin.resetKeychain.useMutation, F.keychainAdmin.resetReport.useQuery, F.keychainAdmin.acknowledgeReset.useMutation, F.lawnMowerControl.startMowing.useMutation, F.lawnMowerControl.pause.useMutation, F.lawnMowerControl.dock.useMutation, F.lawnMowerControl.getStatus.useQuery, F.llm.generate.useMutation, F.llm.generateVision.useMutation, F.llm.cancel.useMutation, F.llm.listProfileKinds.useQuery, F.llm.listProfiles.useQuery, F.llm.upsertProfile.useMutation, F.llm.migrateRawSecrets.useMutation, F.llm.deleteProfile.useMutation, F.llm.testProfile.useMutation, F.llm.listModels.useMutation, F.llm.getDefaults.useQuery, F.llm.setDefault.useMutation, F.llm.getUsage.useQuery, F.llm.listModelCatalog.useQuery, F.llm.listRuntimeNodes.useQuery, F.llm.listNodeModels.useQuery, F.llm.resolveModelRef.useMutation, F.llm.installModel.useMutation, F.llm.deleteModel.useMutation, F.llm.getRuntimeStatus.useQuery, F.llm.startRuntime.useMutation, F.llm.stopRuntime.useMutation, F.localNetwork.list.useQuery, F.localNetwork.getPreferred.useQuery, F.localNetwork.getConnectionEndpoints.useQuery, F.localNetwork.getNotificationEndpoint.useQuery, F.localNetwork.setNotificationEndpoint.useMutation, F.localNetwork.getViewerEndpoints.useQuery, F.localNetwork.setViewerEndpoints.useMutation, F.localNetwork.getAddresses.useQuery, F.localNetwork.addCustomAddress.useMutation, F.localNetwork.removeCustomAddress.useMutation, F.localNetwork.setAddressRole.useMutation, F.localNetwork.getHubAddresses.useQuery, F.localNetwork.getAllowedAddresses.useQuery, F.localNetwork.setAllowedAddresses.useMutation, F.localNetwork.resetAllowlistToBestMatch.useMutation, F.localNetwork.getTlsStatus.useQuery, F.localNetwork.regenerateCertificate.useMutation, F.localNetwork.uploadCertificate.useMutation, F.localNetwork.downloadCa.useQuery, F.localNetwork.useStoredUploadedCertificate.useMutation, F.localNetwork.revertToGeneratedCertificate.useMutation, F.lockControl.lock.useMutation, F.lockControl.unlock.useMutation, F.lockControl.open.useMutation, F.lockControl.getStatus.useQuery, F.mediaPlayer.play.useMutation, F.mediaPlayer.pause.useMutation, F.mediaPlayer.stop.useMutation, F.mediaPlayer.next.useMutation, F.mediaPlayer.previous.useMutation, F.mediaPlayer.seek.useMutation, F.mediaPlayer.setVolume.useMutation, F.mediaPlayer.setMute.useMutation, F.mediaPlayer.setShuffle.useMutation, F.mediaPlayer.setRepeat.useMutation, F.mediaPlayer.selectSource.useMutation, F.mediaPlayer.playMedia.useMutation, F.mediaPlayer.getStatus.useQuery, F.meshNetwork.getStatus.useQuery, F.meshNetwork.join.useMutation, F.meshNetwork.startLogin.useMutation, F.meshNetwork.leave.useMutation, F.meshNetwork.logout.useMutation, F.meshNetwork.listPeers.useQuery, F.meshNetwork.testConnection.useMutation, F.meter.getStatus.useQuery, F.metricsProvider.collectSnapshot.useQuery, F.metricsProvider.getCached.useQuery, F.metricsProvider.getCurrent.useQuery, F.metricsProvider.getDiskSpace.useQuery, F.metricsProvider.getGpuInfo.useQuery, F.metricsProvider.getCpuTemperature.useQuery, F.metricsProvider.getProcessStats.useQuery, F.metricsProvider.listAddonInstances.useQuery, F.metricsProvider.getAddonStats.useQuery, F.metricsProvider.listNodeProcesses.useQuery, F.metricsProvider.getLoadSeries.useQuery, F.motion.isDetected.useQuery, F.motion.getStatus.useQuery, F.motionDetection.analyze.useMutation, F.motionDetection.removeCamera.useMutation, F.motionDetection.reset.useMutation, F.motionDetection.getDeviceSettingsContribution.useQuery, F.motionDetection.getDeviceLiveContribution.useQuery, F.motionDetection.applyDeviceSettingsPatch.useMutation, F.motionTrigger.setMotionTrigger.useMutation, F.motionTrigger.getStatus.useQuery, F.motionZones.getOptions.useQuery, F.motionZones.setZone.useMutation, F.motionZones.getStatus.useQuery, F.mqttBroker.listBrokers.useQuery, F.mqttBroker.getBrokerConfig.useQuery, F.mqttBroker.addBroker.useMutation, F.mqttBroker.removeBroker.useMutation, F.mqttBroker.testConnection.useMutation, F.mqttBroker.startEmbeddedBroker.useMutation, F.mqttBroker.stopEmbeddedBroker.useMutation, F.mqttBroker.getStatus.useQuery, F.nativeObjectDetection.getOptions.useQuery, F.nativeObjectDetection.setSettings.useMutation, F.nativeObjectDetection.setEnabled.useMutation, F.nativeObjectDetection.getStatus.useQuery, F.navigation.move.useMutation, F.navigation.stop.useMutation, F.navigation.goToPoint.useMutation, F.navigation.listActions.useQuery, F.navigation.runAction.useMutation, F.navigation.playSound.useMutation, F.navigation.setLightOn.useMutation, F.navigation.setLightMode.useMutation, F.navigation.setLightLevel.useMutation, F.navigation.getFeatures.useQuery, F.navigation.getStatus.useQuery, F.networkAccess.start.useMutation, F.networkAccess.stop.useMutation, F.networkAccess.getEndpoint.useQuery, F.networkAccess.getStatus.useQuery, F.networkAccess.listEndpoints.useQuery, F.networkLink.getStatus.useQuery, F.networkQuality.getDeviceStats.useQuery, F.networkQuality.getAllStats.useQuery, F.networkQuality.reportClientStats.useMutation, F.nodes.topology.useQuery, F.nodes.directory.useQuery, F.nodes.deployAddon.useMutation, F.nodes.undeployAddon.useMutation, F.nodes.restartAddon.useMutation, F.nodes.restartProcess.useMutation, F.nodes.restartNode.useMutation, F.nodes.shutdownNode.useMutation, F.nodes.renameNode.useMutation, F.nodes.clusterAddonStatus.useQuery, F.nodes.getCapUsageGraph.useQuery, F.nodes.getNodeAddons.useQuery, F.nodes.setProcessLogLevel.useMutation, F.nodes.executeQuery.useMutation, F.notificationOutput.listTargetKinds.useQuery, F.notificationOutput.listTargets.useQuery, F.notificationOutput.getTarget.useQuery, F.notificationOutput.discoverTargets.useQuery, F.notificationOutput.probeTargetConfig.useMutation, F.notificationOutput.send.useMutation, F.notificationOutput.testTarget.useMutation, F.notificationOutput.upsertTarget.useMutation, F.notificationOutput.deleteTarget.useMutation, F.notificationOutput.setTargetEnabled.useMutation, F.notificationRules.listRules.useQuery, F.notificationRules.getRule.useQuery, F.notificationRules.createRule.useMutation, F.notificationRules.updateRule.useMutation, F.notificationRules.deleteRule.useMutation, F.notificationRules.setRuleEnabled.useMutation, F.notificationRules.listSequences.useQuery, F.notificationRules.getSequence.useQuery, F.notificationRules.createSequence.useMutation, F.notificationRules.updateSequence.useMutation, F.notificationRules.deleteSequence.useMutation, F.notificationRules.getClipRetentionAsks.useQuery, F.notificationRules.listDeviceMutes.useQuery, F.notificationRules.setDeviceMuted.useMutation, F.notificationRules.testRule.useMutation, F.notificationRules.previewStateSummary.useMutation, F.notificationRules.getConditionCatalog.useQuery, F.notificationRules.getTemplateCatalog.useQuery, F.notificationRules.previewTemplate.useMutation, F.notificationRules.getHistory.useQuery, F.notificationRules.getRuleLastRuns.useQuery, F.notificationRules.resolveArtifactUrl.useQuery, F.notificationRules.listSnoozes.useQuery, F.notificationRules.createSnooze.useMutation, F.notificationRules.cancelSnooze.useMutation, F.notificationRules.getAlarmConfig.useQuery, F.notificationRules.setAlarmConfig.useMutation, F.notificationRules.createAlarmProfile.useMutation, F.notificationRules.renameAlarmProfile.useMutation, F.notificationRules.deleteAlarmProfile.useMutation, F.notificationRules.activateAlarmProfile.useMutation, F.notificationRules.getAlarmSensors.useQuery, F.notifier.send.useMutation, F.notifier.cancel.useMutation, F.notifier.getStatus.useQuery, F.numericSensor.getStatus.useQuery, F.oidcConnections.connectionFormSchema.useQuery, F.oidcConnections.listConnections.useQuery, F.oidcConnections.createConnection.useMutation, F.oidcConnections.updateConnection.useMutation, F.oidcConnections.deleteConnection.useMutation, F.osd.setOverlay.useMutation, F.osd.getStatus.useQuery, F.osdManager.getDeviceOsd.useQuery, F.osdManager.getSourceCatalog.useQuery, F.osdManager.getConditionSupport.useQuery, F.osdManager.setSlotBinding.useMutation, F.osdManager.clearSlotBinding.useMutation, F.osdManager.setSlotCameraEnabled.useMutation, F.osdManager.copyDeviceConfiguration.useMutation, F.osdManager.previewSlot.useMutation, F.osdManager.renderDevice.useMutation, F.osdManager.listTemplates.useQuery, F.osdManager.upsertTemplate.useMutation, F.osdManager.deleteTemplate.useMutation, F.petFeeder.feed.useMutation, F.petFeeder.cancelFeed.useMutation, F.petFeeder.resetDesiccant.useMutation, F.petFeeder.markFoodReplenished.useMutation, F.petFeeder.callPet.useMutation, F.petFeeder.playSound.useMutation, F.petFeeder.setChildLock.useMutation, F.petFeeder.setIndicatorLight.useMutation, F.petFeeder.setFeedSound.useMutation, F.petFeeder.setVolume.useMutation, F.petFeeder.getStatus.useQuery, F.pipelineAnalytics.getActiveTracks.useQuery, F.pipelineAnalytics.getTrack.useQuery, F.pipelineAnalytics.listTracks.useQuery, F.pipelineAnalytics.listRecentTracks.useQuery, F.pipelineAnalytics.clearTracks.useMutation, F.pipelineAnalytics.getMotionEvents.useQuery, F.pipelineAnalytics.getObjectEvents.useQuery, F.pipelineAnalytics.getAudioEvents.useQuery, F.pipelineAnalytics.listEventKinds.useQuery, F.pipelineAnalytics.listEventKindsBatch.useQuery, F.pipelineAnalytics.getSensorEvents.useQuery, F.pipelineAnalytics.getKeyEvents.useQuery, F.pipelineAnalytics.getKeyEventsBatch.useQuery, F.pipelineAnalytics.readLongTermSeries.useQuery, F.pipelineAnalytics.getEventDensity.useQuery, F.pipelineAnalytics.getEventDensityBatch.useQuery, F.pipelineAnalytics.pruneEventsBefore.useMutation, F.pipelineAnalytics.pruneTracksBefore.useMutation, F.pipelineAnalytics.wipeAllAnalytics.useMutation, F.pipelineAnalytics.reconcileFromDisk.useMutation, F.pipelineAnalytics.deleteTracks.useMutation, F.pipelineAnalytics.setTrackFlags.useMutation, F.pipelineAnalytics.listArchivedDebugNotes.useQuery, F.pipelineAnalytics.setTrackRelation.useMutation, F.pipelineAnalytics.clearTrackRelation.useMutation, F.pipelineAnalytics.setTrackPurity.useMutation, F.pipelineAnalytics.listTrackRelations.useQuery, F.pipelineAnalytics.listBirthDecisions.useQuery, F.pipelineAnalytics.getEventStoreFootprint.useQuery, F.pipelineAnalytics.getEventMediaFootprintByKind.useQuery, F.pipelineAnalytics.pruneEvents.useMutation, F.pipelineAnalytics.deleteDeviceEvents.useMutation, F.pipelineAnalytics.pauseForStorageMigration.useMutation, F.pipelineAnalytics.resumeForStorageMigration.useMutation, F.pipelineAnalytics.refreshStorageLocationsForMigration.useMutation, F.pipelineAnalytics.startStorageMigrationMove.useMutation, F.pipelineAnalytics.getStorageMigrationMoveStatus.useQuery, F.pipelineAnalytics.cancelStorageMigrationMove.useMutation, F.pipelineAnalytics.relocateMedia.useMutation, F.pipelineAnalytics.countUnstampedEventMedia.useQuery, F.pipelineAnalytics.countRelocatableMedia.useQuery, F.pipelineAnalytics.listRelocateMediaJobs.useQuery, F.pipelineAnalytics.cancelRelocateMedia.useMutation, F.pipelineAnalytics.listOpsLog.useQuery, F.pipelineAnalytics.reclaimDebugMedia.useMutation, F.pipelineAnalytics.getMediaReclaimStatus.useQuery, F.pipelineAnalytics.getTrainingExportSummary.useQuery, F.pipelineAnalytics.getTrainingExportUrl.useQuery, F.pipelineAnalytics.listRetrainStaging.useQuery, F.pipelineAnalytics.listRetrainCorpusPage.useQuery, F.pipelineAnalytics.getRetrainCorpusKpi.useQuery, F.pipelineAnalytics.listRetrainFrames.useQuery, F.pipelineAnalytics.selectRetrainFrames.useMutation, F.pipelineAnalytics.deselectRetrainFrame.useMutation, F.pipelineAnalytics.getRetrainFrameImage.useQuery, F.pipelineAnalytics.proposeRetrainAnnotations.useMutation, F.pipelineAnalytics.listRetrainAnnotations.useQuery, F.pipelineAnalytics.saveRetrainAnnotations.useMutation, F.pipelineAnalytics.backfillRetrainOrigins.useMutation, F.pipelineAnalytics.completeRetrainTrack.useMutation, F.pipelineAnalytics.restageRetrainTrack.useMutation, F.pipelineAnalytics.getRetrainExportUrl.useQuery, F.pipelineAnalytics.setRetrainFrameComplete.useMutation, F.pipelineAnalytics.writeRetrainArchive.useMutation, F.pipelineAnalytics.offerRetrainArchive.useMutation, F.pipelineAnalytics.listRetrainAssistProfiles.useQuery, F.pipelineAnalytics.proposeRetrainAnnotationsWithLlm.useMutation, F.pipelineAnalytics.createRetrainCollection.useMutation, F.pipelineAnalytics.listRetrainCollections.useQuery, F.pipelineAnalytics.resolveRetrainTrainingCorpus.useQuery, F.pipelineAnalytics.renameRetrainCollection.useMutation, F.pipelineAnalytics.deleteRetrainCollection.useMutation, F.pipelineAnalytics.addRetrainFrameFromRecording.useMutation, F.pipelineAnalytics.addRetrainFramesToCollection.useMutation, F.pipelineAnalytics.removeRetrainFrameFromCollection.useMutation, F.pipelineAnalytics.listRetrainCollectionFrames.useQuery, F.pipelineAnalytics.getEventMedia.useQuery, F.pipelineAnalytics.getTrackMedia.useQuery, F.pipelineAnalytics.listTrackMedia.useQuery, F.pipelineAnalytics.listEventMedia.useQuery, F.pipelineAnalytics.ownersWithMedia.useQuery, F.pipelineAnalytics.searchObjectEvents.useQuery, F.pipelineAnalytics.wipeObjectEmbeddings.useMutation, F.pipelineAnalytics.rebuildObjectEmbeddings.useMutation, F.pipelineAnalytics.getObjectEmbeddingRebuildStatus.useQuery, F.pipelineAnalytics.getDeviceSettingsContribution.useQuery, F.pipelineAnalytics.getDeviceLiveContribution.useQuery, F.pipelineAnalytics.applyDeviceSettingsPatch.useMutation, F.pipelineExecutor.getAvailableEngines.useQuery, F.pipelineExecutor.getSelectedEngine.useQuery, F.pipelineExecutor.getEngineProvisioning.useQuery, F.pipelineExecutor.getVideoPipelineSteps.useQuery, F.pipelineExecutor.setVideoPipelineSteps.useMutation, F.pipelineExecutor.getInferenceDeviceHealth.useQuery, F.pipelineExecutor.rearmInferenceDevice.useMutation, F.pipelineExecutor.getSchema.useQuery, F.pipelineExecutor.getOrchestratorConfigSchema.useQuery, F.pipelineExecutor.validatePipeline.useQuery, F.pipelineExecutor.getCapabilities.useQuery, F.pipelineExecutor.getAddonModels.useQuery, F.pipelineExecutor.downloadModel.useMutation, F.pipelineExecutor.deleteModel.useMutation, F.pipelineExecutor.runPipeline.useMutation, F.pipelineExecutor.runPipelineBatch.useMutation, F.pipelineExecutor.cacheFrameInPool.useMutation, F.pipelineExecutor.inferCached.useMutation, F.pipelineExecutor.uncacheFrame.useMutation, F.pipelineExecutor.getEffectiveTuning.useQuery, F.pipelineExecutor.listLoadedEngines.useQuery, F.pipelineExecutor.spinEngine.useMutation, F.pipelineExecutor.killEngine.useMutation, F.pipelineExecutor.listReferenceImages.useQuery, F.pipelineExecutor.getReferenceImage.useQuery, F.pipelineExecutor.getReferenceAudioFiles.useQuery, F.pipelineExecutor.getReferenceAudio.useQuery, F.pipelineExecutor.getAudioCapabilities.useQuery, F.pipelineExecutor.runAudioTest.useMutation, F.pipelineExecutor.getDetectionConfigSchema.useQuery, F.pipelineOrchestrator.requestOccupancyLook.useMutation, F.pipelineOrchestrator.pauseForStorageMigration.useMutation, F.pipelineOrchestrator.resumeForStorageMigration.useMutation, F.pipelineOrchestrator.assignPipeline.useMutation, F.pipelineOrchestrator.unassignPipeline.useMutation, F.pipelineOrchestrator.setPipelineDevicePin.useMutation, F.pipelineOrchestrator.getPipelineDevicePin.useQuery, F.pipelineOrchestrator.rebalance.useMutation, F.pipelineOrchestrator.getPipelineAssignments.useQuery, F.pipelineOrchestrator.getPipelineAssignment.useQuery, F.pipelineOrchestrator.getAgentLoad.useQuery, F.pipelineOrchestrator.getClusterModelChoice.useQuery, F.pipelineOrchestrator.getGlobalMetrics.useQuery, F.pipelineOrchestrator.getCameraMetrics.useQuery, F.pipelineOrchestrator.getCapabilityBindings.useQuery, F.pipelineOrchestrator.setCapabilityBinding.useMutation, F.pipelineOrchestrator.getIngestOwner.useQuery, F.pipelineOrchestrator.assignAudio.useMutation, F.pipelineOrchestrator.unassignAudio.useMutation, F.pipelineOrchestrator.getAudioAssignment.useQuery, F.pipelineOrchestrator.getAudioNodeLoad.useQuery, F.pipelineOrchestrator.getAudioAssignments.useQuery, F.pipelineOrchestrator.getAgentSettings.useQuery;
4892
4892
  var ao = F.pipelineOrchestrator.listAgentSettings.useQuery;
4893
4893
  //#endregion
4894
4894
  //#region ../ui-library/src/primitives/badge.tsx
@@ -26811,7 +26811,8 @@ var Eh = K({
26811
26811
  snoozeOptions: G(U().int().min(1).max(lh)).max(4).optional(),
26812
26812
  actions: Th.optional(),
26813
26813
  confirm: Bh.optional(),
26814
- groupingSec: U().int().min(5).max(60).optional()
26814
+ groupingSec: U().int().min(5).max(60).optional(),
26815
+ askVerdict: W().optional()
26815
26816
  }), Hh = Vh.partial().extend({
26816
26817
  disabledTargetIds: G(H()).optional(),
26817
26818
  enabled: W().optional(),
@@ -29459,7 +29460,7 @@ function ry({ device: e, form: t, parent: n, siblings: r, className: i, testId:
29459
29460
  children: o
29460
29461
  });
29461
29462
  }
29462
- e(), e(), M.Camera;
29463
+ e(), e(), j.Camera;
29463
29464
  //#endregion
29464
29465
  //#region ../ui-library/src/hooks/use-device-capability.ts
29465
29466
  function Z(e) {
@@ -29475,7 +29476,7 @@ function Z(e) {
29475
29476
  }
29476
29477
  //#endregion
29477
29478
  //#region ../ui-library/src/primitives/skeleton.tsx
29478
- e(), de.exclude(["full"]).options, e();
29479
+ e(), Ee.exclude(["full"]).options, e();
29479
29480
  var iy = c(({ className: e, ...t }, n) => /* @__PURE__ */ v("div", {
29480
29481
  ref: n,
29481
29482
  className: z("animate-pulse bg-surface-hover rounded-md h-4 w-full", e),
@@ -29634,7 +29635,7 @@ function hy({ className: e, ...t }) {
29634
29635
  }
29635
29636
  //#endregion
29636
29637
  //#region ../../node_modules/qrcode.react/lib/esm/index.js
29637
- e(), e(), e(), e(), e(), e(), e(), n(() => import("./MotionZonesSettings-DBGT8Nj8.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./PrivacyMaskSettings-CLQVQM7P.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), e(), e();
29638
+ e(), e(), e(), e(), e(), e(), e(), n(() => import("./MotionZonesSettings-BdAF3Lx2.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./PrivacyMaskSettings-bRMKWnGr.mjs").then((e) => ({ default: e.PrivacyMaskSettings }))), e(), e();
29638
29639
  var gy = Object.defineProperty, _y = Object.getOwnPropertySymbols, vy = Object.prototype.hasOwnProperty, yy = Object.prototype.propertyIsEnumerable, by = (e, t, n) => t in e ? gy(e, t, {
29639
29640
  enumerable: !0,
29640
29641
  configurable: !0,
@@ -30515,11 +30516,11 @@ var By = function() {
30515
30516
  }), r.useEffect(() => {
30516
30517
  S(!1);
30517
30518
  }, [_]);
30518
- let te = xy({
30519
+ let E = xy({
30519
30520
  height: a,
30520
30521
  width: a
30521
- }, h), ne = null;
30522
- return _ != null && (ne = /* @__PURE__ */ r.createElement("img", {
30522
+ }, h), te = null;
30523
+ return _ != null && (te = /* @__PURE__ */ r.createElement("img", {
30523
30524
  src: _,
30524
30525
  key: _,
30525
30526
  style: { display: "none" },
@@ -30529,12 +30530,12 @@ var By = function() {
30529
30530
  ref: y,
30530
30531
  crossOrigin: ee?.crossOrigin
30531
30532
  })), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("canvas", xy({
30532
- style: te,
30533
+ style: E,
30533
30534
  height: a,
30534
30535
  width: a,
30535
30536
  ref: b,
30536
30537
  role: "img"
30537
- }, g)), ne);
30538
+ }, g)), te);
30538
30539
  });
30539
30540
  Vy.displayName = "QRCodeCanvas";
30540
30541
  var Hy = r.forwardRef(function(e, t) {
@@ -30649,7 +30650,7 @@ function Jy({ active: e, onClick: t, disabled: n, children: r, title: i }) {
30649
30650
  });
30650
30651
  }
30651
30652
  function Yy({ catalog: e, value: t, onChange: n, disabled: r }) {
30652
- let i = S(), a = qe(e), o = Xe(e, t), s = a.find((e) => e.family === o?.family)?.family ?? a[0]?.family ?? "", c = a.find((e) => e.family === s) ?? a[0];
30653
+ let i = S(), a = De(e), o = ne(e, t), s = a.find((e) => e.family === o?.family)?.family ?? a[0]?.family ?? "", c = a.find((e) => e.family === s) ?? a[0];
30653
30654
  if (!c) return null;
30654
30655
  let l = c.tiers.find((e) => e.tier === o?.tier)?.tier ?? c.tiers[0]?.tier ?? "", u = c.tiers.find((e) => e.tier === l) ?? c.tiers[0];
30655
30656
  if (!u) return null;
@@ -30660,7 +30661,7 @@ function Yy({ catalog: e, value: t, onChange: n, disabled: r }) {
30660
30661
  let t = u.options.filter((t) => t.resolution === e), r = t.find((e) => e.precision === (o?.precision ?? "fp32") && e.optimization === (o?.optimization ?? "standard")) ?? t[0];
30661
30662
  r && n(r.modelId);
30662
30663
  }, _ = (t) => {
30663
- let r = ie(e, {
30664
+ let r = He(e, {
30664
30665
  family: c.family,
30665
30666
  tier: u.tier,
30666
30667
  precision: t.precision,
@@ -30792,7 +30793,7 @@ function Qy({ models: e, value: t, onChange: n, disabled: r, defaultModelId: a }
30792
30793
  r ? r.push(n) : t.set(e, [n]);
30793
30794
  }
30794
30795
  return t;
30795
- }, [e]), l = o(() => Je.filter((e) => (c.get(e)?.length ?? 0) > 0), [c]), u = o(() => {
30796
+ }, [e]), l = o(() => Oe.filter((e) => (c.get(e)?.length ?? 0) > 0), [c]), u = o(() => {
30796
30797
  let n = e.find((e) => e.id === t);
30797
30798
  return n ? Zy(n) : void 0;
30798
30799
  }, [e, t]) ?? (l.includes("camstack") ? "camstack" : l[0] ?? "camstack"), [d, f] = g(u);
@@ -30890,12 +30891,12 @@ function rb(e) {
30890
30891
  //#endregion
30891
30892
  //#region ../ui-library/src/composites/root-model-source.tsx
30892
30893
  function ib(e, t, n) {
30893
- return ue(e) ? ge(e, t, n?.supplies) : null;
30894
+ return ie(e) ? oe(e, t, n?.supplies) : null;
30894
30895
  }
30895
30896
  function ab(e, t) {
30896
30897
  return {
30897
30898
  ...e,
30898
- [We]: t
30899
+ [Fe]: t
30899
30900
  };
30900
30901
  }
30901
30902
  function ob(e, t = x) {
@@ -30958,8 +30959,8 @@ function ub(e, t) {
30958
30959
  return (t === void 0 ? e : e / t).toFixed(2).replace(/\.?0+$/, "");
30959
30960
  }
30960
30961
  function db({ field: e, modelId: t, settings: n, disabled: r, onChangeSettings: i, hideSourceRow: a = !1 }) {
30961
- let o = S(), s = e.modelApplicability?.defaultByModel?.[t], c = me(n, e.key, t.length > 0 ? t : void 0, s, e.default), l = typeof e.default == "number" ? e.default : e.min ?? 0, u = typeof c.value == "number" ? c.value : l, d = e.type === "slider" ? e.displayScale : void 0, f = "unit" in e ? e.unit : void 0, p = c.inapplicableOverride, m = n?.[e.key] !== void 0, h = (r) => {
30962
- i(t.length > 0 ? ye(n, e.key, r, t) : {
30962
+ let o = S(), s = e.modelApplicability?.defaultByModel?.[t], c = re(n, e.key, t.length > 0 ? t : void 0, s, e.default), l = typeof e.default == "number" ? e.default : e.min ?? 0, u = typeof c.value == "number" ? c.value : l, d = e.type === "slider" ? e.displayScale : void 0, f = "unit" in e ? e.unit : void 0, p = c.inapplicableOverride, m = n?.[e.key] !== void 0, h = (r) => {
30963
+ i(t.length > 0 ? w(n, e.key, r, t) : {
30963
30964
  ...n,
30964
30965
  [e.key]: r
30965
30966
  });
@@ -30999,7 +31000,7 @@ function db({ field: e, modelId: t, settings: n, disabled: r, onChangeSettings:
30999
31000
  type: "button",
31000
31001
  disabled: r,
31001
31002
  className: "text-foreground-subtle hover:text-foreground disabled:opacity-50",
31002
- onClick: () => i(Ie(n, e.key)),
31003
+ onClick: () => i(ke(n, e.key)),
31003
31004
  children: o("uiLibrary.modelBoundSlider.resetToDefault", "Reset to model default")
31004
31005
  })]
31005
31006
  }),
@@ -31021,7 +31022,7 @@ function pb({ fields: e, modelId: t, settings: n, disabled: r, onReset: i }) {
31021
31022
  type: "button",
31022
31023
  disabled: r,
31023
31024
  className: "text-[10px] text-primary hover:underline disabled:opacity-50",
31024
- onClick: () => i(Be(n, o, s)),
31025
+ onClick: () => i(Ae(n, o, s)),
31025
31026
  children: a("uiLibrary.modelBoundSlider.resetThresholds", "Reset thresholds to model defaults")
31026
31027
  });
31027
31028
  }
@@ -31224,7 +31225,7 @@ function yb(e) {
31224
31225
  return e.type !== "separator" && e.type !== "info" && e.type !== "group";
31225
31226
  }
31226
31227
  function bb(e) {
31227
- return "bindsToModel" in e && e.bindsToModel === !0 ? !0 : "key" in e && ce(e.key);
31228
+ return "bindsToModel" in e && e.bindsToModel === !0 ? !0 : "key" in e && ue(e.key);
31228
31229
  }
31229
31230
  function xb(e) {
31230
31231
  return e.flatMap((e) => {
@@ -31292,13 +31293,13 @@ function Ob(e, t, n) {
31292
31293
  }
31293
31294
  var kb = ["camera", "node"];
31294
31295
  function Ab({ field: e, layers: t, target: n, labels: r, boundKeys: i, modelId: a, pinned: o, disabled: s, onReset: c, action: l }) {
31295
- let u = S(), d = ne(t), f = Cb(e, a), p = f.fromModel ? u("uiLibrary.layeredSettings.modelDefault", "model default") : u("uiLibrary.layeredSettings.default", "default"), m = Ve(t, e.key, i), h = Sb(e), g = h ? me(d, e.key, a, f.value, f.value) : null, _ = g === null || g.source === "override" ? m : "default", b = _ === "default" ? p : r[_] ?? _, x = kb.filter((e) => e !== _ && r[e] !== void 0).filter((n) => t[n]?.[e.key] !== void 0).map((n) => {
31296
- let i = h ? t[n]?.[E(e.key)] : void 0, o = typeof i == "string" && i !== a ? u("uiLibrary.layeredSettings.forModel", " (for {{model}})", { model: i }) : "";
31296
+ let u = S(), d = Pe(t), f = Cb(e, a), p = f.fromModel ? u("uiLibrary.layeredSettings.modelDefault", "model default") : u("uiLibrary.layeredSettings.default", "default"), m = _e(t, e.key, i), h = Sb(e), g = h ? re(d, e.key, a, f.value, f.value) : null, _ = g === null || g.source === "override" ? m : "default", b = _ === "default" ? p : r[_] ?? _, x = kb.filter((e) => e !== _ && r[e] !== void 0).filter((n) => t[n]?.[e.key] !== void 0).map((n) => {
31297
+ let i = h ? t[n]?.[k(e.key)] : void 0, o = typeof i == "string" && i !== a ? u("uiLibrary.layeredSettings.forModel", " (for {{model}})", { model: i }) : "";
31297
31298
  return `${r[n]} ${Tb(e, t[n]?.[e.key])}${o}`;
31298
- }), C = _ === "default" ? x : [...x, `${p} ${Tb(e, f.value)}`], w = Ve({ [n]: t[n] }, e.key, i) !== "default", T = kb.slice(kb.indexOf(n) + 1).find((n) => r[n] !== void 0 && t[n]?.[e.key] !== void 0), ee = T === void 0 ? p : r[T] ?? T, te = m === "default" ? "default" : Ve({
31299
+ }), C = _ === "default" ? x : [...x, `${p} ${Tb(e, f.value)}`], w = _e({ [n]: t[n] }, e.key, i) !== "default", T = kb.slice(kb.indexOf(n) + 1).find((n) => r[n] !== void 0 && t[n]?.[e.key] !== void 0), ee = T === void 0 ? p : r[T] ?? T, E = m === "default" ? "default" : _e({
31299
31300
  ...t,
31300
31301
  [m]: void 0
31301
- }, e.key, i), re = te === "default" ? p : r[te] ?? te;
31302
+ }, e.key, i), te = E === "default" ? p : r[E] ?? E;
31302
31303
  return /* @__PURE__ */ y("div", {
31303
31304
  className: "mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 text-[10px]",
31304
31305
  children: [
@@ -31315,7 +31316,7 @@ function Ab({ field: e, layers: t, target: n, labels: r, boundKeys: i, modelId:
31315
31316
  o && /* @__PURE__ */ v("span", {
31316
31317
  className: "rounded border border-warning/40 px-1.5 py-px text-warning",
31317
31318
  title: u("uiLibrary.layeredSettings.pinnedHint", "Stored by an older editor as a copy of the value below. It changes nothing today, but it stops later changes below from reaching this camera."),
31318
- children: u("uiLibrary.layeredSettings.pinned", "pinned at the {{source}} value", { source: re.toLowerCase() })
31319
+ children: u("uiLibrary.layeredSettings.pinned", "pinned at the {{source}} value", { source: te.toLowerCase() })
31319
31320
  }),
31320
31321
  /* @__PURE__ */ y("span", {
31321
31322
  className: "ml-auto flex items-center gap-2",
@@ -31331,7 +31332,7 @@ function Ab({ field: e, layers: t, target: n, labels: r, boundKeys: i, modelId:
31331
31332
  });
31332
31333
  }
31333
31334
  function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a, onChangeLayer: o, rootModel: s, pinnedKeys: c = [], fieldActions: l, headerActions: u, highlightKey: d = null, disabled: f = !1 }) {
31334
- let p = S(), m = r === "camera" ? xb(t) : t, h = Ye(m), g = ne(n), _ = n[r], b = Ob(e, a, g), x = ib(e.id, g, s);
31335
+ let p = S(), m = r === "camera" ? xb(t) : t, h = Qe(m), g = Pe(n), _ = n[r], b = Ob(e, a, g), x = ib(e.id, g, s);
31335
31336
  return /* @__PURE__ */ y("div", {
31336
31337
  className: "space-y-2 text-xs",
31337
31338
  children: [
@@ -31363,7 +31364,7 @@ function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a,
31363
31364
  settings: g,
31364
31365
  rootModel: s,
31365
31366
  disabled: f,
31366
- onChange: (e) => o(ve(_, We, ab(g, e), []))
31367
+ onChange: (e) => o(ve(_, Fe, ab(g, e), []))
31367
31368
  }),
31368
31369
  m.map((e) => {
31369
31370
  if (!yb(e)) return /* @__PURE__ */ v(_b, {
@@ -31394,8 +31395,8 @@ function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a,
31394
31395
  modelId: a,
31395
31396
  pinned: c.includes(e.key),
31396
31397
  disabled: f,
31397
- onReset: () => o(_e(_, e.key, h)),
31398
- action: l?.(e.key, Ve(n, e.key, h))
31398
+ onReset: () => o(de(_, e.key, h)),
31399
+ action: l?.(e.key, _e(n, e.key, h))
31399
31400
  })]
31400
31401
  }, e.key);
31401
31402
  })
@@ -31406,7 +31407,7 @@ function jb({ addon: e, fields: t, layers: n, target: r, labels: i, modelId: a,
31406
31407
  //#region ../ui-library/src/composites/agent-step-editor.tsx
31407
31408
  e();
31408
31409
  function Mb(e) {
31409
- let t = new Set(be(e.id).map((e) => e.key));
31410
+ let t = new Set(Ye(e.id).map((e) => e.key));
31410
31411
  return (e.configSchema ?? []).filter((e) => !t.has(e.key));
31411
31412
  }
31412
31413
  function Nb(e, t, n, r) {
@@ -31414,7 +31415,7 @@ function Nb(e, t, n, r) {
31414
31415
  }
31415
31416
  function Pb({ addonId: e }) {
31416
31417
  let t = S();
31417
- return be(e).length === 0 ? null : /* @__PURE__ */ v("p", {
31418
+ return Ye(e).length === 0 ? null : /* @__PURE__ */ v("p", {
31418
31419
  className: "text-[10px] leading-snug text-foreground-subtle",
31419
31420
  children: t("uiLibrary.agentStepEditor.clusterHint", "Admission knobs for this step live in Pipeline → Cluster → Settings → Enrichment models. They apply to every camera — a per-device copy would fill the shared index from two policies.")
31420
31421
  });
@@ -31734,13 +31735,13 @@ function rx(e) {
31734
31735
  function ix(e) {
31735
31736
  let t = /* @__PURE__ */ new Map();
31736
31737
  for (let n of e ?? []) {
31737
- let e = Le.safeParse(rx(n.settings));
31738
- t.set(n.nodeId, e.success ? e.data : Se(n.nodeId));
31738
+ let e = je.safeParse(rx(n.settings));
31739
+ t.set(n.nodeId, e.success ? e.data : Je(n.nodeId));
31739
31740
  }
31740
31741
  return t;
31741
31742
  }
31742
31743
  function ax(e, t) {
31743
- return e.get(t) ?? Se(t);
31744
+ return e.get(t) ?? Je(t);
31744
31745
  }
31745
31746
  //#endregion
31746
31747
  //#region ../ui-library/src/composites/camera-stream-player.tsx
@@ -31894,46 +31895,46 @@ var yx = {
31894
31895
  center: "text-center"
31895
31896
  };
31896
31897
  function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480, emptyMessage: s, className: c, bordered: l = !0, rowClassName: u, maxBodyHeight: d, fill: f = !1, defaultSort: p, sort: m, onSortChange: h, pageSize: _, page: b, onPageChange: x, paginationLabels: S = cx, selection: C, renderExpanded: w, isExpanded: T }) {
31897
- let [ee, te] = g(p ?? null), [ne, re] = g(0), E = m === void 0 ? ee : m, ie = (e) => {
31898
- m === void 0 && te(e), h?.(e);
31899
- }, D = (e) => {
31900
- b === void 0 && re(e), x?.(e);
31901
- }, ae = f || d !== void 0, oe = f ? "h-full min-h-0" : d ?? "", se = o(() => E === null ? void 0 : e.find((e) => e.key === E.columnKey && e.sortValue !== void 0), [e, E]), O = se?.sortValue, ce = o(() => O === void 0 ? t : _x(t, E, O), [
31898
+ let [ee, E] = g(p ?? null), [te, ne] = g(0), D = m === void 0 ? ee : m, re = (e) => {
31899
+ m === void 0 && E(e), h?.(e);
31900
+ }, O = (e) => {
31901
+ b === void 0 && ne(e), x?.(e);
31902
+ }, ie = f || d !== void 0, ae = f ? "h-full min-h-0" : d ?? "", oe = o(() => D === null ? void 0 : e.find((e) => e.key === D.columnKey && e.sortValue !== void 0), [e, D]), k = oe?.sortValue, se = o(() => k === void 0 ? t : _x(t, D, k), [
31902
31903
  t,
31903
- E,
31904
- O
31905
- ]), le = se === void 0 ? null : E, k = _ === void 0 ? null : sx(ce, b ?? ne, _), ue = k === null ? ce : k.pageRows, de = k !== null && k.pageCount > 1 ? /* @__PURE__ */ v(ox, {
31906
- page: k,
31904
+ D,
31905
+ k
31906
+ ]), ce = oe === void 0 ? null : D, le = _ === void 0 ? null : sx(se, b ?? te, _), ue = le === null ? se : le.pageRows, de = le !== null && le.pageCount > 1 ? /* @__PURE__ */ v(ox, {
31907
+ page: le,
31907
31908
  labels: S,
31908
- onPageChange: D
31909
- }) : null, fe = C === void 0 ? e : [fx(C, ue, (e) => String(n ? n(e, t.indexOf(e)) : t.indexOf(e))), ...e];
31909
+ onPageChange: O
31910
+ }) : null, A = C === void 0 ? e : [fx(C, ue, (e) => String(n ? n(e, t.indexOf(e)) : t.indexOf(e))), ...e];
31910
31911
  if (t.length === 0 && s) return /* @__PURE__ */ v("div", {
31911
31912
  className: `rounded-lg ${l ? "border border-border" : ""} bg-surface px-3 py-4 text-xs text-foreground-subtle text-center ${c ?? ""}`,
31912
31913
  children: s
31913
31914
  });
31914
31915
  if (t.length === 0) return null;
31915
- let A = /* @__PURE__ */ v("div", {
31916
+ let fe = /* @__PURE__ */ v("div", {
31916
31917
  className: [
31917
31918
  "rounded-lg",
31918
31919
  l ? "border border-border" : "",
31919
31920
  "bg-surface overflow-x-auto",
31920
- ae ? `${oe} overflow-y-auto` : "",
31921
+ ie ? `${ae} overflow-y-auto` : "",
31921
31922
  f ? "min-h-0 flex-1" : "",
31922
31923
  !f && de === null ? c ?? "" : ""
31923
31924
  ].filter(Boolean).join(" "),
31924
31925
  children: /* @__PURE__ */ y("table", {
31925
- className: `w-full text-xs ${ae ? "border-separate border-spacing-0" : ""}`,
31926
+ className: `w-full text-xs ${ie ? "border-separate border-spacing-0" : ""}`,
31926
31927
  style: { minWidth: `${i}px` },
31927
31928
  children: [/* @__PURE__ */ v("thead", {
31928
31929
  className: "bg-surface",
31929
- children: /* @__PURE__ */ v("tr", { children: fe.map((e) => {
31930
- let t = e.align ?? "left", n = e.nowrap ?? !0, r = e.sortValue !== void 0, i = le !== null && le.columnKey === e.key;
31930
+ children: /* @__PURE__ */ v("tr", { children: A.map((e) => {
31931
+ let t = e.align ?? "left", n = e.nowrap ?? !0, r = e.sortValue !== void 0, i = ce !== null && ce.columnKey === e.key;
31931
31932
  return /* @__PURE__ */ v("th", {
31932
- "aria-sort": r ? vx(le, e.key) : void 0,
31933
+ "aria-sort": r ? vx(ce, e.key) : void 0,
31933
31934
  title: r ? void 0 : e.notSortableReason,
31934
31935
  className: [
31935
31936
  "px-3 py-2 text-foreground-subtle font-medium bg-surface border-b border-border",
31936
- ae ? "sticky top-0 z-10" : "",
31937
+ ie ? "sticky top-0 z-10" : "",
31937
31938
  yx[t],
31938
31939
  n ? "whitespace-nowrap" : "",
31939
31940
  e.width ?? ""
@@ -31941,8 +31942,8 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31941
31942
  children: r ? /* @__PURE__ */ v(px, {
31942
31943
  label: e.headerRender ? e.headerRender() : e.header,
31943
31944
  active: i,
31944
- dir: i && le !== null ? le.dir : "asc",
31945
- onSort: () => ie(hx(E, e.key))
31945
+ dir: i && ce !== null ? ce.dir : "asc",
31946
+ onSort: () => re(hx(D, e.key))
31946
31947
  }) : e.headerRender ? e.headerRender() : e.header
31947
31948
  }, e.key);
31948
31949
  }) })
@@ -31951,7 +31952,7 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31951
31952
  return /* @__PURE__ */ y(a, { children: [/* @__PURE__ */ v("tr", {
31952
31953
  onClick: s ? () => r(e, t) : void 0,
31953
31954
  className: [s ? "cursor-pointer hover:bg-primary/5" : "hover:bg-primary/5", o].filter(Boolean).join(" "),
31954
- children: fe.map((n) => {
31955
+ children: A.map((n) => {
31955
31956
  let r = n.align ?? "left", i = n.nowrap ?? !0;
31956
31957
  return /* @__PURE__ */ v("td", {
31957
31958
  "data-cell": n.key,
@@ -31967,7 +31968,7 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31967
31968
  "data-expanded-row": "",
31968
31969
  className: "bg-surface",
31969
31970
  children: /* @__PURE__ */ v("td", {
31970
- colSpan: fe.length,
31971
+ colSpan: A.length,
31971
31972
  className: "border-b border-border px-3 py-2",
31972
31973
  children: c
31973
31974
  })
@@ -31977,10 +31978,10 @@ function bx({ columns: e, rows: t, rowKey: n, onRowClick: r, minWidthPx: i = 480
31977
31978
  });
31978
31979
  return de === null ? f ? /* @__PURE__ */ v("div", {
31979
31980
  className: `flex min-h-0 flex-1 flex-col ${c ?? ""}`,
31980
- children: A
31981
- }) : A : /* @__PURE__ */ y("div", {
31981
+ children: fe
31982
+ }) : fe : /* @__PURE__ */ y("div", {
31982
31983
  className: f ? `flex min-h-0 flex-1 flex-col ${c ?? ""}` : c,
31983
- children: [A, de]
31984
+ children: [fe, de]
31984
31985
  });
31985
31986
  }
31986
31987
  //#endregion
@@ -32069,12 +32070,12 @@ var Ex = class {
32069
32070
  e(), new Ex(), e(), e(), e(), e(), e(), e();
32070
32071
  //#endregion
32071
32072
  //#region ../ui-library/src/composites/detection-colors.ts
32072
- var Dx = Ce(), Ox = new Set([
32073
+ var Dx = Ve(), Ox = new Set([
32073
32074
  "live",
32074
32075
  "recording",
32075
32076
  "heatmapScrub"
32076
32077
  ]);
32077
- Object.freeze(Object.fromEntries(He.filter((e) => !Ox.has(e)).map((e) => [e, O(Dx.swatches, Dx.fallbacks, e)])));
32078
+ Object.freeze(Object.fromEntries(be.filter((e) => !Ox.has(e)).map((e) => [e, $e(Dx.swatches, Dx.fallbacks, e)])));
32078
32079
  function kx(e) {
32079
32080
  let t = e[0];
32080
32081
  if (t === void 0) throw Error("display palette has no fallback colour");
@@ -32082,7 +32083,7 @@ function kx(e) {
32082
32083
  }
32083
32084
  //#endregion
32084
32085
  //#region ../ui-library/src/composites/detection-result-tree.tsx
32085
- kx(Dx.fallbacks), e(), Ce(), d({ status: "absent" }), e(), e();
32086
+ kx(Dx.fallbacks), e(), Ve(), d({ status: "absent" }), e(), e();
32086
32087
  //#endregion
32087
32088
  //#region ../../node_modules/superjson/dist/double-indexed-kv.js
32088
32089
  var Ax = class {
@@ -32760,50 +32761,50 @@ var JS = {
32760
32761
  "error"
32761
32762
  ], XS = 500, ZS = 300, QS = 24, $S = 1024 * 1024;
32762
32763
  function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integrationId: c, requestId: u, level: d, maxHeight: f = "max-h-96", showScope: p = !1, showDeviceChip: m = !1, showFilters: h = !0, showSourceSelect: _, limit: b = 100, liveBuffer: x, onClose: C, className: w }) {
32763
- let T = S(), ee = _ ?? h, [te, ne] = g(""), [re, E] = g(""), [ie, D] = g(d ?? "info"), [ae, oe] = g(void 0), se = e, O = n ?? (te || void 0), ce = r ?? (re ? Number(re) : void 0), le = c, k = u, ue = o(() => {
32764
+ let T = S(), ee = _ ?? h, [E, te] = g(""), [ne, D] = g(""), [re, O] = g(d ?? "info"), [ie, ae] = g(void 0), oe = e, k = n ?? (E || void 0), se = r ?? (ne ? Number(ne) : void 0), ce = c, le = u, ue = o(() => {
32764
32765
  let e = {};
32765
- return se && (e.agentId = se), O && (e.addonId = O), a !== void 0 && Number.isFinite(a) ? e.containerDeviceId = a : ce !== void 0 && Number.isFinite(ce) && (e.deviceId = ce), le && (e.integrationId = le), k && (e.requestId = k), Object.keys(e).length > 0 ? e : void 0;
32766
+ return oe && (e.agentId = oe), k && (e.addonId = k), a !== void 0 && Number.isFinite(a) ? e.containerDeviceId = a : se !== void 0 && Number.isFinite(se) && (e.deviceId = se), ce && (e.integrationId = ce), le && (e.requestId = le), Object.keys(e).length > 0 ? e : void 0;
32766
32767
  }, [
32768
+ oe,
32769
+ k,
32767
32770
  se,
32768
- O,
32769
- ce,
32770
32771
  a,
32771
- le,
32772
- k
32773
- ]), de = zS(XS), fe = x ?? de, A = fe.entries, [pe, me] = g(0), [he, ge] = g(!0), _e = t(!1), [ve, ye] = g(!1), [be, xe] = g(!1), [j, Se] = g(/* @__PURE__ */ new Set()), [Ce, we] = g(""), Te = t(null), Ee = `${se ?? ""}:${O ?? ""}:${String(ce ?? "")}:${String(a ?? "")}:${le ?? ""}:${k ?? ""}`, De = t(Ee);
32772
+ ce,
32773
+ le
32774
+ ]), de = zS(XS), A = x ?? de, fe = A.entries, [pe, me] = g(0), [he, ge] = g(!0), _e = t(!1), [ve, ye] = g(!1), [be, xe] = g(!1), [Se, Ce] = g(/* @__PURE__ */ new Set()), [j, we] = g(""), Te = t(null), Ee = `${oe ?? ""}:${k ?? ""}:${String(se ?? "")}:${String(a ?? "")}:${ce ?? ""}:${le ?? ""}`, De = t(Ee);
32774
32775
  i(() => {
32775
- De.current !== Ee && (De.current = Ee, fe.reset(), me(0), Se(/* @__PURE__ */ new Set()), ye(!1));
32776
- }, [Ee, fe]);
32777
- let Oe = BS(Ce, ZS).trim(), ke = F.logs.sources.useQuery(void 0, { staleTime: 6e4 }), Ae = o(() => (ke.data ?? []).filter((e) => e.readable), [ke.data]), je = GS(o(() => ({
32778
- ...ae ? { source: ae } : {},
32779
- level: ie,
32776
+ De.current !== Ee && (De.current = Ee, A.reset(), me(0), Ce(/* @__PURE__ */ new Set()), ye(!1));
32777
+ }, [Ee, A]);
32778
+ let Oe = BS(j, ZS).trim(), ke = F.logs.sources.useQuery(void 0, { staleTime: 6e4 }), Ae = o(() => (ke.data ?? []).filter((e) => e.readable), [ke.data]), je = GS(o(() => ({
32779
+ ...ie ? { source: ie } : {},
32780
+ level: re,
32780
32781
  ...Oe ? { text: Oe } : {},
32781
32782
  ...ue ? { tags: ue } : {}
32782
32783
  }), [
32783
- ae,
32784
32784
  ie,
32785
+ re,
32785
32786
  Oe,
32786
32787
  ue
32787
32788
  ]), b);
32788
32789
  F.logs.subscribe.useSubscription({
32789
- level: ie,
32790
+ level: re,
32790
32791
  ...Oe ? { text: Oe } : {},
32791
32792
  ...ue ? { tags: ue } : {}
32792
32793
  }, { onData: (e) => {
32793
- fe.append(e);
32794
+ A.append(e);
32794
32795
  } });
32795
- let Me = `${ae ?? ""}|${ie}|${Oe}`, Ne = t(Me);
32796
+ let Me = `${ie ?? ""}|${re}|${Oe}`, Ne = t(Me);
32796
32797
  i(() => {
32797
- Ne.current !== Me && (Ne.current = Me, fe.reset(), ge(!0));
32798
- }, [Me, fe]);
32798
+ Ne.current !== Me && (Ne.current = Me, A.reset(), ge(!0));
32799
+ }, [Me, A]);
32799
32800
  let Pe = o(() => {
32800
- let e = US(je.entries, A);
32801
+ let e = US(je.entries, fe);
32801
32802
  return pe > 0 ? e.filter((e) => new Date(e.timestamp).getTime() > pe) : e;
32802
32803
  }, [
32803
32804
  je.entries,
32804
- A,
32805
+ fe,
32805
32806
  pe
32806
- ]), Fe = t(null), Ie = l(() => {
32807
+ ]), Fe = t(null), M = l(() => {
32807
32808
  if (je.status === "loading" || je.done) return;
32808
32809
  let e = Te.current;
32809
32810
  e && (Fe.current = {
@@ -32818,26 +32819,26 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32818
32819
  let n = e.top + (t.scrollHeight - e.height);
32819
32820
  Math.abs(n - t.scrollTop) < 1 || (_e.current = !0, t.scrollTop = n);
32820
32821
  }, [je.status, je.entries.length]);
32821
- let Le = l((e) => {
32822
+ let Ie = l((e) => {
32822
32823
  let t = Te.current;
32823
32824
  t && (_e.current = !0, t.scrollTo({
32824
32825
  top: t.scrollHeight,
32825
32826
  ...e ? { behavior: e } : {}
32826
32827
  }));
32827
- }, []), [Re, ze] = g(!1), M = Pe.length > 0 ? HS(Pe[Pe.length - 1]) : "", Be = t(M);
32828
+ }, []), [Le, Re] = g(!1), ze = Pe.length > 0 ? HS(Pe[Pe.length - 1]) : "", Be = t(ze);
32828
32829
  s(() => {
32829
- let e = M !== "" && M !== Be.current;
32830
- Be.current = M, e && (he ? Le() : ze(!0));
32830
+ let e = ze !== "" && ze !== Be.current;
32831
+ Be.current = ze, e && (he ? Ie() : Re(!0));
32831
32832
  }, [
32832
- M,
32833
+ ze,
32833
32834
  he,
32834
- Le
32835
+ Ie
32835
32836
  ]), i(() => {
32836
- he && Re && ze(!1);
32837
- }, [he, Re]);
32837
+ he && Le && Re(!1);
32838
+ }, [he, Le]);
32838
32839
  let Ve = l(() => {
32839
- ge(!0), Le("smooth");
32840
- }, [Le]), He = l(() => {
32840
+ ge(!0), Ie("smooth");
32841
+ }, [Ie]), He = l(() => {
32841
32842
  if (_e.current) {
32842
32843
  _e.current = !1;
32843
32844
  return;
@@ -32845,10 +32846,10 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32845
32846
  let e = Te.current;
32846
32847
  if (!e) return;
32847
32848
  let t = KS(e, 40);
32848
- ge((e) => e === t ? e : t), e.scrollTop <= QS && Ie();
32849
- }, [Ie]), Ue = o(() => Pe.filter((e) => e.tags && Object.keys(e.tags).length > 0 || e.meta && Object.keys(e.meta).length > 0).map(HS), [Pe]), We = l(() => {
32850
- ye((e) => (e && Se(/* @__PURE__ */ new Set()), !e));
32851
- }, []), N = l(() => {
32849
+ ge((e) => e === t ? e : t), e.scrollTop <= QS && M();
32850
+ }, [M]), Ue = o(() => Pe.filter((e) => e.tags && Object.keys(e.tags).length > 0 || e.meta && Object.keys(e.meta).length > 0).map(HS), [Pe]), We = l(() => {
32851
+ ye((e) => (e && Ce(/* @__PURE__ */ new Set()), !e));
32852
+ }, []), Ge = l(() => {
32852
32853
  let e = Pe.map((e) => {
32853
32854
  let t = new Date(e.timestamp).toLocaleTimeString(), n = e.tags ? " " + Object.entries(e.tags).filter(([, e]) => e).map(([e, t]) => `${e}=${t}`).join(" ") : "";
32854
32855
  return `${t} [${e.level.toUpperCase()}]${e.scope ? ` [${e.scope}]` : ""}${n} ${e.message}`;
@@ -32856,14 +32857,14 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32856
32857
  navigator.clipboard.writeText(e.join("\n")).then(() => {
32857
32858
  xe(!0), setTimeout(() => xe(!1), 1500);
32858
32859
  });
32859
- }, [Pe]), Ge = F.logs.clear.useMutation(), Ke = l(() => {
32860
- me(Date.now()), fe.reset(), Ge.mutate(ue ? { tags: ue } : {});
32860
+ }, [Pe]), N = F.logs.clear.useMutation(), Ke = l(() => {
32861
+ me(Date.now()), A.reset(), N.mutate(ue ? { tags: ue } : {});
32861
32862
  }, [
32862
- fe,
32863
- Ge,
32863
+ A,
32864
+ N,
32864
32865
  ue
32865
32866
  ]), qe = l((e) => {
32866
- Se((t) => {
32867
+ Ce((t) => {
32867
32868
  let n = new Set(t);
32868
32869
  return n.has(e) ? n.delete(e) : n.add(e), n;
32869
32870
  });
@@ -32886,24 +32887,24 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32886
32887
  className: "text-[10px] uppercase tracking-wide text-foreground-subtle font-medium",
32887
32888
  children: T("uiLibrary.logStream.logs", "Logs")
32888
32889
  }),
32889
- se && /* @__PURE__ */ v(rC, {
32890
+ oe && /* @__PURE__ */ v(rC, {
32890
32891
  label: T("uiLibrary.logStream.scopeAgent", "agent"),
32891
- value: se
32892
+ value: oe
32892
32893
  }),
32893
- O && /* @__PURE__ */ v(rC, {
32894
+ k && /* @__PURE__ */ v(rC, {
32894
32895
  label: T("uiLibrary.logStream.scopeAddon", "addon"),
32895
- value: O
32896
+ value: k
32896
32897
  }),
32897
- ce !== void 0 && /* @__PURE__ */ v(rC, {
32898
+ se !== void 0 && /* @__PURE__ */ v(rC, {
32898
32899
  label: T("uiLibrary.logStream.scopeDevice", "device"),
32899
- value: `#${ce}`
32900
+ value: `#${se}`
32900
32901
  }),
32901
32902
  /* @__PURE__ */ v("div", {
32902
32903
  className: "flex rounded border border-border overflow-hidden text-[9px]",
32903
32904
  children: YS.map((e, t) => /* @__PURE__ */ y("button", {
32904
32905
  type: "button",
32905
- onClick: () => D(e),
32906
- className: z("px-1.5 py-0.5 capitalize transition-colors", ie === e ? "bg-primary/10 text-primary" : "text-foreground-subtle hover:bg-surface-hover", t > 0 && "border-l border-border"),
32906
+ onClick: () => O(e),
32907
+ className: z("px-1.5 py-0.5 capitalize transition-colors", re === e ? "bg-primary/10 text-primary" : "text-foreground-subtle hover:bg-surface-hover", t > 0 && "border-l border-border"),
32907
32908
  children: [e, "+"]
32908
32909
  }, e))
32909
32910
  }),
@@ -32912,8 +32913,8 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32912
32913
  children: /* @__PURE__ */ v(to, {
32913
32914
  "aria-label": T("uiLibrary.logStream.source", "Log source"),
32914
32915
  className: "h-5 text-[10px]",
32915
- value: ae ?? Ae.find((e) => e.isDefault)?.addonId ?? "",
32916
- onChange: (e) => oe(e.target.value),
32916
+ value: ie ?? Ae.find((e) => e.isDefault)?.addonId ?? "",
32917
+ onChange: (e) => ae(e.target.value),
32917
32918
  options: Ae.map((e) => ({
32918
32919
  value: e.addonId,
32919
32920
  label: e.addonId
@@ -32942,7 +32943,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32942
32943
  /* @__PURE__ */ v(aC, {
32943
32944
  icon: cn,
32944
32945
  label: be ? T("uiLibrary.logStream.copied", "Copied!") : T("uiLibrary.logStream.copy", "Copy"),
32945
- onClick: N,
32946
+ onClick: Ge,
32946
32947
  disabled: Pe.length === 0
32947
32948
  }),
32948
32949
  /* @__PURE__ */ v(aC, {
@@ -32954,11 +32955,11 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32954
32955
  className: "relative",
32955
32956
  children: [/* @__PURE__ */ v("input", {
32956
32957
  type: "text",
32957
- value: Ce,
32958
+ value: j,
32958
32959
  onChange: (e) => we(e.target.value),
32959
32960
  placeholder: T("uiLibrary.logStream.searchPlaceholder", "Search…"),
32960
32961
  className: "w-32 pl-1.5 pr-5 py-0.5 rounded border border-border bg-background text-foreground text-[10px] focus:outline-none focus:border-primary/50"
32961
- }), Ce && /* @__PURE__ */ v("button", {
32962
+ }), j && /* @__PURE__ */ v("button", {
32962
32963
  type: "button",
32963
32964
  onClick: () => we(""),
32964
32965
  className: "absolute right-1 top-1/2 -translate-y-1/2 text-foreground-subtle hover:text-foreground",
@@ -32966,9 +32967,9 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32966
32967
  children: /* @__PURE__ */ v(Xr, { className: "h-2.5 w-2.5" })
32967
32968
  })]
32968
32969
  }),
32969
- A.length > 0 && /* @__PURE__ */ v("span", {
32970
+ fe.length > 0 && /* @__PURE__ */ v("span", {
32970
32971
  className: "text-[9px] text-emerald-400 font-medium",
32971
- children: T("uiLibrary.logStream.live", "+{{count}} live", { count: A.length })
32972
+ children: T("uiLibrary.logStream.live", "+{{count}} live", { count: fe.length })
32972
32973
  })
32973
32974
  ]
32974
32975
  }), C && /* @__PURE__ */ v("button", {
@@ -32988,8 +32989,8 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
32988
32989
  children: T("uiLibrary.logStream.addon", "Addon:")
32989
32990
  }), /* @__PURE__ */ v("input", {
32990
32991
  type: "text",
32991
- value: te,
32992
- onChange: (e) => ne(e.target.value),
32992
+ value: E,
32993
+ onChange: (e) => te(e.target.value),
32993
32994
  placeholder: T("uiLibrary.logStream.all", "all"),
32994
32995
  className: "w-28 px-1.5 py-0.5 rounded border border-border bg-background text-foreground text-[10px] focus:outline-none focus:border-primary/50"
32995
32996
  })]
@@ -33001,8 +33002,8 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33001
33002
  }), /* @__PURE__ */ v("input", {
33002
33003
  type: "text",
33003
33004
  inputMode: "numeric",
33004
- value: re,
33005
- onChange: (e) => E(e.target.value),
33005
+ value: ne,
33006
+ onChange: (e) => D(e.target.value),
33006
33007
  placeholder: T("uiLibrary.logStream.all", "all"),
33007
33008
  className: "w-16 px-1.5 py-0.5 rounded border border-border bg-background text-foreground text-[10px] focus:outline-none focus:border-primary/50"
33008
33009
  })]
@@ -33010,7 +33011,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33010
33011
  }),
33011
33012
  /* @__PURE__ */ y("div", {
33012
33013
  className: "relative flex-1 min-h-0 flex flex-col",
33013
- children: [!he && Re && /* @__PURE__ */ y("button", {
33014
+ children: [!he && Le && /* @__PURE__ */ y("button", {
33014
33015
  type: "button",
33015
33016
  onClick: Ve,
33016
33017
  className: "absolute bottom-2 left-1/2 -translate-x-1/2 z-10 inline-flex items-center gap-1 px-2 py-1 rounded-full border border-primary/40 bg-primary/15 text-primary text-[10px] font-medium shadow-md backdrop-blur-sm hover:bg-primary/25 transition-colors",
@@ -33027,7 +33028,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33027
33028
  scannedBytes: je.scannedBytes,
33028
33029
  hasRows: Pe.length > 0,
33029
33030
  error: je.error,
33030
- onLoadOlder: Ie,
33031
+ onLoadOlder: M,
33031
33032
  onCancel: je.cancel
33032
33033
  }),
33033
33034
  je.status === "idle" && je.done && Pe.length === 0 && /* @__PURE__ */ v("div", {
@@ -33037,7 +33038,7 @@ function eC({ agentId: e, addonId: n, deviceId: r, containerDeviceId: a, integra
33037
33038
  Pe.length > 0 && /* @__PURE__ */ v("table", {
33038
33039
  className: "w-full",
33039
33040
  children: /* @__PURE__ */ v("tbody", { children: Pe.map((e) => {
33040
- let t = JS[e.level] ?? JS.info, n = t.icon, r = Ze(e), i = ve || j.has(r), a = e.tags && Object.keys(e.tags).length > 0, o = e.meta && Object.keys(e.meta).length > 0, s = a || o;
33041
+ let t = JS[e.level] ?? JS.info, n = t.icon, r = Ze(e), i = ve || Se.has(r), a = e.tags && Object.keys(e.tags).length > 0, o = e.meta && Object.keys(e.meta).length > 0, s = a || o;
33041
33042
  return /* @__PURE__ */ y("tr", {
33042
33043
  className: z("hover:bg-surface-hover/30 border-b border-border/30", s && "cursor-pointer"),
33043
33044
  onClick: s ? () => qe(r) : void 0,
@@ -33197,30 +33198,30 @@ function aC({ icon: e, label: t, onClick: n, disabled: r, active: i }) {
33197
33198
  children: [/* @__PURE__ */ v(e, { className: "h-2.5 w-2.5" }), t]
33198
33199
  });
33199
33200
  }
33200
- e(), N.AddonStarted, N.AddonInstalled, N.AddonRestarted, N.AddonUpdated, N.AddonStopped, N.AddonUninstalled, N.AddonCrashed, N.AddonError, N.DetectionPhaseTransition, N.DetectionResult, N.DetectionEvent, N.DetectionCameraNative, N.ProviderMotion, N.MotionOnMotionChanged, N.MotionAnalysis, N.MotionZonesRaw, N.ProviderDetection, N.PipelineAudioInferenceResult, N.AgentOnline, N.AgentOffline, N.DeviceRegistered, N.DeviceUnregistered, N.DeviceStateChanged, N.EventEmitted;
33201
- var oC = Object.freeze([...D()]), sC = Object.freeze([
33202
- N.PipelineCameraMetricsSnapshot,
33203
- N.PipelineRunnerLoadSnapshot,
33204
- N.PipelineEngineMetricsSnapshot,
33205
- N.PipelineInferenceResult,
33206
- N.PipelineTrace,
33207
- N.PipelineProgress,
33208
- N.StreamBrokerMetricsSnapshot,
33209
- N.MetricsNodeResourcesSnapshot,
33210
- N.MetricsNodeProcessesSnapshot,
33211
- N.ClusterTopologySnapshot,
33212
- N.MotionAnalysis,
33213
- N.MotionZonesRaw,
33214
- N.DetectionResult,
33215
- N.PipelineAudioInferenceResult,
33216
- N.PlatformProbePhase,
33217
- N.BenchmarkProgress,
33218
- N.ModelDownloadProgress,
33219
- N.ProviderMotion
33201
+ e(), M.AddonStarted, M.AddonInstalled, M.AddonRestarted, M.AddonUpdated, M.AddonStopped, M.AddonUninstalled, M.AddonCrashed, M.AddonError, M.DetectionPhaseTransition, M.DetectionResult, M.DetectionEvent, M.DetectionCameraNative, M.ProviderMotion, M.MotionOnMotionChanged, M.MotionAnalysis, M.MotionZonesRaw, M.ProviderDetection, M.PipelineAudioInferenceResult, M.AgentOnline, M.AgentOffline, M.DeviceRegistered, M.DeviceUnregistered, M.DeviceStateChanged, M.EventEmitted;
33202
+ var oC = Object.freeze([...he()]), sC = Object.freeze([
33203
+ M.PipelineCameraMetricsSnapshot,
33204
+ M.PipelineRunnerLoadSnapshot,
33205
+ M.PipelineEngineMetricsSnapshot,
33206
+ M.PipelineInferenceResult,
33207
+ M.PipelineTrace,
33208
+ M.PipelineProgress,
33209
+ M.StreamBrokerMetricsSnapshot,
33210
+ M.MetricsNodeResourcesSnapshot,
33211
+ M.MetricsNodeProcessesSnapshot,
33212
+ M.ClusterTopologySnapshot,
33213
+ M.MotionAnalysis,
33214
+ M.MotionZonesRaw,
33215
+ M.DetectionResult,
33216
+ M.PipelineAudioInferenceResult,
33217
+ M.PlatformProbePhase,
33218
+ M.BenchmarkProgress,
33219
+ M.ModelDownloadProgress,
33220
+ M.ProviderMotion
33220
33221
  ]), cC = new Set(sC);
33221
33222
  //#endregion
33222
33223
  //#region ../ui-library/src/composites/device-controls/atoms.tsx
33223
- Object.freeze(oC.filter((e) => !cC.has(e))), e(), Object.freeze([...new Set(Ge.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), e(), e();
33224
+ Object.freeze(oC.filter((e) => !cC.has(e))), e(), Object.freeze([...new Set(Ue.filter((e) => e.scope === "device").map((e) => e.name))].toSorted()), e(), e();
33224
33225
  function lC({ value: e, unit: t, onDelta: n }) {
33225
33226
  let r = S();
33226
33227
  return /* @__PURE__ */ y("div", {
@@ -33498,13 +33499,13 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33498
33499
  slice: (e) => e.state.lockControl
33499
33500
  }), { display: l, applyOptimistic: u } = OC(s, { enabled: r ?? !0 }), [d, f] = g(null), [p, m] = g(!1), [h, _] = g(null);
33500
33501
  if (l === void 0) return null;
33501
- let b = l.state === "locked" || l.state === "locking", x = !c || l.state === "jammed", C = i?.includes(je.LockOpen) === !0, w = n === "compact", T = () => {
33502
+ let b = l.state === "locked" || l.state === "locking", x = !c || l.state === "jammed", C = i?.includes(Be.LockOpen) === !0, w = n === "compact", T = () => {
33502
33503
  u({ state: "locking" }), o?.lock({});
33503
33504
  }, ee = () => {
33504
33505
  u({ state: "unlocking" }), o?.unlock({});
33505
- }, te = () => {
33506
+ }, E = () => {
33506
33507
  o?.open({});
33507
- }, ne = () => {
33508
+ }, te = () => {
33508
33509
  if (!x) {
33509
33510
  if (!b) {
33510
33511
  T();
@@ -33516,17 +33517,17 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33516
33517
  }
33517
33518
  ee();
33518
33519
  }
33519
- }, re = () => {
33520
+ }, ne = () => {
33520
33521
  if (!x) {
33521
33522
  if (w) {
33522
33523
  _(null), f("open");
33523
33524
  return;
33524
33525
  }
33525
- te();
33526
+ E();
33526
33527
  }
33527
- }, E = () => {
33528
+ }, D = () => {
33528
33529
  p || f(null);
33529
- }, ie = async () => {
33530
+ }, re = async () => {
33530
33531
  if (!(p || d === null)) {
33531
33532
  _(null), m(!0);
33532
33533
  try {
@@ -33537,17 +33538,17 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33537
33538
  m(!1);
33538
33539
  }
33539
33540
  }
33540
- }, D = b ? a("uiLibrary.lockPanel.unlock", "Unlock") : a("uiLibrary.lockPanel.lock", "Lock"), ae = d === "open" ? a("uiLibrary.lockPanel.openDoorTitle", "Open door?") : a("uiLibrary.lockPanel.unlockTitle", "Unlock device?"), oe = d === "open" ? a("uiLibrary.lockPanel.openDoorBody", "This will release the latch and open the door.") : a("uiLibrary.lockPanel.unlockBody", "This will unlock the device."), se = d === "open" ? a("uiLibrary.lockPanel.confirmOpen", "Confirm open") : a("uiLibrary.lockPanel.confirmUnlock", "Confirm unlock"), O = v(d === "open" ? pn : In, { className: "h-4 w-4 text-amber-400" });
33541
+ }, O = b ? a("uiLibrary.lockPanel.unlock", "Unlock") : a("uiLibrary.lockPanel.lock", "Lock"), ie = d === "open" ? a("uiLibrary.lockPanel.openDoorTitle", "Open door?") : a("uiLibrary.lockPanel.unlockTitle", "Unlock device?"), ae = d === "open" ? a("uiLibrary.lockPanel.openDoorBody", "This will release the latch and open the door.") : a("uiLibrary.lockPanel.unlockBody", "This will unlock the device."), oe = d === "open" ? a("uiLibrary.lockPanel.confirmOpen", "Confirm open") : a("uiLibrary.lockPanel.confirmUnlock", "Confirm unlock"), k = v(d === "open" ? pn : In, { className: "h-4 w-4 text-amber-400" });
33541
33542
  return /* @__PURE__ */ y("div", {
33542
33543
  className: z("inline-flex items-center", n === "full" ? "gap-2" : "gap-1"),
33543
33544
  children: [
33544
33545
  /* @__PURE__ */ y("button", {
33545
33546
  type: "button",
33546
- "aria-label": D,
33547
- title: l.state === "jammed" ? a("uiLibrary.lockPanel.jammed", "Jammed") : D,
33547
+ "aria-label": O,
33548
+ title: l.state === "jammed" ? a("uiLibrary.lockPanel.jammed", "Jammed") : O,
33548
33549
  disabled: x,
33549
33550
  onClick: (e) => {
33550
- e.stopPropagation(), ne();
33551
+ e.stopPropagation(), te();
33551
33552
  },
33552
33553
  className: z("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", b ? "text-success" : "text-warning", x && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
33553
33554
  children: [v(b ? Ln : In, { className: "h-3.5 w-3.5" }), n === "full" && /* @__PURE__ */ v("span", { children: l.state })]
@@ -33558,7 +33559,7 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33558
33559
  title: a("uiLibrary.lockPanel.openDoor", "Open door"),
33559
33560
  disabled: x,
33560
33561
  onClick: (e) => {
33561
- e.stopPropagation(), re();
33562
+ e.stopPropagation(), ne();
33562
33563
  },
33563
33564
  className: z("inline-flex items-center justify-center rounded transition-colors", n === "full" ? "h-7 gap-1.5 px-2 text-xs" : "h-5 w-5", "text-foreground-muted", x && "opacity-40 cursor-not-allowed", "hover:bg-surface-hover"),
33564
33565
  children: [/* @__PURE__ */ v(pn, { className: "h-3.5 w-3.5" }), n === "full" && /* @__PURE__ */ v("span", { children: a("uiLibrary.lockPanel.open", "Open") })]
@@ -33566,7 +33567,7 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33566
33567
  w && /* @__PURE__ */ v(ly, {
33567
33568
  open: d !== null,
33568
33569
  onOpenChange: (e) => {
33569
- e || E();
33570
+ e || D();
33570
33571
  },
33571
33572
  children: /* @__PURE__ */ y(dy, {
33572
33573
  width: "sm",
@@ -33574,8 +33575,8 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33574
33575
  children: [
33575
33576
  /* @__PURE__ */ y(fy, { children: [/* @__PURE__ */ y(my, {
33576
33577
  className: "flex items-center gap-2",
33577
- children: [O, ae]
33578
- }), /* @__PURE__ */ v(hy, { children: oe })] }),
33578
+ children: [k, ie]
33579
+ }), /* @__PURE__ */ v(hy, { children: ae })] }),
33579
33580
  h !== null && /* @__PURE__ */ v("div", {
33580
33581
  className: "mt-2 px-3 py-2 rounded border border-danger/40 bg-danger/10 text-xs text-danger",
33581
33582
  children: h
@@ -33585,18 +33586,18 @@ function AC({ trpc: e, deviceId: t, layout: n, optimistic: r, features: i }) {
33585
33586
  variant: "ghost",
33586
33587
  size: "sm",
33587
33588
  disabled: p,
33588
- onClick: () => E(),
33589
+ onClick: () => D(),
33589
33590
  children: a("uiLibrary.lockPanel.cancel", "Cancel")
33590
33591
  }), /* @__PURE__ */ y(po, {
33591
33592
  type: "button",
33592
33593
  variant: "danger",
33593
33594
  size: "sm",
33594
- "aria-label": se,
33595
+ "aria-label": oe,
33595
33596
  disabled: p,
33596
33597
  onClick: () => {
33597
- ie();
33598
+ re();
33598
33599
  },
33599
- children: [p && /* @__PURE__ */ v(Fn, { className: "h-3.5 w-3.5 animate-spin" }), se]
33600
+ children: [p && /* @__PURE__ */ v(Fn, { className: "h-3.5 w-3.5 animate-spin" }), oe]
33600
33601
  })] })
33601
33602
  ]
33602
33603
  })
@@ -34188,7 +34189,7 @@ function qC(e, t) {
34188
34189
  //#endregion
34189
34190
  //#region ../ui-library/src/lib/resolve-sensor-display.ts
34190
34191
  function JC(e) {
34191
- if (e !== void 0) return ae(e) ?? e;
34192
+ if (e !== void 0) return A(e) ?? e;
34192
34193
  }
34193
34194
  function YC(e) {
34194
34195
  if (e.quantity !== void 0) {
@@ -34200,15 +34201,15 @@ function YC(e) {
34200
34201
  }
34201
34202
  }
34202
34203
  function XC(e) {
34203
- 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 = YC(e), i = e.preference ?? Re, a = r === void 0 ? void 0 : Pe(r), o = r === void 0 ? void 0 : re(r, i), s = JC(t?.unit ?? e.display?.unit ?? e.roleDefault?.unit), c = s !== void 0 && a !== void 0 && s !== a && Ee(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 : oe(e, a, l) ?? e;
34204
+ 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 = YC(e), i = e.preference ?? Me, a = r === void 0 ? void 0 : we(r), o = r === void 0 ? void 0 : le(r, i), s = JC(t?.unit ?? e.display?.unit ?? e.roleDefault?.unit), c = s !== void 0 && a !== void 0 && s !== a && Ie(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 : ge(e, a, l) ?? e;
34204
34205
  return {
34205
34206
  unit: l,
34206
34207
  precision: n,
34207
34208
  toDisplayValue: d,
34208
- fromDisplayValue: (e) => u || a === void 0 || l.length === 0 || l === a ? e : oe(e, l, a) ?? e,
34209
+ fromDisplayValue: (e) => u || a === void 0 || l.length === 0 || l === a ? e : ge(e, l, a) ?? e,
34209
34210
  format: (e) => {
34210
34211
  if (r !== void 0 && !c) {
34211
- let t = k({
34212
+ let t = T({
34212
34213
  value: e,
34213
34214
  quantity: r,
34214
34215
  preference: i,
@@ -34459,7 +34460,7 @@ function uw({ trpc: e, deviceId: t, features: n, layout: r, optimistic: i }) {
34459
34460
  slice: (e) => e.state.control
34460
34461
  }), { display: l, applyOptimistic: u } = OC(s, { enabled: i ?? !0 });
34461
34462
  if (l === void 0) return null;
34462
- let d = !c, f = a?.sourceInfo?.quantity, p = le(f) && f !== "device" && f !== "none" ? f : void 0;
34463
+ let d = !c, f = a?.sourceInfo?.quantity, p = D(f) && f !== "device" && f !== "none" ? f : void 0;
34463
34464
  return /* @__PURE__ */ v("div", {
34464
34465
  "data-kind": l.kind,
34465
34466
  className: "inline-flex min-w-0 max-w-full items-center gap-1 rounded border border-border px-2 py-1 transition-colors",
@@ -34944,7 +34945,7 @@ function Aw({ trpc: e, deviceId: t, features: n, optimistic: r }) {
34944
34945
  slice: (e) => e.state.cover
34945
34946
  }), { display: c, applyOptimistic: l } = OC(o, { enabled: r ?? !0 });
34946
34947
  if (a === void 0) return null;
34947
- let u = !s, d = (n ?? []).includes(je.CoverPositionable), f = (n ?? []).includes(je.CoverTilt), p = Sw(c?.state), m = c?.position ?? null, h = m !== null, g = c?.state === "open" || c?.state === "opening", _ = (e, t) => {
34948
+ let u = !s, d = (n ?? []).includes(Be.CoverPositionable), f = (n ?? []).includes(Be.CoverTilt), p = Sw(c?.state), m = c?.position ?? null, h = m !== null, g = c?.state === "open" || c?.state === "opening", _ = (e, t) => {
34948
34949
  u || !e || (t !== void 0 && l(t), e({}));
34949
34950
  }, b = (e) => {
34950
34951
  u || (l({ position: e }), a?.setPosition({ position: e }));
@@ -35197,7 +35198,7 @@ function Vw(e) {
35197
35198
  return t !== void 0 && Lw(t, n) ? {
35198
35199
  kind: "value",
35199
35200
  slice: n
35200
- } : e.addonId === Ze && e.snapshotStatus === "success" ? { kind: "quiet" } : { kind: "awaiting" };
35201
+ } : e.addonId === Xe && e.snapshotStatus === "success" ? { kind: "quiet" } : { kind: "awaiting" };
35201
35202
  }
35202
35203
  //#endregion
35203
35204
  //#region ../ui-library/src/composites/device-controls/sensor-hero-card.tsx
@@ -36573,7 +36574,7 @@ function MT({ label: e, busy: t, variant: n, onClick: r, children: i }) {
36573
36574
  function NT({ trpc: e, deviceId: t, features: n, optimistic: r }) {
36574
36575
  let i = S(), { cap: a, slice: o, available: s } = TT(e, t), { display: c, applyOptimistic: l } = OC(o, { enabled: r ?? !0 });
36575
36576
  if (a === void 0) return null;
36576
- let u = !s, d = (n ?? []).includes(je.ValvePositionable), f = Sw(c?.state), p = wT(c?.state, i), m = c?.position ?? null, h = m !== null, g = (e, t) => {
36577
+ let u = !s, d = (n ?? []).includes(Be.ValvePositionable), f = Sw(c?.state), p = wT(c?.state, i), m = c?.position ?? null, h = m !== null, g = (e, t) => {
36577
36578
  u || !e || (t !== void 0 && l(t), e({}));
36578
36579
  }, _ = (e) => {
36579
36580
  u || (l({ position: e }), a.setPosition({ position: e }));
@@ -37337,7 +37338,7 @@ function JT(e, t) {
37337
37338
  }
37338
37339
  function YT(e, t) {
37339
37340
  if (e === null) return "—";
37340
- let n = k({
37341
+ let n = T({
37341
37342
  value: e,
37342
37343
  quantity: t,
37343
37344
  precision: 0
@@ -37647,7 +37648,7 @@ function eE({ icon: e, label: t, value: n }) {
37647
37648
  function tE({ trpc: e, deviceId: t }) {
37648
37649
  let n = S(), { slice: r } = JT(e, t);
37649
37650
  if (r === void 0) return null;
37650
- let i = GT(r.condition, n), a = KT(r.condition), o = r.temperature === null ? void 0 : k({
37651
+ let i = GT(r.condition, n), a = KT(r.condition), o = r.temperature === null ? void 0 : T({
37651
37652
  value: r.temperature,
37652
37653
  quantity: "temperature",
37653
37654
  precision: 0
@@ -37670,7 +37671,7 @@ function tE({ trpc: e, deviceId: t }) {
37670
37671
  }),
37671
37672
  /* @__PURE__ */ v("span", {
37672
37673
  className: "text-base text-foreground-subtle",
37673
- children: o === void 0 ? k({
37674
+ children: o === void 0 ? T({
37674
37675
  value: 0,
37675
37676
  quantity: "temperature"
37676
37677
  }).unit : o.unit
@@ -37867,7 +37868,7 @@ function lE({ trpc: e, deviceId: t, deviceName: n }) {
37867
37868
  e();
37868
37869
  var uE = 20, dE = 9, fE = "#f59e0b", pE = "#ef4444";
37869
37870
  function mE(e, t) {
37870
- let n = k({
37871
+ let n = T({
37871
37872
  value: t,
37872
37873
  quantity: "duration"
37873
37874
  });
@@ -37877,7 +37878,7 @@ function mE(e, t) {
37877
37878
  });
37878
37879
  }
37879
37880
  function hE(e) {
37880
- return Math.min(Ae, Math.max(xe, e));
37881
+ return Math.min(ze, Math.max(Ge, e));
37881
37882
  }
37882
37883
  var gE = "\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";
37883
37884
  function _E({ trpc: e, deviceId: t, layout: n, optimistic: r }) {
@@ -38176,7 +38177,7 @@ function yE({ icon: e, label: t }) {
38176
38177
  });
38177
38178
  }
38178
38179
  function bE({ grams: e, low: t, eating: n }) {
38179
- let r = S(), i = Math.min(1, Math.max(0, (e ?? 0) / Ae)), a = t ? pE : fE, o = 52 - i * 24;
38180
+ let r = S(), i = Math.min(1, Math.max(0, (e ?? 0) / ze)), a = t ? pE : fE, o = 52 - i * 24;
38180
38181
  return /* @__PURE__ */ y("svg", {
38181
38182
  width: 72,
38182
38183
  height: 72,
@@ -38242,7 +38243,7 @@ function xE({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
38242
38243
  /* @__PURE__ */ v(SE, {
38243
38244
  label: a("uiLibrary.petFeeder.decreasePortion", "Decrease {{label}} portion", { label: e }),
38244
38245
  symbol: "−",
38245
- disabled: n || t <= xe,
38246
+ disabled: n || t <= Ge,
38246
38247
  onClick: () => r(hE(t - 1))
38247
38248
  }),
38248
38249
  /* @__PURE__ */ y("span", {
@@ -38255,7 +38256,7 @@ function xE({ label: e, grams: t, busy: n, onGrams: r, onFeed: i }) {
38255
38256
  /* @__PURE__ */ v(SE, {
38256
38257
  label: a("uiLibrary.petFeeder.increasePortion", "Increase {{label}} portion", { label: e }),
38257
38258
  symbol: "+",
38258
- disabled: n || t >= Ae,
38259
+ disabled: n || t >= ze,
38259
38260
  onClick: () => r(hE(t + 1))
38260
38261
  })
38261
38262
  ]
@@ -39593,8 +39594,8 @@ function DD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39593
39594
  cap: (e) => e.lockControl,
39594
39595
  slice: (e) => e.state.lockControl
39595
39596
  }), { display: s, applyOptimistic: c } = OC(a, { enabled: r ?? !0 });
39596
- if (i === void 0 || s === void 0) return null;
39597
- let l = xD(s.state), u = SD(s.state) || !o, d = n?.includes(je.LockOpen) === !0, f = () => {
39597
+ if (i === void 0 || s === void 0 || !(s.state in CD)) return null;
39598
+ let l = xD(s.state), u = SD(s.state) || !o, d = n?.includes(Be.LockOpen) === !0, f = () => {
39598
39599
  u || (l ? (c({ state: "unlocking" }), i.unlock({})) : (c({ state: "locking" }), i.lock({})));
39599
39600
  }, p = () => {
39600
39601
  u || i.open({});
@@ -39652,7 +39653,7 @@ function FD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39652
39653
  slice: (e) => e.state.color
39653
39654
  }), c = OC(a.slice, { enabled: r ?? !0 }), l = OC(o.slice, { enabled: r ?? !0 }), u = OC(s.slice, { enabled: r ?? !0 });
39654
39655
  if (a.cap === void 0 || c.display === void 0) return null;
39655
- let d = c.display.on === !0, f = !a.available, p = l.display?.percentage ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? ND : PD, _ = (n?.includes(je.LightColorMired) ?? !1) && s.cap !== void 0, b = u.display?.mireds, x = !s.available;
39656
+ let d = c.display.on === !0, f = !a.available, p = l.display?.percentage ?? 0, m = !o.available, h = d ? p / 100 : 0, g = d ? ND : PD, _ = (n?.includes(Be.LightColorMired) ?? !1) && s.cap !== void 0, b = u.display?.mireds, x = !s.available;
39656
39657
  return /* @__PURE__ */ y("div", {
39657
39658
  className: "flex flex-col items-stretch gap-4 rounded-lg border border-border bg-surface p-4",
39658
39659
  children: [
@@ -39777,7 +39778,7 @@ function RD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39777
39778
  slice: (e) => e.state.fanControl
39778
39779
  }), s = OC(a.slice, { enabled: r ?? !0 }), c = OC(o.slice, { enabled: r ?? !0 });
39779
39780
  if (a.cap === void 0 || s.display === void 0) return null;
39780
- let l = s.display.on === !0, u = !a.available, d = c.display?.percentage ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? ID : LD, h = n?.includes(je.FanSpeed) ?? !1, g = (n?.includes(je.FanOscillating) ?? !1) && o.cap !== void 0, _ = c.display?.availablePresets ?? [], b = (n?.includes(je.FanPreset) ?? !1) && o.cap !== void 0 && _.length > 0, x = c.display?.preset ?? "", C = c.display?.oscillating === !0, w = () => {
39781
+ let l = s.display.on === !0, u = !a.available, d = c.display?.percentage ?? 0, f = !o.available, p = l ? d / 100 : 0, m = l ? ID : LD, h = n?.includes(Be.FanSpeed) ?? !1, g = (n?.includes(Be.FanOscillating) ?? !1) && o.cap !== void 0, _ = c.display?.availablePresets ?? [], b = (n?.includes(Be.FanPreset) ?? !1) && o.cap !== void 0 && _.length > 0, x = c.display?.preset ?? "", C = c.display?.oscillating === !0, w = () => {
39781
39782
  if (u) return;
39782
39783
  let e = !l;
39783
39784
  s.applyOptimistic({ on: e }), a.cap?.setState({ on: e });
@@ -39791,7 +39792,7 @@ function RD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39791
39792
  if (t === void 0) return;
39792
39793
  let n = t.percentageStep !== void 0 && t.percentageStep > 0 ? t.percentageStep : 1, r = Math.min(100, Math.max(0, Math.round(e * 100 / n) * n));
39793
39794
  c.applyOptimistic({ percentage: r }), o.cap?.setPercentage({ percentage: r });
39794
- }, te = (e) => {
39795
+ }, E = (e) => {
39795
39796
  f || e === "" || (c.applyOptimistic({ preset: e }), o.cap?.setPreset({ preset: e }));
39796
39797
  };
39797
39798
  return /* @__PURE__ */ y("div", {
@@ -39833,7 +39834,7 @@ function RD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39833
39834
  value: x,
39834
39835
  disabled: f,
39835
39836
  onChange: (e) => {
39836
- e.stopPropagation(), te(e.target.value);
39837
+ e.stopPropagation(), E(e.target.value);
39837
39838
  },
39838
39839
  className: z("bg-surface border border-border rounded px-1 py-0.5", f && "opacity-40 cursor-not-allowed"),
39839
39840
  children: [/* @__PURE__ */ v("option", {
@@ -39967,7 +39968,7 @@ function GD({ trpc: e, deviceId: t, features: n, optimistic: r }) {
39967
39968
  slice: (e) => e.state.mediaPlayer
39968
39969
  }), { display: c, applyOptimistic: l } = OC(o, { enabled: r ?? !0 });
39969
39970
  if (a === void 0 || c === void 0) return null;
39970
- let u = !s, d = BD(c.state), f = (n?.includes(je.MediaPlayerSeek) ?? !1) && c.durationMs !== null && c.durationMs > 0, p = n?.includes(je.MediaPlayerNext) ?? !1, m = n?.includes(je.MediaPlayerPrevious) ?? !1, h = (n?.includes(je.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
39971
+ let u = !s, d = BD(c.state), f = (n?.includes(Be.MediaPlayerSeek) ?? !1) && c.durationMs !== null && c.durationMs > 0, p = n?.includes(Be.MediaPlayerNext) ?? !1, m = n?.includes(Be.MediaPlayerPrevious) ?? !1, h = (n?.includes(Be.MediaPlayerVolume) ?? !1) && c.volumeLevel !== null, g = () => {
39971
39972
  u || (d === "play" ? (l({ state: "playing" }), a.play({})) : (l({ state: "paused" }), a.pause({})));
39972
39973
  }, _ = c.currentMedia?.artist ?? c.currentMedia?.album ?? null, b = VD(c.positionMs, c.durationMs), x = c.volumeLevel ?? 0;
39973
39974
  return /* @__PURE__ */ y("div", {
@@ -40861,13 +40862,13 @@ var PO = {
40861
40862
  HeroCard: Mw
40862
40863
  }
40863
40864
  };
40864
- Object.fromEntries(Object.values(M).map((e) => [e, PO[Ue[e]]])), M.Cover, M.Valve, M.Thermostat, M.Climate, M.Control, M.Button, M.MediaPlayer, M.AlarmPanel, M.Lock, M.Vacuum, M.LawnMower, M.Humidifier, M.Switch, M.Siren, M.Light, M.Fan, M.WaterHeater, M.Sensor, M.Presence, M.EventEmitter, M.Notifier, M.Script, M.Automation, M.Camera, M.Hub, M.Update, M.Generic, M.Weather, M.Container, M.Image, M.PetFeeder, M.Dishwasher, M.Washer, M.Dryer, new Set(Object.values(M));
40865
+ Object.fromEntries(Object.values(j).map((e) => [e, PO[xe[e]]])), j.Cover, j.Valve, j.Thermostat, j.Climate, j.Control, j.Button, j.MediaPlayer, j.AlarmPanel, j.Lock, j.Vacuum, j.LawnMower, j.Humidifier, j.Switch, j.Siren, j.Light, j.Fan, j.WaterHeater, j.Sensor, j.Presence, j.EventEmitter, j.Notifier, j.Script, j.Automation, j.Camera, j.Hub, j.Update, j.Generic, j.Weather, j.Container, j.Image, j.PetFeeder, j.Dishwasher, j.Washer, j.Dryer, new Set(Object.values(j));
40865
40866
  //#endregion
40866
40867
  //#region ../ui-library/src/lib/format-last-seen.ts
40867
40868
  var FO = 1e3;
40868
40869
  //#endregion
40869
40870
  //#region ../ui-library/src/composites/device-selector-picker.tsx
40870
- 24 * (60 * FO * 60), 30 * FO, e(), e(), e(), e(), e(), e(), d(null), e(), new Set([M.Sensor, M.Presence]), e(), d({}), e(), e(), Object.freeze([]), e(), e(), e(), rt("camstack:device-quick-detail", null), e(), e(), e(), e(), e(), e(), e(), e(), e(), K({
40871
+ 24 * (60 * FO * 60), 30 * FO, e(), e(), e(), e(), e(), e(), d(null), e(), new Set([j.Sensor, j.Presence]), e(), d({}), e(), e(), Object.freeze([]), e(), e(), e(), rt("camstack:device-quick-detail", null), e(), e(), e(), e(), e(), e(), e(), e(), e(), K({
40871
40872
  id: U(),
40872
40873
  stableId: H(),
40873
40874
  addonId: H(),
@@ -41169,20 +41170,20 @@ function ek({ nodes: e, selected: t, onSelect: n }) {
41169
41170
  });
41170
41171
  }
41171
41172
  var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onStepClick: c, stepBadge: l, selectedCell: d, single: f, reserveRightPx: p, label: m }, h) {
41172
- let _ = S(), b = o(() => RO(e), [e]), x = o(() => LO(n), [n]), C = t(null), w = f ? ZO : YO, T = `${w}rem repeat(${n.length}, 13rem)`, ee = n.length + 1, [te, ne] = g(!0);
41173
+ let _ = S(), b = o(() => RO(e), [e]), x = o(() => LO(n), [n]), C = t(null), w = f ? ZO : YO, T = `${w}rem repeat(${n.length}, 13rem)`, ee = n.length + 1, [E, te] = g(!0);
41173
41174
  s(() => {
41174
41175
  let e = C.current;
41175
41176
  if (!e || p <= 0) {
41176
- ne(!0);
41177
+ te(!0);
41177
41178
  return;
41178
41179
  }
41179
41180
  let t = () => {
41180
41181
  let t = e.getBoundingClientRect().left;
41181
- ne(window.innerWidth - p - t >= w * 16 + 208 + 24);
41182
+ te(window.innerWidth - p - t >= w * 16 + 208 + 24);
41182
41183
  };
41183
41184
  return t(), window.addEventListener("resize", t), () => window.removeEventListener("resize", t);
41184
41185
  }, [p, w]);
41185
- let re = o(() => {
41186
+ let ne = o(() => {
41186
41187
  if (d === null) return null;
41187
41188
  let e = b.findIndex((e) => e.node.addonId === d.addonId);
41188
41189
  if (e < 0) return null;
@@ -41195,30 +41196,30 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41195
41196
  d,
41196
41197
  b,
41197
41198
  n
41198
- ]), [E, ie] = g({
41199
+ ]), [D, re] = g({
41199
41200
  r: 0,
41200
41201
  c: 0
41201
41202
  });
41202
41203
  i(() => {
41203
- re !== null && ie(re);
41204
- }, [re]);
41205
- let D = E.r < b.length && E.c < ee ? E : {
41204
+ ne !== null && re(ne);
41205
+ }, [ne]);
41206
+ let O = D.r < b.length && D.c < ee ? D : {
41206
41207
  r: 0,
41207
41208
  c: 0
41208
- }, ae = (e, t) => {
41209
+ }, ie = (e, t) => {
41209
41210
  C.current?.querySelector(`[data-r="${e}"][data-c="${t}"]`)?.focus();
41210
41211
  };
41211
41212
  return u(h, () => ({ focusCell: (e, t) => {
41212
41213
  let r = b.findIndex((t) => t.node.addonId === e);
41213
41214
  if (r < 0) return;
41214
41215
  let i = t === null ? -1 : n.findIndex((e) => IO(e) === t), a = i < 0 ? 0 : i + 1;
41215
- ie({
41216
+ re({
41216
41217
  r,
41217
41218
  c: a
41218
- }), ae(r, a);
41219
+ }), ie(r, a);
41219
41220
  } }), [b, n]), s(() => {
41220
- if (re === null) return;
41221
- let e = C.current, t = e?.querySelector(`[data-r="${re.r}"][data-c="${re.c}"]`);
41221
+ if (ne === null) return;
41222
+ let e = C.current, t = e?.querySelector(`[data-r="${ne.r}"][data-c="${ne.c}"]`);
41222
41223
  if (!e || !t || (typeof t.scrollIntoView == "function" && t.scrollIntoView({
41223
41224
  block: "nearest",
41224
41225
  inline: "nearest"
@@ -41226,9 +41227,9 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41226
41227
  let n = window.innerWidth - p - 12, r = t.getBoundingClientRect().right;
41227
41228
  r > n && (e.scrollLeft += r - n);
41228
41229
  }, [
41229
- re,
41230
+ ne,
41230
41231
  p,
41231
- te
41232
+ E
41232
41233
  ]), /* @__PURE__ */ v("div", {
41233
41234
  ref: C,
41234
41235
  className: "overflow-auto rounded border border-border",
@@ -41246,14 +41247,14 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41246
41247
  r: Number(e.target.dataset.r),
41247
41248
  c: Number(e.target.dataset.c)
41248
41249
  }, n = QO(e.key, t, b.length, ee);
41249
- n !== null && (e.preventDefault(), ie(n), ae(n.r, n.c));
41250
+ n !== null && (e.preventDefault(), re(n), ie(n.r, n.c));
41250
41251
  },
41251
41252
  children: [/* @__PURE__ */ y("div", {
41252
41253
  role: "row",
41253
41254
  className: "contents",
41254
41255
  children: [/* @__PURE__ */ v("div", {
41255
41256
  role: "columnheader",
41256
- className: z("top-0 z-20 border-b border-border bg-muted/60 px-3 py-2 text-[10px] uppercase tracking-widest text-foreground-subtle", te ? "sticky left-0" : "sticky"),
41257
+ className: z("top-0 z-20 border-b border-border bg-muted/60 px-3 py-2 text-[10px] uppercase tracking-widest text-foreground-subtle", E ? "sticky left-0" : "sticky"),
41257
41258
  children: _("uiLibrary.deviceStepMatrix.step", "Step")
41258
41259
  }), x.map((e) => e.grouped ? /* @__PURE__ */ v(GO, { group: e }, e.agentNodeId) : e.columns.map((e) => /* @__PURE__ */ y("div", {
41259
41260
  role: "columnheader",
@@ -41270,11 +41271,11 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41270
41271
  node: e,
41271
41272
  depth: t,
41272
41273
  r: i,
41273
- tabbable: D.r === i && D.c === 0,
41274
+ tabbable: O.r === i && O.c === 0,
41274
41275
  selected: d?.addonId === e.addonId,
41275
41276
  badge: l?.(e.addonId),
41276
41277
  onClick: c ? (t) => c(e.addonId, t) : void 0,
41277
- sticky: te
41278
+ sticky: E
41278
41279
  }), n.map((t, n) => {
41279
41280
  let o = r(e.addonId, t), s = d !== null && d.addonId === e.addonId && IO(d) === IO(t), c = o.kind === "enabled" || o.kind === "skip";
41280
41281
  return /* @__PURE__ */ v("div", {
@@ -41286,7 +41287,7 @@ var tk = c(function({ tree: e, agents: n, getCellState: r, onCellClick: a, onSte
41286
41287
  "data-c": n + 1,
41287
41288
  "data-step": e.addonId,
41288
41289
  "data-col": IO(t),
41289
- tabIndex: D.r === i && D.c === n + 1 ? 0 : -1,
41290
+ tabIndex: O.r === i && O.c === n + 1 ? 0 : -1,
41290
41291
  "aria-disabled": !c,
41291
41292
  "aria-selected": s,
41292
41293
  onClick: (n) => {
@@ -41715,7 +41716,7 @@ function Rk(e, t) {
41715
41716
  translate: (t, n) => Mk(e, Ck(), t, n)
41716
41717
  };
41717
41718
  }
41718
- e(), n(() => import("./MaskShapeCanvas-CrWutXSb.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), n(() => import("./MotionZonesSettings-DBGT8Nj8.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./SceneMonitorEditor-Bh49Hy9u.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), n(() => import("./PrivacyMaskSettings-CLQVQM7P.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
41719
+ e(), n(() => import("./MaskShapeCanvas-CrWutXSb.mjs").then((e) => ({ default: e.MaskShapeCanvas }))), n(() => import("./MotionZonesSettings-BdAF3Lx2.mjs").then((e) => ({ default: e.MotionZonesSettings }))), n(() => import("./SceneMonitorEditor-DffVOhzN.mjs").then((e) => ({ default: e.SceneMonitorEditor }))), n(() => import("./PrivacyMaskSettings-bRMKWnGr.mjs").then((e) => ({ default: e.PrivacyMaskSettings })));
41719
41720
  //#endregion
41720
41721
  //#region src/plugin-catalog/plugin-catalog-yolo-manifest-data.json
41721
41722
  var zk = /*#__PURE__*/ JSON.parse("[{\"id\":\"scrypted-yolov9t-relu-coreml\",\"label\":\"plugin catalog YOLOv9T ReLU CoreML\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"0a8733949d77e3204dba6418e81a11a8cc177015711457ce2c171266f23382d6\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322229,\"sha256\":\"f5a62f196f1e72a84efa1637119dffb6501621af9cf6f867bc76b4b59c9242a0\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu/scrypted_yolov9t_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":3797160,\"sha256\":\"b994419b8b68cfd6b89c3c6f3fe6b37458c86cc1d87fcca3df5034476a99dd38\"}],\"sizeMB\":4.12},{\"id\":\"scrypted-yolov9t-relu-onnx\",\"label\":\"plugin catalog YOLOv9T ReLU ONNX\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9t_relu/scrypted_yolov9t_relu.onnx\",\"size\":8499266,\"sha256\":\"3f11ea2071b27c285b58c16636a44d6a0a27bdd1ca8b64112dfadabd39cfea47\"}],\"sizeMB\":8.5},{\"id\":\"scrypted-yolov9t-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9T ReLU test CoreML\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"a5e0128b643f1a66f3e07d4b332f9ccbca97ccab75651c794f0b9f1fb41c8491\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322229,\"sha256\":\"79f4f647f2a0c79db3b560c84251b48c7ba7cbe9c1fecc9674d1a603a389dfa3\"},{\"relativePath\":\"coreml/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":3797160,\"sha256\":\"72efc9dc6af9241b5e5ee7de24a4f55741f6425d0e279d797f0f223e3d355f84\"}],\"sizeMB\":4.12},{\"id\":\"scrypted-yolov9t-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9T ReLU test ONNX\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9t_relu_test/scrypted_yolov9t_relu_test.onnx\",\"size\":8499266,\"sha256\":\"d20aa0e6923a3af7f5e84e3a6d28fb00e8ecd592e3225f986f93bd34b634e2f8\"}],\"sizeMB\":8.5},{\"id\":\"scrypted-yolov9s-relu-coreml\",\"label\":\"plugin catalog YOLOv9S ReLU CoreML\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"3bcdb820b82f1e89266f2d11bae1604d3ee4ca6d11dc5bd5c57055ff4157e9f3\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322664,\"sha256\":\"9a9c3c9cbca406ec2f0418ec867ed6b878ec6d02c16636d30e0bbd83d2ff7c40\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu/scrypted_yolov9s_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":14190120,\"sha256\":\"fd51eda58a993997268f6a2e424b536ba173207ad7974ab8bee2a8ff76d52dab\"}],\"sizeMB\":14.51},{\"id\":\"scrypted-yolov9s-relu-onnx\",\"label\":\"plugin catalog YOLOv9S ReLU ONNX\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9s_relu/scrypted_yolov9s_relu.onnx\",\"size\":29287339,\"sha256\":\"ca0b5bd98d5f59eb2029c6cb5129d53af59873f62a317a028beda463bbb96399\"}],\"sizeMB\":29.29},{\"id\":\"scrypted-yolov9s-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9S ReLU test CoreML\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"e2d24de0ce7e8573f19572029765e55abc714f36a85175ad7fcb95c001a76653\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":322664,\"sha256\":\"186b147cdfd15c5ed7a381ec3a426a22cee0b5c52d56f14efd26da06357f5cb0\"},{\"relativePath\":\"coreml/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":14190120,\"sha256\":\"e50651924c2cbffd56008a8953569e66c3de69f21807fcf7d825390ce30f21f8\"}],\"sizeMB\":14.51},{\"id\":\"scrypted-yolov9s-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9S ReLU test ONNX\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9s_relu_test/scrypted_yolov9s_relu_test.onnx\",\"size\":29287339,\"sha256\":\"115ddb83333762a0f2599421335678696454a5c3571ade5df9bac8e9cb5fb4cf\"}],\"sizeMB\":29.29},{\"id\":\"scrypted-yolov9m-relu-coreml\",\"label\":\"plugin catalog YOLOv9M ReLU CoreML\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"c548c6e1ff768b2b01bd71e230aa712a1635ae2baa30e0369557a42fc531ecbf\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":247061,\"sha256\":\"1c40e02fc2a2559cb906ea6cd9da9c730d4a78f5019290cbb38d2fcaae379fe7\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu/scrypted_yolov9m_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":39880616,\"sha256\":\"4cf938e5bfcc3ee1644813e4eb4702a7de450cc0581df94c719cf43d0ed2e408\"}],\"sizeMB\":40.13},{\"id\":\"scrypted-yolov9m-relu-onnx\",\"label\":\"plugin catalog YOLOv9M ReLU ONNX\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9m_relu/scrypted_yolov9m_relu.onnx\",\"size\":80380404,\"sha256\":\"e7a81fb33224a0105d2a0a594c3fa43c398c361de623f1d14156ae826e7312d5\"}],\"sizeMB\":80.38},{\"id\":\"scrypted-yolov9m-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9M ReLU test CoreML\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"8e2684b286d02b4bdf9db1027c84cb89bf8e4830cfb58269f3ec457c5a010650\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":247061,\"sha256\":\"53d5946e74b13b15c5f8616081c9f15e8a95a5df3d5b45b830fc5a7f49561c16\"},{\"relativePath\":\"coreml/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":39880616,\"sha256\":\"69774bf0032c37707601b8cdc1e1820dbd9f8288eb5d6f3879618a5d34ff5199\"}],\"sizeMB\":40.13},{\"id\":\"scrypted-yolov9m-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9M ReLU test ONNX\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9m_relu_test/scrypted_yolov9m_relu_test.onnx\",\"size\":80380404,\"sha256\":\"8bb054f099295909ec518e2a6598d63db24d3f90edc8105a0f016903f2a205a2\"}],\"sizeMB\":80.38},{\"id\":\"scrypted-yolov9c-relu-coreml\",\"label\":\"plugin catalog YOLOv9C ReLU CoreML\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"813a306ebd69cabfd31f00434f5a961feeca7d237833f3e11805dcf4ad120ba9\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":263210,\"sha256\":\"862f082619075e470738306b0ff0a37ae70a7d08e684ca6a6dfa1971d404e0c3\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu/scrypted_yolov9c_relu.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":50489960,\"sha256\":\"ed89747e58943758e2a87221d1d404f6a4466cbc039c3c6f96e327cadc403d27\"}],\"sizeMB\":50.75},{\"id\":\"scrypted-yolov9c-relu-onnx\",\"label\":\"plugin catalog YOLOv9C ReLU ONNX\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9c_relu/scrypted_yolov9c_relu.onnx\",\"size\":101631962,\"sha256\":\"b9372c4428daf4cd944c114b1e80d1a9ff0487d743e53a77216a051cfbef7116\"}],\"sizeMB\":101.63},{\"id\":\"scrypted-yolov9c-relu-test-coreml\",\"label\":\"plugin catalog YOLOv9C ReLU test CoreML\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"coreml\",\"precision\":\"fp16\",\"files\":[{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Manifest.json\",\"size\":617,\"sha256\":\"966ef82a93cb0ccf1036a8c9729c065fd372fa9590a97d0945e581cc674f7ad2\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Data/com.apple.CoreML/model.mlmodel\",\"size\":263210,\"sha256\":\"08718ecd3e9552d21a702bd8df60911cad0eec7b2ae382466809550f14634711\"},{\"relativePath\":\"coreml/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.mlpackage/Data/com.apple.CoreML/weights/weight.bin\",\"size\":50489960,\"sha256\":\"fe5936b9430ab4c87f30b148220131d6ec998b2377223d033e2fa2a00e60aada\"}],\"sizeMB\":50.75},{\"id\":\"scrypted-yolov9c-relu-test-onnx\",\"label\":\"plugin catalog YOLOv9C ReLU test ONNX\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"onnx\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"onnx/scrypted_yolov9c_relu_test/scrypted_yolov9c_relu_test.onnx\",\"size\":101631962,\"sha256\":\"2f4e2031e8efb4cbc871594338b2e875d78ab4af3ee0258d253273b1aac84742\"}],\"sizeMB\":101.63},{\"id\":\"scrypted-yolov9t-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9T ReLU OpenVINO FP32\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu/best-converted.xml\",\"size\":628222,\"sha256\":\"01b5a9d02a0f281e1aaf4860e1b0ed3a7f16b9d78975be8ff985ae0ee283d877\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu/best-converted.bin\",\"size\":7542204,\"sha256\":\"4fe9ce8dbdf94514fdd450cbfc907f257153e4898a0c1489a44e4912d8e32cc7\"}],\"sizeMB\":8.17},{\"id\":\"scrypted-yolov9s-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9S ReLU OpenVINO FP32\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu/best-converted.xml\",\"size\":629249,\"sha256\":\"5b4a229bf7229425698b63bd065a403e440a6151a6ddff0034867659cc4a480d\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu/best-converted.bin\",\"size\":28329724,\"sha256\":\"c030bd219208ea94082578c81f383d4ef9ec45d7150eec1c2c2ff2569cf49b35\"}],\"sizeMB\":28.96},{\"id\":\"scrypted-yolov9m-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9M ReLU OpenVINO FP32\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu/best-converted.xml\",\"size\":485439,\"sha256\":\"c66f9f1965bf70fd3635d4dfc3cb94c72c06b344c256713237d77706725b9a0c\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu/best-converted.bin\",\"size\":79717372,\"sha256\":\"dfc2d8952bbca9ad0e116168e3fd5c754e601c327d78c4f4d0d4cae12f0e1d2a\"}],\"sizeMB\":80.2},{\"id\":\"scrypted-yolov9c-relu-openvino-fp32\",\"label\":\"plugin catalog YOLOv9C ReLU OpenVINO FP32\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"fp32\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu/best-converted.xml\",\"size\":535047,\"sha256\":\"836c1e998ebf76108ff64d554fdfa07aa72c42624f1a5448701bb409f27b8d68\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu/best-converted.bin\",\"size\":100942972,\"sha256\":\"11a1b330ac9843b349927977b3c7c7f17bb42af73a7ff102969132f27ab81814\"}],\"sizeMB\":101.48},{\"id\":\"scrypted-yolov9t-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9T ReLU OpenVINO INT8\",\"family\":\"yolov9t\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu_int8/best-converted.xml\",\"size\":1380379,\"sha256\":\"e5a76bf88ac69fc0ebc50c04b61ff91550dd9c2349af1f6d7e4cac949c640cec\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu_int8/best-converted.bin\",\"size\":1954956,\"sha256\":\"98fb5b6826d7c6697a585f69ba96754873772d9d61fbed8335aab761e8248659\"}],\"sizeMB\":3.34},{\"id\":\"scrypted-yolov9t-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9T ReLU test OpenVINO INT8\",\"family\":\"yolov9t\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9t_relu_test_int8/best-converted.xml\",\"size\":1380383,\"sha256\":\"9e4119284e923e08c9929e78fd31e2552e602a552ac538ae99bf34a50dd4d172\"},{\"relativePath\":\"openvino/scrypted_yolov9t_relu_test_int8/best-converted.bin\",\"size\":1954960,\"sha256\":\"efe5b0a2fd2f5ddef5923eeb9e592a7ef14719061bb7605c86e05b35c2c58ea9\"}],\"sizeMB\":3.34},{\"id\":\"scrypted-yolov9s-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9S ReLU OpenVINO INT8\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu_int8/best-converted.xml\",\"size\":1382088,\"sha256\":\"4e6c24cf24afbab21462f7e1a15bd05b1cbbe5915046000e03c2435d8110bbbf\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu_int8/best-converted.bin\",\"size\":7197308,\"sha256\":\"23fd3d666a938c41db232d9c6239baec1134716cfb4ed4ddd3d602dd20eb8ac0\"}],\"sizeMB\":8.58},{\"id\":\"scrypted-yolov9s-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9S ReLU test OpenVINO INT8\",\"family\":\"yolov9s\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9s_relu_test_int8/best-converted.xml\",\"size\":1382092,\"sha256\":\"49865bfeafe7576afce089ba6f5c3e25a9192c8b514eb96265c90fe877795641\"},{\"relativePath\":\"openvino/scrypted_yolov9s_relu_test_int8/best-converted.bin\",\"size\":7197312,\"sha256\":\"78e9d36e6b74754db2b624ea3ec0b3ff57ed6dfed59a4f2225e1a271054597de\"}],\"sizeMB\":8.58},{\"id\":\"scrypted-yolov9m-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9M ReLU OpenVINO INT8\",\"family\":\"yolov9m\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu_int8/best-converted.xml\",\"size\":1024595,\"sha256\":\"1242ab8d8c73b2e80c5dd541177ade6e102a2684114b059136acb4cad6efb034\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu_int8/best-converted.bin\",\"size\":20090516,\"sha256\":\"da8e44af8bee66478e6f359e9504bfb13ab4b76f4bd8a2f1b10cfbc22febcf6e\"}],\"sizeMB\":21.12},{\"id\":\"scrypted-yolov9m-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9M ReLU test OpenVINO INT8\",\"family\":\"yolov9m\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9m_relu_test_int8/best-converted.xml\",\"size\":1024601,\"sha256\":\"24395ae5fdbb321304c865372cd2b905cdc55abb7610520f3963702e2371decb\"},{\"relativePath\":\"openvino/scrypted_yolov9m_relu_test_int8/best-converted.bin\",\"size\":20090520,\"sha256\":\"4360fe0312067f92c49f180c7b8a10271f14d58b8909aa9b96b13af4ab9289aa\"}],\"sizeMB\":21.12},{\"id\":\"scrypted-yolov9c-relu-openvino-int8\",\"label\":\"plugin catalog YOLOv9C ReLU OpenVINO INT8\",\"family\":\"yolov9c\",\"variant\":\"relu\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu_int8/best-converted.xml\",\"size\":1092695,\"sha256\":\"a45c62940120c4301d8fff9fb3b275c29e3618f403ea68a785f2f3220cefec7a\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu_int8/best-converted.bin\",\"size\":25428280,\"sha256\":\"0643403a56178c3ed1e066c7884458d8ea6780115d662bdc38d10754d7a11c79\"}],\"sizeMB\":26.52},{\"id\":\"scrypted-yolov9c-relu-test-openvino-int8\",\"label\":\"plugin catalog YOLOv9C ReLU test OpenVINO INT8\",\"family\":\"yolov9c\",\"variant\":\"relu_test\",\"format\":\"openvino\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"openvino/scrypted_yolov9c_relu_test_int8/best-converted.xml\",\"size\":1092695,\"sha256\":\"a8a1899848ebd060af2326d3c8d3c09ea83354f0bedff6cce6fa08b284ea5519\"},{\"relativePath\":\"openvino/scrypted_yolov9c_relu_test_int8/best-converted.bin\",\"size\":25428280,\"sha256\":\"2eb6bb3d0a03a9b239b6f623f9e7bced62eea61fbe4d8ff89c1b3e2e2b7978a2\"}],\"sizeMB\":26.52},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-float16\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite float16\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"float16\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_float16.tflite\",\"size\":14482836,\"sha256\":\"04889db3b81af361c361e41ffa99327330d37b71d680a2f889e6cdf1e94c0d8c\"}],\"sizeMB\":14.48},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-float32\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite float32\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"float32\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_float32.tflite\",\"size\":28777068,\"sha256\":\"f5d7d08fc1d8f2262633d2df4391638e0481740331aaa1837880a47c33001a96\"}],\"sizeMB\":28.78},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-int8\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite int8\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"int8\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_int8.tflite\",\"size\":7325616,\"sha256\":\"1e9866b16fe80931383bf3c94dc629fe93a37ba3dc1465ea019eb0a50bd428df\"}],\"sizeMB\":7.33},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-integer_quant\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite integer_quant\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"integer_quant\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_integer_quant.tflite\",\"size\":7342552,\"sha256\":\"bc1c902e9a9865637ee2403f70c6bf5c29c695d9163e58ad658feb29bb097ebc\"}],\"sizeMB\":7.34},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-full_integer_quant\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite full_integer_quant\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"full_integer_quant\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_full_integer_quant.tflite\",\"size\":7341704,\"sha256\":\"483ce38dbe33ee5a35f40a82f56c77629a44fa5d95efd8ade9fa97e4d2a261fd\"}],\"sizeMB\":7.34},{\"id\":\"scrypted-yolov9s-relu-sep-320-tflite-edgetpu\",\"label\":\"plugin catalog YOLOv9s ReLU sep 320 TFLite edgetpu\",\"family\":\"yolov9s\",\"variant\":\"relu\",\"format\":\"tflite\",\"precision\":\"edgetpu\",\"files\":[{\"relativePath\":\"tflite/scrypted_yolov9s_relu_sep_320/best_full_integer_quant_edgetpu.tflite\",\"size\":8164480,\"sha256\":\"e1e6b074a3b9fdf19a171baf615553ad375a046aa7de2a3fef9a1950175fab22\"}],\"sizeMB\":8.16}]"), Bk = {
@@ -41916,7 +41917,7 @@ var oA = K({
41916
41917
  bytes: typeof t.bytes == "number" ? t.bytes : 0,
41917
41918
  at: typeof t.at == "number" ? t.at : 0
41918
41919
  } } } : e;
41919
- }, K({ formats: Lf(q(Fe), oA) })), cA = If(H(), If(H(), sA));
41920
+ }, K({ formats: Lf(q(Te), oA) })), cA = If(H(), If(H(), sA));
41920
41921
  function lA(e) {
41921
41922
  return `plus-catalog-${e}`;
41922
41923
  }
@@ -41946,7 +41947,7 @@ var uA = K({
41946
41947
  height: U()
41947
41948
  }),
41948
41949
  files: G(uA).readonly(),
41949
- model: we
41950
+ model: Ke
41950
41951
  }), fA = K({
41951
41952
  manifestId: H(),
41952
41953
  status: q([
@@ -41959,7 +41960,7 @@ var uA = K({
41959
41960
  }), pA = K({
41960
41961
  id: H(),
41961
41962
  label: H(),
41962
- format: q(Fe),
41963
+ format: q(Te),
41963
41964
  sizeMB: U(),
41964
41965
  inputSize: U(),
41965
41966
  notes: H()
@@ -41976,8 +41977,8 @@ var uA = K({
41976
41977
  width: U().optional(),
41977
41978
  height: U().optional()
41978
41979
  });
41979
- te({
41980
- registerCustomModel: A(Ke, K({
41980
+ fe({
41981
+ registerCustomModel: E(We, K({
41981
41982
  ok: J(!0),
41982
41983
  conversions: G(K({
41983
41984
  format: q(["openvino", "coreml"]),
@@ -41986,7 +41987,7 @@ te({
41986
41987
  error: H().optional()
41987
41988
  })).readonly()
41988
41989
  }), { kind: "mutation" }),
41989
- ensureFormatsThenDistribute: A(K({ modelId: H() }), K({
41990
+ ensureFormatsThenDistribute: E(K({ modelId: H() }), K({
41990
41991
  conversions: G(K({
41991
41992
  format: q(["openvino", "coreml"]),
41992
41993
  ok: W(),
@@ -41995,13 +41996,13 @@ te({
41995
41996
  })).readonly(),
41996
41997
  distributed: G(K({
41997
41998
  nodeId: H(),
41998
- format: q(Fe),
41999
+ format: q(Te),
41999
42000
  ok: W(),
42000
42001
  error: H().optional(),
42001
42002
  bytes: U().optional()
42002
42003
  })).readonly()
42003
42004
  }), { kind: "mutation" }),
42004
- ensureModelFormats: A(K({
42005
+ ensureModelFormats: E(K({
42005
42006
  modelId: H(),
42006
42007
  formats: G(q(["openvino", "coreml"])).min(1).readonly()
42007
42008
  }), K({ conversions: G(K({
@@ -42010,59 +42011,59 @@ te({
42010
42011
  nodeId: H().optional(),
42011
42012
  error: H().optional()
42012
42013
  })).readonly() }), { kind: "mutation" }),
42013
- removeCustomModel: A(K({ modelId: H() }), K({
42014
+ removeCustomModel: E(K({ modelId: H() }), K({
42014
42015
  removed: W(),
42015
42016
  deletedNodes: G(H()).readonly(),
42016
42017
  clearedPins: U().int().nonnegative()
42017
42018
  }), { kind: "mutation" }),
42018
- renameCustomModel: A(K({
42019
+ renameCustomModel: E(K({
42019
42020
  modelId: H().min(1),
42020
42021
  name: H()
42021
42022
  }), K({
42022
42023
  modelId: H(),
42023
42024
  name: H()
42024
42025
  }), { kind: "mutation" }),
42025
- removeModelFromNode: A(K({
42026
+ removeModelFromNode: E(K({
42026
42027
  modelId: H(),
42027
42028
  nodeId: H(),
42028
- format: q(Fe)
42029
+ format: q(Te)
42029
42030
  }), K({
42030
42031
  deleted: W(),
42031
42032
  clearedAvailability: W()
42032
42033
  }), { kind: "mutation" }),
42033
- deleteSeedFromNode: A(K({
42034
+ deleteSeedFromNode: E(K({
42034
42035
  addonId: H(),
42035
42036
  modelId: H(),
42036
- format: q(Fe),
42037
+ format: q(Te),
42037
42038
  nodeId: H()
42038
42039
  }), K({ success: J(!0) }), { kind: "mutation" }),
42039
- listCustomModels: A(Ef(), G(Ke).readonly()),
42040
- distributeModel: A(K({
42040
+ listCustomModels: E(Ef(), G(We).readonly()),
42041
+ distributeModel: E(K({
42041
42042
  modelId: H(),
42042
42043
  nodeId: H(),
42043
- format: q(Fe)
42044
+ format: q(Te)
42044
42045
  }), K({
42045
42046
  ok: W(),
42046
42047
  sha256: H(),
42047
42048
  bytes: U()
42048
42049
  }), { kind: "mutation" }),
42049
- listAvailability: A(Ef(), cA),
42050
- beginModelUpload: A(K({
42050
+ listAvailability: E(Ef(), cA),
42051
+ beginModelUpload: E(K({
42051
42052
  filename: H(),
42052
42053
  totalBytes: U().int().positive()
42053
42054
  }), K({ uploadId: H() }), { kind: "mutation" }),
42054
- appendModelUpload: A(K({
42055
+ appendModelUpload: E(K({
42055
42056
  uploadId: H(),
42056
42057
  chunkBase64: H()
42057
42058
  }), K({ received: U() }), { kind: "mutation" }),
42058
- commitModelUpload: A(K({ uploadId: H() }), K({
42059
+ commitModelUpload: E(K({ uploadId: H() }), K({
42059
42060
  filename: H(),
42060
42061
  bytes: U(),
42061
42062
  sha256: H()
42062
42063
  }), { kind: "mutation" }),
42063
- abortModelUpload: A(K({ uploadId: H() }), K({ ok: J(!0) }), { kind: "mutation" }),
42064
- listPlusCatalogCatalog: A(Ef(), G(pA).readonly()),
42065
- importPlusCatalogCatalogModel: A(K({
42064
+ abortModelUpload: E(K({ uploadId: H() }), K({ ok: J(!0) }), { kind: "mutation" }),
42065
+ listPlusCatalogCatalog: E(Ef(), G(pA).readonly()),
42066
+ importPlusCatalogCatalogModel: E(K({
42066
42067
  catalogId: H(),
42067
42068
  modelId: H().optional(),
42068
42069
  name: H().optional(),
@@ -42072,26 +42073,26 @@ te({
42072
42073
  modelId: H(),
42073
42074
  bytes: U()
42074
42075
  }), { kind: "mutation" }),
42075
- listPluginCatalogCatalog: A(Ef(), K({
42076
+ listPluginCatalogCatalog: E(Ef(), K({
42076
42077
  entries: G(dA).readonly(),
42077
42078
  drift: G(fA).readonly()
42078
42079
  })),
42079
- importPluginCatalogCatalogModel: A(K({
42080
+ importPluginCatalogCatalogModel: E(K({
42080
42081
  manifestId: H(),
42081
42082
  name: H().optional(),
42082
42083
  targetNodeId: H().optional()
42083
- }), Ke, { kind: "mutation" }),
42084
- tfliteSupport: A(K({}).optional(), K({ nodes: G(H()).readonly() })),
42085
- plusCatalogPlusStatus: A(Ef(), K({
42084
+ }), We, { kind: "mutation" }),
42085
+ tfliteSupport: E(K({}).optional(), K({ nodes: G(H()).readonly() })),
42086
+ plusCatalogPlusStatus: E(Ef(), K({
42086
42087
  configured: W(),
42087
42088
  keyFormatValid: W()
42088
42089
  })),
42089
- plusCatalogPlusTest: A(Ef(), K({
42090
+ plusCatalogPlusTest: E(Ef(), K({
42090
42091
  ok: W(),
42091
42092
  error: H().optional()
42092
42093
  }), { kind: "mutation" }),
42093
- plusCatalogPlusListModels: A(Ef(), G(mA).readonly()),
42094
- importPlusCatalogModel: A(K({
42094
+ plusCatalogPlusListModels: E(Ef(), G(mA).readonly()),
42095
+ importPlusCatalogModel: E(K({
42095
42096
  plusModelId: H(),
42096
42097
  modelId: H().optional(),
42097
42098
  name: H().optional(),
@@ -42108,21 +42109,21 @@ te({
42108
42109
  error: H().optional()
42109
42110
  })).readonly()
42110
42111
  }), { kind: "mutation" }),
42111
- recommendConvertNode: A(K({ targets: G(Te).min(1).readonly() }), G(K({
42112
+ recommendConvertNode: E(K({ targets: G(Re).min(1).readonly() }), G(K({
42112
42113
  nodeId: H(),
42113
42114
  reason: H(),
42114
42115
  supported: W()
42115
42116
  })).readonly()),
42116
- convertModel: A(K({
42117
+ convertModel: E(K({
42117
42118
  sourceUrl: H(),
42118
- metadata: De,
42119
- targets: G(Te).min(1).readonly(),
42119
+ metadata: Le,
42120
+ targets: G(Re).min(1).readonly(),
42120
42121
  targetNodeId: H().optional(),
42121
42122
  calibrationRef: H().optional()
42122
42123
  }), K({
42123
- entry: we,
42124
+ entry: Ke,
42124
42125
  nodeId: H(),
42125
- artifacts: G(w).readonly()
42126
+ artifacts: G(qe).readonly()
42126
42127
  }), { kind: "mutation" })
42127
42128
  });
42128
42129
  var hA = /[\u0000-\u001f\u007f]/;
@@ -42151,9 +42152,9 @@ function _A(e) {
42151
42152
  //#region src/ui/model-studio-ui.ts
42152
42153
  var vA = "object-detection";
42153
42154
  function yA(e) {
42154
- return e.stepId === vA ? se(e.entry, {
42155
+ return e.stepId === vA ? ae(e.entry, {
42155
42156
  labels: [],
42156
- classMap: Qe
42157
+ classMap: Ze
42157
42158
  }) : [];
42158
42159
  }
42159
42160
  var bA = [
@@ -42328,7 +42329,7 @@ function GA(e, t, n) {
42328
42329
  return r.data;
42329
42330
  }
42330
42331
  function KA(e) {
42331
- return Array.isArray(e) ? WA(Ke, e, "listCustomModels") : [];
42332
+ return Array.isArray(e) ? WA(We, e, "listCustomModels") : [];
42332
42333
  }
42333
42334
  function qA(e) {
42334
42335
  if (!UA(e)) return {};
@@ -42532,13 +42533,13 @@ async function Sj(e, t) {
42532
42533
  }
42533
42534
  async function Cj(e, t) {
42534
42535
  let n = await BA(e, "pipelineExecutor.listLoadedEngines.query").pipelineExecutor.listLoadedEngines.query({ nodeId: t });
42535
- return GA($e.methods.listLoadedEngines.output, n, "listLoadedEngines");
42536
+ return GA(me.methods.listLoadedEngines.output, n, "listLoadedEngines");
42536
42537
  }
42537
42538
  async function wj(e, t) {
42538
42539
  await BA(e, "pipelineOrchestrator.setAgentInferenceDevices.mutate").pipelineOrchestrator.setAgentInferenceDevices.mutate(t);
42539
42540
  }
42540
42541
  async function Tj(e) {
42541
- return fe(await BA(e, "addonSettings.getGlobalSettings.query").addonSettings.getGlobalSettings.query({ addonId: "pipeline-orchestrator" }));
42542
+ return ee(await BA(e, "addonSettings.getGlobalSettings.query").addonSettings.getGlobalSettings.query({ addonId: "pipeline-orchestrator" }));
42542
42543
  }
42543
42544
  async function Ej(e, t) {
42544
42545
  await BA(e, "addonSettings.updateGlobalSettings.mutate").addonSettings.updateGlobalSettings.mutate({
@@ -42581,7 +42582,7 @@ async function Aj(e) {
42581
42582
  };
42582
42583
  }
42583
42584
  async function jj(e, t) {
42584
- return GA(Ke, await HA(e, "importPluginCatalogCatalogModel", {
42585
+ return GA(We, await HA(e, "importPluginCatalogCatalogModel", {
42585
42586
  manifestId: t.manifestId,
42586
42587
  ...t.name === void 0 ? {} : { name: t.name },
42587
42588
  ...t.targetNodeId === void 0 ? {} : { targetNodeId: t.targetNodeId }
@@ -43894,7 +43895,7 @@ function xM({ label: e, value: t, options: n, onChange: r, disabled: i = !1, pla
43894
43895
  //#region src/components/SourceModelBrowser.tsx
43895
43896
  e();
43896
43897
  function SM({ preSelectors: e = [], catalog: t, value: n, onChange: r, title: i, subtitle: a, actionRow: o, renderActionRow: s, footer: c, emptyMessage: l, testId: u = "source-model-browser" }) {
43897
- let { t: d } = $(), f = qe(t), [p, m] = g({});
43898
+ let { t: d } = $(), f = De(t), [p, m] = g({});
43898
43899
  return /* @__PURE__ */ y("div", {
43899
43900
  className: "space-y-3",
43900
43901
  "data-testid": u,
@@ -44078,8 +44079,8 @@ var OM = [
44078
44079
  key: "test"
44079
44080
  }];
44080
44081
  function AM({ trpc: e, landNodeId: n, onImported: r }) {
44081
- let { t: a } = $(), s = Xj(), [c, u] = g(null), [d, f] = g([]), [p, m] = g(null), [h, _] = g({}), [b, x] = g({}), [S, C] = g(null), [w, T] = g(null), [ee, te] = g(null), [ne, re] = g("relu"), [E, ie] = g(""), [D, ae] = g(""), [oe, se] = g(null), [O, ce] = g(""), le = t(0), k = t(!1), ue = n !== void 0 && n.length > 0 ? n : O.length > 0 ? O : void 0, de = l(async () => {
44082
- let t = ++le.current;
44082
+ let { t: a } = $(), s = Xj(), [c, u] = g(null), [d, f] = g([]), [p, m] = g(null), [h, _] = g({}), [b, x] = g({}), [S, C] = g(null), [w, T] = g(null), [ee, E] = g(null), [te, ne] = g("relu"), [D, re] = g(""), [O, ie] = g(""), [ae, oe] = g(null), [k, se] = g(""), ce = t(0), le = t(!1), ue = n !== void 0 && n.length > 0 ? n : k.length > 0 ? k : void 0, de = l(async () => {
44083
+ let t = ++ce.current;
44083
44084
  C(null);
44084
44085
  try {
44085
44086
  let n = Aj(e), r = JA(e).then((e) => ({
@@ -44094,8 +44095,8 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44094
44095
  i,
44095
44096
  a
44096
44097
  ]);
44097
- if (t !== le.current) return;
44098
- if (u(o.entries), f(o.drift), se(l), l.length > 0 && ce((e) => e.length > 0 && l.includes(e) ? e : l[0]), s.ok) {
44098
+ if (t !== ce.current) return;
44099
+ if (u(o.entries), f(o.drift), oe(l), l.length > 0 && se((e) => e.length > 0 && l.includes(e) ? e : l[0]), s.ok) {
44099
44100
  m(new Set(s.value.map((e) => e.entry.id)));
44100
44101
  let e = {};
44101
44102
  for (let t of s.value) e[t.entry.id] = xA(t.entry);
@@ -44107,17 +44108,17 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44107
44108
  x(e);
44108
44109
  } else x({});
44109
44110
  } catch (e) {
44110
- if (t !== le.current) return;
44111
+ if (t !== ce.current) return;
44111
44112
  u(null), C(e instanceof Error ? e.message : a("pluginCatalog.loadFailed"));
44112
44113
  }
44113
44114
  }, [e, a]);
44114
44115
  i(() => {
44115
44116
  de();
44116
44117
  }, [de]);
44117
- let fe = o(() => (c ?? []).filter((e) => e.variant === ne), [c, ne]), A = o(() => vM(fe), [fe]), pe = o(() => new Map(A.map((e) => [e.id, e])), [A]), me = E.length > 0 && pe.has(E) ? E : A[0]?.id ?? "", he = l(async (t) => {
44118
- if (k.current || DM(D)) return;
44119
- let i = EM(D);
44120
- k.current = !0, T(t.id), te(null);
44118
+ let A = o(() => (c ?? []).filter((e) => e.variant === te), [c, te]), fe = o(() => vM(A), [A]), pe = o(() => new Map(fe.map((e) => [e.id, e])), [fe]), me = D.length > 0 && pe.has(D) ? D : fe[0]?.id ?? "", he = l(async (t) => {
44119
+ if (le.current || DM(O)) return;
44120
+ let i = EM(O);
44121
+ le.current = !0, T(t.id), E(null);
44121
44122
  let o = t.format === "tflite" ? ue : n !== void 0 && n.length > 0 ? n : void 0;
44122
44123
  try {
44123
44124
  await s.run({
@@ -44162,9 +44163,9 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44162
44163
  } : e));
44163
44164
  }), await de(), r?.();
44164
44165
  } catch (e) {
44165
- te(e instanceof Error ? e.message : a("importOp.failed"));
44166
+ E(e instanceof Error ? e.message : a("importOp.failed"));
44166
44167
  } finally {
44167
- k.current = !1, T(null);
44168
+ le.current = !1, T(null);
44168
44169
  }
44169
44170
  }, [
44170
44171
  e,
@@ -44175,7 +44176,7 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44175
44176
  ue,
44176
44177
  n,
44177
44178
  s,
44178
- D,
44179
+ O,
44179
44180
  a
44180
44181
  ]);
44181
44182
  if (c === null && S === null) return /* @__PURE__ */ v("div", {
@@ -44197,7 +44198,7 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44197
44198
  })]
44198
44199
  });
44199
44200
  let ge = pe.get(me), _e = ge && c ? NM({
44200
- filtered: fe,
44201
+ filtered: A,
44201
44202
  drift: d,
44202
44203
  sourceId: ge.id
44203
44204
  }) : [], ve = _e.map((e) => ({
@@ -44218,22 +44219,22 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44218
44219
  className: "text-[11px] text-foreground-subtle",
44219
44220
  children: a("pluginCatalog.intro")
44220
44221
  }),
44221
- n === void 0 && oe !== null && oe.length > 0 && /* @__PURE__ */ y("label", {
44222
+ n === void 0 && ae !== null && ae.length > 0 && /* @__PURE__ */ y("label", {
44222
44223
  className: "flex items-center gap-2 text-[11px] text-foreground",
44223
44224
  children: [/* @__PURE__ */ v("span", {
44224
44225
  className: "text-foreground-subtle uppercase tracking-wide text-[10px]",
44225
44226
  children: a("pluginCatalog.tfliteCoral")
44226
44227
  }), /* @__PURE__ */ v("select", {
44227
44228
  className: "bg-surface border border-border rounded px-2 py-0.5 text-[11px]",
44228
- value: O,
44229
- onChange: (e) => ce(e.target.value),
44230
- children: oe.map((e) => /* @__PURE__ */ v("option", {
44229
+ value: k,
44230
+ onChange: (e) => se(e.target.value),
44231
+ children: ae.map((e) => /* @__PURE__ */ v("option", {
44231
44232
  value: e,
44232
44233
  children: e
44233
44234
  }, e))
44234
44235
  })]
44235
44236
  }),
44236
- n === void 0 && oe !== null && oe.length === 0 && /* @__PURE__ */ v("p", {
44237
+ n === void 0 && ae !== null && ae.length === 0 && /* @__PURE__ */ v("p", {
44237
44238
  className: "text-[11px] text-warning",
44238
44239
  children: a("pluginCatalog.noCoral")
44239
44240
  }),
@@ -44251,26 +44252,26 @@ function AM({ trpc: e, landNodeId: n, onImported: r }) {
44251
44252
  preSelectors: [{
44252
44253
  id: "variant",
44253
44254
  label: a("pluginCatalog.variant"),
44254
- value: ne,
44255
+ value: te,
44255
44256
  options: kM.map((e) => ({
44256
44257
  value: e.value,
44257
44258
  label: a(`pluginCatalog.variants.${e.key}`),
44258
44259
  count: (c ?? []).filter((t) => t.variant === e.value).length
44259
44260
  })),
44260
44261
  onChange: (e) => {
44261
- (e === "relu" || e === "relu_test") && (re(e), ie(""));
44262
+ (e === "relu" || e === "relu_test") && (ne(e), re(""));
44262
44263
  },
44263
44264
  compactWhenSingle: !1
44264
44265
  }],
44265
- catalog: A,
44266
+ catalog: fe,
44266
44267
  value: me,
44267
- onChange: ie,
44268
+ onChange: re,
44268
44269
  emptyMessage: a("pluginCatalog.emptyVariant"),
44269
44270
  actionRow: ge && ve.length > 0 ? /* @__PURE__ */ y("div", {
44270
44271
  className: "space-y-2",
44271
44272
  children: [/* @__PURE__ */ v(TM, {
44272
- value: D,
44273
- onChange: ae,
44273
+ value: O,
44274
+ onChange: ie,
44274
44275
  defaultName: ge.name
44275
44276
  }), /* @__PURE__ */ v(wM, {
44276
44277
  entries: ve,
@@ -45423,7 +45424,7 @@ var bN = [
45423
45424
  value: "frigate",
45424
45425
  label: "plus catalog"
45425
45426
  }
45426
- ], xN = new Set(Fe);
45427
+ ], xN = new Set(Te);
45427
45428
  function SN(e) {
45428
45429
  return xN.has(e);
45429
45430
  }
@@ -45460,7 +45461,7 @@ function CN({ seed: e, nodeId: t, busyKey: n, onDownload: r }) {
45460
45461
  });
45461
45462
  }
45462
45463
  function wN({ seeds: e, nodeId: t, busyKey: n, selectedByFamily: r, onSelectFamily: i, onDownload: a }) {
45463
- let o = NA(e), s = PA(e), c = o.map(FA), l = qe(c), u = new Map(e.map((e) => [e.modelId, e]));
45464
+ let o = NA(e), s = PA(e), c = o.map(FA), l = De(c), u = new Map(e.map((e) => [e.modelId, e]));
45464
45465
  return l.length === 0 && s.length === 0 ? null : /* @__PURE__ */ y("div", {
45465
45466
  className: "space-y-3",
45466
45467
  "data-testid": "catalog-provider",
@@ -45535,7 +45536,7 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45535
45536
  i(() => {
45536
45537
  f(!0), w();
45537
45538
  }, [w, t]);
45538
- let T = o(() => jA(a), [a]), ee = o(() => MA(a, c).filter((e) => e.provider === "camstack"), [a, c]), te = o(() => qe(NA(ee).map(FA)), [ee]), ne = o(() => {
45539
+ let T = o(() => jA(a), [a]), ee = o(() => MA(a, c).filter((e) => e.provider === "camstack"), [a, c]), E = o(() => De(NA(ee).map(FA)), [ee]), te = o(() => {
45539
45540
  let e = /* @__PURE__ */ new Map();
45540
45541
  for (let t of ee) e.set(t.modelId, t);
45541
45542
  return e;
@@ -45543,18 +45544,18 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45543
45544
  i(() => {
45544
45545
  C((e) => {
45545
45546
  let t = {}, n = !1;
45546
- for (let r of te) {
45547
- let i = r.tiers[0]?.baseModelId ?? "", a = e[r.family], o = a !== void 0 && ne.has(a) && ne.get(a)?.group?.family === r.family ? a : i;
45547
+ for (let r of E) {
45548
+ let i = r.tiers[0]?.baseModelId ?? "", a = e[r.family], o = a !== void 0 && te.has(a) && te.get(a)?.group?.family === r.family ? a : i;
45548
45549
  t[r.family] = o, o !== a && (n = !0);
45549
45550
  }
45550
45551
  return !n && Object.keys(e).length === Object.keys(t).length ? e : t;
45551
45552
  });
45552
- }, [te, ne]);
45553
- let re = Xj(), E = l(async (t, i) => {
45553
+ }, [E, te]);
45554
+ let ne = Xj(), D = l(async (t, i) => {
45554
45555
  if (SN(i)) {
45555
45556
  _(`${t.stepId}/${t.modelId}/${i}`), x(null);
45556
45557
  try {
45557
- await re.run({
45558
+ await ne.run({
45558
45559
  kind: "download",
45559
45560
  title: r("catalog.opTitle", {
45560
45561
  modelId: t.modelId,
@@ -45600,7 +45601,7 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45600
45601
  e,
45601
45602
  n,
45602
45603
  w,
45603
- re,
45604
+ ne,
45604
45605
  r
45605
45606
  ]);
45606
45607
  return d ? /* @__PURE__ */ v("div", {
@@ -45645,7 +45646,7 @@ function TN({ trpc: e, refreshKey: t, nodeId: n }) {
45645
45646
  ...n,
45646
45647
  [e]: t
45647
45648
  })),
45648
- onDownload: (e, t) => void E(e, t)
45649
+ onDownload: (e, t) => void D(e, t)
45649
45650
  })
45650
45651
  ]
45651
45652
  });
@@ -45761,8 +45762,8 @@ function jN(e) {
45761
45762
  } : {
45762
45763
  provider: "frigate",
45763
45764
  group: PM(e.type, e.inputWidth),
45764
- ...he(e.labels),
45765
- defaultClassFloors: ee("stock", e.defaultClassFloors)
45765
+ ...pe(e.labels),
45766
+ defaultClassFloors: O("stock", e.defaultClassFloors)
45766
45767
  }
45767
45768
  };
45768
45769
  return {
@@ -45878,13 +45879,13 @@ var BN = [
45878
45879
  ".pt"
45879
45880
  ], HN = [{ value: "upload" }, { value: "url" }];
45880
45881
  function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsumed: a }) {
45881
- let { t: s } = $(), c = Xj(), [u, d] = g("upload"), [f, p] = g(""), [m, h] = g(""), [_, b] = g("object-detection"), [x, S] = g("onnx"), [C, w] = g(""), [T, ee] = g(""), [te, ne] = g(0), [re, E] = g(320), [ie, D] = g(320), [ae, oe] = g(""), [se, O] = g(null), [ce, le] = g([]), [k, ue] = g({ state: "idle" }), [de, fe] = g(!1), [A, pe] = g(null), [me, he] = g(null), ge = t(null), _e = o(() => IM(ae), [ae]);
45882
+ let { t: s } = $(), c = Xj(), [u, d] = g("upload"), [f, p] = g(""), [m, h] = g(""), [_, b] = g("object-detection"), [x, S] = g("onnx"), [C, w] = g(""), [T, ee] = g(""), [E, te] = g(0), [ne, D] = g(320), [re, O] = g(320), [ie, ae] = g(""), [oe, k] = g(null), [se, ce] = g([]), [le, ue] = g({ state: "idle" }), [de, A] = g(!1), [fe, pe] = g(null), [me, he] = g(null), ge = t(null), _e = o(() => IM(ie), [ie]);
45882
45883
  i(() => {
45883
- r != null && (d("upload"), S(r.format), w(r.postprocessor ?? ""), E(r.inputSize), D(r.inputSize), oe(r.labels.join("\n")), O(r.sourceLabel), pe(null), he(null), a?.());
45884
+ r != null && (d("upload"), S(r.format), w(r.postprocessor ?? ""), D(r.inputSize), O(r.inputSize), ae(r.labels.join("\n")), k(r.sourceLabel), pe(null), he(null), a?.());
45884
45885
  }, [r, a]);
45885
45886
  let ve = l((e, t) => {
45886
45887
  let n = zN(e);
45887
- le(n.hints), n.format !== null && S(n.format), E(n.inputSize), D(n.inputSize), (t?.forceId || !f) && p(n.modelId), m || h(n.name), n.sizeMB !== null && e.kind === "url" && ne(n.sizeMB);
45888
+ ce(n.hints), n.format !== null && S(n.format), D(n.inputSize), O(n.inputSize), (t?.forceId || !f) && p(n.modelId), m || h(n.name), n.sizeMB !== null && e.kind === "url" && te(n.sizeMB);
45888
45889
  }, [f, m]), ye = l(async (t) => {
45889
45890
  pe(null), ve({
45890
45891
  kind: "file",
@@ -45931,18 +45932,18 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
45931
45932
  s
45932
45933
  ]), xe = l(async () => {
45933
45934
  pe(null), he(null);
45934
- let t = u === "upload" ? k.state === "done" ? {
45935
+ let t = u === "upload" ? le.state === "done" ? {
45935
45936
  kind: "upload",
45936
- filename: k.file.filename,
45937
- sizeMB: Number((k.file.bytes / 1e6).toFixed(1))
45937
+ filename: le.file.filename,
45938
+ sizeMB: Number((le.file.bytes / 1e6).toFixed(1))
45938
45939
  } : null : T.trim() ? {
45939
45940
  kind: "url",
45940
45941
  url: T.trim(),
45941
- sizeMB: te
45942
+ sizeMB: E
45942
45943
  } : null;
45943
45944
  if (t === null) return pe(s(u === "upload" ? "register.uploadFirst" : "register.urlRequired"));
45944
45945
  if (DM(m)) return pe(s("register.nameInvalid"));
45945
- fe(!0);
45946
+ A(!0);
45946
45947
  try {
45947
45948
  let r = kN(C), i = jN({
45948
45949
  type: "custom",
@@ -45952,8 +45953,8 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
45952
45953
  source: t,
45953
45954
  format: x,
45954
45955
  ...r === void 0 ? {} : { postprocessor: r },
45955
- inputWidth: re,
45956
- inputHeight: ie,
45956
+ inputWidth: ne,
45957
+ inputHeight: re,
45957
45958
  labels: _e
45958
45959
  });
45959
45960
  await c.run({
@@ -45989,7 +45990,7 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
45989
45990
  } catch (e) {
45990
45991
  pe(e instanceof Error ? e.message : s("register.failed"));
45991
45992
  } finally {
45992
- fe(!1);
45993
+ A(!1);
45993
45994
  }
45994
45995
  }, [
45995
45996
  e,
@@ -46000,11 +46001,11 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46000
46001
  x,
46001
46002
  C,
46002
46003
  T,
46003
- te,
46004
+ E,
46005
+ ne,
46004
46006
  re,
46005
- ie,
46006
46007
  _e,
46007
- k,
46008
+ le,
46008
46009
  n,
46009
46010
  c,
46010
46011
  s
@@ -46013,9 +46014,9 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46013
46014
  className: "max-w-2xl space-y-4",
46014
46015
  "data-testid": "custom-tab",
46015
46016
  children: [
46016
- A && /* @__PURE__ */ v("div", {
46017
+ fe && /* @__PURE__ */ v("div", {
46017
46018
  className: "rounded-md border border-danger/30 bg-danger/10 px-3 py-2 text-xs text-danger",
46018
- children: A
46019
+ children: fe
46019
46020
  }),
46020
46021
  me && /* @__PURE__ */ v("div", {
46021
46022
  className: "rounded-md border border-success/30 bg-success/10 px-3 py-2 text-xs text-success",
@@ -46038,11 +46039,11 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46038
46039
  }, e.value))
46039
46040
  })]
46040
46041
  }),
46041
- se !== null && u === "upload" && /* @__PURE__ */ v("div", {
46042
+ oe !== null && u === "upload" && /* @__PURE__ */ v("div", {
46042
46043
  className: "rounded-md border border-primary/30 bg-primary/10 px-3 py-2 text-[11px] text-foreground-subtle",
46043
46044
  children: /* @__PURE__ */ v(Ij, {
46044
46045
  i18nKey: "register.prefilled",
46045
- values: { source: se },
46046
+ values: { source: oe },
46046
46047
  components: { b: /* @__PURE__ */ v("span", { className: "text-foreground" }) }
46047
46048
  })
46048
46049
  }),
@@ -46054,25 +46055,25 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46054
46055
  children: [
46055
46056
  /* @__PURE__ */ v("button", {
46056
46057
  onClick: () => ge.current?.click(),
46057
- disabled: k.state === "uploading",
46058
+ disabled: le.state === "uploading",
46058
46059
  className: "px-4 py-1.5 text-xs font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50 transition-colors",
46059
- children: k.state === "uploading" ? s("register.uploading", { pct: k.pct }) : s("register.chooseFile")
46060
+ children: le.state === "uploading" ? s("register.uploading", { pct: le.pct }) : s("register.chooseFile")
46060
46061
  }),
46061
- k.state === "done" && /* @__PURE__ */ y("span", {
46062
+ le.state === "done" && /* @__PURE__ */ y("span", {
46062
46063
  className: "text-[11px] text-success font-mono",
46063
46064
  children: [
46064
- k.file.filename,
46065
+ le.file.filename,
46065
46066
  " · ",
46066
- (k.file.bytes / 1e6).toFixed(1),
46067
+ (le.file.bytes / 1e6).toFixed(1),
46067
46068
  " MB ·",
46068
46069
  " ",
46069
- k.file.sha256.slice(0, 12),
46070
+ le.file.sha256.slice(0, 12),
46070
46071
  "…"
46071
46072
  ]
46072
46073
  }),
46073
- k.state === "error" && /* @__PURE__ */ v("span", {
46074
+ le.state === "error" && /* @__PURE__ */ v("span", {
46074
46075
  className: "text-[11px] text-danger",
46075
- children: k.message
46076
+ children: le.message
46076
46077
  })
46077
46078
  ]
46078
46079
  }),
@@ -46086,11 +46087,11 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46086
46087
  t && ye(t), e.target.value = "";
46087
46088
  }
46088
46089
  }),
46089
- k.state === "uploading" && /* @__PURE__ */ v("div", {
46090
+ le.state === "uploading" && /* @__PURE__ */ v("div", {
46090
46091
  className: "h-1.5 w-full rounded-full bg-surface overflow-hidden mt-2",
46091
46092
  children: /* @__PURE__ */ v("div", {
46092
46093
  className: "h-full rounded-full bg-primary transition-all duration-200",
46093
- style: { width: `${Math.max(2, k.pct)}%` }
46094
+ style: { width: `${Math.max(2, le.pct)}%` }
46094
46095
  })
46095
46096
  })
46096
46097
  ]
@@ -46108,8 +46109,8 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46108
46109
  })
46109
46110
  }), /* @__PURE__ */ v(Fj, {
46110
46111
  label: s("register.sizeMb"),
46111
- value: te,
46112
- onChange: ne,
46112
+ value: E,
46113
+ onChange: te,
46113
46114
  min: 0
46114
46115
  })]
46115
46116
  }), /* @__PURE__ */ v("button", {
@@ -46119,9 +46120,9 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46119
46120
  children: s("register.probeUrl")
46120
46121
  })]
46121
46122
  }),
46122
- ce.length > 0 && /* @__PURE__ */ v("ul", {
46123
+ se.length > 0 && /* @__PURE__ */ v("ul", {
46123
46124
  className: "rounded-md border border-border bg-surface px-3 py-2 text-[10px] text-foreground-subtle space-y-0.5 list-disc list-inside",
46124
- children: ce.map((e) => /* @__PURE__ */ v("li", { children: e }, e))
46125
+ children: se.map((e) => /* @__PURE__ */ v("li", { children: e }, e))
46125
46126
  }),
46126
46127
  /* @__PURE__ */ y("div", {
46127
46128
  className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
@@ -46146,14 +46147,14 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46146
46147
  }),
46147
46148
  /* @__PURE__ */ v(Fj, {
46148
46149
  label: s("register.inputWidth"),
46149
- value: re,
46150
- onChange: E,
46150
+ value: ne,
46151
+ onChange: D,
46151
46152
  min: 1
46152
46153
  }),
46153
46154
  /* @__PURE__ */ v(Fj, {
46154
46155
  label: s("register.inputHeight"),
46155
- value: ie,
46156
- onChange: D,
46156
+ value: re,
46157
+ onChange: O,
46157
46158
  min: 1
46158
46159
  })
46159
46160
  ]
@@ -46196,8 +46197,8 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46196
46197
  /* @__PURE__ */ v(Nj, {
46197
46198
  label: s("register.labelmap", { count: _e.length }),
46198
46199
  children: /* @__PURE__ */ v("textarea", {
46199
- value: ae,
46200
- onChange: (e) => oe(e.target.value),
46200
+ value: ie,
46201
+ onChange: (e) => ae(e.target.value),
46201
46202
  rows: 8,
46202
46203
  spellCheck: !1,
46203
46204
  className: "w-full px-3 py-1.5 text-xs font-mono rounded-md border border-border bg-surface text-foreground focus:outline-none focus:border-primary/50"
@@ -46207,7 +46208,7 @@ function UN({ trpc: e, onRegistered: n, initialPrefill: r = null, onPrefillConsu
46207
46208
  className: "flex items-center gap-2",
46208
46209
  children: /* @__PURE__ */ v("button", {
46209
46210
  onClick: () => void xe(),
46210
- disabled: de || u === "upload" && k.state !== "done",
46211
+ disabled: de || u === "upload" && le.state !== "done",
46211
46212
  className: "px-4 py-1.5 text-xs font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50 transition-colors",
46212
46213
  children: s(de ? "register.registering" : "register.registerModel")
46213
46214
  })
@@ -46250,7 +46251,7 @@ function WN({ trpc: e, onRegistered: t, initialPrefill: n = null, onPrefillConsu
46250
46251
  //#endregion
46251
46252
  //#region src/ui/installed-activation.ts
46252
46253
  function GN(e, t, n, r, i) {
46253
- if (r == null || Me(t)) return [];
46254
+ if (r == null || ce(t)) return [];
46254
46255
  let a = [];
46255
46256
  for (let o of e) o.enabled && i.has(o.format) && nb(r.models, o.format) && rb({
46256
46257
  catalog: r,
@@ -46264,7 +46265,7 @@ function GN(e, t, n, r, i) {
46264
46265
  return a;
46265
46266
  }
46266
46267
  function KN(e, t) {
46267
- return { [Oe(e)]: t };
46268
+ return { [ye(e)]: t };
46268
46269
  }
46269
46270
  function qN(e, t, n) {
46270
46271
  let r = Object.keys(t).length > 0;
@@ -46335,7 +46336,7 @@ function nP(e, t, n) {
46335
46336
  function rP(e, t) {
46336
46337
  if (e.onDisk !== "current") return /* @__PURE__ */ new Set();
46337
46338
  let n = t.stepCatalogs[e.stepId], r = new Set([e.format]);
46338
- return Me(e.stepId) ? nP(e.stepId, t.clusterModels, n) === e.modelId ? new Set(t.devices.filter((t) => t.enabled && t.format === e.format).map((e) => e.key)) : /* @__PURE__ */ new Set() : new Set(GN(t.devices, e.stepId, e.modelId, n, r).map((e) => e.deviceKey));
46339
+ return ce(e.stepId) ? nP(e.stepId, t.clusterModels, n) === e.modelId ? new Set(t.devices.filter((t) => t.enabled && t.format === e.format).map((e) => e.key)) : /* @__PURE__ */ new Set() : new Set(GN(t.devices, e.stepId, e.modelId, n, r).map((e) => e.deviceKey));
46339
46340
  }
46340
46341
  function iP(e, t, n) {
46341
46342
  return t ? "outside-pools" : e.some((e) => e.loaded === !0) ? "in-use" : e.some((e) => e.configured) ? "configured" : e.some((e) => e.enabled) ? n ? "idle" : "unknown" : "unused";
@@ -46352,7 +46353,7 @@ function aP(e, t) {
46352
46353
  ...e,
46353
46354
  key: `${e.stepId}::${e.modelId}::${e.format}`,
46354
46355
  renameable: e.origin === "registry",
46355
- clusterScoped: Me(e.stepId),
46356
+ clusterScoped: ce(e.stepId),
46356
46357
  chips: r,
46357
46358
  usage: a,
46358
46359
  removable: a === "idle" || a === "unused"
@@ -46382,7 +46383,7 @@ function sP(e, t) {
46382
46383
  modelId: i,
46383
46384
  name: _A(r.entry),
46384
46385
  description: r.entry.description,
46385
- provider: T({
46386
+ provider: se({
46386
46387
  id: i,
46387
46388
  description: r.entry.description,
46388
46389
  provider: r.entry.provider
@@ -46784,7 +46785,7 @@ function SP({ trpc: e, refreshKey: t, clusterModels: n, onChanged: r, onError: i
46784
46785
  id: "installed-cluster-models",
46785
46786
  className: pt,
46786
46787
  children: a("cluster.title")
46787
- }), ke.map((e) => /* @__PURE__ */ v(xP, {
46788
+ }), Se.map((e) => /* @__PURE__ */ v(xP, {
46788
46789
  step: e,
46789
46790
  current: n?.[e.stepId] ?? e.defaultModelId,
46790
46791
  inputs: s,
@@ -46797,7 +46798,7 @@ function SP({ trpc: e, refreshKey: t, clusterModels: n, onChanged: r, onError: i
46797
46798
  function CP(e, t) {
46798
46799
  if (e.kind === "mask") return t("fillBadges.mask");
46799
46800
  if (e.kind === "crop") return e.stepId === "face-detection" ? t("fillBadges.cropFace") : t("fillBadges.cropPlate");
46800
- let n = ze[e.stepId], r = {
46801
+ let n = Ce[e.stepId], r = {
46801
46802
  stepId: e.stepId,
46802
46803
  uncovered: e.uncovered.join(", ")
46803
46804
  };
@@ -46811,7 +46812,7 @@ function wP({ supplies: e }) {
46811
46812
  children: e.map((e) => /* @__PURE__ */ v("span", {
46812
46813
  className: "inline-flex items-center px-1.5 py-0.5 rounded text-[10px] font-medium border bg-primary/10 text-primary border-primary/30",
46813
46814
  title: CP(e, t),
46814
- children: pe(e)
46815
+ children: te(e)
46815
46816
  }, e.stepId))
46816
46817
  });
46817
46818
  }
@@ -47312,7 +47313,7 @@ function YP(e) {
47312
47313
  return e === null || e.length === 0 ? "hub" : e;
47313
47314
  }
47314
47315
  function XP(e) {
47315
- return Fe.some((t) => t === e);
47316
+ return Te.some((t) => t === e);
47316
47317
  }
47317
47318
  async function ZP(e, t) {
47318
47319
  let [n, r, i, a, o, s] = await Promise.all([
@@ -47338,7 +47339,7 @@ function QP(e, t, n) {
47338
47339
  return [t(r), a];
47339
47340
  }
47340
47341
  function $P({ trpc: e, refreshKey: t }) {
47341
- let { t: n } = $(), [r, a] = dk("provider"), s = GP(r), c = l((e) => a(e === "all" ? null : e), [a]), [u, d] = QP("type", qP, "all"), [f, p] = QP("device", JP, "all"), [m, h] = QP("node", YP, "hub"), _ = go(), [x, S] = g(null), [C, w] = g(null), [T, ee] = g(0), [te, ne] = g(null), re = l(async () => {
47342
+ let { t: n } = $(), [r, a] = dk("provider"), s = GP(r), c = l((e) => a(e === "all" ? null : e), [a]), [u, d] = QP("type", qP, "all"), [f, p] = QP("device", JP, "all"), [m, h] = QP("node", YP, "hub"), _ = go(), [x, S] = g(null), [C, w] = g(null), [T, ee] = g(0), [E, te] = g(null), ne = l(async () => {
47342
47343
  w(null);
47343
47344
  try {
47344
47345
  S(await ZP(e, m));
@@ -47351,11 +47352,11 @@ function $P({ trpc: e, refreshKey: t }) {
47351
47352
  n
47352
47353
  ]);
47353
47354
  i(() => {
47354
- S(null), re();
47355
- }, [re, t]);
47356
- let E = l(async () => {
47357
- await re(), ee((e) => e + 1);
47358
- }, [re]), ie = o(() => x === null ? [] : cP({
47355
+ S(null), ne();
47356
+ }, [ne, t]);
47357
+ let D = l(async () => {
47358
+ await ne(), ee((e) => e + 1);
47359
+ }, [ne]), re = o(() => x === null ? [] : cP({
47359
47360
  nodeId: m,
47360
47361
  seeds: x.seeds,
47361
47362
  stepCatalogs: x.stepCatalogs,
@@ -47364,20 +47365,20 @@ function $P({ trpc: e, refreshKey: t }) {
47364
47365
  clusterModels: x.clusterModels,
47365
47366
  registry: x.models,
47366
47367
  availability: x.availability
47367
- }), [x, m]), D = x?.devices ?? [], ae = o(() => lP(ie, D, {
47368
+ }), [x, m]), O = x?.devices ?? [], ie = o(() => lP(re, O, {
47368
47369
  provider: s,
47369
47370
  step: u,
47370
47371
  device: f
47371
47372
  }), [
47372
- ie,
47373
- D,
47373
+ re,
47374
+ O,
47374
47375
  s,
47375
47376
  u,
47376
47377
  f
47377
- ]), oe = o(() => {
47378
- let e = new Set(ie.map((e) => e.stepId));
47378
+ ]), ae = o(() => {
47379
+ let e = new Set(re.map((e) => e.stepId));
47379
47380
  return u !== "all" && e.add(u), [...e].toSorted((e, t) => e.localeCompare(t));
47380
- }, [ie, u]), se = l(async (t) => {
47381
+ }, [re, u]), oe = l(async (t) => {
47381
47382
  if (!t.removable || !XP(t.format)) return;
47382
47383
  let n = {
47383
47384
  modelId: t.modelId,
@@ -47388,7 +47389,7 @@ function $P({ trpc: e, refreshKey: t }) {
47388
47389
  ...n,
47389
47390
  addonId: t.stepId
47390
47391
  });
47391
- }, [m, e]), O = l(async (e) => {
47392
+ }, [m, e]), k = l(async (e) => {
47392
47393
  !e.removable || !XP(e.format) || await _({
47393
47394
  title: n("installed.deleteFile.title"),
47394
47395
  message: n("installed.deleteFile.message", {
@@ -47401,20 +47402,20 @@ function $P({ trpc: e, refreshKey: t }) {
47401
47402
  confirmLabel: n("installed.deleteFile.confirm"),
47402
47403
  cancelLabel: n("common.cancel"),
47403
47404
  variant: "danger"
47404
- }) && (await se(e), await E());
47405
+ }) && (await oe(e), await D());
47405
47406
  }, [
47406
47407
  _,
47407
- se,
47408
+ oe,
47408
47409
  m,
47409
- E,
47410
+ D,
47410
47411
  n
47411
- ]), ce = o(() => ae.filter((e) => e.removable), [ae]), le = l(async () => {
47412
- if (ce.length === 0) return;
47413
- let e = ce.reduce((e, t) => e + t.sizeMB, 0);
47412
+ ]), se = o(() => ie.filter((e) => e.removable), [ie]), ce = l(async () => {
47413
+ if (se.length === 0) return;
47414
+ let e = se.reduce((e, t) => e + t.sizeMB, 0);
47414
47415
  if (await _({
47415
47416
  title: n("installed.deleteUnused.title"),
47416
47417
  message: n("installed.deleteUnused.message", {
47417
- count: ce.length,
47418
+ count: se.length,
47418
47419
  size: IA(e),
47419
47420
  nodeId: m
47420
47421
  }),
@@ -47422,24 +47423,24 @@ function $P({ trpc: e, refreshKey: t }) {
47422
47423
  cancelLabel: n("common.cancel"),
47423
47424
  variant: "danger"
47424
47425
  })) {
47425
- for (let e of ce) await se(e);
47426
- await E();
47426
+ for (let e of se) await oe(e);
47427
+ await D();
47427
47428
  }
47428
47429
  }, [
47429
47430
  _,
47430
- se,
47431
+ oe,
47431
47432
  m,
47432
- E,
47433
- ce,
47433
+ D,
47434
+ se,
47434
47435
  n
47435
- ]), k = l(async (t, n) => {
47436
+ ]), le = l(async (t, n) => {
47436
47437
  await QA(e, {
47437
47438
  modelId: t.modelId,
47438
47439
  name: n
47439
- }), await E();
47440
- }, [e, E]), ue = l(async (t, r) => {
47440
+ }), await D();
47441
+ }, [e, D]), ue = l(async (t, r) => {
47441
47442
  if (r.configured) {
47442
- ne({
47443
+ te({
47443
47444
  row: t,
47444
47445
  deviceKey: r.deviceKey
47445
47446
  });
@@ -47458,16 +47459,16 @@ function $P({ trpc: e, refreshKey: t }) {
47458
47459
  variant: "default"
47459
47460
  }) && (await wj(e, {
47460
47461
  agentNodeId: m,
47461
- inferenceDevices: JN(D, t.stepId, t.modelId, [r.deviceKey])
47462
- }), await E());
47462
+ inferenceDevices: JN(O, t.stepId, t.modelId, [r.deviceKey])
47463
+ }), await D());
47463
47464
  }, [
47464
47465
  _,
47465
47466
  m,
47466
47467
  e,
47468
+ O,
47467
47469
  D,
47468
- E,
47469
47470
  n
47470
- ]), de = ie.reduce((e, t) => e + t.sizeMB, 0), fe = s !== "all" || u !== "all" || f !== "all";
47471
+ ]), de = re.reduce((e, t) => e + t.sizeMB, 0), A = s !== "all" || u !== "all" || f !== "all";
47471
47472
  return /* @__PURE__ */ y("div", {
47472
47473
  className: tt,
47473
47474
  "data-testid": "installed-tab",
@@ -47480,10 +47481,10 @@ function $P({ trpc: e, refreshKey: t }) {
47480
47481
  provider: s,
47481
47482
  onProvider: c,
47482
47483
  step: u,
47483
- stepOptions: oe,
47484
+ stepOptions: ae,
47484
47485
  onStep: d,
47485
47486
  device: f,
47486
- deviceOptions: ZN(D),
47487
+ deviceOptions: ZN(O),
47487
47488
  onDevice: p,
47488
47489
  nodeId: m,
47489
47490
  onNode: h
@@ -47499,31 +47500,31 @@ function $P({ trpc: e, refreshKey: t }) {
47499
47500
  "data-testid": "installed-summary",
47500
47501
  children: [
47501
47502
  n("installed.summary.files", {
47502
- count: ae.length,
47503
+ count: ie.length,
47503
47504
  nodeId: m
47504
47505
  }),
47505
- fe ? ` ${n("installed.summary.ofTotal", { total: ie.length })}` : "",
47506
+ A ? ` ${n("installed.summary.ofTotal", { total: re.length })}` : "",
47506
47507
  " ·",
47507
47508
  " ",
47508
47509
  n("installed.summary.onDisk", { size: IA(de) }),
47509
47510
  " ·",
47510
47511
  " ",
47511
- n("installed.summary.reclaimable", { size: IA(uP(ie)) }),
47512
+ n("installed.summary.reclaimable", { size: IA(uP(re)) }),
47512
47513
  x?.engines === null ? ` · ${n("installed.summary.loadedUnavailable")}` : ""
47513
47514
  ]
47514
- }), ce.length > 0 && /* @__PURE__ */ v("button", {
47515
+ }), se.length > 0 && /* @__PURE__ */ v("button", {
47515
47516
  type: "button",
47516
47517
  className: "inline-flex items-center justify-center gap-1 rounded border border-danger/40 bg-danger/10 px-1.5 py-0.5 sm:px-2 sm:py-1 text-[10px] sm:text-[11px] font-medium text-danger hover:bg-danger/20 transition-colors disabled:opacity-40",
47517
47518
  "data-testid": "installed-remove-unused-bulk",
47518
- onClick: () => void le(),
47519
- children: n("installed.removeUnused", { count: ce.length })
47519
+ onClick: () => void ce(),
47520
+ children: n("installed.removeUnused", { count: se.length })
47520
47521
  })]
47521
47522
  }),
47522
47523
  /* @__PURE__ */ v(HP, {
47523
- rows: ae,
47524
- emptyMessage: ie.length === 0 ? n("installed.emptyNode", { nodeId: m }) : n("installed.emptyFiltered"),
47525
- onRemove: O,
47526
- onRename: k,
47524
+ rows: ie,
47525
+ emptyMessage: re.length === 0 ? n("installed.emptyNode", { nodeId: m }) : n("installed.emptyFiltered"),
47526
+ onRemove: k,
47527
+ onRename: le,
47527
47528
  onChip: ue,
47528
47529
  onError: w
47529
47530
  }),
@@ -47531,20 +47532,20 @@ function $P({ trpc: e, refreshKey: t }) {
47531
47532
  trpc: e,
47532
47533
  refreshKey: t + T,
47533
47534
  clusterModels: x?.clusterModels ?? null,
47534
- onChanged: () => void E(),
47535
+ onChanged: () => void D(),
47535
47536
  onError: w
47536
47537
  })
47537
47538
  ] }),
47538
- te && /* @__PURE__ */ v(pP, {
47539
+ E && /* @__PURE__ */ v(pP, {
47539
47540
  trpc: e,
47540
47541
  nodeId: m,
47541
- stepId: te.row.stepId,
47542
- modelId: te.row.modelId,
47543
- modelName: te.row.name,
47544
- devices: D,
47545
- deviceKey: te.deviceKey,
47546
- onClose: () => ne(null),
47547
- onDone: () => void E()
47542
+ stepId: E.row.stepId,
47543
+ modelId: E.row.modelId,
47544
+ modelName: E.row.name,
47545
+ devices: O,
47546
+ deviceKey: E.deviceKey,
47547
+ onClose: () => te(null),
47548
+ onDone: () => void D()
47548
47549
  })
47549
47550
  ]
47550
47551
  });