@matter-server/dashboard 0.6.2 → 0.6.3-alpha.0-20260429-7b8104b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/pages/matter-network-view.d.ts +11 -0
- package/dist/esm/pages/matter-network-view.d.ts.map +1 -1
- package/dist/esm/pages/matter-network-view.js +143 -1
- package/dist/esm/pages/matter-network-view.js.map +1 -1
- package/dist/esm/pages/network/base-network-graph.d.ts +4 -0
- package/dist/esm/pages/network/base-network-graph.d.ts.map +1 -1
- package/dist/esm/pages/network/base-network-graph.js +9 -0
- package/dist/esm/pages/network/base-network-graph.js.map +1 -1
- package/dist/esm/pages/network/network-details.d.ts +6 -6
- package/dist/esm/pages/network/network-details.d.ts.map +1 -1
- package/dist/esm/pages/network/network-details.js +74 -76
- package/dist/esm/pages/network/network-details.js.map +1 -1
- package/dist/esm/pages/network/network-types.d.ts +38 -0
- package/dist/esm/pages/network/network-types.d.ts.map +1 -1
- package/dist/esm/pages/network/network-types.js.map +1 -1
- package/dist/esm/pages/network/network-utils.d.ts +45 -16
- package/dist/esm/pages/network/network-utils.d.ts.map +1 -1
- package/dist/esm/pages/network/network-utils.js +115 -80
- package/dist/esm/pages/network/network-utils.js.map +1 -1
- package/dist/esm/pages/network/thread-graph.d.ts +62 -0
- package/dist/esm/pages/network/thread-graph.d.ts.map +1 -1
- package/dist/esm/pages/network/thread-graph.js +339 -31
- package/dist/esm/pages/network/thread-graph.js.map +2 -2
- package/dist/web/js/{attribute-write-dialog-g4B6BoRt.js → attribute-write-dialog-Bq4WRAPd.js} +1 -1
- package/dist/web/js/{command-invoke-dialog-D6G704VK.js → command-invoke-dialog-BIpV8LqS.js} +1 -1
- package/dist/web/js/{commission-node-dialog-Bg3oo5ub.js → commission-node-dialog-Dge7vt1X.js} +4 -4
- package/dist/web/js/{commission-node-existing-DO3g1aQJ.js → commission-node-existing-BbQVV2ag.js} +2 -2
- package/dist/web/js/{commission-node-thread-DM432aH1.js → commission-node-thread-DvHzxYrT.js} +2 -2
- package/dist/web/js/{commission-node-wifi-Bx40FXij.js → commission-node-wifi-sZt9CzyL.js} +2 -2
- package/dist/web/js/{dialog-box-DjyfULWB.js → dialog-box-CQXluAt6.js} +1 -1
- package/dist/web/js/{fire_event-BstgNPuh.js → fire_event-CjgNg3ka.js} +1 -1
- package/dist/web/js/main.js +1 -1
- package/dist/web/js/{matter-dashboard-app-Cj88TtbZ.js → matter-dashboard-app-DH_5WkVB.js} +777 -232
- package/dist/web/js/{node-binding-dialog-9yy2LE3_.js → node-binding-dialog-Dzz35dyd.js} +1 -1
- package/dist/web/js/{settings-dialog-Cs2xMsXb.js → settings-dialog-B-CQ09b1.js} +1 -1
- package/package.json +4 -4
- package/src/pages/matter-network-view.ts +150 -1
- package/src/pages/network/base-network-graph.ts +10 -0
- package/src/pages/network/network-details.ts +78 -93
- package/src/pages/network/network-types.ts +35 -0
- package/src/pages/network/network-utils.ts +207 -144
- package/src/pages/network/thread-graph.ts +470 -42
|
@@ -234,7 +234,7 @@ function c$4({
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// Material Design Icons v7.4.47
|
|
237
|
-
var mdiAccessPoint="M4.93,4.93C3.12,6.74 2,9.24 2,12C2,14.76 3.12,17.26 4.93,19.07L6.34,17.66C4.89,16.22 4,14.22 4,12C4,9.79 4.89,7.78 6.34,6.34L4.93,4.93M19.07,4.93L17.66,6.34C19.11,7.78 20,9.79 20,12C20,14.22 19.11,16.22 17.66,17.66L19.07,19.07C20.88,17.26 22,14.76 22,12C22,9.24 20.88,6.74 19.07,4.93M7.76,7.76C6.67,8.85 6,10.35 6,12C6,13.65 6.67,15.15 7.76,16.24L9.17,14.83C8.45,14.11 8,13.11 8,12C8,10.89 8.45,9.89 9.17,9.17L7.76,7.76M16.24,7.76L14.83,9.17C15.55,9.89 16,10.89 16,12C16,13.11 15.55,14.11 14.83,14.83L16.24,16.24C17.33,15.15 18,13.65 18,12C18,10.35 17.33,8.85 16.24,7.76M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z";var mdiAirConditioner="M6.59,0.66C8.93,-1.15 11.47,1.06 12.04,4.5C12.47,4.5 12.89,4.62 13.27,4.84C13.79,4.24 14.25,3.42 14.07,2.5C13.65,0.35 16.06,-1.39 18.35,1.58C20.16,3.92 17.95,6.46 14.5,7.03C14.5,7.46 14.39,7.89 14.16,8.27C14.76,8.78 15.58,9.24 16.5,9.06C18.63,8.64 20.38,11.04 17.41,13.34C15.07,15.15 12.53,12.94 11.96,9.5C11.53,9.5 11.11,9.37 10.74,9.15C10.22,9.75 9.75,10.58 9.93,11.5C10.35,13.64 7.94,15.39 5.65,12.42C3.83,10.07 6.05,7.53 9.5,6.97C9.5,6.54 9.63,6.12 9.85,5.74C9.25,5.23 8.43,4.76 7.5,4.94C5.37,5.36 3.62,2.96 6.59,0.66M5,16H7A2,2 0 0,1 9,18V24H7V22H5V24H3V18A2,2 0 0,1 5,16M5,18V20H7V18H5M12.93,16H15L12.07,24H10L12.93,16M18,16H21V18H18V22H21V24H18A2,2 0 0,1 16,22V18A2,2 0 0,1 18,16Z";var mdiAirFilter="M19,18.31V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V16.3C4.54,16.12 3.95,16 3,16A1,1 0 0,1 2,15A1,1 0 0,1 3,14C3.82,14 4.47,14.08 5,14.21V12.3C4.54,12.12 3.95,12 3,12A1,1 0 0,1 2,11A1,1 0 0,1 3,10C3.82,10 4.47,10.08 5,10.21V8.3C4.54,8.12 3.95,8 3,8A1,1 0 0,1 2,7A1,1 0 0,1 3,6C3.82,6 4.47,6.08 5,6.21V4A2,2 0 0,1 7,2H17A2,2 0 0,1 19,4V6.16C20.78,6.47 21.54,7.13 21.71,7.29C22.1,7.68 22.1,8.32 21.71,8.71C21.32,9.1 20.8,9.09 20.29,8.71V8.71C20.29,8.71 19.25,8 17,8C15.74,8 14.91,8.41 13.95,8.9C12.91,9.41 11.74,10 10,10C9.64,10 9.31,10 9,9.96V7.95C9.3,8 9.63,8 10,8C11.26,8 12.09,7.59 13.05,7.11C14.09,6.59 15.27,6 17,6V4H7V20H17V18C18.5,18 18.97,18.29 19,18.31M17,10C15.27,10 14.09,10.59 13.05,11.11C12.09,11.59 11.26,12 10,12C9.63,12 9.3,12 9,11.95V13.96C9.31,14 9.64,14 10,14C11.74,14 12.91,13.41 13.95,12.9C14.91,12.42 15.74,12 17,12C19.25,12 20.29,12.71 20.29,12.71V12.71C20.8,13.1 21.32,13.1 21.71,12.71C22.1,12.32 22.1,11.69 21.71,11.29C21.5,11.08 20.25,10 17,10M17,14C15.27,14 14.09,14.59 13.05,15.11C12.09,15.59 11.26,16 10,16C9.63,16 9.3,16 9,15.95V17.96C9.31,18 9.64,18 10,18C11.74,18 12.91,17.41 13.95,16.9C14.91,16.42 15.74,16 17,16C19.25,16 20.29,16.71 20.29,16.71V16.71C20.8,17.1 21.32,17.1 21.71,16.71C22.1,16.32 22.1,15.69 21.71,15.29C21.5,15.08 20.25,14 17,14Z";var mdiAirPurifier="M11,9A4,4 0 0,1 15,13A4,4 0 0,1 11,17A4,4 0 0,1 7,13A4,4 0 0,1 11,9M11,11A2,2 0 0,0 9,13A2,2 0 0,0 11,15A2,2 0 0,0 13,13A2,2 0 0,0 11,11M7,4H14A4,4 0 0,1 18,8V9H16V8A2,2 0 0,0 14,6H7A2,2 0 0,0 5,8V20H16V18H18V22H3V8A4,4 0 0,1 7,4M16,11C18.5,11 18.5,9 21,9V11C18.5,11 18.5,13 16,13V11M16,15C18.5,15 18.5,13 21,13V15C18.5,15 18.5,17 16,17V15Z";var mdiAlertCircleOutline="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z";var mdiArrowLeft="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z";var mdiBell="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21";var mdiBlindsHorizontal="M20 19V3H4V19H2V21H22V19H20M16 9H18V11H16V9M14 11H6V9H14V11M18 7H16V5H18V7M14 5V7H6V5H14M6 19V13H14V14.82C13.55 15.14 13.25 15.66 13.25 16.25C13.25 17.22 14.03 18 15 18S16.75 17.22 16.75 16.25C16.75 15.66 16.45 15.13 16 14.82V13H18V19H6Z";var mdiBrightnessAuto="M14.3,16L13.6,14H10.4L9.7,16H7.8L11,7H13L16.2,16H14.3M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69M10.85,12.65H13.15L12,9L10.85,12.65Z";var mdiBrightnessPercent="M20.04,8.71V4H15.34L12,0.69L8.71,4H4V8.71L0.69,12L4,15.34V20.04H8.71L12,23.35L15.34,20.04H20.04V15.34L23.35,12L20.04,8.71M8.83,7.05C9.81,7.05 10.6,7.84 10.6,8.83A1.77,1.77 0 0,1 8.83,10.6C7.84,10.6 7.05,9.81 7.05,8.83C7.05,7.84 7.84,7.05 8.83,7.05M15.22,17C14.24,17 13.45,16.2 13.45,15.22A1.77,1.77 0 0,1 15.22,13.45C16.2,13.45 17,14.24 17,15.22A1.78,1.78 0 0,1 15.22,17M8.5,17.03L7,15.53L15.53,7L17.03,8.5L8.5,17.03Z";var mdiCamera="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z";var mdiCast="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z";var mdiCctv="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z";var mdiChatProcessing="M12,3C17.5,3 22,6.58 22,11C22,15.42 17.5,19 12,19C10.76,19 9.57,18.82 8.47,18.5C5.55,21 2,21 2,21C4.33,18.67 4.7,17.1 4.75,16.5C3.05,15.07 2,13.13 2,11C2,6.58 6.5,3 12,3M17,12V10H15V12H17M13,12V10H11V12H13M9,12V10H7V12H9Z";var mdiChevronDown="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z";var mdiChevronRight="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";var mdiChip="M6,4H18V5H21V7H18V9H21V11H18V13H21V15H18V17H21V19H18V20H6V19H3V17H6V15H3V13H6V11H3V9H6V7H3V5H6V4M11,15V18H12V15H11M13,15V18H14V15H13M15,15V18H16V15H15Z";var mdiClose="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";var mdiCog="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z";var mdiDishwasher="M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M10,4A1,1 0 0,1 11,5A1,1 0 0,1 10,6A1,1 0 0,1 9,5A1,1 0 0,1 10,4M7,4A1,1 0 0,1 8,5A1,1 0 0,1 7,6A1,1 0 0,1 6,5A1,1 0 0,1 7,4M18,20H6V8H18V20M14.67,15.33C14.69,16.03 14.41,16.71 13.91,17.21C12.86,18.26 11.15,18.27 10.09,17.21C9.59,16.71 9.31,16.03 9.33,15.33C9.4,14.62 9.63,13.94 10,13.33C10.37,12.5 10.81,11.73 11.33,11L12,10C13.79,12.59 14.67,14.36 14.67,15.33";var mdiDoorOpen="M12,3C10.89,3 10,3.89 10,5H3V19H2V21H22V19H21V5C21,3.89 20.11,3 19,3H12M12,5H19V19H12V5M5,11H7V13H5V11Z";var mdiDoorbell="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M16 2H8C6.9 2 6 2.9 6 4V20C6 21.1 6.9 22 8 22H16C17.1 22 18 21.1 18 20V4C18 2.9 17.1 2 16 2M16 20H8V4H16V20Z";var mdiDoorbellVideo="M14 15C14 16.11 13.11 17 12 17S10 16.11 10 15 10.9 13 12 13 14 13.9 14 15M18 4V20C18 21.1 17.11 22 16 22H8C6.9 22 6 21.11 6 20V4C6 2.9 6.9 2 8 2H16C17.11 2 18 2.9 18 4M10.5 7C10.5 7.83 11.17 8.5 12 8.5S13.5 7.83 13.5 7 12.83 5.5 12 5.5 10.5 6.17 10.5 7M16 10H8V20H16V10Z";var mdiEthernet="M7,15H9V18H11V15H13V18H15V15H17V18H19V9H15V6H9V9H5V18H7V15M4.38,3H19.63C20.94,3 22,4.06 22,5.38V19.63A2.37,2.37 0 0,1 19.63,22H4.38C3.06,22 2,20.94 2,19.63V5.38C2,4.06 3.06,3 4.38,3Z";var mdiEvStation="M19.77,7.23L19.78,7.22L16.06,3.5L15,4.56L17.11,6.67C16.17,7.03 15.5,7.93 15.5,9A2.5,2.5 0 0,0 18,11.5C18.36,11.5 18.69,11.42 19,11.29V18.5A1,1 0 0,1 18,19.5A1,1 0 0,1 17,18.5V14A2,2 0 0,0 15,12H14V5A2,2 0 0,0 12,3H6A2,2 0 0,0 4,5V21H14V13.5H15.5V18.5A2.5,2.5 0 0,0 18,21A2.5,2.5 0 0,0 20.5,18.5V9C20.5,8.31 20.22,7.68 19.77,7.23M18,10A1,1 0 0,1 17,9A1,1 0 0,1 18,8A1,1 0 0,1 19,9A1,1 0 0,1 18,10M8,18V13.5H6L10,6V11H12L8,18Z";var mdiFan="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12.5,2C17,2 17.11,5.57 14.75,6.75C13.76,7.24 13.32,8.29 13.13,9.22C13.61,9.42 14.03,9.73 14.35,10.13C18.05,8.13 22.03,8.92 22.03,12.5C22.03,17 18.46,17.1 17.28,14.73C16.78,13.74 15.72,13.3 14.79,13.11C14.59,13.59 14.28,14 13.88,14.34C15.87,18.03 15.08,22 11.5,22C7,22 6.91,18.42 9.27,17.24C10.25,16.75 10.69,15.71 10.89,14.79C10.4,14.59 9.97,14.27 9.65,13.87C5.96,15.85 2,15.07 2,11.5C2,7 5.56,6.89 6.74,9.26C7.24,10.25 8.29,10.68 9.22,10.87C9.41,10.39 9.73,9.97 10.14,9.65C8.15,5.96 8.94,2 12.5,2Z";var mdiFile="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z";var mdiFitToScreen="M17 4H20C21.1 4 22 4.9 22 6V8H20V6H17V4M4 8V6H7V4H4C2.9 4 2 4.9 2 6V8H4M20 16V18H17V20H20C21.1 20 22 19.1 22 18V16H20M7 18H4V16H2V18C2 19.1 2.9 20 4 20H7V18M18 8H6V16H18V8Z";var mdiFridge="M7,2H17A2,2 0 0,1 19,4V9H5V4A2,2 0 0,1 7,2M19,19A2,2 0 0,1 17,21V22H15V21H9V22H7V21A2,2 0 0,1 5,19V10H19V19M8,5V7H10V5H8M8,12V15H10V12H8Z";var mdiGauge="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12C20,14.4 19,16.5 17.3,18C15.9,16.7 14,16 12,16C10,16 8.2,16.7 6.7,18C5,16.5 4,14.4 4,12A8,8 0 0,1 12,4M14,5.89C13.62,5.9 13.26,6.15 13.1,6.54L11.81,9.77L11.71,10C11,10.13 10.41,10.6 10.14,11.26C9.73,12.29 10.23,13.45 11.26,13.86C12.29,14.27 13.45,13.77 13.86,12.74C14.12,12.08 14,11.32 13.57,10.76L13.67,10.5L14.96,7.29L14.97,7.26C15.17,6.75 14.92,6.17 14.41,5.96C14.28,5.91 14.15,5.89 14,5.89M10,6A1,1 0 0,0 9,7A1,1 0 0,0 10,8A1,1 0 0,0 11,7A1,1 0 0,0 10,6M7,9A1,1 0 0,0 6,10A1,1 0 0,0 7,11A1,1 0 0,0 8,10A1,1 0 0,0 7,9M17,9A1,1 0 0,0 16,10A1,1 0 0,0 17,11A1,1 0 0,0 18,10A1,1 0 0,0 17,9Z";var mdiGraphOutline="M19.5 17C19.36 17 19.24 17 19.11 17.04L17.5 13.8C17.95 13.35 18.25 12.71 18.25 12C18.25 10.62 17.13 9.5 15.75 9.5C15.61 9.5 15.5 9.5 15.35 9.54L13.74 6.3C14.21 5.84 14.5 5.21 14.5 4.5C14.5 3.12 13.38 2 12 2S9.5 3.12 9.5 4.5C9.5 5.2 9.79 5.84 10.26 6.29L8.65 9.54C8.5 9.5 8.39 9.5 8.25 9.5C6.87 9.5 5.75 10.62 5.75 12C5.75 12.71 6.04 13.34 6.5 13.79L4.89 17.04C4.76 17 4.64 17 4.5 17C3.12 17 2 18.12 2 19.5C2 20.88 3.12 22 4.5 22S7 20.88 7 19.5C7 18.8 6.71 18.16 6.24 17.71L7.86 14.46C8 14.5 8.12 14.5 8.25 14.5C8.38 14.5 8.5 14.5 8.63 14.46L10.26 17.71C9.79 18.16 9.5 18.8 9.5 19.5C9.5 20.88 10.62 22 12 22S14.5 20.88 14.5 19.5C14.5 18.12 13.38 17 12 17C11.87 17 11.74 17 11.61 17.04L10 13.8C10.45 13.35 10.75 12.71 10.75 12C10.75 11.3 10.46 10.67 10 10.21L11.61 6.96C11.74 7 11.87 7 12 7C12.13 7 12.26 7 12.39 6.96L14 10.21C13.54 10.66 13.25 11.3 13.25 12C13.25 13.38 14.37 14.5 15.75 14.5C15.88 14.5 16 14.5 16.13 14.46L17.76 17.71C17.29 18.16 17 18.8 17 19.5C17 20.88 18.12 22 19.5 22S22 20.88 22 19.5C22 18.12 20.88 17 19.5 17M4.5 20.5C3.95 20.5 3.5 20.05 3.5 19.5S3.95 18.5 4.5 18.5 5.5 18.95 5.5 19.5 5.05 20.5 4.5 20.5M13 19.5C13 20.05 12.55 20.5 12 20.5S11 20.05 11 19.5 11.45 18.5 12 18.5 13 18.95 13 19.5M7.25 12C7.25 11.45 7.7 11 8.25 11S9.25 11.45 9.25 12 8.8 13 8.25 13 7.25 12.55 7.25 12M11 4.5C11 3.95 11.45 3.5 12 3.5S13 3.95 13 4.5 12.55 5.5 12 5.5 11 5.05 11 4.5M14.75 12C14.75 11.45 15.2 11 15.75 11S16.75 11.45 16.75 12 16.3 13 15.75 13 14.75 12.55 14.75 12M19.5 20.5C18.95 20.5 18.5 20.05 18.5 19.5S18.95 18.5 19.5 18.5 20.5 18.95 20.5 19.5 20.05 20.5 19.5 20.5Z";var mdiHeatPump="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M12.75 7.08C13.57 7.2 14.32 7.5 14.95 8L12.75 10.19V7.08M11.25 7.08V10.19L9.05 8C9.68 7.5 10.43 7.2 11.25 7.08M8 9.05L10.19 11.25H7.08C7.2 10.43 7.5 9.68 8 9.05M7.08 12.75H10.19L8 14.95C7.5 14.32 7.2 13.57 7.08 12.75M11.25 16.92C10.43 16.8 9.68 16.5 9.05 16L11.25 13.81V16.92M12 13C11.45 13 11 12.55 11 12S11.45 11 12 11 13 11.45 13 12 12.55 13 12 13M12.75 16.92V13.81L14.95 16C14.32 16.5 13.57 16.8 12.75 16.92M16 14.95L13.81 12.75H16.92C16.8 13.57 16.5 14.32 16 14.95M13.81 11.25L16 9.05C16.5 9.69 16.8 10.44 16.92 11.25H13.81Z";var mdiHelp="M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z";var mdiHome="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z";var mdiLeaf="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z";var mdiLightbulb="M12,2A7,7 0 0,0 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H15A1,1 0 0,0 16,17V14.74C17.81,13.47 19,11.38 19,9A7,7 0 0,0 12,2M9,21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9V21Z";var mdiLink="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z";var mdiLoading="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z";var mdiLock="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z";var mdiLogout="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z";var mdiMagnifyMinus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M5,8V10H13V8H5Z";var mdiMagnifyPlus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M8,5V8H5V10H8V13H10V10H13V8H10V5H8Z";var mdiMeterElectric="M12 2C7.04 2 3 6.04 3 11C3 14.91 5.5 18.24 9 19.47V22H11V19.94C11.33 20 11.66 20 12 20S12.67 20 13 19.94V22H15V19.47C18.5 18.23 21 14.9 21 11C21 6.04 16.96 2 12 2M14.25 14L11.25 17L9.75 15.5L11 14.25L9.75 13L12.75 10L14.25 11.5L13 12.75L14.25 14M16 9H8V7H16V9Z";var mdiMicrowave="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H16V17H4V7M19,7A1,1 0 0,1 20,8A1,1 0 0,1 19,9A1,1 0 0,1 18,8A1,1 0 0,1 19,7M13,9V15H15V9H13M19,11A1,1 0 0,1 20,12A1,1 0 0,1 19,13A1,1 0 0,1 18,12A1,1 0 0,1 19,11Z";var mdiMotionSensor="M10,0.2C9,0.2 8.2,1 8.2,2C8.2,3 9,3.8 10,3.8C11,3.8 11.8,3 11.8,2C11.8,1 11,0.2 10,0.2M15.67,1A7.33,7.33 0 0,0 23,8.33V7A6,6 0 0,1 17,1H15.67M18.33,1C18.33,3.58 20.42,5.67 23,5.67V4.33C21.16,4.33 19.67,2.84 19.67,1H18.33M21,1A2,2 0 0,0 23,3V1H21M7.92,4.03C7.75,4.03 7.58,4.06 7.42,4.11L2,5.8V11H3.8V7.33L5.91,6.67L2,22H3.8L6.67,13.89L9,17V22H10.8V15.59L8.31,11.05L9.04,8.18L10.12,10H15V8.2H11.38L9.38,4.87C9.08,4.37 8.54,4.03 7.92,4.03Z";var mdiPause="M14,19H18V5H14M6,19H10V5H6V19Z";var mdiPencil="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z";var mdiPlay="M8,5.14V19.14L19,12.14L8,5.14Z";var mdiPlus="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";var mdiPowerPlug="M16,7V3H14V7H10V3H8V7H8C7,7 6,8 6,9V14.5L9.5,18V21H14.5V18L18,14.5V9C18,8 17,7 16,7Z";var mdiPump="M2 21V15H3.5C3.18 14.06 3 13.05 3 12C3 7.03 7.03 3 12 3H22V9H20.5C20.82 9.94 21 10.95 21 12C21 16.97 16.97 21 12 21H2M5 12C5 13.28 5.34 14.47 5.94 15.5L9.4 13.5C9.15 13.06 9 12.55 9 12C9 11.35 9.21 10.75 9.56 10.26L6.3 7.93C5.5 9.08 5 10.5 5 12M12 19C14.59 19 16.85 17.59 18.06 15.5L14.6 13.5C14.08 14.4 13.11 15 12 15L11.71 15L11.33 18.97L12 19M12 9C13.21 9 14.26 9.72 14.73 10.76L18.37 9.1C17.27 6.68 14.83 5 12 5V9M12 11C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13C12.55 13 13 12.55 13 12C13 11.45 12.55 11 12 11Z";var mdiRefresh="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z";var mdiRemote="M12,0C8.96,0 6.21,1.23 4.22,3.22L5.63,4.63C7.26,3 9.5,2 12,2C14.5,2 16.74,3 18.36,4.64L19.77,3.23C17.79,1.23 15.04,0 12,0M7.05,6.05L8.46,7.46C9.37,6.56 10.62,6 12,6C13.38,6 14.63,6.56 15.54,7.46L16.95,6.05C15.68,4.78 13.93,4 12,4C10.07,4 8.32,4.78 7.05,6.05M12,15A2,2 0 0,1 10,13A2,2 0 0,1 12,11A2,2 0 0,1 14,13A2,2 0 0,1 12,15M15,9H9A1,1 0 0,0 8,10V22A1,1 0 0,0 9,23H15A1,1 0 0,0 16,22V10A1,1 0 0,0 15,9Z";var mdiRobotVacuum="M12,2C14.65,2 17.19,3.06 19.07,4.93L17.65,6.35C16.15,4.85 14.12,4 12,4C9.88,4 7.84,4.84 6.35,6.35L4.93,4.93C6.81,3.06 9.35,2 12,2M3.66,6.5L5.11,7.94C4.39,9.17 4,10.57 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,10.57 19.61,9.17 18.88,7.94L20.34,6.5C21.42,8.12 22,10.04 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,10.04 2.58,8.12 3.66,6.5M12,6A6,6 0 0,1 18,12C18,13.59 17.37,15.12 16.24,16.24L14.83,14.83C14.08,15.58 13.06,16 12,16C10.94,16 9.92,15.58 9.17,14.83L7.76,16.24C6.63,15.12 6,13.59 6,12A6,6 0 0,1 12,6M12,8A1,1 0 0,0 11,9A1,1 0 0,0 12,10A1,1 0 0,0 13,9A1,1 0 0,0 12,8Z";var mdiRouter="M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2M12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20M13 13V16H15L12 19L9 16H11V13M5 13H8V15L11 12L8 9V11H5M11 11V8H9L12 5L15 8H13V11M19 11H16V9L13 12L16 15V13H19";var mdiShareVariant="M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z";var mdiSignalCellular1="M19.5,5.5V18.5H17.5V5.5H19.5M12.5,10.5V18.5H10.5V10.5H12.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular2="M19.5,5.5V18.5H17.5V5.5H19.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular3="M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSmokeDetector="M12,18A6,6 0 0,0 18,12C18,8.68 15.31,6 12,6C8.68,6 6,8.68 6,12A6,6 0 0,0 12,18M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12Z";var mdiSnowflakeAlert="M16.46,9.41L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L16.46,14.61M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44M19,13V7H21V13H19M19,17V15H21V17H19Z";var mdiSolarPower="M11.45,2V5.55L15,3.77L11.45,2M10.45,8L8,10.46L11.75,11.71L10.45,8M2,11.45L3.77,15L5.55,11.45H2M10,2H2V10C2.57,10.17 3.17,10.25 3.77,10.25C7.35,10.26 10.26,7.35 10.27,3.75C10.26,3.16 10.17,2.57 10,2M17,22V16H14L19,7V13H22L17,22Z";var mdiSpeaker="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z";var mdiSprinkler="M11 7H13V9H11V7M5 22H9V10H5V22M14 11H16V9H14V11M17 10H19V8H17V10M17 5V7H19V5H17M14 8H16V6H14V8M17 13H19V11H17V13M5 7H5.33L6 9H8L8.67 7H9V6H5V7Z";var mdiStove="M6,14H8L11,17H9L6,14M4,4H5V3A1,1 0 0,1 6,2H10A1,1 0 0,1 11,3V4H13V3A1,1 0 0,1 14,2H18A1,1 0 0,1 19,3V4H20A2,2 0 0,1 22,6V19A2,2 0 0,1 20,21V22H17V21H7V22H4V21A2,2 0 0,1 2,19V6A2,2 0 0,1 4,4M18,7A1,1 0 0,1 19,8A1,1 0 0,1 18,9A1,1 0 0,1 17,8A1,1 0 0,1 18,7M14,7A1,1 0 0,1 15,8A1,1 0 0,1 14,9A1,1 0 0,1 13,8A1,1 0 0,1 14,7M20,6H4V10H20V6M4,19H20V12H4V19M6,7A1,1 0 0,1 7,8A1,1 0 0,1 6,9A1,1 0 0,1 5,8A1,1 0 0,1 6,7M13,14H15L18,17H16L13,14Z";var mdiTelevision="M21,17H3V5H21M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H8V21H16V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z";var mdiThermometer="M15 13V5A3 3 0 0 0 9 5V13A5 5 0 1 0 15 13M12 4A1 1 0 0 1 13 5V8H11V5A1 1 0 0 1 12 4Z";var mdiToggleSwitch="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z";var mdiTrashCan="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";var mdiTumbleDryer="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8M8.11,10.5H10C9.76,11.88 10,12.67 10.58,13.29C11.68,14.36 12.16,15.71 11.89,17.5H10C10.24,16.12 10,15.33 9.42,14.71C8.32,13.64 7.85,12.29 8.11,10.5M12.11,10.5H14C13.76,11.88 14,12.67 14.58,13.29C15.68,14.36 16.16,15.71 15.89,17.5H14C14.24,16.12 14,15.33 13.42,14.71C12.32,13.64 11.85,12.29 12.11,10.5Z";var mdiUpdate="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z";var mdiWashingMachine="M14.83,11.17C16.39,12.73 16.39,15.27 14.83,16.83C13.27,18.39 10.73,18.39 9.17,16.83L14.83,11.17M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8Z";var mdiWater="M12,20A6,6 0 0,1 6,14C6,10 12,3.25 12,3.25C12,3.25 18,10 18,14A6,6 0 0,1 12,20Z";var mdiWaterBoiler="M8 2C6.89 2 6 2.89 6 4V16C6 17.11 6.89 18 8 18H9V20H6V22H9C10.11 22 11 21.11 11 20V18H13V20C13 21.11 13.89 22 15 22H18V20H15V18H16C17.11 18 18 17.11 18 16V4C18 2.89 17.11 2 16 2H8M12 4.97A2 2 0 0 1 14 6.97A2 2 0 0 1 12 8.97A2 2 0 0 1 10 6.97A2 2 0 0 1 12 4.97M10 14.5H14V16H10V14.5Z";var mdiWaterPercent="M12,3.25C12,3.25 6,10 6,14C6,17.32 8.69,20 12,20A6,6 0 0,0 18,14C18,10 12,3.25 12,3.25M14.47,9.97L15.53,11.03L9.53,17.03L8.47,15.97M9.75,10A1.25,1.25 0 0,1 11,11.25A1.25,1.25 0 0,1 9.75,12.5A1.25,1.25 0 0,1 8.5,11.25A1.25,1.25 0 0,1 9.75,10M14.25,14.5A1.25,1.25 0 0,1 15.5,15.75A1.25,1.25 0 0,1 14.25,17A1.25,1.25 0 0,1 13,15.75A1.25,1.25 0 0,1 14.25,14.5Z";var mdiWeatherNight="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z";var mdiWeatherRainy="M6,14.03A1,1 0 0,1 7,15.03C7,15.58 6.55,16.03 6,16.03C3.24,16.03 1,13.79 1,11.03C1,8.27 3.24,6.03 6,6.03C7,3.68 9.3,2.03 12,2.03C15.43,2.03 18.24,4.69 18.5,8.06L19,8.03A4,4 0 0,1 23,12.03C23,14.23 21.21,16.03 19,16.03H18C17.45,16.03 17,15.58 17,15.03C17,14.47 17.45,14.03 18,14.03H19A2,2 0 0,0 21,12.03A2,2 0 0,0 19,10.03H17V9.03C17,6.27 14.76,4.03 12,4.03C9.5,4.03 7.45,5.84 7.06,8.21C6.73,8.09 6.37,8.03 6,8.03A3,3 0 0,0 3,11.03A3,3 0 0,0 6,14.03M12,14.15C12.18,14.39 12.37,14.66 12.56,14.94C13,15.56 14,17.03 14,18C14,19.11 13.1,20 12,20A2,2 0 0,1 10,18C10,17.03 11,15.56 11.44,14.94C11.63,14.66 11.82,14.4 12,14.15M12,11.03L11.5,11.59C11.5,11.59 10.65,12.55 9.79,13.81C8.93,15.06 8,16.56 8,18A4,4 0 0,0 12,22A4,4 0 0,0 16,18C16,16.56 15.07,15.06 14.21,13.81C13.35,12.55 12.5,11.59 12.5,11.59";var mdiWeatherSunny="M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z";var mdiWifi="M12,21L15.6,16.2C14.6,15.45 13.35,15 12,15C10.65,15 9.4,15.45 8.4,16.2L12,21M12,3C7.95,3 4.21,4.34 1.2,6.6L3,9C5.5,7.12 8.62,6 12,6C15.38,6 18.5,7.12 21,9L22.8,6.6C19.79,4.34 16.05,3 12,3M12,9C9.3,9 6.81,9.89 4.8,11.4L6.6,13.8C8.1,12.67 9.97,12 12,12C14.03,12 15.9,12.67 17.4,13.8L19.2,11.4C17.19,9.89 14.7,9 12,9Z";
|
|
237
|
+
var mdiAccessPoint="M4.93,4.93C3.12,6.74 2,9.24 2,12C2,14.76 3.12,17.26 4.93,19.07L6.34,17.66C4.89,16.22 4,14.22 4,12C4,9.79 4.89,7.78 6.34,6.34L4.93,4.93M19.07,4.93L17.66,6.34C19.11,7.78 20,9.79 20,12C20,14.22 19.11,16.22 17.66,17.66L19.07,19.07C20.88,17.26 22,14.76 22,12C22,9.24 20.88,6.74 19.07,4.93M7.76,7.76C6.67,8.85 6,10.35 6,12C6,13.65 6.67,15.15 7.76,16.24L9.17,14.83C8.45,14.11 8,13.11 8,12C8,10.89 8.45,9.89 9.17,9.17L7.76,7.76M16.24,7.76L14.83,9.17C15.55,9.89 16,10.89 16,12C16,13.11 15.55,14.11 14.83,14.83L16.24,16.24C17.33,15.15 18,13.65 18,12C18,10.35 17.33,8.85 16.24,7.76M12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12A2,2 0 0,0 12,10Z";var mdiAirConditioner="M6.59,0.66C8.93,-1.15 11.47,1.06 12.04,4.5C12.47,4.5 12.89,4.62 13.27,4.84C13.79,4.24 14.25,3.42 14.07,2.5C13.65,0.35 16.06,-1.39 18.35,1.58C20.16,3.92 17.95,6.46 14.5,7.03C14.5,7.46 14.39,7.89 14.16,8.27C14.76,8.78 15.58,9.24 16.5,9.06C18.63,8.64 20.38,11.04 17.41,13.34C15.07,15.15 12.53,12.94 11.96,9.5C11.53,9.5 11.11,9.37 10.74,9.15C10.22,9.75 9.75,10.58 9.93,11.5C10.35,13.64 7.94,15.39 5.65,12.42C3.83,10.07 6.05,7.53 9.5,6.97C9.5,6.54 9.63,6.12 9.85,5.74C9.25,5.23 8.43,4.76 7.5,4.94C5.37,5.36 3.62,2.96 6.59,0.66M5,16H7A2,2 0 0,1 9,18V24H7V22H5V24H3V18A2,2 0 0,1 5,16M5,18V20H7V18H5M12.93,16H15L12.07,24H10L12.93,16M18,16H21V18H18V22H21V24H18A2,2 0 0,1 16,22V18A2,2 0 0,1 18,16Z";var mdiAirFilter="M19,18.31V20A2,2 0 0,1 17,22H7A2,2 0 0,1 5,20V16.3C4.54,16.12 3.95,16 3,16A1,1 0 0,1 2,15A1,1 0 0,1 3,14C3.82,14 4.47,14.08 5,14.21V12.3C4.54,12.12 3.95,12 3,12A1,1 0 0,1 2,11A1,1 0 0,1 3,10C3.82,10 4.47,10.08 5,10.21V8.3C4.54,8.12 3.95,8 3,8A1,1 0 0,1 2,7A1,1 0 0,1 3,6C3.82,6 4.47,6.08 5,6.21V4A2,2 0 0,1 7,2H17A2,2 0 0,1 19,4V6.16C20.78,6.47 21.54,7.13 21.71,7.29C22.1,7.68 22.1,8.32 21.71,8.71C21.32,9.1 20.8,9.09 20.29,8.71V8.71C20.29,8.71 19.25,8 17,8C15.74,8 14.91,8.41 13.95,8.9C12.91,9.41 11.74,10 10,10C9.64,10 9.31,10 9,9.96V7.95C9.3,8 9.63,8 10,8C11.26,8 12.09,7.59 13.05,7.11C14.09,6.59 15.27,6 17,6V4H7V20H17V18C18.5,18 18.97,18.29 19,18.31M17,10C15.27,10 14.09,10.59 13.05,11.11C12.09,11.59 11.26,12 10,12C9.63,12 9.3,12 9,11.95V13.96C9.31,14 9.64,14 10,14C11.74,14 12.91,13.41 13.95,12.9C14.91,12.42 15.74,12 17,12C19.25,12 20.29,12.71 20.29,12.71V12.71C20.8,13.1 21.32,13.1 21.71,12.71C22.1,12.32 22.1,11.69 21.71,11.29C21.5,11.08 20.25,10 17,10M17,14C15.27,14 14.09,14.59 13.05,15.11C12.09,15.59 11.26,16 10,16C9.63,16 9.3,16 9,15.95V17.96C9.31,18 9.64,18 10,18C11.74,18 12.91,17.41 13.95,16.9C14.91,16.42 15.74,16 17,16C19.25,16 20.29,16.71 20.29,16.71V16.71C20.8,17.1 21.32,17.1 21.71,16.71C22.1,16.32 22.1,15.69 21.71,15.29C21.5,15.08 20.25,14 17,14Z";var mdiAirPurifier="M11,9A4,4 0 0,1 15,13A4,4 0 0,1 11,17A4,4 0 0,1 7,13A4,4 0 0,1 11,9M11,11A2,2 0 0,0 9,13A2,2 0 0,0 11,15A2,2 0 0,0 13,13A2,2 0 0,0 11,11M7,4H14A4,4 0 0,1 18,8V9H16V8A2,2 0 0,0 14,6H7A2,2 0 0,0 5,8V20H16V18H18V22H3V8A4,4 0 0,1 7,4M16,11C18.5,11 18.5,9 21,9V11C18.5,11 18.5,13 16,13V11M16,15C18.5,15 18.5,13 21,13V15C18.5,15 18.5,17 16,17V15Z";var mdiAlertCircleOutline="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z";var mdiArrowLeft="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z";var mdiBell="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21";var mdiBlindsHorizontal="M20 19V3H4V19H2V21H22V19H20M16 9H18V11H16V9M14 11H6V9H14V11M18 7H16V5H18V7M14 5V7H6V5H14M6 19V13H14V14.82C13.55 15.14 13.25 15.66 13.25 16.25C13.25 17.22 14.03 18 15 18S16.75 17.22 16.75 16.25C16.75 15.66 16.45 15.13 16 14.82V13H18V19H6Z";var mdiBrightnessAuto="M14.3,16L13.6,14H10.4L9.7,16H7.8L11,7H13L16.2,16H14.3M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69M10.85,12.65H13.15L12,9L10.85,12.65Z";var mdiBrightnessPercent="M20.04,8.71V4H15.34L12,0.69L8.71,4H4V8.71L0.69,12L4,15.34V20.04H8.71L12,23.35L15.34,20.04H20.04V15.34L23.35,12L20.04,8.71M8.83,7.05C9.81,7.05 10.6,7.84 10.6,8.83A1.77,1.77 0 0,1 8.83,10.6C7.84,10.6 7.05,9.81 7.05,8.83C7.05,7.84 7.84,7.05 8.83,7.05M15.22,17C14.24,17 13.45,16.2 13.45,15.22A1.77,1.77 0 0,1 15.22,13.45C16.2,13.45 17,14.24 17,15.22A1.78,1.78 0 0,1 15.22,17M8.5,17.03L7,15.53L15.53,7L17.03,8.5L8.5,17.03Z";var mdiCamera="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z";var mdiCast="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z";var mdiCctv="M6.03 12.03L8.03 15.5L5.5 18.68L2 12.62L6.03 12.03M17 18V15.29C17.88 14.9 18.5 14.03 18.5 13C18.5 12.43 18.3 11.9 17.97 11.5L19.94 10.35C20.95 9.76 21.3 8.47 20.71 7.46L19.33 5.06C18.74 4.05 17.45 3.7 16.44 4.28L8.31 9C7.36 9.53 7.03 10.75 7.58 11.71L9.08 14.31C9.63 15.26 10.86 15.59 11.81 15.04L13.69 13.96C13.94 14.55 14.41 15.03 15 15.29V18C15 19.1 15.9 20 17 20H22V18H17Z";var mdiChatProcessing="M12,3C17.5,3 22,6.58 22,11C22,15.42 17.5,19 12,19C10.76,19 9.57,18.82 8.47,18.5C5.55,21 2,21 2,21C4.33,18.67 4.7,17.1 4.75,16.5C3.05,15.07 2,13.13 2,11C2,6.58 6.5,3 12,3M17,12V10H15V12H17M13,12V10H11V12H13M9,12V10H7V12H9Z";var mdiChevronDown="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z";var mdiChevronRight="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z";var mdiChip="M6,4H18V5H21V7H18V9H21V11H18V13H21V15H18V17H21V19H18V20H6V19H3V17H6V15H3V13H6V11H3V9H6V7H3V5H6V4M11,15V18H12V15H11M13,15V18H14V15H13M15,15V18H16V15H15Z";var mdiClose="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";var mdiCog="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z";var mdiDishwasher="M18,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V4A2,2 0 0,0 18,2M10,4A1,1 0 0,1 11,5A1,1 0 0,1 10,6A1,1 0 0,1 9,5A1,1 0 0,1 10,4M7,4A1,1 0 0,1 8,5A1,1 0 0,1 7,6A1,1 0 0,1 6,5A1,1 0 0,1 7,4M18,20H6V8H18V20M14.67,15.33C14.69,16.03 14.41,16.71 13.91,17.21C12.86,18.26 11.15,18.27 10.09,17.21C9.59,16.71 9.31,16.03 9.33,15.33C9.4,14.62 9.63,13.94 10,13.33C10.37,12.5 10.81,11.73 11.33,11L12,10C13.79,12.59 14.67,14.36 14.67,15.33";var mdiDoorOpen="M12,3C10.89,3 10,3.89 10,5H3V19H2V21H22V19H21V5C21,3.89 20.11,3 19,3H12M12,5H19V19H12V5M5,11H7V13H5V11Z";var mdiDoorbell="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M16 2H8C6.9 2 6 2.9 6 4V20C6 21.1 6.9 22 8 22H16C17.1 22 18 21.1 18 20V4C18 2.9 17.1 2 16 2M16 20H8V4H16V20Z";var mdiDoorbellVideo="M14 15C14 16.11 13.11 17 12 17S10 16.11 10 15 10.9 13 12 13 14 13.9 14 15M18 4V20C18 21.1 17.11 22 16 22H8C6.9 22 6 21.11 6 20V4C6 2.9 6.9 2 8 2H16C17.11 2 18 2.9 18 4M10.5 7C10.5 7.83 11.17 8.5 12 8.5S13.5 7.83 13.5 7 12.83 5.5 12 5.5 10.5 6.17 10.5 7M16 10H8V20H16V10Z";var mdiEthernet="M7,15H9V18H11V15H13V18H15V15H17V18H19V9H15V6H9V9H5V18H7V15M4.38,3H19.63C20.94,3 22,4.06 22,5.38V19.63A2.37,2.37 0 0,1 19.63,22H4.38C3.06,22 2,20.94 2,19.63V5.38C2,4.06 3.06,3 4.38,3Z";var mdiEvStation="M19.77,7.23L19.78,7.22L16.06,3.5L15,4.56L17.11,6.67C16.17,7.03 15.5,7.93 15.5,9A2.5,2.5 0 0,0 18,11.5C18.36,11.5 18.69,11.42 19,11.29V18.5A1,1 0 0,1 18,19.5A1,1 0 0,1 17,18.5V14A2,2 0 0,0 15,12H14V5A2,2 0 0,0 12,3H6A2,2 0 0,0 4,5V21H14V13.5H15.5V18.5A2.5,2.5 0 0,0 18,21A2.5,2.5 0 0,0 20.5,18.5V9C20.5,8.31 20.22,7.68 19.77,7.23M18,10A1,1 0 0,1 17,9A1,1 0 0,1 18,8A1,1 0 0,1 19,9A1,1 0 0,1 18,10M8,18V13.5H6L10,6V11H12L8,18Z";var mdiEyeOff="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z";var mdiFan="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12.5,2C17,2 17.11,5.57 14.75,6.75C13.76,7.24 13.32,8.29 13.13,9.22C13.61,9.42 14.03,9.73 14.35,10.13C18.05,8.13 22.03,8.92 22.03,12.5C22.03,17 18.46,17.1 17.28,14.73C16.78,13.74 15.72,13.3 14.79,13.11C14.59,13.59 14.28,14 13.88,14.34C15.87,18.03 15.08,22 11.5,22C7,22 6.91,18.42 9.27,17.24C10.25,16.75 10.69,15.71 10.89,14.79C10.4,14.59 9.97,14.27 9.65,13.87C5.96,15.85 2,15.07 2,11.5C2,7 5.56,6.89 6.74,9.26C7.24,10.25 8.29,10.68 9.22,10.87C9.41,10.39 9.73,9.97 10.14,9.65C8.15,5.96 8.94,2 12.5,2Z";var mdiFile="M13,9V3.5L18.5,9M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2H6Z";var mdiFitToScreen="M17 4H20C21.1 4 22 4.9 22 6V8H20V6H17V4M4 8V6H7V4H4C2.9 4 2 4.9 2 6V8H4M20 16V18H17V20H20C21.1 20 22 19.1 22 18V16H20M7 18H4V16H2V18C2 19.1 2.9 20 4 20H7V18M18 8H6V16H18V8Z";var mdiFridge="M7,2H17A2,2 0 0,1 19,4V9H5V4A2,2 0 0,1 7,2M19,19A2,2 0 0,1 17,21V22H15V21H9V22H7V21A2,2 0 0,1 5,19V10H19V19M8,5V7H10V5H8M8,12V15H10V12H8Z";var mdiGauge="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,4A8,8 0 0,1 20,12C20,14.4 19,16.5 17.3,18C15.9,16.7 14,16 12,16C10,16 8.2,16.7 6.7,18C5,16.5 4,14.4 4,12A8,8 0 0,1 12,4M14,5.89C13.62,5.9 13.26,6.15 13.1,6.54L11.81,9.77L11.71,10C11,10.13 10.41,10.6 10.14,11.26C9.73,12.29 10.23,13.45 11.26,13.86C12.29,14.27 13.45,13.77 13.86,12.74C14.12,12.08 14,11.32 13.57,10.76L13.67,10.5L14.96,7.29L14.97,7.26C15.17,6.75 14.92,6.17 14.41,5.96C14.28,5.91 14.15,5.89 14,5.89M10,6A1,1 0 0,0 9,7A1,1 0 0,0 10,8A1,1 0 0,0 11,7A1,1 0 0,0 10,6M7,9A1,1 0 0,0 6,10A1,1 0 0,0 7,11A1,1 0 0,0 8,10A1,1 0 0,0 7,9M17,9A1,1 0 0,0 16,10A1,1 0 0,0 17,11A1,1 0 0,0 18,10A1,1 0 0,0 17,9Z";var mdiGraphOutline="M19.5 17C19.36 17 19.24 17 19.11 17.04L17.5 13.8C17.95 13.35 18.25 12.71 18.25 12C18.25 10.62 17.13 9.5 15.75 9.5C15.61 9.5 15.5 9.5 15.35 9.54L13.74 6.3C14.21 5.84 14.5 5.21 14.5 4.5C14.5 3.12 13.38 2 12 2S9.5 3.12 9.5 4.5C9.5 5.2 9.79 5.84 10.26 6.29L8.65 9.54C8.5 9.5 8.39 9.5 8.25 9.5C6.87 9.5 5.75 10.62 5.75 12C5.75 12.71 6.04 13.34 6.5 13.79L4.89 17.04C4.76 17 4.64 17 4.5 17C3.12 17 2 18.12 2 19.5C2 20.88 3.12 22 4.5 22S7 20.88 7 19.5C7 18.8 6.71 18.16 6.24 17.71L7.86 14.46C8 14.5 8.12 14.5 8.25 14.5C8.38 14.5 8.5 14.5 8.63 14.46L10.26 17.71C9.79 18.16 9.5 18.8 9.5 19.5C9.5 20.88 10.62 22 12 22S14.5 20.88 14.5 19.5C14.5 18.12 13.38 17 12 17C11.87 17 11.74 17 11.61 17.04L10 13.8C10.45 13.35 10.75 12.71 10.75 12C10.75 11.3 10.46 10.67 10 10.21L11.61 6.96C11.74 7 11.87 7 12 7C12.13 7 12.26 7 12.39 6.96L14 10.21C13.54 10.66 13.25 11.3 13.25 12C13.25 13.38 14.37 14.5 15.75 14.5C15.88 14.5 16 14.5 16.13 14.46L17.76 17.71C17.29 18.16 17 18.8 17 19.5C17 20.88 18.12 22 19.5 22S22 20.88 22 19.5C22 18.12 20.88 17 19.5 17M4.5 20.5C3.95 20.5 3.5 20.05 3.5 19.5S3.95 18.5 4.5 18.5 5.5 18.95 5.5 19.5 5.05 20.5 4.5 20.5M13 19.5C13 20.05 12.55 20.5 12 20.5S11 20.05 11 19.5 11.45 18.5 12 18.5 13 18.95 13 19.5M7.25 12C7.25 11.45 7.7 11 8.25 11S9.25 11.45 9.25 12 8.8 13 8.25 13 7.25 12.55 7.25 12M11 4.5C11 3.95 11.45 3.5 12 3.5S13 3.95 13 4.5 12.55 5.5 12 5.5 11 5.05 11 4.5M14.75 12C14.75 11.45 15.2 11 15.75 11S16.75 11.45 16.75 12 16.3 13 15.75 13 14.75 12.55 14.75 12M19.5 20.5C18.95 20.5 18.5 20.05 18.5 19.5S18.95 18.5 19.5 18.5 20.5 18.95 20.5 19.5 20.05 20.5 19.5 20.5Z";var mdiHeatPump="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M12.75 7.08C13.57 7.2 14.32 7.5 14.95 8L12.75 10.19V7.08M11.25 7.08V10.19L9.05 8C9.68 7.5 10.43 7.2 11.25 7.08M8 9.05L10.19 11.25H7.08C7.2 10.43 7.5 9.68 8 9.05M7.08 12.75H10.19L8 14.95C7.5 14.32 7.2 13.57 7.08 12.75M11.25 16.92C10.43 16.8 9.68 16.5 9.05 16L11.25 13.81V16.92M12 13C11.45 13 11 12.55 11 12S11.45 11 12 11 13 11.45 13 12 12.55 13 12 13M12.75 16.92V13.81L14.95 16C14.32 16.5 13.57 16.8 12.75 16.92M16 14.95L13.81 12.75H16.92C16.8 13.57 16.5 14.32 16 14.95M13.81 11.25L16 9.05C16.5 9.69 16.8 10.44 16.92 11.25H13.81Z";var mdiHelp="M10,19H13V22H10V19M12,2C17.35,2.22 19.68,7.62 16.5,11.67C15.67,12.67 14.33,13.33 13.67,14.17C13,15 13,16 13,17H10C10,15.33 10,13.92 10.67,12.92C11.33,11.92 12.67,11.33 13.5,10.67C15.92,8.43 15.32,5.26 12,5A3,3 0 0,0 9,8H6A6,6 0 0,1 12,2Z";var mdiHome="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z";var mdiLeaf="M17,8C8,10 5.9,16.17 3.82,21.34L5.71,22L6.66,19.7C7.14,19.87 7.64,20 8,20C19,20 22,3 22,3C21,5 14,5.25 9,6.25C4,7.25 2,11.5 2,13.5C2,15.5 3.75,17.25 3.75,17.25C7,8 17,8 17,8Z";var mdiLightbulb="M12,2A7,7 0 0,0 5,9C5,11.38 6.19,13.47 8,14.74V17A1,1 0 0,0 9,18H15A1,1 0 0,0 16,17V14.74C17.81,13.47 19,11.38 19,9A7,7 0 0,0 12,2M9,21A1,1 0 0,0 10,22H14A1,1 0 0,0 15,21V20H9V21Z";var mdiLink="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z";var mdiLoading="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z";var mdiLock="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z";var mdiLogout="M17 7L15.59 8.41L18.17 11H8V13H18.17L15.59 15.58L17 17L22 12M4 5H12V3H4C2.9 3 2 3.9 2 5V19C2 20.1 2.9 21 4 21H12V19H4V5Z";var mdiMagnifyMinus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M5,8V10H13V8H5Z";var mdiMagnifyPlus="M9,2A7,7 0 0,1 16,9C16,10.57 15.5,12 14.61,13.19L15.41,14H16L22,20L20,22L14,16V15.41L13.19,14.61C12,15.5 10.57,16 9,16A7,7 0 0,1 2,9A7,7 0 0,1 9,2M8,5V8H5V10H8V13H10V10H13V8H10V5H8Z";var mdiMeterElectric="M12 2C7.04 2 3 6.04 3 11C3 14.91 5.5 18.24 9 19.47V22H11V19.94C11.33 20 11.66 20 12 20S12.67 20 13 19.94V22H15V19.47C18.5 18.23 21 14.9 21 11C21 6.04 16.96 2 12 2M14.25 14L11.25 17L9.75 15.5L11 14.25L9.75 13L12.75 10L14.25 11.5L13 12.75L14.25 14M16 9H8V7H16V9Z";var mdiMicrowave="M4,5A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5H4M4,7H16V17H4V7M19,7A1,1 0 0,1 20,8A1,1 0 0,1 19,9A1,1 0 0,1 18,8A1,1 0 0,1 19,7M13,9V15H15V9H13M19,11A1,1 0 0,1 20,12A1,1 0 0,1 19,13A1,1 0 0,1 18,12A1,1 0 0,1 19,11Z";var mdiMotionSensor="M10,0.2C9,0.2 8.2,1 8.2,2C8.2,3 9,3.8 10,3.8C11,3.8 11.8,3 11.8,2C11.8,1 11,0.2 10,0.2M15.67,1A7.33,7.33 0 0,0 23,8.33V7A6,6 0 0,1 17,1H15.67M18.33,1C18.33,3.58 20.42,5.67 23,5.67V4.33C21.16,4.33 19.67,2.84 19.67,1H18.33M21,1A2,2 0 0,0 23,3V1H21M7.92,4.03C7.75,4.03 7.58,4.06 7.42,4.11L2,5.8V11H3.8V7.33L5.91,6.67L2,22H3.8L6.67,13.89L9,17V22H10.8V15.59L8.31,11.05L9.04,8.18L10.12,10H15V8.2H11.38L9.38,4.87C9.08,4.37 8.54,4.03 7.92,4.03Z";var mdiPause="M14,19H18V5H14M6,19H10V5H6V19Z";var mdiPencil="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z";var mdiPlay="M8,5.14V19.14L19,12.14L8,5.14Z";var mdiPlus="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";var mdiPowerPlug="M16,7V3H14V7H10V3H8V7H8C7,7 6,8 6,9V14.5L9.5,18V21H14.5V18L18,14.5V9C18,8 17,7 16,7Z";var mdiPump="M2 21V15H3.5C3.18 14.06 3 13.05 3 12C3 7.03 7.03 3 12 3H22V9H20.5C20.82 9.94 21 10.95 21 12C21 16.97 16.97 21 12 21H2M5 12C5 13.28 5.34 14.47 5.94 15.5L9.4 13.5C9.15 13.06 9 12.55 9 12C9 11.35 9.21 10.75 9.56 10.26L6.3 7.93C5.5 9.08 5 10.5 5 12M12 19C14.59 19 16.85 17.59 18.06 15.5L14.6 13.5C14.08 14.4 13.11 15 12 15L11.71 15L11.33 18.97L12 19M12 9C13.21 9 14.26 9.72 14.73 10.76L18.37 9.1C17.27 6.68 14.83 5 12 5V9M12 11C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13C12.55 13 13 12.55 13 12C13 11.45 12.55 11 12 11Z";var mdiRefresh="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z";var mdiRemote="M12,0C8.96,0 6.21,1.23 4.22,3.22L5.63,4.63C7.26,3 9.5,2 12,2C14.5,2 16.74,3 18.36,4.64L19.77,3.23C17.79,1.23 15.04,0 12,0M7.05,6.05L8.46,7.46C9.37,6.56 10.62,6 12,6C13.38,6 14.63,6.56 15.54,7.46L16.95,6.05C15.68,4.78 13.93,4 12,4C10.07,4 8.32,4.78 7.05,6.05M12,15A2,2 0 0,1 10,13A2,2 0 0,1 12,11A2,2 0 0,1 14,13A2,2 0 0,1 12,15M15,9H9A1,1 0 0,0 8,10V22A1,1 0 0,0 9,23H15A1,1 0 0,0 16,22V10A1,1 0 0,0 15,9Z";var mdiRobotVacuum="M12,2C14.65,2 17.19,3.06 19.07,4.93L17.65,6.35C16.15,4.85 14.12,4 12,4C9.88,4 7.84,4.84 6.35,6.35L4.93,4.93C6.81,3.06 9.35,2 12,2M3.66,6.5L5.11,7.94C4.39,9.17 4,10.57 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,10.57 19.61,9.17 18.88,7.94L20.34,6.5C21.42,8.12 22,10.04 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12C2,10.04 2.58,8.12 3.66,6.5M12,6A6,6 0 0,1 18,12C18,13.59 17.37,15.12 16.24,16.24L14.83,14.83C14.08,15.58 13.06,16 12,16C10.94,16 9.92,15.58 9.17,14.83L7.76,16.24C6.63,15.12 6,13.59 6,12A6,6 0 0,1 12,6M12,8A1,1 0 0,0 11,9A1,1 0 0,0 12,10A1,1 0 0,0 13,9A1,1 0 0,0 12,8Z";var mdiRouter="M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2M12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20M13 13V16H15L12 19L9 16H11V13M5 13H8V15L11 12L8 9V11H5M11 11V8H9L12 5L15 8H13V11M19 11H16V9L13 12L16 15V13H19";var mdiShareVariant="M18,16.08C17.24,16.08 16.56,16.38 16.04,16.85L8.91,12.7C8.96,12.47 9,12.24 9,12C9,11.76 8.96,11.53 8.91,11.3L15.96,7.19C16.5,7.69 17.21,8 18,8A3,3 0 0,0 21,5A3,3 0 0,0 18,2A3,3 0 0,0 15,5C15,5.24 15.04,5.47 15.09,5.7L8.04,9.81C7.5,9.31 6.79,9 6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C6.79,15 7.5,14.69 8.04,14.19L15.16,18.34C15.11,18.55 15.08,18.77 15.08,19C15.08,20.61 16.39,21.91 18,21.91C19.61,21.91 20.92,20.61 20.92,19A2.92,2.92 0 0,0 18,16.08Z";var mdiSignalCellular1="M19.5,5.5V18.5H17.5V5.5H19.5M12.5,10.5V18.5H10.5V10.5H12.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular2="M19.5,5.5V18.5H17.5V5.5H19.5M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSignalCellular3="M21,4H16V20H21V4M14,9H9V20H14V9M7,14H2V20H7V14Z";var mdiSmokeDetector="M12,18A6,6 0 0,0 18,12C18,8.68 15.31,6 12,6C8.68,6 6,8.68 6,12A6,6 0 0,0 12,18M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5C3.89,21 3,20.1 3,19V5C3,3.89 3.89,3 5,3H19M8,12A4,4 0 0,1 12,8A4,4 0 0,1 16,12A4,4 0 0,1 12,16A4,4 0 0,1 8,12Z";var mdiSnowflakeAlert="M16.46,9.41L13,7.38V5.12L14.71,3.41L13.29,2L12,3.29L10.71,2L9.29,3.41L11,5.12V7.38L8.5,8.82L6.5,7.69L5.92,5.36L4,5.88L4.47,7.65L2.7,8.12L3.22,10.05L5.55,9.43L7.55,10.56V13.45L5.55,14.58L3.22,13.96L2.7,15.89L4.47,16.36L4,18.12L5.93,18.64L6.55,16.31L8.55,15.18L11,16.62V18.88L9.29,20.59L10.71,22L12,20.71L13.29,22L14.7,20.59L13,18.88V16.62L16.46,14.61M9.5,10.56L12,9.11L14.5,10.56V13.44L12,14.89L9.5,13.44M19,13V7H21V13H19M19,17V15H21V17H19Z";var mdiSolarPower="M11.45,2V5.55L15,3.77L11.45,2M10.45,8L8,10.46L11.75,11.71L10.45,8M2,11.45L3.77,15L5.55,11.45H2M10,2H2V10C2.57,10.17 3.17,10.25 3.77,10.25C7.35,10.26 10.26,7.35 10.27,3.75C10.26,3.16 10.17,2.57 10,2M17,22V16H14L19,7V13H22L17,22Z";var mdiSpeaker="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z";var mdiSprinkler="M11 7H13V9H11V7M5 22H9V10H5V22M14 11H16V9H14V11M17 10H19V8H17V10M17 5V7H19V5H17M14 8H16V6H14V8M17 13H19V11H17V13M5 7H5.33L6 9H8L8.67 7H9V6H5V7Z";var mdiStove="M6,14H8L11,17H9L6,14M4,4H5V3A1,1 0 0,1 6,2H10A1,1 0 0,1 11,3V4H13V3A1,1 0 0,1 14,2H18A1,1 0 0,1 19,3V4H20A2,2 0 0,1 22,6V19A2,2 0 0,1 20,21V22H17V21H7V22H4V21A2,2 0 0,1 2,19V6A2,2 0 0,1 4,4M18,7A1,1 0 0,1 19,8A1,1 0 0,1 18,9A1,1 0 0,1 17,8A1,1 0 0,1 18,7M14,7A1,1 0 0,1 15,8A1,1 0 0,1 14,9A1,1 0 0,1 13,8A1,1 0 0,1 14,7M20,6H4V10H20V6M4,19H20V12H4V19M6,7A1,1 0 0,1 7,8A1,1 0 0,1 6,9A1,1 0 0,1 5,8A1,1 0 0,1 6,7M13,14H15L18,17H16L13,14Z";var mdiTelevision="M21,17H3V5H21M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H8V21H16V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z";var mdiThermometer="M15 13V5A3 3 0 0 0 9 5V13A5 5 0 1 0 15 13M12 4A1 1 0 0 1 13 5V8H11V5A1 1 0 0 1 12 4Z";var mdiToggleSwitch="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z";var mdiTrashCan="M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M9,8H11V17H9V8M13,8H15V17H13V8Z";var mdiTumbleDryer="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8M8.11,10.5H10C9.76,11.88 10,12.67 10.58,13.29C11.68,14.36 12.16,15.71 11.89,17.5H10C10.24,16.12 10,15.33 9.42,14.71C8.32,13.64 7.85,12.29 8.11,10.5M12.11,10.5H14C13.76,11.88 14,12.67 14.58,13.29C15.68,14.36 16.16,15.71 15.89,17.5H14C14.24,16.12 14,15.33 13.42,14.71C12.32,13.64 11.85,12.29 12.11,10.5Z";var mdiUpdate="M21,10.12H14.22L16.96,7.3C14.23,4.6 9.81,4.5 7.08,7.2C4.35,9.91 4.35,14.28 7.08,17C9.81,19.7 14.23,19.7 16.96,17C18.32,15.65 19,14.08 19,12.1H21C21,14.08 20.12,16.65 18.36,18.39C14.85,21.87 9.15,21.87 5.64,18.39C2.14,14.92 2.11,9.28 5.62,5.81C9.13,2.34 14.76,2.34 18.27,5.81L21,3V10.12M12.5,8V12.25L16,14.33L15.28,15.54L11,13V8H12.5Z";var mdiWashingMachine="M14.83,11.17C16.39,12.73 16.39,15.27 14.83,16.83C13.27,18.39 10.73,18.39 9.17,16.83L14.83,11.17M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M7,4A1,1 0 0,0 6,5A1,1 0 0,0 7,6A1,1 0 0,0 8,5A1,1 0 0,0 7,4M10,4A1,1 0 0,0 9,5A1,1 0 0,0 10,6A1,1 0 0,0 11,5A1,1 0 0,0 10,4M12,8A6,6 0 0,0 6,14A6,6 0 0,0 12,20A6,6 0 0,0 18,14A6,6 0 0,0 12,8Z";var mdiWater="M12,20A6,6 0 0,1 6,14C6,10 12,3.25 12,3.25C12,3.25 18,10 18,14A6,6 0 0,1 12,20Z";var mdiWaterBoiler="M8 2C6.89 2 6 2.89 6 4V16C6 17.11 6.89 18 8 18H9V20H6V22H9C10.11 22 11 21.11 11 20V18H13V20C13 21.11 13.89 22 15 22H18V20H15V18H16C17.11 18 18 17.11 18 16V4C18 2.89 17.11 2 16 2H8M12 4.97A2 2 0 0 1 14 6.97A2 2 0 0 1 12 8.97A2 2 0 0 1 10 6.97A2 2 0 0 1 12 4.97M10 14.5H14V16H10V14.5Z";var mdiWaterPercent="M12,3.25C12,3.25 6,10 6,14C6,17.32 8.69,20 12,20A6,6 0 0,0 18,14C18,10 12,3.25 12,3.25M14.47,9.97L15.53,11.03L9.53,17.03L8.47,15.97M9.75,10A1.25,1.25 0 0,1 11,11.25A1.25,1.25 0 0,1 9.75,12.5A1.25,1.25 0 0,1 8.5,11.25A1.25,1.25 0 0,1 9.75,10M14.25,14.5A1.25,1.25 0 0,1 15.5,15.75A1.25,1.25 0 0,1 14.25,17A1.25,1.25 0 0,1 13,15.75A1.25,1.25 0 0,1 14.25,14.5Z";var mdiWeatherNight="M17.75,4.09L15.22,6.03L16.13,9.09L13.5,7.28L10.87,9.09L11.78,6.03L9.25,4.09L12.44,4L13.5,1L14.56,4L17.75,4.09M21.25,11L19.61,12.25L20.2,14.23L18.5,13.06L16.8,14.23L17.39,12.25L15.75,11L17.81,10.95L18.5,9L19.19,10.95L21.25,11M18.97,15.95C19.8,15.87 20.69,17.05 20.16,17.8C19.84,18.25 19.5,18.67 19.08,19.07C15.17,23 8.84,23 4.94,19.07C1.03,15.17 1.03,8.83 4.94,4.93C5.34,4.53 5.76,4.17 6.21,3.85C6.96,3.32 8.14,4.21 8.06,5.04C7.79,7.9 8.75,10.87 10.95,13.06C13.14,15.26 16.1,16.22 18.97,15.95M17.33,17.97C14.5,17.81 11.7,16.64 9.53,14.5C7.36,12.31 6.2,9.5 6.04,6.68C3.23,9.82 3.34,14.64 6.35,17.66C9.37,20.67 14.19,20.78 17.33,17.97Z";var mdiWeatherRainy="M6,14.03A1,1 0 0,1 7,15.03C7,15.58 6.55,16.03 6,16.03C3.24,16.03 1,13.79 1,11.03C1,8.27 3.24,6.03 6,6.03C7,3.68 9.3,2.03 12,2.03C15.43,2.03 18.24,4.69 18.5,8.06L19,8.03A4,4 0 0,1 23,12.03C23,14.23 21.21,16.03 19,16.03H18C17.45,16.03 17,15.58 17,15.03C17,14.47 17.45,14.03 18,14.03H19A2,2 0 0,0 21,12.03A2,2 0 0,0 19,10.03H17V9.03C17,6.27 14.76,4.03 12,4.03C9.5,4.03 7.45,5.84 7.06,8.21C6.73,8.09 6.37,8.03 6,8.03A3,3 0 0,0 3,11.03A3,3 0 0,0 6,14.03M12,14.15C12.18,14.39 12.37,14.66 12.56,14.94C13,15.56 14,17.03 14,18C14,19.11 13.1,20 12,20A2,2 0 0,1 10,18C10,17.03 11,15.56 11.44,14.94C11.63,14.66 11.82,14.4 12,14.15M12,11.03L11.5,11.59C11.5,11.59 10.65,12.55 9.79,13.81C8.93,15.06 8,16.56 8,18A4,4 0 0,0 12,22A4,4 0 0,0 16,18C16,16.56 15.07,15.06 14.21,13.81C13.35,12.55 12.5,11.59 12.5,11.59";var mdiWeatherSunny="M12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,2L14.39,5.42C13.65,5.15 12.84,5 12,5C11.16,5 10.35,5.15 9.61,5.42L12,2M3.34,7L7.5,6.65C6.9,7.16 6.36,7.78 5.94,8.5C5.5,9.24 5.25,10 5.11,10.79L3.34,7M3.36,17L5.12,13.23C5.26,14 5.53,14.78 5.95,15.5C6.37,16.24 6.91,16.86 7.5,17.37L3.36,17M20.65,7L18.88,10.79C18.74,10 18.47,9.23 18.05,8.5C17.63,7.78 17.1,7.15 16.5,6.64L20.65,7M20.64,17L16.5,17.36C17.09,16.85 17.62,16.22 18.04,15.5C18.46,14.77 18.73,14 18.87,13.21L20.64,17M12,22L9.59,18.56C10.33,18.83 11.14,19 12,19C12.82,19 13.63,18.83 14.37,18.56L12,22Z";var mdiWifi="M12,21L15.6,16.2C14.6,15.45 13.35,15 12,15C10.65,15 9.4,15.45 8.4,16.2L12,21M12,3C7.95,3 4.21,4.34 1.2,6.6L3,9C5.5,7.12 8.62,6 12,6C15.38,6 18.5,7.12 21,9L22.8,6.6C19.79,4.34 16.05,3 12,3M12,9C9.3,9 6.81,9.89 4.8,11.4L6.6,13.8C8.1,12.67 9.97,12 12,12C14.03,12 15.9,12.67 17.4,13.8L19.2,11.4C17.19,9.89 14.7,9 12,9Z";
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
240
|
* @license
|
|
@@ -1080,12 +1080,12 @@ function o$3(o) {
|
|
|
1080
1080
|
*/
|
|
1081
1081
|
const clientContext = n$6("client");
|
|
1082
1082
|
|
|
1083
|
-
var __defProp$
|
|
1083
|
+
var __defProp$g = Object.defineProperty;
|
|
1084
1084
|
var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
|
|
1085
1085
|
var __decorateClass$k = (decorators, target, key, kind) => {
|
|
1086
1086
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
|
|
1087
1087
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1088
|
-
if (kind && result) __defProp$
|
|
1088
|
+
if (kind && result) __defProp$g(target, key, result);
|
|
1089
1089
|
return result;
|
|
1090
1090
|
};
|
|
1091
1091
|
let HaSvgIcon = class extends i$4 {
|
|
@@ -4025,7 +4025,7 @@ MdListItem = __decorate([t$1('md-list-item')], MdListItem);
|
|
|
4025
4025
|
*/
|
|
4026
4026
|
const showSettingsDialog = async client => {
|
|
4027
4027
|
var _document$querySelect;
|
|
4028
|
-
await import('./settings-dialog-
|
|
4028
|
+
await import('./settings-dialog-B-CQ09b1.js');
|
|
4029
4029
|
const dialog = document.createElement("settings-dialog");
|
|
4030
4030
|
dialog.client = client;
|
|
4031
4031
|
(_document$querySelect = document.querySelector("matter-dashboard-app")) === null || _document$querySelect === void 0 || _document$querySelect.renderRoot.appendChild(dialog);
|
|
@@ -4114,12 +4114,12 @@ const notFoundStyles = i$7`
|
|
|
4114
4114
|
}
|
|
4115
4115
|
`;
|
|
4116
4116
|
|
|
4117
|
-
var __defProp$
|
|
4117
|
+
var __defProp$f = Object.defineProperty;
|
|
4118
4118
|
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
|
|
4119
4119
|
var __decorateClass$j = (decorators, target, key, kind) => {
|
|
4120
4120
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
|
|
4121
4121
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4122
|
-
if (kind && result) __defProp$
|
|
4122
|
+
if (kind && result) __defProp$f(target, key, result);
|
|
4123
4123
|
return result;
|
|
4124
4124
|
};
|
|
4125
4125
|
let DashboardHeader = class extends i$4 {
|
|
@@ -19697,7 +19697,7 @@ const clusters = {
|
|
|
19697
19697
|
* SPDX-License-Identifier: Apache-2.0
|
|
19698
19698
|
*/
|
|
19699
19699
|
const showDialogBox = async (type, dialogParams) => {
|
|
19700
|
-
await import('./dialog-box-
|
|
19700
|
+
await import('./dialog-box-CQXluAt6.js');
|
|
19701
19701
|
return new Promise(resolve => {
|
|
19702
19702
|
const dialog = document.createElement("dialog-box");
|
|
19703
19703
|
dialog.params = dialogParams;
|
|
@@ -19716,7 +19716,7 @@ const showPromptDialog = dialogParams => showDialogBox("prompt", dialogParams);
|
|
|
19716
19716
|
*/
|
|
19717
19717
|
const showAttributeWriteDialog = async options => {
|
|
19718
19718
|
var _document$querySelect;
|
|
19719
|
-
await import('./attribute-write-dialog-
|
|
19719
|
+
await import('./attribute-write-dialog-Bq4WRAPd.js');
|
|
19720
19720
|
const dialog = document.createElement("attribute-write-dialog");
|
|
19721
19721
|
dialog.client = options.client;
|
|
19722
19722
|
dialog.nodeId = options.nodeId;
|
|
@@ -19735,7 +19735,7 @@ const showAttributeWriteDialog = async options => {
|
|
|
19735
19735
|
*/
|
|
19736
19736
|
const showCommandInvokeDialog = async options => {
|
|
19737
19737
|
var _document$querySelect;
|
|
19738
|
-
await import('./command-invoke-dialog-
|
|
19738
|
+
await import('./command-invoke-dialog-BIpV8LqS.js');
|
|
19739
19739
|
const dialog = document.createElement("command-invoke-dialog");
|
|
19740
19740
|
dialog.client = options.client;
|
|
19741
19741
|
dialog.nodeId = options.nodeId;
|
|
@@ -19908,7 +19908,7 @@ MdTextButton = __decorate([t$1('md-text-button')], MdTextButton);
|
|
|
19908
19908
|
*/
|
|
19909
19909
|
const showNodeBindingDialog = async (client, node, endpoint) => {
|
|
19910
19910
|
var _document$querySelect;
|
|
19911
|
-
await import('./node-binding-dialog-
|
|
19911
|
+
await import('./node-binding-dialog-Dzz35dyd.js');
|
|
19912
19912
|
const dialog = document.createElement("node-binding-dialog");
|
|
19913
19913
|
dialog.client = client;
|
|
19914
19914
|
dialog.node = node;
|
|
@@ -20295,12 +20295,12 @@ function formatNodeAddressFromAny(fabricIndex, nodeId) {
|
|
|
20295
20295
|
return formatNodeAddress(fabricIndex, numericId);
|
|
20296
20296
|
}
|
|
20297
20297
|
|
|
20298
|
-
var __defProp$
|
|
20298
|
+
var __defProp$e = Object.defineProperty;
|
|
20299
20299
|
var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
|
|
20300
20300
|
var __decorateClass$i = (decorators, target, key, kind) => {
|
|
20301
20301
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
|
|
20302
20302
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
20303
|
-
if (kind && result) __defProp$
|
|
20303
|
+
if (kind && result) __defProp$e(target, key, result);
|
|
20304
20304
|
return result;
|
|
20305
20305
|
};
|
|
20306
20306
|
function getUniqueClusters(node, endpoint) {
|
|
@@ -20430,12 +20430,12 @@ MatterEndpointView = __decorateClass$i([t$1("matter-endpoint-view")], MatterEndp
|
|
|
20430
20430
|
*/
|
|
20431
20431
|
const bindingContext = n$6("binding");
|
|
20432
20432
|
|
|
20433
|
-
var __defProp$
|
|
20433
|
+
var __defProp$d = Object.defineProperty;
|
|
20434
20434
|
var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
|
|
20435
20435
|
var __decorateClass$h = (decorators, target, key, kind) => {
|
|
20436
20436
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
|
|
20437
20437
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
20438
|
-
if (kind && result) __defProp$
|
|
20438
|
+
if (kind && result) __defProp$d(target, key, result);
|
|
20439
20439
|
return result;
|
|
20440
20440
|
};
|
|
20441
20441
|
const UPDATE_STATE_LABELS = {
|
|
@@ -20714,11 +20714,11 @@ function getClusterCommandsTag(clusterId) {
|
|
|
20714
20714
|
}
|
|
20715
20715
|
|
|
20716
20716
|
var _staticBlock$1;
|
|
20717
|
-
var __defProp$
|
|
20717
|
+
var __defProp$c = Object.defineProperty;
|
|
20718
20718
|
var __decorateClass$g = (decorators, target, key, kind) => {
|
|
20719
20719
|
var result = void 0 ;
|
|
20720
20720
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (decorator(target, key, result) ) || result;
|
|
20721
|
-
if (result) __defProp$
|
|
20721
|
+
if (result) __defProp$c(target, key, result);
|
|
20722
20722
|
return result;
|
|
20723
20723
|
};
|
|
20724
20724
|
class BaseClusterCommands extends i$4 {
|
|
@@ -22953,12 +22953,12 @@ let MdOutlinedTextField = class MdOutlinedTextField extends OutlinedTextField {
|
|
|
22953
22953
|
MdOutlinedTextField.styles = [styles$2, styles$3];
|
|
22954
22954
|
MdOutlinedTextField = __decorate([t$1('md-outlined-text-field')], MdOutlinedTextField);
|
|
22955
22955
|
|
|
22956
|
-
var __defProp$
|
|
22956
|
+
var __defProp$b = Object.defineProperty;
|
|
22957
22957
|
var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
|
|
22958
22958
|
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
22959
22959
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
|
|
22960
22960
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
22961
|
-
if (kind && result) __defProp$
|
|
22961
|
+
if (kind && result) __defProp$b(target, key, result);
|
|
22962
22962
|
return result;
|
|
22963
22963
|
};
|
|
22964
22964
|
const CLUSTER_ID$2 = 40;
|
|
@@ -23085,12 +23085,12 @@ __decorateClass$f([r$2()], BasicInformationClusterCommands.prototype, "_saving",
|
|
|
23085
23085
|
BasicInformationClusterCommands = __decorateClass$f([t$1("basic-information-cluster-commands")], BasicInformationClusterCommands);
|
|
23086
23086
|
registerClusterCommands(CLUSTER_ID$2, "basic-information-cluster-commands");
|
|
23087
23087
|
|
|
23088
|
-
var __defProp$
|
|
23088
|
+
var __defProp$a = Object.defineProperty;
|
|
23089
23089
|
var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
|
|
23090
23090
|
var __decorateClass$e = (decorators, target, key, kind) => {
|
|
23091
23091
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
|
|
23092
23092
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23093
|
-
if (kind && result) __defProp$
|
|
23093
|
+
if (kind && result) __defProp$a(target, key, result);
|
|
23094
23094
|
return result;
|
|
23095
23095
|
};
|
|
23096
23096
|
const CLUSTER_ID$1 = 8;
|
|
@@ -23237,12 +23237,12 @@ let OnOffClusterCommands = class extends BaseClusterCommands {
|
|
|
23237
23237
|
OnOffClusterCommands = __decorateClass$d([t$1("on-off-cluster-commands")], OnOffClusterCommands);
|
|
23238
23238
|
registerClusterCommands(CLUSTER_ID, "on-off-cluster-commands");
|
|
23239
23239
|
|
|
23240
|
-
var __defProp$
|
|
23240
|
+
var __defProp$9 = Object.defineProperty;
|
|
23241
23241
|
var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
|
|
23242
23242
|
var __decorateClass$c = (decorators, target, key, kind) => {
|
|
23243
23243
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
|
|
23244
23244
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23245
|
-
if (kind && result) __defProp$
|
|
23245
|
+
if (kind && result) __defProp$9(target, key, result);
|
|
23246
23246
|
return result;
|
|
23247
23247
|
};
|
|
23248
23248
|
const GLOBAL_ATTRIBUTE_MIN = 65520;
|
|
@@ -24066,6 +24066,20 @@ function findUnknownDevices(nodes, extAddrMap, rloc16Map) {
|
|
|
24066
24066
|
}
|
|
24067
24067
|
return Array.from(unknownMap.values());
|
|
24068
24068
|
}
|
|
24069
|
+
function getSignalLevel(neighbor) {
|
|
24070
|
+
const rssi = neighbor.avgRssi ?? neighbor.lastRssi;
|
|
24071
|
+
if (rssi !== null) {
|
|
24072
|
+
if (rssi > SIGNAL_STRONG_THRESHOLD) return "strong";
|
|
24073
|
+
if (rssi > SIGNAL_MEDIUM_THRESHOLD) return "medium";
|
|
24074
|
+
return "weak";
|
|
24075
|
+
}
|
|
24076
|
+
return getSignalLevelFromLqi(neighbor.lqi);
|
|
24077
|
+
}
|
|
24078
|
+
function getSignalLevelFromLqi(lqi) {
|
|
24079
|
+
if (lqi > LQI_STRONG_THRESHOLD) return "strong";
|
|
24080
|
+
if (lqi > LQI_MEDIUM_THRESHOLD) return "medium";
|
|
24081
|
+
return "weak";
|
|
24082
|
+
}
|
|
24069
24083
|
function getSignalColor(neighbor) {
|
|
24070
24084
|
const rssi = neighbor.avgRssi ?? neighbor.lastRssi;
|
|
24071
24085
|
if (rssi !== null) {
|
|
@@ -24198,9 +24212,16 @@ function getWiFiVersionName(version) {
|
|
|
24198
24212
|
return "Unknown";
|
|
24199
24213
|
}
|
|
24200
24214
|
}
|
|
24201
|
-
function
|
|
24202
|
-
|
|
24203
|
-
|
|
24215
|
+
function makePairKey(a, b) {
|
|
24216
|
+
return a < b ? `${a}|${b}` : `${b}|${a}`;
|
|
24217
|
+
}
|
|
24218
|
+
function getEdgeSignalScore(conn) {
|
|
24219
|
+
const levelScore = conn.signalLevel === "strong" ? 3e3 : conn.signalLevel === "medium" ? 2e3 : conn.signalLevel === "weak" ? 1e3 : 0;
|
|
24220
|
+
const detail = conn.rssi !== null ? conn.rssi + 200 : conn.lqi;
|
|
24221
|
+
return levelScore + detail;
|
|
24222
|
+
}
|
|
24223
|
+
function buildThreadEdgePairs(nodes, extAddrMap, rloc16Map, unknownDevices) {
|
|
24224
|
+
const pairs = /* @__PURE__ */new Map();
|
|
24204
24225
|
const unknownExtAddrMap = /* @__PURE__ */new Map();
|
|
24205
24226
|
for (const unknown of unknownDevices) {
|
|
24206
24227
|
unknownExtAddrMap.set(unknown.extAddress, unknown.id);
|
|
@@ -24216,29 +24237,37 @@ function buildThreadConnections(nodes, extAddrMap, rloc16Map, unknownDevices) {
|
|
|
24216
24237
|
if (toNodeId === void 0) {
|
|
24217
24238
|
toNodeId = unknownExtAddrMap.get(neighbor.extAddress);
|
|
24218
24239
|
}
|
|
24219
|
-
if (toNodeId === void 0)
|
|
24220
|
-
|
|
24221
|
-
|
|
24222
|
-
|
|
24223
|
-
|
|
24224
|
-
|
|
24225
|
-
|
|
24226
|
-
|
|
24227
|
-
|
|
24228
|
-
continue;
|
|
24240
|
+
if (toNodeId === void 0 || fromNodeId === toNodeId) continue;
|
|
24241
|
+
const pairKey = makePairKey(fromNodeId, toNodeId);
|
|
24242
|
+
if (!pairs.has(pairKey)) {
|
|
24243
|
+
const [nodeA, nodeB] = fromNodeId < toNodeId ? [fromNodeId, toNodeId] : [toNodeId, fromNodeId];
|
|
24244
|
+
pairs.set(pairKey, {
|
|
24245
|
+
pairKey,
|
|
24246
|
+
nodeA,
|
|
24247
|
+
nodeB
|
|
24248
|
+
});
|
|
24229
24249
|
}
|
|
24230
|
-
|
|
24250
|
+
const pair = pairs.get(pairKey);
|
|
24251
|
+
const isFromA = fromNodeId === pair.nodeA;
|
|
24252
|
+
if (isFromA && pair.edgeAB) continue;
|
|
24253
|
+
if (!isFromA && pair.edgeBA) continue;
|
|
24231
24254
|
const routeEntry = findRouteByExtAddress(node, neighbor.extAddress);
|
|
24232
24255
|
const bidirectionalLqi = routeEntry ? getRouteBidirectionalLqi(routeEntry) : void 0;
|
|
24233
|
-
|
|
24256
|
+
const edge = {
|
|
24234
24257
|
fromNodeId,
|
|
24235
24258
|
toNodeId,
|
|
24236
24259
|
signalColor: getSignalColor(neighbor),
|
|
24260
|
+
signalLevel: getSignalLevel(neighbor),
|
|
24237
24261
|
lqi: neighbor.lqi,
|
|
24238
24262
|
rssi: neighbor.avgRssi ?? neighbor.lastRssi,
|
|
24239
24263
|
pathCost: routeEntry === null || routeEntry === void 0 ? void 0 : routeEntry.pathCost,
|
|
24240
24264
|
bidirectionalLqi
|
|
24241
|
-
}
|
|
24265
|
+
};
|
|
24266
|
+
if (isFromA) {
|
|
24267
|
+
pair.edgeAB = edge;
|
|
24268
|
+
} else {
|
|
24269
|
+
pair.edgeBA = edge;
|
|
24270
|
+
}
|
|
24242
24271
|
}
|
|
24243
24272
|
const routes = parseRouteTable(node);
|
|
24244
24273
|
for (const route of routes) {
|
|
@@ -24251,95 +24280,117 @@ function buildThreadConnections(nodes, extAddrMap, rloc16Map, unknownDevices) {
|
|
|
24251
24280
|
toNodeId = unknownExtAddrMap.get(route.extAddress);
|
|
24252
24281
|
}
|
|
24253
24282
|
if (toNodeId === void 0 || toNodeId === fromNodeId) continue;
|
|
24254
|
-
const
|
|
24255
|
-
|
|
24256
|
-
|
|
24257
|
-
|
|
24283
|
+
const pairKey = makePairKey(fromNodeId, toNodeId);
|
|
24284
|
+
if (!pairs.has(pairKey)) {
|
|
24285
|
+
const [nodeA, nodeB] = fromNodeId < toNodeId ? [fromNodeId, toNodeId] : [toNodeId, fromNodeId];
|
|
24286
|
+
pairs.set(pairKey, {
|
|
24287
|
+
pairKey,
|
|
24288
|
+
nodeA,
|
|
24289
|
+
nodeB
|
|
24290
|
+
});
|
|
24258
24291
|
}
|
|
24259
|
-
|
|
24292
|
+
const pair = pairs.get(pairKey);
|
|
24293
|
+
const isFromA = fromNodeId === pair.nodeA;
|
|
24294
|
+
if (isFromA && pair.edgeAB) continue;
|
|
24295
|
+
if (!isFromA && pair.edgeBA) continue;
|
|
24260
24296
|
const bidirectionalLqi = getRouteBidirectionalLqi(route);
|
|
24261
24297
|
const signalColor = bidirectionalLqi !== void 0 ? getSignalColorFromLqi(bidirectionalLqi) : "var(--md-sys-color-outline, grey)";
|
|
24262
|
-
|
|
24298
|
+
const edge = {
|
|
24263
24299
|
fromNodeId,
|
|
24264
24300
|
toNodeId,
|
|
24265
24301
|
signalColor,
|
|
24302
|
+
signalLevel: bidirectionalLqi !== void 0 ? getSignalLevelFromLqi(bidirectionalLqi) : void 0,
|
|
24266
24303
|
lqi: bidirectionalLqi ?? 0,
|
|
24267
24304
|
rssi: null,
|
|
24268
24305
|
pathCost: route.pathCost,
|
|
24269
24306
|
bidirectionalLqi,
|
|
24270
24307
|
fromRouteTable: true
|
|
24271
|
-
}
|
|
24308
|
+
};
|
|
24309
|
+
if (isFromA) {
|
|
24310
|
+
pair.edgeAB = edge;
|
|
24311
|
+
} else {
|
|
24312
|
+
pair.edgeBA = edge;
|
|
24313
|
+
}
|
|
24272
24314
|
}
|
|
24273
24315
|
}
|
|
24274
|
-
return
|
|
24316
|
+
return pairs;
|
|
24275
24317
|
}
|
|
24276
|
-
function
|
|
24318
|
+
function getNodeConnectionsFromPairs(nodeId, edgePairs, nodes, filters) {
|
|
24277
24319
|
const connections = [];
|
|
24278
|
-
const
|
|
24279
|
-
|
|
24280
|
-
|
|
24281
|
-
|
|
24282
|
-
|
|
24283
|
-
|
|
24284
|
-
|
|
24285
|
-
|
|
24286
|
-
|
|
24287
|
-
|
|
24288
|
-
const
|
|
24289
|
-
|
|
24290
|
-
const
|
|
24291
|
-
|
|
24292
|
-
const
|
|
24293
|
-
const
|
|
24320
|
+
const hiddenNodeIds = /* @__PURE__ */new Set();
|
|
24321
|
+
if (filters !== null && filters !== void 0 && filters.hideOfflineNodes) {
|
|
24322
|
+
for (const node of Object.values(nodes)) {
|
|
24323
|
+
if (node.available === false) {
|
|
24324
|
+
hiddenNodeIds.add(String(node.node_id));
|
|
24325
|
+
}
|
|
24326
|
+
}
|
|
24327
|
+
}
|
|
24328
|
+
for (const pair of edgePairs.values()) {
|
|
24329
|
+
const isA = pair.nodeA === nodeId;
|
|
24330
|
+
const isB = pair.nodeB === nodeId;
|
|
24331
|
+
if (!isA && !isB) continue;
|
|
24332
|
+
const remoteId = isA ? pair.nodeB : pair.nodeA;
|
|
24333
|
+
const outgoing = isA ? pair.edgeAB : pair.edgeBA;
|
|
24334
|
+
const incoming = isA ? pair.edgeBA : pair.edgeAB;
|
|
24335
|
+
const survivors = [];
|
|
24336
|
+
for (const [conn, isOut] of [[outgoing, true], [incoming, false]]) {
|
|
24337
|
+
if (!conn) continue;
|
|
24338
|
+
if (filters) {
|
|
24339
|
+
const fromId = String(conn.fromNodeId);
|
|
24340
|
+
const toId = String(conn.toNodeId);
|
|
24341
|
+
if (hiddenNodeIds.has(fromId) || hiddenNodeIds.has(toId)) continue;
|
|
24342
|
+
if (filters.hideWeakSignalEdges && conn.signalLevel === "weak") continue;
|
|
24343
|
+
if (filters.hideMediumSignalEdges && conn.signalLevel === "medium") continue;
|
|
24344
|
+
if (filters.hideStrongSignalEdges && conn.signalLevel === "strong") continue;
|
|
24345
|
+
}
|
|
24346
|
+
survivors.push({
|
|
24347
|
+
conn,
|
|
24348
|
+
isOutgoing: isOut
|
|
24349
|
+
});
|
|
24350
|
+
}
|
|
24351
|
+
if (survivors.length === 0) continue;
|
|
24352
|
+
let winner;
|
|
24353
|
+
const outgoingSurvivor = survivors.find(s => s.isOutgoing);
|
|
24354
|
+
if (outgoingSurvivor) {
|
|
24355
|
+
winner = outgoingSurvivor;
|
|
24356
|
+
} else {
|
|
24357
|
+
survivors.sort((a, b) => getEdgeSignalScore(a.conn) - getEdgeSignalScore(b.conn));
|
|
24358
|
+
winner = survivors[0];
|
|
24359
|
+
}
|
|
24360
|
+
const remoteNode = nodes[remoteId];
|
|
24361
|
+
const isUnknown = remoteId.startsWith("unknown_");
|
|
24362
|
+
let extAddressHex;
|
|
24363
|
+
if (isUnknown) {
|
|
24364
|
+
extAddressHex = remoteId.slice("unknown_".length);
|
|
24365
|
+
} else if (remoteNode) {
|
|
24366
|
+
extAddressHex = getThreadExtendedAddressHex(remoteNode) ?? "Unknown";
|
|
24367
|
+
} else {
|
|
24368
|
+
extAddressHex = "Unknown";
|
|
24369
|
+
}
|
|
24294
24370
|
connections.push({
|
|
24295
|
-
connectedNodeId:
|
|
24296
|
-
connectedNode,
|
|
24297
|
-
extAddressHex
|
|
24298
|
-
signalColor:
|
|
24299
|
-
|
|
24300
|
-
|
|
24301
|
-
|
|
24371
|
+
connectedNodeId: remoteId,
|
|
24372
|
+
connectedNode: remoteNode,
|
|
24373
|
+
extAddressHex,
|
|
24374
|
+
signalColor: winner.conn.signalColor,
|
|
24375
|
+
signalLevel: winner.conn.signalLevel,
|
|
24376
|
+
lqi: winner.conn.lqi,
|
|
24377
|
+
rssi: winner.conn.rssi,
|
|
24378
|
+
isOutgoing: winner.isOutgoing,
|
|
24379
|
+
isReverseOnly: !outgoing,
|
|
24302
24380
|
isUnknown,
|
|
24303
|
-
pathCost:
|
|
24304
|
-
bidirectionalLqi
|
|
24381
|
+
pathCost: winner.conn.pathCost,
|
|
24382
|
+
bidirectionalLqi: winner.conn.bidirectionalLqi
|
|
24305
24383
|
});
|
|
24306
24384
|
}
|
|
24307
|
-
if (thisExtAddr !== void 0) {
|
|
24308
|
-
for (const otherNode of Object.values(nodes)) {
|
|
24309
|
-
const otherNodeId = String(otherNode.node_id);
|
|
24310
|
-
if (otherNodeId === nodeId) continue;
|
|
24311
|
-
if (seenConnectedIds.has(otherNodeId)) continue;
|
|
24312
|
-
const otherNeighbors = parseNeighborTable(otherNode);
|
|
24313
|
-
const reverseEntry = otherNeighbors.find(n => n.extAddress === thisExtAddr);
|
|
24314
|
-
if (reverseEntry) {
|
|
24315
|
-
const otherExtAddr = getThreadExtendedAddress(otherNode);
|
|
24316
|
-
const extAddrHex = otherExtAddr ? otherExtAddr.toString(16).toUpperCase().padStart(16, "0") : "Unknown";
|
|
24317
|
-
const routeEntry = findRouteByExtAddress(otherNode, thisExtAddr);
|
|
24318
|
-
const bidirectionalLqi = routeEntry ? getRouteBidirectionalLqi(routeEntry) : void 0;
|
|
24319
|
-
connections.push({
|
|
24320
|
-
connectedNodeId: otherNodeId,
|
|
24321
|
-
connectedNode: otherNode,
|
|
24322
|
-
extAddressHex: extAddrHex,
|
|
24323
|
-
signalColor: getSignalColor(reverseEntry),
|
|
24324
|
-
lqi: reverseEntry.lqi,
|
|
24325
|
-
rssi: reverseEntry.avgRssi ?? reverseEntry.lastRssi,
|
|
24326
|
-
isOutgoing: false,
|
|
24327
|
-
isUnknown: false,
|
|
24328
|
-
pathCost: routeEntry === null || routeEntry === void 0 ? void 0 : routeEntry.pathCost,
|
|
24329
|
-
bidirectionalLqi
|
|
24330
|
-
});
|
|
24331
|
-
}
|
|
24332
|
-
}
|
|
24333
|
-
}
|
|
24334
24385
|
return connections;
|
|
24335
24386
|
}
|
|
24336
24387
|
|
|
24337
|
-
var __defProp$
|
|
24388
|
+
var __defProp$8 = Object.defineProperty;
|
|
24338
24389
|
var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
|
|
24339
24390
|
var __decorateClass$a = (decorators, target, key, kind) => {
|
|
24340
24391
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
|
|
24341
24392
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24342
|
-
if (kind && result) __defProp$
|
|
24393
|
+
if (kind && result) __defProp$8(target, key, result);
|
|
24343
24394
|
return result;
|
|
24344
24395
|
};
|
|
24345
24396
|
let DevicePanel = class extends i$4 {
|
|
@@ -25509,12 +25560,12 @@ let MdDialog = class MdDialog extends Dialog {};
|
|
|
25509
25560
|
MdDialog.styles = [styles];
|
|
25510
25561
|
MdDialog = __decorate([t$1('md-dialog')], MdDialog);
|
|
25511
25562
|
|
|
25512
|
-
var __defProp$
|
|
25563
|
+
var __defProp$7 = Object.defineProperty;
|
|
25513
25564
|
var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
|
|
25514
25565
|
var __decorateClass$9 = (decorators, target, key, kind) => {
|
|
25515
25566
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
|
|
25516
25567
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25517
|
-
if (kind && result) __defProp$
|
|
25568
|
+
if (kind && result) __defProp$7(target, key, result);
|
|
25518
25569
|
return result;
|
|
25519
25570
|
};
|
|
25520
25571
|
const THREAD_ATTRIBUTE_PATHS = ["0/53/7", "0/53/8", "0/51/0"];
|
|
@@ -25772,21 +25823,26 @@ __decorateClass$9([r$2()], UpdateConnectionsDialog.prototype, "_includeNeighbors
|
|
|
25772
25823
|
__decorateClass$9([r$2()], UpdateConnectionsDialog.prototype, "_isUpdating", 2);
|
|
25773
25824
|
UpdateConnectionsDialog = __decorateClass$9([t$1("update-connections-dialog")], UpdateConnectionsDialog);
|
|
25774
25825
|
|
|
25775
|
-
var __defProp$
|
|
25826
|
+
var __defProp$6 = Object.defineProperty;
|
|
25776
25827
|
var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
|
|
25777
25828
|
var __decorateClass$8 = (decorators, target, key, kind) => {
|
|
25778
25829
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
|
|
25779
25830
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25780
|
-
if (kind && result) __defProp$
|
|
25831
|
+
if (kind && result) __defProp$6(target, key, result);
|
|
25781
25832
|
return result;
|
|
25782
25833
|
};
|
|
25783
25834
|
let NetworkDetails = class extends i$4 {
|
|
25784
25835
|
constructor() {
|
|
25785
25836
|
super(...arguments);
|
|
25786
25837
|
this.selectedNodeId = null;
|
|
25838
|
+
this.hideOfflineNodes = false;
|
|
25839
|
+
this.hideWeakSignalEdges = false;
|
|
25840
|
+
this.hideMediumSignalEdges = false;
|
|
25841
|
+
this.hideStrongSignalEdges = false;
|
|
25787
25842
|
this.nodes = {};
|
|
25788
25843
|
this.unknownDevices = /* @__PURE__ */new Map();
|
|
25789
25844
|
this.wifiAccessPoints = /* @__PURE__ */new Map();
|
|
25845
|
+
this.threadEdgePairs = /* @__PURE__ */new Map();
|
|
25790
25846
|
this._showUpdateDialog = false;
|
|
25791
25847
|
}
|
|
25792
25848
|
_handleClose() {
|
|
@@ -25811,16 +25867,6 @@ let NetworkDetails = class extends i$4 {
|
|
|
25811
25867
|
this._handleSelectNode(nodeId);
|
|
25812
25868
|
}
|
|
25813
25869
|
}
|
|
25814
|
-
_formatExtAddress(extAddr) {
|
|
25815
|
-
if (extAddr === void 0 || extAddr === "") return "Unknown";
|
|
25816
|
-
if (typeof extAddr === "bigint") {
|
|
25817
|
-
return extAddr.toString(16).toUpperCase().padStart(16, "0");
|
|
25818
|
-
}
|
|
25819
|
-
return extAddr;
|
|
25820
|
-
}
|
|
25821
|
-
_getSignalIcon(neighbor) {
|
|
25822
|
-
return this._getSignalIconFromColor(getSignalColor(neighbor));
|
|
25823
|
-
}
|
|
25824
25870
|
_getSignalIconFromColor(color) {
|
|
25825
25871
|
const strongColor = getCssVar("--signal-color-strong", "#4caf50");
|
|
25826
25872
|
const mediumColor = getCssVar("--signal-color-medium", "#ff9800");
|
|
@@ -25885,10 +25931,13 @@ let NetworkDetails = class extends i$4 {
|
|
|
25885
25931
|
const threadRole = getThreadRole(node);
|
|
25886
25932
|
const channel = getThreadChannel(node);
|
|
25887
25933
|
const extAddressHex = getThreadExtendedAddressHex(node);
|
|
25888
|
-
const extAddrMap = buildExtAddrMap(this.nodes);
|
|
25889
|
-
const rloc16Map = buildRloc16Map(this.nodes);
|
|
25890
25934
|
const nodeId = String(node.node_id);
|
|
25891
|
-
const connections =
|
|
25935
|
+
const connections = getNodeConnectionsFromPairs(nodeId, this.threadEdgePairs, this.nodes, {
|
|
25936
|
+
hideOfflineNodes: this.hideOfflineNodes,
|
|
25937
|
+
hideWeakSignalEdges: this.hideWeakSignalEdges,
|
|
25938
|
+
hideMediumSignalEdges: this.hideMediumSignalEdges,
|
|
25939
|
+
hideStrongSignalEdges: this.hideStrongSignalEdges
|
|
25940
|
+
});
|
|
25892
25941
|
return b`
|
|
25893
25942
|
<div class="section">
|
|
25894
25943
|
<h4>Thread Network</h4>
|
|
@@ -25966,7 +26015,13 @@ let NetworkDetails = class extends i$4 {
|
|
|
25966
26015
|
>` : A}${conn.pathCost !== void 0 ? b`<span class="route-info"
|
|
25967
26016
|
>, Cost: ${conn.pathCost}</span
|
|
25968
26017
|
>` : A}
|
|
25969
|
-
${
|
|
26018
|
+
${conn.isReverseOnly ? b`
|
|
26019
|
+
<span
|
|
26020
|
+
class="direction-hint reverse-only"
|
|
26021
|
+
title="Peer reports this node but this node has no matching neighbor-table entry. Possible one-way visibility (range, TX power, or stale neighbor table)."
|
|
26022
|
+
>← one-way</span
|
|
26023
|
+
>
|
|
26024
|
+
` : !conn.isOutgoing ? b` <span class="direction-hint">(reverse)</span> ` : A}
|
|
25970
26025
|
</div>
|
|
25971
26026
|
</div>
|
|
25972
26027
|
</div>
|
|
@@ -26022,24 +26077,17 @@ let NetworkDetails = class extends i$4 {
|
|
|
26022
26077
|
` : A}
|
|
26023
26078
|
`;
|
|
26024
26079
|
}
|
|
26025
|
-
/**
|
|
26026
|
-
* Find the neighbor entry for an unknown device from a node's neighbor table.
|
|
26027
|
-
*/
|
|
26028
|
-
_findNeighborEntry(node, unknownExtAddrHex) {
|
|
26029
|
-
const neighbors = parseNeighborTable(node);
|
|
26030
|
-
for (const neighbor of neighbors) {
|
|
26031
|
-
const neighborHex = this._formatExtAddress(neighbor.extAddress);
|
|
26032
|
-
if (neighborHex === unknownExtAddrHex) {
|
|
26033
|
-
return neighbor;
|
|
26034
|
-
}
|
|
26035
|
-
}
|
|
26036
|
-
return null;
|
|
26037
|
-
}
|
|
26038
26080
|
_renderUnknownDeviceInfo(deviceId) {
|
|
26039
26081
|
const unknown = this.unknownDevices.get(deviceId);
|
|
26040
26082
|
if (!unknown) {
|
|
26041
26083
|
return b` <p>Unknown device data not available</p> `;
|
|
26042
26084
|
}
|
|
26085
|
+
const connections = getNodeConnectionsFromPairs(deviceId, this.threadEdgePairs, this.nodes, {
|
|
26086
|
+
hideOfflineNodes: this.hideOfflineNodes,
|
|
26087
|
+
hideWeakSignalEdges: this.hideWeakSignalEdges,
|
|
26088
|
+
hideMediumSignalEdges: this.hideMediumSignalEdges,
|
|
26089
|
+
hideStrongSignalEdges: this.hideStrongSignalEdges
|
|
26090
|
+
});
|
|
26043
26091
|
return b`
|
|
26044
26092
|
<div class="section">
|
|
26045
26093
|
<h4>Unknown Device</h4>
|
|
@@ -26059,56 +26107,43 @@ let NetworkDetails = class extends i$4 {
|
|
|
26059
26107
|
` : A}
|
|
26060
26108
|
</div>
|
|
26061
26109
|
|
|
26062
|
-
${
|
|
26110
|
+
${connections.length > 0 ? b`
|
|
26063
26111
|
<md-divider></md-divider>
|
|
26064
26112
|
<div class="section">
|
|
26065
|
-
<h4>Neighbors (${
|
|
26113
|
+
<h4>Neighbors (${connections.length})</h4>
|
|
26066
26114
|
<div class="neighbors-list">
|
|
26067
|
-
${
|
|
26068
|
-
const score =
|
|
26069
|
-
|
|
26070
|
-
if (
|
|
26071
|
-
const entry = this._findNeighborEntry(n, unknown.extAddressHex);
|
|
26072
|
-
if (!entry) return -Infinity;
|
|
26073
|
-
const rssi = entry.avgRssi ?? entry.lastRssi;
|
|
26074
|
-
if (rssi !== null && rssi !== void 0) return rssi;
|
|
26075
|
-
if (entry.lqi !== null && entry.lqi !== void 0) return entry.lqi;
|
|
26115
|
+
${connections.toSorted((a, b) => {
|
|
26116
|
+
const score = conn => {
|
|
26117
|
+
if (conn.rssi !== null && conn.rssi !== void 0) return conn.rssi;
|
|
26118
|
+
if (conn.lqi !== null && conn.lqi !== void 0) return conn.lqi;
|
|
26076
26119
|
return -Infinity;
|
|
26077
26120
|
};
|
|
26078
26121
|
return score(b) - score(a);
|
|
26079
|
-
}).map(
|
|
26080
|
-
|
|
26081
|
-
if (!node) return A;
|
|
26082
|
-
const neighborEntry = this._findNeighborEntry(node, unknown.extAddressHex);
|
|
26083
|
-
const signalColor = neighborEntry ? getSignalColor(neighborEntry) : getCssVar("--graph-node-fallback", "#999");
|
|
26084
|
-
const rssi = (neighborEntry === null || neighborEntry === void 0 ? void 0 : neighborEntry.avgRssi) ?? (neighborEntry === null || neighborEntry === void 0 ? void 0 : neighborEntry.lastRssi) ?? null;
|
|
26085
|
-
const lqi = neighborEntry === null || neighborEntry === void 0 ? void 0 : neighborEntry.lqi;
|
|
26122
|
+
}).map(conn => {
|
|
26123
|
+
if (!conn.connectedNode) return A;
|
|
26086
26124
|
return b`
|
|
26087
26125
|
<div
|
|
26088
26126
|
class="neighbor-item clickable"
|
|
26089
26127
|
role="button"
|
|
26090
26128
|
tabindex="0"
|
|
26091
|
-
@click=${() => this._handleSelectNode(
|
|
26092
|
-
@keydown=${e => this._handleKeyDown(e,
|
|
26129
|
+
@click=${() => this._handleSelectNode(conn.connectedNodeId)}
|
|
26130
|
+
@keydown=${e => this._handleKeyDown(e, conn.connectedNodeId)}
|
|
26093
26131
|
>
|
|
26094
|
-
|
|
26095
|
-
|
|
26096
|
-
|
|
26097
|
-
|
|
26098
|
-
></ha-svg-icon>
|
|
26099
|
-
` : A}
|
|
26132
|
+
<ha-svg-icon
|
|
26133
|
+
.path=${this._getSignalIconFromColor(conn.signalColor)}
|
|
26134
|
+
style="--icon-primary-color: ${conn.signalColor}"
|
|
26135
|
+
></ha-svg-icon>
|
|
26100
26136
|
<div class="neighbor-info">
|
|
26101
26137
|
<div class="neighbor-name">
|
|
26102
|
-
Node ${
|
|
26103
|
-
<span class="node-id-hex"
|
|
26104
|
-
|
|
26138
|
+
Node ${conn.connectedNodeId}
|
|
26139
|
+
<span class="node-id-hex"
|
|
26140
|
+
>${this._formatNodeIdHex(conn.connectedNodeId)}</span
|
|
26141
|
+
>: ${getDeviceName(conn.connectedNode)}
|
|
26142
|
+
</div>
|
|
26143
|
+
<div class="neighbor-signal">
|
|
26144
|
+
${conn.rssi !== null ? b`RSSI: ${conn.rssi} dBm, ` : A}
|
|
26145
|
+
${conn.lqi !== null ? b`LQI: ${conn.lqi}` : A}
|
|
26105
26146
|
</div>
|
|
26106
|
-
${neighborEntry ? b`
|
|
26107
|
-
<div class="neighbor-signal">
|
|
26108
|
-
${rssi !== null ? b`RSSI: ${rssi} dBm, ` : A}
|
|
26109
|
-
${lqi !== void 0 ? b`LQI: ${lqi}` : A}
|
|
26110
|
-
</div>
|
|
26111
|
-
` : A}
|
|
26112
26147
|
</div>
|
|
26113
26148
|
</div>
|
|
26114
26149
|
`;
|
|
@@ -26164,15 +26199,11 @@ let NetworkDetails = class extends i$4 {
|
|
|
26164
26199
|
if (!node) return [];
|
|
26165
26200
|
const networkType = getNetworkType(node);
|
|
26166
26201
|
if (networkType === "thread") {
|
|
26167
|
-
const
|
|
26168
|
-
const rloc16Map = buildRloc16Map(this.nodes);
|
|
26169
|
-
const connections = getNodeConnections(nodeId, this.nodes, extAddrMap, rloc16Map);
|
|
26202
|
+
const connections = getNodeConnectionsFromPairs(nodeId, this.threadEdgePairs, this.nodes);
|
|
26170
26203
|
return connections.filter(conn => {
|
|
26171
|
-
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
const connectedNode = this.nodes[String(conn.connectedNodeId)];
|
|
26175
|
-
return (connectedNode === null || connectedNode === void 0 ? void 0 : connectedNode.available) === true;
|
|
26204
|
+
var _conn$connectedNode;
|
|
26205
|
+
if (conn.isUnknown) return false;
|
|
26206
|
+
return ((_conn$connectedNode = conn.connectedNode) === null || _conn$connectedNode === void 0 ? void 0 : _conn$connectedNode.available) === true;
|
|
26176
26207
|
}).map(conn => String(conn.connectedNodeId));
|
|
26177
26208
|
}
|
|
26178
26209
|
return [];
|
|
@@ -26582,6 +26613,14 @@ NetworkDetails.styles = [reducedMotionStyles, i$7`
|
|
|
26582
26613
|
opacity: 0.8;
|
|
26583
26614
|
}
|
|
26584
26615
|
|
|
26616
|
+
.direction-hint.reverse-only {
|
|
26617
|
+
font-style: normal;
|
|
26618
|
+
font-weight: 500;
|
|
26619
|
+
opacity: 1;
|
|
26620
|
+
color: var(--md-sys-color-error, #b3261e);
|
|
26621
|
+
cursor: help;
|
|
26622
|
+
}
|
|
26623
|
+
|
|
26585
26624
|
.route-info {
|
|
26586
26625
|
color: var(--md-sys-color-tertiary, #7d5260);
|
|
26587
26626
|
font-size: 0.85em;
|
|
@@ -26653,6 +26692,18 @@ NetworkDetails.styles = [reducedMotionStyles, i$7`
|
|
|
26653
26692
|
}
|
|
26654
26693
|
`];
|
|
26655
26694
|
__decorateClass$8([n$2()], NetworkDetails.prototype, "selectedNodeId", 2);
|
|
26695
|
+
__decorateClass$8([n$2({
|
|
26696
|
+
type: Boolean
|
|
26697
|
+
})], NetworkDetails.prototype, "hideOfflineNodes", 2);
|
|
26698
|
+
__decorateClass$8([n$2({
|
|
26699
|
+
type: Boolean
|
|
26700
|
+
})], NetworkDetails.prototype, "hideWeakSignalEdges", 2);
|
|
26701
|
+
__decorateClass$8([n$2({
|
|
26702
|
+
type: Boolean
|
|
26703
|
+
})], NetworkDetails.prototype, "hideMediumSignalEdges", 2);
|
|
26704
|
+
__decorateClass$8([n$2({
|
|
26705
|
+
type: Boolean
|
|
26706
|
+
})], NetworkDetails.prototype, "hideStrongSignalEdges", 2);
|
|
26656
26707
|
__decorateClass$8([n$2({
|
|
26657
26708
|
type: Object
|
|
26658
26709
|
})], NetworkDetails.prototype, "nodes", 2);
|
|
@@ -26662,6 +26713,9 @@ __decorateClass$8([n$2({
|
|
|
26662
26713
|
__decorateClass$8([n$2({
|
|
26663
26714
|
type: Object
|
|
26664
26715
|
})], NetworkDetails.prototype, "wifiAccessPoints", 2);
|
|
26716
|
+
__decorateClass$8([n$2({
|
|
26717
|
+
type: Object
|
|
26718
|
+
})], NetworkDetails.prototype, "threadEdgePairs", 2);
|
|
26665
26719
|
__decorateClass$8([c$4({
|
|
26666
26720
|
context: clientContext
|
|
26667
26721
|
})], NetworkDetails.prototype, "client", 2);
|
|
@@ -34573,11 +34627,11 @@ if(valueMin!==undefined&&valueMax!==undefined){for(id in obj){if(Object.prototyp
|
|
|
34573
34627
|
*/Network.prototype.clusterOutliers=function(){return this.clustering.clusterOutliers.apply(this.clustering,arguments);};Network.prototype.getSeed=function(){return this.layoutEngine.getSeed.apply(this.layoutEngine,arguments);};Network.prototype.enableEditMode=function(){return this.manipulation.enableEditMode.apply(this.manipulation,arguments);};Network.prototype.disableEditMode=function(){return this.manipulation.disableEditMode.apply(this.manipulation,arguments);};Network.prototype.addNodeMode=function(){return this.manipulation.addNodeMode.apply(this.manipulation,arguments);};Network.prototype.editNode=function(){return this.manipulation.editNode.apply(this.manipulation,arguments);};Network.prototype.editNodeMode=function(){console.warn("Deprecated: Please use editNode instead of editNodeMode.");return this.manipulation.editNode.apply(this.manipulation,arguments);};Network.prototype.addEdgeMode=function(){return this.manipulation.addEdgeMode.apply(this.manipulation,arguments);};Network.prototype.editEdgeMode=function(){return this.manipulation.editEdgeMode.apply(this.manipulation,arguments);};Network.prototype.deleteSelected=function(){return this.manipulation.deleteSelected.apply(this.manipulation,arguments);};Network.prototype.getPositions=function(){return this.nodesHandler.getPositions.apply(this.nodesHandler,arguments);};Network.prototype.getPosition=function(){return this.nodesHandler.getPosition.apply(this.nodesHandler,arguments);};Network.prototype.storePositions=function(){return this.nodesHandler.storePositions.apply(this.nodesHandler,arguments);};Network.prototype.moveNode=function(){return this.nodesHandler.moveNode.apply(this.nodesHandler,arguments);};Network.prototype.getBoundingBox=function(){return this.nodesHandler.getBoundingBox.apply(this.nodesHandler,arguments);};Network.prototype.getConnectedNodes=function(objectId){if(this.body.nodes[objectId]!==undefined){return this.nodesHandler.getConnectedNodes.apply(this.nodesHandler,arguments);}else {return this.edgesHandler.getConnectedNodes.apply(this.edgesHandler,arguments);}};Network.prototype.getConnectedEdges=function(){return this.nodesHandler.getConnectedEdges.apply(this.nodesHandler,arguments);};Network.prototype.startSimulation=function(){return this.physics.startSimulation.apply(this.physics,arguments);};Network.prototype.stopSimulation=function(){return this.physics.stopSimulation.apply(this.physics,arguments);};Network.prototype.stabilize=function(){return this.physics.stabilize.apply(this.physics,arguments);};Network.prototype.getSelection=function(){return this.selectionHandler.getSelection.apply(this.selectionHandler,arguments);};Network.prototype.setSelection=function(){return this.selectionHandler.setSelection.apply(this.selectionHandler,arguments);};Network.prototype.getSelectedNodes=function(){return this.selectionHandler.getSelectedNodeIds.apply(this.selectionHandler,arguments);};Network.prototype.getSelectedEdges=function(){return this.selectionHandler.getSelectedEdgeIds.apply(this.selectionHandler,arguments);};Network.prototype.getNodeAt=function(){const node=this.selectionHandler.getNodeAt.apply(this.selectionHandler,arguments);if(node!==undefined&&node.id!==undefined){return node.id;}return node;};Network.prototype.getEdgeAt=function(){const edge=this.selectionHandler.getEdgeAt.apply(this.selectionHandler,arguments);if(edge!==undefined&&edge.id!==undefined){return edge.id;}return edge;};Network.prototype.selectNodes=function(){return this.selectionHandler.selectNodes.apply(this.selectionHandler,arguments);};Network.prototype.selectEdges=function(){return this.selectionHandler.selectEdges.apply(this.selectionHandler,arguments);};Network.prototype.unselectAll=function(){this.selectionHandler.unselectAll.apply(this.selectionHandler,arguments);this.selectionHandler.commitWithoutEmitting.apply(this.selectionHandler);this.redraw();};Network.prototype.redraw=function(){return this.renderer.redraw.apply(this.renderer,arguments);};Network.prototype.getScale=function(){return this.view.getScale.apply(this.view,arguments);};Network.prototype.getViewPosition=function(){return this.view.getViewPosition.apply(this.view,arguments);};Network.prototype.fit=function(){return this.view.fit.apply(this.view,arguments);};Network.prototype.moveTo=function(){return this.view.moveTo.apply(this.view,arguments);};Network.prototype.focus=function(){return this.view.focus.apply(this.view,arguments);};Network.prototype.releaseNode=function(){return this.view.releaseNode.apply(this.view,arguments);};Network.prototype.getOptionsFromConfigurator=function(){let options={};if(this.configurator){options=this.configurator.getOptions.apply(this.configurator);}return options;};
|
|
34574
34628
|
|
|
34575
34629
|
var _staticBlock;
|
|
34576
|
-
var __defProp$
|
|
34630
|
+
var __defProp$5 = Object.defineProperty;
|
|
34577
34631
|
var __decorateClass$7 = (decorators, target, key, kind) => {
|
|
34578
34632
|
var result = void 0 ;
|
|
34579
34633
|
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (decorator(target, key, result) ) || result;
|
|
34580
|
-
if (result) __defProp$
|
|
34634
|
+
if (result) __defProp$5(target, key, result);
|
|
34581
34635
|
return result;
|
|
34582
34636
|
};
|
|
34583
34637
|
class BaseNetworkGraph extends i$4 {
|
|
@@ -34908,6 +34962,15 @@ class BaseNetworkGraph extends i$4 {
|
|
|
34908
34962
|
}
|
|
34909
34963
|
});
|
|
34910
34964
|
}
|
|
34965
|
+
/**
|
|
34966
|
+
* Deselects all nodes, clears highlights, and restores default styling.
|
|
34967
|
+
*/
|
|
34968
|
+
deselectAll() {
|
|
34969
|
+
if (!this._network) return;
|
|
34970
|
+
this._selectedNodeId = null;
|
|
34971
|
+
this._network.unselectAll();
|
|
34972
|
+
this._clearHighlights();
|
|
34973
|
+
}
|
|
34911
34974
|
_dispatchNodeSelected(nodeId) {
|
|
34912
34975
|
this.dispatchEvent(new CustomEvent("node-selected", {
|
|
34913
34976
|
detail: {
|
|
@@ -35071,24 +35134,48 @@ __decorateClass$7([n$2({
|
|
|
35071
35134
|
__decorateClass$7([r$2()], BaseNetworkGraph.prototype, "_selectedNodeId");
|
|
35072
35135
|
__decorateClass$7([r$2()], BaseNetworkGraph.prototype, "_physicsEnabled");
|
|
35073
35136
|
|
|
35137
|
+
var __defProp$4 = Object.defineProperty;
|
|
35074
35138
|
var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
|
|
35075
35139
|
var __decorateClass$6 = (decorators, target, key, kind) => {
|
|
35076
35140
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
|
|
35077
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (decorator(result)) || result;
|
|
35141
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--) if (decorator = decorators[i]) result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
35142
|
+
if (kind && result) __defProp$4(target, key, result);
|
|
35078
35143
|
return result;
|
|
35079
35144
|
};
|
|
35080
35145
|
let ThreadGraph = class extends BaseNetworkGraph {
|
|
35081
35146
|
constructor() {
|
|
35082
35147
|
super(...arguments);
|
|
35148
|
+
this.hideOfflineNodes = false;
|
|
35149
|
+
this.hideWeakSignalEdges = false;
|
|
35150
|
+
this.hideMediumSignalEdges = false;
|
|
35151
|
+
this.hideStrongSignalEdges = false;
|
|
35083
35152
|
/** Cache of unknown devices for the current render */
|
|
35084
35153
|
this._unknownDevices = [];
|
|
35085
35154
|
/** Cached map of unknown devices (rebuilt in _updateGraph) */
|
|
35086
35155
|
this._unknownDevicesMapCache = /* @__PURE__ */new Map();
|
|
35156
|
+
/** All computed edge pairs (rebuilt in _updateGraph) */
|
|
35157
|
+
this._edgePairs = /* @__PURE__ */new Map();
|
|
35158
|
+
/** Base state of each edge after filter+dedup, before highlight */
|
|
35159
|
+
this._edgeBaseState = /* @__PURE__ */new Map();
|
|
35160
|
+
/** Whether highlight is currently active */
|
|
35161
|
+
this._isHighlighted = false;
|
|
35162
|
+
/** Node ID currently highlighted (for icon restoration on clear) */
|
|
35163
|
+
this._highlightedNodeId = null;
|
|
35087
35164
|
}
|
|
35088
35165
|
/** Get unknown devices as a map for use by details panel */
|
|
35089
35166
|
get unknownDevicesMap() {
|
|
35090
35167
|
return this._unknownDevicesMapCache;
|
|
35091
35168
|
}
|
|
35169
|
+
/** Get computed edge pairs (for potential use by other components) */
|
|
35170
|
+
get edgePairs() {
|
|
35171
|
+
return this._edgePairs;
|
|
35172
|
+
}
|
|
35173
|
+
updated(changedProperties) {
|
|
35174
|
+
super.updated(changedProperties);
|
|
35175
|
+
if (changedProperties.has("hideOfflineNodes") || changedProperties.has("hideWeakSignalEdges") || changedProperties.has("hideMediumSignalEdges") || changedProperties.has("hideStrongSignalEdges")) {
|
|
35176
|
+
this._debouncedUpdateGraph();
|
|
35177
|
+
}
|
|
35178
|
+
}
|
|
35092
35179
|
/**
|
|
35093
35180
|
* Searches for a Thread node (known or unknown) by extended address and selects it.
|
|
35094
35181
|
* Accepts formats like:
|
|
@@ -35123,12 +35210,15 @@ let ThreadGraph = class extends BaseNetworkGraph {
|
|
|
35123
35210
|
_updateGraph() {
|
|
35124
35211
|
if (!this._nodesDataSet || !this._edgesDataSet) return;
|
|
35125
35212
|
this._clearOriginalEdgeColors();
|
|
35213
|
+
this._edgeBaseState.clear();
|
|
35214
|
+
this._isHighlighted = false;
|
|
35126
35215
|
const threadNodes = Object.values(this.nodes).filter(node => getNetworkType(node) === "thread");
|
|
35127
35216
|
if (threadNodes.length === 0) {
|
|
35128
35217
|
this._nodesDataSet.clear();
|
|
35129
35218
|
this._edgesDataSet.clear();
|
|
35130
35219
|
this._unknownDevices = [];
|
|
35131
35220
|
this._unknownDevicesMapCache.clear();
|
|
35221
|
+
this._edgePairs.clear();
|
|
35132
35222
|
return;
|
|
35133
35223
|
}
|
|
35134
35224
|
const extAddrMap = buildExtAddrMap(this.nodes);
|
|
@@ -35143,53 +35233,121 @@ let ThreadGraph = class extends BaseNetworkGraph {
|
|
|
35143
35233
|
bestRssi: device.bestRssi
|
|
35144
35234
|
});
|
|
35145
35235
|
}
|
|
35146
|
-
|
|
35236
|
+
this._edgePairs = buildThreadEdgePairs(this.nodes, extAddrMap, rloc16Map, this._unknownDevices);
|
|
35237
|
+
const hiddenNodeIds = /* @__PURE__ */new Set();
|
|
35147
35238
|
const graphNodes = threadNodes.map(node => {
|
|
35148
35239
|
const nodeId = String(node.node_id);
|
|
35149
35240
|
const threadRole = getThreadRole(node);
|
|
35150
|
-
const isSelected = nodeId === String(this._selectedNodeId);
|
|
35151
35241
|
const isOffline = node.available === false;
|
|
35242
|
+
const shouldHide = this.hideOfflineNodes && isOffline;
|
|
35243
|
+
if (shouldHide) {
|
|
35244
|
+
hiddenNodeIds.add(nodeId);
|
|
35245
|
+
}
|
|
35152
35246
|
return {
|
|
35153
35247
|
id: nodeId,
|
|
35154
35248
|
label: getDeviceName(node),
|
|
35155
|
-
image: createNodeIconDataUrl(node, threadRole,
|
|
35249
|
+
image: createNodeIconDataUrl(node, threadRole, false, isOffline),
|
|
35156
35250
|
shape: "image",
|
|
35157
35251
|
networkType: "thread",
|
|
35158
35252
|
threadRole,
|
|
35159
|
-
offline: isOffline
|
|
35253
|
+
offline: isOffline,
|
|
35254
|
+
hidden: shouldHide
|
|
35160
35255
|
};
|
|
35161
35256
|
});
|
|
35162
35257
|
for (const unknown of this._unknownDevices) {
|
|
35163
|
-
const isSelected = unknown.id === this._selectedNodeId;
|
|
35164
35258
|
const typeLabel = unknown.isRouter ? "External Router" : "External Device";
|
|
35259
|
+
let shouldHide = false;
|
|
35260
|
+
if (this.hideOfflineNodes) {
|
|
35261
|
+
const hasOnlineSeenBy = unknown.seenBy.some(nodeId => {
|
|
35262
|
+
const node = this.nodes[nodeId];
|
|
35263
|
+
return node && node.available !== false;
|
|
35264
|
+
});
|
|
35265
|
+
shouldHide = !hasOnlineSeenBy;
|
|
35266
|
+
}
|
|
35267
|
+
if (shouldHide) {
|
|
35268
|
+
hiddenNodeIds.add(unknown.id);
|
|
35269
|
+
}
|
|
35165
35270
|
graphNodes.push({
|
|
35166
35271
|
id: unknown.id,
|
|
35167
35272
|
label: `${typeLabel} (${unknown.extAddressHex.slice(-8)})`,
|
|
35168
|
-
image: createUnknownDeviceIconDataUrl(unknown.isRouter,
|
|
35273
|
+
image: createUnknownDeviceIconDataUrl(unknown.isRouter, false),
|
|
35169
35274
|
shape: "image",
|
|
35170
35275
|
networkType: "thread",
|
|
35171
|
-
isUnknown: true
|
|
35276
|
+
isUnknown: true,
|
|
35277
|
+
hidden: shouldHide
|
|
35172
35278
|
});
|
|
35173
35279
|
}
|
|
35174
|
-
const graphEdges =
|
|
35175
|
-
|
|
35176
|
-
const
|
|
35177
|
-
const
|
|
35178
|
-
|
|
35179
|
-
|
|
35180
|
-
|
|
35181
|
-
|
|
35182
|
-
|
|
35183
|
-
|
|
35184
|
-
|
|
35185
|
-
|
|
35186
|
-
|
|
35187
|
-
|
|
35188
|
-
|
|
35189
|
-
|
|
35190
|
-
|
|
35191
|
-
|
|
35192
|
-
|
|
35280
|
+
const graphEdges = [];
|
|
35281
|
+
for (const pair of this._edgePairs.values()) {
|
|
35282
|
+
const edgesInPair = [];
|
|
35283
|
+
for (const conn of [pair.edgeAB, pair.edgeBA]) {
|
|
35284
|
+
if (!conn) continue;
|
|
35285
|
+
const fromId = String(conn.fromNodeId);
|
|
35286
|
+
const toId = String(conn.toNodeId);
|
|
35287
|
+
const isToUnknown = toId.startsWith("unknown_");
|
|
35288
|
+
const fromNode = this.nodes[fromId];
|
|
35289
|
+
const toNode = this.nodes[toId];
|
|
35290
|
+
const hasOfflineEndpoint = (fromNode === null || fromNode === void 0 ? void 0 : fromNode.available) === false || (toNode === null || toNode === void 0 ? void 0 : toNode.available) === false;
|
|
35291
|
+
let filterHidden = false;
|
|
35292
|
+
if (hiddenNodeIds.has(fromId) || hiddenNodeIds.has(toId)) {
|
|
35293
|
+
filterHidden = true;
|
|
35294
|
+
}
|
|
35295
|
+
if (!filterHidden && this.hideWeakSignalEdges && conn.signalLevel === "weak") {
|
|
35296
|
+
filterHidden = true;
|
|
35297
|
+
}
|
|
35298
|
+
if (!filterHidden && this.hideMediumSignalEdges && conn.signalLevel === "medium") {
|
|
35299
|
+
filterHidden = true;
|
|
35300
|
+
}
|
|
35301
|
+
if (!filterHidden && this.hideStrongSignalEdges && conn.signalLevel === "strong") {
|
|
35302
|
+
filterHidden = true;
|
|
35303
|
+
}
|
|
35304
|
+
const edgeId = `edge_${fromId}_${toId}`;
|
|
35305
|
+
const visEdge = {
|
|
35306
|
+
id: edgeId,
|
|
35307
|
+
from: fromId,
|
|
35308
|
+
to: toId,
|
|
35309
|
+
color: {
|
|
35310
|
+
color: conn.signalColor,
|
|
35311
|
+
highlight: conn.signalColor
|
|
35312
|
+
},
|
|
35313
|
+
width: 2,
|
|
35314
|
+
title: conn.rssi !== null ? `RSSI: ${conn.rssi} dBm, LQI: ${conn.lqi}` : `LQI: ${conn.lqi}`,
|
|
35315
|
+
dashes: isToUnknown || hasOfflineEndpoint,
|
|
35316
|
+
hidden: filterHidden,
|
|
35317
|
+
pairKey: pair.pairKey,
|
|
35318
|
+
reportingNodeId: fromId
|
|
35319
|
+
};
|
|
35320
|
+
edgesInPair.push({
|
|
35321
|
+
conn,
|
|
35322
|
+
visEdge,
|
|
35323
|
+
filterHidden
|
|
35324
|
+
});
|
|
35325
|
+
}
|
|
35326
|
+
const visibleInPair = edgesInPair.filter(e => !e.visEdge.hidden);
|
|
35327
|
+
if (visibleInPair.length > 1) {
|
|
35328
|
+
visibleInPair.sort((a, b) => getEdgeSignalScore(a.conn) - getEdgeSignalScore(b.conn));
|
|
35329
|
+
for (let i = 1; i < visibleInPair.length; i++) {
|
|
35330
|
+
visibleInPair[i].visEdge.hidden = true;
|
|
35331
|
+
}
|
|
35332
|
+
}
|
|
35333
|
+
for (const e of edgesInPair) {
|
|
35334
|
+
const isHidden = e.visEdge.hidden ?? false;
|
|
35335
|
+
let hiddenReason = "visible";
|
|
35336
|
+
if (isHidden) {
|
|
35337
|
+
hiddenReason = e.filterHidden ? "filter" : "dedup";
|
|
35338
|
+
}
|
|
35339
|
+
this._edgeBaseState.set(e.visEdge.id, {
|
|
35340
|
+
hiddenReason,
|
|
35341
|
+
width: e.visEdge.width,
|
|
35342
|
+
color: {
|
|
35343
|
+
color: e.visEdge.color.color,
|
|
35344
|
+
highlight: e.visEdge.color.highlight
|
|
35345
|
+
},
|
|
35346
|
+
dashes: e.visEdge.dashes ?? false
|
|
35347
|
+
});
|
|
35348
|
+
graphEdges.push(e.visEdge);
|
|
35349
|
+
}
|
|
35350
|
+
}
|
|
35193
35351
|
const existingNodeIds = this._nodesDataSet.getIds();
|
|
35194
35352
|
const newNodeIds = new Set(graphNodes.map(n => n.id));
|
|
35195
35353
|
const nodesToRemove = existingNodeIds.filter(id => !newNodeIds.has(id));
|
|
@@ -35199,20 +35357,268 @@ let ThreadGraph = class extends BaseNetworkGraph {
|
|
|
35199
35357
|
this._nodesDataSet.update(graphNodes);
|
|
35200
35358
|
this._edgesDataSet.clear();
|
|
35201
35359
|
this._edgesDataSet.add(graphEdges);
|
|
35360
|
+
if (this._selectedNodeId !== null) {
|
|
35361
|
+
this._highlightConnections(this._selectedNodeId);
|
|
35362
|
+
}
|
|
35363
|
+
}
|
|
35364
|
+
/**
|
|
35365
|
+
* Highlights edges connected to the selected node with swap/arrow logic.
|
|
35366
|
+
*
|
|
35367
|
+
* For each visible edge connected to the highlighted node:
|
|
35368
|
+
* - If the visible edge comes from the remote node AND there is a
|
|
35369
|
+
* dedup-hidden edge from the highlighted node → SWAP: show the
|
|
35370
|
+
* highlighted node's edge instead (its signal is better or equal,
|
|
35371
|
+
* but we prefer the highlighted node's perspective).
|
|
35372
|
+
* - Otherwise → thicken the edge. If the pair is truly one-way (only
|
|
35373
|
+
* one of edgeAB/edgeBA exists), also draw an arrow in the data
|
|
35374
|
+
* direction so asymmetric visibility is visible at a glance.
|
|
35375
|
+
*/
|
|
35376
|
+
_highlightConnections(nodeId) {
|
|
35377
|
+
if (!this._edgesDataSet || !this._nodesDataSet) return;
|
|
35378
|
+
const nodeIdStr = String(nodeId);
|
|
35379
|
+
if (this._isHighlighted && this._highlightedNodeId === nodeIdStr) return;
|
|
35380
|
+
if (this._isHighlighted) {
|
|
35381
|
+
this._restoreEdgeBaseState();
|
|
35382
|
+
}
|
|
35383
|
+
const allEdges = this._edgesDataSet.get();
|
|
35384
|
+
const dimmedColor = this._getDimmedEdgeColor();
|
|
35385
|
+
const edgesByPair = /* @__PURE__ */new Map();
|
|
35386
|
+
for (const edge of allEdges) {
|
|
35387
|
+
if (edge.pairKey) {
|
|
35388
|
+
const list = edgesByPair.get(edge.pairKey) ?? [];
|
|
35389
|
+
list.push(edge);
|
|
35390
|
+
edgesByPair.set(edge.pairKey, list);
|
|
35391
|
+
}
|
|
35392
|
+
}
|
|
35393
|
+
const connectedNodeIds = /* @__PURE__ */new Set();
|
|
35394
|
+
const edgeUpdates = {};
|
|
35395
|
+
for (const edge of allEdges) {
|
|
35396
|
+
const fromStr = String(edge.from);
|
|
35397
|
+
const toStr = String(edge.to);
|
|
35398
|
+
const isConnected = fromStr === nodeIdStr || toStr === nodeIdStr;
|
|
35399
|
+
if (!isConnected) {
|
|
35400
|
+
const baseState2 = this._edgeBaseState.get(edge.id);
|
|
35401
|
+
if (baseState2 && baseState2.hiddenReason === "visible") {
|
|
35402
|
+
edgeUpdates[String(edge.id)] = {
|
|
35403
|
+
id: edge.id,
|
|
35404
|
+
width: 1,
|
|
35405
|
+
color: {
|
|
35406
|
+
color: dimmedColor,
|
|
35407
|
+
highlight: dimmedColor
|
|
35408
|
+
}
|
|
35409
|
+
};
|
|
35410
|
+
}
|
|
35411
|
+
continue;
|
|
35412
|
+
}
|
|
35413
|
+
const baseState = this._edgeBaseState.get(edge.id);
|
|
35414
|
+
if (!baseState || baseState.hiddenReason !== "visible") {
|
|
35415
|
+
continue;
|
|
35416
|
+
}
|
|
35417
|
+
const remoteId = fromStr === nodeIdStr ? toStr : fromStr;
|
|
35418
|
+
const reportingId = String(edge.reportingNodeId ?? edge.from);
|
|
35419
|
+
connectedNodeIds.add(remoteId);
|
|
35420
|
+
if (reportingId !== nodeIdStr) {
|
|
35421
|
+
const pairEdges = edge.pairKey ? edgesByPair.get(edge.pairKey) : void 0;
|
|
35422
|
+
const swapCandidate = pairEdges === null || pairEdges === void 0 ? void 0 : pairEdges.find(e => {
|
|
35423
|
+
const rid = String(e.reportingNodeId ?? e.from);
|
|
35424
|
+
if (rid !== nodeIdStr) return false;
|
|
35425
|
+
const bs = this._edgeBaseState.get(e.id);
|
|
35426
|
+
return (bs === null || bs === void 0 ? void 0 : bs.hiddenReason) === "dedup";
|
|
35427
|
+
});
|
|
35428
|
+
if (swapCandidate) {
|
|
35429
|
+
const swapBaseState = this._edgeBaseState.get(swapCandidate.id);
|
|
35430
|
+
edgeUpdates[String(edge.id)] = {
|
|
35431
|
+
id: edge.id,
|
|
35432
|
+
hidden: true
|
|
35433
|
+
};
|
|
35434
|
+
edgeUpdates[String(swapCandidate.id)] = {
|
|
35435
|
+
id: swapCandidate.id,
|
|
35436
|
+
hidden: false,
|
|
35437
|
+
width: 3,
|
|
35438
|
+
color: swapBaseState ? {
|
|
35439
|
+
color: swapBaseState.color.color,
|
|
35440
|
+
highlight: swapBaseState.color.highlight
|
|
35441
|
+
} : {
|
|
35442
|
+
color: "#999999",
|
|
35443
|
+
highlight: "#999999"
|
|
35444
|
+
}
|
|
35445
|
+
};
|
|
35446
|
+
} else {
|
|
35447
|
+
edgeUpdates[String(edge.id)] = this._reverseEdgeUpdate(edge);
|
|
35448
|
+
}
|
|
35449
|
+
} else {
|
|
35450
|
+
edgeUpdates[String(edge.id)] = this._asymmetricEdgeUpdate(edge);
|
|
35451
|
+
}
|
|
35452
|
+
}
|
|
35453
|
+
this._edgesDataSet.update(Object.values(edgeUpdates));
|
|
35454
|
+
const allNodes = this._nodesDataSet.get();
|
|
35455
|
+
const nodeUpdates = allNodes.map(node => {
|
|
35456
|
+
const isNeighbor = connectedNodeIds.has(node.id);
|
|
35457
|
+
const isSelected = node.id === nodeId;
|
|
35458
|
+
return {
|
|
35459
|
+
id: node.id,
|
|
35460
|
+
size: isSelected ? 40 : isNeighbor ? 35 : 25,
|
|
35461
|
+
font: {
|
|
35462
|
+
size: isSelected ? 14 : isNeighbor ? 13 : 11,
|
|
35463
|
+
color: this._getFontColor(),
|
|
35464
|
+
bold: isSelected || isNeighbor ? {
|
|
35465
|
+
color: this._getFontColor()
|
|
35466
|
+
} : void 0
|
|
35467
|
+
},
|
|
35468
|
+
opacity: isSelected || isNeighbor ? 1 : 0.5
|
|
35469
|
+
};
|
|
35470
|
+
});
|
|
35471
|
+
this._nodesDataSet.update(nodeUpdates);
|
|
35472
|
+
if (this._highlightedNodeId && this._highlightedNodeId !== nodeIdStr) {
|
|
35473
|
+
this._setNodeIconHighlight(this._highlightedNodeId, false);
|
|
35474
|
+
}
|
|
35475
|
+
this._highlightedNodeId = nodeIdStr;
|
|
35476
|
+
this._setNodeIconHighlight(nodeIdStr, true);
|
|
35477
|
+
this._isHighlighted = true;
|
|
35478
|
+
}
|
|
35479
|
+
/**
|
|
35480
|
+
* Thicken a connected edge and add a directional arrow when the pair is
|
|
35481
|
+
* truly one-way in data (only one of edgeAB/edgeBA exists). Used for the
|
|
35482
|
+
* highlighted-reports-peer branch where filter-hidden peer directions
|
|
35483
|
+
* should not draw an arrow on the user's own perspective.
|
|
35484
|
+
*
|
|
35485
|
+
* Explicit arrow object (vs the shorthand "to") keeps the head visible
|
|
35486
|
+
* on dashed offline edges where some vis.js builds skip the shorthand.
|
|
35487
|
+
*/
|
|
35488
|
+
_asymmetricEdgeUpdate(edge) {
|
|
35489
|
+
const pair = edge.pairKey ? this._edgePairs.get(edge.pairKey) : void 0;
|
|
35490
|
+
const isAsymmetric = pair ? !pair.edgeAB || !pair.edgeBA : false;
|
|
35491
|
+
const update = {
|
|
35492
|
+
id: edge.id,
|
|
35493
|
+
width: 3
|
|
35494
|
+
};
|
|
35495
|
+
if (isAsymmetric) {
|
|
35496
|
+
update.arrows = {
|
|
35497
|
+
to: {
|
|
35498
|
+
enabled: true,
|
|
35499
|
+
scaleFactor: 1
|
|
35500
|
+
}
|
|
35501
|
+
};
|
|
35502
|
+
}
|
|
35503
|
+
return update;
|
|
35504
|
+
}
|
|
35505
|
+
/**
|
|
35506
|
+
* Thicken a connected edge and always add a directional arrow. Used for
|
|
35507
|
+
* the remote-reports-highlighted branch where the displayed edge is the
|
|
35508
|
+
* peer's direction (no swap target available); the user sees the same
|
|
35509
|
+
* single line whether the outgoing direction is filter-hidden or absent.
|
|
35510
|
+
*/
|
|
35511
|
+
_reverseEdgeUpdate(edge) {
|
|
35512
|
+
return {
|
|
35513
|
+
id: edge.id,
|
|
35514
|
+
width: 3,
|
|
35515
|
+
arrows: {
|
|
35516
|
+
to: {
|
|
35517
|
+
enabled: true,
|
|
35518
|
+
scaleFactor: 1
|
|
35519
|
+
}
|
|
35520
|
+
}
|
|
35521
|
+
};
|
|
35522
|
+
}
|
|
35523
|
+
/**
|
|
35524
|
+
* Swap a node's icon between the default and highlighted variants.
|
|
35525
|
+
* Kept separate so both `_highlightConnections` (switching target) and
|
|
35526
|
+
* `_clearHighlights` (fully unselecting) reach the same end state.
|
|
35527
|
+
*/
|
|
35528
|
+
_setNodeIconHighlight(nodeId, isHighlighted) {
|
|
35529
|
+
if (!this._nodesDataSet) return;
|
|
35530
|
+
const nodeData = this.nodes[nodeId];
|
|
35531
|
+
if (nodeData) {
|
|
35532
|
+
const threadRole = getThreadRole(nodeData);
|
|
35533
|
+
const isOffline = nodeData.available === false;
|
|
35534
|
+
this._nodesDataSet.update({
|
|
35535
|
+
id: nodeId,
|
|
35536
|
+
image: createNodeIconDataUrl(nodeData, threadRole, isHighlighted, isOffline)
|
|
35537
|
+
});
|
|
35538
|
+
} else if (nodeId.startsWith("unknown_")) {
|
|
35539
|
+
const unknown = this._unknownDevicesMapCache.get(nodeId);
|
|
35540
|
+
this._nodesDataSet.update({
|
|
35541
|
+
id: nodeId,
|
|
35542
|
+
image: createUnknownDeviceIconDataUrl((unknown === null || unknown === void 0 ? void 0 : unknown.isRouter) ?? false, isHighlighted)
|
|
35543
|
+
});
|
|
35544
|
+
}
|
|
35545
|
+
}
|
|
35546
|
+
/**
|
|
35547
|
+
* Clears all highlights and restores the graph to its base state
|
|
35548
|
+
* (after filter+dedup, before highlight modifications).
|
|
35549
|
+
*/
|
|
35550
|
+
_clearHighlights() {
|
|
35551
|
+
if (!this._edgesDataSet || !this._nodesDataSet) return;
|
|
35552
|
+
this._restoreEdgeBaseState();
|
|
35553
|
+
if (this._highlightedNodeId) {
|
|
35554
|
+
this._setNodeIconHighlight(this._highlightedNodeId, false);
|
|
35555
|
+
this._highlightedNodeId = null;
|
|
35556
|
+
}
|
|
35557
|
+
const allNodes = this._nodesDataSet.get();
|
|
35558
|
+
const nodeUpdates = allNodes.map(node => ({
|
|
35559
|
+
id: node.id,
|
|
35560
|
+
size: 30,
|
|
35561
|
+
font: {
|
|
35562
|
+
size: 12,
|
|
35563
|
+
color: this._getFontColor(),
|
|
35564
|
+
bold: void 0
|
|
35565
|
+
},
|
|
35566
|
+
opacity: 1
|
|
35567
|
+
}));
|
|
35568
|
+
this._nodesDataSet.update(nodeUpdates);
|
|
35569
|
+
this._isHighlighted = false;
|
|
35570
|
+
}
|
|
35571
|
+
/**
|
|
35572
|
+
* Restores all edges to their base state (undoes highlight modifications).
|
|
35573
|
+
* This resets hidden/visible state, width, color, and dashes.
|
|
35574
|
+
*/
|
|
35575
|
+
_restoreEdgeBaseState() {
|
|
35576
|
+
if (!this._edgesDataSet) return;
|
|
35577
|
+
const edgeUpdates = [];
|
|
35578
|
+
for (const [id, baseState] of this._edgeBaseState) {
|
|
35579
|
+
edgeUpdates.push({
|
|
35580
|
+
id,
|
|
35581
|
+
hidden: baseState.hiddenReason !== "visible",
|
|
35582
|
+
width: baseState.width,
|
|
35583
|
+
color: {
|
|
35584
|
+
color: baseState.color.color,
|
|
35585
|
+
highlight: baseState.color.highlight
|
|
35586
|
+
},
|
|
35587
|
+
dashes: baseState.dashes,
|
|
35588
|
+
arrows: ""
|
|
35589
|
+
});
|
|
35590
|
+
}
|
|
35591
|
+
this._edgesDataSet.update(edgeUpdates);
|
|
35202
35592
|
}
|
|
35203
35593
|
render() {
|
|
35204
35594
|
const threadNodes = Object.values(this.nodes).filter(node => getNetworkType(node) === "thread");
|
|
35205
|
-
|
|
35595
|
+
const visibleThreadNodes = this.hideOfflineNodes ? threadNodes.filter(node => node.available !== false) : threadNodes;
|
|
35596
|
+
if (visibleThreadNodes.length === 0) {
|
|
35597
|
+
const allOfflineFiltered = threadNodes.length > 0 && this.hideOfflineNodes;
|
|
35206
35598
|
return b`
|
|
35207
35599
|
<div class="empty-state">
|
|
35208
|
-
<p
|
|
35209
|
-
<p class="hint">
|
|
35600
|
+
<p>${allOfflineFiltered ? "No online Thread devices" : "No Thread devices found"}</p>
|
|
35601
|
+
<p class="hint">
|
|
35602
|
+
${allOfflineFiltered ? 'Disable the "Offline nodes" filter to show offline devices' : "Thread devices will appear here once commissioned"}
|
|
35603
|
+
</p>
|
|
35210
35604
|
</div>
|
|
35211
35605
|
`;
|
|
35212
35606
|
}
|
|
35213
35607
|
return b` <div class="graph-container"></div> `;
|
|
35214
35608
|
}
|
|
35215
35609
|
};
|
|
35610
|
+
__decorateClass$6([n$2({
|
|
35611
|
+
type: Boolean
|
|
35612
|
+
})], ThreadGraph.prototype, "hideOfflineNodes", 2);
|
|
35613
|
+
__decorateClass$6([n$2({
|
|
35614
|
+
type: Boolean
|
|
35615
|
+
})], ThreadGraph.prototype, "hideWeakSignalEdges", 2);
|
|
35616
|
+
__decorateClass$6([n$2({
|
|
35617
|
+
type: Boolean
|
|
35618
|
+
})], ThreadGraph.prototype, "hideMediumSignalEdges", 2);
|
|
35619
|
+
__decorateClass$6([n$2({
|
|
35620
|
+
type: Boolean
|
|
35621
|
+
})], ThreadGraph.prototype, "hideStrongSignalEdges", 2);
|
|
35216
35622
|
ThreadGraph = __decorateClass$6([t$1("thread-graph")], ThreadGraph);
|
|
35217
35623
|
function normalizeExtendedAddressInput(address) {
|
|
35218
35624
|
const trimmed = address.trim();
|
|
@@ -35379,6 +35785,19 @@ var __decorateClass$4 = (decorators, target, key, kind) => {
|
|
|
35379
35785
|
if (kind && result) __defProp$3(target, key, result);
|
|
35380
35786
|
return result;
|
|
35381
35787
|
};
|
|
35788
|
+
const HIDE_OPTIONS = [{
|
|
35789
|
+
key: "_hideOfflineNodes",
|
|
35790
|
+
label: "Offline nodes"
|
|
35791
|
+
}, {
|
|
35792
|
+
key: "_hideWeakSignalEdges",
|
|
35793
|
+
label: "Weak signal edges"
|
|
35794
|
+
}, {
|
|
35795
|
+
key: "_hideMediumSignalEdges",
|
|
35796
|
+
label: "Medium signal edges"
|
|
35797
|
+
}, {
|
|
35798
|
+
key: "_hideStrongSignalEdges",
|
|
35799
|
+
label: "Strong signal edges"
|
|
35800
|
+
}];
|
|
35382
35801
|
let MatterNetworkView = class extends i$4 {
|
|
35383
35802
|
constructor() {
|
|
35384
35803
|
super(...arguments);
|
|
@@ -35389,7 +35808,23 @@ let MatterNetworkView = class extends i$4 {
|
|
|
35389
35808
|
this._physicsEnabled = true;
|
|
35390
35809
|
this._threadAddressSearch = "";
|
|
35391
35810
|
this._threadAddressSearchStatus = "idle";
|
|
35811
|
+
this._showHideMenu = false;
|
|
35812
|
+
this._hideOfflineNodes = false;
|
|
35813
|
+
this._hideWeakSignalEdges = false;
|
|
35814
|
+
this._hideMediumSignalEdges = false;
|
|
35815
|
+
this._hideStrongSignalEdges = false;
|
|
35392
35816
|
this._initialSelectionApplied = false;
|
|
35817
|
+
this._documentClickHandler = event => {
|
|
35818
|
+
const path = event.composedPath();
|
|
35819
|
+
if (!path.some(el => el instanceof HTMLElement && el.classList.contains("hide-menu-container"))) {
|
|
35820
|
+
this._showHideMenu = false;
|
|
35821
|
+
}
|
|
35822
|
+
};
|
|
35823
|
+
this._documentKeyHandler = event => {
|
|
35824
|
+
if (event.key === "Escape" && this._showHideMenu) {
|
|
35825
|
+
this._showHideMenu = false;
|
|
35826
|
+
}
|
|
35827
|
+
};
|
|
35393
35828
|
}
|
|
35394
35829
|
willUpdate(changedProperties) {
|
|
35395
35830
|
if (changedProperties.has("initialSelectedNodeId") && this.initialSelectedNodeId !== null) {
|
|
@@ -35404,8 +35839,15 @@ let MatterNetworkView = class extends i$4 {
|
|
|
35404
35839
|
this._selectNodeWhenReady(this.initialSelectedNodeId);
|
|
35405
35840
|
}
|
|
35406
35841
|
}
|
|
35842
|
+
connectedCallback() {
|
|
35843
|
+
super.connectedCallback();
|
|
35844
|
+
document.addEventListener("click", this._documentClickHandler);
|
|
35845
|
+
document.addEventListener("keydown", this._documentKeyHandler);
|
|
35846
|
+
}
|
|
35407
35847
|
disconnectedCallback() {
|
|
35408
35848
|
super.disconnectedCallback();
|
|
35849
|
+
document.removeEventListener("click", this._documentClickHandler);
|
|
35850
|
+
document.removeEventListener("keydown", this._documentKeyHandler);
|
|
35409
35851
|
if (this._selectRetryTimer) {
|
|
35410
35852
|
clearTimeout(this._selectRetryTimer);
|
|
35411
35853
|
}
|
|
@@ -35426,57 +35868,73 @@ let MatterNetworkView = class extends i$4 {
|
|
|
35426
35868
|
}
|
|
35427
35869
|
_handleDetailsClose() {
|
|
35428
35870
|
this._selectedNodeId = null;
|
|
35429
|
-
}
|
|
35430
|
-
_handleSelectNode(event) {
|
|
35431
|
-
const nodeId = event.detail.nodeId;
|
|
35432
|
-
this._selectedNodeId = nodeId;
|
|
35433
35871
|
if (this.networkType === "thread") {
|
|
35434
35872
|
var _this$_threadGraph;
|
|
35435
|
-
(_this$_threadGraph = this._threadGraph) === null || _this$_threadGraph === void 0 || _this$_threadGraph.
|
|
35873
|
+
(_this$_threadGraph = this._threadGraph) === null || _this$_threadGraph === void 0 || _this$_threadGraph.deselectAll();
|
|
35436
35874
|
} else {
|
|
35437
35875
|
var _this$_wifiGraph;
|
|
35438
|
-
(_this$_wifiGraph = this._wifiGraph) === null || _this$_wifiGraph === void 0 || _this$_wifiGraph.
|
|
35876
|
+
(_this$_wifiGraph = this._wifiGraph) === null || _this$_wifiGraph === void 0 || _this$_wifiGraph.deselectAll();
|
|
35439
35877
|
}
|
|
35440
35878
|
}
|
|
35441
|
-
|
|
35879
|
+
_handleSelectNode(event) {
|
|
35880
|
+
const nodeId = event.detail.nodeId;
|
|
35881
|
+
this._selectedNodeId = nodeId;
|
|
35442
35882
|
if (this.networkType === "thread") {
|
|
35443
35883
|
var _this$_threadGraph2;
|
|
35444
|
-
(_this$_threadGraph2 = this._threadGraph) === null || _this$_threadGraph2 === void 0 || _this$_threadGraph2.
|
|
35884
|
+
(_this$_threadGraph2 = this._threadGraph) === null || _this$_threadGraph2 === void 0 || _this$_threadGraph2.selectNode(nodeId);
|
|
35445
35885
|
} else {
|
|
35446
35886
|
var _this$_wifiGraph2;
|
|
35447
|
-
(_this$_wifiGraph2 = this._wifiGraph) === null || _this$_wifiGraph2 === void 0 || _this$_wifiGraph2.
|
|
35887
|
+
(_this$_wifiGraph2 = this._wifiGraph) === null || _this$_wifiGraph2 === void 0 || _this$_wifiGraph2.selectNode(nodeId);
|
|
35448
35888
|
}
|
|
35449
35889
|
}
|
|
35450
|
-
|
|
35890
|
+
_handleFitToScreen() {
|
|
35451
35891
|
if (this.networkType === "thread") {
|
|
35452
35892
|
var _this$_threadGraph3;
|
|
35453
|
-
(_this$_threadGraph3 = this._threadGraph) === null || _this$_threadGraph3 === void 0 || _this$_threadGraph3.
|
|
35893
|
+
(_this$_threadGraph3 = this._threadGraph) === null || _this$_threadGraph3 === void 0 || _this$_threadGraph3.fit();
|
|
35454
35894
|
} else {
|
|
35455
35895
|
var _this$_wifiGraph3;
|
|
35456
|
-
(_this$_wifiGraph3 = this._wifiGraph) === null || _this$_wifiGraph3 === void 0 || _this$_wifiGraph3.
|
|
35896
|
+
(_this$_wifiGraph3 = this._wifiGraph) === null || _this$_wifiGraph3 === void 0 || _this$_wifiGraph3.fit();
|
|
35457
35897
|
}
|
|
35458
35898
|
}
|
|
35459
|
-
|
|
35899
|
+
_handleZoomIn() {
|
|
35460
35900
|
if (this.networkType === "thread") {
|
|
35461
35901
|
var _this$_threadGraph4;
|
|
35462
|
-
(_this$_threadGraph4 = this._threadGraph) === null || _this$_threadGraph4 === void 0 || _this$_threadGraph4.
|
|
35902
|
+
(_this$_threadGraph4 = this._threadGraph) === null || _this$_threadGraph4 === void 0 || _this$_threadGraph4.zoomIn();
|
|
35463
35903
|
} else {
|
|
35464
35904
|
var _this$_wifiGraph4;
|
|
35465
|
-
(_this$_wifiGraph4 = this._wifiGraph) === null || _this$_wifiGraph4 === void 0 || _this$_wifiGraph4.
|
|
35905
|
+
(_this$_wifiGraph4 = this._wifiGraph) === null || _this$_wifiGraph4 === void 0 || _this$_wifiGraph4.zoomIn();
|
|
35906
|
+
}
|
|
35907
|
+
}
|
|
35908
|
+
_handleZoomOut() {
|
|
35909
|
+
if (this.networkType === "thread") {
|
|
35910
|
+
var _this$_threadGraph5;
|
|
35911
|
+
(_this$_threadGraph5 = this._threadGraph) === null || _this$_threadGraph5 === void 0 || _this$_threadGraph5.zoomOut();
|
|
35912
|
+
} else {
|
|
35913
|
+
var _this$_wifiGraph5;
|
|
35914
|
+
(_this$_wifiGraph5 = this._wifiGraph) === null || _this$_wifiGraph5 === void 0 || _this$_wifiGraph5.zoomOut();
|
|
35466
35915
|
}
|
|
35467
35916
|
}
|
|
35917
|
+
_handleToggleHideMenu() {
|
|
35918
|
+
this._showHideMenu = !this._showHideMenu;
|
|
35919
|
+
}
|
|
35920
|
+
_handleToggleHideOption(option) {
|
|
35921
|
+
this[option] = !this[option];
|
|
35922
|
+
}
|
|
35923
|
+
_isAnyHideOptionActive() {
|
|
35924
|
+
return HIDE_OPTIONS.some(option => this[option.key]);
|
|
35925
|
+
}
|
|
35468
35926
|
_handleTogglePhysics() {
|
|
35469
|
-
var _this$
|
|
35927
|
+
var _this$_threadGraph6, _this$_wifiGraph6;
|
|
35470
35928
|
const newState = !this._physicsEnabled;
|
|
35471
35929
|
this._physicsEnabled = newState;
|
|
35472
|
-
(_this$
|
|
35473
|
-
(_this$
|
|
35930
|
+
(_this$_threadGraph6 = this._threadGraph) === null || _this$_threadGraph6 === void 0 || _this$_threadGraph6.setPhysicsEnabled(newState);
|
|
35931
|
+
(_this$_wifiGraph6 = this._wifiGraph) === null || _this$_wifiGraph6 === void 0 || _this$_wifiGraph6.setPhysicsEnabled(newState);
|
|
35474
35932
|
}
|
|
35475
35933
|
_handlePhysicsChanged(event) {
|
|
35476
|
-
var _this$
|
|
35934
|
+
var _this$_threadGraph7, _this$_wifiGraph7;
|
|
35477
35935
|
this._physicsEnabled = event.detail.enabled;
|
|
35478
|
-
(_this$
|
|
35479
|
-
(_this$
|
|
35936
|
+
(_this$_threadGraph7 = this._threadGraph) === null || _this$_threadGraph7 === void 0 || _this$_threadGraph7.setPhysicsEnabled(event.detail.enabled);
|
|
35937
|
+
(_this$_wifiGraph7 = this._wifiGraph) === null || _this$_wifiGraph7 === void 0 || _this$_wifiGraph7.setPhysicsEnabled(event.detail.enabled);
|
|
35480
35938
|
}
|
|
35481
35939
|
_handleThreadAddressSearchInput(event) {
|
|
35482
35940
|
this._threadAddressSearch = event.target.value;
|
|
@@ -35530,6 +35988,37 @@ let MatterNetworkView = class extends i$4 {
|
|
|
35530
35988
|
<button class="control-button" @click=${this._handleFitToScreen} title="Fit to screen">
|
|
35531
35989
|
<ha-svg-icon .path=${mdiFitToScreen}></ha-svg-icon>
|
|
35532
35990
|
</button>
|
|
35991
|
+
<div class="hide-menu-container">
|
|
35992
|
+
<button
|
|
35993
|
+
class="control-button ${this._isAnyHideOptionActive() ? "active" : ""}"
|
|
35994
|
+
@click=${this._handleToggleHideMenu}
|
|
35995
|
+
title="Hide options"
|
|
35996
|
+
aria-haspopup="true"
|
|
35997
|
+
aria-expanded=${this._showHideMenu}
|
|
35998
|
+
aria-controls="hide-options-menu"
|
|
35999
|
+
>
|
|
36000
|
+
<ha-svg-icon .path=${mdiEyeOff}></ha-svg-icon>
|
|
36001
|
+
</button>
|
|
36002
|
+
${this._showHideMenu ? b`
|
|
36003
|
+
<div
|
|
36004
|
+
id="hide-options-menu"
|
|
36005
|
+
class="hide-dropdown"
|
|
36006
|
+
role="group"
|
|
36007
|
+
aria-label="Hide options"
|
|
36008
|
+
>
|
|
36009
|
+
${HIDE_OPTIONS.map(option => b`
|
|
36010
|
+
<label class="hide-option">
|
|
36011
|
+
<input
|
|
36012
|
+
type="checkbox"
|
|
36013
|
+
.checked=${this[option.key]}
|
|
36014
|
+
@change=${() => this._handleToggleHideOption(option.key)}
|
|
36015
|
+
/>
|
|
36016
|
+
<span>${option.label}</span>
|
|
36017
|
+
</label>
|
|
36018
|
+
`)}
|
|
36019
|
+
</div>
|
|
36020
|
+
` : ""}
|
|
36021
|
+
</div>
|
|
35533
36022
|
<button
|
|
35534
36023
|
class="control-button ${this._physicsEnabled ? "" : "active"}"
|
|
35535
36024
|
@click=${this._handleTogglePhysics}
|
|
@@ -35545,6 +36034,10 @@ let MatterNetworkView = class extends i$4 {
|
|
|
35545
36034
|
</div>`}
|
|
35546
36035
|
<thread-graph
|
|
35547
36036
|
.nodes=${this.nodes}
|
|
36037
|
+
.hideOfflineNodes=${this._hideOfflineNodes}
|
|
36038
|
+
.hideWeakSignalEdges=${this._hideWeakSignalEdges}
|
|
36039
|
+
.hideMediumSignalEdges=${this._hideMediumSignalEdges}
|
|
36040
|
+
.hideStrongSignalEdges=${this._hideStrongSignalEdges}
|
|
35548
36041
|
@node-selected=${this._handleNodeSelected}
|
|
35549
36042
|
@physics-changed=${this._handlePhysicsChanged}
|
|
35550
36043
|
></thread-graph>
|
|
@@ -35584,10 +36077,11 @@ let MatterNetworkView = class extends i$4 {
|
|
|
35584
36077
|
`;
|
|
35585
36078
|
}
|
|
35586
36079
|
render() {
|
|
35587
|
-
var _this$
|
|
36080
|
+
var _this$_threadGraph8, _this$_wifiGraph8, _this$_threadGraph9;
|
|
35588
36081
|
const showSidebar = this._selectedNodeId !== null;
|
|
35589
|
-
const unknownDevices = ((_this$
|
|
35590
|
-
const wifiAccessPoints = ((_this$
|
|
36082
|
+
const unknownDevices = ((_this$_threadGraph8 = this._threadGraph) === null || _this$_threadGraph8 === void 0 ? void 0 : _this$_threadGraph8.unknownDevicesMap) ?? /* @__PURE__ */new Map();
|
|
36083
|
+
const wifiAccessPoints = ((_this$_wifiGraph8 = this._wifiGraph) === null || _this$_wifiGraph8 === void 0 ? void 0 : _this$_wifiGraph8.wifiAccessPointsMap) ?? /* @__PURE__ */new Map();
|
|
36084
|
+
const threadEdgePairs = ((_this$_threadGraph9 = this._threadGraph) === null || _this$_threadGraph9 === void 0 ? void 0 : _this$_threadGraph9.edgePairs) ?? /* @__PURE__ */new Map();
|
|
35591
36085
|
return b`
|
|
35592
36086
|
<dashboard-header
|
|
35593
36087
|
title="Open Home Foundation Matter Server"
|
|
@@ -35608,6 +36102,11 @@ let MatterNetworkView = class extends i$4 {
|
|
|
35608
36102
|
.nodes=${this.nodes}
|
|
35609
36103
|
.unknownDevices=${unknownDevices}
|
|
35610
36104
|
.wifiAccessPoints=${wifiAccessPoints}
|
|
36105
|
+
.threadEdgePairs=${threadEdgePairs}
|
|
36106
|
+
.hideOfflineNodes=${this._hideOfflineNodes}
|
|
36107
|
+
.hideWeakSignalEdges=${this._hideWeakSignalEdges}
|
|
36108
|
+
.hideMediumSignalEdges=${this._hideMediumSignalEdges}
|
|
36109
|
+
.hideStrongSignalEdges=${this._hideStrongSignalEdges}
|
|
35611
36110
|
@close=${this._handleDetailsClose}
|
|
35612
36111
|
@select-node=${this._handleSelectNode}
|
|
35613
36112
|
></network-details>
|
|
@@ -35771,6 +36270,47 @@ MatterNetworkView.styles = [reducedMotionStyles, i$7`
|
|
|
35771
36270
|
--icon-primary-color: var(--md-sys-color-on-primary-container, #21005d);
|
|
35772
36271
|
}
|
|
35773
36272
|
|
|
36273
|
+
.hide-menu-container {
|
|
36274
|
+
position: relative;
|
|
36275
|
+
}
|
|
36276
|
+
|
|
36277
|
+
.hide-dropdown {
|
|
36278
|
+
position: absolute;
|
|
36279
|
+
top: calc(100% + 4px);
|
|
36280
|
+
right: 0;
|
|
36281
|
+
background: var(--md-sys-color-surface-container, #fff);
|
|
36282
|
+
border: 1px solid var(--md-sys-color-outline-variant, #ccc);
|
|
36283
|
+
border-radius: 4px;
|
|
36284
|
+
box-shadow: var(--md-sys-elevation-level2, 0 2px 6px var(--md-sys-color-shadow, rgba(0, 0, 0, 0.15)));
|
|
36285
|
+
min-width: 150px;
|
|
36286
|
+
z-index: 100;
|
|
36287
|
+
padding: 4px 0;
|
|
36288
|
+
}
|
|
36289
|
+
|
|
36290
|
+
.hide-option {
|
|
36291
|
+
display: flex;
|
|
36292
|
+
align-items: center;
|
|
36293
|
+
gap: 8px;
|
|
36294
|
+
padding: 8px 12px;
|
|
36295
|
+
cursor: pointer;
|
|
36296
|
+
color: var(--md-sys-color-on-surface, #1c1b1f);
|
|
36297
|
+
font-size: 0.9rem;
|
|
36298
|
+
user-select: none;
|
|
36299
|
+
}
|
|
36300
|
+
|
|
36301
|
+
.hide-option:hover {
|
|
36302
|
+
background-color: var(--md-sys-color-surface-container-high, #e8e8e8);
|
|
36303
|
+
}
|
|
36304
|
+
|
|
36305
|
+
.hide-option input[type="checkbox"] {
|
|
36306
|
+
cursor: pointer;
|
|
36307
|
+
margin: 0;
|
|
36308
|
+
}
|
|
36309
|
+
|
|
36310
|
+
.hide-option span {
|
|
36311
|
+
flex: 1;
|
|
36312
|
+
}
|
|
36313
|
+
|
|
35774
36314
|
.graph-section thread-graph,
|
|
35775
36315
|
.graph-section wifi-graph {
|
|
35776
36316
|
flex: 1 1 0;
|
|
@@ -35869,6 +36409,11 @@ __decorateClass$4([r$2()], MatterNetworkView.prototype, "_selectedNodeId", 2);
|
|
|
35869
36409
|
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_physicsEnabled", 2);
|
|
35870
36410
|
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_threadAddressSearch", 2);
|
|
35871
36411
|
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_threadAddressSearchStatus", 2);
|
|
36412
|
+
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_showHideMenu", 2);
|
|
36413
|
+
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_hideOfflineNodes", 2);
|
|
36414
|
+
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_hideWeakSignalEdges", 2);
|
|
36415
|
+
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_hideMediumSignalEdges", 2);
|
|
36416
|
+
__decorateClass$4([r$2()], MatterNetworkView.prototype, "_hideStrongSignalEdges", 2);
|
|
35872
36417
|
__decorateClass$4([e$5("thread-graph")], MatterNetworkView.prototype, "_threadGraph", 2);
|
|
35873
36418
|
__decorateClass$4([e$5("wifi-graph")], MatterNetworkView.prototype, "_wifiGraph", 2);
|
|
35874
36419
|
MatterNetworkView = __decorateClass$4([t$1("matter-network-view")], MatterNetworkView);
|
|
@@ -36073,7 +36618,7 @@ MatterNodeView = __decorateClass$3([t$1("matter-node-view")], MatterNodeView);
|
|
|
36073
36618
|
*/
|
|
36074
36619
|
const showCommissionNodeDialog = async client => {
|
|
36075
36620
|
var _document$querySelect;
|
|
36076
|
-
await import('./commission-node-dialog-
|
|
36621
|
+
await import('./commission-node-dialog-Dge7vt1X.js');
|
|
36077
36622
|
const dialog = document.createElement("commission-node-dialog");
|
|
36078
36623
|
dialog.client = client;
|
|
36079
36624
|
(_document$querySelect = document.querySelector("matter-dashboard-app")) === null || _document$querySelect === void 0 || _document$querySelect.renderRoot.appendChild(dialog);
|