feat(furniture): обновить иконку посудомоечной машины (#640)

Issue: #640
User-Visible: yes
This commit is contained in:
Claude
2026-09-23 15:49:45 +00:00
committed by claude[bot]
parent 77bf22f111
commit 5315ad297d
51 changed files with 403 additions and 377 deletions
@@ -1,127 +1,127 @@
{
"schema": 1,
"fingerprint": "09eee3d41357369f29bbd17ea4021a57f935e964efbde97ecd2883e2bf1259dc",
"fingerprint": "8f222b5ad0274c17c344c282ca3e32eb28671e9dc3aa34378d6f48e6e0221f9f",
"entry": "houseplan-card.js",
"panelEntry": "houseplan-panel.js",
"initialViewFiles": [
"houseplan-assets/houseplan-card-xjcAWvNG.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js",
"houseplan-card.js"
],
"initialViewGzipBytes": 291016,
"initialViewGzipBytes": 291023,
"initialPanelFiles": [
"houseplan-assets/houseplan-card-xjcAWvNG.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js",
"houseplan-panel.js"
],
"initialPanelGzipBytes": 292538,
"initialPanelGzipBytes": 292546,
"initialPanelOnlyFiles": [
"houseplan-panel.js"
],
"initialPanelOnlyGzipBytes": 2325,
"initialPanelOnlyGzipBytes": 2327,
"lazyFiles": [
"houseplan-assets/backdrop-pick-D07oL2TK.js",
"houseplan-assets/de-DIHFMCum.js",
"houseplan-assets/editor-D_SADk2o.js",
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/fr-yH4vZgS2.js",
"houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js",
"houseplan-assets/houseplan-editor-runtime-DAwnMG24.js",
"houseplan-assets/houseplan-onboarding-runtime-CHC6Vvzf.js",
"houseplan-assets/hp-zigbee-topology-overlay-BH6tmu0T.js",
"houseplan-assets/iso-scene-render-OZjtHLky.js",
"houseplan-assets/live-interaction-runtime-DwJmZsFG.js",
"houseplan-assets/pdf-export-C1cFfKFZ.js",
"houseplan-assets/summary-panel-runtime-loaded-Cpaii3Qi.js",
"houseplan-assets/zigbee-topology-Dd0N8cUl.js",
"houseplan-assets/zigbee-topology-runtime-C1mf34Fb.js"
"houseplan-assets/backdrop-pick-D037hGKx.js",
"houseplan-assets/de-CS_qXuL5.js",
"houseplan-assets/editor-DYqJulz6.js",
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/fr-CiB3w8kx.js",
"houseplan-assets/furniture-plan-art.generated-C7GiTECB.js",
"houseplan-assets/houseplan-editor-runtime-DLp4pmhG.js",
"houseplan-assets/houseplan-onboarding-runtime-s0E_BYQL.js",
"houseplan-assets/hp-zigbee-topology-overlay-XA1IzP47.js",
"houseplan-assets/iso-scene-render-EtKEiUyw.js",
"houseplan-assets/live-interaction-runtime-a4GMbk1o.js",
"houseplan-assets/pdf-export-Co9eqeeJ.js",
"houseplan-assets/summary-panel-runtime-loaded-BYwsYMyv.js",
"houseplan-assets/zigbee-topology-Dzio6CKb.js",
"houseplan-assets/zigbee-topology-runtime-D9xtMn5H.js"
],
"lazyGzipBytes": 460844,
"lazyGzipBytes": 460958,
"lazyEditorFiles": [
"houseplan-assets/backdrop-pick-D07oL2TK.js",
"houseplan-assets/editor-D_SADk2o.js",
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js",
"houseplan-assets/houseplan-editor-runtime-DAwnMG24.js",
"houseplan-assets/zigbee-topology-Dd0N8cUl.js"
"houseplan-assets/backdrop-pick-D037hGKx.js",
"houseplan-assets/editor-DYqJulz6.js",
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/furniture-plan-art.generated-C7GiTECB.js",
"houseplan-assets/houseplan-editor-runtime-DLp4pmhG.js",
"houseplan-assets/zigbee-topology-Dzio6CKb.js"
],
"lazyEditorGzipBytes": 244340,
"lazyEditorGzipBytes": 244440,
"lazyOnboardingFiles": [
"houseplan-assets/backdrop-pick-D07oL2TK.js",
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/houseplan-onboarding-runtime-CHC6Vvzf.js"
"houseplan-assets/backdrop-pick-D037hGKx.js",
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/houseplan-onboarding-runtime-s0E_BYQL.js"
],
"lazyOnboardingGzipBytes": 34527,
"lazyOnboardingGzipBytes": 34528,
"lazyLocaleFiles": [
"houseplan-assets/de-DIHFMCum.js",
"houseplan-assets/fr-yH4vZgS2.js"
"houseplan-assets/de-CS_qXuL5.js",
"houseplan-assets/fr-CiB3w8kx.js"
],
"lazyLocaleGzipBytes": 55254,
"lazyLocaleGzipBytes": 55258,
"lazyIsometricFiles": [
"houseplan-assets/iso-scene-render-OZjtHLky.js"
"houseplan-assets/iso-scene-render-EtKEiUyw.js"
],
"lazyIsometricGzipBytes": 17641,
"lazyIsometricGzipBytes": 17639,
"lazyFurnitureArtFiles": [
"houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js"
"houseplan-assets/furniture-plan-art.generated-C7GiTECB.js"
],
"lazyFurnitureArtGzipBytes": 16939,
"lazyPdfFiles": [
"houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js",
"houseplan-assets/pdf-export-C1cFfKFZ.js"
"houseplan-assets/furniture-plan-art.generated-C7GiTECB.js",
"houseplan-assets/pdf-export-Co9eqeeJ.js"
],
"lazyPdfGzipBytes": 126825,
"files": [
{
"path": "houseplan-assets/backdrop-pick-D07oL2TK.js",
"sha256": "056cce95c92b26c22ed53dca93da4533787c2f4a8eaf37b2014341400f3bbb7c",
"path": "houseplan-assets/backdrop-pick-D037hGKx.js",
"sha256": "2824bef500f5ac1309ceca79f8ee496d9060f86044793b010c856b6510d62f08",
"rawBytes": 76524,
"gzipBytes": 24574,
"gzipBytes": 24573,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/de-DIHFMCum.js",
"sha256": "5a063eeae766d2ae948a466a0b9710e8d8a118775248bcc0089c5b3da1a6a802",
"path": "houseplan-assets/de-CS_qXuL5.js",
"sha256": "fbed987cf5caf8929693f43ab569ad451585164586e55a071abe5e25c239bf3b",
"rawBytes": 92247,
"gzipBytes": 27863,
"gzipBytes": 27866,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/editor-D_SADk2o.js",
"sha256": "0b970a60b3e100de5c3200e91ecbf6c2cb6d0abbe1f46d27927a59865d9390dd",
"path": "houseplan-assets/editor-DYqJulz6.js",
"sha256": "52aabf822197a3b151061ca67af86c7c0824c858d60d12562a9ef1c876260351",
"rawBytes": 3833,
"gzipBytes": 1582,
"gzipBytes": 1585,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/form-kit.styles-PP1WZrH6.js",
"sha256": "a468cdbc6c561d761f9b3f9a519ff16e3884907765d01f3381a37e285d9104e6",
"path": "houseplan-assets/form-kit.styles-t-UmcFir.js",
"sha256": "51fc5f5895973faf298bba944a6d93cd9b5de4ffa5a4b7530c0ef3d564c2ed78",
"rawBytes": 25600,
"gzipBytes": 5056,
"gzipBytes": 5057,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/fr-yH4vZgS2.js",
"sha256": "7a2bc31f73e9bb22183c929291776e70c17708d8b83fdaaca0e34189da93c279",
"path": "houseplan-assets/fr-CiB3w8kx.js",
"sha256": "6b15282ab9f734cf8c034057695c2401c771b3dfc1136e583fe14179ceab98ec",
"rawBytes": 94579,
"gzipBytes": 27391,
"gzipBytes": 27392,
"isEntry": false,
"imports": [],
"dynamicImports": []
},
{
"path": "houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js",
"sha256": "6cbb444427df2064078f6c5e02e58170c8bbb6896ee1e2d7c9b8eda3166332c2",
"path": "houseplan-assets/furniture-plan-art.generated-C7GiTECB.js",
"sha256": "1458aea49e564d6e0617535dc2655d5233d10e91aecbb76c309f052accd606e9",
"rawBytes": 52035,
"gzipBytes": 16939,
"isEntry": false,
@@ -129,184 +129,184 @@
"dynamicImports": []
},
{
"path": "houseplan-assets/houseplan-card-xjcAWvNG.js",
"sha256": "b38d6788a460cf8da6b2593171d6fa496f4a7a16e8357a647f205e01a3efc5bb",
"path": "houseplan-assets/houseplan-card-AWlZFMYj.js",
"sha256": "c895dd1821800507428534a17041bd956bbd60ed7f1a3d89ab16b9a26efc8d36",
"rawBytes": 1031784,
"gzipBytes": 290213,
"gzipBytes": 290219,
"isEntry": false,
"imports": [],
"dynamicImports": [
"houseplan-assets/de-DIHFMCum.js",
"houseplan-assets/editor-D_SADk2o.js",
"houseplan-assets/fr-yH4vZgS2.js",
"houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js",
"houseplan-assets/houseplan-editor-runtime-DAwnMG24.js",
"houseplan-assets/houseplan-onboarding-runtime-CHC6Vvzf.js",
"houseplan-assets/hp-zigbee-topology-overlay-BH6tmu0T.js",
"houseplan-assets/iso-scene-render-OZjtHLky.js",
"houseplan-assets/live-interaction-runtime-DwJmZsFG.js",
"houseplan-assets/pdf-export-C1cFfKFZ.js",
"houseplan-assets/summary-panel-runtime-loaded-Cpaii3Qi.js"
"houseplan-assets/de-CS_qXuL5.js",
"houseplan-assets/editor-DYqJulz6.js",
"houseplan-assets/fr-CiB3w8kx.js",
"houseplan-assets/furniture-plan-art.generated-C7GiTECB.js",
"houseplan-assets/houseplan-editor-runtime-DLp4pmhG.js",
"houseplan-assets/houseplan-onboarding-runtime-s0E_BYQL.js",
"houseplan-assets/hp-zigbee-topology-overlay-XA1IzP47.js",
"houseplan-assets/iso-scene-render-EtKEiUyw.js",
"houseplan-assets/live-interaction-runtime-a4GMbk1o.js",
"houseplan-assets/pdf-export-Co9eqeeJ.js",
"houseplan-assets/summary-panel-runtime-loaded-BYwsYMyv.js"
]
},
{
"path": "houseplan-assets/houseplan-editor-runtime-DAwnMG24.js",
"sha256": "d834f293a5842c866b6fb035ccb12ca288e4d4cb6b57fe15bd81aec3d8d12121",
"rawBytes": 679038,
"gzipBytes": 188761,
"path": "houseplan-assets/houseplan-editor-runtime-DLp4pmhG.js",
"sha256": "3dd1e0e09e33b79336c17ee8735ccc91d8505a57ca2b9c1bb323c12c3a7c9af6",
"rawBytes": 678284,
"gzipBytes": 188859,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-D07oL2TK.js",
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js",
"houseplan-assets/houseplan-card-xjcAWvNG.js",
"houseplan-assets/zigbee-topology-Dd0N8cUl.js"
"houseplan-assets/backdrop-pick-D037hGKx.js",
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/furniture-plan-art.generated-C7GiTECB.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js",
"houseplan-assets/zigbee-topology-Dzio6CKb.js"
],
"dynamicImports": [
"houseplan-assets/zigbee-topology-runtime-C1mf34Fb.js"
"houseplan-assets/zigbee-topology-runtime-D9xtMn5H.js"
]
},
{
"path": "houseplan-assets/houseplan-onboarding-runtime-CHC6Vvzf.js",
"sha256": "80057a6e1f7e5d13347ca32ba7384faef8da2ce9b588c15514bc4271ff0b71b7",
"path": "houseplan-assets/houseplan-onboarding-runtime-s0E_BYQL.js",
"sha256": "2cb3b8de84d11f113164c78f31dc317108bb9699c72a63c2514d9a3ae16aa4fc",
"rawBytes": 15986,
"gzipBytes": 4897,
"gzipBytes": 4898,
"isEntry": false,
"imports": [
"houseplan-assets/backdrop-pick-D07oL2TK.js",
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/backdrop-pick-D037hGKx.js",
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/hp-zigbee-topology-overlay-BH6tmu0T.js",
"sha256": "c40de071d8c84a6cd9dfe70e2352f34446272cf9fed4e608b72ccfda44176ecc",
"path": "houseplan-assets/hp-zigbee-topology-overlay-XA1IzP47.js",
"sha256": "3b12689926c6e11591e90b78c19e77b6d456e2fc976a4c0f8aa12857b0b8b599",
"rawBytes": 10759,
"gzipBytes": 3685,
"gzipBytes": 3687,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js",
"houseplan-assets/zigbee-topology-Dd0N8cUl.js",
"houseplan-assets/zigbee-topology-runtime-C1mf34Fb.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js",
"houseplan-assets/zigbee-topology-Dzio6CKb.js",
"houseplan-assets/zigbee-topology-runtime-D9xtMn5H.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/iso-scene-render-OZjtHLky.js",
"sha256": "fa6c4060c5cdeb30f6256d32eb4bf5eabd37f1bf92f033e01c82555954794846",
"path": "houseplan-assets/iso-scene-render-EtKEiUyw.js",
"sha256": "080adfb2d01cbf1f1cd2f87a058131e74b3c5168750e96d21ab3e8b7032ddfa3",
"rawBytes": 51983,
"gzipBytes": 17641,
"gzipBytes": 17639,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/live-interaction-runtime-DwJmZsFG.js",
"sha256": "5f3cd30e3c7aab4a8e56426ebb2d40f62fef32be4694547f905c5edaca2d9644",
"path": "houseplan-assets/live-interaction-runtime-a4GMbk1o.js",
"sha256": "a2933679fa313323ef1b043fae54e38eb9403714eb7d70a2a69f71d7d462e9e8",
"rawBytes": 8216,
"gzipBytes": 3206,
"gzipBytes": 3210,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/pdf-export-C1cFfKFZ.js",
"sha256": "b929528bbd3820becb826a223883d0548cf13f50c5dbbdcb23eda058deddf86e",
"path": "houseplan-assets/pdf-export-Co9eqeeJ.js",
"sha256": "b52a6188e9ac6b675bad77876b9922cd1d9d758bd2f508a53b0b58ddfa41f04e",
"rawBytes": 236264,
"gzipBytes": 109886,
"isEntry": false,
"imports": [
"houseplan-assets/furniture-plan-art.generated-BGrB3xRQ.js",
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/furniture-plan-art.generated-C7GiTECB.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-editor-BqLEzpeW.js",
"sha256": "bbf6e2c80ffdbf73c6531d97e6d6b0f146d2a1086a4c987f4ac8bbc4a10eba8e",
"path": "houseplan-assets/summary-panel-editor--8P1wJy4.js",
"sha256": "137bf7df4f9a0083820d20d8399f0bc3b4acada562508760a90738a7e25763d7",
"rawBytes": 14862,
"gzipBytes": 3424,
"gzipBytes": 3425,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/houseplan-card-xjcAWvNG.js",
"houseplan-assets/summary-panel-runtime-loaded-Cpaii3Qi.js"
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js",
"houseplan-assets/summary-panel-runtime-loaded-BYwsYMyv.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-metrics-DzrPgRvW.js",
"sha256": "bcdbb80006c7fbee36886bb422abeb12711cbb08769e6715dbf1e7a285e42e52",
"path": "houseplan-assets/summary-panel-metrics-C5QsaNBx.js",
"sha256": "91d13e36536fddff2969c3e0b16aa74fe3d23c9b8a2749c4e74444ba80166baf",
"rawBytes": 2611,
"gzipBytes": 1306,
"gzipBytes": 1307,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/summary-panel-runtime-loaded-Cpaii3Qi.js",
"sha256": "101c278bdec428430f546d2b808d56fdca473d76634208b6181fc1ddede2676a",
"path": "houseplan-assets/summary-panel-runtime-loaded-BYwsYMyv.js",
"sha256": "f45767df1f3d068ae9c27686459ed0fe043c4a2c306f875b3c4cdbf943725c77",
"rawBytes": 72733,
"gzipBytes": 20174,
"gzipBytes": 20175,
"isEntry": false,
"imports": [
"houseplan-assets/form-kit.styles-PP1WZrH6.js",
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/form-kit.styles-t-UmcFir.js",
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": [
"houseplan-assets/summary-panel-editor-BqLEzpeW.js",
"houseplan-assets/summary-panel-metrics-DzrPgRvW.js"
"houseplan-assets/summary-panel-editor--8P1wJy4.js",
"houseplan-assets/summary-panel-metrics-C5QsaNBx.js"
]
},
{
"path": "houseplan-assets/zigbee-topology-Dd0N8cUl.js",
"sha256": "bfac5fac0a13406f3b37ba675a614cc01d9bf74ef4d2045ffd65f730dd865848",
"path": "houseplan-assets/zigbee-topology-Dzio6CKb.js",
"sha256": "220f22f92da35c8c7138b11613913749b79f3bde945db4b5fb93918701841615",
"rawBytes": 18962,
"gzipBytes": 7428,
"gzipBytes": 7427,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-assets/zigbee-topology-runtime-C1mf34Fb.js",
"sha256": "7f184b3ae9c88eeb525876a607136207b2d92cbca7c5967a0020c3f37ccae922",
"path": "houseplan-assets/zigbee-topology-runtime-D9xtMn5H.js",
"sha256": "26cef6bb354237e601fddc9f288b0f9115b19cec046ddaef5edf86521311be83",
"rawBytes": 3942,
"gzipBytes": 1761,
"gzipBytes": 1765,
"isEntry": false,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js",
"houseplan-assets/zigbee-topology-Dd0N8cUl.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js",
"houseplan-assets/zigbee-topology-Dzio6CKb.js"
],
"dynamicImports": []
},
{
"path": "houseplan-card.js",
"sha256": "6ff1a7a8e0062f1bd57ac1fb918c4d9e441f050c16b909a395358763550989bb",
"sha256": "0ebde23af05da23b1be652f557cc50e96ddbdd2aaa1d77dee1cfaee9f5d20b68",
"rawBytes": 1205,
"gzipBytes": 803,
"gzipBytes": 804,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
},
{
"path": "houseplan-panel.js",
"sha256": "2b13d7470257be5bce006e686e43f67fa9f1aeda675a5ff285c36da80eaa6011",
"sha256": "fbc2b1c80975fbd8c8a1b1f61919d76eaeba67c6378d21fa10f6f814aed8a9de",
"rawBytes": 6165,
"gzipBytes": 2325,
"gzipBytes": 2327,
"isEntry": true,
"imports": [
"houseplan-assets/houseplan-card-xjcAWvNG.js"
"houseplan-assets/houseplan-card-AWlZFMYj.js"
],
"dynamicImports": []
}
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09eee3d41357369f29bbd17ea4021a57f935e964efbde97ecd2883e2bf1259dc";import{A as e,c as a,s as t,l as i,d as n,ap as s,h as r,j as o,g as l,dH as c,dI as p,dJ as d,cL as h,dK as u,cK as m,dL as g,cQ as _,cP as b,dM as f,bs as v,br as w,bt as y,av as k,aC as $,aD as x,dN as S}from"./houseplan-card-xjcAWvNG.js";import{c as C,f as M,C as L}from"./form-kit.styles-PP1WZrH6.js";const z=C+M(L,{withSwitch:!1}),P=new WeakSet;let D=null;function T(e){const a=e.renderRoot;if(!a||P.has(a))return;const t=a.ownerDocument??globalThis.document,i=t?.defaultView?.CSSStyleSheet;if(i&&"adoptedStyleSheets"in a)return D||(D=new i,D.replaceSync(z)),a.adoptedStyleSheets=[...a.adoptedStyleSheets,D],void P.add(a);if(a.querySelector("style[data-hp-form-kit]"))return void P.add(a);const n=t.createElement("style");n.dataset.hpFormKit="true",n.textContent=z,a.appendChild(n),P.add(a)}function H({title:t,help:i,body:n,id:s}){return a`<section class="hpf-card" data-card=${s??e}>
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8f222b5ad0274c17c344c282ca3e32eb28671e9dc3aa34378d6f48e6e0221f9f";import{A as e,c as a,s as t,l as i,d as n,ap as s,h as r,j as o,g as l,dH as c,dI as p,dJ as d,cL as h,dK as u,cK as m,dL as g,cQ as _,cP as b,dM as f,bs as v,br as w,bt as y,av as k,aC as $,aD as x,dN as S}from"./houseplan-card-AWlZFMYj.js";import{c as C,f as M,C as L}from"./form-kit.styles-t-UmcFir.js";const z=C+M(L,{withSwitch:!1}),P=new WeakSet;let D=null;function T(e){const a=e.renderRoot;if(!a||P.has(a))return;const t=a.ownerDocument??globalThis.document,i=t?.defaultView?.CSSStyleSheet;if(i&&"adoptedStyleSheets"in a)return D||(D=new i,D.replaceSync(z)),a.adoptedStyleSheets=[...a.adoptedStyleSheets,D],void P.add(a);if(a.querySelector("style[data-hp-form-kit]"))return void P.add(a);const n=t.createElement("style");n.dataset.hpFormKit="true",n.textContent=z,a.appendChild(n),P.add(a)}function H({title:t,help:i,body:n,id:s}){return a`<section class="hpf-card" data-card=${s??e}>
${t?a`<div class="hpf-head"><h3>${t}</h3>${i??e}</div>`:e}
<div class="hpf-body">${n}</div>
</section>`}function E({title:t,help:i}){return a`<div class="hpf-sub"><h4>${t}</h4>${i??e}</div>`}function F({label:t,htmlFor:i,help:n,control:s,hint:r,error:o}){return a`<div class="hpf-field">
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09eee3d41357369f29bbd17ea4021a57f935e964efbde97ecd2883e2bf1259dc";import{aD as e,l as o,aG as t,ee as s,A as a,ef as i,eg as l,eh as n,E as r,c}from"./houseplan-card-xjcAWvNG.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8f222b5ad0274c17c344c282ca3e32eb28671e9dc3aa34378d6f48e6e0221f9f";import{aD as e,l as o,aG as t,ee as s,A as a,ef as i,eg as l,eh as n,E as r,c}from"./houseplan-card-AWlZFMYj.js";class h extends e{constructor(){super(...arguments),this._spaces=null,this._spacesLoading=!1,this._spacesAuthoritative=!1}setConfig(e){this._config=e}async _loadSpaces(){if(!this._spaces&&!this._spacesLoading&&this.hass){this._spacesLoading=!0;try{const e=await this.hass.callWS({type:"houseplan/config/get"});this._spaces=(e?.config?.spaces||[]).map(e=>({value:e.id,label:e.title||e.id})),this._spacesAuthoritative=!0}catch{this._spaces=[],this._spacesAuthoritative=!1}finally{this._spacesLoading=!1}}}get _lang(){return o(this.hass,this._config?.language)}get _floorToken(){const e=this._config?.floor;return"number"==typeof e?`__houseplan_yaml_floor_index__:${String(e)}`:null}get _formData(){const e={...this._config},o=this._floorToken;return o?e.floor=o:Object.prototype.hasOwnProperty.call(e,"floor")||(e.floor=""),e}get _schema(){const e=this._spaces||[],o=this._lang,a=[{value:"",label:t(o,"editor.floor_none")}],i=this._floorToken;i&&a.push({value:i,label:t(o,"editor.floor_index",{index:String(this._config?.floor)})});const l="string"==typeof this._config?.floor?this._config.floor:"";l&&!e.some(e=>e.value===l)&&a.push({value:l,label:l}),a.push(...e);const n="string"==typeof this._config?.default_floor?this._config.default_floor:"",r=[...e];return n&&!e.some(e=>e.value===n)&&r.unshift({value:n,label:n}),[{name:"title",selector:{text:{}}},{name:"floor",selector:{select:{mode:"dropdown",options:a}}},e.length?{name:"default_floor",selector:{select:{mode:"dropdown",options:r}}}:{name:"default_floor",selector:{text:{}}},{name:"language",selector:{select:{mode:"dropdown",options:s(t(o,"editor.lang_auto"),this._config?.language)}}},{name:"icon_size",selector:{number:{min:1,max:6,step:.1,mode:"box"}}},{name:"show_temperature",selector:{boolean:{}}},{name:"live_states",selector:{boolean:{}}},{name:"show_signal",selector:{boolean:{}}},{name:"kiosk",selector:{boolean:{}}},{name:"cycle",selector:{number:{min:0,max:3600,step:5,mode:"box"}}}]}render(){if(!this.hass||!this._config)return a;const e=i(this,l,o(this.hass,this._config.language));if("cold"===e)return n();if("warm"===e)return r;this._loadSpaces();const s=this._lang,h={title:t(s,"editor.title"),floor:t(s,"editor.floor"),default_floor:t(s,"editor.default_floor"),language:t(s,"editor.language"),icon_size:t(s,"editor.icon_size"),show_temperature:t(s,"editor.show_temperature"),live_states:t(s,"editor.live_states"),show_signal:t(s,"editor.show_signal"),kiosk:t(s,"editor.kiosk"),cycle:t(s,"editor.cycle")},f=this._schema,_=function(e,o,t){if(!t||null===o)return null;const s="string"==typeof e?.default_floor?e.default_floor:"";return!s||o.some(e=>e.value===s)?null:s}(this._config,this._spaces,this._spacesAuthoritative),d=e=>c`<ha-form
.hass=${this.hass}
.data=${this._formData}
.schema=${e}
@@ -1,4 +1,4 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09eee3d41357369f29bbd17ea4021a57f935e964efbde97ecd2883e2bf1259dc";import{c as a,A as e}from"./houseplan-card-xjcAWvNG.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-Cpaii3Qi.js";import"./form-kit.styles-PP1WZrH6.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8f222b5ad0274c17c344c282ca3e32eb28671e9dc3aa34378d6f48e6e0221f9f";import{c as a,A as e}from"./houseplan-card-AWlZFMYj.js";import{s,n as t,a as l,m as r,b as o,c as i,d as u}from"./summary-panel-runtime-loaded-BYwsYMyv.js";import"./form-kit.styles-t-UmcFir.js";const m=m=>{const{host:c,dialog:d,problems:n,t:b}=m,y=n.find(a=>"error"===a.kind),$=d.localShow!==d.baseLocalShow||!d.localOnly&&!s(t(d.draft),d.base),p=$&&!d.busy&&!y,v=a=>n.find(e=>e.path===a),h=a=>a?b(`summary.problem.${a.code}`):"",k=()=>m.close(),g=a`<label class="summary-switch" for="summary-local-show">
<span class="summary-switch-caption"><strong>${b("summary.show_local")}</strong>
<small id="summary-local-show-hint">${b("summary.show_local_hint")}</small></span>
<input id="summary-local-show" data-summary-local-show type="checkbox"
@@ -0,0 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8f222b5ad0274c17c344c282ca3e32eb28671e9dc3aa34378d6f48e6e0221f9f";import{ek as e,N as t,a$ as n,L as i,ae as o,ac as r,bT as s,bS as a,a_ as c,aZ as l,b0 as u,el as d,em as f,bV as m,en as g}from"./houseplan-card-AWlZFMYj.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=u(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,c="entity"===r?e.registry.entities?.[s]:null,l="device"===r?s:c?.device_id,u="device"===r?a?.area_id:c?.area_id||l&&e.registry.devices?.[l]?.area_id,d="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||u||"",f=d&&e.areaToSpace[d]||i.space||e.firstSpaceId;l&&e.registry.devices?.[l]&&e.spaceIds.has(f)&&(!n.devices.has(l)||"entity"===r&&n.liveEntities.has(s))&&t.add(l)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=c(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:l(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(c,l,u=_){try{let d=0;for(const f of l){const l=c.spaces.find(e=>String(e?.id)===f.id);if(!l)continue;const m=e(l,f),g=u(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const c=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(c,m.physicalBodies)),yield}const _=m.cellCm/o;d+=a(v)*_*_/1e4}return d}catch{return null}}function p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=d(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
@@ -1 +0,0 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09eee3d41357369f29bbd17ea4021a57f935e964efbde97ecd2883e2bf1259dc";import{ek as e,N as t,a$ as n,L as i,ae as o,ac as r,bT as s,bS as a,a_ as l,aZ as c,b0 as d,el as u,em as f,bV as m,en as g}from"./houseplan-card-xjcAWvNG.js";function v(e){if(!e.registry.authoritative)return null;const t=new Set,n=d(e.markers);for(const i of Object.values(e.registry.devices||{}))i?.id&&"service"!==i.entry_type&&!n.devices.has(i.id)&&i.area_id&&e.areaToSpace[i.area_id]&&t.add(i.id);for(const i of e.markers||[]){if(i.removed||"virtual"===i.binding)continue;const o=String(i.binding||"").indexOf(":");if(o<1)continue;const r=i.binding.slice(0,o),s=i.binding.slice(o+1),a="device"===r?e.registry.devices?.[s]:null,l="entity"===r?e.registry.entities?.[s]:null,c="device"===r?s:l?.device_id,d="device"===r?a?.area_id:l?.area_id||c&&e.registry.devices?.[c]?.area_id,u="string"==typeof i.room_id&&i.room_id.length>0&&null===i.area?"":i.area||d||"",f=u&&e.areaToSpace[u]||i.space||e.firstSpaceId;c&&e.registry.devices?.[c]&&e.spaceIds.has(f)&&(!n.devices.has(c)||"entity"===r&&n.liveEntities.has(s))&&t.add(c)}return t}function y(e,t){return e?.length?t?.length?g(e,t):e:t}function _(e,t){const n=l(e.rooms,t.walls,t.openCuts,[],i,t.cellCm,o,r);return{roomGeom:"ok"===n.status||"degraded-extra"===n.status?n.roomGeom:void 0,multiWallNodes:c(e.rooms,t.walls,t.openCuts,i,t.cellCm,o,r)}}function*h(l,c,d=_){try{let u=0;for(const f of c){const c=l.spaces.find(e=>String(e?.id)===f.id);if(!c)continue;const m=e(c,f),g=d(f,m);let v=null;for(const e of f.rooms){if(!e.id)continue;const a=t(e);if(!a)continue;const l=n(f.rooms,e.id,m.walls,m.openCuts,i,m.cellCm,o,r,g.roomGeom,g.multiWallNodes)||a;v=y(v,s(l,m.physicalBodies)),yield}const _=m.cellCm/o;u+=a(v)*_*_/1e4}return u}catch{return null}}function p(e,t,n=_){const i=h(e,t,n);let o=i.next();for(;!o.done;)o=i.next();return o.value}function b(e,t,n,i){if("system"!==e.type)return null;if("device_count"===e.key)return null===t.deviceCount?null:String(t.deviceCount);if("total_area"===e.key)return null===t.areaM2?null:m(t.areaM2,"mi"===n?.config?.unit_system?.length);try{return new Intl.DateTimeFormat(i||void 0,{dateStyle:"short",timeStyle:"short",timeZone:n?.config?.time_zone||void 0}).format(t.now)}catch{return t.now.toLocaleString()}}function S(e,t){const n=e?.states?.[t];if(!n)return null;const i=u(e,t);return i?f(i,String(n.attributes?.unit_of_measurement||"")):null}export{h as cleanFloorAreaSteps,v as representedHaDeviceIds,_ as spaceWallGeometry,S as summaryEntityValue,b as summarySystemValue,p as totalCleanFloorAreaM2};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09eee3d41357369f29bbd17ea4021a57f935e964efbde97ecd2883e2bf1259dc";import{n as t,b as n}from"./zigbee-topology-Dd0N8cUl.js";import{aM as e}from"./houseplan-card-xjcAWvNG.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8f222b5ad0274c17c344c282ca3e32eb28671e9dc3aa34378d6f48e6e0221f9f";import{n as t,b as n}from"./zigbee-topology-Dzio6CKb.js";import{aM as e}from"./houseplan-card-AWlZFMYj.js";const o=new WeakMap;function i(t){const n=function(t){const n=t?.connection||t;return!n||"object"!=typeof n&&"function"!=typeof n?null:n}(t);if(!n)return null;let e=o.get(n);return e||(e={revision:0,topologies:[],states:{},listeners:new Set,inflight:new Map},o.set(n,e)),e}function r(t,n,e){t.states={...t.states,[n]:e},function(t){t.revision++;for(const n of t.listeners)n()}(t)}function s(t){const n=t?.code;if("permission"===n||"unsupported"===n||"timeout"===n||"invalid_topic"===n||"invalid_payload"===n)return n;const e=String(t?.message||"").toLowerCase();return e.includes("unauthor")||e.includes("permission")?"permission":e.includes("unknown_command")||e.includes("not found")?"unsupported":"provider"}function a(t){return Object.assign(new Error(t),{code:t})}function c(t,n,e){const o=t.inflight.get(n);if(o)return o;r(t,n,{phase:"loading"});const i=e().then(n=>{if(!n.nodes.length&&n.warnings.some(t=>"invalid_payload"===t.code))throw a("invalid_payload");!function(t,n){t.topologies=[...t.topologies.filter(t=>!(t.provider===n.provider&&t.instanceId===n.instanceId)),n],r(t,"zha"===n.provider?"zha":`z2m:${n.instanceId}`,{phase:"ready",obtainedAt:n.obtainedAt,partial:n.warnings.length>0})}(t,n)}).catch(e=>{r(t,n,{phase:"error",error:s(e)})}).finally(()=>t.inflight.delete(n));return t.inflight.set(n,i),i}function l(t){const n=i(t);return n?{revision:n.revision,topologies:n.topologies,states:n.states}:{revision:0,topologies:[],states:{}}}function u(t,n){const e=i(t);return e?(e.listeners.add(n),()=>e.listeners.delete(n)):()=>{}}function f(t){if(!0!==t?.user?.is_admin)throw a("permission")}function p(n){const e=i(n);return e?c(e,"zha",async()=>{if(f(n),"function"!=typeof n?.callWS)throw a("unsupported");return t(await n.callWS({type:"zha/devices"}))}):Promise.resolve()}function d(t){return null!==t&&"object"==typeof t?t:null}function h(t){const n=d(t),e=n?.payload??t;if("string"!=typeof e)return e;try{return JSON.parse(e)}catch{return null}}async function m(t,n){let e;try{return await Promise.race([t,new Promise((t,o)=>{e=globalThis.setTimeout(()=>o(a("timeout")),Math.max(1,n))})])}finally{void 0!==e&&globalThis.clearTimeout(e)}}function g(t,o,r=15e4){const s=i(t);if(!s)return Promise.resolve();const l=e(o);return c(s,`z2m:${l||String(o)}`,async()=>{if(f(t),!l)throw a("invalid_topic");const e=t.connection,o=e?.subscribeMessage;if("function"!=typeof o||"function"!=typeof t?.callService)throw a("unsupported");const i=function(){const t=globalThis.crypto;return"function"==typeof t?.randomUUID?`houseplan-${t.randomUUID()}`:`houseplan-${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}(),s=Date.now()+Math.max(1,r);let c=!1,u=null,p=null,g=null;const y=new Promise(t=>{u=t}),w=new Promise((t,n)=>{p=t,g=n}),b=[];try{const r=await o.call(e,t=>{!0===d(t)?.retain&&h(t)&&u?.()},{type:"mqtt/subscribe",topic:`${l}/bridge/info`});"function"==typeof r&&b.push(r);const f=await o.call(e,t=>{if(!0===d(t)?.retain)return;const n=h(t);null!==n?n&&function(t){const n=d(t),e=n?.transaction??d(n?.data)?.transaction;return"string"==typeof e||"number"==typeof e?String(e):null}(n)===i&&p?.(n):c&&g?.(a("invalid_payload"))},{type:"mqtt/subscribe",topic:`${l}/bridge/response/networkmap`});"function"==typeof f&&b.push(f),await m(y,Math.min(4e3,Math.max(1,s-Date.now()))),c=!0,await t.callService("mqtt","publish",{topic:`${l}/bridge/request/networkmap`,payload:JSON.stringify({type:"raw",routes:!1,transaction:i}),qos:0,retain:!1});const v=await m(w,s-Date.now()),_=d(v)?.status;if(_&&"ok"!==_)throw a("provider");return n(v,l)}finally{for(const t of b)try{t()}catch{}}})}export{p as readZhaTopology,g as refreshZ2mTopology,u as subscribeZigbeeTopology,l as zigbeeTopologyRuntimeSnapshot};
@@ -1 +1 @@
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="09eee3d41357369f29bbd17ea4021a57f935e964efbde97ecd2883e2bf1259dc";try{await import("./houseplan-assets/houseplan-card-xjcAWvNG.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="8f222b5ad0274c17c344c282ca3e32eb28671e9dc3aa34378d6f48e6e0221f9f";try{await import("./houseplan-assets/houseplan-card-AWlZFMYj.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":l.startsWith("fr")?"House Plan a été mis à jour — veuillez recharger la page (Ctrl+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale houseplan-card.js: the implementation chunk is unavailable",e)}
File diff suppressed because one or more lines are too long